@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,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-ts1yq6xm.js";
|
|
4
4
|
import {
|
|
5
5
|
ID14,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-mm244bga.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-10w0r48r.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-z07pqspn.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
load5
|
|
12
|
+
} from "./repository-bkgg21ch.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-ak8wweg5.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
|
-
ListInput: () =>
|
|
23
|
+
ListInput: () => ListInput4,
|
|
24
24
|
Service: () => Service56,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
26
|
node: () => node59
|
|
@@ -50,7 +50,7 @@ var ListProjectInput = Schema.Struct({
|
|
|
50
50
|
subpath: RelativePath.pipe(Schema.optional)
|
|
51
51
|
});
|
|
52
52
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
53
|
-
var
|
|
53
|
+
var ListInput4 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
55
|
class Service56 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
@@ -98,7 +98,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
98
98
|
const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
|
|
99
99
|
return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
|
|
100
100
|
}),
|
|
101
|
-
context: Effect.fn("SessionStore.context")((sessionID) =>
|
|
101
|
+
context: Effect.fn("SessionStore.context")((sessionID) => load5(db, sessionID, "latest")),
|
|
102
102
|
message: Effect.fn("SessionStore.message")(function* (messageID) {
|
|
103
103
|
const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
|
|
104
104
|
return row ? {
|
|
@@ -127,4 +127,4 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
127
127
|
}));
|
|
128
128
|
var node59 = makeGlobalNode({ service: Service56, layer, deps: [node88] });
|
|
129
129
|
|
|
130
|
-
export {
|
|
130
|
+
export { ListInput4, Service56, node59, exports_store };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-04atd798.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./repository-x23wrtd4.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
Service56,
|
|
14
14
|
node59
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-cfkxc3zx.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service12,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node14
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service12 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service83;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const store = yield* Service56;
|
|
41
|
-
const location = yield*
|
|
41
|
+
const location = yield* Service79;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service12.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node14 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [node87, FSUtil.node,
|
|
101
|
+
deps: [node87, FSUtil.node, node83, node59]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service12, node14, exports_instructions };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-wd3x2cqz.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-tea56sn9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service48
|
|
7
|
+
} from "./repository-vzvmbq7x.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-sqdvw4xb.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/lmstudio.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
|
|
|
31
31
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
32
32
|
var discovery = new Map;
|
|
33
33
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
34
|
-
function
|
|
34
|
+
function make8(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
35
35
|
return define({
|
|
36
36
|
id: "opencode.provider.lmstudio",
|
|
37
37
|
effect: Effect.fn(function* (ctx) {
|
|
38
38
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service48;
|
|
40
40
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
41
41
|
const loaded = { models: [], hash: "[]" };
|
|
42
42
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ function make5(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
63
63
|
});
|
|
64
64
|
for (const item of loaded.models) {
|
|
65
65
|
providers.models.update(providerID, item.key, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID12.make(item.key);
|
|
67
67
|
model.name = item.display_name || item.key;
|
|
68
68
|
model.family = item.architecture ? Family2.make(item.architecture) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -125,7 +125,7 @@ function make5(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
var LMStudioPlugin2 =
|
|
128
|
+
var LMStudioPlugin2 = make8();
|
|
129
129
|
function configured(entries, origin) {
|
|
130
130
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
131
131
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -142,4 +142,4 @@ function configured(entries, origin) {
|
|
|
142
142
|
return { baseURL, apiKey, endpoint: url.toString() };
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { make8, LMStudioPlugin2 };
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-04atd798.js";
|
|
8
8
|
import {
|
|
9
9
|
Event19,
|
|
10
10
|
Service78,
|
|
11
11
|
node82
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-ts1yq6xm.js";
|
|
13
13
|
import {
|
|
14
|
-
Service80,
|
|
15
|
-
node84
|
|
16
|
-
} from "./config-pgk3wsbp.js";
|
|
17
|
-
import {
|
|
18
|
-
Service72,
|
|
19
|
-
node75
|
|
20
|
-
} from "./config-rt7mzvcd.js";
|
|
21
|
-
import {
|
|
22
|
-
ID16,
|
|
23
14
|
Service79,
|
|
24
15
|
node83
|
|
25
|
-
} from "./
|
|
16
|
+
} from "./repository-x23wrtd4.js";
|
|
17
|
+
import {
|
|
18
|
+
Service62,
|
|
19
|
+
node65
|
|
20
|
+
} from "./repository-5rf1rhax.js";
|
|
21
|
+
import {
|
|
22
|
+
ID18,
|
|
23
|
+
Service82,
|
|
24
|
+
node86
|
|
25
|
+
} from "./repository-1dak9s0j.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./repository-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
31
|
ID14,
|
|
32
32
|
MethodID2,
|
|
33
33
|
Service77,
|
|
34
34
|
node81
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./repository-mm244bga.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./repository-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError5,
|
|
45
|
+
Options: () => Options5,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service37,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured5,
|
|
56
|
+
layer: () => layer15,
|
|
57
|
+
node: () => node40
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -103,19 +103,19 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
103
103
|
var endpointLoads = makeUnsafe2();
|
|
104
104
|
var cloneConfig = (config) => structuredClone(config);
|
|
105
105
|
|
|
106
|
-
class
|
|
106
|
+
class Service37 extends Context.Service()("@opencode/MCP") {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Options5 = Schema.Struct({
|
|
109
109
|
clientInfo: Schema.optional(Schema.Struct({
|
|
110
110
|
name: Schema.String,
|
|
111
111
|
version: Schema.String
|
|
112
112
|
}))
|
|
113
113
|
});
|
|
114
|
-
var
|
|
115
|
-
const location = yield*
|
|
116
|
-
const environment = yield*
|
|
114
|
+
var layer15 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
115
|
+
const location = yield* Service79;
|
|
116
|
+
const environment = yield* Service62;
|
|
117
117
|
const bus = yield* Service83;
|
|
118
|
-
const forms = yield*
|
|
118
|
+
const forms = yield* Service82;
|
|
119
119
|
const integration = yield* Service77;
|
|
120
120
|
const credentials = yield* Service78;
|
|
121
121
|
const root = yield* Effect.scope;
|
|
@@ -154,7 +154,7 @@ var layer12 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
154
154
|
const name = ServerName2.make(server);
|
|
155
155
|
const entry = entries.get(name);
|
|
156
156
|
if (!entry)
|
|
157
|
-
return yield* new
|
|
157
|
+
return yield* new NotFoundError5({ server: name });
|
|
158
158
|
return { name, entry };
|
|
159
159
|
});
|
|
160
160
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
@@ -166,7 +166,7 @@ var layer12 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
166
166
|
const elicitation = {
|
|
167
167
|
create: (input) => Effect.gen(function* () {
|
|
168
168
|
if (input.params.mode === "url") {
|
|
169
|
-
const formID =
|
|
169
|
+
const formID = ID18.create();
|
|
170
170
|
const elicitationID = input.params.elicitationId;
|
|
171
171
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
172
172
|
if (key)
|
|
@@ -269,7 +269,7 @@ var layer12 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
269
269
|
entry.scope = scope;
|
|
270
270
|
const authProvider = yield* connectProvider(entry);
|
|
271
271
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
272
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
272
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service62, environment), Scope.provide(scope));
|
|
273
273
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
274
274
|
if (Exit.isSuccess(result)) {
|
|
275
275
|
entry.client = result.value.connection;
|
|
@@ -420,7 +420,7 @@ var layer12 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
420
420
|
}),
|
|
421
421
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
422
422
|
});
|
|
423
|
-
return
|
|
423
|
+
return Service37.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -530,14 +530,14 @@ function mergeCatalogs(catalogs) {
|
|
|
530
530
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
531
531
|
});
|
|
532
532
|
}
|
|
533
|
-
function
|
|
533
|
+
function configured5(options) {
|
|
534
534
|
return makeLocationNode({
|
|
535
|
-
service:
|
|
536
|
-
layer:
|
|
537
|
-
deps: [
|
|
535
|
+
service: Service37,
|
|
536
|
+
layer: layer15(options),
|
|
537
|
+
deps: [node83, node65, node87, node86, node81, node82]
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
|
-
var
|
|
540
|
+
var node40 = configured5();
|
|
541
541
|
function toElicitationField(key, property, required) {
|
|
542
542
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
543
543
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
|
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
591
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2, Service37, Options5, layer15, configured5, node40, exports_mcp4 };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/provider-context.ts
|
|
6
6
|
var exports_provider_context = {};
|
|
7
7
|
__export(exports_provider_context, {
|
|
8
|
-
Info: () =>
|
|
8
|
+
Info: () => Info19,
|
|
9
9
|
SessionProviderContext: () => exports_provider_context,
|
|
10
10
|
compatible: () => compatible2,
|
|
11
11
|
decode: () => decode2,
|
|
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
|
|
|
19
19
|
import { Predicate, Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info19 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -66,4 +66,4 @@ function upgradeLegacyMedia(input) {
|
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { Info19, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|
|
@@ -2,35 +2,35 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
4
|
node87
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-04atd798.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make19,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-t550f9t1.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./repository-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event7,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
29
|
+
Options: () => Options6,
|
|
30
|
+
Service: () => Service39,
|
|
31
|
+
configured: () => configured6,
|
|
32
32
|
layer: () => layer16,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node42
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -42,17 +42,17 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
44
|
var key = Key3.make("core/instructions");
|
|
45
|
-
var
|
|
45
|
+
var Event7 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options6 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service39 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var layer16 = (options) => Layer.effect(
|
|
55
|
+
var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service83;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
@@ -72,9 +72,9 @@ var layer16 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event7.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make19({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer16 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service39.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer16 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured6(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
109
|
+
service: Service39,
|
|
110
110
|
layer: layer16(options),
|
|
111
111
|
deps: [node87]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node42 = configured6();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event7, Options6, Service39, layer16, configured6, node42, exports_instruction_discovery };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID5,
|
|
6
|
+
Service52
|
|
7
|
+
} from "./repository-2rahks1y.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-fqka1xvk.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-jj3kxevf.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-z07pqspn.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service52;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID5.make(from),
|
|
91
|
+
to: ID5.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,29 +1,29 @@
|
|
|
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
|
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-mm244bga.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
20
|
ID13,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-c87t5eya.js";
|
|
24
24
|
import {
|
|
25
25
|
get5
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-54ma36ye.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/openai.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -162,7 +162,7 @@ var headless = (app) => ({
|
|
|
162
162
|
}),
|
|
163
163
|
refresh: (value) => refresh(headlessMethodID, value, app)
|
|
164
164
|
});
|
|
165
|
-
var
|
|
165
|
+
var OpenAIPlugin3 = define({
|
|
166
166
|
id: "opencode.provider.openai",
|
|
167
167
|
effect: Effect.fn(function* (ctx) {
|
|
168
168
|
const bus = yield* Service83;
|
|
@@ -329,4 +329,4 @@ function claim(token) {
|
|
|
329
329
|
return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
|
|
330
330
|
}
|
|
331
331
|
|
|
332
|
-
export {
|
|
332
|
+
export { OpenAIPlugin3 };
|