@opencode/core 0.0.0-dev-20155 → 0.0.0-dev-20157
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-6mb9rkag.js → repository-02r4f2yh.js} +17 -17
- package/dist/chunks/{schema-2af3vg7e.js → repository-0dea7hqg.js} +9 -9
- package/dist/chunks/{schema-r5cmcmkd.js → repository-0dtc7saj.js} +10 -10
- package/dist/chunks/{schema-s9ny3s1p.js → repository-0mp9629n.js} +24 -24
- package/dist/chunks/{schema-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
- package/dist/chunks/{schema-5e19p4dw.js → repository-0r7yqxbf.js} +5 -5
- package/dist/chunks/{schema-e3qz6zmn.js → repository-13dgep1z.js} +16 -16
- package/dist/chunks/{schema-zysz17mm.js → repository-1bfc10mg.js} +17 -17
- package/dist/chunks/{schema-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
- package/dist/chunks/{schema-zjycbmx8.js → repository-1khmhcax.js} +9 -9
- package/dist/chunks/{schema-3tnj4nc2.js → repository-1tdtc034.js} +27 -27
- package/dist/chunks/{schema-5cv6t2zq.js → repository-1xpzac98.js} +19 -19
- package/dist/chunks/{schema-39ctaptd.js → repository-1z5ysepc.js} +11 -11
- package/dist/chunks/{schema-zksm58n9.js → repository-21akxfrh.js} +68 -68
- package/dist/chunks/{schema-21r38tys.js → repository-21r38tys.js} +1 -1
- package/dist/chunks/{schema-vfnexndp.js → repository-21zq8aa1.js} +6 -6
- package/dist/chunks/{schema-2402vzrj.js → repository-2402vzrj.js} +1 -1
- package/dist/chunks/{schema-jdgpxcbk.js → repository-2531bb5a.js} +11 -11
- 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-31nz5m34.js → repository-2cjsxekc.js} +13 -13
- package/dist/chunks/{schema-d9s573fh.js → repository-2fgn2we9.js} +9 -9
- package/dist/chunks/{schema-sk3sbtp0.js → repository-2j74qy9w.js} +4 -4
- package/dist/chunks/{schema-qgn6gcr1.js → repository-2k8khapm.js} +5 -5
- package/dist/chunks/{schema-9r2n4vbx.js → repository-2nzc6ac3.js} +4 -4
- package/dist/chunks/{schema-r3c4069c.js → repository-32h4nn8p.js} +1 -1
- package/dist/chunks/{schema-rw5zsebr.js → repository-38nmpqef.js} +24 -24
- package/dist/chunks/{schema-27hrx2m2.js → repository-3f66bwfz.js} +4 -4
- package/dist/chunks/{schema-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
- package/dist/chunks/{schema-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
- package/dist/chunks/{schema-16s9kdw5.js → repository-3nhsj318.js} +30 -30
- package/dist/chunks/{schema-xdrt6sd9.js → repository-3petje8f.js} +5 -5
- package/dist/chunks/{schema-mnsrx4h9.js → repository-3rbef5jj.js} +4 -4
- 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-1tmpsw1r.js → repository-3x8fysj4.js} +13 -13
- package/dist/chunks/{schema-3zsf4n22.js → repository-3zsf4n22.js} +1 -1
- package/dist/chunks/{schema-tmddb601.js → repository-3zz7237p.js} +6 -6
- package/dist/chunks/{schema-e2wbz5rg.js → repository-45g6rp4p.js} +8 -8
- package/dist/chunks/{schema-dvm4mghw.js → repository-4bqx1nme.js} +14 -14
- package/dist/chunks/{schema-mq740twr.js → repository-4d31bbse.js} +10 -10
- package/dist/chunks/{schema-2qqmafn9.js → repository-4e5ccp43.js} +22 -22
- package/dist/chunks/{schema-afjydgk3.js → repository-4eq8w0dz.js} +4 -4
- package/dist/chunks/{schema-0h0a48ec.js → repository-4f06rze2.js} +11 -11
- package/dist/chunks/{schema-kvy0p52m.js → repository-4gxz33t2.js} +7 -7
- package/dist/chunks/{schema-07fk4vdp.js → repository-4j5v26y0.js} +5 -5
- package/dist/chunks/{schema-jeqr0vjg.js → repository-4shp4sr3.js} +33 -33
- package/dist/chunks/{schema-ep74v7fx.js → repository-4t037ma6.js} +15 -15
- package/dist/chunks/{schema-637bt013.js → repository-4tjr6zkn.js} +35 -35
- package/dist/chunks/{schema-q6pbqyca.js → repository-50nkx4g5.js} +38 -38
- package/dist/chunks/{schema-anz3vhts.js → repository-50zpe24t.js} +23 -23
- package/dist/chunks/{schema-rmeqj50k.js → repository-54cht2md.js} +21 -21
- package/dist/chunks/{schema-1ygqh575.js → repository-56gdpj1q.js} +9 -9
- package/dist/chunks/{schema-ac760hkj.js → repository-580xkvb2.js} +24 -24
- package/dist/chunks/{schema-5daktx2q.js → repository-5daktx2q.js} +1 -1
- package/dist/chunks/{schema-z59jkery.js → repository-5gbgdf63.js} +24 -24
- package/dist/chunks/{schema-3pghag89.js → repository-5ke24xg0.js} +22 -22
- package/dist/chunks/{schema-my33rnxx.js → repository-5qedxm44.js} +11 -11
- package/dist/chunks/{schema-na0j43z6.js → repository-5rfaxrsd.js} +21 -21
- package/dist/chunks/{schema-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
- package/dist/chunks/{schema-b3hkrvzm.js → repository-61b773qj.js} +6 -6
- package/dist/chunks/{schema-7mggrsj0.js → repository-62gx00z5.js} +20 -20
- package/dist/chunks/{schema-669tq793.js → repository-669tq793.js} +1 -1
- package/dist/chunks/{schema-pd58mre0.js → repository-68pety7q.js} +9 -9
- package/dist/chunks/{schema-qr81hr1d.js → repository-6j3j64eb.js} +89 -89
- package/dist/chunks/{schema-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
- package/dist/chunks/{schema-0bhxxk9k.js → repository-6t9zdyzr.js} +10 -10
- package/dist/chunks/{schema-5jk2m439.js → repository-70we0w58.js} +14 -14
- package/dist/chunks/{schema-73tb2d7t.js → repository-73tb2d7t.js} +1 -1
- package/dist/chunks/{schema-8n2g1t1q.js → repository-76eezes8.js} +3 -3
- package/dist/chunks/{schema-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
- package/dist/chunks/{schema-4ng17raw.js → repository-7hrknbh1.js} +3 -3
- package/dist/chunks/{schema-depwzj9d.js → repository-82rhge12.js} +9 -9
- package/dist/chunks/{schema-x74r3nk3.js → repository-86m00gc1.js} +8 -8
- package/dist/chunks/{schema-nf54004p.js → repository-89e14fg5.js} +8 -8
- package/dist/chunks/{schema-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
- package/dist/chunks/{schema-0xdddkhd.js → repository-8e412960.js} +27 -27
- package/dist/chunks/{schema-b7nzzxtj.js → repository-8g5424td.js} +23 -23
- package/dist/chunks/{schema-4w8174cf.js → repository-8jyfh64s.js} +23 -23
- package/dist/chunks/{schema-27prgbw4.js → repository-8vn4cfgq.js} +17 -17
- package/dist/chunks/{schema-fn0717px.js → repository-8xdzh0gy.js} +32 -32
- package/dist/chunks/{schema-2h1ppkz8.js → repository-92kfgbvy.js} +25 -25
- package/dist/chunks/{schema-gfvb90ym.js → repository-94ek1h2f.js} +2 -2
- package/dist/chunks/{schema-2b17ndm2.js → repository-9c7cfx9k.js} +12 -12
- package/dist/chunks/{schema-d1c25d3q.js → repository-9t9nwrjp.js} +7 -7
- package/dist/chunks/{schema-gqchpbtd.js → repository-9xvq3m7s.js} +5 -5
- package/dist/chunks/{schema-vjf4vvvf.js → repository-a6aff8z8.js} +20 -20
- package/dist/chunks/{schema-8n8aydd2.js → repository-a70bg6dx.js} +10 -10
- package/dist/chunks/{schema-psqa84kj.js → repository-a8eh5f32.js} +18 -18
- package/dist/chunks/{schema-aaet6srn.js → repository-aaet6srn.js} +2 -2
- package/dist/chunks/{schema-x46rem9p.js → repository-agv6b8k2.js} +3 -3
- package/dist/chunks/{schema-vmgq4x8b.js → repository-ak8wweg5.js} +2 -2
- package/dist/chunks/{schema-nqvz83n0.js → repository-akcepp6y.js} +9 -9
- package/dist/chunks/{schema-xreqyrjh.js → repository-an66nx3z.js} +45 -45
- package/dist/chunks/{schema-jbz4z0yy.js → repository-asvap28k.js} +24 -24
- package/dist/chunks/{schema-5aegf1xj.js → repository-atcwnc5a.js} +32 -32
- package/dist/chunks/{schema-1xkahdzt.js → repository-az4a6sax.js} +86 -86
- package/dist/chunks/{schema-0qmq1g2y.js → repository-b57g7gde.js} +3 -3
- package/dist/chunks/{schema-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
- package/dist/chunks/{schema-7bmwqyq6.js → repository-b6szjc2b.js} +5 -5
- package/dist/chunks/{schema-4n607a2z.js → repository-b7b4ctej.js} +5 -5
- package/dist/chunks/{schema-3x6k1mts.js → repository-bakxampr.js} +10 -10
- package/dist/chunks/{schema-vnd02eqn.js → repository-bm2y31hv.js} +15 -15
- package/dist/chunks/{schema-kgey82cw.js → repository-bx3fq6aw.js} +14 -14
- package/dist/chunks/repository-by5v678g.js +18 -0
- package/dist/chunks/{schema-q3hm2ja7.js → repository-cc2shgt9.js} +42 -42
- package/dist/chunks/{schema-32nda6gh.js → repository-cfmzrcj7.js} +10 -10
- package/dist/chunks/{schema-157g1820.js → repository-ch64seem.js} +26 -26
- package/dist/chunks/{schema-54tcyq79.js → repository-ckecvw8r.js} +2 -2
- package/dist/chunks/{schema-chd5dxat.js → repository-cm0f77dr.js} +7 -7
- package/dist/chunks/{schema-ccx1dw7q.js → repository-crsexzag.js} +24 -24
- package/dist/chunks/repository-d0jzkfbr.js +252 -0
- package/dist/chunks/repository-dbc9r3hj.js +26 -0
- package/dist/chunks/{schema-686bxqs3.js → repository-dh4q5s77.js} +11 -11
- package/dist/chunks/{schema-ry6yywad.js → repository-dhkwabp0.js} +17 -17
- package/dist/chunks/{schema-2sejkfem.js → repository-djszqvmq.js} +9 -9
- package/dist/chunks/{schema-qqeeq2t9.js → repository-drwq78ky.js} +7 -7
- package/dist/chunks/{schema-8p3bvsm6.js → repository-e59tsew2.js} +14 -14
- package/dist/chunks/{schema-0mezm8v3.js → repository-e7ws6ec8.js} +51 -51
- package/dist/chunks/{schema-q9trfcxy.js → repository-eahms454.js} +34 -34
- 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-anbjwd12.js → repository-ehsk5wsv.js} +30 -30
- package/dist/chunks/{schema-pcp3kjxr.js → repository-epfpd7cv.js} +9 -9
- package/dist/chunks/{schema-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
- package/dist/chunks/{schema-dbt5d3v2.js → repository-eyn5j564.js} +8 -8
- package/dist/chunks/{schema-1acjjqhc.js → repository-f2n192rq.js} +4 -4
- package/dist/chunks/{schema-exf3dd23.js → repository-f334w0pg.js} +35 -35
- package/dist/chunks/{schema-48vb8zcm.js → repository-f5fspc7b.js} +8 -8
- package/dist/chunks/{schema-qm6nak0e.js → repository-fp35vcn1.js} +54 -54
- package/dist/chunks/{schema-5cmxdwv8.js → repository-fqka1xvk.js} +3 -3
- package/dist/chunks/{schema-xsgk3b13.js → repository-fsbk27r1.js} +9 -9
- package/dist/chunks/{schema-4tq94sws.js → repository-ftjt2372.js} +4 -4
- package/dist/chunks/{schema-a2qe2ev9.js → repository-g1sxm558.js} +8 -8
- package/dist/chunks/{schema-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
- package/dist/chunks/{schema-13q95dca.js → repository-geakp29a.js} +11 -11
- package/dist/chunks/{schema-djpyvzbj.js → repository-gqnw29hq.js} +10 -10
- package/dist/chunks/{schema-yyb7tjpc.js → repository-gv6a8nnw.js} +2 -2
- package/dist/chunks/{schema-maqbyvg5.js → repository-gwahz6hz.js} +13 -13
- package/dist/chunks/{schema-hv2hgy02.js → repository-h3r85v63.js} +13 -13
- package/dist/chunks/{schema-nzyhnfxz.js → repository-h6r3nrb9.js} +4 -4
- package/dist/chunks/{schema-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
- package/dist/chunks/{schema-k6a20zcv.js → repository-h70nwwcc.js} +14 -14
- package/dist/chunks/{schema-ma8x6edw.js → repository-har18r6r.js} +30 -30
- package/dist/chunks/{schema-h088vvky.js → repository-hqxn6csc.js} +178 -178
- package/dist/chunks/{schema-dst2nx90.js → repository-hqxxrcsw.js} +18 -18
- package/dist/chunks/{schema-07f32r4c.js → repository-hr7nhsg3.js} +2 -2
- package/dist/chunks/{schema-8gxfpvk4.js → repository-hr9sx13n.js} +22 -22
- package/dist/chunks/{schema-c4q1b81p.js → repository-htpfkpfv.js} +3 -3
- package/dist/chunks/{schema-79wrnan4.js → repository-hx10j1ep.js} +11 -11
- package/dist/chunks/{schema-99yn8t20.js → repository-hyyftsxg.js} +3 -3
- package/dist/chunks/{schema-3gsz5zgg.js → repository-j4dredde.js} +19 -19
- package/dist/chunks/{schema-j56e64zr.js → repository-j56e64zr.js} +1 -1
- package/dist/chunks/{schema-8gm0xqx6.js → repository-j64jv97n.js} +8 -8
- package/dist/chunks/{schema-sx1n432n.js → repository-j83byb14.js} +4 -4
- package/dist/chunks/{schema-qz25ctfn.js → repository-jb8f8bdw.js} +30 -30
- package/dist/chunks/{schema-404v594m.js → repository-jdt82a65.js} +9 -9
- package/dist/chunks/{schema-81fh9vc9.js → repository-jewqmp23.js} +14 -14
- package/dist/chunks/{schema-53fyba40.js → repository-jjzf804t.js} +4 -4
- package/dist/chunks/{schema-qan3rc7n.js → repository-jsknnxm0.js} +20 -20
- package/dist/chunks/{schema-syyemct7.js → repository-jvzh73h3.js} +18 -18
- package/dist/chunks/{schema-ybnjss4v.js → repository-jw7mqvhb.js} +24 -24
- package/dist/chunks/{schema-nzks3jc8.js → repository-k3c624dm.js} +3 -3
- package/dist/chunks/{schema-mnwje68x.js → repository-k4xenmvj.js} +13 -13
- package/dist/chunks/{schema-0yxpqf9q.js → repository-kjjzdt6z.js} +28 -28
- package/dist/chunks/{schema-eca2xt2e.js → repository-kma5cn94.js} +27 -27
- package/dist/chunks/{schema-05ensxqt.js → repository-kt8nfkp3.js} +31 -31
- package/dist/chunks/{schema-m3fdjcah.js → repository-m3fdjcah.js} +1 -1
- package/dist/chunks/{schema-2tr3yddq.js → repository-m7byf6m1.js} +29 -29
- package/dist/chunks/{schema-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
- package/dist/chunks/{schema-xm5mtrqn.js → repository-mnrg3sxj.js} +25 -25
- package/dist/chunks/{schema-xtrjfq07.js → repository-mp5r29aw.js} +8 -8
- package/dist/chunks/{schema-3dg2xvfq.js → repository-mzvn4c0x.js} +25 -25
- package/dist/chunks/{schema-6v8w5ehg.js → repository-n2yeqzr5.js} +3 -3
- package/dist/chunks/{schema-nkxtb3dm.js → repository-n34cz6pc.js} +10 -10
- package/dist/chunks/{schema-nyp9r3yv.js → repository-n4qk2p21.js} +5 -5
- package/dist/chunks/{schema-wgzfjrfp.js → repository-ncvdxrbg.js} +17 -17
- package/dist/chunks/{schema-r8503ksh.js → repository-ndz0f2pv.js} +16 -16
- package/dist/chunks/{schema-va5qff5x.js → repository-nkcwakxz.js} +6 -6
- package/dist/chunks/{schema-magykp64.js → repository-nrdmrqsx.js} +4 -4
- package/dist/chunks/{schema-4xz89tjk.js → repository-nxhqveyz.js} +5 -5
- package/dist/chunks/{schema-szwj1mk0.js → repository-nz1w7233.js} +30 -30
- package/dist/chunks/{schema-fa0vx1vq.js → repository-p26nknmg.js} +5 -5
- package/dist/chunks/{schema-0w6h42sd.js → repository-p4w1wdw7.js} +20 -20
- package/dist/chunks/{schema-cmwkp3r5.js → repository-pa8pe2x7.js} +8 -8
- package/dist/chunks/{schema-f84xm9jy.js → repository-pca6s4fg.js} +23 -23
- package/dist/chunks/{schema-wpwj4s2y.js → repository-pccq72bz.js} +4 -4
- package/dist/chunks/{schema-d41te630.js → repository-pdgybe9w.js} +5 -5
- 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-ynwt6cba.js → repository-pnpn4wz1.js} +14 -14
- package/dist/chunks/{schema-f7j90zp2.js → repository-pnv527nz.js} +9 -9
- package/dist/chunks/{schema-wvdys2zg.js → repository-prd1yc4e.js} +21 -21
- package/dist/chunks/{schema-h5n6cr9x.js → repository-pxbjxcby.js} +32 -32
- package/dist/chunks/{schema-xxxym934.js → repository-qbqbaz6q.js} +4 -4
- package/dist/chunks/{schema-d50xxcr3.js → repository-qernpydw.js} +5 -5
- package/dist/chunks/{schema-w31gwtfd.js → repository-qfdxmfvr.js} +6 -6
- package/dist/chunks/{schema-8re3920x.js → repository-qk5kxcbj.js} +20 -20
- package/dist/chunks/{schema-16q9vxtt.js → repository-qn9vy89p.js} +30 -30
- package/dist/chunks/{schema-qsdy395h.js → repository-qsdy395h.js} +1 -1
- package/dist/chunks/{schema-ahd542yp.js → repository-qvb3nf84.js} +8 -8
- package/dist/chunks/{schema-dk7kjneb.js → repository-r040zy0g.js} +25 -25
- package/dist/chunks/{schema-zwrpf1jc.js → repository-r1zrj47q.js} +31 -31
- package/dist/chunks/{schema-5xwq33r5.js → repository-r6vv5p3m.js} +57 -57
- package/dist/chunks/{schema-87j1vk5m.js → repository-r7t6v39w.js} +26 -26
- package/dist/chunks/{schema-85k8ep8b.js → repository-rdmyapgx.js} +15 -15
- package/dist/chunks/{schema-rdw6cm16.js → repository-rdw6cm16.js} +1 -1
- package/dist/chunks/{schema-7fkffz83.js → repository-rkprpv83.js} +4 -4
- package/dist/chunks/{schema-ccjk4f54.js → repository-rpbss5j3.js} +35 -35
- package/dist/chunks/repository-s6k3yhqj.js +511 -0
- package/dist/chunks/{schema-j8mz9s4x.js → repository-sae9kgks.js} +11 -11
- package/dist/chunks/{schema-q8d50280.js → repository-sdmk119x.js} +3 -3
- package/dist/chunks/{schema-wsh63xm2.js → repository-sm84vfww.js} +11 -11
- package/dist/chunks/{schema-8f4y0pp5.js → repository-smxxsx11.js} +18 -18
- package/dist/chunks/{schema-c5c0bz0t.js → repository-sqbb0ctm.js} +5 -5
- package/dist/chunks/{schema-z7cbn86z.js → repository-stv887d7.js} +7 -7
- package/dist/chunks/{schema-drysh76x.js → repository-svv95awx.js} +29 -29
- package/dist/chunks/{schema-fdv30zvt.js → repository-sxz6gkc3.js} +4 -4
- package/dist/chunks/{schema-k8z9p47p.js → repository-t041a9x4.js} +24 -24
- package/dist/chunks/{schema-eaj1djv9.js → repository-t550f9t1.js} +8 -8
- package/dist/chunks/{schema-ttqh24zm.js → repository-t7n9q6bq.js} +4 -4
- package/dist/chunks/{schema-79t7xk98.js → repository-t8730cdn.js} +15 -15
- 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-4rgrvx78.js → repository-tcj9ww28.js} +16 -16
- package/dist/chunks/{schema-tdstcens.js → repository-tdstcens.js} +1 -1
- package/dist/chunks/{schema-42v6676k.js → repository-tfzy1df7.js} +22 -22
- package/dist/chunks/{schema-a9dbrvcp.js → repository-tqr3fgz4.js} +42 -42
- package/dist/chunks/{schema-tvtrv512.js → repository-tvtrv512.js} +1 -1
- package/dist/chunks/{schema-jz40f57j.js → repository-v4028cvv.js} +17 -17
- package/dist/chunks/{schema-veqvce7d.js → repository-veqvce7d.js} +1 -1
- package/dist/chunks/{schema-2nzqjkgh.js → repository-vhyze3e3.js} +15 -15
- package/dist/chunks/{schema-p31rxwxp.js → repository-vp03n2p3.js} +16 -16
- package/dist/chunks/{schema-m1vshg1d.js → repository-vrwms5ta.js} +4 -4
- package/dist/chunks/{schema-eqmd3425.js → repository-vsfnjfd7.js} +13 -13
- package/dist/chunks/{schema-ndxbn6j7.js → repository-vsrax324.js} +19 -19
- 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-pgsr89hy.js → repository-w3x6xwqj.js} +1 -1
- package/dist/chunks/{schema-c4p53n0j.js → repository-w3zzd7fq.js} +15 -15
- package/dist/chunks/{schema-1s3p39g4.js → repository-w4arg62q.js} +6 -6
- package/dist/chunks/{schema-9z0cwd9w.js → repository-w6pxqv2r.js} +15 -15
- package/dist/chunks/{schema-eq20ba7x.js → repository-w6zk8pbt.js} +6 -6
- package/dist/chunks/{schema-7j016h96.js → repository-wa5jjdw0.js} +9 -9
- package/dist/chunks/{schema-g2y161wv.js → repository-was7srj9.js} +8 -8
- package/dist/chunks/{schema-a3m0kdh5.js → repository-wbfjc2h1.js} +10 -10
- 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-f2xfk6hw.js → repository-wjdksev2.js} +30 -30
- package/dist/chunks/{schema-9rfkbpbj.js → repository-wtb2nkxw.js} +4 -4
- package/dist/chunks/{schema-kvk0vnsc.js → repository-www228tn.js} +40 -40
- package/dist/chunks/{schema-0hj7f8b1.js → repository-wzvzbcsg.js} +12 -12
- package/dist/chunks/{schema-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
- package/dist/chunks/{schema-07739wyb.js → repository-x3g34f3v.js} +1 -1
- package/dist/chunks/{schema-v7z2bvyd.js → repository-x3gqap9d.js} +4 -4
- package/dist/chunks/{schema-dfm2zw35.js → repository-x4m537wk.js} +5 -5
- package/dist/chunks/{schema-s8ac38hc.js → repository-x5h44zm2.js} +17 -17
- package/dist/chunks/{schema-xkntkrq7.js → repository-xkntkrq7.js} +2 -2
- package/dist/chunks/{schema-r6kw3eaj.js → repository-xkv170v4.js} +16 -16
- package/dist/chunks/{schema-t6s1y3ss.js → repository-xm24773m.js} +38 -38
- package/dist/chunks/{schema-c05pc369.js → repository-xqn8f2xc.js} +20 -20
- package/dist/chunks/{schema-g9a18t79.js → repository-y0rg8wwx.js} +8 -8
- package/dist/chunks/{schema-hjssj8fz.js → repository-y14362pj.js} +13 -13
- package/dist/chunks/{schema-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
- package/dist/chunks/{schema-s271antv.js → repository-y2sxsfvk.js} +16 -16
- 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-rgad3y2c.js → repository-y99ygqqg.js} +48 -48
- package/dist/chunks/{schema-qn0byfb6.js → repository-y9kjq5j3.js} +11 -11
- package/dist/chunks/{schema-vmwh049b.js → repository-yq9bhs5j.js} +6 -6
- 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-dxan09mr.js → repository-z139kjpf.js} +8 -8
- package/dist/chunks/{schema-z63w68vq.js → repository-z63w68vq.js} +2 -2
- package/dist/chunks/{schema-csxrjpxm.js → repository-zbzxhk8m.js} +22 -22
- package/dist/chunks/{schema-9mz9sh48.js → repository-zcj9g204.js} +5 -5
- package/dist/chunks/{schema-anbm6d0v.js → repository-zd8hcvy8.js} +18 -18
- package/dist/chunks/{schema-rq775frq.js → repository-zeh9ct20.js} +2 -2
- package/dist/chunks/{schema-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
- package/dist/chunks/{schema-0naybkd4.js → repository-ztjbcj90.js} +45 -45
- package/dist/chunks/{schema-pt110b9x.js → repository-zxptzjm7.js} +30 -30
- package/dist/chunks/{schema-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
- 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 +77 -77
- 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 +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- 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 +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- 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 +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 +122 -122
- 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 +124 -124
- 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 +372 -372
- 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 +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +83 -83
- package/dist/generate.js +105 -105
- 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 +83 -83
- 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 +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- 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 +360 -360
- package/dist/location.js +87 -87
- 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 +96 -96
- package/dist/model.js +100 -100
- package/dist/models-dev.js +97 -97
- 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 +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- 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 +5 -5
- 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 +2 -2
- 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 +120 -120
- 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 +92 -92
- 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 +351 -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/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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +225 -225
- 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 +1 -1
- 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 +153 -153
- 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 +114 -114
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- 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 +210 -210
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +154 -154
- 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 +218 -218
- 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 +9 -9
- 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 +91 -91
- 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 +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +118 -118
- 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 +3 -3
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- 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 +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- 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,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-3f66bwfz.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-pnpn4wz1.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError3,
|
|
20
|
+
Options: () => Options3,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
configured: () =>
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
22
|
+
Service: () => Service21,
|
|
23
|
+
UnavailableError: () => UnavailableError2,
|
|
24
|
+
configured: () => configured3,
|
|
25
|
+
layer: () => layer9,
|
|
26
|
+
node: () => node24
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -35,21 +35,21 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
var
|
|
38
|
+
var Options3 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
46
46
|
ptyID: Pty.ID
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service21 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service21, Effect.gen(function* () {
|
|
53
53
|
const bus = yield* Service83;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service49, Effect.gen(function* (
|
|
|
72
72
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
73
73
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
74
74
|
if (!found)
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new NotFoundError3({ ptyID: id });
|
|
76
76
|
return found;
|
|
77
77
|
});
|
|
78
78
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service49, Effect.gen(function* (
|
|
|
162
162
|
});
|
|
163
163
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
164
164
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
165
|
-
return yield* new
|
|
165
|
+
return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
|
|
166
166
|
const id = current.get(sessionID);
|
|
167
167
|
if (!id)
|
|
168
168
|
return null;
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service49, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service21.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service49, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
258
|
+
var layer9 = makeLayer();
|
|
259
|
+
var configured3 = (options) => makeGlobalNode({
|
|
260
|
+
service: Service21,
|
|
261
|
+
layer: options === undefined ? layer9 : makeLayer(options),
|
|
262
262
|
deps: [node87, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node24 = configured3();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
|
-
var unexpected = (response) => Effect.fail(new
|
|
268
|
-
var unavailable = (error) => new
|
|
267
|
+
var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
268
|
+
var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
|
|
269
269
|
var runtimeDirectory = () => {
|
|
270
270
|
const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
|
|
271
271
|
return path.join(root, crypto.randomUUID());
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options3, UnavailableError2, NotFoundError3, Service21, layer9, configured3, node24, exports_persistent_pty, Handoff2 };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-3f66bwfz.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./repository-tcj9ww28.js";
|
|
9
9
|
import {
|
|
10
10
|
ID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-0mesazry.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service54,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node57
|
|
16
|
+
} from "./repository-pnpn4wz1.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./repository-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
27
|
CreateInput: () => CreateInput2,
|
|
28
|
-
Event: () =>
|
|
28
|
+
Event: () => Event3,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
30
|
Info: () => Info2,
|
|
31
31
|
NotFoundError: () => NotFoundError2,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service17,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node19
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event3 } from "@opencode/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
@@ -55,12 +55,12 @@ class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service17 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
61
61
|
const bus = yield* Service83;
|
|
62
|
-
const location = yield*
|
|
63
|
-
const shell = yield*
|
|
62
|
+
const location = yield* Service79;
|
|
63
|
+
const shell = yield* Service54;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service17.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node19 = makeLocationNode({
|
|
274
|
+
service: Service17,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [node87,
|
|
276
|
+
deps: [node87, node83, node57]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2,
|
|
279
|
+
export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service17, node19, exports_pty, Event3 };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service55
|
|
3
|
+
} from "./repository-r6vv5p3m.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input9,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin12,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description3,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name9
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name9 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input9 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input12 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input9.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin12 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service55;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name9,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description3,
|
|
104
|
+
input: Input9,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin31 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name9,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name9, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input9, Plugin12, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-n2yeqzr5.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-ckecvw8r.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID8,
|
|
17
|
+
Info: () => Info20,
|
|
18
|
+
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service57,
|
|
21
|
+
node: () => node60
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID8 = PermissionSaved.ID;
|
|
29
|
+
var Info20 = PermissionSaved.Info;
|
|
30
|
+
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service57 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service84).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID8.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service57.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node60 = makeGlobalNode({ service: Service57, layer, deps: [node88] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID8, Info20, ListInput5, AddInput2, Service57, node60, exports_saved };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-3f66bwfz.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
10
|
+
ID14,
|
|
11
|
+
Service77,
|
|
12
|
+
node81,
|
|
13
|
+
Event18
|
|
14
|
+
} from "./repository-svv95awx.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-h6r3nrb9.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service79,
|
|
20
|
+
node83
|
|
21
|
+
} from "./repository-tcj9ww28.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -37,13 +37,13 @@ var exports_provider3 = {};
|
|
|
37
37
|
__export(exports_provider3, {
|
|
38
38
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
|
-
Event: () =>
|
|
41
|
-
ID: () =>
|
|
42
|
-
Info: () =>
|
|
40
|
+
Event: () => Event17,
|
|
41
|
+
ID: () => ID13,
|
|
42
|
+
Info: () => Info27,
|
|
43
43
|
LoadError: () => LoadError3,
|
|
44
44
|
Provider: () => exports_provider3,
|
|
45
|
-
Request: () =>
|
|
46
|
-
Service: () =>
|
|
45
|
+
Request: () => Request3,
|
|
46
|
+
Service: () => Service76,
|
|
47
47
|
Settings: () => Settings2,
|
|
48
48
|
Transport: () => Transport2,
|
|
49
49
|
aisdk: () => aisdk2,
|
|
@@ -53,7 +53,7 @@ __export(exports_provider3, {
|
|
|
53
53
|
mergeOverlay: () => mergeOverlay2,
|
|
54
54
|
modelSettings: () => modelSettings2,
|
|
55
55
|
nativeSettings: () => nativeSettings2,
|
|
56
|
-
node: () =>
|
|
56
|
+
node: () => node80,
|
|
57
57
|
packageName: () => packageName2
|
|
58
58
|
});
|
|
59
59
|
import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
|
|
@@ -64,8 +64,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
64
64
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
65
65
|
import { Credential } from "@opencode/schema/credential";
|
|
66
66
|
import { freeze } from "immer";
|
|
67
|
-
import { Event as
|
|
68
|
-
var
|
|
67
|
+
import { Event as Event17 } from "@opencode/schema/provider";
|
|
68
|
+
var ID13 = Provider.ID;
|
|
69
69
|
var AISDK_PREFIX2 = "aisdk:";
|
|
70
70
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
71
71
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -206,13 +206,13 @@ function mergeHeaders2(base, overlay) {
|
|
|
206
206
|
return result;
|
|
207
207
|
}, new Map).values());
|
|
208
208
|
}
|
|
209
|
-
var
|
|
209
|
+
var Request3 = Provider.Request;
|
|
210
210
|
var Compaction3 = Provider.Compaction;
|
|
211
211
|
var Transport2 = Provider.Transport;
|
|
212
212
|
var Settings2 = Provider.Settings;
|
|
213
|
-
var
|
|
213
|
+
var Info27 = Provider.Info;
|
|
214
214
|
|
|
215
|
-
class
|
|
215
|
+
class Service76 extends Context.Service()("@opencode/Provider") {
|
|
216
216
|
}
|
|
217
217
|
var definitions = new WeakMap;
|
|
218
218
|
function index(providerID, models) {
|
|
@@ -225,10 +225,10 @@ function index(providerID, models) {
|
|
|
225
225
|
definitions.set(models, indexes);
|
|
226
226
|
return result;
|
|
227
227
|
}
|
|
228
|
-
var layer = Layer.effect(
|
|
228
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
229
229
|
const bus = yield* Service83;
|
|
230
|
-
const integrations = yield*
|
|
231
|
-
const location = yield*
|
|
230
|
+
const integrations = yield* Service77;
|
|
231
|
+
const location = yield* Service79;
|
|
232
232
|
const state = create3({
|
|
233
233
|
name: "provider",
|
|
234
234
|
initial: () => new Map,
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
239
239
|
const current = records.get(id);
|
|
240
240
|
if (current)
|
|
241
241
|
return current;
|
|
242
|
-
const added = { provider:
|
|
242
|
+
const added = { provider: Info27.empty(id), models: new Map };
|
|
243
243
|
records.set(id, added);
|
|
244
244
|
maps.add(added.models);
|
|
245
245
|
return added;
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
320
320
|
const available = Array.from(records.values()).filter((record) => {
|
|
321
321
|
if (record.provider.activation === "disabled")
|
|
322
322
|
return false;
|
|
323
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
323
|
+
const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
|
|
324
324
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
325
325
|
return false;
|
|
326
326
|
if (record.provider.activation === "enabled")
|
|
@@ -346,8 +346,8 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
346
346
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
347
347
|
});
|
|
348
348
|
});
|
|
349
|
-
yield* bus.subscribe([
|
|
350
|
-
return
|
|
349
|
+
yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
350
|
+
return Service76.of({
|
|
351
351
|
transform: state.transform,
|
|
352
352
|
reload: state.reload,
|
|
353
353
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
356
356
|
snapshot
|
|
357
357
|
});
|
|
358
358
|
}));
|
|
359
|
-
var
|
|
359
|
+
var node80 = makeLocationNode({ service: Service76, layer, deps: [node87, node81, node83] });
|
|
360
360
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
361
361
|
const module = yield* Effect.tryPromise({
|
|
362
362
|
try: () => {
|
|
@@ -625,4 +625,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
625
625
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
626
626
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
627
627
|
|
|
628
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
628
|
+
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info27, Service76, node80, exports_provider3, Event17 };
|