@opencode/core 0.0.0-dev-20446 → 0.0.0-dev-20448

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 (797) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +77 -77
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +90 -90
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{repository-cache-e9266ee7.js → event-logger-025r9p6c.js} +20 -20
  8. package/dist/chunks/{repository-cache-0j77ygfz.js → event-logger-0j77ygfz.js} +2 -2
  9. package/dist/chunks/{repository-cache-9qk0q36h.js → event-logger-0pa8htj5.js} +18 -18
  10. package/dist/chunks/{repository-cache-0paq2nw3.js → event-logger-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{repository-cache-0vbcp93d.js → event-logger-0vbcp93d.js} +2 -2
  12. package/dist/chunks/{repository-cache-jpeemenq.js → event-logger-10ke8wy4.js} +4 -4
  13. package/dist/chunks/{repository-cache-cgkqc5k9.js → event-logger-13fywz9t.js} +22 -22
  14. package/dist/chunks/{repository-cache-dm4xrbzk.js → event-logger-17zj526k.js} +8 -8
  15. package/dist/chunks/{repository-cache-1dazxqgg.js → event-logger-1dazxqgg.js} +2 -2
  16. package/dist/chunks/{repository-cache-1dvck2a7.js → event-logger-1dvck2a7.js} +2 -2
  17. package/dist/chunks/{repository-cache-qcrnsjqj.js → event-logger-1f1banxt.js} +22 -22
  18. package/dist/chunks/{repository-cache-vgb18m5f.js → event-logger-1fqq8vqc.js} +26 -26
  19. package/dist/chunks/{repository-cache-vxhhv58t.js → event-logger-1jt7ykkj.js} +24 -24
  20. package/dist/chunks/{repository-cache-br52dth2.js → event-logger-1pek3jt7.js} +5 -5
  21. package/dist/chunks/event-logger-1vsw5z46.js +26 -0
  22. package/dist/chunks/{repository-cache-21r38tys.js → event-logger-21r38tys.js} +1 -1
  23. package/dist/chunks/{repository-cache-n7d88tpn.js → event-logger-256nx13v.js} +3 -3
  24. package/dist/chunks/{repository-cache-9nkwfwgn.js → event-logger-27a4zz2s.js} +17 -17
  25. package/dist/chunks/{repository-cache-g0kjp75c.js → event-logger-283mwr8r.js} +18 -18
  26. package/dist/chunks/{repository-cache-9aqqzffj.js → event-logger-29eg91y8.js} +18 -18
  27. package/dist/chunks/{repository-cache-2a5m3afh.js → event-logger-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{repository-cache-2ccvkpx1.js → event-logger-2ccvkpx1.js} +2 -2
  29. package/dist/chunks/{repository-cache-mwka8kak.js → event-logger-2d99pj65.js} +13 -13
  30. package/dist/chunks/{repository-cache-n48q0swr.js → event-logger-2jm1kbky.js} +9 -9
  31. package/dist/chunks/{repository-cache-qgn6gcr1.js → event-logger-2k8khapm.js} +5 -5
  32. package/dist/chunks/{repository-cache-as7cf5zz.js → event-logger-2m8jawch.js} +4 -4
  33. package/dist/chunks/{repository-cache-ca7w653e.js → event-logger-2vs2nh1n.js} +4 -4
  34. package/dist/chunks/{repository-cache-5we7r0eg.js → event-logger-2wts5qzq.js} +8 -8
  35. package/dist/chunks/{repository-cache-h3g3cs7p.js → event-logger-2zfnf44s.js} +4 -4
  36. package/dist/chunks/{repository-cache-kb6vbnxp.js → event-logger-30krspkn.js} +4 -4
  37. package/dist/chunks/{repository-cache-8ht81e1j.js → event-logger-340fk759.js} +11 -11
  38. package/dist/chunks/{repository-cache-ekeagaff.js → event-logger-376x46en.js} +32 -32
  39. package/dist/chunks/{repository-cache-3fc6dm20.js → event-logger-3fc6dm20.js} +1 -1
  40. package/dist/chunks/{repository-cache-2w25bewv.js → event-logger-3h8j5ahx.js} +8 -8
  41. package/dist/chunks/{repository-cache-3hepkmqq.js → event-logger-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{repository-cache-aq1q7s3w.js → event-logger-3ma1skk1.js} +11 -11
  43. package/dist/chunks/{repository-cache-x9qtnq71.js → event-logger-3ma5fxv3.js} +11 -11
  44. package/dist/chunks/{repository-cache-jk54fhp7.js → event-logger-3ny7sck4.js} +11 -11
  45. package/dist/chunks/{repository-cache-qsr9synt.js → event-logger-3qaj82j9.js} +5 -5
  46. package/dist/chunks/{repository-cache-3smtnn6g.js → event-logger-3smtnn6g.js} +1 -1
  47. package/dist/chunks/{repository-cache-3tvqynh2.js → event-logger-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{repository-cache-mnkrz2st.js → event-logger-3xbeb0ys.js} +5 -5
  49. package/dist/chunks/{repository-cache-3zsf4n22.js → event-logger-3zsf4n22.js} +1 -1
  50. package/dist/chunks/{repository-cache-ydvbazfr.js → event-logger-432svpan.js} +43 -43
  51. package/dist/chunks/{repository-cache-ha4q6k7g.js → event-logger-4608f3zx.js} +34 -34
  52. package/dist/chunks/{repository-cache-0qb7pa1n.js → event-logger-470chn1p.js} +8 -8
  53. package/dist/chunks/{repository-cache-7fv9049a.js → event-logger-49vre7sk.js} +42 -42
  54. package/dist/chunks/{repository-cache-b7gejjdn.js → event-logger-4f7vnw9z.js} +15 -15
  55. package/dist/chunks/{repository-cache-j5w2yx54.js → event-logger-4mwpykj0.js} +6 -6
  56. package/dist/chunks/{repository-cache-zbrkq2e1.js → event-logger-4pwd558p.js} +7 -7
  57. package/dist/chunks/{repository-cache-ryhnjg92.js → event-logger-4qrezbc4.js} +29 -29
  58. package/dist/chunks/{repository-cache-63s895d0.js → event-logger-4qwh2j69.js} +9 -9
  59. package/dist/chunks/{repository-cache-5c68v4c5.js → event-logger-4veqx6w1.js} +13 -13
  60. package/dist/chunks/{repository-cache-dtrxyetv.js → event-logger-4wskyzd5.js} +5 -5
  61. package/dist/chunks/{repository-cache-54ma36ye.js → event-logger-54ma36ye.js} +1 -1
  62. package/dist/chunks/{repository-cache-n7qbnv1j.js → event-logger-55xfy5s4.js} +15 -15
  63. package/dist/chunks/{repository-cache-a04262f3.js → event-logger-594gxkg3.js} +1 -1
  64. package/dist/chunks/{repository-cache-c765mh8b.js → event-logger-5d607bsg.js} +9 -9
  65. package/dist/chunks/{repository-cache-5daktx2q.js → event-logger-5daktx2q.js} +1 -1
  66. package/dist/chunks/{repository-cache-8zq1pfr0.js → event-logger-5dkh983c.js} +15 -15
  67. package/dist/chunks/event-logger-5f4ycdnm.js +507 -0
  68. package/dist/chunks/{repository-cache-gex2px6h.js → event-logger-5fe36zdw.js} +3 -3
  69. package/dist/chunks/{repository-cache-ymcgbes0.js → event-logger-5n25gzb5.js} +4 -4
  70. package/dist/chunks/{repository-cache-5t3nmthw.js → event-logger-5t3nmthw.js} +2 -2
  71. package/dist/chunks/{repository-cache-pr2h8h86.js → event-logger-5znq9j58.js} +8 -8
  72. package/dist/chunks/{repository-cache-669tq793.js → event-logger-669tq793.js} +1 -1
  73. package/dist/chunks/{repository-cache-5fwyrf5z.js → event-logger-68419g8m.js} +33 -33
  74. package/dist/chunks/{repository-cache-skpsgn3k.js → event-logger-6q0c4mka.js} +36 -36
  75. package/dist/chunks/{repository-cache-7x28tdrb.js → event-logger-6wc4pc56.js} +21 -21
  76. package/dist/chunks/{repository-cache-b005zpx3.js → event-logger-712676yn.js} +20 -20
  77. package/dist/chunks/{repository-cache-71az546q.js → event-logger-71az546q.js} +2 -2
  78. package/dist/chunks/{repository-cache-7bmhse3q.js → event-logger-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{repository-cache-5m5yrm4y.js → event-logger-7cjh5p1y.js} +8 -8
  80. package/dist/chunks/{repository-cache-vxfyztn0.js → event-logger-7v7knrkr.js} +13 -13
  81. package/dist/chunks/{repository-cache-dhr91br8.js → event-logger-7x3ym2x5.js} +5 -5
  82. package/dist/chunks/{repository-cache-2jmaghvr.js → event-logger-7yqjxrmz.js} +6 -6
  83. package/dist/chunks/{repository-cache-hrbcf8x8.js → event-logger-84p84h2c.js} +3 -3
  84. package/dist/chunks/{repository-cache-w1eejvng.js → event-logger-84txncab.js} +5 -5
  85. package/dist/chunks/{repository-cache-c2st8pk7.js → event-logger-887y1z54.js} +5 -5
  86. package/dist/chunks/{repository-cache-8d7r5vzw.js → event-logger-8d7r5vzw.js} +1 -1
  87. package/dist/chunks/{repository-cache-e61dah1y.js → event-logger-8hezddv1.js} +29 -29
  88. package/dist/chunks/{repository-cache-kpqjj4ny.js → event-logger-8s6x3d41.js} +36 -36
  89. package/dist/chunks/{repository-cache-j9me29bk.js → event-logger-904bg09a.js} +11 -11
  90. package/dist/chunks/{repository-cache-y23ntya0.js → event-logger-9bxjh02c.js} +47 -47
  91. package/dist/chunks/{repository-cache-htpvgqrd.js → event-logger-9e4en3sz.js} +8 -8
  92. package/dist/chunks/{repository-cache-9e5bzkjp.js → event-logger-9e5bzkjp.js} +3 -3
  93. package/dist/chunks/{repository-cache-j2nvzb5v.js → event-logger-9vqrjshk.js} +15 -15
  94. package/dist/chunks/{repository-cache-pw9d3wh8.js → event-logger-9we07c3h.js} +28 -28
  95. package/dist/chunks/{repository-cache-hx7zmtxv.js → event-logger-9x3j7hff.js} +91 -91
  96. package/dist/chunks/{repository-cache-aaet6srn.js → event-logger-aaet6srn.js} +2 -2
  97. package/dist/chunks/{repository-cache-zav7rf1m.js → event-logger-aakwft81.js} +26 -26
  98. package/dist/chunks/{repository-cache-nb17w2yx.js → event-logger-agkzm0be.js} +9 -9
  99. package/dist/chunks/{repository-cache-8w5vxsg3.js → event-logger-anwj03q3.js} +15 -15
  100. package/dist/chunks/{repository-cache-g63fbaar.js → event-logger-ax23vn7r.js} +7 -7
  101. package/dist/chunks/{repository-cache-nfqw6mz9.js → event-logger-b29htdbz.js} +20 -20
  102. package/dist/chunks/{repository-cache-scgrse2b.js → event-logger-b3f8fkhc.js} +5 -5
  103. package/dist/chunks/{repository-cache-py3kkmfq.js → event-logger-b4twkq7r.js} +6 -6
  104. package/dist/chunks/{repository-cache-8aw8tj9n.js → event-logger-b5beq1ps.js} +15 -15
  105. package/dist/chunks/{repository-cache-b6gygkdw.js → event-logger-b6gygkdw.js} +2 -2
  106. package/dist/chunks/{repository-cache-22f357wt.js → event-logger-b720ka4c.js} +3 -3
  107. package/dist/chunks/{repository-cache-4eda5p0n.js → event-logger-b77ncnqv.js} +17 -17
  108. package/dist/chunks/{repository-cache-zmsbhx8q.js → event-logger-bcz24cr5.js} +14 -14
  109. package/dist/chunks/{repository-cache-1gd6spct.js → event-logger-bfnsmjbw.js} +5 -5
  110. package/dist/chunks/{repository-cache-9tc8fk2g.js → event-logger-bfv0d40t.js} +19 -19
  111. package/dist/chunks/{repository-cache-76ymgwed.js → event-logger-bkxyw0dr.js} +9 -9
  112. package/dist/chunks/{repository-cache-ngpj616s.js → event-logger-bmwt6c32.js} +39 -39
  113. package/dist/chunks/{repository-cache-3s1wsaeq.js → event-logger-bt8wzsf1.js} +25 -25
  114. package/dist/chunks/{repository-cache-1d5ct0zc.js → event-logger-bx4acmk7.js} +11 -11
  115. package/dist/chunks/{repository-cache-fqpgqbak.js → event-logger-bxcmn2wa.js} +45 -45
  116. package/dist/chunks/{repository-cache-5q9xfknq.js → event-logger-by5tvt2z.js} +10 -10
  117. package/dist/chunks/{repository-cache-v49gtp01.js → event-logger-byv6g4ee.js} +26 -26
  118. package/dist/chunks/{repository-cache-40f2545g.js → event-logger-c89vh89k.js} +33 -33
  119. package/dist/chunks/{repository-cache-kxsrbhnp.js → event-logger-cbf5jjb3.js} +9 -9
  120. package/dist/chunks/{repository-cache-2rk6k8vg.js → event-logger-cdevnsy5.js} +14 -14
  121. package/dist/chunks/{repository-cache-cfpp34xq.js → event-logger-cfdmmks0.js} +45 -45
  122. package/dist/chunks/{repository-cache-e35ah7hw.js → event-logger-cr2e17pp.js} +24 -24
  123. package/dist/chunks/{repository-cache-d7q3t8ht.js → event-logger-cv3we14p.js} +9 -9
  124. package/dist/chunks/{repository-cache-wqcy1a6q.js → event-logger-cz658kn3.js} +17 -17
  125. package/dist/chunks/{repository-cache-7gh65m6s.js → event-logger-d2c9eem0.js} +8 -8
  126. package/dist/chunks/{repository-cache-bsxd6m7c.js → event-logger-d9vtgrjt.js} +7 -7
  127. package/dist/chunks/{repository-cache-3j8sdtpz.js → event-logger-dfe8djrf.js} +4 -4
  128. package/dist/chunks/{repository-cache-xkntkrq7.js → event-logger-dmqcgk4z.js} +5 -5
  129. package/dist/chunks/{repository-cache-8mk2n5b3.js → event-logger-dr12q9z6.js} +22 -22
  130. package/dist/chunks/{repository-cache-kryraq7m.js → event-logger-dvdrsg1q.js} +86 -86
  131. package/dist/chunks/{repository-cache-rtb06bvf.js → event-logger-dyhejfhh.js} +3 -3
  132. package/dist/chunks/{repository-cache-gtm34f6g.js → event-logger-e0rzh98p.js} +24 -24
  133. package/dist/chunks/{repository-cache-e93vysgz.js → event-logger-e6cfs5fy.js} +4 -4
  134. package/dist/chunks/{repository-cache-9esanb1h.js → event-logger-e6j7p34d.js} +29 -29
  135. package/dist/chunks/{repository-cache-n032fvft.js → event-logger-e8cja42p.js} +6 -6
  136. package/dist/chunks/{repository-cache-n9esafc3.js → event-logger-ebsr21av.js} +20 -20
  137. package/dist/chunks/{repository-cache-ef5x83kb.js → event-logger-ef5x83kb.js} +1 -1
  138. package/dist/chunks/{repository-cache-etq0c3wd.js → event-logger-etq0c3wd.js} +1 -1
  139. package/dist/chunks/{repository-cache-10h2grd6.js → event-logger-ex7a17jg.js} +9 -9
  140. package/dist/chunks/{repository-cache-eybz4adf.js → event-logger-ezjrjzyq.js} +10 -10
  141. package/dist/chunks/{repository-cache-tavta0y2.js → event-logger-fcc8k9h4.js} +21 -21
  142. package/dist/chunks/{repository-cache-btec747f.js → event-logger-fepbnb8j.js} +5 -5
  143. package/dist/chunks/{repository-cache-f3gqgk1j.js → event-logger-fepsx33q.js} +24 -24
  144. package/dist/chunks/{repository-cache-j83nw7fd.js → event-logger-fngg5dts.js} +29 -29
  145. package/dist/chunks/{repository-cache-expxz8xq.js → event-logger-fzaeg2ds.js} +12 -12
  146. package/dist/chunks/{repository-cache-tntmnmab.js → event-logger-g14hjekp.js} +181 -181
  147. package/dist/chunks/{repository-cache-fjabd4vm.js → event-logger-g54wh2k8.js} +72 -72
  148. package/dist/chunks/{repository-cache-xfkkasph.js → event-logger-g5w8qwbj.js} +4 -4
  149. package/dist/chunks/{repository-cache-gd4qta3r.js → event-logger-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{repository-cache-jk5jtrba.js → event-logger-gdresbk1.js} +43 -43
  151. package/dist/chunks/{repository-cache-m4emmwet.js → event-logger-gepsrshe.js} +15 -15
  152. package/dist/chunks/{repository-cache-e8nmz9dx.js → event-logger-gg6v90bt.js} +3 -3
  153. package/dist/chunks/{repository-cache-091f0rd0.js → event-logger-gksp05c7.js} +41 -41
  154. package/dist/chunks/{repository-cache-qmp8ys2a.js → event-logger-gm0fw0ea.js} +20 -20
  155. package/dist/chunks/{repository-cache-t81m24cw.js → event-logger-gwkgtfjp.js} +9 -9
  156. package/dist/chunks/{repository-cache-n8c291r7.js → event-logger-gzbkpp9m.js} +6 -6
  157. package/dist/chunks/{repository-cache-32dhwnjc.js → event-logger-h0nrh5g5.js} +16 -16
  158. package/dist/chunks/{repository-cache-r8ebqbsc.js → event-logger-h0y6gyg6.js} +5 -5
  159. package/dist/chunks/{repository-cache-h2b79v29.js → event-logger-h2b79v29.js} +2 -2
  160. package/dist/chunks/{repository-cache-6bkwpg0x.js → event-logger-h6sem7h5.js} +12 -12
  161. package/dist/chunks/{repository-cache-h6vf3j39.js → event-logger-h6vf3j39.js} +1 -1
  162. package/dist/chunks/{repository-cache-86qzxe6p.js → event-logger-h90v2x9d.js} +4 -4
  163. package/dist/chunks/{repository-cache-706phk7x.js → event-logger-h9phamz0.js} +2 -2
  164. package/dist/chunks/{repository-cache-4z58m4b4.js → event-logger-h9wp8z5w.js} +4 -4
  165. package/dist/chunks/{repository-cache-0a1ad31p.js → event-logger-hamg8kx8.js} +27 -27
  166. package/dist/chunks/{repository-cache-4429sr8a.js → event-logger-hd0dv02w.js} +21 -21
  167. package/dist/chunks/{repository-cache-hs1x7rht.js → event-logger-hh2y2jgt.js} +12 -12
  168. package/dist/chunks/{repository-cache-376dc42v.js → event-logger-hk5c0ytp.js} +24 -24
  169. package/dist/chunks/{repository-cache-0z5qyjxf.js → event-logger-hpxe7m2y.js} +18 -11
  170. package/dist/chunks/{repository-cache-g41awwxy.js → event-logger-ht5v7459.js} +21 -21
  171. package/dist/chunks/{repository-cache-j56e64zr.js → event-logger-j56e64zr.js} +1 -1
  172. package/dist/chunks/{repository-cache-zdy34q02.js → event-logger-j6q81gkc.js} +13 -13
  173. package/dist/chunks/{repository-cache-fsaqawm2.js → event-logger-jk1cfv3m.js} +6 -6
  174. package/dist/chunks/{repository-cache-f7t5kd0c.js → event-logger-k2vtjz35.js} +34 -34
  175. package/dist/chunks/{repository-cache-k3c624dm.js → event-logger-k3c624dm.js} +3 -3
  176. package/dist/chunks/{repository-cache-gh5z95q3.js → event-logger-k70p9jzb.js} +9 -9
  177. package/dist/chunks/{repository-cache-0zvk9z0h.js → event-logger-k8gwj0p0.js} +13 -13
  178. package/dist/chunks/{repository-cache-yzt1bx7e.js → event-logger-k9jsxftv.js} +32 -32
  179. package/dist/chunks/{repository-cache-vf3z480h.js → event-logger-kbf65jmx.js} +28 -28
  180. package/dist/chunks/{repository-cache-rax07w26.js → event-logger-kbkddehn.js} +26 -26
  181. package/dist/chunks/{repository-cache-0s60x6wy.js → event-logger-kk2qnnr0.js} +18 -18
  182. package/dist/chunks/{repository-cache-n37c4crj.js → event-logger-kp8q1t60.js} +9 -9
  183. package/dist/chunks/{repository-cache-beprb18x.js → event-logger-m1q4m0kb.js} +12 -12
  184. package/dist/chunks/{repository-cache-x3d3jna2.js → event-logger-m2n93apa.js} +7 -7
  185. package/dist/chunks/{repository-cache-m3fdjcah.js → event-logger-m3fdjcah.js} +1 -1
  186. package/dist/chunks/{repository-cache-37sfe3bm.js → event-logger-m69d1h5c.js} +14 -14
  187. package/dist/chunks/{repository-cache-169shjta.js → event-logger-m6fea7hh.js} +11 -11
  188. package/dist/chunks/{repository-cache-m9w0rfyh.js → event-logger-m9w0rfyh.js} +1 -1
  189. package/dist/chunks/{repository-cache-mazbtkaa.js → event-logger-mazbtkaa.js} +2 -2
  190. package/dist/chunks/{repository-cache-1ygqh575.js → event-logger-mfqp6xfm.js} +6 -6
  191. package/dist/chunks/{repository-cache-4epeq83n.js → event-logger-mg9eprjx.js} +8 -8
  192. package/dist/chunks/{repository-cache-8f2ehy9w.js → event-logger-mkgkpagd.js} +18 -18
  193. package/dist/chunks/{repository-cache-mpk0rfs5.js → event-logger-mpk0rfs5.js} +1 -1
  194. package/dist/chunks/{repository-cache-a1gpj94z.js → event-logger-mvfsc1pv.js} +3 -3
  195. package/dist/chunks/{repository-cache-qne3fa44.js → event-logger-n8vdnqrc.js} +5 -5
  196. package/dist/chunks/{repository-cache-e7k2h18t.js → event-logger-p1ykeed4.js} +4 -4
  197. package/dist/chunks/{repository-cache-cmwkp3r5.js → event-logger-p37cw4rj.js} +8 -8
  198. package/dist/chunks/{repository-cache-s8vhzyp4.js → event-logger-p7tapf4a.js} +56 -56
  199. package/dist/chunks/{repository-cache-822vy19y.js → event-logger-pchm5dd6.js} +21 -21
  200. package/dist/chunks/{repository-cache-dzydyd9h.js → event-logger-pd72zq69.js} +48 -48
  201. package/dist/chunks/{repository-cache-s39a1knw.js → event-logger-pdzqywty.js} +44 -44
  202. package/dist/chunks/{repository-cache-pjvnvgmy.js → event-logger-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{repository-cache-pknna89w.js → event-logger-pknna89w.js} +1 -1
  204. package/dist/chunks/{repository-cache-bjzxe3qz.js → event-logger-pm4gwtf6.js} +12 -12
  205. package/dist/chunks/{repository-cache-37ea9c2d.js → event-logger-pnaxc6j9.js} +8 -8
  206. package/dist/chunks/{repository-cache-kzhakyvk.js → event-logger-prdz64n1.js} +2 -2
  207. package/dist/chunks/{repository-cache-wn1kxzz7.js → event-logger-ps49tzpg.js} +16 -16
  208. package/dist/chunks/{repository-cache-n0rv915y.js → event-logger-ps97516x.js} +17 -17
  209. package/dist/chunks/{repository-cache-f0m8zgz7.js → event-logger-q9p7zpd5.js} +309 -309
  210. package/dist/chunks/{repository-cache-agkhkqzj.js → event-logger-qh22g8nh.js} +13 -13
  211. package/dist/chunks/{repository-cache-qnc92qwc.js → event-logger-qnc92qwc.js} +1 -1
  212. package/dist/chunks/{repository-cache-q8406f75.js → event-logger-qrn3harz.js} +10 -10
  213. package/dist/chunks/{repository-cache-qsdy395h.js → event-logger-qsdy395h.js} +1 -1
  214. package/dist/chunks/{repository-cache-yrerq1n3.js → event-logger-qsjw007r.js} +10 -10
  215. package/dist/chunks/{repository-cache-3bg5g8q7.js → event-logger-qv6rw298.js} +24 -24
  216. package/dist/chunks/{repository-cache-kq1ref1h.js → event-logger-qvq09nk1.js} +3 -3
  217. package/dist/chunks/{repository-cache-n57qrn3a.js → event-logger-r01t9b5y.js} +6 -6
  218. package/dist/chunks/{repository-cache-k64zxjm6.js → event-logger-r0cb0ck6.js} +10 -10
  219. package/dist/chunks/{repository-cache-yp2x3t23.js → event-logger-r8xr0va3.js} +4 -4
  220. package/dist/chunks/{repository-cache-dg2gsbnn.js → event-logger-rd108yne.js} +17 -17
  221. package/dist/chunks/{repository-cache-rdw6cm16.js → event-logger-rdw6cm16.js} +1 -1
  222. package/dist/chunks/{repository-cache-3by35n0t.js → event-logger-rjdsec5h.js} +5 -5
  223. package/dist/chunks/{repository-cache-k4vx4kqq.js → event-logger-rpchwtds.js} +33 -33
  224. package/dist/chunks/{repository-cache-re4wmejr.js → event-logger-rs3qhzzg.js} +30 -30
  225. package/dist/chunks/{repository-cache-8sgzw3p1.js → event-logger-rtkh151k.js} +6 -6
  226. package/dist/chunks/{repository-cache-4ag3f9xz.js → event-logger-rtx9gtyv.js} +3 -3
  227. package/dist/chunks/{repository-cache-ysypycvb.js → event-logger-s3atc1v9.js} +1 -1
  228. package/dist/chunks/{repository-cache-hkyvzcah.js → event-logger-s4mtyj9y.js} +15 -15
  229. package/dist/chunks/{repository-cache-zwc7jy6c.js → event-logger-scnp1dpp.js} +5 -5
  230. package/dist/chunks/{repository-cache-0j4x3pky.js → event-logger-sdx9bhzb.js} +19 -19
  231. package/dist/chunks/{repository-cache-69jzkc3x.js → event-logger-shqntgwy.js} +30 -30
  232. package/dist/chunks/{repository-cache-gjnx9fp9.js → event-logger-spw1z2q7.js} +23 -23
  233. package/dist/chunks/{repository-cache-a1jg4bqm.js → event-logger-sqxnm49h.js} +9 -9
  234. package/dist/chunks/{repository-cache-8gn7nf7w.js → event-logger-sy89kq56.js} +11 -11
  235. package/dist/chunks/{repository-cache-g9n5gn8p.js → event-logger-sz0w735c.js} +4 -4
  236. package/dist/chunks/{repository-cache-rhjbct0v.js → event-logger-t550f9t1.js} +4 -4
  237. package/dist/chunks/{repository-cache-tazgh4e4.js → event-logger-tazgh4e4.js} +1 -1
  238. package/dist/chunks/{repository-cache-tcezcvh9.js → event-logger-tcezcvh9.js} +1 -1
  239. package/dist/chunks/{repository-cache-tdstcens.js → event-logger-tdstcens.js} +1 -1
  240. package/dist/chunks/{repository-cache-2fxbb402.js → event-logger-tng282jn.js} +8 -8
  241. package/dist/chunks/{repository-cache-mk49qygx.js → event-logger-tv2mrqm9.js} +16 -16
  242. package/dist/chunks/{repository-cache-tvtrv512.js → event-logger-tvtrv512.js} +1 -1
  243. package/dist/chunks/{repository-cache-25ex5bj3.js → event-logger-tw51v10a.js} +16 -16
  244. package/dist/chunks/{repository-cache-3v5tjer0.js → event-logger-tzehptey.js} +9 -9
  245. package/dist/chunks/{repository-cache-v1faaxn9.js → event-logger-v1faaxn9.js} +1 -1
  246. package/dist/chunks/{repository-cache-myh7k9xx.js → event-logger-v3t7ccjd.js} +41 -41
  247. package/dist/chunks/{repository-cache-tk14y25j.js → event-logger-vazhwx36.js} +5 -5
  248. package/dist/chunks/{repository-cache-veqvce7d.js → event-logger-veqvce7d.js} +1 -1
  249. package/dist/chunks/{repository-cache-hqc76sze.js → event-logger-vp0z89e3.js} +20 -20
  250. package/dist/chunks/{repository-cache-m0ecvezt.js → event-logger-vq5c9x4q.js} +8 -8
  251. package/dist/chunks/{repository-cache-vzcthcp8.js → event-logger-vzcthcp8.js} +1 -1
  252. package/dist/chunks/{repository-cache-7vwcfb7e.js → event-logger-vzmgbyx1.js} +8 -8
  253. package/dist/chunks/{repository-cache-vzs5sf6e.js → event-logger-vzs5sf6e.js} +1 -1
  254. package/dist/chunks/{repository-cache-w3wsvvr9.js → event-logger-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{repository-cache-gzj36dnw.js → event-logger-w7xxgrkj.js} +23 -23
  256. package/dist/chunks/{repository-cache-qxnn7y6z.js → event-logger-w8srcnpp.js} +8 -8
  257. package/dist/chunks/{repository-cache-4v7ngy20.js → event-logger-wa9g86nq.js} +4 -4
  258. package/dist/chunks/{repository-cache-wd87259q.js → event-logger-wd87259q.js} +1 -1
  259. package/dist/chunks/{repository-cache-wscpecpd.js → event-logger-wm2754ph.js} +27 -27
  260. package/dist/chunks/{repository-cache-j0032p6g.js → event-logger-wpwd7k51.js} +9 -9
  261. package/dist/chunks/{repository-cache-963rbvmp.js → event-logger-wwfsgjp3.js} +9 -9
  262. package/dist/chunks/{repository-cache-x1ezjp6w.js → event-logger-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{repository-cache-7kfsqtmt.js → event-logger-xa4xh9eb.js} +11 -11
  264. package/dist/chunks/{repository-cache-jfqtm2ew.js → event-logger-xb02k0wq.js} +4 -4
  265. package/dist/chunks/{repository-cache-wqkf1g1x.js → event-logger-xbxcg6gj.js} +22 -22
  266. package/dist/chunks/{repository-cache-pedjrwj0.js → event-logger-xcec66r5.js} +46 -46
  267. package/dist/chunks/{repository-cache-vsp1fds9.js → event-logger-xdk9p2qn.js} +4 -4
  268. package/dist/chunks/{repository-cache-a6964z1k.js → event-logger-xe40c49s.js} +43 -43
  269. package/dist/chunks/{repository-cache-gpzeq7j5.js → event-logger-xfwsg613.js} +20 -20
  270. package/dist/chunks/{repository-cache-yfksphsg.js → event-logger-xh9ky465.js} +13 -13
  271. package/dist/chunks/{repository-cache-t9ra34wt.js → event-logger-xr2kbdek.js} +9 -9
  272. package/dist/chunks/{repository-cache-mre670nb.js → event-logger-xtqeprzx.js} +16 -16
  273. package/dist/chunks/{repository-cache-48frr5ey.js → event-logger-xyw3p85n.js} +24 -24
  274. package/dist/chunks/{repository-cache-y1fvbwt7.js → event-logger-y1fvbwt7.js} +1 -1
  275. package/dist/chunks/{repository-cache-8aaqm6qj.js → event-logger-y1qqcj8h.js} +8 -8
  276. package/dist/chunks/{repository-cache-v41jw1xq.js → event-logger-y40kyw7n.js} +42 -42
  277. package/dist/chunks/{repository-cache-dpkg50ah.js → event-logger-y71avatq.js} +4 -4
  278. package/dist/chunks/{repository-cache-p1p3hvby.js → event-logger-yb0nnf5a.js} +3 -3
  279. package/dist/chunks/{repository-cache-yrhqyw5v.js → event-logger-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{repository-cache-hzbq48p7.js → event-logger-yt79nyat.js} +6 -6
  281. package/dist/chunks/{repository-cache-0mrd04w5.js → event-logger-yyq5wwvp.js} +35 -35
  282. package/dist/chunks/{repository-cache-z0bkrqjs.js → event-logger-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/event-logger-z2cwt4s7.js +252 -0
  284. package/dist/chunks/{repository-cache-t4wnk216.js → event-logger-z82rkb9m.js} +3 -3
  285. package/dist/chunks/{repository-cache-3g7y17n3.js → event-logger-z8rfaqzv.js} +27 -27
  286. package/dist/chunks/{repository-cache-3rbph65y.js → event-logger-zcayt5jj.js} +41 -41
  287. package/dist/chunks/{repository-cache-58s7bv4e.js → event-logger-zfv7fwfa.js} +34 -34
  288. package/dist/chunks/{repository-cache-3556dn8t.js → event-logger-znsx74x0.js} +1 -1
  289. package/dist/chunks/{repository-cache-zr2ceqn5.js → event-logger-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{repository-cache-v30h9xz5.js → event-logger-zwq83wym.js} +22 -22
  291. package/dist/chunks/{repository-cache-zxq2ej10.js → event-logger-zxq2ej10.js} +1 -1
  292. package/dist/chunks/{repository-cache-v6evfva1.js → event-logger-zypmz1pm.js} +8 -8
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +9 -9
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +81 -81
  298. package/dist/config/discovery.js +82 -82
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +125 -125
  302. package/dist/config/plugin/command.js +215 -215
  303. package/dist/config/plugin/compaction.js +161 -161
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +123 -123
  310. package/dist/config/plugin/mcp.js +132 -132
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +123 -123
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +144 -144
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +126 -126
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +122 -122
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +128 -128
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +81 -81
  327. package/dist/database/database.js +66 -66
  328. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +13 -13
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +14 -14
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +76 -76
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +372 -372
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +3 -3
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +95 -95
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +74 -74
  417. package/dist/file-access.js +104 -104
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/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/location-watcher-policy.js +6 -6
  425. package/dist/filesystem/location-watcher.js +226 -226
  426. package/dist/filesystem/protected.js +1 -1
  427. package/dist/filesystem/search.js +103 -103
  428. package/dist/filesystem/watcher-binding.js +1 -1
  429. package/dist/filesystem/watcher.js +13 -13
  430. package/dist/filesystem.js +104 -104
  431. package/dist/form.js +76 -76
  432. package/dist/formatter/builtins.js +4 -4
  433. package/dist/formatter.js +87 -87
  434. package/dist/generate.js +103 -103
  435. package/dist/git.js +10 -10
  436. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  437. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  438. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  440. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  442. package/dist/github-copilot/copilot-provider.js +17 -17
  443. package/dist/github-copilot/models.js +91 -91
  444. package/dist/github-copilot/openai-compatible-error.js +1 -1
  445. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  446. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  447. package/dist/github-copilot/responses/openai-error.js +1 -1
  448. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  449. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  450. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  451. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  452. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  455. package/dist/id/id.js +1 -1
  456. package/dist/image/photon.js +2 -2
  457. package/dist/image.js +6 -6
  458. package/dist/instance/service.js +5 -5
  459. package/dist/instance.js +363 -363
  460. package/dist/instruction-discovery.js +85 -85
  461. package/dist/instructions/builtins.js +87 -87
  462. package/dist/instructions/index.js +3 -3
  463. package/dist/integration/connection.js +1 -1
  464. package/dist/integration.js +85 -85
  465. package/dist/job.js +79 -79
  466. package/dist/kv/sql.js +2 -2
  467. package/dist/kv.js +73 -73
  468. package/dist/location-activity.js +135 -135
  469. package/dist/location-lifecycle.js +107 -107
  470. package/dist/location-service-map.js +86 -86
  471. package/dist/location-services.js +360 -360
  472. package/dist/location.js +87 -87
  473. package/dist/managed-policy.js +5 -5
  474. package/dist/mcp/client.js +91 -91
  475. package/dist/mcp/index.js +107 -107
  476. package/dist/mcp/instructions.js +127 -127
  477. package/dist/mcp/oauth.js +75 -75
  478. package/dist/mcp/stdio.js +90 -90
  479. package/dist/mime.js +1 -1
  480. package/dist/modal/models.js +91 -91
  481. package/dist/model-resolver.js +98 -98
  482. package/dist/model.js +100 -100
  483. package/dist/models-dev.js +107 -107
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +78 -78
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +105 -105
  488. package/dist/persistent-pty/binary.bun.js +1 -1
  489. package/dist/persistent-pty/daemon.js +1 -1
  490. package/dist/persistent-pty/index.js +86 -86
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +75 -75
  493. package/dist/plugin/agent.js +104 -104
  494. package/dist/plugin/command.js +102 -102
  495. package/dist/plugin/hooks.js +5 -5
  496. package/dist/plugin/host.js +219 -219
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +335 -335
  500. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  501. package/dist/plugin/models-dev.js +96 -96
  502. package/dist/plugin/module.js +7 -7
  503. package/dist/plugin/optimize.js +4 -4
  504. package/dist/plugin/plan.js +102 -102
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  507. package/dist/plugin/provider/azure.js +124 -124
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/chatgpt.js +93 -93
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +119 -119
  514. package/dist/plugin/provider/digitalocean.js +93 -93
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/gateway.js +2 -2
  518. package/dist/plugin/provider/github-copilot.js +95 -95
  519. package/dist/plugin/provider/gitlab.js +93 -93
  520. package/dist/plugin/provider/google-vertex.js +90 -90
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +78 -78
  523. package/dist/plugin/provider/lmstudio.js +122 -122
  524. package/dist/plugin/provider/modal.js +92 -92
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +120 -120
  527. package/dist/plugin/provider/openai.js +95 -95
  528. package/dist/plugin/provider/opencode.js +96 -96
  529. package/dist/plugin/provider/openrouter.js +91 -91
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +79 -79
  532. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  533. package/dist/plugin/provider/sap-ai-core.js +91 -91
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  536. package/dist/plugin/provider/venice.js +2 -2
  537. package/dist/plugin/provider/vercel.js +90 -90
  538. package/dist/plugin/provider/vllm.js +122 -122
  539. package/dist/plugin/provider/xai.js +91 -91
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +163 -163
  542. package/dist/plugin/sdk.js +72 -72
  543. package/dist/plugin/service.js +1 -1
  544. package/dist/plugin/skill.js +141 -141
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +354 -354
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +6 -6
  549. package/dist/plugin/vcs/git.js +86 -86
  550. package/dist/plugin/vcs/hg.js +86 -86
  551. package/dist/plugin/verbosity.js +93 -93
  552. package/dist/plugin/warming.js +121 -121
  553. package/dist/plugin/websearch/exa.js +7 -7
  554. package/dist/plugin/websearch/firecrawl.js +6 -6
  555. package/dist/plugin/websearch/index.js +9 -9
  556. package/dist/plugin/websearch/mcp.js +4 -4
  557. package/dist/plugin/websearch/parallel.js +8 -8
  558. package/dist/plugin/websearch/tavily.js +6 -6
  559. package/dist/plugin/websearch/tinyfish.js +8 -8
  560. package/dist/plugin.js +228 -228
  561. package/dist/project/schema.js +8 -8
  562. package/dist/project/sql.js +4 -4
  563. package/dist/project.js +88 -88
  564. package/dist/provider.js +97 -97
  565. package/dist/pty/protocol.js +1 -1
  566. package/dist/pty/ticket.js +1 -1
  567. package/dist/pty.js +99 -99
  568. package/dist/reference/instructions.js +89 -89
  569. package/dist/reference.js +89 -89
  570. package/dist/repository-cache.js +81 -81
  571. package/dist/repository.js +3 -3
  572. package/dist/ripgrep/binary.js +2 -2
  573. package/dist/ripgrep.js +97 -97
  574. package/dist/rpc.js +86 -86
  575. package/dist/schema.js +1 -1
  576. package/dist/session/affinity.js +1 -1
  577. package/dist/session/command.js +74 -74
  578. package/dist/session/compaction.js +135 -135
  579. package/dist/session/context.js +153 -153
  580. package/dist/session/diff.js +88 -88
  581. package/dist/session/environment.js +5 -5
  582. package/dist/session/error.js +3 -3
  583. package/dist/session/event.js +1 -1
  584. package/dist/session/execution/restart.js +225 -225
  585. package/dist/session/execution.js +126 -126
  586. package/dist/session/generate.js +154 -154
  587. package/dist/session/history.js +13 -13
  588. package/dist/session/inbox.js +84 -84
  589. package/dist/session/info.js +3 -3
  590. package/dist/session/instruction-entry.js +77 -77
  591. package/dist/session/instruction-state.js +8 -8
  592. package/dist/session/instructions.js +97 -97
  593. package/dist/session/message-updater.js +4 -4
  594. package/dist/session/message.js +1 -1
  595. package/dist/session/model-request.js +116 -116
  596. package/dist/session/model-transport.js +7 -7
  597. package/dist/session/move.js +130 -130
  598. package/dist/session/projector.js +86 -86
  599. package/dist/session/prompt.js +105 -105
  600. package/dist/session/provider-context.js +3 -3
  601. package/dist/session/revert.js +90 -90
  602. package/dist/session/run-coordinator.js +3 -3
  603. package/dist/session/runner/index.js +3 -3
  604. package/dist/session/runner/llm.js +232 -232
  605. package/dist/session/runner/max-steps.js +1 -1
  606. package/dist/session/runner/model.js +98 -98
  607. package/dist/session/runner/publish-llm-event.js +113 -113
  608. package/dist/session/runner/retry.js +4 -4
  609. package/dist/session/runner/step.js +126 -126
  610. package/dist/session/runner/to-llm-message.js +2 -2
  611. package/dist/session/schema.js +5 -5
  612. package/dist/session/session.js +172 -172
  613. package/dist/session/shell.js +138 -138
  614. package/dist/session/skill.js +103 -103
  615. package/dist/session/sql.js +5 -5
  616. package/dist/session/stats.js +73 -73
  617. package/dist/session/store.js +87 -87
  618. package/dist/session/subagent-completion.js +1 -1
  619. package/dist/session/subagent-job.js +211 -211
  620. package/dist/session/system-prompt.js +3 -3
  621. package/dist/session/title.js +157 -157
  622. package/dist/session/to-session-error.js +111 -111
  623. package/dist/session/transfer.js +221 -221
  624. package/dist/session/usage.js +1 -1
  625. package/dist/session.js +217 -217
  626. package/dist/shell/parse.js +6 -6
  627. package/dist/shell/result.js +1 -1
  628. package/dist/shell/scan.js +1 -1
  629. package/dist/shell/select.js +5 -5
  630. package/dist/shell.js +140 -140
  631. package/dist/skill/discovery.js +6 -6
  632. package/dist/skill/instructions.js +107 -107
  633. package/dist/skill.js +106 -106
  634. package/dist/snapshot.js +89 -89
  635. package/dist/state.js +1 -1
  636. package/dist/tool/html-markdown.js +1 -1
  637. package/dist/tool/http-body.js +1 -1
  638. package/dist/tool/mcp.js +124 -124
  639. package/dist/tool/plugin/edit.js +120 -120
  640. package/dist/tool/plugin/file-diff.js +1 -1
  641. package/dist/tool/plugin/glob.js +120 -120
  642. package/dist/tool/plugin/grep.js +124 -124
  643. package/dist/tool/plugin/mcp-resource.js +117 -117
  644. package/dist/tool/plugin/opencode.js +3 -3
  645. package/dist/tool/plugin/patch.js +122 -122
  646. package/dist/tool/plugin/question.js +101 -101
  647. package/dist/tool/plugin/read.js +125 -125
  648. package/dist/tool/plugin/shell.js +216 -216
  649. package/dist/tool/plugin/skill.js +105 -105
  650. package/dist/tool/plugin/subagent.js +220 -220
  651. package/dist/tool/plugin/webfetch.js +110 -110
  652. package/dist/tool/plugin/websearch.js +110 -110
  653. package/dist/tool/plugin/write.js +122 -122
  654. package/dist/tool/read-filesystem.js +100 -100
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +8 -8
  657. package/dist/tool.js +14 -14
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/error.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/iife.js +1 -1
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +5 -5
  668. package/dist/v1/config/attachment.js +4 -4
  669. package/dist/v1/config/command.js +3 -3
  670. package/dist/v1/config/config.js +16 -16
  671. package/dist/v1/config/error.js +2 -2
  672. package/dist/v1/config/formatter.js +5 -5
  673. package/dist/v1/config/layout.js +1 -1
  674. package/dist/v1/config/lsp.js +5 -5
  675. package/dist/v1/config/mcp.js +4 -4
  676. package/dist/v1/config/migrate.js +92 -92
  677. package/dist/v1/config/permission.js +3 -3
  678. package/dist/v1/config/plugin.js +3 -3
  679. package/dist/v1/config/provider-options.js +1 -1
  680. package/dist/v1/config/provider.js +4 -4
  681. package/dist/v1/config/server.js +2 -2
  682. package/dist/v1/config/skills.js +3 -3
  683. package/dist/variant.js +93 -93
  684. package/dist/vcs/patch.js +1 -1
  685. package/dist/vcs.js +89 -89
  686. package/dist/websearch.js +82 -82
  687. package/dist/wellknown/plugin.js +76 -76
  688. package/dist/wellknown.js +79 -79
  689. package/dist/workspace/driver.js +5 -5
  690. package/dist/workspace/sql.js +1 -1
  691. package/dist/workspace.js +78 -78
  692. package/dist/worktree/directory.js +2 -2
  693. package/dist/worktree/git.js +10 -10
  694. package/dist/worktree/sql.js +5 -5
  695. package/dist/worktree/strategies.js +89 -89
  696. package/dist/worktree.js +98 -98
  697. package/package.json +8 -8
  698. package/dist/chunks/repository-cache-93qh2cqg.js +0 -507
  699. package/dist/chunks/repository-cache-at67ztw2.js +0 -26
  700. package/dist/chunks/repository-cache-cqtfknxy.js +0 -252
  701. /package/dist/chunks/{repository-cache-0qkdqm5v.js → event-logger-0qkdqm5v.js} +0 -0
  702. /package/dist/chunks/{repository-cache-0zkw76rk.js → event-logger-0zkw76rk.js} +0 -0
  703. /package/dist/chunks/{repository-cache-17cy0kzp.js → event-logger-17cy0kzp.js} +0 -0
  704. /package/dist/chunks/{repository-cache-1cnp2v09.js → event-logger-1cnp2v09.js} +0 -0
  705. /package/dist/chunks/{repository-cache-1kg9ymc8.js → event-logger-1kg9ymc8.js} +0 -0
  706. /package/dist/chunks/{repository-cache-24dcb14g.js → event-logger-24dcb14g.js} +0 -0
  707. /package/dist/chunks/{repository-cache-2710q6r3.js → event-logger-2710q6r3.js} +0 -0
  708. /package/dist/chunks/{repository-cache-2axfhc9x.js → event-logger-2axfhc9x.js} +0 -0
  709. /package/dist/chunks/{repository-cache-2c3vjs8z.js → event-logger-2c3vjs8z.js} +0 -0
  710. /package/dist/chunks/{repository-cache-34c7v6d4.js → event-logger-34c7v6d4.js} +0 -0
  711. /package/dist/chunks/{repository-cache-359p4xyc.js → event-logger-359p4xyc.js} +0 -0
  712. /package/dist/chunks/{repository-cache-3asan66x.js → event-logger-3asan66x.js} +0 -0
  713. /package/dist/chunks/{repository-cache-3v8g72cx.js → event-logger-3v8g72cx.js} +0 -0
  714. /package/dist/chunks/{repository-cache-3w5fmr99.js → event-logger-3w5fmr99.js} +0 -0
  715. /package/dist/chunks/{repository-cache-3wcehsnq.js → event-logger-3wcehsnq.js} +0 -0
  716. /package/dist/chunks/{repository-cache-43n2bw4t.js → event-logger-43n2bw4t.js} +0 -0
  717. /package/dist/chunks/{repository-cache-4knz6hnm.js → event-logger-4knz6hnm.js} +0 -0
  718. /package/dist/chunks/{repository-cache-4vcrnpx2.js → event-logger-4vcrnpx2.js} +0 -0
  719. /package/dist/chunks/{repository-cache-4y7fprxs.js → event-logger-4y7fprxs.js} +0 -0
  720. /package/dist/chunks/{repository-cache-53557ph1.js → event-logger-53557ph1.js} +0 -0
  721. /package/dist/chunks/{repository-cache-550bvhaj.js → event-logger-550bvhaj.js} +0 -0
  722. /package/dist/chunks/{repository-cache-6prwharc.js → event-logger-6prwharc.js} +0 -0
  723. /package/dist/chunks/{repository-cache-7akdwqpd.js → event-logger-7akdwqpd.js} +0 -0
  724. /package/dist/chunks/{repository-cache-7m9af43g.js → event-logger-7m9af43g.js} +0 -0
  725. /package/dist/chunks/{repository-cache-822emrt2.js → event-logger-822emrt2.js} +0 -0
  726. /package/dist/chunks/{repository-cache-88xbtdfr.js → event-logger-88xbtdfr.js} +0 -0
  727. /package/dist/chunks/{repository-cache-8n3pysct.js → event-logger-8n3pysct.js} +0 -0
  728. /package/dist/chunks/{repository-cache-8wj87zfr.js → event-logger-8wj87zfr.js} +0 -0
  729. /package/dist/chunks/{repository-cache-9a4afbnw.js → event-logger-9a4afbnw.js} +0 -0
  730. /package/dist/chunks/{repository-cache-9rqn6x4v.js → event-logger-9rqn6x4v.js} +0 -0
  731. /package/dist/chunks/{repository-cache-a6k6eb26.js → event-logger-a6k6eb26.js} +0 -0
  732. /package/dist/chunks/{repository-cache-af5trqkr.js → event-logger-af5trqkr.js} +0 -0
  733. /package/dist/chunks/{repository-cache-afrmfg78.js → event-logger-afrmfg78.js} +0 -0
  734. /package/dist/chunks/{repository-cache-aqzs7mqg.js → event-logger-aqzs7mqg.js} +0 -0
  735. /package/dist/chunks/{repository-cache-atq7p7m5.js → event-logger-atq7p7m5.js} +0 -0
  736. /package/dist/chunks/{repository-cache-bkyjaxrp.js → event-logger-bkyjaxrp.js} +0 -0
  737. /package/dist/chunks/{repository-cache-bmr6ed5q.js → event-logger-bmr6ed5q.js} +0 -0
  738. /package/dist/chunks/{repository-cache-cf4snx6d.js → event-logger-cf4snx6d.js} +0 -0
  739. /package/dist/chunks/{repository-cache-cvy3z8tj.js → event-logger-cvy3z8tj.js} +0 -0
  740. /package/dist/chunks/{repository-cache-d9fn303g.js → event-logger-d9fn303g.js} +0 -0
  741. /package/dist/chunks/{repository-cache-d9jj8t3e.js → event-logger-d9jj8t3e.js} +0 -0
  742. /package/dist/chunks/{repository-cache-dajrwvna.js → event-logger-dajrwvna.js} +0 -0
  743. /package/dist/chunks/{repository-cache-dap0rakb.js → event-logger-dap0rakb.js} +0 -0
  744. /package/dist/chunks/{repository-cache-df08tz66.js → event-logger-df08tz66.js} +0 -0
  745. /package/dist/chunks/{repository-cache-dy18nga0.js → event-logger-dy18nga0.js} +0 -0
  746. /package/dist/chunks/{repository-cache-e3qxr5gk.js → event-logger-e3qxr5gk.js} +0 -0
  747. /package/dist/chunks/{repository-cache-e5kj55wp.js → event-logger-e5kj55wp.js} +0 -0
  748. /package/dist/chunks/{repository-cache-e73j6tqm.js → event-logger-e73j6tqm.js} +0 -0
  749. /package/dist/chunks/{repository-cache-ec1grn59.js → event-logger-ec1grn59.js} +0 -0
  750. /package/dist/chunks/{repository-cache-eh3zwz77.js → event-logger-eh3zwz77.js} +0 -0
  751. /package/dist/chunks/{repository-cache-emrn6kk6.js → event-logger-emrn6kk6.js} +0 -0
  752. /package/dist/chunks/{repository-cache-f0mxakyp.js → event-logger-f0mxakyp.js} +0 -0
  753. /package/dist/chunks/{repository-cache-f6n9ztr4.js → event-logger-f6n9ztr4.js} +0 -0
  754. /package/dist/chunks/{repository-cache-faypxj3z.js → event-logger-faypxj3z.js} +0 -0
  755. /package/dist/chunks/{repository-cache-fd410y7t.js → event-logger-fd410y7t.js} +0 -0
  756. /package/dist/chunks/{repository-cache-fxgpk5d8.js → event-logger-fxgpk5d8.js} +0 -0
  757. /package/dist/chunks/{repository-cache-g4wezp1m.js → event-logger-g4wezp1m.js} +0 -0
  758. /package/dist/chunks/{repository-cache-g86h250q.js → event-logger-g86h250q.js} +0 -0
  759. /package/dist/chunks/{repository-cache-gebd4c9n.js → event-logger-gebd4c9n.js} +0 -0
  760. /package/dist/chunks/{repository-cache-gftt206x.js → event-logger-gftt206x.js} +0 -0
  761. /package/dist/chunks/{repository-cache-hjbc5kem.js → event-logger-hjbc5kem.js} +0 -0
  762. /package/dist/chunks/{repository-cache-hk9envan.js → event-logger-hk9envan.js} +0 -0
  763. /package/dist/chunks/{repository-cache-j2ntwpah.js → event-logger-j2ntwpah.js} +0 -0
  764. /package/dist/chunks/{repository-cache-j5zkgpj8.js → event-logger-j5zkgpj8.js} +0 -0
  765. /package/dist/chunks/{repository-cache-jjkms2e6.js → event-logger-jjkms2e6.js} +0 -0
  766. /package/dist/chunks/{repository-cache-jr7sbwjy.js → event-logger-jr7sbwjy.js} +0 -0
  767. /package/dist/chunks/{repository-cache-jwfs4k6c.js → event-logger-jwfs4k6c.js} +0 -0
  768. /package/dist/chunks/{repository-cache-jzg6c2d5.js → event-logger-jzg6c2d5.js} +0 -0
  769. /package/dist/chunks/{repository-cache-mp448xyj.js → event-logger-mp448xyj.js} +0 -0
  770. /package/dist/chunks/{repository-cache-msx8hqn2.js → event-logger-msx8hqn2.js} +0 -0
  771. /package/dist/chunks/{repository-cache-n05xt0ee.js → event-logger-n05xt0ee.js} +0 -0
  772. /package/dist/chunks/{repository-cache-n3j8tn72.js → event-logger-n3j8tn72.js} +0 -0
  773. /package/dist/chunks/{repository-cache-njntx4h6.js → event-logger-njntx4h6.js} +0 -0
  774. /package/dist/chunks/{repository-cache-q3sfg36h.js → event-logger-q3sfg36h.js} +0 -0
  775. /package/dist/chunks/{repository-cache-q74kybfr.js → event-logger-q74kybfr.js} +0 -0
  776. /package/dist/chunks/{repository-cache-qaymkmh1.js → event-logger-qaymkmh1.js} +0 -0
  777. /package/dist/chunks/{repository-cache-qb87gjwd.js → event-logger-qb87gjwd.js} +0 -0
  778. /package/dist/chunks/{repository-cache-qfa1cgps.js → event-logger-qfa1cgps.js} +0 -0
  779. /package/dist/chunks/{repository-cache-qg3g05ea.js → event-logger-qg3g05ea.js} +0 -0
  780. /package/dist/chunks/{repository-cache-qrg20bc0.js → event-logger-qrg20bc0.js} +0 -0
  781. /package/dist/chunks/{repository-cache-rcb2kzg1.js → event-logger-rcb2kzg1.js} +0 -0
  782. /package/dist/chunks/{repository-cache-sdp7kfr6.js → event-logger-sdp7kfr6.js} +0 -0
  783. /package/dist/chunks/{repository-cache-sk3qaz4a.js → event-logger-sk3qaz4a.js} +0 -0
  784. /package/dist/chunks/{repository-cache-ssg3fenm.js → event-logger-ssg3fenm.js} +0 -0
  785. /package/dist/chunks/{repository-cache-w803qqfp.js → event-logger-w803qqfp.js} +0 -0
  786. /package/dist/chunks/{repository-cache-wc3fc9cn.js → event-logger-wc3fc9cn.js} +0 -0
  787. /package/dist/chunks/{repository-cache-wer8tq1h.js → event-logger-wer8tq1h.js} +0 -0
  788. /package/dist/chunks/{repository-cache-wtztk69x.js → event-logger-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{repository-cache-x0ckcb58.js → event-logger-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{repository-cache-x61499pn.js → event-logger-x61499pn.js} +0 -0
  791. /package/dist/chunks/{repository-cache-y44na4kk.js → event-logger-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{repository-cache-y8cydn3q.js → event-logger-y8cydn3q.js} +0 -0
  793. /package/dist/chunks/{repository-cache-y8f7s663.js → event-logger-y8f7s663.js} +0 -0
  794. /package/dist/chunks/{repository-cache-ygaqb7jw.js → event-logger-ygaqb7jw.js} +0 -0
  795. /package/dist/chunks/{repository-cache-ym463w8f.js → event-logger-ym463w8f.js} +0 -0
  796. /package/dist/chunks/{repository-cache-z5v4ffb3.js → event-logger-z5v4ffb3.js} +0 -0
  797. /package/dist/chunks/{repository-cache-z9919s4g.js → event-logger-z9919s4g.js} +0 -0
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  key2
3
- } from "./repository-cache-mpk0rfs5.js";
3
+ } from "./event-logger-mpk0rfs5.js";
4
4
  import {
5
- Service83
6
- } from "./repository-cache-expxz8xq.js";
5
+ Service81
6
+ } from "./event-logger-fzaeg2ds.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./repository-cache-3g7y17n3.js";
9
+ Event17
10
+ } from "./event-logger-z8rfaqzv.js";
11
11
  import {
12
- ID13,
12
+ ID12,
13
13
  MethodID2
14
- } from "./repository-cache-3bg5g8q7.js";
14
+ } from "./event-logger-qv6rw298.js";
15
15
  import {
16
- ID12,
16
+ ID11,
17
17
  aisdk2,
18
18
  mergeOverlay2,
19
- Service69
20
- } from "./repository-cache-f0m8zgz7.js";
19
+ Service72
20
+ } from "./event-logger-q9p7zpd5.js";
21
21
  import {
22
- ID11
23
- } from "./repository-cache-5fwyrf5z.js";
22
+ ID10
23
+ } from "./event-logger-68419g8m.js";
24
24
  import {
25
25
  load2,
26
26
  derive2
27
- } from "./repository-cache-63s895d0.js";
27
+ } from "./event-logger-4qwh2j69.js";
28
28
  import {
29
29
  useragent2
30
- } from "./repository-cache-169shjta.js";
30
+ } from "./event-logger-m6fea7hh.js";
31
31
  import {
32
- ID9
33
- } from "./repository-cache-9tc8fk2g.js";
32
+ ID8
33
+ } from "./event-logger-bfv0d40t.js";
34
34
  import {
35
35
  get5
36
- } from "./repository-cache-54ma36ye.js";
36
+ } from "./event-logger-54ma36ye.js";
37
37
 
38
38
  // src/plugin/provider/github-copilot.ts
39
39
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
65
65
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
66
66
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
67
67
  var oauth = (app) => ({
68
- integrationID: ID13.make("github-copilot"),
68
+ integrationID: ID12.make("github-copilot"),
69
69
  method: {
70
70
  id: methodID,
71
71
  type: "oauth",
@@ -163,8 +163,8 @@ var oauth = (app) => ({
163
163
  var GithubCopilotPlugin2 = define({
164
164
  id: "opencode.provider.github.copilot",
165
165
  effect: Effect.fn(function* (ctx) {
166
- const providers = yield* Service69;
167
- const bus = yield* Service83;
166
+ const providers = yield* Service72;
167
+ const bus = yield* Service81;
168
168
  const loading = Semaphore.makeUnsafe(1);
169
169
  const loaded = {};
170
170
  const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
@@ -180,7 +180,7 @@ var GithubCopilotPlugin2 = define({
180
180
  return;
181
181
  }
182
182
  const url = copilotBaseURL2(credential.metadata) ?? baseURL();
183
- const provider = yield* providers.get(ID12.githubCopilot);
183
+ const provider = yield* providers.get(ID11.githubCopilot);
184
184
  const remote = yield* Effect.tryPromise({
185
185
  try: () => load2(url, {
186
186
  ...provider?.headers,
@@ -202,7 +202,7 @@ var GithubCopilotPlugin2 = define({
202
202
  editor.method.update(oauth(ctx.app));
203
203
  });
204
204
  yield* ctx.provider.transform((evt) => {
205
- const item = evt.get(ID12.githubCopilot);
205
+ const item = evt.get(ID11.githubCopilot);
206
206
  if (!item)
207
207
  return;
208
208
  if (loaded.models) {
@@ -222,17 +222,17 @@ var GithubCopilotPlugin2 = define({
222
222
  }
223
223
  });
224
224
  yield* ctx.model.transform((models) => {
225
- if (models.get(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"))) {
226
- models.update(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"), (model) => {
225
+ if (models.get(ID11.githubCopilot, ID10.make("gpt-5-chat-latest"))) {
226
+ models.update(ID11.githubCopilot, ID10.make("gpt-5-chat-latest"), (model) => {
227
227
  model.enabled = false;
228
228
  });
229
229
  }
230
230
  });
231
231
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
232
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
232
+ yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
233
233
  yield* refresh().pipe(Effect.forkScoped);
234
234
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
235
- if (evt.model.providerID !== ID12.githubCopilot)
235
+ if (evt.model.providerID !== ID11.githubCopilot)
236
236
  return;
237
237
  if (evt.package !== "@ai-sdk/github-copilot")
238
238
  return;
@@ -241,7 +241,7 @@ var GithubCopilotPlugin2 = define({
241
241
  evt.sdk = mod.createOpenaiCompatible(evt.options);
242
242
  }));
243
243
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
244
- if (evt.model.providerID !== ID12.githubCopilot)
244
+ if (evt.model.providerID !== ID11.githubCopilot)
245
245
  return;
246
246
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
247
247
  return;
@@ -251,13 +251,13 @@ var GithubCopilotPlugin2 = define({
251
251
  evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
252
252
  if (interaction !== "conversation-agent")
253
253
  evt.headers["x-initiator"] = "agent";
254
- }), { providerID: ID12.githubCopilot });
254
+ }), { providerID: ID11.githubCopilot });
255
255
  yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
256
- if (evt.model.providerID !== ID12.githubCopilot)
256
+ if (evt.model.providerID !== ID11.githubCopilot)
257
257
  return;
258
258
  if (!loaded.baseURL || !loaded.token || !loaded.models)
259
259
  return;
260
- const agent = yield* ctx.agent.get({ agentID: ID9.make("title") }).pipe(Effect.orElseSucceed(() => {
260
+ const agent = yield* ctx.agent.get({ agentID: ID8.make("title") }).pipe(Effect.orElseSucceed(() => {
261
261
  return;
262
262
  }));
263
263
  if (agent?.data.model)
@@ -268,9 +268,9 @@ var GithubCopilotPlugin2 = define({
268
268
  evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
269
269
  return;
270
270
  }));
271
- }), { providerID: ID12.githubCopilot });
271
+ }), { providerID: ID11.githubCopilot });
272
272
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
273
- if (evt.model.providerID !== ID12.githubCopilot)
273
+ if (evt.model.providerID !== ID11.githubCopilot)
274
274
  return;
275
275
  const token = evt.request.headers.get("x-api-key");
276
276
  if (!token)
@@ -278,9 +278,9 @@ var GithubCopilotPlugin2 = define({
278
278
  const text = yield* Effect.promise(() => evt.request.clone().text());
279
279
  const body = Option.getOrUndefined(decodeBody(text));
280
280
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
281
- }), { providerID: ID12.githubCopilot });
281
+ }), { providerID: ID11.githubCopilot });
282
282
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
283
- if (evt.model.providerID !== ID12.githubCopilot)
283
+ if (evt.model.providerID !== ID11.githubCopilot)
284
284
  return;
285
285
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
286
286
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  definition2,
3
3
  normalizedName2
4
- } from "./repository-cache-3w5fmr99.js";
4
+ } from "./event-logger-3w5fmr99.js";
5
5
  import {
6
6
  extension2,
7
7
  display2
8
- } from "./repository-cache-m3fdjcah.js";
8
+ } from "./event-logger-m3fdjcah.js";
9
9
  import {
10
10
  __export
11
- } from "./repository-cache-9rqn6x4v.js";
11
+ } from "./event-logger-9rqn6x4v.js";
12
12
 
13
13
  // src/codemode/tool.ts
14
14
  var exports_tool2 = {};
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./repository-cache-z5v4ffb3.js";
3
+ } from "./event-logger-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./repository-cache-9rqn6x4v.js";
6
+ } from "./event-logger-9rqn6x4v.js";
7
7
 
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
10
10
  __export(exports_discovery, {
11
- Service: () => Service10,
11
+ Service: () => Service12,
12
12
  SkillDiscovery: () => exports_discovery,
13
- node: () => node12
13
+ node: () => node14
14
14
  });
15
15
  import path from "path";
16
16
  import { Context, Effect, Layer, Schedule, Schema } from "effect";
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
48
48
  }) {
49
49
  }
50
50
 
51
- class Service10 extends Context.Service()("@opencode/SkillDiscovery") {
51
+ class Service12 extends Context.Service()("@opencode/SkillDiscovery") {
52
52
  }
53
- var layer = Layer.effect(Service10, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service12, Effect.gen(function* () {
54
54
  const fs = yield* FSUtil.Service;
55
55
  const global = yield* Global.Service;
56
56
  const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
63
63
  return true;
64
64
  return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
65
65
  });
66
- return Service10.of({
66
+ return Service12.of({
67
67
  pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
68
68
  const base = url.endsWith("/") ? url : `${url}/`;
69
69
  const source = new URL(base);
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
150
150
  })
151
151
  });
152
152
  }));
153
- var node12 = makeGlobalNode({ service: Service10, layer, deps: [httpClient, FSUtil.node, Global.node] });
153
+ var node14 = makeGlobalNode({ service: Service12, layer, deps: [httpClient, FSUtil.node, Global.node] });
154
154
 
155
- export { Service10, node12, exports_discovery };
155
+ export { Service12, node14, exports_discovery };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./repository-cache-hrbcf8x8.js";
4
+ } from "./event-logger-84p84h2c.js";
5
5
  import {
6
6
  Key3,
7
7
  removed2,
8
- make20,
8
+ make19,
9
9
  combine2
10
- } from "./repository-cache-rhjbct0v.js";
10
+ } from "./event-logger-t550f9t1.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
- } from "./repository-cache-9e5bzkjp.js";
13
+ } from "./event-logger-9e5bzkjp.js";
14
14
  import {
15
15
  __export
16
- } from "./repository-cache-9rqn6x4v.js";
16
+ } from "./event-logger-9rqn6x4v.js";
17
17
 
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
@@ -22,11 +22,11 @@ __export(exports_instruction_entry, {
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service21,
25
+ Service: () => Service26,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
29
- node: () => node25,
29
+ node: () => node29,
30
30
  snapshot: () => snapshot2
31
31
  });
