@opencode-ai/core 0.0.0-dev-17696 → 0.0.0-dev-17698
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 +72 -72
- package/dist/aisdk-native.js +3 -3
- package/dist/aisdk.js +4 -4
- package/dist/app.js +2 -2
- package/dist/bus.js +70 -70
- package/dist/catalog.js +80 -80
- package/dist/chunks/index-8jqmqb92.js +1 -1
- package/dist/chunks/{file-mutation-02dbfq60.js → workspace-02dbfq60.js} +1 -1
- package/dist/chunks/{file-mutation-ek35d8hg.js → workspace-0as4zekm.js} +2 -2
- package/dist/chunks/{file-mutation-0b6ye7sf.js → workspace-0b6ye7sf.js} +2 -2
- package/dist/chunks/{file-mutation-9pgab4cm.js → workspace-0c7df1c4.js} +32 -36
- package/dist/chunks/{file-mutation-0kvmztkf.js → workspace-0kvmztkf.js} +1 -1
- package/dist/chunks/{file-mutation-c9g6f0tk.js → workspace-0qqvqesj.js} +6 -6
- package/dist/chunks/{file-mutation-tv3v35g1.js → workspace-0sstmbj2.js} +5 -5
- package/dist/chunks/{file-mutation-7enjq36h.js → workspace-0yr12t2z.js} +6 -6
- package/dist/chunks/{file-mutation-4wjsj0rt.js → workspace-13cp7wv8.js} +6 -6
- package/dist/chunks/{file-mutation-18pv8fg3.js → workspace-18pv8fg3.js} +2 -2
- package/dist/chunks/{file-mutation-eyj0s7k1.js → workspace-18vxhfrb.js} +6 -6
- package/dist/chunks/{file-mutation-19e1vard.js → workspace-19e1vard.js} +3 -3
- package/dist/chunks/{file-mutation-1c00jchy.js → workspace-1c00jchy.js} +2 -2
- package/dist/chunks/{file-mutation-exgdn7hq.js → workspace-1ebsradq.js} +2 -2
- package/dist/chunks/{file-mutation-1h0r72pv.js → workspace-1h0r72pv.js} +2 -2
- package/dist/chunks/{file-mutation-67pktwfb.js → workspace-1tvmrqa7.js} +57 -57
- package/dist/chunks/{file-mutation-1xksxgzs.js → workspace-1xksxgzs.js} +2 -2
- package/dist/chunks/{file-mutation-k2v7yta6.js → workspace-21pzh7wc.js} +36 -36
- package/dist/chunks/{file-mutation-25pxtba7.js → workspace-25pxtba7.js} +1 -1
- package/dist/chunks/{file-mutation-2akqrmqf.js → workspace-2akqrmqf.js} +1 -1
- package/dist/chunks/{file-mutation-2nmyybe0.js → workspace-2nmyybe0.js} +1 -1
- package/dist/chunks/{file-mutation-he89se3g.js → workspace-336ka8zs.js} +4 -4
- package/dist/chunks/{file-mutation-3g8vftxb.js → workspace-3g8vftxb.js} +2 -2
- package/dist/chunks/{file-mutation-2b8rwrbh.js → workspace-3t2s5276.js} +3 -3
- package/dist/chunks/{file-mutation-3thh6229.js → workspace-3thh6229.js} +2 -2
- package/dist/chunks/{file-mutation-4sea915w.js → workspace-3yhqrg7f.js} +3 -3
- package/dist/chunks/{file-mutation-sm81aq4c.js → workspace-3z1zvvf9.js} +3 -3
- package/dist/chunks/{file-mutation-42q4drvy.js → workspace-42q4drvy.js} +2 -2
- package/dist/chunks/{file-mutation-whzmw3vh.js → workspace-46r7szwk.js} +4 -4
- package/dist/chunks/{file-mutation-1bh2688c.js → workspace-48wx44h2.js} +1 -1
- package/dist/chunks/{file-mutation-4s2xwh5d.js → workspace-4s2xwh5d.js} +3 -3
- package/dist/chunks/{file-mutation-rrfy62qg.js → workspace-4xzfc3q8.js} +5 -5
- package/dist/chunks/{file-mutation-srpk9jy4.js → workspace-4y2g17p2.js} +1 -1
- package/dist/chunks/{file-mutation-d5s8y83v.js → workspace-4z35xk7c.js} +11 -11
- package/dist/chunks/{file-mutation-4zzdwbaz.js → workspace-4zzdwbaz.js} +2 -2
- package/dist/chunks/{file-mutation-50jxp3hw.js → workspace-50jxp3hw.js} +1 -1
- package/dist/chunks/{file-mutation-x0xwgf78.js → workspace-521exxxs.js} +12 -12
- package/dist/chunks/{file-mutation-52jzav25.js → workspace-52jzav25.js} +1 -1
- package/dist/chunks/{file-mutation-je7xyahm.js → workspace-54ms7718.js} +6 -6
- package/dist/chunks/{file-mutation-29xat8yk.js → workspace-55zegntx.js} +3 -3
- package/dist/chunks/{file-mutation-57tzwnz4.js → workspace-57tzwnz4.js} +1 -1
- package/dist/chunks/{file-mutation-ypggvgc0.js → workspace-5as34v10.js} +3 -3
- package/dist/chunks/{file-mutation-4qabdna4.js → workspace-5m1scejm.js} +3 -3
- package/dist/chunks/{file-mutation-n744begs.js → workspace-5pnhvvbf.js} +6 -6
- package/dist/chunks/{file-mutation-5rs65q6p.js → workspace-5rs65q6p.js} +1 -1
- package/dist/chunks/{file-mutation-2m5a8pm7.js → workspace-5s6zkq6z.js} +7 -7
- package/dist/chunks/{file-mutation-5t6e45q1.js → workspace-5t6e45q1.js} +3 -3
- package/dist/chunks/{file-mutation-5vcssjzn.js → workspace-5vcssjzn.js} +1 -1
- package/dist/chunks/{file-mutation-5yea2tah.js → workspace-5yea2tah.js} +2 -2
- package/dist/chunks/{file-mutation-3h1gyen9.js → workspace-64vqd0cy.js} +10 -10
- package/dist/chunks/{file-mutation-ktamz7t2.js → workspace-6gs5g78n.js} +11 -11
- package/dist/chunks/{file-mutation-epc8d45s.js → workspace-6hvqxf10.js} +6 -6
- package/dist/chunks/{file-mutation-6ky7rqk7.js → workspace-6ky7rqk7.js} +1 -1
- package/dist/chunks/{file-mutation-6q0m15b3.js → workspace-6q0m15b3.js} +1 -1
- package/dist/chunks/{file-mutation-qwtekk8n.js → workspace-6vyt7en4.js} +9 -9
- package/dist/chunks/{file-mutation-706a4azd.js → workspace-706a4azd.js} +1 -1
- package/dist/chunks/{file-mutation-7ct9s9v2.js → workspace-74fg8j2p.js} +4 -4
- package/dist/chunks/{file-mutation-hvq2p04w.js → workspace-78dqajjk.js} +10 -10
- package/dist/chunks/{file-mutation-r3vbcjn8.js → workspace-78r2j6rk.js} +10 -10
- package/dist/chunks/{file-mutation-04zrbt4j.js → workspace-78sj7h62.js} +9 -9
- package/dist/chunks/{file-mutation-7mrpdsq5.js → workspace-7mrpdsq5.js} +1 -1
- package/dist/chunks/{file-mutation-7wcmqxrc.js → workspace-7wcmqxrc.js} +1 -1
- package/dist/chunks/{file-mutation-7xm5mbbb.js → workspace-7xm5mbbb.js} +3 -3
- package/dist/chunks/{file-mutation-88jbfw8z.js → workspace-88jbfw8z.js} +2 -2
- package/dist/chunks/{file-mutation-3w5am4dp.js → workspace-89cbv4pw.js} +6 -6
- package/dist/chunks/{file-mutation-hsyk7kfz.js → workspace-8bkmtpp6.js} +5 -5
- package/dist/chunks/{file-mutation-vvqkptc0.js → workspace-8c5rhpse.js} +5 -5
- package/dist/chunks/{file-mutation-8k08086v.js → workspace-8k08086v.js} +1 -1
- package/dist/chunks/{file-mutation-qhmkq0hq.js → workspace-8p3n2gtm.js} +12 -12
- package/dist/chunks/{file-mutation-ydbjvpr4.js → workspace-8tw21kh4.js} +3 -3
- package/dist/chunks/{file-mutation-8v47shgf.js → workspace-8v47shgf.js} +2 -2
- package/dist/chunks/{file-mutation-dzzfjym6.js → workspace-8vvdsb8h.js} +3 -3
- package/dist/chunks/{file-mutation-8wh5tjv0.js → workspace-8wh5tjv0.js} +1 -1
- package/dist/chunks/{file-mutation-6s1vgm2c.js → workspace-8zr6xb1k.js} +8 -8
- package/dist/chunks/{file-mutation-93qdgxxd.js → workspace-93qdgxxd.js} +1 -1
- package/dist/chunks/{file-mutation-4rs8a7tt.js → workspace-97y0vx2n.js} +16 -16
- package/dist/chunks/{file-mutation-999qd968.js → workspace-999qd968.js} +1 -1
- package/dist/chunks/{file-mutation-9d2xhdr4.js → workspace-9d2xhdr4.js} +3 -3
- package/dist/chunks/{file-mutation-9f0rnpkn.js → workspace-9f0rnpkn.js} +1 -1
- package/dist/chunks/{file-mutation-jbramyns.js → workspace-9fdcdfa7.js} +15 -15
- package/dist/chunks/{file-mutation-23mexhf0.js → workspace-9nxdncze.js} +7 -7
- package/dist/chunks/{file-mutation-w3h53htn.js → workspace-9paj66cs.js} +3 -3
- package/dist/chunks/{file-mutation-drjs2wsn.js → workspace-a59nb3xd.js} +10 -10
- package/dist/chunks/{file-mutation-a65h300v.js → workspace-a65h300v.js} +2 -2
- package/dist/chunks/{file-mutation-gff9zky7.js → workspace-a7dc0g9v.js} +12 -12
- package/dist/chunks/{file-mutation-paf8fjt6.js → workspace-a96yn25n.js} +9 -9
- package/dist/chunks/{file-mutation-wk7swbgt.js → workspace-ad6nxzde.js} +44 -69
- package/dist/chunks/{file-mutation-42ma6aye.js → workspace-af8vx5fw.js} +3 -3
- package/dist/chunks/{file-mutation-5sd50pr3.js → workspace-ajakpn3v.js} +87 -87
- package/dist/chunks/{file-mutation-atc09b0q.js → workspace-atc09b0q.js} +2 -2
- package/dist/chunks/{file-mutation-ayfwnm78.js → workspace-ayfwnm78.js} +2 -2
- package/dist/chunks/{file-mutation-b25zdeh7.js → workspace-b25zdeh7.js} +1 -1
- package/dist/chunks/{file-mutation-b8rm84kg.js → workspace-b8rm84kg.js} +1 -1
- package/dist/chunks/{file-mutation-q63zpkqe.js → workspace-bcrk6mag.js} +2 -2
- package/dist/chunks/{file-mutation-bmweayxc.js → workspace-bmweayxc.js} +3 -3
- package/dist/chunks/{file-mutation-dk37gce2.js → workspace-bw7dx7ag.js} +7 -7
- package/dist/chunks/{file-mutation-byab506k.js → workspace-byab506k.js} +1 -1
- package/dist/chunks/{file-mutation-agpb1n2m.js → workspace-c22fmg6t.js} +6 -6
- package/dist/chunks/{file-mutation-mw313vsx.js → workspace-c4621x2g.js} +3 -3
- package/dist/chunks/{file-mutation-91cb27vj.js → workspace-cqtaf7kf.js} +2 -2
- package/dist/chunks/{file-mutation-cz3dkvcz.js → workspace-cz3dkvcz.js} +1 -1
- package/dist/chunks/{file-mutation-jemek71n.js → workspace-d1w9kn2n.js} +5 -5
- package/dist/chunks/{file-mutation-17jc1xhs.js → workspace-d5aryf2r.js} +3 -3
- package/dist/chunks/{file-mutation-dhphtf1x.js → workspace-dhphtf1x.js} +1 -1
- package/dist/chunks/{file-mutation-dman5pj0.js → workspace-dman5pj0.js} +2 -2
- package/dist/chunks/{file-mutation-vxbtaqj3.js → workspace-dr571bvd.js} +25 -25
- package/dist/chunks/{file-mutation-4jthbcjw.js → workspace-dtyezyt9.js} +3 -3
- package/dist/chunks/{file-mutation-w61ghz65.js → workspace-dwg7h61m.js} +3 -3
- package/dist/chunks/{file-mutation-dyz5q1tb.js → workspace-dyz5q1tb.js} +2 -2
- package/dist/chunks/{file-mutation-e1z9a0ts.js → workspace-e1z9a0ts.js} +2 -2
- package/dist/chunks/{file-mutation-bzktra1r.js → workspace-e21z5v21.js} +7 -7
- package/dist/chunks/{file-mutation-ec8vrfw5.js → workspace-ec8vrfw5.js} +1 -1
- package/dist/chunks/{file-mutation-js4mhysh.js → workspace-ejemtwth.js} +9 -9
- package/dist/chunks/{file-mutation-neq888bz.js → workspace-er4tjtgp.js} +14 -14
- package/dist/chunks/{file-mutation-erj4j75s.js → workspace-erj4j75s.js} +1 -1
- package/dist/chunks/{file-mutation-5x3vfnq7.js → workspace-esxhjp7k.js} +5 -5
- package/dist/chunks/{file-mutation-eyk9wdct.js → workspace-eyk9wdct.js} +2 -2
- package/dist/chunks/{file-mutation-f05p34aa.js → workspace-f05p34aa.js} +3 -3
- package/dist/chunks/{file-mutation-f2kz495y.js → workspace-f2kz495y.js} +1 -1
- package/dist/chunks/{file-mutation-1myqzaz8.js → workspace-f2q2khhp.js} +10 -9
- package/dist/chunks/{file-mutation-mzprazta.js → workspace-f39vdq8g.js} +2 -2
- package/dist/chunks/{file-mutation-zr36jh6w.js → workspace-fe2ph3nr.js} +9 -8
- package/dist/chunks/{file-mutation-fjtxtbhx.js → workspace-fjtxtbhx.js} +2 -2
- package/dist/chunks/{file-mutation-0p84sxz7.js → workspace-fmwhsqe6.js} +2 -2
- package/dist/chunks/{file-mutation-fqxzsdmq.js → workspace-fqxzsdmq.js} +2 -2
- package/dist/chunks/{file-mutation-j5ma61x2.js → workspace-ft0erh7q.js} +3 -3
- package/dist/chunks/{file-mutation-g1hjb7ad.js → workspace-g3bbkj1k.js} +2 -2
- package/dist/chunks/{file-mutation-pfn2wj5v.js → workspace-g5efv47v.js} +10 -10
- package/dist/chunks/{file-mutation-g9yygpzr.js → workspace-g9yygpzr.js} +1 -1
- package/dist/chunks/{file-mutation-9pnw1z98.js → workspace-gak41dg5.js} +3 -3
- package/dist/chunks/{file-mutation-4vjf7qj3.js → workspace-gbnhfmjn.js} +20 -20
- package/dist/chunks/{file-mutation-gcay93cp.js → workspace-gcay93cp.js} +1 -1
- package/dist/chunks/{file-mutation-gd2xppx8.js → workspace-gd2xppx8.js} +1 -1
- package/dist/chunks/{file-mutation-5b6kwz91.js → workspace-gefte8jm.js} +5 -5
- package/dist/chunks/{file-mutation-gp1p5nz4.js → workspace-gp1p5nz4.js} +2 -2
- package/dist/chunks/{file-mutation-gz765asg.js → workspace-gz765asg.js} +1 -1
- package/dist/chunks/{file-mutation-h8ecejt5.js → workspace-h8ecejt5.js} +1 -1
- package/dist/chunks/{file-mutation-qn4q3j05.js → workspace-hfgy2fqr.js} +3 -3
- package/dist/chunks/{file-mutation-j1a5h53y.js → workspace-j1a5h53y.js} +1 -1
- package/dist/chunks/{file-mutation-qt7d3t4t.js → workspace-j5s4az2a.js} +6 -6
- package/dist/chunks/{file-mutation-rqd3s9qe.js → workspace-jj4d4pxw.js} +3 -3
- package/dist/chunks/{file-mutation-b0de8dm9.js → workspace-jn55mt24.js} +5 -5
- package/dist/chunks/{file-mutation-jqkpryhn.js → workspace-jqkpryhn.js} +4 -4
- package/dist/chunks/{file-mutation-jssy2dr3.js → workspace-jssy2dr3.js} +2 -2
- package/dist/chunks/{file-mutation-gd2vd59k.js → workspace-jstbwc2e.js} +5 -5
- package/dist/chunks/{file-mutation-jt4wm1df.js → workspace-jt4wm1df.js} +2 -2
- package/dist/chunks/workspace-jv1w3tz5.js +82 -0
- package/dist/chunks/{file-mutation-jaj0fkep.js → workspace-k4tcdn8f.js} +5 -5
- package/dist/chunks/{file-mutation-rkn65y72.js → workspace-k8pxtwgx.js} +5 -5
- package/dist/chunks/{file-mutation-bra0h0wy.js → workspace-ka9sngs2.js} +7 -7
- package/dist/chunks/{file-mutation-kg1345f7.js → workspace-kg1345f7.js} +1 -1
- package/dist/chunks/{file-mutation-pg11ch85.js → workspace-kh06r37j.js} +8 -8
- package/dist/chunks/{file-mutation-vayy9nzb.js → workspace-khse0b35.js} +5 -5
- package/dist/chunks/{file-mutation-8eszk488.js → workspace-kjh5jmx4.js} +4 -4
- package/dist/chunks/{file-mutation-tv625r12.js → workspace-kkme9km0.js} +3 -3
- package/dist/chunks/{file-mutation-8mn77v6w.js → workspace-kyk099s9.js} +4 -4
- package/dist/chunks/{file-mutation-gn0wt1h2.js → workspace-m4fxd4j1.js} +13 -13
- package/dist/chunks/{file-mutation-mf0hyk7z.js → workspace-mf0hyk7z.js} +1 -1
- package/dist/chunks/{file-mutation-mh28new4.js → workspace-mh28new4.js} +2 -2
- package/dist/chunks/{file-mutation-mnb85w6b.js → workspace-mnb85w6b.js} +2 -2
- package/dist/chunks/{file-mutation-mwceq5am.js → workspace-mwceq5am.js} +1 -1
- package/dist/chunks/{file-mutation-mxvw03gv.js → workspace-mxvw03gv.js} +1 -1
- package/dist/chunks/{file-mutation-cczd97k1.js → workspace-n1w9n0dd.js} +25 -25
- package/dist/chunks/{file-mutation-c7bfrj4e.js → workspace-n2dwdnw8.js} +12 -12
- package/dist/chunks/{file-mutation-n2w8fz38.js → workspace-n2w8fz38.js} +2 -2
- package/dist/chunks/{file-mutation-j8cf1vy4.js → workspace-nc4mdxzq.js} +3 -3
- package/dist/chunks/{file-mutation-66enq37k.js → workspace-ncq8xstk.js} +9 -9
- package/dist/chunks/{file-mutation-nesb2rcz.js → workspace-nesb2rcz.js} +2 -2
- package/dist/chunks/{file-mutation-7x5a5p45.js → workspace-nfr8pd9q.js} +9 -9
- package/dist/chunks/{file-mutation-nk6yb8jk.js → workspace-nk6yb8jk.js} +2 -2
- package/dist/chunks/{file-mutation-6yq9wk39.js → workspace-nqavzcr5.js} +20 -20
- package/dist/chunks/{file-mutation-nr76rjj3.js → workspace-nr76rjj3.js} +2 -2
- package/dist/chunks/{file-mutation-tqpjd123.js → workspace-ns72x5hf.js} +4 -4
- package/dist/chunks/{file-mutation-c2zfvjyf.js → workspace-nx75nfj9.js} +14 -14
- package/dist/chunks/{file-mutation-nzrjycs5.js → workspace-nzrjycs5.js} +1 -1
- package/dist/chunks/{file-mutation-p0zqjz05.js → workspace-p0zqjz05.js} +3 -3
- package/dist/chunks/{file-mutation-p27xxkqg.js → workspace-p27xxkqg.js} +3 -3
- package/dist/chunks/{file-mutation-5zk1f6bp.js → workspace-p38n1v94.js} +4 -4
- package/dist/chunks/{file-mutation-pfqehjmy.js → workspace-pfqehjmy.js} +2 -2
- package/dist/chunks/{file-mutation-ph1me6ah.js → workspace-ph1me6ah.js} +2 -2
- package/dist/chunks/{file-mutation-pq4b4pqk.js → workspace-pq4b4pqk.js} +2 -2
- package/dist/chunks/{file-mutation-tq5xqhav.js → workspace-pqh4z1j6.js} +3 -3
- package/dist/chunks/{file-mutation-prf9bavk.js → workspace-prf9bavk.js} +3 -3
- package/dist/chunks/{file-mutation-54t3v2ar.js → workspace-q4fw6ssw.js} +3 -3
- package/dist/chunks/{file-mutation-tmf717y8.js → workspace-qaefevyn.js} +11 -11
- package/dist/chunks/{file-mutation-qe0d689s.js → workspace-qe0d689s.js} +2 -2
- package/dist/chunks/{file-mutation-qgt32wwf.js → workspace-qgt32wwf.js} +3 -3
- package/dist/chunks/{file-mutation-qsgvz7g8.js → workspace-qsgvz7g8.js} +2 -2
- package/dist/chunks/{file-mutation-vh5wcjaa.js → workspace-qymhxe93.js} +2 -2
- package/dist/chunks/{file-mutation-r3k9abhd.js → workspace-r3k9abhd.js} +2 -2
- package/dist/chunks/{file-mutation-tcp7byvd.js → workspace-r3xawq6n.js} +8 -8
- package/dist/chunks/{file-mutation-ws16x72x.js → workspace-r8g4d7rx.js} +2 -2
- package/dist/chunks/{file-mutation-p80mdsrn.js → workspace-rf15z479.js} +13 -13
- package/dist/chunks/{file-mutation-rt6yg6j2.js → workspace-rt6yg6j2.js} +2 -2
- package/dist/chunks/{file-mutation-ryap75b3.js → workspace-ryap75b3.js} +1 -1
- package/dist/chunks/{file-mutation-s33fw6zm.js → workspace-s33fw6zm.js} +1 -1
- package/dist/chunks/{file-mutation-rfqsjvtd.js → workspace-s3n7fc9z.js} +6 -6
- package/dist/chunks/{file-mutation-sfbv6a2b.js → workspace-sfbv6a2b.js} +1 -1
- package/dist/chunks/{file-mutation-smpeg8c9.js → workspace-smpeg8c9.js} +2 -2
- package/dist/chunks/{file-mutation-514v3wq6.js → workspace-sr1177qp.js} +11 -11
- package/dist/chunks/{file-mutation-sw84ckhj.js → workspace-sw84ckhj.js} +1 -1
- package/dist/chunks/{file-mutation-nw58gysf.js → workspace-swcax23f.js} +5 -5
- package/dist/chunks/{file-mutation-hbqq7nbz.js → workspace-sxjyqhqb.js} +83 -83
- package/dist/chunks/{file-mutation-t066q9hw.js → workspace-t066q9hw.js} +2 -2
- package/dist/chunks/{file-mutation-t14kykx1.js → workspace-t14kykx1.js} +1 -1
- package/dist/chunks/{file-mutation-172jggwp.js → workspace-t5aq90b0.js} +12 -12
- package/dist/chunks/{file-mutation-m8p356z6.js → workspace-t75h05ms.js} +3 -3
- package/dist/chunks/{file-mutation-tcn24h1d.js → workspace-tcn24h1d.js} +1 -1
- package/dist/chunks/{file-mutation-tenv3kfs.js → workspace-tenv3kfs.js} +2 -2
- package/dist/chunks/{file-mutation-thstd87d.js → workspace-thstd87d.js} +1 -1
- package/dist/chunks/{file-mutation-sx460nad.js → workspace-trnjgqt2.js} +5 -5
- package/dist/chunks/{file-mutation-v2wshkax.js → workspace-v2wshkax.js} +1 -1
- package/dist/chunks/{file-mutation-pefrzmyc.js → workspace-v7mffnfb.js} +8 -8
- package/dist/chunks/{file-mutation-v80zsxnb.js → workspace-v80zsxnb.js} +1 -1
- package/dist/chunks/{file-mutation-v972xay6.js → workspace-v972xay6.js} +1 -1
- package/dist/chunks/{file-mutation-v9bfv94f.js → workspace-v9bfv94f.js} +1 -1
- package/dist/chunks/{file-mutation-wnd6n07w.js → workspace-ve0k773y.js} +8 -8
- package/dist/chunks/{file-mutation-x9ywbbk7.js → workspace-vsb38hz0.js} +5 -5
- package/dist/chunks/{file-mutation-v8jjwjq5.js → workspace-vv72133e.js} +3 -3
- package/dist/chunks/{file-mutation-vxz5qdmp.js → workspace-vxz5qdmp.js} +1 -1
- package/dist/chunks/{file-mutation-vz89hfgr.js → workspace-vz89hfgr.js} +1 -1
- package/dist/chunks/{file-mutation-17rafrfe.js → workspace-vzrpmvn1.js} +3 -3
- package/dist/chunks/{file-mutation-kvzzprcy.js → workspace-wbmqrd0z.js} +4 -4
- package/dist/chunks/{file-mutation-wd268jeg.js → workspace-wd268jeg.js} +1 -1
- package/dist/chunks/{file-mutation-wh0zhxcg.js → workspace-wh0zhxcg.js} +2 -2
- package/dist/chunks/{file-mutation-3jefjq69.js → workspace-wj3f9hyj.js} +8 -8
- package/dist/chunks/{file-mutation-3gfwzpjj.js → workspace-wkgskh5w.js} +8 -8
- package/dist/chunks/{file-mutation-wmxdh12w.js → workspace-wmxdh12w.js} +1 -1
- package/dist/chunks/{file-mutation-wps8gh8n.js → workspace-wps8gh8n.js} +2 -2
- package/dist/chunks/{file-mutation-qfbeq2ah.js → workspace-x1m9evxn.js} +85 -36
- package/dist/chunks/{file-mutation-xczfw7dq.js → workspace-xczfw7dq.js} +1 -1
- package/dist/chunks/{file-mutation-hd00xjx5.js → workspace-xgg4sn4n.js} +149 -149
- package/dist/chunks/{file-mutation-xgv25zxy.js → workspace-xgv25zxy.js} +1 -1
- package/dist/chunks/{file-mutation-kt0y4j0n.js → workspace-xpkgp0hb.js} +11 -11
- package/dist/chunks/{file-mutation-taqgy06z.js → workspace-xsrxtfbg.js} +4 -4
- package/dist/chunks/{file-mutation-xwftk1fd.js → workspace-xwftk1fd.js} +2 -2
- package/dist/chunks/{file-mutation-xxpvz42q.js → workspace-xxpvz42q.js} +3 -3
- package/dist/chunks/{file-mutation-y0x38cee.js → workspace-y0x38cee.js} +1 -1
- package/dist/chunks/{file-mutation-y198y2ra.js → workspace-y198y2ra.js} +1 -1
- package/dist/chunks/{file-mutation-xxz4a38w.js → workspace-y4xj1tmn.js} +5 -5
- package/dist/chunks/{file-mutation-y67x6rf6.js → workspace-y67x6rf6.js} +1 -1
- package/dist/chunks/{file-mutation-y82azvmb.js → workspace-y82azvmb.js} +2 -2
- package/dist/chunks/{file-mutation-y8rs54ne.js → workspace-y8rs54ne.js} +1 -1
- package/dist/chunks/{file-mutation-y980s7ka.js → workspace-y980s7ka.js} +3 -3
- package/dist/chunks/{file-mutation-yf0knd5z.js → workspace-yf0knd5z.js} +2 -2
- package/dist/chunks/{file-mutation-fq9r96kc.js → workspace-yg6435c7.js} +5 -5
- package/dist/chunks/{file-mutation-8jxsrwwz.js → workspace-yh9cne0g.js} +6 -6
- package/dist/chunks/{file-mutation-x75ftxtm.js → workspace-yq2jhecg.js} +3 -3
- package/dist/chunks/{file-mutation-qsxftxs9.js → workspace-yyeemvxs.js} +3 -3
- package/dist/chunks/{file-mutation-yz0wm9s3.js → workspace-yz0wm9s3.js} +2 -2
- package/dist/chunks/{file-mutation-7z3m3pnp.js → workspace-z3a1m015.js} +2 -2
- package/dist/chunks/{file-mutation-zbqqnp0n.js → workspace-zbqqnp0n.js} +1 -1
- package/dist/chunks/{file-mutation-zdkg1k91.js → workspace-zdkg1k91.js} +1 -1
- package/dist/chunks/{file-mutation-zfxc0ze5.js → workspace-zfxc0ze5.js} +1 -1
- package/dist/chunks/{file-mutation-aqb6zd4n.js → workspace-zg6veenb.js} +12 -12
- package/dist/chunks/{file-mutation-zjvgdt9p.js → workspace-zjvgdt9p.js} +3 -3
- package/dist/chunks/{file-mutation-8fymy9hq.js → workspace-zjxkn759.js} +7 -7
- package/dist/chunks/{file-mutation-zkkkcc8p.js → workspace-zkkkcc8p.js} +4 -4
- package/dist/chunks/{file-mutation-0r23q0ab.js → workspace-zkzv87ky.js} +8 -8
- package/dist/chunks/{file-mutation-zqh29h4g.js → workspace-zqh29h4g.js} +2 -2
- package/dist/chunks/{file-mutation-dtjyfkxy.js → workspace-zr8se8wp.js} +63 -63
- package/dist/chunks/{file-mutation-r1ehp6a9.js → workspace-zv31enmb.js} +30 -30
- package/dist/chunks/{file-mutation-zxe9jjhn.js → workspace-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 +98 -98
- package/dist/config/markdown.js +2 -2
- package/dist/config/normalize.js +20 -20
- package/dist/config/plugin/agent.js +131 -131
- package/dist/config/plugin/command.js +128 -128
- package/dist/config/plugin/compaction.js +149 -149
- package/dist/config/plugin/formatter.js +115 -115
- package/dist/config/plugin/image.js +126 -126
- package/dist/config/plugin/instruction.js +87 -87
- package/dist/config/plugin/location-watcher.js +113 -113
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +112 -112
- package/dist/config/plugin/provider.js +111 -111
- package/dist/config/plugin/reference.js +115 -115
- package/dist/config/plugin/shell.js +114 -114
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +113 -113
- package/dist/config/plugin/source.js +111 -111
- package/dist/config/plugin/tool-output.js +114 -114
- package/dist/config/plugin/websearch.js +111 -111
- package/dist/config/variable.js +4 -4
- package/dist/config.js +110 -110
- package/dist/credential/sql.js +3 -3
- package/dist/credential.js +70 -70
- package/dist/database/database.js +67 -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 +21 -21
- 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.gen.js +46 -46
- package/dist/database/migration.js +48 -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 +2 -2
- package/dist/database/v1-migration.bun.js +79 -79
- package/dist/database/v1-migration.js +2 -2
- package/dist/database/v1-migration.noop.js +1 -1
- package/dist/effect/app-node-builder.js +329 -329
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +2 -2
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +3 -3
- package/dist/environment/files.js +2 -2
- package/dist/environment/index.js +90 -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 +70 -70
- package/dist/file-mutation.js +89 -89
- 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 +300 -300
- package/dist/filesystem/protected.js +2 -2
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +2 -2
- package/dist/filesystem/watcher.js +4 -4
- package/dist/filesystem.js +93 -93
- package/dist/form.js +71 -71
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +82 -82
- package/dist/generate.js +85 -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 +19 -19
- 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 +95 -95
- package/dist/image.js +95 -95
- package/dist/instruction-discovery.js +74 -74
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +2 -2
- package/dist/integration/connection.js +2 -2
- package/dist/integration.js +77 -77
- package/dist/job.js +4 -4
- package/dist/kv/sql.js +3 -3
- package/dist/kv.js +70 -70
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +329 -329
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +89 -89
- package/dist/mcp/index.js +95 -95
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +2 -2
- package/dist/model-resolver.js +83 -83
- package/dist/model.js +3 -3
- package/dist/models-dev.js +77 -77
- package/dist/oauth/page.js +2 -2
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +6 -6
- package/dist/permission.js +101 -101
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +81 -81
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +161 -161
- package/dist/plugin/internal.js +294 -294
- package/dist/plugin/mcp-codemode-exclusion.js +2 -2
- package/dist/plugin/models-dev.js +78 -78
- package/dist/plugin/plan.js +74 -74
- 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 +118 -118
- package/dist/plugin/provider/cerebras.js +3 -3
- package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -119
- package/dist/plugin/provider/cloudflare-workers-ai.js +119 -119
- package/dist/plugin/provider/cohere.js +3 -3
- package/dist/plugin/provider/configured.js +116 -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 +84 -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 +79 -79
- package/dist/plugin/provider/lmstudio.js +111 -111
- package/dist/plugin/provider/mistral.js +3 -3
- package/dist/plugin/provider/nvidia.js +3 -3
- package/dist/plugin/provider/ollama.js +111 -111
- package/dist/plugin/provider/openai-compatible.js +2 -2
- package/dist/plugin/provider/openai.js +81 -81
- package/dist/plugin/provider/opencode.js +95 -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 +111 -111
- package/dist/plugin/provider/xai.js +79 -79
- package/dist/plugin/provider/zenmux.js +3 -3
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/runtime.js +150 -150
- package/dist/plugin/sdk.js +71 -71
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/supervisor-service.js +2 -2
- package/dist/plugin/supervisor.js +299 -299
- package/dist/plugin/system-prompt.js +2 -2
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/warming.js +112 -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 +162 -162
- package/dist/project/schema.js +3 -3
- package/dist/project/sql.js +5 -5
- package/dist/project.js +79 -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 +72 -72
- package/dist/pty.js +86 -86
- package/dist/reference/instructions.js +79 -79
- package/dist/reference.js +77 -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 +91 -91
- package/dist/schema.js +2 -2
- package/dist/session/compaction.js +122 -122
- package/dist/session/context.js +307 -307
- 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 +117 -117
- package/dist/session/execution.js +117 -117
- package/dist/session/generate-node.js +311 -310
- package/dist/session/generate.js +2 -2
- package/dist/session/history.js +79 -79
- package/dist/session/inbox.js +79 -79
- package/dist/session/info.js +89 -89
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +10 -10
- package/dist/session/instructions.js +98 -98
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +2 -2
- package/dist/session/model-headers.js +4 -4
- package/dist/session/model-hook.js +4 -4
- package/dist/session/model-http.js +4 -4
- package/dist/session/model-request.js +140 -312
- package/dist/session/model-transport.js +4 -4
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt-cache-diagnostics.js +2 -2
- package/dist/session/prompt-cache-key.js +3 -3
- package/dist/session/revert.js +87 -87
- package/dist/session/run-coordinator.js +2 -2
- package/dist/session/runner/index.js +86 -86
- package/dist/session/runner/llm.js +316 -316
- package/dist/session/runner/max-steps.js +2 -2
- package/dist/session/runner/model.js +85 -85
- package/dist/session/runner/publish-llm-event.js +4 -4
- package/dist/session/runner/retry.js +74 -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 +97 -97
- package/dist/session/system-prompt.js +2 -2
- package/dist/session/title.js +115 -115
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +151 -151
- package/dist/session/usage.js +2 -2
- package/dist/session.js +149 -149
- 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/shell/select.js +4 -4
- package/dist/shell.js +95 -95
- package/dist/skill/discovery.js +3 -3
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +102 -102
- package/dist/snapshot.js +82 -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 +124 -124
- package/dist/tool/plugin/edit.js +111 -111
- package/dist/tool/plugin/file-diff.js +2 -2
- package/dist/tool/plugin/glob.js +113 -113
- package/dist/tool/plugin/grep.js +113 -113
- package/dist/tool/plugin/patch.js +111 -111
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +116 -116
- package/dist/tool/plugin/shell.js +180 -180
- package/dist/tool/plugin/skill.js +103 -103
- package/dist/tool/plugin/subagent.js +177 -177
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +111 -111
- package/dist/tool/read-filesystem.js +95 -95
- package/dist/tool/runtime.js +2 -2
- package/dist/tool-output.js +4 -4
- package/dist/tool.js +117 -117
- package/dist/types/model-resolver.d.ts +2 -0
- package/dist/types/session/compaction.d.ts +2 -6
- package/dist/types/session/generate-node.d.ts +2 -2
- package/dist/types/session/model-request.d.ts +38 -10
- package/dist/types/session/runner/model.d.ts +1 -0
- 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/git.js +3 -3
- package/dist/vcs/hg.js +3 -3
- package/dist/vcs/patch.js +2 -2
- package/dist/vcs.js +84 -84
- package/dist/websearch.js +75 -75
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +74 -74
- package/dist/workspace/driver.js +2 -2
- package/dist/workspace/sql.js +2 -2
- package/dist/workspace.js +71 -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 +84 -84
- package/package.json +8 -8
- package/dist/chunks/file-mutation-90kt68xs.js +0 -126
- /package/dist/chunks/{file-mutation-0cgt0xh2.js → workspace-0cgt0xh2.js} +0 -0
- /package/dist/chunks/{file-mutation-0f48qthw.js → workspace-0f48qthw.js} +0 -0
- /package/dist/chunks/{file-mutation-0zz82cjq.js → workspace-0zz82cjq.js} +0 -0
- /package/dist/chunks/{file-mutation-1fb7bmpf.js → workspace-1fb7bmpf.js} +0 -0
- /package/dist/chunks/{file-mutation-1wcz8fvj.js → workspace-1wcz8fvj.js} +0 -0
- /package/dist/chunks/{file-mutation-2qdx6zz3.js → workspace-2qdx6zz3.js} +0 -0
- /package/dist/chunks/{file-mutation-3c4nztf9.js → workspace-3c4nztf9.js} +0 -0
- /package/dist/chunks/{file-mutation-3g3rpp2x.js → workspace-3g3rpp2x.js} +0 -0
- /package/dist/chunks/{file-mutation-3q6gbwmd.js → workspace-3q6gbwmd.js} +0 -0
- /package/dist/chunks/{file-mutation-3w3ybtfd.js → workspace-3w3ybtfd.js} +0 -0
- /package/dist/chunks/{file-mutation-47ty4mvs.js → workspace-47ty4mvs.js} +0 -0
- /package/dist/chunks/{file-mutation-4b2tz2m9.js → workspace-4b2tz2m9.js} +0 -0
- /package/dist/chunks/{file-mutation-4zg0gww9.js → workspace-4zg0gww9.js} +0 -0
- /package/dist/chunks/{file-mutation-5a5ch9ts.js → workspace-5a5ch9ts.js} +0 -0
- /package/dist/chunks/{file-mutation-5va1yh78.js → workspace-5va1yh78.js} +0 -0
- /package/dist/chunks/{file-mutation-69qrqpw0.js → workspace-69qrqpw0.js} +0 -0
- /package/dist/chunks/{file-mutation-6yt963b8.js → workspace-6yt963b8.js} +0 -0
- /package/dist/chunks/{file-mutation-7n9qwqk4.js → workspace-7n9qwqk4.js} +0 -0
- /package/dist/chunks/{file-mutation-8nn8kqcn.js → workspace-8nn8kqcn.js} +0 -0
- /package/dist/chunks/{file-mutation-8sj3ajy5.js → workspace-8sj3ajy5.js} +0 -0
- /package/dist/chunks/{file-mutation-8w9tzfz1.js → workspace-8w9tzfz1.js} +0 -0
- /package/dist/chunks/{file-mutation-906y0b6d.js → workspace-906y0b6d.js} +0 -0
- /package/dist/chunks/{file-mutation-9dct5xhx.js → workspace-9dct5xhx.js} +0 -0
- /package/dist/chunks/{file-mutation-9sdtsapf.js → workspace-9sdtsapf.js} +0 -0
- /package/dist/chunks/{file-mutation-a02svayp.js → workspace-a02svayp.js} +0 -0
- /package/dist/chunks/{file-mutation-a83yvq99.js → workspace-a83yvq99.js} +0 -0
- /package/dist/chunks/{file-mutation-ayevdmef.js → workspace-ayevdmef.js} +0 -0
- /package/dist/chunks/{file-mutation-b02txbh8.js → workspace-b02txbh8.js} +0 -0
- /package/dist/chunks/{file-mutation-bbqs2y60.js → workspace-bbqs2y60.js} +0 -0
- /package/dist/chunks/{file-mutation-brsh5f65.js → workspace-brsh5f65.js} +0 -0
- /package/dist/chunks/{file-mutation-bxdhjb3y.js → workspace-bxdhjb3y.js} +0 -0
- /package/dist/chunks/{file-mutation-c77ad0vh.js → workspace-c77ad0vh.js} +0 -0
- /package/dist/chunks/{file-mutation-cm67rqy2.js → workspace-cm67rqy2.js} +0 -0
- /package/dist/chunks/{file-mutation-d6s8p2vk.js → workspace-d6s8p2vk.js} +0 -0
- /package/dist/chunks/{file-mutation-dbah77c1.js → workspace-dbah77c1.js} +0 -0
- /package/dist/chunks/{file-mutation-df3v2q6j.js → workspace-df3v2q6j.js} +0 -0
- /package/dist/chunks/{file-mutation-dhcq6c44.js → workspace-dhcq6c44.js} +0 -0
- /package/dist/chunks/{file-mutation-dht5baf0.js → workspace-dht5baf0.js} +0 -0
- /package/dist/chunks/{file-mutation-dkmkay92.js → workspace-dkmkay92.js} +0 -0
- /package/dist/chunks/{file-mutation-ecxv0vtt.js → workspace-ecxv0vtt.js} +0 -0
- /package/dist/chunks/{file-mutation-ehj9csmv.js → workspace-ehj9csmv.js} +0 -0
- /package/dist/chunks/{file-mutation-em6xpscd.js → workspace-em6xpscd.js} +0 -0
- /package/dist/chunks/{file-mutation-emmqknsm.js → workspace-emmqknsm.js} +0 -0
- /package/dist/chunks/{file-mutation-ezs3tagn.js → workspace-ezs3tagn.js} +0 -0
- /package/dist/chunks/{file-mutation-f14r7hfz.js → workspace-f14r7hfz.js} +0 -0
- /package/dist/chunks/{file-mutation-f4cp4g4a.js → workspace-f4cp4g4a.js} +0 -0
- /package/dist/chunks/{file-mutation-f84sxdqn.js → workspace-f84sxdqn.js} +0 -0
- /package/dist/chunks/{file-mutation-faypg4r1.js → workspace-faypg4r1.js} +0 -0
- /package/dist/chunks/{file-mutation-g7k9te92.js → workspace-g7k9te92.js} +0 -0
- /package/dist/chunks/{file-mutation-gd5xeqc2.js → workspace-gd5xeqc2.js} +0 -0
- /package/dist/chunks/{file-mutation-ghm4673n.js → workspace-ghm4673n.js} +0 -0
- /package/dist/chunks/{file-mutation-ghwjy7my.js → workspace-ghwjy7my.js} +0 -0
- /package/dist/chunks/{file-mutation-gy500k2r.js → workspace-gy500k2r.js} +0 -0
- /package/dist/chunks/{file-mutation-hzeg9cfr.js → workspace-hzeg9cfr.js} +0 -0
- /package/dist/chunks/{file-mutation-j07kk359.js → workspace-j07kk359.js} +0 -0
- /package/dist/chunks/{file-mutation-jve7t217.js → workspace-jve7t217.js} +0 -0
- /package/dist/chunks/{file-mutation-kpdbz7gn.js → workspace-kpdbz7gn.js} +0 -0
- /package/dist/chunks/{file-mutation-kxy11nzk.js → workspace-kxy11nzk.js} +0 -0
- /package/dist/chunks/{file-mutation-kyyqvx4s.js → workspace-kyyqvx4s.js} +0 -0
- /package/dist/chunks/{file-mutation-m8cbvarh.js → workspace-m8cbvarh.js} +0 -0
- /package/dist/chunks/{file-mutation-ma07p6tt.js → workspace-ma07p6tt.js} +0 -0
- /package/dist/chunks/{file-mutation-ma60vzgv.js → workspace-ma60vzgv.js} +0 -0
- /package/dist/chunks/{file-mutation-md5jaask.js → workspace-md5jaask.js} +0 -0
- /package/dist/chunks/{file-mutation-n3m50c2t.js → workspace-n3m50c2t.js} +0 -0
- /package/dist/chunks/{file-mutation-nkm1m8dz.js → workspace-nkm1m8dz.js} +0 -0
- /package/dist/chunks/{file-mutation-nsc0c3zb.js → workspace-nsc0c3zb.js} +0 -0
- /package/dist/chunks/{file-mutation-qaarhjrp.js → workspace-qaarhjrp.js} +0 -0
- /package/dist/chunks/{file-mutation-qc167nrn.js → workspace-qc167nrn.js} +0 -0
- /package/dist/chunks/{file-mutation-qp95y4jb.js → workspace-qp95y4jb.js} +0 -0
- /package/dist/chunks/{file-mutation-r8f4w671.js → workspace-r8f4w671.js} +0 -0
- /package/dist/chunks/{file-mutation-rdfev9jy.js → workspace-rdfev9jy.js} +0 -0
- /package/dist/chunks/{file-mutation-rvfvac9x.js → workspace-rvfvac9x.js} +0 -0
- /package/dist/chunks/{file-mutation-s7whb9gt.js → workspace-s7whb9gt.js} +0 -0
- /package/dist/chunks/{file-mutation-se76j685.js → workspace-se76j685.js} +0 -0
- /package/dist/chunks/{file-mutation-sem2g21k.js → workspace-sem2g21k.js} +0 -0
- /package/dist/chunks/{file-mutation-tmb1f636.js → workspace-tmb1f636.js} +0 -0
- /package/dist/chunks/{file-mutation-ttxf0gsy.js → workspace-ttxf0gsy.js} +0 -0
- /package/dist/chunks/{file-mutation-tvmhrvfj.js → workspace-tvmhrvfj.js} +0 -0
- /package/dist/chunks/{file-mutation-v2adqbbe.js → workspace-v2adqbbe.js} +0 -0
- /package/dist/chunks/{file-mutation-vkvb1sb3.js → workspace-vkvb1sb3.js} +0 -0
- /package/dist/chunks/{file-mutation-wj4sxzqa.js → workspace-wj4sxzqa.js} +0 -0
- /package/dist/chunks/{file-mutation-wwntjmk1.js → workspace-wwntjmk1.js} +0 -0
- /package/dist/chunks/{file-mutation-wyqjaaa5.js → workspace-wyqjaaa5.js} +0 -0
- /package/dist/chunks/{file-mutation-x4q807cx.js → workspace-x4q807cx.js} +0 -0
- /package/dist/chunks/{file-mutation-xhz3jyrc.js → workspace-xhz3jyrc.js} +0 -0
- /package/dist/chunks/{file-mutation-yrqrg4vp.js → workspace-yrqrg4vp.js} +0 -0
- /package/dist/chunks/{file-mutation-z47nswr2.js → workspace-z47nswr2.js} +0 -0
- /package/dist/chunks/{file-mutation-zsf8rs93.js → workspace-zsf8rs93.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import {
|
|
2
|
-
exports_location_mutation
|
|
3
|
-
} from "./file-mutation-tqpjd123.js";
|
|
4
|
-
import {
|
|
5
|
-
exports_permission
|
|
6
|
-
} from "./file-mutation-drjs2wsn.js";
|
|
7
1
|
import {
|
|
8
2
|
exports_filesystem
|
|
9
|
-
} from "./
|
|
3
|
+
} from "./workspace-khse0b35.js";
|
|
10
4
|
import {
|
|
11
5
|
exports_ripgrep
|
|
12
|
-
} from "./
|
|
6
|
+
} from "./workspace-46r7szwk.js";
|
|
13
7
|
import {
|
|
14
8
|
exports_environment1 as exports_environment
|
|
15
|
-
} from "./
|
|
9
|
+
} from "./workspace-nfr8pd9q.js";
|
|
10
|
+
import {
|
|
11
|
+
exports_location_mutation
|
|
12
|
+
} from "./workspace-ns72x5hf.js";
|
|
13
|
+
import {
|
|
14
|
+
exports_permission
|
|
15
|
+
} from "./workspace-a59nb3xd.js";
|
|
16
16
|
import {
|
|
17
17
|
exports_location
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./workspace-qymhxe93.js";
|
|
19
19
|
import {
|
|
20
20
|
RelativePath
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./workspace-j07kk359.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./workspace-rvfvac9x.js";
|
|
25
25
|
|
|
26
26
|
// src/tool/plugin/glob.ts
|
|
27
27
|
var exports_glob = {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_page
|
|
3
|
-
} from "./
|
|
4
|
-
import {
|
|
5
|
-
exports_app
|
|
6
|
-
} from "./file-mutation-50jxp3hw.js";
|
|
3
|
+
} from "./workspace-7mrpdsq5.js";
|
|
7
4
|
import {
|
|
8
5
|
exports_integration
|
|
9
|
-
} from "./
|
|
6
|
+
} from "./workspace-ka9sngs2.js";
|
|
10
7
|
import {
|
|
11
8
|
exports_credential
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./workspace-pqh4z1j6.js";
|
|
10
|
+
import {
|
|
11
|
+
exports_app
|
|
12
|
+
} from "./workspace-50jxp3hw.js";
|
|
13
13
|
import {
|
|
14
14
|
exports_provider
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./workspace-sfbv6a2b.js";
|
|
16
16
|
import {
|
|
17
17
|
exports_bus
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./workspace-j5s4az2a.js";
|
|
19
19
|
import {
|
|
20
20
|
__require
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./workspace-rvfvac9x.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/openai.ts
|
|
24
24
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
@@ -1,51 +1,45 @@
|
|
|
1
|
-
import {
|
|
2
|
-
MAX_STEPS_PROMPT
|
|
3
|
-
} from "./file-mutation-qaarhjrp.js";
|
|
4
|
-
import {
|
|
5
|
-
exports_prompt_cache_diagnostics
|
|
6
|
-
} from "./file-mutation-wd268jeg.js";
|
|
7
1
|
import {
|
|
8
2
|
toLLMMessages
|
|
9
|
-
} from "./
|
|
3
|
+
} from "./workspace-md5jaask.js";
|
|
10
4
|
import {
|
|
11
5
|
exports_system_prompt
|
|
12
|
-
} from "./
|
|
13
|
-
import {
|
|
14
|
-
exports_question
|
|
15
|
-
} from "./file-mutation-b0de8dm9.js";
|
|
6
|
+
} from "./workspace-v80zsxnb.js";
|
|
16
7
|
import {
|
|
17
8
|
exports_model_headers
|
|
18
|
-
} from "./
|
|
19
|
-
import {
|
|
20
|
-
exports_model_http
|
|
21
|
-
} from "./file-mutation-93qdgxxd.js";
|
|
9
|
+
} from "./workspace-1xksxgzs.js";
|
|
22
10
|
import {
|
|
23
11
|
exports_model_hook
|
|
24
|
-
} from "./
|
|
12
|
+
} from "./workspace-vxz5qdmp.js";
|
|
13
|
+
import {
|
|
14
|
+
exports_model_http
|
|
15
|
+
} from "./workspace-93qdgxxd.js";
|
|
25
16
|
import {
|
|
26
17
|
exports_prompt_cache_key
|
|
27
|
-
} from "./
|
|
18
|
+
} from "./workspace-52jzav25.js";
|
|
28
19
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
20
|
+
exports_question
|
|
21
|
+
} from "./workspace-jn55mt24.js";
|
|
31
22
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
23
|
+
exports_model_transport
|
|
24
|
+
} from "./workspace-42q4drvy.js";
|
|
34
25
|
import {
|
|
35
26
|
exports_tool
|
|
36
|
-
} from "./
|
|
27
|
+
} from "./workspace-wkgskh5w.js";
|
|
37
28
|
import {
|
|
38
29
|
exports_hooks
|
|
39
|
-
} from "./
|
|
30
|
+
} from "./workspace-v2wshkax.js";
|
|
31
|
+
import {
|
|
32
|
+
exports_app
|
|
33
|
+
} from "./workspace-50jxp3hw.js";
|
|
40
34
|
import {
|
|
41
35
|
exports_permission
|
|
42
|
-
} from "./
|
|
36
|
+
} from "./workspace-a59nb3xd.js";
|
|
43
37
|
import {
|
|
44
38
|
exports_provider
|
|
45
|
-
} from "./
|
|
39
|
+
} from "./workspace-sfbv6a2b.js";
|
|
46
40
|
import {
|
|
47
41
|
__export
|
|
48
|
-
} from "./
|
|
42
|
+
} from "./workspace-rvfvac9x.js";
|
|
49
43
|
|
|
50
44
|
// src/session/model-request.ts
|
|
51
45
|
var exports_model_request = {};
|
|
@@ -54,6 +48,7 @@ __export(exports_model_request, {
|
|
|
54
48
|
node: () => node,
|
|
55
49
|
layer: () => layer,
|
|
56
50
|
boundImages: () => boundImages,
|
|
51
|
+
baseTranscript: () => baseTranscript,
|
|
57
52
|
SessionModelRequest: () => exports_model_request,
|
|
58
53
|
Service: () => Service
|
|
59
54
|
});
|
|
@@ -67,6 +62,17 @@ var declineDefect = (cause) => {
|
|
|
67
62
|
const decline = cause.reasons.flatMap((reason) => Cause.isDieReason(reason) && (reason.defect instanceof exports_permission.DeclinedError || reason.defect instanceof exports_question.CancelledError) ? [reason.defect] : [])[0];
|
|
68
63
|
return decline ? Result.succeed(decline) : Result.fail(cause);
|
|
69
64
|
};
|
|
65
|
+
var baseTranscript = (input) => {
|
|
66
|
+
const providerMetadataKey = input.model.model.route.providerMetadataKey ?? input.model.model.provider;
|
|
67
|
+
return {
|
|
68
|
+
providerMetadataKey,
|
|
69
|
+
system: [
|
|
70
|
+
input.agent.system ? input.agent.system : exports_system_prompt.make(input.tools.definitions.map((tool) => tool.name)),
|
|
71
|
+
input.initial
|
|
72
|
+
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
73
|
+
messages: toLLMMessages(input.messages, input.model.ref, providerMetadataKey)
|
|
74
|
+
};
|
|
75
|
+
};
|
|
70
76
|
var mimeToModality = (mime) => {
|
|
71
77
|
if (mime.startsWith("image/"))
|
|
72
78
|
return "image";
|
|
@@ -152,30 +158,19 @@ var layer = Layer.effect(Service, Effect.gen(function* () {
|
|
|
152
158
|
const transport = yield* exports_model_transport.Service;
|
|
153
159
|
const app = yield* exports_app.Metadata;
|
|
154
160
|
const webSocket = yield* Config.boolean("OPENCODE_EXPERIMENTAL_OPENAI_RESPONSES_WEBSOCKET").pipe(Config.withDefault(false), Effect.orDie);
|
|
155
|
-
const diagnostics = yield* Config.boolean("OPENCODE_PROMPT_CACHE_DIAGNOSTICS").pipe(Config.withDefault(false), Effect.orDie);
|
|
156
|
-
const promptCacheSnapshots = diagnostics ? new Map : undefined;
|
|
157
161
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (input) {
|
|
158
|
-
const session = input.
|
|
159
|
-
const
|
|
160
|
-
const resolved = input.context.model;
|
|
162
|
+
const session = input.scope.session;
|
|
163
|
+
const resolved = input.scope.model;
|
|
161
164
|
const model = resolved.model;
|
|
162
|
-
const
|
|
163
|
-
const stepLimitReached = agent.info.steps !== undefined && input.step >= agent.info.steps;
|
|
164
|
-
const tools = input.context.tools;
|
|
165
|
-
const system = [
|
|
166
|
-
agent.info.system ? agent.info.system : exports_system_prompt.make(tools.definitions.map((tool) => tool.name)),
|
|
167
|
-
input.context.initial
|
|
168
|
-
].filter((part) => part.length > 0).map(SystemPart.make);
|
|
169
|
-
const history = toLLMMessages(input.context.messages, resolved.ref, providerMetadataKey);
|
|
170
|
-
const messages = stepLimitReached ? [...history, Message.assistant(MAX_STEPS_PROMPT)] : history;
|
|
165
|
+
const tools = input.scope.tools;
|
|
171
166
|
const registry = new Map(tools.definitions.map((tool) => [tool.name, tool]));
|
|
172
167
|
const given = new Map(tools.definitions.map((tool) => [{ description: tool.description, input: { ...tool.inputSchema } }, tool]));
|
|
173
168
|
const context = yield* hooks.trigger("session", "context", {
|
|
174
169
|
sessionID: session.id,
|
|
175
|
-
agent:
|
|
170
|
+
agent: input.scope.agentID,
|
|
176
171
|
model: resolved.ref,
|
|
177
|
-
system,
|
|
178
|
-
messages,
|
|
172
|
+
system: input.transcript.system,
|
|
173
|
+
messages: input.transcript.messages,
|
|
179
174
|
tools: Object.fromEntries(Array.from(given, ([definition, tool]) => [tool.name, definition]))
|
|
180
175
|
});
|
|
181
176
|
const hooked = new Map(Object.entries(context.tools).flatMap(([name, definition]) => {
|
|
@@ -184,7 +179,7 @@ var layer = Layer.effect(Service, Effect.gen(function* () {
|
|
|
184
179
|
return [];
|
|
185
180
|
return [[name, { ...tool, description: definition.description, inputSchema: definition.input }]];
|
|
186
181
|
}));
|
|
187
|
-
const request = yield* exports_model_hook.apply(hooks, { sessionID: session.id, agent:
|
|
182
|
+
const request = yield* exports_model_hook.apply(hooks, { sessionID: session.id, agent: input.scope.agentID, model: resolved.ref }, LLM.request({
|
|
188
183
|
model,
|
|
189
184
|
http: {
|
|
190
185
|
headers: exports_model_headers.make(session, app)
|
|
@@ -193,37 +188,19 @@ var layer = Layer.effect(Service, Effect.gen(function* () {
|
|
|
193
188
|
system: context.system,
|
|
194
189
|
messages: boundImages(unsupportedParts(context.messages, resolved.capabilities)),
|
|
195
190
|
tools: Array.from(hooked, ([name, tool]) => ({ ...tool, name })),
|
|
196
|
-
toolChoice:
|
|
191
|
+
toolChoice: input.toolChoice
|
|
197
192
|
}));
|
|
198
193
|
const webSocketEligible = !(yield* hooks.has("session", "http.request", resolved.ref.providerID)) && !(yield* hooks.has("session", "http.response", resolved.ref.providerID));
|
|
199
194
|
const http = webSocketEligible ? undefined : exports_model_http.middleware(hooks, {
|
|
200
195
|
sessionID: session.id,
|
|
201
|
-
agent:
|
|
196
|
+
agent: input.scope.agentID,
|
|
202
197
|
model: resolved.ref
|
|
203
198
|
});
|
|
204
199
|
const options = {
|
|
205
200
|
...http ? { http } : {},
|
|
206
|
-
...webSocket && webSocketEligible && resolved.ref.providerID === exports_provider.ID.openai && request.model.route.id === "openai-responses" ? { webSocket: transport.bind(session.id) } : {}
|
|
201
|
+
...input.webSocket === "session" && webSocket && webSocketEligible && resolved.ref.providerID === exports_provider.ID.openai && request.model.route.id === "openai-responses" ? { webSocket: transport.bind(session.id) } : {}
|
|
207
202
|
};
|
|
208
|
-
if (promptCacheSnapshots) {
|
|
209
|
-
const current = exports_prompt_cache_diagnostics.snapshot(request);
|
|
210
|
-
const comparison = exports_prompt_cache_diagnostics.compare(promptCacheSnapshots.get(session.id), current);
|
|
211
|
-
promptCacheSnapshots.delete(session.id);
|
|
212
|
-
promptCacheSnapshots.set(session.id, current);
|
|
213
|
-
const oldest = promptCacheSnapshots.keys().next().value;
|
|
214
|
-
if (promptCacheSnapshots.size > 100 && oldest !== undefined)
|
|
215
|
-
promptCacheSnapshots.delete(oldest);
|
|
216
|
-
yield* Effect.logInfo("prompt cache prefix").pipe(Effect.annotateLogs({
|
|
217
|
-
sessionID: session.id,
|
|
218
|
-
toolCount: current.tools.length,
|
|
219
|
-
systemParts: current.system.length,
|
|
220
|
-
messageCount: current.messages.length,
|
|
221
|
-
...comparison
|
|
222
|
-
}));
|
|
223
|
-
}
|
|
224
203
|
const executeTool = (input2) => {
|
|
225
|
-
if (stepLimitReached)
|
|
226
|
-
return new exports_tool.Error({ message: "Tools are disabled after the maximum agent steps" });
|
|
227
204
|
const tool = hooked.get(input2.call.name);
|
|
228
205
|
if (!tool && registry.has(input2.call.name))
|
|
229
206
|
return new exports_tool.Error({ message: `Tool is not available for this request: ${input2.call.name}` });
|
|
@@ -232,9 +209,7 @@ var layer = Layer.effect(Service, Effect.gen(function* () {
|
|
|
232
209
|
return {
|
|
233
210
|
request,
|
|
234
211
|
options,
|
|
235
|
-
|
|
236
|
-
executeTool,
|
|
237
|
-
stepLimitReached
|
|
212
|
+
executeTool
|
|
238
213
|
};
|
|
239
214
|
});
|
|
240
215
|
return Service.of({ prepare });
|
|
@@ -245,4 +220,4 @@ var node = makeLocationNode({
|
|
|
245
220
|
deps: [exports_hooks.node, exports_model_transport.node, exports_app.node]
|
|
246
221
|
});
|
|
247
222
|
|
|
248
|
-
export { unsupportedParts, boundImages, Service, layer, node, exports_model_request };
|
|
223
|
+
export { baseTranscript, unsupportedParts, boundImages, Service, layer, node, exports_model_request };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
schema_gen_default
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-ecxv0vtt.js";
|
|
4
4
|
import {
|
|
5
5
|
migrations
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-sxjyqhqb.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-rvfvac9x.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,148 +1,148 @@
|
|
|
1
|
-
import {
|
|
2
|
-
exports_location_watcher
|
|
3
|
-
} from "./file-mutation-2m5a8pm7.js";
|
|
4
1
|
import {
|
|
5
2
|
exports_llm
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./workspace-x1m9evxn.js";
|
|
7
4
|
import {
|
|
8
5
|
exports_title
|
|
9
|
-
} from "./
|
|
6
|
+
} from "./workspace-gbnhfmjn.js";
|
|
10
7
|
import {
|
|
11
8
|
exports_generate_node
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./workspace-jv1w3tz5.js";
|
|
13
10
|
import {
|
|
14
11
|
exports_instructions as exports_instructions2
|
|
15
|
-
} from "./
|
|
16
|
-
import {
|
|
17
|
-
exports_builtins
|
|
18
|
-
} from "./file-mutation-4qabdna4.js";
|
|
12
|
+
} from "./workspace-hfgy2fqr.js";
|
|
19
13
|
import {
|
|
20
14
|
exports_instruction_entry
|
|
21
|
-
} from "./
|
|
22
|
-
import {
|
|
23
|
-
exports_instructions as exports_instructions3
|
|
24
|
-
} from "./file-mutation-v8jjwjq5.js";
|
|
15
|
+
} from "./workspace-kyk099s9.js";
|
|
25
16
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
17
|
+
exports_location_watcher
|
|
18
|
+
} from "./workspace-5s6zkq6z.js";
|
|
28
19
|
import {
|
|
29
20
|
exports_supervisor
|
|
30
|
-
} from "./
|
|
21
|
+
} from "./workspace-8p3n2gtm.js";
|
|
31
22
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
23
|
+
exports_compaction
|
|
24
|
+
} from "./workspace-0c7df1c4.js";
|
|
34
25
|
import {
|
|
35
26
|
exports_instructions
|
|
36
|
-
} from "./
|
|
27
|
+
} from "./workspace-y4xj1tmn.js";
|
|
37
28
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
29
|
+
exports_read_filesystem
|
|
30
|
+
} from "./workspace-trnjgqt2.js";
|
|
40
31
|
import {
|
|
41
|
-
|
|
42
|
-
} from "./
|
|
32
|
+
exports_builtins
|
|
33
|
+
} from "./workspace-5m1scejm.js";
|
|
43
34
|
import {
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
35
|
+
exports_instructions as exports_instructions3
|
|
36
|
+
} from "./workspace-vv72133e.js";
|
|
46
37
|
import {
|
|
47
|
-
|
|
48
|
-
} from "./
|
|
38
|
+
exports_mcp as exports_mcp2
|
|
39
|
+
} from "./workspace-yg6435c7.js";
|
|
40
|
+
import {
|
|
41
|
+
exports_instruction_discovery
|
|
42
|
+
} from "./workspace-gefte8jm.js";
|
|
43
|
+
import {
|
|
44
|
+
exports_plugin
|
|
45
|
+
} from "./workspace-zv31enmb.js";
|
|
49
46
|
import {
|
|
50
47
|
exports_tool_output
|
|
51
|
-
} from "./
|
|
48
|
+
} from "./workspace-5t6e45q1.js";
|
|
52
49
|
import {
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
50
|
+
exports_worktree
|
|
51
|
+
} from "./workspace-er4tjtgp.js";
|
|
55
52
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
53
|
+
exports_model_transport
|
|
54
|
+
} from "./workspace-42q4drvy.js";
|
|
58
55
|
import {
|
|
59
|
-
|
|
60
|
-
} from "./
|
|
56
|
+
exports_model
|
|
57
|
+
} from "./workspace-f2q2khhp.js";
|
|
61
58
|
import {
|
|
62
|
-
|
|
63
|
-
} from "./
|
|
59
|
+
exports_snapshot
|
|
60
|
+
} from "./workspace-4xzfc3q8.js";
|
|
61
|
+
import {
|
|
62
|
+
exports_skill
|
|
63
|
+
} from "./workspace-wbmqrd0z.js";
|
|
64
|
+
import {
|
|
65
|
+
exports_shell
|
|
66
|
+
} from "./workspace-78dqajjk.js";
|
|
67
|
+
import {
|
|
68
|
+
exports_file_mutation
|
|
69
|
+
} from "./workspace-9paj66cs.js";
|
|
64
70
|
import {
|
|
65
71
|
exports_reference
|
|
66
|
-
} from "./
|
|
72
|
+
} from "./workspace-18vxhfrb.js";
|
|
67
73
|
import {
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
74
|
+
exports_vcs
|
|
75
|
+
} from "./workspace-jstbwc2e.js";
|
|
70
76
|
import {
|
|
71
|
-
|
|
72
|
-
} from "./
|
|
77
|
+
exports_pty
|
|
78
|
+
} from "./workspace-c22fmg6t.js";
|
|
73
79
|
import {
|
|
74
|
-
|
|
75
|
-
} from "./
|
|
80
|
+
exports_command
|
|
81
|
+
} from "./workspace-yh9cne0g.js";
|
|
82
|
+
import {
|
|
83
|
+
exports_mcp
|
|
84
|
+
} from "./workspace-rf15z479.js";
|
|
85
|
+
import {
|
|
86
|
+
exports_select
|
|
87
|
+
} from "./workspace-19e1vard.js";
|
|
88
|
+
import {
|
|
89
|
+
exports_generate
|
|
90
|
+
} from "./workspace-t75h05ms.js";
|
|
76
91
|
import {
|
|
77
92
|
exports_model_resolver
|
|
78
|
-
} from "./
|
|
93
|
+
} from "./workspace-fe2ph3nr.js";
|
|
79
94
|
import {
|
|
80
95
|
exports_aisdk
|
|
81
|
-
} from "./
|
|
96
|
+
} from "./workspace-y82azvmb.js";
|
|
82
97
|
import {
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
98
|
+
exports_catalog
|
|
99
|
+
} from "./workspace-r3xawq6n.js";
|
|
85
100
|
import {
|
|
86
|
-
|
|
87
|
-
} from "./
|
|
101
|
+
exports_integration
|
|
102
|
+
} from "./workspace-ka9sngs2.js";
|
|
88
103
|
import {
|
|
89
|
-
|
|
90
|
-
} from "./
|
|
104
|
+
exports_form
|
|
105
|
+
} from "./workspace-g3bbkj1k.js";
|
|
91
106
|
import {
|
|
92
|
-
|
|
93
|
-
} from "./
|
|
107
|
+
exports_config
|
|
108
|
+
} from "./workspace-4z35xk7c.js";
|
|
94
109
|
import {
|
|
95
|
-
|
|
96
|
-
} from "./
|
|
110
|
+
exports_websearch
|
|
111
|
+
} from "./workspace-74fg8j2p.js";
|
|
97
112
|
import {
|
|
98
|
-
|
|
99
|
-
} from "./
|
|
113
|
+
exports_location_service_map
|
|
114
|
+
} from "./workspace-zdkg1k91.js";
|
|
100
115
|
import {
|
|
101
|
-
|
|
102
|
-
} from "./
|
|
116
|
+
exports_formatter
|
|
117
|
+
} from "./workspace-kkme9km0.js";
|
|
103
118
|
import {
|
|
104
119
|
exports_tool
|
|
105
|
-
} from "./
|
|
120
|
+
} from "./workspace-wkgskh5w.js";
|
|
106
121
|
import {
|
|
107
122
|
exports_image
|
|
108
|
-
} from "./
|
|
109
|
-
import {
|
|
110
|
-
exports_permission
|
|
111
|
-
} from "./file-mutation-drjs2wsn.js";
|
|
112
|
-
import {
|
|
113
|
-
exports_agent
|
|
114
|
-
} from "./file-mutation-17rafrfe.js";
|
|
123
|
+
} from "./workspace-fmwhsqe6.js";
|
|
115
124
|
import {
|
|
116
125
|
exports_filesystem,
|
|
117
126
|
exports_search
|
|
118
|
-
} from "./
|
|
119
|
-
import {
|
|
120
|
-
exports_file_mutation
|
|
121
|
-
} from "./file-mutation-w3h53htn.js";
|
|
127
|
+
} from "./workspace-khse0b35.js";
|
|
122
128
|
import {
|
|
123
129
|
exports_environment1 as exports_environment
|
|
124
|
-
} from "./
|
|
130
|
+
} from "./workspace-nfr8pd9q.js";
|
|
125
131
|
import {
|
|
126
|
-
|
|
127
|
-
} from "./
|
|
128
|
-
import {
|
|
129
|
-
exports_catalog
|
|
130
|
-
} from "./file-mutation-tcp7byvd.js";
|
|
131
|
-
import {
|
|
132
|
-
exports_integration
|
|
133
|
-
} from "./file-mutation-bra0h0wy.js";
|
|
132
|
+
exports_location_mutation
|
|
133
|
+
} from "./workspace-ns72x5hf.js";
|
|
134
134
|
import {
|
|
135
|
-
|
|
136
|
-
} from "./
|
|
135
|
+
exports_permission
|
|
136
|
+
} from "./workspace-a59nb3xd.js";
|
|
137
137
|
import {
|
|
138
|
-
|
|
139
|
-
} from "./
|
|
138
|
+
exports_agent
|
|
139
|
+
} from "./workspace-vzrpmvn1.js";
|
|
140
140
|
import {
|
|
141
141
|
exports_location
|
|
142
|
-
} from "./
|
|
142
|
+
} from "./workspace-qymhxe93.js";
|
|
143
143
|
import {
|
|
144
144
|
AbsolutePath
|
|
145
|
-
} from "./
|
|
145
|
+
} from "./workspace-j07kk359.js";
|
|
146
146
|
|
|
147
147
|
// src/location-services.ts
|
|
148
148
|
import { Effect, Layer, LayerMap } from "effect";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_provider
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-sfbv6a2b.js";
|
|
4
4
|
import {
|
|
5
5
|
__require
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-rvfvac9x.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/cerebras.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createProviderPlugin
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-0zz82cjq.js";
|
|
4
4
|
import {
|
|
5
5
|
__require
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-rvfvac9x.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/groq.ts
|
|
9
9
|
var GroqPlugin = createProviderPlugin({
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_app
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-50jxp3hw.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_provider
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-sfbv6a2b.js";
|
|
7
7
|
import {
|
|
8
8
|
__require
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-rvfvac9x.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/gitlab.ts
|
|
12
12
|
import os from "os";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
iife
|
|
3
|
-
} from "./file-mutation-ehj9csmv.js";
|
|
4
1
|
import {
|
|
5
2
|
configuredSettings
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./workspace-8c5rhpse.js";
|
|
4
|
+
import {
|
|
5
|
+
iife
|
|
6
|
+
} from "./workspace-ehj9csmv.js";
|
|
7
7
|
import {
|
|
8
8
|
exports_app
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-50jxp3hw.js";
|
|
10
10
|
import {
|
|
11
11
|
exports_provider
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./workspace-sfbv6a2b.js";
|
|
13
13
|
import {
|
|
14
14
|
__require
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./workspace-rvfvac9x.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
18
18
|
import os from "os";
|