@opencode/core 0.0.0-dev-20155 → 0.0.0-dev-20156
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 +69 -69
- package/dist/chunks/{schema-vnd02eqn.js → repository-05b749yd.js} +15 -15
- package/dist/chunks/{schema-zjycbmx8.js → repository-065k3gj0.js} +6 -6
- package/dist/chunks/{schema-j8mz9s4x.js → repository-0hmet0j7.js} +11 -11
- package/dist/chunks/{schema-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
- package/dist/chunks/{schema-xm5mtrqn.js → repository-0paz3kdb.js} +15 -15
- package/dist/chunks/{schema-6mb9rkag.js → repository-0qs0ha18.js} +17 -17
- package/dist/chunks/{schema-a2qe2ev9.js → repository-0xezjjjn.js} +8 -8
- package/dist/chunks/{schema-rw5zsebr.js → repository-0z8rxnnb.js} +24 -24
- package/dist/chunks/{schema-djpyvzbj.js → repository-16j5ke9h.js} +10 -10
- package/dist/chunks/{schema-0qmq1g2y.js → repository-1cxq3z7p.js} +3 -3
- package/dist/chunks/{schema-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
- package/dist/chunks/{schema-07f32r4c.js → repository-1jp2mfrr.js} +2 -2
- package/dist/chunks/{schema-mnsrx4h9.js → repository-1p9j9tg9.js} +4 -4
- package/dist/chunks/{schema-13q95dca.js → repository-1vnc4v1d.js} +8 -8
- package/dist/chunks/{schema-21r38tys.js → repository-21r38tys.js} +1 -1
- package/dist/chunks/{schema-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
- package/dist/chunks/{schema-sd5f6jdk.js → repository-2a6rn6yr.js} +6 -6
- package/dist/chunks/{schema-79t7xk98.js → repository-2gy1bqwa.js} +15 -15
- package/dist/chunks/{schema-k6a20zcv.js → repository-2rscg1y3.js} +14 -14
- package/dist/chunks/{schema-rmeqj50k.js → repository-2v0htzv5.js} +21 -21
- package/dist/chunks/{schema-42v6676k.js → repository-2zy9bvam.js} +31 -31
- package/dist/chunks/{schema-1ygqh575.js → repository-33w4ejhs.js} +6 -6
- package/dist/chunks/{schema-r6kw3eaj.js → repository-33y1b8yt.js} +16 -16
- package/dist/chunks/{schema-kvk0vnsc.js → repository-384p91kd.js} +40 -40
- package/dist/chunks/{schema-686bxqs3.js → repository-3a2j1hjr.js} +11 -11
- package/dist/chunks/{schema-r5cmcmkd.js → repository-3cmt985g.js} +7 -7
- package/dist/chunks/{schema-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
- package/dist/chunks/{schema-ndxbn6j7.js → repository-3gqan0f7.js} +24 -24
- package/dist/chunks/{schema-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
- package/dist/chunks/{schema-g9a18t79.js → repository-3rh9rajd.js} +11 -11
- package/dist/chunks/{schema-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
- package/dist/chunks/{schema-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
- package/dist/chunks/{schema-gqchpbtd.js → repository-3w2b2yj4.js} +5 -5
- package/dist/chunks/{schema-3zsf4n22.js → repository-3zsf4n22.js} +1 -1
- package/dist/chunks/{schema-31nz5m34.js → repository-42swhqez.js} +13 -13
- package/dist/chunks/{schema-f84xm9jy.js → repository-47bkxv40.js} +23 -23
- package/dist/chunks/{schema-dfm2zw35.js → repository-4b9fhhm9.js} +5 -5
- package/dist/chunks/{schema-na0j43z6.js → repository-4jztms0b.js} +21 -21
- package/dist/chunks/{schema-q9trfcxy.js → repository-512hw42y.js} +43 -43
- package/dist/chunks/{schema-anbjwd12.js → repository-56ky7bs0.js} +30 -30
- package/dist/chunks/{schema-5daktx2q.js → repository-5daktx2q.js} +1 -1
- package/dist/chunks/{schema-0mezm8v3.js → repository-5etm4xsh.js} +51 -51
- package/dist/chunks/{schema-hv2hgy02.js → repository-5ev1zspt.js} +11 -11
- package/dist/chunks/{schema-sk3sbtp0.js → repository-5ft7x73b.js} +4 -4
- package/dist/chunks/{schema-p31rxwxp.js → repository-5m4tc1r8.js} +20 -20
- package/dist/chunks/{schema-nzyhnfxz.js → repository-5mtzsd3b.js} +4 -4
- package/dist/chunks/{schema-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
- package/dist/chunks/{schema-0yxpqf9q.js → repository-5t7jqs97.js} +23 -23
- package/dist/chunks/{schema-3gsz5zgg.js → repository-5tnkgdfk.js} +19 -19
- package/dist/chunks/{schema-psqa84kj.js → repository-5v50ez44.js} +18 -18
- package/dist/chunks/{schema-7j016h96.js → repository-5y4gd2sb.js} +7 -7
- package/dist/chunks/repository-619r8v3y.js +18 -0
- package/dist/chunks/{schema-669tq793.js → repository-669tq793.js} +1 -1
- package/dist/chunks/{schema-2402vzrj.js → repository-6h73sxmp.js} +5 -5
- package/dist/chunks/{schema-nyp9r3yv.js → repository-6hbqnsja.js} +5 -5
- package/dist/chunks/{schema-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
- package/dist/chunks/{schema-syyemct7.js → repository-6q0ntw2a.js} +16 -16
- package/dist/chunks/{schema-eca2xt2e.js → repository-6r6vp6ha.js} +27 -27
- package/dist/chunks/{schema-rgad3y2c.js → repository-6s8c70gj.js} +48 -48
- package/dist/chunks/{schema-ccjk4f54.js → repository-6sj6xmv4.js} +25 -25
- package/dist/chunks/{schema-anz3vhts.js → repository-6wkx2yew.js} +23 -23
- package/dist/chunks/{schema-zwrpf1jc.js → repository-6ycw4w1t.js} +36 -36
- package/dist/chunks/{schema-4n607a2z.js → repository-705e2ap1.js} +5 -5
- package/dist/chunks/{schema-73tb2d7t.js → repository-73tb2d7t.js} +1 -1
- package/dist/chunks/{schema-ry6yywad.js → repository-73yrdnyd.js} +20 -20
- package/dist/chunks/{schema-85k8ep8b.js → repository-77wtpmj0.js} +15 -15
- package/dist/chunks/{schema-d1c25d3q.js → repository-77znwksv.js} +7 -7
- package/dist/chunks/{schema-0w6h42sd.js → repository-79272cb5.js} +20 -20
- package/dist/chunks/{schema-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
- package/dist/chunks/{schema-5aegf1xj.js → repository-7jk1t73m.js} +33 -33
- package/dist/chunks/{schema-va5qff5x.js → repository-7w3s9kd0.js} +4 -4
- package/dist/chunks/{schema-ybnjss4v.js → repository-8b72xbs9.js} +24 -24
- package/dist/chunks/{schema-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
- package/dist/chunks/{schema-eq20ba7x.js → repository-8hbfdwcy.js} +8 -8
- package/dist/chunks/{schema-1xkahdzt.js → repository-8j12t1bv.js} +88 -88
- package/dist/chunks/{schema-csxrjpxm.js → repository-8mkxvtcz.js} +22 -22
- package/dist/chunks/{schema-637bt013.js → repository-8pnn1d33.js} +38 -38
- package/dist/chunks/{schema-7fkffz83.js → repository-8sze2n9a.js} +8 -8
- package/dist/chunks/{schema-e3qz6zmn.js → repository-8t72k94d.js} +22 -22
- package/dist/chunks/{schema-x46rem9p.js → repository-8x661zms.js} +3 -3
- package/dist/chunks/{schema-2h1ppkz8.js → repository-8z1vhx7d.js} +25 -25
- package/dist/chunks/{schema-mnwje68x.js → repository-90g9zkdy.js} +7 -7
- package/dist/chunks/{schema-3dg2xvfq.js → repository-929cfnf2.js} +25 -25
- package/dist/chunks/{schema-gfvb90ym.js → repository-94ek1h2f.js} +2 -2
- package/dist/chunks/{schema-s271antv.js → repository-95qqca5m.js} +12 -12
- package/dist/chunks/{schema-afjydgk3.js → repository-96ctqc5x.js} +4 -4
- package/dist/chunks/{schema-wvdys2zg.js → repository-9fcb53ey.js} +24 -24
- package/dist/chunks/{schema-qn0byfb6.js → repository-9rdt4sv8.js} +8 -8
- package/dist/chunks/{schema-mq740twr.js → repository-9rgfjqpd.js} +10 -10
- package/dist/chunks/{schema-h5n6cr9x.js → repository-9v05265v.js} +32 -32
- package/dist/chunks/{schema-pcp3kjxr.js → repository-9vrq4vn2.js} +9 -9
- package/dist/chunks/{schema-4w8174cf.js → repository-9xfpc63v.js} +23 -23
- package/dist/chunks/{schema-szwj1mk0.js → repository-9zqrb8fx.js} +24 -24
- package/dist/chunks/{schema-m1vshg1d.js → repository-a204ka05.js} +4 -4
- package/dist/chunks/{schema-4ng17raw.js → repository-a4fnzf47.js} +3 -3
- package/dist/chunks/{schema-2af3vg7e.js → repository-a4jmhcge.js} +9 -9
- package/dist/chunks/{schema-pd58mre0.js → repository-a7hkkdqn.js} +9 -9
- package/dist/chunks/{schema-aaet6srn.js → repository-aaet6srn.js} +2 -2
- package/dist/chunks/{schema-8p3bvsm6.js → repository-agjv8c5g.js} +14 -14
- package/dist/chunks/{schema-b3hkrvzm.js → repository-apzhk4s8.js} +3 -3
- package/dist/chunks/{schema-wgzfjrfp.js → repository-azyzdvnn.js} +17 -17
- package/dist/chunks/{schema-vjf4vvvf.js → repository-b34mrygk.js} +23 -23
- package/dist/chunks/{schema-87j1vk5m.js → repository-b4vexebs.js} +19 -19
- package/dist/chunks/{schema-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
- package/dist/chunks/{schema-nf54004p.js → repository-bce8mqt3.js} +8 -8
- package/dist/chunks/{schema-s9ny3s1p.js → repository-bd71zrs1.js} +26 -26
- package/dist/chunks/{schema-ma8x6edw.js → repository-bdz0bbmb.js} +33 -33
- package/dist/chunks/{schema-5jk2m439.js → repository-bj7255yx.js} +11 -11
- package/dist/chunks/{schema-4tq94sws.js → repository-byrrs48t.js} +6 -6
- package/dist/chunks/{schema-q8d50280.js → repository-c4ppv1by.js} +3 -3
- package/dist/chunks/{schema-dxan09mr.js → repository-c8xyt3x2.js} +5 -5
- package/dist/chunks/{schema-54tcyq79.js → repository-ckecvw8r.js} +2 -2
- package/dist/chunks/{schema-2sejkfem.js → repository-cwa6csj7.js} +9 -9
- package/dist/chunks/{schema-cmwkp3r5.js → repository-czfptnv9.js} +6 -6
- package/dist/chunks/{schema-ynwt6cba.js → repository-d29nyfm4.js} +18 -18
- package/dist/chunks/{schema-pgsr89hy.js → repository-da533g22.js} +1 -1
- package/dist/chunks/{schema-qm6nak0e.js → repository-db9prhsp.js} +54 -54
- package/dist/chunks/{schema-kgey82cw.js → repository-de275n1f.js} +11 -11
- package/dist/chunks/{schema-0hj7f8b1.js → repository-df54n7py.js} +12 -12
- package/dist/chunks/{schema-53fyba40.js → repository-dg2cj1yd.js} +4 -4
- package/dist/chunks/{schema-c4p53n0j.js → repository-dpsvckea.js} +17 -17
- package/dist/chunks/{schema-anbm6d0v.js → repository-dsped3ts.js} +17 -17
- package/dist/chunks/{schema-a9dbrvcp.js → repository-dwdeeedv.js} +44 -44
- package/dist/chunks/{schema-5cv6t2zq.js → repository-dwhtnrsj.js} +19 -19
- package/dist/chunks/{schema-hjssj8fz.js → repository-e28ag5bw.js} +15 -15
- package/dist/chunks/{schema-2nzqjkgh.js → repository-e3z9p67s.js} +20 -20
- package/dist/chunks/{schema-c4q1b81p.js → repository-e912ms8z.js} +3 -3
- package/dist/chunks/{schema-ecfe7b91.js → repository-ecfe7b91.js} +2 -2
- package/dist/chunks/{schema-ef5x83kb.js → repository-ef5x83kb.js} +1 -1
- package/dist/chunks/{schema-jdgpxcbk.js → repository-erw3g6b6.js} +11 -11
- package/dist/chunks/{schema-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
- package/dist/chunks/{schema-g2y161wv.js → repository-etzz3kcr.js} +8 -8
- package/dist/chunks/{schema-ep74v7fx.js → repository-f3tdbywg.js} +12 -12
- package/dist/chunks/{schema-exf3dd23.js → repository-fc523kt6.js} +35 -35
- package/dist/chunks/{schema-qgn6gcr1.js → repository-fcrkznn8.js} +5 -5
- package/dist/chunks/{schema-8f4y0pp5.js → repository-ffcsw7yh.js} +18 -18
- package/dist/chunks/{schema-nkxtb3dm.js → repository-fgg720tk.js} +7 -7
- package/dist/chunks/{schema-1tmpsw1r.js → repository-fqgxath9.js} +21 -21
- package/dist/chunks/{schema-h088vvky.js → repository-fsf6v8qm.js} +182 -182
- package/dist/chunks/{schema-404v594m.js → repository-ftm3dexp.js} +9 -9
- package/dist/chunks/{schema-1s3p39g4.js → repository-fvanntqq.js} +4 -4
- package/dist/chunks/{schema-tmddb601.js → repository-fvhjkb74.js} +6 -6
- package/dist/chunks/{schema-jeqr0vjg.js → repository-fw5xg2y4.js} +35 -35
- package/dist/chunks/{schema-q6pbqyca.js → repository-fzxsvrpf.js} +38 -38
- package/dist/chunks/{schema-9mz9sh48.js → repository-g9apv6nb.js} +5 -5
- package/dist/chunks/{schema-nqvz83n0.js → repository-gd2mrfha.js} +9 -9
- package/dist/chunks/{schema-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
- package/dist/chunks/{schema-e2wbz5rg.js → repository-gf7f2369.js} +8 -8
- package/dist/chunks/{schema-32nda6gh.js → repository-gfwr3rnv.js} +7 -7
- package/dist/chunks/{schema-vmwh049b.js → repository-gmjjhz4f.js} +6 -6
- package/dist/chunks/{schema-yyb7tjpc.js → repository-gv6a8nnw.js} +2 -2
- package/dist/chunks/{schema-fa0vx1vq.js → repository-h2r7bbkd.js} +8 -8
- package/dist/chunks/{schema-a3m0kdh5.js → repository-h5qvqr7w.js} +12 -12
- package/dist/chunks/{schema-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
- package/dist/chunks/{schema-d50xxcr3.js → repository-h7gb4ryr.js} +5 -5
- package/dist/chunks/repository-hbyaebar.js +511 -0
- package/dist/chunks/{schema-jz40f57j.js → repository-hcd63823.js} +17 -17
- package/dist/chunks/{schema-5e19p4dw.js → repository-hcz3zddy.js} +5 -5
- package/dist/chunks/{schema-79wrnan4.js → repository-hgbqxczd.js} +11 -11
- package/dist/chunks/{schema-q3hm2ja7.js → repository-hkqypw3r.js} +42 -42
- package/dist/chunks/{schema-dbt5d3v2.js → repository-hq7yghhm.js} +8 -8
- package/dist/chunks/{schema-81fh9vc9.js → repository-hq8qt6ng.js} +14 -14
- package/dist/chunks/{schema-x74r3nk3.js → repository-hz0q9sdq.js} +8 -8
- package/dist/chunks/{schema-j56e64zr.js → repository-j56e64zr.js} +1 -1
- package/dist/chunks/{schema-xxxym934.js → repository-j5rxtxht.js} +4 -4
- package/dist/chunks/{schema-2b17ndm2.js → repository-j624rcj2.js} +12 -12
- package/dist/chunks/{schema-kvy0p52m.js → repository-jc7dnxay.js} +15 -15
- package/dist/chunks/{schema-vmgq4x8b.js → repository-jca4demv.js} +2 -2
- package/dist/chunks/{schema-b7nzzxtj.js → repository-jh3wktsd.js} +23 -23
- package/dist/chunks/{schema-6v8w5ehg.js → repository-jj202axs.js} +3 -3
- package/dist/chunks/{schema-8n2g1t1q.js → repository-jm8vc8yh.js} +3 -3
- package/dist/chunks/{schema-magykp64.js → repository-jw80jp6b.js} +4 -4
- package/dist/chunks/{schema-9z0cwd9w.js → repository-k07p368a.js} +12 -12
- package/dist/chunks/{schema-r3c4069c.js → repository-k53npxr2.js} +1 -1
- package/dist/chunks/{schema-qr81hr1d.js → repository-k5p7g1tb.js} +89 -89
- package/dist/chunks/{schema-fn0717px.js → repository-k6pkmzhs.js} +32 -32
- package/dist/chunks/{schema-c05pc369.js → repository-k9p9jwpd.js} +20 -20
- package/dist/chunks/{schema-8gm0xqx6.js → repository-kc96dfb8.js} +8 -8
- package/dist/chunks/{schema-t6s1y3ss.js → repository-kgcknfzw.js} +43 -43
- package/dist/chunks/{schema-3x6k1mts.js → repository-kgj7nn0t.js} +10 -10
- package/dist/chunks/{schema-dk7kjneb.js → repository-kpqs54h7.js} +25 -25
- package/dist/chunks/{schema-8re3920x.js → repository-kst1pkph.js} +20 -20
- package/dist/chunks/{schema-05ensxqt.js → repository-kstbhh6a.js} +33 -33
- package/dist/chunks/{schema-9r2n4vbx.js → repository-kv3csxch.js} +4 -4
- package/dist/chunks/{schema-drysh76x.js → repository-kwe5n90t.js} +31 -31
- package/dist/chunks/{schema-qz25ctfn.js → repository-ky1kh8n9.js} +32 -32
- package/dist/chunks/{schema-m3fdjcah.js → repository-m3fdjcah.js} +1 -1
- package/dist/chunks/{schema-2qqmafn9.js → repository-m6jnjmfw.js} +22 -22
- package/dist/chunks/{schema-wsh63xm2.js → repository-m9144ht3.js} +11 -11
- package/dist/chunks/{schema-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
- package/dist/chunks/{schema-xreqyrjh.js → repository-metfybw1.js} +43 -43
- package/dist/chunks/{schema-48vb8zcm.js → repository-mr0mmcj5.js} +8 -8
- package/dist/chunks/{schema-wpwj4s2y.js → repository-mvksx64m.js} +4 -4
- package/dist/chunks/{schema-chd5dxat.js → repository-n3wcrd3g.js} +7 -7
- package/dist/chunks/{schema-3pghag89.js → repository-n4a7gw4r.js} +28 -28
- package/dist/chunks/{schema-9rfkbpbj.js → repository-n953eyzk.js} +4 -4
- package/dist/chunks/{schema-27prgbw4.js → repository-n96r89fz.js} +17 -17
- package/dist/chunks/{schema-3tnj4nc2.js → repository-nf73ch59.js} +24 -24
- package/dist/chunks/{schema-depwzj9d.js → repository-njhqdk9p.js} +9 -9
- package/dist/chunks/{schema-0naybkd4.js → repository-nmxw05nd.js} +47 -47
- package/dist/chunks/{schema-ccx1dw7q.js → repository-npg39zw6.js} +32 -32
- package/dist/chunks/{schema-7mggrsj0.js → repository-nr8zx6fk.js} +20 -20
- package/dist/chunks/{schema-f7j90zp2.js → repository-nscznvay.js} +9 -9
- package/dist/chunks/{schema-4xz89tjk.js → repository-nxhqveyz.js} +5 -5
- package/dist/chunks/{schema-nzks3jc8.js → repository-nzks3jc8.js} +3 -3
- package/dist/chunks/{schema-vfnexndp.js → repository-p5c89f54.js} +6 -6
- package/dist/chunks/{schema-jbz4z0yy.js → repository-p8tnfkxq.js} +24 -24
- package/dist/chunks/{schema-xtrjfq07.js → repository-p9z73tm2.js} +8 -8
- package/dist/chunks/{schema-v7z2bvyd.js → repository-pgp1nwjn.js} +4 -4
- package/dist/chunks/{schema-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
- package/dist/chunks/{schema-pknna89w.js → repository-pknna89w.js} +1 -1
- package/dist/chunks/{schema-sx1n432n.js → repository-pmr4s4kc.js} +4 -4
- package/dist/chunks/{schema-5cmxdwv8.js → repository-q3t37ft6.js} +3 -3
- package/dist/chunks/{schema-z7cbn86z.js → repository-q5dpec9v.js} +10 -10
- package/dist/chunks/{schema-99yn8t20.js → repository-qjwr0tpp.js} +6 -6
- package/dist/chunks/{schema-39ctaptd.js → repository-qq7xvnxm.js} +11 -11
- package/dist/chunks/{schema-qsdy395h.js → repository-qsdy395h.js} +1 -1
- package/dist/chunks/{schema-ahd542yp.js → repository-qxmaq0sm.js} +8 -8
- package/dist/chunks/{schema-s8ac38hc.js → repository-qz02d4gv.js} +17 -17
- package/dist/chunks/{schema-0xdddkhd.js → repository-qzpey3h0.js} +22 -22
- package/dist/chunks/{schema-k8z9p47p.js → repository-r0p67dnr.js} +26 -26
- package/dist/chunks/{schema-w31gwtfd.js → repository-r52g2zhe.js} +6 -6
- package/dist/chunks/{schema-5xwq33r5.js → repository-r5m1ty2t.js} +57 -57
- package/dist/chunks/{schema-zksm58n9.js → repository-r8x54e6p.js} +68 -68
- package/dist/chunks/{schema-16s9kdw5.js → repository-rbmmr3kj.js} +33 -33
- package/dist/chunks/{schema-rdw6cm16.js → repository-rdw6cm16.js} +1 -1
- package/dist/chunks/{schema-eaj1djv9.js → repository-rhjbct0v.js} +8 -8
- package/dist/chunks/{schema-16q9vxtt.js → repository-scbkt9q8.js} +32 -32
- package/dist/chunks/{schema-z59jkery.js → repository-st0xa5p1.js} +26 -26
- package/dist/chunks/{schema-qan3rc7n.js → repository-swwpqdcy.js} +20 -20
- package/dist/chunks/{schema-2tr3yddq.js → repository-t4vj6rvz.js} +29 -29
- package/dist/chunks/{schema-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
- package/dist/chunks/{schema-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
- package/dist/chunks/{schema-tdstcens.js → repository-tdstcens.js} +1 -1
- package/dist/chunks/repository-tewh99a4.js +26 -0
- package/dist/chunks/{schema-27hrx2m2.js → repository-tgey6qrj.js} +4 -4
- package/dist/chunks/{schema-dst2nx90.js → repository-thk6jfdx.js} +20 -20
- package/dist/chunks/{schema-eqmd3425.js → repository-tma09pjv.js} +13 -13
- package/dist/chunks/{schema-tvtrv512.js → repository-tvtrv512.js} +1 -1
- package/dist/chunks/{schema-f2xfk6hw.js → repository-tyzy9g51.js} +43 -43
- package/dist/chunks/{schema-157g1820.js → repository-v42zcc13.js} +28 -28
- package/dist/chunks/{schema-fdv30zvt.js → repository-v5dkyp31.js} +7 -7
- package/dist/chunks/{schema-veqvce7d.js → repository-veqvce7d.js} +1 -1
- package/dist/chunks/repository-vgmd07b2.js +252 -0
- package/dist/chunks/{schema-ac760hkj.js → repository-vhag6pqf.js} +24 -24
- package/dist/chunks/{schema-c5c0bz0t.js → repository-vnwmzs4a.js} +5 -5
- package/dist/chunks/{schema-zysz17mm.js → repository-vwt4a1k1.js} +17 -17
- package/dist/chunks/{schema-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
- package/dist/chunks/{schema-vzs5sf6e.js → repository-vzs5sf6e.js} +1 -1
- package/dist/chunks/{schema-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
- package/dist/chunks/{schema-0h0a48ec.js → repository-w7t1fehg.js} +11 -11
- package/dist/chunks/{schema-xsgk3b13.js → repository-w9vf9qqj.js} +9 -9
- package/dist/chunks/{schema-psazpmmj.js → repository-wd3x2cqz.js} +2 -2
- package/dist/chunks/{schema-wd87259q.js → repository-wd87259q.js} +1 -1
- package/dist/chunks/{schema-0bhxxk9k.js → repository-wxgegas4.js} +10 -10
- package/dist/chunks/{schema-7bmwqyq6.js → repository-x1c0jm0v.js} +5 -5
- package/dist/chunks/{schema-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
- package/dist/chunks/{schema-07fk4vdp.js → repository-x2dtej9w.js} +5 -5
- package/dist/chunks/{schema-qqeeq2t9.js → repository-xfkkasph.js} +7 -7
- package/dist/chunks/{schema-xkntkrq7.js → repository-xkntkrq7.js} +2 -2
- package/dist/chunks/{schema-r8503ksh.js → repository-xr86ydmg.js} +16 -16
- package/dist/chunks/{schema-d9s573fh.js → repository-xxhb4jr7.js} +9 -9
- package/dist/chunks/{schema-07739wyb.js → repository-xxv802jd.js} +1 -1
- package/dist/chunks/{schema-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
- package/dist/chunks/{schema-pt110b9x.js → repository-y3k1g0t3.js} +30 -30
- package/dist/chunks/{schema-s2ynmxvy.js → repository-y5df08dr.js} +12 -12
- package/dist/chunks/{schema-y71avatq.js → repository-y71avatq.js} +1 -1
- package/dist/chunks/{schema-maqbyvg5.js → repository-y8kkdtzr.js} +13 -13
- package/dist/chunks/{schema-4rgrvx78.js → repository-ydx1ak1r.js} +17 -17
- package/dist/chunks/{schema-xdrt6sd9.js → repository-ykh5ygyr.js} +5 -5
- package/dist/chunks/{schema-1acjjqhc.js → repository-yp2x3t23.js} +4 -4
- package/dist/chunks/{schema-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
- package/dist/chunks/{schema-yrznvahk.js → repository-yrznvahk.js} +2 -2
- package/dist/chunks/{schema-bjtzbw4r.js → repository-z07pqspn.js} +3 -3
- package/dist/chunks/{schema-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
- package/dist/chunks/{schema-my33rnxx.js → repository-z2sk8n0r.js} +11 -11
- package/dist/chunks/{schema-z63w68vq.js → repository-z63w68vq.js} +2 -2
- package/dist/chunks/{schema-rq775frq.js → repository-zeh9ct20.js} +2 -2
- package/dist/chunks/{schema-dvm4mghw.js → repository-zfjkfzpq.js} +14 -14
- package/dist/chunks/{schema-8n8aydd2.js → repository-zk63fk94.js} +10 -10
- package/dist/chunks/{schema-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
- package/dist/chunks/{schema-8gxfpvk4.js → repository-zte1js4p.js} +22 -22
- package/dist/chunks/{schema-ttqh24zm.js → repository-zvt5dnpc.js} +4 -4
- package/dist/chunks/{schema-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
- package/dist/chunks/{schema-d41te630.js → repository-zz37z2qt.js} +5 -5
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- 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 +121 -121
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +128 -128
- 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 +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +123 -123
- 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 +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- 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 +95 -95
- 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 +70 -70
- 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 +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +98 -98
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +87 -87
- package/dist/generate.js +99 -99
- 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 +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +88 -88
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +130 -130
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +360 -360
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- 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 +102 -102
- package/dist/models-dev.js +101 -101
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- 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 +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- 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 -93
- 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 +120 -120
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- 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 +76 -76
- 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 +353 -353
- 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/verbosity.js +93 -93
- 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 +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- 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 +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- 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 +112 -112
- 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 +5 -5
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- 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 +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- 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 +118 -118
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- 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 +215 -215
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- 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/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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- 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 +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- 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 +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/schema-6z3xdhh4.js +0 -252
- package/dist/chunks/schema-eg0rmd38.js +0 -511
- package/dist/chunks/schema-q509s3k3.js +0 -18
- package/dist/chunks/schema-vhsgvesh.js +0 -26
- /package/dist/chunks/{schema-0mesazry.js → repository-0mesazry.js} +0 -0
- /package/dist/chunks/{schema-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{schema-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
- /package/dist/chunks/{schema-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
- /package/dist/chunks/{schema-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
- /package/dist/chunks/{schema-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{schema-24dcb14g.js → repository-24dcb14g.js} +0 -0
- /package/dist/chunks/{schema-2710q6r3.js → repository-2710q6r3.js} +0 -0
- /package/dist/chunks/{schema-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
- /package/dist/chunks/{schema-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{schema-34c7v6d4.js → repository-34c7v6d4.js} +0 -0
- /package/dist/chunks/{schema-359p4xyc.js → repository-359p4xyc.js} +0 -0
- /package/dist/chunks/{schema-3asan66x.js → repository-3asan66x.js} +0 -0
- /package/dist/chunks/{schema-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
- /package/dist/chunks/{schema-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
- /package/dist/chunks/{schema-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
- /package/dist/chunks/{schema-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
- /package/dist/chunks/{schema-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
- /package/dist/chunks/{schema-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{schema-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
- /package/dist/chunks/{schema-53557ph1.js → repository-53557ph1.js} +0 -0
- /package/dist/chunks/{schema-550bvhaj.js → repository-550bvhaj.js} +0 -0
- /package/dist/chunks/{schema-5qd3pb7m.js → repository-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{schema-6prwharc.js → repository-6prwharc.js} +0 -0
- /package/dist/chunks/{schema-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
- /package/dist/chunks/{schema-7m9af43g.js → repository-7m9af43g.js} +0 -0
- /package/dist/chunks/{schema-822emrt2.js → repository-822emrt2.js} +0 -0
- /package/dist/chunks/{schema-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
- /package/dist/chunks/{schema-8n3pysct.js → repository-8n3pysct.js} +0 -0
- /package/dist/chunks/{schema-8wj87zfr.js → repository-8wj87zfr.js} +0 -0
- /package/dist/chunks/{schema-922hggd3.js → repository-922hggd3.js} +0 -0
- /package/dist/chunks/{schema-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
- /package/dist/chunks/{schema-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{schema-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
- /package/dist/chunks/{schema-af5trqkr.js → repository-af5trqkr.js} +0 -0
- /package/dist/chunks/{schema-afrmfg78.js → repository-afrmfg78.js} +0 -0
- /package/dist/chunks/{schema-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{schema-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
- /package/dist/chunks/{schema-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{schema-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{schema-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
- /package/dist/chunks/{schema-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{schema-d9fn303g.js → repository-d9fn303g.js} +0 -0
- /package/dist/chunks/{schema-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{schema-dajrwvna.js → repository-dajrwvna.js} +0 -0
- /package/dist/chunks/{schema-dap0rakb.js → repository-dap0rakb.js} +0 -0
- /package/dist/chunks/{schema-df08tz66.js → repository-df08tz66.js} +0 -0
- /package/dist/chunks/{schema-dy18nga0.js → repository-dy18nga0.js} +0 -0
- /package/dist/chunks/{schema-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
- /package/dist/chunks/{schema-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
- /package/dist/chunks/{schema-ec1grn59.js → repository-ec1grn59.js} +0 -0
- /package/dist/chunks/{schema-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
- /package/dist/chunks/{schema-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
- /package/dist/chunks/{schema-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
- /package/dist/chunks/{schema-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{schema-faypxj3z.js → repository-faypxj3z.js} +0 -0
- /package/dist/chunks/{schema-fd410y7t.js → repository-fd410y7t.js} +0 -0
- /package/dist/chunks/{schema-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{schema-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
- /package/dist/chunks/{schema-g86h250q.js → repository-g86h250q.js} +0 -0
- /package/dist/chunks/{schema-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
- /package/dist/chunks/{schema-gftt206x.js → repository-gftt206x.js} +0 -0
- /package/dist/chunks/{schema-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
- /package/dist/chunks/{schema-hk9envan.js → repository-hk9envan.js} +0 -0
- /package/dist/chunks/{schema-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
- /package/dist/chunks/{schema-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{schema-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
- /package/dist/chunks/{schema-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{schema-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{schema-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{schema-mp448xyj.js → repository-mp448xyj.js} +0 -0
- /package/dist/chunks/{schema-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
- /package/dist/chunks/{schema-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
- /package/dist/chunks/{schema-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
- /package/dist/chunks/{schema-njntx4h6.js → repository-njntx4h6.js} +0 -0
- /package/dist/chunks/{schema-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
- /package/dist/chunks/{schema-q74kybfr.js → repository-q74kybfr.js} +0 -0
- /package/dist/chunks/{schema-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
- /package/dist/chunks/{schema-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
- /package/dist/chunks/{schema-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
- /package/dist/chunks/{schema-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
- /package/dist/chunks/{schema-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
- /package/dist/chunks/{schema-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{schema-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{schema-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{schema-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
- /package/dist/chunks/{schema-w803qqfp.js → repository-w803qqfp.js} +0 -0
- /package/dist/chunks/{schema-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{schema-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
- /package/dist/chunks/{schema-wtztk69x.js → repository-wtztk69x.js} +0 -0
- /package/dist/chunks/{schema-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
- /package/dist/chunks/{schema-x61499pn.js → repository-x61499pn.js} +0 -0
- /package/dist/chunks/{schema-y44na4kk.js → repository-y44na4kk.js} +0 -0
- /package/dist/chunks/{schema-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
- /package/dist/chunks/{schema-y8f7s663.js → repository-y8f7s663.js} +0 -0
- /package/dist/chunks/{schema-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{schema-ym463w8f.js → repository-ym463w8f.js} +0 -0
- /package/dist/chunks/{schema-z9919s4g.js → repository-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-w7t1fehg.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-tgey6qrj.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./repository-y3k1g0t3.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID16,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-kwe5n90t.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-5mtzsd3b.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service16
|
|
20
|
+
} from "./repository-hz0q9sdq.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
22
|
+
ID12,
|
|
23
23
|
mergeOverlay2,
|
|
24
24
|
mergeHeaders2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./repository-k6pkmzhs.js";
|
|
26
26
|
import {
|
|
27
27
|
ID4,
|
|
28
|
-
|
|
28
|
+
Input13,
|
|
29
29
|
Response2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./repository-79272cb5.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/opencode.ts
|
|
33
33
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -67,7 +67,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
67
67
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
68
68
|
function oauth(http) {
|
|
69
69
|
return {
|
|
70
|
-
integrationID:
|
|
70
|
+
integrationID: ID16.make("opencode"),
|
|
71
71
|
method: {
|
|
72
72
|
id: methodID,
|
|
73
73
|
type: "oauth",
|
|
@@ -124,7 +124,7 @@ var OpencodePlugin2 = define({
|
|
|
124
124
|
const bus = yield* Service83;
|
|
125
125
|
const client = yield* HttpClient.HttpClient;
|
|
126
126
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
127
|
-
const managed = yield*
|
|
127
|
+
const managed = yield* Service16;
|
|
128
128
|
const loading = Semaphore.makeUnsafe(1);
|
|
129
129
|
let snapshot = { config: undefined, connection: undefined, organization: undefined };
|
|
130
130
|
const load = Effect.fn("OpencodePlugin.load")(function* () {
|
|
@@ -157,7 +157,7 @@ var OpencodePlugin2 = define({
|
|
|
157
157
|
providers.update(providerID, (provider) => {
|
|
158
158
|
if (source && source.provider !== provider)
|
|
159
159
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
160
|
-
provider.integrationID =
|
|
160
|
+
provider.integrationID = ID16.make("opencode");
|
|
161
161
|
if (item.canonical !== undefined)
|
|
162
162
|
provider.canonical = item.canonical;
|
|
163
163
|
if (item.name !== undefined)
|
|
@@ -227,7 +227,7 @@ var OpencodePlugin2 = define({
|
|
|
227
227
|
sourceConnection: snapshot.connection
|
|
228
228
|
});
|
|
229
229
|
}
|
|
230
|
-
const item = providers.get(
|
|
230
|
+
const item = providers.get(ID12.opencode);
|
|
231
231
|
if (!item)
|
|
232
232
|
return;
|
|
233
233
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -239,7 +239,7 @@ var OpencodePlugin2 = define({
|
|
|
239
239
|
});
|
|
240
240
|
});
|
|
241
241
|
yield* ctx.model.transform((models) => {
|
|
242
|
-
const item = models.provider.get(
|
|
242
|
+
const item = models.provider.get(ID12.opencode);
|
|
243
243
|
if (!item)
|
|
244
244
|
return;
|
|
245
245
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -273,7 +273,7 @@ var OpencodePlugin2 = define({
|
|
|
273
273
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
274
274
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
275
275
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
276
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
276
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
|
|
277
277
|
query: input.query,
|
|
278
278
|
providerID: descriptor.providerID
|
|
279
279
|
}));
|
|
@@ -295,7 +295,7 @@ var OpencodePlugin2 = define({
|
|
|
295
295
|
yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
296
296
|
});
|
|
297
297
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
298
|
-
yield* bus.subscribe(
|
|
298
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
299
299
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
300
300
|
})
|
|
301
301
|
});
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-k6pkmzhs.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service62
|
|
6
|
+
} from "./repository-scbkt9q8.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/verbosity.ts
|
|
12
12
|
var exports_verbosity = {};
|
|
13
13
|
__export(exports_verbosity, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin31,
|
|
15
15
|
VerbosityPlugin: () => exports_verbosity
|
|
16
16
|
});
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -23,10 +23,10 @@ var direct = new Set([
|
|
|
23
23
|
"@opencode/ai/providers/azure/responses"
|
|
24
24
|
]);
|
|
25
25
|
var gateways = new Set(["@opencode/ai/providers/cloudflare-ai-gateway", aisdk2("@ai-sdk/gateway")]);
|
|
26
|
-
var
|
|
26
|
+
var Plugin31 = define({
|
|
27
27
|
id: "opencode.prompt.verbosity",
|
|
28
28
|
effect: Effect.fn("VerbosityPlugin")(function* (ctx) {
|
|
29
|
-
const models = yield*
|
|
29
|
+
const models = yield* Service62;
|
|
30
30
|
const hook = (event) => Effect.gen(function* () {
|
|
31
31
|
if (event.options.textVerbosity !== undefined)
|
|
32
32
|
return;
|
|
@@ -66,4 +66,4 @@ function openAIModelID(model) {
|
|
|
66
66
|
return id.slice("openai/".length);
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { Plugin31, exports_verbosity };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-tgey6qrj.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event19,
|
|
7
|
+
Service77,
|
|
8
|
+
node81
|
|
9
|
+
} from "./repository-y3k1g0t3.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service61,
|
|
12
|
+
node65
|
|
13
|
+
} from "./repository-8t72k94d.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service73,
|
|
19
|
+
node77
|
|
20
|
+
} from "./repository-ydx1ak1r.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-yrznvahk.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-3gqan0f7.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./repository-ykh5ygyr.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./repository-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service71,
|
|
36
|
+
Event15,
|
|
37
|
+
node75
|
|
38
|
+
} from "./repository-thk6jfdx.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./repository-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options8,
|
|
48
|
+
Service: () => Service60,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured10,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer23,
|
|
53
|
+
node: () => node64,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
|
|
|
64
64
|
function latest2(entries, key) {
|
|
65
65
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var Options8 = Schema.Struct({
|
|
68
68
|
project: Schema.optional(Schema.Boolean),
|
|
69
69
|
global: Schema.optional(Schema.Boolean),
|
|
70
70
|
file: Schema.optional(Schema.String),
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service60 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service60, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer23 = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
|
-
const location = yield*
|
|
97
|
-
const watcher = yield*
|
|
96
|
+
const location = yield* Service73;
|
|
97
|
+
const watcher = yield* Service61;
|
|
98
98
|
const bus = yield* Service83;
|
|
99
|
-
const credentials = yield*
|
|
99
|
+
const credentials = yield* Service77;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service71;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -221,8 +221,8 @@ var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
221
221
|
}, (effect) => reloadLock.withPermit(effect));
|
|
222
222
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
223
223
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
224
|
-
yield* bus.subscribe(
|
|
225
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
225
|
+
yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
227
227
|
if (!wellknown.snapshot().length)
|
|
228
228
|
return Effect.void;
|
|
@@ -250,7 +250,7 @@ var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
250
250
|
`);
|
|
251
251
|
yield* requestReload;
|
|
252
252
|
}, (effect) => updateLock.withPermit(effect));
|
|
253
|
-
return
|
|
253
|
+
return Service60.of({
|
|
254
254
|
entries: Effect.fnUntraced(function* () {
|
|
255
255
|
return configs;
|
|
256
256
|
}),
|
|
@@ -262,13 +262,13 @@ var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
262
262
|
update
|
|
263
263
|
});
|
|
264
264
|
}));
|
|
265
|
-
function
|
|
265
|
+
function configured10(options) {
|
|
266
266
|
return makeLocationNode({
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
267
|
+
service: Service60,
|
|
268
|
+
layer: layer23(options),
|
|
269
|
+
deps: [node65, node87, FSUtil.node, Global.node, node77, node81, node75]
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var node64 = configured10();
|
|
273
273
|
|
|
274
|
-
export { latest2,
|
|
274
|
+
export { latest2, Options8, Service60, Test2, testLayer2, layer23, configured10, node64, exports_config };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./repository-scbkt9q8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service60
|
|
6
|
+
} from "./repository-kgcknfzw.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-fvhjkb74.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
|
|
|
21
21
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
22
22
|
var discovery = new Map;
|
|
23
23
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
24
|
-
function
|
|
24
|
+
function make6(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
25
25
|
return define({
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service60;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -53,7 +53,7 @@ function make5(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
providers.models.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID8.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make6();
|
|
116
116
|
function configured(entries, origin) {
|
|
117
117
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
118
118
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -134,4 +134,4 @@ function configured(entries, origin) {
|
|
|
134
134
|
return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { make6, VLLMPlugin2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service61,
|
|
3
|
+
node65
|
|
4
|
+
} from "./repository-8t72k94d.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service73,
|
|
7
|
+
node77
|
|
8
|
+
} from "./repository-ydx1ak1r.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service60,
|
|
11
|
+
node64
|
|
12
|
+
} from "./repository-kgcknfzw.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service9,
|
|
26
26
|
empty: () => empty2,
|
|
27
27
|
layer: () => layer6,
|
|
28
|
-
node: () =>
|
|
28
|
+
node: () => node11
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service9 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var layer6 = Layer.effect(
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service60;
|
|
40
|
+
const watcher = yield* Service61;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const location = yield*
|
|
42
|
+
const location = yield* Service73;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
44
44
|
const watched = new Set;
|
|
45
45
|
const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
|
|
@@ -58,7 +58,7 @@ var layer6 = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service9.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer6 = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
73
|
+
var node11 = makeLocationNode({
|
|
74
|
+
service: Service9,
|
|
75
75
|
layer: layer6,
|
|
76
|
-
deps: [
|
|
76
|
+
deps: [node64, FSUtil.node, node65, node77]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service9,
|
|
80
|
+
layer: Layer.succeed(Service9, Service9.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service9, layer6, node11, empty2, exports_source };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-w7t1fehg.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-tgey6qrj.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./repository-y3k1g0t3.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID16,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-kwe5n90t.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-5mtzsd3b.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID12,
|
|
20
20
|
aisdk2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service72
|
|
22
|
+
} from "./repository-k6pkmzhs.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
ID8,
|
|
25
|
+
Info21
|
|
26
|
+
} from "./repository-scbkt9q8.js";
|
|
27
27
|
import {
|
|
28
28
|
success2,
|
|
29
29
|
error2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./repository-pjvnvgmy.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/gitlab.ts
|
|
33
33
|
import os from "os";
|
|
@@ -35,8 +35,8 @@ import { Clock, Deferred, Effect, Exit, Option, Schema, Semaphore, Stream } from
|
|
|
35
35
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
36
36
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
37
37
|
import { Form } from "@opencode/schema/form";
|
|
38
|
-
var providerID =
|
|
39
|
-
var integrationID =
|
|
38
|
+
var providerID = ID12.gitlab;
|
|
39
|
+
var integrationID = ID16.make("gitlab");
|
|
40
40
|
var methodID = MethodID2.make("pkce");
|
|
41
41
|
var bundledClientID = "fd180700a8f9c5d5557aca231632dd0611a1135a3bb510a741d5a988a3394fa7";
|
|
42
42
|
var legacyClientID = "1d89f9fdb23ee96d4e603201f6861dab6e143c5c3c00469a018a2d94bdc03d4e";
|
|
@@ -57,7 +57,7 @@ var refreshRetention = 60000;
|
|
|
57
57
|
var GitLabPlugin2 = define({
|
|
58
58
|
id: "opencode.provider.gitlab",
|
|
59
59
|
effect: Effect.fn(function* (ctx) {
|
|
60
|
-
const providers = yield*
|
|
60
|
+
const providers = yield* Service72;
|
|
61
61
|
const bus = yield* Service83;
|
|
62
62
|
const http = yield* HttpClient.HttpClient;
|
|
63
63
|
const loading = Semaphore.makeUnsafe(1);
|
|
@@ -185,7 +185,7 @@ var GitLabPlugin2 = define({
|
|
|
185
185
|
models: [
|
|
186
186
|
...item.models.values(),
|
|
187
187
|
...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
|
|
188
|
-
...
|
|
188
|
+
...Info21.default(providerID, ID8.make(model.id)),
|
|
189
189
|
name: `Agent Platform (${model.name})`,
|
|
190
190
|
package: aisdk2("gitlab-ai-provider"),
|
|
191
191
|
settings: { workflowRef: model.ref },
|
|
@@ -196,7 +196,7 @@ var GitLabPlugin2 = define({
|
|
|
196
196
|
});
|
|
197
197
|
});
|
|
198
198
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
199
|
-
yield* bus.subscribe(
|
|
199
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
200
200
|
yield* refresh().pipe(Effect.forkScoped);
|
|
201
201
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
202
202
|
if (evt.package !== "gitlab-ai-provider")
|
|
@@ -219,7 +219,7 @@ var GitLabPlugin2 = define({
|
|
|
219
219
|
});
|
|
220
220
|
}));
|
|
221
221
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
222
|
-
if (evt.model.providerID !==
|
|
222
|
+
if (evt.model.providerID !== ID12.gitlab)
|
|
223
223
|
return;
|
|
224
224
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
225
225
|
const id = evt.model.modelID ?? evt.model.id;
|