@opencode/core 0.0.0-dev-19311 → 0.0.0-dev-19313

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (781) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +69 -69
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{model-resolver-3y2vzd8j.js → agent-00mqm9kf.js} +1 -1
  9. package/dist/chunks/{model-resolver-z7h0bx9a.js → agent-01bntpam.js} +12 -12
  10. package/dist/chunks/{model-resolver-acsehg7c.js → agent-03vttnt3.js} +22 -22
  11. package/dist/chunks/{model-resolver-b1ajx0g1.js → agent-05pscnh1.js} +7 -7
  12. package/dist/chunks/{model-resolver-fs30ryqv.js → agent-0ckg8k8v.js} +28 -28
  13. package/dist/chunks/{model-resolver-h7gdqzd6.js → agent-0f71bw51.js} +6 -6
  14. package/dist/chunks/{model-resolver-0aq3bv6p.js → agent-0gpt21h9.js} +25 -25
  15. package/dist/chunks/{model-resolver-0paq2nw3.js → agent-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{model-resolver-0q0f95c6.js → agent-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{model-resolver-kbm5ywhv.js → agent-0qj9mag8.js} +31 -31
  18. package/dist/chunks/{model-resolver-qja371g1.js → agent-0vdhx4n4.js} +17 -17
  19. package/dist/chunks/{model-resolver-qqazqvjv.js → agent-0xtda7eg.js} +14 -14
  20. package/dist/chunks/{model-resolver-d6axdhgm.js → agent-145gf29f.js} +40 -40
  21. package/dist/chunks/{model-resolver-1dazxqgg.js → agent-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{model-resolver-0hpxrkyb.js → agent-1dfhrqqs.js} +5 -5
  23. package/dist/chunks/{model-resolver-y9ndmn06.js → agent-1j8z698y.js} +27 -27
  24. package/dist/chunks/{model-resolver-gsv4ca8f.js → agent-1ph7jn3s.js} +42 -42
  25. package/dist/chunks/{model-resolver-z6ccwhj9.js → agent-1rc6tasv.js} +30 -30
  26. package/dist/chunks/{model-resolver-tpqcq9ma.js → agent-1v81bbrf.js} +28 -28
  27. package/dist/chunks/{model-resolver-mfqp6xfm.js → agent-1ygqh575.js} +6 -6
  28. package/dist/chunks/{model-resolver-21r38tys.js → agent-21r38tys.js} +1 -1
  29. package/dist/chunks/{model-resolver-hmyxjnbw.js → agent-22szkbee.js} +13 -13
  30. package/dist/chunks/{model-resolver-sfzmaz10.js → agent-231geeb1.js} +17 -17
  31. package/dist/chunks/{model-resolver-2402vzrj.js → agent-2402vzrj.js} +1 -1
  32. package/dist/chunks/{model-resolver-2a5m3afh.js → agent-2a5m3afh.js} +1 -1
  33. package/dist/chunks/{model-resolver-px1hepbq.js → agent-2bt6bea8.js} +9 -9
  34. package/dist/chunks/{model-resolver-ez47arx5.js → agent-2f0bjgcj.js} +5 -5
  35. package/dist/chunks/{model-resolver-7g1znek2.js → agent-2g1m3br9.js} +4 -4
  36. package/dist/chunks/{model-resolver-qgn6gcr1.js → agent-2k8khapm.js} +5 -5
  37. package/dist/chunks/{model-resolver-qe26s0zb.js → agent-2n295dmf.js} +8 -8
  38. package/dist/chunks/{model-resolver-nmrsa8tb.js → agent-2pqfh10d.js} +25 -25
  39. package/dist/chunks/{model-resolver-v2p4rfxw.js → agent-2vbg8t8g.js} +6 -6
  40. package/dist/chunks/{model-resolver-gkjrds9h.js → agent-2yvkj6w5.js} +13 -13
  41. package/dist/chunks/{model-resolver-9wc31ee9.js → agent-3bbjx6wh.js} +9 -9
  42. package/dist/chunks/{model-resolver-3fc6dm20.js → agent-3fc6dm20.js} +1 -1
  43. package/dist/chunks/{model-resolver-3hepkmqq.js → agent-3hepkmqq.js} +1 -1
  44. package/dist/chunks/{model-resolver-3smtnn6g.js → agent-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{model-resolver-hm085mrq.js → agent-3sy8tw0f.js} +25 -25
  46. package/dist/chunks/{model-resolver-z3bd92a5.js → agent-3tfhdg6x.js} +27 -27
  47. package/dist/chunks/{model-resolver-3tvqynh2.js → agent-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{model-resolver-21gmtf5s.js → agent-3xgyx5eq.js} +11 -11
  49. package/dist/chunks/{model-resolver-fyymr9xg.js → agent-3ythc6yv.js} +4 -4
  50. package/dist/chunks/{model-resolver-b3xbanpc.js → agent-4033vwmp.js} +8 -8
  51. package/dist/chunks/{model-resolver-4am1wjpn.js → agent-4066mr2m.js} +1 -1
  52. package/dist/chunks/{model-resolver-vd56qj1s.js → agent-45hfn423.js} +8 -8
  53. package/dist/chunks/{model-resolver-eqhsskwv.js → agent-45mpmcw4.js} +4 -4
  54. package/dist/chunks/{model-resolver-ys435pyz.js → agent-45qp2fn0.js} +9 -9
  55. package/dist/chunks/{model-resolver-rswbxkdz.js → agent-4by5vbfj.js} +21 -21
  56. package/dist/chunks/{model-resolver-z6qgwyj5.js → agent-4y75heh9.js} +6 -6
  57. package/dist/chunks/{model-resolver-a3nnj4kk.js → agent-564eveaw.js} +48 -48
  58. package/dist/chunks/{model-resolver-smayg48v.js → agent-5apey9pa.js} +35 -35
  59. package/dist/chunks/{model-resolver-wtz344pq.js → agent-5c8t33yb.js} +20 -20
  60. package/dist/chunks/{model-resolver-5daktx2q.js → agent-5daktx2q.js} +1 -1
  61. package/dist/chunks/{model-resolver-fkvyrnmv.js → agent-5gadzevc.js} +2 -2
  62. package/dist/chunks/{model-resolver-y397pytd.js → agent-5r1zsdx9.js} +8 -8
  63. package/dist/chunks/{model-resolver-nzwzy72p.js → agent-5sq3p9qn.js} +9 -9
  64. package/dist/chunks/{model-resolver-5t3nmthw.js → agent-5t3nmthw.js} +2 -2
  65. package/dist/chunks/{model-resolver-76yzkxkp.js → agent-5vybg4pe.js} +23 -23
  66. package/dist/chunks/{model-resolver-7ptgkj9x.js → agent-5yyy0sjd.js} +26 -26
  67. package/dist/chunks/{model-resolver-669tq793.js → agent-669tq793.js} +1 -1
  68. package/dist/chunks/agent-6bbap9ky.js +22 -0
  69. package/dist/chunks/{model-resolver-cdqe3acw.js → agent-6ea2fwcg.js} +6 -6
  70. package/dist/chunks/{model-resolver-k8aynvez.js → agent-6jdywn81.js} +7 -7
  71. package/dist/chunks/{model-resolver-6msgmcgs.js → agent-6msgmcgs.js} +1 -1
  72. package/dist/chunks/{model-resolver-2ekhvkds.js → agent-6n88yxkj.js} +8 -8
  73. package/dist/chunks/{model-resolver-n7qdmp8m.js → agent-6qssrhkr.js} +13 -13
  74. package/dist/chunks/{model-resolver-fkjex2d7.js → agent-6tbk88br.js} +40 -40
  75. package/dist/chunks/{model-resolver-q5bwphvd.js → agent-70arhk5y.js} +15 -15
  76. package/dist/chunks/{model-resolver-71q4at8m.js → agent-71q4at8m.js} +1 -1
  77. package/dist/chunks/{model-resolver-4sp1fpdf.js → agent-72tn9ghv.js} +12 -12
  78. package/dist/chunks/{model-resolver-9cbpths4.js → agent-76m6mzhc.js} +23 -23
  79. package/dist/chunks/{model-resolver-p905rm1f.js → agent-79r1wrqa.js} +1 -1
  80. package/dist/chunks/{model-resolver-1r3p2k7g.js → agent-7b0aybmk.js} +24 -24
  81. package/dist/chunks/{model-resolver-7bmhse3q.js → agent-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{model-resolver-96jy3nrs.js → agent-7qfvhy0h.js} +29 -29
  83. package/dist/chunks/{model-resolver-vyqn3nqs.js → agent-7w3s9kd0.js} +4 -4
  84. package/dist/chunks/{model-resolver-awbdwcvp.js → agent-81swgkk7.js} +2 -2
  85. package/dist/chunks/{model-resolver-8d7r5vzw.js → agent-8d7r5vzw.js} +1 -1
  86. package/dist/chunks/{model-resolver-rz8cg23q.js → agent-8e6k2rp7.js} +35 -35
  87. package/dist/chunks/{model-resolver-dj2t23y0.js → agent-8p4f9s12.js} +2 -2
  88. package/dist/chunks/{model-resolver-ma48de29.js → agent-8ryk0bb9.js} +5 -5
  89. package/dist/chunks/{model-resolver-0hxph87b.js → agent-915t83ht.js} +5 -5
  90. package/dist/chunks/{model-resolver-70rhfn1p.js → agent-9hywtg09.js} +17 -17
  91. package/dist/chunks/{model-resolver-eez3sah5.js → agent-9rq455fz.js} +29 -29
  92. package/dist/chunks/{model-resolver-5c4hm403.js → agent-a1bz86dw.js} +3 -3
  93. package/dist/chunks/{model-resolver-aaet6srn.js → agent-aaet6srn.js} +2 -2
  94. package/dist/chunks/{model-resolver-1mtcg6ar.js → agent-aj0w44rj.js} +22 -22
  95. package/dist/chunks/{model-resolver-m13kr8wx.js → agent-aja2rctz.js} +11 -11
  96. package/dist/chunks/{model-resolver-txf4gfjj.js → agent-aqr1mwz2.js} +58 -58
  97. package/dist/chunks/{model-resolver-pdc8edc9.js → agent-aym12p6z.js} +28 -28
  98. package/dist/chunks/{model-resolver-6hh8tjw2.js → agent-b27vhd2z.js} +4 -4
  99. package/dist/chunks/{model-resolver-2gp30egj.js → agent-b2agky1f.js} +2 -2
  100. package/dist/chunks/{model-resolver-b6gygkdw.js → agent-b6gygkdw.js} +2 -2
  101. package/dist/chunks/{model-resolver-v03cbedv.js → agent-bf6eak48.js} +34 -34
  102. package/dist/chunks/{model-resolver-y31b318c.js → agent-bha4atvq.js} +4 -4
  103. package/dist/chunks/{model-resolver-6fb6cyfd.js → agent-bnb5rs4k.js} +14 -14
  104. package/dist/chunks/{model-resolver-aaxaqk19.js → agent-bnbv6b5n.js} +4 -4
  105. package/dist/chunks/{model-resolver-c0qy3m8p.js → agent-c1a8f3t9.js} +15 -15
  106. package/dist/chunks/{model-resolver-51k0a2ck.js → agent-c3gv5cfs.js} +40 -40
  107. package/dist/chunks/{model-resolver-cz2fjc0t.js → agent-c3kepfq8.js} +1 -1
  108. package/dist/chunks/{model-resolver-53kakmxw.js → agent-c8mmaqea.js} +85 -85
  109. package/dist/chunks/{model-resolver-gmnw41t9.js → agent-ceb6atr1.js} +24 -24
  110. package/dist/chunks/{model-resolver-m0jqrx5p.js → agent-cfpkc3c9.js} +2 -2
  111. package/dist/chunks/{model-resolver-qzt97rh9.js → agent-cgk552px.js} +36 -36
  112. package/dist/chunks/{model-resolver-vs5zg3ka.js → agent-cjm3vder.js} +9 -9
  113. package/dist/chunks/agent-cmnyk72k.js +462 -0
  114. package/dist/chunks/{model-resolver-5xtgfte3.js → agent-cmwkp3r5.js} +8 -8
  115. package/dist/chunks/{model-resolver-jzhcgjv7.js → agent-cpsvvjyv.js} +13 -13
  116. package/dist/chunks/{model-resolver-9t2yae5y.js → agent-d0xy13x7.js} +16 -16
  117. package/dist/chunks/{model-resolver-jdh6s7jq.js → agent-dc76j9wz.js} +8 -8
  118. package/dist/chunks/{model-resolver-wbqy31zn.js → agent-dcj77ap2.js} +1 -1
  119. package/dist/chunks/{model-resolver-2vs2nh1n.js → agent-ddt2bs9e.js} +4 -4
  120. package/dist/chunks/{model-resolver-q15ghr61.js → agent-dgzt8w1j.js} +15 -15
  121. package/dist/chunks/{model-resolver-sz79wj9p.js → agent-dnt2jfde.js} +11 -11
  122. package/dist/chunks/{model-resolver-y71avatq.js → agent-dpkg50ah.js} +4 -4
  123. package/dist/chunks/{model-resolver-eaj1djv9.js → agent-eaj1djv9.js} +1 -1
  124. package/dist/chunks/{model-resolver-gwgds8rz.js → agent-eatb2y4f.js} +20 -20
  125. package/dist/chunks/{model-resolver-n95h4grp.js → agent-eb5dpmq2.js} +17 -17
  126. package/dist/chunks/{model-resolver-vazvxs3c.js → agent-edq66y4v.js} +12 -12
  127. package/dist/chunks/{model-resolver-dp2desqw.js → agent-ekqqfmy5.js} +25 -25
  128. package/dist/chunks/{model-resolver-j028xdjb.js → agent-eq1pz5kg.js} +3 -3
  129. package/dist/chunks/{model-resolver-crvrtykq.js → agent-ercvaeqx.js} +17 -17
  130. package/dist/chunks/{model-resolver-v5p5jd5d.js → agent-etkt3jwn.js} +14 -14
  131. package/dist/chunks/{model-resolver-etq0c3wd.js → agent-etq0c3wd.js} +1 -1
  132. package/dist/chunks/{model-resolver-423zw90g.js → agent-extxb87z.js} +11 -11
  133. package/dist/chunks/{model-resolver-k8m05cxs.js → agent-eyw6npvg.js} +16 -16
  134. package/dist/chunks/{model-resolver-dz4bsems.js → agent-ezmxp2fw.js} +8 -8
  135. package/dist/chunks/{model-resolver-hdnk95c8.js → agent-f828m53h.js} +2 -2
  136. package/dist/chunks/{model-resolver-a71pjsc9.js → agent-f8714f1t.js} +12 -12
  137. package/dist/chunks/{model-resolver-7z7893y4.js → agent-fd02r9vy.js} +9 -9
  138. package/dist/chunks/{model-resolver-qnmw77rf.js → agent-fekpn3rj.js} +5 -5
  139. package/dist/chunks/{model-resolver-p07p7dxg.js → agent-fjyjdt51.js} +17 -17
  140. package/dist/chunks/{model-resolver-a6y89zjg.js → agent-fmedx4fv.js} +86 -86
  141. package/dist/chunks/{model-resolver-4tehx1tz.js → agent-fpfadbbs.js} +24 -24
  142. package/dist/chunks/{model-resolver-fxbjtjnd.js → agent-fxbjtjnd.js} +1 -1
  143. package/dist/chunks/{model-resolver-gmykmxzz.js → agent-fzh26kez.js} +16 -16
  144. package/dist/chunks/{model-resolver-yyw6y8kf.js → agent-g28z69c7.js} +11 -11
  145. package/dist/chunks/{model-resolver-gd4qta3r.js → agent-gd4qta3r.js} +1 -1
  146. package/dist/chunks/{model-resolver-81rrwt6s.js → agent-ghk9cxjs.js} +6 -6
  147. package/dist/chunks/{model-resolver-35m6n0h8.js → agent-gky1ebs4.js} +9 -9
  148. package/dist/chunks/{model-resolver-t294w80x.js → agent-gsxcz76a.js} +27 -27
  149. package/dist/chunks/{model-resolver-rma5z0ck.js → agent-gv2384cn.js} +26 -26
  150. package/dist/chunks/{model-resolver-yyb7tjpc.js → agent-gv6a8nnw.js} +2 -2
  151. package/dist/chunks/{model-resolver-h03wrkyp.js → agent-h03wrkyp.js} +2 -2
  152. package/dist/chunks/{model-resolver-j7wqg36k.js → agent-h5cfsnd1.js} +12 -12
  153. package/dist/chunks/{model-resolver-h6vf3j39.js → agent-h6vf3j39.js} +1 -1
  154. package/dist/chunks/{model-resolver-13bj4jyc.js → agent-h7ag1f4n.js} +6 -6
  155. package/dist/chunks/{model-resolver-6tdy5psv.js → agent-hdffb4y3.js} +17 -17
  156. package/dist/chunks/{model-resolver-hjt4xg1x.js → agent-hjt4xg1x.js} +1 -1
  157. package/dist/chunks/agent-ht5y0zrb.js +18 -0
  158. package/dist/chunks/{model-resolver-xjvpf4s6.js → agent-j2k3e7kv.js} +8 -8
  159. package/dist/chunks/{model-resolver-j56e64zr.js → agent-j56e64zr.js} +1 -1
  160. package/dist/chunks/{model-resolver-vxcpq89m.js → agent-j8th8m9t.js} +13 -13
  161. package/dist/chunks/{model-resolver-r1gq2p73.js → agent-jn1he9vc.js} +8 -8
  162. package/dist/chunks/{model-resolver-w0cebxam.js → agent-jqnz4664.js} +6 -6
  163. package/dist/chunks/{model-resolver-daem90sq.js → agent-jrt7bcbp.js} +38 -38
  164. package/dist/chunks/{model-resolver-v22jagvy.js → agent-jt9bk02p.js} +11 -11
  165. package/dist/chunks/{model-resolver-f3ngv102.js → agent-k2h4r4s0.js} +4 -4
  166. package/dist/chunks/{model-resolver-rgst1ddg.js → agent-k3z06zj8.js} +11 -11
  167. package/dist/chunks/{model-resolver-wk5z6jzv.js → agent-k79tzb9n.js} +9 -9
  168. package/dist/chunks/{model-resolver-k7d0894y.js → agent-k7d0894y.js} +3 -3
  169. package/dist/chunks/{model-resolver-dj14fq5x.js → agent-kdf9acwq.js} +15 -15
  170. package/dist/chunks/{model-resolver-kg06axw8.js → agent-kg06axw8.js} +1 -1
  171. package/dist/chunks/{model-resolver-zsjw64s0.js → agent-kmv022h3.js} +1 -1
  172. package/dist/chunks/{model-resolver-vn05ks9g.js → agent-knt3nv8b.js} +12 -12
  173. package/dist/chunks/{model-resolver-3tkg1v6e.js → agent-kt4dv5sv.js} +24 -24
  174. package/dist/chunks/{model-resolver-c68b4qab.js → agent-kt5w8vxh.js} +10 -10
  175. package/dist/chunks/{model-resolver-xpbmavdy.js → agent-kwrj4bhx.js} +66 -66
  176. package/dist/chunks/{model-resolver-cmj3wvnf.js → agent-m7datmk4.js} +22 -22
  177. package/dist/chunks/{model-resolver-m9w0rfyh.js → agent-m9w0rfyh.js} +1 -1
  178. package/dist/chunks/{model-resolver-3d05yrhf.js → agent-maqbyd0v.js} +17 -17
  179. package/dist/chunks/{model-resolver-mkcjrzeh.js → agent-mkcjrzeh.js} +1 -1
  180. package/dist/chunks/{model-resolver-a9b9x376.js → agent-mkrd6xay.js} +7 -7
  181. package/dist/chunks/{model-resolver-2gvahrj6.js → agent-mm86a3mw.js} +9 -9
  182. package/dist/chunks/{model-resolver-jfcm55kc.js → agent-msmh6kw4.js} +7 -7
  183. package/dist/chunks/{model-resolver-v28yx9rk.js → agent-mxfqwjtw.js} +6 -6
  184. package/dist/chunks/{model-resolver-n6aetzp4.js → agent-mye54dae.js} +41 -41
  185. package/dist/chunks/{model-resolver-jh3mr9fx.js → agent-n3ah63sv.js} +4 -4
  186. package/dist/chunks/{model-resolver-pkmavskt.js → agent-n7v28ze5.js} +4 -4
  187. package/dist/chunks/{model-resolver-bzvjbgc5.js → agent-nfbznntq.js} +11 -11
  188. package/dist/chunks/{model-resolver-x0e6qwje.js → agent-nfnqtnrv.js} +9 -9
  189. package/dist/chunks/{model-resolver-xzjqnjyt.js → agent-p28nmw69.js} +4 -4
  190. package/dist/chunks/{model-resolver-p72z5xx6.js → agent-p72z5xx6.js} +2 -2
  191. package/dist/chunks/{model-resolver-xse2fbac.js → agent-pd73jete.js} +13 -13
  192. package/dist/chunks/{model-resolver-pjvnvgmy.js → agent-pjvnvgmy.js} +1 -1
  193. package/dist/chunks/{model-resolver-y6wtm4ga.js → agent-pkhmkcjw.js} +13 -13
  194. package/dist/chunks/{model-resolver-pknna89w.js → agent-pknna89w.js} +1 -1
  195. package/dist/chunks/{model-resolver-dfe8djrf.js → agent-pmr4s4kc.js} +4 -4
  196. package/dist/chunks/{model-resolver-5a3e4t2e.js → agent-pvhhpkrd.js} +48 -48
  197. package/dist/chunks/{model-resolver-cm6p1s29.js → agent-pwjvtgsd.js} +23 -23
  198. package/dist/chunks/agent-qapv375x.js +4 -0
  199. package/dist/chunks/{model-resolver-bd9nqr2t.js → agent-qcfsefxz.js} +5 -5
  200. package/dist/chunks/{model-resolver-868qdqs3.js → agent-qd28dtkm.js} +11 -11
  201. package/dist/chunks/{model-resolver-9yd8p6fr.js → agent-qgj181pa.js} +43 -43
  202. package/dist/chunks/{model-resolver-4mq91456.js → agent-qpt75jd3.js} +2 -2
  203. package/dist/chunks/{model-resolver-qsdy395h.js → agent-qsdy395h.js} +1 -1
  204. package/dist/chunks/{model-resolver-j15mfg1p.js → agent-r33ff4dw.js} +4 -4
  205. package/dist/chunks/{model-resolver-vj4a8mq6.js → agent-rb6q1sz1.js} +5 -5
  206. package/dist/chunks/{model-resolver-r8er4w6q.js → agent-rcvxh0jb.js} +10 -10
  207. package/dist/chunks/{model-resolver-w79zsp0s.js → agent-rfnzy394.js} +1 -1
  208. package/dist/chunks/{model-resolver-sath0g0v.js → agent-rpkzk8t6.js} +15 -15
  209. package/dist/chunks/{model-resolver-4f4xg237.js → agent-rsfm3p45.js} +7 -7
  210. package/dist/chunks/{model-resolver-2taagk0w.js → agent-rw2atv5h.js} +7 -7
  211. package/dist/chunks/{model-resolver-snxhrb6z.js → agent-rz0qknjf.js} +5 -5
  212. package/dist/chunks/{model-resolver-y1rdatpn.js → agent-sf54pryb.js} +31 -31
  213. package/dist/chunks/{model-resolver-19aya85j.js → agent-sqpsd4tc.js} +7 -7
  214. package/dist/chunks/{model-resolver-bhj4y43k.js → agent-sra9araw.js} +5 -5
  215. package/dist/chunks/{model-resolver-ax70fxdt.js → agent-sv2dresp.js} +11 -11
  216. package/dist/chunks/{model-resolver-t0x5rdq8.js → agent-t0x5rdq8.js} +2 -2
  217. package/dist/chunks/{model-resolver-c1g6mvbq.js → agent-t69nnh3p.js} +6 -6
  218. package/dist/chunks/agent-t8evbnyf.js +247 -0
  219. package/dist/chunks/{model-resolver-c5m6q3p0.js → agent-t8tthf19.js} +21 -21
  220. package/dist/chunks/{model-resolver-tazgh4e4.js → agent-tazgh4e4.js} +1 -1
  221. package/dist/chunks/{model-resolver-pk6gzyws.js → agent-tbvmpry9.js} +20 -20
  222. package/dist/chunks/{model-resolver-tcezcvh9.js → agent-tcezcvh9.js} +1 -1
  223. package/dist/chunks/{model-resolver-mym5xwza.js → agent-tdqs3pre.js} +11 -11
  224. package/dist/chunks/{model-resolver-tdstcens.js → agent-tdstcens.js} +1 -1
  225. package/dist/chunks/{model-resolver-5reahhcp.js → agent-tmehws9p.js} +25 -25
  226. package/dist/chunks/{model-resolver-1bs4t1p1.js → agent-tmv1344r.js} +35 -35
  227. package/dist/chunks/{model-resolver-7htwxs73.js → agent-tpw2t7ss.js} +17 -17
  228. package/dist/chunks/{model-resolver-7hd0m9s1.js → agent-trcqvecf.js} +7 -7
  229. package/dist/chunks/{model-resolver-k3drw8gy.js → agent-tv1ckk6f.js} +11 -11
  230. package/dist/chunks/{model-resolver-tvtrv512.js → agent-tvtrv512.js} +1 -1
  231. package/dist/chunks/{model-resolver-bzzsz1b8.js → agent-v0mb9n88.js} +11 -11
  232. package/dist/chunks/{model-resolver-m18gzt7g.js → agent-v4025nqw.js} +29 -29
  233. package/dist/chunks/{model-resolver-0jmjzee4.js → agent-v6byyd4w.js} +18 -18
  234. package/dist/chunks/{model-resolver-7pvzsz6j.js → agent-vbh1ypv3.js} +46 -46
  235. package/dist/chunks/{model-resolver-veqvce7d.js → agent-veqvce7d.js} +1 -1
  236. package/dist/chunks/{model-resolver-fnb1tm2q.js → agent-vg9wvx5r.js} +5 -5
  237. package/dist/chunks/{model-resolver-xmryvm6r.js → agent-vjj3a5vm.js} +12 -12
  238. package/dist/chunks/{model-resolver-qpt5r044.js → agent-vt1ntypg.js} +4 -4
  239. package/dist/chunks/{model-resolver-vzcthcp8.js → agent-vzcthcp8.js} +1 -1
  240. package/dist/chunks/{model-resolver-paegk39x.js → agent-w1k39n5e.js} +4 -4
  241. package/dist/chunks/{model-resolver-2rw3mzdd.js → agent-w1r7b0c2.js} +25 -25
  242. package/dist/chunks/{model-resolver-w3wsvvr9.js → agent-w3wsvvr9.js} +1 -1
  243. package/dist/chunks/{model-resolver-v5hpcsb0.js → agent-wbkyxrgf.js} +5 -5
  244. package/dist/chunks/{model-resolver-wd87259q.js → agent-wd87259q.js} +1 -1
  245. package/dist/chunks/{model-resolver-s9yxznb6.js → agent-wdby5any.js} +4 -4
  246. package/dist/chunks/{model-resolver-ajztzy0x.js → agent-wdgktj1s.js} +9 -9
  247. package/dist/chunks/{model-resolver-23n5nc7p.js → agent-we20acdp.js} +9 -9
  248. package/dist/chunks/{model-resolver-7aa1cj5w.js → agent-wjevpkyy.js} +9 -9
  249. package/dist/chunks/{model-resolver-d4bs6nh8.js → agent-wpsa4a75.js} +17 -17
  250. package/dist/chunks/{model-resolver-ptbz0kzz.js → agent-wzd9e1mh.js} +19 -19
  251. package/dist/chunks/{model-resolver-x1ezjp6w.js → agent-x1ezjp6w.js} +1 -1
  252. package/dist/chunks/{model-resolver-x43y2vfs.js → agent-x43y2vfs.js} +2 -2
  253. package/dist/chunks/{model-resolver-wzb930f5.js → agent-xnvn8fy3.js} +14 -14
  254. package/dist/chunks/{model-resolver-cqnjb978.js → agent-xp8dkk78.js} +32 -32
  255. package/dist/chunks/{model-resolver-dy83786h.js → agent-xvbwxx90.js} +24 -24
  256. package/dist/chunks/{model-resolver-rzr29mjv.js → agent-xxf16dbw.js} +1 -1
  257. package/dist/chunks/{model-resolver-y1fvbwt7.js → agent-y1fvbwt7.js} +1 -1
  258. package/dist/chunks/{model-resolver-nzcr7xy5.js → agent-y69m1bmv.js} +20 -20
  259. package/dist/chunks/{model-resolver-ek34y162.js → agent-y7793xqn.js} +8 -8
  260. package/dist/chunks/{model-resolver-8ns0hvns.js → agent-y843vjgg.js} +27 -27
  261. package/dist/chunks/{model-resolver-4sgjj86v.js → agent-ygkgm02b.js} +12 -12
  262. package/dist/chunks/{model-resolver-xv77w4m4.js → agent-yjnh3t2j.js} +27 -27
  263. package/dist/chunks/{model-resolver-yp2x3t23.js → agent-yp2x3t23.js} +1 -1
  264. package/dist/chunks/{model-resolver-n93cvmfp.js → agent-yq62dd86.js} +28 -28
  265. package/dist/chunks/{model-resolver-94mafesx.js → agent-yqw0kn6c.js} +28 -28
  266. package/dist/chunks/{model-resolver-yrhqyw5v.js → agent-yrhqyw5v.js} +1 -1
  267. package/dist/chunks/{model-resolver-yrznvahk.js → agent-yrznvahk.js} +2 -2
  268. package/dist/chunks/{model-resolver-5b8g7156.js → agent-yvse0e0q.js} +18 -18
  269. package/dist/chunks/{model-resolver-qpp5wgcs.js → agent-yyzejswp.js} +8 -8
  270. package/dist/chunks/{model-resolver-z0bkrqjs.js → agent-z0bkrqjs.js} +1 -1
  271. package/dist/chunks/{model-resolver-0sawsjns.js → agent-z2t3hhhz.js} +16 -16
  272. package/dist/chunks/{model-resolver-5gvs0vy6.js → agent-z4bb8yc5.js} +3 -3
  273. package/dist/chunks/{model-resolver-z63w68vq.js → agent-z63w68vq.js} +2 -2
  274. package/dist/chunks/{model-resolver-h94x1q5y.js → agent-z7xj2rat.js} +3 -3
  275. package/dist/chunks/{model-resolver-np146xf0.js → agent-z82vs6a1.js} +13 -13
  276. package/dist/chunks/{model-resolver-jrec0msh.js → agent-z8c5q07m.js} +32 -32
  277. package/dist/chunks/{model-resolver-qvrt22yc.js → agent-z9mkyr21.js} +143 -143
  278. package/dist/chunks/{model-resolver-rq775frq.js → agent-zeh9ct20.js} +2 -2
  279. package/dist/chunks/{model-resolver-bv56xrks.js → agent-zerdtc7d.js} +6 -6
  280. package/dist/chunks/{model-resolver-6jt15jam.js → agent-zf76dbgv.js} +16 -16
  281. package/dist/chunks/{model-resolver-983ft7s8.js → agent-zgx3f8b2.js} +12 -12
  282. package/dist/chunks/{model-resolver-8485p8c8.js → agent-zj1vzqje.js} +26 -26
  283. package/dist/chunks/{model-resolver-hg29js9c.js → agent-zmyx8htp.js} +5 -5
  284. package/dist/chunks/{model-resolver-0v867qyd.js → agent-zn8hc1sy.js} +15 -15
  285. package/dist/chunks/{model-resolver-zr2ceqn5.js → agent-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{model-resolver-zxq2ej10.js → agent-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +7 -7
  289. package/dist/codemode/tool.js +2 -2
  290. package/dist/command.js +81 -81
  291. package/dist/config/discovery.js +77 -77
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +19 -19
  294. package/dist/config/plugin/agent.js +117 -117
  295. package/dist/config/plugin/command.js +209 -209
  296. package/dist/config/plugin/compaction.js +155 -155
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +117 -117
  299. package/dist/config/plugin/image.js +115 -115
  300. package/dist/config/plugin/instruction.js +85 -85
  301. package/dist/config/plugin/location-watcher.js +117 -117
  302. package/dist/config/plugin/mcp.js +126 -126
  303. package/dist/config/plugin/policy.js +114 -114
  304. package/dist/config/plugin/provider.js +113 -113
  305. package/dist/config/plugin/reference.js +117 -117
  306. package/dist/config/plugin/shell.js +118 -118
  307. package/dist/config/plugin/skill-file.js +97 -97
  308. package/dist/config/plugin/skill.js +136 -136
  309. package/dist/config/plugin/snapshot.js +115 -115
  310. package/dist/config/plugin/source.js +117 -117
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +115 -115
  313. package/dist/config/plugin/worktree.js +118 -118
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +115 -115
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +75 -75
  319. package/dist/database/database.js +68 -68
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +16 -16
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration.gen.js +47 -47
  383. package/dist/database/migration.js +49 -49
  384. package/dist/database/path.js +2 -2
  385. package/dist/database/schema.gen.js +1 -1
  386. package/dist/database/schema.sql.js +1 -1
  387. package/dist/database/sqlite.bun.js +1 -1
  388. package/dist/database/sqlite.js +1 -1
  389. package/dist/database/sqlite.node.js +1 -1
  390. package/dist/database/sqlite.workerd.js +1 -1
  391. package/dist/database/v1-migration.bun.js +77 -77
  392. package/dist/database/v1-migration.js +1 -1
  393. package/dist/effect/app-node-builder.js +361 -361
  394. package/dist/effect/app-node-platform.js +2 -2
  395. package/dist/effect/keyed-mutex.js +3 -3
  396. package/dist/effect/websocket-constructor.js +1 -1
  397. package/dist/environment/driver.js +1 -1
  398. package/dist/environment/environment.js +86 -86
  399. package/dist/environment/exec-defaults.js +2 -2
  400. package/dist/environment/files.js +1 -1
  401. package/dist/environment/index.js +86 -86
  402. package/dist/environment/local.js +2 -2
  403. package/dist/environment/memory.js +2 -2
  404. package/dist/environment/unavailable.js +1 -1
  405. package/dist/event/sql.js +1 -1
  406. package/dist/event-logger.js +72 -72
  407. package/dist/file-access.js +99 -99
  408. package/dist/file-mutation.js +89 -89
  409. package/dist/file-retention.js +1 -1
  410. package/dist/file.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/ignore.js +1 -1
  416. package/dist/filesystem/location-watcher-policy.js +2 -2
  417. package/dist/filesystem/location-watcher.js +222 -222
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +95 -95
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +13 -13
  422. package/dist/filesystem.js +100 -100
  423. package/dist/form.js +82 -82
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +82 -82
  426. package/dist/generate.js +87 -87
  427. package/dist/git.js +7 -7
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +3 -3
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/id/id.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +352 -352
  452. package/dist/instruction-discovery.js +83 -83
  453. package/dist/instructions/builtins.js +82 -82
  454. package/dist/instructions/index.js +1 -1
  455. package/dist/integration/connection.js +1 -1
  456. package/dist/integration.js +86 -86
  457. package/dist/job.js +77 -77
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +71 -71
  460. package/dist/location-activity.js +131 -131
  461. package/dist/location-mutation.js +99 -99
  462. package/dist/location-service-map.js +81 -81
  463. package/dist/location-services.js +349 -349
  464. package/dist/location.js +80 -80
  465. package/dist/mcp/client.js +86 -86
  466. package/dist/mcp/index.js +103 -103
  467. package/dist/mcp/instructions.js +122 -122
  468. package/dist/mcp/oauth.js +3 -3
  469. package/dist/mcp/stdio.js +85 -85
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +3 -3
  472. package/dist/model-resolver.js +86 -86
  473. package/dist/model.js +8 -8
  474. package/dist/models-dev.js +86 -86
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +78 -78
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +94 -94
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +84 -84
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +73 -73
  484. package/dist/plugin/agent.js +99 -99
  485. package/dist/plugin/command.js +96 -96
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +213 -213
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +323 -323
  490. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  491. package/dist/plugin/models-dev.js +75 -75
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +4 -4
  494. package/dist/plugin/plan.js +97 -97
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/alibaba.js +2 -2
  497. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  498. package/dist/plugin/provider/anthropic.js +2 -2
  499. package/dist/plugin/provider/azure.js +118 -118
  500. package/dist/plugin/provider/cerebras.js +2 -2
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +114 -114
  505. package/dist/plugin/provider/digitalocean.js +79 -79
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/gateway.js +2 -2
  509. package/dist/plugin/provider/github-copilot.js +80 -80
  510. package/dist/plugin/provider/gitlab.js +3 -3
  511. package/dist/plugin/provider/google-vertex.js +2 -2
  512. package/dist/plugin/provider/kilo.js +2 -2
  513. package/dist/plugin/provider/llmgateway.js +76 -76
  514. package/dist/plugin/provider/lmstudio.js +115 -115
  515. package/dist/plugin/provider/mistral.js +2 -2
  516. package/dist/plugin/provider/modal.js +79 -79
  517. package/dist/plugin/provider/nvidia.js +2 -2
  518. package/dist/plugin/provider/ollama.js +115 -115
  519. package/dist/plugin/provider/openai-compatible.js +1 -1
  520. package/dist/plugin/provider/openai.js +80 -80
  521. package/dist/plugin/provider/opencode.js +76 -76
  522. package/dist/plugin/provider/openrouter.js +3 -3
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/sap-ai-core.js +3 -3
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  527. package/dist/plugin/provider/venice.js +2 -2
  528. package/dist/plugin/provider/vercel.js +2 -2
  529. package/dist/plugin/provider/vllm.js +115 -115
  530. package/dist/plugin/provider/xai.js +77 -77
  531. package/dist/plugin/provider/zenmux.js +2 -2
  532. package/dist/plugin/provider.js +156 -156
  533. package/dist/plugin/sdk.js +74 -74
  534. package/dist/plugin/service.js +3 -3
  535. package/dist/plugin/skill.js +133 -133
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +340 -340
  538. package/dist/plugin/update.js +6 -6
  539. package/dist/plugin/variant.js +4 -4
  540. package/dist/plugin/vcs/git.js +82 -82
  541. package/dist/plugin/vcs/hg.js +82 -82
  542. package/dist/plugin/warming.js +112 -112
  543. package/dist/plugin/websearch/exa.js +7 -7
  544. package/dist/plugin/websearch/firecrawl.js +8 -8
  545. package/dist/plugin/websearch/index.js +8 -8
  546. package/dist/plugin/websearch/mcp.js +4 -4
  547. package/dist/plugin/websearch/parallel.js +8 -8
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin.js +222 -222
  550. package/dist/project/schema.js +2 -2
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +79 -79
  553. package/dist/provider.js +5 -5
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/schema.js +3 -3
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +92 -92
  558. package/dist/reference/instructions.js +84 -84
  559. package/dist/reference.js +84 -84
  560. package/dist/repository-cache.js +76 -76
  561. package/dist/repository.js +1 -1
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +93 -93
  564. package/dist/rpc.js +77 -77
  565. package/dist/schema.js +1 -1
  566. package/dist/session/command.js +72 -72
  567. package/dist/session/compaction.js +123 -123
  568. package/dist/session/context.js +147 -147
  569. package/dist/session/environment.js +5 -5
  570. package/dist/session/error.js +3 -3
  571. package/dist/session/event.js +1 -1
  572. package/dist/session/execution/restart.js +219 -219
  573. package/dist/session/execution.js +122 -122
  574. package/dist/session/generate.js +146 -146
  575. package/dist/session/history.js +13 -13
  576. package/dist/session/inbox.js +84 -84
  577. package/dist/session/info.js +3 -3
  578. package/dist/session/instruction-entry.js +77 -77
  579. package/dist/session/instruction-state.js +8 -8
  580. package/dist/session/instructions.js +90 -90
  581. package/dist/session/message-updater.js +4 -4
  582. package/dist/session/message.js +1 -1
  583. package/dist/session/model-request.js +113 -113
  584. package/dist/session/model-transport.js +9 -9
  585. package/dist/session/move.js +126 -126
  586. package/dist/session/projector.js +84 -84
  587. package/dist/session/prompt.js +100 -100
  588. package/dist/session/provider-context.js +3 -3
  589. package/dist/session/revert.js +85 -85
  590. package/dist/session/run-coordinator.js +1 -1
  591. package/dist/session/runner/index.js +3 -3
  592. package/dist/session/runner/llm.js +225 -225
  593. package/dist/session/runner/max-steps.js +1 -1
  594. package/dist/session/runner/model.js +86 -86
  595. package/dist/session/runner/publish-llm-event.js +3 -3
  596. package/dist/session/runner/retry.js +110 -110
  597. package/dist/session/runner/step.js +121 -121
  598. package/dist/session/runner/to-llm-message.js +2 -2
  599. package/dist/session/schema.js +1 -1
  600. package/dist/session/session.js +169 -169
  601. package/dist/session/shell.js +131 -131
  602. package/dist/session/skill.js +98 -98
  603. package/dist/session/sql.js +5 -5
  604. package/dist/session/stats.js +73 -73
  605. package/dist/session/store.js +85 -85
  606. package/dist/session/subagent-completion.js +1 -1
  607. package/dist/session/subagent-job.js +205 -205
  608. package/dist/session/system-prompt.js +1 -1
  609. package/dist/session/title.js +151 -151
  610. package/dist/session/to-session-error.js +107 -107
  611. package/dist/session/transfer.js +216 -216
  612. package/dist/session/usage.js +1 -1
  613. package/dist/session.js +207 -207
  614. package/dist/shell/parse.js +6 -6
  615. package/dist/shell/result.js +1 -1
  616. package/dist/shell/scan.js +1 -1
  617. package/dist/shell/select.js +7 -7
  618. package/dist/shell.js +133 -133
  619. package/dist/skill/discovery.js +6 -6
  620. package/dist/skill/instructions.js +102 -102
  621. package/dist/skill.js +95 -95
  622. package/dist/snapshot.js +84 -84
  623. package/dist/state.js +1 -1
  624. package/dist/tool/html-markdown.js +1 -1
  625. package/dist/tool/http-body.js +1 -1
  626. package/dist/tool/mcp.js +121 -121
  627. package/dist/tool/plugin/edit.js +115 -115
  628. package/dist/tool/plugin/file-diff.js +1 -1
  629. package/dist/tool/plugin/glob.js +120 -120
  630. package/dist/tool/plugin/grep.js +118 -118
  631. package/dist/tool/plugin/opencode.js +3 -3
  632. package/dist/tool/plugin/patch.js +117 -117
  633. package/dist/tool/plugin/question.js +100 -100
  634. package/dist/tool/plugin/read.js +121 -121
  635. package/dist/tool/plugin/shell.js +212 -212
  636. package/dist/tool/plugin/skill.js +108 -108
  637. package/dist/tool/plugin/subagent.js +214 -214
  638. package/dist/tool/plugin/webfetch.js +105 -105
  639. package/dist/tool/plugin/websearch.js +109 -109
  640. package/dist/tool/plugin/write.js +117 -117
  641. package/dist/tool/read-filesystem.js +96 -96
  642. package/dist/tool/runtime.js +1 -1
  643. package/dist/tool-output.js +8 -8
  644. package/dist/tool.js +15 -15
  645. package/dist/util/error-summary.js +1 -1
  646. package/dist/util/error.js +1 -1
  647. package/dist/util/iife.js +1 -1
  648. package/dist/util/lazy.js +1 -1
  649. package/dist/util/slug.js +1 -1
  650. package/dist/util/token.js +1 -1
  651. package/dist/util/which.js +1 -1
  652. package/dist/util/wildcard.js +1 -1
  653. package/dist/v1/config/agent.js +5 -5
  654. package/dist/v1/config/attachment.js +4 -4
  655. package/dist/v1/config/command.js +3 -3
  656. package/dist/v1/config/config.js +16 -16
  657. package/dist/v1/config/error.js +2 -2
  658. package/dist/v1/config/formatter.js +3 -3
  659. package/dist/v1/config/layout.js +1 -1
  660. package/dist/v1/config/lsp.js +3 -3
  661. package/dist/v1/config/mcp.js +4 -4
  662. package/dist/v1/config/migrate.js +4 -4
  663. package/dist/v1/config/permission.js +3 -3
  664. package/dist/v1/config/plugin.js +3 -3
  665. package/dist/v1/config/provider-options.js +1 -1
  666. package/dist/v1/config/provider.js +4 -4
  667. package/dist/v1/config/server.js +2 -2
  668. package/dist/v1/config/skills.js +3 -3
  669. package/dist/v1/permission.js +1 -1
  670. package/dist/vcs/patch.js +1 -1
  671. package/dist/vcs.js +85 -85
  672. package/dist/websearch.js +82 -82
  673. package/dist/wellknown/plugin.js +74 -74
  674. package/dist/wellknown.js +77 -77
  675. package/dist/workspace/driver.js +5 -5
  676. package/dist/workspace/sql.js +1 -1
  677. package/dist/workspace.js +76 -76
  678. package/dist/worktree/directory.js +2 -2
  679. package/dist/worktree/git.js +5 -5
  680. package/dist/worktree/refresh.js +341 -341
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree.js +91 -91
  683. package/package.json +8 -8
  684. package/dist/chunks/model-resolver-0mesazry.js +0 -4
  685. package/dist/chunks/model-resolver-27ajfczk.js +0 -247
  686. package/dist/chunks/model-resolver-6nbzjb56.js +0 -462
  687. package/dist/chunks/model-resolver-rap9a73h.js +0 -18
  688. package/dist/chunks/model-resolver-z6nw9z3j.js +0 -22
  689. /package/dist/chunks/{model-resolver-0qkdqm5v.js → agent-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{model-resolver-0zkw76rk.js → agent-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{model-resolver-17cy0kzp.js → agent-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{model-resolver-1cnp2v09.js → agent-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{model-resolver-1kg9ymc8.js → agent-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{model-resolver-2710q6r3.js → agent-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{model-resolver-2axfhc9x.js → agent-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{model-resolver-2c3vjs8z.js → agent-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{model-resolver-2f04pwep.js → agent-2f04pwep.js} +0 -0
  698. /package/dist/chunks/{model-resolver-359p4xyc.js → agent-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{model-resolver-3asan66x.js → agent-3asan66x.js} +0 -0
  700. /package/dist/chunks/{model-resolver-3v8g72cx.js → agent-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{model-resolver-3w5fmr99.js → agent-3w5fmr99.js} +0 -0
  702. /package/dist/chunks/{model-resolver-3wcehsnq.js → agent-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{model-resolver-43n2bw4t.js → agent-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{model-resolver-4knz6hnm.js → agent-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{model-resolver-4y7fprxs.js → agent-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{model-resolver-53557ph1.js → agent-53557ph1.js} +0 -0
  707. /package/dist/chunks/{model-resolver-550bvhaj.js → agent-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{model-resolver-6prwharc.js → agent-6prwharc.js} +0 -0
  709. /package/dist/chunks/{model-resolver-7akdwqpd.js → agent-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{model-resolver-7m9af43g.js → agent-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{model-resolver-822emrt2.js → agent-822emrt2.js} +0 -0
  712. /package/dist/chunks/{model-resolver-88xbtdfr.js → agent-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{model-resolver-8n3pysct.js → agent-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{model-resolver-922hggd3.js → agent-922hggd3.js} +0 -0
  715. /package/dist/chunks/{model-resolver-9a4afbnw.js → agent-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{model-resolver-9rqn6x4v.js → agent-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{model-resolver-a1tpkmh4.js → agent-a1tpkmh4.js} +0 -0
  718. /package/dist/chunks/{model-resolver-a6k6eb26.js → agent-a6k6eb26.js} +0 -0
  719. /package/dist/chunks/{model-resolver-af5trqkr.js → agent-af5trqkr.js} +0 -0
  720. /package/dist/chunks/{model-resolver-afrmfg78.js → agent-afrmfg78.js} +0 -0
  721. /package/dist/chunks/{model-resolver-aqzs7mqg.js → agent-aqzs7mqg.js} +0 -0
  722. /package/dist/chunks/{model-resolver-atq7p7m5.js → agent-atq7p7m5.js} +0 -0
  723. /package/dist/chunks/{model-resolver-bkyjaxrp.js → agent-bkyjaxrp.js} +0 -0
  724. /package/dist/chunks/{model-resolver-bmr6ed5q.js → agent-bmr6ed5q.js} +0 -0
  725. /package/dist/chunks/{model-resolver-cf4snx6d.js → agent-cf4snx6d.js} +0 -0
  726. /package/dist/chunks/{model-resolver-cvy3z8tj.js → agent-cvy3z8tj.js} +0 -0
  727. /package/dist/chunks/{model-resolver-d9fn303g.js → agent-d9fn303g.js} +0 -0
  728. /package/dist/chunks/{model-resolver-d9jj8t3e.js → agent-d9jj8t3e.js} +0 -0
  729. /package/dist/chunks/{model-resolver-dajrwvna.js → agent-dajrwvna.js} +0 -0
  730. /package/dist/chunks/{model-resolver-dap0rakb.js → agent-dap0rakb.js} +0 -0
  731. /package/dist/chunks/{model-resolver-df08tz66.js → agent-df08tz66.js} +0 -0
  732. /package/dist/chunks/{model-resolver-dy18nga0.js → agent-dy18nga0.js} +0 -0
  733. /package/dist/chunks/{model-resolver-e5kj55wp.js → agent-e5kj55wp.js} +0 -0
  734. /package/dist/chunks/{model-resolver-e73j6tqm.js → agent-e73j6tqm.js} +0 -0
  735. /package/dist/chunks/{model-resolver-ec1grn59.js → agent-ec1grn59.js} +0 -0
  736. /package/dist/chunks/{model-resolver-eh3zwz77.js → agent-eh3zwz77.js} +0 -0
  737. /package/dist/chunks/{model-resolver-emrn6kk6.js → agent-emrn6kk6.js} +0 -0
  738. /package/dist/chunks/{model-resolver-f0mxakyp.js → agent-f0mxakyp.js} +0 -0
  739. /package/dist/chunks/{model-resolver-f6n9ztr4.js → agent-f6n9ztr4.js} +0 -0
  740. /package/dist/chunks/{model-resolver-faypxj3z.js → agent-faypxj3z.js} +0 -0
  741. /package/dist/chunks/{model-resolver-fd410y7t.js → agent-fd410y7t.js} +0 -0
  742. /package/dist/chunks/{model-resolver-fxgpk5d8.js → agent-fxgpk5d8.js} +0 -0
  743. /package/dist/chunks/{model-resolver-g4wezp1m.js → agent-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{model-resolver-g86h250q.js → agent-g86h250q.js} +0 -0
  745. /package/dist/chunks/{model-resolver-gebd4c9n.js → agent-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{model-resolver-gftt206x.js → agent-gftt206x.js} +0 -0
  747. /package/dist/chunks/{model-resolver-hjbc5kem.js → agent-hjbc5kem.js} +0 -0
  748. /package/dist/chunks/{model-resolver-hk9envan.js → agent-hk9envan.js} +0 -0
  749. /package/dist/chunks/{model-resolver-hrnqkpcd.js → agent-hrnqkpcd.js} +0 -0
  750. /package/dist/chunks/{model-resolver-j2ntwpah.js → agent-j2ntwpah.js} +0 -0
  751. /package/dist/chunks/{model-resolver-j5zkgpj8.js → agent-j5zkgpj8.js} +0 -0
  752. /package/dist/chunks/{model-resolver-jr7sbwjy.js → agent-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{model-resolver-jwfs4k6c.js → agent-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{model-resolver-jzg6c2d5.js → agent-jzg6c2d5.js} +0 -0
  755. /package/dist/chunks/{model-resolver-mp448xyj.js → agent-mp448xyj.js} +0 -0
  756. /package/dist/chunks/{model-resolver-msx8hqn2.js → agent-msx8hqn2.js} +0 -0
  757. /package/dist/chunks/{model-resolver-n05xt0ee.js → agent-n05xt0ee.js} +0 -0
  758. /package/dist/chunks/{model-resolver-n3j8tn72.js → agent-n3j8tn72.js} +0 -0
  759. /package/dist/chunks/{model-resolver-njntx4h6.js → agent-njntx4h6.js} +0 -0
  760. /package/dist/chunks/{model-resolver-paphc93g.js → agent-paphc93g.js} +0 -0
  761. /package/dist/chunks/{model-resolver-q3sfg36h.js → agent-q3sfg36h.js} +0 -0
  762. /package/dist/chunks/{model-resolver-q74kybfr.js → agent-q74kybfr.js} +0 -0
  763. /package/dist/chunks/{model-resolver-qaymkmh1.js → agent-qaymkmh1.js} +0 -0
  764. /package/dist/chunks/{model-resolver-qb87gjwd.js → agent-qb87gjwd.js} +0 -0
  765. /package/dist/chunks/{model-resolver-qfa1cgps.js → agent-qfa1cgps.js} +0 -0
  766. /package/dist/chunks/{model-resolver-qrg20bc0.js → agent-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{model-resolver-rcb2kzg1.js → agent-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{model-resolver-sdp7kfr6.js → agent-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{model-resolver-sk3qaz4a.js → agent-sk3qaz4a.js} +0 -0
  770. /package/dist/chunks/{model-resolver-ssg3fenm.js → agent-ssg3fenm.js} +0 -0
  771. /package/dist/chunks/{model-resolver-twg0f83k.js → agent-twg0f83k.js} +0 -0
  772. /package/dist/chunks/{model-resolver-w803qqfp.js → agent-w803qqfp.js} +0 -0
  773. /package/dist/chunks/{model-resolver-wer8tq1h.js → agent-wer8tq1h.js} +0 -0
  774. /package/dist/chunks/{model-resolver-wtztk69x.js → agent-wtztk69x.js} +0 -0
  775. /package/dist/chunks/{model-resolver-x0ckcb58.js → agent-x0ckcb58.js} +0 -0
  776. /package/dist/chunks/{model-resolver-x61499pn.js → agent-x61499pn.js} +0 -0
  777. /package/dist/chunks/{model-resolver-y44na4kk.js → agent-y44na4kk.js} +0 -0
  778. /package/dist/chunks/{model-resolver-y8cydn3q.js → agent-y8cydn3q.js} +0 -0
  779. /package/dist/chunks/{model-resolver-ygaqb7jw.js → agent-ygaqb7jw.js} +0 -0
  780. /package/dist/chunks/{model-resolver-ym463w8f.js → agent-ym463w8f.js} +0 -0
  781. /package/dist/chunks/{model-resolver-z9919s4g.js → agent-z9919s4g.js} +0 -0
@@ -1,111 +1,111 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./model-resolver-868qdqs3.js";
2
+ Service80,
3
+ node85
4
+ } from "./agent-qd28dtkm.js";
5
5
  import {
6
6
  ID15,
7
7
  Service74,
8
8
  node79
9
- } from "./model-resolver-2taagk0w.js";
9
+ } from "./agent-rw2atv5h.js";
10
10
  import {
11
- Service61,
12
- node65
13
- } from "./model-resolver-pdc8edc9.js";
11
+ Service51,
12
+ node54
13
+ } from "./agent-aym12p6z.js";
14
14
  import {
15
15
  combine2
16
- } from "./model-resolver-eaj1djv9.js";
16
+ } from "./agent-eaj1djv9.js";
17
17
  import {
18
- make13
19
- } from "./model-resolver-x0e6qwje.js";
18
+ make14
19
+ } from "./agent-nfnqtnrv.js";
20
20
  import {
21
- Service54,
22
- node58
23
- } from "./model-resolver-8485p8c8.js";
21
+ Service34,
22
+ node38
23
+ } from "./agent-zj1vzqje.js";
24
24
  import {
25
- Service75,
26
- node80
27
- } from "./model-resolver-6fb6cyfd.js";
25
+ Service76,
26
+ node81
27
+ } from "./agent-bnb5rs4k.js";
28
28
  import {
29
- Service29,
30
- node34
31
- } from "./model-resolver-xse2fbac.js";
29
+ Service23,
30
+ node28
31
+ } from "./agent-pd73jete.js";
32
32
  import {
33
33
  AgentNotFoundError2
34
- } from "./model-resolver-k7d0894y.js";
34
+ } from "./agent-k7d0894y.js";
35
35
  import {
36
36
  provenance2
37
- } from "./model-resolver-paegk39x.js";
37
+ } from "./agent-w1k39n5e.js";
38
38
  import {
39
39
  entriesForRunner2
40
- } from "./model-resolver-vd56qj1s.js";
40
+ } from "./agent-45hfn423.js";
41
41
  import {
42
- Service72,
43
- node77
44
- } from "./model-resolver-7htwxs73.js";
42
+ Service73,
43
+ node78
44
+ } from "./agent-tpw2t7ss.js";
45
45
  import {
46
- Service67,
47
- node72
48
- } from "./model-resolver-dp2desqw.js";
46
+ Service32,
47
+ node36
48
+ } from "./agent-ekqqfmy5.js";
49
49
  import {
50
- Service37,
51
- node41
52
- } from "./model-resolver-eez3sah5.js";
50
+ Service24,
51
+ node29
52
+ } from "./agent-9rq455fz.js";
53
53
  import {
54
- Service36,
55
- node40
56
- } from "./model-resolver-c5m6q3p0.js";
54
+ Service22,
55
+ node27
56
+ } from "./agent-t8tthf19.js";
57
57
  import {
58
- Service30,
59
- node35
60
- } from "./model-resolver-0sawsjns.js";
58
+ Service25,
59
+ node30
60
+ } from "./agent-z2t3hhhz.js";
61
61
  import {
62
- Service31,
63
- node36
64
- } from "./model-resolver-n7qdmp8m.js";
62
+ Service27,
63
+ node32
64
+ } from "./agent-6qssrhkr.js";
65
65
  import {
66
- Service32,
67
- node37
68
- } from "./model-resolver-k8m05cxs.js";
66
+ Service26,
67
+ node31
68
+ } from "./agent-eyw6npvg.js";
69
69
  import {
70
- Service34,
71
- node38
72
- } from "./model-resolver-z6ccwhj9.js";
70
+ Service29,
71
+ node33
72
+ } from "./agent-1rc6tasv.js";
73
73
  import {
74
- Service41,
75
- node44
76
- } from "./model-resolver-y6wtm4ga.js";
74
+ Service39,
75
+ node42
76
+ } from "./agent-pkhmkcjw.js";
77
77
  import {
78
78
  __export
79
- } from "./model-resolver-9rqn6x4v.js";
79
+ } from "./agent-9rqn6x4v.js";
80
80
 
81
81
  // src/session/context.ts
82
82
  var exports_context = {};
83
83
  __export(exports_context, {
84
- Service: () => Service28,
84
+ Service: () => Service21,
85
85
  SessionContext: () => exports_context,
86
- node: () => node33
86
+ node: () => node26
87
87
  });
88
88
  import { Model } from "@opencode/schema/model";
89
89
  import { Context, Effect, Layer } from "effect";
90
90
  import { makeLocationNode } from "@opencode/util/effect/app-node";
91
- class Service28 extends Context.Service()("@opencode/SessionContext") {
91
+ class Service21 extends Context.Service()("@opencode/SessionContext") {
92
92
  }
93
- var layer = Layer.effect(Service28, Effect.gen(function* () {
93
+ var layer = Layer.effect(Service21, Effect.gen(function* () {
94
94
  const agents = yield* Service74;
95
- const builtins = yield* Service29;
96
- const catalog = yield* Service61;
97
- const db = (yield* Service79).db;
98
- const discovery = yield* Service54;
99
- const entries = yield* Service32;
100
- const location = yield* Service75;
101
- const mcpInstructions = yield* Service36;
102
- const mcpTools = yield* Service37;
103
- const models = yield* Service41;
104
- const modelRequests = yield* Service34;
105
- const referenceInstructions = yield* Service30;
106
- const skillInstructions = yield* Service31;
107
- const store = yield* Service72;
108
- const registry = yield* Service67;
95
+ const builtins = yield* Service23;
96
+ const catalog = yield* Service51;
97
+ const db = (yield* Service80).db;
98
+ const discovery = yield* Service34;
99
+ const entries = yield* Service26;
100
+ const location = yield* Service76;
101
+ const mcpInstructions = yield* Service22;
102
+ const mcpTools = yield* Service24;
103
+ const models = yield* Service39;
104
+ const modelRequests = yield* Service29;
105
+ const referenceInstructions = yield* Service25;
106
+ const skillInstructions = yield* Service27;
107
+ const store = yield* Service73;
108
+ const registry = yield* Service32;
109
109
  const resolveModel = (session) => models.resolve(session, catalog.model.available);
110
110
  const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
111
111
  const agent = yield* agents.get(ID15.make("title"));
@@ -161,7 +161,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
161
161
  agent: { ...agent, info: agent.info },
162
162
  instructions: combine2([
163
163
  loaded.builtins,
164
- make13(loaded.tools.codeModeCatalog),
164
+ make14(loaded.tools.codeModeCatalog),
165
165
  loaded.discovery,
166
166
  loaded.skills,
167
167
  loaded.references,
@@ -183,29 +183,29 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
183
183
  tools: selection.tools
184
184
  };
185
185
  });
186
- return Service28.of({ select, load, resolveModel, selectTitle, prepare: modelRequests.prepare });
186
+ return Service21.of({ select, load, resolveModel, selectTitle, prepare: modelRequests.prepare });
187
187
  }));
188
188
  var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => Model.VariantID.make(id));
189
- var node33 = makeLocationNode({
190
- service: Service28,
189
+ var node26 = makeLocationNode({
190
+ service: Service21,
191
191
  layer,
192
192
  deps: [
193
193
  node79,
194
- node65,
195
- node84,
196
- node34,
197
- node58,
198
- node37,
199
- node80,
200
- node40,
201
- node41,
202
- node35,
203
- node44,
194
+ node54,
195
+ node85,
196
+ node28,
204
197
  node38,
205
- node77,
206
- node36,
207
- node72
198
+ node31,
199
+ node81,
200
+ node27,
201
+ node29,
202
+ node30,
203
+ node42,
204
+ node33,
205
+ node78,
206
+ node32,
207
+ node36
208
208
  ]
209
209
  });
210
210
 
211
- export { Service28, node33, exports_context };
211
+ export { Service21, node26, exports_context };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./model-resolver-922hggd3.js";
4
+ } from "./agent-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service77,
9
- node82
10
- } from "./model-resolver-c68b4qab.js";
8
+ Service78,
9
+ node83
10
+ } from "./agent-kt5w8vxh.js";
11
11
  import {
12
- Service75,
13
- node80
14
- } from "./model-resolver-6fb6cyfd.js";
12
+ Service76,
13
+ node81
14
+ } from "./agent-bnb5rs4k.js";
15
15
  import {
16
16
  create3
17
- } from "./model-resolver-kg06axw8.js";
17
+ } from "./agent-kg06axw8.js";
18
18
  import {
19
19
  __export
20
- } from "./model-resolver-9rqn6x4v.js";
20
+ } from "./agent-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
25
  Error: () => Error3,
26
- ID: () => ID5,
27
- Service: () => Service44,
26
+ ID: () => ID4,
27
+ Service: () => Service42,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node47,
29
+ node: () => node45,
30
30
  noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -34,7 +34,7 @@ import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID5 } from "@opencode/schema/snapshot";
37
+ import { ID as ID4 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
39
  class Error3 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
@@ -43,13 +43,13 @@ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
43
43
  }) {
44
44
  }
45
45
 
46
- class Service44 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service42 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service44, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service42, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service77;
50
+ const git = yield* Service78;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service75;
52
+ const location = yield* Service76;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID5.make(yield* git.tree.capture({
85
+ return ID4.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -133,14 +133,14 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
133
133
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
134
134
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
135
135
  });
136
- return Service44.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
136
+ return Service42.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
137
137
  }).pipe(Effect.withSpan("Snapshot.boot")));
138
- var node47 = makeLocationNode({
139
- service: Service44,
138
+ var node45 = makeLocationNode({
139
+ service: Service42,
140
140
  layer,
141
- deps: [FSUtil.node, node82, Global.node, node80]
141
+ deps: [FSUtil.node, node83, Global.node, node81]
142
142
  });
143
- var noopLayer3 = Layer.succeed(Service44, Service44.of({
143
+ var noopLayer3 = Layer.succeed(Service42, Service42.of({
144
144
  transform: () => Effect.succeed({ dispose: Effect.void }),
145
145
  reload: () => Effect.void,
146
146
  capture: () => Effect.undefined,
@@ -158,4 +158,4 @@ function failure(operation, cause) {
158
158
  });
159
159
  }
160
160
 
161
- export { ID5, Error3, Service44, node47, noopLayer3, exports_snapshot2 };
161
+ export { ID4, Error3, Service42, node45, noopLayer3, exports_snapshot2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./agent-9rqn6x4v.js";
4
4
 
5
5
  // src/shell/result.ts
6
6
  var exports_result = {};
@@ -2,26 +2,26 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./model-resolver-922hggd3.js";
5
+ } from "./agent-922hggd3.js";
6
6
  import {
7
7
  Service64,
8
- node68
9
- } from "./model-resolver-6tdy5psv.js";
8
+ node67
9
+ } from "./agent-hdffb4y3.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./model-resolver-8d7r5vzw.js";
12
+ } from "./agent-8d7r5vzw.js";
13
13
  import {
14
14
  __export
15
- } from "./model-resolver-9rqn6x4v.js";
15
+ } from "./agent-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
19
19
  __export(exports_ripgrep, {
20
- Error: () => Error2,
20
+ Error: () => Error4,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service25,
24
- node: () => node29
23
+ Service: () => Service46,
24
+ node: () => node49
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/unstable/process";
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
46
46
  });
47
47
  var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
48
48
 
49
- class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
49
+ class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
50
50
  message: Schema.String,
51
51
  cause: Schema.optional(Schema.Defect())
52
52
  }) {
@@ -58,12 +58,12 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service25 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service46 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
- var failure = (message, cause) => new Error2({ message, cause });
63
+ var failure = (message, cause) => new Error4({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service25, Effect.gen(function* () {
66
+ var layer = Layer.effect(Service46, Effect.gen(function* () {
67
67
  const environment = yield* Service64;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
90
90
  return code === 1 ? [] : rows;
91
91
  }));
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
- return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
93
+ return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service25.of({
95
+ return Service46.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -174,6 +174,6 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
174
174
  }))))
175
175
  });
176
176
  }));
177
- var node29 = makeLocationNode({ service: Service25, layer, deps: [node68, RipgrepBinary2.node] });
177
+ var node49 = makeLocationNode({ service: Service46, layer, deps: [node67, RipgrepBinary2.node] });
178
178
 
179
- export { Error2, InvalidPatternError2, Service25, node29, exports_ripgrep };
179
+ export { Error4, InvalidPatternError2, Service46, node49, exports_ripgrep };
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service55
3
- } from "./model-resolver-n95h4grp.js";
2
+ Service40
3
+ } from "./agent-eb5dpmq2.js";
4
4
  import {
5
- Service26
6
- } from "./model-resolver-53kakmxw.js";
5
+ Service19
6
+ } from "./agent-c8mmaqea.js";
7
7
  import {
8
8
  text2,
9
9
  deliver2
10
- } from "./model-resolver-x1ezjp6w.js";
10
+ } from "./agent-x1ezjp6w.js";
11
11
  import {
12
12
  __export
13
- } from "./model-resolver-9rqn6x4v.js";
13
+ } from "./agent-9rqn6x4v.js";
14
14
 
15
15
  // src/session/subagent-job.ts
16
16
  var exports_subagent_job = {};
17
17
  __export(exports_subagent_job, {
18
18
  SubagentJob: () => exports_subagent_job,
19
- make: () => make9
19
+ make: () => make10
20
20
  });
21
21
  import { Effect, Scope } from "effect";
22
- var make9 = Effect.gen(function* () {
23
- const sessions = yield* Service26;
24
- const jobs = yield* Service55;
22
+ var make10 = Effect.gen(function* () {
23
+ const sessions = yield* Service19;
24
+ const jobs = yield* Service40;
25
25
  const scope = yield* Scope.Scope;
26
26
  const notifications = new Set;
27
27
  const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
@@ -58,4 +58,4 @@ var make9 = Effect.gen(function* () {
58
58
  };
59
59
  });
60
60
 
61
- export { make9, exports_subagent_job };
61
+ export { make10, exports_subagent_job };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./agent-9rqn6x4v.js";
4
4
 
5
5
  // src/file-retention.ts
6
6
  var exports_file_retention = {};
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./agent-9rqn6x4v.js";
4
4
 
5
5
  // src/instance/service.ts
6
6
  var exports_service2 = {};
7
7
  __export(exports_service2, {
8
8
  Instance: () => exports_service2,
9
- Service: () => Service42,
10
- node: () => node45
9
+ Service: () => Service38,
10
+ node: () => node41
11
11
  });
12
12
  import { Context } from "effect";
13
13
  import { Node } from "@opencode/util/effect/app-node";
14
14
  import { LayerNode } from "@opencode/util/effect/layer-node";
15
15
 
16
- class Service42 extends Context.Service()("@opencode/Instance") {
16
+ class Service38 extends Context.Service()("@opencode/Instance") {
17
17
  }
18
- var node45 = LayerNode.unbound(Service42, Node.tags.values.global);
18
+ var node41 = LayerNode.unbound(Service38, Node.tags.values.global);
19
19
 
20
- export { Service42, node45, exports_service2 };
20
+ export { Service38, node41, exports_service2 };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service49
3
- } from "./model-resolver-d6axdhgm.js";
2
+ Service60
3
+ } from "./agent-145gf29f.js";
4
4
  import {
5
5
  match2
6
- } from "./model-resolver-y1fvbwt7.js";
6
+ } from "./agent-y1fvbwt7.js";
7
7
  import {
8
8
  observe2
9
- } from "./model-resolver-qsdy395h.js";
9
+ } from "./agent-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./model-resolver-9rqn6x4v.js";
12
+ } from "./agent-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/policy.ts
15
15
  var exports_policy = {};
16
16
  __export(exports_policy, {
17
17
  ConfigPolicyPlugin: () => exports_policy,
18
- Plugin: () => Plugin17
18
+ Plugin: () => Plugin37
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin17 = define({
22
+ var Plugin37 = define({
23
23
  id: "opencode.config.policy",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service49;
25
+ const config = yield* Service60;
26
26
  const loaded = yield* observe2(config, ctx.event, ctx.catalog.reload());
27
27
  yield* ctx.catalog.transform((catalog) => {
28
28
  const policies = loaded.entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.experimental?.policies ?? []);
@@ -35,4 +35,4 @@ var Plugin17 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin17, exports_policy };
38
+ export { Plugin37, exports_policy };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service50,
3
- node53
4
- } from "./model-resolver-pk6gzyws.js";
2
+ Service61,
3
+ node64
4
+ } from "./agent-tbvmpry9.js";
5
5
  import {
6
- Service75,
7
- node80
8
- } from "./model-resolver-6fb6cyfd.js";
6
+ Service76,
7
+ node81
8
+ } from "./agent-bnb5rs4k.js";
9
9
  import {
10
- Service49,
11
- node52
12
- } from "./model-resolver-d6axdhgm.js";
10
+ Service60,
11
+ node63
12
+ } from "./agent-145gf29f.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./model-resolver-zxq2ej10.js";
16
+ } from "./agent-zxq2ej10.js";
17
17
  import {
18
18
  __export
19
- } from "./model-resolver-9rqn6x4v.js";
19
+ } from "./agent-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/source.ts
22
22
  var exports_source = {};
23
23
  __export(exports_source, {
24
24
  ConfigPluginSource: () => exports_source,
25
- Service: () => Service2,
25
+ Service: () => Service9,
26
26
  empty: () => empty2,
27
- layer: () => layer4,
28
- node: () => node4
27
+ layer: () => layer6,
28
+ node: () => node12
29
29
  });
30
30
  import { FSUtil } from "@opencode/util/fs-util";
31
31
  import { Host } from "@opencode/plugin/host";
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
34
34
  import path from "path";
35
35
  import { fileURLToPath, pathToFileURL } from "url";
36
- class Service2 extends Context.Service()("@opencode/ConfigPluginSource") {
36
+ class Service9 extends Context.Service()("@opencode/ConfigPluginSource") {
37
37
  }
38
- var layer4 = Layer.effect(Service2, Effect.gen(function* () {
39
- const config = yield* Service49;
40
- const watcher = yield* Service50;
38
+ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
39
+ const config = yield* Service60;
40
+ const watcher = yield* Service61;
41
41
  const fs = yield* FSUtil.Service;
42
- const location = yield* Service75;
42
+ const location = yield* Service76;
43
43
  const configuredChanges = yield* PubSub.unbounded();
44
44
  const watched = new Set;
45
45
  const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
@@ -58,7 +58,7 @@ var layer4 = Layer.effect(Service2, Effect.gen(function* () {
58
58
  yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
59
59
  }
60
60
  });
61
- return Service2.of({
61
+ return Service9.of({
62
62
  operations: Effect.fn("ConfigPluginSource.operations")(function* () {
63
63
  const entries = yield* config.entries();
64
64
  const operations = yield* scan(fs, location, entries);
@@ -70,14 +70,14 @@ var layer4 = Layer.effect(Service2, Effect.gen(function* () {
70
70
  })), Stream.fromPubSub(configuredChanges))
71
71
  });
72
72
  }));
73
- var node4 = makeLocationNode({
74
- service: Service2,
75
- layer: layer4,
76
- deps: [node52, FSUtil.node, node53, node80]
73
+ var node12 = makeLocationNode({
74
+ service: Service9,
75
+ layer: layer6,
76
+ deps: [node63, FSUtil.node, node64, node81]
77
77
  });
78
78
  var empty2 = makeLocationNode({
79
- service: Service2,
80
- layer: Layer.succeed(Service2, Service2.of({
79
+ service: Service9,
80
+ layer: Layer.succeed(Service9, Service9.of({
81
81
  operations: () => Effect.succeed([]),
82
82
  changes: () => Stream.never
83
83
  })),
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
137
137
  return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
138
138
  }
139
139
 
140
- export { Service2, layer4, node4, empty2, exports_source };
140
+ export { Service9, layer6, node12, empty2, exports_source };