@opencode/core 0.0.0-dev-20447 → 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 (798) 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 +94 -94
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{file-mutation-nx97ad9f.js → event-logger-025r9p6c.js} +18 -18
  8. package/dist/chunks/{file-mutation-0j77ygfz.js → event-logger-0j77ygfz.js} +2 -2
  9. package/dist/chunks/{file-mutation-0tq54tbr.js → event-logger-0pa8htj5.js} +18 -18
  10. package/dist/chunks/{file-mutation-0paq2nw3.js → event-logger-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{file-mutation-0vbcp93d.js → event-logger-0vbcp93d.js} +2 -2
  12. package/dist/chunks/{file-mutation-q3gt93a2.js → event-logger-10ke8wy4.js} +4 -4
  13. package/dist/chunks/{file-mutation-c4b2jm8a.js → event-logger-13fywz9t.js} +24 -24
  14. package/dist/chunks/{file-mutation-4t613dbc.js → event-logger-17zj526k.js} +8 -8
  15. package/dist/chunks/{file-mutation-1dazxqgg.js → event-logger-1dazxqgg.js} +2 -2
  16. package/dist/chunks/{file-mutation-1dvck2a7.js → event-logger-1dvck2a7.js} +2 -2
  17. package/dist/chunks/{file-mutation-bg2mdfm2.js → event-logger-1f1banxt.js} +25 -25
  18. package/dist/chunks/{file-mutation-jw2tn658.js → event-logger-1fqq8vqc.js} +31 -31
  19. package/dist/chunks/{file-mutation-yb42xt1h.js → event-logger-1jt7ykkj.js} +24 -24
  20. package/dist/chunks/{file-mutation-nkmhzjn0.js → event-logger-1pek3jt7.js} +5 -5
  21. package/dist/chunks/event-logger-1vsw5z46.js +26 -0
  22. package/dist/chunks/{file-mutation-21r38tys.js → event-logger-21r38tys.js} +1 -1
  23. package/dist/chunks/{file-mutation-nvxqht09.js → event-logger-256nx13v.js} +3 -3
  24. package/dist/chunks/{file-mutation-mtcp9gxf.js → event-logger-27a4zz2s.js} +14 -14
  25. package/dist/chunks/{file-mutation-f2c481pc.js → event-logger-283mwr8r.js} +18 -18
  26. package/dist/chunks/{file-mutation-pnppyfvq.js → event-logger-29eg91y8.js} +18 -18
  27. package/dist/chunks/{file-mutation-2a5m3afh.js → event-logger-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{file-mutation-2ccvkpx1.js → event-logger-2ccvkpx1.js} +2 -2
  29. package/dist/chunks/{file-mutation-2gskh1mm.js → event-logger-2d99pj65.js} +13 -13
  30. package/dist/chunks/{file-mutation-eaateh2a.js → event-logger-2jm1kbky.js} +11 -11
  31. package/dist/chunks/{file-mutation-fcrkznn8.js → event-logger-2k8khapm.js} +5 -5
  32. package/dist/chunks/{file-mutation-2m8jawch.js → event-logger-2m8jawch.js} +4 -4
  33. package/dist/chunks/{file-mutation-tz4n1mmd.js → event-logger-2vs2nh1n.js} +4 -4
  34. package/dist/chunks/{file-mutation-w1ad28wa.js → event-logger-2wts5qzq.js} +5 -5
  35. package/dist/chunks/{file-mutation-ab26tb5m.js → event-logger-2zfnf44s.js} +4 -4
  36. package/dist/chunks/{file-mutation-j8afcsyc.js → event-logger-30krspkn.js} +4 -4
  37. package/dist/chunks/{file-mutation-93pcty3d.js → event-logger-340fk759.js} +11 -11
  38. package/dist/chunks/{file-mutation-srx8aqwq.js → event-logger-376x46en.js} +32 -32
  39. package/dist/chunks/{file-mutation-3fc6dm20.js → event-logger-3fc6dm20.js} +1 -1
  40. package/dist/chunks/{file-mutation-mv8qn0d1.js → event-logger-3h8j5ahx.js} +13 -13
  41. package/dist/chunks/{file-mutation-3hepkmqq.js → event-logger-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{file-mutation-h50deg1f.js → event-logger-3ma1skk1.js} +11 -11
  43. package/dist/chunks/{file-mutation-69ntycvm.js → event-logger-3ma5fxv3.js} +11 -11
  44. package/dist/chunks/{file-mutation-pjm11dy8.js → event-logger-3ny7sck4.js} +11 -11
  45. package/dist/chunks/{file-mutation-fhz5gfgy.js → event-logger-3qaj82j9.js} +5 -5
  46. package/dist/chunks/{file-mutation-3smtnn6g.js → event-logger-3smtnn6g.js} +1 -1
  47. package/dist/chunks/{file-mutation-3tvqynh2.js → event-logger-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{file-mutation-j4rcav1h.js → event-logger-3xbeb0ys.js} +5 -5
  49. package/dist/chunks/{file-mutation-3zsf4n22.js → event-logger-3zsf4n22.js} +1 -1
  50. package/dist/chunks/{file-mutation-4efz7qwp.js → event-logger-432svpan.js} +37 -37
  51. package/dist/chunks/{file-mutation-4vksx2dy.js → event-logger-4608f3zx.js} +35 -35
  52. package/dist/chunks/{file-mutation-3fcjbxc2.js → event-logger-470chn1p.js} +5 -5
  53. package/dist/chunks/{file-mutation-3nqcgnfp.js → event-logger-49vre7sk.js} +41 -41
  54. package/dist/chunks/{file-mutation-cxbpb961.js → event-logger-4f7vnw9z.js} +18 -18
  55. package/dist/chunks/{file-mutation-j5w2yx54.js → event-logger-4mwpykj0.js} +6 -6
  56. package/dist/chunks/{file-mutation-w2kzc4js.js → event-logger-4pwd558p.js} +7 -7
  57. package/dist/chunks/{file-mutation-vr6q59r9.js → event-logger-4qrezbc4.js} +29 -29
  58. package/dist/chunks/{file-mutation-fdxwsxq8.js → event-logger-4qwh2j69.js} +22 -22
  59. package/dist/chunks/{file-mutation-yjhj7111.js → event-logger-4veqx6w1.js} +13 -13
  60. package/dist/chunks/{file-mutation-nmh5hv95.js → event-logger-4wskyzd5.js} +5 -5
  61. package/dist/chunks/{file-mutation-54ma36ye.js → event-logger-54ma36ye.js} +1 -1
  62. package/dist/chunks/{file-mutation-qvmrrkn4.js → event-logger-55xfy5s4.js} +9 -9
  63. package/dist/chunks/{file-mutation-a70kq73z.js → event-logger-594gxkg3.js} +1 -1
  64. package/dist/chunks/{file-mutation-r2m716tb.js → event-logger-5d607bsg.js} +9 -9
  65. package/dist/chunks/{file-mutation-5daktx2q.js → event-logger-5daktx2q.js} +1 -1
  66. package/dist/chunks/{file-mutation-k9yb22rs.js → event-logger-5dkh983c.js} +15 -15
  67. package/dist/chunks/event-logger-5f4ycdnm.js +507 -0
  68. package/dist/chunks/{file-mutation-dw2p03ct.js → event-logger-5fe36zdw.js} +3 -3
  69. package/dist/chunks/{file-mutation-es0mp7kp.js → event-logger-5n25gzb5.js} +4 -4
  70. package/dist/chunks/{file-mutation-5t3nmthw.js → event-logger-5t3nmthw.js} +2 -2
  71. package/dist/chunks/{file-mutation-wgbd6vqr.js → event-logger-5znq9j58.js} +11 -11
  72. package/dist/chunks/{file-mutation-669tq793.js → event-logger-669tq793.js} +1 -1
  73. package/dist/chunks/{file-mutation-q4de835y.js → event-logger-68419g8m.js} +33 -33
  74. package/dist/chunks/{file-mutation-mde00trs.js → event-logger-6q0c4mka.js} +35 -35
  75. package/dist/chunks/{file-mutation-gv52jf4x.js → event-logger-6wc4pc56.js} +19 -19
  76. package/dist/chunks/{file-mutation-ygs5atcy.js → event-logger-712676yn.js} +20 -20
  77. package/dist/chunks/{file-mutation-71az546q.js → event-logger-71az546q.js} +2 -2
  78. package/dist/chunks/{file-mutation-7bmhse3q.js → event-logger-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{file-mutation-9ws1drfh.js → event-logger-7cjh5p1y.js} +8 -8
  80. package/dist/chunks/{file-mutation-zfg8098r.js → event-logger-7v7knrkr.js} +13 -13
  81. package/dist/chunks/{file-mutation-frx098gj.js → event-logger-7x3ym2x5.js} +5 -5
  82. package/dist/chunks/{file-mutation-1tq060df.js → event-logger-7yqjxrmz.js} +4 -4
  83. package/dist/chunks/{file-mutation-8mpnm3sv.js → event-logger-84p84h2c.js} +3 -3
  84. package/dist/chunks/{file-mutation-84txncab.js → event-logger-84txncab.js} +1 -1
  85. package/dist/chunks/{file-mutation-afvrez62.js → event-logger-887y1z54.js} +5 -5
  86. package/dist/chunks/{file-mutation-8d7r5vzw.js → event-logger-8d7r5vzw.js} +1 -1
  87. package/dist/chunks/{file-mutation-1w1mvqv8.js → event-logger-8hezddv1.js} +27 -27
  88. package/dist/chunks/{file-mutation-8qm2jr24.js → event-logger-8s6x3d41.js} +36 -36
  89. package/dist/chunks/{file-mutation-x9r28hpy.js → event-logger-904bg09a.js} +11 -11
  90. package/dist/chunks/{file-mutation-b8de2ks2.js → event-logger-9bxjh02c.js} +46 -46
  91. package/dist/chunks/{file-mutation-p558d1j2.js → event-logger-9e4en3sz.js} +5 -5
  92. package/dist/chunks/{file-mutation-9e5bzkjp.js → event-logger-9e5bzkjp.js} +3 -3
  93. package/dist/chunks/{file-mutation-8nf5g5ke.js → event-logger-9vqrjshk.js} +22 -22
  94. package/dist/chunks/{file-mutation-etg83xpv.js → event-logger-9we07c3h.js} +28 -28
  95. package/dist/chunks/{file-mutation-4fz4aa1m.js → event-logger-9x3j7hff.js} +91 -91
  96. package/dist/chunks/{file-mutation-aaet6srn.js → event-logger-aaet6srn.js} +2 -2
  97. package/dist/chunks/{file-mutation-zsfb27kr.js → event-logger-aakwft81.js} +24 -24
  98. package/dist/chunks/{file-mutation-exgzb2ef.js → event-logger-agkzm0be.js} +9 -9
  99. package/dist/chunks/{file-mutation-cxj5rg6j.js → event-logger-anwj03q3.js} +15 -15
  100. package/dist/chunks/{file-mutation-dq7nnhr6.js → event-logger-ax23vn7r.js} +7 -7
  101. package/dist/chunks/{file-mutation-7z5nhnbg.js → event-logger-b29htdbz.js} +15 -15
  102. package/dist/chunks/{file-mutation-b3f8fkhc.js → event-logger-b3f8fkhc.js} +2 -2
  103. package/dist/chunks/{file-mutation-b4twkq7r.js → event-logger-b4twkq7r.js} +2 -2
  104. package/dist/chunks/{file-mutation-8pxr3grp.js → event-logger-b5beq1ps.js} +15 -15
  105. package/dist/chunks/{file-mutation-b6gygkdw.js → event-logger-b6gygkdw.js} +2 -2
  106. package/dist/chunks/{file-mutation-k8s7jp5m.js → event-logger-b720ka4c.js} +6 -6
  107. package/dist/chunks/{file-mutation-5jjb9dgy.js → event-logger-b77ncnqv.js} +17 -17
  108. package/dist/chunks/{file-mutation-q8ckvk3w.js → event-logger-bcz24cr5.js} +23 -23
  109. package/dist/chunks/{file-mutation-bfnsmjbw.js → event-logger-bfnsmjbw.js} +2 -2
  110. package/dist/chunks/{file-mutation-7cffbw4q.js → event-logger-bfv0d40t.js} +16 -16
  111. package/dist/chunks/{file-mutation-xs0sd5xy.js → event-logger-bkxyw0dr.js} +9 -9
  112. package/dist/chunks/{file-mutation-b9hxxmm4.js → event-logger-bmwt6c32.js} +38 -38
  113. package/dist/chunks/{file-mutation-06g4wx6w.js → event-logger-bt8wzsf1.js} +23 -23
  114. package/dist/chunks/{file-mutation-405tx1tk.js → event-logger-bx4acmk7.js} +12 -12
  115. package/dist/chunks/{file-mutation-3btptz78.js → event-logger-bxcmn2wa.js} +47 -47
  116. package/dist/chunks/{file-mutation-vestgjg2.js → event-logger-by5tvt2z.js} +10 -10
  117. package/dist/chunks/{file-mutation-1pvcwerr.js → event-logger-byv6g4ee.js} +29 -29
  118. package/dist/chunks/{file-mutation-0nrysaxf.js → event-logger-c89vh89k.js} +32 -32
  119. package/dist/chunks/{file-mutation-j3636f00.js → event-logger-cbf5jjb3.js} +23 -23
  120. package/dist/chunks/{file-mutation-h17jjak5.js → event-logger-cdevnsy5.js} +12 -12
  121. package/dist/chunks/{file-mutation-d3tahmry.js → event-logger-cfdmmks0.js} +35 -35
  122. package/dist/chunks/{file-mutation-0v60q3fy.js → event-logger-cr2e17pp.js} +24 -24
  123. package/dist/chunks/{file-mutation-3amr84rd.js → event-logger-cv3we14p.js} +9 -9
  124. package/dist/chunks/{file-mutation-085sjypf.js → event-logger-cz658kn3.js} +17 -17
  125. package/dist/chunks/{file-mutation-jntaw98r.js → event-logger-d2c9eem0.js} +8 -8
  126. package/dist/chunks/{file-mutation-f8knjmwx.js → event-logger-d9vtgrjt.js} +7 -7
  127. package/dist/chunks/{file-mutation-dfe8djrf.js → event-logger-dfe8djrf.js} +1 -1
  128. package/dist/chunks/{file-mutation-dmqcgk4z.js → event-logger-dmqcgk4z.js} +2 -2
  129. package/dist/chunks/{file-mutation-32e2vp4w.js → event-logger-dr12q9z6.js} +22 -22
  130. package/dist/chunks/{file-mutation-zh2r3c6m.js → event-logger-dvdrsg1q.js} +78 -78
  131. package/dist/chunks/{file-mutation-7kan1wr8.js → event-logger-dyhejfhh.js} +3 -3
  132. package/dist/chunks/{file-mutation-txq1wgms.js → event-logger-e0rzh98p.js} +24 -24
  133. package/dist/chunks/{file-mutation-m7xn29b6.js → event-logger-e6cfs5fy.js} +4 -4
  134. package/dist/chunks/{file-mutation-a1r0v0hv.js → event-logger-e6j7p34d.js} +26 -26
  135. package/dist/chunks/{file-mutation-p5c89f54.js → event-logger-e8cja42p.js} +6 -6
  136. package/dist/chunks/{file-mutation-v5ganw7f.js → event-logger-ebsr21av.js} +18 -18
  137. package/dist/chunks/{file-mutation-ef5x83kb.js → event-logger-ef5x83kb.js} +1 -1
  138. package/dist/chunks/{file-mutation-etq0c3wd.js → event-logger-etq0c3wd.js} +1 -1
  139. package/dist/chunks/{file-mutation-30c7dxhs.js → event-logger-ex7a17jg.js} +7 -7
  140. package/dist/chunks/{file-mutation-02mpmyt3.js → event-logger-ezjrjzyq.js} +10 -10
  141. package/dist/chunks/{file-mutation-hbr9pfg0.js → event-logger-fcc8k9h4.js} +19 -19
  142. package/dist/chunks/{file-mutation-1q5awywt.js → event-logger-fepbnb8j.js} +5 -5
  143. package/dist/chunks/{file-mutation-2gsmrbz9.js → event-logger-fepsx33q.js} +24 -24
  144. package/dist/chunks/{file-mutation-ssx3rgd2.js → event-logger-fngg5dts.js} +32 -32
  145. package/dist/chunks/{file-mutation-faxrmdye.js → event-logger-fzaeg2ds.js} +12 -12
  146. package/dist/chunks/{file-mutation-qsfy776b.js → event-logger-g14hjekp.js} +172 -172
  147. package/dist/chunks/{file-mutation-7mmecq5g.js → event-logger-g54wh2k8.js} +66 -66
  148. package/dist/chunks/{file-mutation-g5w8qwbj.js → event-logger-g5w8qwbj.js} +1 -1
  149. package/dist/chunks/{file-mutation-gd4qta3r.js → event-logger-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{file-mutation-fw9nps2q.js → event-logger-gdresbk1.js} +41 -41
  151. package/dist/chunks/{file-mutation-4vsx94mh.js → event-logger-gepsrshe.js} +19 -19
  152. package/dist/chunks/{file-mutation-kvdhyq3q.js → event-logger-gg6v90bt.js} +3 -3
  153. package/dist/chunks/{file-mutation-hs94awhq.js → event-logger-gksp05c7.js} +44 -44
  154. package/dist/chunks/{file-mutation-1y159n3z.js → event-logger-gm0fw0ea.js} +25 -25
  155. package/dist/chunks/{file-mutation-gddej1j8.js → event-logger-gwkgtfjp.js} +9 -9
  156. package/dist/chunks/{file-mutation-gzbkpp9m.js → event-logger-gzbkpp9m.js} +1 -1
  157. package/dist/chunks/{file-mutation-8mrd4kgm.js → event-logger-h0nrh5g5.js} +16 -16
  158. package/dist/chunks/{file-mutation-mmegcj2n.js → event-logger-h0y6gyg6.js} +5 -5
  159. package/dist/chunks/{file-mutation-h2b79v29.js → event-logger-h2b79v29.js} +2 -2
  160. package/dist/chunks/{file-mutation-xy26ekgv.js → event-logger-h6sem7h5.js} +12 -12
  161. package/dist/chunks/{file-mutation-h6vf3j39.js → event-logger-h6vf3j39.js} +1 -1
  162. package/dist/chunks/{file-mutation-j5rxtxht.js → event-logger-h90v2x9d.js} +4 -4
  163. package/dist/chunks/{file-mutation-35ja2k0w.js → event-logger-h9phamz0.js} +2 -2
  164. package/dist/chunks/{file-mutation-5dkn69vz.js → event-logger-h9wp8z5w.js} +4 -4
  165. package/dist/chunks/{file-mutation-5sek2qac.js → event-logger-hamg8kx8.js} +27 -27
  166. package/dist/chunks/{file-mutation-abfvgvhb.js → event-logger-hd0dv02w.js} +19 -19
  167. package/dist/chunks/{file-mutation-r44petzp.js → event-logger-hh2y2jgt.js} +12 -12
  168. package/dist/chunks/{file-mutation-z2w5m8mv.js → event-logger-hk5c0ytp.js} +22 -22
  169. package/dist/chunks/{file-mutation-2yj7y96g.js → event-logger-hpxe7m2y.js} +6 -6
  170. package/dist/chunks/{file-mutation-f471j0ph.js → event-logger-ht5v7459.js} +24 -24
  171. package/dist/chunks/{file-mutation-j56e64zr.js → event-logger-j56e64zr.js} +1 -1
  172. package/dist/chunks/{file-mutation-qchbb8jr.js → event-logger-j6q81gkc.js} +13 -13
  173. package/dist/chunks/{file-mutation-hnjhetmx.js → event-logger-jk1cfv3m.js} +6 -6
  174. package/dist/chunks/{file-mutation-f4teqsxm.js → event-logger-k2vtjz35.js} +36 -36
  175. package/dist/chunks/{file-mutation-k3c624dm.js → event-logger-k3c624dm.js} +3 -3
  176. package/dist/chunks/{file-mutation-en9mxp96.js → event-logger-k70p9jzb.js} +9 -9
  177. package/dist/chunks/{file-mutation-hb8c03b1.js → event-logger-k8gwj0p0.js} +11 -11
  178. package/dist/chunks/{file-mutation-d8pxmj6e.js → event-logger-k9jsxftv.js} +32 -32
  179. package/dist/chunks/{file-mutation-qjv8x3xg.js → event-logger-kbf65jmx.js} +26 -26
  180. package/dist/chunks/{file-mutation-5bc6zw84.js → event-logger-kbkddehn.js} +28 -28
  181. package/dist/chunks/{file-mutation-53km52nr.js → event-logger-kk2qnnr0.js} +9 -9
  182. package/dist/chunks/{file-mutation-11dqjexa.js → event-logger-kp8q1t60.js} +9 -9
  183. package/dist/chunks/{file-mutation-x4fwfb4w.js → event-logger-m1q4m0kb.js} +12 -12
  184. package/dist/chunks/{file-mutation-vcxjdkvk.js → event-logger-m2n93apa.js} +7 -7
  185. package/dist/chunks/{file-mutation-m3fdjcah.js → event-logger-m3fdjcah.js} +1 -1
  186. package/dist/chunks/{file-mutation-m69d1h5c.js → event-logger-m69d1h5c.js} +3 -3
  187. package/dist/chunks/{file-mutation-gh2amhk9.js → event-logger-m6fea7hh.js} +10 -10
  188. package/dist/chunks/{file-mutation-m9w0rfyh.js → event-logger-m9w0rfyh.js} +1 -1
  189. package/dist/chunks/{file-mutation-mazbtkaa.js → event-logger-mazbtkaa.js} +2 -2
  190. package/dist/chunks/{file-mutation-1ygqh575.js → event-logger-mfqp6xfm.js} +6 -6
  191. package/dist/chunks/{file-mutation-794rba6m.js → event-logger-mg9eprjx.js} +8 -8
  192. package/dist/chunks/{file-mutation-g1m3h83e.js → event-logger-mkgkpagd.js} +23 -23
  193. package/dist/chunks/{file-mutation-dnxkq42g.js → event-logger-mpk0rfs5.js} +4 -4
  194. package/dist/chunks/{file-mutation-eq1pz5kg.js → event-logger-mvfsc1pv.js} +3 -3
  195. package/dist/chunks/{file-mutation-dvz3zpm9.js → event-logger-n8vdnqrc.js} +5 -5
  196. package/dist/chunks/{file-mutation-y7qwnmy1.js → event-logger-p1ykeed4.js} +11 -11
  197. package/dist/chunks/{file-mutation-p37cw4rj.js → event-logger-p37cw4rj.js} +1 -1
  198. package/dist/chunks/{file-mutation-bs25rvjd.js → event-logger-p7tapf4a.js} +58 -58
  199. package/dist/chunks/{file-mutation-4afe6db8.js → event-logger-pchm5dd6.js} +22 -22
  200. package/dist/chunks/{file-mutation-0ynzvma6.js → event-logger-pd72zq69.js} +48 -48
  201. package/dist/chunks/{file-mutation-7kpmht8a.js → event-logger-pdzqywty.js} +44 -44
  202. package/dist/chunks/{file-mutation-pjvnvgmy.js → event-logger-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{file-mutation-pknna89w.js → event-logger-pknna89w.js} +1 -1
  204. package/dist/chunks/{file-mutation-kwq42dss.js → event-logger-pm4gwtf6.js} +12 -12
  205. package/dist/chunks/{file-mutation-pn3cc07s.js → event-logger-pnaxc6j9.js} +8 -8
  206. package/dist/chunks/{file-mutation-fj4szt4h.js → event-logger-prdz64n1.js} +2 -2
  207. package/dist/chunks/{file-mutation-ah7gyhk7.js → event-logger-ps49tzpg.js} +16 -16
  208. package/dist/chunks/{file-mutation-r4ra9f67.js → event-logger-ps97516x.js} +19 -19
  209. package/dist/chunks/{file-mutation-5ymnsk7v.js → event-logger-q9p7zpd5.js} +33 -33
  210. package/dist/chunks/{file-mutation-crerbey2.js → event-logger-qh22g8nh.js} +13 -13
  211. package/dist/chunks/{file-mutation-qnc92qwc.js → event-logger-qnc92qwc.js} +1 -1
  212. package/dist/chunks/{file-mutation-e2sbw8kj.js → event-logger-qrn3harz.js} +3 -3
  213. package/dist/chunks/{file-mutation-qsdy395h.js → event-logger-qsdy395h.js} +1 -1
  214. package/dist/chunks/{file-mutation-rjd8b1f0.js → event-logger-qsjw007r.js} +10 -10
  215. package/dist/chunks/{file-mutation-s6qqwf79.js → event-logger-qv6rw298.js} +29 -29
  216. package/dist/chunks/{file-mutation-6p76pz0z.js → event-logger-qvq09nk1.js} +3 -3
  217. package/dist/chunks/{file-mutation-ck0ahkdp.js → event-logger-r01t9b5y.js} +6 -6
  218. package/dist/chunks/{file-mutation-efefhkab.js → event-logger-r0cb0ck6.js} +10 -10
  219. package/dist/chunks/{file-mutation-1acjjqhc.js → event-logger-r8xr0va3.js} +4 -4
  220. package/dist/chunks/{file-mutation-d3etny0e.js → event-logger-rd108yne.js} +18 -18
  221. package/dist/chunks/{file-mutation-rdw6cm16.js → event-logger-rdw6cm16.js} +1 -1
  222. package/dist/chunks/{file-mutation-qzx0ab9v.js → event-logger-rjdsec5h.js} +5 -5
  223. package/dist/chunks/{file-mutation-hqkfa61k.js → event-logger-rpchwtds.js} +35 -35
  224. package/dist/chunks/{file-mutation-7wxzh9zb.js → event-logger-rs3qhzzg.js} +35 -35
  225. package/dist/chunks/{file-mutation-eer3hyzn.js → event-logger-rtkh151k.js} +6 -6
  226. package/dist/chunks/{file-mutation-jmqs9vhh.js → event-logger-rtx9gtyv.js} +3 -3
  227. package/dist/chunks/{file-mutation-ttb5pqry.js → event-logger-s3atc1v9.js} +1 -1
  228. package/dist/chunks/{file-mutation-6z0j0ya3.js → event-logger-s4mtyj9y.js} +15 -15
  229. package/dist/chunks/{file-mutation-91kxkj6b.js → event-logger-scnp1dpp.js} +5 -5
  230. package/dist/chunks/{file-mutation-vc1fft1y.js → event-logger-sdx9bhzb.js} +23 -23
  231. package/dist/chunks/{file-mutation-7ja2kgyj.js → event-logger-shqntgwy.js} +30 -30
  232. package/dist/chunks/{file-mutation-zqjw1a65.js → event-logger-spw1z2q7.js} +26 -26
  233. package/dist/chunks/{file-mutation-6s3vd56s.js → event-logger-sqxnm49h.js} +11 -11
  234. package/dist/chunks/{file-mutation-60we6e45.js → event-logger-sy89kq56.js} +8 -8
  235. package/dist/chunks/{file-mutation-0d4sk4n7.js → event-logger-sz0w735c.js} +4 -4
  236. package/dist/chunks/{file-mutation-t550f9t1.js → event-logger-t550f9t1.js} +1 -1
  237. package/dist/chunks/{file-mutation-tazgh4e4.js → event-logger-tazgh4e4.js} +1 -1
  238. package/dist/chunks/{file-mutation-tcezcvh9.js → event-logger-tcezcvh9.js} +1 -1
  239. package/dist/chunks/{file-mutation-tdstcens.js → event-logger-tdstcens.js} +1 -1
  240. package/dist/chunks/{file-mutation-0vy6ky8v.js → event-logger-tng282jn.js} +8 -8
  241. package/dist/chunks/{file-mutation-h2nds8g1.js → event-logger-tv2mrqm9.js} +13 -13
  242. package/dist/chunks/{file-mutation-tvtrv512.js → event-logger-tvtrv512.js} +1 -1
  243. package/dist/chunks/{file-mutation-z6cfb29r.js → event-logger-tw51v10a.js} +16 -16
  244. package/dist/chunks/{file-mutation-3v5tjer0.js → event-logger-tzehptey.js} +9 -9
  245. package/dist/chunks/event-logger-v1faaxn9.js +18 -0
  246. package/dist/chunks/{file-mutation-yj11y499.js → event-logger-v3t7ccjd.js} +41 -41
  247. package/dist/chunks/{file-mutation-j29a7fks.js → event-logger-vazhwx36.js} +5 -5
  248. package/dist/chunks/{file-mutation-veqvce7d.js → event-logger-veqvce7d.js} +1 -1
  249. package/dist/chunks/{file-mutation-5zv360p8.js → event-logger-vp0z89e3.js} +17 -17
  250. package/dist/chunks/{file-mutation-smcmy5n9.js → event-logger-vq5c9x4q.js} +19 -19
  251. package/dist/chunks/{file-mutation-vzcthcp8.js → event-logger-vzcthcp8.js} +1 -1
  252. package/dist/chunks/{file-mutation-jbjey0e3.js → event-logger-vzmgbyx1.js} +8 -8
  253. package/dist/chunks/{file-mutation-vzs5sf6e.js → event-logger-vzs5sf6e.js} +1 -1
  254. package/dist/chunks/{file-mutation-w3wsvvr9.js → event-logger-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{file-mutation-m1hwfr34.js → event-logger-w7xxgrkj.js} +17 -17
  256. package/dist/chunks/{file-mutation-b8z0wsc0.js → event-logger-w8srcnpp.js} +8 -8
  257. package/dist/chunks/{file-mutation-a3c7ahw6.js → event-logger-wa9g86nq.js} +4 -4
  258. package/dist/chunks/{file-mutation-wd87259q.js → event-logger-wd87259q.js} +1 -1
  259. package/dist/chunks/{file-mutation-nmv5v3dc.js → event-logger-wm2754ph.js} +27 -27
  260. package/dist/chunks/{file-mutation-7rrbrwx8.js → event-logger-wpwd7k51.js} +9 -9
  261. package/dist/chunks/{file-mutation-mpyws8re.js → event-logger-wwfsgjp3.js} +6 -6
  262. package/dist/chunks/{file-mutation-x1ezjp6w.js → event-logger-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{file-mutation-c1c4mmyf.js → event-logger-xa4xh9eb.js} +14 -14
  264. package/dist/chunks/{file-mutation-a46v4e4v.js → event-logger-xb02k0wq.js} +4 -4
  265. package/dist/chunks/{file-mutation-df30mp1e.js → event-logger-xbxcg6gj.js} +22 -22
  266. package/dist/chunks/{file-mutation-3kcqw2gn.js → event-logger-xcec66r5.js} +54 -54
  267. package/dist/chunks/{file-mutation-axmvebxj.js → event-logger-xdk9p2qn.js} +4 -4
  268. package/dist/chunks/{file-mutation-xge32yc5.js → event-logger-xe40c49s.js} +37 -37
  269. package/dist/chunks/{file-mutation-cddhvfrj.js → event-logger-xfwsg613.js} +15 -15
  270. package/dist/chunks/{file-mutation-9abq96ts.js → event-logger-xh9ky465.js} +13 -13
  271. package/dist/chunks/{file-mutation-yckxb0kb.js → event-logger-xr2kbdek.js} +9 -9
  272. package/dist/chunks/{file-mutation-27dfp4c1.js → event-logger-xtqeprzx.js} +16 -16
  273. package/dist/chunks/{file-mutation-30p2g8gp.js → event-logger-xyw3p85n.js} +26 -26
  274. package/dist/chunks/{file-mutation-y1fvbwt7.js → event-logger-y1fvbwt7.js} +1 -1
  275. package/dist/chunks/{file-mutation-b6syrwy2.js → event-logger-y1qqcj8h.js} +8 -8
  276. package/dist/chunks/{file-mutation-19xqmxzb.js → event-logger-y40kyw7n.js} +31 -31
  277. package/dist/chunks/{file-mutation-dpkg50ah.js → event-logger-y71avatq.js} +4 -4
  278. package/dist/chunks/{file-mutation-123f91sp.js → event-logger-yb0nnf5a.js} +3 -3
  279. package/dist/chunks/{file-mutation-yrhqyw5v.js → event-logger-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{file-mutation-350d91h4.js → event-logger-yt79nyat.js} +9 -9
  281. package/dist/chunks/{file-mutation-dfb5xyy8.js → event-logger-yyq5wwvp.js} +35 -35
  282. package/dist/chunks/{file-mutation-z0bkrqjs.js → event-logger-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/event-logger-z2cwt4s7.js +252 -0
  284. package/dist/chunks/{file-mutation-3wnc7ezj.js → event-logger-z82rkb9m.js} +3 -3
  285. package/dist/chunks/{file-mutation-j8cgstsh.js → event-logger-z8rfaqzv.js} +31 -31
  286. package/dist/chunks/{file-mutation-971jmbxj.js → event-logger-zcayt5jj.js} +36 -36
  287. package/dist/chunks/{file-mutation-0a17sqc3.js → event-logger-zfv7fwfa.js} +32 -32
  288. package/dist/chunks/{file-mutation-h5w29vws.js → event-logger-znsx74x0.js} +1 -1
  289. package/dist/chunks/{file-mutation-zr2ceqn5.js → event-logger-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{file-mutation-ge03txwd.js → event-logger-zwq83wym.js} +19 -19
  291. package/dist/chunks/{file-mutation-zxq2ej10.js → event-logger-zxq2ej10.js} +1 -1
  292. package/dist/chunks/{file-mutation-3mrv89nd.js → event-logger-zypmz1pm.js} +8 -8
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +3 -3
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +83 -83
  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 +125 -125
  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 +126 -126
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +83 -83
  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 +228 -228
  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 +11 -11
  430. package/dist/filesystem.js +104 -104
  431. package/dist/form.js +80 -80
  432. package/dist/formatter/builtins.js +4 -4
  433. package/dist/formatter.js +87 -87
  434. package/dist/generate.js +105 -105
  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 +99 -99
  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 +1 -1
  463. package/dist/integration/connection.js +3 -3
  464. package/dist/integration.js +87 -87
  465. package/dist/job.js +79 -79
  466. package/dist/kv/sql.js +2 -2
  467. package/dist/kv.js +69 -69
  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 +109 -109
  476. package/dist/mcp/instructions.js +125 -125
  477. package/dist/mcp/oauth.js +78 -78
  478. package/dist/mcp/stdio.js +90 -90
  479. package/dist/mime.js +1 -1
  480. package/dist/modal/models.js +99 -99
  481. package/dist/model-resolver.js +98 -98
  482. package/dist/model.js +100 -100
  483. package/dist/models-dev.js +101 -101
  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 +88 -88
  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 +1 -1
  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 +5 -5
  503. package/dist/plugin/optimize.js +2 -2
  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 +93 -93
  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 +76 -76
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +141 -141
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +352 -352
  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 +5 -5
  554. package/dist/plugin/websearch/firecrawl.js +8 -8
  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 +6 -6
  558. package/dist/plugin/websearch/tavily.js +6 -6
  559. package/dist/plugin/websearch/tinyfish.js +8 -8
  560. package/dist/plugin.js +226 -226
  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 +99 -99
  565. package/dist/pty/protocol.js +1 -1
  566. package/dist/pty/ticket.js +1 -1
  567. package/dist/pty.js +97 -97
  568. package/dist/reference/instructions.js +85 -85
  569. package/dist/reference.js +89 -89
  570. package/dist/repository-cache.js +81 -81
  571. package/dist/repository.js +1 -1
  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 +133 -133
  579. package/dist/session/context.js +151 -151
  580. package/dist/session/diff.js +88 -88
  581. package/dist/session/environment.js +5 -5
  582. package/dist/session/error.js +5 -5
  583. package/dist/session/event.js +1 -1
  584. package/dist/session/execution/restart.js +224 -224
  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 +88 -88
  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 +2 -2
  594. package/dist/session/message.js +1 -1
  595. package/dist/session/model-request.js +120 -120
  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 +2 -2
  609. package/dist/session/runner/step.js +124 -124
  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 +170 -170
  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 +85 -85
  618. package/dist/session/subagent-completion.js +1 -1
  619. package/dist/session/subagent-job.js +209 -209
  620. package/dist/session/system-prompt.js +1 -1
  621. package/dist/session/title.js +155 -155
  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 +221 -221
  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 +13 -13
  630. package/dist/shell.js +138 -138
  631. package/dist/skill/discovery.js +6 -6
  632. package/dist/skill/instructions.js +105 -105
  633. package/dist/skill.js +108 -108
  634. package/dist/snapshot.js +91 -91
  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 +126 -126
  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 +124 -124
  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 +109 -109
  650. package/dist/tool/plugin/subagent.js +216 -216
  651. package/dist/tool/plugin/webfetch.js +110 -110
  652. package/dist/tool/plugin/websearch.js +112 -112
  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 +2 -2
  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 +1 -1
  673. package/dist/v1/config/layout.js +1 -1
  674. package/dist/v1/config/lsp.js +3 -3
  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 +1 -1
  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 +80 -80
  692. package/dist/worktree/directory.js +2 -2
  693. package/dist/worktree/git.js +8 -8
  694. package/dist/worktree/sql.js +5 -5
  695. package/dist/worktree/strategies.js +89 -89
  696. package/dist/worktree.js +94 -94
  697. package/package.json +8 -8
  698. package/dist/chunks/file-mutation-06tx6k5j.js +0 -252
  699. package/dist/chunks/file-mutation-45th5jwr.js +0 -18
  700. package/dist/chunks/file-mutation-jvksfb2n.js +0 -507
  701. package/dist/chunks/file-mutation-k2aq9crv.js +0 -26
  702. /package/dist/chunks/{file-mutation-0qkdqm5v.js → event-logger-0qkdqm5v.js} +0 -0
  703. /package/dist/chunks/{file-mutation-0zkw76rk.js → event-logger-0zkw76rk.js} +0 -0
  704. /package/dist/chunks/{file-mutation-17cy0kzp.js → event-logger-17cy0kzp.js} +0 -0
  705. /package/dist/chunks/{file-mutation-1cnp2v09.js → event-logger-1cnp2v09.js} +0 -0
  706. /package/dist/chunks/{file-mutation-1kg9ymc8.js → event-logger-1kg9ymc8.js} +0 -0
  707. /package/dist/chunks/{file-mutation-24dcb14g.js → event-logger-24dcb14g.js} +0 -0
  708. /package/dist/chunks/{file-mutation-2710q6r3.js → event-logger-2710q6r3.js} +0 -0
  709. /package/dist/chunks/{file-mutation-2axfhc9x.js → event-logger-2axfhc9x.js} +0 -0
  710. /package/dist/chunks/{file-mutation-2c3vjs8z.js → event-logger-2c3vjs8z.js} +0 -0
  711. /package/dist/chunks/{file-mutation-34c7v6d4.js → event-logger-34c7v6d4.js} +0 -0
  712. /package/dist/chunks/{file-mutation-359p4xyc.js → event-logger-359p4xyc.js} +0 -0
  713. /package/dist/chunks/{file-mutation-3asan66x.js → event-logger-3asan66x.js} +0 -0
  714. /package/dist/chunks/{file-mutation-3v8g72cx.js → event-logger-3v8g72cx.js} +0 -0
  715. /package/dist/chunks/{file-mutation-3w5fmr99.js → event-logger-3w5fmr99.js} +0 -0
  716. /package/dist/chunks/{file-mutation-3wcehsnq.js → event-logger-3wcehsnq.js} +0 -0
  717. /package/dist/chunks/{file-mutation-43n2bw4t.js → event-logger-43n2bw4t.js} +0 -0
  718. /package/dist/chunks/{file-mutation-4knz6hnm.js → event-logger-4knz6hnm.js} +0 -0
  719. /package/dist/chunks/{file-mutation-4vcrnpx2.js → event-logger-4vcrnpx2.js} +0 -0
  720. /package/dist/chunks/{file-mutation-4y7fprxs.js → event-logger-4y7fprxs.js} +0 -0
  721. /package/dist/chunks/{file-mutation-53557ph1.js → event-logger-53557ph1.js} +0 -0
  722. /package/dist/chunks/{file-mutation-550bvhaj.js → event-logger-550bvhaj.js} +0 -0
  723. /package/dist/chunks/{file-mutation-6prwharc.js → event-logger-6prwharc.js} +0 -0
  724. /package/dist/chunks/{file-mutation-7akdwqpd.js → event-logger-7akdwqpd.js} +0 -0
  725. /package/dist/chunks/{file-mutation-7m9af43g.js → event-logger-7m9af43g.js} +0 -0
  726. /package/dist/chunks/{file-mutation-822emrt2.js → event-logger-822emrt2.js} +0 -0
  727. /package/dist/chunks/{file-mutation-88xbtdfr.js → event-logger-88xbtdfr.js} +0 -0
  728. /package/dist/chunks/{file-mutation-8n3pysct.js → event-logger-8n3pysct.js} +0 -0
  729. /package/dist/chunks/{file-mutation-8wj87zfr.js → event-logger-8wj87zfr.js} +0 -0
  730. /package/dist/chunks/{file-mutation-9a4afbnw.js → event-logger-9a4afbnw.js} +0 -0
  731. /package/dist/chunks/{file-mutation-9rqn6x4v.js → event-logger-9rqn6x4v.js} +0 -0
  732. /package/dist/chunks/{file-mutation-a6k6eb26.js → event-logger-a6k6eb26.js} +0 -0
  733. /package/dist/chunks/{file-mutation-af5trqkr.js → event-logger-af5trqkr.js} +0 -0
  734. /package/dist/chunks/{file-mutation-afrmfg78.js → event-logger-afrmfg78.js} +0 -0
  735. /package/dist/chunks/{file-mutation-aqzs7mqg.js → event-logger-aqzs7mqg.js} +0 -0
  736. /package/dist/chunks/{file-mutation-atq7p7m5.js → event-logger-atq7p7m5.js} +0 -0
  737. /package/dist/chunks/{file-mutation-bkyjaxrp.js → event-logger-bkyjaxrp.js} +0 -0
  738. /package/dist/chunks/{file-mutation-bmr6ed5q.js → event-logger-bmr6ed5q.js} +0 -0
  739. /package/dist/chunks/{file-mutation-cf4snx6d.js → event-logger-cf4snx6d.js} +0 -0
  740. /package/dist/chunks/{file-mutation-cvy3z8tj.js → event-logger-cvy3z8tj.js} +0 -0
  741. /package/dist/chunks/{file-mutation-d9fn303g.js → event-logger-d9fn303g.js} +0 -0
  742. /package/dist/chunks/{file-mutation-d9jj8t3e.js → event-logger-d9jj8t3e.js} +0 -0
  743. /package/dist/chunks/{file-mutation-dajrwvna.js → event-logger-dajrwvna.js} +0 -0
  744. /package/dist/chunks/{file-mutation-dap0rakb.js → event-logger-dap0rakb.js} +0 -0
  745. /package/dist/chunks/{file-mutation-df08tz66.js → event-logger-df08tz66.js} +0 -0
  746. /package/dist/chunks/{file-mutation-dy18nga0.js → event-logger-dy18nga0.js} +0 -0
  747. /package/dist/chunks/{file-mutation-e3qxr5gk.js → event-logger-e3qxr5gk.js} +0 -0
  748. /package/dist/chunks/{file-mutation-e5kj55wp.js → event-logger-e5kj55wp.js} +0 -0
  749. /package/dist/chunks/{file-mutation-e73j6tqm.js → event-logger-e73j6tqm.js} +0 -0
  750. /package/dist/chunks/{file-mutation-ec1grn59.js → event-logger-ec1grn59.js} +0 -0
  751. /package/dist/chunks/{file-mutation-eh3zwz77.js → event-logger-eh3zwz77.js} +0 -0
  752. /package/dist/chunks/{file-mutation-emrn6kk6.js → event-logger-emrn6kk6.js} +0 -0
  753. /package/dist/chunks/{file-mutation-f0mxakyp.js → event-logger-f0mxakyp.js} +0 -0
  754. /package/dist/chunks/{file-mutation-f6n9ztr4.js → event-logger-f6n9ztr4.js} +0 -0
  755. /package/dist/chunks/{file-mutation-faypxj3z.js → event-logger-faypxj3z.js} +0 -0
  756. /package/dist/chunks/{file-mutation-fd410y7t.js → event-logger-fd410y7t.js} +0 -0
  757. /package/dist/chunks/{file-mutation-fxgpk5d8.js → event-logger-fxgpk5d8.js} +0 -0
  758. /package/dist/chunks/{file-mutation-g4wezp1m.js → event-logger-g4wezp1m.js} +0 -0
  759. /package/dist/chunks/{file-mutation-g86h250q.js → event-logger-g86h250q.js} +0 -0
  760. /package/dist/chunks/{file-mutation-gebd4c9n.js → event-logger-gebd4c9n.js} +0 -0
  761. /package/dist/chunks/{file-mutation-gftt206x.js → event-logger-gftt206x.js} +0 -0
  762. /package/dist/chunks/{file-mutation-hjbc5kem.js → event-logger-hjbc5kem.js} +0 -0
  763. /package/dist/chunks/{file-mutation-hk9envan.js → event-logger-hk9envan.js} +0 -0
  764. /package/dist/chunks/{file-mutation-j2ntwpah.js → event-logger-j2ntwpah.js} +0 -0
  765. /package/dist/chunks/{file-mutation-j5zkgpj8.js → event-logger-j5zkgpj8.js} +0 -0
  766. /package/dist/chunks/{file-mutation-jjkms2e6.js → event-logger-jjkms2e6.js} +0 -0
  767. /package/dist/chunks/{file-mutation-jr7sbwjy.js → event-logger-jr7sbwjy.js} +0 -0
  768. /package/dist/chunks/{file-mutation-jwfs4k6c.js → event-logger-jwfs4k6c.js} +0 -0
  769. /package/dist/chunks/{file-mutation-jzg6c2d5.js → event-logger-jzg6c2d5.js} +0 -0
  770. /package/dist/chunks/{file-mutation-mp448xyj.js → event-logger-mp448xyj.js} +0 -0
  771. /package/dist/chunks/{file-mutation-msx8hqn2.js → event-logger-msx8hqn2.js} +0 -0
  772. /package/dist/chunks/{file-mutation-n05xt0ee.js → event-logger-n05xt0ee.js} +0 -0
  773. /package/dist/chunks/{file-mutation-n3j8tn72.js → event-logger-n3j8tn72.js} +0 -0
  774. /package/dist/chunks/{file-mutation-njntx4h6.js → event-logger-njntx4h6.js} +0 -0
  775. /package/dist/chunks/{file-mutation-q3sfg36h.js → event-logger-q3sfg36h.js} +0 -0
  776. /package/dist/chunks/{file-mutation-q74kybfr.js → event-logger-q74kybfr.js} +0 -0
  777. /package/dist/chunks/{file-mutation-qaymkmh1.js → event-logger-qaymkmh1.js} +0 -0
  778. /package/dist/chunks/{file-mutation-qb87gjwd.js → event-logger-qb87gjwd.js} +0 -0
  779. /package/dist/chunks/{file-mutation-qfa1cgps.js → event-logger-qfa1cgps.js} +0 -0
  780. /package/dist/chunks/{file-mutation-qg3g05ea.js → event-logger-qg3g05ea.js} +0 -0
  781. /package/dist/chunks/{file-mutation-qrg20bc0.js → event-logger-qrg20bc0.js} +0 -0
  782. /package/dist/chunks/{file-mutation-rcb2kzg1.js → event-logger-rcb2kzg1.js} +0 -0
  783. /package/dist/chunks/{file-mutation-sdp7kfr6.js → event-logger-sdp7kfr6.js} +0 -0
  784. /package/dist/chunks/{file-mutation-sk3qaz4a.js → event-logger-sk3qaz4a.js} +0 -0
  785. /package/dist/chunks/{file-mutation-ssg3fenm.js → event-logger-ssg3fenm.js} +0 -0
  786. /package/dist/chunks/{file-mutation-w803qqfp.js → event-logger-w803qqfp.js} +0 -0
  787. /package/dist/chunks/{file-mutation-wc3fc9cn.js → event-logger-wc3fc9cn.js} +0 -0
  788. /package/dist/chunks/{file-mutation-wer8tq1h.js → event-logger-wer8tq1h.js} +0 -0
  789. /package/dist/chunks/{file-mutation-wtztk69x.js → event-logger-wtztk69x.js} +0 -0
  790. /package/dist/chunks/{file-mutation-x0ckcb58.js → event-logger-x0ckcb58.js} +0 -0
  791. /package/dist/chunks/{file-mutation-x61499pn.js → event-logger-x61499pn.js} +0 -0
  792. /package/dist/chunks/{file-mutation-y44na4kk.js → event-logger-y44na4kk.js} +0 -0
  793. /package/dist/chunks/{file-mutation-y8cydn3q.js → event-logger-y8cydn3q.js} +0 -0
  794. /package/dist/chunks/{file-mutation-y8f7s663.js → event-logger-y8f7s663.js} +0 -0
  795. /package/dist/chunks/{file-mutation-ygaqb7jw.js → event-logger-ygaqb7jw.js} +0 -0
  796. /package/dist/chunks/{file-mutation-ym463w8f.js → event-logger-ym463w8f.js} +0 -0
  797. /package/dist/chunks/{file-mutation-z5v4ffb3.js → event-logger-z5v4ffb3.js} +0 -0
  798. /package/dist/chunks/{file-mutation-z9919s4g.js → event-logger-z9919s4g.js} +0 -0
@@ -1,124 +1,124 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./file-mutation-8mpnm3sv.js";
4
+ } from "./event-logger-84p84h2c.js";
5
5
  import {
6
- Service82,
7
- node86
8
- } from "./file-mutation-faxrmdye.js";
6
+ Service81,
7
+ node85
8
+ } from "./event-logger-fzaeg2ds.js";
9
9
  import {
10
10
  SessionMessage2
11
- } from "./file-mutation-gftt206x.js";
11
+ } from "./event-logger-gftt206x.js";
12
12
  import {
13
13
  StepFailedError2
14
- } from "./file-mutation-k8s7jp5m.js";
14
+ } from "./event-logger-b720ka4c.js";
15
15
  import {
16
16
  SessionEvent2
17
- } from "./file-mutation-ec1grn59.js";
17
+ } from "./event-logger-ec1grn59.js";
18
18
  import {
19
19
  SessionMessageTable2
20
- } from "./file-mutation-9e5bzkjp.js";
20
+ } from "./event-logger-9e5bzkjp.js";
21
21
  import {
22
22
  prepare4
23
- } from "./file-mutation-2m8jawch.js";
23
+ } from "./event-logger-2m8jawch.js";
24
24
  import {
25
25
  provenance2
26
- } from "./file-mutation-5dkn69vz.js";
26
+ } from "./event-logger-h9wp8z5w.js";
27
27
  import {
28
28
  decodeMessageRow2,
29
29
  preview2
30
- } from "./file-mutation-b8z0wsc0.js";
30
+ } from "./event-logger-w8srcnpp.js";
31
31
  import {
32
- Service52,
33
- node54
34
- } from "./file-mutation-h17jjak5.js";
32
+ Service57,
33
+ node59
34
+ } from "./event-logger-cdevnsy5.js";
35
35
  import {
36
- Service15,
37
- node17
38
- } from "./file-mutation-mde00trs.js";
36
+ Service11,
37
+ node13
38
+ } from "./event-logger-6q0c4mka.js";
39
39
  import {
40
40
  llmClient2
41
- } from "./file-mutation-5t3nmthw.js";
41
+ } from "./event-logger-5t3nmthw.js";
42
42
  import {
43
43
  Service27,
44
- node29
45
- } from "./file-mutation-30c7dxhs.js";
44
+ node30
45
+ } from "./event-logger-ex7a17jg.js";
46
46
  import {
47
47
  baseTranscript2
48
- } from "./file-mutation-1pvcwerr.js";
48
+ } from "./event-logger-byv6g4ee.js";
49
49
  import {
50
50
  make10
51
- } from "./file-mutation-b3f8fkhc.js";
51
+ } from "./event-logger-b3f8fkhc.js";
52
52
  import {
53
53
  toSessionError2
54
- } from "./file-mutation-frx098gj.js";
54
+ } from "./event-logger-7x3ym2x5.js";
55
55
  import {
56
- Service10,
57
- node12,
56
+ Service9,
57
+ node11,
58
58
  estimatePrompt2
59
- } from "./file-mutation-vr6q59r9.js";
59
+ } from "./event-logger-4qrezbc4.js";
60
60
  import {
61
- Service21,
61
+ Service20,
62
62
  node23
63
- } from "./file-mutation-zh2r3c6m.js";
63
+ } from "./event-logger-dvdrsg1q.js";
64
64
  import {
65
65
  serialized2,
66
66
  nextPromotable2,
67
67
  promote2
68
- } from "./file-mutation-g1m3h83e.js";
68
+ } from "./event-logger-mkgkpagd.js";
69
69
  import {
70
- Service9,
70
+ Service8,
71
71
  isUntitled2,
72
- node11
73
- } from "./file-mutation-a1r0v0hv.js";
72
+ node10
73
+ } from "./event-logger-e6j7p34d.js";
74
74
  import {
75
75
  DrainResult2,
76
- Service35
77
- } from "./file-mutation-tz4n1mmd.js";
76
+ Service40
77
+ } from "./event-logger-2vs2nh1n.js";
78
78
  import {
79
- node71
80
- } from "./file-mutation-ssx3rgd2.js";
79
+ node55
80
+ } from "./event-logger-fngg5dts.js";
81
81
  import {
82
- node64
83
- } from "./file-mutation-xy26ekgv.js";
82
+ node67
83
+ } from "./event-logger-h6sem7h5.js";
84
84
  import {
85
85
  Outcome2,
86
86
  make9
87
- } from "./file-mutation-ge03txwd.js";
87
+ } from "./event-logger-zwq83wym.js";
88
88
  import {
89
- Service20
90
- } from "./file-mutation-45th5jwr.js";
89
+ Service24
90
+ } from "./event-logger-v1faaxn9.js";
91
91
  import {
92
- node18
93
- } from "./file-mutation-d3etny0e.js";
92
+ node16
93
+ } from "./event-logger-rd108yne.js";
94
94
  import {
95
95
  MAX_STEPS_PROMPT2
96
- } from "./file-mutation-y44na4kk.js";
96
+ } from "./event-logger-y44na4kk.js";
97
97
  import {
98
98
  __export
99
- } from "./file-mutation-9rqn6x4v.js";
99
+ } from "./event-logger-9rqn6x4v.js";
100
100
 
