@opencode/core 0.0.0-dev-19659 → 0.0.0-dev-19661

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 (474) hide show
  1. package/dist/agent.js +68 -68
  2. package/dist/aisdk-native.js +70 -70
  3. package/dist/aisdk.js +75 -75
  4. package/dist/app.js +7 -7
  5. package/dist/bus.js +57 -57
  6. package/dist/chunks/{aisdk-native-k51e4aw5.js → aisdk-native-023zadcs.js} +26 -26
  7. package/dist/chunks/{aisdk-native-g2wezmb8.js → aisdk-native-05r0pd4k.js} +22 -22
  8. package/dist/chunks/{aisdk-native-808kc461.js → aisdk-native-0cmdsdny.js} +4 -4
  9. package/dist/chunks/{aisdk-native-t550f9t1.js → aisdk-native-0gdmqesm.js} +3 -3
  10. package/dist/chunks/{aisdk-native-wje5afyb.js → aisdk-native-0n0zwxbt.js} +13 -13
  11. package/dist/chunks/{aisdk-native-m9rcy9e9.js → aisdk-native-0yxn2y41.js} +22 -22
  12. package/dist/chunks/{aisdk-native-fgxf6epx.js → aisdk-native-17ev268x.js} +4 -4
  13. package/dist/chunks/{aisdk-native-af9v6wdb.js → aisdk-native-182gb95e.js} +21 -21
  14. package/dist/chunks/{aisdk-native-73tb2d7t.js → aisdk-native-1bbkgx8g.js} +2 -2
  15. package/dist/chunks/{aisdk-native-yy5xejng.js → aisdk-native-1n2wahs4.js} +34 -34
  16. package/dist/chunks/{aisdk-native-451pjvrk.js → aisdk-native-1sfz7hzv.js} +10 -10
  17. package/dist/chunks/{aisdk-native-56gdpj1q.js → aisdk-native-1ygqh575.js} +7 -7
  18. package/dist/chunks/{aisdk-native-0hxaqekr.js → aisdk-native-2379zrkh.js} +16 -16
  19. package/dist/chunks/{aisdk-native-nfgpg7sz.js → aisdk-native-238t0ktd.js} +7 -7
  20. package/dist/chunks/{aisdk-native-6h73sxmp.js → aisdk-native-2402vzrj.js} +4 -4
  21. package/dist/chunks/{aisdk-native-xk747vep.js → aisdk-native-24dd53tp.js} +7 -7
  22. package/dist/chunks/{aisdk-native-qyknhhpm.js → aisdk-native-254jv3j6.js} +30 -30
  23. package/dist/chunks/{aisdk-native-nt0hfq1t.js → aisdk-native-297pfj8a.js} +19 -19
  24. package/dist/chunks/{aisdk-native-erpj0ymn.js → aisdk-native-2nsfm9h9.js} +12 -12
  25. package/dist/chunks/{aisdk-native-ejzsabnb.js → aisdk-native-2nzzx6r4.js} +22 -22
  26. package/dist/chunks/{aisdk-native-hd29hty9.js → aisdk-native-2qbt9ft8.js} +7 -7
  27. package/dist/chunks/{aisdk-native-hyv2nsj8.js → aisdk-native-2rnv70v8.js} +47 -47
  28. package/dist/chunks/{aisdk-native-kx9pe8v3.js → aisdk-native-344v8r7k.js} +22 -22
  29. package/dist/chunks/{aisdk-native-yv8wa7ky.js → aisdk-native-347x7wat.js} +36 -36
  30. package/dist/chunks/{aisdk-native-2f0bjgcj.js → aisdk-native-37s12vcn.js} +3 -3
  31. package/dist/chunks/{aisdk-native-2x2s87dx.js → aisdk-native-3ge5fqnw.js} +8 -8
  32. package/dist/chunks/{aisdk-native-wa0ja8bs.js → aisdk-native-3jbc3g36.js} +9 -9
  33. package/dist/chunks/{aisdk-native-1m0ke9tc.js → aisdk-native-3s810fg1.js} +7 -7
  34. package/dist/chunks/{aisdk-native-4w5f3qm5.js → aisdk-native-428ep8fh.js} +7 -7
  35. package/dist/chunks/{aisdk-native-67cjjfz3.js → aisdk-native-434kh90e.js} +20 -20
  36. package/dist/chunks/{aisdk-native-h6r3nrb9.js → aisdk-native-4dgbcxzg.js} +3 -3
  37. package/dist/chunks/{aisdk-native-y9ag30cx.js → aisdk-native-4f5m37fg.js} +7 -7
  38. package/dist/chunks/{aisdk-native-p0dy5qgw.js → aisdk-native-4kqw78yy.js} +177 -175
  39. package/dist/chunks/{aisdk-native-abbd0srp.js → aisdk-native-4rega36x.js} +30 -30
  40. package/dist/chunks/{aisdk-native-3kbz71ch.js → aisdk-native-556432ga.js} +3 -3
  41. package/dist/chunks/{aisdk-native-6x0h2hvg.js → aisdk-native-57ez7d0k.js} +7 -7
  42. package/dist/chunks/{aisdk-native-ycwrzegc.js → aisdk-native-5c90fea2.js} +3 -3
  43. package/dist/chunks/{aisdk-native-j4dhk6n6.js → aisdk-native-5cytww3c.js} +16 -16
  44. package/dist/chunks/{aisdk-native-wbt9zsn3.js → aisdk-native-5e1pzs32.js} +7 -7
  45. package/dist/chunks/{aisdk-native-3jsa4rg6.js → aisdk-native-5fq5rnmr.js} +16 -16
  46. package/dist/chunks/{aisdk-native-9kmbd9mt.js → aisdk-native-5frpvc34.js} +1 -1
  47. package/dist/chunks/{aisdk-native-7jt1dbyr.js → aisdk-native-5g2yzyfh.js} +14 -14
  48. package/dist/chunks/{aisdk-native-e3qxr5gk.js → aisdk-native-5qd3pb7m.js} +2 -2
  49. package/dist/chunks/{aisdk-native-ehb2gjf8.js → aisdk-native-5smky6em.js} +11 -11
  50. package/dist/chunks/{aisdk-native-rgax8w17.js → aisdk-native-5tvsfswc.js} +45 -45
  51. package/dist/chunks/{aisdk-native-3cx7b8c9.js → aisdk-native-69f01smw.js} +25 -25
  52. package/dist/chunks/{aisdk-native-s7z13rzp.js → aisdk-native-6k39b1y0.js} +17 -17
  53. package/dist/chunks/{aisdk-native-wse8x4gb.js → aisdk-native-6mbb5s1t.js} +13 -13
  54. package/dist/chunks/{aisdk-native-nr3rnpny.js → aisdk-native-6nnym848.js} +10 -10
  55. package/dist/chunks/{aisdk-native-qdsfqex4.js → aisdk-native-6wqj81eb.js} +15 -15
  56. package/dist/chunks/{aisdk-native-c0ff335f.js → aisdk-native-6yyyp1at.js} +17 -17
  57. package/dist/chunks/{aisdk-native-60m4dpxp.js → aisdk-native-706cadxd.js} +14 -14
  58. package/dist/chunks/{aisdk-native-24xf3npk.js → aisdk-native-70yndaw4.js} +6 -6
  59. package/dist/chunks/{aisdk-native-8f6haeyf.js → aisdk-native-71anqpyy.js} +26 -26
  60. package/dist/chunks/{aisdk-native-rdbxvgxv.js → aisdk-native-73wr5j5n.js} +9 -9
  61. package/dist/chunks/{aisdk-native-7nv2t5e7.js → aisdk-native-74v01gcw.js} +22 -22
  62. package/dist/chunks/{aisdk-native-wpfw97x8.js → aisdk-native-77gdyk7k.js} +12 -12
  63. package/dist/chunks/{aisdk-native-nshkq49p.js → aisdk-native-7d579zsz.js} +48 -48
  64. package/dist/chunks/{aisdk-native-96waysmg.js → aisdk-native-82wqn8fy.js} +11 -11
  65. package/dist/chunks/{aisdk-native-70kjzvqh.js → aisdk-native-864rq62z.js} +13 -13
  66. package/dist/chunks/{aisdk-native-baxt3tw0.js → aisdk-native-86tgy61v.js} +26 -26
  67. package/dist/chunks/{aisdk-native-7bq24f4k.js → aisdk-native-86wxc0s5.js} +13 -13
  68. package/dist/chunks/{aisdk-native-8v8qk05p.js → aisdk-native-89f3rvt3.js} +1 -1
  69. package/dist/chunks/{aisdk-native-kmb9ebe8.js → aisdk-native-8b9a1vnb.js} +30 -30
  70. package/dist/chunks/aisdk-native-8mc8rrk5.js +478 -0
  71. package/dist/chunks/{aisdk-native-ctzssw83.js → aisdk-native-8mfdap3f.js} +4 -4
  72. package/dist/chunks/{aisdk-native-0dsywrch.js → aisdk-native-8n473qvc.js} +19 -19
  73. package/dist/chunks/{aisdk-native-mf9m2v67.js → aisdk-native-8q7cq0y1.js} +2 -2
  74. package/dist/chunks/{aisdk-native-aydjvc15.js → aisdk-native-9a44ktbt.js} +17 -17
  75. package/dist/chunks/{aisdk-native-v2cfd9mg.js → aisdk-native-9cn34y8n.js} +16 -16
  76. package/dist/chunks/{aisdk-native-p37cw4rj.js → aisdk-native-9hn6k4tm.js} +7 -7
  77. package/dist/chunks/aisdk-native-9tp0xrnc.js +247 -0
  78. package/dist/chunks/{aisdk-native-kq0bb674.js → aisdk-native-9v9a7nyh.js} +18 -18
  79. package/dist/chunks/{aisdk-native-thz469sg.js → aisdk-native-9wkb9m04.js} +8 -8
  80. package/dist/chunks/{aisdk-native-6t298p2h.js → aisdk-native-ab8cnxkj.js} +8 -8
  81. package/dist/chunks/{aisdk-native-9efavmn1.js → aisdk-native-ahkm7jtq.js} +9 -9
  82. package/dist/chunks/{aisdk-native-888n06p8.js → aisdk-native-avcdwqa3.js} +7 -7
  83. package/dist/chunks/{aisdk-native-2gns7qzp.js → aisdk-native-b3fjr4a5.js} +9 -9
  84. package/dist/chunks/{aisdk-native-wna5sgbh.js → aisdk-native-bghmh87t.js} +19 -19
  85. package/dist/chunks/{aisdk-native-2cdbads6.js → aisdk-native-bje848qr.js} +6 -6
  86. package/dist/chunks/{aisdk-native-v30t9zn6.js → aisdk-native-bn6tr5ps.js} +6 -6
  87. package/dist/chunks/{aisdk-native-gp08z3nw.js → aisdk-native-bn7wsp1y.js} +4 -4
  88. package/dist/chunks/{aisdk-native-tddjggae.js → aisdk-native-bn8xvxc9.js} +15 -15
  89. package/dist/chunks/{aisdk-native-bpvf94qg.js → aisdk-native-bqcmh1d5.js} +25 -25
  90. package/dist/chunks/{aisdk-native-r3jjmetn.js → aisdk-native-bwq9mt9g.js} +6 -6
  91. package/dist/chunks/{aisdk-native-gwasxxyt.js → aisdk-native-c1a6g7fn.js} +26 -26
  92. package/dist/chunks/{aisdk-native-ae7djn2q.js → aisdk-native-c24azjc2.js} +12 -12
  93. package/dist/chunks/{aisdk-native-6jjmcewh.js → aisdk-native-c3g32xz6.js} +22 -22
  94. package/dist/chunks/{aisdk-native-jz717kwe.js → aisdk-native-c3tze8y7.js} +21 -21
  95. package/dist/chunks/{aisdk-native-hn0kr74v.js → aisdk-native-ccq8grnq.js} +25 -25
  96. package/dist/chunks/{aisdk-native-7y4g93zh.js → aisdk-native-cft9s2sz.js} +10 -10
  97. package/dist/chunks/{aisdk-native-gwqc9hw0.js → aisdk-native-crgeygmk.js} +19 -19
  98. package/dist/chunks/{aisdk-native-16zmxd5d.js → aisdk-native-czwyyt0b.js} +7 -7
  99. package/dist/chunks/{aisdk-native-4c2trx4e.js → aisdk-native-d0szqk1h.js} +3 -3
  100. package/dist/chunks/{aisdk-native-v23ngtav.js → aisdk-native-d295vwqg.js} +81 -81
  101. package/dist/chunks/{aisdk-native-7m61546t.js → aisdk-native-d70tcw3y.js} +8 -8
  102. package/dist/chunks/{aisdk-native-5nygbceh.js → aisdk-native-dbgsewpx.js} +7 -7
  103. package/dist/chunks/{aisdk-native-4fnbdv1x.js → aisdk-native-dfyaxeae.js} +1 -1
  104. package/dist/chunks/{aisdk-native-k074j3w6.js → aisdk-native-dm4njmma.js} +39 -39
  105. package/dist/chunks/{aisdk-native-359m9qke.js → aisdk-native-dn2z7ew9.js} +21 -21
  106. package/dist/chunks/{aisdk-native-y71avatq.js → aisdk-native-dpkg50ah.js} +3 -3
  107. package/dist/chunks/{aisdk-native-hx2g52bz.js → aisdk-native-dskzymh2.js} +4 -4
  108. package/dist/chunks/{aisdk-native-hcz3zddy.js → aisdk-native-e6hmchc5.js} +3 -3
  109. package/dist/chunks/{aisdk-native-byvpkk98.js → aisdk-native-edevpfks.js} +9 -9
  110. package/dist/chunks/{aisdk-native-9m87xy8c.js → aisdk-native-et90nqeb.js} +6 -6
  111. package/dist/chunks/{aisdk-native-0hna0z05.js → aisdk-native-evavga5b.js} +83 -83
  112. package/dist/chunks/{aisdk-native-m3sg1ew5.js → aisdk-native-ewc7fmt2.js} +6 -6
  113. package/dist/chunks/{aisdk-native-vfmr2m2j.js → aisdk-native-eyy1x1gz.js} +15 -15
  114. package/dist/chunks/{aisdk-native-4hv83k1t.js → aisdk-native-eztanwtt.js} +22 -22
  115. package/dist/chunks/{aisdk-native-yp2x3t23.js → aisdk-native-f2n192rq.js} +3 -3
  116. package/dist/chunks/{aisdk-native-pkkve4e3.js → aisdk-native-f31jkx3n.js} +5 -5
  117. package/dist/chunks/{aisdk-native-q13p9eja.js → aisdk-native-fakqx81w.js} +7 -7
  118. package/dist/chunks/{aisdk-native-b27vhd2z.js → aisdk-native-fdv30zvt.js} +6 -6
  119. package/dist/chunks/{aisdk-native-eswk50af.js → aisdk-native-fp088skr.js} +7 -7
  120. package/dist/chunks/{aisdk-native-zvfby6ng.js → aisdk-native-fveggg5b.js} +8 -8
  121. package/dist/chunks/{aisdk-native-nf5c5hdx.js → aisdk-native-g03q4hs5.js} +21 -21
  122. package/dist/chunks/{aisdk-native-axmvebxj.js → aisdk-native-g190xswt.js} +20 -20
  123. package/dist/chunks/{aisdk-native-agas1js3.js → aisdk-native-g29ecd2d.js} +5 -5
  124. package/dist/chunks/{aisdk-native-fc8gtdz2.js → aisdk-native-g6r9s5ra.js} +1 -1
  125. package/dist/chunks/{aisdk-native-r330a857.js → aisdk-native-ghb1r91n.js} +18 -15
  126. package/dist/chunks/{aisdk-native-79qaa2kf.js → aisdk-native-gjwgx2c5.js} +7 -7
  127. package/dist/chunks/aisdk-native-grr7jzxk.js +26 -0
  128. package/dist/chunks/{aisdk-native-xj33pkwb.js → aisdk-native-gx4b9ghh.js} +24 -24
  129. package/dist/chunks/{aisdk-native-v4wfwvtq.js → aisdk-native-gxr1dr9e.js} +6 -6
  130. package/dist/chunks/{aisdk-native-hy20qw0x.js → aisdk-native-gxv64e4w.js} +12 -12
  131. package/dist/chunks/{aisdk-native-xrjwjpzr.js → aisdk-native-gxv7kf4z.js} +1 -1
  132. package/dist/chunks/{aisdk-native-ydyy4a51.js → aisdk-native-gym91fzb.js} +7 -7
  133. package/dist/chunks/{aisdk-native-jp1wq4j5.js → aisdk-native-h6304w3t.js} +4 -4
  134. package/dist/chunks/{aisdk-native-qskfz9c0.js → aisdk-native-hcveegta.js} +32 -32
  135. package/dist/chunks/{aisdk-native-f96rndfk.js → aisdk-native-he5mgen4.js} +8 -8
  136. package/dist/chunks/{aisdk-native-m2e5j58z.js → aisdk-native-hffbynf2.js} +14 -14
  137. package/dist/chunks/{aisdk-native-e2hdwa5k.js → aisdk-native-hgsgykfd.js} +13 -13
  138. package/dist/chunks/{aisdk-native-dh7xq6zm.js → aisdk-native-hryj0jt1.js} +3 -3
  139. package/dist/chunks/{aisdk-native-ahvgrgdh.js → aisdk-native-j161s2v3.js} +17 -17
  140. package/dist/chunks/{aisdk-native-an7cqtb7.js → aisdk-native-j83byb14.js} +3 -3
  141. package/dist/chunks/{aisdk-native-23sxaqwc.js → aisdk-native-j8zzr2am.js} +3 -3
  142. package/dist/chunks/{aisdk-native-9yccxaet.js → aisdk-native-jmyhth9t.js} +50 -50
  143. package/dist/chunks/{aisdk-native-z45k2q9b.js → aisdk-native-jx560d4n.js} +12 -12
  144. package/dist/chunks/{aisdk-native-x01x7vs9.js → aisdk-native-k05gtj6k.js} +2 -2
  145. package/dist/chunks/{aisdk-native-b2da4m4w.js → aisdk-native-k5721584.js} +3 -3
  146. package/dist/chunks/{aisdk-native-748zbz0t.js → aisdk-native-kaqsmsnp.js} +40 -40
  147. package/dist/chunks/{aisdk-native-wasmnp9g.js → aisdk-native-kb2qx9e9.js} +2 -2
  148. package/dist/chunks/{aisdk-native-ywhsgpfh.js → aisdk-native-kbpq3c4q.js} +22 -22
  149. package/dist/chunks/{aisdk-native-e2335xen.js → aisdk-native-kdjz9kg3.js} +8 -8
  150. package/dist/chunks/{aisdk-native-6rtfy69a.js → aisdk-native-kg4jxx0b.js} +7 -7
  151. package/dist/chunks/{aisdk-native-0dxrdgf8.js → aisdk-native-kwhemyxj.js} +6 -6
  152. package/dist/chunks/{aisdk-native-n11baakf.js → aisdk-native-kz12zc3c.js} +10 -10
  153. package/dist/chunks/{aisdk-native-n0kdxk8f.js → aisdk-native-kz3knr4j.js} +10 -10
  154. package/dist/chunks/{aisdk-native-qe4vt3fh.js → aisdk-native-m09t7skk.js} +4 -4
  155. package/dist/chunks/{aisdk-native-ak2as40b.js → aisdk-native-m2m0mav4.js} +12 -12
  156. package/dist/chunks/{aisdk-native-rjt1w22v.js → aisdk-native-m3ta9d82.js} +4 -4
  157. package/dist/chunks/{aisdk-native-hh9m7f5s.js → aisdk-native-m7g9ty3v.js} +31 -31
  158. package/dist/chunks/{aisdk-native-331hptqa.js → aisdk-native-m7w5bw68.js} +1 -1
  159. package/dist/chunks/{aisdk-native-pqkjy9pg.js → aisdk-native-m83dfgrj.js} +25 -25
  160. package/dist/chunks/{aisdk-native-zgfg11tk.js → aisdk-native-m9h2htwt.js} +43 -43
  161. package/dist/chunks/{aisdk-native-qbxewh6p.js → aisdk-native-md88ay8y.js} +39 -39
  162. package/dist/chunks/{aisdk-native-t63nzm9r.js → aisdk-native-mq22jzzd.js} +29 -29
  163. package/dist/chunks/{aisdk-native-88sz8qcd.js → aisdk-native-msq0jde0.js} +3 -3
  164. package/dist/chunks/{aisdk-native-pbqf8yzy.js → aisdk-native-mzjqrkme.js} +4 -4
  165. package/dist/chunks/{aisdk-native-f6n9ymec.js → aisdk-native-n6fvx0v7.js} +23 -23
  166. package/dist/chunks/{aisdk-native-rn5qsgpz.js → aisdk-native-nf10vtm1.js} +1 -1
  167. package/dist/chunks/{aisdk-native-xf3xt1ha.js → aisdk-native-nntat7jz.js} +2 -2
  168. package/dist/chunks/{aisdk-native-geznyajv.js → aisdk-native-pb76g505.js} +23 -23
  169. package/dist/chunks/{aisdk-native-1wabnfeb.js → aisdk-native-pbbas732.js} +3 -3
  170. package/dist/chunks/{aisdk-native-7bc5tj51.js → aisdk-native-pf5z211q.js} +14 -14
  171. package/dist/chunks/{aisdk-native-7eexgf6y.js → aisdk-native-pfm0mfps.js} +11 -11
  172. package/dist/chunks/{aisdk-native-5vzxx5bm.js → aisdk-native-pp8ahakx.js} +16 -16
  173. package/dist/chunks/{aisdk-native-scq4khx8.js → aisdk-native-pstg3rfm.js} +1 -1
  174. package/dist/chunks/{aisdk-native-0wafeyhj.js → aisdk-native-q12gc53x.js} +4 -4
  175. package/dist/chunks/{aisdk-native-ht9hrq0m.js → aisdk-native-q8cmhkcw.js} +21 -21
  176. package/dist/chunks/{aisdk-native-msfpjnen.js → aisdk-native-qaz9f4ck.js} +21 -21
  177. package/dist/chunks/{aisdk-native-jcefac6b.js → aisdk-native-qbfny5ar.js} +44 -44
  178. package/dist/chunks/{aisdk-native-2k8khapm.js → aisdk-native-qgn6gcr1.js} +4 -4
  179. package/dist/chunks/{aisdk-native-86nf6q4d.js → aisdk-native-qhm3qz41.js} +16 -16
  180. package/dist/chunks/{aisdk-native-jnzjsk2z.js → aisdk-native-qnqvzbpj.js} +33 -33
  181. package/dist/chunks/{aisdk-native-9fz2jzqv.js → aisdk-native-r04jyq6d.js} +16 -16
  182. package/dist/chunks/{aisdk-native-kp8q1t60.js → aisdk-native-r9w3djhf.js} +8 -8
  183. package/dist/chunks/{aisdk-native-0gj0evhw.js → aisdk-native-rpg6kbz8.js} +9 -9
  184. package/dist/chunks/{aisdk-native-x16ewxve.js → aisdk-native-rqq8xd54.js} +15 -15
  185. package/dist/chunks/{aisdk-native-j5x2gm5w.js → aisdk-native-rsjan7rq.js} +3 -3
  186. package/dist/chunks/{aisdk-native-e248x3jn.js → aisdk-native-rtd6da40.js} +8 -8
  187. package/dist/chunks/{aisdk-native-mp6d0dty.js → aisdk-native-rzs3gq0x.js} +7 -7
  188. package/dist/chunks/{aisdk-native-nxhqveyz.js → aisdk-native-s8zy8myc.js} +3 -3
  189. package/dist/chunks/{aisdk-native-ppegfhjd.js → aisdk-native-sqr3fkms.js} +7 -7
  190. package/dist/chunks/{aisdk-native-scavptnn.js → aisdk-native-szxaz7kb.js} +19 -19
  191. package/dist/chunks/{aisdk-native-sxzvkvgj.js → aisdk-native-tcay1cqt.js} +5 -5
  192. package/dist/chunks/{aisdk-native-jjke4x7z.js → aisdk-native-tm9sbs98.js} +12 -12
  193. package/dist/chunks/{aisdk-native-nhhcxfy5.js → aisdk-native-tnmp8ffe.js} +23 -23
  194. package/dist/chunks/{aisdk-native-v7zr17ek.js → aisdk-native-tz3y59f8.js} +3 -3
  195. package/dist/chunks/{aisdk-native-1x11rq2a.js → aisdk-native-v1faaxn9.js} +4 -4
  196. package/dist/chunks/{aisdk-native-b1r5pdk4.js → aisdk-native-v1kmkjnd.js} +17 -17
  197. package/dist/chunks/{aisdk-native-wfszgscg.js → aisdk-native-vfn2zzmw.js} +26 -26
  198. package/dist/chunks/{aisdk-native-bajakh74.js → aisdk-native-vkxpz7g2.js} +1 -1
  199. package/dist/chunks/{aisdk-native-50p7p4wm.js → aisdk-native-vnbtwqd9.js} +5 -5
  200. package/dist/chunks/{aisdk-native-jkv0zw5y.js → aisdk-native-w3sncgk8.js} +24 -24
  201. package/dist/chunks/{aisdk-native-23pqda6t.js → aisdk-native-w4arg62q.js} +3 -3
  202. package/dist/chunks/{aisdk-native-e3ayzqwh.js → aisdk-native-w4axh9wz.js} +5 -5
  203. package/dist/chunks/{aisdk-native-wbghmt8t.js → aisdk-native-we30fdbd.js} +19 -19
  204. package/dist/chunks/{aisdk-native-xdce8axh.js → aisdk-native-wktpt5qp.js} +5 -5
  205. package/dist/chunks/{aisdk-native-bjn91642.js → aisdk-native-x0511brf.js} +3 -3
  206. package/dist/chunks/{aisdk-native-vdd4sn1x.js → aisdk-native-x90pca9b.js} +6 -6
  207. package/dist/chunks/{aisdk-native-9q3gb9j3.js → aisdk-native-xa98q82c.js} +12 -12
  208. package/dist/chunks/{aisdk-native-3mhvwx4s.js → aisdk-native-xak7szdq.js} +9 -9
  209. package/dist/chunks/{aisdk-native-hrywwc1n.js → aisdk-native-xk8kmkj3.js} +12 -12
  210. package/dist/chunks/{aisdk-native-n4xd5mbw.js → aisdk-native-xs2jpm2x.js} +7 -7
  211. package/dist/chunks/{aisdk-native-z84mk0fk.js → aisdk-native-yafv6bxz.js} +13 -13
  212. package/dist/chunks/{aisdk-native-f8pwhm1g.js → aisdk-native-ym5ee435.js} +25 -25
  213. package/dist/chunks/{aisdk-native-zctbk1s6.js → aisdk-native-ynk1nd5w.js} +36 -36
  214. package/dist/chunks/{aisdk-native-s4enseaf.js → aisdk-native-yrznvahk.js} +1 -1
  215. package/dist/chunks/{aisdk-native-4xr2831z.js → aisdk-native-z2x1npkm.js} +8 -8
  216. package/dist/chunks/{aisdk-native-hh7agjhc.js → aisdk-native-z4305a57.js} +34 -34
  217. package/dist/chunks/{aisdk-native-6z9sgxqn.js → aisdk-native-z4zm4h76.js} +39 -39
  218. package/dist/chunks/{aisdk-native-e1pmx1t0.js → aisdk-native-z63k4sg0.js} +13 -13
  219. package/dist/chunks/{aisdk-native-29x78va6.js → aisdk-native-z63w68vq.js} +4 -4
  220. package/dist/chunks/{aisdk-native-h0h5wsmg.js → aisdk-native-zdhkzmh8.js} +15 -15
  221. package/dist/chunks/{aisdk-native-tdbz4xj3.js → aisdk-native-zf7xdvsm.js} +4 -4
  222. package/dist/chunks/{aisdk-native-h610k8s8.js → aisdk-native-zjcf0rqn.js} +14 -14
  223. package/dist/chunks/{aisdk-native-28e4y2hv.js → aisdk-native-zjym0m08.js} +10 -10
  224. package/dist/chunks/{aisdk-native-pfzt5ex6.js → aisdk-native-zrt42jaw.js} +5 -5
  225. package/dist/chunks/{aisdk-native-34q1q4g3.js → aisdk-native-ztctrtvz.js} +1 -1
  226. package/dist/chunks/{aisdk-native-0f0361zd.js → aisdk-native-ztm0qtrx.js} +37 -37
  227. package/dist/chunks/{aisdk-native-2vs2nh1n.js → aisdk-native-zvt5dnpc.js} +3 -3
  228. package/dist/codemode/instructions.js +4 -4
  229. package/dist/command.js +72 -72
  230. package/dist/config/discovery.js +63 -63
  231. package/dist/config/normalize.js +85 -85
  232. package/dist/config/plugin/agent.js +100 -100
  233. package/dist/config/plugin/command.js +181 -181
  234. package/dist/config/plugin/compaction.js +127 -127
  235. package/dist/config/plugin/compatibility.js +116 -116
  236. package/dist/config/plugin/formatter.js +99 -99
  237. package/dist/config/plugin/image.js +98 -98
  238. package/dist/config/plugin/instruction.js +70 -70
  239. package/dist/config/plugin/location-watcher.js +100 -100
  240. package/dist/config/plugin/mcp.js +106 -106
  241. package/dist/config/plugin/policy.js +98 -98
  242. package/dist/config/plugin/provider.js +98 -98
  243. package/dist/config/plugin/reference.js +100 -100
  244. package/dist/config/plugin/shell.js +98 -98
  245. package/dist/config/plugin/skill-file.js +78 -78
  246. package/dist/config/plugin/skill.js +119 -119
  247. package/dist/config/plugin/snapshot.js +98 -98
  248. package/dist/config/plugin/source.js +101 -101
  249. package/dist/config/plugin/tool-output.js +100 -100
  250. package/dist/config/plugin/websearch.js +97 -97
  251. package/dist/config/plugin/worktree.js +100 -100
  252. package/dist/config/variable.js +2 -2
  253. package/dist/config.js +104 -104
  254. package/dist/credential.js +69 -69
  255. package/dist/database/database.js +55 -55
  256. package/dist/database/drizzle/effect-sqlite/driver.js +10 -10
  257. package/dist/database/drizzle/effect-sqlite/index.js +6 -6
  258. package/dist/database/drizzle/effect-sqlite/session.js +7 -7
  259. package/dist/database/drizzle/index.js +11 -11
  260. package/dist/database/drizzle/sqlite-core/effect/db.js +5 -5
  261. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  262. package/dist/database/drizzle/sqlite-core/effect/session.js +6 -6
  263. package/dist/database/drizzle.js +11 -11
  264. package/dist/database/migration.gen.js +39 -39
  265. package/dist/database/migration.js +40 -40
  266. package/dist/database/v1-migration.bun.js +9 -9
  267. package/dist/effect/app-node-builder.js +233 -233
  268. package/dist/effect/keyed-mutex.js +3 -3
  269. package/dist/environment/environment.js +71 -71
  270. package/dist/environment/index.js +73 -73
  271. package/dist/event-logger.js +10 -10
  272. package/dist/file-access.js +81 -81
  273. package/dist/file-mutation.js +72 -72
  274. package/dist/filesystem/location-watcher-policy.js +5 -5
  275. package/dist/filesystem/location-watcher.js +194 -194
  276. package/dist/filesystem/search.js +73 -73
  277. package/dist/filesystem/watcher-binding.js +3 -3
  278. package/dist/filesystem/watcher.js +14 -14
  279. package/dist/filesystem.js +78 -78
  280. package/dist/form.js +70 -70
  281. package/dist/formatter/builtins.js +3 -3
  282. package/dist/formatter.js +68 -68
  283. package/dist/generate.js +84 -84
  284. package/dist/git.js +7 -7
  285. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +3 -3
  286. package/dist/github-copilot/copilot-provider.js +3 -3
  287. package/dist/github-copilot/models.js +80 -80
  288. package/dist/github-copilot/responses/openai-responses-language-model.js +6 -6
  289. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +3 -3
  290. package/dist/image/photon.js +1 -1
  291. package/dist/image.js +5 -5
  292. package/dist/instance/service.js +5 -5
  293. package/dist/instance.js +311 -311
  294. package/dist/instruction-discovery.js +72 -72
  295. package/dist/instructions/builtins.js +68 -68
  296. package/dist/instructions/index.js +3 -3
  297. package/dist/integration/connection.js +3 -3
  298. package/dist/integration.js +70 -70
  299. package/dist/job.js +63 -63
  300. package/dist/kv.js +60 -60
  301. package/dist/location-activity.js +54 -54
  302. package/dist/location-mutation.js +31 -31
  303. package/dist/location-service-map.js +67 -67
  304. package/dist/location-services.js +309 -309
  305. package/dist/location.js +68 -68
  306. package/dist/mcp/client.js +18 -18
  307. package/dist/mcp/index.js +82 -82
  308. package/dist/mcp/instructions.js +100 -100
  309. package/dist/mcp/oauth.js +14 -14
  310. package/dist/mcp/stdio.js +68 -68
  311. package/dist/modal/models.js +80 -80
  312. package/dist/model-resolver.js +79 -79
  313. package/dist/model.js +81 -81
  314. package/dist/models-dev.js +87 -87
  315. package/dist/permission/saved.js +64 -64
  316. package/dist/permission.js +90 -90
  317. package/dist/persistent-pty/index.js +70 -70
  318. package/dist/persistent-pty.js +60 -60
  319. package/dist/plugin/agent.js +81 -81
  320. package/dist/plugin/command.js +79 -79
  321. package/dist/plugin/hooks.js +5 -5
  322. package/dist/plugin/host.js +185 -185
  323. package/dist/plugin/identity.js +3 -3
  324. package/dist/plugin/instance.js +5 -5
  325. package/dist/plugin/internal.js +288 -288
  326. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  327. package/dist/plugin/models-dev.js +76 -76
  328. package/dist/plugin/module.js +3 -3
  329. package/dist/plugin/plan.js +79 -79
  330. package/dist/plugin/provider/amazon-bedrock.js +71 -71
  331. package/dist/plugin/provider/azure.js +97 -97
  332. package/dist/plugin/provider/cloudflare-ai-gateway.js +96 -96
  333. package/dist/plugin/provider/cloudflare-workers-ai.js +96 -96
  334. package/dist/plugin/provider/configured.js +95 -95
  335. package/dist/plugin/provider/digitalocean.js +73 -73
  336. package/dist/plugin/provider/github-copilot.js +74 -74
  337. package/dist/plugin/provider/gitlab.js +72 -72
  338. package/dist/plugin/provider/google-vertex.js +71 -71
  339. package/dist/plugin/provider/llmgateway.js +63 -63
  340. package/dist/plugin/provider/lmstudio.js +96 -96
  341. package/dist/plugin/provider/modal.js +73 -73
  342. package/dist/plugin/provider/ollama.js +96 -96
  343. package/dist/plugin/provider/openai.js +72 -72
  344. package/dist/plugin/provider/opencode.js +73 -73
  345. package/dist/plugin/provider/openrouter.js +72 -72
  346. package/dist/plugin/provider/poe.js +63 -63
  347. package/dist/plugin/provider/prompt-cache-key.js +71 -71
  348. package/dist/plugin/provider/sap-ai-core.js +71 -71
  349. package/dist/plugin/provider/snowflake-cortex.js +97 -97
  350. package/dist/plugin/provider/vercel.js +71 -71
  351. package/dist/plugin/provider/vllm.js +96 -96
  352. package/dist/plugin/provider/xai.js +72 -72
  353. package/dist/plugin/provider.js +129 -129
  354. package/dist/plugin/sdk.js +64 -64
  355. package/dist/plugin/service.js +3 -3
  356. package/dist/plugin/skill.js +117 -117
  357. package/dist/plugin/supervisor.js +302 -302
  358. package/dist/plugin/update.js +6 -6
  359. package/dist/plugin/vcs/git.js +67 -67
  360. package/dist/plugin/vcs/hg.js +67 -67
  361. package/dist/plugin/warming.js +97 -97
  362. package/dist/plugin/websearch/exa.js +4 -4
  363. package/dist/plugin/websearch/firecrawl.js +7 -7
  364. package/dist/plugin/websearch/index.js +8 -8
  365. package/dist/plugin/websearch/mcp.js +5 -5
  366. package/dist/plugin/websearch/parallel.js +7 -7
  367. package/dist/plugin/websearch/tavily.js +6 -6
  368. package/dist/plugin/websearch/tinyfish.js +7 -7
  369. package/dist/plugin.js +192 -192
  370. package/dist/project/schema.js +7 -7
  371. package/dist/project.js +71 -71
  372. package/dist/provider.js +78 -78
  373. package/dist/pty.js +73 -73
  374. package/dist/reference/instructions.js +72 -72
  375. package/dist/reference.js +74 -74
  376. package/dist/repository-cache.js +65 -65
  377. package/dist/repository.js +3 -3
  378. package/dist/ripgrep.js +74 -74
  379. package/dist/rpc.js +67 -67
  380. package/dist/session/command.js +61 -61
  381. package/dist/session/compaction.js +100 -100
  382. package/dist/session/context.js +124 -124
  383. package/dist/session/diff.js +67 -67
  384. package/dist/session/environment.js +5 -5
  385. package/dist/session/error.js +6 -6
  386. package/dist/session/execution/restart.js +119 -119
  387. package/dist/session/execution.js +105 -105
  388. package/dist/session/generate.js +125 -125
  389. package/dist/session/history.js +8 -8
  390. package/dist/session/inbox.js +69 -69
  391. package/dist/session/info.js +2 -2
  392. package/dist/session/instruction-entry.js +61 -61
  393. package/dist/session/instruction-state.js +2 -2
  394. package/dist/session/instructions.js +71 -71
  395. package/dist/session/model-request.js +91 -91
  396. package/dist/session/model-transport.js +5 -5
  397. package/dist/session/move.js +106 -106
  398. package/dist/session/projector.js +66 -66
  399. package/dist/session/prompt.js +81 -81
  400. package/dist/session/provider-context.js +3 -3
  401. package/dist/session/revert.js +69 -69
  402. package/dist/session/run-coordinator.js +3 -3
  403. package/dist/session/runner/index.js +3 -3
  404. package/dist/session/runner/llm.js +192 -192
  405. package/dist/session/runner/model.js +79 -79
  406. package/dist/session/runner/retry.js +91 -91
  407. package/dist/session/runner/step.js +99 -99
  408. package/dist/session/runner/to-llm-message.js +2 -2
  409. package/dist/session/schema.js +3 -3
  410. package/dist/session/session.js +143 -143
  411. package/dist/session/shell.js +111 -111
  412. package/dist/session/skill.js +80 -80
  413. package/dist/session/stats.js +8 -8
  414. package/dist/session/store.js +69 -69
  415. package/dist/session/subagent-job.js +178 -178
  416. package/dist/session/title.js +121 -121
  417. package/dist/session/to-session-error.js +88 -88
  418. package/dist/session/transfer.js +114 -114
  419. package/dist/session.js +185 -185
  420. package/dist/shell/parse.js +3 -3
  421. package/dist/shell/select.js +10 -10
  422. package/dist/shell.js +114 -114
  423. package/dist/skill/discovery.js +5 -5
  424. package/dist/skill/instructions.js +84 -84
  425. package/dist/skill.js +87 -87
  426. package/dist/snapshot.js +72 -72
  427. package/dist/tool/mcp.js +97 -97
  428. package/dist/tool/plugin/edit.js +94 -94
  429. package/dist/tool/plugin/glob.js +98 -98
  430. package/dist/tool/plugin/grep.js +96 -96
  431. package/dist/tool/plugin/opencode.js +3 -3
  432. package/dist/tool/plugin/patch.js +96 -96
  433. package/dist/tool/plugin/question.js +78 -78
  434. package/dist/tool/plugin/read.js +98 -98
  435. package/dist/tool/plugin/shell.js +184 -184
  436. package/dist/tool/plugin/skill.js +90 -90
  437. package/dist/tool/plugin/subagent.js +187 -187
  438. package/dist/tool/plugin/webfetch.js +85 -85
  439. package/dist/tool/plugin/websearch.js +89 -89
  440. package/dist/tool/plugin/write.js +96 -96
  441. package/dist/tool/read-filesystem.js +72 -72
  442. package/dist/tool-output.js +5 -5
  443. package/dist/tool.js +9 -9
  444. package/dist/v1/config/agent.js +4 -4
  445. package/dist/v1/config/attachment.js +3 -3
  446. package/dist/v1/config/command.js +5 -5
  447. package/dist/v1/config/config.js +14 -14
  448. package/dist/v1/config/error.js +3 -3
  449. package/dist/v1/config/formatter.js +3 -3
  450. package/dist/v1/config/lsp.js +3 -3
  451. package/dist/v1/config/mcp.js +3 -3
  452. package/dist/v1/config/migrate.js +72 -72
  453. package/dist/v1/config/permission.js +7 -7
  454. package/dist/v1/config/plugin.js +3 -3
  455. package/dist/v1/config/provider.js +3 -3
  456. package/dist/v1/config/skills.js +3 -3
  457. package/dist/variant.js +74 -74
  458. package/dist/vcs.js +68 -68
  459. package/dist/websearch.js +66 -66
  460. package/dist/wellknown/plugin.js +62 -62
  461. package/dist/wellknown.js +67 -67
  462. package/dist/workspace/driver.js +5 -5
  463. package/dist/workspace.js +66 -66
  464. package/dist/worktree/git.js +6 -6
  465. package/dist/worktree/strategies.js +69 -69
  466. package/dist/worktree.js +75 -75
  467. package/package.json +8 -8
  468. package/dist/chunks/aisdk-native-4144tsc8.js +0 -26
  469. package/dist/chunks/aisdk-native-esph3pet.js +0 -478
  470. package/dist/chunks/aisdk-native-vy5gba4s.js +0 -247
  471. /package/dist/chunks/{aisdk-native-gx8hye9g.js → aisdk-native-4vp46et4.js} +0 -0
  472. /package/dist/chunks/{aisdk-native-1cfb3ja4.js → aisdk-native-94s48bjb.js} +0 -0
  473. /package/dist/chunks/{aisdk-native-nyvrwfsp.js → aisdk-native-98c88b32.js} +0 -0
  474. /package/dist/chunks/{aisdk-native-79k2e49w.js → aisdk-native-e6tgtk7f.js} +0 -0
