@opencode/core 0.0.0-dev-19869 → 0.0.0-dev-19870

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-wk5z6jzv.js → variant-0jq9fyba.js} +9 -9
  8. package/dist/chunks/{worktree-fcrkznn8.js → variant-0jwsre1p.js} +5 -5
  9. package/dist/chunks/{worktree-t192gekf.js → variant-0n363b86.js} +20 -20
  10. package/dist/chunks/{worktree-0paq2nw3.js → variant-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{worktree-0q0f95c6.js → variant-0q0f95c6.js} +1 -1
  12. package/dist/chunks/variant-0x95mqex.js +252 -0
  13. package/dist/chunks/{worktree-eq1pz5kg.js → variant-1bbkgx8g.js} +3 -3
  14. package/dist/chunks/{worktree-1dazxqgg.js → variant-1dazxqgg.js} +2 -2
  15. package/dist/chunks/{worktree-29xxxnfh.js → variant-1fp8qf5t.js} +14 -14
  16. package/dist/chunks/{worktree-n9ktaep2.js → variant-1rndcnww.js} +11 -11
  17. package/dist/chunks/{worktree-1ygqh575.js → variant-1ygqh575.js} +2 -2
  18. package/dist/chunks/{worktree-21r38tys.js → variant-21r38tys.js} +1 -1
  19. package/dist/chunks/{worktree-70eyy827.js → variant-22hvkk3a.js} +13 -13
  20. package/dist/chunks/{worktree-s0agc963.js → variant-2336b01z.js} +8 -8
  21. package/dist/chunks/{worktree-qqtwvk4z.js → variant-23pqda6t.js} +4 -4
  22. package/dist/chunks/{worktree-dkgmj00c.js → variant-27f6pddp.js} +6 -6
  23. package/dist/chunks/{worktree-2a5m3afh.js → variant-2a5m3afh.js} +1 -1
  24. package/dist/chunks/{worktree-tj6nafm8.js → variant-2bq490qs.js} +4 -4
  25. package/dist/chunks/{worktree-fs0skkb3.js → variant-2p6dchyf.js} +24 -24
  26. package/dist/chunks/variant-2sy8xs0p.js +26 -0
  27. package/dist/chunks/{worktree-jzrbce6w.js → variant-2v626tz4.js} +18 -18
  28. package/dist/chunks/{worktree-kt1vcyar.js → variant-2wse4pe0.js} +16 -16
  29. package/dist/chunks/{worktree-sbd1zx3a.js → variant-38xgq6ts.js} +3 -3
  30. package/dist/chunks/{worktree-3a83a0n4.js → variant-3a83a0n4.js} +1 -1
  31. package/dist/chunks/{worktree-3fc6dm20.js → variant-3fc6dm20.js} +1 -1
  32. package/dist/chunks/{worktree-3hepkmqq.js → variant-3hepkmqq.js} +1 -1
  33. package/dist/chunks/{worktree-7kdkzndg.js → variant-3kj23qd9.js} +35 -35
  34. package/dist/chunks/{worktree-b0twfynp.js → variant-3nxmjfv1.js} +7 -7
  35. package/dist/chunks/{worktree-ccmdabta.js → variant-3sg1857t.js} +3 -3
  36. package/dist/chunks/{worktree-4xkxc3t4.js → variant-3sh56xx4.js} +18 -18
  37. package/dist/chunks/{worktree-3smtnn6g.js → variant-3smtnn6g.js} +1 -1
  38. package/dist/chunks/{worktree-zqx8wcya.js → variant-3tq5qxbk.js} +6 -6
  39. package/dist/chunks/{worktree-3tvqynh2.js → variant-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{worktree-6srgc5f7.js → variant-426fnjcx.js} +26 -26
  41. package/dist/chunks/{worktree-vm7xxkph.js → variant-4b9121e6.js} +47 -47
  42. package/dist/chunks/{worktree-8dz1vcbc.js → variant-4bwdz5w5.js} +24 -24
  43. package/dist/chunks/{worktree-h6r3nrb9.js → variant-4dgbcxzg.js} +4 -4
  44. package/dist/chunks/{worktree-9racvqph.js → variant-4x868fka.js} +14 -14
  45. package/dist/chunks/{worktree-t0fn9gk0.js → variant-52mty8jq.js} +13 -13
  46. package/dist/chunks/{worktree-qqeeq2t9.js → variant-57b9ws8p.js} +4 -4
  47. package/dist/chunks/{worktree-11s59a84.js → variant-595ycqh3.js} +12 -12
  48. package/dist/chunks/{worktree-t3jywk8f.js → variant-59skmtgb.js} +9 -9
  49. package/dist/chunks/{worktree-wt5y36s4.js → variant-5c64zym4.js} +23 -23
  50. package/dist/chunks/{worktree-5daktx2q.js → variant-5daktx2q.js} +1 -1
  51. package/dist/chunks/{worktree-6h7j3cy3.js → variant-5ekhjdzd.js} +51 -51
  52. package/dist/chunks/{worktree-tnp1bzfj.js → variant-5g8jbnaq.js} +36 -36
  53. package/dist/chunks/{worktree-b6rq28qr.js → variant-5hbhpyan.js} +5 -5
  54. package/dist/chunks/{worktree-3bpj6ceb.js → variant-5mzeg4hj.js} +11 -11
  55. package/dist/chunks/{worktree-28cf9raz.js → variant-5n7wdh8h.js} +44 -44
  56. package/dist/chunks/{worktree-e3qxr5gk.js → variant-5qd3pb7m.js} +2 -2
  57. package/dist/chunks/{worktree-5t3nmthw.js → variant-5t3nmthw.js} +2 -2
  58. package/dist/chunks/{worktree-1sqm6k0j.js → variant-5td0dyr7.js} +3 -3
  59. package/dist/chunks/{worktree-zvffvgzw.js → variant-63t418ew.js} +7 -7
  60. package/dist/chunks/{worktree-669tq793.js → variant-669tq793.js} +1 -1
  61. package/dist/chunks/{worktree-nm76w6gv.js → variant-66f6bbr7.js} +11 -11
  62. package/dist/chunks/{worktree-cwn9cw75.js → variant-699ehe3v.js} +16 -16
  63. package/dist/chunks/{worktree-sm965ndy.js → variant-69apea2v.js} +4 -4
  64. package/dist/chunks/{worktree-h36ryfv7.js → variant-69f6zjgr.js} +20 -20
  65. package/dist/chunks/{worktree-2402vzrj.js → variant-6h73sxmp.js} +5 -5
  66. package/dist/chunks/{worktree-6msgmcgs.js → variant-6msgmcgs.js} +1 -1
  67. package/dist/chunks/{worktree-1218kfkx.js → variant-6mvzryz6.js} +6 -6
  68. package/dist/chunks/{worktree-y23sf9zr.js → variant-6npfsxfv.js} +5 -5
  69. package/dist/chunks/{worktree-wxkrd8sq.js → variant-6qact9tb.js} +18 -18
  70. package/dist/chunks/{worktree-h21m3h6n.js → variant-6wz2mwbh.js} +6 -6
  71. package/dist/chunks/{worktree-1rc4386p.js → variant-78rnjdtr.js} +18 -18
  72. package/dist/chunks/{worktree-9pj1d4f4.js → variant-797prdqw.js} +33 -33
  73. package/dist/chunks/{worktree-w16pgjcx.js → variant-79dhzyk4.js} +37 -37
  74. package/dist/chunks/{worktree-c765mh8b.js → variant-79qaa2kf.js} +9 -9
  75. package/dist/chunks/{worktree-7bmhse3q.js → variant-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{worktree-tjhrsaf7.js → variant-7d77z8qn.js} +16 -16
  77. package/dist/chunks/{worktree-w9wca7t8.js → variant-7dn399d2.js} +15 -15
  78. package/dist/chunks/{worktree-2w6fc0zt.js → variant-81swgkk7.js} +7 -7
  79. package/dist/chunks/{worktree-qmwxv1vq.js → variant-85ka1n07.js} +4 -4
  80. package/dist/chunks/{worktree-tcezcvh9.js → variant-89znhe33.js} +4 -4
  81. package/dist/chunks/{worktree-8d7r5vzw.js → variant-8d7r5vzw.js} +1 -1
  82. package/dist/chunks/{worktree-8p4f9s12.js → variant-8p4f9s12.js} +2 -2
  83. package/dist/chunks/{worktree-4jk0qxj4.js → variant-8qh6anns.js} +6 -6
  84. package/dist/chunks/{worktree-3ythc6yv.js → variant-8s8mxddj.js} +4 -4
  85. package/dist/chunks/{worktree-q5ampng9.js → variant-95mg8qdk.js} +27 -27
  86. package/dist/chunks/{worktree-y6a4cmqh.js → variant-984xje6x.js} +9 -9
  87. package/dist/chunks/{worktree-wxqxrmdn.js → variant-9eqcjrtc.js} +21 -21
  88. package/dist/chunks/{worktree-ttca00zt.js → variant-9hfpfwmp.js} +25 -25
  89. package/dist/chunks/{worktree-j34dxvpb.js → variant-9pkkzrmj.js} +5 -5
  90. package/dist/chunks/{worktree-2463j9pj.js → variant-9x9g2km1.js} +13 -13
  91. package/dist/chunks/{worktree-a1bz86dw.js → variant-a1bz86dw.js} +3 -3
  92. package/dist/chunks/{worktree-mgn7rzyp.js → variant-aa2dfqx3.js} +9 -9
  93. package/dist/chunks/{worktree-aaet6srn.js → variant-aaet6srn.js} +2 -2
  94. package/dist/chunks/{worktree-tnk6yr9e.js → variant-aes001kk.js} +11 -11
  95. package/dist/chunks/{worktree-exg3tbdv.js → variant-ahkqwmsk.js} +10 -10
  96. package/dist/chunks/{worktree-8b4cgdt8.js → variant-akz62yx4.js} +22 -22
  97. package/dist/chunks/{worktree-cy5zkmv9.js → variant-avssftjx.js} +26 -26
  98. package/dist/chunks/{worktree-5nb2d01r.js → variant-b09hzw3k.js} +2 -2
  99. package/dist/chunks/{worktree-ht4gnk1k.js → variant-b28k5m4e.js} +3 -3
  100. package/dist/chunks/{worktree-b6gygkdw.js → variant-b6gygkdw.js} +2 -2
  101. package/dist/chunks/{worktree-nvkemvkp.js → variant-b80rxd7q.js} +16 -16
  102. package/dist/chunks/{worktree-baasw9zs.js → variant-baasw9zs.js} +1 -1
  103. package/dist/chunks/{worktree-bajakh74.js → variant-bajakh74.js} +4 -4
  104. package/dist/chunks/{worktree-y3eyw53f.js → variant-bcnj3jcy.js} +4 -4
  105. package/dist/chunks/{worktree-s197j8aa.js → variant-brs92t9y.js} +1 -1
  106. package/dist/chunks/{worktree-czf046f0.js → variant-bya9q4dt.js} +9 -9
  107. package/dist/chunks/{worktree-t9v9zp6z.js → variant-c2fs7f6w.js} +24 -24
  108. package/dist/chunks/{worktree-sjf3tctt.js → variant-c488s98d.js} +12 -12
  109. package/dist/chunks/{worktree-59km82at.js → variant-cd5s39xc.js} +34 -34
  110. package/dist/chunks/{worktree-cfpkc3c9.js → variant-cfpkc3c9.js} +2 -2
  111. package/dist/chunks/{worktree-3j8s7hm7.js → variant-ck31s172.js} +18 -18
  112. package/dist/chunks/{worktree-gr3j20z5.js → variant-cn5pa7p4.js} +10 -10
  113. package/dist/chunks/{worktree-0w85qfcj.js → variant-cpf2vz9x.js} +8 -8
  114. package/dist/chunks/{worktree-c7t7ttxe.js → variant-csbme2kj.js} +29 -29
  115. package/dist/chunks/{worktree-efkf1zjd.js → variant-d58cxt6j.js} +13 -13
  116. package/dist/chunks/{worktree-yy256scs.js → variant-d5d87h16.js} +34 -34
  117. package/dist/chunks/{worktree-k5xfnnfv.js → variant-d60c54a9.js} +11 -11
  118. package/dist/chunks/{worktree-3w2b2yj4.js → variant-dj9sq318.js} +5 -5
  119. package/dist/chunks/{worktree-5gczjwyk.js → variant-drds58r6.js} +32 -32
  120. package/dist/chunks/{worktree-w4sgba9p.js → variant-e5j09evz.js} +23 -23
  121. package/dist/chunks/{worktree-m1njnqbf.js → variant-e6aynt16.js} +5 -5
  122. package/dist/chunks/{worktree-ef5x83kb.js → variant-ef5x83kb.js} +1 -1
  123. package/dist/chunks/{worktree-sxnvhwv1.js → variant-enghe46c.js} +7 -7
  124. package/dist/chunks/{worktree-jyetza0x.js → variant-eq85q6rd.js} +35 -35
  125. package/dist/chunks/{worktree-erw5rpbs.js → variant-erw5rpbs.js} +2 -2
  126. package/dist/chunks/{worktree-64mbz47k.js → variant-erzb7j7f.js} +6 -6
  127. package/dist/chunks/{worktree-etq0c3wd.js → variant-etq0c3wd.js} +1 -1
  128. package/dist/chunks/{worktree-pjgmd77a.js → variant-ewxykczn.js} +20 -20
  129. package/dist/chunks/{worktree-f828m53h.js → variant-f828m53h.js} +2 -2
  130. package/dist/chunks/{worktree-3801kdgp.js → variant-fhz5gfgy.js} +5 -5
  131. package/dist/chunks/{worktree-ky8bwrva.js → variant-fka5ga8d.js} +6 -6
  132. package/dist/chunks/{worktree-tvfyrrh0.js → variant-fknkhxqq.js} +15 -24
  133. package/dist/chunks/{worktree-fxbjtjnd.js → variant-fxbjtjnd.js} +1 -1
  134. package/dist/chunks/{worktree-am5t4rbj.js → variant-g18gr89e.js} +46 -46
  135. package/dist/chunks/{worktree-gd4qta3r.js → variant-gd4qta3r.js} +1 -1
  136. package/dist/chunks/{worktree-bjb9b4mn.js → variant-geb11jcd.js} +23 -23
  137. package/dist/chunks/{worktree-fvsyg6qk.js → variant-gg7pg1rj.js} +5 -5
  138. package/dist/chunks/{worktree-vcxwaaxe.js → variant-ghwq1jbs.js} +41 -41
  139. package/dist/chunks/{worktree-28544jz8.js → variant-gjt2phrg.js} +5 -5
  140. package/dist/chunks/{worktree-yfaww8xg.js → variant-grt0tkrz.js} +11 -11
  141. package/dist/chunks/{worktree-axxg5j10.js → variant-gsgspxn5.js} +24 -24
  142. package/dist/chunks/{worktree-gv6a8nnw.js → variant-gv6a8nnw.js} +2 -2
  143. package/dist/chunks/{worktree-e5fd240w.js → variant-gxbfjqcv.js} +8 -8
  144. package/dist/chunks/{worktree-2dwhn3my.js → variant-h1cw8hcp.js} +23 -23
  145. package/dist/chunks/{worktree-yasnnz0a.js → variant-h2bgjhkt.js} +20 -20
  146. package/dist/chunks/{worktree-6tm94hss.js → variant-h48hzw2b.js} +10 -10
  147. package/dist/chunks/{worktree-h6vf3j39.js → variant-h6vf3j39.js} +1 -1
  148. package/dist/chunks/{worktree-kvshrfkj.js → variant-h99nf0kn.js} +1 -1
  149. package/dist/chunks/{worktree-z8j5hfwf.js → variant-h9v43k74.js} +4 -4
  150. package/dist/chunks/{worktree-gna9rzrz.js → variant-hcy87vkc.js} +11 -11
  151. package/dist/chunks/{worktree-gmkwjvek.js → variant-hfz6vx2t.js} +23 -23
  152. package/dist/chunks/{worktree-6a90knky.js → variant-hgyz5sh6.js} +11 -11
  153. package/dist/chunks/{worktree-zxj82hcj.js → variant-hhjr1295.js} +22 -22
  154. package/dist/chunks/{worktree-d34gzn5d.js → variant-hmmkxdzd.js} +37 -37
  155. package/dist/chunks/{worktree-kcyks54t.js → variant-hs28tab5.js} +8 -8
  156. package/dist/chunks/{worktree-9w5k7bqz.js → variant-hs7hr3sk.js} +5 -5
  157. package/dist/chunks/{worktree-xbp7gjm9.js → variant-hsj07s21.js} +16 -16
  158. package/dist/chunks/{worktree-6zwr9q5m.js → variant-htkg1ped.js} +54 -54
  159. package/dist/chunks/{worktree-mpmcaacv.js → variant-hv4mpymf.js} +10 -10
  160. package/dist/chunks/variant-hxa7m5za.js +4 -0
  161. package/dist/chunks/{worktree-90wr37ay.js → variant-hzb4nw6c.js} +5 -5
  162. package/dist/chunks/{worktree-dtfx1akz.js → variant-j0kmkqfz.js} +11 -11
  163. package/dist/chunks/{worktree-h51w75cp.js → variant-j5029czd.js} +39 -39
  164. package/dist/chunks/{worktree-j56e64zr.js → variant-j56e64zr.js} +1 -1
  165. package/dist/chunks/{worktree-45fhr245.js → variant-j79n6wxr.js} +22 -22
  166. package/dist/chunks/{worktree-ve4pfa0n.js → variant-j83byb14.js} +4 -4
  167. package/dist/chunks/{worktree-g3mn8s68.js → variant-j88pc17k.js} +2 -2
  168. package/dist/chunks/{worktree-6hqwt1nw.js → variant-jc42g46n.js} +15 -15
  169. package/dist/chunks/{worktree-nrkjg2yg.js → variant-jk0hetf2.js} +6 -6
  170. package/dist/chunks/{worktree-vay95fzq.js → variant-jkz8cxnn.js} +22 -22
  171. package/dist/chunks/{worktree-vtmgncrs.js → variant-jpg1q0jq.js} +291 -291
  172. package/dist/chunks/{worktree-0787dcsh.js → variant-jz1pp4jz.js} +16 -16
  173. package/dist/chunks/{worktree-nzks3jc8.js → variant-k3c624dm.js} +3 -3
  174. package/dist/chunks/{worktree-6d4vre1e.js → variant-k5m7dxb4.js} +33 -33
  175. package/dist/chunks/{worktree-218c6ez9.js → variant-kefnbk3p.js} +9 -9
  176. package/dist/chunks/{worktree-jthyzkpc.js → variant-kfmyqsf5.js} +6 -6
  177. package/dist/chunks/{worktree-70x5mss4.js → variant-kj4zctnd.js} +36 -36
  178. package/dist/chunks/{worktree-71a6hfp5.js → variant-kjk9sg2v.js} +18 -18
  179. package/dist/chunks/{worktree-246ka326.js → variant-kmg4jv2q.js} +14 -14
  180. package/dist/chunks/{worktree-qxds82wp.js → variant-knws4kq8.js} +19 -19
  181. package/dist/chunks/{worktree-m3fdjcah.js → variant-m3fdjcah.js} +1 -1
  182. package/dist/chunks/{worktree-hb7v7ywc.js → variant-m59xe4a8.js} +7 -7
  183. package/dist/chunks/{worktree-m9w0rfyh.js → variant-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{worktree-s1pqek41.js → variant-mbjhvwvw.js} +10 -10
  185. package/dist/chunks/{worktree-gjnhxr8h.js → variant-mhk04qte.js} +11 -11
  186. package/dist/chunks/{worktree-f9yrz0nb.js → variant-mmacmsvk.js} +11 -11
  187. package/dist/chunks/{worktree-ns90ddce.js → variant-mpgyntzp.js} +11 -11
  188. package/dist/chunks/{worktree-cye10yf4.js → variant-mrb3fjvr.js} +11 -11
  189. package/dist/chunks/{worktree-51f5btjf.js → variant-mrvjcs5x.js} +6 -6
  190. package/dist/chunks/{worktree-bccb6npm.js → variant-msq0jde0.js} +4 -4
  191. package/dist/chunks/{worktree-zjp9qjhq.js → variant-mxra0cmd.js} +40 -40
  192. package/dist/chunks/{worktree-czys4tjs.js → variant-mxw0tdhe.js} +10 -10
  193. package/dist/chunks/{worktree-1mrwszqa.js → variant-n23fqgkg.js} +4 -4
  194. package/dist/chunks/{worktree-xp0zd8np.js → variant-nm9hpb8x.js} +32 -32
  195. package/dist/chunks/{worktree-7zsm68gg.js → variant-nmgvgfpr.js} +10 -10
  196. package/dist/chunks/{worktree-t51qk8jz.js → variant-nrdmrqsx.js} +21 -21
  197. package/dist/chunks/{worktree-has2vgfm.js → variant-nrjct5b1.js} +3 -3
  198. package/dist/chunks/{worktree-ckdz0ad0.js → variant-nwqme974.js} +9 -9
  199. package/dist/chunks/{worktree-sra9araw.js → variant-nxhqveyz.js} +5 -5
  200. package/dist/chunks/{worktree-6stnv1c0.js → variant-p26nknmg.js} +11 -11
  201. package/dist/chunks/{worktree-p28j5sbe.js → variant-p28j5sbe.js} +2 -2
  202. package/dist/chunks/{worktree-5xtgfte3.js → variant-p37cw4rj.js} +4 -4
  203. package/dist/chunks/{worktree-75ah400z.js → variant-p4qdj091.js} +27 -27
  204. package/dist/chunks/{worktree-fc1cvdk9.js → variant-p6keb3nc.js} +14 -14
  205. package/dist/chunks/{worktree-a881zpfh.js → variant-p8mhfpfb.js} +9 -9
  206. package/dist/chunks/{worktree-3t8frjm5.js → variant-p9bjh04g.js} +4 -4
  207. package/dist/chunks/{worktree-0k4c1wrr.js → variant-pe9k0hgm.js} +20 -20
  208. package/dist/chunks/variant-phz3h32g.js +18 -0
  209. package/dist/chunks/{worktree-pjvnvgmy.js → variant-pjvnvgmy.js} +1 -1
  210. package/dist/chunks/{worktree-g8hymqtc.js → variant-pkgc53va.js} +25 -25
  211. package/dist/chunks/{worktree-pknna89w.js → variant-pknna89w.js} +1 -1
  212. package/dist/chunks/{worktree-bmpcrrg0.js → variant-pm0pb3r2.js} +16 -16
  213. package/dist/chunks/{worktree-ryt7pzqc.js → variant-pstg3rfm.js} +1 -1
  214. package/dist/chunks/{worktree-p3xeg7xc.js → variant-q0t2e31h.js} +12 -12
  215. package/dist/chunks/{worktree-agnb6b4y.js → variant-qd8pq7fc.js} +3 -3
  216. package/dist/chunks/{worktree-e6r8tc5b.js → variant-qnk3s0sd.js} +18 -18
  217. package/dist/chunks/{worktree-qsdy395h.js → variant-qsdy395h.js} +1 -1
  218. package/dist/chunks/{worktree-gqyhxdpp.js → variant-qxxgnsfr.js} +20 -20
  219. package/dist/chunks/{worktree-xgpk3fc4.js → variant-r558ape6.js} +22 -22
  220. package/dist/chunks/{worktree-rdw6cm16.js → variant-rdw6cm16.js} +1 -1
  221. package/dist/chunks/{worktree-fhs97t90.js → variant-rhafb4aa.js} +5 -5
  222. package/dist/chunks/{worktree-wbgjk9hv.js → variant-rhebeh0n.js} +21 -21
  223. package/dist/chunks/{worktree-24ddpwsm.js → variant-rj9ftj0p.js} +13 -13
  224. package/dist/chunks/{worktree-q60qjx67.js → variant-rjhkz1w2.js} +14 -14
  225. package/dist/chunks/{worktree-p3d2pjj7.js → variant-rkyj0vr4.js} +24 -24
  226. package/dist/chunks/{worktree-49asqp28.js → variant-rvh4km1y.js} +20 -20
  227. package/dist/chunks/{worktree-bmpepz07.js → variant-s2y5anze.js} +3 -3
  228. package/dist/chunks/{worktree-g5x507wm.js → variant-s305wbyz.js} +160 -160
  229. package/dist/chunks/{worktree-gxgynv4w.js → variant-sg1qr0px.js} +20 -20
  230. package/dist/chunks/{worktree-ank7hx1v.js → variant-sg4rfxht.js} +15 -15
  231. package/dist/chunks/{worktree-xp1ejmsr.js → variant-sghfg077.js} +8 -8
  232. package/dist/chunks/{worktree-w9y6772s.js → variant-sh98p1a6.js} +4 -4
  233. package/dist/chunks/{worktree-mtqf31pt.js → variant-smbnzawa.js} +10 -10
  234. package/dist/chunks/{worktree-1rk9t83t.js → variant-sqjsdc8q.js} +10 -10
  235. package/dist/chunks/{worktree-aw0v1j7y.js → variant-szh1cwdh.js} +7 -7
  236. package/dist/chunks/{worktree-b512ytgh.js → variant-t1vey1sx.js} +3 -3
  237. package/dist/chunks/{worktree-mkccyhb3.js → variant-t3mnpksc.js} +8 -8
  238. package/dist/chunks/{worktree-7k0xwvvh.js → variant-t44e5ekz.js} +8 -8
  239. package/dist/chunks/{worktree-t550f9t1.js → variant-t550f9t1.js} +1 -1
  240. package/dist/chunks/{worktree-at5d07az.js → variant-t6vsspdg.js} +7 -7
  241. package/dist/chunks/{worktree-jjm18tvm.js → variant-tabeb9mm.js} +63 -63
  242. package/dist/chunks/{worktree-tazgh4e4.js → variant-tazgh4e4.js} +1 -1
  243. package/dist/chunks/{worktree-tdstcens.js → variant-tdstcens.js} +1 -1
  244. package/dist/chunks/{worktree-mwwsh29t.js → variant-teqxcq05.js} +9 -9
  245. package/dist/chunks/{worktree-g0t6d1hq.js → variant-tfn5j0a9.js} +11 -11
  246. package/dist/chunks/{worktree-bkcnheq0.js → variant-tgbn9x0e.js} +32 -32
  247. package/dist/chunks/{worktree-ph842b28.js → variant-tjedn1bk.js} +4 -4
  248. package/dist/chunks/{worktree-57a2pt8j.js → variant-tn764by2.js} +8 -8
  249. package/dist/chunks/{worktree-tvtrv512.js → variant-tvtrv512.js} +1 -1
  250. package/dist/chunks/{worktree-b1wsctr3.js → variant-txhgrjp2.js} +15 -15
  251. package/dist/chunks/{worktree-287pmr97.js → variant-tz84jmpd.js} +13 -13
  252. package/dist/chunks/{worktree-pd15fgp8.js → variant-v0qc0xfw.js} +12 -12
  253. package/dist/chunks/{worktree-54ptgeb2.js → variant-vdkvxh6g.js} +28 -28
  254. package/dist/chunks/{worktree-veqvce7d.js → variant-veqvce7d.js} +1 -1
  255. package/dist/chunks/{worktree-9ymcqn9e.js → variant-vtd3ynzc.js} +3 -3
  256. package/dist/chunks/{worktree-vzcthcp8.js → variant-vzcthcp8.js} +1 -1
  257. package/dist/chunks/{worktree-de7zd4tj.js → variant-w1kyw1wm.js} +11 -11
  258. package/dist/chunks/{worktree-w3wsvvr9.js → variant-w3wsvvr9.js} +1 -1
  259. package/dist/chunks/{worktree-8d55p9gd.js → variant-w666pgwc.js} +43 -43
  260. package/dist/chunks/{worktree-wd87259q.js → variant-wd87259q.js} +1 -1
  261. package/dist/chunks/{worktree-n8c291r7.js → variant-whmjp8hh.js} +9 -9
  262. package/dist/chunks/{worktree-e982br48.js → variant-wjjn3hja.js} +4 -4
  263. package/dist/chunks/{worktree-xsny6hxq.js → variant-wnnqbafk.js} +15 -15
  264. package/dist/chunks/{worktree-x7vm5fej.js → variant-wsr5pxgw.js} +20 -20
  265. package/dist/chunks/{worktree-bnw2aka3.js → variant-wv44f8tc.js} +22 -22
  266. package/dist/chunks/{worktree-z1y70ee3.js → variant-wzbs3mda.js} +10 -10
  267. package/dist/chunks/{worktree-x1ezjp6w.js → variant-x1ezjp6w.js} +1 -1
  268. package/dist/chunks/{worktree-8emwh38k.js → variant-x52p01ey.js} +17 -17
  269. package/dist/chunks/{worktree-34g626t1.js → variant-x76vnk27.js} +26 -26
  270. package/dist/chunks/{worktree-yrmashwv.js → variant-x9x1wca8.js} +81 -81
  271. package/dist/chunks/{worktree-pvrysvhk.js → variant-xdjtnqtw.js} +35 -35
  272. package/dist/chunks/{worktree-k8zyetr0.js → variant-xq2nfj3p.js} +29 -29
  273. package/dist/chunks/{worktree-jvf3yq6v.js → variant-xw0r27ex.js} +4 -4
  274. package/dist/chunks/{worktree-y1fvbwt7.js → variant-y1fvbwt7.js} +1 -1
  275. package/dist/chunks/{worktree-rj6d5p5e.js → variant-y6f0p4jw.js} +3 -3
  276. package/dist/chunks/{worktree-y71avatq.js → variant-y71avatq.js} +1 -1
  277. package/dist/chunks/{worktree-bs95t40t.js → variant-ye3jx5n8.js} +8 -8
  278. package/dist/chunks/{worktree-yp2x3t23.js → variant-yp2x3t23.js} +1 -1
  279. package/dist/chunks/{worktree-yrhqyw5v.js → variant-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{worktree-s4enseaf.js → variant-yrznvahk.js} +2 -2
  281. package/dist/chunks/{worktree-wfsp5hpn.js → variant-ytn5d3vs.js} +17 -17
  282. package/dist/chunks/{worktree-z0bkrqjs.js → variant-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{worktree-19x32724.js → variant-z4dwdpe4.js} +89 -89
  284. package/dist/chunks/{worktree-29x78va6.js → variant-z63w68vq.js} +6 -6
  285. package/dist/chunks/{worktree-7kxej2em.js → variant-z8m6gbkd.js} +12 -12
  286. package/dist/chunks/{worktree-zeh9ct20.js → variant-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{worktree-c4gmtxpm.js → variant-zghmsxd1.js} +19 -19
  288. package/dist/chunks/{worktree-xbgsghrj.js → variant-zmfbpthp.js} +15 -15
  289. package/dist/chunks/{worktree-zr2ceqn5.js → variant-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{worktree-zxq2ej10.js → variant-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +5 -5
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +84 -84
  296. package/dist/config/discovery.js +83 -83
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +105 -105
  299. package/dist/config/plugin/agent.js +122 -122
  300. package/dist/config/plugin/command.js +211 -211
  301. package/dist/config/plugin/compaction.js +159 -159
  302. package/dist/config/plugin/compatibility.js +140 -140
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +123 -123
  305. package/dist/config/plugin/image.js +122 -122
  306. package/dist/config/plugin/instruction.js +89 -89
  307. package/dist/config/plugin/location-watcher.js +122 -122
  308. package/dist/config/plugin/mcp.js +129 -129
  309. package/dist/config/plugin/policy.js +122 -122
  310. package/dist/config/plugin/provider.js +122 -122
  311. package/dist/config/plugin/reference.js +124 -124
  312. package/dist/config/plugin/shell.js +122 -122
  313. package/dist/config/plugin/skill-file.js +101 -101
  314. package/dist/config/plugin/skill.js +139 -139
  315. package/dist/config/plugin/snapshot.js +122 -122
  316. package/dist/config/plugin/source.js +125 -125
  317. package/dist/config/plugin/tool-output.js +124 -124
  318. package/dist/config/plugin/websearch.js +121 -121
  319. package/dist/config/plugin/worktree.js +124 -124
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +127 -127
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +78 -78
  325. package/dist/database/database.js +65 -65
  326. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +13 -13
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +14 -14
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration.gen.js +48 -48
  390. package/dist/database/migration.js +50 -50
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +75 -75
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +368 -368
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +1 -1
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +92 -92
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +94 -94
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +69 -69
  414. package/dist/file-access.js +103 -103
  415. package/dist/file-mutation.js +93 -93
  416. package/dist/file-retention.js +1 -1
  417. package/dist/file.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/ignore.js +1 -1
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +220 -220
  425. package/dist/filesystem/protected.js +3 -3
  426. package/dist/filesystem/search.js +102 -102
  427. package/dist/filesystem/watcher-binding.js +3 -3
  428. package/dist/filesystem/watcher.js +15 -15
  429. package/dist/filesystem.js +107 -107
  430. package/dist/form.js +77 -77
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +88 -88
  433. package/dist/generate.js +102 -102
  434. package/dist/git.js +10 -10
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +90 -90
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/id/id.js +1 -1
  455. package/dist/image/photon.js +2 -2
  456. package/dist/image.js +6 -6
  457. package/dist/instance/service.js +5 -5
  458. package/dist/instance.js +359 -359
  459. package/dist/instruction-discovery.js +82 -82
  460. package/dist/instructions/builtins.js +86 -86
  461. package/dist/instructions/index.js +1 -1
  462. package/dist/integration/connection.js +3 -3
  463. package/dist/integration.js +81 -81
  464. package/dist/job.js +78 -78
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +72 -72
  467. package/dist/location-activity.js +131 -131
  468. package/dist/location-lifecycle.js +101 -101
  469. package/dist/location-mutation.js +103 -103
  470. package/dist/location-service-map.js +85 -85
  471. package/dist/location-services.js +356 -356
  472. package/dist/location.js +86 -86
  473. package/dist/mcp/client.js +90 -90
  474. package/dist/mcp/index.js +107 -107
  475. package/dist/mcp/instructions.js +125 -125
  476. package/dist/mcp/oauth.js +77 -77
  477. package/dist/mcp/stdio.js +89 -89
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +90 -90
  480. package/dist/model-resolver.js +97 -97
  481. package/dist/model.js +97 -97
  482. package/dist/models-dev.js +106 -106
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +79 -79
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +114 -114
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +85 -85
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +74 -74
  492. package/dist/plugin/agent.js +101 -101
  493. package/dist/plugin/command.js +98 -98
  494. package/dist/plugin/compaction.js +130 -130
  495. package/dist/plugin/hooks.js +1 -1
  496. package/dist/plugin/host.js +217 -217
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +3 -3
  499. package/dist/plugin/internal.js +330 -330
  500. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  501. package/dist/plugin/models-dev.js +95 -95
  502. package/dist/plugin/module.js +7 -7
  503. package/dist/plugin/optimize.js +4 -4
  504. package/dist/plugin/plan.js +101 -101
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  507. package/dist/plugin/provider/azure.js +121 -121
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +118 -118
  513. package/dist/plugin/provider/digitalocean.js +92 -92
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/gateway.js +2 -2
  517. package/dist/plugin/provider/github-copilot.js +92 -92
  518. package/dist/plugin/provider/gitlab.js +90 -90
  519. package/dist/plugin/provider/google-vertex.js +89 -89
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +76 -76
  522. package/dist/plugin/provider/lmstudio.js +121 -121
  523. package/dist/plugin/provider/modal.js +91 -91
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +121 -121
  526. package/dist/plugin/provider/openai.js +93 -93
  527. package/dist/plugin/provider/opencode.js +92 -92
  528. package/dist/plugin/provider/openrouter.js +90 -90
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +77 -77
  531. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  532. package/dist/plugin/provider/sap-ai-core.js +90 -90
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  535. package/dist/plugin/provider/venice.js +2 -2
  536. package/dist/plugin/provider/vercel.js +89 -89
  537. package/dist/plugin/provider/vllm.js +121 -121
  538. package/dist/plugin/provider/xai.js +90 -90
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +158 -158
  541. package/dist/plugin/sdk.js +75 -75
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +138 -138
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +349 -349
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +85 -85
  549. package/dist/plugin/vcs/hg.js +85 -85
  550. package/dist/plugin/warming.js +120 -120
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +6 -6
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +2 -2
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +228 -228
  559. package/dist/project/schema.js +6 -6
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +87 -87
  562. package/dist/provider.js +94 -94
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/schema.js +3 -3
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +97 -97
  567. package/dist/reference/instructions.js +88 -88
  568. package/dist/reference.js +90 -90
  569. package/dist/repository-cache.js +80 -80
  570. package/dist/repository.js +3 -3
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +96 -96
  573. package/dist/rpc.js +85 -85
  574. package/dist/schema.js +1 -1
  575. package/dist/session/command.js +73 -73
  576. package/dist/session/compaction.js +133 -133
  577. package/dist/session/context.js +151 -151
  578. package/dist/session/diff.js +87 -87
  579. package/dist/session/environment.js +3 -3
  580. package/dist/session/error.js +7 -7
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +220 -220
  583. package/dist/session/execution.js +127 -127
  584. package/dist/session/generate.js +152 -152
  585. package/dist/session/history.js +15 -15
  586. package/dist/session/inbox.js +87 -87
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +76 -76
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +92 -92
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +118 -118
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +129 -129
  596. package/dist/session/projector.js +85 -85
  597. package/dist/session/prompt.js +104 -104
  598. package/dist/session/provider-context.js +3 -3
  599. package/dist/session/revert.js +89 -89
  600. package/dist/session/run-coordinator.js +1 -1
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +230 -230
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +97 -97
  605. package/dist/session/runner/publish-llm-event.js +3 -3
  606. package/dist/session/runner/retry.js +111 -111
  607. package/dist/session/runner/step.js +125 -125
  608. package/dist/session/runner/to-llm-message.js +2 -2
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +171 -171
  611. package/dist/session/shell.js +137 -137
  612. package/dist/session/skill.js +102 -102
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +72 -72
  615. package/dist/session/store.js +84 -84
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +207 -207
  618. package/dist/session/system-prompt.js +3 -3
  619. package/dist/session/title.js +155 -155
  620. package/dist/session/to-session-error.js +110 -110
  621. package/dist/session/transfer.js +216 -216
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +217 -217
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +13 -13
  628. package/dist/shell.js +137 -137
  629. package/dist/skill/discovery.js +4 -4
  630. package/dist/skill/instructions.js +104 -104
  631. package/dist/skill.js +107 -107
  632. package/dist/snapshot.js +88 -88
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +124 -124
  637. package/dist/tool/plugin/edit.js +119 -119
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +123 -123
  640. package/dist/tool/plugin/grep.js +121 -121
  641. package/dist/tool/plugin/opencode.js +1 -1
  642. package/dist/tool/plugin/patch.js +121 -121
  643. package/dist/tool/plugin/question.js +100 -100
  644. package/dist/tool/plugin/read.js +124 -124
  645. package/dist/tool/plugin/shell.js +214 -214
  646. package/dist/tool/plugin/skill.js +110 -110
  647. package/dist/tool/plugin/subagent.js +212 -212
  648. package/dist/tool/plugin/webfetch.js +109 -109
  649. package/dist/tool/plugin/websearch.js +109 -109
  650. package/dist/tool/plugin/write.js +119 -119
  651. package/dist/tool/read-filesystem.js +95 -95
  652. package/dist/tool/runtime.js +1 -1
  653. package/dist/tool-output.js +8 -8
  654. package/dist/tool.js +16 -16
  655. package/dist/util/error-summary.js +1 -1
  656. package/dist/util/error.js +1 -1
  657. package/dist/util/git-executable.js +2 -2
  658. package/dist/util/iife.js +1 -1
  659. package/dist/util/lazy.js +1 -1
  660. package/dist/util/slug.js +1 -1
  661. package/dist/util/token.js +1 -1
  662. package/dist/util/which.js +1 -1
  663. package/dist/util/wildcard.js +1 -1
  664. package/dist/v1/config/agent.js +7 -7
  665. package/dist/v1/config/attachment.js +4 -4
  666. package/dist/v1/config/command.js +5 -5
  667. package/dist/v1/config/config.js +16 -16
  668. package/dist/v1/config/error.js +4 -4
  669. package/dist/v1/config/formatter.js +7 -7
  670. package/dist/v1/config/layout.js +1 -1
  671. package/dist/v1/config/lsp.js +3 -3
  672. package/dist/v1/config/mcp.js +4 -4
  673. package/dist/v1/config/migrate.js +91 -91
  674. package/dist/v1/config/permission.js +7 -7
  675. package/dist/v1/config/plugin.js +3 -3
  676. package/dist/v1/config/provider-options.js +1 -1
  677. package/dist/v1/config/provider.js +4 -4
  678. package/dist/v1/config/server.js +2 -2
  679. package/dist/v1/config/skills.js +3 -3
  680. package/dist/v1/permission.js +1 -1
  681. package/dist/variant.js +92 -92
  682. package/dist/vcs/patch.js +1 -1
  683. package/dist/vcs.js +88 -88
  684. package/dist/websearch.js +81 -81
  685. package/dist/wellknown/plugin.js +75 -75
  686. package/dist/wellknown.js +80 -80
  687. package/dist/workspace/driver.js +5 -5
  688. package/dist/workspace/sql.js +1 -1
  689. package/dist/workspace.js +79 -79
  690. package/dist/worktree/directory.js +2 -2
  691. package/dist/worktree/git.js +10 -10
  692. package/dist/worktree/sql.js +5 -5
  693. package/dist/worktree/strategies.js +88 -88
  694. package/dist/worktree.js +97 -97
  695. package/package.json +8 -8
  696. package/dist/chunks/worktree-0mesazry.js +0 -4
  697. package/dist/chunks/worktree-6zs4aaxp.js +0 -252
  698. package/dist/chunks/worktree-bdmzhav8.js +0 -26
  699. package/dist/chunks/worktree-ht5y0zrb.js +0 -18
  700. /package/dist/chunks/{worktree-0qkdqm5v.js → variant-0qkdqm5v.js} +0 -0
  701. /package/dist/chunks/{worktree-0zkw76rk.js → variant-0zkw76rk.js} +0 -0
  702. /package/dist/chunks/{worktree-17cy0kzp.js → variant-17cy0kzp.js} +0 -0
  703. /package/dist/chunks/{worktree-1cnp2v09.js → variant-1cnp2v09.js} +0 -0
  704. /package/dist/chunks/{worktree-1kg9ymc8.js → variant-1kg9ymc8.js} +0 -0
  705. /package/dist/chunks/{worktree-24dcb14g.js → variant-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{worktree-2710q6r3.js → variant-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{worktree-2axfhc9x.js → variant-2axfhc9x.js} +0 -0
  708. /package/dist/chunks/{worktree-2c3vjs8z.js → variant-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{worktree-359p4xyc.js → variant-359p4xyc.js} +0 -0
  710. /package/dist/chunks/{worktree-3asan66x.js → variant-3asan66x.js} +0 -0
  711. /package/dist/chunks/{worktree-3v8g72cx.js → variant-3v8g72cx.js} +0 -0
  712. /package/dist/chunks/{worktree-3w5fmr99.js → variant-3w5fmr99.js} +0 -0
  713. /package/dist/chunks/{worktree-3wcehsnq.js → variant-3wcehsnq.js} +0 -0
  714. /package/dist/chunks/{worktree-43n2bw4t.js → variant-43n2bw4t.js} +0 -0
  715. /package/dist/chunks/{worktree-4knz6hnm.js → variant-4knz6hnm.js} +0 -0
  716. /package/dist/chunks/{worktree-4vcrnpx2.js → variant-4vcrnpx2.js} +0 -0
  717. /package/dist/chunks/{worktree-4y7fprxs.js → variant-4y7fprxs.js} +0 -0
  718. /package/dist/chunks/{worktree-53557ph1.js → variant-53557ph1.js} +0 -0
  719. /package/dist/chunks/{worktree-550bvhaj.js → variant-550bvhaj.js} +0 -0
  720. /package/dist/chunks/{worktree-6prwharc.js → variant-6prwharc.js} +0 -0
  721. /package/dist/chunks/{worktree-7akdwqpd.js → variant-7akdwqpd.js} +0 -0
  722. /package/dist/chunks/{worktree-7m9af43g.js → variant-7m9af43g.js} +0 -0
  723. /package/dist/chunks/{worktree-822emrt2.js → variant-822emrt2.js} +0 -0
  724. /package/dist/chunks/{worktree-88xbtdfr.js → variant-88xbtdfr.js} +0 -0
  725. /package/dist/chunks/{worktree-8n3pysct.js → variant-8n3pysct.js} +0 -0
  726. /package/dist/chunks/{worktree-922hggd3.js → variant-922hggd3.js} +0 -0
  727. /package/dist/chunks/{worktree-9a4afbnw.js → variant-9a4afbnw.js} +0 -0
  728. /package/dist/chunks/{worktree-9rqn6x4v.js → variant-9rqn6x4v.js} +0 -0
  729. /package/dist/chunks/{worktree-a6k6eb26.js → variant-a6k6eb26.js} +0 -0
  730. /package/dist/chunks/{worktree-af5trqkr.js → variant-af5trqkr.js} +0 -0
  731. /package/dist/chunks/{worktree-afrmfg78.js → variant-afrmfg78.js} +0 -0
  732. /package/dist/chunks/{worktree-aqzs7mqg.js → variant-aqzs7mqg.js} +0 -0
  733. /package/dist/chunks/{worktree-atq7p7m5.js → variant-atq7p7m5.js} +0 -0
  734. /package/dist/chunks/{worktree-bkyjaxrp.js → variant-bkyjaxrp.js} +0 -0
  735. /package/dist/chunks/{worktree-bmr6ed5q.js → variant-bmr6ed5q.js} +0 -0
  736. /package/dist/chunks/{worktree-cf4snx6d.js → variant-cf4snx6d.js} +0 -0
  737. /package/dist/chunks/{worktree-cvy3z8tj.js → variant-cvy3z8tj.js} +0 -0
  738. /package/dist/chunks/{worktree-d9fn303g.js → variant-d9fn303g.js} +0 -0
  739. /package/dist/chunks/{worktree-d9jj8t3e.js → variant-d9jj8t3e.js} +0 -0
  740. /package/dist/chunks/{worktree-dajrwvna.js → variant-dajrwvna.js} +0 -0
  741. /package/dist/chunks/{worktree-dap0rakb.js → variant-dap0rakb.js} +0 -0
  742. /package/dist/chunks/{worktree-df08tz66.js → variant-df08tz66.js} +0 -0
  743. /package/dist/chunks/{worktree-dy18nga0.js → variant-dy18nga0.js} +0 -0
  744. /package/dist/chunks/{worktree-e5kj55wp.js → variant-e5kj55wp.js} +0 -0
  745. /package/dist/chunks/{worktree-e73j6tqm.js → variant-e73j6tqm.js} +0 -0
  746. /package/dist/chunks/{worktree-ec1grn59.js → variant-ec1grn59.js} +0 -0
  747. /package/dist/chunks/{worktree-eh3zwz77.js → variant-eh3zwz77.js} +0 -0
  748. /package/dist/chunks/{worktree-emrn6kk6.js → variant-emrn6kk6.js} +0 -0
  749. /package/dist/chunks/{worktree-f0mxakyp.js → variant-f0mxakyp.js} +0 -0
  750. /package/dist/chunks/{worktree-f6n9ztr4.js → variant-f6n9ztr4.js} +0 -0
  751. /package/dist/chunks/{worktree-faypxj3z.js → variant-faypxj3z.js} +0 -0
  752. /package/dist/chunks/{worktree-fd410y7t.js → variant-fd410y7t.js} +0 -0
  753. /package/dist/chunks/{worktree-fxgpk5d8.js → variant-fxgpk5d8.js} +0 -0
  754. /package/dist/chunks/{worktree-g4wezp1m.js → variant-g4wezp1m.js} +0 -0
  755. /package/dist/chunks/{worktree-g86h250q.js → variant-g86h250q.js} +0 -0
  756. /package/dist/chunks/{worktree-gebd4c9n.js → variant-gebd4c9n.js} +0 -0
  757. /package/dist/chunks/{worktree-gftt206x.js → variant-gftt206x.js} +0 -0
  758. /package/dist/chunks/{worktree-hjbc5kem.js → variant-hjbc5kem.js} +0 -0
  759. /package/dist/chunks/{worktree-hk9envan.js → variant-hk9envan.js} +0 -0
  760. /package/dist/chunks/{worktree-j2ntwpah.js → variant-j2ntwpah.js} +0 -0
  761. /package/dist/chunks/{worktree-j5zkgpj8.js → variant-j5zkgpj8.js} +0 -0
  762. /package/dist/chunks/{worktree-jjkms2e6.js → variant-jjkms2e6.js} +0 -0
  763. /package/dist/chunks/{worktree-jr7sbwjy.js → variant-jr7sbwjy.js} +0 -0
  764. /package/dist/chunks/{worktree-jwfs4k6c.js → variant-jwfs4k6c.js} +0 -0
  765. /package/dist/chunks/{worktree-jzg6c2d5.js → variant-jzg6c2d5.js} +0 -0
  766. /package/dist/chunks/{worktree-mp448xyj.js → variant-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{worktree-msx8hqn2.js → variant-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{worktree-n05xt0ee.js → variant-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{worktree-n3j8tn72.js → variant-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{worktree-njntx4h6.js → variant-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{worktree-q3sfg36h.js → variant-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{worktree-q74kybfr.js → variant-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{worktree-qaymkmh1.js → variant-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{worktree-qb87gjwd.js → variant-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{worktree-qfa1cgps.js → variant-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{worktree-qg3g05ea.js → variant-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{worktree-qrg20bc0.js → variant-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{worktree-rcb2kzg1.js → variant-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{worktree-sdp7kfr6.js → variant-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{worktree-sk3qaz4a.js → variant-sk3qaz4a.js} +0 -0
  781. /package/dist/chunks/{worktree-ssg3fenm.js → variant-ssg3fenm.js} +0 -0
  782. /package/dist/chunks/{worktree-twg0f83k.js → variant-twg0f83k.js} +0 -0
  783. /package/dist/chunks/{worktree-w803qqfp.js → variant-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{worktree-wc3fc9cn.js → variant-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{worktree-wer8tq1h.js → variant-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{worktree-wtztk69x.js → variant-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{worktree-x0ckcb58.js → variant-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{worktree-x61499pn.js → variant-x61499pn.js} +0 -0
  789. /package/dist/chunks/{worktree-y44na4kk.js → variant-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{worktree-y8cydn3q.js → variant-y8cydn3q.js} +0 -0
  791. /package/dist/chunks/{worktree-y8f7s663.js → variant-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{worktree-ygaqb7jw.js → variant-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{worktree-ym463w8f.js → variant-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{worktree-z9919s4g.js → variant-z9919s4g.js} +0 -0
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./worktree-y71avatq.js";
3
+ } from "./variant-y71avatq.js";
4
4
  import {
5
5
  Service82,
6
6
  node86
7
- } from "./worktree-e982br48.js";
7
+ } from "./variant-wjjn3hja.js";
8
8
  import {
9
9
  Event18,
10
- Service74,
11
- node78
12
- } from "./worktree-tjhrsaf7.js";
10
+ Service73,
11
+ node77
12
+ } from "./variant-7d77z8qn.js";
13
13
  import {
14
- Service77,
15
- node81
16
- } from "./worktree-kt1vcyar.js";
14
+ Service76,
15
+ node80
16
+ } from "./variant-2wse4pe0.js";
17
17
  import {
18
- Service51,
19
- node53
20
- } from "./worktree-p3d2pjj7.js";
18
+ Service66,
19
+ node69
20
+ } from "./variant-rkyj0vr4.js";
21
21
  import {
22
- ID14,
23
- Service73,
24
- node77
25
- } from "./worktree-71a6hfp5.js";
22
+ ID16,
23
+ Service74,
24
+ node78
25
+ } from "./variant-kjk9sg2v.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./worktree-rdw6cm16.js";
29
+ } from "./variant-rdw6cm16.js";
30
30
  import {
31
- ID13,
31
+ ID14,
32
32
  MethodID2,
33
33
  Service72,
34
34
  node76
35
- } from "./worktree-1rc4386p.js";
35
+ } from "./variant-78rnjdtr.js";
36
36
  import {
37
37
  __export
38
- } from "./worktree-9rqn6x4v.js";
38
+ } from "./variant-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError5,
45
- Options: () => Options5,
44
+ NotFoundError: () => NotFoundError3,
45
+ Options: () => Options3,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
48
48
  ResourceCatalog: () => ResourceCatalog2,
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
50
50
  ResourceContentPart: () => ResourceContentPart2,
51
51
  ResourceTemplate: () => ResourceTemplate2,
52
52
  ServerName: () => ServerName2,
53
- Service: () => Service35,
53
+ Service: () => Service34,
54
54
  Status: () => Status2,
55
55
  ToolCallError: () => ToolCallError2,
56
- configured: () => configured5,
57
- layer: () => layer16,
58
- node: () => node38
56
+ configured: () => configured3,
57
+ layer: () => layer15,
58
+ node: () => node36
59
59
  });
60
60
  import { Mcp } from "@opencode/schema/mcp";
61
61
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
74
74
  var ResourceContentPart2 = Mcp.ResourceContentPart;
75
75
  var ResourceContent2 = Mcp.ResourceContent;
76
76
 
77
- class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
77
+ class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
78
78
  server: ServerName2
79
79
  }) {
80
80
  get message() {
@@ -93,21 +93,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
93
93
  var endpointLoads = makeUnsafe2();
94
94
  var cloneConfig = (config) => structuredClone(config);
95
95
 
96
- class Service35 extends Context.Service()("@opencode/MCP") {
96
+ class Service34 extends Context.Service()("@opencode/MCP") {
97
97
  }
98
- var Options5 = Schema.Struct({
98
+ var Options3 = Schema.Struct({
99
99
  clientInfo: Schema.optional(Schema.Struct({
100
100
  name: Schema.String,
101
101
  version: Schema.String
102
102
  }))
103
103
  });
104
- var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
105
- const location = yield* Service77;
106
- const environment = yield* Service51;
104
+ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
105
+ const location = yield* Service76;
106
+ const environment = yield* Service66;
107
107
  const bus = yield* Service82;
108
- const forms = yield* Service73;
108
+ const forms = yield* Service74;
109
109
  const integration = yield* Service72;
110
- const credentials = yield* Service74;
110
+ const credentials = yield* Service73;
111
111
  const root = yield* Effect.scope;
112
112
  const fork = yield* FiberSet.makeRuntime();
113
113
  const entries = new Map;
@@ -119,7 +119,7 @@ var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
119
119
  return;
120
120
  const remote = entry.config;
121
121
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
122
- const integrationID = ID13.make(suffix);
122
+ const integrationID = ID14.make(suffix);
123
123
  entry.integrationID = integrationID;
124
124
  owned.add(integrationID);
125
125
  const methodID = MethodID2.make(suffix);
@@ -135,7 +135,7 @@ var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
135
135
  method: { id: methodID, type: "oauth", label: name },
136
136
  authorize: () => Effect.gen(function* () {
137
137
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
138
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service74, credentials));
138
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service73, credentials));
139
139
  })
140
140
  });
141
141
  }).pipe(Scope.provide(scope));
@@ -144,19 +144,19 @@ var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
144
144
  const name = ServerName2.make(server);
145
145
  const entry = entries.get(name);
146
146
  if (!entry)
147
- return yield* new NotFoundError5({ server: name });
147
+ return yield* new NotFoundError3({ server: name });
148
148
  return { name, entry };
149
149
  });
150
150
  const connectProvider = Effect.fnUntraced(function* (entry) {
151
151
  if (entry.config.type !== "remote" || !entry.integrationID)
152
152
  return;
153
153
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
154
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service74, credentials));
154
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service73, credentials));
155
155
  });
156
156
  const elicitation = {
157
157
  create: (input) => Effect.gen(function* () {
158
158
  if (input.params.mode === "url") {
159
- const formID = ID14.create();
159
+ const formID = ID16.create();
160
160
  const elicitationID = input.params.elicitationId;
161
161
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
162
162
  if (key)
@@ -240,7 +240,7 @@ var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
240
240
  entry.scope = scope;
241
241
  const authProvider = yield* connectProvider(entry);
242
242
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
243
- const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service51, environment), Scope.provide(scope));
243
+ const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service66, environment), Scope.provide(scope));
244
244
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
245
245
  if (Exit.isSuccess(result)) {
246
246
  entry.client = result.value.connection;
@@ -391,7 +391,7 @@ var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
391
391
  }),
392
392
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
393
393
  });
394
- return Service35.of({
394
+ return Service34.of({
395
395
  transform: state.transform,
396
396
  reload: state.reload,
397
397
  servers: Effect.fn("MCP.servers")(function* () {
@@ -510,14 +510,14 @@ var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
510
510
  })
511
511
  });
512
512
  }));
513
- function configured5(options) {
513
+ function configured3(options) {
514
514
  return makeLocationNode({
515
- service: Service35,
516
- layer: layer16(options),
517
- deps: [node81, node53, node86, node77, node76, node78]
515
+ service: Service34,
516
+ layer: layer15(options),
517
+ deps: [node80, node69, node86, node78, node76, node77]
518
518
  });
519
519
  }
520
- var node38 = configured5();
520
+ var node36 = configured3();
521
521
  function toElicitationField(key, property, required) {
522
522
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
523
523
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -568,4 +568,4 @@ function toElicitationField(key, property, required) {
568
568
  }
569
569
  }
570
570
 
571
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2, Service35, Options5, layer16, configured5, node38, exports_mcp4 };
571
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service34, Options3, layer15, configured3, node36, exports_mcp4 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./worktree-9rqn6x4v.js";
3
+ } from "./variant-9rqn6x4v.js";
4
4
 
5
5
  // src/file-retention.ts
6
6
  var exports_file_retention = {};
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./worktree-922hggd3.js";
3
+ } from "./variant-922hggd3.js";
4
4
  import {
5
- Service79,
6
- node83
7
- } from "./worktree-sjf3tctt.js";
5
+ Service81,
6
+ node85
7
+ } from "./variant-c488s98d.js";
8
8
  import {
9
- parse4,
9
+ parse5,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./worktree-2402vzrj.js";
13
+ } from "./variant-6h73sxmp.js";
14
14
  import {
15
- Service81,
16
- node85
17
- } from "./worktree-z1y70ee3.js";
15
+ Service80,
16
+ node84
17
+ } from "./variant-wzbs3mda.js";
18
18
  import {
19
19
  __export
20
- } from "./worktree-9rqn6x4v.js";
20
+ } from "./variant-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service47,
33
+ Service: () => Service79,
34
34
  isError: () => isError2,
35
- node: () => node49,
35
+ node: () => node83,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service47 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service79 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service47, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service79, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
- const git = yield* Service79;
106
+ const git = yield* Service81;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service81;
110
- return Service47.of({
109
+ const kv = yield* Service80;
110
+ return Service79.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
114
114
  const repository = input.reference.label;
115
115
  const localPath = cachePath2(global.repos, input.reference, input.branch);
116
116
  const key = `repository-cache:${localPath}`;
117
- const cloneTarget = parse4(input.reference.remote) ?? input.reference;
117
+ const cloneTarget = parse5(input.reference.remote) ?? input.reference;
118
118
  return yield* flock.withLock(Effect.gen(function* () {
119
119
  yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
120
120
  const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
121
121
  const origin = existing ? yield* git.remote.get(existing) : undefined;
122
- const originReference = origin ? parse4(origin) : undefined;
122
+ const originReference = origin ? parse5(origin) : undefined;
123
123
  const worktree = existing ? yield* fs.resolve(localPath) : undefined;
124
124
  const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
125
125
  if (!reuse && (yield* fs.existsSafe(localPath))) {
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node49 = makeGlobalNode({
171
- service: Service47,
170
+ var node83 = makeGlobalNode({
171
+ service: Service79,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node83, Global.node, node85]
173
+ deps: [EffectFlock.node, FSUtil.node, node85, Global.node, node84]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
179
179
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
180
180
  }
181
181
 
182
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service47, isError2, validateBranch2, node49, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service79, isError2, validateBranch2, node83, exports_repository_cache };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./worktree-922hggd3.js";
3
+ } from "./variant-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./worktree-9rqn6x4v.js";
6
+ } from "./variant-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/provider.ts
9
9
  var exports_provider2 = {};
10
10
  __export(exports_provider2, {
11
11
  ConfigProviderV1: () => exports_provider2,
12
- Info: () => Info25,
12
+ Info: () => Info8,
13
13
  Model: () => Model2,
14
14
  ModelStatus: () => ModelStatus2
15
15
  });
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
61
61
  disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
62
62
  }), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
63
63
  });
64
- var Info25 = Schema.Struct({
64
+ var Info8 = Schema.Struct({
65
65
  api: Schema.optional(Schema.String),
66
66
  name: Schema.optional(Schema.String),
67
67
  env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
@@ -95,4 +95,4 @@ var Info25 = Schema.Struct({
95
95
  models: Schema.optional(Schema.Record(Schema.String, Model2))
96
96
  }).annotate({ identifier: "ProviderConfig" });
97
97
 
98
- export { ModelStatus2, Model2, Info25, exports_provider2 };
98
+ export { ModelStatus2, Model2, Info8, exports_provider2 };
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./worktree-922hggd3.js";
3
+ } from "./variant-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service68
7
- } from "./worktree-28cf9raz.js";
6
+ Service39
7
+ } from "./variant-5n7wdh8h.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./worktree-2a5m3afh.js";
10
+ } from "./variant-2a5m3afh.js";
11
11
  import {
12
- Service51
13
- } from "./worktree-p3d2pjj7.js";
12
+ Service66
13
+ } from "./variant-rkyj0vr4.js";
14
14
  import {
15
- Service48
16
- } from "./worktree-8emwh38k.js";
15
+ Service61
16
+ } from "./variant-x52p01ey.js";
17
17
  import {
18
- Service56
19
- } from "./worktree-6h7j3cy3.js";
18
+ Service55
19
+ } from "./variant-5ekhjdzd.js";
20
20
  import {
21
- Service20,
21
+ Service54,
22
22
  resolvePath2
23
- } from "./worktree-4xkxc3t4.js";
23
+ } from "./variant-3sh56xx4.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./worktree-fxbjtjnd.js";
29
+ } from "./variant-fxbjtjnd.js";
30
30
  import {
31
- Service64,
31
+ Service50,
32
32
  name15
33
- } from "./worktree-qxds82wp.js";
33
+ } from "./variant-knws4kq8.js";
34
34
  import {
35
- NotFoundError6,
35
+ NotFoundError4,
36
36
  Service37
37
- } from "./worktree-pvrysvhk.js";
37
+ } from "./variant-xdjtnqtw.js";
38
38
  import {
39
- Service24
40
- } from "./worktree-19x32724.js";
39
+ Service17
40
+ } from "./variant-z4dwdpe4.js";
41
41
  import {
42
42
  scan2
43
- } from "./worktree-tj6nafm8.js";
43
+ } from "./variant-2bq490qs.js";
44
44
  import {
45
45
  __export
46
- } from "./worktree-9rqn6x4v.js";
46
+ } from "./variant-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
49
  var exports_shell2 = {};