101
101
  // src/session/runner/llm.ts
102
102
  var exports_llm = {};
103
103
  __export(exports_llm, {
104
104
  SessionRunnerLLM: () => exports_llm,
105
- node: () => node10
105
+ node: () => node9
106
106
  });
107
107
  import { Message } from "@opencode/ai";
108
108
  import { and, desc, eq, sql } from "drizzle-orm";
109
109
  import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
110
110
  import { makeLocationNode } from "@opencode/util/effect/app-node";
111
111
  var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
112
- var layer = Layer.effect(Service35, Effect.gen(function* () {
113
- const bus = yield* Service82;
114
- const lifecycle = yield* Service15;
115
- const store = yield* Service52;
116
- const context = yield* Service21;
112
+ var layer = Layer.effect(Service40, Effect.gen(function* () {
113
+ const bus = yield* Service81;
114
+ const lifecycle = yield* Service11;
115
+ const store = yield* Service57;
116
+ const context = yield* Service20;
117
117
  const modelTransport = yield* Service27;
118
118
  const db = (yield* Service84).db;
119
- const compaction = yield* Service10;
120
- const plugins = yield* Service20;
121
- const title = yield* Service9;
119
+ const compaction = yield* Service9;
120
+ const plugins = yield* Service24;
121
+ const title = yield* Service8;
122
122
  const steps = yield* make9;
123
123
  const titles = yield* FiberMap.make();
124
124
  const drain = Effect.fn("SessionRunner.drain")(function* (input) {
@@ -356,25 +356,25 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
356
356
  }
357
357
  }
358
358
  });
359
- return Service35.of({ drain });
359
+ return Service40.of({ drain });
360
360
  }));
361
- var node10 = makeLocationNode({
362
- service: Service35,
361
+ var node9 = makeLocationNode({
362
+ service: Service40,
363
363
  layer,
364
364
  deps: [
365
- node86,
366
- node17,
365
+ node85,
366
+ node13,
367
367
  llmClient2,
368
368
  node23,
369
- node29,
370
- node54,
371
- node12,
372
- node18,
369
+ node30,
370
+ node59,
373
371
  node11,
374
- node71,
375
- node64,
372
+ node16,
373
+ node10,
374
+ node55,
375
+ node67,
376
376
  node88
377
377
  ]
378
378
  });
379
379
 
380
- export { node10, exports_llm };
380
+ export { node9, exports_llm };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-mutation-9rqn6x4v.js";
3
+ } from "./event-logger-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-mutation-9rqn6x4v.js";
3
+ } from "./event-logger-9rqn6x4v.js";
4
4
 
5
5
  // src/file-retention.ts
6
6
  var exports_file_retention = {};
@@ -1,37 +1,37 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./file-mutation-faxrmdye.js";
2
+ Service81,
3
+ node85
4
+ } from "./event-logger-fzaeg2ds.js";
5
5
  import {
6
- Service79,
7
- node83
8
- } from "./file-mutation-z6cfb29r.js";
6
+ Service76,
7
+ node80
8
+ } from "./event-logger-tw51v10a.js";
9
9
  import {
10
10
  ID8,
11
- Service53,
12
- node55
13
- } from "./file-mutation-7cffbw4q.js";
11
+ Service58,
12
+ node60
13
+ } from "./event-logger-bfv0d40t.js";
14
14
  import {
15
- NotFoundError7
16
- } from "./file-mutation-k8s7jp5m.js";
15
+ NotFoundError8
16
+ } from "./event-logger-b720ka4c.js";
17
17
  import {
18
- Service52,
19
- node54
20
- } from "./file-mutation-h17jjak5.js";
18
+ Service57,
19
+ node59
20
+ } from "./event-logger-cdevnsy5.js";
21
21
  import {
22
22
  match2
23
- } from "./file-mutation-y1fvbwt7.js";
23
+ } from "./event-logger-y1fvbwt7.js";
24
24
  import {
25
- Service51,
26
- node53
27
- } from "./file-mutation-405tx1tk.js";
25
+ Service56,
26
+ node58
27
+ } from "./event-logger-bx4acmk7.js";
28
28
  import {
29
- Service63,
30
- node65
31
- } from "./file-mutation-pn3cc07s.js";
29
+ Service70,
30
+ node74
31
+ } from "./event-logger-pnaxc6j9.js";
32
32
  import {
33
33
  __export
34
- } from "./file-mutation-9rqn6x4v.js";
34
+ } from "./event-logger-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
37
  var exports_permission = {};
