@opencode/core 0.0.0-dev-20075 → 0.0.0-dev-20076

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 (801) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{variant-3h50d2d8.js → file-retention-013zbbfs.js} +10 -10
  8. package/dist/chunks/{variant-5mef3xk7.js → file-retention-053cybx6.js} +10 -10
  9. package/dist/chunks/{variant-8z0v9tpj.js → file-retention-0bftx5a5.js} +85 -85
  10. package/dist/chunks/{variant-2d57kztd.js → file-retention-0ft9cg2j.js} +4 -4
  11. package/dist/chunks/{variant-0paq2nw3.js → file-retention-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{variant-nj481gba.js → file-retention-0vdkq15g.js} +5 -5
  13. package/dist/chunks/{variant-vsysd8s3.js → file-retention-11gyv0qx.js} +11 -11
  14. package/dist/chunks/{variant-vnkyds17.js → file-retention-136ah40c.js} +8 -8
  15. package/dist/chunks/{variant-57h5xjj4.js → file-retention-1agwz8aa.js} +38 -38
  16. package/dist/chunks/{variant-5b64cte8.js → file-retention-1fq49j2d.js} +18 -18
  17. package/dist/chunks/{variant-b9dsjnj7.js → file-retention-1tmvwee5.js} +8 -8
  18. package/dist/chunks/file-retention-1x11rq2a.js +18 -0
  19. package/dist/chunks/{variant-21r38tys.js → file-retention-21r38tys.js} +1 -1
  20. package/dist/chunks/{variant-2402vzrj.js → file-retention-2402vzrj.js} +1 -1
  21. package/dist/chunks/{variant-8tpythmx.js → file-retention-28tx5a5b.js} +24 -24
  22. package/dist/chunks/{variant-8epdgwc0.js → file-retention-29yjzs39.js} +24 -24
  23. package/dist/chunks/{variant-02av72dv.js → file-retention-2daz2v6c.js} +35 -35
  24. package/dist/chunks/{variant-6rxwp35s.js → file-retention-2f8p2v54.js} +20 -20
  25. package/dist/chunks/{variant-ery758hr.js → file-retention-2j7wsrwg.js} +10 -10
  26. package/dist/chunks/{variant-kzynzy4y.js → file-retention-2nxpygkr.js} +10 -10
  27. package/dist/chunks/{variant-70htw8qd.js → file-retention-2vqpzfka.js} +33 -33
  28. package/dist/chunks/{variant-0krcabsn.js → file-retention-31hetm60.js} +6 -6
  29. package/dist/chunks/{variant-r69mm98a.js → file-retention-3917zmsm.js} +12 -12
  30. package/dist/chunks/{variant-49exe669.js → file-retention-3bc8czyk.js} +5 -5
  31. package/dist/chunks/{variant-3fc6dm20.js → file-retention-3fc6dm20.js} +1 -1
  32. package/dist/chunks/{variant-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
  33. package/dist/chunks/{variant-b6gygkdw.js → file-retention-3hwn7j4h.js} +5 -5
  34. package/dist/chunks/{variant-18x7p8ha.js → file-retention-3p2dz6q4.js} +9 -9
  35. package/dist/chunks/{variant-3smtnn6g.js → file-retention-3smtnn6g.js} +1 -1
  36. package/dist/chunks/{variant-3tvqynh2.js → file-retention-3tvqynh2.js} +1 -1
  37. package/dist/chunks/{variant-3zsf4n22.js → file-retention-3zsf4n22.js} +1 -1
  38. package/dist/chunks/{variant-kad49353.js → file-retention-41wzkj33.js} +12 -12
  39. package/dist/chunks/{variant-yf5fe4my.js → file-retention-484azhyv.js} +18 -18
  40. package/dist/chunks/{variant-0kdyx93j.js → file-retention-4b052jb4.js} +20 -20
  41. package/dist/chunks/{variant-h6r3nrb9.js → file-retention-4dgbcxzg.js} +4 -4
  42. package/dist/chunks/{variant-r8bjv7hd.js → file-retention-4e3kc42d.js} +15 -15
  43. package/dist/chunks/file-retention-4egeceed.js +507 -0
  44. package/dist/chunks/{variant-vrk0cgw0.js → file-retention-4kr5mqj0.js} +24 -24
  45. package/dist/chunks/{variant-4q2gynnp.js → file-retention-4ptehb38.js} +15 -15
  46. package/dist/chunks/{variant-2g7pkq9k.js → file-retention-4qrxzr33.js} +20 -20
  47. package/dist/chunks/{variant-5rmj6wcp.js → file-retention-4v7r6s0x.js} +26 -26
  48. package/dist/chunks/{variant-0xezjjjn.js → file-retention-4w5f3qm5.js} +8 -8
  49. package/dist/chunks/{variant-2ptfhmaq.js → file-retention-4xzzvc1x.js} +16 -16
  50. package/dist/chunks/{variant-pef6k0gg.js → file-retention-57ez7d0k.js} +9 -9
  51. package/dist/chunks/{variant-dngx6zgq.js → file-retention-5carfvj1.js} +2 -2
  52. package/dist/chunks/{variant-5daktx2q.js → file-retention-5daktx2q.js} +1 -1
  53. package/dist/chunks/{variant-5ekn9679.js → file-retention-5ekn9679.js} +1 -1
  54. package/dist/chunks/{variant-e3qxr5gk.js → file-retention-5qd3pb7m.js} +2 -2
  55. package/dist/chunks/{variant-5t3nmthw.js → file-retention-5t3nmthw.js} +2 -2
  56. package/dist/chunks/{variant-q7azfttr.js → file-retention-5xpznt2d.js} +4 -4
  57. package/dist/chunks/{variant-nydghdxw.js → file-retention-60kb57hy.js} +22 -22
  58. package/dist/chunks/{variant-a6x7shte.js → file-retention-6477640v.js} +3 -3
  59. package/dist/chunks/{variant-669tq793.js → file-retention-669tq793.js} +1 -1
  60. package/dist/chunks/{variant-0z6w7vfv.js → file-retention-68y7phbn.js} +12 -12
  61. package/dist/chunks/{variant-z16bdfpw.js → file-retention-691kgrwj.js} +9 -9
  62. package/dist/chunks/{variant-6w0aczmv.js → file-retention-6a3zafpc.js} +11 -11
  63. package/dist/chunks/{variant-d90713ew.js → file-retention-6jq4c9x7.js} +10 -10
  64. package/dist/chunks/file-retention-6kdq0pjd.js +4 -0
  65. package/dist/chunks/{variant-6msgmcgs.js → file-retention-6msgmcgs.js} +1 -1
  66. package/dist/chunks/{variant-rkprpv83.js → file-retention-6pc27hjz.js} +6 -6
  67. package/dist/chunks/{variant-engkm2d6.js → file-retention-6xw3seg4.js} +5 -5
  68. package/dist/chunks/{variant-qbyce0vv.js → file-retention-739g7xpm.js} +170 -170
  69. package/dist/chunks/{variant-8q94mjap.js → file-retention-76j44xz4.js} +31 -31
  70. package/dist/chunks/{variant-0bzevza6.js → file-retention-7aqpe3z3.js} +18 -18
  71. package/dist/chunks/{variant-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{variant-y67gsgy6.js → file-retention-7e2yy7bx.js} +4 -4
  73. package/dist/chunks/{variant-ehd2w0yp.js → file-retention-7exmdcvp.js} +17 -17
  74. package/dist/chunks/{variant-9f1seg8j.js → file-retention-7g57k9pp.js} +19 -19
  75. package/dist/chunks/{variant-2jadfhe8.js → file-retention-7h93y3jd.js} +11 -11
  76. package/dist/chunks/{variant-af7j52hr.js → file-retention-7ma666fp.js} +4 -4
  77. package/dist/chunks/{variant-0f3fkebw.js → file-retention-7sk5kyxr.js} +4 -4
  78. package/dist/chunks/{variant-8d7r5vzw.js → file-retention-8d7r5vzw.js} +1 -1
  79. package/dist/chunks/{variant-84sj45vf.js → file-retention-8gsbz1zp.js} +15 -15
  80. package/dist/chunks/{variant-ngjw7veb.js → file-retention-8hddrz6y.js} +6 -6
  81. package/dist/chunks/{variant-mph8mpeq.js → file-retention-8rse1bz0.js} +23 -23
  82. package/dist/chunks/{variant-39j5cs0s.js → file-retention-8rvbch5b.js} +7 -7
  83. package/dist/chunks/{variant-gfvb90ym.js → file-retention-94ek1h2f.js} +2 -2
  84. package/dist/chunks/{variant-ccjjc20y.js → file-retention-98dhkg4b.js} +20 -20
  85. package/dist/chunks/{variant-nq3y9q1m.js → file-retention-9dz39q6x.js} +11 -11
  86. package/dist/chunks/{variant-q7mj73f6.js → file-retention-9kbs75gn.js} +21 -21
  87. package/dist/chunks/{variant-nk7804dj.js → file-retention-9q2dq694.js} +11 -11
  88. package/dist/chunks/{variant-2eyvmpqy.js → file-retention-9xsfwcg4.js} +32 -32
  89. package/dist/chunks/{variant-aaet6srn.js → file-retention-a28va38p.js} +8 -8
  90. package/dist/chunks/{variant-zd5rdewp.js → file-retention-a54wp4v4.js} +8 -8
  91. package/dist/chunks/{variant-m91qzb25.js → file-retention-aj2111eg.js} +44 -44
  92. package/dist/chunks/{variant-j55501wg.js → file-retention-amcfr32s.js} +6 -6
  93. package/dist/chunks/{variant-mjncxbbh.js → file-retention-awaee7qt.js} +4 -4
  94. package/dist/chunks/{variant-bjn6skbd.js → file-retention-awnng6aw.js} +5 -5
  95. package/dist/chunks/{variant-06mym1h5.js → file-retention-az5wxh9j.js} +8 -8
  96. package/dist/chunks/{variant-ajk3nktm.js → file-retention-azms3gmy.js} +25 -25
  97. package/dist/chunks/{variant-j35dsqtt.js → file-retention-b3rc9xq5.js} +10 -10
  98. package/dist/chunks/{variant-ab2nxame.js → file-retention-b7vm23fg.js} +25 -25
  99. package/dist/chunks/{variant-gxsbq66b.js → file-retention-b8hpyb2b.js} +13 -13
  100. package/dist/chunks/{variant-rk5vk321.js → file-retention-b971s22s.js} +4 -4
  101. package/dist/chunks/{variant-znt9c390.js → file-retention-bbr0ecrm.js} +11 -11
  102. package/dist/chunks/{variant-73x22xcw.js → file-retention-brcqjxp1.js} +12 -12
  103. package/dist/chunks/{variant-fzhdr1mx.js → file-retention-bv6943e1.js} +1 -1
  104. package/dist/chunks/{variant-1j4qs2dp.js → file-retention-bwz5vyq0.js} +13 -13
  105. package/dist/chunks/{variant-2e1azfp0.js → file-retention-cfvy20zr.js} +9 -9
  106. package/dist/chunks/{variant-54tcyq79.js → file-retention-ckecvw8r.js} +2 -2
  107. package/dist/chunks/{variant-1xcw6xjf.js → file-retention-cqdgmx8n.js} +23 -23
  108. package/dist/chunks/{variant-3cz8rj72.js → file-retention-cr07tj7n.js} +5 -5
  109. package/dist/chunks/{variant-qydm3dy6.js → file-retention-css2w393.js} +7 -7
  110. package/dist/chunks/{variant-amv7sxhe.js → file-retention-cy9y9za1.js} +30 -30
  111. package/dist/chunks/{variant-rt8yt3bf.js → file-retention-cybbce78.js} +17 -17
  112. package/dist/chunks/{variant-3g33scay.js → file-retention-dg2cj1yd.js} +4 -4
  113. package/dist/chunks/{variant-y71avatq.js → file-retention-dpkg50ah.js} +4 -4
  114. package/dist/chunks/{variant-drwq78ky.js → file-retention-drwq78ky.js} +1 -1
  115. package/dist/chunks/{variant-nmvjxe16.js → file-retention-e0vnyvwh.js} +10 -10
  116. package/dist/chunks/{variant-hcz3zddy.js → file-retention-e6hmchc5.js} +5 -5
  117. package/dist/chunks/{variant-stas9bdh.js → file-retention-e981czdn.js} +9 -9
  118. package/dist/chunks/{variant-zxbrzaq9.js → file-retention-e9zqkyac.js} +10 -10
  119. package/dist/chunks/{variant-ef5x83kb.js → file-retention-ef5x83kb.js} +1 -1
  120. package/dist/chunks/{variant-erw5rpbs.js → file-retention-erw5rpbs.js} +2 -2
  121. package/dist/chunks/{variant-etq0c3wd.js → file-retention-etq0c3wd.js} +1 -1
  122. package/dist/chunks/{variant-8qdtva9t.js → file-retention-ew6xy3kj.js} +13 -13
  123. package/dist/chunks/{variant-hpfrvn9v.js → file-retention-ewkprqrz.js} +16 -16
  124. package/dist/chunks/{variant-6zedfc54.js → file-retention-ezwgvxy6.js} +27 -27
  125. package/dist/chunks/{variant-xz8dbhge.js → file-retention-f96ctyse.js} +9 -9
  126. package/dist/chunks/{variant-qe45xzp3.js → file-retention-fc8s73xt.js} +23 -23
  127. package/dist/chunks/file-retention-fes7pmbs.js +252 -0
  128. package/dist/chunks/{variant-rjfg6bza.js → file-retention-fqmzt9nn.js} +26 -26
  129. package/dist/chunks/{variant-fm0yt94d.js → file-retention-g07zt90z.js} +35 -35
  130. package/dist/chunks/{variant-kns7re6s.js → file-retention-g58k0yz2.js} +15 -15
  131. package/dist/chunks/{variant-r2m716tb.js → file-retention-g6q9qykm.js} +8 -8
  132. package/dist/chunks/{variant-chfqe63q.js → file-retention-g9kevcwd.js} +10 -10
  133. package/dist/chunks/{variant-xycc92pn.js → file-retention-gajvcqmf.js} +24 -24
  134. package/dist/chunks/{variant-dbdtaeh3.js → file-retention-gar1kgy6.js} +42 -42
  135. package/dist/chunks/{variant-gd4qta3r.js → file-retention-gd4qta3r.js} +1 -1
  136. package/dist/chunks/{variant-fmfh291e.js → file-retention-gjy9kcm5.js} +11 -11
  137. package/dist/chunks/{variant-gv6a8nnw.js → file-retention-gv6a8nnw.js} +2 -2
  138. package/dist/chunks/{variant-zzexawz9.js → file-retention-gv7n655z.js} +26 -26
  139. package/dist/chunks/{variant-21xkm9mw.js → file-retention-gx3bsgbr.js} +28 -28
  140. package/dist/chunks/{variant-ppxpc5nv.js → file-retention-gyc1mqyt.js} +3 -3
  141. package/dist/chunks/{variant-n7hwxzgv.js → file-retention-gzjk9fnj.js} +24 -24
  142. package/dist/chunks/{variant-6p55r51m.js → file-retention-h0n36h3s.js} +1 -1
  143. package/dist/chunks/{variant-9ccjze4x.js → file-retention-h27jqpzg.js} +19 -19
  144. package/dist/chunks/{variant-17j9h1rv.js → file-retention-h2r7bbkd.js} +11 -11
  145. package/dist/chunks/{variant-hdkqes0b.js → file-retention-h38jpad5.js} +13 -13
  146. package/dist/chunks/{variant-v7eyjk8c.js → file-retention-h63arcwz.js} +38 -38
  147. package/dist/chunks/{variant-5hwa0061.js → file-retention-h6kzzfz4.js} +2 -2
  148. package/dist/chunks/{variant-h6vf3j39.js → file-retention-h6vf3j39.js} +1 -1
  149. package/dist/chunks/{variant-3d4xjzsg.js → file-retention-hfb3twc5.js} +29 -29
  150. package/dist/chunks/{variant-2a5m3afh.js → file-retention-hgz4x7wa.js} +4 -4
  151. package/dist/chunks/{variant-zqy8ejrp.js → file-retention-hv1rr3m3.js} +9 -9
  152. package/dist/chunks/{variant-wtm3ybk1.js → file-retention-hvb7b1k8.js} +3 -3
  153. package/dist/chunks/{variant-fbc9vsj2.js → file-retention-hvgp7k47.js} +20 -20
  154. package/dist/chunks/{variant-5jf3agd7.js → file-retention-hya5ekxn.js} +1 -1
  155. package/dist/chunks/{variant-557d9c8t.js → file-retention-j1x1sn3n.js} +20 -20
  156. package/dist/chunks/{variant-kqbmdx55.js → file-retention-j31v3zf1.js} +29 -29
  157. package/dist/chunks/{variant-j56e64zr.js → file-retention-j56e64zr.js} +1 -1
  158. package/dist/chunks/{variant-g20tdqpk.js → file-retention-j67eyxhk.js} +34 -34
  159. package/dist/chunks/{variant-9esb0m0p.js → file-retention-jcmwmbwz.js} +1 -1
  160. package/dist/chunks/{variant-jfmkgsry.js → file-retention-jh4dq78w.js} +16 -16
  161. package/dist/chunks/{variant-6sr3ve8g.js → file-retention-jw80jp6b.js} +21 -21
  162. package/dist/chunks/{variant-dvc89yjx.js → file-retention-k1qrnqst.js} +8 -8
  163. package/dist/chunks/{variant-e6y173sj.js → file-retention-k2egtdaq.js} +9 -9
  164. package/dist/chunks/{variant-nzks3jc8.js → file-retention-k3c624dm.js} +3 -3
  165. package/dist/chunks/{variant-vtd2qwnf.js → file-retention-k53npxr2.js} +1 -1
  166. package/dist/chunks/{variant-75x4dgvy.js → file-retention-k75f346z.js} +10 -10
  167. package/dist/chunks/{variant-83xz4qq9.js → file-retention-kf2ta3ye.js} +20 -20
  168. package/dist/chunks/{variant-nh3rsggm.js → file-retention-kkr60pt3.js} +6 -6
  169. package/dist/chunks/{variant-r6cdbtvh.js → file-retention-kmssrs7f.js} +4 -4
  170. package/dist/chunks/{variant-vya4f7hk.js → file-retention-krmp0vwn.js} +11 -11
  171. package/dist/chunks/{variant-tp7bfm6k.js → file-retention-ksp53khy.js} +28 -28
  172. package/dist/chunks/{variant-fjeqa7jj.js → file-retention-kwagda8j.js} +7 -7
  173. package/dist/chunks/{variant-g2yz86wh.js → file-retention-ky3seynh.js} +2 -2
  174. package/dist/chunks/{variant-8fz7s7fk.js → file-retention-kyngf2ah.js} +6 -6
  175. package/dist/chunks/{variant-hkafdcbz.js → file-retention-m16z5xgj.js} +1 -1
  176. package/dist/chunks/{variant-b51jbz85.js → file-retention-m3ebeh4f.js} +5 -5
  177. package/dist/chunks/{variant-m3fdjcah.js → file-retention-m3fdjcah.js} +1 -1
  178. package/dist/chunks/{variant-avrnkb01.js → file-retention-m5xa4xm2.js} +41 -41
  179. package/dist/chunks/{variant-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
  180. package/dist/chunks/{variant-e1e0rbzc.js → file-retention-ma0e9v7m.js} +40 -40
  181. package/dist/chunks/{variant-s41dxx30.js → file-retention-ma37n9mc.js} +3 -3
  182. package/dist/chunks/{variant-56gdpj1q.js → file-retention-mfqp6xfm.js} +6 -6
  183. package/dist/chunks/{variant-1bbkgx8g.js → file-retention-mhkvc446.js} +3 -3
  184. package/dist/chunks/{variant-3t9ng3w8.js → file-retention-mjm950tt.js} +34 -34
  185. package/dist/chunks/{variant-tgt20m8a.js → file-retention-mp0x0ve6.js} +13 -13
  186. package/dist/chunks/{variant-4n6z1r8s.js → file-retention-mrkjr00d.js} +26 -26
  187. package/dist/chunks/{variant-ngwyp1sx.js → file-retention-msnvgge2.js} +11 -11
  188. package/dist/chunks/{variant-gbdr24b9.js → file-retention-mvr5bn4j.js} +12 -12
  189. package/dist/chunks/{variant-wj76ss2k.js → file-retention-n2srvep7.js} +4 -4
  190. package/dist/chunks/{variant-rhafb4aa.js → file-retention-nq7qbqzc.js} +9 -9
  191. package/dist/chunks/{variant-m74j5n8t.js → file-retention-nwzjzhhc.js} +50 -50
  192. package/dist/chunks/{variant-gs5afy8f.js → file-retention-p10hfn84.js} +16 -16
  193. package/dist/chunks/{variant-s7h606h9.js → file-retention-p6j5c0dx.js} +25 -25
  194. package/dist/chunks/{variant-8b6wz1s2.js → file-retention-pc4b88sv.js} +4 -4
  195. package/dist/chunks/{variant-1dazxqgg.js → file-retention-ph5whc14.js} +5 -5
  196. package/dist/chunks/{variant-pjvnvgmy.js → file-retention-pjvnvgmy.js} +1 -1
  197. package/dist/chunks/{variant-b4fyfyab.js → file-retention-pjzp5jm9.js} +32 -32
  198. package/dist/chunks/{variant-pknna89w.js → file-retention-pknna89w.js} +1 -1
  199. package/dist/chunks/{variant-1wyzf5g7.js → file-retention-pmsv8f6n.js} +2 -2
  200. package/dist/chunks/{variant-na0h3a6c.js → file-retention-q9xx8pp8.js} +12 -12
  201. package/dist/chunks/{variant-7dqw4kz8.js → file-retention-qgn6gcr1.js} +5 -5
  202. package/dist/chunks/{variant-9byqxeta.js → file-retention-qmhwq76t.js} +12 -12
  203. package/dist/chunks/{variant-5e6ck4tr.js → file-retention-qq9k8xwf.js} +49 -49
  204. package/dist/chunks/{variant-qsdy395h.js → file-retention-qsdy395h.js} +1 -1
  205. package/dist/chunks/{variant-5mvsdnr7.js → file-retention-r4aa4m0k.js} +4 -4
  206. package/dist/chunks/{variant-75vzfbx5.js → file-retention-r4m6sj2t.js} +43 -43
  207. package/dist/chunks/{variant-yp2x3t23.js → file-retention-r8xr0va3.js} +4 -4
  208. package/dist/chunks/{variant-xb02k0wq.js → file-retention-ratrq7cm.js} +4 -4
  209. package/dist/chunks/{variant-rdw6cm16.js → file-retention-rdw6cm16.js} +1 -1
  210. package/dist/chunks/{variant-fzgxakwn.js → file-retention-repb58am.js} +6 -6
  211. package/dist/chunks/{variant-4ydd0s85.js → file-retention-rg4p5e11.js} +39 -39
  212. package/dist/chunks/{variant-xe0jn6g3.js → file-retention-rgkm1ghw.js} +8 -8
  213. package/dist/chunks/{variant-yq6sxka3.js → file-retention-rjkx1558.js} +48 -48
  214. package/dist/chunks/{variant-e42jp6kc.js → file-retention-rnzy20mt.js} +17 -17
  215. package/dist/chunks/{variant-55bea18v.js → file-retention-rp4daw2c.js} +84 -84
  216. package/dist/chunks/{variant-2e5jpznv.js → file-retention-rqdsjm6x.js} +29 -29
  217. package/dist/chunks/{variant-b8y4420x.js → file-retention-rty2yphq.js} +43 -43
  218. package/dist/chunks/{variant-sdmtvvxy.js → file-retention-s76c0ttp.js} +17 -17
  219. package/dist/chunks/{variant-eaj1djv9.js → file-retention-s8d7rejh.js} +6 -6
  220. package/dist/chunks/file-retention-s958vy2b.js +26 -0
  221. package/dist/chunks/{variant-p8djes8h.js → file-retention-s9h1avrm.js} +21 -21
  222. package/dist/chunks/{variant-59d32q4x.js → file-retention-savsd166.js} +54 -54
  223. package/dist/chunks/{variant-a5t4p5xt.js → file-retention-sc7mjsx7.js} +24 -24
  224. package/dist/chunks/{variant-6tb4xv4d.js → file-retention-scw2ekxw.js} +11 -11
  225. package/dist/chunks/{variant-04egpzyt.js → file-retention-sfn2jqx5.js} +36 -36
  226. package/dist/chunks/{variant-dh75pk8w.js → file-retention-sgwh5nyn.js} +8 -8
  227. package/dist/chunks/{variant-bz7588dj.js → file-retention-sh5cyp0z.js} +26 -26
  228. package/dist/chunks/{variant-3tqzctrg.js → file-retention-sn2197kq.js} +23 -23
  229. package/dist/chunks/{variant-6wjad31y.js → file-retention-ssh52gjb.js} +7 -7
  230. package/dist/chunks/{variant-8pagagwq.js → file-retention-sw1mxqw6.js} +8 -8
  231. package/dist/chunks/{variant-qmkkft71.js → file-retention-sx1yqcbh.js} +24 -24
  232. package/dist/chunks/{variant-z3pw5915.js → file-retention-t0fxg8b9.js} +5 -5
  233. package/dist/chunks/{variant-wnsqmkbm.js → file-retention-t2f6sps2.js} +22 -22
  234. package/dist/chunks/{variant-n2cj49gr.js → file-retention-t5ymyahf.js} +22 -22
  235. package/dist/chunks/{variant-1a6p2twq.js → file-retention-t9zs3egg.js} +4 -4
  236. package/dist/chunks/{variant-tazgh4e4.js → file-retention-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{variant-tcezcvh9.js → file-retention-tcezcvh9.js} +1 -1
  238. package/dist/chunks/{variant-tdstcens.js → file-retention-tdstcens.js} +1 -1
  239. package/dist/chunks/{variant-e37stjd8.js → file-retention-tfg9eqy2.js} +11 -11
  240. package/dist/chunks/{variant-8eh51za7.js → file-retention-tn0keqwc.js} +9 -9
  241. package/dist/chunks/{variant-4hz2mmtn.js → file-retention-tnyz8ww6.js} +6 -6
  242. package/dist/chunks/{variant-ds9k8dwt.js → file-retention-tp2f02fq.js} +18 -18
  243. package/dist/chunks/{variant-p37cw4rj.js → file-retention-tpw6cwsb.js} +8 -8
  244. package/dist/chunks/{variant-7xgrqf4n.js → file-retention-tq0ny4gr.js} +18 -18
  245. package/dist/chunks/{variant-w5q6wzvx.js → file-retention-ttt144n2.js} +25 -25
  246. package/dist/chunks/{variant-fx8cm3j5.js → file-retention-tv6fr57g.js} +11 -11
  247. package/dist/chunks/{variant-tvtrv512.js → file-retention-tvtrv512.js} +1 -1
  248. package/dist/chunks/{variant-jk953tft.js → file-retention-tyd90661.js} +4 -4
  249. package/dist/chunks/{variant-zncf754x.js → file-retention-v155ndty.js} +9 -9
  250. package/dist/chunks/{variant-2a6rn6yr.js → file-retention-v6gb7zv2.js} +6 -6
  251. package/dist/chunks/{variant-fhpv401t.js → file-retention-v9vsdr5e.js} +46 -46
  252. package/dist/chunks/{variant-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
  253. package/dist/chunks/{variant-r9684t3a.js → file-retention-vjgtykma.js} +10 -10
  254. package/dist/chunks/{variant-naagfrme.js → file-retention-vp54qpx1.js} +16 -16
  255. package/dist/chunks/{variant-s07fdbeq.js → file-retention-vrssy5kh.js} +16 -16
  256. package/dist/chunks/{variant-cetrwbmx.js → file-retention-vtbecytz.js} +14 -14
  257. package/dist/chunks/{variant-qrbkb0m8.js → file-retention-vtg6dttc.js} +11 -11
  258. package/dist/chunks/{variant-9cyfspf3.js → file-retention-vtxr0yy2.js} +5 -5
  259. package/dist/chunks/{variant-vzcthcp8.js → file-retention-vzcthcp8.js} +1 -1
  260. package/dist/chunks/{variant-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
  261. package/dist/chunks/{variant-6sd32h80.js → file-retention-w5bfhdvm.js} +6 -6
  262. package/dist/chunks/{variant-dfjemdtf.js → file-retention-wa8jxbkg.js} +32 -32
  263. package/dist/chunks/{variant-psazpmmj.js → file-retention-wd3x2cqz.js} +2 -2
  264. package/dist/chunks/{variant-wd87259q.js → file-retention-wd87259q.js} +1 -1
  265. package/dist/chunks/{variant-8zds6rzg.js → file-retention-ws1m066q.js} +15 -15
  266. package/dist/chunks/{variant-cmh4zy5x.js → file-retention-wt002vfw.js} +12 -12
  267. package/dist/chunks/{variant-834a0b17.js → file-retention-wxffcvth.js} +7 -7
  268. package/dist/chunks/{variant-x1ezjp6w.js → file-retention-x1ezjp6w.js} +1 -1
  269. package/dist/chunks/{variant-qc5e3rnt.js → file-retention-x7c67s47.js} +5 -5
  270. package/dist/chunks/{variant-apg24jar.js → file-retention-xk5yp3rz.js} +22 -22
  271. package/dist/chunks/{variant-y1ra24rz.js → file-retention-xkzzg3p1.js} +18 -18
  272. package/dist/chunks/{variant-xkhfjrgz.js → file-retention-xxynqx5z.js} +2 -2
  273. package/dist/chunks/{variant-yh7kjdpc.js → file-retention-y0mc46pw.js} +9 -9
  274. package/dist/chunks/{variant-y1fvbwt7.js → file-retention-y1fvbwt7.js} +1 -1
  275. package/dist/chunks/{variant-s5d9hk7s.js → file-retention-y56ehv6b.js} +9 -9
  276. package/dist/chunks/{variant-62m7qsdd.js → file-retention-y8x91hrb.js} +3 -3
  277. package/dist/chunks/{variant-whz31wrj.js → file-retention-yer1ws18.js} +11 -11
  278. package/dist/chunks/{variant-f747t98r.js → file-retention-yk950sz5.js} +14 -14
  279. package/dist/chunks/{variant-k5y748ge.js → file-retention-ypvayta9.js} +5 -5
  280. package/dist/chunks/{variant-yrhqyw5v.js → file-retention-yrhqyw5v.js} +1 -1
  281. package/dist/chunks/{variant-g1er0jf5.js → file-retention-yrxt8wb8.js} +70 -70
  282. package/dist/chunks/{variant-s4enseaf.js → file-retention-yrznvahk.js} +2 -2
  283. package/dist/chunks/{variant-2hr5nhwa.js → file-retention-yvvvp4gn.js} +8 -8
  284. package/dist/chunks/{variant-bjtzbw4r.js → file-retention-z07pqspn.js} +3 -3
  285. package/dist/chunks/{variant-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
  286. package/dist/chunks/{variant-29x78va6.js → file-retention-z63w68vq.js} +6 -6
  287. package/dist/chunks/{variant-zvt5dnpc.js → file-retention-zee1rnkq.js} +4 -4
  288. package/dist/chunks/{variant-zeh9ct20.js → file-retention-zeh9ct20.js} +2 -2
  289. package/dist/chunks/{variant-sjgae2xy.js → file-retention-zfjgpsdd.js} +24 -24
  290. package/dist/chunks/{variant-rkg5m5ng.js → file-retention-zm2y9yb3.js} +9 -9
  291. package/dist/chunks/{variant-zr2ceqn5.js → file-retention-zr2ceqn5.js} +1 -1
  292. package/dist/chunks/{variant-zxq2ej10.js → file-retention-zxq2ej10.js} +1 -1
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +7 -7
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +83 -83
  298. package/dist/config/discovery.js +82 -82
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +123 -123
  302. package/dist/config/plugin/command.js +212 -212
  303. package/dist/config/plugin/compaction.js +160 -160
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +123 -123
  310. package/dist/config/plugin/mcp.js +130 -130
  311. package/dist/config/plugin/policy.js +122 -122
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +123 -123
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +142 -142
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +126 -126
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +122 -122
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +128 -128
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +83 -83
  327. package/dist/database/database.js +66 -66
  328. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  329. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +15 -15
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +16 -16
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +76 -76
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +371 -371
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +3 -3
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +3 -3
  411. package/dist/environment/index.js +95 -95
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +70 -70
  417. package/dist/file-access.js +104 -104
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/file.js +1 -1
  421. package/dist/filesystem/fff.bun.js +2 -2
  422. package/dist/filesystem/fff.js +1 -1
  423. package/dist/filesystem/fff.node.js +2 -2
  424. package/dist/filesystem/fff.workerd.js +2 -2
  425. package/dist/filesystem/ignore.js +1 -1
  426. package/dist/filesystem/location-watcher-policy.js +4 -4
  427. package/dist/filesystem/location-watcher.js +225 -225
  428. package/dist/filesystem/protected.js +1 -1
  429. package/dist/filesystem/search.js +97 -97
  430. package/dist/filesystem/watcher-binding.js +3 -3
  431. package/dist/filesystem/watcher.js +13 -13
  432. package/dist/filesystem.js +98 -98
  433. package/dist/form.js +82 -82
  434. package/dist/formatter/builtins.js +4 -4
  435. package/dist/formatter.js +87 -87
  436. package/dist/generate.js +105 -105
  437. package/dist/git.js +10 -10
  438. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  439. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  440. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  442. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  443. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  444. package/dist/github-copilot/copilot-provider.js +17 -17
  445. package/dist/github-copilot/models.js +91 -91
  446. package/dist/github-copilot/openai-compatible-error.js +1 -1
  447. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  448. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  449. package/dist/github-copilot/responses/openai-error.js +1 -1
  450. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  451. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  452. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  453. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  454. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  457. package/dist/id/id.js +1 -1
  458. package/dist/image/photon.js +2 -2
  459. package/dist/image.js +6 -6
  460. package/dist/instance/service.js +5 -5
  461. package/dist/instance.js +362 -362
  462. package/dist/instruction-discovery.js +85 -85
  463. package/dist/instructions/builtins.js +87 -87
  464. package/dist/instructions/index.js +3 -3
  465. package/dist/integration/connection.js +3 -3
  466. package/dist/integration.js +86 -86
  467. package/dist/job.js +79 -79
  468. package/dist/kv/sql.js +2 -2
  469. package/dist/kv.js +73 -73
  470. package/dist/location-activity.js +132 -132
  471. package/dist/location-lifecycle.js +107 -107
  472. package/dist/location-mutation.js +104 -104
  473. package/dist/location-service-map.js +86 -86
  474. package/dist/location-services.js +359 -359
  475. package/dist/location.js +89 -89
  476. package/dist/managed-policy.js +5 -5
  477. package/dist/mcp/client.js +91 -91
  478. package/dist/mcp/index.js +108 -108
  479. package/dist/mcp/instructions.js +128 -128
  480. package/dist/mcp/oauth.js +78 -78
  481. package/dist/mcp/stdio.js +90 -90
  482. package/dist/mime.js +1 -1
  483. package/dist/modal/models.js +91 -91
  484. package/dist/model-resolver.js +98 -98
  485. package/dist/model.js +100 -100
  486. package/dist/models-dev.js +107 -107
  487. package/dist/oauth/page.js +1 -1
  488. package/dist/permission/saved.js +78 -78
  489. package/dist/permission/sql.js +5 -5
  490. package/dist/permission.js +111 -111
  491. package/dist/persistent-pty/binary.bun.js +1 -1
  492. package/dist/persistent-pty/daemon.js +1 -1
  493. package/dist/persistent-pty/index.js +84 -84
  494. package/dist/persistent-pty/pty-binding.js +1 -1
  495. package/dist/persistent-pty.js +75 -75
  496. package/dist/plugin/agent.js +102 -102
  497. package/dist/plugin/command.js +99 -99
  498. package/dist/plugin/compaction.js +131 -131
  499. package/dist/plugin/hooks.js +5 -5
  500. package/dist/plugin/host.js +218 -218
  501. package/dist/plugin/identity.js +3 -3
  502. package/dist/plugin/instance.js +5 -5
  503. package/dist/plugin/internal.js +333 -333
  504. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  505. package/dist/plugin/models-dev.js +96 -96
  506. package/dist/plugin/module.js +7 -7
  507. package/dist/plugin/optimize.js +4 -4
  508. package/dist/plugin/plan.js +102 -102
  509. package/dist/plugin/promise.js +1 -1
  510. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  511. package/dist/plugin/provider/azure.js +122 -122
  512. package/dist/plugin/provider/cerebras.js +1 -1
  513. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  514. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  515. package/dist/plugin/provider/cohere.js +2 -2
  516. package/dist/plugin/provider/configured.js +119 -119
  517. package/dist/plugin/provider/digitalocean.js +93 -93
  518. package/dist/plugin/provider/dynamic.js +2 -2
  519. package/dist/plugin/provider/factory.js +1 -1
  520. package/dist/plugin/provider/gateway.js +2 -2
  521. package/dist/plugin/provider/github-copilot.js +93 -93
  522. package/dist/plugin/provider/gitlab.js +91 -91
  523. package/dist/plugin/provider/google-vertex.js +90 -90
  524. package/dist/plugin/provider/kilo.js +1 -1
  525. package/dist/plugin/provider/llmgateway.js +77 -77
  526. package/dist/plugin/provider/lmstudio.js +120 -120
  527. package/dist/plugin/provider/modal.js +92 -92
  528. package/dist/plugin/provider/nvidia.js +1 -1
  529. package/dist/plugin/provider/ollama.js +122 -122
  530. package/dist/plugin/provider/openai.js +94 -94
  531. package/dist/plugin/provider/opencode.js +95 -95
  532. package/dist/plugin/provider/openrouter.js +91 -91
  533. package/dist/plugin/provider/perplexity.js +2 -2
  534. package/dist/plugin/provider/poe.js +78 -78
  535. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  536. package/dist/plugin/provider/sap-ai-core.js +91 -91
  537. package/dist/plugin/provider/sdk-factory.js +1 -1
  538. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  539. package/dist/plugin/provider/venice.js +2 -2
  540. package/dist/plugin/provider/vercel.js +90 -90
  541. package/dist/plugin/provider/vllm.js +122 -122
  542. package/dist/plugin/provider/xai.js +91 -91
  543. package/dist/plugin/provider/zenmux.js +1 -1
  544. package/dist/plugin/provider.js +160 -160
  545. package/dist/plugin/sdk.js +76 -76
  546. package/dist/plugin/service.js +3 -3
  547. package/dist/plugin/skill.js +141 -141
  548. package/dist/plugin/source-directory.js +1 -1
  549. package/dist/plugin/supervisor.js +352 -352
  550. package/dist/plugin/tool-input-repair.js +4 -4
  551. package/dist/plugin/update.js +6 -6
  552. package/dist/plugin/vcs/git.js +86 -86
  553. package/dist/plugin/vcs/hg.js +86 -86
  554. package/dist/plugin/warming.js +121 -121
  555. package/dist/plugin/websearch/exa.js +7 -7
  556. package/dist/plugin/websearch/firecrawl.js +8 -8
  557. package/dist/plugin/websearch/index.js +9 -9
  558. package/dist/plugin/websearch/mcp.js +4 -4
  559. package/dist/plugin/websearch/parallel.js +8 -8
  560. package/dist/plugin/websearch/tavily.js +6 -6
  561. package/dist/plugin/websearch/tinyfish.js +8 -8
  562. package/dist/plugin.js +223 -223
  563. package/dist/project/schema.js +8 -8
  564. package/dist/project/sql.js +4 -4
  565. package/dist/project.js +90 -90
  566. package/dist/provider.js +97 -97
  567. package/dist/pty/protocol.js +1 -1
  568. package/dist/pty/schema.js +3 -3
  569. package/dist/pty/ticket.js +1 -1
  570. package/dist/pty.js +98 -98
  571. package/dist/reference/instructions.js +89 -89
  572. package/dist/reference.js +89 -89
  573. package/dist/repository-cache.js +81 -81
  574. package/dist/repository.js +1 -1
  575. package/dist/ripgrep/binary.js +2 -2
  576. package/dist/ripgrep.js +97 -97
  577. package/dist/rpc.js +86 -86
  578. package/dist/schema.js +1 -1
  579. package/dist/session/command.js +74 -74
  580. package/dist/session/compaction.js +134 -134
  581. package/dist/session/context.js +152 -152
  582. package/dist/session/diff.js +88 -88
  583. package/dist/session/environment.js +5 -5
  584. package/dist/session/error.js +5 -5
  585. package/dist/session/event.js +1 -1
  586. package/dist/session/execution/restart.js +221 -221
  587. package/dist/session/execution.js +128 -128
  588. package/dist/session/generate.js +153 -153
  589. package/dist/session/history.js +15 -15
  590. package/dist/session/inbox.js +90 -90
  591. package/dist/session/info.js +3 -3
  592. package/dist/session/instruction-entry.js +79 -79
  593. package/dist/session/instruction-state.js +8 -8
  594. package/dist/session/instructions.js +93 -93
  595. package/dist/session/message-updater.js +4 -4
  596. package/dist/session/message.js +1 -1
  597. package/dist/session/model-request.js +119 -119
  598. package/dist/session/model-transport.js +9 -9
  599. package/dist/session/move.js +130 -130
  600. package/dist/session/projector.js +86 -86
  601. package/dist/session/prompt.js +105 -105
  602. package/dist/session/provider-context.js +3 -3
  603. package/dist/session/revert.js +90 -90
  604. package/dist/session/run-coordinator.js +3 -3
  605. package/dist/session/runner/index.js +3 -3
  606. package/dist/session/runner/llm.js +231 -231
  607. package/dist/session/runner/max-steps.js +1 -1
  608. package/dist/session/runner/model.js +98 -98
  609. package/dist/session/runner/publish-llm-event.js +3 -3
  610. package/dist/session/runner/retry.js +114 -114
  611. package/dist/session/runner/step.js +126 -126
  612. package/dist/session/runner/to-llm-message.js +2 -2
  613. package/dist/session/schema.js +3 -3
  614. package/dist/session/session.js +172 -172
  615. package/dist/session/shell.js +138 -138
  616. package/dist/session/skill.js +103 -103
  617. package/dist/session/sql.js +5 -5
  618. package/dist/session/stats.js +73 -73
  619. package/dist/session/store.js +85 -85
  620. package/dist/session/subagent-completion.js +1 -1
  621. package/dist/session/subagent-job.js +208 -208
  622. package/dist/session/system-prompt.js +1 -1
  623. package/dist/session/title.js +156 -156
  624. package/dist/session/to-session-error.js +111 -111
  625. package/dist/session/transfer.js +215 -215
  626. package/dist/session/usage.js +1 -1
  627. package/dist/session.js +214 -214
  628. package/dist/shell/parse.js +6 -6
  629. package/dist/shell/result.js +1 -1
  630. package/dist/shell/scan.js +1 -1
  631. package/dist/shell/select.js +11 -11
  632. package/dist/shell.js +140 -140
  633. package/dist/skill/discovery.js +6 -6
  634. package/dist/skill/instructions.js +107 -107
  635. package/dist/skill.js +110 -110
  636. package/dist/snapshot.js +91 -91
  637. package/dist/state.js +1 -1
  638. package/dist/tool/html-markdown.js +1 -1
  639. package/dist/tool/http-body.js +1 -1
  640. package/dist/tool/mcp.js +127 -127
  641. package/dist/tool/plugin/edit.js +120 -120
  642. package/dist/tool/plugin/file-diff.js +1 -1
  643. package/dist/tool/plugin/glob.js +124 -124
  644. package/dist/tool/plugin/grep.js +122 -122
  645. package/dist/tool/plugin/mcp-resource.js +116 -116
  646. package/dist/tool/plugin/opencode.js +3 -3
  647. package/dist/tool/plugin/patch.js +122 -122
  648. package/dist/tool/plugin/question.js +105 -105
  649. package/dist/tool/plugin/read.js +125 -125
  650. package/dist/tool/plugin/shell.js +215 -215
  651. package/dist/tool/plugin/skill.js +111 -111
  652. package/dist/tool/plugin/subagent.js +217 -217
  653. package/dist/tool/plugin/webfetch.js +112 -112
  654. package/dist/tool/plugin/websearch.js +112 -112
  655. package/dist/tool/plugin/write.js +122 -122
  656. package/dist/tool/read-filesystem.js +100 -100
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +8 -8
  659. package/dist/tool.js +14 -14
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/error.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/iife.js +1 -1
  664. package/dist/util/lazy.js +1 -1
  665. package/dist/util/slug.js +1 -1
  666. package/dist/util/token.js +1 -1
  667. package/dist/util/which.js +1 -1
  668. package/dist/util/wildcard.js +1 -1
  669. package/dist/v1/config/agent.js +7 -7
  670. package/dist/v1/config/attachment.js +4 -4
  671. package/dist/v1/config/command.js +3 -3
  672. package/dist/v1/config/config.js +16 -16
  673. package/dist/v1/config/error.js +4 -4
  674. package/dist/v1/config/formatter.js +3 -3
  675. package/dist/v1/config/layout.js +1 -1
  676. package/dist/v1/config/lsp.js +3 -3
  677. package/dist/v1/config/mcp.js +4 -4
  678. package/dist/v1/config/migrate.js +92 -92
  679. package/dist/v1/config/permission.js +7 -7
  680. package/dist/v1/config/plugin.js +3 -3
  681. package/dist/v1/config/provider-options.js +1 -1
  682. package/dist/v1/config/provider.js +4 -4
  683. package/dist/v1/config/server.js +2 -2
  684. package/dist/v1/config/skills.js +3 -3
  685. package/dist/v1/permission.js +1 -1
  686. package/dist/variant.js +93 -93
  687. package/dist/vcs/patch.js +1 -1
  688. package/dist/vcs.js +89 -89
  689. package/dist/websearch.js +84 -84
  690. package/dist/wellknown/plugin.js +76 -76
  691. package/dist/wellknown.js +81 -81
  692. package/dist/workspace/driver.js +5 -5
  693. package/dist/workspace/sql.js +1 -1
  694. package/dist/workspace.js +80 -80
  695. package/dist/worktree/directory.js +2 -2
  696. package/dist/worktree/git.js +10 -10
  697. package/dist/worktree/sql.js +5 -5
  698. package/dist/worktree/strategies.js +89 -89
  699. package/dist/worktree.js +98 -98
  700. package/package.json +8 -8
  701. package/dist/chunks/variant-3c0cjr72.js +0 -26
  702. package/dist/chunks/variant-cdqw8pv3.js +0 -252
  703. package/dist/chunks/variant-ctefx7dc.js +0 -18
  704. package/dist/chunks/variant-qapv375x.js +0 -4
  705. package/dist/chunks/variant-r5ha4mwf.js +0 -507
  706. /package/dist/chunks/{variant-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
  707. /package/dist/chunks/{variant-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
  708. /package/dist/chunks/{variant-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
  709. /package/dist/chunks/{variant-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
  710. /package/dist/chunks/{variant-1kg9ymc8.js → file-retention-1kg9ymc8.js} +0 -0
  711. /package/dist/chunks/{variant-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
  712. /package/dist/chunks/{variant-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
  713. /package/dist/chunks/{variant-2axfhc9x.js → file-retention-2axfhc9x.js} +0 -0
  714. /package/dist/chunks/{variant-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
  715. /package/dist/chunks/{variant-34c7v6d4.js → file-retention-34c7v6d4.js} +0 -0
  716. /package/dist/chunks/{variant-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
  717. /package/dist/chunks/{variant-3asan66x.js → file-retention-3asan66x.js} +0 -0
  718. /package/dist/chunks/{variant-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
  719. /package/dist/chunks/{variant-3w5fmr99.js → file-retention-3w5fmr99.js} +0 -0
  720. /package/dist/chunks/{variant-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
  721. /package/dist/chunks/{variant-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
  722. /package/dist/chunks/{variant-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
  723. /package/dist/chunks/{variant-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
  724. /package/dist/chunks/{variant-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
  725. /package/dist/chunks/{variant-53557ph1.js → file-retention-53557ph1.js} +0 -0
  726. /package/dist/chunks/{variant-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
  727. /package/dist/chunks/{variant-6prwharc.js → file-retention-6prwharc.js} +0 -0
  728. /package/dist/chunks/{variant-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
  729. /package/dist/chunks/{variant-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
  730. /package/dist/chunks/{variant-822emrt2.js → file-retention-822emrt2.js} +0 -0
  731. /package/dist/chunks/{variant-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
  732. /package/dist/chunks/{variant-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
  733. /package/dist/chunks/{variant-8wj87zfr.js → file-retention-8wj87zfr.js} +0 -0
  734. /package/dist/chunks/{variant-922hggd3.js → file-retention-922hggd3.js} +0 -0
  735. /package/dist/chunks/{variant-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
  736. /package/dist/chunks/{variant-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
  737. /package/dist/chunks/{variant-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
  738. /package/dist/chunks/{variant-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
  739. /package/dist/chunks/{variant-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
  740. /package/dist/chunks/{variant-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
  741. /package/dist/chunks/{variant-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
  742. /package/dist/chunks/{variant-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
  743. /package/dist/chunks/{variant-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
  744. /package/dist/chunks/{variant-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
  745. /package/dist/chunks/{variant-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
  746. /package/dist/chunks/{variant-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
  747. /package/dist/chunks/{variant-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
  748. /package/dist/chunks/{variant-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
  749. /package/dist/chunks/{variant-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
  750. /package/dist/chunks/{variant-df08tz66.js → file-retention-df08tz66.js} +0 -0
  751. /package/dist/chunks/{variant-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
  752. /package/dist/chunks/{variant-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
  753. /package/dist/chunks/{variant-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
  754. /package/dist/chunks/{variant-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
  755. /package/dist/chunks/{variant-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
  756. /package/dist/chunks/{variant-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
  757. /package/dist/chunks/{variant-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
  758. /package/dist/chunks/{variant-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
  759. /package/dist/chunks/{variant-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
  760. /package/dist/chunks/{variant-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
  761. /package/dist/chunks/{variant-fxgpk5d8.js → file-retention-fxgpk5d8.js} +0 -0
  762. /package/dist/chunks/{variant-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
  763. /package/dist/chunks/{variant-g86h250q.js → file-retention-g86h250q.js} +0 -0
  764. /package/dist/chunks/{variant-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
  765. /package/dist/chunks/{variant-gftt206x.js → file-retention-gftt206x.js} +0 -0
  766. /package/dist/chunks/{variant-hjbc5kem.js → file-retention-hjbc5kem.js} +0 -0
  767. /package/dist/chunks/{variant-hk9envan.js → file-retention-hk9envan.js} +0 -0
  768. /package/dist/chunks/{variant-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
  769. /package/dist/chunks/{variant-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
  770. /package/dist/chunks/{variant-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
  771. /package/dist/chunks/{variant-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
  772. /package/dist/chunks/{variant-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
  773. /package/dist/chunks/{variant-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
  774. /package/dist/chunks/{variant-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
  775. /package/dist/chunks/{variant-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
  776. /package/dist/chunks/{variant-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
  777. /package/dist/chunks/{variant-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
  778. /package/dist/chunks/{variant-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
  779. /package/dist/chunks/{variant-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
  780. /package/dist/chunks/{variant-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
  781. /package/dist/chunks/{variant-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
  782. /package/dist/chunks/{variant-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
  783. /package/dist/chunks/{variant-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
  784. /package/dist/chunks/{variant-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
  785. /package/dist/chunks/{variant-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
  786. /package/dist/chunks/{variant-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
  787. /package/dist/chunks/{variant-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
  788. /package/dist/chunks/{variant-sk3qaz4a.js → file-retention-sk3qaz4a.js} +0 -0
  789. /package/dist/chunks/{variant-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
  790. /package/dist/chunks/{variant-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
  791. /package/dist/chunks/{variant-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
  792. /package/dist/chunks/{variant-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
  793. /package/dist/chunks/{variant-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
  794. /package/dist/chunks/{variant-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
  795. /package/dist/chunks/{variant-x61499pn.js → file-retention-x61499pn.js} +0 -0
  796. /package/dist/chunks/{variant-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
  797. /package/dist/chunks/{variant-y8cydn3q.js → file-retention-y8cydn3q.js} +0 -0
  798. /package/dist/chunks/{variant-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
  799. /package/dist/chunks/{variant-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
  800. /package/dist/chunks/{variant-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
  801. /package/dist/chunks/{variant-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./variant-y71avatq.js";
3
+ } from "./file-retention-dpkg50ah.js";
4
4
  import {
5
5
  Service83,
6
6
  node87
7
- } from "./variant-0f3fkebw.js";
7
+ } from "./file-retention-7sk5kyxr.js";
8
8
  import {
9
9
  Event20,
10
- Service81,
11
- node85
12
- } from "./variant-apg24jar.js";
10
+ Service78,
11
+ node82
12
+ } from "./file-retention-xk5yp3rz.js";
13
13
  import {
14
- Service75,
15
- node79
16
- } from "./variant-ehd2w0yp.js";
17
- import {
18
- Service62,
19
- node65
20
- } from "./variant-4n6z1r8s.js";
21
- import {
22
- ID17,
23
14
  Service80,
24
15
  node84
25
- } from "./variant-nydghdxw.js";
16
+ } from "./file-retention-7exmdcvp.js";
17
+ import {
18
+ Service57,
19
+ node61
20
+ } from "./file-retention-mrkjr00d.js";
21
+ import {
22
+ ID15,
23
+ Service77,
24
+ node81
25
+ } from "./file-retention-60kb57hy.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./variant-rdw6cm16.js";
29
+ } from "./file-retention-rdw6cm16.js";
30
30
  import {
31
- ID16,
31
+ ID14,
32
32
  MethodID2,
33
- Service79,
34
- node83
35
- } from "./variant-kqbmdx55.js";
33
+ Service76,
34
+ node80
35
+ } from "./file-retention-j31v3zf1.js";
36
36
  import {
37
37
  __export
38
- } from "./variant-9rqn6x4v.js";
38
+ } from "./file-retention-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: () => Service29,
54
54
  Status: () => Status2,
55
55
  ToolCallError: () => ToolCallError2,
56
- configured: () => configured5,
57
- layer: () => layer14,
58
- node: () => node38
56
+ configured: () => configured3,
57
+ layer: () => layer13,
58
+ node: () => node32
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 Service29 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 layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
105
- const location = yield* Service75;
106
- const environment = yield* Service62;
104
+ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
105
+ const location = yield* Service80;
106
+ const environment = yield* Service57;
107
107
  const bus = yield* Service83;
108
- const forms = yield* Service80;
109
- const integration = yield* Service79;
110
- const credentials = yield* Service81;
108
+ const forms = yield* Service77;
109
+ const integration = yield* Service76;
110
+ const credentials = yield* Service78;
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 layer14 = (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 = ID16.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 layer14 = (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(Service81, credentials));
138
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service78, credentials));
139
139
  })
140
140
  });
141
141
  }).pipe(Scope.provide(scope));
@@ -144,19 +144,19 @@ var layer14 = (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(Service81, credentials));
154
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service78, credentials));
155
155
  });
156
156
  const elicitation = {
157
157
  create: (input) => Effect.gen(function* () {
158
158
  if (input.params.mode === "url") {
159
- const formID = ID17.create();
159
+ const formID = ID15.create();
160
160
  const elicitationID = input.params.elicitationId;
161
161
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
162
162
  if (key)
@@ -259,7 +259,7 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
259
259
  entry.scope = scope;
260
260
  const authProvider = yield* connectProvider(entry);
261
261
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
262
- 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(Service62, environment), Scope.provide(scope));
262
+ 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(Service57, environment), Scope.provide(scope));
263
263
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
264
264
  if (Exit.isSuccess(result)) {
265
265
  entry.client = result.value.connection;
@@ -410,7 +410,7 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
410
410
  }),
411
411
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
412
412
  });
413
- return Service35.of({
413
+ return Service29.of({
414
414
  transform: state.transform,
415
415
  reload: state.reload,
416
416
  servers: Effect.fn("MCP.servers")(function* () {
@@ -516,14 +516,14 @@ function mergeCatalogs(catalogs) {
516
516
  templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
517
517
  });
518
518
  }
519
- function configured5(options) {
519
+ function configured3(options) {
520
520
  return makeLocationNode({
521
- service: Service35,
522
- layer: layer14(options),
523
- deps: [node79, node65, node87, node84, node83, node85]
521
+ service: Service29,
522
+ layer: layer13(options),
523
+ deps: [node84, node61, node87, node81, node80, node82]
524
524
  });
525
525
  }
526
- var node38 = configured5();
526
+ var node32 = configured3();
527
527
  function toElicitationField(key, property, required) {
528
528
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
529
529
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -574,4 +574,4 @@ function toElicitationField(key, property, required) {
574
574
  }
575
575
  }
576
576
 
577
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2, Service35, Options5, layer14, configured5, node38, exports_mcp4 };
577
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service29, Options3, layer13, configured3, node32, exports_mcp4 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./variant-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/config/plugin/entry-observer.ts
6
6
  var exports_entry_observer = {};
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  provider2,
3
3
  model2
4
- } from "./variant-0paq2nw3.js";
4
+ } from "./file-retention-0paq2nw3.js";
5
5
  import {
6
6
  aisdk2
7
- } from "./variant-zzexawz9.js";
7
+ } from "./file-retention-gv7n655z.js";
8
8
  import {
9
9
  Capabilities2,
10
10
  compatibility2
11
- } from "./variant-21xkm9mw.js";
11
+ } from "./file-retention-gx3bsgbr.js";
12
12
  import {
13
13
  __export
14
- } from "./variant-9rqn6x4v.js";
14
+ } from "./file-retention-9rqn6x4v.js";
15
15
 
16
16
  // src/v1/config/migrate.ts
17
17
  var exports_migrate = {};
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./variant-922hggd3.js";
3
+ } from "./file-retention-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service70
7
- } from "./variant-avrnkb01.js";
6
+ Service44
7
+ } from "./file-retention-m5xa4xm2.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./variant-2a5m3afh.js";
10
+ } from "./file-retention-hgz4x7wa.js";
11
11
  import {
12
- Service62
13
- } from "./variant-4n6z1r8s.js";
12
+ Service57
13
+ } from "./file-retention-mrkjr00d.js";
14
14
  import {
15
- Service54
16
- } from "./variant-rt8yt3bf.js";
15
+ Service64
16
+ } from "./file-retention-cybbce78.js";
17
17
  import {
18
- Service65
19
- } from "./variant-m74j5n8t.js";
18
+ Service69
19
+ } from "./file-retention-nwzjzhhc.js";
20
20
  import {
21
- Service28,
21
+ Service55,
22
22
  resolvePath2
23
- } from "./variant-yf5fe4my.js";
23
+ } from "./file-retention-484azhyv.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./variant-5ekn9679.js";
29
+ } from "./file-retention-5ekn9679.js";
30
30
  import {
31
- Service64,
31
+ Service48,
32
32
  name15
33
- } from "./variant-s07fdbeq.js";
33
+ } from "./file-retention-vrssy5kh.js";
34
34
  import {
35
- NotFoundError6,
36
- Service48
37
- } from "./variant-fhpv401t.js";
35
+ NotFoundError7,
36
+ Service42
37
+ } from "./file-retention-v9vsdr5e.js";
38
38
  import {
39
- Service30
40
- } from "./variant-55bea18v.js";
39
+ Service18
40
+ } from "./file-retention-rp4daw2c.js";
41
41
  import {
42
42
  scan2
43
- } from "./variant-r6cdbtvh.js";
43
+ } from "./file-retention-kmssrs7f.js";
44
44
  import {
45
45
  __export
46
- } from "./variant-9rqn6x4v.js";
46
+ } from "./file-retention-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: () => Input5,
53
- Plugin: () => Plugin23,
52
+ Input: () => Input8,
53
+ Plugin: () => Plugin45,
54
54
  ShellTool: () => exports_shell2,
55
- name: () => name5
55
+ name: () => name8
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name5 = "shell";
59
+ var name8 = "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 Input5 = Schema.Struct({
73
+ var Input8 = 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 Plugin23 = {
118
+ var Plugin45 = {
119
119
  id: "opencode.tool.shell",
120
120
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
121
- const sessions = yield* Service30;
122
- const jobs = yield* Service54;
121
+ const sessions = yield* Service18;
122
+ const jobs = yield* Service64;
123
123
  const scope = yield* Scope.Scope;
124
- const environment = yield* Service62;
125
- const access = yield* Service28;
126
- const shell = yield* Service48;
127
- const shellSelect = yield* Service64;
124
+ const environment = yield* Service57;
125
+ const access = yield* Service55;
126
+ const shell = yield* Service42;
127
+ const shellSelect = yield* Service48;
128
128
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
129
- const permission = yield* Service65;
130
- const config = yield* Service70;
129
+ const permission = yield* Service69;
130
+ const config = yield* Service44;
131
131
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
132
132
  const source = {
133
133
  type: "tool",
@@ -146,7 +146,7 @@ var Plugin23 = {
146
146
  yield* access.authorizeExternal([target, ...directories], context);
147
147
  if (parsed.commands.length > 0)
148
148
  yield* permission.assert({
149
- action: name5,
149
+ action: name8,
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 Plugin23 = {
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: name5,
186
+ name: name8,
187
187
  options: { codemode: false },
188
188
  description: description(),
189
- input: Input5,
189
+ input: Input8,
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 Plugin23 = {
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 NotFoundError7({ 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: name5,
222
+ type: name8,
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[name5];
252
+ const tool = event.tools[name8];
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 { name5, DEFAULT_TIMEOUT_MS2, Input5, Plugin23, exports_shell2 };
263
+ export { name8, DEFAULT_TIMEOUT_MS2, Input8, Plugin45, exports_shell2 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./variant-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/session/run-coordinator.ts
6
6
  var exports_run_coordinator = {};
7
7
  __export(exports_run_coordinator, {
8
8
  SessionRunCoordinator: () => exports_run_coordinator,
9
- make: () => make16
9
+ make: () => make18
10
10
  });
11
11
  import { Deferred, Effect, Fiber, FiberSet } from "effect";
12
- var make16 = (options) => Effect.gen(function* () {
12
+ var make18 = (options) => Effect.gen(function* () {
13
13
  const executions = new Map;
14
14
  const fork = yield* FiberSet.makeRuntime();
15
15
  const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
@@ -89,4 +89,4 @@ var make16 = (options) => Effect.gen(function* () {
89
89
  };
90
90
  });
91
91
 
92
- export { make16, exports_run_coordinator };
92
+ export { make18, exports_run_coordinator };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./variant-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/command.ts
6
6
  var exports_command5 = {};
7
7
  __export(exports_command5, {
8
8
  ConfigCommandV1: () => exports_command5,
9
- Info: () => Info23
9
+ Info: () => Info15
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info23 = Schema.Struct({
12
+ var Info15 = Schema.Struct({
13
13
  template: Schema.String,
14
14
  description: Schema.optional(Schema.String),
15
15
  agent: Schema.optional(Schema.String),
@@ -18,4 +18,4 @@ var Info23 = Schema.Struct({
18
18
  subtask: Schema.optional(Schema.Boolean)
19
19
  });
20
20
 
21
- export { Info23, exports_command5 };
21
+ export { Info15, exports_command5 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./variant-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/state.ts
6
6
  var exports_state = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./variant-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/workspace/driver.ts
6
6
  var exports_driver = {};
@@ -10,8 +10,8 @@ __export(exports_driver, {
10
10
  ProviderNotFound: () => ProviderNotFound2,
11
11
  RegistryService: () => RegistryService2,
12
12
  WorkspaceDriver: () => exports_driver,
13
- make: () => make20,
14
- node: () => node67,
13
+ make: () => make17,
14
+ node: () => node63,
15
15
  registry: () => registry2,
16
16
  registryNode: () => registryNode2
17
17
  });
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
29
29
  provider: Schema.String
30
30
  }) {
31
31
  }
32
- var make20 = (driver) => driver;
32
+ var make17 = (driver) => driver;
33
33
 
34
34
  class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
35
35
  }
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
44
44
  layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
45
45
  deps: []
46
46
  });
47
- var node67 = registryNode2({});
47
+ var node63 = registryNode2({});
48
48
 
49
- export { Binding2, Error5, ProviderNotFound2, make20, RegistryService2, registry2, registryNode2, node67, exports_driver };
49
+ export { Binding2, Error5, ProviderNotFound2, make17, RegistryService2, registry2, registryNode2, node63, exports_driver };
@@ -1,53 +1,53 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./variant-0f3fkebw.js";
4
+ } from "./file-retention-7sk5kyxr.js";
5
5
  import {
6
- node75
7
- } from "./variant-n2cj49gr.js";
6
+ node48
7
+ } from "./file-retention-t5ymyahf.js";
8
8
  import {
9
- Service3,
10
- node4
11
- } from "./variant-6zedfc54.js";
9
+ Service4,
10
+ node6
11
+ } from "./file-retention-ezwgvxy6.js";
12
12
  import {
13
- Service41
14
- } from "./variant-ctefx7dc.js";
13
+ Service27
14
+ } from "./file-retention-1x11rq2a.js";
15
15
  import {
16
- node17,
16
+ node20,
17
17
  ID2
18
- } from "./variant-naagfrme.js";
18
+ } from "./file-retention-vp54qpx1.js";
19
19
  import {
20
- Service4,
21
- node5
22
- } from "./variant-p37cw4rj.js";
20
+ Service7,
21
+ node9
22
+ } from "./file-retention-tpw6cwsb.js";
23
23
  import {
24
24
  requirements2,
25
25
  guarded2,
26
26
  list2
27
- } from "./variant-r5ha4mwf.js";
27
+ } from "./file-retention-4egeceed.js";
28
28
  import {
29
- make3,
29
+ make7,
30
30
  LoadError2
31
- } from "./variant-zd5rdewp.js";
31
+ } from "./file-retention-a54wp4v4.js";
32
32
  import {
33
33
  Updated2,
34
- Service5,
35
- node6
36
- } from "./variant-r9684t3a.js";
37
- import {
38
34
  Service9,
39
- node10
40
- } from "./variant-s5d9hk7s.js";
35
+ node11
36
+ } from "./file-retention-vjgtykma.js";
37
+ import {
38
+ Service5,
39
+ node7
40
+ } from "./file-retention-y56ehv6b.js";
41
41
  import {
42
42
  __export
43
- } from "./variant-9rqn6x4v.js";
43
+ } from "./file-retention-9rqn6x4v.js";
44
44
 
45
45
  // src/plugin/supervisor.ts
46
46
  var exports_supervisor = {};
47
47
  __export(exports_supervisor, {
48
48
  PluginSupervisor: () => exports_supervisor,
49
- layer: () => layer3,
50
- node: () => node3
49
+ layer: () => layer4,
50
+ node: () => node5
51
51
  });
52
52
  import { Event } from "@opencode/schema/config";
53
53
  import { Cause, Effect, Layer, Queue, Stream } from "effect";
@@ -125,14 +125,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
125
125
  pending: [...pending]
126
126
  };
127
127
  });
128
- var layer3 = Layer.effectDiscard(Effect.gen(function* () {
129
- const registry = yield* Service41;
130
- const sdk = yield* Service5;
131
- const instance = yield* Service4;
132
- const sources = yield* Service3;
133
- const modules = yield* make3();
128
+ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
129
+ const registry = yield* Service27;
130
+ const sdk = yield* Service9;
131
+ const instance = yield* Service7;
132
+ const sources = yield* Service4;
133
+ const modules = yield* make7();
134
134
  const bus = yield* Service83;
135
- const updates = yield* Service9;
135
+ const updates = yield* Service5;
136
136
  const internal = yield* list2();
137
137
  let release = yield* registry.hold();
138
138
  yield* Effect.addFinalizer(() => release ?? Effect.void);
@@ -207,14 +207,14 @@ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
207
207
  })), Effect.forkScoped({ startImmediately: true }));
208
208
  }));
209
209
  var nodeDeps = [
210
- node17,
210
+ node20,
211
+ node11,
212
+ node9,
211
213
  node6,
212
- node5,
213
- node4,
214
- node10,
214
+ node7,
215
215
  node87,
216
216
  Npm.node,
217
- node75,
217
+ node48,
218
218
  requirements2
219
219
  ];
220
220
  function pluginSource(target) {
@@ -222,6 +222,6 @@ function pluginSource(target) {
222
222
  return { type: "local", path: target };
223
223
  return { type: "package", target };
224
224
  }
225
- var node3 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
225
+ var node5 = makeLocationNode({ name: "plugin-supervisor", layer: layer4, deps: nodeDeps });
226
226
 
227
- export { layer3, node3, exports_supervisor };
227
+ export { layer4, node5, exports_supervisor };