@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,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./pty-922hggd3.js";
4
+ } from "./event-logger-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
+ Service84,
9
+ node88
10
+ } from "./event-logger-965ggptx.js";
11
+ import {
8
12
  Service80,
9
13
  node84
10
- } from "./pty-6ng8rhkc.js";
11
- import {
12
- Service78,
13
- node82
14
- } from "./pty-s1x3xehd.js";
14
+ } from "./event-logger-tcyr2mjb.js";
15
15
  import {
16
16
  create3
17
- } from "./pty-rdw6cm16.js";
17
+ } from "./event-logger-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./pty-9rqn6x4v.js";
20
+ } from "./event-logger-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error2,
26
- ID: () => ID4,
27
- Service: () => Service40,
25
+ Error: () => Error5,
26
+ ID: () => ID8,
27
+ Service: () => Service62,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node42,
29
+ node: () => node65,
30
30
  noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -34,22 +34,22 @@ import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID4 } from "@opencode/schema/snapshot";
37
+ import { ID as ID8 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error2 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error5 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service40 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service62 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service40, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service62, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service80;
50
+ const git = yield* Service84;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service78;
52
+ const location = yield* Service80;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error5({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error5({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID4.make(yield* git.tree.capture({
85
+ return ID8.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service40.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service62.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node42 = makeLocationNode({
144
- service: Service40,
143
+ var node65 = makeLocationNode({
144
+ service: Service62,
145
145
  layer,
146
- deps: [FSUtil.node, node84, Global.node, node82]
146
+ deps: [FSUtil.node, node88, Global.node, node84]
147
147
  });
148
- var noopLayer3 = Layer.succeed(Service40, Service40.of({
148
+ var noopLayer3 = Layer.succeed(Service62, Service62.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service40, Service40.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error2 && cause.operation === operation)
157
+ if (cause instanceof Error5 && cause.operation === operation)
158
158
  return cause;
159
- return new Error2({
159
+ return new Error5({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID4, Error2, Service40, node42, noopLayer3, exports_snapshot2 };
166
+ export { ID8, Error5, Service62, node65, noopLayer3, exports_snapshot2 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  AbsolutePath2
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/skill/discovery.ts
9
9
  var exports_discovery = {};
10
10
  __export(exports_discovery, {
11
- Service: () => Service11,
11
+ Service: () => Service6,
12
12
  SkillDiscovery: () => exports_discovery,
13
- node: () => node13
13
+ node: () => node8
14
14
  });
15
15
  import path from "path";
16
16
  import { Context, Effect, Layer, Schedule, Schema } from "effect";
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
48
48
  }) {
49
49
  }
50
50
 
51
- class Service11 extends Context.Service()("@opencode/SkillDiscovery") {
51
+ class Service6 extends Context.Service()("@opencode/SkillDiscovery") {
52
52
  }
53
- var layer = Layer.effect(Service11, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service6, Effect.gen(function* () {
54
54
  const fs = yield* FSUtil.Service;
55
55
  const global = yield* Global.Service;
56
56
  const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
63
63
  return true;
64
64
  return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
65
65
  });
66
- return Service11.of({
66
+ return Service6.of({
67
67
  pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
68
68
  const base = url.endsWith("/") ? url : `${url}/`;
69
69
  const source = new URL(base);
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
150
150
  })
151
151
  });
152
152
  }));
153
- var node13 = makeGlobalNode({ service: Service11, layer, deps: [httpClient, FSUtil.node, Global.node] });
153
+ var node8 = makeGlobalNode({ service: Service6, layer, deps: [httpClient, FSUtil.node, Global.node] });
154
154
 
155
- export { Service11, node13, exports_discovery };
155
+ export { Service6, node8, exports_discovery };
@@ -1,121 +1,121 @@
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
  SessionMessage2
11
- } from "./pty-gftt206x.js";
11
+ } from "./event-logger-gftt206x.js";
12
12
  import {
13
13
  StepFailedError2
14
- } from "./pty-xj2v2q7r.js";
14
+ } from "./event-logger-nv6sgpkb.js";
15
15
  import {
16
16
  SessionEvent2
17
- } from "./pty-ec1grn59.js";
17
+ } from "./event-logger-ec1grn59.js";
18
18
  import {
19
19
  SessionMessageTable2
20
- } from "./pty-a1bz86dw.js";
20
+ } from "./event-logger-5c4hm403.js";
21
21
  import {
22
22
  prepare4
23
- } from "./pty-bha4atvq.js";
23
+ } from "./event-logger-jmphe03k.js";
24
24
  import {
25
25
  provenance2
26
- } from "./pty-vj81g6vn.js";
26
+ } from "./event-logger-msq0jde0.js";
27
27
  import {
28
28
  decodeMessageRow2,
29
29
  preview2
30
- } from "./pty-emca911v.js";
30
+ } from "./event-logger-46efvg8p.js";
31
31
  import {
32
- Service66,
33
- node70
34
- } from "./pty-rrfm0vdv.js";
32
+ Service58,
33
+ node61
34
+ } from "./event-logger-svenvbs2.js";
35
35
  import {
36
- Service43,
37
- node45
38
- } from "./pty-d8sk975s.js";
36
+ Service18,
37
+ node21
38
+ } from "./event-logger-0qa5p3hq.js";
39
39
  import {
40
40
  llmClient2
41
- } from "./pty-5t3nmthw.js";
41
+ } from "./event-logger-5t3nmthw.js";
42
42
  import {
43
- Service25,
44
- node28
45
- } from "./pty-s9na07f2.js";
43
+ Service35,
44
+ node38
45
+ } from "./event-logger-63zxpw7x.js";
46
46
  import {
47
47
  baseTranscript2
48
- } from "./pty-x10m976v.js";
48
+ } from "./event-logger-5t8sa872.js";
49
49
  import {
50
- make8
51
- } from "./pty-870m6jn5.js";
50
+ make10
51
+ } from "./event-logger-k8a7jxk0.js";
52
52
  import {
53
53
  Service12,
54
54
  node14
55
- } from "./pty-pekx08ex.js";
55
+ } from "./event-logger-2gjby33x.js";
56
56
  import {
57
- Service16,
58
- node20
59
- } from "./pty-062r8x8b.js";
57
+ Service26,
58
+ node30
59
+ } from "./event-logger-2mfwfczk.js";
60
60
  import {
61
61
  serialized2,
62
62
  nextPromotable2,
63
63
  promote2
64
- } from "./pty-czzrymxc.js";
64
+ } from "./event-logger-50xdy9sd.js";
65
65
  import {
66
- Service5,
66
+ Service2,
67
67
  isUntitled2,
68
- node7
69
- } from "./pty-9n5gchmp.js";
68
+ node3
69
+ } from "./event-logger-sbev2xd4.js";
70
70
  import {
71
71
  DrainResult2,
72
- Service35
73
- } from "./pty-tz4n1mmd.js";
72
+ Service48
73
+ } from "./event-logger-zav06jzw.js";
74
74
  import {
75
- node42
76
- } from "./pty-j1fnkb2v.js";
75
+ node65
76
+ } from "./event-logger-jccvzjq0.js";
77
77
  import {
78
- node32
79
- } from "./pty-43kxyya3.js";
78
+ node49
79
+ } from "./event-logger-j710vash.js";
80
80
  import {
81
81
  Outcome2,
82
- make7
83
- } from "./pty-qggqx5pb.js";
82
+ make3
83
+ } from "./event-logger-0s976vq3.js";
84
84
  import {
85
- Service20
86
- } from "./pty-45th5jwr.js";
85
+ Service33
86
+ } from "./event-logger-rap9a73h.js";
87
87
  import {
88
- node16
89
- } from "./pty-rgch3z0v.js";
88
+ node17
89
+ } from "./event-logger-5e07j1hz.js";
90
90
  import {
91
91
  MAX_STEPS_PROMPT2
92
- } from "./pty-y44na4kk.js";
92
+ } from "./event-logger-y44na4kk.js";
93
93
  import {
94
94
  __export
95
- } from "./pty-9rqn6x4v.js";
95
+ } from "./event-logger-9rqn6x4v.js";
96
96
 
