@opencode/core 0.0.0-dev-964 → 0.0.0-dev-968

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 (932) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +94 -94
  3. package/dist/aisdk-native.js +102 -102
  4. package/dist/aisdk.js +106 -106
  5. package/dist/app.js +9 -9
  6. package/dist/artifact.js +234 -234
  7. package/dist/bus.js +84 -84
  8. package/dist/chunks/{voice-m16wzvbz.js → event-logger-01pgyqjg.js} +10 -10
  9. package/dist/chunks/{voice-7z8gcvyj.js → event-logger-038hwwmv.js} +10 -10
  10. package/dist/chunks/{voice-z9z2ktkk.js → event-logger-08ssd54w.js} +11 -11
  11. package/dist/chunks/{voice-c6x7d2ts.js → event-logger-0ahs07zn.js} +4 -4
  12. package/dist/chunks/{voice-sqjzf8x2.js → event-logger-0j7gp832.js} +4 -4
  13. package/dist/chunks/{voice-0ma9gw4f.js → event-logger-0ma9gw4f.js} +2 -2
  14. package/dist/chunks/{voice-atyn88rj.js → event-logger-0qbepd72.js} +11 -11
  15. package/dist/chunks/{voice-kr42xs1x.js → event-logger-0vph5ddd.js} +25 -25
  16. package/dist/chunks/{voice-b75pk896.js → event-logger-112ff1ne.js} +49 -49
  17. package/dist/chunks/{voice-rny7jd2w.js → event-logger-163k39te.js} +35 -35
  18. package/dist/chunks/{voice-1dvb3gmj.js → event-logger-173vw1q1.js} +7 -7
  19. package/dist/chunks/{voice-1aqsckx4.js → event-logger-1aqsckx4.js} +1 -1
  20. package/dist/chunks/{voice-0gqsd9fg.js → event-logger-1c79zbd7.js} +16 -16
  21. package/dist/chunks/{voice-0xadcha5.js → event-logger-1eq2mpjg.js} +9 -9
  22. package/dist/chunks/{voice-5tqsgbys.js → event-logger-1f34g2bs.js} +6 -6
  23. package/dist/chunks/{voice-pxde6n4r.js → event-logger-1rdd5cfv.js} +22 -22
  24. package/dist/chunks/{voice-1v2g13eq.js → event-logger-1v2g13eq.js} +4 -4
  25. package/dist/chunks/{voice-1rn7dek2.js → event-logger-1wveaqqv.js} +22 -22
  26. package/dist/chunks/{voice-1x2knyw4.js → event-logger-1x2knyw4.js} +1 -1
  27. package/dist/chunks/{voice-17b8a7h3.js → event-logger-1xckstgy.js} +11 -11
  28. package/dist/chunks/{voice-5zrxpy3q.js → event-logger-1yq9hg58.js} +5 -5
  29. package/dist/chunks/{voice-2mr1maa0.js → event-logger-2495wgp6.js} +17 -17
  30. package/dist/chunks/{voice-nc6qaqad.js → event-logger-24c7qevj.js} +4 -4
  31. package/dist/chunks/{voice-1ep2p91f.js → event-logger-27w5k9zf.js} +2 -2
  32. package/dist/chunks/{voice-2fc7eemy.js → event-logger-2fc7eemy.js} +1 -1
  33. package/dist/chunks/{voice-2gt1bs3y.js → event-logger-2kzrtkbg.js} +6 -6
  34. package/dist/chunks/{voice-vn7d9r1w.js → event-logger-2nrw2xdg.js} +22 -22
  35. package/dist/chunks/{voice-2p60zmnr.js → event-logger-2p60zmnr.js} +2 -2
  36. package/dist/chunks/{voice-f9qw5520.js → event-logger-2txg7jq7.js} +7 -7
  37. package/dist/chunks/{voice-fenvfg2q.js → event-logger-2ym92mf1.js} +21 -21
  38. package/dist/chunks/{voice-3yyccf88.js → event-logger-371a9zvv.js} +24 -24
  39. package/dist/chunks/{voice-ayjs7tqn.js → event-logger-3cbjf1nt.js} +2 -2
  40. package/dist/chunks/{voice-d3cyy5h9.js → event-logger-3feh9pgm.js} +20 -20
  41. package/dist/chunks/{voice-3hepkmqq.js → event-logger-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{voice-pqg09pej.js → event-logger-3hhbp02d.js} +12 -12
  43. package/dist/chunks/{voice-bgehp640.js → event-logger-3k36641y.js} +19 -19
  44. package/dist/chunks/{voice-3nnrz6f6.js → event-logger-3nnrz6f6.js} +1 -1
  45. package/dist/chunks/{voice-42b88sja.js → event-logger-3npegsrp.js} +25 -25
  46. package/dist/chunks/{voice-zvwf81tm.js → event-logger-3zkqgws0.js} +26 -26
  47. package/dist/chunks/{voice-40y6dtc2.js → event-logger-40y6dtc2.js} +1 -1
  48. package/dist/chunks/{voice-40za9wsf.js → event-logger-40za9wsf.js} +2 -2
  49. package/dist/chunks/{voice-44pmzq9c.js → event-logger-44pmzq9c.js} +2 -2
  50. package/dist/chunks/{voice-8cg7mtm3.js → event-logger-4d2dtj2f.js} +4 -4
  51. package/dist/chunks/{voice-4dx1dgte.js → event-logger-4dx1dgte.js} +1 -1
  52. package/dist/chunks/{voice-4f25tdd0.js → event-logger-4f25tdd0.js} +1 -1
  53. package/dist/chunks/{voice-b3a32pfz.js → event-logger-4gmbvmjy.js} +4 -4
  54. package/dist/chunks/{voice-4pyp9zr9.js → event-logger-4pyp9zr9.js} +1 -1
  55. package/dist/chunks/{voice-t25qvqcd.js → event-logger-4s5va1b3.js} +4 -4
  56. package/dist/chunks/{voice-4v008n1t.js → event-logger-4v008n1t.js} +1 -1
  57. package/dist/chunks/{voice-j6xpfznc.js → event-logger-56hngwk6.js} +8 -8
  58. package/dist/chunks/{voice-kqbry5xp.js → event-logger-56zxszdz.js} +12 -12
  59. package/dist/chunks/{voice-n3j33rb6.js → event-logger-593f2610.js} +4 -4
  60. package/dist/chunks/{voice-embhht3f.js → event-logger-5c0cm7w1.js} +14 -14
  61. package/dist/chunks/{voice-p09pcesq.js → event-logger-5h8a3jhb.js} +33 -33
  62. package/dist/chunks/{voice-v4wwqybb.js → event-logger-5hraaw31.js} +8 -8
  63. package/dist/chunks/{voice-5m9w47nd.js → event-logger-5m9w47nd.js} +1 -1
  64. package/dist/chunks/{voice-d73cmea9.js → event-logger-63v28zz5.js} +27 -27
  65. package/dist/chunks/{voice-awrxjrzc.js → event-logger-64da1pfa.js} +10 -10
  66. package/dist/chunks/{voice-q6563hm8.js → event-logger-66mqzm6s.js} +6 -6
  67. package/dist/chunks/{voice-z6bqmzvv.js → event-logger-6ae311g6.js} +9 -9
  68. package/dist/chunks/{voice-ecj07vsr.js → event-logger-6bcwq14n.js} +5 -5
  69. package/dist/chunks/{voice-e388vecc.js → event-logger-6jec7pv6.js} +20 -20
  70. package/dist/chunks/{voice-7rdtaxa6.js → event-logger-6jqs5jhs.js} +60 -60
  71. package/dist/chunks/{voice-xsg53zeb.js → event-logger-6p1gt0xm.js} +9 -9
  72. package/dist/chunks/{voice-mqwyyrgk.js → event-logger-6rwzefgk.js} +30 -30
  73. package/dist/chunks/{voice-sdn2zcx3.js → event-logger-6sg7v011.js} +2 -2
  74. package/dist/chunks/{voice-fb63yqe0.js → event-logger-726stqvb.js} +85 -85
  75. package/dist/chunks/{voice-xtq9xpt1.js → event-logger-75a2gs08.js} +1 -1
  76. package/dist/chunks/{voice-78p2h4ex.js → event-logger-78p2h4ex.js} +2 -2
  77. package/dist/chunks/{voice-7bmhse3q.js → event-logger-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{voice-x7qyjdvj.js → event-logger-7fthxxq8.js} +3 -3
  79. package/dist/chunks/{voice-bfbsygdd.js → event-logger-7hq1gv6b.js} +5 -5
  80. package/dist/chunks/{voice-10pn4eb5.js → event-logger-7nb8tm12.js} +5 -5
  81. package/dist/chunks/{voice-bqa8ney4.js → event-logger-7nqkf5r1.js} +4 -4
  82. package/dist/chunks/{voice-jkdcm5hg.js → event-logger-7ttwvgsg.js} +4 -4
  83. package/dist/chunks/{voice-7w2ypzdf.js → event-logger-7w2ypzdf.js} +1 -1
  84. package/dist/chunks/{voice-7weczvnd.js → event-logger-7weczvnd.js} +1 -1
  85. package/dist/chunks/{voice-23rvthkw.js → event-logger-7xtk36z5.js} +11 -11
  86. package/dist/chunks/{voice-775hqbnd.js → event-logger-80mg3ag8.js} +3 -3
  87. package/dist/chunks/{voice-80pdk984.js → event-logger-80pdk984.js} +1 -1
  88. package/dist/chunks/{voice-grqb6hdt.js → event-logger-80qbnxvr.js} +44 -44
  89. package/dist/chunks/{voice-fx8d1ven.js → event-logger-833nn43g.js} +6 -6
  90. package/dist/chunks/{voice-xjbsd7zy.js → event-logger-859w1rtj.js} +9 -9
  91. package/dist/chunks/{voice-89287pr7.js → event-logger-89287pr7.js} +1 -1
  92. package/dist/chunks/{voice-25h84942.js → event-logger-8b3vzgkx.js} +4 -4
  93. package/dist/chunks/{voice-dbatw319.js → event-logger-8bcc8xgx.js} +3 -3
  94. package/dist/chunks/{voice-j2s16gw1.js → event-logger-8ckk5xj4.js} +30 -30
  95. package/dist/chunks/{voice-8wtp7s3z.js → event-logger-8wtp7s3z.js} +1 -1
  96. package/dist/chunks/{voice-5j8gtehf.js → event-logger-8y7h82wd.js} +1 -1
  97. package/dist/chunks/{voice-mb7mbhnz.js → event-logger-8z6m94af.js} +3 -3
  98. package/dist/chunks/{voice-8zv0xmg5.js → event-logger-8zv0xmg5.js} +1 -1
  99. package/dist/chunks/{voice-1sfntyzw.js → event-logger-90g9qb9h.js} +9 -9
  100. package/dist/chunks/{voice-7cs1hega.js → event-logger-93cadnx6.js} +22 -22
  101. package/dist/chunks/{voice-h8s8bx6e.js → event-logger-963hk181.js} +9 -9
  102. package/dist/chunks/{voice-0php2d2a.js → event-logger-9e4pvqfe.js} +4 -4
  103. package/dist/chunks/{voice-6k3xky5d.js → event-logger-9f64jb74.js} +7 -7
  104. package/dist/chunks/{voice-ptgc6f70.js → event-logger-9g5yfdbq.js} +34 -34
  105. package/dist/chunks/{voice-927m74tw.js → event-logger-9j3nx499.js} +51 -51
  106. package/dist/chunks/{voice-v0zxj69a.js → event-logger-9p0p1s5j.js} +2 -2
  107. package/dist/chunks/{voice-f6cf93bj.js → event-logger-9pk69mvt.js} +9 -9
  108. package/dist/chunks/{voice-pyb42rgw.js → event-logger-9pvbxgk6.js} +11 -11
  109. package/dist/chunks/{voice-w35wzz9x.js → event-logger-9q8g9sv8.js} +4 -4
  110. package/dist/chunks/{voice-mdtqqwk2.js → event-logger-9yr0amy5.js} +20 -20
  111. package/dist/chunks/{voice-mwjtw10h.js → event-logger-a1m4e2tz.js} +14 -14
  112. package/dist/chunks/{voice-nv9tsjma.js → event-logger-a7143epj.js} +6 -6
  113. package/dist/chunks/{voice-xb9pxrkr.js → event-logger-abs010f6.js} +15 -15
  114. package/dist/chunks/{voice-034tev2y.js → event-logger-aj7mw0zk.js} +2 -2
  115. package/dist/chunks/{voice-5r30nkvm.js → event-logger-amafse7c.js} +4 -4
  116. package/dist/chunks/{voice-3q00qqkh.js → event-logger-arn47g3q.js} +23 -23
  117. package/dist/chunks/{voice-5tnkv0hs.js → event-logger-ax9dbkc8.js} +23 -23
  118. package/dist/chunks/{voice-kakp11ww.js → event-logger-b19rv6s0.js} +12 -12
  119. package/dist/chunks/{voice-b26ddj6h.js → event-logger-b26ddj6h.js} +4 -4
  120. package/dist/chunks/{voice-2xt21qg7.js → event-logger-b3jrtzv0.js} +21 -21
  121. package/dist/chunks/{voice-rkj5v69x.js → event-logger-b7vxsw5w.js} +16 -16
  122. package/dist/chunks/{voice-fd35w371.js → event-logger-baxnqef3.js} +6 -6
  123. package/dist/chunks/{voice-8sxe6kv8.js → event-logger-bb3mmwvh.js} +2 -2
  124. package/dist/chunks/{voice-dh8npsad.js → event-logger-bcef0ed0.js} +16 -16
  125. package/dist/chunks/{voice-qvqep2ak.js → event-logger-bnreh2z3.js} +8 -8
  126. package/dist/chunks/{voice-2jpmm09x.js → event-logger-bnvrzxfe.js} +4 -4
  127. package/dist/chunks/{voice-7k5wggvy.js → event-logger-bnvy5xdg.js} +3 -3
  128. package/dist/chunks/{voice-dhkgre00.js → event-logger-bqxxknzd.js} +10 -10
  129. package/dist/chunks/{voice-ne6efjj0.js → event-logger-brvay7w1.js} +6 -6
  130. package/dist/chunks/{voice-7fb90hz6.js → event-logger-brzaps9f.js} +81 -81
  131. package/dist/chunks/{voice-xd9cc171.js → event-logger-bstexjd6.js} +5 -5
  132. package/dist/chunks/event-logger-bwr025q5.js +265 -0
  133. package/dist/chunks/{voice-2zdv0xg6.js → event-logger-c0g3c22b.js} +11 -11
  134. package/dist/chunks/{voice-e9b9rvcq.js → event-logger-c32dh112.js} +2 -2
  135. package/dist/chunks/{voice-ta1tt9e0.js → event-logger-c5g6agdg.js} +21 -21
  136. package/dist/chunks/{voice-c7cw818c.js → event-logger-c7cw818c.js} +2 -2
  137. package/dist/chunks/{voice-r3q1xdvh.js → event-logger-c8qpxpgs.js} +17 -17
  138. package/dist/chunks/{voice-acfhc5st.js → event-logger-c9bdj1aa.js} +7 -7
  139. package/dist/chunks/{voice-dxh24bcs.js → event-logger-cgrh10m6.js} +14 -14
  140. package/dist/chunks/{voice-6j6ndqwm.js → event-logger-cme9jdfb.js} +7 -7
  141. package/dist/chunks/{voice-6sz5zbxg.js → event-logger-cmy1dj68.js} +15 -15
  142. package/dist/chunks/{voice-rzhzghgd.js → event-logger-cnhzkxdz.js} +19 -19
  143. package/dist/chunks/{voice-n3vz4w6f.js → event-logger-cr2sa2jt.js} +4 -4
  144. package/dist/chunks/{voice-3cz0nxy2.js → event-logger-ct1nm8d1.js} +7 -7
  145. package/dist/chunks/{voice-cwrgdav8.js → event-logger-cwrgdav8.js} +2 -2
  146. package/dist/chunks/{voice-00ewv2qf.js → event-logger-d0yqngvr.js} +12 -12
  147. package/dist/chunks/{voice-g32y5wjx.js → event-logger-d3nkaabc.js} +11 -11
  148. package/dist/chunks/{voice-d4v9tmah.js → event-logger-d4v9tmah.js} +2 -2
  149. package/dist/chunks/{voice-9e7ws9aq.js → event-logger-d9zeweex.js} +11 -11
  150. package/dist/chunks/{voice-na09wy1b.js → event-logger-dk3438zr.js} +17 -17
  151. package/dist/chunks/{voice-0v2w8pbb.js → event-logger-dsjmsk1q.js} +18 -18
  152. package/dist/chunks/{voice-dt77769w.js → event-logger-dt77769w.js} +1 -1
  153. package/dist/chunks/{voice-kf66eane.js → event-logger-dvqtd602.js} +8 -8
  154. package/dist/chunks/{voice-cyw90pqg.js → event-logger-ebq998nt.js} +15 -15
  155. package/dist/chunks/{voice-0vtmyca9.js → event-logger-ebynchw0.js} +29 -29
  156. package/dist/chunks/{voice-jqb5dkd6.js → event-logger-ec4hmpn0.js} +8 -8
  157. package/dist/chunks/{voice-9ss1hsd9.js → event-logger-ecjq5zkx.js} +29 -29
  158. package/dist/chunks/{voice-hp9s6586.js → event-logger-ehc91w6x.js} +14 -14
  159. package/dist/chunks/{voice-eqw4pqj1.js → event-logger-eqw4pqj1.js} +2 -2
  160. package/dist/chunks/{voice-4ky886p8.js → event-logger-esnjey1b.js} +37 -37
  161. package/dist/chunks/{voice-9r29h5yr.js → event-logger-etqxayg3.js} +15 -15
  162. package/dist/chunks/{voice-hx3mz2q2.js → event-logger-exwhc5hz.js} +8 -8
  163. package/dist/chunks/{voice-rvqjtky1.js → event-logger-ez5zfamv.js} +16 -16
  164. package/dist/chunks/{voice-7exns6mp.js → event-logger-f7zh9bkh.js} +2 -2
  165. package/dist/chunks/event-logger-f8ma18fn.js +18 -0
  166. package/dist/chunks/{voice-ptabe0sc.js → event-logger-f9r4rks5.js} +3 -3
  167. package/dist/chunks/{voice-ygnyxm4b.js → event-logger-f9tc5me5.js} +6 -6
  168. package/dist/chunks/{voice-a46yszdy.js → event-logger-fbmemjnh.js} +11 -11
  169. package/dist/chunks/{voice-ye0egtn0.js → event-logger-fcfz6v5r.js} +11 -11
  170. package/dist/chunks/{voice-kq4fnwb1.js → event-logger-fcrd7kek.js} +4 -4
  171. package/dist/chunks/{voice-p39kxe9j.js → event-logger-fe8kwgzc.js} +18 -18
  172. package/dist/chunks/{voice-fffv3p7h.js → event-logger-fffv3p7h.js} +1 -1
  173. package/dist/chunks/{voice-fg9p65nk.js → event-logger-fg9p65nk.js} +2 -2
  174. package/dist/chunks/{voice-bmcg2smy.js → event-logger-fjgqb3ft.js} +33 -33
  175. package/dist/chunks/{voice-pdch41e7.js → event-logger-fjjp4z2m.js} +30 -30
  176. package/dist/chunks/{voice-6kw4d1yn.js → event-logger-fpg8q5fm.js} +6 -6
  177. package/dist/chunks/{voice-61zmc5v6.js → event-logger-g01amxtw.js} +11 -11
  178. package/dist/chunks/{voice-w9kjqb2v.js → event-logger-g6zph2y9.js} +16 -16
  179. package/dist/chunks/{voice-gbjdnr5j.js → event-logger-gbjdnr5j.js} +2 -2
  180. package/dist/chunks/{voice-gwyytpcj.js → event-logger-ggx84v7x.js} +3 -3
  181. package/dist/chunks/{voice-ghrv1g9c.js → event-logger-ghrv1g9c.js} +1 -1
  182. package/dist/chunks/{voice-k91apw40.js → event-logger-gkgga9j8.js} +23 -23
  183. package/dist/chunks/{voice-0bn33jj1.js → event-logger-gsnab5pm.js} +6 -6
  184. package/dist/chunks/{voice-gxs71cxp.js → event-logger-gxs71cxp.js} +1 -1
  185. package/dist/chunks/{voice-wgcv9jcx.js → event-logger-h9msybv3.js} +6 -6
  186. package/dist/chunks/{voice-a6j6gnnp.js → event-logger-ha3qa0p7.js} +30 -30
  187. package/dist/chunks/{voice-efna48m6.js → event-logger-hawk35c3.js} +12 -12
  188. package/dist/chunks/{voice-hgzwgvze.js → event-logger-hgzwgvze.js} +2 -2
  189. package/dist/chunks/{voice-1pthwa90.js → event-logger-hhgfw894.js} +3 -3
  190. package/dist/chunks/{voice-ampjv2jb.js → event-logger-hnqj18p6.js} +3 -3
  191. package/dist/chunks/{voice-9ryz22jm.js → event-logger-hqfj5eyz.js} +15 -15
  192. package/dist/chunks/{voice-src9vsb0.js → event-logger-hsa642b5.js} +10 -10
  193. package/dist/chunks/{voice-x0z0m99k.js → event-logger-hsb208at.js} +14 -14
  194. package/dist/chunks/{voice-rmcpkmyh.js → event-logger-hvzkvrg0.js} +25 -25
  195. package/dist/chunks/{voice-tg1vr1qt.js → event-logger-hy8c1z76.js} +8 -8
  196. package/dist/chunks/{voice-tnyngbzd.js → event-logger-j7f1gfe1.js} +19 -19
  197. package/dist/chunks/{voice-7m0ws7te.js → event-logger-jd97dh05.js} +12 -12
  198. package/dist/chunks/{voice-15m4mygk.js → event-logger-jg5pctaw.js} +10 -10
  199. package/dist/chunks/{voice-jm70asfg.js → event-logger-jm70asfg.js} +1 -1
  200. package/dist/chunks/{voice-qnwejpft.js → event-logger-jpm53ww7.js} +34 -34
  201. package/dist/chunks/{voice-rpzxhzy5.js → event-logger-jsht6e81.js} +29 -29
  202. package/dist/chunks/{voice-xm65dzc6.js → event-logger-k1xewz22.js} +29 -29
  203. package/dist/chunks/{voice-rgy9wb8r.js → event-logger-k2tprxq6.js} +11 -11
  204. package/dist/chunks/{voice-qsdghx1p.js → event-logger-k3cx6fhe.js} +4 -4
  205. package/dist/chunks/{voice-kky8y7vd.js → event-logger-k7k9c6s1.js} +10 -10
  206. package/dist/chunks/{voice-yy41tw1y.js → event-logger-kd8jwzgx.js} +16 -16
  207. package/dist/chunks/{voice-q66cxe1q.js → event-logger-kqn9jzxe.js} +10 -10
  208. package/dist/chunks/{voice-eqavyzx9.js → event-logger-ksvntpp0.js} +12 -12
  209. package/dist/chunks/{voice-kt3bjfbg.js → event-logger-kt3bjfbg.js} +1 -1
  210. package/dist/chunks/{voice-ghqza1a8.js → event-logger-kz8e9xwk.js} +11 -11
  211. package/dist/chunks/{voice-kzczzf4v.js → event-logger-kzczzf4v.js} +1 -1
  212. package/dist/chunks/{voice-m1714858.js → event-logger-m1714858.js} +1 -1
  213. package/dist/chunks/{voice-53hjkm5v.js → event-logger-m6bz40g5.js} +17 -17
  214. package/dist/chunks/event-logger-m6cfdtf3.js +16 -0
  215. package/dist/chunks/{voice-tf9r37f3.js → event-logger-m81bzjfe.js} +11 -11
  216. package/dist/chunks/{voice-n9yrcr2r.js → event-logger-m8gvh7qn.js} +6 -6
  217. package/dist/chunks/{voice-m9w0rfyh.js → event-logger-m9w0rfyh.js} +1 -1
  218. package/dist/chunks/{voice-n6cw2b0c.js → event-logger-mmbzx9ze.js} +9 -9
  219. package/dist/chunks/{voice-wpmtqpce.js → event-logger-mspvp0sf.js} +12 -12
  220. package/dist/chunks/{voice-gy24j455.js → event-logger-mz3s4az1.js} +9 -9
  221. package/dist/chunks/{voice-5jmm62kn.js → event-logger-n0vphj4t.js} +166 -166
  222. package/dist/chunks/{voice-mht0thzg.js → event-logger-nddwjnxk.js} +5 -5
  223. package/dist/chunks/{voice-yngvyh0w.js → event-logger-nkzb5f1v.js} +8 -8
  224. package/dist/chunks/{voice-wegkxhrn.js → event-logger-nx4vzyjd.js} +2 -2
  225. package/dist/chunks/{voice-ncjx37xy.js → event-logger-p6jpqmnw.js} +15 -15
  226. package/dist/chunks/{voice-0qh3s10f.js → event-logger-p741v5rd.js} +7 -7
  227. package/dist/chunks/{voice-jwexjrzw.js → event-logger-paep6nkh.js} +33 -33
  228. package/dist/chunks/{voice-c5wc4t8q.js → event-logger-pdrnr70j.js} +75 -75
  229. package/dist/chunks/{voice-m90s09wf.js → event-logger-pk9tf6tz.js} +40 -40
  230. package/dist/chunks/{voice-pknna89w.js → event-logger-pknna89w.js} +1 -1
  231. package/dist/chunks/{voice-a6yr553d.js → event-logger-pptmp7tc.js} +24 -24
  232. package/dist/chunks/{voice-dvqgfsre.js → event-logger-pqpekw9r.js} +2 -2
  233. package/dist/chunks/{voice-zs0a32sq.js → event-logger-psgpy207.js} +12 -12
  234. package/dist/chunks/{voice-9ddhjvmx.js → event-logger-pyf6bnxh.js} +21 -21
  235. package/dist/chunks/{voice-1f7fgv8p.js → event-logger-qdw3vce2.js} +13 -13
  236. package/dist/chunks/{voice-kj9n5bvh.js → event-logger-qfz6bxfd.js} +4 -4
  237. package/dist/chunks/{voice-asqr45f0.js → event-logger-qn2s89qg.js} +2 -2
  238. package/dist/chunks/{voice-qp7r0hxv.js → event-logger-qp7r0hxv.js} +1 -1
  239. package/dist/chunks/{voice-wm90ajzq.js → event-logger-qpx2k6qd.js} +23 -23
  240. package/dist/chunks/{voice-te43v6n1.js → event-logger-r3dtaa9h.js} +10 -10
  241. package/dist/chunks/{voice-x1re4nvw.js → event-logger-r3y4pdhc.js} +11 -11
  242. package/dist/chunks/{voice-5mr2x3fj.js → event-logger-r4hx1exj.js} +42 -42
  243. package/dist/chunks/{voice-apc8d5rx.js → event-logger-r8egjhrb.js} +7 -7
  244. package/dist/chunks/{voice-rb9dy4dg.js → event-logger-rb9dy4dg.js} +1 -1
  245. package/dist/chunks/{voice-p76me67c.js → event-logger-rcbjwvze.js} +4 -4
  246. package/dist/chunks/{voice-4pyg9rdg.js → event-logger-rck64b9j.js} +20 -20
  247. package/dist/chunks/{voice-mwtfx1rr.js → event-logger-rdwh3x5m.js} +41 -41
  248. package/dist/chunks/{voice-54b0575t.js → event-logger-redehywe.js} +11 -11
  249. package/dist/chunks/{voice-rgc9cx3e.js → event-logger-rgc9cx3e.js} +2 -2
  250. package/dist/chunks/{voice-vpfjm1w0.js → event-logger-rgm4yjmb.js} +345 -345
  251. package/dist/chunks/{voice-rj7j5fvs.js → event-logger-rj7j5fvs.js} +1 -1
  252. package/dist/chunks/{voice-kzdam8c6.js → event-logger-rmeyrjyf.js} +5 -5
  253. package/dist/chunks/{voice-rt5dr6hb.js → event-logger-rt5dr6hb.js} +1 -1
  254. package/dist/chunks/{voice-z198hf5t.js → event-logger-rwgjpast.js} +11 -11
  255. package/dist/chunks/{voice-90ct6wq4.js → event-logger-rzg6y5rp.js} +4 -4
  256. package/dist/chunks/{voice-y8cce3fx.js → event-logger-s2d330x1.js} +25 -25
  257. package/dist/chunks/{voice-j16fvtk4.js → event-logger-s5m4k91f.js} +4 -4
  258. package/dist/chunks/{voice-81ayfgmh.js → event-logger-s6n6bzz5.js} +5 -5
  259. package/dist/chunks/{voice-y2z0z6pv.js → event-logger-sa0se8ze.js} +6 -6
  260. package/dist/chunks/{voice-8t7jmywy.js → event-logger-sbewtkcj.js} +22 -22
  261. package/dist/chunks/{voice-sbya78hr.js → event-logger-sbya78hr.js} +1 -1
  262. package/dist/chunks/{voice-7dpmt7th.js → event-logger-skbx06z9.js} +19 -19
  263. package/dist/chunks/{voice-8w4s8p9a.js → event-logger-spg464vw.js} +5 -5
  264. package/dist/chunks/{voice-ne765583.js → event-logger-stbznb21.js} +13 -13
  265. package/dist/chunks/{voice-kn4zqwcq.js → event-logger-sv909n4y.js} +3 -3
  266. package/dist/chunks/{voice-svcy3p9a.js → event-logger-svcy3p9a.js} +1 -1
  267. package/dist/chunks/{voice-jm2rth09.js → event-logger-szptd3f3.js} +21 -21
  268. package/dist/chunks/{voice-psf77gbq.js → event-logger-t012fz86.js} +19 -19
  269. package/dist/chunks/{voice-gsh27z5w.js → event-logger-t1f5z9nx.js} +31 -31
  270. package/dist/chunks/{voice-g2hxvz91.js → event-logger-t21jdgwk.js} +32 -32
  271. package/dist/chunks/{voice-50emzza2.js → event-logger-t55cvahq.js} +2 -2
  272. package/dist/chunks/{voice-8hnmz7x2.js → event-logger-t62taa8m.js} +14 -14
  273. package/dist/chunks/{voice-9ahypc1t.js → event-logger-t6vm2ngy.js} +28 -28
  274. package/dist/chunks/{voice-vvyrbt6e.js → event-logger-t8s4cpn7.js} +13 -13
  275. package/dist/chunks/{voice-tbpn7jtk.js → event-logger-tbpn7jtk.js} +1 -1
  276. package/dist/chunks/{voice-r0dqvrhf.js → event-logger-tc1m972j.js} +6 -6
  277. package/dist/chunks/{voice-9akxmj8y.js → event-logger-tcm03gm2.js} +11 -11
  278. package/dist/chunks/{voice-tczq8hjw.js → event-logger-tczq8hjw.js} +1 -1
  279. package/dist/chunks/{voice-5wsa4z6e.js → event-logger-te9vya8p.js} +17 -17
  280. package/dist/chunks/{voice-dhcnp92e.js → event-logger-tkvp19wt.js} +15 -15
  281. package/dist/chunks/{voice-78hspxf6.js → event-logger-tpd91nkp.js} +3 -3
  282. package/dist/chunks/{voice-40qsrmhq.js → event-logger-tpt5wkds.js} +52 -52
  283. package/dist/chunks/{voice-tr8x705m.js → event-logger-tr8x705m.js} +1 -1
  284. package/dist/chunks/{voice-gvmtew32.js → event-logger-tsghnecv.js} +25 -25
  285. package/dist/chunks/{voice-tvtps2q9.js → event-logger-tvtps2q9.js} +1 -1
  286. package/dist/chunks/{voice-twssxy5n.js → event-logger-twssxy5n.js} +2 -2
  287. package/dist/chunks/{voice-tx91wa5k.js → event-logger-tx91wa5k.js} +1 -1
  288. package/dist/chunks/{voice-22ezab04.js → event-logger-ty2pcr7w.js} +19 -19
  289. package/dist/chunks/{voice-as9xcp9f.js → event-logger-v0fr3gaw.js} +22 -22
  290. package/dist/chunks/{voice-8jydy40p.js → event-logger-v18vpwtw.js} +45 -45
  291. package/dist/chunks/{voice-v2r1d0zg.js → event-logger-v2r1d0zg.js} +1 -1
  292. package/dist/chunks/{voice-6q8jj3zs.js → event-logger-v37bc009.js} +2 -2
  293. package/dist/chunks/{voice-tb2mrvc9.js → event-logger-v4bj6baw.js} +4 -4
  294. package/dist/chunks/{voice-mem9hq1j.js → event-logger-v55n0abe.js} +30 -30
  295. package/dist/chunks/{voice-pfkgx20r.js → event-logger-v6z0k5wm.js} +31 -31
  296. package/dist/chunks/{voice-tc0zt20q.js → event-logger-v8v1grp6.js} +23 -23
  297. package/dist/chunks/{voice-39c1cpm5.js → event-logger-vbk8xh3n.js} +31 -31
  298. package/dist/chunks/{voice-vjf35v1f.js → event-logger-vjf35v1f.js} +1 -1
  299. package/dist/chunks/{voice-q3h00j87.js → event-logger-vm31zxdx.js} +22 -22
  300. package/dist/chunks/{voice-m51dyxz1.js → event-logger-vwjpa1de.js} +9 -9
  301. package/dist/chunks/{voice-568xs2g9.js → event-logger-w1fq144z.js} +4 -4
  302. package/dist/chunks/{voice-s5t4exv8.js → event-logger-w22b57rx.js} +35 -35
  303. package/dist/chunks/{voice-1td1h2ht.js → event-logger-w2hhxnmc.js} +10 -10
  304. package/dist/chunks/{voice-w3wsvvr9.js → event-logger-w3wsvvr9.js} +1 -1
  305. package/dist/chunks/{voice-3rs71jyg.js → event-logger-w4yxebyp.js} +37 -37
  306. package/dist/chunks/{voice-fznmdakp.js → event-logger-w687dnns.js} +4 -4
  307. package/dist/chunks/{voice-4hdtqmnf.js → event-logger-wahvgdqs.js} +19 -19
  308. package/dist/chunks/{voice-wakvkjy4.js → event-logger-wakvkjy4.js} +1 -1
  309. package/dist/chunks/{voice-wd87259q.js → event-logger-wd87259q.js} +1 -1
  310. package/dist/chunks/{voice-3qgwywyc.js → event-logger-wfs84ra6.js} +4 -4
  311. package/dist/chunks/{voice-g8zgyhbt.js → event-logger-wgh68a1n.js} +15 -15
  312. package/dist/chunks/{voice-nby6spwz.js → event-logger-wjvbnett.js} +11 -11
  313. package/dist/chunks/{voice-5dbknyqr.js → event-logger-wrv5a3yz.js} +5 -5
  314. package/dist/chunks/{voice-btp67x44.js → event-logger-wt6qwq3f.js} +3 -3
  315. package/dist/chunks/{voice-4nyecbjy.js → event-logger-wvkyjzqv.js} +19 -19
  316. package/dist/chunks/{voice-czwy3yzx.js → event-logger-wvr8xscb.js} +7 -7
  317. package/dist/chunks/{voice-z6dmpqyt.js → event-logger-wwqe157t.js} +1 -1
  318. package/dist/chunks/{voice-y7hezkzm.js → event-logger-wyc2d4y1.js} +25 -25
  319. package/dist/chunks/{voice-a731n7nr.js → event-logger-x0q5hsya.js} +7 -7
  320. package/dist/chunks/{voice-gfjnkfvy.js → event-logger-x1794cnw.js} +9 -9
  321. package/dist/chunks/{voice-bc4vsx1w.js → event-logger-x6fctr9q.js} +25 -25
  322. package/dist/chunks/{voice-vt4r9rmy.js → event-logger-x7de2wha.js} +9 -9
  323. package/dist/chunks/{voice-g7danagf.js → event-logger-xcmd48fv.js} +8 -4
  324. package/dist/chunks/{voice-aysc2v2a.js → event-logger-xds81p3n.js} +5 -5
  325. package/dist/chunks/{voice-xjr6c8m4.js → event-logger-xjr6c8m4.js} +1 -1
  326. package/dist/chunks/{voice-xksw6ev0.js → event-logger-xksw6ev0.js} +1 -1
  327. package/dist/chunks/{voice-p896y889.js → event-logger-xqhs6tkd.js} +24 -24
  328. package/dist/chunks/{voice-2k6758er.js → event-logger-xst0krf6.js} +29 -29
  329. package/dist/chunks/{voice-exm1rf0s.js → event-logger-xvr0n5nz.js} +25 -25
  330. package/dist/chunks/{voice-4qjc6cc0.js → event-logger-xxp9wfnm.js} +3 -3
  331. package/dist/chunks/{voice-q5wyqbrn.js → event-logger-xzx64cfp.js} +10 -10
  332. package/dist/chunks/{voice-yb20nhc3.js → event-logger-yb20nhc3.js} +1 -1
  333. package/dist/chunks/{voice-28rkn4bn.js → event-logger-yfhvjc76.js} +8 -8
  334. package/dist/chunks/{voice-yr705xyq.js → event-logger-yr705xyq.js} +1 -1
  335. package/dist/chunks/event-logger-yv7vv8vq.js +26 -0
  336. package/dist/chunks/{voice-yvtc2x31.js → event-logger-yvtc2x31.js} +1 -1
  337. package/dist/chunks/{voice-e0c3r628.js → event-logger-yz5sqx12.js} +13 -13
  338. package/dist/chunks/{voice-1w0avsj5.js → event-logger-z34hxnkr.js} +45 -45
  339. package/dist/chunks/{voice-01tfwf53.js → event-logger-z3t95ty4.js} +23 -23
  340. package/dist/chunks/{voice-16jhq12a.js → event-logger-z5cysar0.js} +9 -9
  341. package/dist/chunks/{voice-5djmykrb.js → event-logger-z5y0btch.js} +15 -15
  342. package/dist/chunks/{voice-ng7kkp28.js → event-logger-zcqr2s0j.js} +1 -1
  343. package/dist/chunks/{voice-j9nxzz3g.js → event-logger-ze75qvmd.js} +3 -3
  344. package/dist/chunks/{voice-4bbgqs4g.js → event-logger-zgy85czb.js} +22 -22
  345. package/dist/chunks/{voice-dxa907sf.js → event-logger-zm1hh0h0.js} +12 -12
  346. package/dist/chunks/{voice-yyxekwz1.js → event-logger-zm9kpz81.js} +59 -59
  347. package/dist/chunks/{voice-zpdbqgja.js → event-logger-zpdbqgja.js} +1 -1
  348. package/dist/chunks/{voice-v7r59397.js → event-logger-zsycqvwe.js} +11 -11
  349. package/dist/chunks/{voice-y05q0w5r.js → event-logger-zxxwhtpq.js} +8 -8
  350. package/dist/chunks/{voice-a6k6eb26.js → event-logger-zz5vv3aq.js} +1 -1
  351. package/dist/codemode/catalog.js +1 -1
  352. package/dist/codemode/execution.js +5 -5
  353. package/dist/codemode/fetch.js +148 -148
  354. package/dist/codemode/instructions.js +9 -9
  355. package/dist/codemode/tool.js +155 -155
  356. package/dist/command.js +94 -94
  357. package/dist/config/discovery.js +95 -95
  358. package/dist/config/integration.js +3 -3
  359. package/dist/config/managed.js +1 -1
  360. package/dist/config/markdown.js +1 -1
  361. package/dist/config/normalize.js +112 -112
  362. package/dist/config/plugin/agent.js +131 -131
  363. package/dist/config/plugin/command.js +238 -238
  364. package/dist/config/plugin/compaction.js +173 -173
  365. package/dist/config/plugin/compatibility.js +153 -153
  366. package/dist/config/plugin/entry-observer.js +1 -1
  367. package/dist/config/plugin/formatter.js +131 -131
  368. package/dist/config/plugin/image.js +130 -130
  369. package/dist/config/plugin/instruction.js +130 -130
  370. package/dist/config/plugin/location-watcher.js +130 -130
  371. package/dist/config/plugin/mcp.js +141 -141
  372. package/dist/config/plugin/policy.js +130 -130
  373. package/dist/config/plugin/provider.js +130 -130
  374. package/dist/config/plugin/reference.js +132 -132
  375. package/dist/config/plugin/shell.js +130 -130
  376. package/dist/config/plugin/skill-file.js +149 -149
  377. package/dist/config/plugin/skill-scan.js +1 -1
  378. package/dist/config/plugin/skill.js +154 -154
  379. package/dist/config/plugin/snapshot.js +130 -130
  380. package/dist/config/plugin/source.js +134 -134
  381. package/dist/config/plugin/tool-output.js +131 -131
  382. package/dist/config/plugin/websearch.js +129 -129
  383. package/dist/config/plugin/worktree.js +132 -132
  384. package/dist/config/variable.js +1 -1
  385. package/dist/config/watch.js +1 -1
  386. package/dist/config.js +133 -133
  387. package/dist/console-access.js +1 -1
  388. package/dist/credential/sql.js +2 -2
  389. package/dist/credential.js +94 -94
  390. package/dist/database/batch.js +1 -1
  391. package/dist/database/database.js +83 -83
  392. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  393. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  394. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  395. package/dist/database/drizzle/index.js +15 -15
  396. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  397. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  398. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  399. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  400. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  401. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  402. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  403. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  404. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  405. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  406. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  407. package/dist/database/drizzle.js +16 -16
  408. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  409. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  410. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  411. package/dist/database/migration/20260225215848_workspace.js +1 -1
  412. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  413. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  414. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  415. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  416. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  417. package/dist/database/migration/20260323234822_events.js +1 -1
  418. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  419. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  420. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  421. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  422. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  423. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  424. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  425. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  426. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  427. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  428. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  429. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  430. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  431. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  432. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  433. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  434. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  435. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  436. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  437. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  438. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  439. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  440. package/dist/database/migration/20260611035744_credential.js +1 -1
  441. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  442. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  443. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  444. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  445. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  446. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  447. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  448. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  449. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  450. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  451. package/dist/database/migration/20260812213948_worktree.js +1 -1
  452. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  453. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  454. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  455. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  456. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  457. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  458. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  459. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  460. package/dist/database/migration/20261025123711_blob.js +1 -1
  461. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  462. package/dist/database/migration/20261026223005_schedule.js +1 -1
  463. package/dist/database/migration/20261029002625_session_part.js +1 -1
  464. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  465. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  466. package/dist/database/migration/20261030054400_job.js +1 -1
  467. package/dist/database/migration.gen.js +60 -60
  468. package/dist/database/migration.js +76 -76
  469. package/dist/database/path.js +2 -2
  470. package/dist/database/schema.gen.js +1 -1
  471. package/dist/database/schema.sql.js +1 -1
  472. package/dist/database/v1-migration.bun.js +105 -105
  473. package/dist/database/v1-migration.js +1 -1
  474. package/dist/effect/app-node-builder.js +440 -440
  475. package/dist/effect/app-node-platform.js +2 -2
  476. package/dist/effect/keyed-mutex.js +3 -3
  477. package/dist/effect/websocket-constructor.js +1 -1
  478. package/dist/environment/driver.js +1 -1
  479. package/dist/environment/environment.js +105 -105
  480. package/dist/environment/exec-defaults.js +2 -2
  481. package/dist/environment/files.js +1 -1
  482. package/dist/environment/index.js +109 -109
  483. package/dist/environment/local.js +2 -2
  484. package/dist/environment/memory.js +2 -2
  485. package/dist/environment/unavailable.js +3 -3
  486. package/dist/event/sql.js +1 -1
  487. package/dist/event-logger.js +83 -83
  488. package/dist/file-access.js +158 -158
  489. package/dist/file-mutation.js +108 -108
  490. package/dist/file-retention.js +1 -1
  491. package/dist/file-write.js +164 -164
  492. package/dist/filesystem/fff.bun.js +2 -2
  493. package/dist/filesystem/fff.js +1 -1
  494. package/dist/filesystem/fff.node.js +2 -2
  495. package/dist/filesystem/fff.workerd.js +2 -2
  496. package/dist/filesystem/file-watch.js +89 -89
  497. package/dist/filesystem/location-watcher-policy.js +6 -6
  498. package/dist/filesystem/location-watcher.js +247 -247
  499. package/dist/filesystem/protected.js +1 -1
  500. package/dist/filesystem/search.js +113 -113
  501. package/dist/filesystem/watcher-binding.js +1 -1
  502. package/dist/filesystem/watcher.js +9 -9
  503. package/dist/filesystem.js +118 -118
  504. package/dist/flag.js +129 -129
  505. package/dist/form.js +91 -91
  506. package/dist/formatter/builtins.js +4 -4
  507. package/dist/formatter.js +100 -100
  508. package/dist/generate.js +118 -118
  509. package/dist/git.js +11 -11
  510. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  511. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  512. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  513. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  514. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  515. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  516. package/dist/github-copilot/copilot-provider.js +17 -17
  517. package/dist/github-copilot/models.js +112 -112
  518. package/dist/github-copilot/openai-compatible-error.js +1 -1
  519. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  520. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  521. package/dist/github-copilot/responses/openai-error.js +1 -1
  522. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  523. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  524. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  525. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  526. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  527. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  528. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  529. package/dist/image/notice.js +3 -3
  530. package/dist/image/photon-normalize.js +1 -1
  531. package/dist/image/photon-worker.js +1 -1
  532. package/dist/image/photon.js +4 -4
  533. package/dist/image.js +6 -6
  534. package/dist/instance/service.js +5 -5
  535. package/dist/instance.js +431 -431
  536. package/dist/instruction-discovery.js +93 -93
  537. package/dist/instructions/builtins.js +100 -100
  538. package/dist/instructions/index.js +3 -3
  539. package/dist/integration/connection.js +3 -3
  540. package/dist/integration.js +96 -96
  541. package/dist/job/list.js +5 -5
  542. package/dist/job/recovery.js +2 -2
  543. package/dist/job/sql.js +2 -2
  544. package/dist/job.js +88 -88
  545. package/dist/kv/sql.js +2 -2
  546. package/dist/kv.js +84 -84
  547. package/dist/location-activity.js +183 -183
  548. package/dist/location-lifecycle.js +153 -153
  549. package/dist/location-service-map.js +99 -99
  550. package/dist/location-services.js +428 -428
  551. package/dist/location.js +102 -102
  552. package/dist/managed-policy.js +3 -3
  553. package/dist/mcp/client.js +158 -158
  554. package/dist/mcp/connection.js +104 -104
  555. package/dist/mcp/index.js +126 -126
  556. package/dist/mcp/instructions.js +187 -187
  557. package/dist/mcp/oauth.js +89 -89
  558. package/dist/mcp/pool.js +112 -112
  559. package/dist/mcp/socket-client.js +1 -1
  560. package/dist/mcp/stdio.js +157 -157
  561. package/dist/mime.js +1 -1
  562. package/dist/modal/models.js +112 -112
  563. package/dist/model-resolver.js +108 -108
  564. package/dist/model-retry.js +1 -1
  565. package/dist/model.js +109 -109
  566. package/dist/models-dev/v1.js +1 -1
  567. package/dist/models-dev.js +121 -121
  568. package/dist/oauth/page.js +1 -1
  569. package/dist/permission/saved.js +93 -93
  570. package/dist/permission/sql.js +5 -5
  571. package/dist/permission.js +156 -156
  572. package/dist/persistent-pty/binary.bun.js +1 -1
  573. package/dist/persistent-pty/daemon.js +1 -1
  574. package/dist/persistent-pty/index.js +101 -101
  575. package/dist/persistent-pty/pty-binding.js +1 -1
  576. package/dist/persistent-pty.js +86 -86
  577. package/dist/plugin/agent.js +85 -85
  578. package/dist/plugin/command.js +117 -117
  579. package/dist/plugin/goal.js +3 -3
  580. package/dist/plugin/hooks.js +5 -5
  581. package/dist/plugin/host.js +244 -244
  582. package/dist/plugin/identity.js +5 -5
  583. package/dist/plugin/instance.js +5 -5
  584. package/dist/plugin/internal.js +407 -407
  585. package/dist/plugin/mcp-codemode-defaults.js +1 -1
  586. package/dist/plugin/models-dev.js +110 -110
  587. package/dist/plugin/module.js +127 -127
  588. package/dist/plugin/optimize.js +2 -2
  589. package/dist/plugin/plan.js +147 -147
  590. package/dist/plugin/promise.js +1 -1
  591. package/dist/plugin/provider/amazon-bedrock.js +106 -106
  592. package/dist/plugin/provider/azure.js +131 -131
  593. package/dist/plugin/provider/cerebras.js +1 -1
  594. package/dist/plugin/provider/chatgpt.js +133 -133
  595. package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
  596. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  597. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  598. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  599. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  600. package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
  601. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  602. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  603. package/dist/plugin/provider/claude-agent/claude/status.js +7 -7
  604. package/dist/plugin/provider/claude-agent/index.js +146 -146
  605. package/dist/plugin/provider/claude-agent/instructions.js +112 -112
  606. package/dist/plugin/provider/claude-agent/integration.js +115 -115
  607. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  608. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  609. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  610. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  611. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  612. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  613. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  614. package/dist/plugin/provider/claude-agent/provider.js +108 -108
  615. package/dist/plugin/provider/claude-agent/session.js +112 -112
  616. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  617. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  618. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  619. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  620. package/dist/plugin/provider/claude-agent/sync/record.js +1 -1
  621. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  622. package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
  623. package/dist/plugin/provider/claude-agent/tools/pending.js +1 -1
  624. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  625. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  626. package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
  627. package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
  628. package/dist/plugin/provider/configured.js +126 -126
  629. package/dist/plugin/provider/credential-settings.js +88 -88
  630. package/dist/plugin/provider/databricks.js +1 -1
  631. package/dist/plugin/provider/digitalocean.js +109 -109
  632. package/dist/plugin/provider/dynamic.js +2 -2
  633. package/dist/plugin/provider/github-copilot.js +111 -111
  634. package/dist/plugin/provider/gitlab.js +109 -109
  635. package/dist/plugin/provider/google-vertex.js +127 -127
  636. package/dist/plugin/provider/kilo.js +1 -1
  637. package/dist/plugin/provider/llmgateway.js +89 -89
  638. package/dist/plugin/provider/lmstudio.js +138 -138
  639. package/dist/plugin/provider/local.js +137 -137
  640. package/dist/plugin/provider/modal.js +108 -108
  641. package/dist/plugin/provider/neon.js +1 -1
  642. package/dist/plugin/provider/nvidia.js +1 -1
  643. package/dist/plugin/provider/ollama.js +140 -140
  644. package/dist/plugin/provider/openai-context-caps.js +106 -106
  645. package/dist/plugin/provider/openai.js +133 -133
  646. package/dist/plugin/provider/opencode.js +159 -159
  647. package/dist/plugin/provider/openrouter.js +104 -104
  648. package/dist/plugin/provider/poe.js +90 -90
  649. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  650. package/dist/plugin/provider/refresh.js +87 -87
  651. package/dist/plugin/provider/sap-ai-core.js +104 -104
  652. package/dist/plugin/provider/sdk-factory.js +1 -1
  653. package/dist/plugin/provider/snowflake-cortex.js +131 -131
  654. package/dist/plugin/provider/vllm.js +140 -140
  655. package/dist/plugin/provider/xai.js +104 -104
  656. package/dist/plugin/provider/zenmux.js +1 -1
  657. package/dist/plugin/provider.js +237 -237
  658. package/dist/plugin/sdk.js +85 -85
  659. package/dist/plugin/service.js +3 -3
  660. package/dist/plugin/skill.js +150 -150
  661. package/dist/plugin/source-directory.js +1 -1
  662. package/dist/plugin/supervisor.js +415 -415
  663. package/dist/plugin/tool-input-repair.js +4 -4
  664. package/dist/plugin/update.js +2 -2
  665. package/dist/plugin/vcs/git.js +99 -99
  666. package/dist/plugin/vcs/hg.js +99 -99
  667. package/dist/plugin/verbosity.js +106 -106
  668. package/dist/plugin/warming.js +130 -130
  669. package/dist/plugin/websearch/exa.js +8 -8
  670. package/dist/plugin/websearch/firecrawl.js +9 -9
  671. package/dist/plugin/websearch/index.js +10 -10
  672. package/dist/plugin/websearch/mcp.js +2 -2
  673. package/dist/plugin/websearch/parallel.js +7 -7
  674. package/dist/plugin/websearch/provider.js +1 -1
  675. package/dist/plugin/websearch/tavily.js +7 -7
  676. package/dist/plugin/websearch/tinyfish.js +7 -7
  677. package/dist/plugin.js +251 -251
  678. package/dist/project/icon.js +5 -5
  679. package/dist/project/schema.js +8 -8
  680. package/dist/project/sql.js +4 -4
  681. package/dist/project.js +105 -105
  682. package/dist/provider.js +106 -106
  683. package/dist/pty/protocol.js +1 -1
  684. package/dist/pty/ticket.js +1 -1
  685. package/dist/pty.js +105 -105
  686. package/dist/reference/instructions.js +99 -99
  687. package/dist/reference.js +103 -103
  688. package/dist/repository-cache.js +93 -93
  689. package/dist/repository.js +3 -3
  690. package/dist/ripgrep/binary.js +2 -2
  691. package/dist/ripgrep.js +111 -111
  692. package/dist/rpc.js +99 -99
  693. package/dist/schedule/check.js +249 -249
  694. package/dist/schedule/sql.js +6 -6
  695. package/dist/schedule.js +257 -257
  696. package/dist/schema.js +1 -1
  697. package/dist/session/affinity.js +1 -1
  698. package/dist/session/background.js +1 -1
  699. package/dist/session/blob.js +132 -132
  700. package/dist/session/command.js +85 -85
  701. package/dist/session/compaction.js +173 -173
  702. package/dist/session/context.js +203 -203
  703. package/dist/session/diff.js +101 -101
  704. package/dist/session/environment.js +5 -5
  705. package/dist/session/error.js +5 -5
  706. package/dist/session/event.js +1 -1
  707. package/dist/session/execution/restart.js +249 -249
  708. package/dist/session/execution.js +171 -171
  709. package/dist/session/generate.js +204 -204
  710. package/dist/session/history.js +139 -139
  711. package/dist/session/inbox.js +150 -150
  712. package/dist/session/info.js +3 -3
  713. package/dist/session/instruction-entry.js +88 -88
  714. package/dist/session/instruction-state.js +8 -8
  715. package/dist/session/instructions.js +144 -144
  716. package/dist/session/message-updater.js +2 -2
  717. package/dist/session/message.js +1 -1
  718. package/dist/session/model-request.js +171 -171
  719. package/dist/session/model-transport.js +9 -9
  720. package/dist/session/move.js +167 -167
  721. package/dist/session/projector.js +144 -144
  722. package/dist/session/prompt.js +151 -151
  723. package/dist/session/recent-text.js +1 -1
  724. package/dist/session/revert.js +142 -142
  725. package/dist/session/run-coordinator.js +3 -3
  726. package/dist/session/runner/index.js +3 -3
  727. package/dist/session/runner/llm.js +258 -258
  728. package/dist/session/runner/max-steps.js +1 -1
  729. package/dist/session/runner/model.js +113 -113
  730. package/dist/session/runner/publish-llm-event.js +153 -153
  731. package/dist/session/runner/retry.js +3 -3
  732. package/dist/session/runner/step.js +166 -166
  733. package/dist/session/runner/to-llm-message.js +140 -140
  734. package/dist/session/schema.js +3 -3
  735. package/dist/session/session.js +186 -186
  736. package/dist/session/shell.js +145 -145
  737. package/dist/session/skill.js +150 -150
  738. package/dist/session/sql.js +5 -5
  739. package/dist/session/stats.js +85 -85
  740. package/dist/session/store.js +145 -145
  741. package/dist/session/stored.js +2 -2
  742. package/dist/session/subagent-completion.js +3 -3
  743. package/dist/session/subagent-job.js +233 -233
  744. package/dist/session/system-prompt.js +5 -5
  745. package/dist/session/title.js +209 -209
  746. package/dist/session/to-session-error.js +152 -152
  747. package/dist/session/transfer.js +242 -242
  748. package/dist/session/usage.js +1 -1
  749. package/dist/session.js +235 -235
  750. package/dist/shared-cache.js +5 -5
  751. package/dist/shell/parse.js +6 -6
  752. package/dist/shell/result.js +1 -1
  753. package/dist/shell/scan.js +1 -1
  754. package/dist/shell/select.js +13 -13
  755. package/dist/shell.js +145 -145
  756. package/dist/skill/discovery.js +6 -6
  757. package/dist/skill/instructions.js +154 -154
  758. package/dist/skill.js +159 -159
  759. package/dist/snapshot.js +104 -104
  760. package/dist/state.js +1 -1
  761. package/dist/tool/html-markdown.js +1 -1
  762. package/dist/tool/http-body.js +1 -1
  763. package/dist/tool/mcp.js +184 -184
  764. package/dist/tool/plugin/artifact.js +236 -236
  765. package/dist/tool/plugin/edit.js +170 -170
  766. package/dist/tool/plugin/file-diff.js +1 -1
  767. package/dist/tool/plugin/glob.js +166 -166
  768. package/dist/tool/plugin/grep.js +173 -173
  769. package/dist/tool/plugin/image-generate.js +247 -247
  770. package/dist/tool/plugin/mcp-resource.js +169 -169
  771. package/dist/tool/plugin/opencode.js +166 -166
  772. package/dist/tool/plugin/patch.js +171 -171
  773. package/dist/tool/plugin/question.js +147 -147
  774. package/dist/tool/plugin/read.js +173 -173
  775. package/dist/tool/plugin/schedule.js +255 -255
  776. package/dist/tool/plugin/shell.js +241 -241
  777. package/dist/tool/plugin/skill.js +158 -158
  778. package/dist/tool/plugin/subagent.js +244 -244
  779. package/dist/tool/plugin/todo.js +156 -156
  780. package/dist/tool/plugin/webfetch.js +158 -158
  781. package/dist/tool/plugin/websearch.js +156 -156
  782. package/dist/tool/plugin/write.js +171 -171
  783. package/dist/tool/read-filesystem.js +114 -114
  784. package/dist/tool/runtime.js +1 -1
  785. package/dist/tool/search.js +109 -109
  786. package/dist/tool-output.js +7 -7
  787. package/dist/tool.js +165 -165
  788. package/dist/types/database/migration/20260805200742_import_legacy_credentials.d.ts +1 -1
  789. package/dist/usage-limits.js +100 -100
  790. package/dist/util/error-summary.js +1 -1
  791. package/dist/util/git-executable.js +3 -3
  792. package/dist/util/lazy.js +1 -1
  793. package/dist/util/slug.js +1 -1
  794. package/dist/util/token.js +1 -1
  795. package/dist/util/which.js +1 -1
  796. package/dist/util/wildcard.js +1 -1
  797. package/dist/v1/config/agent.js +7 -7
  798. package/dist/v1/config/command.js +3 -3
  799. package/dist/v1/config/mcp.js +2 -2
  800. package/dist/v1/config/migrate.js +105 -105
  801. package/dist/v1/config/permission.js +3 -3
  802. package/dist/v1/config/plugin.js +3 -3
  803. package/dist/v1/config/provider-options.js +1 -1
  804. package/dist/v1/config/provider.js +4 -4
  805. package/dist/variant.js +104 -104
  806. package/dist/vcs/patch.js +1 -1
  807. package/dist/vcs.js +100 -100
  808. package/dist/voice.js +101 -101
  809. package/dist/websearch.js +91 -91
  810. package/dist/wellknown/plugin.js +87 -87
  811. package/dist/wellknown.js +92 -92
  812. package/dist/workspace/driver.js +5 -5
  813. package/dist/workspace/sql.js +1 -1
  814. package/dist/workspace.js +93 -93
  815. package/dist/worktree/directory.js +2 -2
  816. package/dist/worktree/git.js +11 -11
  817. package/dist/worktree/sql.js +5 -5
  818. package/dist/worktree/strategies.js +102 -102
  819. package/dist/worktree.js +109 -109
  820. package/package.json +8 -8
  821. package/dist/chunks/voice-43s25b9x.js +0 -26
  822. package/dist/chunks/voice-xn7cqzsq.js +0 -16
  823. package/dist/chunks/voice-xqphd06q.js +0 -265
  824. package/dist/chunks/voice-z7bdqmx5.js +0 -18
  825. /package/dist/chunks/{voice-0qkdqm5v.js → event-logger-0qkdqm5v.js} +0 -0
  826. /package/dist/chunks/{voice-0zkw76rk.js → event-logger-0zkw76rk.js} +0 -0
  827. /package/dist/chunks/{voice-108x4f4w.js → event-logger-108x4f4w.js} +0 -0
  828. /package/dist/chunks/{voice-17cy0kzp.js → event-logger-17cy0kzp.js} +0 -0
  829. /package/dist/chunks/{voice-1cnp2v09.js → event-logger-1cnp2v09.js} +0 -0
  830. /package/dist/chunks/{voice-1kah00gy.js → event-logger-1kah00gy.js} +0 -0
  831. /package/dist/chunks/{voice-24dcb14g.js → event-logger-24dcb14g.js} +0 -0
  832. /package/dist/chunks/{voice-2710q6r3.js → event-logger-2710q6r3.js} +0 -0
  833. /package/dist/chunks/{voice-2bv980vf.js → event-logger-2bv980vf.js} +0 -0
  834. /package/dist/chunks/{voice-2c3vjs8z.js → event-logger-2c3vjs8z.js} +0 -0
  835. /package/dist/chunks/{voice-359p4xyc.js → event-logger-359p4xyc.js} +0 -0
  836. /package/dist/chunks/{voice-3af0jn4w.js → event-logger-3af0jn4w.js} +0 -0
  837. /package/dist/chunks/{voice-3asan66x.js → event-logger-3asan66x.js} +0 -0
  838. /package/dist/chunks/{voice-3v8g72cx.js → event-logger-3v8g72cx.js} +0 -0
  839. /package/dist/chunks/{voice-3wcehsnq.js → event-logger-3wcehsnq.js} +0 -0
  840. /package/dist/chunks/{voice-43n2bw4t.js → event-logger-43n2bw4t.js} +0 -0
  841. /package/dist/chunks/{voice-4knz6hnm.js → event-logger-4knz6hnm.js} +0 -0
  842. /package/dist/chunks/{voice-4qk9sjk2.js → event-logger-4qk9sjk2.js} +0 -0
  843. /package/dist/chunks/{voice-4y7fprxs.js → event-logger-4y7fprxs.js} +0 -0
  844. /package/dist/chunks/{voice-53557ph1.js → event-logger-53557ph1.js} +0 -0
  845. /package/dist/chunks/{voice-550bvhaj.js → event-logger-550bvhaj.js} +0 -0
  846. /package/dist/chunks/{voice-5w3e23ze.js → event-logger-5w3e23ze.js} +0 -0
  847. /package/dist/chunks/{voice-6agm2x70.js → event-logger-6agm2x70.js} +0 -0
  848. /package/dist/chunks/{voice-6prwharc.js → event-logger-6prwharc.js} +0 -0
  849. /package/dist/chunks/{voice-6q2bdcd1.js → event-logger-6q2bdcd1.js} +0 -0
  850. /package/dist/chunks/{voice-7akdwqpd.js → event-logger-7akdwqpd.js} +0 -0
  851. /package/dist/chunks/{voice-7m9af43g.js → event-logger-7m9af43g.js} +0 -0
  852. /package/dist/chunks/{voice-822emrt2.js → event-logger-822emrt2.js} +0 -0
  853. /package/dist/chunks/{voice-84wd9syh.js → event-logger-84wd9syh.js} +0 -0
  854. /package/dist/chunks/{voice-88xbtdfr.js → event-logger-88xbtdfr.js} +0 -0
  855. /package/dist/chunks/{voice-8n3pysct.js → event-logger-8n3pysct.js} +0 -0
  856. /package/dist/chunks/{voice-8wj87zfr.js → event-logger-8wj87zfr.js} +0 -0
  857. /package/dist/chunks/{voice-9a4afbnw.js → event-logger-9a4afbnw.js} +0 -0
  858. /package/dist/chunks/{voice-9rqn6x4v.js → event-logger-9rqn6x4v.js} +0 -0
  859. /package/dist/chunks/{voice-af5trqkr.js → event-logger-af5trqkr.js} +0 -0
  860. /package/dist/chunks/{voice-afrmfg78.js → event-logger-afrmfg78.js} +0 -0
  861. /package/dist/chunks/{voice-aqzs7mqg.js → event-logger-aqzs7mqg.js} +0 -0
  862. /package/dist/chunks/{voice-atq7p7m5.js → event-logger-atq7p7m5.js} +0 -0
  863. /package/dist/chunks/{voice-beh6qq61.js → event-logger-beh6qq61.js} +0 -0
  864. /package/dist/chunks/{voice-bhmrqjy3.js → event-logger-bhmrqjy3.js} +0 -0
  865. /package/dist/chunks/{voice-bkyjaxrp.js → event-logger-bkyjaxrp.js} +0 -0
  866. /package/dist/chunks/{voice-bmr6ed5q.js → event-logger-bmr6ed5q.js} +0 -0
  867. /package/dist/chunks/{voice-cf4snx6d.js → event-logger-cf4snx6d.js} +0 -0
  868. /package/dist/chunks/{voice-cqv5kn06.js → event-logger-cqv5kn06.js} +0 -0
  869. /package/dist/chunks/{voice-cvy3z8tj.js → event-logger-cvy3z8tj.js} +0 -0
  870. /package/dist/chunks/{voice-d9fn303g.js → event-logger-d9fn303g.js} +0 -0
  871. /package/dist/chunks/{voice-d9jj8t3e.js → event-logger-d9jj8t3e.js} +0 -0
  872. /package/dist/chunks/{voice-dap0rakb.js → event-logger-dap0rakb.js} +0 -0
  873. /package/dist/chunks/{voice-df08tz66.js → event-logger-df08tz66.js} +0 -0
  874. /package/dist/chunks/{voice-dy18nga0.js → event-logger-dy18nga0.js} +0 -0
  875. /package/dist/chunks/{voice-e5kj55wp.js → event-logger-e5kj55wp.js} +0 -0
  876. /package/dist/chunks/{voice-ean2d8b5.js → event-logger-ean2d8b5.js} +0 -0
  877. /package/dist/chunks/{voice-ec1grn59.js → event-logger-ec1grn59.js} +0 -0
  878. /package/dist/chunks/{voice-emrn6kk6.js → event-logger-emrn6kk6.js} +0 -0
  879. /package/dist/chunks/{voice-f0mxakyp.js → event-logger-f0mxakyp.js} +0 -0
  880. /package/dist/chunks/{voice-f6n9ztr4.js → event-logger-f6n9ztr4.js} +0 -0
  881. /package/dist/chunks/{voice-faypxj3z.js → event-logger-faypxj3z.js} +0 -0
  882. /package/dist/chunks/{voice-fd410y7t.js → event-logger-fd410y7t.js} +0 -0
  883. /package/dist/chunks/{voice-fkpq3x5p.js → event-logger-fkpq3x5p.js} +0 -0
  884. /package/dist/chunks/{voice-g4wezp1m.js → event-logger-g4wezp1m.js} +0 -0
  885. /package/dist/chunks/{voice-g86h250q.js → event-logger-g86h250q.js} +0 -0
  886. /package/dist/chunks/{voice-gebd4c9n.js → event-logger-gebd4c9n.js} +0 -0
  887. /package/dist/chunks/{voice-gftt206x.js → event-logger-gftt206x.js} +0 -0
  888. /package/dist/chunks/{voice-hcxmzztb.js → event-logger-hcxmzztb.js} +0 -0
  889. /package/dist/chunks/{voice-hk9envan.js → event-logger-hk9envan.js} +0 -0
  890. /package/dist/chunks/{voice-j2ntwpah.js → event-logger-j2ntwpah.js} +0 -0
  891. /package/dist/chunks/{voice-j5zkgpj8.js → event-logger-j5zkgpj8.js} +0 -0
  892. /package/dist/chunks/{voice-jjkms2e6.js → event-logger-jjkms2e6.js} +0 -0
  893. /package/dist/chunks/{voice-jr7sbwjy.js → event-logger-jr7sbwjy.js} +0 -0
  894. /package/dist/chunks/{voice-jwfs4k6c.js → event-logger-jwfs4k6c.js} +0 -0
  895. /package/dist/chunks/{voice-jwr30sdr.js → event-logger-jwr30sdr.js} +0 -0
  896. /package/dist/chunks/{voice-jzg6c2d5.js → event-logger-jzg6c2d5.js} +0 -0
  897. /package/dist/chunks/{voice-m18g726c.js → event-logger-m18g726c.js} +0 -0
  898. /package/dist/chunks/{voice-mp448xyj.js → event-logger-mp448xyj.js} +0 -0
  899. /package/dist/chunks/{voice-msx8hqn2.js → event-logger-msx8hqn2.js} +0 -0
  900. /package/dist/chunks/{voice-n05xt0ee.js → event-logger-n05xt0ee.js} +0 -0
  901. /package/dist/chunks/{voice-n3j8tn72.js → event-logger-n3j8tn72.js} +0 -0
  902. /package/dist/chunks/{voice-nh4v3znn.js → event-logger-nh4v3znn.js} +0 -0
  903. /package/dist/chunks/{voice-njntx4h6.js → event-logger-njntx4h6.js} +0 -0
  904. /package/dist/chunks/{voice-p71gwv9c.js → event-logger-p71gwv9c.js} +0 -0
  905. /package/dist/chunks/{voice-q3sfg36h.js → event-logger-q3sfg36h.js} +0 -0
  906. /package/dist/chunks/{voice-q74kybfr.js → event-logger-q74kybfr.js} +0 -0
  907. /package/dist/chunks/{voice-qb87gjwd.js → event-logger-qb87gjwd.js} +0 -0
  908. /package/dist/chunks/{voice-qfa1cgps.js → event-logger-qfa1cgps.js} +0 -0
  909. /package/dist/chunks/{voice-qg3g05ea.js → event-logger-qg3g05ea.js} +0 -0
  910. /package/dist/chunks/{voice-qrg20bc0.js → event-logger-qrg20bc0.js} +0 -0
  911. /package/dist/chunks/{voice-rcb2kzg1.js → event-logger-rcb2kzg1.js} +0 -0
  912. /package/dist/chunks/{voice-sdp7kfr6.js → event-logger-sdp7kfr6.js} +0 -0
  913. /package/dist/chunks/{voice-ssg3fenm.js → event-logger-ssg3fenm.js} +0 -0
  914. /package/dist/chunks/{voice-syrav9an.js → event-logger-syrav9an.js} +0 -0
  915. /package/dist/chunks/{voice-t03h4f5z.js → event-logger-t03h4f5z.js} +0 -0
  916. /package/dist/chunks/{voice-ty7weeps.js → event-logger-ty7weeps.js} +0 -0
  917. /package/dist/chunks/{voice-ve7vex1e.js → event-logger-ve7vex1e.js} +0 -0
  918. /package/dist/chunks/{voice-vtarvj67.js → event-logger-vtarvj67.js} +0 -0
  919. /package/dist/chunks/{voice-w803qqfp.js → event-logger-w803qqfp.js} +0 -0
  920. /package/dist/chunks/{voice-wc3fc9cn.js → event-logger-wc3fc9cn.js} +0 -0
  921. /package/dist/chunks/{voice-wer8tq1h.js → event-logger-wer8tq1h.js} +0 -0
  922. /package/dist/chunks/{voice-wtztk69x.js → event-logger-wtztk69x.js} +0 -0
  923. /package/dist/chunks/{voice-x0ckcb58.js → event-logger-x0ckcb58.js} +0 -0
  924. /package/dist/chunks/{voice-x4th4bpe.js → event-logger-x4th4bpe.js} +0 -0
  925. /package/dist/chunks/{voice-x61499pn.js → event-logger-x61499pn.js} +0 -0
  926. /package/dist/chunks/{voice-y44na4kk.js → event-logger-y44na4kk.js} +0 -0
  927. /package/dist/chunks/{voice-y8f7s663.js → event-logger-y8f7s663.js} +0 -0
  928. /package/dist/chunks/{voice-ygaqb7jw.js → event-logger-ygaqb7jw.js} +0 -0
  929. /package/dist/chunks/{voice-z0h12gs8.js → event-logger-z0h12gs8.js} +0 -0
  930. /package/dist/chunks/{voice-z5v4ffb3.js → event-logger-z5v4ffb3.js} +0 -0
  931. /package/dist/chunks/{voice-z9919s4g.js → event-logger-z9919s4g.js} +0 -0
  932. /package/dist/chunks/{voice-zxpyjp51.js → event-logger-zxpyjp51.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  ephemeral2,
3
3
  Service91,
4
- node94
5
- } from "./voice-pyb42rgw.js";
4
+ node93
5
+ } from "./event-logger-9pvbxgk6.js";
6
6
  import {
7
- Service86,
8
- node89
9
- } from "./voice-z9z2ktkk.js";
7
+ Service76,
8
+ node77
9
+ } from "./event-logger-08ssd54w.js";
10
10
  import {
11
11
  __export
12
- } from "./voice-9rqn6x4v.js";
12
+ } from "./event-logger-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event13,
19
+ Event: () => Event14,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service74,
22
+ Service: () => Service75,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node77,
26
- resolve: () => resolve4
25
+ node: () => node76,
26
+ resolve: () => resolve5
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
29
29
  import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service74 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service75 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event13 = {
51
+ var Event14 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var requestTimeout = "15 seconds";
@@ -57,7 +57,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
57
57
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
58
58
  return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.timeout(requestTimeout), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
59
59
  });
