@opencode-ai/core 0.0.0-beta-17793 → 0.0.0-beta-17887
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 +73 -72
- package/dist/aisdk-native.js +3 -3
- package/dist/aisdk.js +4 -4
- package/dist/app.js +2 -2
- package/dist/bus.js +71 -70
- package/dist/catalog.js +81 -80
- package/dist/chunks/{workspace-02dbfq60.js → schema-02dbfq60.js} +1 -1
- package/dist/chunks/{workspace-0b17sr9d.js → schema-0b17sr9d.js} +2 -2
- package/dist/chunks/{workspace-c8h311wd.js → schema-0cxmrpsx.js} +30 -30
- package/dist/chunks/{workspace-r15s1bd3.js → schema-0ehq5bhp.js} +12 -10
- package/dist/chunks/{workspace-zqdn9cme.js → schema-0hgrfweh.js} +7 -7
- package/dist/chunks/{workspace-0kvmztkf.js → schema-0kvmztkf.js} +1 -1
- package/dist/chunks/{workspace-ks77wmnj.js → schema-0ranhcjt.js} +2 -2
- package/dist/chunks/{workspace-n744begs.js → schema-0vem89v9.js} +4 -4
- package/dist/chunks/{workspace-n2w8fz38.js → schema-0vgt3zn6.js} +2 -2
- package/dist/chunks/{workspace-rbn77fxp.js → schema-1637fpsx.js} +3 -3
- package/dist/chunks/{workspace-18pv8fg3.js → schema-18pv8fg3.js} +2 -2
- package/dist/chunks/{workspace-81wsrtjr.js → schema-19nk26qg.js} +7 -7
- package/dist/chunks/{workspace-wh0zhxcg.js → schema-1a3a2s70.js} +2 -2
- package/dist/chunks/{workspace-wwkgmt0p.js → schema-1nf83cea.js} +10 -16
- package/dist/chunks/{workspace-swnnf7jm.js → schema-1tqppy8q.js} +3 -3
- package/dist/chunks/{workspace-fgk5sp52.js → schema-20hrmxeg.js} +7 -7
- package/dist/chunks/{workspace-25pxtba7.js → schema-25pxtba7.js} +1 -1
- package/dist/chunks/{workspace-r9bsqnhw.js → schema-29ddmng8.js} +8 -8
- package/dist/chunks/{workspace-thrqaz0e.js → schema-2aeag69d.js} +5 -5
- package/dist/chunks/{workspace-8jssm6tx.js → schema-2h85227b.js} +2 -2
- package/dist/chunks/{workspace-1afm1b6n.js → schema-2hwdvqtr.js} +8 -8
- package/dist/chunks/{workspace-x7z5vctn.js → schema-2hyeqd71.js} +5 -5
- package/dist/chunks/{workspace-2nmyybe0.js → schema-2nmyybe0.js} +1 -1
- package/dist/chunks/{workspace-sney8k4p.js → schema-2sx6rcrq.js} +68 -38
- package/dist/chunks/{workspace-2akqrmqf.js → schema-2ya5073c.js} +1 -1
- package/dist/chunks/{workspace-t2ccr6s6.js → schema-2zf7hxjt.js} +4 -4
- package/dist/chunks/{workspace-gp1p5nz4.js → schema-37e9hbzs.js} +2 -2
- package/dist/chunks/{workspace-7xm5mbbb.js → schema-3d1t6jqf.js} +3 -3
- package/dist/chunks/{workspace-zebyd4z6.js → schema-3g6g5vyj.js} +3 -3
- package/dist/chunks/{workspace-3g8vftxb.js → schema-3g8vftxb.js} +2 -2
- package/dist/chunks/{workspace-atc09b0q.js → schema-3gsv1x0v.js} +2 -2
- package/dist/chunks/{workspace-9z7sbd73.js → schema-3hfdta0w.js} +2 -2
- package/dist/chunks/{workspace-p6edj0et.js → schema-3jsgz9x8.js} +39 -41
- package/dist/chunks/{workspace-3thh6229.js → schema-3thh6229.js} +2 -2
- package/dist/chunks/{workspace-mp82cem1.js → schema-3wg1t0st.js} +13 -13
- package/dist/chunks/{workspace-0bxpjz5v.js → schema-3x0rbcme.js} +12 -13
- package/dist/chunks/{workspace-tva2scp3.js → schema-4hyc8pdv.js} +12 -12
- package/dist/chunks/{workspace-42q4drvy.js → schema-4j7te1s0.js} +3 -3
- package/dist/chunks/{workspace-5hakc3n5.js → schema-4jvfx8g6.js} +3 -3
- package/dist/chunks/{workspace-4s2xwh5d.js → schema-4s2xwh5d.js} +3 -3
- package/dist/chunks/{workspace-4zzdwbaz.js → schema-4zzdwbaz.js} +2 -2
- package/dist/chunks/{workspace-50jxp3hw.js → schema-50jxp3hw.js} +1 -1
- package/dist/chunks/{workspace-fjtxtbhx.js → schema-50qcmj3d.js} +3 -3
- package/dist/chunks/{workspace-p7enbrfs.js → schema-53w8n9hm.js} +7 -5
- package/dist/chunks/{workspace-ghg83jvf.js → schema-53xdmpnb.js} +38 -38
- package/dist/chunks/{workspace-57tzwnz4.js → schema-57tzwnz4.js} +1 -1
- package/dist/chunks/{workspace-tcn24h1d.js → schema-58xdvehb.js} +2 -3
- package/dist/chunks/{workspace-pcp53y3y.js → schema-59ccykdk.js} +10 -19
- package/dist/chunks/{workspace-pfrv4bm3.js → schema-59hngwn8.js} +10 -10
- package/dist/chunks/{workspace-r0chg1wz.js → schema-5anrxqdj.js} +20 -4
- package/dist/chunks/{workspace-prf9bavk.js → schema-5fe026tx.js} +3 -3
- package/dist/chunks/{workspace-st1tmxxz.js → schema-5fq5ws54.js} +4 -4
- package/dist/chunks/{workspace-29g7zza5.js → schema-5ndt04bs.js} +7 -7
- package/dist/chunks/{workspace-vfekzexe.js → schema-5rnjreb1.js} +6 -4
- package/dist/chunks/{workspace-5rs65q6p.js → schema-5rs65q6p.js} +1 -1
- package/dist/chunks/{workspace-5vcssjzn.js → schema-5vcssjzn.js} +1 -1
- package/dist/chunks/{workspace-p0zqjz05.js → schema-5xrsrne4.js} +3 -3
- package/dist/chunks/{workspace-bd453e9f.js → schema-6039vy3q.js} +6 -6
- package/dist/chunks/{workspace-4s6c9e56.js → schema-61m74eps.js} +6 -6
- package/dist/chunks/{workspace-ph1me6ah.js → schema-65re92qg.js} +6 -4
- package/dist/chunks/{workspace-mznpwsa6.js → schema-6btb8gmk.js} +6 -6
- package/dist/chunks/{workspace-xp27tpff.js → schema-6e0hvkjj.js} +16 -17
- package/dist/chunks/{workspace-e93xz9yp.js → schema-6gz8qpj3.js} +15 -16
- package/dist/chunks/{workspace-6ky7rqk7.js → schema-6ky7rqk7.js} +1 -1
- package/dist/chunks/{workspace-hhffyw1t.js → schema-6mvn0j90.js} +6 -6
- package/dist/chunks/{workspace-6q0m15b3.js → schema-6q0m15b3.js} +1 -1
- package/dist/chunks/{workspace-k1b850en.js → schema-6srb8ptf.js} +7 -7
- package/dist/chunks/{workspace-5yea2tah.js → schema-6x98y149.js} +2 -2
- package/dist/chunks/schema-6zqxzw0a.js +15 -0
- package/dist/chunks/{workspace-f56b6eec.js → schema-70248kr6.js} +27 -31
- package/dist/chunks/{workspace-mjyfgnw8.js → schema-763yasmv.js} +8 -8
- package/dist/chunks/{workspace-7f3c62hs.js → schema-76hmsx9m.js} +11 -11
- package/dist/chunks/{workspace-dfrm5wx2.js → schema-7764k952.js} +24 -19
- package/dist/chunks/{workspace-7gqqz1s8.js → schema-7gqqz1s8.js} +1 -1
- package/dist/chunks/{workspace-7mrpdsq5.js → schema-7mrpdsq5.js} +1 -1
- package/dist/chunks/{workspace-dvghb557.js → schema-7rqv91hy.js} +8 -8
- package/dist/chunks/{workspace-mz28rckj.js → schema-7vh3yvmw.js} +3 -3
- package/dist/chunks/{workspace-7wcmqxrc.js → schema-7wcmqxrc.js} +1 -1
- package/dist/chunks/{workspace-pd55t4m6.js → schema-7yfqzmjb.js} +31 -31
- package/dist/chunks/{workspace-88jbfw8z.js → schema-88jbfw8z.js} +2 -2
- package/dist/chunks/{workspace-5mg8q2r2.js → schema-89dw1ph7.js} +4 -4
- package/dist/chunks/{workspace-hsyk7kfz.js → schema-8bkmtpp6.js} +5 -5
- package/dist/chunks/{workspace-rt6yg6j2.js → schema-8bqpm1yy.js} +3 -3
- package/dist/chunks/{workspace-jmmc1vfj.js → schema-8cbfrh3v.js} +26 -20
- package/dist/chunks/{workspace-bmweayxc.js → schema-8gp1tmat.js} +3 -3
- package/dist/chunks/{workspace-x6bsrrkz.js → schema-8m0kaaxz.js} +12 -12
- package/dist/chunks/{workspace-sphyh08q.js → schema-8qfxtd4q.js} +12 -12
- package/dist/chunks/{workspace-5p73vhh3.js → schema-8ry20zzk.js} +11 -11
- package/dist/chunks/{workspace-8v47shgf.js → schema-8v47shgf.js} +2 -2
- package/dist/chunks/{workspace-95dhhjyp.js → schema-905996ne.js} +16 -16
- package/dist/chunks/{workspace-999qd968.js → schema-999qd968.js} +1 -1
- package/dist/chunks/{workspace-9f0rnpkn.js → schema-9f0rnpkn.js} +1 -1
- package/dist/chunks/{workspace-gz765asg.js → schema-9p8mhgdp.js} +1 -1
- package/dist/chunks/{workspace-1x1rapwb.js → schema-9ss8makt.js} +8 -6
- package/dist/chunks/{workspace-5qqhchyw.js → schema-aejndznj.js} +17 -14
- package/dist/chunks/{workspace-dwvaj8pd.js → schema-ambzzkps.js} +7 -7
- package/dist/chunks/{workspace-ayfwnm78.js → schema-ayfwnm78.js} +2 -2
- package/dist/chunks/{workspace-zjvgdt9p.js → schema-b7hsw5bk.js} +22 -38
- package/dist/chunks/{workspace-dyz5q1tb.js → schema-bh1wr8rq.js} +3 -6
- package/dist/chunks/{workspace-afy8tpbe.js → schema-bj25ggyd.js} +4 -5
- package/dist/chunks/{workspace-byab506k.js → schema-byab506k.js} +1 -1
- package/dist/chunks/{workspace-1c00jchy.js → schema-c4wcb9vc.js} +3 -3
- package/dist/chunks/{workspace-e24rm1tf.js → schema-c6gknnhe.js} +2 -2
- package/dist/chunks/{workspace-12te9h01.js → schema-c6h4bynb.js} +20 -24
- package/dist/chunks/{workspace-0b6ye7sf.js → schema-c9tk9ghs.js} +3 -3
- package/dist/chunks/{workspace-b04yncak.js → schema-chrmmjkk.js} +8 -8
- package/dist/chunks/schema-ck5pgha0.js +68 -0
- package/dist/chunks/{workspace-19e1vard.js → schema-cke3skfe.js} +3 -7
- package/dist/chunks/{workspace-6103r997.js → schema-cmm1dbz2.js} +5 -5
- package/dist/chunks/{workspace-92cpjck4.js → schema-cqrnepgy.js} +51 -39
- package/dist/chunks/{workspace-nk6yb8jk.js → schema-cve546b2.js} +2 -2
- package/dist/chunks/{workspace-cz3dkvcz.js → schema-cz3dkvcz.js} +1 -1
- package/dist/chunks/{workspace-eyk9wdct.js → schema-d2gk9vpf.js} +4 -5
- package/dist/chunks/{workspace-tsj2cygv.js → schema-dc6p8rz8.js} +20 -16
- package/dist/chunks/{workspace-dhphtf1x.js → schema-dhphtf1x.js} +1 -1
- package/dist/chunks/{workspace-sfbv6a2b.js → schema-djkt4gex.js} +4 -6
- package/dist/chunks/{workspace-byr5z3qa.js → schema-dkxc2cgd.js} +90 -89
- package/dist/chunks/{workspace-1h0r72pv.js → schema-dyrphakh.js} +11 -17
- package/dist/chunks/{workspace-e1z9a0ts.js → schema-e1z9a0ts.js} +2 -2
- package/dist/chunks/{workspace-c16qn48m.js → schema-e5r8d43z.js} +3 -3
- package/dist/chunks/{workspace-ec8vrfw5.js → schema-ec8vrfw5.js} +1 -1
- package/dist/chunks/{workspace-b2csa971.js → schema-ej9r6fs2.js} +9 -9
- package/dist/chunks/{workspace-zkkkcc8p.js → schema-epzxjdf4.js} +4 -4
- package/dist/chunks/{workspace-erj4j75s.js → schema-erj4j75s.js} +1 -1
- package/dist/chunks/{workspace-y44ckmk4.js → schema-eyrg1yjb.js} +11 -11
- package/dist/chunks/{workspace-tenv3kfs.js → schema-f9wt0tjw.js} +2 -2
- package/dist/chunks/{workspace-vptxxpwc.js → schema-f9z62w49.js} +5 -5
- package/dist/chunks/{workspace-s7pbx90j.js → schema-fbe8wd9q.js} +5 -5
- package/dist/chunks/{workspace-rgk2vntt.js → schema-fx6gxcwx.js} +4 -4
- package/dist/chunks/{workspace-egfckg0q.js → schema-g1ps01gx.js} +101 -74
- package/dist/chunks/{workspace-20m6kz67.js → schema-g3tejemp.js} +6 -7
- package/dist/chunks/{workspace-q1q6wfxa.js → schema-g4tfhrky.js} +17 -10
- package/dist/chunks/{workspace-fx25bfyk.js → schema-g6sgqcje.js} +3 -3
- package/dist/chunks/{workspace-8k08086v.js → schema-g7t6p8r2.js} +1 -1
- package/dist/chunks/{workspace-n44ep8ax.js → schema-g7v03tbe.js} +12 -11
- package/dist/chunks/{workspace-g9yygpzr.js → schema-g9yygpzr.js} +1 -1
- package/dist/chunks/{workspace-gcay93cp.js → schema-gcay93cp.js} +1 -1
- package/dist/chunks/{workspace-gd2xppx8.js → schema-gd2xppx8.js} +1 -1
- package/dist/chunks/{workspace-fqxzsdmq.js → schema-gg8gy1ab.js} +2 -2
- package/dist/chunks/{workspace-dstxtxkt.js → schema-gjkvrjgw.js} +3 -3
- package/dist/chunks/{workspace-9jeda383.js → schema-gk39pf7r.js} +8 -6
- package/dist/chunks/{workspace-daqkr6yp.js → schema-gnae5wg8.js} +20 -21
- package/dist/chunks/{workspace-dfspp6r4.js → schema-gpj6jen2.js} +12 -13
- package/dist/chunks/{workspace-6prg4qz0.js → schema-gsd7aj52.js} +16 -14
- package/dist/chunks/{workspace-9jzaagxn.js → schema-gvywm9dn.js} +11 -11
- package/dist/chunks/{workspace-h6r3t75p.js → schema-gxhthtcw.js} +8 -8
- package/dist/chunks/{workspace-ra765m8n.js → schema-gzsc4f4d.js} +16 -16
- package/dist/chunks/{workspace-ctdgtkbw.js → schema-h5ybtq26.js} +5 -5
- package/dist/chunks/{workspace-e8j1nhvt.js → schema-hca9bg61.js} +3 -3
- package/dist/chunks/{workspace-azhye5zs.js → schema-hevdag7w.js} +11 -11
- package/dist/chunks/{workspace-zqh29h4g.js → schema-hhxt27np.js} +2 -3
- package/dist/chunks/{workspace-0a6rv85p.js → schema-hkpr9a4z.js} +3 -3
- package/dist/chunks/{workspace-wb4dbzpz.js → schema-hp6rpdnc.js} +5 -3
- package/dist/chunks/{workspace-kwbvxbjz.js → schema-j3ethsxz.js} +2 -2
- package/dist/chunks/{workspace-z6g48jge.js → schema-jf0w9kwc.js} +4 -4
- package/dist/chunks/{workspace-d0r2hzy0.js → schema-jf35ek5b.js} +2 -2
- package/dist/chunks/{workspace-jssy2dr3.js → schema-jssy2dr3.js} +2 -2
- package/dist/chunks/{workspace-h3vs7mve.js → schema-jt9ap34s.js} +3 -3
- package/dist/chunks/{workspace-38y8nwsh.js → schema-jtpqmfzd.js} +10 -10
- package/dist/chunks/{workspace-g7k9te92.js → schema-k3e42drn.js} +1 -2
- package/dist/chunks/{workspace-j1a5h53y.js → schema-k42t1tha.js} +5 -3
- package/dist/chunks/{workspace-6p15na29.js → schema-kcbd8yt0.js} +3 -3
- package/dist/chunks/{workspace-kg1345f7.js → schema-kg1345f7.js} +1 -1
- package/dist/chunks/schema-kp1t5rcy.js +20 -0
- package/dist/chunks/{workspace-62faaqw9.js → schema-m5hb23fp.js} +30 -18
- package/dist/chunks/{workspace-z5tq16yp.js → schema-mat0pk2n.js} +150 -150
- package/dist/chunks/{workspace-76qm5nqf.js → schema-me155pxc.js} +7 -7
- package/dist/chunks/{workspace-mf0hyk7z.js → schema-mf0hyk7z.js} +1 -1
- package/dist/chunks/{workspace-dn5xz30q.js → schema-mf73chvh.js} +11 -11
- package/dist/chunks/{workspace-j1zjb56y.js → schema-mge4khx8.js} +10 -10
- package/dist/chunks/{workspace-mh28new4.js → schema-mh28new4.js} +2 -2
- package/dist/chunks/{workspace-d9bbznyn.js → schema-mmjdvscj.js} +6 -6
- package/dist/chunks/{workspace-mnb85w6b.js → schema-mnb85w6b.js} +2 -2
- package/dist/chunks/{workspace-hwx2w7zf.js → schema-mtdnc27f.js} +23 -25
- package/dist/chunks/{workspace-0ankgmxn.js → schema-mtwyx2kp.js} +3 -3
- package/dist/chunks/{workspace-mwceq5am.js → schema-mwceq5am.js} +1 -1
- package/dist/chunks/{workspace-mxvw03gv.js → schema-mxvw03gv.js} +1 -1
- package/dist/chunks/{workspace-7ard301f.js → schema-n9e07w6s.js} +25 -25
- package/dist/chunks/{workspace-thrfs9vw.js → schema-nbfw6jpr.js} +5 -5
- package/dist/chunks/{workspace-dt2pbfh8.js → schema-ndw42r8n.js} +67 -67
- package/dist/chunks/{workspace-nesb2rcz.js → schema-nesb2rcz.js} +2 -2
- package/dist/chunks/{workspace-nr76rjj3.js → schema-nr76rjj3.js} +2 -2
- package/dist/chunks/{workspace-qgt32wwf.js → schema-nrkas8zm.js} +4 -4
- package/dist/chunks/{workspace-nxs45nrs.js → schema-nt3351yh.js} +15 -15
- package/dist/chunks/{workspace-37d718jr.js → schema-nvz6n7yp.js} +31 -23
- package/dist/chunks/{workspace-nzrjycs5.js → schema-nzrjycs5.js} +1 -1
- package/dist/chunks/{workspace-p27xxkqg.js → schema-p27xxkqg.js} +3 -3
- package/dist/chunks/{workspace-pfqehjmy.js → schema-pfqehjmy.js} +2 -2
- package/dist/chunks/{workspace-b7wyyjhh.js → schema-pgex9pvk.js} +2 -2
- package/dist/chunks/{workspace-pq4b4pqk.js → schema-pq4b4pqk.js} +2 -2
- package/dist/chunks/{workspace-jqkpryhn.js → schema-q07sa4nq.js} +4 -4
- package/dist/chunks/{workspace-8t1bhfvh.js → schema-qcpexbr2.js} +1 -1
- package/dist/chunks/{workspace-qe0d689s.js → schema-qe0d689s.js} +2 -2
- package/dist/chunks/{workspace-f2kz495y.js → schema-qhdqjp31.js} +7 -8
- package/dist/chunks/{workspace-vgjwjeca.js → schema-r14kbnc4.js} +8 -13
- package/dist/chunks/{workspace-a7458xm9.js → schema-r211gje0.js} +8 -8
- package/dist/chunks/{workspace-r3k9abhd.js → schema-r3k9abhd.js} +2 -2
- package/dist/chunks/{workspace-fycc0m1w.js → schema-r6v38kgd.js} +11 -11
- package/dist/chunks/{workspace-ef1ebqv9.js → schema-r7qg3fv7.js} +26 -5
- package/dist/chunks/{workspace-mmbfffa0.js → schema-r9f1y3a1.js} +8 -8
- package/dist/chunks/{workspace-vq4xdzwy.js → schema-r9m9r1k0.js} +5 -5
- package/dist/chunks/{workspace-h8ecejt5.js → schema-rahat93a.js} +1 -1
- package/dist/chunks/{workspace-dmq0pk88.js → schema-rbzab1ws.js} +2 -2
- package/dist/chunks/{workspace-706a4azd.js → schema-rfbm65k8.js} +1 -1
- package/dist/chunks/{workspace-tk479mxv.js → schema-rhr8bscf.js} +6 -6
- package/dist/chunks/{workspace-3zgv951r.js → schema-rm6e9qn4.js} +14 -14
- package/dist/chunks/{workspace-jt4wm1df.js → schema-rn9r0ddn.js} +2 -2
- package/dist/chunks/{workspace-adfr8vkf.js → schema-rpvypsvk.js} +6 -6
- package/dist/chunks/{workspace-ryap75b3.js → schema-ryap75b3.js} +1 -1
- package/dist/chunks/{workspace-dtq2eppm.js → schema-s123x8qa.js} +4 -4
- package/dist/chunks/{workspace-s33fw6zm.js → schema-s33fw6zm.js} +1 -1
- package/dist/chunks/{workspace-e9yfe4g9.js → schema-s4hn1693.js} +11 -9
- package/dist/chunks/{workspace-vxayaa8z.js → schema-s7tvvea7.js} +8 -8
- package/dist/chunks/{workspace-pw5qhcym.js → schema-sb6cavh7.js} +50 -41
- package/dist/chunks/{workspace-smpeg8c9.js → schema-smpeg8c9.js} +2 -2
- package/dist/chunks/{workspace-sw84ckhj.js → schema-sw84ckhj.js} +1 -1
- package/dist/chunks/{workspace-dman5pj0.js → schema-swj2q685.js} +120 -132
- package/dist/chunks/{workspace-t14kykx1.js → schema-t14kykx1.js} +1 -1
- package/dist/chunks/{workspace-t066q9hw.js → schema-tb33ng7x.js} +2 -2
- package/dist/chunks/{workspace-e1fj3hnt.js → schema-tg2wc1h2.js} +3 -3
- package/dist/chunks/{workspace-thstd87d.js → schema-thstd87d.js} +1 -1
- package/dist/chunks/{workspace-b25zdeh7.js → schema-tjjf1q77.js} +1 -1
- package/dist/chunks/{workspace-ppea70bb.js → schema-tpennrrf.js} +2 -2
- package/dist/chunks/{workspace-v2wshkax.js → schema-v2wshkax.js} +1 -1
- package/dist/chunks/{workspace-s6zr15p0.js → schema-v3sehd45.js} +1 -1
- package/dist/chunks/{workspace-bftvctww.js → schema-v6nebarc.js} +4 -4
- package/dist/chunks/{workspace-v80zsxnb.js → schema-v80zsxnb.js} +1 -1
- package/dist/chunks/{workspace-75dc4a2v.js → schema-v888f2m4.js} +91 -87
- package/dist/chunks/{workspace-v972xay6.js → schema-v972xay6.js} +1 -1
- package/dist/chunks/{workspace-v9bfv94f.js → schema-v9bfv94f.js} +1 -1
- package/dist/chunks/{workspace-njrg7yr8.js → schema-vmvzq9kn.js} +29 -31
- package/dist/chunks/{workspace-xaf8phze.js → schema-vq63px7f.js} +22 -26
- package/dist/chunks/{workspace-f05p34aa.js → schema-vqbmgfq1.js} +3 -3
- package/dist/chunks/{workspace-zeqnj68x.js → schema-vrnna8ef.js} +8 -8
- package/dist/chunks/{workspace-vz89hfgr.js → schema-vz89hfgr.js} +1 -1
- package/dist/chunks/{workspace-wd268jeg.js → schema-wd268jeg.js} +1 -1
- package/dist/chunks/{workspace-xvjmrenr.js → schema-wk54z6sh.js} +20 -16
- package/dist/chunks/{workspace-wmxdh12w.js → schema-wmxdh12w.js} +1 -1
- package/dist/chunks/{workspace-wps8gh8n.js → schema-wps8gh8n.js} +2 -2
- package/dist/chunks/{workspace-yw6774fb.js → schema-wqvb4wbw.js} +34 -21
- package/dist/chunks/{workspace-mceg3fc8.js → schema-xc83wxk6.js} +11 -11
- package/dist/chunks/{workspace-xczfw7dq.js → schema-xczfw7dq.js} +1 -1
- package/dist/chunks/{workspace-xgv25zxy.js → schema-xgv25zxy.js} +1 -1
- package/dist/chunks/{workspace-xhz3jyrc.js → schema-xt0068v8.js} +4 -6
- package/dist/chunks/{workspace-n1869kza.js → schema-xty1ggdh.js} +7 -7
- package/dist/chunks/{workspace-xwftk1fd.js → schema-xwftk1fd.js} +2 -2
- package/dist/chunks/{workspace-xxpvz42q.js → schema-xxpvz42q.js} +3 -3
- package/dist/chunks/{workspace-y0x38cee.js → schema-y0x38cee.js} +1 -1
- package/dist/chunks/{workspace-y198y2ra.js → schema-y198y2ra.js} +1 -1
- package/dist/chunks/{workspace-vzsgyrq1.js → schema-y4vhttwz.js} +10 -16
- package/dist/chunks/{workspace-y67x6rf6.js → schema-y67x6rf6.js} +1 -1
- package/dist/chunks/{workspace-y8rs54ne.js → schema-y8rs54ne.js} +1 -1
- package/dist/chunks/{workspace-y980s7ka.js → schema-y980s7ka.js} +3 -3
- package/dist/chunks/{workspace-a65h300v.js → schema-ybhfpy64.js} +5 -3
- package/dist/chunks/{workspace-yf0knd5z.js → schema-yf0knd5z.js} +2 -2
- package/dist/chunks/{workspace-9d2xhdr4.js → schema-ygy0xbqa.js} +6 -3
- package/dist/chunks/{workspace-ppg6z601.js → schema-yqydgc4n.js} +10 -8
- package/dist/chunks/{workspace-cd4gxvhq.js → schema-yv6n70q9.js} +18 -14
- package/dist/chunks/{workspace-v4xjagz7.js → schema-z50xyfn5.js} +8 -8
- package/dist/chunks/{workspace-pqg6v7an.js → schema-z5t17bvd.js} +8 -8
- package/dist/chunks/{workspace-emcgmnta.js → schema-z7z53gbn.js} +11 -11
- package/dist/chunks/{workspace-ecxv0vtt.js → schema-z8fm0r70.js} +3 -0
- package/dist/chunks/{workspace-zbqqnp0n.js → schema-zbqqnp0n.js} +1 -1
- package/dist/chunks/{workspace-zdkg1k91.js → schema-zdkg1k91.js} +1 -1
- package/dist/chunks/{workspace-zfxc0ze5.js → schema-zfxc0ze5.js} +1 -1
- package/dist/chunks/{workspace-bg6er1xr.js → schema-zwedh6rp.js} +6 -6
- package/dist/chunks/{workspace-zxe9jjhn.js → schema-zxe9jjhn.js} +2 -2
- 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 +99 -98
- package/dist/config/markdown.js +2 -2
- package/dist/config/normalize.js +20 -20
- package/dist/config/plugin/agent.js +132 -131
- package/dist/config/plugin/command.js +129 -128
- package/dist/config/plugin/compaction.js +168 -169
- package/dist/config/plugin/entry-observer.js +119 -0
- package/dist/config/plugin/formatter.js +117 -115
- package/dist/config/plugin/image.js +128 -126
- package/dist/config/plugin/instruction.js +88 -87
- package/dist/config/plugin/location-watcher.js +115 -113
- package/dist/config/plugin/mcp.js +125 -124
- package/dist/config/plugin/policy.js +114 -112
- package/dist/config/plugin/provider.js +113 -111
- package/dist/config/plugin/reference.js +117 -115
- package/dist/config/plugin/shell.js +116 -114
- package/dist/config/plugin/skill-file.js +105 -104
- package/dist/config/plugin/skill.js +135 -134
- package/dist/config/plugin/snapshot.js +115 -113
- package/dist/config/plugin/source.js +112 -111
- package/dist/config/plugin/tool-output.js +117 -115
- package/dist/config/plugin/websearch.js +113 -111
- package/dist/config/variable.js +4 -4
- package/dist/config.js +111 -110
- package/dist/credential/sql.js +3 -3
- package/dist/credential.js +71 -70
- package/dist/database/database.js +68 -67
- package/dist/database/drizzle/effect-sqlite/driver.js +16 -16
- package/dist/database/drizzle/effect-sqlite/index.js +16 -16
- package/dist/database/drizzle/effect-sqlite/migrator.js +15 -15
- package/dist/database/drizzle/effect-sqlite/session.js +15 -15
- package/dist/database/drizzle/index.js +20 -20
- 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 +20 -20
- 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 +14 -14
- package/dist/database/drizzle/sqlite-core/effect/update.js +3 -3
- package/dist/database/drizzle/up-migrations/effect-sqlite.js +4 -4
- package/dist/database/drizzle/up-migrations/sqlite.js +2 -2
- package/dist/database/drizzle/up-migrations/utils.js +2 -2
- package/dist/database/drizzle.js +21 -21
- 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 +7 -0
- package/dist/database/migration.gen.js +47 -46
- package/dist/database/migration.js +49 -48
- 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 +4 -24
- package/dist/database/v1-migration.bun.js +82 -81
- package/dist/database/v1-migration.js +2 -2
- package/dist/database/v1-migration.noop.js +1 -1
- package/dist/effect/app-node-builder.js +334 -337
- package/dist/effect/app-node-platform.js +3 -2
- package/dist/effect/keyed-mutex.js +2 -2
- package/dist/effect/websocket-constructor.js +7 -0
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +89 -88
- package/dist/environment/exec-defaults.js +3 -3
- package/dist/environment/files.js +2 -2
- package/dist/environment/index.js +91 -90
- 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 +73 -72
- package/dist/file-mutation.js +90 -89
- 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 +304 -304
- package/dist/filesystem/protected.js +2 -2
- package/dist/filesystem/search.js +94 -93
- package/dist/filesystem/watcher-binding.js +2 -2
- package/dist/filesystem/watcher.js +4 -4
- package/dist/filesystem.js +94 -93
- package/dist/form.js +72 -71
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +83 -82
- package/dist/generate.js +87 -85
- 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 +21 -21
- 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 +3 -3
- 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 +12 -12
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +7 -7
- 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/local-shell.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 +96 -95
- package/dist/image.js +96 -95
- package/dist/instruction-discovery.js +75 -74
- package/dist/instructions/builtins.js +84 -83
- package/dist/instructions/index.js +2 -2
- package/dist/integration/connection.js +2 -2
- package/dist/integration.js +78 -77
- package/dist/job.js +4 -4
- package/dist/kv/sql.js +3 -3
- package/dist/kv.js +71 -70
- package/dist/location-mutation.js +82 -81
- package/dist/location-service-map.js +82 -81
- package/dist/location-services.js +329 -330
- package/dist/location.js +81 -80
- package/dist/mcp/client.js +98 -96
- package/dist/mcp/index.js +96 -95
- package/dist/mcp/instructions.js +126 -125
- package/dist/mcp/oauth.js +5 -4
- package/dist/mcp/stdio.js +90 -89
- package/dist/mime.js +2 -2
- package/dist/model-resolver.js +84 -83
- package/dist/model.js +3 -3
- package/dist/models-dev.js +78 -77
- package/dist/oauth/page.js +2 -2
- package/dist/permission/saved.js +82 -81
- package/dist/permission/sql.js +6 -6
- package/dist/permission.js +102 -101
- package/dist/plugin/agent.js +103 -102
- package/dist/plugin/command.js +82 -81
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +165 -162
- package/dist/plugin/internal.js +298 -298
- package/dist/plugin/mcp-codemode-exclusion.js +2 -2
- package/dist/plugin/models-dev.js +79 -78
- package/dist/plugin/plan.js +108 -107
- 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 +119 -118
- package/dist/plugin/provider/cerebras.js +3 -3
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -119
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -119
- package/dist/plugin/provider/cohere.js +3 -3
- package/dist/plugin/provider/configured.js +117 -116
- package/dist/plugin/provider/deepinfra.js +3 -3
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +2 -2
- package/dist/plugin/provider/gateway.js +3 -3
- package/dist/plugin/provider/github-copilot.js +85 -84
- package/dist/plugin/provider/gitlab.js +4 -4
- package/dist/plugin/provider/google-vertex.js +3 -3
- package/dist/plugin/provider/groq.js +3 -3
- package/dist/plugin/provider/kilo.js +3 -3
- package/dist/plugin/provider/llmgateway.js +80 -79
- package/dist/plugin/provider/lmstudio.js +112 -111
- package/dist/plugin/provider/mistral.js +3 -3
- package/dist/plugin/provider/nvidia.js +3 -3
- package/dist/plugin/provider/ollama.js +112 -111
- package/dist/plugin/provider/openai-compatible.js +2 -2
- package/dist/plugin/provider/openai.js +82 -81
- package/dist/plugin/provider/opencode.js +96 -95
- package/dist/plugin/provider/openrouter.js +4 -4
- package/dist/plugin/provider/perplexity.js +3 -3
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/snowflake-cortex.js +3 -3
- package/dist/plugin/provider/togetherai.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 +112 -111
- package/dist/plugin/provider/xai.js +81 -79
- package/dist/plugin/provider/zenmux.js +3 -3
- package/dist/plugin/provider.js +158 -157
- package/dist/plugin/runtime.js +154 -151
- package/dist/plugin/sdk.js +72 -71
- package/dist/plugin/skill.js +133 -132
- package/dist/plugin/supervisor-service.js +2 -2
- package/dist/plugin/supervisor.js +303 -303
- package/dist/plugin/system-prompt.js +2 -2
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/warming.js +113 -112
- 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 +166 -163
- package/dist/project/schema.js +3 -3
- package/dist/project/sql.js +5 -5
- package/dist/project.js +80 -79
- 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 +73 -72
- package/dist/pty.js +87 -86
- package/dist/reference/instructions.js +80 -79
- package/dist/reference.js +78 -77
- package/dist/repository-cache.js +7 -7
- package/dist/repository.js +2 -2
- package/dist/ripgrep/binary.js +3 -3
- package/dist/ripgrep.js +92 -91
- package/dist/schema.js +2 -2
- package/dist/session/compaction.js +140 -142
- package/dist/session/context.js +310 -311
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +4 -4
- package/dist/session/event.js +2 -2
- package/dist/session/execution/restart.js +118 -117
- package/dist/session/execution.js +118 -117
- package/dist/session/generate-node.js +311 -312
- package/dist/session/generate.js +2 -2
- package/dist/session/history.js +82 -79
- package/dist/session/inbox.js +80 -79
- package/dist/session/info.js +90 -89
- package/dist/session/instruction-entry.js +83 -76
- package/dist/session/instruction-state.js +10 -10
- package/dist/session/instructions.js +99 -98
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +2 -2
- package/dist/session/model-request.js +136 -138
- package/dist/session/model-transport.js +5 -4
- package/dist/session/projector.js +93 -91
- package/dist/session/prompt-cache-diagnostics.js +2 -2
- package/dist/session/revert.js +88 -87
- package/dist/session/run-coordinator.js +2 -2
- package/dist/session/runner/index.js +87 -86
- package/dist/session/runner/llm.js +316 -317
- package/dist/session/runner/max-steps.js +2 -2
- package/dist/session/runner/model.js +86 -85
- package/dist/session/runner/publish-llm-event.js +4 -4
- package/dist/session/runner/retry.js +75 -74
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +2 -2
- package/dist/session/sql.js +6 -6
- package/dist/session/store.js +98 -97
- package/dist/session/system-prompt.js +2 -2
- package/dist/session/title.js +138 -140
- package/dist/session/to-session-error.js +113 -112
- package/dist/session/transfer.js +171 -159
- package/dist/session/usage.js +2 -2
- package/dist/session.js +155 -150
- package/dist/shell/parse.js +5 -5
- 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/{chunks/index-8jqmqb92.js → shell/scan.js} +6 -6
- package/dist/shell/select.js +4 -4
- package/dist/shell.js +97 -96
- package/dist/skill/discovery.js +3 -3
- package/dist/skill/instructions.js +104 -103
- package/dist/skill.js +103 -102
- package/dist/snapshot.js +83 -82
- 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 +125 -124
- package/dist/tool/plugin/edit.js +112 -111
- package/dist/tool/plugin/file-diff.js +2 -2
- package/dist/tool/plugin/glob.js +114 -113
- package/dist/tool/plugin/grep.js +114 -113
- package/dist/tool/plugin/patch.js +112 -111
- package/dist/tool/plugin/question.js +104 -103
- package/dist/tool/plugin/read.js +117 -116
- package/dist/tool/plugin/shell.js +184 -181
- package/dist/tool/plugin/skill.js +104 -103
- package/dist/tool/plugin/subagent.js +181 -178
- package/dist/tool/plugin/webfetch.js +105 -104
- package/dist/tool/plugin/websearch.js +107 -106
- package/dist/tool/plugin/write.js +112 -111
- package/dist/tool/read-filesystem.js +96 -95
- package/dist/tool/runtime.js +2 -2
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +118 -117
- package/dist/types/config/plugin/entry-observer.d.ts +7 -0
- package/dist/types/database/migration/20260819222447_session_viewed_state.d.ts +3 -0
- package/dist/types/effect/websocket-constructor.d.ts +8 -0
- package/dist/types/location-service-map.d.ts +2 -2
- package/dist/types/location-services.d.ts +1 -1
- package/dist/types/model.d.ts +2 -0
- package/dist/types/plugin/host.d.ts +26 -25
- package/dist/types/plugin/sdk.d.ts +1 -1
- package/dist/types/plugin.d.ts +2 -1
- package/dist/types/session/history.d.ts +345 -0
- package/dist/types/session/instruction-entry.d.ts +20 -0
- package/dist/types/session/model-request.d.ts +1 -1
- package/dist/types/session/schema.d.ts +3 -0
- package/dist/types/session/sql.d.ts +50 -1
- package/dist/types/session/transfer.d.ts +3 -0
- package/dist/types/session.d.ts +20 -11
- package/dist/types/shell/scan.d.ts +17 -0
- package/dist/types/skill.d.ts +1 -1
- package/dist/types/state.d.ts +4 -0
- package/dist/types/v1/config/migrate.d.ts +2 -1
- 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 +2 -3
- 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/git.js +3 -3
- package/dist/vcs/hg.js +3 -3
- package/dist/vcs/patch.js +2 -2
- package/dist/vcs.js +85 -84
- package/dist/websearch.js +76 -75
- package/dist/wellknown/plugin.js +76 -75
- package/dist/wellknown.js +75 -74
- package/dist/workspace/driver.js +2 -2
- package/dist/workspace/sql.js +2 -2
- package/dist/workspace.js +72 -71
- 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 +85 -84
- package/package.json +11 -10
- package/dist/chunks/workspace-1xksxgzs.js +0 -24
- package/dist/chunks/workspace-52jzav25.js +0 -13
- package/dist/chunks/workspace-93qdgxxd.js +0 -30
- package/dist/chunks/workspace-vxz5qdmp.js +0 -31
- package/dist/session/model-headers.js +0 -11
- package/dist/session/model-hook.js +0 -11
- package/dist/session/model-http.js +0 -11
- package/dist/session/prompt-cache-key.js +0 -10
- package/dist/types/session/model-headers.d.ts +0 -12
- package/dist/types/session/model-hook.d.ts +0 -12
- package/dist/types/session/model-http.d.ts +0 -11
- package/dist/types/session/prompt-cache-key.d.ts +0 -3
- /package/dist/chunks/{workspace-0cgt0xh2.js → schema-0cgt0xh2.js} +0 -0
- /package/dist/chunks/{workspace-0f48qthw.js → schema-0f48qthw.js} +0 -0
- /package/dist/chunks/{workspace-0zz82cjq.js → schema-0zz82cjq.js} +0 -0
- /package/dist/chunks/{workspace-1fb7bmpf.js → schema-1fb7bmpf.js} +0 -0
- /package/dist/chunks/{workspace-1wcz8fvj.js → schema-1wcz8fvj.js} +0 -0
- /package/dist/chunks/{workspace-2qdx6zz3.js → schema-2qdx6zz3.js} +0 -0
- /package/dist/chunks/{workspace-3c4nztf9.js → schema-3c4nztf9.js} +0 -0
- /package/dist/chunks/{workspace-3g3rpp2x.js → schema-3g3rpp2x.js} +0 -0
- /package/dist/chunks/{workspace-3q6gbwmd.js → schema-3q6gbwmd.js} +0 -0
- /package/dist/chunks/{workspace-3w3ybtfd.js → schema-3w3ybtfd.js} +0 -0
- /package/dist/chunks/{workspace-47ty4mvs.js → schema-47ty4mvs.js} +0 -0
- /package/dist/chunks/{workspace-4b2tz2m9.js → schema-4b2tz2m9.js} +0 -0
- /package/dist/chunks/{workspace-4zg0gww9.js → schema-4zg0gww9.js} +0 -0
- /package/dist/chunks/{workspace-5a5ch9ts.js → schema-5a5ch9ts.js} +0 -0
- /package/dist/chunks/{workspace-5va1yh78.js → schema-5va1yh78.js} +0 -0
- /package/dist/chunks/{workspace-69qrqpw0.js → schema-69qrqpw0.js} +0 -0
- /package/dist/chunks/{workspace-6yt963b8.js → schema-6yt963b8.js} +0 -0
- /package/dist/chunks/{workspace-7n9qwqk4.js → schema-7n9qwqk4.js} +0 -0
- /package/dist/chunks/{workspace-8nn8kqcn.js → schema-8nn8kqcn.js} +0 -0
- /package/dist/chunks/{workspace-8sj3ajy5.js → schema-8sj3ajy5.js} +0 -0
- /package/dist/chunks/{workspace-8w9tzfz1.js → schema-8w9tzfz1.js} +0 -0
- /package/dist/chunks/{workspace-906y0b6d.js → schema-906y0b6d.js} +0 -0
- /package/dist/chunks/{workspace-9dct5xhx.js → schema-9dct5xhx.js} +0 -0
- /package/dist/chunks/{workspace-9sdtsapf.js → schema-9sdtsapf.js} +0 -0
- /package/dist/chunks/{workspace-a02svayp.js → schema-a02svayp.js} +0 -0
- /package/dist/chunks/{workspace-a83yvq99.js → schema-a83yvq99.js} +0 -0
- /package/dist/chunks/{workspace-aqg9wnx6.js → schema-aqg9wnx6.js} +0 -0
- /package/dist/chunks/{workspace-ayevdmef.js → schema-ayevdmef.js} +0 -0
- /package/dist/chunks/{workspace-b02txbh8.js → schema-b02txbh8.js} +0 -0
- /package/dist/chunks/{workspace-bbqs2y60.js → schema-bbqs2y60.js} +0 -0
- /package/dist/chunks/{workspace-brsh5f65.js → schema-brsh5f65.js} +0 -0
- /package/dist/chunks/{workspace-bxdhjb3y.js → schema-bxdhjb3y.js} +0 -0
- /package/dist/chunks/{workspace-c77ad0vh.js → schema-c77ad0vh.js} +0 -0
- /package/dist/chunks/{workspace-cm67rqy2.js → schema-cm67rqy2.js} +0 -0
- /package/dist/chunks/{workspace-dbah77c1.js → schema-dbah77c1.js} +0 -0
- /package/dist/chunks/{workspace-df3v2q6j.js → schema-df3v2q6j.js} +0 -0
- /package/dist/chunks/{workspace-dhcq6c44.js → schema-dhcq6c44.js} +0 -0
- /package/dist/chunks/{workspace-dht5baf0.js → schema-dht5baf0.js} +0 -0
- /package/dist/chunks/{workspace-dkmkay92.js → schema-dkmkay92.js} +0 -0
- /package/dist/chunks/{workspace-ehj9csmv.js → schema-ehj9csmv.js} +0 -0
- /package/dist/chunks/{workspace-em6xpscd.js → schema-em6xpscd.js} +0 -0
- /package/dist/chunks/{workspace-emmqknsm.js → schema-emmqknsm.js} +0 -0
- /package/dist/chunks/{workspace-ezs3tagn.js → schema-ezs3tagn.js} +0 -0
- /package/dist/chunks/{workspace-f14r7hfz.js → schema-f14r7hfz.js} +0 -0
- /package/dist/chunks/{workspace-f4cp4g4a.js → schema-f4cp4g4a.js} +0 -0
- /package/dist/chunks/{workspace-f84sxdqn.js → schema-f84sxdqn.js} +0 -0
- /package/dist/chunks/{workspace-faypg4r1.js → schema-faypg4r1.js} +0 -0
- /package/dist/chunks/{workspace-gd5xeqc2.js → schema-gd5xeqc2.js} +0 -0
- /package/dist/chunks/{workspace-ghm4673n.js → schema-ghm4673n.js} +0 -0
- /package/dist/chunks/{workspace-ghwjy7my.js → schema-ghwjy7my.js} +0 -0
- /package/dist/chunks/{workspace-gy500k2r.js → schema-gy500k2r.js} +0 -0
- /package/dist/chunks/{workspace-hzeg9cfr.js → schema-hzeg9cfr.js} +0 -0
- /package/dist/chunks/{workspace-j07kk359.js → schema-j07kk359.js} +0 -0
- /package/dist/chunks/{workspace-jve7t217.js → schema-jve7t217.js} +0 -0
- /package/dist/chunks/{workspace-kpdbz7gn.js → schema-kpdbz7gn.js} +0 -0
- /package/dist/chunks/{workspace-kxy11nzk.js → schema-kxy11nzk.js} +0 -0
- /package/dist/chunks/{workspace-kyyqvx4s.js → schema-kyyqvx4s.js} +0 -0
- /package/dist/chunks/{workspace-m8cbvarh.js → schema-m8cbvarh.js} +0 -0
- /package/dist/chunks/{workspace-ma07p6tt.js → schema-ma07p6tt.js} +0 -0
- /package/dist/chunks/{workspace-ma60vzgv.js → schema-ma60vzgv.js} +0 -0
- /package/dist/chunks/{workspace-n3m50c2t.js → schema-n3m50c2t.js} +0 -0
- /package/dist/chunks/{workspace-nkm1m8dz.js → schema-nkm1m8dz.js} +0 -0
- /package/dist/chunks/{workspace-nsc0c3zb.js → schema-nsc0c3zb.js} +0 -0
- /package/dist/chunks/{workspace-qaarhjrp.js → schema-qaarhjrp.js} +0 -0
- /package/dist/chunks/{workspace-qc167nrn.js → schema-qc167nrn.js} +0 -0
- /package/dist/chunks/{workspace-qp95y4jb.js → schema-qp95y4jb.js} +0 -0
- /package/dist/chunks/{workspace-r8f4w671.js → schema-r8f4w671.js} +0 -0
- /package/dist/chunks/{workspace-rdfev9jy.js → schema-rdfev9jy.js} +0 -0
- /package/dist/chunks/{workspace-rvfvac9x.js → schema-rvfvac9x.js} +0 -0
- /package/dist/chunks/{workspace-s7whb9gt.js → schema-s7whb9gt.js} +0 -0
- /package/dist/chunks/{workspace-se76j685.js → schema-se76j685.js} +0 -0
- /package/dist/chunks/{workspace-sem2g21k.js → schema-sem2g21k.js} +0 -0
- /package/dist/chunks/{workspace-tmb1f636.js → schema-tmb1f636.js} +0 -0
- /package/dist/chunks/{workspace-ttxf0gsy.js → schema-ttxf0gsy.js} +0 -0
- /package/dist/chunks/{workspace-tvmhrvfj.js → schema-tvmhrvfj.js} +0 -0
- /package/dist/chunks/{workspace-v2adqbbe.js → schema-v2adqbbe.js} +0 -0
- /package/dist/chunks/{workspace-vkvb1sb3.js → schema-vkvb1sb3.js} +0 -0
- /package/dist/chunks/{workspace-wj4sxzqa.js → schema-wj4sxzqa.js} +0 -0
- /package/dist/chunks/{workspace-wwntjmk1.js → schema-wwntjmk1.js} +0 -0
- /package/dist/chunks/{workspace-wyqjaaa5.js → schema-wyqjaaa5.js} +0 -0
- /package/dist/chunks/{workspace-x4q807cx.js → schema-x4q807cx.js} +0 -0
- /package/dist/chunks/{workspace-yrqrg4vp.js → schema-yrqrg4vp.js} +0 -0
- /package/dist/chunks/{workspace-z47nswr2.js → schema-z47nswr2.js} +0 -0
- /package/dist/chunks/{workspace-zsf8rs93.js → schema-zsf8rs93.js} +0 -0
|
@@ -1,45 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toLLMMessages
|
|
3
|
-
} from "./
|
|
4
|
-
import {
|
|
5
|
-
exports_model_http
|
|
6
|
-
} from "./workspace-93qdgxxd.js";
|
|
7
|
-
import {
|
|
8
|
-
exports_prompt_cache_key
|
|
9
|
-
} from "./workspace-52jzav25.js";
|
|
10
|
-
import {
|
|
11
|
-
exports_model_hook
|
|
12
|
-
} from "./workspace-vxz5qdmp.js";
|
|
3
|
+
} from "./schema-jf35ek5b.js";
|
|
13
4
|
import {
|
|
14
5
|
exports_system_prompt
|
|
15
|
-
} from "./
|
|
16
|
-
import {
|
|
17
|
-
exports_model_headers
|
|
18
|
-
} from "./workspace-1xksxgzs.js";
|
|
6
|
+
} from "./schema-v80zsxnb.js";
|
|
19
7
|
import {
|
|
20
8
|
exports_question
|
|
21
|
-
} from "./
|
|
22
|
-
import {
|
|
23
|
-
exports_model_transport
|
|
24
|
-
} from "./workspace-42q4drvy.js";
|
|
25
|
-
import {
|
|
26
|
-
exports_app
|
|
27
|
-
} from "./workspace-50jxp3hw.js";
|
|
9
|
+
} from "./schema-tg2wc1h2.js";
|
|
28
10
|
import {
|
|
29
11
|
exports_tool
|
|
30
|
-
} from "./
|
|
12
|
+
} from "./schema-z50xyfn5.js";
|
|
31
13
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
14
|
+
exports_model_transport
|
|
15
|
+
} from "./schema-4j7te1s0.js";
|
|
34
16
|
import {
|
|
35
17
|
exports_hooks
|
|
36
|
-
} from "./
|
|
18
|
+
} from "./schema-v2wshkax.js";
|
|
37
19
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
20
|
+
exports_permission
|
|
21
|
+
} from "./schema-gpj6jen2.js";
|
|
22
|
+
import {
|
|
23
|
+
exports_app
|
|
24
|
+
} from "./schema-50jxp3hw.js";
|
|
40
25
|
import {
|
|
41
26
|
__export
|
|
42
|
-
} from "./
|
|
27
|
+
} from "./schema-rvfvac9x.js";
|
|
43
28
|
|
|
44
29
|
// src/session/model-request.ts
|
|
45
30
|
var exports_model_request = {};
|
|
@@ -52,12 +37,14 @@ __export(exports_model_request, {
|
|
|
52
37
|
SessionModelRequest: () => exports_model_request,
|
|
53
38
|
Service: () => Service
|
|
54
39
|
});
|
|
55
|
-
import { LLM, Message, SystemPart } from "@opencode-ai/ai";
|
|
56
|
-
import { Cause, Config, Context, Effect, Layer, Result } from "effect";
|
|
40
|
+
import { HttpOptions, LanguageModel, LLM, LLMRequest, Message, SystemPart } from "@opencode-ai/ai";
|
|
41
|
+
import { Cause, Config, Context, Effect, Layer, Result, Stream } from "effect";
|
|
42
|
+
import { HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
57
43
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
58
44
|
var IMAGE_BYTES_TRIGGER = 25 * 1024 * 1024;
|
|
59
45
|
var IMAGE_BYTES_TARGET = 15 * 1024 * 1024;
|
|
60
46
|
var IMAGE_REMOVED = "[This image was removed to reduce the request size and is no longer visible. Do not make claims about its contents from memory. If needed, retrieve it again with an available tool or ask the user to attach it again.]";
|
|
47
|
+
var responsesWebSocketFlag = (providerID) => `OPENCODE_EXPERIMENTAL_${providerID.replace(/[^a-zA-Z0-9]+/g, "_").toUpperCase()}_RESPONSES_WEBSOCKET`;
|
|
61
48
|
var declineDefect = (cause) => {
|
|
62
49
|
const decline = cause.reasons.flatMap((reason) => Cause.isDieReason(reason) && (reason.defect instanceof exports_permission.DeclinedError || reason.defect instanceof exports_question.CancelledError) ? [reason.defect] : [])[0];
|
|
63
50
|
return decline ? Result.succeed(decline) : Result.fail(cause);
|
|
@@ -150,6 +137,49 @@ var boundImages = (messages) => {
|
|
|
150
137
|
})
|
|
151
138
|
}));
|
|
152
139
|
};
|
|
140
|
+
var sessionHeaders = (session, app) => ({
|
|
141
|
+
"x-session-affinity": session.id,
|
|
142
|
+
"X-Session-Id": session.id,
|
|
143
|
+
...session.parentID ? { "x-parent-session-id": session.parentID } : {},
|
|
144
|
+
"User-Agent": exports_app.useragent(app),
|
|
145
|
+
"x-opencode-project": session.projectID,
|
|
146
|
+
"x-opencode-session": session.id,
|
|
147
|
+
"x-opencode-client": app.name
|
|
148
|
+
});
|
|
149
|
+
var promptCacheKey = (sessionID) => /^ses_[0-9a-f]{64}$/.test(sessionID) ? sessionID.slice(4) : sessionID;
|
|
150
|
+
var applyModelHooks = (hooks, scope, request) => Effect.gen(function* () {
|
|
151
|
+
const currentBaseURL = request.model.route.endpoint.baseURL;
|
|
152
|
+
const event = yield* hooks.trigger("session", "model.request", {
|
|
153
|
+
...scope,
|
|
154
|
+
baseURL: typeof currentBaseURL === "string" ? currentBaseURL : undefined,
|
|
155
|
+
headers: { ...request.http?.headers }
|
|
156
|
+
});
|
|
157
|
+
const route = event.baseURL !== undefined && event.baseURL !== currentBaseURL ? request.model.route.with({ endpoint: { baseURL: event.baseURL } }) : request.model.route;
|
|
158
|
+
return LLMRequest.update(request, {
|
|
159
|
+
model: route === request.model.route ? request.model : LanguageModel.update(request.model, { route }),
|
|
160
|
+
http: new HttpOptions({
|
|
161
|
+
body: request.http?.body,
|
|
162
|
+
headers: Object.keys(event.headers).length === 0 ? undefined : event.headers,
|
|
163
|
+
query: request.http?.query
|
|
164
|
+
})
|
|
165
|
+
});
|
|
166
|
+
});
|
|
167
|
+
var httpMiddleware = (hooks, scope) => (request, handler) => Effect.gen(function* () {
|
|
168
|
+
const before = yield* hooks.trigger("session", "http.request", {
|
|
169
|
+
...scope,
|
|
170
|
+
request: yield* HttpClientRequest.toWeb(request)
|
|
171
|
+
});
|
|
172
|
+
let sent = HttpClientRequest.fromWeb(before.request);
|
|
173
|
+
if (before.request.body)
|
|
174
|
+
sent = HttpClientRequest.bodyUint8Array(sent, new Uint8Array(yield* Effect.promise(() => before.request.clone().arrayBuffer())), before.request.headers.get("content-type") ?? undefined);
|
|
175
|
+
const response = yield* handler(sent);
|
|
176
|
+
const after = yield* hooks.trigger("session", "http.response", {
|
|
177
|
+
...scope,
|
|
178
|
+
request: before.request,
|
|
179
|
+
response: new Response([204, 205, 304].includes(response.status) ? null : yield* Stream.toReadableStreamEffect(response.stream), { status: response.status, headers: response.headers })
|
|
180
|
+
});
|
|
181
|
+
return HttpClientResponse.fromWeb(sent, after.response);
|
|
182
|
+
}).pipe(Effect.mapError((cause) => cause instanceof Error ? cause : new Error(String(cause))));
|
|
153
183
|
|
|
154
184
|
class Service extends Context.Service()("@opencode/SessionModelRequest") {
|
|
155
185
|
}
|
|
@@ -157,7 +187,6 @@ var layer = Layer.effect(Service, Effect.gen(function* () {
|
|
|
157
187
|
const hooks = yield* exports_hooks.Service;
|
|
158
188
|
const transport = yield* exports_model_transport.Service;
|
|
159
189
|
const app = yield* exports_app.Metadata;
|
|
160
|
-
const webSocket = yield* Config.boolean("OPENCODE_EXPERIMENTAL_OPENAI_RESPONSES_WEBSOCKET").pipe(Config.withDefault(false), Effect.orDie);
|
|
161
190
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (input) {
|
|
162
191
|
const session = input.scope.session;
|
|
163
192
|
const resolved = input.scope.model;
|
|
@@ -183,26 +212,27 @@ var layer = Layer.effect(Service, Effect.gen(function* () {
|
|
|
183
212
|
return [];
|
|
184
213
|
return [[name, { ...tool, description: definition.description, inputSchema: definition.input }]];
|
|
185
214
|
}));
|
|
186
|
-
const request = yield*
|
|
215
|
+
const request = yield* applyModelHooks(hooks, { sessionID: session.id, agent: input.scope.agentID, model: resolved.ref }, LLM.request({
|
|
187
216
|
model,
|
|
188
217
|
http: {
|
|
189
|
-
headers:
|
|
218
|
+
headers: sessionHeaders(session, app)
|
|
190
219
|
},
|
|
191
|
-
promptCacheKey:
|
|
220
|
+
promptCacheKey: promptCacheKey(session.fork?.sessionID ?? session.id),
|
|
192
221
|
system: context.system,
|
|
193
222
|
messages: boundImages(unsupportedParts(context.messages, resolved.capabilities)),
|
|
194
223
|
tools: Array.from(hooked, ([name, tool]) => ({ ...tool, name })),
|
|
195
224
|
toolChoice: input.toolChoice
|
|
196
225
|
}));
|
|
197
|
-
const
|
|
198
|
-
const
|
|
226
|
+
const hasHttpHooks = (yield* hooks.has("session", "http.request", resolved.ref.providerID)) || (yield* hooks.has("session", "http.response", resolved.ref.providerID));
|
|
227
|
+
const webSocket = resolved.capabilities.responsesWebsockets === true ? yield* Config.boolean(responsesWebSocketFlag(resolved.ref.providerID)).pipe(Config.withDefault(false), Effect.orDie) : false;
|
|
228
|
+
const http = hasHttpHooks ? httpMiddleware(hooks, {
|
|
199
229
|
sessionID: session.id,
|
|
200
230
|
agent: input.scope.agentID,
|
|
201
231
|
model: resolved.ref
|
|
202
|
-
});
|
|
232
|
+
}) : undefined;
|
|
203
233
|
const options = {
|
|
204
234
|
...http ? { http } : {},
|
|
205
|
-
...input.webSocket === "session" && webSocket &&
|
|
235
|
+
...input.webSocket === "session" && webSocket && !hasHttpHooks ? { webSocket: transport.bind(session.id) } : {}
|
|
206
236
|
};
|
|
207
237
|
const executeTool = (input2) => {
|
|
208
238
|
const tool = hooked.get(input2.call.name);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_provider
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-djkt4gex.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-rvfvac9x.js";
|
|
7
7
|
|
|
8
8
|
// src/aisdk.ts
|
|
9
9
|
var exports_aisdk = {};
|
|
@@ -90,7 +90,7 @@ function prepareOptions(model, pkg) {
|
|
|
90
90
|
opts.signal,
|
|
91
91
|
typeof chunkTimeout === "number" && chunkTimeout > 0 ? new AbortController : undefined,
|
|
92
92
|
options.timeout !== undefined && options.timeout !== null && options.timeout !== false ? AbortSignal.timeout(options.timeout) : undefined
|
|
93
|
-
].filter((item) =>
|
|
93
|
+
].filter((item) => item !== undefined && item !== null);
|
|
94
94
|
const chunkAbortCtl = signals.find((item) => item instanceof AbortController);
|
|
95
95
|
const abortSignals = signals.map((item) => item instanceof AbortController ? item.signal : item);
|
|
96
96
|
if (abortSignals.length === 1)
|
|
@@ -265,7 +265,7 @@ function gatewayProviderOptions(modelID, settings) {
|
|
|
265
265
|
const prefix = separator > 0 ? modelID.slice(0, separator) : undefined;
|
|
266
266
|
if (prefix)
|
|
267
267
|
return { ...gateway === undefined ? {} : { gateway }, [prefix === "amazon" ? "bedrock" : prefix]: model };
|
|
268
|
-
if (
|
|
268
|
+
if (gateway !== undefined)
|
|
269
269
|
return { gateway: { ...gateway, ...model } };
|
|
270
270
|
return { gateway: model };
|
|
271
271
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_state
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-qhdqjp31.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-rvfvac9x.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_model
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-1a3a2s70.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_provider
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-djkt4gex.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-rvfvac9x.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_skill
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-fx6gxcwx.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_permission
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-gpj6jen2.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-rvfvac9x.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/skill.ts
|
|
12
12
|
var exports_skill2 = {};
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
Failed,
|
|
3
3
|
NotFound,
|
|
4
4
|
WrongKind
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./schema-xczfw7dq.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./schema-rvfvac9x.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_provider
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-djkt4gex.js";
|
|
4
4
|
import {
|
|
5
5
|
__require
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-rvfvac9x.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/cerebras.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -1,69 +1,69 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_runtime
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-3x0rbcme.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
exports_tool
|
|
6
|
+
} from "./schema-z50xyfn5.js";
|
|
7
7
|
import {
|
|
8
8
|
exports_reference
|
|
9
|
-
} from "./
|
|
10
|
-
import {
|
|
11
|
-
exports_websearch
|
|
12
|
-
} from "./workspace-d9bbznyn.js";
|
|
13
|
-
import {
|
|
14
|
-
exports_catalog
|
|
15
|
-
} from "./workspace-76qm5nqf.js";
|
|
16
|
-
import {
|
|
17
|
-
exports_aisdk
|
|
18
|
-
} from "./workspace-t2ccr6s6.js";
|
|
9
|
+
} from "./schema-jtpqmfzd.js";
|
|
19
10
|
import {
|
|
20
11
|
exports_command
|
|
21
|
-
} from "./
|
|
12
|
+
} from "./schema-6btb8gmk.js";
|
|
22
13
|
import {
|
|
23
14
|
exports_mcp
|
|
24
|
-
} from "./
|
|
15
|
+
} from "./schema-dc6p8rz8.js";
|
|
16
|
+
import {
|
|
17
|
+
exports_skill
|
|
18
|
+
} from "./schema-fx6gxcwx.js";
|
|
19
|
+
import {
|
|
20
|
+
exports_catalog
|
|
21
|
+
} from "./schema-me155pxc.js";
|
|
25
22
|
import {
|
|
26
23
|
exports_integration
|
|
27
|
-
} from "./
|
|
24
|
+
} from "./schema-ej9r6fs2.js";
|
|
28
25
|
import {
|
|
29
26
|
exports_credential
|
|
30
|
-
} from "./
|
|
27
|
+
} from "./schema-y4vhttwz.js";
|
|
31
28
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
29
|
+
exports_hooks
|
|
30
|
+
} from "./schema-v2wshkax.js";
|
|
34
31
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
32
|
+
exports_agent
|
|
33
|
+
} from "./schema-kcbd8yt0.js";
|
|
37
34
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
35
|
+
exports_workspace
|
|
36
|
+
} from "./schema-nbfw6jpr.js";
|
|
40
37
|
import {
|
|
41
|
-
|
|
42
|
-
} from "./
|
|
38
|
+
exports_aisdk
|
|
39
|
+
} from "./schema-2zf7hxjt.js";
|
|
43
40
|
import {
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
41
|
+
exports_app
|
|
42
|
+
} from "./schema-50jxp3hw.js";
|
|
46
43
|
import {
|
|
47
44
|
exports_model
|
|
48
|
-
} from "./
|
|
45
|
+
} from "./schema-1a3a2s70.js";
|
|
49
46
|
import {
|
|
50
47
|
exports_provider
|
|
51
|
-
} from "./
|
|
48
|
+
} from "./schema-djkt4gex.js";
|
|
52
49
|
import {
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
50
|
+
exports_location
|
|
51
|
+
} from "./schema-j3ethsxz.js";
|
|
55
52
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
53
|
+
AbsolutePath
|
|
54
|
+
} from "./schema-j07kk359.js";
|
|
58
55
|
import {
|
|
59
|
-
|
|
60
|
-
} from "./
|
|
56
|
+
exports_websearch
|
|
57
|
+
} from "./schema-mmjdvscj.js";
|
|
61
58
|
import {
|
|
62
|
-
|
|
63
|
-
} from "./
|
|
59
|
+
exports_kv
|
|
60
|
+
} from "./schema-jf0w9kwc.js";
|
|
61
|
+
import {
|
|
62
|
+
exports_bus
|
|
63
|
+
} from "./schema-vmvzq9kn.js";
|
|
64
64
|
import {
|
|
65
65
|
__export
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./schema-rvfvac9x.js";
|
|
67
67
|
|
|
68
68
|
// src/plugin/host.ts
|
|
69
69
|
var exports_host = {};
|
|
@@ -194,9 +194,7 @@ var make = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
|
|
|
194
194
|
command: {
|
|
195
195
|
list: () => response(commands.list()),
|
|
196
196
|
reload: commands.reload,
|
|
197
|
-
transform:
|
|
198
|
-
callback(draft);
|
|
199
|
-
})
|
|
197
|
+
transform: commands.transform
|
|
200
198
|
},
|
|
201
199
|
event: {
|
|
202
200
|
subscribe: () => bus.subscribe().pipe(Stream.filter(EventManifest.isServer))
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createProviderPlugin
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-0zz82cjq.js";
|
|
4
4
|
import {
|
|
5
5
|
__require
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-rvfvac9x.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/mistral.ts
|
|
9
9
|
var MistralPlugin = createProviderPlugin({
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_runner
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-cz3dkvcz.js";
|
|
4
|
+
import {
|
|
5
|
+
toSessionError
|
|
6
|
+
} from "./schema-s123x8qa.js";
|
|
4
7
|
import {
|
|
5
8
|
exports_inbox
|
|
6
|
-
} from "./
|
|
9
|
+
} from "./schema-6gz8qpj3.js";
|
|
7
10
|
import {
|
|
8
11
|
exports_run_coordinator
|
|
9
|
-
} from "./
|
|
10
|
-
import {
|
|
11
|
-
toSessionError
|
|
12
|
-
} from "./workspace-dtq2eppm.js";
|
|
12
|
+
} from "./schema-c6gknnhe.js";
|
|
13
13
|
import {
|
|
14
14
|
exports_location_service_map
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-zdkg1k91.js";
|
|
16
16
|
import {
|
|
17
17
|
exports_store
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./schema-1nf83cea.js";
|
|
19
19
|
import {
|
|
20
20
|
UserInterruptedError
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./schema-p27xxkqg.js";
|
|
22
22
|
import {
|
|
23
23
|
SessionEvent
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./schema-a83yvq99.js";
|
|
25
25
|
import {
|
|
26
26
|
exports_bus
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./schema-vmvzq9kn.js";
|
|
28
28
|
import {
|
|
29
29
|
exports_database
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./schema-fbe8wd9q.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./schema-rvfvac9x.js";
|
|
34
34
|
|
|
35
35
|
// src/session/execution.ts
|
|
36
36
|
var exports_execution = {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_session
|
|
3
|
-
} from "./
|
|
4
|
-
import {
|
|
5
|
-
exports_job
|
|
6
|
-
} from "./workspace-t066q9hw.js";
|
|
3
|
+
} from "./schema-g1ps01gx.js";
|
|
7
4
|
import {
|
|
8
5
|
exports_location_service_map
|
|
9
|
-
} from "./
|
|
6
|
+
} from "./schema-zdkg1k91.js";
|
|
10
7
|
import {
|
|
11
8
|
exports_mcp
|
|
12
|
-
} from "./
|
|
13
|
-
import {
|
|
14
|
-
exports_location
|
|
15
|
-
} from "./workspace-kwbvxbjz.js";
|
|
9
|
+
} from "./schema-dc6p8rz8.js";
|
|
16
10
|
import {
|
|
17
11
|
exports_agent
|
|
18
|
-
} from "./
|
|
12
|
+
} from "./schema-kcbd8yt0.js";
|
|
13
|
+
import {
|
|
14
|
+
exports_job
|
|
15
|
+
} from "./schema-tb33ng7x.js";
|
|
16
|
+
import {
|
|
17
|
+
exports_location
|
|
18
|
+
} from "./schema-j3ethsxz.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./schema-rvfvac9x.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/runtime.ts
|
|
24
24
|
var exports_runtime = {};
|
|
@@ -38,11 +38,10 @@ import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
|
38
38
|
class Service extends Context.Service()("@opencode/PluginRuntime") {
|
|
39
39
|
}
|
|
40
40
|
var makeCell = () => ({});
|
|
41
|
-
var unavailable = () => Effect.die(new Error("Plugin runtime is unavailable"));
|
|
42
41
|
var require2 = (cell, f) => Effect.suspend(() => {
|
|
43
42
|
const runtime = cell.runtime;
|
|
44
43
|
if (runtime === undefined)
|
|
45
|
-
return unavailable
|
|
44
|
+
return Effect.die(new Error("Plugin runtime is unavailable"));
|
|
46
45
|
return f(runtime);
|
|
47
46
|
});
|
|
48
47
|
var defaultCell = makeCell();
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
convertToOpenAICompatibleChatMessages
|
|
3
|
-
} from "./workspace-brsh5f65.js";
|
|
4
|
-
import {
|
|
5
|
-
openaiCompatibleProviderOptions
|
|
6
|
-
} from "./workspace-a02svayp.js";
|
|
7
|
-
import {
|
|
8
|
-
prepareTools
|
|
9
|
-
} from "./workspace-ezs3tagn.js";
|
|
10
1
|
import {
|
|
11
2
|
mapOpenAICompatibleFinishReason
|
|
12
|
-
} from "./
|
|
3
|
+
} from "./schema-0cgt0xh2.js";
|
|
13
4
|
import {
|
|
14
5
|
getResponseMetadata
|
|
15
|
-
} from "./
|
|
6
|
+
} from "./schema-bbqs2y60.js";
|
|
7
|
+
import {
|
|
8
|
+
openaiCompatibleProviderOptions
|
|
9
|
+
} from "./schema-a02svayp.js";
|
|
16
10
|
import {
|
|
17
11
|
defaultOpenAICompatibleErrorStructure
|
|
18
|
-
} from "./
|
|
12
|
+
} from "./schema-1wcz8fvj.js";
|
|
13
|
+
import {
|
|
14
|
+
prepareTools
|
|
15
|
+
} from "./schema-ezs3tagn.js";
|
|
16
|
+
import {
|
|
17
|
+
convertToOpenAICompatibleChatMessages
|
|
18
|
+
} from "./schema-brsh5f65.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-k42t1tha.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-rvfvac9x.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
@@ -202,7 +202,7 @@ var makeLayer = (connector) => Layer.effect(Service, Effect.gen(function* () {
|
|
|
202
202
|
phase: "connect",
|
|
203
203
|
delivery: "not-sent",
|
|
204
204
|
code: error.reason._tag === "Transport" ? error.reason.code : error.reason._tag
|
|
205
|
-
}).pipe(Effect.andThen(metric("connect_failure")), Effect.andThen(metric("fallback")), Effect.
|
|
205
|
+
}).pipe(Effect.andThen(metric("connect_failure")), Effect.andThen(metric("fallback")), Effect.as(undefined))));
|
|
206
206
|
if (!channel)
|
|
207
207
|
return fallback(exchange);
|
|
208
208
|
lifecycle.delivery = "ready";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_wellknown
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-g7v03tbe.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_bus
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-vmvzq9kn.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-rvfvac9x.js";
|
|
10
10
|
|
|
11
11
|
// src/wellknown/plugin.ts
|
|
12
12
|
var exports_plugin = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_permission
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-v9bfv94f.js";
|
|
4
4
|
import {
|
|
5
5
|
PositiveInt
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-j07kk359.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-rvfvac9x.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
12
|
var exports_agent = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createProviderPlugin
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-0zz82cjq.js";
|
|
4
4
|
import {
|
|
5
5
|
__require
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-rvfvac9x.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/alibaba.ts
|
|
9
9
|
var AlibabaPlugin = createProviderPlugin({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_select
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-cke3skfe.js";
|
|
4
4
|
import {
|
|
5
5
|
__export,
|
|
6
6
|
__require
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-rvfvac9x.js";
|
|
8
8
|
|
|
9
9
|
// src/shell/parse.ts
|
|
10
10
|
var exports_parse = {};
|
|
@@ -189,7 +189,7 @@ var scanLegacy = Effect.fnUntraced(function* (command, shell, cwd) {
|
|
|
189
189
|
}, { commands: [], directories: [] })), (tree2) => Effect.sync(() => tree2.delete()));
|
|
190
190
|
});
|
|
191
191
|
async function scanPortable(command, shell, cwd) {
|
|
192
|
-
const { ShellScan } = await import("
|
|
192
|
+
const { ShellScan } = await import("../shell/scan.js");
|
|
193
193
|
const powershell = exports_select.ps(shell);
|
|
194
194
|
const result = powershell ? ShellScan.scanPowerShell(command) : ShellScan.scan(command);
|
|
195
195
|
if (result.kind === "opaque")
|