97
97
  // src/session/runner/llm.ts
98
98
  var exports_llm = {};
99
99
  __export(exports_llm, {
100
100
  SessionRunnerLLM: () => exports_llm,
101
- node: () => node6
101
+ node: () => node2
102
102
  });
103
103
  import { Message } from "@opencode/ai";
104
104
  import { and, desc, eq, sql } from "drizzle-orm";
105
105
  import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
106
106
  import { makeLocationNode } from "@opencode/util/effect/app-node";
107
107
  var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
108
- var layer = Layer.effect(Service35, Effect.gen(function* () {
109
- const bus = yield* Service83;
110
- const lifecycle = yield* Service43;
111
- const store = yield* Service66;
112
- const context = yield* Service16;
113
- const modelTransport = yield* Service25;
114
- const db = (yield* Service84).db;
108
+ var layer = Layer.effect(Service48, Effect.gen(function* () {
109
+ const bus = yield* Service82;
110
+ const lifecycle = yield* Service18;
111
+ const store = yield* Service58;
112
+ const context = yield* Service26;
113
+ const modelTransport = yield* Service35;
114
+ const db = (yield* Service83).db;
115
115
  const compaction = yield* Service12;
116
- const plugins = yield* Service20;
117
- const title = yield* Service5;
118
- const steps = yield* make7;
116
+ const plugins = yield* Service33;
117
+ const title = yield* Service2;
118
+ const steps = yield* make3;
119
119
  const titles = yield* FiberMap.make();
120
120
  const drain = Effect.fn("SessionRunner.drain")(function* (input) {
121
121
  const sessionID = input.sessionID;
@@ -240,7 +240,7 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
240
240
  const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
241
241
  const sessionID = first.session.id;
242
242
  let assistantMessageID = SessionMessage2.ID.create();
243
- const retry = yield* make8(bus, sessionID);
243
+ const retry = yield* make10(bus, sessionID);
244
244
  let initial = first;
245
245
  let recoverOverflow = true;
246
246
  let recoverContinuation = true;
@@ -361,25 +361,25 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
361
361
  }
362
362
  }
363
363
  });
364
- return Service35.of({ drain });
364
+ return Service48.of({ drain });
365
365
  }));
366
- var node6 = makeLocationNode({
367
- service: Service35,
366
+ var node2 = makeLocationNode({
367
+ service: Service48,
368
368
  layer,
369
369
  deps: [
370
- node87,
371
- node45,
370
+ node86,
371
+ node21,
372
372
  llmClient2,
373
- node20,
374
- node28,
375
- node70,
373
+ node30,
374
+ node38,
375
+ node61,
376
376
  node14,
377
- node16,
378
- node7,
379
- node42,
380
- node32,
381
- node88
377
+ node17,
378
+ node3,
379
+ node65,
380
+ node49,
381
+ node87
382
382
  ]
383
383
  });
384
384
 
385
- export { node6, exports_llm };
385
+ export { node2, exports_llm };
@@ -5,17 +5,17 @@ import {
5
5
  renderInitial2,
6
6
  renderUpdate2,
7
7
  applyHashDelta2
8
- } from "./pty-eaj1djv9.js";
8
+ } from "./event-logger-t550f9t1.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./pty-ec1grn59.js";
11
+ } from "./event-logger-ec1grn59.js";
12
12
  import {
13
13
  InstructionBlobTable2,
14
14
  InstructionStateTable2
15
- } from "./pty-a1bz86dw.js";
15
+ } from "./event-logger-5c4hm403.js";
16
16
  import {
17
17
  __export
18
- } from "./pty-9rqn6x4v.js";
18
+ } from "./event-logger-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instruction-state.ts
21
21
  var exports_instruction_state = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
