@opencode/core 0.0.0-dev-19993 → 0.0.0-dev-19995

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (797) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{pty-a5cfpm61.js → event-logger-020j3mp2.js} +6 -6
  8. package/dist/chunks/{pty-mbfxv7fw.js → event-logger-03y4ksfc.js} +34 -34
  9. package/dist/chunks/{pty-e163j4jp.js → event-logger-048w8w2y.js} +15 -15
  10. package/dist/chunks/{pty-h53kmbdm.js → event-logger-04t6yav5.js} +60 -60
  11. package/dist/chunks/{pty-hsgwpaad.js → event-logger-05zq6f59.js} +17 -17
  12. package/dist/chunks/{pty-v2cwp70s.js → event-logger-0jcgjgb0.js} +47 -47
  13. package/dist/chunks/{pty-607tc6va.js → event-logger-0jwsre1p.js} +5 -5
  14. package/dist/chunks/{pty-0paq2nw3.js → event-logger-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{pty-0q0f95c6.js → event-logger-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{pty-d8sk975s.js → event-logger-0qa5p3hq.js} +30 -30
  17. package/dist/chunks/{pty-qggqx5pb.js → event-logger-0s976vq3.js} +22 -22
  18. package/dist/chunks/{pty-570bm5aw.js → event-logger-14yc5bzp.js} +21 -21
  19. package/dist/chunks/{pty-kcnwc050.js → event-logger-1aarw4wd.js} +32 -32
  20. package/dist/chunks/{pty-yp2x3t23.js → event-logger-1acjjqhc.js} +4 -4
  21. package/dist/chunks/{pty-1dazxqgg.js → event-logger-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{pty-aemqn3ez.js → event-logger-1jna24v5.js} +11 -11
  23. package/dist/chunks/{pty-e4y0dkgq.js → event-logger-1pd680f0.js} +19 -19
  24. package/dist/chunks/{pty-cbc0wxnt.js → event-logger-1qd6ctcj.js} +4 -4
  25. package/dist/chunks/{pty-1sn1ktbx.js → event-logger-1sm4aczp.js} +9 -9
  26. package/dist/chunks/{pty-tpnwfd5g.js → event-logger-1xbk51d1.js} +3 -3
  27. package/dist/chunks/{pty-21r38tys.js → event-logger-21r38tys.js} +1 -1
  28. package/dist/chunks/{pty-6kg1vfnr.js → event-logger-22km69g0.js} +6 -6
  29. package/dist/chunks/{pty-6h73sxmp.js → event-logger-2402vzrj.js} +5 -5
  30. package/dist/chunks/{pty-dh91zd6a.js → event-logger-29y626x8.js} +11 -11
  31. package/dist/chunks/{pty-2a5m3afh.js → event-logger-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{pty-71y3c5ag.js → event-logger-2bvs29qf.js} +26 -26
  33. package/dist/chunks/{pty-038mqbwm.js → event-logger-2fxf5vq5.js} +5 -5
  34. package/dist/chunks/{pty-pekx08ex.js → event-logger-2gjby33x.js} +20 -20
  35. package/dist/chunks/{pty-x2jawspn.js → event-logger-2hbp1rqv.js} +9 -9
  36. package/dist/chunks/{pty-062r8x8b.js → event-logger-2mfwfczk.js} +93 -93
  37. package/dist/chunks/{pty-ecxgrer6.js → event-logger-3d8yq8v2.js} +44 -44
  38. package/dist/chunks/{pty-h0sprvfa.js → event-logger-3dntjpwz.js} +48 -48
  39. package/dist/chunks/{pty-3fc6dm20.js → event-logger-3fc6dm20.js} +1 -1
  40. package/dist/chunks/{pty-3hepkmqq.js → event-logger-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{pty-nkasj3c8.js → event-logger-3pt4dhyb.js} +7 -7
  42. package/dist/chunks/{pty-jz67am5p.js → event-logger-3q6gaar1.js} +9 -9
  43. package/dist/chunks/{pty-7b6h5z22.js → event-logger-3qvcabr8.js} +23 -23
  44. package/dist/chunks/{pty-3smtnn6g.js → event-logger-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{pty-3tvqynh2.js → event-logger-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{pty-cfhq3gyz.js → event-logger-420mfcd1.js} +31 -31
  47. package/dist/chunks/{pty-53gk70sf.js → event-logger-4686z1cc.js} +9 -9
  48. package/dist/chunks/{pty-emca911v.js → event-logger-46efvg8p.js} +8 -8
  49. package/dist/chunks/{pty-41tykhqn.js → event-logger-4b54kahm.js} +8 -8
  50. package/dist/chunks/{pty-w9ka22cp.js → event-logger-4j1b3dvz.js} +35 -35
  51. package/dist/chunks/{pty-3shkqxcj.js → event-logger-4mqqaehj.js} +6 -6
  52. package/dist/chunks/{pty-czzrymxc.js → event-logger-50xdy9sd.js} +26 -26
  53. package/dist/chunks/{pty-1ygqh575.js → event-logger-56gdpj1q.js} +9 -9
  54. package/dist/chunks/{pty-2w6fc0zt.js → event-logger-57ez7d0k.js} +7 -7
  55. package/dist/chunks/{pty-typarb9b.js → event-logger-5byqfvby.js} +20 -20
  56. package/dist/chunks/{pty-a1bz86dw.js → event-logger-5c4hm403.js} +3 -3
  57. package/dist/chunks/{pty-5daktx2q.js → event-logger-5daktx2q.js} +1 -1
  58. package/dist/chunks/{pty-rgch3z0v.js → event-logger-5e07j1hz.js} +18 -18
  59. package/dist/chunks/{pty-fxbjtjnd.js → event-logger-5ekn9679.js} +7 -7
  60. package/dist/chunks/{pty-4efdx9rk.js → event-logger-5gs23kxp.js} +22 -22
  61. package/dist/chunks/{pty-xvnj5msj.js → event-logger-5jrr3pva.js} +3 -3
  62. package/dist/chunks/{pty-5t3nmthw.js → event-logger-5t3nmthw.js} +2 -2
  63. package/dist/chunks/{pty-x10m976v.js → event-logger-5t8sa872.js} +32 -32
  64. package/dist/chunks/{pty-mys1tqp3.js → event-logger-623f9wzm.js} +32 -32
  65. package/dist/chunks/{pty-s9na07f2.js → event-logger-63zxpw7x.js} +11 -11
  66. package/dist/chunks/{pty-669tq793.js → event-logger-669tq793.js} +1 -1
  67. package/dist/chunks/{pty-24dx1hrc.js → event-logger-6cztnhhd.js} +10 -10
  68. package/dist/chunks/{pty-tkmwgdpd.js → event-logger-6hh8tjw2.js} +7 -7
  69. package/dist/chunks/{pty-cp1t7mny.js → event-logger-6kgmyewg.js} +25 -25
  70. package/dist/chunks/{pty-6msgmcgs.js → event-logger-6msgmcgs.js} +1 -1
  71. package/dist/chunks/{pty-bpckba2r.js → event-logger-6nkg1aef.js} +16 -16
  72. package/dist/chunks/{pty-bhteabqx.js → event-logger-6sh8n07q.js} +4 -4
  73. package/dist/chunks/{pty-ab845m4a.js → event-logger-6t38r8tw.js} +23 -23
  74. package/dist/chunks/{pty-jbtd89qx.js → event-logger-6ws21zwn.js} +13 -13
  75. package/dist/chunks/{pty-z7br6qex.js → event-logger-74epjytj.js} +24 -24
  76. package/dist/chunks/{pty-nt2pe6m8.js → event-logger-76cvkgxg.js} +25 -25
  77. package/dist/chunks/{pty-7bmhse3q.js → event-logger-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{pty-192rtf0k.js → event-logger-7wymycec.js} +32 -32
  79. package/dist/chunks/{pty-jgttmm4a.js → event-logger-7xyrrtj6.js} +5 -5
  80. package/dist/chunks/{pty-8d7r5vzw.js → event-logger-8d7r5vzw.js} +1 -1
  81. package/dist/chunks/{pty-p7p04q1a.js → event-logger-8hb4xbhy.js} +18 -18
  82. package/dist/chunks/{pty-nbgyd66e.js → event-logger-8k5j04yw.js} +25 -25
  83. package/dist/chunks/{pty-026axa4a.js → event-logger-8kecht9x.js} +30 -30
  84. package/dist/chunks/{pty-jgq9btc2.js → event-logger-8wfyked2.js} +49 -49
  85. package/dist/chunks/{pty-6ng8rhkc.js → event-logger-965ggptx.js} +12 -12
  86. package/dist/chunks/{pty-p1zevnby.js → event-logger-9aj2ewm7.js} +35 -35
  87. package/dist/chunks/{pty-f22wqnxv.js → event-logger-9b5kt93f.js} +11 -11
  88. package/dist/chunks/{pty-pcfkrm12.js → event-logger-9fc3v4re.js} +4 -4
  89. package/dist/chunks/event-logger-9kfwgk0g.js +252 -0
  90. package/dist/chunks/{pty-c7w3tbrx.js → event-logger-9m2wgq44.js} +6 -6
  91. package/dist/chunks/{pty-feqpvc5c.js → event-logger-a3j10mfs.js} +19 -19
  92. package/dist/chunks/{pty-aaet6srn.js → event-logger-aaet6srn.js} +2 -2
  93. package/dist/chunks/{pty-5getdy1k.js → event-logger-aehm52e9.js} +19 -19
  94. package/dist/chunks/{pty-2yb6xvw8.js → event-logger-ahpsrzsw.js} +13 -13
  95. package/dist/chunks/{pty-b6gygkdw.js → event-logger-b6gygkdw.js} +2 -2
  96. package/dist/chunks/{pty-x2rw7g36.js → event-logger-b7b4ctej.js} +5 -5
  97. package/dist/chunks/{pty-4tajgtbv.js → event-logger-bzngrnjc.js} +15 -15
  98. package/dist/chunks/{pty-4e8vs6eh.js → event-logger-c27esgm9.js} +8 -8
  99. package/dist/chunks/{pty-0tay0vp0.js → event-logger-c5be9zdx.js} +17 -17
  100. package/dist/chunks/{pty-djszqvmq.js → event-logger-c765mh8b.js} +9 -9
  101. package/dist/chunks/{pty-7g9sy6yd.js → event-logger-c83phvx3.js} +7 -7
  102. package/dist/chunks/{pty-tms1td0z.js → event-logger-ch15aacc.js} +52 -52
  103. package/dist/chunks/{pty-5yzzbxa7.js → event-logger-cmwkp3r5.js} +8 -8
  104. package/dist/chunks/{pty-texm17j6.js → event-logger-cna5mhkg.js} +24 -24
  105. package/dist/chunks/{pty-6y2kb6da.js → event-logger-cnkdetzb.js} +22 -22
  106. package/dist/chunks/{pty-15zevn5w.js → event-logger-cpy6gm2a.js} +6 -6
  107. package/dist/chunks/{pty-rp6xkheg.js → event-logger-cscxsbct.js} +13 -13
  108. package/dist/chunks/{pty-frw7gw9n.js → event-logger-czm3bm87.js} +32 -32
  109. package/dist/chunks/{pty-draats0m.js → event-logger-dfrss5yb.js} +5 -5
  110. package/dist/chunks/{pty-8p4f9s12.js → event-logger-dj2t23y0.js} +2 -2
  111. package/dist/chunks/{pty-dpkg50ah.js → event-logger-dpkg50ah.js} +1 -1
  112. package/dist/chunks/{pty-f8fgzrbf.js → event-logger-e2gcv4mp.js} +25 -25
  113. package/dist/chunks/{pty-xya6rnzh.js → event-logger-e4g6rnfs.js} +13 -13
  114. package/dist/chunks/{pty-ef5x83kb.js → event-logger-ef5x83kb.js} +1 -1
  115. package/dist/chunks/{pty-jt4eq04m.js → event-logger-eq2cdp10.js} +42 -42
  116. package/dist/chunks/{pty-ba30f0re.js → event-logger-erhakd9y.js} +29 -29
  117. package/dist/chunks/{pty-erw5rpbs.js → event-logger-erw5rpbs.js} +2 -2
  118. package/dist/chunks/{pty-etq0c3wd.js → event-logger-etq0c3wd.js} +1 -1
  119. package/dist/chunks/{pty-zqpw1c2p.js → event-logger-evxjfsf1.js} +32 -32
  120. package/dist/chunks/{pty-fmj93vfk.js → event-logger-eydrgtxh.js} +12 -12
  121. package/dist/chunks/{pty-k1qrnqst.js → event-logger-f5gy8qwh.js} +8 -8
  122. package/dist/chunks/{pty-w2xf1871.js → event-logger-f8mrt3yx.js} +40 -40
  123. package/dist/chunks/{pty-hs74x4gh.js → event-logger-f9th4ctt.js} +4 -4
  124. package/dist/chunks/{pty-rt43k5p5.js → event-logger-f9xxq0qt.js} +32 -32
  125. package/dist/chunks/{pty-zab6dek8.js → event-logger-fjvrebxd.js} +22 -22
  126. package/dist/chunks/{pty-bqjt5s0q.js → event-logger-fpwjxwx3.js} +43 -43
  127. package/dist/chunks/{pty-r9w3djhf.js → event-logger-fqcgpcra.js} +9 -9
  128. package/dist/chunks/{pty-fvkf5gpn.js → event-logger-fzb6eg2k.js} +5 -5
  129. package/dist/chunks/{pty-d81wp89e.js → event-logger-g2yqed36.js} +20 -20
  130. package/dist/chunks/{pty-3srp75sn.js → event-logger-g7a140t9.js} +13 -13
  131. package/dist/chunks/{pty-p7zm9vnn.js → event-logger-gc5zyen6.js} +18 -18
  132. package/dist/chunks/{pty-gd4qta3r.js → event-logger-gd4qta3r.js} +1 -1
  133. package/dist/chunks/{pty-548d8qnr.js → event-logger-gg2pcgrz.js} +13 -13
  134. package/dist/chunks/{pty-q40w5akv.js → event-logger-gjdnp5j1.js} +1 -1
  135. package/dist/chunks/{pty-hm7r1852.js → event-logger-grbsccpx.js} +18 -18
  136. package/dist/chunks/{pty-gv6a8nnw.js → event-logger-gv6a8nnw.js} +2 -2
  137. package/dist/chunks/{pty-s4w9dbtc.js → event-logger-gxcntcf7.js} +8 -8
  138. package/dist/chunks/{pty-9j764z9f.js → event-logger-h2dzxg9q.js} +7 -7
  139. package/dist/chunks/{pty-zxeq00ty.js → event-logger-h304gee5.js} +14 -14
  140. package/dist/chunks/{pty-8z00fdkb.js → event-logger-h6r3nrb9.js} +4 -4
  141. package/dist/chunks/{pty-h6vf3j39.js → event-logger-h6vf3j39.js} +1 -1
  142. package/dist/chunks/{pty-8pf6zh8g.js → event-logger-h6xepb87.js} +7 -7
  143. package/dist/chunks/{pty-jhf3jymm.js → event-logger-h896pcm5.js} +6 -6
  144. package/dist/chunks/{pty-f828m53h.js → event-logger-hdnk95c8.js} +2 -2
  145. package/dist/chunks/{pty-e2sckgsq.js → event-logger-hekjtj0c.js} +22 -22
  146. package/dist/chunks/{pty-1m68c3fq.js → event-logger-hvf0hqz1.js} +11 -11
  147. package/dist/chunks/{pty-a8mkfh3x.js → event-logger-j33cj7c0.js} +11 -11
  148. package/dist/chunks/{pty-bbd5t3cy.js → event-logger-j485hse2.js} +35 -35
  149. package/dist/chunks/{pty-j56e64zr.js → event-logger-j56e64zr.js} +1 -1
  150. package/dist/chunks/{pty-eyx3sbbq.js → event-logger-j5vdtgek.js} +4 -4
  151. package/dist/chunks/{pty-43kxyya3.js → event-logger-j710vash.js} +12 -12
  152. package/dist/chunks/{pty-pmr4s4kc.js → event-logger-j83byb14.js} +4 -4
  153. package/dist/chunks/{pty-vw2351hj.js → event-logger-jcaaevbk.js} +5 -5
  154. package/dist/chunks/{pty-j1fnkb2v.js → event-logger-jccvzjq0.js} +31 -31
  155. package/dist/chunks/{pty-nscznvay.js → event-logger-jjs74g98.js} +9 -9
  156. package/dist/chunks/{pty-8vhnwsrf.js → event-logger-jmdk0q61.js} +73 -73
  157. package/dist/chunks/{pty-bha4atvq.js → event-logger-jmphe03k.js} +4 -4
  158. package/dist/chunks/{pty-s23akgaf.js → event-logger-jxqwwkf3.js} +5 -5
  159. package/dist/chunks/{pty-nzks3jc8.js → event-logger-k3c624dm.js} +3 -3
  160. package/dist/chunks/{pty-p8z07maz.js → event-logger-k6p1ynt8.js} +23 -23
  161. package/dist/chunks/{pty-93hpb89x.js → event-logger-k6yq57aq.js} +3 -3
  162. package/dist/chunks/{pty-870m6jn5.js → event-logger-k8a7jxk0.js} +6 -6
  163. package/dist/chunks/{pty-knb7evpn.js → event-logger-k9kj6xed.js} +6 -6
  164. package/dist/chunks/{pty-2shksz5k.js → event-logger-kfj42dqf.js} +15 -15
  165. package/dist/chunks/{pty-48yax929.js → event-logger-kfyt32eg.js} +41 -41
  166. package/dist/chunks/{pty-29mx63hq.js → event-logger-kh4f7xrt.js} +29 -29
  167. package/dist/chunks/{pty-2sr83qrg.js → event-logger-kkjk0k92.js} +1 -1
  168. package/dist/chunks/event-logger-km01z7yn.js +26 -0
  169. package/dist/chunks/{pty-xkr6cyjb.js → event-logger-kshh6723.js} +23 -23
  170. package/dist/chunks/{pty-1543s7pr.js → event-logger-kxy3zzmf.js} +4 -4
  171. package/dist/chunks/{pty-tct3dq34.js → event-logger-kzqssey1.js} +54 -54
  172. package/dist/chunks/{pty-cfpkc3c9.js → event-logger-m0jqrx5p.js} +2 -2
  173. package/dist/chunks/{pty-rsf4gv7k.js → event-logger-m2tgckte.js} +27 -27
  174. package/dist/chunks/{pty-m3fdjcah.js → event-logger-m3fdjcah.js} +1 -1
  175. package/dist/chunks/{pty-m5j28g6y.js → event-logger-m67nz9rk.js} +8 -8
  176. package/dist/chunks/{pty-6svx4vfh.js → event-logger-m9jeb0dg.js} +28 -28
  177. package/dist/chunks/{pty-m9w0rfyh.js → event-logger-m9w0rfyh.js} +1 -1
  178. package/dist/chunks/{pty-xhrfypmh.js → event-logger-mdeam199.js} +32 -32
  179. package/dist/chunks/{pty-qr8qa9bm.js → event-logger-mhvcgc0n.js} +30 -30
  180. package/dist/chunks/{pty-sez5jh81.js → event-logger-mjymc32g.js} +4 -4
  181. package/dist/chunks/{pty-vj81g6vn.js → event-logger-msq0jde0.js} +4 -4
  182. package/dist/chunks/{pty-s0agc963.js → event-logger-mw934p8z.js} +5 -5
  183. package/dist/chunks/{pty-g2eett4k.js → event-logger-mwaasxsj.js} +11 -11
  184. package/dist/chunks/{pty-zcc1n10w.js → event-logger-myqhxg9v.js} +8 -8
  185. package/dist/chunks/{pty-wx15ps39.js → event-logger-mzrbxmyd.js} +11 -11
  186. package/dist/chunks/{pty-ehhpwfhw.js → event-logger-n2gg5p8t.js} +40 -40
  187. package/dist/chunks/{pty-k5t1vn2m.js → event-logger-ncxpewm0.js} +24 -24
  188. package/dist/chunks/{pty-vqwxbh15.js → event-logger-ng0pqa5s.js} +19 -19
  189. package/dist/chunks/{pty-xj2v2q7r.js → event-logger-nv6sgpkb.js} +6 -6
  190. package/dist/chunks/{pty-d386qjdf.js → event-logger-nwn8438d.js} +3 -3
  191. package/dist/chunks/{pty-p28j5sbe.js → event-logger-p28j5sbe.js} +2 -2
  192. package/dist/chunks/{pty-pecb0brz.js → event-logger-p44d8wdy.js} +5 -5
  193. package/dist/chunks/{pty-0w94f9zc.js → event-logger-p6dvmy6m.js} +8 -8
  194. package/dist/chunks/{pty-hwdkr1sy.js → event-logger-p7zm1bbg.js} +9 -9
  195. package/dist/chunks/{pty-vbwvxk55.js → event-logger-pfcenzjn.js} +16 -16
  196. package/dist/chunks/{pty-dc0f92gk.js → event-logger-pjv5g3we.js} +44 -44
  197. package/dist/chunks/{pty-pjvnvgmy.js → event-logger-pjvnvgmy.js} +1 -1
  198. package/dist/chunks/{pty-pknna89w.js → event-logger-pknna89w.js} +1 -1
  199. package/dist/chunks/{pty-mfcw5yns.js → event-logger-pnezrcsm.js} +3 -3
  200. package/dist/chunks/{pty-hqmr0w3b.js → event-logger-pstg3rfm.js} +1 -1
  201. package/dist/chunks/{pty-02xe747d.js → event-logger-q5rsr9t9.js} +8 -8
  202. package/dist/chunks/{pty-pvcnmygp.js → event-logger-q89ms4w2.js} +20 -20
  203. package/dist/chunks/{pty-2s238nn0.js → event-logger-qaczxe84.js} +184 -184
  204. package/dist/chunks/{pty-09tf4pjr.js → event-logger-qc9cscmv.js} +98 -98
  205. package/dist/chunks/{pty-qjnxxf51.js → event-logger-qjnxxf51.js} +2 -2
  206. package/dist/chunks/{pty-9pr215e3.js → event-logger-qk9s13pt.js} +21 -21
  207. package/dist/chunks/{pty-sk7gk9f5.js → event-logger-qq78z515.js} +13 -13
  208. package/dist/chunks/{pty-mx7gy8pb.js → event-logger-qrbdfc2y.js} +5 -5
  209. package/dist/chunks/{pty-qsdy395h.js → event-logger-qsdy395h.js} +1 -1
  210. package/dist/chunks/{pty-mhkvc446.js → event-logger-r5x6zcsm.js} +3 -3
  211. package/dist/chunks/event-logger-rap9a73h.js +18 -0
  212. package/dist/chunks/{pty-rdw6cm16.js → event-logger-rdw6cm16.js} +1 -1
  213. package/dist/chunks/{pty-esmjnf1q.js → event-logger-rfz948x8.js} +6 -6
  214. package/dist/chunks/{pty-3tjpy68d.js → event-logger-rvhy2x5j.js} +33 -33
  215. package/dist/chunks/{pty-h61ncxx5.js → event-logger-ryxmxgzp.js} +10 -10
  216. package/dist/chunks/{pty-rxdxv3zs.js → event-logger-rz38yymz.js} +12 -12
  217. package/dist/chunks/{pty-favr8gmm.js → event-logger-s3r0q333.js} +15 -15
  218. package/dist/chunks/{pty-7mr8gmff.js → event-logger-s6qg0f85.js} +4 -4
  219. package/dist/chunks/{pty-xc8wbe60.js → event-logger-s89ehdyp.js} +28 -28
  220. package/dist/chunks/{pty-et2qvwfy.js → event-logger-s9h2g6by.js} +10 -10
  221. package/dist/chunks/{pty-9n5gchmp.js → event-logger-sbev2xd4.js} +32 -32
  222. package/dist/chunks/{pty-rrfm0vdv.js → event-logger-svenvbs2.js} +15 -15
  223. package/dist/chunks/{pty-8m27p9j3.js → event-logger-syzk9dn2.js} +12 -12
  224. package/dist/chunks/{pty-mkmvax1f.js → event-logger-t2c2xhgk.js} +10 -10
  225. package/dist/chunks/{pty-eaj1djv9.js → event-logger-t550f9t1.js} +8 -8
  226. package/dist/chunks/{pty-tazgh4e4.js → event-logger-tazgh4e4.js} +1 -1
  227. package/dist/chunks/{pty-3cs1hnzz.js → event-logger-tc9wmbbt.js} +23 -23
  228. package/dist/chunks/{pty-89znhe33.js → event-logger-tcezcvh9.js} +4 -4
  229. package/dist/chunks/{pty-s1x3xehd.js → event-logger-tcyr2mjb.js} +14 -14
  230. package/dist/chunks/{pty-w97g4k0g.js → event-logger-tdhe5xga.js} +8 -8
  231. package/dist/chunks/{pty-tdstcens.js → event-logger-tdstcens.js} +1 -1
  232. package/dist/chunks/{pty-6rjq4ad6.js → event-logger-tm7zr4pr.js} +4 -4
  233. package/dist/chunks/{pty-rf2pre7z.js → event-logger-tmdm8nhe.js} +16 -16
  234. package/dist/chunks/{pty-78v47nsk.js → event-logger-tn0aqsam.js} +5 -5
  235. package/dist/chunks/{pty-abcdk8h0.js → event-logger-tr6395rv.js} +41 -41
  236. package/dist/chunks/{pty-tvtrv512.js → event-logger-tvtrv512.js} +1 -1
  237. package/dist/chunks/{pty-sgb290x0.js → event-logger-tz6evg4p.js} +18 -18
  238. package/dist/chunks/{pty-ca9wasfp.js → event-logger-v0rpwjyq.js} +18 -18
  239. package/dist/chunks/{pty-rzz4s24w.js → event-logger-v1h7w5qd.js} +17 -17
  240. package/dist/chunks/{pty-t3444mmx.js → event-logger-v4ck12m0.js} +11 -11
  241. package/dist/chunks/{pty-njs4fkas.js → event-logger-v7ax8jwn.js} +17 -17
  242. package/dist/chunks/{pty-veqvce7d.js → event-logger-veqvce7d.js} +1 -1
  243. package/dist/chunks/{pty-3q7edt44.js → event-logger-vj3n20x5.js} +14 -14
  244. package/dist/chunks/{pty-j69p7kth.js → event-logger-vnqs7r77.js} +28 -28
  245. package/dist/chunks/{pty-2sbg9ezb.js → event-logger-vqrb12cs.js} +60 -60
  246. package/dist/chunks/{pty-bqa7vndz.js → event-logger-vrhc7fs1.js} +27 -27
  247. package/dist/chunks/{pty-vzcthcp8.js → event-logger-vzcthcp8.js} +1 -1
  248. package/dist/chunks/{pty-qrrcqbrg.js → event-logger-w2dp7ehs.js} +13 -13
  249. package/dist/chunks/{pty-w3wsvvr9.js → event-logger-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{pty-9dvfkq0c.js → event-logger-w6gc61s9.js} +9 -9
  251. package/dist/chunks/{pty-wd87259q.js → event-logger-wd87259q.js} +1 -1
  252. package/dist/chunks/{pty-ph842b28.js → event-logger-wj76ss2k.js} +4 -4
  253. package/dist/chunks/{pty-fya5n5xa.js → event-logger-wp991nc2.js} +12 -12
  254. package/dist/chunks/{pty-j7c1rfea.js → event-logger-wpn6b2y7.js} +24 -24
  255. package/dist/chunks/{pty-be40ghdv.js → event-logger-wqc6684y.js} +2 -2
  256. package/dist/chunks/{pty-4cv6vszb.js → event-logger-wtd95fmx.js} +22 -22
  257. package/dist/chunks/{pty-atfs7rhk.js → event-logger-wzz0kxab.js} +4 -4
  258. package/dist/chunks/{pty-x1ezjp6w.js → event-logger-x1ezjp6w.js} +1 -1
  259. package/dist/chunks/{pty-879k3rbz.js → event-logger-x1pyywdt.js} +5 -5
  260. package/dist/chunks/{pty-zg5t6seb.js → event-logger-x383x7h2.js} +11 -11
  261. package/dist/chunks/{pty-5vdyt57w.js → event-logger-x9zc6e4m.js} +3 -3
  262. package/dist/chunks/{pty-1cd81313.js → event-logger-xcwej3ej.js} +11 -11
  263. package/dist/chunks/{pty-drwq78ky.js → event-logger-xfkkasph.js} +4 -4
  264. package/dist/chunks/event-logger-xrsqh21y.js +4 -0
  265. package/dist/chunks/{pty-q58mka6k.js → event-logger-xsgk3b13.js} +9 -9
  266. package/dist/chunks/event-logger-xwd8wj01.js +503 -0
  267. package/dist/chunks/{pty-1avgqjfw.js → event-logger-xz4b9fm1.js} +11 -11
  268. package/dist/chunks/{pty-ha666rq4.js → event-logger-y0v406da.js} +6 -6
  269. package/dist/chunks/{pty-y1fvbwt7.js → event-logger-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{pty-r7pg2k45.js → event-logger-ye8vvjpm.js} +37 -37
  271. package/dist/chunks/{pty-p1cpmwyf.js → event-logger-yevqhp4e.js} +19 -19
  272. package/dist/chunks/{pty-461fsfdt.js → event-logger-yjrjdv4d.js} +22 -22
  273. package/dist/chunks/{pty-yrhqyw5v.js → event-logger-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{pty-yrznvahk.js → event-logger-yrznvahk.js} +2 -2
  275. package/dist/chunks/{pty-nw53exab.js → event-logger-yvvvp4gn.js} +8 -8
  276. package/dist/chunks/{pty-z0bkrqjs.js → event-logger-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{pty-yrbxk7kt.js → event-logger-z31xfknp.js} +20 -20
  278. package/dist/chunks/{pty-8exbzf8y.js → event-logger-z5z1z32e.js} +19 -19
  279. package/dist/chunks/{pty-z63w68vq.js → event-logger-z63w68vq.js} +2 -2
  280. package/dist/chunks/{pty-tz4n1mmd.js → event-logger-zav06jzw.js} +4 -4
  281. package/dist/chunks/{pty-050w92qt.js → event-logger-zc6f29a8.js} +11 -11
  282. package/dist/chunks/{pty-2hvjkdzw.js → event-logger-zc733s3z.js} +3 -3
  283. package/dist/chunks/{pty-zeh9ct20.js → event-logger-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{pty-xcz1w3cx.js → event-logger-zfwjcr3k.js} +29 -29
  285. package/dist/chunks/{pty-y9g97vsr.js → event-logger-zqawtfk0.js} +35 -35
  286. package/dist/chunks/{pty-zr2ceqn5.js → event-logger-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{pty-e91xfsxp.js → event-logger-zs2egq8y.js} +2 -2
  288. package/dist/chunks/{pty-j2zz4nqv.js → event-logger-zsb94mss.js} +15 -15
  289. package/dist/chunks/{pty-6wc135vc.js → event-logger-zxnbmr45.js} +27 -27
  290. package/dist/chunks/{pty-zxq2ej10.js → event-logger-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +7 -7
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +82 -82
  296. package/dist/config/discovery.js +83 -83
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +105 -105
  299. package/dist/config/plugin/agent.js +124 -124
  300. package/dist/config/plugin/command.js +213 -213
  301. package/dist/config/plugin/compaction.js +161 -161
  302. package/dist/config/plugin/compatibility.js +140 -140
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +123 -123
  305. package/dist/config/plugin/image.js +122 -122
  306. package/dist/config/plugin/instruction.js +89 -89
  307. package/dist/config/plugin/location-watcher.js +122 -122
  308. package/dist/config/plugin/mcp.js +131 -131
  309. package/dist/config/plugin/policy.js +123 -123
  310. package/dist/config/plugin/provider.js +122 -122
  311. package/dist/config/plugin/reference.js +124 -124
  312. package/dist/config/plugin/shell.js +124 -124
  313. package/dist/config/plugin/skill-file.js +101 -101
  314. package/dist/config/plugin/skill.js +143 -143
  315. package/dist/config/plugin/snapshot.js +122 -122
  316. package/dist/config/plugin/source.js +125 -125
  317. package/dist/config/plugin/tool-output.js +124 -124
  318. package/dist/config/plugin/websearch.js +123 -123
  319. package/dist/config/plugin/worktree.js +124 -124
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +127 -127
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +84 -84
  325. package/dist/database/database.js +69 -69
  326. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +13 -13
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +14 -14
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration.gen.js +48 -48
  390. package/dist/database/migration.js +50 -50
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +78 -78
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +369 -369
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +1 -1
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +92 -92
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +92 -92
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +73 -73
  414. package/dist/file-access.js +103 -103
  415. package/dist/file-mutation.js +93 -93
  416. package/dist/file-retention.js +1 -1
  417. package/dist/file.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/ignore.js +1 -1
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +224 -224
  425. package/dist/filesystem/protected.js +3 -3
  426. package/dist/filesystem/search.js +102 -102
  427. package/dist/filesystem/watcher-binding.js +1 -1
  428. package/dist/filesystem/watcher.js +15 -15
  429. package/dist/filesystem.js +105 -105
  430. package/dist/form.js +85 -85
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +86 -86
  433. package/dist/generate.js +100 -100
  434. package/dist/git.js +10 -10
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +98 -98
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/id/id.js +1 -1
  455. package/dist/image/photon.js +2 -2
  456. package/dist/image.js +6 -6
  457. package/dist/instance/service.js +5 -5
  458. package/dist/instance.js +360 -360
  459. package/dist/instruction-discovery.js +84 -84
  460. package/dist/instructions/builtins.js +86 -86
  461. package/dist/instructions/index.js +5 -5
  462. package/dist/integration/connection.js +3 -3
  463. package/dist/integration.js +85 -85
  464. package/dist/job.js +78 -78
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +72 -72
  467. package/dist/location-activity.js +134 -134
  468. package/dist/location-lifecycle.js +105 -105
  469. package/dist/location-mutation.js +103 -103
  470. package/dist/location-service-map.js +85 -85
  471. package/dist/location-services.js +357 -357
  472. package/dist/location.js +84 -84
  473. package/dist/managed-policy.js +5 -5
  474. package/dist/mcp/client.js +90 -90
  475. package/dist/mcp/index.js +105 -105
  476. package/dist/mcp/instructions.js +127 -127
  477. package/dist/mcp/oauth.js +77 -77
  478. package/dist/mcp/stdio.js +89 -89
  479. package/dist/mime.js +1 -1
  480. package/dist/modal/models.js +98 -98
  481. package/dist/model-resolver.js +97 -97
  482. package/dist/model.js +101 -101
  483. package/dist/models-dev.js +106 -106
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +79 -79
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +114 -114
  488. package/dist/persistent-pty/binary.bun.js +1 -1
  489. package/dist/persistent-pty/daemon.js +1 -1
  490. package/dist/persistent-pty/index.js +85 -85
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +74 -74
  493. package/dist/plugin/agent.js +103 -103
  494. package/dist/plugin/command.js +100 -100
  495. package/dist/plugin/compaction.js +132 -132
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +217 -217
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +331 -331
  501. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  502. package/dist/plugin/models-dev.js +95 -95
  503. package/dist/plugin/module.js +7 -7
  504. package/dist/plugin/optimize.js +4 -4
  505. package/dist/plugin/plan.js +101 -101
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  508. package/dist/plugin/provider/azure.js +121 -121
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +118 -118
  514. package/dist/plugin/provider/digitalocean.js +92 -92
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/gateway.js +2 -2
  518. package/dist/plugin/provider/github-copilot.js +92 -92
  519. package/dist/plugin/provider/gitlab.js +90 -90
  520. package/dist/plugin/provider/google-vertex.js +89 -89
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +76 -76
  523. package/dist/plugin/provider/lmstudio.js +121 -121
  524. package/dist/plugin/provider/modal.js +91 -91
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +121 -121
  527. package/dist/plugin/provider/openai.js +93 -93
  528. package/dist/plugin/provider/opencode.js +93 -93
  529. package/dist/plugin/provider/openrouter.js +90 -90
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +77 -77
  532. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  533. package/dist/plugin/provider/sap-ai-core.js +90 -90
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  536. package/dist/plugin/provider/venice.js +2 -2
  537. package/dist/plugin/provider/vercel.js +89 -89
  538. package/dist/plugin/provider/vllm.js +119 -119
  539. package/dist/plugin/provider/xai.js +90 -90
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +159 -159
  542. package/dist/plugin/sdk.js +75 -75
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +140 -140
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +350 -350
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +6 -6
  549. package/dist/plugin/vcs/git.js +85 -85
  550. package/dist/plugin/vcs/hg.js +85 -85
  551. package/dist/plugin/warming.js +120 -120
  552. package/dist/plugin/websearch/exa.js +5 -5
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +6 -6
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +6 -6
  559. package/dist/plugin.js +222 -222
  560. package/dist/project/schema.js +6 -6
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +85 -85
  563. package/dist/provider.js +100 -100
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/schema.js +3 -3
  566. package/dist/pty/ticket.js +1 -1
  567. package/dist/pty.js +95 -95
  568. package/dist/reference/instructions.js +88 -88
  569. package/dist/reference.js +90 -90
  570. package/dist/repository-cache.js +80 -80
  571. package/dist/repository.js +3 -3
  572. package/dist/ripgrep/binary.js +2 -2
  573. package/dist/ripgrep.js +96 -96
  574. package/dist/rpc.js +85 -85
  575. package/dist/schema.js +1 -1
  576. package/dist/session/command.js +73 -73
  577. package/dist/session/compaction.js +127 -127
  578. package/dist/session/context.js +151 -151
  579. package/dist/session/diff.js +87 -87
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +5 -5
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +223 -223
  584. package/dist/session/execution.js +125 -125
  585. package/dist/session/generate.js +150 -150
  586. package/dist/session/history.js +13 -13
  587. package/dist/session/inbox.js +87 -87
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +78 -78
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +96 -96
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +118 -118
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +129 -129
  597. package/dist/session/projector.js +85 -85
  598. package/dist/session/prompt.js +104 -104
  599. package/dist/session/provider-context.js +3 -3
  600. package/dist/session/revert.js +89 -89
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +230 -230
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +97 -97
  606. package/dist/session/runner/publish-llm-event.js +3 -3
  607. package/dist/session/runner/retry.js +113 -113
  608. package/dist/session/runner/step.js +125 -125
  609. package/dist/session/runner/to-llm-message.js +2 -2
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +171 -171
  612. package/dist/session/shell.js +137 -137
  613. package/dist/session/skill.js +102 -102
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +74 -74
  616. package/dist/session/store.js +84 -84
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +209 -209
  619. package/dist/session/system-prompt.js +3 -3
  620. package/dist/session/title.js +155 -155
  621. package/dist/session/to-session-error.js +110 -110
  622. package/dist/session/transfer.js +222 -222
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +219 -219
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +13 -13
  629. package/dist/shell.js +139 -139
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +106 -106
  632. package/dist/skill.js +111 -111
  633. package/dist/snapshot.js +90 -90
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +124 -124
  638. package/dist/tool/plugin/edit.js +119 -119
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +119 -119
  641. package/dist/tool/plugin/grep.js +121 -121
  642. package/dist/tool/plugin/opencode.js +3 -3
  643. package/dist/tool/plugin/patch.js +113 -113
  644. package/dist/tool/plugin/question.js +100 -100
  645. package/dist/tool/plugin/read.js +124 -124
  646. package/dist/tool/plugin/shell.js +216 -216
  647. package/dist/tool/plugin/skill.js +106 -106
  648. package/dist/tool/plugin/subagent.js +216 -216
  649. package/dist/tool/plugin/webfetch.js +111 -111
  650. package/dist/tool/plugin/websearch.js +113 -113
  651. package/dist/tool/plugin/write.js +121 -121
  652. package/dist/tool/read-filesystem.js +99 -99
  653. package/dist/tool/runtime.js +1 -1
  654. package/dist/tool-output.js +8 -8
  655. package/dist/tool.js +14 -14
  656. package/dist/util/error-summary.js +1 -1
  657. package/dist/util/error.js +1 -1
  658. package/dist/util/git-executable.js +2 -2
  659. package/dist/util/iife.js +1 -1
  660. package/dist/util/lazy.js +1 -1
  661. package/dist/util/slug.js +1 -1
  662. package/dist/util/token.js +1 -1
  663. package/dist/util/which.js +1 -1
  664. package/dist/util/wildcard.js +1 -1
  665. package/dist/v1/config/agent.js +5 -5
  666. package/dist/v1/config/attachment.js +4 -4
  667. package/dist/v1/config/command.js +5 -5
  668. package/dist/v1/config/config.js +16 -16
  669. package/dist/v1/config/error.js +2 -2
  670. package/dist/v1/config/formatter.js +3 -3
  671. package/dist/v1/config/layout.js +1 -1
  672. package/dist/v1/config/lsp.js +5 -5
  673. package/dist/v1/config/mcp.js +4 -4
  674. package/dist/v1/config/migrate.js +91 -91
  675. package/dist/v1/config/permission.js +3 -3
  676. package/dist/v1/config/plugin.js +3 -3
  677. package/dist/v1/config/provider-options.js +1 -1
  678. package/dist/v1/config/provider.js +2 -2
  679. package/dist/v1/config/server.js +2 -2
  680. package/dist/v1/config/skills.js +3 -3
  681. package/dist/v1/permission.js +1 -1
  682. package/dist/variant.js +92 -92
  683. package/dist/vcs/patch.js +1 -1
  684. package/dist/vcs.js +88 -88
  685. package/dist/websearch.js +81 -81
  686. package/dist/wellknown/plugin.js +75 -75
  687. package/dist/wellknown.js +78 -78
  688. package/dist/workspace/driver.js +5 -5
  689. package/dist/workspace/sql.js +1 -1
  690. package/dist/workspace.js +79 -79
  691. package/dist/worktree/directory.js +2 -2
  692. package/dist/worktree/git.js +10 -10
  693. package/dist/worktree/sql.js +5 -5
  694. package/dist/worktree/strategies.js +88 -88
  695. package/dist/worktree.js +95 -95
  696. package/package.json +8 -8
  697. package/dist/chunks/pty-45th5jwr.js +0 -18
  698. package/dist/chunks/pty-4wwmgmwd.js +0 -26
  699. package/dist/chunks/pty-pf0d5y53.js +0 -252
  700. package/dist/chunks/pty-qtvmxc8s.js +0 -4
  701. package/dist/chunks/pty-wwpq4dkc.js +0 -503
  702. /package/dist/chunks/{pty-0qkdqm5v.js → event-logger-0qkdqm5v.js} +0 -0
  703. /package/dist/chunks/{pty-0zkw76rk.js → event-logger-0zkw76rk.js} +0 -0
  704. /package/dist/chunks/{pty-17cy0kzp.js → event-logger-17cy0kzp.js} +0 -0
  705. /package/dist/chunks/{pty-1cnp2v09.js → event-logger-1cnp2v09.js} +0 -0
  706. /package/dist/chunks/{pty-1kg9ymc8.js → event-logger-1kg9ymc8.js} +0 -0
  707. /package/dist/chunks/{pty-24dcb14g.js → event-logger-24dcb14g.js} +0 -0
  708. /package/dist/chunks/{pty-2710q6r3.js → event-logger-2710q6r3.js} +0 -0
  709. /package/dist/chunks/{pty-2axfhc9x.js → event-logger-2axfhc9x.js} +0 -0
  710. /package/dist/chunks/{pty-2c3vjs8z.js → event-logger-2c3vjs8z.js} +0 -0
  711. /package/dist/chunks/{pty-359p4xyc.js → event-logger-359p4xyc.js} +0 -0
  712. /package/dist/chunks/{pty-3asan66x.js → event-logger-3asan66x.js} +0 -0
  713. /package/dist/chunks/{pty-3v8g72cx.js → event-logger-3v8g72cx.js} +0 -0
  714. /package/dist/chunks/{pty-3w5fmr99.js → event-logger-3w5fmr99.js} +0 -0
  715. /package/dist/chunks/{pty-3wcehsnq.js → event-logger-3wcehsnq.js} +0 -0
  716. /package/dist/chunks/{pty-43n2bw4t.js → event-logger-43n2bw4t.js} +0 -0
  717. /package/dist/chunks/{pty-4knz6hnm.js → event-logger-4knz6hnm.js} +0 -0
  718. /package/dist/chunks/{pty-4vcrnpx2.js → event-logger-4vcrnpx2.js} +0 -0
  719. /package/dist/chunks/{pty-4y7fprxs.js → event-logger-4y7fprxs.js} +0 -0
  720. /package/dist/chunks/{pty-53557ph1.js → event-logger-53557ph1.js} +0 -0
  721. /package/dist/chunks/{pty-550bvhaj.js → event-logger-550bvhaj.js} +0 -0
  722. /package/dist/chunks/{pty-5qd3pb7m.js → event-logger-5qd3pb7m.js} +0 -0
  723. /package/dist/chunks/{pty-6prwharc.js → event-logger-6prwharc.js} +0 -0
  724. /package/dist/chunks/{pty-7akdwqpd.js → event-logger-7akdwqpd.js} +0 -0
  725. /package/dist/chunks/{pty-7m9af43g.js → event-logger-7m9af43g.js} +0 -0
  726. /package/dist/chunks/{pty-822emrt2.js → event-logger-822emrt2.js} +0 -0
  727. /package/dist/chunks/{pty-88xbtdfr.js → event-logger-88xbtdfr.js} +0 -0
  728. /package/dist/chunks/{pty-8n3pysct.js → event-logger-8n3pysct.js} +0 -0
  729. /package/dist/chunks/{pty-922hggd3.js → event-logger-922hggd3.js} +0 -0
  730. /package/dist/chunks/{pty-9a4afbnw.js → event-logger-9a4afbnw.js} +0 -0
  731. /package/dist/chunks/{pty-9rqn6x4v.js → event-logger-9rqn6x4v.js} +0 -0
  732. /package/dist/chunks/{pty-a6k6eb26.js → event-logger-a6k6eb26.js} +0 -0
  733. /package/dist/chunks/{pty-af5trqkr.js → event-logger-af5trqkr.js} +0 -0
  734. /package/dist/chunks/{pty-afrmfg78.js → event-logger-afrmfg78.js} +0 -0
  735. /package/dist/chunks/{pty-aqzs7mqg.js → event-logger-aqzs7mqg.js} +0 -0
  736. /package/dist/chunks/{pty-atq7p7m5.js → event-logger-atq7p7m5.js} +0 -0
  737. /package/dist/chunks/{pty-bkyjaxrp.js → event-logger-bkyjaxrp.js} +0 -0
  738. /package/dist/chunks/{pty-bmr6ed5q.js → event-logger-bmr6ed5q.js} +0 -0
  739. /package/dist/chunks/{pty-cf4snx6d.js → event-logger-cf4snx6d.js} +0 -0
  740. /package/dist/chunks/{pty-cvy3z8tj.js → event-logger-cvy3z8tj.js} +0 -0
  741. /package/dist/chunks/{pty-d9fn303g.js → event-logger-d9fn303g.js} +0 -0
  742. /package/dist/chunks/{pty-d9jj8t3e.js → event-logger-d9jj8t3e.js} +0 -0
  743. /package/dist/chunks/{pty-dajrwvna.js → event-logger-dajrwvna.js} +0 -0
  744. /package/dist/chunks/{pty-dap0rakb.js → event-logger-dap0rakb.js} +0 -0
  745. /package/dist/chunks/{pty-df08tz66.js → event-logger-df08tz66.js} +0 -0
  746. /package/dist/chunks/{pty-dy18nga0.js → event-logger-dy18nga0.js} +0 -0
  747. /package/dist/chunks/{pty-e5kj55wp.js → event-logger-e5kj55wp.js} +0 -0
  748. /package/dist/chunks/{pty-e73j6tqm.js → event-logger-e73j6tqm.js} +0 -0
  749. /package/dist/chunks/{pty-ec1grn59.js → event-logger-ec1grn59.js} +0 -0
  750. /package/dist/chunks/{pty-eh3zwz77.js → event-logger-eh3zwz77.js} +0 -0
  751. /package/dist/chunks/{pty-emrn6kk6.js → event-logger-emrn6kk6.js} +0 -0
  752. /package/dist/chunks/{pty-f0mxakyp.js → event-logger-f0mxakyp.js} +0 -0
  753. /package/dist/chunks/{pty-f6n9ztr4.js → event-logger-f6n9ztr4.js} +0 -0
  754. /package/dist/chunks/{pty-faypxj3z.js → event-logger-faypxj3z.js} +0 -0
  755. /package/dist/chunks/{pty-fd410y7t.js → event-logger-fd410y7t.js} +0 -0
  756. /package/dist/chunks/{pty-fxgpk5d8.js → event-logger-fxgpk5d8.js} +0 -0
  757. /package/dist/chunks/{pty-g4wezp1m.js → event-logger-g4wezp1m.js} +0 -0
  758. /package/dist/chunks/{pty-g86h250q.js → event-logger-g86h250q.js} +0 -0
  759. /package/dist/chunks/{pty-gebd4c9n.js → event-logger-gebd4c9n.js} +0 -0
  760. /package/dist/chunks/{pty-gftt206x.js → event-logger-gftt206x.js} +0 -0
  761. /package/dist/chunks/{pty-hjbc5kem.js → event-logger-hjbc5kem.js} +0 -0
  762. /package/dist/chunks/{pty-hk9envan.js → event-logger-hk9envan.js} +0 -0
  763. /package/dist/chunks/{pty-j2ntwpah.js → event-logger-j2ntwpah.js} +0 -0
  764. /package/dist/chunks/{pty-j5zkgpj8.js → event-logger-j5zkgpj8.js} +0 -0
  765. /package/dist/chunks/{pty-jjkms2e6.js → event-logger-jjkms2e6.js} +0 -0
  766. /package/dist/chunks/{pty-jr7sbwjy.js → event-logger-jr7sbwjy.js} +0 -0
  767. /package/dist/chunks/{pty-jwfs4k6c.js → event-logger-jwfs4k6c.js} +0 -0
  768. /package/dist/chunks/{pty-jzg6c2d5.js → event-logger-jzg6c2d5.js} +0 -0
  769. /package/dist/chunks/{pty-mp448xyj.js → event-logger-mp448xyj.js} +0 -0
  770. /package/dist/chunks/{pty-msx8hqn2.js → event-logger-msx8hqn2.js} +0 -0
  771. /package/dist/chunks/{pty-n05xt0ee.js → event-logger-n05xt0ee.js} +0 -0
  772. /package/dist/chunks/{pty-n3j8tn72.js → event-logger-n3j8tn72.js} +0 -0
  773. /package/dist/chunks/{pty-njntx4h6.js → event-logger-njntx4h6.js} +0 -0
  774. /package/dist/chunks/{pty-q3sfg36h.js → event-logger-q3sfg36h.js} +0 -0
  775. /package/dist/chunks/{pty-q74kybfr.js → event-logger-q74kybfr.js} +0 -0
  776. /package/dist/chunks/{pty-qaymkmh1.js → event-logger-qaymkmh1.js} +0 -0
  777. /package/dist/chunks/{pty-qb87gjwd.js → event-logger-qb87gjwd.js} +0 -0
  778. /package/dist/chunks/{pty-qfa1cgps.js → event-logger-qfa1cgps.js} +0 -0
  779. /package/dist/chunks/{pty-qg3g05ea.js → event-logger-qg3g05ea.js} +0 -0
  780. /package/dist/chunks/{pty-qrg20bc0.js → event-logger-qrg20bc0.js} +0 -0
  781. /package/dist/chunks/{pty-rcb2kzg1.js → event-logger-rcb2kzg1.js} +0 -0
  782. /package/dist/chunks/{pty-sdp7kfr6.js → event-logger-sdp7kfr6.js} +0 -0
  783. /package/dist/chunks/{pty-sk3qaz4a.js → event-logger-sk3qaz4a.js} +0 -0
  784. /package/dist/chunks/{pty-ssg3fenm.js → event-logger-ssg3fenm.js} +0 -0
  785. /package/dist/chunks/{pty-twg0f83k.js → event-logger-twg0f83k.js} +0 -0
  786. /package/dist/chunks/{pty-w803qqfp.js → event-logger-w803qqfp.js} +0 -0
  787. /package/dist/chunks/{pty-wc3fc9cn.js → event-logger-wc3fc9cn.js} +0 -0
  788. /package/dist/chunks/{pty-wer8tq1h.js → event-logger-wer8tq1h.js} +0 -0
  789. /package/dist/chunks/{pty-wtztk69x.js → event-logger-wtztk69x.js} +0 -0
  790. /package/dist/chunks/{pty-x0ckcb58.js → event-logger-x0ckcb58.js} +0 -0
  791. /package/dist/chunks/{pty-x61499pn.js → event-logger-x61499pn.js} +0 -0
  792. /package/dist/chunks/{pty-y44na4kk.js → event-logger-y44na4kk.js} +0 -0
  793. /package/dist/chunks/{pty-y8cydn3q.js → event-logger-y8cydn3q.js} +0 -0
  794. /package/dist/chunks/{pty-y8f7s663.js → event-logger-y8f7s663.js} +0 -0
  795. /package/dist/chunks/{pty-ygaqb7jw.js → event-logger-ygaqb7jw.js} +0 -0
  796. /package/dist/chunks/{pty-ym463w8f.js → event-logger-ym463w8f.js} +0 -0
  797. /package/dist/chunks/{pty-z9919s4g.js → event-logger-z9919s4g.js} +0 -0
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  latest2,
3
- Service30
4
- } from "./pty-jgq9btc2.js";
3
+ Service44
4
+ } from "./event-logger-8wfyked2.js";
5
5
  import {
6
6
  observe2
7
- } from "./pty-qsdy395h.js";
7
+ } from "./event-logger-qsdy395h.js";
8
8
  import {
9
9
  __export
10
- } from "./pty-9rqn6x4v.js";
10
+ } from "./event-logger-9rqn6x4v.js";
11
11
 
12
12
  // src/config/plugin/websearch.ts
13
- var exports_websearch2 = {};
14
- __export(exports_websearch2, {
15
- ConfigWebSearchPlugin: () => exports_websearch2,
16
- Plugin: () => Plugin44
13
+ var exports_websearch = {};
14
+ __export(exports_websearch, {
15
+ ConfigWebSearchPlugin: () => exports_websearch,
16
+ Plugin: () => Plugin19
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect } from "effect";
20
- var Plugin44 = define({
20
+ var Plugin19 = define({
21
21
  id: "opencode.config.websearch",
22
22
  effect: Effect.fn(function* (ctx) {
23
- const config = yield* Service30;
23
+ const config = yield* Service44;
24
24
  const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
25
25
  yield* ctx.websearch.transform((websearch) => {
26
26
  const selection = latest2(loaded.entries, "websearch");
@@ -32,4 +32,4 @@ var Plugin44 = define({
32
32
  })
33
33
  });
34
34
 
35
- export { Plugin44, exports_websearch2 };
35
+ export { Plugin19, exports_websearch };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  migrations2
3
- } from "./pty-v2cwp70s.js";
3
+ } from "./event-logger-0jcgjgb0.js";
4
4
  import {
5
5
  schema_gen_default
6
- } from "./pty-twg0f83k.js";
6
+ } from "./event-logger-twg0f83k.js";
7
7
  import {
8
8
  __export
9
- } from "./pty-9rqn6x4v.js";
9
+ } from "./event-logger-9rqn6x4v.js";
10
10
 
11
11
  // src/database/migration.ts
12
12
  var exports_migration = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./pty-922hggd3.js";
3
+ } from "./event-logger-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./pty-9rqn6x4v.js";
6
+ } from "./event-logger-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/server.ts
9
9
  var exports_server = {};
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./pty-vbwvxk55.js";
2
+ Service82,
3
+ node86
4
+ } from "./event-logger-pfcenzjn.js";
5
5
  import {
6
6
  __export
7
- } from "./pty-9rqn6x4v.js";
7
+ } from "./event-logger-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,40 +12,40 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event14,
15
+ Event: () => Event19,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID9,
20
- Info: () => Info23,
19
+ ID: () => ID15,
20
+ Info: () => Info30,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError6,
24
- Reply: () => Reply2,
25
- Service: () => Service57,
23
+ NotFoundError: () => NotFoundError10,
24
+ Reply: () => Reply3,
25
+ Service: () => Service78,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
- layer: () => layer24,
29
- node: () => node60,
28
+ layer: () => layer25,
29
+ node: () => node82,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event14 } from "@opencode/schema/form";
36
+ import { Event as Event19 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID9 = Form.ID;
39
- var Info23 = Form.Info;
38
+ var ID15 = Form.ID;
39
+ var Info30 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
43
43
  var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
- var Reply2 = Form.Reply;
45
+ var Reply3 = Form.Reply;
46
46
 
47
- class NotFoundError6 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID9
47
+ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID15
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError6 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID9
56
+ id: ID15
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID9
64
+ id: ID15
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID9,
72
+ id: ID15,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service57 extends Context.Service()("@opencode/Form") {
82
+ class Service78 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer24 = Layer.effect(Service57, Effect.gen(function* () {
85
- const bus = yield* Service83;
84
+ var layer25 = Layer.effect(Service78, Effect.gen(function* () {
85
+ const bus = yield* Service82;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
88
88
  capacity: Number.MAX_SAFE_INTEGER,
89
89
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
90
90
  });
91
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError6({ id })))));
91
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID9.create();
93
+ const id = input.id ?? ID15.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
95
95
  if (Option.isSome(existing))
96
96
  return yield* new AlreadyExistsError2({ id });
@@ -159,9 +159,9 @@ var layer24 = Layer.effect(Service57, Effect.gen(function* () {
159
159
  closed = true;
160
160
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
161
161
  yield* Effect.addFinalizer(() => close);
162
- return Service57.of({ create, ask, get, list, state, reply, cancel, close });
162
+ return Service78.of({ create, ask, get, list, state, reply, cancel, close });
163
163
  }));
164
- var node60 = makeLocationNode({ service: Service57, layer: layer24, deps: [node87] });
164
+ var node82 = makeLocationNode({ service: Service78, layer: layer25, deps: [node86] });
165
165
  function validateAnswer2(form, answer) {
166
166
  const fields = new Map(form.map((field) => [field.key, field]));
167
167
  for (const key of Object.keys(answer)) {
@@ -313,4 +313,4 @@ function isDateTime(value) {
313
313
  return !Number.isNaN(new Date(value).getTime());
314
314
  }
315
315
 
316
- export { ID9, Info23, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError6, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service57, layer24, node60, validateAnswer2, validateFields2, exports_form, Event14 };
316
+ export { ID15, Info30, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service78, layer25, node82, validateAnswer2, validateFields2, exports_form, Event19 };
@@ -1,63 +1,63 @@
1
- import {
2
- Service84,
3
- node88
4
- } from "./pty-t3444mmx.js";
5
1
  import {
6
2
  Service83,
7
3
  node87
8
- } from "./pty-vbwvxk55.js";
4
+ } from "./event-logger-v4ck12m0.js";
5
+ import {
6
+ Service82,
7
+ node86
8
+ } from "./event-logger-pfcenzjn.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./pty-pknna89w.js";
11
+ } from "./event-logger-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./pty-0q0f95c6.js";
14
+ } from "./event-logger-0q0f95c6.js";
15
15
  import {
16
16
  __export
17
- } from "./pty-9rqn6x4v.js";
17
+ } from "./event-logger-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event13,
24
- ID: () => ID8,
25
- Info: () => Info22,
26
- Key: () => Key3,
23
+ Event: () => Event20,
24
+ ID: () => ID16,
25
+ Info: () => Info31,
26
+ Key: () => Key4,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service56,
28
+ Service: () => Service79,
29
29
  Value: () => Value2,
30
- node: () => node59
30
+ node: () => node83
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID8 = Credential.ID;
37
+ var ID16 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
- var Key3 = Credential.Key;
39
+ var Key4 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event13 = Credential.Event;
41
+ var Event20 = Credential.Event;
42
42
 
43
- class Info22 extends Schema.Class("Credential.Info")({
44
- id: ID8,
43
+ class Info31 extends Schema.Class("Credential.Info")({
44
+ id: ID16,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service56 extends Context.Service()("@opencode/Credential") {
51
+ class Service79 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service56, Effect.gen(function* () {
54
- const db = (yield* Service84).db;
55
- const bus = yield* Service83;
53
+ var layer = Layer.effect(Service79, Effect.gen(function* () {
54
+ const db = (yield* Service83).db;
55
+ const bus = yield* Service82;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info22({
60
+ return new Info31({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service56.of({
71
+ return Service79.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info22({
80
- id: ID8.create(),
79
+ const credential = new Info31({
80
+ id: ID16.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
101
101
  integrationID: credential.integrationID,
102
102
  type: credential.value.type
103
103
  });
104
- yield* bus.publish(Event13.Updated, {}, { global: true });
105
- yield* bus.publish(Event13.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
104
+ yield* bus.publish(Event20.Updated, {}, { global: true });
105
+ yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
106
106
  return credential;
107
107
  }),
108
108
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
122
122
  })), Effect.orDie);
123
123
  if (integrationID) {
124
124
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
125
- yield* bus.publish(Event13.Switched, { integrationID, credentialID: id }, { global: true });
125
+ yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
126
126
  }
127
127
  }),
128
128
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
154
154
  labelChanged: updates.label !== undefined && updates.label !== credential.label
155
155
  });
156
156
  if (updates.label !== undefined && updates.label !== credential.label)
157
- yield* bus.publish(Event13.Updated, {}, { global: true });
157
+ yield* bus.publish(Event20.Updated, {}, { global: true });
158
158
  }),
159
159
  remove: Effect.fn("Credential.remove")(function* (id) {
160
160
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
187
187
  active: removed.switched,
188
188
  ...removed.switched ? { replacementID: removed.credentialID } : {}
189
189
  });
190
- yield* bus.publish(Event13.Updated, {}, { global: true });
190
+ yield* bus.publish(Event20.Updated, {}, { global: true });
191
191
  if (removed.switched)
192
- yield* bus.publish(Event13.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
192
+ yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
193
193
  })
194
194
  });
195
195
  }));
196
- var node59 = makeGlobalNode({ service: Service56, layer, deps: [node88, node87] });
196
+ var node83 = makeGlobalNode({ service: Service79, layer, deps: [node87, node86] });
197
197
 
198
- export { ID8, OAuth3, Key3, Value2, Event13, Info22, Service56, node59, exports_credential };
198
+ export { ID16, OAuth3, Key4, Value2, Event20, Info31, Service79, node83, exports_credential };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./event-logger-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/promise.ts
6
6
  var exports_promise = {};
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  resolveNullableObjectPaths2,
3
3
  mapResultRow2
4
- } from "./pty-emrn6kk6.js";
4
+ } from "./event-logger-emrn6kk6.js";
5
5
  import {
6
6
  SQLiteEffectDatabase2
7
- } from "./pty-nkasj3c8.js";
7
+ } from "./event-logger-3pt4dhyb.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/session.ts
10
10
  import * as Cause from "effect/Cause";
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./pty-922hggd3.js";
5
+ } from "./event-logger-922hggd3.js";
6
6
  import {
7
- Service62,
8
- node65
9
- } from "./pty-k5t1vn2m.js";
7
+ Service54,
8
+ node56
9
+ } from "./event-logger-ncxpewm0.js";
10
10
  import {
11
11
  Content2
12
- } from "./pty-qr8qa9bm.js";
12
+ } from "./event-logger-mhvcgc0n.js";
13
13
  import {
14
14
  detect2
15
- } from "./pty-3smtnn6g.js";
15
+ } from "./event-logger-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./pty-9rqn6x4v.js";
18
+ } from "./event-logger-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service7,
36
+ Service: () => Service9,
37
37
  TextPage: () => TextPage2,
38
- node: () => node9,
38
+ node: () => node11,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service7 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service9 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
326
326
  return index + 1;
327
327
  }
328
328
  };
329
- var layer = Layer.effect(Service7, Effect.gen(function* () {
330
- const environment = yield* Service62;
331
- return Service7.of({
329
+ var layer = Layer.effect(Service9, Effect.gen(function* () {
330
+ const environment = yield* Service54;
331
+ return Service9.of({
332
332
  list: environment.files.list,
333
333
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
334
334
  });
335
335
  }));
336
- var node9 = makeLocationNode({ service: Service7, layer, deps: [node65] });
336
+ var node11 = makeLocationNode({ service: Service9, layer, deps: [node56] });
337
337
 
338
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service7, read2, node9, exports_read_filesystem };
338
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service9, read2, node11, exports_read_filesystem };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./pty-922hggd3.js";
3
+ } from "./event-logger-922hggd3.js";
4
4
  import {
5
- Service78
6
- } from "./pty-s1x3xehd.js";
5
+ Service80
6
+ } from "./event-logger-tcyr2mjb.js";
7
7
  import {
8
- Service64
9
- } from "./pty-hm7r1852.js";
8
+ Service19
9
+ } from "./event-logger-grbsccpx.js";
10
10
  import {
11
- Service6
12
- } from "./pty-4efdx9rk.js";
11
+ Service8
12
+ } from "./event-logger-5gs23kxp.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./pty-2a5m3afh.js";
15
+ } from "./event-logger-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,26 +23,26 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service7
27
- } from "./pty-j2zz4nqv.js";
26
+ Service9
27
+ } from "./event-logger-zsb94mss.js";
28
28
  import {
29
29
  __export
30
- } from "./pty-9rqn6x4v.js";
30
+ } from "./event-logger-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input7,
36
- Plugin: () => Plugin25,
35
+ Input: () => Input6,
36
+ Plugin: () => Plugin26,
37
37
  ReadTool: () => exports_read,
