@opencode/core 0.0.0-dev-19561 → 0.0.0-dev-19562

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 (790) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +72 -72
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{app-djhgwtj8.js → model-resolver-00e8a32v.js} +7 -7
  9. package/dist/chunks/{app-5z426dhq.js → model-resolver-00n9sm3e.js} +11 -11
  10. package/dist/chunks/{app-2k8khapm.js → model-resolver-0jwsre1p.js} +5 -5
  11. package/dist/chunks/{app-zc923k6h.js → model-resolver-0mqwdcna.js} +31 -31
  12. package/dist/chunks/{app-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{app-0q0f95c6.js → model-resolver-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{app-0zeytkd6.js → model-resolver-0r7yqxbf.js} +5 -5
  15. package/dist/chunks/{app-j83byb14.js → model-resolver-0v53mg2y.js} +4 -4
  16. package/dist/chunks/{app-9s9rwn5z.js → model-resolver-13ggeyh8.js} +8 -8
  17. package/dist/chunks/{app-r1wvay4d.js → model-resolver-14fxtwre.js} +55 -55
  18. package/dist/chunks/{app-as64xgvx.js → model-resolver-15abmk5b.js} +20 -20
  19. package/dist/chunks/{app-1bbkgx8g.js → model-resolver-1bbkgx8g.js} +1 -1
  20. package/dist/chunks/{app-nx7mgqwr.js → model-resolver-1cn8af6j.js} +17 -17
  21. package/dist/chunks/{app-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{app-8de9g2wa.js → model-resolver-1xzg4q7f.js} +8 -8
  23. package/dist/chunks/{app-21r38tys.js → model-resolver-21r38tys.js} +1 -1
  24. package/dist/chunks/{app-6h73sxmp.js → model-resolver-2402vzrj.js} +5 -5
  25. package/dist/chunks/{app-eymr46he.js → model-resolver-24p1656x.js} +33 -33
  26. package/dist/chunks/{app-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{app-rph3zd4r.js → model-resolver-2d57kztd.js} +4 -4
  28. package/dist/chunks/{app-mew188h6.js → model-resolver-2jb6wffc.js} +32 -32
  29. package/dist/chunks/{app-xhgrbxjr.js → model-resolver-2ps3j6a4.js} +27 -27
  30. package/dist/chunks/{app-qkk52kd6.js → model-resolver-2rwb14mb.js} +2 -2
  31. package/dist/chunks/{app-j92hx5ks.js → model-resolver-390mr0wc.js} +3 -3
  32. package/dist/chunks/{app-rs3tpxgz.js → model-resolver-3a0pq44c.js} +11 -11
  33. package/dist/chunks/{app-dx9cm0t0.js → model-resolver-3aa2qh1v.js} +14 -14
  34. package/dist/chunks/{app-axqjetvy.js → model-resolver-3adkf2hq.js} +28 -28
  35. package/dist/chunks/{app-k6qndfad.js → model-resolver-3ccz5h33.js} +28 -28
  36. package/dist/chunks/{app-ds9cym46.js → model-resolver-3f15rfkp.js} +6 -6
  37. package/dist/chunks/{app-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{app-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
  39. package/dist/chunks/{app-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{app-21spz6s2.js → model-resolver-472r768p.js} +3 -3
  41. package/dist/chunks/{app-4c7t2hb3.js → model-resolver-49sc2kz0.js} +9 -9
  42. package/dist/chunks/{app-vcjpx2p6.js → model-resolver-4cfrandj.js} +61 -61
  43. package/dist/chunks/{app-e5batswc.js → model-resolver-4hdjqv5n.js} +23 -23
  44. package/dist/chunks/{app-79by68xe.js → model-resolver-4j4p0yst.js} +9 -9
  45. package/dist/chunks/{app-9y8671sk.js → model-resolver-4w79hth0.js} +11 -11
  46. package/dist/chunks/{app-zjxmyx9h.js → model-resolver-4y9xcd5s.js} +18 -18
  47. package/dist/chunks/{app-3q9crshv.js → model-resolver-50spkatp.js} +1 -1
  48. package/dist/chunks/{app-kpvyk30t.js → model-resolver-52vrzpkh.js} +9 -9
  49. package/dist/chunks/{app-56gdpj1q.js → model-resolver-56gdpj1q.js} +2 -2
  50. package/dist/chunks/{app-btxxvpyy.js → model-resolver-5907cmhj.js} +14 -14
  51. package/dist/chunks/{app-tf7xy0nv.js → model-resolver-5cneagdz.js} +15 -15
  52. package/dist/chunks/{app-ymk0y6rr.js → model-resolver-5d9hgq6a.js} +22 -22
  53. package/dist/chunks/{app-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
  54. package/dist/chunks/{app-ebk5y3wp.js → model-resolver-5pqk165g.js} +12 -12
  55. package/dist/chunks/{app-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
  56. package/dist/chunks/{app-1e7h8b71.js → model-resolver-5w049mzn.js} +17 -17
  57. package/dist/chunks/{app-b99ewpxx.js → model-resolver-61rt74dg.js} +11 -11
  58. package/dist/chunks/{app-669tq793.js → model-resolver-669tq793.js} +1 -1
  59. package/dist/chunks/{app-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
  60. package/dist/chunks/{app-7jf3rx6v.js → model-resolver-6q8410ef.js} +13 -13
  61. package/dist/chunks/{app-71q4at8m.js → model-resolver-71q4at8m.js} +1 -1
  62. package/dist/chunks/{app-v0vna0hr.js → model-resolver-76wy3d38.js} +25 -25
  63. package/dist/chunks/{app-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
  64. package/dist/chunks/{app-3n9gdh1k.js → model-resolver-7gwa0hgg.js} +9 -9
  65. package/dist/chunks/{app-99sec61k.js → model-resolver-7kzjj59j.js} +6 -6
  66. package/dist/chunks/{app-4tgepgz2.js → model-resolver-7qpx1xb8.js} +46 -46
  67. package/dist/chunks/{app-v4tagf9s.js → model-resolver-7srvnxx8.js} +4 -4
  68. package/dist/chunks/{app-kcw8n58a.js → model-resolver-7yhtqe52.js} +6 -6
  69. package/dist/chunks/{app-xfd3m1ss.js → model-resolver-7z0etnq8.js} +9 -9
  70. package/dist/chunks/{app-265kqrgy.js → model-resolver-84r56gr5.js} +1 -1
  71. package/dist/chunks/{app-tcezcvh9.js → model-resolver-89znhe33.js} +4 -4
  72. package/dist/chunks/{app-bpccfqd3.js → model-resolver-8as59qyc.js} +12 -12
  73. package/dist/chunks/{app-qs7kc60q.js → model-resolver-8cj6vp2e.js} +8 -8
  74. package/dist/chunks/{app-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
  75. package/dist/chunks/{app-s0j1fbfd.js → model-resolver-8jnsm5sz.js} +4 -4
  76. package/dist/chunks/{app-te6cpsjw.js → model-resolver-8nk5pr3x.js} +4 -4
  77. package/dist/chunks/{app-dj2t23y0.js → model-resolver-8p4f9s12.js} +2 -2
  78. package/dist/chunks/{app-sgr3arpp.js → model-resolver-8q68r2wm.js} +41 -41
  79. package/dist/chunks/{app-wmsmh04t.js → model-resolver-8ra0ktpd.js} +1 -1
  80. package/dist/chunks/{app-j6kg5r8z.js → model-resolver-94jd98dy.js} +11 -11
  81. package/dist/chunks/{app-wp14g9ps.js → model-resolver-97c56c16.js} +30 -30
  82. package/dist/chunks/{app-z88hp0aa.js → model-resolver-9anxe710.js} +4 -4
  83. package/dist/chunks/{app-d1r29v35.js → model-resolver-9gh4k6y6.js} +5 -5
  84. package/dist/chunks/{app-knb92ksz.js → model-resolver-9qc5egqb.js} +6 -6
  85. package/dist/chunks/{app-z5ptqwzc.js → model-resolver-9xpp069q.js} +22 -22
  86. package/dist/chunks/{app-c25j16b6.js → model-resolver-9ynvy50g.js} +17 -17
  87. package/dist/chunks/{app-6fmew5e2.js → model-resolver-a10qfg7z.js} +13 -13
  88. package/dist/chunks/{app-5c4hm403.js → model-resolver-a1bz86dw.js} +3 -3
  89. package/dist/chunks/{app-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
  90. package/dist/chunks/{app-cbxv00zf.js → model-resolver-aawxrc71.js} +5 -5
  91. package/dist/chunks/{app-d9yh24m3.js → model-resolver-ae2xf8y7.js} +41 -41
  92. package/dist/chunks/{app-k8f4e1q1.js → model-resolver-agnae2h9.js} +15 -15
  93. package/dist/chunks/{app-79a0b5rg.js → model-resolver-ah1s8aaq.js} +96 -96
  94. package/dist/chunks/{app-hax2xkfs.js → model-resolver-ajpf6mah.js} +6 -6
  95. package/dist/chunks/{app-tqkfp8mb.js → model-resolver-b1k5mb32.js} +23 -23
  96. package/dist/chunks/{app-pkaeh3jp.js → model-resolver-b21wsm0h.js} +11 -11
  97. package/dist/chunks/{app-2k6rfqm0.js → model-resolver-b4ymjb7p.js} +37 -37
  98. package/dist/chunks/{app-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
  99. package/dist/chunks/{app-g1ww8e3f.js → model-resolver-b9dtzdzx.js} +15 -15
  100. package/dist/chunks/{app-7bdqzs13.js → model-resolver-ba05va59.js} +27 -27
  101. package/dist/chunks/{app-tnpb702e.js → model-resolver-ba67t4eh.js} +18 -18
  102. package/dist/chunks/{app-t29fdsch.js → model-resolver-baajpyvs.js} +26 -26
  103. package/dist/chunks/{app-sbvg55hg.js → model-resolver-bh23canw.js} +10 -10
  104. package/dist/chunks/{app-8mv32mqt.js → model-resolver-bw3m288y.js} +47 -47
  105. package/dist/chunks/{app-zhmtbbwy.js → model-resolver-c20v218m.js} +21 -21
  106. package/dist/chunks/{app-4xd8swbf.js → model-resolver-c2nzhxaj.js} +11 -11
  107. package/dist/chunks/{app-wjbb3v96.js → model-resolver-c7ssnmaj.js} +2 -2
  108. package/dist/chunks/{app-4ske52ay.js → model-resolver-cdqcdd4q.js} +4 -4
  109. package/dist/chunks/{app-m0jqrx5p.js → model-resolver-cfpkc3c9.js} +2 -2
  110. package/dist/chunks/{app-95fq9yxk.js → model-resolver-ck5d9zpy.js} +10 -10
  111. package/dist/chunks/{app-4vf9gwg8.js → model-resolver-cq37gk0t.js} +4 -4
  112. package/dist/chunks/{app-jvf3yq6v.js → model-resolver-ctmr8zqa.js} +4 -4
  113. package/dist/chunks/{app-1mt2ceq3.js → model-resolver-d9hjbqwg.js} +7 -7
  114. package/dist/chunks/{app-1f9kgyzc.js → model-resolver-d9mtv62x.js} +28 -28
  115. package/dist/chunks/{app-b3f68z6w.js → model-resolver-dcf7e85t.js} +6 -6
  116. package/dist/chunks/{app-gpsmm3ta.js → model-resolver-ddj422qv.js} +26 -26
  117. package/dist/chunks/{app-844ef7ks.js → model-resolver-dgj0dq1g.js} +8 -8
  118. package/dist/chunks/{app-nk310e7d.js → model-resolver-dhtkj142.js} +10 -10
  119. package/dist/chunks/{app-ngybnnec.js → model-resolver-dj4cd8g6.js} +41 -41
  120. package/dist/chunks/{app-5msnf33t.js → model-resolver-drq8acbn.js} +15 -15
  121. package/dist/chunks/{app-7x2xfc77.js → model-resolver-dsavrnz6.js} +11 -11
  122. package/dist/chunks/{app-e5nv3ght.js → model-resolver-e5nv3ght.js} +2 -2
  123. package/dist/chunks/model-resolver-e6q3pz3t.js +76 -0
  124. package/dist/chunks/{app-qrr9kfam.js → model-resolver-e6qnhjcz.js} +20 -20
  125. package/dist/chunks/{app-nhy5jxhy.js → model-resolver-e82z9tr0.js} +7 -7
  126. package/dist/chunks/{app-c5gn303e.js → model-resolver-ec8389mk.js} +4 -4
  127. package/dist/chunks/{app-kcvdw7hq.js → model-resolver-egap6qp7.js} +25 -25
  128. package/dist/chunks/{app-xaxvdqwz.js → model-resolver-ehav94k5.js} +19 -19
  129. package/dist/chunks/{app-ysp9ar34.js → model-resolver-eq6j5b08.js} +41 -41
  130. package/dist/chunks/{app-t1wwgba0.js → model-resolver-eq724rxw.js} +29 -29
  131. package/dist/chunks/{app-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
  132. package/dist/chunks/{app-dpcg14ab.js → model-resolver-f2b3pcdc.js} +45 -45
  133. package/dist/chunks/{app-f2n192rq.js → model-resolver-f2n192rq.js} +1 -1
  134. package/dist/chunks/{app-qj8eh1ht.js → model-resolver-f3ngv102.js} +4 -4
  135. package/dist/chunks/{app-hdnk95c8.js → model-resolver-f828m53h.js} +2 -2
  136. package/dist/chunks/{app-3qamp8r0.js → model-resolver-fbwxg4d7.js} +33 -33
  137. package/dist/chunks/{app-nfbtqdky.js → model-resolver-fc7q7xy2.js} +30 -30
  138. package/dist/chunks/{app-962tx2qa.js → model-resolver-fff2ww6r.js} +22 -22
  139. package/dist/chunks/model-resolver-fj1dxc35.js +466 -0
  140. package/dist/chunks/{app-4xqwm4r2.js → model-resolver-fke1fcjd.js} +4 -4
  141. package/dist/chunks/{app-fxbjtjnd.js → model-resolver-fxbjtjnd.js} +1 -1
  142. package/dist/chunks/{app-sgvj2xz6.js → model-resolver-g1amre2a.js} +22 -22
  143. package/dist/chunks/model-resolver-ga8867b0.js +26 -0
  144. package/dist/chunks/{app-0yxmk81s.js → model-resolver-gapn44fz.js} +22 -22
  145. package/dist/chunks/{app-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
  146. package/dist/chunks/{app-3fc6dm20.js → model-resolver-gdvy8fx6.js} +4 -4
  147. package/dist/chunks/{app-219neeqh.js → model-resolver-gea7vc3h.js} +5 -5
  148. package/dist/chunks/{app-gq1a1j0q.js → model-resolver-gfraf4kn.js} +30 -30
  149. package/dist/chunks/{app-kaph4dp2.js → model-resolver-gh1at4hc.js} +18 -18
  150. package/dist/chunks/{app-19d3sct9.js → model-resolver-gv6a8nnw.js} +5 -5
  151. package/dist/chunks/{app-h03wrkyp.js → model-resolver-h03wrkyp.js} +2 -2
  152. package/dist/chunks/{app-ctzssw83.js → model-resolver-h10s6dah.js} +8 -8
  153. package/dist/chunks/{app-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
  154. package/dist/chunks/{app-kkgs1rnq.js → model-resolver-h9h2cf90.js} +10 -10
  155. package/dist/chunks/{app-drhmh129.js → model-resolver-hk2b1w8q.js} +91 -91
  156. package/dist/chunks/model-resolver-ht5y0zrb.js +18 -0
  157. package/dist/chunks/{app-dd52qhkk.js → model-resolver-hwt2n11x.js} +25 -25
  158. package/dist/chunks/{app-h4wmnrav.js → model-resolver-hxnmyzpz.js} +16 -16
  159. package/dist/chunks/{app-r3ft6425.js → model-resolver-j4h9n0kh.js} +25 -25
  160. package/dist/chunks/{app-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
  161. package/dist/chunks/{app-v2f6dcv3.js → model-resolver-j699j8bt.js} +2 -2
  162. package/dist/chunks/{app-1wnf822w.js → model-resolver-j8egexsa.js} +4 -4
  163. package/dist/chunks/{app-q0g9019d.js → model-resolver-jb1x2pah.js} +23 -23
  164. package/dist/chunks/{app-5fasnjbz.js → model-resolver-jcabrnmj.js} +16 -16
  165. package/dist/chunks/{app-k91vn9qt.js → model-resolver-jz0gg2wa.js} +13 -13
  166. package/dist/chunks/{app-2v2p0zkw.js → model-resolver-jzz0khf2.js} +9 -9
  167. package/dist/chunks/{app-kragzxm7.js → model-resolver-k43t2cp1.js} +8 -8
  168. package/dist/chunks/{app-qtfeymnv.js → model-resolver-k5z1e6p1.js} +7 -7
  169. package/dist/chunks/{app-815rpf75.js → model-resolver-kbhm0m0a.js} +20 -20
  170. package/dist/chunks/{app-6ytr2r1k.js → model-resolver-kdqbr4kj.js} +5 -5
  171. package/dist/chunks/{app-n863r4pp.js → model-resolver-kenhkcqf.js} +34 -34
  172. package/dist/chunks/{app-kg06axw8.js → model-resolver-kg06axw8.js} +1 -1
  173. package/dist/chunks/{app-wmwr0kv0.js → model-resolver-kpcpvznn.js} +24 -29
  174. package/dist/chunks/{app-3z9f67a4.js → model-resolver-m1j7qv8x.js} +27 -27
  175. package/dist/chunks/{app-qrv0hc0e.js → model-resolver-m1n5w1f6.js} +10 -10
  176. package/dist/chunks/{app-p1yhy00c.js → model-resolver-m3e6h5hy.js} +12 -12
  177. package/dist/chunks/{app-2e9kmw2e.js → model-resolver-m60j7x9s.js} +8 -8
  178. package/dist/chunks/{app-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{app-s1w7wtw7.js → model-resolver-mbk19yfb.js} +20 -20
  180. package/dist/chunks/{app-fen7mw99.js → model-resolver-mcrwpmnc.js} +8 -8
  181. package/dist/chunks/{app-1hc11dc4.js → model-resolver-mfhfdr54.js} +4 -4
  182. package/dist/chunks/{app-wafhz9z5.js → model-resolver-mp0nztn2.js} +16 -16
  183. package/dist/chunks/{app-a2re09g1.js → model-resolver-mqz2skd6.js} +22 -22
  184. package/dist/chunks/{app-m44y384t.js → model-resolver-mx83bqr4.js} +11 -11
  185. package/dist/chunks/{app-p9bng2jk.js → model-resolver-my4mn6ec.js} +24 -24
  186. package/dist/chunks/{app-e7eq38wk.js → model-resolver-nfx74p92.js} +9 -9
  187. package/dist/chunks/{app-q4fmv0xv.js → model-resolver-nrk5vjbf.js} +5 -5
  188. package/dist/chunks/{app-e5teavnc.js → model-resolver-nv8khyte.js} +9 -9
  189. package/dist/chunks/{app-2c0gfpva.js → model-resolver-nvbchq6z.js} +11 -11
  190. package/dist/chunks/{app-70d2s7af.js → model-resolver-p0ydpdje.js} +1 -1
  191. package/dist/chunks/{app-0artwwxx.js → model-resolver-pbky73a2.js} +3 -3
  192. package/dist/chunks/{app-3f1qtj92.js → model-resolver-ph0q5yay.js} +6 -6
  193. package/dist/chunks/{app-mkw2wvv0.js → model-resolver-pjsmk15p.js} +17 -17
  194. package/dist/chunks/{app-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
  195. package/dist/chunks/{app-9vs0xtad.js → model-resolver-pk2244jm.js} +3 -3
  196. package/dist/chunks/{app-pknna89w.js → model-resolver-pknna89w.js} +1 -1
  197. package/dist/chunks/{app-3aabf6yx.js → model-resolver-pmqmstmj.js} +24 -24
  198. package/dist/chunks/{app-4m51zt69.js → model-resolver-pp4zvqwf.js} +9 -9
  199. package/dist/chunks/{app-z436s2b4.js → model-resolver-prmjvc7r.js} +12 -12
  200. package/dist/chunks/{app-3p827y1v.js → model-resolver-prw92f66.js} +18 -18
  201. package/dist/chunks/{app-9wgnr44e.js → model-resolver-ps320bc5.js} +11 -11
  202. package/dist/chunks/{app-0ayjakrc.js → model-resolver-ptz3r4n8.js} +51 -51
  203. package/dist/chunks/{app-yt5vak3w.js → model-resolver-pvpa96jk.js} +24 -24
  204. package/dist/chunks/{app-xg6w0apm.js → model-resolver-qbybakcq.js} +47 -47
  205. package/dist/chunks/{app-0c36z3qz.js → model-resolver-qff9k35d.js} +11 -11
  206. package/dist/chunks/{app-4fgsg95c.js → model-resolver-qfw3ezrb.js} +22 -22
  207. package/dist/chunks/{app-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
  208. package/dist/chunks/{app-99xay3p1.js → model-resolver-qvb3nf84.js} +8 -8
  209. package/dist/chunks/{app-30c1nq7z.js → model-resolver-r01t9b5y.js} +4 -4
  210. package/dist/chunks/{app-y47n03xn.js → model-resolver-r0jzbrht.js} +19 -19
  211. package/dist/chunks/{app-3p1t101e.js → model-resolver-r345bmqf.js} +8 -8
  212. package/dist/chunks/{app-z263g23a.js → model-resolver-r4w7q595.js} +4 -4
  213. package/dist/chunks/{app-7039s2ae.js → model-resolver-r8mwk7t1.js} +34 -34
  214. package/dist/chunks/{app-r9mregkx.js → model-resolver-r9mregkx.js} +2 -2
  215. package/dist/chunks/{app-eaj1djv9.js → model-resolver-rhjbct0v.js} +8 -8
  216. package/dist/chunks/{app-pezvt5x4.js → model-resolver-rj1enhmn.js} +62 -62
  217. package/dist/chunks/{app-0nwgmm4h.js → model-resolver-rk0rec3h.js} +9 -9
  218. package/dist/chunks/{app-2s388hy2.js → model-resolver-rrh3wayh.js} +28 -28
  219. package/dist/chunks/{app-cvtmmhw6.js → model-resolver-rxjvbk8n.js} +1 -1
  220. package/dist/chunks/{app-xaq2s33m.js → model-resolver-rzyh5zbg.js} +18 -18
  221. package/dist/chunks/{app-nyzamb02.js → model-resolver-s04evagd.js} +18 -18
  222. package/dist/chunks/{app-y598pph1.js → model-resolver-s4vvta73.js} +11 -11
  223. package/dist/chunks/{app-ysancpsm.js → model-resolver-s6y5cb61.js} +32 -32
  224. package/dist/chunks/{app-tb89zjsd.js → model-resolver-s8zy8myc.js} +5 -5
  225. package/dist/chunks/{app-bb47nq2s.js → model-resolver-sn15zvqk.js} +17 -17
  226. package/dist/chunks/{app-t7scepzc.js → model-resolver-sna6xqnk.js} +29 -29
  227. package/dist/chunks/{app-ee0f5b90.js → model-resolver-sse3cj1p.js} +11 -11
  228. package/dist/chunks/{app-13yh26v0.js → model-resolver-ssg4d1r7.js} +23 -23
  229. package/dist/chunks/{app-v0rnkkan.js → model-resolver-stz44jcx.js} +24 -24
  230. package/dist/chunks/{app-e3mxans8.js → model-resolver-t0fxg8b9.js} +5 -5
  231. package/dist/chunks/{app-6hh8tjw2.js → model-resolver-t2fc4mz5.js} +4 -4
  232. package/dist/chunks/{app-488jmg72.js → model-resolver-t67bqcnn.js} +8 -8
  233. package/dist/chunks/{app-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{app-tdstcens.js → model-resolver-tdstcens.js} +1 -1
  235. package/dist/chunks/{app-7g1vzt8j.js → model-resolver-tknyxa64.js} +35 -35
  236. package/dist/chunks/{app-f6h44vt5.js → model-resolver-tm5c6145.js} +6 -6
  237. package/dist/chunks/{app-0bed1fzj.js → model-resolver-tm80w73m.js} +15 -15
  238. package/dist/chunks/model-resolver-tp0yv4ge.js +247 -0
  239. package/dist/chunks/{app-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
  240. package/dist/chunks/{app-p1wf2k30.js → model-resolver-twy35tz0.js} +9 -9
  241. package/dist/chunks/{app-j8v4na37.js → model-resolver-v4gzsxzt.js} +174 -174
  242. package/dist/chunks/{app-y8j74zyv.js → model-resolver-v7xck931.js} +12 -12
  243. package/dist/chunks/{app-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
  244. package/dist/chunks/{app-z01ksdxp.js → model-resolver-vqv17xr0.js} +20 -20
  245. package/dist/chunks/{app-35wynegs.js → model-resolver-vywwb7xw.js} +2 -2
  246. package/dist/chunks/{app-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
  247. package/dist/chunks/{app-ff0htmxq.js → model-resolver-vzm76b3t.js} +6 -6
  248. package/dist/chunks/{app-b6tnvp33.js → model-resolver-w39ek3wx.js} +13 -13
  249. package/dist/chunks/{app-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{app-h86eetsm.js → model-resolver-wc561s8t.js} +13 -13
  251. package/dist/chunks/{app-wd87259q.js → model-resolver-wd87259q.js} +1 -1
  252. package/dist/chunks/{app-heqg70k2.js → model-resolver-wht86vv7.js} +23 -23
  253. package/dist/chunks/{app-7bt1mwkz.js → model-resolver-ws3jmg0w.js} +30 -30
  254. package/dist/chunks/{app-4s7s6hns.js → model-resolver-wtzjvpyk.js} +13 -13
  255. package/dist/chunks/{app-nv5vn7qx.js → model-resolver-wvmhx4nb.js} +8 -8
  256. package/dist/chunks/{app-jhvcngzp.js → model-resolver-ww2jdr25.js} +15 -15
  257. package/dist/chunks/{app-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{app-jc17n9gv.js → model-resolver-x60p6768.js} +32 -32
  259. package/dist/chunks/{app-grskzymy.js → model-resolver-xbwfmkd1.js} +3 -3
  260. package/dist/chunks/{app-q8qja58b.js → model-resolver-xekzrwwc.js} +9 -9
  261. package/dist/chunks/{app-33n3bzdy.js → model-resolver-xg954myy.js} +6 -6
  262. package/dist/chunks/{app-ez7tesda.js → model-resolver-xh8yz4jf.js} +11 -11
  263. package/dist/chunks/model-resolver-xrsqh21y.js +4 -0
  264. package/dist/chunks/{app-h9dy7g3k.js → model-resolver-xwqaakv5.js} +25 -25
  265. package/dist/chunks/{app-mz6ae2yf.js → model-resolver-xxj3pgp3.js} +1 -1
  266. package/dist/chunks/{app-mc3s7fb4.js → model-resolver-xyrnn15f.js} +47 -47
  267. package/dist/chunks/{app-1a0mjceb.js → model-resolver-xzqvznr8.js} +22 -22
  268. package/dist/chunks/{app-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{app-xrefmav4.js → model-resolver-y1xkgxqn.js} +6 -6
  270. package/dist/chunks/{app-y71avatq.js → model-resolver-y71avatq.js} +1 -1
  271. package/dist/chunks/{app-d08jv58j.js → model-resolver-y7pd6vgd.js} +17 -17
  272. package/dist/chunks/{app-zzn8fca5.js → model-resolver-y8104vkb.js} +5 -5
  273. package/dist/chunks/{app-8am9vma6.js → model-resolver-yecv7nm8.js} +11 -11
  274. package/dist/chunks/{app-kv3ch0es.js → model-resolver-yef4v0b4.js} +63 -63
  275. package/dist/chunks/{app-wavq5vqb.js → model-resolver-yqtqx2tb.js} +1 -1
  276. package/dist/chunks/{app-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{app-0pb75hch.js → model-resolver-yrz8q0k0.js} +5 -5
  278. package/dist/chunks/{app-yrznvahk.js → model-resolver-yrznvahk.js} +2 -2
  279. package/dist/chunks/{app-yk9xxxbm.js → model-resolver-yz1rwmdd.js} +16 -16
  280. package/dist/chunks/{app-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{app-gnz55c53.js → model-resolver-z0xf8849.js} +35 -35
  282. package/dist/chunks/{app-z63w68vq.js → model-resolver-z63w68vq.js} +2 -2
  283. package/dist/chunks/{app-r0mcpz4e.js → model-resolver-ze55z754.js} +10 -10
  284. package/dist/chunks/{app-rq775frq.js → model-resolver-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{app-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{app-pbfzwbsy.js → model-resolver-ztye28yt.js} +13 -13
  287. package/dist/chunks/{app-9v3m3k6g.js → model-resolver-zwqxr9ac.js} +9 -9
  288. package/dist/chunks/{app-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
  289. package/dist/chunks/{app-ndqtf2h8.js → model-resolver-zxrxjv84.js} +8 -8
  290. package/dist/codemode/catalog.js +3 -3
  291. package/dist/codemode/instructions.js +9 -9
  292. package/dist/codemode/tool.js +2 -2
  293. package/dist/command.js +80 -80
  294. package/dist/config/discovery.js +81 -81
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +19 -19
  297. package/dist/config/plugin/agent.js +117 -117
  298. package/dist/config/plugin/command.js +208 -208
  299. package/dist/config/plugin/compaction.js +157 -157
  300. package/dist/config/plugin/compatibility.js +140 -0
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +119 -119
  303. package/dist/config/plugin/image.js +117 -117
  304. package/dist/config/plugin/instruction.js +87 -87
  305. package/dist/config/plugin/location-watcher.js +117 -117
  306. package/dist/config/plugin/mcp.js +126 -126
  307. package/dist/config/plugin/policy.js +116 -116
  308. package/dist/config/plugin/provider.js +115 -115
  309. package/dist/config/plugin/reference.js +119 -119
  310. package/dist/config/plugin/shell.js +118 -118
  311. package/dist/config/plugin/skill-file.js +99 -99
  312. package/dist/config/plugin/skill.js +136 -136
  313. package/dist/config/plugin/snapshot.js +117 -117
  314. package/dist/config/plugin/source.js +113 -113
  315. package/dist/config/plugin/tool-output.js +119 -119
  316. package/dist/config/plugin/websearch.js +115 -115
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +3 -3
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +119 -119
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +84 -84
  323. package/dist/database/database.js +69 -69
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration.gen.js +48 -48
  388. package/dist/database/migration.js +50 -50
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +78 -78
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +364 -363
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +1 -1
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +86 -86
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +86 -86
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +1 -1
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +73 -73
  412. package/dist/file-access.js +101 -101
  413. package/dist/file-mutation.js +91 -91
  414. package/dist/file-retention.js +1 -1
  415. package/dist/file.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/ignore.js +1 -1
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +218 -218
  423. package/dist/filesystem/protected.js +3 -3
  424. package/dist/filesystem/search.js +101 -101
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +13 -13
  427. package/dist/filesystem.js +106 -106
  428. package/dist/form.js +85 -85
  429. package/dist/formatter/builtins.js +2 -2
  430. package/dist/formatter.js +86 -86
  431. package/dist/generate.js +94 -94
  432. package/dist/git.js +8 -8
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +3 -3
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/id/id.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +355 -354
  457. package/dist/instruction-discovery.js +80 -80
  458. package/dist/instructions/builtins.js +84 -84
  459. package/dist/instructions/index.js +5 -5
  460. package/dist/integration/connection.js +1 -1
  461. package/dist/integration.js +87 -87
  462. package/dist/job.js +76 -76
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +72 -72
  465. package/dist/location-activity.js +135 -135
  466. package/dist/location-mutation.js +101 -101
  467. package/dist/location-service-map.js +85 -85
  468. package/dist/location-services.js +352 -351
  469. package/dist/location.js +86 -86
  470. package/dist/mcp/client.js +88 -88
  471. package/dist/mcp/index.js +107 -107
  472. package/dist/mcp/instructions.js +124 -124
  473. package/dist/mcp/oauth.js +3 -3
  474. package/dist/mcp/stdio.js +87 -87
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +3 -3
  477. package/dist/model-resolver.js +87 -87
  478. package/dist/model.js +10 -10
  479. package/dist/models-dev.js +83 -83
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +81 -81
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +108 -108
  484. package/dist/persistent-pty/binary.bun.js +1 -1
  485. package/dist/persistent-pty/daemon.js +1 -1
  486. package/dist/persistent-pty/index.js +87 -87
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +74 -74
  489. package/dist/plugin/agent.js +97 -97
  490. package/dist/plugin/command.js +96 -96
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +215 -215
  493. package/dist/plugin/instance.js +5 -5
  494. package/dist/plugin/internal.js +326 -325
  495. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  496. package/dist/plugin/models-dev.js +76 -76
  497. package/dist/plugin/module.js +5 -5
  498. package/dist/plugin/optimize.js +4 -4
  499. package/dist/plugin/plan.js +99 -99
  500. package/dist/plugin/promise.js +1 -1
  501. package/dist/plugin/provider/alibaba.js +2 -2
  502. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  503. package/dist/plugin/provider/azure.js +120 -120
  504. package/dist/plugin/provider/cerebras.js +2 -2
  505. package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -119
  506. package/dist/plugin/provider/cloudflare-workers-ai.js +119 -119
  507. package/dist/plugin/provider/cohere.js +2 -2
  508. package/dist/plugin/provider/configured.js +116 -116
  509. package/dist/plugin/provider/digitalocean.js +80 -80
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/gateway.js +2 -2
  513. package/dist/plugin/provider/github-copilot.js +81 -81
  514. package/dist/plugin/provider/gitlab.js +3 -3
  515. package/dist/plugin/provider/google-vertex.js +2 -2
  516. package/dist/plugin/provider/kilo.js +2 -2
  517. package/dist/plugin/provider/llmgateway.js +77 -77
  518. package/dist/plugin/provider/lmstudio.js +119 -119
  519. package/dist/plugin/provider/modal.js +80 -80
  520. package/dist/plugin/provider/nvidia.js +2 -2
  521. package/dist/plugin/provider/ollama.js +119 -119
  522. package/dist/plugin/provider/openai-compatible.js +1 -1
  523. package/dist/plugin/provider/openai.js +81 -81
  524. package/dist/plugin/provider/opencode.js +80 -80
  525. package/dist/plugin/provider/openrouter.js +3 -3
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +77 -77
  528. package/dist/plugin/provider/sap-ai-core.js +3 -3
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +119 -119
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +2 -2
  533. package/dist/plugin/provider/vllm.js +119 -119
  534. package/dist/plugin/provider/xai.js +78 -78
  535. package/dist/plugin/provider/zenmux.js +2 -2
  536. package/dist/plugin/provider.js +158 -158
  537. package/dist/plugin/sdk.js +75 -75
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +133 -133
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +341 -340
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/variant.js +4 -4
  544. package/dist/plugin/vcs/git.js +83 -83
  545. package/dist/plugin/vcs/hg.js +81 -81
  546. package/dist/plugin/warming.js +114 -114
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +6 -6
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +2 -2
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin/websearch/tinyfish.js +8 -8
  554. package/dist/plugin.js +226 -226
  555. package/dist/project/schema.js +8 -8
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +87 -87
  558. package/dist/provider.js +5 -5
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/schema.js +3 -3
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +96 -96
  563. package/dist/reference/instructions.js +86 -86
  564. package/dist/reference.js +86 -86
  565. package/dist/repository-cache.js +78 -78
  566. package/dist/repository.js +3 -3
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +89 -89
  569. package/dist/rpc.js +83 -83
  570. package/dist/schema.js +1 -1
  571. package/dist/session/command.js +73 -73
  572. package/dist/session/compaction.js +131 -131
  573. package/dist/session/context.js +149 -149
  574. package/dist/session/diff.js +85 -85
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +5 -5
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +222 -222
  579. package/dist/session/execution.js +126 -126
  580. package/dist/session/generate.js +150 -150
  581. package/dist/session/history.js +13 -13
  582. package/dist/session/inbox.js +85 -85
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +78 -78
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +94 -94
  587. package/dist/session/message-updater.js +2 -2
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +115 -115
  590. package/dist/session/model-transport.js +9 -9
  591. package/dist/session/move.js +128 -128
  592. package/dist/session/projector.js +85 -85
  593. package/dist/session/prompt.js +102 -102
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +87 -87
  596. package/dist/session/run-coordinator.js +1 -1
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +225 -225
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +87 -87
  601. package/dist/session/runner/publish-llm-event.js +3 -3
  602. package/dist/session/runner/retry.js +112 -112
  603. package/dist/session/runner/step.js +121 -121
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +5 -5
  606. package/dist/session/session.js +169 -169
  607. package/dist/session/shell.js +133 -133
  608. package/dist/session/skill.js +100 -100
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +74 -74
  611. package/dist/session/store.js +86 -86
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +208 -208
  614. package/dist/session/system-prompt.js +5 -5
  615. package/dist/session/title.js +147 -147
  616. package/dist/session/to-session-error.js +109 -109
  617. package/dist/session/transfer.js +221 -221
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +218 -218
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +9 -9
  624. package/dist/shell.js +135 -135
  625. package/dist/skill/discovery.js +6 -6
  626. package/dist/skill/instructions.js +104 -104
  627. package/dist/skill.js +109 -109
  628. package/dist/snapshot.js +88 -88
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +121 -121
  633. package/dist/tool/plugin/edit.js +115 -115
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +122 -122
  636. package/dist/tool/plugin/grep.js +122 -122
  637. package/dist/tool/plugin/opencode.js +3 -3
  638. package/dist/tool/plugin/patch.js +111 -111
  639. package/dist/tool/plugin/question.js +102 -102
  640. package/dist/tool/plugin/read.js +123 -123
  641. package/dist/tool/plugin/shell.js +213 -213
  642. package/dist/tool/plugin/skill.js +108 -108
  643. package/dist/tool/plugin/subagent.js +217 -217
  644. package/dist/tool/plugin/webfetch.js +107 -107
  645. package/dist/tool/plugin/websearch.js +109 -109
  646. package/dist/tool/plugin/write.js +119 -119
  647. package/dist/tool/read-filesystem.js +98 -98
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +8 -8
  650. package/dist/tool.js +13 -13
  651. package/dist/types/config/plugin/compatibility.d.ts +5 -0
  652. package/dist/types/config/plugin/entry-observer.d.ts +1 -1
  653. package/dist/types/config.d.ts +10 -1
  654. package/dist/util/error-summary.js +1 -1
  655. package/dist/util/error.js +1 -1
  656. package/dist/util/iife.js +1 -1
  657. package/dist/util/lazy.js +1 -1
  658. package/dist/util/slug.js +1 -1
  659. package/dist/util/token.js +1 -1
  660. package/dist/util/which.js +1 -1
  661. package/dist/util/wildcard.js +1 -1
  662. package/dist/v1/config/agent.js +5 -5
  663. package/dist/v1/config/attachment.js +4 -4
  664. package/dist/v1/config/command.js +3 -3
  665. package/dist/v1/config/config.js +16 -16
  666. package/dist/v1/config/error.js +2 -2
  667. package/dist/v1/config/formatter.js +5 -5
  668. package/dist/v1/config/layout.js +1 -1
  669. package/dist/v1/config/lsp.js +3 -3
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +4 -4
  672. package/dist/v1/config/permission.js +3 -3
  673. package/dist/v1/config/plugin.js +3 -3
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/v1/config/server.js +2 -2
  677. package/dist/v1/config/skills.js +3 -3
  678. package/dist/v1/permission.js +1 -1
  679. package/dist/vcs/patch.js +1 -1
  680. package/dist/vcs.js +86 -86
  681. package/dist/websearch.js +83 -83
  682. package/dist/wellknown/plugin.js +75 -75
  683. package/dist/wellknown.js +78 -78
  684. package/dist/workspace/driver.js +3 -3
  685. package/dist/workspace/sql.js +1 -1
  686. package/dist/workspace.js +73 -73
  687. package/dist/worktree/directory.js +4 -4
  688. package/dist/worktree/git.js +8 -8
  689. package/dist/worktree/refresh.js +342 -341
  690. package/dist/worktree/sql.js +5 -5
  691. package/dist/worktree.js +93 -93
  692. package/package.json +8 -8
  693. package/dist/chunks/app-0mesazry.js +0 -4
  694. package/dist/chunks/app-by5v678g.js +0 -18
  695. package/dist/chunks/app-dwkgsnj0.js +0 -462
  696. package/dist/chunks/app-h6ka0qq8.js +0 -26
  697. package/dist/chunks/app-se2r9bmm.js +0 -247
  698. /package/dist/chunks/{app-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
  699. /package/dist/chunks/{app-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
  700. /package/dist/chunks/{app-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
  701. /package/dist/chunks/{app-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
  702. /package/dist/chunks/{app-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
  703. /package/dist/chunks/{app-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
  704. /package/dist/chunks/{app-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
  705. /package/dist/chunks/{app-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
  706. /package/dist/chunks/{app-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
  707. /package/dist/chunks/{app-3asan66x.js → model-resolver-3asan66x.js} +0 -0
  708. /package/dist/chunks/{app-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
  709. /package/dist/chunks/{app-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
  710. /package/dist/chunks/{app-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
  711. /package/dist/chunks/{app-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
  712. /package/dist/chunks/{app-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
  713. /package/dist/chunks/{app-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
  714. /package/dist/chunks/{app-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
  715. /package/dist/chunks/{app-53557ph1.js → model-resolver-53557ph1.js} +0 -0
  716. /package/dist/chunks/{app-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
  717. /package/dist/chunks/{app-6prwharc.js → model-resolver-6prwharc.js} +0 -0
  718. /package/dist/chunks/{app-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
  719. /package/dist/chunks/{app-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
  720. /package/dist/chunks/{app-822emrt2.js → model-resolver-822emrt2.js} +0 -0
  721. /package/dist/chunks/{app-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
  722. /package/dist/chunks/{app-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
  723. /package/dist/chunks/{app-922hggd3.js → model-resolver-922hggd3.js} +0 -0
  724. /package/dist/chunks/{app-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
  725. /package/dist/chunks/{app-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
  726. /package/dist/chunks/{app-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
  727. /package/dist/chunks/{app-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
  728. /package/dist/chunks/{app-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
  729. /package/dist/chunks/{app-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
  730. /package/dist/chunks/{app-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
  731. /package/dist/chunks/{app-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
  732. /package/dist/chunks/{app-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
  733. /package/dist/chunks/{app-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
  734. /package/dist/chunks/{app-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
  735. /package/dist/chunks/{app-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
  736. /package/dist/chunks/{app-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
  737. /package/dist/chunks/{app-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
  738. /package/dist/chunks/{app-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
  739. /package/dist/chunks/{app-df08tz66.js → model-resolver-df08tz66.js} +0 -0
  740. /package/dist/chunks/{app-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
  741. /package/dist/chunks/{app-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
  742. /package/dist/chunks/{app-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
  743. /package/dist/chunks/{app-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
  744. /package/dist/chunks/{app-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
  745. /package/dist/chunks/{app-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
  746. /package/dist/chunks/{app-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
  747. /package/dist/chunks/{app-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
  748. /package/dist/chunks/{app-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
  749. /package/dist/chunks/{app-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
  750. /package/dist/chunks/{app-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
  751. /package/dist/chunks/{app-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
  752. /package/dist/chunks/{app-g86h250q.js → model-resolver-g86h250q.js} +0 -0
  753. /package/dist/chunks/{app-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
  754. /package/dist/chunks/{app-gftt206x.js → model-resolver-gftt206x.js} +0 -0
  755. /package/dist/chunks/{app-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
  756. /package/dist/chunks/{app-hk9envan.js → model-resolver-hk9envan.js} +0 -0
  757. /package/dist/chunks/{app-hrnqkpcd.js → model-resolver-hrnqkpcd.js} +0 -0
  758. /package/dist/chunks/{app-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
  759. /package/dist/chunks/{app-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
  760. /package/dist/chunks/{app-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
  761. /package/dist/chunks/{app-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
  762. /package/dist/chunks/{app-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
  763. /package/dist/chunks/{app-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
  764. /package/dist/chunks/{app-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
  765. /package/dist/chunks/{app-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
  766. /package/dist/chunks/{app-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
  767. /package/dist/chunks/{app-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
  768. /package/dist/chunks/{app-paphc93g.js → model-resolver-paphc93g.js} +0 -0
  769. /package/dist/chunks/{app-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
  770. /package/dist/chunks/{app-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
  771. /package/dist/chunks/{app-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
  772. /package/dist/chunks/{app-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
  773. /package/dist/chunks/{app-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
  774. /package/dist/chunks/{app-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
  775. /package/dist/chunks/{app-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
  776. /package/dist/chunks/{app-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
  777. /package/dist/chunks/{app-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
  778. /package/dist/chunks/{app-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
  779. /package/dist/chunks/{app-twg0f83k.js → model-resolver-twg0f83k.js} +0 -0
  780. /package/dist/chunks/{app-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
  781. /package/dist/chunks/{app-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
  782. /package/dist/chunks/{app-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
  783. /package/dist/chunks/{app-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
  784. /package/dist/chunks/{app-x61499pn.js → model-resolver-x61499pn.js} +0 -0
  785. /package/dist/chunks/{app-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
  786. /package/dist/chunks/{app-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
  787. /package/dist/chunks/{app-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
  788. /package/dist/chunks/{app-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
  789. /package/dist/chunks/{app-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
  790. /package/dist/chunks/{app-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
@@ -1,47 +1,47 @@
1
1
  import {
2
- ID15,
3
- Service74
4
- } from "./app-p9bng2jk.js";
2
+ ID9,
3
+ Service57
4
+ } from "./model-resolver-my4mn6ec.js";
5
5
  import {
6
6
  latest2,
7
- Service51
8
- } from "./app-kv3ch0es.js";
7
+ Service46
8
+ } from "./model-resolver-yef4v0b4.js";
9
9
  import {
10
10
  SessionSchema2
11
- } from "./app-9vs0xtad.js";
11
+ } from "./model-resolver-pk2244jm.js";
12
12
  import {
13
- Service55
14
- } from "./app-0bed1fzj.js";
13
+ Service35
14
+ } from "./model-resolver-tm80w73m.js";
15
15
  import {
16
16
  evaluate2,
17
- Service70
18
- } from "./app-r1wvay4d.js";
17
+ Service54
18
+ } from "./model-resolver-14fxtwre.js";
19
19
  import {
20
- Service23
21
- } from "./app-79a0b5rg.js";
20
+ Service17
21
+ } from "./model-resolver-ah1s8aaq.js";
22
22
  import {
23
23
  NO_TEXT2
24
- } from "./app-x1ezjp6w.js";
24
+ } from "./model-resolver-x1ezjp6w.js";
25
25
  import {
26
- make6
27
- } from "./app-ee0f5b90.js";
26
+ make5
27
+ } from "./model-resolver-sse3cj1p.js";
28
28
  import {
29
29
  __export
30
- } from "./app-9rqn6x4v.js";
30
+ } from "./model-resolver-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/subagent.ts
33
33
  var exports_subagent = {};
34
34
  __export(exports_subagent, {
35
- Input: () => Input11,
36
- Output: () => Output7,
37
- Plugin: () => Plugin12,
35
+ Input: () => Input7,
36
+ Output: () => Output6,
37
+ Plugin: () => Plugin8,
38
38
  SubagentTool: () => exports_subagent,
39
- description: () => description5,
40
- name: () => name11
39
+ description: () => description3,
40
+ name: () => name7
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
- var name11 = "subagent";
44
+ var name7 = "subagent";
45
45
  var backgroundResult = (sessionID) => ({
46
46
  sessionID,
47
47
  status: "running",
@@ -52,7 +52,7 @@ var backgroundResult = (sessionID) => ({
52
52
  ].join(`
53
53
  `)
54
54
  });
55
- var Input11 = Schema.Struct({
55
+ var Input7 = Schema.Struct({
56
56
  agent: Schema.String.annotate({ description: "The type of specialized agent to use for this task" }),
57
57
  description: Schema.String.annotate({ description: "A short 3-5 word label for the task, displayed to the user" }),
58
58
  prompt: Schema.String.annotate({ description: "The task for the subagent to perform" }),
@@ -63,12 +63,12 @@ var Input11 = Schema.Struct({
63
63
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
64
64
  })
65
65
  });
66
- var Output7 = Schema.Struct({
66
+ var Output6 = Schema.Struct({
67
67
  sessionID: SessionSchema2.ID,
68
68
  status: Schema.Literals(["completed", "running"]),
69
69
  output: Schema.String
70
70
  });
71
- var description5 = [
71
+ var description3 = [
72
72
  "Spawns an agent in a child session to work on the specified task.",
73
73
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
74
74
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -77,21 +77,21 @@ var description5 = [
77
77
  "Use background only for independent work that can run while you continue elsewhere."
78
78
  ].join(`
79
79
  `);
80
- var Plugin12 = {
80
+ var Plugin8 = {
81
81
  id: "opencode.tool.subagent",
82
82
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
83
- const sessions = yield* Service23;
84
- const jobs = yield* Service55;
85
- const agents = yield* Service74;
86
- const config = yield* Service51;
87
- const permission = yield* Service70;
88
- const subagents = yield* make6;
83
+ const sessions = yield* Service17;
84
+ const jobs = yield* Service35;
85
+ const agents = yield* Service57;
86
+ const config = yield* Service46;
87
+ const permission = yield* Service54;
88
+ const subagents = yield* make5;
89
89
  yield* ctx.tool.transform((editor) => editor.add({
90
- name: name11,
90
+ name: name7,
91
91
  options: { codemode: false },
92
- description: description5,
93
- input: Input11,
94
- output: Output7,
92
+ description: description3,
93
+ input: Input7,
94
+ output: Output6,
95
95
  execute: (input, context) => Effect.gen(function* () {
96
96
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
97
97
  let current = parent;
@@ -111,7 +111,7 @@ var Plugin12 = {
111
111
  if (agent.mode === "primary")
112
112
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
113
113
  yield* permission.assert({
114
- action: name11,
114
+ action: name7,
115
115
  resources: [agent.id],
116
116
  save: [agent.id],
117
117
  sessionID: context.sessionID,
@@ -134,7 +134,7 @@ var Plugin12 = {
134
134
  const child = existing ?? (yield* sessions.create({
135
135
  parentID: context.sessionID,
136
136
  title: input.description,
137
- agent: ID15.make(input.agent),
137
+ agent: ID9.make(input.agent),
138
138
  model
139
139
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
140
140
  const background = input.background === true;
@@ -184,13 +184,13 @@ ${output.output}
184
184
  })))
185
185
  })).pipe(Effect.orDie);
186
186
  const hook = (event) => Effect.gen(function* () {
187
- const tool = event.tools[name11];
187
+ const tool = event.tools[name7];
188
188
  if (!tool)
189
189
  return;
190
190
  const selected = yield* agents.resolve(event.agent);
191
191
  if (!selected)
192
192
  return;
193
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name11, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
193
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name7, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
194
194
  if (available.length === 0)
195
195
  return;
196
196
  tool.description = [
@@ -207,4 +207,4 @@ ${output.output}
207
207
  })
208
208
  };
209
209
 
210
- export { name11, Input11, Output7, description5, Plugin12, exports_subagent };
210
+ export { name7, Input7, Output6, description3, Plugin8, exports_subagent };
@@ -2,7 +2,7 @@ import {
2
2
  SQLiteEffectPreparedQuery2,
3
3
  SQLiteEffectSession2,
4
4
  SQLiteEffectTransaction2
5
- } from "./app-qkk52kd6.js";
5
+ } from "./model-resolver-2rwb14mb.js";
6
6
 
7
7
  // src/database/drizzle/effect-sqlite/session.ts
8
8
  import * as Context from "effect/Context";
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  makeWithDefaults2
3
- } from "./app-grskzymy.js";
3
+ } from "./model-resolver-xbwfmkd1.js";
4
4
  import {
5
5
  apply3
6
- } from "./app-21spz6s2.js";
6
+ } from "./model-resolver-472r768p.js";
7
7
  import {
8
8
  __export
9
- } from "./app-9rqn6x4v.js";
9
+ } from "./model-resolver-9rqn6x4v.js";
10
10
 
11
11
  // src/database/database.ts
12
12
  var exports_database = {};
13
13
  __export(exports_database, {
14
14
  Database: () => exports_database,
15
15
  Options: () => Options11,
16
- Service: () => Service79,
16
+ Service: () => Service80,
17
17
  configured: () => configured13,
18
18
  configuredClient: () => configuredClient2,
19
19
  layer: () => layer26,
20
20
  layerFromClient: () => layerFromClient2,
21
- node: () => node84
21
+ node: () => node85
22
22
  });
23
23
  import { sqliteLayer, supportsForeignKeyToggle, supportsTuningPragmas } from "#sqlite";
24
24
  import { Context, Effect, Layer, Schema, Semaphore } from "effect";
@@ -30,9 +30,9 @@ var Options11 = Schema.Struct({
30
30
  path: Schema.optional(Schema.String)
31
31
  });
32
32
 
33
- class Service79 extends Context.Service()("@opencode/storage/Database") {
33
+ class Service80 extends Context.Service()("@opencode/storage/Database") {
34
34
  }
35
- var databaseLayer = (lock) => Layer.effect(Service79, Effect.gen(function* () {
35
+ var databaseLayer = (lock) => Layer.effect(Service80, Effect.gen(function* () {
36
36
  const db = yield* makeDatabase;
37
37
  if (supportsTuningPragmas) {
38
38
  yield* db.run("PRAGMA journal_mode = WAL");
@@ -68,15 +68,15 @@ function layer26(options = { path: ":memory:" }) {
68
68
  }
69
69
  var layerFromClient2 = databaseLayer(Semaphore.make(1));
70
70
  function configured13(options) {
71
- return makeGlobalNode({ service: Service79, layer: layer26(options), deps: [Global.node] });
71
+ return makeGlobalNode({ service: Service80, layer: layer26(options), deps: [Global.node] });
72
72
  }
73
73
  function configuredClient2(client) {
74
74
  return makeGlobalNode({
75
- service: Service79,
75
+ service: Service80,
76
76
  layer: layerFromClient2.pipe(Layer.provide(client)),
77
77
  deps: [Global.node]
78
78
  });
79
79
  }
80
- var node84 = configured13({ path: ":memory:" });
80
+ var node85 = configured13({ path: ":memory:" });
81
81
 
82
- export { Options11, Service79, layer26, layerFromClient2, configured13, configuredClient2, node84, exports_database };
82
+ export { Options11, Service80, layer26, layerFromClient2, configured13, configuredClient2, node85, exports_database };
@@ -1,65 +1,65 @@
1
+ import {
2
+ Service80,
3
+ node85
4
+ } from "./model-resolver-94jd98dy.js";
1
5
  import {
2
6
  Service79,
3
7
  node84
4
- } from "./app-j6kg5r8z.js";
5
- import {
6
- Service78,
7
- node83
8
- } from "./app-yk9xxxbm.js";
8
+ } from "./model-resolver-yz1rwmdd.js";
9
9
  import {
10
10
  llmClient2
11
- } from "./app-5t3nmthw.js";
11
+ } from "./model-resolver-5t3nmthw.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./app-ec1grn59.js";
14
+ } from "./model-resolver-ec1grn59.js";
15
15
  import {
16
16
  provenance2,
17
17
  compatible2,
18
18
  isCheckpoint2,
19
19
  encode2
20
- } from "./app-1hc11dc4.js";
20
+ } from "./model-resolver-mfhfdr54.js";
21
21
  import {
22
22
  load3
23
- } from "./app-qs7kc60q.js";
23
+ } from "./model-resolver-8cj6vp2e.js";
24
24
  import {
25
25
  create3
26
- } from "./app-kg06axw8.js";
26
+ } from "./model-resolver-kg06axw8.js";
27
27
  import {
28
28
  toLLMMessages2
29
- } from "./app-3q9crshv.js";
29
+ } from "./model-resolver-50spkatp.js";
30
30
  import {
31
31
  baseTranscript2,
32
32
  unsupportedParts2,
33
33
  boundImages2
34
- } from "./app-gq1a1j0q.js";
34
+ } from "./model-resolver-gfraf4kn.js";
35
35
  import {
36
36
  toSessionError2
37
- } from "./app-s0j1fbfd.js";
37
+ } from "./model-resolver-8jnsm5sz.js";
38
38
  import {
39
39
  policy2,
40
40
  transient2
41
- } from "./app-kcw8n58a.js";
41
+ } from "./model-resolver-7yhtqe52.js";
42
42
  import {
43
43
  estimate2
44
- } from "./app-h6vf3j39.js";
44
+ } from "./model-resolver-h6vf3j39.js";
45
45
  import {
46
46
  calculateCost2,
47
47
  record2,
48
48
  add2
49
- } from "./app-tdstcens.js";
49
+ } from "./model-resolver-tdstcens.js";
50
50
  import {
51
51
  __export
52
- } from "./app-9rqn6x4v.js";
52
+ } from "./model-resolver-9rqn6x4v.js";
53
53
 
54
54
  // src/session/compaction.ts
55
55
  var exports_compaction2 = {};
56
56
  __export(exports_compaction2, {
57
- Service: () => Service10,
57
+ Service: () => Service9,
58
58
  SessionCompaction: () => exports_compaction2,
59
59
  buildPrompt: () => buildPrompt2,
60
60
  estimateTokens: () => estimateTokens2,
61
- layer: () => layer7,
62
- node: () => node13,
61
+ layer: () => layer6,
62
+ node: () => node12,
63
63
  retainUsers: () => retainUsers2,
64
64
  serializeToolContent: () => serializeToolContent2,
65
65
  truncateToolOutput: () => truncateToolOutput2
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
125
125
  `).filter((line) => line.startsWith("##"));
126
126
  var LEGACY_HEADING = "## Additional Context";
127
127
 
128
- class Service10 extends Context.Service()("@opencode/SessionCompaction") {
128
+ class Service9 extends Context.Service()("@opencode/SessionCompaction") {
129
129
  }
130
130
  var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
131
131
  var estimateTokens2 = (input) => {
@@ -296,10 +296,10 @@ var buildPrompt2 = (update, legacy = false) => {
296
296
  };
297
297
  var hasSummarySection = (summary) => summary.split(`
298
298
  `).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
299
- var layer7 = Layer.effect(Service10, Effect.gen(function* () {
300
- const bus = yield* Service78;
299
+ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
300
+ const bus = yield* Service79;
301
301
  const llm = yield* LLMClient.Service;
302
- const db = (yield* Service79).db;
302
+ const db = (yield* Service80).db;
303
303
  const state = create3({
304
304
  name: "session-compaction",
305
305
  initial: () => ({ auto: true, buffer: DEFAULT_BUFFER, tokens: DEFAULT_KEEP_TOKENS }),
@@ -605,7 +605,7 @@ var layer7 = Layer.effect(Service10, Effect.gen(function* () {
605
605
  }
606
606
  }));
607
607
  });
608
- return Service10.of({
608
+ return Service9.of({
609
609
  transform: state.transform,
610
610
  reload: state.reload,
611
611
  enabled: () => state.get().auto,
@@ -614,10 +614,10 @@ var layer7 = Layer.effect(Service10, Effect.gen(function* () {
614
614
  compactManual
615
615
  });
616
616
  }));
617
- var node13 = makeLocationNode({
618
- service: Service10,
619
- layer: layer7,
620
- deps: [node83, node84, llmClient2]
617
+ var node12 = makeLocationNode({
618
+ service: Service9,
619
+ layer: layer6,
620
+ deps: [node84, node85, llmClient2]
621
621
  });
622
622
 
623
- export { Service10, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node13, exports_compaction2 };
623
+ export { Service9, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer6, node12, exports_compaction2 };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./app-33n3bzdy.js";
4
+ } from "./model-resolver-xg954myy.js";
5
5
  import {
6
- ID7
7
- } from "./app-btxxvpyy.js";
6
+ ID14
7
+ } from "./model-resolver-5907cmhj.js";
8
8
 
9
9
  // src/plugin/provider/openrouter.ts
10
10
  import { Effect } from "effect";
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
21
21
  evt.provider.update(item.provider.id, (provider) => {
22
22
  provider.headers = { ...provider.headers, "HTTP-Referer": "https://opencode.ai/", "X-Title": "opencode" };
23
23
  });
24
- for (const modelID of [ID7.make("gpt-5-chat-latest"), ID7.make("openai/gpt-5-chat")]) {
24
+ for (const modelID of [ID14.make("gpt-5-chat-latest"), ID14.make("openai/gpt-5-chat")]) {
25
25
  if (!item.models.has(modelID))
26
26
  continue;
27
27
  evt.model.update(item.provider.id, modelID, (model) => {
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  OAuth3
3
- } from "./app-7g1vzt8j.js";
3
+ } from "./model-resolver-tknyxa64.js";
4
4
  import {
5
- ID8,
5
+ ID16,
6
6
  MethodID2
7
- } from "./app-ysancpsm.js";
7
+ } from "./model-resolver-s6y5cb61.js";
8
8
  import {
9
9
  success2,
10
10
  error2
11
- } from "./app-pjvnvgmy.js";
11
+ } from "./model-resolver-pjvnvgmy.js";
12
12
 
13
13
  // src/plugin/provider/poe.ts
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Clock, Deferred, Effect, Option, Schema } from "effect";
16
16
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
17
- var integrationID = ID8.make("poe");
17
+ var integrationID = ID16.make("poe");
18
18
  var methodID = MethodID2.make("browser");
19
19
  var clientID = "client_728290227fc048cc9262091a1ea197ea";
20
20
  var issuer = "https://poe.com";
@@ -7,16 +7,16 @@ import {
7
7
  deletePatch2,
8
8
  countPatch2,
9
9
  chunksByFile2
10
- } from "./app-tazgh4e4.js";
10
+ } from "./model-resolver-tazgh4e4.js";
11
11
  import {
12
- Service75
13
- } from "./app-1e7h8b71.js";
12
+ Service70
13
+ } from "./model-resolver-5w049mzn.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./app-e5batswc.js";
16
+ } from "./model-resolver-4hdjqv5n.js";
17
17
  import {
18
18
  __export
19
- } from "./app-9rqn6x4v.js";
19
+ } from "./model-resolver-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/hg.ts
22
22
  var exports_hg = {};
@@ -33,7 +33,7 @@ import { AppProcess } from "@opencode/util/process";
33
33
  var Plugin32 = define({
34
34
  id: "opencode.vcs.hg",
35
35
  effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
36
- const location = yield* Service75;
36
+ const location = yield* Service70;
37
37
  if (location.vcs?.type !== "hg")
38
38
  return;
39
39
  const processes = yield* AppProcess.Service;
@@ -2,34 +2,34 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./app-2a5m3afh.js";
5
+ } from "./model-resolver-2a5m3afh.js";
6
6
  import {
7
- Service75
8
- } from "./app-1e7h8b71.js";
7
+ Service70
8
+ } from "./model-resolver-5w049mzn.js";
9
9
  import {
10
10
  Service67
11
- } from "./app-8am9vma6.js";
11
+ } from "./model-resolver-yecv7nm8.js";
12
12
  import {
13
- Service14
14
- } from "./app-3p827y1v.js";
13
+ Service63
14
+ } from "./model-resolver-prw92f66.js";
15
15
  import {
16
- Service18,
16
+ Service44,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./app-kkgs1rnq.js";
19
+ } from "./model-resolver-h9h2cf90.js";
20
20
  import {
21
- Service70
22
- } from "./app-r1wvay4d.js";
21
+ Service54
22
+ } from "./model-resolver-14fxtwre.js";
23
23
  import {
24
- Service19,
24
+ Service53,
25
25
  resolvePath2
26
- } from "./app-c25j16b6.js";
26
+ } from "./model-resolver-9ynvy50g.js";
27
27
  import {
28
28
  fileDiff2
29
- } from "./app-6prwharc.js";
29
+ } from "./model-resolver-6prwharc.js";
30
30
  import {
31
31
  __export
32
- } from "./app-9rqn6x4v.js";
32
+ } from "./model-resolver-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/patch.ts
35
35
  var exports_patch = {};
@@ -38,7 +38,7 @@ __export(exports_patch, {
38
38
  Input: () => Input2,
39
39
  Output: () => Output2,
40
40
  PatchTool: () => exports_patch,
41
- Plugin: () => Plugin3,
41
+ Plugin: () => Plugin2,
42
42
  name: () => name2,
43
43
  toModelContent: () => toModelContent2
44
44
  });
@@ -105,15 +105,15 @@ var toModelContent2 = (output) => [
105
105
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
106
106
  ].join(`
107
107
  `);
108
- var Plugin3 = {
108
+ var Plugin2 = {
109
109
  id: "opencode.tool.patch",
110
110
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
111
111
  const environment = yield* Service67;
112
- const access = yield* Service19;
113
- const fileMutation = yield* Service18;
114
- const formatter = yield* Service14;
115
- const location = yield* Service75;
116
- const permission = yield* Service70;
112
+ const access = yield* Service53;
113
+ const fileMutation = yield* Service44;
114
+ const formatter = yield* Service63;
115
+ const location = yield* Service70;
116
+ const permission = yield* Service54;
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
118
  name: name2,
119
119
  options: { codemode: false, permission: "edit" },
@@ -326,4 +326,4 @@ function trimDiff(diff) {
326
326
  `);
327
327
  }
328
328
 
329
- export { name2, Input2, Applied2, Output2, toModelContent2, Plugin3, exports_patch };
329
+ export { name2, Input2, Applied2, Output2, toModelContent2, Plugin2, exports_patch };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./app-922hggd3.js";
3
+ } from "./model-resolver-922hggd3.js";
4
4
  import {
5
5
  root2
6
- } from "./app-4tgepgz2.js";
7
- import {
8
- Service75,
9
- node80
10
- } from "./app-1e7h8b71.js";
6
+ } from "./model-resolver-7qpx1xb8.js";
11
7
  import {
12
8
  Service70,
13
9
  node75
14
- } from "./app-r1wvay4d.js";
10
+ } from "./model-resolver-5w049mzn.js";
11
+ import {
12
+ Service54,
13
+ node58
14
+ } from "./model-resolver-14fxtwre.js";
15
15
  import {
16
16
  __export
17
- } from "./app-9rqn6x4v.js";
17
+ } from "./model-resolver-9rqn6x4v.js";
18
18
 
19
19
  // src/file-access.ts
20
20
  var exports_file_access = {};
@@ -22,9 +22,9 @@ __export(exports_file_access, {
22
22
  FileAccess: () => exports_file_access,
23
23
  Kind: () => Kind2,
24
24
  ResolveInput: () => ResolveInput2,
25
- Service: () => Service19,
25
+ Service: () => Service53,
26
26
  externalDirectoryPermission: () => externalDirectoryPermission2,
27
- node: () => node22,
27
+ node: () => node57,
28
28
  resolvePath: () => resolvePath2
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
43
43
  save: [input.save]
44
44
  });
45
45
 
46
- class Service19 extends Context.Service()("@opencode/FileAccess") {
46
+ class Service53 extends Context.Service()("@opencode/FileAccess") {
47
47
  }
48
48
  var resolvePath2 = (directory, input, home = Global.Path.home) => {
49
49
  const normalized = FSUtil.windowsPath(input);
@@ -55,10 +55,10 @@ var invocation = (context) => ({
55
55
  agent: context.agent,
56
56
  source: { type: "tool", messageID: context.messageID, id: context.id }
57
57
  });
58
- var layer = Layer.effect(Service19, Effect.gen(function* () {
58
+ var layer = Layer.effect(Service53, Effect.gen(function* () {
59
59
  const fs = yield* FSUtil.Service;
60
- const location = yield* Service75;
61
- const permission = yield* Service70;
60
+ const location = yield* Service70;
61
+ const permission = yield* Service54;
62
62
  const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
63
63
  const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
64
64
  const worktree = path.resolve(location.project.directory);
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
107
107
  });
108
108
  return target;
109
109
  });
110
- return Service19.of({ resolve, authorizeExternal, authorizeRead });
110
+ return Service53.of({ resolve, authorizeExternal, authorizeRead });
111
111
  }));
112
- var node22 = makeLocationNode({ service: Service19, layer, deps: [FSUtil.node, node80, node75] });
112
+ var node57 = makeLocationNode({ service: Service53, layer, deps: [FSUtil.node, node75, node58] });
113
113
 
114
- export { Kind2, ResolveInput2, externalDirectoryPermission2, Service19, resolvePath2, node22, exports_file_access };
114
+ export { Kind2, ResolveInput2, externalDirectoryPermission2, Service53, resolvePath2, node57, exports_file_access };