@opencode/core 0.0.0-dev-20374 → 0.0.0-dev-20377
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{config-79mkp39e.js → repository-04atd798.js} +4 -4
- package/dist/chunks/{config-y1gyxn3e.js → repository-0a237mzv.js} +12 -12
- package/dist/chunks/{config-7gm4eydx.js → repository-0bmz8k31.js} +32 -32
- package/dist/chunks/{config-tj2t611y.js → repository-0jnnt1bs.js} +20 -20
- package/dist/chunks/{config-3jjmyz04.js → repository-0k9hz50x.js} +20 -20
- package/dist/chunks/{config-cp5pba35.js → repository-0magjvjs.js} +15 -15
- package/dist/chunks/{config-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
- package/dist/chunks/{config-bct739vz.js → repository-0v53mg2y.js} +4 -4
- package/dist/chunks/{config-4873453p.js → repository-0xgfsmsc.js} +4 -4
- package/dist/chunks/{config-6ce9hca4.js → repository-0zh0x4h1.js} +22 -22
- package/dist/chunks/{config-n5qf5bvj.js → repository-0ztvbm79.js} +30 -30
- package/dist/chunks/{config-k4prt2gq.js → repository-10w0r48r.js} +3 -3
- package/dist/chunks/{config-scqexk3r.js → repository-14v0t5se.js} +86 -86
- package/dist/chunks/{config-zq6wejh9.js → repository-1dak9s0j.js} +23 -23
- package/dist/chunks/{config-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
- package/dist/chunks/{config-4th2rfym.js → repository-1n9hcfy3.js} +15 -15
- package/dist/chunks/{config-21r38tys.js → repository-21r38tys.js} +1 -1
- package/dist/chunks/{config-zefqnety.js → repository-21y796mf.js} +9 -9
- package/dist/chunks/{config-z7mtcp3b.js → repository-23tvs9mh.js} +20 -20
- package/dist/chunks/{config-ms93yq6r.js → repository-25cs5cen.js} +8 -8
- package/dist/chunks/{config-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
- package/dist/chunks/{config-57ez7d0k.js → repository-2fgn2we9.js} +9 -9
- package/dist/chunks/{config-74q11y06.js → repository-2hkadfk1.js} +11 -11
- package/dist/chunks/{config-y889qgws.js → repository-2j74qy9w.js} +4 -4
- package/dist/chunks/{config-qgn6gcr1.js → repository-2k8khapm.js} +5 -5
- package/dist/chunks/{config-hrqezqan.js → repository-2rahks1y.js} +24 -24
- package/dist/chunks/{config-rgjx1tzk.js → repository-3373zw91.js} +11 -11
- package/dist/chunks/{config-cpt9vg03.js → repository-36mnffrz.js} +4 -4
- package/dist/chunks/{config-ph842b28.js → repository-3ewed21c.js} +4 -4
- package/dist/chunks/{config-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
- package/dist/chunks/{config-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
- package/dist/chunks/{config-sj9x4p0q.js → repository-3kjwbdcf.js} +8 -8
- package/dist/chunks/{config-vewtf1rp.js → repository-3sfbkq17.js} +6 -6
- package/dist/chunks/{config-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
- package/dist/chunks/repository-3snht0cr.js +252 -0
- package/dist/chunks/{config-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
- package/dist/chunks/{config-mb0btmem.js → repository-3xcbwh8b.js} +1 -1
- package/dist/chunks/{config-3zsf4n22.js → repository-3zsf4n22.js} +1 -1
- package/dist/chunks/{config-4z5d6mvx.js → repository-40v6kns3.js} +9 -9
- package/dist/chunks/{config-tjernm89.js → repository-436fakxd.js} +29 -29
- package/dist/chunks/{config-xsxzmn3v.js → repository-45g6rp4p.js} +8 -8
- package/dist/chunks/{config-0e5yaj3r.js → repository-4f06rze2.js} +10 -10
- package/dist/chunks/{config-205535w4.js → repository-4hzcvfa9.js} +16 -16
- package/dist/chunks/{config-4jbaqm9j.js → repository-4pq2ykhk.js} +10 -10
- package/dist/chunks/{config-36tt8nd9.js → repository-4xvg8qhq.js} +83 -83
- package/dist/chunks/{config-j5w2yx54.js → repository-51f5btjf.js} +6 -6
- package/dist/chunks/{config-54ma36ye.js → repository-54ma36ye.js} +1 -1
- package/dist/chunks/{config-1ygqh575.js → repository-56gdpj1q.js} +9 -9
- package/dist/chunks/{config-5daktx2q.js → repository-5daktx2q.js} +1 -1
- package/dist/chunks/{config-1gdbey34.js → repository-5jr1zcyz.js} +40 -40
- package/dist/chunks/{config-pfsdbphp.js → repository-5nm3sjh9.js} +11 -11
- package/dist/chunks/{config-e3qxr5gk.js → repository-5qd3pb7m.js} +2 -2
- package/dist/chunks/{config-4wgjrr7k.js → repository-5qedxm44.js} +11 -11
- package/dist/chunks/{config-rt7mzvcd.js → repository-5rf1rhax.js} +24 -24
- package/dist/chunks/{config-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
- package/dist/chunks/{config-7vk6skb7.js → repository-5txyz6kk.js} +9 -9
- package/dist/chunks/{config-yxa19p70.js → repository-60ycj86c.js} +21 -21
- package/dist/chunks/{config-7pt32xw7.js → repository-61d2erc5.js} +28 -28
- package/dist/chunks/{config-v33c1sxc.js → repository-667yebj2.js} +47 -47
- package/dist/chunks/{config-669tq793.js → repository-669tq793.js} +1 -1
- package/dist/chunks/{config-kptdj79q.js → repository-6b8mt4qe.js} +16 -16
- package/dist/chunks/{config-ta2h439c.js → repository-6d58n71n.js} +20 -20
- package/dist/chunks/repository-6evwh1wj.js +26 -0
- package/dist/chunks/{config-aewkdnah.js → repository-6gb6ah6k.js} +1 -1
- package/dist/chunks/{config-63k9yk1c.js → repository-6mksg9xh.js} +27 -27
- package/dist/chunks/{config-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
- package/dist/chunks/{config-7fkffz83.js → repository-6pc27hjz.js} +8 -8
- package/dist/chunks/{config-she2g3s4.js → repository-6t45mx4g.js} +22 -22
- package/dist/chunks/{config-mhkvc446.js → repository-73tb2d7t.js} +3 -3
- package/dist/chunks/{config-stmmdx9f.js → repository-74m68t1r.js} +20 -20
- package/dist/chunks/{config-kypck4da.js → repository-7545v071.js} +2 -2
- package/dist/chunks/{config-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
- package/dist/chunks/{config-xvp1j2dc.js → repository-7pr2hkwv.js} +5 -5
- package/dist/chunks/{config-v282bym9.js → repository-7wv6t35z.js} +11 -11
- package/dist/chunks/{config-4kbfjken.js → repository-7ys5ezf5.js} +17 -17
- package/dist/chunks/{config-eh5djfab.js → repository-7zrv9dtw.js} +30 -30
- package/dist/chunks/{config-0bej2pvz.js → repository-81ye6pg3.js} +24 -24
- package/dist/chunks/{config-rq4k5z9y.js → repository-82gfdtdv.js} +11 -11
- package/dist/chunks/{config-prq7hedt.js → repository-82rhge12.js} +9 -9
- package/dist/chunks/{config-53w9s50f.js → repository-84npfg6g.js} +34 -34
- package/dist/chunks/{config-w1eejvng.js → repository-84txncab.js} +5 -5
- package/dist/chunks/{config-f5gy8qwh.js → repository-86m00gc1.js} +8 -8
- package/dist/chunks/{config-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
- package/dist/chunks/{config-n21gjbtg.js → repository-8e7h0d3g.js} +1 -1
- package/dist/chunks/{config-hcqwrhkb.js → repository-8h613fcm.js} +20 -20
- package/dist/chunks/{config-sxe2jfzz.js → repository-8nbxw31j.js} +9 -9
- package/dist/chunks/{config-3c019r4e.js → repository-92k45pvj.js} +6 -6
- package/dist/chunks/{config-gfvb90ym.js → repository-94ek1h2f.js} +2 -2
- package/dist/chunks/{config-endyd21g.js → repository-9cr16z8x.js} +8 -8
- package/dist/chunks/{config-hmbv37wn.js → repository-9qrdrmps.js} +27 -27
- package/dist/chunks/{config-h5w29vws.js → repository-a4ae1mqs.js} +1 -1
- package/dist/chunks/{config-erkdte22.js → repository-a6azfam0.js} +2 -2
- package/dist/chunks/{config-aaet6srn.js → repository-aaet6srn.js} +2 -2
- package/dist/chunks/{config-2q08japs.js → repository-ah4v29zr.js} +21 -21
- package/dist/chunks/{config-7jc02y3v.js → repository-ahjyxdwj.js} +15 -15
- package/dist/chunks/{config-gafqwe43.js → repository-ak8wweg5.js} +2 -2
- package/dist/chunks/{config-xnrm019n.js → repository-apg4ryxk.js} +7 -7
- package/dist/chunks/{config-9wjnegnz.js → repository-awaee7qt.js} +6 -6
- package/dist/chunks/{config-gfq6pea7.js → repository-b0v5ywzm.js} +4 -4
- package/dist/chunks/{config-a2ew8a62.js → repository-b27vhd2z.js} +4 -4
- package/dist/chunks/{config-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
- package/dist/chunks/{config-z8ffer72.js → repository-b7n1errk.js} +317 -317
- package/dist/chunks/{config-pwyb35gj.js → repository-b7sdn3j2.js} +11 -11
- package/dist/chunks/{config-7naz71zv.js → repository-b9ek0cs0.js} +9 -9
- package/dist/chunks/{config-r58nh0rd.js → repository-bay05q8f.js} +23 -23
- package/dist/chunks/{config-60bkde8e.js → repository-bhq0jy72.js} +1 -1
- package/dist/chunks/{config-379kadg6.js → repository-bk4cztra.js} +6 -6
- package/dist/chunks/{config-gay90p96.js → repository-bkgg21ch.js} +11 -11
- package/dist/chunks/{config-w9789a56.js → repository-bt3gm041.js} +24 -24
- package/dist/chunks/{config-3ad1hg7w.js → repository-bxcevcrv.js} +15 -15
- package/dist/chunks/{config-jenj01x5.js → repository-bxg2qx57.js} +4 -4
- package/dist/chunks/repository-by5v678g.js +18 -0
- package/dist/chunks/{config-mpss729k.js → repository-c87t5eya.js} +10 -10
- package/dist/chunks/{config-vsp1fds9.js → repository-cavr175a.js} +21 -21
- package/dist/chunks/{config-efnfb07c.js → repository-cegyq325.js} +3 -3
- package/dist/chunks/{config-3hsebfg3.js → repository-cfkxc3zx.js} +10 -10
- package/dist/chunks/{config-0xs7r085.js → repository-ckb64qrr.js} +16 -16
- package/dist/chunks/{config-54tcyq79.js → repository-ckecvw8r.js} +2 -2
- package/dist/chunks/{config-ed5eydsy.js → repository-csr47hpp.js} +10 -10
- package/dist/chunks/{config-rt6edg2v.js → repository-cxnbdzcm.js} +39 -39
- package/dist/chunks/{config-5dkn69vz.js → repository-d2czbp48.js} +4 -4
- package/dist/chunks/{config-c13ec2bm.js → repository-d68cj2ze.js} +22 -22
- package/dist/chunks/{config-nkgqzgmj.js → repository-d7fh38br.js} +11 -11
- package/dist/chunks/{config-xyf6ftr9.js → repository-db2txphp.js} +9 -9
- package/dist/chunks/{config-dpmbmm10.js → repository-ddg1taeb.js} +6 -6
- package/dist/chunks/{config-3w0fmcng.js → repository-dj9sq318.js} +5 -5
- package/dist/chunks/{config-cwa6csj7.js → repository-djszqvmq.js} +9 -9
- package/dist/chunks/{config-dnxkq42g.js → repository-dnxkq42g.js} +1 -1
- package/dist/chunks/{config-gct7tk6z.js → repository-dpja8khg.js} +41 -41
- package/dist/chunks/{config-qqeeq2t9.js → repository-drwq78ky.js} +7 -7
- package/dist/chunks/{config-rffx3hs9.js → repository-dx8av2x7.js} +18 -18
- package/dist/chunks/{config-4w6gj20h.js → repository-e0dagena.js} +20 -20
- package/dist/chunks/{config-ecfe7b91.js → repository-ecfe7b91.js} +2 -2
- package/dist/chunks/{config-aeg9cpnc.js → repository-ee7enzjx.js} +3 -3
- package/dist/chunks/{config-ef5x83kb.js → repository-ef5x83kb.js} +1 -1
- package/dist/chunks/{config-dpb1wfzr.js → repository-ef9qytv4.js} +15 -15
- package/dist/chunks/{config-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
- package/dist/chunks/{config-nr9xegsg.js → repository-ex6sdzkj.js} +13 -13
- package/dist/chunks/{config-0wts2k1d.js → repository-ez9bk2es.js} +8 -8
- package/dist/chunks/{config-9mcf3g3g.js → repository-f1gpw9yy.js} +8 -8
- package/dist/chunks/{config-f2n192rq.js → repository-f2n192rq.js} +1 -1
- package/dist/chunks/{config-289a2xdr.js → repository-f346y1sz.js} +10 -10
- package/dist/chunks/{config-r516hjgr.js → repository-f3fd7e69.js} +7 -7
- package/dist/chunks/{config-eheyfjv0.js → repository-f58hpvk1.js} +13 -13
- package/dist/chunks/{config-xbvxcxa7.js → repository-f6ky630e.js} +42 -42
- package/dist/chunks/{config-p1kbtgj9.js → repository-f75xppwz.js} +67 -67
- package/dist/chunks/{config-2bmndq8d.js → repository-fad6j005.js} +11 -11
- package/dist/chunks/{config-h8vq1q2v.js → repository-fbfxcass.js} +11 -11
- package/dist/chunks/{config-dgk9wpy7.js → repository-fbjrfmj9.js} +23 -23
- package/dist/chunks/{config-dbh1y8gj.js → repository-fdw6x2n6.js} +32 -32
- package/dist/chunks/{config-n0xbx8qm.js → repository-fkdqjgjc.js} +12 -12
- package/dist/chunks/{config-mws1mbkn.js → repository-fmqp2bpe.js} +42 -42
- package/dist/chunks/{config-w52wajpr.js → repository-fqka1xvk.js} +3 -3
- package/dist/chunks/{config-w3nq1sqw.js → repository-fsbk27r1.js} +9 -9
- package/dist/chunks/{config-pt6d0629.js → repository-ftnrf378.js} +15 -15
- package/dist/chunks/{config-aq5y8b9e.js → repository-g1sxm558.js} +8 -8
- package/dist/chunks/{config-n9cszgdb.js → repository-g5b01x5v.js} +31 -31
- package/dist/chunks/{config-g4c7m3af.js → repository-g5zdntwf.js} +9 -9
- package/dist/chunks/{config-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
- package/dist/chunks/{config-zm8gmkem.js → repository-gp17yma0.js} +22 -22
- package/dist/chunks/{config-gv6a8nnw.js → repository-gv6a8nnw.js} +2 -2
- package/dist/chunks/{config-enfadc74.js → repository-h0j67pyz.js} +10 -10
- package/dist/chunks/{config-ebpy8nrc.js → repository-h57x98jw.js} +11 -11
- package/dist/chunks/{config-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
- package/dist/chunks/{config-vgepzxbh.js → repository-hnr8f6ws.js} +4 -4
- package/dist/chunks/{config-4wygrt13.js → repository-hr7n7dfk.js} +42 -42
- package/dist/chunks/{config-1esnndwb.js → repository-hx5mqagm.js} +50 -50
- package/dist/chunks/{config-hthy74zy.js → repository-j0dca7h1.js} +19 -19
- package/dist/chunks/{config-g632r1v4.js → repository-j290mkxf.js} +18 -18
- package/dist/chunks/{config-j56e64zr.js → repository-j56e64zr.js} +1 -1
- package/dist/chunks/{config-e6q37ddf.js → repository-jj3kxevf.js} +9 -9
- package/dist/chunks/{config-9h7njw71.js → repository-js2zbbsy.js} +10 -10
- package/dist/chunks/{config-r87ntddn.js → repository-jw7mqvhb.js} +25 -25
- package/dist/chunks/{config-nzks3jc8.js → repository-k3c624dm.js} +3 -3
- package/dist/chunks/{config-9cvftjvp.js → repository-k6a913mc.js} +3 -3
- package/dist/chunks/{config-y9hsb9xn.js → repository-k91vaj61.js} +2 -2
- package/dist/chunks/{config-c7nmkvs5.js → repository-kc72bagp.js} +1 -1
- package/dist/chunks/{config-jq6565xn.js → repository-kg3dqxfj.js} +6 -6
- package/dist/chunks/{config-t7040byj.js → repository-kjnxwy2q.js} +14 -14
- package/dist/chunks/{config-fyk6r02s.js → repository-knxfq3yn.js} +13 -13
- package/dist/chunks/{config-bvfjje8r.js → repository-krswtk6s.js} +6 -6
- package/dist/chunks/{config-1mxt4asb.js → repository-kxgkk26h.js} +18 -18
- package/dist/chunks/{config-s4e7ddyy.js → repository-kxzsw107.js} +8 -8
- package/dist/chunks/{config-m3fdjcah.js → repository-m3fdjcah.js} +1 -1
- package/dist/chunks/{config-mee471n8.js → repository-m85aqzgd.js} +43 -43
- package/dist/chunks/{config-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
- package/dist/chunks/{config-4nn6b740.js → repository-mdenj6n2.js} +22 -22
- package/dist/chunks/{config-bhq44mhz.js → repository-mm244bga.js} +6 -6
- package/dist/chunks/{config-m8pkww8z.js → repository-mmsj8dfy.js} +21 -21
- package/dist/chunks/{config-52tt7m3x.js → repository-mn05vpar.js} +20 -20
- package/dist/chunks/{config-rnx2ffb5.js → repository-nz569jqt.js} +5 -5
- package/dist/chunks/{config-rcrfp1xj.js → repository-p1pf9hx4.js} +20 -20
- package/dist/chunks/{config-w7m0vxy1.js → repository-p9qne3wm.js} +44 -44
- package/dist/chunks/{config-p37cw4rj.js → repository-pa8pe2x7.js} +8 -8
- package/dist/chunks/{config-bk7jaeqh.js → repository-pccq72bz.js} +4 -4
- package/dist/chunks/{config-d6fdn63k.js → repository-pdbx26ag.js} +10 -10
- package/dist/chunks/{config-kmkwybff.js → repository-pf2hb43r.js} +4 -4
- package/dist/chunks/{config-dbsncafn.js → repository-pj8e2ttv.js} +48 -48
- package/dist/chunks/{config-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
- package/dist/chunks/{config-pknna89w.js → repository-pknna89w.js} +1 -1
- package/dist/chunks/{config-n2rqx0tz.js → repository-pnpn4wz1.js} +17 -17
- package/dist/chunks/{config-qg0jgkcp.js → repository-pnv527nz.js} +9 -9
- package/dist/chunks/{config-m2tcdgpb.js → repository-pptf5a6z.js} +15 -15
- package/dist/chunks/{config-csmw9zka.js → repository-q82chg0w.js} +33 -33
- package/dist/chunks/{config-x5fvys69.js → repository-qevyghr7.js} +5 -5
- package/dist/chunks/{config-sw75nab1.js → repository-qf2587vm.js} +32 -32
- package/dist/chunks/{config-ke35bj3e.js → repository-qhj864bm.js} +22 -22
- package/dist/chunks/{config-p1nm93x7.js → repository-qjnxxf51.js} +5 -5
- package/dist/chunks/{config-pw9v3g6d.js → repository-qm7jrdpz.js} +8 -8
- package/dist/chunks/{config-qsdy395h.js → repository-qsdy395h.js} +1 -1
- package/dist/chunks/{config-rdw6cm16.js → repository-rdw6cm16.js} +1 -1
- package/dist/chunks/{config-an9mbdbq.js → repository-rfstt2b7.js} +10 -10
- package/dist/chunks/{config-pr1366g1.js → repository-rjkc8qw5.js} +3 -3
- package/dist/chunks/{config-d18ae5tq.js → repository-rpt1dgh1.js} +9 -9
- package/dist/chunks/{config-ane1wqm5.js → repository-rskbfe93.js} +5 -5
- package/dist/chunks/{config-1a6zec11.js → repository-rwa9kg8s.js} +16 -16
- package/dist/chunks/{config-122jbwwf.js → repository-rzecepek.js} +10 -10
- package/dist/chunks/{config-x9ekvawh.js → repository-s6sgn3gb.js} +20 -20
- package/dist/chunks/{config-rv75ebrf.js → repository-s9jd6y68.js} +9 -9
- package/dist/chunks/{config-fa4y3891.js → repository-smzj8rfw.js} +26 -26
- package/dist/chunks/{config-50fm6a3e.js → repository-sqdvw4xb.js} +4 -4
- package/dist/chunks/{config-rhjbct0v.js → repository-t550f9t1.js} +4 -4
- package/dist/chunks/{config-rq8hvppm.js → repository-t5fcdsyj.js} +8 -8
- package/dist/chunks/{config-p42kjche.js → repository-t8c99pq6.js} +134 -134
- package/dist/chunks/{config-ne5mnvsh.js → repository-t8cezs0c.js} +1 -1
- package/dist/chunks/{config-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
- package/dist/chunks/{config-89znhe33.js → repository-tcezcvh9.js} +4 -4
- package/dist/chunks/{config-tdstcens.js → repository-tdstcens.js} +1 -1
- package/dist/chunks/{config-avh7tkx4.js → repository-tea56sn9.js} +25 -25
- package/dist/chunks/{config-50vwkdew.js → repository-tgthxese.js} +5 -5
- package/dist/chunks/{config-y5eyfaps.js → repository-tj650tt1.js} +18 -18
- package/dist/chunks/{config-ay6ep6bn.js → repository-tqs9jcf6.js} +11 -11
- package/dist/chunks/{config-p3t2xyfc.js → repository-ts1yq6xm.js} +5 -5
- package/dist/chunks/{config-7wb1x11h.js → repository-tt62nkee.js} +29 -29
- package/dist/chunks/{config-e8gsefg3.js → repository-ttqxpwhe.js} +21 -21
- package/dist/chunks/{config-tvtrv512.js → repository-tvtrv512.js} +1 -1
- package/dist/chunks/{config-ajpyf72v.js → repository-v8v68fnp.js} +13 -13
- package/dist/chunks/{config-mcpgndgk.js → repository-ve0yqpdc.js} +15 -15
- package/dist/chunks/{config-veqvce7d.js → repository-veqvce7d.js} +1 -1
- package/dist/chunks/{config-mxfq3xb0.js → repository-vjx0011y.js} +10 -10
- package/dist/chunks/{config-cfgvpj2w.js → repository-vspmykee.js} +18 -18
- package/dist/chunks/{config-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
- package/dist/chunks/{config-vzs5sf6e.js → repository-vzs5sf6e.js} +1 -1
- package/dist/chunks/{config-qzmeer5x.js → repository-vzvmbq7x.js} +39 -39
- package/dist/chunks/{config-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
- package/dist/chunks/{config-4ns3h2re.js → repository-w6zk8pbt.js} +8 -8
- package/dist/chunks/{config-psazpmmj.js → repository-wd3x2cqz.js} +2 -2
- package/dist/chunks/{config-wd87259q.js → repository-wd87259q.js} +1 -1
- package/dist/chunks/{config-r4ep2csb.js → repository-wgs8hk86.js} +8 -8
- package/dist/chunks/{config-gk71qtn2.js → repository-wpzgjbhj.js} +30 -30
- package/dist/chunks/{config-jgyxd05d.js → repository-wqbbhmw9.js} +30 -30
- package/dist/chunks/{config-d9rxkay0.js → repository-ws0hhf19.js} +12 -12
- package/dist/chunks/{config-vrpz8t5t.js → repository-wz5tj16h.js} +5 -5
- package/dist/chunks/{config-xtsf53gz.js → repository-wzvzbcsg.js} +12 -12
- package/dist/chunks/{config-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
- package/dist/chunks/{config-w1ekvchw.js → repository-x1fz7ram.js} +17 -17
- package/dist/chunks/{config-pgk3wsbp.js → repository-x23wrtd4.js} +16 -16
- package/dist/chunks/{config-967feggt.js → repository-x8e3c47v.js} +31 -31
- package/dist/chunks/{config-tfzma13m.js → repository-xbnvh8b8.js} +14 -14
- package/dist/chunks/{config-xkntkrq7.js → repository-xkntkrq7.js} +2 -2
- package/dist/chunks/{config-p29z10kz.js → repository-xkyyaqys.js} +13 -13
- package/dist/chunks/{config-7173vtq7.js → repository-xr3n93y1.js} +9 -9
- package/dist/chunks/{config-jxwmrnwr.js → repository-xts7ca3t.js} +14 -14
- package/dist/chunks/{config-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
- package/dist/chunks/{config-607q5haz.js → repository-y5df08dr.js} +12 -12
- package/dist/chunks/{config-z75rat7k.js → repository-y5kv6yf7.js} +22 -22
- package/dist/chunks/{config-0br3sbwn.js → repository-y5rf7nzv.js} +4 -4
- package/dist/chunks/{config-dpkg50ah.js → repository-y71avatq.js} +4 -4
- package/dist/chunks/{config-c5yejehj.js → repository-y9zw62b3.js} +12 -12
- package/dist/chunks/{config-0x16w539.js → repository-yn23vpp6.js} +7 -7
- package/dist/chunks/{config-zrj607p1.js → repository-yqgpt25r.js} +34 -34
- package/dist/chunks/{config-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
- package/dist/chunks/{config-s4enseaf.js → repository-yrznvahk.js} +2 -2
- package/dist/chunks/{config-y0n5xry2.js → repository-ys0z6e7b.js} +28 -28
- package/dist/chunks/{config-sra9araw.js → repository-yt0fqk68.js} +5 -5
- package/dist/chunks/{config-bjtzbw4r.js → repository-z07pqspn.js} +3 -3
- package/dist/chunks/{config-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
- package/dist/chunks/{config-315y6wz2.js → repository-z0vv805r.js} +35 -35
- package/dist/chunks/{config-1aez1ya5.js → repository-z2018skw.js} +15 -15
- package/dist/chunks/{config-29x78va6.js → repository-z63w68vq.js} +6 -6
- package/dist/chunks/{config-ca7w653e.js → repository-zcrspsvn.js} +4 -4
- package/dist/chunks/{config-ay2wwzfh.js → repository-zdqwn290.js} +33 -33
- package/dist/chunks/{config-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
- package/dist/chunks/{config-n4ggt751.js → repository-zg91g03d.js} +31 -31
- package/dist/chunks/{config-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
- package/dist/chunks/{config-qp29vb3y.js → repository-zss2mcem.js} +11 -11
- package/dist/chunks/{config-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +215 -215
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +73 -73
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/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 +228 -228
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +108 -108
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +77 -77
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +129 -129
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +75 -75
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +89 -89
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +219 -219
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +221 -221
- 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 +11 -11
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +89 -89
- 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 +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- 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 +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/config-45th5jwr.js +0 -18
- package/dist/chunks/config-583qe7f6.js +0 -26
- package/dist/chunks/config-ww1w8rs5.js +0 -252
- /package/dist/chunks/{config-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{config-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
- /package/dist/chunks/{config-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
- /package/dist/chunks/{config-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
- /package/dist/chunks/{config-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{config-24dcb14g.js → repository-24dcb14g.js} +0 -0
- /package/dist/chunks/{config-2710q6r3.js → repository-2710q6r3.js} +0 -0
- /package/dist/chunks/{config-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
- /package/dist/chunks/{config-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{config-34c7v6d4.js → repository-34c7v6d4.js} +0 -0
- /package/dist/chunks/{config-359p4xyc.js → repository-359p4xyc.js} +0 -0
- /package/dist/chunks/{config-3asan66x.js → repository-3asan66x.js} +0 -0
- /package/dist/chunks/{config-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
- /package/dist/chunks/{config-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
- /package/dist/chunks/{config-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
- /package/dist/chunks/{config-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
- /package/dist/chunks/{config-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
- /package/dist/chunks/{config-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{config-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
- /package/dist/chunks/{config-53557ph1.js → repository-53557ph1.js} +0 -0
- /package/dist/chunks/{config-550bvhaj.js → repository-550bvhaj.js} +0 -0
- /package/dist/chunks/{config-6prwharc.js → repository-6prwharc.js} +0 -0
- /package/dist/chunks/{config-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
- /package/dist/chunks/{config-7m9af43g.js → repository-7m9af43g.js} +0 -0
- /package/dist/chunks/{config-822emrt2.js → repository-822emrt2.js} +0 -0
- /package/dist/chunks/{config-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
- /package/dist/chunks/{config-8n3pysct.js → repository-8n3pysct.js} +0 -0
- /package/dist/chunks/{config-8wj87zfr.js → repository-8wj87zfr.js} +0 -0
- /package/dist/chunks/{config-922hggd3.js → repository-922hggd3.js} +0 -0
- /package/dist/chunks/{config-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
- /package/dist/chunks/{config-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{config-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
- /package/dist/chunks/{config-af5trqkr.js → repository-af5trqkr.js} +0 -0
- /package/dist/chunks/{config-afrmfg78.js → repository-afrmfg78.js} +0 -0
- /package/dist/chunks/{config-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{config-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
- /package/dist/chunks/{config-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{config-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{config-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
- /package/dist/chunks/{config-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{config-d9fn303g.js → repository-d9fn303g.js} +0 -0
- /package/dist/chunks/{config-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{config-dajrwvna.js → repository-dajrwvna.js} +0 -0
- /package/dist/chunks/{config-dap0rakb.js → repository-dap0rakb.js} +0 -0
- /package/dist/chunks/{config-df08tz66.js → repository-df08tz66.js} +0 -0
- /package/dist/chunks/{config-dy18nga0.js → repository-dy18nga0.js} +0 -0
- /package/dist/chunks/{config-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
- /package/dist/chunks/{config-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
- /package/dist/chunks/{config-ec1grn59.js → repository-ec1grn59.js} +0 -0
- /package/dist/chunks/{config-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
- /package/dist/chunks/{config-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
- /package/dist/chunks/{config-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
- /package/dist/chunks/{config-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{config-faypxj3z.js → repository-faypxj3z.js} +0 -0
- /package/dist/chunks/{config-fd410y7t.js → repository-fd410y7t.js} +0 -0
- /package/dist/chunks/{config-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{config-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
- /package/dist/chunks/{config-g86h250q.js → repository-g86h250q.js} +0 -0
- /package/dist/chunks/{config-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
- /package/dist/chunks/{config-gftt206x.js → repository-gftt206x.js} +0 -0
- /package/dist/chunks/{config-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
- /package/dist/chunks/{config-hk9envan.js → repository-hk9envan.js} +0 -0
- /package/dist/chunks/{config-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
- /package/dist/chunks/{config-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{config-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
- /package/dist/chunks/{config-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{config-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{config-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{config-mp448xyj.js → repository-mp448xyj.js} +0 -0
- /package/dist/chunks/{config-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
- /package/dist/chunks/{config-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
- /package/dist/chunks/{config-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
- /package/dist/chunks/{config-njntx4h6.js → repository-njntx4h6.js} +0 -0
- /package/dist/chunks/{config-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
- /package/dist/chunks/{config-q74kybfr.js → repository-q74kybfr.js} +0 -0
- /package/dist/chunks/{config-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
- /package/dist/chunks/{config-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
- /package/dist/chunks/{config-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
- /package/dist/chunks/{config-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
- /package/dist/chunks/{config-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
- /package/dist/chunks/{config-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{config-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{config-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{config-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
- /package/dist/chunks/{config-w803qqfp.js → repository-w803qqfp.js} +0 -0
- /package/dist/chunks/{config-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{config-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
- /package/dist/chunks/{config-wtztk69x.js → repository-wtztk69x.js} +0 -0
- /package/dist/chunks/{config-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
- /package/dist/chunks/{config-x61499pn.js → repository-x61499pn.js} +0 -0
- /package/dist/chunks/{config-y44na4kk.js → repository-y44na4kk.js} +0 -0
- /package/dist/chunks/{config-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
- /package/dist/chunks/{config-y8f7s663.js → repository-y8f7s663.js} +0 -0
- /package/dist/chunks/{config-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{config-ym463w8f.js → repository-ym463w8f.js} +0 -0
- /package/dist/chunks/{config-z9919s4g.js → repository-z9919s4g.js} +0 -0
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service55
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-p9qne3wm.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input10,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin13,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
25
|
description: () => description3,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name10
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name10 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
37
|
var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input10 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input5 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input10.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin13 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
99
|
const permission = yield* Service55;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name10,
|
|
102
102
|
options: { codemode: false },
|
|
103
103
|
description: description3,
|
|
104
|
-
input:
|
|
104
|
+
input: Input10,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin22 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name10,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name10, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input10, Plugin13, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-4f06rze2.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-04atd798.js";
|
|
7
7
|
import {
|
|
8
8
|
ID15,
|
|
9
9
|
OAuth3,
|
|
10
10
|
Event19,
|
|
11
11
|
Service78
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-ts1yq6xm.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-dnxkq42g.js";
|
|
16
16
|
import {
|
|
17
17
|
ID14,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-mm244bga.js";
|
|
20
20
|
import {
|
|
21
21
|
ID13,
|
|
22
22
|
mergeOverlay2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-c87t5eya.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
ID12,
|
|
26
26
|
VariantID2,
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info26
|
|
28
|
+
} from "./repository-tea56sn9.js";
|
|
29
29
|
import {
|
|
30
30
|
success2,
|
|
31
31
|
error2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./repository-pjvnvgmy.js";
|
|
33
33
|
|
|
34
34
|
// src/plugin/provider/chatgpt.ts
|
|
35
35
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -338,7 +338,7 @@ function deriveModels2(remote, existing) {
|
|
|
338
338
|
const found = byID.get(model.modelID);
|
|
339
339
|
return found ? [deriveModel(found, model)] : [];
|
|
340
340
|
}),
|
|
341
|
-
...remote.filter((model) => !known.has(
|
|
341
|
+
...remote.filter((model) => !known.has(ID12.make(model.slug))).map((model) => deriveModel(model, Info26.default(ID13.openai, ID12.make(model.slug))))
|
|
342
342
|
];
|
|
343
343
|
}
|
|
344
344
|
function deriveModel(remote, previous) {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-10w0r48r.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-04atd798.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service79
|
|
9
|
+
} from "./repository-x23wrtd4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service62
|
|
12
|
+
} from "./repository-5rf1rhax.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service25
|
|
16
|
+
} from "./repository-vspmykee.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 "./repository-0bmz8k31.js";
|
|
24
24
|
import {
|
|
25
25
|
Service55
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-p9qne3wm.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service15
|
|
29
|
+
} from "./repository-ve0yqpdc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./repository-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
|
-
Input: () =>
|
|
38
|
+
Input: () => Input4,
|
|
39
39
|
Output: () => Output3,
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
40
|
+
Plugin: () => Plugin6,
|
|
41
|
+
name: () => name4,
|
|
42
42
|
toModelContent: () => toModelContent3
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name4 = "grep";
|
|
48
|
+
var Input4 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -83,26 +83,26 @@ var toModelContent3 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin6 = {
|
|
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*
|
|
89
|
+
const environment = yield* Service62;
|
|
90
|
+
const ripgrep = yield* Service25;
|
|
91
|
+
const location = yield* Service79;
|
|
92
|
+
const access = yield* Service15;
|
|
93
93
|
const permission = yield* Service55;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name4,
|
|
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
|
-
input:
|
|
98
|
+
input: Input4,
|
|
99
99
|
output: Output3,
|
|
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 ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name4,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -136,7 +136,7 @@ var Plugin19 = {
|
|
|
136
136
|
}))
|
|
137
137
|
}), Effect.map((result) => result.map((match) => Match2.make({
|
|
138
138
|
...match,
|
|
139
|
-
entry:
|
|
139
|
+
entry: Entry2.make({
|
|
140
140
|
...match.entry,
|
|
141
141
|
path: RelativePath2.make(path.relative(location.directory, path.resolve(cwd, match.entry.path)))
|
|
142
142
|
})
|
|
@@ -154,4 +154,4 @@ var Plugin19 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name4, Input4, Output3, toModelContent3, Plugin6, exports_grep };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make19,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-t550f9t1.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-p9qne3wm.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service37,
|
|
12
|
+
node40
|
|
13
|
+
} from "./repository-cxnbdzcm.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
16
|
name14
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-y5kv6yf7.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
|
-
var
|
|
24
|
-
__export(
|
|
25
|
-
McpInstructions: () =>
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
23
|
+
var exports_instructions5 = {};
|
|
24
|
+
__export(exports_instructions5, {
|
|
25
|
+
McpInstructions: () => exports_instructions5,
|
|
26
|
+
Service: () => Service35,
|
|
27
|
+
layer: () => layer13,
|
|
28
|
+
node: () => node38
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,13 +61,13 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service35 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var
|
|
67
|
-
const mcp = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer13 = Layer.effect(Service35, Effect.gen(function* () {
|
|
67
|
+
const mcp = yield* Service37;
|
|
68
|
+
return Service35.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
|
-
const source = (value) =>
|
|
70
|
+
const source = (value) => make19({
|
|
71
71
|
key: Key3.make("core/mcp-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(value),
|
|
@@ -96,6 +96,6 @@ var layer10 = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var node38 = makeLocationNode({ service: Service35, layer: layer13, deps: [node40] });
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { Service35, layer13, node38, exports_instructions5 };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./repository-x23wrtd4.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service48
|
|
9
|
+
} from "./repository-vzvmbq7x.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-ys0z6e7b.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin33
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin33 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service48;
|
|
35
|
+
const location = yield* Service79;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin33, exports_reference };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-hr7n7dfk.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service79,
|
|
9
|
+
node83
|
|
10
|
+
} from "./repository-x23wrtd4.js";
|
|
11
11
|
import {
|
|
12
12
|
Service55,
|
|
13
13
|
node58
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-p9qne3wm.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
Service: () => Service15,
|
|
26
|
+
node: () => node17,
|
|
27
27
|
resolvePath: () => resolvePath2
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
37
37
|
kind: Kind2.pipe(Schema.optional)
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service15 extends Context.Service()("@opencode/FileAccess") {
|
|
41
41
|
}
|
|
42
42
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
43
43
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -49,9 +49,9 @@ var invocation = (context) => ({
|
|
|
49
49
|
agent: context.agent,
|
|
50
50
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
51
51
|
});
|
|
52
|
-
var layer = Layer.effect(
|
|
52
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
|
-
const location = yield*
|
|
54
|
+
const location = yield* Service79;
|
|
55
55
|
const permission = yield* Service55;
|
|
56
56
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
57
57
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
101
101
|
});
|
|
102
102
|
return target;
|
|
103
103
|
});
|
|
104
|
-
return
|
|
104
|
+
return Service15.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var
|
|
106
|
+
var node17 = makeLocationNode({ service: Service15, layer, deps: [FSUtil.node, node83, node58] });
|
|
107
107
|
|
|
108
|
-
export { Kind2, ResolveInput2,
|
|
108
|
+
export { Kind2, ResolveInput2, Service15, resolvePath2, node17, exports_file_access };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-04atd798.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-dnxkq42g.js";
|
|
7
7
|
import {
|
|
8
8
|
Event19
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-ts1yq6xm.js";
|
|
10
10
|
import {
|
|
11
11
|
ID14
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-mm244bga.js";
|
|
13
13
|
import {
|
|
14
14
|
ID13,
|
|
15
15
|
Service76
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-c87t5eya.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
load3,
|
|
19
|
+
derive3
|
|
20
|
+
} from "./repository-ah4v29zr.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
|
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
const remote = yield* Effect.tryPromise({
|
|
48
|
-
try: () =>
|
|
48
|
+
try: () => load3(baseURL, apiKey),
|
|
49
49
|
catch: (cause) => cause
|
|
50
50
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
51
51
|
if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
|
|
@@ -62,7 +62,7 @@ var ModalPlugin2 = define({
|
|
|
62
62
|
return;
|
|
63
63
|
evt.add({
|
|
64
64
|
info: item.provider,
|
|
65
|
-
models: Array.from(
|
|
65
|
+
models: Array.from(derive3(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
|
|
66
66
|
sourceConnection: loaded.connection
|
|
67
67
|
});
|
|
68
68
|
});
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service62,
|
|
8
|
+
node65
|
|
9
|
+
} from "./repository-5rf1rhax.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service25,
|
|
24
|
+
node: () => node28
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service25 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error2({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service62;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service25.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node28 = makeLocationNode({ service: Service25, layer, deps: [node65, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error2, InvalidPatternError2, Service25, node28, exports_ripgrep };
|