@opencode-ai/core 0.0.0-beta-19129 → 0.0.0-beta-19135

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 (774) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{pty-008qgtj7.js → event-logger-02cz66nk.js} +18 -18
  9. package/dist/chunks/{pty-r79tve40.js → event-logger-0ak8fpq9.js} +84 -84
  10. package/dist/chunks/{pty-gts5f7ad.js → event-logger-0cy25tfm.js} +64 -64
  11. package/dist/chunks/{pty-0e0xafbb.js → event-logger-0e0xafbb.js} +2 -2
  12. package/dist/chunks/{pty-94ms672g.js → event-logger-0fxt3z96.js} +3 -3
  13. package/dist/chunks/{pty-nxrz604p.js → event-logger-0k45et74.js} +9 -9
  14. package/dist/chunks/{pty-0paq2nw3.js → event-logger-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{pty-3khkq25c.js → event-logger-0qjj9ymt.js} +10 -10
  16. package/dist/chunks/{pty-0s9ayhjt.js → event-logger-0s9ayhjt.js} +1 -1
  17. package/dist/chunks/{pty-19g5gqh3.js → event-logger-0t17cbyp.js} +29 -29
  18. package/dist/chunks/{pty-t39q75fx.js → event-logger-13nnacyb.js} +13 -13
  19. package/dist/chunks/{pty-eqyz6y0f.js → event-logger-1bwnd4hf.js} +57 -57
  20. package/dist/chunks/{pty-1ct4r87x.js → event-logger-1ct4r87x.js} +1 -1
  21. package/dist/chunks/{pty-qydr0h4k.js → event-logger-1m9v8mn3.js} +24 -24
  22. package/dist/chunks/{pty-rh6rd7ag.js → event-logger-1p8bnmch.js} +4 -4
  23. package/dist/chunks/{pty-shtw02y9.js → event-logger-1s8r4w4e.js} +33 -33
  24. package/dist/chunks/{pty-1sbqnd7p.js → event-logger-212ph2vw.js} +6 -6
  25. package/dist/chunks/{pty-21r38tys.js → event-logger-21r38tys.js} +1 -1
  26. package/dist/chunks/{pty-6h73sxmp.js → event-logger-2402vzrj.js} +5 -5
  27. package/dist/chunks/{pty-3zdgt117.js → event-logger-29dnvths.js} +4 -4
  28. package/dist/chunks/{pty-2a5m3afh.js → event-logger-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{pty-h50kfk2b.js → event-logger-2a8s8ztn.js} +13 -13
  30. package/dist/chunks/{pty-kh5wzj48.js → event-logger-2bbpb5tz.js} +37 -37
  31. package/dist/chunks/{pty-wxcf70d6.js → event-logger-2ftxdpw7.js} +10 -10
  32. package/dist/chunks/{pty-2ht70gj7.js → event-logger-2ht70gj7.js} +1 -1
  33. package/dist/chunks/{pty-2jqmte8w.js → event-logger-2jqmte8w.js} +2 -2
  34. package/dist/chunks/{pty-sb910js5.js → event-logger-2m4g9ewj.js} +20 -20
  35. package/dist/chunks/{pty-dc9emjf0.js → event-logger-2qfefwnw.js} +3 -3
  36. package/dist/chunks/{pty-e1qkg8tm.js → event-logger-2van94j2.js} +15 -15
  37. package/dist/chunks/{pty-j5w0a358.js → event-logger-3aqmas22.js} +11 -11
  38. package/dist/chunks/{pty-3fc6dm20.js → event-logger-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{pty-hqhp5amc.js → event-logger-3hege6zb.js} +20 -20
  40. package/dist/chunks/{pty-3hepkmqq.js → event-logger-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{pty-3qzbfqsy.js → event-logger-3qzbfqsy.js} +2 -2
  42. package/dist/chunks/{pty-1wm9p8v7.js → event-logger-3rbx21vn.js} +18 -18
  43. package/dist/chunks/{pty-3smtnn6g.js → event-logger-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{pty-3tvqynh2.js → event-logger-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{pty-rp8r0d5g.js → event-logger-3vma5df0.js} +26 -26
  46. package/dist/chunks/{pty-z78tg67p.js → event-logger-41mncz27.js} +5 -5
  47. package/dist/chunks/{pty-454k5vzh.js → event-logger-454k5vzh.js} +1 -1
  48. package/dist/chunks/{pty-9j3029qe.js → event-logger-4ffk9bk5.js} +9 -9
  49. package/dist/chunks/{pty-3w073660.js → event-logger-4fs60wf0.js} +13 -13
  50. package/dist/chunks/{pty-y974v3mv.js → event-logger-4m6zeev3.js} +4 -4
  51. package/dist/chunks/{pty-wcj1zaj1.js → event-logger-4n5vt0rn.js} +49 -49
  52. package/dist/chunks/{pty-4r2nyarf.js → event-logger-4r2nyarf.js} +1 -1
  53. package/dist/chunks/{pty-zya0p8p9.js → event-logger-54q4ab61.js} +18 -18
  54. package/dist/chunks/{pty-5daktx2q.js → event-logger-5daktx2q.js} +1 -1
  55. package/dist/chunks/{pty-3hfmeb9q.js → event-logger-5eze0v7x.js} +35 -35
  56. package/dist/chunks/{pty-5fmxt4p5.js → event-logger-5fmxt4p5.js} +1 -1
  57. package/dist/chunks/{pty-1ydgq2r4.js → event-logger-5fnfwqar.js} +5 -5
  58. package/dist/chunks/{pty-mj6q7gvy.js → event-logger-5jf9zvh7.js} +13 -13
  59. package/dist/chunks/{pty-5jvc5tg2.js → event-logger-5jvc5tg2.js} +1 -1
  60. package/dist/chunks/{pty-qhehnkc2.js → event-logger-5knqzda6.js} +23 -23
  61. package/dist/chunks/{pty-ps7tg90p.js → event-logger-5kt6hdqr.js} +24 -24
  62. package/dist/chunks/{pty-c0ggnrvh.js → event-logger-5ranmbyz.js} +13 -13
  63. package/dist/chunks/{pty-7dqw4kz8.js → event-logger-607tc6va.js} +5 -5
  64. package/dist/chunks/event-logger-639wr4eg.js +22 -0
  65. package/dist/chunks/{pty-0gaj4617.js → event-logger-6anwy9fs.js} +6 -6
  66. package/dist/chunks/{pty-6e958v7x.js → event-logger-6e958v7x.js} +1 -1
  67. package/dist/chunks/{pty-tdt6s1r3.js → event-logger-6fwq361y.js} +6 -6
  68. package/dist/chunks/{pty-a615ws19.js → event-logger-6fy45jp5.js} +4 -4
  69. package/dist/chunks/{pty-3jj6bjb6.js → event-logger-6h414ywr.js} +5 -5
  70. package/dist/chunks/{pty-tp89m72a.js → event-logger-6mwj1pae.js} +6 -6
  71. package/dist/chunks/{pty-1hb2jj92.js → event-logger-6mxrwzjk.js} +11 -11
  72. package/dist/chunks/{pty-gxeqtc45.js → event-logger-6y4y2zs8.js} +6 -6
  73. package/dist/chunks/{pty-saak5ttd.js → event-logger-6z5bwd8g.js} +6 -6
  74. package/dist/chunks/{pty-ktgp4y5h.js → event-logger-6zmw1f7k.js} +10 -10
  75. package/dist/chunks/{pty-711hfp6y.js → event-logger-711hfp6y.js} +2 -2
  76. package/dist/chunks/{pty-6tf8tr4v.js → event-logger-72nftnjy.js} +3 -3
  77. package/dist/chunks/{pty-1wbsj790.js → event-logger-75ves8gm.js} +22 -22
  78. package/dist/chunks/{pty-gf185zmw.js → event-logger-7a627tte.js} +14 -14
  79. package/dist/chunks/{pty-7bmhse3q.js → event-logger-7bmhse3q.js} +1 -1
  80. package/dist/chunks/{pty-bj2c3eqn.js → event-logger-7mm1a5xk.js} +11 -11
  81. package/dist/chunks/{pty-w1r5ypf7.js → event-logger-7n1ftcmm.js} +32 -32
  82. package/dist/chunks/{pty-t33fapxs.js → event-logger-7n2tcerd.js} +11 -11
  83. package/dist/chunks/{pty-bp2y3dz3.js → event-logger-7np481va.js} +18 -18
  84. package/dist/chunks/{pty-rha7dayt.js → event-logger-7twspavz.js} +10 -10
  85. package/dist/chunks/{pty-bsfcvmm2.js → event-logger-7yaq8a5f.js} +3 -3
  86. package/dist/chunks/{pty-gd248znf.js → event-logger-7yg14vcd.js} +31 -31
  87. package/dist/chunks/{pty-eq1pz5kg.js → event-logger-7yh4e7ss.js} +3 -3
  88. package/dist/chunks/{pty-tcezcvh9.js → event-logger-89znhe33.js} +4 -4
  89. package/dist/chunks/{pty-actzaqhd.js → event-logger-8en7wc9m.js} +26 -26
  90. package/dist/chunks/{pty-vb336b53.js → event-logger-8g4myvzm.js} +5 -5
  91. package/dist/chunks/{pty-93a8yfjt.js → event-logger-93a8yfjt.js} +2 -2
  92. package/dist/chunks/{pty-76ma23qb.js → event-logger-9714khfe.js} +27 -27
  93. package/dist/chunks/{pty-8wng66kw.js → event-logger-97b65712.js} +19 -19
  94. package/dist/chunks/{pty-7zvydh0p.js → event-logger-99hgvjf7.js} +11 -11
  95. package/dist/chunks/{pty-t3daf40q.js → event-logger-9csrpy9m.js} +8 -8
  96. package/dist/chunks/{pty-4x0nmcjx.js → event-logger-9kj12sde.js} +9 -9
  97. package/dist/chunks/{pty-qvbcabdc.js → event-logger-9qm9egsn.js} +2 -2
  98. package/dist/chunks/{pty-a40eyqg5.js → event-logger-a2rthcw1.js} +16 -16
  99. package/dist/chunks/{pty-na4p81s6.js → event-logger-a5cfrypt.js} +17 -17
  100. package/dist/chunks/{pty-aaet6srn.js → event-logger-aaet6srn.js} +2 -2
  101. package/dist/chunks/{pty-0ywnm299.js → event-logger-ah9gen6x.js} +12 -12
  102. package/dist/chunks/{pty-yg7sb877.js → event-logger-ajtjthsy.js} +2 -2
  103. package/dist/chunks/{pty-rbjghvkh.js → event-logger-ajxr8k0d.js} +39 -39
  104. package/dist/chunks/{pty-pjdqv3xm.js → event-logger-amdbyq20.js} +11 -11
  105. package/dist/chunks/{pty-hhv3cd3z.js → event-logger-atzdg8qx.js} +1 -1
  106. package/dist/chunks/{pty-7n1wp2cn.js → event-logger-avrzsbhx.js} +23 -23
  107. package/dist/chunks/{pty-ctwxaq1f.js → event-logger-axxvr9d6.js} +3 -3
  108. package/dist/chunks/{pty-0rbnrynr.js → event-logger-axzb5kc8.js} +5 -5
  109. package/dist/chunks/{pty-pk02mbyy.js → event-logger-ay0pnvrs.js} +24 -24
  110. package/dist/chunks/{pty-b6gygkdw.js → event-logger-b6gygkdw.js} +2 -2
  111. package/dist/chunks/{pty-maf5n4v0.js → event-logger-b82t57ej.js} +11 -11
  112. package/dist/chunks/{pty-b9wsbatv.js → event-logger-b9wsbatv.js} +1 -1
  113. package/dist/chunks/{pty-cfwzd6ef.js → event-logger-bf4jq1tz.js} +6 -6
  114. package/dist/chunks/{pty-jv6tbxxe.js → event-logger-bg0z499z.js} +8 -8
  115. package/dist/chunks/{pty-q0zss3w0.js → event-logger-bjx73de6.js} +18 -18
  116. package/dist/chunks/{pty-bq6az8vb.js → event-logger-bncvnm42.js} +3 -3
  117. package/dist/chunks/{pty-thfv75je.js → event-logger-bphmvjfp.js} +5 -5
  118. package/dist/chunks/{pty-1we85e4n.js → event-logger-by65e51k.js} +36 -36
  119. package/dist/chunks/{pty-ytrgf914.js → event-logger-bzx0t2dm.js} +17 -17
  120. package/dist/chunks/{pty-xwq131f5.js → event-logger-c370bb3n.js} +46 -46
  121. package/dist/chunks/{pty-xk0vfajd.js → event-logger-cdp882tc.js} +10 -10
  122. package/dist/chunks/{pty-92y7g8ad.js → event-logger-cfc6tg4q.js} +14 -14
  123. package/dist/chunks/{pty-vywxfc32.js → event-logger-cgtt7c7n.js} +43 -43
  124. package/dist/chunks/{pty-jysfrgga.js → event-logger-d4fga7fm.js} +3 -3
  125. package/dist/chunks/{pty-g2gt0w0k.js → event-logger-d72308c8.js} +2 -2
  126. package/dist/chunks/{pty-amgxn0m4.js → event-logger-dfv457cv.js} +45 -45
  127. package/dist/chunks/{pty-2vw6f4gm.js → event-logger-dfvjmczd.js} +9 -9
  128. package/dist/chunks/{pty-kerhshr9.js → event-logger-dfzjqex4.js} +5 -5
  129. package/dist/chunks/{pty-5b9mh310.js → event-logger-dgf2qf9w.js} +24 -24
  130. package/dist/chunks/{pty-nry7nvbp.js → event-logger-dgycpedt.js} +24 -24
  131. package/dist/chunks/{pty-4rnz283z.js → event-logger-djkrpdfn.js} +15 -15
  132. package/dist/chunks/event-logger-dmrrm8p8.js +247 -0
  133. package/dist/chunks/{pty-63k70rre.js → event-logger-dseghc32.js} +29 -29
  134. package/dist/chunks/{pty-kd0z462q.js → event-logger-dwfxx02h.js} +20 -20
  135. package/dist/chunks/{pty-07bmqgvp.js → event-logger-e2dewr1q.js} +20 -18
  136. package/dist/chunks/{pty-ttbkqz8v.js → event-logger-e85xrhz5.js} +4 -4
  137. package/dist/chunks/{pty-jasnfvjs.js → event-logger-eg4pr325.js} +10 -10
  138. package/dist/chunks/{pty-r0av7t19.js → event-logger-eh4ym285.js} +32 -32
  139. package/dist/chunks/{pty-5sg4xzjf.js → event-logger-ez5b8bq3.js} +7 -7
  140. package/dist/chunks/{pty-k558dr3h.js → event-logger-f9x4js2z.js} +6 -6
  141. package/dist/chunks/{pty-4vp46et4.js → event-logger-fdjyeynq.js} +6 -6
  142. package/dist/chunks/{pty-k65x9esf.js → event-logger-fej0en8h.js} +10 -10
  143. package/dist/chunks/{pty-hcz6m02t.js → event-logger-fqyt6sf6.js} +17 -17
  144. package/dist/chunks/{pty-9rb0g439.js → event-logger-frxc79s3.js} +28 -28
  145. package/dist/chunks/{pty-fxbjtjnd.js → event-logger-fxbjtjnd.js} +1 -1
  146. package/dist/chunks/{pty-fxypknc8.js → event-logger-fxypknc8.js} +1 -1
  147. package/dist/chunks/{pty-gd4qta3r.js → event-logger-gd4qta3r.js} +1 -1
  148. package/dist/chunks/{pty-b5g03hab.js → event-logger-gn6tz21j.js} +9 -9
  149. package/dist/chunks/{pty-wrtxarjq.js → event-logger-gpsmhah5.js} +16 -16
  150. package/dist/chunks/{pty-97mrdvqz.js → event-logger-grrzmf21.js} +16 -16
  151. package/dist/chunks/{pty-qnzq15jm.js → event-logger-gt211jxx.js} +7 -7
  152. package/dist/chunks/{pty-j2n289q7.js → event-logger-gy8nx2k9.js} +6 -6
  153. package/dist/chunks/{pty-ct6p9e56.js → event-logger-h2wg2nnm.js} +9 -9
  154. package/dist/chunks/{pty-twvb3q6j.js → event-logger-h4pz2xm7.js} +20 -20
  155. package/dist/chunks/{pty-h6vf3j39.js → event-logger-h6vf3j39.js} +1 -1
  156. package/dist/chunks/{pty-heyhwy2w.js → event-logger-heyhwy2w.js} +1 -1
  157. package/dist/chunks/{pty-1c5j02v1.js → event-logger-hjagmg68.js} +46 -46
  158. package/dist/chunks/{pty-403y7qtc.js → event-logger-hngne7ee.js} +11 -11
  159. package/dist/chunks/{pty-n7x3jcdn.js → event-logger-hpkkrthc.js} +9 -9
  160. package/dist/chunks/{pty-g2dy4bvs.js → event-logger-hrvm11jt.js} +3 -3
  161. package/dist/chunks/{pty-fn68vvm1.js → event-logger-hs8qbhdc.js} +24 -24
  162. package/dist/chunks/{pty-kvsjn1dr.js → event-logger-hw4pv20g.js} +2 -2
  163. package/dist/chunks/{pty-3wx44s71.js → event-logger-j3g33syr.js} +9 -9
  164. package/dist/chunks/{pty-cwfwshwn.js → event-logger-j6qh3c6r.js} +28 -28
  165. package/dist/chunks/{pty-wafa9yr2.js → event-logger-j8fs78by.js} +20 -20
  166. package/dist/chunks/{pty-5qd3pb7m.js → event-logger-j935v87r.js} +2 -2
  167. package/dist/chunks/{pty-seka0gvy.js → event-logger-jmcfde88.js} +4 -4
  168. package/dist/chunks/{pty-vrktewq8.js → event-logger-jnxwsp9s.js} +25 -25
  169. package/dist/chunks/{pty-0363n1t5.js → event-logger-jrtjs9gg.js} +9 -9
  170. package/dist/chunks/{pty-b0mtdz8k.js → event-logger-k2ean0hm.js} +41 -41
  171. package/dist/chunks/{pty-k4bwy1x5.js → event-logger-k4bwy1x5.js} +1 -1
  172. package/dist/chunks/{pty-mmt6p78x.js → event-logger-k4j645x5.js} +22 -22
  173. package/dist/chunks/{pty-1459b0x6.js → event-logger-k575832b.js} +16 -16
  174. package/dist/chunks/{pty-n3qm3e12.js → event-logger-kaxzdh27.js} +11 -11
  175. package/dist/chunks/{pty-xy4dk1dp.js → event-logger-kft55aaf.js} +6 -6
  176. package/dist/chunks/{pty-kg06axw8.js → event-logger-kg06axw8.js} +1 -1
  177. package/dist/chunks/{pty-1bbszw8w.js → event-logger-kgn87dt0.js} +16 -16
  178. package/dist/chunks/{pty-kk3rr3qh.js → event-logger-kk3rr3qh.js} +2 -2
  179. package/dist/chunks/{pty-00nfbmm6.js → event-logger-ks1mw15q.js} +18 -18
  180. package/dist/chunks/{pty-h95089yr.js → event-logger-m3cacpdp.js} +24 -24
  181. package/dist/chunks/{pty-m9w0rfyh.js → event-logger-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{pty-wahfyr88.js → event-logger-mnzf0qgg.js} +15 -15
  183. package/dist/chunks/{pty-jb7pc305.js → event-logger-mq88n3ng.js} +46 -46
  184. package/dist/chunks/{pty-b1bsdq9a.js → event-logger-mra0x5cd.js} +8 -8
  185. package/dist/chunks/{pty-a95b1rzb.js → event-logger-mynagy99.js} +32 -32
  186. package/dist/chunks/{pty-t3v3vr71.js → event-logger-n2sxdf31.js} +29 -29
  187. package/dist/chunks/{pty-4sz2x7hf.js → event-logger-n6rh12ap.js} +7 -7
  188. package/dist/chunks/{pty-xqe0fhba.js → event-logger-nhbw4kpx.js} +10 -10
  189. package/dist/chunks/{pty-q38gg7qs.js → event-logger-nmdzejnn.js} +15 -15
  190. package/dist/chunks/{pty-fyzy9awj.js → event-logger-nn8rcarv.js} +1 -1
  191. package/dist/chunks/{pty-vn9f2x03.js → event-logger-nx3qahkd.js} +14 -14
  192. package/dist/chunks/{pty-577gck9x.js → event-logger-nx4j5qsf.js} +1 -1
  193. package/dist/chunks/{pty-vh2xdqjs.js → event-logger-pgm7ae5m.js} +23 -23
  194. package/dist/chunks/{pty-pjvnvgmy.js → event-logger-pjvnvgmy.js} +1 -1
  195. package/dist/chunks/{pty-pknna89w.js → event-logger-pknna89w.js} +1 -1
  196. package/dist/chunks/{pty-hbax5y4r.js → event-logger-pqgeajyn.js} +18 -18
  197. package/dist/chunks/{pty-tk2yzb1v.js → event-logger-q1vjbhxy.js} +8 -8
  198. package/dist/chunks/{pty-7k8mdtae.js → event-logger-qawf6k84.js} +11 -11
  199. package/dist/chunks/{pty-zx7jt85y.js → event-logger-qeanwbcn.js} +32 -32
  200. package/dist/chunks/{pty-szkq7e78.js → event-logger-qkekek93.js} +16 -16
  201. package/dist/chunks/{pty-ndgdc4c9.js → event-logger-qpvzpfsv.js} +11 -11
  202. package/dist/chunks/{pty-qsdy395h.js → event-logger-qsdy395h.js} +1 -1
  203. package/dist/chunks/{pty-msqtn7fd.js → event-logger-r11njyrn.js} +15 -15
  204. package/dist/chunks/{pty-scd9nzg0.js → event-logger-r31xxp0s.js} +2 -2
  205. package/dist/chunks/{pty-r8dhm0tv.js → event-logger-r8dhm0tv.js} +1 -1
  206. package/dist/chunks/{pty-gy57ja53.js → event-logger-r94krbn8.js} +12 -12
  207. package/dist/chunks/{pty-exrgs9wp.js → event-logger-rf15saw8.js} +10 -10
  208. package/dist/chunks/{pty-9hq8x1wg.js → event-logger-rhe1rhkd.js} +4 -4
  209. package/dist/chunks/{pty-kcb6z3jk.js → event-logger-rjb1sb0e.js} +4 -4
  210. package/dist/chunks/{pty-wdq8bkk0.js → event-logger-rkyzgqd0.js} +25 -25
  211. package/dist/chunks/{pty-759pz1a2.js → event-logger-rpstmqvz.js} +8 -8
  212. package/dist/chunks/{pty-71c4ctfp.js → event-logger-rq543nqh.js} +26 -26
  213. package/dist/chunks/{pty-cznc2qrv.js → event-logger-rr2690n5.js} +9 -9
  214. package/dist/chunks/{pty-2wkcjqsg.js → event-logger-ry0a9y46.js} +1 -1
  215. package/dist/chunks/{pty-bzq1f2yq.js → event-logger-s5amd0ws.js} +27 -27
  216. package/dist/chunks/{pty-sba4qhjf.js → event-logger-sba4qhjf.js} +1 -1
  217. package/dist/chunks/{pty-7w3s9kd0.js → event-logger-spt9fbav.js} +6 -6
  218. package/dist/chunks/{pty-nmjynsra.js → event-logger-ss94fdxg.js} +50 -50
  219. package/dist/chunks/{pty-vkpagyjs.js → event-logger-t03f5674.js} +11 -11
  220. package/dist/chunks/{pty-yxw0cavp.js → event-logger-t0mf683j.js} +7 -7
  221. package/dist/chunks/{pty-g8d3gcyj.js → event-logger-t2fc4mz5.js} +7 -7
  222. package/dist/chunks/{pty-8yr65315.js → event-logger-t4n9vf9m.js} +4 -4
  223. package/dist/chunks/{pty-bct739vz.js → event-logger-t9zs3egg.js} +4 -4
  224. package/dist/chunks/{pty-tazgh4e4.js → event-logger-tazgh4e4.js} +1 -1
  225. package/dist/chunks/{pty-zbqrk12b.js → event-logger-tfw7h05d.js} +13 -13
  226. package/dist/chunks/{pty-zdk6vxsj.js → event-logger-tgtjrhay.js} +86 -86
  227. package/dist/chunks/{pty-jxyej7y6.js → event-logger-th7wrnyd.js} +11 -11
  228. package/dist/chunks/event-logger-thbve8h8.js +460 -0
  229. package/dist/chunks/{pty-graq44t8.js → event-logger-tjtda90p.js} +2 -2
  230. package/dist/chunks/{pty-tjykrgmx.js → event-logger-tjykrgmx.js} +1 -1
  231. package/dist/chunks/{pty-fc5mkwbz.js → event-logger-tm8p6d2n.js} +3 -3
  232. package/dist/chunks/{pty-cfsy2wpb.js → event-logger-tmg7j62d.js} +36 -36
  233. package/dist/chunks/{pty-cq8wrtqn.js → event-logger-tppvcy65.js} +9 -9
  234. package/dist/chunks/{pty-nmg9j082.js → event-logger-tt9qdt9n.js} +31 -31
  235. package/dist/chunks/{pty-9d4vrqc0.js → event-logger-tynz9yxk.js} +9 -9
  236. package/dist/chunks/{pty-be52w0n4.js → event-logger-v3tbpymg.js} +25 -25
  237. package/dist/chunks/{pty-0p9r6mft.js → event-logger-v9gj1rzz.js} +9 -9
  238. package/dist/chunks/{pty-f08hbj4m.js → event-logger-vdn8fb77.js} +22 -22
  239. package/dist/chunks/{pty-96gb8wnx.js → event-logger-vj5n2wyh.js} +8 -8
  240. package/dist/chunks/{pty-ythy6836.js → event-logger-vkfnfj36.js} +1 -1
  241. package/dist/chunks/{pty-4qfjm3y1.js → event-logger-vkn1y4t9.js} +14 -14
  242. package/dist/chunks/event-logger-vnkjks7b.js +18 -0
  243. package/dist/chunks/{pty-hkzxevja.js → event-logger-vnmqmt3b.js} +9 -9
  244. package/dist/chunks/{pty-be60nag3.js → event-logger-vrewfqnt.js} +1 -1
  245. package/dist/chunks/{pty-0vydt2xt.js → event-logger-vv4xtdqm.js} +37 -37
  246. package/dist/chunks/{pty-w3wsvvr9.js → event-logger-w3wsvvr9.js} +1 -1
  247. package/dist/chunks/{pty-0rag4e4f.js → event-logger-w4600456.js} +4 -4
  248. package/dist/chunks/{pty-6my8ebcr.js → event-logger-wba6vet1.js} +4 -4
  249. package/dist/chunks/{pty-2aqpvcef.js → event-logger-wcvbg4sk.js} +30 -30
  250. package/dist/chunks/{pty-wd87259q.js → event-logger-wd87259q.js} +1 -1
  251. package/dist/chunks/{pty-ag4rn41e.js → event-logger-wsfy2223.js} +4 -4
  252. package/dist/chunks/{pty-x1ezjp6w.js → event-logger-x1ezjp6w.js} +1 -1
  253. package/dist/chunks/{pty-qepd2pkj.js → event-logger-x4vht8q3.js} +2 -2
  254. package/dist/chunks/{pty-8w99qwke.js → event-logger-x8m158k6.js} +14 -14
  255. package/dist/chunks/{pty-gnar656t.js → event-logger-xajqexeq.js} +10 -10
  256. package/dist/chunks/{pty-0avfzrjc.js → event-logger-xggrrz8m.js} +27 -27
  257. package/dist/chunks/{pty-p3ds9s6g.js → event-logger-xhpv3p5z.js} +3 -3
  258. package/dist/chunks/{pty-s0gfpzhy.js → event-logger-xj9wkxzj.js} +8 -8
  259. package/dist/chunks/{pty-rp0x3qp0.js → event-logger-xk5brt97.js} +5 -5
  260. package/dist/chunks/{pty-sy5z5695.js → event-logger-xmdjc390.js} +162 -162
  261. package/dist/chunks/{pty-6jea8mds.js → event-logger-xn2yye2k.js} +16 -16
  262. package/dist/chunks/{pty-rgnb5s7e.js → event-logger-xpr0d24v.js} +4 -4
  263. package/dist/chunks/{pty-baqx186v.js → event-logger-xpxp6qhx.js} +6 -6
  264. package/dist/chunks/{pty-ghzvc9jv.js → event-logger-xr1t7wkk.js} +31 -31
  265. package/dist/chunks/{pty-jab386st.js → event-logger-xzj9hzk7.js} +19 -19
  266. package/dist/chunks/{pty-y1fvbwt7.js → event-logger-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{pty-y71avatq.js → event-logger-y71avatq.js} +1 -1
  268. package/dist/chunks/{pty-x5hde6ee.js → event-logger-y9j759kk.js} +4 -4
  269. package/dist/chunks/{pty-cpkp23c7.js → event-logger-ycpnj09z.js} +10 -10
  270. package/dist/chunks/{pty-pcxcrysh.js → event-logger-yecnm2gk.js} +18 -18
  271. package/dist/chunks/{pty-rq421gwk.js → event-logger-yr3nda31.js} +15 -15
  272. package/dist/chunks/{pty-693tgxwd.js → event-logger-ysykkmz7.js} +37 -37
  273. package/dist/chunks/{pty-5aq0nxp3.js → event-logger-ywmycgam.js} +16 -16
  274. package/dist/chunks/{pty-z1k01bn4.js → event-logger-z1k01bn4.js} +2 -2
  275. package/dist/chunks/{pty-1vxvbkdw.js → event-logger-z1vky7gh.js} +11 -11
  276. package/dist/chunks/{pty-z3xgatyd.js → event-logger-z3xgatyd.js} +1 -1
  277. package/dist/chunks/{pty-vjgwbf9e.js → event-logger-z512nx12.js} +17 -17
  278. package/dist/chunks/event-logger-z5h5yern.js +4 -0
  279. package/dist/chunks/{pty-29x78va6.js → event-logger-z63w68vq.js} +6 -6
  280. package/dist/chunks/{pty-qs7zdahm.js → event-logger-zcb9rk6b.js} +5 -5
  281. package/dist/chunks/{pty-gfsgf35y.js → event-logger-zhqrqcxr.js} +5 -5
  282. package/dist/chunks/{pty-y5bfzsd4.js → event-logger-zjkv6nhg.js} +21 -21
  283. package/dist/chunks/{pty-yyy5ev01.js → event-logger-zkq9ev9h.js} +27 -27
  284. package/dist/chunks/{pty-zxq2ej10.js → event-logger-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +7 -7
  287. package/dist/codemode/tool.js +2 -2
  288. package/dist/command.js +83 -83
  289. package/dist/config/discovery.js +79 -79
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +19 -19
  292. package/dist/config/plugin/agent.js +114 -114
  293. package/dist/config/plugin/command.js +205 -205
  294. package/dist/config/plugin/compaction.js +153 -153
  295. package/dist/config/plugin/entry-observer.js +1 -1
  296. package/dist/config/plugin/formatter.js +116 -116
  297. package/dist/config/plugin/image.js +114 -114
  298. package/dist/config/plugin/instruction.js +85 -85
  299. package/dist/config/plugin/location-watcher.js +116 -116
  300. package/dist/config/plugin/mcp.js +123 -123
  301. package/dist/config/plugin/policy.js +113 -113
  302. package/dist/config/plugin/provider.js +112 -112
  303. package/dist/config/plugin/reference.js +116 -116
  304. package/dist/config/plugin/shell.js +117 -117
  305. package/dist/config/plugin/skill-file.js +96 -96
  306. package/dist/config/plugin/skill.js +134 -134
  307. package/dist/config/plugin/snapshot.js +114 -114
  308. package/dist/config/plugin/source.js +116 -116
  309. package/dist/config/plugin/tool-output.js +116 -116
  310. package/dist/config/plugin/websearch.js +114 -114
  311. package/dist/config/plugin/worktree.js +117 -117
  312. package/dist/config/variable.js +3 -3
  313. package/dist/config/watch.js +1 -1
  314. package/dist/config.js +118 -118
  315. package/dist/credential/sql.js +2 -2
  316. package/dist/credential.js +80 -80
  317. package/dist/database/database.js +64 -64
  318. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  319. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  321. package/dist/database/drizzle/index.js +13 -13
  322. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  325. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  326. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  327. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  333. package/dist/database/drizzle.js +14 -14
  334. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  335. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  336. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  337. package/dist/database/migration/20260225215848_workspace.js +1 -1
  338. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  339. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  340. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  341. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  342. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  343. package/dist/database/migration/20260323234822_events.js +1 -1
  344. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  345. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  346. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  347. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  348. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  349. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  350. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  351. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  352. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  353. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  354. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  355. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  356. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  357. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  358. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  359. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  360. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  361. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  362. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  363. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  364. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  365. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  366. package/dist/database/migration/20260611035744_credential.js +1 -1
  367. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  368. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  369. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  370. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  371. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  372. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  373. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  374. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  375. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  376. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  377. package/dist/database/migration/20260812213948_worktree.js +1 -1
  378. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  379. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  380. package/dist/database/migration.gen.js +47 -47
  381. package/dist/database/migration.js +49 -49
  382. package/dist/database/path.js +2 -2
  383. package/dist/database/schema.gen.js +1 -1
  384. package/dist/database/schema.sql.js +1 -1
  385. package/dist/database/sqlite.bun.js +1 -1
  386. package/dist/database/sqlite.js +1 -1
  387. package/dist/database/sqlite.node.js +1 -1
  388. package/dist/database/sqlite.workerd.js +1 -1
  389. package/dist/database/v1-migration.bun.js +74 -74
  390. package/dist/database/v1-migration.js +1 -1
  391. package/dist/effect/app-node-builder.js +358 -358
  392. package/dist/effect/app-node-platform.js +2 -2
  393. package/dist/effect/keyed-mutex.js +1 -1
  394. package/dist/effect/websocket-constructor.js +1 -1
  395. package/dist/environment/driver.js +1 -1
  396. package/dist/environment/environment.js +88 -88
  397. package/dist/environment/exec-defaults.js +2 -2
  398. package/dist/environment/files.js +1 -1
  399. package/dist/environment/index.js +90 -90
  400. package/dist/environment/local.js +2 -2
  401. package/dist/environment/memory.js +2 -2
  402. package/dist/environment/unavailable.js +1 -1
  403. package/dist/event/sql.js +1 -1
  404. package/dist/event-logger.js +68 -68
  405. package/dist/file-mutation.js +89 -89
  406. package/dist/file-retention.js +1 -1
  407. package/dist/file.js +1 -1
  408. package/dist/filesystem/fff.bun.js +2 -2
  409. package/dist/filesystem/fff.js +1 -1
  410. package/dist/filesystem/fff.node.js +2 -2
  411. package/dist/filesystem/fff.workerd.js +2 -2
  412. package/dist/filesystem/ignore.js +1 -1
  413. package/dist/filesystem/location-watcher-policy.js +6 -6
  414. package/dist/filesystem/location-watcher.js +220 -220
  415. package/dist/filesystem/protected.js +3 -3
  416. package/dist/filesystem/search.js +99 -99
  417. package/dist/filesystem/watcher-binding.js +3 -3
  418. package/dist/filesystem/watcher.js +15 -15
  419. package/dist/filesystem.js +100 -100
  420. package/dist/form.js +84 -84
  421. package/dist/formatter/builtins.js +4 -4
  422. package/dist/formatter.js +82 -82
  423. package/dist/generate.js +90 -90
  424. package/dist/git.js +7 -7
  425. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  426. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  427. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  428. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  429. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  431. package/dist/github-copilot/copilot-provider.js +17 -17
  432. package/dist/github-copilot/models.js +7 -7
  433. package/dist/github-copilot/openai-compatible-error.js +1 -1
  434. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  435. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  436. package/dist/github-copilot/responses/openai-error.js +1 -1
  437. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  438. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  439. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  440. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  441. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  442. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  443. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  444. package/dist/id/id.js +1 -1
  445. package/dist/image/photon.js +2 -2
  446. package/dist/image.js +6 -6
  447. package/dist/instance/service.js +5 -5
  448. package/dist/instance.js +349 -349
  449. package/dist/instruction-discovery.js +83 -83
  450. package/dist/instructions/builtins.js +82 -82
  451. package/dist/instructions/index.js +1 -1
  452. package/dist/integration/connection.js +1 -1
  453. package/dist/integration.js +83 -83
  454. package/dist/job.js +77 -77
  455. package/dist/kv/sql.js +2 -2
  456. package/dist/kv.js +71 -71
  457. package/dist/location-activity.js +83 -83
  458. package/dist/location-mutation.js +81 -81
  459. package/dist/location-service-map.js +81 -81
  460. package/dist/location-services.js +346 -346
  461. package/dist/location.js +82 -82
  462. package/dist/mcp/client.js +86 -86
  463. package/dist/mcp/index.js +102 -102
  464. package/dist/mcp/instructions.js +120 -120
  465. package/dist/mcp/oauth.js +2 -2
  466. package/dist/mcp/stdio.js +85 -85
  467. package/dist/mime.js +1 -1
  468. package/dist/modal/models.js +7 -7
  469. package/dist/model-resolver.js +85 -85
  470. package/dist/model.js +8 -8
  471. package/dist/models-dev.js +82 -82
  472. package/dist/oauth/page.js +1 -1
  473. package/dist/permission/saved.js +80 -80
  474. package/dist/permission/sql.js +5 -5
  475. package/dist/permission.js +111 -111
  476. package/dist/persistent-pty/binary.bun.js +1 -1
  477. package/dist/persistent-pty/daemon.js +1 -1
  478. package/dist/persistent-pty/index.js +84 -84
  479. package/dist/persistent-pty/pty-binding.js +1 -1
  480. package/dist/persistent-pty.js +73 -73
  481. package/dist/plugin/agent.js +96 -96
  482. package/dist/plugin/command.js +93 -93
  483. package/dist/plugin/hooks.js +5 -5
  484. package/dist/plugin/host.js +211 -211
  485. package/dist/plugin/instance.js +5 -5
  486. package/dist/plugin/internal.js +320 -320
  487. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  488. package/dist/plugin/models-dev.js +75 -75
  489. package/dist/plugin/module.js +2 -2
  490. package/dist/plugin/plan.js +96 -96
  491. package/dist/plugin/promise.js +1 -1
  492. package/dist/plugin/provider/alibaba.js +2 -2
  493. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  494. package/dist/plugin/provider/anthropic.js +4 -4
  495. package/dist/plugin/provider/azure.js +117 -117
  496. package/dist/plugin/provider/cerebras.js +2 -2
  497. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  498. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  499. package/dist/plugin/provider/cohere.js +2 -2
  500. package/dist/plugin/provider/configured.js +113 -113
  501. package/dist/plugin/provider/dynamic.js +2 -2
  502. package/dist/plugin/provider/factory.js +1 -1
  503. package/dist/plugin/provider/gateway.js +2 -2
  504. package/dist/plugin/provider/github-copilot.js +79 -79
  505. package/dist/plugin/provider/gitlab.js +3 -3
  506. package/dist/plugin/provider/google-vertex.js +2 -2
  507. package/dist/plugin/provider/kilo.js +2 -2
  508. package/dist/plugin/provider/llmgateway.js +75 -75
  509. package/dist/plugin/provider/lmstudio.js +116 -116
  510. package/dist/plugin/provider/mistral.js +2 -2
  511. package/dist/plugin/provider/modal.js +78 -78
  512. package/dist/plugin/provider/nvidia.js +2 -2
  513. package/dist/plugin/provider/ollama.js +116 -116
  514. package/dist/plugin/provider/openai-compatible.js +1 -1
  515. package/dist/plugin/provider/openai.js +79 -79
  516. package/dist/plugin/provider/opencode.js +75 -75
  517. package/dist/plugin/provider/openrouter.js +3 -3
  518. package/dist/plugin/provider/perplexity.js +2 -2
  519. package/dist/plugin/provider/sap-ai-core.js +3 -3
  520. package/dist/plugin/provider/sdk-factory.js +1 -1
  521. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  522. package/dist/plugin/provider/venice.js +2 -2
  523. package/dist/plugin/provider/vercel.js +2 -2
  524. package/dist/plugin/provider/vllm.js +116 -116
  525. package/dist/plugin/provider/xai.js +76 -76
  526. package/dist/plugin/provider/zenmux.js +2 -2
  527. package/dist/plugin/provider.js +154 -154
  528. package/dist/plugin/sdk.js +72 -72
  529. package/dist/plugin/service.js +3 -3
  530. package/dist/plugin/skill.js +131 -131
  531. package/dist/plugin/source-directory.js +1 -1
  532. package/dist/plugin/supervisor.js +335 -335
  533. package/dist/plugin/system-prompt.js +5 -5
  534. package/dist/plugin/update.js +6 -6
  535. package/dist/plugin/variant.js +4 -4
  536. package/dist/plugin/vcs/git.js +82 -82
  537. package/dist/plugin/vcs/hg.js +82 -82
  538. package/dist/plugin/warming.js +111 -111
  539. package/dist/plugin/websearch/exa.js +5 -5
  540. package/dist/plugin/websearch/firecrawl.js +6 -6
  541. package/dist/plugin/websearch/index.js +8 -8
  542. package/dist/plugin/websearch/mcp.js +4 -4
  543. package/dist/plugin/websearch/parallel.js +8 -8
  544. package/dist/plugin/websearch/tavily.js +6 -6
  545. package/dist/plugin.js +218 -218
  546. package/dist/project/schema.js +8 -8
  547. package/dist/project/sql.js +4 -4
  548. package/dist/project.js +85 -85
  549. package/dist/provider.js +5 -5
  550. package/dist/pty/protocol.js +1 -1
  551. package/dist/pty/schema.js +3 -3
  552. package/dist/pty/ticket.js +1 -1
  553. package/dist/pty.js +90 -90
  554. package/dist/reference/instructions.js +84 -84
  555. package/dist/reference.js +86 -86
  556. package/dist/repository-cache.js +76 -76
  557. package/dist/repository.js +3 -3
  558. package/dist/ripgrep/binary.js +2 -2
  559. package/dist/ripgrep.js +91 -91
  560. package/dist/rpc.js +81 -81
  561. package/dist/schema.js +1 -1
  562. package/dist/session/command.js +72 -72
  563. package/dist/session/compaction.js +127 -127
  564. package/dist/session/context.js +145 -145
  565. package/dist/session/environment.js +5 -5
  566. package/dist/session/error.js +7 -7
  567. package/dist/session/event.js +1 -1
  568. package/dist/session/execution/restart.js +214 -214
  569. package/dist/session/execution.js +120 -120
  570. package/dist/session/generate.js +146 -146
  571. package/dist/session/history.js +14 -14
  572. package/dist/session/inbox.js +80 -80
  573. package/dist/session/info.js +3 -3
  574. package/dist/session/instruction-entry.js +77 -77
  575. package/dist/session/instruction-state.js +8 -8
  576. package/dist/session/instructions.js +91 -91
  577. package/dist/session/message-updater.js +2 -2
  578. package/dist/session/message.js +1 -1
  579. package/dist/session/model-request.js +112 -112
  580. package/dist/session/model-transport.js +9 -9
  581. package/dist/session/move.js +124 -124
  582. package/dist/session/projector.js +84 -84
  583. package/dist/session/prompt.js +99 -99
  584. package/dist/session/revert.js +85 -85
  585. package/dist/session/run-coordinator.js +1 -1
  586. package/dist/session/runner/index.js +3 -3
  587. package/dist/session/runner/llm.js +223 -223
  588. package/dist/session/runner/max-steps.js +1 -1
  589. package/dist/session/runner/model.js +85 -85
  590. package/dist/session/runner/publish-llm-event.js +3 -3
  591. package/dist/session/runner/retry.js +4 -4
  592. package/dist/session/runner/step.js +119 -119
  593. package/dist/session/runner/to-llm-message.js +1 -1
  594. package/dist/session/schema.js +5 -5
  595. package/dist/session/session.js +167 -167
  596. package/dist/session/shell.js +130 -130
  597. package/dist/session/skill.js +97 -97
  598. package/dist/session/sql.js +5 -5
  599. package/dist/session/stats.js +71 -71
  600. package/dist/session/store.js +84 -84
  601. package/dist/session/subagent-completion.js +1 -1
  602. package/dist/session/subagent-job.js +203 -203
  603. package/dist/session/system-prompt.js +3 -3
  604. package/dist/session/title.js +149 -149
  605. package/dist/session/to-session-error.js +105 -105
  606. package/dist/session/transfer.js +210 -210
  607. package/dist/session/usage.js +1 -1
  608. package/dist/session.js +211 -211
  609. package/dist/shell/parse.js +6 -6
  610. package/dist/shell/result.js +1 -1
  611. package/dist/shell/scan.js +1 -1
  612. package/dist/shell/select.js +9 -9
  613. package/dist/shell.js +132 -132
  614. package/dist/skill/discovery.js +6 -6
  615. package/dist/skill/instructions.js +101 -101
  616. package/dist/skill.js +106 -106
  617. package/dist/snapshot.js +84 -84
  618. package/dist/state.js +1 -1
  619. package/dist/tool/html-markdown.js +1 -1
  620. package/dist/tool/http-body.js +1 -1
  621. package/dist/tool/mcp.js +117 -117
  622. package/dist/tool/plugin/edit.js +114 -114
  623. package/dist/tool/plugin/file-diff.js +1 -1
  624. package/dist/tool/plugin/glob.js +119 -119
  625. package/dist/tool/plugin/grep.js +119 -119
  626. package/dist/tool/plugin/opencode.js +3 -3
  627. package/dist/tool/plugin/patch.js +116 -116
  628. package/dist/tool/plugin/question.js +97 -97
  629. package/dist/tool/plugin/read.js +120 -120
  630. package/dist/tool/plugin/shell.js +210 -210
  631. package/dist/tool/plugin/skill.js +101 -101
  632. package/dist/tool/plugin/subagent.js +212 -212
  633. package/dist/tool/plugin/webfetch.js +106 -106
  634. package/dist/tool/plugin/websearch.js +108 -108
  635. package/dist/tool/plugin/write.js +116 -116
  636. package/dist/tool/read-filesystem.js +96 -96
  637. package/dist/tool/runtime.js +1 -1
  638. package/dist/tool-output.js +8 -8
  639. package/dist/tool.js +13 -13
  640. package/dist/util/error.js +1 -1
  641. package/dist/util/iife.js +1 -1
  642. package/dist/util/lazy.js +1 -1
  643. package/dist/util/slug.js +1 -1
  644. package/dist/util/token.js +1 -1
  645. package/dist/util/which.js +1 -1
  646. package/dist/util/wildcard.js +1 -1
  647. package/dist/v1/config/agent.js +7 -7
  648. package/dist/v1/config/attachment.js +4 -4
  649. package/dist/v1/config/command.js +5 -5
  650. package/dist/v1/config/config.js +16 -16
  651. package/dist/v1/config/error.js +4 -4
  652. package/dist/v1/config/formatter.js +5 -5
  653. package/dist/v1/config/layout.js +1 -1
  654. package/dist/v1/config/lsp.js +5 -5
  655. package/dist/v1/config/mcp.js +4 -4
  656. package/dist/v1/config/migrate.js +4 -4
  657. package/dist/v1/config/permission.js +7 -7
  658. package/dist/v1/config/plugin.js +3 -3
  659. package/dist/v1/config/provider-options.js +1 -1
  660. package/dist/v1/config/provider.js +4 -4
  661. package/dist/v1/config/server.js +2 -2
  662. package/dist/v1/config/skills.js +3 -3
  663. package/dist/v1/permission.js +1 -1
  664. package/dist/vcs/patch.js +1 -1
  665. package/dist/vcs.js +85 -85
  666. package/dist/websearch.js +80 -80
  667. package/dist/wellknown/plugin.js +74 -74
  668. package/dist/wellknown.js +77 -77
  669. package/dist/workspace/driver.js +3 -3
  670. package/dist/workspace/sql.js +1 -1
  671. package/dist/workspace.js +78 -78
  672. package/dist/worktree/directory.js +2 -2
  673. package/dist/worktree/git.js +7 -7
  674. package/dist/worktree/refresh.js +336 -336
  675. package/dist/worktree/sql.js +5 -5
  676. package/dist/worktree.js +87 -87
  677. package/package.json +7 -7
  678. package/dist/chunks/pty-0t58jqdp.js +0 -247
  679. package/dist/chunks/pty-1x11rq2a.js +0 -18
  680. package/dist/chunks/pty-51e9twpg.js +0 -460
  681. package/dist/chunks/pty-9zwhrd2p.js +0 -4
  682. package/dist/chunks/pty-a0w3frjs.js +0 -22
  683. /package/dist/chunks/{pty-0fabt78z.js → event-logger-0fabt78z.js} +0 -0
  684. /package/dist/chunks/{pty-0qkdqm5v.js → event-logger-0qkdqm5v.js} +0 -0
  685. /package/dist/chunks/{pty-0zkw76rk.js → event-logger-0zkw76rk.js} +0 -0
  686. /package/dist/chunks/{pty-17cy0kzp.js → event-logger-17cy0kzp.js} +0 -0
  687. /package/dist/chunks/{pty-1cnp2v09.js → event-logger-1cnp2v09.js} +0 -0
  688. /package/dist/chunks/{pty-1kg9ymc8.js → event-logger-1kg9ymc8.js} +0 -0
  689. /package/dist/chunks/{pty-2710q6r3.js → event-logger-2710q6r3.js} +0 -0
  690. /package/dist/chunks/{pty-2axfhc9x.js → event-logger-2axfhc9x.js} +0 -0
  691. /package/dist/chunks/{pty-2c3vjs8z.js → event-logger-2c3vjs8z.js} +0 -0
  692. /package/dist/chunks/{pty-359p4xyc.js → event-logger-359p4xyc.js} +0 -0
  693. /package/dist/chunks/{pty-3asan66x.js → event-logger-3asan66x.js} +0 -0
  694. /package/dist/chunks/{pty-3t738kvx.js → event-logger-3t738kvx.js} +0 -0
  695. /package/dist/chunks/{pty-3v8g72cx.js → event-logger-3v8g72cx.js} +0 -0
  696. /package/dist/chunks/{pty-3wcehsnq.js → event-logger-3wcehsnq.js} +0 -0
  697. /package/dist/chunks/{pty-41nvscxy.js → event-logger-41nvscxy.js} +0 -0
  698. /package/dist/chunks/{pty-43n2bw4t.js → event-logger-43n2bw4t.js} +0 -0
  699. /package/dist/chunks/{pty-4knz6hnm.js → event-logger-4knz6hnm.js} +0 -0
  700. /package/dist/chunks/{pty-4y7fprxs.js → event-logger-4y7fprxs.js} +0 -0
  701. /package/dist/chunks/{pty-53557ph1.js → event-logger-53557ph1.js} +0 -0
  702. /package/dist/chunks/{pty-550bvhaj.js → event-logger-550bvhaj.js} +0 -0
  703. /package/dist/chunks/{pty-6prwharc.js → event-logger-6prwharc.js} +0 -0
  704. /package/dist/chunks/{pty-7akdwqpd.js → event-logger-7akdwqpd.js} +0 -0
  705. /package/dist/chunks/{pty-7m9af43g.js → event-logger-7m9af43g.js} +0 -0
  706. /package/dist/chunks/{pty-822emrt2.js → event-logger-822emrt2.js} +0 -0
  707. /package/dist/chunks/{pty-88xbtdfr.js → event-logger-88xbtdfr.js} +0 -0
  708. /package/dist/chunks/{pty-8n3pysct.js → event-logger-8n3pysct.js} +0 -0
  709. /package/dist/chunks/{pty-982e01ww.js → event-logger-982e01ww.js} +0 -0
  710. /package/dist/chunks/{pty-9a4afbnw.js → event-logger-9a4afbnw.js} +0 -0
  711. /package/dist/chunks/{pty-9rqn6x4v.js → event-logger-9rqn6x4v.js} +0 -0
  712. /package/dist/chunks/{pty-a1tpkmh4.js → event-logger-a1tpkmh4.js} +0 -0
  713. /package/dist/chunks/{pty-af5trqkr.js → event-logger-af5trqkr.js} +0 -0
  714. /package/dist/chunks/{pty-afrmfg78.js → event-logger-afrmfg78.js} +0 -0
  715. /package/dist/chunks/{pty-aqzs7mqg.js → event-logger-aqzs7mqg.js} +0 -0
  716. /package/dist/chunks/{pty-atq7p7m5.js → event-logger-atq7p7m5.js} +0 -0
  717. /package/dist/chunks/{pty-bkyjaxrp.js → event-logger-bkyjaxrp.js} +0 -0
  718. /package/dist/chunks/{pty-bmr6ed5q.js → event-logger-bmr6ed5q.js} +0 -0
  719. /package/dist/chunks/{pty-cf4snx6d.js → event-logger-cf4snx6d.js} +0 -0
  720. /package/dist/chunks/{pty-cvy3z8tj.js → event-logger-cvy3z8tj.js} +0 -0
  721. /package/dist/chunks/{pty-d9fn303g.js → event-logger-d9fn303g.js} +0 -0
  722. /package/dist/chunks/{pty-d9jj8t3e.js → event-logger-d9jj8t3e.js} +0 -0
  723. /package/dist/chunks/{pty-dajrwvna.js → event-logger-dajrwvna.js} +0 -0
  724. /package/dist/chunks/{pty-dap0rakb.js → event-logger-dap0rakb.js} +0 -0
  725. /package/dist/chunks/{pty-df08tz66.js → event-logger-df08tz66.js} +0 -0
  726. /package/dist/chunks/{pty-dy18nga0.js → event-logger-dy18nga0.js} +0 -0
  727. /package/dist/chunks/{pty-e5kj55wp.js → event-logger-e5kj55wp.js} +0 -0
  728. /package/dist/chunks/{pty-e73j6tqm.js → event-logger-e73j6tqm.js} +0 -0
  729. /package/dist/chunks/{pty-eh3zwz77.js → event-logger-eh3zwz77.js} +0 -0
  730. /package/dist/chunks/{pty-emrn6kk6.js → event-logger-emrn6kk6.js} +0 -0
  731. /package/dist/chunks/{pty-f0mxakyp.js → event-logger-f0mxakyp.js} +0 -0
  732. /package/dist/chunks/{pty-f6n9ztr4.js → event-logger-f6n9ztr4.js} +0 -0
  733. /package/dist/chunks/{pty-faypxj3z.js → event-logger-faypxj3z.js} +0 -0
  734. /package/dist/chunks/{pty-fd410y7t.js → event-logger-fd410y7t.js} +0 -0
  735. /package/dist/chunks/{pty-fxgpk5d8.js → event-logger-fxgpk5d8.js} +0 -0
  736. /package/dist/chunks/{pty-g4wezp1m.js → event-logger-g4wezp1m.js} +0 -0
  737. /package/dist/chunks/{pty-g86h250q.js → event-logger-g86h250q.js} +0 -0
  738. /package/dist/chunks/{pty-gebd4c9n.js → event-logger-gebd4c9n.js} +0 -0
  739. /package/dist/chunks/{pty-hk9envan.js → event-logger-hk9envan.js} +0 -0
  740. /package/dist/chunks/{pty-j2ntwpah.js → event-logger-j2ntwpah.js} +0 -0
  741. /package/dist/chunks/{pty-j5zkgpj8.js → event-logger-j5zkgpj8.js} +0 -0
  742. /package/dist/chunks/{pty-jr7sbwjy.js → event-logger-jr7sbwjy.js} +0 -0
  743. /package/dist/chunks/{pty-jwfs4k6c.js → event-logger-jwfs4k6c.js} +0 -0
  744. /package/dist/chunks/{pty-jzg6c2d5.js → event-logger-jzg6c2d5.js} +0 -0
  745. /package/dist/chunks/{pty-mntxs535.js → event-logger-mntxs535.js} +0 -0
  746. /package/dist/chunks/{pty-mp448xyj.js → event-logger-mp448xyj.js} +0 -0
  747. /package/dist/chunks/{pty-msx8hqn2.js → event-logger-msx8hqn2.js} +0 -0
  748. /package/dist/chunks/{pty-n05xt0ee.js → event-logger-n05xt0ee.js} +0 -0
  749. /package/dist/chunks/{pty-n3j8tn72.js → event-logger-n3j8tn72.js} +0 -0
  750. /package/dist/chunks/{pty-njntx4h6.js → event-logger-njntx4h6.js} +0 -0
  751. /package/dist/chunks/{pty-p8qxwesx.js → event-logger-p8qxwesx.js} +0 -0
  752. /package/dist/chunks/{pty-q3sfg36h.js → event-logger-q3sfg36h.js} +0 -0
  753. /package/dist/chunks/{pty-q74kybfr.js → event-logger-q74kybfr.js} +0 -0
  754. /package/dist/chunks/{pty-qaymkmh1.js → event-logger-qaymkmh1.js} +0 -0
  755. /package/dist/chunks/{pty-qb87gjwd.js → event-logger-qb87gjwd.js} +0 -0
  756. /package/dist/chunks/{pty-qfa1cgps.js → event-logger-qfa1cgps.js} +0 -0
  757. /package/dist/chunks/{pty-qrg20bc0.js → event-logger-qrg20bc0.js} +0 -0
  758. /package/dist/chunks/{pty-rcb2kzg1.js → event-logger-rcb2kzg1.js} +0 -0
  759. /package/dist/chunks/{pty-sdp7kfr6.js → event-logger-sdp7kfr6.js} +0 -0
  760. /package/dist/chunks/{pty-se0s1eqw.js → event-logger-se0s1eqw.js} +0 -0
  761. /package/dist/chunks/{pty-sk3qaz4a.js → event-logger-sk3qaz4a.js} +0 -0
  762. /package/dist/chunks/{pty-ssg3fenm.js → event-logger-ssg3fenm.js} +0 -0
  763. /package/dist/chunks/{pty-twg0f83k.js → event-logger-twg0f83k.js} +0 -0
  764. /package/dist/chunks/{pty-w803qqfp.js → event-logger-w803qqfp.js} +0 -0
  765. /package/dist/chunks/{pty-wer8tq1h.js → event-logger-wer8tq1h.js} +0 -0
  766. /package/dist/chunks/{pty-wtztk69x.js → event-logger-wtztk69x.js} +0 -0
  767. /package/dist/chunks/{pty-x0ckcb58.js → event-logger-x0ckcb58.js} +0 -0
  768. /package/dist/chunks/{pty-x1b8g1yb.js → event-logger-x1b8g1yb.js} +0 -0
  769. /package/dist/chunks/{pty-x61499pn.js → event-logger-x61499pn.js} +0 -0
  770. /package/dist/chunks/{pty-y44na4kk.js → event-logger-y44na4kk.js} +0 -0
  771. /package/dist/chunks/{pty-y8cydn3q.js → event-logger-y8cydn3q.js} +0 -0
  772. /package/dist/chunks/{pty-ygaqb7jw.js → event-logger-ygaqb7jw.js} +0 -0
  773. /package/dist/chunks/{pty-z9919s4g.js → event-logger-z9919s4g.js} +0 -0
  774. /package/dist/chunks/{pty-zbjnn3ac.js → event-logger-zbjnn3ac.js} +0 -0
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./pty-p8qxwesx.js";
3
+ } from "./event-logger-p8qxwesx.js";
4
4
  import {
5
5
  WorktreeError2,
6
- node82
7
- } from "./pty-jasnfvjs.js";
6
+ node83
7
+ } from "./event-logger-eg4pr325.js";
8
8
  import {
9
- ID17
10
- } from "./pty-cq8wrtqn.js";
9
+ ID18
10
+ } from "./event-logger-tppvcy65.js";
11
11
  import {
12
12
  Slug2
13
- } from "./pty-gebd4c9n.js";
13
+ } from "./event-logger-gebd4c9n.js";
14
14
  import {
15
15
  Service80,
16
16
  node85
17
- } from "./pty-ctwxaq1f.js";
17
+ } from "./event-logger-axxvr9d6.js";
18
18
  import {
19
19
  Service79,
20
20
  node84
21
- } from "./pty-y974v3mv.js";
21
+ } from "./event-logger-4m6zeev3.js";
22
22
  import {
23
23
  ProjectTable2
24
- } from "./pty-qvbcabdc.js";
24
+ } from "./event-logger-9qm9egsn.js";
25
25
  import {
26
26
  WorktreeTable2
27
- } from "./pty-yg7sb877.js";
27
+ } from "./event-logger-ajtjthsy.js";
28
28
  import {
29
- Service72,
30
- node77
31
- } from "./pty-5aq0nxp3.js";
29
+ Service76,
30
+ node81
31
+ } from "./event-logger-ywmycgam.js";
32
32
  import {
33
33
  DirectoryUnavailableError2,
34
34
  canonical2
35
- } from "./pty-93a8yfjt.js";
35
+ } from "./event-logger-93a8yfjt.js";
36
36
  import {
37
- make11
38
- } from "./pty-t3daf40q.js";
37
+ make16
38
+ } from "./event-logger-9csrpy9m.js";
39
39
  import {
40
40
  create3
41
- } from "./pty-kg06axw8.js";
41
+ } from "./event-logger-kg06axw8.js";
42
42
  import {
43
43
  __export
44
- } from "./pty-9rqn6x4v.js";
44
+ } from "./event-logger-9rqn6x4v.js";
45
45
 
