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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (781) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +84 -84
  3. package/dist/aisdk-native.js +90 -90
  4. package/dist/aisdk.js +95 -95
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +74 -74
  7. package/dist/chunks/{bus-41cwz3p6.js → aisdk-05j2vfq8.js} +19 -19
  8. package/dist/chunks/{bus-a74vk8t0.js → aisdk-094ctrsg.js} +9 -9
  9. package/dist/chunks/{bus-f1k90085.js → aisdk-0kkjrqx1.js} +30 -30
  10. package/dist/chunks/{bus-4ngxe3th.js → aisdk-0mjfw0rd.js} +25 -25
  11. package/dist/chunks/{bus-0paq2nw3.js → aisdk-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{bus-0vbcp93d.js → aisdk-0vbcp93d.js} +2 -2
  13. package/dist/chunks/{bus-crqm33dp.js → aisdk-10zfs9v4.js} +47 -47
  14. package/dist/chunks/{bus-2ac6q9fr.js → aisdk-1169xqyh.js} +25 -25
  15. package/dist/chunks/{bus-dc7n4fmx.js → aisdk-12d6p297.js} +23 -23
  16. package/dist/chunks/{bus-gsqzrz8w.js → aisdk-13mc0h3d.js} +26 -26
  17. package/dist/chunks/{bus-n8849sdr.js → aisdk-14cg4zwm.js} +20 -20
  18. package/dist/chunks/{bus-21qwd7zh.js → aisdk-1a34xymg.js} +7 -7
  19. package/dist/chunks/{bus-yp2x3t23.js → aisdk-1acjjqhc.js} +4 -4
  20. package/dist/chunks/{bus-zke0g2sf.js → aisdk-1d5zt5jt.js} +15 -15
  21. package/dist/chunks/{bus-1dazxqgg.js → aisdk-1dazxqgg.js} +2 -2
  22. package/dist/chunks/aisdk-27sa8ph3.js +26 -0
  23. package/dist/chunks/{bus-2a5m3afh.js → aisdk-2a5m3afh.js} +1 -1
  24. package/dist/chunks/{bus-ftfsszrc.js → aisdk-2c4c8eb8.js} +40 -40
  25. package/dist/chunks/{bus-pdpp1bnv.js → aisdk-2cdv17s0.js} +16 -16
  26. package/dist/chunks/{bus-7dqw4kz8.js → aisdk-2k8khapm.js} +5 -5
  27. package/dist/chunks/{bus-jkt162fx.js → aisdk-2nrvvkjz.js} +32 -32
  28. package/dist/chunks/{bus-j045qakk.js → aisdk-2qw3ex0c.js} +9 -9
  29. package/dist/chunks/{bus-5w5p7qgm.js → aisdk-32fqvz19.js} +45 -45
  30. package/dist/chunks/{bus-snkf0wzq.js → aisdk-338jypc4.js} +22 -22
  31. package/dist/chunks/{bus-h2b79v29.js → aisdk-3cegwx68.js} +2 -2
  32. package/dist/chunks/{bus-3fc6dm20.js → aisdk-3fc6dm20.js} +1 -1
  33. package/dist/chunks/{bus-knxpcbk1.js → aisdk-3hdhfc6s.js} +13 -13
  34. package/dist/chunks/{bus-3hepkmqq.js → aisdk-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{bus-xnkhzy4t.js → aisdk-3pkdw9ej.js} +13 -13
  36. package/dist/chunks/{bus-3smtnn6g.js → aisdk-3smtnn6g.js} +1 -1
  37. package/dist/chunks/{bus-3tvqynh2.js → aisdk-3tvqynh2.js} +1 -1
  38. package/dist/chunks/{bus-4g8499m9.js → aisdk-3z2pgn2e.js} +35 -35
  39. package/dist/chunks/{bus-3zsf4n22.js → aisdk-3zsf4n22.js} +1 -1
  40. package/dist/chunks/{bus-q63c569t.js → aisdk-405megzh.js} +22 -22
  41. package/dist/chunks/{bus-9an6z3zg.js → aisdk-40bve78s.js} +8 -8
  42. package/dist/chunks/{bus-k8hpw67k.js → aisdk-4a6jpjer.js} +5 -5
  43. package/dist/chunks/{bus-grnn7sex.js → aisdk-4e5ceejs.js} +29 -29
  44. package/dist/chunks/{bus-92swnv4m.js → aisdk-4e8vs6eh.js} +8 -8
  45. package/dist/chunks/{bus-6rxtg7gn.js → aisdk-4gqmja2c.js} +22 -22
  46. package/dist/chunks/{bus-dwmvx258.js → aisdk-4j6k3mdb.js} +11 -11
  47. package/dist/chunks/{bus-4z8sycdz.js → aisdk-4mse7y1r.js} +25 -25
  48. package/dist/chunks/{bus-ytzgz0qd.js → aisdk-4n7ky6ky.js} +4 -4
  49. package/dist/chunks/{bus-x2aynqqh.js → aisdk-4nj4bn9q.js} +9 -9
  50. package/dist/chunks/{bus-2ccvkpx1.js → aisdk-4ts7tf6z.js} +2 -2
  51. package/dist/chunks/{bus-c20khjev.js → aisdk-50mzsvk4.js} +21 -21
  52. package/dist/chunks/{bus-r94pvvab.js → aisdk-54ma36ye.js} +4 -4
  53. package/dist/chunks/{bus-apdsa737.js → aisdk-59ghbxbk.js} +58 -58
  54. package/dist/chunks/{bus-3trzjgwr.js → aisdk-5d46m1s1.js} +36 -36
  55. package/dist/chunks/{bus-w8re96tr.js → aisdk-5h2y2y6j.js} +25 -25
  56. package/dist/chunks/{bus-5m9w47nd.js → aisdk-5m9w47nd.js} +1 -1
  57. package/dist/chunks/{bus-9pa8tak9.js → aisdk-5pyjqqve.js} +2 -2
  58. package/dist/chunks/{bus-e3qxr5gk.js → aisdk-5qd3pb7m.js} +2 -2
  59. package/dist/chunks/{bus-bqszwq89.js → aisdk-5r3w98ry.js} +8 -8
  60. package/dist/chunks/{bus-5t3nmthw.js → aisdk-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{bus-thka7k42.js → aisdk-5v05r06m.js} +3 -3
  62. package/dist/chunks/{bus-x8ba1gzy.js → aisdk-5xkk72ep.js} +10 -10
  63. package/dist/chunks/{bus-3pm9060n.js → aisdk-6147m9bn.js} +6 -6
  64. package/dist/chunks/{bus-sgp384a4.js → aisdk-67mfe1v3.js} +26 -26
  65. package/dist/chunks/{bus-jmqgqzta.js → aisdk-68v7wfjx.js} +7 -7
  66. package/dist/chunks/{bus-2x6wmvtw.js → aisdk-6b6b0p3x.js} +11 -11
  67. package/dist/chunks/{bus-wj3cgm7c.js → aisdk-6bct72er.js} +18 -18
  68. package/dist/chunks/{bus-37rfkxtg.js → aisdk-6gb2fxnc.js} +23 -23
  69. package/dist/chunks/{bus-7c08hygz.js → aisdk-6kgskxtw.js} +11 -11
  70. package/dist/chunks/{bus-hewsjq8z.js → aisdk-6wr5pqyy.js} +27 -27
  71. package/dist/chunks/{bus-6xb47vfp.js → aisdk-6xb47vfp.js} +1 -1
  72. package/dist/chunks/{bus-7bmhse3q.js → aisdk-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{bus-x8yqvqn2.js → aisdk-7f35wzte.js} +31 -31
  74. package/dist/chunks/{bus-d62vewej.js → aisdk-7ptkxh7r.js} +15 -15
  75. package/dist/chunks/{bus-vz63xazc.js → aisdk-7q65g6rf.js} +16 -16
  76. package/dist/chunks/{bus-w2mrnr68.js → aisdk-7syps78g.js} +4 -4
  77. package/dist/chunks/{bus-03wzhvf1.js → aisdk-7tc3rzgd.js} +9 -9
  78. package/dist/chunks/{bus-f6gfhbzj.js → aisdk-7wg7867s.js} +23 -23
  79. package/dist/chunks/{bus-y6mhz57t.js → aisdk-80scg3y3.js} +4 -4
  80. package/dist/chunks/{bus-wk7y1wk7.js → aisdk-82xh11mn.js} +19 -19
  81. package/dist/chunks/{bus-1dvck2a7.js → aisdk-84h8c373.js} +2 -2
  82. package/dist/chunks/{bus-84txncab.js → aisdk-84txncab.js} +1 -1
  83. package/dist/chunks/{bus-n3q78mhp.js → aisdk-858snxx8.js} +6 -6
  84. package/dist/chunks/{bus-ndsx31w4.js → aisdk-85fnhgs1.js} +36 -36
  85. package/dist/chunks/{bus-3rtxz4nr.js → aisdk-89bb6baa.js} +8 -8
  86. package/dist/chunks/{bus-ejvnp2ks.js → aisdk-8cw6acet.js} +11 -11
  87. package/dist/chunks/{bus-8d7r5vzw.js → aisdk-8d7r5vzw.js} +1 -1
  88. package/dist/chunks/{bus-wg96wy5v.js → aisdk-8j21hf7j.js} +2 -2
  89. package/dist/chunks/{bus-0ffzpc2q.js → aisdk-8ka639ry.js} +4 -4
  90. package/dist/chunks/{bus-8m6m0r52.js → aisdk-8m6m0r52.js} +1 -1
  91. package/dist/chunks/{bus-ze83rx7h.js → aisdk-8r9ww22p.js} +21 -21
  92. package/dist/chunks/{bus-wdgfqfb8.js → aisdk-8vb1kfxm.js} +39 -39
  93. package/dist/chunks/{bus-tn2fka87.js → aisdk-8ye6c6xa.js} +45 -45
  94. package/dist/chunks/{bus-5ywnpb1q.js → aisdk-90qmze2t.js} +37 -37
  95. package/dist/chunks/{bus-j7bdx0mg.js → aisdk-9amd8k98.js} +19 -19
  96. package/dist/chunks/{bus-5z7krgsm.js → aisdk-9dg7gv22.js} +17 -17
  97. package/dist/chunks/{bus-2f3b10ch.js → aisdk-9dh32pzn.js} +54 -54
  98. package/dist/chunks/{bus-q6d53jre.js → aisdk-9eq5kwq7.js} +8 -8
  99. package/dist/chunks/{bus-rket6atq.js → aisdk-9n4785an.js} +18 -18
  100. package/dist/chunks/{bus-7bka8wt5.js → aisdk-9pnzhqc7.js} +3 -3
  101. package/dist/chunks/{bus-50ws1j4q.js → aisdk-9s9a6maz.js} +182 -182
  102. package/dist/chunks/aisdk-9sh4wc5j.js +18 -0
  103. package/dist/chunks/{bus-1s608d8d.js → aisdk-9skkajgp.js} +11 -11
  104. package/dist/chunks/{bus-t550f9t1.js → aisdk-9t7a50xb.js} +4 -4
  105. package/dist/chunks/{bus-g17byzt8.js → aisdk-a0bsrstn.js} +3 -3
  106. package/dist/chunks/{bus-4ew5rnj4.js → aisdk-a5wv1q3m.js} +13 -13
  107. package/dist/chunks/{bus-kzqbv2ef.js → aisdk-aae6qf80.js} +33 -33
  108. package/dist/chunks/{bus-aaet6srn.js → aisdk-aaet6srn.js} +2 -2
  109. package/dist/chunks/{bus-dckjds39.js → aisdk-ae0txsc2.js} +37 -37
  110. package/dist/chunks/{bus-c57kr184.js → aisdk-ahbzt5yt.js} +27 -27
  111. package/dist/chunks/{bus-djfg9dqa.js → aisdk-ak966m7n.js} +23 -23
  112. package/dist/chunks/{bus-k4p30yx3.js → aisdk-axy7hhva.js} +22 -22
  113. package/dist/chunks/{bus-qygbw77c.js → aisdk-b3f8fkhc.js} +5 -5
  114. package/dist/chunks/{bus-47jkzegy.js → aisdk-b674v2dg.js} +5 -5
  115. package/dist/chunks/{bus-b6gygkdw.js → aisdk-b6gygkdw.js} +2 -2
  116. package/dist/chunks/{bus-wqgzkz37.js → aisdk-bsprd9wx.js} +9 -9
  117. package/dist/chunks/{bus-yh9hw8gt.js → aisdk-btkedg0r.js} +51 -51
  118. package/dist/chunks/{bus-j0crpdb9.js → aisdk-byfghf8b.js} +23 -23
  119. package/dist/chunks/{bus-g59t3z9x.js → aisdk-bymgkydd.js} +12 -12
  120. package/dist/chunks/{bus-r8afh34n.js → aisdk-c1tbcnkt.js} +44 -44
  121. package/dist/chunks/{bus-zj3vg3nr.js → aisdk-c3x7741y.js} +32 -32
  122. package/dist/chunks/{bus-jnffje0a.js → aisdk-c4swjyak.js} +9 -9
  123. package/dist/chunks/{bus-wcdqrb7q.js → aisdk-cbfarec0.js} +17 -17
  124. package/dist/chunks/{bus-gch621w7.js → aisdk-cbjgg9ej.js} +5 -5
  125. package/dist/chunks/{bus-k5p0xmg8.js → aisdk-ccwrtn9t.js} +32 -32
  126. package/dist/chunks/{bus-s6mj4d9f.js → aisdk-cg8cfg6z.js} +32 -32
  127. package/dist/chunks/{bus-1fcqmh0f.js → aisdk-cnsh48jf.js} +4 -4
  128. package/dist/chunks/{bus-4c536per.js → aisdk-cs3h3v80.js} +37 -37
  129. package/dist/chunks/{bus-4z58m4b4.js → aisdk-d2czbp48.js} +4 -4
  130. package/dist/chunks/{bus-hf9ehm1e.js → aisdk-d3bsz2ft.js} +24 -24
  131. package/dist/chunks/{bus-cwrzxn64.js → aisdk-d59k028k.js} +20 -20
  132. package/dist/chunks/{bus-k9ew0x4h.js → aisdk-d827s438.js} +25 -25
  133. package/dist/chunks/{bus-8428mbzp.js → aisdk-dc606gpm.js} +13 -13
  134. package/dist/chunks/{bus-2k8vvcse.js → aisdk-dkc4gvyb.js} +33 -33
  135. package/dist/chunks/{bus-y71avatq.js → aisdk-dpkg50ah.js} +4 -4
  136. package/dist/chunks/{bus-e1h55cs2.js → aisdk-dt6wnj9q.js} +11 -11
  137. package/dist/chunks/{bus-yfctmqzq.js → aisdk-dtmxbh2p.js} +23 -23
  138. package/dist/chunks/{bus-ef5x83kb.js → aisdk-ef5x83kb.js} +1 -1
  139. package/dist/chunks/{bus-06x8he3q.js → aisdk-embw8kgh.js} +4 -4
  140. package/dist/chunks/{bus-9s0ng0ae.js → aisdk-epag531p.js} +4 -4
  141. package/dist/chunks/{bus-etq0c3wd.js → aisdk-etq0c3wd.js} +1 -1
  142. package/dist/chunks/{bus-p37cw4rj.js → aisdk-eys57y9b.js} +8 -8
  143. package/dist/chunks/{bus-jvbg9edc.js → aisdk-f1smy17a.js} +20 -20
  144. package/dist/chunks/{bus-4adjf9qe.js → aisdk-f6ms68ht.js} +11 -11
  145. package/dist/chunks/{bus-71az546q.js → aisdk-f75zav2x.js} +2 -2
  146. package/dist/chunks/{bus-qr6f2pwv.js → aisdk-fpecnkgp.js} +7 -7
  147. package/dist/chunks/{bus-phveq2xn.js → aisdk-fshcdfd1.js} +9 -9
  148. package/dist/chunks/{bus-5k6y69wn.js → aisdk-fvt3t9ag.js} +15 -15
  149. package/dist/chunks/{bus-4ykyqmv9.js → aisdk-g67ghwv4.js} +24 -24
  150. package/dist/chunks/{bus-e0kgmy75.js → aisdk-g8ksfxxf.js} +18 -18
  151. package/dist/chunks/{bus-gd4qta3r.js → aisdk-gd4qta3r.js} +1 -1
  152. package/dist/chunks/{bus-8xp7mz7t.js → aisdk-geak4k47.js} +28 -28
  153. package/dist/chunks/{bus-0v9naeh7.js → aisdk-gebd7nce.js} +34 -34
  154. package/dist/chunks/{bus-t5ka509r.js → aisdk-gnfcjh5e.js} +12 -12
  155. package/dist/chunks/{bus-vvk5zfmw.js → aisdk-gqr0qac7.js} +21 -21
  156. package/dist/chunks/{bus-pb4zsb95.js → aisdk-gsh07107.js} +1 -1
  157. package/dist/chunks/{bus-8zxmwjep.js → aisdk-h010z3gc.js} +5 -5
  158. package/dist/chunks/{bus-pbyaj4br.js → aisdk-h45t1q73.js} +17 -17
  159. package/dist/chunks/{bus-h6vf3j39.js → aisdk-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{bus-e375atp3.js → aisdk-hdnacwsd.js} +11 -11
  161. package/dist/chunks/{bus-0v822vvc.js → aisdk-hjjfw830.js} +3 -3
  162. package/dist/chunks/{bus-n90gr1mm.js → aisdk-hpz74jw5.js} +10 -10
  163. package/dist/chunks/{bus-tn2f5wk8.js → aisdk-hyfgp2gj.js} +23 -23
  164. package/dist/chunks/{bus-wm4vkbe2.js → aisdk-j0krdp1f.js} +3 -3
  165. package/dist/chunks/{bus-9t8z9rdd.js → aisdk-j1bwjtdy.js} +49 -49
  166. package/dist/chunks/{bus-sgn9eezn.js → aisdk-j3qy8zzr.js} +9 -9
  167. package/dist/chunks/{bus-j56e64zr.js → aisdk-j56e64zr.js} +1 -1
  168. package/dist/chunks/{bus-8wr5kw0m.js → aisdk-jfweghsk.js} +22 -22
  169. package/dist/chunks/{bus-py3kkmfq.js → aisdk-jktqzjpa.js} +8 -8
  170. package/dist/chunks/{bus-rdber3y1.js → aisdk-jmj0fv2f.js} +31 -31
  171. package/dist/chunks/{bus-5ktns266.js → aisdk-jsr8nbtc.js} +16 -16
  172. package/dist/chunks/{bus-sstbnqm0.js → aisdk-jv8f1fdp.js} +95 -95
  173. package/dist/chunks/{bus-vfjhn2wd.js → aisdk-k0a3z2qz.js} +4 -4
  174. package/dist/chunks/{bus-xxndcd6m.js → aisdk-kb6gw2zp.js} +4 -4
  175. package/dist/chunks/{bus-9e5bzkjp.js → aisdk-kb9j3d72.js} +3 -3
  176. package/dist/chunks/{bus-5mc86df6.js → aisdk-kdwekf82.js} +4 -4
  177. package/dist/chunks/{bus-w2h15q85.js → aisdk-kjdm35cs.js} +5 -5
  178. package/dist/chunks/{bus-03sww6te.js → aisdk-kpkp6m3y.js} +11 -11
  179. package/dist/chunks/{bus-vatq0zec.js → aisdk-kq7tnyq1.js} +3 -3
  180. package/dist/chunks/{bus-sywdhydk.js → aisdk-kqrd183v.js} +11 -11
  181. package/dist/chunks/{bus-h54ekfxy.js → aisdk-kvtt08kh.js} +1 -1
  182. package/dist/chunks/{bus-m3fdjcah.js → aisdk-m3fdjcah.js} +1 -1
  183. package/dist/chunks/{bus-v96fb61g.js → aisdk-m3tsmga5.js} +11 -11
  184. package/dist/chunks/{bus-fj9gb212.js → aisdk-m55qy151.js} +10 -10
  185. package/dist/chunks/{bus-m9w0rfyh.js → aisdk-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{bus-mewra3jg.js → aisdk-mfjeqe8f.js} +24 -24
  187. package/dist/chunks/{bus-mfqp6xfm.js → aisdk-mfqp6xfm.js} +2 -2
  188. package/dist/chunks/{bus-gn2reamh.js → aisdk-mn8cz3nb.js} +10 -10
  189. package/dist/chunks/{bus-mhkvc446.js → aisdk-mvfsc1pv.js} +3 -3
  190. package/dist/chunks/{bus-msz6jcxw.js → aisdk-mzv0hta7.js} +22 -22
  191. package/dist/chunks/{bus-xm90a83n.js → aisdk-n48gz485.js} +32 -32
  192. package/dist/chunks/{bus-en9mxp96.js → aisdk-n8sna2wb.js} +9 -9
  193. package/dist/chunks/{bus-t0teqtp6.js → aisdk-nbrc9aa0.js} +6 -6
  194. package/dist/chunks/{bus-1hzxxycf.js → aisdk-ne0t6hxj.js} +5 -5
  195. package/dist/chunks/{bus-xadn7sc3.js → aisdk-nf8q49m4.js} +26 -26
  196. package/dist/chunks/{bus-dg9e8shs.js → aisdk-ng9xra76.js} +58 -58
  197. package/dist/chunks/{bus-1v3x8h5m.js → aisdk-njfztfhq.js} +13 -13
  198. package/dist/chunks/{bus-wf7jkce5.js → aisdk-nn0jcdjx.js} +90 -90
  199. package/dist/chunks/{bus-5dn96qcv.js → aisdk-nqvhmk1c.js} +5 -5
  200. package/dist/chunks/{bus-hqcv0nt6.js → aisdk-p48gy0gp.js} +73 -73
  201. package/dist/chunks/{bus-zbfyanxm.js → aisdk-p558d1j2.js} +8 -8
  202. package/dist/chunks/{bus-t78f7576.js → aisdk-p8rc01br.js} +25 -25
  203. package/dist/chunks/{bus-16h5vx33.js → aisdk-pcbf55sh.js} +11 -11
  204. package/dist/chunks/{bus-pjvnvgmy.js → aisdk-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{bus-g5nhetnh.js → aisdk-pjzpwaef.js} +8 -8
  206. package/dist/chunks/{bus-pknna89w.js → aisdk-pknna89w.js} +1 -1
  207. package/dist/chunks/{bus-ptfmnse7.js → aisdk-prht8xn4.js} +11 -11
  208. package/dist/chunks/{bus-50mfpd21.js → aisdk-pyg17xra.js} +25 -25
  209. package/dist/chunks/{bus-0j77ygfz.js → aisdk-q0xm7vwc.js} +6 -6
  210. package/dist/chunks/{bus-v0hecgst.js → aisdk-q9v66sme.js} +14 -14
  211. package/dist/chunks/{bus-grf59032.js → aisdk-qmbazkjd.js} +5 -5
  212. package/dist/chunks/{bus-qnc92qwc.js → aisdk-qnc92qwc.js} +1 -1
  213. package/dist/chunks/{bus-6694p3b8.js → aisdk-qp1fnkgb.js} +20 -20
  214. package/dist/chunks/{bus-2t3mzhjr.js → aisdk-qp4nwdz3.js} +18 -18
  215. package/dist/chunks/{bus-qsdy395h.js → aisdk-qsdy395h.js} +1 -1
  216. package/dist/chunks/{bus-zge5mp1t.js → aisdk-r0m4b8s8.js} +24 -24
  217. package/dist/chunks/{bus-2agezns5.js → aisdk-r100n5nc.js} +8 -8
  218. package/dist/chunks/{bus-2m8jawch.js → aisdk-r2dnqh6n.js} +4 -4
  219. package/dist/chunks/{bus-gd1azcth.js → aisdk-r2f95n35.js} +4 -4
  220. package/dist/chunks/{bus-5d607bsg.js → aisdk-r2m716tb.js} +9 -9
  221. package/dist/chunks/{bus-h79qd4dv.js → aisdk-r44petzp.js} +12 -12
  222. package/dist/chunks/{bus-t450s2gd.js → aisdk-rbrg03cy.js} +9 -9
  223. package/dist/chunks/{bus-rdw6cm16.js → aisdk-rdw6cm16.js} +1 -1
  224. package/dist/chunks/{bus-kctg07cb.js → aisdk-rexaqj00.js} +18 -18
  225. package/dist/chunks/{bus-8w469hvp.js → aisdk-rpj7en0j.js} +15 -15
  226. package/dist/chunks/aisdk-rwfgbrd2.js +253 -0
  227. package/dist/chunks/{bus-a2ew8a62.js → aisdk-ryr25ayn.js} +4 -4
  228. package/dist/chunks/{bus-78zj2w3x.js → aisdk-s00fnecv.js} +28 -28
  229. package/dist/chunks/{bus-ejxtpekp.js → aisdk-s5n8rxy8.js} +33 -33
  230. package/dist/chunks/{bus-fzk3mefm.js → aisdk-sdc1h1a9.js} +12 -12
  231. package/dist/chunks/{bus-bmssw0wc.js → aisdk-sqwtan2t.js} +11 -11
  232. package/dist/chunks/{bus-chc0kx6d.js → aisdk-svk60gjy.js} +5 -5
  233. package/dist/chunks/{bus-rcqmksdz.js → aisdk-sy3wpk96.js} +10 -10
  234. package/dist/chunks/{bus-cvh4a6ak.js → aisdk-sydgkmjh.js} +17 -17
  235. package/dist/chunks/{bus-3n9wzqh8.js → aisdk-sye3hfcy.js} +5 -5
  236. package/dist/chunks/{bus-mg4hhe4f.js → aisdk-t9ebzdva.js} +19 -19
  237. package/dist/chunks/{bus-tazgh4e4.js → aisdk-tazgh4e4.js} +1 -1
  238. package/dist/chunks/{bus-sxzvkvgj.js → aisdk-tcay1cqt.js} +6 -6
  239. package/dist/chunks/{bus-tcezcvh9.js → aisdk-tcezcvh9.js} +1 -1
  240. package/dist/chunks/{bus-tdstcens.js → aisdk-tdstcens.js} +1 -1
  241. package/dist/chunks/{bus-5187rmdv.js → aisdk-tfanqrhs.js} +6 -6
  242. package/dist/chunks/{bus-h4gayt2r.js → aisdk-thathje8.js} +40 -40
  243. package/dist/chunks/{bus-vfqq47st.js → aisdk-trxcxm74.js} +13 -13
  244. package/dist/chunks/{bus-2w9zm6x6.js → aisdk-ty0fwvcb.js} +7 -7
  245. package/dist/chunks/{bus-2wwb7yfm.js → aisdk-tzmp54vm.js} +5 -5
  246. package/dist/chunks/{bus-85f8ybn1.js → aisdk-v0ewstpe.js} +40 -40
  247. package/dist/chunks/{bus-nct9s1hw.js → aisdk-v72hdzvn.js} +14 -14
  248. package/dist/chunks/{bus-0wqkrk39.js → aisdk-vde1hawv.js} +16 -16
  249. package/dist/chunks/{bus-veqvce7d.js → aisdk-veqvce7d.js} +1 -1
  250. package/dist/chunks/{bus-g21r4nge.js → aisdk-vrfdq27c.js} +15 -15
  251. package/dist/chunks/{bus-sya89326.js → aisdk-vwztch6z.js} +45 -45
  252. package/dist/chunks/{bus-143qq2q9.js → aisdk-vx3jgdek.js} +3 -3
  253. package/dist/chunks/{bus-y64r4fk7.js → aisdk-vz02fre1.js} +15 -15
  254. package/dist/chunks/{bus-vzs5sf6e.js → aisdk-vzs5sf6e.js} +1 -1
  255. package/dist/chunks/{bus-xfkkasph.js → aisdk-w19d8598.js} +5 -5
  256. package/dist/chunks/{bus-rdk08ed1.js → aisdk-w25bqsme.js} +27 -27
  257. package/dist/chunks/{bus-w3wsvvr9.js → aisdk-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{bus-w3jg838k.js → aisdk-w9vf9qqj.js} +9 -9
  259. package/dist/chunks/{bus-wd87259q.js → aisdk-wd87259q.js} +1 -1
  260. package/dist/chunks/{bus-w3w22yba.js → aisdk-wghqh80a.js} +19 -19
  261. package/dist/chunks/{bus-ch8h0cmv.js → aisdk-wkjw17bc.js} +8 -8
  262. package/dist/chunks/{bus-ytnhha0b.js → aisdk-wq6aswdf.js} +11 -11
  263. package/dist/chunks/{bus-89vjf07m.js → aisdk-wr7ps67x.js} +5 -5
  264. package/dist/chunks/{bus-40kgmzpw.js → aisdk-x0h4vpz5.js} +15 -15
  265. package/dist/chunks/{bus-mxvxcxwy.js → aisdk-x661k3y3.js} +4 -4
  266. package/dist/chunks/{bus-afh8ba5a.js → aisdk-xd47ttqy.js} +36 -36
  267. package/dist/chunks/{bus-xkntkrq7.js → aisdk-xkntkrq7.js} +2 -2
  268. package/dist/chunks/{bus-y5hsvsvt.js → aisdk-xkw5kz5c.js} +15 -15
  269. package/dist/chunks/{bus-chkwe70y.js → aisdk-xm0sfyx2.js} +11 -11
  270. package/dist/chunks/{bus-qxjc9qry.js → aisdk-xyafkbt0.js} +3 -3
  271. package/dist/chunks/{bus-gd0tnyjc.js → aisdk-xybefm6f.js} +1 -1
  272. package/dist/chunks/{bus-a1g1snd0.js → aisdk-xzc90kzk.js} +4 -4
  273. package/dist/chunks/{bus-y1fvbwt7.js → aisdk-y1fvbwt7.js} +1 -1
  274. package/dist/chunks/{bus-fw687wex.js → aisdk-yddkn4c7.js} +16 -16
  275. package/dist/chunks/{bus-9zpzztxj.js → aisdk-yrcn8vah.js} +323 -323
  276. package/dist/chunks/{bus-z0bkrqjs.js → aisdk-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{bus-v7808e1w.js → aisdk-z1v05bgy.js} +11 -11
  278. package/dist/chunks/{bus-448v1y6b.js → aisdk-z24sbaqw.js} +13 -13
  279. package/dist/chunks/{bus-t14r6jk1.js → aisdk-z4syh5yy.js} +3 -3
  280. package/dist/chunks/{bus-b1g5rpv7.js → aisdk-zc1nd8v7.js} +10 -10
  281. package/dist/chunks/{bus-yck8tg9e.js → aisdk-zdm1px9r.js} +12 -12
  282. package/dist/chunks/{bus-m9retq26.js → aisdk-ze8sn7h2.js} +5 -5
  283. package/dist/chunks/{bus-zr2ceqn5.js → aisdk-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{bus-zxq2ej10.js → aisdk-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +9 -9
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +84 -84
  290. package/dist/config/discovery.js +83 -83
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +100 -100
  293. package/dist/config/plugin/agent.js +117 -117
  294. package/dist/config/plugin/command.js +206 -206
  295. package/dist/config/plugin/compaction.js +155 -155
  296. package/dist/config/plugin/compatibility.js +135 -135
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +118 -118
  299. package/dist/config/plugin/image.js +117 -117
  300. package/dist/config/plugin/instruction.js +91 -91
  301. package/dist/config/plugin/location-watcher.js +117 -117
  302. package/dist/config/plugin/mcp.js +124 -124
  303. package/dist/config/plugin/policy.js +118 -118
  304. package/dist/config/plugin/provider.js +117 -117
  305. package/dist/config/plugin/reference.js +119 -119
  306. package/dist/config/plugin/shell.js +117 -117
  307. package/dist/config/plugin/skill-file.js +103 -103
  308. package/dist/config/plugin/skill.js +136 -136
  309. package/dist/config/plugin/snapshot.js +117 -117
  310. package/dist/config/plugin/source.js +114 -114
  311. package/dist/config/plugin/tool-output.js +118 -118
  312. package/dist/config/plugin/websearch.js +116 -116
  313. package/dist/config/plugin/worktree.js +119 -119
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +120 -120
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +84 -84
  319. package/dist/database/database.js +67 -67
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  385. package/dist/database/migration.gen.js +50 -50
  386. package/dist/database/migration.js +52 -52
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +77 -77
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +364 -364
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +3 -3
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +94 -94
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +96 -96
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +75 -75
  410. package/dist/file-access.js +105 -105
  411. package/dist/file-mutation.js +95 -95
  412. package/dist/file-retention.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +215 -215
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +104 -104
  421. package/dist/filesystem/watcher-binding.js +3 -3
  422. package/dist/filesystem/watcher.js +13 -13
  423. package/dist/filesystem.js +105 -105
  424. package/dist/form.js +83 -83
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +88 -88
  427. package/dist/generate.js +106 -106
  428. package/dist/git.js +10 -10
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +100 -100
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +355 -355
  452. package/dist/instruction-discovery.js +86 -86
  453. package/dist/instructions/builtins.js +88 -88
  454. package/dist/instructions/index.js +3 -3
  455. package/dist/integration/connection.js +3 -3
  456. package/dist/integration.js +88 -88
  457. package/dist/job.js +79 -79
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +74 -74
  460. package/dist/location-activity.js +135 -135
  461. package/dist/location-lifecycle.js +108 -108
  462. package/dist/location-service-map.js +87 -87
  463. package/dist/location-services.js +352 -352
  464. package/dist/location.js +88 -88
  465. package/dist/managed-policy.js +8 -8
  466. package/dist/mcp/client.js +92 -92
  467. package/dist/mcp/index.js +110 -110
  468. package/dist/mcp/instructions.js +130 -130
  469. package/dist/mcp/oauth.js +79 -79
  470. package/dist/mcp/stdio.js +91 -91
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +100 -100
  473. package/dist/model-resolver.js +99 -99
  474. package/dist/model.js +101 -101
  475. package/dist/models-dev.js +108 -108
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +81 -81
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +114 -114
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +87 -87
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +76 -76
  485. package/dist/plugin/agent.js +75 -75
  486. package/dist/plugin/command.js +101 -101
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +212 -212
  489. package/dist/plugin/identity.js +3 -3
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +327 -327
  492. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  493. package/dist/plugin/models-dev.js +97 -97
  494. package/dist/plugin/module.js +116 -116
  495. package/dist/plugin/optimize.js +4 -4
  496. package/dist/plugin/plan.js +103 -103
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +91 -91
  499. package/dist/plugin/provider/azure.js +118 -118
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/chatgpt.js +95 -95
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +113 -113
  506. package/dist/plugin/provider/digitalocean.js +94 -94
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/github-copilot.js +96 -96
  510. package/dist/plugin/provider/gitlab.js +94 -94
  511. package/dist/plugin/provider/google-vertex.js +91 -91
  512. package/dist/plugin/provider/kilo.js +1 -1
  513. package/dist/plugin/provider/llmgateway.js +79 -79
  514. package/dist/plugin/provider/lmstudio.js +117 -117
  515. package/dist/plugin/provider/local.js +114 -114
  516. package/dist/plugin/provider/modal.js +93 -93
  517. package/dist/plugin/provider/nvidia.js +1 -1
  518. package/dist/plugin/provider/ollama.js +117 -117
  519. package/dist/plugin/provider/openai.js +96 -96
  520. package/dist/plugin/provider/opencode.js +98 -98
  521. package/dist/plugin/provider/openrouter.js +92 -92
  522. package/dist/plugin/provider/perplexity.js +2 -2
  523. package/dist/plugin/provider/poe.js +80 -80
  524. package/dist/plugin/provider/prompt-cache-key.js +91 -91
  525. package/dist/plugin/provider/sap-ai-core.js +92 -92
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +116 -116
  528. package/dist/plugin/provider/vercel.js +91 -91
  529. package/dist/plugin/provider/vllm.js +117 -117
  530. package/dist/plugin/provider/xai.js +92 -92
  531. package/dist/plugin/provider/zenmux.js +1 -1
  532. package/dist/plugin/provider.js +157 -157
  533. package/dist/plugin/sdk.js +75 -75
  534. package/dist/plugin/service.js +3 -3
  535. package/dist/plugin/skill.js +133 -133
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +342 -342
  538. package/dist/plugin/tool-input-repair.js +4 -4
  539. package/dist/plugin/update.js +6 -6
  540. package/dist/plugin/vcs/git.js +87 -87
  541. package/dist/plugin/vcs/hg.js +87 -87
  542. package/dist/plugin/verbosity.js +94 -94
  543. package/dist/plugin/warming.js +115 -115
  544. package/dist/plugin/websearch/exa.js +7 -7
  545. package/dist/plugin/websearch/firecrawl.js +8 -8
  546. package/dist/plugin/websearch/index.js +9 -9
  547. package/dist/plugin/websearch/mcp.js +2 -2
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +6 -6
  550. package/dist/plugin/websearch/tinyfish.js +8 -8
  551. package/dist/plugin.js +221 -221
  552. package/dist/project/schema.js +6 -6
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +89 -89
  555. package/dist/provider.js +100 -100
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/ticket.js +1 -1
  558. package/dist/pty.js +100 -100
  559. package/dist/reference/instructions.js +90 -90
  560. package/dist/reference.js +88 -88
  561. package/dist/repository-cache.js +82 -82
  562. package/dist/repository.js +1 -1
  563. package/dist/ripgrep/binary.js +2 -2
  564. package/dist/ripgrep.js +98 -98
  565. package/dist/rpc.js +87 -87
  566. package/dist/schema.js +1 -1
  567. package/dist/session/affinity.js +3 -3
  568. package/dist/session/command.js +75 -75
  569. package/dist/session/compaction.js +134 -134
  570. package/dist/session/context.js +154 -154
  571. package/dist/session/diff.js +89 -89
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +7 -7
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +218 -218
  576. package/dist/session/execution.js +128 -128
  577. package/dist/session/generate.js +155 -155
  578. package/dist/session/history.js +15 -15
  579. package/dist/session/inbox.js +89 -89
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +80 -80
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +98 -98
  584. package/dist/session/message-updater.js +2 -2
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +121 -121
  587. package/dist/session/model-transport.js +9 -9
  588. package/dist/session/move.js +130 -130
  589. package/dist/session/projector.js +87 -87
  590. package/dist/session/prompt.js +106 -106
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +91 -91
  593. package/dist/session/run-coordinator.js +3 -3
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +225 -225
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +99 -99
  598. package/dist/session/runner/publish-llm-event.js +114 -114
  599. package/dist/session/runner/retry.js +4 -4
  600. package/dist/session/runner/step.js +126 -126
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +5 -5
  603. package/dist/session/session.js +165 -165
  604. package/dist/session/shell.js +131 -131
  605. package/dist/session/skill.js +106 -106
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +74 -74
  608. package/dist/session/store.js +86 -86
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +204 -204
  611. package/dist/session/system-prompt.js +3 -3
  612. package/dist/session/title.js +156 -156
  613. package/dist/session/to-session-error.js +112 -112
  614. package/dist/session/transfer.js +214 -214
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +212 -212
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +13 -13
  621. package/dist/shell.js +133 -133
  622. package/dist/skill/discovery.js +6 -6
  623. package/dist/skill/instructions.js +108 -108
  624. package/dist/skill.js +111 -111
  625. package/dist/snapshot.js +94 -94
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +129 -129
  630. package/dist/tool/plugin/edit.js +121 -121
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +119 -119
  633. package/dist/tool/plugin/grep.js +125 -125
  634. package/dist/tool/plugin/mcp-resource.js +118 -118
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +123 -123
  637. package/dist/tool/plugin/question.js +106 -106
  638. package/dist/tool/plugin/read.js +126 -126
  639. package/dist/tool/plugin/shell.js +205 -205
  640. package/dist/tool/plugin/skill.js +112 -112
  641. package/dist/tool/plugin/subagent.js +213 -213
  642. package/dist/tool/plugin/webfetch.js +111 -111
  643. package/dist/tool/plugin/websearch.js +111 -111
  644. package/dist/tool/plugin/write.js +123 -123
  645. package/dist/tool/read-filesystem.js +101 -101
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +7 -7
  648. package/dist/tool.js +16 -16
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/git-executable.js +2 -2
  652. package/dist/util/iife.js +1 -1
  653. package/dist/util/lazy.js +1 -1
  654. package/dist/util/slug.js +1 -1
  655. package/dist/util/token.js +1 -1
  656. package/dist/util/which.js +1 -1
  657. package/dist/util/wildcard.js +1 -1
  658. package/dist/v1/config/agent.js +7 -7
  659. package/dist/v1/config/command.js +3 -3
  660. package/dist/v1/config/error.js +4 -4
  661. package/dist/v1/config/mcp.js +4 -4
  662. package/dist/v1/config/migrate.js +93 -93
  663. package/dist/v1/config/permission.js +7 -7
  664. package/dist/v1/config/plugin.js +3 -3
  665. package/dist/v1/config/provider-options.js +1 -1
  666. package/dist/v1/config/provider.js +4 -4
  667. package/dist/variant.js +94 -94
  668. package/dist/vcs/patch.js +1 -1
  669. package/dist/vcs.js +90 -90
  670. package/dist/websearch.js +83 -83
  671. package/dist/wellknown/plugin.js +77 -77
  672. package/dist/wellknown.js +80 -80
  673. package/dist/workspace/driver.js +7 -7
  674. package/dist/workspace/sql.js +1 -1
  675. package/dist/workspace.js +81 -81
  676. package/dist/worktree/directory.js +2 -2
  677. package/dist/worktree/git.js +10 -10
  678. package/dist/worktree/sql.js +5 -5
  679. package/dist/worktree/strategies.js +90 -90
  680. package/dist/worktree.js +99 -99
  681. package/package.json +8 -8
  682. package/dist/chunks/bus-dxctn4km.js +0 -26
  683. package/dist/chunks/bus-efjadhkr.js +0 -253
  684. package/dist/chunks/bus-rap9a73h.js +0 -18
  685. /package/dist/chunks/{bus-0qkdqm5v.js → aisdk-0qkdqm5v.js} +0 -0
  686. /package/dist/chunks/{bus-0zkw76rk.js → aisdk-0zkw76rk.js} +0 -0
  687. /package/dist/chunks/{bus-17cy0kzp.js → aisdk-17cy0kzp.js} +0 -0
  688. /package/dist/chunks/{bus-1cnp2v09.js → aisdk-1cnp2v09.js} +0 -0
  689. /package/dist/chunks/{bus-1kg9ymc8.js → aisdk-1kg9ymc8.js} +0 -0
  690. /package/dist/chunks/{bus-24dcb14g.js → aisdk-24dcb14g.js} +0 -0
  691. /package/dist/chunks/{bus-2710q6r3.js → aisdk-2710q6r3.js} +0 -0
  692. /package/dist/chunks/{bus-2axfhc9x.js → aisdk-2axfhc9x.js} +0 -0
  693. /package/dist/chunks/{bus-2c3vjs8z.js → aisdk-2c3vjs8z.js} +0 -0
  694. /package/dist/chunks/{bus-34c7v6d4.js → aisdk-34c7v6d4.js} +0 -0
  695. /package/dist/chunks/{bus-359p4xyc.js → aisdk-359p4xyc.js} +0 -0
  696. /package/dist/chunks/{bus-3asan66x.js → aisdk-3asan66x.js} +0 -0
  697. /package/dist/chunks/{bus-3t0ybcrp.js → aisdk-3t0ybcrp.js} +0 -0
  698. /package/dist/chunks/{bus-3v8g72cx.js → aisdk-3v8g72cx.js} +0 -0
  699. /package/dist/chunks/{bus-3w5fmr99.js → aisdk-3w5fmr99.js} +0 -0
  700. /package/dist/chunks/{bus-3wcehsnq.js → aisdk-3wcehsnq.js} +0 -0
  701. /package/dist/chunks/{bus-43n2bw4t.js → aisdk-43n2bw4t.js} +0 -0
  702. /package/dist/chunks/{bus-4knz6hnm.js → aisdk-4knz6hnm.js} +0 -0
  703. /package/dist/chunks/{bus-4vcrnpx2.js → aisdk-4vcrnpx2.js} +0 -0
  704. /package/dist/chunks/{bus-4y7fprxs.js → aisdk-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{bus-53557ph1.js → aisdk-53557ph1.js} +0 -0
  706. /package/dist/chunks/{bus-550bvhaj.js → aisdk-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{bus-6prwharc.js → aisdk-6prwharc.js} +0 -0
  708. /package/dist/chunks/{bus-6q2bdcd1.js → aisdk-6q2bdcd1.js} +0 -0
  709. /package/dist/chunks/{bus-7akdwqpd.js → aisdk-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{bus-7m9af43g.js → aisdk-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{bus-822emrt2.js → aisdk-822emrt2.js} +0 -0
  712. /package/dist/chunks/{bus-84wd9syh.js → aisdk-84wd9syh.js} +0 -0
  713. /package/dist/chunks/{bus-88xbtdfr.js → aisdk-88xbtdfr.js} +0 -0
  714. /package/dist/chunks/{bus-8n3pysct.js → aisdk-8n3pysct.js} +0 -0
  715. /package/dist/chunks/{bus-8wj87zfr.js → aisdk-8wj87zfr.js} +0 -0
  716. /package/dist/chunks/{bus-9a4afbnw.js → aisdk-9a4afbnw.js} +0 -0
  717. /package/dist/chunks/{bus-9rqn6x4v.js → aisdk-9rqn6x4v.js} +0 -0
  718. /package/dist/chunks/{bus-a6k6eb26.js → aisdk-a6k6eb26.js} +0 -0
  719. /package/dist/chunks/{bus-af5trqkr.js → aisdk-af5trqkr.js} +0 -0
  720. /package/dist/chunks/{bus-afrmfg78.js → aisdk-afrmfg78.js} +0 -0
  721. /package/dist/chunks/{bus-aqzs7mqg.js → aisdk-aqzs7mqg.js} +0 -0
  722. /package/dist/chunks/{bus-atq7p7m5.js → aisdk-atq7p7m5.js} +0 -0
  723. /package/dist/chunks/{bus-bkyjaxrp.js → aisdk-bkyjaxrp.js} +0 -0
  724. /package/dist/chunks/{bus-bmr6ed5q.js → aisdk-bmr6ed5q.js} +0 -0
  725. /package/dist/chunks/{bus-cf4snx6d.js → aisdk-cf4snx6d.js} +0 -0
  726. /package/dist/chunks/{bus-cvy3z8tj.js → aisdk-cvy3z8tj.js} +0 -0
  727. /package/dist/chunks/{bus-d9fn303g.js → aisdk-d9fn303g.js} +0 -0
  728. /package/dist/chunks/{bus-d9jj8t3e.js → aisdk-d9jj8t3e.js} +0 -0
  729. /package/dist/chunks/{bus-dajrwvna.js → aisdk-dajrwvna.js} +0 -0
  730. /package/dist/chunks/{bus-dap0rakb.js → aisdk-dap0rakb.js} +0 -0
  731. /package/dist/chunks/{bus-df08tz66.js → aisdk-df08tz66.js} +0 -0
  732. /package/dist/chunks/{bus-dy18nga0.js → aisdk-dy18nga0.js} +0 -0
  733. /package/dist/chunks/{bus-e5kj55wp.js → aisdk-e5kj55wp.js} +0 -0
  734. /package/dist/chunks/{bus-e73j6tqm.js → aisdk-e73j6tqm.js} +0 -0
  735. /package/dist/chunks/{bus-ec1grn59.js → aisdk-ec1grn59.js} +0 -0
  736. /package/dist/chunks/{bus-eh3zwz77.js → aisdk-eh3zwz77.js} +0 -0
  737. /package/dist/chunks/{bus-emrn6kk6.js → aisdk-emrn6kk6.js} +0 -0
  738. /package/dist/chunks/{bus-f0mxakyp.js → aisdk-f0mxakyp.js} +0 -0
  739. /package/dist/chunks/{bus-f6n9ztr4.js → aisdk-f6n9ztr4.js} +0 -0
  740. /package/dist/chunks/{bus-faypxj3z.js → aisdk-faypxj3z.js} +0 -0
  741. /package/dist/chunks/{bus-fd410y7t.js → aisdk-fd410y7t.js} +0 -0
  742. /package/dist/chunks/{bus-fxgpk5d8.js → aisdk-fxgpk5d8.js} +0 -0
  743. /package/dist/chunks/{bus-g4wezp1m.js → aisdk-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{bus-g86h250q.js → aisdk-g86h250q.js} +0 -0
  745. /package/dist/chunks/{bus-gebd4c9n.js → aisdk-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{bus-gftt206x.js → aisdk-gftt206x.js} +0 -0
  747. /package/dist/chunks/{bus-hk9envan.js → aisdk-hk9envan.js} +0 -0
  748. /package/dist/chunks/{bus-j2ntwpah.js → aisdk-j2ntwpah.js} +0 -0
  749. /package/dist/chunks/{bus-j5zkgpj8.js → aisdk-j5zkgpj8.js} +0 -0
  750. /package/dist/chunks/{bus-jjkms2e6.js → aisdk-jjkms2e6.js} +0 -0
  751. /package/dist/chunks/{bus-jr7sbwjy.js → aisdk-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{bus-jwfs4k6c.js → aisdk-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{bus-jzg6c2d5.js → aisdk-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{bus-mp448xyj.js → aisdk-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{bus-msx8hqn2.js → aisdk-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{bus-n05xt0ee.js → aisdk-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{bus-n3j8tn72.js → aisdk-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{bus-njntx4h6.js → aisdk-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{bus-q3sfg36h.js → aisdk-q3sfg36h.js} +0 -0
  760. /package/dist/chunks/{bus-q74kybfr.js → aisdk-q74kybfr.js} +0 -0
  761. /package/dist/chunks/{bus-qaymkmh1.js → aisdk-qaymkmh1.js} +0 -0
  762. /package/dist/chunks/{bus-qb87gjwd.js → aisdk-qb87gjwd.js} +0 -0
  763. /package/dist/chunks/{bus-qfa1cgps.js → aisdk-qfa1cgps.js} +0 -0
  764. /package/dist/chunks/{bus-qg3g05ea.js → aisdk-qg3g05ea.js} +0 -0
  765. /package/dist/chunks/{bus-qrg20bc0.js → aisdk-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{bus-rcb2kzg1.js → aisdk-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{bus-sdp7kfr6.js → aisdk-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{bus-ssg3fenm.js → aisdk-ssg3fenm.js} +0 -0
  769. /package/dist/chunks/{bus-w803qqfp.js → aisdk-w803qqfp.js} +0 -0
  770. /package/dist/chunks/{bus-wc3fc9cn.js → aisdk-wc3fc9cn.js} +0 -0
  771. /package/dist/chunks/{bus-wer8tq1h.js → aisdk-wer8tq1h.js} +0 -0
  772. /package/dist/chunks/{bus-wtztk69x.js → aisdk-wtztk69x.js} +0 -0
  773. /package/dist/chunks/{bus-x0ckcb58.js → aisdk-x0ckcb58.js} +0 -0
  774. /package/dist/chunks/{bus-x61499pn.js → aisdk-x61499pn.js} +0 -0
  775. /package/dist/chunks/{bus-y44na4kk.js → aisdk-y44na4kk.js} +0 -0
  776. /package/dist/chunks/{bus-y8cydn3q.js → aisdk-y8cydn3q.js} +0 -0
  777. /package/dist/chunks/{bus-y8f7s663.js → aisdk-y8f7s663.js} +0 -0
  778. /package/dist/chunks/{bus-ygaqb7jw.js → aisdk-ygaqb7jw.js} +0 -0
  779. /package/dist/chunks/{bus-ym463w8f.js → aisdk-ym463w8f.js} +0 -0
  780. /package/dist/chunks/{bus-z5v4ffb3.js → aisdk-z5v4ffb3.js} +0 -0
  781. /package/dist/chunks/{bus-z9919s4g.js → aisdk-z9919s4g.js} +0 -0
@@ -1,65 +1,65 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./bus-vatq0zec.js";
4
+ } from "./aisdk-kq7tnyq1.js";
5
5
  import {
6
- Service81,
7
- node85
8
- } from "./bus-g59t3z9x.js";
6
+ Service83,
7
+ node87
8
+ } from "./aisdk-bymgkydd.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./bus-pknna89w.js";
11
+ } from "./aisdk-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./bus-3zsf4n22.js";
14
+ } from "./aisdk-3zsf4n22.js";
15
15
  import {
16
16
  __export
17
- } from "./bus-9rqn6x4v.js";
17
+ } from "./aisdk-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event21,
23
+ Event: () => Event19,
24
24
  External: () => External2,
25
- ID: () => ID17,
26
- Info: () => Info28,
25
+ ID: () => ID15,
26
+ Info: () => Info25,
27
27
  Key: () => Key4,
28
28
  OAuth: () => OAuth3,
29
- Service: () => Service80,
29
+ Service: () => Service78,
30
30
  Value: () => Value2,
31
- node: () => node84
31
+ node: () => node82
32
32
  });
33
33
  import { asc, desc, eq } from "drizzle-orm";
34
34
  import { Cause, Context, Effect, Layer, Schema } from "effect";
35
35
  import { Credential } from "@opencode/schema/credential";
36
36
  import { Integration } from "@opencode/schema/integration";
37
37
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
38
- var ID17 = Credential.ID;
38
+ var ID15 = Credential.ID;
39
39
  var OAuth3 = Credential.OAuth;
40
40
  var Key4 = Credential.Key;
41
41
  var External2 = Credential.External;
42
42
  var Value2 = Credential.Value;
43
- var Event21 = Credential.Event;
43
+ var Event19 = Credential.Event;
44
44
 
45
- class Info28 extends Schema.Class("Credential.Info")({
46
- id: ID17,
45
+ class Info25 extends Schema.Class("Credential.Info")({
46
+ id: ID15,
47
47
  integrationID: Integration.ID,
48
48
  label: Schema.String,
49
49
  value: Value2
50
50
  }) {
51
51
  }
52
52
 
53
- class Service80 extends Context.Service()("@opencode/Credential") {
53
+ class Service78 extends Context.Service()("@opencode/Credential") {
54
54
  }
55
- var layer = Layer.effect(Service80, Effect.gen(function* () {
55
+ var layer = Layer.effect(Service78, Effect.gen(function* () {
56
56
  const db = (yield* Service84).db;
57
- const bus = yield* Service81;
57
+ const bus = yield* Service83;
58
58
  const decode = Schema.decodeUnknownSync(Value2);
59
59
  const stored = (row) => {
60
60
  if (!row.integration_id)
61
61
  return;
62
- return new Info28({
62
+ return new Info25({
63
63
  id: row.id,
64
64
  integrationID: row.integration_id,
65
65
  label: row.label,
@@ -70,7 +70,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
70
70
  const credential = stored(row);
71
71
  return credential ? [credential] : [];
72
72
  });
73
- return Service80.of({
73
+ return Service78.of({
74
74
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
75
75
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
76
76
  get: Effect.fn("Credential.get")(function* (id) {
@@ -78,8 +78,8 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
78
78
  return row ? stored(row) : undefined;
79
79
  }),
80
80
  create: Effect.fn("Credential.create")(function* (input) {
81
- const credential = new Info28({
82
- id: input.id ?? ID17.create(),
81
+ const credential = new Info25({
82
+ id: input.id ?? ID15.create(),
83
83
  integrationID: input.integrationID,
84
84
  label: input.label ?? "default",
85
85
  value: input.value
@@ -110,9 +110,9 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
110
110
  type: credential.value.type,
111
111
  active: activated
112
112
  });
113
- yield* bus.publish(Event21.Updated, {}, { global: true });
113
+ yield* bus.publish(Event19.Updated, {}, { global: true });
114
114
  if (activated)
115
- yield* bus.publish(Event21.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
115
+ yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
116
116
  return credential;
117
117
  }),
118
118
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -132,7 +132,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
132
132
  })), Effect.orDie);
133
133
  if (integrationID) {
134
134
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
135
- yield* bus.publish(Event21.Switched, { integrationID, credentialID: id }, { global: true });
135
+ yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
136
136
  }
137
137
  }),
138
138
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
164
164
  labelChanged: updates.label !== undefined && updates.label !== credential.label
165
165
  });
166
166
  if (updates.label !== undefined && updates.label !== credential.label)
167
- yield* bus.publish(Event21.Updated, {}, { global: true });
167
+ yield* bus.publish(Event19.Updated, {}, { global: true });
168
168
  }),
169
169
  remove: Effect.fn("Credential.remove")(function* (id) {
170
170
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -197,12 +197,12 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
197
197
  active: removed.switched,
198
198
  ...removed.switched ? { replacementID: removed.credentialID } : {}
199
199
  });
200
- yield* bus.publish(Event21.Updated, {}, { global: true });
200
+ yield* bus.publish(Event19.Updated, {}, { global: true });
201
201
  if (removed.switched)
202
- yield* bus.publish(Event21.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
202
+ yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
203
203
  })
204
204
  });
205
205
  }));
206
- var node84 = makeGlobalNode({ service: Service80, layer, deps: [node88, node85] });
206
+ var node82 = makeGlobalNode({ service: Service78, layer, deps: [node88, node87] });
207
207
 
208
- export { ID17, OAuth3, Key4, External2, Value2, Event21, Info28, Service80, node84, exports_credential };
208
+ export { ID15, OAuth3, Key4, External2, Value2, Event19, Info25, Service78, node82, exports_credential };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./bus-vatq0zec.js";
4
+ } from "./aisdk-kq7tnyq1.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./bus-71az546q.js";
7
+ } from "./aisdk-f75zav2x.js";
8
8
  import {
9
9
  __export
10
- } from "./bus-9rqn6x4v.js";
10
+ } from "./aisdk-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  AddInput: () => AddInput2,
16
- ID: () => ID8,
17
- Info: () => Info10,
16
+ ID: () => ID10,
17
+ Info: () => Info18,
18
18
  ListInput: () => ListInput4,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service57,
21
- node: () => node59
20
+ Service: () => Service71,
21
+ node: () => node75
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
25
25
  import { Project } from "@opencode/schema/project";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID8 = PermissionSaved.ID;
29
- var Info10 = PermissionSaved.Info;
28
+ var ID10 = PermissionSaved.ID;
29
+ var Info18 = PermissionSaved.Info;
30
30
  var ListInput4 = Schema.Struct({
31
31
  projectID: Project.ID.pipe(Schema.optional)
32
32
  }).annotate({ identifier: "PermissionSaved.ListInput" });
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
36
36
  resources: Schema.Array(Schema.String)
37
37
  }).annotate({ identifier: "PermissionSaved.AddInput" });
38
38
 
39
- class Service57 extends Context.Service()("@opencode/PermissionSaved") {
39
+ class Service71 extends Context.Service()("@opencode/PermissionSaved") {
40
40
  }
41
- var layer = Layer.effect(Service57, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service71, Effect.gen(function* () {
42
42
  const db = (yield* Service84).db;
43
43
  const list = Effect.fnUntraced(function* (input) {
44
44
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
57
57
  if (!input.resources.length)
58
58
  return;
59
59
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
60
- id: ID8.create(),
60
+ id: ID10.create(),
61
61
  project_id: input.projectID,
62
62
  action: input.action,
63
63
  resource
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
66
66
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
67
67
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
68
68
  });
69
- return Service57.of({ list, add, remove });
69
+ return Service71.of({ list, add, remove });
70
70
  }));
71
- var node59 = makeGlobalNode({ service: Service57, layer, deps: [node88] });
71
+ var node75 = makeGlobalNode({ service: Service71, layer, deps: [node88] });
72
72
 
73
- export { ID8, Info10, ListInput4, AddInput2, Service57, node59, exports_saved };
73
+ export { ID10, Info18, ListInput4, AddInput2, Service71, node75, exports_saved };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service78,
3
- node82
4
- } from "./bus-dckjds39.js";
2
+ Service80,
3
+ node84
4
+ } from "./aisdk-ae0txsc2.js";
5
5
  import {
6
6
  __export
7
- } from "./bus-9rqn6x4v.js";
7
+ } from "./aisdk-9rqn6x4v.js";
8
8
 
9
9
  // src/location.ts
10
10
  var exports_location = {};
11
11
  __export(exports_location, {
12
- Info: () => Info25,
12
+ Info: () => Info26,
13
13
  Location: () => exports_location,
14
14
  Ref: () => Ref4,
15
- Service: () => Service77,
15
+ Service: () => Service79,
16
16
  boundNode: () => boundNode2,
17
- node: () => node81,
17
+ node: () => node83,
18
18
  response: () => response2
19
19
  });
20
20
  import { Context, Effect, Layer } from "effect";
21
- import { Info as Info25, Ref as Ref4, response as response2 } from "@opencode/schema/location";
21
+ import { Info as Info26, Ref as Ref4, response as response2 } from "@opencode/schema/location";
22
22
  import { LayerNode } from "@opencode/util/effect/layer-node";
23
23
  import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
24
- class Service77 extends Context.Service()("@opencode/Location") {
24
+ class Service79 extends Context.Service()("@opencode/Location") {
25
25
  }
26
- var node81 = LayerNode.unbound(Service77, tags.values.location);
27
- var layer = (ref) => Layer.effect(Service77, Effect.gen(function* () {
28
- const project = yield* Service78;
26
+ var node83 = LayerNode.unbound(Service79, tags.values.location);
27
+ var layer = (ref) => Layer.effect(Service79, Effect.gen(function* () {
28
+ const project = yield* Service80;
29
29
  const resolved = yield* project.resolve(ref.directory);
30
- return Service77.of({
30
+ return Service79.of({
31
31
  directory: ref.directory,
32
32
  workspaceID: ref.workspaceID,
33
33
  project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service77, Effect.gen(function* () {
35
35
  });
36
36
  }));
37
37
  var boundNode2 = (ref) => makeLocationNode({
38
- service: Service77,
38
+ service: Service79,
39
39
  layer: layer(ref),
40
- deps: [node82]
40
+ deps: [node84]
41
41
  });
42
42
 
43
- export { Info25, Ref4, response2, Service77, node81, boundNode2, exports_location };
43
+ export { Info26, Ref4, response2, Service79, node83, boundNode2, exports_location };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  name15,
3
3
  ps2
4
- } from "./bus-wk7y1wk7.js";
4
+ } from "./aisdk-82xh11mn.js";
5
5
  import {
6
6
  lazy2
7
- } from "./bus-88xbtdfr.js";
7
+ } from "./aisdk-88xbtdfr.js";
8
8
  import {
9
9
  match2
10
- } from "./bus-y1fvbwt7.js";
10
+ } from "./aisdk-y1fvbwt7.js";
11
11
  import {
12
12
  __export
13
- } from "./bus-9rqn6x4v.js";
13
+ } from "./aisdk-9rqn6x4v.js";
14
14
 
15
15
  // src/shell/parse.ts
16
16
  var exports_parse = {};
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./bus-x8ba1gzy.js";
3
+ } from "./aisdk-5xkk72ep.js";
4
4
  import {
5
5
  call2
6
- } from "./bus-mfqp6xfm.js";
6
+ } from "./aisdk-mfqp6xfm.js";
7
7
  import {
8
8
  __export
9
- } from "./bus-9rqn6x4v.js";
9
+ } from "./aisdk-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/parallel.ts
12
12
  var exports_parallel = {};
13
13
  __export(exports_parallel, {
14
- Plugin: () => Plugin26,
14
+ Plugin: () => Plugin27,
15
15
  WebSearchParallel: () => exports_parallel,
16
- endpoint: () => endpoint6
16
+ endpoint: () => endpoint5
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Schema } from "effect";
20
20
  import { HttpClient } from "effect/unstable/http";
21
- var endpoint6 = "https://search.parallel.ai/mcp";
21
+ var endpoint5 = "https://search.parallel.ai/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  objective: Schema.String,
24
24
  search_queries: Schema.Array(Schema.String),
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
47
47
  content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
48
48
  structuredContent: SearchResponse
49
49
  });
50
- var Plugin26 = define({
50
+ var Plugin27 = define({
51
51
  id: "opencode.websearch.parallel",
52
52
  effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
53
53
  const http = yield* HttpClient.HttpClient;
@@ -69,7 +69,7 @@ var Plugin26 = define({
69
69
  execute: (input) => Effect.gen(function* () {
70
70
  const connection = yield* ctx.integration.connection.active("parallel");
71
71
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
72
- const result = yield* call2(http, endpoint6, "web_search", { input: McpInput, output: McpOutput }, {
72
+ const result = yield* call2(http, endpoint5, "web_search", { input: McpInput, output: McpOutput }, {
73
73
  objective: input.query,
74
74
  search_queries: [input.query]
75
75
  }, {
@@ -93,4 +93,4 @@ var Plugin26 = define({
93
93
  })
94
94
  });
95
95
 
96
- export { endpoint6, Plugin26, exports_parallel };
96
+ export { endpoint5, Plugin27, exports_parallel };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./bus-vatq0zec.js";
4
+ } from "./aisdk-kq7tnyq1.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./bus-y71avatq.js";
7
+ } from "./aisdk-dpkg50ah.js";
8
8
  import {
9
- Service81,
10
- node85
11
- } from "./bus-g59t3z9x.js";
9
+ Service83,
10
+ node87
11
+ } from "./aisdk-bymgkydd.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./bus-ec1grn59.js";
14
+ } from "./aisdk-ec1grn59.js";
15
15
  import {
16
16
  SessionMessage2
17
- } from "./bus-gftt206x.js";
17
+ } from "./aisdk-gftt206x.js";
18
18
  import {
19
19
  SessionSchema2
20
- } from "./bus-143qq2q9.js";
20
+ } from "./aisdk-vx3jgdek.js";
21
21
  import {
22
22
  SessionMessageTable2,
23
23
  SessionInboxTable2
24
- } from "./bus-9e5bzkjp.js";
24
+ } from "./aisdk-kb9j3d72.js";
25
25
  import {
26
26
  __export
27
- } from "./bus-9rqn6x4v.js";
27
+ } from "./aisdk-9rqn6x4v.js";
28
28
 
29
29
  // src/session/inbox.ts
30
30
  var exports_inbox = {};
@@ -32,12 +32,12 @@ __export(exports_inbox, {
32
32
  Compaction: () => Compaction2,
33
33
  CompactionPayload: () => CompactionPayload2,
34
34
  Delivery: () => Delivery2,
35
- Info: () => Info6,
35
+ Info: () => Info10,
36
36
  Item: () => Item2,
37
37
  LifecycleConflict: () => LifecycleConflict2,
38
38
  Move: () => Move2,
39
39
  MovePayload: () => MovePayload2,
40
- Service: () => Service40,
40
+ Service: () => Service49,
41
41
  SessionInbox: () => exports_inbox,
42
42
  Synthetic: () => Synthetic2,
43
43
  SyntheticPayload: () => SyntheticPayload2,
@@ -45,12 +45,12 @@ __export(exports_inbox, {
45
45
  UserPayload: () => UserPayload2,
46
46
  find: () => find2,
47
47
  has: () => has2,
48
- layer: () => layer15,
48
+ layer: () => layer20,
49
49
  list: () => list3,
50
- make: () => make17,
50
+ make: () => make18,
51
51
  moveIDs: () => moveIDs2,
52
52
  nextPromotable: () => nextPromotable2,
53
- node: () => node42,
53
+ node: () => node51,
54
54
  projectAdmitted: () => projectAdmitted2,
55
55
  projectCancelled: () => projectCancelled2,
56
56
  projectDelivered: () => projectDelivered2,
@@ -65,7 +65,7 @@ import {
65
65
  Compaction as Compaction2,
66
66
  CompactionPayload as CompactionPayload2,
67
67
  Delivery as Delivery2,
68
- Info as Info6,
68
+ Info as Info10,
69
69
  Item as Item2,
70
70
  Move as Move2,
71
71
  MovePayload as MovePayload2,
@@ -151,12 +151,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
151
151
  return yield* new LifecycleConflict2({ id });
152
152
  });
153
153
 
154
- class Service40 extends Context.Service()("@opencode/SessionInbox") {
154
+ class Service49 extends Context.Service()("@opencode/SessionInbox") {
155
155
  }
156
- var make17 = Effect.fn("SessionInbox.make")(function* () {
156
+ var make18 = Effect.fn("SessionInbox.make")(function* () {
157
157
  const database = yield* Service84;
158
158
  const db = database.db;
159
- const bus = yield* Service81;
159
+ const bus = yield* Service83;
160
160
  const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
161
161
  const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
162
162
  if (existing === undefined)
@@ -173,7 +173,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
173
173
  inboxID: request.id,
174
174
  sessionID: request.sessionID,
175
175
  item: request.item
176
- }).pipe(Effect.map((event) => Info6.make({
176
+ }).pipe(Effect.map((event) => Info10.make({
177
177
  id: request.id,
178
178
  sessionID: request.sessionID,
179
179
  time: { created: DateTime.makeUnsafe(event.created) },
@@ -227,8 +227,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
227
227
  queue
228
228
  };
229
229
  });
230
- var layer15 = Layer.effect(Service40, make17());
231
- var node42 = makeGlobalNode({ service: Service40, layer: layer15, deps: [node88, node85] });
230
+ var layer20 = Layer.effect(Service49, make18());
231
+ var node51 = makeGlobalNode({ service: Service49, layer: layer20, deps: [node88, node87] });
232
232
  var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
233
233
  const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
234
234
  if (message !== undefined)
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
326
326
  return rows;
327
327
  }));
328
328
 
329
- export { Compaction2, CompactionPayload2, Delivery2, Info6, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service40, make17, layer15, node42, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
329
+ export { Compaction2, CompactionPayload2, Delivery2, Info10, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service49, make18, layer20, node51, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./bus-9rqn6x4v.js";
3
+ } from "./aisdk-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/identity.ts
6
6
  var exports_identity = {};
7
7
  __export(exports_identity, {
8
8
  IdentityPlugin: () => exports_identity,
9
- Plugin: () => Plugin32,
9
+ Plugin: () => Plugin29,
10
10
  identity: () => identity2
11
11
  });
12
12
  import { SystemPart } from "@opencode/ai";
@@ -22,7 +22,7 @@ function identity2(model) {
22
22
  ].join(`
23
23
  `);
24
24
  }
25
- var Plugin32 = define({
25
+ var Plugin29 = define({
26
26
  id: "opencode.prompt.identity",
27
27
  effect: Effect.fn("IdentityPlugin")(function* (ctx) {
28
28
  const hook = (event) => Effect.gen(function* () {
@@ -35,4 +35,4 @@ var Plugin32 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { identity2, Plugin32, exports_identity };
38
+ export { identity2, Plugin29, exports_identity };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  create3
3
- } from "./bus-rdw6cm16.js";
3
+ } from "./aisdk-rdw6cm16.js";
4
4
  import {
5
5
  which2
6
- } from "./bus-qaymkmh1.js";
6
+ } from "./aisdk-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./bus-9rqn6x4v.js";
9
+ } from "./aisdk-9rqn6x4v.js";
10
10
 
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
- Options: () => Options4,
15
- Service: () => Service47,
14
+ Options: () => Options9,
15
+ Service: () => Service60,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
- configured: () => configured4,
18
+ configured: () => configured9,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
21
  list: () => list4,
22
22
  login: () => login2,
23
23
  name: () => name15,
24
- node: () => node49,
24
+ node: () => node63,
25
25
  ps: () => ps2,
26
- resolve: () => resolve2
26
+ resolve: () => resolve4
27
27
  });
28
28
  import path from "path";
29
29
  import { readFile } from "fs/promises";
@@ -43,11 +43,11 @@ var META = {
43
43
  sh: { login: true },
44
44
  zsh: { login: true }
45
45
  };
46
- var Options4 = Schema.Struct({
46
+ var Options9 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service47 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service60 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
164
164
  }
165
165
  var defaultConfigured;
166
166
  var defaultCompatible;
167
- function resolve2(input, configShell, options, bin) {
167
+ function resolve4(input, configShell, options, bin) {
168
168
  const filter = input.priority === "compat" ? { compatible: true } : undefined;
169
169
  if (configShell)
170
170
  return select(configShell, options, filter, bin);
@@ -180,7 +180,7 @@ function resolve2(input, configShell, options, bin) {
180
180
  defaultConfigured = { bin, value };
181
181
  return value;
182
182
  }
183
- resolve2.reset = () => {
183
+ resolve4.reset = () => {
184
184
  defaultConfigured = undefined;
185
185
  defaultCompatible = undefined;
186
186
  };
@@ -188,7 +188,7 @@ async function list4(options, bin) {
188
188
  const shells = process.platform === "win32" ? win(options, bin) : await unix();
189
189
  return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
190
190
  }
191
- var layer = (options) => Layer.effect(Service47, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service60, Effect.gen(function* () {
192
192
  const global = yield* Global.Service;
193
193
  const state = create3({
194
194
  name: "shell-select",
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service47, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service47.of({
202
+ return Service60.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
- resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin)),
205
+ resolve: (input) => Effect.sync(() => resolve4(input, state.get().shell, options, global.bin)),
206
206
  list: () => Effect.promise(() => list4(options, global.bin))
207
207
  });
208
208
  }));
209
- function configured4(options) {
210
- return makeLocationNode({ service: Service47, layer: layer(options), deps: [Global.node] });
209
+ function configured9(options) {
210
+ return makeLocationNode({ service: Service60, layer: layer(options), deps: [Global.node] });
211
211
  }
212
- var node49 = configured4();
212
+ var node63 = configured9();
213
213
 
214
- export { Options4, Service47, gitbash2, name15, login2, ps2, args2, environment2, resolve2, list4, configured4, node49, exports_select };
214
+ export { Options9, Service60, gitbash2, name15, login2, ps2, args2, environment2, resolve4, list4, configured9, node63, exports_select };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  absoluteColumn2
3
- } from "./bus-qnc92qwc.js";
3
+ } from "./aisdk-qnc92qwc.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./bus-h2b79v29.js";
6
+ } from "./aisdk-3cegwx68.js";
7
7
 
8
8
  // src/worktree/sql.ts
9
9
  import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./bus-9rqn6x4v.js";
3
+ } from "./aisdk-9rqn6x4v.js";
4
4
 
5
5
  // src/repository.ts
6
6
  var exports_repository = {};
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  mergeOverlay2,
3
- Service69
4
- } from "./bus-2k8vvcse.js";
3
+ Service75
4
+ } from "./aisdk-dkc4gvyb.js";
5
5
  import {
6
- Service63
7
- } from "./bus-r8afh34n.js";
6
+ Service55
7
+ } from "./aisdk-c1tbcnkt.js";
8
8
 
9
9
  // src/plugin/provider/configured.ts
10
10
  import { Effect, Option } from "effect";
11
11
  var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
12
- const providers = yield* Service69;
12
+ const providers = yield* Service75;
13
13
  const current = (yield* providers.get(id))?.settings;
14
- const service = yield* Effect.serviceOption(Service63);
14
+ const service = yield* Effect.serviceOption(Service55);
15
15
  const entries = Option.isSome(service) ? yield* service.value.entries() : [];
16
16
  return foldSettings2(entries, id, current);
17
17
  });