@opencode/core 0.0.0-dev-20092 → 0.0.0-dev-20097

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 (800) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{form-eaj1djv9.js → agent-02nrjc1r.js} +4 -4
  8. package/dist/chunks/{form-h71w788e.js → agent-0996nyz8.js} +9 -9
  9. package/dist/chunks/{form-607tc6va.js → agent-0jwsre1p.js} +5 -5
  10. package/dist/chunks/{form-0paq2nw3.js → agent-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{form-eq0p2d4m.js → agent-0x0enb5q.js} +9 -9
  12. package/dist/chunks/{form-8mhxxeg4.js → agent-0yxqwdtr.js} +43 -43
  13. package/dist/chunks/{form-r60dvb0d.js → agent-10xd58z0.js} +3 -3
  14. package/dist/chunks/{form-fpxnyzjx.js → agent-180z65gf.js} +26 -26
  15. package/dist/chunks/{form-258tza17.js → agent-187249xp.js} +8 -8
  16. package/dist/chunks/{form-pj28zw9r.js → agent-195jkryp.js} +25 -25
  17. package/dist/chunks/{form-1dazxqgg.js → agent-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{form-08p0mrxa.js → agent-1jdf3fxk.js} +11 -11
  19. package/dist/chunks/{form-a59zsbk6.js → agent-1qmbbwgh.js} +326 -326
  20. package/dist/chunks/{form-2m0d8rb6.js → agent-1t756eex.js} +10 -10
  21. package/dist/chunks/{form-bt22nkjp.js → agent-207sxyyq.js} +7 -7
  22. package/dist/chunks/{form-21r38tys.js → agent-21r38tys.js} +1 -1
  23. package/dist/chunks/{form-2402vzrj.js → agent-2402vzrj.js} +1 -1
  24. package/dist/chunks/{form-jw5517n6.js → agent-27eedk78.js} +29 -29
  25. package/dist/chunks/{form-2a5m3afh.js → agent-2a5m3afh.js} +1 -1
  26. package/dist/chunks/{form-dntrgzg4.js → agent-2h5wpswp.js} +13 -13
  27. package/dist/chunks/{form-kykdcbq0.js → agent-2pn7pm4n.js} +50 -50
  28. package/dist/chunks/{form-3e35s4mq.js → agent-2q5q7rph.js} +20 -20
  29. package/dist/chunks/{form-tae84zs9.js → agent-2v3kphkq.js} +7 -7
  30. package/dist/chunks/{form-c78bbtc9.js → agent-37s12vcn.js} +5 -5
  31. package/dist/chunks/{form-xk7cfvv2.js → agent-3dwfd5y2.js} +8 -8
  32. package/dist/chunks/{form-g912tqdn.js → agent-3f7398v7.js} +20 -20
  33. package/dist/chunks/{form-3fc6dm20.js → agent-3fc6dm20.js} +1 -1
  34. package/dist/chunks/{form-3hepkmqq.js → agent-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{form-494w821z.js → agent-3jy1139n.js} +35 -35
  36. package/dist/chunks/{form-5dj1xsep.js → agent-3mmdgdjj.js} +3 -3
  37. package/dist/chunks/{form-3smtnn6g.js → agent-3smtnn6g.js} +1 -1
  38. package/dist/chunks/{form-51gpa1xv.js → agent-3tnqn7ww.js} +11 -11
  39. package/dist/chunks/{form-3tvqynh2.js → agent-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{form-mwez6v5w.js → agent-3vsgk2p7.js} +11 -11
  41. package/dist/chunks/{form-byssvj29.js → agent-3zjyq5kp.js} +6 -6
  42. package/dist/chunks/{form-3zsf4n22.js → agent-3zsf4n22.js} +1 -1
  43. package/dist/chunks/{form-x2awn7t1.js → agent-40c61p32.js} +24 -24
  44. package/dist/chunks/{form-rqcygfwd.js → agent-433eb07g.js} +5 -5
  45. package/dist/chunks/{form-48wk2ymj.js → agent-4378a0hc.js} +10 -10
  46. package/dist/chunks/{form-zrfbtdf7.js → agent-439r14a2.js} +11 -11
  47. package/dist/chunks/{form-n2srvep7.js → agent-4bm5ja14.js} +4 -4
  48. package/dist/chunks/{form-s2hgmt76.js → agent-4snp72qp.js} +25 -25
  49. package/dist/chunks/{form-mgmaefw5.js → agent-4tb9kxn6.js} +6 -6
  50. package/dist/chunks/{form-140rqsbt.js → agent-4vtve4mp.js} +2 -2
  51. package/dist/chunks/{form-8jgpxt85.js → agent-4yxx405s.js} +24 -24
  52. package/dist/chunks/{form-g190xswt.js → agent-50mzsvk4.js} +4 -4
  53. package/dist/chunks/{form-mfqp6xfm.js → agent-56gdpj1q.js} +6 -6
  54. package/dist/chunks/{form-57ez7d0k.js → agent-57ez7d0k.js} +2 -2
  55. package/dist/chunks/{form-ymvhzfzq.js → agent-5cr33wy9.js} +22 -22
  56. package/dist/chunks/{form-5daktx2q.js → agent-5daktx2q.js} +1 -1
  57. package/dist/chunks/{form-5ekn9679.js → agent-5ekn9679.js} +1 -1
  58. package/dist/chunks/{form-mbma4yh7.js → agent-5gs1xt34.js} +13 -13
  59. package/dist/chunks/{form-qap0fdgx.js → agent-5j37ws3e.js} +30 -26
  60. package/dist/chunks/{form-b1vvvnp6.js → agent-5kdwdsfr.js} +11 -11
  61. package/dist/chunks/{form-ejtaj14a.js → agent-5q306sn2.js} +4 -4
  62. package/dist/chunks/{form-5t3nmthw.js → agent-5t3nmthw.js} +2 -2
  63. package/dist/chunks/{form-e74wffys.js → agent-5v30z6ja.js} +27 -27
  64. package/dist/chunks/{form-m7dsxs5s.js → agent-5w978569.js} +81 -81
  65. package/dist/chunks/{form-h7tbdw6f.js → agent-5z7c0ntw.js} +17 -17
  66. package/dist/chunks/{form-spbewqtm.js → agent-61xdzkjd.js} +9 -9
  67. package/dist/chunks/{form-669tq793.js → agent-669tq793.js} +1 -1
  68. package/dist/chunks/{form-6g3qzat6.js → agent-6eezz40m.js} +3 -3
  69. package/dist/chunks/{form-m2sbdswz.js → agent-6fkaw2xz.js} +8 -8
  70. package/dist/chunks/agent-6kdq0pjd.js +4 -0
  71. package/dist/chunks/{form-6msgmcgs.js → agent-6msgmcgs.js} +1 -1
  72. package/dist/chunks/{form-78eghtzp.js → agent-6qckwf5w.js} +47 -47
  73. package/dist/chunks/{form-z4qtbdmm.js → agent-6xscy18h.js} +24 -24
  74. package/dist/chunks/{form-vr6tcf4m.js → agent-71wjg4kw.js} +2 -2
  75. package/dist/chunks/{form-c2y24p2y.js → agent-75ftyfa0.js} +16 -16
  76. package/dist/chunks/{form-7bmhse3q.js → agent-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{form-fgepna9y.js → agent-7hgr463c.js} +5 -5
  78. package/dist/chunks/{form-as6bcte4.js → agent-7k9dqqsg.js} +25 -25
  79. package/dist/chunks/{form-z8xsvp2p.js → agent-7ksjx2k2.js} +46 -46
  80. package/dist/chunks/{form-tcezcvh9.js → agent-89znhe33.js} +4 -4
  81. package/dist/chunks/{form-8d7r5vzw.js → agent-8d7r5vzw.js} +1 -1
  82. package/dist/chunks/{form-0hdrvdsw.js → agent-8ek8aczr.js} +13 -13
  83. package/dist/chunks/{form-dgnytp49.js → agent-8hhx35dq.js} +4 -4
  84. package/dist/chunks/{form-ekdnc1t3.js → agent-8j3kf1eb.js} +27 -27
  85. package/dist/chunks/{form-m1de2ch9.js → agent-8qtvggd8.js} +17 -17
  86. package/dist/chunks/{form-tvkgnt5p.js → agent-8s95nyqa.js} +5 -5
  87. package/dist/chunks/{form-5xtgfte3.js → agent-8v6pyhej.js} +8 -8
  88. package/dist/chunks/{form-cr7r8nac.js → agent-8vggh432.js} +15 -15
  89. package/dist/chunks/{form-ex3azxtp.js → agent-8vkkgngr.js} +6 -6
  90. package/dist/chunks/{form-m9r59bp6.js → agent-8yfag9w4.js} +11 -11
  91. package/dist/chunks/{form-6av2z5d4.js → agent-8zmehegn.js} +23 -23
  92. package/dist/chunks/{form-gfvb90ym.js → agent-94ek1h2f.js} +2 -2
  93. package/dist/chunks/{form-1cn7k6zr.js → agent-95n9ta3s.js} +3 -3
  94. package/dist/chunks/{form-jrswvxaf.js → agent-95sbn98w.js} +11 -11
  95. package/dist/chunks/{form-ba4w6g48.js → agent-96r286zg.js} +12 -12
  96. package/dist/chunks/{form-51re7bcp.js → agent-970zzb99.js} +11 -11
  97. package/dist/chunks/{form-sbnznnja.js → agent-974apvmy.js} +37 -37
  98. package/dist/chunks/{form-kskjmaqs.js → agent-97mkmtmd.js} +29 -29
  99. package/dist/chunks/{form-38gc11f3.js → agent-98mydvev.js} +33 -33
  100. package/dist/chunks/{form-zjdabrpw.js → agent-9gnd804a.js} +35 -35
  101. package/dist/chunks/{form-p87g5rtv.js → agent-9jddndyh.js} +45 -45
  102. package/dist/chunks/{form-v3zyw3t1.js → agent-9p3rp546.js} +8 -8
  103. package/dist/chunks/{form-gm4kvx4x.js → agent-9pswe2t8.js} +23 -23
  104. package/dist/chunks/{form-ftf41wa5.js → agent-9pw8sy2q.js} +2 -2
  105. package/dist/chunks/{form-nmyrfs22.js → agent-9wwn998v.js} +174 -174
  106. package/dist/chunks/{form-d7vwcxj8.js → agent-9y90ydfh.js} +17 -17
  107. package/dist/chunks/{form-9zdhvgqs.js → agent-9zdhvgqs.js} +1 -1
  108. package/dist/chunks/{form-5e81w77y.js → agent-a12t2k2w.js} +16 -16
  109. package/dist/chunks/{form-s8zy8myc.js → agent-a1a50ys5.js} +5 -5
  110. package/dist/chunks/{form-atbxxdgy.js → agent-a8mfdbqj.js} +3 -3
  111. package/dist/chunks/{form-aaet6srn.js → agent-aaet6srn.js} +2 -2
  112. package/dist/chunks/{form-14zkycxn.js → agent-aat21nqc.js} +13 -13
  113. package/dist/chunks/{form-yrkv8vj7.js → agent-aemzcrym.js} +25 -25
  114. package/dist/chunks/{form-b40cgvj8.js → agent-am1638rj.js} +5 -5
  115. package/dist/chunks/{form-n3yv30fq.js → agent-b3xz1q2n.js} +16 -16
  116. package/dist/chunks/{form-b6gygkdw.js → agent-b6gygkdw.js} +2 -2
  117. package/dist/chunks/{form-emn263y3.js → agent-b6n0f07q.js} +27 -27
  118. package/dist/chunks/{form-fknhp1f0.js → agent-ba5zwyng.js} +15 -15
  119. package/dist/chunks/{form-sx1n432n.js → agent-bct739vz.js} +4 -4
  120. package/dist/chunks/{form-zgqasnrv.js → agent-br6g232s.js} +17 -17
  121. package/dist/chunks/{form-yvtv9hrf.js → agent-bt5x84hs.js} +22 -22
  122. package/dist/chunks/{form-05drz63z.js → agent-bzfhs60c.js} +30 -30
  123. package/dist/chunks/{form-rgy4pp43.js → agent-c3q7hj01.js} +17 -17
  124. package/dist/chunks/{form-d9sgy5v4.js → agent-c651xxjb.js} +4 -4
  125. package/dist/chunks/{form-dhmh7aw6.js → agent-ca7w653e.js} +4 -4
  126. package/dist/chunks/{form-qedfkepq.js → agent-cc4mce2f.js} +10 -10
  127. package/dist/chunks/{form-epck1df4.js → agent-cda3cvpx.js} +14 -14
  128. package/dist/chunks/{form-c8bydgjz.js → agent-cdm0dq9n.js} +6 -6
  129. package/dist/chunks/{form-54tcyq79.js → agent-ckecvw8r.js} +2 -2
  130. package/dist/chunks/{form-vaabtg8n.js → agent-cktb56xb.js} +6 -6
  131. package/dist/chunks/{form-q0f9bf0g.js → agent-crwh5vwx.js} +12 -12
  132. package/dist/chunks/{form-djszqvmq.js → agent-cwa6csj7.js} +9 -9
  133. package/dist/chunks/{form-d20da8j9.js → agent-d6gar2mb.js} +17 -17
  134. package/dist/chunks/{form-xkntkrq7.js → agent-dmqcgk4z.js} +5 -5
  135. package/dist/chunks/{form-afed7ext.js → agent-dq0v80fr.js} +5 -5
  136. package/dist/chunks/{form-57b9ws8p.js → agent-drwq78ky.js} +5 -5
  137. package/dist/chunks/{form-e3gmrg4e.js → agent-dzmmerrf.js} +7 -7
  138. package/dist/chunks/{form-t0vhg212.js → agent-e4t91rn4.js} +13 -13
  139. package/dist/chunks/{form-kmmhwf5p.js → agent-e57neqwz.js} +1 -1
  140. package/dist/chunks/{form-kxpygcw9.js → agent-e6hd9jay.js} +4 -4
  141. package/dist/chunks/{form-11pq52jb.js → agent-e8tny9qf.js} +3 -3
  142. package/dist/chunks/{form-pjzg4rs2.js → agent-ef05nmcp.js} +4 -4
  143. package/dist/chunks/{form-ef5x83kb.js → agent-ef5x83kb.js} +1 -1
  144. package/dist/chunks/{form-kxch5bmm.js → agent-emyyb3h7.js} +22 -22
  145. package/dist/chunks/{form-cmq39cwv.js → agent-epd79qdj.js} +9 -9
  146. package/dist/chunks/{form-erw5rpbs.js → agent-erw5rpbs.js} +2 -2
  147. package/dist/chunks/{form-zq6stcrg.js → agent-et0rkxxj.js} +8 -8
  148. package/dist/chunks/{form-etq0c3wd.js → agent-etq0c3wd.js} +1 -1
  149. package/dist/chunks/{form-1vyzjnq9.js → agent-f5gy8qwh.js} +8 -8
  150. package/dist/chunks/{form-q3t37ft6.js → agent-f5syc60y.js} +3 -3
  151. package/dist/chunks/{form-vf1f92b8.js → agent-ffqrm4dy.js} +25 -25
  152. package/dist/chunks/{form-bppvgyma.js → agent-fgfb0b2k.js} +14 -14
  153. package/dist/chunks/{form-fhs97t90.js → agent-fhs97t90.js} +2 -2
  154. package/dist/chunks/{form-hfj9a1t1.js → agent-fj6am7we.js} +24 -24
  155. package/dist/chunks/{form-6hs0a2ea.js → agent-fpcmhq1w.js} +15 -15
  156. package/dist/chunks/{form-hmtpe4q9.js → agent-fq21n8kg.js} +5 -5
  157. package/dist/chunks/{form-r9n1h5e1.js → agent-fwpx9avw.js} +48 -48
  158. package/dist/chunks/{form-08tmt5c8.js → agent-g4nf9hqv.js} +14 -14
  159. package/dist/chunks/{form-fqb2p7cx.js → agent-g8d3gcyj.js} +7 -7
  160. package/dist/chunks/{form-gd4qta3r.js → agent-gd4qta3r.js} +1 -1
  161. package/dist/chunks/{form-n9en70f3.js → agent-gf8f2rcw.js} +17 -17
  162. package/dist/chunks/{form-96692np8.js → agent-gmf134c1.js} +21 -21
  163. package/dist/chunks/{form-5yh5b1zw.js → agent-grg0hm6f.js} +32 -32
  164. package/dist/chunks/{form-fqtvmpfq.js → agent-gs3s1a1g.js} +8 -8
  165. package/dist/chunks/{form-gv6a8nnw.js → agent-gv6a8nnw.js} +2 -2
  166. package/dist/chunks/{form-k89d419f.js → agent-h0yxpfzn.js} +3 -3
  167. package/dist/chunks/{form-ckyd1krv.js → agent-h420pbdz.js} +4 -4
  168. package/dist/chunks/{form-gsbffn1y.js → agent-h4xnkbg8.js} +34 -34
  169. package/dist/chunks/{form-h6vf3j39.js → agent-h6vf3j39.js} +1 -1
  170. package/dist/chunks/{form-6aj1h6ge.js → agent-hg3pgq27.js} +9 -9
  171. package/dist/chunks/{form-bm0j3psj.js → agent-hm613f1m.js} +13 -13
  172. package/dist/chunks/{form-ma6xfzer.js → agent-hp9thjyh.js} +15 -15
  173. package/dist/chunks/{form-fnf8k50s.js → agent-hvdqw0fa.js} +10 -10
  174. package/dist/chunks/{form-p0m4nb5f.js → agent-hy7mmz7x.js} +1 -1
  175. package/dist/chunks/{form-jca4demv.js → agent-j325xqev.js} +2 -2
  176. package/dist/chunks/{form-vewbafv1.js → agent-j3na2f7t.js} +13 -13
  177. package/dist/chunks/{form-j56e64zr.js → agent-j56e64zr.js} +1 -1
  178. package/dist/chunks/{form-69syr1jf.js → agent-j75c8f36.js} +17 -17
  179. package/dist/chunks/{form-e3kb8xnq.js → agent-j76x6msn.js} +11 -11
  180. package/dist/chunks/{form-pv751y59.js → agent-jc2w93fw.js} +44 -44
  181. package/dist/chunks/agent-jq4mhrem.js +26 -0
  182. package/dist/chunks/{form-r94pzv5m.js → agent-jvv6rca9.js} +9 -9
  183. package/dist/chunks/{form-c4waf52n.js → agent-jvvge85p.js} +18 -18
  184. package/dist/chunks/{form-y11rahcj.js → agent-jz6frww0.js} +21 -21
  185. package/dist/chunks/{form-ennmqkeh.js → agent-k1qjx27w.js} +5 -5
  186. package/dist/chunks/{form-ng1k2tev.js → agent-k1z6zz7b.js} +24 -24
  187. package/dist/chunks/{form-k3c624dm.js → agent-k3c624dm.js} +3 -3
  188. package/dist/chunks/{form-12p30pv4.js → agent-k65r9af3.js} +11 -11
  189. package/dist/chunks/{form-za7gw4wk.js → agent-kb3wdknj.js} +6 -6
  190. package/dist/chunks/{form-pvw8r2wg.js → agent-khsmmeas.js} +8 -8
  191. package/dist/chunks/{form-k9d40v1y.js → agent-kwrf6mrp.js} +4 -4
  192. package/dist/chunks/{form-8xxyxnjg.js → agent-kzsyc47h.js} +18 -18
  193. package/dist/chunks/{form-sj7d9cqd.js → agent-m26c3xec.js} +27 -27
  194. package/dist/chunks/{form-h4p652km.js → agent-m30kdexy.js} +3 -3
  195. package/dist/chunks/{form-m3fdjcah.js → agent-m3fdjcah.js} +1 -1
  196. package/dist/chunks/{form-0gtbcy6a.js → agent-m6hb8kht.js} +26 -26
  197. package/dist/chunks/{form-m9w0rfyh.js → agent-m9w0rfyh.js} +1 -1
  198. package/dist/chunks/{form-s9720vp0.js → agent-mks6kp02.js} +5 -5
  199. package/dist/chunks/{form-d13kp6w9.js → agent-mkwsrdpy.js} +16 -16
  200. package/dist/chunks/{form-f9rzce54.js → agent-mr4nn3b0.js} +6 -6
  201. package/dist/chunks/{form-aeycry7f.js → agent-n68d0cf5.js} +16 -16
  202. package/dist/chunks/{form-818pfwc9.js → agent-nbzsj80d.js} +8 -8
  203. package/dist/chunks/{form-qcyzmg46.js → agent-njyz79cc.js} +33 -33
  204. package/dist/chunks/{form-0gk8zhag.js → agent-nvefxcm9.js} +12 -12
  205. package/dist/chunks/{form-wwaev9vd.js → agent-nyv1j4r3.js} +55 -55
  206. package/dist/chunks/{form-f07zn61c.js → agent-nyvvhy0p.js} +14 -14
  207. package/dist/chunks/{form-44h5tttr.js → agent-nzyhnfxz.js} +4 -4
  208. package/dist/chunks/{form-pf9yz9v2.js → agent-p1jhb79r.js} +6 -6
  209. package/dist/chunks/{form-gdkt1bct.js → agent-p28vygmv.js} +20 -20
  210. package/dist/chunks/{form-qqbtwq91.js → agent-pjah6pe2.js} +15 -15
  211. package/dist/chunks/{form-pjvnvgmy.js → agent-pjvnvgmy.js} +1 -1
  212. package/dist/chunks/{form-dq74agaf.js → agent-pk5jep21.js} +18 -18
  213. package/dist/chunks/{form-pknna89w.js → agent-pknna89w.js} +1 -1
  214. package/dist/chunks/{form-zaancc48.js → agent-prt5basj.js} +21 -21
  215. package/dist/chunks/{form-pxe6gr54.js → agent-pwa9tev3.js} +12 -12
  216. package/dist/chunks/{form-ch1weyeb.js → agent-q10v52aa.js} +11 -11
  217. package/dist/chunks/{form-19tft2ya.js → agent-q3zwv4bp.js} +4 -4
  218. package/dist/chunks/{form-trz9crgd.js → agent-q9k0gsh2.js} +44 -44
  219. package/dist/chunks/{form-dg66y715.js → agent-qcfjhy73.js} +33 -33
  220. package/dist/chunks/{form-qn4ba14w.js → agent-qn4ba14w.js} +2 -2
  221. package/dist/chunks/{form-qsdy395h.js → agent-qsdy395h.js} +1 -1
  222. package/dist/chunks/{form-4jv7e9dq.js → agent-qsxf26yz.js} +9 -9
  223. package/dist/chunks/agent-qxc1ymac.js +252 -0
  224. package/dist/chunks/{form-ywdjejdj.js → agent-qyvvmpr4.js} +10 -10
  225. package/dist/chunks/{form-zfe0ttmx.js → agent-qzq3tp80.js} +5 -5
  226. package/dist/chunks/{form-d48vtfkp.js → agent-r40cdba5.js} +18 -18
  227. package/dist/chunks/{form-zvkxymqp.js → agent-r4r17rq4.js} +7 -7
  228. package/dist/chunks/{form-r5x6zcsm.js → agent-r5x6zcsm.js} +1 -1
  229. package/dist/chunks/{form-ng9vn86m.js → agent-rabh22kx.js} +30 -30
  230. package/dist/chunks/{form-8rt04me1.js → agent-rcgt23b9.js} +27 -27
  231. package/dist/chunks/{form-rdw6cm16.js → agent-rdw6cm16.js} +1 -1
  232. package/dist/chunks/{form-sxbp20vh.js → agent-retswvcy.js} +9 -9
  233. package/dist/chunks/{form-a881zpfh.js → agent-rghjtt8s.js} +9 -9
  234. package/dist/chunks/{form-btbmdjwj.js → agent-rk7s9xkn.js} +4 -4
  235. package/dist/chunks/{form-w92k2e0p.js → agent-rkprpv83.js} +8 -8
  236. package/dist/chunks/{form-eeaf82dq.js → agent-rqqqmm2x.js} +8 -8
  237. package/dist/chunks/{form-c0c64v71.js → agent-rv27b6j4.js} +7 -7
  238. package/dist/chunks/{form-d3qk8e4k.js → agent-rw9fhyhq.js} +15 -15
  239. package/dist/chunks/{form-wq49c4yf.js → agent-s53zfdxe.js} +23 -23
  240. package/dist/chunks/{form-nxbft40j.js → agent-s75w71bb.js} +8 -8
  241. package/dist/chunks/{form-13bngj7t.js → agent-s7am3t11.js} +31 -31
  242. package/dist/chunks/{form-tazgh4e4.js → agent-tazgh4e4.js} +1 -1
  243. package/dist/chunks/{form-r1659vap.js → agent-tbj51q56.js} +23 -23
  244. package/dist/chunks/{form-tdstcens.js → agent-tdstcens.js} +1 -1
  245. package/dist/chunks/{form-tvtrv512.js → agent-tvtrv512.js} +1 -1
  246. package/dist/chunks/{form-jmjh0wq4.js → agent-tw7pwy41.js} +23 -23
  247. package/dist/chunks/{form-veqvce7d.js → agent-veqvce7d.js} +1 -1
  248. package/dist/chunks/{form-3kj2denn.js → agent-vjxaqdq6.js} +41 -41
  249. package/dist/chunks/{form-xxka3pjy.js → agent-vt4rwap3.js} +11 -11
  250. package/dist/chunks/{form-sqy4ahhk.js → agent-vtpkq4qf.js} +1 -1
  251. package/dist/chunks/{form-vzcthcp8.js → agent-vzcthcp8.js} +1 -1
  252. package/dist/chunks/{form-55c4derm.js → agent-w0m74e8e.js} +20 -20
  253. package/dist/chunks/{form-41b5e87c.js → agent-w1tfbzx8.js} +10 -10
  254. package/dist/chunks/{form-fq0xkp38.js → agent-w21repx7.js} +36 -36
  255. package/dist/chunks/{form-w3wsvvr9.js → agent-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{form-4qpgmmah.js → agent-w5bpb8j7.js} +20 -20
  257. package/dist/chunks/{form-psazpmmj.js → agent-wd3x2cqz.js} +2 -2
  258. package/dist/chunks/{form-wd87259q.js → agent-wd87259q.js} +1 -1
  259. package/dist/chunks/{form-1ed2t66p.js → agent-wgtcm0m7.js} +4 -4
  260. package/dist/chunks/{form-3ktbe3hf.js → agent-wkzkw8tr.js} +6 -6
  261. package/dist/chunks/{form-m7eyfjrp.js → agent-wmmy56cc.js} +8 -8
  262. package/dist/chunks/{form-r4yqrmdq.js → agent-wr7ps67x.js} +5 -5
  263. package/dist/chunks/{form-p2m0n0hn.js → agent-wrmaeg5p.js} +9 -9
  264. package/dist/chunks/{form-s5qtarnf.js → agent-wtzh7vad.js} +16 -16
  265. package/dist/chunks/{form-nkshrmvn.js → agent-wvvmmxvm.js} +11 -11
  266. package/dist/chunks/{form-fjrjs8mz.js → agent-wxjq8k3m.js} +23 -23
  267. package/dist/chunks/{form-15znadw3.js → agent-wz2yh3bc.js} +83 -83
  268. package/dist/chunks/{form-x1ezjp6w.js → agent-x1ezjp6w.js} +1 -1
  269. package/dist/chunks/{form-nyqx1cb3.js → agent-x2d9qy7d.js} +5 -5
  270. package/dist/chunks/{form-4n4fn861.js → agent-x5wbyy1f.js} +22 -22
  271. package/dist/chunks/{form-gvke2z1d.js → agent-x6mxy5rc.js} +25 -25
  272. package/dist/chunks/{form-d49yjp64.js → agent-xf20h1cj.js} +19 -19
  273. package/dist/chunks/{form-25x24fm4.js → agent-xt2arqya.js} +22 -22
  274. package/dist/chunks/{form-f9wy4a67.js → agent-xy1gf4rw.js} +4 -4
  275. package/dist/chunks/{form-y1fvbwt7.js → agent-y1fvbwt7.js} +1 -1
  276. package/dist/chunks/{form-v8d44gfq.js → agent-y4y8g8ts.js} +43 -43
  277. package/dist/chunks/{form-y71avatq.js → agent-y71avatq.js} +1 -1
  278. package/dist/chunks/{form-r7wq386s.js → agent-ym7x7v54.js} +29 -29
  279. package/dist/chunks/{form-yp2x3t23.js → agent-yp2x3t23.js} +1 -1
  280. package/dist/chunks/{form-yrhqyw5v.js → agent-yrhqyw5v.js} +1 -1
  281. package/dist/chunks/{form-yrznvahk.js → agent-yrznvahk.js} +2 -2
  282. package/dist/chunks/{form-347vaxex.js → agent-yv6fwtq8.js} +10 -10
  283. package/dist/chunks/{form-bjtzbw4r.js → agent-z07pqspn.js} +3 -3
  284. package/dist/chunks/{form-z0bkrqjs.js → agent-z0bkrqjs.js} +1 -1
  285. package/dist/chunks/{form-ab603qg2.js → agent-z0pa14ta.js} +10 -10
  286. package/dist/chunks/{form-z63w68vq.js → agent-z63w68vq.js} +2 -2
  287. package/dist/chunks/{form-zeh9ct20.js → agent-zeh9ct20.js} +2 -2
  288. package/dist/chunks/{form-zr2ceqn5.js → agent-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{form-m8eeppqn.js → agent-zvtzzjx8.js} +24 -24
  290. package/dist/chunks/{form-zxq2ej10.js → agent-zxq2ej10.js} +1 -1
  291. package/dist/chunks/{form-3aj4spyv.js → agent-zzvjeq0g.js} +18 -18
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +11 -11
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +81 -81
  297. package/dist/config/discovery.js +84 -84
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +106 -106
  300. package/dist/config/plugin/agent.js +123 -123
  301. package/dist/config/plugin/command.js +212 -212
  302. package/dist/config/plugin/compaction.js +160 -160
  303. package/dist/config/plugin/compatibility.js +141 -141
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +124 -124
  306. package/dist/config/plugin/image.js +123 -123
  307. package/dist/config/plugin/instruction.js +90 -90
  308. package/dist/config/plugin/location-watcher.js +123 -123
  309. package/dist/config/plugin/mcp.js +130 -130
  310. package/dist/config/plugin/policy.js +124 -124
  311. package/dist/config/plugin/provider.js +123 -123
  312. package/dist/config/plugin/reference.js +125 -125
  313. package/dist/config/plugin/shell.js +125 -125
  314. package/dist/config/plugin/skill-file.js +102 -102
  315. package/dist/config/plugin/skill.js +144 -144
  316. package/dist/config/plugin/snapshot.js +123 -123
  317. package/dist/config/plugin/source.js +120 -120
  318. package/dist/config/plugin/tool-output.js +125 -125
  319. package/dist/config/plugin/websearch.js +124 -124
  320. package/dist/config/plugin/worktree.js +125 -125
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +128 -128
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +81 -81
  326. package/dist/database/database.js +66 -66
  327. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +13 -13
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +14 -14
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration.gen.js +49 -49
  392. package/dist/database/migration.js +51 -51
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +76 -76
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +371 -371
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +1 -1
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +93 -93
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +95 -95
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +1 -1
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +70 -70
  416. package/dist/file-access.js +104 -104
  417. package/dist/file-mutation.js +94 -94
  418. package/dist/file-retention.js +1 -1
  419. package/dist/file.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +225 -225
  427. package/dist/filesystem/protected.js +3 -3
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +15 -15
  431. package/dist/filesystem.js +108 -108
  432. package/dist/form.js +84 -84
  433. package/dist/formatter/builtins.js +2 -2
  434. package/dist/formatter.js +89 -89
  435. package/dist/generate.js +105 -105
  436. package/dist/git.js +6 -6
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +99 -99
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +362 -362
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +3 -3
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +86 -86
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +132 -132
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-mutation.js +104 -104
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +359 -359
  474. package/dist/location.js +81 -81
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +104 -104
  478. package/dist/mcp/instructions.js +128 -128
  479. package/dist/mcp/oauth.js +78 -78
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +99 -99
  483. package/dist/model-resolver.js +98 -98
  484. package/dist/model.js +100 -100
  485. package/dist/models-dev.js +105 -105
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +82 -82
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +109 -109
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +88 -88
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +102 -102
  496. package/dist/plugin/command.js +99 -99
  497. package/dist/plugin/compaction.js +131 -131
  498. package/dist/plugin/hooks.js +5 -5
  499. package/dist/plugin/host.js +218 -218
  500. package/dist/plugin/identity.js +3 -3
  501. package/dist/plugin/instance.js +5 -5
  502. package/dist/plugin/internal.js +333 -333
  503. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  504. package/dist/plugin/models-dev.js +96 -96
  505. package/dist/plugin/module.js +5 -5
  506. package/dist/plugin/optimize.js +4 -4
  507. package/dist/plugin/plan.js +102 -102
  508. package/dist/plugin/promise.js +1 -1
  509. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  510. package/dist/plugin/provider/azure.js +122 -122
  511. package/dist/plugin/provider/cerebras.js +1 -1
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +119 -119
  516. package/dist/plugin/provider/digitalocean.js +93 -93
  517. package/dist/plugin/provider/dynamic.js +2 -2
  518. package/dist/plugin/provider/factory.js +1 -1
  519. package/dist/plugin/provider/gateway.js +2 -2
  520. package/dist/plugin/provider/github-copilot.js +93 -93
  521. package/dist/plugin/provider/gitlab.js +93 -93
  522. package/dist/plugin/provider/google-vertex.js +90 -90
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +77 -77
  525. package/dist/plugin/provider/lmstudio.js +120 -120
  526. package/dist/plugin/provider/modal.js +92 -92
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +122 -122
  529. package/dist/plugin/provider/openai.js +94 -94
  530. package/dist/plugin/provider/opencode.js +95 -95
  531. package/dist/plugin/provider/openrouter.js +91 -91
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +78 -78
  534. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  535. package/dist/plugin/provider/sap-ai-core.js +91 -91
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  538. package/dist/plugin/provider/venice.js +2 -2
  539. package/dist/plugin/provider/vercel.js +90 -90
  540. package/dist/plugin/provider/vllm.js +122 -122
  541. package/dist/plugin/provider/xai.js +91 -91
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +160 -160
  544. package/dist/plugin/sdk.js +70 -70
  545. package/dist/plugin/service.js +1 -1
  546. package/dist/plugin/skill.js +141 -141
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +348 -348
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +86 -86
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +4 -4
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +227 -227
  562. package/dist/project/schema.js +2 -2
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +80 -80
  565. package/dist/provider.js +99 -99
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/schema.js +3 -3
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +98 -98
  570. package/dist/reference/instructions.js +87 -87
  571. package/dist/reference.js +89 -89
  572. package/dist/repository-cache.js +81 -81
  573. package/dist/repository.js +1 -1
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +97 -97
  576. package/dist/rpc.js +86 -86
  577. package/dist/schema.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +132 -132
  580. package/dist/session/context.js +152 -152
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +5 -5
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +221 -221
  586. package/dist/session/execution.js +128 -128
  587. package/dist/session/generate.js +153 -153
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +88 -88
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +79 -79
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +97 -97
  594. package/dist/session/message-updater.js +4 -4
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +115 -115
  597. package/dist/session/model-transport.js +5 -5
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +3 -3
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +1 -1
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +229 -229
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +114 -114
  610. package/dist/session/runner/step.js +124 -124
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +172 -172
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +73 -73
  618. package/dist/session/store.js +87 -87
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +210 -210
  621. package/dist/session/system-prompt.js +3 -3
  622. package/dist/session/title.js +150 -150
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +214 -214
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +218 -218
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +11 -11
  631. package/dist/shell.js +140 -140
  632. package/dist/skill/discovery.js +2 -2
  633. package/dist/skill/instructions.js +107 -107
  634. package/dist/skill.js +112 -112
  635. package/dist/snapshot.js +93 -93
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +127 -127
  640. package/dist/tool/plugin/edit.js +120 -120
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +124 -124
  643. package/dist/tool/plugin/grep.js +124 -124
  644. package/dist/tool/plugin/mcp-resource.js +116 -116
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +122 -122
  647. package/dist/tool/plugin/question.js +105 -105
  648. package/dist/tool/plugin/read.js +121 -121
  649. package/dist/tool/plugin/shell.js +217 -217
  650. package/dist/tool/plugin/skill.js +111 -111
  651. package/dist/tool/plugin/subagent.js +219 -219
  652. package/dist/tool/plugin/webfetch.js +112 -112
  653. package/dist/tool/plugin/websearch.js +114 -114
  654. package/dist/tool/plugin/write.js +122 -122
  655. package/dist/tool/read-filesystem.js +100 -100
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +16 -16
  659. package/dist/types/tool/read-filesystem.d.ts +1 -0
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/error.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/iife.js +1 -1
  664. package/dist/util/lazy.js +1 -1
  665. package/dist/util/slug.js +1 -1
  666. package/dist/util/token.js +1 -1
  667. package/dist/util/which.js +1 -1
  668. package/dist/util/wildcard.js +1 -1
  669. package/dist/v1/config/agent.js +5 -5
  670. package/dist/v1/config/attachment.js +4 -4
  671. package/dist/v1/config/command.js +5 -5
  672. package/dist/v1/config/config.js +16 -16
  673. package/dist/v1/config/error.js +2 -2
  674. package/dist/v1/config/formatter.js +7 -7
  675. package/dist/v1/config/layout.js +1 -1
  676. package/dist/v1/config/lsp.js +3 -3
  677. package/dist/v1/config/mcp.js +4 -4
  678. package/dist/v1/config/migrate.js +92 -92
  679. package/dist/v1/config/permission.js +3 -3
  680. package/dist/v1/config/plugin.js +3 -3
  681. package/dist/v1/config/provider-options.js +1 -1
  682. package/dist/v1/config/provider.js +2 -2
  683. package/dist/v1/config/server.js +2 -2
  684. package/dist/v1/config/skills.js +3 -3
  685. package/dist/v1/permission.js +1 -1
  686. package/dist/variant.js +91 -91
  687. package/dist/vcs/patch.js +1 -1
  688. package/dist/vcs.js +89 -89
  689. package/dist/websearch.js +84 -84
  690. package/dist/wellknown/plugin.js +76 -76
  691. package/dist/wellknown.js +79 -79
  692. package/dist/workspace/driver.js +7 -7
  693. package/dist/workspace/sql.js +1 -1
  694. package/dist/workspace.js +80 -80
  695. package/dist/worktree/directory.js +2 -2
  696. package/dist/worktree/git.js +10 -10
  697. package/dist/worktree/sql.js +5 -5
  698. package/dist/worktree/strategies.js +89 -89
  699. package/dist/worktree.js +98 -98
  700. package/package.json +8 -8
  701. package/dist/chunks/form-0mesazry.js +0 -4
  702. package/dist/chunks/form-54qy129q.js +0 -26
  703. package/dist/chunks/form-ftpkz8yb.js +0 -252
  704. /package/dist/chunks/{form-0qkdqm5v.js → agent-0qkdqm5v.js} +0 -0
  705. /package/dist/chunks/{form-0zkw76rk.js → agent-0zkw76rk.js} +0 -0
  706. /package/dist/chunks/{form-17cy0kzp.js → agent-17cy0kzp.js} +0 -0
  707. /package/dist/chunks/{form-1cnp2v09.js → agent-1cnp2v09.js} +0 -0
  708. /package/dist/chunks/{form-1kg9ymc8.js → agent-1kg9ymc8.js} +0 -0
  709. /package/dist/chunks/{form-24dcb14g.js → agent-24dcb14g.js} +0 -0
  710. /package/dist/chunks/{form-2710q6r3.js → agent-2710q6r3.js} +0 -0
  711. /package/dist/chunks/{form-2axfhc9x.js → agent-2axfhc9x.js} +0 -0
  712. /package/dist/chunks/{form-2c3vjs8z.js → agent-2c3vjs8z.js} +0 -0
  713. /package/dist/chunks/{form-34c7v6d4.js → agent-34c7v6d4.js} +0 -0
  714. /package/dist/chunks/{form-359p4xyc.js → agent-359p4xyc.js} +0 -0
  715. /package/dist/chunks/{form-3asan66x.js → agent-3asan66x.js} +0 -0
  716. /package/dist/chunks/{form-3v8g72cx.js → agent-3v8g72cx.js} +0 -0
  717. /package/dist/chunks/{form-3w5fmr99.js → agent-3w5fmr99.js} +0 -0
  718. /package/dist/chunks/{form-3wcehsnq.js → agent-3wcehsnq.js} +0 -0
  719. /package/dist/chunks/{form-43n2bw4t.js → agent-43n2bw4t.js} +0 -0
  720. /package/dist/chunks/{form-4knz6hnm.js → agent-4knz6hnm.js} +0 -0
  721. /package/dist/chunks/{form-4vcrnpx2.js → agent-4vcrnpx2.js} +0 -0
  722. /package/dist/chunks/{form-4y7fprxs.js → agent-4y7fprxs.js} +0 -0
  723. /package/dist/chunks/{form-53557ph1.js → agent-53557ph1.js} +0 -0
  724. /package/dist/chunks/{form-550bvhaj.js → agent-550bvhaj.js} +0 -0
  725. /package/dist/chunks/{form-5qd3pb7m.js → agent-5qd3pb7m.js} +0 -0
  726. /package/dist/chunks/{form-6prwharc.js → agent-6prwharc.js} +0 -0
  727. /package/dist/chunks/{form-7akdwqpd.js → agent-7akdwqpd.js} +0 -0
  728. /package/dist/chunks/{form-7m9af43g.js → agent-7m9af43g.js} +0 -0
  729. /package/dist/chunks/{form-822emrt2.js → agent-822emrt2.js} +0 -0
  730. /package/dist/chunks/{form-88xbtdfr.js → agent-88xbtdfr.js} +0 -0
  731. /package/dist/chunks/{form-8n3pysct.js → agent-8n3pysct.js} +0 -0
  732. /package/dist/chunks/{form-8wj87zfr.js → agent-8wj87zfr.js} +0 -0
  733. /package/dist/chunks/{form-922hggd3.js → agent-922hggd3.js} +0 -0
  734. /package/dist/chunks/{form-9a4afbnw.js → agent-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{form-9rqn6x4v.js → agent-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{form-a6k6eb26.js → agent-a6k6eb26.js} +0 -0
  737. /package/dist/chunks/{form-af5trqkr.js → agent-af5trqkr.js} +0 -0
  738. /package/dist/chunks/{form-afrmfg78.js → agent-afrmfg78.js} +0 -0
  739. /package/dist/chunks/{form-aqzs7mqg.js → agent-aqzs7mqg.js} +0 -0
  740. /package/dist/chunks/{form-atq7p7m5.js → agent-atq7p7m5.js} +0 -0
  741. /package/dist/chunks/{form-bkyjaxrp.js → agent-bkyjaxrp.js} +0 -0
  742. /package/dist/chunks/{form-bmr6ed5q.js → agent-bmr6ed5q.js} +0 -0
  743. /package/dist/chunks/{form-cf4snx6d.js → agent-cf4snx6d.js} +0 -0
  744. /package/dist/chunks/{form-cvy3z8tj.js → agent-cvy3z8tj.js} +0 -0
  745. /package/dist/chunks/{form-d9fn303g.js → agent-d9fn303g.js} +0 -0
  746. /package/dist/chunks/{form-d9jj8t3e.js → agent-d9jj8t3e.js} +0 -0
  747. /package/dist/chunks/{form-dajrwvna.js → agent-dajrwvna.js} +0 -0
  748. /package/dist/chunks/{form-dap0rakb.js → agent-dap0rakb.js} +0 -0
  749. /package/dist/chunks/{form-df08tz66.js → agent-df08tz66.js} +0 -0
  750. /package/dist/chunks/{form-dy18nga0.js → agent-dy18nga0.js} +0 -0
  751. /package/dist/chunks/{form-e5kj55wp.js → agent-e5kj55wp.js} +0 -0
  752. /package/dist/chunks/{form-e73j6tqm.js → agent-e73j6tqm.js} +0 -0
  753. /package/dist/chunks/{form-ec1grn59.js → agent-ec1grn59.js} +0 -0
  754. /package/dist/chunks/{form-eh3zwz77.js → agent-eh3zwz77.js} +0 -0
  755. /package/dist/chunks/{form-emrn6kk6.js → agent-emrn6kk6.js} +0 -0
  756. /package/dist/chunks/{form-f0mxakyp.js → agent-f0mxakyp.js} +0 -0
  757. /package/dist/chunks/{form-f6n9ztr4.js → agent-f6n9ztr4.js} +0 -0
  758. /package/dist/chunks/{form-faypxj3z.js → agent-faypxj3z.js} +0 -0
  759. /package/dist/chunks/{form-fd410y7t.js → agent-fd410y7t.js} +0 -0
  760. /package/dist/chunks/{form-fxgpk5d8.js → agent-fxgpk5d8.js} +0 -0
  761. /package/dist/chunks/{form-g4wezp1m.js → agent-g4wezp1m.js} +0 -0
  762. /package/dist/chunks/{form-g86h250q.js → agent-g86h250q.js} +0 -0
  763. /package/dist/chunks/{form-gebd4c9n.js → agent-gebd4c9n.js} +0 -0
  764. /package/dist/chunks/{form-gftt206x.js → agent-gftt206x.js} +0 -0
  765. /package/dist/chunks/{form-hjbc5kem.js → agent-hjbc5kem.js} +0 -0
  766. /package/dist/chunks/{form-hk9envan.js → agent-hk9envan.js} +0 -0
  767. /package/dist/chunks/{form-j2ntwpah.js → agent-j2ntwpah.js} +0 -0
  768. /package/dist/chunks/{form-j5zkgpj8.js → agent-j5zkgpj8.js} +0 -0
  769. /package/dist/chunks/{form-jjkms2e6.js → agent-jjkms2e6.js} +0 -0
  770. /package/dist/chunks/{form-jr7sbwjy.js → agent-jr7sbwjy.js} +0 -0
  771. /package/dist/chunks/{form-jwfs4k6c.js → agent-jwfs4k6c.js} +0 -0
  772. /package/dist/chunks/{form-jzg6c2d5.js → agent-jzg6c2d5.js} +0 -0
  773. /package/dist/chunks/{form-mp448xyj.js → agent-mp448xyj.js} +0 -0
  774. /package/dist/chunks/{form-msx8hqn2.js → agent-msx8hqn2.js} +0 -0
  775. /package/dist/chunks/{form-n05xt0ee.js → agent-n05xt0ee.js} +0 -0
  776. /package/dist/chunks/{form-n3j8tn72.js → agent-n3j8tn72.js} +0 -0
  777. /package/dist/chunks/{form-njntx4h6.js → agent-njntx4h6.js} +0 -0
  778. /package/dist/chunks/{form-q3sfg36h.js → agent-q3sfg36h.js} +0 -0
  779. /package/dist/chunks/{form-q74kybfr.js → agent-q74kybfr.js} +0 -0
  780. /package/dist/chunks/{form-qaymkmh1.js → agent-qaymkmh1.js} +0 -0
  781. /package/dist/chunks/{form-qb87gjwd.js → agent-qb87gjwd.js} +0 -0
  782. /package/dist/chunks/{form-qfa1cgps.js → agent-qfa1cgps.js} +0 -0
  783. /package/dist/chunks/{form-qg3g05ea.js → agent-qg3g05ea.js} +0 -0
  784. /package/dist/chunks/{form-qrg20bc0.js → agent-qrg20bc0.js} +0 -0
  785. /package/dist/chunks/{form-rcb2kzg1.js → agent-rcb2kzg1.js} +0 -0
  786. /package/dist/chunks/{form-sdp7kfr6.js → agent-sdp7kfr6.js} +0 -0
  787. /package/dist/chunks/{form-sk3qaz4a.js → agent-sk3qaz4a.js} +0 -0
  788. /package/dist/chunks/{form-ssg3fenm.js → agent-ssg3fenm.js} +0 -0
  789. /package/dist/chunks/{form-w803qqfp.js → agent-w803qqfp.js} +0 -0
  790. /package/dist/chunks/{form-wc3fc9cn.js → agent-wc3fc9cn.js} +0 -0
  791. /package/dist/chunks/{form-wer8tq1h.js → agent-wer8tq1h.js} +0 -0
  792. /package/dist/chunks/{form-wtztk69x.js → agent-wtztk69x.js} +0 -0
  793. /package/dist/chunks/{form-x0ckcb58.js → agent-x0ckcb58.js} +0 -0
  794. /package/dist/chunks/{form-x61499pn.js → agent-x61499pn.js} +0 -0
  795. /package/dist/chunks/{form-y44na4kk.js → agent-y44na4kk.js} +0 -0
  796. /package/dist/chunks/{form-y8cydn3q.js → agent-y8cydn3q.js} +0 -0
  797. /package/dist/chunks/{form-y8f7s663.js → agent-y8f7s663.js} +0 -0
  798. /package/dist/chunks/{form-ygaqb7jw.js → agent-ygaqb7jw.js} +0 -0
  799. /package/dist/chunks/{form-ym463w8f.js → agent-ym463w8f.js} +0 -0
  800. /package/dist/chunks/{form-z9919s4g.js → agent-z9919s4g.js} +0 -0
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./form-y71avatq.js";
3
+ } from "./agent-y71avatq.js";
4
4
  import {
5
5
  Service83,
6
6
  node87
7
- } from "./form-19tft2ya.js";
7
+ } from "./agent-q3zwv4bp.js";
8
8
  import {
9
- Event17,
10
- Service71,
11
- node75
12
- } from "./form-hfj9a1t1.js";
9
+ Event16,
10
+ Service65,
11
+ node68
12
+ } from "./agent-fj6am7we.js";
13
13
  import {
14
14
  Service80,
15
15
  node84
16
- } from "./form-vr6tcf4m.js";
16
+ } from "./agent-71wjg4kw.js";
17
17
  import {
18
- Service60,
19
- node62
20
- } from "./form-y11rahcj.js";
18
+ Service76,
19
+ node79
20
+ } from "./agent-jz6frww0.js";
21
21
  import {
22
- ID12,
23
- Service72,
24
- node76
25
- } from "./form-x2awn7t1.js";
22
+ ID8,
23
+ Service64,
24
+ node67
25
+ } from "./agent-40c61p32.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./form-rdw6cm16.js";
29
+ } from "./agent-rdw6cm16.js";
30
30
  import {
31
- ID10,
31
+ ID7,
32
32
  MethodID2,
33
- Service70,
34
- node74
35
- } from "./form-s2hgmt76.js";
33
+ Service63,
34
+ node66
35
+ } from "./agent-4snp72qp.js";
36
36
  import {
37
37
  __export
38
- } from "./form-9rqn6x4v.js";
38
+ } from "./agent-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: () => NotFoundError4,
44
+ NotFoundError: () => NotFoundError3,
45
45
  Options: () => Options3,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
