@opencode/core 0.0.0-dev-20295 → 0.0.0-dev-20300

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (798) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{location-j83byb14.js → event-logger-00z3vp5f.js} +4 -4
  8. package/dist/chunks/{location-z1dsjv8w.js → event-logger-05drfyp7.js} +20 -20
  9. package/dist/chunks/{location-ek5t7eqg.js → event-logger-07xp2psn.js} +6 -6
  10. package/dist/chunks/{location-gq9kk5at.js → event-logger-0c5mcabb.js} +6 -6
  11. package/dist/chunks/{location-yxcw63er.js → event-logger-0fsbgwxw.js} +23 -23
  12. package/dist/chunks/{location-f9qcgrnz.js → event-logger-0hcagjse.js} +26 -26
  13. package/dist/chunks/{location-bj3zhn3q.js → event-logger-0mb95hfz.js} +5 -5
  14. package/dist/chunks/{location-0paq2nw3.js → event-logger-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{location-yjptyezs.js → event-logger-0r7yqxbf.js} +5 -5
  16. package/dist/chunks/{location-5kbmmh0w.js → event-logger-0vpbvc12.js} +11 -11
  17. package/dist/chunks/{location-13xegjf9.js → event-logger-0x4m4gc6.js} +27 -27
  18. package/dist/chunks/{location-h3qzgcp1.js → event-logger-0xp25zzf.js} +15 -15
  19. package/dist/chunks/{location-h345add1.js → event-logger-1c8xcbqk.js} +8 -8
  20. package/dist/chunks/{location-46t99vnr.js → event-logger-1cmp1yx0.js} +13 -13
  21. package/dist/chunks/{location-1dazxqgg.js → event-logger-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{location-5xpznt2d.js → event-logger-1ed2t66p.js} +4 -4
  23. package/dist/chunks/event-logger-1x11rq2a.js +18 -0
  24. package/dist/chunks/{location-56gdpj1q.js → event-logger-1ygqh575.js} +9 -9
  25. package/dist/chunks/{location-rp7q4m9n.js → event-logger-212zxvyn.js} +14 -14
  26. package/dist/chunks/{location-21r38tys.js → event-logger-21r38tys.js} +1 -1
  27. package/dist/chunks/{location-2a5m3afh.js → event-logger-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{location-81swgkk7.js → event-logger-2fgn2we9.js} +5 -5
  29. package/dist/chunks/{location-px4zyfbx.js → event-logger-2fjhkdtj.js} +8 -8
  30. package/dist/chunks/{location-d3z5vgb9.js → event-logger-2jnyx621.js} +82 -82
  31. package/dist/chunks/{location-2k8khapm.js → event-logger-2k8khapm.js} +1 -1
  32. package/dist/chunks/{location-yk6wy72m.js → event-logger-2qeskfjt.js} +24 -24
  33. package/dist/chunks/{location-r0dmdece.js → event-logger-35r86gx7.js} +2 -2
  34. package/dist/chunks/{location-c78bbtc9.js → event-logger-37s12vcn.js} +5 -5
  35. package/dist/chunks/{location-axs6pdy0.js → event-logger-3801kdgp.js} +5 -5
  36. package/dist/chunks/{location-8pv27hsx.js → event-logger-38x4fkzp.js} +17 -17
  37. package/dist/chunks/{location-3fc6dm20.js → event-logger-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{location-3hepkmqq.js → event-logger-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{location-math506r.js → event-logger-3kdn186t.js} +24 -24
  40. package/dist/chunks/{location-3smtnn6g.js → event-logger-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{location-1zr7j3r4.js → event-logger-3t3bkqqx.js} +3 -3
  42. package/dist/chunks/{location-3tvqynh2.js → event-logger-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{location-v4w8s23p.js → event-logger-3vv51bva.js} +29 -29
  44. package/dist/chunks/{location-7ysj2gw8.js → event-logger-3ykaprc5.js} +25 -25
  45. package/dist/chunks/{location-3zsf4n22.js → event-logger-3zsf4n22.js} +1 -1
  46. package/dist/chunks/event-logger-4ks30rnq.js +26 -0
  47. package/dist/chunks/{location-gz5dk3bq.js → event-logger-4z2gx1r5.js} +5 -5
  48. package/dist/chunks/{location-qrarvdac.js → event-logger-50av738z.js} +13 -13
  49. package/dist/chunks/{location-hmr7k35w.js → event-logger-51yh9xt6.js} +18 -18
  50. package/dist/chunks/{location-54ma36ye.js → event-logger-54ma36ye.js} +1 -1
  51. package/dist/chunks/{location-ckecvw8r.js → event-logger-54tcyq79.js} +2 -2
  52. package/dist/chunks/{location-ambwqhm0.js → event-logger-56zse835.js} +69 -69
  53. package/dist/chunks/{location-25h6wh0b.js → event-logger-582j49fg.js} +33 -33
  54. package/dist/chunks/{location-5daktx2q.js → event-logger-5daktx2q.js} +1 -1
  55. package/dist/chunks/{location-pxya9xw6.js → event-logger-5esg9gyy.js} +26 -26
  56. package/dist/chunks/{location-csp167nn.js → event-logger-5kh6m3pr.js} +20 -6
  57. package/dist/chunks/{location-5t3nmthw.js → event-logger-5t3nmthw.js} +2 -2
  58. package/dist/chunks/{location-w3efebdc.js → event-logger-5w3kyw83.js} +20 -20
  59. package/dist/chunks/{location-czfptnv9.js → event-logger-5xtgfte3.js} +8 -8
  60. package/dist/chunks/{location-016zrmbp.js → event-logger-5xzagc23.js} +36 -36
  61. package/dist/chunks/{location-669tq793.js → event-logger-669tq793.js} +1 -1
  62. package/dist/chunks/event-logger-68kb85dp.js +252 -0
  63. package/dist/chunks/{location-y9kjyn13.js → event-logger-6a30tsfs.js} +12 -12
  64. package/dist/chunks/{location-mn2xmmev.js → event-logger-6bms86gp.js} +11 -11
  65. package/dist/chunks/{location-zsh9941h.js → event-logger-6c9zkndg.js} +10 -10
  66. package/dist/chunks/{location-nxhp6d1h.js → event-logger-6dfetvvz.js} +18 -18
  67. package/dist/chunks/{location-mq8f5nmh.js → event-logger-6g391fys.js} +19 -19
  68. package/dist/chunks/{location-6msgmcgs.js → event-logger-6msgmcgs.js} +1 -1
  69. package/dist/chunks/{location-knetett0.js → event-logger-72jg65dk.js} +48 -48
  70. package/dist/chunks/{location-hn61d6g7.js → event-logger-7358hs9s.js} +9 -9
  71. package/dist/chunks/{location-fg6vqa6w.js → event-logger-739k6dsq.js} +31 -31
  72. package/dist/chunks/{location-kk3cv3zh.js → event-logger-78jgv2cz.js} +1 -1
  73. package/dist/chunks/{location-7bmhse3q.js → event-logger-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{location-4jmq7cn8.js → event-logger-7g31tjk5.js} +12 -12
  75. package/dist/chunks/{location-v8v948yd.js → event-logger-7jqnfy5j.js} +13 -13
  76. package/dist/chunks/{location-g8d3gcyj.js → event-logger-7sbkp4xb.js} +7 -7
  77. package/dist/chunks/{location-3pbjq009.js → event-logger-818pfwc9.js} +8 -8
  78. package/dist/chunks/{location-tjp0ts8d.js → event-logger-81dawb4q.js} +169 -169
  79. package/dist/chunks/{location-15zraegk.js → event-logger-87njwr7s.js} +29 -29
  80. package/dist/chunks/{location-8d7r5vzw.js → event-logger-8d7r5vzw.js} +1 -1
  81. package/dist/chunks/{location-xxdt3syk.js → event-logger-8g31m1p8.js} +11 -11
  82. package/dist/chunks/{location-eag70mrj.js → event-logger-8mqdnygk.js} +3 -3
  83. package/dist/chunks/{location-2r60reda.js → event-logger-8p9a1qen.js} +21 -21
  84. package/dist/chunks/event-logger-8pnxeyxd.js +507 -0
  85. package/dist/chunks/{location-jtfh4wfs.js → event-logger-8ra4etaj.js} +23 -23
  86. package/dist/chunks/{location-f0v8xfz9.js → event-logger-8wprgtcj.js} +27 -27
  87. package/dist/chunks/{location-k0h4mfgc.js → event-logger-9bfk5xdd.js} +43 -43
  88. package/dist/chunks/{location-qwwvq786.js → event-logger-9frk6cee.js} +11 -11
  89. package/dist/chunks/{location-dvfstcq5.js → event-logger-9j401wee.js} +17 -17
  90. package/dist/chunks/{location-eae26f42.js → event-logger-9szx4j0a.js} +11 -11
  91. package/dist/chunks/{location-ra4n65wq.js → event-logger-a3c7ahw6.js} +4 -4
  92. package/dist/chunks/{location-jggnvhtg.js → event-logger-aaa6x6ax.js} +52 -52
  93. package/dist/chunks/{location-aaet6srn.js → event-logger-aaet6srn.js} +2 -2
  94. package/dist/chunks/{location-v3679p2r.js → event-logger-af60tkba.js} +17 -17
  95. package/dist/chunks/{location-6yvxz189.js → event-logger-akqk8sab.js} +12 -12
  96. package/dist/chunks/{location-sqr731h9.js → event-logger-ameawy6r.js} +10 -10
  97. package/dist/chunks/{location-sc4ksy03.js → event-logger-ap7jznt4.js} +8 -8
  98. package/dist/chunks/{location-ajpn13bz.js → event-logger-arjnx064.js} +22 -22
  99. package/dist/chunks/{location-51n8w2am.js → event-logger-az82vszd.js} +9 -9
  100. package/dist/chunks/{location-b6gygkdw.js → event-logger-b6gygkdw.js} +2 -2
  101. package/dist/chunks/{location-9jbrny13.js → event-logger-bd80k4zb.js} +30 -30
  102. package/dist/chunks/{location-yahe92kn.js → event-logger-bh593jhc.js} +26 -26
  103. package/dist/chunks/{location-z07pqspn.js → event-logger-bjtzbw4r.js} +3 -3
  104. package/dist/chunks/{location-16a16tg4.js → event-logger-bkh9vwpp.js} +13 -13
  105. package/dist/chunks/{location-ps9c259y.js → event-logger-bntvr425.js} +15 -15
  106. package/dist/chunks/{location-bx8vey6p.js → event-logger-c0qhn7g4.js} +16 -16
  107. package/dist/chunks/{location-n0ppq016.js → event-logger-ccnsw293.js} +11 -11
  108. package/dist/chunks/{location-d725fnbd.js → event-logger-cgftzr9x.js} +30 -30
  109. package/dist/chunks/{location-f6qf1r64.js → event-logger-cr1rmkmp.js} +9 -9
  110. package/dist/chunks/{location-zm51y9zq.js → event-logger-crt3f3h0.js} +12 -12
  111. package/dist/chunks/{location-qtpgf39r.js → event-logger-cx12mkt6.js} +3 -3
  112. package/dist/chunks/{location-gydr4vsc.js → event-logger-cyybam5y.js} +7 -7
  113. package/dist/chunks/{location-vfbk05zz.js → event-logger-czx650js.js} +78 -78
  114. package/dist/chunks/{location-y5df08dr.js → event-logger-d2ztc3sk.js} +5 -5
  115. package/dist/chunks/{location-qrpna819.js → event-logger-d676vkt9.js} +13 -13
  116. package/dist/chunks/{location-hq78f3qw.js → event-logger-d72ykhpz.js} +30 -30
  117. package/dist/chunks/{location-5j3nemfx.js → event-logger-dk0mqk66.js} +21 -21
  118. package/dist/chunks/{location-y71avatq.js → event-logger-dpkg50ah.js} +4 -4
  119. package/dist/chunks/{location-qqeeq2t9.js → event-logger-drwq78ky.js} +7 -7
  120. package/dist/chunks/{location-pg092y7m.js → event-logger-dvkythkc.js} +20 -20
  121. package/dist/chunks/{location-2y34zzjz.js → event-logger-dwvzh0g2.js} +5 -5
  122. package/dist/chunks/{location-5bpccfdn.js → event-logger-dwwkn0mg.js} +22 -22
  123. package/dist/chunks/{location-xdqwyhzn.js → event-logger-dys24x3z.js} +3 -3
  124. package/dist/chunks/{location-96xc4j73.js → event-logger-e2z9n6er.js} +9 -9
  125. package/dist/chunks/{location-qgt4e7dm.js → event-logger-e4cp32a1.js} +8 -8
  126. package/dist/chunks/{location-8t9r9m98.js → event-logger-e63ynvta.js} +24 -24
  127. package/dist/chunks/{location-cpy6gm2a.js → event-logger-e6hd9jay.js} +6 -6
  128. package/dist/chunks/{location-xxewh186.js → event-logger-e6m9qz06.js} +9 -9
  129. package/dist/chunks/{location-s8d7rejh.js → event-logger-eaj1djv9.js} +6 -6
  130. package/dist/chunks/{location-9h6052ys.js → event-logger-ebgnttvs.js} +37 -37
  131. package/dist/chunks/{location-ecfe7b91.js → event-logger-ecfe7b91.js} +2 -2
  132. package/dist/chunks/{location-ef5x83kb.js → event-logger-ef5x83kb.js} +1 -1
  133. package/dist/chunks/{location-9sm9gfq3.js → event-logger-egmenwpk.js} +11 -11
  134. package/dist/chunks/{location-jf5a25sz.js → event-logger-enae3s66.js} +43 -43
  135. package/dist/chunks/{location-6nex2bx1.js → event-logger-epqv3gec.js} +24 -24
  136. package/dist/chunks/{location-etq0c3wd.js → event-logger-etq0c3wd.js} +1 -1
  137. package/dist/chunks/{location-pgsw580e.js → event-logger-ev2737vw.js} +17 -17
  138. package/dist/chunks/{location-sz763eb6.js → event-logger-eyz64kwr.js} +6 -6
  139. package/dist/chunks/{location-qahgzyff.js → event-logger-f1xfam91.js} +36 -36
  140. package/dist/chunks/{location-rnr5nq63.js → event-logger-fbx4mpfx.js} +17 -17
  141. package/dist/chunks/{location-0g11kb4v.js → event-logger-fc3fz5yp.js} +16 -16
  142. package/dist/chunks/{location-jmasdga9.js → event-logger-fc5be094.js} +44 -44
  143. package/dist/chunks/{location-sdvk2ad6.js → event-logger-fepyq996.js} +16 -16
  144. package/dist/chunks/{location-yrccs5dw.js → event-logger-fwr084f3.js} +29 -29
  145. package/dist/chunks/{location-f3ngv102.js → event-logger-g190xswt.js} +4 -4
  146. package/dist/chunks/{location-ckbtgcas.js → event-logger-g2m9wvvx.js} +7 -7
  147. package/dist/chunks/{location-wpn654rn.js → event-logger-g414dn7q.js} +45 -45
  148. package/dist/chunks/{location-4928d4yw.js → event-logger-gc3a2mq0.js} +11 -11
  149. package/dist/chunks/{location-tjyds3np.js → event-logger-gcv002t7.js} +15 -15
  150. package/dist/chunks/{location-yf8kg88s.js → event-logger-gd3e1aq9.js} +7 -7
  151. package/dist/chunks/{location-gd4qta3r.js → event-logger-gd4qta3r.js} +1 -1
  152. package/dist/chunks/{location-e89xj288.js → event-logger-gebtr55s.js} +5 -5
  153. package/dist/chunks/{location-613reg7y.js → event-logger-geebtqnp.js} +7 -7
  154. package/dist/chunks/{location-94ek1h2f.js → event-logger-gfvb90ym.js} +2 -2
  155. package/dist/chunks/{location-4r1h02t6.js → event-logger-gj694qjh.js} +21 -21
  156. package/dist/chunks/{location-bpc3jfqy.js → event-logger-gkrhf1d5.js} +11 -11
  157. package/dist/chunks/{location-gv6a8nnw.js → event-logger-gv6a8nnw.js} +2 -2
  158. package/dist/chunks/{location-swabsky0.js → event-logger-gxpss1xa.js} +6 -6
  159. package/dist/chunks/{location-mw2h8ask.js → event-logger-h29qthyp.js} +18 -18
  160. package/dist/chunks/{location-qqcp2fey.js → event-logger-h2yrmx5e.js} +16 -6
  161. package/dist/chunks/{location-4v0x0v53.js → event-logger-h3v2aa7y.js} +50 -50
  162. package/dist/chunks/{location-h6vf3j39.js → event-logger-h6vf3j39.js} +1 -1
  163. package/dist/chunks/{location-sxzvkvgj.js → event-logger-h896pcm5.js} +6 -6
  164. package/dist/chunks/{location-5aserzf1.js → event-logger-h8g80tac.js} +11 -11
  165. package/dist/chunks/{location-5ns8y5nv.js → event-logger-hd4mk6dn.js} +8 -8
  166. package/dist/chunks/{location-pb18q5py.js → event-logger-hdmg76f8.js} +34 -34
  167. package/dist/chunks/{location-427t97hr.js → event-logger-hekxc47r.js} +1 -1
  168. package/dist/chunks/{location-pecb0brz.js → event-logger-hkfg6fzm.js} +5 -5
  169. package/dist/chunks/{location-hngjveb4.js → event-logger-hr86py8n.js} +10 -10
  170. package/dist/chunks/{location-1qetcq2f.js → event-logger-hs8arses.js} +4 -4
  171. package/dist/chunks/{location-87eb0wvk.js → event-logger-hy75wegv.js} +32 -32
  172. package/dist/chunks/{location-patgj9rf.js → event-logger-j1mj860n.js} +9 -9
  173. package/dist/chunks/{location-j56e64zr.js → event-logger-j56e64zr.js} +1 -1
  174. package/dist/chunks/{location-b09hzw3k.js → event-logger-jca4demv.js} +2 -2
  175. package/dist/chunks/{location-58exf9s3.js → event-logger-jhdrpgrd.js} +15 -15
  176. package/dist/chunks/{location-pr72k1jg.js → event-logger-js7evpf5.js} +13 -13
  177. package/dist/chunks/{location-b7t5wn2m.js → event-logger-jspgs3p8.js} +18 -18
  178. package/dist/chunks/{location-kx6ewwgc.js → event-logger-jtecw4np.js} +5 -5
  179. package/dist/chunks/{location-5pc7ckbf.js → event-logger-jtscxqr2.js} +32 -32
  180. package/dist/chunks/{location-at8brtyc.js → event-logger-jvgend4z.js} +20 -20
  181. package/dist/chunks/{location-3ez35teb.js → event-logger-jvwnm37b.js} +11 -11
  182. package/dist/chunks/{location-18rp1xkf.js → event-logger-k1qrnqst.js} +8 -8
  183. package/dist/chunks/{location-nzks3jc8.js → event-logger-k3c624dm.js} +3 -3
  184. package/dist/chunks/{location-4gma0qdv.js → event-logger-k3ymncy7.js} +8 -8
  185. package/dist/chunks/{location-bnty75vp.js → event-logger-k6gc0w33.js} +5 -5
  186. package/dist/chunks/{location-kp8q1t60.js → event-logger-k79tzb9n.js} +9 -9
  187. package/dist/chunks/{location-m3fdjcah.js → event-logger-m3fdjcah.js} +1 -1
  188. package/dist/chunks/{location-ednp5hmx.js → event-logger-m3zza4qd.js} +8 -8
  189. package/dist/chunks/{location-m9w0rfyh.js → event-logger-m9w0rfyh.js} +1 -1
  190. package/dist/chunks/{location-w6fmte8d.js → event-logger-mc5qwq8g.js} +24 -24
  191. package/dist/chunks/{location-8j5e0nxw.js → event-logger-me7ybzbp.js} +33 -33
  192. package/dist/chunks/{location-7ybfkyhv.js → event-logger-mf0d3swk.js} +16 -16
  193. package/dist/chunks/{location-27z7pma6.js → event-logger-mgpk9p2q.js} +16 -16
  194. package/dist/chunks/{location-j028xdjb.js → event-logger-mhkvc446.js} +3 -3
  195. package/dist/chunks/{location-03b5ykzw.js → event-logger-mk3tjkqx.js} +3 -3
  196. package/dist/chunks/{location-2zxaccxt.js → event-logger-mvqdx4t1.js} +10 -10
  197. package/dist/chunks/{location-hnr8f6ws.js → event-logger-mwwxnxty.js} +4 -4
  198. package/dist/chunks/{location-n5rr0bsk.js → event-logger-n3xrbjpq.js} +11 -11
  199. package/dist/chunks/{location-f99pqswk.js → event-logger-nda15pd4.js} +41 -41
  200. package/dist/chunks/{location-mntfxcz2.js → event-logger-nez6t23e.js} +4 -4
  201. package/dist/chunks/{location-3pe7sts8.js → event-logger-nq7qbqzc.js} +9 -9
  202. package/dist/chunks/{location-0jvg19fh.js → event-logger-nsjb7sab.js} +24 -24
  203. package/dist/chunks/{location-nw7gx7cz.js → event-logger-nv1p5j7x.js} +28 -28
  204. package/dist/chunks/{location-rnx3qgyn.js → event-logger-p2864vt2.js} +39 -39
  205. package/dist/chunks/{location-h3s7v34z.js → event-logger-p48qjbda.js} +6 -6
  206. package/dist/chunks/{location-aqxvbtvc.js → event-logger-p6ecssyc.js} +23 -23
  207. package/dist/chunks/{location-syf57q56.js → event-logger-p6wxjpka.js} +4 -4
  208. package/dist/chunks/{location-kn0epzjf.js → event-logger-p70m11t7.js} +11 -11
  209. package/dist/chunks/{location-h23ctypg.js → event-logger-pb89f654.js} +14 -14
  210. package/dist/chunks/{location-pjvnvgmy.js → event-logger-pjvnvgmy.js} +1 -1
  211. package/dist/chunks/{location-wtyk7tnn.js → event-logger-pk5rpknt.js} +6 -6
  212. package/dist/chunks/{location-pknna89w.js → event-logger-pknna89w.js} +1 -1
  213. package/dist/chunks/{location-wyanbm64.js → event-logger-pr7d68de.js} +4 -4
  214. package/dist/chunks/{location-wd3x2cqz.js → event-logger-psazpmmj.js} +2 -2
  215. package/dist/chunks/{location-y6f0p4jw.js → event-logger-q3t37ft6.js} +3 -3
  216. package/dist/chunks/{location-vz2v0y1g.js → event-logger-q3v70c5s.js} +8 -8
  217. package/dist/chunks/{location-wpttx3ek.js → event-logger-qad94zvq.js} +19 -19
  218. package/dist/chunks/{location-j5fma2v7.js → event-logger-qg5w4dek.js} +37 -37
  219. package/dist/chunks/{location-j6h5z8n4.js → event-logger-qjj1cc1j.js} +30 -30
  220. package/dist/chunks/{location-cwa6csj7.js → event-logger-qmqgtz8f.js} +9 -9
  221. package/dist/chunks/{location-jdhe76k5.js → event-logger-qn3f85xh.js} +3 -3
  222. package/dist/chunks/{location-qsdy395h.js → event-logger-qsdy395h.js} +1 -1
  223. package/dist/chunks/{location-sd23ea76.js → event-logger-qsef27kt.js} +13 -13
  224. package/dist/chunks/{location-1gmrbm9q.js → event-logger-r4va0x0h.js} +16 -16
  225. package/dist/chunks/{location-j8zvn2fh.js → event-logger-r7nsrefv.js} +8 -8
  226. package/dist/chunks/{location-f3rj20sn.js → event-logger-ra6f59x8.js} +20 -20
  227. package/dist/chunks/{location-cw1jgv1w.js → event-logger-rdcxwqtg.js} +8 -8
  228. package/dist/chunks/{location-rdw6cm16.js → event-logger-rdw6cm16.js} +1 -1
  229. package/dist/chunks/{location-7fkffz83.js → event-logger-rkprpv83.js} +4 -4
  230. package/dist/chunks/{location-v01qj8m2.js → event-logger-s8a9z6as.js} +33 -33
  231. package/dist/chunks/{location-8aaqm6qj.js → event-logger-sm965ndy.js} +8 -8
  232. package/dist/chunks/{location-tvsfvamq.js → event-logger-sxc772xe.js} +5 -5
  233. package/dist/chunks/{location-tazgh4e4.js → event-logger-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{location-tcezcvh9.js → event-logger-tcezcvh9.js} +1 -1
  235. package/dist/chunks/{location-tdstcens.js → event-logger-tdstcens.js} +1 -1
  236. package/dist/chunks/{location-jewzahs7.js → event-logger-tjedn1bk.js} +4 -4
  237. package/dist/chunks/{location-z5q8ygm0.js → event-logger-tpxm4wg4.js} +24 -24
  238. package/dist/chunks/{location-92r5fjaa.js → event-logger-tqsh01p4.js} +22 -22
  239. package/dist/chunks/{location-tvtrv512.js → event-logger-tvtrv512.js} +1 -1
  240. package/dist/chunks/{location-1akzjdkx.js → event-logger-tvtzm9vb.js} +20 -20
  241. package/dist/chunks/{location-qwjmgwmn.js → event-logger-tx9w5tca.js} +8 -8
  242. package/dist/chunks/{location-4sb5xsr0.js → event-logger-txcf0vz9.js} +18 -18
  243. package/dist/chunks/{location-mc8ws243.js → event-logger-v4hfvfhv.js} +26 -26
  244. package/dist/chunks/{location-n77hk0vh.js → event-logger-v4hp9vzp.js} +12 -12
  245. package/dist/chunks/{location-hhc9atkh.js → event-logger-v4wgc6ts.js} +15 -15
  246. package/dist/chunks/{location-n1m68ejj.js → event-logger-vcs79k5x.js} +20 -20
  247. package/dist/chunks/{location-g5agzp2h.js → event-logger-vd7rzxqf.js} +5 -5
  248. package/dist/chunks/{location-8x023p49.js → event-logger-veeagbsv.js} +6 -6
  249. package/dist/chunks/{location-veqvce7d.js → event-logger-veqvce7d.js} +1 -1
  250. package/dist/chunks/{location-4c9fncqc.js → event-logger-vf5egdtx.js} +5 -5
  251. package/dist/chunks/{location-8zqs9j7p.js → event-logger-vfze4e7p.js} +11 -11
  252. package/dist/chunks/{location-dnh5am79.js → event-logger-vq7dkmg6.js} +9 -9
  253. package/dist/chunks/{location-vzcthcp8.js → event-logger-vzcthcp8.js} +1 -1
  254. package/dist/chunks/{location-vzs5sf6e.js → event-logger-vzs5sf6e.js} +1 -1
  255. package/dist/chunks/{location-xd7pxsgz.js → event-logger-w0bv1bp8.js} +10 -10
  256. package/dist/chunks/{location-84txncab.js → event-logger-w1eejvng.js} +5 -5
  257. package/dist/chunks/{location-w3wsvvr9.js → event-logger-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{location-wd87259q.js → event-logger-wd87259q.js} +1 -1
  259. package/dist/chunks/{location-mam35mvc.js → event-logger-wedw5mta.js} +15 -15
  260. package/dist/chunks/{location-y4h12032.js → event-logger-wq865z1c.js} +22 -22
  261. package/dist/chunks/{location-cqhb2t13.js → event-logger-wvvrp032.js} +23 -23
  262. package/dist/chunks/{location-6bass0b7.js → event-logger-x0r2tdf3.js} +2 -2
  263. package/dist/chunks/{location-x1ezjp6w.js → event-logger-x1ezjp6w.js} +1 -1
  264. package/dist/chunks/{location-wxxtmkrx.js → event-logger-x1n81qdc.js} +5 -5
  265. package/dist/chunks/{location-mpk0rfs5.js → event-logger-x661k3y3.js} +4 -4
  266. package/dist/chunks/{location-v537vfcj.js → event-logger-x7eft90k.js} +44 -44
  267. package/dist/chunks/{location-xkntkrq7.js → event-logger-xkntkrq7.js} +2 -2
  268. package/dist/chunks/{location-a1b9eenk.js → event-logger-xkwzk721.js} +4 -4
  269. package/dist/chunks/{location-09mh3h53.js → event-logger-xr2xdzp5.js} +20 -20
  270. package/dist/chunks/{location-4vgcem2z.js → event-logger-y10zjx7n.js} +1 -1
  271. package/dist/chunks/{location-y1fvbwt7.js → event-logger-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{location-299n82gd.js → event-logger-y8s4drfk.js} +6 -6
  273. package/dist/chunks/{location-bwqnkjsb.js → event-logger-ya782s6g.js} +15 -15
  274. package/dist/chunks/{location-hn75rfyg.js → event-logger-ybtvde30.js} +9 -9
  275. package/dist/chunks/{location-z7eps1h1.js → event-logger-ycgfw7y5.js} +4 -4
  276. package/dist/chunks/{location-f2n192rq.js → event-logger-yp2x3t23.js} +4 -4
  277. package/dist/chunks/{location-yrhqyw5v.js → event-logger-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{location-yrznvahk.js → event-logger-yrznvahk.js} +2 -2
  279. package/dist/chunks/{location-1jysqf0q.js → event-logger-yv3d64wd.js} +26 -26
  280. package/dist/chunks/{location-prww9d41.js → event-logger-yzg9cvd0.js} +14 -14
  281. package/dist/chunks/{location-z0bkrqjs.js → event-logger-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{location-q7sva9xj.js → event-logger-z3dw66da.js} +9 -9
  283. package/dist/chunks/{location-30pndsv9.js → event-logger-z3s216w8.js} +4 -4
  284. package/dist/chunks/{location-z63w68vq.js → event-logger-z63w68vq.js} +2 -2
  285. package/dist/chunks/{location-06x8he3q.js → event-logger-zav06jzw.js} +4 -4
  286. package/dist/chunks/{location-zeh9ct20.js → event-logger-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{location-nwnnebx3.js → event-logger-zq5pb45y.js} +20 -20
  288. package/dist/chunks/{location-a6zkzxs1.js → event-logger-zqrsnbvz.js} +11 -11
  289. package/dist/chunks/{location-zr2ceqn5.js → event-logger-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{location-hre7hyen.js → event-logger-zse6reh4.js} +20 -20
  291. package/dist/chunks/{location-zxq2ej10.js → event-logger-zxq2ej10.js} +1 -1
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +7 -7
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +85 -85
  297. package/dist/config/discovery.js +82 -82
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +106 -106
  300. package/dist/config/plugin/agent.js +125 -125
  301. package/dist/config/plugin/command.js +213 -213
  302. package/dist/config/plugin/compaction.js +161 -161
  303. package/dist/config/plugin/compatibility.js +141 -141
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +124 -124
  306. package/dist/config/plugin/image.js +123 -123
  307. package/dist/config/plugin/instruction.js +90 -90
  308. package/dist/config/plugin/location-watcher.js +125 -125
  309. package/dist/config/plugin/mcp.js +132 -132
  310. package/dist/config/plugin/policy.js +124 -124
  311. package/dist/config/plugin/provider.js +123 -123
  312. package/dist/config/plugin/reference.js +125 -125
  313. package/dist/config/plugin/shell.js +123 -123
  314. package/dist/config/plugin/skill-file.js +102 -102
  315. package/dist/config/plugin/skill.js +144 -144
  316. package/dist/config/plugin/snapshot.js +121 -121
  317. package/dist/config/plugin/source.js +126 -126
  318. package/dist/config/plugin/tool-output.js +125 -125
  319. package/dist/config/plugin/websearch.js +122 -122
  320. package/dist/config/plugin/worktree.js +125 -125
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +124 -124
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +85 -85
  326. package/dist/database/database.js +66 -66
  327. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +15 -15
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +16 -16
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration.gen.js +49 -49
  392. package/dist/database/migration.js +51 -51
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +76 -76
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +371 -371
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +3 -3
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +93 -93
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +95 -95
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +1 -1
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +70 -70
  416. package/dist/file-access.js +104 -104
  417. package/dist/file-mutation.js +94 -94
  418. package/dist/file-retention.js +1 -1
  419. package/dist/filesystem/fff.bun.js +2 -2
  420. package/dist/filesystem/fff.js +1 -1
  421. package/dist/filesystem/fff.node.js +2 -2
  422. package/dist/filesystem/fff.workerd.js +2 -2
  423. package/dist/filesystem/ignore.js +1 -1
  424. package/dist/filesystem/location-watcher-policy.js +6 -6
  425. package/dist/filesystem/location-watcher.js +228 -228
  426. package/dist/filesystem/protected.js +1 -1
  427. package/dist/filesystem/search.js +97 -97
  428. package/dist/filesystem/watcher-binding.js +1 -1
  429. package/dist/filesystem/watcher.js +9 -9
  430. package/dist/filesystem.js +102 -102
  431. package/dist/form.js +86 -86
  432. package/dist/formatter/builtins.js +4 -4
  433. package/dist/formatter.js +87 -87
  434. package/dist/generate.js +103 -103
  435. package/dist/git.js +6 -6
  436. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  437. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  438. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  440. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  442. package/dist/github-copilot/copilot-provider.js +17 -17
  443. package/dist/github-copilot/models.js +99 -99
  444. package/dist/github-copilot/openai-compatible-error.js +1 -1
  445. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  446. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  447. package/dist/github-copilot/responses/openai-error.js +1 -1
  448. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  449. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  450. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  451. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  452. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  455. package/dist/id/id.js +1 -1
  456. package/dist/image/photon.js +2 -2
  457. package/dist/image.js +6 -6
  458. package/dist/instance/service.js +5 -5
  459. package/dist/instance.js +362 -362
  460. package/dist/instruction-discovery.js +81 -81
  461. package/dist/instructions/builtins.js +87 -87
  462. package/dist/instructions/index.js +3 -3
  463. package/dist/integration/connection.js +3 -3
  464. package/dist/integration.js +87 -87
  465. package/dist/job.js +79 -79
  466. package/dist/kv/sql.js +2 -2
  467. package/dist/kv.js +73 -73
  468. package/dist/location-activity.js +132 -132
  469. package/dist/location-lifecycle.js +107 -107
  470. package/dist/location-service-map.js +86 -86
  471. package/dist/location-services.js +359 -359
  472. package/dist/location.js +81 -81
  473. package/dist/managed-policy.js +5 -5
  474. package/dist/mcp/client.js +91 -91
  475. package/dist/mcp/index.js +105 -105
  476. package/dist/mcp/instructions.js +129 -129
  477. package/dist/mcp/oauth.js +78 -78
  478. package/dist/mcp/stdio.js +90 -90
  479. package/dist/mime.js +1 -1
  480. package/dist/modal/models.js +99 -99
  481. package/dist/model-resolver.js +98 -98
  482. package/dist/model.js +102 -102
  483. package/dist/models-dev.js +107 -107
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +80 -80
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +113 -113
  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 +86 -86
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +75 -75
  493. package/dist/plugin/agent.js +104 -104
  494. package/dist/plugin/command.js +102 -102
  495. package/dist/plugin/hooks.js +5 -5
  496. package/dist/plugin/host.js +219 -219
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +334 -334
  500. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  501. package/dist/plugin/models-dev.js +96 -96
  502. package/dist/plugin/module.js +7 -7
  503. package/dist/plugin/optimize.js +2 -2
  504. package/dist/plugin/plan.js +102 -102
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  507. package/dist/plugin/provider/azure.js +122 -122
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +119 -119
  513. package/dist/plugin/provider/digitalocean.js +93 -93
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/gateway.js +2 -2
  517. package/dist/plugin/provider/github-copilot.js +95 -95
  518. package/dist/plugin/provider/gitlab.js +93 -93
  519. package/dist/plugin/provider/google-vertex.js +90 -90
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +78 -78
  522. package/dist/plugin/provider/lmstudio.js +122 -122
  523. package/dist/plugin/provider/modal.js +92 -92
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +122 -122
  526. package/dist/plugin/provider/openai.js +93 -93
  527. package/dist/plugin/provider/opencode.js +95 -95
  528. package/dist/plugin/provider/openrouter.js +91 -91
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +79 -79
  531. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  532. package/dist/plugin/provider/sap-ai-core.js +91 -91
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  535. package/dist/plugin/provider/venice.js +2 -2
  536. package/dist/plugin/provider/vercel.js +90 -90
  537. package/dist/plugin/provider/vllm.js +122 -122
  538. package/dist/plugin/provider/xai.js +91 -91
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +162 -162
  541. package/dist/plugin/sdk.js +74 -74
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +141 -141
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +353 -353
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +86 -86
  549. package/dist/plugin/vcs/hg.js +86 -86
  550. package/dist/plugin/verbosity.js +93 -93
  551. package/dist/plugin/warming.js +121 -121
  552. package/dist/plugin/websearch/exa.js +7 -7
  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 +8 -8
  559. package/dist/plugin.js +226 -226
  560. package/dist/project/schema.js +4 -4
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +84 -84
  563. package/dist/provider.js +101 -101
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +93 -93
  567. package/dist/reference/instructions.js +89 -89
  568. package/dist/reference.js +89 -89
  569. package/dist/repository-cache.js +81 -81
  570. package/dist/repository.js +3 -3
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +95 -95
  573. package/dist/rpc.js +86 -86
  574. package/dist/schema.js +1 -1
  575. package/dist/session/affinity.js +1 -1
  576. package/dist/session/command.js +74 -74
  577. package/dist/session/compaction.js +133 -133
  578. package/dist/session/context.js +151 -151
  579. package/dist/session/diff.js +88 -88
  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 +222 -222
  584. package/dist/session/execution.js +128 -128
  585. package/dist/session/generate.js +154 -154
  586. package/dist/session/history.js +13 -13
  587. package/dist/session/inbox.js +88 -88
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +79 -79
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +97 -97
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +120 -120
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +130 -130
  597. package/dist/session/projector.js +86 -86
  598. package/dist/session/prompt.js +105 -105
  599. package/dist/session/provider-context.js +3 -3
  600. package/dist/session/revert.js +90 -90
  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 +232 -232
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +98 -98
  606. package/dist/session/runner/publish-llm-event.js +3 -3
  607. package/dist/session/runner/retry.js +4 -4
  608. package/dist/session/runner/step.js +126 -126
  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 +170 -170
  612. package/dist/session/shell.js +138 -138
  613. package/dist/session/skill.js +103 -103
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +73 -73
  616. package/dist/session/store.js +85 -85
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +211 -211
  619. package/dist/session/system-prompt.js +5 -5
  620. package/dist/session/title.js +157 -157
  621. package/dist/session/to-session-error.js +111 -111
  622. package/dist/session/transfer.js +215 -215
  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 +11 -11
  629. package/dist/shell.js +140 -140
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +107 -107
  632. package/dist/skill.js +110 -110
  633. package/dist/snapshot.js +93 -93
  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 +128 -128
  638. package/dist/tool/plugin/edit.js +120 -120
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +124 -124
  641. package/dist/tool/plugin/grep.js +124 -124
  642. package/dist/tool/plugin/mcp-resource.js +117 -117
  643. package/dist/tool/plugin/opencode.js +3 -3
  644. package/dist/tool/plugin/patch.js +122 -122
  645. package/dist/tool/plugin/question.js +103 -103
  646. package/dist/tool/plugin/read.js +125 -125
  647. package/dist/tool/plugin/shell.js +216 -216
  648. package/dist/tool/plugin/skill.js +113 -113
  649. package/dist/tool/plugin/subagent.js +220 -220
  650. package/dist/tool/plugin/webfetch.js +110 -110
  651. package/dist/tool/plugin/websearch.js +110 -110
  652. package/dist/tool/plugin/write.js +122 -122
  653. package/dist/tool/read-filesystem.js +100 -100
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +6 -6
  656. package/dist/tool.js +14 -14
  657. package/dist/util/error-summary.js +1 -1
  658. package/dist/util/error.js +1 -1
  659. package/dist/util/git-executable.js +2 -2
  660. package/dist/util/iife.js +1 -1
  661. package/dist/util/lazy.js +1 -1
  662. package/dist/util/slug.js +1 -1
  663. package/dist/util/token.js +1 -1
  664. package/dist/util/which.js +1 -1
  665. package/dist/util/wildcard.js +1 -1
  666. package/dist/v1/config/agent.js +5 -5
  667. package/dist/v1/config/attachment.js +4 -4
  668. package/dist/v1/config/command.js +5 -5
  669. package/dist/v1/config/config.js +16 -16
  670. package/dist/v1/config/error.js +2 -2
  671. package/dist/v1/config/formatter.js +3 -3
  672. package/dist/v1/config/layout.js +1 -1
  673. package/dist/v1/config/lsp.js +5 -5
  674. package/dist/v1/config/mcp.js +4 -4
  675. package/dist/v1/config/migrate.js +92 -92
  676. package/dist/v1/config/permission.js +3 -3
  677. package/dist/v1/config/plugin.js +1 -1
  678. package/dist/v1/config/provider-options.js +1 -1
  679. package/dist/v1/config/provider.js +4 -4
  680. package/dist/v1/config/server.js +2 -2
  681. package/dist/v1/config/skills.js +3 -3
  682. package/dist/v1/permission.js +1 -1
  683. package/dist/variant.js +93 -93
  684. package/dist/vcs/patch.js +1 -1
  685. package/dist/vcs.js +89 -89
  686. package/dist/websearch.js +80 -80
  687. package/dist/wellknown/plugin.js +74 -74
  688. package/dist/wellknown.js +77 -77
  689. package/dist/workspace/driver.js +7 -7
  690. package/dist/workspace/sql.js +1 -1
  691. package/dist/workspace.js +80 -80
  692. package/dist/worktree/directory.js +2 -2
  693. package/dist/worktree/git.js +10 -10
  694. package/dist/worktree/sql.js +5 -5
  695. package/dist/worktree/strategies.js +89 -89
  696. package/dist/worktree.js +94 -94
  697. package/package.json +8 -8
  698. package/dist/chunks/location-1s2cnys0.js +0 -252
  699. package/dist/chunks/location-aba4y9w7.js +0 -26
  700. package/dist/chunks/location-f5qn67hn.js +0 -507
  701. package/dist/chunks/location-v1faaxn9.js +0 -18
  702. /package/dist/chunks/{location-0qkdqm5v.js → event-logger-0qkdqm5v.js} +0 -0
  703. /package/dist/chunks/{location-0zkw76rk.js → event-logger-0zkw76rk.js} +0 -0
  704. /package/dist/chunks/{location-17cy0kzp.js → event-logger-17cy0kzp.js} +0 -0
  705. /package/dist/chunks/{location-1cnp2v09.js → event-logger-1cnp2v09.js} +0 -0
  706. /package/dist/chunks/{location-1kg9ymc8.js → event-logger-1kg9ymc8.js} +0 -0
  707. /package/dist/chunks/{location-24dcb14g.js → event-logger-24dcb14g.js} +0 -0
  708. /package/dist/chunks/{location-2710q6r3.js → event-logger-2710q6r3.js} +0 -0
  709. /package/dist/chunks/{location-2axfhc9x.js → event-logger-2axfhc9x.js} +0 -0
  710. /package/dist/chunks/{location-2c3vjs8z.js → event-logger-2c3vjs8z.js} +0 -0
  711. /package/dist/chunks/{location-34c7v6d4.js → event-logger-34c7v6d4.js} +0 -0
  712. /package/dist/chunks/{location-359p4xyc.js → event-logger-359p4xyc.js} +0 -0
  713. /package/dist/chunks/{location-3asan66x.js → event-logger-3asan66x.js} +0 -0
  714. /package/dist/chunks/{location-3v8g72cx.js → event-logger-3v8g72cx.js} +0 -0
  715. /package/dist/chunks/{location-3w5fmr99.js → event-logger-3w5fmr99.js} +0 -0
  716. /package/dist/chunks/{location-3wcehsnq.js → event-logger-3wcehsnq.js} +0 -0
  717. /package/dist/chunks/{location-43n2bw4t.js → event-logger-43n2bw4t.js} +0 -0
  718. /package/dist/chunks/{location-4knz6hnm.js → event-logger-4knz6hnm.js} +0 -0
  719. /package/dist/chunks/{location-4vcrnpx2.js → event-logger-4vcrnpx2.js} +0 -0
  720. /package/dist/chunks/{location-4y7fprxs.js → event-logger-4y7fprxs.js} +0 -0
  721. /package/dist/chunks/{location-53557ph1.js → event-logger-53557ph1.js} +0 -0
  722. /package/dist/chunks/{location-550bvhaj.js → event-logger-550bvhaj.js} +0 -0
  723. /package/dist/chunks/{location-5qd3pb7m.js → event-logger-5qd3pb7m.js} +0 -0
  724. /package/dist/chunks/{location-6prwharc.js → event-logger-6prwharc.js} +0 -0
  725. /package/dist/chunks/{location-7akdwqpd.js → event-logger-7akdwqpd.js} +0 -0
  726. /package/dist/chunks/{location-7m9af43g.js → event-logger-7m9af43g.js} +0 -0
  727. /package/dist/chunks/{location-822emrt2.js → event-logger-822emrt2.js} +0 -0
  728. /package/dist/chunks/{location-88xbtdfr.js → event-logger-88xbtdfr.js} +0 -0
  729. /package/dist/chunks/{location-8n3pysct.js → event-logger-8n3pysct.js} +0 -0
  730. /package/dist/chunks/{location-8wj87zfr.js → event-logger-8wj87zfr.js} +0 -0
  731. /package/dist/chunks/{location-922hggd3.js → event-logger-922hggd3.js} +0 -0
  732. /package/dist/chunks/{location-9a4afbnw.js → event-logger-9a4afbnw.js} +0 -0
  733. /package/dist/chunks/{location-9rqn6x4v.js → event-logger-9rqn6x4v.js} +0 -0
  734. /package/dist/chunks/{location-a6k6eb26.js → event-logger-a6k6eb26.js} +0 -0
  735. /package/dist/chunks/{location-af5trqkr.js → event-logger-af5trqkr.js} +0 -0
  736. /package/dist/chunks/{location-afrmfg78.js → event-logger-afrmfg78.js} +0 -0
  737. /package/dist/chunks/{location-aqzs7mqg.js → event-logger-aqzs7mqg.js} +0 -0
  738. /package/dist/chunks/{location-atq7p7m5.js → event-logger-atq7p7m5.js} +0 -0
  739. /package/dist/chunks/{location-bkyjaxrp.js → event-logger-bkyjaxrp.js} +0 -0
  740. /package/dist/chunks/{location-bmr6ed5q.js → event-logger-bmr6ed5q.js} +0 -0
  741. /package/dist/chunks/{location-cf4snx6d.js → event-logger-cf4snx6d.js} +0 -0
  742. /package/dist/chunks/{location-cvy3z8tj.js → event-logger-cvy3z8tj.js} +0 -0
  743. /package/dist/chunks/{location-d9fn303g.js → event-logger-d9fn303g.js} +0 -0
  744. /package/dist/chunks/{location-d9jj8t3e.js → event-logger-d9jj8t3e.js} +0 -0
  745. /package/dist/chunks/{location-dajrwvna.js → event-logger-dajrwvna.js} +0 -0
  746. /package/dist/chunks/{location-dap0rakb.js → event-logger-dap0rakb.js} +0 -0
  747. /package/dist/chunks/{location-df08tz66.js → event-logger-df08tz66.js} +0 -0
  748. /package/dist/chunks/{location-dy18nga0.js → event-logger-dy18nga0.js} +0 -0
  749. /package/dist/chunks/{location-e5kj55wp.js → event-logger-e5kj55wp.js} +0 -0
  750. /package/dist/chunks/{location-e73j6tqm.js → event-logger-e73j6tqm.js} +0 -0
  751. /package/dist/chunks/{location-ec1grn59.js → event-logger-ec1grn59.js} +0 -0
  752. /package/dist/chunks/{location-eh3zwz77.js → event-logger-eh3zwz77.js} +0 -0
  753. /package/dist/chunks/{location-emrn6kk6.js → event-logger-emrn6kk6.js} +0 -0
  754. /package/dist/chunks/{location-f0mxakyp.js → event-logger-f0mxakyp.js} +0 -0
  755. /package/dist/chunks/{location-f6n9ztr4.js → event-logger-f6n9ztr4.js} +0 -0
  756. /package/dist/chunks/{location-faypxj3z.js → event-logger-faypxj3z.js} +0 -0
  757. /package/dist/chunks/{location-fd410y7t.js → event-logger-fd410y7t.js} +0 -0
  758. /package/dist/chunks/{location-fxgpk5d8.js → event-logger-fxgpk5d8.js} +0 -0
  759. /package/dist/chunks/{location-g4wezp1m.js → event-logger-g4wezp1m.js} +0 -0
  760. /package/dist/chunks/{location-g86h250q.js → event-logger-g86h250q.js} +0 -0
  761. /package/dist/chunks/{location-gebd4c9n.js → event-logger-gebd4c9n.js} +0 -0
  762. /package/dist/chunks/{location-gftt206x.js → event-logger-gftt206x.js} +0 -0
  763. /package/dist/chunks/{location-hjbc5kem.js → event-logger-hjbc5kem.js} +0 -0
  764. /package/dist/chunks/{location-hk9envan.js → event-logger-hk9envan.js} +0 -0
  765. /package/dist/chunks/{location-j2ntwpah.js → event-logger-j2ntwpah.js} +0 -0
  766. /package/dist/chunks/{location-j5zkgpj8.js → event-logger-j5zkgpj8.js} +0 -0
  767. /package/dist/chunks/{location-jjkms2e6.js → event-logger-jjkms2e6.js} +0 -0
  768. /package/dist/chunks/{location-jr7sbwjy.js → event-logger-jr7sbwjy.js} +0 -0
  769. /package/dist/chunks/{location-jwfs4k6c.js → event-logger-jwfs4k6c.js} +0 -0
  770. /package/dist/chunks/{location-jzg6c2d5.js → event-logger-jzg6c2d5.js} +0 -0
  771. /package/dist/chunks/{location-mp448xyj.js → event-logger-mp448xyj.js} +0 -0
  772. /package/dist/chunks/{location-msx8hqn2.js → event-logger-msx8hqn2.js} +0 -0
  773. /package/dist/chunks/{location-n05xt0ee.js → event-logger-n05xt0ee.js} +0 -0
  774. /package/dist/chunks/{location-n3j8tn72.js → event-logger-n3j8tn72.js} +0 -0
  775. /package/dist/chunks/{location-njntx4h6.js → event-logger-njntx4h6.js} +0 -0
  776. /package/dist/chunks/{location-q3sfg36h.js → event-logger-q3sfg36h.js} +0 -0
  777. /package/dist/chunks/{location-q74kybfr.js → event-logger-q74kybfr.js} +0 -0
  778. /package/dist/chunks/{location-qaymkmh1.js → event-logger-qaymkmh1.js} +0 -0
  779. /package/dist/chunks/{location-qb87gjwd.js → event-logger-qb87gjwd.js} +0 -0
  780. /package/dist/chunks/{location-qfa1cgps.js → event-logger-qfa1cgps.js} +0 -0
  781. /package/dist/chunks/{location-qg3g05ea.js → event-logger-qg3g05ea.js} +0 -0
  782. /package/dist/chunks/{location-qrg20bc0.js → event-logger-qrg20bc0.js} +0 -0
  783. /package/dist/chunks/{location-rcb2kzg1.js → event-logger-rcb2kzg1.js} +0 -0
  784. /package/dist/chunks/{location-sdp7kfr6.js → event-logger-sdp7kfr6.js} +0 -0
  785. /package/dist/chunks/{location-sk3qaz4a.js → event-logger-sk3qaz4a.js} +0 -0
  786. /package/dist/chunks/{location-ssg3fenm.js → event-logger-ssg3fenm.js} +0 -0
  787. /package/dist/chunks/{location-w803qqfp.js → event-logger-w803qqfp.js} +0 -0
  788. /package/dist/chunks/{location-wc3fc9cn.js → event-logger-wc3fc9cn.js} +0 -0
  789. /package/dist/chunks/{location-wer8tq1h.js → event-logger-wer8tq1h.js} +0 -0
  790. /package/dist/chunks/{location-wtztk69x.js → event-logger-wtztk69x.js} +0 -0
  791. /package/dist/chunks/{location-x0ckcb58.js → event-logger-x0ckcb58.js} +0 -0
  792. /package/dist/chunks/{location-x61499pn.js → event-logger-x61499pn.js} +0 -0
  793. /package/dist/chunks/{location-y44na4kk.js → event-logger-y44na4kk.js} +0 -0
  794. /package/dist/chunks/{location-y8cydn3q.js → event-logger-y8cydn3q.js} +0 -0
  795. /package/dist/chunks/{location-y8f7s663.js → event-logger-y8f7s663.js} +0 -0
  796. /package/dist/chunks/{location-ygaqb7jw.js → event-logger-ygaqb7jw.js} +0 -0
  797. /package/dist/chunks/{location-ym463w8f.js → event-logger-ym463w8f.js} +0 -0
  798. /package/dist/chunks/{location-z9919s4g.js → event-logger-z9919s4g.js} +0 -0
@@ -1,44 +1,44 @@
1
1
  import {
2
- Service64
3
- } from "./location-jggnvhtg.js";
2
+ Service75
3
+ } from "./event-logger-aaa6x6ax.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./location-4vcrnpx2.js";
7
+ } from "./event-logger-4vcrnpx2.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./location-3v8g72cx.js";
10
+ } from "./event-logger-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./location-9rqn6x4v.js";
13
+ } from "./event-logger-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/webfetch.ts
16
16
  var exports_webfetch = {};
17
17
  __export(exports_webfetch, {
18
18
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
19
- Input: () => Input10,
20
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
19
+ Input: () => Input7,
20
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin12,
22
+ Plugin: () => Plugin25,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
25
  description: () => description4,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name10
27
+ name: () => name7
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Duration, Effect, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
32
32
  import { Parser } from "htmlparser2";
33
- var name10 = "webfetch";
34
- var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
33
+ var name7 = "webfetch";
34
+ var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
37
37
  var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
38
38
 
39
39
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
40
40
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
41
- var Input10 = Schema.Struct({
41
+ var Input7 = Schema.Struct({
42
42
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
43
43
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
44
44
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -48,7 +48,7 @@ var Input10 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input10.fields.format,
51
+ format: Input7.fields.format,
52
52
  output: Schema.String
53
53
  });
54
54
  var acceptHeader = (format) => {
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
79
79
  throw new Error("URL must use http:// or https://");
80
80
  };
81
81
  var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
82
- var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
82
+ var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
83
83
  var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
84
84
  var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
85
85
  var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin12 = {
95
+ var Plugin25 = {
96
96
  id: "opencode.tool.webfetch",
97
97
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
98
98
  const http = yield* HttpClient.HttpClient;
99
- const permission = yield* Service64;
99
+ const permission = yield* Service75;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name10,
101
+ name: name7,
102
102
  options: { codemode: false },
103
103
  description: description4,
104
- input: Input10,
104
+ input: Input7,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin12 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name10,
112
+ action: name7,
113
113
  resources: [input.url],
114
114
  save: ["*"],
115
115
  metadata: input,
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
167
167
  parser.end();
168
168
  return text.trim();
169
169
  }
170
- export { name10, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input10, Plugin12, extractTextFromHTML2, exports_webfetch };
170
+ export { name7, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input7, Plugin25, extractTextFromHTML2, exports_webfetch };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./event-logger-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/formatter.ts
6
6
  var exports_formatter3 = {};
7
7
  __export(exports_formatter3, {
8
8
  ConfigFormatterV1: () => exports_formatter3,
9
- Entry: () => Entry3,
9
+ Entry: () => Entry4,
10
10
  Info: () => Info13
11
11
  });
12
12
  import { Schema } from "effect";
13
- var Entry3 = Schema.Struct({
13
+ var Entry4 = Schema.Struct({
14
14
  disabled: Schema.optional(Schema.Boolean),
15
15
  command: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
16
16
  environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
17
17
  extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
18
18
  });
19
- var Info13 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]);
19
+ var Info13 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]);
20
20
 
21
- export { Entry3, Info13, exports_formatter3 };
21
+ export { Entry4, Info13, exports_formatter3 };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./location-mntfxcz2.js";
4
+ } from "./event-logger-nez6t23e.js";
5
5
  import {
6
6
  environment2
7
- } from "./location-rnr5nq63.js";
7
+ } from "./event-logger-fbx4mpfx.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./location-sk3qaz4a.js";
10
+ } from "./event-logger-sk3qaz4a.js";
11
11
  import {
12
12
  __export
13
- } from "./location-9rqn6x4v.js";
13
+ } from "./event-logger-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError4,
20
- Options: () => Options3,
19
+ NotFoundError: () => NotFoundError7,
20
+ Options: () => Options9,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service21,
22
+ Service: () => Service59,
23
23
  UnavailableError: () => UnavailableError3,
24
- configured: () => configured3,
25
- layer: () => layer10,
26
- node: () => node24
24
+ configured: () => configured8,
25
+ layer: () => layer23,
26
+ node: () => node61
27
27
  });
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -35,21 +35,21 @@ import { Pty } from "@opencode/schema/pty";
35
35
  import { Global } from "@opencode/util/global";
36
36
  import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
38
- var Options3 = Schema.Struct({ handoff: Schema.optional(Handoff) });
38
+ var Options9 = Schema.Struct({ handoff: Schema.optional(Handoff) });
39
39
 
40
40
  class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
41
41
  message: Schema.String
42
42
  }) {
43
43
  }
44
44
 
45
- class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
45
+ class NotFoundError7 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
46
46
  ptyID: Pty.ID
47
47
  }) {
48
48
  }
49
49
 
50
- class Service21 extends Context.Service()("@opencode/PersistentPty") {
50
+ class Service59 extends Context.Service()("@opencode/PersistentPty") {
51
51
  }
52
- var makeLayer = (options = {}) => Layer.effect(Service21, Effect.gen(function* () {
52
+ var makeLayer = (options = {}) => Layer.effect(Service59, Effect.gen(function* () {
53
53
  const bus = yield* Service83;
54
54
  const global = yield* Global.Service;
55
55
  const context = yield* Effect.context();
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service21, Effect.gen(function* (
72
72
  const get = Effect.fn("PersistentPty.get")(function* (id) {
73
73
  const found = (yield* list()).find((terminal) => terminal.id === id);
74
74
  if (!found)
75
- return yield* new NotFoundError4({ ptyID: id });
75
+ return yield* new NotFoundError7({ ptyID: id });
76
76
  return found;
77
77
  });
78
78
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service21, Effect.gen(function* (
239
239
  detach: attachment.detach
240
240
  };
241
241
  });
242
- return Service21.of({
242
+ return Service59.of({
243
243
  list,
244
244
  get,
245
245
  create,
@@ -255,13 +255,13 @@ var makeLayer = (options = {}) => Layer.effect(Service21, Effect.gen(function* (
255
255
  attach
256
256
  });
257
257
  }));
258
- var layer10 = makeLayer();
259
- var configured3 = (options) => makeGlobalNode({
260
- service: Service21,
261
- layer: options === undefined ? layer10 : makeLayer(options),
258
+ var layer23 = makeLayer();
259
+ var configured8 = (options) => makeGlobalNode({
260
+ service: Service59,
261
+ layer: options === undefined ? layer23 : makeLayer(options),
262
262
  deps: [node87, Global.node]
263
263
  });
264
- var node24 = configured3();
264
+ var node61 = configured8();
265
265
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
266
266
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
267
267
  var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options3, UnavailableError3, NotFoundError4, Service21, layer10, configured3, node24, exports_persistent_pty, Handoff2 };
304
+ export { Options9, UnavailableError3, NotFoundError7, Service59, layer23, configured8, node61, exports_persistent_pty, Handoff2 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  Service83
3
- } from "./location-mntfxcz2.js";
3
+ } from "./event-logger-nez6t23e.js";
4
4
  import {
5
5
  Service53,
6
6
  Event10
7
- } from "./location-9sm9gfq3.js";
7
+ } from "./event-logger-egmenwpk.js";
8
8
  import {
9
9
  __export
10
- } from "./location-9rqn6x4v.js";
10
+ } from "./event-logger-9rqn6x4v.js";
11
11
 
12
12
  // src/wellknown/plugin.ts
13
13
  var exports_plugin = {};
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Ref4
3
- } from "./location-6bass0b7.js";
3
+ } from "./event-logger-x0r2tdf3.js";
4
4
  import {
5
5
  __export
6
- } from "./location-9rqn6x4v.js";
6
+ } from "./event-logger-9rqn6x4v.js";
7
7
 
8
8
  // src/location-service-map.ts
9
9
  var exports_location_service_map = {};
10
10
  __export(exports_location_service_map, {
11
11
  LocationServiceMap: () => exports_location_service_map,
12
- Service: () => Service63,
12
+ Service: () => Service61,
13
13
  canonical: () => canonical3,
14
- node: () => node67,
14
+ node: () => node64,
15
15
  reload: () => reload2
16
16
  });
17
17
  import { Context, Effect, Exit, Layer, RcMap } from "effect";
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
19
19
  import { Node } from "@opencode/util/effect/app-node";
20
20
  import { AbsolutePath } from "@opencode/schema/schema";
21
21
  import path from "path";
22
- class Service63 extends Context.Service()("@opencode/example/LocationServiceMap") {
22
+ class Service61 extends Context.Service()("@opencode/example/LocationServiceMap") {
23
23
  static get(ref) {
24
- return Layer.unwrap(Effect.map(Service63, (locations) => locations.get(ref)));
24
+ return Layer.unwrap(Effect.map(Service61, (locations) => locations.get(ref)));
25
25
  }
26
26
  }
27
- var node67 = LayerNode.unbound(Service63, Node.tags.values.global);
27
+ var node64 = LayerNode.unbound(Service61, Node.tags.values.global);
28
28
  var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
29
- const locations = yield* Service63;
29
+ const locations = yield* Service61;
30
30
  const refs = Array.from(yield* RcMap.keys(locations.rcMap));
31
31
  yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
32
32
  discard: true,
@@ -45,4 +45,4 @@ function canonical3(ref) {
45
45
  });
46
46
  }
47
47
 
48
- export { Service63, node67, reload2, canonical3, exports_location_service_map };
48
+ export { Service61, node64, reload2, canonical3, exports_location_service_map };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  useragent2
3
- } from "./location-kn0epzjf.js";
3
+ } from "./event-logger-p70m11t7.js";
4
4
  import {
5
5
  __export
6
- } from "./location-9rqn6x4v.js";
6
+ } from "./event-logger-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/tavily.ts
9
9
  var exports_tavily = {};
10
10
  __export(exports_tavily, {
11
- Plugin: () => Plugin34,
11
+ Plugin: () => Plugin7,
12
12
  WebSearchTavily: () => exports_tavily,
13
- endpoint: () => endpoint3
13
+ endpoint: () => endpoint5
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
18
- var endpoint3 = "https://api.tavily.com/search";
18
+ var endpoint5 = "https://api.tavily.com/search";
19
19
  var SearchRequest = Schema.Struct({
20
20
  query: Schema.String,
21
21
  search_depth: Schema.Literal("basic"),
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
29
29
  content: Schema.String
30
30
  }))
31
31
  });
32
- var Plugin34 = define({
32
+ var Plugin7 = define({
33
33
  id: "opencode.websearch.tavily",
34
34
  effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
35
35
  const http = yield* HttpClient.HttpClient;
@@ -51,7 +51,7 @@ var Plugin34 = define({
51
51
  execute: (input) => Effect.gen(function* () {
52
52
  const connection = yield* ctx.integration.connection.active("tavily");
53
53
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
54
- const request = yield* HttpClientRequest.post(endpoint3).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
54
+ const request = yield* HttpClientRequest.post(endpoint5).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
55
55
  "User-Agent": useragent2(ctx.app),
56
56
  "X-Client-Name": "opencode2",
57
57
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
@@ -77,4 +77,4 @@ var Plugin34 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint3, Plugin34, exports_tavily };
80
+ export { endpoint5, Plugin7, exports_tavily };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./location-mntfxcz2.js";
4
+ } from "./event-logger-nez6t23e.js";
5
5
  import {
6
6
  create3
7
- } from "./location-rdw6cm16.js";
7
+ } from "./event-logger-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./location-9rqn6x4v.js";
10
+ } from "./event-logger-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
- var exports_command5 = {};
14
- __export(exports_command5, {
15
- Command: () => exports_command5,
16
- Event: () => Event21,
13
+ var exports_command4 = {};
14
+ __export(exports_command4, {
15
+ Command: () => exports_command4,
16
+ Event: () => Event6,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info34,
19
- NotFoundError: () => NotFoundError11,
20
- Service: () => Service82,
21
- layer: () => layer25,
22
- node: () => node86
18
+ Info: () => Info5,
19
+ NotFoundError: () => NotFoundError6,
20
+ Service: () => Service39,
21
+ layer: () => layer15,
22
+ node: () => node42
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event21 } from "@opencode/schema/command";
28
- var Info34 = Command.Info;
27
+ import { Event as Event6 } from "@opencode/schema/command";
28
+ var Info5 = Command.Info;
29
29
 
30
- class NotFoundError11 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service82 extends Context.Service()("@opencode/Command") {
42
+ class Service39 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer25 = Layer.effect(Service82, Effect.gen(function* () {
44
+ var layer15 = Layer.effect(Service39, Effect.gen(function* () {
45
45
  const bus = yield* Service83;
46
46
  const state = create3({
47
47
  name: "command",
@@ -51,11 +51,11 @@ var layer25 = Layer.effect(Service82, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info34.make({
54
+ const info = (definition) => Info5.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service82.of({
58
+ return Service39.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,14 +66,14 @@ var layer25 = Layer.effect(Service82, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError11({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node86 = makeLocationNode({
75
- service: Service82,
76
- layer: layer25,
74
+ var node42 = makeLocationNode({
75
+ service: Service39,
76
+ layer: layer15,
77
77
  deps: [node87]
78
78
  });
79
79
  function errorMessage(error) {
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info34, NotFoundError11, ExecutionError2, Service82, layer25, node86, exports_command5, Event21 };
89
+ export { Info5, NotFoundError6, ExecutionError2, Service39, layer15, node42, exports_command4, Event6 };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./event-logger-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/lsp.ts
6
6
  var exports_lsp = {};
7
7
  __export(exports_lsp, {
8
8
  ConfigLSPV1: () => exports_lsp,
9
9
  Disabled: () => Disabled2,
10
- Entry: () => Entry4,
11
- Info: () => Info16,
10
+ Entry: () => Entry3,
11
+ Info: () => Info11,
12
12
  builtinServerIds: () => builtinServerIds2,
13
13
  requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
14
14
  });
@@ -16,7 +16,7 @@ import { Schema } from "effect";
16
16
  var Disabled2 = Schema.Struct({
17
17
  disabled: Schema.Literal(true)
18
18
  });
19
- var Entry4 = Schema.Union([
19
+ var Entry3 = Schema.Union([
20
20
  Disabled2,
21
21
  Schema.Struct({
22
22
  command: Schema.mutable(Schema.Array(Schema.String)),
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
79
79
  });
80
80
  return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
81
81
  });
82
- var Info16 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]).check(requiresExtensionsForCustomServers2);
82
+ var Info11 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]).check(requiresExtensionsForCustomServers2);
83
83
 
84
- export { Disabled2, Entry4, builtinServerIds2, requiresExtensionsForCustomServers2, Info16, exports_lsp };
84
+ export { Disabled2, Entry3, builtinServerIds2, requiresExtensionsForCustomServers2, Info11, exports_lsp };
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service42
3
- } from "./location-sxzvkvgj.js";
2
+ Service50
3
+ } from "./event-logger-h896pcm5.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./location-v1faaxn9.js";
6
+ } from "./event-logger-1x11rq2a.js";
7
7
  import {
8
8
  SkillNotFoundError2
9
- } from "./location-sz763eb6.js";
9
+ } from "./event-logger-eyz64kwr.js";
10
10
  import {
11
- Service35
12
- } from "./location-ajpn13bz.js";
11
+ Service58
12
+ } from "./event-logger-arjnx064.js";
13
13
  import {
14
14
  __export
15
- } from "./location-9rqn6x4v.js";
15
+ } from "./event-logger-9rqn6x4v.js";
16
16
 
17
17
  // src/session/skill.ts
18
18
  var exports_skill4 = {};
@@ -22,8 +22,8 @@ __export(exports_skill4, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var get4 = Effect.fn("SessionSkill.get")(function* (input) {
25
- const instances = yield* Service42;
26
- const skills = yield* awaitActivation2.pipe(Effect.andThen(Service35), instances.provide(input.session));
25
+ const instances = yield* Service50;
26
+ const skills = yield* awaitActivation2.pipe(Effect.andThen(Service58), instances.provide(input.session));
27
27
  const skill = yield* skills.get(input.skill);
28
28
  if (!skill)
29
29
  return yield* new SkillNotFoundError2({ skill: input.skill });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./event-logger-9rqn6x4v.js";
4
4
 
5
5
  // src/instructions/index.ts
6
6
  var exports_instructions6 = {};
@@ -10,7 +10,7 @@ __export(exports_instructions6, {
10
10
  Hash: () => Hash2,
11
11
  InitializationBlocked: () => InitializationBlocked2,
12
12
  Instructions: () => exports_instructions6,
13
- Key: () => Key3,
13
+ Key: () => Key4,
14
14
  Values: () => Values2,
15
15
  applyHashDelta: () => applyHashDelta2,
16
16
  combine: () => combine2,
@@ -28,7 +28,7 @@ __export(exports_instructions6, {
28
28
  import { createHash } from "crypto";
29
29
  import { Instruction } from "@opencode/schema/instruction";
30
30
  import { Data, Effect, Option, Schema } from "effect";
31
- var Key3 = Instruction.Key;
31
+ var Key4 = Instruction.Key;
32
32
  var Hash2 = Instruction.Hash;
33
33
  var Values2 = Instruction.Values;
34
34
  var Delta2 = Instruction.Delta;
@@ -36,14 +36,14 @@ var NonValue = Data.taggedEnum();
36
36
  var unavailable3 = NonValue.Unavailable();
37
37
  var removed2 = NonValue.Removed();
38
38
 
39
- class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(Key3) }) {
39
+ class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(Key4) }) {
40
40
  get message() {
41
41
  return `Instruction initialization blocked by unavailable sources: ${this.keys.join(", ")}`;
42
42
  }
43
43
  }
44
44
 
45
45
  class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKeyError", {
46
- key: Key3
46
+ key: Key4
47
47
  }) {
48
48
  get message() {
49
49
  return `Duplicate instruction key: ${this.key}`;
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
193
193
  return text;
194
194
  }
195
195
 
196
- export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make21, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
196
+ export { Key4, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make21, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };