@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,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84,
|
|
6
6
|
node88
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./event-logger-e0k7xjnp.js";
|
|
8
|
+
import {
|
|
9
|
+
Service83,
|
|
10
|
+
node87
|
|
11
|
+
} from "./event-logger-4rzfcrmm.js";
|
|
8
12
|
import {
|
|
9
13
|
Service81,
|
|
10
14
|
node85
|
|
11
|
-
} from "./
|
|
12
|
-
import {
|
|
13
|
-
Service80,
|
|
14
|
-
node84
|
|
15
|
-
} from "./location-e23w9d35.js";
|
|
15
|
+
} from "./event-logger-jf9anmv7.js";
|
|
16
16
|
import {
|
|
17
17
|
ID17,
|
|
18
18
|
Current3,
|
|
19
19
|
Info33,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event20,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./event-logger-2fgn2we9.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./event-logger-wd3x2cqz.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./event-logger-94ek1h2f.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
@@ -40,10 +40,10 @@ __export(exports_project, {
|
|
|
40
40
|
Info: () => Info32,
|
|
41
41
|
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service80,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node84,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -72,7 +72,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
72
72
|
});
|
|
73
73
|
var ACTIVATE_INTERVAL = 60000;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class Service80 extends Context.Service()("@opencode/Project") {
|
|
76
76
|
}
|
|
77
77
|
function fromRow(row) {
|
|
78
78
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -95,11 +95,11 @@ function fromRow(row) {
|
|
|
95
95
|
sandboxes: row.sandboxes
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
|
-
const git = yield*
|
|
100
|
+
const git = yield* Service81;
|
|
101
101
|
const proc = yield* AppProcess.Service;
|
|
102
|
-
const bus = yield*
|
|
102
|
+
const bus = yield* Service83;
|
|
103
103
|
const db = (yield* Service84).db;
|
|
104
104
|
const announcing = new Set;
|
|
105
105
|
const persist = Effect.fnUntraced(function* (project) {
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
108
108
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
109
109
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
110
110
|
if (row)
|
|
111
|
-
yield* bus.publish(
|
|
111
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
112
112
|
}
|
|
113
113
|
if (!project.vcs)
|
|
114
114
|
return project;
|
|
@@ -170,7 +170,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
170
170
|
if (!row)
|
|
171
171
|
return yield* new NotFoundError11({ projectID: input.projectID });
|
|
172
172
|
const project = fromRow(row);
|
|
173
|
-
yield* bus.publish(
|
|
173
|
+
yield* bus.publish(Event20.Updated, project);
|
|
174
174
|
return project;
|
|
175
175
|
});
|
|
176
176
|
const activated = new Map;
|
|
@@ -181,7 +181,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
181
181
|
activated.set(projectID, now);
|
|
182
182
|
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
183
183
|
if (row)
|
|
184
|
-
yield* bus.publish(
|
|
184
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
185
185
|
});
|
|
186
186
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
187
187
|
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
@@ -282,12 +282,12 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
282
282
|
vcs: undefined
|
|
283
283
|
});
|
|
284
284
|
});
|
|
285
|
-
return
|
|
285
|
+
return Service80.of({ list, update, activate, resolve });
|
|
286
286
|
}));
|
|
287
|
-
var
|
|
288
|
-
service:
|
|
287
|
+
var node84 = makeGlobalNode({
|
|
288
|
+
service: Service80,
|
|
289
289
|
layer,
|
|
290
|
-
deps: [
|
|
290
|
+
deps: [node87, node88, FSUtil.node, node85, AppProcess.node]
|
|
291
291
|
});
|
|
292
292
|
|
|
293
|
-
export { ID16, Vcs2, Current2, Info32, UpdateInput3, NotFoundError11, root2,
|
|
293
|
+
export { ID16, Vcs2, Current2, Info32, UpdateInput3, NotFoundError11, root2, Service80, node84, exports_project };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./event-logger-c99wwxqk.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./event-logger-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID13.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID13.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./event-logger-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service79,
|
|
8
|
+
node83
|
|
9
|
+
} from "./event-logger-fv5sjpfb.js";
|
|
10
10
|
import {
|
|
11
11
|
Service24,
|
|
12
12
|
node27
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./event-logger-8m795tf5.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -22,14 +22,14 @@ __export(exports_filesystem, {
|
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
24
|
Entry: () => Entry2,
|
|
25
|
-
Event: () =>
|
|
25
|
+
Event: () => Event5,
|
|
26
26
|
FileSystem: () => exports_filesystem,
|
|
27
27
|
FindInput: () => FindInput2,
|
|
28
28
|
GlobInput: () => GlobInput2,
|
|
29
29
|
GrepInput: () => GrepInput2,
|
|
30
30
|
ListInput: () => ListInput2,
|
|
31
31
|
Match: () => Match2,
|
|
32
|
-
NotFoundError: () =>
|
|
32
|
+
NotFoundError: () => NotFoundError3,
|
|
33
33
|
ReadInput: () => ReadInput2,
|
|
34
34
|
Service: () => Service23,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
@@ -51,7 +51,7 @@ var WriteInput2 = Schema.Struct({
|
|
|
51
51
|
data: Schema.Uint8Array
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class NotFoundError3 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
55
55
|
path: RelativePath2
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
@@ -85,13 +85,13 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
85
85
|
limit: Schema.optionalKey(PositiveInt2)
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Event5 = FileSystem.Event;
|
|
89
89
|
|
|
90
90
|
class Service23 extends Context.Service()("@opencode/FileSystem") {
|
|
91
91
|
}
|
|
92
92
|
var baseLayer = Layer.effect(Service23, Effect.gen(function* () {
|
|
93
93
|
const fs = yield* FSUtil.Service;
|
|
94
|
-
const location = yield*
|
|
94
|
+
const location = yield* Service79;
|
|
95
95
|
const search = yield* Service24;
|
|
96
96
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
97
97
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
@@ -106,12 +106,12 @@ var baseLayer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
106
106
|
return Service23.of({
|
|
107
107
|
find: search.find,
|
|
108
108
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
109
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
110
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
109
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
|
|
110
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
|
|
111
111
|
if (info.type !== "File")
|
|
112
112
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
113
113
|
return {
|
|
114
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
114
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error))),
|
|
115
115
|
mime: FSUtil.mimeType(target.real)
|
|
116
116
|
};
|
|
117
117
|
}),
|
|
@@ -143,7 +143,7 @@ var baseLayer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
143
143
|
var node26 = makeLocationNode({
|
|
144
144
|
service: Service23,
|
|
145
145
|
layer: baseLayer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node83, node27]
|
|
147
147
|
});
|
|
148
148
|
|
|
149
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
149
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError3, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event5, Service23, node26, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./event-logger-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service79
|
|
13
|
+
} from "./event-logger-fv5sjpfb.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./event-logger-kaaz88r3.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin3,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin3 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service79;
|
|
37
37
|
if (location.vcs?.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
|
|
|
188
188
|
return { status, diff, branch, ancestor, cat };
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Plugin3, exports_hg };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./event-logger-4rzfcrmm.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service82,
|
|
8
|
+
node86
|
|
9
|
+
} from "./event-logger-4nsq4evv.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./event-logger-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./event-logger-1bry463v.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -32,16 +32,16 @@ __export(exports_integration, {
|
|
|
32
32
|
CommandMethod: () => CommandMethod2,
|
|
33
33
|
EnvMethod: () => EnvMethod2,
|
|
34
34
|
Event: () => Event18,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID14,
|
|
36
|
+
Info: () => Info29,
|
|
37
37
|
Integration: () => exports_integration,
|
|
38
38
|
KeyMethod: () => KeyMethod2,
|
|
39
39
|
Method: () => Method2,
|
|
40
40
|
MethodID: () => MethodID2,
|
|
41
41
|
OAuthMethod: () => OAuthMethod2,
|
|
42
42
|
Ref: () => Ref3,
|
|
43
|
-
Service: () =>
|
|
44
|
-
node: () =>
|
|
43
|
+
Service: () => Service77,
|
|
44
|
+
node: () => node81
|
|
45
45
|
});
|
|
46
46
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
47
|
import {
|
|
@@ -63,7 +63,7 @@ import { Integration } from "@opencode/schema/integration";
|
|
|
63
63
|
import { AppProcess } from "@opencode/util/process";
|
|
64
64
|
import { ChildProcess } from "effect/unstable/process";
|
|
65
65
|
import { Event as Event18 } from "@opencode/schema/integration";
|
|
66
|
-
var
|
|
66
|
+
var ID14 = Integration.ID;
|
|
67
67
|
var MethodID2 = Integration.MethodID;
|
|
68
68
|
var AttemptID2 = Integration.AttemptID;
|
|
69
69
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -71,7 +71,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
71
71
|
var KeyMethod2 = Integration.KeyMethod;
|
|
72
72
|
var EnvMethod2 = Integration.EnvMethod;
|
|
73
73
|
var Method2 = Integration.Method;
|
|
74
|
-
var
|
|
74
|
+
var Info29 = Integration.Info;
|
|
75
75
|
var Attempt2 = Integration.Attempt;
|
|
76
76
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
77
77
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -94,20 +94,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
97
|
-
integrationID:
|
|
97
|
+
integrationID: ID14,
|
|
98
98
|
attemptID: AttemptID2
|
|
99
99
|
}) {
|
|
100
100
|
}
|
|
101
101
|
var Ref3 = Integration.Ref;
|
|
102
102
|
|
|
103
|
-
class
|
|
103
|
+
class Service77 extends Context.Service()("@opencode/Integration") {
|
|
104
104
|
}
|
|
105
105
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
106
106
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
107
107
|
var scrubInterval = Duration.seconds(30);
|
|
108
|
-
var layer = Layer.effect(
|
|
109
|
-
const credentials = yield*
|
|
110
|
-
const bus = yield*
|
|
108
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
109
|
+
const credentials = yield* Service82;
|
|
110
|
+
const bus = yield* Service83;
|
|
111
111
|
const processes = yield* AppProcess.Service;
|
|
112
112
|
const scope = yield* Scope.Scope;
|
|
113
113
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -201,7 +201,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
201
201
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
202
202
|
return [...credentials, ...env];
|
|
203
203
|
};
|
|
204
|
-
const project = (entry, connections) =>
|
|
204
|
+
const project = (entry, connections) => Info29.make({
|
|
205
205
|
id: entry.ref.id,
|
|
206
206
|
name: entry.ref.name,
|
|
207
207
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -431,7 +431,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
431
431
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
432
432
|
return CommandAttempt2.make({ attemptID, time });
|
|
433
433
|
});
|
|
434
|
-
return
|
|
434
|
+
return Service77.of({
|
|
435
435
|
transform: state.transform,
|
|
436
436
|
reload: state.reload,
|
|
437
437
|
revision: state.revision,
|
|
@@ -580,10 +580,10 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
580
580
|
}
|
|
581
581
|
});
|
|
582
582
|
}));
|
|
583
|
-
var
|
|
584
|
-
service:
|
|
583
|
+
var node81 = makeLocationNode({
|
|
584
|
+
service: Service77,
|
|
585
585
|
layer,
|
|
586
|
-
deps: [
|
|
586
|
+
deps: [node86, node87, AppProcess.node]
|
|
587
587
|
});
|
|
588
588
|
|
|
589
|
-
export {
|
|
589
|
+
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info29, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service77, node81, exports_integration, Event18 };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./event-logger-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service79
|
|
9
|
+
} from "./event-logger-fv5sjpfb.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service55
|
|
12
|
+
} from "./event-logger-najthaah.js";
|
|
13
13
|
import {
|
|
14
14
|
Service25
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./event-logger-8h5varp2.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./event-logger-0jshnw7f.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service68
|
|
24
|
+
} from "./event-logger-p2qeza37.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service29
|
|
27
|
+
} from "./event-logger-d4sk7cm2.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input3,
|
|
37
|
+
Output: () => Output2,
|
|
38
|
+
Plugin: () => Plugin38,
|
|
39
|
+
name: () => name3,
|
|
40
|
+
toModelContent: () => toModelContent2
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name3 = "glob";
|
|
46
|
+
var Input3 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input7 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output2 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent2 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin38 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
69
|
+
const environment = yield* Service55;
|
|
70
70
|
const ripgrep = yield* Service25;
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
71
|
+
const location = yield* Service79;
|
|
72
|
+
const access = yield* Service29;
|
|
73
|
+
const permission = yield* Service68;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name3,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input3,
|
|
79
|
+
output: Output2,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name3,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin8 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent2(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name3, Input3, Output2, toModelContent2, Plugin38, exports_glob };
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2,
|
|
4
4
|
UserInterruptedError2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./event-logger-ybhbtxjg.js";
|
|
6
6
|
import {
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./event-logger-p2qeza37.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./event-logger-0p8kebmq.js";
|
|
12
12
|
import {
|
|
13
13
|
ModelNotSelectedError2,
|
|
14
14
|
ModelUnavailableError2,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
ModelInitializationError2,
|
|
19
19
|
UnresolvedProviderVariablesError2,
|
|
20
20
|
UnsupportedCompactionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./event-logger-32b2ehkd.js";
|
|
22
22
|
|
|
23
23
|
// src/session/to-session-error.ts
|
|
24
24
|
import { AIError, ToolFailure } from "@opencode/ai";
|