50
50
  ResourceContentPart: () => ResourceContentPart2,
51
51
  ResourceTemplate: () => ResourceTemplate2,
52
52
  ServerName: () => ServerName2,
53
- Service: () => Service35,
53
+ Service: () => Service31,
54
54
  Status: () => Status2,
55
55
  ToolCallError: () => ToolCallError2,
56
56
  configured: () => configured3,
57
- layer: () => layer14,
58
- node: () => node38
57
+ layer: () => layer13,
58
+ node: () => node34
59
59
  });
60
60
  import { Mcp } from "@opencode/schema/mcp";
61
61
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
74
74
  var ResourceContentPart2 = Mcp.ResourceContentPart;
75
75
  var ResourceContent2 = Mcp.ResourceContent;
76
76
 
77
- class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
77
+ class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
78
78
  server: ServerName2
79
79
  }) {
80
80
  get message() {
@@ -93,7 +93,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
93
93
  var endpointLoads = makeUnsafe2();
94
94
  var cloneConfig = (config) => structuredClone(config);
95
95
 
96
- class Service35 extends Context.Service()("@opencode/MCP") {
96
+ class Service31 extends Context.Service()("@opencode/MCP") {
97
97
  }
98
98
  var Options3 = Schema.Struct({
99
99
  clientInfo: Schema.optional(Schema.Struct({
@@ -101,13 +101,13 @@ var Options3 = Schema.Struct({
101
101
  version: Schema.String
102
102
  }))
103
103
  });
104
- var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
104
+ var layer13 = (options) => Layer.effect(Service31, Effect.gen(function* () {
105
105
  const location = yield* Service80;
106
- const environment = yield* Service60;
106
+ const environment = yield* Service76;
107
107
  const bus = yield* Service83;
108
- const forms = yield* Service72;
109
- const integration = yield* Service70;
110
- const credentials = yield* Service71;
108
+ const forms = yield* Service64;
109
+ const integration = yield* Service63;
110
+ const credentials = yield* Service65;
111
111
  const root = yield* Effect.scope;
112
112
  const fork = yield* FiberSet.makeRuntime();
113
113
  const entries = new Map;
@@ -119,7 +119,7 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
119
119
  return;
120
120
  const remote = entry.config;
121
121
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
122
- const integrationID = ID10.make(suffix);
122
+ const integrationID = ID7.make(suffix);
123
123
  entry.integrationID = integrationID;
124
124
  owned.add(integrationID);
125
125
  const methodID = MethodID2.make(suffix);
@@ -135,7 +135,7 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
135
135
  method: { id: methodID, type: "oauth", label: name },
136
136
  authorize: () => Effect.gen(function* () {
137
137
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
138
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service71, credentials));
138
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service65, credentials));
139
139
  })
140
140
  });
141
141
  }).pipe(Scope.provide(scope));
