@opencode/core 0.0.0-dev-21049 → 0.0.0-dev-21051

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 (790) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +77 -77
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +77 -77
  7. package/dist/chunks/{tool-xkskqrtp.js → aisdk-native-008af25k.js} +41 -41
  8. package/dist/chunks/{tool-vzjqqmke.js → aisdk-native-010tvgv6.js} +13 -13
  9. package/dist/chunks/{tool-cdb4d5hn.js → aisdk-native-02bkpz0r.js} +8 -8
  10. package/dist/chunks/{tool-49zdgxhw.js → aisdk-native-079mcvfn.js} +314 -314
  11. package/dist/chunks/{tool-v4nfzjvf.js → aisdk-native-0ejd5hp1.js} +8 -8
  12. package/dist/chunks/{tool-e0yqexzb.js → aisdk-native-0enb1j4g.js} +56 -56
  13. package/dist/chunks/{tool-ga7mt0se.js → aisdk-native-0q5x20jn.js} +14 -14
  14. package/dist/chunks/{tool-0vbcp93d.js → aisdk-native-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{tool-w6v0a0a0.js → aisdk-native-11p8rrv3.js} +18 -18
  16. package/dist/chunks/{tool-vdnkbznm.js → aisdk-native-11wbwpks.js} +45 -45
  17. package/dist/chunks/{tool-eeaf82dq.js → aisdk-native-15nepkqg.js} +8 -8
  18. package/dist/chunks/{tool-n9asf4py.js → aisdk-native-1bb4enwx.js} +21 -21
  19. package/dist/chunks/{tool-qa5pp94n.js → aisdk-native-1bk8h6hd.js} +11 -11
  20. package/dist/chunks/{tool-15qc111y.js → aisdk-native-1mxm48s2.js} +11 -11
  21. package/dist/chunks/{tool-wn04sytp.js → aisdk-native-1pzpkc83.js} +7 -7
  22. package/dist/chunks/{tool-j49xa6cy.js → aisdk-native-1qkxh0ae.js} +1 -1
  23. package/dist/chunks/{tool-wqm3ja7g.js → aisdk-native-22q7dyb9.js} +37 -37
  24. package/dist/chunks/{tool-r9z49qnw.js → aisdk-native-25rmky1b.js} +23 -23
  25. package/dist/chunks/{tool-wd141nz2.js → aisdk-native-26htbs1v.js} +25 -25
  26. package/dist/chunks/{tool-gv51xe32.js → aisdk-native-273q5b94.js} +16 -16
  27. package/dist/chunks/{tool-fmabef4g.js → aisdk-native-2bptt429.js} +23 -23
  28. package/dist/chunks/{tool-f8a4hwr2.js → aisdk-native-2dzcqkzj.js} +11 -11
  29. package/dist/chunks/{tool-7kfb2kjh.js → aisdk-native-2r0tk30k.js} +14 -14
  30. package/dist/chunks/{tool-jgxf7b5z.js → aisdk-native-2shgedck.js} +3 -3
  31. package/dist/chunks/{tool-s2b5phw1.js → aisdk-native-2wx2janp.js} +16 -16
  32. package/dist/chunks/{tool-fr6f0teb.js → aisdk-native-381ssprr.js} +26 -26
  33. package/dist/chunks/{tool-cqw1m3c7.js → aisdk-native-398b0mpv.js} +17 -17
  34. package/dist/chunks/{tool-enceqnms.js → aisdk-native-39cces62.js} +9 -9
  35. package/dist/chunks/{tool-v5qvjexb.js → aisdk-native-3d0p5b3f.js} +4 -4
  36. package/dist/chunks/{tool-3fc6dm20.js → aisdk-native-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{tool-n19kh25r.js → aisdk-native-3g642jy4.js} +9 -9
  38. package/dist/chunks/{tool-3hepkmqq.js → aisdk-native-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{tool-3hwn7j4h.js → aisdk-native-3hwn7j4h.js} +2 -2
  40. package/dist/chunks/{tool-b44y2phb.js → aisdk-native-3k0p0jfb.js} +31 -31
  41. package/dist/chunks/{tool-15zrfa03.js → aisdk-native-3mmmnspj.js} +6 -6
  42. package/dist/chunks/{tool-5ezpm4ww.js → aisdk-native-3q62727x.js} +18 -18
  43. package/dist/chunks/{tool-s2j6jbe4.js → aisdk-native-3rebnpvr.js} +11 -11
  44. package/dist/chunks/{tool-5gq9j52j.js → aisdk-native-3s6v29w0.js} +18 -18
  45. package/dist/chunks/{tool-95f8ca4q.js → aisdk-native-3scxypky.js} +15 -15
  46. package/dist/chunks/{tool-3smtnn6g.js → aisdk-native-3smtnn6g.js} +1 -1
  47. package/dist/chunks/{tool-3tvqynh2.js → aisdk-native-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{tool-3zsf4n22.js → aisdk-native-3zsf4n22.js} +1 -1
  49. package/dist/chunks/{tool-62jddv0q.js → aisdk-native-4321prz8.js} +94 -94
  50. package/dist/chunks/{tool-c29z7hcx.js → aisdk-native-4kggagv6.js} +30 -30
  51. package/dist/chunks/{tool-mbdexebc.js → aisdk-native-4mbxqphm.js} +9 -9
  52. package/dist/chunks/{tool-g5j27e7f.js → aisdk-native-4r20f2w4.js} +9 -9
  53. package/dist/chunks/{tool-wyszaa0p.js → aisdk-native-4vv9qs6z.js} +20 -20
  54. package/dist/chunks/{tool-cmmdg65p.js → aisdk-native-4w5f3qm5.js} +7 -7
  55. package/dist/chunks/{tool-s1s9gt8f.js → aisdk-native-52ygqbmm.js} +16 -16
  56. package/dist/chunks/{tool-v4cvsrx9.js → aisdk-native-54m2cnn7.js} +44 -44
  57. package/dist/chunks/{tool-54ma36ye.js → aisdk-native-54ma36ye.js} +1 -1
  58. package/dist/chunks/{tool-5m9w47nd.js → aisdk-native-5m9w47nd.js} +1 -1
  59. package/dist/chunks/{tool-pbzbjmff.js → aisdk-native-5v915pcj.js} +40 -40
  60. package/dist/chunks/aisdk-native-619r8v3y.js +18 -0
  61. package/dist/chunks/{tool-jc5z6esd.js → aisdk-native-66q82xp0.js} +8 -8
  62. package/dist/chunks/{tool-xa2yqved.js → aisdk-native-68qhygb3.js} +32 -32
  63. package/dist/chunks/{tool-2bekqz3a.js → aisdk-native-69h1251q.js} +15 -15
  64. package/dist/chunks/{tool-kp9fp1hg.js → aisdk-native-6a4v6yfy.js} +27 -27
  65. package/dist/chunks/{tool-q9099wq0.js → aisdk-native-6fjvkjmf.js} +11 -11
  66. package/dist/chunks/{tool-w92k2e0p.js → aisdk-native-6pc27hjz.js} +4 -4
  67. package/dist/chunks/{tool-yy7ctzsd.js → aisdk-native-6sn6p2pf.js} +23 -23
  68. package/dist/chunks/{tool-z082bpte.js → aisdk-native-6w1q372k.js} +28 -28
  69. package/dist/chunks/{tool-6xb47vfp.js → aisdk-native-6xb47vfp.js} +1 -1
  70. package/dist/chunks/{tool-t7t1s02j.js → aisdk-native-721tnm3v.js} +22 -22
  71. package/dist/chunks/{tool-775gj3j1.js → aisdk-native-775gj3j1.js} +2 -2
  72. package/dist/chunks/{tool-7bmhse3q.js → aisdk-native-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{tool-xahevxwt.js → aisdk-native-7cftm1w2.js} +22 -22
  74. package/dist/chunks/{tool-fcrkznn8.js → aisdk-native-7dqw4kz8.js} +5 -5
  75. package/dist/chunks/{tool-r0b0zdb7.js → aisdk-native-7e82qy14.js} +19 -19
  76. package/dist/chunks/{tool-6mvkgxje.js → aisdk-native-7p6q788q.js} +5 -5
  77. package/dist/chunks/{tool-a79qvj6d.js → aisdk-native-7t6mhvrf.js} +27 -27
  78. package/dist/chunks/{tool-jh7q4nc1.js → aisdk-native-7x5xkrby.js} +15 -15
  79. package/dist/chunks/{tool-cwq5cw92.js → aisdk-native-80jw6vs9.js} +6 -6
  80. package/dist/chunks/{tool-52zr48d6.js → aisdk-native-851gv83v.js} +17 -17
  81. package/dist/chunks/{tool-5kmqhqkx.js → aisdk-native-85dwj67f.js} +10 -10
  82. package/dist/chunks/{tool-xjjxg6fg.js → aisdk-native-8cdjgwsz.js} +18 -18
  83. package/dist/chunks/{tool-99va16k7.js → aisdk-native-8g7rtrkc.js} +20 -20
  84. package/dist/chunks/{tool-8m6m0r52.js → aisdk-native-8m6m0r52.js} +1 -1
  85. package/dist/chunks/{tool-2th9fvys.js → aisdk-native-8q35wntr.js} +19 -19
  86. package/dist/chunks/{tool-70qn9w1v.js → aisdk-native-8y126c3t.js} +22 -22
  87. package/dist/chunks/{tool-m6vhnv41.js → aisdk-native-8y2qb0hx.js} +10 -10
  88. package/dist/chunks/{tool-87b0tycv.js → aisdk-native-8yhjyr9d.js} +24 -24
  89. package/dist/chunks/{tool-6jpn1xds.js → aisdk-native-8ynqte5x.js} +1 -1
  90. package/dist/chunks/{tool-j09zfasm.js → aisdk-native-91qna3x0.js} +3 -3
  91. package/dist/chunks/{tool-dx4kydrk.js → aisdk-native-9abagn6q.js} +6 -6
  92. package/dist/chunks/{tool-pa8pe2x7.js → aisdk-native-9hn6k4tm.js} +8 -8
  93. package/dist/chunks/{tool-87t3sg69.js → aisdk-native-9tt4g7j2.js} +10 -10
  94. package/dist/chunks/{tool-6yybhc5e.js → aisdk-native-9y5rdyqg.js} +5 -5
  95. package/dist/chunks/{tool-9pa8tak9.js → aisdk-native-9y9sk2j9.js} +2 -2
  96. package/dist/chunks/{tool-fdv8dmm1.js → aisdk-native-9yr7k9wa.js} +16 -16
  97. package/dist/chunks/{tool-0spfg2bb.js → aisdk-native-a0hd3gf5.js} +11 -11
  98. package/dist/chunks/{tool-wwx93a2b.js → aisdk-native-a14zh5kh.js} +17 -17
  99. package/dist/chunks/{tool-v42hp0t0.js → aisdk-native-a3ka8327.js} +50 -50
  100. package/dist/chunks/{tool-fprpd8rr.js → aisdk-native-a9ghp7p9.js} +9 -9
  101. package/dist/chunks/{tool-vx1yezxz.js → aisdk-native-abvg2g3b.js} +4 -4
  102. package/dist/chunks/{tool-qbxqra2w.js → aisdk-native-ad0n8s1d.js} +4 -4
  103. package/dist/chunks/{tool-dp9e102f.js → aisdk-native-awfc3sk5.js} +16 -16
  104. package/dist/chunks/{tool-143qq2q9.js → aisdk-native-axe3mf62.js} +3 -3
  105. package/dist/chunks/{tool-zyk1yjk8.js → aisdk-native-b3f8fkhc.js} +5 -5
  106. package/dist/chunks/{tool-d9rb3zvs.js → aisdk-native-b6721ypw.js} +69 -69
  107. package/dist/chunks/{tool-e58xrjgm.js → aisdk-native-b7enwak2.js} +14 -14
  108. package/dist/chunks/{tool-s43hmkm2.js → aisdk-native-bepehkn3.js} +13 -13
  109. package/dist/chunks/{tool-98wwwshm.js → aisdk-native-bh180fv7.js} +28 -28
  110. package/dist/chunks/{tool-ywt8jp22.js → aisdk-native-bjx1sjef.js} +9 -9
  111. package/dist/chunks/{tool-xkgdf0k8.js → aisdk-native-bpadz85f.js} +23 -23
  112. package/dist/chunks/{tool-cyt5dtwd.js → aisdk-native-bqxzme6r.js} +12 -12
  113. package/dist/chunks/{tool-c1fqxshp.js → aisdk-native-c1fqxshp.js} +3 -3
  114. package/dist/chunks/{tool-1w2t7fyn.js → aisdk-native-c1t8fmew.js} +18 -18
  115. package/dist/chunks/{tool-11w9b7qd.js → aisdk-native-c2srr62n.js} +27 -27
  116. package/dist/chunks/{tool-r6ewd7yw.js → aisdk-native-c4pwt2rn.js} +11 -11
  117. package/dist/chunks/{tool-teddrkej.js → aisdk-native-c7y1skz3.js} +23 -23
  118. package/dist/chunks/{tool-mx9vqzsb.js → aisdk-native-c8bydgjz.js} +6 -6
  119. package/dist/chunks/{tool-axr9kwmj.js → aisdk-native-c92w93zz.js} +50 -50
  120. package/dist/chunks/{tool-376dj1j3.js → aisdk-native-ce3ak8x1.js} +10 -10
  121. package/dist/chunks/{tool-m01k28hg.js → aisdk-native-cjdt50vb.js} +22 -22
  122. package/dist/chunks/{tool-djs19gy2.js → aisdk-native-cvz7dbtj.js} +4 -4
  123. package/dist/chunks/{tool-zsr4wwhv.js → aisdk-native-d2czbp48.js} +4 -4
  124. package/dist/chunks/{tool-jvf3yq6v.js → aisdk-native-dhmh7aw6.js} +4 -4
  125. package/dist/chunks/{tool-f0nz223j.js → aisdk-native-dpkg50ah.js} +4 -4
  126. package/dist/chunks/{tool-dqxsqydv.js → aisdk-native-dqxsqydv.js} +1 -1
  127. package/dist/chunks/{tool-57b9ws8p.js → aisdk-native-drwq78ky.js} +5 -5
  128. package/dist/chunks/{tool-g8a3dkpa.js → aisdk-native-dw489vd8.js} +20 -20
  129. package/dist/chunks/{tool-5ds65g7m.js → aisdk-native-e1s4wqg9.js} +153 -153
  130. package/dist/chunks/{tool-bnpshxh6.js → aisdk-native-e6yzqt19.js} +13 -13
  131. package/dist/chunks/{tool-560byads.js → aisdk-native-ecz5zhv4.js} +4 -4
  132. package/dist/chunks/{tool-eej6y6fw.js → aisdk-native-eej6y6fw.js} +2 -2
  133. package/dist/chunks/{tool-ef5x83kb.js → aisdk-native-ef5x83kb.js} +1 -1
  134. package/dist/chunks/{tool-tp63ett8.js → aisdk-native-egevmj8j.js} +8 -8
  135. package/dist/chunks/{tool-70h0erza.js → aisdk-native-ehq653hx.js} +33 -33
  136. package/dist/chunks/{tool-cnrvnbz5.js → aisdk-native-ejt476fx.js} +31 -31
  137. package/dist/chunks/{tool-9zt3hyj2.js → aisdk-native-enb1xj7b.js} +34 -34
  138. package/dist/chunks/{tool-e0f7tvrt.js → aisdk-native-eqxrb13a.js} +32 -32
  139. package/dist/chunks/{tool-0eyv36ts.js → aisdk-native-et0jya6v.js} +35 -35
  140. package/dist/chunks/{tool-yp2x3t23.js → aisdk-native-f2n192rq.js} +4 -4
  141. package/dist/chunks/{tool-jabbs2pc.js → aisdk-native-fhtdfcm7.js} +50 -50
  142. package/dist/chunks/{tool-tkwrxyh9.js → aisdk-native-fnm4shcz.js} +35 -35
  143. package/dist/chunks/{tool-jvtxec42.js → aisdk-native-frhr46j1.js} +24 -24
  144. package/dist/chunks/{tool-d43tgzm4.js → aisdk-native-fsbk27r1.js} +9 -9
  145. package/dist/chunks/{tool-x2a7tbvm.js → aisdk-native-fse9jg0q.js} +26 -26
  146. package/dist/chunks/{tool-230ecda4.js → aisdk-native-ftjbx2ks.js} +9 -9
  147. package/dist/chunks/{tool-g686f6pq.js → aisdk-native-g686f6pq.js} +2 -2
  148. package/dist/chunks/{tool-yd6x1vtb.js → aisdk-native-g913321p.js} +17 -17
  149. package/dist/chunks/{tool-gd4qta3r.js → aisdk-native-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{tool-9b00c1fb.js → aisdk-native-gebtr55s.js} +5 -5
  151. package/dist/chunks/{tool-47jkzegy.js → aisdk-native-gj71zhbs.js} +5 -5
  152. package/dist/chunks/{tool-wpvb0vtd.js → aisdk-native-gpss4wwy.js} +13 -13
  153. package/dist/chunks/{tool-jjw2fst0.js → aisdk-native-gtwhtt0h.js} +11 -11
  154. package/dist/chunks/{tool-4ka8hhjj.js → aisdk-native-h65t9g6n.js} +5 -5
  155. package/dist/chunks/{tool-h6vf3j39.js → aisdk-native-h6vf3j39.js} +1 -1
  156. package/dist/chunks/{tool-h7s7r6s9.js → aisdk-native-h7s7r6s9.js} +2 -2
  157. package/dist/chunks/{tool-jqsqbmjz.js → aisdk-native-hg1rff0q.js} +43 -43
  158. package/dist/chunks/{tool-hgz4x7wa.js → aisdk-native-hgz4x7wa.js} +1 -1
  159. package/dist/chunks/{tool-8f721ffb.js → aisdk-native-hj7nmpjn.js} +4 -4
  160. package/dist/chunks/{tool-0n5ns49k.js → aisdk-native-hkffa77z.js} +4 -4
  161. package/dist/chunks/{tool-khmqacep.js → aisdk-native-hq3c8me3.js} +4 -4
  162. package/dist/chunks/aisdk-native-hqm082jq.js +26 -0
  163. package/dist/chunks/aisdk-native-htsjadtn.js +513 -0
  164. package/dist/chunks/{tool-92jqywd0.js → aisdk-native-hzzbqshb.js} +14 -14
  165. package/dist/chunks/{tool-0nxben1n.js → aisdk-native-j3v1eade.js} +43 -43
  166. package/dist/chunks/{tool-nncsyyge.js → aisdk-native-jhehqk0m.js} +12 -12
  167. package/dist/chunks/{tool-3wfexhse.js → aisdk-native-jnacsbzs.js} +13 -13
  168. package/dist/chunks/{tool-1hz0wgam.js → aisdk-native-jtwanzew.js} +32 -32
  169. package/dist/chunks/{tool-fkpfeb1d.js → aisdk-native-jwr31e3p.js} +24 -24
  170. package/dist/chunks/{tool-0qrpzpdx.js → aisdk-native-kbeztzy5.js} +14 -14
  171. package/dist/chunks/{tool-vb6sw3y2.js → aisdk-native-kd9hdyt0.js} +23 -23
  172. package/dist/chunks/{tool-nck54nhp.js → aisdk-native-kphtarne.js} +22 -22
  173. package/dist/chunks/{tool-5kpd3qqk.js → aisdk-native-krwb5j49.js} +5 -5
  174. package/dist/chunks/{tool-mcgg1rg4.js → aisdk-native-kwb1v3vj.js} +8 -12
  175. package/dist/chunks/{tool-jcc9efy7.js → aisdk-native-m2qf0jmb.js} +15 -15
  176. package/dist/chunks/{tool-g6q255vp.js → aisdk-native-m42jgnaw.js} +25 -25
  177. package/dist/chunks/{tool-m22hh5g2.js → aisdk-native-m6pb96vv.js} +36 -36
  178. package/dist/chunks/{tool-61xwzbr6.js → aisdk-native-m7mcxe69.js} +35 -35
  179. package/dist/chunks/{tool-m9w0rfyh.js → aisdk-native-m9w0rfyh.js} +1 -1
  180. package/dist/chunks/{tool-exasynrg.js → aisdk-native-maajvyg3.js} +3 -3
  181. package/dist/chunks/{tool-maspj1v3.js → aisdk-native-maspj1v3.js} +1 -1
  182. package/dist/chunks/{tool-jb4mrxfg.js → aisdk-native-mnezmyq2.js} +17 -17
  183. package/dist/chunks/{tool-3cdf983x.js → aisdk-native-mq17ps7g.js} +37 -37
  184. package/dist/chunks/{tool-7myztyss.js → aisdk-native-mrwjgnb4.js} +47 -47
  185. package/dist/chunks/{tool-f8c51dk5.js → aisdk-native-nghxt8jb.js} +16 -16
  186. package/dist/chunks/{tool-29eykq4v.js → aisdk-native-nhgczrmr.js} +15 -15
  187. package/dist/chunks/{tool-sxcaecc0.js → aisdk-native-nma959mg.js} +3 -3
  188. package/dist/chunks/{tool-12t6z3cz.js → aisdk-native-nnz1d6gs.js} +4 -4
  189. package/dist/chunks/{tool-5714egxe.js → aisdk-native-nr0qqafd.js} +3 -3
  190. package/dist/chunks/{tool-c00bz1vb.js → aisdk-native-nrc1b7h0.js} +15 -15
  191. package/dist/chunks/{tool-xcd5qje4.js → aisdk-native-p14nvcd2.js} +32 -32
  192. package/dist/chunks/{tool-1b7ejmxt.js → aisdk-native-p2k81g6c.js} +8 -8
  193. package/dist/chunks/{tool-afrtgck4.js → aisdk-native-ph842b28.js} +4 -4
  194. package/dist/chunks/{tool-b92e8n45.js → aisdk-native-phy9b8nv.js} +10 -10
  195. package/dist/chunks/{tool-pjvnvgmy.js → aisdk-native-pjvnvgmy.js} +1 -1
  196. package/dist/chunks/{tool-pknna89w.js → aisdk-native-pknna89w.js} +1 -1
  197. package/dist/chunks/{tool-mqqhst8y.js → aisdk-native-pp79t3cy.js} +4 -4
  198. package/dist/chunks/{tool-kkcq69qv.js → aisdk-native-pt1v18f1.js} +23 -23
  199. package/dist/chunks/{tool-9rpqzg1a.js → aisdk-native-pt9p70az.js} +17 -17
  200. package/dist/chunks/{tool-0dy26cax.js → aisdk-native-ptx0qjva.js} +22 -22
  201. package/dist/chunks/{tool-t3zshges.js → aisdk-native-q3q2eqaw.js} +11 -11
  202. package/dist/chunks/{tool-47bgsghd.js → aisdk-native-q3xw6r34.js} +3 -3
  203. package/dist/chunks/{tool-yyptd6zt.js → aisdk-native-q94ykb3t.js} +8 -8
  204. package/dist/chunks/{tool-prg7pynr.js → aisdk-native-qbwp9c4c.js} +3 -3
  205. package/dist/chunks/{tool-pr04h4tn.js → aisdk-native-qksfsay4.js} +3 -3
  206. package/dist/chunks/{tool-6hh8tjw2.js → aisdk-native-qm0v3jhh.js} +7 -7
  207. package/dist/chunks/{tool-qnc92qwc.js → aisdk-native-qnc92qwc.js} +1 -1
  208. package/dist/chunks/{tool-jmsw07fh.js → aisdk-native-qqcvef69.js} +6 -6
  209. package/dist/chunks/{tool-qsdy395h.js → aisdk-native-qsdy395h.js} +1 -1
  210. package/dist/chunks/{tool-vsp43hx6.js → aisdk-native-r03h3vm2.js} +11 -11
  211. package/dist/chunks/{tool-qmqgtz8f.js → aisdk-native-r2m716tb.js} +9 -9
  212. package/dist/chunks/{tool-pf9eybg4.js → aisdk-native-r3hz3j8e.js} +20 -20
  213. package/dist/chunks/{tool-tyjrg911.js → aisdk-native-r9w3djhf.js} +9 -9
  214. package/dist/chunks/{tool-rdw6cm16.js → aisdk-native-rdw6cm16.js} +1 -1
  215. package/dist/chunks/{tool-m1z5ek08.js → aisdk-native-re585wd9.js} +8 -8
  216. package/dist/chunks/{tool-rert0e01.js → aisdk-native-rert0e01.js} +2 -2
  217. package/dist/chunks/{tool-rj3eygr5.js → aisdk-native-rj3eygr5.js} +2 -2
  218. package/dist/chunks/{tool-93jnn70z.js → aisdk-native-rmh16r2t.js} +8 -8
  219. package/dist/chunks/{tool-sgs6tqcg.js → aisdk-native-rmt63kh8.js} +18 -18
  220. package/dist/chunks/{tool-dvr9mxdx.js → aisdk-native-rszj9r21.js} +8 -8
  221. package/dist/chunks/{tool-qdafbg7b.js → aisdk-native-rz6m8xsg.js} +81 -81
  222. package/dist/chunks/{tool-en4jjy2t.js → aisdk-native-s1ba9g1h.js} +25 -25
  223. package/dist/chunks/{tool-t550f9t1.js → aisdk-native-s8d7rejh.js} +4 -4
  224. package/dist/chunks/{tool-sa8ekw3f.js → aisdk-native-sa8ekw3f.js} +2 -2
  225. package/dist/chunks/{tool-9z41w441.js → aisdk-native-scg1e0re.js} +9 -9
  226. package/dist/chunks/{tool-t27cpqqf.js → aisdk-native-sqtpzcye.js} +14 -14
  227. package/dist/chunks/{tool-syv4x271.js → aisdk-native-syv4x271.js} +1 -1
  228. package/dist/chunks/{tool-h28ky92f.js → aisdk-native-t681h3sd.js} +14 -14
  229. package/dist/chunks/{tool-tazgh4e4.js → aisdk-native-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{tool-tcezcvh9.js → aisdk-native-tcezcvh9.js} +1 -1
  231. package/dist/chunks/{tool-tdstcens.js → aisdk-native-tdstcens.js} +1 -1
  232. package/dist/chunks/{tool-tm0kqsz3.js → aisdk-native-tm0kqsz3.js} +1 -1
  233. package/dist/chunks/{tool-tyytaxap.js → aisdk-native-tyytaxap.js} +1 -1
  234. package/dist/chunks/{tool-e8ajjxsc.js → aisdk-native-tzv7x8xt.js} +28 -28
  235. package/dist/chunks/{tool-6g7e4dd5.js → aisdk-native-v0es1rhs.js} +7 -7
  236. package/dist/chunks/{tool-gg52rjyc.js → aisdk-native-v3eeyfzh.js} +30 -30
  237. package/dist/chunks/{tool-v7p4zvkq.js → aisdk-native-v7p4zvkq.js} +2 -2
  238. package/dist/chunks/{tool-espax8zg.js → aisdk-native-v7z2bvyd.js} +4 -4
  239. package/dist/chunks/{tool-jpakg8mx.js → aisdk-native-vb0gwjbw.js} +15 -14
  240. package/dist/chunks/{tool-rxva3spn.js → aisdk-native-vdg1ww06.js} +15 -15
  241. package/dist/chunks/{tool-veqvce7d.js → aisdk-native-veqvce7d.js} +1 -1
  242. package/dist/chunks/{tool-09qqh49h.js → aisdk-native-vex79ryr.js} +28 -28
  243. package/dist/chunks/{tool-1gjkdexd.js → aisdk-native-vrn7tf8n.js} +13 -13
  244. package/dist/chunks/{tool-eh6ej367.js → aisdk-native-vrzt526f.js} +5 -5
  245. package/dist/chunks/{tool-vq6g8cn6.js → aisdk-native-vw2nzy3g.js} +15 -15
  246. package/dist/chunks/{tool-7b2ys08c.js → aisdk-native-vy5ncaap.js} +5 -5
  247. package/dist/chunks/{tool-vzs5sf6e.js → aisdk-native-vzs5sf6e.js} +1 -1
  248. package/dist/chunks/{tool-4704tty5.js → aisdk-native-w1ec883z.js} +2 -2
  249. package/dist/chunks/{tool-84txncab.js → aisdk-native-w1eejvng.js} +5 -5
  250. package/dist/chunks/{tool-6yz0wx8n.js → aisdk-native-w39jehkq.js} +5 -5
  251. package/dist/chunks/{tool-w3wsvvr9.js → aisdk-native-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{tool-gpvphjq8.js → aisdk-native-w426nh98.js} +7 -7
  253. package/dist/chunks/{tool-kwh0g9yr.js → aisdk-native-w4ca3e8f.js} +6 -6
  254. package/dist/chunks/{tool-fwa0h3zy.js → aisdk-native-w60hm8mp.js} +37 -37
  255. package/dist/chunks/{tool-t0stdxg1.js → aisdk-native-wa4pnch6.js} +18 -18
  256. package/dist/chunks/{tool-wd87259q.js → aisdk-native-wd87259q.js} +1 -1
  257. package/dist/chunks/{tool-4k48dskj.js → aisdk-native-wgfck8n7.js} +32 -32
  258. package/dist/chunks/{tool-3pytycam.js → aisdk-native-wt9cbver.js} +6 -6
  259. package/dist/chunks/{tool-a6j5r86g.js → aisdk-native-wy7a91sf.js} +5 -5
  260. package/dist/chunks/{tool-n721bpxh.js → aisdk-native-wzv7bxem.js} +39 -39
  261. package/dist/chunks/{tool-x661k3y3.js → aisdk-native-x661k3y3.js} +1 -1
  262. package/dist/chunks/{tool-d0ge418f.js → aisdk-native-x7qq1cjx.js} +5 -5
  263. package/dist/chunks/{tool-k7b35hhb.js → aisdk-native-x82s4bnv.js} +5 -5
  264. package/dist/chunks/{tool-4fjma7m8.js → aisdk-native-xkdmv6m9.js} +18 -18
  265. package/dist/chunks/{tool-twvynhvt.js → aisdk-native-xnjwc1jk.js} +9 -9
  266. package/dist/chunks/{tool-z44d18ne.js → aisdk-native-xnkk1qxn.js} +11 -11
  267. package/dist/chunks/{tool-ehyjreag.js → aisdk-native-xtcvfnhf.js} +23 -23
  268. package/dist/chunks/{tool-ktw141zw.js → aisdk-native-xx7asykb.js} +9 -9
  269. package/dist/chunks/{tool-he27pt63.js → aisdk-native-xybefm6f.js} +1 -1
  270. package/dist/chunks/{tool-y1fvbwt7.js → aisdk-native-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/aisdk-native-y1y5pc1g.js +253 -0
  272. package/dist/chunks/{tool-btsvt50k.js → aisdk-native-yvf1mb83.js} +8 -8
  273. package/dist/chunks/{tool-z0bkrqjs.js → aisdk-native-z0bkrqjs.js} +1 -1
  274. package/dist/chunks/{tool-bhwamkf8.js → aisdk-native-z9xv2jj0.js} +27 -27
  275. package/dist/chunks/{tool-n9axg7zh.js → aisdk-native-zc4xsnwf.js} +4 -4
  276. package/dist/chunks/{tool-8022akpp.js → aisdk-native-zmnrvc3m.js} +33 -33
  277. package/dist/chunks/{tool-zr2ceqn5.js → aisdk-native-zr2ceqn5.js} +1 -1
  278. package/dist/chunks/{tool-7grdpmn4.js → aisdk-native-zt1js7wt.js} +32 -32
  279. package/dist/chunks/{tool-vw9027f9.js → aisdk-native-zw7zwf81.js} +43 -43
  280. package/dist/chunks/{tool-2z796rds.js → aisdk-native-zwxp6kbe.js} +20 -20
  281. package/dist/chunks/{tool-zxq2ej10.js → aisdk-native-zxq2ej10.js} +1 -1
  282. package/dist/chunks/{tool-vgsjm2js.js → aisdk-native-zy12j2tq.js} +15 -15
  283. package/dist/codemode/catalog.js +1 -1
  284. package/dist/codemode/instructions.js +9 -9
  285. package/dist/codemode/tool.js +3 -3
  286. package/dist/codemode/web.js +1 -1
  287. package/dist/command.js +87 -87
  288. package/dist/config/discovery.js +84 -84
  289. package/dist/config/markdown.js +1 -1
  290. package/dist/config/normalize.js +101 -101
  291. package/dist/config/plugin/agent.js +118 -120
  292. package/dist/config/plugin/command.js +207 -209
  293. package/dist/config/plugin/compaction.js +154 -156
  294. package/dist/config/plugin/compatibility.js +134 -136
  295. package/dist/config/plugin/entry-observer.js +1 -1
  296. package/dist/config/plugin/formatter.js +117 -119
  297. package/dist/config/plugin/image.js +116 -118
  298. package/dist/config/plugin/instruction.js +116 -118
  299. package/dist/config/plugin/location-watcher.js +116 -118
  300. package/dist/config/plugin/mcp.js +125 -127
  301. package/dist/config/plugin/policy.js +117 -119
  302. package/dist/config/plugin/provider.js +116 -118
  303. package/dist/config/plugin/reference.js +118 -120
  304. package/dist/config/plugin/shell.js +116 -118
  305. package/dist/config/plugin/skill-file.js +104 -104
  306. package/dist/config/plugin/skill.js +137 -139
  307. package/dist/config/plugin/snapshot.js +116 -118
  308. package/dist/config/plugin/source.js +119 -121
  309. package/dist/config/plugin/tool-output.js +117 -119
  310. package/dist/config/plugin/websearch.js +115 -117
  311. package/dist/config/plugin/worktree.js +118 -120
  312. package/dist/config/variable.js +1 -3
  313. package/dist/config/watch.js +1 -1
  314. package/dist/config.js +121 -123
  315. package/dist/credential/sql.js +2 -2
  316. package/dist/credential.js +81 -81
  317. package/dist/database/database.js +68 -68
  318. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  319. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  321. package/dist/database/drizzle/index.js +15 -15
  322. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  325. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  326. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  327. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  333. package/dist/database/drizzle.js +16 -16
  334. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  335. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  336. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  337. package/dist/database/migration/20260225215848_workspace.js +1 -1
  338. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  339. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  340. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  341. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  342. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  343. package/dist/database/migration/20260323234822_events.js +1 -1
  344. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  345. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  346. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  347. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  348. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  349. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  350. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  351. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  352. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  353. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  354. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  355. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  356. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  357. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  358. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  359. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  360. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  361. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  362. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  363. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  364. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  365. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  366. package/dist/database/migration/20260611035744_credential.js +1 -1
  367. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  368. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  369. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  370. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  371. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  372. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  373. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  374. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  375. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  376. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  377. package/dist/database/migration/20260812213948_worktree.js +1 -1
  378. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  379. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  380. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  381. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  382. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  383. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  384. package/dist/database/migration.gen.js +51 -51
  385. package/dist/database/migration.js +53 -53
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +78 -78
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +366 -368
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +95 -95
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +95 -95
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +3 -3
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +76 -76
  409. package/dist/file-access.js +106 -106
  410. package/dist/file-mutation.js +96 -96
  411. package/dist/file-retention.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +214 -216
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +105 -105
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +15 -15
  422. package/dist/filesystem.js +106 -106
  423. package/dist/form.js +80 -80
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +89 -89
  426. package/dist/generate.js +107 -107
  427. package/dist/git.js +10 -10
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +101 -101
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +357 -359
  451. package/dist/instruction-discovery.js +86 -86
  452. package/dist/instructions/builtins.js +89 -89
  453. package/dist/instructions/index.js +3 -3
  454. package/dist/integration/connection.js +1 -1
  455. package/dist/integration.js +85 -85
  456. package/dist/job.js +80 -80
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +75 -75
  459. package/dist/location-activity.js +134 -134
  460. package/dist/location-lifecycle.js +109 -109
  461. package/dist/location-service-map.js +88 -88
  462. package/dist/location-services.js +354 -356
  463. package/dist/location.js +89 -89
  464. package/dist/managed-policy.js +6 -6
  465. package/dist/mcp/client.js +93 -93
  466. package/dist/mcp/index.js +111 -111
  467. package/dist/mcp/instructions.js +129 -129
  468. package/dist/mcp/oauth.js +80 -80
  469. package/dist/mcp/stdio.js +92 -92
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +101 -101
  472. package/dist/model-resolver.js +100 -100
  473. package/dist/model.js +104 -104
  474. package/dist/models-dev.js +107 -107
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +82 -82
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +109 -109
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +84 -84
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +77 -77
  484. package/dist/plugin/agent.js +78 -78
  485. package/dist/plugin/command.js +104 -104
  486. package/dist/plugin/hooks.js +3 -3
  487. package/dist/plugin/host.js +211 -213
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +329 -331
  491. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  492. package/dist/plugin/models-dev.js +98 -98
  493. package/dist/plugin/module.js +117 -119
  494. package/dist/plugin/optimize.js +2 -2
  495. package/dist/plugin/plan.js +104 -104
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  498. package/dist/plugin/provider/azure.js +116 -118
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +116 -118
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -115
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -116
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +112 -114
  505. package/dist/plugin/provider/databricks.js +1 -1
  506. package/dist/plugin/provider/digitalocean.js +95 -95
  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 +97 -97
  510. package/dist/plugin/provider/gitlab.js +95 -95
  511. package/dist/plugin/provider/google-vertex.js +113 -115
  512. package/dist/plugin/provider/kilo.js +1 -1
  513. package/dist/plugin/provider/llmgateway.js +80 -80
  514. package/dist/plugin/provider/lmstudio.js +125 -127
  515. package/dist/plugin/provider/local.js +122 -124
  516. package/dist/plugin/provider/modal.js +94 -94
  517. package/dist/plugin/provider/neon.js +1 -1
  518. package/dist/plugin/provider/nvidia.js +1 -1
  519. package/dist/plugin/provider/ollama.js +125 -127
  520. package/dist/plugin/provider/openai.js +116 -118
  521. package/dist/plugin/provider/opencode.js +99 -99
  522. package/dist/plugin/provider/openrouter.js +93 -93
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/poe.js +81 -81
  525. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  526. package/dist/plugin/provider/sap-ai-core.js +93 -93
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +115 -117
  529. package/dist/plugin/provider/vercel.js +92 -92
  530. package/dist/plugin/provider/vllm.js +125 -127
  531. package/dist/plugin/provider/xai.js +93 -93
  532. package/dist/plugin/provider/zenmux.js +1 -1
  533. package/dist/plugin/provider.js +167 -169
  534. package/dist/plugin/sdk.js +76 -76
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +134 -136
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +348 -350
  539. package/dist/plugin/tool-input-repair.js +4 -4
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/vcs/git.js +88 -88
  542. package/dist/plugin/vcs/hg.js +88 -88
  543. package/dist/plugin/verbosity.js +95 -95
  544. package/dist/plugin/warming.js +114 -116
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +6 -6
  547. package/dist/plugin/websearch/index.js +9 -9
  548. package/dist/plugin/websearch/mcp.js +6 -6
  549. package/dist/plugin/websearch/parallel.js +8 -8
  550. package/dist/plugin/websearch/tavily.js +4 -4
  551. package/dist/plugin/websearch/tinyfish.js +8 -8
  552. package/dist/plugin.js +222 -224
  553. package/dist/project/schema.js +6 -6
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +90 -90
  556. package/dist/provider.js +103 -103
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +97 -97
  560. package/dist/reference/instructions.js +91 -91
  561. package/dist/reference.js +93 -93
  562. package/dist/repository-cache.js +83 -83
  563. package/dist/repository.js +3 -3
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +99 -99
  566. package/dist/rpc.js +88 -88
  567. package/dist/schema.js +1 -1
  568. package/dist/session/affinity.js +1 -1
  569. package/dist/session/command.js +76 -76
  570. package/dist/session/compaction.js +131 -131
  571. package/dist/session/context.js +155 -155
  572. package/dist/session/diff.js +90 -90
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +7 -7
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +215 -217
  577. package/dist/session/execution.js +127 -127
  578. package/dist/session/generate.js +156 -156
  579. package/dist/session/history.js +13 -13
  580. package/dist/session/inbox.js +90 -90
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +81 -81
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +99 -99
  585. package/dist/session/message-updater.js +2 -2
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +122 -122
  588. package/dist/session/model-transport.js +9 -9
  589. package/dist/session/move.js +131 -131
  590. package/dist/session/projector.js +88 -88
  591. package/dist/session/prompt.js +107 -107
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +92 -92
  594. package/dist/session/run-coordinator.js +3 -3
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +224 -226
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +100 -100
  599. package/dist/session/runner/publish-llm-event.js +115 -115
  600. package/dist/session/runner/retry.js +4 -4
  601. package/dist/session/runner/step.js +127 -127
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +5 -5
  604. package/dist/session/session.js +164 -166
  605. package/dist/session/shell.js +130 -132
  606. package/dist/session/skill.js +105 -105
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +75 -75
  609. package/dist/session/store.js +87 -87
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +205 -207
  612. package/dist/session/system-prompt.js +3 -3
  613. package/dist/session/title.js +159 -159
  614. package/dist/session/to-session-error.js +113 -113
  615. package/dist/session/transfer.js +213 -215
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +211 -213
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +11 -11
  622. package/dist/shell.js +132 -134
  623. package/dist/skill/discovery.js +2 -2
  624. package/dist/skill/instructions.js +109 -109
  625. package/dist/skill.js +114 -114
  626. package/dist/snapshot.js +93 -93
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +130 -130
  631. package/dist/tool/plugin/edit.js +122 -122
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +126 -126
  634. package/dist/tool/plugin/grep.js +126 -126
  635. package/dist/tool/plugin/mcp-resource.js +119 -119
  636. package/dist/tool/plugin/opencode.js +111 -111
  637. package/dist/tool/plugin/patch.js +124 -124
  638. package/dist/tool/plugin/question.js +107 -107
  639. package/dist/tool/plugin/read.js +125 -125
  640. package/dist/tool/plugin/shell.js +208 -210
  641. package/dist/tool/plugin/skill.js +115 -115
  642. package/dist/tool/plugin/subagent.js +212 -214
  643. package/dist/tool/plugin/webfetch.js +110 -110
  644. package/dist/tool/plugin/websearch.js +114 -114
  645. package/dist/tool/plugin/write.js +124 -124
  646. package/dist/tool/read-filesystem.js +102 -102
  647. package/dist/tool/runtime.js +1 -1
  648. package/dist/tool-output.js +7 -7
  649. package/dist/tool.js +14 -14
  650. package/dist/types/config/variable.d.ts +1 -43
  651. package/dist/util/error-summary.js +1 -1
  652. package/dist/util/error.js +1 -1
  653. package/dist/util/git-executable.js +2 -2
  654. package/dist/util/iife.js +1 -1
  655. package/dist/util/lazy.js +1 -1
  656. package/dist/util/slug.js +1 -1
  657. package/dist/util/token.js +1 -1
  658. package/dist/util/which.js +1 -1
  659. package/dist/util/wildcard.js +1 -1
  660. package/dist/v1/config/agent.js +5 -5
  661. package/dist/v1/config/command.js +5 -5
  662. package/dist/v1/config/error.js +23 -5
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +94 -94
  665. package/dist/v1/config/permission.js +3 -3
  666. package/dist/v1/config/plugin.js +3 -3
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/variant.js +95 -95
  670. package/dist/vcs/patch.js +1 -1
  671. package/dist/vcs.js +91 -91
  672. package/dist/websearch.js +86 -86
  673. package/dist/wellknown/plugin.js +78 -78
  674. package/dist/wellknown.js +83 -83
  675. package/dist/workspace/driver.js +7 -7
  676. package/dist/workspace/sql.js +1 -1
  677. package/dist/workspace.js +84 -84
  678. package/dist/worktree/directory.js +2 -2
  679. package/dist/worktree/git.js +10 -10
  680. package/dist/worktree/sql.js +5 -5
  681. package/dist/worktree/strategies.js +91 -91
  682. package/dist/worktree.js +98 -98
  683. package/package.json +8 -8
  684. package/dist/chunks/tool-q0xm7vwc.js +0 -25
  685. package/dist/chunks/tool-qc068m1q.js +0 -18
  686. package/dist/chunks/tool-qtqva6ax.js +0 -253
  687. package/dist/chunks/tool-vn4qg1y1.js +0 -513
  688. package/dist/chunks/tool-y7mkpdv1.js +0 -26
  689. /package/dist/chunks/{tool-0qkdqm5v.js → aisdk-native-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{tool-0zkw76rk.js → aisdk-native-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{tool-17cy0kzp.js → aisdk-native-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{tool-1cnp2v09.js → aisdk-native-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{tool-1kg9ymc8.js → aisdk-native-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{tool-24dcb14g.js → aisdk-native-24dcb14g.js} +0 -0
  695. /package/dist/chunks/{tool-2710q6r3.js → aisdk-native-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{tool-2axfhc9x.js → aisdk-native-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{tool-2bv980vf.js → aisdk-native-2bv980vf.js} +0 -0
  698. /package/dist/chunks/{tool-2c3vjs8z.js → aisdk-native-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{tool-359p4xyc.js → aisdk-native-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{tool-3asan66x.js → aisdk-native-3asan66x.js} +0 -0
  701. /package/dist/chunks/{tool-3t0ybcrp.js → aisdk-native-3t0ybcrp.js} +0 -0
  702. /package/dist/chunks/{tool-3v8g72cx.js → aisdk-native-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{tool-3wcehsnq.js → aisdk-native-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{tool-43n2bw4t.js → aisdk-native-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{tool-4knz6hnm.js → aisdk-native-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{tool-4vcrnpx2.js → aisdk-native-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{tool-4y7fprxs.js → aisdk-native-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{tool-53557ph1.js → aisdk-native-53557ph1.js} +0 -0
  709. /package/dist/chunks/{tool-550bvhaj.js → aisdk-native-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{tool-5qd3pb7m.js → aisdk-native-5qd3pb7m.js} +0 -0
  711. /package/dist/chunks/{tool-6prwharc.js → aisdk-native-6prwharc.js} +0 -0
  712. /package/dist/chunks/{tool-6q2bdcd1.js → aisdk-native-6q2bdcd1.js} +0 -0
  713. /package/dist/chunks/{tool-7akdwqpd.js → aisdk-native-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{tool-7m9af43g.js → aisdk-native-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{tool-822emrt2.js → aisdk-native-822emrt2.js} +0 -0
  716. /package/dist/chunks/{tool-84wd9syh.js → aisdk-native-84wd9syh.js} +0 -0
  717. /package/dist/chunks/{tool-88xbtdfr.js → aisdk-native-88xbtdfr.js} +0 -0
  718. /package/dist/chunks/{tool-8n3pysct.js → aisdk-native-8n3pysct.js} +0 -0
  719. /package/dist/chunks/{tool-8wj87zfr.js → aisdk-native-8wj87zfr.js} +0 -0
  720. /package/dist/chunks/{tool-9a4afbnw.js → aisdk-native-9a4afbnw.js} +0 -0
  721. /package/dist/chunks/{tool-9rqn6x4v.js → aisdk-native-9rqn6x4v.js} +0 -0
  722. /package/dist/chunks/{tool-a6k6eb26.js → aisdk-native-a6k6eb26.js} +0 -0
  723. /package/dist/chunks/{tool-af5trqkr.js → aisdk-native-af5trqkr.js} +0 -0
  724. /package/dist/chunks/{tool-afrmfg78.js → aisdk-native-afrmfg78.js} +0 -0
  725. /package/dist/chunks/{tool-aqzs7mqg.js → aisdk-native-aqzs7mqg.js} +0 -0
  726. /package/dist/chunks/{tool-atq7p7m5.js → aisdk-native-atq7p7m5.js} +0 -0
  727. /package/dist/chunks/{tool-bkyjaxrp.js → aisdk-native-bkyjaxrp.js} +0 -0
  728. /package/dist/chunks/{tool-bmr6ed5q.js → aisdk-native-bmr6ed5q.js} +0 -0
  729. /package/dist/chunks/{tool-cf4snx6d.js → aisdk-native-cf4snx6d.js} +0 -0
  730. /package/dist/chunks/{tool-cvy3z8tj.js → aisdk-native-cvy3z8tj.js} +0 -0
  731. /package/dist/chunks/{tool-d9fn303g.js → aisdk-native-d9fn303g.js} +0 -0
  732. /package/dist/chunks/{tool-d9jj8t3e.js → aisdk-native-d9jj8t3e.js} +0 -0
  733. /package/dist/chunks/{tool-dajrwvna.js → aisdk-native-dajrwvna.js} +0 -0
  734. /package/dist/chunks/{tool-dap0rakb.js → aisdk-native-dap0rakb.js} +0 -0
  735. /package/dist/chunks/{tool-df08tz66.js → aisdk-native-df08tz66.js} +0 -0
  736. /package/dist/chunks/{tool-dy18nga0.js → aisdk-native-dy18nga0.js} +0 -0
  737. /package/dist/chunks/{tool-e5kj55wp.js → aisdk-native-e5kj55wp.js} +0 -0
  738. /package/dist/chunks/{tool-e73j6tqm.js → aisdk-native-e73j6tqm.js} +0 -0
  739. /package/dist/chunks/{tool-ec1grn59.js → aisdk-native-ec1grn59.js} +0 -0
  740. /package/dist/chunks/{tool-eh3zwz77.js → aisdk-native-eh3zwz77.js} +0 -0
  741. /package/dist/chunks/{tool-emrn6kk6.js → aisdk-native-emrn6kk6.js} +0 -0
  742. /package/dist/chunks/{tool-f0mxakyp.js → aisdk-native-f0mxakyp.js} +0 -0
  743. /package/dist/chunks/{tool-f6n9ztr4.js → aisdk-native-f6n9ztr4.js} +0 -0
  744. /package/dist/chunks/{tool-faypxj3z.js → aisdk-native-faypxj3z.js} +0 -0
  745. /package/dist/chunks/{tool-fd410y7t.js → aisdk-native-fd410y7t.js} +0 -0
  746. /package/dist/chunks/{tool-g4wezp1m.js → aisdk-native-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{tool-g86h250q.js → aisdk-native-g86h250q.js} +0 -0
  748. /package/dist/chunks/{tool-gebd4c9n.js → aisdk-native-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{tool-gftt206x.js → aisdk-native-gftt206x.js} +0 -0
  750. /package/dist/chunks/{tool-hcxmzztb.js → aisdk-native-hcxmzztb.js} +0 -0
  751. /package/dist/chunks/{tool-hk9envan.js → aisdk-native-hk9envan.js} +0 -0
  752. /package/dist/chunks/{tool-j2ntwpah.js → aisdk-native-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{tool-j5zkgpj8.js → aisdk-native-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{tool-jjkms2e6.js → aisdk-native-jjkms2e6.js} +0 -0
  755. /package/dist/chunks/{tool-jr7sbwjy.js → aisdk-native-jr7sbwjy.js} +0 -0
  756. /package/dist/chunks/{tool-jwfs4k6c.js → aisdk-native-jwfs4k6c.js} +0 -0
  757. /package/dist/chunks/{tool-jze0r7bz.js → aisdk-native-jze0r7bz.js} +0 -0
  758. /package/dist/chunks/{tool-jzg6c2d5.js → aisdk-native-jzg6c2d5.js} +0 -0
  759. /package/dist/chunks/{tool-m18g726c.js → aisdk-native-m18g726c.js} +0 -0
  760. /package/dist/chunks/{tool-mp448xyj.js → aisdk-native-mp448xyj.js} +0 -0
  761. /package/dist/chunks/{tool-msx8hqn2.js → aisdk-native-msx8hqn2.js} +0 -0
  762. /package/dist/chunks/{tool-n05xt0ee.js → aisdk-native-n05xt0ee.js} +0 -0
  763. /package/dist/chunks/{tool-n3j8tn72.js → aisdk-native-n3j8tn72.js} +0 -0
  764. /package/dist/chunks/{tool-njntx4h6.js → aisdk-native-njntx4h6.js} +0 -0
  765. /package/dist/chunks/{tool-pkyv6v7h.js → aisdk-native-pkyv6v7h.js} +0 -0
  766. /package/dist/chunks/{tool-pyv0edze.js → aisdk-native-pyv0edze.js} +0 -0
  767. /package/dist/chunks/{tool-q3sfg36h.js → aisdk-native-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{tool-q74kybfr.js → aisdk-native-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{tool-qaymkmh1.js → aisdk-native-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{tool-qb87gjwd.js → aisdk-native-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{tool-qfa1cgps.js → aisdk-native-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{tool-qg3g05ea.js → aisdk-native-qg3g05ea.js} +0 -0
  773. /package/dist/chunks/{tool-qrg20bc0.js → aisdk-native-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{tool-rcb2kzg1.js → aisdk-native-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{tool-sdp7kfr6.js → aisdk-native-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{tool-ssg3fenm.js → aisdk-native-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{tool-ve7vex1e.js → aisdk-native-ve7vex1e.js} +0 -0
  778. /package/dist/chunks/{tool-w803qqfp.js → aisdk-native-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{tool-wc3fc9cn.js → aisdk-native-wc3fc9cn.js} +0 -0
  780. /package/dist/chunks/{tool-wer8tq1h.js → aisdk-native-wer8tq1h.js} +0 -0
  781. /package/dist/chunks/{tool-wjj7prxr.js → aisdk-native-wjj7prxr.js} +0 -0
  782. /package/dist/chunks/{tool-wtztk69x.js → aisdk-native-wtztk69x.js} +0 -0
  783. /package/dist/chunks/{tool-x0ckcb58.js → aisdk-native-x0ckcb58.js} +0 -0
  784. /package/dist/chunks/{tool-x61499pn.js → aisdk-native-x61499pn.js} +0 -0
  785. /package/dist/chunks/{tool-y44na4kk.js → aisdk-native-y44na4kk.js} +0 -0
  786. /package/dist/chunks/{tool-y8f7s663.js → aisdk-native-y8f7s663.js} +0 -0
  787. /package/dist/chunks/{tool-ygaqb7jw.js → aisdk-native-ygaqb7jw.js} +0 -0
  788. /package/dist/chunks/{tool-ym463w8f.js → aisdk-native-ym463w8f.js} +0 -0
  789. /package/dist/chunks/{tool-z5v4ffb3.js → aisdk-native-z5v4ffb3.js} +0 -0
  790. /package/dist/chunks/{tool-z9919s4g.js → aisdk-native-z9919s4g.js} +0 -0
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service82,
3
- node85
4
- } from "./tool-e58xrjgm.js";
2
+ Service84,
3
+ node88
4
+ } from "./aisdk-native-b7enwak2.js";
5
5
  import {
6
- Service79,
7
- node82
8
- } from "./tool-dp9e102f.js";
6
+ Service81,
7
+ node85
8
+ } from "./aisdk-native-awfc3sk5.js";
9
9
  import {
10
- Service50,
10
+ Service51,
11
11
  login2,
12
- node52
13
- } from "./tool-29eykq4v.js";
12
+ node54
13
+ } from "./aisdk-native-nhgczrmr.js";
14
14
  import {
15
15
  lazy2
16
- } from "./tool-88xbtdfr.js";
16
+ } from "./aisdk-native-88xbtdfr.js";
17
17
  import {
18
18
  __export
19
- } from "./tool-9rqn6x4v.js";
19
+ } from "./aisdk-native-9rqn6x4v.js";
20
20
 
21
21
  // src/pty.ts
22
22
  var exports_pty = {};
@@ -24,13 +24,13 @@ __export(exports_pty, {
24
24
  CreateInput: () => CreateInput2,
25
25
  Event: () => Event4,
26
26
  ExitedError: () => ExitedError2,
27
- ID: () => ID4,
28
- Info: () => Info4,
29
- NotFoundError: () => NotFoundError2,
27
+ ID: () => ID2,
28
+ Info: () => Info2,
29
+ NotFoundError: () => NotFoundError3,
30
30
  Pty: () => exports_pty,
31
- Service: () => Service16,
31
+ Service: () => Service21,
32
32
  UpdateInput: () => UpdateInput2,
33
- node: () => node19
33
+ node: () => node23
34
34
  });
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  import { Context, Effect, Layer, Schema } from "effect";
@@ -39,27 +39,27 @@ import { Event as Event4 } from "@opencode/schema/pty";
39
39
  var BUFFER_LIMIT = 1024 * 1024 * 2;
40
40
  var EXITED_LIMIT = 25;
41
41
  var pty = lazy2(() => import("#pty"));
42
- var ID4 = Pty.ID;
43
- var Info4 = Pty.Info;
42
+ var ID2 = Pty.ID;
43
+ var Info2 = Pty.Info;
44
44
  var CreateInput2 = Pty.CreateInput;
45
45
  var UpdateInput2 = Pty.UpdateInput;
46
46
 
47
- class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
48
- ptyID: ID4
47
+ class NotFoundError3 extends Schema.TaggedError()("Pty.NotFoundError", {
48
+ ptyID: ID2
49
49
  }) {
50
50
  }
51
51
 
52
52
  class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
53
- ptyID: ID4
53
+ ptyID: ID2
54
54
  }) {
55
55
  }
56
56
 
57
- class Service16 extends Context.Service()("@opencode/Pty") {
57
+ class Service21 extends Context.Service()("@opencode/Pty") {
58
58
  }
59
- var layer = Layer.effect(Service16, Effect.gen(function* () {
60
- const bus = yield* Service82;
61
- const location = yield* Service79;
62
- const shell = yield* Service50;
59
+ var layer = Layer.effect(Service21, Effect.gen(function* () {
60
+ const bus = yield* Service84;
61
+ const location = yield* Service81;
62
+ const shell = yield* Service51;
63
63
  const context = yield* Effect.context();
64
64
  const runFork = Effect.runForkWith(context);
65
65
  const sessions = new Map;
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
96
96
  const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
97
97
  const session = sessions.get(id);
98
98
  if (!session)
99
- return yield* new NotFoundError2({ ptyID: id });
99
+ return yield* new NotFoundError3({ ptyID: id });
100
100
  return session;
101
101
  });
102
102
  const removeSession = Effect.fnUntraced(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
122
122
  return (yield* requireSession(id)).info;
123
123
  });
124
124
  const create = Effect.fn("Pty.create")(function* (input) {
125
- const id = ID4.ascending();
125
+ const id = ID2.ascending();
126
126
  const command = input.command || (yield* shell.resolve({ priority: "config" }));
127
127
  const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
128
128
  const cwd = input.cwd || location.directory;
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
267
267
  }
268
268
  };
269
269
  });
270
- return Service16.of({ list, get, create, update, remove, write, attach });
270
+ return Service21.of({ list, get, create, update, remove, write, attach });
271
271
  }));
272
- var node19 = makeLocationNode({
273
- service: Service16,
272
+ var node23 = makeLocationNode({
273
+ service: Service21,
274
274
  layer,
275
- deps: [node85, node82, node52]
275
+ deps: [node88, node85, node54]
276
276
  });
277
277
 
278
- export { ID4, Info4, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service16, node19, exports_pty, Event4 };
278
+ export { ID2, Info2, CreateInput2, UpdateInput2, NotFoundError3, ExitedError2, Service21, node23, exports_pty, Event4 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-9rqn6x4v.js";
3
+ } from "./aisdk-native-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/promise.ts
6
6
  var exports_promise = {};
@@ -1,99 +1,99 @@
1
1
  import {
2
2
  AmazonBedrockPlugin2
3
- } from "./tool-k7b35hhb.js";
3
+ } from "./aisdk-native-x82s4bnv.js";
4
4
  import {
5
5
  AzurePlugin2
6
- } from "./tool-v4cvsrx9.js";
6
+ } from "./aisdk-native-54m2cnn7.js";
7
7
  import {
8
8
  CerebrasPlugin2
9
- } from "./tool-wc3fc9cn.js";
9
+ } from "./aisdk-native-wc3fc9cn.js";
10
10
  import {
11
11
  ChatGPTPlugin2
12
- } from "./tool-g8a3dkpa.js";
12
+ } from "./aisdk-native-dw489vd8.js";
13
13
  import {
14
14
  CloudflareAIGatewayPlugin2
15
- } from "./tool-8f721ffb.js";
15
+ } from "./aisdk-native-hj7nmpjn.js";
16
16
  import {
17
17
  CloudflareWorkersAIPlugin2
18
- } from "./tool-6yybhc5e.js";
18
+ } from "./aisdk-native-9y5rdyqg.js";
19
19
  import {
20
20
  CoherePlugin2
21
- } from "./tool-z0bkrqjs.js";
21
+ } from "./aisdk-native-z0bkrqjs.js";
22
22
  import {
23
23
  DatabricksPlugin2
24
- } from "./tool-wjj7prxr.js";
24
+ } from "./aisdk-native-wjj7prxr.js";
25
25
  import {
26
26
  DigitalOceanPlugin2
27
- } from "./tool-95f8ca4q.js";
27
+ } from "./aisdk-native-3scxypky.js";
28
28
  import {
29
29
  DynamicProviderPlugin2
30
- } from "./tool-5m9w47nd.js";
30
+ } from "./aisdk-native-5m9w47nd.js";
31
31
  import {
32
32
  GithubCopilotPlugin2
33
- } from "./tool-9zt3hyj2.js";
33
+ } from "./aisdk-native-enb1xj7b.js";
34
34
  import {
35
35
  GitLabPlugin2
36
- } from "./tool-pf9eybg4.js";
36
+ } from "./aisdk-native-r3hz3j8e.js";
37
37
  import {
38
38
  GoogleVertexPlugin2
39
- } from "./tool-xjjxg6fg.js";
39
+ } from "./aisdk-native-8cdjgwsz.js";
40
40
  import {
41
41
  KiloPlugin2
42
- } from "./tool-qg3g05ea.js";
42
+ } from "./aisdk-native-qg3g05ea.js";
43
43
  import {
44
44
  LLMGatewayPlugin2
45
- } from "./tool-prg7pynr.js";
45
+ } from "./aisdk-native-qbwp9c4c.js";
46
46
  import {
47
47
  LMStudioPlugin2
48
- } from "./tool-12t6z3cz.js";
48
+ } from "./aisdk-native-nnz1d6gs.js";
49
49
  import {
50
50
  ModalPlugin2
51
- } from "./tool-4fjma7m8.js";
51
+ } from "./aisdk-native-xkdmv6m9.js";
52
52
  import {
53
53
  NeonPlugin2
54
- } from "./tool-ve7vex1e.js";
54
+ } from "./aisdk-native-ve7vex1e.js";
55
55
  import {
56
56
  NvidiaPlugin2
57
- } from "./tool-24dcb14g.js";
57
+ } from "./aisdk-native-24dcb14g.js";
58
58
  import {
59
59
  OllamaPlugin2
60
- } from "./tool-qbxqra2w.js";
60
+ } from "./aisdk-native-ad0n8s1d.js";
61
61
  import {
62
62
  OpenAIPlugin3
63
- } from "./tool-w6v0a0a0.js";
63
+ } from "./aisdk-native-11p8rrv3.js";
64
64
  import {
65
65
  SnowflakeCortexPlugin2
66
- } from "./tool-9rpqzg1a.js";
66
+ } from "./aisdk-native-pt9p70az.js";
67
67
  import {
68
68
  OpencodePlugin2
69
- } from "./tool-yy7ctzsd.js";
69
+ } from "./aisdk-native-6sn6p2pf.js";
70
70
  import {
71
71
  OpenRouterPlugin2
72
- } from "./tool-exasynrg.js";
72
+ } from "./aisdk-native-maajvyg3.js";
73
73
  import {
74
74
  PerplexityPlugin2
75
- } from "./tool-veqvce7d.js";
75
+ } from "./aisdk-native-veqvce7d.js";
76
76
  import {
77
77
  PoePlugin2
78
- } from "./tool-47bgsghd.js";
78
+ } from "./aisdk-native-q3xw6r34.js";
79
79
  import {
80
80
  PromptCacheKeyPlugin2
81
- } from "./tool-hcxmzztb.js";
81
+ } from "./aisdk-native-hcxmzztb.js";
82
82
  import {
83
83
  SapAICorePlugin2
84
- } from "./tool-d0ge418f.js";
84
+ } from "./aisdk-native-x7qq1cjx.js";
85
85
  import {
86
86
  VercelPlugin2
87
- } from "./tool-j49xa6cy.js";
87
+ } from "./aisdk-native-1qkxh0ae.js";
88
88
  import {
89
89
  VLLMPlugin2
90
- } from "./tool-560byads.js";
90
+ } from "./aisdk-native-ecz5zhv4.js";
91
91
  import {
92
92
  XAIPlugin2
93
- } from "./tool-dvr9mxdx.js";
93
+ } from "./aisdk-native-rszj9r21.js";
94
94
  import {
95
95
  ZenmuxPlugin2
96
- } from "./tool-jjkms2e6.js";
96
+ } from "./aisdk-native-jjkms2e6.js";
97
97
 
98
98
  // src/plugin/provider.ts
99
99
  var ProviderPlugins2 = [
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  ID11,
3
- Service72
4
- } from "./tool-h28ky92f.js";
3
+ Service71
4
+ } from "./aisdk-native-t681h3sd.js";
5
5
  import {
6
6
  Ref2,
7
- Service65
8
- } from "./tool-3cdf983x.js";
7
+ Service62
8
+ } from "./aisdk-native-mq17ps7g.js";
9
9
  import {
10
10
  latest2,
11
- Service62
12
- } from "./tool-v42hp0t0.js";
11
+ Service40
12
+ } from "./aisdk-native-a3ka8327.js";
13
13
  import {
14
14
  SessionSchema2
15
- } from "./tool-143qq2q9.js";
15
+ } from "./aisdk-native-axe3mf62.js";
16
16
  import {
17
- Service83
18
- } from "./tool-s1s9gt8f.js";
17
+ Service50
18
+ } from "./aisdk-native-52ygqbmm.js";
19
19
  import {
20
20
  evaluate2,
21
- Service69
22
- } from "./tool-n721bpxh.js";
21
+ Service68
22
+ } from "./aisdk-native-wzv7bxem.js";
23
23
  import {
24
- Service26
25
- } from "./tool-62jddv0q.js";
24
+ Service24
25
+ } from "./aisdk-native-4321prz8.js";
26
26
  import {
27
27
  NO_TEXT2
28
- } from "./tool-6xb47vfp.js";
28
+ } from "./aisdk-native-6xb47vfp.js";
29
29
  import {
30
- Service12
31
- } from "./tool-r0b0zdb7.js";
30
+ Service10
31
+ } from "./aisdk-native-7e82qy14.js";
32
32
  import {
33
33
  __export
34
- } from "./tool-9rqn6x4v.js";
34
+ } from "./aisdk-native-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/subagent.ts
37
37
  var exports_subagent = {};
