@opencode/core 0.0.0-dev-20848 → 0.0.0-dev-20850

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 (791) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{mime-9c3np669.js → command-00832hy7.js} +8 -8
  8. package/dist/chunks/{mime-yt8s49gy.js → command-00v3p02c.js} +12 -12
  9. package/dist/chunks/{mime-3tdspdk0.js → command-03eecatj.js} +32 -32
  10. package/dist/chunks/{mime-4vy300yq.js → command-0651g2m8.js} +24 -24
  11. package/dist/chunks/{mime-ct5msdbx.js → command-0f74e6s6.js} +16 -16
  12. package/dist/chunks/{mime-thye16kd.js → command-0g7cgnx9.js} +1 -1
  13. package/dist/chunks/{mime-z2tkkdyw.js → command-0r9t40ws.js} +8 -8
  14. package/dist/chunks/{mime-0vbcp93d.js → command-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{mime-wj4ga3q8.js → command-0yz1bb5z.js} +4 -4
  16. package/dist/chunks/{mime-7t21zscw.js → command-1078m2ze.js} +11 -11
  17. package/dist/chunks/{mime-y4783gag.js → command-125b2gjd.js} +25 -25
  18. package/dist/chunks/{mime-093ezmkq.js → command-141ztcwb.js} +15 -15
  19. package/dist/chunks/{mime-z001n1ar.js → command-1ake5xtc.js} +10 -10
  20. package/dist/chunks/{mime-grcxjrjv.js → command-1e7j80nv.js} +15 -15
  21. package/dist/chunks/{mime-03zdqwm6.js → command-1tc9ms7v.js} +80 -80
  22. package/dist/chunks/{mime-8ge66yjw.js → command-1xfjfm5k.js} +16 -16
  23. package/dist/chunks/{mime-qpm56zd3.js → command-266f832d.js} +22 -22
  24. package/dist/chunks/{mime-p84pazke.js → command-2ej7p5df.js} +17 -17
  25. package/dist/chunks/{mime-rnkwpqsj.js → command-2vn9a9m5.js} +13 -13
  26. package/dist/chunks/{mime-2vvh33eb.js → command-2vvh33eb.js} +2 -2
  27. package/dist/chunks/{mime-d3j1yfh5.js → command-2w85jf91.js} +3 -3
  28. package/dist/chunks/{mime-rjv486v1.js → command-2x98hj2d.js} +6 -6
  29. package/dist/chunks/{mime-kqkndje3.js → command-2ztj38qe.js} +20 -20
  30. package/dist/chunks/{mime-31xfzrxg.js → command-31xfzrxg.js} +2 -2
  31. package/dist/chunks/{mime-y82gm3gz.js → command-3b7e2402.js} +11 -11
  32. package/dist/chunks/{mime-3fc6dm20.js → command-3fc6dm20.js} +1 -1
  33. package/dist/chunks/{mime-341887x8.js → command-3ggbdzvf.js} +37 -37
  34. package/dist/chunks/{mime-jvcyxgjy.js → command-3grbmg3s.js} +17 -17
  35. package/dist/chunks/{mime-3hepkmqq.js → command-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{mime-3hwn7j4h.js → command-3hwn7j4h.js} +2 -2
  37. package/dist/chunks/{mime-3smtnn6g.js → command-3smtnn6g.js} +1 -1
  38. package/dist/chunks/{mime-88j8nb7d.js → command-3t1dcsxj.js} +50 -50
  39. package/dist/chunks/{mime-3tvqynh2.js → command-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{mime-xg6vc4yz.js → command-3xr281qj.js} +9 -9
  41. package/dist/chunks/{mime-3zsf4n22.js → command-3zsf4n22.js} +1 -1
  42. package/dist/chunks/{mime-wmswtf3a.js → command-43b4ysp3.js} +13 -13
  43. package/dist/chunks/{mime-ba07h9gm.js → command-48kw51zw.js} +3 -3
  44. package/dist/chunks/{mime-a01j9zgm.js → command-4ekscj25.js} +5 -5
  45. package/dist/chunks/{mime-9ayz8qe3.js → command-4h0vb0gq.js} +15 -15
  46. package/dist/chunks/{mime-nypk9e09.js → command-4jw9kfxa.js} +10 -10
  47. package/dist/chunks/{mime-td4h0tpz.js → command-4n4sjte8.js} +20 -20
  48. package/dist/chunks/{mime-fmwz837r.js → command-4s7sr0a4.js} +8 -8
  49. package/dist/chunks/{mime-2ccvkpx1.js → command-4ts7tf6z.js} +2 -2
  50. package/dist/chunks/command-4v7qdvcn.js +18 -0
  51. package/dist/chunks/{mime-5crmb2xf.js → command-50waebaf.js} +14 -14
  52. package/dist/chunks/{mime-bydzhrwf.js → command-51p4tjed.js} +18 -18
  53. package/dist/chunks/{mime-x19mfkfa.js → command-524nwbbt.js} +10 -10
  54. package/dist/chunks/{mime-44rdwtgh.js → command-54e5rmax.js} +4 -4
  55. package/dist/chunks/{mime-54ma36ye.js → command-54ma36ye.js} +1 -1
  56. package/dist/chunks/{mime-63qttpz0.js → command-5faj6gpx.js} +27 -27
  57. package/dist/chunks/{mime-5m9w47nd.js → command-5m9w47nd.js} +1 -1
  58. package/dist/chunks/{mime-e2n962sp.js → command-5mgptwxw.js} +11 -11
  59. package/dist/chunks/{mime-e3qxr5gk.js → command-5qd3pb7m.js} +2 -2
  60. package/dist/chunks/{mime-c28b4grb.js → command-5t3310k6.js} +4 -4
  61. package/dist/chunks/{mime-2njrmdps.js → command-5ytdfek8.js} +20 -20
  62. package/dist/chunks/{mime-nk1a0m4h.js → command-6674vnd9.js} +30 -30
  63. package/dist/chunks/{mime-48c45xbx.js → command-684z2rkg.js} +14 -12
  64. package/dist/chunks/{mime-6nhrap54.js → command-6qrtx4s9.js} +8 -8
  65. package/dist/chunks/{mime-ghdx6zwz.js → command-6rv30qxe.js} +6 -6
  66. package/dist/chunks/{mime-874mqwgr.js → command-6v23mrsw.js} +11 -11
  67. package/dist/chunks/{mime-q6k0rjqm.js → command-6w6dyk7v.js} +9 -9
  68. package/dist/chunks/{mime-6xb47vfp.js → command-6xb47vfp.js} +1 -1
  69. package/dist/chunks/{mime-b9hjh4zd.js → command-70az54m3.js} +29 -29
  70. package/dist/chunks/{mime-7c9rhtvt.js → command-754hrxp0.js} +21 -21
  71. package/dist/chunks/{mime-6pyvjtsa.js → command-7ad1qpnj.js} +16 -16
  72. package/dist/chunks/{mime-7bmhse3q.js → command-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{mime-7dqw4kz8.js → command-7dqw4kz8.js} +1 -1
  74. package/dist/chunks/{mime-fv0pzh3a.js → command-7ffperky.js} +20 -20
  75. package/dist/chunks/{mime-0hzwm2j4.js → command-7fqkjd9x.js} +30 -30
  76. package/dist/chunks/{mime-avcrxgn1.js → command-7qskwz89.js} +24 -24
  77. package/dist/chunks/{mime-9khdf5s3.js → command-7rce4ag1.js} +11 -11
  78. package/dist/chunks/{mime-84txncab.js → command-84txncab.js} +1 -1
  79. package/dist/chunks/{mime-25x08sgb.js → command-886t639t.js} +11 -11
  80. package/dist/chunks/{mime-tpd4zc77.js → command-8akyxt9x.js} +171 -171
  81. package/dist/chunks/{mime-c3kdf4nh.js → command-8c2fejh3.js} +45 -45
  82. package/dist/chunks/{mime-t0czkw58.js → command-8dmft94a.js} +13 -13
  83. package/dist/chunks/{mime-z321w99j.js → command-8k7cnv0y.js} +1 -1
  84. package/dist/chunks/{mime-8m6m0r52.js → command-8m6m0r52.js} +1 -1
  85. package/dist/chunks/{mime-h0t0bv9g.js → command-8nehyppj.js} +13 -13
  86. package/dist/chunks/{mime-j09zfasm.js → command-91qna3x0.js} +3 -3
  87. package/dist/chunks/{mime-xay352td.js → command-99tgmy8e.js} +19 -19
  88. package/dist/chunks/{mime-h581xfce.js → command-9a3p6fm2.js} +41 -41
  89. package/dist/chunks/{mime-xbxz27st.js → command-9gz7rpcg.js} +17 -17
  90. package/dist/chunks/{mime-jexmkm21.js → command-9my8cp47.js} +46 -46
  91. package/dist/chunks/{mime-hqz60g6y.js → command-9rcsrpay.js} +25 -25
  92. package/dist/chunks/{mime-pzxj9hfq.js → command-9xnzsa35.js} +18 -18
  93. package/dist/chunks/{mime-f8wv18vk.js → command-9ygwj23r.js} +15 -15
  94. package/dist/chunks/{mime-c27esgm9.js → command-a2qe2ev9.js} +8 -8
  95. package/dist/chunks/{mime-nb9p6b26.js → command-a89e0tac.js} +4 -4
  96. package/dist/chunks/{mime-5zxyxt67.js → command-apj6cajm.js} +15 -15
  97. package/dist/chunks/{mime-5v4tq1pr.js → command-b1nzd013.js} +2 -2
  98. package/dist/chunks/{mime-rw63zn1c.js → command-b3d0s7yq.js} +5 -5
  99. package/dist/chunks/{mime-p75g0t75.js → command-b4fmh4gz.js} +4 -4
  100. package/dist/chunks/{mime-dzxpq3he.js → command-bep02zpa.js} +14 -14
  101. package/dist/chunks/{mime-fg20npmb.js → command-bz4h3gj4.js} +38 -38
  102. package/dist/chunks/{mime-z2z2ww5c.js → command-c10fq8yw.js} +70 -70
  103. package/dist/chunks/{mime-xvy6exsz.js → command-c1p4wns8.js} +11 -11
  104. package/dist/chunks/{mime-s79kdw20.js → command-c41h4f8s.js} +3 -3
  105. package/dist/chunks/{mime-c41wscbt.js → command-c41wscbt.js} +2 -2
  106. package/dist/chunks/{mime-ft3hqk2c.js → command-c765mh8b.js} +9 -9
  107. package/dist/chunks/{mime-c8ax2afj.js → command-c8ax2afj.js} +2 -2
  108. package/dist/chunks/{mime-yvd3xmh6.js → command-cccett8t.js} +85 -85
  109. package/dist/chunks/{mime-nr82q2y3.js → command-d331akc0.js} +27 -27
  110. package/dist/chunks/{mime-1nwrzgv4.js → command-d8npn8xg.js} +18 -18
  111. package/dist/chunks/{mime-addxnjmp.js → command-db2wf4at.js} +4 -4
  112. package/dist/chunks/{mime-hte375x9.js → command-ded7ed65.js} +13 -13
  113. package/dist/chunks/{mime-9cbcaerr.js → command-dehk00jt.js} +15 -15
  114. package/dist/chunks/{mime-drwq78ky.js → command-drwq78ky.js} +1 -1
  115. package/dist/chunks/{mime-64197h0s.js → command-dtpvhdth.js} +7 -7
  116. package/dist/chunks/{mime-vtqafnzr.js → command-dys7k0s0.js} +11 -11
  117. package/dist/chunks/{mime-2zrs9e1z.js → command-e3mqmg8e.js} +7 -7
  118. package/dist/chunks/{mime-jc7bxj62.js → command-e53ktggx.js} +43 -43
  119. package/dist/chunks/{mime-2c1y2c17.js → command-e87zkmfq.js} +22 -22
  120. package/dist/chunks/{mime-bsdt1m9e.js → command-eaeq0sye.js} +7 -7
  121. package/dist/chunks/{mime-t550f9t1.js → command-eaj1djv9.js} +8 -8
  122. package/dist/chunks/{mime-e80seqcp.js → command-ed1g29hy.js} +3 -3
  123. package/dist/chunks/{mime-8758vc7w.js → command-ee1byx1z.js} +24 -24
  124. package/dist/chunks/{mime-eej6y6fw.js → command-eej6y6fw.js} +2 -2
  125. package/dist/chunks/{mime-ef5x83kb.js → command-ef5x83kb.js} +1 -1
  126. package/dist/chunks/{mime-9h6b9xcq.js → command-emhev80g.js} +26 -26
  127. package/dist/chunks/{mime-vkjxqv50.js → command-eq3njjjt.js} +27 -27
  128. package/dist/chunks/{mime-2zznshrj.js → command-erj4chxm.js} +14 -14
  129. package/dist/chunks/{mime-es1vcfrp.js → command-es1vcfrp.js} +3 -3
  130. package/dist/chunks/{mime-4z58m4b4.js → command-f29mbr7f.js} +4 -4
  131. package/dist/chunks/{mime-fv1xpqq8.js → command-f4ej5vtm.js} +24 -24
  132. package/dist/chunks/{mime-bpcp2wk4.js → command-f5rky6pw.js} +30 -30
  133. package/dist/chunks/{mime-002yfvjw.js → command-f6zrmd8m.js} +20 -20
  134. package/dist/chunks/{mime-spdr2m8g.js → command-fcs8jd9f.js} +31 -31
  135. package/dist/chunks/{mime-nd4tfyg0.js → command-g686f6pq.js} +9 -9
  136. package/dist/chunks/{mime-ykgfn48v.js → command-gbst0gvm.js} +44 -44
  137. package/dist/chunks/{mime-n21cjp58.js → command-gcxv3h2c.js} +8 -8
  138. package/dist/chunks/{mime-gd4qta3r.js → command-gd4qta3r.js} +1 -1
  139. package/dist/chunks/{mime-qne3fa44.js → command-gj71zhbs.js} +5 -5
  140. package/dist/chunks/{mime-621kfk4a.js → command-gj7khvz3.js} +13 -13
  141. package/dist/chunks/{mime-gk8qb678.js → command-gk8qb678.js} +1 -1
  142. package/dist/chunks/{mime-4qneze2k.js → command-gnqwsg0j.js} +9 -9
  143. package/dist/chunks/{mime-bf73z2bd.js → command-gsnj80d9.js} +47 -98
  144. package/dist/chunks/{mime-2d3qjknd.js → command-gvxf58ty.js} +13 -13
  145. package/dist/chunks/command-gzksc6e4.js +26 -0
  146. package/dist/chunks/{mime-t8g2rvm9.js → command-h3k0sdzw.js} +9 -9
  147. package/dist/chunks/{mime-h6vf3j39.js → command-h6vf3j39.js} +1 -1
  148. package/dist/chunks/{mime-4nj4bn9q.js → command-h71w788e.js} +9 -9
  149. package/dist/chunks/{mime-w546eqkd.js → command-hatca7p1.js} +24 -24
  150. package/dist/chunks/{mime-scgrse2b.js → command-hdkng2sj.js} +5 -5
  151. package/dist/chunks/{mime-zg3tcem2.js → command-hes1j7ga.js} +9 -9
  152. package/dist/chunks/{mime-hgz4x7wa.js → command-hgz4x7wa.js} +1 -1
  153. package/dist/chunks/{mime-002hnt25.js → command-hqb6mdaz.js} +20 -20
  154. package/dist/chunks/{mime-vf2dg72c.js → command-hrvrjbe0.js} +5 -5
  155. package/dist/chunks/{mime-rwbv99bt.js → command-hvtsap7v.js} +20 -20
  156. package/dist/chunks/{mime-bfbcwk3j.js → command-hy8hfmse.js} +5 -5
  157. package/dist/chunks/{mime-znqq22v1.js → command-hyzzdb65.js} +12 -12
  158. package/dist/chunks/{mime-p167xd9m.js → command-hzs77mdg.js} +13 -13
  159. package/dist/chunks/{mime-j56e64zr.js → command-j56e64zr.js} +1 -1
  160. package/dist/chunks/{mime-6wzskj7v.js → command-ja2a058e.js} +4 -4
  161. package/dist/chunks/{mime-83r455cj.js → command-jdz4qjxc.js} +4 -4
  162. package/dist/chunks/{mime-aysmer6g.js → command-jnyt3wvk.js} +11 -11
  163. package/dist/chunks/{mime-d4qxdy3f.js → command-k085ax4w.js} +11 -11
  164. package/dist/chunks/{mime-rxkwhjbw.js → command-k3cg02ta.js} +5 -5
  165. package/dist/chunks/{mime-mqgk8r7f.js → command-ke0v1s51.js} +42 -42
  166. package/dist/chunks/{mime-hq3c8me3.js → command-khmqacep.js} +4 -4
  167. package/dist/chunks/{mime-7d8xn48g.js → command-kwbgkw7p.js} +3 -3
  168. package/dist/chunks/{mime-ex0pka66.js → command-kzdcqyn1.js} +5 -5
  169. package/dist/chunks/{mime-w6fjva46.js → command-m1q8be4e.js} +6 -6
  170. package/dist/chunks/{mime-8nn0aekz.js → command-m7jak9xg.js} +20 -20
  171. package/dist/chunks/{mime-m2zdk9kx.js → command-m9r522wj.js} +25 -25
  172. package/dist/chunks/{mime-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
  173. package/dist/chunks/{mime-v67tqvgv.js → command-mm236w6k.js} +17 -17
  174. package/dist/chunks/{mime-pccmesk3.js → command-mq9nb5yf.js} +14 -14
  175. package/dist/chunks/{mime-shxcat2w.js → command-mxv0ahxn.js} +34 -34
  176. package/dist/chunks/{mime-mz10zc8h.js → command-mzydhjeg.js} +3 -3
  177. package/dist/chunks/{mime-ttqh24zm.js → command-n4r3xatb.js} +4 -4
  178. package/dist/chunks/{mime-943skrnc.js → command-n7syarbg.js} +6 -6
  179. package/dist/chunks/{mime-18wcmczp.js → command-n8cj0r05.js} +3 -3
  180. package/dist/chunks/{mime-k1xhjma1.js → command-n94jt7k6.js} +11 -11
  181. package/dist/chunks/{mime-q52t79da.js → command-ngkkqbqm.js} +26 -26
  182. package/dist/chunks/{mime-1f45z9qr.js → command-njrwvgpc.js} +11 -11
  183. package/dist/chunks/{mime-agdd9xsj.js → command-npvtjmwq.js} +15 -15
  184. package/dist/chunks/{mime-v531ggt4.js → command-nr7p0et9.js} +5 -5
  185. package/dist/chunks/{mime-19vkts2s.js → command-nrxc3w5k.js} +31 -31
  186. package/dist/chunks/{mime-qa5vprxq.js → command-nt0mjwaw.js} +11 -11
  187. package/dist/chunks/{mime-egk29gxp.js → command-nz5tb3mz.js} +13 -13
  188. package/dist/chunks/{mime-dwctjmtf.js → command-p267qznr.js} +32 -32
  189. package/dist/chunks/{mime-p37cw4rj.js → command-p42hj8p8.js} +8 -8
  190. package/dist/chunks/{mime-19ehbbx2.js → command-p51cfpkz.js} +11 -11
  191. package/dist/chunks/{mime-010n58ab.js → command-p6dnv1qh.js} +20 -20
  192. package/dist/chunks/{mime-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
  193. package/dist/chunks/{mime-pknna89w.js → command-pknna89w.js} +1 -1
  194. package/dist/chunks/{mime-98tgrza1.js → command-pv5w45yn.js} +11 -11
  195. package/dist/chunks/{mime-qptva5a0.js → command-pz0ytm9k.js} +8 -8
  196. package/dist/chunks/{mime-0j77ygfz.js → command-q0xm7vwc.js} +6 -6
  197. package/dist/chunks/{mime-gd0tnyjc.js → command-q5e7cmwt.js} +1 -1
  198. package/dist/chunks/{mime-hvq1vxtv.js → command-qkb6y1tc.js} +30 -30
  199. package/dist/chunks/{mime-zfm2k9h8.js → command-qmwxrq4q.js} +3 -3
  200. package/dist/chunks/{mime-qnc92qwc.js → command-qnc92qwc.js} +1 -1
  201. package/dist/chunks/{mime-qsdy395h.js → command-qsdy395h.js} +1 -1
  202. package/dist/chunks/{mime-v56myrm4.js → command-r0p853b9.js} +28 -28
  203. package/dist/chunks/{mime-h8k9kr22.js → command-r5tpv63y.js} +319 -319
  204. package/dist/chunks/{mime-cthrtr0v.js → command-r6a4azr4.js} +11 -11
  205. package/dist/chunks/{mime-yp2x3t23.js → command-r8xr0va3.js} +4 -4
  206. package/dist/chunks/{mime-6258hrf2.js → command-r9vebypt.js} +16 -16
  207. package/dist/chunks/{mime-rdw6cm16.js → command-rdw6cm16.js} +1 -1
  208. package/dist/chunks/{mime-3wm8rynf.js → command-reevcg95.js} +16 -16
  209. package/dist/chunks/{mime-tyhvedd8.js → command-rg90hx5t.js} +24 -24
  210. package/dist/chunks/{mime-8vg2ek78.js → command-rhv7vgb3.js} +3 -3
  211. package/dist/chunks/{mime-rkprpv83.js → command-rkprpv83.js} +2 -2
  212. package/dist/chunks/{mime-q7sg16y8.js → command-rmpnsk58.js} +24 -24
  213. package/dist/chunks/{mime-85xxa1xb.js → command-rqa1jxse.js} +2 -2
  214. package/dist/chunks/{mime-7x88nx06.js → command-rvea9875.js} +9 -9
  215. package/dist/chunks/{mime-mtq6xxnx.js → command-ryr25ayn.js} +7 -7
  216. package/dist/chunks/{mime-50gcym7f.js → command-s5phpar0.js} +9 -9
  217. package/dist/chunks/{mime-h14hz9z0.js → command-s98w7xaq.js} +13 -13
  218. package/dist/chunks/{mime-nwb5j2mm.js → command-sd66kwnn.js} +11 -11
  219. package/dist/chunks/{mime-a3vy0zy5.js → command-sefmw985.js} +26 -26
  220. package/dist/chunks/{mime-8ja30ehw.js → command-sf0yp864.js} +8 -8
  221. package/dist/chunks/{mime-vqgjf46c.js → command-sf6256ff.js} +4 -4
  222. package/dist/chunks/{mime-b8j6recp.js → command-sg56rmc9.js} +9 -9
  223. package/dist/chunks/{mime-mg1adt76.js → command-sgfee8yb.js} +5 -5
  224. package/dist/chunks/{mime-5a2crbnm.js → command-snnejgvy.js} +23 -23
  225. package/dist/chunks/{mime-k3bh1kct.js → command-svcw9x3w.js} +5 -5
  226. package/dist/chunks/{mime-dvf6tdtm.js → command-sx7mvmwx.js} +5 -5
  227. package/dist/chunks/{mime-syv4x271.js → command-syv4x271.js} +1 -1
  228. package/dist/chunks/{mime-r1v71m1q.js → command-t4g07myj.js} +11 -11
  229. package/dist/chunks/{mime-305smynn.js → command-t5mnyv20.js} +3 -3
  230. package/dist/chunks/{mime-tazgh4e4.js → command-tazgh4e4.js} +1 -1
  231. package/dist/chunks/{mime-tcezcvh9.js → command-tcezcvh9.js} +1 -1
  232. package/dist/chunks/{mime-rcxxtyg9.js → command-tdcm2knz.js} +32 -32
  233. package/dist/chunks/{mime-tdstcens.js → command-tdstcens.js} +1 -1
  234. package/dist/chunks/{mime-tkb22qbm.js → command-tkb22qbm.js} +2 -2
  235. package/dist/chunks/{mime-0paq2nw3.js → command-tm0kqsz3.js} +26 -2
  236. package/dist/chunks/{mime-k5ha2rxc.js → command-trs4csaq.js} +27 -27
  237. package/dist/chunks/{mime-1fxcdfpr.js → command-ts860kc8.js} +11 -11
  238. package/dist/chunks/{mime-tyytaxap.js → command-tyytaxap.js} +1 -1
  239. package/dist/chunks/{mime-v0es1rhs.js → command-v0es1rhs.js} +2 -2
  240. package/dist/chunks/{mime-v7p4zvkq.js → command-v7p4zvkq.js} +2 -2
  241. package/dist/chunks/{mime-ztkjbas2.js → command-vdwvtvgk.js} +54 -54
  242. package/dist/chunks/{mime-fzejrech.js → command-vea3bt9n.js} +8 -8
  243. package/dist/chunks/{mime-veqvce7d.js → command-veqvce7d.js} +1 -1
  244. package/dist/chunks/{mime-817wyjpp.js → command-vy8bzexn.js} +20 -20
  245. package/dist/chunks/{mime-vzs5sf6e.js → command-vzs5sf6e.js} +1 -1
  246. package/dist/chunks/{mime-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
  247. package/dist/chunks/{mime-rkg4v3e5.js → command-waskdk5r.js} +9 -9
  248. package/dist/chunks/{mime-wd87259q.js → command-wd87259q.js} +1 -1
  249. package/dist/chunks/{mime-gsb0ytgh.js → command-wggd68j5.js} +4 -4
  250. package/dist/chunks/{mime-ft8f0j73.js → command-wh1armcy.js} +30 -30
  251. package/dist/chunks/{mime-6yz0wx8n.js → command-wh6zw745.js} +5 -5
  252. package/dist/chunks/{mime-1ffvrpkg.js → command-wjr9rjd7.js} +9 -9
  253. package/dist/chunks/{mime-nyq6zjbq.js → command-wkrrhx1g.js} +18 -18
  254. package/dist/chunks/{mime-vz1740cg.js → command-wtkbvwtp.js} +25 -25
  255. package/dist/chunks/{mime-b5expwxh.js → command-wymw8b6n.js} +12 -12
  256. package/dist/chunks/{mime-r9gmq3a3.js → command-x4e9fr25.js} +2 -2
  257. package/dist/chunks/{mime-b5pctew3.js → command-x7m2pq7s.js} +9 -9
  258. package/dist/chunks/{mime-cy5d7jcg.js → command-x7q2mydz.js} +6 -6
  259. package/dist/chunks/command-x8196b4w.js +253 -0
  260. package/dist/chunks/{mime-9gagznbj.js → command-xmmcf9bt.js} +5 -5
  261. package/dist/chunks/{mime-zdssxewb.js → command-xpgsdcx2.js} +8 -8
  262. package/dist/chunks/{mime-t44n0djv.js → command-xxc15cb4.js} +17 -17
  263. package/dist/chunks/{mime-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
  264. package/dist/chunks/{mime-dpkg50ah.js → command-y71avatq.js} +4 -4
  265. package/dist/chunks/{mime-hdnmq8jc.js → command-y7ppa9zv.js} +14 -14
  266. package/dist/chunks/{mime-cjdmztnd.js → command-y9y6emgs.js} +36 -36
  267. package/dist/chunks/{mime-28rmsg7j.js → command-yabdq57b.js} +15 -15
  268. package/dist/chunks/{mime-d0k1g5nx.js → command-ycjb11n5.js} +6 -6
  269. package/dist/chunks/{mime-c74pnqn7.js → command-yk0w1sxf.js} +5 -5
  270. package/dist/chunks/{mime-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
  271. package/dist/chunks/{mime-564q7t6e.js → command-z463bfa6.js} +19 -19
  272. package/dist/chunks/{mime-4b2pdyzr.js → command-z4zmw5wd.js} +43 -43
  273. package/dist/chunks/{mime-ctdy4p88.js → command-z65krm0a.js} +18 -18
  274. package/dist/chunks/{mime-2eqf98j4.js → command-zc7432er.js} +30 -30
  275. package/dist/chunks/{mime-bbmgsf8y.js → command-zkgp92a0.js} +16 -16
  276. package/dist/chunks/{mime-kbkgrfea.js → command-zmekajch.js} +11 -11
  277. package/dist/chunks/{mime-q4eqpz6z.js → command-zq51jzx2.js} +21 -21
  278. package/dist/chunks/{mime-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
  279. package/dist/chunks/{mime-7t45mqen.js → command-zryp2me0.js} +23 -23
  280. package/dist/chunks/{mime-1vdt07et.js → command-ztm4jwfz.js} +4 -4
  281. package/dist/chunks/{mime-zxq2ej10.js → command-zxq2ej10.js} +1 -1
  282. package/dist/chunks/{mime-vfjhn2wd.js → command-zy43x3f1.js} +4 -4
  283. package/dist/chunks/{mime-s674p844.js → command-zyfyd078.js} +2 -2
  284. package/dist/chunks/{mime-ydp8pw23.js → command-zynkq0bw.js} +10 -10
  285. package/dist/chunks/{mime-xyn3q1e0.js → command-zzqs5kr4.js} +49 -49
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +5 -5
  288. package/dist/codemode/tool.js +3 -3
  289. package/dist/codemode/web.js +1 -1
  290. package/dist/command.js +87 -87
  291. package/dist/config/discovery.js +84 -84
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +101 -101
  294. package/dist/config/plugin/agent.js +120 -120
  295. package/dist/config/plugin/command.js +209 -209
  296. package/dist/config/plugin/compaction.js +156 -156
  297. package/dist/config/plugin/compatibility.js +136 -136
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +119 -119
  300. package/dist/config/plugin/image.js +118 -118
  301. package/dist/config/plugin/instruction.js +92 -92
  302. package/dist/config/plugin/location-watcher.js +120 -120
  303. package/dist/config/plugin/mcp.js +127 -127
  304. package/dist/config/plugin/policy.js +119 -119
  305. package/dist/config/plugin/provider.js +118 -118
  306. package/dist/config/plugin/reference.js +120 -120
  307. package/dist/config/plugin/shell.js +120 -120
  308. package/dist/config/plugin/skill-file.js +104 -104
  309. package/dist/config/plugin/skill.js +139 -139
  310. package/dist/config/plugin/snapshot.js +118 -118
  311. package/dist/config/plugin/source.js +121 -121
  312. package/dist/config/plugin/tool-output.js +119 -119
  313. package/dist/config/plugin/websearch.js +119 -119
  314. package/dist/config/plugin/worktree.js +120 -120
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +123 -123
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +87 -87
  320. package/dist/database/database.js +68 -68
  321. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +15 -15
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +16 -16
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  385. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  386. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  387. package/dist/database/migration.gen.js +51 -51
  388. package/dist/database/migration.js +53 -53
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +78 -78
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +368 -368
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +3 -3
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +95 -95
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +95 -95
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +3 -3
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +72 -72
  412. package/dist/file-access.js +106 -106
  413. package/dist/file-mutation.js +96 -96
  414. package/dist/file-retention.js +1 -1
  415. package/dist/filesystem/fff.bun.js +2 -2
  416. package/dist/filesystem/fff.js +1 -1
  417. package/dist/filesystem/fff.node.js +2 -2
  418. package/dist/filesystem/fff.workerd.js +2 -2
  419. package/dist/filesystem/location-watcher-policy.js +6 -6
  420. package/dist/filesystem/location-watcher.js +222 -222
  421. package/dist/filesystem/protected.js +1 -1
  422. package/dist/filesystem/search.js +105 -105
  423. package/dist/filesystem/watcher-binding.js +3 -3
  424. package/dist/filesystem/watcher.js +15 -15
  425. package/dist/filesystem.js +108 -108
  426. package/dist/form.js +72 -72
  427. package/dist/formatter/builtins.js +4 -4
  428. package/dist/formatter.js +89 -89
  429. package/dist/generate.js +105 -105
  430. package/dist/git.js +6 -6
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +101 -101
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +359 -359
  454. package/dist/instruction-discovery.js +87 -87
  455. package/dist/instructions/builtins.js +89 -89
  456. package/dist/instructions/index.js +5 -5
  457. package/dist/integration/connection.js +3 -3
  458. package/dist/integration.js +89 -89
  459. package/dist/job.js +80 -80
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +71 -71
  462. package/dist/location-activity.js +133 -133
  463. package/dist/location-lifecycle.js +109 -109
  464. package/dist/location-service-map.js +88 -88
  465. package/dist/location-services.js +356 -356
  466. package/dist/location.js +83 -83
  467. package/dist/managed-policy.js +8 -8
  468. package/dist/mcp/client.js +93 -93
  469. package/dist/mcp/index.js +109 -109
  470. package/dist/mcp/instructions.js +129 -129
  471. package/dist/mcp/oauth.js +80 -80
  472. package/dist/mcp/stdio.js +92 -92
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +101 -101
  475. package/dist/model-resolver.js +100 -100
  476. package/dist/model.js +102 -102
  477. package/dist/models-dev.js +99 -99
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +82 -82
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +117 -117
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +90 -90
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +77 -77
  487. package/dist/plugin/agent.js +78 -78
  488. package/dist/plugin/command.js +104 -104
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +213 -213
  491. package/dist/plugin/identity.js +3 -3
  492. package/dist/plugin/instance.js +5 -5
  493. package/dist/plugin/internal.js +331 -331
  494. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  495. package/dist/plugin/models-dev.js +98 -98
  496. package/dist/plugin/module.js +119 -119
  497. package/dist/plugin/optimize.js +2 -2
  498. package/dist/plugin/plan.js +104 -104
  499. package/dist/plugin/promise.js +1 -1
  500. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  501. package/dist/plugin/provider/azure.js +118 -119
  502. package/dist/plugin/provider/cerebras.js +1 -1
  503. package/dist/plugin/provider/chatgpt.js +96 -96
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +114 -114
  508. package/dist/plugin/provider/databricks.js +1 -1
  509. package/dist/plugin/provider/digitalocean.js +95 -95
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/github-copilot.js +97 -97
  513. package/dist/plugin/provider/gitlab.js +95 -95
  514. package/dist/plugin/provider/google-vertex.js +115 -115
  515. package/dist/plugin/provider/kilo.js +1 -1
  516. package/dist/plugin/provider/llmgateway.js +80 -80
  517. package/dist/plugin/provider/lmstudio.js +127 -127
  518. package/dist/plugin/provider/local.js +124 -124
  519. package/dist/plugin/provider/modal.js +94 -94
  520. package/dist/plugin/provider/neon.js +1 -1
  521. package/dist/plugin/provider/nvidia.js +1 -1
  522. package/dist/plugin/provider/ollama.js +127 -127
  523. package/dist/plugin/provider/openai.js +95 -95
  524. package/dist/plugin/provider/opencode.js +99 -99
  525. package/dist/plugin/provider/openrouter.js +93 -93
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +81 -81
  528. package/dist/plugin/provider/prompt-cache-key.js +92 -92
  529. package/dist/plugin/provider/sap-ai-core.js +93 -93
  530. package/dist/plugin/provider/sdk-factory.js +1 -1
  531. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  532. package/dist/plugin/provider/vercel.js +92 -92
  533. package/dist/plugin/provider/vllm.js +127 -127
  534. package/dist/plugin/provider/xai.js +93 -93
  535. package/dist/plugin/provider/zenmux.js +1 -1
  536. package/dist/plugin/provider.js +169 -169
  537. package/dist/plugin/sdk.js +78 -78
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +134 -134
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +350 -350
  542. package/dist/plugin/tool-input-repair.js +4 -4
  543. package/dist/plugin/update.js +6 -6
  544. package/dist/plugin/vcs/git.js +88 -88
  545. package/dist/plugin/vcs/hg.js +88 -88
  546. package/dist/plugin/verbosity.js +95 -95
  547. package/dist/plugin/warming.js +116 -116
  548. package/dist/plugin/websearch/exa.js +7 -7
  549. package/dist/plugin/websearch/firecrawl.js +8 -8
  550. package/dist/plugin/websearch/index.js +9 -9
  551. package/dist/plugin/websearch/mcp.js +6 -6
  552. package/dist/plugin/websearch/parallel.js +8 -8
  553. package/dist/plugin/websearch/tavily.js +6 -6
  554. package/dist/plugin/websearch/tinyfish.js +8 -8
  555. package/dist/plugin.js +220 -220
  556. package/dist/project/schema.js +2 -2
  557. package/dist/project/sql.js +4 -4
  558. package/dist/project.js +82 -82
  559. package/dist/provider.js +103 -103
  560. package/dist/pty/protocol.js +1 -1
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +93 -93
  563. package/dist/reference/instructions.js +91 -91
  564. package/dist/reference.js +89 -89
  565. package/dist/repository-cache.js +83 -83
  566. package/dist/repository.js +1 -1
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +99 -99
  569. package/dist/rpc.js +88 -88
  570. package/dist/schema.js +1 -1
  571. package/dist/session/affinity.js +1 -1
  572. package/dist/session/command.js +76 -76
  573. package/dist/session/compaction.js +137 -137
  574. package/dist/session/context.js +155 -155
  575. package/dist/session/diff.js +90 -90
  576. package/dist/session/environment.js +5 -5
  577. package/dist/session/error.js +7 -7
  578. package/dist/session/event.js +1 -1
  579. package/dist/session/execution/restart.js +216 -216
  580. package/dist/session/execution.js +129 -129
  581. package/dist/session/generate.js +154 -154
  582. package/dist/session/history.js +15 -15
  583. package/dist/session/inbox.js +90 -90
  584. package/dist/session/info.js +3 -3
  585. package/dist/session/instruction-entry.js +79 -79
  586. package/dist/session/instruction-state.js +8 -8
  587. package/dist/session/instructions.js +99 -99
  588. package/dist/session/message-updater.js +2 -2
  589. package/dist/session/message.js +1 -1
  590. package/dist/session/model-request.js +122 -122
  591. package/dist/session/model-transport.js +9 -9
  592. package/dist/session/move.js +131 -131
  593. package/dist/session/projector.js +88 -88
  594. package/dist/session/prompt.js +107 -107
  595. package/dist/session/provider-context.js +3 -3
  596. package/dist/session/revert.js +92 -92
  597. package/dist/session/run-coordinator.js +3 -3
  598. package/dist/session/runner/index.js +3 -3
  599. package/dist/session/runner/llm.js +226 -226
  600. package/dist/session/runner/max-steps.js +1 -1
  601. package/dist/session/runner/model.js +100 -100
  602. package/dist/session/runner/publish-llm-event.js +115 -115
  603. package/dist/session/runner/retry.js +4 -4
  604. package/dist/session/runner/step.js +127 -127
  605. package/dist/session/runner/to-llm-message.js +2 -2
  606. package/dist/session/schema.js +5 -5
  607. package/dist/session/session.js +164 -164
  608. package/dist/session/shell.js +132 -132
  609. package/dist/session/skill.js +105 -105
  610. package/dist/session/sql.js +5 -5
  611. package/dist/session/stats.js +75 -75
  612. package/dist/session/store.js +87 -87
  613. package/dist/session/subagent-completion.js +1 -1
  614. package/dist/session/subagent-job.js +203 -203
  615. package/dist/session/system-prompt.js +1 -1
  616. package/dist/session/title.js +159 -159
  617. package/dist/session/to-session-error.js +113 -113
  618. package/dist/session/transfer.js +209 -209
  619. package/dist/session/usage.js +1 -1
  620. package/dist/session.js +213 -213
  621. package/dist/shell/parse.js +6 -6
  622. package/dist/shell/result.js +1 -1
  623. package/dist/shell/scan.js +1 -1
  624. package/dist/shell/select.js +9 -9
  625. package/dist/shell.js +134 -134
  626. package/dist/skill/discovery.js +6 -6
  627. package/dist/skill/instructions.js +107 -107
  628. package/dist/skill.js +108 -108
  629. package/dist/snapshot.js +95 -95
  630. package/dist/state.js +1 -1
  631. package/dist/tool/html-markdown.js +1 -1
  632. package/dist/tool/http-body.js +1 -1
  633. package/dist/tool/mcp.js +122 -122
  634. package/dist/tool/plugin/edit.js +122 -122
  635. package/dist/tool/plugin/file-diff.js +1 -1
  636. package/dist/tool/plugin/glob.js +124 -124
  637. package/dist/tool/plugin/grep.js +124 -124
  638. package/dist/tool/plugin/mcp-resource.js +119 -119
  639. package/dist/tool/plugin/opencode.js +111 -111
  640. package/dist/tool/plugin/patch.js +124 -124
  641. package/dist/tool/plugin/question.js +105 -105
  642. package/dist/tool/plugin/read.js +127 -127
  643. package/dist/tool/plugin/shell.js +212 -212
  644. package/dist/tool/plugin/skill.js +113 -113
  645. package/dist/tool/plugin/subagent.js +214 -214
  646. package/dist/tool/plugin/webfetch.js +114 -114
  647. package/dist/tool/plugin/websearch.js +116 -116
  648. package/dist/tool/plugin/write.js +124 -124
  649. package/dist/tool/read-filesystem.js +102 -102
  650. package/dist/tool/runtime.js +1 -1
  651. package/dist/tool-output.js +7 -7
  652. package/dist/tool.js +16 -16
  653. package/dist/types/plugin/provider/azure.d.ts +2 -3
  654. package/dist/types/v1/config/migrate.d.ts +9 -3
  655. package/dist/types/v1/config/provider-options.d.ts +8 -0
  656. package/dist/util/error-summary.js +1 -1
  657. package/dist/util/error.js +1 -1
  658. package/dist/util/git-executable.js +2 -2
  659. package/dist/util/iife.js +1 -1
  660. package/dist/util/lazy.js +1 -1
  661. package/dist/util/slug.js +1 -1
  662. package/dist/util/token.js +1 -1
  663. package/dist/util/which.js +1 -1
  664. package/dist/util/wildcard.js +1 -1
  665. package/dist/v1/config/agent.js +7 -7
  666. package/dist/v1/config/command.js +5 -5
  667. package/dist/v1/config/error.js +4 -4
  668. package/dist/v1/config/mcp.js +4 -4
  669. package/dist/v1/config/migrate.js +94 -94
  670. package/dist/v1/config/permission.js +7 -7
  671. package/dist/v1/config/plugin.js +1 -1
  672. package/dist/v1/config/provider-options.js +3 -1
  673. package/dist/v1/config/provider.js +4 -4
  674. package/dist/variant.js +93 -93
  675. package/dist/vcs/patch.js +1 -1
  676. package/dist/vcs.js +91 -91
  677. package/dist/websearch.js +86 -86
  678. package/dist/wellknown/plugin.js +78 -78
  679. package/dist/wellknown.js +79 -79
  680. package/dist/workspace/driver.js +7 -7
  681. package/dist/workspace/sql.js +1 -1
  682. package/dist/workspace.js +84 -84
  683. package/dist/worktree/directory.js +2 -2
  684. package/dist/worktree/git.js +10 -10
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree/strategies.js +91 -91
  687. package/dist/worktree.js +98 -98
  688. package/package.json +8 -8
  689. package/dist/chunks/mime-5r09gv9w.js +0 -26
  690. package/dist/chunks/mime-9sh4wc5j.js +0 -18
  691. package/dist/chunks/mime-aars6rd8.js +0 -253
  692. /package/dist/chunks/{mime-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{mime-0zkw76rk.js → command-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{mime-17cy0kzp.js → command-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{mime-1cnp2v09.js → command-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{mime-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
  697. /package/dist/chunks/{mime-24dcb14g.js → command-24dcb14g.js} +0 -0
  698. /package/dist/chunks/{mime-2710q6r3.js → command-2710q6r3.js} +0 -0
  699. /package/dist/chunks/{mime-2axfhc9x.js → command-2axfhc9x.js} +0 -0
  700. /package/dist/chunks/{mime-2bv980vf.js → command-2bv980vf.js} +0 -0
  701. /package/dist/chunks/{mime-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
  702. /package/dist/chunks/{mime-359p4xyc.js → command-359p4xyc.js} +0 -0
  703. /package/dist/chunks/{mime-3asan66x.js → command-3asan66x.js} +0 -0
  704. /package/dist/chunks/{mime-3t0ybcrp.js → command-3t0ybcrp.js} +0 -0
  705. /package/dist/chunks/{mime-3v8g72cx.js → command-3v8g72cx.js} +0 -0
  706. /package/dist/chunks/{mime-3wcehsnq.js → command-3wcehsnq.js} +0 -0
  707. /package/dist/chunks/{mime-43n2bw4t.js → command-43n2bw4t.js} +0 -0
  708. /package/dist/chunks/{mime-4knz6hnm.js → command-4knz6hnm.js} +0 -0
  709. /package/dist/chunks/{mime-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
  710. /package/dist/chunks/{mime-4y7fprxs.js → command-4y7fprxs.js} +0 -0
  711. /package/dist/chunks/{mime-53557ph1.js → command-53557ph1.js} +0 -0
  712. /package/dist/chunks/{mime-550bvhaj.js → command-550bvhaj.js} +0 -0
  713. /package/dist/chunks/{mime-6prwharc.js → command-6prwharc.js} +0 -0
  714. /package/dist/chunks/{mime-6q2bdcd1.js → command-6q2bdcd1.js} +0 -0
  715. /package/dist/chunks/{mime-7akdwqpd.js → command-7akdwqpd.js} +0 -0
  716. /package/dist/chunks/{mime-7m9af43g.js → command-7m9af43g.js} +0 -0
  717. /package/dist/chunks/{mime-822emrt2.js → command-822emrt2.js} +0 -0
  718. /package/dist/chunks/{mime-84wd9syh.js → command-84wd9syh.js} +0 -0
  719. /package/dist/chunks/{mime-88xbtdfr.js → command-88xbtdfr.js} +0 -0
  720. /package/dist/chunks/{mime-8n3pysct.js → command-8n3pysct.js} +0 -0
  721. /package/dist/chunks/{mime-8wj87zfr.js → command-8wj87zfr.js} +0 -0
  722. /package/dist/chunks/{mime-9a4afbnw.js → command-9a4afbnw.js} +0 -0
  723. /package/dist/chunks/{mime-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
  724. /package/dist/chunks/{mime-a6k6eb26.js → command-a6k6eb26.js} +0 -0
  725. /package/dist/chunks/{mime-af5trqkr.js → command-af5trqkr.js} +0 -0
  726. /package/dist/chunks/{mime-afrmfg78.js → command-afrmfg78.js} +0 -0
  727. /package/dist/chunks/{mime-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
  728. /package/dist/chunks/{mime-atq7p7m5.js → command-atq7p7m5.js} +0 -0
  729. /package/dist/chunks/{mime-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
  730. /package/dist/chunks/{mime-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
  731. /package/dist/chunks/{mime-bw78ga2c.js → command-bw78ga2c.js} +0 -0
  732. /package/dist/chunks/{mime-cf4snx6d.js → command-cf4snx6d.js} +0 -0
  733. /package/dist/chunks/{mime-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
  734. /package/dist/chunks/{mime-d9fn303g.js → command-d9fn303g.js} +0 -0
  735. /package/dist/chunks/{mime-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
  736. /package/dist/chunks/{mime-dajrwvna.js → command-dajrwvna.js} +0 -0
  737. /package/dist/chunks/{mime-dap0rakb.js → command-dap0rakb.js} +0 -0
  738. /package/dist/chunks/{mime-df08tz66.js → command-df08tz66.js} +0 -0
  739. /package/dist/chunks/{mime-dy18nga0.js → command-dy18nga0.js} +0 -0
  740. /package/dist/chunks/{mime-e5kj55wp.js → command-e5kj55wp.js} +0 -0
  741. /package/dist/chunks/{mime-e73j6tqm.js → command-e73j6tqm.js} +0 -0
  742. /package/dist/chunks/{mime-ec1grn59.js → command-ec1grn59.js} +0 -0
  743. /package/dist/chunks/{mime-eh3zwz77.js → command-eh3zwz77.js} +0 -0
  744. /package/dist/chunks/{mime-emrn6kk6.js → command-emrn6kk6.js} +0 -0
  745. /package/dist/chunks/{mime-f0mxakyp.js → command-f0mxakyp.js} +0 -0
  746. /package/dist/chunks/{mime-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
  747. /package/dist/chunks/{mime-faypxj3z.js → command-faypxj3z.js} +0 -0
  748. /package/dist/chunks/{mime-fd410y7t.js → command-fd410y7t.js} +0 -0
  749. /package/dist/chunks/{mime-g4wezp1m.js → command-g4wezp1m.js} +0 -0
  750. /package/dist/chunks/{mime-g86h250q.js → command-g86h250q.js} +0 -0
  751. /package/dist/chunks/{mime-gebd4c9n.js → command-gebd4c9n.js} +0 -0
  752. /package/dist/chunks/{mime-gftt206x.js → command-gftt206x.js} +0 -0
  753. /package/dist/chunks/{mime-hk9envan.js → command-hk9envan.js} +0 -0
  754. /package/dist/chunks/{mime-j2ntwpah.js → command-j2ntwpah.js} +0 -0
  755. /package/dist/chunks/{mime-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
  756. /package/dist/chunks/{mime-jjkms2e6.js → command-jjkms2e6.js} +0 -0
  757. /package/dist/chunks/{mime-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
  758. /package/dist/chunks/{mime-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
  759. /package/dist/chunks/{mime-jze0r7bz.js → command-jze0r7bz.js} +0 -0
  760. /package/dist/chunks/{mime-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
  761. /package/dist/chunks/{mime-m18g726c.js → command-m18g726c.js} +0 -0
  762. /package/dist/chunks/{mime-mp448xyj.js → command-mp448xyj.js} +0 -0
  763. /package/dist/chunks/{mime-msx8hqn2.js → command-msx8hqn2.js} +0 -0
  764. /package/dist/chunks/{mime-n05xt0ee.js → command-n05xt0ee.js} +0 -0
  765. /package/dist/chunks/{mime-n3j8tn72.js → command-n3j8tn72.js} +0 -0
  766. /package/dist/chunks/{mime-njntx4h6.js → command-njntx4h6.js} +0 -0
  767. /package/dist/chunks/{mime-pkyv6v7h.js → command-pkyv6v7h.js} +0 -0
  768. /package/dist/chunks/{mime-pyv0edze.js → command-pyv0edze.js} +0 -0
  769. /package/dist/chunks/{mime-q3sfg36h.js → command-q3sfg36h.js} +0 -0
  770. /package/dist/chunks/{mime-q74kybfr.js → command-q74kybfr.js} +0 -0
  771. /package/dist/chunks/{mime-qaymkmh1.js → command-qaymkmh1.js} +0 -0
  772. /package/dist/chunks/{mime-qb87gjwd.js → command-qb87gjwd.js} +0 -0
  773. /package/dist/chunks/{mime-qfa1cgps.js → command-qfa1cgps.js} +0 -0
  774. /package/dist/chunks/{mime-qg3g05ea.js → command-qg3g05ea.js} +0 -0
  775. /package/dist/chunks/{mime-qrg20bc0.js → command-qrg20bc0.js} +0 -0
  776. /package/dist/chunks/{mime-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
  777. /package/dist/chunks/{mime-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
  778. /package/dist/chunks/{mime-ssg3fenm.js → command-ssg3fenm.js} +0 -0
  779. /package/dist/chunks/{mime-ve7vex1e.js → command-ve7vex1e.js} +0 -0
  780. /package/dist/chunks/{mime-w803qqfp.js → command-w803qqfp.js} +0 -0
  781. /package/dist/chunks/{mime-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
  782. /package/dist/chunks/{mime-wer8tq1h.js → command-wer8tq1h.js} +0 -0
  783. /package/dist/chunks/{mime-wtztk69x.js → command-wtztk69x.js} +0 -0
  784. /package/dist/chunks/{mime-x0ckcb58.js → command-x0ckcb58.js} +0 -0
  785. /package/dist/chunks/{mime-x61499pn.js → command-x61499pn.js} +0 -0
  786. /package/dist/chunks/{mime-y44na4kk.js → command-y44na4kk.js} +0 -0
  787. /package/dist/chunks/{mime-y8f7s663.js → command-y8f7s663.js} +0 -0
  788. /package/dist/chunks/{mime-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
  789. /package/dist/chunks/{mime-ym463w8f.js → command-ym463w8f.js} +0 -0
  790. /package/dist/chunks/{mime-z5v4ffb3.js → command-z5v4ffb3.js} +0 -0
  791. /package/dist/chunks/{mime-z9919s4g.js → command-z9919s4g.js} +0 -0
@@ -1,60 +1,60 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./mime-dpkg50ah.js";
3
+ } from "./command-y71avatq.js";
4
4
  import {
5
5
  Service84,
6
6
  node88
7
- } from "./mime-p75g0t75.js";
7
+ } from "./command-b4fmh4gz.js";
8
8
  import {
9
- Event19,
10
- Service79,
11
- node83
12
- } from "./mime-ft8f0j73.js";
9
+ Event16,
10
+ Service70,
11
+ node74
12
+ } from "./command-wh1armcy.js";
13
13
  import {
14
14
  Service81,
15
15
  node85
16
- } from "./mime-r9gmq3a3.js";
16
+ } from "./command-x4e9fr25.js";
17
17
  import {
18
- Service50,
19
- node53
20
- } from "./mime-q4eqpz6z.js";
18
+ Service53,
19
+ node57
20
+ } from "./command-zq51jzx2.js";
21
21
  import {
22
22
  ID16,
23
23
  Service80,
24
24
  node84
25
- } from "./mime-s674p844.js";
25
+ } from "./command-zyfyd078.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./mime-rdw6cm16.js";
29
+ } from "./command-rdw6cm16.js";
30
30
  import {
31
- ID14,
31
+ ID10,
32
32
  MethodID2,
33
- Service78,
34
- node82
35
- } from "./mime-2eqf98j4.js";
33
+ Service69,
34
+ node73
35
+ } from "./command-zc7432er.js";
36
36
  import {
37
37
  __export
38
- } from "./mime-9rqn6x4v.js";
38
+ } from "./command-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: () => NotFoundError4,
45
+ Options: () => Options4,
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: () => Service36,
52
+ Service: () => Service31,
53
53
  Status: () => Status2,
54
54
  ToolCallError: () => ToolCallError2,
55
- configured: () => configured5,
55
+ configured: () => configured4,
56
56
  layer: () => layer16,
57
- node: () => node39
57
+ node: () => node34
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 NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
75
+ class NotFoundError4 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 Service36 extends Context.Service()("@opencode/MCP") {
106
+ class Service31 extends Context.Service()("@opencode/MCP") {
107
107
  }
108
- var Options5 = Schema.Struct({
108
+ var Options4 = 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(Service36, Effect.gen(function* () {
114
+ var layer16 = (options) => Layer.effect(Service31, Effect.gen(function* () {
115
115
  const location = yield* Service81;
116
- const environment = yield* Service50;
116
+ const environment = yield* Service53;
117
117
  const bus = yield* Service84;
118
118
  const forms = yield* Service80;
119
- const integration = yield* Service78;
120
- const credentials = yield* Service79;
119
+ const integration = yield* Service69;
120
+ const credentials = yield* Service70;
121
121
  const root = yield* Effect.scope;
122
122
  const fork = yield* FiberSet.makeRuntime();
123
123
  const entries = new Map;
@@ -129,7 +129,7 @@ var layer16 = (options) => Layer.effect(Service36, Effect.gen(function* () {
129
129
  return;
130
130
  const remote = entry.config;
131
131
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
132
- const integrationID = ID14.make(suffix);
132
+ const integrationID = ID10.make(suffix);
133
133
  entry.integrationID = integrationID;
134
134
  owned.add(integrationID);
135
135
  const methodID = MethodID2.make(suffix);
@@ -145,7 +145,7 @@ var layer16 = (options) => Layer.effect(Service36, 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(Service79, credentials));
148
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service70, credentials));
149
149
  })
150
150
  });
151
151
  }).pipe(Scope.provide(scope));
@@ -154,14 +154,14 @@ var layer16 = (options) => Layer.effect(Service36, Effect.gen(function* () {
154
154
  const name = ServerName2.make(server);
155
155
  const entry = entries.get(name);
156
156
  if (!entry)
157
- return yield* new NotFoundError5({ server: name });
157
+ return yield* new NotFoundError4({ server: name });
158
158
  return { name, entry };
159
159
  });
160
160
  const connectProvider = Effect.fnUntraced(function* (entry) {
161
161
  if (entry.config.type !== "remote" || !entry.integrationID)
162
162
  return;
163
163
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
164
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service79, credentials));
164
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service70, credentials));
165
165
  });
166
166
  const elicitation = {
167
167
  create: (input) => Effect.gen(function* () {
@@ -269,7 +269,7 @@ var layer16 = (options) => Layer.effect(Service36, Effect.gen(function* () {
269
269
  entry.scope = scope;
270
270
  const authProvider = yield* connectProvider(entry);
271
271
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
272
- 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(Service50, environment), Scope.provide(scope));
272
+ 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(Service53, environment), Scope.provide(scope));
273
273
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
274
274
  if (Exit.isSuccess(result)) {
275
275
  entry.client = result.value.connection;
@@ -394,7 +394,7 @@ var layer16 = (options) => Layer.effect(Service36, Effect.gen(function* () {
394
394
  yield* startServer(name, entry);
395
395
  }).pipe(locks.withLock(name));
396
396
  });
397
- fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
397
+ fork(bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
398
398
  const state = create3({
399
399
  name: "mcp",
400
400
  initial: () => ({
@@ -420,7 +420,7 @@ var layer16 = (options) => Layer.effect(Service36, Effect.gen(function* () {
420
420
  }),
421
421
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
422
422
  });
423
- return Service36.of({
423
+ return Service31.of({
424
424
  transform: state.transform,
425
425
  reload: state.reload,
426
426
  servers: Effect.fn("MCP.servers")(function* () {
@@ -530,14 +530,14 @@ function mergeCatalogs(catalogs) {
530
530
  templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
531
531
  });
532
532
  }
533
- function configured5(options) {
533
+ function configured4(options) {
534
534
  return makeLocationNode({
535
- service: Service36,
535
+ service: Service31,
536
536
  layer: layer16(options),
537
- deps: [node85, node53, node88, node84, node82, node83]
537
+ deps: [node85, node57, node88, node84, node73, node74]
538
538
  });
539
539
  }
540
- var node39 = configured5();
540
+ var node34 = configured4();
541
541
  function toElicitationField(key, property, required) {
542
542
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
543
543
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
588
588
  }
589
589
  }
590
590
 
591
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2, Service36, Options5, layer16, configured5, node39, exports_mcp4 };
591
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service31, Options4, layer16, configured4, node34, exports_mcp4 };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./mime-p75g0t75.js";
4
+ } from "./command-b4fmh4gz.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./mime-tazgh4e4.js";
9
+ } from "./command-tazgh4e4.js";
10
10
  import {
11
11
  root2
12
- } from "./mime-z2tkkdyw.js";
12
+ } from "./command-0r9t40ws.js";
13
13
  import {
14
14
  Service81,
15
15
  node85
16
- } from "./mime-r9gmq3a3.js";
16
+ } from "./command-x4e9fr25.js";
17
17
  import {
18
18
  reconcile2,
19
19
  create3
20
- } from "./mime-rdw6cm16.js";
20
+ } from "./command-rdw6cm16.js";
21
21
  import {
22
22
  __export
23
- } from "./mime-9rqn6x4v.js";
23
+ } from "./command-9rqn6x4v.js";
24
24
 
25
25
  // src/vcs.ts
26
26
  var exports_vcs = {};
@@ -29,18 +29,18 @@ __export(exports_vcs, {
29
29
  BranchList: () => BranchList2,
30
30
  DiffError: () => DiffError2,
31
31
  FileStatus: () => FileStatus2,
32
- Info: () => Info7,
32
+ Info: () => Info6,
33
33
  InitializeError: () => InitializeError2,
34
34
  Mode: () => Mode2,
35
- Service: () => Service48,
35
+ Service: () => Service39,
36
36
  Vcs: () => exports_vcs,
37
- node: () => node51
37
+ node: () => node42
38
38
  });
39
39
  import path from "path";
40
40
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
41
41
  import { FileDiff } from "@opencode/schema/file-diff";
42
42
  import { FileSystem } from "@opencode/schema/filesystem";
43
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info7, Mode as Mode2 } from "@opencode/schema/vcs";
43
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info6, Mode as Mode2 } from "@opencode/schema/vcs";
44
44
  import { VcsEvent } from "@opencode/schema/vcs-event";
45
45
  import { makeLocationNode } from "@opencode/util/effect/app-node";
46
46
  import { FSUtil } from "@opencode/util/fs-util";
@@ -54,9 +54,9 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
54
54
  }) {
55
55
  }
56
56
 
57
- class Service48 extends Context.Service()("@opencode/Vcs") {
57
+ class Service39 extends Context.Service()("@opencode/Vcs") {
58
58
  }
59
- var layer = Layer.effect(Service48, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service39, Effect.gen(function* () {
60
60
  const fs = yield* FSUtil.Service;
61
61
  const location = yield* Service81;
62
62
  const bus = yield* Service84;
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
71
71
  canonical: location.project.canonical,
72
72
  ...vcs ? { store: vcs.store } : {}
73
73
  };
74
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info7));
74
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info6));
75
75
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
76
76
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
77
77
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
129
129
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
130
130
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
131
131
  }
132
- return Service48.of({
132
+ return Service39.of({
133
133
  transform: state.transform,
134
134
  reload: state.reload,
135
135
  initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
187
187
  })
188
188
  });
189
189
  }));
190
- var node51 = makeLocationNode({
191
- service: Service48,
190
+ var node42 = makeLocationNode({
191
+ service: Service39,
192
192
  layer,
193
193
  deps: [FSUtil.node, node85, node88]
194
194
  });
195
195
 
196
- export { Base2, BranchList2, FileStatus2, Info7, Mode2, DiffError2, InitializeError2, Service48, node51, exports_vcs };
196
+ export { Base2, BranchList2, FileStatus2, Info6, Mode2, DiffError2, InitializeError2, Service39, node42, exports_vcs };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./mime-z5v4ffb3.js";
3
+ } from "./command-z5v4ffb3.js";
4
4
  import {
5
5
  latest2,
6
- Service64
7
- } from "./mime-fg20npmb.js";
6
+ Service54
7
+ } from "./command-bz4h3gj4.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./mime-hgz4x7wa.js";
10
+ } from "./command-hgz4x7wa.js";
11
11
  import {
12
- Service50
13
- } from "./mime-q4eqpz6z.js";
12
+ Service53
13
+ } from "./command-zq51jzx2.js";
14
14
  import {
15
- Service57
16
- } from "./mime-t0czkw58.js";
15
+ Service63
16
+ } from "./command-8dmft94a.js";
17
17
  import {
18
- Service58
19
- } from "./mime-ztkjbas2.js";
18
+ Service75
19
+ } from "./command-vdwvtvgk.js";
20
20
  import {
21
- Service19,
21
+ Service14,
22
22
  resolvePath2
23
- } from "./mime-f8wv18vk.js";
23
+ } from "./command-9ygwj23r.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./mime-vzs5sf6e.js";
29
+ } from "./command-vzs5sf6e.js";
30
30
  import {
31
- Service43,
31
+ Service52,
32
32
  name15
33
- } from "./mime-p167xd9m.js";
33
+ } from "./command-hzs77mdg.js";
34
34
  import {
35
- NotFoundError6,
36
- Service41
37
- } from "./mime-4b2pdyzr.js";
35
+ NotFoundError7,
36
+ Service49
37
+ } from "./command-z4zmw5wd.js";
38
38
  import {
39
- Service27
40
- } from "./mime-yvd3xmh6.js";
39
+ Service21
40
+ } from "./command-cccett8t.js";
41
41
  import {
42
42
  scan2
43
- } from "./mime-wj4ga3q8.js";
43
+ } from "./command-0yz1bb5z.js";
44
44
  import {
45
45
  __export
46
- } from "./mime-9rqn6x4v.js";
46
+ } from "./command-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell = {};
50
- __export(exports_shell, {
49
+ var exports_shell2 = {};
50
+ __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input2,
53
- Plugin: () => Plugin3,
54
- ShellTool: () => exports_shell,
55
- name: () => name2
52
+ Input: () => Input12,
53
+ Plugin: () => Plugin48,
54
+ ShellTool: () => exports_shell2,
55
+ name: () => name12
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
59
  import { shellParserWasm } from "#shell-parser-wasm";
60
- var name2 = "shell";
60
+ var name12 = "shell";
61
61
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
62
62
  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.";
63
63
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -71,7 +71,7 @@ var description = (shell) => [
71
71
  "Commands accept an optional timeout, background commands have no timeout by default.",
72
72
  "Background commands return immediately, and you will be notified when they complete."
73
73
  ].join(" ");
74
- var Input2 = Schema.Struct({
74
+ var Input12 = Schema.Struct({
75
75
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
76
76
  workdir: Schema.optionalKey(Schema.String).annotate({
77
77
  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."
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
117
117
  truncated: false,
118
118
  status: "running"
119
119
  });
120
- var Plugin3 = {
120
+ var Plugin48 = {
121
121
  id: "opencode.tool.shell",
122
122
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
123
- const sessions = yield* Service27;
124
- const jobs = yield* Service57;
123
+ const sessions = yield* Service21;
124
+ const jobs = yield* Service63;
125
125
  const scope = yield* Scope.Scope;
126
- const environment = yield* Service50;
127
- const access = yield* Service19;
128
- const shell = yield* Service41;
129
- const shellSelect = yield* Service43;
126
+ const environment = yield* Service53;
127
+ const access = yield* Service14;
128
+ const shell = yield* Service49;
129
+ const shellSelect = yield* Service52;
130
130
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
131
- const permission = yield* Service58;
132
- const config = yield* Service64;
131
+ const permission = yield* Service75;
132
+ const config = yield* Service54;
133
133
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
134
134
  const source = {
135
135
  type: "tool",
@@ -148,7 +148,7 @@ var Plugin3 = {
148
148
  yield* access.authorizeExternal([target, ...directories], context);
149
149
  if (parsed.commands.length > 0)
150
150
  yield* permission.assert({
151
- action: name2,
151
+ action: name12,
152
152
  resources: parsed.commands.map((command) => command.resource),
153
153
  save: parsed.commands.map((command) => command.save),
154
154
  sessionID: context.sessionID,
@@ -185,10 +185,10 @@ var Plugin3 = {
185
185
  yield* jobs.completeBackground(info.notificationID);
186
186
  }, Effect.forkIn(scope, { startImmediately: true }));
187
187
  yield* ctx.tool.transform((editor) => editor.add({
188
- name: name2,
188
+ name: name12,
189
189
  options: { codemode: false },
190
190
  description: description(),
191
- input: Input2,
191
+ input: Input12,
192
192
  output: Output,
193
193
  execute: (input, context) => Effect.gen(function* () {
194
194
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -211,7 +211,7 @@ var Plugin3 = {
211
211
  const run = Effect.gen(function* () {
212
212
  const result = yield* shell.result(info);
213
213
  if (!result.capture)
214
- return yield* new NotFoundError6({ id: info.id });
214
+ return yield* new NotFoundError7({ id: info.id });
215
215
  const output = output2(result);
216
216
  return {
217
217
  ...output,
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
225
225
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
226
226
  const job = yield* jobs.start({
227
227
  id: info.id,
228
- type: name2,
228
+ type: name12,
229
229
  title: info.command,
230
230
  metadata: { sessionID: context.sessionID, shellID: info.id },
231
231
  recovery: {
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
255
255
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
256
256
  })).pipe(Effect.orDie);
257
257
  const hook = (event) => Effect.gen(function* () {
258
- const tool = event.tools[name2];
258
+ const tool = event.tools[name12];
259
259
  if (!tool)
260
260
  return;
261
261
  tool.description = description(name15(yield* compatibleShell));
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
266
266
  })
267
267
  };
268
268
 
269
- export { name2, DEFAULT_TIMEOUT_MS2, Input2, Plugin3, exports_shell };
269
+ export { name12, DEFAULT_TIMEOUT_MS2, Input12, Plugin48, exports_shell2 };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./mime-z5v4ffb3.js";
3
+ } from "./command-z5v4ffb3.js";
4
4
  import {
5
5
  Service81,
6
6
  node85
7
- } from "./mime-r9gmq3a3.js";
7
+ } from "./command-x4e9fr25.js";
8
8
  import {
9
- Service22,
10
- node24
11
- } from "./mime-nyq6zjbq.js";
9
+ Service44,
10
+ node47
11
+ } from "./command-wkrrhx1g.js";
12
12
  import {
13
13
  isHome2,
14
14
  names3
15
- } from "./mime-tcezcvh9.js";
15
+ } from "./command-tcezcvh9.js";
16
16
  import {
17
17
  __export
18
- } from "./mime-9rqn6x4v.js";
18
+ } from "./command-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
- Options: () => Options3,
25
- Service: () => Service21,
26
- configured: () => configured3,
24
+ Options: () => Options5,
25
+ Service: () => Service43,
26
+ configured: () => configured5,
27
27
  fffLayer: () => fffLayer2,
28
- layer: () => layer11,
29
- node: () => node23,
28
+ layer: () => layer17,
29
+ node: () => node46,
30
30
  ripgrepLayer: () => ripgrepLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
35
35
  import { Fff } from "#fff";
36
36
  import fuzzysort from "fuzzysort";
37
37
  import { FileSystem } from "@opencode/schema/filesystem";
38
- var Options3 = Schema.Struct({
38
+ var Options5 = Schema.Struct({
39
39
  fff: Schema.optional(Schema.Boolean)
40
40
  });
41
41
 
42
- class Service21 extends Context.Service()("@opencode/FileSystem/Search") {
42
+ class Service43 extends Context.Service()("@opencode/FileSystem/Search") {
43
43
  }
44
44
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
45
45
  function emptyIndex() {
@@ -58,9 +58,9 @@ function search(index, input) {
58
58
  });
59
59
  });
60
60
  }
61
- var ripgrepLayer2 = Layer.effect(Service21, Effect.gen(function* () {
61
+ var ripgrepLayer2 = Layer.effect(Service43, Effect.gen(function* () {
62
62
  const location = yield* Service81;
63
- const ripgrep = yield* Service22;
63
+ const ripgrep = yield* Service44;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -105,14 +105,14 @@ var ripgrepLayer2 = Layer.effect(Service21, Effect.gen(function* () {
105
105
  Deferred.doneUnsafe(attempt, exit);
106
106
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
107
107
  });
108
- return Service21.of({
108
+ return Service43.of({
109
109
  find: (input) => Effect.gen(function* () {
110
110
  yield* refresh;
111
111
  return search(index, input);
112
112
  })
113
113
  });
114
114
  }));
115
- var fffLayer2 = Layer.effect(Service21, Effect.gen(function* () {
115
+ var fffLayer2 = Layer.effect(Service43, Effect.gen(function* () {
116
116
  const location = yield* Service81;
117
117
  const result = yield* Effect.try({
118
118
  try: () => Fff.create({
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service21, Effect.gen(function* () {
126
126
  if (!result?.ok) {
127
127
  if (result)
128
128
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
129
- return Service21.of({
129
+ return Service43.of({
130
130
  find: () => Effect.succeed([])
131
131
  });
132
132
  }
133
133
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
134
- return Service21.of({
134
+ return Service43.of({
135
135
  find: (input) => Effect.sync(() => {
136
136
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
137
137
  const items = (() => {
@@ -174,7 +174,7 @@ var fffLayer2 = Layer.effect(Service21, Effect.gen(function* () {
174
174
  })
175
175
  });
176
176
  }));
177
- var layer11 = (options) => Layer.unwrap(Effect.gen(function* () {
177
+ var layer17 = (options) => Layer.unwrap(Effect.gen(function* () {
178
178
  const location = yield* Service81;
179
179
  if (location.workspaceID)
180
180
  return ripgrepLayer2;
@@ -182,9 +182,9 @@ var layer11 = (options) => Layer.unwrap(Effect.gen(function* () {
182
182
  return ripgrepLayer2;
183
183
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
184
184
  }));
185
- function configured3(options) {
186
- return makeLocationNode({ service: Service21, layer: layer11(options), deps: [node85, node24] });
185
+ function configured5(options) {
186
+ return makeLocationNode({ service: Service43, layer: layer17(options), deps: [node85, node47] });
187
187
  }
188
- var node23 = configured3();
188
+ var node46 = configured5();
189
189
 
190
- export { Options3, Service21, ripgrepLayer2, fffLayer2, layer11, configured3, node23, exports_search };
190
+ export { Options5, Service43, ripgrepLayer2, fffLayer2, layer17, configured5, node46, exports_search };