46
46
  // src/worktree.ts
47
47
  var exports_worktree2 = {};
@@ -50,20 +50,20 @@ __export(exports_worktree2, {
50
50
  DestinationExistsError: () => DestinationExistsError2,
51
51
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
52
52
  Event: () => Event5,
53
- Info: () => Info3,
53
+ Info: () => Info8,
54
54
  InvalidDirectoryError: () => InvalidDirectoryError2,
55
55
  List: () => List2,
56
56
  ListEntry: () => ListEntry3,
57
57
  OperationError: () => OperationError2,
58
58
  RefreshResult: () => RefreshResult2,
59
59
  RemoveInput: () => RemoveInput2,
60
- Service: () => Service22,
60
+ Service: () => Service36,
61
61
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
62
62
  StrategyID: () => StrategyID2,
63
63
  StrategyUnavailableError: () => StrategyUnavailableError2,
64
64
  UnsupportedLocationError: () => UnsupportedLocationError2,
65
65
  Worktree: () => exports_worktree2,
66
- node: () => node26
66
+ node: () => node39
67
67
  });
68
68
  import { Context, Effect, Layer, Schema } from "effect";
69
69
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -82,11 +82,11 @@ var RefreshResult2 = Schema.Struct({
82
82
  updated: Schema.Array(AbsolutePath2),
83
83
  removed: Schema.Array(AbsolutePath2)
84
84
  }).annotate({ identifier: "Worktree.RefreshResult" });
