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

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 +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{bus-528rwthr.js → image-04aqpn0x.js} +8 -8
  8. package/dist/chunks/{bus-z6c3x22d.js → image-0bwnrbmb.js} +5 -5
  9. package/dist/chunks/{bus-d410y363.js → image-0bzve7m2.js} +5 -5
  10. package/dist/chunks/{bus-zgktkfeb.js → image-0na1b1gm.js} +48 -48
  11. package/dist/chunks/{bus-kvb2njdg.js → image-0nkbh456.js} +8 -8
  12. package/dist/chunks/{bus-0paq2nw3.js → image-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{bus-b34btn2x.js → image-0q9kf5tv.js} +4 -4
  14. package/dist/chunks/{bus-a3m27bpe.js → image-0sx8qwq0.js} +26 -26
  15. package/dist/chunks/{bus-0vbcp93d.js → image-0vbcp93d.js} +2 -2
  16. package/dist/chunks/{bus-csy1xffp.js → image-0w122yxh.js} +21 -21
  17. package/dist/chunks/{bus-5ebdnkka.js → image-0y1042ra.js} +15 -15
  18. package/dist/chunks/{bus-kd3kkb04.js → image-0ze6xpc4.js} +5 -5
  19. package/dist/chunks/{bus-y56ehv6b.js → image-11dqjexa.js} +9 -9
  20. package/dist/chunks/{bus-8s1fj8xg.js → image-15nepkqg.js} +8 -8
  21. package/dist/chunks/{bus-x9zh6xzs.js → image-165224c5.js} +82 -82
  22. package/dist/chunks/{bus-1acjjqhc.js → image-1acjjqhc.js} +1 -1
  23. package/dist/chunks/{bus-34x4fzdd.js → image-1dawjks7.js} +13 -13
  24. package/dist/chunks/{bus-1dazxqgg.js → image-1dazxqgg.js} +2 -2
  25. package/dist/chunks/{bus-ka4ktcdt.js → image-1w4dgp74.js} +14 -14
  26. package/dist/chunks/{bus-56gdpj1q.js → image-1ygqh575.js} +9 -9
  27. package/dist/chunks/{bus-emzxkhp6.js → image-1ypajzm3.js} +52 -52
  28. package/dist/chunks/{bus-pkqb68ka.js → image-21tvpp2c.js} +4 -4
  29. package/dist/chunks/{bus-7qaytd5a.js → image-28n5w14t.js} +27 -27
  30. package/dist/chunks/{bus-2a5m3afh.js → image-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{bus-15qybdcz.js → image-2vb0m4sa.js} +4 -4
  32. package/dist/chunks/{bus-w60s1nmp.js → image-2wv53gaq.js} +9 -9
  33. package/dist/chunks/{bus-9pe7jy64.js → image-2y53w5jf.js} +20 -20
  34. package/dist/chunks/{bus-gq8z9g07.js → image-2z5cr914.js} +22 -22
  35. package/dist/chunks/{bus-21kksasn.js → image-2z8cmg4f.js} +48 -48
  36. package/dist/chunks/{bus-cvpp86w1.js → image-30af84ad.js} +5 -5
  37. package/dist/chunks/{bus-h2b79v29.js → image-3cegwx68.js} +2 -2
  38. package/dist/chunks/{bus-0e67spv3.js → image-3eqhsn6r.js} +13 -13
  39. package/dist/chunks/{bus-3fc6dm20.js → image-3fc6dm20.js} +1 -1
  40. package/dist/chunks/{bus-3hepkmqq.js → image-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{bus-0hndetk6.js → image-3pt18ddt.js} +20 -20
  42. package/dist/chunks/{bus-p2mhzkt3.js → image-3qbdf9ts.js} +9 -9
  43. package/dist/chunks/{bus-3smtnn6g.js → image-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{bus-7amahv2c.js → image-3t8d2924.js} +10 -10
  45. package/dist/chunks/{bus-3tvqynh2.js → image-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{bus-13ja4b2n.js → image-3ykdjwsk.js} +6 -6
  47. package/dist/chunks/{bus-hx4cwj70.js → image-3yqb6p60.js} +13 -13
  48. package/dist/chunks/{bus-3zsf4n22.js → image-3zsf4n22.js} +1 -1
  49. package/dist/chunks/{bus-rddwsqyn.js → image-416yb7k1.js} +6 -6
  50. package/dist/chunks/{bus-atm27pd5.js → image-42497aj7.js} +9 -9
  51. package/dist/chunks/{bus-knevfgda.js → image-44ak30pa.js} +4 -4
  52. package/dist/chunks/{bus-9syxb0r3.js → image-4npmrd5n.js} +11 -11
  53. package/dist/chunks/{bus-4ts7tf6z.js → image-4ts7tf6z.js} +2 -2
  54. package/dist/chunks/{bus-3w0qzhbt.js → image-4wg1qszp.js} +43 -43
  55. package/dist/chunks/{bus-2j28q1nd.js → image-4wrkd8nn.js} +11 -11
  56. package/dist/chunks/{bus-jya8gd5a.js → image-4xxx3g7n.js} +15 -15
  57. package/dist/chunks/{bus-54ma36ye.js → image-54ma36ye.js} +1 -1
  58. package/dist/chunks/{bus-e47b9zhk.js → image-5a1rh38j.js} +1 -1
  59. package/dist/chunks/{bus-5daktx2q.js → image-5daktx2q.js} +1 -1
  60. package/dist/chunks/{bus-b5txeqhw.js → image-5em88vt3.js} +25 -25
  61. package/dist/chunks/{bus-vbz2qf1p.js → image-5f3byeqc.js} +2 -2
  62. package/dist/chunks/{bus-qekcdh3p.js → image-5nwak147.js} +3 -3
  63. package/dist/chunks/{bus-5t3nmthw.js → image-5t3nmthw.js} +2 -2
  64. package/dist/chunks/{bus-rc5jmt6g.js → image-5vw7j8zj.js} +11 -11
  65. package/dist/chunks/{bus-j5mjpdyd.js → image-65h3y7s4.js} +26 -26
  66. package/dist/chunks/{bus-669tq793.js → image-669tq793.js} +1 -1
  67. package/dist/chunks/{bus-dbe7j1rs.js → image-6ajmbb10.js} +8 -8
  68. package/dist/chunks/{bus-ce9wzpbj.js → image-6bcqaf1k.js} +5 -5
  69. package/dist/chunks/{bus-dxj613cd.js → image-6dher0rp.js} +24 -24
  70. package/dist/chunks/{bus-sbh8a9vz.js → image-6dz2y33h.js} +7 -7
  71. package/dist/chunks/{bus-m735122a.js → image-6kxx5nj2.js} +15 -15
  72. package/dist/chunks/{bus-719t7qwy.js → image-6mq306kf.js} +15 -15
  73. package/dist/chunks/{bus-mnjrpp8b.js → image-6n84hwn8.js} +24 -24
  74. package/dist/chunks/{bus-7bmhse3q.js → image-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{bus-ta4w37jc.js → image-7c6s17vd.js} +13 -13
  76. package/dist/chunks/{bus-v55f9rey.js → image-7w85bd0v.js} +13 -13
  77. package/dist/chunks/{bus-2hyk2cp1.js → image-7xefxa1b.js} +18 -18
  78. package/dist/chunks/{bus-3wj6fqkv.js → image-801vz39t.js} +26 -26
  79. package/dist/chunks/{bus-1dvck2a7.js → image-84h8c373.js} +2 -2
  80. package/dist/chunks/{bus-w1eejvng.js → image-84txncab.js} +5 -5
  81. package/dist/chunks/{bus-n5w125mz.js → image-88586yk8.js} +10 -10
  82. package/dist/chunks/{bus-8d7r5vzw.js → image-8d7r5vzw.js} +1 -1
  83. package/dist/chunks/{bus-hv7mkmtw.js → image-8mfdap3f.js} +8 -8
  84. package/dist/chunks/{bus-7fy529hx.js → image-8qeptwcf.js} +45 -45
  85. package/dist/chunks/{bus-ryr25ayn.js → image-8rqycdgd.js} +7 -7
  86. package/dist/chunks/{bus-ts23464c.js → image-8sze2n9a.js} +8 -8
  87. package/dist/chunks/{bus-tcay1cqt.js → image-909p1r3q.js} +6 -6
  88. package/dist/chunks/{bus-b6we54v8.js → image-97q8t400.js} +71 -71
  89. package/dist/chunks/{bus-et242a98.js → image-9gtf3fja.js} +30 -30
  90. package/dist/chunks/{bus-2tfv36h4.js → image-9gtn0d49.js} +11 -11
  91. package/dist/chunks/{bus-2cz08s9n.js → image-9s8yzpye.js} +16 -16
  92. package/dist/chunks/image-9sh4wc5j.js +18 -0
  93. package/dist/chunks/{bus-1m86xkfk.js → image-9tcd6kf4.js} +11 -11
  94. package/dist/chunks/{bus-8phe8gs5.js → image-9w6z1msx.js} +10 -10
  95. package/dist/chunks/{bus-r9vefb5s.js → image-9y4fyvj9.js} +15 -15
  96. package/dist/chunks/{bus-mvfsc1pv.js → image-a1gpj94z.js} +3 -3
  97. package/dist/chunks/{bus-7849783s.js → image-a6ty810w.js} +3 -3
  98. package/dist/chunks/{bus-wmq16de2.js → image-aa1twyr9.js} +4 -4
  99. package/dist/chunks/{bus-aaet6srn.js → image-aaet6srn.js} +2 -2
  100. package/dist/chunks/{bus-db2wf4at.js → image-addxnjmp.js} +4 -4
  101. package/dist/chunks/{bus-939s0wb1.js → image-aeknpwjp.js} +22 -22
  102. package/dist/chunks/{bus-k2376248.js → image-aesyxyae.js} +15 -15
  103. package/dist/chunks/{bus-51wtszcy.js → image-ahzha35r.js} +15 -15
  104. package/dist/chunks/{bus-0hw4ngcc.js → image-ans8dmj5.js} +33 -33
  105. package/dist/chunks/{bus-ss358qx3.js → image-arz7hw7x.js} +3 -3
  106. package/dist/chunks/{bus-ywvphykk.js → image-ax8wm56r.js} +25 -25
  107. package/dist/chunks/{bus-4ydbyy3z.js → image-azqq1d0c.js} +11 -11
  108. package/dist/chunks/{bus-dhcdh4fe.js → image-b0fxdq5g.js} +18 -18
  109. package/dist/chunks/{bus-b6gygkdw.js → image-b6gygkdw.js} +2 -2
  110. package/dist/chunks/{bus-4t985zy3.js → image-besg32kx.js} +16 -16
  111. package/dist/chunks/{bus-hawkgyqk.js → image-bn712fd7.js} +12 -12
  112. package/dist/chunks/{bus-tswwq3g5.js → image-btxt8gzs.js} +7 -7
  113. package/dist/chunks/{bus-snefhk9q.js → image-c61xtve1.js} +17 -17
  114. package/dist/chunks/{bus-n724cj1w.js → image-ca74j1r2.js} +4 -4
  115. package/dist/chunks/{bus-qgfw8dyt.js → image-ccvzzz8a.js} +9 -9
  116. package/dist/chunks/{bus-24xvpabx.js → image-cemmg988.js} +166 -166
  117. package/dist/chunks/{bus-qrzwks82.js → image-ck81h70z.js} +25 -25
  118. package/dist/chunks/{bus-xz0ghwzw.js → image-czzmkzgf.js} +3 -3
  119. package/dist/chunks/{bus-ndkh5v9a.js → image-d7cq9ezy.js} +316 -316
  120. package/dist/chunks/{bus-0zwf7z4g.js → image-dasd50vc.js} +1 -1
  121. package/dist/chunks/{bus-k3sn4jay.js → image-dbv05mm3.js} +4 -4
  122. package/dist/chunks/{bus-q4brc5g0.js → image-dfzt7k9z.js} +13 -13
  123. package/dist/chunks/{bus-j4zenrww.js → image-dhs430jm.js} +7 -7
  124. package/dist/chunks/{bus-03aghczj.js → image-dhwpmhdd.js} +11 -11
  125. package/dist/chunks/{bus-c765mh8b.js → image-djszqvmq.js} +9 -9
  126. package/dist/chunks/{bus-zrc63wqg.js → image-dmdxn4pm.js} +15 -15
  127. package/dist/chunks/{bus-xkntkrq7.js → image-dmqcgk4z.js} +5 -5
  128. package/dist/chunks/{bus-dpkg50ah.js → image-dpkg50ah.js} +1 -1
  129. package/dist/chunks/{bus-57myy5jh.js → image-dssbfrwz.js} +5 -5
  130. package/dist/chunks/{bus-y0kd2ap1.js → image-e2s36tnm.js} +19 -19
  131. package/dist/chunks/{bus-sxc61acf.js → image-e425rb6v.js} +17 -17
  132. package/dist/chunks/{bus-ef5x83kb.js → image-ef5x83kb.js} +1 -1
  133. package/dist/chunks/{bus-2pxrdsrc.js → image-ejsrhqvc.js} +3 -3
  134. package/dist/chunks/{bus-9pzwtkzk.js → image-ep0fakv4.js} +5 -5
  135. package/dist/chunks/{bus-etq0c3wd.js → image-etq0c3wd.js} +1 -1
  136. package/dist/chunks/{bus-bsyda0wx.js → image-f0c8m7at.js} +8 -8
  137. package/dist/chunks/{bus-ghdpaqfd.js → image-f4kf9m1y.js} +20 -20
  138. package/dist/chunks/{bus-nz569jqt.js → image-f62qkzqr.js} +5 -5
  139. package/dist/chunks/{bus-71az546q.js → image-f75zav2x.js} +2 -2
  140. package/dist/chunks/{bus-90rzbcvz.js → image-f9t2jyhr.js} +8 -8
  141. package/dist/chunks/{bus-1eh43htr.js → image-fqkjn7y7.js} +5 -5
  142. package/dist/chunks/{bus-gd4qta3r.js → image-gd4qta3r.js} +1 -1
  143. package/dist/chunks/{bus-wt7wxqbg.js → image-h0dk06es.js} +22 -22
  144. package/dist/chunks/{bus-nm5mg1ey.js → image-h53jngsn.js} +10 -10
  145. package/dist/chunks/{bus-3h50ke9p.js → image-h6h0qx3d.js} +34 -34
  146. package/dist/chunks/{bus-h6vf3j39.js → image-h6vf3j39.js} +1 -1
  147. package/dist/chunks/{bus-qqbgmfg2.js → image-hhgjswkb.js} +3 -3
  148. package/dist/chunks/{bus-swq4dna8.js → image-hm9hwmm7.js} +29 -29
  149. package/dist/chunks/{bus-skts9bh6.js → image-j3r0htje.js} +4 -4
  150. package/dist/chunks/{bus-j56e64zr.js → image-j56e64zr.js} +1 -1
  151. package/dist/chunks/{bus-99y98v8q.js → image-j8me8hvw.js} +21 -21
  152. package/dist/chunks/{bus-e8vwfchq.js → image-j8s9ab9g.js} +6 -6
  153. package/dist/chunks/{bus-1qdzc6f8.js → image-j9xcz2tx.js} +32 -32
  154. package/dist/chunks/{bus-1c0fr8pw.js → image-jdzgxeqc.js} +21 -21
  155. package/dist/chunks/{bus-yf8jw645.js → image-jeewpkja.js} +16 -16
  156. package/dist/chunks/{bus-r2jwvky4.js → image-jmfmmy6v.js} +22 -22
  157. package/dist/chunks/{bus-2ms5z22y.js → image-jnbzx70p.js} +32 -32
  158. package/dist/chunks/{bus-nrz4fk0v.js → image-jtcz6fmx.js} +18 -18
  159. package/dist/chunks/{bus-xqe8086j.js → image-jza4j236.js} +13 -13
  160. package/dist/chunks/{bus-8zfs4s2h.js → image-jzsdzy65.js} +16 -16
  161. package/dist/chunks/{bus-59d4rtjn.js → image-jzt42scw.js} +26 -26
  162. package/dist/chunks/{bus-h9h2sp5f.js → image-k17pjak8.js} +16 -16
  163. package/dist/chunks/{bus-a2qe2ev9.js → image-k1gkpfdk.js} +8 -8
  164. package/dist/chunks/{bus-z55wc6c1.js → image-k5kkq75a.js} +4 -4
  165. package/dist/chunks/{bus-g31erja1.js → image-k70p9jzb.js} +9 -9
  166. package/dist/chunks/image-k9hpsh7n.js +26 -0
  167. package/dist/chunks/{bus-9e5bzkjp.js → image-kb9j3d72.js} +3 -3
  168. package/dist/chunks/{bus-adp03cxn.js → image-kt0esg8p.js} +11 -11
  169. package/dist/chunks/{bus-5xr0x5g4.js → image-kv97enbb.js} +30 -30
  170. package/dist/chunks/{bus-cavr175a.js → image-kvvk39gs.js} +4 -4
  171. package/dist/chunks/{bus-2ddq13q9.js → image-kww3qs6q.js} +23 -23
  172. package/dist/chunks/{bus-hbepmwya.js → image-ky6yw5g0.js} +17 -17
  173. package/dist/chunks/{bus-m3fdjcah.js → image-m3fdjcah.js} +1 -1
  174. package/dist/chunks/{bus-6988ze4e.js → image-m72vf2gd.js} +12 -12
  175. package/dist/chunks/{bus-3ntj8y38.js → image-m96306pw.js} +10 -10
  176. package/dist/chunks/{bus-m9w0rfyh.js → image-m9w0rfyh.js} +1 -1
  177. package/dist/chunks/{bus-vedgqtbf.js → image-mc1xwb8r.js} +32 -32
  178. package/dist/chunks/{bus-yw029tn0.js → image-mff15jza.js} +7 -7
  179. package/dist/chunks/{bus-dtn93m2r.js → image-mjh3e1an.js} +11 -11
  180. package/dist/chunks/{bus-sqevgg1x.js → image-mqxcq9ag.js} +6 -6
  181. package/dist/chunks/{bus-r01t9b5y.js → image-mqzwkyay.js} +6 -6
  182. package/dist/chunks/{bus-gw7cjrad.js → image-n1n192bv.js} +4 -4
  183. package/dist/chunks/{bus-hws9xae0.js → image-nbmzwga5.js} +25 -25
  184. package/dist/chunks/{bus-cmgwyfv0.js → image-nhvya3p1.js} +23 -23
  185. package/dist/chunks/{bus-63db42yp.js → image-nqxj0yn4.js} +2 -2
  186. package/dist/chunks/{bus-wxyynt4w.js → image-ns3eape4.js} +1 -1
  187. package/dist/chunks/{bus-pazb1ewk.js → image-nxdkcg0t.js} +3 -3
  188. package/dist/chunks/{bus-phstrbs2.js → image-p37cw4rj.js} +8 -8
  189. package/dist/chunks/{bus-8g25bh64.js → image-p4rtc4a0.js} +29 -29
  190. package/dist/chunks/{bus-7v63qsk7.js → image-p6mn5kpz.js} +17 -17
  191. package/dist/chunks/{bus-fkt3mz8v.js → image-pcf5kfm0.js} +11 -11
  192. package/dist/chunks/{bus-pjvnvgmy.js → image-pjvnvgmy.js} +1 -1
  193. package/dist/chunks/{bus-pknna89w.js → image-pknna89w.js} +1 -1
  194. package/dist/chunks/{bus-wx3zay9s.js → image-pm8wv035.js} +22 -22
  195. package/dist/chunks/{bus-x1rhyk66.js → image-pttj84yp.js} +34 -34
  196. package/dist/chunks/{bus-d8gr1114.js → image-pwy55j0r.js} +26 -26
  197. package/dist/chunks/{bus-764brepw.js → image-px9wmdnb.js} +16 -16
  198. package/dist/chunks/{bus-q0xm7vwc.js → image-q0xm7vwc.js} +2 -2
  199. package/dist/chunks/{bus-ge9ne9cr.js → image-q2yq2gjj.js} +9 -9
  200. package/dist/chunks/{bus-gfqb8dcq.js → image-q52fpcke.js} +10 -10
  201. package/dist/chunks/{bus-xbhk2476.js → image-q5ngfwmn.js} +26 -26
  202. package/dist/chunks/{bus-202hh8b6.js → image-q9wfmdme.js} +11 -11
  203. package/dist/chunks/{bus-zs0mdj6c.js → image-qdhtzqa2.js} +8 -8
  204. package/dist/chunks/{bus-7dqw4kz8.js → image-qgn6gcr1.js} +5 -5
  205. package/dist/chunks/{bus-qnc92qwc.js → image-qnc92qwc.js} +1 -1
  206. package/dist/chunks/{bus-g6887ffs.js → image-qq8ybhxb.js} +8 -8
  207. package/dist/chunks/{bus-qsdy395h.js → image-qsdy395h.js} +1 -1
  208. package/dist/chunks/{bus-kjvzpkxx.js → image-qv7mm2ys.js} +11 -11
  209. package/dist/chunks/{bus-771821tr.js → image-qwzhw6b4.js} +8 -8
  210. package/dist/chunks/{bus-cjtr81bg.js → image-r8evdm5r.js} +23 -23
  211. package/dist/chunks/{bus-vnzjp2xb.js → image-rbprr21d.js} +39 -39
  212. package/dist/chunks/{bus-j8dqwpvr.js → image-rcs4n31g.js} +43 -43
  213. package/dist/chunks/{bus-rdw6cm16.js → image-rdw6cm16.js} +1 -1
  214. package/dist/chunks/{bus-0hf2dabw.js → image-rfkpwr2j.js} +20 -20
  215. package/dist/chunks/{bus-dyfbzmt6.js → image-rm42a5p7.js} +40 -40
  216. package/dist/chunks/{bus-pr326b8c.js → image-rnr5nq63.js} +15 -15
  217. package/dist/chunks/{bus-ytt4s9tm.js → image-rrpq0de9.js} +5 -5
  218. package/dist/chunks/{bus-vcf4f7mm.js → image-rydwr5yq.js} +16 -16
  219. package/dist/chunks/{bus-z3vf4qqs.js → image-rz9jawm0.js} +10 -10
  220. package/dist/chunks/{bus-wv396vej.js → image-s8d7rejh.js} +8 -8
  221. package/dist/chunks/{bus-cvz7ssjq.js → image-s9qk69v9.js} +14 -14
  222. package/dist/chunks/{bus-zyk1yjk8.js → image-scgrse2b.js} +5 -5
  223. package/dist/chunks/{bus-ddcjqb7b.js → image-sqd8sfd6.js} +39 -39
  224. package/dist/chunks/{bus-xegabxqp.js → image-srfcfy2e.js} +7 -7
  225. package/dist/chunks/{bus-xa7wt3am.js → image-ssw4eee2.js} +12 -12
  226. package/dist/chunks/{bus-vhr03ngy.js → image-sw6reqhd.js} +24 -24
  227. package/dist/chunks/{bus-2vffgt23.js → image-swz9yf49.js} +35 -35
  228. package/dist/chunks/{bus-3dvr22m4.js → image-t01ha5fv.js} +9 -9
  229. package/dist/chunks/{bus-cf5ayd46.js → image-t5y568kv.js} +11 -11
  230. package/dist/chunks/{bus-q4tvs8r8.js → image-t6v32j07.js} +8 -8
  231. package/dist/chunks/{bus-h9rm1rrn.js → image-t71v2ka4.js} +5 -5
  232. package/dist/chunks/{bus-tazgh4e4.js → image-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{bus-79mtfj5c.js → image-tbnnfq83.js} +20 -20
  234. package/dist/chunks/{bus-tcezcvh9.js → image-tcezcvh9.js} +1 -1
  235. package/dist/chunks/{bus-tdstcens.js → image-tdstcens.js} +1 -1
  236. package/dist/chunks/{bus-kkp8zx71.js → image-tjedn1bk.js} +4 -4
  237. package/dist/chunks/{bus-3psn7w7h.js → image-tke1j2mf.js} +34 -34
  238. package/dist/chunks/{bus-cmg2xcs5.js → image-ttswb5c4.js} +11 -11
  239. package/dist/chunks/{bus-sq76bqdv.js → image-ttxcsnx6.js} +14 -14
  240. package/dist/chunks/{bus-9pmshs7t.js → image-tv99pcdp.js} +4 -4
  241. package/dist/chunks/{bus-16563rrk.js → image-tz7vcdn8.js} +20 -20
  242. package/dist/chunks/{bus-v0es1rhs.js → image-v0es1rhs.js} +2 -2
  243. package/dist/chunks/{bus-c7k02rcr.js → image-v30ksjc9.js} +33 -33
  244. package/dist/chunks/{bus-1chrhr7z.js → image-v310650k.js} +5 -5
  245. package/dist/chunks/{bus-y03t8dw0.js → image-v9s4hws0.js} +18 -18
  246. package/dist/chunks/image-vc89bnvz.js +253 -0
  247. package/dist/chunks/{bus-veqvce7d.js → image-veqvce7d.js} +1 -1
  248. package/dist/chunks/{bus-3vq87t0z.js → image-vf6bps2h.js} +3 -3
  249. package/dist/chunks/{bus-tdqx4ye7.js → image-vh0kh8n7.js} +3 -3
  250. package/dist/chunks/{bus-tgnb2k4a.js → image-vkkt5te1.js} +11 -11
  251. package/dist/chunks/{bus-xc5p1kc4.js → image-vzbxwz1d.js} +11 -11
  252. package/dist/chunks/{bus-vzcthcp8.js → image-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{bus-vzs5sf6e.js → image-vzs5sf6e.js} +1 -1
  254. package/dist/chunks/{bus-w3wsvvr9.js → image-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{bus-gp8gzmxj.js → image-w4p6zx7p.js} +24 -24
  256. package/dist/chunks/{bus-b1263dz2.js → image-w9b9h2fr.js} +22 -22
  257. package/dist/chunks/{bus-zn5v3n4q.js → image-w9vf9qqj.js} +9 -9
  258. package/dist/chunks/{bus-hxeztvh1.js → image-wabv6zcf.js} +30 -30
  259. package/dist/chunks/{bus-wd87259q.js → image-wd87259q.js} +1 -1
  260. package/dist/chunks/{bus-x1ezjp6w.js → image-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{bus-rkgkngmn.js → image-x56pwdce.js} +10 -10
  262. package/dist/chunks/{bus-ydxad0et.js → image-xbkfksat.js} +44 -44
  263. package/dist/chunks/{bus-w19d8598.js → image-xfkkasph.js} +5 -5
  264. package/dist/chunks/{bus-xyafkbt0.js → image-xyafkbt0.js} +3 -3
  265. package/dist/chunks/{bus-vtvabry8.js → image-xzemz1mp.js} +11 -11
  266. package/dist/chunks/{bus-y1fvbwt7.js → image-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{bus-yh84mqgm.js → image-yd14hhn6.js} +20 -20
  268. package/dist/chunks/{bus-yf10kn3d.js → image-yf10kn3d.js} +1 -1
  269. package/dist/chunks/{bus-fx4tvk9b.js → image-yh4t3zdw.js} +4 -4
  270. package/dist/chunks/{bus-yrhqyw5v.js → image-yrhqyw5v.js} +1 -1
  271. package/dist/chunks/{bus-z0bkrqjs.js → image-z0bkrqjs.js} +1 -1
  272. package/dist/chunks/{bus-0vnef71r.js → image-z8v9jae5.js} +17 -17
  273. package/dist/chunks/{bus-cmzv90b7.js → image-z8ye16b1.js} +20 -20
  274. package/dist/chunks/{bus-3qnxet6s.js → image-zb1e6psc.js} +3 -3
  275. package/dist/chunks/{bus-aq5xdgj7.js → image-zmnekn2y.js} +8 -8
  276. package/dist/chunks/{bus-gp777cqg.js → image-zntmvw6r.js} +78 -78
  277. package/dist/chunks/{bus-4012ahpv.js → image-zpf8gqaa.js} +29 -29
  278. package/dist/chunks/{bus-nza4zmv1.js → image-zq8gz19f.js} +45 -45
  279. package/dist/chunks/{bus-zr2ceqn5.js → image-zr2ceqn5.js} +1 -1
  280. package/dist/chunks/{bus-3zbwexce.js → image-zsrjdhgv.js} +8 -8
  281. package/dist/chunks/{bus-kdc4anf3.js → image-zt6rd191.js} +2 -2
  282. package/dist/chunks/{bus-j9w8r9tz.js → image-zvma4j48.js} +6 -6
  283. package/dist/chunks/{bus-t7n9q6bq.js → image-zvt5dnpc.js} +4 -4
  284. package/dist/chunks/{bus-zxq2ej10.js → image-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 +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 +118 -118
  294. package/dist/config/plugin/command.js +207 -207
  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 +125 -125
  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 +116 -116
  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 +119 -119
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +115 -115
  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 +121 -121
  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 +103 -103
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +15 -15
  422. package/dist/filesystem.js +102 -102
  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 +103 -103
  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 +85 -85
  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 +78 -78
  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 +1 -1
  465. package/dist/mcp/client.js +91 -91
  466. package/dist/mcp/index.js +109 -109
  467. package/dist/mcp/instructions.js +129 -129
  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 +102 -102
  474. package/dist/models-dev.js +105 -105
  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 +86 -86
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +75 -75
  484. package/dist/plugin/agent.js +104 -104
  485. package/dist/plugin/command.js +102 -102
  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 +115 -115
  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 +3 -3
  535. package/dist/plugin/skill.js +134 -134
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +346 -346
  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 +86 -86
  541. package/dist/plugin/vcs/hg.js +86 -86
  542. package/dist/plugin/verbosity.js +93 -93
  543. package/dist/plugin/warming.js +114 -114
  544. package/dist/plugin/websearch/exa.js +7 -7
  545. package/dist/plugin/websearch/firecrawl.js +8 -8
  546. package/dist/plugin/websearch/index.js +9 -9
  547. package/dist/plugin/websearch/mcp.js +6 -6
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +6 -6
  550. package/dist/plugin/websearch/tinyfish.js +8 -8
  551. package/dist/plugin.js +218 -218
  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 +93 -93
  559. package/dist/reference/instructions.js +89 -89
  560. package/dist/reference.js +87 -87
  561. package/dist/repository-cache.js +81 -81
  562. package/dist/repository.js +3 -3
  563. package/dist/ripgrep/binary.js +2 -2
  564. package/dist/ripgrep.js +95 -95
  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 +133 -133
  570. package/dist/session/context.js +153 -153
  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 +214 -214
  576. package/dist/session/execution.js +125 -125
  577. package/dist/session/generate.js +154 -154
  578. package/dist/session/history.js +13 -13
  579. package/dist/session/inbox.js +88 -88
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +79 -79
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +97 -97
  584. package/dist/session/message-updater.js +4 -4
  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 +84 -84
  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 +94 -94
  598. package/dist/session/runner/publish-llm-event.js +113 -113
  599. package/dist/session/runner/retry.js +4 -4
  600. package/dist/session/runner/step.js +125 -125
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +5 -5
  603. package/dist/session/session.js +164 -164
  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 +203 -203
  611. package/dist/session/system-prompt.js +3 -3
  612. package/dist/session/title.js +157 -157
  613. package/dist/session/to-session-error.js +111 -111
  614. package/dist/session/transfer.js +207 -207
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +211 -211
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +11 -11
  621. package/dist/shell.js +132 -132
  622. package/dist/skill/discovery.js +6 -6
  623. package/dist/skill/instructions.js +105 -105
  624. package/dist/skill.js +106 -106
  625. package/dist/snapshot.js +87 -87
  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 +126 -126
  630. package/dist/tool/plugin/edit.js +114 -114
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +122 -122
  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 +101 -101
  638. package/dist/tool/plugin/read.js +125 -125
  639. package/dist/tool/plugin/shell.js +208 -208
  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 +112 -112
  643. package/dist/tool/plugin/websearch.js +112 -112
  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 +12 -12
  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 +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 +93 -93
  668. package/dist/vcs/patch.js +1 -1
  669. package/dist/vcs.js +89 -89
  670. package/dist/websearch.js +74 -74
  671. package/dist/wellknown/plugin.js +76 -76
  672. package/dist/wellknown.js +81 -81
  673. package/dist/workspace/driver.js +5 -5
  674. package/dist/workspace/sql.js +1 -1
  675. package/dist/workspace.js +80 -80
  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 +89 -89
  680. package/dist/worktree.js +96 -96
  681. package/package.json +8 -8
  682. package/dist/chunks/bus-ctefx7dc.js +0 -18
  683. package/dist/chunks/bus-f6sqqyc6.js +0 -26
  684. package/dist/chunks/bus-wvd0q0e3.js +0 -253
  685. /package/dist/chunks/{bus-0qkdqm5v.js → image-0qkdqm5v.js} +0 -0
  686. /package/dist/chunks/{bus-0zkw76rk.js → image-0zkw76rk.js} +0 -0
  687. /package/dist/chunks/{bus-17cy0kzp.js → image-17cy0kzp.js} +0 -0
  688. /package/dist/chunks/{bus-1cnp2v09.js → image-1cnp2v09.js} +0 -0
  689. /package/dist/chunks/{bus-1kg9ymc8.js → image-1kg9ymc8.js} +0 -0
  690. /package/dist/chunks/{bus-24dcb14g.js → image-24dcb14g.js} +0 -0
  691. /package/dist/chunks/{bus-2710q6r3.js → image-2710q6r3.js} +0 -0
  692. /package/dist/chunks/{bus-2axfhc9x.js → image-2axfhc9x.js} +0 -0
  693. /package/dist/chunks/{bus-2c3vjs8z.js → image-2c3vjs8z.js} +0 -0
  694. /package/dist/chunks/{bus-34c7v6d4.js → image-34c7v6d4.js} +0 -0
  695. /package/dist/chunks/{bus-359p4xyc.js → image-359p4xyc.js} +0 -0
  696. /package/dist/chunks/{bus-3asan66x.js → image-3asan66x.js} +0 -0
  697. /package/dist/chunks/{bus-3t0ybcrp.js → image-3t0ybcrp.js} +0 -0
  698. /package/dist/chunks/{bus-3v8g72cx.js → image-3v8g72cx.js} +0 -0
  699. /package/dist/chunks/{bus-3w5fmr99.js → image-3w5fmr99.js} +0 -0
  700. /package/dist/chunks/{bus-3wcehsnq.js → image-3wcehsnq.js} +0 -0
  701. /package/dist/chunks/{bus-43n2bw4t.js → image-43n2bw4t.js} +0 -0
  702. /package/dist/chunks/{bus-4knz6hnm.js → image-4knz6hnm.js} +0 -0
  703. /package/dist/chunks/{bus-4vcrnpx2.js → image-4vcrnpx2.js} +0 -0
  704. /package/dist/chunks/{bus-4y7fprxs.js → image-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{bus-53557ph1.js → image-53557ph1.js} +0 -0
  706. /package/dist/chunks/{bus-550bvhaj.js → image-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{bus-5qd3pb7m.js → image-5qd3pb7m.js} +0 -0
  708. /package/dist/chunks/{bus-6prwharc.js → image-6prwharc.js} +0 -0
  709. /package/dist/chunks/{bus-7akdwqpd.js → image-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{bus-7m9af43g.js → image-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{bus-822emrt2.js → image-822emrt2.js} +0 -0
  712. /package/dist/chunks/{bus-88xbtdfr.js → image-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{bus-8n3pysct.js → image-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{bus-8wj87zfr.js → image-8wj87zfr.js} +0 -0
  715. /package/dist/chunks/{bus-9a4afbnw.js → image-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{bus-9rqn6x4v.js → image-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{bus-a6k6eb26.js → image-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{bus-af5trqkr.js → image-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{bus-afrmfg78.js → image-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{bus-aqzs7mqg.js → image-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{bus-atq7p7m5.js → image-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{bus-bkyjaxrp.js → image-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{bus-bmr6ed5q.js → image-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{bus-cf4snx6d.js → image-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{bus-cvy3z8tj.js → image-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{bus-d9fn303g.js → image-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{bus-d9jj8t3e.js → image-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{bus-dajrwvna.js → image-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{bus-dap0rakb.js → image-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{bus-df08tz66.js → image-df08tz66.js} +0 -0
  731. /package/dist/chunks/{bus-dy18nga0.js → image-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{bus-e5kj55wp.js → image-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{bus-e73j6tqm.js → image-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{bus-ec1grn59.js → image-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{bus-eh3zwz77.js → image-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{bus-emrn6kk6.js → image-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{bus-f0mxakyp.js → image-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{bus-f6n9ztr4.js → image-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{bus-faypxj3z.js → image-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{bus-fd410y7t.js → image-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{bus-fxgpk5d8.js → image-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{bus-g4wezp1m.js → image-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{bus-g86h250q.js → image-g86h250q.js} +0 -0
  744. /package/dist/chunks/{bus-gebd4c9n.js → image-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{bus-gftt206x.js → image-gftt206x.js} +0 -0
  746. /package/dist/chunks/{bus-hjbc5kem.js → image-hjbc5kem.js} +0 -0
  747. /package/dist/chunks/{bus-hk9envan.js → image-hk9envan.js} +0 -0
  748. /package/dist/chunks/{bus-j2ntwpah.js → image-j2ntwpah.js} +0 -0
  749. /package/dist/chunks/{bus-j5zkgpj8.js → image-j5zkgpj8.js} +0 -0
  750. /package/dist/chunks/{bus-jjkms2e6.js → image-jjkms2e6.js} +0 -0
  751. /package/dist/chunks/{bus-jr7sbwjy.js → image-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{bus-jwfs4k6c.js → image-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{bus-jzg6c2d5.js → image-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{bus-mp448xyj.js → image-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{bus-msx8hqn2.js → image-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{bus-n05xt0ee.js → image-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{bus-n3j8tn72.js → image-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{bus-njntx4h6.js → image-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{bus-q3sfg36h.js → image-q3sfg36h.js} +0 -0
  760. /package/dist/chunks/{bus-q74kybfr.js → image-q74kybfr.js} +0 -0
  761. /package/dist/chunks/{bus-qaymkmh1.js → image-qaymkmh1.js} +0 -0
  762. /package/dist/chunks/{bus-qb87gjwd.js → image-qb87gjwd.js} +0 -0
  763. /package/dist/chunks/{bus-qfa1cgps.js → image-qfa1cgps.js} +0 -0
  764. /package/dist/chunks/{bus-qg3g05ea.js → image-qg3g05ea.js} +0 -0
  765. /package/dist/chunks/{bus-qrg20bc0.js → image-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{bus-rcb2kzg1.js → image-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{bus-sdp7kfr6.js → image-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{bus-ssg3fenm.js → image-ssg3fenm.js} +0 -0
  769. /package/dist/chunks/{bus-w803qqfp.js → image-w803qqfp.js} +0 -0
  770. /package/dist/chunks/{bus-wc3fc9cn.js → image-wc3fc9cn.js} +0 -0
  771. /package/dist/chunks/{bus-wer8tq1h.js → image-wer8tq1h.js} +0 -0
  772. /package/dist/chunks/{bus-wtztk69x.js → image-wtztk69x.js} +0 -0
  773. /package/dist/chunks/{bus-x0ckcb58.js → image-x0ckcb58.js} +0 -0
  774. /package/dist/chunks/{bus-x61499pn.js → image-x61499pn.js} +0 -0
  775. /package/dist/chunks/{bus-y44na4kk.js → image-y44na4kk.js} +0 -0
  776. /package/dist/chunks/{bus-y8cydn3q.js → image-y8cydn3q.js} +0 -0
  777. /package/dist/chunks/{bus-y8f7s663.js → image-y8f7s663.js} +0 -0
  778. /package/dist/chunks/{bus-ygaqb7jw.js → image-ygaqb7jw.js} +0 -0
  779. /package/dist/chunks/{bus-ym463w8f.js → image-ym463w8f.js} +0 -0
  780. /package/dist/chunks/{bus-z5v4ffb3.js → image-z5v4ffb3.js} +0 -0
  781. /package/dist/chunks/{bus-z9919s4g.js → image-z9919s4g.js} +0 -0
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./bus-b34btn2x.js";
4
+ } from "./image-0q9kf5tv.js";
5
5
  import {
6
6
  environment2
7
- } from "./bus-pr326b8c.js";
7
+ } from "./image-rnr5nq63.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./bus-3t0ybcrp.js";
10
+ } from "./image-3t0ybcrp.js";
11
11
  import {
12
12
  __export
13
- } from "./bus-9rqn6x4v.js";
13
+ } from "./image-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError3,
20
- Options: () => Options3,
19
+ NotFoundError: () => NotFoundError6,
20
+ Options: () => Options8,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service25,
22
+ Service: () => Service48,
23
23
  UnavailableError: () => UnavailableError3,
24
24
  available: () => available2,
25
- configured: () => configured3,
26
- layer: () => layer10,
27
- node: () => node28
25
+ configured: () => configured7,
26
+ layer: () => layer20,
27
+ node: () => node50
28
28
  });
29
29
  import path from "node:path";
30
30
  import { Context, Effect, Layer, Schema } from "effect";
@@ -36,7 +36,7 @@ import { Global } from "@opencode/util/global";
36
36
  import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
38
38
  import { available as available2 } from "#persistent-pty-binary";
39
- var Options3 = Schema.Struct({
39
+ var Options8 = Schema.Struct({
40
40
  handoff: Schema.optional(Handoff),
41
41
  root: Schema.optional(Schema.String)
42
42
  });
@@ -46,14 +46,14 @@ class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableE
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
49
+ class NotFoundError6 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
50
50
  ptyID: Pty.ID
51
51
  }) {
52
52
  }
53
53
 
54
- class Service25 extends Context.Service()("@opencode/PersistentPty") {
54
+ class Service48 extends Context.Service()("@opencode/PersistentPty") {
55
55
  }
56
- var makeLayer = (options = {}) => Layer.effect(Service25, Effect.gen(function* () {
56
+ var makeLayer = (options = {}) => Layer.effect(Service48, Effect.gen(function* () {
57
57
  const bus = yield* Service83;
58
58
  const global = yield* Global.Service;
59
59
  const context = yield* Effect.context();
@@ -76,7 +76,7 @@ var makeLayer = (options = {}) => Layer.effect(Service25, Effect.gen(function* (
76
76
  const get = Effect.fn("PersistentPty.get")(function* (id) {
77
77
  const found = (yield* list()).find((terminal) => terminal.id === id);
78
78
  if (!found)
79
- return yield* new NotFoundError3({ ptyID: id });
79
+ return yield* new NotFoundError6({ ptyID: id });
80
80
  return found;
81
81
  });
82
82
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service25, Effect.gen(function* (
243
243
  detach: attachment.detach
244
244
  };
245
245
  });
246
- return Service25.of({
246
+ return Service48.of({
247
247
  list,
248
248
  get,
249
249
  create,
@@ -259,13 +259,13 @@ var makeLayer = (options = {}) => Layer.effect(Service25, Effect.gen(function* (
259
259
  attach
260
260
  });
261
261
  }));
262
- var layer10 = makeLayer();
263
- var configured3 = (options) => makeGlobalNode({
264
- service: Service25,
265
- layer: options === undefined ? layer10 : makeLayer(options),
262
+ var layer20 = makeLayer();
263
+ var configured7 = (options) => makeGlobalNode({
264
+ service: Service48,
265
+ layer: options === undefined ? layer20 : makeLayer(options),
266
266
  deps: [node87, Global.node]
267
267
  });
268
- var node28 = configured3();
268
+ var node50 = configured7();
269
269
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
270
270
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
271
271
  var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options3, UnavailableError3, NotFoundError3, Service25, layer10, configured3, node28, exports_persistent_pty, Handoff2, available2 };
304
+ export { Options8, UnavailableError3, NotFoundError6, Service48, layer20, configured7, node50, exports_persistent_pty, Handoff2, available2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  create3
3
- } from "./bus-rdw6cm16.js";
3
+ } from "./image-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./bus-9rqn6x4v.js";
6
+ } from "./image-9rqn6x4v.js";
7
7
 
8
8
  // src/image.ts
9
9
  var exports_image2 = {};
@@ -11,9 +11,9 @@ __export(exports_image2, {
11
11
  DecodeError: () => DecodeError2,
12
12
  Image: () => exports_image2,
13
13
  ResizerUnavailableError: () => ResizerUnavailableError2,
14
- Service: () => Service59,
14
+ Service: () => Service64,
15
15
  SizeError: () => SizeError2,
16
- node: () => node62
16
+ node: () => node68
17
17
  });
18
18
  import { makeLocationNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
42
42
  }
43
43
  }
44
44
 
45
- class Service59 extends Context.Service()("@opencode/Image") {
45
+ class Service64 extends Context.Service()("@opencode/Image") {
46
46
  }
47
- var layer = Layer.effect(Service59, Effect.gen(function* () {
47
+ var layer = Layer.effect(Service64, Effect.gen(function* () {
48
48
  const state = create3({
49
49
  name: "image",
50
50
  initial: () => ({
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
74
74
  const normalize = yield* loadAdapter;
75
75
  return yield* normalize(resource, content, state.get());
76
76
  });
77
- return Service59.of({ transform: state.transform, reload: state.reload, normalize });
77
+ return Service64.of({ transform: state.transform, reload: state.reload, normalize });
78
78
  }));
79
- var node62 = makeLocationNode({ service: Service59, layer, deps: [] });
79
+ var node68 = makeLocationNode({ service: Service64, layer, deps: [] });
80
80
 
81
- export { ResizerUnavailableError2, DecodeError2, SizeError2, Service59, node62, exports_image2 };
81
+ export { ResizerUnavailableError2, DecodeError2, SizeError2, Service64, node68, exports_image2 };
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./bus-b34btn2x.js";
4
+ } from "./image-0q9kf5tv.js";
5
5
  import {
6
- Key3,
7
- Service73,
8
- node77
9
- } from "./bus-et242a98.js";
6
+ Key4,
7
+ Service78,
8
+ node82
9
+ } from "./image-9gtf3fja.js";
10
10
  import {
11
11
  create3
12
- } from "./bus-rdw6cm16.js";
12
+ } from "./image-rdw6cm16.js";
13
13
  import {
14
14
  key2
15
- } from "./bus-db2wf4at.js";
15
+ } from "./image-addxnjmp.js";
16
16
  import {
17
17
  validateAnswer2,
18
18
  validateFields2
19
- } from "./bus-b5txeqhw.js";
19
+ } from "./image-5em88vt3.js";
20
20
  import {
21
21
  __export
22
- } from "./bus-9rqn6x4v.js";
22
+ } from "./image-9rqn6x4v.js";
23
23
 
24
24
  // src/integration.ts
25
25
  var exports_integration = {};
@@ -34,17 +34,17 @@ __export(exports_integration, {
34
34
  CommandAttemptStatus: () => CommandAttemptStatus2,
35
35
  CommandMethod: () => CommandMethod2,
36
36
  EnvMethod: () => EnvMethod2,
37
- Event: () => Event16,
38
- ID: () => ID10,
39
- Info: () => Info19,
37
+ Event: () => Event18,
38
+ ID: () => ID14,
39
+ Info: () => Info23,
40
40
  Integration: () => exports_integration,
41
41
  KeyMethod: () => KeyMethod2,
42
42
  Method: () => Method2,
43
43
  MethodID: () => MethodID2,
44
44
  OAuthMethod: () => OAuthMethod2,
45
45
  Ref: () => Ref3,
46
- Service: () => Service72,
47
- node: () => node76
46
+ Service: () => Service77,
47
+ node: () => node81
48
48
  });
49
49
  import { makeLocationNode } from "@opencode/util/effect/app-node";
50
50
  import {
@@ -66,8 +66,8 @@ import {
66
66
  import { Integration } from "@opencode/schema/integration";
67
67
  import { AppProcess } from "@opencode/util/process";
68
68
  import { ChildProcess } from "effect/unstable/process";
69
- import { Event as Event16 } from "@opencode/schema/integration";
70
- var ID10 = Integration.ID;
69
+ import { Event as Event18 } from "@opencode/schema/integration";
70
+ var ID14 = Integration.ID;
71
71
  var MethodID2 = Integration.MethodID;
72
72
  var AttemptID2 = Integration.AttemptID;
73
73
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -75,7 +75,7 @@ var CommandMethod2 = Integration.CommandMethod;
75
75
  var KeyMethod2 = Integration.KeyMethod;
76
76
  var EnvMethod2 = Integration.EnvMethod;
77
77
  var Method2 = Integration.Method;
78
- var Info19 = Integration.Info;
78
+ var Info23 = Integration.Info;
79
79
  var Attempt2 = Integration.Attempt;
80
80
  var AttemptStatus2 = Integration.AttemptStatus;
81
81
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -98,19 +98,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
98
98
  }
99
99
 
100
100
  class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
101
- integrationID: ID10,
101
+ integrationID: ID14,
102
102
  attemptID: AttemptID2
103
103
  }) {
104
104
  }
105
105
  var Ref3 = Integration.Ref;
106
106
 
107
- class Service72 extends Context.Service()("@opencode/Integration") {
107
+ class Service77 extends Context.Service()("@opencode/Integration") {
108
108
  }
109
109
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
110
110
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
111
111
  var scrubInterval = Duration.seconds(30);
112
- var layer = Layer.effect(Service72, Effect.gen(function* () {
113
- const credentials = yield* Service73;
112
+ var layer = Layer.effect(Service77, Effect.gen(function* () {
113
+ const credentials = yield* Service78;
114
114
  const bus = yield* Service83;
115
115
  const processes = yield* AppProcess.Service;
116
116
  const scope = yield* Scope.Scope;
@@ -207,7 +207,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
207
207
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
208
208
  return [...credentials, ...env];
209
209
  };
210
- const project = (entry, connections) => Info19.make({
210
+ const project = (entry, connections) => Info23.make({
211
211
  id: entry.ref.id,
212
212
  name: entry.ref.name,
213
213
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -294,7 +294,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
294
294
  const persistence = yield* createCredential({
295
295
  integrationID: attempt.integrationID,
296
296
  label: attempt.label,
297
- value: Key3.make({ type: "key", key: exit.value })
297
+ value: Key4.make({ type: "key", key: exit.value })
298
298
  }).pipe(Effect.asVoid, Effect.exit);
299
299
  const settledAt = yield* Clock.currentTimeMillis;
300
300
  const terminal = Exit.isSuccess(persistence) ? {
@@ -440,7 +440,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
440
440
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
441
441
  return CommandAttempt2.make({ attemptID, time });
442
442
  });
443
- return Service72.of({
443
+ return Service77.of({
444
444
  transform: state.transform,
445
445
  reload: state.reload,
446
446
  revision: state.revision,
@@ -462,7 +462,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
462
462
  resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
463
463
  if (connection.type === "env") {
464
464
  const key = process.env[connection.name];
465
- return key ? Key3.make({ type: "key", key }) : undefined;
465
+ return key ? Key4.make({ type: "key", key }) : undefined;
466
466
  }
467
467
  const credential = yield* credentials.get(connection.id);
468
468
  if (!credential)
@@ -495,7 +495,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
495
495
  yield* createCredential({
496
496
  integrationID: input.integrationID,
497
497
  label: input.label,
498
- value: Key3.make({
498
+ value: Key4.make({
499
499
  type: "key",
500
500
  key: input.key,
501
501
  ...Object.keys(answer).length > 0 ? { configuration: answer } : {}
@@ -599,10 +599,10 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
599
599
  }
600
600
  });
601
601
  }));
602
- var node76 = makeLocationNode({
603
- service: Service72,
602
+ var node81 = makeLocationNode({
603
+ service: Service77,
604
604
  layer,
605
- deps: [node77, node87, AppProcess.node]
605
+ deps: [node82, node87, AppProcess.node]
606
606
  });
607
607
 
608
- export { ID10, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info19, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service72, node76, exports_integration, Event16 };
608
+ export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info23, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service77, node81, exports_integration, Event18 };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getViewSelectedFieldsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./bus-emrn6kk6.js";
4
+ } from "./image-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/select.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./bus-9rqn6x4v.js";
3
+ } from "./image-9rqn6x4v.js";
4
4
 
5
5
  // src/session/subagent-completion.ts
6
6
  var exports_subagent_completion = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
- ID7
3
- } from "./bus-4012ahpv.js";
2
+ ID12
3
+ } from "./image-zpf8gqaa.js";
4
4
  import {
5
- Service64
6
- } from "./bus-dyfbzmt6.js";
5
+ Service40
6
+ } from "./image-rm42a5p7.js";
7
7
  import {
8
8
  foldSettings2
9
- } from "./bus-rddwsqyn.js";
9
+ } from "./image-416yb7k1.js";
10
10
 
11
11
  // src/plugin/provider/vllm.ts
12
12
  import { define } from "@opencode/plugin/effect/plugin";
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
21
21
  var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
22
22
  var discovery = new Map;
23
23
  var discoveryLock = Semaphore.makeUnsafe(1);
24
- function make10(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
24
+ function make7(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
25
25
  return define({
26
26
  id: "opencode.provider.vllm",
27
27
  effect: Effect.fn(function* (ctx) {
28
28
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
29
- const config = yield* Service64;
29
+ const config = yield* Service40;
30
30
  const source = { current: configured(yield* config.entries(), origin) };
31
31
  const loaded = { models: [], hash: "[]" };
32
32
  yield* ctx.integration.transform((integrations) => {
@@ -53,7 +53,7 @@ function make10(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
53
53
  });
54
54
  for (const item of loaded.models) {
55
55
  providers.models.update(providerID, item.id, (model) => {
56
- model.modelID = ID7.make(item.id);
56
+ model.modelID = ID12.make(item.id);
57
57
  model.name = item.id;
58
58
  model.capabilities = { tools: false, input: ["text"], output: ["text"] };
59
59
  if (typeof item.max_model_len === "number" && item.max_model_len > 0)
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
112
112
  })
113
113
  });
114
114
  }
115
- var VLLMPlugin2 = make10();
115
+ var VLLMPlugin2 = make7();
116
116
  function configured(entries, origin) {
117
117
  const settings = foldSettings2(entries, providerID, undefined);
118
118
  const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
@@ -134,4 +134,4 @@ function configured(entries, origin) {
134
134
  return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
135
135
  }
136
136
 
137
- export { make10, VLLMPlugin2 };
137
+ export { make7, VLLMPlugin2 };
@@ -1,10 +1,10 @@
1
1
  import {
2
- ID10,
3
- Service72,
4
- node76
5
- } from "./bus-hxeztvh1.js";
2
+ ID14,
3
+ Service77,
4
+ node81
5
+ } from "./image-wabv6zcf.js";
6
6
  import {
7
- ID9,
7
+ ID13,
8
8
  isAISDK2,
9
9
  packageName2,
10
10
  loadPackage2,
@@ -14,23 +14,23 @@ import {
14
14
  timeouts2,
15
15
  mergeOverlay2,
16
16
  mergeHeaders2,
17
- Service71,
18
- node75
19
- } from "./bus-8g25bh64.js";
17
+ Service76,
18
+ node80
19
+ } from "./image-p4rtc4a0.js";
20
20
  import {
21
- Service52,
22
- node54
23
- } from "./bus-adp03cxn.js";
21
+ Service57,
22
+ node60
23
+ } from "./image-kt0esg8p.js";
24
24
  import {
25
- ID7,
25
+ ID12,
26
26
  VariantID2,
27
27
  Ref2,
28
- Service67,
29
- node70
30
- } from "./bus-4012ahpv.js";
28
+ Service75,
29
+ node79
30
+ } from "./image-zpf8gqaa.js";
31
31
  import {
32
32
  __export
33
- } from "./bus-9rqn6x4v.js";
33
+ } from "./image-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: () => Service49,
42
+ Service: () => Service56,
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: () => layer19,
50
- node: () => node51,
49
+ layer: () => layer23,
50
+ node: () => node59,
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: ID9,
61
- modelID: ID7,
60
+ providerID: ID13,
61
+ modelID: ID12,
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: ID9,
71
- modelID: ID7,
70
+ providerID: ID13,
71
+ modelID: ID12,
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: ID9,
82
- modelID: ID7,
81
+ providerID: ID13,
82
+ modelID: ID12,
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: ID9,
93
- modelID: ID7,
92
+ providerID: ID13,
93
+ modelID: ID12,
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: ID9,
105
- modelID: ID7,
104
+ providerID: ID13,
105
+ modelID: ID12,
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: ID9,
115
- modelID: ID7,
114
+ providerID: ID13,
115
+ modelID: ID12,
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 Service49 extends Context.Service()("@opencode/ModelResolver") {
123
+ class Service56 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 layer19 = Layer.effect(Service49, Effect.gen(function* () {
268
- const providers = yield* Service71;
269
- const models = yield* Service67;
270
- const integrations = yield* Service72;
267
+ var layer23 = Layer.effect(Service56, Effect.gen(function* () {
268
+ const providers = yield* Service76;
269
+ const models = yield* Service75;
270
+ const integrations = yield* Service77;
271
271
  const npm = yield* Npm.Service;
272
- const aisdk = yield* Service52;
272
+ const aisdk = yield* Service57;
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 ?? ID10.make(selected.providerID));
275
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.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 layer19 = Layer.effect(Service49, Effect.gen(function* () {
299
299
  chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
300
300
  };
301
301
  });
302
- return Service49.of({
302
+ return Service56.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 node51 = makeLocationNode({
320
- service: Service49,
321
- layer: layer19,
322
- deps: [node75, node70, node76, Npm.node, node54]
319
+ var node59 = makeLocationNode({
320
+ service: Service56,
321
+ layer: layer23,
322
+ deps: [node80, node79, node81, Npm.node, node60]
323
323
  });
324
324
 
325
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service49, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer19, node51, exports_model_resolver };
325
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service56, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer23, node59, exports_model_resolver };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./bus-9rqn6x4v.js";
3
+ } from "./image-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt = {};
7
7
  __export(exports_system_prompt, {
8
8
  SessionSystemPrompt: () => exports_system_prompt,
9
9
  make: () => make15,
10
- render: () => render2
10
+ render: () => render3
11
11
  });
12
12
 
13
13
  // src/session/runner/prompt/system.txt
@@ -30,9 +30,9 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
30
30
 
31
31
  // src/session/system-prompt.ts
32
32
  function make15(tools) {
33
- return render2(system_default, tools);
33
+ return render3(system_default, tools);
34
34
  }
35
- function render2(prompt, tools) {
35
+ function render3(prompt, tools) {
36
36
  const instructions = [];
37
37
  if (tools.includes("shell")) {
38
38
  instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
@@ -47,4 +47,4 @@ function render2(prompt, tools) {
47
47
  `));
48
48
  }
49
49
 
50
- export { make15, render2, exports_system_prompt };
50
+ export { make15, render3, exports_system_prompt };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  definition2,
3
3
  normalizedName2
4
- } from "./bus-3w5fmr99.js";
4
+ } from "./image-3w5fmr99.js";
5
5
  import {
6
6
  extension2,
7
7
  display2
8
- } from "./bus-m3fdjcah.js";
8
+ } from "./image-m3fdjcah.js";
9
9
  import {
10
10
  __export
11
- } from "./bus-9rqn6x4v.js";
11
+ } from "./image-9rqn6x4v.js";
12
12
 
13
13
  // src/codemode/tool.ts
14
14
  var exports_tool2 = {};