32
32
  import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service21 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service26 extends Context.Service()("@opencode/InstructionEntry") {
60
60
  }
61
61
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
62
62
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
63
63
  `);
64
- var source = (entry) => make20({
64
+ var source = (entry) => make19({
65
65
  key: Key3.make(`api/${entry.key}`),
66
66
  codec: Schema.toCodecJson(Schema.Json),
67
67
  read: Effect.succeed(entry.removed ? removed2 : entry.value),
@@ -75,7 +75,7 @@ var source = (entry) => make20({
75
75
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
76
76
  }
77
77
  });
78
- var layer = Layer.effect(Service21, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service26, Effect.gen(function* () {
79
79
  const { db } = yield* Service84;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
108
108
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
109
109
  return combine2((yield* rows(sessionID, true)).map(source));
110
110
  });
111
- return Service21.of({ list, put, remove, load });
111
+ return Service26.of({ list, put, remove, load });
112
112
  }));
113
- var node25 = makeLocationNode({ service: Service21, layer, deps: [node88] });
113
+ var node29 = makeLocationNode({ service: Service26, layer, deps: [node88] });
114
114
 
115
- export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service21, node25, exports_instruction_entry };
115
+ export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service26, node29, exports_instruction_entry };
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service80
3
- } from "./repository-cache-25ex5bj3.js";
2
+ Service76
3
+ } from "./event-logger-tw51v10a.js";
4
4
  import {
5
- Service78
6
- } from "./repository-cache-gtm34f6g.js";
5
+ Service68
6
+ } from "./event-logger-e0rzh98p.js";
7
7
  import {
8
- Service50,
8
+ Service54,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./repository-cache-yfksphsg.js";
11
+ } from "./event-logger-xh9ky465.js";
12
12
  import {
13
- Service51
14
- } from "./repository-cache-8aw8tj9n.js";
13
+ Service35
14
+ } from "./event-logger-b5beq1ps.js";
15
15
  import {
16
- Service54
17
- } from "./repository-cache-jk5jtrba.js";
16
+ Service55
17
+ } from "./event-logger-gdresbk1.js";
18
18
  import {
19
- Service49,
19
+ Service37,
20
20
  resolvePath2
21
- } from "./repository-cache-g0kjp75c.js";
21
+ } from "./event-logger-283mwr8r.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./repository-cache-6prwharc.js";
24
+ } from "./event-logger-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./repository-cache-9rqn6x4v.js";
27
+ } from "./event-logger-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input10,
34
- Output: () => Output7,
35
- Plugin: () => Plugin44,
36
- name: () => name10
33
+ Input: () => Input12,
34
+ Output: () => Output8,
35
+ Plugin: () => Plugin49,
36
+ name: () => name12
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name10 = "edit";
43
- var Input10 = Schema.Struct({
42
+ var name12 = "edit";
43
+ var Input12 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input10 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output7 = Schema.Struct({
53
+ var Output8 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
103
103
  return result;
104
104
  }, []);
105
105
  };
106
- var Plugin44 = {
106
+ var Plugin49 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
- const access = yield* Service49;
110
- const fileMutation = yield* Service50;
111
- const environment = yield* Service78;
112
- const formatter = yield* Service51;
113
- const location = yield* Service80;
114
- const permission = yield* Service54;
109
+ const access = yield* Service37;
110
+ const fileMutation = yield* Service54;
111
+ const environment = yield* Service68;
112
+ const formatter = yield* Service35;
113
+ const location = yield* Service76;
114
+ const permission = yield* Service55;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
- name: name10,
116
+ name: name12,
117
117
  options: { codemode: false, permission: "edit" },
118
118
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
119
- input: Input10,
120
- output: Output7,
119
+ input: Input12,
120
+ output: Output8,
121
121
  execute: (input, context) => {
122
122
  return Effect.gen(function* () {
123
123
  const permissionSource = {
@@ -194,4 +194,4 @@ var Plugin44 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name10, Input10, Output7, Plugin44, exports_edit };
197
+ export { name12, Input12, Output8, Plugin49, exports_edit };
@@ -1,36 +1,36 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service83,
4
- node87
5
- } from "./repository-cache-expxz8xq.js";
3
+ Service81,
4
+ node85
5
+ } from "./event-logger-fzaeg2ds.js";
6
6
  import {
7
7
  Key3,
8
8
  unavailable3,
9
9
  removed2,
10
- make20,
10
+ make19,
11
11
  diffByKey2
12
- } from "./repository-cache-rhjbct0v.js";
12
+ } from "./event-logger-t550f9t1.js";
13
13
  import {
14
14
  AbsolutePath2
15
- } from "./repository-cache-z5v4ffb3.js";
15
+ } from "./event-logger-z5v4ffb3.js";
16
16
  import {
17
17
  create3
18
- } from "./repository-cache-rdw6cm16.js";
18
+ } from "./event-logger-rdw6cm16.js";
19
19
  import {
20
20
  __export
21
- } from "./repository-cache-9rqn6x4v.js";
21
+ } from "./event-logger-9rqn6x4v.js";
22
22
 
23
23
  // src/instruction-discovery.ts
24
24
  var exports_instruction_discovery = {};
25
25
  __export(exports_instruction_discovery, {
26
- Event: () => Event12,
26
+ Event: () => Event4,
27
27
  File: () => File2,
28
28
  InstructionDiscovery: () => exports_instruction_discovery,
29
- Options: () => Options4,
30
- Service: () => Service59,
31
- configured: () => configured4,
32
- layer: () => layer19,
33
- node: () => node61
29
+ Options: () => Options3,
30
+ Service: () => Service31,
31
+ configured: () => configured3,
32
+ layer: () => layer14,
33
+ node: () => node34
34
34
  });
35
35
  import { Context, Effect, Layer, Schema } from "effect";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -42,18 +42,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
42
42
  }
43
43
  var Files = Schema.Array(File2);
44
44
  var key = Key3.make("core/instructions");
45
- var Event12 = {
45
+ var Event4 = {
46
46
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
47
47
  };
48
- var Options4 = Schema.Struct({
48
+ var Options3 = Schema.Struct({
49
49
  project: Schema.optional(Schema.Boolean),
50
50
  global: Schema.optional(Schema.Boolean)
51
51
  });
52
52
 
53
- class Service59 extends Context.Service()("@opencode/InstructionDiscovery") {
53
+ class Service31 extends Context.Service()("@opencode/InstructionDiscovery") {
54
54
  }
55
- var layer19 = (options) => Layer.effect(Service59, Effect.gen(function* () {
56
- const bus = yield* Service83;
55
+ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
56
+ const bus = yield* Service81;
57
57
  const state = create3({
58
58
  name: "instruction-discovery",
59
59
  initial: () => ({ files: new Map, available: true }),
@@ -72,9 +72,9 @@ var layer19 = (options) => Layer.effect(Service59, Effect.gen(function* () {
72
72
  editor.available = false;
73
73
  }
74
74
  }),
75
- notify: () => bus.publish(Event12.Updated, {}).pipe(Effect.asVoid)
75
+ notify: () => bus.publish(Event4.Updated, {}).pipe(Effect.asVoid)
76
76
  });
77
- const source = (value) => make20({
77
+ const source = (value) => make19({
78
78
  key,
79
79
  codec: Schema.toCodecJson(Files),
80
80
  read: Effect.succeed(value),
@@ -90,7 +90,7 @@ var layer19 = (options) => Layer.effect(Service59, Effect.gen(function* () {
90
90
  return unavailable3;
91
91
  return Array.from(current.files.values());
92
92
  });
93
- return Service59.of({
93
+ return Service31.of({
94
94
  project: options?.project !== false,
95
95
  global: options?.global !== false,
96
96
  transform: state.transform,
@@ -104,14 +104,14 @@ var layer19 = (options) => Layer.effect(Service59, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  }));
107
- function configured4(options) {
107
+ function configured3(options) {
108
108
  return makeLocationNode({
109
- service: Service59,
110
- layer: layer19(options),
111
- deps: [node87]
109
+ service: Service31,
110
+ layer: layer14(options),
111
+ deps: [node85]
112
112
  });
113
113
  }
114
- var node61 = configured4();
114
+ var node34 = configured3();
115
115
  function render(files) {
116
116
  return files.map((file) => `Instructions from: ${file.path}