@@ -144,19 +144,19 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
144
144
  const name = ServerName2.make(server);
145
145
  const entry = entries.get(name);
146
146
  if (!entry)
147
- return yield* new NotFoundError4({ server: name });
147
+ return yield* new NotFoundError3({ server: name });
148
148
  return { name, entry };
149
149
  });
150
150
  const connectProvider = Effect.fnUntraced(function* (entry) {
151
151
  if (entry.config.type !== "remote" || !entry.integrationID)
152
152
  return;
153
153
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
154
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service71, credentials));
154
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service65, credentials));
155
155
  });
156
156
  const elicitation = {
157
157
  create: (input) => Effect.gen(function* () {
158
158
  if (input.params.mode === "url") {
159
- const formID = ID12.create();
159
+ const formID = ID8.create();
160
160
  const elicitationID = input.params.elicitationId;
161
161
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
162
162
  if (key)
@@ -259,7 +259,7 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
259
259
  entry.scope = scope;
260
260
  const authProvider = yield* connectProvider(entry);
261
261
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
262
- const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service60, environment), Scope.provide(scope));
262
+ const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service76, environment), Scope.provide(scope));
263
263
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
264
264
  if (Exit.isSuccess(result)) {
265
265
  entry.client = result.value.connection;
@@ -384,7 +384,7 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
384
384
  yield* startServer(name, entry);
385
385
  }).pipe(locks.withLock(name));