@@ -44,18 +44,18 @@ __export(exports_permission, {
44
44
  Effect: () => PermissionEffect,
45
45
  Event: () => Event10,
46
46
  ID: () => ID6,
47
- NotFoundError: () => NotFoundError6,
47
+ NotFoundError: () => NotFoundError7,
48
48
  Permission: () => exports_permission,
49
49
  Reply: () => Reply2,
50
50
  ReplyInput: () => ReplyInput2,
51
51
  Request: () => Request2,
52
52
  Rule: () => Rule2,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service50,
54
+ Service: () => Service55,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node52
58
+ node: () => node57
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
@@ -110,7 +110,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
110
110
  }
111
111
  }
112
112
 
113
- class NotFoundError6 extends Schema.TaggedError()("Permission.NotFoundError", {
113
+ class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
114
114
  requestID: ID6
115
115
  }) {
116
116
  }
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service50 extends Context.Service()("@opencode/Permission") {
128
+ class Service55 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service50, Effect.gen(function* () {
131
- const bus = yield* Service82;
132
- const location = yield* Service79;
133
- const agents = yield* Service53;
134
- const sessions = yield* Service52;
135
- const saved = yield* Service51;
136
- const hooks = yield* Service63;
130
+ var layer = Layer.effect(Service55, Effect.gen(function* () {
131
+ const bus = yield* Service81;
132
+ const location = yield* Service76;
133
+ const agents = yield* Service58;
134
+ const sessions = yield* Service57;
135
+ const saved = yield* Service56;
136
+ const hooks = yield* Service70;
137
137
  const pending = new Map;
138
138
  let closed = false;
139
139
  const close = Effect.gen(function* () {
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
156
156
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
157
157
  const session = yield* sessions.get(sessionID);
158
158
  if (!session)
159
- return yield* new NotFoundError7({ sessionID });
159
+ return yield* new NotFoundError8({ sessionID });
160
160
  const agent = yield* agents.resolve(agentID ?? session.agent);
161
161
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
162
162
  });
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
242
242
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
243
243
  const existing = pending.get(input.requestID);
244
244
  if (!existing)
245
- return yield* new NotFoundError6({ requestID: input.requestID });
245
+ return yield* new NotFoundError7({ requestID: input.requestID });
246
246
  yield* bus.publish(Permission.Event.Replied, {
247
247
  sessionID: existing.request.sessionID,
248
248
  requestID: existing.request.id,
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
297
297
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
298
298
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
299
299
  });
300
- return Service50.of({ ask, assert, reply, get, forSession, list, close });
300
+ return Service55.of({ ask, assert, reply, get, forSession, list, close });
301
301
  }));
302
- var node52 = makeLocationNode({
303
- service: Service50,
302
+ var node57 = makeLocationNode({
303
+ service: Service55,
304
304
  layer,
305
- deps: [node86, node83, node55, node54, node53, node65]
305
+ deps: [node85, node80, node60, node59, node58, node74]
306
306
  });
307
307
 
308
- export { PermissionEffect, ID6, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError6, evaluate2, merge2, Service50, node52, exports_permission, Rule2, Ruleset2, Event10 };
308
+ export { PermissionEffect, ID6, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service55, node57, exports_permission, Rule2, Ruleset2, Event10 };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service82
3
- } from "./file-mutation-faxrmdye.js";
2
+ Service81
3
+ } from "./event-logger-fzaeg2ds.js";
4
4
  import {
5
5
  key2
6
- } from "./file-mutation-dnxkq42g.js";
6
+ } from "./event-logger-mpk0rfs5.js";
7
7
  import {
8
- Event19
9
- } from "./file-mutation-j8cgstsh.js";
8
+ Event17
9
+ } from "./event-logger-z8rfaqzv.js";
10
10
  import {
11
- ID14
12
- } from "./file-mutation-s6qqwf79.js";
11
+ ID12
12
+ } from "./event-logger-qv6rw298.js";
13
13
  import {
14
- ID13,
15
- Service75
16
- } from "./file-mutation-5ymnsk7v.js";
14
+ ID11,
15
+ Service72
16
+ } from "./event-logger-q9p7zpd5.js";
17
17
  import {
18
- load2,
19
- derive2
20
- } from "./file-mutation-j3636f00.js";
18
+ load3,
19
+ derive3
20
+ } from "./event-logger-cbf5jjb3.js";
21
21
 
