@opencode/core 0.0.0-dev-20531 → 0.0.0-dev-20532

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 (779) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{filesystem-nn8fb7t6.js → bus-03aghczj.js} +11 -11
  8. package/dist/chunks/{filesystem-b68vaz6m.js → bus-0e67spv3.js} +13 -13
  9. package/dist/chunks/{filesystem-qr2vfm7c.js → bus-0hf2dabw.js} +20 -20
  10. package/dist/chunks/{filesystem-zt3hkk6n.js → bus-0hndetk6.js} +15 -15
  11. package/dist/chunks/{filesystem-yb9gdvbw.js → bus-0hw4ngcc.js} +31 -31
  12. package/dist/chunks/{filesystem-0paq2nw3.js → bus-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{filesystem-0vbcp93d.js → bus-0vbcp93d.js} +2 -2
  14. package/dist/chunks/{filesystem-4jpz076h.js → bus-0vnef71r.js} +17 -17
  15. package/dist/chunks/{filesystem-vr5k2d26.js → bus-0zwf7z4g.js} +1 -1
  16. package/dist/chunks/{filesystem-nkbqs3g6.js → bus-13ja4b2n.js} +3 -3
  17. package/dist/chunks/{filesystem-82sy2mg5.js → bus-15qybdcz.js} +4 -4
  18. package/dist/chunks/{filesystem-0h4w2jpr.js → bus-16563rrk.js} +20 -20
  19. package/dist/chunks/{filesystem-1acjjqhc.js → bus-1acjjqhc.js} +1 -1
  20. package/dist/chunks/{filesystem-9d45qq6m.js → bus-1c0fr8pw.js} +21 -21
  21. package/dist/chunks/{filesystem-c1rs4prt.js → bus-1chrhr7z.js} +5 -5
  22. package/dist/chunks/{filesystem-1dazxqgg.js → bus-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{filesystem-1dvck2a7.js → bus-1dvck2a7.js} +2 -2
  24. package/dist/chunks/{filesystem-9z5f2m0a.js → bus-1eh43htr.js} +5 -5
  25. package/dist/chunks/{filesystem-8fvnpy6c.js → bus-1m86xkfk.js} +6 -6
  26. package/dist/chunks/{filesystem-t2haz5gh.js → bus-1qdzc6f8.js} +32 -32
  27. package/dist/chunks/{filesystem-ts3jh11f.js → bus-202hh8b6.js} +11 -11
  28. package/dist/chunks/{filesystem-b3pp9b5c.js → bus-21kksasn.js} +48 -48
  29. package/dist/chunks/{filesystem-12sp09rz.js → bus-24xvpabx.js} +156 -156
  30. package/dist/chunks/{filesystem-2a5m3afh.js → bus-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{filesystem-jgqxxj2j.js → bus-2cz08s9n.js} +14 -14
  32. package/dist/chunks/{filesystem-da2yvjyp.js → bus-2ddq13q9.js} +14 -14
  33. package/dist/chunks/{filesystem-qpb5c1z6.js → bus-2hyk2cp1.js} +18 -18
  34. package/dist/chunks/{filesystem-g4kgyb8v.js → bus-2j28q1nd.js} +11 -11
  35. package/dist/chunks/{filesystem-f9skksj2.js → bus-2ms5z22y.js} +32 -32
  36. package/dist/chunks/{filesystem-pbt1jtcc.js → bus-2pxrdsrc.js} +3 -3
  37. package/dist/chunks/{filesystem-5eefmsp7.js → bus-2tfv36h4.js} +14 -14
  38. package/dist/chunks/{filesystem-h9g3g433.js → bus-2vffgt23.js} +27 -27
  39. package/dist/chunks/{filesystem-b7fwmpe3.js → bus-34x4fzdd.js} +13 -13
  40. package/dist/chunks/{filesystem-c4yrfsg4.js → bus-3dvr22m4.js} +9 -9
  41. package/dist/chunks/{filesystem-3fc6dm20.js → bus-3fc6dm20.js} +1 -1
  42. package/dist/chunks/{filesystem-wbg99yep.js → bus-3h50ke9p.js} +34 -34
  43. package/dist/chunks/{filesystem-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
  44. package/dist/chunks/{filesystem-2apkwqsb.js → bus-3ntj8y38.js} +10 -10
  45. package/dist/chunks/{filesystem-9q4c8q0k.js → bus-3psn7w7h.js} +34 -34
  46. package/dist/chunks/{filesystem-d4sssd0r.js → bus-3qnxet6s.js} +3 -3
  47. package/dist/chunks/{filesystem-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{filesystem-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
  49. package/dist/chunks/{filesystem-6tqa78yj.js → bus-3vq87t0z.js} +3 -3
  50. package/dist/chunks/{filesystem-2q1phy68.js → bus-3w0qzhbt.js} +42 -42
  51. package/dist/chunks/{filesystem-pm8b6h9m.js → bus-3wj6fqkv.js} +22 -22
  52. package/dist/chunks/{filesystem-03xyy9gs.js → bus-3zbwexce.js} +8 -8
  53. package/dist/chunks/{filesystem-3zsf4n22.js → bus-3zsf4n22.js} +1 -1
  54. package/dist/chunks/{filesystem-887wtq38.js → bus-4012ahpv.js} +27 -27
  55. package/dist/chunks/{filesystem-9dsgt9ga.js → bus-4t985zy3.js} +20 -20
  56. package/dist/chunks/{filesystem-4ts7tf6z.js → bus-4ts7tf6z.js} +2 -2
  57. package/dist/chunks/{filesystem-fsvjw6z4.js → bus-4ydbyy3z.js} +11 -11
  58. package/dist/chunks/{filesystem-4r8zejwp.js → bus-51wtszcy.js} +15 -15
  59. package/dist/chunks/{filesystem-64mvex4m.js → bus-528rwthr.js} +8 -8
  60. package/dist/chunks/{filesystem-54ma36ye.js → bus-54ma36ye.js} +1 -1
  61. package/dist/chunks/{filesystem-56gdpj1q.js → bus-56gdpj1q.js} +2 -2
  62. package/dist/chunks/{filesystem-wh6zw745.js → bus-57myy5jh.js} +5 -5
  63. package/dist/chunks/{filesystem-cj3ra4xv.js → bus-59d4rtjn.js} +22 -22
  64. package/dist/chunks/{filesystem-5daktx2q.js → bus-5daktx2q.js} +1 -1
  65. package/dist/chunks/{filesystem-k5d6ggnk.js → bus-5ebdnkka.js} +15 -15
  66. package/dist/chunks/{filesystem-5t3nmthw.js → bus-5t3nmthw.js} +2 -2
  67. package/dist/chunks/{filesystem-jp81aqv7.js → bus-5xr0x5g4.js} +21 -21
  68. package/dist/chunks/{filesystem-nqxj0yn4.js → bus-63db42yp.js} +2 -2
  69. package/dist/chunks/{filesystem-669tq793.js → bus-669tq793.js} +1 -1
  70. package/dist/chunks/{filesystem-bjwetsb5.js → bus-6988ze4e.js} +12 -12
  71. package/dist/chunks/{filesystem-ps5mjhzb.js → bus-719t7qwy.js} +15 -15
  72. package/dist/chunks/{filesystem-71az546q.js → bus-71az546q.js} +2 -2
  73. package/dist/chunks/{filesystem-2ycn1y7x.js → bus-764brepw.js} +16 -16
  74. package/dist/chunks/{filesystem-ar1hqry0.js → bus-771821tr.js} +8 -8
  75. package/dist/chunks/{filesystem-py70tdg1.js → bus-7849783s.js} +3 -3
  76. package/dist/chunks/{filesystem-53dbz2qs.js → bus-79mtfj5c.js} +25 -25
  77. package/dist/chunks/{filesystem-zfd6e9bj.js → bus-7amahv2c.js} +12 -12
  78. package/dist/chunks/{filesystem-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{filesystem-7dqw4kz8.js → bus-7dqw4kz8.js} +1 -1
  80. package/dist/chunks/{filesystem-8f26ydmn.js → bus-7fy529hx.js} +41 -41
  81. package/dist/chunks/{filesystem-drqqp3v9.js → bus-7qaytd5a.js} +27 -27
  82. package/dist/chunks/{filesystem-w69xzprf.js → bus-7v63qsk7.js} +17 -17
  83. package/dist/chunks/{filesystem-8d7r5vzw.js → bus-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{filesystem-dkbsewq8.js → bus-8g25bh64.js} +29 -29
  85. package/dist/chunks/{filesystem-7tmatsbb.js → bus-8phe8gs5.js} +7 -7
  86. package/dist/chunks/{filesystem-vgx6weyf.js → bus-8s1fj8xg.js} +8 -8
  87. package/dist/chunks/{filesystem-v9wwnm74.js → bus-8zfs4s2h.js} +10 -10
  88. package/dist/chunks/{filesystem-2gqdvf5a.js → bus-90rzbcvz.js} +5 -5
  89. package/dist/chunks/{filesystem-qhrb4a35.js → bus-939s0wb1.js} +18 -18
  90. package/dist/chunks/{filesystem-p8ssyvcj.js → bus-99y98v8q.js} +30 -30
  91. package/dist/chunks/{filesystem-9e5bzkjp.js → bus-9e5bzkjp.js} +3 -3
  92. package/dist/chunks/{filesystem-dxn0tv1e.js → bus-9pe7jy64.js} +18 -18
  93. package/dist/chunks/{filesystem-ssxp0zwz.js → bus-9pmshs7t.js} +4 -4
  94. package/dist/chunks/{filesystem-hz0mfcnp.js → bus-9pzwtkzk.js} +5 -5
  95. package/dist/chunks/{filesystem-2kn5e7ew.js → bus-9syxb0r3.js} +7 -7
  96. package/dist/chunks/{filesystem-4a0nv7mx.js → bus-a2qe2ev9.js} +8 -8
  97. package/dist/chunks/{filesystem-ts1v98fg.js → bus-a3m27bpe.js} +28 -28
  98. package/dist/chunks/{filesystem-aaet6srn.js → bus-aaet6srn.js} +2 -2
  99. package/dist/chunks/{filesystem-bqnke3pc.js → bus-adp03cxn.js} +11 -11
  100. package/dist/chunks/{filesystem-hrs77wz1.js → bus-aq5xdgj7.js} +18 -18
  101. package/dist/chunks/{filesystem-yvxbrs33.js → bus-atm27pd5.js} +6 -6
  102. package/dist/chunks/{filesystem-b57xqxwy.js → bus-b1263dz2.js} +12 -12
  103. package/dist/chunks/{filesystem-73tar9qe.js → bus-b34btn2x.js} +4 -4
  104. package/dist/chunks/{filesystem-8mjme096.js → bus-b5txeqhw.js} +25 -25
  105. package/dist/chunks/{filesystem-b6gygkdw.js → bus-b6gygkdw.js} +2 -2
  106. package/dist/chunks/{filesystem-31181pcg.js → bus-b6we54v8.js} +63 -63
  107. package/dist/chunks/{filesystem-5nv1sxm7.js → bus-bsyda0wx.js} +8 -8
  108. package/dist/chunks/{filesystem-qmqgtz8f.js → bus-c765mh8b.js} +9 -9
  109. package/dist/chunks/{filesystem-z9gshpcf.js → bus-c7k02rcr.js} +30 -30
  110. package/dist/chunks/{filesystem-mjymc32g.js → bus-cavr175a.js} +4 -4
  111. package/dist/chunks/{filesystem-p1qa6xf0.js → bus-ce9wzpbj.js} +5 -5
  112. package/dist/chunks/{filesystem-6ey4jt7g.js → bus-cf5ayd46.js} +11 -11
  113. package/dist/chunks/{filesystem-778v1p37.js → bus-cjtr81bg.js} +4 -4
  114. package/dist/chunks/{filesystem-nrrs8pkn.js → bus-cmg2xcs5.js} +11 -11
  115. package/dist/chunks/{filesystem-1rpgv84q.js → bus-cmgwyfv0.js} +20 -20
  116. package/dist/chunks/{filesystem-80zwctzz.js → bus-cmzv90b7.js} +17 -17
  117. package/dist/chunks/{filesystem-85p9n8tz.js → bus-csy1xffp.js} +21 -21
  118. package/dist/chunks/{filesystem-ctefx7dc.js → bus-ctefx7dc.js} +1 -1
  119. package/dist/chunks/{filesystem-h125g6et.js → bus-cvpp86w1.js} +5 -5
  120. package/dist/chunks/{filesystem-91vxggq8.js → bus-cvz7ssjq.js} +24 -24
  121. package/dist/chunks/{filesystem-wmn0mqt9.js → bus-d410y363.js} +5 -5
  122. package/dist/chunks/{filesystem-a08sk1xf.js → bus-d8gr1114.js} +24 -24
  123. package/dist/chunks/{filesystem-addxnjmp.js → bus-db2wf4at.js} +4 -4
  124. package/dist/chunks/{filesystem-e2ecsfnz.js → bus-dbe7j1rs.js} +11 -11
  125. package/dist/chunks/{filesystem-scqv88yq.js → bus-ddcjqb7b.js} +29 -29
  126. package/dist/chunks/{filesystem-fyhjcypg.js → bus-dhcdh4fe.js} +11 -11
  127. package/dist/chunks/{filesystem-dpkg50ah.js → bus-dpkg50ah.js} +1 -1
  128. package/dist/chunks/{filesystem-msp0qmja.js → bus-dtn93m2r.js} +11 -11
  129. package/dist/chunks/{filesystem-wk58j6tm.js → bus-dxj613cd.js} +12 -12
  130. package/dist/chunks/{filesystem-fxbx2n37.js → bus-dyfbzmt6.js} +36 -36
  131. package/dist/chunks/{filesystem-xen5jtsa.js → bus-e47b9zhk.js} +1 -1
  132. package/dist/chunks/{filesystem-snf1tfdw.js → bus-e8vwfchq.js} +6 -6
  133. package/dist/chunks/{filesystem-ef5x83kb.js → bus-ef5x83kb.js} +1 -1
  134. package/dist/chunks/{filesystem-6nqryyh5.js → bus-emzxkhp6.js} +52 -52
  135. package/dist/chunks/{filesystem-pkrc5xvy.js → bus-et242a98.js} +30 -30
  136. package/dist/chunks/{filesystem-etq0c3wd.js → bus-etq0c3wd.js} +1 -1
  137. package/dist/chunks/{filesystem-q0w5zgnd.js → bus-f6sqqyc6.js} +13 -13
  138. package/dist/chunks/{filesystem-tqhhq86f.js → bus-fkt3mz8v.js} +11 -11
  139. package/dist/chunks/{filesystem-2n81hgv1.js → bus-fx4tvk9b.js} +4 -4
  140. package/dist/chunks/{filesystem-k70p9jzb.js → bus-g31erja1.js} +9 -9
  141. package/dist/chunks/{filesystem-2w3n3m8j.js → bus-g6887ffs.js} +5 -5
  142. package/dist/chunks/{filesystem-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
  143. package/dist/chunks/{filesystem-eh93c3s7.js → bus-ge9ne9cr.js} +7 -7
  144. package/dist/chunks/{filesystem-cdmtew64.js → bus-gfqb8dcq.js} +8 -8
  145. package/dist/chunks/{filesystem-acdp6s4z.js → bus-ghdpaqfd.js} +17 -17
  146. package/dist/chunks/{filesystem-kwqjewqr.js → bus-gp777cqg.js} +71 -71
  147. package/dist/chunks/{filesystem-m7a2mh30.js → bus-gp8gzmxj.js} +24 -24
  148. package/dist/chunks/{filesystem-sew9t773.js → bus-gq8z9g07.js} +22 -22
  149. package/dist/chunks/{filesystem-n1n192bv.js → bus-gw7cjrad.js} +4 -4
  150. package/dist/chunks/{filesystem-h2b79v29.js → bus-h2b79v29.js} +2 -2
  151. package/dist/chunks/{filesystem-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
  152. package/dist/chunks/{filesystem-6td2m5pa.js → bus-h9h2sp5f.js} +14 -14
  153. package/dist/chunks/{filesystem-r2jew814.js → bus-h9rm1rrn.js} +5 -5
  154. package/dist/chunks/{filesystem-xn8gay62.js → bus-hawkgyqk.js} +12 -12
  155. package/dist/chunks/{filesystem-9k8khh75.js → bus-hbepmwya.js} +17 -17
  156. package/dist/chunks/{filesystem-kjfdeayr.js → bus-hv7mkmtw.js} +5 -5
  157. package/dist/chunks/{filesystem-7wx2pc4d.js → bus-hws9xae0.js} +5 -5
  158. package/dist/chunks/{filesystem-45jk3jnj.js → bus-hx4cwj70.js} +13 -13
  159. package/dist/chunks/{filesystem-z850ddpp.js → bus-hxeztvh1.js} +30 -30
  160. package/dist/chunks/{filesystem-gf17gtxz.js → bus-j4zenrww.js} +7 -7
  161. package/dist/chunks/{filesystem-j56e64zr.js → bus-j56e64zr.js} +1 -1
  162. package/dist/chunks/{filesystem-38a9mec5.js → bus-j5mjpdyd.js} +19 -19
  163. package/dist/chunks/{filesystem-b4vpaca7.js → bus-j8dqwpvr.js} +44 -44
  164. package/dist/chunks/{filesystem-anshh03w.js → bus-j9w8r9tz.js} +3 -3
  165. package/dist/chunks/{filesystem-pn1pz4vq.js → bus-jya8gd5a.js} +15 -15
  166. package/dist/chunks/{filesystem-ennymmbt.js → bus-k2376248.js} +15 -15
  167. package/dist/chunks/{filesystem-5kvqrqtt.js → bus-k3sn4jay.js} +4 -4
  168. package/dist/chunks/{filesystem-h1g26gxa.js → bus-ka4ktcdt.js} +8 -8
  169. package/dist/chunks/{filesystem-5c3xf46m.js → bus-kd3kkb04.js} +5 -5
  170. package/dist/chunks/{filesystem-82qs4kd9.js → bus-kdc4anf3.js} +2 -2
  171. package/dist/chunks/{filesystem-n3ryxqmw.js → bus-kjvzpkxx.js} +11 -11
  172. package/dist/chunks/{filesystem-qbqbaz6q.js → bus-kkp8zx71.js} +4 -4
  173. package/dist/chunks/{filesystem-espax8zg.js → bus-knevfgda.js} +4 -4
  174. package/dist/chunks/{filesystem-fxrszsqc.js → bus-kvb2njdg.js} +11 -11
  175. package/dist/chunks/{filesystem-m3fdjcah.js → bus-m3fdjcah.js} +1 -1
  176. package/dist/chunks/{filesystem-ym8tb199.js → bus-m735122a.js} +12 -12
  177. package/dist/chunks/{filesystem-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
  178. package/dist/chunks/{filesystem-3pv6zzd2.js → bus-mnjrpp8b.js} +24 -24
  179. package/dist/chunks/{filesystem-a1gpj94z.js → bus-mvfsc1pv.js} +3 -3
  180. package/dist/chunks/{filesystem-eafe18m5.js → bus-n5w125mz.js} +10 -10
  181. package/dist/chunks/{filesystem-kwjc5r28.js → bus-n724cj1w.js} +4 -4
  182. package/dist/chunks/{filesystem-906zpy71.js → bus-ndkh5v9a.js} +305 -305
  183. package/dist/chunks/{filesystem-gz5xbxw7.js → bus-nm5mg1ey.js} +10 -10
  184. package/dist/chunks/{filesystem-6n7seegv.js → bus-nrz4fk0v.js} +20 -20
  185. package/dist/chunks/{filesystem-axs6pdy0.js → bus-nz569jqt.js} +5 -5
  186. package/dist/chunks/{filesystem-hbayhptd.js → bus-nza4zmv1.js} +45 -45
  187. package/dist/chunks/{filesystem-y0cyrr97.js → bus-p2mhzkt3.js} +9 -9
  188. package/dist/chunks/{filesystem-6xzq5fa6.js → bus-pazb1ewk.js} +3 -3
  189. package/dist/chunks/{filesystem-cmwkp3r5.js → bus-phstrbs2.js} +8 -8
  190. package/dist/chunks/{filesystem-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
  191. package/dist/chunks/{filesystem-pknna89w.js → bus-pknna89w.js} +1 -1
  192. package/dist/chunks/{filesystem-zfs8ae4p.js → bus-pkqb68ka.js} +4 -4
  193. package/dist/chunks/{filesystem-2e1yz4t0.js → bus-pr326b8c.js} +11 -11
  194. package/dist/chunks/{filesystem-q0xm7vwc.js → bus-q0xm7vwc.js} +2 -2
  195. package/dist/chunks/{filesystem-5jy0kct7.js → bus-q4brc5g0.js} +11 -11
  196. package/dist/chunks/{filesystem-3xy3xwp7.js → bus-q4tvs8r8.js} +8 -8
  197. package/dist/chunks/{filesystem-bex1x4zy.js → bus-qekcdh3p.js} +3 -3
  198. package/dist/chunks/{filesystem-j4gdhs7y.js → bus-qgfw8dyt.js} +9 -9
  199. package/dist/chunks/{filesystem-qnc92qwc.js → bus-qnc92qwc.js} +1 -1
  200. package/dist/chunks/{filesystem-xt1atnrg.js → bus-qqbgmfg2.js} +3 -3
  201. package/dist/chunks/{filesystem-j8k5ysy1.js → bus-qrzwks82.js} +25 -25
  202. package/dist/chunks/{filesystem-qsdy395h.js → bus-qsdy395h.js} +1 -1
  203. package/dist/chunks/{filesystem-68dcddmz.js → bus-r01t9b5y.js} +6 -6
  204. package/dist/chunks/{filesystem-bpbp8hpr.js → bus-r2jwvky4.js} +27 -27
  205. package/dist/chunks/{filesystem-fzrnca5p.js → bus-r9vefb5s.js} +15 -15
  206. package/dist/chunks/{filesystem-jvnkzp89.js → bus-rc5jmt6g.js} +11 -11
  207. package/dist/chunks/{filesystem-mv8b8kps.js → bus-rddwsqyn.js} +6 -6
  208. package/dist/chunks/{filesystem-rdw6cm16.js → bus-rdw6cm16.js} +1 -1
  209. package/dist/chunks/{filesystem-5r28c85n.js → bus-rkgkngmn.js} +10 -10
  210. package/dist/chunks/{filesystem-t6vsspdg.js → bus-ryr25ayn.js} +7 -7
  211. package/dist/chunks/{filesystem-q9tf20sz.js → bus-sbh8a9vz.js} +4 -4
  212. package/dist/chunks/{filesystem-cwbdp38r.js → bus-skts9bh6.js} +4 -4
  213. package/dist/chunks/{filesystem-s7j8m5w2.js → bus-snefhk9q.js} +15 -15
  214. package/dist/chunks/{filesystem-eaa81kvs.js → bus-sq76bqdv.js} +25 -25
  215. package/dist/chunks/{filesystem-dyyz5283.js → bus-sqevgg1x.js} +6 -6
  216. package/dist/chunks/{filesystem-arz7hw7x.js → bus-ss358qx3.js} +3 -3
  217. package/dist/chunks/{filesystem-kzarbxz4.js → bus-swq4dna8.js} +33 -33
  218. package/dist/chunks/{filesystem-9z7zeshw.js → bus-sxc61acf.js} +22 -22
  219. package/dist/chunks/{filesystem-dhmh7aw6.js → bus-t7n9q6bq.js} +4 -4
  220. package/dist/chunks/{filesystem-0jnt77nz.js → bus-ta4w37jc.js} +8 -8
  221. package/dist/chunks/{filesystem-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
  222. package/dist/chunks/{filesystem-c8bydgjz.js → bus-tcay1cqt.js} +6 -6
  223. package/dist/chunks/{filesystem-tcezcvh9.js → bus-tcezcvh9.js} +1 -1
  224. package/dist/chunks/{filesystem-fn3q1e6y.js → bus-tdqx4ye7.js} +3 -3
  225. package/dist/chunks/{filesystem-tdstcens.js → bus-tdstcens.js} +1 -1
  226. package/dist/chunks/{filesystem-58tv462p.js → bus-tgnb2k4a.js} +11 -11
  227. package/dist/chunks/{filesystem-b4twkq7r.js → bus-ts23464c.js} +8 -8
  228. package/dist/chunks/{filesystem-zrh84zxt.js → bus-tswwq3g5.js} +11 -11
  229. package/dist/chunks/{filesystem-v0es1rhs.js → bus-v0es1rhs.js} +2 -2
  230. package/dist/chunks/{filesystem-bkn7p5q5.js → bus-v55f9rey.js} +13 -13
  231. package/dist/chunks/{filesystem-78darpkf.js → bus-vbz2qf1p.js} +2 -2
  232. package/dist/chunks/{filesystem-a9rbwxzk.js → bus-vcf4f7mm.js} +16 -16
  233. package/dist/chunks/{filesystem-hrd6cbb0.js → bus-vedgqtbf.js} +32 -32
  234. package/dist/chunks/{filesystem-veqvce7d.js → bus-veqvce7d.js} +1 -1
  235. package/dist/chunks/{filesystem-3y96te51.js → bus-vhr03ngy.js} +26 -26
  236. package/dist/chunks/{filesystem-qrn3jd90.js → bus-vnzjp2xb.js} +41 -41
  237. package/dist/chunks/{filesystem-8wn17bgt.js → bus-vtvabry8.js} +11 -11
  238. package/dist/chunks/{filesystem-vzcthcp8.js → bus-vzcthcp8.js} +1 -1
  239. package/dist/chunks/{filesystem-vzs5sf6e.js → bus-vzs5sf6e.js} +1 -1
  240. package/dist/chunks/{filesystem-g5w8qwbj.js → bus-w19d8598.js} +7 -7
  241. package/dist/chunks/{filesystem-w1eejvng.js → bus-w1eejvng.js} +1 -1
  242. package/dist/chunks/{filesystem-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
  243. package/dist/chunks/{filesystem-m4fxjmpc.js → bus-w60s1nmp.js} +9 -9
  244. package/dist/chunks/{filesystem-wd87259q.js → bus-wd87259q.js} +1 -1
  245. package/dist/chunks/{filesystem-e53c762s.js → bus-wmq16de2.js} +4 -4
  246. package/dist/chunks/{filesystem-dyehecrw.js → bus-wt7wxqbg.js} +17 -17
  247. package/dist/chunks/{filesystem-s8d7rejh.js → bus-wv396vej.js} +8 -8
  248. package/dist/chunks/bus-wvd0q0e3.js +253 -0
  249. package/dist/chunks/{filesystem-ptnpxtm5.js → bus-wx3zay9s.js} +24 -24
  250. package/dist/chunks/{filesystem-ns3eape4.js → bus-wxyynt4w.js} +1 -1
  251. package/dist/chunks/{filesystem-x1ezjp6w.js → bus-x1ezjp6w.js} +1 -1
  252. package/dist/chunks/{filesystem-5jtj29cv.js → bus-x1rhyk66.js} +34 -34
  253. package/dist/chunks/{filesystem-v15jgdj5.js → bus-x9zh6xzs.js} +76 -76
  254. package/dist/chunks/{filesystem-2zadq5g7.js → bus-xa7wt3am.js} +7 -7
  255. package/dist/chunks/{filesystem-pv8gv9eh.js → bus-xbhk2476.js} +28 -28
  256. package/dist/chunks/{filesystem-dhcb13vn.js → bus-xc5p1kc4.js} +11 -11
  257. package/dist/chunks/{filesystem-c8fjvqma.js → bus-xegabxqp.js} +7 -7
  258. package/dist/chunks/{filesystem-xkntkrq7.js → bus-xkntkrq7.js} +2 -2
  259. package/dist/chunks/{filesystem-eagghdma.js → bus-xqe8086j.js} +13 -13
  260. package/dist/chunks/{filesystem-qxjc9qry.js → bus-xyafkbt0.js} +3 -3
  261. package/dist/chunks/{filesystem-thsy2857.js → bus-xz0ghwzw.js} +3 -3
  262. package/dist/chunks/{filesystem-vzjemywg.js → bus-y03t8dw0.js} +17 -17
  263. package/dist/chunks/{filesystem-tk8x1hm1.js → bus-y0kd2ap1.js} +19 -19
  264. package/dist/chunks/{filesystem-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/{filesystem-fwwk8vbp.js → bus-y56ehv6b.js} +9 -9
  266. package/dist/chunks/{filesystem-143r6mr8.js → bus-ydxad0et.js} +44 -44
  267. package/dist/chunks/{filesystem-hz0q9sdq.js → bus-yf10kn3d.js} +8 -8
  268. package/dist/chunks/{filesystem-78spbjhq.js → bus-yf8jw645.js} +16 -16
  269. package/dist/chunks/{filesystem-gv6xq7ga.js → bus-yh84mqgm.js} +18 -18
  270. package/dist/chunks/{filesystem-yrhqyw5v.js → bus-yrhqyw5v.js} +1 -1
  271. package/dist/chunks/{filesystem-zc5g640q.js → bus-ytt4s9tm.js} +5 -5
  272. package/dist/chunks/{filesystem-cykga7bk.js → bus-yw029tn0.js} +13 -13
  273. package/dist/chunks/{filesystem-awtjdqmz.js → bus-ywvphykk.js} +26 -26
  274. package/dist/chunks/{filesystem-z0bkrqjs.js → bus-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{filesystem-5mb7ck5g.js → bus-z3vf4qqs.js} +10 -10
  276. package/dist/chunks/{filesystem-7ktbgdd3.js → bus-z55wc6c1.js} +6 -6
  277. package/dist/chunks/{filesystem-0r3c1bmw.js → bus-z6c3x22d.js} +5 -5
  278. package/dist/chunks/{filesystem-6pe82dve.js → bus-zgktkfeb.js} +31 -31
  279. package/dist/chunks/{filesystem-w8djw5a7.js → bus-zn5v3n4q.js} +9 -9
  280. package/dist/chunks/{filesystem-zr2ceqn5.js → bus-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{filesystem-dwetzd9n.js → bus-zrc63wqg.js} +16 -16
  282. package/dist/chunks/{filesystem-gx4wbphy.js → bus-zs0mdj6c.js} +8 -8
  283. package/dist/chunks/{filesystem-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
  284. package/dist/chunks/{filesystem-zyk1yjk8.js → bus-zyk1yjk8.js} +2 -2
  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 +85 -85
  290. package/dist/config/discovery.js +82 -82
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +99 -99
  293. package/dist/config/plugin/agent.js +116 -116
  294. package/dist/config/plugin/command.js +205 -205
  295. package/dist/config/plugin/compaction.js +154 -154
  296. package/dist/config/plugin/compatibility.js +134 -134
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +117 -117
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +90 -90
  301. package/dist/config/plugin/location-watcher.js +116 -116
  302. package/dist/config/plugin/mcp.js +123 -123
  303. package/dist/config/plugin/policy.js +117 -117
  304. package/dist/config/plugin/provider.js +116 -116
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +118 -118
  307. package/dist/config/plugin/skill-file.js +102 -102
  308. package/dist/config/plugin/skill.js +137 -137
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +113 -113
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +117 -117
  313. package/dist/config/plugin/worktree.js +118 -118
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +117 -117
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +85 -85
  319. package/dist/database/database.js +66 -66
  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.gen.js +49 -49
  385. package/dist/database/migration.js +51 -51
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +76 -76
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +364 -364
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +93 -93
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +95 -95
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +70 -70
  409. package/dist/file-access.js +104 -104
  410. package/dist/file-mutation.js +94 -94
  411. package/dist/file-retention.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +218 -218
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +93 -93
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +11 -11
  422. package/dist/filesystem.js +94 -94
  423. package/dist/form.js +84 -84
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +87 -87
  426. package/dist/generate.js +99 -99
  427. package/dist/git.js +6 -6
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +91 -91
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +355 -355
  451. package/dist/instruction-discovery.js +81 -81
  452. package/dist/instructions/builtins.js +87 -87
  453. package/dist/instructions/index.js +5 -5
  454. package/dist/integration/connection.js +3 -3
  455. package/dist/integration.js +87 -87
  456. package/dist/job.js +76 -76
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +73 -73
  459. package/dist/location-activity.js +131 -131
  460. package/dist/location-lifecycle.js +107 -107
  461. package/dist/location-service-map.js +86 -86
  462. package/dist/location-services.js +352 -352
  463. package/dist/location.js +81 -81
  464. package/dist/managed-policy.js +5 -5
  465. package/dist/mcp/client.js +91 -91
  466. package/dist/mcp/index.js +97 -97
  467. package/dist/mcp/instructions.js +123 -123
  468. package/dist/mcp/oauth.js +78 -78
  469. package/dist/mcp/stdio.js +90 -90
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +91 -91
  472. package/dist/model-resolver.js +98 -98
  473. package/dist/model.js +100 -100
  474. package/dist/models-dev.js +99 -99
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +80 -80
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +113 -113
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +78 -78
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +75 -75
  484. package/dist/plugin/agent.js +102 -102
  485. package/dist/plugin/command.js +100 -100
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +211 -211
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +327 -327
  491. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  492. package/dist/plugin/models-dev.js +96 -96
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +4 -4
  495. package/dist/plugin/plan.js +102 -102
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  498. package/dist/plugin/provider/azure.js +117 -117
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +93 -93
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +112 -112
  505. package/dist/plugin/provider/digitalocean.js +93 -93
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/gateway.js +2 -2
  509. package/dist/plugin/provider/github-copilot.js +95 -95
  510. package/dist/plugin/provider/gitlab.js +93 -93
  511. package/dist/plugin/provider/google-vertex.js +90 -90
  512. package/dist/plugin/provider/kilo.js +1 -1
  513. package/dist/plugin/provider/llmgateway.js +78 -78
  514. package/dist/plugin/provider/lmstudio.js +115 -115
  515. package/dist/plugin/provider/modal.js +92 -92
  516. package/dist/plugin/provider/nvidia.js +1 -1
  517. package/dist/plugin/provider/ollama.js +113 -113
  518. package/dist/plugin/provider/openai.js +95 -95
  519. package/dist/plugin/provider/opencode.js +96 -96
  520. package/dist/plugin/provider/openrouter.js +91 -91
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +79 -79
  523. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  524. package/dist/plugin/provider/sap-ai-core.js +91 -91
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  527. package/dist/plugin/provider/venice.js +2 -2
  528. package/dist/plugin/provider/vercel.js +90 -90
  529. package/dist/plugin/provider/vllm.js +115 -115
  530. package/dist/plugin/provider/xai.js +91 -91
  531. package/dist/plugin/provider/zenmux.js +1 -1
  532. package/dist/plugin/provider.js +156 -156
  533. package/dist/plugin/sdk.js +76 -76
  534. package/dist/plugin/service.js +1 -1
  535. package/dist/plugin/skill.js +132 -132
  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 +84 -84
  541. package/dist/plugin/vcs/hg.js +84 -84
  542. package/dist/plugin/verbosity.js +93 -93
  543. package/dist/plugin/warming.js +114 -114
  544. package/dist/plugin/websearch/exa.js +5 -5
  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 +6 -6
  549. package/dist/plugin/websearch/tavily.js +4 -4
  550. package/dist/plugin/websearch/tinyfish.js +6 -6
  551. package/dist/plugin.js +214 -214
  552. package/dist/project/schema.js +2 -2
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +80 -80
  555. package/dist/provider.js +101 -101
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/ticket.js +1 -1
  558. package/dist/pty.js +89 -89
  559. package/dist/reference/instructions.js +89 -89
  560. package/dist/reference.js +91 -91
  561. package/dist/repository-cache.js +81 -81
  562. package/dist/repository.js +1 -1
  563. package/dist/ripgrep/binary.js +2 -2
  564. package/dist/ripgrep.js +91 -91
  565. package/dist/rpc.js +86 -86
  566. package/dist/schema.js +1 -1
  567. package/dist/session/affinity.js +1 -1
  568. package/dist/session/command.js +74 -74
  569. package/dist/session/compaction.js +135 -135
  570. package/dist/session/context.js +151 -151
  571. package/dist/session/diff.js +88 -88
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +5 -5
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +211 -211
  576. package/dist/session/execution.js +125 -125
  577. package/dist/session/generate.js +152 -152
  578. package/dist/session/history.js +13 -13
  579. package/dist/session/inbox.js +86 -86
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +77 -77
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +97 -97
  584. package/dist/session/message-updater.js +2 -2
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +120 -120
  587. package/dist/session/model-transport.js +9 -9
  588. package/dist/session/move.js +125 -125
  589. package/dist/session/projector.js +86 -86
  590. package/dist/session/prompt.js +105 -105
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +90 -90
  593. package/dist/session/run-coordinator.js +1 -1
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +224 -224
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +98 -98
  598. package/dist/session/runner/publish-llm-event.js +113 -113
  599. package/dist/session/runner/retry.js +2 -2
  600. package/dist/session/runner/step.js +123 -123
  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 +162 -162
  604. package/dist/session/shell.js +130 -130
  605. package/dist/session/skill.js +103 -103
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +73 -73
  608. package/dist/session/store.js +85 -85
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +201 -201
  611. package/dist/session/system-prompt.js +5 -5
  612. package/dist/session/title.js +155 -155
  613. package/dist/session/to-session-error.js +111 -111
  614. package/dist/session/transfer.js +204 -204
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +205 -205
  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 +7 -7
  621. package/dist/shell.js +132 -132
  622. package/dist/skill/discovery.js +6 -6
  623. package/dist/skill/instructions.js +107 -107
  624. package/dist/skill.js +112 -112
  625. package/dist/snapshot.js +91 -91
  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 +128 -128
  630. package/dist/tool/plugin/edit.js +120 -120
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +118 -118
  633. package/dist/tool/plugin/grep.js +124 -124
  634. package/dist/tool/plugin/mcp-resource.js +117 -117
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +122 -122
  637. package/dist/tool/plugin/question.js +103 -103
  638. package/dist/tool/plugin/read.js +125 -125
  639. package/dist/tool/plugin/shell.js +210 -210
  640. package/dist/tool/plugin/skill.js +113 -113
  641. package/dist/tool/plugin/subagent.js +212 -212
  642. package/dist/tool/plugin/webfetch.js +110 -110
  643. package/dist/tool/plugin/websearch.js +114 -114
  644. package/dist/tool/plugin/write.js +122 -122
  645. package/dist/tool/read-filesystem.js +100 -100
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +7 -7
  648. package/dist/tool.js +14 -14
  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 +5 -5
  659. package/dist/v1/config/command.js +5 -5
  660. package/dist/v1/config/error.js +2 -2
  661. package/dist/v1/config/mcp.js +4 -4
  662. package/dist/v1/config/migrate.js +92 -92
  663. package/dist/v1/config/permission.js +3 -3
  664. package/dist/v1/config/plugin.js +1 -1
  665. package/dist/v1/config/provider-options.js +1 -1
  666. package/dist/v1/config/provider.js +4 -4
  667. package/dist/variant.js +91 -91
  668. package/dist/vcs/patch.js +1 -1
  669. package/dist/vcs.js +89 -89
  670. package/dist/websearch.js +80 -80
  671. package/dist/wellknown/plugin.js +76 -76
  672. package/dist/wellknown.js +79 -79
  673. package/dist/workspace/driver.js +5 -5
  674. package/dist/workspace/sql.js +1 -1
  675. package/dist/workspace.js +78 -78
  676. package/dist/worktree/directory.js +2 -2
  677. package/dist/worktree/git.js +8 -8
  678. package/dist/worktree/sql.js +5 -5
  679. package/dist/worktree/strategies.js +89 -89
  680. package/dist/worktree.js +96 -96
  681. package/package.json +8 -8
  682. package/dist/chunks/filesystem-rswcn97f.js +0 -253
  683. /package/dist/chunks/{filesystem-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
  684. /package/dist/chunks/{filesystem-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
  685. /package/dist/chunks/{filesystem-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
  686. /package/dist/chunks/{filesystem-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
  687. /package/dist/chunks/{filesystem-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
  688. /package/dist/chunks/{filesystem-24dcb14g.js → bus-24dcb14g.js} +0 -0
  689. /package/dist/chunks/{filesystem-2710q6r3.js → bus-2710q6r3.js} +0 -0
  690. /package/dist/chunks/{filesystem-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
  691. /package/dist/chunks/{filesystem-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
  692. /package/dist/chunks/{filesystem-34c7v6d4.js → bus-34c7v6d4.js} +0 -0
  693. /package/dist/chunks/{filesystem-359p4xyc.js → bus-359p4xyc.js} +0 -0
  694. /package/dist/chunks/{filesystem-3asan66x.js → bus-3asan66x.js} +0 -0
  695. /package/dist/chunks/{filesystem-3t0ybcrp.js → bus-3t0ybcrp.js} +0 -0
  696. /package/dist/chunks/{filesystem-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
  697. /package/dist/chunks/{filesystem-3w5fmr99.js → bus-3w5fmr99.js} +0 -0
  698. /package/dist/chunks/{filesystem-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
  699. /package/dist/chunks/{filesystem-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
  700. /package/dist/chunks/{filesystem-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
  701. /package/dist/chunks/{filesystem-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
  702. /package/dist/chunks/{filesystem-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
  703. /package/dist/chunks/{filesystem-53557ph1.js → bus-53557ph1.js} +0 -0
  704. /package/dist/chunks/{filesystem-550bvhaj.js → bus-550bvhaj.js} +0 -0
  705. /package/dist/chunks/{filesystem-5qd3pb7m.js → bus-5qd3pb7m.js} +0 -0
  706. /package/dist/chunks/{filesystem-6prwharc.js → bus-6prwharc.js} +0 -0
  707. /package/dist/chunks/{filesystem-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
  708. /package/dist/chunks/{filesystem-7m9af43g.js → bus-7m9af43g.js} +0 -0
  709. /package/dist/chunks/{filesystem-822emrt2.js → bus-822emrt2.js} +0 -0
  710. /package/dist/chunks/{filesystem-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
  711. /package/dist/chunks/{filesystem-8n3pysct.js → bus-8n3pysct.js} +0 -0
  712. /package/dist/chunks/{filesystem-8wj87zfr.js → bus-8wj87zfr.js} +0 -0
  713. /package/dist/chunks/{filesystem-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
  714. /package/dist/chunks/{filesystem-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
  715. /package/dist/chunks/{filesystem-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
  716. /package/dist/chunks/{filesystem-af5trqkr.js → bus-af5trqkr.js} +0 -0
  717. /package/dist/chunks/{filesystem-afrmfg78.js → bus-afrmfg78.js} +0 -0
  718. /package/dist/chunks/{filesystem-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
  719. /package/dist/chunks/{filesystem-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
  720. /package/dist/chunks/{filesystem-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
  721. /package/dist/chunks/{filesystem-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
  722. /package/dist/chunks/{filesystem-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
  723. /package/dist/chunks/{filesystem-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
  724. /package/dist/chunks/{filesystem-d9fn303g.js → bus-d9fn303g.js} +0 -0
  725. /package/dist/chunks/{filesystem-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
  726. /package/dist/chunks/{filesystem-dajrwvna.js → bus-dajrwvna.js} +0 -0
  727. /package/dist/chunks/{filesystem-dap0rakb.js → bus-dap0rakb.js} +0 -0
  728. /package/dist/chunks/{filesystem-df08tz66.js → bus-df08tz66.js} +0 -0
  729. /package/dist/chunks/{filesystem-dy18nga0.js → bus-dy18nga0.js} +0 -0
  730. /package/dist/chunks/{filesystem-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
  731. /package/dist/chunks/{filesystem-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
  732. /package/dist/chunks/{filesystem-ec1grn59.js → bus-ec1grn59.js} +0 -0
  733. /package/dist/chunks/{filesystem-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
  734. /package/dist/chunks/{filesystem-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
  735. /package/dist/chunks/{filesystem-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
  736. /package/dist/chunks/{filesystem-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
  737. /package/dist/chunks/{filesystem-faypxj3z.js → bus-faypxj3z.js} +0 -0
  738. /package/dist/chunks/{filesystem-fd410y7t.js → bus-fd410y7t.js} +0 -0
  739. /package/dist/chunks/{filesystem-fxgpk5d8.js → bus-fxgpk5d8.js} +0 -0
  740. /package/dist/chunks/{filesystem-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
  741. /package/dist/chunks/{filesystem-g86h250q.js → bus-g86h250q.js} +0 -0
  742. /package/dist/chunks/{filesystem-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
  743. /package/dist/chunks/{filesystem-gftt206x.js → bus-gftt206x.js} +0 -0
  744. /package/dist/chunks/{filesystem-hjbc5kem.js → bus-hjbc5kem.js} +0 -0
  745. /package/dist/chunks/{filesystem-hk9envan.js → bus-hk9envan.js} +0 -0
  746. /package/dist/chunks/{filesystem-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
  747. /package/dist/chunks/{filesystem-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
  748. /package/dist/chunks/{filesystem-jjkms2e6.js → bus-jjkms2e6.js} +0 -0
  749. /package/dist/chunks/{filesystem-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
  750. /package/dist/chunks/{filesystem-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
  751. /package/dist/chunks/{filesystem-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
  752. /package/dist/chunks/{filesystem-mp448xyj.js → bus-mp448xyj.js} +0 -0
  753. /package/dist/chunks/{filesystem-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
  754. /package/dist/chunks/{filesystem-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
  755. /package/dist/chunks/{filesystem-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
  756. /package/dist/chunks/{filesystem-njntx4h6.js → bus-njntx4h6.js} +0 -0
  757. /package/dist/chunks/{filesystem-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
  758. /package/dist/chunks/{filesystem-q74kybfr.js → bus-q74kybfr.js} +0 -0
  759. /package/dist/chunks/{filesystem-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
  760. /package/dist/chunks/{filesystem-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
  761. /package/dist/chunks/{filesystem-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
  762. /package/dist/chunks/{filesystem-qg3g05ea.js → bus-qg3g05ea.js} +0 -0
  763. /package/dist/chunks/{filesystem-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
  764. /package/dist/chunks/{filesystem-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
  765. /package/dist/chunks/{filesystem-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
  766. /package/dist/chunks/{filesystem-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
  767. /package/dist/chunks/{filesystem-w803qqfp.js → bus-w803qqfp.js} +0 -0
  768. /package/dist/chunks/{filesystem-wc3fc9cn.js → bus-wc3fc9cn.js} +0 -0
  769. /package/dist/chunks/{filesystem-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
  770. /package/dist/chunks/{filesystem-wtztk69x.js → bus-wtztk69x.js} +0 -0
  771. /package/dist/chunks/{filesystem-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
  772. /package/dist/chunks/{filesystem-x61499pn.js → bus-x61499pn.js} +0 -0
  773. /package/dist/chunks/{filesystem-y44na4kk.js → bus-y44na4kk.js} +0 -0
  774. /package/dist/chunks/{filesystem-y8cydn3q.js → bus-y8cydn3q.js} +0 -0
  775. /package/dist/chunks/{filesystem-y8f7s663.js → bus-y8f7s663.js} +0 -0
  776. /package/dist/chunks/{filesystem-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
  777. /package/dist/chunks/{filesystem-ym463w8f.js → bus-ym463w8f.js} +0 -0
  778. /package/dist/chunks/{filesystem-z5v4ffb3.js → bus-z5v4ffb3.js} +0 -0
  779. /package/dist/chunks/{filesystem-z9919s4g.js → bus-z9919s4g.js} +0 -0
@@ -1,36 +1,36 @@
1
1
  import {
2
2
  Service83
3
- } from "./filesystem-73tar9qe.js";
3
+ } from "./bus-b34btn2x.js";
4
4
  import {
5
- Service50
6
- } from "./filesystem-eaa81kvs.js";
5
+ Service54
6
+ } from "./bus-sq76bqdv.js";
7
7
  import {
8
- Error4
9
- } from "./filesystem-ptnpxtm5.js";
8
+ Error3
9
+ } from "./bus-wx3zay9s.js";
10
10
  import {
11
- Service78
12
- } from "./filesystem-dhcb13vn.js";
11
+ Service62
12
+ } from "./bus-xc5p1kc4.js";
13
13
  import {
14
14
  StepFailedError2
15
- } from "./filesystem-snf1tfdw.js";
15
+ } from "./bus-e8vwfchq.js";
16
16
  import {
17
17
  SessionEvent2
18
- } from "./filesystem-ec1grn59.js";
18
+ } from "./bus-ec1grn59.js";
19
19
  import {
20
20
  toSessionError2
21
- } from "./filesystem-5c3xf46m.js";
21
+ } from "./bus-kd3kkb04.js";
22
22
  import {
23
23
  calculateCost2
24
- } from "./filesystem-tdstcens.js";
24
+ } from "./bus-tdstcens.js";
25
25
  import {
26
26
  createLLMEventPublisher2
27
- } from "./filesystem-xt1atnrg.js";
27
+ } from "./bus-qqbgmfg2.js";
28
28
  import {
29
29
  isRetryable2
30
- } from "./filesystem-zyk1yjk8.js";
30
+ } from "./bus-zyk1yjk8.js";
31
31
  import {
32
32
  __export
33
- } from "./filesystem-9rqn6x4v.js";
33
+ } from "./bus-9rqn6x4v.js";
34
34
 
35
35
  // src/session/runner/step.ts
36
36
  var exports_step = {};
@@ -54,8 +54,8 @@ var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not r
54
54
  var make3 = Effect.gen(function* () {
55
55
  const bus = yield* Service83;
56
56
  const llm = yield* LLMClient.Service;
57
- const snapshots = yield* Service50;
58
- const toolOutput = yield* Service78;
57
+ const snapshots = yield* Service54;
58
+ const toolOutput = yield* Service62;
59
59
  const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
60
60
  const startSnapshot = yield* snapshots.capture();
61
61
  const publisher = createLLMEventPublisher2(bus, {
@@ -71,7 +71,7 @@ var make3 = Effect.gen(function* () {
71
71
  const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
72
72
  const executeTool = (call) => {
73
73
  if (input.prepared.request.toolChoice?.type === "none")
74
- return new Error4({ message: "Tools are disabled after the maximum agent steps" });
74
+ return new Error3({ message: "Tools are disabled after the maximum agent steps" });
75
75
  return input.prepared.executeTool({
76
76
  sessionID: input.sessionID,
77
77
  agent: input.agent,
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  useragent2
3
- } from "./filesystem-2kn5e7ew.js";
3
+ } from "./bus-9syxb0r3.js";
4
4
  import {
5
5
  Service83
6
- } from "./filesystem-73tar9qe.js";
6
+ } from "./bus-b34btn2x.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./filesystem-pkrc5xvy.js";
9
+ Event17
10
+ } from "./bus-et242a98.js";
11
11
  import {
12
- ID14,
12
+ ID10,
13
13
  MethodID2
14
- } from "./filesystem-z850ddpp.js";
14
+ } from "./bus-hxeztvh1.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./filesystem-pjvnvgmy.js";
18
+ } from "./bus-pjvnvgmy.js";
19
19
  import {
20
- ID13,
20
+ ID9,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./filesystem-dkbsewq8.js";
23
+ } from "./bus-8g25bh64.js";
24
24
  import {
25
25
  get5
26
- } from "./filesystem-54ma36ye.js";
26
+ } from "./bus-54ma36ye.js";
27
27
 
28
28
  // src/plugin/provider/openai.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
@@ -47,7 +47,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
47
47
  }));
48
48
  var decodeClaims = Schema.decodeUnknownOption(Claims);
49
49
  var browser = (app) => ({
50
- integrationID: ID14.make("openai"),
50
+ integrationID: ID10.make("openai"),
51
51
  method: {
52
52
  id: browserMethodID,
53
53
  type: "oauth",
@@ -120,7 +120,7 @@ function addressInUse(error) {
120
120
  return "code" in error && error.code === "EADDRINUSE";
121
121
  }
122
122
  var headless = (app) => ({
123
- integrationID: ID14.make("openai"),
123
+ integrationID: ID10.make("openai"),
124
124
  method: {
125
125
  id: headlessMethodID,
126
126
  type: "oauth",
@@ -162,7 +162,7 @@ var headless = (app) => ({
162
162
  }),
163
163
  refresh: (value) => refresh(headlessMethodID, value, app)
164
164
  });
165
- var OpenAIPlugin3 = define({
165
+ var OpenAIPlugin2 = define({
166
166
  id: "opencode.provider.openai",
167
167
  effect: Effect.fn(function* (ctx) {
168
168
  const bus = yield* Service83;
@@ -181,7 +181,7 @@ var OpenAIPlugin3 = define({
181
181
  });
182
182
  yield* load();
183
183
  yield* ctx.provider.transform((providers) => {
184
- const item = providers.get(ID13.openai);
184
+ const item = providers.get(ID9.openai);
185
185
  if (!item)
186
186
  return;
187
187
  const account = chatgpt?.metadata?.accountID;
@@ -200,7 +200,7 @@ var OpenAIPlugin3 = define({
200
200
  });
201
201
  });
202
202
  yield* ctx.model.transform((models) => {
203
- for (const model of models.list(ID13.openai)) {
203
+ for (const model of models.list(ID9.openai)) {
204
204
  models.update(model.providerID, model.id, (draft) => {
205
205
  if (!chatgpt)
206
206
  return;
@@ -231,14 +231,14 @@ var OpenAIPlugin3 = define({
231
231
  }));
232
232
  evt.headers.originator = "opencode";
233
233
  evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
234
- }), { providerID: ID13.openai });
234
+ }), { providerID: ID9.openai });
235
235
  const omitOutputLimit = (evt) => Effect.sync(() => {
236
236
  delete evt.options.maxTokens;
237
237
  });
238
238
  for (const name of ["context", "compaction"])
239
- yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID13.openai });
239
+ yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID9.openai });
240
240
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
241
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
241
+ yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
242
242
  })
243
243
  });
244
244
  function headers(contentType, app) {
@@ -329,4 +329,4 @@ function claim(token) {
329
329
  return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
330
330
  }
331
331
 
332
- export { OpenAIPlugin3 };
332
+ export { OpenAIPlugin2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./bus-9rqn6x4v.js";
4
4
 
5
5
  // src/util/wildcard.ts
6
6
  var exports_wildcard = {};
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./filesystem-dpkg50ah.js";
3
+ } from "./bus-dpkg50ah.js";
4
4
  import {
5
5
  __export
6
- } from "./filesystem-9rqn6x4v.js";
6
+ } from "./bus-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/update.ts
9
9
  var exports_update = {};
10
10
  __export(exports_update, {
11
11
  PluginUpdate: () => exports_update,
12
- Service: () => Service7,
13
- node: () => node9
12
+ Service: () => Service5,
13
+ node: () => node7
14
14
  });
15
15
  import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
16
16
  import { Npm } from "@opencode/util/npm";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var interval = 24 * 60 * 60 * 1000;
19
19
 
20
- class Service7 extends Context.Service()("@opencode/PluginUpdate") {
20
+ class Service5 extends Context.Service()("@opencode/PluginUpdate") {
21
21
  }
22
- var layer = Layer.effect(Service7, Effect.gen(function* () {
22
+ var layer = Layer.effect(Service5, Effect.gen(function* () {
23
23
  const npm = yield* Npm.Service;
24
24
  const locks = makeUnsafe2();
25
25
  const status = new Map;
26
26
  const changes = yield* PubSub.unbounded();
27
- return Service7.of({
27
+ return Service5.of({
28
28
  check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
29
29
  const checkedAt = yield* Clock.currentTimeMillis;
30
30
  const current = status.get(target);
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
49
49
  changes: () => Stream.fromPubSub(changes)
50
50
  });
51
51
  }));
52
- var node9 = makeGlobalNode({ service: Service7, layer, deps: [Npm.node] });
52
+ var node7 = makeGlobalNode({ service: Service5, layer, deps: [Npm.node] });
53
53
 
54
- export { Service7, node9, exports_update };
54
+ export { Service5, node7, exports_update };
@@ -1,10 +1,10 @@
1
1
  import {
2
- ID14,
3
- Service75,
4
- node79
5
- } from "./filesystem-z850ddpp.js";
2
+ ID10,
3
+ Service72,
4
+ node76
5
+ } from "./bus-hxeztvh1.js";
6
6
  import {
7
- ID13,
7
+ ID9,
8
8
  isAISDK2,
9
9
  packageName2,
10
10
  loadPackage2,
@@ -14,23 +14,23 @@ import {
14
14
  timeouts2,
15
15
  mergeOverlay2,
16
16
  mergeHeaders2,
17
- Service74,
18
- node78
19
- } from "./filesystem-dkbsewq8.js";
17
+ Service71,
18
+ node75
19
+ } from "./bus-8g25bh64.js";
20
20
  import {
21
- Service53,
22
- node56
23
- } from "./filesystem-bqnke3pc.js";
21
+ Service52,
22
+ node54
23
+ } from "./bus-adp03cxn.js";
24
24
  import {
25
- ID6,
25
+ ID7,
26
26
  VariantID2,
27
27
  Ref2,
28
- Service60,
29
- node63
30
- } from "./filesystem-887wtq38.js";
28
+ Service67,
29
+ node70
30
+ } from "./bus-4012ahpv.js";
31
31
  import {
32
32
  __export
33
- } from "./filesystem-9rqn6x4v.js";
33
+ } from "./bus-9rqn6x4v.js";
34
34
 
35
35
  // src/model-resolver.ts
36
36
  var exports_model_resolver = {};
@@ -39,15 +39,15 @@ __export(exports_model_resolver, {
39
39
  ModelConfigurationError: () => ModelConfigurationError2,
40
40
  ModelInitializationError: () => ModelInitializationError2,
41
41
  ModelResolver: () => exports_model_resolver,
42
- Service: () => Service52,
42
+ Service: () => Service49,
43
43
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
44
44
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
45
45
  UnsupportedPackageError: () => UnsupportedPackageError2,
46
46
  VariantUnavailableError: () => VariantUnavailableError2,
47
47
  fromCatalogModel: () => fromCatalogModel2,
48
48
  hasPackage: () => hasPackage2,
49
- layer: () => layer21,
50
- node: () => node55,
49
+ layer: () => layer19,
50
+ node: () => node51,
51
51
  resolveModel: () => resolveModel2,
52
52
  withVariant: () => withVariant2
53
53
  });
@@ -57,8 +57,8 @@ import { Auth } from "@opencode/ai/route";
57
57
  import { Context, Effect, Layer, Schema, Struct } from "effect";
58
58
  import { Npm } from "@opencode/util/npm";
59
59
  class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
60
- providerID: ID13,
61
- modelID: ID6,
60
+ providerID: ID9,
61
+ modelID: ID7,
62
62
  variant: VariantID2
63
63
  }) {
64
64
  get message() {
@@ -67,8 +67,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
67
67
  }
68
68
 
69
69
  class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
70
- providerID: ID13,
71
- modelID: ID6,
70
+ providerID: ID9,
71
+ modelID: ID7,
72
72
  package: Schema.String
73
73
  }) {
74
74
  get message() {
@@ -78,8 +78,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
78
78
  var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
79
79
 
80
80
  class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
81
- providerID: ID13,
82
- modelID: ID6,
81
+ providerID: ID9,
82
+ modelID: ID7,
83
83
  package: Schema.String,
84
84
  detail: Schema.String
85
85
  }) {
@@ -89,8 +89,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
89
89
  }
90
90
 
91
91
  class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
92
- providerID: ID13,
93
- modelID: ID6,
92
+ providerID: ID9,
93
+ modelID: ID7,
94
94
  package: Schema.String,
95
95
  phase: InitializationPhase2,
96
96
  detail: Schema.String
@@ -101,8 +101,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
101
101
  }
102
102
 
103
103
  class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
104
- providerID: ID13,
105
- modelID: ID6,
104
+ providerID: ID9,
105
+ modelID: ID7,
106
106
  variables: Schema.Array(Schema.String)
107
107
  }) {
108
108
  get message() {
@@ -111,8 +111,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
111
111
  }
112
112
 
113
113
  class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
114
- providerID: ID13,
115
- modelID: ID6,
114
+ providerID: ID9,
115
+ modelID: ID7,
116
116
  route: Schema.String
117
117
  }) {
118
118
  get message() {
@@ -120,7 +120,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
120
120
  }
121
121
  }
122
122
 
123
- class Service52 extends Context.Service()("@opencode/ModelResolver") {
123
+ class Service49 extends Context.Service()("@opencode/ModelResolver") {
124
124
  }
125
125
  var withVariant2 = (model, variantID) => {
126
126
  const id = variantID === "default" ? undefined : variantID;
@@ -264,15 +264,15 @@ var causeMessage = (cause) => {
264
264
  };
265
265
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
266
266
  var hasPackage2 = (model) => Boolean(model.package);
267
- var layer21 = Layer.effect(Service52, Effect.gen(function* () {
268
- const providers = yield* Service74;
269
- const models = yield* Service60;
270
- const integrations = yield* Service75;
267
+ var layer19 = Layer.effect(Service49, Effect.gen(function* () {
268
+ const providers = yield* Service71;
269
+ const models = yield* Service67;
270
+ const integrations = yield* Service72;
271
271
  const npm = yield* Npm.Service;
272
- const aisdk = yield* Service53;
272
+ const aisdk = yield* Service52;
273
273
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
274
274
  const provider = yield* providers.get(selected.providerID);
275
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
275
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID10.make(selected.providerID));
276
276
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
277
277
  const selectedVariant = yield* withVariant2(selected, variant);
278
278
  const runtimeInfo = {
@@ -299,7 +299,7 @@ var layer21 = Layer.effect(Service52, Effect.gen(function* () {
299
299
  chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
300
300
  };
301
301
  });
302
- return Service52.of({
302
+ return Service49.of({
303
303
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
304
304
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
305
305
  if (!selected)
@@ -316,10 +316,10 @@ function usesAPIKeyAuth(packageName) {
316
316
  const name = packageName2(packageName);
317
317
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
318
318
  }
319
- var node55 = makeLocationNode({
320
- service: Service52,
321
- layer: layer21,
322
- deps: [node78, node63, node79, Npm.node, node56]
319
+ var node51 = makeLocationNode({
320
+ service: Service49,
321
+ layer: layer19,
322
+ deps: [node75, node70, node76, Npm.node, node54]
323
323
  });
324
324
 
325
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service52, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer21, node55, exports_model_resolver };
325
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service49, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer19, node51, exports_model_resolver };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./bus-9rqn6x4v.js";
4
4
 
5
5
  // src/managed-policy.ts
6
6
  var exports_managed_policy = {};
7
7
  __export(exports_managed_policy, {
8
8
  ManagedPolicy: () => exports_managed_policy,
9
- Service: () => Service16,
10
- node: () => node18
9
+ Service: () => Service17,
10
+ node: () => node19
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service16 extends Context.Service()("@opencode/ManagedPolicy") {
15
+ class Service17 extends Context.Service()("@opencode/ManagedPolicy") {
16
16
  }
17
- var layer = Layer.sync(Service16, () => {
17
+ var layer = Layer.sync(Service17, () => {
18
18
  const state = { current: { statements: [] } };
19
- return Service16.of({
19
+ return Service17.of({
20
20
  current: () => state.current,
21
21
  set: (next) => Effect.sync(() => {
22
22
  state.current = next;
23
23
  })
24
24
  });
25
25
  });
26
- var node18 = makeGlobalNode({ service: Service16, layer, deps: [] });
26
+ var node19 = makeGlobalNode({ service: Service17, layer, deps: [] });
27
27
 
28
- export { Service16, node18, exports_managed_policy };
28
+ export { Service17, node19, exports_managed_policy };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./filesystem-73tar9qe.js";
4
+ } from "./bus-b34btn2x.js";
5
5
  import {
6
6
  Service80,
7
7
  node84
8
- } from "./filesystem-78darpkf.js";
8
+ } from "./bus-vbz2qf1p.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./filesystem-ec1grn59.js";
11
+ } from "./bus-ec1grn59.js";
12
12
  import {
13
- Service66,
14
- node69
15
- } from "./filesystem-xn8gay62.js";
13
+ Service77,
14
+ node81
15
+ } from "./bus-hawkgyqk.js";
16
16
  import {
17
17
  __export
18
- } from "./filesystem-9rqn6x4v.js";
18
+ } from "./bus-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instructions.ts
21
21
  var exports_instructions = {};
22
22
  __export(exports_instructions, {
23
- Service: () => Service10,
23
+ Service: () => Service9,
24
24
  SessionInstructions: () => exports_instructions,
25
- node: () => node12
25
+ node: () => node11
26
26
  });
27
27
  import { relative } from "path";
28
28
  import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
@@ -32,12 +32,12 @@ var InjectedMetadata = Schema.Struct({
32
32
  instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
33
33
  });
34
34
 
35
- class Service10 extends Context.Service()("@opencode/SessionInstructions") {
35
+ class Service9 extends Context.Service()("@opencode/SessionInstructions") {
36
36
  }
37
- var layer = Layer.effect(Service10, Effect.gen(function* () {
37
+ var layer = Layer.effect(Service9, Effect.gen(function* () {
38
38
  const bus = yield* Service83;
39
39
  const fs = yield* FSUtil.Service;
40
- const store = yield* Service66;
40
+ const store = yield* Service77;
41
41
  const location = yield* Service80;
42
42
  const root = yield* fs.resolve(location.project.directory);
43
43
  const inFlight = yield* Ref.make(new Map);
@@ -84,7 +84,7 @@ ${file.content}`).join(`
84
84
  return next;
85
85
  })));
86
86
  });
87
- return Service10.of({ load });
87
+ return Service9.of({ load });
88
88
  }));
89
89
  function previouslyInjected(store, sessionID) {
90
90
  return Effect.gen(function* () {
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
95
95
  function describePath(root, path) {
96
96
  return FSUtil.contains(root, path) ? relative(root, path) : path;
97
97
  }
98
- var node12 = makeLocationNode({
98
+ var node11 = makeLocationNode({
99
99
  name: "session-instructions",
100
100
  layer,
101
- deps: [node87, FSUtil.node, node84, node69]
101
+ deps: [node87, FSUtil.node, node84, node81]
102
102
  });
103
103
 
104
- export { Service10, node12, exports_instructions };
104
+ export { Service9, node11, exports_instructions };
@@ -2,27 +2,27 @@ import {
2
2
  ephemeral2,
3
3
  Service83,
4
4
  node87
5
- } from "./filesystem-73tar9qe.js";
5
+ } from "./bus-b34btn2x.js";
6
6
  import {
7
- Service72,
8
- node76
9
- } from "./filesystem-2apkwqsb.js";
7
+ Service70,
8
+ node74
9
+ } from "./bus-3ntj8y38.js";
10
10
  import {
11
11
  __export
12
- } from "./filesystem-9rqn6x4v.js";
12
+ } from "./bus-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event11,
19
+ Event: () => Event13,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service59,
22
+ Service: () => Service66,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node62,
25
+ node: () => node69,
26
26
  resolve: () => resolve4
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service59 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service66 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event11 = {
51
+ var Event13 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service59, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service66, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service72;
80
+ const kv = yield* Service70;
81
81
  const bus = yield* Service83;
82
82
  const cache = yield* Ref.make(new Map);
83
83
  const lock = Semaphore.makeUnsafe(1);
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
109
109
  if (!changed)
110
110
  return false;
111
111
  yield* Ref.set(cache, next);
112
- yield* bus.publish(Event11.Updated, {});
112
+ yield* bus.publish(Event13.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service59.of({
115
+ return Service66.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
125
125
  const origins = Schema.is(Sources)(sources) ? sources : [];
126
126
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
127
127
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
128
- yield* bus.publish(Event11.Updated, {});
128
+ yield* bus.publish(Event13.Updated, {});
129
129
  return entry;
130
130
  }, (effect, _value) => lock.withPermit(effect)),
131
131
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
138
138
  next.delete(origin);
139
139
  return next;
140
140
  });
141
- yield* bus.publish(Event11.Updated, {});
141
+ yield* bus.publish(Event13.Updated, {});
142
142
  }, (effect, _value) => lock.withPermit(effect)),
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node62 = makeGlobalNode({ service: Service59, layer, deps: [httpClient, node76, node87] });
146
+ var node69 = makeGlobalNode({ service: Service66, layer, deps: [httpClient, node74, node87] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service59, Event11, inspect2, resolve4, node62, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service66, Event13, inspect2, resolve4, node69, exports_wellknown };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./filesystem-ym463w8f.js";
3
+ } from "./bus-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/venice.ts
6
6
  var VenicePlugin2 = createProviderPlugin2({