@opencode/core 0.0.0-dev-19624 → 0.0.0-dev-19626
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 +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +5 -5
- package/dist/bus.js +68 -68
- package/dist/chunks/{model-resolver-pcvs4s42.js → instance-005526v9.js} +15 -15
- package/dist/chunks/{model-resolver-mw2nv40j.js → instance-02s4da2m.js} +10 -10
- package/dist/chunks/{model-resolver-0mknfjdk.js → instance-05d804h8.js} +11 -11
- package/dist/chunks/{model-resolver-ksk58mrq.js → instance-08zchdps.js} +30 -30
- package/dist/chunks/{model-resolver-0zpzqjkr.js → instance-0gacneyh.js} +12 -12
- package/dist/chunks/{model-resolver-t550f9t1.js → instance-0gdmqesm.js} +4 -4
- package/dist/chunks/{model-resolver-0paq2nw3.js → instance-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-resolver-0q0f95c6.js → instance-0q0f95c6.js} +1 -1
- package/dist/chunks/{model-resolver-38ha70wd.js → instance-0yj5xewp.js} +30 -30
- package/dist/chunks/{model-resolver-z580hhtr.js → instance-151xgw5n.js} +11 -11
- package/dist/chunks/{model-resolver-ajt0qmtr.js → instance-167qt7f9.js} +11 -11
- package/dist/chunks/{model-resolver-9mgkh4de.js → instance-17r7sqk5.js} +32 -32
- package/dist/chunks/{model-resolver-xtv2mh4r.js → instance-18myttx2.js} +3 -3
- package/dist/chunks/{model-resolver-gxajrtvj.js → instance-1bg0qxs1.js} +6 -6
- package/dist/chunks/{model-resolver-1dazxqgg.js → instance-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-resolver-aq5y8b9e.js → instance-1g96y08y.js} +8 -8
- package/dist/chunks/{model-resolver-mtgfyzt9.js → instance-1ze3fj9p.js} +30 -30
- package/dist/chunks/{model-resolver-21r38tys.js → instance-21r38tys.js} +1 -1
- package/dist/chunks/{model-resolver-2402vzrj.js → instance-2402vzrj.js} +1 -1
- package/dist/chunks/{model-resolver-z63w68vq.js → instance-29x78va6.js} +6 -6
- package/dist/chunks/{model-resolver-2a5m3afh.js → instance-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-resolver-k9vjcjta.js → instance-2a9hxxpw.js} +25 -25
- package/dist/chunks/{model-resolver-sf22njts.js → instance-2tnr6z1w.js} +33 -33
- package/dist/chunks/{model-resolver-0kac7454.js → instance-2v1tekmx.js} +10 -10
- package/dist/chunks/{model-resolver-08ecq38n.js → instance-2y4s2rg0.js} +19 -19
- package/dist/chunks/{model-resolver-jw46dxtn.js → instance-2z1e8rxr.js} +3 -3
- package/dist/chunks/{model-resolver-wyfy9p70.js → instance-2zmvcxwn.js} +6 -6
- package/dist/chunks/{model-resolver-4gjh4rrg.js → instance-33vbamfj.js} +43 -43
- package/dist/chunks/{model-resolver-3fc6dm20.js → instance-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-resolver-3hepkmqq.js → instance-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-jt9m14re.js → instance-3kq5yncf.js} +13 -13
- package/dist/chunks/{model-resolver-40h30d2e.js → instance-3sm2tqew.js} +28 -28
- package/dist/chunks/{model-resolver-3smtnn6g.js → instance-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-89hfccde.js → instance-3tbzcjrn.js} +17 -17
- package/dist/chunks/{model-resolver-3tvqynh2.js → instance-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-cgv57mmc.js → instance-3vtqk0fd.js} +10 -10
- package/dist/chunks/{model-resolver-47yce66j.js → instance-3x9anw65.js} +15 -15
- package/dist/chunks/{model-resolver-jrcdwmcs.js → instance-3xt1tafv.js} +20 -20
- package/dist/chunks/{model-resolver-76j33bwa.js → instance-3z2rpyjg.js} +30 -30
- package/dist/chunks/{model-resolver-twghag3f.js → instance-41kev6en.js} +12 -12
- package/dist/chunks/instance-4jj5ge3x.js +251 -0
- package/dist/chunks/{model-resolver-9vq2t1gs.js → instance-4mewn31d.js} +22 -22
- package/dist/chunks/{model-resolver-q7bzmzk3.js → instance-4rh7nyge.js} +47 -47
- package/dist/chunks/{model-resolver-2fgn2we9.js → instance-57ez7d0k.js} +9 -9
- package/dist/chunks/{model-resolver-gk0n48rz.js → instance-58k680qt.js} +20 -20
- package/dist/chunks/{model-resolver-t597x4d8.js → instance-59a5kam3.js} +11 -11
- package/dist/chunks/{model-resolver-xawz5m8n.js → instance-5c0bdg24.js} +22 -22
- package/dist/chunks/{model-resolver-5c4hm403.js → instance-5c4hm403.js} +3 -3
- package/dist/chunks/{model-resolver-5daktx2q.js → instance-5daktx2q.js} +1 -1
- package/dist/chunks/{model-resolver-z5wa85ag.js → instance-5fx85d4x.js} +1 -1
- package/dist/chunks/{model-resolver-g608bnp8.js → instance-5h36w7b3.js} +26 -26
- package/dist/chunks/{model-resolver-tgpa0z63.js → instance-5nb2d01r.js} +2 -2
- package/dist/chunks/{model-resolver-5t3nmthw.js → instance-5t3nmthw.js} +2 -2
- package/dist/chunks/{model-resolver-9d28t3h2.js → instance-5v4sqzgr.js} +5 -5
- package/dist/chunks/{model-resolver-kkyytty7.js → instance-5xv9aaee.js} +17 -17
- package/dist/chunks/{model-resolver-cdhqsg5m.js → instance-62yskeeq.js} +8 -8
- package/dist/chunks/{model-resolver-669tq793.js → instance-669tq793.js} +1 -1
- package/dist/chunks/instance-6kdq0pjd.js +4 -0
- package/dist/chunks/{model-resolver-away93r8.js → instance-6m8qwvb9.js} +37 -37
- package/dist/chunks/{model-resolver-6msgmcgs.js → instance-6msgmcgs.js} +1 -1
- package/dist/chunks/{model-resolver-1qvh69xy.js → instance-6qqzc0bp.js} +11 -11
- package/dist/chunks/{model-resolver-z1ahc81n.js → instance-6xjq67s0.js} +44 -44
- package/dist/chunks/{model-resolver-4c8bw516.js → instance-703jyx7f.js} +8 -8
- package/dist/chunks/{model-resolver-7bmhse3q.js → instance-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-qgn6gcr1.js → instance-7dqw4kz8.js} +5 -5
- package/dist/chunks/{model-resolver-58ppqsv0.js → instance-7f1r43eh.js} +48 -48
- package/dist/chunks/{model-resolver-me3mgk02.js → instance-7gbft6an.js} +28 -28
- package/dist/chunks/{model-resolver-3p50jy0h.js → instance-7gq6gbe3.js} +18 -18
- package/dist/chunks/{model-resolver-7z7az0f5.js → instance-7j92jdde.js} +4 -4
- package/dist/chunks/{model-resolver-b85pverc.js → instance-7ysw83b4.js} +15 -15
- package/dist/chunks/{model-resolver-n07q14gc.js → instance-803gagz9.js} +20 -20
- package/dist/chunks/{model-resolver-cw541prr.js → instance-82tye6ms.js} +13 -13
- package/dist/chunks/{model-resolver-q3xkv71r.js → instance-85bxt0yz.js} +13 -13
- package/dist/chunks/{model-resolver-t71v2ka4.js → instance-89vjf07m.js} +5 -5
- package/dist/chunks/{model-resolver-8d7r5vzw.js → instance-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-resolver-jzh1899s.js → instance-8e2zpme0.js} +42 -42
- package/dist/chunks/{model-resolver-de5th1w4.js → instance-8spd7vcp.js} +17 -17
- package/dist/chunks/{model-resolver-e0kanx6f.js → instance-919tp9z0.js} +9 -9
- package/dist/chunks/{model-resolver-bgxcxs0p.js → instance-92a4ap4w.js} +5 -5
- package/dist/chunks/{model-resolver-5q5x7c6y.js → instance-95wf764r.js} +16 -16
- package/dist/chunks/{model-resolver-fw2sr2pv.js → instance-9bpbcn0x.js} +22 -22
- package/dist/chunks/{model-resolver-d3tz2ej1.js → instance-9ff31bqh.js} +9 -9
- package/dist/chunks/{model-resolver-67k4gcxk.js → instance-9msmm2tq.js} +4 -4
- package/dist/chunks/{model-resolver-gbmzg7c6.js → instance-9spjdt5y.js} +20 -20
- package/dist/chunks/{model-resolver-0tmbmzm8.js → instance-9xzpt3ep.js} +30 -30
- package/dist/chunks/{model-resolver-502d3ppp.js → instance-9y9hvn9f.js} +10 -10
- package/dist/chunks/{model-resolver-ca9547p7.js → instance-a33bht5e.js} +13 -13
- package/dist/chunks/{model-resolver-3fhgk65j.js → instance-a88f4eq7.js} +9 -9
- package/dist/chunks/{model-resolver-xqed8619.js → instance-a9gh96kw.js} +11 -11
- package/dist/chunks/{model-resolver-aaet6srn.js → instance-aaet6srn.js} +2 -2
- package/dist/chunks/{model-resolver-eg6jxap1.js → instance-an68154v.js} +16 -16
- package/dist/chunks/{model-resolver-f3ngv102.js → instance-axmvebxj.js} +21 -21
- package/dist/chunks/{model-resolver-b6gygkdw.js → instance-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-resolver-af4kcksd.js → instance-b8b3f19r.js} +9 -9
- package/dist/chunks/{model-resolver-btty7p3w.js → instance-bavw6ffe.js} +86 -86
- package/dist/chunks/{model-resolver-mfhfdr54.js → instance-bccb6npm.js} +4 -4
- package/dist/chunks/{model-resolver-jmphe03k.js → instance-bg2gq5qa.js} +4 -4
- package/dist/chunks/{model-resolver-9zzh4kq9.js → instance-bjtgkgtt.js} +17 -17
- package/dist/chunks/{model-resolver-tv8bzv1t.js → instance-c5dsyxmc.js} +24 -24
- package/dist/chunks/{model-resolver-kgfjjf6a.js → instance-cjys6k6m.js} +14 -14
- package/dist/chunks/{model-resolver-ee0x7daj.js → instance-ct44bwr3.js} +9 -9
- package/dist/chunks/{model-resolver-j34azf71.js → instance-cx92zwpy.js} +11 -11
- package/dist/chunks/{model-resolver-stppr3m7.js → instance-cyp3zcq5.js} +11 -11
- package/dist/chunks/{model-resolver-af04s6ss.js → instance-d2aac7k2.js} +5 -5
- package/dist/chunks/{model-resolver-n8cx0va0.js → instance-d42pmbxt.js} +3 -3
- package/dist/chunks/{model-resolver-3m0v8keb.js → instance-d70jxyey.js} +33 -33
- package/dist/chunks/{model-resolver-0v53mg2y.js → instance-dfe8djrf.js} +4 -4
- package/dist/chunks/{model-resolver-0erxy7q5.js → instance-dhj3npyc.js} +30 -30
- package/dist/chunks/{model-resolver-dj2t23y0.js → instance-dj2t23y0.js} +2 -2
- package/dist/chunks/{model-resolver-56cevs0r.js → instance-dkbfs573.js} +4 -4
- package/dist/chunks/{model-resolver-956r61jq.js → instance-dp6y6dpa.js} +9 -9
- package/dist/chunks/{model-resolver-dpkg50ah.js → instance-dpkg50ah.js} +1 -1
- package/dist/chunks/{model-resolver-dyqrmyzp.js → instance-dsg0rm71.js} +6 -6
- package/dist/chunks/{model-resolver-nvhcbejc.js → instance-dsh5gj19.js} +21 -21
- package/dist/chunks/{model-resolver-300e8nzh.js → instance-dxphz4rn.js} +33 -33
- package/dist/chunks/{model-resolver-cjdr13sd.js → instance-dzvkn7t8.js} +11 -11
- package/dist/chunks/{model-resolver-5qd3pb7m.js → instance-e3qxr5gk.js} +2 -2
- package/dist/chunks/{model-resolver-e5nv3ght.js → instance-e5nv3ght.js} +2 -2
- package/dist/chunks/{model-resolver-13cyde70.js → instance-e758p7qe.js} +32 -32
- package/dist/chunks/{model-resolver-e82z9tr0.js → instance-e82z9tr0.js} +1 -1
- package/dist/chunks/{model-resolver-dabzsmb9.js → instance-eamw3cyr.js} +25 -25
- package/dist/chunks/{model-resolver-ec3p188n.js → instance-ec3p188n.js} +2 -2
- package/dist/chunks/{model-resolver-mjfthb8v.js → instance-ed0w586q.js} +17 -17
- package/dist/chunks/{model-resolver-v3rr0qnk.js → instance-ed27kc2q.js} +24 -24
- package/dist/chunks/{model-resolver-ef5x83kb.js → instance-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-resolver-xh37m7r6.js → instance-ekgw5y1z.js} +5 -5
- package/dist/chunks/{model-resolver-mhkvc446.js → instance-eq1pz5kg.js} +3 -3
- package/dist/chunks/{model-resolver-etq0c3wd.js → instance-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-resolver-3pbjq009.js → instance-f32czd11.js} +11 -11
- package/dist/chunks/{model-resolver-kwsqyj6a.js → instance-f7fkew40.js} +27 -27
- package/dist/chunks/{model-resolver-t0fxg8b9.js → instance-fpmq6gma.js} +5 -5
- package/dist/chunks/{model-resolver-kpa7g2mg.js → instance-frqdc45t.js} +43 -43
- package/dist/chunks/{model-resolver-fxbjtjnd.js → instance-fxbjtjnd.js} +1 -1
- package/dist/chunks/{model-resolver-aepg8z33.js → instance-g15gwk1k.js} +26 -26
- package/dist/chunks/{model-resolver-7qh570j7.js → instance-g6qm2edy.js} +4 -4
- package/dist/chunks/{model-resolver-3bt2kz20.js → instance-g7sr1kve.js} +25 -25
- package/dist/chunks/{model-resolver-3tg3qg3s.js → instance-g8f82tga.js} +4 -4
- package/dist/chunks/{model-resolver-gd4qta3r.js → instance-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-55qn5pqp.js → instance-gfazvam9.js} +17 -17
- package/dist/chunks/{model-resolver-b6tfwsrv.js → instance-gffj713w.js} +15 -15
- package/dist/chunks/{model-resolver-j03x6629.js → instance-ggrxy4rs.js} +21 -21
- package/dist/chunks/{model-resolver-hzh4basz.js → instance-gjt8wv2y.js} +20 -20
- package/dist/chunks/{model-resolver-bes7d2ad.js → instance-gnpdrzyp.js} +4 -4
- package/dist/chunks/{model-resolver-t6a2ah85.js → instance-gqqc2kn1.js} +24 -24
- package/dist/chunks/{model-resolver-6e23dps4.js → instance-gr5q12fx.js} +9 -9
- package/dist/chunks/{model-resolver-h03wrkyp.js → instance-h03wrkyp.js} +2 -2
- package/dist/chunks/{model-resolver-eh5gfzyw.js → instance-h1yf0y0e.js} +7 -7
- package/dist/chunks/{model-resolver-4dgbcxzg.js → instance-h6r3nrb9.js} +4 -4
- package/dist/chunks/{model-resolver-h6vf3j39.js → instance-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-2bt6bea8.js → instance-h7ygw6q4.js} +9 -9
- package/dist/chunks/{model-resolver-hdnk95c8.js → instance-hdnk95c8.js} +2 -2
- package/dist/chunks/instance-hge1hkn3.js +26 -0
- package/dist/chunks/{model-resolver-ymeq0df2.js → instance-hspvzq38.js} +9 -9
- package/dist/chunks/{model-resolver-j56e64zr.js → instance-j56e64zr.js} +1 -1
- package/dist/chunks/{model-resolver-zdjzyrvw.js → instance-ja58kv6n.js} +14 -14
- package/dist/chunks/{model-resolver-vz8e1ew2.js → instance-jayyna5d.js} +27 -27
- package/dist/chunks/{model-resolver-7xqgs4c2.js → instance-jmqbe6bp.js} +5 -5
- package/dist/chunks/{model-resolver-y98q1xgq.js → instance-jw17pt90.js} +5 -5
- package/dist/chunks/{model-resolver-gs8qb5fn.js → instance-jzjrp6ac.js} +42 -42
- package/dist/chunks/{model-resolver-gezs4z4f.js → instance-k4drpexb.js} +3 -3
- package/dist/chunks/{model-resolver-jta15jv0.js → instance-k9c9mgdx.js} +6 -6
- package/dist/chunks/{model-resolver-93p64q73.js → instance-kjtnp8hj.js} +40 -40
- package/dist/chunks/{model-resolver-dhmh7aw6.js → instance-kne8f3cn.js} +4 -4
- package/dist/chunks/{model-resolver-adefstcf.js → instance-ksf81zt2.js} +11 -11
- package/dist/chunks/{model-resolver-m0jqrx5p.js → instance-m0jqrx5p.js} +2 -2
- package/dist/chunks/{model-resolver-m9w0rfyh.js → instance-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-h8thwg15.js → instance-mbeb8pgp.js} +16 -16
- package/dist/chunks/{model-resolver-1ygqh575.js → instance-mfqp6xfm.js} +6 -6
- package/dist/chunks/{model-resolver-q1fttkg5.js → instance-mqshrq5t.js} +9 -9
- package/dist/chunks/{model-resolver-y0tc0hsd.js → instance-myhakecn.js} +14 -14
- package/dist/chunks/{model-resolver-gzfky56a.js → instance-n8zr52k9.js} +15 -15
- package/dist/chunks/{model-resolver-neze0rnk.js → instance-nywjskf3.js} +26 -26
- package/dist/chunks/{model-resolver-jetrtpqb.js → instance-p0d34h28.js} +16 -16
- package/dist/chunks/{model-resolver-dbqjqbdf.js → instance-p5s2wgha.js} +22 -22
- package/dist/chunks/{model-resolver-hwxw7j17.js → instance-p6dqdzbz.js} +11 -11
- package/dist/chunks/{model-resolver-0sefqgtv.js → instance-p75hnr01.js} +2 -2
- package/dist/chunks/{model-resolver-5887gt1n.js → instance-p8fpqpay.js} +177 -177
- package/dist/chunks/{model-resolver-frdfcpkk.js → instance-pe1s98c6.js} +15 -15
- package/dist/chunks/{model-resolver-3r42cc5z.js → instance-pezedjaz.js} +18 -18
- package/dist/chunks/instance-phz3h32g.js +18 -0
- package/dist/chunks/{model-resolver-bscb95cy.js → instance-pjedbq3k.js} +4 -4
- package/dist/chunks/{model-resolver-pjvnvgmy.js → instance-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-pknna89w.js → instance-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-frva07hn.js → instance-pmx05hv5.js} +23 -23
- package/dist/chunks/{model-resolver-xk7wccaw.js → instance-q1f67bwr.js} +38 -38
- package/dist/chunks/{model-resolver-fyd77bxh.js → instance-q3ehw3cx.js} +22 -22
- package/dist/chunks/{model-resolver-c4vkqgmy.js → instance-q4bprqfk.js} +4 -4
- package/dist/chunks/{model-resolver-m3zza4qd.js → instance-q6d53jre.js} +8 -8
- package/dist/chunks/{model-resolver-y8bx4nrt.js → instance-q7pq59py.js} +16 -16
- package/dist/chunks/{model-resolver-7dcxm99m.js → instance-q9ave7j0.js} +26 -26
- package/dist/chunks/{model-resolver-bby7k7hh.js → instance-qn0j0dkc.js} +8 -8
- package/dist/chunks/{model-resolver-qsdy395h.js → instance-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-n8zt5qe2.js → instance-qvz4ctz3.js} +24 -24
- package/dist/chunks/{model-resolver-5d3x9756.js → instance-qxtdrv9q.js} +51 -51
- package/dist/chunks/{model-resolver-0z8c9324.js → instance-qzyph8ek.js} +7 -7
- package/dist/chunks/{model-resolver-2twrdw90.js → instance-r1cpq9ty.js} +5 -5
- package/dist/chunks/{model-resolver-qf7ga1s6.js → instance-r2dn7e69.js} +1 -1
- package/dist/chunks/{model-resolver-rtsrdkh6.js → instance-r4s75e97.js} +7 -7
- package/dist/chunks/{model-resolver-r9mregkx.js → instance-r9mregkx.js} +2 -2
- package/dist/chunks/{model-resolver-rdw6cm16.js → instance-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-resolver-pg3x4kqe.js → instance-rj6d5p5e.js} +3 -3
- package/dist/chunks/{model-resolver-2e8y9zy9.js → instance-rkevjsa4.js} +15 -15
- package/dist/chunks/{model-resolver-hfgb7cv0.js → instance-rmacqpyz.js} +20 -20
- package/dist/chunks/{model-resolver-anvx7hcz.js → instance-rp7edk77.js} +13 -13
- package/dist/chunks/{model-resolver-x30xw0sc.js → instance-rvydjrpx.js} +16 -16
- package/dist/chunks/{model-resolver-n936bkhn.js → instance-ry62k031.js} +12 -12
- package/dist/chunks/{model-resolver-cysw23rm.js → instance-rymwgvqq.js} +5 -5
- package/dist/chunks/{model-resolver-fch79rh9.js → instance-ryt7pzqc.js} +1 -1
- package/dist/chunks/{model-resolver-yrznvahk.js → instance-s4enseaf.js} +2 -2
- package/dist/chunks/{model-resolver-tgq28bjx.js → instance-s4kbqr0a.js} +21 -21
- package/dist/chunks/{model-resolver-0qkw0z8d.js → instance-s96gbbjc.js} +51 -51
- package/dist/chunks/{model-resolver-41r8dwtv.js → instance-sez6j504.js} +20 -20
- package/dist/chunks/{model-resolver-ragd31v1.js → instance-sj0pd38k.js} +10 -10
- package/dist/chunks/{model-resolver-0pjtw5ng.js → instance-sr9sb9y2.js} +18 -18
- package/dist/chunks/{model-resolver-ab9238g2.js → instance-ss0awb04.js} +4 -4
- package/dist/chunks/{model-resolver-xdf7vygc.js → instance-sy0w1jwb.js} +23 -23
- package/dist/chunks/{model-resolver-tazgh4e4.js → instance-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-tcezcvh9.js → instance-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-resolver-tdstcens.js → instance-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-n3ev54rj.js → instance-tfmm411s.js} +30 -30
- package/dist/chunks/{model-resolver-05nvcser.js → instance-tfnergqq.js} +59 -59
- package/dist/chunks/{model-resolver-gv6a8nnw.js → instance-th5km1p3.js} +5 -5
- package/dist/chunks/{model-resolver-tvtrv512.js → instance-tvtrv512.js} +1 -1
- package/dist/chunks/{model-resolver-qnrbpj9b.js → instance-twbrtgyh.js} +6 -6
- package/dist/chunks/{model-resolver-x3et2xth.js → instance-v4hmzr0r.js} +8 -8
- package/dist/chunks/{model-resolver-2ay9edyp.js → instance-v6d4v6jq.js} +30 -30
- package/dist/chunks/{model-resolver-yby6xn0t.js → instance-vbcz9h2j.js} +7 -7
- package/dist/chunks/{model-resolver-1j146x5q.js → instance-vep8e94v.js} +29 -29
- package/dist/chunks/{model-resolver-veqvce7d.js → instance-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-3w3j0q5e.js → instance-vf304emn.js} +18 -18
- package/dist/chunks/{model-resolver-7jdzwnm1.js → instance-vjzz8sxc.js} +35 -35
- package/dist/chunks/{model-resolver-c5wz01h2.js → instance-vqe3a6nj.js} +17 -17
- package/dist/chunks/{model-resolver-xe1vchrn.js → instance-vs0gackm.js} +18 -18
- package/dist/chunks/{model-resolver-fkhk4y1m.js → instance-vs2g7sm6.js} +21 -21
- package/dist/chunks/{model-resolver-f5cjs50g.js → instance-vsgtcbn2.js} +28 -28
- package/dist/chunks/{model-resolver-1032maa7.js → instance-vt5h22tz.js} +17 -17
- package/dist/chunks/{model-resolver-vzcthcp8.js → instance-vzcthcp8.js} +1 -1
- package/dist/chunks/{model-resolver-e53te25d.js → instance-vze34wk4.js} +6 -6
- package/dist/chunks/{model-resolver-v8jfbz3g.js → instance-w21bzq9q.js} +6 -6
- package/dist/chunks/{model-resolver-yhm2n21y.js → instance-w3eyqdtb.js} +30 -30
- package/dist/chunks/{model-resolver-w3wsvvr9.js → instance-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-wd87259q.js → instance-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-z10et0r2.js → instance-wdsnhfsd.js} +10 -10
- package/dist/chunks/{model-resolver-88ksh428.js → instance-wf1efbtj.js} +24 -24
- package/dist/chunks/{model-resolver-j2sw0176.js → instance-wfrdzx2b.js} +12 -12
- package/dist/chunks/{model-resolver-2a2x9s8s.js → instance-wg2pkbq9.js} +4 -4
- package/dist/chunks/{model-resolver-pg99pk3y.js → instance-wvjz3gc7.js} +4 -4
- package/dist/chunks/{model-resolver-bs5rr28p.js → instance-wyawgadg.js} +3 -3
- package/dist/chunks/{model-resolver-x1ezjp6w.js → instance-x1ezjp6w.js} +1 -1
- package/dist/chunks/{model-resolver-s8214884.js → instance-x4zba2ff.js} +5 -5
- package/dist/chunks/{model-resolver-sxz6gkc3.js → instance-xb02k0wq.js} +7 -7
- package/dist/chunks/{model-resolver-bc36thva.js → instance-xh1aq95h.js} +37 -37
- package/dist/chunks/{model-resolver-pvd6ntgs.js → instance-xm8qr0x3.js} +9 -9
- package/dist/chunks/{model-resolver-34z1s69y.js → instance-xqxgzzam.js} +4 -4
- package/dist/chunks/{model-resolver-g8atgw3j.js → instance-xvtqr6gp.js} +8 -8
- package/dist/chunks/{model-resolver-x0v2vg57.js → instance-xzj84bvr.js} +23 -23
- package/dist/chunks/{model-resolver-y1fvbwt7.js → instance-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-50341da0.js → instance-y3ye5brk.js} +11 -11
- package/dist/chunks/{model-resolver-rwnjbtn0.js → instance-y9ap2p02.js} +16 -16
- package/dist/chunks/{model-resolver-vdbejzap.js → instance-yctkbaw6.js} +18 -18
- package/dist/chunks/{model-resolver-qjgpmpt2.js → instance-ycw8yczh.js} +3 -3
- package/dist/chunks/{model-resolver-1acjjqhc.js → instance-yp2x3t23.js} +4 -4
- package/dist/chunks/{model-resolver-nr0ashrr.js → instance-yrbs634a.js} +10 -10
- package/dist/chunks/{model-resolver-yrhqyw5v.js → instance-yrhqyw5v.js} +1 -1
- package/dist/chunks/{model-resolver-89qakztx.js → instance-yvxb46eq.js} +5 -5
- package/dist/chunks/{model-resolver-4kreg4y2.js → instance-z076nmc8.js} +82 -82
- package/dist/chunks/{model-resolver-z0bkrqjs.js → instance-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-56bnbftg.js → instance-z3nay82g.js} +9 -9
- package/dist/chunks/instance-z4k1nywn.js +468 -0
- package/dist/chunks/{model-resolver-9h4pky5p.js → instance-z5x28zm6.js} +7 -7
- package/dist/chunks/{model-resolver-58cchz3y.js → instance-zbkqp5t7.js} +36 -36
- package/dist/chunks/{model-resolver-zeh9ct20.js → instance-zeh9ct20.js} +2 -2
- package/dist/chunks/{model-resolver-jk8r4hg4.js → instance-zfwtjyrh.js} +13 -13
- package/dist/chunks/{model-resolver-fgad9zs1.js → instance-zmzwkbhv.js} +5 -5
- package/dist/chunks/{model-resolver-zr2ceqn5.js → instance-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-80nc4spm.js → instance-zsnh4763.js} +9 -9
- package/dist/chunks/{model-resolver-zxq2ej10.js → instance-zxq2ej10.js} +1 -1
- package/dist/chunks/{model-resolver-avt77bbv.js → instance-zznd93jw.js} +15 -15
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +158 -158
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- 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 +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- 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 +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 +69 -69
- 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 +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +105 -105
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +100 -100
- 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 -98
- 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 +353 -353
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +74 -74
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +133 -133
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +350 -350
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +126 -126
- 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 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- 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 +215 -215
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- 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 -90
- 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 -89
- package/dist/plugin/provider/vllm.js +119 -119
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- 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 +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +150 -150
- package/dist/session/diff.js +87 -87
- 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 +216 -216
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +149 -149
- 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 +129 -129
- 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 +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +227 -227
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +122 -122
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +92 -92
- 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 +125 -125
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +109 -109
- 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/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 +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- 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/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- 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 +340 -340
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/model-resolver-0mesazry.js +0 -4
- package/dist/chunks/model-resolver-1x11rq2a.js +0 -18
- package/dist/chunks/model-resolver-365vt7ws.js +0 -26
- package/dist/chunks/model-resolver-7cd0656b.js +0 -468
- package/dist/chunks/model-resolver-d4wbe6d2.js +0 -251
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → instance-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → instance-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → instance-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → instance-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → instance-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → instance-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → instance-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → instance-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → instance-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → instance-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → instance-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → instance-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3w5fmr99.js → instance-3w5fmr99.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → instance-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → instance-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → instance-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → instance-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → instance-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → instance-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → instance-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → instance-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → instance-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → instance-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → instance-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → instance-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → instance-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-922hggd3.js → instance-922hggd3.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → instance-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → instance-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → instance-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → instance-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → instance-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → instance-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → instance-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → instance-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → instance-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → instance-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → instance-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → instance-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → instance-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → instance-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → instance-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → instance-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → instance-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → instance-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → instance-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → instance-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → instance-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → instance-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → instance-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → instance-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → instance-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → instance-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fxgpk5d8.js → instance-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → instance-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → instance-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → instance-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → instance-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hjbc5kem.js → instance-hjbc5kem.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → instance-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → instance-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → instance-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → instance-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → instance-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → instance-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → instance-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → instance-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → instance-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → instance-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → instance-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → instance-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → instance-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → instance-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → instance-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → instance-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → instance-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → instance-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → instance-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → instance-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → instance-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-sk3qaz4a.js → instance-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → instance-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-twg0f83k.js → instance-twg0f83k.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → instance-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → instance-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → instance-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → instance-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → instance-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → instance-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → instance-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8cydn3q.js → instance-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → instance-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → instance-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → instance-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → instance-z9919s4g.js} +0 -0
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service66
|
|
4
|
+
} from "./instance-33vbamfj.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-qsdy395h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigWebSearchPlugin: () =>
|
|
16
|
-
Plugin: () =>
|
|
13
|
+
var exports_websearch = {};
|
|
14
|
+
__export(exports_websearch, {
|
|
15
|
+
ConfigWebSearchPlugin: () => exports_websearch,
|
|
16
|
+
Plugin: () => Plugin11
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin11 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service66;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin39 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin11, exports_websearch };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID14,
|
|
3
|
+
Service74,
|
|
4
|
+
node79
|
|
5
|
+
} from "./instance-g7sr1kve.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID13,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
11
11
|
nativeSettings2,
|
|
12
12
|
mergeOverlay2,
|
|
13
13
|
mergeHeaders2,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service73,
|
|
15
|
+
node78
|
|
16
|
+
} from "./instance-tfmm411s.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service49,
|
|
19
|
+
node52
|
|
20
|
+
} from "./instance-y3ye5brk.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
22
|
+
ID12,
|
|
23
23
|
VariantID2,
|
|
24
24
|
Ref2,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service72,
|
|
26
|
+
node77
|
|
27
|
+
} from "./instance-w3eyqdtb.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./instance-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/model-resolver.ts
|
|
33
33
|
var exports_model_resolver = {};
|
|
@@ -36,15 +36,15 @@ __export(exports_model_resolver, {
|
|
|
36
36
|
ModelConfigurationError: () => ModelConfigurationError3,
|
|
37
37
|
ModelInitializationError: () => ModelInitializationError3,
|
|
38
38
|
ModelResolver: () => exports_model_resolver,
|
|
39
|
-
Service: () =>
|
|
39
|
+
Service: () => Service48,
|
|
40
40
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
|
|
41
41
|
UnsupportedCompactionError: () => UnsupportedCompactionError3,
|
|
42
42
|
UnsupportedPackageError: () => UnsupportedPackageError3,
|
|
43
43
|
VariantUnavailableError: () => VariantUnavailableError3,
|
|
44
44
|
fromCatalogModel: () => fromCatalogModel2,
|
|
45
45
|
hasPackage: () => hasPackage2,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
layer: () => layer18,
|
|
47
|
+
node: () => node51,
|
|
48
48
|
resolveModel: () => resolveModel2,
|
|
49
49
|
withVariant: () => withVariant2
|
|
50
50
|
});
|
|
@@ -54,8 +54,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
54
54
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
55
55
|
import { Npm } from "@opencode/util/npm";
|
|
56
56
|
class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
57
|
-
providerID:
|
|
58
|
-
modelID:
|
|
57
|
+
providerID: ID13,
|
|
58
|
+
modelID: ID12,
|
|
59
59
|
variant: VariantID2
|
|
60
60
|
}) {
|
|
61
61
|
get message() {
|
|
@@ -64,8 +64,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
67
|
-
providerID:
|
|
68
|
-
modelID:
|
|
67
|
+
providerID: ID13,
|
|
68
|
+
modelID: ID12,
|
|
69
69
|
package: Schema.String
|
|
70
70
|
}) {
|
|
71
71
|
get message() {
|
|
@@ -75,8 +75,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
75
75
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
76
76
|
|
|
77
77
|
class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
78
|
-
providerID:
|
|
79
|
-
modelID:
|
|
78
|
+
providerID: ID13,
|
|
79
|
+
modelID: ID12,
|
|
80
80
|
package: Schema.String,
|
|
81
81
|
detail: Schema.String
|
|
82
82
|
}) {
|
|
@@ -86,8 +86,8 @@ class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
89
|
-
providerID:
|
|
90
|
-
modelID:
|
|
89
|
+
providerID: ID13,
|
|
90
|
+
modelID: ID12,
|
|
91
91
|
package: Schema.String,
|
|
92
92
|
phase: InitializationPhase2,
|
|
93
93
|
detail: Schema.String
|
|
@@ -98,8 +98,8 @@ class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
101
|
-
providerID:
|
|
102
|
-
modelID:
|
|
101
|
+
providerID: ID13,
|
|
102
|
+
modelID: ID12,
|
|
103
103
|
variables: Schema.Array(Schema.String)
|
|
104
104
|
}) {
|
|
105
105
|
get message() {
|
|
@@ -108,8 +108,8 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
|
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
111
|
-
providerID:
|
|
112
|
-
modelID:
|
|
111
|
+
providerID: ID13,
|
|
112
|
+
modelID: ID12,
|
|
113
113
|
route: Schema.String
|
|
114
114
|
}) {
|
|
115
115
|
get message() {
|
|
@@ -117,7 +117,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
class
|
|
120
|
+
class Service48 extends Context.Service()("@opencode/ModelResolver") {
|
|
121
121
|
}
|
|
122
122
|
var withVariant2 = (model, variantID) => {
|
|
123
123
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -257,15 +257,15 @@ var causeMessage = (cause) => {
|
|
|
257
257
|
};
|
|
258
258
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
259
259
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
260
|
-
var
|
|
261
|
-
const providers = yield*
|
|
262
|
-
const models = yield*
|
|
263
|
-
const integrations = yield*
|
|
260
|
+
var layer18 = Layer.effect(Service48, Effect.gen(function* () {
|
|
261
|
+
const providers = yield* Service73;
|
|
262
|
+
const models = yield* Service72;
|
|
263
|
+
const integrations = yield* Service74;
|
|
264
264
|
const npm = yield* Npm.Service;
|
|
265
|
-
const aisdk = yield*
|
|
265
|
+
const aisdk = yield* Service49;
|
|
266
266
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
267
267
|
const provider = yield* providers.get(selected.providerID);
|
|
268
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
268
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
|
|
269
269
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
270
270
|
const runtimeInfo = yield* withVariant2(selected, variant);
|
|
271
271
|
const model = yield* fromCatalogModel2(runtimeInfo, credential, {
|
|
@@ -287,7 +287,7 @@ var layer23 = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
287
287
|
websocket: selected.websocket ?? false
|
|
288
288
|
};
|
|
289
289
|
});
|
|
290
|
-
return
|
|
290
|
+
return Service48.of({
|
|
291
291
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
292
292
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
|
|
293
293
|
if (!selected)
|
|
@@ -304,10 +304,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
304
304
|
const name = packageName2(packageName);
|
|
305
305
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
306
306
|
}
|
|
307
|
-
var
|
|
308
|
-
service:
|
|
309
|
-
layer:
|
|
310
|
-
deps: [
|
|
307
|
+
var node51 = makeLocationNode({
|
|
308
|
+
service: Service48,
|
|
309
|
+
layer: layer18,
|
|
310
|
+
deps: [node78, node77, node79, Npm.node, node52]
|
|
311
311
|
});
|
|
312
312
|
|
|
313
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3,
|
|
313
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service48, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer18, node51, exports_model_resolver };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service31,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node35
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service31 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service31, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service31.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service43, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node35 = makeGlobalNode({ service: Service31, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service31, node35, exports_environment };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./instance-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options9,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options9 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options9]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options9, Spec2, exports_plugin3 };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80,
|
|
6
6
|
node85
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-q4bprqfk.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event20,
|
|
10
|
+
Service76,
|
|
11
|
+
node81
|
|
12
|
+
} from "./instance-3sm2tqew.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service77,
|
|
15
|
+
node82
|
|
16
|
+
} from "./instance-p0d34h28.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service60,
|
|
19
|
+
node63
|
|
20
|
+
} from "./instance-ed27kc2q.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID15,
|
|
23
|
+
Service75,
|
|
24
|
+
node80
|
|
25
|
+
} from "./instance-ggrxy4rs.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./instance-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID14,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service74,
|
|
34
|
+
node79
|
|
35
|
+
} from "./instance-g7sr1kve.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./instance-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
44
|
NotFoundError: () => NotFoundError4,
|
|
45
|
-
Options: () =>
|
|
45
|
+
Options: () => Options3,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service28,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
|
-
configured: () =>
|
|
57
|
-
layer: () =>
|
|
58
|
-
node: () =>
|
|
56
|
+
configured: () => configured3,
|
|
57
|
+
layer: () => layer13,
|
|
58
|
+
node: () => node32
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -92,21 +92,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
92
92
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
93
93
|
var cloneConfig = (config) => structuredClone(config);
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service28 extends Context.Service()("@opencode/MCP") {
|
|
96
96
|
}
|
|
97
|
-
var
|
|
97
|
+
var Options3 = Schema.Struct({
|
|
98
98
|
clientInfo: Schema.optional(Schema.Struct({
|
|
99
99
|
name: Schema.String,
|
|
100
100
|
version: Schema.String
|
|
101
101
|
}))
|
|
102
102
|
});
|
|
103
|
-
var
|
|
104
|
-
const location = yield*
|
|
105
|
-
const environment = yield*
|
|
103
|
+
var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
104
|
+
const location = yield* Service77;
|
|
105
|
+
const environment = yield* Service60;
|
|
106
106
|
const bus = yield* Service80;
|
|
107
|
-
const forms = yield*
|
|
108
|
-
const integration = yield*
|
|
109
|
-
const credentials = yield*
|
|
107
|
+
const forms = yield* Service75;
|
|
108
|
+
const integration = yield* Service74;
|
|
109
|
+
const credentials = yield* Service76;
|
|
110
110
|
const root = yield* Effect.scope;
|
|
111
111
|
const fork = yield* FiberSet.makeRuntime();
|
|
112
112
|
const entries = new Map;
|
|
@@ -118,7 +118,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
118
118
|
return;
|
|
119
119
|
const remote = entry.config;
|
|
120
120
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
121
|
-
const integrationID =
|
|
121
|
+
const integrationID = ID14.make(suffix);
|
|
122
122
|
entry.integrationID = integrationID;
|
|
123
123
|
owned.add(integrationID);
|
|
124
124
|
const methodID = MethodID2.make(suffix);
|
|
@@ -134,7 +134,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
134
134
|
method: { id: methodID, type: "oauth", label: name },
|
|
135
135
|
authorize: () => Effect.gen(function* () {
|
|
136
136
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
137
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
137
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service76, credentials));
|
|
138
138
|
})
|
|
139
139
|
});
|
|
140
140
|
}).pipe(Scope.provide(scope));
|
|
@@ -150,12 +150,12 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
150
150
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
151
151
|
return;
|
|
152
152
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
153
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
153
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service76, credentials));
|
|
154
154
|
});
|
|
155
155
|
const elicitation = {
|
|
156
156
|
create: (input) => Effect.gen(function* () {
|
|
157
157
|
if (input.params.mode === "url") {
|
|
158
|
-
const formID =
|
|
158
|
+
const formID = ID15.create();
|
|
159
159
|
const elicitationID = input.params.elicitationId;
|
|
160
160
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
161
161
|
if (key)
|
|
@@ -239,7 +239,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
239
239
|
entry.scope = scope;
|
|
240
240
|
const authProvider = yield* connectProvider(entry);
|
|
241
241
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
242
|
-
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
242
|
+
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service60, environment), Scope.provide(scope), Effect.exit);
|
|
243
243
|
if (Exit.isSuccess(result)) {
|
|
244
244
|
entry.client = result.value.connection;
|
|
245
245
|
entry.tools = result.value.tools.map((tool) => toTool(name, entry, tool));
|
|
@@ -363,7 +363,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
363
363
|
yield* startServer(name, entry);
|
|
364
364
|
}).pipe(locks.withLock(name));
|
|
365
365
|
});
|
|
366
|
-
fork(bus.subscribe(
|
|
366
|
+
fork(bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
367
367
|
const state = create3({
|
|
368
368
|
name: "mcp",
|
|
369
369
|
initial: () => ({
|
|
@@ -389,7 +389,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
389
389
|
}),
|
|
390
390
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
391
391
|
});
|
|
392
|
-
return
|
|
392
|
+
return Service28.of({
|
|
393
393
|
transform: state.transform,
|
|
394
394
|
reload: state.reload,
|
|
395
395
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -508,14 +508,14 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
508
508
|
})
|
|
509
509
|
});
|
|
510
510
|
}));
|
|
511
|
-
function
|
|
511
|
+
function configured3(options) {
|
|
512
512
|
return makeLocationNode({
|
|
513
|
-
service:
|
|
514
|
-
layer:
|
|
515
|
-
deps: [
|
|
513
|
+
service: Service28,
|
|
514
|
+
layer: layer13(options),
|
|
515
|
+
deps: [node82, node63, node85, node80, node79, node81]
|
|
516
516
|
});
|
|
517
517
|
}
|
|
518
|
-
var
|
|
518
|
+
var node32 = configured3();
|
|
519
519
|
function toElicitationField(key, property, required) {
|
|
520
520
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
521
521
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -566,4 +566,4 @@ function toElicitationField(key, property, required) {
|
|
|
566
566
|
}
|
|
567
567
|
}
|
|
568
568
|
|
|
569
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2,
|
|
569
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service28, Options3, layer13, configured3, node32, exports_mcp4 };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service77
|
|
9
|
+
} from "./instance-p0d34h28.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service60
|
|
12
|
+
} from "./instance-ed27kc2q.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service59
|
|
16
|
+
} from "./instance-7gq6gbe3.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./instance-0yj5xewp.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service51
|
|
26
|
+
} from "./instance-s96gbbjc.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service41
|
|
29
|
+
} from "./instance-pezedjaz.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./instance-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
38
|
Input: () => Input8,
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
39
|
+
Output: () => Output6,
|
|
40
|
+
Plugin: () => Plugin39,
|
|
41
41
|
name: () => name8,
|
|
42
|
-
toModelContent: () =>
|
|
42
|
+
toModelContent: () => toModelContent4
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
@@ -65,8 +65,8 @@ var Input8 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output6 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent4 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,20 +83,20 @@ var toModelContent3 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin39 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service60;
|
|
90
|
+
const ripgrep = yield* Service59;
|
|
91
|
+
const location = yield* Service77;
|
|
92
|
+
const access = yield* Service41;
|
|
93
|
+
const permission = yield* Service51;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
95
|
name: name8,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
98
|
input: Input8,
|
|
99
|
-
output:
|
|
99
|
+
output: Output6,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
@@ -144,7 +144,7 @@ var Plugin23 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent4(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin23 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export { name8, Input8,
|
|
157
|
+
export { name8, Input8, Output6, toModelContent4, Plugin39, exports_grep };
|