@@ -5,13 +5,13 @@ import {
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
+ Service80,
9
+ node84
10
+ } from "./aisdk-native-ab8cnxkj.js";
11
+ import {
8
12
  Service78,
9
13
  node82
10
- } from "./aisdk-native-6t298p2h.js";
11
- import {
12
- Service76,
13
- node80
14
- } from "./aisdk-native-tddjggae.js";
14
+ } from "./aisdk-native-bn8xvxc9.js";
15
15
  import {
16
16
  create3
17
17
  } from "./aisdk-native-rdw6cm16.js";
@@ -22,12 +22,12 @@ import {
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error3,
25
+ Error: () => Error2,
26
26
  ID: () => ID5,
27
- Service: () => Service44,
27
+ Service: () => Service38,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node46,
30
- noopLayer: () => noopLayer3
29
+ node: () => node41,
30
+ noopLayer: () => noopLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
@@ -36,20 +36,20 @@ import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import { ID as ID5 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error3 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error2 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service44 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service38 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service44, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service38, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service78;
50
+ const git = yield* Service80;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service76;
52
+ const location = yield* Service78;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
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 Service44.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service38.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node46 = makeLocationNode({
144
- service: Service44,
143
+ var node41 = makeLocationNode({
144
+ service: Service38,
145
145
  layer,
146
- deps: [FSUtil.node, node82, Global.node, node80]
146
+ deps: [FSUtil.node, node84, Global.node, node82]
147
147
  });
148
- var noopLayer3 = Layer.succeed(Service44, Service44.of({
148
+ var noopLayer2 = Layer.succeed(Service38, Service38.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service44, Service44.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error3 && cause.operation === operation)
157
+ if (cause instanceof Error2 && cause.operation === operation)
158
158
  return cause;
159
- return new Error3({
159
+ return new Error2({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID5, Error3, Service44, node46, noopLayer3, exports_snapshot2 };
166
+ export { ID5, Error2, Service38, node41, noopLayer2, exports_snapshot2 };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  latest2,
3
- Service58
4
- } from "./aisdk-native-748zbz0t.js";
3
+ Service40
4
+ } from "./aisdk-native-kaqsmsnp.js";
5
5
  import {
6
- Service44
7
- } from "./aisdk-native-8f6haeyf.js";
6
+ Service38
7
+ } from "./aisdk-native-71anqpyy.js";
8
8
  import {
9
9
  observe2
10
10
  } from "./aisdk-native-qsdy395h.js";
@@ -16,15 +16,15 @@ import {
16
16
  var exports_snapshot = {};
17
17
  __export(exports_snapshot, {
18
18
  ConfigSnapshotPlugin: () => exports_snapshot,
19
- Plugin: () => Plugin19
19
+ Plugin: () => Plugin41
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin19 = define({
23
+ var Plugin41 = define({
24
24
  id: "opencode.config.snapshot",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service58;
27
- const snapshot = yield* Service44;
26
+ const config = yield* Service40;
27
+ const snapshot = yield* Service38;
28
28
  const loaded = yield* observe2(config, ctx.event, snapshot.reload());
29
29
  yield* snapshot.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "snapshots");
@@ -35,4 +35,4 @@ var Plugin19 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin19, exports_snapshot };
38
+ export { Plugin41, exports_snapshot };
@@ -2,8 +2,8 @@ import {
2
2
  lazy2
3
3
  } from "./aisdk-native-88xbtdfr.js";
4
4
  import {
5
- load5
6
- } from "./aisdk-native-e3qxr5gk.js";
5
+ load4
6
+ } from "./aisdk-native-5qd3pb7m.js";
7
7
  import {
8
8
  __export
9
9
  } from "./aisdk-native-9rqn6x4v.js";
@@ -11,18 +11,18 @@ import {
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event13,
14
+ Event: () => Event7,
15
15
  Native: () => Native3,
16
- Options: () => Options9,
17
- Service: () => Service59,
16
+ Options: () => Options6,
17
+ Service: () => Service41,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured9,
20
+ configured: () => configured6,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer22,
22
+ layer: () => layer17,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node62,
25
+ node: () => node44,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper";
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event13 = { Updated: FileSystem.Event.Changed };
36
+ var Event7 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
- return createWrapper(load5());
39
+ return createWrapper(load4());
40
40
  } catch {
41
41
  return;
42
42
  }
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options9 = Schema.Struct({
56
+ var Options6 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service59 extends Context.Service()("@opencode/Watcher") {
60
+ class Service41 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer22 = (options) => Layer.effect(Service59, Effect.gen(function* () {
65
+ var layer17 = (options) => Layer.effect(Service41, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service59.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service41.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer22 = (options) => Layer.effect(Service59, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service59.of({ subscribe });
108
+ return Service41.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer22().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer17().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service59).subscribe,
134
+ subscribe: Context.get(context, Service41).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service59, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service41, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
164
164
  }
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
- function configured9(options) {
168
- return makeGlobalNode({ service: Service59, layer: layer22(options), deps: [nativeNode2] });
167
+ function configured6(options) {
168
+ return makeGlobalNode({ service: Service41, layer: layer17(options), deps: [nativeNode2] });
169
169
  }
170
- var node62 = configured9();
170
+ var node44 = configured6();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event13, hasNativeBinding2, Native3, Options9, Service59, Test3, layer22, testLayer3, nativeLayer2, nativeNode2, configured9, node62, exports_watcher };
190
+ export { Event7, hasNativeBinding2, Native3, Options6, Service41, Test3, layer17, testLayer3, nativeLayer2, nativeNode2, configured6, node44, exports_watcher };
@@ -2,15 +2,15 @@ import {
2
2
  ascending2
3
3
  } from "./aisdk-native-tvtrv512.js";
4
4
  import {
5
- Service65,
6
- node69
7
- } from "./aisdk-native-4xr2831z.js";
5
+ Service69,
6
+ node72
7
+ } from "./aisdk-native-z2x1npkm.js";
8
8
  import {
9
9
  SessionMessage2
10
10
  } from "./aisdk-native-gftt206x.js";
11
11
  import {
12
12
  SessionSchema2
13
- } from "./aisdk-native-mf9m2v67.js";
13
+ } from "./aisdk-native-8q7cq0y1.js";
14
14
  import {
15
15
  __export
16
16
  } from "./aisdk-native-9rqn6x4v.js";
@@ -19,9 +19,9 @@ import {
19
19
  var exports_job = {};
20
20
  __export(exports_job, {
21
21
  Job: () => exports_job,
22
- Service: () => Service46,
22
+ Service: () => Service47,
23
23
  make: () => make17,
24
- node: () => node48
24
+ node: () => node49
25
25
  });
26
26
  import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
27
27
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -50,7 +50,7 @@ var Background = Schema.Struct({
50
50
  var decodeBackground = Schema.decodeUnknownResult(Background);
51
51
  var backgroundPrefix = "job.background/";
52
52
 
53
- class Service46 extends Context.Service()("@opencode/Job") {
53
+ class Service47 extends Context.Service()("@opencode/Job") {
54
54
  }
55
55
  function snapshot(job) {
56
56
  return {
@@ -86,7 +86,7 @@ function decrementSession(input, sessionID) {
86
86
  return next;
87
87
  }
88
88
  var make17 = Effect.gen(function* () {
89
- const kv = yield* Service65;
89
+ const kv = yield* Service69;
90
90
  const state = {
91
91
  jobs: yield* SynchronizedRef.make(new Map),
92
92
  scope: yield* Scope.Scope
@@ -315,7 +315,7 @@ var make17 = Effect.gen(function* () {
315
315
  return recovered;
316
316
  }).pipe(Effect.withSpan("Job.pendingBackground"));
317
317
  const completeBackground = Effect.fn("Job.completeBackground")((notificationID) => kv.remove(`${backgroundPrefix}${notificationID}`));
318
- return Service46.of({
318
+ return Service47.of({
319
319
  get,
320
320
  start,
321
321
  wait,
@@ -327,7 +327,7 @@ var make17 = Effect.gen(function* () {
327
327
  completeBackground
328
328
  });
329
329
  });
330
- var layer = Layer.effect(Service46, make17);
331
- var node48 = makeGlobalNode({ service: Service46, layer, deps: [node69] });
330
+ var layer = Layer.effect(Service47, make17);
331
+ var node49 = makeGlobalNode({ service: Service47, layer, deps: [node72] });
332
332
 
333
- export { Service46, make17, node48, exports_job };
333
+ export { Service47, make17, node49, exports_job };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./aisdk-native-xf3xt1ha.js";
4
+ } from "./aisdk-native-nntat7jz.js";
5
5
  import {
6
6
  Service81,
7
7
  node85
8
- } from "./aisdk-native-wasmnp9g.js";
8
+ } from "./aisdk-native-kb2qx9e9.js";
9
9
  import {
10
10
  SessionEvent2
11
11
  } from "./aisdk-native-ec1grn59.js";
@@ -14,7 +14,7 @@ import {
14
14
  } from "./aisdk-native-a1bz86dw.js";
15
15
  import {
16
16
  prepare4
17
- } from "./aisdk-native-bajakh74.js";
17
+ } from "./aisdk-native-vkxpz7g2.js";
18
18
  import {
19
19
  llmClient2
20
20
  } from "./aisdk-native-5t3nmthw.js";
@@ -23,66 +23,66 @@ import {
23
23
  } from "./aisdk-native-gftt206x.js";
24
24
  import {
25
25
  StepFailedError2
26
- } from "./aisdk-native-1m0ke9tc.js";
26
+ } from "./aisdk-native-3s810fg1.js";
27
27
  import {
28
28
  provenance2
29
- } from "./aisdk-native-88sz8qcd.js";
29
+ } from "./aisdk-native-msq0jde0.js";
30
30
  import {
31
31
  decodeMessageRow2,
32
32
  preview2
33
- } from "./aisdk-native-thz469sg.js";
33
+ } from "./aisdk-native-9wkb9m04.js";
34
34
  import {
35
- Service51,
36
- node53
37
- } from "./aisdk-native-m2e5j58z.js";
35
+ Service60,
36
+ node62
37
+ } from "./aisdk-native-hffbynf2.js";
38
38
  import {
39
- Service35,
40
- node38
41
- } from "./aisdk-native-6rtfy69a.js";
39
+ Service34,
40
+ node37
41
+ } from "./aisdk-native-kg4jxx0b.js";
42
42
  import {
43
43
  baseTranscript2
44
- } from "./aisdk-native-k51e4aw5.js";
44
+ } from "./aisdk-native-023zadcs.js";
45
45
  import {
46
- make9
47
- } from "./aisdk-native-gp08z3nw.js";
46
+ make10
47
+ } from "./aisdk-native-bn7wsp1y.js";
48
48
  import {
49
49
  Service10,
50
50
  node12
51
- } from "./aisdk-native-28e4y2hv.js";
51
+ } from "./aisdk-native-zjym0m08.js";
52
52
  import {
53
- Service28,
54
- node31
55
- } from "./aisdk-native-0hna0z05.js";
53
+ Service25,
54
+ node28
55
+ } from "./aisdk-native-evavga5b.js";
56
56
  import {
57
57
  serialized2,
58
58
  nextPromotable2,
59
59
  promote2
60
- } from "./aisdk-native-5vzxx5bm.js";
60
+ } from "./aisdk-native-pp8ahakx.js";
61
61
  import {
62
62
  Service12,
63
63
  isUntitled2,
64
64
  node14
65
- } from "./aisdk-native-erpj0ymn.js";
65
+ } from "./aisdk-native-2nsfm9h9.js";
66
66
  import {
67
67
  DrainResult2,
68
- Service40
69
- } from "./aisdk-native-2vs2nh1n.js";
68
+ Service44
69
+ } from "./aisdk-native-zvt5dnpc.js";
70
70
  import {
71
- node46
72
- } from "./aisdk-native-8f6haeyf.js";
71
+ node41
72
+ } from "./aisdk-native-71anqpyy.js";
73
73
  import {
74
- node63
75
- } from "./aisdk-native-e248x3jn.js";
74
+ node42
75
+ } from "./aisdk-native-rtd6da40.js";
76
76
  import {
77
77
  Outcome2,
78
- make8
79
- } from "./aisdk-native-j4dhk6n6.js";
78
+ make9
79
+ } from "./aisdk-native-5cytww3c.js";
80
80
  import {
81
- Service27
82
- } from "./aisdk-native-1x11rq2a.js";
81
+ Service24
82
+ } from "./aisdk-native-v1faaxn9.js";
83
83
  import {
84
- node23
85
- } from "./aisdk-native-9fz2jzqv.js";
84
+ node19
85
+ } from "./aisdk-native-r04jyq6d.js";
86
86
  import {
87
87
  MAX_STEPS_PROMPT2
88
88
  } from "./aisdk-native-y44na4kk.js";
@@ -101,16 +101,16 @@ import { and, desc, eq, sql } from "drizzle-orm";
101
101
  import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
102
102
  import { makeLocationNode } from "@opencode/util/effect/app-node";
103
103
  var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
104
- var layer = Layer.effect(Service40, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service44, Effect.gen(function* () {
105
105
  const bus = yield* Service81;
106
- const store = yield* Service51;
107
- const context = yield* Service28;
108
- const modelTransport = yield* Service35;
106
+ const store = yield* Service60;
107
+ const context = yield* Service25;
108
+ const modelTransport = yield* Service34;
109
109
  const db = (yield* Service82).db;
110
110
  const compaction = yield* Service10;
111
- const plugins = yield* Service27;
111
+ const plugins = yield* Service24;
112
112
  const title = yield* Service12;
113
- const steps = yield* make8;
113
+ const steps = yield* make9;
114
114
  const titles = yield* FiberMap.make();
115
115
  const drain = Effect.fn("SessionRunner.drain")(function* (input) {
116
116
  const sessionID = input.sessionID;
@@ -231,7 +231,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
231
231
  const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
232
232
  const sessionID = first.session.id;
233
233
  let assistantMessageID = SessionMessage2.ID.create();
234
- const retry = yield* make9(bus, sessionID);
234
+ const retry = yield* make10(bus, sessionID);
235
235
  let initial = first;
236
236
  let recoverOverflow = true;
237
237
  let recoverContinuation = true;
@@ -351,22 +351,22 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
351
351
  }
352
352
  }
353
353
  });
354
- return Service40.of({ drain });
354
+ return Service44.of({ drain });
355
355
  }));
356
356
  var node11 = makeLocationNode({
357
- service: Service40,
357
+ service: Service44,
358
358
  layer,
359
359
  deps: [
360
360
  node85,
361
361
  llmClient2,
362
- node31,
363
- node38,
364
- node53,
362
+ node28,
363
+ node37,
364
+ node62,
365
365
  node12,
366
- node23,
366
+ node19,
367
367
  node14,
368
- node46,
369
- node63,
368
+ node41,
369
+ node42,
370
370
  node86
371
371
  ]
372
372
  });
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./aisdk-native-xf3xt1ha.js";
4
+ } from "./aisdk-native-nntat7jz.js";
5
5
  import {
6
6
  Key3,
7
7
  removed2,
8
- make19,
8
+ make18,
9
9
  combine2
10
- } from "./aisdk-native-t550f9t1.js";
10
+ } from "./aisdk-native-0gdmqesm.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
13
  } from "./aisdk-native-a1bz86dw.js";
@@ -22,11 +22,11 @@ __export(exports_instruction_entry, {
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service36,
25
+ Service: () => Service32,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
29
- node: () => node39,
29
+ node: () => node35,
30
30
  snapshot: () => snapshot2
31
31
  });
32
32
  import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service36 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service32 extends Context.Service()("@opencode/InstructionEntry") {
60
60
  }
61
61
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
62
62
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
63
63
  `);
64
- var source = (entry) => make19({
64
+ var source = (entry) => make18({
65
65
  key: Key3.make(`api/${entry.key}`),
66
66
  codec: Schema.toCodecJson(Schema.Json),
67
67
  read: Effect.succeed(entry.removed ? removed2 : entry.value),
@@ -75,7 +75,7 @@ var source = (entry) => make19({
75
75
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
76
76
  }
77
77
  });
78
- var layer = Layer.effect(Service36, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service32, Effect.gen(function* () {
79
79
  const { db } = yield* Service82;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
108
108
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
109
109
  return combine2((yield* rows(sessionID, true)).map(source));
110
110
  });
111
- return Service36.of({ list, put, remove, load });
111
+ return Service32.of({ list, put, remove, load });
112
112
  }));
113
- var node39 = makeLocationNode({ service: Service36, layer, deps: [node86] });
113
+ var node35 = makeLocationNode({ service: Service32, layer, deps: [node86] });
114
114
 
115
- export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service36, node39, exports_instruction_entry };
115
+ export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service32, node35, exports_instruction_entry };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service49,
3
- node51,
2
+ Service66,
3
+ node68,
4
4
  canonical3
5
- } from "./aisdk-native-16zmxd5d.js";
5
+ } from "./aisdk-native-czwyyt0b.js";
6
6
  import {
7
- Service42,
8
- node44
9
- } from "./aisdk-native-sxzvkvgj.js";
7
+ Service48,
8
+ node50
9
+ } from "./aisdk-native-tcay1cqt.js";
10
10
  import {
11
- Service22
12
- } from "./aisdk-native-wse8x4gb.js";
11
+ Service17
12
+ } from "./aisdk-native-6mbb5s1t.js";
13
13
  import {
14
14
  layer2
15
- } from "./aisdk-native-vy5gba4s.js";
15
+ } from "./aisdk-native-9tp0xrnc.js";
16
16
 
17
17
  // src/location-services.ts
18
18
  import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
19
19
  function buildLocationServiceMap2(replacements = []) {
20
- return Layer.effect(Service49, Effect.gen(function* () {
20
+ return Layer.effect(Service66, Effect.gen(function* () {
21
21
  const owner = yield* Effect.scope;
22
22
  const builds = MutableHashMap.empty();
23
23
  const inner = yield* LayerMap.make((ref) => {
@@ -28,7 +28,7 @@ function buildLocationServiceMap2(replacements = []) {
28
28
  if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
29
29
  return Effect.void;
30
30
  if (Exit.isSuccess(exit)) {
31
- build.close = Context.get(exit.value, Service22).close;
31
+ build.close = Context.get(exit.value, Service17).close;
32
32
  return Effect.void;
33
33
  }
34
34
  MutableHashMap.remove(builds, ref);
@@ -50,11 +50,11 @@ function buildLocationServiceMap2(replacements = []) {
50
50
  })
51
51
  };
52
52
  const bindings = [
53
- node44.replace(Layer.succeed(Service42, {
53
+ node50.replace(Layer.succeed(Service48, {
54
54
  provide: (session) => Effect.provide(map.get(session.location))
55
55
  })),
56
56
  ...replacements,
57
- node51.replace(Layer.succeed(Service49, map))
57
+ node68.replace(Layer.succeed(Service66, map))
58
58
  ];
59
59
  return map;
60
60
  }));