85
- var Info3 = Worktree.Info;
85
+ var Info8 = Worktree.Info;
86
86
  var List2 = Worktree.List;
87
87
  var ListEntry3 = Worktree.ListEntry;
88
88
 
89
- class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID17, directory: Schema.optional(AbsolutePath2) }) {
89
+ class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID18, directory: Schema.optional(AbsolutePath2) }) {
90
90
  }
91
91
 
92
92
  class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
@@ -102,19 +102,19 @@ class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.Unsupport
102
102
  }
103
103
  var Event5 = Worktree.Event;
104
104
 
105
- class Service22 extends Context.Service()("@opencode/v2/Worktree") {
105
+ class Service36 extends Context.Service()("@opencode/v2/Worktree") {
106
106
  }
107
- var layer = Layer.effect(Service22, Effect.gen(function* () {
107
+ var layer = Layer.effect(Service36, Effect.gen(function* () {
108
108
  const fs = yield* FSUtil.Service;
109
109
  const database = yield* Service80;
110
110
  const db = database.db;
111
111
  const bus = yield* Service79;
112
112
  const processService = yield* AppProcess.Service;
113
- const location = yield* Service72;
113
+ const location = yield* Service76;
114
114
  const global = yield* Global.Service;
115
115
  const projectID = location.project.id;
116
116
  const local = location.workspaceID ? Effect.fail(new UnsupportedLocationError2({ directory: location.directory })) : Effect.void;
117
- const gitStrategy = yield* make11;
117
+ const gitStrategy = yield* make16;
118
118
  const state = create3({
119
119
  name: "worktree",
120
120
  initial: () => ({
@@ -259,7 +259,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
259
259
  yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
260
260
  return changes;
261
261
  });
262
- return Service22.of({
262
+ return Service36.of({
263
263
  transform: state.transform,
264
264
  reload: state.reload,
265
265
  list: Effect.fn("Worktree.list")(function* () {
@@ -271,10 +271,10 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
271
271
  refresh
272
272
  });
273
273
  }));
274
- var node26 = makeLocationNode({
275
- service: Service22,
274
+ var node39 = makeLocationNode({
275
+ service: Service36,
276
276
  layer,
277
- deps: [FSUtil.node, node82, node84, node85, AppProcess.node, node77, Global.node]
277
+ deps: [FSUtil.node, node83, node84, node85, AppProcess.node, node81, Global.node]
278
278
  });
279
279
  function operationError(strategy, operation, error) {
280
280
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -284,4 +284,4 @@ function operationError(strategy, operation, error) {
284
284
  });
285
285
  }
286
286
 
287
- export { StrategyID2, CreateInput2, RemoveInput2, RefreshResult2, Info3, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event5, Service22, node26, exports_worktree2, OperationError2 };
287
+ export { StrategyID2, CreateInput2, RemoveInput2, RefreshResult2, Info8, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event5, Service36, node39, exports_worktree2, OperationError2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./pty-p8qxwesx.js";
3
+ } from "./event-logger-p8qxwesx.js";
4
4
  import {
5
- Info20
6
- } from "./pty-sb910js5.js";
5
+ Info18
6
+ } from "./event-logger-2m4g9ewj.js";
7
7
  import {
8
8
  __export
9
- } from "./pty-9rqn6x4v.js";
9
+ } from "./event-logger-9rqn6x4v.js";
10
10
 
11
11
  // src/v1/config/agent.ts
12
- var exports_agent4 = {};
13
- __export(exports_agent4, {
14
- ConfigAgentV1: () => exports_agent4,
15
- Info: () => Info19
12
+ var exports_agent3 = {};
13
+ __export(exports_agent3, {
14
+ ConfigAgentV1: () => exports_agent3,
15
+ Info: () => Info17
16
16
  });
17
17
  import { Schema, SchemaGetter } from "effect";
18
18
  var Color = Schema.Union([
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
44
44
  description: "Maximum number of agentic iterations before forcing text-only response"
45
45
  }),
46
46
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
47
- permission: Schema.optional(Info20)
47
+ permission: Schema.optional(Info18)
48
48
  }), [Schema.Record(Schema.String, Schema.Any)]);
49
49
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
50
50
  var normalize = (agent) => {
@@ -66,9 +66,9 @@ var normalize = (agent) => {
66
66
  const steps = agent.steps ?? agent.maxSteps;
67
67
  return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
68
68
  };
69
- var Info19 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
69
+ var Info17 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
70
70
  decode: SchemaGetter.transform(normalize),
71
71
  encode: SchemaGetter.passthrough({ strict: false })
72
72
  })).annotate({ identifier: "AgentConfig" });
73
73
 
74
- export { Info19, exports_agent4 };
74
+ export { Info17, exports_agent3 };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service79
3
- } from "./pty-y974v3mv.js";
3
+ } from "./event-logger-4m6zeev3.js";
4
4
  import {
5
- ID18
6
- } from "./pty-tdt6s1r3.js";
5
+ ID13
6
+ } from "./event-logger-6fwq361y.js";
7
7
  import {
8
- ID11
9
- } from "./pty-0ywnm299.js";
8
+ ID12
9
+ } from "./event-logger-ah9gen6x.js";
10
10
  import {
11
- Event16
12
- } from "./pty-bzq1f2yq.js";
11
+ Event18
12
+ } from "./event-logger-s5amd0ws.js";
13
13
  import {
14
- ID5
15
- } from "./pty-pk02mbyy.js";
14
+ ID11
15
+ } from "./event-logger-ay0pnvrs.js";
16
16
  import {
17
- Service48
18
- } from "./pty-vrktewq8.js";
17
+ Service69
18
+ } from "./event-logger-jnxwsp9s.js";
19
19
  import {
20
- get3
21
- } from "./pty-008qgtj7.js";
20
+ get2
21
+ } from "./event-logger-02cz66nk.js";
22
22
 
