@opencode/core 0.0.0-dev-19839 → 0.0.0-dev-19843

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 (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{worktree-yst3wyvc.js → model-resolver-05bpx1t2.js} +12 -12
  8. package/dist/chunks/{worktree-26k5bknw.js → model-resolver-06dxphr1.js} +4 -4
  9. package/dist/chunks/{worktree-6xwcf1a8.js → model-resolver-0m0tvs7x.js} +4 -4
  10. package/dist/chunks/{worktree-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{worktree-0q0f95c6.js → model-resolver-0q0f95c6.js} +1 -1
  12. package/dist/chunks/{worktree-a2wwx1s9.js → model-resolver-0q9638wm.js} +23 -23
  13. package/dist/chunks/{worktree-hzq9ckfm.js → model-resolver-0v8afgdk.js} +18 -18
  14. package/dist/chunks/{worktree-zrbcx4wy.js → model-resolver-0wqmnehs.js} +21 -21
  15. package/dist/chunks/{worktree-8nxjb84w.js → model-resolver-0x7w7yjj.js} +87 -87
  16. package/dist/chunks/{worktree-xcc1re04.js → model-resolver-0xghfzx7.js} +9 -9
  17. package/dist/chunks/{worktree-jrra6jmc.js → model-resolver-115tzmsk.js} +6 -6
  18. package/dist/chunks/{worktree-b0dgvpy7.js → model-resolver-11dqjexa.js} +9 -9
  19. package/dist/chunks/{worktree-jdp0p5sy.js → model-resolver-133zv6hb.js} +1 -1
  20. package/dist/chunks/{worktree-m31hrvtp.js → model-resolver-13q063b0.js} +20 -20
  21. package/dist/chunks/{worktree-ha48bngf.js → model-resolver-16xb7hp4.js} +26 -26
  22. package/dist/chunks/{worktree-f2n192rq.js → model-resolver-1acjjqhc.js} +4 -4
  23. package/dist/chunks/{worktree-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
  24. package/dist/chunks/{worktree-g5pg1z3v.js → model-resolver-1eqqj5b6.js} +24 -24
  25. package/dist/chunks/{worktree-135ds6rk.js → model-resolver-1fgfndcs.js} +12 -12
  26. package/dist/chunks/{worktree-2xx7cc67.js → model-resolver-1g07qj94.js} +35 -35
  27. package/dist/chunks/{worktree-a46v4e4v.js → model-resolver-1g7epwpd.js} +7 -7
  28. package/dist/chunks/{worktree-qk7sb3fs.js → model-resolver-1mqp8f91.js} +30 -30
  29. package/dist/chunks/{worktree-qz8rjx4n.js → model-resolver-1n6eeek5.js} +18 -18
  30. package/dist/chunks/{worktree-5fj6ztyw.js → model-resolver-1qr453ff.js} +86 -86
  31. package/dist/chunks/{worktree-h6366cww.js → model-resolver-1t9c4b87.js} +26 -26
  32. package/dist/chunks/{worktree-56gdpj1q.js → model-resolver-1ygqh575.js} +9 -9
  33. package/dist/chunks/{worktree-gm5vzmqr.js → model-resolver-21mj3dgx.js} +44 -44
  34. package/dist/chunks/{worktree-21r38tys.js → model-resolver-21r38tys.js} +1 -1
  35. package/dist/chunks/{worktree-2402vzrj.js → model-resolver-2402vzrj.js} +1 -1
  36. package/dist/chunks/{worktree-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
  37. package/dist/chunks/{worktree-26zmw6vg.js → model-resolver-2bkr1xer.js} +54 -54
  38. package/dist/chunks/{worktree-bjn91642.js → model-resolver-2evyaa68.js} +4 -4
  39. package/dist/chunks/{worktree-57ez7d0k.js → model-resolver-2fgn2we9.js} +9 -9
  40. package/dist/chunks/{worktree-zjhmce52.js → model-resolver-2h84f8r1.js} +1 -1
  41. package/dist/chunks/{worktree-rjn555ek.js → model-resolver-2r8ft4tw.js} +5 -5
  42. package/dist/chunks/{worktree-bhhhtnas.js → model-resolver-302aywek.js} +8 -8
  43. package/dist/chunks/{worktree-tx9w5tca.js → model-resolver-30846h32.js} +8 -8
  44. package/dist/chunks/{worktree-kh82he3q.js → model-resolver-330b90y3.js} +26 -26
  45. package/dist/chunks/{worktree-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
  46. package/dist/chunks/{worktree-39xar9bx.js → model-resolver-3fxkvrnp.js} +15 -15
  47. package/dist/chunks/{worktree-05tvpv5w.js → model-resolver-3gjeg5xr.js} +12 -12
  48. package/dist/chunks/{worktree-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
  49. package/dist/chunks/{worktree-7zs56f9j.js → model-resolver-3q1d0z61.js} +6 -6
  50. package/dist/chunks/{worktree-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
  51. package/dist/chunks/{worktree-zab19jja.js → model-resolver-3syvqavp.js} +9 -9
  52. package/dist/chunks/{worktree-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
  53. package/dist/chunks/{worktree-3cfzdc8e.js → model-resolver-3w0fmcng.js} +5 -5
  54. package/dist/chunks/{worktree-bdreqd6y.js → model-resolver-3w4ewrwk.js} +9 -9
  55. package/dist/chunks/{worktree-bpsvpgx8.js → model-resolver-3xxdkst7.js} +15 -15
  56. package/dist/chunks/{worktree-p6fzwed5.js → model-resolver-43ahs7k8.js} +3 -3
  57. package/dist/chunks/{worktree-9kpbfwfm.js → model-resolver-442kn1aa.js} +26 -26
  58. package/dist/chunks/{worktree-b0gk7qzq.js → model-resolver-47hapfj2.js} +20 -20
  59. package/dist/chunks/{worktree-75xv13tv.js → model-resolver-49r2655e.js} +8 -8
  60. package/dist/chunks/{worktree-ggfrbsvd.js → model-resolver-4d6kgwwt.js} +8 -8
  61. package/dist/chunks/{worktree-44h5tttr.js → model-resolver-4dgbcxzg.js} +4 -4
  62. package/dist/chunks/{worktree-d4cw493d.js → model-resolver-4rbr99e5.js} +4 -4
  63. package/dist/chunks/{worktree-qj8eh1ht.js → model-resolver-50mzsvk4.js} +4 -4
  64. package/dist/chunks/{worktree-ezy2bptn.js → model-resolver-5bdbc12f.js} +8 -8
  65. package/dist/chunks/{worktree-ntj434hm.js → model-resolver-5bvvre9n.js} +6 -6
  66. package/dist/chunks/{worktree-5c4hm403.js → model-resolver-5c4hm403.js} +3 -3
  67. package/dist/chunks/{worktree-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
  68. package/dist/chunks/{worktree-qwyrfpbr.js → model-resolver-5ge5ntkv.js} +2 -2
  69. package/dist/chunks/{worktree-1j08d619.js → model-resolver-5h6w6v98.js} +21 -21
  70. package/dist/chunks/{worktree-2grvmngk.js → model-resolver-5hssebmz.js} +11 -11
  71. package/dist/chunks/{worktree-5g7dqg8p.js → model-resolver-5hxd3nfe.js} +5 -5
  72. package/dist/chunks/{worktree-7ge5j3yy.js → model-resolver-5qsdg0y7.js} +26 -26
  73. package/dist/chunks/{worktree-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
  74. package/dist/chunks/{worktree-d96a640y.js → model-resolver-60as4dx3.js} +15 -15
  75. package/dist/chunks/{worktree-7hqt86v7.js → model-resolver-636gmhwa.js} +43 -43
  76. package/dist/chunks/{worktree-669tq793.js → model-resolver-669tq793.js} +1 -1
  77. package/dist/chunks/{worktree-n0c6g085.js → model-resolver-6eqynsgf.js} +32 -32
  78. package/dist/chunks/{worktree-y9wbn93n.js → model-resolver-6fmyjk66.js} +21 -21
  79. package/dist/chunks/{worktree-bv5fntwv.js → model-resolver-6frsr8qs.js} +15 -15
  80. package/dist/chunks/{worktree-bwj0s2z3.js → model-resolver-6m8f443c.js} +5 -5
  81. package/dist/chunks/{worktree-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
  82. package/dist/chunks/{worktree-m64xvjj1.js → model-resolver-70y17xeh.js} +5 -5
  83. package/dist/chunks/{worktree-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
  84. package/dist/chunks/{worktree-2k8khapm.js → model-resolver-7dqw4kz8.js} +5 -5
  85. package/dist/chunks/{worktree-0njhf5dz.js → model-resolver-7hjq573z.js} +9 -9
  86. package/dist/chunks/{worktree-25cs5cen.js → model-resolver-7j2qha59.js} +8 -8
  87. package/dist/chunks/{worktree-d57x1pyx.js → model-resolver-821by267.js} +7 -7
  88. package/dist/chunks/{worktree-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
  89. package/dist/chunks/{worktree-gwzmxzqv.js → model-resolver-8e6v1gzw.js} +16 -16
  90. package/dist/chunks/{worktree-8c28nkj2.js → model-resolver-8gw7hntm.js} +13 -13
  91. package/dist/chunks/{worktree-tz4n1mmd.js → model-resolver-8gxqpgph.js} +4 -4
  92. package/dist/chunks/{worktree-y9v5gkeq.js → model-resolver-8p8fqdjb.js} +4 -4
  93. package/dist/chunks/{worktree-ztf7grp6.js → model-resolver-8tcwmm4z.js} +10 -10
  94. package/dist/chunks/{worktree-rjh41bnw.js → model-resolver-985n0a3v.js} +6 -6
  95. package/dist/chunks/{worktree-4jq676mw.js → model-resolver-9ag5djza.js} +5 -5
  96. package/dist/chunks/{worktree-qsfdmrhc.js → model-resolver-9bzvwb7r.js} +9 -9
  97. package/dist/chunks/{worktree-br0tr5aq.js → model-resolver-9hn6k4tm.js} +8 -8
  98. package/dist/chunks/{worktree-v53ttaz3.js → model-resolver-9rjxcf4s.js} +9 -9
  99. package/dist/chunks/{worktree-r92bbbhx.js → model-resolver-a0858690.js} +8 -8
  100. package/dist/chunks/{worktree-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
  101. package/dist/chunks/{worktree-8gyebbke.js → model-resolver-afjpdfdw.js} +9 -9
  102. package/dist/chunks/{worktree-8wvjpm5e.js → model-resolver-agym5kke.js} +43 -43
  103. package/dist/chunks/{worktree-4jf64xzc.js → model-resolver-ahhj99d2.js} +14 -14
  104. package/dist/chunks/{worktree-3wx5qy6d.js → model-resolver-atw7h3x9.js} +8 -8
  105. package/dist/chunks/{worktree-v4gw1aty.js → model-resolver-av47bmrc.js} +24 -24
  106. package/dist/chunks/{worktree-vmgq4x8b.js → model-resolver-b09hzw3k.js} +2 -2
  107. package/dist/chunks/{worktree-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
  108. package/dist/chunks/{worktree-1gayks8f.js → model-resolver-b7rmz7dj.js} +18 -18
  109. package/dist/chunks/{worktree-ks6fp8g0.js → model-resolver-b7vycytf.js} +14 -14
  110. package/dist/chunks/{worktree-pyj9dmja.js → model-resolver-b9kdhzyq.js} +13 -13
  111. package/dist/chunks/{worktree-c71ge8jf.js → model-resolver-bg3244xz.js} +15 -15
  112. package/dist/chunks/{worktree-m55360kq.js → model-resolver-btxmggav.js} +48 -48
  113. package/dist/chunks/{worktree-b97cbvw3.js → model-resolver-bz85s9hh.js} +1 -1
  114. package/dist/chunks/{worktree-k06dajrc.js → model-resolver-c44r8hhs.js} +13 -13
  115. package/dist/chunks/{worktree-91xevwh1.js → model-resolver-c48cwedc.js} +5 -5
  116. package/dist/chunks/{worktree-zwnqbtaj.js → model-resolver-c4wqv7k3.js} +31 -31
  117. package/dist/chunks/{worktree-mrcbab82.js → model-resolver-cah21tc8.js} +6 -6
  118. package/dist/chunks/{worktree-7p8zv4r2.js → model-resolver-cavhxt7x.js} +26 -26
  119. package/dist/chunks/{worktree-8gr00jt2.js → model-resolver-cf1x67r7.js} +3 -3
  120. package/dist/chunks/{worktree-1jcctp8h.js → model-resolver-cf2zwr71.js} +19 -19
  121. package/dist/chunks/{worktree-pkwse4rj.js → model-resolver-cgm9r2q3.js} +10 -10
  122. package/dist/chunks/{worktree-qmqgtz8f.js → model-resolver-cwa6csj7.js} +9 -9
  123. package/dist/chunks/{worktree-hz84tk5e.js → model-resolver-cyhsea0k.js} +8 -8
  124. package/dist/chunks/{worktree-nea2jzm4.js → model-resolver-d4j0zdza.js} +16 -16
  125. package/dist/chunks/{worktree-hgcakkdy.js → model-resolver-d9bx1agn.js} +4 -4
  126. package/dist/chunks/{worktree-pg2axqyg.js → model-resolver-dcqzdpn7.js} +11 -11
  127. package/dist/chunks/{worktree-dj2t23y0.js → model-resolver-dj2t23y0.js} +2 -2
  128. package/dist/chunks/{worktree-ms96e6xa.js → model-resolver-dmsqs59m.js} +5 -5
  129. package/dist/chunks/{worktree-y71avatq.js → model-resolver-dpkg50ah.js} +4 -4
  130. package/dist/chunks/{worktree-3stbnqm0.js → model-resolver-e1q5pbg3.js} +38 -38
  131. package/dist/chunks/{worktree-vmwh049b.js → model-resolver-e5xpd6yj.js} +6 -6
  132. package/dist/chunks/{worktree-wbtxrwsd.js → model-resolver-e66w66e0.js} +16 -16
  133. package/dist/chunks/{worktree-97z8nx23.js → model-resolver-e9197vrp.js} +36 -36
  134. package/dist/chunks/{worktree-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{worktree-ynvr2dvc.js → model-resolver-ef861y8h.js} +23 -23
  136. package/dist/chunks/{worktree-twmrfj2d.js → model-resolver-efgaas88.js} +29 -29
  137. package/dist/chunks/{worktree-87dgkaj8.js → model-resolver-enwhvmwb.js} +10 -10
  138. package/dist/chunks/model-resolver-epegjq71.js +252 -0
  139. package/dist/chunks/{worktree-mvfsc1pv.js → model-resolver-eq1pz5kg.js} +3 -3
  140. package/dist/chunks/{worktree-erw5rpbs.js → model-resolver-erw5rpbs.js} +2 -2
  141. package/dist/chunks/{worktree-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
  142. package/dist/chunks/{worktree-jfqbecxf.js → model-resolver-f0x0s4x5.js} +3 -3
  143. package/dist/chunks/{worktree-50x9syx5.js → model-resolver-f3r6a36m.js} +25 -25
  144. package/dist/chunks/{worktree-2tfmgkzg.js → model-resolver-fab8hzt3.js} +4 -4
  145. package/dist/chunks/{worktree-36385fv4.js → model-resolver-fgq6rdwq.js} +5 -5
  146. package/dist/chunks/{worktree-83gabncn.js → model-resolver-fjccm0sw.js} +24 -24
  147. package/dist/chunks/{worktree-rhn8bjdn.js → model-resolver-fnq9tzhn.js} +30 -30
  148. package/dist/chunks/{worktree-r98rf7en.js → model-resolver-fvh6y88j.js} +20 -20
  149. package/dist/chunks/{worktree-fxbjtjnd.js → model-resolver-fxbjtjnd.js} +1 -1
  150. package/dist/chunks/{worktree-y31avz63.js → model-resolver-gchrb8vs.js} +5 -5
  151. package/dist/chunks/{worktree-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
  152. package/dist/chunks/{worktree-fv3nz7za.js → model-resolver-gg802qrt.js} +9 -9
  153. package/dist/chunks/{worktree-gv6a8nnw.js → model-resolver-gv6a8nnw.js} +2 -2
  154. package/dist/chunks/{worktree-mn85ck47.js → model-resolver-h5cj5dem.js} +29 -29
  155. package/dist/chunks/{worktree-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
  156. package/dist/chunks/{worktree-hdnk95c8.js → model-resolver-hdnk95c8.js} +2 -2
  157. package/dist/chunks/model-resolver-ht5y0zrb.js +18 -0
  158. package/dist/chunks/{worktree-346kb89v.js → model-resolver-hw5aqd1g.js} +10 -10
  159. package/dist/chunks/{worktree-4m36v5dn.js → model-resolver-hyf7bjak.js} +24 -24
  160. package/dist/chunks/{worktree-9x09xbgz.js → model-resolver-hz1mhzfh.js} +3 -3
  161. package/dist/chunks/{worktree-cph6vb6s.js → model-resolver-hz39a88h.js} +23 -23
  162. package/dist/chunks/{worktree-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
  163. package/dist/chunks/{worktree-kz2med77.js → model-resolver-jw14ppbh.js} +18 -18
  164. package/dist/chunks/{worktree-z0hmyh7c.js → model-resolver-k1c74kvt.js} +26 -26
  165. package/dist/chunks/{worktree-g057r8b7.js → model-resolver-k31ypr3h.js} +6 -6
  166. package/dist/chunks/{worktree-qge4gbge.js → model-resolver-k7822xv0.js} +11 -11
  167. package/dist/chunks/{worktree-mdjkd3ee.js → model-resolver-krawv8h4.js} +20 -20
  168. package/dist/chunks/{worktree-kv9x9mds.js → model-resolver-kwxm6asy.js} +4 -4
  169. package/dist/chunks/{worktree-m0jqrx5p.js → model-resolver-m0jqrx5p.js} +2 -2
  170. package/dist/chunks/{worktree-m3fdjcah.js → model-resolver-m3fdjcah.js} +1 -1
  171. package/dist/chunks/{worktree-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
  172. package/dist/chunks/{worktree-n32egdgz.js → model-resolver-mddgbemq.js} +26 -26
  173. package/dist/chunks/{worktree-89s1mcqs.js → model-resolver-n810d9f4.js} +10 -10
  174. package/dist/chunks/{worktree-bk738gev.js → model-resolver-n93j4s2c.js} +17 -17
  175. package/dist/chunks/{worktree-12xc1hc8.js → model-resolver-n9w42s1q.js} +9 -9
  176. package/dist/chunks/{worktree-3errd6sf.js → model-resolver-nbxdrwjw.js} +47 -47
  177. package/dist/chunks/{worktree-eex107wk.js → model-resolver-nbzsj80d.js} +8 -8
  178. package/dist/chunks/{worktree-a89emqe4.js → model-resolver-nc9v3jx5.js} +173 -173
  179. package/dist/chunks/{worktree-n4b7qefn.js → model-resolver-nf80skmj.js} +16 -16
  180. package/dist/chunks/{worktree-zhsyjq1s.js → model-resolver-nn97278r.js} +13 -13
  181. package/dist/chunks/{worktree-32kkc7q0.js → model-resolver-npba7pfw.js} +19 -19
  182. package/dist/chunks/{worktree-k3c624dm.js → model-resolver-nzks3jc8.js} +3 -3
  183. package/dist/chunks/{worktree-tbz0fdvh.js → model-resolver-p28j5sbe.js} +5 -5
  184. package/dist/chunks/{worktree-q0r1avd8.js → model-resolver-p7nftz6b.js} +36 -36
  185. package/dist/chunks/{worktree-d2aac7k2.js → model-resolver-pecb0brz.js} +5 -5
  186. package/dist/chunks/{worktree-2rr20z1w.js → model-resolver-pfzrvarp.js} +4 -4
  187. package/dist/chunks/{worktree-0w34kcyc.js → model-resolver-pga14111.js} +9 -9
  188. package/dist/chunks/{worktree-ybtbm60b.js → model-resolver-phqer4q0.js} +40 -40
  189. package/dist/chunks/{worktree-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
  190. package/dist/chunks/{worktree-pknna89w.js → model-resolver-pknna89w.js} +1 -1
  191. package/dist/chunks/{worktree-eq8dtg11.js → model-resolver-pnnqzn53.js} +8 -8
  192. package/dist/chunks/{worktree-heyyxcdn.js → model-resolver-ppte1p09.js} +23 -23
  193. package/dist/chunks/{worktree-ss2rtpw1.js → model-resolver-pqbcvpxd.js} +13 -13
  194. package/dist/chunks/{worktree-79rfjzgm.js → model-resolver-pyejz7ph.js} +15 -15
  195. package/dist/chunks/{worktree-gc3cjvmd.js → model-resolver-pz7a6r4w.js} +5 -5
  196. package/dist/chunks/{worktree-awavsj5m.js → model-resolver-q29b2gah.js} +3 -3
  197. package/dist/chunks/{worktree-nksn1ctm.js → model-resolver-qc51xf0a.js} +20 -20
  198. package/dist/chunks/{worktree-e8qyrgb1.js → model-resolver-qdbakdjh.js} +5 -5
  199. package/dist/chunks/{worktree-fhs97t90.js → model-resolver-qg0jgkcp.js} +9 -9
  200. package/dist/chunks/{worktree-sj0sw9zb.js → model-resolver-qn9jv2jm.js} +32 -32
  201. package/dist/chunks/{worktree-drwq78ky.js → model-resolver-qqeeq2t9.js} +7 -7
  202. package/dist/chunks/{worktree-n9nnv5bx.js → model-resolver-qqrtcnkc.js} +24 -24
  203. package/dist/chunks/{worktree-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
  204. package/dist/chunks/{worktree-rdrgmjyp.js → model-resolver-qxfgkbem.js} +8 -8
  205. package/dist/chunks/{worktree-nbcy93d5.js → model-resolver-qxpavsr8.js} +68 -68
  206. package/dist/chunks/{worktree-0e4n6tbr.js → model-resolver-qye67he0.js} +15 -15
  207. package/dist/chunks/{worktree-t243pvw8.js → model-resolver-r04fb0ma.js} +12 -12
  208. package/dist/chunks/{worktree-5e1anv4t.js → model-resolver-r0tjgr50.js} +21 -21
  209. package/dist/chunks/{worktree-23pqda6t.js → model-resolver-r33ff4dw.js} +6 -6
  210. package/dist/chunks/{worktree-09r3zm1x.js → model-resolver-r841few8.js} +7 -7
  211. package/dist/chunks/{worktree-nrfrnn4g.js → model-resolver-r8v8adjt.js} +30 -30
  212. package/dist/chunks/{worktree-ddt58ebd.js → model-resolver-rayjs69j.js} +11 -11
  213. package/dist/chunks/{worktree-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
  214. package/dist/chunks/{worktree-xpxqhtvz.js → model-resolver-rejt6bp0.js} +25 -25
  215. package/dist/chunks/{worktree-eaj1djv9.js → model-resolver-rhjbct0v.js} +8 -8
  216. package/dist/chunks/{worktree-awazhe6z.js → model-resolver-rjy92yfz.js} +15 -15
  217. package/dist/chunks/{worktree-2xb0rw2k.js → model-resolver-rk9t7fxt.js} +8 -8
  218. package/dist/chunks/{worktree-hj38q284.js → model-resolver-rq9sfwah.js} +22 -22
  219. package/dist/chunks/{worktree-wkfva7bh.js → model-resolver-rzd1prf9.js} +27 -27
  220. package/dist/chunks/{worktree-qvd2vpt5.js → model-resolver-rztfdspk.js} +23 -23
  221. package/dist/chunks/{worktree-ndqm9729.js → model-resolver-s2ebsh4k.js} +16 -16
  222. package/dist/chunks/{worktree-y5df08dr.js → model-resolver-scgm85f3.js} +12 -12
  223. package/dist/chunks/{worktree-7d0yyna9.js → model-resolver-smp5hqs3.js} +8 -8
  224. package/dist/chunks/{worktree-5k7h9vpf.js → model-resolver-sqnsaxnr.js} +23 -23
  225. package/dist/chunks/{worktree-nrvgxq91.js → model-resolver-srv6jbph.js} +4 -4
  226. package/dist/chunks/{worktree-t2866z93.js → model-resolver-ss4xmamw.js} +12 -12
  227. package/dist/chunks/{worktree-3spkf7qp.js → model-resolver-ssv7vh4d.js} +11 -11
  228. package/dist/chunks/{worktree-35zpw20s.js → model-resolver-t85xqwrf.js} +7 -7
  229. package/dist/chunks/{worktree-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{worktree-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
  231. package/dist/chunks/{worktree-tdstcens.js → model-resolver-tdstcens.js} +1 -1
  232. package/dist/chunks/model-resolver-tjen3va7.js +492 -0
  233. package/dist/chunks/{worktree-hekpxy8z.js → model-resolver-tmvpfzkm.js} +5 -5
  234. package/dist/chunks/{worktree-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
  235. package/dist/chunks/{worktree-jqtedxjm.js → model-resolver-v0y6s5p7.js} +42 -42
  236. package/dist/chunks/{worktree-0vr4ynh9.js → model-resolver-v27m40rm.js} +30 -30
  237. package/dist/chunks/{worktree-8tsdq50x.js → model-resolver-vbfgae2j.js} +4 -4
  238. package/dist/chunks/{worktree-0v53mg2y.js → model-resolver-ve4pfa0n.js} +4 -4
  239. package/dist/chunks/{worktree-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
  240. package/dist/chunks/{worktree-ctf4v5qh.js → model-resolver-vjf65k2b.js} +11 -11
  241. package/dist/chunks/{worktree-mc3xbmaq.js → model-resolver-vstc3933.js} +18 -18
  242. package/dist/chunks/{worktree-p0w9t4nv.js → model-resolver-vvjdmnc6.js} +18 -18
  243. package/dist/chunks/{worktree-rq75yw12.js → model-resolver-vw3e9fxe.js} +6 -6
  244. package/dist/chunks/{worktree-dcvngtvp.js → model-resolver-vxkc1n72.js} +32 -32
  245. package/dist/chunks/{worktree-23sxaqwc.js → model-resolver-vyqn3nqs.js} +6 -6
  246. package/dist/chunks/{worktree-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
  247. package/dist/chunks/{worktree-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/{worktree-8e1xm2jx.js → model-resolver-w48fcq56.js} +15 -15
  249. package/dist/chunks/{worktree-780m7f13.js → model-resolver-w52zt19p.js} +27 -27
  250. package/dist/chunks/{worktree-wd87259q.js → model-resolver-wd87259q.js} +1 -1
  251. package/dist/chunks/{worktree-pcvbzdg6.js → model-resolver-wk759sqm.js} +31 -31
  252. package/dist/chunks/{worktree-c9q1sp9w.js → model-resolver-wkn3809p.js} +10 -10
  253. package/dist/chunks/{worktree-pfgvbcn0.js → model-resolver-wqedn24d.js} +7 -7
  254. package/dist/chunks/{worktree-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
  255. package/dist/chunks/{worktree-2h5p72nb.js → model-resolver-x4zwv76m.js} +4 -4
  256. package/dist/chunks/{worktree-xjd2fv1x.js → model-resolver-x5860ntt.js} +41 -41
  257. package/dist/chunks/{worktree-fmkkzw6c.js → model-resolver-x87aptrd.js} +12 -12
  258. package/dist/chunks/{worktree-a70mfejk.js → model-resolver-x9159bxd.js} +55 -55
  259. package/dist/chunks/{worktree-jhf3jymm.js → model-resolver-xcd0eash.js} +6 -6
  260. package/dist/chunks/{worktree-5nvfww89.js → model-resolver-xe6cmgbq.js} +9 -9
  261. package/dist/chunks/{worktree-jvmrmb3q.js → model-resolver-xgsfyewx.js} +4 -4
  262. package/dist/chunks/{worktree-cyq0b8sg.js → model-resolver-xkmv5agz.js} +17 -17
  263. package/dist/chunks/{worktree-ez0trfpj.js → model-resolver-xnyqt6gv.js} +9 -9
  264. package/dist/chunks/{worktree-0et686r7.js → model-resolver-xpax8x5w.js} +7 -7
  265. package/dist/chunks/{worktree-sej8f238.js → model-resolver-xs1r8498.js} +11 -11
  266. package/dist/chunks/{worktree-pv1q3n8t.js → model-resolver-xs8wfhd6.js} +12 -12
  267. package/dist/chunks/{worktree-hkchw422.js → model-resolver-xvw3exqc.js} +13 -13
  268. package/dist/chunks/{worktree-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{worktree-5cmxdwv8.js → model-resolver-y6f0p4jw.js} +3 -3
  270. package/dist/chunks/{worktree-vxrfxpxs.js → model-resolver-y8r1zn9y.js} +6 -6
  271. package/dist/chunks/{worktree-fp9dkyzv.js → model-resolver-ye6dhg8n.js} +30 -30
  272. package/dist/chunks/{worktree-e6hmchc5.js → model-resolver-yjptyezs.js} +5 -5
  273. package/dist/chunks/{worktree-g4ap4hkb.js → model-resolver-yndsq8dt.js} +38 -38
  274. package/dist/chunks/{worktree-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{worktree-yrznvahk.js → model-resolver-yrznvahk.js} +2 -2
  276. package/dist/chunks/{worktree-nrqt53h4.js → model-resolver-yw50seq0.js} +26 -26
  277. package/dist/chunks/model-resolver-yzmdswv1.js +26 -0
  278. package/dist/chunks/{worktree-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{worktree-m3mk1ymc.js → model-resolver-z0f6wna2.js} +9 -9
  280. package/dist/chunks/{worktree-9qwzd11x.js → model-resolver-z491n86c.js} +3 -3
  281. package/dist/chunks/{worktree-ywrevtsf.js → model-resolver-z4fy0qdv.js} +16 -16
  282. package/dist/chunks/{worktree-z63w68vq.js → model-resolver-z63w68vq.js} +2 -2
  283. package/dist/chunks/{worktree-smxfcp26.js → model-resolver-zccdra3h.js} +6 -6
  284. package/dist/chunks/{worktree-zeh9ct20.js → model-resolver-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{worktree-rrern9t5.js → model-resolver-zejyxjry.js} +37 -37
  286. package/dist/chunks/{worktree-knb7evpn.js → model-resolver-zqx8wcya.js} +4 -4
  287. package/dist/chunks/{worktree-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{worktree-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +11 -11
  291. package/dist/codemode/tool.js +3 -3
  292. package/dist/codemode/web.js +1 -1
  293. package/dist/command.js +84 -84
  294. package/dist/config/discovery.js +81 -81
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +105 -105
  297. package/dist/config/plugin/agent.js +124 -124
  298. package/dist/config/plugin/command.js +213 -213
  299. package/dist/config/plugin/compaction.js +161 -161
  300. package/dist/config/plugin/compatibility.js +140 -140
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +123 -123
  303. package/dist/config/plugin/image.js +122 -122
  304. package/dist/config/plugin/instruction.js +89 -89
  305. package/dist/config/plugin/location-watcher.js +124 -124
  306. package/dist/config/plugin/mcp.js +131 -131
  307. package/dist/config/plugin/policy.js +122 -122
  308. package/dist/config/plugin/provider.js +122 -122
  309. package/dist/config/plugin/reference.js +124 -124
  310. package/dist/config/plugin/shell.js +122 -122
  311. package/dist/config/plugin/skill-file.js +101 -101
  312. package/dist/config/plugin/skill.js +143 -143
  313. package/dist/config/plugin/snapshot.js +122 -122
  314. package/dist/config/plugin/source.js +125 -125
  315. package/dist/config/plugin/tool-output.js +124 -124
  316. package/dist/config/plugin/websearch.js +121 -121
  317. package/dist/config/plugin/worktree.js +124 -124
  318. package/dist/config/variable.js +3 -3
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +121 -121
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +84 -84
  323. package/dist/database/database.js +65 -65
  324. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  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 +16 -16
  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 +75 -75
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +368 -368
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +3 -3
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +92 -92
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +94 -94
  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 +69 -69
  412. package/dist/file-access.js +103 -103
  413. package/dist/file-mutation.js +93 -93
  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 +226 -226
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +102 -102
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +7 -7
  427. package/dist/filesystem.js +101 -101
  428. package/dist/form.js +85 -85
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +86 -86
  431. package/dist/generate.js +100 -100
  432. package/dist/git.js +10 -10
  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 +90 -90
  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 +359 -359
  457. package/dist/instruction-discovery.js +84 -84
  458. package/dist/instructions/builtins.js +84 -84
  459. package/dist/instructions/index.js +5 -5
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +85 -85
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +70 -70
  465. package/dist/location-activity.js +131 -131
  466. package/dist/location-lifecycle.js +105 -105
  467. package/dist/location-mutation.js +103 -103
  468. package/dist/location-service-map.js +85 -85
  469. package/dist/location-services.js +356 -356
  470. package/dist/location.js +86 -86
  471. package/dist/mcp/client.js +90 -90
  472. package/dist/mcp/index.js +105 -105
  473. package/dist/mcp/instructions.js +127 -127
  474. package/dist/mcp/oauth.js +77 -77
  475. package/dist/mcp/stdio.js +89 -89
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +90 -90
  478. package/dist/model-resolver.js +97 -97
  479. package/dist/model.js +99 -99
  480. package/dist/models-dev.js +106 -106
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +79 -79
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +112 -112
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +79 -79
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +74 -74
  490. package/dist/plugin/agent.js +103 -103
  491. package/dist/plugin/command.js +100 -100
  492. package/dist/plugin/compaction.js +132 -132
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +217 -217
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +330 -330
  498. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  499. package/dist/plugin/models-dev.js +95 -95
  500. package/dist/plugin/module.js +7 -7
  501. package/dist/plugin/optimize.js +2 -2
  502. package/dist/plugin/plan.js +101 -101
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  505. package/dist/plugin/provider/azure.js +121 -121
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +118 -118
  511. package/dist/plugin/provider/digitalocean.js +92 -92
  512. package/dist/plugin/provider/dynamic.js +2 -2
  513. package/dist/plugin/provider/factory.js +1 -1
  514. package/dist/plugin/provider/gateway.js +2 -2
  515. package/dist/plugin/provider/github-copilot.js +92 -92
  516. package/dist/plugin/provider/gitlab.js +90 -90
  517. package/dist/plugin/provider/google-vertex.js +89 -89
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +76 -76
  520. package/dist/plugin/provider/lmstudio.js +121 -121
  521. package/dist/plugin/provider/modal.js +91 -91
  522. package/dist/plugin/provider/nvidia.js +1 -1
  523. package/dist/plugin/provider/ollama.js +121 -121
  524. package/dist/plugin/provider/openai.js +91 -91
  525. package/dist/plugin/provider/opencode.js +92 -92
  526. package/dist/plugin/provider/openrouter.js +90 -90
  527. package/dist/plugin/provider/perplexity.js +2 -2
  528. package/dist/plugin/provider/poe.js +77 -77
  529. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  530. package/dist/plugin/provider/sap-ai-core.js +90 -90
  531. package/dist/plugin/provider/sdk-factory.js +1 -1
  532. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  533. package/dist/plugin/provider/venice.js +2 -2
  534. package/dist/plugin/provider/vercel.js +89 -89
  535. package/dist/plugin/provider/vllm.js +121 -121
  536. package/dist/plugin/provider/xai.js +90 -90
  537. package/dist/plugin/provider/zenmux.js +1 -1
  538. package/dist/plugin/provider.js +158 -158
  539. package/dist/plugin/sdk.js +75 -75
  540. package/dist/plugin/service.js +3 -3
  541. package/dist/plugin/skill.js +140 -140
  542. package/dist/plugin/source-directory.js +1 -1
  543. package/dist/plugin/supervisor.js +349 -349
  544. package/dist/plugin/tool-input-repair.js +4 -4
  545. package/dist/plugin/update.js +6 -6
  546. package/dist/plugin/vcs/git.js +85 -85
  547. package/dist/plugin/vcs/hg.js +85 -85
  548. package/dist/plugin/warming.js +120 -120
  549. package/dist/plugin/websearch/exa.js +7 -7
  550. package/dist/plugin/websearch/firecrawl.js +8 -8
  551. package/dist/plugin/websearch/index.js +9 -9
  552. package/dist/plugin/websearch/mcp.js +6 -6
  553. package/dist/plugin/websearch/parallel.js +6 -6
  554. package/dist/plugin/websearch/tavily.js +6 -6
  555. package/dist/plugin/websearch/tinyfish.js +8 -8
  556. package/dist/plugin.js +224 -224
  557. package/dist/project/schema.js +8 -8
  558. package/dist/project/sql.js +4 -4
  559. package/dist/project.js +87 -87
  560. package/dist/provider.js +100 -100
  561. package/dist/pty/protocol.js +1 -1
  562. package/dist/pty/schema.js +1 -1
  563. package/dist/pty/ticket.js +1 -1
  564. package/dist/pty.js +87 -87
  565. package/dist/reference/instructions.js +88 -88
  566. package/dist/reference.js +90 -90
  567. package/dist/repository-cache.js +80 -80
  568. package/dist/repository.js +1 -1
  569. package/dist/ripgrep/binary.js +2 -2
  570. package/dist/ripgrep.js +96 -96
  571. package/dist/rpc.js +85 -85
  572. package/dist/schema.js +1 -1
  573. package/dist/session/command.js +73 -73
  574. package/dist/session/compaction.js +133 -133
  575. package/dist/session/context.js +151 -151
  576. package/dist/session/diff.js +87 -87
  577. package/dist/session/environment.js +5 -5
  578. package/dist/session/error.js +5 -5
  579. package/dist/session/event.js +1 -1
  580. package/dist/session/execution/restart.js +220 -220
  581. package/dist/session/execution.js +125 -125
  582. package/dist/session/generate.js +150 -150
  583. package/dist/session/history.js +13 -13
  584. package/dist/session/inbox.js +87 -87
  585. package/dist/session/info.js +3 -3
  586. package/dist/session/instruction-entry.js +76 -76
  587. package/dist/session/instruction-state.js +8 -8
  588. package/dist/session/instructions.js +92 -92
  589. package/dist/session/message-updater.js +4 -4
  590. package/dist/session/message.js +1 -1
  591. package/dist/session/model-request.js +116 -116
  592. package/dist/session/model-transport.js +7 -7
  593. package/dist/session/move.js +129 -129
  594. package/dist/session/projector.js +85 -85
  595. package/dist/session/prompt.js +104 -104
  596. package/dist/session/provider-context.js +3 -3
  597. package/dist/session/revert.js +89 -89
  598. package/dist/session/run-coordinator.js +3 -3
  599. package/dist/session/runner/index.js +3 -3
  600. package/dist/session/runner/llm.js +230 -230
  601. package/dist/session/runner/max-steps.js +1 -1
  602. package/dist/session/runner/model.js +97 -97
  603. package/dist/session/runner/publish-llm-event.js +3 -3
  604. package/dist/session/runner/retry.js +111 -111
  605. package/dist/session/runner/step.js +125 -125
  606. package/dist/session/runner/to-llm-message.js +2 -2
  607. package/dist/session/schema.js +5 -5
  608. package/dist/session/session.js +169 -169
  609. package/dist/session/shell.js +137 -137
  610. package/dist/session/skill.js +102 -102
  611. package/dist/session/sql.js +5 -5
  612. package/dist/session/stats.js +72 -72
  613. package/dist/session/store.js +84 -84
  614. package/dist/session/subagent-completion.js +1 -1
  615. package/dist/session/subagent-job.js +209 -209
  616. package/dist/session/system-prompt.js +5 -5
  617. package/dist/session/title.js +155 -155
  618. package/dist/session/to-session-error.js +110 -110
  619. package/dist/session/transfer.js +216 -216
  620. package/dist/session/usage.js +1 -1
  621. package/dist/session.js +217 -217
  622. package/dist/shell/parse.js +6 -6
  623. package/dist/shell/result.js +1 -1
  624. package/dist/shell/scan.js +1 -1
  625. package/dist/shell/select.js +13 -13
  626. package/dist/shell.js +139 -139
  627. package/dist/skill/discovery.js +6 -6
  628. package/dist/skill/instructions.js +106 -106
  629. package/dist/skill.js +109 -109
  630. package/dist/snapshot.js +88 -88
  631. package/dist/state.js +1 -1
  632. package/dist/tool/html-markdown.js +1 -1
  633. package/dist/tool/http-body.js +1 -1
  634. package/dist/tool/mcp.js +124 -124
  635. package/dist/tool/plugin/edit.js +119 -119
  636. package/dist/tool/plugin/file-diff.js +1 -1
  637. package/dist/tool/plugin/glob.js +123 -123
  638. package/dist/tool/plugin/grep.js +117 -117
  639. package/dist/tool/plugin/opencode.js +3 -3
  640. package/dist/tool/plugin/patch.js +121 -121
  641. package/dist/tool/plugin/question.js +100 -100
  642. package/dist/tool/plugin/read.js +124 -124
  643. package/dist/tool/plugin/shell.js +214 -214
  644. package/dist/tool/plugin/skill.js +112 -112
  645. package/dist/tool/plugin/subagent.js +218 -218
  646. package/dist/tool/plugin/webfetch.js +111 -111
  647. package/dist/tool/plugin/websearch.js +111 -111
  648. package/dist/tool/plugin/write.js +121 -121
  649. package/dist/tool/read-filesystem.js +95 -95
  650. package/dist/tool/runtime.js +1 -1
  651. package/dist/tool-output.js +8 -8
  652. package/dist/tool.js +14 -14
  653. package/dist/util/error-summary.js +1 -1
  654. package/dist/util/error.js +1 -1
  655. package/dist/util/git-executable.js +2 -2
  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 +5 -5
  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 +5 -5
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +91 -91
  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/variant.js +92 -92
  680. package/dist/vcs/patch.js +1 -1
  681. package/dist/vcs.js +86 -86
  682. package/dist/websearch.js +81 -81
  683. package/dist/wellknown/plugin.js +75 -75
  684. package/dist/wellknown.js +76 -76
  685. package/dist/workspace/driver.js +7 -7
  686. package/dist/workspace/sql.js +1 -1
  687. package/dist/workspace.js +77 -77
  688. package/dist/worktree/directory.js +2 -2
  689. package/dist/worktree/git.js +10 -10
  690. package/dist/worktree/sql.js +5 -5
  691. package/dist/worktree/strategies.js +88 -88
  692. package/dist/worktree.js +95 -95
  693. package/package.json +8 -8
  694. package/dist/chunks/worktree-1x11rq2a.js +0 -18
  695. package/dist/chunks/worktree-3ewahy0x.js +0 -252
  696. package/dist/chunks/worktree-hxjj1ytk.js +0 -492
  697. package/dist/chunks/worktree-td9rdqgs.js +0 -26
  698. /package/dist/chunks/{worktree-0mesazry.js → model-resolver-0mesazry.js} +0 -0
  699. /package/dist/chunks/{worktree-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
  700. /package/dist/chunks/{worktree-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
  701. /package/dist/chunks/{worktree-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
  702. /package/dist/chunks/{worktree-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
  703. /package/dist/chunks/{worktree-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
  704. /package/dist/chunks/{worktree-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
  705. /package/dist/chunks/{worktree-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
  706. /package/dist/chunks/{worktree-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
  707. /package/dist/chunks/{worktree-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
  708. /package/dist/chunks/{worktree-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
  709. /package/dist/chunks/{worktree-3asan66x.js → model-resolver-3asan66x.js} +0 -0
  710. /package/dist/chunks/{worktree-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
  711. /package/dist/chunks/{worktree-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
  712. /package/dist/chunks/{worktree-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
  713. /package/dist/chunks/{worktree-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
  714. /package/dist/chunks/{worktree-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
  715. /package/dist/chunks/{worktree-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
  716. /package/dist/chunks/{worktree-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
  717. /package/dist/chunks/{worktree-53557ph1.js → model-resolver-53557ph1.js} +0 -0
  718. /package/dist/chunks/{worktree-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
  719. /package/dist/chunks/{worktree-5qd3pb7m.js → model-resolver-5qd3pb7m.js} +0 -0
  720. /package/dist/chunks/{worktree-6prwharc.js → model-resolver-6prwharc.js} +0 -0
  721. /package/dist/chunks/{worktree-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
  722. /package/dist/chunks/{worktree-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
  723. /package/dist/chunks/{worktree-822emrt2.js → model-resolver-822emrt2.js} +0 -0
  724. /package/dist/chunks/{worktree-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
  725. /package/dist/chunks/{worktree-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
  726. /package/dist/chunks/{worktree-922hggd3.js → model-resolver-922hggd3.js} +0 -0
  727. /package/dist/chunks/{worktree-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
  728. /package/dist/chunks/{worktree-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
  729. /package/dist/chunks/{worktree-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
  730. /package/dist/chunks/{worktree-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
  731. /package/dist/chunks/{worktree-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
  732. /package/dist/chunks/{worktree-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
  733. /package/dist/chunks/{worktree-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
  734. /package/dist/chunks/{worktree-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
  735. /package/dist/chunks/{worktree-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
  736. /package/dist/chunks/{worktree-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
  737. /package/dist/chunks/{worktree-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
  738. /package/dist/chunks/{worktree-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
  739. /package/dist/chunks/{worktree-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
  740. /package/dist/chunks/{worktree-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
  741. /package/dist/chunks/{worktree-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
  742. /package/dist/chunks/{worktree-df08tz66.js → model-resolver-df08tz66.js} +0 -0
  743. /package/dist/chunks/{worktree-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
  744. /package/dist/chunks/{worktree-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
  745. /package/dist/chunks/{worktree-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
  746. /package/dist/chunks/{worktree-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
  747. /package/dist/chunks/{worktree-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
  748. /package/dist/chunks/{worktree-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
  749. /package/dist/chunks/{worktree-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
  750. /package/dist/chunks/{worktree-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
  751. /package/dist/chunks/{worktree-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
  752. /package/dist/chunks/{worktree-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
  753. /package/dist/chunks/{worktree-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
  754. /package/dist/chunks/{worktree-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
  755. /package/dist/chunks/{worktree-g86h250q.js → model-resolver-g86h250q.js} +0 -0
  756. /package/dist/chunks/{worktree-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
  757. /package/dist/chunks/{worktree-gftt206x.js → model-resolver-gftt206x.js} +0 -0
  758. /package/dist/chunks/{worktree-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
  759. /package/dist/chunks/{worktree-hk9envan.js → model-resolver-hk9envan.js} +0 -0
  760. /package/dist/chunks/{worktree-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
  761. /package/dist/chunks/{worktree-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
  762. /package/dist/chunks/{worktree-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
  763. /package/dist/chunks/{worktree-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
  764. /package/dist/chunks/{worktree-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
  765. /package/dist/chunks/{worktree-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
  766. /package/dist/chunks/{worktree-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{worktree-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{worktree-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{worktree-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{worktree-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{worktree-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{worktree-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{worktree-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{worktree-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{worktree-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{worktree-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{worktree-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{worktree-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{worktree-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{worktree-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
  781. /package/dist/chunks/{worktree-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
  782. /package/dist/chunks/{worktree-twg0f83k.js → model-resolver-twg0f83k.js} +0 -0
  783. /package/dist/chunks/{worktree-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{worktree-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{worktree-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{worktree-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{worktree-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{worktree-x61499pn.js → model-resolver-x61499pn.js} +0 -0
  789. /package/dist/chunks/{worktree-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{worktree-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
  791. /package/dist/chunks/{worktree-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{worktree-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{worktree-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{worktree-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./worktree-2a5m3afh.js";
5
+ } from "./model-resolver-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./worktree-9rqn6x4v.js";
8
+ } from "./model-resolver-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/exec-defaults.ts
11
11
  var exports_exec_defaults = {};
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./worktree-922hggd3.js";
3
+ } from "./model-resolver-922hggd3.js";
4
4
  import {
5
5
  Action2
6
- } from "./worktree-qj8eh1ht.js";
6
+ } from "./model-resolver-50mzsvk4.js";
7
7
  import {
8
- Info12
9
- } from "./worktree-eex107wk.js";
8
+ Info13
9
+ } from "./model-resolver-nbzsj80d.js";
10
10
  import {
11
- Info16
12
- } from "./worktree-3cfzdc8e.js";
11
+ Info15
12
+ } from "./model-resolver-3w0fmcng.js";
13
13
  import {
14
- Info20
15
- } from "./worktree-a46v4e4v.js";
14
+ Info16
15
+ } from "./model-resolver-1g7epwpd.js";
16
16
  import {
17
- Info18
18
- } from "./worktree-d2aac7k2.js";
17
+ Info10
18
+ } from "./model-resolver-pecb0brz.js";
19
19
  import {
20
20
  Spec2
21
- } from "./worktree-2k8khapm.js";
22
- import {
23
- Info13
24
- } from "./worktree-e6hmchc5.js";
21
+ } from "./model-resolver-7dqw4kz8.js";
25
22
  import {
26
23
  Info11
27
- } from "./worktree-7hqt86v7.js";
24
+ } from "./model-resolver-yjptyezs.js";
25
+ import {
26
+ Info9
27
+ } from "./model-resolver-636gmhwa.js";
28
28
  import {
29
29
  migrate2,
30
30
  normalizeAction2,
@@ -33,10 +33,10 @@ import {
33
33
  migrateMcp2,
34
34
  migrateProvider2,
35
35
  providerID2
36
- } from "./worktree-2h5p72nb.js";
36
+ } from "./model-resolver-x4zwv76m.js";
37
37
  import {
38
38
  __export
39
- } from "./worktree-9rqn6x4v.js";
39
+ } from "./model-resolver-9rqn6x4v.js";
40
40
 
41
41
  // src/config/normalize.ts
42
42
  var exports_normalize = {};
@@ -84,10 +84,10 @@ function normalize2(input) {
84
84
  const encoded = {};
85
85
  unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
86
86
  const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
87
- const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info11.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
87
+ const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info9.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
88
88
  const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
89
89
  const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
90
- const legacyMedia = own(input, "attachment") ? decodeValue(Info16, input.attachment, ["attachment"], diagnostics) : undefined;
90
+ const legacyMedia = own(input, "attachment") ? decodeValue(Info15, input.attachment, ["attachment"], diagnostics) : undefined;
91
91
  if (legacyMedia !== undefined) {
92
92
  const migrated = migrate2({ attachment: legacyMedia }).media;
93
93
  if (migrated !== undefined)
@@ -104,7 +104,7 @@ function normalize2(input) {
104
104
  const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
105
105
  const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
106
106
  mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
107
- const legacyCommands = decodeMap(input.command, Info20, ["command"], diagnostics, decodeValue);
107
+ const legacyCommands = decodeMap(input.command, Info16, ["command"], diagnostics, decodeValue);
108
108
  diagnoseSelectionMap(input.command, ["command"], diagnostics);
109
109
  const migratedCommands = mapValues(legacyCommands, (value) => {
110
110
  const migrated = commands2({ value })?.value;
@@ -112,7 +112,7 @@ function normalize2(input) {
112
112
  });
113
113
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
114
114
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
115
- const legacyAgents = mapValues(decodeMap(input.agent, Info12, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
115
+ const legacyAgents = mapValues(decodeMap(input.agent, Info13, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
116
116
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
117
117
  const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
118
118
  if (legacySmallModel && !migratedSmallModel)
@@ -126,7 +126,7 @@ function normalize2(input) {
126
126
  model: migratedSmallModel,
127
127
  ...legacyAgents.title
128
128
  };
129
- const modeAgents = mapValues(decodeMap(input.mode, Info12, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
129
+ const modeAgents = mapValues(decodeMap(input.mode, Info13, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
130
130
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
131
131
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
132
132
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
225
225
  normalizeMcpTimeout(value, timeout, path, diagnostics);
226
226
  return;
227
227
  }
228
- const server = decodeValue(Info18, value, path, diagnostics);
228
+ const server = decodeValue(Info10, value, path, diagnostics);
229
229
  if (server !== undefined)
230
230
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
231
231
  });
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
421
421
  diagnoseProviderUnsupported(raw, path, diagnostics);
422
422
  if (invalidProviderOverlays(raw, path, diagnostics))
423
423
  return [];
424
- const provider = decodeValue(Info13, raw, path, diagnostics);
424
+ const provider = decodeValue(Info11, raw, path, diagnostics);
425
425
  if (provider === undefined)
426
426
  return [];
427
427
  const destination = providerID2(name);
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./worktree-p6fzwed5.js";
4
+ } from "./model-resolver-43ahs7k8.js";
5
5
  import {
6
6
  SessionTable2,
7
7
  SessionMessageTable2
8
- } from "./worktree-5c4hm403.js";
8
+ } from "./model-resolver-5c4hm403.js";
9
9
  import {
10
10
  decodeMessageRow2,
11
11
  load5
12
- } from "./worktree-2xb0rw2k.js";
12
+ } from "./model-resolver-rk9t7fxt.js";
13
13
  import {
14
14
  fromRow2
15
- } from "./worktree-vmgq4x8b.js";
15
+ } from "./model-resolver-b09hzw3k.js";
16
16
  import {
17
17
  __export
18
- } from "./worktree-9rqn6x4v.js";
18
+ } from "./model-resolver-9rqn6x4v.js";
19
19
 
20
20
  // src/session/store.ts
21
21
  var exports_store = {};
22
22
  __export(exports_store, {
23
23
  ListInput: () => ListInput5,
24
- Service: () => Service76,
24
+ Service: () => Service66,
25
25
  SessionStore: () => exports_store,
26
- node: () => node80
26
+ node: () => node69
27
27
  });
28
28
  import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
29
29
  import { Context, Effect, Layer, Schema } from "effect";
@@ -52,11 +52,11 @@ var ListProjectInput = Schema.Struct({
52
52
  var ListAllInput = Schema.Struct(ListInputBase);
53
53
  var ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
54
54
 
55
- class Service76 extends Context.Service()("@opencode/SessionStore") {
55
+ class Service66 extends Context.Service()("@opencode/SessionStore") {
56
56
  }
57
- var layer = Layer.effect(Service76, Effect.gen(function* () {
57
+ var layer = Layer.effect(Service66, Effect.gen(function* () {
58
58
  const { db } = yield* Service83;
59
- return Service76.of({
59
+ return Service66.of({
60
60
  get: Effect.fnUntraced(function* (sessionID) {
61
61
  const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
62
62
  return row ? fromRow2(row) : undefined;
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
125
125
  })
126
126
  });
127
127
  }));
128
- var node80 = makeGlobalNode({ service: Service76, layer, deps: [node87] });
128
+ var node69 = makeGlobalNode({ service: Service66, layer, deps: [node87] });
129
129
 
130
- export { ListInput5, Service76, node80, exports_store };
130
+ export { ListInput5, Service66, node69, exports_store };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./worktree-2a5m3afh.js";
3
+ } from "./model-resolver-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./worktree-922hggd3.js";
6
+ } from "./model-resolver-922hggd3.js";
7
7
  import {
8
- Service79
9
- } from "./worktree-nea2jzm4.js";
8
+ Service77
9
+ } from "./model-resolver-d4j0zdza.js";
10
10
  import {
11
- Service53
12
- } from "./worktree-n9nnv5bx.js";
11
+ Service61
12
+ } from "./model-resolver-qqrtcnkc.js";
13
13
  import {
14
- Service45
15
- } from "./worktree-1gayks8f.js";
14
+ Service20
15
+ } from "./model-resolver-b7rmz7dj.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
20
  Entry2
21
- } from "./worktree-ha48bngf.js";
21
+ } from "./model-resolver-16xb7hp4.js";
22
22
  import {
23
- Service74
24
- } from "./worktree-a70mfejk.js";
23
+ Service64
24
+ } from "./model-resolver-x9159bxd.js";
25
25
  import {
26
- Service68
27
- } from "./worktree-kz2med77.js";
26
+ Service17
27
+ } from "./model-resolver-jw14ppbh.js";
28
28
  import {
29
29
  __export
30
- } from "./worktree-9rqn6x4v.js";
30
+ } from "./model-resolver-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/glob.ts
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input2,
37
- Output: () => Output2,
38
- Plugin: () => Plugin2,
39
- name: () => name2,
40
- toModelContent: () => toModelContent2
36
+ Input: () => Input7,
37
+ Output: () => Output6,
38
+ Plugin: () => Plugin25,
39
+ name: () => name7,
40
+ toModelContent: () => toModelContent5
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name2 = "glob";
46
- var Input2 = Schema.Struct({
45
+ var name7 = "glob";
46
+ var Input7 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -55,35 +55,35 @@ var Input2 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output2 = Schema.Array(Entry2);
59
- var toModelContent2 = (entries, truncated = false) => {
58
+ var Output6 = Schema.Array(Entry2);
59
+ var toModelContent5 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
62
62
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin2 = {
66
+ var Plugin25 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service53;
70
- const ripgrep = yield* Service45;
71
- const location = yield* Service79;
72
- const access = yield* Service68;
73
- const permission = yield* Service74;
69
+ const environment = yield* Service61;
70
+ const ripgrep = yield* Service20;
71
+ const location = yield* Service77;
72
+ const access = yield* Service17;
73
+ const permission = yield* Service64;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name2,
75
+ name: name7,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input2,
79
- output: Output2,
78
+ input: Input7,
79
+ output: Output6,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
82
82
  const source = { type: "tool", messageID: context.messageID, id: context.id };
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name2,
86
+ action: name7,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -118,11 +118,11 @@ var Plugin2 = {
118
118
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
119
119
  }).pipe(Effect.map((result) => ({
120
120
  output: result.entries,
121
- content: toModelContent2(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent5(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
122
122
  metadata: { count: result.entries.length, truncated: result.truncated }
123
123
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
124
124
  })).pipe(Effect.orDie);
125
125
  })
126
126
  };
127
127
 
128
- export { name2, Input2, Output2, toModelContent2, Plugin2, exports_glob };
128
+ export { name7, Input7, Output6, toModelContent5, Plugin25, exports_glob };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./worktree-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/command.ts
6
- var exports_command5 = {};
7
- __export(exports_command5, {
8
- ConfigCommandV1: () => exports_command5,
9
- Info: () => Info20
6
+ var exports_command4 = {};
7
+ __export(exports_command4, {
8
+ ConfigCommandV1: () => exports_command4,
9
+ Info: () => Info16
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info20 = Schema.Struct({
12
+ var Info16 = Schema.Struct({
13
13
  template: Schema.String,
14
14
  description: Schema.optional(Schema.String),
15
15
  agent: Schema.optional(Schema.String),
@@ -18,4 +18,4 @@ var Info20 = Schema.Struct({
18
18
  subtask: Schema.optional(Schema.Boolean)
19
19
  });
20
20
 
21
- export { Info20, exports_command5 };
21
+ export { Info16, exports_command4 };
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node63
5
- } from "./worktree-89s1mcqs.js";
4
+ node84
5
+ } from "./model-resolver-n810d9f4.js";
6
6
  import {
7
7
  provenance2,
8
8
  compatible2
9
- } from "./worktree-26k5bknw.js";
9
+ } from "./model-resolver-06dxphr1.js";
10
10
  import {
11
- Service78,
12
- node82
13
- } from "./worktree-tx9w5tca.js";
11
+ Service67,
12
+ node70
13
+ } from "./model-resolver-30846h32.js";
14
14
  import {
15
15
  DeclinedError2
16
- } from "./worktree-a70mfejk.js";
16
+ } from "./model-resolver-x9159bxd.js";
17
17
  import {
18
18
  CancelledError2
19
- } from "./worktree-0et686r7.js";
19
+ } from "./model-resolver-xpax8x5w.js";
20
20
  import {
21
- Error5
22
- } from "./worktree-83gabncn.js";
21
+ Error3
22
+ } from "./model-resolver-fjccm0sw.js";
23
23
  import {
24
- Service26,
25
- node30
26
- } from "./worktree-5nvfww89.js";
24
+ Service32,
25
+ node35
26
+ } from "./model-resolver-xe6cmgbq.js";
27
27
  import {
28
- make14
29
- } from "./worktree-drwq78ky.js";
28
+ make13
29
+ } from "./model-resolver-qqeeq2t9.js";
30
30
  import {
31
31
  toLLMMessages2
32
- } from "./worktree-b97cbvw3.js";
32
+ } from "./model-resolver-bz85s9hh.js";
33
33
  import {
34
34
  __export
35
- } from "./worktree-9rqn6x4v.js";
35
+ } from "./model-resolver-9rqn6x4v.js";
36
36
 
37
37
  // src/session/model-request.ts
38
38
  var exports_model_request = {};
39
39
  __export(exports_model_request, {
40
- Service: () => Service25,
40
+ Service: () => Service31,
41
41
  SessionModelRequest: () => exports_model_request,
42
42
  baseTranscript: () => baseTranscript2,
43
43
  boundImages: () => boundImages2,
44
44
  layer: () => layer12,
45
- node: () => node29,
45
+ node: () => node34,
46
46
  unsupportedParts: () => unsupportedParts2
47
47
  });
48
48
  import {
@@ -66,7 +66,7 @@ var baseTranscript2 = (input) => {
66
66
  return {
67
67
  providerMetadataKey,
68
68
  system: [
69
- input.agent.system ? input.agent.system : make14(input.tools.definitions.map((tool) => tool.name)),
69
+ input.agent.system ? input.agent.system : make13(input.tools.definitions.map((tool) => tool.name)),
70
70
  input.initial
71
71
  ].filter((part) => part.length > 0).map(SystemPart.make),
72
72
  messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
@@ -150,11 +150,11 @@ var boundImages2 = (messages) => {
150
150
  }));
151
151
  };
152
152
 
153
- class Service25 extends Context.Service()("@opencode/SessionModelRequest") {
153
+ class Service31 extends Context.Service()("@opencode/SessionModelRequest") {
154
154
  }
155
- var layer12 = Layer.effect(Service25, Effect.gen(function* () {
156
- const hooks = yield* Service78;
157
- const transport = yield* Service26;
155
+ var layer12 = Layer.effect(Service31, Effect.gen(function* () {
156
+ const hooks = yield* Service67;
157
+ const transport = yield* Service32;
158
158
  const app = yield* Metadata2;
159
159
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
160
160
  const session = input.session;
@@ -162,7 +162,7 @@ var layer12 = Layer.effect(Service25, Effect.gen(function* () {
162
162
  const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
163
163
  const tools = input.tools ?? {
164
164
  definitions: [],
165
- execute: () => new Error5({ message: "Tools are not available for this request" })
165
+ execute: () => new Error3({ message: "Tools are not available for this request" })
166
166
  };
167
167
  const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
168
168
  const shaped = yield* shape({ sessionID: session.id, model: model.ref, system: input.system, messages: input.messages, options: {} }, Object.fromEntries(Array.from(given, ([d, t]) => [t.name, d])));
@@ -252,17 +252,17 @@ var layer12 = Layer.effect(Service25, Effect.gen(function* () {
252
252
  };
253
253
  });
254
254
  const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
255
- return Service25.of({
255
+ return Service31.of({
256
256
  primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
257
257
  compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
258
258
  generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
259
259
  title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
260
260
  });
261
261
  }));
262
- var node29 = makeLocationNode({
263
- service: Service25,
262
+ var node34 = makeLocationNode({
263
+ service: Service31,
264
264
  layer: layer12,
265
- deps: [node82, node30, node63]
265
+ deps: [node70, node35, node84]
266
266
  });
267
267
 
268
- export { baseTranscript2, unsupportedParts2, boundImages2, Service25, layer12, node29, exports_model_request };
268
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service31, layer12, node34, exports_model_request };
@@ -1,35 +1,35 @@
1
1
  import {
2
- Service79,
3
- node83
4
- } from "./worktree-nea2jzm4.js";
2
+ Service77,
3
+ node80
4
+ } from "./model-resolver-d4j0zdza.js";
5
5
  import {
6
- Key4,
7
- make21,
6
+ Key3,
7
+ make20,
8
8
  combine2
9
- } from "./worktree-eaj1djv9.js";
9
+ } from "./model-resolver-rhjbct0v.js";
10
10
  import {
11
11
  __export
12
- } from "./worktree-9rqn6x4v.js";
12
+ } from "./model-resolver-9rqn6x4v.js";
13
13
 
14
14
  // src/instructions/builtins.ts
15
15
  var exports_builtins = {};
16
16
  __export(exports_builtins, {
17
17
  InstructionBuiltIns: () => exports_builtins,
18
- Service: () => Service28,
18
+ Service: () => Service27,
19
19
  node: () => node31
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
23
23
  import { Global } from "@opencode/util/global";
24
- class Service28 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service27 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service28, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service27, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
- const location = yield* Service79;
29
- return Service28.of({
28
+ const location = yield* Service77;
29
+ return Service27.of({
30
30
  load: (sessionID) => Effect.succeed(combine2([
31
- make21({
32
- key: Key4.make("core/environment"),
31
+ make20({
32
+ key: Key3.make("core/environment"),
33
33
  codec: Schema.toCodecJson(Schema.String),
34
34
  read: Effect.sync(() => [
35
35
  "<env>",
@@ -49,8 +49,8 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
49
49
  `)
50
50
  }
51
51
  }),
52
- make21({
53
- key: Key4.make("core/date"),
52
+ make20({
53
+ key: Key3.make("core/date"),
54
54
  codec: Schema.toCodecJson(Schema.String),
55
55
  read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
56
56
  render: {
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
61
61
  ]))
62
62
  });
63
63
  }));
64
- var node31 = makeLocationNode({ service: Service28, layer, deps: [Global.node, node83] });
64
+ var node31 = makeLocationNode({ service: Service27, layer, deps: [Global.node, node80] });
65
65
 
66
- export { Service28, node31, exports_builtins };
66
+ export { Service27, node31, exports_builtins };