- ID6
3
- } from "./pty-w9ka22cp.js";
2
+ ID13
3
+ } from "./event-logger-4j1b3dvz.js";
4
4
  import {
5
5
  iife2
6
- } from "./pty-1kg9ymc8.js";
6
+ } from "./event-logger-1kg9ymc8.js";
7
7
  import {
8
8
  configuredSettings2
9
- } from "./pty-3shkqxcj.js";
9
+ } from "./event-logger-4mqqaehj.js";
10
10
 
11
11
  // src/plugin/provider/cloudflare-ai-gateway.ts
12
12
  import { Effect } from "effect";
13
13
  import { define } from "@opencode/plugin/effect/plugin";
14
14
  import { Form } from "@opencode/schema/form";
15
- var providerID = ID6.make("cloudflare-ai-gateway");
15
+ var providerID = ID13.make("cloudflare-ai-gateway");
16
16
  var CloudflareAIGatewayPlugin2 = define({
17
17
  id: "opencode.provider.cloudflare.ai.gateway",
18
18
  effect: Effect.fn(function* (ctx) {
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  definition2,
3
3
  normalizedName2
4
- } from "./pty-3w5fmr99.js";
4
+ } from "./event-logger-3w5fmr99.js";
5
5
  import {
6
6
  extension2,
7
7
  display2
8
- } from "./pty-m3fdjcah.js";
8
+ } from "./event-logger-m3fdjcah.js";
9
9
  import {
10
10
  __export
11
- } from "./pty-9rqn6x4v.js";
11
+ } from "./event-logger-9rqn6x4v.js";
12
12
 