60
- var resolve4 = Effect.fn("WellKnown.resolve")(function* (input) {
60
+ var resolve5 = Effect.fn("WellKnown.resolve")(function* (input) {
61
61
  const manifest = yield* inspect2(input.origin);
62
62
  return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
63
63
  });
@@ -79,9 +79,9 @@ var Sources = Schema.Array(Schema.String);
79
79
  var manifestKey = (origin) => `wellknown:manifest:${origin}`;
80
80
  var configKey = (origin) => `wellknown:config:${origin}`;
81
81
  var Configs = Schema.Array(Config2);
82
- var layer = Layer.effect(Service74, Effect.gen(function* () {
82
+ var layer = Layer.effect(Service75, Effect.gen(function* () {
83
83
  const http = yield* HttpClient.HttpClient;
84
- const kv = yield* Service86;
84
+ const kv = yield* Service76;
85
85
  const bus = yield* Service91;
86
86
  const cache = yield* Ref.make(new Map);
87
87
  const lock = Semaphore.makeUnsafe(1);
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
112
112
  if (!changed)
113
113
  return false;
114
114
  yield* Ref.set(cache, next);
115
- yield* bus.publish(Event13.Updated, {}, { global: true });
115
+ yield* bus.publish(Event14.Updated, {}, { global: true });
116
116
  return true;
117
117
  }, (effect) => lock.withPermit(effect));
118
- return Service74.of({
118
+ return Service75.of({
119
119
  entries: load,
120
120
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
121
121
  refresh,
@@ -127,7 +127,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
127
127
  const origins = yield* readOrigins;
128
128
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
129
129
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
130
- yield* bus.publish(Event13.Updated, {}, { global: true });
130
+ yield* bus.publish(Event14.Updated, {}, { global: true });
131
131
  return entry;
132
132
  }, (effect, _value) => lock.withPermit(effect)),
133
133
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -141,7 +141,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
141
141
  next.delete(origin);
142
142
  return next;
143
143
  });
144
- yield* bus.publish(Event13.Updated, {}, { global: true });
144
+ yield* bus.publish(Event14.Updated, {}, { global: true });
145
145
  }, (effect, _value) => lock.withPermit(effect)),
146
146
  resolve: Effect.fn("WellKnown.resolveEntry")(function* (entry, variables) {
147
147
  const configs = yield* resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http));
@@ -154,6 +154,6 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
154
154
  })
155
155
  });