38
38
  __export(exports_subagent, {
39
- Input: () => Input7,
40
- Output: () => Output5,
41
- Plugin: () => Plugin8,
39
+ Input: () => Input11,
40
+ Output: () => Output7,
41
+ Plugin: () => Plugin29,
42
42
  SubagentTool: () => exports_subagent,
43
- description: () => description3,
44
- name: () => name7
43
+ description: () => description5,
44
+ name: () => name11
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai";
47
47
  import { Effect, Predicate, Schema } from "effect";
48
- var name7 = "subagent";
48
+ var name11 = "subagent";
49
49
  var backgroundResult = (sessionID) => ({
50
50
  sessionID,
51
51
  status: "running",
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
56
56
  ].join(`
57
57
  `)
58
58
  });
59
- var Input7 = Schema.Struct({
59
+ var Input11 = Schema.Struct({
60
60
  agent: Schema.String.annotate({
61
61
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
62
62
  }),
@@ -72,12 +72,12 @@ var Input7 = Schema.Struct({
72
72
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
73
73
  })
74
74
  });
75
- var Output5 = Schema.Struct({
75
+ var Output7 = Schema.Struct({
76
76
  sessionID: SessionSchema2.ID,
77
77
  status: Schema.Literals(["completed", "running"]),
78
78
  output: Schema.String
79
79
  });
80
- var description3 = [
80
+ var description5 = [
81
81
  "Spawns an agent in a child session to work on the specified task.",
82
82
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
83
83
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -86,16 +86,16 @@ var description3 = [
86
86
  "Use background only for independent work that can run while you continue elsewhere."
87
87
  ].join(`
88
88
  `);
89
- var Plugin8 = {
89
+ var Plugin29 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service26;
93
- const jobs = yield* Service83;
94
- const agents = yield* Service72;
95
- const config = yield* Service62;
96
- const permission = yield* Service69;
97
- const models = yield* Service65;
98
- const subagents = yield* Service12;
92
+ const sessions = yield* Service24;
93
+ const jobs = yield* Service50;
94
+ const agents = yield* Service71;
95
+ const config = yield* Service40;
96
+ const permission = yield* Service68;
97
+ const models = yield* Service62;
98
+ const subagents = yield* Service10;
99
99
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
100
100
  const ref = yield* Effect.try({
101
101
  try: () => Ref2.parse(input),
@@ -115,11 +115,11 @@ var Plugin8 = {
115
115
  return ref;
116
116
  });
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name7,
118
+ name: name11,
119
119
  options: { codemode: false },
120
- description: description3,
121
- input: Input7,
122
- output: Output5,
120
+ description: description5,
121
+ input: Input11,
122
+ output: Output7,
123
123
  execute: (input, context) => Effect.gen(function* () {
124
124
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
125
125
  let current = parent;
@@ -139,7 +139,7 @@ var Plugin8 = {
139
139
  if (agent.mode === "primary")
140
140
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
141
141
  yield* permission.assert({
142
- action: name7,
142
+ action: name11,
143
143
  resources: [agent.id],
144
144
  save: [agent.id],
145
145
  sessionID: context.sessionID,
@@ -218,7 +218,7 @@ ${output.output}
218
218
  })))
219
219
  })).pipe(Effect.orDie);
220
220
  yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
221
- if (event.tool !== name7 || !Predicate.isObject(event.input))
221
+ if (event.tool !== name11 || !Predicate.isObject(event.input))
222
222
  return;
223
223
  if (event.input.model !== "" && event.input.sessionID !== "")
224
224
  return;
@@ -230,13 +230,13 @@ ${output.output}
230
230
  event.input = input;
231
231
  }));
232
232
  const hook = (event) => Effect.gen(function* () {
233
- const tool = event.tools[name7];
233
+ const tool = event.tools[name11];
234
234
  if (!tool)
235
235
  return;
236
236
  const selected = yield* agents.resolve(event.agent);
237
237
  if (!selected)
238
238
  return;
239
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name7, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
239
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name11, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
240
240
  if (available.length === 0)
241
241
  return;
242
242
  tool.description = [
@@ -253,4 +253,4 @@ ${output.output}
253
253
  })
254
254
  };
255
255
 
256
- export { name7, Input7, Output5, description3, Plugin8, exports_subagent };
256
+ export { name11, Input11, Output7, description5, Plugin29, exports_subagent };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  Key3,
3
3
  removed2,
4
- make19,
4
+ make21,
5
5
  diffByKey2
6
- } from "./tool-t550f9t1.js";
6
+ } from "./aisdk-native-s8d7rejh.js";
7
7
  import {
8
- ID6,
8
+ ID4,
9
9
  Name2,
10
10
  available3,
11
- Service54,
12
- node56
13
- } from "./tool-e8ajjxsc.js";
11
+ Service43,
12
+ node46
13
+ } from "./aisdk-native-tzv7x8xt.js";
14
14
  import {
15
15
  __export
16
- } from "./tool-9rqn6x4v.js";
16
+ } from "./aisdk-native-9rqn6x4v.js";
17
17
 