23
23
  // src/plugin/provider/modal.ts
24
24
  import { Effect, Semaphore, Stream } from "effect";
25
25
  import { define } from "@opencode-ai/plugin/effect/plugin";
26
- var providerID = ID18.make("modal");
26
+ var providerID = ID13.make("modal");
27
27
  var ModalPlugin2 = define({
28
28
  id: "opencode.provider.modal",
29
29
  effect: Effect.fn(function* (ctx) {
30
- const catalog = yield* Service48;
30
+ const catalog = yield* Service69;
31
31
  const bus = yield* Service79;
32
32
  const loading = Semaphore.makeUnsafe(1);
33
33
  const loaded = {};
@@ -47,7 +47,7 @@ var ModalPlugin2 = define({
47
47
  loaded.baseURL = baseURL;
48
48
  const existing = (yield* catalog.model.all()).filter((model) => model.providerID === providerID);
49
49
  loaded.models = yield* Effect.tryPromise({
50
- try: () => get3(baseURL, apiKey, existing),
50
+ try: () => get2(baseURL, apiKey, existing),
51
51
  catch: (cause) => cause
52
52
  }).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
53
53
  });
@@ -58,7 +58,7 @@ var ModalPlugin2 = define({
58
58
  if (!loaded.models)
59
59
  return;
60
60
  for (const id of item.models.keys()) {
61
- if (!loaded.models.has(ID11.make(id)))
61
+ if (!loaded.models.has(ID12.make(id)))
62
62
  evt.model.remove(item.provider.id, id);
63
63
  }
64
64
  for (const [id, model] of loaded.models) {
@@ -66,7 +66,7 @@ var ModalPlugin2 = define({
66
66
  }
67
67
  });
68
68
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
69
- yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID5.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
69
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID11.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
70
70
  yield* refresh().pipe(Effect.forkScoped);
71
71
  })
72
72
  });
@@ -1,12 +1,12 @@
1
1
  import {
2
- ID11
3
- } from "./pty-0ywnm299.js";
2
+ ID12
3
+ } from "./event-logger-ah9gen6x.js";
4
4
  import {
5
- Service62
6
- } from "./pty-amgxn0m4.js";
5
+ Service41
6
+ } from "./event-logger-dfv457cv.js";
7
7
  import {
8
8
  foldSettings2
9
- } from "./pty-qnzq15jm.js";
9
+ } from "./event-logger-gt211jxx.js";
10
10
 