117
117
  ${file.content}`).join(`
@@ -142,4 +142,4 @@ ${render([after])}`;
142
142
  `);
143
143
  }
144
144
 
145
- export { File2, Event12, Options4, Service59, layer19, configured4, node61, exports_instruction_discovery };
145
+ export { File2, Event4, Options3, Service31, layer14, configured3, node34, exports_instruction_discovery };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./repository-cache-expxz8xq.js";
2
+ Service81,
3
+ node85
4
+ } from "./event-logger-fzaeg2ds.js";
5
5
  import {
6
- Service28,
7
- node31
8
- } from "./repository-cache-pedjrwj0.js";
6
+ Service30,
7
+ node33
8
+ } from "./event-logger-xcec66r5.js";
9
9
  import {
10
- Service54,
11
- node56
12
- } from "./repository-cache-jk5jtrba.js";
10
+ Service55,
11
+ node57
12
+ } from "./event-logger-gdresbk1.js";
13
13
  import {
14
- Service39,
15
- node41
16
- } from "./repository-cache-vxhhv58t.js";
14
+ Service48,
15
+ node50
16
+ } from "./event-logger-1jt7ykkj.js";
17
17
  import {
18
18
  __export
19
- } from "./repository-cache-9rqn6x4v.js";
19
+ } from "./event-logger-9rqn6x4v.js";
20
20
 