386
386
  });
387
- fork(bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
387
+ fork(bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
388
388
  const state = create3({
389
389
  name: "mcp",
390
390
  initial: () => ({
@@ -410,7 +410,7 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
410
410
  }),
411
411
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
412
412
  });
413
- return Service35.of({
413
+ return Service31.of({
414
414
  transform: state.transform,
415
415
  reload: state.reload,
416
416
  servers: Effect.fn("MCP.servers")(function* () {
@@ -518,12 +518,12 @@ function mergeCatalogs(catalogs) {
518
518
  }
519
519
  function configured3(options) {
520
520
  return makeLocationNode({
521
- service: Service35,
522
- layer: layer14(options),
523
- deps: [node84, node62, node87, node76, node74, node75]
521
+ service: Service31,
522
+ layer: layer13(options),
523
+ deps: [node84, node79, node87, node67, node66, node68]
524
524
  });
525
525
  }
526
- var node38 = configured3();
526
+ var node34 = configured3();
527
527
  function toElicitationField(key, property, required) {
528
528
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
529
529
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -574,4 +574,4 @@ function toElicitationField(key, property, required) {
574
574
  }
575
575
  }
576
576
 
577
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service35, Options3, layer14, configured3, node38, exports_mcp4 };
577
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service31, Options3, layer13, configured3, node34, exports_mcp4 };
@@ -0,0 +1,26 @@
1
+ import {
2
+ Plugin35
3
+ } from "./agent-et0rkxxj.js";
4
+ import {
5
+ Plugin39
6
+ } from "./agent-hg3pgq27.js";
7
+ import {
8
+ Plugin36
9
+ } from "./agent-epd79qdj.js";
10
+ import {
11
+ Plugin38
12
+ } from "./agent-s75w71bb.js";
13
+ import {
14
+ Plugin37
15
+ } from "./agent-retswvcy.js";
16
+
17
+ // src/plugin/websearch/index.ts
18
+ var WebSearchPlugins2 = [
19
+ Plugin35,
20
+ Plugin39,
21
+ Plugin36,
22
+ Plugin38,
23
+ Plugin37
24
+ ];
25
+
26
+ export { WebSearchPlugins2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service49
3
- } from "./form-c8bydgjz.js";
2
+ Service35
3
+ } from "./agent-cdm0dq9n.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./form-9zdhvgqs.js";
6
+ } from "./agent-9zdhvgqs.js";
7
7
  import {
8
8
  SkillNotFoundError2
9
- } from "./form-3ktbe3hf.js";
9
+ } from "./agent-wkzkw8tr.js";
10
10
  import {
11
- Service51
12
- } from "./form-ng1k2tev.js";
11
+ Service40
12
+ } from "./agent-k1z6zz7b.js";
13
13
  import {
14
14
  __export
15
- } from "./form-9rqn6x4v.js";
15
+ } from "./agent-9rqn6x4v.js";
16
16
 
17
17
  // src/session/skill.ts
18
18
  var exports_skill4 = {};
@@ -22,8 +22,8 @@ __export(exports_skill4, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var get4 = Effect.fn("SessionSkill.get")(function* (input) {
25
- const instances = yield* Service49;
26
- const skills = yield* awaitActivation2.pipe(Effect.andThen(Service51), instances.provide(input.session));
25
+ const instances = yield* Service35;
26
+ const skills = yield* awaitActivation2.pipe(Effect.andThen(Service40), instances.provide(input.session));
27
27
  const skill = yield* skills.get(input.skill);
28
28
  if (!skill)
29
29
  return yield* new SkillNotFoundError2({ skill: input.skill });
@@ -2,27 +2,27 @@ import {
2
2
  ephemeral2,
3
3
  Service83,
4
4
  node87
5
- } from "./form-19tft2ya.js";
5
+ } from "./agent-q3zwv4bp.js";
6
6
  import {
7
- Service65,
8
- node69
9
- } from "./form-41b5e87c.js";
7
+ Service72,
8
+ node75
9
+ } from "./agent-w1tfbzx8.js";
10
10
  import {
11
11
  __export
12
- } from "./form-9rqn6x4v.js";
12
+ } from "./agent-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event11,
19
+ Event: () => Event6,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service53,
22
+ Service: () => Service49,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node55,
25
+ node: () => node51,
26
26
  resolve: () => resolve2
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service53 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service49 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event11 = {
51
+ var Event6 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service53, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service49, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service65;
80
+ const kv = yield* Service72;
81
81
  const bus = yield* Service83;
82
82
  const cache = yield* Ref.make(new Map);
83
83
  const lock = Semaphore.makeUnsafe(1);
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
109
109
  if (!changed)
110
110
  return false;
111
111
  yield* Ref.set(cache, next);
112
- yield* bus.publish(Event11.Updated, {});
112
+ yield* bus.publish(Event6.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service53.of({
115
+ return Service49.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
125
125
  const origins = Schema.is(Sources)(sources) ? sources : [];
126
126
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
127
127
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
128
- yield* bus.publish(Event11.Updated, {});
128
+ yield* bus.publish(Event6.Updated, {});
129
129
  return entry;
130
130
  }, (effect, _value) => lock.withPermit(effect)),
131
131
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
138
138
  next.delete(origin);
139
139
  return next;
140
140
  });
141
- yield* bus.publish(Event11.Updated, {});
141
+ yield* bus.publish(Event6.Updated, {});
142
142
  }, (effect, _value) => lock.withPermit(effect)),
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node55 = makeGlobalNode({ service: Service53, layer, deps: [httpClient, node69, node87] });
146
+ var node51 = makeGlobalNode({ service: Service49, layer, deps: [httpClient, node75, node87] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service53, Event11, inspect2, resolve2, node55, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service49, Event6, inspect2, resolve2, node51, exports_wellknown };
@@ -3,34 +3,34 @@ import {
3
3
  WrongKind2,
4
4
  Failed2,
5
5
  typeFollowing2
6
- } from "./form-2a5m3afh.js";
6
+ } from "./agent-2a5m3afh.js";
7
7
  import {
8
8
  execDefaults2
9
- } from "./form-1dazxqgg.js";
9
+ } from "./agent-1dazxqgg.js";
10
10
  import {
11
11
  makeLocalDriver2
12
- } from "./form-b6gygkdw.js";
12
+ } from "./agent-b6gygkdw.js";
13
13
  import {
14
14
  makeMemoryDriver2
15
- } from "./form-aaet6srn.js";
15
+ } from "./agent-aaet6srn.js";
16
16
  import {
17
17
  Service80,
18
18
  node84
19
- } from "./form-vr6tcf4m.js";
19
+ } from "./agent-71wjg4kw.js";
20
20
  import {
21
- Service61,
22
- node63
23
- } from "./form-0gtbcy6a.js";
21
+ Service77,
22
+ node80
23
+ } from "./agent-m6hb8kht.js";
24
24
  import {
25
25
  __export
26
- } from "./form-9rqn6x4v.js";
26
+ } from "./agent-9rqn6x4v.js";
27
27
 