11
11
  // src/plugin/provider/vllm.ts
12
12
  import { define } from "@opencode-ai/plugin/effect/plugin";
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
21
21
  var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
22
22
  var discovery = new Map;
23
23
  var discoveryLock = Semaphore.makeUnsafe(1);
24
- function make4(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
24
+ function make5(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
25
25
  return define({
26
26
  id: "opencode.provider.vllm",
27
27
  effect: Effect.fn(function* (ctx) {
28
28
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
29
- const config = yield* Service62;
29
+ const config = yield* Service41;
30
30
  const source = { current: configured(yield* config.entries(), origin) };
31
31
  const loaded = { models: [], hash: "[]" };
32
32
  yield* ctx.integration.transform((integrations) => {
@@ -53,7 +53,7 @@ function make4(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
53
53
  });
54
54
  for (const item of loaded.models) {
55
55
  catalog.model.update(providerID, item.id, (model) => {
56
- model.modelID = ID11.make(item.id);
56
+ model.modelID = ID12.make(item.id);
57
57
  model.name = item.id;
58
58
  model.capabilities = { tools: false, input: ["text"], output: ["text"] };
59
59
  if (typeof item.max_model_len === "number" && item.max_model_len > 0)
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
112
112
  })
113
113
  });
114
114
  }
115
- var VLLMPlugin2 = make4();
115
+ var VLLMPlugin2 = make5();
116
116
  function configured(entries, origin) {
117
117
  const settings = foldSettings2(entries, providerID, undefined);
118
118
  const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
@@ -134,4 +134,4 @@ function configured(entries, origin) {
134
134
  return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
135
135
  }
136
136
 
137
- export { make4, VLLMPlugin2 };
137
+ export { make5, VLLMPlugin2 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  jitCompatCheck2
3
- } from "./pty-emrn6kk6.js";
3
+ } from "./event-logger-emrn6kk6.js";
4
4
  import {
5
5
  SQLiteEffectDatabase2
6
- } from "./pty-4sz2x7hf.js";
6
+ } from "./event-logger-n6rh12ap.js";
7
7
  import {
8
8
  EffectSQLiteSession2
9
- } from "./pty-be60nag3.js";
9
+ } from "./event-logger-vrewfqnt.js";
10
10
 
11
11
  // src/database/drizzle/effect-sqlite/driver.ts
12
12
  import * as Effect from "effect/Effect";
@@ -1,44 +1,44 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node52
5
- } from "./pty-vkpagyjs.js";
4
+ node41
5
+ } from "./event-logger-t03f5674.js";
6
6
  import {
7
- Service69,
8
- node74
9
- } from "./pty-s0gfpzhy.js";
7
+ Service62,
8
+ node66
9
+ } from "./event-logger-xj9wkxzj.js";
10
10
  import {
11
11
  DeclinedError2
12
- } from "./pty-eqyz6y0f.js";
12
+ } from "./event-logger-1bwnd4hf.js";
13
13
  import {
14
14
  CancelledError2
15
- } from "./pty-pjdqv3xm.js";
15
+ } from "./event-logger-amdbyq20.js";
16
16
  import {
17
- Error3
18
- } from "./pty-qydr0h4k.js";
17
+ Error4
18
+ } from "./event-logger-1m9v8mn3.js";
19
19
  import {
20
- Service39,
21
- node42
22
- } from "./pty-1vxvbkdw.js";
20
+ Service27,
21
+ node29
22
+ } from "./event-logger-z1vky7gh.js";
23
23
  import {
24
- make16
25
- } from "./pty-0rag4e4f.js";
24
+ make14
25
+ } from "./event-logger-w4600456.js";
26
26
  import {
27
27
  toLLMMessages2
28
- } from "./pty-zbjnn3ac.js";
28
+ } from "./event-logger-zbjnn3ac.js";
29
29
  import {
30
30
  __export
31
- } from "./pty-9rqn6x4v.js";
31
+ } from "./event-logger-9rqn6x4v.js";
32
32
 
