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

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 (773) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +73 -73
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{event-logger-j8fs78by.js → bus-007dvjm0.js} +20 -20
  9. package/dist/chunks/{event-logger-8g4myvzm.js → bus-099ksjr7.js} +5 -5
  10. package/dist/chunks/{event-logger-wsfy2223.js → bus-0dv7911r.js} +4 -4
  11. package/dist/chunks/{event-logger-0e0xafbb.js → bus-0e0xafbb.js} +2 -2
  12. package/dist/chunks/{event-logger-r31xxp0s.js → bus-0ez61b8c.js} +2 -2
  13. package/dist/chunks/{event-logger-dseghc32.js → bus-0kkm17qb.js} +24 -24
  14. package/dist/chunks/{event-logger-n2sxdf31.js → bus-0mccjmkq.js} +32 -32
  15. package/dist/chunks/{event-logger-xajqexeq.js → bus-0njd92bg.js} +10 -10
  16. package/dist/chunks/{event-logger-0paq2nw3.js → bus-0paq2nw3.js} +1 -1
  17. package/dist/chunks/{event-logger-0s9ayhjt.js → bus-0s9ayhjt.js} +1 -1
  18. package/dist/chunks/{event-logger-hpkkrthc.js → bus-0vdrg7q8.js} +9 -9
  19. package/dist/chunks/{event-logger-tfw7h05d.js → bus-0x9msrqt.js} +13 -13
  20. package/dist/chunks/{event-logger-xhpv3p5z.js → bus-14hmenm3.js} +3 -3
  21. package/dist/chunks/{event-logger-kaxzdh27.js → bus-19ghveyz.js} +11 -11
  22. package/dist/chunks/{event-logger-7yh4e7ss.js → bus-1bbkgx8g.js} +3 -3
  23. package/dist/chunks/{event-logger-1ct4r87x.js → bus-1ct4r87x.js} +1 -1
  24. package/dist/chunks/{event-logger-6e958v7x.js → bus-1z80kc63.js} +8 -8
  25. package/dist/chunks/{event-logger-21r38tys.js → bus-21r38tys.js} +1 -1
  26. package/dist/chunks/{event-logger-2402vzrj.js → bus-2402vzrj.js} +1 -1
  27. package/dist/chunks/{event-logger-2a5m3afh.js → bus-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{event-logger-vrewfqnt.js → bus-2cryvejd.js} +1 -1
  29. package/dist/chunks/{event-logger-2ht70gj7.js → bus-2ht70gj7.js} +1 -1
  30. package/dist/chunks/{event-logger-2jqmte8w.js → bus-2jqmte8w.js} +2 -2
  31. package/dist/chunks/{event-logger-spt9fbav.js → bus-2y34zzjz.js} +6 -6
  32. package/dist/chunks/{event-logger-a5cfrypt.js → bus-36j5nzcr.js} +17 -17
  33. package/dist/chunks/{event-logger-w4600456.js → bus-36mzbjn4.js} +4 -4
  34. package/dist/chunks/{event-logger-ks1mw15q.js → bus-37h71zvm.js} +25 -25
  35. package/dist/chunks/{event-logger-yr3nda31.js → bus-3dj32zjz.js} +20 -20
  36. package/dist/chunks/{event-logger-0cy25tfm.js → bus-3dpaf6yv.js} +57 -57
  37. package/dist/chunks/{event-logger-3fc6dm20.js → bus-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{event-logger-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{event-logger-zkq9ev9h.js → bus-3hf4cecm.js} +31 -31
  40. package/dist/chunks/{event-logger-3qzbfqsy.js → bus-3qzbfqsy.js} +2 -2
  41. package/dist/chunks/{event-logger-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{event-logger-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{event-logger-ah9gen6x.js → bus-3wfq9j39.js} +12 -12
  44. package/dist/chunks/{event-logger-454k5vzh.js → bus-454k5vzh.js} +1 -1
  45. package/dist/chunks/{event-logger-13nnacyb.js → bus-45njm9q3.js} +13 -13
  46. package/dist/chunks/{event-logger-qkekek93.js → bus-48186013.js} +17 -17
  47. package/dist/chunks/{event-logger-wba6vet1.js → bus-4cb9c786.js} +4 -4
  48. package/dist/chunks/{event-logger-4r2nyarf.js → bus-4r2nyarf.js} +1 -1
  49. package/dist/chunks/{event-logger-bjx73de6.js → bus-4ttn3f9n.js} +18 -18
  50. package/dist/chunks/bus-4v7qdvcn.js +18 -0
  51. package/dist/chunks/{event-logger-6fwq361y.js → bus-4z6b0fg6.js} +6 -6
  52. package/dist/chunks/{event-logger-c370bb3n.js → bus-53gb87fg.js} +44 -44
  53. package/dist/chunks/{event-logger-t03f5674.js → bus-570hbvwx.js} +8 -8
  54. package/dist/chunks/{event-logger-nhbw4kpx.js → bus-593bc3zc.js} +10 -10
  55. package/dist/chunks/{event-logger-5daktx2q.js → bus-5daktx2q.js} +1 -1
  56. package/dist/chunks/{event-logger-t0mf683j.js → bus-5dbnxb1n.js} +7 -7
  57. package/dist/chunks/{event-logger-5fmxt4p5.js → bus-5fmxt4p5.js} +1 -1
  58. package/dist/chunks/{event-logger-nx3qahkd.js → bus-5g33tj6b.js} +14 -14
  59. package/dist/chunks/{event-logger-bf4jq1tz.js → bus-5jmn74tv.js} +6 -6
  60. package/dist/chunks/{event-logger-5jvc5tg2.js → bus-5jvc5tg2.js} +1 -1
  61. package/dist/chunks/{event-logger-bncvnm42.js → bus-5k3f87xj.js} +1 -1
  62. package/dist/chunks/{event-logger-b82t57ej.js → bus-5rj9yf9k.js} +11 -11
  63. package/dist/chunks/{event-logger-tynz9yxk.js → bus-637qq8n2.js} +9 -9
  64. package/dist/chunks/{event-logger-7yaq8a5f.js → bus-65vwahm5.js} +6 -6
  65. package/dist/chunks/{event-logger-1bwnd4hf.js → bus-669mtdgb.js} +45 -45
  66. package/dist/chunks/{event-logger-99hgvjf7.js → bus-6m5hv89w.js} +11 -11
  67. package/dist/chunks/{event-logger-xmdjc390.js → bus-6p81611h.js} +162 -162
  68. package/dist/chunks/{event-logger-xn2yye2k.js → bus-6qpq0xzz.js} +16 -16
  69. package/dist/chunks/{event-logger-d4fga7fm.js → bus-6s48shje.js} +3 -3
  70. package/dist/chunks/{event-logger-vj5n2wyh.js → bus-6tygk997.js} +10 -10
  71. package/dist/chunks/{event-logger-6z5bwd8g.js → bus-6z5bwd8g.js} +2 -2
  72. package/dist/chunks/{event-logger-axxvr9d6.js → bus-6zyntcx9.js} +3 -3
  73. package/dist/chunks/{event-logger-0qjj9ymt.js → bus-708bhwm5.js} +10 -10
  74. package/dist/chunks/{event-logger-711hfp6y.js → bus-711hfp6y.js} +2 -2
  75. package/dist/chunks/{event-logger-72nftnjy.js → bus-72nftnjy.js} +2 -2
  76. package/dist/chunks/{event-logger-1m9v8mn3.js → bus-74k3x0m5.js} +21 -21
  77. package/dist/chunks/{event-logger-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{event-logger-vkn1y4t9.js → bus-7httqr41.js} +20 -20
  79. package/dist/chunks/{event-logger-e2dewr1q.js → bus-7prj1563.js} +14 -14
  80. package/dist/chunks/{event-logger-4n5vt0rn.js → bus-862r0hmq.js} +53 -53
  81. package/dist/chunks/{event-logger-atzdg8qx.js → bus-86s3977f.js} +1 -1
  82. package/dist/chunks/{event-logger-q1vjbhxy.js → bus-88ev9a66.js} +5 -5
  83. package/dist/chunks/{event-logger-54q4ab61.js → bus-8kg6mr26.js} +18 -18
  84. package/dist/chunks/{event-logger-6fy45jp5.js → bus-8q4mgm57.js} +4 -4
  85. package/dist/chunks/{event-logger-dfzjqex4.js → bus-8ryk0bb9.js} +5 -5
  86. package/dist/chunks/{event-logger-4ffk9bk5.js → bus-8xr8g0dt.js} +9 -9
  87. package/dist/chunks/{event-logger-7np481va.js → bus-8ye04jk8.js} +16 -16
  88. package/dist/chunks/{event-logger-5jf9zvh7.js → bus-8yq59nhy.js} +17 -17
  89. package/dist/chunks/{event-logger-ysykkmz7.js → bus-901gzjjm.js} +37 -37
  90. package/dist/chunks/{event-logger-zhqrqcxr.js → bus-93131cf0.js} +5 -5
  91. package/dist/chunks/{event-logger-93a8yfjt.js → bus-93a8yfjt.js} +2 -2
  92. package/dist/chunks/{event-logger-xzj9hzk7.js → bus-94vsv0sa.js} +17 -17
  93. package/dist/chunks/{event-logger-6h414ywr.js → bus-9d4efts8.js} +5 -5
  94. package/dist/chunks/{event-logger-qeanwbcn.js → bus-9d4wfkp0.js} +32 -32
  95. package/dist/chunks/{event-logger-2qfefwnw.js → bus-9ezmfr4d.js} +3 -3
  96. package/dist/chunks/{event-logger-h4pz2xm7.js → bus-9r4cyneb.js} +25 -25
  97. package/dist/chunks/{event-logger-z3xgatyd.js → bus-a3x9xvd8.js} +4 -4
  98. package/dist/chunks/{event-logger-k575832b.js → bus-a494ggh4.js} +10 -10
  99. package/dist/chunks/{event-logger-aaet6srn.js → bus-aaet6srn.js} +2 -2
  100. package/dist/chunks/bus-anw4cmh3.js +4 -0
  101. package/dist/chunks/{event-logger-ay0pnvrs.js → bus-ar6r26gf.js} +28 -28
  102. package/dist/chunks/{event-logger-9714khfe.js → bus-arsbtf4n.js} +20 -20
  103. package/dist/chunks/{event-logger-7yg14vcd.js → bus-at9x16kw.js} +28 -28
  104. package/dist/chunks/{event-logger-avrzsbhx.js → bus-azaycewg.js} +20 -20
  105. package/dist/chunks/{event-logger-tppvcy65.js → bus-b0m1y6mq.js} +9 -9
  106. package/dist/chunks/{event-logger-qawf6k84.js → bus-b2wj7kwr.js} +11 -11
  107. package/dist/chunks/{event-logger-b6gygkdw.js → bus-b6gygkdw.js} +2 -2
  108. package/dist/chunks/{event-logger-hngne7ee.js → bus-b8nbcbsg.js} +9 -9
  109. package/dist/chunks/{event-logger-b9wsbatv.js → bus-b9wsbatv.js} +1 -1
  110. package/dist/chunks/{event-logger-bphmvjfp.js → bus-bcezcar3.js} +5 -5
  111. package/dist/chunks/{event-logger-5knqzda6.js → bus-bgjx49te.js} +20 -20
  112. package/dist/chunks/{event-logger-k2ean0hm.js → bus-br62jje5.js} +38 -38
  113. package/dist/chunks/{event-logger-a2rthcw1.js → bus-bseqm2ca.js} +18 -18
  114. package/dist/chunks/{event-logger-yecnm2gk.js → bus-c8afrcwz.js} +15 -15
  115. package/dist/chunks/{event-logger-6mxrwzjk.js → bus-ca0hpr7t.js} +11 -11
  116. package/dist/chunks/{event-logger-jrtjs9gg.js → bus-ccgr98mz.js} +9 -9
  117. package/dist/chunks/{event-logger-dfv457cv.js → bus-cfrqkav1.js} +45 -45
  118. package/dist/chunks/{event-logger-gpsmhah5.js → bus-cqdj2zee.js} +16 -16
  119. package/dist/chunks/{event-logger-rr2690n5.js → bus-crh3pn7j.js} +9 -9
  120. package/dist/chunks/{event-logger-6mwj1pae.js → bus-cyn6trz2.js} +6 -6
  121. package/dist/chunks/{event-logger-dwfxx02h.js → bus-d2rwh673.js} +18 -18
  122. package/dist/chunks/{event-logger-z1vky7gh.js → bus-dc4554sh.js} +11 -11
  123. package/dist/chunks/{event-logger-x8m158k6.js → bus-dn6skpfz.js} +14 -14
  124. package/dist/chunks/{event-logger-fej0en8h.js → bus-dqe3fw1x.js} +10 -10
  125. package/dist/chunks/{event-logger-2ftxdpw7.js → bus-ds0rx3zk.js} +16 -16
  126. package/dist/chunks/{event-logger-ycpnj09z.js → bus-e2sc323g.js} +10 -10
  127. package/dist/chunks/{event-logger-nn8rcarv.js → bus-e5b0qn1c.js} +1 -1
  128. package/dist/chunks/{event-logger-y9j759kk.js → bus-e5pxfhgv.js} +4 -4
  129. package/dist/chunks/{event-logger-zjkv6nhg.js → bus-e8ja81sx.js} +11 -11
  130. package/dist/chunks/{event-logger-axzb5kc8.js → bus-ecj1d35v.js} +6 -6
  131. package/dist/chunks/{event-logger-75ves8gm.js → bus-ers0pt04.js} +22 -22
  132. package/dist/chunks/bus-ex6w7h60.js +22 -0
  133. package/dist/chunks/{event-logger-v9gj1rzz.js → bus-exbytbx3.js} +9 -9
  134. package/dist/chunks/{event-logger-ez5b8bq3.js → bus-ez5b8bq3.js} +1 -1
  135. package/dist/chunks/{event-logger-41mncz27.js → bus-famd3pv6.js} +5 -5
  136. package/dist/chunks/{event-logger-dgf2qf9w.js → bus-fnxzs0zj.js} +20 -20
  137. package/dist/chunks/{event-logger-fxbjtjnd.js → bus-fxbjtjnd.js} +1 -1
  138. package/dist/chunks/{event-logger-fxypknc8.js → bus-fxypknc8.js} +1 -1
  139. package/dist/chunks/{event-logger-z512nx12.js → bus-g1w7kbk3.js} +17 -17
  140. package/dist/chunks/{event-logger-hrvm11jt.js → bus-g2dy4bvs.js} +3 -3
  141. package/dist/chunks/{event-logger-d72308c8.js → bus-g2gt0w0k.js} +2 -2
  142. package/dist/chunks/{event-logger-zcb9rk6b.js → bus-g41n1fn3.js} +5 -5
  143. package/dist/chunks/{event-logger-3aqmas22.js → bus-g4pn5evg.js} +11 -11
  144. package/dist/chunks/{event-logger-1s8r4w4e.js → bus-g7fn2nxc.js} +33 -33
  145. package/dist/chunks/{event-logger-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
  146. package/dist/chunks/{event-logger-j6qh3c6r.js → bus-gdyavges.js} +32 -32
  147. package/dist/chunks/{event-logger-r11njyrn.js → bus-gpxh8apv.js} +14 -14
  148. package/dist/chunks/{event-logger-4m6zeev3.js → bus-gyrty9a0.js} +4 -4
  149. package/dist/chunks/bus-gzzxkm3c.js +247 -0
  150. package/dist/chunks/{event-logger-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
  151. package/dist/chunks/{event-logger-2a8s8ztn.js → bus-h9vk3x5a.js} +13 -13
  152. package/dist/chunks/{event-logger-by65e51k.js → bus-hd7305av.js} +32 -32
  153. package/dist/chunks/{event-logger-hs8qbhdc.js → bus-hen36v2j.js} +22 -22
  154. package/dist/chunks/{event-logger-heyhwy2w.js → bus-heyhwy2w.js} +1 -1
  155. package/dist/chunks/{event-logger-0k45et74.js → bus-hfr11a94.js} +9 -9
  156. package/dist/chunks/{event-logger-2m4g9ewj.js → bus-hha4zry8.js} +4 -4
  157. package/dist/chunks/{event-logger-fqyt6sf6.js → bus-hhaz7as1.js} +17 -17
  158. package/dist/chunks/{event-logger-rkyzgqd0.js → bus-hv52frfs.js} +25 -25
  159. package/dist/chunks/{event-logger-hw4pv20g.js → bus-hw4pv20g.js} +2 -2
  160. package/dist/chunks/{event-logger-nmdzejnn.js → bus-hzfc5e89.js} +15 -15
  161. package/dist/chunks/{event-logger-ywmycgam.js → bus-j1pn5v0m.js} +17 -17
  162. package/dist/chunks/{event-logger-pqgeajyn.js → bus-j6f8vpjn.js} +21 -21
  163. package/dist/chunks/{event-logger-tgtjrhay.js → bus-j6p1aehr.js} +82 -82
  164. package/dist/chunks/{event-logger-t2fc4mz5.js → bus-jfqtm2ew.js} +4 -4
  165. package/dist/chunks/{event-logger-v3tbpymg.js → bus-jnq64gng.js} +24 -24
  166. package/dist/chunks/{event-logger-dfvjmczd.js → bus-jwcs8hd7.js} +9 -9
  167. package/dist/chunks/{event-logger-y71avatq.js → bus-jwcy2c2z.js} +4 -4
  168. package/dist/chunks/{event-logger-7n2tcerd.js → bus-jy1b6ewz.js} +8 -8
  169. package/dist/chunks/{event-logger-jnxwsp9s.js → bus-k2ahb10n.js} +25 -25
  170. package/dist/chunks/{event-logger-3vma5df0.js → bus-k2x2knng.js} +24 -24
  171. package/dist/chunks/{event-logger-k4bwy1x5.js → bus-k4bwy1x5.js} +1 -1
  172. package/dist/chunks/{event-logger-kg06axw8.js → bus-kg06axw8.js} +1 -1
  173. package/dist/chunks/{event-logger-gt211jxx.js → bus-kkxjn8gg.js} +7 -7
  174. package/dist/chunks/{event-logger-tmg7j62d.js → bus-kvk9z22h.js} +36 -36
  175. package/dist/chunks/{event-logger-gy8nx2k9.js → bus-kw84e4xy.js} +6 -6
  176. package/dist/chunks/{event-logger-5fnfwqar.js → bus-m3fm0fm8.js} +5 -5
  177. package/dist/chunks/{event-logger-3hege6zb.js → bus-m7vkk1dw.js} +23 -23
  178. package/dist/chunks/{event-logger-frxc79s3.js → bus-m909ryej.js} +20 -20
  179. package/dist/chunks/{event-logger-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
  180. package/dist/chunks/{event-logger-nx4j5qsf.js → bus-mcxg6pmm.js} +1 -1
  181. package/dist/chunks/{event-logger-2bbpb5tz.js → bus-mkf7z2fx.js} +37 -37
  182. package/dist/chunks/{event-logger-k4j645x5.js → bus-mn4d6yy8.js} +26 -26
  183. package/dist/chunks/{event-logger-eg4pr325.js → bus-mngcm6jy.js} +10 -10
  184. package/dist/chunks/{event-logger-r94krbn8.js → bus-mnj85pt4.js} +12 -12
  185. package/dist/chunks/{event-logger-29dnvths.js → bus-mr8a2cts.js} +4 -4
  186. package/dist/chunks/{event-logger-5kt6hdqr.js → bus-mx2vryrr.js} +21 -21
  187. package/dist/chunks/{event-logger-th7wrnyd.js → bus-mxevvyah.js} +11 -11
  188. package/dist/chunks/{event-logger-xggrrz8m.js → bus-mzgjcdh7.js} +27 -27
  189. package/dist/chunks/{event-logger-mq88n3ng.js → bus-n3rn9b9d.js} +46 -46
  190. package/dist/chunks/{event-logger-f9x4js2z.js → bus-n9mr47st.js} +6 -6
  191. package/dist/chunks/{event-logger-hjagmg68.js → bus-nb0eyw3j.js} +41 -41
  192. package/dist/chunks/{event-logger-8en7wc9m.js → bus-nbf26ms9.js} +26 -26
  193. package/dist/chunks/{event-logger-97b65712.js → bus-nep1jn7g.js} +20 -20
  194. package/dist/chunks/{event-logger-mynagy99.js → bus-nhet2z82.js} +32 -32
  195. package/dist/chunks/{event-logger-pgm7ae5m.js → bus-nhp7y9q2.js} +23 -23
  196. package/dist/chunks/{event-logger-djkrpdfn.js → bus-nysebb6s.js} +15 -15
  197. package/dist/chunks/{event-logger-kgn87dt0.js → bus-p1xeps0x.js} +20 -20
  198. package/dist/chunks/{event-logger-0fxt3z96.js → bus-p4990n7g.js} +5 -5
  199. package/dist/chunks/{event-logger-gn6tz21j.js → bus-p4spce3w.js} +9 -9
  200. package/dist/chunks/{event-logger-mra0x5cd.js → bus-p83qt40j.js} +8 -8
  201. package/dist/chunks/{event-logger-rq543nqh.js → bus-pbxwk0py.js} +26 -26
  202. package/dist/chunks/{event-logger-amdbyq20.js → bus-pchw21vv.js} +7 -7
  203. package/dist/chunks/{event-logger-jmcfde88.js → bus-pem2nq6m.js} +4 -4
  204. package/dist/chunks/{event-logger-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{event-logger-pknna89w.js → bus-pknna89w.js} +1 -1
  206. package/dist/chunks/{event-logger-kft55aaf.js → bus-psy76y9c.js} +6 -6
  207. package/dist/chunks/{event-logger-6zmw1f7k.js → bus-pyzvmhjt.js} +7 -7
  208. package/dist/chunks/{event-logger-thbve8h8.js → bus-q71jbywg.js} +293 -293
  209. package/dist/chunks/{event-logger-e85xrhz5.js → bus-qcc87r2a.js} +6 -6
  210. package/dist/chunks/{event-logger-607tc6va.js → bus-qgn6gcr1.js} +5 -5
  211. package/dist/chunks/{event-logger-1p8bnmch.js → bus-qkzfms5c.js} +4 -4
  212. package/dist/chunks/{event-logger-cgtt7c7n.js → bus-qphg5mmy.js} +41 -41
  213. package/dist/chunks/{event-logger-cdp882tc.js → bus-qqxx9c59.js} +10 -10
  214. package/dist/chunks/{event-logger-qsdy395h.js → bus-qsdy395h.js} +1 -1
  215. package/dist/chunks/{event-logger-9qm9egsn.js → bus-qvbcabdc.js} +2 -2
  216. package/dist/chunks/{event-logger-6anwy9fs.js → bus-r33ff4dw.js} +6 -6
  217. package/dist/chunks/{event-logger-r8dhm0tv.js → bus-r8dhm0tv.js} +1 -1
  218. package/dist/chunks/{event-logger-xj9wkxzj.js → bus-r9gjvh9g.js} +7 -7
  219. package/dist/chunks/{event-logger-rpstmqvz.js → bus-rae26gbb.js} +8 -8
  220. package/dist/chunks/{event-logger-0t17cbyp.js → bus-rfgs2k4e.js} +33 -33
  221. package/dist/chunks/{event-logger-n6rh12ap.js → bus-rjjem9h6.js} +7 -7
  222. package/dist/chunks/{event-logger-9csrpy9m.js → bus-rk0dvaye.js} +5 -5
  223. package/dist/chunks/{event-logger-tm8p6d2n.js → bus-rmy3e5eg.js} +3 -3
  224. package/dist/chunks/{event-logger-02cz66nk.js → bus-rzsjt7my.js} +12 -12
  225. package/dist/chunks/{event-logger-ry0a9y46.js → bus-s3eqpch7.js} +1 -1
  226. package/dist/chunks/{event-logger-eh4ym285.js → bus-s45j2666.js} +32 -32
  227. package/dist/chunks/{event-logger-sba4qhjf.js → bus-sba4qhjf.js} +1 -1
  228. package/dist/chunks/{event-logger-mnzf0qgg.js → bus-sdk1rkft.js} +15 -15
  229. package/dist/chunks/{event-logger-rjb1sb0e.js → bus-t8am0cpd.js} +4 -4
  230. package/dist/chunks/{event-logger-t9zs3egg.js → bus-t9zs3egg.js} +1 -1
  231. package/dist/chunks/{event-logger-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
  232. package/dist/chunks/{event-logger-89znhe33.js → bus-tcezcvh9.js} +4 -4
  233. package/dist/chunks/{event-logger-tjykrgmx.js → bus-tjykrgmx.js} +1 -1
  234. package/dist/chunks/{event-logger-vdn8fb77.js → bus-tkptkkba.js} +27 -27
  235. package/dist/chunks/{event-logger-h2wg2nnm.js → bus-tn3hnqfz.js} +7 -7
  236. package/dist/chunks/{event-logger-bg0z499z.js → bus-tqqej2s1.js} +8 -8
  237. package/dist/chunks/{event-logger-cfc6tg4q.js → bus-tta5943s.js} +14 -14
  238. package/dist/chunks/{event-logger-j3g33syr.js → bus-v1p1x004.js} +6 -6
  239. package/dist/chunks/{event-logger-grrzmf21.js → bus-v210efr7.js} +17 -17
  240. package/dist/chunks/{event-logger-ss94fdxg.js → bus-v3bjms6p.js} +47 -47
  241. package/dist/chunks/{event-logger-dgycpedt.js → bus-v4xjjhvg.js} +24 -24
  242. package/dist/chunks/{event-logger-212ph2vw.js → bus-v8nrt0nt.js} +6 -6
  243. package/dist/chunks/{event-logger-vv4xtdqm.js → bus-v9vvq96z.js} +39 -39
  244. package/dist/chunks/{event-logger-tt9qdt9n.js → bus-vffa83p2.js} +31 -31
  245. package/dist/chunks/{event-logger-7n1ftcmm.js → bus-vfxn8x23.js} +30 -30
  246. package/dist/chunks/{event-logger-7a627tte.js → bus-vxp066d4.js} +14 -14
  247. package/dist/chunks/{event-logger-4fs60wf0.js → bus-w08r0s8v.js} +19 -19
  248. package/dist/chunks/{event-logger-3rbx21vn.js → bus-w1jjwhhz.js} +10 -10
  249. package/dist/chunks/{event-logger-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{event-logger-wd87259q.js → bus-wd87259q.js} +1 -1
  251. package/dist/chunks/{event-logger-xpxp6qhx.js → bus-wed177g1.js} +6 -6
  252. package/dist/chunks/{event-logger-x4vht8q3.js → bus-wgc2mr3y.js} +2 -2
  253. package/dist/chunks/{event-logger-rhe1rhkd.js → bus-wgxn7ww3.js} +4 -4
  254. package/dist/chunks/{event-logger-fdjyeynq.js → bus-wgz7hchk.js} +6 -6
  255. package/dist/chunks/{event-logger-7twspavz.js → bus-wp43gv37.js} +10 -10
  256. package/dist/chunks/{event-logger-x1ezjp6w.js → bus-x1ezjp6w.js} +1 -1
  257. package/dist/chunks/{event-logger-ajxr8k0d.js → bus-x1nkgr2s.js} +39 -39
  258. package/dist/chunks/{event-logger-xr1t7wkk.js → bus-x3ex91pf.js} +28 -28
  259. package/dist/chunks/{event-logger-m3cacpdp.js → bus-x5ga9etc.js} +24 -24
  260. package/dist/chunks/{event-logger-rf15saw8.js → bus-x7mven0m.js} +7 -7
  261. package/dist/chunks/{event-logger-vnmqmt3b.js → bus-xjf0nspg.js} +9 -9
  262. package/dist/chunks/{event-logger-2van94j2.js → bus-xp26bn8e.js} +15 -15
  263. package/dist/chunks/{event-logger-s5amd0ws.js → bus-xpj7ktyz.js} +29 -29
  264. package/dist/chunks/{event-logger-vkfnfj36.js → bus-xqsy6kp0.js} +1 -1
  265. package/dist/chunks/{event-logger-9kj12sde.js → bus-xr5vwsd4.js} +9 -9
  266. package/dist/chunks/{event-logger-xpr0d24v.js → bus-xx52rexs.js} +4 -4
  267. package/dist/chunks/{event-logger-0ak8fpq9.js → bus-y00kh1j2.js} +82 -82
  268. package/dist/chunks/{event-logger-bzx0t2dm.js → bus-y01np14z.js} +11 -11
  269. package/dist/chunks/{event-logger-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{event-logger-wcvbg4sk.js → bus-y7pta2mg.js} +28 -28
  271. package/dist/chunks/{event-logger-5eze0v7x.js → bus-y8jjghfg.js} +33 -33
  272. package/dist/chunks/{event-logger-kk3rr3qh.js → bus-yfbd16n1.js} +5 -5
  273. package/dist/chunks/{event-logger-ajtjthsy.js → bus-yg7sb877.js} +2 -2
  274. package/dist/chunks/{event-logger-6y4y2zs8.js → bus-ygw7vpbc.js} +9 -9
  275. package/dist/chunks/{event-logger-t4n9vf9m.js → bus-ykcesz1b.js} +4 -4
  276. package/dist/chunks/{event-logger-7mm1a5xk.js → bus-ymy83g1g.js} +11 -11
  277. package/dist/chunks/{event-logger-tjtda90p.js → bus-yyebksmm.js} +2 -2
  278. package/dist/chunks/{event-logger-qpvzpfsv.js → bus-yzwjgzk2.js} +11 -11
  279. package/dist/chunks/{event-logger-z1k01bn4.js → bus-z1k01bn4.js} +2 -2
  280. package/dist/chunks/{event-logger-z63w68vq.js → bus-z63w68vq.js} +2 -2
  281. package/dist/chunks/{event-logger-xk5brt97.js → bus-zn2pq4p8.js} +5 -5
  282. package/dist/chunks/{event-logger-5ranmbyz.js → bus-zp7etnvg.js} +13 -13
  283. package/dist/chunks/{event-logger-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +9 -9
  286. package/dist/codemode/tool.js +2 -2
  287. package/dist/command.js +81 -81
  288. package/dist/config/discovery.js +79 -79
  289. package/dist/config/markdown.js +1 -1
  290. package/dist/config/normalize.js +19 -19
  291. package/dist/config/plugin/agent.js +114 -114
  292. package/dist/config/plugin/command.js +205 -205
  293. package/dist/config/plugin/compaction.js +153 -153
  294. package/dist/config/plugin/entry-observer.js +1 -1
  295. package/dist/config/plugin/formatter.js +116 -116
  296. package/dist/config/plugin/image.js +114 -114
  297. package/dist/config/plugin/instruction.js +85 -85
  298. package/dist/config/plugin/location-watcher.js +116 -116
  299. package/dist/config/plugin/mcp.js +123 -123
  300. package/dist/config/plugin/policy.js +113 -113
  301. package/dist/config/plugin/provider.js +112 -112
  302. package/dist/config/plugin/reference.js +116 -116
  303. package/dist/config/plugin/shell.js +117 -117
  304. package/dist/config/plugin/skill-file.js +96 -96
  305. package/dist/config/plugin/skill.js +132 -132
  306. package/dist/config/plugin/snapshot.js +114 -114
  307. package/dist/config/plugin/source.js +116 -116
  308. package/dist/config/plugin/tool-output.js +116 -116
  309. package/dist/config/plugin/websearch.js +114 -114
  310. package/dist/config/plugin/worktree.js +117 -117
  311. package/dist/config/variable.js +3 -3
  312. package/dist/config/watch.js +1 -1
  313. package/dist/config.js +118 -118
  314. package/dist/credential/sql.js +2 -2
  315. package/dist/credential.js +82 -82
  316. package/dist/database/database.js +64 -64
  317. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  318. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  319. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  320. package/dist/database/drizzle/index.js +15 -15
  321. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  322. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  324. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  325. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  326. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  332. package/dist/database/drizzle.js +16 -16
  333. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  334. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  335. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  336. package/dist/database/migration/20260225215848_workspace.js +1 -1
  337. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  338. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  339. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  340. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  341. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  342. package/dist/database/migration/20260323234822_events.js +1 -1
  343. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  344. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  345. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  346. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  347. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  348. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  349. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  350. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  351. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  352. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  353. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  354. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  355. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  356. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  357. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  358. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  359. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  360. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  361. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  362. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  363. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  364. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  365. package/dist/database/migration/20260611035744_credential.js +1 -1
  366. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  367. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  368. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  369. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  370. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  371. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  372. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  373. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  374. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  375. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  376. package/dist/database/migration/20260812213948_worktree.js +1 -1
  377. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  378. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  379. package/dist/database/migration.gen.js +47 -47
  380. package/dist/database/migration.js +49 -49
  381. package/dist/database/path.js +2 -2
  382. package/dist/database/schema.gen.js +1 -1
  383. package/dist/database/schema.sql.js +1 -1
  384. package/dist/database/sqlite.bun.js +1 -1
  385. package/dist/database/sqlite.js +1 -1
  386. package/dist/database/sqlite.node.js +1 -1
  387. package/dist/database/sqlite.workerd.js +1 -1
  388. package/dist/database/v1-migration.bun.js +74 -74
  389. package/dist/database/v1-migration.js +1 -1
  390. package/dist/effect/app-node-builder.js +358 -358
  391. package/dist/effect/app-node-platform.js +2 -2
  392. package/dist/effect/keyed-mutex.js +3 -3
  393. package/dist/effect/websocket-constructor.js +1 -1
  394. package/dist/environment/driver.js +1 -1
  395. package/dist/environment/environment.js +88 -88
  396. package/dist/environment/exec-defaults.js +2 -2
  397. package/dist/environment/files.js +1 -1
  398. package/dist/environment/index.js +88 -88
  399. package/dist/environment/local.js +2 -2
  400. package/dist/environment/memory.js +2 -2
  401. package/dist/environment/unavailable.js +1 -1
  402. package/dist/event/sql.js +1 -1
  403. package/dist/event-logger.js +68 -68
  404. package/dist/file-mutation.js +89 -89
  405. package/dist/file-retention.js +1 -1
  406. package/dist/file.js +1 -1
  407. package/dist/filesystem/fff.bun.js +2 -2
  408. package/dist/filesystem/fff.js +1 -1
  409. package/dist/filesystem/fff.node.js +2 -2
  410. package/dist/filesystem/fff.workerd.js +2 -2
  411. package/dist/filesystem/ignore.js +1 -1
  412. package/dist/filesystem/location-watcher-policy.js +6 -6
  413. package/dist/filesystem/location-watcher.js +220 -220
  414. package/dist/filesystem/protected.js +3 -3
  415. package/dist/filesystem/search.js +99 -99
  416. package/dist/filesystem/watcher-binding.js +1 -1
  417. package/dist/filesystem/watcher.js +15 -15
  418. package/dist/filesystem.js +100 -100
  419. package/dist/form.js +84 -84
  420. package/dist/formatter/builtins.js +4 -4
  421. package/dist/formatter.js +82 -82
  422. package/dist/generate.js +92 -92
  423. package/dist/git.js +7 -7
  424. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  425. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  426. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  427. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  428. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  429. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  430. package/dist/github-copilot/copilot-provider.js +17 -17
  431. package/dist/github-copilot/models.js +3 -3
  432. package/dist/github-copilot/openai-compatible-error.js +1 -1
  433. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  434. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  435. package/dist/github-copilot/responses/openai-error.js +1 -1
  436. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  437. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  438. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  439. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  440. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  441. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  442. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  443. package/dist/id/id.js +1 -1
  444. package/dist/image/photon.js +2 -2
  445. package/dist/image.js +6 -6
  446. package/dist/instance/service.js +5 -5
  447. package/dist/instance.js +349 -349
  448. package/dist/instruction-discovery.js +83 -83
  449. package/dist/instructions/builtins.js +82 -82
  450. package/dist/instructions/index.js +5 -5
  451. package/dist/integration/connection.js +1 -1
  452. package/dist/integration.js +83 -83
  453. package/dist/job.js +77 -77
  454. package/dist/kv/sql.js +2 -2
  455. package/dist/kv.js +71 -71
  456. package/dist/location-activity.js +83 -83
  457. package/dist/location-mutation.js +81 -81
  458. package/dist/location-service-map.js +81 -81
  459. package/dist/location-services.js +346 -346
  460. package/dist/location.js +84 -84
  461. package/dist/mcp/client.js +86 -86
  462. package/dist/mcp/index.js +100 -100
  463. package/dist/mcp/instructions.js +118 -118
  464. package/dist/mcp/oauth.js +2 -2
  465. package/dist/mcp/stdio.js +85 -85
  466. package/dist/mime.js +1 -1
  467. package/dist/modal/models.js +3 -3
  468. package/dist/model-resolver.js +85 -85
  469. package/dist/model.js +8 -8
  470. package/dist/models-dev.js +86 -86
  471. package/dist/oauth/page.js +1 -1
  472. package/dist/permission/saved.js +80 -80
  473. package/dist/permission/sql.js +5 -5
  474. package/dist/permission.js +103 -103
  475. package/dist/persistent-pty/binary.bun.js +1 -1
  476. package/dist/persistent-pty/daemon.js +1 -1
  477. package/dist/persistent-pty/index.js +86 -86
  478. package/dist/persistent-pty/pty-binding.js +1 -1
  479. package/dist/persistent-pty.js +73 -73
  480. package/dist/plugin/agent.js +96 -96
  481. package/dist/plugin/command.js +93 -93
  482. package/dist/plugin/hooks.js +3 -3
  483. package/dist/plugin/host.js +211 -211
  484. package/dist/plugin/instance.js +5 -5
  485. package/dist/plugin/internal.js +320 -320
  486. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  487. package/dist/plugin/models-dev.js +75 -75
  488. package/dist/plugin/module.js +2 -2
  489. package/dist/plugin/plan.js +96 -96
  490. package/dist/plugin/promise.js +1 -1
  491. package/dist/plugin/provider/alibaba.js +2 -2
  492. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  493. package/dist/plugin/provider/anthropic.js +2 -2
  494. package/dist/plugin/provider/azure.js +117 -117
  495. package/dist/plugin/provider/cerebras.js +2 -2
  496. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  497. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  498. package/dist/plugin/provider/cohere.js +2 -2
  499. package/dist/plugin/provider/configured.js +113 -113
  500. package/dist/plugin/provider/dynamic.js +2 -2
  501. package/dist/plugin/provider/factory.js +1 -1
  502. package/dist/plugin/provider/gateway.js +2 -2
  503. package/dist/plugin/provider/github-copilot.js +79 -79
  504. package/dist/plugin/provider/gitlab.js +3 -3
  505. package/dist/plugin/provider/google-vertex.js +2 -2
  506. package/dist/plugin/provider/kilo.js +2 -2
  507. package/dist/plugin/provider/llmgateway.js +75 -75
  508. package/dist/plugin/provider/lmstudio.js +116 -116
  509. package/dist/plugin/provider/mistral.js +2 -2
  510. package/dist/plugin/provider/modal.js +78 -78
  511. package/dist/plugin/provider/nvidia.js +2 -2
  512. package/dist/plugin/provider/ollama.js +116 -116
  513. package/dist/plugin/provider/openai-compatible.js +1 -1
  514. package/dist/plugin/provider/openai.js +77 -77
  515. package/dist/plugin/provider/opencode.js +75 -75
  516. package/dist/plugin/provider/openrouter.js +3 -3
  517. package/dist/plugin/provider/perplexity.js +2 -2
  518. package/dist/plugin/provider/sap-ai-core.js +3 -3
  519. package/dist/plugin/provider/sdk-factory.js +1 -1
  520. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  521. package/dist/plugin/provider/venice.js +2 -2
  522. package/dist/plugin/provider/vercel.js +2 -2
  523. package/dist/plugin/provider/vllm.js +116 -116
  524. package/dist/plugin/provider/xai.js +76 -76
  525. package/dist/plugin/provider/zenmux.js +2 -2
  526. package/dist/plugin/provider.js +154 -154
  527. package/dist/plugin/sdk.js +72 -72
  528. package/dist/plugin/service.js +3 -3
  529. package/dist/plugin/skill.js +129 -129
  530. package/dist/plugin/source-directory.js +1 -1
  531. package/dist/plugin/supervisor.js +339 -339
  532. package/dist/plugin/system-prompt.js +1 -1
  533. package/dist/plugin/update.js +6 -6
  534. package/dist/plugin/variant.js +4 -4
  535. package/dist/plugin/vcs/git.js +82 -82
  536. package/dist/plugin/vcs/hg.js +82 -82
  537. package/dist/plugin/warming.js +111 -111
  538. package/dist/plugin/websearch/exa.js +5 -5
  539. package/dist/plugin/websearch/firecrawl.js +8 -8
  540. package/dist/plugin/websearch/index.js +8 -8
  541. package/dist/plugin/websearch/mcp.js +2 -2
  542. package/dist/plugin/websearch/parallel.js +8 -8
  543. package/dist/plugin/websearch/tavily.js +4 -4
  544. package/dist/plugin.js +218 -218
  545. package/dist/project/schema.js +8 -8
  546. package/dist/project/sql.js +4 -4
  547. package/dist/project.js +83 -83
  548. package/dist/provider.js +5 -5
  549. package/dist/pty/protocol.js +1 -1
  550. package/dist/pty/schema.js +3 -3
  551. package/dist/pty/ticket.js +1 -1
  552. package/dist/pty.js +92 -92
  553. package/dist/reference/instructions.js +82 -82
  554. package/dist/reference.js +82 -82
  555. package/dist/repository-cache.js +76 -76
  556. package/dist/repository.js +1 -1
  557. package/dist/ripgrep/binary.js +2 -2
  558. package/dist/ripgrep.js +91 -91
  559. package/dist/rpc.js +81 -81
  560. package/dist/schema.js +1 -1
  561. package/dist/session/command.js +72 -72
  562. package/dist/session/compaction.js +121 -121
  563. package/dist/session/context.js +145 -145
  564. package/dist/session/environment.js +5 -5
  565. package/dist/session/error.js +5 -5
  566. package/dist/session/event.js +1 -1
  567. package/dist/session/execution/restart.js +212 -212
  568. package/dist/session/execution.js +118 -118
  569. package/dist/session/generate.js +146 -146
  570. package/dist/session/history.js +12 -12
  571. package/dist/session/inbox.js +86 -86
  572. package/dist/session/info.js +3 -3
  573. package/dist/session/instruction-entry.js +77 -77
  574. package/dist/session/instruction-state.js +8 -8
  575. package/dist/session/instructions.js +91 -91
  576. package/dist/session/message-updater.js +4 -4
  577. package/dist/session/message.js +1 -1
  578. package/dist/session/model-request.js +112 -112
  579. package/dist/session/model-transport.js +9 -9
  580. package/dist/session/move.js +124 -124
  581. package/dist/session/projector.js +84 -84
  582. package/dist/session/prompt.js +99 -99
  583. package/dist/session/revert.js +85 -85
  584. package/dist/session/run-coordinator.js +3 -3
  585. package/dist/session/runner/index.js +3 -3
  586. package/dist/session/runner/llm.js +223 -223
  587. package/dist/session/runner/max-steps.js +1 -1
  588. package/dist/session/runner/model.js +85 -85
  589. package/dist/session/runner/publish-llm-event.js +3 -3
  590. package/dist/session/runner/retry.js +4 -4
  591. package/dist/session/runner/step.js +119 -119
  592. package/dist/session/runner/to-llm-message.js +1 -1
  593. package/dist/session/schema.js +5 -5
  594. package/dist/session/session.js +165 -165
  595. package/dist/session/shell.js +130 -130
  596. package/dist/session/skill.js +97 -97
  597. package/dist/session/sql.js +5 -5
  598. package/dist/session/stats.js +71 -71
  599. package/dist/session/store.js +82 -82
  600. package/dist/session/subagent-completion.js +1 -1
  601. package/dist/session/subagent-job.js +203 -203
  602. package/dist/session/system-prompt.js +3 -3
  603. package/dist/session/title.js +149 -149
  604. package/dist/session/to-session-error.js +105 -105
  605. package/dist/session/transfer.js +210 -210
  606. package/dist/session/usage.js +1 -1
  607. package/dist/session.js +211 -211
  608. package/dist/shell/parse.js +6 -6
  609. package/dist/shell/result.js +1 -1
  610. package/dist/shell/scan.js +1 -1
  611. package/dist/shell/select.js +9 -9
  612. package/dist/shell.js +130 -130
  613. package/dist/skill/discovery.js +6 -6
  614. package/dist/skill/instructions.js +101 -101
  615. package/dist/skill.js +102 -102
  616. package/dist/snapshot.js +84 -84
  617. package/dist/state.js +1 -1
  618. package/dist/tool/html-markdown.js +1 -1
  619. package/dist/tool/http-body.js +1 -1
  620. package/dist/tool/mcp.js +117 -117
  621. package/dist/tool/plugin/edit.js +114 -114
  622. package/dist/tool/plugin/file-diff.js +1 -1
  623. package/dist/tool/plugin/glob.js +119 -119
  624. package/dist/tool/plugin/grep.js +119 -119
  625. package/dist/tool/plugin/opencode.js +3 -3
  626. package/dist/tool/plugin/patch.js +116 -116
  627. package/dist/tool/plugin/question.js +95 -95
  628. package/dist/tool/plugin/read.js +120 -120
  629. package/dist/tool/plugin/shell.js +210 -210
  630. package/dist/tool/plugin/skill.js +105 -105
  631. package/dist/tool/plugin/subagent.js +212 -212
  632. package/dist/tool/plugin/webfetch.js +104 -104
  633. package/dist/tool/plugin/websearch.js +108 -108
  634. package/dist/tool/plugin/write.js +116 -116
  635. package/dist/tool/read-filesystem.js +94 -94
  636. package/dist/tool/runtime.js +1 -1
  637. package/dist/tool-output.js +8 -8
  638. package/dist/tool.js +11 -11
  639. package/dist/util/error.js +1 -1
  640. package/dist/util/iife.js +1 -1
  641. package/dist/util/lazy.js +1 -1
  642. package/dist/util/slug.js +1 -1
  643. package/dist/util/token.js +1 -1
  644. package/dist/util/which.js +1 -1
  645. package/dist/util/wildcard.js +1 -1
  646. package/dist/v1/config/agent.js +5 -5
  647. package/dist/v1/config/attachment.js +4 -4
  648. package/dist/v1/config/command.js +3 -3
  649. package/dist/v1/config/config.js +16 -16
  650. package/dist/v1/config/error.js +2 -2
  651. package/dist/v1/config/formatter.js +5 -5
  652. package/dist/v1/config/layout.js +1 -1
  653. package/dist/v1/config/lsp.js +5 -5
  654. package/dist/v1/config/mcp.js +4 -4
  655. package/dist/v1/config/migrate.js +4 -4
  656. package/dist/v1/config/permission.js +3 -3
  657. package/dist/v1/config/plugin.js +3 -3
  658. package/dist/v1/config/provider-options.js +1 -1
  659. package/dist/v1/config/provider.js +4 -4
  660. package/dist/v1/config/server.js +2 -2
  661. package/dist/v1/config/skills.js +1 -1
  662. package/dist/v1/permission.js +1 -1
  663. package/dist/vcs/patch.js +1 -1
  664. package/dist/vcs.js +85 -85
  665. package/dist/websearch.js +80 -80
  666. package/dist/wellknown/plugin.js +72 -72
  667. package/dist/wellknown.js +77 -77
  668. package/dist/workspace/driver.js +5 -5
  669. package/dist/workspace/sql.js +1 -1
  670. package/dist/workspace.js +78 -78
  671. package/dist/worktree/directory.js +2 -2
  672. package/dist/worktree/git.js +5 -5
  673. package/dist/worktree/refresh.js +336 -336
  674. package/dist/worktree/sql.js +5 -5
  675. package/dist/worktree.js +87 -87
  676. package/package.json +7 -7
  677. package/dist/chunks/event-logger-639wr4eg.js +0 -22
  678. package/dist/chunks/event-logger-dmrrm8p8.js +0 -247
  679. package/dist/chunks/event-logger-vnkjks7b.js +0 -18
  680. package/dist/chunks/event-logger-z5h5yern.js +0 -4
  681. /package/dist/chunks/{event-logger-0fabt78z.js → bus-0fabt78z.js} +0 -0
  682. /package/dist/chunks/{event-logger-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
  683. /package/dist/chunks/{event-logger-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
  684. /package/dist/chunks/{event-logger-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
  685. /package/dist/chunks/{event-logger-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
  686. /package/dist/chunks/{event-logger-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
  687. /package/dist/chunks/{event-logger-2710q6r3.js → bus-2710q6r3.js} +0 -0
  688. /package/dist/chunks/{event-logger-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
  689. /package/dist/chunks/{event-logger-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
  690. /package/dist/chunks/{event-logger-359p4xyc.js → bus-359p4xyc.js} +0 -0
  691. /package/dist/chunks/{event-logger-3asan66x.js → bus-3asan66x.js} +0 -0
  692. /package/dist/chunks/{event-logger-3t738kvx.js → bus-3t738kvx.js} +0 -0
  693. /package/dist/chunks/{event-logger-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
  694. /package/dist/chunks/{event-logger-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
  695. /package/dist/chunks/{event-logger-41nvscxy.js → bus-41nvscxy.js} +0 -0
  696. /package/dist/chunks/{event-logger-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
  697. /package/dist/chunks/{event-logger-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
  698. /package/dist/chunks/{event-logger-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
  699. /package/dist/chunks/{event-logger-53557ph1.js → bus-53557ph1.js} +0 -0
  700. /package/dist/chunks/{event-logger-550bvhaj.js → bus-550bvhaj.js} +0 -0
  701. /package/dist/chunks/{event-logger-6prwharc.js → bus-6prwharc.js} +0 -0
  702. /package/dist/chunks/{event-logger-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
  703. /package/dist/chunks/{event-logger-7m9af43g.js → bus-7m9af43g.js} +0 -0
  704. /package/dist/chunks/{event-logger-822emrt2.js → bus-822emrt2.js} +0 -0
  705. /package/dist/chunks/{event-logger-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
  706. /package/dist/chunks/{event-logger-8n3pysct.js → bus-8n3pysct.js} +0 -0
  707. /package/dist/chunks/{event-logger-982e01ww.js → bus-982e01ww.js} +0 -0
  708. /package/dist/chunks/{event-logger-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
  709. /package/dist/chunks/{event-logger-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
  710. /package/dist/chunks/{event-logger-a1tpkmh4.js → bus-a1tpkmh4.js} +0 -0
  711. /package/dist/chunks/{event-logger-af5trqkr.js → bus-af5trqkr.js} +0 -0
  712. /package/dist/chunks/{event-logger-afrmfg78.js → bus-afrmfg78.js} +0 -0
  713. /package/dist/chunks/{event-logger-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
  714. /package/dist/chunks/{event-logger-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
  715. /package/dist/chunks/{event-logger-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
  716. /package/dist/chunks/{event-logger-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
  717. /package/dist/chunks/{event-logger-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
  718. /package/dist/chunks/{event-logger-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
  719. /package/dist/chunks/{event-logger-d9fn303g.js → bus-d9fn303g.js} +0 -0
  720. /package/dist/chunks/{event-logger-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
  721. /package/dist/chunks/{event-logger-dajrwvna.js → bus-dajrwvna.js} +0 -0
  722. /package/dist/chunks/{event-logger-dap0rakb.js → bus-dap0rakb.js} +0 -0
  723. /package/dist/chunks/{event-logger-df08tz66.js → bus-df08tz66.js} +0 -0
  724. /package/dist/chunks/{event-logger-dy18nga0.js → bus-dy18nga0.js} +0 -0
  725. /package/dist/chunks/{event-logger-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
  726. /package/dist/chunks/{event-logger-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
  727. /package/dist/chunks/{event-logger-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
  728. /package/dist/chunks/{event-logger-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
  729. /package/dist/chunks/{event-logger-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
  730. /package/dist/chunks/{event-logger-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
  731. /package/dist/chunks/{event-logger-faypxj3z.js → bus-faypxj3z.js} +0 -0
  732. /package/dist/chunks/{event-logger-fd410y7t.js → bus-fd410y7t.js} +0 -0
  733. /package/dist/chunks/{event-logger-fxgpk5d8.js → bus-fxgpk5d8.js} +0 -0
  734. /package/dist/chunks/{event-logger-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
  735. /package/dist/chunks/{event-logger-g86h250q.js → bus-g86h250q.js} +0 -0
  736. /package/dist/chunks/{event-logger-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
  737. /package/dist/chunks/{event-logger-hk9envan.js → bus-hk9envan.js} +0 -0
  738. /package/dist/chunks/{event-logger-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
  739. /package/dist/chunks/{event-logger-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
  740. /package/dist/chunks/{event-logger-j935v87r.js → bus-j935v87r.js} +0 -0
  741. /package/dist/chunks/{event-logger-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
  742. /package/dist/chunks/{event-logger-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
  743. /package/dist/chunks/{event-logger-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
  744. /package/dist/chunks/{event-logger-mntxs535.js → bus-mntxs535.js} +0 -0
  745. /package/dist/chunks/{event-logger-mp448xyj.js → bus-mp448xyj.js} +0 -0
  746. /package/dist/chunks/{event-logger-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
  747. /package/dist/chunks/{event-logger-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
  748. /package/dist/chunks/{event-logger-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
  749. /package/dist/chunks/{event-logger-njntx4h6.js → bus-njntx4h6.js} +0 -0
  750. /package/dist/chunks/{event-logger-p8qxwesx.js → bus-p8qxwesx.js} +0 -0
  751. /package/dist/chunks/{event-logger-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
  752. /package/dist/chunks/{event-logger-q74kybfr.js → bus-q74kybfr.js} +0 -0
  753. /package/dist/chunks/{event-logger-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
  754. /package/dist/chunks/{event-logger-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
  755. /package/dist/chunks/{event-logger-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
  756. /package/dist/chunks/{event-logger-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
  757. /package/dist/chunks/{event-logger-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
  758. /package/dist/chunks/{event-logger-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
  759. /package/dist/chunks/{event-logger-se0s1eqw.js → bus-se0s1eqw.js} +0 -0
  760. /package/dist/chunks/{event-logger-sk3qaz4a.js → bus-sk3qaz4a.js} +0 -0
  761. /package/dist/chunks/{event-logger-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
  762. /package/dist/chunks/{event-logger-twg0f83k.js → bus-twg0f83k.js} +0 -0
  763. /package/dist/chunks/{event-logger-w803qqfp.js → bus-w803qqfp.js} +0 -0
  764. /package/dist/chunks/{event-logger-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
  765. /package/dist/chunks/{event-logger-wtztk69x.js → bus-wtztk69x.js} +0 -0
  766. /package/dist/chunks/{event-logger-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
  767. /package/dist/chunks/{event-logger-x1b8g1yb.js → bus-x1b8g1yb.js} +0 -0
  768. /package/dist/chunks/{event-logger-x61499pn.js → bus-x61499pn.js} +0 -0
  769. /package/dist/chunks/{event-logger-y44na4kk.js → bus-y44na4kk.js} +0 -0
  770. /package/dist/chunks/{event-logger-y8cydn3q.js → bus-y8cydn3q.js} +0 -0
  771. /package/dist/chunks/{event-logger-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
  772. /package/dist/chunks/{event-logger-z9919s4g.js → bus-z9919s4g.js} +0 -0
  773. /package/dist/chunks/{event-logger-zbjnn3ac.js → bus-zbjnn3ac.js} +0 -0
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  collectBoundedResponseBody2
3
- } from "./event-logger-3v8g72cx.js";
3
+ } from "./bus-3v8g72cx.js";
4
4
  import {
5
5
  __export
6
- } from "./event-logger-9rqn6x4v.js";
6
+ } from "./bus-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/mcp.ts
9
9
  var exports_mcp = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  makeWithDefaults2
3
- } from "./event-logger-7yaq8a5f.js";
3
+ } from "./bus-65vwahm5.js";
4
4
  import {
5
5
  apply3
6
- } from "./event-logger-2qfefwnw.js";
6
+ } from "./bus-9ezmfr4d.js";
7
7
  import {
8
8
  __export
9
- } from "./event-logger-9rqn6x4v.js";
9
+ } from "./bus-9rqn6x4v.js";
10
10
 
11
11
  // src/database/database.ts
12
12
  var exports_database = {};
@@ -1,20 +1,20 @@
1
1
  import {
2
- Service51,
3
- node55,
2
+ Service41,
3
+ node44,
4
4
  canonical3
5
- } from "./event-logger-vj5n2wyh.js";
5
+ } from "./bus-6tygk997.js";
6
6
  import {
7
- Service25,
8
- node27
9
- } from "./event-logger-f9x4js2z.js";
7
+ Service32,
8
+ node35
9
+ } from "./bus-n9mr47st.js";
10
10
  import {
11
11
  layer2
12
- } from "./event-logger-dmrrm8p8.js";
12
+ } from "./bus-gzzxkm3c.js";
13
13
 
14
14
  // src/location-services.ts
15
15
  import { Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
16
16
  function buildLocationServiceMap2(replacements = []) {
17
- return Layer.effect(Service51, Effect.gen(function* () {
17
+ return Layer.effect(Service41, Effect.gen(function* () {
18
18
  const owner = yield* Effect.scope;
19
19
  const booting = MutableHashMap.empty();
20
20
  const inner = yield* LayerMap.make((ref) => {
@@ -42,11 +42,11 @@ function buildLocationServiceMap2(replacements = []) {
42
42
  })
43
43
  };
44
44
  const bindings = [
45
- node27.replace(Layer.succeed(Service25, {
45
+ node35.replace(Layer.succeed(Service32, {
46
46
  provide: (session) => Effect.provide(map.get(session.location))
47
47
  })),
48
48
  ...replacements,
49
- node55.replace(Layer.succeed(Service51, map))
49
+ node44.replace(Layer.succeed(Service41, map))
50
50
  ];
51
51
  return map;
52
52
  }));
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./event-logger-p8qxwesx.js";
3
+ } from "./bus-p8qxwesx.js";
4
4
  import {
5
5
  __export
6
- } from "./event-logger-9rqn6x4v.js";
6
+ } from "./bus-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/server.ts
9
9
  var exports_server = {};
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  definition2,
3
3
  normalizedName2
4
- } from "./event-logger-3t738kvx.js";
4
+ } from "./bus-3t738kvx.js";
5
5
  import {
6
6
  __export
7
- } from "./event-logger-9rqn6x4v.js";
7
+ } from "./bus-9rqn6x4v.js";
8
8
 
9
9
  // src/codemode/tool.ts
10
10
  var exports_tool2 = {};
@@ -4,28 +4,28 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./event-logger-3t738kvx.js";
7
+ } from "./bus-3t738kvx.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./event-logger-72nftnjy.js";
11
+ } from "./bus-72nftnjy.js";
12
12
  import {
13
13
  create3
14
- } from "./event-logger-kg06axw8.js";
14
+ } from "./bus-kg06axw8.js";
15
15
  import {
16
- Service61,
17
- node65
18
- } from "./event-logger-rr2690n5.js";
16
+ Service66,
17
+ node70
18
+ } from "./bus-crh3pn7j.js";
19
19
  import {
20
- Service62,
20
+ Service63,
21
21
  node66
22
- } from "./event-logger-xj9wkxzj.js";
22
+ } from "./bus-r9gjvh9g.js";
23
23
  import {
24
24
  match2
25
- } from "./event-logger-y1fvbwt7.js";
25
+ } from "./bus-y1fvbwt7.js";
26
26
  import {
27
27
  __export
28
- } from "./event-logger-9rqn6x4v.js";
28
+ } from "./bus-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
@@ -35,10 +35,10 @@ __export(exports_tool, {
35
35
  Error: () => Error4,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service60,
38
+ Service: () => Service62,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node64
41
+ node: () => node65
42
42
  });
43
43
  import { CallID as CallID2, Content as Content3, Error as Error4, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode-ai/schema/tool";
44
44
  import { ToolDefinition } from "@opencode-ai/ai";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service60 extends Context.Service()("@opencode/Tool") {
54
+ class Service62 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service60, Effect.gen(function* () {
57
- const hooks = yield* Service62;
58
- const image = yield* Service61;
56
+ var layer = Layer.effect(Service62, Effect.gen(function* () {
57
+ const hooks = yield* Service63;
58
+ const image = yield* Service66;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
180
180
  error: error.message
181
181
  }), { discard: true })
182
182
  });
183
- return Service60.of({
183
+ return Service62.of({
184
184
  transform: state.transform,
185
185
  reload: state.reload,
186
186
  snapshot: Effect.fn("Tool.snapshot")((permissions) => Effect.sync(() => {
@@ -262,10 +262,10 @@ function namespaceError(name) {
262
262
  return;
263
263
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
264
264
  }
265
- var node64 = makeLocationNode({
266
- service: Service60,
265
+ var node65 = makeLocationNode({
266
+ service: Service62,
267
267
  layer,
268
- deps: [node66, node65]
268
+ deps: [node66, node70]
269
269
  });
270
270
 
271
- export { RegistrationError2, Service60, node64, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
271
+ export { RegistrationError2, Service62, node65, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
@@ -2,7 +2,7 @@ import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2,
4
4
  mapUpdateSet2
5
- } from "./event-logger-emrn6kk6.js";
5
+ } from "./bus-emrn6kk6.js";
6
6
 
7
7
  // src/database/drizzle/sqlite-core/effect/insert.ts
8
8
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./event-logger-axxvr9d6.js";
4
+ } from "./bus-6zyntcx9.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./event-logger-y71avatq.js";
7
+ } from "./bus-jwcy2c2z.js";
8
8
  import {
9
9
  Service79,
10
10
  node84
11
- } from "./event-logger-4m6zeev3.js";
11
+ } from "./bus-gyrty9a0.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./event-logger-mntxs535.js";
14
+ } from "./bus-mntxs535.js";
15
15
  import {
16
16
  SessionMessage2
17
- } from "./event-logger-982e01ww.js";
17
+ } from "./bus-982e01ww.js";
18
18
  import {
19
19
  SessionSchema2
20
- } from "./event-logger-d4fga7fm.js";
20
+ } from "./bus-6s48shje.js";
21
21
  import {
22
22
  SessionMessageTable2,
23
23
  SessionInboxTable2
24
- } from "./event-logger-hrvm11jt.js";
24
+ } from "./bus-g2dy4bvs.js";
25
25
  import {
26
26
  __export
27
- } from "./event-logger-9rqn6x4v.js";
27
+ } from "./bus-9rqn6x4v.js";
28
28
 
29
29
  // src/session/inbox.ts
30
30
  var exports_inbox = {};
@@ -32,12 +32,12 @@ __export(exports_inbox, {
32
32
  Compaction: () => Compaction2,
33
33
  CompactionPayload: () => CompactionPayload2,
34
34
  Delivery: () => Delivery2,
35
- Info: () => Info4,
35
+ Info: () => Info3,
36
36
  Item: () => Item2,
37
37
  LifecycleConflict: () => LifecycleConflict2,
38
38
  Move: () => Move2,
39
39
  MovePayload: () => MovePayload2,
40
- Service: () => Service30,
40
+ Service: () => Service24,
41
41
  SessionInbox: () => exports_inbox,
42
42
  Synthetic: () => Synthetic2,
43
43
  SyntheticPayload: () => SyntheticPayload2,
@@ -45,12 +45,12 @@ __export(exports_inbox, {
45
45
  UserPayload: () => UserPayload2,
46
46
  find: () => find2,
47
47
  has: () => has2,
48
- layer: () => layer14,
48
+ layer: () => layer12,
49
49
  list: () => list3,
50
- make: () => make15,
50
+ make: () => make13,
51
51
  moveIDs: () => moveIDs2,
52
52
  nextPromotable: () => nextPromotable2,
53
- node: () => node33,
53
+ node: () => node28,
54
54
  projectAdmitted: () => projectAdmitted2,
55
55
  projectCancelled: () => projectCancelled2,
56
56
  projectDelivered: () => projectDelivered2,
@@ -65,7 +65,7 @@ import {
65
65
  Compaction as Compaction2,
66
66
  CompactionPayload as CompactionPayload2,
67
67
  Delivery as Delivery2,
68
- Info as Info4,
68
+ Info as Info3,
69
69
  Item as Item2,
70
70
  Move as Move2,
71
71
  MovePayload as MovePayload2,
@@ -151,9 +151,9 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
151
151
  return yield* new LifecycleConflict2({ id });
152
152
  });
153
153
 
154
- class Service30 extends Context.Service()("@opencode/SessionInbox") {
154
+ class Service24 extends Context.Service()("@opencode/SessionInbox") {
155
155
  }
156
- var make15 = Effect.fn("SessionInbox.make")(function* () {
156
+ var make13 = Effect.fn("SessionInbox.make")(function* () {
157
157
  const database = yield* Service80;
158
158
  const db = database.db;
159
159
  const bus = yield* Service79;
@@ -173,7 +173,7 @@ var make15 = Effect.fn("SessionInbox.make")(function* () {
173
173
  inboxID: request.id,
174
174
  sessionID: request.sessionID,
175
175
  item: request.item
176
- }).pipe(Effect.map((event) => Info4.make({
176
+ }).pipe(Effect.map((event) => Info3.make({
177
177
  id: request.id,
178
178
  sessionID: request.sessionID,
179
179
  timeCreated: DateTime.makeUnsafe(event.created),
@@ -227,8 +227,8 @@ var make15 = Effect.fn("SessionInbox.make")(function* () {
227
227
  queue
228
228
  };
229
229
  });
230
- var layer14 = Layer.effect(Service30, make15());
231
- var node33 = makeGlobalNode({ service: Service30, layer: layer14, deps: [node85, node84] });
230
+ var layer12 = Layer.effect(Service24, make13());
231
+ var node28 = makeGlobalNode({ service: Service24, layer: layer12, deps: [node85, node84] });
232
232
  var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
233
233
  const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
234
234
  if (message !== undefined)
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
326
326
  return rows;
327
327
  }));
328
328
 
329
- export { Compaction2, CompactionPayload2, Delivery2, Info4, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service30, make15, layer14, node33, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
329
+ export { Compaction2, CompactionPayload2, Delivery2, Info3, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service24, make13, layer12, node28, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  useragent2
3
- } from "./event-logger-t03f5674.js";
3
+ } from "./bus-570hbvwx.js";
4
4
  import {
5
5
  Service79
6
- } from "./event-logger-4m6zeev3.js";
6
+ } from "./bus-gyrty9a0.js";
7
7
  import {
8
8
  OAuth3,
9
- Event18
10
- } from "./event-logger-s5amd0ws.js";
9
+ Event12
10
+ } from "./bus-xpj7ktyz.js";
11
11
  import {
12
- ID11,
12
+ ID4,
13
13
  MethodID2
14
- } from "./event-logger-ay0pnvrs.js";
14
+ } from "./bus-ar6r26gf.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./event-logger-pjvnvgmy.js";
18
+ } from "./bus-pjvnvgmy.js";
19
19
  import {
20
- ID13,
20
+ ID18,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./event-logger-6fwq361y.js";
23
+ } from "./bus-4z6b0fg6.js";
24
24
 
25
25
  // src/plugin/provider/openai.ts
26
26
  import { define } from "@opencode-ai/plugin/effect/plugin";
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
44
44
  }));
45
45
  var decodeClaims = Schema.decodeUnknownOption(Claims);
46
46
  var browser = (app) => ({
47
- integrationID: ID11.make("openai"),
47
+ integrationID: ID4.make("openai"),
48
48
  method: {
49
49
  id: browserMethodID,
50
50
  type: "oauth",
@@ -117,7 +117,7 @@ function addressInUse(error) {
117
117
  return "code" in error && error.code === "EADDRINUSE";
118
118
  }
119
119
  var headless = (app) => ({
120
- integrationID: ID11.make("openai"),
120
+ integrationID: ID4.make("openai"),
121
121
  method: {
122
122
  id: headlessMethodID,
123
123
  type: "oauth",
@@ -178,7 +178,7 @@ var OpenAIPlugin2 = define({
178
178
  });
179
179
  yield* load();
180
180
  yield* ctx.catalog.transform((evt) => {
181
- const item = evt.provider.get(ID13.openai);
181
+ const item = evt.provider.get(ID18.openai);
182
182
  if (!item)
183
183
  return;
184
184
  for (const model of item.models.values()) {
@@ -220,9 +220,9 @@ var OpenAIPlugin2 = define({
220
220
  evt.baseURL = codexBaseURL;
221
221
  evt.headers.originator = "opencode";
222
222
  evt.headers["session-id"] = evt.sessionID;
223
- }), { providerID: ID13.openai });
223
+ }), { providerID: ID18.openai });
224
224
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
225
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID11.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
225
+ yield* bus.subscribe(Event12.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID4.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
226
226
  })
227
227
  });
228
228
  function headers(contentType, app) {
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./event-logger-axxvr9d6.js";
4
+ } from "./bus-6zyntcx9.js";
5
5
  import {
6
6
  Service79,
7
7
  node84
8
- } from "./event-logger-4m6zeev3.js";
8
+ } from "./bus-gyrty9a0.js";
9
9
  import {
10
- Service25,
11
- node27
12
- } from "./event-logger-f9x4js2z.js";
10
+ Service32,
11
+ node35
12
+ } from "./bus-n9mr47st.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
- } from "./event-logger-p8qxwesx.js";
16
+ } from "./bus-p8qxwesx.js";
17
17
  import {
18
- Service77,
19
- node82
20
- } from "./event-logger-k2ean0hm.js";
18
+ Service73,
19
+ node78
20
+ } from "./bus-br62jje5.js";
21
21
  import {
22
- Ref4
23
- } from "./event-logger-ywmycgam.js";
22
+ Ref3
23
+ } from "./bus-j1pn5v0m.js";
24
24
  import {
25
- Service51,
26
- node55
27
- } from "./event-logger-vj5n2wyh.js";
25
+ Service41,
26
+ node44
27
+ } from "./bus-6tygk997.js";
28
28
  import {
29
29
  SessionMessage2
30
- } from "./event-logger-982e01ww.js";
30
+ } from "./bus-982e01ww.js";
31
31
  import {
32
- NotFoundError7
33
- } from "./event-logger-j3g33syr.js";
32
+ NotFoundError8
33
+ } from "./bus-v1p1x004.js";
34
34
  import {
35
35
  SessionEvent2
36
- } from "./event-logger-mntxs535.js";
36
+ } from "./bus-mntxs535.js";
37
37
  import {
38
- Service24
39
- } from "./event-logger-wsfy2223.js";
38
+ Service23
39
+ } from "./bus-0dv7911r.js";
40
40
  import {
41
41
  Service59,
42
- node63
43
- } from "./event-logger-k575832b.js";
42
+ node62
43
+ } from "./bus-a494ggh4.js";
44
44
  import {
45
45
  Item2,
46
46
  serialized2,
47
- Service30,
48
- node33,
47
+ Service24,
48
+ node28,
49
49
  moveIDs2
50
- } from "./event-logger-vkn1y4t9.js";
50
+ } from "./bus-7httqr41.js";
51
51
  import {
52
- Service23,
53
- node26
54
- } from "./event-logger-5eze0v7x.js";
52
+ Service22,
53
+ node27
54
+ } from "./bus-y8jjghfg.js";
55
55
  import {
56
- node31
57
- } from "./event-logger-a2rthcw1.js";
56
+ node26
57
+ } from "./bus-bseqm2ca.js";
58
58
  import {
59
59
  __export
60
- } from "./event-logger-9rqn6x4v.js";
60
+ } from "./bus-9rqn6x4v.js";
61
61
 
62
62
  // src/session/move.ts
63
63
  var exports_move = {};
@@ -65,9 +65,9 @@ __export(exports_move, {
65
65
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
66
66
  DestinationNotFoundError: () => DestinationNotFoundError2,
67
67
  DestinationUnavailableError: () => DestinationUnavailableError2,
68
- Service: () => Service14,
68
+ Service: () => Service21,
69
69
  SessionMove: () => exports_move,
70
- node: () => node18
70
+ node: () => node25
71
71
  });
72
72
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
73
73
  import { FSUtil } from "@opencode-ai/util/fs-util";
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
83
83
  class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
84
84
  }
85
85
 
86
- class Service14 extends Context.Service()("@opencode/SessionMove") {
86
+ class Service21 extends Context.Service()("@opencode/SessionMove") {
87
87
  }
88
- var layer = Layer.effect(Service14, Effect.gen(function* () {
88
+ var layer = Layer.effect(Service21, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
- const projects = yield* Service77;
92
- const locations = yield* Service51;
91
+ const projects = yield* Service73;
92
+ const locations = yield* Service41;
93
93
  const store = yield* Service59;
94
- const execution = yield* Service23;
95
- const instances = yield* Service25;
96
- const admission = yield* Service30;
94
+ const execution = yield* Service22;
95
+ const instances = yield* Service32;
96
+ const admission = yield* Service24;
97
97
  const database = yield* Service80;
98
98
  const bus = yield* Service79;
99
99
  const get = Effect.fn("SessionMove.get")(function* (sessionID) {
100
100
  const session = yield* store.get(sessionID);
101
101
  if (!session)
102
- return yield* new NotFoundError7({ sessionID });
102
+ return yield* new NotFoundError8({ sessionID });
103
103
  return session;
104
104
  });
105
105
  const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
115
115
  return yield* new DestinationNotDirectoryError2({ directory });
116
116
  const project = yield* projects.resolve(directory);
117
117
  const destination = {
118
- location: Ref4.make({ directory, workspaceID: input.workspaceID }),
118
+ location: Ref3.make({ directory, workspaceID: input.workspaceID }),
119
119
  projectID: project.id,
120
120
  subpath: RelativePath2.make(path.relative(project.directory, directory).replaceAll("\\", "/"))
121
121
  };
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
131
131
  return false;
132
132
  if (!(yield* fs.isDir(session.location.directory)))
133
133
  return true;
134
- return yield* Service24.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
134
+ return yield* Service23.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
135
135
  });
136
- return Service14.of({
136
+ return Service21.of({
137
137
  move: Effect.fn("SessionMove.move")(function* (input) {
138
138
  const session = yield* get(input.sessionID);
139
139
  const destination = yield* resolveDestination(session, input);
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
163
163
  })
164
164
  });
165
165
  }));
166
- var node18 = makeGlobalNode({
167
- service: Service14,
166
+ var node25 = makeGlobalNode({
167
+ service: Service21,
168
168
  layer,
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
- node82,
173
- node55,
174
- node63,
175
- node26,
172
+ node78,
173
+ node44,
174
+ node62,
176
175
  node27,
177
- node33,
176
+ node35,
177
+ node28,
178
178
  node85,
179
179
  node84,
180
- node31
180
+ node26
181
181
  ]
182
182
  });
183
183
 
184
- export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service14, node18, exports_move };
184
+ export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service21, node25, exports_move };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  packageName2
3
- } from "./event-logger-6fwq361y.js";
3
+ } from "./bus-4z6b0fg6.js";
4
4
 
5
5
  // src/plugin/provider/cerebras.ts
6
6
  import { Effect } from "effect";
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  useragent2
3
- } from "./event-logger-t03f5674.js";
3
+ } from "./bus-570hbvwx.js";
4
4
  import {
5
5
  __export
6
- } from "./event-logger-9rqn6x4v.js";
6
+ } from "./bus-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/tavily.ts
9
9
  var exports_tavily = {};
10
10
  __export(exports_tavily, {
11
- Plugin: () => Plugin5,
11
+ Plugin: () => Plugin3,
12
12
  WebSearchTavily: () => exports_tavily,
13
13
  endpoint: () => endpoint3
14
14
  });
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
29
29
  content: Schema.String
30
30
  }))
31
31
  });
32
- var Plugin5 = define({
32
+ var Plugin3 = define({
33
33
  id: "opencode.websearch.tavily",
34
34
  effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
35
35
  const http = yield* HttpClient.HttpClient;
@@ -77,4 +77,4 @@ var Plugin5 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint3, Plugin5, exports_tavily };
80
+ export { endpoint3, Plugin3, exports_tavily };