@opencode-ai/core 0.0.0-beta-18600 → 0.0.0-beta-18684
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 +2 -2
- package/dist/agent.js +70 -70
- package/dist/aisdk-native.js +3 -3
- package/dist/aisdk.js +4 -4
- package/dist/app.js +2 -2
- package/dist/bus.js +68 -68
- package/dist/catalog.js +78 -78
- package/dist/chunks/{project-02dbfq60.js → state-02dbfq60.js} +1 -1
- package/dist/chunks/{project-88g69gay.js → state-0cg1xda9.js} +5 -5
- package/dist/chunks/{project-0gcqkg3x.js → state-0gcqkg3x.js} +2 -2
- package/dist/chunks/{project-0kvmztkf.js → state-0kvmztkf.js} +1 -1
- package/dist/chunks/{project-gtcq6en2.js → state-0v1esw26.js} +20 -22
- package/dist/chunks/{project-10p29vm9.js → state-10p29vm9.js} +1 -1
- package/dist/chunks/{project-15hpbjb6.js → state-15hpbjb6.js} +1 -1
- package/dist/chunks/{project-18pv8fg3.js → state-18pv8fg3.js} +2 -2
- package/dist/chunks/{project-26cqkxws.js → state-1aq7gkhy.js} +12 -12
- package/dist/chunks/{project-jj3fzgje.js → state-1b14nrwf.js} +8 -8
- package/dist/chunks/{project-264e1nfp.js → state-264e1nfp.js} +2 -2
- package/dist/chunks/state-27ykzq5n.js +203 -0
- package/dist/chunks/{project-ex7kk1kw.js → state-297h3553.js} +3 -5
- package/dist/chunks/{project-w7b874ta.js → state-2a5pw7n9.js} +3 -3
- package/dist/chunks/{project-gx0zmkq0.js → state-2b3pkve8.js} +152 -152
- package/dist/chunks/{project-2m0hgr65.js → state-2m0hgr65.js} +1 -1
- package/dist/chunks/{project-tjzkemh8.js → state-2mrfsm54.js} +3 -3
- package/dist/chunks/{project-2nmyybe0.js → state-2nmyybe0.js} +1 -1
- package/dist/chunks/state-2pd1mgzx.js +95 -0
- package/dist/chunks/{project-2wds5nk3.js → state-2wds5nk3.js} +1 -1
- package/dist/chunks/{project-d9wdmbm9.js → state-2ygtazh9.js} +3 -3
- package/dist/chunks/{project-bq1qdn80.js → state-330v609d.js} +6 -6
- package/dist/chunks/{project-bwpyv797.js → state-36dfjbwk.js} +5 -5
- package/dist/chunks/{project-393a352g.js → state-393a352g.js} +2 -2
- package/dist/chunks/{project-52cmy8h2.js → state-3atnf4k9.js} +5 -5
- package/dist/chunks/{project-1mvr5yep.js → state-3feq69af.js} +113 -25
- package/dist/chunks/{project-3g8vftxb.js → state-3g8vftxb.js} +2 -2
- package/dist/chunks/{project-fw3c683y.js → state-3qmndtx9.js} +2 -2
- package/dist/chunks/{project-3qv8nf0b.js → state-3qv8nf0b.js} +1 -1
- package/dist/chunks/{project-3thh6229.js → state-3thh6229.js} +2 -2
- package/dist/chunks/{project-xtjxhef7.js → state-3yz9d04b.js} +2 -2
- package/dist/chunks/{project-7khw64yh.js → state-41qzzbpz.js} +3 -2
- package/dist/chunks/{project-fj3jkv63.js → state-442jakqw.js} +6 -6
- package/dist/chunks/{project-gm95ds07.js → state-48kmwd7y.js} +16 -12
- package/dist/chunks/{project-1v4q2qp6.js → state-4n623fxr.js} +4 -4
- package/dist/chunks/{project-qxsjpy8c.js → state-4twq59qz.js} +6 -6
- package/dist/chunks/{project-r9pv5d9a.js → state-4vn652hh.js} +98 -64
- package/dist/chunks/{project-vxb9gyym.js → state-4xcc4pxn.js} +13 -25
- package/dist/chunks/{project-4zzdwbaz.js → state-4zzdwbaz.js} +2 -2
- package/dist/chunks/{project-50jxp3hw.js → state-50jxp3hw.js} +1 -1
- package/dist/chunks/{project-0xzcm754.js → state-546qm8gr.js} +9 -9
- package/dist/chunks/{project-57ej80dx.js → state-57ej80dx.js} +2 -2
- package/dist/chunks/{project-qfwv4tag.js → state-57sfr108.js} +12 -12
- package/dist/chunks/{project-57tzwnz4.js → state-57tzwnz4.js} +1 -1
- package/dist/chunks/{project-58xdvehb.js → state-58xdvehb.js} +1 -1
- package/dist/chunks/{project-r67bz3x8.js → state-5br90a8p.js} +11 -11
- package/dist/chunks/{project-y5attvn7.js → state-5efnjspb.js} +5 -5
- package/dist/chunks/{project-5fe026tx.js → state-5fe026tx.js} +3 -3
- package/dist/chunks/{project-d0ahwm86.js → state-5hbk2f5z.js} +23 -23
- package/dist/chunks/{project-5rs65q6p.js → state-5rs65q6p.js} +1 -1
- package/dist/chunks/{project-qxpt6zan.js → state-5t7q56hh.js} +16 -16
- package/dist/chunks/{project-tpx671s8.js → state-5th3bkhh.js} +2 -2
- package/dist/chunks/{project-5vcssjzn.js → state-5vcssjzn.js} +1 -1
- package/dist/chunks/{project-6272rtjg.js → state-6272rtjg.js} +1 -1
- package/dist/chunks/{project-zy7gs9ta.js → state-62gc4hyq.js} +9 -9
- package/dist/chunks/{project-t16napr0.js → state-6hrx3qpt.js} +6 -6
- package/dist/chunks/{project-8t2ap2vm.js → state-6kt4mxs4.js} +10 -10
- package/dist/chunks/{project-6ky7rqk7.js → state-6ky7rqk7.js} +1 -1
- package/dist/chunks/{project-0pepaw2y.js → state-6m6jxvnj.js} +26 -34
- package/dist/chunks/{project-r0z48jr6.js → state-6vv9vvfs.js} +11 -11
- package/dist/chunks/{project-6wkzvma0.js → state-6wkzvma0.js} +2 -2
- package/dist/chunks/{project-12r08axk.js → state-6xryfvfs.js} +15 -21
- package/dist/chunks/{project-60xr61qr.js → state-73zfmg2m.js} +5 -5
- package/dist/chunks/{project-ch59ehxr.js → state-74v4zq76.js} +3 -3
- package/dist/chunks/{project-f7q7a28y.js → state-7ccgh94t.js} +6 -6
- package/dist/chunks/{project-eg3rv469.js → state-7e0e6g4b.js} +6 -6
- package/dist/chunks/{project-7mrpdsq5.js → state-7mrpdsq5.js} +1 -1
- package/dist/chunks/{project-eyszsgm3.js → state-7rgfq7cg.js} +14 -14
- package/dist/chunks/{project-7wcmqxrc.js → state-7wcmqxrc.js} +1 -1
- package/dist/chunks/{project-f1zz3pak.js → state-7xfxj81h.js} +4 -4
- package/dist/chunks/{project-dsrkn9fq.js → state-7yxdgcdg.js} +46 -40
- package/dist/chunks/{project-83ba1yz6.js → state-83ba1yz6.js} +2 -2
- package/dist/chunks/{project-zn8r3q6e.js → state-8a4hfbqs.js} +6 -6
- package/dist/chunks/{project-c6yz00sq.js → state-8br4d03d.js} +7 -7
- package/dist/chunks/{project-7d6d29dh.js → state-8ee4ayyt.js} +11 -11
- package/dist/chunks/{project-dmd300cs.js → state-8gggym7s.js} +11 -10
- package/dist/chunks/{project-8pngjawd.js → state-8pngjawd.js} +2 -2
- package/dist/chunks/{project-vphhr7s2.js → state-8q7v1yfa.js} +4 -4
- package/dist/chunks/{project-sn6nad9v.js → state-8qrx9cj0.js} +37 -39
- package/dist/chunks/{project-2tnd1ag8.js → state-8y3819y8.js} +3 -3
- package/dist/chunks/{project-a0s5dkct.js → state-8ya4n8zg.js} +7 -10
- package/dist/chunks/{project-fw21zw5n.js → state-91jv2dwm.js} +9 -9
- package/dist/chunks/{project-4rg3anhc.js → state-9cb4yhpj.js} +17 -12
- package/dist/chunks/{project-9f0rnpkn.js → state-9f0rnpkn.js} +1 -1
- package/dist/chunks/{project-cbdh5emr.js → state-a2jfr9gs.js} +3 -3
- package/dist/chunks/state-a7zp47hx.js +31 -0
- package/dist/chunks/{project-rjnxxp68.js → state-a9rzcc94.js} +13 -11
- package/dist/chunks/{project-anez00x1.js → state-ad3fd695.js} +97 -89
- package/dist/chunks/{project-ma4zf1fd.js → state-af29esbf.js} +1 -1
- package/dist/chunks/{project-hesdqwj7.js → state-am8nd5ct.js} +4 -4
- package/dist/chunks/{project-xdgykwbe.js → state-amkn3mrf.js} +10 -10
- package/dist/chunks/{project-1wpv42fk.js → state-amtptj9f.js} +10 -8
- package/dist/chunks/{project-g2nsgnf7.js → state-aq3jmta4.js} +11 -11
- package/dist/chunks/{project-5sw6s279.js → state-avxxwfmz.js} +3 -3
- package/dist/chunks/{project-awg5d31a.js → state-awg5d31a.js} +1 -1
- package/dist/chunks/{project-k3my2f3q.js → state-az57h3s3.js} +9 -14
- package/dist/chunks/{project-bbhffenw.js → state-bbhffenw.js} +3 -3
- package/dist/chunks/{project-bh1wr8rq.js → state-bh1wr8rq.js} +2 -2
- package/dist/chunks/{project-q52549y3.js → state-bktc4s3t.js} +2 -2
- package/dist/chunks/{project-n08k8xnm.js → state-bsjatayh.js} +10 -10
- package/dist/chunks/{project-byab506k.js → state-byab506k.js} +1 -1
- package/dist/chunks/{project-c4wcb9vc.js → state-c4wcb9vc.js} +2 -2
- package/dist/chunks/{project-c8ya26sa.js → state-c8ya26sa.js} +2 -2
- package/dist/chunks/{project-s9zs8v6y.js → state-cbp56nj8.js} +10 -10
- package/dist/chunks/state-cgqn2mrm.js +147 -0
- package/dist/chunks/{project-gy9zm4ck.js → state-cgy4zpa6.js} +96 -98
- package/dist/chunks/{project-yq1fxjb2.js → state-cnsekzdm.js} +4 -4
- package/dist/chunks/{project-eygmcrvz.js → state-cp8v16sk.js} +7 -7
- package/dist/chunks/{project-37ng30jt.js → state-cpqd33tw.js} +8 -11
- package/dist/chunks/state-cr7tbps7.js +34 -0
- package/dist/chunks/{project-qhe68xsc.js → state-cynvptsh.js} +4 -4
- package/dist/chunks/{project-d2gk9vpf.js → state-d2gk9vpf.js} +2 -2
- package/dist/chunks/{project-d4h7vwhh.js → state-d4h7vwhh.js} +2 -2
- package/dist/chunks/{project-9nk9mkqn.js → state-d4zkabyv.js} +3 -3
- package/dist/chunks/{project-n80x9yrx.js → state-ddkxdmhk.js} +65 -16
- package/dist/chunks/{project-dhphtf1x.js → state-dhphtf1x.js} +1 -1
- package/dist/chunks/{project-1r30nvhb.js → state-dhvv2dke.js} +3 -3
- package/dist/chunks/{project-fhg07p44.js → state-dstxbc7s.js} +7 -7
- package/dist/chunks/{project-63s588jq.js → state-dx3ash2a.js} +22 -21
- package/dist/chunks/{project-kt491qp2.js → state-dyj7wa6j.js} +14 -14
- package/dist/chunks/{project-e1z9a0ts.js → state-e1z9a0ts.js} +2 -2
- package/dist/chunks/{project-qw097fy7.js → state-ebnnd043.js} +27 -29
- package/dist/chunks/{project-ec8vrfw5.js → state-ec8vrfw5.js} +1 -1
- package/dist/chunks/{project-dgmzb1tr.js → state-efb59s13.js} +31 -33
- package/dist/chunks/{project-enpg66yn.js → state-enpg66yn.js} +1 -1
- package/dist/chunks/{project-ep35cpen.js → state-ep35cpen.js} +1 -1
- package/dist/chunks/{project-r5gg458q.js → state-epxhfqb6.js} +45 -44
- package/dist/chunks/state-etvrgfqj.js +74 -0
- package/dist/chunks/{project-f9wt0tjw.js → state-f9wt0tjw.js} +2 -2
- package/dist/chunks/{project-rgh2fcxw.js → state-fd8j0005.js} +33 -10
- package/dist/chunks/{project-fgyjabww.js → state-fgyjabww.js} +2 -2
- package/dist/chunks/{project-fm3b2wbt.js → state-fm3b2wbt.js} +2 -2
- package/dist/chunks/{project-1cvksg4c.js → state-fp623900.js} +2 -2
- package/dist/chunks/{project-5cdnkd94.js → state-fyaxe1pd.js} +4 -6
- package/dist/chunks/{project-a9vdgkgd.js → state-g23fad86.js} +2 -0
- package/dist/chunks/{project-75h1hfe2.js → state-g5tvq2z7.js} +3 -3
- package/dist/chunks/{project-gb1z7yet.js → state-gb1z7yet.js} +2 -2
- package/dist/chunks/{project-gcay93cp.js → state-gcay93cp.js} +1 -1
- package/dist/chunks/{project-gd2xppx8.js → state-gd2xppx8.js} +1 -1
- package/dist/chunks/state-gpxba9vf.js +120 -0
- package/dist/chunks/{project-3ngtzkgg.js → state-grxebm7t.js} +3 -3
- package/dist/chunks/{project-5fkc1wrz.js → state-gysjbt8f.js} +3 -3
- package/dist/chunks/{project-h12kt9pa.js → state-h12kt9pa.js} +2 -2
- package/dist/chunks/{project-4s2xwh5d.js → state-h5wnyjzw.js} +4 -21
- package/dist/chunks/{project-j5sjtdxs.js → state-h8499ys5.js} +3 -3
- package/dist/chunks/{project-h94zdhz8.js → state-h94zdhz8.js} +2 -2
- package/dist/chunks/{project-tcptxgyq.js → state-hgr9y616.js} +1 -3
- package/dist/chunks/{project-w14414t3.js → state-hjcbr714.js} +12 -4
- package/dist/chunks/{project-hp6rpdnc.js → state-hp6rpdnc.js} +1 -1
- package/dist/chunks/{project-6tmgbn41.js → state-hptxbmcw.js} +53 -37
- package/dist/chunks/{project-0687t5rp.js → state-hxcd35r2.js} +6 -6
- package/dist/chunks/{project-zxcy6vhn.js → state-j0feex7e.js} +2 -2
- package/dist/chunks/{project-j0sncrp4.js → state-j0sncrp4.js} +3 -3
- package/dist/chunks/{project-t0msbthe.js → state-j281xcgt.js} +3 -3
- package/dist/chunks/{project-mczqbtr0.js → state-j29rhpt4.js} +9 -9
- package/dist/chunks/{project-eeta29b7.js → state-k828h0dz.js} +4 -4
- package/dist/chunks/{project-kg1345f7.js → state-kg1345f7.js} +1 -1
- package/dist/chunks/{project-kp1t5rcy.js → state-kp1t5rcy.js} +1 -1
- package/dist/chunks/{project-krsqcmnj.js → state-krsqcmnj.js} +1 -1
- package/dist/chunks/{project-pm64n062.js → state-kse1g3vm.js} +77 -81
- package/dist/chunks/{project-jcsmb80n.js → state-m0t583rx.js} +2 -2
- package/dist/chunks/{project-m55whf0h.js → state-m55whf0h.js} +2 -2
- package/dist/chunks/{project-0r1p85sc.js → state-mdr0b99r.js} +8 -5
- package/dist/chunks/{project-mf0hyk7z.js → state-mf0hyk7z.js} +1 -1
- package/dist/chunks/{project-vqt151v9.js → state-mg2nmqys.js} +3 -3
- package/dist/chunks/{project-n79xa5zf.js → state-mhk3rrcb.js} +5 -5
- package/dist/chunks/{project-mnb85w6b.js → state-mnb85w6b.js} +2 -2
- package/dist/chunks/{project-qmbgqwhj.js → state-mwvdpwcp.js} +38 -44
- package/dist/chunks/{project-mxjff6xk.js → state-mxjff6xk.js} +4 -4
- package/dist/chunks/{project-mxvw03gv.js → state-mxvw03gv.js} +1 -1
- package/dist/chunks/{project-c2dy8s0z.js → state-myj58n64.js} +9 -9
- package/dist/chunks/{project-zy5j9fqq.js → state-n3j6ek0z.js} +5 -5
- package/dist/chunks/{project-pxfsdh0y.js → state-n4fxzf0c.js} +6 -6
- package/dist/chunks/{project-a7tr07hx.js → state-n7nsrdbk.js} +3 -3
- package/dist/chunks/{project-d37zqxgn.js → state-nf920z1m.js} +12 -12
- package/dist/chunks/{project-2knkewgs.js → state-ngz3v23c.js} +3 -3
- package/dist/chunks/{project-86t2edmb.js → state-np2sgr2t.js} +9 -9
- package/dist/chunks/{project-nr76rjj3.js → state-nr76rjj3.js} +2 -2
- package/dist/chunks/{project-ns0sdez7.js → state-ns0sdez7.js} +3 -3
- package/dist/chunks/{project-h2h934sz.js → state-nsb760q1.js} +8 -8
- package/dist/chunks/{project-01z9805y.js → state-ny5bre0m.js} +4 -4
- package/dist/chunks/{project-nzrjycs5.js → state-nzrjycs5.js} +1 -1
- package/dist/chunks/{project-8s775pjc.js → state-p7bctnjr.js} +6 -6
- package/dist/chunks/{project-5v57kk1r.js → state-p9c8s57s.js} +3 -3
- package/dist/chunks/{project-ayrkq19e.js → state-pbrq9pmc.js} +104 -78
- package/dist/chunks/{project-pq4b4pqk.js → state-pq4b4pqk.js} +2 -2
- package/dist/chunks/{project-9wbq8qv2.js → state-pq4efbwz.js} +8 -8
- package/dist/chunks/{project-q606pcse.js → state-q606pcse.js} +3 -3
- package/dist/chunks/{project-qe0d689s.js → state-qe0d689s.js} +2 -2
- package/dist/chunks/{project-63n18kwk.js → state-qjfz0d3t.js} +4 -4
- package/dist/chunks/{project-27gfv7vw.js → state-qnk6x8hc.js} +3 -3
- package/dist/chunks/{project-pm12wdxj.js → state-qph0wk53.js} +2 -2
- package/dist/chunks/{project-sgh68dve.js → state-qyv2f15b.js} +17 -17
- package/dist/chunks/state-qzp632xx.js +483 -0
- package/dist/chunks/{project-r13w8t0w.js → state-r13w8t0w.js} +2 -2
- package/dist/chunks/{project-r3k9abhd.js → state-r3k9abhd.js} +2 -2
- package/dist/chunks/{project-r9d3d23r.js → state-r9d3d23r.js} +1 -1
- package/dist/chunks/{project-rahat93a.js → state-rahat93a.js} +1 -1
- package/dist/chunks/{project-rbnp2c85.js → state-rbnp2c85.js} +3 -3
- package/dist/chunks/{project-cz0kv403.js → state-rf120rew.js} +6 -6
- package/dist/chunks/{project-sg39537v.js → state-rg042c41.js} +5 -5
- package/dist/chunks/{project-ntzp27rn.js → state-rg5dm0vs.js} +6 -8
- package/dist/chunks/{project-z1at3hn2.js → state-rjawwthv.js} +5 -5
- package/dist/chunks/{project-bqjtetqx.js → state-rjnf462d.js} +91 -91
- package/dist/chunks/{project-6kmefejb.js → state-rrqrf7hs.js} +13 -13
- package/dist/chunks/state-rw00p5qk.js +330 -0
- package/dist/chunks/{project-s2kjqxd3.js → state-s2kjqxd3.js} +1 -1
- package/dist/chunks/{project-s33fw6zm.js → state-s33fw6zm.js} +1 -1
- package/dist/chunks/{project-smpeg8c9.js → state-smpeg8c9.js} +2 -2
- package/dist/chunks/{project-sw84ckhj.js → state-sw84ckhj.js} +1 -1
- package/dist/chunks/{project-sjgf8zbe.js → state-sw91z7ka.js} +5 -5
- package/dist/chunks/{project-mcmqzvt7.js → state-sxns5my2.js} +5 -5
- package/dist/chunks/{project-p2h03eta.js → state-sz7acswn.js} +4 -4
- package/dist/chunks/{project-t14kykx1.js → state-t14kykx1.js} +1 -1
- package/dist/chunks/{project-3gybxysr.js → state-t4jyzchx.js} +36 -36
- package/dist/chunks/{project-4f5az0e7.js → state-t77pcxaw.js} +3 -3
- package/dist/chunks/{project-hs6h3an3.js → state-tcxjymvf.js} +60 -60
- package/dist/chunks/{project-7k160n64.js → state-temtg8dy.js} +5 -5
- package/dist/chunks/{project-vjmn5wwb.js → state-tfd8n8cn.js} +7 -7
- package/dist/chunks/{project-tgbb2ckq.js → state-tgbb2ckq.js} +2 -2
- package/dist/chunks/{project-thstd87d.js → state-thstd87d.js} +1 -1
- package/dist/chunks/{project-tjrfm0xh.js → state-tjrfm0xh.js} +2 -2
- package/dist/chunks/{project-apgan3pt.js → state-tk21pea4.js} +7 -6
- package/dist/chunks/{project-y85nmh9b.js → state-v16fefw3.js} +11 -11
- package/dist/chunks/{project-v2wshkax.js → state-v2wshkax.js} +1 -1
- package/dist/chunks/{project-v80zsxnb.js → state-v80zsxnb.js} +1 -1
- package/dist/chunks/{project-v972xay6.js → state-v972xay6.js} +1 -1
- package/dist/chunks/{project-v9bfv94f.js → state-v9bfv94f.js} +1 -1
- package/dist/chunks/state-vcw3phwb.js +33 -0
- package/dist/chunks/{project-vcwr2vpf.js → state-vcwr2vpf.js} +1 -1
- package/dist/chunks/{project-mx048vt2.js → state-vhxwmcne.js} +5 -7
- package/dist/chunks/{project-gcc0jgqv.js → state-vpac0x8g.js} +3 -3
- package/dist/chunks/{project-vqbmgfq1.js → state-vqbmgfq1.js} +3 -3
- package/dist/chunks/{project-brrb2k9c.js → state-vrg9c9q9.js} +4 -4
- package/dist/chunks/{project-qzrmckdd.js → state-vs78gshx.js} +6 -6
- package/dist/chunks/{project-sag4arrb.js → state-vwj18m7v.js} +3 -3
- package/dist/chunks/{project-vz89hfgr.js → state-vz89hfgr.js} +1 -1
- package/dist/chunks/{project-9twaxxs3.js → state-wavksq96.js} +5 -5
- package/dist/chunks/{project-wbkt8qpj.js → state-wbkt8qpj.js} +1 -1
- package/dist/chunks/{project-wmxdh12w.js → state-wmxdh12w.js} +1 -1
- package/dist/chunks/{project-wps8gh8n.js → state-wps8gh8n.js} +2 -2
- package/dist/chunks/{project-hxw68eqm.js → state-wzks8mfc.js} +5 -5
- package/dist/chunks/{project-x89rah0x.js → state-x89rah0x.js} +1 -1
- package/dist/chunks/{project-cg0y8hn9.js → state-x9782t8s.js} +11 -11
- package/dist/chunks/{project-xczfw7dq.js → state-xczfw7dq.js} +1 -1
- package/dist/chunks/{project-xgv25zxy.js → state-xgv25zxy.js} +1 -1
- package/dist/chunks/{project-xj0xhwdw.js → state-xj0xhwdw.js} +1 -1
- package/dist/chunks/{project-szqzwjp8.js → state-xqsjgyve.js} +14 -14
- package/dist/chunks/{project-xwftk1fd.js → state-xwftk1fd.js} +2 -2
- package/dist/chunks/{project-xxpvz42q.js → state-xxpvz42q.js} +3 -3
- package/dist/chunks/{project-y0x38cee.js → state-y0x38cee.js} +1 -1
- package/dist/chunks/{project-y198y2ra.js → state-y198y2ra.js} +1 -1
- package/dist/chunks/{project-y67x6rf6.js → state-y67x6rf6.js} +1 -1
- package/dist/chunks/{project-pba5amb4.js → state-y84yndyz.js} +5 -4
- package/dist/chunks/{project-917g9tmj.js → state-y8hfmrbz.js} +6 -8
- package/dist/chunks/{project-ssk1zpcb.js → state-yh1c5vjh.js} +10 -10
- package/dist/chunks/{project-8ptyzv8c.js → state-yhxs0ds9.js} +75 -122
- package/dist/chunks/{project-yf0knd5z.js → state-yt02w91s.js} +20 -21
- package/dist/chunks/{project-djskppfh.js → state-ywjbnhwf.js} +4 -4
- package/dist/chunks/{project-8xpa4rfs.js → state-z2v2g0w5.js} +6 -6
- package/dist/chunks/{project-zbqqnp0n.js → state-zbqqnp0n.js} +1 -1
- package/dist/chunks/{project-zdkg1k91.js → state-zdkg1k91.js} +1 -1
- package/dist/chunks/{project-y68gmye4.js → state-zmwyjx4d.js} +19 -17
- package/dist/chunks/{project-sdcydb11.js → state-zqpaf5g0.js} +3 -3
- package/dist/chunks/{project-k2bjf35z.js → state-zrdgbthy.js} +12 -12
- package/dist/chunks/{project-zs1qer6v.js → state-zs1qer6v.js} +2 -2
- package/dist/chunks/{project-zxe9jjhn.js → state-zxe9jjhn.js} +2 -2
- package/dist/chunks/{project-mankezgy.js → state-zygzxh1b.js} +16 -6
- package/dist/codemode/catalog.js +2 -2
- package/dist/codemode/instructions.js +4 -4
- package/dist/codemode/tool.js +3 -3
- package/dist/command.js +70 -70
- package/dist/config/markdown.js +2 -2
- package/dist/config/normalize.js +20 -20
- package/dist/config/plugin/agent.js +132 -132
- package/dist/config/plugin/command.js +118 -118
- package/dist/config/plugin/compaction.js +146 -146
- package/dist/config/plugin/entry-observer.js +114 -114
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +131 -131
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +116 -116
- package/dist/config/plugin/provider.js +115 -115
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +103 -103
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +114 -114
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/variable.js +4 -4
- package/dist/config.js +113 -113
- package/dist/credential/sql.js +3 -3
- package/dist/credential.js +71 -71
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +13 -13
- package/dist/database/drizzle/effect-sqlite/index.js +13 -13
- package/dist/database/drizzle/effect-sqlite/session.js +12 -12
- package/dist/database/drizzle/index.js +14 -14
- package/dist/database/drizzle/internal/drizzle-utils.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/count.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/db.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/delete.js +3 -3
- package/dist/database/drizzle/sqlite-core/effect/index.js +16 -16
- package/dist/database/drizzle/sqlite-core/effect/insert.js +3 -3
- package/dist/database/drizzle/sqlite-core/effect/query.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/raw.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/select.js +3 -3
- package/dist/database/drizzle/sqlite-core/effect/session.js +11 -11
- package/dist/database/drizzle/sqlite-core/effect/update.js +3 -3
- package/dist/database/drizzle.js +15 -15
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +2 -2
- package/dist/database/migration/20260211171708_add_project_commands.js +2 -2
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +2 -2
- package/dist/database/migration/20260225215848_workspace.js +2 -2
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +2 -2
- package/dist/database/migration/20260228203230_blue_harpoon.js +2 -2
- package/dist/database/migration/20260303231226_add_workspace_fields.js +2 -2
- package/dist/database/migration/20260309230000_move_org_to_state.js +2 -2
- package/dist/database/migration/20260312043431_session_message_cursor.js +2 -2
- package/dist/database/migration/20260323234822_events.js +2 -2
- package/dist/database/migration/20260410174513_workspace-name.js +2 -2
- package/dist/database/migration/20260413175956_chief_energizer.js +2 -2
- package/dist/database/migration/20260423070820_add_icon_url_override.js +2 -2
- package/dist/database/migration/20260427172553_slow_nightmare.js +2 -2
- package/dist/database/migration/20260428004200_add_session_path.js +2 -2
- package/dist/database/migration/20260501142318_next_venus.js +2 -2
- package/dist/database/migration/20260504145000_add_sync_owner.js +2 -2
- package/dist/database/migration/20260507164347_add_workspace_time.js +2 -2
- package/dist/database/migration/20260510033149_session_usage.js +2 -2
- package/dist/database/migration/20260511000411_data_migration_state.js +2 -2
- package/dist/database/migration/20260511173437_session-metadata.js +2 -2
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +2 -2
- package/dist/database/migration/20260601202201_amazing_prowler.js +2 -2
- package/dist/database/migration/20260602002951_lowly_union_jack.js +2 -2
- package/dist/database/migration/20260602182828_add_project_directories.js +2 -2
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +2 -2
- package/dist/database/migration/20260603040000_session_message_projection_order.js +2 -2
- package/dist/database/migration/20260603141458_session_input_inbox.js +2 -2
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +2 -2
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +2 -2
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +2 -2
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +2 -2
- package/dist/database/migration/20260611035744_credential.js +2 -2
- package/dist/database/migration/20260611192811_lush_chimera.js +2 -2
- package/dist/database/migration/20260612174303_project_dir_strategy.js +2 -2
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +2 -2
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +2 -2
- package/dist/database/migration/20260622202450_simplify_session_input.js +2 -2
- package/dist/database/migration/20260804233008_loose_psylocke.js +2 -2
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +2 -2
- package/dist/database/migration/20260808023530_workspace_domain.js +2 -2
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +2 -2
- package/dist/database/migration/20260812181746_session_inbox.js +2 -2
- package/dist/database/migration/20260812213948_worktree.js +2 -2
- package/dist/database/migration/20260819222447_session_viewed_state.js +2 -2
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +2 -2
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +3 -3
- package/dist/database/schema.gen.js +2 -2
- package/dist/database/schema.sql.js +2 -2
- package/dist/database/sqlite.bun.js +2 -2
- package/dist/database/sqlite.js +2 -2
- package/dist/database/sqlite.node.js +2 -2
- package/dist/database/sqlite.workerd.js +3 -3
- package/dist/database/v1-migration.bun.js +173 -176
- package/dist/database/v1-migration.js +2 -2
- package/dist/database/v1-migration.noop.js +1 -1
- package/dist/effect/app-node-builder.js +339 -333
- package/dist/effect/app-node-platform.js +3 -3
- package/dist/effect/keyed-mutex.js +2 -2
- package/dist/effect/websocket-constructor.js +2 -2
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +91 -91
- package/dist/environment/exec-defaults.js +3 -3
- package/dist/environment/files.js +2 -2
- package/dist/environment/index.js +93 -93
- package/dist/environment/local.js +3 -3
- package/dist/environment/memory.js +3 -3
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +2 -2
- package/dist/event-logger.js +68 -68
- package/dist/file-mutation.js +92 -92
- package/dist/file-retention.js +2 -2
- package/dist/file.js +2 -2
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +2 -2
- 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 +3 -3
- package/dist/filesystem/location-watcher.js +313 -309
- package/dist/filesystem/protected.js +2 -2
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +2 -2
- package/dist/filesystem/watcher.js +4 -4
- package/dist/filesystem.js +97 -97
- package/dist/form.js +69 -69
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +85 -85
- package/dist/generate.js +84 -84
- package/dist/git.js +5 -5
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +2 -2
- package/dist/github-copilot/chat/get-response-metadata.js +2 -2
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +2 -2
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +8 -8
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +2 -2
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +2 -2
- package/dist/github-copilot/copilot-provider.js +20 -20
- package/dist/github-copilot/models.js +4 -4
- package/dist/github-copilot/openai-compatible-error.js +2 -2
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +2 -2
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +2 -2
- package/dist/github-copilot/responses/openai-error.js +2 -2
- package/dist/github-copilot/responses/openai-responses-language-model.js +11 -11
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +10 -8
- package/dist/github-copilot/responses/tool/code-interpreter.js +2 -2
- package/dist/github-copilot/responses/tool/file-search.js +2 -2
- package/dist/github-copilot/responses/tool/image-generation.js +2 -2
- package/dist/github-copilot/responses/tool/web-search-preview.js +2 -2
- package/dist/github-copilot/responses/tool/web-search.js +2 -2
- package/dist/id/id.js +2 -2
- package/dist/image/photon-wasm.bun.js +1 -1
- package/dist/image/photon-wasm.node.js +1 -1
- package/dist/image/photon-wasm.workerd.js +1 -1
- package/dist/image/photon.js +107 -102
- package/dist/image.js +99 -99
- package/dist/instance.js +338 -332
- package/dist/instruction-discovery.js +72 -72
- package/dist/instructions/builtins.js +85 -86
- package/dist/instructions/index.js +2 -2
- package/dist/integration/connection.js +2 -2
- package/dist/integration.js +75 -75
- package/dist/job.js +72 -72
- package/dist/kv/sql.js +3 -3
- package/dist/kv.js +68 -68
- package/dist/location-activity.js +85 -85
- package/dist/location-mutation.js +84 -84
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +339 -333
- package/dist/location.js +83 -83
- package/dist/mcp/client.js +97 -93
- package/dist/mcp/index.js +98 -98
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +2 -2
- package/dist/model-resolver.js +81 -81
- package/dist/model.js +3 -3
- package/dist/models-dev.js +75 -75
- package/dist/oauth/page.js +2 -2
- package/dist/permission/saved.js +71 -84
- package/dist/permission/sql.js +6 -6
- package/dist/permission.js +100 -100
- package/dist/persistent-pty/binary.bun.js +2 -2
- package/dist/persistent-pty/binary.node.js +1 -1
- package/dist/persistent-pty/binary.workerd.js +1 -1
- package/dist/persistent-pty/daemon.js +2 -2
- package/dist/persistent-pty/index.js +73 -73
- package/dist/persistent-pty/pty-binding.js +2 -2
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +202 -174
- package/dist/plugin/instance.js +2 -2
- package/dist/plugin/internal.js +307 -302
- package/dist/plugin/mcp-codemode-exclusion.js +2 -2
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +3 -3
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +2 -2
- package/dist/plugin/provider/alibaba.js +3 -3
- package/dist/plugin/provider/amazon-bedrock.js +3 -3
- package/dist/plugin/provider/anthropic.js +3 -3
- package/dist/plugin/provider/azure.js +123 -123
- package/dist/plugin/provider/cerebras.js +3 -3
- package/dist/plugin/provider/cloudflare-ai-gateway.js +122 -122
- package/dist/plugin/provider/cloudflare-workers-ai.js +122 -122
- package/dist/plugin/provider/cohere.js +3 -3
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/dynamic.js +3 -3
- package/dist/plugin/provider/factory.js +2 -2
- package/dist/plugin/provider/gateway.js +3 -3
- package/dist/plugin/provider/github-copilot.js +82 -82
- package/dist/plugin/provider/gitlab.js +4 -4
- package/dist/plugin/provider/google-vertex.js +3 -3
- package/dist/plugin/provider/kilo.js +3 -3
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +120 -120
- package/dist/plugin/provider/mistral.js +3 -3
- package/dist/plugin/provider/nvidia.js +3 -3
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai-compatible.js +2 -2
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +93 -93
- package/dist/plugin/provider/openrouter.js +4 -4
- package/dist/plugin/provider/perplexity.js +3 -3
- package/dist/plugin/provider/sap-ai-core.js +4 -4
- package/dist/plugin/provider/sdk-factory.js +2 -2
- package/dist/plugin/provider/snowflake-cortex.js +3 -3
- package/dist/plugin/provider/venice.js +3 -3
- package/dist/plugin/provider/vercel.js +3 -3
- package/dist/plugin/provider/vllm.js +120 -120
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +3 -3
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/runtime.js +190 -162
- package/dist/plugin/sdk.js +69 -69
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +2 -2
- package/dist/plugin/supervisor-service.js +2 -2
- package/dist/plugin/supervisor.js +312 -308
- package/dist/plugin/system-prompt.js +2 -2
- package/dist/plugin/variant.js +3 -4
- package/dist/plugin/vcs/git.js +87 -85
- package/dist/plugin/vcs/hg.js +87 -85
- package/dist/plugin/warming.js +114 -115
- package/dist/plugin/websearch/exa.js +4 -4
- package/dist/plugin/websearch/firecrawl.js +5 -5
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +3 -3
- package/dist/plugin/websearch/parallel.js +5 -5
- package/dist/plugin/websearch/tavily.js +3 -3
- package/dist/plugin.js +203 -175
- package/dist/project/markers.js +74 -74
- package/dist/project/schema.js +3 -3
- package/dist/project/sql.js +5 -5
- package/dist/project.js +82 -82
- package/dist/provider.js +2 -2
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/pty.bun.js +1 -1
- package/dist/pty/pty.node.js +1 -1
- package/dist/pty/pty.workerd.js +1 -1
- package/dist/pty/schema.js +2 -2
- package/dist/pty/ticket.js +2 -70
- package/dist/pty.js +89 -89
- package/dist/reference/instructions.js +77 -77
- package/dist/reference.js +75 -75
- package/dist/repository-cache.js +7 -7
- package/dist/repository.js +2 -2
- package/dist/ripgrep/binary.js +3 -3
- package/dist/ripgrep.js +94 -94
- package/dist/schema.js +2 -2
- package/dist/session/compaction.js +118 -118
- package/dist/session/context.js +322 -318
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +26 -4
- package/dist/session/event.js +2 -2
- package/dist/session/execution/restart.js +203 -185
- package/dist/session/execution.js +122 -122
- package/dist/session/generate-node.js +323 -319
- package/dist/session/generate.js +2 -2
- package/dist/session/history.js +77 -77
- package/dist/session/inbox.js +86 -90
- package/dist/session/info.js +4 -4
- package/dist/session/instruction-entry.js +73 -73
- package/dist/session/instruction-state.js +10 -10
- package/dist/session/instructions.js +94 -94
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +2 -2
- package/dist/session/model-request.js +139 -139
- package/dist/session/model-transport.js +5 -5
- package/dist/session/projector.js +83 -83
- package/dist/session/prompt-node.js +320 -0
- package/dist/session/prompt.js +130 -0
- package/dist/session/revert-node.js +320 -0
- package/dist/session/revert.js +100 -95
- package/dist/session/run-coordinator.js +2 -2
- package/dist/session/runner/index.js +84 -84
- package/dist/session/runner/llm.js +328 -324
- package/dist/session/runner/max-steps.js +2 -2
- package/dist/session/runner/model.js +83 -83
- package/dist/session/runner/publish-llm-event.js +4 -4
- package/dist/session/runner/retry.js +74 -74
- package/dist/session/runner/step.js +148 -148
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +2 -2
- package/dist/session/session.js +181 -0
- package/dist/session/sql.js +6 -6
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +79 -79
- package/dist/session/subagent-completion.js +9 -0
- package/dist/session/system-prompt.js +2 -2
- package/dist/session/title.js +323 -319
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +192 -169
- package/dist/session/usage.js +2 -2
- package/dist/session.js +196 -168
- package/dist/shell/parse.js +7 -7
- package/dist/shell/parser-wasm.bun.js +1 -1
- package/dist/shell/parser-wasm.node.js +1 -1
- package/dist/shell/parser-wasm.workerd.js +1 -1
- package/dist/shell/result.js +19 -0
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +4 -4
- package/dist/shell.js +132 -99
- package/dist/skill/discovery.js +3 -3
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +101 -101
- package/dist/snapshot.js +85 -85
- package/dist/state.js +2 -2
- package/dist/tool/html-markdown.js +2 -2
- package/dist/tool/http-body.js +2 -2
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +113 -113
- package/dist/tool/plugin/file-diff.js +2 -2
- package/dist/tool/plugin/glob.js +116 -116
- package/dist/tool/plugin/grep.js +116 -116
- package/dist/tool/plugin/patch.js +113 -113
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +193 -190
- package/dist/tool/plugin/skill.js +102 -102
- package/dist/tool/plugin/subagent.js +192 -187
- package/dist/tool/plugin/webfetch.js +103 -103
- package/dist/tool/plugin/websearch.js +105 -105
- package/dist/tool/plugin/write.js +113 -113
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +2 -2
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +119 -119
- package/dist/types/database/drizzle/effect-sqlite/driver.d.ts +7 -7
- package/dist/types/database/drizzle/sqlite-core/effect/insert.d.ts +0 -1
- package/dist/types/github-copilot/responses/openai-responses-prepare-tools.d.ts +9 -1
- package/dist/types/image/photon.d.ts +2 -7
- package/dist/types/instance.d.ts +2 -2
- package/dist/types/instructions/builtins.d.ts +2 -2
- package/dist/types/location-service-map.d.ts +2 -2
- package/dist/types/mcp/client.d.ts +3 -0
- package/dist/types/mcp/index.d.ts +2 -0
- package/dist/types/persistent-pty/index.d.ts +3 -22
- package/dist/types/plugin/host.d.ts +9 -19
- package/dist/types/plugin/runtime.d.ts +1 -1
- package/dist/types/plugin/variant.d.ts +1 -1
- package/dist/types/project.d.ts +1 -0
- package/dist/types/pty/ticket.d.ts +1 -1
- package/dist/types/session/error.d.ts +115 -0
- package/dist/types/session/execution.d.ts +2 -0
- package/dist/types/session/inbox.d.ts +557 -176
- package/dist/types/session/model-request.d.ts +3 -2
- package/dist/types/session/prompt-node.d.ts +3 -0
- package/dist/types/session/prompt.d.ts +126 -0
- package/dist/types/session/revert-node.d.ts +3 -0
- package/dist/types/session/revert.d.ts +24 -29
- package/dist/types/session/run-coordinator.d.ts +2 -0
- package/dist/types/session/runner/model.d.ts +6 -6
- package/dist/types/session/runner/publish-llm-event.d.ts +7 -5
- package/dist/types/session/runner/retry.d.ts +28 -4
- package/dist/types/session/runner/step.d.ts +21 -17
- package/dist/types/session/runner/to-llm-message.d.ts +1 -1
- package/dist/types/session/session.d.ts +232 -0
- package/dist/types/session/subagent-completion.d.ts +10 -0
- package/dist/types/session.d.ts +14 -141
- package/dist/types/shell/result.d.ts +54 -0
- package/dist/types/shell.d.ts +2 -0
- package/dist/types/skill.d.ts +1 -1
- package/dist/types/vcs.d.ts +12 -4
- package/dist/util/array.js +1 -1
- package/dist/util/error.js +2 -2
- package/dist/util/identifier.js +1 -1
- package/dist/util/iife.js +2 -2
- package/dist/util/lazy.js +2 -2
- package/dist/util/process-lock-ffi.bun.js +1 -1
- package/dist/util/process-lock-ffi.node.js +1 -1
- package/dist/util/process-lock-ffi.workerd.js +1 -1
- package/dist/util/process-lock.js +1 -1
- package/dist/util/slug.js +2 -2
- package/dist/util/token.js +2 -2
- package/dist/util/which.js +2 -2
- package/dist/util/wildcard.js +2 -2
- package/dist/v1/config/agent.js +4 -4
- package/dist/v1/config/attachment.js +3 -3
- package/dist/v1/config/command.js +2 -2
- package/dist/v1/config/config.js +15 -15
- package/dist/v1/config/error.js +3 -3
- package/dist/v1/config/formatter.js +2 -2
- package/dist/v1/config/layout.js +2 -2
- package/dist/v1/config/lsp.js +2 -2
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +19 -19
- package/dist/v1/config/permission.js +2 -2
- package/dist/v1/config/plugin.js +2 -2
- package/dist/v1/config/provider-options.js +2 -2
- package/dist/v1/config/provider.js +3 -3
- package/dist/v1/config/server.js +3 -3
- package/dist/v1/config/skills.js +2 -2
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +2 -2
- package/dist/vcs.js +91 -87
- package/dist/websearch.js +73 -73
- package/dist/wellknown/plugin.js +73 -73
- package/dist/wellknown.js +72 -72
- package/dist/workspace/driver.js +2 -2
- package/dist/workspace/sql.js +2 -2
- package/dist/workspace.js +69 -69
- package/dist/worktree/directory.js +3 -3
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/sql.js +6 -6
- package/dist/worktree.js +87 -87
- package/package.json +7 -7
- package/dist/chunks/project-7yga2xb3.js +0 -115
- package/dist/chunks/project-fb7nfzf2.js +0 -71
- package/dist/chunks/project-p2k7bd69.js +0 -924
- package/dist/chunks/project-tqf07m3e.js +0 -62
- package/dist/config/file.js +0 -128
- package/dist/types/config/file.d.ts +0 -17
- /package/dist/chunks/{project-0cgt0xh2.js → state-0cgt0xh2.js} +0 -0
- /package/dist/chunks/{project-0f48qthw.js → state-0f48qthw.js} +0 -0
- /package/dist/chunks/{project-0zz82cjq.js → state-0zz82cjq.js} +0 -0
- /package/dist/chunks/{project-1fb7bmpf.js → state-1fb7bmpf.js} +0 -0
- /package/dist/chunks/{project-1wcz8fvj.js → state-1wcz8fvj.js} +0 -0
- /package/dist/chunks/{project-29n7vfk2.js → state-29n7vfk2.js} +0 -0
- /package/dist/chunks/{project-2qdx6zz3.js → state-2qdx6zz3.js} +0 -0
- /package/dist/chunks/{project-2xb0r1c6.js → state-2xb0r1c6.js} +0 -0
- /package/dist/chunks/{project-39ktntah.js → state-39ktntah.js} +0 -0
- /package/dist/chunks/{project-3g3rpp2x.js → state-3g3rpp2x.js} +0 -0
- /package/dist/chunks/{project-3w3ybtfd.js → state-3w3ybtfd.js} +0 -0
- /package/dist/chunks/{project-47ty4mvs.js → state-47ty4mvs.js} +0 -0
- /package/dist/chunks/{project-4b2tz2m9.js → state-4b2tz2m9.js} +0 -0
- /package/dist/chunks/{project-5a5ch9ts.js → state-5a5ch9ts.js} +0 -0
- /package/dist/chunks/{project-5va1yh78.js → state-5va1yh78.js} +0 -0
- /package/dist/chunks/{project-61ek4hj9.js → state-61ek4hj9.js} +0 -0
- /package/dist/chunks/{project-69qrqpw0.js → state-69qrqpw0.js} +0 -0
- /package/dist/chunks/{project-6zqxzw0a.js → state-6zqxzw0a.js} +0 -0
- /package/dist/chunks/{project-7n9qwqk4.js → state-7n9qwqk4.js} +0 -0
- /package/dist/chunks/{project-8nn8kqcn.js → state-8nn8kqcn.js} +0 -0
- /package/dist/chunks/{project-8rpfd2h6.js → state-8rpfd2h6.js} +0 -0
- /package/dist/chunks/{project-8sj3ajy5.js → state-8sj3ajy5.js} +0 -0
- /package/dist/chunks/{project-8w9tzfz1.js → state-8w9tzfz1.js} +0 -0
- /package/dist/chunks/{project-906y0b6d.js → state-906y0b6d.js} +0 -0
- /package/dist/chunks/{project-9dct5xhx.js → state-9dct5xhx.js} +0 -0
- /package/dist/chunks/{project-9maxscqf.js → state-9maxscqf.js} +0 -0
- /package/dist/chunks/{project-9sdtsapf.js → state-9sdtsapf.js} +0 -0
- /package/dist/chunks/{project-a02svayp.js → state-a02svayp.js} +0 -0
- /package/dist/chunks/{project-a83yvq99.js → state-a83yvq99.js} +0 -0
- /package/dist/chunks/{project-ayevdmef.js → state-ayevdmef.js} +0 -0
- /package/dist/chunks/{project-b02txbh8.js → state-b02txbh8.js} +0 -0
- /package/dist/chunks/{project-bbqs2y60.js → state-bbqs2y60.js} +0 -0
- /package/dist/chunks/{project-bjwj8hwv.js → state-bjwj8hwv.js} +0 -0
- /package/dist/chunks/{project-brsh5f65.js → state-brsh5f65.js} +0 -0
- /package/dist/chunks/{project-bxdhjb3y.js → state-bxdhjb3y.js} +0 -0
- /package/dist/chunks/{project-c77ad0vh.js → state-c77ad0vh.js} +0 -0
- /package/dist/chunks/{project-cm67rqy2.js → state-cm67rqy2.js} +0 -0
- /package/dist/chunks/{project-df3v2q6j.js → state-df3v2q6j.js} +0 -0
- /package/dist/chunks/{project-dhcq6c44.js → state-dhcq6c44.js} +0 -0
- /package/dist/chunks/{project-dht5baf0.js → state-dht5baf0.js} +0 -0
- /package/dist/chunks/{project-dkmkay92.js → state-dkmkay92.js} +0 -0
- /package/dist/chunks/{project-ehj9csmv.js → state-ehj9csmv.js} +0 -0
- /package/dist/chunks/{project-em6xpscd.js → state-em6xpscd.js} +0 -0
- /package/dist/chunks/{project-emmqknsm.js → state-emmqknsm.js} +0 -0
- /package/dist/chunks/{project-ezs3tagn.js → state-ezs3tagn.js} +0 -0
- /package/dist/chunks/{project-f14r7hfz.js → state-f14r7hfz.js} +0 -0
- /package/dist/chunks/{project-f1jj19e8.js → state-f1jj19e8.js} +0 -0
- /package/dist/chunks/{project-f4cp4g4a.js → state-f4cp4g4a.js} +0 -0
- /package/dist/chunks/{project-faypg4r1.js → state-faypg4r1.js} +0 -0
- /package/dist/chunks/{project-fg7fz4q3.js → state-fg7fz4q3.js} +0 -0
- /package/dist/chunks/{project-fgbfdq62.js → state-fgbfdq62.js} +0 -0
- /package/dist/chunks/{project-gd5xeqc2.js → state-gd5xeqc2.js} +0 -0
- /package/dist/chunks/{project-ghm4673n.js → state-ghm4673n.js} +0 -0
- /package/dist/chunks/{project-ghwjy7my.js → state-ghwjy7my.js} +0 -0
- /package/dist/chunks/{project-gy500k2r.js → state-gy500k2r.js} +0 -0
- /package/dist/chunks/{project-hzeg9cfr.js → state-hzeg9cfr.js} +0 -0
- /package/dist/chunks/{project-j07kk359.js → state-j07kk359.js} +0 -0
- /package/dist/chunks/{project-j32vdj8r.js → state-j32vdj8r.js} +0 -0
- /package/dist/chunks/{project-jqms80b0.js → state-jqms80b0.js} +0 -0
- /package/dist/chunks/{project-jve7t217.js → state-jve7t217.js} +0 -0
- /package/dist/chunks/{project-k3e42drn.js → state-k3e42drn.js} +0 -0
- /package/dist/chunks/{project-k8b45nas.js → state-k8b45nas.js} +0 -0
- /package/dist/chunks/{project-kpdbz7gn.js → state-kpdbz7gn.js} +0 -0
- /package/dist/chunks/{project-kxy11nzk.js → state-kxy11nzk.js} +0 -0
- /package/dist/chunks/{project-kyyqvx4s.js → state-kyyqvx4s.js} +0 -0
- /package/dist/chunks/{project-m8cbvarh.js → state-m8cbvarh.js} +0 -0
- /package/dist/chunks/{project-ma60vzgv.js → state-ma60vzgv.js} +0 -0
- /package/dist/chunks/{project-n3m50c2t.js → state-n3m50c2t.js} +0 -0
- /package/dist/chunks/{project-n6ag8q95.js → state-n6ag8q95.js} +0 -0
- /package/dist/chunks/{project-nkm1m8dz.js → state-nkm1m8dz.js} +0 -0
- /package/dist/chunks/{project-nsc0c3zb.js → state-nsc0c3zb.js} +0 -0
- /package/dist/chunks/{project-qaarhjrp.js → state-qaarhjrp.js} +0 -0
- /package/dist/chunks/{project-qc167nrn.js → state-qc167nrn.js} +0 -0
- /package/dist/chunks/{project-qp95y4jb.js → state-qp95y4jb.js} +0 -0
- /package/dist/chunks/{project-r8f4w671.js → state-r8f4w671.js} +0 -0
- /package/dist/chunks/{project-rdfev9jy.js → state-rdfev9jy.js} +0 -0
- /package/dist/chunks/{project-rvfvac9x.js → state-rvfvac9x.js} +0 -0
- /package/dist/chunks/{project-s7whb9gt.js → state-s7whb9gt.js} +0 -0
- /package/dist/chunks/{project-se76j685.js → state-se76j685.js} +0 -0
- /package/dist/chunks/{project-sem2g21k.js → state-sem2g21k.js} +0 -0
- /package/dist/chunks/{project-sp575ygv.js → state-sp575ygv.js} +0 -0
- /package/dist/chunks/{project-tmb1f636.js → state-tmb1f636.js} +0 -0
- /package/dist/chunks/{project-ttxf0gsy.js → state-ttxf0gsy.js} +0 -0
- /package/dist/chunks/{project-tvmhrvfj.js → state-tvmhrvfj.js} +0 -0
- /package/dist/chunks/{project-v2adqbbe.js → state-v2adqbbe.js} +0 -0
- /package/dist/chunks/{project-vac9eqd2.js → state-vac9eqd2.js} +0 -0
- /package/dist/chunks/{project-wj4sxzqa.js → state-wj4sxzqa.js} +0 -0
- /package/dist/chunks/{project-wwntjmk1.js → state-wwntjmk1.js} +0 -0
- /package/dist/chunks/{project-wyqjaaa5.js → state-wyqjaaa5.js} +0 -0
- /package/dist/chunks/{project-x4q807cx.js → state-x4q807cx.js} +0 -0
- /package/dist/chunks/{project-yrqrg4vp.js → state-yrqrg4vp.js} +0 -0
- /package/dist/chunks/{project-z47nswr2.js → state-z47nswr2.js} +0 -0
- /package/dist/chunks/{project-zsf8rs93.js → state-zsf8rs93.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
convertToOpenAIResponsesInput
|
|
3
|
+
} from "./state-vac9eqd2.js";
|
|
4
4
|
import {
|
|
5
5
|
mapOpenAIResponseFinishReason
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-m8cbvarh.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
openaiFailedResponseHandler
|
|
9
|
+
} from "./state-r8f4w671.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
prepareResponsesTools
|
|
12
|
+
} from "./state-ddkxdmhk.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -162,8 +162,23 @@ class OpenAIResponsesLanguageModel {
|
|
|
162
162
|
if (topLogprobs) {
|
|
163
163
|
addInclude("message.output_text.logprobs");
|
|
164
164
|
}
|
|
165
|
-
const
|
|
166
|
-
|
|
165
|
+
const {
|
|
166
|
+
tools: openaiTools,
|
|
167
|
+
toolChoice: openaiToolChoice,
|
|
168
|
+
hostedTools,
|
|
169
|
+
selectedHostedTool,
|
|
170
|
+
toolWarnings
|
|
171
|
+
} = prepareResponsesTools({
|
|
172
|
+
tools,
|
|
173
|
+
toolChoice,
|
|
174
|
+
strictJsonSchema
|
|
175
|
+
});
|
|
176
|
+
const getHostedToolName = (responseType) => {
|
|
177
|
+
if (selectedHostedTool?.responseType === responseType)
|
|
178
|
+
return selectedHostedTool.name;
|
|
179
|
+
return hostedTools.find((tool) => tool.responseType === responseType)?.name ?? responseType;
|
|
180
|
+
};
|
|
181
|
+
if (hostedTools.some((tool) => tool.responseType === "web_search")) {
|
|
167
182
|
addInclude("web_search_call.action.sources");
|
|
168
183
|
}
|
|
169
184
|
if (hasOpenAITool("openai.code_interpreter")) {
|
|
@@ -266,17 +281,8 @@ class OpenAIResponsesLanguageModel {
|
|
|
266
281
|
});
|
|
267
282
|
baseArgs.service_tier = undefined;
|
|
268
283
|
}
|
|
269
|
-
const {
|
|
270
|
-
tools: openaiTools,
|
|
271
|
-
toolChoice: openaiToolChoice,
|
|
272
|
-
toolWarnings
|
|
273
|
-
} = prepareResponsesTools({
|
|
274
|
-
tools,
|
|
275
|
-
toolChoice,
|
|
276
|
-
strictJsonSchema
|
|
277
|
-
});
|
|
278
284
|
return {
|
|
279
|
-
|
|
285
|
+
getHostedToolName,
|
|
280
286
|
args: {
|
|
281
287
|
...baseArgs,
|
|
282
288
|
tools: openaiTools,
|
|
@@ -286,7 +292,7 @@ class OpenAIResponsesLanguageModel {
|
|
|
286
292
|
};
|
|
287
293
|
}
|
|
288
294
|
async doGenerate(options) {
|
|
289
|
-
const { args: body, warnings,
|
|
295
|
+
const { args: body, warnings, getHostedToolName } = await this.getArgs(options);
|
|
290
296
|
const url = this.config.url({
|
|
291
297
|
path: "/responses",
|
|
292
298
|
modelId: this.modelId
|
|
@@ -411,14 +417,14 @@ class OpenAIResponsesLanguageModel {
|
|
|
411
417
|
content.push({
|
|
412
418
|
type: "tool-call",
|
|
413
419
|
toolCallId: part.id,
|
|
414
|
-
toolName: "image_generation",
|
|
420
|
+
toolName: getHostedToolName("image_generation"),
|
|
415
421
|
input: "{}",
|
|
416
422
|
providerExecuted: true
|
|
417
423
|
});
|
|
418
424
|
content.push({
|
|
419
425
|
type: "tool-result",
|
|
420
426
|
toolCallId: part.id,
|
|
421
|
-
toolName: "image_generation",
|
|
427
|
+
toolName: getHostedToolName("image_generation"),
|
|
422
428
|
result: {
|
|
423
429
|
result: part.result
|
|
424
430
|
}
|
|
@@ -481,14 +487,14 @@ class OpenAIResponsesLanguageModel {
|
|
|
481
487
|
content.push({
|
|
482
488
|
type: "tool-call",
|
|
483
489
|
toolCallId: part.id,
|
|
484
|
-
toolName:
|
|
490
|
+
toolName: getHostedToolName("web_search"),
|
|
485
491
|
input: JSON.stringify({ action: part.action }),
|
|
486
492
|
providerExecuted: true
|
|
487
493
|
});
|
|
488
494
|
content.push({
|
|
489
495
|
type: "tool-result",
|
|
490
496
|
toolCallId: part.id,
|
|
491
|
-
toolName:
|
|
497
|
+
toolName: getHostedToolName("web_search"),
|
|
492
498
|
result: { status: part.status }
|
|
493
499
|
});
|
|
494
500
|
break;
|
|
@@ -516,14 +522,14 @@ class OpenAIResponsesLanguageModel {
|
|
|
516
522
|
content.push({
|
|
517
523
|
type: "tool-call",
|
|
518
524
|
toolCallId: part.id,
|
|
519
|
-
toolName: "file_search",
|
|
525
|
+
toolName: getHostedToolName("file_search"),
|
|
520
526
|
input: "{}",
|
|
521
527
|
providerExecuted: true
|
|
522
528
|
});
|
|
523
529
|
content.push({
|
|
524
530
|
type: "tool-result",
|
|
525
531
|
toolCallId: part.id,
|
|
526
|
-
toolName: "file_search",
|
|
532
|
+
toolName: getHostedToolName("file_search"),
|
|
527
533
|
result: {
|
|
528
534
|
queries: part.queries,
|
|
529
535
|
results: part.results?.map((result) => ({
|
|
@@ -541,7 +547,7 @@ class OpenAIResponsesLanguageModel {
|
|
|
541
547
|
content.push({
|
|
542
548
|
type: "tool-call",
|
|
543
549
|
toolCallId: part.id,
|
|
544
|
-
toolName: "code_interpreter",
|
|
550
|
+
toolName: getHostedToolName("code_interpreter"),
|
|
545
551
|
input: JSON.stringify({
|
|
546
552
|
code: part.code,
|
|
547
553
|
containerId: part.container_id
|
|
@@ -551,7 +557,7 @@ class OpenAIResponsesLanguageModel {
|
|
|
551
557
|
content.push({
|
|
552
558
|
type: "tool-result",
|
|
553
559
|
toolCallId: part.id,
|
|
554
|
-
toolName: "code_interpreter",
|
|
560
|
+
toolName: getHostedToolName("code_interpreter"),
|
|
555
561
|
result: {
|
|
556
562
|
outputs: part.outputs
|
|
557
563
|
}
|
|
@@ -605,7 +611,7 @@ class OpenAIResponsesLanguageModel {
|
|
|
605
611
|
};
|
|
606
612
|
}
|
|
607
613
|
async doStream(options) {
|
|
608
|
-
const { args: body, warnings,
|
|
614
|
+
const { args: body, warnings, getHostedToolName } = await this.getArgs(options);
|
|
609
615
|
const { responseHeaders, value: response } = await postJsonToApi({
|
|
610
616
|
url: this.config.url({
|
|
611
617
|
path: "/responses",
|
|
@@ -676,7 +682,7 @@ class OpenAIResponsesLanguageModel {
|
|
|
676
682
|
controller.enqueue({
|
|
677
683
|
type: "tool-input-start",
|
|
678
684
|
id: value.item.id,
|
|
679
|
-
toolName:
|
|
685
|
+
toolName: getHostedToolName("web_search")
|
|
680
686
|
});
|
|
681
687
|
} else if (value.item.type === "computer_call") {
|
|
682
688
|
ongoingToolCalls[value.output_index] = {
|
|
@@ -697,7 +703,7 @@ class OpenAIResponsesLanguageModel {
|
|
|
697
703
|
controller.enqueue({
|
|
698
704
|
type: "tool-input-start",
|
|
699
705
|
id: value.item.id,
|
|
700
|
-
toolName: "code_interpreter"
|
|
706
|
+
toolName: getHostedToolName("code_interpreter")
|
|
701
707
|
});
|
|
702
708
|
controller.enqueue({
|
|
703
709
|
type: "tool-input-delta",
|
|
@@ -708,7 +714,7 @@ class OpenAIResponsesLanguageModel {
|
|
|
708
714
|
controller.enqueue({
|
|
709
715
|
type: "tool-call",
|
|
710
716
|
toolCallId: value.item.id,
|
|
711
|
-
toolName: "file_search",
|
|
717
|
+
toolName: getHostedToolName("file_search"),
|
|
712
718
|
input: "{}",
|
|
713
719
|
providerExecuted: true
|
|
714
720
|
});
|
|
@@ -716,7 +722,7 @@ class OpenAIResponsesLanguageModel {
|
|
|
716
722
|
controller.enqueue({
|
|
717
723
|
type: "tool-call",
|
|
718
724
|
toolCallId: value.item.id,
|
|
719
|
-
toolName: "image_generation",
|
|
725
|
+
toolName: getHostedToolName("image_generation"),
|
|
720
726
|
input: "{}",
|
|
721
727
|
providerExecuted: true
|
|
722
728
|
});
|
|
@@ -781,14 +787,14 @@ class OpenAIResponsesLanguageModel {
|
|
|
781
787
|
controller.enqueue({
|
|
782
788
|
type: "tool-call",
|
|
783
789
|
toolCallId: value.item.id,
|
|
784
|
-
toolName: "web_search",
|
|
790
|
+
toolName: getHostedToolName("web_search"),
|
|
785
791
|
input: JSON.stringify({ action: value.item.action }),
|
|
786
792
|
providerExecuted: true
|
|
787
793
|
});
|
|
788
794
|
controller.enqueue({
|
|
789
795
|
type: "tool-result",
|
|
790
796
|
toolCallId: value.item.id,
|
|
791
|
-
toolName: "web_search",
|
|
797
|
+
toolName: getHostedToolName("web_search"),
|
|
792
798
|
result: { status: value.item.status }
|
|
793
799
|
});
|
|
794
800
|
} else if (value.item.type === "computer_call") {
|
|
@@ -818,7 +824,7 @@ class OpenAIResponsesLanguageModel {
|
|
|
818
824
|
controller.enqueue({
|
|
819
825
|
type: "tool-result",
|
|
820
826
|
toolCallId: value.item.id,
|
|
821
|
-
toolName: "file_search",
|
|
827
|
+
toolName: getHostedToolName("file_search"),
|
|
822
828
|
result: {
|
|
823
829
|
queries: value.item.queries,
|
|
824
830
|
results: value.item.results?.map((result) => ({
|
|
@@ -835,7 +841,7 @@ class OpenAIResponsesLanguageModel {
|
|
|
835
841
|
controller.enqueue({
|
|
836
842
|
type: "tool-result",
|
|
837
843
|
toolCallId: value.item.id,
|
|
838
|
-
toolName: "code_interpreter",
|
|
844
|
+
toolName: getHostedToolName("code_interpreter"),
|
|
839
845
|
result: {
|
|
840
846
|
outputs: value.item.outputs
|
|
841
847
|
}
|
|
@@ -844,7 +850,7 @@ class OpenAIResponsesLanguageModel {
|
|
|
844
850
|
controller.enqueue({
|
|
845
851
|
type: "tool-result",
|
|
846
852
|
toolCallId: value.item.id,
|
|
847
|
-
toolName: "image_generation",
|
|
853
|
+
toolName: getHostedToolName("image_generation"),
|
|
848
854
|
result: {
|
|
849
855
|
result: value.item.result
|
|
850
856
|
}
|
|
@@ -893,7 +899,7 @@ class OpenAIResponsesLanguageModel {
|
|
|
893
899
|
controller.enqueue({
|
|
894
900
|
type: "tool-result",
|
|
895
901
|
toolCallId: value.item_id,
|
|
896
|
-
toolName: "image_generation",
|
|
902
|
+
toolName: getHostedToolName("image_generation"),
|
|
897
903
|
result: {
|
|
898
904
|
result: value.partial_image_b64
|
|
899
905
|
}
|
|
@@ -922,7 +928,7 @@ class OpenAIResponsesLanguageModel {
|
|
|
922
928
|
controller.enqueue({
|
|
923
929
|
type: "tool-call",
|
|
924
930
|
toolCallId: toolCall.toolCallId,
|
|
925
|
-
toolName: "code_interpreter",
|
|
931
|
+
toolName: getHostedToolName("code_interpreter"),
|
|
926
932
|
input: JSON.stringify({
|
|
927
933
|
code: value.code,
|
|
928
934
|
containerId: toolCall.codeInterpreter.containerId
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loadSDKFactory
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-j32vdj8r.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_provider
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-krsqcmnj.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
lazy
|
|
3
|
+
} from "./state-8w9tzfz1.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_select
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-bbhffenw.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
exports_wildcard
|
|
9
|
+
} from "./state-y67x6rf6.js";
|
|
10
10
|
import {
|
|
11
11
|
__export,
|
|
12
12
|
__require
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./state-rvfvac9x.js";
|
|
14
14
|
|
|
15
15
|
// src/shell/parse.ts
|
|
16
16
|
var exports_parse = {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_supervisor
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-9cb4yhpj.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_location_watcher_policy
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-6wkzvma0.js";
|
|
7
7
|
import {
|
|
8
8
|
exports_watcher
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-ns0sdez7.js";
|
|
10
10
|
import {
|
|
11
11
|
exports_location
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-qph0wk53.js";
|
|
13
13
|
import {
|
|
14
14
|
exports_git
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-dyj7wa6j.js";
|
|
16
16
|
import {
|
|
17
17
|
exports_bus
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./state-cgy4zpa6.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./state-rvfvac9x.js";
|
|
22
22
|
|
|
23
23
|
// src/filesystem/location-watcher.ts
|
|
24
24
|
var exports_location_watcher = {};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_context
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-8qrx9cj0.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_usage
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-sw84ckhj.js";
|
|
7
|
+
import {
|
|
8
|
+
llmClient
|
|
9
|
+
} from "./state-393a352g.js";
|
|
7
10
|
import {
|
|
8
11
|
exports_store
|
|
9
|
-
} from "./
|
|
12
|
+
} from "./state-tfd8n8cn.js";
|
|
10
13
|
import {
|
|
11
14
|
exports_history
|
|
12
|
-
} from "./
|
|
13
|
-
import {
|
|
14
|
-
llmClient
|
|
15
|
-
} from "./project-393a352g.js";
|
|
15
|
+
} from "./state-v16fefw3.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./state-a83yvq99.js";
|
|
19
19
|
import {
|
|
20
20
|
exports_bus
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./state-cgy4zpa6.js";
|
|
22
22
|
import {
|
|
23
23
|
exports_database
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./state-vpac0x8g.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./state-rvfvac9x.js";
|
|
28
28
|
|
|
29
29
|
// src/session/title.ts
|
|
30
30
|
var exports_title = {};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_app
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-50jxp3hw.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_model
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-r13w8t0w.js";
|
|
7
7
|
import {
|
|
8
8
|
exports_provider
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-krsqcmnj.js";
|
|
10
10
|
import {
|
|
11
11
|
exports_kv
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-a2jfr9gs.js";
|
|
13
13
|
import {
|
|
14
14
|
exports_bus
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-cgy4zpa6.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./state-rvfvac9x.js";
|
|
19
19
|
|
|
20
20
|
// src/models-dev.ts
|
|
21
21
|
var exports_models_dev = {};
|
|
@@ -532,8 +532,8 @@ var layer = (options) => Layer.effect(Service, Effect.gen(function* () {
|
|
|
532
532
|
return;
|
|
533
533
|
})) : Effect.undefined;
|
|
534
534
|
const loadSnapshot = options?.snapshot === false ? Effect.undefined : bundledSnapshot;
|
|
535
|
-
const writeCache = Effect.fn("ModelsDev.writeCache")(function* (text) {
|
|
536
|
-
yield* kv.set(key, { updatedAt: Date.now(), digest
|
|
535
|
+
const writeCache = Effect.fn("ModelsDev.writeCache")(function* (text, digest = bodyDigest(text)) {
|
|
536
|
+
yield* kv.set(key, { updatedAt: Date.now(), digest, body: text }).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterruptsOnly(cause), (cause) => Effect.logWarning("Failed to cache models.dev catalog", { cause })));
|
|
537
537
|
});
|
|
538
538
|
const fetchAndWrite = Effect.fn("ModelsDev.fetchAndWrite")(function* () {
|
|
539
539
|
const text = yield* fetchApi();
|
|
@@ -569,10 +569,11 @@ var layer = (options) => Layer.effect(Service, Effect.gen(function* () {
|
|
|
569
569
|
if (!force && stored && Date.now() - stored.updatedAt < Duration.toMillis(ttl))
|
|
570
570
|
return;
|
|
571
571
|
const text = yield* fetchApi();
|
|
572
|
-
|
|
572
|
+
const digest = bodyDigest(text);
|
|
573
|
+
if (!force && stored?.digest === digest)
|
|
573
574
|
return;
|
|
574
575
|
yield* decodeCatalog(text);
|
|
575
|
-
yield* writeCache(text);
|
|
576
|
+
yield* writeCache(text, digest);
|
|
576
577
|
yield* invalidate;
|
|
577
578
|
yield* bus.publish(ModelsDev.Event.Refreshed, {});
|
|
578
579
|
})).pipe(Effect.tapCause((cause) => Effect.logError("Failed to fetch models.dev", { cause })), Effect.ignore);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_model
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-r13w8t0w.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_provider
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-krsqcmnj.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/openrouter.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_entry_observer
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-kp1t5rcy.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_config
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-rrqrf7hs.js";
|
|
7
7
|
import {
|
|
8
8
|
exports_provider
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-krsqcmnj.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-rvfvac9x.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/provider.ts
|
|
15
15
|
var exports_provider2 = {};
|
|
@@ -1,69 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
exports_builtins
|
|
3
|
+
} from "./state-2a5pw7n9.js";
|
|
4
4
|
import {
|
|
5
|
-
exports_instructions as
|
|
6
|
-
} from "./
|
|
5
|
+
exports_instructions as exports_instructions3
|
|
6
|
+
} from "./state-xxpvz42q.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
exports_instructions as exports_instructions2
|
|
9
|
+
} from "./state-dhvv2dke.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
exports_instructions as exports_instructions4
|
|
12
|
+
} from "./state-0cg1xda9.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
exports_mcp
|
|
15
|
+
} from "./state-tk21pea4.js";
|
|
16
16
|
import {
|
|
17
17
|
exports_instructions as exports_instructions5
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./state-d4zkabyv.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
exports_model_request
|
|
21
|
+
} from "./state-a9rzcc94.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
exports_supervisor
|
|
24
|
+
} from "./state-9cb4yhpj.js";
|
|
25
25
|
import {
|
|
26
26
|
exports_instruction_discovery
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./state-n3j6ek0z.js";
|
|
28
28
|
import {
|
|
29
29
|
exports_instruction_entry
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./state-cnsekzdm.js";
|
|
31
|
+
import {
|
|
32
|
+
exports_model
|
|
33
|
+
} from "./state-az57h3s3.js";
|
|
31
34
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
35
|
+
exports_catalog
|
|
36
|
+
} from "./state-330v609d.js";
|
|
34
37
|
import {
|
|
35
38
|
exports_tool
|
|
36
|
-
} from "./
|
|
39
|
+
} from "./state-dstxbc7s.js";
|
|
37
40
|
import {
|
|
38
41
|
exports_store
|
|
39
|
-
} from "./
|
|
42
|
+
} from "./state-tfd8n8cn.js";
|
|
40
43
|
import {
|
|
41
44
|
exports_history
|
|
42
|
-
} from "./
|
|
45
|
+
} from "./state-v16fefw3.js";
|
|
43
46
|
import {
|
|
44
47
|
AgentNotFoundError
|
|
45
|
-
} from "./
|
|
46
|
-
import {
|
|
47
|
-
exports_catalog
|
|
48
|
-
} from "./project-bq1qdn80.js";
|
|
49
|
-
import {
|
|
50
|
-
exports_agent
|
|
51
|
-
} from "./project-vqt151v9.js";
|
|
48
|
+
} from "./state-cgqn2mrm.js";
|
|
52
49
|
import {
|
|
53
50
|
exports_instructions
|
|
54
|
-
} from "./
|
|
51
|
+
} from "./state-ec8vrfw5.js";
|
|
55
52
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
53
|
+
exports_agent
|
|
54
|
+
} from "./state-mg2nmqys.js";
|
|
58
55
|
import {
|
|
59
56
|
exports_location
|
|
60
|
-
} from "./
|
|
57
|
+
} from "./state-qph0wk53.js";
|
|
61
58
|
import {
|
|
62
59
|
exports_database
|
|
63
|
-
} from "./
|
|
60
|
+
} from "./state-vpac0x8g.js";
|
|
64
61
|
import {
|
|
65
62
|
__export
|
|
66
|
-
} from "./
|
|
63
|
+
} from "./state-rvfvac9x.js";
|
|
67
64
|
|
|
68
65
|
// src/session/context.ts
|
|
69
66
|
var exports_context = {};
|
|
@@ -72,6 +69,7 @@ __export(exports_context, {
|
|
|
72
69
|
SessionContext: () => exports_context,
|
|
73
70
|
Service: () => Service
|
|
74
71
|
});
|
|
72
|
+
import { Model } from "@opencode-ai/schema/model";
|
|
75
73
|
import { Context, Effect, Layer } from "effect";
|
|
76
74
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
77
75
|
class Service extends Context.Service()("@opencode/SessionContext") {
|
|
@@ -86,7 +84,7 @@ var layer = Layer.effect(Service, Effect.gen(function* () {
|
|
|
86
84
|
const location = yield* exports_location.Service;
|
|
87
85
|
const mcpInstructions = yield* exports_instructions4.Service;
|
|
88
86
|
const mcpTools = yield* exports_mcp.Service;
|
|
89
|
-
const models = yield*
|
|
87
|
+
const models = yield* exports_model.Service;
|
|
90
88
|
const modelRequests = yield* exports_model_request.Service;
|
|
91
89
|
const plugins = yield* exports_supervisor.Service;
|
|
92
90
|
const referenceInstructions = yield* exports_instructions2.Service;
|
|
@@ -111,7 +109,7 @@ var layer = Layer.effect(Service, Effect.gen(function* () {
|
|
|
111
109
|
const variant = agent.model?.variant ?? MINIMAL_REASONING_VARIANTS.find((id) => info?.variants.some((item) => item.id === id));
|
|
112
110
|
const preferred = info && (yield* resolveModel({
|
|
113
111
|
...session,
|
|
114
|
-
model:
|
|
112
|
+
model: Model.Ref.make({
|
|
115
113
|
providerID: info.providerID,
|
|
116
114
|
id: info.id,
|
|
117
115
|
...variant ? { variant } : {}
|
|
@@ -173,7 +171,7 @@ var layer = Layer.effect(Service, Effect.gen(function* () {
|
|
|
173
171
|
});
|
|
174
172
|
return Service.of({ select, load, resolveModel, selectTitle, prepare: modelRequests.prepare });
|
|
175
173
|
}));
|
|
176
|
-
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) =>
|
|
174
|
+
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => Model.VariantID.make(id));
|
|
177
175
|
var node = makeLocationNode({
|
|
178
176
|
service: Service,
|
|
179
177
|
layer,
|
|
@@ -189,7 +187,7 @@ var node = makeLocationNode({
|
|
|
189
187
|
exports_mcp.node,
|
|
190
188
|
exports_supervisor.node,
|
|
191
189
|
exports_instructions2.node,
|
|
192
|
-
|
|
190
|
+
exports_model.node,
|
|
193
191
|
exports_model_request.node,
|
|
194
192
|
exports_store.node,
|
|
195
193
|
exports_instructions5.node,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
foldSettings
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-zqpaf5g0.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_config
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-rrqrf7hs.js";
|
|
7
7
|
import {
|
|
8
8
|
exports_model
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-r13w8t0w.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/lmstudio.ts
|
|
12
12
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_entry_observer
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-kp1t5rcy.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_reference
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-4twq59qz.js";
|
|
7
7
|
import {
|
|
8
8
|
exports_config
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-rrqrf7hs.js";
|
|
10
10
|
import {
|
|
11
11
|
exports_location
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-qph0wk53.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-j07kk359.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./state-rvfvac9x.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/reference.ts
|
|
21
21
|
var exports_reference2 = {};
|
|
@@ -35,7 +35,6 @@ var Plugin = define({
|
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
36
|
const loaded = yield* exports_entry_observer.observe(config, ctx.event, ctx.reference.reload());
|
|
37
37
|
yield* ctx.reference.transform((draft) => {
|
|
38
|
-
const entries = new Map;
|
|
39
38
|
for (const doc of loaded.entries.filter((entry) => entry.type === "document")) {
|
|
40
39
|
const directory = doc.path ? path.dirname(doc.path) : location.directory;
|
|
41
40
|
for (const [name, entry] of Object.entries(doc.info.references ?? {})) {
|
|
@@ -43,7 +42,7 @@ var Plugin = define({
|
|
|
43
42
|
continue;
|
|
44
43
|
const description = typeof entry === "string" ? undefined : entry.description;
|
|
45
44
|
const hidden = typeof entry === "string" ? undefined : entry.hidden;
|
|
46
|
-
|
|
45
|
+
draft.add(name, local(entry) ? exports_reference.LocalSource.make({
|
|
47
46
|
type: "local",
|
|
48
47
|
path: AbsolutePath.make(localPath(directory, global.home, typeof entry === "string" ? entry : entry.path)),
|
|
49
48
|
...description === undefined ? {} : { description },
|
|
@@ -57,8 +56,6 @@ var Plugin = define({
|
|
|
57
56
|
}));
|
|
58
57
|
}
|
|
59
58
|
}
|
|
60
|
-
for (const [name, source] of entries)
|
|
61
|
-
draft.add(name, source);
|
|
62
59
|
});
|
|
63
60
|
})
|
|
64
61
|
});
|