@opencode/core 0.0.0-dev-19440 → 0.0.0-dev-19443

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 (783) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +4 -4
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{file-wpm2rk0p.js → aisdk-native-036scx05.js} +6 -6
  9. package/dist/chunks/aisdk-native-0mesazry.js +4 -0
  10. package/dist/chunks/{file-0paq2nw3.js → aisdk-native-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{file-0q0f95c6.js → aisdk-native-0q0f95c6.js} +1 -1
  12. package/dist/chunks/{file-snsk04x3.js → aisdk-native-0s5esgd1.js} +19 -19
  13. package/dist/chunks/{file-pydmrwq0.js → aisdk-native-11c6haq0.js} +29 -29
  14. package/dist/chunks/{file-xxsgs27q.js → aisdk-native-18j3d1k5.js} +14 -14
  15. package/dist/chunks/{file-nxer0yad.js → aisdk-native-1acjjqhc.js} +4 -4
  16. package/dist/chunks/{file-1dazxqgg.js → aisdk-native-1dazxqgg.js} +2 -2
  17. package/dist/chunks/{file-kt5w8vxh.js → aisdk-native-1e9w7pgh.js} +10 -10
  18. package/dist/chunks/{file-m8nf6fh5.js → aisdk-native-1rbex5rt.js} +37 -37
  19. package/dist/chunks/{file-akrnn5pm.js → aisdk-native-1y1z8jnb.js} +11 -11
  20. package/dist/chunks/{file-56gdpj1q.js → aisdk-native-1ygqh575.js} +9 -9
  21. package/dist/chunks/{file-21r38tys.js → aisdk-native-21r38tys.js} +1 -1
  22. package/dist/chunks/{file-2402vzrj.js → aisdk-native-2402vzrj.js} +1 -1
  23. package/dist/chunks/{file-z63w68vq.js → aisdk-native-29x78va6.js} +6 -6
  24. package/dist/chunks/{file-2a5m3afh.js → aisdk-native-2a5m3afh.js} +1 -1
  25. package/dist/chunks/{file-90hac4w7.js → aisdk-native-2dx5zcey.js} +15 -15
  26. package/dist/chunks/{file-9ev7wkx2.js → aisdk-native-2fktr2jd.js} +5 -5
  27. package/dist/chunks/{file-3w0fmcng.js → aisdk-native-2qp6y8xf.js} +5 -5
  28. package/dist/chunks/{file-1kz1ep11.js → aisdk-native-2srt5kyc.js} +9 -9
  29. package/dist/chunks/{file-aqnnbpn3.js → aisdk-native-2vt4z936.js} +7 -7
  30. package/dist/chunks/{file-1dgfjwgv.js → aisdk-native-36sz8rgh.js} +24 -24
  31. package/dist/chunks/{file-gdvy8fx6.js → aisdk-native-3fc6dm20.js} +4 -4
  32. package/dist/chunks/{file-3hepkmqq.js → aisdk-native-3hepkmqq.js} +1 -1
  33. package/dist/chunks/{file-ma9yb35x.js → aisdk-native-3jqe0tdq.js} +9 -9
  34. package/dist/chunks/{file-56pp0xdw.js → aisdk-native-3mn8z65d.js} +17 -17
  35. package/dist/chunks/{file-6cxvyk5r.js → aisdk-native-3n70k9za.js} +5 -5
  36. package/dist/chunks/{file-3e0re2er.js → aisdk-native-3r8ddj3n.js} +16 -16
  37. package/dist/chunks/{file-3smtnn6g.js → aisdk-native-3smtnn6g.js} +1 -1
  38. package/dist/chunks/{file-3tvqynh2.js → aisdk-native-3tvqynh2.js} +1 -1
  39. package/dist/chunks/{file-1zpv7ff7.js → aisdk-native-3yjctv3v.js} +41 -41
  40. package/dist/chunks/{file-efd2tswm.js → aisdk-native-414xncdy.js} +4 -4
  41. package/dist/chunks/{file-m0f43kw2.js → aisdk-native-4622e55f.js} +36 -36
  42. package/dist/chunks/{file-x3n8sh0p.js → aisdk-native-4cnyw18s.js} +17 -17
  43. package/dist/chunks/{file-pfq1ksym.js → aisdk-native-4dg124c5.js} +5 -5
  44. package/dist/chunks/{file-e6hd9jay.js → aisdk-native-4p37gy4n.js} +6 -6
  45. package/dist/chunks/{file-8a2qdx2a.js → aisdk-native-5346cs1n.js} +6 -6
  46. package/dist/chunks/{file-kvext5yd.js → aisdk-native-5ak1qtzr.js} +88 -88
  47. package/dist/chunks/{file-5daktx2q.js → aisdk-native-5daktx2q.js} +1 -1
  48. package/dist/chunks/{file-gsnb458g.js → aisdk-native-5frevzdr.js} +9 -9
  49. package/dist/chunks/{file-6d9mz4vp.js → aisdk-native-5kptn8c0.js} +9 -9
  50. package/dist/chunks/{file-31k57cnn.js → aisdk-native-5pkey55m.js} +12 -12
  51. package/dist/chunks/{file-5t3nmthw.js → aisdk-native-5t3nmthw.js} +2 -2
  52. package/dist/chunks/{file-9khdf5s3.js → aisdk-native-5wbzy8nn.js} +11 -11
  53. package/dist/chunks/{file-hqt9f5hj.js → aisdk-native-5yxh3d48.js} +174 -174
  54. package/dist/chunks/{file-c7vqgbdp.js → aisdk-native-60fp49e0.js} +6 -6
  55. package/dist/chunks/{file-669tq793.js → aisdk-native-669tq793.js} +1 -1
  56. package/dist/chunks/{file-ad4c86qp.js → aisdk-native-693j9t8q.js} +22 -22
  57. package/dist/chunks/{file-qnq5akd1.js → aisdk-native-69jxqepe.js} +20 -20
  58. package/dist/chunks/{file-1nepfxaz.js → aisdk-native-69r9223c.js} +9 -9
  59. package/dist/chunks/{file-6msgmcgs.js → aisdk-native-6msgmcgs.js} +1 -1
  60. package/dist/chunks/{file-5ahbvy81.js → aisdk-native-6q02yaaj.js} +12 -12
  61. package/dist/chunks/{file-p2vn5raz.js → aisdk-native-6rffdb5j.js} +7 -7
  62. package/dist/chunks/{file-pfjkw3sm.js → aisdk-native-6rv39ce1.js} +68 -68
  63. package/dist/chunks/{file-5eep6mvg.js → aisdk-native-6t8gs0b1.js} +20 -20
  64. package/dist/chunks/{file-54xwtjdq.js → aisdk-native-6waq3m7r.js} +46 -46
  65. package/dist/chunks/{file-71q4at8m.js → aisdk-native-71q4at8m.js} +1 -1
  66. package/dist/chunks/{file-4qk82zqm.js → aisdk-native-734nr2zp.js} +20 -20
  67. package/dist/chunks/{file-7bmhse3q.js → aisdk-native-7bmhse3q.js} +1 -1
  68. package/dist/chunks/{file-bsre5g92.js → aisdk-native-7cgxkbdr.js} +17 -17
  69. package/dist/chunks/{file-xw91ethm.js → aisdk-native-7fyjb6zr.js} +5 -5
  70. package/dist/chunks/{file-5zjhyd44.js → aisdk-native-7vypmzqc.js} +35 -35
  71. package/dist/chunks/{file-sx8dqv37.js → aisdk-native-7yk2c6c5.js} +27 -27
  72. package/dist/chunks/{file-z3asdwpy.js → aisdk-native-7yzm6pxz.js} +20 -20
  73. package/dist/chunks/{file-zw0jxv6w.js → aisdk-native-7z99814y.js} +12 -12
  74. package/dist/chunks/{file-b27vhd2z.js → aisdk-native-806j49yq.js} +4 -4
  75. package/dist/chunks/{file-sfegc1hb.js → aisdk-native-83028rk2.js} +3 -3
  76. package/dist/chunks/{file-tmrp3428.js → aisdk-native-846a88cc.js} +4 -4
  77. package/dist/chunks/{file-jzd96n45.js → aisdk-native-87k8zj6p.js} +16 -16
  78. package/dist/chunks/{file-8va43b33.js → aisdk-native-89mk6zq8.js} +46 -46
  79. package/dist/chunks/{file-8d7r5vzw.js → aisdk-native-8d7r5vzw.js} +1 -1
  80. package/dist/chunks/{file-bz5k20yh.js → aisdk-native-8e9d62j8.js} +10 -10
  81. package/dist/chunks/{file-z2fmw18c.js → aisdk-native-8evvv6w2.js} +22 -22
  82. package/dist/chunks/{file-jj3qxa52.js → aisdk-native-8gxqpgph.js} +4 -4
  83. package/dist/chunks/{file-x4tsw7vb.js → aisdk-native-8mr4zjz5.js} +20 -20
  84. package/dist/chunks/{file-8p4f9s12.js → aisdk-native-8p4f9s12.js} +2 -2
  85. package/dist/chunks/{file-heer32bb.js → aisdk-native-8y4y6bqe.js} +7 -7
  86. package/dist/chunks/{file-bez9jb7v.js → aisdk-native-91bz4edj.js} +7 -7
  87. package/dist/chunks/{file-mb0ha6fs.js → aisdk-native-96yt6zt0.js} +1 -1
  88. package/dist/chunks/{file-ykhkvv1t.js → aisdk-native-9b4wwscp.js} +6 -6
  89. package/dist/chunks/{file-cef1ew0c.js → aisdk-native-9ctd387c.js} +27 -27
  90. package/dist/chunks/{file-h7nxn43q.js → aisdk-native-9yq1xq8h.js} +32 -32
  91. package/dist/chunks/{file-rvyh1tga.js → aisdk-native-a161dj2k.js} +4 -4
  92. package/dist/chunks/{file-a1bz86dw.js → aisdk-native-a1bz86dw.js} +3 -3
  93. package/dist/chunks/{file-34y33xw8.js → aisdk-native-a2phgqwc.js} +40 -40
  94. package/dist/chunks/{file-aaet6srn.js → aisdk-native-aaet6srn.js} +2 -2
  95. package/dist/chunks/{file-e4jhm3j4.js → aisdk-native-abzhw57t.js} +28 -28
  96. package/dist/chunks/{file-29vcxy2s.js → aisdk-native-aj8kkpvr.js} +4 -4
  97. package/dist/chunks/{file-hkfg6fzm.js → aisdk-native-avm8jn6n.js} +5 -5
  98. package/dist/chunks/{file-6cwg1y4g.js → aisdk-native-azdr1ew2.js} +15 -15
  99. package/dist/chunks/{file-gz2y2193.js → aisdk-native-b1hwkhhg.js} +4 -4
  100. package/dist/chunks/{file-b6gygkdw.js → aisdk-native-b6gygkdw.js} +2 -2
  101. package/dist/chunks/{file-epd1fg1b.js → aisdk-native-bajakh74.js} +4 -4
  102. package/dist/chunks/{file-msq0jde0.js → aisdk-native-bccb6npm.js} +4 -4
  103. package/dist/chunks/aisdk-native-befyamhm.js +22 -0
  104. package/dist/chunks/{file-7c6e5y81.js → aisdk-native-bh0q3qw2.js} +26 -26
  105. package/dist/chunks/{file-5wd13403.js → aisdk-native-bhwxr1kx.js} +27 -27
  106. package/dist/chunks/{file-f0w7qnfr.js → aisdk-native-bs7hmeg3.js} +18 -18
  107. package/dist/chunks/{file-11rr1j9z.js → aisdk-native-c0wenar5.js} +16 -16
  108. package/dist/chunks/{file-apktd9aw.js → aisdk-native-c7aqkwyx.js} +11 -11
  109. package/dist/chunks/{file-cfpkc3c9.js → aisdk-native-cfpkc3c9.js} +2 -2
  110. package/dist/chunks/{file-6kaqw02d.js → aisdk-native-ck004xzv.js} +16 -16
  111. package/dist/chunks/{file-0j7s38gp.js → aisdk-native-cmaw1yhg.js} +24 -24
  112. package/dist/chunks/{file-shyev4mk.js → aisdk-native-cv1ed7e8.js} +10 -10
  113. package/dist/chunks/{file-tnjzq8hh.js → aisdk-native-cwcv96xt.js} +24 -24
  114. package/dist/chunks/{file-arsacetm.js → aisdk-native-d6eq99k8.js} +11 -11
  115. package/dist/chunks/{file-rmnfqzky.js → aisdk-native-dfra2488.js} +28 -28
  116. package/dist/chunks/{file-z0q4dsav.js → aisdk-native-dhpx4bgt.js} +8 -8
  117. package/dist/chunks/{file-jk47m7qg.js → aisdk-native-dkxen2ne.js} +18 -18
  118. package/dist/chunks/{file-pxt4kznk.js → aisdk-native-dv250zvr.js} +3 -3
  119. package/dist/chunks/{file-9pazyhrx.js → aisdk-native-e0y88b7s.js} +34 -34
  120. package/dist/chunks/{file-fmhfve32.js → aisdk-native-e5v436ga.js} +24 -24
  121. package/dist/chunks/{file-p6yzb5ay.js → aisdk-native-e82z9tr0.js} +7 -7
  122. package/dist/chunks/{file-qknber6z.js → aisdk-native-e9kjg0vc.js} +5 -5
  123. package/dist/chunks/{file-jtkkm2qn.js → aisdk-native-e9nzppwt.js} +23 -23
  124. package/dist/chunks/{file-f40nw3s4.js → aisdk-native-efy942t1.js} +13 -13
  125. package/dist/chunks/{file-5tvb4m4x.js → aisdk-native-er56z9m3.js} +4 -4
  126. package/dist/chunks/{file-etq0c3wd.js → aisdk-native-etq0c3wd.js} +1 -1
  127. package/dist/chunks/{file-bnd8m4xr.js → aisdk-native-f4mtjk0y.js} +9 -9
  128. package/dist/chunks/{file-f828m53h.js → aisdk-native-f828m53h.js} +2 -2
  129. package/dist/chunks/{file-hgyq7eg6.js → aisdk-native-f8m2xdzz.js} +22 -22
  130. package/dist/chunks/{file-g08h86t3.js → aisdk-native-f8q7mv7a.js} +1 -1
  131. package/dist/chunks/{file-c0q0hmxn.js → aisdk-native-f9ek4kpk.js} +6 -6
  132. package/dist/chunks/{file-92e8bh4d.js → aisdk-native-fae6jabp.js} +30 -30
  133. package/dist/chunks/{file-7dqw4kz8.js → aisdk-native-fcrkznn8.js} +5 -5
  134. package/dist/chunks/{file-z0wr5a8a.js → aisdk-native-fdgvvs2b.js} +31 -31
  135. package/dist/chunks/{file-cxgbd94q.js → aisdk-native-fdrns0k3.js} +22 -22
  136. package/dist/chunks/{file-2jhvch9f.js → aisdk-native-fgh0kbhd.js} +1 -1
  137. package/dist/chunks/{file-zx6x6k27.js → aisdk-native-fgwez2sf.js} +13 -13
  138. package/dist/chunks/{file-bjwja24f.js → aisdk-native-fgwkmjw7.js} +5 -5
  139. package/dist/chunks/{file-31a64gx3.js → aisdk-native-fnx83s2r.js} +46 -46
  140. package/dist/chunks/{file-ts8g87kd.js → aisdk-native-fv3xc2ec.js} +15 -15
  141. package/dist/chunks/{file-fxbjtjnd.js → aisdk-native-fxbjtjnd.js} +1 -1
  142. package/dist/chunks/{file-2w8gt3dc.js → aisdk-native-fygdb7h7.js} +3 -3
  143. package/dist/chunks/{file-6tp3trja.js → aisdk-native-g0tknpy6.js} +19 -19
  144. package/dist/chunks/{file-6brzmxsm.js → aisdk-native-g9h0cv9w.js} +18 -18
  145. package/dist/chunks/{file-gd4qta3r.js → aisdk-native-gd4qta3r.js} +1 -1
  146. package/dist/chunks/{file-8ygr8afe.js → aisdk-native-gpr0mnvy.js} +9 -9
  147. package/dist/chunks/{file-gv6a8nnw.js → aisdk-native-gv6a8nnw.js} +2 -2
  148. package/dist/chunks/{file-2a02pqey.js → aisdk-native-gw96jgh3.js} +28 -28
  149. package/dist/chunks/{file-h03wrkyp.js → aisdk-native-h03wrkyp.js} +2 -2
  150. package/dist/chunks/{file-fpm9cd7c.js → aisdk-native-h393hsdx.js} +35 -35
  151. package/dist/chunks/{file-xhhb3q2x.js → aisdk-native-h3e3s5sa.js} +15 -15
  152. package/dist/chunks/{file-w7q7v3t1.js → aisdk-native-h509qmsw.js} +15 -15
  153. package/dist/chunks/{file-h6vf3j39.js → aisdk-native-h6vf3j39.js} +1 -1
  154. package/dist/chunks/{file-4k1x48fq.js → aisdk-native-h7zq2bwb.js} +14 -14
  155. package/dist/chunks/{file-dwvzh0g2.js → aisdk-native-hdzt82x2.js} +6 -6
  156. package/dist/chunks/{file-fz45jgbm.js → aisdk-native-hm95npdb.js} +28 -28
  157. package/dist/chunks/{file-zr6kk9a2.js → aisdk-native-hmb9mprx.js} +4 -4
  158. package/dist/chunks/{file-47rg0syt.js → aisdk-native-hn5yzyh1.js} +17 -17
  159. package/dist/chunks/{file-2dwxz9nb.js → aisdk-native-hzssdtqa.js} +1 -1
  160. package/dist/chunks/{file-j56e64zr.js → aisdk-native-j56e64zr.js} +1 -1
  161. package/dist/chunks/{file-39ydjj0q.js → aisdk-native-j5j4zr0n.js} +12 -12
  162. package/dist/chunks/{file-paphc93g.js → aisdk-native-j935v87r.js} +2 -2
  163. package/dist/chunks/{file-0r7yqxbf.js → aisdk-native-jk9a1ysw.js} +5 -5
  164. package/dist/chunks/{file-5k8nf3y0.js → aisdk-native-k16ay38w.js} +1 -1
  165. package/dist/chunks/{file-cqf55qpv.js → aisdk-native-k7zvybbz.js} +13 -13
  166. package/dist/chunks/{file-v84ecj13.js → aisdk-native-k8zhydtp.js} +41 -41
  167. package/dist/chunks/{file-84k0ms65.js → aisdk-native-kap7d8ny.js} +13 -13
  168. package/dist/chunks/{file-kg06axw8.js → aisdk-native-kg06axw8.js} +1 -1
  169. package/dist/chunks/{file-kaaek4yc.js → aisdk-native-ksz0h0wp.js} +1 -1
  170. package/dist/chunks/{file-yhks5pv3.js → aisdk-native-m27pyyd3.js} +6 -6
  171. package/dist/chunks/{file-m9w0rfyh.js → aisdk-native-m9w0rfyh.js} +1 -1
  172. package/dist/chunks/{file-j028xdjb.js → aisdk-native-mhkvc446.js} +3 -3
  173. package/dist/chunks/{file-mkcjrzeh.js → aisdk-native-mkcjrzeh.js} +1 -1
  174. package/dist/chunks/{file-v9yqefes.js → aisdk-native-mr2e4527.js} +32 -32
  175. package/dist/chunks/{file-6z8rkrt2.js → aisdk-native-mt76ms35.js} +27 -27
  176. package/dist/chunks/{file-nnsfn4jb.js → aisdk-native-mtx2vye4.js} +27 -27
  177. package/dist/chunks/{file-rq6a0dg0.js → aisdk-native-mw1247dj.js} +4 -4
  178. package/dist/chunks/{file-td8ytyxd.js → aisdk-native-mwzwsk9n.js} +11 -11
  179. package/dist/chunks/{file-0a423ajn.js → aisdk-native-mxncjdsk.js} +43 -43
  180. package/dist/chunks/{file-nfnqdzmc.js → aisdk-native-n76fdqym.js} +5 -5
  181. package/dist/chunks/{file-ct16t8sn.js → aisdk-native-n7w9w4s7.js} +11 -11
  182. package/dist/chunks/{file-j0hyjfyk.js → aisdk-native-nfxyqc0v.js} +9 -9
  183. package/dist/chunks/{file-hjkgy200.js → aisdk-native-nrq08cvv.js} +32 -32
  184. package/dist/chunks/{file-gctttn65.js → aisdk-native-nrtb1g45.js} +18 -18
  185. package/dist/chunks/{file-75kte9jx.js → aisdk-native-ntbmwyv9.js} +18 -18
  186. package/dist/chunks/{file-40bxqg89.js → aisdk-native-nzzy63ds.js} +11 -11
  187. package/dist/chunks/{file-b5v58ftx.js → aisdk-native-p0x1x402.js} +8 -8
  188. package/dist/chunks/{file-5t76y6t3.js → aisdk-native-p0y1ktg0.js} +60 -60
  189. package/dist/chunks/{file-qr42g2ex.js → aisdk-native-p4qt1y8s.js} +12 -12
  190. package/dist/chunks/{file-vpsn8azz.js → aisdk-native-p5948bz6.js} +23 -23
  191. package/dist/chunks/{file-pjvnvgmy.js → aisdk-native-pjvnvgmy.js} +1 -1
  192. package/dist/chunks/{file-pknna89w.js → aisdk-native-pknna89w.js} +1 -1
  193. package/dist/chunks/{file-b3yz7px1.js → aisdk-native-ppg1r0zn.js} +36 -36
  194. package/dist/chunks/{file-g1sb636y.js → aisdk-native-pw9v3g6d.js} +8 -8
  195. package/dist/chunks/{file-j1k07czg.js → aisdk-native-q3dfwa13.js} +5 -5
  196. package/dist/chunks/aisdk-native-q509s3k3.js +18 -0
  197. package/dist/chunks/{file-1vtz46z8.js → aisdk-native-q56zp3pb.js} +8 -8
  198. package/dist/chunks/{file-zfznrpx1.js → aisdk-native-q5j1bp2v.js} +4 -4
  199. package/dist/chunks/{file-915t83ht.js → aisdk-native-q6sd8jqx.js} +8 -8
  200. package/dist/chunks/{file-n8hp42zk.js → aisdk-native-q9d5c5bg.js} +23 -23
  201. package/dist/chunks/{file-85y38j38.js → aisdk-native-qa4pd714.js} +15 -15
  202. package/dist/chunks/{file-41nzdzyt.js → aisdk-native-qdjwk6et.js} +12 -12
  203. package/dist/chunks/{file-81swgkk7.js → aisdk-native-qg6emqy4.js} +9 -9
  204. package/dist/chunks/{file-t1d7geq2.js → aisdk-native-qm66azdk.js} +11 -11
  205. package/dist/chunks/{file-4gxnfwsp.js → aisdk-native-qnecgmg3.js} +39 -39
  206. package/dist/chunks/{file-dfe8djrf.js → aisdk-native-qq11w61w.js} +4 -4
  207. package/dist/chunks/{file-qsdy395h.js → aisdk-native-qsdy395h.js} +1 -1
  208. package/dist/chunks/{file-j1dc1ckq.js → aisdk-native-qtmhg6c3.js} +27 -27
  209. package/dist/chunks/{file-8st6sg7d.js → aisdk-native-qwt0xknm.js} +6 -6
  210. package/dist/chunks/aisdk-native-qyzw8b7h.js +247 -0
  211. package/dist/chunks/{file-ah20z6ve.js → aisdk-native-r4qygam9.js} +2 -2
  212. package/dist/chunks/{file-p6mw6jzc.js → aisdk-native-r9babyk8.js} +1 -1
  213. package/dist/chunks/{file-r9mregkx.js → aisdk-native-r9mregkx.js} +2 -2
  214. package/dist/chunks/{file-yczh3409.js → aisdk-native-rc7zsjvb.js} +29 -29
  215. package/dist/chunks/{file-n032fvft.js → aisdk-native-rgy7ctyq.js} +6 -6
  216. package/dist/chunks/{file-a1ttd06w.js → aisdk-native-rkc71d60.js} +26 -26
  217. package/dist/chunks/{file-qvb3nf84.js → aisdk-native-rmdyxgmk.js} +8 -8
  218. package/dist/chunks/aisdk-native-rmgpmqvg.js +462 -0
  219. package/dist/chunks/{file-cw20kccn.js → aisdk-native-rw0xhzfz.js} +9 -9
  220. package/dist/chunks/{file-53kvdkfc.js → aisdk-native-rwxhg8cn.js} +45 -45
  221. package/dist/chunks/{file-eg6tdpbh.js → aisdk-native-rxmwyzz4.js} +21 -21
  222. package/dist/chunks/{file-yrznvahk.js → aisdk-native-s4enseaf.js} +2 -2
  223. package/dist/chunks/{file-qj8eh1ht.js → aisdk-native-s8j6jbjj.js} +21 -21
  224. package/dist/chunks/{file-wepxzacc.js → aisdk-native-sx0kmj3h.js} +3 -3
  225. package/dist/chunks/{file-hgz4ddpy.js → aisdk-native-syvyg8jx.js} +18 -18
  226. package/dist/chunks/{file-0gb42mpy.js → aisdk-native-t138kpbp.js} +4 -4
  227. package/dist/chunks/{file-p33ejz0k.js → aisdk-native-t23qze4t.js} +1 -1
  228. package/dist/chunks/{file-tjr0drtg.js → aisdk-native-t2w7qj2h.js} +15 -15
  229. package/dist/chunks/{file-0gdmqesm.js → aisdk-native-t550f9t1.js} +4 -4
  230. package/dist/chunks/{file-r0q5qwf7.js → aisdk-native-t5kb7xrj.js} +17 -17
  231. package/dist/chunks/{file-v6krneed.js → aisdk-native-t7z3zppm.js} +2 -2
  232. package/dist/chunks/{file-tazgh4e4.js → aisdk-native-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{file-tcezcvh9.js → aisdk-native-tcezcvh9.js} +1 -1
  234. package/dist/chunks/{file-tdstcens.js → aisdk-native-tdstcens.js} +1 -1
  235. package/dist/chunks/{file-3q86das3.js → aisdk-native-tm0ysbqm.js} +32 -32
  236. package/dist/chunks/{file-tvtrv512.js → aisdk-native-tvtrv512.js} +1 -1
  237. package/dist/chunks/{file-01x5ayvb.js → aisdk-native-tzgha2eb.js} +10 -10
  238. package/dist/chunks/{file-etq9z835.js → aisdk-native-v4b36nj3.js} +2 -2
  239. package/dist/chunks/{file-81wjxh2j.js → aisdk-native-v4jjqebk.js} +16 -16
  240. package/dist/chunks/{file-veqvce7d.js → aisdk-native-veqvce7d.js} +1 -1
  241. package/dist/chunks/{file-4zqvh54v.js → aisdk-native-vnxf3xq1.js} +53 -53
  242. package/dist/chunks/{file-y3ak5rv5.js → aisdk-native-vsq8jhd6.js} +58 -58
  243. package/dist/chunks/{file-51b1p1nf.js → aisdk-native-vvv3thrh.js} +12 -12
  244. package/dist/chunks/{file-y2rgym3m.js → aisdk-native-vxwzppst.js} +9 -9
  245. package/dist/chunks/{file-vzcthcp8.js → aisdk-native-vzcthcp8.js} +1 -1
  246. package/dist/chunks/{file-f7xc3wa1.js → aisdk-native-w2187ed2.js} +24 -24
  247. package/dist/chunks/{file-bty97h6q.js → aisdk-native-w3hwtebh.js} +7 -7
  248. package/dist/chunks/{file-w3wsvvr9.js → aisdk-native-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{file-a12ktaww.js → aisdk-native-w48scv8w.js} +6 -6
  250. package/dist/chunks/{file-rj8m8qzm.js → aisdk-native-w4v2becs.js} +7 -7
  251. package/dist/chunks/{file-ha2h0zjh.js → aisdk-native-w6v733tr.js} +27 -27
  252. package/dist/chunks/{file-wd87259q.js → aisdk-native-wd87259q.js} +1 -1
  253. package/dist/chunks/{file-1qvh4tdd.js → aisdk-native-wgrkr345.js} +87 -87
  254. package/dist/chunks/{file-6wbs09gh.js → aisdk-native-wsk9egft.js} +11 -11
  255. package/dist/chunks/{file-w3tvvpzb.js → aisdk-native-wspyg160.js} +15 -15
  256. package/dist/chunks/{file-7sqxeqwy.js → aisdk-native-x0511brf.js} +4 -4
  257. package/dist/chunks/{file-x1ezjp6w.js → aisdk-native-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{file-tpw6cwsb.js → aisdk-native-x3et2xth.js} +8 -8
  259. package/dist/chunks/{file-r6r1pz2h.js → aisdk-native-x3hrgzzj.js} +33 -33
  260. package/dist/chunks/{file-s9wkemjm.js → aisdk-native-x47ex9qk.js} +16 -16
  261. package/dist/chunks/{file-jzd3sdz4.js → aisdk-native-x5f4ydnm.js} +13 -13
  262. package/dist/chunks/{file-caevyejh.js → aisdk-native-x5tmsv1z.js} +22 -22
  263. package/dist/chunks/{file-10m077g0.js → aisdk-native-x90ekrdb.js} +6 -6
  264. package/dist/chunks/{file-8tf464ev.js → aisdk-native-xbp5vre2.js} +35 -35
  265. package/dist/chunks/{file-84zt2byv.js → aisdk-native-xekzrwwc.js} +9 -9
  266. package/dist/chunks/{file-zrd73k1r.js → aisdk-native-xfqaw5jk.js} +32 -32
  267. package/dist/chunks/{file-qbrwkfs8.js → aisdk-native-xhh24fr8.js} +11 -11
  268. package/dist/chunks/{file-jzzy94zk.js → aisdk-native-xhmq8qgk.js} +9 -9
  269. package/dist/chunks/{file-y1fvbwt7.js → aisdk-native-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{file-nyj7fnw9.js → aisdk-native-y4h9daa2.js} +35 -35
  271. package/dist/chunks/{file-dpkg50ah.js → aisdk-native-y71avatq.js} +4 -4
  272. package/dist/chunks/{file-yddgxcp4.js → aisdk-native-yddgxcp4.js} +2 -2
  273. package/dist/chunks/{file-qz8n5g0w.js → aisdk-native-yep2bc9q.js} +11 -11
  274. package/dist/chunks/{file-m2h2dh4q.js → aisdk-native-yhy3dzz1.js} +15 -15
  275. package/dist/chunks/{file-yrhqyw5v.js → aisdk-native-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{file-s8b69be9.js → aisdk-native-yxq4x6j1.js} +8 -8
  277. package/dist/chunks/{file-c6090g2y.js → aisdk-native-yzahj7qk.js} +40 -40
  278. package/dist/chunks/{file-z0bkrqjs.js → aisdk-native-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{file-dv8j6wzk.js → aisdk-native-z2kjg3n2.js} +15 -15
  280. package/dist/chunks/{file-d1jmswd2.js → aisdk-native-z69s9t6b.js} +5 -5
  281. package/dist/chunks/{file-avp3hhf2.js → aisdk-native-z9g8v05p.js} +29 -29
  282. package/dist/chunks/{file-qmj11y7g.js → aisdk-native-zbpnfvtq.js} +24 -24
  283. package/dist/chunks/{file-stntv2hh.js → aisdk-native-zebk3f7x.js} +21 -21
  284. package/dist/chunks/{file-zeh9ct20.js → aisdk-native-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{file-0ccn345w.js → aisdk-native-zkqp0xtw.js} +23 -23
  286. package/dist/chunks/{file-v1d6h3jw.js → aisdk-native-zmz8tvp3.js} +11 -11
  287. package/dist/chunks/{file-zr2ceqn5.js → aisdk-native-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{file-kegs65m0.js → aisdk-native-zrtmhd6x.js} +28 -28
  289. package/dist/chunks/{file-zxq2ej10.js → aisdk-native-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +3 -3
  291. package/dist/codemode/instructions.js +9 -9
  292. package/dist/codemode/tool.js +2 -2
  293. package/dist/command.js +79 -79
  294. package/dist/config/discovery.js +77 -77
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +19 -19
  297. package/dist/config/plugin/agent.js +117 -117
  298. package/dist/config/plugin/command.js +209 -209
  299. package/dist/config/plugin/compaction.js +155 -155
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +115 -115
  303. package/dist/config/plugin/instruction.js +85 -85
  304. package/dist/config/plugin/location-watcher.js +117 -117
  305. package/dist/config/plugin/mcp.js +126 -126
  306. package/dist/config/plugin/policy.js +114 -114
  307. package/dist/config/plugin/provider.js +113 -113
  308. package/dist/config/plugin/reference.js +117 -117
  309. package/dist/config/plugin/shell.js +118 -118
  310. package/dist/config/plugin/skill-file.js +97 -97
  311. package/dist/config/plugin/skill.js +134 -134
  312. package/dist/config/plugin/snapshot.js +115 -115
  313. package/dist/config/plugin/source.js +117 -117
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +115 -115
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +119 -119
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +81 -81
  322. package/dist/database/database.js +64 -64
  323. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +15 -15
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +16 -16
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration.gen.js +47 -47
  386. package/dist/database/migration.js +49 -49
  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 +74 -74
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +362 -362
  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 +88 -88
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +90 -90
  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 +72 -72
  410. package/dist/file-access.js +99 -99
  411. package/dist/file-mutation.js +89 -89
  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 +222 -222
  421. package/dist/filesystem/protected.js +1 -1
  422. package/dist/filesystem/search.js +99 -99
  423. package/dist/filesystem/watcher-binding.js +3 -3
  424. package/dist/filesystem/watcher.js +15 -15
  425. package/dist/filesystem.js +96 -96
  426. package/dist/form.js +82 -82
  427. package/dist/formatter/builtins.js +4 -4
  428. package/dist/formatter.js +82 -82
  429. package/dist/generate.js +89 -89
  430. package/dist/git.js +7 -7
  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 +7 -7
  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 +5 -5
  454. package/dist/instance.js +353 -353
  455. package/dist/instruction-discovery.js +83 -83
  456. package/dist/instructions/builtins.js +82 -82
  457. package/dist/instructions/index.js +3 -3
  458. package/dist/integration/connection.js +1 -1
  459. package/dist/integration.js +84 -84
  460. package/dist/job.js +77 -77
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +71 -71
  463. package/dist/location-activity.js +131 -131
  464. package/dist/location-mutation.js +99 -99
  465. package/dist/location-service-map.js +81 -81
  466. package/dist/location-services.js +350 -350
  467. package/dist/location.js +84 -84
  468. package/dist/mcp/client.js +86 -86
  469. package/dist/mcp/index.js +103 -103
  470. package/dist/mcp/instructions.js +120 -120
  471. package/dist/mcp/oauth.js +3 -3
  472. package/dist/mcp/stdio.js +85 -85
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +7 -7
  475. package/dist/model-resolver.js +86 -86
  476. package/dist/model.js +8 -8
  477. package/dist/models-dev.js +86 -86
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +78 -78
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +110 -110
  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 +84 -84
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +73 -73
  487. package/dist/plugin/agent.js +99 -99
  488. package/dist/plugin/command.js +96 -96
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +213 -213
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +324 -324
  493. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  494. package/dist/plugin/models-dev.js +75 -75
  495. package/dist/plugin/module.js +7 -7
  496. package/dist/plugin/optimize.js +2 -2
  497. package/dist/plugin/plan.js +97 -97
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/alibaba.js +2 -2
  500. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  501. package/dist/plugin/provider/anthropic.js +2 -2
  502. package/dist/plugin/provider/azure.js +118 -118
  503. package/dist/plugin/provider/cerebras.js +2 -2
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +114 -114
  508. package/dist/plugin/provider/digitalocean.js +79 -79
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/gateway.js +2 -2
  512. package/dist/plugin/provider/github-copilot.js +80 -80
  513. package/dist/plugin/provider/gitlab.js +3 -3
  514. package/dist/plugin/provider/google-vertex.js +2 -2
  515. package/dist/plugin/provider/kilo.js +2 -2
  516. package/dist/plugin/provider/llmgateway.js +76 -76
  517. package/dist/plugin/provider/lmstudio.js +115 -115
  518. package/dist/plugin/provider/mistral.js +2 -2
  519. package/dist/plugin/provider/modal.js +79 -79
  520. package/dist/plugin/provider/nvidia.js +2 -2
  521. package/dist/plugin/provider/ollama.js +115 -115
  522. package/dist/plugin/provider/openai-compatible.js +1 -1
  523. package/dist/plugin/provider/openai.js +78 -78
  524. package/dist/plugin/provider/opencode.js +79 -79
  525. package/dist/plugin/provider/openrouter.js +3 -3
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +76 -76
  528. package/dist/plugin/provider/sap-ai-core.js +3 -3
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +2 -2
  533. package/dist/plugin/provider/vllm.js +117 -117
  534. package/dist/plugin/provider/xai.js +77 -77
  535. package/dist/plugin/provider/zenmux.js +2 -2
  536. package/dist/plugin/provider.js +158 -158
  537. package/dist/plugin/sdk.js +72 -72
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +133 -133
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +343 -343
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/variant.js +4 -4
  544. package/dist/plugin/vcs/git.js +82 -82
  545. package/dist/plugin/vcs/hg.js +82 -82
  546. package/dist/plugin/warming.js +112 -112
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +6 -6
  549. package/dist/plugin/websearch/index.js +8 -8
  550. package/dist/plugin/websearch/mcp.js +6 -6
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +4 -4
  553. package/dist/plugin.js +224 -224
  554. package/dist/project/schema.js +8 -8
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +83 -83
  557. package/dist/provider.js +5 -5
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/schema.js +3 -3
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +94 -94
  562. package/dist/reference/instructions.js +84 -84
  563. package/dist/reference.js +86 -86
  564. package/dist/repository-cache.js +76 -76
  565. package/dist/repository.js +1 -1
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +93 -93
  568. package/dist/rpc.js +81 -81
  569. package/dist/schema.js +1 -1
  570. package/dist/session/command.js +72 -72
  571. package/dist/session/compaction.js +127 -127
  572. package/dist/session/context.js +147 -147
  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 +219 -219
  577. package/dist/session/execution.js +124 -124
  578. package/dist/session/generate.js +146 -146
  579. package/dist/session/history.js +15 -15
  580. package/dist/session/inbox.js +88 -88
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +77 -77
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +92 -92
  585. package/dist/session/message-updater.js +2 -2
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +113 -113
  588. package/dist/session/model-transport.js +9 -9
  589. package/dist/session/move.js +126 -126
  590. package/dist/session/projector.js +84 -84
  591. package/dist/session/prompt.js +100 -100
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +85 -85
  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 +225 -225
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +86 -86
  599. package/dist/session/runner/publish-llm-event.js +3 -3
  600. package/dist/session/runner/retry.js +110 -110
  601. package/dist/session/runner/step.js +121 -121
  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 +169 -169
  605. package/dist/session/shell.js +131 -131
  606. package/dist/session/skill.js +98 -98
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +71 -71
  609. package/dist/session/store.js +85 -85
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +205 -205
  612. package/dist/session/system-prompt.js +5 -5
  613. package/dist/session/title.js +151 -151
  614. package/dist/session/to-session-error.js +107 -107
  615. package/dist/session/transfer.js +215 -215
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +211 -211
  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 +15 -15
  622. package/dist/shell.js +131 -131
  623. package/dist/skill/discovery.js +6 -6
  624. package/dist/skill/instructions.js +100 -100
  625. package/dist/skill.js +103 -103
  626. package/dist/snapshot.js +88 -88
  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 +119 -119
  631. package/dist/tool/plugin/edit.js +115 -115
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +120 -120
  634. package/dist/tool/plugin/grep.js +120 -120
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +117 -117
  637. package/dist/tool/plugin/question.js +98 -98
  638. package/dist/tool/plugin/read.js +121 -121
  639. package/dist/tool/plugin/shell.js +208 -208
  640. package/dist/tool/plugin/skill.js +106 -106
  641. package/dist/tool/plugin/subagent.js +214 -214
  642. package/dist/tool/plugin/webfetch.js +101 -101
  643. package/dist/tool/plugin/websearch.js +109 -109
  644. package/dist/tool/plugin/write.js +117 -117
  645. package/dist/tool/read-filesystem.js +96 -96
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +8 -8
  648. package/dist/tool.js +13 -13
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  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 +7 -7
  658. package/dist/v1/config/attachment.js +4 -4
  659. package/dist/v1/config/command.js +3 -3
  660. package/dist/v1/config/config.js +16 -16
  661. package/dist/v1/config/error.js +4 -4
  662. package/dist/v1/config/formatter.js +5 -5
  663. package/dist/v1/config/layout.js +1 -1
  664. package/dist/v1/config/lsp.js +5 -5
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +4 -4
  667. package/dist/v1/config/permission.js +7 -7
  668. package/dist/v1/config/plugin.js +3 -3
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +4 -4
  671. package/dist/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/vcs/patch.js +1 -1
  675. package/dist/vcs.js +85 -85
  676. package/dist/websearch.js +82 -82
  677. package/dist/wellknown/plugin.js +74 -74
  678. package/dist/wellknown.js +79 -79
  679. package/dist/workspace/driver.js +5 -5
  680. package/dist/workspace/sql.js +1 -1
  681. package/dist/workspace.js +78 -78
  682. package/dist/worktree/directory.js +2 -2
  683. package/dist/worktree/git.js +7 -7
  684. package/dist/worktree/refresh.js +342 -342
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree.js +91 -91
  687. package/package.json +8 -8
  688. package/dist/chunks/file-1x11rq2a.js +0 -18
  689. package/dist/chunks/file-8b4f4643.js +0 -462
  690. package/dist/chunks/file-dqjwa780.js +0 -22
  691. package/dist/chunks/file-qtvmxc8s.js +0 -4
  692. package/dist/chunks/file-v7es8fey.js +0 -247
  693. /package/dist/chunks/{file-0qkdqm5v.js → aisdk-native-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{file-0zkw76rk.js → aisdk-native-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{file-17cy0kzp.js → aisdk-native-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{file-1cnp2v09.js → aisdk-native-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{file-1kg9ymc8.js → aisdk-native-1kg9ymc8.js} +0 -0
  698. /package/dist/chunks/{file-2710q6r3.js → aisdk-native-2710q6r3.js} +0 -0
  699. /package/dist/chunks/{file-2axfhc9x.js → aisdk-native-2axfhc9x.js} +0 -0
  700. /package/dist/chunks/{file-2c3vjs8z.js → aisdk-native-2c3vjs8z.js} +0 -0
  701. /package/dist/chunks/{file-359p4xyc.js → aisdk-native-359p4xyc.js} +0 -0
  702. /package/dist/chunks/{file-3asan66x.js → aisdk-native-3asan66x.js} +0 -0
  703. /package/dist/chunks/{file-3v8g72cx.js → aisdk-native-3v8g72cx.js} +0 -0
  704. /package/dist/chunks/{file-3w5fmr99.js → aisdk-native-3w5fmr99.js} +0 -0
  705. /package/dist/chunks/{file-3wcehsnq.js → aisdk-native-3wcehsnq.js} +0 -0
  706. /package/dist/chunks/{file-43n2bw4t.js → aisdk-native-43n2bw4t.js} +0 -0
  707. /package/dist/chunks/{file-4knz6hnm.js → aisdk-native-4knz6hnm.js} +0 -0
  708. /package/dist/chunks/{file-4vcrnpx2.js → aisdk-native-4vcrnpx2.js} +0 -0
  709. /package/dist/chunks/{file-4y7fprxs.js → aisdk-native-4y7fprxs.js} +0 -0
  710. /package/dist/chunks/{file-53557ph1.js → aisdk-native-53557ph1.js} +0 -0
  711. /package/dist/chunks/{file-550bvhaj.js → aisdk-native-550bvhaj.js} +0 -0
  712. /package/dist/chunks/{file-6prwharc.js → aisdk-native-6prwharc.js} +0 -0
  713. /package/dist/chunks/{file-7akdwqpd.js → aisdk-native-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{file-7m9af43g.js → aisdk-native-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{file-822emrt2.js → aisdk-native-822emrt2.js} +0 -0
  716. /package/dist/chunks/{file-88xbtdfr.js → aisdk-native-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{file-8n3pysct.js → aisdk-native-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{file-922hggd3.js → aisdk-native-922hggd3.js} +0 -0
  719. /package/dist/chunks/{file-9a4afbnw.js → aisdk-native-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{file-9rqn6x4v.js → aisdk-native-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{file-a6k6eb26.js → aisdk-native-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{file-af5trqkr.js → aisdk-native-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{file-afrmfg78.js → aisdk-native-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{file-aqzs7mqg.js → aisdk-native-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{file-atq7p7m5.js → aisdk-native-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{file-bkyjaxrp.js → aisdk-native-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{file-bmr6ed5q.js → aisdk-native-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{file-cf4snx6d.js → aisdk-native-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{file-cvy3z8tj.js → aisdk-native-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{file-d9fn303g.js → aisdk-native-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{file-d9jj8t3e.js → aisdk-native-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{file-dajrwvna.js → aisdk-native-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{file-dap0rakb.js → aisdk-native-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{file-df08tz66.js → aisdk-native-df08tz66.js} +0 -0
  735. /package/dist/chunks/{file-dy18nga0.js → aisdk-native-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{file-e5kj55wp.js → aisdk-native-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{file-e73j6tqm.js → aisdk-native-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{file-ec1grn59.js → aisdk-native-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{file-eh3zwz77.js → aisdk-native-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{file-emrn6kk6.js → aisdk-native-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{file-f0mxakyp.js → aisdk-native-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{file-f6n9ztr4.js → aisdk-native-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{file-faypxj3z.js → aisdk-native-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{file-fd410y7t.js → aisdk-native-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{file-fxgpk5d8.js → aisdk-native-fxgpk5d8.js} +0 -0
  746. /package/dist/chunks/{file-g4wezp1m.js → aisdk-native-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{file-g86h250q.js → aisdk-native-g86h250q.js} +0 -0
  748. /package/dist/chunks/{file-gebd4c9n.js → aisdk-native-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{file-gftt206x.js → aisdk-native-gftt206x.js} +0 -0
  750. /package/dist/chunks/{file-hjbc5kem.js → aisdk-native-hjbc5kem.js} +0 -0
  751. /package/dist/chunks/{file-hk9envan.js → aisdk-native-hk9envan.js} +0 -0
  752. /package/dist/chunks/{file-hrnqkpcd.js → aisdk-native-hrnqkpcd.js} +0 -0
  753. /package/dist/chunks/{file-j2ntwpah.js → aisdk-native-j2ntwpah.js} +0 -0
  754. /package/dist/chunks/{file-j5zkgpj8.js → aisdk-native-j5zkgpj8.js} +0 -0
  755. /package/dist/chunks/{file-jr7sbwjy.js → aisdk-native-jr7sbwjy.js} +0 -0
  756. /package/dist/chunks/{file-jwfs4k6c.js → aisdk-native-jwfs4k6c.js} +0 -0
  757. /package/dist/chunks/{file-jzg6c2d5.js → aisdk-native-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{file-mp448xyj.js → aisdk-native-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{file-msx8hqn2.js → aisdk-native-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{file-n05xt0ee.js → aisdk-native-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{file-n3j8tn72.js → aisdk-native-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{file-njntx4h6.js → aisdk-native-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{file-q3sfg36h.js → aisdk-native-q3sfg36h.js} +0 -0
  764. /package/dist/chunks/{file-q74kybfr.js → aisdk-native-q74kybfr.js} +0 -0
  765. /package/dist/chunks/{file-qaymkmh1.js → aisdk-native-qaymkmh1.js} +0 -0
  766. /package/dist/chunks/{file-qb87gjwd.js → aisdk-native-qb87gjwd.js} +0 -0
  767. /package/dist/chunks/{file-qfa1cgps.js → aisdk-native-qfa1cgps.js} +0 -0
  768. /package/dist/chunks/{file-qrg20bc0.js → aisdk-native-qrg20bc0.js} +0 -0
  769. /package/dist/chunks/{file-rcb2kzg1.js → aisdk-native-rcb2kzg1.js} +0 -0
  770. /package/dist/chunks/{file-sdp7kfr6.js → aisdk-native-sdp7kfr6.js} +0 -0
  771. /package/dist/chunks/{file-sk3qaz4a.js → aisdk-native-sk3qaz4a.js} +0 -0
  772. /package/dist/chunks/{file-ssg3fenm.js → aisdk-native-ssg3fenm.js} +0 -0
  773. /package/dist/chunks/{file-twg0f83k.js → aisdk-native-twg0f83k.js} +0 -0
  774. /package/dist/chunks/{file-w803qqfp.js → aisdk-native-w803qqfp.js} +0 -0
  775. /package/dist/chunks/{file-wer8tq1h.js → aisdk-native-wer8tq1h.js} +0 -0
  776. /package/dist/chunks/{file-wtztk69x.js → aisdk-native-wtztk69x.js} +0 -0
  777. /package/dist/chunks/{file-x0ckcb58.js → aisdk-native-x0ckcb58.js} +0 -0
  778. /package/dist/chunks/{file-x61499pn.js → aisdk-native-x61499pn.js} +0 -0
  779. /package/dist/chunks/{file-y44na4kk.js → aisdk-native-y44na4kk.js} +0 -0
  780. /package/dist/chunks/{file-y8cydn3q.js → aisdk-native-y8cydn3q.js} +0 -0
  781. /package/dist/chunks/{file-ygaqb7jw.js → aisdk-native-ygaqb7jw.js} +0 -0
  782. /package/dist/chunks/{file-ym463w8f.js → aisdk-native-ym463w8f.js} +0 -0
  783. /package/dist/chunks/{file-z9919s4g.js → aisdk-native-z9919s4g.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-9rqn6x4v.js";
3
+ } from "./aisdk-native-9rqn6x4v.js";
4
4
 
5
5
  // src/id/id.ts
6
6
  var exports_id = {};
@@ -1,34 +1,34 @@
1
1
  import {
2
- Ref4
3
- } from "./file-56pp0xdw.js";
2
+ Ref3
3
+ } from "./aisdk-native-3mn8z65d.js";
4
4
  import {
5
5
  __export
6
- } from "./file-9rqn6x4v.js";
6
+ } from "./aisdk-native-9rqn6x4v.js";
7
7
 
8
8
  // src/location-service-map.ts
9
9
  var exports_location_service_map = {};
10
10
  __export(exports_location_service_map, {
11
11
  LocationServiceMap: () => exports_location_service_map,
12
- Service: () => Service48,
12
+ Service: () => Service63,
13
13
  canonical: () => canonical3,
14
- node: () => node51
14
+ node: () => node68
15
15
  });
16
16
  import { Context, Effect, Layer } from "effect";
17
17
  import { LayerNode } from "@opencode/util/effect/layer-node";
18
18
  import { Node } from "@opencode/util/effect/app-node";
19
19
  import { AbsolutePath } from "@opencode/schema/schema";
20
20
  import path from "path";
21
- class Service48 extends Context.Service()("@opencode/example/LocationServiceMap") {
21
+ class Service63 extends Context.Service()("@opencode/example/LocationServiceMap") {
22
22
  static get(ref) {
23
- return Layer.unwrap(Effect.map(Service48, (locations) => locations.get(ref)));
23
+ return Layer.unwrap(Effect.map(Service63, (locations) => locations.get(ref)));
24
24
  }
25
25
  }
26
- var node51 = LayerNode.unbound(Service48, Node.tags.values.global);
26
+ var node68 = LayerNode.unbound(Service63, Node.tags.values.global);
27
27
  function canonical3(ref) {
28
- return Ref4.make({
28
+ return Ref3.make({
29
29
  directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
30
30
  workspaceID: ref.workspaceID
31
31
  });
32
32
  }
33
33
 
34
- export { Service48, node51, canonical3, exports_location_service_map };
34
+ export { Service63, node68, canonical3, exports_location_service_map };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./file-922hggd3.js";
4
+ } from "./aisdk-native-922hggd3.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./file-pxt4kznk.js";
7
+ } from "./aisdk-native-dv250zvr.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";
@@ -1,34 +1,34 @@
1
1
  import {
2
- Service76,
3
- node81
4
- } from "./file-56pp0xdw.js";
2
+ Service74,
3
+ node79
4
+ } from "./aisdk-native-3mn8z65d.js";
5
5
  import {
6
6
  Key3,
7
- make18,
7
+ make19,
8
8
  combine2
9
- } from "./file-0gdmqesm.js";
9
+ } from "./aisdk-native-t550f9t1.js";
10
10
  import {
11
11
  __export
12
- } from "./file-9rqn6x4v.js";
12
+ } from "./aisdk-native-9rqn6x4v.js";
13
13
 
14
14
  // src/instructions/builtins.ts
15
15
  var exports_builtins = {};
16
16
  __export(exports_builtins, {
17
17
  InstructionBuiltIns: () => exports_builtins,
18
- Service: () => Service30,
19
- node: () => node33
18
+ Service: () => Service32,
19
+ node: () => node36
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
23
23
  import { Global } from "@opencode/util/global";
24
- class Service30 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service32 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service30, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service32, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
- const location = yield* Service76;
29
- return Service30.of({
28
+ const location = yield* Service74;
29
+ return Service32.of({
30
30
  load: (sessionID) => Effect.succeed(combine2([
31
- make18({
31
+ make19({
32
32
  key: Key3.make("core/environment"),
33
33
  codec: Schema.toCodecJson(Schema.String),
34
34
  read: Effect.sync(() => [
@@ -49,7 +49,7 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
49
49
  `)
50
50
  }
51
51
  }),
52
- make18({
52
+ make19({
53
53
  key: Key3.make("core/date"),
54
54
  codec: Schema.toCodecJson(Schema.String),
55
55
  read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
61
61
  ]))
62
62
  });
63
63
  }));
64
- var node33 = makeLocationNode({ service: Service30, layer, deps: [Global.node, node81] });
64
+ var node36 = makeLocationNode({ service: Service32, layer, deps: [Global.node, node79] });
65
65
 
66
- export { Service30, node33, exports_builtins };
66
+ export { Service32, node36, exports_builtins };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./file-ym463w8f.js";
3
+ } from "./aisdk-native-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/perplexity.ts
6
6
  var PerplexityPlugin2 = createProviderPlugin2({
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./file-dpkg50ah.js";
3
+ } from "./aisdk-native-y71avatq.js";
4
4
  import {
5
- Service79,
6
- node84
7
- } from "./file-zw0jxv6w.js";
5
+ Service78,
6
+ node83
7
+ } from "./aisdk-native-7z99814y.js";
8
8
  import {
9
- Event18,
10
- Service69,
11
- node73
12
- } from "./file-z0wr5a8a.js";
13
- import {
14
- Service76,
15
- node81
16
- } from "./file-56pp0xdw.js";
9
+ Event20,
10
+ Service77,
11
+ node82
12
+ } from "./aisdk-native-fdgvvs2b.js";
17
13
  import {
18
14
  Service74,
19
- node78
20
- } from "./file-f7xc3wa1.js";
15
+ node79
16
+ } from "./aisdk-native-3mn8z65d.js";
21
17
  import {
22
- ID10,
23
- Service68,
24
- node72
25
- } from "./file-ha2h0zjh.js";
18
+ Service44,
19
+ node49
20
+ } from "./aisdk-native-w2187ed2.js";
21
+ import {
22
+ ID12,
23
+ Service69,
24
+ node74
25
+ } from "./aisdk-native-w6v733tr.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./file-kg06axw8.js";
29
+ } from "./aisdk-native-kg06axw8.js";
30
30
  import {
31
- ID9,
31
+ ID11,
32
32
  MethodID2,
33
- Service66,
34
- node70
35
- } from "./file-j1dc1ckq.js";
33
+ Service68,
34
+ node73
35
+ } from "./aisdk-native-qtmhg6c3.js";
36
36
  import {
37
37
  __export
38
- } from "./file-9rqn6x4v.js";
38
+ } from "./aisdk-native-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
44
  NotFoundError: () => NotFoundError3,
45
- Options: () => Options5,
45
+ Options: () => Options4,
46
46
  Prompt: () => Prompt2,
47
47
  PromptArgument: () => PromptArgument2,
48
48
  PromptMessage: () => PromptMessage2,
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
56
56
  ServerInfo: () => ServerInfo2,
57
57
  ServerInstructions: () => ServerInstructions2,
58
58
  ServerName: () => ServerName2,
59
- Service: () => Service35,
59
+ Service: () => Service31,
60
60
  Status: () => Status2,
61
- Tool: () => Tool2,
61
+ Tool: () => Tool3,
62
62
  ToolCallError: () => ToolCallError2,
63
63
  ToolResult: () => ToolResult2,
64
64
  ToolResultContent: () => ToolResultContent2,
65
- configured: () => configured5,
66
- layer: () => layer15,
67
- node: () => node38
65
+ configured: () => configured4,
66
+ layer: () => layer14,
67
+ node: () => node35
68
68
  });
69
69
  import { Mcp } from "@opencode/schema/mcp";
70
70
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
81
81
  class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
82
82
  name: ServerName2,
83
83
  status: Status2,
84
- integrationID: ID9.pipe(Schema.optional)
84
+ integrationID: ID11.pipe(Schema.optional)
85
85
  }) {
86
86
  }
87
87
 
@@ -91,7 +91,7 @@ class ServerInstructions2 extends Schema.Class("MCP.ServerInstructions")({
91
91
  }) {
92
92
  }
93
93
 
94
- class Tool2 extends Schema.Class("MCP.Tool")({
94
+ class Tool3 extends Schema.Class("MCP.Tool")({
95
95
  server: ServerName2,
96
96
  name: Schema.String,
97
97
  codemode: Schema.Boolean.pipe(Schema.optional),
@@ -165,21 +165,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
165
165
  var URL_ELICITATION_FIELD_KEY = "elicitation";
166
166
  var cloneConfig = (config) => structuredClone(config);
167
167
 
168
- class Service35 extends Context.Service()("@opencode/MCP") {
168
+ class Service31 extends Context.Service()("@opencode/MCP") {
169
169
  }
170
- var Options5 = Schema.Struct({
170
+ var Options4 = Schema.Struct({
171
171
  clientInfo: Schema.optional(Schema.Struct({
172
172
  name: Schema.String,
173
173
  version: Schema.String
174
174
  }))
175
175
  });
176
- var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
177
- const location = yield* Service76;
178
- const environment = yield* Service74;
179
- const bus = yield* Service79;
180
- const forms = yield* Service68;
181
- const integration = yield* Service66;
182
- const credentials = yield* Service69;
176
+ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
177
+ const location = yield* Service74;
178
+ const environment = yield* Service44;
179
+ const bus = yield* Service78;
180
+ const forms = yield* Service69;
181
+ const integration = yield* Service68;
182
+ const credentials = yield* Service77;
183
183
  const root = yield* Effect.scope;
184
184
  const fork = yield* FiberSet.makeRuntime();
185
185
  const entries = new Map;
@@ -191,7 +191,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
191
191
  return;
192
192
  const remote = entry.config;
193
193
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
194
- const integrationID = ID9.make(suffix);
194
+ const integrationID = ID11.make(suffix);
195
195
  entry.integrationID = integrationID;
196
196
  owned.add(integrationID);
197
197
  const methodID = MethodID2.make(suffix);
@@ -315,7 +315,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
315
315
  const elicitation = {
316
316
  create: (input) => Effect.gen(function* () {
317
317
  if (input.params.mode === "url") {
318
- const formID = ID10.create();
318
+ const formID = ID12.create();
319
319
  const key = input.server + "\x00" + input.params.elicitationId;
320
320
  urlElicitations.set(key, formID);
321
321
  return yield* forms.ask({
@@ -358,7 +358,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
358
358
  yield* forms.reply({ id: formID, answer: { [URL_ELICITATION_FIELD_KEY]: true } }).pipe(Effect.ignore);
359
359
  })
360
360
  };
361
- const toTool = (server, entry, def) => new Tool2({
361
+ const toTool = (server, entry, def) => new Tool3({
362
362
  server,
363
363
  name: def.name,
364
364
  codemode: entry.config.codemode,
@@ -433,7 +433,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
433
433
  entry.scope = scope;
434
434
  const authProvider = yield* connectProvider(entry);
435
435
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
436
- const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service74, environment), Scope.provide(scope), Effect.exit);
436
+ const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service44, environment), Scope.provide(scope), Effect.exit);
437
437
  if (Exit.isSuccess(result)) {
438
438
  entry.client = result.value.connection;
439
439
  entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
@@ -557,7 +557,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
557
557
  yield* startServer(name, entry);
558
558
  }).pipe(locks.withLock(name));
559
559
  });
560
- fork(bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
560
+ fork(bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
561
561
  const state = create3({
562
562
  name: "mcp",
563
563
  initial: () => ({
@@ -587,7 +587,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
587
587
  concurrency: "unbounded",
588
588
  discard: true
589
589
  }));
590
- return Service35.of({
590
+ return Service31.of({
591
591
  transform: state.transform,
592
592
  reload: state.reload,
593
593
  servers: Effect.fn("MCP.servers")(function* () {
@@ -707,14 +707,14 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
707
707
  })
708
708
  });
709
709
  }));
710
- function configured5(options) {
710
+ function configured4(options) {
711
711
  return makeLocationNode({
712
- service: Service35,
713
- layer: layer15(options),
714
- deps: [node81, node78, node84, node72, node70, node73]
712
+ service: Service31,
713
+ layer: layer14(options),
714
+ deps: [node79, node49, node83, node74, node73, node82]
715
715
  });
716
716
  }
717
- var node38 = configured5();
717
+ var node35 = configured4();
718
718
  function toElicitationField(key, property, required) {
719
719
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
720
720
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -765,4 +765,4 @@ function toElicitationField(key, property, required) {
765
765
  }
766
766
  }
767
767
 
768
- export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool2, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service35, Options5, layer15, configured5, node38, exports_mcp4 };
768
+ export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service31, Options4, layer14, configured4, node35, exports_mcp4 };
@@ -1,71 +1,71 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./file-zw0jxv6w.js";
2
+ Service78,
3
+ node83
4
+ } from "./aisdk-native-7z99814y.js";
5
5
  import {
6
- Service76,
7
- node81
8
- } from "./file-56pp0xdw.js";
6
+ Service74,
7
+ node79
8
+ } from "./aisdk-native-3mn8z65d.js";
9
9
  import {
10
- ID7,
11
- Service59,
12
- node62
13
- } from "./file-cef1ew0c.js";
10
+ ID10,
11
+ Service56,
12
+ node61
13
+ } from "./aisdk-native-9ctd387c.js";
14
14
  import {
15
- NotFoundError7
16
- } from "./file-ma9yb35x.js";
15
+ NotFoundError8
16
+ } from "./aisdk-native-3jqe0tdq.js";
17
17
  import {
18
- Service58,
19
- node61
20
- } from "./file-6kaqw02d.js";
18
+ Service54,
19
+ node59
20
+ } from "./aisdk-native-ck004xzv.js";
21
21
  import {
22
22
  match2
23
- } from "./file-y1fvbwt7.js";
23
+ } from "./aisdk-native-y1fvbwt7.js";
24
24
  import {
25
- Service57,
25
+ Service55,
26
26
  node60
27
- } from "./file-s9wkemjm.js";
27
+ } from "./aisdk-native-x47ex9qk.js";
28
28
  import {
29
- Service60,
30
- node63
31
- } from "./file-1vtz46z8.js";
29
+ Service57,
30
+ node62
31
+ } from "./aisdk-native-q56zp3pb.js";
32
32
  import {
33
33
  __export
34
- } from "./file-9rqn6x4v.js";
34
+ } from "./aisdk-native-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
- var exports_permission2 = {};
38
- __export(exports_permission2, {
37
+ var exports_permission = {};
38
+ __export(exports_permission, {
39
39
  AskResult: () => AskResult2,
40
40
  AssertInput: () => AssertInput2,
41
41
  BlockedError: () => BlockedError2,
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event13,
46
- ID: () => ID5,
47
- NotFoundError: () => NotFoundError6,
48
- Permission: () => exports_permission2,
45
+ Event: () => Event10,
46
+ ID: () => ID8,
47
+ NotFoundError: () => NotFoundError7,
48
+ Permission: () => exports_permission,
49
49
  Reply: () => Reply2,
50
50
  ReplyInput: () => ReplyInput2,
51
51
  Request: () => Request2,
52
- Rule: () => Rule3,
52
+ Rule: () => Rule2,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service56,
55
- Source: () => Source5,
54
+ Service: () => Service53,
55
+ Source: () => Source4,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node59
58
+ node: () => node58
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
- import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event13 } from "@opencode/schema/permission";
63
+ import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
+ import { Event as Event10 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID5 = Permission.ID;
68
- var Source5 = Permission.Source;
67
+ var ID8 = Permission.ID;
68
+ var Source4 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
71
71
  action: Permission.Request.fields.action,
@@ -77,17 +77,17 @@ var RequestFields = {
77
77
  var Request2 = Permission.Request;
78
78
  var Reply2 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID5.pipe(Schema.optional),
80
+ id: ID8.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID7.pipe(Schema.optional)
82
+ agent: ID10.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID5,
85
+ requestID: ID8,
86
86
  reply: Reply2,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID5,
90
+ id: ID8,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
110
110
  }
111
111
  }
112
112
 
113
- class NotFoundError6 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID5
113
+ class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
114
+ requestID: ID8
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service56 extends Context.Service()("@opencode/Permission") {
128
+ class Service53 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service56, Effect.gen(function* () {
131
- const bus = yield* Service79;
132
- const location = yield* Service76;
133
- const agents = yield* Service59;
134
- const sessions = yield* Service58;
135
- const saved = yield* Service57;
136
- const hooks = yield* Service60;
130
+ var layer = Layer.effect(Service53, Effect.gen(function* () {
131
+ const bus = yield* Service78;
132
+ const location = yield* Service74;
133
+ const agents = yield* Service56;
134
+ const sessions = yield* Service54;
135
+ const saved = yield* Service55;
136
+ const hooks = yield* Service57;
137
137
  const pending = new Map;
138
138
  yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
139
139
  discard: true
@@ -150,7 +150,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
150
150
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
151
151
  const session = yield* sessions.get(sessionID);
152
152
  if (!session)
153
- return yield* new NotFoundError7({ sessionID });
153
+ return yield* new NotFoundError8({ sessionID });
154
154
  const agent = yield* agents.resolve(agentID ?? session.agent);
155
155
  return agent?.permissions ?? missingAgentPermissions;
156
156
  });
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
180
180
  });
181
181
  function request(input, message) {
182
182
  return {
183
- id: input.id ?? ID5.create(),
183
+ id: input.id ?? ID8.create(),
184
184
  sessionID: input.sessionID,
185
185
  action: input.action,
186
186
  resources: input.resources,
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
228
228
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
229
229
  const existing = pending.get(input.requestID);
230
230
  if (!existing)
231
- return yield* new NotFoundError6({ requestID: input.requestID });
231
+ return yield* new NotFoundError7({ requestID: input.requestID });
232
232
  yield* bus.publish(Permission.Event.Replied, {
233
233
  sessionID: existing.request.sessionID,
234
234
  requestID: existing.request.id,
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
283
283
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
284
284
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
285
285
  });
286
- return Service56.of({ ask, assert, reply, get, forSession, list });
286
+ return Service53.of({ ask, assert, reply, get, forSession, list });
287
287
  }));
288
- var node59 = makeLocationNode({
289
- service: Service56,
288
+ var node58 = makeLocationNode({
289
+ service: Service53,
290
290
  layer,
291
- deps: [node84, node81, node62, node61, node60, node63]
291
+ deps: [node83, node79, node61, node59, node60, node62]
292
292
  });
293
293
 
294
- export { PermissionEffect, ID5, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError6, evaluate2, merge2, Service56, node59, exports_permission2, Rule3, Ruleset2, Event13 };
294
+ export { PermissionEffect, ID8, Source4, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service53, node58, exports_permission, Rule2, Ruleset2, Event10 };
@@ -1,9 +1,9 @@
1
1
  import {
2
- ID13
3
- } from "./file-yhks5pv3.js";
2
+ ID18
3
+ } from "./aisdk-native-m27pyyd3.js";
4
4
  import {
5
5
  __export
6
- } from "./file-9rqn6x4v.js";
6
+ } from "./aisdk-native-9rqn6x4v.js";
7
7
 
8
8
  // src/model.ts
9
9
  var exports_model2 = {};
@@ -12,25 +12,25 @@ __export(exports_model2, {
12
12
  Compatibility: () => Compatibility2,
13
13
  Cost: () => Cost2,
14
14
  Family: () => Family2,
15
- ID: () => ID12,
16
- Info: () => Info27,
15
+ ID: () => ID16,
16
+ Info: () => Info31,
17
17
  Model: () => exports_model2,
18
18
  ReasoningField: () => ReasoningField2,
19
- Ref: () => Ref3,
19
+ Ref: () => Ref4,
20
20
  VariantID: () => VariantID2,
21
21
  compatibility: () => compatibility2,
22
22
  parse: () => parse5
23
23
  });
24
24
  import { Model } from "@opencode/schema/model";
25
- var ID12 = Model.ID;
25
+ var ID16 = Model.ID;
26
26
  var VariantID2 = Model.VariantID;
27
27
  var Family2 = Model.Family;
28
28
  var ReasoningField2 = Model.ReasoningField;
29
29
  var Compatibility2 = Model.Compatibility;
30
30
  var Capabilities2 = Model.Capabilities;
31
31
  var Cost2 = Model.Cost;
32
- var Ref3 = Model.Ref;
33
- var Info27 = Model.Info;
32
+ var Ref4 = Model.Ref;
33
+ var Info31 = Model.Info;
34
34
  function compatibility2(input) {
35
35
  if (typeof input === "string")
36
36
  return { reasoningField: input };
@@ -41,9 +41,9 @@ function compatibility2(input) {
41
41
  function parse5(input) {
42
42
  const index = input.indexOf("/");
43
43
  return {
44
- providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
45
- modelID: ID12.make(index === -1 ? "" : input.slice(index + 1))
44
+ providerID: ID18.make(index === -1 ? input : input.slice(0, index)),
45
+ modelID: ID16.make(index === -1 ? "" : input.slice(index + 1))
46
46
  };
47
47
  }
48
48
 
49
- export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref3, Info27, compatibility2, parse5, exports_model2 };
49
+ export { ID16, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref4, Info31, compatibility2, parse5, exports_model2 };