@opencode/core 0.0.0-dev-21907 → 0.0.0-dev-21915

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 (830) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +89 -89
  3. package/dist/aisdk-native.js +97 -97
  4. package/dist/aisdk.js +103 -103
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +79 -79
  7. package/dist/chunks/{bus-8bc2ahr8.js → event-logger-033a0jkt.js} +3 -3
  8. package/dist/chunks/{bus-034tev2y.js → event-logger-034tev2y.js} +2 -2
  9. package/dist/chunks/{bus-bk82rjt0.js → event-logger-061dfjk9.js} +8 -8
  10. package/dist/chunks/{bus-sw24syn0.js → event-logger-0eyqpy28.js} +32 -32
  11. package/dist/chunks/{bus-bk5yxjph.js → event-logger-0mg8kcn3.js} +43 -14
  12. package/dist/chunks/{bus-03by3cwk.js → event-logger-0svvf4a3.js} +38 -38
  13. package/dist/chunks/{bus-eee67rgn.js → event-logger-0xy3w4m6.js} +8 -8
  14. package/dist/chunks/{bus-f5tgpm46.js → event-logger-179sgv51.js} +27 -27
  15. package/dist/chunks/{bus-99jatacy.js → event-logger-1db62psx.js} +37 -37
  16. package/dist/chunks/{bus-1ep2p91f.js → event-logger-1ep2p91f.js} +2 -2
  17. package/dist/chunks/{bus-mycebjfh.js → event-logger-1fnhqpt4.js} +16 -16
  18. package/dist/chunks/{bus-r971zhf3.js → event-logger-1nsj622r.js} +16 -16
  19. package/dist/chunks/{bus-7rnxwetx.js → event-logger-1qjnrqep.js} +11 -11
  20. package/dist/chunks/{bus-ajd5hdww.js → event-logger-1rjegszx.js} +4 -4
  21. package/dist/chunks/{bus-1x2knyw4.js → event-logger-1x2knyw4.js} +1 -1
  22. package/dist/chunks/{bus-hykv42xb.js → event-logger-1z6t7raf.js} +6 -6
  23. package/dist/chunks/{bus-204s3925.js → event-logger-204s3925.js} +1 -1
  24. package/dist/chunks/{bus-q3v19tnv.js → event-logger-213mv4pq.js} +16 -16
  25. package/dist/chunks/{bus-aznc0wg6.js → event-logger-2dbq5t1r.js} +15 -15
  26. package/dist/chunks/{bus-hycgcsfg.js → event-logger-2kc953ej.js} +21 -21
  27. package/dist/chunks/{bus-q7k7k9zt.js → event-logger-2nf2vr7j.js} +14 -14
  28. package/dist/chunks/{bus-5kgs3fk1.js → event-logger-2yvtks3w.js} +3 -3
  29. package/dist/chunks/{bus-2z1j29yd.js → event-logger-2z1j29yd.js} +1 -1
  30. package/dist/chunks/{bus-dhmvnrgm.js → event-logger-30147ds3.js} +6 -6
  31. package/dist/chunks/{bus-vdevhkrp.js → event-logger-331zmft7.js} +15 -15
  32. package/dist/chunks/{bus-5gj3tx04.js → event-logger-33j2zr63.js} +90 -90
  33. package/dist/chunks/{bus-ysmsbjaj.js → event-logger-3h86dkjt.js} +13 -13
  34. package/dist/chunks/{bus-3hepkmqq.js → event-logger-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{bus-e62eb929.js → event-logger-3jazymwx.js} +17 -17
  36. package/dist/chunks/{bus-3nnrz6f6.js → event-logger-3nnrz6f6.js} +1 -1
  37. package/dist/chunks/{bus-sfdjt92e.js → event-logger-408nx0y9.js} +42 -42
  38. package/dist/chunks/{bus-w2eysc6j.js → event-logger-40za9wsf.js} +9 -9
  39. package/dist/chunks/{bus-8e1cbgyq.js → event-logger-410zp742.js} +27 -27
  40. package/dist/chunks/{bus-qjvfpt08.js → event-logger-43c01wrt.js} +19 -19
  41. package/dist/chunks/{bus-1698wpxp.js → event-logger-44552vd9.js} +13 -13
  42. package/dist/chunks/{bus-a9pjz7vk.js → event-logger-4538h11c.js} +7 -7
  43. package/dist/chunks/{bus-rvy9q8yv.js → event-logger-4dtq8qg7.js} +60 -60
  44. package/dist/chunks/{bus-c6esxhxn.js → event-logger-4m87gk4h.js} +2 -2
  45. package/dist/chunks/event-logger-4my81qaj.js +18 -0
  46. package/dist/chunks/{bus-exmjyqxw.js → event-logger-4pkf34m0.js} +77 -77
  47. package/dist/chunks/{bus-4v008n1t.js → event-logger-4v008n1t.js} +1 -1
  48. package/dist/chunks/{bus-80h5wm4e.js → event-logger-4xa9359s.js} +9 -9
  49. package/dist/chunks/{bus-4xvmh7wp.js → event-logger-4xvmh7wp.js} +3 -3
  50. package/dist/chunks/{bus-jrbr2x0q.js → event-logger-4zf9yj1j.js} +115 -35
  51. package/dist/chunks/{bus-mvcrexfa.js → event-logger-530cxj2z.js} +35 -35
  52. package/dist/chunks/{bus-bc9saq22.js → event-logger-57p1m9rz.js} +32 -32
  53. package/dist/chunks/{bus-7y435gmv.js → event-logger-58fpqt79.js} +9 -9
  54. package/dist/chunks/{bus-3e8ceph6.js → event-logger-5cppamkc.js} +23 -23
  55. package/dist/chunks/{bus-5m9w47nd.js → event-logger-5m9w47nd.js} +1 -1
  56. package/dist/chunks/{bus-vtpazhgh.js → event-logger-5r72z9dp.js} +8 -8
  57. package/dist/chunks/{bus-k5d4j8z4.js → event-logger-5rn25pwd.js} +21 -21
  58. package/dist/chunks/{bus-gk1qs540.js → event-logger-5rt97jkw.js} +12 -12
  59. package/dist/chunks/{bus-p7vhpwh8.js → event-logger-5zrxpy3q.js} +5 -5
  60. package/dist/chunks/{bus-p5vmjcfz.js → event-logger-618s5217.js} +14 -14
  61. package/dist/chunks/{bus-14g7fecp.js → event-logger-68ms0fh2.js} +23 -23
  62. package/dist/chunks/{bus-6esdw8yj.js → event-logger-6esdw8yj.js} +1 -1
  63. package/dist/chunks/{bus-1vzhn0q5.js → event-logger-6nye8dts.js} +9 -9
  64. package/dist/chunks/{bus-6pjqjmy2.js → event-logger-6pjqjmy2.js} +1 -1
  65. package/dist/chunks/{bus-2hpnm9qe.js → event-logger-6szn2v48.js} +37 -37
  66. package/dist/chunks/{bus-6xqtcmxs.js → event-logger-6y263vp8.js} +5 -5
  67. package/dist/chunks/{bus-k1pmdhpd.js → event-logger-6yv8zpps.js} +21 -13
  68. package/dist/chunks/{bus-76cb1hcw.js → event-logger-76cb1hcw.js} +1 -1
  69. package/dist/chunks/{bus-qbstm7ap.js → event-logger-76szp9yy.js} +46 -46
  70. package/dist/chunks/{bus-tcgwp76v.js → event-logger-77s6zpp3.js} +27 -27
  71. package/dist/chunks/{bus-zqmcp0g3.js → event-logger-78n4qc0z.js} +4 -4
  72. package/dist/chunks/{bus-7bmhse3q.js → event-logger-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{bus-myhb5naa.js → event-logger-7che9vcx.js} +22 -22
  74. package/dist/chunks/event-logger-7q08zbzq.js +26 -0
  75. package/dist/chunks/{bus-afrxa0gm.js → event-logger-7vz8pb8x.js} +45 -45
  76. package/dist/chunks/{bus-7w2ypzdf.js → event-logger-7w2ypzdf.js} +1 -1
  77. package/dist/chunks/{bus-pfaba2d9.js → event-logger-7ytgdqqc.js} +25 -25
  78. package/dist/chunks/{bus-3td5s6k1.js → event-logger-83fr3fym.js} +16 -16
  79. package/dist/chunks/{bus-cytdwc0b.js → event-logger-86g6sxng.js} +12 -12
  80. package/dist/chunks/{bus-9jm2pk93.js → event-logger-886bz3e9.js} +58 -32
  81. package/dist/chunks/{bus-jas55q5n.js → event-logger-88a5ws0g.js} +22 -22
  82. package/dist/chunks/{bus-tpmb1y7t.js → event-logger-8aemar9r.js} +47 -47
  83. package/dist/chunks/{bus-1bt9vvmj.js → event-logger-8h2npe5w.js} +4 -4
  84. package/dist/chunks/{bus-11hfp36g.js → event-logger-8jztxfpf.js} +4 -4
  85. package/dist/chunks/{bus-9g4cv0f3.js → event-logger-8k8s1td8.js} +5 -5
  86. package/dist/chunks/{bus-8wtp7s3z.js → event-logger-8wtp7s3z.js} +1 -1
  87. package/dist/chunks/{bus-91rj84md.js → event-logger-91rj84md.js} +1 -1
  88. package/dist/chunks/event-logger-99bhpp1n.js +517 -0
  89. package/dist/chunks/{bus-qfw3wr58.js → event-logger-9crppwnt.js} +13 -13
  90. package/dist/chunks/{bus-9cx9sm2q.js → event-logger-9cx9sm2q.js} +1 -1
  91. package/dist/chunks/{bus-fj3j5kfg.js → event-logger-9f7hjvpa.js} +17 -17
  92. package/dist/chunks/{bus-r9zrswe1.js → event-logger-9r0x1bva.js} +9 -9
  93. package/dist/chunks/{bus-515bhrak.js → event-logger-9rr00cqq.js} +34 -34
  94. package/dist/chunks/{bus-5h0dvzfk.js → event-logger-9s0e97ng.js} +35 -35
  95. package/dist/chunks/{bus-zh7bbm8x.js → event-logger-9z9tayqc.js} +9 -9
  96. package/dist/chunks/{bus-226302vw.js → event-logger-a32zpqad.js} +11 -11
  97. package/dist/chunks/{bus-hqvan761.js → event-logger-a52e4zaq.js} +5 -5
  98. package/dist/chunks/{bus-q5cprkbt.js → event-logger-a8sm5zt7.js} +14 -14
  99. package/dist/chunks/{bus-3cdqwz07.js → event-logger-akgtqb0c.js} +11 -11
  100. package/dist/chunks/{bus-ayjs7tqn.js → event-logger-ayjs7tqn.js} +2 -2
  101. package/dist/chunks/{bus-b0mv4wxm.js → event-logger-b0mv4wxm.js} +2 -2
  102. package/dist/chunks/{bus-spg2ankq.js → event-logger-b42k84jp.js} +21 -21
  103. package/dist/chunks/{bus-b6vsg801.js → event-logger-b6vsg801.js} +2 -2
  104. package/dist/chunks/{bus-hp3ha1q3.js → event-logger-b8teqy6w.js} +5 -5
  105. package/dist/chunks/{bus-xkrnyxxn.js → event-logger-basczpv8.js} +16 -16
  106. package/dist/chunks/{bus-68wbjj2w.js → event-logger-bf5n42xj.js} +9 -9
  107. package/dist/chunks/{bus-ydntad1m.js → event-logger-bfbc4kpy.js} +11 -11
  108. package/dist/chunks/{bus-cetxr85h.js → event-logger-bn6jkna4.js} +18 -18
  109. package/dist/chunks/{bus-6gfebbwh.js → event-logger-bqe25t1z.js} +5 -5
  110. package/dist/chunks/{bus-jneg3k74.js → event-logger-brd5eeq0.js} +8 -8
  111. package/dist/chunks/{bus-wgvnftve.js → event-logger-bvn4drfw.js} +8 -8
  112. package/dist/chunks/{bus-10p7wcyn.js → event-logger-bw78fe9b.js} +54 -18
  113. package/dist/chunks/{bus-5z4n6s5s.js → event-logger-bwsx8aca.js} +13 -13
  114. package/dist/chunks/{bus-wp3y1jpf.js → event-logger-c1df77m2.js} +18 -18
  115. package/dist/chunks/{bus-fm2qhnd3.js → event-logger-c1gsg3g8.js} +14 -14
  116. package/dist/chunks/{bus-c3qykf74.js → event-logger-c36nnf6h.js} +6 -6
  117. package/dist/chunks/{bus-s7871ny9.js → event-logger-c9pz1jz6.js} +5 -5
  118. package/dist/chunks/{bus-fhgyx4at.js → event-logger-cdgpjepk.js} +34 -34
  119. package/dist/chunks/event-logger-cfbx046s.js +257 -0
  120. package/dist/chunks/{bus-04gncrqj.js → event-logger-ch94d7vp.js} +5 -5
  121. package/dist/chunks/{bus-6r5g3pq8.js → event-logger-ck0tns3b.js} +46 -46
  122. package/dist/chunks/{bus-2azy8kv6.js → event-logger-cpvd08na.js} +4 -4
  123. package/dist/chunks/{bus-t3033492.js → event-logger-cqgy4j9b.js} +35 -35
  124. package/dist/chunks/{bus-d4v9tmah.js → event-logger-d4v9tmah.js} +2 -2
  125. package/dist/chunks/{bus-gs1z16pn.js → event-logger-dj4zrkts.js} +4 -4
  126. package/dist/chunks/{bus-6affpbgf.js → event-logger-dwcq4ckc.js} +12 -12
  127. package/dist/chunks/{bus-1f4j80qx.js → event-logger-dynzjwsk.js} +4 -4
  128. package/dist/chunks/{bus-y5vreq9e.js → event-logger-dzd14etx.js} +23 -23
  129. package/dist/chunks/{bus-bc5vr1tk.js → event-logger-e066yxsa.js} +32 -32
  130. package/dist/chunks/{bus-d1vjhdaq.js → event-logger-e19z48h8.js} +11 -11
  131. package/dist/chunks/{bus-6cahmqzr.js → event-logger-e6bk7rc7.js} +8 -8
  132. package/dist/chunks/{bus-e834z07m.js → event-logger-e834z07m.js} +1 -1
  133. package/dist/chunks/{bus-zapg5c8t.js → event-logger-ejnhfpwt.js} +35 -35
  134. package/dist/chunks/{bus-e07q2w5p.js → event-logger-eky6j0x6.js} +9 -9
  135. package/dist/chunks/{bus-rjfy8y8x.js → event-logger-ez16syfw.js} +9 -9
  136. package/dist/chunks/{bus-xffzqra6.js → event-logger-f1bpp1ef.js} +23 -23
  137. package/dist/chunks/{bus-7kh9v0xt.js → event-logger-f1gxq19d.js} +1 -1
  138. package/dist/chunks/{bus-aqvzed2h.js → event-logger-f7aqmhgm.js} +11 -11
  139. package/dist/chunks/{bus-v4p0p4kr.js → event-logger-f9c14s45.js} +6 -6
  140. package/dist/chunks/{bus-b5c00j6w.js → event-logger-fa5mv2e8.js} +23 -23
  141. package/dist/chunks/{bus-fffv3p7h.js → event-logger-fffv3p7h.js} +1 -1
  142. package/dist/chunks/{bus-4y19xy8j.js → event-logger-fh08m5h2.js} +4 -4
  143. package/dist/chunks/{bus-jtx89zvm.js → event-logger-fjg1f0qa.js} +26 -26
  144. package/dist/chunks/{bus-bwc7gg3f.js → event-logger-frm2a0t2.js} +9 -9
  145. package/dist/chunks/{bus-0h8y3ex8.js → event-logger-fznmdakp.js} +4 -4
  146. package/dist/chunks/{bus-x34gj20p.js → event-logger-g179cxj4.js} +53 -53
  147. package/dist/chunks/{bus-szt7mzga.js → event-logger-g1ac2pg3.js} +7 -7
  148. package/dist/chunks/{bus-g5h9c0rr.js → event-logger-g5h9c0rr.js} +2 -2
  149. package/dist/chunks/{bus-mj0wev1x.js → event-logger-g6dfma3d.js} +8 -8
  150. package/dist/chunks/{bus-9xpkbkd8.js → event-logger-ga597wxg.js} +22 -22
  151. package/dist/chunks/{bus-gg8p9cgs.js → event-logger-gg8p9cgs.js} +3 -3
  152. package/dist/chunks/{bus-9dm89msm.js → event-logger-gy4a15hj.js} +47 -47
  153. package/dist/chunks/{bus-e8pm465n.js → event-logger-h3b857xk.js} +4 -4
  154. package/dist/chunks/{bus-wy5w0ez1.js → event-logger-h9sxfnc4.js} +31 -31
  155. package/dist/chunks/{bus-af0k6e03.js → event-logger-hdfrs5mg.js} +9 -9
  156. package/dist/chunks/{bus-hwjd680m.js → event-logger-herh7hrd.js} +8 -8
  157. package/dist/chunks/{bus-bm3zd2ag.js → event-logger-hgbyz31g.js} +24 -24
  158. package/dist/chunks/{bus-v4q5wt5v.js → event-logger-hh6grysg.js} +4 -4
  159. package/dist/chunks/{bus-xtk0javm.js → event-logger-ht33fk1k.js} +12 -12
  160. package/dist/chunks/{bus-q5qtpxs8.js → event-logger-hwadrnp3.js} +12 -12
  161. package/dist/chunks/{bus-qryxyvz8.js → event-logger-hzqt23km.js} +41 -26
  162. package/dist/chunks/{bus-j113cymg.js → event-logger-j113cymg.js} +1 -1
  163. package/dist/chunks/{bus-0h2835nb.js → event-logger-j4danyaa.js} +4 -4
  164. package/dist/chunks/{bus-6627vg6e.js → event-logger-j7e2k5v8.js} +48 -48
  165. package/dist/chunks/{bus-861vpyk2.js → event-logger-jtk69epa.js} +31 -31
  166. package/dist/chunks/{bus-naqeecrg.js → event-logger-jv1fc1mx.js} +14 -14
  167. package/dist/chunks/{bus-arp7s6mb.js → event-logger-jxr5ks98.js} +6 -6
  168. package/dist/chunks/{bus-60b2sysp.js → event-logger-jz593hnq.js} +17 -17
  169. package/dist/chunks/{bus-k814nvkf.js → event-logger-k814nvkf.js} +1 -1
  170. package/dist/chunks/{bus-8td7g64v.js → event-logger-k8ya5e1r.js} +25 -25
  171. package/dist/chunks/{bus-a9zg9389.js → event-logger-kfvrqrnd.js} +21 -21
  172. package/dist/chunks/{bus-1rhv3m8s.js → event-logger-khycn197.js} +9 -9
  173. package/dist/chunks/{bus-b7j9y52a.js → event-logger-kqdytwcc.js} +25 -25
  174. package/dist/chunks/{bus-kt3bjfbg.js → event-logger-kt3bjfbg.js} +1 -1
  175. package/dist/chunks/{bus-dmmsnc6x.js → event-logger-kv7q9t9v.js} +55 -55
  176. package/dist/chunks/{bus-hcy860gy.js → event-logger-m0b3df16.js} +15 -15
  177. package/dist/chunks/{bus-m1714858.js → event-logger-m1714858.js} +1 -1
  178. package/dist/chunks/{bus-325yf8q3.js → event-logger-m239h48j.js} +16 -16
  179. package/dist/chunks/{bus-06w9ffrv.js → event-logger-m37sd98t.js} +7 -7
  180. package/dist/chunks/{bus-m9w0rfyh.js → event-logger-m9w0rfyh.js} +1 -1
  181. package/dist/chunks/{bus-maspj1v3.js → event-logger-maspj1v3.js} +1 -1
  182. package/dist/chunks/{bus-fnb09ptv.js → event-logger-mby4m2vn.js} +11 -11
  183. package/dist/chunks/{bus-evvtn3fj.js → event-logger-md82vg28.js} +20 -20
  184. package/dist/chunks/{bus-arzaa4xc.js → event-logger-mfp9msn1.js} +47 -47
  185. package/dist/chunks/{bus-7s5fxt8e.js → event-logger-mptppmq7.js} +5 -5
  186. package/dist/chunks/{bus-2sa2kvy2.js → event-logger-mq16y592.js} +3 -3
  187. package/dist/chunks/{bus-38ys11y3.js → event-logger-mtrbqqrq.js} +5 -5
  188. package/dist/chunks/{bus-ma08g9ez.js → event-logger-mzrr2ceq.js} +21 -21
  189. package/dist/chunks/{bus-gcjdgkn2.js → event-logger-n7bnkb3p.js} +9 -9
  190. package/dist/chunks/{bus-nah043kf.js → event-logger-nah043kf.js} +1 -1
  191. package/dist/chunks/{bus-91yegc2e.js → event-logger-nfht88f8.js} +40 -40
  192. package/dist/chunks/{bus-anc00zx6.js → event-logger-nn2wptpk.js} +5 -5
  193. package/dist/chunks/{bus-ts7mkfs9.js → event-logger-nvxqht09.js} +3 -3
  194. package/dist/chunks/{bus-8vn9yywk.js → event-logger-nz5t40nw.js} +16 -16
  195. package/dist/chunks/{bus-p015t6z3.js → event-logger-p015t6z3.js} +2 -2
  196. package/dist/chunks/{bus-6pjkp994.js → event-logger-p2nmcv9d.js} +13 -13
  197. package/dist/chunks/{bus-vkbfpqv2.js → event-logger-p3kn9h9d.js} +24 -24
  198. package/dist/chunks/{bus-g42b6ca9.js → event-logger-p76me67c.js} +4 -4
  199. package/dist/chunks/{bus-qvphs0ax.js → event-logger-pacbbjc0.js} +7 -7
  200. package/dist/chunks/{bus-gp09h32c.js → event-logger-pap6y6k1.js} +224 -199
  201. package/dist/chunks/{bus-xembn6mc.js → event-logger-peyy5ms6.js} +26 -24
  202. package/dist/chunks/{bus-qbvxytes.js → event-logger-phatgdjg.js} +20 -20
  203. package/dist/chunks/{bus-pknna89w.js → event-logger-pknna89w.js} +1 -1
  204. package/dist/chunks/{bus-cbh9yhw2.js → event-logger-pmbbezah.js} +18 -18
  205. package/dist/chunks/{bus-7q6zejkd.js → event-logger-pqzzv18e.js} +17 -17
  206. package/dist/chunks/{bus-mm7a63e9.js → event-logger-prq7xxp2.js} +8 -8
  207. package/dist/chunks/{bus-gjm7strt.js → event-logger-psvq06ac.js} +4 -4
  208. package/dist/chunks/{bus-p1vte9h6.js → event-logger-pymyzg4j.js} +11 -11
  209. package/dist/chunks/{bus-nvd7c3zs.js → event-logger-q05tgvb2.js} +4 -4
  210. package/dist/chunks/{bus-t6a716ee.js → event-logger-q2vz9kat.js} +20 -20
  211. package/dist/chunks/{bus-t3ktgnsz.js → event-logger-q61wn67c.js} +15 -15
  212. package/dist/chunks/{bus-1m8y6k7r.js → event-logger-qa95shqj.js} +20 -20
  213. package/dist/chunks/{bus-ny3z2qsn.js → event-logger-qa9tft3h.js} +120 -94
  214. package/dist/chunks/{bus-yk7190x1.js → event-logger-qd1s09xq.js} +24 -24
  215. package/dist/chunks/{bus-fmg43r8j.js → event-logger-qfjvy58c.js} +6 -6
  216. package/dist/chunks/{bus-de9p47jd.js → event-logger-qg7vbzw0.js} +27 -27
  217. package/dist/chunks/{bus-tk15c3h1.js → event-logger-qgehj1ry.js} +23 -23
  218. package/dist/chunks/{bus-hryaegyv.js → event-logger-qnxr7c2a.js} +6 -6
  219. package/dist/chunks/{bus-sr4pc43g.js → event-logger-qwcg15xq.js} +2 -2
  220. package/dist/chunks/{bus-r0yr0wbs.js → event-logger-r0yr0wbs.js} +1 -1
  221. package/dist/chunks/{bus-r542h3bh.js → event-logger-r542h3bh.js} +1 -1
  222. package/dist/chunks/{bus-rb9dy4dg.js → event-logger-rb9dy4dg.js} +1 -1
  223. package/dist/chunks/{bus-6t25ffne.js → event-logger-re1qaq4d.js} +15 -15
  224. package/dist/chunks/{bus-bhntk9z8.js → event-logger-rrd1tyyg.js} +5 -5
  225. package/dist/chunks/{bus-rt5dr6hb.js → event-logger-rt5dr6hb.js} +1 -1
  226. package/dist/chunks/{bus-ayp6ft07.js → event-logger-ryaxndx4.js} +37 -37
  227. package/dist/chunks/{bus-zzdv5d93.js → event-logger-s626qfae.js} +4 -4
  228. package/dist/chunks/{bus-6q9ah33w.js → event-logger-sa2m7fmb.js} +21 -21
  229. package/dist/chunks/{bus-sa3fpqfw.js → event-logger-sa3fpqfw.js} +2 -2
  230. package/dist/chunks/{bus-f8n4mxy8.js → event-logger-sc7s3392.js} +15 -15
  231. package/dist/chunks/{bus-7v4nb4v9.js → event-logger-sfe1x69m.js} +41 -41
  232. package/dist/chunks/{bus-hrt6tjqe.js → event-logger-shd4apfp.js} +5 -5
  233. package/dist/chunks/{bus-e154t17g.js → event-logger-shdc20fs.js} +14 -14
  234. package/dist/chunks/{bus-88s42yqx.js → event-logger-sjt0aqsb.js} +25 -25
  235. package/dist/chunks/{bus-ysc6sw8a.js → event-logger-sk0dcrgn.js} +1 -1
  236. package/dist/chunks/{bus-m3gs1vdh.js → event-logger-skpj3wch.js} +13 -13
  237. package/dist/chunks/{bus-sqjzf8x2.js → event-logger-sqjzf8x2.js} +1 -1
  238. package/dist/chunks/{bus-kkqethq7.js → event-logger-ssfehs1z.js} +4 -4
  239. package/dist/chunks/{bus-ze66xykb.js → event-logger-ssv8d6ry.js} +3 -3
  240. package/dist/chunks/{bus-bbd87rcg.js → event-logger-st4dmjma.js} +51 -51
  241. package/dist/chunks/{bus-3t73xeyv.js → event-logger-st7p3hwb.js} +2 -2
  242. package/dist/chunks/{bus-tjfw40a7.js → event-logger-sy707q11.js} +11 -11
  243. package/dist/chunks/{bus-ck985c68.js → event-logger-syrbqdmj.js} +21 -21
  244. package/dist/chunks/{bus-vgfth9qf.js → event-logger-t5zwprfx.js} +30 -30
  245. package/dist/chunks/{bus-jcvnbv1k.js → event-logger-t7z44kv1.js} +33 -33
  246. package/dist/chunks/{bus-y3tjenf1.js → event-logger-tbx1dsy3.js} +23 -23
  247. package/dist/chunks/{bus-78mmhka5.js → event-logger-tcjkzhbf.js} +19 -19
  248. package/dist/chunks/{bus-tczq8hjw.js → event-logger-tczq8hjw.js} +1 -1
  249. package/dist/chunks/{bus-9xjbx8n2.js → event-logger-td0tf8cx.js} +11 -11
  250. package/dist/chunks/{bus-w87dvzaw.js → event-logger-tdjd85a2.js} +40 -40
  251. package/dist/chunks/{bus-160yv0cs.js → event-logger-tg1vr1qt.js} +8 -8
  252. package/dist/chunks/{bus-bmrkdhmd.js → event-logger-ts1a0z93.js} +21 -21
  253. package/dist/chunks/{bus-twv2r8f4.js → event-logger-twv2r8f4.js} +2 -2
  254. package/dist/chunks/{bus-st29pnas.js → event-logger-tyred3qc.js} +18 -18
  255. package/dist/chunks/{bus-v2r1d0zg.js → event-logger-v2r1d0zg.js} +1 -1
  256. package/dist/chunks/{bus-veqvce7d.js → event-logger-veqvce7d.js} +1 -1
  257. package/dist/chunks/{bus-90qm72cp.js → event-logger-vhwcqbf2.js} +17 -17
  258. package/dist/chunks/{bus-gjemyhff.js → event-logger-vkhmt3za.js} +32 -32
  259. package/dist/chunks/{bus-c8v47ftr.js → event-logger-vpbqyf0k.js} +22 -22
  260. package/dist/chunks/{bus-w990mwhs.js → event-logger-vqrx5bk3.js} +8 -8
  261. package/dist/chunks/{bus-ttg1ty4j.js → event-logger-vx7ymf2n.js} +32 -32
  262. package/dist/chunks/{bus-aaybcdk7.js → event-logger-vxxaf4jx.js} +11 -11
  263. package/dist/chunks/{bus-3x5ztk31.js → event-logger-vz52s56h.js} +54 -54
  264. package/dist/chunks/{bus-889cpvr6.js → event-logger-w0cs00f7.js} +18 -18
  265. package/dist/chunks/{bus-7h2bs24q.js → event-logger-w2b5jz6s.js} +3 -3
  266. package/dist/chunks/{bus-9q8g9sv8.js → event-logger-w35wzz9x.js} +4 -4
  267. package/dist/chunks/{bus-w3wsvvr9.js → event-logger-w3wsvvr9.js} +1 -1
  268. package/dist/chunks/{bus-wakvkjy4.js → event-logger-wakvkjy4.js} +1 -1
  269. package/dist/chunks/{bus-wd87259q.js → event-logger-wd87259q.js} +1 -1
  270. package/dist/chunks/{bus-224exebk.js → event-logger-wvngvz36.js} +17 -17
  271. package/dist/chunks/{bus-m3797hzn.js → event-logger-wyqjen5s.js} +11 -11
  272. package/dist/chunks/{bus-hsa266sk.js → event-logger-wzp5edw8.js} +8 -8
  273. package/dist/chunks/{bus-sassz3xq.js → event-logger-x0hhhwgh.js} +35 -35
  274. package/dist/chunks/{bus-by9953cg.js → event-logger-x0z7d0h1.js} +28 -28
  275. package/dist/chunks/{bus-mp9hgv35.js → event-logger-x57zhnt4.js} +49 -49
  276. package/dist/chunks/{bus-y6ywa6wq.js → event-logger-x98cm754.js} +18 -18
  277. package/dist/chunks/{bus-fxw3dg4r.js → event-logger-xczbbc2n.js} +13 -13
  278. package/dist/chunks/{bus-bstexjd6.js → event-logger-xd9cc171.js} +5 -5
  279. package/dist/chunks/{bus-s2h41nq1.js → event-logger-xm0409en.js} +6 -6
  280. package/dist/chunks/{bus-dcfp8a60.js → event-logger-xxadresr.js} +23 -23
  281. package/dist/chunks/{bus-fpknp6dy.js → event-logger-xzk44jme.js} +25 -25
  282. package/dist/chunks/{bus-yara3q77.js → event-logger-yara3q77.js} +2 -2
  283. package/dist/chunks/{bus-yb20nhc3.js → event-logger-yb20nhc3.js} +1 -1
  284. package/dist/chunks/{bus-wnzgjcsx.js → event-logger-ygbhaca5.js} +14 -14
  285. package/dist/chunks/{bus-kfq3jpzd.js → event-logger-yyt2djfr.js} +12 -12
  286. package/dist/chunks/{bus-z0bkrqjs.js → event-logger-z0bkrqjs.js} +1 -1
  287. package/dist/chunks/{bus-z38nccrw.js → event-logger-z38nccrw.js} +1 -1
  288. package/dist/chunks/{bus-rk1e0zha.js → event-logger-z8rfms9g.js} +12 -12
  289. package/dist/chunks/{bus-zkg84ctx.js → event-logger-zkg84ctx.js} +1 -1
  290. package/dist/chunks/{bus-haxfm848.js → event-logger-zmwdvt2x.js} +11 -11
  291. package/dist/chunks/{bus-ezdtp85a.js → event-logger-zq9gq21d.js} +11 -11
  292. package/dist/chunks/{bus-a2jg842h.js → event-logger-zt0grhjq.js} +36 -36
  293. package/dist/chunks/{bus-vzq80nbx.js → event-logger-zt1y2eyh.js} +24 -24
  294. package/dist/chunks/{bus-kkms64sw.js → event-logger-zxhnf3hq.js} +6 -6
  295. package/dist/codemode/catalog.js +1 -1
  296. package/dist/codemode/instructions.js +7 -7
  297. package/dist/codemode/tool.js +3 -3
  298. package/dist/codemode/web.js +1 -1
  299. package/dist/command.js +89 -89
  300. package/dist/config/discovery.js +90 -90
  301. package/dist/config/integration.js +7 -7
  302. package/dist/config/markdown.js +1 -1
  303. package/dist/config/normalize.js +107 -107
  304. package/dist/config/plugin/agent.js +123 -123
  305. package/dist/config/plugin/command.js +221 -221
  306. package/dist/config/plugin/compaction.js +162 -162
  307. package/dist/config/plugin/compatibility.js +142 -142
  308. package/dist/config/plugin/entry-observer.js +1 -1
  309. package/dist/config/plugin/formatter.js +122 -122
  310. package/dist/config/plugin/image.js +121 -121
  311. package/dist/config/plugin/instruction.js +121 -121
  312. package/dist/config/plugin/location-watcher.js +123 -123
  313. package/dist/config/plugin/mcp.js +132 -132
  314. package/dist/config/plugin/policy.js +123 -123
  315. package/dist/config/plugin/provider.js +122 -122
  316. package/dist/config/plugin/reference.js +123 -123
  317. package/dist/config/plugin/shell.js +123 -123
  318. package/dist/config/plugin/skill-file.js +138 -138
  319. package/dist/config/plugin/skill-scan.js +1 -1
  320. package/dist/config/plugin/skill.js +143 -143
  321. package/dist/config/plugin/snapshot.js +119 -119
  322. package/dist/config/plugin/source.js +124 -124
  323. package/dist/config/plugin/tool-output.js +122 -122
  324. package/dist/config/plugin/websearch.js +122 -122
  325. package/dist/config/plugin/worktree.js +123 -123
  326. package/dist/config/variable.js +1 -1
  327. package/dist/config/watch.js +1 -1
  328. package/dist/config.js +126 -126
  329. package/dist/console-access.js +1 -1
  330. package/dist/credential/sql.js +2 -2
  331. package/dist/credential.js +91 -91
  332. package/dist/database/database.js +78 -78
  333. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  334. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  335. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  336. package/dist/database/drizzle/index.js +15 -15
  337. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  340. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  343. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  344. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  345. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  346. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  347. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  348. package/dist/database/drizzle.js +16 -16
  349. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  350. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  351. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  352. package/dist/database/migration/20260225215848_workspace.js +1 -1
  353. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  354. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  355. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  356. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  357. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  358. package/dist/database/migration/20260323234822_events.js +1 -1
  359. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  360. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  361. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  362. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  363. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  364. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  365. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  366. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  367. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  368. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  369. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  370. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  371. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  372. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  373. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  374. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  375. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  376. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  377. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  378. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  379. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  380. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  381. package/dist/database/migration/20260611035744_credential.js +1 -1
  382. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  383. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  384. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  385. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  386. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  387. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  388. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  389. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  390. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  391. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  392. package/dist/database/migration/20260812213948_worktree.js +1 -1
  393. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  394. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  395. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  396. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  397. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  398. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  399. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  400. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  401. package/dist/database/migration/20261025123711_blob.js +1 -1
  402. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  403. package/dist/database/migration.gen.js +55 -55
  404. package/dist/database/migration.js +57 -57
  405. package/dist/database/path.js +2 -2
  406. package/dist/database/schema.gen.js +1 -1
  407. package/dist/database/schema.sql.js +1 -1
  408. package/dist/database/sqlite.bun.js +1 -1
  409. package/dist/database/sqlite.js +1 -1
  410. package/dist/database/sqlite.node.js +1 -1
  411. package/dist/database/sqlite.workerd.js +1 -1
  412. package/dist/database/v1-migration.bun.js +103 -103
  413. package/dist/database/v1-migration.js +1 -1
  414. package/dist/effect/app-node-builder.js +381 -381
  415. package/dist/effect/app-node-platform.js +2 -2
  416. package/dist/effect/keyed-mutex.js +3 -3
  417. package/dist/effect/websocket-constructor.js +1 -1
  418. package/dist/environment/driver.js +1 -1
  419. package/dist/environment/environment.js +101 -101
  420. package/dist/environment/exec-defaults.js +2 -2
  421. package/dist/environment/files.js +1 -1
  422. package/dist/environment/index.js +101 -101
  423. package/dist/environment/local.js +2 -2
  424. package/dist/environment/memory.js +2 -2
  425. package/dist/environment/unavailable.js +3 -3
  426. package/dist/event/sql.js +1 -1
  427. package/dist/event-logger.js +80 -80
  428. package/dist/file-access.js +140 -140
  429. package/dist/file-mutation.js +102 -102
  430. package/dist/file-retention.js +1 -1
  431. package/dist/filesystem/fff.bun.js +2 -2
  432. package/dist/filesystem/fff.js +1 -1
  433. package/dist/filesystem/fff.node.js +2 -2
  434. package/dist/filesystem/fff.workerd.js +2 -2
  435. package/dist/filesystem/file-watch.js +86 -86
  436. package/dist/filesystem/location-watcher-policy.js +6 -6
  437. package/dist/filesystem/location-watcher.js +234 -234
  438. package/dist/filesystem/protected.js +1 -1
  439. package/dist/filesystem/search.js +107 -107
  440. package/dist/filesystem/watcher-binding.js +1 -1
  441. package/dist/filesystem/watcher.js +11 -11
  442. package/dist/filesystem.js +112 -112
  443. package/dist/form.js +90 -90
  444. package/dist/formatter/builtins.js +4 -4
  445. package/dist/formatter.js +95 -95
  446. package/dist/generate.js +113 -113
  447. package/dist/git.js +11 -11
  448. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  449. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  450. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  451. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  452. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  453. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  454. package/dist/github-copilot/copilot-provider.js +17 -17
  455. package/dist/github-copilot/models.js +99 -99
  456. package/dist/github-copilot/openai-compatible-error.js +1 -1
  457. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  458. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  459. package/dist/github-copilot/responses/openai-error.js +1 -1
  460. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  461. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  462. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  463. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  464. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  465. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  466. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  467. package/dist/image/photon.js +2 -2
  468. package/dist/image.js +6 -6
  469. package/dist/instance/service.js +5 -5
  470. package/dist/instance.js +372 -372
  471. package/dist/instruction-discovery.js +92 -92
  472. package/dist/instructions/builtins.js +95 -95
  473. package/dist/instructions/index.js +5 -5
  474. package/dist/integration/connection.js +3 -3
  475. package/dist/integration.js +97 -97
  476. package/dist/job.js +84 -84
  477. package/dist/kv/sql.js +2 -2
  478. package/dist/kv.js +79 -79
  479. package/dist/location-activity.js +166 -166
  480. package/dist/location-lifecycle.js +142 -142
  481. package/dist/location-service-map.js +94 -94
  482. package/dist/location-services.js +369 -369
  483. package/dist/location.js +97 -97
  484. package/dist/managed-policy.js +9 -9
  485. package/dist/mcp/client.js +99 -99
  486. package/dist/mcp/index.js +117 -117
  487. package/dist/mcp/instructions.js +168 -168
  488. package/dist/mcp/oauth.js +84 -84
  489. package/dist/mcp/socket-client.js +1 -1
  490. package/dist/mcp/stdio.js +98 -98
  491. package/dist/mime.js +1 -1
  492. package/dist/modal/models.js +99 -99
  493. package/dist/model-resolver.js +107 -107
  494. package/dist/model-retry.js +1 -1
  495. package/dist/model.js +110 -110
  496. package/dist/models-dev.js +115 -115
  497. package/dist/oauth/page.js +1 -1
  498. package/dist/permission/saved.js +88 -88
  499. package/dist/permission/sql.js +5 -5
  500. package/dist/permission.js +145 -145
  501. package/dist/persistent-pty/binary.bun.js +1 -1
  502. package/dist/persistent-pty/daemon.js +1 -1
  503. package/dist/persistent-pty/index.js +88 -88
  504. package/dist/persistent-pty/pty-binding.js +1 -1
  505. package/dist/persistent-pty.js +81 -81
  506. package/dist/plugin/agent.js +82 -82
  507. package/dist/plugin/command.js +110 -110
  508. package/dist/plugin/hooks.js +5 -5
  509. package/dist/plugin/host.js +227 -227
  510. package/dist/plugin/identity.js +5 -5
  511. package/dist/plugin/instance.js +5 -5
  512. package/dist/plugin/internal.js +342 -342
  513. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  514. package/dist/plugin/models-dev.js +104 -104
  515. package/dist/plugin/module.js +123 -123
  516. package/dist/plugin/optimize.js +4 -4
  517. package/dist/plugin/plan.js +138 -138
  518. package/dist/plugin/promise.js +1 -1
  519. package/dist/plugin/provider/amazon-bedrock.js +98 -98
  520. package/dist/plugin/provider/azure.js +121 -121
  521. package/dist/plugin/provider/cerebras.js +1 -1
  522. package/dist/plugin/provider/chatgpt.js +121 -121
  523. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  524. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  525. package/dist/plugin/provider/cohere.js +2 -2
  526. package/dist/plugin/provider/configured.js +117 -117
  527. package/dist/plugin/provider/databricks.js +1 -1
  528. package/dist/plugin/provider/digitalocean.js +101 -101
  529. package/dist/plugin/provider/dynamic.js +2 -2
  530. package/dist/plugin/provider/factory.js +1 -1
  531. package/dist/plugin/provider/github-copilot.js +103 -103
  532. package/dist/plugin/provider/gitlab.js +101 -101
  533. package/dist/plugin/provider/google-vertex.js +118 -118
  534. package/dist/plugin/provider/kilo.js +1 -1
  535. package/dist/plugin/provider/llmgateway.js +84 -84
  536. package/dist/plugin/provider/lmstudio.js +130 -130
  537. package/dist/plugin/provider/local.js +127 -127
  538. package/dist/plugin/provider/modal.js +100 -100
  539. package/dist/plugin/provider/neon.js +1 -1
  540. package/dist/plugin/provider/nvidia.js +1 -1
  541. package/dist/plugin/provider/ollama.js +130 -130
  542. package/dist/plugin/provider/openai-context-caps.js +98 -98
  543. package/dist/plugin/provider/openai.js +123 -123
  544. package/dist/plugin/provider/opencode-legacy.js +108 -108
  545. package/dist/plugin/provider/opencode.js +127 -127
  546. package/dist/plugin/provider/openrouter.js +99 -99
  547. package/dist/plugin/provider/perplexity.js +2 -2
  548. package/dist/plugin/provider/poe.js +85 -85
  549. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  550. package/dist/plugin/provider/sap-ai-core.js +99 -99
  551. package/dist/plugin/provider/sdk-factory.js +1 -1
  552. package/dist/plugin/provider/snowflake-cortex.js +120 -120
  553. package/dist/plugin/provider/vercel.js +98 -98
  554. package/dist/plugin/provider/vllm.js +130 -130
  555. package/dist/plugin/provider/xai.js +99 -99
  556. package/dist/plugin/provider/zenmux.js +1 -1
  557. package/dist/plugin/provider.js +178 -178
  558. package/dist/plugin/sdk.js +82 -82
  559. package/dist/plugin/service.js +3 -3
  560. package/dist/plugin/skill.js +141 -141
  561. package/dist/plugin/source-directory.js +1 -1
  562. package/dist/plugin/supervisor.js +361 -361
  563. package/dist/plugin/tool-input-repair.js +4 -4
  564. package/dist/plugin/update.js +6 -6
  565. package/dist/plugin/vcs/git.js +94 -94
  566. package/dist/plugin/vcs/hg.js +94 -94
  567. package/dist/plugin/verbosity.js +101 -101
  568. package/dist/plugin/warming.js +119 -119
  569. package/dist/plugin/websearch/exa.js +7 -7
  570. package/dist/plugin/websearch/firecrawl.js +8 -8
  571. package/dist/plugin/websearch/index.js +9 -9
  572. package/dist/plugin/websearch/mcp.js +6 -6
  573. package/dist/plugin/websearch/parallel.js +6 -6
  574. package/dist/plugin/websearch/tavily.js +6 -6
  575. package/dist/plugin/websearch/tinyfish.js +8 -8
  576. package/dist/plugin.js +234 -234
  577. package/dist/project/icon.js +5 -5
  578. package/dist/project/schema.js +8 -8
  579. package/dist/project/sql.js +4 -4
  580. package/dist/project.js +98 -98
  581. package/dist/provider.js +107 -107
  582. package/dist/pty/protocol.js +1 -1
  583. package/dist/pty/ticket.js +1 -1
  584. package/dist/pty.js +106 -106
  585. package/dist/reference/instructions.js +96 -96
  586. package/dist/reference.js +94 -94
  587. package/dist/repository-cache.js +88 -88
  588. package/dist/repository.js +3 -3
  589. package/dist/ripgrep/binary.js +2 -2
  590. package/dist/ripgrep.js +105 -105
  591. package/dist/rpc.js +94 -94
  592. package/dist/schema.js +1 -1
  593. package/dist/session/affinity.js +1 -1
  594. package/dist/session/blob.js +132 -120
  595. package/dist/session/command.js +80 -80
  596. package/dist/session/compaction.js +164 -164
  597. package/dist/session/context.js +188 -188
  598. package/dist/session/diff.js +96 -96
  599. package/dist/session/environment.js +5 -5
  600. package/dist/session/error.js +3 -3
  601. package/dist/session/event.js +1 -1
  602. package/dist/session/execution/restart.js +231 -231
  603. package/dist/session/execution.js +152 -152
  604. package/dist/session/generate.js +188 -188
  605. package/dist/session/history.js +129 -127
  606. package/dist/session/inbox.js +146 -138
  607. package/dist/session/info.js +3 -3
  608. package/dist/session/instruction-entry.js +83 -83
  609. package/dist/session/instruction-state.js +8 -8
  610. package/dist/session/instructions.js +134 -134
  611. package/dist/session/message-updater.js +2 -2
  612. package/dist/session/message.js +1 -1
  613. package/dist/session/model-request.js +153 -153
  614. package/dist/session/model-transport.js +7 -7
  615. package/dist/session/move.js +156 -156
  616. package/dist/session/projector.js +134 -134
  617. package/dist/session/prompt.js +140 -140
  618. package/dist/session/recent-text.js +1 -1
  619. package/dist/session/revert.js +130 -130
  620. package/dist/session/run-coordinator.js +3 -3
  621. package/dist/session/runner/index.js +3 -3
  622. package/dist/session/runner/llm.js +238 -238
  623. package/dist/session/runner/max-steps.js +1 -1
  624. package/dist/session/runner/model.js +108 -108
  625. package/dist/session/runner/publish-llm-event.js +141 -141
  626. package/dist/session/runner/retry.js +5 -5
  627. package/dist/session/runner/step.js +154 -154
  628. package/dist/session/runner/to-llm-message.js +128 -128
  629. package/dist/session/schema.js +5 -5
  630. package/dist/session/session.js +172 -172
  631. package/dist/session/shell.js +135 -135
  632. package/dist/session/skill.js +139 -139
  633. package/dist/session/sql.js +5 -5
  634. package/dist/session/stats.js +81 -81
  635. package/dist/session/store.js +133 -133
  636. package/dist/session/stored.js +4 -4
  637. package/dist/session/subagent-completion.js +1 -1
  638. package/dist/session/subagent-job.js +219 -219
  639. package/dist/session/system-prompt.js +5 -5
  640. package/dist/session/title.js +192 -192
  641. package/dist/session/to-session-error.js +140 -140
  642. package/dist/session/transfer.js +230 -230
  643. package/dist/session/usage.js +1 -1
  644. package/dist/session.js +223 -223
  645. package/dist/shell/parse.js +6 -6
  646. package/dist/shell/result.js +1 -1
  647. package/dist/shell/scan.js +1 -1
  648. package/dist/shell/select.js +15 -15
  649. package/dist/shell.js +137 -137
  650. package/dist/skill/discovery.js +6 -6
  651. package/dist/skill/instructions.js +143 -143
  652. package/dist/skill.js +144 -144
  653. package/dist/snapshot.js +97 -97
  654. package/dist/state.js +1 -1
  655. package/dist/tool/html-markdown.js +1 -1
  656. package/dist/tool/http-body.js +1 -1
  657. package/dist/tool/mcp.js +165 -165
  658. package/dist/tool/plugin/edit.js +156 -156
  659. package/dist/tool/plugin/file-diff.js +1 -1
  660. package/dist/tool/plugin/glob.js +158 -158
  661. package/dist/tool/plugin/grep.js +160 -160
  662. package/dist/tool/plugin/mcp-resource.js +154 -154
  663. package/dist/tool/plugin/opencode.js +145 -145
  664. package/dist/tool/plugin/patch.js +158 -158
  665. package/dist/tool/plugin/question.js +138 -138
  666. package/dist/tool/plugin/read.js +157 -157
  667. package/dist/tool/plugin/shell.js +224 -224
  668. package/dist/tool/plugin/skill.js +149 -149
  669. package/dist/tool/plugin/subagent.js +224 -224
  670. package/dist/tool/plugin/todo.js +145 -145
  671. package/dist/tool/plugin/webfetch.js +145 -145
  672. package/dist/tool/plugin/websearch.js +145 -145
  673. package/dist/tool/plugin/write.js +158 -158
  674. package/dist/tool/read-filesystem.js +110 -110
  675. package/dist/tool/runtime.js +1 -1
  676. package/dist/tool-output.js +7 -7
  677. package/dist/tool.js +16 -16
  678. package/dist/types/plugin/host.d.ts +3 -2
  679. package/dist/types/session/blob.d.ts +929 -0
  680. package/dist/types/session/history.d.ts +853 -0
  681. package/dist/types/session/inbox.d.ts +114 -2
  682. package/dist/types/session/prompt.d.ts +2 -1
  683. package/dist/types/session/schema.d.ts +4 -0
  684. package/dist/types/session/store.d.ts +7 -0
  685. package/dist/types/session/stored.d.ts +2 -2
  686. package/dist/types/session/transfer.d.ts +4 -0
  687. package/dist/types/session.d.ts +9 -0
  688. package/dist/types/tool/plugin/edit.d.ts +1 -0
  689. package/dist/types/tool/plugin/patch.d.ts +1 -0
  690. package/dist/types/vcs.d.ts +3 -2
  691. package/dist/usage-limits.js +95 -95
  692. package/dist/util/error-summary.js +1 -1
  693. package/dist/util/git-executable.js +3 -3
  694. package/dist/util/lazy.js +1 -1
  695. package/dist/util/slug.js +1 -1
  696. package/dist/util/token.js +1 -1
  697. package/dist/util/which.js +1 -1
  698. package/dist/util/wildcard.js +1 -1
  699. package/dist/v1/config/agent.js +7 -7
  700. package/dist/v1/config/command.js +3 -3
  701. package/dist/v1/config/mcp.js +6 -6
  702. package/dist/v1/config/migrate.js +100 -100
  703. package/dist/v1/config/permission.js +3 -3
  704. package/dist/v1/config/plugin.js +3 -3
  705. package/dist/v1/config/provider-options.js +1 -1
  706. package/dist/v1/config/provider.js +4 -4
  707. package/dist/variant.js +101 -101
  708. package/dist/vcs/patch.js +1 -1
  709. package/dist/vcs.js +99 -97
  710. package/dist/voice.js +90 -90
  711. package/dist/websearch.js +88 -88
  712. package/dist/wellknown/plugin.js +82 -82
  713. package/dist/wellknown.js +85 -85
  714. package/dist/workspace/driver.js +5 -5
  715. package/dist/workspace/sql.js +1 -1
  716. package/dist/workspace.js +88 -88
  717. package/dist/worktree/directory.js +2 -2
  718. package/dist/worktree/git.js +11 -11
  719. package/dist/worktree/sql.js +5 -5
  720. package/dist/worktree/strategies.js +97 -97
  721. package/dist/worktree.js +108 -108
  722. package/package.json +9 -9
  723. package/dist/chunks/bus-2bd7j0hh.js +0 -517
  724. package/dist/chunks/bus-7hr3m62y.js +0 -257
  725. package/dist/chunks/bus-7yv5xa0k.js +0 -18
  726. package/dist/chunks/bus-g0kddrv9.js +0 -26
  727. /package/dist/chunks/{bus-0qkdqm5v.js → event-logger-0qkdqm5v.js} +0 -0
  728. /package/dist/chunks/{bus-0zkw76rk.js → event-logger-0zkw76rk.js} +0 -0
  729. /package/dist/chunks/{bus-17cy0kzp.js → event-logger-17cy0kzp.js} +0 -0
  730. /package/dist/chunks/{bus-1cnp2v09.js → event-logger-1cnp2v09.js} +0 -0
  731. /package/dist/chunks/{bus-24dcb14g.js → event-logger-24dcb14g.js} +0 -0
  732. /package/dist/chunks/{bus-2710q6r3.js → event-logger-2710q6r3.js} +0 -0
  733. /package/dist/chunks/{bus-2bv980vf.js → event-logger-2bv980vf.js} +0 -0
  734. /package/dist/chunks/{bus-2c3vjs8z.js → event-logger-2c3vjs8z.js} +0 -0
  735. /package/dist/chunks/{bus-359p4xyc.js → event-logger-359p4xyc.js} +0 -0
  736. /package/dist/chunks/{bus-3asan66x.js → event-logger-3asan66x.js} +0 -0
  737. /package/dist/chunks/{bus-3v8g72cx.js → event-logger-3v8g72cx.js} +0 -0
  738. /package/dist/chunks/{bus-3wcehsnq.js → event-logger-3wcehsnq.js} +0 -0
  739. /package/dist/chunks/{bus-43n2bw4t.js → event-logger-43n2bw4t.js} +0 -0
  740. /package/dist/chunks/{bus-4knz6hnm.js → event-logger-4knz6hnm.js} +0 -0
  741. /package/dist/chunks/{bus-4m86bj6y.js → event-logger-4m86bj6y.js} +0 -0
  742. /package/dist/chunks/{bus-4vcrnpx2.js → event-logger-4vcrnpx2.js} +0 -0
  743. /package/dist/chunks/{bus-4y7fprxs.js → event-logger-4y7fprxs.js} +0 -0
  744. /package/dist/chunks/{bus-53557ph1.js → event-logger-53557ph1.js} +0 -0
  745. /package/dist/chunks/{bus-550bvhaj.js → event-logger-550bvhaj.js} +0 -0
  746. /package/dist/chunks/{bus-5fjb7ams.js → event-logger-5fjb7ams.js} +0 -0
  747. /package/dist/chunks/{bus-5w3e23ze.js → event-logger-5w3e23ze.js} +0 -0
  748. /package/dist/chunks/{bus-6prwharc.js → event-logger-6prwharc.js} +0 -0
  749. /package/dist/chunks/{bus-6q2bdcd1.js → event-logger-6q2bdcd1.js} +0 -0
  750. /package/dist/chunks/{bus-7akdwqpd.js → event-logger-7akdwqpd.js} +0 -0
  751. /package/dist/chunks/{bus-7m9af43g.js → event-logger-7m9af43g.js} +0 -0
  752. /package/dist/chunks/{bus-822emrt2.js → event-logger-822emrt2.js} +0 -0
  753. /package/dist/chunks/{bus-84wd9syh.js → event-logger-84wd9syh.js} +0 -0
  754. /package/dist/chunks/{bus-88xbtdfr.js → event-logger-88xbtdfr.js} +0 -0
  755. /package/dist/chunks/{bus-8n3pysct.js → event-logger-8n3pysct.js} +0 -0
  756. /package/dist/chunks/{bus-8wj87zfr.js → event-logger-8wj87zfr.js} +0 -0
  757. /package/dist/chunks/{bus-9a4afbnw.js → event-logger-9a4afbnw.js} +0 -0
  758. /package/dist/chunks/{bus-9rqn6x4v.js → event-logger-9rqn6x4v.js} +0 -0
  759. /package/dist/chunks/{bus-a058387c.js → event-logger-a058387c.js} +0 -0
  760. /package/dist/chunks/{bus-a6k6eb26.js → event-logger-a6k6eb26.js} +0 -0
  761. /package/dist/chunks/{bus-af5trqkr.js → event-logger-af5trqkr.js} +0 -0
  762. /package/dist/chunks/{bus-afrmfg78.js → event-logger-afrmfg78.js} +0 -0
  763. /package/dist/chunks/{bus-aqzs7mqg.js → event-logger-aqzs7mqg.js} +0 -0
  764. /package/dist/chunks/{bus-atq7p7m5.js → event-logger-atq7p7m5.js} +0 -0
  765. /package/dist/chunks/{bus-bkyjaxrp.js → event-logger-bkyjaxrp.js} +0 -0
  766. /package/dist/chunks/{bus-bmr6ed5q.js → event-logger-bmr6ed5q.js} +0 -0
  767. /package/dist/chunks/{bus-cf4snx6d.js → event-logger-cf4snx6d.js} +0 -0
  768. /package/dist/chunks/{bus-cqv5kn06.js → event-logger-cqv5kn06.js} +0 -0
  769. /package/dist/chunks/{bus-cvy3z8tj.js → event-logger-cvy3z8tj.js} +0 -0
  770. /package/dist/chunks/{bus-d9fn303g.js → event-logger-d9fn303g.js} +0 -0
  771. /package/dist/chunks/{bus-d9jj8t3e.js → event-logger-d9jj8t3e.js} +0 -0
  772. /package/dist/chunks/{bus-dajrwvna.js → event-logger-dajrwvna.js} +0 -0
  773. /package/dist/chunks/{bus-dap0rakb.js → event-logger-dap0rakb.js} +0 -0
  774. /package/dist/chunks/{bus-df08tz66.js → event-logger-df08tz66.js} +0 -0
  775. /package/dist/chunks/{bus-dy18nga0.js → event-logger-dy18nga0.js} +0 -0
  776. /package/dist/chunks/{bus-e3qxr5gk.js → event-logger-e3qxr5gk.js} +0 -0
  777. /package/dist/chunks/{bus-e5kj55wp.js → event-logger-e5kj55wp.js} +0 -0
  778. /package/dist/chunks/{bus-e73j6tqm.js → event-logger-e73j6tqm.js} +0 -0
  779. /package/dist/chunks/{bus-ec1grn59.js → event-logger-ec1grn59.js} +0 -0
  780. /package/dist/chunks/{bus-eh3zwz77.js → event-logger-eh3zwz77.js} +0 -0
  781. /package/dist/chunks/{bus-emrn6kk6.js → event-logger-emrn6kk6.js} +0 -0
  782. /package/dist/chunks/{bus-f0mxakyp.js → event-logger-f0mxakyp.js} +0 -0
  783. /package/dist/chunks/{bus-f6n9ztr4.js → event-logger-f6n9ztr4.js} +0 -0
  784. /package/dist/chunks/{bus-faypxj3z.js → event-logger-faypxj3z.js} +0 -0
  785. /package/dist/chunks/{bus-fd410y7t.js → event-logger-fd410y7t.js} +0 -0
  786. /package/dist/chunks/{bus-fkpq3x5p.js → event-logger-fkpq3x5p.js} +0 -0
  787. /package/dist/chunks/{bus-g4wezp1m.js → event-logger-g4wezp1m.js} +0 -0
  788. /package/dist/chunks/{bus-g86h250q.js → event-logger-g86h250q.js} +0 -0
  789. /package/dist/chunks/{bus-gebd4c9n.js → event-logger-gebd4c9n.js} +0 -0
  790. /package/dist/chunks/{bus-gftt206x.js → event-logger-gftt206x.js} +0 -0
  791. /package/dist/chunks/{bus-hcxmzztb.js → event-logger-hcxmzztb.js} +0 -0
  792. /package/dist/chunks/{bus-hk9envan.js → event-logger-hk9envan.js} +0 -0
  793. /package/dist/chunks/{bus-j2ntwpah.js → event-logger-j2ntwpah.js} +0 -0
  794. /package/dist/chunks/{bus-j5zkgpj8.js → event-logger-j5zkgpj8.js} +0 -0
  795. /package/dist/chunks/{bus-jjkms2e6.js → event-logger-jjkms2e6.js} +0 -0
  796. /package/dist/chunks/{bus-jr7sbwjy.js → event-logger-jr7sbwjy.js} +0 -0
  797. /package/dist/chunks/{bus-jwfs4k6c.js → event-logger-jwfs4k6c.js} +0 -0
  798. /package/dist/chunks/{bus-jwr30sdr.js → event-logger-jwr30sdr.js} +0 -0
  799. /package/dist/chunks/{bus-jze0r7bz.js → event-logger-jze0r7bz.js} +0 -0
  800. /package/dist/chunks/{bus-jzg6c2d5.js → event-logger-jzg6c2d5.js} +0 -0
  801. /package/dist/chunks/{bus-m18g726c.js → event-logger-m18g726c.js} +0 -0
  802. /package/dist/chunks/{bus-mp448xyj.js → event-logger-mp448xyj.js} +0 -0
  803. /package/dist/chunks/{bus-msx8hqn2.js → event-logger-msx8hqn2.js} +0 -0
  804. /package/dist/chunks/{bus-n05xt0ee.js → event-logger-n05xt0ee.js} +0 -0
  805. /package/dist/chunks/{bus-n3j8tn72.js → event-logger-n3j8tn72.js} +0 -0
  806. /package/dist/chunks/{bus-njntx4h6.js → event-logger-njntx4h6.js} +0 -0
  807. /package/dist/chunks/{bus-q3sfg36h.js → event-logger-q3sfg36h.js} +0 -0
  808. /package/dist/chunks/{bus-q74kybfr.js → event-logger-q74kybfr.js} +0 -0
  809. /package/dist/chunks/{bus-qaymkmh1.js → event-logger-qaymkmh1.js} +0 -0
  810. /package/dist/chunks/{bus-qb87gjwd.js → event-logger-qb87gjwd.js} +0 -0
  811. /package/dist/chunks/{bus-qfa1cgps.js → event-logger-qfa1cgps.js} +0 -0
  812. /package/dist/chunks/{bus-qg3g05ea.js → event-logger-qg3g05ea.js} +0 -0
  813. /package/dist/chunks/{bus-qrg20bc0.js → event-logger-qrg20bc0.js} +0 -0
  814. /package/dist/chunks/{bus-rcb2kzg1.js → event-logger-rcb2kzg1.js} +0 -0
  815. /package/dist/chunks/{bus-sdp7kfr6.js → event-logger-sdp7kfr6.js} +0 -0
  816. /package/dist/chunks/{bus-ssg3fenm.js → event-logger-ssg3fenm.js} +0 -0
  817. /package/dist/chunks/{bus-ve7vex1e.js → event-logger-ve7vex1e.js} +0 -0
  818. /package/dist/chunks/{bus-w803qqfp.js → event-logger-w803qqfp.js} +0 -0
  819. /package/dist/chunks/{bus-wc3fc9cn.js → event-logger-wc3fc9cn.js} +0 -0
  820. /package/dist/chunks/{bus-wer8tq1h.js → event-logger-wer8tq1h.js} +0 -0
  821. /package/dist/chunks/{bus-wjj7prxr.js → event-logger-wjj7prxr.js} +0 -0
  822. /package/dist/chunks/{bus-wtztk69x.js → event-logger-wtztk69x.js} +0 -0
  823. /package/dist/chunks/{bus-x0ckcb58.js → event-logger-x0ckcb58.js} +0 -0
  824. /package/dist/chunks/{bus-x61499pn.js → event-logger-x61499pn.js} +0 -0
  825. /package/dist/chunks/{bus-y44na4kk.js → event-logger-y44na4kk.js} +0 -0
  826. /package/dist/chunks/{bus-y8f7s663.js → event-logger-y8f7s663.js} +0 -0
  827. /package/dist/chunks/{bus-ygaqb7jw.js → event-logger-ygaqb7jw.js} +0 -0
  828. /package/dist/chunks/{bus-ym463w8f.js → event-logger-ym463w8f.js} +0 -0
  829. /package/dist/chunks/{bus-z5v4ffb3.js → event-logger-z5v4ffb3.js} +0 -0
  830. /package/dist/chunks/{bus-z9919s4g.js → event-logger-z9919s4g.js} +0 -0
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service81,
3
- node85
4
- } from "./bus-x34gj20p.js";
2
+ Service83,
3
+ node87
4
+ } from "./event-logger-g179cxj4.js";
5
5
  import {
6
6
  __export
7
- } from "./bus-9rqn6x4v.js";
7
+ } from "./event-logger-9rqn6x4v.js";
8
8
 
