@opencode/core 0.0.0-dev-21586 → 0.0.0-dev-21590

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 (790) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{plugin-w918znfg.js → reference-02szp9gm.js} +9 -9
  8. package/dist/chunks/{plugin-034tev2y.js → reference-034tev2y.js} +2 -2
  9. package/dist/chunks/{plugin-jp479h69.js → reference-0ceasb8s.js} +20 -20
  10. package/dist/chunks/{plugin-wr3re1en.js → reference-0h8y3ex8.js} +4 -4
  11. package/dist/chunks/{plugin-fjd9pa27.js → reference-0mfc0d68.js} +35 -35
  12. package/dist/chunks/{plugin-791mgs72.js → reference-0pv52n9j.js} +12 -12
  13. package/dist/chunks/{plugin-rrj48g6y.js → reference-1178vxht.js} +18 -18
  14. package/dist/chunks/{plugin-ch9wmxsn.js → reference-14v17fgg.js} +24 -24
  15. package/dist/chunks/{plugin-80h8b35m.js → reference-158tfn12.js} +6 -6
  16. package/dist/chunks/{plugin-yaq81nk5.js → reference-17gtvps5.js} +21 -21
  17. package/dist/chunks/{plugin-daqfgk3c.js → reference-18sg5j62.js} +12 -12
  18. package/dist/chunks/{plugin-1ep2p91f.js → reference-1ep2p91f.js} +2 -2
  19. package/dist/chunks/{plugin-er4aqx01.js → reference-1hahx13g.js} +149 -149
  20. package/dist/chunks/{plugin-24yf1smp.js → reference-1m5v0ayp.js} +18 -18
  21. package/dist/chunks/{plugin-1x2knyw4.js → reference-1x2knyw4.js} +1 -1
  22. package/dist/chunks/{plugin-f9y4vw62.js → reference-1zrn58qb.js} +9 -9
  23. package/dist/chunks/{plugin-na2rxvkn.js → reference-22hmzxt9.js} +33 -33
  24. package/dist/chunks/{plugin-c3rdb4mt.js → reference-2e3p09q4.js} +24 -24
  25. package/dist/chunks/{plugin-4jbyfzea.js → reference-2ga909q5.js} +19 -19
  26. package/dist/chunks/{plugin-vpfqjjm8.js → reference-2k6pc5wc.js} +18 -18
  27. package/dist/chunks/{plugin-da2n11mt.js → reference-2vaegvqr.js} +17 -17
  28. package/dist/chunks/{plugin-49cj2a44.js → reference-2wjzf534.js} +10 -10
  29. package/dist/chunks/{plugin-2z1j29yd.js → reference-2z1j29yd.js} +1 -1
  30. package/dist/chunks/{plugin-nkr5r85d.js → reference-331p6xjh.js} +2 -2
  31. package/dist/chunks/{plugin-ft9drwcd.js → reference-35fm799j.js} +34 -34
  32. package/dist/chunks/{plugin-e67nmve2.js → reference-392nsjvq.js} +46 -46
  33. package/dist/chunks/{plugin-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
  34. package/dist/chunks/{plugin-qvw98tg0.js → reference-3k4jc8v0.js} +5 -5
  35. package/dist/chunks/{plugin-3nnrz6f6.js → reference-3nnrz6f6.js} +1 -1
  36. package/dist/chunks/{plugin-j0tn0vhk.js → reference-3rsg1p7p.js} +19 -19
  37. package/dist/chunks/{plugin-nrk5vjbf.js → reference-3tt1qkhr.js} +5 -5
  38. package/dist/chunks/{plugin-1y048hf4.js → reference-3wj3659j.js} +4 -4
  39. package/dist/chunks/{plugin-x7esjbfy.js → reference-3zvjb0hd.js} +21 -21
  40. package/dist/chunks/{plugin-s626qfae.js → reference-42jd4697.js} +4 -4
  41. package/dist/chunks/{plugin-s5sagwvf.js → reference-45sa55ra.js} +30 -30
  42. package/dist/chunks/{plugin-9erwh778.js → reference-49n54dn2.js} +9 -9
  43. package/dist/chunks/{plugin-faxyqc0y.js → reference-4jzj6ttp.js} +19 -19
  44. package/dist/chunks/{plugin-4v008n1t.js → reference-4v008n1t.js} +1 -1
  45. package/dist/chunks/{plugin-zgy84aax.js → reference-4x43ze8b.js} +16 -16
  46. package/dist/chunks/{plugin-4xvmh7wp.js → reference-4xvmh7wp.js} +3 -3
  47. package/dist/chunks/{plugin-xybbt1mb.js → reference-57kxvcz1.js} +23 -23
  48. package/dist/chunks/{plugin-4wgfdmqz.js → reference-585ybms8.js} +14 -14
  49. package/dist/chunks/{plugin-40za9wsf.js → reference-5enarcya.js} +6 -6
  50. package/dist/chunks/{plugin-6vyssmgt.js → reference-5hr8xq0q.js} +4 -4
  51. package/dist/chunks/{plugin-gfhv8a7w.js → reference-5jz32ng9.js} +8 -8
  52. package/dist/chunks/{plugin-5m9w47nd.js → reference-5m9w47nd.js} +1 -1
  53. package/dist/chunks/{plugin-ht2svjmz.js → reference-5qapgh17.js} +3 -3
  54. package/dist/chunks/{plugin-2r4n81ay.js → reference-617zxnkf.js} +4 -4
  55. package/dist/chunks/{plugin-805retjn.js → reference-69dckygt.js} +4 -4
  56. package/dist/chunks/{plugin-w2yrf1y0.js → reference-69vhhgbf.js} +12 -12
  57. package/dist/chunks/{plugin-0p88zpcm.js → reference-6czmj677.js} +4 -4
  58. package/dist/chunks/{plugin-6esdw8yj.js → reference-6esdw8yj.js} +1 -1
  59. package/dist/chunks/{plugin-ywh0g57p.js → reference-6f6dq05w.js} +9 -9
  60. package/dist/chunks/{plugin-h1fax6kt.js → reference-6m8d80j4.js} +10 -10
  61. package/dist/chunks/{plugin-wd2jkcgv.js → reference-6mhdkm3r.js} +13 -13
  62. package/dist/chunks/{plugin-6pjqjmy2.js → reference-6pjqjmy2.js} +1 -1
  63. package/dist/chunks/{plugin-xd37m1km.js → reference-6pz21ma1.js} +19 -19
  64. package/dist/chunks/{plugin-zf7tttqd.js → reference-6z67c7sw.js} +32 -32
  65. package/dist/chunks/reference-6zjm2phc.js +18 -0
  66. package/dist/chunks/{plugin-56p1jhd3.js → reference-73hhvkv7.js} +2 -2
  67. package/dist/chunks/{plugin-r3tr33rt.js → reference-75n0062n.js} +11 -11
  68. package/dist/chunks/{plugin-pkj8p13f.js → reference-76jxzvwp.js} +13 -13
  69. package/dist/chunks/{plugin-zkzkvvbz.js → reference-7784vw5s.js} +35 -35
  70. package/dist/chunks/{plugin-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{plugin-b38bfd29.js → reference-7cd2rmsc.js} +28 -28
  72. package/dist/chunks/{plugin-tz25qr3g.js → reference-7e442h9n.js} +49 -49
  73. package/dist/chunks/{plugin-8v7xte0w.js → reference-7jp0etre.js} +8 -8
  74. package/dist/chunks/{plugin-fw04p9ky.js → reference-7k3386r2.js} +14 -14
  75. package/dist/chunks/{plugin-jgeh1xfg.js → reference-7mkh44ga.js} +21 -21
  76. package/dist/chunks/{plugin-7w2ypzdf.js → reference-7w2ypzdf.js} +1 -1
  77. package/dist/chunks/{plugin-ye4vqm0y.js → reference-82k6k4r9.js} +13 -13
  78. package/dist/chunks/{plugin-q5yezhhf.js → reference-8cn6bdr7.js} +4 -4
  79. package/dist/chunks/{plugin-pjr10xyc.js → reference-8w3ybxxd.js} +14 -14
  80. package/dist/chunks/{plugin-8wtp7s3z.js → reference-8wtp7s3z.js} +1 -1
  81. package/dist/chunks/{plugin-91rj84md.js → reference-91rj84md.js} +1 -1
  82. package/dist/chunks/{plugin-q76kfaah.js → reference-91tbfg8t.js} +15 -15
  83. package/dist/chunks/{plugin-33md7rg7.js → reference-92at24ve.js} +33 -33
  84. package/dist/chunks/{plugin-8f5h2b15.js → reference-97q6z4z1.js} +20 -20
  85. package/dist/chunks/{plugin-r6wgv8c9.js → reference-997dsrmm.js} +8 -8
  86. package/dist/chunks/{plugin-998yhzzq.js → reference-998yhzzq.js} +3 -3
  87. package/dist/chunks/{plugin-n9p72mjb.js → reference-9b28cy4d.js} +5 -5
  88. package/dist/chunks/{plugin-2k8w2xgz.js → reference-9n5nfdbf.js} +21 -21
  89. package/dist/chunks/{plugin-6zjmc36r.js → reference-9rq4kxzz.js} +21 -21
  90. package/dist/chunks/{plugin-ddgdpn03.js → reference-9t2khtsw.js} +8 -8
  91. package/dist/chunks/{plugin-bm4gstpq.js → reference-9t6kz4yn.js} +8 -8
  92. package/dist/chunks/{plugin-fympbc4e.js → reference-9xt3rwsk.js} +12 -12
  93. package/dist/chunks/{plugin-72pceqnf.js → reference-aapktb4s.js} +13 -13
  94. package/dist/chunks/{plugin-wfxxszdh.js → reference-ap22wcp6.js} +7 -7
  95. package/dist/chunks/{plugin-0421tmwc.js → reference-apd5jra7.js} +9 -9
  96. package/dist/chunks/{plugin-hvca08ne.js → reference-aqfgbfd8.js} +18 -18
  97. package/dist/chunks/{plugin-p9hbvaar.js → reference-atxct68j.js} +44 -44
  98. package/dist/chunks/{plugin-yxwtmgfv.js → reference-ax04rzcv.js} +10 -10
  99. package/dist/chunks/{plugin-729419vw.js → reference-axa1k9j1.js} +13 -13
  100. package/dist/chunks/{plugin-ayjs7tqn.js → reference-ayjs7tqn.js} +2 -2
  101. package/dist/chunks/{plugin-b0mv4wxm.js → reference-b0mv4wxm.js} +2 -2
  102. package/dist/chunks/{plugin-mdc67x4g.js → reference-b321b1xq.js} +16 -16
  103. package/dist/chunks/{plugin-b6vsg801.js → reference-b6vsg801.js} +2 -2
  104. package/dist/chunks/{plugin-6gf5ywq5.js → reference-b792txny.js} +11 -11
  105. package/dist/chunks/{plugin-3j47848t.js → reference-b7tdm2jb.js} +27 -27
  106. package/dist/chunks/{plugin-mtpeagzc.js → reference-ba07h9gm.js} +3 -3
  107. package/dist/chunks/{plugin-ky4dyj93.js → reference-bcb37r7z.js} +16 -16
  108. package/dist/chunks/{plugin-y1d3npgy.js → reference-bhknf9fc.js} +15 -15
  109. package/dist/chunks/{plugin-s0wtbthz.js → reference-bjf39wav.js} +34 -34
  110. package/dist/chunks/{plugin-s6ak25wa.js → reference-bpe9b5xd.js} +36 -36
  111. package/dist/chunks/{plugin-zvwzcwk0.js → reference-br28babr.js} +6 -6
  112. package/dist/chunks/{plugin-9hwz6ehy.js → reference-bt6rz2kw.js} +24 -24
  113. package/dist/chunks/{plugin-5knrhjv3.js → reference-btxxq5tt.js} +28 -28
  114. package/dist/chunks/{plugin-e7p8ph8y.js → reference-bxmy050v.js} +3 -3
  115. package/dist/chunks/{plugin-dqgvvwe0.js → reference-c3cfh5w6.js} +9 -9
  116. package/dist/chunks/{plugin-kszpdg0e.js → reference-c4mt52fx.js} +21 -21
  117. package/dist/chunks/{plugin-j1wfa86h.js → reference-c4y96v02.js} +6 -6
  118. package/dist/chunks/{plugin-px1hc5my.js → reference-c55tr7hb.js} +13 -13
  119. package/dist/chunks/{plugin-ehna047s.js → reference-c62eb685.js} +27 -27
  120. package/dist/chunks/{plugin-g83p8h2e.js → reference-cf1w38y2.js} +28 -28
  121. package/dist/chunks/{plugin-e6b2spd3.js → reference-cgx3zxj6.js} +9 -9
  122. package/dist/chunks/{plugin-mhkpqspy.js → reference-cnjhsh0b.js} +4 -4
  123. package/dist/chunks/{plugin-defv51r7.js → reference-ctewqk08.js} +12 -12
  124. package/dist/chunks/{plugin-kn2ysf14.js → reference-ctya507c.js} +3 -3
  125. package/dist/chunks/{plugin-4z501z63.js → reference-d0jwqxv7.js} +36 -36
  126. package/dist/chunks/{plugin-mtkfycnh.js → reference-d2887f8n.js} +4 -4
  127. package/dist/chunks/{plugin-d4v9tmah.js → reference-d4v9tmah.js} +2 -2
  128. package/dist/chunks/{plugin-m9dfhmzw.js → reference-da7jqf2t.js} +13 -13
  129. package/dist/chunks/{plugin-4neywqsp.js → reference-dbs9f4d2.js} +32 -32
  130. package/dist/chunks/{plugin-8dv6gnq3.js → reference-dcqk33sb.js} +18 -18
  131. package/dist/chunks/{plugin-pnmjq29r.js → reference-dfv0e3xz.js} +17 -17
  132. package/dist/chunks/reference-dfy9at9k.js +26 -0
  133. package/dist/chunks/{plugin-5bq6wz19.js → reference-dgaww69h.js} +26 -26
  134. package/dist/chunks/{plugin-dwad2f7j.js → reference-dghpgdwh.js} +9 -9
  135. package/dist/chunks/{plugin-cqt766kx.js → reference-dj0vzv63.js} +28 -28
  136. package/dist/chunks/{plugin-rdbyms1g.js → reference-dmcydt5k.js} +16 -16
  137. package/dist/chunks/{plugin-fjn8c95x.js → reference-dpydvgsc.js} +8 -8
  138. package/dist/chunks/{plugin-bxh642fs.js → reference-dv41yykm.js} +33 -33
  139. package/dist/chunks/{plugin-sbegqkxp.js → reference-dwwyec8z.js} +6 -6
  140. package/dist/chunks/{plugin-m32k1ycp.js → reference-dy5an0j5.js} +2 -2
  141. package/dist/chunks/{plugin-h1rfd25p.js → reference-dyqd29rb.js} +13 -13
  142. package/dist/chunks/{plugin-cz1d3gs1.js → reference-e3tyzyg9.js} +11 -11
  143. package/dist/chunks/{plugin-8f4bgxgj.js → reference-e42petng.js} +13 -13
  144. package/dist/chunks/{plugin-e5dqjz6v.js → reference-e5dqjz6v.js} +1 -1
  145. package/dist/chunks/{plugin-e834z07m.js → reference-e834z07m.js} +1 -1
  146. package/dist/chunks/{plugin-0mn1e965.js → reference-e93cazkx.js} +13 -13
  147. package/dist/chunks/{plugin-ef5x83kb.js → reference-ef5x83kb.js} +1 -1
  148. package/dist/chunks/{plugin-7tpyp9vw.js → reference-enkpkfwx.js} +8 -8
  149. package/dist/chunks/{plugin-48hcx8xq.js → reference-ev4x93rx.js} +9 -9
  150. package/dist/chunks/{plugin-dmj8dyf0.js → reference-f2jmt318.js} +46 -46
  151. package/dist/chunks/{plugin-9xkjf5qh.js → reference-f2tcvpah.js} +21 -21
  152. package/dist/chunks/{plugin-fffv3p7h.js → reference-fffv3p7h.js} +1 -1
  153. package/dist/chunks/{plugin-vhjzha3a.js → reference-fkdejkqx.js} +10 -10
  154. package/dist/chunks/{plugin-41r5wqck.js → reference-fm90g8ey.js} +10 -10
  155. package/dist/chunks/{plugin-pp0fatjv.js → reference-fyxzhex2.js} +10 -10
  156. package/dist/chunks/{plugin-5j441hsm.js → reference-g02452fg.js} +7 -7
  157. package/dist/chunks/{plugin-vgye2rsv.js → reference-g32wv891.js} +41 -41
  158. package/dist/chunks/{plugin-366nwj0e.js → reference-g35eyyjw.js} +47 -47
  159. package/dist/chunks/{plugin-g5h9c0rr.js → reference-g5h9c0rr.js} +2 -2
  160. package/dist/chunks/{plugin-m4a2gv8g.js → reference-g5wz76jx.js} +43 -43
  161. package/dist/chunks/{plugin-vmfhgzt5.js → reference-g7esga4v.js} +5 -5
  162. package/dist/chunks/{plugin-y76evpd0.js → reference-ga0jheq7.js} +15 -15
  163. package/dist/chunks/{plugin-7tz53k10.js → reference-gb7emm0a.js} +4 -4
  164. package/dist/chunks/{plugin-1a140ev3.js → reference-gbc8mqyx.js} +6 -6
  165. package/dist/chunks/{plugin-5qzb0jnx.js → reference-gk1rk4s8.js} +7 -7
  166. package/dist/chunks/{plugin-fjj0tk6a.js → reference-gphsqkvp.js} +16 -16
  167. package/dist/chunks/{plugin-vhz2gm5v.js → reference-gqv6dref.js} +5 -5
  168. package/dist/chunks/{plugin-namw6z13.js → reference-gt0jrv1m.js} +4 -4
  169. package/dist/chunks/{plugin-w5hvyx02.js → reference-gth7ey8h.js} +28 -28
  170. package/dist/chunks/reference-gy55dmjh.js +257 -0
  171. package/dist/chunks/{plugin-gy8qkchn.js → reference-h0wvm00t.js} +1 -1
  172. package/dist/chunks/{plugin-7g38p78c.js → reference-h26pfjbv.js} +11 -11
  173. package/dist/chunks/{plugin-7ff5r0gq.js → reference-h5x76x6y.js} +8 -8
  174. package/dist/chunks/{plugin-kaz27p2z.js → reference-h85hk0jt.js} +5 -5
  175. package/dist/chunks/{plugin-7g67k8da.js → reference-hh0p0dz0.js} +24 -24
  176. package/dist/chunks/{plugin-tdgr4kjk.js → reference-hp05sb1w.js} +27 -27
  177. package/dist/chunks/{plugin-wv27004a.js → reference-hwhakdtp.js} +15 -15
  178. package/dist/chunks/{plugin-301ejq9m.js → reference-hwnyt2r8.js} +334 -334
  179. package/dist/chunks/{plugin-j113cymg.js → reference-j113cymg.js} +1 -1
  180. package/dist/chunks/{plugin-h9rpd4f8.js → reference-jk7ax7q1.js} +45 -45
  181. package/dist/chunks/{plugin-qaxt5sce.js → reference-jk7xnh1r.js} +4 -4
  182. package/dist/chunks/{plugin-gj9haxac.js → reference-jpfg3tzk.js} +13 -13
  183. package/dist/chunks/{plugin-s9vx4pc1.js → reference-jt507tgk.js} +10 -10
  184. package/dist/chunks/{plugin-zg933662.js → reference-jxxeqwt8.js} +6 -6
  185. package/dist/chunks/{plugin-k814nvkf.js → reference-k814nvkf.js} +1 -1
  186. package/dist/chunks/{plugin-t9hsnqxm.js → reference-k879r3tb.js} +2 -2
  187. package/dist/chunks/{plugin-5k63q3tv.js → reference-khz9qtbd.js} +19 -19
  188. package/dist/chunks/{plugin-m1714858.js → reference-m1714858.js} +1 -1
  189. package/dist/chunks/{plugin-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
  190. package/dist/chunks/{plugin-maspj1v3.js → reference-maspj1v3.js} +1 -1
  191. package/dist/chunks/{plugin-me5bcav6.js → reference-me5bcav6.js} +1 -1
  192. package/dist/chunks/{plugin-ta8zdwzh.js → reference-mfyv679b.js} +9 -9
  193. package/dist/chunks/{plugin-6fesftb4.js → reference-mgc5ajq3.js} +15 -15
  194. package/dist/chunks/{plugin-nshz4qjm.js → reference-mgrmgacb.js} +24 -24
  195. package/dist/chunks/{plugin-ssxxjq26.js → reference-mqnjedcc.js} +16 -16
  196. package/dist/chunks/{plugin-ebhys1ps.js → reference-mrn7jrf1.js} +28 -28
  197. package/dist/chunks/{plugin-0syrr5yv.js → reference-mt84etn8.js} +1 -1
  198. package/dist/chunks/{plugin-xq2ca4h8.js → reference-mvx17366.js} +11 -11
  199. package/dist/chunks/{plugin-xsvfss3y.js → reference-mxej95nn.js} +21 -21
  200. package/dist/chunks/{plugin-n0p0277s.js → reference-n0p0277s.js} +1 -1
  201. package/dist/chunks/{plugin-2dzh91n1.js → reference-n17ttpw5.js} +6 -6
  202. package/dist/chunks/{plugin-3zz5way2.js → reference-n6j3m873.js} +14 -14
  203. package/dist/chunks/{plugin-qczn15be.js → reference-n6xp163e.js} +16 -16
  204. package/dist/chunks/{plugin-n5tfqgs3.js → reference-n72v8kyg.js} +23 -23
  205. package/dist/chunks/{plugin-nah043kf.js → reference-nah043kf.js} +1 -1
  206. package/dist/chunks/{plugin-4arybamx.js → reference-nggn9d43.js} +25 -25
  207. package/dist/chunks/{plugin-yyhgxykd.js → reference-nkxa5wq0.js} +2 -2
  208. package/dist/chunks/{plugin-p015t6z3.js → reference-p015t6z3.js} +2 -2
  209. package/dist/chunks/{plugin-8xrx88p0.js → reference-p0bn44dh.js} +14 -14
  210. package/dist/chunks/{plugin-2azy8kv6.js → reference-p0tsr9h6.js} +4 -4
  211. package/dist/chunks/{plugin-hjqry76z.js → reference-p1c1t367.js} +27 -27
  212. package/dist/chunks/{plugin-ge8ykx7v.js → reference-p48hbk47.js} +9 -9
  213. package/dist/chunks/{plugin-p7vhpwh8.js → reference-p7vhpwh8.js} +1 -1
  214. package/dist/chunks/{plugin-pc1v25hk.js → reference-pc1v25hk.js} +1 -1
  215. package/dist/chunks/{plugin-wc1y9j0c.js → reference-pka0ykct.js} +21 -21
  216. package/dist/chunks/{plugin-pknna89w.js → reference-pknna89w.js} +1 -1
  217. package/dist/chunks/{plugin-tzwkjnke.js → reference-pnz1sqhe.js} +1 -1
  218. package/dist/chunks/{plugin-397w7c8f.js → reference-pvk64qra.js} +24 -24
  219. package/dist/chunks/{plugin-kxdyf56d.js → reference-pzjxx5kj.js} +1 -1
  220. package/dist/chunks/{plugin-6g9dc8hg.js → reference-q21p601r.js} +6 -6
  221. package/dist/chunks/{plugin-38tv2zyj.js → reference-qh6sbcd8.js} +4 -4
  222. package/dist/chunks/{plugin-qjgzc4b4.js → reference-qjgzc4b4.js} +1 -1
  223. package/dist/chunks/{plugin-7r4kye0n.js → reference-qp86s7ck.js} +3 -3
  224. package/dist/chunks/{plugin-wv160yw5.js → reference-r0h3bw7v.js} +31 -31
  225. package/dist/chunks/{plugin-r0yr0wbs.js → reference-r0yr0wbs.js} +1 -1
  226. package/dist/chunks/{plugin-rb9dy4dg.js → reference-rb9dy4dg.js} +1 -1
  227. package/dist/chunks/{plugin-jq9dhj6x.js → reference-rjr2dewt.js} +21 -21
  228. package/dist/chunks/{plugin-smfcvx02.js → reference-rt0txz63.js} +9 -9
  229. package/dist/chunks/{plugin-rt5dr6hb.js → reference-rt5dr6hb.js} +1 -1
  230. package/dist/chunks/{plugin-qaysd7a4.js → reference-s0m4xskg.js} +86 -86
  231. package/dist/chunks/{plugin-7akzmw6y.js → reference-s12jh10e.js} +8 -8
  232. package/dist/chunks/{plugin-c5kjsz6q.js → reference-s85z3cra.js} +4 -4
  233. package/dist/chunks/{plugin-w22yp63b.js → reference-sah69mkr.js} +9 -9
  234. package/dist/chunks/{plugin-zw6nt08m.js → reference-sd9qfce6.js} +15 -15
  235. package/dist/chunks/{plugin-9k575ryj.js → reference-sfpgp9sh.js} +2 -2
  236. package/dist/chunks/{plugin-8jf5eje7.js → reference-sp2pyba2.js} +7 -7
  237. package/dist/chunks/{plugin-tn6eqn63.js → reference-sparrdxh.js} +20 -20
  238. package/dist/chunks/{plugin-4ay3aqda.js → reference-spqp8scq.js} +8 -8
  239. package/dist/chunks/{plugin-sqjzf8x2.js → reference-sqjzf8x2.js} +1 -1
  240. package/dist/chunks/{plugin-6xqtcmxs.js → reference-szcgc7h4.js} +5 -5
  241. package/dist/chunks/{plugin-8j46xfav.js → reference-t5jgkqc0.js} +64 -64
  242. package/dist/chunks/{plugin-tczq8hjw.js → reference-tczq8hjw.js} +1 -1
  243. package/dist/chunks/{plugin-8ybp78tx.js → reference-tmd1r8tg.js} +4 -4
  244. package/dist/chunks/{plugin-tw8zr1ps.js → reference-tw8zr1ps.js} +1 -1
  245. package/dist/chunks/{plugin-twv2r8f4.js → reference-twv2r8f4.js} +2 -2
  246. package/dist/chunks/{plugin-r90wrezg.js → reference-v7s2kyj8.js} +3 -3
  247. package/dist/chunks/{plugin-vd3b3yk9.js → reference-vd3b3yk9.js} +1 -1
  248. package/dist/chunks/{plugin-veqvce7d.js → reference-veqvce7d.js} +1 -1
  249. package/dist/chunks/{plugin-zvzfb7fs.js → reference-vfqfz9ng.js} +14 -14
  250. package/dist/chunks/{plugin-9smwhcrf.js → reference-vk70kcm0.js} +11 -11
  251. package/dist/chunks/{plugin-mmx1mfjr.js → reference-w35wzz9x.js} +4 -4
  252. package/dist/chunks/{plugin-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{plugin-peyn19kn.js → reference-w70n3epg.js} +8 -8
  254. package/dist/chunks/{plugin-76cb1hcw.js → reference-w8qtt4th.js} +4 -4
  255. package/dist/chunks/{plugin-wakvkjy4.js → reference-wakvkjy4.js} +1 -1
  256. package/dist/chunks/{plugin-wd87259q.js → reference-wd87259q.js} +1 -1
  257. package/dist/chunks/{plugin-eeys6v1h.js → reference-wxd8q9mp.js} +6 -6
  258. package/dist/chunks/{plugin-0gqtjgmn.js → reference-wy4ffk9y.js} +7 -7
  259. package/dist/chunks/{plugin-td8eqxqy.js → reference-wyt6s0d6.js} +30 -30
  260. package/dist/chunks/{plugin-srveqww6.js → reference-x774aw49.js} +11 -11
  261. package/dist/chunks/{plugin-bstexjd6.js → reference-xd9cc171.js} +5 -5
  262. package/dist/chunks/{plugin-c8666r4c.js → reference-xkympmbz.js} +6 -6
  263. package/dist/chunks/{plugin-448xyrnd.js → reference-xptgtj2n.js} +3 -3
  264. package/dist/chunks/{plugin-3p1jwqy9.js → reference-xt1e9zqw.js} +19 -19
  265. package/dist/chunks/{plugin-sen2yr23.js → reference-xydhs8a8.js} +26 -26
  266. package/dist/chunks/{plugin-8ezscwmn.js → reference-y06e3eb4.js} +11 -11
  267. package/dist/chunks/{plugin-3gmz16jc.js → reference-y70av53j.js} +23 -23
  268. package/dist/chunks/{plugin-mmwqbvsn.js → reference-y8dt0ywh.js} +11 -11
  269. package/dist/chunks/{plugin-yb20nhc3.js → reference-yb20nhc3.js} +1 -1
  270. package/dist/chunks/{plugin-pmyfzvdp.js → reference-yd3g8txe.js} +9 -9
  271. package/dist/chunks/{plugin-h70v2djc.js → reference-ygavzdh1.js} +40 -40
  272. package/dist/chunks/{plugin-7mjdf1g0.js → reference-yhbnhfm6.js} +11 -11
  273. package/dist/chunks/{plugin-6pss4g6t.js → reference-yjptjaqs.js} +34 -34
  274. package/dist/chunks/{plugin-417yymah.js → reference-yqtd0t4r.js} +17 -17
  275. package/dist/chunks/{plugin-z0bkrqjs.js → reference-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{plugin-2w5xpj9a.js → reference-z1797mdk.js} +10 -10
  277. package/dist/chunks/{plugin-z38nccrw.js → reference-z38nccrw.js} +1 -1
  278. package/dist/chunks/{plugin-749ghc7h.js → reference-z47ak11q.js} +3 -3
  279. package/dist/chunks/{plugin-zezfrnf5.js → reference-z8bkf37c.js} +12 -12
  280. package/dist/chunks/{plugin-bx7d5a18.js → reference-zb9z236r.js} +5 -5
  281. package/dist/chunks/{plugin-zkg84ctx.js → reference-zkg84ctx.js} +1 -1
  282. package/dist/chunks/{plugin-cw0ar5ez.js → reference-zw1psc7x.js} +15 -15
  283. package/dist/chunks/{plugin-10zrcpp8.js → reference-zwexphgd.js} +83 -83
  284. package/dist/chunks/{plugin-97g22kyc.js → reference-zwtk19q4.js} +22 -22
  285. package/dist/chunks/{plugin-jn5ay4zm.js → reference-zysxana2.js} +50 -50
  286. package/dist/chunks/{plugin-6a5mpwr5.js → reference-zz476xrp.js} +15 -15
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +9 -9
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +85 -85
  292. package/dist/config/discovery.js +86 -86
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +101 -101
  295. package/dist/config/plugin/agent.js +118 -118
  296. package/dist/config/plugin/command.js +214 -214
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/compatibility.js +135 -135
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +116 -116
  302. package/dist/config/plugin/instruction.js +116 -116
  303. package/dist/config/plugin/location-watcher.js +118 -118
  304. package/dist/config/plugin/mcp.js +125 -125
  305. package/dist/config/plugin/policy.js +117 -117
  306. package/dist/config/plugin/provider.js +116 -116
  307. package/dist/config/plugin/reference.js +116 -116
  308. package/dist/config/plugin/shell.js +116 -116
  309. package/dist/config/plugin/skill-file.js +104 -104
  310. package/dist/config/plugin/skill-scan.js +1 -1
  311. package/dist/config/plugin/skill.js +138 -138
  312. package/dist/config/plugin/snapshot.js +116 -116
  313. package/dist/config/plugin/source.js +119 -119
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +115 -115
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +1 -1
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +117 -117
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +83 -83
  322. package/dist/database/database.js +68 -68
  323. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +13 -13
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +14 -14
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  387. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  388. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  389. package/dist/database/migration.gen.js +51 -51
  390. package/dist/database/migration.js +53 -53
  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 +78 -78
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +369 -369
  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 +95 -95
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +95 -95
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +3 -3
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +72 -72
  414. package/dist/file-access.js +106 -106
  415. package/dist/file-mutation.js +96 -96
  416. package/dist/file-retention.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +227 -227
  423. package/dist/filesystem/protected.js +3 -3
  424. package/dist/filesystem/search.js +101 -101
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +9 -9
  427. package/dist/filesystem.js +104 -104
  428. package/dist/form.js +84 -84
  429. package/dist/formatter/builtins.js +2 -2
  430. package/dist/formatter.js +89 -89
  431. package/dist/generate.js +107 -107
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +93 -93
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +360 -360
  456. package/dist/instruction-discovery.js +86 -86
  457. package/dist/instructions/builtins.js +89 -89
  458. package/dist/instructions/index.js +1 -1
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +87 -87
  461. package/dist/job.js +80 -80
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +75 -75
  464. package/dist/location-activity.js +156 -156
  465. package/dist/location-lifecycle.js +109 -109
  466. package/dist/location-service-map.js +88 -88
  467. package/dist/location-services.js +357 -357
  468. package/dist/location.js +89 -89
  469. package/dist/managed-policy.js +6 -6
  470. package/dist/mcp/client.js +93 -93
  471. package/dist/mcp/index.js +111 -111
  472. package/dist/mcp/instructions.js +140 -140
  473. package/dist/mcp/oauth.js +80 -80
  474. package/dist/mcp/stdio.js +92 -92
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +93 -93
  477. package/dist/model-resolver.js +101 -101
  478. package/dist/model-retry.js +1 -1
  479. package/dist/model.js +102 -102
  480. package/dist/models-dev.js +109 -109
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +84 -84
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +113 -113
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +90 -90
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +77 -77
  490. package/dist/plugin/agent.js +78 -78
  491. package/dist/plugin/command.js +104 -104
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +218 -218
  494. package/dist/plugin/identity.js +3 -3
  495. package/dist/plugin/instance.js +5 -5
  496. package/dist/plugin/internal.js +332 -332
  497. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  498. package/dist/plugin/models-dev.js +98 -98
  499. package/dist/plugin/module.js +117 -117
  500. package/dist/plugin/optimize.js +4 -4
  501. package/dist/plugin/plan.js +104 -104
  502. package/dist/plugin/promise.js +1 -1
  503. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  504. package/dist/plugin/provider/azure.js +116 -116
  505. package/dist/plugin/provider/cerebras.js +1 -1
  506. package/dist/plugin/provider/chatgpt.js +116 -116
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +112 -112
  511. package/dist/plugin/provider/databricks.js +1 -1
  512. package/dist/plugin/provider/digitalocean.js +95 -95
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/github-copilot.js +97 -97
  516. package/dist/plugin/provider/gitlab.js +95 -95
  517. package/dist/plugin/provider/google-vertex.js +113 -113
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +80 -80
  520. package/dist/plugin/provider/lmstudio.js +125 -125
  521. package/dist/plugin/provider/local.js +122 -122
  522. package/dist/plugin/provider/modal.js +94 -94
  523. package/dist/plugin/provider/neon.js +1 -1
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +125 -125
  526. package/dist/plugin/provider/openai.js +118 -118
  527. package/dist/plugin/provider/opencode.js +103 -103
  528. package/dist/plugin/provider/openrouter.js +93 -93
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +81 -81
  531. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  532. package/dist/plugin/provider/sap-ai-core.js +93 -93
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  535. package/dist/plugin/provider/vercel.js +92 -92
  536. package/dist/plugin/provider/vllm.js +125 -125
  537. package/dist/plugin/provider/xai.js +93 -93
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +170 -170
  540. package/dist/plugin/sdk.js +78 -78
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +134 -134
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +349 -349
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +88 -88
  548. package/dist/plugin/vcs/hg.js +88 -88
  549. package/dist/plugin/verbosity.js +95 -95
  550. package/dist/plugin/warming.js +114 -114
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +4 -4
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +4 -4
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +229 -229
  559. package/dist/project/schema.js +8 -8
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +92 -92
  562. package/dist/provider.js +99 -99
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +101 -101
  566. package/dist/reference/instructions.js +89 -89
  567. package/dist/reference.js +93 -93
  568. package/dist/repository-cache.js +83 -83
  569. package/dist/repository.js +3 -3
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +99 -99
  572. package/dist/rpc.js +88 -88
  573. package/dist/schema.js +1 -1
  574. package/dist/session/affinity.js +1 -1
  575. package/dist/session/command.js +76 -76
  576. package/dist/session/compaction.js +132 -132
  577. package/dist/session/context.js +164 -164
  578. package/dist/session/diff.js +90 -90
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +5 -5
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +221 -221
  583. package/dist/session/execution.js +128 -128
  584. package/dist/session/generate.js +166 -166
  585. package/dist/session/history.js +13 -13
  586. package/dist/session/inbox.js +93 -93
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +81 -81
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +99 -99
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +122 -122
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +128 -128
  596. package/dist/session/projector.js +89 -89
  597. package/dist/session/prompt.js +107 -107
  598. package/dist/session/recent-text.js +1 -1
  599. package/dist/session/revert.js +96 -96
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +231 -231
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +101 -101
  605. package/dist/session/runner/publish-llm-event.js +116 -116
  606. package/dist/session/runner/retry.js +5 -5
  607. package/dist/session/runner/step.js +126 -126
  608. package/dist/session/runner/to-llm-message.js +14 -14
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +165 -165
  611. package/dist/session/shell.js +130 -130
  612. package/dist/session/skill.js +105 -105
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +75 -75
  615. package/dist/session/store.js +87 -87
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +212 -212
  618. package/dist/session/system-prompt.js +3 -3
  619. package/dist/session/title.js +166 -166
  620. package/dist/session/to-session-error.js +114 -114
  621. package/dist/session/transfer.js +217 -217
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +218 -218
  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 +9 -9
  628. package/dist/shell.js +132 -132
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +107 -107
  631. package/dist/skill.js +112 -112
  632. package/dist/snapshot.js +91 -91
  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 +137 -137
  637. package/dist/tool/plugin/edit.js +122 -122
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +126 -126
  640. package/dist/tool/plugin/grep.js +126 -126
  641. package/dist/tool/plugin/mcp-resource.js +126 -126
  642. package/dist/tool/plugin/opencode.js +111 -111
  643. package/dist/tool/plugin/patch.js +124 -124
  644. package/dist/tool/plugin/question.js +103 -103
  645. package/dist/tool/plugin/read.js +127 -127
  646. package/dist/tool/plugin/shell.js +211 -211
  647. package/dist/tool/plugin/skill.js +113 -113
  648. package/dist/tool/plugin/subagent.js +219 -219
  649. package/dist/tool/plugin/todo.js +138 -138
  650. package/dist/tool/plugin/webfetch.js +113 -113
  651. package/dist/tool/plugin/websearch.js +114 -114
  652. package/dist/tool/plugin/write.js +116 -116
  653. package/dist/tool/read-filesystem.js +104 -104
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +7 -7
  656. package/dist/tool.js +14 -14
  657. package/dist/util/error-summary.js +1 -1
  658. package/dist/util/git-executable.js +2 -2
  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 +5 -5
  665. package/dist/v1/config/command.js +3 -3
  666. package/dist/v1/config/mcp.js +4 -4
  667. package/dist/v1/config/migrate.js +94 -94
  668. package/dist/v1/config/permission.js +3 -3
  669. package/dist/v1/config/plugin.js +1 -1
  670. package/dist/v1/config/provider-options.js +1 -1
  671. package/dist/v1/config/provider.js +4 -4
  672. package/dist/variant.js +93 -93
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +91 -91
  675. package/dist/voice.js +90 -90
  676. package/dist/websearch.js +82 -82
  677. package/dist/wellknown/plugin.js +78 -78
  678. package/dist/wellknown.js +81 -81
  679. package/dist/workspace/driver.js +5 -5
  680. package/dist/workspace/sql.js +1 -1
  681. package/dist/workspace.js +80 -80
  682. package/dist/worktree/directory.js +2 -2
  683. package/dist/worktree/git.js +10 -10
  684. package/dist/worktree/sql.js +5 -5
  685. package/dist/worktree/strategies.js +91 -91
  686. package/dist/worktree.js +102 -102
  687. package/package.json +8 -8
  688. package/dist/chunks/plugin-d77dj7jw.js +0 -18
  689. package/dist/chunks/plugin-j4appf3d.js +0 -257
  690. package/dist/chunks/plugin-nbm4k9b0.js +0 -26
  691. /package/dist/chunks/{plugin-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
  692. /package/dist/chunks/{plugin-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
  693. /package/dist/chunks/{plugin-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
  694. /package/dist/chunks/{plugin-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
  695. /package/dist/chunks/{plugin-24dcb14g.js → reference-24dcb14g.js} +0 -0
  696. /package/dist/chunks/{plugin-2710q6r3.js → reference-2710q6r3.js} +0 -0
  697. /package/dist/chunks/{plugin-2bv980vf.js → reference-2bv980vf.js} +0 -0
  698. /package/dist/chunks/{plugin-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{plugin-359p4xyc.js → reference-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{plugin-3asan66x.js → reference-3asan66x.js} +0 -0
  701. /package/dist/chunks/{plugin-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{plugin-3wcehsnq.js → reference-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{plugin-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{plugin-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{plugin-4vcrnpx2.js → reference-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{plugin-4y7fprxs.js → reference-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{plugin-53557ph1.js → reference-53557ph1.js} +0 -0
  708. /package/dist/chunks/{plugin-550bvhaj.js → reference-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{plugin-5fjb7ams.js → reference-5fjb7ams.js} +0 -0
  710. /package/dist/chunks/{plugin-6prwharc.js → reference-6prwharc.js} +0 -0
  711. /package/dist/chunks/{plugin-6q2bdcd1.js → reference-6q2bdcd1.js} +0 -0
  712. /package/dist/chunks/{plugin-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{plugin-7m9af43g.js → reference-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{plugin-822emrt2.js → reference-822emrt2.js} +0 -0
  715. /package/dist/chunks/{plugin-84wd9syh.js → reference-84wd9syh.js} +0 -0
  716. /package/dist/chunks/{plugin-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{plugin-8n3pysct.js → reference-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{plugin-8wj87zfr.js → reference-8wj87zfr.js} +0 -0
  719. /package/dist/chunks/{plugin-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{plugin-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{plugin-a058387c.js → reference-a058387c.js} +0 -0
  722. /package/dist/chunks/{plugin-a6k6eb26.js → reference-a6k6eb26.js} +0 -0
  723. /package/dist/chunks/{plugin-af5trqkr.js → reference-af5trqkr.js} +0 -0
  724. /package/dist/chunks/{plugin-afrmfg78.js → reference-afrmfg78.js} +0 -0
  725. /package/dist/chunks/{plugin-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
  726. /package/dist/chunks/{plugin-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
  727. /package/dist/chunks/{plugin-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
  728. /package/dist/chunks/{plugin-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
  729. /package/dist/chunks/{plugin-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
  730. /package/dist/chunks/{plugin-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
  731. /package/dist/chunks/{plugin-d9fn303g.js → reference-d9fn303g.js} +0 -0
  732. /package/dist/chunks/{plugin-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
  733. /package/dist/chunks/{plugin-dajrwvna.js → reference-dajrwvna.js} +0 -0
  734. /package/dist/chunks/{plugin-dap0rakb.js → reference-dap0rakb.js} +0 -0
  735. /package/dist/chunks/{plugin-df08tz66.js → reference-df08tz66.js} +0 -0
  736. /package/dist/chunks/{plugin-dy18nga0.js → reference-dy18nga0.js} +0 -0
  737. /package/dist/chunks/{plugin-e3qxr5gk.js → reference-e3qxr5gk.js} +0 -0
  738. /package/dist/chunks/{plugin-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
  739. /package/dist/chunks/{plugin-e73j6tqm.js → reference-e73j6tqm.js} +0 -0
  740. /package/dist/chunks/{plugin-ec1grn59.js → reference-ec1grn59.js} +0 -0
  741. /package/dist/chunks/{plugin-eh3zwz77.js → reference-eh3zwz77.js} +0 -0
  742. /package/dist/chunks/{plugin-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
  743. /package/dist/chunks/{plugin-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
  744. /package/dist/chunks/{plugin-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
  745. /package/dist/chunks/{plugin-faypxj3z.js → reference-faypxj3z.js} +0 -0
  746. /package/dist/chunks/{plugin-fd410y7t.js → reference-fd410y7t.js} +0 -0
  747. /package/dist/chunks/{plugin-g4wezp1m.js → reference-g4wezp1m.js} +0 -0
  748. /package/dist/chunks/{plugin-g86h250q.js → reference-g86h250q.js} +0 -0
  749. /package/dist/chunks/{plugin-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
  750. /package/dist/chunks/{plugin-gftt206x.js → reference-gftt206x.js} +0 -0
  751. /package/dist/chunks/{plugin-hcxmzztb.js → reference-hcxmzztb.js} +0 -0
  752. /package/dist/chunks/{plugin-hk9envan.js → reference-hk9envan.js} +0 -0
  753. /package/dist/chunks/{plugin-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
  754. /package/dist/chunks/{plugin-j5zkgpj8.js → reference-j5zkgpj8.js} +0 -0
  755. /package/dist/chunks/{plugin-jjkms2e6.js → reference-jjkms2e6.js} +0 -0
  756. /package/dist/chunks/{plugin-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
  757. /package/dist/chunks/{plugin-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
  758. /package/dist/chunks/{plugin-jze0r7bz.js → reference-jze0r7bz.js} +0 -0
  759. /package/dist/chunks/{plugin-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
  760. /package/dist/chunks/{plugin-m18g726c.js → reference-m18g726c.js} +0 -0
  761. /package/dist/chunks/{plugin-mp448xyj.js → reference-mp448xyj.js} +0 -0
  762. /package/dist/chunks/{plugin-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
  763. /package/dist/chunks/{plugin-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
  764. /package/dist/chunks/{plugin-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
  765. /package/dist/chunks/{plugin-njntx4h6.js → reference-njntx4h6.js} +0 -0
  766. /package/dist/chunks/{plugin-pkyv6v7h.js → reference-pkyv6v7h.js} +0 -0
  767. /package/dist/chunks/{plugin-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{plugin-q74kybfr.js → reference-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{plugin-qaymkmh1.js → reference-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{plugin-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{plugin-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{plugin-qg3g05ea.js → reference-qg3g05ea.js} +0 -0
  773. /package/dist/chunks/{plugin-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{plugin-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{plugin-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{plugin-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{plugin-ve7vex1e.js → reference-ve7vex1e.js} +0 -0
  778. /package/dist/chunks/{plugin-w803qqfp.js → reference-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{plugin-wc3fc9cn.js → reference-wc3fc9cn.js} +0 -0
  780. /package/dist/chunks/{plugin-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
  781. /package/dist/chunks/{plugin-wjj7prxr.js → reference-wjj7prxr.js} +0 -0
  782. /package/dist/chunks/{plugin-wtztk69x.js → reference-wtztk69x.js} +0 -0
  783. /package/dist/chunks/{plugin-x0ckcb58.js → reference-x0ckcb58.js} +0 -0
  784. /package/dist/chunks/{plugin-x61499pn.js → reference-x61499pn.js} +0 -0
  785. /package/dist/chunks/{plugin-y44na4kk.js → reference-y44na4kk.js} +0 -0
  786. /package/dist/chunks/{plugin-y8f7s663.js → reference-y8f7s663.js} +0 -0
  787. /package/dist/chunks/{plugin-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
  788. /package/dist/chunks/{plugin-ym463w8f.js → reference-ym463w8f.js} +0 -0
  789. /package/dist/chunks/{plugin-z5v4ffb3.js → reference-z5v4ffb3.js} +0 -0
  790. /package/dist/chunks/{plugin-z9919s4g.js → reference-z9919s4g.js} +0 -0
@@ -1,60 +1,60 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./plugin-qjgzc4b4.js";
3
+ } from "./reference-qjgzc4b4.js";
4
4
  import {
5
5
  Service85,
6
6
  node89
7
- } from "./plugin-805retjn.js";
7
+ } from "./reference-69dckygt.js";
8
8
  import {
9
- Event18,
10
- Service75,
11
- node78
12
- } from "./plugin-ch9wmxsn.js";
13
- import {
14
- Service81,
15
- node85
16
- } from "./plugin-qczn15be.js";
9
+ Event14,
10
+ Service65,
11
+ node68
12
+ } from "./reference-14v17fgg.js";
17
13
  import {
18
14
  Service79,
19
- node82
20
- } from "./plugin-7g67k8da.js";
15
+ node83
16
+ } from "./reference-n6xp163e.js";
17
+ import {
18
+ Service75,
19
+ node78
20
+ } from "./reference-hh0p0dz0.js";
21
21
  import {
22
- ID18,
23
- Service84,
24
- node88
25
- } from "./plugin-xybbt1mb.js";
22
+ ID14,
23
+ Service66,
24
+ node69
25
+ } from "./reference-57kxvcz1.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./plugin-vd3b3yk9.js";
29
+ } from "./reference-vd3b3yk9.js";
30
30
  import {
31
31
  ID12,
32
32
  MethodID2,
33
- Service74,
34
- node77
35
- } from "./plugin-3gmz16jc.js";
33
+ Service64,
34
+ node67
35
+ } from "./reference-y70av53j.js";
36
36
  import {
37
37
  __export
38
- } from "./plugin-9rqn6x4v.js";
38
+ } from "./reference-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: () => NotFoundError3,
45
- Options: () => Options3,
44
+ NotFoundError: () => NotFoundError2,
45
+ Options: () => Options2,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
48
48
  ResourceCatalog: () => ResourceCatalog2,
49
49
  ResourceContent: () => ResourceContent2,
50
50
  ResourceTemplate: () => ResourceTemplate2,
51
51
  ServerName: () => ServerName2,
52
- Service: () => Service33,
52
+ Service: () => Service28,
53
53
  Status: () => Status2,
54
54
  ToolCallError: () => ToolCallError2,
55
- configured: () => configured3,
56
- layer: () => layer16,
57
- node: () => node36
55
+ configured: () => configured2,
56
+ layer: () => layer13,
57
+ node: () => node31
58
58
  });
59
59
  import { Mcp } from "@opencode/schema/mcp";
60
60
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
72
72
  var ResourceCatalog2 = Mcp.ResourceCatalog;
73
73
  var ResourceContent2 = Mcp.ResourceContent;
74
74
 
75
- class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
75
+ class NotFoundError2 extends Schema.TaggedError()("MCP.NotFoundError", {
76
76
  server: ServerName2
77
77
  }) {
78
78
  get message() {
@@ -103,21 +103,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
103
103
  var endpointLoads = makeUnsafe2();
104
104
  var cloneConfig = (config) => structuredClone(config);
105
105
 
106
- class Service33 extends Context.Service()("@opencode/MCP") {
106
+ class Service28 extends Context.Service()("@opencode/MCP") {
107
107
  }
108
- var Options3 = Schema.Struct({
108
+ var Options2 = Schema.Struct({
109
109
  clientInfo: Schema.optional(Schema.Struct({
110
110
  name: Schema.String,
111
111
  version: Schema.String
112
112
  }))
113
113
  });
114
- var layer16 = (options) => Layer.effect(Service33, Effect.gen(function* () {
115
- const location = yield* Service81;
116
- const environment = yield* Service79;
114
+ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
115
+ const location = yield* Service79;
116
+ const environment = yield* Service75;
117
117
  const bus = yield* Service85;
118
- const forms = yield* Service84;
119
- const integration = yield* Service74;
120
- const credentials = yield* Service75;
118
+ const forms = yield* Service66;
119
+ const integration = yield* Service64;
120
+ const credentials = yield* Service65;
121
121
  const root = yield* Effect.scope;
122
122
  const fork = yield* FiberSet.makeRuntime();
123
123
  const entries = new Map;
@@ -145,7 +145,7 @@ var layer16 = (options) => Layer.effect(Service33, Effect.gen(function* () {
145
145
  method: { id: methodID, type: "oauth", label: name },
146
146
  authorize: () => Effect.gen(function* () {
147
147
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
148
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service75, credentials));
148
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service65, credentials));
149
149
  })
150
150
  });
151
151
  }).pipe(Scope.provide(scope));
@@ -153,19 +153,19 @@ var layer16 = (options) => Layer.effect(Service33, Effect.gen(function* () {
153
153
  const requireServer = Effect.fnUntraced(function* (name) {
154
154
  const entry = entries.get(name);
155
155
  if (!entry)
156
- return yield* new NotFoundError3({ server: name });
156
+ return yield* new NotFoundError2({ server: name });
157
157
  return { name, entry };
158
158
  });
159
159
  const connectProvider = Effect.fnUntraced(function* (entry) {
160
160
  if (entry.config.type !== "remote" || !entry.integrationID)
161
161
  return;
162
162
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
163
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service75, credentials));
163
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service65, credentials));
164
164
  });
165
165
  const elicitation = {
166
166
  create: (input) => Effect.gen(function* () {
167
167
  if (input.params.mode === "url") {
168
- const formID = ID18.create();
168
+ const formID = ID14.create();
169
169
  const elicitationID = input.params.elicitationId;
170
170
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
171
171
  if (key)
@@ -268,7 +268,7 @@ var layer16 = (options) => Layer.effect(Service33, Effect.gen(function* () {
268
268
  entry.scope = scope;
269
269
  const authProvider = yield* connectProvider(entry);
270
270
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
271
- 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(Service79, environment), Scope.provide(scope));
271
+ 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(Service75, environment), Scope.provide(scope));
272
272
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
273
273
  if (Exit.isSuccess(result)) {
274
274
  entry.client = result.value.connection;
@@ -393,7 +393,7 @@ var layer16 = (options) => Layer.effect(Service33, Effect.gen(function* () {
393
393
  yield* startServer(name, entry);
394
394
  }).pipe(locks.withLock(name));
395
395
  });
396
- fork(bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
396
+ fork(bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
397
397
  const state = create3({
398
398
  name: "mcp",
399
399
  initial: () => ({
@@ -419,7 +419,7 @@ var layer16 = (options) => Layer.effect(Service33, Effect.gen(function* () {
419
419
  }),
420
420
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
421
421
  });
422
- return Service33.of({
422
+ return Service28.of({
423
423
  transform: state.transform,
424
424
  reload: state.reload,
425
425
  servers: Effect.fn("MCP.servers")(function* () {
@@ -529,14 +529,14 @@ function mergeCatalogs(catalogs) {
529
529
  templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
530
530
  });
531
531
  }
532
- function configured3(options) {
532
+ function configured2(options) {
533
533
  return makeLocationNode({
534
- service: Service33,
535
- layer: layer16(options),
536
- deps: [node85, node82, node89, node88, node77, node78]
534
+ service: Service28,
535
+ layer: layer13(options),
536
+ deps: [node83, node78, node89, node69, node67, node68]
537
537
  });
538
538
  }
539
- var node36 = configured3();
539
+ var node31 = configured2();
540
540
  function toElicitationField(key, property, required) {
541
541
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
542
542
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -587,4 +587,4 @@ function toElicitationField(key, property, required) {
587
587
  }
588
588
  }
589
589
 
590
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError3, ToolCallError2, Service33, Options3, layer16, configured3, node36, exports_mcp4 };
590
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError2, ToolCallError2, Service28, Options2, layer13, configured2, node31, exports_mcp4 };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  latest2,
3
- Service68
4
- } from "./plugin-h9rpd4f8.js";
3
+ Service60
4
+ } from "./reference-jk7ax7q1.js";
5
5
  import {
6
6
  observe2
7
- } from "./plugin-6pjqjmy2.js";
7
+ } from "./reference-6pjqjmy2.js";
8
8
  import {
9
9
  __export
10
- } from "./plugin-9rqn6x4v.js";
10
+ } from "./reference-9rqn6x4v.js";
11
11
 
12
12
  // src/config/plugin/websearch.ts
13
13
  var exports_websearch = {};
14
14
  __export(exports_websearch, {
15
15
  ConfigWebSearchPlugin: () => exports_websearch,
16
- Plugin: () => Plugin32
16
+ Plugin: () => Plugin13
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect } from "effect";
20
- var Plugin32 = define({
20
+ var Plugin13 = define({
21
21
  id: "opencode.config.websearch",
22
22
  effect: Effect.fn(function* (ctx) {
23
- const config = yield* Service68;
23
+ const config = yield* Service60;
24
24
  const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
25
25
  yield* ctx.websearch.transform((websearch) => {
26
26
  const selection = latest2(loaded.entries, "websearch");
@@ -32,4 +32,4 @@ var Plugin32 = define({
32
32
  })
33
33
  });
34
34
 
35
- export { Plugin32, exports_websearch };
35
+ export { Plugin13, exports_websearch };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  fromPromise2
3
- } from "./plugin-4v008n1t.js";
3
+ } from "./reference-4v008n1t.js";
4
4
  import {
5
- Service69
6
- } from "./plugin-zgy84aax.js";
5
+ Service61
6
+ } from "./reference-4x43ze8b.js";
7
7
  import {
8
- Service68
9
- } from "./plugin-h9rpd4f8.js";
8
+ Service60
9
+ } from "./reference-jk7ax7q1.js";
10
10
  import {
11
- Service64,
11
+ Service56,
12
12
  statements2,
13
13
  decision2
14
- } from "./plugin-48hcx8xq.js";
14
+ } from "./reference-ev4x93rx.js";
15
15
  import {
16
16
  __export
17
- } from "./plugin-9rqn6x4v.js";
17
+ } from "./reference-9rqn6x4v.js";
18
18
 
19
19
  // src/plugin/module.ts
20
20
  var exports_module = {};
21
21
  __export(exports_module, {
22
22
  LoadError: () => LoadError2,
23
23
  PluginModule: () => exports_module,
24
- make: () => make8
24
+ make: () => make9
25
25
  });
26
26
  import { Host } from "@opencode/plugin/host";
27
27
  import { createPluginSources } from "@opencode/plugin/source";
@@ -30,10 +30,10 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
30
30
  import path from "path";
31
31
  import { stat } from "node:fs/promises";
32
32
  import { fileURLToPath, pathToFileURL } from "url";
33
- var make8 = Effect.fn("PluginModule.make")(function* () {
34
- const config = yield* Service68;
35
- const managed = yield* Service64;
36
- const watcher = yield* Service69;
33
+ var make9 = Effect.fn("PluginModule.make")(function* () {
34
+ const config = yield* Service60;
35
+ const managed = yield* Service56;
36
+ const watcher = yield* Service61;
37
37
  const scope = yield* Effect.scope;
38
38
  const runPromise = yield* FiberSet.makeRuntimePromise();
39
39
  const changes = yield* PubSub.unbounded();
@@ -118,4 +118,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
118
118
  };
119
119
  });
120
120
 
121
- export { make8, LoadError2, exports_module };
121
+ export { make9, LoadError2, exports_module };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./plugin-805retjn.js";
4
+ } from "./reference-69dckygt.js";
5
5
  import {
6
6
  create3
7
- } from "./plugin-vd3b3yk9.js";
7
+ } from "./reference-vd3b3yk9.js";
8
8
  import {
9
9
  __export
10
- } from "./plugin-9rqn6x4v.js";
10
+ } from "./reference-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
13
  var exports_command4 = {};
14
14
  __export(exports_command4, {
15
15
  Command: () => exports_command4,
16
- Event: () => Event9,
16
+ Event: () => Event5,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info9,
19
- NotFoundError: () => NotFoundError5,
20
- Service: () => Service50,
21
- layer: () => layer21,
22
- node: () => node52
18
+ Info: () => Info8,
19
+ NotFoundError: () => NotFoundError3,
20
+ Service: () => Service32,
21
+ layer: () => layer14,
22
+ node: () => node35
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event9 } from "@opencode/schema/command";
28
- var Info9 = Command.Info;
27
+ import { Event as Event5 } from "@opencode/schema/command";
28
+ var Info8 = Command.Info;
29
29
 
30
- class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError3 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service50 extends Context.Service()("@opencode/Command") {
42
+ class Service32 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer21 = Layer.effect(Service50, Effect.gen(function* () {
44
+ var layer14 = Layer.effect(Service32, Effect.gen(function* () {
45
45
  const bus = yield* Service85;
46
46
  const state = create3({
47
47
  name: "command",
@@ -51,11 +51,11 @@ var layer21 = Layer.effect(Service50, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info9.make({
54
+ const info = (definition) => Info8.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service50.of({
58
+ return Service32.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,14 +66,14 @@ var layer21 = Layer.effect(Service50, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError5({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError3({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node52 = makeLocationNode({
75
- service: Service50,
76
- layer: layer21,
74
+ var node35 = makeLocationNode({
75
+ service: Service32,
76
+ layer: layer14,
77
77
  deps: [node89]
78
78
  });
79
79
  function errorMessage(error) {
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info9, NotFoundError5, ExecutionError2, Service50, layer21, node52, exports_command4, Event9 };
89
+ export { Info8, NotFoundError3, ExecutionError2, Service32, layer14, node35, exports_command4, Event5 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./plugin-9rqn6x4v.js";
3
+ } from "./reference-9rqn6x4v.js";
4
4
 
5
5
  // src/config/variable.ts
6
6
  var exports_variable = {};
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service56,
3
- node58,
2
+ Service53,
3
+ node56,
4
4
  canonical3
5
- } from "./plugin-9erwh778.js";
5
+ } from "./reference-49n54dn2.js";
6
6
  import {
7
- Service41,
8
- node43
9
- } from "./plugin-sbegqkxp.js";
7
+ Service36,
8
+ node38
9
+ } from "./reference-dwwyec8z.js";
10
10
  import {
11
- Service18
12
- } from "./plugin-bxh642fs.js";
11
+ Service43
12
+ } from "./reference-dv41yykm.js";
13
13
  import {
14
14
  layer2
15
- } from "./plugin-j4appf3d.js";
15
+ } from "./reference-gy55dmjh.js";
16
16
 
17
17
  // src/location-services.ts
18
18
  import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
19
19
  function buildLocationServiceMap2(replacements = []) {
20
- return Layer.effect(Service56, Effect.gen(function* () {
20
+ return Layer.effect(Service53, Effect.gen(function* () {
21
21
  const owner = yield* Effect.scope;
22
22
  const builds = MutableHashMap.empty();
23
23
  const inner = yield* LayerMap.make((ref) => {
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
27
27
  const finish = Effect.suspend(() => {
28
28
  if (Exit.isSuccess(exit)) {
29
29
  return Effect.gen(function* () {
30
- const lifecycle = Context.get(exit.value, Service18);
30
+ const lifecycle = Context.get(exit.value, Service43);
31
31
  if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
32
32
  return yield* lifecycle.shutdown;
33
33
  build.close = lifecycle.shutdown;
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
54
54
  }).pipe(Effect.uninterruptible)
55
55
  };
56
56
  const bindings = [
57
- node43.replace(Layer.succeed(Service41, {
57
+ node38.replace(Layer.succeed(Service36, {
58
58
  provide: (session) => Effect.provide(map.get(session.location))
59
59
  })),
60
60
  ...replacements,
61
- node58.replace(Layer.succeed(Service56, map))
61
+ node56.replace(Layer.succeed(Service53, map))
62
62
  ];
63
63
  return map;
64
64
  }));
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./plugin-ec1grn59.js";
3
+ } from "./reference-ec1grn59.js";
4
4
  import {
5
5
  tokens2
6
- } from "./plugin-tw8zr1ps.js";
6
+ } from "./reference-tw8zr1ps.js";
7
7
  import {
8
8
  stringify2
9
- } from "./plugin-5fjb7ams.js";
9
+ } from "./reference-5fjb7ams.js";
10
10
  import {
11
11
  contentFilterError2
12
- } from "./plugin-vhz2gm5v.js";
12
+ } from "./reference-gqv6dref.js";
13
13
 
14
14
  // src/session/runner/publish-llm-event.ts
15
15
  import { isRecord } from "@opencode/ai/utils/record";
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Service85
3
- } from "./plugin-805retjn.js";
3
+ } from "./reference-69dckygt.js";
4
4
  import {
5
- Service81
6
- } from "./plugin-qczn15be.js";
5
+ Service79
6
+ } from "./reference-n6xp163e.js";
7
7
  import {
8
8
  PromptsChanged2,
9
- Service33
10
- } from "./plugin-tz25qr3g.js";
9
+ Service28
10
+ } from "./reference-7e442h9n.js";
11
11
  import {
12
12
  __export
13
- } from "./plugin-9rqn6x4v.js";
13
+ } from "./reference-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/command.ts
16
- var exports_command = {};
17
- __export(exports_command, {
18
- CommandPlugin: () => exports_command,
19
- Plugin: () => Plugin11
16
+ var exports_command2 = {};
17
+ __export(exports_command2, {
18
+ CommandPlugin: () => exports_command2,
19
+ Plugin: () => Plugin26
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect, Stream } from "effect";
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
193
193
  `;
194
194
 
195
195
  // src/plugin/command.ts
196
- var Plugin11 = define({
196
+ var Plugin26 = define({
197
197
  id: "opencode.command",
198
198
  effect: Effect.fn(function* (ctx) {
199
- const location = yield* Service81;
200
- const mcp = yield* Service33;
199
+ const location = yield* Service79;
200
+ const mcp = yield* Service28;
201
201
  const bus = yield* Service85;
202
202
  const loaded = { prompts: [] };
203
203
  yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
@@ -280,4 +280,4 @@ function sanitize(value) {
280
280
  var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
281
281
  var quoteTrimRegex = /^["']|["']$/g;
282
282
 
283
- export { Plugin11, exports_command };
283
+ export { Plugin26, exports_command2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./plugin-9rqn6x4v.js";
3
+ } from "./reference-9rqn6x4v.js";
4
4
 
5
5
  // src/util/token.ts
6
6
  var exports_token = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./plugin-9rqn6x4v.js";
3
+ } from "./reference-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/web.ts
6
6
  var exports_web = {};
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./plugin-z5v4ffb3.js";
3
+ } from "./reference-z5v4ffb3.js";
4
4
  import {
5
5
  Info7,
6
- ID4,
6
+ ID3,
7
7
  Name2
8
- } from "./plugin-2k8w2xgz.js";
8
+ } from "./reference-9n5nfdbf.js";
9
9
  import {
10
- Service68
11
- } from "./plugin-h9rpd4f8.js";
10
+ Service60
11
+ } from "./reference-jk7ax7q1.js";
12
12
  import {
13
13
  __export
14
- } from "./plugin-9rqn6x4v.js";
14
+ } from "./reference-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
- var exports_skill = {};
18
- __export(exports_skill, {
17
+ var exports_skill2 = {};
18
+ __export(exports_skill2, {
19
19
  OpencodeContent: () => OpencodeContent2,
20
20
  OpencodeDescription: () => OpencodeDescription2,
21
- Plugin: () => Plugin5,
21
+ Plugin: () => Plugin29,
22
22
  ReportContent: () => ReportContent2,
23
- SkillPlugin: () => exports_skill
23
+ SkillPlugin: () => exports_skill2
24
24
  });
25
25
  import { define } from "@opencode/plugin/effect/plugin";
26
26
  import { Effect } from "effect";
@@ -430,20 +430,20 @@ var OpencodeContent2 = opencode_default;
430
430
  var ReportContent2 = report_default;
431
431
  var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
432
432
  var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
433
- var Plugin5 = define({
433
+ var Plugin29 = define({
434
434
  id: "opencode.skill",
435
435
  effect: Effect.fn(function* (ctx) {
436
436
  const reportContent = yield* reportContentWithDiagnostics(ctx.app);
437
437
  yield* ctx.skill.transform((editor) => {
438
438
  editor.add(Info7.make({
439
- id: ID4.make("opencode"),
439
+ id: ID3.make("opencode"),
440
440
  name: Name2.make("OpenCode"),
441
441
  description: OpencodeDescription2,
442
442
  path: AbsolutePath2.make("/builtin/opencode.md"),
443
443
  content: OpencodeContent2
444
444
  }));
445
445
  editor.add(Info7.make({
446
- id: ID4.make("report"),
446
+ id: ID3.make("report"),
447
447
  name: Name2.make("Report"),
448
448
  description: REPORT_DESCRIPTION,
449
449
  path: AbsolutePath2.make("/builtin/report.md"),
@@ -472,7 +472,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
472
472
  `);
473
473
  });
474
474
  var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
475
- const config = yield* Service68;
475
+ const config = yield* Service60;
476
476
  return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
477
477
  });
478
478
  function terminal() {
@@ -486,4 +486,4 @@ function shell() {
486
486
  return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
487
487
  }
488
488
 
489
- export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin5, exports_skill };
489
+ export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin29, exports_skill2 };