@opencode/core 2.0.15 → 2.0.16
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{location-tb273c1p.js → event-logger-01ps9m3h.js} +32 -32
- package/dist/chunks/{location-exkxrshv.js → event-logger-03q3r71s.js} +18 -18
- package/dist/chunks/{location-2p24pe68.js → event-logger-089g9g2x.js} +46 -46
- package/dist/chunks/{location-s9r6cqpa.js → event-logger-0bb1qdg3.js} +3 -3
- package/dist/chunks/{location-s0esgemt.js → event-logger-0br3sbwn.js} +13 -9
- package/dist/chunks/{location-8ec97xvv.js → event-logger-0f3a36n3.js} +9 -9
- package/dist/chunks/{location-z5qed6cr.js → event-logger-0fnt4z85.js} +26 -26
- package/dist/chunks/{location-sj7g5k2t.js → event-logger-0gz4y0yt.js} +5 -5
- package/dist/chunks/{location-vp932wpr.js → event-logger-0jshnw7f.js} +16 -16
- package/dist/chunks/{location-t5ewrtsm.js → event-logger-0p1t7cwm.js} +9 -9
- package/dist/chunks/{location-gbece2fh.js → event-logger-0p8kebmq.js} +26 -26
- package/dist/chunks/{location-0paq2nw3.js → event-logger-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-s2y6cwc9.js → event-logger-0yt7yd1j.js} +33 -33
- package/dist/chunks/{location-vs030v48.js → event-logger-11k6dxds.js} +4 -4
- package/dist/chunks/{location-qyagpvrp.js → event-logger-132pb4yq.js} +29 -29
- package/dist/chunks/{location-8v97fgxy.js → event-logger-1bry463v.js} +14 -14
- package/dist/chunks/{location-1dazxqgg.js → event-logger-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-mmr7bq34.js → event-logger-1p07q0wb.js} +7 -7
- package/dist/chunks/{location-mtg5e72x.js → event-logger-1xx7tqhe.js} +11 -11
- package/dist/chunks/{location-33w4ejhs.js → event-logger-1ygqh575.js} +6 -6
- package/dist/chunks/{location-21r38tys.js → event-logger-21r38tys.js} +1 -1
- package/dist/chunks/{location-2402vzrj.js → event-logger-2402vzrj.js} +1 -1
- package/dist/chunks/{location-52mpv69t.js → event-logger-27gf4k7j.js} +10 -10
- package/dist/chunks/{location-tdkr4fjp.js → event-logger-28ehbsev.js} +41 -41
- package/dist/chunks/{location-2a5m3afh.js → event-logger-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-4sn99hha.js → event-logger-2fgn2we9.js} +5 -5
- package/dist/chunks/{location-dpwed560.js → event-logger-2jnnq67w.js} +6 -6
- package/dist/chunks/{location-7dqw4kz8.js → event-logger-2k8khapm.js} +5 -5
- package/dist/chunks/{location-7tvzmp5f.js → event-logger-2ntmd471.js} +15 -15
- package/dist/chunks/{location-db8cpbv4.js → event-logger-2qt06f8c.js} +11 -11
- package/dist/chunks/{location-w3z8akkh.js → event-logger-2ye00mg1.js} +46 -45
- package/dist/chunks/{location-qmr67b2d.js → event-logger-32b2ehkd.js} +13 -13
- package/dist/chunks/{location-s92vr3t8.js → event-logger-36wx3dpn.js} +32 -32
- package/dist/chunks/{location-31723wk9.js → event-logger-39nw5ydc.js} +17 -17
- package/dist/chunks/{location-zm32ajz2.js → event-logger-3c9ypvct.js} +7 -7
- package/dist/chunks/{location-3fc6dm20.js → event-logger-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-3hepkmqq.js → event-logger-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-0k6bkn72.js → event-logger-3kx3nt6q.js} +3 -3
- package/dist/chunks/{location-3smtnn6g.js → event-logger-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-3tvqynh2.js → event-logger-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-xhyq1prs.js → event-logger-3xw1mt3t.js} +4 -4
- package/dist/chunks/{location-3zsf4n22.js → event-logger-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-g98nad6a.js → event-logger-3zvr4ntj.js} +17 -17
- package/dist/chunks/{location-a6zkqr4m.js → event-logger-4c7cwrwt.js} +15 -15
- package/dist/chunks/{location-t880hhr6.js → event-logger-4nsq4evv.js} +31 -31
- package/dist/chunks/{location-2ys44scz.js → event-logger-4rzfcrmm.js} +12 -12
- package/dist/chunks/{location-g1sxm558.js → event-logger-4w5f3qm5.js} +8 -8
- package/dist/chunks/{location-5em5jamf.js → event-logger-4x2e8ejb.js} +6 -6
- package/dist/chunks/{location-qqeeq2t9.js → event-logger-57b9ws8p.js} +4 -4
- package/dist/chunks/{location-e5sbd26s.js → event-logger-57p7edxn.js} +4 -4
- package/dist/chunks/{location-5daktx2q.js → event-logger-5daktx2q.js} +1 -1
- package/dist/chunks/{location-512dnrra.js → event-logger-5dwbhd1q.js} +9 -9
- package/dist/chunks/{location-b3bw2nfz.js → event-logger-5eerdhhh.js} +5 -5
- package/dist/chunks/{location-5ekn9679.js → event-logger-5ekn9679.js} +1 -1
- package/dist/chunks/{location-e3qxr5gk.js → event-logger-5qd3pb7m.js} +2 -2
- package/dist/chunks/{location-r1vfcwav.js → event-logger-5sgwv95d.js} +21 -21
- package/dist/chunks/{location-5t3nmthw.js → event-logger-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-vjn4w5j0.js → event-logger-5v0fdq8j.js} +12 -12
- package/dist/chunks/{location-mvksx64m.js → event-logger-5xpznt2d.js} +4 -4
- package/dist/chunks/{location-zgw6fgh0.js → event-logger-63ar50w9.js} +5 -5
- package/dist/chunks/{location-669tq793.js → event-logger-669tq793.js} +1 -1
- package/dist/chunks/event-logger-6kdq0pjd.js +4 -0
- package/dist/chunks/{location-6msgmcgs.js → event-logger-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-8kc8r484.js → event-logger-6tdwvj9c.js} +33 -33
- package/dist/chunks/{location-826nay5f.js → event-logger-6z4ywrmd.js} +41 -41
- package/dist/chunks/{location-kx0rdwde.js → event-logger-70n28njg.js} +11 -11
- package/dist/chunks/{location-r2cbgwrp.js → event-logger-718xzxc8.js} +13 -13
- package/dist/chunks/{location-nmc8s8ga.js → event-logger-747n07b7.js} +15 -15
- package/dist/chunks/{location-2n8vgttj.js → event-logger-74wfabdn.js} +24 -24
- package/dist/chunks/{location-7bmhse3q.js → event-logger-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-pdgv857h.js → event-logger-7f6v5qpp.js} +10 -10
- package/dist/chunks/{location-ek44vwmj.js → event-logger-7fqx7jvc.js} +48 -48
- package/dist/chunks/{location-2vvgwsdm.js → event-logger-7mwj9qcd.js} +14 -14
- package/dist/chunks/{location-hcg5gfqa.js → event-logger-816m4crp.js} +6 -6
- package/dist/chunks/{location-vssdr3c7.js → event-logger-8a4ad92b.js} +11 -11
- package/dist/chunks/{location-c5nmmnam.js → event-logger-8aahf52h.js} +13 -13
- package/dist/chunks/{location-8d7r5vzw.js → event-logger-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-bh4p5r3h.js → event-logger-8h5varp2.js} +8 -8
- package/dist/chunks/{location-6jbefxhr.js → event-logger-8m795tf5.js} +14 -14
- package/dist/chunks/{location-96dp4j9b.js → event-logger-8xeyrzky.js} +91 -91
- package/dist/chunks/{location-np8489tv.js → event-logger-900yt45k.js} +22 -22
- package/dist/chunks/{location-pghvqat4.js → event-logger-908dkt5v.js} +12 -12
- package/dist/chunks/{location-rnghhd3g.js → event-logger-93w6htg6.js} +10 -10
- package/dist/chunks/{location-94ek1h2f.js → event-logger-94ek1h2f.js} +2 -2
- package/dist/chunks/{location-yvvvp4gn.js → event-logger-99xay3p1.js} +8 -8
- package/dist/chunks/{location-gr2tmdz7.js → event-logger-9agfq1d2.js} +14 -14
- package/dist/chunks/{location-7tpcrxhs.js → event-logger-9dvwkvjz.js} +19 -19
- package/dist/chunks/{location-zfa7ynd8.js → event-logger-9e4j78a5.js} +5 -5
- package/dist/chunks/{location-geebtqnp.js → event-logger-9gj3h84v.js} +7 -7
- package/dist/chunks/{location-6sftkhr6.js → event-logger-9n49v3te.js} +19 -19
- package/dist/chunks/{location-rk8yrdje.js → event-logger-9t2qpacv.js} +22 -22
- package/dist/chunks/{location-y6zcy5jv.js → event-logger-9v66419v.js} +22 -22
- package/dist/chunks/{location-4ywqwb3e.js → event-logger-a0s8xvxt.js} +10 -10
- package/dist/chunks/{location-m7va1g8x.js → event-logger-a3r4dcrj.js} +2 -2
- package/dist/chunks/{location-svhm0fyq.js → event-logger-a52pef7j.js} +4 -4
- package/dist/chunks/{location-aaet6srn.js → event-logger-aaet6srn.js} +2 -2
- package/dist/chunks/{location-3t63r8vy.js → event-logger-aneqmxfb.js} +8 -8
- package/dist/chunks/{location-kpf5aqxw.js → event-logger-aqs1w8sb.js} +10 -10
- package/dist/chunks/{location-hypat1yv.js → event-logger-azjsvxqn.js} +3 -3
- package/dist/chunks/{location-j8tshh3j.js → event-logger-b2aqqavs.js} +53 -41
- package/dist/chunks/{location-3yfr3ttv.js → event-logger-b4285gp2.js} +9 -9
- package/dist/chunks/{location-78jgv2cz.js → event-logger-b4kkqjxq.js} +1 -1
- package/dist/chunks/{location-b6gygkdw.js → event-logger-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-306693xq.js → event-logger-bgvszk91.js} +22 -22
- package/dist/chunks/{location-h5gt9chz.js → event-logger-bmg501ry.js} +25 -25
- package/dist/chunks/event-logger-bnwmzjfq.js +26 -0
- package/dist/chunks/{location-hafm9y5m.js → event-logger-bs4se5xz.js} +31 -30
- package/dist/chunks/{location-m9g140gf.js → event-logger-bsqx64w4.js} +5 -5
- package/dist/chunks/{location-jzje5vrp.js → event-logger-btgkjvyx.js} +19 -19
- package/dist/chunks/{location-bdmzfegv.js → event-logger-bv1pwt2s.js} +30 -30
- package/dist/chunks/event-logger-by5v678g.js +18 -0
- package/dist/chunks/{location-2qp6y8xf.js → event-logger-c78bbtc9.js} +5 -5
- package/dist/chunks/{location-z1cdyrqr.js → event-logger-c99wwxqk.js} +29 -29
- package/dist/chunks/{location-3a58h9a4.js → event-logger-chazxwvm.js} +74 -74
- package/dist/chunks/{location-xhk8n0yf.js → event-logger-ck33pjpx.js} +11 -11
- package/dist/chunks/{location-ckecvw8r.js → event-logger-ckecvw8r.js} +2 -2
- package/dist/chunks/{location-vyrd71eq.js → event-logger-ckfwh0ft.js} +11 -11
- package/dist/chunks/{location-rfbkd05a.js → event-logger-cmc17df4.js} +5 -5
- package/dist/chunks/{location-g0445xdp.js → event-logger-cmwkp3r5.js} +4 -4
- package/dist/chunks/{location-kwj5scwb.js → event-logger-cyr3g3e5.js} +16 -16
- package/dist/chunks/{location-kxqn5q5s.js → event-logger-d4sk7cm2.js} +18 -18
- package/dist/chunks/{location-8py9cb08.js → event-logger-d6pm2gat.js} +1 -1
- package/dist/chunks/{location-a881zpfh.js → event-logger-dda0p7y7.js} +9 -9
- package/dist/chunks/{location-3rbdcc49.js → event-logger-ddtyr2hh.js} +25 -25
- package/dist/chunks/{location-pvat10bb.js → event-logger-deqzrk0a.js} +11 -11
- package/dist/chunks/{location-18s9r5gn.js → event-logger-dg2cj1yd.js} +4 -4
- package/dist/chunks/{location-x2z8ar3h.js → event-logger-dntn16f7.js} +26 -22
- package/dist/chunks/{location-jwcy2c2z.js → event-logger-dpkg50ah.js} +4 -4
- package/dist/chunks/{location-xq3yw8dy.js → event-logger-dsvbxzrp.js} +81 -75
- package/dist/chunks/{location-0tmnpbjy.js → event-logger-dyzt9za5.js} +36 -36
- package/dist/chunks/{location-04mw5jg5.js → event-logger-e0k7xjnp.js} +3 -3
- package/dist/chunks/{location-7pqgzsme.js → event-logger-e33fphm7.js} +13 -13
- package/dist/chunks/{location-y7as1a2d.js → event-logger-ec6m7bjn.js} +39 -39
- package/dist/chunks/{location-xcrt1tny.js → event-logger-ef35abme.js} +33 -33
- package/dist/chunks/{location-ef5x83kb.js → event-logger-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-1dangqhw.js → event-logger-eneefzjq.js} +8 -8
- package/dist/chunks/{location-hd8qv2ty.js → event-logger-enywfw21.js} +6 -6
- package/dist/chunks/{location-erw5rpbs.js → event-logger-erw5rpbs.js} +2 -2
- package/dist/chunks/{location-etq0c3wd.js → event-logger-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-c6rpq5f1.js → event-logger-f27dyjrk.js} +46 -46
- package/dist/chunks/{location-cf8rhbja.js → event-logger-f2947pfg.js} +33 -33
- package/dist/chunks/{location-qpk3e0rf.js → event-logger-f9q7adw3.js} +19 -19
- package/dist/chunks/event-logger-fh4s07nh.js +252 -0
- package/dist/chunks/{location-pmh8g6yq.js → event-logger-fkz383g5.js} +11 -11
- package/dist/chunks/{location-jfqtm2ew.js → event-logger-fm2qvscf.js} +4 -4
- package/dist/chunks/{location-8s04dv6n.js → event-logger-fv5sjpfb.js} +14 -14
- package/dist/chunks/{location-n9awvp43.js → event-logger-fxq78srh.js} +33 -33
- package/dist/chunks/{location-kk00bynn.js → event-logger-g190xswt.js} +21 -21
- package/dist/chunks/{location-rhjkpe6e.js → event-logger-g43vs6pk.js} +5 -5
- package/dist/chunks/{location-dkgr3p4r.js → event-logger-g8vnyhk4.js} +8 -8
- package/dist/chunks/{location-0kxfmfxf.js → event-logger-gbhtmfkn.js} +13 -13
- package/dist/chunks/{location-gd4qta3r.js → event-logger-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-nf6tfn93.js → event-logger-gmc59x4c.js} +6 -6
- package/dist/chunks/{location-gv6a8nnw.js → event-logger-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-saawvakp.js → event-logger-gyfpy8sq.js} +10 -10
- package/dist/chunks/{location-4dgbcxzg.js → event-logger-h6r3nrb9.js} +4 -4
- package/dist/chunks/{location-h6vf3j39.js → event-logger-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-yq14pbr7.js → event-logger-hbyhqfhs.js} +5 -5
- package/dist/chunks/{location-c6mn7xyg.js → event-logger-he6tcr5q.js} +27 -27
- package/dist/chunks/{location-8ffpk8ek.js → event-logger-hef66yfx.js} +26 -26
- package/dist/chunks/{location-qdm92ydp.js → event-logger-hwk227gb.js} +37 -37
- package/dist/chunks/{location-tqzp8tzb.js → event-logger-j0pg6dsa.js} +5 -5
- package/dist/chunks/{location-w63jt7y5.js → event-logger-j1np5d6f.js} +23 -23
- package/dist/chunks/{location-j56e64zr.js → event-logger-j56e64zr.js} +1 -1
- package/dist/chunks/{location-n8c291r7.js → event-logger-j8zzr2am.js} +4 -4
- package/dist/chunks/{location-aa2h7fmm.js → event-logger-je1vn78e.js} +36 -36
- package/dist/chunks/{location-256nx13v.js → event-logger-jexxy024.js} +3 -3
- package/dist/chunks/{location-e23w9d35.js → event-logger-jf9anmv7.js} +12 -12
- package/dist/chunks/{location-gy60rj0z.js → event-logger-jgd9see8.js} +17 -17
- package/dist/chunks/{location-jftkgdp0.js → event-logger-jjg31dbj.js} +18 -18
- package/dist/chunks/{location-jv01nqvq.js → event-logger-jv01nqvq.js} +2 -2
- package/dist/chunks/{location-rgtjpwpw.js → event-logger-jww5q7tc.js} +3 -3
- package/dist/chunks/{location-t0b0bsey.js → event-logger-jx360mrh.js} +11 -11
- package/dist/chunks/{location-n793kqf0.js → event-logger-jzmh272x.js} +10 -10
- package/dist/chunks/{location-apd0xxcy.js → event-logger-k36bwha9.js} +11 -11
- package/dist/chunks/{location-nzks3jc8.js → event-logger-k3c624dm.js} +3 -3
- package/dist/chunks/{location-dagkn99r.js → event-logger-k53npxr2.js} +1 -1
- package/dist/chunks/{location-0810149y.js → event-logger-kaaz88r3.js} +16 -16
- package/dist/chunks/{location-agc1sn7c.js → event-logger-kc29vnnm.js} +19 -19
- package/dist/chunks/{location-ny0mz096.js → event-logger-kmyrg3fm.js} +22 -22
- package/dist/chunks/{location-35r86gx7.js → event-logger-m0fa3ej4.js} +2 -2
- package/dist/chunks/{location-7w0t4dm2.js → event-logger-m3dqj4zs.js} +12 -12
- package/dist/chunks/{location-m3fdjcah.js → event-logger-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-etzz3kcr.js → event-logger-m3zza4qd.js} +8 -8
- package/dist/chunks/{location-m9w0rfyh.js → event-logger-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-1bbkgx8g.js → event-logger-mhkvc446.js} +3 -3
- package/dist/chunks/event-logger-mjt9wwac.js +96 -0
- package/dist/chunks/{location-3172pg9v.js → event-logger-msf2edjm.js} +28 -24
- package/dist/chunks/{location-fwz8j036.js → event-logger-mxkwqd26.js} +11 -11
- package/dist/chunks/{location-fpvyk3ge.js → event-logger-n1jgwtn1.js} +29 -29
- package/dist/chunks/{location-fb3n4k1c.js → event-logger-n300db4g.js} +5 -5
- package/dist/chunks/{location-ajdjch6h.js → event-logger-n37c4crj.js} +9 -9
- package/dist/chunks/{location-8fyqdzgp.js → event-logger-n4xm4h5w.js} +11 -11
- package/dist/chunks/{location-1twdgbjf.js → event-logger-n9sgmesv.js} +16 -16
- package/dist/chunks/{location-r99pq75w.js → event-logger-najthaah.js} +24 -24
- package/dist/chunks/{location-e6asg1wm.js → event-logger-np6mkd1m.js} +50 -50
- package/dist/chunks/{location-6z9mwsmt.js → event-logger-nt0v7t0n.js} +24 -24
- package/dist/chunks/{location-qfe26hq3.js → event-logger-nyvq8r07.js} +82 -82
- package/dist/chunks/{location-cje11ec7.js → event-logger-p2qeza37.js} +43 -43
- package/dist/chunks/{location-6anwy9fs.js → event-logger-pf2hb43r.js} +4 -4
- package/dist/chunks/{location-qnqm58w1.js → event-logger-pft9k85v.js} +13 -13
- package/dist/chunks/{location-vh4x57nh.js → event-logger-pgkvq3r8.js} +32 -32
- package/dist/chunks/{location-pjvnvgmy.js → event-logger-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-pknna89w.js → event-logger-pknna89w.js} +1 -1
- package/dist/chunks/{location-an7cqtb7.js → event-logger-pmr4s4kc.js} +4 -4
- package/dist/chunks/{location-k906dc9m.js → event-logger-pp173efe.js} +16 -16
- package/dist/chunks/{location-w747ydy6.js → event-logger-pxag7cab.js} +20 -20
- package/dist/chunks/{location-ae4pezjx.js → event-logger-pzk5trfr.js} +55 -55
- package/dist/chunks/{location-cxrw2h6h.js → event-logger-q460c3tq.js} +41 -41
- package/dist/chunks/{location-3d2kdets.js → event-logger-qanbasbs.js} +9 -9
- package/dist/chunks/{location-vxyzwx8s.js → event-logger-qdgkf1bg.js} +8 -8
- package/dist/chunks/{location-qg0jgkcp.js → event-logger-qg0jgkcp.js} +2 -2
- package/dist/chunks/{location-ft3hqk2c.js → event-logger-qmqgtz8f.js} +9 -9
- package/dist/chunks/{location-15y6myyc.js → event-logger-qp6bbb4z.js} +23 -23
- package/dist/chunks/{location-qsdy395h.js → event-logger-qsdy395h.js} +1 -1
- package/dist/chunks/{location-vbz4mrgg.js → event-logger-qz809afx.js} +33 -33
- package/dist/chunks/{location-7yca83g1.js → event-logger-r1g03gg9.js} +14 -14
- package/dist/chunks/{location-yp2x3t23.js → event-logger-r8xr0va3.js} +4 -4
- package/dist/chunks/{location-rdw6cm16.js → event-logger-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-0jgcnqr4.js → event-logger-rf0y6vjb.js} +33 -33
- package/dist/chunks/{location-rvhvw5j9.js → event-logger-rt4ems47.js} +171 -171
- package/dist/chunks/{location-dhmh7aw6.js → event-logger-rwm5vee1.js} +4 -4
- package/dist/chunks/{location-rhjbct0v.js → event-logger-s8d7rejh.js} +4 -4
- package/dist/chunks/{location-yt0fqk68.js → event-logger-s8zy8myc.js} +5 -5
- package/dist/chunks/{location-92pk5wqe.js → event-logger-shsdp4g3.js} +23 -23
- package/dist/chunks/{location-ge3bpktt.js → event-logger-svd3wk3g.js} +15 -15
- package/dist/chunks/{location-85skx0n5.js → event-logger-swnqtvke.js} +25 -25
- package/dist/chunks/{location-a64frenn.js → event-logger-syzcn7b5.js} +3 -3
- package/dist/chunks/{location-wk3hxpq4.js → event-logger-sz2yehtx.js} +17 -17
- package/dist/chunks/{location-jgttmm4a.js → event-logger-t71v2ka4.js} +5 -5
- package/dist/chunks/{location-tazgh4e4.js → event-logger-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-tcezcvh9.js → event-logger-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-tdstcens.js → event-logger-tdstcens.js} +1 -1
- package/dist/chunks/{location-d6ex932k.js → event-logger-te5g4v54.js} +11 -11
- package/dist/chunks/{location-z0aj456m.js → event-logger-tjedn1bk.js} +4 -4
- package/dist/chunks/{location-yz4rntjy.js → event-logger-tmqa4ga1.js} +29 -29
- package/dist/chunks/event-logger-tncp3d9k.js +507 -0
- package/dist/chunks/{location-tvtrv512.js → event-logger-tvtrv512.js} +1 -1
- package/dist/chunks/event-logger-twfs5dqp.js +339 -0
- package/dist/chunks/{location-c8bydgjz.js → event-logger-v6gb7zv2.js} +6 -6
- package/dist/chunks/{location-pxs69nmc.js → event-logger-vamd4fsq.js} +4 -4
- package/dist/chunks/{location-veqvce7d.js → event-logger-veqvce7d.js} +1 -1
- package/dist/chunks/{location-hvtd657f.js → event-logger-vn3yw2wj.js} +32 -32
- package/dist/chunks/{location-t5z4ehj3.js → event-logger-vz8d88kv.js} +22 -22
- package/dist/chunks/{location-vzcthcp8.js → event-logger-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-neb0pg0h.js → event-logger-w2nj5ptj.js} +5 -5
- package/dist/chunks/{location-w3wsvvr9.js → event-logger-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-vdwcy635.js → event-logger-w6y5hf30.js} +15 -15
- package/dist/chunks/{location-5dyz4swx.js → event-logger-w8t53nqw.js} +20 -20
- package/dist/chunks/{location-jv4eadh7.js → event-logger-wargq46t.js} +5 -5
- package/dist/chunks/{location-wd3x2cqz.js → event-logger-wd3x2cqz.js} +2 -2
- package/dist/chunks/{location-wd87259q.js → event-logger-wd87259q.js} +1 -1
- package/dist/chunks/{location-npk9ncrr.js → event-logger-wqj2xpp0.js} +9 -9
- package/dist/chunks/{location-15ywfmbg.js → event-logger-wsb64f9g.js} +21 -21
- package/dist/chunks/{location-2prhyday.js → event-logger-wv72qc1v.js} +15 -15
- package/dist/chunks/{location-vhv9377y.js → event-logger-ww6x407f.js} +5 -5
- package/dist/chunks/{location-x1ezjp6w.js → event-logger-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-vtxr0yy2.js → event-logger-xkntkrq7.js} +3 -3
- package/dist/chunks/{location-cdc8dbba.js → event-logger-xvjpp9n9.js} +12 -12
- package/dist/chunks/{location-9qc6n929.js → event-logger-xxaqvhcx.js} +29 -29
- package/dist/chunks/{location-y1fvbwt7.js → event-logger-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-358yawqv.js → event-logger-y2nf1ewr.js} +19 -19
- package/dist/chunks/{location-p9n0sz6q.js → event-logger-y43qwa20.js} +22 -22
- package/dist/chunks/{location-eq2jtcfw.js → event-logger-y4q6tv4t.js} +7 -7
- package/dist/chunks/{location-4qjz8wfv.js → event-logger-y5rv6h3q.js} +27 -27
- package/dist/chunks/{location-c395zvtw.js → event-logger-y87mwaek.js} +19 -19
- package/dist/chunks/{location-ygg1f209.js → event-logger-ybhbtxjg.js} +7 -7
- package/dist/chunks/{location-r1kjg1tc.js → event-logger-ybshnyry.js} +5 -5
- package/dist/chunks/{location-cte9ap30.js → event-logger-yemq3d8b.js} +8 -8
- package/dist/chunks/{location-2f7sk49n.js → event-logger-yj0pkhyr.js} +16 -16
- package/dist/chunks/{location-dgpq7z8n.js → event-logger-yjmj8nkq.js} +22 -22
- package/dist/chunks/{location-yrhqyw5v.js → event-logger-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-s4enseaf.js → event-logger-yrznvahk.js} +2 -2
- package/dist/chunks/{location-z07pqspn.js → event-logger-z07pqspn.js} +3 -3
- package/dist/chunks/{location-z0bkrqjs.js → event-logger-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-29x78va6.js → event-logger-z63w68vq.js} +6 -6
- package/dist/chunks/{location-xfjpae9m.js → event-logger-z7ctwqf8.js} +23 -23
- package/dist/chunks/{location-2p5y98w0.js → event-logger-za77p82n.js} +6 -6
- package/dist/chunks/{location-zeh9ct20.js → event-logger-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-w9gpp3gx.js → event-logger-zehx49jx.js} +35 -34
- package/dist/chunks/{location-d2kfejna.js → event-logger-znm218mv.js} +13 -13
- package/dist/chunks/{location-zr2ceqn5.js → event-logger-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-2pnnswbv.js → event-logger-zsecex3e.js} +4 -4
- package/dist/chunks/{location-3124xjv5.js → event-logger-zxk6ecdw.js} +8 -8
- package/dist/chunks/{location-zxq2ej10.js → event-logger-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-h6awxmcx.js → event-logger-zz2qg7p3.js} +12 -12
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +122 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -369
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +93 -93
- 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 +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +95 -95
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +98 -98
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +10 -10
- 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 +99 -99
- 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 +362 -361
- package/dist/instruction-discovery.js +77 -77
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +84 -84
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -358
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +98 -98
- package/dist/models-dev.js +101 -101
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +80 -80
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +333 -332
- package/dist/plugin/mcp-codemode-defaults.js +8 -0
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +93 -93
- package/dist/plugin/provider/gitlab.js +93 -91
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -94
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +97 -97
- 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 +98 -98
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- 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 +226 -225
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +15 -15
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- 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 +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +121 -0
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/types/mcp/index.d.ts +4 -1
- package/dist/types/model-resolver.d.ts +2 -0
- package/dist/types/plugin/{mcp-codemode-exclusion.d.ts → mcp-codemode-defaults.d.ts} +1 -1
- package/dist/types/plugin/provider/gitlab.d.ts +4 -1
- package/dist/types/session/model-transport.d.ts +1 -1
- package/dist/types/tool/plugin/mcp-resource.d.ts +9 -0
- package/dist/types/tool/read-filesystem.d.ts +1 -0
- package/dist/types/v1/config/migrate.d.ts +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +7 -7
- 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 +4 -4
- package/dist/v1/config/formatter.js +3 -3
- 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 +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- 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/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +9 -9
- package/dist/chunks/location-0mesazry.js +0 -4
- package/dist/chunks/location-ce7bf4ce.js +0 -252
- package/dist/chunks/location-hpfbmb0d.js +0 -61
- package/dist/chunks/location-jbs0jehe.js +0 -26
- package/dist/chunks/location-n95b3jav.js +0 -18
- package/dist/chunks/location-vg9ntks0.js +0 -503
- package/dist/plugin/mcp-codemode-exclusion.js +0 -8
- /package/dist/chunks/{location-0qkdqm5v.js → event-logger-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → event-logger-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → event-logger-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → event-logger-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → event-logger-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → event-logger-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → event-logger-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → event-logger-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → event-logger-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-34c7v6d4.js → event-logger-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → event-logger-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → event-logger-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → event-logger-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3w5fmr99.js → event-logger-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → event-logger-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → event-logger-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → event-logger-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → event-logger-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → event-logger-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → event-logger-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → event-logger-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → event-logger-6prwharc.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → event-logger-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → event-logger-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → event-logger-822emrt2.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → event-logger-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → event-logger-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-8wj87zfr.js → event-logger-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-922hggd3.js → event-logger-922hggd3.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → event-logger-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → event-logger-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → event-logger-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → event-logger-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → event-logger-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → event-logger-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → event-logger-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → event-logger-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → event-logger-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → event-logger-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → event-logger-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → event-logger-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → event-logger-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → event-logger-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → event-logger-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → event-logger-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → event-logger-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → event-logger-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → event-logger-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → event-logger-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → event-logger-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → event-logger-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → event-logger-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → event-logger-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → event-logger-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → event-logger-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fxgpk5d8.js → event-logger-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → event-logger-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → event-logger-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → event-logger-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → event-logger-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hjbc5kem.js → event-logger-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → event-logger-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → event-logger-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → event-logger-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → event-logger-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → event-logger-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → event-logger-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → event-logger-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → event-logger-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → event-logger-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → event-logger-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → event-logger-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → event-logger-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → event-logger-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → event-logger-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → event-logger-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → event-logger-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → event-logger-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → event-logger-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → event-logger-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → event-logger-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → event-logger-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-sk3qaz4a.js → event-logger-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → event-logger-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → event-logger-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → event-logger-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → event-logger-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → event-logger-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → event-logger-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → event-logger-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → event-logger-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8cydn3q.js → event-logger-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → event-logger-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → event-logger-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → event-logger-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → event-logger-z9919s4g.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./event-logger-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./event-logger-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./event-logger-t71v2ka4.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service73,
|
|
6
|
+
node77
|
|
7
|
+
} from "./event-logger-2ye00mg1.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
13
|
var exports_generate = {};
|
|
14
14
|
__export(exports_generate, {
|
|
15
15
|
Generate: () => exports_generate,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service26,
|
|
18
18
|
UnavailableError: () => UnavailableError3,
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
layer: () => layer10,
|
|
20
|
+
node: () => node29
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -33,11 +33,11 @@ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError"
|
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service26 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer10 = Layer.effect(Service26, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service73;
|
|
41
41
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
42
42
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
43
43
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -63,12 +63,12 @@ var layer9 = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
63
63
|
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
64
64
|
message: "Generation credentials are unavailable"
|
|
65
65
|
})));
|
|
66
|
-
return
|
|
66
|
+
return Service26.of({ text });
|
|
67
67
|
}));
|
|
68
|
-
var
|
|
69
|
-
service:
|
|
70
|
-
layer:
|
|
71
|
-
deps: [
|
|
68
|
+
var node29 = makeLocationNode({
|
|
69
|
+
service: Service26,
|
|
70
|
+
layer: layer10,
|
|
71
|
+
deps: [node77, llmClient2]
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { ModelSelectionError2, UnavailableError3,
|
|
74
|
+
export { ModelSelectionError2, UnavailableError3, Service26, layer10, node29, exports_generate };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Info8,
|
|
6
6
|
ID6,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./event-logger-yjmj8nkq.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service51
|
|
11
|
+
} from "./event-logger-f27dyjrk.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill = {};
|
|
18
|
+
__export(exports_skill, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin15,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -425,19 +425,19 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin15 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
433
|
+
editor.add(Info8.make({
|
|
434
434
|
id: ID6.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
440
|
+
editor.add(Info8.make({
|
|
441
441
|
id: ID6.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service51;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin15, exports_skill };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./event-logger-e0k7xjnp.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service83,
|
|
7
|
+
node87
|
|
8
|
+
} from "./event-logger-4rzfcrmm.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./event-logger-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./event-logger-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
23
|
+
Event: () => Event21,
|
|
24
|
+
ID: () => ID18,
|
|
25
|
+
Info: () => Info34,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service82,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node86
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID18 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event21 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info34 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID18,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service82 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service84).db;
|
|
55
|
-
const bus = yield*
|
|
55
|
+
const bus = yield* Service83;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info34({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service82.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info34({
|
|
80
|
+
id: ID18.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event21.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event21.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event21.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event21.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event21.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event21.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node86 = makeGlobalNode({ service: Service82, layer, deps: [node88, node87] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID18, OAuth3, Key4, Value2, Event21, Info34, Service82, node86, exports_credential };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./event-logger-e0k7xjnp.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./event-logger-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./event-logger-dpkg50ah.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
18
18
|
__export(exports_bus, {
|
|
19
19
|
Bus: () => exports_bus,
|
|
20
20
|
InvalidDurableEventError: () => InvalidDurableEventError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service83,
|
|
22
22
|
configured: () => configured12,
|
|
23
23
|
durable: () => durable2,
|
|
24
24
|
ephemeral: () => ephemeral2,
|
|
25
25
|
isSynced: () => isSynced2,
|
|
26
26
|
latestSequence: () => latestSequence2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node87,
|
|
28
28
|
reserveSequence: () => reserveSequence2,
|
|
29
29
|
versionedType: () => versionedType2
|
|
30
30
|
});
|
|
@@ -76,13 +76,13 @@ var ephemeral2 = Event.ephemeral;
|
|
|
76
76
|
var isSynced2 = (item) => item.type === "log.synced";
|
|
77
77
|
var isDefinition = (input) => !Array.isArray(input);
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Service83 extends Context.Service()("@opencode/Bus") {
|
|
80
80
|
}
|
|
81
81
|
function configured12(options) {
|
|
82
82
|
return makeGlobalNode({
|
|
83
|
-
service:
|
|
83
|
+
service: Service83,
|
|
84
84
|
deps: [node88],
|
|
85
|
-
layer: Layer.effect(
|
|
85
|
+
layer: Layer.effect(Service83, Effect.gen(function* () {
|
|
86
86
|
const { Location } = yield* Effect.promise(() => import("../location.js"));
|
|
87
87
|
const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
|
|
88
88
|
const pubsub = {
|
|
@@ -525,7 +525,7 @@ function configured12(options) {
|
|
|
525
525
|
list.push((event) => projector(event));
|
|
526
526
|
projectors.set(key, list);
|
|
527
527
|
});
|
|
528
|
-
return
|
|
528
|
+
return Service83.of({
|
|
529
529
|
publish,
|
|
530
530
|
publishAll,
|
|
531
531
|
subscribe,
|
|
@@ -539,6 +539,6 @@ function configured12(options) {
|
|
|
539
539
|
}))
|
|
540
540
|
});
|
|
541
541
|
}
|
|
542
|
-
var
|
|
542
|
+
var node87 = configured12();
|
|
543
543
|
|
|
544
|
-
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2,
|
|
544
|
+
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service83, configured12, node87, exports_bus };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service72,
|
|
10
|
+
node: () => node76
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service72 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service72.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node76 = makeLocationNode({ service: Service72, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service72, node76, exports_hooks };
|
|
@@ -2,19 +2,19 @@ import {
|
|
|
2
2
|
ID10,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./event-logger-wsb64f9g.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./event-logger-p2qeza37.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
14
|
var exports_agent = {};
|
|
15
15
|
__export(exports_agent, {
|
|
16
16
|
AgentPlugin: () => exports_agent,
|
|
17
|
-
Plugin: () =>
|
|
17
|
+
Plugin: () => Plugin12
|
|
18
18
|
});
|
|
19
19
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
20
20
|
import { Effect } from "effect";
|
|
@@ -90,7 +90,7 @@ Rules:
|
|
|
90
90
|
- Never ask questions or add new questions
|
|
91
91
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
92
92
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
93
|
-
var
|
|
93
|
+
var Plugin12 = define({
|
|
94
94
|
id: "opencode.agent",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
96
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -148,4 +148,4 @@ var Plugin28 = define({
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Plugin12, exports_agent };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make14,
|
|
10
10
|
render: () => render2
|
|
11
11
|
});
|
|
12
12
|
|
|
@@ -29,7 +29,7 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
32
|
+
function make14(tools) {
|
|
33
33
|
return render2(system_default, tools);
|
|
34
34
|
}
|
|
35
35
|
function render2(prompt, tools) {
|
|
@@ -47,4 +47,4 @@ function render2(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make14, render2, exports_system_prompt };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service55
|
|
3
|
+
} from "./event-logger-najthaah.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
|
|
|
19
19
|
var OUTGOING_CAPACITY = 64;
|
|
20
20
|
var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
21
21
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
22
|
-
const environment = yield*
|
|
22
|
+
const environment = yield* Service55;
|
|
23
23
|
const scope = yield* Effect.scope;
|
|
24
24
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
25
25
|
const buffer = new ReadBuffer;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-k36bwha9.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./event-logger-1ygqh575.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin7,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint5
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint5 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin7 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -55,7 +55,7 @@ var Plugin18 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint5, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin18 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint5, Plugin7, exports_tinyfish };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-4nsq4evv.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID14,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./event-logger-0p8kebmq.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./event-logger-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID14.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// src/filesystem/watcher-binding.ts
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
|
-
function
|
|
3
|
+
function load4() {
|
|
4
4
|
const require2 = createRequire(import.meta.url);
|
|
5
5
|
const libc = typeof OPENCODE_LIBC === "undefined" ? undefined : OPENCODE_LIBC;
|
|
6
6
|
return require2(process.env.OPENCODE_PARCEL_WATCHER_PATH ?? `@parcel/watcher-${process.platform}-${process.arch}${process.platform === "linux" ? `-${libc || "glibc"}` : ""}`);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
export {
|
|
9
|
+
export { load4 };
|