38
- name: () => name7,
39
- toModelContent: () => toModelContent4
38
+ name: () => name6,
39
+ toModelContent: () => toModelContent5
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name7 = "read";
45
+ var name6 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to 2000)"
54
54
  })
55
55
  });
56
- var Input7 = LocationInput;
56
+ var Input6 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin25 = {
58
+ var Plugin26 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service7;
62
- const access = yield* Service64;
63
- const sessionInstructions = yield* Service6;
61
+ const reader = yield* Service9;
62
+ const access = yield* Service19;
63
+ const sessionInstructions = yield* Service8;
64
64
  const fs = yield* FSUtil.Service;
65
- const location = yield* Service78;
65
+ const location = yield* Service80;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name7,
67
+ name: name6,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input7,
70
+ input: Input6,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -112,7 +112,7 @@ var Plugin25 = {
112
112
  return { output: result.content, path: result.path };
113
113
  }).pipe(Effect.map((result) => ({
114
114
  output: result.output,
115
- content: toModelContent4(result.path, input.offset, result.output),
115
+ content: toModelContent5(result.path, input.offset, result.output),
116
116
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
117
117
  })), Effect.mapError((error) => {
118
118
  if (error instanceof ToolFailure)
@@ -144,7 +144,7 @@ ${suggestions.join(`
144
144
  });
145
145
  })
146
146
  };
147
- var toModelContent4 = (path, offset, output) => {
147
+ var toModelContent5 = (path, offset, output) => {
148
148
  if (output.type === "file" && output.encoding === "base64")
149
149
  return [
150
150
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -180,4 +180,4 @@ var toModelContent4 = (path, offset, output) => {
180
180
  `);
181
181
  };
182
182
 
183
- export { name7, Input7, Plugin25, toModelContent4, exports_read };
183
+ export { name6, Input6, Plugin26, toModelContent5, exports_read };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./event-logger-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/source-directory.ts
6
6
  var exports_source_directory = {};
@@ -4,7 +4,7 @@ import {
4
4
  summarize2,
5
5
  namespaceLine2,
6
6
  exports_catalog
7
- } from "../chunks/pty-3fc6dm20.js";
7
+ } from "../chunks/event-logger-3fc6dm20.js";
8
8
  export {
9
9
  exports_catalog as CodeModeCatalog,
10
10
  Summary2 as Summary,
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  render2,
3
3
  update3,
4
- make13,
5
- exports_instructions5
6
- } from "../chunks/pty-xya6rnzh.js";
7
- import"../chunks/pty-3fc6dm20.js";
8
- import"../chunks/pty-eaj1djv9.js";
4
+ make14,
5
+ exports_instructions4
6
+ } from "../chunks/event-logger-e4g6rnfs.js";
7
+ import"../chunks/event-logger-3fc6dm20.js";
8
+ import"../chunks/event-logger-t550f9t1.js";
9
9
  export {
10
- exports_instructions5 as CodeModeInstructions,
11
- make13 as make,
10
+ exports_instructions4 as CodeModeInstructions,
11
+ make14 as make,
12
12
  render2 as render,
13
13
  update3 as update
14
14
  };
@@ -2,9 +2,9 @@ import {
2
2
  create2,
3
3
  catalog2,
4
4
  exports_tool2
5
- } from "../chunks/pty-nzks3jc8.js";
6
- import"../chunks/pty-3w5fmr99.js";
7
- import"../chunks/pty-m3fdjcah.js";
5
+ } from "../chunks/event-logger-k3c624dm.js";
6
+ import"../chunks/event-logger-m3fdjcah.js";
7
+ import"../chunks/event-logger-3w5fmr99.js";
8
8
  export {
9
9
  exports_tool2 as CodeModeTool,
10
10
  catalog2 as catalog,
@@ -2,7 +2,7 @@ import {
2
2
  extension2,
3
3
  display2,
4
4
  exports_web
5
- } from "../chunks/pty-m3fdjcah.js";
5
+ } from "../chunks/event-logger-m3fdjcah.js";
6
6
  export {
7
7
  exports_web as CodeModeWeb,
8
8
  display2 as display,