@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,50 +1,50 @@
1
1
  import {
2
- Service65
3
- } from "./bus-939s0wb1.js";
2
+ Service41
3
+ } from "./image-aeknpwjp.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./bus-z5v4ffb3.js";
6
+ } from "./image-z5v4ffb3.js";
7
7
  import {
8
8
  Service80
9
- } from "./bus-vbz2qf1p.js";
9
+ } from "./image-5f3byeqc.js";
10
10
  import {
11
- Service64
12
- } from "./bus-dyfbzmt6.js";
11
+ Service40
12
+ } from "./image-rm42a5p7.js";
13
13
  import {
14
14
  DirectorySource2,
15
15
  UrlSource2,
16
16
  Source3
17
- } from "./bus-cvz7ssjq.js";
17
+ } from "./image-s9qk69v9.js";
18
18
  import {
19
- Service8
20
- } from "./bus-g31erja1.js";
19
+ Service12
20
+ } from "./image-k70p9jzb.js";
21
21
  import {
22
22
  parse2
23
- } from "./bus-z55wc6c1.js";
23
+ } from "./image-k5kkq75a.js";
24
24
  import {
25
25
  __export
26
- } from "./bus-9rqn6x4v.js";
26
+ } from "./image-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/skill.ts
29
- var exports_skill2 = {};
30
- __export(exports_skill2, {
31
- ConfigSkillPlugin: () => exports_skill2,
32
- Plugin: () => Plugin20
29
+ var exports_skill3 = {};
30
+ __export(exports_skill3, {
31
+ ConfigSkillPlugin: () => exports_skill3,
32
+ Plugin: () => Plugin43
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import path from "path";
38
38
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
39
- var Plugin20 = define({
39
+ var Plugin43 = define({
40
40
  id: "opencode.config.skill",
41
41
  effect: Effect.fn(function* (ctx) {
42
- const config = yield* Service64;
43
- const discovery = yield* Service8;
42
+ const config = yield* Service40;
43
+ const discovery = yield* Service12;
44
44
  const fs = yield* FSUtil.Service;
45
45
  const global = yield* Global.Service;
46
46
  const location = yield* Service80;
47
- const watcher = yield* Service65;
47
+ const watcher = yield* Service41;
48
48
  const loaded = {
49
49
  entries: yield* config.entries(),
50
50
  skills: []
@@ -176,4 +176,4 @@ var Plugin20 = define({
176
176
  })
177
177
  });
178
178
 
179
- export { Plugin20, exports_skill2 };
179
+ export { Plugin43, exports_skill3 };
@@ -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/filesystem/protected.ts
6
6
  var exports_protected = {};
@@ -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/usage.ts
6
6
  var exports_usage = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./bus-9rqn6x4v.js";
3
+ } from "./image-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/identity.ts
6
6
  var exports_identity = {};
7
7
  __export(exports_identity, {
8
8
  IdentityPlugin: () => exports_identity,
9
- Plugin: () => Plugin48,
9
+ Plugin: () => Plugin17,
10
10
  identity: () => identity2
11
11
  });
12
12
  import { SystemPart } from "@opencode/ai";
@@ -22,7 +22,7 @@ function identity2(model) {
22
22
  ].join(`
23
23
  `);
24
24
  }
25
- var Plugin48 = define({
25
+ var Plugin17 = define({
26
26
  id: "opencode.prompt.identity",
27
27
  effect: Effect.fn("IdentityPlugin")(function* (ctx) {
28
28
  const hook = (event) => Effect.gen(function* () {
@@ -35,4 +35,4 @@ var Plugin48 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { identity2, Plugin48, exports_identity };
38
+ export { identity2, Plugin17, exports_identity };
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./bus-7849783s.js";
4
+ } from "./image-a6ty810w.js";
5
5
  import {
6
6
  Service83,
7
7
  node87
8
- } from "./bus-b34btn2x.js";
8
+ } from "./image-0q9kf5tv.js";
9
9
  import {
10
- Service57,
11
- node60
12
- } from "./bus-2cz08s9n.js";
10
+ Service52,
11
+ node55
12
+ } from "./image-9s8yzpye.js";
13
13
  import {
14
- Service48,
15
- node50
16
- } from "./bus-tcay1cqt.js";
14
+ Service46,
15
+ node48
16
+ } from "./image-909p1r3q.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./bus-ec1grn59.js";
19
+ } from "./image-ec1grn59.js";
20
20
  import {
21
21
  make17
22
- } from "./bus-1acjjqhc.js";
22
+ } from "./image-1acjjqhc.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service45
26
- } from "./bus-t7n9q6bq.js";
25
+ Service44
26
+ } from "./image-zvt5dnpc.js";
27
27
  import {
28
- Service77,
29
- node81
30
- } from "./bus-hawkgyqk.js";
28
+ Service67,
29
+ node71
30
+ } from "./image-bn712fd7.js";
31
31
  import {
32
32
  toSessionError2
33
- } from "./bus-kd3kkb04.js";
33
+ } from "./image-0ze6xpc4.js";
34
34
  import {
35
35
  nextPromotable2
36
- } from "./bus-9pe7jy64.js";
36
+ } from "./image-2y53w5jf.js";
37
37
  import {
38
38
  __export
39
- } from "./bus-9rqn6x4v.js";
39
+ } from "./image-9rqn6x4v.js";
40
40
 
41
41
  // src/session/execution.ts
42
42
  var exports_execution = {};
43
43
  __export(exports_execution, {
44
- Service: () => Service44,
44
+ Service: () => Service43,
45
45
  SessionExecution: () => exports_execution,
46
- layer: () => layer17,
47
- node: () => node47,
46
+ layer: () => layer18,
47
+ node: () => node46,
48
48
  noopLayer: () => noopLayer2,
49
49
  terminal: () => terminal2
50
50
  });
51
51
  import { Cause, Context, Effect, Exit, Layer } from "effect";
52
52
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
53
- class Service44 extends Context.Service()("@opencode/SessionExecution") {
53
+ class Service43 extends Context.Service()("@opencode/SessionExecution") {
54
54
  }
55
55
  function terminal2(exit, reason) {
56
56
  if (Exit.isSuccess(exit))
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
59
59
  return { type: "interrupted", reason: reason ?? "shutdown" };
60
60
  return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
61
61
  }
62
- var layer17 = Layer.effect(Service44, Effect.gen(function* () {
63
- const store = yield* Service77;
64
- const instances = yield* Service48;
62
+ var layer18 = Layer.effect(Service43, Effect.gen(function* () {
63
+ const store = yield* Service67;
64
+ const instances = yield* Service46;
65
65
  const bus = yield* Service83;
66
- const jobs = yield* Service57;
66
+ const jobs = yield* Service52;
67
67
  const db = (yield* Service84).db;
68
68
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
69
69
  const claimOnCommit = (sessionID) => ({
@@ -76,7 +76,7 @@ var layer17 = Layer.effect(Service44, Effect.gen(function* () {
76
76
  const session = yield* store.get(sessionID);
77
77
  if (!session)
78
78
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
79
- const result = yield* Service45.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
79
+ const result = yield* Service44.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
80
80
  return yield* DrainResult2.$match(result, {
81
81
  Complete: () => Effect.void,
82
82
  Moved: (result) => drain(sessionID, false, result.continuation, promotable),
@@ -104,7 +104,7 @@ var layer17 = Layer.effect(Service44, Effect.gen(function* () {
104
104
  }, releaseOnCommit(sessionID));
105
105
  }))
106
106
  });
107
- return Service44.of({
107
+ return Service43.of({
108
108
  active: coordinator.active,
109
109
  isActive: coordinator.isActive,
110
110
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -123,12 +123,12 @@ var layer17 = Layer.effect(Service44, Effect.gen(function* () {
123
123
  awaitIdle: coordinator.awaitIdle
124
124
  });
125
125
  }));
126
- var node47 = makeGlobalNode({
127
- service: Service44,
128
- layer: layer17,
129
- deps: [node81, node50, node87, node88, node60]
126
+ var node46 = makeGlobalNode({
127
+ service: Service43,
128
+ layer: layer18,
129
+ deps: [node71, node48, node87, node88, node55]
130
130
  });
131
- var noopLayer2 = Layer.succeed(Service44, Service44.of({
131
+ var noopLayer2 = Layer.succeed(Service43, Service43.of({
132
132
  active: Effect.succeed(new Set),
133
133
  isActive: () => Effect.succeed(false),
134
134
  resume: () => Effect.void,
@@ -137,4 +137,4 @@ var noopLayer2 = Layer.succeed(Service44, Service44.of({
137
137
  awaitIdle: () => Effect.void
138
138
  }));
139
139
 
140
- export { Service44, terminal2, layer17, node47, noopLayer2, exports_execution };
140
+ export { Service43, terminal2, layer18, node46, noopLayer2, exports_execution };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./bus-b34btn2x.js";
4
+ } from "./image-0q9kf5tv.js";
5
5
  import {
6
6
  optional2,
7
7
  statics2
8
- } from "./bus-z5v4ffb3.js";
8
+ } from "./image-z5v4ffb3.js";
9
9
  import {
10
10
  Ref4,
11
11
  Service80,
12
12
  node84
13
- } from "./bus-vbz2qf1p.js";
13
+ } from "./image-5f3byeqc.js";
14
14
  import {
15
15
  __export
16
- } from "./bus-9rqn6x4v.js";
16
+ } from "./image-9rqn6x4v.js";
17
17
 
18
18
  // src/rpc.ts
19
19
  var exports_rpc = {};
20
20
  __export(exports_rpc, {
21
21
  Rpc: () => exports_rpc,
22
- Service: () => Service24,
22
+ Service: () => Service70,
23
23
  define: () => define2,
24
- node: () => node27
24
+ node: () => node74
25
25
  });
26
26
  import { define as define2 } from "@opencode/schema/rpc";
27
27
  import { Event } from "@opencode/schema/event";
28
28
  import { makeLocationNode } from "@opencode/util/effect/app-node";
29
29
  import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
30
- class Service24 extends Context.Service()("@opencode/Rpc") {
30
+ class Service70 extends Context.Service()("@opencode/Rpc") {
31
31
  }
32
32
 
33
33
  class DeclaredError extends Error {
@@ -39,7 +39,7 @@ class DeclaredError extends Error {
39
39
  this.data = data;
40
40
  }
41
41
  }
42
- var layer = Layer.effect(Service24, Effect.gen(function* () {
42
+ var layer = Layer.effect(Service70, Effect.gen(function* () {
43
43
  const bus = yield* Service83;
44
44
  const location = yield* Service80;
45
45
  const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
@@ -123,9 +123,9 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
123
123
  }
124
124
  };
125
125
  };
126
- return Service24.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
126
+ return Service70.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
127
127
  }));
128
- var node27 = makeLocationNode({ service: Service24, layer, deps: [node87, node84] });
128
+ var node74 = makeLocationNode({ service: Service70, layer, deps: [node87, node84] });
129
129
  var fields = {
130
130
  id: Event.ID,
131
131
  created: Schema.Finite,
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
210
210
  };
211
211
  });
212
212
 
213
- export { Service24, node27, exports_rpc, define2 };
213
+ export { Service70, node74, exports_rpc, define2 };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./bus-z5v4ffb3.js";
4
+ } from "./image-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
8
  Service82,
9
9
  node86
10
- } from "./bus-ytt4s9tm.js";
10
+ } from "./image-rrpq0de9.js";
11
11
  import {
12
12
  Service80,
13
13
  node84
14
- } from "./bus-vbz2qf1p.js";
14
+ } from "./image-5f3byeqc.js";
15
15
  import {
16
16
  create3
17
- } from "./bus-rdw6cm16.js";
17
+ } from "./image-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./bus-9rqn6x4v.js";
20
+ } from "./image-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
25
  Error: () => Error4,
26
26
  ID: () => ID6,
27
- Service: () => Service54,
27
+ Service: () => Service55,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node57,
29
+ node: () => node58,
30
30
  noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,9 +43,9 @@ class Error4 extends Schema.TaggedError()("Snapshot.Error", {
43
43
  }) {
44
44
  }
45
45
 
46
- class Service54 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service55 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service54, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service55, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
50
  const git = yield* Service82;
51
51
  const global = yield* Global.Service;
@@ -138,14 +138,14 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service54.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service55.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node57 = makeLocationNode({
144
- service: Service54,
143
+ var node58 = makeLocationNode({
144
+ service: Service55,
145
145
  layer,
146
146
  deps: [FSUtil.node, node86, Global.node, node84]
147
147
  });
148
- var noopLayer3 = Layer.succeed(Service54, Service54.of({
148
+ var noopLayer3 = Layer.succeed(Service55, Service55.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -163,4 +163,4 @@ function failure(operation, cause) {
163
163
  });
164
164
  }
165
165
 
166
- export { ID6, Error4, Service54, node57, noopLayer3, exports_snapshot2 };
166
+ export { ID6, Error4, Service55, node58, noopLayer3, exports_snapshot2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service68
3
- } from "./bus-1c0fr8pw.js";
2
+ Service59
3
+ } from "./image-jdzgxeqc.js";
4
4
  import {
5
5
  __export
6
- } from "./bus-9rqn6x4v.js";
6
+ } from "./image-9rqn6x4v.js";
7
7
 
8
8
  // src/mcp/stdio.ts
9
9
  var exports_stdio = {};
@@ -21,7 +21,7 @@ var MAX_FRAME_BYTES = 16 * 1024 * 1024;
21
21
  var EXIT_WAIT = Duration.seconds(1);
22
22
  var STDERR_TAIL = 1000;
23
23
  var make2 = Effect.fnUntraced(function* (options) {
24
- const environment = yield* Service68;
24
+ const environment = yield* Service59;
25
25
  const scope = yield* Effect.scope;
26
26
  const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
27
27
  const buffer = new ReadBuffer;
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service56,
3
- node59
4
- } from "./bus-vhr03ngy.js";
2
+ Service61,
3
+ node65
4
+ } from "./image-sw6reqhd.js";
5
5
  import {
6
- Key4,
6
+ Key3,
7
7
  removed2,
8
- make22,
8
+ make21,
9
9
  diffByKey2
10
- } from "./bus-wv396vej.js";
10
+ } from "./image-s8d7rejh.js";
11
11
  import {
12
12
  __export
13
- } from "./bus-9rqn6x4v.js";
13
+ } from "./image-9rqn6x4v.js";
14
14
 
15
15
  // src/reference/instructions.ts
16
- var exports_instructions3 = {};
17
- __export(exports_instructions3, {
18
- ReferenceInstructions: () => exports_instructions3,
19
- Service: () => Service35,
20
- node: () => node39
16
+ var exports_instructions2 = {};
17
+ __export(exports_instructions2, {
18
+ ReferenceInstructions: () => exports_instructions2,
19
+ Service: () => Service26,
20
+ node: () => node29
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -57,19 +57,19 @@ var update = (previous, current) => {
57
57
  `);
58
58
  };
59
59
 
60
- class Service35 extends Context.Service()("@opencode/ReferenceInstructions") {
60
+ class Service26 extends Context.Service()("@opencode/ReferenceInstructions") {
61
61
  }
62
- var layer = Layer.effect(Service35, Effect.gen(function* () {
63
- const references = yield* Service56;
64
- return Service35.of({
62
+ var layer = Layer.effect(Service26, Effect.gen(function* () {
63
+ const references = yield* Service61;
64
+ return Service26.of({
65
65
  load: Effect.fn("ReferenceInstructions.load")(function* () {
66
66
  const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
67
67
  name: reference.name,
68
68
  path: reference.path,
69
69
  description: reference.description
70
70
  })).toSorted((a, b) => a.name.localeCompare(b.name));
71
- return make22({
72
- key: Key4.make("core/reference-guidance"),
71
+ return make21({
72
+ key: Key3.make("core/reference-guidance"),
73
73
  codec: Schema.toCodecJson(Schema.Array(Summary)),
74
74
  read: Effect.succeed(available.length === 0 ? removed2 : available),
75
75
  render: {
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node39 = makeLocationNode({ service: Service35, layer, deps: [node59] });
84
+ var node29 = makeLocationNode({ service: Service26, layer, deps: [node65] });
85
85
 
86
- export { Service35, node39, exports_instructions3 };
86
+ export { Service26, node29, exports_instructions2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./bus-z5v4ffb3.js";
3
+ } from "./image-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./bus-9rqn6x4v.js";
6
+ } from "./image-9rqn6x4v.js";
7
7
 
8
8
  // src/project/schema.ts
9
9
  var exports_schema = {};
@@ -1,80 +1,80 @@
1
1
  import {
2
2
  Service84
3
- } from "./bus-7849783s.js";
3
+ } from "./image-a6ty810w.js";
4
4
  import {
5
5
  Service83
6
- } from "./bus-b34btn2x.js";
6
+ } from "./image-0q9kf5tv.js";
7
7
  import {
8
- Service48
9
- } from "./bus-tcay1cqt.js";
8
+ Service46
9
+ } from "./image-909p1r3q.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./bus-vzs5sf6e.js";
12
+ } from "./image-vzs5sf6e.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./bus-gftt206x.js";
15
+ } from "./image-gftt206x.js";
16
16
  import {
17
- NotFoundError10,
17
+ NotFoundError9,
18
18
  PromptConflictError2,
19
19
  SyntheticConflictError2,
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./bus-e8vwfchq.js";
23
+ } from "./image-j8s9ab9g.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./bus-ec1grn59.js";
26
+ } from "./image-ec1grn59.js";
27
27
  import {
28
- Service77
29
- } from "./bus-hawkgyqk.js";
28
+ Service67
29
+ } from "./image-bn712fd7.js";
30
30
  import {
31
31
  Delivery2,
32
32
  SyntheticPayload2,
33
- Service46
34
- } from "./bus-9pe7jy64.js";
33
+ Service45
34
+ } from "./image-2y53w5jf.js";
35
35
  import {
36
- Service44
37
- } from "./bus-3psn7w7h.js";
36
+ Service43
37
+ } from "./image-tke1j2mf.js";
38
38
  import {
39
39
  prepare2
40
- } from "./bus-vcf4f7mm.js";
40
+ } from "./image-rydwr5yq.js";
41
41
  import {
42
42
  stage2,
43
43
  clear2,
44
44
  commit2
45
- } from "./bus-4t985zy3.js";
45
+ } from "./image-besg32kx.js";
46
46
  import {
47
47
  start2
48
- } from "./bus-p2mhzkt3.js";
48
+ } from "./image-3qbdf9ts.js";
49
49
  import {
50
50
  get4
51
- } from "./bus-3dvr22m4.js";
51
+ } from "./image-t01ha5fv.js";
52
52
  import {
53
53
  __export
54
- } from "./bus-9rqn6x4v.js";
54
+ } from "./image-9rqn6x4v.js";
55
55
 
56
56
  // src/session/session.ts
57
57
  var exports_session2 = {};
58
58
  __export(exports_session2, {
59
59
  Session: () => exports_session2,
60
- make: () => make14
60
+ make: () => make13
61
61
  });
62
62
  import { DateTime, Effect, Fiber, Scope } from "effect";
63
63
  import { Event } from "@opencode/schema/event";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
- var make14 = Effect.fn("Session.make")(function* () {
65
+ var make13 = Effect.fn("Session.make")(function* () {
66
66
  const bus = yield* Service83;
67
67
  const database = yield* Service84;
68
- const store = yield* Service77;
69
- const instances = yield* Service48;
70
- const execution = yield* Service44;
71
- const admission = yield* Service46;
68
+ const store = yield* Service67;
69
+ const instances = yield* Service46;
70
+ const execution = yield* Service43;
71
+ const admission = yield* Service45;
72
72
  const fs = yield* FSUtil.Service;
73
73
  const scope = yield* Scope.Scope;
74
74
  const get = Effect.fn("Session.get")(function* (sessionID) {
75
75
  const session = yield* store.get(sessionID);
76
76
  if (!session)
77
- return yield* new NotFoundError10({ sessionID });
77
+ return yield* new NotFoundError9({ sessionID });
78
78
  return session;
79
79
  });
80
80
  const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
@@ -135,7 +135,7 @@ var make14 = Effect.fn("Session.make")(function* () {
135
135
  });
136
136
  if (existing)
137
137
  return existing;
138
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service48, instances), Effect.provideService(FSUtil.Service, fs)));
138
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service46, instances), Effect.provideService(FSUtil.Service, fs)));
139
139
  if (session.revert)
140
140
  yield* commit2(bus, session);
141
141
  return yield* admission.admit({
@@ -151,7 +151,7 @@ var make14 = Effect.fn("Session.make")(function* () {
151
151
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
152
152
  const session = yield* get(sessionID);
153
153
  const running = yield* Effect.gen(function* () {
154
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service48, instances), Effect.tapError((error) => synthetic(sessionID, {
154
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service46, instances), Effect.tapError((error) => synthetic(sessionID, {
155
155
  text: `User shell command failed to start:
156
156
  ${input.command}
157
157
 
@@ -180,7 +180,7 @@ ${error.message}`,
180
180
  });
181
181
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
182
182
  const session = yield* get(sessionID);
183
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service48, instances));
183
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service46, instances));
184
184
  yield* bus.publish(SessionEvent2.Skill.Activated, {
185
185
  sessionID,
186
186
  id: skill.id,
@@ -237,13 +237,13 @@ ${error.message}`,
237
237
  const session = yield* get(sessionID);
238
238
  if (yield* execution.isActive(sessionID))
239
239
  return yield* new BusyError2({ sessionID });
240
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service48, instances), Effect.provideService(Service84, database), Effect.provideService(Service83, bus));
240
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service46, instances), Effect.provideService(Service84, database), Effect.provideService(Service83, bus));
241
241
  });
242
242
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
243
243
  const session = yield* get(sessionID);
244
244
  if (yield* execution.isActive(sessionID))
245
245
  return yield* new BusyError2({ sessionID });
246
- yield* clear2(session).pipe(Effect.provideService(Service48, instances), Effect.provideService(Service83, bus));
246
+ yield* clear2(session).pipe(Effect.provideService(Service46, instances), Effect.provideService(Service83, bus));
247
247
  return yield* execution.wake(sessionID);
248
248
  });
249
249
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -329,4 +329,4 @@ ${error.message}`,
329
329
  return { forSession };
330
330
  });
331
331
 
332
- export { make14, exports_session2 };
332
+ export { make13, exports_session2 };