@opencode/core 0.0.0-dev-19596 → 0.0.0-dev-19599
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 +80 -80
- package/dist/aisdk-native.js +89 -2
- package/dist/aisdk.js +93 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +74 -74
- package/dist/chunks/{schema-0paq2nw3.js → tool-0paq2nw3.js} +1 -1
- package/dist/chunks/{schema-0q0f95c6.js → tool-0q0f95c6.js} +1 -1
- package/dist/chunks/{schema-ckp1ht4p.js → tool-16jeg0qk.js} +310 -304
- package/dist/chunks/{schema-eyqq4r43.js → tool-17j9h1rv.js} +11 -11
- package/dist/chunks/{schema-sx1n432n.js → tool-1a6p2twq.js} +4 -4
- package/dist/chunks/{schema-g5rn0d52.js → tool-1bkx5pwe.js} +18 -18
- package/dist/chunks/{schema-fvwtc7m7.js → tool-1d4jdnc8.js} +22 -36
- package/dist/chunks/{schema-1dazxqgg.js → tool-1dazxqgg.js} +2 -2
- package/dist/chunks/{schema-7f0264at.js → tool-1gfn0ycf.js} +35 -34
- package/dist/chunks/{schema-wpcmngey.js → tool-21dj5k26.js} +9 -9
- package/dist/chunks/{schema-460nzhf0.js → tool-21f2rsjd.js} +13 -13
- package/dist/chunks/{schema-21r38tys.js → tool-21r38tys.js} +1 -1
- package/dist/chunks/{schema-2402vzrj.js → tool-2402vzrj.js} +1 -1
- package/dist/chunks/{schema-mx4nfnwv.js → tool-253bq4qw.js} +3 -3
- package/dist/chunks/{schema-z63w68vq.js → tool-29x78va6.js} +6 -6
- package/dist/chunks/{schema-2a5m3afh.js → tool-2a5m3afh.js} +1 -1
- package/dist/chunks/{schema-3a6re68j.js → tool-2d57kztd.js} +6 -6
- package/dist/chunks/{schema-wavq5vqb.js → tool-2gkxg42g.js} +4 -4
- package/dist/chunks/{schema-b83gcn6t.js → tool-2h74skrz.js} +22 -22
- package/dist/chunks/{schema-t0x5rdq8.js → tool-2mq1h16s.js} +9 -9
- package/dist/chunks/{schema-p8ee7rnh.js → tool-2vg6efqn.js} +15 -15
- package/dist/chunks/{schema-ctmr8zqa.js → tool-2vs2nh1n.js} +4 -4
- package/dist/chunks/{schema-gg2v66ak.js → tool-2wvxgkaf.js} +36 -36
- package/dist/chunks/{schema-4n7x7n3b.js → tool-2x9c36ps.js} +43 -43
- package/dist/chunks/{schema-mw7ftrc1.js → tool-383meeh8.js} +47 -47
- package/dist/chunks/{schema-febxpxrj.js → tool-3f6m7h4m.js} +9 -9
- package/dist/chunks/{schema-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
- package/dist/chunks/{schema-70d2s7af.js → tool-3g77v28p.js} +4 -4
- package/dist/chunks/{schema-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
- package/dist/chunks/{schema-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
- package/dist/chunks/{schema-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
- package/dist/chunks/{schema-c78bbtc9.js → tool-3w0fmcng.js} +5 -5
- package/dist/chunks/{schema-7j034exa.js → tool-3y6z2ty2.js} +21 -20
- package/dist/chunks/{schema-33n3bzdy.js → tool-40tbggcp.js} +169 -7
- package/dist/chunks/{schema-mp0exg3w.js → tool-4an599d2.js} +11 -11
- package/dist/chunks/{schema-a3dxz99s.js → tool-4e0pbrm7.js} +11 -11
- package/dist/chunks/{schema-zwv68h5q.js → tool-4gnyebnw.js} +7 -7
- package/dist/chunks/{schema-gj5yqrt5.js → tool-4gp9przv.js} +8 -8
- package/dist/chunks/{schema-nwejh57z.js → tool-4kbjb3sr.js} +22 -22
- package/dist/chunks/{schema-cwtxttrt.js → tool-4vkh6st7.js} +19 -19
- package/dist/chunks/{schema-1ygqh575.js → tool-56gdpj1q.js} +9 -9
- package/dist/chunks/{schema-x00t4nfm.js → tool-57ez7d0k.js} +9 -9
- package/dist/chunks/{schema-5daktx2q.js → tool-5daktx2q.js} +1 -1
- package/dist/chunks/{schema-9n8afz82.js → tool-5hsgp0bq.js} +18 -18
- package/dist/chunks/{schema-nkszaa5g.js → tool-5k338v2a.js} +22 -22
- package/dist/chunks/{schema-bfn7mtpr.js → tool-5qdj1v4m.js} +13 -13
- package/dist/chunks/{schema-5t3nmthw.js → tool-5t3nmthw.js} +2 -2
- package/dist/chunks/{schema-9776sn27.js → tool-5w7fqkzx.js} +17 -17
- package/dist/chunks/{schema-qr42g2ex.js → tool-5y9tx54q.js} +12 -12
- package/dist/chunks/{schema-mz6ae2yf.js → tool-63dea9jd.js} +4 -4
- package/dist/chunks/{schema-669tq793.js → tool-669tq793.js} +1 -1
- package/dist/chunks/{schema-6sk8rnq7.js → tool-66qmevrd.js} +43 -43
- package/dist/chunks/{schema-qgtwsm4a.js → tool-66yyaz7c.js} +51 -51
- package/dist/chunks/{schema-8hqm76n9.js → tool-6d1tapbz.js} +37 -24
- package/dist/chunks/{schema-9cwgx80s.js → tool-6j9t704q.js} +15 -15
- package/dist/chunks/{schema-6msgmcgs.js → tool-6msgmcgs.js} +1 -1
- package/dist/chunks/{schema-t9qn8q8w.js → tool-6qkc0t3x.js} +8 -8
- package/dist/chunks/{schema-nsc0z153.js → tool-6sg447na.js} +9 -9
- package/dist/chunks/{schema-sez5jh81.js → tool-6sr3ve8g.js} +21 -21
- package/dist/chunks/{schema-7d2a7xbs.js → tool-6vq97qmv.js} +5 -5
- package/dist/chunks/{schema-q53mw4kv.js → tool-6yy9wark.js} +11 -11
- package/dist/chunks/{schema-71q4at8m.js → tool-71q4at8m.js} +1 -1
- package/dist/chunks/{schema-74jczd3p.js → tool-7355chmd.js} +3 -3
- package/dist/chunks/{schema-fnt00pdw.js → tool-7933w99v.js} +96 -96
- package/dist/chunks/{schema-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
- package/dist/chunks/{schema-j0kcbam5.js → tool-7eyb1ky7.js} +17 -17
- package/dist/chunks/{schema-a9bb11qt.js → tool-7m0wx7n2.js} +5 -5
- package/dist/chunks/{schema-cyyebbpd.js → tool-7q67xa21.js} +20 -20
- package/dist/chunks/{schema-kdmcvb0r.js → tool-7tw3btct.js} +4 -4
- package/dist/chunks/tool-7v2wf9c4.js +201 -0
- package/dist/chunks/{schema-7h6eczm7.js → tool-7vnx6y3p.js} +20 -20
- package/dist/chunks/{schema-eq6c3fte.js → tool-884gyjym.js} +17 -9
- package/dist/chunks/{schema-mfhfdr54.js → tool-88sz8qcd.js} +4 -4
- package/dist/chunks/{schema-8d7r5vzw.js → tool-8d7r5vzw.js} +1 -1
- package/dist/chunks/{schema-7cdavrgt.js → tool-8dp74fdk.js} +22 -22
- package/dist/chunks/{schema-2bvm5bng.js → tool-8e117wbv.js} +3 -3
- package/dist/chunks/{schema-hv9ta9e9.js → tool-8kacz6a1.js} +27 -27
- package/dist/chunks/{schema-8p4f9s12.js → tool-8p4f9s12.js} +2 -2
- package/dist/chunks/{schema-c5nvra9m.js → tool-8y01k5fy.js} +4 -4
- package/dist/chunks/{schema-3dmtdf19.js → tool-92s0cqnp.js} +12 -12
- package/dist/chunks/{schema-bswyt25e.js → tool-95vfjh4q.js} +13 -13
- package/dist/chunks/{schema-f6agekp8.js → tool-964t6598.js} +14 -17
- package/dist/chunks/{schema-gj03f4ek.js → tool-98f484r8.js} +14 -14
- package/dist/chunks/{schema-7a8p0xnb.js → tool-99yh2pdr.js} +15 -15
- package/dist/chunks/{schema-352w66m8.js → tool-9d4sgpz8.js} +9 -9
- package/dist/chunks/{schema-1cbk4m95.js → tool-9kvb8f9y.js} +26 -19
- package/dist/chunks/{schema-k5ahzgcr.js → tool-9q34vwzw.js} +29 -29
- package/dist/chunks/tool-9sh4wc5j.js +18 -0
- package/dist/chunks/{schema-a1bz86dw.js → tool-a1bz86dw.js} +3 -3
- package/dist/chunks/{schema-7vgg5bre.js → tool-a6d3kgp8.js} +17 -17
- package/dist/chunks/{schema-aaet6srn.js → tool-aaet6srn.js} +2 -2
- package/dist/chunks/{schema-0artwwxx.js → tool-acpnwff5.js} +6 -6
- package/dist/chunks/{schema-dcrj6gad.js → tool-acxcbb38.js} +22 -22
- package/dist/chunks/{schema-r66k216p.js → tool-akvwqyjh.js} +26 -26
- package/dist/chunks/{schema-hjnnbnbb.js → tool-awzpd58r.js} +9 -9
- package/dist/chunks/{schema-t6vsspdg.js → tool-axtvtek4.js} +4 -4
- package/dist/chunks/{schema-9ee4bqq5.js → tool-ayrzd4q0.js} +18 -18
- package/dist/chunks/{schema-y9ytwzzt.js → tool-b4655sfp.js} +51 -50
- package/dist/chunks/{schema-h2ksjayj.js → tool-b5vpxnpr.js} +26 -26
- package/dist/chunks/{schema-b6gygkdw.js → tool-b6gygkdw.js} +2 -2
- package/dist/chunks/{schema-wtx5fp6w.js → tool-b7n5ecmq.js} +42 -42
- package/dist/chunks/{schema-4p8fzzdy.js → tool-bajakh74.js} +4 -4
- package/dist/chunks/{schema-aqd42mcz.js → tool-bbaxns64.js} +10 -10
- package/dist/chunks/{schema-zpbz1axx.js → tool-bmnapqat.js} +8 -8
- package/dist/chunks/{schema-160w9f8h.js → tool-bv9pnvgp.js} +4 -4
- package/dist/chunks/{schema-ttvjx6p5.js → tool-bwfqemah.js} +18 -18
- package/dist/chunks/{schema-kgt4jx9n.js → tool-c0g4q567.js} +20 -20
- package/dist/chunks/{schema-jb92a43k.js → tool-c31h4aj0.js} +51 -51
- package/dist/chunks/{schema-nnaq0ssc.js → tool-c5f1xghs.js} +36 -36
- package/dist/chunks/{schema-a2mmkps9.js → tool-c8r4c7x7.js} +27 -27
- package/dist/chunks/{schema-qcyk0ctz.js → tool-cddy6wgw.js} +14 -14
- package/dist/chunks/{schema-sxwejk34.js → tool-cdx2nmd2.js} +63 -63
- package/dist/chunks/{schema-hhgwwrzt.js → tool-ce8sn01r.js} +43 -43
- package/dist/chunks/{schema-1pqwnjx4.js → tool-cejrj8y8.js} +16 -16
- package/dist/chunks/{schema-cfpkc3c9.js → tool-cfpkc3c9.js} +2 -2
- package/dist/chunks/{schema-j5dzb3vg.js → tool-chp1ctqz.js} +11 -11
- package/dist/chunks/{schema-9n9wwhvc.js → tool-cseyvs3z.js} +27 -27
- package/dist/chunks/{schema-6kyz0a76.js → tool-ctn2km86.js} +9 -9
- package/dist/chunks/{schema-cyhsea0k.js → tool-d383cjmk.js} +8 -8
- package/dist/chunks/{schema-aqqw58sn.js → tool-d55qd04d.js} +32 -32
- package/dist/chunks/{schema-vve3ffxw.js → tool-da1ppnzr.js} +32 -32
- package/dist/chunks/tool-dadjnxcz.js +26 -0
- package/dist/chunks/{schema-w52sm2v7.js → tool-djh8651g.js} +35 -35
- package/dist/chunks/{schema-jwcy2c2z.js → tool-dpkg50ah.js} +4 -4
- package/dist/chunks/{schema-46kds8gk.js → tool-dy775f0c.js} +17 -17
- package/dist/chunks/{schema-xafa45y0.js → tool-e0b694rp.js} +23 -23
- package/dist/chunks/{schema-paphc93g.js → tool-e3qxr5gk.js} +2 -2
- package/dist/chunks/{schema-100j1g9v.js → tool-e4yvw0pn.js} +34 -34
- package/dist/chunks/{schema-e5nv3ght.js → tool-e5nv3ght.js} +2 -2
- package/dist/chunks/{schema-yfbgkrwe.js → tool-e8rb0fk9.js} +8 -8
- package/dist/chunks/{schema-hkfg6fzm.js → tool-ead3g9p8.js} +5 -5
- package/dist/chunks/{schema-pta0m0y2.js → tool-ebx0djr7.js} +10 -10
- package/dist/chunks/{schema-shh6fz4q.js → tool-ec8389mk.js} +4 -4
- package/dist/chunks/{schema-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
- package/dist/chunks/{schema-h6ar4aba.js → tool-efxhpxf5.js} +21 -21
- package/dist/chunks/tool-emgx2tje.js +53 -0
- package/dist/chunks/{schema-ew8epg43.js → tool-erw0n60b.js} +8 -8
- package/dist/chunks/{schema-etq0c3wd.js → tool-etq0c3wd.js} +1 -1
- package/dist/chunks/{schema-3hf7z3yq.js → tool-f1ts345w.js} +11 -11
- package/dist/chunks/{schema-d4d34sqm.js → tool-f1xrsf6k.js} +17 -17
- package/dist/chunks/{schema-cxnfc116.js → tool-f38hchcj.js} +16 -16
- package/dist/chunks/{schema-0n4jht4c.js → tool-f3yjyja6.js} +18 -18
- package/dist/chunks/{schema-f828m53h.js → tool-f828m53h.js} +2 -2
- package/dist/chunks/{schema-2xmxfdkw.js → tool-f9a3pmyr.js} +13 -13
- package/dist/chunks/{schema-607tc6va.js → tool-fcrkznn8.js} +5 -5
- package/dist/chunks/{schema-7hztb8a6.js → tool-fdftwakz.js} +17 -17
- package/dist/chunks/{schema-14a1bm7w.js → tool-fgb2mcbr.js} +24 -24
- package/dist/chunks/{schema-zm862yqt.js → tool-fspd6qjs.js} +36 -36
- package/dist/chunks/{schema-jxbxppp8.js → tool-fsqnn3fv.js} +26 -26
- package/dist/chunks/{schema-fxbjtjnd.js → tool-fxbjtjnd.js} +1 -1
- package/dist/chunks/{schema-59fjh03s.js → tool-fyfytr13.js} +9 -9
- package/dist/chunks/{schema-w4cz4w8n.js → tool-gan2aag1.js} +2 -2
- package/dist/chunks/{schema-sxj88q7q.js → tool-gbex3acd.js} +36 -36
- package/dist/chunks/{schema-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
- package/dist/chunks/{schema-eng2bkh5.js → tool-ggz7fzf6.js} +6 -6
- package/dist/chunks/{schema-yaj99xd7.js → tool-gjh1s6ya.js} +18 -18
- package/dist/chunks/{schema-t16yqmmz.js → tool-gjtgcmhe.js} +8 -10
- package/dist/chunks/{schema-th5km1p3.js → tool-gv6a8nnw.js} +5 -5
- package/dist/chunks/{schema-h03wrkyp.js → tool-h03wrkyp.js} +2 -2
- package/dist/chunks/{schema-p8rnrv0y.js → tool-h0cab0jj.js} +9 -9
- package/dist/chunks/tool-h6r3nrb9.js +24 -0
- package/dist/chunks/{schema-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
- package/dist/chunks/{schema-57kf9cn6.js → tool-hddv9rh5.js} +11 -11
- package/dist/chunks/{schema-e6hmchc5.js → tool-hnr5yq9h.js} +5 -5
- package/dist/chunks/{schema-219neeqh.js → tool-hs2aqah5.js} +5 -5
- package/dist/chunks/{schema-88jrr0c1.js → tool-hswenssz.js} +20 -20
- package/dist/chunks/{schema-j56e64zr.js → tool-j56e64zr.js} +1 -1
- package/dist/chunks/{schema-hj0g3228.js → tool-jez6grfh.js} +13 -13
- package/dist/chunks/{schema-8b5a8700.js → tool-jj2x8ya3.js} +30 -30
- package/dist/chunks/{schema-crptryd9.js → tool-jjs74g98.js} +5 -5
- package/dist/chunks/{schema-szvcpp15.js → tool-jndxpbzp.js} +34 -34
- package/dist/chunks/{schema-1gr0tcdy.js → tool-jpsh07gn.js} +4 -4
- package/dist/chunks/{schema-fay8vjw6.js → tool-jqvwbgns.js} +11 -11
- package/dist/chunks/{schema-qpv0n9y2.js → tool-jscm6k4t.js} +13 -13
- package/dist/chunks/{schema-8tasdpw9.js → tool-jxrvs0y0.js} +17 -17
- package/dist/chunks/{schema-dtsq3qdh.js → tool-jzzy94zk.js} +9 -9
- package/dist/chunks/{schema-9xdtwryq.js → tool-k56b83dc.js} +35 -33
- package/dist/chunks/{schema-3p2ed7sd.js → tool-kcxpnbwn.js} +21 -21
- package/dist/chunks/{schema-skkcpn4x.js → tool-kj8x889q.js} +17 -17
- package/dist/chunks/{schema-yea1wtgt.js → tool-knc2ad2x.js} +93 -92
- package/dist/chunks/{schema-0pb75hch.js → tool-m46abj74.js} +8 -8
- package/dist/chunks/{schema-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
- package/dist/chunks/{schema-zdyqqjkd.js → tool-may1xj9k.js} +201 -188
- package/dist/chunks/{schema-8g7dzdwc.js → tool-metb0c44.js} +11 -11
- package/dist/chunks/{schema-49m0b0hg.js → tool-mf4jvz0z.js} +12 -12
- package/dist/chunks/{schema-61tweh31.js → tool-mksr8qt3.js} +11 -11
- package/dist/chunks/{schema-xr4pykw3.js → tool-mrk4e56b.js} +16 -16
- package/dist/chunks/{schema-r9asyhme.js → tool-mtxfs5k5.js} +25 -18
- package/dist/chunks/{schema-73tb2d7t.js → tool-mvfsc1pv.js} +3 -3
- package/dist/chunks/{schema-rggx3fk4.js → tool-mwp9jd7s.js} +8 -8
- package/dist/chunks/{schema-s32qcjvy.js → tool-n83tpar3.js} +46 -46
- package/dist/chunks/{schema-17ccpqma.js → tool-n9a9ascx.js} +38 -31
- package/dist/chunks/{schema-yp37mb71.js → tool-nafczmzp.js} +26 -26
- package/dist/chunks/{schema-35hkzk16.js → tool-nb4aeq3b.js} +7 -7
- package/dist/chunks/{schema-ak553geh.js → tool-nbzw66ce.js} +26 -26
- package/dist/chunks/{schema-35wynegs.js → tool-nef32yex.js} +2 -2
- package/dist/chunks/{schema-w5np17bk.js → tool-nffnkmsf.js} +32 -32
- package/dist/chunks/{schema-e82z9tr0.js → tool-nhy5jxhy.js} +7 -7
- package/dist/chunks/{schema-tz9c6nnc.js → tool-nr5q34ns.js} +15 -15
- package/dist/chunks/{schema-6bsje7ws.js → tool-nvxqht09.js} +3 -3
- package/dist/chunks/{schema-b11403r6.js → tool-nw3p9810.js} +4 -4
- package/dist/chunks/{schema-844ef7ks.js → tool-p42hj8p8.js} +8 -8
- package/dist/chunks/{schema-8tpwn33w.js → tool-p7cb5w0v.js} +4 -4
- package/dist/chunks/{schema-t46k7n4n.js → tool-pd0fnjnr.js} +29 -29
- package/dist/chunks/{schema-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
- package/dist/chunks/{schema-pknna89w.js → tool-pknna89w.js} +1 -1
- package/dist/chunks/{schema-d6e8k2gz.js → tool-pmwf0w9a.js} +34 -34
- package/dist/chunks/{schema-qdeq33kz.js → tool-pngq9dd9.js} +20 -20
- package/dist/chunks/{schema-k7ytje6f.js → tool-prres578.js} +36 -35
- package/dist/chunks/{schema-bnf5aq9z.js → tool-ptg6kxy0.js} +22 -22
- package/dist/chunks/{schema-zf2yj53h.js → tool-q4wkz71m.js} +36 -30
- package/dist/chunks/{schema-15nepkqg.js → tool-q7wajf8z.js} +8 -8
- package/dist/chunks/{schema-tgp4vj3e.js → tool-qh3h8fjc.js} +25 -25
- package/dist/chunks/{schema-qpxa9xfm.js → tool-qkttm6v0.js} +11 -11
- package/dist/chunks/{schema-qsdy395h.js → tool-qsdy395h.js} +1 -1
- package/dist/chunks/{schema-f3fywrrk.js → tool-r1dtnce0.js} +21 -21
- package/dist/chunks/{schema-nrzpy080.js → tool-r2gzwywa.js} +32 -32
- package/dist/chunks/{schema-cvtmmhw6.js → tool-r6fz4byc.js} +4 -4
- package/dist/chunks/{schema-r9mregkx.js → tool-r9mregkx.js} +2 -2
- package/dist/chunks/{schema-f4ygn7kd.js → tool-rcptzcjb.js} +25 -25
- package/dist/chunks/{schema-kg06axw8.js → tool-rdw6cm16.js} +3 -1
- package/dist/chunks/{schema-02nqk1b9.js → tool-rfbvv5xc.js} +4 -4
- package/dist/chunks/{schema-xcz5qpew.js → tool-rkdpvaam.js} +15 -15
- package/dist/chunks/{schema-mh093k67.js → tool-rm9n4pe2.js} +32 -32
- package/dist/chunks/{schema-yrznvahk.js → tool-s4enseaf.js} +2 -2
- package/dist/chunks/{schema-yn73hxa9.js → tool-s4k2xazs.js} +15 -15
- package/dist/chunks/{schema-265kqrgy.js → tool-s9pnwdwt.js} +4 -4
- package/dist/chunks/{schema-fch79rh9.js → tool-scq4khx8.js} +1 -1
- package/dist/chunks/{schema-14getyrd.js → tool-smthb8q2.js} +24 -24
- package/dist/chunks/{schema-yzesgjc2.js → tool-sr5hsr7h.js} +31 -31
- package/dist/chunks/{schema-vrf9z43g.js → tool-sy7efrgz.js} +27 -27
- package/dist/chunks/{schema-5rs2mggp.js → tool-t06sf88e.js} +8 -8
- package/dist/chunks/{schema-02nrjc1r.js → tool-t550f9t1.js} +8 -8
- package/dist/chunks/{schema-pdamhna9.js → tool-t97w6b9c.js} +14 -14
- package/dist/chunks/{schema-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
- package/dist/chunks/{schema-1qghmjy0.js → tool-tbht75y9.js} +9 -9
- package/dist/chunks/{schema-89znhe33.js → tool-tcezcvh9.js} +4 -4
- package/dist/chunks/{schema-tdstcens.js → tool-tdstcens.js} +1 -1
- package/dist/chunks/{schema-nvck40qe.js → tool-tg3z6q21.js} +11 -11
- package/dist/chunks/{schema-30c1nq7z.js → tool-tprb9ykm.js} +8 -8
- package/dist/chunks/{schema-ff0svapt.js → tool-tqkrwgse.js} +2 -2
- package/dist/chunks/{schema-cvnh4hxe.js → tool-tqq7t134.js} +11 -11
- package/dist/chunks/{schema-3qte0bkw.js → tool-tqsepttq.js} +11 -11
- package/dist/chunks/{schema-c09skazh.js → tool-ttyd6mwr.js} +9 -9
- package/dist/chunks/{schema-9xbky303.js → tool-tvmnx93k.js} +72 -72
- package/dist/chunks/{schema-tvtrv512.js → tool-tvtrv512.js} +1 -1
- package/dist/chunks/{schema-c1660zyq.js → tool-v0hcs57f.js} +4 -4
- package/dist/chunks/{schema-vazxaftq.js → tool-v64wsefy.js} +15 -15
- package/dist/chunks/{schema-9cdcqr3z.js → tool-va79mfn6.js} +24 -24
- package/dist/chunks/{schema-94wn97cy.js → tool-vas055je.js} +9 -9
- package/dist/chunks/{schema-y5dj3dxk.js → tool-vdyyrf70.js} +6 -6
- package/dist/chunks/{schema-vzm76b3t.js → tool-ve6nm2s5.js} +6 -6
- package/dist/chunks/{schema-veqvce7d.js → tool-veqvce7d.js} +1 -1
- package/dist/chunks/{schema-gd8pphrc.js → tool-vgf270yp.js} +1 -1
- package/dist/chunks/{schema-na2rb754.js → tool-vmyza7nt.js} +50 -50
- package/dist/chunks/{schema-dm8kv9e9.js → tool-vqdbe12f.js} +49 -49
- package/dist/chunks/{schema-vzcthcp8.js → tool-vzcthcp8.js} +1 -1
- package/dist/chunks/{schema-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
- package/dist/chunks/{schema-wb1a395f.js → tool-w9rsy75j.js} +26 -26
- package/dist/chunks/{schema-wd87259q.js → tool-wd87259q.js} +1 -1
- package/dist/chunks/{schema-tax233da.js → tool-wjjsbp8j.js} +13 -13
- package/dist/chunks/{schema-zqk4v51d.js → tool-wzvtb6ev.js} +23 -23
- package/dist/chunks/{schema-x1ezjp6w.js → tool-x1ezjp6w.js} +1 -1
- package/dist/chunks/{schema-6z8qh9hd.js → tool-x7ajdgre.js} +49 -20
- package/dist/chunks/{schema-qjkj1w27.js → tool-xerjptys.js} +5 -5
- package/dist/chunks/{schema-nsy21xt9.js → tool-xkc29y86.js} +36 -36
- package/dist/chunks/{schema-t2tp6kph.js → tool-xsghnh50.js} +9 -9
- package/dist/chunks/{schema-0e0qwbc3.js → tool-y0rh7a7t.js} +32 -32
- package/dist/chunks/{schema-bdqrk2vk.js → tool-y10wk092.js} +9 -9
- package/dist/chunks/{schema-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
- package/dist/chunks/{schema-16502g6j.js → tool-y3acf7kc.js} +19 -19
- package/dist/chunks/{schema-yp2x3t23.js → tool-yp2x3t23.js} +1 -1
- package/dist/chunks/tool-yqybgd19.js +251 -0
- package/dist/chunks/{schema-yrhqyw5v.js → tool-yrhqyw5v.js} +1 -1
- package/dist/chunks/{schema-k7yxbrfp.js → tool-yyqa94g7.js} +41 -41
- package/dist/chunks/{schema-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
- package/dist/chunks/{schema-9cwdscm4.js → tool-z4t82ehr.js} +6 -6
- package/dist/chunks/{schema-jj8s0vwv.js → tool-zdvgxm63.js} +25 -25
- package/dist/chunks/{schema-varphpm5.js → tool-ze59vjzs.js} +61 -54
- package/dist/chunks/{schema-zeh9ct20.js → tool-zeh9ct20.js} +2 -2
- package/dist/chunks/{schema-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
- package/dist/chunks/{schema-6756pezh.js → tool-zr6g55aw.js} +12 -12
- package/dist/chunks/{schema-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -19
- package/dist/config/plugin/agent.js +124 -121
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -137
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -120
- package/dist/config/plugin/image.js +122 -119
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -121
- package/dist/config/plugin/mcp.js +131 -130
- package/dist/config/plugin/policy.js +122 -118
- package/dist/config/plugin/provider.js +121 -117
- package/dist/config/plugin/reference.js +124 -121
- package/dist/config/plugin/shell.js +122 -119
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -140
- package/dist/config/plugin/snapshot.js +122 -119
- package/dist/config/plugin/source.js +125 -121
- package/dist/config/plugin/tool-output.js +124 -121
- package/dist/config/plugin/websearch.js +121 -117
- package/dist/config/plugin/worktree.js +125 -122
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +73 -73
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +365 -365
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +101 -90
- 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 +98 -7
- 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 +356 -356
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +84 -84
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +11 -19
- package/dist/integration.js +87 -87
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +137 -137
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +353 -353
- package/dist/location.js +88 -88
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -7
- package/dist/model-resolver.js +98 -87
- package/dist/model.js +102 -9
- package/dist/models-dev.js +105 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +77 -77
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +94 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +89 -2
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +89 -2
- 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 +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -80
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -81
- package/dist/plugin/provider/gitlab.js +90 -3
- package/dist/plugin/provider/google-vertex.js +89 -2
- package/dist/plugin/provider/kilo.js +89 -2
- package/dist/plugin/provider/llmgateway.js +89 -77
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -80
- package/dist/plugin/provider/nvidia.js +89 -2
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +93 -81
- package/dist/plugin/provider/opencode.js +92 -80
- package/dist/plugin/provider/openrouter.js +90 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +90 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -2
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -78
- package/dist/plugin/provider/zenmux.js +89 -2
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +71 -71
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -137
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +91 -4
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -116
- 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 +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +99 -6
- 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 +85 -85
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +83 -83
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +125 -125
- 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 +137 -134
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +76 -75
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +139 -136
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +88 -88
- 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 +121 -121
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/types/github-copilot/models.d.ts +61 -0
- package/dist/types/instance.d.ts +3 -2
- package/dist/types/integration/connection.d.ts +8 -0
- package/dist/types/integration.d.ts +2 -0
- package/dist/types/modal/models.d.ts +30 -0
- package/dist/types/model-resolver.d.ts +2 -3
- package/dist/types/model.d.ts +33 -0
- package/dist/types/plugin/host.d.ts +4 -3
- package/dist/types/plugin/internal.d.ts +4 -3
- package/dist/types/plugin/provider/azure.d.ts +2 -1
- package/dist/types/plugin/provider/cloudflare-ai-gateway.d.ts +2 -1
- package/dist/types/plugin/provider/cloudflare-workers-ai.d.ts +2 -1
- package/dist/types/plugin/provider/configured.d.ts +1 -2
- package/dist/types/plugin/provider/github-copilot.d.ts +2 -2
- package/dist/types/plugin/provider/modal.d.ts +2 -2
- package/dist/types/plugin/provider/snowflake-cortex.d.ts +2 -1
- package/dist/types/provider.d.ts +43 -1
- package/dist/types/state.d.ts +4 -0
- package/dist/types/v1/config/migrate.d.ts +3 -3
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +7 -7
- 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 +91 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/refresh.js +345 -345
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/catalog.js +0 -89
- package/dist/chunks/schema-2rnk416m.js +0 -247
- package/dist/chunks/schema-bsgewm40.js +0 -26
- package/dist/chunks/schema-c3s2gn8c.js +0 -49
- package/dist/chunks/schema-jr3e8pb9.js +0 -55
- package/dist/chunks/schema-qdyb70sk.js +0 -18
- package/dist/chunks/schema-yh4as7xh.js +0 -193
- package/dist/types/catalog.d.ts +0 -49
- /package/dist/chunks/{schema-0mesazry.js → tool-0mesazry.js} +0 -0
- /package/dist/chunks/{schema-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{schema-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
- /package/dist/chunks/{schema-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
- /package/dist/chunks/{schema-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
- /package/dist/chunks/{schema-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{schema-2710q6r3.js → tool-2710q6r3.js} +0 -0
- /package/dist/chunks/{schema-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
- /package/dist/chunks/{schema-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{schema-359p4xyc.js → tool-359p4xyc.js} +0 -0
- /package/dist/chunks/{schema-3asan66x.js → tool-3asan66x.js} +0 -0
- /package/dist/chunks/{schema-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
- /package/dist/chunks/{schema-3w5fmr99.js → tool-3w5fmr99.js} +0 -0
- /package/dist/chunks/{schema-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
- /package/dist/chunks/{schema-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
- /package/dist/chunks/{schema-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
- /package/dist/chunks/{schema-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{schema-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
- /package/dist/chunks/{schema-53557ph1.js → tool-53557ph1.js} +0 -0
- /package/dist/chunks/{schema-550bvhaj.js → tool-550bvhaj.js} +0 -0
- /package/dist/chunks/{schema-6prwharc.js → tool-6prwharc.js} +0 -0
- /package/dist/chunks/{schema-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
- /package/dist/chunks/{schema-7m9af43g.js → tool-7m9af43g.js} +0 -0
- /package/dist/chunks/{schema-822emrt2.js → tool-822emrt2.js} +0 -0
- /package/dist/chunks/{schema-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
- /package/dist/chunks/{schema-8n3pysct.js → tool-8n3pysct.js} +0 -0
- /package/dist/chunks/{schema-922hggd3.js → tool-922hggd3.js} +0 -0
- /package/dist/chunks/{schema-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
- /package/dist/chunks/{schema-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{schema-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
- /package/dist/chunks/{schema-af5trqkr.js → tool-af5trqkr.js} +0 -0
- /package/dist/chunks/{schema-afrmfg78.js → tool-afrmfg78.js} +0 -0
- /package/dist/chunks/{schema-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{schema-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
- /package/dist/chunks/{schema-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{schema-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{schema-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
- /package/dist/chunks/{schema-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{schema-d9fn303g.js → tool-d9fn303g.js} +0 -0
- /package/dist/chunks/{schema-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{schema-dajrwvna.js → tool-dajrwvna.js} +0 -0
- /package/dist/chunks/{schema-dap0rakb.js → tool-dap0rakb.js} +0 -0
- /package/dist/chunks/{schema-df08tz66.js → tool-df08tz66.js} +0 -0
- /package/dist/chunks/{schema-dy18nga0.js → tool-dy18nga0.js} +0 -0
- /package/dist/chunks/{schema-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
- /package/dist/chunks/{schema-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
- /package/dist/chunks/{schema-ec1grn59.js → tool-ec1grn59.js} +0 -0
- /package/dist/chunks/{schema-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
- /package/dist/chunks/{schema-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
- /package/dist/chunks/{schema-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
- /package/dist/chunks/{schema-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{schema-faypxj3z.js → tool-faypxj3z.js} +0 -0
- /package/dist/chunks/{schema-fd410y7t.js → tool-fd410y7t.js} +0 -0
- /package/dist/chunks/{schema-fxgpk5d8.js → tool-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{schema-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
- /package/dist/chunks/{schema-g86h250q.js → tool-g86h250q.js} +0 -0
- /package/dist/chunks/{schema-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
- /package/dist/chunks/{schema-gftt206x.js → tool-gftt206x.js} +0 -0
- /package/dist/chunks/{schema-hjbc5kem.js → tool-hjbc5kem.js} +0 -0
- /package/dist/chunks/{schema-hk9envan.js → tool-hk9envan.js} +0 -0
- /package/dist/chunks/{schema-hrnqkpcd.js → tool-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{schema-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
- /package/dist/chunks/{schema-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{schema-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{schema-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{schema-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{schema-mp448xyj.js → tool-mp448xyj.js} +0 -0
- /package/dist/chunks/{schema-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
- /package/dist/chunks/{schema-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
- /package/dist/chunks/{schema-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
- /package/dist/chunks/{schema-njntx4h6.js → tool-njntx4h6.js} +0 -0
- /package/dist/chunks/{schema-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
- /package/dist/chunks/{schema-q74kybfr.js → tool-q74kybfr.js} +0 -0
- /package/dist/chunks/{schema-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
- /package/dist/chunks/{schema-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
- /package/dist/chunks/{schema-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
- /package/dist/chunks/{schema-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
- /package/dist/chunks/{schema-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{schema-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{schema-sk3qaz4a.js → tool-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{schema-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
- /package/dist/chunks/{schema-twg0f83k.js → tool-twg0f83k.js} +0 -0
- /package/dist/chunks/{schema-w803qqfp.js → tool-w803qqfp.js} +0 -0
- /package/dist/chunks/{schema-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
- /package/dist/chunks/{schema-wtztk69x.js → tool-wtztk69x.js} +0 -0
- /package/dist/chunks/{schema-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
- /package/dist/chunks/{schema-x61499pn.js → tool-x61499pn.js} +0 -0
- /package/dist/chunks/{schema-y44na4kk.js → tool-y44na4kk.js} +0 -0
- /package/dist/chunks/{schema-y8cydn3q.js → tool-y8cydn3q.js} +0 -0
- /package/dist/chunks/{schema-y8f7s663.js → tool-y8f7s663.js} +0 -0
- /package/dist/chunks/{schema-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{schema-ym463w8f.js → tool-ym463w8f.js} +0 -0
- /package/dist/chunks/{schema-z9919s4g.js → tool-z9919s4g.js} +0 -0
|
@@ -1,128 +1,128 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node55
|
|
4
|
+
} from "./tool-f1ts345w.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node85
|
|
8
|
+
} from "./tool-1bkx5pwe.js";
|
|
9
9
|
import {
|
|
10
10
|
ID8,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
14
|
-
import {
|
|
15
|
-
ID18
|
|
16
|
-
} from "./schema-33n3bzdy.js";
|
|
11
|
+
Service49,
|
|
12
|
+
node52
|
|
13
|
+
} from "./tool-efxhpxf5.js";
|
|
17
14
|
import {
|
|
18
|
-
|
|
19
|
-
node65
|
|
20
|
-
} from "./schema-8g7dzdwc.js";
|
|
21
|
-
import {
|
|
22
|
-
ID17
|
|
23
|
-
} from "./schema-c3s2gn8c.js";
|
|
24
|
-
import {
|
|
25
|
-
ID11,
|
|
15
|
+
ID16,
|
|
26
16
|
OAuth3
|
|
27
|
-
} from "./
|
|
17
|
+
} from "./tool-2wvxgkaf.js";
|
|
28
18
|
import {
|
|
29
|
-
|
|
19
|
+
ID14,
|
|
30
20
|
MethodID2,
|
|
31
21
|
AttemptID2,
|
|
32
22
|
Method2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
36
|
-
import {
|
|
37
|
-
Service59,
|
|
38
|
-
node62
|
|
39
|
-
} from "./schema-yh4as7xh.js";
|
|
23
|
+
Service73,
|
|
24
|
+
node78
|
|
25
|
+
} from "./tool-1gfn0ycf.js";
|
|
40
26
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./schema-f4ygn7kd.js";
|
|
27
|
+
AbsolutePath2
|
|
28
|
+
} from "./tool-922hggd3.js";
|
|
44
29
|
import {
|
|
45
|
-
|
|
30
|
+
Info32,
|
|
31
|
+
Ref4,
|
|
32
|
+
Service77,
|
|
46
33
|
node82
|
|
47
|
-
} from "./
|
|
34
|
+
} from "./tool-kj8x889q.js";
|
|
48
35
|
import {
|
|
49
|
-
|
|
50
|
-
|
|
36
|
+
ID13,
|
|
37
|
+
Service72,
|
|
38
|
+
node77
|
|
39
|
+
} from "./tool-40tbggcp.js";
|
|
40
|
+
import {
|
|
41
|
+
Service54,
|
|
42
|
+
node58
|
|
43
|
+
} from "./tool-metb0c44.js";
|
|
44
|
+
import {
|
|
45
|
+
Service68,
|
|
46
|
+
node73
|
|
47
|
+
} from "./tool-rcptzcjb.js";
|
|
51
48
|
import {
|
|
52
|
-
Info28,
|
|
53
|
-
Ref3,
|
|
54
49
|
Service70,
|
|
55
|
-
|
|
56
|
-
} from "./
|
|
50
|
+
node75
|
|
51
|
+
} from "./tool-jez6grfh.js";
|
|
57
52
|
import {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
} from "./
|
|
53
|
+
Service44,
|
|
54
|
+
node47
|
|
55
|
+
} from "./tool-mf4jvz0z.js";
|
|
56
|
+
import {
|
|
57
|
+
ID12,
|
|
58
|
+
Service71,
|
|
59
|
+
node76
|
|
60
|
+
} from "./tool-7v2wf9c4.js";
|
|
61
61
|
import {
|
|
62
|
-
|
|
63
|
-
} from "./
|
|
62
|
+
ID10
|
|
63
|
+
} from "./tool-pd0fnjnr.js";
|
|
64
64
|
import {
|
|
65
|
-
|
|
65
|
+
Service27,
|
|
66
66
|
node32
|
|
67
|
-
} from "./
|
|
67
|
+
} from "./tool-c31h4aj0.js";
|
|
68
68
|
import {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
} from "./
|
|
69
|
+
Service67,
|
|
70
|
+
node72
|
|
71
|
+
} from "./tool-6qkc0t3x.js";
|
|
72
72
|
import {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
} from "./
|
|
73
|
+
Service46,
|
|
74
|
+
node49
|
|
75
|
+
} from "./tool-vmyza7nt.js";
|
|
76
76
|
import {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
} from "./
|
|
77
|
+
Service65,
|
|
78
|
+
node70
|
|
79
|
+
} from "./tool-qh3h8fjc.js";
|
|
80
80
|
import {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
81
|
+
Source3,
|
|
82
|
+
Service33,
|
|
83
|
+
node37
|
|
84
|
+
} from "./tool-9q34vwzw.js";
|
|
85
85
|
import {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
} from "./
|
|
86
|
+
Info6,
|
|
87
|
+
Service36,
|
|
88
|
+
node40
|
|
89
|
+
} from "./tool-8dp74fdk.js";
|
|
90
90
|
import {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
} from "./
|
|
91
|
+
Service20,
|
|
92
|
+
node24
|
|
93
|
+
} from "./tool-7933w99v.js";
|
|
94
94
|
import {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
} from "./
|
|
95
|
+
Service51,
|
|
96
|
+
node54
|
|
97
|
+
} from "./tool-nafczmzp.js";
|
|
98
98
|
import {
|
|
99
|
-
|
|
99
|
+
Service35,
|
|
100
100
|
node39
|
|
101
|
-
} from "./
|
|
101
|
+
} from "./tool-4kbjb3sr.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service50,
|
|
104
|
+
node53
|
|
105
|
+
} from "./tool-e0b694rp.js";
|
|
106
106
|
import {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
} from "./
|
|
107
|
+
ID11,
|
|
108
|
+
Service64,
|
|
109
|
+
node69
|
|
110
|
+
} from "./tool-w9rsy75j.js";
|
|
111
111
|
import {
|
|
112
112
|
StrategyID2,
|
|
113
|
-
|
|
113
|
+
Info7,
|
|
114
114
|
ListEntry3,
|
|
115
115
|
UnsupportedLocationError2,
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
} from "./
|
|
116
|
+
Service38,
|
|
117
|
+
node42
|
|
118
|
+
} from "./tool-n83tpar3.js";
|
|
119
119
|
import {
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
} from "./
|
|
120
|
+
Service52,
|
|
121
|
+
node56
|
|
122
|
+
} from "./tool-7eyb1ky7.js";
|
|
123
123
|
import {
|
|
124
124
|
__export
|
|
125
|
-
} from "./
|
|
125
|
+
} from "./tool-9rqn6x4v.js";
|
|
126
126
|
|
|
127
127
|
// src/plugin/host.ts
|
|
128
128
|
var exports_host = {};
|
|
@@ -140,36 +140,37 @@ var mutable = (value) => value;
|
|
|
140
140
|
var isRpcEvent = (event) => event.type.startsWith("rpc.");
|
|
141
141
|
var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
|
|
142
142
|
const app = yield* Metadata2;
|
|
143
|
-
const agents = yield*
|
|
144
|
-
const aisdk = yield*
|
|
145
|
-
const
|
|
146
|
-
const
|
|
147
|
-
const
|
|
148
|
-
const
|
|
149
|
-
const
|
|
150
|
-
const
|
|
151
|
-
const
|
|
152
|
-
const
|
|
153
|
-
const
|
|
154
|
-
const
|
|
155
|
-
const
|
|
156
|
-
const
|
|
157
|
-
const
|
|
158
|
-
const
|
|
159
|
-
const
|
|
160
|
-
const
|
|
161
|
-
const
|
|
162
|
-
const
|
|
163
|
-
const
|
|
164
|
-
const
|
|
165
|
-
const
|
|
143
|
+
const agents = yield* Service49;
|
|
144
|
+
const aisdk = yield* Service54;
|
|
145
|
+
const providers = yield* Service72;
|
|
146
|
+
const models = yield* Service71;
|
|
147
|
+
const commands = yield* Service68;
|
|
148
|
+
const bus = yield* Service80;
|
|
149
|
+
const integration = yield* Service73;
|
|
150
|
+
const kv = yield* Service70;
|
|
151
|
+
const mcp = yield* Service27;
|
|
152
|
+
const location = yield* Service77;
|
|
153
|
+
const reference = yield* Service33;
|
|
154
|
+
const rpc = yield* Service35;
|
|
155
|
+
const skill = yield* Service36;
|
|
156
|
+
const tools = yield* Service65;
|
|
157
|
+
const vcs = yield* Service50;
|
|
158
|
+
const websearch = yield* Service64;
|
|
159
|
+
const generate = yield* Service52;
|
|
160
|
+
const permission = yield* Service46;
|
|
161
|
+
const hooks = yield* Service67;
|
|
162
|
+
const sessions = yield* Service20;
|
|
163
|
+
const persistentPty = yield* Service51;
|
|
164
|
+
const locations = yield* Service44;
|
|
165
|
+
const worktrees = yield* Service38;
|
|
166
|
+
const locationInfo = () => new Info32({
|
|
166
167
|
directory: location.directory,
|
|
167
168
|
workspaceID: location.workspaceID,
|
|
168
169
|
project: location.project
|
|
169
170
|
});
|
|
170
|
-
const locationRef = (input) => input?.location === undefined ? undefined :
|
|
171
|
+
const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
|
|
171
172
|
directory: AbsolutePath2.make(input.location.directory ?? location.directory),
|
|
172
|
-
workspaceID: input.location.workspace === undefined ? location.workspaceID :
|
|
173
|
+
workspaceID: input.location.workspace === undefined ? location.workspaceID : ID10.make(input.location.workspace)
|
|
173
174
|
});
|
|
174
175
|
const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
|
|
175
176
|
const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
|
|
@@ -181,18 +182,18 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
181
182
|
return Effect.gen(function* () {
|
|
182
183
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
183
184
|
const plugins = yield* Plugin.Service;
|
|
184
|
-
const target = yield*
|
|
185
|
+
const target = yield* Service38;
|
|
185
186
|
yield* plugins.awaitActivation;
|
|
186
187
|
return yield* run(target);
|
|
187
188
|
}).pipe(Effect.provide(locations.get(ref)));
|
|
188
189
|
};
|
|
189
|
-
const decodeWorktree = Schema.decodeUnknownEffect(
|
|
190
|
+
const decodeWorktree = Schema.decodeUnknownEffect(Info7);
|
|
190
191
|
const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
|
|
191
192
|
const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
|
|
192
|
-
const location = yield*
|
|
193
|
-
const agents = yield*
|
|
193
|
+
const location = yield* Service77;
|
|
194
|
+
const agents = yield* Service49;
|
|
194
195
|
return {
|
|
195
|
-
location: new
|
|
196
|
+
location: new Info32({
|
|
196
197
|
directory: location.directory,
|
|
197
198
|
workspaceID: location.workspaceID,
|
|
198
199
|
project: location.project
|
|
@@ -259,36 +260,47 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
259
260
|
});
|
|
260
261
|
}
|
|
261
262
|
},
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
model: {
|
|
268
|
-
list: () => response(catalog.model.available()),
|
|
269
|
-
default: () => response(catalog.model.default())
|
|
270
|
-
},
|
|
271
|
-
reload: catalog.reload,
|
|
272
|
-
transform: (callback) => catalog.transform((editor) => {
|
|
263
|
+
provider: {
|
|
264
|
+
list: () => response(providers.available()),
|
|
265
|
+
get: (input) => providers.get(ID13.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider)))),
|
|
266
|
+
reload: providers.reload,
|
|
267
|
+
transform: (callback) => providers.transform((editor) => {
|
|
273
268
|
callback({
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
},
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
set: (providerID, modelID) => editor.model.default.set(ID18.make(providerID), ID17.make(modelID))
|
|
287
|
-
}
|
|
269
|
+
list: editor.list,
|
|
270
|
+
get: (id) => editor.get(ID13.make(id)),
|
|
271
|
+
add: (definition) => editor.add({
|
|
272
|
+
...definition,
|
|
273
|
+
sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID16.make(definition.sourceConnection.id) } : definition.sourceConnection
|
|
274
|
+
}),
|
|
275
|
+
update: (id, update) => editor.update(ID13.make(id), update),
|
|
276
|
+
remove: (id) => editor.remove(ID13.make(id)),
|
|
277
|
+
models: {
|
|
278
|
+
set: (id, models) => editor.models.set(ID13.make(id), models),
|
|
279
|
+
update: (providerID, modelID, update) => editor.models.update(ID13.make(providerID), ID12.make(modelID), update),
|
|
280
|
+
remove: (providerID, modelID) => editor.models.remove(ID13.make(providerID), ID12.make(modelID))
|
|
288
281
|
}
|
|
289
282
|
});
|
|
290
283
|
})
|
|
291
284
|
},
|
|
285
|
+
model: {
|
|
286
|
+
list: () => response(models.available()),
|
|
287
|
+
default: () => response(models.default()),
|
|
288
|
+
reload: models.reload,
|
|
289
|
+
transform: (callback) => models.transform((editor) => callback({
|
|
290
|
+
list: (providerID) => editor.list(providerID === undefined ? undefined : ID13.make(providerID)),
|
|
291
|
+
get: (providerID, modelID) => editor.get(ID13.make(providerID), ID12.make(modelID)),
|
|
292
|
+
update: (providerID, modelID, update) => editor.update(ID13.make(providerID), ID12.make(modelID), update),
|
|
293
|
+
remove: (providerID, modelID) => editor.remove(ID13.make(providerID), ID12.make(modelID)),
|
|
294
|
+
default: {
|
|
295
|
+
get: editor.default.get,
|
|
296
|
+
set: (providerID, modelID) => editor.default.set(ID13.make(providerID), ID12.make(modelID))
|
|
297
|
+
},
|
|
298
|
+
provider: {
|
|
299
|
+
list: editor.provider.list,
|
|
300
|
+
get: (id) => editor.provider.get(ID13.make(id))
|
|
301
|
+
}
|
|
302
|
+
}))
|
|
303
|
+
},
|
|
292
304
|
command: {
|
|
293
305
|
list: () => response(commands.list()),
|
|
294
306
|
reload: commands.reload,
|
|
@@ -308,14 +320,14 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
308
320
|
integration: {
|
|
309
321
|
list: () => response(integration.list()),
|
|
310
322
|
get: Effect.fn(function* (input) {
|
|
311
|
-
const item = yield* integration.get(
|
|
323
|
+
const item = yield* integration.get(ID14.make(input.integrationID));
|
|
312
324
|
if (!item)
|
|
313
325
|
return yield* Effect.fail(new Error(`Integration not found: ${input.integrationID}`));
|
|
314
326
|
return yield* response(Effect.succeed(item));
|
|
315
327
|
}),
|
|
316
328
|
connect: {
|
|
317
329
|
key: (input) => integration.connection.key({
|
|
318
|
-
integrationID:
|
|
330
|
+
integrationID: ID14.make(input.integrationID),
|
|
319
331
|
key: input.key,
|
|
320
332
|
answer: input.answer,
|
|
321
333
|
label: input.label
|
|
@@ -323,55 +335,55 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
323
335
|
},
|
|
324
336
|
oauth: {
|
|
325
337
|
connect: (input) => response(integration.oauth.connect({
|
|
326
|
-
integrationID:
|
|
338
|
+
integrationID: ID14.make(input.integrationID),
|
|
327
339
|
methodID: MethodID2.make(input.methodID),
|
|
328
340
|
answer: input.answer,
|
|
329
341
|
label: input.label
|
|
330
342
|
})),
|
|
331
343
|
status: (input) => response(integration.oauth.status({
|
|
332
|
-
integrationID:
|
|
344
|
+
integrationID: ID14.make(input.integrationID),
|
|
333
345
|
attemptID: AttemptID2.make(input.attemptID)
|
|
334
346
|
})),
|
|
335
347
|
complete: (input) => integration.oauth.complete({
|
|
336
|
-
integrationID:
|
|
348
|
+
integrationID: ID14.make(input.integrationID),
|
|
337
349
|
attemptID: AttemptID2.make(input.attemptID),
|
|
338
350
|
code: input.code
|
|
339
351
|
}),
|
|
340
352
|
cancel: (input) => integration.oauth.cancel({
|
|
341
|
-
integrationID:
|
|
353
|
+
integrationID: ID14.make(input.integrationID),
|
|
342
354
|
attemptID: AttemptID2.make(input.attemptID)
|
|
343
355
|
})
|
|
344
356
|
},
|
|
345
357
|
command: {
|
|
346
358
|
connect: (input) => response(integration.command.connect({
|
|
347
|
-
integrationID:
|
|
359
|
+
integrationID: ID14.make(input.integrationID),
|
|
348
360
|
methodID: MethodID2.make(input.methodID),
|
|
349
361
|
label: input.label
|
|
350
362
|
})),
|
|
351
363
|
status: (input) => response(integration.command.status({
|
|
352
|
-
integrationID:
|
|
364
|
+
integrationID: ID14.make(input.integrationID),
|
|
353
365
|
attemptID: AttemptID2.make(input.attemptID)
|
|
354
366
|
})),
|
|
355
367
|
cancel: (input) => integration.command.cancel({
|
|
356
|
-
integrationID:
|
|
368
|
+
integrationID: ID14.make(input.integrationID),
|
|
357
369
|
attemptID: AttemptID2.make(input.attemptID)
|
|
358
370
|
})
|
|
359
371
|
},
|
|
360
372
|
reload: integration.reload,
|
|
361
373
|
connection: {
|
|
362
|
-
active: (id) => integration.connection.active(
|
|
363
|
-
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id:
|
|
374
|
+
active: (id) => integration.connection.active(ID14.make(id)),
|
|
375
|
+
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID16.make(connection.id) } : connection)
|
|
364
376
|
},
|
|
365
377
|
transform: (callback) => integration.transform((editor) => {
|
|
366
378
|
callback({
|
|
367
379
|
list: () => mutable(editor.list()),
|
|
368
|
-
get: (id) => mutable(editor.get(
|
|
369
|
-
update: (id, update) => editor.update(
|
|
370
|
-
remove: (id) => editor.remove(
|
|
380
|
+
get: (id) => mutable(editor.get(ID14.make(id))),
|
|
381
|
+
update: (id, update) => editor.update(ID14.make(id), update),
|
|
382
|
+
remove: (id) => editor.remove(ID14.make(id)),
|
|
371
383
|
method: {
|
|
372
|
-
list: (id) => editor.method.list(
|
|
384
|
+
list: (id) => editor.method.list(ID14.make(id)),
|
|
373
385
|
update: (input) => editor.method.update(methodImplementation(input)),
|
|
374
|
-
remove: (id, method) => editor.method.remove(
|
|
386
|
+
remove: (id, method) => editor.method.remove(ID14.make(id), Schema.decodeUnknownSync(Method2)(method))
|
|
375
387
|
}
|
|
376
388
|
});
|
|
377
389
|
})
|
|
@@ -381,10 +393,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
381
393
|
const ref = locationRef(input);
|
|
382
394
|
if (ref && !isCurrentLocation(ref))
|
|
383
395
|
return Effect.gen(function* () {
|
|
384
|
-
const location = yield*
|
|
385
|
-
const mcp = yield*
|
|
396
|
+
const location = yield* Service77;
|
|
397
|
+
const mcp = yield* Service27;
|
|
386
398
|
return {
|
|
387
|
-
location: new
|
|
399
|
+
location: new Info32({
|
|
388
400
|
directory: location.directory,
|
|
389
401
|
workspaceID: location.workspaceID,
|
|
390
402
|
project: location.project
|
|
@@ -420,7 +432,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
420
432
|
reload: reference.reload,
|
|
421
433
|
transform: (callback) => reference.transform((editor) => {
|
|
422
434
|
callback({
|
|
423
|
-
add: (name, source) => editor.add(name, Schema.decodeUnknownSync(
|
|
435
|
+
add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source3)(source)),
|
|
424
436
|
remove: editor.remove,
|
|
425
437
|
list: editor.list,
|
|
426
438
|
get: editor.get
|
|
@@ -434,7 +446,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
434
446
|
callback({
|
|
435
447
|
list: () => mutable(editor.list()),
|
|
436
448
|
get: editor.get,
|
|
437
|
-
add: (value) => editor.add(Schema.decodeUnknownSync(
|
|
449
|
+
add: (value) => editor.add(Schema.decodeUnknownSync(Info6)(value)),
|
|
438
450
|
update: editor.update,
|
|
439
451
|
remove: editor.remove
|
|
440
452
|
});
|
|
@@ -462,19 +474,19 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
462
474
|
providers: () => response(websearch.providers()),
|
|
463
475
|
query: (input) => response(websearch.query({
|
|
464
476
|
query: input.query,
|
|
465
|
-
providerID: input.providerID === undefined ? undefined :
|
|
477
|
+
providerID: input.providerID === undefined ? undefined : ID11.make(input.providerID)
|
|
466
478
|
})),
|
|
467
479
|
reload: websearch.reload,
|
|
468
480
|
transform: (callback) => websearch.transform((editor) => {
|
|
469
481
|
callback({
|
|
470
482
|
add: (definition) => editor.add({
|
|
471
|
-
id:
|
|
483
|
+
id: ID11.make(definition.id),
|
|
472
484
|
name: definition.name,
|
|
473
485
|
execute: definition.execute
|
|
474
486
|
}),
|
|
475
487
|
default: {
|
|
476
488
|
get: editor.default.get,
|
|
477
|
-
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection :
|
|
489
|
+
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID11.make(selection))
|
|
478
490
|
}
|
|
479
491
|
});
|
|
480
492
|
})
|
|
@@ -503,7 +515,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
503
515
|
model: input?.model,
|
|
504
516
|
metadata: input?.metadata,
|
|
505
517
|
permissions: input?.permissions,
|
|
506
|
-
location: input?.location ??
|
|
518
|
+
location: input?.location ?? Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
507
519
|
}),
|
|
508
520
|
get: (input) => sessions.get(input.sessionID),
|
|
509
521
|
switchAgent: sessions.switchAgent,
|
|
@@ -522,29 +534,30 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
522
534
|
return context;
|
|
523
535
|
});
|
|
524
536
|
var requirements3 = LayerNode.group([
|
|
537
|
+
node55,
|
|
538
|
+
node52,
|
|
539
|
+
node58,
|
|
540
|
+
node77,
|
|
541
|
+
node76,
|
|
542
|
+
node73,
|
|
525
543
|
node85,
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
node62,
|
|
529
|
-
node46,
|
|
530
|
-
node83,
|
|
531
|
-
node63,
|
|
532
|
-
node82,
|
|
544
|
+
node78,
|
|
545
|
+
node75,
|
|
533
546
|
node32,
|
|
534
|
-
|
|
535
|
-
|
|
547
|
+
node82,
|
|
548
|
+
node37,
|
|
536
549
|
node39,
|
|
550
|
+
node40,
|
|
551
|
+
node70,
|
|
537
552
|
node53,
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
553
|
+
node69,
|
|
554
|
+
node42,
|
|
555
|
+
node56,
|
|
541
556
|
node49,
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
node40,
|
|
547
|
-
node38
|
|
557
|
+
node72,
|
|
558
|
+
node24,
|
|
559
|
+
node54,
|
|
560
|
+
node47
|
|
548
561
|
]);
|
|
549
562
|
function storage2(kv, pluginID) {
|
|
550
563
|
const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
|
|
@@ -571,7 +584,7 @@ function methodImplementation(input) {
|
|
|
571
584
|
if ("authorize" in input) {
|
|
572
585
|
const refresh = input.refresh;
|
|
573
586
|
return {
|
|
574
|
-
integrationID:
|
|
587
|
+
integrationID: ID14.make(input.integrationID),
|
|
575
588
|
method: { ...input.method, id: MethodID2.make(input.method.id) },
|
|
576
589
|
authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
|
|
577
590
|
if (authorization.mode === "auto") {
|
|
@@ -591,18 +604,18 @@ function methodImplementation(input) {
|
|
|
591
604
|
}
|
|
592
605
|
if (input.method.type === "env") {
|
|
593
606
|
return {
|
|
594
|
-
integrationID:
|
|
607
|
+
integrationID: ID14.make(input.integrationID),
|
|
595
608
|
method: input.method
|
|
596
609
|
};
|
|
597
610
|
}
|
|
598
611
|
if (input.method.type === "command") {
|
|
599
612
|
return {
|
|
600
|
-
integrationID:
|
|
613
|
+
integrationID: ID14.make(input.integrationID),
|
|
601
614
|
method: { ...input.method, id: MethodID2.make(input.method.id) }
|
|
602
615
|
};
|
|
603
616
|
}
|
|
604
617
|
return {
|
|
605
|
-
integrationID:
|
|
618
|
+
integrationID: ID14.make(input.integrationID),
|
|
606
619
|
method: input.method
|
|
607
620
|
};
|
|
608
621
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-40tbggcp.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service54,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node58
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -128,7 +128,7 @@ function prepareOptions(model, pkg) {
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
131
|
-
providerID:
|
|
131
|
+
providerID: ID13,
|
|
132
132
|
cause: Schema.Defect()
|
|
133
133
|
}) {
|
|
134
134
|
}
|
|
@@ -136,9 +136,9 @@ function initError(providerID) {
|
|
|
136
136
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
class
|
|
139
|
+
class Service54 extends Context.Service()("@opencode/AISDK") {
|
|
140
140
|
}
|
|
141
|
-
var locationLayer2 = Layer.effect(
|
|
141
|
+
var locationLayer2 = Layer.effect(Service54, Effect.gen(function* () {
|
|
142
142
|
let sdkHooks = [];
|
|
143
143
|
let languageHooks = [];
|
|
144
144
|
const languages = new Map;
|
|
@@ -176,7 +176,7 @@ var locationLayer2 = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
176
176
|
}
|
|
177
177
|
return event;
|
|
178
178
|
});
|
|
179
|
-
const service =
|
|
179
|
+
const service = Service54.of({
|
|
180
180
|
hook: {
|
|
181
181
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
182
182
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -817,6 +817,6 @@ function providerErrorMessage(error) {
|
|
|
817
817
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
818
818
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
819
819
|
}
|
|
820
|
-
var
|
|
820
|
+
var node58 = makeLocationNode({ service: Service54, layer: locationLayer2, deps: [] });
|
|
821
821
|
|
|
822
|
-
export { InitError2,
|
|
822
|
+
export { InitError2, Service54, locationLayer2, node58, exports_aisdk };
|