22
22
  // src/plugin/provider/modal.ts
23
23
  import { Effect, Semaphore, Stream } from "effect";
24
24
  import { define } from "@opencode/plugin/effect/plugin";
25
- var providerID = ID13.make("modal");
25
+ var providerID = ID11.make("modal");
26
26
  var ModalPlugin2 = define({
27
27
  id: "opencode.provider.modal",
28
28
  effect: Effect.fn(function* (ctx) {
29
- const providers = yield* Service75;
30
- const bus = yield* Service82;
29
+ const providers = yield* Service72;
30
+ const bus = yield* Service81;
31
31
  const loading = Semaphore.makeUnsafe(1);
32
32
  const loaded = {};
33
33
  const load = Effect.fn("ModalPlugin.load")(function* () {
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
45
45
  return;
46
46
  }
47
47
  const remote = yield* Effect.tryPromise({
48
- try: () => load2(baseURL, apiKey),
48
+ try: () => load3(baseURL, apiKey),
49
49
  catch: (cause) => cause
50
50
  }).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
51
51
  if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
62
62
  return;
63
63
  evt.add({
64
64
  info: item.provider,
65
- models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
65
+ models: Array.from(derive3(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
66
66
  sourceConnection: loaded.connection
67
67
  });
68
68
  });
69
69
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
70
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
70
+ yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
71
71
  yield* refresh().pipe(Effect.forkScoped);
72
72
  })
73
73
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID12
3
- } from "./file-mutation-q4de835y.js";
2
+ ID10
3
+ } from "./event-logger-68419g8m.js";
4
4
 
5
5
  // src/plugin/provider/openrouter.ts
6
6
  import { Effect } from "effect";
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
21
21
  for (const item of models.provider.list()) {
22
22
  if (item.provider.package !== "@opencode/ai/providers/openrouter")
23
23
  continue;
24
- for (const modelID of [ID12.make("gpt-5-chat-latest"), ID12.make("openai/gpt-5-chat")]) {
24
+ for (const modelID of [ID10.make("gpt-5-chat-latest"), ID10.make("openai/gpt-5-chat")]) {
25
25
  if (!models.get(item.provider.id, modelID))
26
26
  continue;
27
27
  models.update(item.provider.id, modelID, (model) => {
@@ -1,10 +1,10 @@
1
1
  import {
2
- ID14,
3
- Service76,
4
- node80
5
- } from "./file-mutation-s6qqwf79.js";
2
+ ID12,
3
+ Service73,
4
+ node77
5
+ } from "./event-logger-qv6rw298.js";
6
6
  import {
7
- ID13,
7
+ ID11,
8
8
  isAISDK2,
9
9
  packageName2,
10
10
  loadPackage2,
@@ -14,23 +14,23 @@ import {
14
14
  timeouts2,
15
15
  mergeOverlay2,
16
16
  mergeHeaders2,
17
- Service75,
18
- node79
19
- } from "./file-mutation-5ymnsk7v.js";
17
+ Service72,
18
+ node76
19
+ } from "./event-logger-q9p7zpd5.js";
20
20
  import {
21
- Service69,
22
- node72
23
- } from "./file-mutation-y7qwnmy1.js";
21
+ Service60,
22
+ node62
23
+ } from "./event-logger-p1ykeed4.js";
24
24
  import {
25
- ID12,
25
+ ID10,
26
26
  VariantID2,
27
27
  Ref2,
28
- Service74,
29
- node78
30
- } from "./file-mutation-q4de835y.js";
28
+ Service71,
29
+ node75
30
+ } from "./event-logger-68419g8m.js";
31
31
  import {
32
32
  __export
33
- } from "./file-mutation-9rqn6x4v.js";
33
+ } from "./event-logger-9rqn6x4v.js";
34
34
 
35
35
  // src/model-resolver.ts
36
36
  var exports_model_resolver = {};
@@ -39,15 +39,15 @@ __export(exports_model_resolver, {
39
39
  ModelConfigurationError: () => ModelConfigurationError2,
40
40
  ModelInitializationError: () => ModelInitializationError2,
41
41
  ModelResolver: () => exports_model_resolver,
42
- Service: () => Service48,
42
+ Service: () => Service59,
43
43
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
44
44
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
45
45
  UnsupportedPackageError: () => UnsupportedPackageError2,
46
46
  VariantUnavailableError: () => VariantUnavailableError2,
47
47
  fromCatalogModel: () => fromCatalogModel2,
48
48
  hasPackage: () => hasPackage2,
49
- layer: () => layer19,
50
- node: () => node50,
49
+ layer: () => layer20,
50
+ node: () => node61,
51
51
  resolveModel: () => resolveModel2,
52
52
  withVariant: () => withVariant2
53
53
  });
@@ -57,8 +57,8 @@ import { Auth } from "@opencode/ai/route";
57
57
  import { Context, Effect, Layer, Schema, Struct } from "effect";
58
58
  import { Npm } from "@opencode/util/npm";
59
59
  class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
60
- providerID: ID13,
61
- modelID: ID12,
60
+ providerID: ID11,
61
+ modelID: ID10,
62
62
  variant: VariantID2
63
63
  }) {
64
64
  get message() {
@@ -67,8 +67,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
67
67
  }
68
68
 
69
69
  class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
70
- providerID: ID13,
71
- modelID: ID12,
70
+ providerID: ID11,
71
+ modelID: ID10,
72
72
  package: Schema.String
73
73
  }) {
74
74
  get message() {
@@ -78,8 +78,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
78
78
  var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
79
79
 
80
80
  class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
81
- providerID: ID13,
82
- modelID: ID12,
81
+ providerID: ID11,
82
+ modelID: ID10,
83
83
  package: Schema.String,
84
84
  detail: Schema.String
85
85
  }) {
@@ -89,8 +89,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
89
89
  }