21
21
  // src/tool/mcp.ts
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service27,
25
+ Service: () => Service29,
26
26
  layer: () => layer12,
27
27
  name: () => name14,
28
28
  namespace: () => namespace2,
29
- node: () => node30
29
+ node: () => node32
30
30
  });
31
31
  import { ToolFailure } from "@opencode/ai";
32
32
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
36
  var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service27 extends Context.Service()("@opencode/McpTool") {
38
+ class Service29 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer12 = Layer.effect(Service27, Effect.gen(function* () {
41
- const mcp = yield* Service28;
42
- const tools = yield* Service39;
43
- const bus = yield* Service83;
44
- const permission = yield* Service54;
40
+ var layer12 = Layer.effect(Service29, Effect.gen(function* () {
41
+ const mcp = yield* Service30;
42
+ const tools = yield* Service48;
43
+ const bus = yield* Service81;
44
+ const permission = yield* Service55;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -118,12 +118,12 @@ var layer12 = Layer.effect(Service27, Effect.gen(function* () {
118
118
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
119
119
  const updates = yield* PubSub.subscribe(changes);
120
120
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
121
- return Service27.of({ flush: Effect.asVoid(Fiber.await(initial)) });
121
+ return Service29.of({ flush: Effect.asVoid(Fiber.await(initial)) });
122
122
  }));
123
- var node30 = makeLocationNode({
124
- service: Service27,
123
+ var node32 = makeLocationNode({
124
+ service: Service29,
125
125
  layer: layer12,
126
- deps: [node41, node31, node87, node56]
126
+ deps: [node50, node33, node85, node57]
127
127
  });
128
128
 
129
- export { namespace2, name14, Service27, layer12, node30, exports_mcp3 };
129
+ export { namespace2, name14, Service29, layer12, node32, exports_mcp3 };