33
33
  // src/session/model-request.ts
34
34
  var exports_model_request = {};
35
35
  __export(exports_model_request, {
36
- Service: () => Service38,
36
+ Service: () => Service26,
37
37
  SessionModelRequest: () => exports_model_request,
38
38
  baseTranscript: () => baseTranscript2,
39
39
  boundImages: () => boundImages2,
40
- layer: () => layer16,
41
- node: () => node41,
40
+ layer: () => layer12,
41
+ node: () => node28,
42
42
  unsupportedParts: () => unsupportedParts2
43
43
  });
44
44
  import { HttpOptions, LanguageModel, LLM, LLMRequest, Message, SystemPart } from "@opencode-ai/ai";
@@ -58,7 +58,7 @@ var baseTranscript2 = (input) => {
58
58
  return {
59
59
  providerMetadataKey,
60
60
  system: [
61
- input.agent.system ? input.agent.system : make16(input.tools.definitions.map((tool) => tool.name)),
61
+ input.agent.system ? input.agent.system : make14(input.tools.definitions.map((tool) => tool.name)),
62
62
  input.initial
63
63
  ].filter((part) => part.length > 0).map(SystemPart.make),
64
64
  messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
@@ -185,11 +185,11 @@ var httpMiddleware = (hooks, scope) => (request, handler) => Effect.gen(function
185
185
  return HttpClientResponse.fromWeb(sent, after.response);
186
186
  }).pipe(Effect.mapError((cause) => cause instanceof Error ? cause : new Error(String(cause))));
187
187
 
188
- class Service38 extends Context.Service()("@opencode/SessionModelRequest") {
188
+ class Service26 extends Context.Service()("@opencode/SessionModelRequest") {
189
189
  }
190
- var layer16 = Layer.effect(Service38, Effect.gen(function* () {
191
- const hooks = yield* Service69;
192
- const transport = yield* Service39;
190
+ var layer12 = Layer.effect(Service26, Effect.gen(function* () {
191
+ const hooks = yield* Service62;
192
+ const transport = yield* Service27;
193
193
  const app = yield* Metadata2;
194
194
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (input) {
195
195
  const session = input.scope.session;
@@ -197,7 +197,7 @@ var layer16 = Layer.effect(Service38, Effect.gen(function* () {
197
197
  const model = resolved.model;
198
198
  const tools = input.scope.tools ?? {
199
199
  definitions: [],
200
- execute: () => new Error3({ message: "Tools are not available for this request" })
200
+ execute: () => new Error4({ message: "Tools are not available for this request" })
201
201
  };
202
202
  const registry = new Map(tools.definitions.map((tool) => [tool.name, tool]));
203
203
  const given = new Map(tools.definitions.map((tool) => [{ description: tool.description, input: { ...tool.inputSchema } }, tool]));
@@ -254,12 +254,12 @@ var layer16 = Layer.effect(Service38, Effect.gen(function* () {
254
254
  executeTool
255
255
  };
256
256
  });
257
- return Service38.of({ prepare });
257
+ return Service26.of({ prepare });
258
258
  }));
259
- var node41 = makeLocationNode({
260
- service: Service38,
261
- layer: layer16,
262
- deps: [node74, node42, node52]
259
+ var node28 = makeLocationNode({
260
+ service: Service26,
261
+ layer: layer12,
262
+ deps: [node66, node29, node41]
263
263
  });
264
264
 
265
- export { baseTranscript2, unsupportedParts2, boundImages2, Service38, layer16, node41, exports_model_request };
265
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service26, layer12, node28, exports_model_request };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  which2
3
- } from "./pty-qaymkmh1.js";
3
+ } from "./event-logger-qaymkmh1.js";
4
4
 
5
5
  // src/formatter/builtins.ts
6
6
  import { Effect } from "effect";
7
7
  import { ChildProcess } from "effect/unstable/process";
8
- function make8(input) {
8
+ function make6(input) {
9
9
  const disabled = false;
10
10
  const findExecutable = (name) => which2(name, undefined, input.bin);
11
11
  const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
@@ -261,4 +261,4 @@ function isRecord(input) {
261
261
  return Boolean(input && typeof input === "object" && !Array.isArray(input));
262
262
  }
263
263
 
264
- export { make8 };
264
+ export { make6 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./event-logger-9rqn6x4v.js";
4
4
 
5
5
  // src/filesystem/protected.ts
6
6
  var exports_protected = {};
7
7
  __export(exports_protected, {
8
8
  Protected: () => exports_protected,
9
9
  isHome: () => isHome2,
10
- names: () => names3,
10
+ names: () => names4,
11
11
  paths: () => paths2
12
12
  });
13
13
  import os from "os";
@@ -41,7 +41,7 @@ var DARWIN_LIBRARY = [
41
41
  ];
42
42
  var DARWIN_ROOT = ["/.DocumentRevisions-V100", "/.Spotlight-V100", "/.Trashes", "/.fseventsd"];
43
43
  var WIN32_HOME = ["AppData", "Downloads", "Desktop", "Documents", "Pictures", "Music", "Videos", "OneDrive"];
44
- function names3() {
44
+ function names4() {
45
45
  if (process.platform === "darwin")
46
46
  return new Set(DARWIN_HOME);
47
47
  if (process.platform === "win32")
@@ -60,4 +60,4 @@ function paths2() {
60
60
  return [];
61
61
  }
62
62
 
63
- export { isHome2, names3, paths2, exports_protected };
63
+ export { isHome2, names4, paths2, exports_protected };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./pty-ctwxaq1f.js";
4
+ } from "./event-logger-axxvr9d6.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./pty-y71avatq.js";
7
+ } from "./event-logger-y71avatq.js";
8
8
  import {
9
9
  Binding2,
10
10
  RegistryService2,
11
- node72
12
- } from "./pty-ttbkqz8v.js";
11
+ node80
12
+ } from "./event-logger-e85xrhz5.js";
13
13
  import {
14
14
  WorkspaceTable2
15
- } from "./pty-faypxj3z.js";
15
+ } from "./event-logger-faypxj3z.js";
16
16
  import {
17
17
  __export
18
- } from "./pty-9rqn6x4v.js";
18
+ } from "./event-logger-9rqn6x4v.js";
19
19
 
20
20
  // src/workspace.ts
21
21
  var exports_workspace = {};
22
22
  __export(exports_workspace, {
23
23
  CreateConflict: () => CreateConflict2,
24
- ID: () => ID12,
25
- Info: () => Info23,
24
+ ID: () => ID16,
25
+ Info: () => Info29,
26
26
  NotFound: () => NotFound3,
27
- Service: () => Service67,
27
+ Service: () => Service75,
28
28
  Workspace: () => exports_workspace,
29
- configured: () => configured10,
30
- node: () => node71
29
+ configured: () => configured11,
30
+ node: () => node79
31
31
  });
32
32
  import { Workspace } from "@opencode-ai/schema/workspace";
33
33
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
35
35
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
36
36
  import { systemError } from "effect/PlatformError";
37
37
  import { make } from "effect/unstable/process/ChildProcessSpawner";
38
- var ID12 = Workspace.ID;
38
+ var ID16 = Workspace.ID;
39
39
 
40
- class Info23 extends Schema.Class("Workspace.Info")({
41
- id: ID12,
40
+ class Info29 extends Schema.Class("Workspace.Info")({
41
+ id: ID16,
42
42
  provider: Schema.String,
43
43
  binding: Binding2,
44
44
  createdAt: Schema.Number,
@@ -46,24 +46,24 @@ class Info23 extends Schema.Class("Workspace.Info")({
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID12 }) {
49
+ class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID16 }) {
50
50
  }
51
51
 
52
52
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
53
- workspaceID: ID12,
53
+ workspaceID: ID16,
54
54
  provider: Schema.String,
55
55
  existingProvider: Schema.String
56
56
  }) {
57
57
  }
58
58
 
59
- class Service67 extends Context.Service()("@opencode/Workspace") {
59
+ class Service75 extends Context.Service()("@opencode/Workspace") {
60
60
  }
61
- var configured10 = (options = {}) => makeGlobalNode({
62
- service: Service67,
61
+ var configured11 = (options = {}) => makeGlobalNode({
62
+ service: Service75,
63
63
  layer: layer(options),
64
- deps: [node85, node72]
64
+ deps: [node85, node80]
65
65
  });
66
- var layer = (options) => Layer.effect(Service67, Effect.gen(function* () {
66
+ var layer = (options) => Layer.effect(Service75, Effect.gen(function* () {
67
67
  const db = (yield* Service80).db;
68
68
  const registry = yield* RegistryService2;
69
69
  const lifetime = yield* Scope.Scope;
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service67, Effect.gen(function* () {
80
80
  return row;
81
81
  });
82
82
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
83
- const info = (row, binding) => new Info23({
83
+ const info = (row, binding) => new Info29({
84
84
  id: row.id,
85
85
  provider: row.provider,
86
86
  binding,
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service67, Effect.gen(function* () {
154
154
  yield* Scope.close(connection.scope, Exit.void);
155
155
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
156
156
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
157
- return Service67.of({
157
+ return Service75.of({
158
158
  create: Effect.fn("Workspace.create")(function* (input) {
159
- const workspaceID = input.id ?? ID12.create();
159
+ const workspaceID = input.id ?? ID16.create();
160
160
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
161
161
  if (existing) {
162
162
  if (existing.provider === input.provider)
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service67, Effect.gen(function* () {
221
221
  })
222
222
  });
223
223
  }));
224
- var node71 = configured10();
224
+ var node79 = configured11();
225
225
 
226
- export { ID12, Info23, NotFound3, CreateConflict2, Service67, configured10, node71, exports_workspace };
226
+ export { ID16, Info29, NotFound3, CreateConflict2, Service75, configured11, node79, exports_workspace };