@opencode-ai/core 0.0.0-beta-17595 → 0.0.0-beta-17639
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-02dbfq60.js → session-02dbfq60.js} +1 -1
- package/dist/chunks/{file-04kwjb53.js → session-04kwjb53.js} +2 -2
- package/dist/chunks/{file-j2f50m4s.js → session-0b6ye7sf.js} +3 -3
- package/dist/chunks/session-0c4kc2tg.js +76 -0
- package/dist/chunks/{file-fvw35s1f.js → session-0cetw2h9.js} +3 -3
- package/dist/chunks/{file-0kvmztkf.js → session-0kvmztkf.js} +1 -1
- package/dist/chunks/{file-9jr1552g.js → session-0srat4c7.js} +3 -3
- package/dist/chunks/{file-8b8db9dn.js → session-0ztrt598.js} +4 -4
- package/dist/chunks/{file-3jfeqpzx.js → session-14a37082.js} +31 -28
- package/dist/chunks/{file-8ss9enjp.js → session-14syaaqa.js} +3 -3
- package/dist/chunks/{file-18pv8fg3.js → session-18pv8fg3.js} +2 -2
- package/dist/chunks/{file-b1z4y0ay.js → session-192bypjc.js} +87 -87
- package/dist/chunks/{file-1c00jchy.js → session-1c00jchy.js} +2 -2
- package/dist/chunks/{file-x143q1e8.js → session-1fzaf0s1.js} +6 -6
- package/dist/chunks/{file-p3zwavty.js → session-1h0r72pv.js} +11 -3
- package/dist/chunks/{file-8a9n1ecs.js → session-1tjh8760.js} +3 -3
- package/dist/chunks/{file-9dbphfd4.js → session-1w0b889r.js} +10 -10
- package/dist/chunks/{file-1xksxgzs.js → session-1xksxgzs.js} +2 -2
- package/dist/chunks/{file-25pxtba7.js → session-25pxtba7.js} +1 -1
- package/dist/chunks/{file-6tvgjq6v.js → session-297zh0jt.js} +4 -4
- package/dist/chunks/{file-mqfhnxg0.js → session-2ahjbedx.js} +29 -25
- package/dist/chunks/{file-8dwkjrbx.js → session-2akqrmqf.js} +1 -1
- package/dist/chunks/{file-vd76ghhe.js → session-2ds9c0ac.js} +66 -66
- package/dist/chunks/{file-2nmyybe0.js → session-2nmyybe0.js} +1 -1
- package/dist/chunks/{file-kjkmrs65.js → session-33bxv4t4.js} +2 -2
- package/dist/chunks/{file-y3ys4sce.js → session-3bw6bseq.js} +3 -3
- package/dist/chunks/{file-3g8vftxb.js → session-3g8vftxb.js} +2 -2
- package/dist/chunks/{file-6nfxvtta.js → session-3gdadknp.js} +5 -5
- package/dist/chunks/{file-7n13pnta.js → session-3jemer1x.js} +3 -3
- package/dist/chunks/{file-ngrtxfq1.js → session-3sbq567r.js} +2 -2
- package/dist/chunks/{file-3thh6229.js → session-3thh6229.js} +2 -2
- package/dist/chunks/{file-xkapkgm1.js → session-3z20vwjx.js} +8 -8
- package/dist/chunks/{file-42q4drvy.js → session-42q4drvy.js} +2 -2
- package/dist/chunks/{file-20fnfdqj.js → session-45wp2g52.js} +8 -8
- package/dist/chunks/{file-ztp8pcjx.js → session-4cmfemc7.js} +8 -8
- package/dist/chunks/{file-665983a3.js → session-4s0z3f63.js} +28 -24
- package/dist/chunks/{file-4s2xwh5d.js → session-4s2xwh5d.js} +3 -3
- package/dist/chunks/{file-gndxty6r.js → session-4s7pt7vt.js} +9 -9
- package/dist/chunks/{file-h7hxhz5s.js → session-4vw1c68y.js} +4 -4
- package/dist/chunks/{file-4zzdwbaz.js → session-4zzdwbaz.js} +2 -2
- package/dist/chunks/{file-50jxp3hw.js → session-50jxp3hw.js} +1 -1
- package/dist/chunks/{file-zj2qv98r.js → session-50x5dgrv.js} +29 -16
- package/dist/chunks/{file-52jzav25.js → session-52jzav25.js} +1 -1
- package/dist/chunks/{file-57tzwnz4.js → session-57tzwnz4.js} +1 -1
- package/dist/chunks/{file-9q7032rn.js → session-59y9mt7v.js} +12 -12
- package/dist/chunks/{file-zh6p9k71.js → session-5ba06pjj.js} +6 -6
- package/dist/chunks/{file-pxc9mm6x.js → session-5ft4pyjm.js} +9 -9
- package/dist/chunks/{file-n744begs.js → session-5pnhvvbf.js} +6 -6
- package/dist/chunks/{file-5rs65q6p.js → session-5rs65q6p.js} +1 -1
- package/dist/chunks/{file-5vcssjzn.js → session-5vcssjzn.js} +1 -1
- package/dist/chunks/{file-f7evhwkg.js → session-5vz8v28n.js} +8 -8
- package/dist/chunks/{file-cvh8045m.js → session-5yea2tah.js} +2 -2
- package/dist/chunks/{file-27xnc6tv.js → session-6bqsqmtw.js} +9 -9
- package/dist/chunks/{file-6ky7rqk7.js → session-6ky7rqk7.js} +1 -1
- package/dist/chunks/{file-vacr5vr5.js → session-6q0m15b3.js} +2 -2
- package/dist/chunks/{file-gxmfza0d.js → session-6s6dtf2r.js} +29 -29
- package/dist/chunks/{file-zxg28mmk.js → session-6v0v946z.js} +5 -5
- package/dist/chunks/{file-706a4azd.js → session-706a4azd.js} +1 -1
- package/dist/chunks/{file-zgkcypa3.js → session-70m10fmm.js} +9 -9
- package/dist/chunks/{file-9nxkvjkr.js → session-76r26z92.js} +16 -16
- package/dist/chunks/{file-yb1hpdkr.js → session-7dz0xcj1.js} +12 -12
- package/dist/chunks/{file-06h1zy40.js → session-7eqcq6bw.js} +4 -4
- package/dist/chunks/{file-grghsxkg.js → session-7h4qt921.js} +8 -8
- package/dist/chunks/{file-fcefwnba.js → session-7kdw8qtr.js} +8 -8
- package/dist/chunks/{file-663be8qb.js → session-7mdcwqx0.js} +7 -7
- package/dist/chunks/{file-7mrpdsq5.js → session-7mrpdsq5.js} +1 -1
- package/dist/chunks/{file-7wcmqxrc.js → session-7wcmqxrc.js} +1 -1
- package/dist/chunks/{file-qy071k7t.js → session-7xm5mbbb.js} +3 -3
- package/dist/chunks/{file-73brgvey.js → session-7yhtvg7m.js} +4 -4
- package/dist/chunks/{file-18vh565s.js → session-84fqgtq8.js} +9 -9
- package/dist/chunks/{file-88jbfw8z.js → session-88jbfw8z.js} +2 -2
- package/dist/chunks/{file-cn5vww2k.js → session-8jzhmmys.js} +6 -6
- package/dist/chunks/{file-xjreyxj2.js → session-8k08086v.js} +1 -1
- package/dist/chunks/{file-8v47shgf.js → session-8v47shgf.js} +2 -2
- package/dist/chunks/{file-93qdgxxd.js → session-93qdgxxd.js} +1 -1
- package/dist/chunks/{file-999qd968.js → session-999qd968.js} +1 -1
- package/dist/chunks/{file-nthsreft.js → session-9amp85xk.js} +12 -12
- package/dist/chunks/{file-9d2xhdr4.js → session-9d2xhdr4.js} +3 -3
- package/dist/chunks/{file-9f0rnpkn.js → session-9f0rnpkn.js} +1 -1
- package/dist/chunks/{file-6y00qkx7.js → session-9sgmrnba.js} +4 -4
- package/dist/chunks/{file-a65h300v.js → session-a65h300v.js} +2 -2
- package/dist/chunks/{file-2g41g83c.js → session-a7743779.js} +2 -2
- package/dist/chunks/{file-2wqqqft7.js → session-a907wmhc.js} +2 -2
- package/dist/chunks/{file-ek4bes0b.js → session-afgcr2a2.js} +5 -5
- package/dist/chunks/{file-yy9aw35r.js → session-an4kv4yz.js} +9 -9
- package/dist/chunks/{file-jwcdbjdr.js → session-atc09b0q.js} +2 -2
- package/dist/chunks/{file-vks3mnpp.js → session-aw6v6c4d.js} +14 -14
- package/dist/chunks/{file-ayfwnm78.js → session-ayfwnm78.js} +2 -2
- package/dist/chunks/{file-mzdzk01c.js → session-b0gda8w9.js} +9 -7
- package/dist/chunks/{file-px7n0cd3.js → session-b25zdeh7.js} +1 -1
- package/dist/chunks/{file-9tgd1sa0.js → session-b4jassn3.js} +15 -15
- package/dist/chunks/{file-s9f13v9h.js → session-b8rm84kg.js} +2 -2
- package/dist/chunks/{file-027bgpms.js → session-bgw1wapk.js} +12 -12
- package/dist/chunks/{file-xg3qgrrb.js → session-bmweayxc.js} +3 -3
- package/dist/chunks/{file-0x2z9q12.js → session-bv5ggvte.js} +6 -6
- package/dist/chunks/{file-byab506k.js → session-byab506k.js} +1 -1
- package/dist/chunks/{file-tfpq1akv.js → session-c5rxys95.js} +13 -13
- package/dist/chunks/{file-v0ktexvy.js → session-ct8sx92t.js} +2 -2
- package/dist/chunks/{file-ywrrwgdd.js → session-cwas8xmc.js} +4 -4
- package/dist/chunks/{file-cz3dkvcz.js → session-cz3dkvcz.js} +1 -1
- package/dist/chunks/{file-f3rqrz1h.js → session-d5bmtbvc.js} +3 -3
- package/dist/chunks/{file-k7pgcjt6.js → session-d6nt1xrt.js} +66 -40
- package/dist/chunks/{file-dhphtf1x.js → session-dhphtf1x.js} +1 -1
- package/dist/chunks/{file-4adhyg6m.js → session-dk9dj6bh.js} +9 -9
- package/dist/chunks/{file-38crwsq8.js → session-dman5pj0.js} +9 -3
- package/dist/chunks/{file-w0nvndn8.js → session-dxqcfshz.js} +7 -7
- package/dist/chunks/{file-dyz5q1tb.js → session-dyz5q1tb.js} +2 -2
- package/dist/chunks/{file-e1z9a0ts.js → session-e1z9a0ts.js} +2 -2
- package/dist/chunks/{file-b4j6ey0s.js → session-ea80pm1r.js} +7 -7
- package/dist/chunks/{file-ec8vrfw5.js → session-ec8vrfw5.js} +1 -1
- package/dist/chunks/{file-erj4j75s.js → session-erj4j75s.js} +1 -1
- package/dist/chunks/{file-s6e3c6h1.js → session-ew6vx4a2.js} +3 -3
- package/dist/chunks/{file-eyk9wdct.js → session-eyk9wdct.js} +2 -2
- package/dist/chunks/{file-f05p34aa.js → session-f05p34aa.js} +3 -3
- package/dist/chunks/{file-wt193r4g.js → session-f2kz495y.js} +2 -2
- package/dist/chunks/{file-75z23hs9.js → session-f6dh1hgf.js} +16 -16
- package/dist/chunks/{file-p3661pfb.js → session-f6yhytmv.js} +7 -7
- package/dist/chunks/{file-f6a73nhd.js → session-fdb2zs64.js} +3 -3
- package/dist/chunks/{file-4m2k2smt.js → session-fe8dyg58.js} +4 -4
- package/dist/chunks/{file-bbmh2dfw.js → session-fk1698j2.js} +2 -2
- package/dist/chunks/{file-z3nf8g8y.js → session-fqxzsdmq.js} +2 -2
- package/dist/chunks/{file-tr01v5pk.js → session-ftj66dh5.js} +5 -5
- package/dist/chunks/{file-kzj2xtdg.js → session-ftjd86ht.js} +16 -16
- package/dist/chunks/{file-en0j70s6.js → session-fvcvykp5.js} +3 -3
- package/dist/chunks/{file-tgkwq7ey.js → session-g4m3yxfq.js} +14 -14
- package/dist/chunks/{file-g9yygpzr.js → session-g9yygpzr.js} +1 -1
- package/dist/chunks/{file-trvnbm2r.js → session-gbmwbx35.js} +4 -4
- package/dist/chunks/{file-gcay93cp.js → session-gcay93cp.js} +1 -1
- package/dist/chunks/{file-gd2xppx8.js → session-gd2xppx8.js} +1 -1
- package/dist/chunks/{file-ry4vhh7y.js → session-gfdnpqqh.js} +41 -37
- package/dist/chunks/{file-nve52h2s.js → session-gk5t844f.js} +6 -6
- package/dist/chunks/{file-c53n3hjv.js → session-gz765asg.js} +2 -2
- package/dist/chunks/{file-fvjr77vx.js → session-h0t6dp8v.js} +5 -5
- package/dist/chunks/{file-as1t9t7n.js → session-h1g52f20.js} +6 -6
- package/dist/chunks/session-h5w2ynrq.js +46 -0
- package/dist/chunks/{file-h8ecejt5.js → session-h8ecejt5.js} +1 -1
- package/dist/chunks/{file-64bdc2sf.js → session-ha7tv4ax.js} +3 -3
- package/dist/chunks/{file-hsyk7kfz.js → session-hsyk7kfz.js} +2 -2
- package/dist/chunks/{file-1w0svdh3.js → session-hxjjxgz5.js} +2 -2
- package/dist/chunks/{file-j1a5h53y.js → session-j1a5h53y.js} +1 -1
- package/dist/chunks/{file-5mbfga6t.js → session-j36kh1vd.js} +4 -4
- package/dist/chunks/{file-vwqhfv9a.js → session-j7bddb5r.js} +67 -60
- package/dist/chunks/{file-rg5spvbf.js → session-jadkz9d6.js} +27 -13
- package/dist/chunks/{file-kptd0d9x.js → session-jjazc40s.js} +5 -5
- package/dist/chunks/{file-jqkpryhn.js → session-jqkpryhn.js} +4 -4
- package/dist/chunks/{file-jssy2dr3.js → session-jssy2dr3.js} +2 -2
- package/dist/chunks/{file-szsnfq8s.js → session-k327betz.js} +35 -33
- package/dist/chunks/{file-y980s7ka.js → session-k6vwd7kr.js} +5 -5
- package/dist/chunks/{file-bn7p95jq.js → session-k8bhzhnk.js} +10 -10
- package/dist/chunks/session-k90vsmvj.js +94 -0
- package/dist/chunks/{file-70krbkh8.js → session-kc4491k5.js} +3 -3
- package/dist/chunks/{file-vm3prpn4.js → session-ked98smj.js} +1 -1
- package/dist/chunks/{file-kg1345f7.js → session-kg1345f7.js} +1 -1
- package/dist/chunks/{file-gdndr5ds.js → session-kjv8daaj.js} +3 -3
- package/dist/chunks/{file-658vcx0m.js → session-kp6knqkh.js} +5 -5
- package/dist/chunks/{file-va2xjmjn.js → session-kpsj4wym.js} +12 -12
- package/dist/chunks/{file-5rd2371y.js → session-ktsm8nmr.js} +7 -7
- package/dist/chunks/{file-pxh2y4mp.js → session-m2prafdg.js} +6 -6
- package/dist/chunks/{file-mf0hyk7z.js → session-mf0hyk7z.js} +1 -1
- package/dist/chunks/{file-zx1bs0qm.js → session-mfmdw7ht.js} +3 -3
- package/dist/chunks/{file-mh28new4.js → session-mh28new4.js} +2 -2
- package/dist/chunks/{file-mnb85w6b.js → session-mnb85w6b.js} +2 -2
- package/dist/chunks/{file-mwceq5am.js → session-mwceq5am.js} +1 -1
- package/dist/chunks/{file-fmyre8m1.js → session-mxvw03gv.js} +2 -2
- package/dist/chunks/{file-vv288965.js → session-n2w8fz38.js} +5 -3
- package/dist/chunks/{file-9vc4jz8b.js → session-n7jpsh70.js} +5 -5
- package/dist/chunks/{file-nesb2rcz.js → session-nesb2rcz.js} +2 -2
- package/dist/chunks/{file-2krtwza0.js → session-neth52be.js} +7 -7
- package/dist/chunks/{file-3s7e2f99.js → session-nf1v0eng.js} +3 -3
- package/dist/chunks/{file-nj1s64cz.js → session-nj1s64cz.js} +1 -1
- package/dist/chunks/{file-2vxr0v86.js → session-nk6yb8jk.js} +2 -2
- package/dist/chunks/{file-4223r8y8.js → session-nn9mh9z6.js} +5 -5
- package/dist/chunks/{file-nr76rjj3.js → session-nr76rjj3.js} +2 -2
- package/dist/chunks/{file-0q14sxyz.js → session-nzbhv4bc.js} +7 -7
- package/dist/chunks/{file-nzrjycs5.js → session-nzrjycs5.js} +1 -1
- package/dist/chunks/{file-6q42t53d.js → session-p0fvb4rh.js} +5 -5
- package/dist/chunks/{file-1sx0aa4f.js → session-p0zqjz05.js} +3 -3
- package/dist/chunks/{file-p27xxkqg.js → session-p27xxkqg.js} +3 -3
- package/dist/chunks/{file-pfqehjmy.js → session-pfqehjmy.js} +2 -2
- package/dist/chunks/{file-ph1me6ah.js → session-ph1me6ah.js} +2 -2
- package/dist/chunks/{file-5qc7cxvj.js → session-pq1f4a9k.js} +16 -16
- package/dist/chunks/{file-pq4b4pqk.js → session-pq4b4pqk.js} +2 -2
- package/dist/chunks/{file-prf9bavk.js → session-prf9bavk.js} +3 -3
- package/dist/chunks/{file-tns74tew.js → session-py121175.js} +3 -3
- package/dist/chunks/{file-w5c5ggfg.js → session-qdkf97nh.js} +10 -10
- package/dist/chunks/{file-qe0d689s.js → session-qe0d689s.js} +2 -2
- package/dist/chunks/{file-qgt32wwf.js → session-qgt32wwf.js} +3 -3
- package/dist/chunks/{file-wamspyg8.js → session-qhm4ckjz.js} +3 -3
- package/dist/chunks/{file-qsgvz7g8.js → session-qsgvz7g8.js} +2 -2
- package/dist/chunks/{file-ezegptdr.js → session-qvj32qnq.js} +58 -28
- package/dist/chunks/{file-k0630w4g.js → session-qzs4ke5r.js} +8 -8
- package/dist/chunks/{file-r3k9abhd.js → session-r3k9abhd.js} +2 -2
- package/dist/chunks/{file-xt2bapaq.js → session-r9pp1rbw.js} +5 -5
- package/dist/chunks/{file-aejdne0e.js → session-ra4strm1.js} +2 -2
- package/dist/chunks/{file-ttdn9mvh.js → session-rfkc5twb.js} +9 -9
- package/dist/chunks/{file-hcypmxj6.js → session-rkk4a3y9.js} +22 -22
- package/dist/chunks/{file-rt6yg6j2.js → session-rt6yg6j2.js} +2 -2
- package/dist/chunks/{file-ryap75b3.js → session-ryap75b3.js} +1 -1
- package/dist/chunks/session-s33fw6zm.js +16 -0
- package/dist/chunks/{file-4wnw1v48.js → session-s41t0mbm.js} +9 -9
- package/dist/chunks/{file-66ww2ke6.js → session-s7rjjq9f.js} +2 -2
- package/dist/chunks/{file-edvtf4tx.js → session-sf85c9ty.js} +11 -11
- package/dist/chunks/{file-8twz6z1z.js → session-sfbv6a2b.js} +12 -1
- package/dist/chunks/{file-smpeg8c9.js → session-smpeg8c9.js} +2 -2
- package/dist/chunks/{file-0zs4qnv1.js → session-smq36hye.js} +4 -4
- package/dist/chunks/{file-8ywqk2j9.js → session-sw84ckhj.js} +4 -3
- package/dist/chunks/{file-gpee7ppy.js → session-t066q9hw.js} +7 -7
- package/dist/chunks/{file-t14kykx1.js → session-t14kykx1.js} +1 -1
- package/dist/chunks/{file-tcn24h1d.js → session-tcn24h1d.js} +1 -1
- package/dist/chunks/{file-tenv3kfs.js → session-tenv3kfs.js} +2 -2
- package/dist/chunks/{file-s8dhdr1a.js → session-tgmyvqfg.js} +8 -8
- package/dist/chunks/{file-1yz6p2jq.js → session-th5s1dsd.js} +3 -3
- package/dist/chunks/{file-thstd87d.js → session-thstd87d.js} +1 -1
- package/dist/chunks/{file-mhsxry0w.js → session-tj3dgy7j.js} +5 -5
- package/dist/chunks/{file-60c0k1qy.js → session-twgg36kq.js} +5 -5
- package/dist/chunks/{file-3bk6rmsw.js → session-tx2ppt9a.js} +136 -125
- package/dist/chunks/{file-6t84bth1.js → session-v2bfppbw.js} +2 -2
- package/dist/chunks/{file-0dwyqmzq.js → session-v2wshkax.js} +19 -10
- package/dist/chunks/{file-v80zsxnb.js → session-v80zsxnb.js} +1 -1
- package/dist/chunks/{file-v972xay6.js → session-v972xay6.js} +1 -1
- package/dist/chunks/{file-v9bfv94f.js → session-v9bfv94f.js} +1 -1
- package/dist/chunks/{file-n32fctmg.js → session-vj8zvqb1.js} +25 -9
- package/dist/chunks/session-vxz5qdmp.js +31 -0
- package/dist/chunks/{file-vz89hfgr.js → session-vz89hfgr.js} +1 -1
- package/dist/chunks/{file-qxs84648.js → session-w2vq7e93.js} +16 -18
- package/dist/chunks/{file-wd268jeg.js → session-wd268jeg.js} +1 -1
- package/dist/chunks/{file-6f5gxeem.js → session-wfv9rgyt.js} +26 -22
- package/dist/chunks/{file-1px4xhxb.js → session-wh0zhxcg.js} +2 -2
- package/dist/chunks/{file-tq2yp16c.js → session-whme8v85.js} +8 -18
- package/dist/chunks/{file-wmxdh12w.js → session-wmxdh12w.js} +1 -1
- package/dist/chunks/{file-j2nmssd3.js → session-wpqp2v8c.js} +105 -19
- package/dist/chunks/{file-wps8gh8n.js → session-wps8gh8n.js} +2 -2
- package/dist/chunks/{file-knd350r7.js → session-wqkytynt.js} +8 -8
- package/dist/chunks/{file-pe29tp57.js → session-wssytkwa.js} +3 -3
- package/dist/chunks/{file-a4004nss.js → session-wxyhn0nc.js} +75 -75
- package/dist/chunks/{file-5aca3jzc.js → session-xar7yywh.js} +5 -5
- package/dist/chunks/{file-xczfw7dq.js → session-xczfw7dq.js} +1 -1
- package/dist/chunks/{file-xgv25zxy.js → session-xgv25zxy.js} +1 -1
- package/dist/chunks/{file-vhn5tvvs.js → session-xngc39j7.js} +7 -7
- package/dist/chunks/{file-xwftk1fd.js → session-xwftk1fd.js} +2 -2
- package/dist/chunks/{file-xxpvz42q.js → session-xxpvz42q.js} +3 -3
- package/dist/chunks/{file-y0x38cee.js → session-y0x38cee.js} +1 -1
- package/dist/chunks/{file-y198y2ra.js → session-y198y2ra.js} +1 -1
- package/dist/chunks/{file-y67x6rf6.js → session-y67x6rf6.js} +1 -1
- package/dist/chunks/{file-y8rs54ne.js → session-y8rs54ne.js} +1 -1
- package/dist/chunks/{file-yf0knd5z.js → session-yf0knd5z.js} +2 -2
- package/dist/chunks/{file-3755670m.js → session-yv0m72rj.js} +24 -24
- package/dist/chunks/{file-yz0wm9s3.js → session-yz0wm9s3.js} +2 -2
- package/dist/chunks/{file-b1jt21vx.js → session-z2m3p3f2.js} +5 -5
- package/dist/chunks/{file-zbqqnp0n.js → session-zbqqnp0n.js} +1 -1
- package/dist/chunks/{file-zdkg1k91.js → session-zdkg1k91.js} +1 -1
- package/dist/chunks/{file-zfxc0ze5.js → session-zfxc0ze5.js} +1 -1
- package/dist/chunks/{file-zjvgdt9p.js → session-zjvgdt9p.js} +3 -3
- package/dist/chunks/{file-hgn8axp1.js → session-zkkkcc8p.js} +4 -4
- package/dist/chunks/{file-e62qqw9f.js → session-zksmshj6.js} +13 -13
- package/dist/chunks/{file-cdrqa8qb.js → session-zqh29h4g.js} +3 -3
- package/dist/chunks/{file-zxe9jjhn.js → session-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 +126 -126
- 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/formatter.js +122 -0
- package/dist/config/plugin/image.js +133 -0
- package/dist/config/plugin/instruction.js +87 -87
- 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/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/source.js +111 -111
- 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 +323 -319
- 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.js +111 -111
- 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 -113
- 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 +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 +95 -124
- package/dist/image.js +95 -124
- 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 +323 -319
- 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 -151
- 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 +185 -184
- package/dist/plugin/internal.js +281 -278
- 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 +176 -175
- package/dist/plugin/sdk.js +71 -71
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/supervisor-service.js +9 -0
- package/dist/plugin/supervisor.js +288 -284
- 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 +188 -185
- 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 +114 -114
- 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 +148 -147
- package/dist/session/context.js +294 -291
- 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 +301 -297
- 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 +11 -0
- package/dist/session/model-http.js +4 -4
- package/dist/session/model-request.js +303 -299
- 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 +116 -116
- package/dist/session/run-coordinator.js +2 -2
- package/dist/session/runner/index.js +86 -86
- package/dist/session/runner/llm.js +310 -306
- 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 -114
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +182 -181
- package/dist/session/usage.js +2 -2
- package/dist/session.js +175 -174
- package/dist/shell/parse.js +4 -4
- 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 +3 -3
- package/dist/shell.js +125 -125
- package/dist/skill/discovery.js +3 -3
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +102 -102
- package/dist/snapshot.js +111 -111
- 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 -150
- package/dist/tool/plugin/edit.js +111 -141
- 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 -141
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +116 -116
- package/dist/tool/plugin/shell.js +180 -179
- package/dist/tool/plugin/skill.js +103 -103
- package/dist/tool/plugin/subagent.js +177 -176
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +106 -132
- package/dist/tool/plugin/write.js +111 -141
- package/dist/tool/read-filesystem.js +95 -95
- package/dist/tool/runtime.js +2 -2
- package/dist/tool-output.js +112 -112
- package/dist/tool.js +117 -145
- package/dist/types/config/plugin/formatter.d.ts +9 -0
- package/dist/types/config/plugin/image.d.ts +4 -0
- package/dist/types/formatter.d.ts +7 -1
- package/dist/types/image.d.ts +11 -1
- package/dist/types/location-service-map.d.ts +2 -2
- package/dist/types/plugin/hooks.d.ts +3 -2
- package/dist/types/plugin/host.d.ts +34 -3
- package/dist/types/plugin/internal.d.ts +4 -3
- package/dist/types/plugin/supervisor-service.d.ts +13 -0
- package/dist/types/plugin/supervisor.d.ts +4 -9
- package/dist/types/plugin.d.ts +5 -2
- package/dist/types/session/history.d.ts +12 -0
- package/dist/types/session/model-hook.d.ts +12 -0
- package/dist/types/session/runner/publish-llm-event.d.ts +2 -0
- package/dist/types/session/transfer.d.ts +2 -0
- package/dist/types/tool/plugin/websearch.d.ts +1 -2
- package/dist/types/websearch.d.ts +6 -2
- 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 +79 -72
- 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-qbvbyx91.js +0 -127
- package/dist/types/util/binary.d.ts +0 -7
- package/dist/types/util/encode.d.ts +0 -4
- package/dist/types/util/path.d.ts +0 -4
- package/dist/types/util/retry.d.ts +0 -8
- package/dist/util/binary.js +0 -43
- package/dist/util/encode.js +0 -48
- package/dist/util/path.js +0 -42
- package/dist/util/retry.js +0 -38
- /package/dist/chunks/{file-0cgt0xh2.js → session-0cgt0xh2.js} +0 -0
- /package/dist/chunks/{file-0f48qthw.js → session-0f48qthw.js} +0 -0
- /package/dist/chunks/{file-0zz82cjq.js → session-0zz82cjq.js} +0 -0
- /package/dist/chunks/{file-1fb7bmpf.js → session-1fb7bmpf.js} +0 -0
- /package/dist/chunks/{file-1wcz8fvj.js → session-1wcz8fvj.js} +0 -0
- /package/dist/chunks/{file-2qdx6zz3.js → session-2qdx6zz3.js} +0 -0
- /package/dist/chunks/{file-3c4nztf9.js → session-3c4nztf9.js} +0 -0
- /package/dist/chunks/{file-3g3rpp2x.js → session-3g3rpp2x.js} +0 -0
- /package/dist/chunks/{file-3q6gbwmd.js → session-3q6gbwmd.js} +0 -0
- /package/dist/chunks/{file-3w3ybtfd.js → session-3w3ybtfd.js} +0 -0
- /package/dist/chunks/{file-47ty4mvs.js → session-47ty4mvs.js} +0 -0
- /package/dist/chunks/{file-4b2tz2m9.js → session-4b2tz2m9.js} +0 -0
- /package/dist/chunks/{file-4zg0gww9.js → session-4zg0gww9.js} +0 -0
- /package/dist/chunks/{file-5a5ch9ts.js → session-5a5ch9ts.js} +0 -0
- /package/dist/chunks/{file-5va1yh78.js → session-5va1yh78.js} +0 -0
- /package/dist/chunks/{file-69qrqpw0.js → session-69qrqpw0.js} +0 -0
- /package/dist/chunks/{file-6yt963b8.js → session-6yt963b8.js} +0 -0
- /package/dist/chunks/{file-7n9qwqk4.js → session-7n9qwqk4.js} +0 -0
- /package/dist/chunks/{file-8nn8kqcn.js → session-8nn8kqcn.js} +0 -0
- /package/dist/chunks/{file-8sj3ajy5.js → session-8sj3ajy5.js} +0 -0
- /package/dist/chunks/{file-8w9tzfz1.js → session-8w9tzfz1.js} +0 -0
- /package/dist/chunks/{file-906y0b6d.js → session-906y0b6d.js} +0 -0
- /package/dist/chunks/{file-9dct5xhx.js → session-9dct5xhx.js} +0 -0
- /package/dist/chunks/{file-9sdtsapf.js → session-9sdtsapf.js} +0 -0
- /package/dist/chunks/{file-a02svayp.js → session-a02svayp.js} +0 -0
- /package/dist/chunks/{file-a83yvq99.js → session-a83yvq99.js} +0 -0
- /package/dist/chunks/{file-ayevdmef.js → session-ayevdmef.js} +0 -0
- /package/dist/chunks/{file-b02txbh8.js → session-b02txbh8.js} +0 -0
- /package/dist/chunks/{file-bbqs2y60.js → session-bbqs2y60.js} +0 -0
- /package/dist/chunks/{file-brsh5f65.js → session-brsh5f65.js} +0 -0
- /package/dist/chunks/{file-bxdhjb3y.js → session-bxdhjb3y.js} +0 -0
- /package/dist/chunks/{file-c77ad0vh.js → session-c77ad0vh.js} +0 -0
- /package/dist/chunks/{file-cm67rqy2.js → session-cm67rqy2.js} +0 -0
- /package/dist/chunks/{file-d6s8p2vk.js → session-d6s8p2vk.js} +0 -0
- /package/dist/chunks/{file-dbah77c1.js → session-dbah77c1.js} +0 -0
- /package/dist/chunks/{file-df3v2q6j.js → session-df3v2q6j.js} +0 -0
- /package/dist/chunks/{file-dgjzraq6.js → session-dgjzraq6.js} +0 -0
- /package/dist/chunks/{file-dhcq6c44.js → session-dhcq6c44.js} +0 -0
- /package/dist/chunks/{file-dht5baf0.js → session-dht5baf0.js} +0 -0
- /package/dist/chunks/{file-dkmkay92.js → session-dkmkay92.js} +0 -0
- /package/dist/chunks/{file-ecxv0vtt.js → session-ecxv0vtt.js} +0 -0
- /package/dist/chunks/{file-ehj9csmv.js → session-ehj9csmv.js} +0 -0
- /package/dist/chunks/{file-em6xpscd.js → session-em6xpscd.js} +0 -0
- /package/dist/chunks/{file-emmqknsm.js → session-emmqknsm.js} +0 -0
- /package/dist/chunks/{file-ezs3tagn.js → session-ezs3tagn.js} +0 -0
- /package/dist/chunks/{file-f14r7hfz.js → session-f14r7hfz.js} +0 -0
- /package/dist/chunks/{file-f4cp4g4a.js → session-f4cp4g4a.js} +0 -0
- /package/dist/chunks/{file-f84sxdqn.js → session-f84sxdqn.js} +0 -0
- /package/dist/chunks/{file-faypg4r1.js → session-faypg4r1.js} +0 -0
- /package/dist/chunks/{file-g7k9te92.js → session-g7k9te92.js} +0 -0
- /package/dist/chunks/{file-gd5xeqc2.js → session-gd5xeqc2.js} +0 -0
- /package/dist/chunks/{file-ghm4673n.js → session-ghm4673n.js} +0 -0
- /package/dist/chunks/{file-ghwjy7my.js → session-ghwjy7my.js} +0 -0
- /package/dist/chunks/{file-gy500k2r.js → session-gy500k2r.js} +0 -0
- /package/dist/chunks/{file-hzeg9cfr.js → session-hzeg9cfr.js} +0 -0
- /package/dist/chunks/{file-j07kk359.js → session-j07kk359.js} +0 -0
- /package/dist/chunks/{file-jve7t217.js → session-jve7t217.js} +0 -0
- /package/dist/chunks/{file-kpdbz7gn.js → session-kpdbz7gn.js} +0 -0
- /package/dist/chunks/{file-kxy11nzk.js → session-kxy11nzk.js} +0 -0
- /package/dist/chunks/{file-kyyqvx4s.js → session-kyyqvx4s.js} +0 -0
- /package/dist/chunks/{file-m8cbvarh.js → session-m8cbvarh.js} +0 -0
- /package/dist/chunks/{file-ma07p6tt.js → session-ma07p6tt.js} +0 -0
- /package/dist/chunks/{file-ma60vzgv.js → session-ma60vzgv.js} +0 -0
- /package/dist/chunks/{file-n3m50c2t.js → session-n3m50c2t.js} +0 -0
- /package/dist/chunks/{file-nkm1m8dz.js → session-nkm1m8dz.js} +0 -0
- /package/dist/chunks/{file-nsc0c3zb.js → session-nsc0c3zb.js} +0 -0
- /package/dist/chunks/{file-qaarhjrp.js → session-qaarhjrp.js} +0 -0
- /package/dist/chunks/{file-qc167nrn.js → session-qc167nrn.js} +0 -0
- /package/dist/chunks/{file-qp95y4jb.js → session-qp95y4jb.js} +0 -0
- /package/dist/chunks/{file-r8f4w671.js → session-r8f4w671.js} +0 -0
- /package/dist/chunks/{file-rdfev9jy.js → session-rdfev9jy.js} +0 -0
- /package/dist/chunks/{file-rvfvac9x.js → session-rvfvac9x.js} +0 -0
- /package/dist/chunks/{file-s7whb9gt.js → session-s7whb9gt.js} +0 -0
- /package/dist/chunks/{file-se76j685.js → session-se76j685.js} +0 -0
- /package/dist/chunks/{file-sem2g21k.js → session-sem2g21k.js} +0 -0
- /package/dist/chunks/{file-tmb1f636.js → session-tmb1f636.js} +0 -0
- /package/dist/chunks/{file-ttxf0gsy.js → session-ttxf0gsy.js} +0 -0
- /package/dist/chunks/{file-tvmhrvfj.js → session-tvmhrvfj.js} +0 -0
- /package/dist/chunks/{file-v2adqbbe.js → session-v2adqbbe.js} +0 -0
- /package/dist/chunks/{file-vkvb1sb3.js → session-vkvb1sb3.js} +0 -0
- /package/dist/chunks/{file-wj4sxzqa.js → session-wj4sxzqa.js} +0 -0
- /package/dist/chunks/{file-wwntjmk1.js → session-wwntjmk1.js} +0 -0
- /package/dist/chunks/{file-wyqjaaa5.js → session-wyqjaaa5.js} +0 -0
- /package/dist/chunks/{file-x4q807cx.js → session-x4q807cx.js} +0 -0
- /package/dist/chunks/{file-xhz3jyrc.js → session-xhz3jyrc.js} +0 -0
- /package/dist/chunks/{file-yrqrg4vp.js → session-yrqrg4vp.js} +0 -0
- /package/dist/chunks/{file-z47nswr2.js → session-z47nswr2.js} +0 -0
- /package/dist/chunks/{file-zsf8rs93.js → session-zsf8rs93.js} +0 -0
|
@@ -1,204 +1,210 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
exports_plugin
|
|
3
|
+
} from "./session-fvcvykp5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
exports_question
|
|
6
|
+
} from "./session-jjazc40s.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
exports_webfetch
|
|
9
|
+
} from "./session-84fqgtq8.js";
|
|
10
10
|
import {
|
|
11
|
-
exports_websearch as
|
|
12
|
-
} from "./
|
|
11
|
+
exports_websearch as exports_websearch3
|
|
12
|
+
} from "./session-whme8v85.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
exports_subagent
|
|
15
|
+
} from "./session-70m10fmm.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
exports_glob
|
|
18
|
+
} from "./session-45wp2g52.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
exports_patch
|
|
21
|
+
} from "./session-1w0b889r.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
exports_read
|
|
24
|
+
} from "./session-k8bhzhnk.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
exports_skill as exports_skill3
|
|
27
|
+
} from "./session-qhm4ckjz.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
exports_edit
|
|
30
|
+
} from "./session-qdkf97nh.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
exports_write
|
|
33
|
+
} from "./session-rfkc5twb.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
exports_shell as exports_shell2
|
|
36
|
+
} from "./session-pq1f4a9k.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
exports_grep
|
|
39
|
+
} from "./session-7kdw8qtr.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
} from "./
|
|
41
|
+
exports_read_filesystem
|
|
42
|
+
} from "./session-wpqp2v8c.js";
|
|
43
43
|
import {
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
44
|
+
exports_formatter as exports_formatter2
|
|
45
|
+
} from "./session-0c4kc2tg.js";
|
|
46
46
|
import {
|
|
47
|
-
|
|
48
|
-
} from "./
|
|
47
|
+
exports_policy
|
|
48
|
+
} from "./session-tj3dgy7j.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
exports_instruction
|
|
51
|
+
} from "./session-5vz8v28n.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
53
|
+
exports_provider
|
|
54
|
+
} from "./session-mfmdw7ht.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
exports_websearch as exports_websearch2
|
|
57
|
+
} from "./session-ra4strm1.js";
|
|
58
58
|
import {
|
|
59
|
-
exports_agent as
|
|
60
|
-
} from "./
|
|
59
|
+
exports_agent as exports_agent2
|
|
60
|
+
} from "./session-9amp85xk.js";
|
|
61
61
|
import {
|
|
62
|
-
exports_command as
|
|
63
|
-
} from "./
|
|
62
|
+
exports_command as exports_command2
|
|
63
|
+
} from "./session-1tjh8760.js";
|
|
64
64
|
import {
|
|
65
|
-
|
|
66
|
-
} from "./
|
|
65
|
+
exports_reference as exports_reference2
|
|
66
|
+
} from "./session-z2m3p3f2.js";
|
|
67
67
|
import {
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
68
|
+
exports_image as exports_image2
|
|
69
|
+
} from "./session-h5w2ynrq.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
} from "./
|
|
71
|
+
exports_skill as exports_skill2
|
|
72
|
+
} from "./session-tgmyvqfg.js";
|
|
73
73
|
import {
|
|
74
|
-
|
|
75
|
-
} from "./
|
|
74
|
+
exports_mcp as exports_mcp2
|
|
75
|
+
} from "./session-0srat4c7.js";
|
|
76
76
|
import {
|
|
77
|
-
|
|
78
|
-
} from "./
|
|
77
|
+
exports_instructions
|
|
78
|
+
} from "./session-twgg36kq.js";
|
|
79
79
|
import {
|
|
80
|
-
|
|
81
|
-
} from "./
|
|
80
|
+
exports_mcp_codemode_exclusion
|
|
81
|
+
} from "./session-6q0m15b3.js";
|
|
82
82
|
import {
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
83
|
+
exports_agent as exports_agent3
|
|
84
|
+
} from "./session-kjv8daaj.js";
|
|
85
85
|
import {
|
|
86
|
-
|
|
87
|
-
} from "./
|
|
86
|
+
exports_system_prompt
|
|
87
|
+
} from "./session-b8rm84kg.js";
|
|
88
88
|
import {
|
|
89
|
-
|
|
90
|
-
} from "./
|
|
89
|
+
WebSearchPlugins
|
|
90
|
+
} from "./session-8jzhmmys.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
} from "./
|
|
92
|
+
exports_variant
|
|
93
|
+
} from "./session-7xm5mbbb.js";
|
|
94
94
|
import {
|
|
95
|
-
|
|
96
|
-
} from "./
|
|
95
|
+
ModelsDevPlugin
|
|
96
|
+
} from "./session-b0gda8w9.js";
|
|
97
97
|
import {
|
|
98
|
-
|
|
99
|
-
} from "./
|
|
98
|
+
ProviderPlugins
|
|
99
|
+
} from "./session-2ds9c0ac.js";
|
|
100
100
|
import {
|
|
101
|
-
|
|
102
|
-
} from "./
|
|
101
|
+
exports_command as exports_command3
|
|
102
|
+
} from "./session-3sbq567r.js";
|
|
103
103
|
import {
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
104
|
+
exports_plan
|
|
105
|
+
} from "./session-s7rjjq9f.js";
|
|
106
106
|
import {
|
|
107
|
-
|
|
108
|
-
} from "./
|
|
107
|
+
exports_skill as exports_skill4
|
|
108
|
+
} from "./session-0ztrt598.js";
|
|
109
109
|
import {
|
|
110
|
-
|
|
111
|
-
} from "./
|
|
110
|
+
exports_source
|
|
111
|
+
} from "./session-297zh0jt.js";
|
|
112
112
|
import {
|
|
113
|
-
|
|
114
|
-
} from "./
|
|
113
|
+
exports_warming
|
|
114
|
+
} from "./session-a907wmhc.js";
|
|
115
115
|
import {
|
|
116
|
-
|
|
117
|
-
} from "./
|
|
116
|
+
exports_discovery
|
|
117
|
+
} from "./session-a65h300v.js";
|
|
118
118
|
import {
|
|
119
|
-
|
|
120
|
-
} from "./
|
|
119
|
+
exports_instruction_discovery
|
|
120
|
+
} from "./session-neth52be.js";
|
|
121
121
|
import {
|
|
122
|
-
|
|
123
|
-
} from "./
|
|
122
|
+
exports_models_dev
|
|
123
|
+
} from "./session-1fzaf0s1.js";
|
|
124
124
|
import {
|
|
125
|
-
|
|
126
|
-
} from "./
|
|
125
|
+
exports_runtime
|
|
126
|
+
} from "./session-an4kv4yz.js";
|
|
127
127
|
import {
|
|
128
128
|
exports_websearch
|
|
129
|
-
} from "./
|
|
129
|
+
} from "./session-vj8zvqb1.js";
|
|
130
|
+
import {
|
|
131
|
+
exports_formatter
|
|
132
|
+
} from "./session-k90vsmvj.js";
|
|
130
133
|
import {
|
|
131
134
|
exports_location_mutation
|
|
132
|
-
} from "./
|
|
135
|
+
} from "./session-3gdadknp.js";
|
|
136
|
+
import {
|
|
137
|
+
exports_reference
|
|
138
|
+
} from "./session-wqkytynt.js";
|
|
133
139
|
import {
|
|
134
140
|
exports_shell
|
|
135
|
-
} from "./
|
|
141
|
+
} from "./session-b4jassn3.js";
|
|
136
142
|
import {
|
|
137
143
|
exports_skill
|
|
138
|
-
} from "./
|
|
139
|
-
import {
|
|
140
|
-
exports_permission
|
|
141
|
-
} from "./file-027bgpms.js";
|
|
144
|
+
} from "./session-4vw1c68y.js";
|
|
142
145
|
import {
|
|
143
146
|
exports_catalog
|
|
144
|
-
} from "./
|
|
145
|
-
import {
|
|
146
|
-
exports_reference
|
|
147
|
-
} from "./file-knd350r7.js";
|
|
147
|
+
} from "./session-bv5ggvte.js";
|
|
148
148
|
import {
|
|
149
|
-
|
|
150
|
-
} from "./
|
|
149
|
+
exports_file_mutation
|
|
150
|
+
} from "./session-nf1v0eng.js";
|
|
151
151
|
import {
|
|
152
152
|
exports_command
|
|
153
|
-
} from "./
|
|
153
|
+
} from "./session-5ft4pyjm.js";
|
|
154
154
|
import {
|
|
155
155
|
exports_mcp
|
|
156
|
-
} from "./
|
|
156
|
+
} from "./session-sf85c9ty.js";
|
|
157
157
|
import {
|
|
158
158
|
exports_integration
|
|
159
|
-
} from "./
|
|
159
|
+
} from "./session-ktsm8nmr.js";
|
|
160
160
|
import {
|
|
161
161
|
exports_form
|
|
162
|
-
} from "./
|
|
162
|
+
} from "./session-a7743779.js";
|
|
163
163
|
import {
|
|
164
|
-
|
|
165
|
-
} from "./
|
|
164
|
+
exports_config
|
|
165
|
+
} from "./session-g4m3yxfq.js";
|
|
166
166
|
import {
|
|
167
|
-
|
|
168
|
-
} from "./
|
|
167
|
+
exports_watcher
|
|
168
|
+
} from "./session-k6vwd7kr.js";
|
|
169
169
|
import {
|
|
170
|
-
|
|
171
|
-
} from "./
|
|
170
|
+
exports_wellknown
|
|
171
|
+
} from "./session-3bw6bseq.js";
|
|
172
172
|
import {
|
|
173
|
-
|
|
174
|
-
} from "./
|
|
173
|
+
exports_kv
|
|
174
|
+
} from "./session-wssytkwa.js";
|
|
175
175
|
import {
|
|
176
|
-
|
|
177
|
-
} from "./
|
|
176
|
+
exports_credential
|
|
177
|
+
} from "./session-14syaaqa.js";
|
|
178
178
|
import {
|
|
179
|
-
|
|
180
|
-
} from "./
|
|
179
|
+
exports_tool
|
|
180
|
+
} from "./session-f6yhytmv.js";
|
|
181
181
|
import {
|
|
182
|
-
|
|
183
|
-
} from "./
|
|
182
|
+
exports_permission
|
|
183
|
+
} from "./session-bgw1wapk.js";
|
|
184
184
|
import {
|
|
185
|
-
|
|
186
|
-
} from "./
|
|
185
|
+
exports_agent
|
|
186
|
+
} from "./session-7eqcq6bw.js";
|
|
187
187
|
import {
|
|
188
|
-
|
|
189
|
-
} from "./
|
|
188
|
+
exports_image
|
|
189
|
+
} from "./session-jadkz9d6.js";
|
|
190
190
|
import {
|
|
191
|
-
|
|
192
|
-
} from "./
|
|
191
|
+
exports_filesystem
|
|
192
|
+
} from "./session-afgcr2a2.js";
|
|
193
|
+
import {
|
|
194
|
+
exports_ripgrep
|
|
195
|
+
} from "./session-fe8dyg58.js";
|
|
196
|
+
import {
|
|
197
|
+
exports_environment1 as exports_environment
|
|
198
|
+
} from "./session-6bqsqmtw.js";
|
|
193
199
|
import {
|
|
194
200
|
exports_location
|
|
195
|
-
} from "./
|
|
201
|
+
} from "./session-ct8sx92t.js";
|
|
196
202
|
import {
|
|
197
203
|
exports_bus
|
|
198
|
-
} from "./
|
|
204
|
+
} from "./session-cwas8xmc.js";
|
|
199
205
|
import {
|
|
200
206
|
__export
|
|
201
|
-
} from "./
|
|
207
|
+
} from "./session-rvfvac9x.js";
|
|
202
208
|
|
|
203
209
|
// src/plugin/internal.ts
|
|
204
210
|
var exports_internal = {};
|
|
@@ -209,6 +215,7 @@ __export(exports_internal, {
|
|
|
209
215
|
});
|
|
210
216
|
import { LayerNode } from "@opencode-ai/util/effect/layer-node";
|
|
211
217
|
import { httpClient } from "@opencode-ai/util/effect/app-node-platform";
|
|
218
|
+
import { AppProcess } from "@opencode-ai/util/process";
|
|
212
219
|
import { Context, Effect } from "effect";
|
|
213
220
|
import { HttpClient } from "effect/unstable/http";
|
|
214
221
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
@@ -216,6 +223,7 @@ import { Global } from "@opencode-ai/util/global";
|
|
|
216
223
|
import { Npm } from "@opencode-ai/util/npm";
|
|
217
224
|
var services = Effect.fn("PluginInternal.services")(function* () {
|
|
218
225
|
const agent = yield* exports_agent.Service;
|
|
226
|
+
const processes = yield* AppProcess.Service;
|
|
219
227
|
const catalog = yield* exports_catalog.Service;
|
|
220
228
|
const command = yield* exports_command.Service;
|
|
221
229
|
const config = yield* exports_config.Service;
|
|
@@ -252,10 +260,11 @@ var services = Effect.fn("PluginInternal.services")(function* () {
|
|
|
252
260
|
const tools = yield* exports_tool.Service;
|
|
253
261
|
const watcher = yield* exports_watcher.Service;
|
|
254
262
|
const wellknown = yield* exports_wellknown.Service;
|
|
255
|
-
return Context.mergeAll(Context.make(exports_agent.Service, agent), Context.make(exports_catalog.Service, catalog), Context.make(exports_command.Service, command), Context.make(exports_config.Service, config), Context.make(exports_credential.Service, credential), Context.make(exports_source.Service, pluginSources), Context.make(exports_bus.Service, bus), Context.make(exports_environment.Service, environment), Context.make(exports_file_mutation.Service, mutation), Context.make(exports_formatter.Service, formatter), Context.make(exports_filesystem.Service, filesystem), Context.make(FSUtil.Service, fs), Context.make(Global.Service, global), Context.make(HttpClient.HttpClient, http), Context.make(exports_image.Service, image), Context.make(exports_instruction_discovery.Service, instructionDiscovery), Context.make(exports_integration.Service, integration), Context.make(exports_kv.Service, kv), Context.make(exports_location.Service, location), Context.make(exports_location_mutation.Service, locationMutation), Context.make(exports_models_dev.Service, models), Context.make(exports_mcp.Service, mcp), Context.make(Npm.Service, npm), Context.make(exports_permission.Service, permission), Context.make(exports_runtime.Service, runtime), Context.make(exports_form.Service, form), Context.make(exports_read_filesystem.Service, read), Context.make(exports_reference.Service, reference), Context.make(exports_websearch.Service, websearch), Context.make(exports_ripgrep.Service, ripgrep), Context.make(exports_instructions.Service, instructions), Context.make(exports_shell.Service, shell), Context.make(exports_skill.Service, skill), Context.make(exports_discovery.Service, skillDiscovery), Context.make(exports_tool.Service, tools), Context.make(exports_watcher.Service, watcher), Context.make(exports_wellknown.Service, wellknown));
|
|
263
|
+
return Context.mergeAll(Context.make(exports_agent.Service, agent), Context.make(AppProcess.Service, processes), Context.make(exports_catalog.Service, catalog), Context.make(exports_command.Service, command), Context.make(exports_config.Service, config), Context.make(exports_credential.Service, credential), Context.make(exports_source.Service, pluginSources), Context.make(exports_bus.Service, bus), Context.make(exports_environment.Service, environment), Context.make(exports_file_mutation.Service, mutation), Context.make(exports_formatter.Service, formatter), Context.make(exports_filesystem.Service, filesystem), Context.make(FSUtil.Service, fs), Context.make(Global.Service, global), Context.make(HttpClient.HttpClient, http), Context.make(exports_image.Service, image), Context.make(exports_instruction_discovery.Service, instructionDiscovery), Context.make(exports_integration.Service, integration), Context.make(exports_kv.Service, kv), Context.make(exports_location.Service, location), Context.make(exports_location_mutation.Service, locationMutation), Context.make(exports_models_dev.Service, models), Context.make(exports_mcp.Service, mcp), Context.make(Npm.Service, npm), Context.make(exports_permission.Service, permission), Context.make(exports_runtime.Service, runtime), Context.make(exports_form.Service, form), Context.make(exports_read_filesystem.Service, read), Context.make(exports_reference.Service, reference), Context.make(exports_websearch.Service, websearch), Context.make(exports_ripgrep.Service, ripgrep), Context.make(exports_instructions.Service, instructions), Context.make(exports_shell.Service, shell), Context.make(exports_skill.Service, skill), Context.make(exports_discovery.Service, skillDiscovery), Context.make(exports_tool.Service, tools), Context.make(exports_watcher.Service, watcher), Context.make(exports_wellknown.Service, wellknown));
|
|
256
264
|
});
|
|
257
265
|
var requirements = LayerNode.group([
|
|
258
266
|
exports_agent.node,
|
|
267
|
+
AppProcess.node,
|
|
259
268
|
exports_catalog.node,
|
|
260
269
|
exports_command.node,
|
|
261
270
|
exports_config.node,
|
|
@@ -324,6 +333,8 @@ var post = [
|
|
|
324
333
|
exports_reference2.Plugin,
|
|
325
334
|
exports_agent2.Plugin,
|
|
326
335
|
exports_command2.Plugin,
|
|
336
|
+
exports_formatter2.Plugin,
|
|
337
|
+
exports_image2.Plugin,
|
|
327
338
|
exports_skill2.Plugin,
|
|
328
339
|
exports_provider.Plugin,
|
|
329
340
|
exports_websearch2.Plugin,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-rvfvac9x.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
@@ -11,22 +11,31 @@ __export(exports_hooks, {
|
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
14
|
+
var eventProviderID = (event) => {
|
|
15
|
+
if (typeof event !== "object" || event === null || !("model" in event))
|
|
16
|
+
return;
|
|
17
|
+
const model = event.model;
|
|
18
|
+
if (typeof model !== "object" || model === null || !("providerID" in model))
|
|
19
|
+
return;
|
|
20
|
+
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
|
+
};
|
|
14
22
|
|
|
15
23
|
class Service extends Context.Service()("@opencode/PluginHooks") {
|
|
16
24
|
}
|
|
17
25
|
var layer = Layer.effect(Service, Effect.gen(function* () {
|
|
18
26
|
const callbacks = new Map;
|
|
19
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
20
|
-
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback) {
|
|
28
|
+
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
21
29
|
const scope = yield* Scope.Scope;
|
|
22
30
|
const id = key(domain, name);
|
|
23
31
|
let active = true;
|
|
24
|
-
|
|
32
|
+
const entry = { callback, options };
|
|
33
|
+
callbacks.set(id, [...callbacks.get(id) ?? [], entry]);
|
|
25
34
|
const dispose = Effect.sync(() => {
|
|
26
35
|
if (!active)
|
|
27
36
|
return;
|
|
28
37
|
active = false;
|
|
29
|
-
const next = (callbacks.get(id) ?? []).filter((item) => item !==
|
|
38
|
+
const next = (callbacks.get(id) ?? []).filter((item) => item !== entry);
|
|
30
39
|
if (next.length === 0)
|
|
31
40
|
callbacks.delete(id);
|
|
32
41
|
else
|
|
@@ -35,16 +44,16 @@ var layer = Layer.effect(Service, Effect.gen(function* () {
|
|
|
35
44
|
yield* Scope.addFinalizer(scope, dispose);
|
|
36
45
|
return { dispose };
|
|
37
46
|
});
|
|
38
|
-
const trigger = Effect.
|
|
39
|
-
for (const
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
]);
|
|
47
|
+
const trigger = Effect.fnUntraced(function* (domain, name, event) {
|
|
48
|
+
for (const entry of callbacks.get(key(domain, name)) ?? []) {
|
|
49
|
+
if (entry.options?.providerID !== undefined && entry.options.providerID !== eventProviderID(event))
|
|
50
|
+
continue;
|
|
51
|
+
const result = Reflect.apply(entry.callback, undefined, [event]);
|
|
43
52
|
yield* result;
|
|
44
53
|
}
|
|
45
54
|
return event;
|
|
46
55
|
});
|
|
47
|
-
const has = (domain, name) => Effect.sync(() => callbacks.
|
|
56
|
+
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
48
57
|
return Service.of({ has, register, trigger });
|
|
49
58
|
}));
|
|
50
59
|
var node = makeLocationNode({ service: Service, layer, deps: [] });
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
+
import {
|
|
2
|
+
exports_kv
|
|
3
|
+
} from "./session-wssytkwa.js";
|
|
1
4
|
import {
|
|
2
5
|
exports_state
|
|
3
|
-
} from "./
|
|
6
|
+
} from "./session-f2kz495y.js";
|
|
4
7
|
import {
|
|
5
8
|
exports_bus
|
|
6
|
-
} from "./
|
|
9
|
+
} from "./session-cwas8xmc.js";
|
|
7
10
|
import {
|
|
8
11
|
__export
|
|
9
|
-
} from "./
|
|
12
|
+
} from "./session-rvfvac9x.js";
|
|
10
13
|
|
|
11
14
|
// src/websearch.ts
|
|
12
15
|
var exports_websearch = {};
|
|
@@ -14,11 +17,13 @@ __export(exports_websearch, {
|
|
|
14
17
|
node: () => node,
|
|
15
18
|
WebSearch: () => exports_websearch,
|
|
16
19
|
Service: () => Service,
|
|
20
|
+
Selection: () => Selection,
|
|
17
21
|
Result: () => Result,
|
|
18
22
|
Response: () => Response,
|
|
19
23
|
RequestError: () => RequestError,
|
|
20
24
|
ProviderRequiredError: () => ProviderRequiredError,
|
|
21
25
|
ProviderNotFoundError: () => ProviderNotFoundError,
|
|
26
|
+
ProviderKey: () => ProviderKey,
|
|
22
27
|
Provider: () => Provider,
|
|
23
28
|
Input: () => Input,
|
|
24
29
|
ID: () => ID,
|
|
@@ -26,7 +31,7 @@ __export(exports_websearch, {
|
|
|
26
31
|
DisabledError: () => DisabledError
|
|
27
32
|
});
|
|
28
33
|
import { WebSearch } from "@opencode-ai/schema/websearch";
|
|
29
|
-
import { Context, Effect, Layer, Schema } from "effect";
|
|
34
|
+
import { Context, Effect, Layer, Option, Schema } from "effect";
|
|
30
35
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
31
36
|
import { Event } from "@opencode-ai/schema/websearch";
|
|
32
37
|
var ID = WebSearch.ID;
|
|
@@ -34,6 +39,8 @@ var Provider = WebSearch.Provider;
|
|
|
34
39
|
var Input = WebSearch.Input;
|
|
35
40
|
var Result = WebSearch.Result;
|
|
36
41
|
var Response = WebSearch.Response;
|
|
42
|
+
var ProviderKey = "websearch:provider";
|
|
43
|
+
var Selection = Schema.Union([ID, Schema.Literal("random"), Schema.Literal(false)]);
|
|
37
44
|
|
|
38
45
|
class ProviderRequiredError extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
39
46
|
}
|
|
@@ -56,6 +63,7 @@ class Service extends Context.Service()("@opencode/WebSearch") {
|
|
|
56
63
|
}
|
|
57
64
|
var layer = Layer.effect(Service, Effect.gen(function* () {
|
|
58
65
|
const bus = yield* exports_bus.Service;
|
|
66
|
+
const kv = yield* exports_kv.Service;
|
|
59
67
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result));
|
|
60
68
|
const state = exports_state.create({
|
|
61
69
|
initial: () => ({ providers: new Map }),
|
|
@@ -74,13 +82,18 @@ var layer = Layer.effect(Service, Effect.gen(function* () {
|
|
|
74
82
|
};
|
|
75
83
|
const defaultProvider = Effect.fn("WebSearch.default")(function* () {
|
|
76
84
|
const data = state.get();
|
|
77
|
-
|
|
85
|
+
const stored = data.selection === undefined ? yield* kv.get(ProviderKey) : undefined;
|
|
86
|
+
const decoded = Schema.decodeUnknownOption(Selection)(stored);
|
|
87
|
+
if (stored !== undefined && Option.isNone(decoded))
|
|
88
|
+
yield* kv.remove(ProviderKey);
|
|
89
|
+
const selection = data.selection ?? Option.getOrUndefined(decoded);
|
|
90
|
+
if (selection === false)
|
|
78
91
|
return yield* new DisabledError;
|
|
79
|
-
if (
|
|
92
|
+
if (selection === "random") {
|
|
80
93
|
const providers = Array.from(data.providers.values());
|
|
81
94
|
return providers[Math.floor(Math.random() * providers.length)];
|
|
82
95
|
}
|
|
83
|
-
return
|
|
96
|
+
return selection ? data.providers.get(selection) : undefined;
|
|
84
97
|
});
|
|
85
98
|
const resolve = Effect.fn("WebSearch.resolve")(function* (input) {
|
|
86
99
|
const providers = state.get().providers;
|
|
@@ -104,6 +117,9 @@ var layer = Layer.effect(Service, Effect.gen(function* () {
|
|
|
104
117
|
const provider = yield* defaultProvider();
|
|
105
118
|
return provider && { id: provider.id, name: provider.name };
|
|
106
119
|
}),
|
|
120
|
+
select: Effect.fn("WebSearch.select")(function* (selection) {
|
|
121
|
+
yield* kv.set(ProviderKey, selection);
|
|
122
|
+
}),
|
|
107
123
|
query: Effect.fn("WebSearch.query")(function* (input) {
|
|
108
124
|
const provider = yield* resolve(input);
|
|
109
125
|
const results = yield* provider.execute({ query: input.query }).pipe(Effect.flatMap(decodeResults), Effect.mapError((cause) => new RequestError({ providerID: provider.id, cause })));
|
|
@@ -114,7 +130,7 @@ var layer = Layer.effect(Service, Effect.gen(function* () {
|
|
|
114
130
|
var node = makeLocationNode({
|
|
115
131
|
service: Service,
|
|
116
132
|
layer,
|
|
117
|
-
deps: [exports_bus.node]
|
|
133
|
+
deps: [exports_bus.node, exports_kv.node]
|
|
118
134
|
});
|
|
119
135
|
|
|
120
|
-
export { ID, Provider, Input, Result, Response, ProviderRequiredError, ProviderNotFoundError, DisabledError, RequestError, Service, node, exports_websearch, Event };
|
|
136
|
+
export { ID, Provider, Input, Result, Response, ProviderKey, Selection, ProviderRequiredError, ProviderNotFoundError, DisabledError, RequestError, Service, node, exports_websearch, Event };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./session-rvfvac9x.js";
|
|
4
|
+
|
|
5
|
+
// src/session/model-hook.ts
|
|
6
|
+
var exports_model_hook = {};
|
|
7
|
+
__export(exports_model_hook, {
|
|
8
|
+
apply: () => apply,
|
|
9
|
+
SessionModelHook: () => exports_model_hook
|
|
10
|
+
});
|
|
11
|
+
import { HttpOptions, LanguageModel, LLMRequest } from "@opencode-ai/ai";
|
|
12
|
+
import { Effect } from "effect";
|
|
13
|
+
var apply = (hooks, input, request) => Effect.gen(function* () {
|
|
14
|
+
const currentBaseURL = request.model.route.endpoint.baseURL;
|
|
15
|
+
const event = yield* hooks.trigger("session", "model.request", {
|
|
16
|
+
...input,
|
|
17
|
+
baseURL: typeof currentBaseURL === "string" ? currentBaseURL : undefined,
|
|
18
|
+
headers: { ...request.http?.headers }
|
|
19
|
+
});
|
|
20
|
+
const route = event.baseURL !== undefined && event.baseURL !== currentBaseURL ? request.model.route.with({ endpoint: { baseURL: event.baseURL } }) : request.model.route;
|
|
21
|
+
return LLMRequest.update(request, {
|
|
22
|
+
model: route === request.model.route ? request.model : LanguageModel.update(request.model, { route }),
|
|
23
|
+
http: new HttpOptions({
|
|
24
|
+
body: request.http?.body,
|
|
25
|
+
headers: Object.keys(event.headers).length === 0 ? undefined : event.headers,
|
|
26
|
+
query: request.http?.query
|
|
27
|
+
})
|
|
28
|
+
});
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
export { apply, exports_model_hook };
|