90
90
 
91
91
  class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
92
- providerID: ID13,
93
- modelID: ID12,
92
+ providerID: ID11,
93
+ modelID: ID10,
94
94
  package: Schema.String,
95
95
  phase: InitializationPhase2,
96
96
  detail: Schema.String
@@ -101,8 +101,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
101
101
  }
102
102
 
103
103
  class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
104
- providerID: ID13,
105
- modelID: ID12,
104
+ providerID: ID11,
105
+ modelID: ID10,
106
106
  variables: Schema.Array(Schema.String)
107
107
  }) {
108
108
  get message() {
@@ -111,8 +111,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
111
111
  }
112
112
 
113
113
  class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
114
- providerID: ID13,
115
- modelID: ID12,
114
+ providerID: ID11,
115
+ modelID: ID10,
116
116
  route: Schema.String
117
117
  }) {
118
118
  get message() {
@@ -120,7 +120,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
120
120
  }
121
121
  }
122
122
 
123
- class Service48 extends Context.Service()("@opencode/ModelResolver") {
123
+ class Service59 extends Context.Service()("@opencode/ModelResolver") {
124
124
  }
125
125
  var withVariant2 = (model, variantID) => {
126
126
  const id = variantID === "default" ? undefined : variantID;
@@ -264,15 +264,15 @@ var causeMessage = (cause) => {
264
264
  };
265
265
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
266
266
  var hasPackage2 = (model) => Boolean(model.package);
267
- var layer19 = Layer.effect(Service48, Effect.gen(function* () {
268
- const providers = yield* Service75;
269
- const models = yield* Service74;
270
- const integrations = yield* Service76;
267
+ var layer20 = Layer.effect(Service59, Effect.gen(function* () {
268
+ const providers = yield* Service72;
269
+ const models = yield* Service71;
270
+ const integrations = yield* Service73;
271
271
  const npm = yield* Npm.Service;
272
- const aisdk = yield* Service69;
272
+ const aisdk = yield* Service60;
273
273
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
274
274
  const provider = yield* providers.get(selected.providerID);
275
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
275
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID12.make(selected.providerID));
276
276
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
277
277
  const selectedVariant = yield* withVariant2(selected, variant);
278
278
  const runtimeInfo = {
@@ -299,7 +299,7 @@ var layer19 = Layer.effect(Service48, Effect.gen(function* () {
299
299
  chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
300
300
  };
301
301
  });
302
- return Service48.of({
302
+ return Service59.of({
303
303
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
304
304
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
305
305
  if (!selected)
@@ -316,10 +316,10 @@ function usesAPIKeyAuth(packageName) {
316
316
  const name = packageName2(packageName);
317
317
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
318
318
  }
319
- var node50 = makeLocationNode({
320
- service: Service48,
321
- layer: layer19,
322
- deps: [node79, node78, node80, Npm.node, node72]
319
+ var node61 = makeLocationNode({
320
+ service: Service59,
321
+ layer: layer20,
322
+ deps: [node76, node75, node77, Npm.node, node62]
323
323
  });
324
324
 
325
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service48, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer19, node50, exports_model_resolver };
325
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service59, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer20, node61, exports_model_resolver };