13
13
  // src/codemode/tool.ts
14
14
  var exports_tool2 = {};
@@ -1,31 +1,31 @@
1
1
  import {
2
- Key4,
2
+ Key3,
3
3
  removed2,
4
- make21,
4
+ make19,
5
5
  diffByKey2
6
- } from "./pty-eaj1djv9.js";
6
+ } from "./event-logger-t550f9t1.js";
7
7
  import {
8
8
  evaluate2
9
- } from "./pty-2sbg9ezb.js";
9
+ } from "./event-logger-vqrb12cs.js";
10
10
  import {
11
- Service26,
12
- node29
13
- } from "./pty-tms1td0z.js";
11
+ Service32,
12
+ node36
13
+ } from "./event-logger-ch15aacc.js";
14
14
  import {
15
15
  namespace2,
16
16
  name13
17
- } from "./pty-xc8wbe60.js";
17
+ } from "./event-logger-s89ehdyp.js";
18
18
  import {
19
19
  __export
20
- } from "./pty-9rqn6x4v.js";
20
+ } from "./event-logger-9rqn6x4v.js";
21
21
 
22
22
  // src/mcp/instructions.ts
23
- var exports_instructions3 = {};
24
- __export(exports_instructions3, {
25
- McpInstructions: () => exports_instructions3,
26
- Service: () => Service19,
27
- layer: () => layer8,
28
- node: () => node23
23
+ var exports_instructions2 = {};
24
+ __export(exports_instructions2, {
25
+ McpInstructions: () => exports_instructions2,
26
+ Service: () => Service28,
27
+ layer: () => layer10,
28
+ node: () => node32
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Context, Effect, Layer, Schema } from "effect";
@@ -61,14 +61,14 @@ var update = (previous, current) => {
61
61
  `);
62
62
  };
63
63
 
64
- class Service19 extends Context.Service()("@opencode/McpInstructions") {
64
+ class Service28 extends Context.Service()("@opencode/McpInstructions") {
65
65
  }
66
- var layer8 = Layer.effect(Service19, Effect.gen(function* () {
67
- const mcp = yield* Service26;
68
- return Service19.of({
66
+ var layer10 = Layer.effect(Service28, Effect.gen(function* () {
67
+ const mcp = yield* Service32;
68
+ return Service28.of({
69
69
  load: Effect.fn("McpInstructions.load")(function* (permissions) {
70
- const source = (value) => make21({
71
- key: Key4.make("core/mcp-guidance"),
70
+ const source = (value) => make19({
71
+ key: Key3.make("core/mcp-guidance"),
72
72
  codec: Schema.toCodecJson(Schema.Array(Summary)),
73
73
  read: Effect.succeed(value),
74
74
  render: {
@@ -96,6 +96,6 @@ var layer8 = Layer.effect(Service19, Effect.gen(function* () {
96
96
  })
97
97
  });
98
98
  }));
99
- var node23 = makeLocationNode({ service: Service19, layer: layer8, deps: [node29] });
99
+ var node32 = makeLocationNode({ service: Service28, layer: layer10, deps: [node36] });
100
100
 
101
- export { Service19, layer8, node23, exports_instructions3 };
101
+ export { Service28, layer10, node32, exports_instructions2 };
@@ -1,7 +1,7 @@
1
1
  // src/session/schema.ts
2
2
  import * as SessionSchema2 from "@opencode/schema/session";
3
3
  import { Session } from "@opencode/schema/session";
4
- var ID13 = Session.ID;
5
- var Info27 = Session.Info;
4
+ var ID9 = Session.ID;
5
+ var Info24 = Session.Info;
6
6
 
7
- export { ID13, Info27, SessionSchema2 };
7
+ export { ID9, Info24, SessionSchema2 };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./pty-ec1grn59.js";
3
+ } from "./event-logger-ec1grn59.js";
4
4
  import {
5
5
  toSessionError2
6
- } from "./pty-7mr8gmff.js";
6
+ } from "./event-logger-s6qg0f85.js";
7
7
  import {
8
8
  __export
9
- } from "./pty-9rqn6x4v.js";
9
+ } from "./event-logger-9rqn6x4v.js";
10
10
 
11
11
  // src/session/runner/retry.ts
12
12
  var exports_retry = {};
13
13
  __export(exports_retry, {
14
14
  SessionRunnerRetry: () => exports_retry,
15
15
  isRetryable: () => isRetryable2,
16
- make: () => make8,
16
+ make: () => make10,
17
17
  policy: () => policy2,
18
18
  transient: () => transient2
19
19
  });
@@ -99,7 +99,7 @@ var transient2 = (decide, input) => (effect) => Effect.retry(effect, {
99
99
  return true;
100
100
  })
101
101
  });
102
- var make8 = (bus, sessionID) => Effect.gen(function* () {
102
+ var make10 = (bus, sessionID) => Effect.gen(function* () {
103
103
  const decide = yield* policy2(sessionID);
104
104
  const wait = (input) => Effect.gen(function* () {
105
105
  const scheduled = yield* Clock.currentTimeMillis;
@@ -116,4 +116,4 @@ var make8 = (bus, sessionID) => Effect.gen(function* () {
116
116
  return { decide, wait };
117
117
  });
118
118
 
119
- export { isRetryable2, policy2, transient2, make8, exports_retry };
119
+ export { isRetryable2, policy2, transient2, make10, exports_retry };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  render3
3
- } from "./pty-drwq78ky.js";
3
+ } from "./event-logger-xfkkasph.js";
4
4
  import {
5
5
  __export
6
- } from "./pty-9rqn6x4v.js";
6
+ } from "./event-logger-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/optimize.ts
9
9
  var exports_optimize = {};
@@ -13,7 +13,7 @@ __export(exports_optimize, {
13
13
  ArceePlugin: () => ArceePlugin2,
14
14
  KimiPlugin: () => KimiPlugin2,
15
15
  MetaPlugin: () => MetaPlugin2,
16
- OpenAIPlugin: () => OpenAIPlugin3,
16
+ OpenAIPlugin: () => OpenAIPlugin2,
17
17
  OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
18
18
  OptimizePlugin: () => exports_optimize,
19
19
  Plugins: () => Plugins2
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
374
374
  `;
375
375
 
376
376
  // src/plugin/optimize.ts
377
- var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
377
+ var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
378
378
  const id = model.id.toLowerCase();
379
379
  if (!id.includes("gpt"))
380
380
  return;
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
409
409
  return;
410
410
  return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
411
411
  });
412
- var Plugins2 = [OpenAIPlugin3, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
412
+ var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
413
413
  function make(id, optimize, mode = "override") {
414
414
  return define({
415
415
  id,
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
437
437
  });
438
438
  }
439
439
 
440
- export { OpenAIPlugin3, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
440
+ export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };