@opencode/core 0.0.0-dev-19483 → 0.0.0-dev-19485
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.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +78 -78
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/catalog.js +82 -82
- package/dist/chunks/{websearch-5drs3kxz.js → event-logger-00wt4ynx.js} +19 -19
- package/dist/chunks/{websearch-r2kye7qh.js → event-logger-01cm8mn3.js} +19 -19
- package/dist/chunks/{websearch-mk8vf581.js → event-logger-0grf9r3f.js} +9 -9
- package/dist/chunks/{websearch-0paq2nw3.js → event-logger-0paq2nw3.js} +1 -1
- package/dist/chunks/{websearch-0q0f95c6.js → event-logger-0q0f95c6.js} +1 -1
- package/dist/chunks/{websearch-gg7pg1rj.js → event-logger-0r7yqxbf.js} +5 -5
- package/dist/chunks/{websearch-mk1f96az.js → event-logger-0xnxk7my.js} +14 -14
- package/dist/chunks/{websearch-sw4zbbw7.js → event-logger-165ggcpb.js} +9 -9
- package/dist/chunks/{websearch-25ajstgf.js → event-logger-16mcezjr.js} +16 -16
- package/dist/chunks/{websearch-yp2x3t23.js → event-logger-1acjjqhc.js} +4 -4
- package/dist/chunks/{websearch-1dazxqgg.js → event-logger-1dazxqgg.js} +2 -2
- package/dist/chunks/{websearch-m56995h7.js → event-logger-1nsbqewp.js} +23 -23
- package/dist/chunks/{websearch-21r38tys.js → event-logger-21r38tys.js} +1 -1
- package/dist/chunks/{websearch-fcywhjc2.js → event-logger-22sd2eh9.js} +11 -11
- package/dist/chunks/{websearch-2402vzrj.js → event-logger-2402vzrj.js} +1 -1
- package/dist/chunks/{websearch-saf13jzc.js → event-logger-28ynmmp6.js} +17 -17
- package/dist/chunks/{websearch-2a5m3afh.js → event-logger-2a5m3afh.js} +1 -1
- package/dist/chunks/{websearch-2ehqxkpw.js → event-logger-2axwxhdm.js} +10 -10
- package/dist/chunks/{websearch-9c6xrpvf.js → event-logger-2e3rmnjd.js} +4 -4
- package/dist/chunks/{websearch-qs8fd5yv.js → event-logger-2k6kcpy5.js} +44 -44
- package/dist/chunks/{websearch-2e96adxv.js → event-logger-2khzfaxq.js} +6 -6
- package/dist/chunks/{websearch-reqevd7p.js → event-logger-2syw43ez.js} +11 -11
- package/dist/chunks/{websearch-9encvwzm.js → event-logger-2xe7pz9m.js} +69 -69
- package/dist/chunks/{websearch-553wj9b8.js → event-logger-3cabbhzt.js} +16 -16
- package/dist/chunks/{websearch-adm0hv5w.js → event-logger-3d3d3t07.js} +29 -29
- package/dist/chunks/{websearch-4wrhrxm7.js → event-logger-3dk1grkc.js} +11 -11
- package/dist/chunks/{websearch-3fc6dm20.js → event-logger-3fc6dm20.js} +1 -1
- package/dist/chunks/{websearch-3hepkmqq.js → event-logger-3hepkmqq.js} +1 -1
- package/dist/chunks/{websearch-qm5hq1wk.js → event-logger-3jz8fm0k.js} +9 -9
- package/dist/chunks/{websearch-pgm1fsvb.js → event-logger-3mqvnat0.js} +12 -12
- package/dist/chunks/{websearch-qbdb5rpj.js → event-logger-3p07c31z.js} +18 -18
- package/dist/chunks/{websearch-3smtnn6g.js → event-logger-3smtnn6g.js} +1 -1
- package/dist/chunks/{websearch-550p2257.js → event-logger-3t6kxnnx.js} +34 -34
- package/dist/chunks/{websearch-3tvqynh2.js → event-logger-3tvqynh2.js} +1 -1
- package/dist/chunks/{websearch-j028maxm.js → event-logger-3v07c2h1.js} +9 -9
- package/dist/chunks/{websearch-mgx963cj.js → event-logger-4334gj7r.js} +8 -8
- package/dist/chunks/{websearch-mdb85k7s.js → event-logger-4e07kcxv.js} +50 -50
- package/dist/chunks/{websearch-ggfxehqz.js → event-logger-4e4kessa.js} +9 -9
- package/dist/chunks/{websearch-qsxf26yz.js → event-logger-4jv7e9dq.js} +9 -9
- package/dist/chunks/{websearch-4y66k410.js → event-logger-4y66k410.js} +2 -2
- package/dist/chunks/{websearch-k4w51n94.js → event-logger-52q3355q.js} +13 -13
- package/dist/chunks/{websearch-56gdpj1q.js → event-logger-56gdpj1q.js} +2 -2
- package/dist/chunks/{websearch-a1bz86dw.js → event-logger-5c4hm403.js} +3 -3
- package/dist/chunks/{websearch-5daktx2q.js → event-logger-5daktx2q.js} +1 -1
- package/dist/chunks/{websearch-5t3nmthw.js → event-logger-5t3nmthw.js} +2 -2
- package/dist/chunks/{websearch-1zh4pghf.js → event-logger-5vtx7p9q.js} +35 -35
- package/dist/chunks/{websearch-frf89m5p.js → event-logger-5yx5nctn.js} +24 -24
- package/dist/chunks/{websearch-669tq793.js → event-logger-669tq793.js} +1 -1
- package/dist/chunks/{websearch-9q922tde.js → event-logger-6b2rz76g.js} +31 -31
- package/dist/chunks/{websearch-01z5yxwd.js → event-logger-6e49marm.js} +5 -5
- package/dist/chunks/{websearch-wjaxxs0m.js → event-logger-6e8ygkvh.js} +20 -20
- package/dist/chunks/{websearch-6msgmcgs.js → event-logger-6msgmcgs.js} +1 -1
- package/dist/chunks/{websearch-3zd3rmvv.js → event-logger-6p6dp87j.js} +15 -15
- package/dist/chunks/{websearch-fypyt9ax.js → event-logger-6yx6a64s.js} +28 -28
- package/dist/chunks/{websearch-71q4at8m.js → event-logger-71q4at8m.js} +1 -1
- package/dist/chunks/{websearch-1p30vngg.js → event-logger-73ttdt4y.js} +17 -17
- package/dist/chunks/{websearch-hd569af0.js → event-logger-786r1gss.js} +6 -6
- package/dist/chunks/{websearch-az8wpmk5.js → event-logger-7art3s1y.js} +24 -24
- package/dist/chunks/{websearch-7bmhse3q.js → event-logger-7bmhse3q.js} +1 -1
- package/dist/chunks/{websearch-m5g5cn1a.js → event-logger-7c5ys648.js} +3 -3
- package/dist/chunks/{websearch-ek5dpqxb.js → event-logger-7fspq4zk.js} +9 -9
- package/dist/chunks/{websearch-jfzav2gc.js → event-logger-7r6ahe9b.js} +4 -4
- package/dist/chunks/{websearch-gebtr55s.js → event-logger-7xyrrtj6.js} +5 -5
- package/dist/chunks/{websearch-7yh4e7ss.js → event-logger-7yh4e7ss.js} +1 -1
- package/dist/chunks/{websearch-avqvzm75.js → event-logger-81s594hr.js} +144 -144
- package/dist/chunks/{websearch-4wcq7dqs.js → event-logger-89kd35fp.js} +12 -12
- package/dist/chunks/{websearch-8d7r5vzw.js → event-logger-8d7r5vzw.js} +1 -1
- package/dist/chunks/{websearch-m2n4ambj.js → event-logger-8dgsm9nq.js} +12 -40
- package/dist/chunks/{websearch-n89z7bxk.js → event-logger-8nxtavbw.js} +22 -22
- package/dist/chunks/{websearch-qcmf15bf.js → event-logger-8yh8a9jj.js} +15 -15
- package/dist/chunks/{websearch-96yt6zt0.js → event-logger-96yt6zt0.js} +1 -1
- package/dist/chunks/{websearch-wj0j7rwq.js → event-logger-9849f2wz.js} +6 -6
- package/dist/chunks/{websearch-j6tz9wj2.js → event-logger-98cx1nxj.js} +5 -5
- package/dist/chunks/{websearch-dw9248gk.js → event-logger-9dzf7mc4.js} +9 -9
- package/dist/chunks/{websearch-k308y3cd.js → event-logger-9h22cmvn.js} +27 -27
- package/dist/chunks/{websearch-f43ddyem.js → event-logger-9meg7rhv.js} +8 -8
- package/dist/chunks/{websearch-7s1ycvxr.js → event-logger-9px5pcxd.js} +35 -35
- package/dist/chunks/{websearch-38btsem5.js → event-logger-9qrkzpr4.js} +13 -13
- package/dist/chunks/{websearch-m3gqme58.js → event-logger-9qt9fpsb.js} +17 -17
- package/dist/chunks/{websearch-9aax44nh.js → event-logger-9xz59r4m.js} +14 -14
- package/dist/chunks/{websearch-zyyr8j6k.js → event-logger-a2mxf9e3.js} +13 -13
- package/dist/chunks/{websearch-jrbyd3we.js → event-logger-a8fk01pg.js} +11 -11
- package/dist/chunks/{websearch-aaet6srn.js → event-logger-aaet6srn.js} +2 -2
- package/dist/chunks/{websearch-pecb0brz.js → event-logger-af04s6ss.js} +5 -5
- package/dist/chunks/{websearch-t0tjpkgm.js → event-logger-af4zm9ec.js} +8 -8
- package/dist/chunks/{websearch-99580sk5.js → event-logger-at7cee29.js} +10 -10
- package/dist/chunks/{websearch-6azrrpy8.js → event-logger-b4e6gncp.js} +5 -5
- package/dist/chunks/{websearch-f58e595r.js → event-logger-b665r9b6.js} +22 -22
- package/dist/chunks/{websearch-b6gygkdw.js → event-logger-b6gygkdw.js} +2 -2
- package/dist/chunks/{websearch-jwe4x1j4.js → event-logger-bcx3swfk.js} +24 -24
- package/dist/chunks/{websearch-g2bhzb9e.js → event-logger-c0fxzqc3.js} +25 -25
- package/dist/chunks/{websearch-18e56dsp.js → event-logger-c5gn303e.js} +4 -4
- package/dist/chunks/{websearch-bvbz56nf.js → event-logger-c735gd42.js} +9 -9
- package/dist/chunks/{websearch-rv0djftn.js → event-logger-cav5nwdw.js} +44 -44
- package/dist/chunks/{websearch-36qa6tx5.js → event-logger-cjwrb2qh.js} +26 -26
- package/dist/chunks/{websearch-e7dhzmy6.js → event-logger-cnfjrs31.js} +9 -9
- package/dist/chunks/{websearch-106gw7zm.js → event-logger-cppatfp5.js} +30 -30
- package/dist/chunks/{websearch-2bt6bea8.js → event-logger-crptryd9.js} +9 -9
- package/dist/chunks/{websearch-e8zvhgb7.js → event-logger-cv1m1kxe.js} +37 -37
- package/dist/chunks/{websearch-84xsc2j4.js → event-logger-cy6q1q6j.js} +18 -18
- package/dist/chunks/{websearch-s3c5a9z9.js → event-logger-d1gbmq1q.js} +17 -17
- package/dist/chunks/{websearch-h6xcakft.js → event-logger-d5tc08nt.js} +11 -11
- package/dist/chunks/{websearch-k5tg8ptt.js → event-logger-da6kr1wx.js} +8 -8
- package/dist/chunks/{websearch-dq4j0srv.js → event-logger-df6dewn3.js} +8 -8
- package/dist/chunks/{websearch-7b15y959.js → event-logger-dgj0dq1g.js} +8 -8
- package/dist/chunks/{websearch-ca7w653e.js → event-logger-dhmh7aw6.js} +4 -4
- package/dist/chunks/{websearch-8p4f9s12.js → event-logger-dj2t23y0.js} +2 -2
- package/dist/chunks/{websearch-0ewyyc7b.js → event-logger-dkcc4be6.js} +40 -40
- package/dist/chunks/{websearch-y71avatq.js → event-logger-dpkg50ah.js} +4 -4
- package/dist/chunks/{websearch-2fcywxny.js → event-logger-e2hdy98q.js} +11 -11
- package/dist/chunks/{websearch-trnt4t8c.js → event-logger-e3524ays.js} +4 -4
- package/dist/chunks/{websearch-hq22f3sc.js → event-logger-e7vkd9bt.js} +15 -15
- package/dist/chunks/{websearch-n5a16gh2.js → event-logger-eg02ks85.js} +11 -11
- package/dist/chunks/{websearch-gbks0crs.js → event-logger-en4r2rcx.js} +5 -5
- package/dist/chunks/{websearch-yvwtzbz5.js → event-logger-eryjt14q.js} +11 -11
- package/dist/chunks/{websearch-etq0c3wd.js → event-logger-etq0c3wd.js} +1 -1
- package/dist/chunks/{websearch-dj9sq318.js → event-logger-evbgk2k8.js} +5 -5
- package/dist/chunks/{websearch-fy3n071p.js → event-logger-ez7mrp8m.js} +25 -25
- package/dist/chunks/{websearch-wpm2rk0p.js → event-logger-ezy2bptn.js} +8 -8
- package/dist/chunks/{websearch-tbt4776d.js → event-logger-f1m35rn1.js} +23 -23
- package/dist/chunks/{websearch-hvhqgby5.js → event-logger-f5hzg3fn.js} +7 -7
- package/dist/chunks/{websearch-f8q7mv7a.js → event-logger-f8q7mv7a.js} +1 -1
- package/dist/chunks/{websearch-yncfs3hz.js → event-logger-fea947tx.js} +9 -9
- package/dist/chunks/{websearch-fgh0kbhd.js → event-logger-fgh0kbhd.js} +1 -1
- package/dist/chunks/{websearch-p1wf2k30.js → event-logger-fjmrr6sh.js} +9 -9
- package/dist/chunks/{websearch-fxbjtjnd.js → event-logger-fxbjtjnd.js} +1 -1
- package/dist/chunks/{websearch-fygdb7h7.js → event-logger-fygdb7h7.js} +1 -1
- package/dist/chunks/{websearch-5z2m8pyj.js → event-logger-g7ezgpnw.js} +32 -32
- package/dist/chunks/{websearch-qqvxqkma.js → event-logger-ga7ywfrk.js} +23 -23
- package/dist/chunks/{websearch-gd4qta3r.js → event-logger-gd4qta3r.js} +1 -1
- package/dist/chunks/{websearch-2ts122me.js → event-logger-ggwvze0n.js} +13 -13
- package/dist/chunks/{websearch-0e8daqst.js → event-logger-gjb4y0wk.js} +4 -4
- package/dist/chunks/{websearch-ez2hf904.js → event-logger-gjjf51xs.js} +4 -4
- package/dist/chunks/{websearch-0h54jqbs.js → event-logger-gn2hfjap.js} +8 -8
- package/dist/chunks/{websearch-th5km1p3.js → event-logger-gv6a8nnw.js} +5 -5
- package/dist/chunks/{websearch-h03wrkyp.js → event-logger-h03wrkyp.js} +2 -2
- package/dist/chunks/{websearch-87v2xzqa.js → event-logger-h0m545r4.js} +1 -1
- package/dist/chunks/{websearch-x77tg81k.js → event-logger-h0r8722a.js} +6 -6
- package/dist/chunks/{websearch-8vgxngcq.js → event-logger-h2mgs7e6.js} +18 -18
- package/dist/chunks/{websearch-h6vf3j39.js → event-logger-h6vf3j39.js} +1 -1
- package/dist/chunks/{websearch-a1anr5m0.js → event-logger-h8e939zk.js} +12 -12
- package/dist/chunks/{websearch-f828m53h.js → event-logger-hdnk95c8.js} +2 -2
- package/dist/chunks/{websearch-nhy5jxhy.js → event-logger-hjt4xg1x.js} +4 -4
- package/dist/chunks/{websearch-ntgpnhzh.js → event-logger-j4147n4y.js} +7 -7
- package/dist/chunks/{websearch-j56e64zr.js → event-logger-j56e64zr.js} +1 -1
- package/dist/chunks/{websearch-9w319rvq.js → event-logger-jcm85fjb.js} +10 -10
- package/dist/chunks/{websearch-cq37gk0t.js → event-logger-jmphe03k.js} +4 -4
- package/dist/chunks/{websearch-rh8145c8.js → event-logger-jn9d4d7h.js} +27 -27
- package/dist/chunks/{websearch-kqd2wwpf.js → event-logger-jnmqjdkf.js} +4 -4
- package/dist/chunks/{websearch-qy2frasb.js → event-logger-jrskb714.js} +63 -63
- package/dist/chunks/{websearch-mvj7zzrq.js → event-logger-jt58nnw6.js} +14 -14
- package/dist/chunks/{websearch-k16ay38w.js → event-logger-k16ay38w.js} +1 -1
- package/dist/chunks/{websearch-naqparvc.js → event-logger-k1pcqpq8.js} +13 -13
- package/dist/chunks/{websearch-7w99qc9d.js → event-logger-k6yq57aq.js} +2 -2
- package/dist/chunks/{websearch-kg06axw8.js → event-logger-kg06axw8.js} +1 -1
- package/dist/chunks/{websearch-ep6z9mt6.js → event-logger-km9fdhsq.js} +6 -6
- package/dist/chunks/{websearch-meahntpx.js → event-logger-kz2z97wx.js} +5 -5
- package/dist/chunks/{websearch-cfpkc3c9.js → event-logger-m0jqrx5p.js} +2 -2
- package/dist/chunks/{websearch-m27pyyd3.js → event-logger-m27pyyd3.js} +1 -1
- package/dist/chunks/{websearch-whcyep9v.js → event-logger-m3vwttw1.js} +32 -32
- package/dist/chunks/{websearch-dc1rab6v.js → event-logger-m4hrtj7g.js} +20 -20
- package/dist/chunks/{websearch-jtbqkmrk.js → event-logger-m9japtd8.js} +12 -12
- package/dist/chunks/{websearch-m9w0rfyh.js → event-logger-m9w0rfyh.js} +1 -1
- package/dist/chunks/{websearch-magykp64.js → event-logger-magykp64.js} +1 -1
- package/dist/chunks/{websearch-gq38ebmh.js → event-logger-mds1fn0w.js} +4 -4
- package/dist/chunks/{websearch-q0nz172n.js → event-logger-mke74ywt.js} +15 -15
- package/dist/chunks/event-logger-mkzb76vv.js +462 -0
- package/dist/chunks/{websearch-06dxphr1.js → event-logger-msq0jde0.js} +4 -4
- package/dist/chunks/{websearch-4ejw2jqq.js → event-logger-msydzq3r.js} +13 -13
- package/dist/chunks/{websearch-xrye2hw7.js → event-logger-mszym7b5.js} +29 -29
- package/dist/chunks/{websearch-2m8k3bqq.js → event-logger-myzpqcan.js} +20 -20
- package/dist/chunks/{websearch-z3a9s106.js → event-logger-n0cm6f7x.js} +28 -28
- package/dist/chunks/{websearch-qce9we07.js → event-logger-n16grh7c.js} +12 -12
- package/dist/chunks/{websearch-n76fdqym.js → event-logger-n7x4jgdx.js} +1 -26
- package/dist/chunks/{websearch-j4yy9w4e.js → event-logger-n9e1pbg6.js} +25 -25
- package/dist/chunks/{websearch-vcpxd4bv.js → event-logger-nfrxxpny.js} +15 -15
- package/dist/chunks/{websearch-czg833eg.js → event-logger-nh3nz7zc.js} +4 -4
- package/dist/chunks/{websearch-yfvrypcb.js → event-logger-njr7wza7.js} +11 -11
- package/dist/chunks/{websearch-g9ahqbpr.js → event-logger-nkdzkb3h.js} +11 -11
- package/dist/chunks/{websearch-wnwaph4q.js → event-logger-nkngnxhn.js} +20 -20
- package/dist/chunks/{websearch-0vnyxh58.js → event-logger-p2fr31ma.js} +43 -43
- package/dist/chunks/{websearch-d50f2zf5.js → event-logger-p33ejz0k.js} +1 -1
- package/dist/chunks/{websearch-8jvzjvtx.js → event-logger-p3bmtfza.js} +2 -2
- package/dist/chunks/{websearch-4ve9z8c1.js → event-logger-p4qs7kgv.js} +16 -16
- package/dist/chunks/{websearch-tcp3renx.js → event-logger-p5skxhfn.js} +35 -35
- package/dist/chunks/{websearch-kxpygcw9.js → event-logger-pf2hb43r.js} +4 -4
- package/dist/chunks/{websearch-pjvnvgmy.js → event-logger-pjvnvgmy.js} +1 -1
- package/dist/chunks/{websearch-pknna89w.js → event-logger-pknna89w.js} +1 -1
- package/dist/chunks/{websearch-1drfwyv5.js → event-logger-pks06gch.js} +42 -42
- package/dist/chunks/{websearch-9s2tak1g.js → event-logger-pv444m59.js} +26 -26
- package/dist/chunks/{websearch-pesskt16.js → event-logger-pv8p17fy.js} +13 -13
- package/dist/chunks/{websearch-a4q6373d.js → event-logger-py6fnjvp.js} +22 -22
- package/dist/chunks/{websearch-zz5hkvbq.js → event-logger-q1x21mf0.js} +26 -26
- package/dist/chunks/{websearch-j9y9fcvd.js → event-logger-q2qpq2mh.js} +9 -9
- package/dist/chunks/{websearch-wvg2fke4.js → event-logger-qcdfmerr.js} +87 -87
- package/dist/chunks/{websearch-0jwsre1p.js → event-logger-qgn6gcr1.js} +5 -5
- package/dist/chunks/{websearch-qsdy395h.js → event-logger-qsdy395h.js} +1 -1
- package/dist/chunks/{websearch-8mwczstk.js → event-logger-qsgekh27.js} +11 -11
- package/dist/chunks/{websearch-adb54h9z.js → event-logger-qv9hkmfm.js} +47 -47
- package/dist/chunks/{websearch-rrshzaw6.js → event-logger-qxn7sfw1.js} +5 -5
- package/dist/chunks/{websearch-6ba91h8c.js → event-logger-r2v4j81b.js} +89 -89
- package/dist/chunks/{websearch-r9babyk8.js → event-logger-r9babyk8.js} +1 -1
- package/dist/chunks/{websearch-r9mregkx.js → event-logger-r9mregkx.js} +2 -2
- package/dist/chunks/event-logger-rap9a73h.js +18 -0
- package/dist/chunks/{websearch-7cedjrs4.js → event-logger-rc2324vf.js} +9 -9
- package/dist/chunks/{websearch-1qqjkbbm.js → event-logger-ref3dz8p.js} +48 -48
- package/dist/chunks/{websearch-7jv6pypr.js → event-logger-rgp0xy6k.js} +12 -12
- package/dist/chunks/{websearch-vvxf2beg.js → event-logger-rkmq0ftz.js} +9 -9
- package/dist/chunks/{websearch-qfxgvynf.js → event-logger-rmwqerav.js} +10 -10
- package/dist/chunks/{websearch-y8n5tbft.js → event-logger-rrxmggdy.js} +11 -11
- package/dist/chunks/{websearch-desf89vc.js → event-logger-rsym84ch.js} +7 -7
- package/dist/chunks/{websearch-qa3qhgw8.js → event-logger-ryr25ayn.js} +4 -4
- package/dist/chunks/{websearch-typd6ee7.js → event-logger-s2jbkb1q.js} +11 -11
- package/dist/chunks/{websearch-szwnxe8b.js → event-logger-sjvqrz59.js} +6 -6
- package/dist/chunks/{websearch-pe3tsevc.js → event-logger-ssx2atvp.js} +6 -6
- package/dist/chunks/{websearch-z76px7dr.js → event-logger-stqzacd7.js} +32 -32
- package/dist/chunks/{websearch-f13dxr77.js → event-logger-svb6z590.js} +25 -25
- package/dist/chunks/{websearch-bct739vz.js → event-logger-sx1n432n.js} +4 -4
- package/dist/chunks/{websearch-zex37ywk.js → event-logger-t33aqq77.js} +6 -6
- package/dist/chunks/{websearch-rhjbct0v.js → event-logger-t550f9t1.js} +4 -4
- package/dist/chunks/{websearch-vxpws250.js → event-logger-t59x1kp2.js} +10 -10
- package/dist/chunks/{websearch-t7z3zppm.js → event-logger-t7z3zppm.js} +2 -2
- package/dist/chunks/event-logger-t8g04pec.js +247 -0
- package/dist/chunks/{websearch-kek212n2.js → event-logger-t8j12ba3.js} +18 -18
- package/dist/chunks/{websearch-jhsettgg.js → event-logger-t8z6dkmk.js} +52 -52
- package/dist/chunks/{websearch-tazgh4e4.js → event-logger-tazgh4e4.js} +1 -1
- package/dist/chunks/{websearch-89znhe33.js → event-logger-tcezcvh9.js} +4 -4
- package/dist/chunks/{websearch-tdstcens.js → event-logger-tdstcens.js} +1 -1
- package/dist/chunks/{websearch-jefma2gq.js → event-logger-tdz9b6vr.js} +10 -10
- package/dist/chunks/{websearch-43k15f45.js → event-logger-tfbymgd2.js} +4 -4
- package/dist/chunks/{websearch-1awm1f41.js → event-logger-tj06h6ge.js} +10 -10
- package/dist/chunks/{websearch-abtdxr9t.js → event-logger-tjjaenf2.js} +3 -3
- package/dist/chunks/{websearch-sj7r2nre.js → event-logger-tp5r4a12.js} +14 -14
- package/dist/chunks/{websearch-z7ygv8dn.js → event-logger-tq8nwz6v.js} +15 -15
- package/dist/chunks/{websearch-tvtrv512.js → event-logger-tvtrv512.js} +1 -1
- package/dist/chunks/{websearch-py3b413y.js → event-logger-tzr81ypp.js} +2 -2
- package/dist/chunks/{websearch-9mkyvs4w.js → event-logger-v8jfbz3g.js} +6 -6
- package/dist/chunks/{websearch-veqvce7d.js → event-logger-veqvce7d.js} +1 -1
- package/dist/chunks/{websearch-pgmmxc65.js → event-logger-vezcpp24.js} +20 -20
- package/dist/chunks/{websearch-fncgf4tb.js → event-logger-vfvfv47x.js} +18 -18
- package/dist/chunks/{websearch-057kyg8r.js → event-logger-vm5abjg2.js} +2 -2
- package/dist/chunks/{websearch-htyym6ck.js → event-logger-vxbynqkk.js} +34 -42
- package/dist/chunks/{websearch-vzcthcp8.js → event-logger-vzcthcp8.js} +1 -1
- package/dist/chunks/{websearch-c22yrd1g.js → event-logger-w1y9cvm8.js} +11 -11
- package/dist/chunks/{websearch-w3wsvvr9.js → event-logger-w3wsvvr9.js} +1 -1
- package/dist/chunks/{websearch-wd87259q.js → event-logger-wd87259q.js} +1 -1
- package/dist/chunks/{websearch-tfngb0ww.js → event-logger-wf0sjdq3.js} +4 -4
- package/dist/chunks/{websearch-x3jmp06z.js → event-logger-wg3rwg1y.js} +22 -22
- package/dist/chunks/{websearch-9536ja0w.js → event-logger-wj75hbv8.js} +29 -29
- package/dist/chunks/{websearch-nng2ktcm.js → event-logger-wqc6684y.js} +2 -2
- package/dist/chunks/{websearch-x1ezjp6w.js → event-logger-x1ezjp6w.js} +1 -1
- package/dist/chunks/{websearch-5h6cs5y5.js → event-logger-xdrt8cc9.js} +23 -23
- package/dist/chunks/{websearch-53705tx4.js → event-logger-xffgaj39.js} +41 -41
- package/dist/chunks/{websearch-sk718qf1.js → event-logger-xkmds9fp.js} +37 -37
- package/dist/chunks/{websearch-at2bvhe9.js → event-logger-xpyf9ghk.js} +17 -17
- package/dist/chunks/{websearch-41ken85s.js → event-logger-xr7qrm3q.js} +17 -17
- package/dist/chunks/event-logger-xrsqh21y.js +4 -0
- package/dist/chunks/{websearch-5n168jes.js → event-logger-xw8111cb.js} +18 -18
- package/dist/chunks/{websearch-y1fvbwt7.js → event-logger-y1fvbwt7.js} +1 -1
- package/dist/chunks/{websearch-86eyv63b.js → event-logger-yap9dffs.js} +11 -11
- package/dist/chunks/{websearch-4xxmr89x.js → event-logger-yb5b95vk.js} +34 -34
- package/dist/chunks/{websearch-kpvyk30t.js → event-logger-yb94xmg0.js} +9 -9
- package/dist/chunks/{websearch-p369s7er.js → event-logger-ymbcfbqx.js} +26 -26
- package/dist/chunks/{websearch-yrhqyw5v.js → event-logger-yrhqyw5v.js} +1 -1
- package/dist/chunks/{websearch-yrznvahk.js → event-logger-yrznvahk.js} +2 -2
- package/dist/chunks/{websearch-aqjsmqrn.js → event-logger-yt4rhm4a.js} +28 -28
- package/dist/chunks/{websearch-rxtwa657.js → event-logger-yv7j7fqg.js} +19 -19
- package/dist/chunks/{websearch-n35w23dd.js → event-logger-yy8cpz62.js} +30 -30
- package/dist/chunks/{websearch-z0bkrqjs.js → event-logger-z0bkrqjs.js} +1 -1
- package/dist/chunks/{websearch-n40qqmec.js → event-logger-z1tsgz63.js} +21 -21
- package/dist/chunks/{websearch-r6802cbt.js → event-logger-z305y992.js} +24 -24
- package/dist/chunks/{websearch-836wjbr2.js → event-logger-z4pr50f0.js} +16 -16
- package/dist/chunks/{websearch-z63w68vq.js → event-logger-z63w68vq.js} +2 -2
- package/dist/chunks/{websearch-z69s9t6b.js → event-logger-z69s9t6b.js} +2 -2
- package/dist/chunks/{websearch-q0dvjevw.js → event-logger-ze22c3jz.js} +32 -32
- package/dist/chunks/{websearch-zeh9ct20.js → event-logger-zeh9ct20.js} +2 -2
- package/dist/chunks/{websearch-zr2ceqn5.js → event-logger-zr2ceqn5.js} +1 -1
- package/dist/chunks/{websearch-w04kpkjq.js → event-logger-zt4bdyzr.js} +4 -4
- package/dist/chunks/{websearch-zxq2ej10.js → event-logger-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +80 -80
- package/dist/config/discovery.js +80 -80
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +112 -112
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +118 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +78 -78
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +98 -98
- package/dist/file-mutation.js +90 -90
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +103 -103
- package/dist/form.js +77 -77
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +85 -85
- package/dist/generate.js +90 -90
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +352 -354
- package/dist/instruction-discovery.js +78 -78
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +81 -81
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-mutation.js +98 -98
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +349 -351
- package/dist/location.js +85 -85
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +104 -104
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +8 -8
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +105 -105
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -325
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +6 -6
- package/dist/plugin/plan.js +98 -98
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +118 -118
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +81 -81
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +118 -118
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +157 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +338 -340
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +111 -111
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +1 -1
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +83 -83
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +130 -130
- package/dist/session/context.js +148 -148
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +147 -147
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +120 -120
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +87 -87
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +122 -122
- package/dist/tool/plugin/edit.js +112 -112
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +103 -103
- package/dist/tool/plugin/subagent.js +209 -209
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +341 -343
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +92 -92
- package/package.json +8 -8
- package/dist/chunks/websearch-0mesazry.js +0 -4
- package/dist/chunks/websearch-6w60nb5g.js +0 -462
- package/dist/chunks/websearch-ajhpbj2b.js +0 -247
- package/dist/chunks/websearch-dxj72tfx.js +0 -18
- package/dist/chunks/websearch-ksz0h0wp.js +0 -35
- package/dist/chunks/websearch-mkcjrzeh.js +0 -15
- package/dist/plugin/provider/anthropic.js +0 -7
- package/dist/plugin/provider/mistral.js +0 -7
- package/dist/types/plugin/provider/anthropic.d.ts +0 -1
- package/dist/types/plugin/provider/mistral.d.ts +0 -1
- /package/dist/chunks/{websearch-0qkdqm5v.js → event-logger-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{websearch-0zkw76rk.js → event-logger-0zkw76rk.js} +0 -0
- /package/dist/chunks/{websearch-17cy0kzp.js → event-logger-17cy0kzp.js} +0 -0
- /package/dist/chunks/{websearch-1cnp2v09.js → event-logger-1cnp2v09.js} +0 -0
- /package/dist/chunks/{websearch-1kg9ymc8.js → event-logger-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{websearch-2710q6r3.js → event-logger-2710q6r3.js} +0 -0
- /package/dist/chunks/{websearch-2axfhc9x.js → event-logger-2axfhc9x.js} +0 -0
- /package/dist/chunks/{websearch-2c3vjs8z.js → event-logger-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{websearch-359p4xyc.js → event-logger-359p4xyc.js} +0 -0
- /package/dist/chunks/{websearch-3asan66x.js → event-logger-3asan66x.js} +0 -0
- /package/dist/chunks/{websearch-3v8g72cx.js → event-logger-3v8g72cx.js} +0 -0
- /package/dist/chunks/{websearch-3w5fmr99.js → event-logger-3w5fmr99.js} +0 -0
- /package/dist/chunks/{websearch-3wcehsnq.js → event-logger-3wcehsnq.js} +0 -0
- /package/dist/chunks/{websearch-43n2bw4t.js → event-logger-43n2bw4t.js} +0 -0
- /package/dist/chunks/{websearch-4knz6hnm.js → event-logger-4knz6hnm.js} +0 -0
- /package/dist/chunks/{websearch-4vcrnpx2.js → event-logger-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{websearch-4y7fprxs.js → event-logger-4y7fprxs.js} +0 -0
- /package/dist/chunks/{websearch-53557ph1.js → event-logger-53557ph1.js} +0 -0
- /package/dist/chunks/{websearch-550bvhaj.js → event-logger-550bvhaj.js} +0 -0
- /package/dist/chunks/{websearch-6prwharc.js → event-logger-6prwharc.js} +0 -0
- /package/dist/chunks/{websearch-7akdwqpd.js → event-logger-7akdwqpd.js} +0 -0
- /package/dist/chunks/{websearch-7m9af43g.js → event-logger-7m9af43g.js} +0 -0
- /package/dist/chunks/{websearch-822emrt2.js → event-logger-822emrt2.js} +0 -0
- /package/dist/chunks/{websearch-88xbtdfr.js → event-logger-88xbtdfr.js} +0 -0
- /package/dist/chunks/{websearch-8n3pysct.js → event-logger-8n3pysct.js} +0 -0
- /package/dist/chunks/{websearch-922hggd3.js → event-logger-922hggd3.js} +0 -0
- /package/dist/chunks/{websearch-9a4afbnw.js → event-logger-9a4afbnw.js} +0 -0
- /package/dist/chunks/{websearch-9rqn6x4v.js → event-logger-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{websearch-a6k6eb26.js → event-logger-a6k6eb26.js} +0 -0
- /package/dist/chunks/{websearch-af5trqkr.js → event-logger-af5trqkr.js} +0 -0
- /package/dist/chunks/{websearch-afrmfg78.js → event-logger-afrmfg78.js} +0 -0
- /package/dist/chunks/{websearch-aqzs7mqg.js → event-logger-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{websearch-atq7p7m5.js → event-logger-atq7p7m5.js} +0 -0
- /package/dist/chunks/{websearch-bkyjaxrp.js → event-logger-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{websearch-bmr6ed5q.js → event-logger-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{websearch-cf4snx6d.js → event-logger-cf4snx6d.js} +0 -0
- /package/dist/chunks/{websearch-cvy3z8tj.js → event-logger-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{websearch-d9fn303g.js → event-logger-d9fn303g.js} +0 -0
- /package/dist/chunks/{websearch-d9jj8t3e.js → event-logger-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{websearch-dajrwvna.js → event-logger-dajrwvna.js} +0 -0
- /package/dist/chunks/{websearch-dap0rakb.js → event-logger-dap0rakb.js} +0 -0
- /package/dist/chunks/{websearch-df08tz66.js → event-logger-df08tz66.js} +0 -0
- /package/dist/chunks/{websearch-dy18nga0.js → event-logger-dy18nga0.js} +0 -0
- /package/dist/chunks/{websearch-e5kj55wp.js → event-logger-e5kj55wp.js} +0 -0
- /package/dist/chunks/{websearch-e73j6tqm.js → event-logger-e73j6tqm.js} +0 -0
- /package/dist/chunks/{websearch-ec1grn59.js → event-logger-ec1grn59.js} +0 -0
- /package/dist/chunks/{websearch-eh3zwz77.js → event-logger-eh3zwz77.js} +0 -0
- /package/dist/chunks/{websearch-emrn6kk6.js → event-logger-emrn6kk6.js} +0 -0
- /package/dist/chunks/{websearch-f0mxakyp.js → event-logger-f0mxakyp.js} +0 -0
- /package/dist/chunks/{websearch-f6n9ztr4.js → event-logger-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{websearch-faypxj3z.js → event-logger-faypxj3z.js} +0 -0
- /package/dist/chunks/{websearch-fd410y7t.js → event-logger-fd410y7t.js} +0 -0
- /package/dist/chunks/{websearch-fxgpk5d8.js → event-logger-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{websearch-g4wezp1m.js → event-logger-g4wezp1m.js} +0 -0
- /package/dist/chunks/{websearch-g86h250q.js → event-logger-g86h250q.js} +0 -0
- /package/dist/chunks/{websearch-gebd4c9n.js → event-logger-gebd4c9n.js} +0 -0
- /package/dist/chunks/{websearch-gftt206x.js → event-logger-gftt206x.js} +0 -0
- /package/dist/chunks/{websearch-hjbc5kem.js → event-logger-hjbc5kem.js} +0 -0
- /package/dist/chunks/{websearch-hk9envan.js → event-logger-hk9envan.js} +0 -0
- /package/dist/chunks/{websearch-hrnqkpcd.js → event-logger-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{websearch-j2ntwpah.js → event-logger-j2ntwpah.js} +0 -0
- /package/dist/chunks/{websearch-j5zkgpj8.js → event-logger-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{websearch-jr7sbwjy.js → event-logger-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{websearch-jwfs4k6c.js → event-logger-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{websearch-jzg6c2d5.js → event-logger-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{websearch-mp448xyj.js → event-logger-mp448xyj.js} +0 -0
- /package/dist/chunks/{websearch-msx8hqn2.js → event-logger-msx8hqn2.js} +0 -0
- /package/dist/chunks/{websearch-n05xt0ee.js → event-logger-n05xt0ee.js} +0 -0
- /package/dist/chunks/{websearch-n3j8tn72.js → event-logger-n3j8tn72.js} +0 -0
- /package/dist/chunks/{websearch-njntx4h6.js → event-logger-njntx4h6.js} +0 -0
- /package/dist/chunks/{websearch-paphc93g.js → event-logger-paphc93g.js} +0 -0
- /package/dist/chunks/{websearch-q3sfg36h.js → event-logger-q3sfg36h.js} +0 -0
- /package/dist/chunks/{websearch-q74kybfr.js → event-logger-q74kybfr.js} +0 -0
- /package/dist/chunks/{websearch-qaymkmh1.js → event-logger-qaymkmh1.js} +0 -0
- /package/dist/chunks/{websearch-qb87gjwd.js → event-logger-qb87gjwd.js} +0 -0
- /package/dist/chunks/{websearch-qfa1cgps.js → event-logger-qfa1cgps.js} +0 -0
- /package/dist/chunks/{websearch-qrg20bc0.js → event-logger-qrg20bc0.js} +0 -0
- /package/dist/chunks/{websearch-rcb2kzg1.js → event-logger-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{websearch-sdp7kfr6.js → event-logger-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{websearch-sk3qaz4a.js → event-logger-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{websearch-ssg3fenm.js → event-logger-ssg3fenm.js} +0 -0
- /package/dist/chunks/{websearch-twg0f83k.js → event-logger-twg0f83k.js} +0 -0
- /package/dist/chunks/{websearch-w803qqfp.js → event-logger-w803qqfp.js} +0 -0
- /package/dist/chunks/{websearch-wer8tq1h.js → event-logger-wer8tq1h.js} +0 -0
- /package/dist/chunks/{websearch-wtztk69x.js → event-logger-wtztk69x.js} +0 -0
- /package/dist/chunks/{websearch-x0ckcb58.js → event-logger-x0ckcb58.js} +0 -0
- /package/dist/chunks/{websearch-x61499pn.js → event-logger-x61499pn.js} +0 -0
- /package/dist/chunks/{websearch-y44na4kk.js → event-logger-y44na4kk.js} +0 -0
- /package/dist/chunks/{websearch-y8cydn3q.js → event-logger-y8cydn3q.js} +0 -0
- /package/dist/chunks/{websearch-y8f7s663.js → event-logger-y8f7s663.js} +0 -0
- /package/dist/chunks/{websearch-ygaqb7jw.js → event-logger-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{websearch-ym463w8f.js → event-logger-ym463w8f.js} +0 -0
- /package/dist/chunks/{websearch-z9919s4g.js → event-logger-z9919s4g.js} +0 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./event-logger-dkcc4be6.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service75,
|
|
9
|
+
node80
|
|
10
|
+
} from "./event-logger-28ynmmp6.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service55,
|
|
13
|
+
node59
|
|
14
|
+
} from "./event-logger-t8z6dkmk.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -24,7 +24,7 @@ __export(exports_file_access, {
|
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
25
|
Service: () => Service16,
|
|
26
26
|
externalDirectoryPermission: () => externalDirectoryPermission2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node20,
|
|
28
28
|
resolvePath: () => resolvePath2
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -57,8 +57,8 @@ var invocation = (context) => ({
|
|
|
57
57
|
});
|
|
58
58
|
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
59
59
|
const fs = yield* FSUtil.Service;
|
|
60
|
-
const location = yield*
|
|
61
|
-
const permission = yield*
|
|
60
|
+
const location = yield* Service75;
|
|
61
|
+
const permission = yield* Service55;
|
|
62
62
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
63
63
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
64
64
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -109,6 +109,6 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
109
109
|
});
|
|
110
110
|
return Service16.of({ resolve, authorizeExternal, authorizeRead });
|
|
111
111
|
}));
|
|
112
|
-
var
|
|
112
|
+
var node20 = makeLocationNode({ service: Service16, layer, deps: [FSUtil.node, node80, node59] });
|
|
113
113
|
|
|
114
|
-
export { Kind2, ResolveInput2, externalDirectoryPermission2, Service16, resolvePath2,
|
|
114
|
+
export { Kind2, ResolveInput2, externalDirectoryPermission2, Service16, resolvePath2, node20, exports_file_access };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./event-logger-eryjt14q.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./event-logger-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service73,
|
|
17
|
+
node: () => node78
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service73 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
25
|
-
const db = (yield*
|
|
26
|
-
return
|
|
24
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
25
|
+
const db = (yield* Service78).db;
|
|
26
|
+
return Service73.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node78 = makeGlobalNode({ service: Service73, layer, deps: [node83] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service73, node78, exports_kv };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service77
|
|
3
|
+
} from "./event-logger-3cabbhzt.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event17
|
|
7
|
+
} from "./event-logger-q1x21mf0.js";
|
|
8
8
|
import {
|
|
9
9
|
ID11,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./event-logger-h2mgs7e6.js";
|
|
12
12
|
import {
|
|
13
13
|
ID18,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./event-logger-m27pyyd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
ID15,
|
|
19
19
|
Input14,
|
|
20
20
|
Response2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./event-logger-ymbcfbqx.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/opencode.ts
|
|
24
24
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
|
|
|
32
32
|
var RemoteResponse = Schema.Struct({
|
|
33
33
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
34
34
|
websearch: Schema.Struct({
|
|
35
|
-
providerID:
|
|
35
|
+
providerID: ID15
|
|
36
36
|
}).pipe(Schema.optional)
|
|
37
37
|
});
|
|
38
38
|
var Device = Schema.Struct({
|
|
@@ -99,7 +99,7 @@ function oauth(http) {
|
|
|
99
99
|
var OpencodePlugin2 = define({
|
|
100
100
|
id: "opencode.provider.opencode",
|
|
101
101
|
effect: Effect.fn(function* (ctx) {
|
|
102
|
-
const bus = yield*
|
|
102
|
+
const bus = yield* Service77;
|
|
103
103
|
const http = yield* HttpClient.HttpClient;
|
|
104
104
|
const loading = Semaphore.makeUnsafe(1);
|
|
105
105
|
let snapshot = { config: undefined, connection: undefined };
|
|
@@ -249,7 +249,7 @@ var OpencodePlugin2 = define({
|
|
|
249
249
|
yield* Effect.all([ctx.catalog.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
250
250
|
});
|
|
251
251
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
252
|
-
yield* bus.subscribe(
|
|
252
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID11.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
253
253
|
yield* Effect.sleep(Duration.minutes(10)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
254
254
|
})
|
|
255
255
|
});
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./event-logger-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info16,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info16 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info16, exports_mcp5 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./event-logger-k6yq57aq.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./event-logger-2khzfaxq.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./event-logger-t550f9t1.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./event-logger-5c4hm403.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./event-logger-jmphe03k.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./event-logger-msq0jde0.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service42
|
|
3
|
+
} from "./event-logger-2k6kcpy5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service32
|
|
6
|
+
} from "./event-logger-pks06gch.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
12
|
var exports_mcp = {};
|
|
13
13
|
__export(exports_mcp, {
|
|
14
14
|
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin15,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin15 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service42;
|
|
28
|
+
const mcp = yield* Service32;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin15, register2, exports_mcp };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service43
|
|
6
|
+
} from "./event-logger-m4hrtj7g.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/module.ts
|
|
12
12
|
var exports_module = {};
|
|
@@ -23,7 +23,7 @@ import path from "path";
|
|
|
23
23
|
import { stat } from "node:fs/promises";
|
|
24
24
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
25
25
|
var make10 = Effect.fn("PluginModule.make")(function* () {
|
|
26
|
-
const watcher = yield*
|
|
26
|
+
const watcher = yield* Service43;
|
|
27
27
|
const scope = yield* Effect.scope;
|
|
28
28
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
29
29
|
const changes = yield* PubSub.unbounded();
|
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./event-logger-eryjt14q.js";
|
|
5
5
|
import {
|
|
6
6
|
reserveSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service77,
|
|
8
|
+
node82
|
|
9
|
+
} from "./event-logger-3cabbhzt.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./event-logger-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./event-logger-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
update2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./event-logger-4y66k410.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./event-logger-922hggd3.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./event-logger-dj2t23y0.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./event-logger-5c4hm403.js";
|
|
31
31
|
import {
|
|
32
32
|
projectAdmitted2,
|
|
33
33
|
projectDelivered2,
|
|
34
34
|
projectCancelled2,
|
|
35
35
|
projectDeliveryChanged2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./event-logger-pv444m59.js";
|
|
37
37
|
import {
|
|
38
38
|
apply2,
|
|
39
39
|
initialize3,
|
|
40
40
|
advanceEpoch2,
|
|
41
41
|
reset2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./event-logger-jmphe03k.js";
|
|
43
43
|
import {
|
|
44
44
|
initialize2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./event-logger-cy6q1q6j.js";
|
|
46
46
|
import {
|
|
47
47
|
Slug2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./event-logger-gebd4c9n.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/projector.ts
|
|
54
54
|
var exports_projector = {};
|
|
55
55
|
__export(exports_projector, {
|
|
56
56
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
57
57
|
SessionProjector: () => exports_projector,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node28
|
|
59
59
|
});
|
|
60
60
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
61
61
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -276,8 +276,8 @@ function projectIdle(db, event) {
|
|
|
276
276
|
});
|
|
277
277
|
}
|
|
278
278
|
var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
279
|
-
const bus = yield*
|
|
280
|
-
const db = (yield*
|
|
279
|
+
const bus = yield* Service77;
|
|
280
|
+
const db = (yield* Service78).db;
|
|
281
281
|
yield* bus.project(SessionEvent2.Created, (event) => Effect.gen(function* () {
|
|
282
282
|
const stored = yield* db.insert(SessionTable2).values({
|
|
283
283
|
id: event.data.sessionID,
|
|
@@ -458,6 +458,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
458
458
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
459
459
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
460
460
|
}));
|
|
461
|
-
var
|
|
461
|
+
var node28 = makeGlobalNode({ name: "session-projector", layer, deps: [node82, node83] });
|
|
462
462
|
|
|
463
|
-
export { SessionAlreadyProjected2,
|
|
463
|
+
export { SessionAlreadyProjected2, node28, exports_projector };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./event-logger-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service75
|
|
3
|
+
} from "./event-logger-28ynmmp6.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service52
|
|
6
|
+
} from "./event-logger-z305y992.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service13,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./event-logger-ggwvze0n.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service74
|
|
14
|
+
} from "./event-logger-xw8111cb.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service55
|
|
17
|
+
} from "./event-logger-t8z6dkmk.js";
|
|
18
18
|
import {
|
|
19
19
|
Service16,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./event-logger-9xz59r4m.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./event-logger-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
33
|
Input: () => Input3,
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
34
|
+
Output: () => Output3,
|
|
35
|
+
Plugin: () => Plugin21,
|
|
36
36
|
name: () => name3
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
@@ -50,7 +50,7 @@ var Input3 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output3 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin21 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
109
|
const access = yield* Service16;
|
|
110
|
-
const fileMutation = yield*
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const formatter = yield*
|
|
113
|
-
const location = yield*
|
|
114
|
-
const permission = yield*
|
|
110
|
+
const fileMutation = yield* Service13;
|
|
111
|
+
const environment = yield* Service52;
|
|
112
|
+
const formatter = yield* Service74;
|
|
113
|
+
const location = yield* Service75;
|
|
114
|
+
const permission = yield* Service55;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
116
|
name: name3,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
118
118
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
119
119
|
input: Input3,
|
|
120
|
-
output:
|
|
120
|
+
output: Output3,
|
|
121
121
|
execute: (input, context) => {
|
|
122
122
|
return Effect.gen(function* () {
|
|
123
123
|
const permissionSource = {
|
|
@@ -194,4 +194,4 @@ var Plugin3 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export { name3, Input3,
|
|
197
|
+
export { name3, Input3, Output3, Plugin21, exports_edit };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./event-logger-eryjt14q.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service77
|
|
6
|
+
} from "./event-logger-3cabbhzt.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service49
|
|
9
|
+
} from "./event-logger-v8jfbz3g.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./event-logger-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID8,
|
|
15
|
+
Service60
|
|
16
|
+
} from "./event-logger-m3vwttw1.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./event-logger-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./event-logger-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./event-logger-2khzfaxq.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./event-logger-5c4hm403.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
46
|
-
const database = yield*
|
|
47
|
-
const bus = yield*
|
|
45
|
+
const instances = yield* Service49;
|
|
46
|
+
const database = yield* Service78;
|
|
47
|
+
const bus = yield* Service77;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service60;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID8.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
78
|
-
const bus = yield*
|
|
77
|
+
const instances = yield* Service49;
|
|
78
|
+
const bus = yield* Service77;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service60;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID8.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID8.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-exclusion.ts
|
|
6
6
|
var exports_mcp_codemode_exclusion = {};
|
|
7
7
|
__export(exports_mcp_codemode_exclusion, {
|
|
8
8
|
McpCodeModeExclusionPlugin: () => exports_mcp_codemode_exclusion,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin40
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
|
-
var
|
|
14
|
+
var Plugin40 = define({
|
|
15
15
|
id: "opencode.mcp.codemode.exclusion",
|
|
16
16
|
effect: Effect.fn(function* (ctx) {
|
|
17
17
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -34,4 +34,4 @@ var Plugin42 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin40, exports_mcp_codemode_exclusion };
|