28
28
  // src/environment/environment.ts
29
29
  var exports_environment2 = {};
30
30
  __export(exports_environment2, {
31
31
  EnvironmentService: () => exports_environment2,
32
- Service: () => Service60,
33
- node: () => node62
32
+ Service: () => Service76,
33
+ node: () => node79
34
34
  });
35
35
  import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,13 +43,13 @@ __export(exports_environment3, {
43
43
  Environment: () => exports_environment3,
44
44
  Failed: () => Failed2,
45
45
  NotFound: () => NotFound2,
46
- Service: () => Service60,
46
+ Service: () => Service76,
47
47
  WrongKind: () => WrongKind2,
48
48
  execDefaults: () => execDefaults2,
49
49
  makeFiles: () => makeFiles2,
50
50
  makeLocalDriver: () => makeLocalDriver2,
51
51
  makeMemoryDriver: () => makeMemoryDriver2,
52
- node: () => node62,
52
+ node: () => node79,
53
53
  typeFollowing: () => typeFollowing2
54
54
  });
55
55
  var makeFiles2 = (driver) => ({
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
58
58
  });
59
59
 
60
60
  // src/environment/environment.ts
61
- class Service60 extends Context.Service()("@opencode/Environment") {
61
+ class Service76 extends Context.Service()("@opencode/Environment") {
62
62
  }
63
- var layer = Layer.effect(Service60, Effect.gen(function* () {
63
+ var layer = Layer.effect(Service76, Effect.gen(function* () {
64
64
  const spawner = yield* ChildProcessSpawner;
65
65
  const location = yield* Service80;
66
- const workspace = yield* Service61;
66
+ const workspace = yield* Service77;
67
67
  const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
68
- return Service60.of({ files: makeFiles2(driver), spawner: driver.spawner });
68
+ return Service76.of({ files: makeFiles2(driver), spawner: driver.spawner });
69
69
  }));
70
- var node62 = makeLocationNode({
71
- service: Service60,
70
+ var node79 = makeLocationNode({
71
+ service: Service76,
72
72
  layer,
73
- deps: [CrossSpawnSpawner.node, node84, node63]
73
+ deps: [CrossSpawnSpawner.node, node84, node80]
74
74
  });
75
75
 
76
- export { Service60, node62, exports_environment2, makeFiles2, exports_environment3 };
76
+ export { Service76, node79, exports_environment2, makeFiles2, exports_environment3 };
@@ -1,9 +1,9 @@
1
1
  import {
2
- ID9
3
- } from "./form-8rt04me1.js";
2
+ ID6
3
+ } from "./agent-rcgt23b9.js";
4
4
  import {
5
5
  loadSDKFactory2
6
- } from "./form-hjbc5kem.js";
6
+ } from "./agent-hjbc5kem.js";
7
7
 
8
8
  // src/plugin/provider/sap-ai-core.ts
9
9
  import { Effect } from "effect";
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
14
14
  effect: Effect.fn(function* (ctx) {
15
15
  const npm = yield* Npm.Service;
16
16
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
17
- if (evt.model.providerID !== ID9.make("sap-ai-core"))
17
+ if (evt.model.providerID !== ID6.make("sap-ai-core"))
18
18
  return;
19
19
  const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
20
20
  if (serviceKey && !process.env.AICORE_SERVICE_KEY)
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
25
25
  evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
26
26
  }));
27
27
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
28
- if (evt.model.providerID !== ID9.make("sap-ai-core"))
28
+ if (evt.model.providerID !== ID6.make("sap-ai-core"))
29
29
  return;
30
30
  evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
31
31
  }));
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./form-19tft2ya.js";
4
+ } from "./agent-q3zwv4bp.js";
5
5
  import {
6
6
  create3
7
- } from "./form-rdw6cm16.js";
7
+ } from "./agent-rdw6cm16.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./form-78eghtzp.js";
10
+ } from "./agent-6qckwf5w.js";
11
11
  import {
12
12
  __export
13
- } from "./form-9rqn6x4v.js";
13
+ } from "./agent-9rqn6x4v.js";
14
14
 
15
15
  // src/skill.ts
16
16
  var exports_skill5 = {};
17
17
  __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
- Event: () => Event10,
21
- ID: () => ID6,
22
- Info: () => Info20,
20
+ Event: () => Event4,
21
+ ID: () => ID3,
22
+ Info: () => Info5,
23
23
  Name: () => Name2,
24
- Service: () => Service51,
24
+ Service: () => Service40,
25
25
  Skill: () => exports_skill5,
26
- Source: () => Source4,
26
+ Source: () => Source3,
27
27
  UrlSource: () => UrlSource2,
28
28
  available: () => available2,
29
- node: () => node53,
29
+ node: () => node42,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import path from "path";
35
35
  import { Context, Effect, Layer } from "effect";
36
36
  import { Skill } from "@opencode/schema/skill";
37
- import { Event as Event10 } from "@opencode/schema/skill";
37
+ import { Event as Event4 } from "@opencode/schema/skill";
38
38
  var DirectorySource2 = Skill.DirectorySource;
39
39
  var UrlSource2 = Skill.UrlSource;
40
40
  var EmbeddedSource2 = Skill.EmbeddedSource;
41
- var Source4 = Skill.Source;
42
- var Info20 = Skill.Info;
43
- var ID6 = Skill.ID;
41
+ var Source3 = Skill.Source;
42
+ var Info5 = Skill.Info;
43
+ var ID3 = Skill.ID;
44
44
  var Name2 = Skill.Name;
45
45
  var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
46
46
  var toModelOutput3 = (skill, files) => {
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
71
71
  };
72
72
  });
73
73
 
74
- class Service51 extends Context.Service()("@opencode/Skill") {
74
+ class Service40 extends Context.Service()("@opencode/Skill") {
75
75
  }
76
- var layer = Layer.effect(Service51, Effect.gen(function* () {
76
+ var layer = Layer.effect(Service40, Effect.gen(function* () {
77
77
  const bus = yield* Service83;
78
78
  const state = create3({
79
79
  name: "skill",
80
80
  initial: () => ({ skills: new Map }),
81
81
  editor: (editor) => ({
82
82
  list: () => Array.from(editor.skills.values()),
83
- get: (id) => editor.skills.get(ID6.make(id)),
83
+ get: (id) => editor.skills.get(ID3.make(id)),
84
84
  add: (skill) => {
85
85
  editor.skills.set(skill.id, { ...skill });
86
86
  },
87
87
  update: (id, update) => {
88
- const current = editor.skills.get(ID6.make(id));
88
+ const current = editor.skills.get(ID3.make(id));
89
89
  if (!current)
90
90
  return;
91
91
  update(current);
92
- current.id = ID6.make(id);
92
+ current.id = ID3.make(id);
93
93
  },
94
94
  remove: (id) => {
95
- editor.skills.delete(ID6.make(id));
95
+ editor.skills.delete(ID3.make(id));
96
96
  }
97
97
  }),
98
98
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
99
99
  });
100
- return Service51.of({
100
+ return Service40.of({
101
101
  transform: state.transform,
102
102
  reload: state.reload,
103
103
  get: Effect.fn("Skill.get")(function* (id) {
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
108
108
  })
109
109
  });
110
110
  }));
111
- var node53 = makeLocationNode({
112
- service: Service51,
111
+ var node42 = makeLocationNode({
112
+ service: Service40,
113
113
  layer,
114
114
  deps: [node87]
115
115
  });
116
116
 
117
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info20, ID6, Name2, available2, toModelOutput3, prepare3, Service51, node53, exports_skill5, Event10 };
117
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info5, ID3, Name2, available2, toModelOutput3, prepare3, Service40, node42, exports_skill5, Event4 };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  definition2,
3
3
  normalizedName2
4
- } from "./form-3w5fmr99.js";
4
+ } from "./agent-3w5fmr99.js";
5
5
  import {
6
6
  extension2,
7
7
  display2
8
- } from "./form-m3fdjcah.js";
8
+ } from "./agent-m3fdjcah.js";
9
9
  import {
10
10
  __export
11
- } from "./form-9rqn6x4v.js";
11
+ } from "./agent-9rqn6x4v.js";
12
12
 
13
13
  // src/codemode/tool.ts
14
14
  var exports_tool2 = {};
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  latest2,
3
- Service41
4
- } from "./form-8mhxxeg4.js";
3
+ Service47
4
+ } from "./agent-0yxqwdtr.js";
5
5
  import {
6
6
  observe2
7
- } from "./form-qsdy395h.js";
7
+ } from "./agent-qsdy395h.js";
8
8
  import {
9
9
  __export
10
- } from "./form-9rqn6x4v.js";
10
+ } from "./agent-9rqn6x4v.js";
11
11
 
12
12
  // src/config/plugin/websearch.ts
13
- var exports_websearch = {};
14
- __export(exports_websearch, {
15
- ConfigWebSearchPlugin: () => exports_websearch,
16
- Plugin: () => Plugin19
13
+ var exports_websearch2 = {};
14
+ __export(exports_websearch2, {
15
+ ConfigWebSearchPlugin: () => exports_websearch2,
16
+ Plugin: () => Plugin32
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect } from "effect";
20
- var Plugin19 = define({
20
+ var Plugin32 = define({
21
21
  id: "opencode.config.websearch",
22
22
  effect: Effect.fn(function* (ctx) {
23
- const config = yield* Service41;
23
+ const config = yield* Service47;
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 Plugin19 = define({
32
32
  })
33
33
  });
34
34
 
35
- export { Plugin19, exports_websearch };
35
+ export { Plugin32, exports_websearch2 };