156
156
  }));
157
- var node77 = makeGlobalNode({ service: Service74, layer, deps: [httpClient, node89, node94] });
157
+ var node76 = makeGlobalNode({ service: Service75, layer, deps: [httpClient, node77, node93] });
158
158
 
159
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service74, Event13, inspect2, resolve4, node77, exports_wellknown };
159
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service75, Event14, inspect2, resolve5, node76, exports_wellknown };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  Service91,
3
- node94
4
- } from "./voice-pyb42rgw.js";
3
+ node93
4
+ } from "./event-logger-9pvbxgk6.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./voice-rb9dy4dg.js";
9
+ } from "./event-logger-rb9dy4dg.js";
10
10
  import {
11
11
  root2
12
- } from "./voice-40qsrmhq.js";
12
+ } from "./event-logger-tpt5wkds.js";
13
13
  import {
14
- Service79,
15
- node82
16
- } from "./voice-r3q1xdvh.js";
14
+ Service88,
15
+ node90
16
+ } from "./event-logger-c8qpxpgs.js";
17
17
  import {
18
18
  reconcile2,
19
19
  create4
20
- } from "./voice-40y6dtc2.js";
20
+ } from "./event-logger-40y6dtc2.js";
21
21
  import {
22
22
  __export
23
- } from "./voice-9rqn6x4v.js";
23
+ } from "./event-logger-9rqn6x4v.js";
24
24
 