9
9
  // src/location.ts
10
10
  var exports_location = {};
11
11
  __export(exports_location, {
12
- Info: () => Info24,
12
+ Info: () => Info28,
13
13
  Location: () => exports_location,
14
- Ref: () => Ref4,
15
- Service: () => Service80,
14
+ Ref: () => Ref5,
15
+ Service: () => Service82,
16
16
  boundNode: () => boundNode2,
17
- node: () => node84,
17
+ node: () => node86,
18
18
  response: () => response2
19
19
  });
20
20
  import { Context, Effect, Layer } from "effect";
21
- import { Info as Info24, Ref as Ref4, response as response2 } from "@opencode/schema/location";
21
+ import { Info as Info28, Ref as Ref5, response as response2 } from "@opencode/schema/location";
22
22
  import { LayerNode } from "@opencode/util/effect/layer-node";
23
23
  import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
24
- class Service80 extends Context.Service()("@opencode/Location") {
24
+ class Service82 extends Context.Service()("@opencode/Location") {
25
25
  }
26
- var node84 = LayerNode.unbound(Service80, tags.values.location);
27
- var layer = (ref) => Layer.effect(Service80, Effect.gen(function* () {
28
- const project = yield* Service81;
26
+ var node86 = LayerNode.unbound(Service82, tags.values.location);
27
+ var layer = (ref) => Layer.effect(Service82, Effect.gen(function* () {
28
+ const project = yield* Service83;
29
29
  const resolved = yield* project.resolve(ref.directory);
30
- return Service80.of({
30
+ return Service82.of({
31
31
  directory: ref.directory,
32
32
  workspaceID: ref.workspaceID,
33
33
  project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service80, Effect.gen(function* () {
35
35
  });
36
36
  }));
37
37
  var boundNode2 = (ref) => makeLocationNode({
38
- service: Service80,
38
+ service: Service82,
39
39
  layer: layer(ref),
40
- deps: [node85]
40
+ deps: [node87]
41
41
  });
42
42
 
43
- export { Info24, Ref4, response2, Service80, node84, boundNode2, exports_location };
43
+ export { Info28, Ref5, response2, Service82, node86, boundNode2, exports_location };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./bus-9rqn6x4v.js";
3
+ } from "./event-logger-9rqn6x4v.js";
4
4
 
5
5
  // src/shell/result.ts
6
6
  var exports_result = {};
@@ -1,34 +1,34 @@
1
1
  import {
2
- Service86,
3
- node90
4
- } from "./bus-3td5s6k1.js";
2
+ Service85,
3
+ node89
4
+ } from "./event-logger-83fr3fym.js";
5
5
  import {
6
6
  changes2,
7
7
  create3
8
- } from "./bus-204s3925.js";
8
+ } from "./event-logger-204s3925.js";
9
9
  import {
10
10
  __export
11
- } from "./bus-9rqn6x4v.js";
11
+ } from "./event-logger-9rqn6x4v.js";
12
12
 
13
13
  // src/command.ts
14
14
  var exports_command4 = {};
15
15
  __export(exports_command4, {
16
16
  Command: () => exports_command4,
17
- Event: () => Event10,
17
+ Event: () => Event4,
18
18
  ExecutionError: () => ExecutionError2,
19
- Info: () => Info12,
20
- NotFoundError: () => NotFoundError7,
21
- Service: () => Service56,
22
- layer: () => layer19,
23
- node: () => node60
19
+ Info: () => Info5,
20
+ NotFoundError: () => NotFoundError3,
21
+ Service: () => Service32,
22
+ layer: () => layer16,
23
+ node: () => node35
24
24
  });
25
25
  import { Command } from "@opencode/schema/command";
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Context, Effect, Layer, Schema } from "effect";
28
- import { Event as Event10 } from "@opencode/schema/command";
29
- var Info12 = Command.Info;
28
+ import { Event as Event4 } from "@opencode/schema/command";
29
+ var Info5 = Command.Info;
30
30
 
31
- class NotFoundError7 extends Schema.TaggedError()("Command.NotFoundError", {
31
+ class NotFoundError3 extends Schema.TaggedError()("Command.NotFoundError", {
32
32
  command: Schema.String,
33
33
  message: Schema.String
34
34
  }) {
@@ -40,11 +40,11 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
40
40
  }) {
41
41
  }
42
42
 
43
- class Service56 extends Context.Service()("@opencode/Command") {
43
+ class Service32 extends Context.Service()("@opencode/Command") {
44
44
  }
45
- var layer19 = Layer.effect(Service56, Effect.gen(function* () {
46
- const bus = yield* Service86;
47
- const info = (definition) => Info12.make({
45
+ var layer16 = Layer.effect(Service32, Effect.gen(function* () {
46
+ const bus = yield* Service85;
47
+ const info = (definition) => Info5.make({
48
48
  name: definition.name,
49
49
  description: definition.description
50
50
  });
@@ -56,7 +56,7 @@ var layer19 = Layer.effect(Service56, Effect.gen(function* () {
56
56
  }),
57
57
  notify: changes2((commands) => Array.from(commands.values(), info), () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid))
58
58
  });
59
- return Service56.of({
59
+ return Service32.of({
60
60
  reload: state.reload,
61
61
  transform: state.transform,
62
62
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -67,15 +67,15 @@ var layer19 = Layer.effect(Service56, Effect.gen(function* () {
67
67
  execute: Effect.fn("Command.execute")(function* (input) {
68
68
  const definition = state.get().get(input.name);
69
69
  if (!definition)
70
- return yield* new NotFoundError7({ command: input.name, message: `Command not found: ${input.name}` });
70
+ return yield* new NotFoundError3({ command: input.name, message: `Command not found: ${input.name}` });
71
71
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
72
72
  })
73
73
  });
74
74
  }));
75
- var node60 = makeLocationNode({
76
- service: Service56,
77
- layer: layer19,
78
- deps: [node90]
75
+ var node35 = makeLocationNode({
76
+ service: Service32,
77
+ layer: layer16,
78
+ deps: [node89]
79
79
  });
80
80
  function errorMessage(error) {
81
81
  if (error instanceof Error)
@@ -87,4 +87,4 @@ function errorMessage(error) {
87
87
  return "Command execution failed";
88
88
  }
89
89
 
90
- export { Info12, NotFoundError7, ExecutionError2, Service56, layer19, node60, exports_command4, Event10 };
90
+ export { Info5, NotFoundError3, ExecutionError2, Service32, layer16, node35, exports_command4, Event4 };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Key3,
2
+ Key4,
3
3
  removed2,
4
4
  make21,
5
5
  diffByKey2
6
- } from "./bus-jneg3k74.js";
6
+ } from "./event-logger-brd5eeq0.js";
7
7
  import {
8
8
  evaluate2
9
- } from "./bus-6r5g3pq8.js";
9
+ } from "./event-logger-ck0tns3b.js";
10
10
  import {
11
- Service37,
12
- node40
13
- } from "./bus-dmmsnc6x.js";
11
+ Service28,
12
+ node31
13
+ } from "./event-logger-kv7q9t9v.js";
14
14
  import {
15
15
  namespace2,
16
16
  name14
17
- } from "./bus-fhgyx4at.js";
17
+ } from "./event-logger-cdgpjepk.js";
18
18
  import {
19
19
  __export
20
- } from "./bus-9rqn6x4v.js";
20
+ } from "./event-logger-9rqn6x4v.js";
21
21
 
22
22
  // src/mcp/instructions.ts
23
- var exports_instructions3 = {};
24
- __export(exports_instructions3, {
25
- McpInstructions: () => exports_instructions3,
26
- Service: () => Service31,
27
- layer: () => layer12,
28
- node: () => node35
23
+ var exports_instructions4 = {};
24
+ __export(exports_instructions4, {
25
+ McpInstructions: () => exports_instructions4,
26
+ Service: () => Service25,
27
+ layer: () => layer11,
28
+ node: () => node28
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Context, Effect, Layer, Schema } from "effect";
@@ -65,14 +65,14 @@ var update = (previous, current) => {
65
65
  `);
66
66
  };
67
67
 
68
- class Service31 extends Context.Service()("@opencode/McpInstructions") {
68
+ class Service25 extends Context.Service()("@opencode/McpInstructions") {
69
69
  }
70
- var layer12 = Layer.effect(Service31, Effect.gen(function* () {
71
- const mcp = yield* Service37;
72
- return Service31.of({
70
+ var layer11 = Layer.effect(Service25, Effect.gen(function* () {
71
+ const mcp = yield* Service28;
72
+ return Service25.of({
73
73
  load: Effect.fn("McpInstructions.load")(function* (permissions) {
74
74
  const source = (value) => make21({
75
- key: Key3.make("core/mcp-guidance"),
75
+ key: Key4.make("core/mcp-guidance"),
76
76
  codec: Schema.toCodecJson(Schema.Array(Summary)),
77
77
  read: Effect.succeed(value),
78
78
  render: {
@@ -100,6 +100,6 @@ var layer12 = Layer.effect(Service31, Effect.gen(function* () {
100
100
  })
101
101
  });
102
102
  }));
103
- var node35 = makeLocationNode({ service: Service31, layer: layer12, deps: [node40] });
103
+ var node28 = makeLocationNode({ service: Service25, layer: layer11, deps: [node31] });
104
104
 
105
- export { Service31, layer12, node35, exports_instructions3 };
105
+ export { Service25, layer11, node28, exports_instructions4 };
@@ -1,13 +1,13 @@
1
1
  import {
2
- Service86
3
- } from "./bus-3td5s6k1.js";
2
+ Service85
3
+ } from "./event-logger-83fr3fym.js";
4
4
  import {
5
5
  supportsText2
6
- } from "./bus-ayp6ft07.js";
6
+ } from "./event-logger-ryaxndx4.js";
7
7
  import {
8
- Service76,
9
- Event14
10
- } from "./bus-w87dvzaw.js";
8
+ Service14,
9
+ Event2
10
+ } from "./event-logger-tdjd85a2.js";
11
11
 
12
12
  // src/plugin/models-dev.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -39,8 +39,8 @@ var NON_CHAT_TYPES = ["realtime", "embedding", "reranking"];
39
39
  var ModelsDevPlugin2 = define({
40
40
  id: "opencode.models.dev",
41
41
  effect: Effect.fn(function* (ctx) {
42
- const modelsDev = yield* Service76;
43
- const bus = yield* Service86;
42
+ const modelsDev = yield* Service14;
43
+ const bus = yield* Service85;
44
44
  const loaded = { data: snapshots(yield* modelsDev.get()) };
45
45
  yield* ctx.integration.transform((integrations) => {
46
46
  for (const provider of loaded.data) {
@@ -73,7 +73,7 @@ var ModelsDevPlugin2 = define({
73
73
  loaded.data = snapshots(data);
74
74
  return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
75
75
  };
76
- yield* bus.subscribe(Event14.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
76
+ yield* bus.subscribe(Event2.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
77
77
  const latest = yield* modelsDev.get();
78
78
  if (snapshots(latest) !== loaded.data)
79
79
  yield* apply(latest);
@@ -1,42 +1,42 @@
1
1
  import {
2
- Service86,
3
- node90
4
- } from "./bus-3td5s6k1.js";
2
+ Service85,
3
+ node89
4
+ } from "./event-logger-83fr3fym.js";
5
5
  import {
6
6
  changes2,
7
7
  create3
8
- } from "./bus-204s3925.js";
8
+ } from "./event-logger-204s3925.js";
9
9
  import {
10
10
  __export
11
- } from "./bus-9rqn6x4v.js";
11
+ } from "./event-logger-9rqn6x4v.js";
12
12
 
13
13
  // src/agent.ts
14
- var exports_agent4 = {};
15
- __export(exports_agent4, {
16
- Agent: () => exports_agent4,
14
+ var exports_agent3 = {};
15
+ __export(exports_agent3, {
16
+ Agent: () => exports_agent3,
17
17
  Color: () => Color2,
18
- Event: () => Event13,
19
- ID: () => ID10,
20
- Info: () => Info20,
18
+ Event: () => Event11,
19
+ ID: () => ID8,
20
+ Info: () => Info12,
21
21
  Name: () => Name3,
22
- Service: () => Service70,
22
+ Service: () => Service58,
23
23
  defaultID: () => defaultID2,
24
- node: () => node73
24
+ node: () => node61
25
25
  });
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Array, Context, Effect, Layer } from "effect";
28
28
  import { Agent } from "@opencode/schema/agent";
29
- import { Event as Event13 } from "@opencode/schema/agent";
30
- var ID10 = Agent.ID;
29
+ import { Event as Event11 } from "@opencode/schema/agent";
30
+ var ID8 = Agent.ID;
31
31
  var Name3 = Agent.Name;
32
- var defaultID2 = ID10.make("build");
32
+ var defaultID2 = ID8.make("build");
33
33
  var Color2 = Agent.Color;
34
- var Info20 = Agent.Info;
34
+ var Info12 = Agent.Info;
35
35
 
36
- class Service70 extends Context.Service()("@opencode/Agent") {
36
+ class Service58 extends Context.Service()("@opencode/Agent") {
37
37
  }
38
- var layer = Layer.effect(Service70, Effect.gen(function* () {
39
- const bus = yield* Service86;
38
+ var layer = Layer.effect(Service58, Effect.gen(function* () {
39
+ const bus = yield* Service85;
40
40
  const selectable = (agent) => agent && agent.mode !== "subagent" && !agent.hidden ? agent : undefined;
41
41
  const selectedDefault = (data) => {
42
42
  const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
68
68
  editor.default = id;
69
69
  },
70
70
  update: (id, fn) => {
71
- const current = editor.agents.get(id) ?? Info20.default(id);
71
+ const current = editor.agents.get(id) ?? Info12.default(id);
72
72
  if (!editor.agents.has(id))
73
73
  editor.agents.set(id, current);
74
74
  fn(current);
@@ -80,7 +80,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
80
80
  }),
81
81
  notify: changes2(list, () => bus.publish(Agent.Event.Updated, {}).pipe(Effect.asVoid))
82
82
  });
83
- return Service70.of({
83
+ return Service58.of({
84
84
  transform: state.transform,
85
85
  reload: state.reload,
86
86
  get: Effect.fn("Agent.get")(function* (id) {
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
88
88
  }),
89
89
  resolve: Effect.fnUntraced(function* (id) {
90
90
  if (id !== undefined)
91
- return state.get().agents.get(ID10.make(id));
91
+ return state.get().agents.get(ID8.make(id));
92
92
  return selectedDefault(state.get());
93
93
  }),
94
94
  select: Effect.fn("Agent.select")(function* (id) {
@@ -102,6 +102,6 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
102
102
  })
103
103
  });
104
104
  }));
105
- var node73 = makeLocationNode({ service: Service70, layer, deps: [node90] });
105
+ var node61 = makeLocationNode({ service: Service58, layer, deps: [node89] });
106
106
 
107
- export { ID10, Name3, defaultID2, Color2, Info20, Service70, node73, exports_agent4, Event13 };
107
+ export { ID8, Name3, defaultID2, Color2, Info12, Service58, node61, exports_agent3, Event11 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./bus-9rqn6x4v.js";
3
+ } from "./event-logger-9rqn6x4v.js";
4
4
 
5
5
  // src/console-access.ts
6
6
  var exports_console_access = {};
@@ -1,60 +1,60 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./bus-11hfp36g.js";
3
+ } from "./event-logger-8jztxfpf.js";
4
4
  import {
5
- Service86,
6
- node90
7
- } from "./bus-3td5s6k1.js";
5
+ Service85,
6
+ node89
7
+ } from "./event-logger-83fr3fym.js";
8
8
  import {
9
- Event19,
10
- Service84,
11
- node88
12
- } from "./bus-mvcrexfa.js";
9
+ Event15,
10
+ Service67,
11
+ node70
12
+ } from "./event-logger-530cxj2z.js";
13
13
  import {
14
- Service80,
15
- node84
16
- } from "./bus-60b2sysp.js";
14
+ Service82,
15
+ node86
16
+ } from "./event-logger-jz593hnq.js";
17
17
  import {
18
- Service50,
19
- node53
20
- } from "./bus-bm3zd2ag.js";
18
+ Service79,
19
+ node82
20
+ } from "./event-logger-hgbyz31g.js";
21
21
  import {
22
- ID18,
23
- Service85,
24
- node89
25
- } from "./bus-f5tgpm46.js";
22
+ ID14,
23
+ Service68,
24
+ node71
25
+ } from "./event-logger-179sgv51.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./bus-204s3925.js";
29
+ } from "./event-logger-204s3925.js";
30
30
  import {
31
- ID16,
31
+ ID12,
32
32
  MethodID2,
33
- Service83,
34
- node87
35
- } from "./bus-03by3cwk.js";
33
+ Service66,
34
+ node69
35
+ } from "./event-logger-0svvf4a3.js";
36
36
  import {
37
37
  __export
38
- } from "./bus-9rqn6x4v.js";
38
+ } from "./event-logger-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError3,
45
- Options: () => Options2,
44
+ NotFoundError: () => NotFoundError2,
45
+ Options: () => Options3,
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: () => Service37,
52
+ Service: () => Service28,
53
53
  Status: () => Status2,
54
54
  ToolCallError: () => ToolCallError2,
55
- configured: () => configured2,
56
- layer: () => layer16,
57
- node: () => node40
55
+ configured: () => configured3,
56
+ layer: () => layer13,
57
+ node: () => node31
58
58
  });
59
59
  import { Mcp } from "@opencode/schema/mcp";
60
60
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
72
72
  var ResourceCatalog2 = Mcp.ResourceCatalog;
73
73
  var ResourceContent2 = Mcp.ResourceContent;
74
74
 
75
- class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
75
+ class NotFoundError2 extends Schema.TaggedError()("MCP.NotFoundError", {
76
76
  server: ServerName2
77
77
  }) {
78
78
  get message() {
@@ -104,21 +104,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
104
104
  var endpointLoads = makeUnsafe2();
105
105
  var cloneConfig = (config) => structuredClone(config);
106
106
 
107
- class Service37 extends Context.Service()("@opencode/MCP") {
107
+ class Service28 extends Context.Service()("@opencode/MCP") {
108
108
  }
109
- var Options2 = Schema.Struct({
109
+ var Options3 = Schema.Struct({
110
110
  clientInfo: Schema.optional(Schema.Struct({
111
111
  name: Schema.String,
112
112
  version: Schema.String
113
113
  }))
114
114
  });
115
- var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
116
- const location = yield* Service80;
117
- const environment = yield* Service50;
118
- const bus = yield* Service86;
119
- const forms = yield* Service85;
120
- const integration = yield* Service83;
121
- const credentials = yield* Service84;
115
+ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
116
+ const location = yield* Service82;
117
+ const environment = yield* Service79;
118
+ const bus = yield* Service85;
119
+ const forms = yield* Service68;
120
+ const integration = yield* Service66;
121
+ const credentials = yield* Service67;
122
122
  const root = yield* Effect.scope;
123
123
  const fork = yield* FiberSet.makeRuntime();
124
124
  const servers = yield* Scope.fork(root, "parallel");
@@ -133,7 +133,7 @@ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
133
133
  return;
134
134
  const remote = entry.config;
135
135
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
136
- const integrationID = ID16.make(suffix);
136
+ const integrationID = ID12.make(suffix);
137
137
  entry.integrationID = integrationID;
138
138
  owned.add(integrationID);
139
139
  const methodID = MethodID2.make(suffix);
@@ -149,7 +149,7 @@ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
149
149
  method: { id: methodID, type: "oauth", label: name },
150
150
  authorize: () => Effect.gen(function* () {
151
151
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
152
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service84, credentials));
152
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service67, credentials));
153
153
  })
154
154
  });
155
155
  }).pipe(Scope.provide(scope));
@@ -157,19 +157,19 @@ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
157
157
  const requireServer = Effect.fnUntraced(function* (name) {
158
158
  const entry = entries.get(name);
159
159
  if (!entry)
160
- return yield* new NotFoundError3({ server: name });
160
+ return yield* new NotFoundError2({ server: name });
161
161
  return { name, entry };
162
162
  });
163
163
  const connectProvider = Effect.fnUntraced(function* (entry) {
164
164
  if (entry.config.type !== "remote" || !entry.integrationID)
165
165
  return;
166
166
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
167
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service84, credentials));
167
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service67, credentials));
168
168
  });
169
169
  const elicitation = {
170
170
  create: (input) => Effect.gen(function* () {
171
171
  if (input.params.mode === "url") {
172
- const formID = ID18.create();
172
+ const formID = ID14.create();
173
173
  const elicitationID = input.params.elicitationId;
174
174
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
175
175
  if (key)
@@ -272,7 +272,7 @@ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
272
272
  entry.scope = scope;
273
273
  const authProvider = yield* connectProvider(entry);
274
274
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
275
- 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));
275
+ const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service79, environment), Scope.provide(scope));
276
276
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
277
277
  if (Exit.isSuccess(result)) {
278
278
  entry.client = result.value.connection;
@@ -373,7 +373,7 @@ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
373
373
  let closed = false;
374
374
  const result = yield* McpClient.connect(name, { type: "attached", transport }, location.directory, undefined, elicitation, options?.clientInfo).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
375
375
  closed = true;
376
- }))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service50, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
376
+ }))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service79, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
377
377
  const register = Effect.gen(function* () {
378
378
  if (closed) {
379
379
  yield* Scope.close(scope, Exit.void);
@@ -452,7 +452,7 @@ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
452
452
  yield* startServer(name, entry);
453
453
  }).pipe(locks.withLock(name));
454
454
  });
455
- fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
455
+ fork(bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
456
456
  const state = create3({
457
457
  name: "mcp",
458
458
  initial: () => ({
@@ -478,7 +478,7 @@ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
478
478
  }),
479
479
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
480
480
  });
481
- return Service37.of({
481
+ return Service28.of({
482
482
  transform: state.transform,
483
483
  reload: state.reload,
484
484
  servers: Effect.fn("MCP.servers")(function* () {
@@ -611,14 +611,14 @@ function mergeCatalogs(catalogs) {
611
611
  templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
612
612
  });
613
613
  }
614
- function configured2(options) {
614
+ function configured3(options) {
615
615
  return makeLocationNode({
616
- service: Service37,
617
- layer: layer16(options),
618
- deps: [node84, node53, node90, node89, node87, node88]
616
+ service: Service28,
617
+ layer: layer13(options),
618
+ deps: [node86, node82, node89, node71, node69, node70]
619
619
  });
620
620
  }
621
- var node40 = configured2();
621
+ var node31 = configured3();
622
622
  function toElicitationField(key, property, required) {
623
623
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
624
624
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -669,4 +669,4 @@ function toElicitationField(key, property, required) {
669
669
  }
670
670
  }
671
671
 
672
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError3, ToolCallError2, Service37, Options2, layer16, configured2, node40, exports_mcp4 };
672
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError2, ToolCallError2, Service28, Options3, layer13, configured3, node31, exports_mcp4 };