50
50
  __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input3,
53
- Plugin: () => Plugin39,
52
+ Input: () => Input6,
53
+ Plugin: () => Plugin42,
54
54
  ShellTool: () => exports_shell2,
55
- name: () => name3
55
+ name: () => name6
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name3 = "shell";
59
+ var name6 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input3 = Schema.Struct({
73
+ var Input6 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
115
115
  truncated: false,
116
116
  status: "running"
117
117
  });
118
- var Plugin39 = {
118
+ var Plugin42 = {
119
119
  id: "opencode.tool.shell",
120
120
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
121
- const sessions = yield* Service24;
122
- const jobs = yield* Service48;
121
+ const sessions = yield* Service17;
122
+ const jobs = yield* Service61;
123
123
  const scope = yield* Scope.Scope;
124
- const environment = yield* Service51;
125
- const access = yield* Service20;
124
+ const environment = yield* Service66;
125
+ const access = yield* Service54;
126
126
  const shell = yield* Service37;
127
- const shellSelect = yield* Service64;
127
+ const shellSelect = yield* Service50;
128
128
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
129
- const permission = yield* Service56;
130
- const config = yield* Service68;
129
+ const permission = yield* Service55;
130
+ const config = yield* Service39;
131
131
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
132
132
  const source = {
133
133
  type: "tool",
@@ -146,7 +146,7 @@ var Plugin39 = {
146
146
  yield* access.authorizeExternal([target, ...directories], context);
147
147
  if (parsed.commands.length > 0)
148
148
  yield* permission.assert({
149
- action: name3,
149
+ action: name6,
150
150
  resources: parsed.commands.map((command) => command.resource),
151
151
  save: parsed.commands.map((command) => command.save),
152
152
  sessionID: context.sessionID,
@@ -183,10 +183,10 @@ var Plugin39 = {
183
183
  yield* jobs.completeBackground(info.notificationID);
184
184
  }, Effect.forkIn(scope, { startImmediately: true }));
185
185
  yield* ctx.tool.transform((editor) => editor.add({
186
- name: name3,
186
+ name: name6,
187
187
  options: { codemode: false },
188
188
  description: description(),
189
- input: Input3,
189
+ input: Input6,
190
190
  output: Output,
191
191
  execute: (input, context) => Effect.gen(function* () {
192
192
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -205,7 +205,7 @@ var Plugin39 = {
205
205
  const run = Effect.gen(function* () {
206
206
  const result = yield* shell.result(info);
207
207
  if (!result.capture)
208
- return yield* new NotFoundError6({ id: info.id });
208
+ return yield* new NotFoundError4({ id: info.id });
209
209
  const output = output2(result);
210
210
  return {
211
211
  ...output,
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
219
219
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
220
220
  const job = yield* jobs.start({
221
221
  id: info.id,
222
- type: name3,
222
+ type: name6,
223
223
  title: info.command,
224
224
  metadata: { sessionID: context.sessionID, shellID: info.id },
225
225
  recovery: {
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
249
249
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
250
250
  })).pipe(Effect.orDie);
251
251
  const hook = (event) => Effect.gen(function* () {
252
- const tool = event.tools[name3];
252
+ const tool = event.tools[name6];
253
253
  if (!tool)
254
254
  return;
255
255
  tool.description = description(name15(yield* compatibleShell));
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
260
260
  })
261
261
  };
262
262
 
263
- export { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin39, exports_shell2 };
263
+ export { name6, DEFAULT_TIMEOUT_MS2, Input6, Plugin42, exports_shell2 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  BlockedError2
3
- } from "./worktree-6h7j3cy3.js";
3
+ } from "./variant-5ekhjdzd.js";
4
4
  import {
5
5
  __export
6
- } from "./worktree-9rqn6x4v.js";
6
+ } from "./variant-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/plan.ts
9
9
  var exports_plan = {};
10
10
  __export(exports_plan, {
11
11
  PlanPlugin: () => exports_plan,
12
- Plugin: () => Plugin17
12
+ Plugin: () => Plugin16
13
13
  });
14
14
  import { Message, ToolFailure } from "@opencode/ai";
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
29
29
  var leave = `<system-reminder>
30
30
  You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
31
31
  </system-reminder>`;
32
- var Plugin17 = define({
32
+ var Plugin16 = define({
33
33
  id: "opencode.plan",
34
34
  effect: Effect.fn(function* (ctx) {
35
35
  const global = yield* Global.Service;
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
106
106
  }, undefined);
107
107
  }
108
108
 
109
- export { Plugin17, exports_plan };
109
+ export { Plugin16, exports_plan };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service68
3
- } from "./worktree-28cf9raz.js";
2
+ Service39
3
+ } from "./variant-5n7wdh8h.js";
4
4
  import {
5
- Service50
6
- } from "./worktree-a881zpfh.js";
5
+ Service36
6
+ } from "./variant-p8mhfpfb.js";
7
7
  import {
8
8
  observe2
9
- } from "./worktree-qsdy395h.js";
9
+ } from "./variant-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./worktree-9rqn6x4v.js";
12
+ } from "./variant-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/image.ts
15
15
  var exports_image = {};
16
16
  __export(exports_image, {
17
17
  ConfigImagePlugin: () => exports_image,
18
- Plugin: () => Plugin22
18
+ Plugin: () => Plugin21
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin22 = define({
22
+ var Plugin21 = define({
23
23
  id: "opencode.config.image",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service68;
26
- const image = yield* Service50;
25
+ const config = yield* Service39;
26
+ const image = yield* Service36;
27
27
  const loaded = yield* observe2(config, ctx.event, image.reload());
28
28
  yield* image.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -43,4 +43,4 @@ var Plugin22 = define({
43
43
  })
44
44
  });
45
45
 
46
- export { Plugin22, exports_image };
46
+ export { Plugin21, exports_image };