25
25
  // src/vcs.ts
26
26
  var exports_vcs = {};
@@ -32,10 +32,10 @@ __export(exports_vcs, {
32
32
  Info: () => Info7,
33
33
  InitializeError: () => InitializeError2,
34
34
  Mode: () => Mode2,
35
- Service: () => Service24,
35
+ Service: () => Service21,
36
36
  Untracked: () => Untracked2,
37
37
  Vcs: () => exports_vcs,
38
- node: () => node27
38
+ node: () => node24
39
39
  });
40
40
  import path from "path";
41
41
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
@@ -55,11 +55,11 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
55
55
  }) {
56
56
  }
57
57
 
58
- class Service24 extends Context.Service()("@opencode/Vcs") {
58
+ class Service21 extends Context.Service()("@opencode/Vcs") {
59
59
  }
60
- var layer = Layer.effect(Service24, Effect.gen(function* () {
60
+ var layer = Layer.effect(Service21, Effect.gen(function* () {
61
61
  const fs = yield* FSUtil.Service;
62
- const location = yield* Service79;
62
+ const location = yield* Service88;
63
63
  const bus = yield* Service91;
64
64
  const root = yield* Effect.scope;
65
65
  const fork = yield* FiberSet.makeRuntime();
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
130
130
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
131
131
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
132
132
  }
133
- return Service24.of({
133
+ return Service21.of({
134
134
  transform: state.transform,
135
135
  reload: state.reload,
136
136
  initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
@@ -189,10 +189,10 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
189
189
  })
190
190
  });
191
191
  }));
192
- var node27 = makeLocationNode({
193
- service: Service24,
192
+ var node24 = makeLocationNode({
193
+ service: Service21,
194
194
  layer,
195
- deps: [FSUtil.node, node82, node94]
195
+ deps: [FSUtil.node, node90, node93]
196
196
  });
197
197
 
198
- export { Base2, BranchList2, FileStatus2, Info7, Mode2, Untracked2, DiffError2, InitializeError2, Service24, node27, exports_vcs };
198
+ export { Base2, BranchList2, FileStatus2, Info7, Mode2, Untracked2, DiffError2, InitializeError2, Service21, node24, exports_vcs };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  Service91,
3
- node94
4
- } from "./voice-pyb42rgw.js";
3
+ node93
4
+ } from "./event-logger-9pvbxgk6.js";
5
5
  import {
6
- Service38,
7
- node41
8
- } from "./voice-7rdtaxa6.js";
6
+ Service35,
7
+ node38
8
+ } from "./event-logger-6jqs5jhs.js";
9
9
  import {
10
10
  isTextual2
11
- } from "./voice-4pyp9zr9.js";
11
+ } from "./event-logger-4pyp9zr9.js";
12
12
  import {
13
13
  invocation2,
14
14
  CorrectedError2,
15
15
  BlockedError2,
16
- Service68,
17
- node70
18
- } from "./voice-8jydy40p.js";
16
+ Service61,
17
+ node62
18
+ } from "./event-logger-v18vpwtw.js";
19
19
  import {
20
20
  normalizedName2,
21
21
  effectiveName2
22
- } from "./voice-z0h12gs8.js";
22
+ } from "./event-logger-z0h12gs8.js";
23
23
  import {
24
- Service57,
25
- node59
26
- } from "./voice-2k6758er.js";
24
+ Service45,
25
+ node48
26
+ } from "./event-logger-xst0krf6.js";
27
27
  import {
28
- Service48,
29
- node51
30
- } from "./voice-ye0egtn0.js";
28
+ Service68,
29
+ node69
30
+ } from "./event-logger-fcfz6v5r.js";
31
31
  import {
32
32
  MEDIA_MIMES2
33
- } from "./voice-2mr1maa0.js";
33
+ } from "./event-logger-2495wgp6.js";
34
34
  import {
35
35
  __export
36
- } from "./voice-9rqn6x4v.js";
36
+ } from "./event-logger-9rqn6x4v.js";
37
37
 
