@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
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service32,
3
- node35
4
- } from "./worktree-7ge5j3yy.js";
2
+ Service58,
3
+ node60
4
+ } from "./model-resolver-5qsdg0y7.js";
5
5
  import {
6
- Key4,
6
+ Key3,
7
7
  removed2,
8
- make21,
8
+ make20,
9
9
  diffByKey2
10
- } from "./worktree-eaj1djv9.js";
10
+ } from "./model-resolver-rhjbct0v.js";
11
11
  import {
12
12
  __export
13
- } from "./worktree-9rqn6x4v.js";
13
+ } from "./model-resolver-9rqn6x4v.js";
14
14
 
15
15
  // src/reference/instructions.ts
16
- var exports_instructions5 = {};
17
- __export(exports_instructions5, {
18
- ReferenceInstructions: () => exports_instructions5,
19
- Service: () => Service29,
20
- node: () => node32
16
+ var exports_instructions3 = {};
17
+ __export(exports_instructions3, {
18
+ ReferenceInstructions: () => exports_instructions3,
19
+ Service: () => Service26,
20
+ node: () => node30
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -57,19 +57,19 @@ var update = (previous, current) => {
57
57
  `);
58
58
  };
59
59
 
60
- class Service29 extends Context.Service()("@opencode/ReferenceInstructions") {
60
+ class Service26 extends Context.Service()("@opencode/ReferenceInstructions") {
61
61
  }
62
- var layer = Layer.effect(Service29, Effect.gen(function* () {
63
- const references = yield* Service32;
64
- return Service29.of({
62
+ var layer = Layer.effect(Service26, Effect.gen(function* () {
63
+ const references = yield* Service58;
64
+ return Service26.of({
65
65
  load: Effect.fn("ReferenceInstructions.load")(function* () {
66
66
  const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
67
67
  name: reference.name,
68
68
  path: reference.path,
69
69
  description: reference.description
70
70
  })).toSorted((a, b) => a.name.localeCompare(b.name));
71
- return make21({
72
- key: Key4.make("core/reference-guidance"),
71
+ return make20({
72
+ key: Key3.make("core/reference-guidance"),
73
73
  codec: Schema.toCodecJson(Schema.Array(Summary)),
74
74
  read: Effect.succeed(available.length === 0 ? removed2 : available),
75
75
  render: {
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node32 = makeLocationNode({ service: Service29, layer, deps: [node35] });
84
+ var node30 = makeLocationNode({ service: Service26, layer, deps: [node60] });
85
85
 
86
- export { Service29, node32, exports_instructions5 };
86
+ export { Service26, node30, exports_instructions3 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./worktree-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/shell/result.ts
6
6
  var exports_result = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./worktree-922hggd3.js";
3
+ } from "./model-resolver-922hggd3.js";
4
4
  import {
5
- Service79
6
- } from "./worktree-nea2jzm4.js";
5
+ Service77
6
+ } from "./model-resolver-d4j0zdza.js";
7
7
  import {
8
8
  __export
9
- } from "./worktree-9rqn6x4v.js";
9
+ } from "./model-resolver-9rqn6x4v.js";
10
10
 
11
11
  // src/config/discovery.ts
12
12
  var exports_discovery2 = {};
@@ -23,7 +23,7 @@ var names4 = ["opencode.json", "opencode.jsonc"];
23
23
  var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
24
24
  const fs = yield* FSUtil.Service;
25
25
  const global = yield* Global.Service;
26
- const location = yield* Service79;
26
+ const location = yield* Service77;
27
27
  const globalDirectory = AbsolutePath2.make(global.config);
28
28
  const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
29
29
  const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./worktree-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/file-retention.ts
6
6
  var exports_file_retention = {};
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
3
  Service55
4
- } from "./worktree-780m7f13.js";
4
+ } from "./model-resolver-w52zt19p.js";
5
5
  import {
6
- Service49
7
- } from "./worktree-fmkkzw6c.js";
6
+ Service46
7
+ } from "./model-resolver-x87aptrd.js";
8
8
  import {
9
9
  observe2
10
- } from "./worktree-qsdy395h.js";
10
+ } from "./model-resolver-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./worktree-9rqn6x4v.js";
13
+ } from "./model-resolver-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/tool-output.ts
16
16
  var exports_tool_output = {};
17
17
  __export(exports_tool_output, {
18
18
  ConfigToolOutputPlugin: () => exports_tool_output,
19
- Plugin: () => Plugin29
19
+ Plugin: () => Plugin38
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin29 = define({
23
+ var Plugin38 = define({
24
24
  id: "opencode.config.tool-output",
25
25
  effect: Effect.fn(function* (ctx) {
26
26
  const config = yield* Service55;
27
- const output = yield* Service49;
27
+ const output = yield* Service46;
28
28
  const loaded = yield* observe2(config, ctx.event, output.reload());
29
29
  yield* output.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "tool_output");
@@ -38,4 +38,4 @@ var Plugin29 = define({
38
38
  })
39
39
  });
40
40
 
41
- export { Plugin29, exports_tool_output };
41
+ export { Plugin38, exports_tool_output };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./worktree-922hggd3.js";
3
+ } from "./model-resolver-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./worktree-9rqn6x4v.js";
6
+ } from "./model-resolver-9rqn6x4v.js";
7
7
 
8
8
  // src/worktree/directory.ts
9
9
  var exports_directory = {};
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./worktree-jvmrmb3q.js";
4
+ } from "./model-resolver-xgsfyewx.js";
5
5
  import {
6
- Key3,
7
- Service72,
8
- node76
9
- } from "./worktree-fp9dkyzv.js";
6
+ Key4,
7
+ Service75,
8
+ node78
9
+ } from "./model-resolver-ye6dhg8n.js";
10
10
  import {
11
11
  create3
12
- } from "./worktree-rdw6cm16.js";
12
+ } from "./model-resolver-rdw6cm16.js";
13
13
  import {
14
14
  validateAnswer2,
15
15
  validateFields2
16
- } from "./worktree-nrqt53h4.js";
16
+ } from "./model-resolver-yw50seq0.js";
17
17
  import {
18
18
  __export
19
- } from "./worktree-9rqn6x4v.js";
19
+ } from "./model-resolver-9rqn6x4v.js";
20
20
 
21
21
  // src/integration.ts
22
22
  var exports_integration = {};
@@ -31,17 +31,17 @@ __export(exports_integration, {
31
31
  CommandAttemptStatus: () => CommandAttemptStatus2,
32
32
  CommandMethod: () => CommandMethod2,
33
33
  EnvMethod: () => EnvMethod2,
34
- Event: () => Event16,
35
- ID: () => ID10,
36
- Info: () => Info25,
34
+ Event: () => Event17,
35
+ ID: () => ID13,
36
+ Info: () => Info28,
37
37
  Integration: () => exports_integration,
38
38
  KeyMethod: () => KeyMethod2,
39
39
  Method: () => Method2,
40
40
  MethodID: () => MethodID2,
41
41
  OAuthMethod: () => OAuthMethod2,
42
42
  Ref: () => Ref3,
43
- Service: () => Service71,
44
- node: () => node75
43
+ Service: () => Service74,
44
+ node: () => node77
45
45
  });
46
46
  import { makeLocationNode } from "@opencode/util/effect/app-node";
47
47
  import {
@@ -62,8 +62,8 @@ import {
62
62
  import { Integration } from "@opencode/schema/integration";
63
63
  import { AppProcess } from "@opencode/util/process";
64
64
  import { ChildProcess } from "effect/unstable/process";
65
- import { Event as Event16 } from "@opencode/schema/integration";
66
- var ID10 = Integration.ID;
65
+ import { Event as Event17 } from "@opencode/schema/integration";
66
+ var ID13 = Integration.ID;
67
67
  var MethodID2 = Integration.MethodID;
68
68
  var AttemptID2 = Integration.AttemptID;
69
69
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -71,7 +71,7 @@ var CommandMethod2 = Integration.CommandMethod;
71
71
  var KeyMethod2 = Integration.KeyMethod;
72
72
  var EnvMethod2 = Integration.EnvMethod;
73
73
  var Method2 = Integration.Method;
74
- var Info25 = Integration.Info;
74
+ var Info28 = Integration.Info;
75
75
  var Attempt2 = Integration.Attempt;
76
76
  var AttemptStatus2 = Integration.AttemptStatus;
77
77
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -94,19 +94,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
94
94
  }
95
95
 
96
96
  class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
97
- integrationID: ID10,
97
+ integrationID: ID13,
98
98
  attemptID: AttemptID2
99
99
  }) {
100
100
  }
101
101
  var Ref3 = Integration.Ref;
102
102
 
103
- class Service71 extends Context.Service()("@opencode/Integration") {
103
+ class Service74 extends Context.Service()("@opencode/Integration") {
104
104
  }
105
105
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
106
106
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
107
107
  var scrubInterval = Duration.seconds(30);
108
- var layer = Layer.effect(Service71, Effect.gen(function* () {
109
- const credentials = yield* Service72;
108
+ var layer = Layer.effect(Service74, Effect.gen(function* () {
109
+ const credentials = yield* Service75;
110
110
  const bus = yield* Service82;
111
111
  const processes = yield* AppProcess.Service;
112
112
  const scope = yield* Scope.Scope;
@@ -200,7 +200,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
200
200
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
201
201
  return [...credentials, ...env];
202
202
  };
203
- const project = (entry, connections) => Info25.make({
203
+ const project = (entry, connections) => Info28.make({
204
204
  id: entry.ref.id,
205
205
  name: entry.ref.name,
206
206
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -284,7 +284,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
284
284
  const persistence = yield* createCredential({
285
285
  integrationID: attempt.integrationID,
286
286
  label: attempt.label,
287
- value: Key3.make({ type: "key", key: exit.value })
287
+ value: Key4.make({ type: "key", key: exit.value })
288
288
  }).pipe(Effect.asVoid, Effect.exit);
289
289
  const settledAt = yield* Clock.currentTimeMillis;
290
290
  const terminal = Exit.isSuccess(persistence) ? {
@@ -430,7 +430,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
430
430
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
431
431
  return CommandAttempt2.make({ attemptID, time });
432
432
  });
433
- return Service71.of({
433
+ return Service74.of({
434
434
  transform: state.transform,
435
435
  reload: state.reload,
436
436
  revision: state.revision,
@@ -452,7 +452,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
452
452
  resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
453
453
  if (connection.type === "env") {
454
454
  const key = process.env[connection.name];
455
- return key ? Key3.make({ type: "key", key }) : undefined;
455
+ return key ? Key4.make({ type: "key", key }) : undefined;
456
456
  }
457
457
  const credential = yield* credentials.get(connection.id);
458
458
  if (!credential)
@@ -485,7 +485,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
485
485
  yield* createCredential({
486
486
  integrationID: input.integrationID,
487
487
  label: input.label,
488
- value: Key3.make({
488
+ value: Key4.make({
489
489
  type: "key",
490
490
  key: input.key,
491
491
  ...Object.keys(answer).length > 0 ? { configuration: answer } : {}
@@ -579,10 +579,10 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
579
579
  }
580
580
  });
581
581
  }));
582
- var node75 = makeLocationNode({
583
- service: Service71,
582
+ var node77 = makeLocationNode({
583
+ service: Service74,
584
584
  layer,
585
- deps: [node76, node86, AppProcess.node]
585
+ deps: [node78, node86, AppProcess.node]
586
586
  });
587
587
 
588
- export { ID10, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info25, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service71, node75, exports_integration, Event16 };
588
+ export { ID13, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info28, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service74, node77, exports_integration, Event17 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./worktree-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/util/token.ts
6
6
  var exports_token = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./worktree-qfa1cgps.js";
3
+ } from "./model-resolver-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./worktree-dj2t23y0.js";
6
+ } from "./model-resolver-dj2t23y0.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./model-resolver-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service28,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service28 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service28.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service28, awaitActivation2, exports_service };
@@ -1,24 +1,24 @@
1
1
  import {
2
- Service10
3
- } from "./worktree-v4gw1aty.js";
2
+ Service8
3
+ } from "./model-resolver-av47bmrc.js";
4
4
  import {
5
5
  __export
6
- } from "./worktree-9rqn6x4v.js";
6
+ } from "./model-resolver-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/compaction.ts
9
- var exports_compaction2 = {};
10
- __export(exports_compaction2, {
11
- NativeCompactionPlugin: () => exports_compaction2,
12
- Plugin: () => Plugin47
9
+ var exports_compaction = {};
10
+ __export(exports_compaction, {
11
+ NativeCompactionPlugin: () => exports_compaction,
12
+ Plugin: () => Plugin11
13
13
  });
14
14
  import { LLMClient, Message } from "@opencode/ai";
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Effect } from "effect";
17
- var Plugin47 = define({
17
+ var Plugin11 = define({
18
18
  id: "opencode.compaction.native",
19
19
  effect: Effect.fn("NativeCompactionPlugin")(function* () {
20
20
  const llm = yield* LLMClient.Service;
21
- const compaction = yield* Service10;
21
+ const compaction = yield* Service8;
22
22
  yield* compaction.transform((editor) => {
23
23
  editor.native((input) => {
24
24
  const request = input.request;
@@ -36,4 +36,4 @@ var Plugin47 = define({
36
36
  })
37
37
  });
38
38
 
39
- export { Plugin47, exports_compaction2 };
39
+ export { Plugin11, exports_compaction };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./worktree-jvmrmb3q.js";
4
+ } from "./model-resolver-xgsfyewx.js";
5
5
  import {
6
6
  create3
7
- } from "./worktree-rdw6cm16.js";
7
+ } from "./model-resolver-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./worktree-9rqn6x4v.js";
10
+ } from "./model-resolver-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
- var exports_command4 = {};
14
- __export(exports_command4, {
15
- Command: () => exports_command4,
16
- Event: () => Event8,
13
+ var exports_command5 = {};
14
+ __export(exports_command5, {
15
+ Command: () => exports_command5,
16
+ Event: () => Event14,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info9,
19
- NotFoundError: () => NotFoundError6,
20
- Service: () => Service43,
21
- layer: () => layer17,
22
- node: () => node45
18
+ Info: () => Info24,
19
+ NotFoundError: () => NotFoundError9,
20
+ Service: () => Service68,
21
+ layer: () => layer21,
22
+ node: () => node71
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event8 } from "@opencode/schema/command";
28
- var Info9 = Command.Info;
27
+ import { Event as Event14 } from "@opencode/schema/command";
28
+ var Info24 = Command.Info;
29
29
 
30
- class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError9 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service43 extends Context.Service()("@opencode/Command") {
42
+ class Service68 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer17 = Layer.effect(Service43, Effect.gen(function* () {
44
+ var layer21 = Layer.effect(Service68, Effect.gen(function* () {
45
45
  const bus = yield* Service82;
46
46
  const state = create3({
47
47
  name: "command",
@@ -51,11 +51,11 @@ var layer17 = Layer.effect(Service43, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info9.make({
54
+ const info = (definition) => Info24.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service43.of({
58
+ return Service68.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,14 +66,14 @@ var layer17 = Layer.effect(Service43, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError9({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node45 = makeLocationNode({
75
- service: Service43,
76
- layer: layer17,
74
+ var node71 = makeLocationNode({
75
+ service: Service68,
76
+ layer: layer21,
77
77
  deps: [node86]
78
78
  });
79
79
  function errorMessage(error) {
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info9, NotFoundError6, ExecutionError2, Service43, layer17, node45, exports_command4, Event8 };
89
+ export { Info24, NotFoundError9, ExecutionError2, Service68, layer21, node71, exports_command5, Event14 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./worktree-ec1grn59.js";
3
+ } from "./model-resolver-ec1grn59.js";
4
4
  import {
5
5
  toSessionError2
6
- } from "./worktree-d4cw493d.js";
6
+ } from "./model-resolver-4rbr99e5.js";
7
7
  import {
8
8
  __export
9
- } from "./worktree-9rqn6x4v.js";
9
+ } from "./model-resolver-9rqn6x4v.js";
10
10
 
11
11
  // src/session/runner/retry.ts
12
12
  var exports_retry = {};
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  Service56,
3
- node59
4
- } from "./worktree-bhhhtnas.js";
3
+ node58
4
+ } from "./model-resolver-302aywek.js";
5
5
  import {
6
- Service79,
7
- node83
8
- } from "./worktree-nea2jzm4.js";
6
+ Service77,
7
+ node80
8
+ } from "./model-resolver-d4j0zdza.js";
9
9
  import {
10
10
  Service55,
11
- node58
12
- } from "./worktree-780m7f13.js";
11
+ node57
12
+ } from "./model-resolver-w52zt19p.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./worktree-zxq2ej10.js";
16
+ } from "./model-resolver-zxq2ej10.js";
17
17
  import {
18
18
  __export
19
- } from "./worktree-9rqn6x4v.js";
19
+ } from "./model-resolver-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: () => Service4,
25
+ Service: () => Service9,
26
26
  empty: () => empty2,
27
- layer: () => layer5,
28
- node: () => node6
27
+ layer: () => layer7,
28
+ node: () => node11
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 Service4 extends Context.Service()("@opencode/ConfigPluginSource") {
36
+ class Service9 extends Context.Service()("@opencode/ConfigPluginSource") {
37
37
  }
38
- var layer5 = Layer.effect(Service4, Effect.gen(function* () {
38
+ var layer7 = Layer.effect(Service9, Effect.gen(function* () {
39
39
  const config = yield* Service55;
40
40
  const watcher = yield* Service56;
41
41
  const fs = yield* FSUtil.Service;
42
- const location = yield* Service79;
42
+ const location = yield* Service77;
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 layer5 = Layer.effect(Service4, 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 Service4.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 layer5 = Layer.effect(Service4, Effect.gen(function* () {
70
70
  })), Stream.fromPubSub(configuredChanges))
71
71
  });
72
72
  }));
73
- var node6 = makeLocationNode({
74
- service: Service4,
75
- layer: layer5,
76
- deps: [node58, FSUtil.node, node59, node83]
73
+ var node11 = makeLocationNode({
74
+ service: Service9,
75
+ layer: layer7,
76
+ deps: [node57, FSUtil.node, node58, node80]
77
77
  });
78
78
  var empty2 = makeLocationNode({
79
- service: Service4,
80
- layer: Layer.succeed(Service4, Service4.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 { Service4, layer5, node6, empty2, exports_source };
140
+ export { Service9, layer7, node11, empty2, exports_source };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./worktree-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/config/watch.ts
6
6
  var exports_watch = {};