@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,125 +1,125 @@
|
|
|
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
|
SessionMessage2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-gftt206x.js";
|
|
12
12
|
import {
|
|
13
13
|
StepFailedError2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-jj3kxevf.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionEvent2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-ec1grn59.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionMessageTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-z07pqspn.js";
|
|
21
21
|
import {
|
|
22
22
|
prepare4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-pccq72bz.js";
|
|
24
24
|
import {
|
|
25
25
|
provenance2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-d2czbp48.js";
|
|
27
27
|
import {
|
|
28
28
|
decodeMessageRow2,
|
|
29
29
|
preview2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./repository-bkgg21ch.js";
|
|
31
31
|
import {
|
|
32
32
|
Service56,
|
|
33
33
|
node59
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./repository-cfkxc3zx.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
36
|
+
Service18,
|
|
37
|
+
node20
|
|
38
|
+
} from "./repository-wpzgjbhj.js";
|
|
39
39
|
import {
|
|
40
40
|
llmClient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./repository-5t3nmthw.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
43
|
+
Service33,
|
|
44
|
+
node37
|
|
45
|
+
} from "./repository-5qedxm44.js";
|
|
46
46
|
import {
|
|
47
47
|
baseTranscript2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./repository-qf2587vm.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
make5
|
|
51
|
+
} from "./repository-7pr2hkwv.js";
|
|
52
52
|
import {
|
|
53
53
|
toSessionError2
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./repository-tgthxese.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
Service11,
|
|
57
|
+
node13,
|
|
58
58
|
estimatePrompt2
|
|
59
|
-
} from "./
|
|
59
|
+
} from "./repository-wqbbhmw9.js";
|
|
60
60
|
import {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
} from "./
|
|
61
|
+
Service28,
|
|
62
|
+
node32
|
|
63
|
+
} from "./repository-4xvg8qhq.js";
|
|
64
64
|
import {
|
|
65
65
|
serialized2,
|
|
66
66
|
nextPromotable2,
|
|
67
67
|
promote2
|
|
68
|
-
} from "./
|
|
68
|
+
} from "./repository-dx8av2x7.js";
|
|
69
69
|
import {
|
|
70
|
-
|
|
70
|
+
Service3,
|
|
71
71
|
isUntitled2,
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
72
|
+
node4
|
|
73
|
+
} from "./repository-bay05q8f.js";
|
|
74
74
|
import {
|
|
75
75
|
DrainResult2,
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
76
|
+
Service41
|
|
77
|
+
} from "./repository-zcrspsvn.js";
|
|
78
78
|
import {
|
|
79
|
-
|
|
80
|
-
} from "./
|
|
79
|
+
node54
|
|
80
|
+
} from "./repository-2rahks1y.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
} from "./
|
|
82
|
+
node62
|
|
83
|
+
} from "./repository-wzvzbcsg.js";
|
|
84
84
|
import {
|
|
85
85
|
Outcome2,
|
|
86
|
-
|
|
87
|
-
} from "./
|
|
86
|
+
make3
|
|
87
|
+
} from "./repository-mn05vpar.js";
|
|
88
88
|
import {
|
|
89
|
-
|
|
90
|
-
} from "./
|
|
89
|
+
Service34
|
|
90
|
+
} from "./repository-by5v678g.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
} from "./
|
|
92
|
+
node21
|
|
93
|
+
} from "./repository-6d58n71n.js";
|
|
94
94
|
import {
|
|
95
95
|
MAX_STEPS_PROMPT2
|
|
96
|
-
} from "./
|
|
96
|
+
} from "./repository-y44na4kk.js";
|
|
97
97
|
import {
|
|
98
98
|
__export
|
|
99
|
-
} from "./
|
|
99
|
+
} from "./repository-9rqn6x4v.js";
|
|
100
100
|
|
|
101
101
|
// src/session/runner/llm.ts
|
|
102
102
|
var exports_llm = {};
|
|
103
103
|
__export(exports_llm, {
|
|
104
104
|
SessionRunnerLLM: () => exports_llm,
|
|
105
|
-
node: () =>
|
|
105
|
+
node: () => node3
|
|
106
106
|
});
|
|
107
107
|
import { Message } from "@opencode/ai";
|
|
108
108
|
import { and, desc, eq, sql } from "drizzle-orm";
|
|
109
109
|
import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
|
|
110
110
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
111
111
|
var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
|
|
112
|
-
var layer = Layer.effect(
|
|
112
|
+
var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
113
113
|
const bus = yield* Service83;
|
|
114
|
-
const lifecycle = yield*
|
|
114
|
+
const lifecycle = yield* Service18;
|
|
115
115
|
const store = yield* Service56;
|
|
116
|
-
const context = yield*
|
|
117
|
-
const modelTransport = yield*
|
|
116
|
+
const context = yield* Service28;
|
|
117
|
+
const modelTransport = yield* Service33;
|
|
118
118
|
const db = (yield* Service84).db;
|
|
119
|
-
const compaction = yield*
|
|
120
|
-
const plugins = yield*
|
|
121
|
-
const title = yield*
|
|
122
|
-
const steps = yield*
|
|
119
|
+
const compaction = yield* Service11;
|
|
120
|
+
const plugins = yield* Service34;
|
|
121
|
+
const title = yield* Service3;
|
|
122
|
+
const steps = yield* make3;
|
|
123
123
|
const titles = yield* FiberMap.make();
|
|
124
124
|
const drain = Effect.fn("SessionRunner.drain")(function* (input) {
|
|
125
125
|
const sessionID = input.sessionID;
|
|
@@ -240,7 +240,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
240
240
|
const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
|
|
241
241
|
const sessionID = first.session.id;
|
|
242
242
|
let assistantMessageID = SessionMessage2.ID.create();
|
|
243
|
-
const retry = yield*
|
|
243
|
+
const retry = yield* make5(bus, sessionID);
|
|
244
244
|
let initial = first;
|
|
245
245
|
let recoverOverflow = true;
|
|
246
246
|
let recoverContinuation = true;
|
|
@@ -356,25 +356,25 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
356
356
|
}
|
|
357
357
|
}
|
|
358
358
|
});
|
|
359
|
-
return
|
|
359
|
+
return Service41.of({ drain });
|
|
360
360
|
}));
|
|
361
|
-
var
|
|
362
|
-
service:
|
|
361
|
+
var node3 = makeLocationNode({
|
|
362
|
+
service: Service41,
|
|
363
363
|
layer,
|
|
364
364
|
deps: [
|
|
365
365
|
node87,
|
|
366
|
-
|
|
366
|
+
node20,
|
|
367
367
|
llmClient2,
|
|
368
|
-
|
|
369
|
-
|
|
368
|
+
node32,
|
|
369
|
+
node37,
|
|
370
370
|
node59,
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
371
|
+
node13,
|
|
372
|
+
node21,
|
|
373
|
+
node4,
|
|
374
|
+
node54,
|
|
375
|
+
node62,
|
|
376
376
|
node88
|
|
377
377
|
]
|
|
378
378
|
});
|
|
379
379
|
|
|
380
|
-
export {
|
|
380
|
+
export { node3, exports_llm };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info13
|
|
6
|
+
} from "./repository-cavr175a.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigAgentV1: () =>
|
|
15
|
-
Info: () =>
|
|
12
|
+
var exports_agent3 = {};
|
|
13
|
+
__export(exports_agent3, {
|
|
14
|
+
ConfigAgentV1: () => exports_agent3,
|
|
15
|
+
Info: () => Info10
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info13)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info10 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info10, exports_agent3 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-10w0r48r.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-ckecvw8r.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID8,
|
|
17
|
+
Info: () => Info20,
|
|
18
|
+
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
20
|
Service: () => Service57,
|
|
21
21
|
node: () => node60
|
|
@@ -25,9 +25,9 @@ import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID8 = PermissionSaved.ID;
|
|
29
|
+
var Info20 = PermissionSaved.Info;
|
|
30
|
+
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID8.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -70,4 +70,4 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
70
70
|
}));
|
|
71
71
|
var node60 = makeGlobalNode({ service: Service57, layer, deps: [node88] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID8, Info20, ListInput5, AddInput2, Service57, node60, exports_saved };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service81,
|
|
6
|
+
node85
|
|
7
|
+
} from "./repository-y5df08dr.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-84txncab.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service71,
|
|
16
|
+
node75
|
|
17
|
+
} from "./repository-rzecepek.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service61,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node64,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service61 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service81;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service71;
|
|
110
|
+
return Service61.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse4(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing) : undefined;
|
|
122
|
-
const originReference = origin ?
|
|
122
|
+
const originReference = origin ? parse4(origin) : undefined;
|
|
123
123
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
124
124
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
125
125
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node64 = makeGlobalNode({
|
|
171
|
+
service: Service61,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node85, Global.node, node75]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service61, isError2, validateBranch2, node64, exports_repository_cache };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service79,
|
|
6
|
+
node83
|
|
7
|
+
} from "./repository-x23wrtd4.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service25,
|
|
10
|
+
node28
|
|
11
|
+
} from "./repository-vspmykee.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
names3
|
|
15
|
+
} from "./repository-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options4,
|
|
25
|
+
Service: () => Service24,
|
|
26
|
+
configured: () => configured4,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer10,
|
|
29
|
+
node: () => node27,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options4 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service24 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service24, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service79;
|
|
63
|
+
const ripgrep = yield* Service25;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
77
77
|
cwd: location.directory,
|
|
78
78
|
pattern: "*",
|
|
79
79
|
limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
|
|
80
|
-
exclude: home ? [...
|
|
80
|
+
exclude: home ? [...names3()].map((name) => `${name}/**`) : undefined,
|
|
81
81
|
onEntry: (entry) => Effect.sync(() => {
|
|
82
82
|
next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
|
|
83
83
|
const parts = entry.path.split("/");
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service24.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service24, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service79;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service24.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service24.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer10 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service79;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured4(options) {
|
|
186
|
+
return makeLocationNode({ service: Service24, layer: layer10(options), deps: [node83, node28] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node27 = configured4();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options4, Service24, ripgrepLayer2, fffLayer2, layer10, configured4, node27, exports_search };
|
|
@@ -1,34 +1,34 @@
|
|
|
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
|
OAuth3,
|
|
9
9
|
Event19
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-ts1yq6xm.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-dnxkq42g.js";
|
|
14
14
|
import {
|
|
15
15
|
ID14,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-mm244bga.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service63
|
|
21
|
+
} from "./repository-86m00gc1.js";
|
|
22
22
|
import {
|
|
23
23
|
ID13,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-c87t5eya.js";
|
|
27
27
|
import {
|
|
28
28
|
ID4,
|
|
29
|
-
|
|
29
|
+
Input13,
|
|
30
30
|
Response2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./repository-23tvs9mh.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/opencode.ts
|
|
34
34
|
import { Duration, Effect, Equal, Option, Schema, Scope, Semaphore, Stream } from "effect";
|
|
@@ -163,7 +163,7 @@ var OpencodePlugin2 = define({
|
|
|
163
163
|
const bus = yield* Service83;
|
|
164
164
|
const client = yield* HttpClient.HttpClient;
|
|
165
165
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
166
|
-
const managed = yield*
|
|
166
|
+
const managed = yield* Service63;
|
|
167
167
|
const scope = yield* Scope.Scope;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -328,7 +328,7 @@ var OpencodePlugin2 = define({
|
|
|
328
328
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
329
329
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
330
330
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
331
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
331
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
|
|
332
332
|
query: input.query,
|
|
333
333
|
providerID: descriptor.providerID
|
|
334
334
|
}));
|