38
38
  // src/tool/mcp.ts
39
39
  var exports_mcp3 = {};
40
40
  __export(exports_mcp3, {
41
41
  McpTool: () => exports_mcp3,
42
- Service: () => Service34,
42
+ Service: () => Service32,
43
43
  layer: () => layer14,
44
44
  name: () => name15,
45
45
  namespace: () => namespace2,
46
- node: () => node37
46
+ node: () => node35
47
47
  });
48
48
  import { ToolFailure } from "@opencode/ai/effect";
49
49
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -54,14 +54,14 @@ var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown
54
54
  var namespace2 = (server) => normalizedName2({ name: server });
55
55
  var name15 = (server, tool) => effectiveName2({ name: tool, options: { namespace: namespace2(server) } });
56
56
 
57
- class Service34 extends Context.Service()("@opencode/McpTool") {
57
+ class Service32 extends Context.Service()("@opencode/McpTool") {
58
58
  }
59
- var layer14 = Layer.effect(Service34, Effect.gen(function* () {
60
- const mcp = yield* Service38;
61
- const tools = yield* Service57;
59
+ var layer14 = Layer.effect(Service32, Effect.gen(function* () {
60
+ const mcp = yield* Service35;
61
+ const tools = yield* Service45;
62
62
  const bus = yield* Service91;
63
- const permission = yield* Service68;
64
- const toolOutput = yield* Service48;
63
+ const permission = yield* Service61;
64
+ const toolOutput = yield* Service68;
65
65
  const lock = Semaphore.makeUnsafe(1);
66
66
  let discovered = [];
67
67
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -133,7 +133,7 @@ var layer14 = Layer.effect(Service34, Effect.gen(function* () {
133
133
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
134
134
  const updates = yield* PubSub.subscribe(changes);
135
135
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
136
- return Service34.of({
136
+ return Service32.of({
137
137
  flush: Effect.gen(function* () {
138
138
  yield* Fiber.await(initial);
139
139
  yield* mcp.awaitStartup();
@@ -161,10 +161,10 @@ ${bytes.toString("utf8")}` };
161
161
  text: `[Binary resource ${label} (${part.mimeType}, ${bytes.byteLength} bytes) saved to ${file}]`
162
162
  };
163
163
  });
164
- var node37 = makeLocationNode({
165
- service: Service34,
164
+ var node35 = makeLocationNode({
165
+ service: Service32,
166
166
  layer: layer14,
167
- deps: [node59, node41, node94, node70, node51]
167
+ deps: [node48, node38, node93, node62, node69]
168
168
  });
169
169
 
170
- export { namespace2, name15, Service34, layer14, node37, exports_mcp3 };
170
+ export { namespace2, name15, Service32, layer14, node35, exports_mcp3 };
@@ -2,39 +2,39 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./voice-z5v4ffb3.js";
5
+ } from "./event-logger-z5v4ffb3.js";
6
6
  import {
7
- Service79,
8
- node82
9
- } from "./voice-r3q1xdvh.js";
7
+ Service88,
8
+ node90
9
+ } from "./event-logger-c8qpxpgs.js";
10
10
  import {
11
- Service55,
12
- node57
13
- } from "./voice-42b88sja.js";
11
+ Service70,
12
+ node71
13
+ } from "./event-logger-3npegsrp.js";
14
14
  import {
15
15
  __export
16
- } from "./voice-9rqn6x4v.js";
16
+ } from "./event-logger-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
20
20
  __export(exports_filesystem, {
21
- Content: () => Content3,
21
+ Content: () => Content4,
22
22
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
23
23
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
24
24
  DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
25
25
  DirectoryNotFoundError: () => DirectoryNotFoundError2,
26
26
  Entry: () => Entry2,
27
- Event: () => Event10,
27
+ Event: () => Event13,
28
28
  FileSystem: () => exports_filesystem,
29
29
  FindInput: () => FindInput2,
30
30
  GlobInput: () => GlobInput2,
31
31
  GrepInput: () => GrepInput2,
32
32
  Match: () => Match2,
33
- NotFoundError: () => NotFoundError8,
34
- Service: () => Service54,
33
+ NotFoundError: () => NotFoundError12,
34
+ Service: () => Service69,
35
35
  Submatch: () => Submatch2,
36
36
  Write: () => Write2,
37
- node: () => node56
37
+ node: () => node70
38
38
  });
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
40
  import path from "path";
@@ -43,7 +43,7 @@ import { FSUtil } from "@opencode/util/fs-util";
43
43
  import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
44
44
  import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
45
45
 
46
- class NotFoundError8 extends Schema.TaggedError()("FileSystem.NotFoundError", {
46
+ class NotFoundError12 extends Schema.TaggedError()("FileSystem.NotFoundError", {
47
47
  path: RelativePath2
48
48
  }) {
49
49
  }
@@ -65,7 +65,7 @@ class DirectoryAccessDeniedError2 extends Schema.TaggedError()("FileSystem.Direc
65
65
  return `Access denied to directory: ${this.directory}`;
66
66
  }
67
67
  }
68
- var Content3 = Schema.Struct({
68
+ var Content4 = Schema.Struct({
69
69
  uri: Schema.String,
70
70
  name: Schema.String.pipe(Schema.optional),
71
71
  content: Schema.String,
@@ -92,14 +92,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
92
92
  limit: Schema.optionalKey(PositiveInt2)
93
93
  }) {
94
94
  }
95
- var Event10 = FileSystem.Event;
95
+ var Event13 = FileSystem.Event;
96
96
 
97
- class Service54 extends Context.Service()("@opencode/FileSystem") {
97
+ class Service69 extends Context.Service()("@opencode/FileSystem") {
98
98
  }
99
- var baseLayer = Layer.effect(Service54, Effect.gen(function* () {
99
+ var baseLayer = Layer.effect(Service69, Effect.gen(function* () {
100
100
  const fs = yield* FSUtil.Service;
101
- const location = yield* Service79;
102
- const search = yield* Service55;
101
+ const location = yield* Service88;
102
+ const search = yield* Service70;
103
103
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
104
104
  if (cause.reason._tag === "NotFound")
105
105
  return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
@@ -109,22 +109,22 @@ var baseLayer = Layer.effect(Service54, Effect.gen(function* () {
109
109
  }));
110
110
  const resolve = Effect.fnUntraced(function* (input) {
111
111
  if (input.includes("\x00"))
112
- return yield* Effect.fail(new NotFoundError8({ path: input }));
112
+ return yield* Effect.fail(new NotFoundError12({ path: input }));
113
113
  const absolute = path.resolve(location.directory, input);
114
114
  if (!FSUtil.contains(location.directory, absolute))
115
- return yield* Effect.fail(new NotFoundError8({ path: input }));
116
- const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError8({ path: input })), (_, error) => Effect.die(error)));
115
+ return yield* Effect.fail(new NotFoundError12({ path: input }));
116
+ const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError12({ path: input })), (_, error) => Effect.die(error)));
117
117
  if (!FSUtil.contains(root, real))
118
- return yield* Effect.fail(new NotFoundError8({ path: input }));
118
+ return yield* Effect.fail(new NotFoundError12({ path: input }));
119
119
  return { absolute, real, directory: location.directory };
120
120
  });
121
- return Service54.of({
121
+ return Service69.of({
122
122
  find: search.find,
123
123
  read: Effect.fn("FileSystem.read")(function* (input) {
124
124
  const target = yield* resolve(input.path);
125
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError8({ path: input.path })), (_, error) => Effect.die(error)));
125
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError12({ path: input.path })), (_, error) => Effect.die(error)));
126
126
  if (info.type !== "File")
127
- return yield* Effect.fail(new NotFoundError8({ path: input.path }));
127
+ return yield* Effect.fail(new NotFoundError12({ path: input.path }));
128
128
  return {
129
129
  mime: FSUtil.mimeType(target.real),
130
130
  size: Number(info.size),
@@ -134,7 +134,7 @@ var baseLayer = Layer.effect(Service54, Effect.gen(function* () {
134
134
  }),
135
135
  list: Effect.fn("FileSystem.list")(function* (input = {}) {
136
136
  const directory = path.resolve(location.directory, input.path ?? ".");
137
- const missing = new NotFoundError8({ path: RelativePath2.make(input.path ?? ".") });
137
+ const missing = new NotFoundError12({ path: RelativePath2.make(input.path ?? ".") });
138
138
  const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
139
139
  if (info.type !== "Directory")
140
140
  return yield* missing;
@@ -159,10 +159,10 @@ var baseLayer = Layer.effect(Service54, Effect.gen(function* () {
159
159
  })
160
160
  });
161
161
  }));
162
- var node56 = makeLocationNode({
163
- service: Service54,
162
+ var node70 = makeLocationNode({
163
+ service: Service69,
164
164
  layer: baseLayer,
165
- deps: [FSUtil.node, node82, node57]
165
+ deps: [FSUtil.node, node90, node71]
166
166
  });
167
167
 
168
- export { FindInput2, Write2, NotFoundError8, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event10, Service54, node56, exports_filesystem, Entry2, Match2, Submatch2 };
168
+ export { FindInput2, Write2, NotFoundError12, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content4, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event13, Service69, node70, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./voice-8cg7mtm3.js";
3
+ } from "./event-logger-4d2dtj2f.js";
4
4
  import {
5
5
  __export
6
- } from "./voice-9rqn6x4v.js";
6
+ } from "./event-logger-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/update.ts
9
9
  var exports_update = {};
@@ -2,24 +2,24 @@ import {
2
2
  ID16,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./voice-0v2w8pbb.js";
5
+ } from "./event-logger-dsjmsk1q.js";
6
6
  import {
7
7
  ID15,
8
8
  VariantID2,
9
9
  Family2,
10
10
  Info22
11
- } from "./voice-bgehp640.js";
11
+ } from "./event-logger-3k36641y.js";
12
12
  import {
13
13
  __export
14
- } from "./voice-9rqn6x4v.js";
14
+ } from "./event-logger-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
- var exports_models = {};
18
- __export(exports_models, {
19
- CopilotModels: () => exports_models,
20
- derive: () => derive2,
21
- get: () => get2,
22
- load: () => load4
17
+ var exports_models2 = {};
18
+ __export(exports_models2, {
19
+ CopilotModels: () => exports_models2,
20
+ derive: () => derive3,
21
+ get: () => get3,
22
+ load: () => load5
23
23
  });
24
24
  import { Money } from "@opencode/schema/money";
25
25
  import { Effect, Option, Schema } from "effect";
@@ -68,17 +68,17 @@ var RemoteModel = Schema.Struct({
68
68
  });
69
69
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
70
70
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
71
- function get2(http, baseURL, headers, existing) {
72
- return load4(http, baseURL, headers).pipe(Effect.map((remote) => derive2(baseURL, remote, existing)));
71
+ function get3(http, baseURL, headers, existing) {
72
+ return load5(http, baseURL, headers).pipe(Effect.map((remote) => derive3(baseURL, remote, existing)));
73
73
  }
74
- var load4 = Effect.fn("CopilotModels.load")(function* (http, baseURL, headers) {
74
+ var load5 = Effect.fn("CopilotModels.load")(function* (http, baseURL, headers) {
75
75
  const response = yield* HttpClient.filterStatusOk(http).execute(HttpClientRequest.get(`${baseURL}/models`).pipe(HttpClientRequest.setHeaders(headers))).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Response)), Effect.timeout("5 seconds"));
76
76
  return new Map(response.data.flatMap((raw) => {
77
77
  const model = Option.getOrUndefined(decodeModel(raw));
78
78
  return model && usable(model) ? [[model.id, model]] : [];
79
79
  }));
80
80
  });
81
- function derive2(baseURL, remote, existing) {
81
+ function derive3(baseURL, remote, existing) {
82
82
  const result = new Map(existing.map((model) => [model.id, model]));
83
83
  for (const [id, model] of result) {
84
84
  const current = remote.get(model.modelID);
@@ -192,4 +192,4 @@ function variants(remote, messages) {
192
192
  ];
193
193
  }
194
194
 
195
- export { get2, load4, derive2, exports_models };
195
+ export { get3, load5, derive3, exports_models2 };
@@ -1,34 +1,34 @@
1
1
  import {
2
- Service73,
3
- node76
4
- } from "./voice-w9kjqb2v.js";
2
+ Service74,
3
+ node75
4
+ } from "./event-logger-g6zph2y9.js";
5
5
  import {
6
- Service79,
7
- node82
8
- } from "./voice-r3q1xdvh.js";
6
+ Service88,
7
+ node90
8
+ } from "./event-logger-c8qpxpgs.js";
9
9
  import {
10
- Service72,
11
- node75
12
- } from "./voice-927m74tw.js";
10
+ Service73,
11
+ node74
12
+ } from "./event-logger-9j3nx499.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./voice-7weczvnd.js";
16
+ } from "./event-logger-7weczvnd.js";
17
17
  import {
18
18
  isDirectorySource2
19
- } from "./voice-tvtps2q9.js";
19
+ } from "./event-logger-tvtps2q9.js";
20
20
  import {
21
21
  __export
22
- } from "./voice-9rqn6x4v.js";
22
+ } from "./event-logger-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/source.ts
25
25
  var exports_source = {};
26
26
  __export(exports_source, {
27
27
  ConfigPluginSource: () => exports_source,
28
- Service: () => Service9,
28
+ Service: () => Service7,
29
29
  empty: () => empty2,
30
- layer: () => layer8,
31
- node: () => node11
30
+ layer: () => layer5,
31
+ node: () => node8
32
32
  });
33
33
  import { FSUtil } from "@opencode/util/fs-util";
34
34
  import { Host } from "@opencode/plugin/host";
@@ -36,13 +36,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
37
37
  import path from "path";
38
38
  import { fileURLToPath, pathToFileURL } from "url";
39
- class Service9 extends Context.Service()("@opencode/ConfigPluginSource") {
39
+ class Service7 extends Context.Service()("@opencode/ConfigPluginSource") {
40
40
  }
41
- var layer8 = Layer.effect(Service9, Effect.gen(function* () {
42
- const config = yield* Service72;
43
- const watcher = yield* Service73;
41
+ var layer5 = Layer.effect(Service7, Effect.gen(function* () {
42
+ const config = yield* Service73;
43
+ const watcher = yield* Service74;
44
44
  const fs = yield* FSUtil.Service;
45
- const location = yield* Service79;
45
+ const location = yield* Service88;
46
46
  const configuredChanges = yield* PubSub.unbounded();
47
47
  const watched = new Set;
48
48
  const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
@@ -61,7 +61,7 @@ var layer8 = Layer.effect(Service9, Effect.gen(function* () {
61
61
  yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
62
62
  }
63
63
  });
64
- return Service9.of({
64
+ return Service7.of({
65
65
  operations: Effect.fn("ConfigPluginSource.operations")(function* () {
66
66
  const entries = yield* config.entries();
67
67
  const operations = yield* scan(fs, location, entries);
@@ -73,14 +73,14 @@ var layer8 = Layer.effect(Service9, Effect.gen(function* () {
73
73
  })), Stream.fromPubSub(configuredChanges))
74
74
  });
75
75
  }));
76
- var node11 = makeLocationNode({
77
- service: Service9,
78
- layer: layer8,
79
- deps: [node75, FSUtil.node, node76, node82]
76
+ var node8 = makeLocationNode({
77
+ service: Service7,
78
+ layer: layer5,
79
+ deps: [node74, FSUtil.node, node75, node90]
80
80
  });
81
81
  var empty2 = makeLocationNode({
82
- service: Service9,
83
- layer: Layer.succeed(Service9, Service9.of({
82
+ service: Service7,
83
+ layer: Layer.succeed(Service7, Service7.of({
84
84
  operations: () => Effect.succeed([]),
85
85
  changes: () => Stream.never
86
86
  })),
@@ -138,4 +138,4 @@ var scan = Effect.fn("ConfigPluginSource.scan")(function* (fs, location, entries
138
138
  })).pipe(Effect.map((operations) => operations.flat()));
139
139
  });
140
140
 
141
- export { Service9, layer8, node11, empty2, exports_source };
141
+ export { Service7, layer5, node8, empty2, exports_source };