18
18
  // src/skill/instructions.ts
19
- var exports_instructions3 = {};
20
- __export(exports_instructions3, {
21
- Service: () => Service35,
22
- SkillInstructions: () => exports_instructions3,
23
- node: () => node39
19
+ var exports_instructions5 = {};
20
+ __export(exports_instructions5, {
21
+ Service: () => Service37,
22
+ SkillInstructions: () => exports_instructions5,
23
+ node: () => node40
24
24
  });
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
27
  var Summary = Schema.Struct({
28
- id: ID6,
28
+ id: ID4,
29
29
  name: Name2,
30
30
  description: Schema.String
31
31
  });
@@ -60,14 +60,14 @@ var update = (previous, current) => {
60
60
  `);
61
61
  };
62
62
 
63
- class Service35 extends Context.Service()("@opencode/SkillInstructions") {
63
+ class Service37 extends Context.Service()("@opencode/SkillInstructions") {
64
64
  }
65
- var layer = Layer.effect(Service35, Effect.gen(function* () {
66
- const skills = yield* Service54;
67
- return Service35.of({
65
+ var layer = Layer.effect(Service37, Effect.gen(function* () {
66
+ const skills = yield* Service43;
67
+ return Service37.of({
68
68
  load: Effect.fn("SkillInstructions.load")(function* (permissions) {
69
69
  const available = available3(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
70
- return make19({
70
+ return make21({
71
71
  key: Key3.make("core/skill-guidance"),
72
72
  codec: Schema.toCodecJson(Schema.Array(Summary)),
73
73
  read: Effect.succeed(available.length === 0 ? removed2 : available),
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
80
80
  })
81
81
  });
82
82
  }));
83
- var node39 = makeLocationNode({ service: Service35, layer, deps: [node56] });
83
+ var node40 = makeLocationNode({ service: Service37, layer, deps: [node46] });
84
84
 
85
- export { Service35, node39, exports_instructions3 };
85
+ export { Service37, node40, exports_instructions5 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-9rqn6x4v.js";
3
+ } from "./aisdk-native-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/source-directory.ts
6
6
  var exports_source_directory = {};
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./tool-z5v4ffb3.js";
5
+ } from "./aisdk-native-z5v4ffb3.js";
6
6
  import {
7
- Service58,
8
- node60
9
- } from "./tool-87b0tycv.js";
7
+ Service56,
8
+ node59
9
+ } from "./aisdk-native-8yhjyr9d.js";
10
10
  import {
11
11
  Content2
12
- } from "./tool-xa2yqved.js";
12
+ } from "./aisdk-native-68qhygb3.js";
13
13
  import {
14
14
  detect2
15
- } from "./tool-3smtnn6g.js";
15
+ } from "./aisdk-native-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./tool-9rqn6x4v.js";
18
+ } from "./aisdk-native-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service8,
36
+ Service: () => Service6,
37
37
  TextPage: () => TextPage2,
38
- node: () => node10,
38
+ node: () => node7,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service8 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service6 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
330
330
  return index + 1;
331
331
  }
332
332
  };
333
- var layer = Layer.effect(Service8, Effect.gen(function* () {
334
- const environment = yield* Service58;
335
- return Service8.of({
333
+ var layer = Layer.effect(Service6, Effect.gen(function* () {
334
+ const environment = yield* Service56;
335
+ return Service6.of({
336
336
  list: environment.files.list,
337
337
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
338
338
  });
339
339
  }));
340
- var node10 = makeLocationNode({ service: Service8, layer, deps: [node60] });
340
+ var node7 = makeLocationNode({ service: Service6, layer, deps: [node59] });
341
341
 
342
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service8, read2, node10, exports_read_filesystem };
342
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service6, read2, node7, exports_read_filesystem };
@@ -4,7 +4,7 @@ import {
4
4
  summarize2,
5
5
  namespaceLine2,
6
6
  exports_catalog
7
- } from "../chunks/tool-3fc6dm20.js";
7
+ } from "../chunks/aisdk-native-3fc6dm20.js";
8
8
  export {
9
9
  exports_catalog as CodeModeCatalog,
10
10
  Summary2 as Summary,
@@ -1,14 +1,14 @@
1
1
  import {
2
- render3,
2
+ render2,
3
3
  update3,
4
- make15,
5
- exports_instructions5
6
- } from "../chunks/tool-2bekqz3a.js";
7
- import"../chunks/tool-3fc6dm20.js";
8
- import"../chunks/tool-t550f9t1.js";
4
+ make13,
5
+ exports_instructions4
6
+ } from "../chunks/aisdk-native-69h1251q.js";
7
+ import"../chunks/aisdk-native-3fc6dm20.js";
8
+ import"../chunks/aisdk-native-s8d7rejh.js";
9
9
  export {
10
- exports_instructions5 as CodeModeInstructions,
11
- make15 as make,
12
- render3 as render,
10
+ exports_instructions4 as CodeModeInstructions,
11
+ make13 as make,
12
+ render2 as render,
13
13
  update3 as update
14
14
  };
@@ -2,9 +2,9 @@ import {
2
2
  create2,
3
3
  catalog2,
4
4
  exports_tool2
5
- } from "../chunks/tool-j09zfasm.js";
6
- import"../chunks/tool-pyv0edze.js";
7
- import"../chunks/tool-syv4x271.js";
5
+ } from "../chunks/aisdk-native-91qna3x0.js";
6
+ import"../chunks/aisdk-native-syv4x271.js";
7
+ import"../chunks/aisdk-native-pyv0edze.js";
8
8
  export {
9
9
  exports_tool2 as CodeModeTool,
10
10
  catalog2 as catalog,
@@ -2,7 +2,7 @@ import {
2
2
  extension2,
3
3
  display2,
4
4
  exports_web
5
- } from "../chunks/tool-syv4x271.js";
5
+ } from "../chunks/aisdk-native-syv4x271.js";
6
6
  export {
7
7
  exports_web as CodeModeWeb,
8
8
  display2 as display,