@opencode-ai/core 0.0.0-beta-17639 → 0.0.0-beta-17728
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/{session-02dbfq60.js → workspace-02dbfq60.js} +1 -1
- package/dist/chunks/{session-0b6ye7sf.js → workspace-0b6ye7sf.js} +2 -2
- package/dist/chunks/{session-0kvmztkf.js → workspace-0kvmztkf.js} +1 -1
- package/dist/chunks/{session-a907wmhc.js → workspace-0tse6crn.js} +2 -2
- package/dist/chunks/{session-18pv8fg3.js → workspace-18pv8fg3.js} +2 -2
- package/dist/chunks/{session-04kwjb53.js → workspace-19e1vard.js} +36 -4
- package/dist/chunks/{session-1c00jchy.js → workspace-1c00jchy.js} +2 -2
- package/dist/chunks/{session-1h0r72pv.js → workspace-1h0r72pv.js} +2 -2
- package/dist/chunks/{session-r9pp1rbw.js → workspace-1mzs2gbp.js} +23 -17
- package/dist/chunks/{session-1xksxgzs.js → workspace-1xksxgzs.js} +2 -2
- package/dist/chunks/{session-7eqcq6bw.js → workspace-1z2gdby2.js} +3 -3
- package/dist/chunks/{session-d5bmtbvc.js → workspace-23mrxj1z.js} +3 -3
- package/dist/chunks/{session-v2bfppbw.js → workspace-23pmvn2v.js} +31 -26
- package/dist/chunks/{session-25pxtba7.js → workspace-25pxtba7.js} +1 -1
- package/dist/chunks/{session-2akqrmqf.js → workspace-2akqrmqf.js} +1 -1
- package/dist/chunks/{session-6s6dtf2r.js → workspace-2fwsdk3a.js} +29 -29
- package/dist/chunks/{session-2nmyybe0.js → workspace-2nmyybe0.js} +1 -1
- package/dist/chunks/{session-ftj66dh5.js → workspace-2q1fvqax.js} +5 -5
- package/dist/chunks/{session-m2prafdg.js → workspace-2zg2bwk8.js} +6 -6
- package/dist/chunks/{session-yv0m72rj.js → workspace-38t54vkz.js} +25 -25
- package/dist/chunks/{session-3g8vftxb.js → workspace-3g8vftxb.js} +2 -2
- package/dist/chunks/{session-5ba06pjj.js → workspace-3sjkbjbh.js} +6 -6
- package/dist/chunks/{session-3thh6229.js → workspace-3thh6229.js} +2 -2
- package/dist/chunks/{session-7mdcwqx0.js → workspace-3zpfm7cp.js} +7 -7
- package/dist/chunks/{session-14a37082.js → workspace-41db28r2.js} +46 -71
- package/dist/chunks/{session-42q4drvy.js → workspace-42q4drvy.js} +2 -2
- package/dist/chunks/{session-3z20vwjx.js → workspace-44dp1sb2.js} +7 -7
- package/dist/chunks/{session-a7743779.js → workspace-4d67s52a.js} +2 -2
- package/dist/chunks/{session-rkk4a3y9.js → workspace-4gm39vc0.js} +21 -21
- package/dist/chunks/{session-fk1698j2.js → workspace-4mgybwn2.js} +2 -2
- package/dist/chunks/{session-4s2xwh5d.js → workspace-4s2xwh5d.js} +3 -3
- package/dist/chunks/{session-4zzdwbaz.js → workspace-4zzdwbaz.js} +2 -2
- package/dist/chunks/{session-50jxp3hw.js → workspace-50jxp3hw.js} +1 -1
- package/dist/chunks/{session-52jzav25.js → workspace-52jzav25.js} +1 -1
- package/dist/chunks/{session-nf1v0eng.js → workspace-52myrd5r.js} +3 -3
- package/dist/chunks/{session-5vz8v28n.js → workspace-542hpkbj.js} +6 -6
- package/dist/chunks/{session-57tzwnz4.js → workspace-57tzwnz4.js} +1 -1
- package/dist/chunks/{session-k90vsmvj.js → workspace-5p6y381a.js} +5 -5
- package/dist/chunks/{session-5rs65q6p.js → workspace-5rs65q6p.js} +1 -1
- package/dist/chunks/{session-xar7yywh.js → workspace-5v0jvcad.js} +7 -7
- package/dist/chunks/{session-5vcssjzn.js → workspace-5vcssjzn.js} +1 -1
- package/dist/chunks/{session-5yea2tah.js → workspace-5yea2tah.js} +2 -2
- package/dist/chunks/{session-2ahjbedx.js → workspace-5zfpf3c3.js} +58 -57
- package/dist/chunks/{session-84fqgtq8.js → workspace-62hqezf8.js} +4 -4
- package/dist/chunks/{session-gk5t844f.js → workspace-6503fc24.js} +8 -8
- package/dist/chunks/{session-14syaaqa.js → workspace-67w1s9dj.js} +3 -3
- package/dist/chunks/{session-b4jassn3.js → workspace-6e6yzfbs.js} +65 -50
- package/dist/chunks/{session-aw6v6c4d.js → workspace-6k2gs826.js} +13 -13
- package/dist/chunks/{session-6ky7rqk7.js → workspace-6ky7rqk7.js} +1 -1
- package/dist/chunks/{session-6q0m15b3.js → workspace-6q0m15b3.js} +1 -1
- package/dist/chunks/{session-cwas8xmc.js → workspace-6v05w4qg.js} +4 -4
- package/dist/chunks/{session-706a4azd.js → workspace-706a4azd.js} +1 -1
- package/dist/chunks/{session-7mrpdsq5.js → workspace-7mrpdsq5.js} +1 -1
- package/dist/chunks/{session-7wcmqxrc.js → workspace-7wcmqxrc.js} +1 -1
- package/dist/chunks/{session-7xm5mbbb.js → workspace-7xm5mbbb.js} +3 -3
- package/dist/chunks/{session-b0gda8w9.js → workspace-7ydvt0cn.js} +3 -3
- package/dist/chunks/{session-qhm4ckjz.js → workspace-7yt03gw4.js} +5 -5
- package/dist/chunks/{session-d6nt1xrt.js → workspace-814sw5b8.js} +36 -31
- package/dist/chunks/{session-7yhtvg7m.js → workspace-81wsrtjr.js} +32 -23
- package/dist/chunks/{session-88jbfw8z.js → workspace-88jbfw8z.js} +2 -2
- package/dist/chunks/{session-0srat4c7.js → workspace-8j7q3az7.js} +5 -5
- package/dist/chunks/{session-8k08086v.js → workspace-8k08086v.js} +1 -1
- package/dist/chunks/{session-ftjd86ht.js → workspace-8mj3f4mv.js} +16 -16
- package/dist/chunks/{session-neth52be.js → workspace-8qmsdysr.js} +7 -7
- package/dist/chunks/{session-8v47shgf.js → workspace-8v47shgf.js} +2 -2
- package/dist/chunks/{session-7dz0xcj1.js → workspace-90gmgs4x.js} +14 -14
- package/dist/chunks/{session-93qdgxxd.js → workspace-93qdgxxd.js} +1 -1
- package/dist/chunks/{session-999qd968.js → workspace-999qd968.js} +1 -1
- package/dist/chunks/{session-9d2xhdr4.js → workspace-9d2xhdr4.js} +3 -3
- package/dist/chunks/{session-9f0rnpkn.js → workspace-9f0rnpkn.js} +1 -1
- package/dist/chunks/{session-w2vq7e93.js → workspace-9vcje7gs.js} +9 -18
- package/dist/chunks/workspace-a102bg6e.js +42 -0
- package/dist/chunks/{session-a65h300v.js → workspace-a65h300v.js} +2 -2
- package/dist/chunks/{session-h5w2ynrq.js → workspace-a67bq5a9.js} +3 -3
- package/dist/chunks/{session-fvcvykp5.js → workspace-ard6xt9g.js} +3 -3
- package/dist/chunks/{session-atc09b0q.js → workspace-atc09b0q.js} +2 -2
- package/dist/chunks/{session-1tjh8760.js → workspace-atjbfv7r.js} +3 -3
- package/dist/chunks/{session-0ztrt598.js → workspace-awt1vy08.js} +4 -4
- package/dist/chunks/{session-ayfwnm78.js → workspace-ayfwnm78.js} +2 -2
- package/dist/chunks/{session-dxqcfshz.js → workspace-azfr4z12.js} +6 -6
- package/dist/chunks/{session-b25zdeh7.js → workspace-b25zdeh7.js} +1 -1
- package/dist/chunks/{session-p0fvb4rh.js → workspace-b477gca3.js} +5 -5
- package/dist/chunks/workspace-b5njd4gp.js +38 -0
- package/dist/chunks/{session-b8rm84kg.js → workspace-b8rm84kg.js} +1 -1
- package/dist/chunks/{session-70m10fmm.js → workspace-b9wjddqq.js} +8 -8
- package/dist/chunks/{session-fdb2zs64.js → workspace-bffjrazf.js} +5 -4
- package/dist/chunks/{session-xngc39j7.js → workspace-bfkpqtqx.js} +5 -5
- package/dist/chunks/{session-jadkz9d6.js → workspace-bk2c2kb7.js} +2 -2
- package/dist/chunks/{session-bmweayxc.js → workspace-bmweayxc.js} +3 -3
- package/dist/chunks/{session-ew6vx4a2.js → workspace-bt40hje9.js} +5 -5
- package/dist/chunks/{session-byab506k.js → workspace-byab506k.js} +1 -1
- package/dist/chunks/{session-bv5ggvte.js → workspace-c1eth9b5.js} +10 -10
- package/dist/chunks/{session-9amp85xk.js → workspace-c3zqsg3q.js} +7 -7
- package/dist/chunks/{session-6bqsqmtw.js → workspace-c6137mdz.js} +9 -9
- package/dist/chunks/{session-tx2ppt9a.js → workspace-c67gxqy3.js} +171 -126
- package/dist/chunks/{session-cz3dkvcz.js → workspace-cz3dkvcz.js} +1 -1
- package/dist/chunks/{session-qdkf97nh.js → workspace-czrtce5t.js} +12 -12
- package/dist/chunks/{session-gbmwbx35.js → workspace-d6a81qeg.js} +4 -4
- package/dist/chunks/{session-ct8sx92t.js → workspace-d6d2y6z3.js} +2 -2
- package/dist/chunks/{session-wfv9rgyt.js → workspace-dgagesms.js} +20 -20
- package/dist/chunks/{session-dhphtf1x.js → workspace-dhphtf1x.js} +1 -1
- package/dist/chunks/{session-dman5pj0.js → workspace-dman5pj0.js} +2 -2
- package/dist/chunks/{session-afgcr2a2.js → workspace-dy7dh4rb.js} +5 -5
- package/dist/chunks/{session-dyz5q1tb.js → workspace-dyz5q1tb.js} +2 -2
- package/dist/chunks/{session-e1z9a0ts.js → workspace-e1z9a0ts.js} +2 -2
- package/dist/chunks/workspace-e24rm1tf.js +81 -0
- package/dist/chunks/{session-50x5dgrv.js → workspace-e93xz9yp.js} +18 -35
- package/dist/chunks/{session-ec8vrfw5.js → workspace-ec8vrfw5.js} +1 -1
- package/dist/chunks/{session-qzs4ke5r.js → workspace-ej8mqssz.js} +10 -9
- package/dist/chunks/{session-erj4j75s.js → workspace-erj4j75s.js} +1 -1
- package/dist/chunks/{session-eyk9wdct.js → workspace-eyk9wdct.js} +2 -2
- package/dist/chunks/{session-tj3dgy7j.js → workspace-eymrs8ew.js} +3 -3
- package/dist/chunks/{session-f05p34aa.js → workspace-f05p34aa.js} +3 -3
- package/dist/chunks/{session-gfdnpqqh.js → workspace-f1fk1fwk.js} +65 -38
- package/dist/chunks/{session-3gdadknp.js → workspace-f1mxyn57.js} +4 -4
- package/dist/chunks/{session-f2kz495y.js → workspace-f2kz495y.js} +1 -1
- package/dist/chunks/{session-k8bhzhnk.js → workspace-fcgydxrm.js} +10 -10
- package/dist/chunks/{session-ked98smj.js → workspace-fcpmx6c6.js} +1 -1
- package/dist/chunks/{session-59y9mt7v.js → workspace-ff2y1ddn.js} +12 -12
- package/dist/chunks/{session-smq36hye.js → workspace-fjtxtbhx.js} +2 -2
- package/dist/chunks/{session-1fzaf0s1.js → workspace-fpfxym37.js} +8 -8
- package/dist/chunks/{session-3bw6bseq.js → workspace-fq8eqd5r.js} +3 -3
- package/dist/chunks/{session-fqxzsdmq.js → workspace-fqxzsdmq.js} +2 -2
- package/dist/chunks/{session-ea80pm1r.js → workspace-fs1q3vja.js} +9 -9
- package/dist/chunks/{session-45wp2g52.js → workspace-fvfr1h9h.js} +10 -10
- package/dist/chunks/{session-vj8zvqb1.js → workspace-fwtk8ym7.js} +4 -4
- package/dist/chunks/{session-1w0b889r.js → workspace-g0crqrc2.js} +12 -12
- package/dist/chunks/workspace-g0mkpa64.js +37 -0
- package/dist/chunks/{session-5ft4pyjm.js → workspace-g1sw3zg8.js} +17 -29
- package/dist/chunks/{session-mfmdw7ht.js → workspace-g58f6qy3.js} +3 -3
- package/dist/chunks/{session-jjazc40s.js → workspace-g71xsz50.js} +5 -5
- package/dist/chunks/{session-j7bddb5r.js → workspace-g9xk0fp4.js} +82 -77
- package/dist/chunks/{session-g9yygpzr.js → workspace-g9yygpzr.js} +1 -1
- package/dist/chunks/{session-gcay93cp.js → workspace-gcay93cp.js} +1 -1
- package/dist/chunks/{session-gd2xppx8.js → workspace-gd2xppx8.js} +1 -1
- package/dist/chunks/{session-4s7pt7vt.js → workspace-gfqm9jc2.js} +15 -81
- package/dist/chunks/workspace-gp1p5nz4.js +55 -0
- package/dist/chunks/workspace-gvgy736b.js +36 -0
- package/dist/chunks/{session-gz765asg.js → workspace-gz765asg.js} +1 -1
- package/dist/chunks/{session-wssytkwa.js → workspace-h39nbqxt.js} +20 -4
- package/dist/chunks/{session-h8ecejt5.js → workspace-h8ecejt5.js} +1 -1
- package/dist/chunks/{session-h0t6dp8v.js → workspace-hrep3ykt.js} +5 -5
- package/dist/chunks/{session-hsyk7kfz.js → workspace-hsyk7kfz.js} +2 -2
- package/dist/chunks/{session-j1a5h53y.js → workspace-j1a5h53y.js} +1 -1
- package/dist/chunks/{session-ra4strm1.js → workspace-jeqzp82b.js} +2 -2
- package/dist/chunks/{session-jqkpryhn.js → workspace-jqkpryhn.js} +4 -4
- package/dist/chunks/{session-jssy2dr3.js → workspace-jssy2dr3.js} +2 -2
- package/dist/chunks/{session-f6dh1hgf.js → workspace-jsz1keww.js} +18 -18
- package/dist/chunks/{session-33bxv4t4.js → workspace-jt4wm1df.js} +65 -12
- package/dist/chunks/{session-kg1345f7.js → workspace-kg1345f7.js} +1 -1
- package/dist/chunks/{session-bgw1wapk.js → workspace-kj1ajs9d.js} +10 -10
- package/dist/chunks/{session-76r26z92.js → workspace-kmtnn037.js} +15 -15
- package/dist/chunks/{session-j36kh1vd.js → workspace-m70vpsdq.js} +4 -4
- package/dist/chunks/{session-dgjzraq6.js → workspace-md5jaask.js} +0 -1
- package/dist/chunks/{session-mf0hyk7z.js → workspace-mf0hyk7z.js} +1 -1
- package/dist/chunks/{session-mh28new4.js → workspace-mh28new4.js} +2 -2
- package/dist/chunks/{session-g4m3yxfq.js → workspace-mh4qv5pj.js} +15 -15
- package/dist/chunks/{session-c5rxys95.js → workspace-mjat1551.js} +13 -13
- package/dist/chunks/{session-mnb85w6b.js → workspace-mnb85w6b.js} +2 -2
- package/dist/chunks/{session-nn9mh9z6.js → workspace-mvg5hf3w.js} +5 -5
- package/dist/chunks/{session-qvj32qnq.js → workspace-mvqmrqwd.js} +10 -10
- package/dist/chunks/{session-mwceq5am.js → workspace-mwceq5am.js} +1 -1
- package/dist/chunks/{session-mxvw03gv.js → workspace-mxvw03gv.js} +1 -1
- package/dist/chunks/{session-n2w8fz38.js → workspace-n2w8fz38.js} +2 -2
- package/dist/chunks/{session-5pnhvvbf.js → workspace-n744begs.js} +6 -6
- package/dist/chunks/{session-192bypjc.js → workspace-n7qmgaea.js} +87 -87
- package/dist/chunks/{session-dk9dj6bh.js → workspace-na8kvh3y.js} +9 -9
- package/dist/chunks/{session-nesb2rcz.js → workspace-nesb2rcz.js} +2 -2
- package/dist/chunks/{session-nk6yb8jk.js → workspace-nk6yb8jk.js} +2 -2
- package/dist/chunks/{session-nr76rjj3.js → workspace-nr76rjj3.js} +2 -2
- package/dist/chunks/workspace-nr7nt42m.js +82 -0
- package/dist/chunks/{session-n7jpsh70.js → workspace-ntzxc0jn.js} +3 -3
- package/dist/chunks/{session-nzrjycs5.js → workspace-nzrjycs5.js} +1 -1
- package/dist/chunks/{session-p0zqjz05.js → workspace-p0zqjz05.js} +3 -3
- package/dist/chunks/{session-p27xxkqg.js → workspace-p27xxkqg.js} +3 -3
- package/dist/chunks/{session-ktsm8nmr.js → workspace-p5fvt5wk.js} +7 -7
- package/dist/chunks/{session-py121175.js → workspace-p76g51s8.js} +3 -3
- package/dist/chunks/{session-pfqehjmy.js → workspace-pfqehjmy.js} +2 -2
- package/dist/chunks/{session-ph1me6ah.js → workspace-ph1me6ah.js} +2 -2
- package/dist/chunks/{session-hxjjxgz5.js → workspace-pjg7v2c2.js} +4 -4
- package/dist/chunks/{session-pq4b4pqk.js → workspace-pq4b4pqk.js} +2 -2
- package/dist/chunks/{session-wqkytynt.js → workspace-pravh8e3.js} +8 -8
- package/dist/chunks/{session-prf9bavk.js → workspace-prf9bavk.js} +3 -3
- package/dist/chunks/{session-pq1f4a9k.js → workspace-pxa9b4s7.js} +15 -15
- package/dist/chunks/{session-4vw1c68y.js → workspace-q1dc5e6j.js} +4 -4
- package/dist/chunks/{session-qe0d689s.js → workspace-qe0d689s.js} +2 -2
- package/dist/chunks/{session-qgt32wwf.js → workspace-qgt32wwf.js} +3 -3
- package/dist/chunks/{session-qsgvz7g8.js → workspace-qsgvz7g8.js} +2 -2
- package/dist/chunks/{session-4cmfemc7.js → workspace-r2rbw5tv.js} +7 -7
- package/dist/chunks/{session-r3k9abhd.js → workspace-r3k9abhd.js} +2 -2
- package/dist/chunks/{session-s7rjjq9f.js → workspace-r66pqccc.js} +2 -2
- package/dist/chunks/{session-an4kv4yz.js → workspace-r6fg1hkq.js} +9 -9
- package/dist/chunks/{session-ha7tv4ax.js → workspace-rdgshxnb.js} +2 -2
- package/dist/chunks/{session-s41t0mbm.js → workspace-rnzrc4h3.js} +12 -12
- package/dist/chunks/{session-3sbq567r.js → workspace-rqnb0dc3.js} +2 -2
- package/dist/chunks/{session-rt6yg6j2.js → workspace-rt6yg6j2.js} +2 -2
- package/dist/chunks/{session-tgmyvqfg.js → workspace-rvtzwf9v.js} +11 -11
- package/dist/chunks/{session-ryap75b3.js → workspace-ryap75b3.js} +1 -1
- package/dist/chunks/{session-s33fw6zm.js → workspace-s33fw6zm.js} +1 -1
- package/dist/chunks/{session-0c4kc2tg.js → workspace-s50pr0y2.js} +7 -7
- package/dist/chunks/{session-h1g52f20.js → workspace-s6g6g4wn.js} +6 -6
- package/dist/chunks/workspace-se1c3nna.js +118 -0
- package/dist/chunks/{session-sfbv6a2b.js → workspace-sfbv6a2b.js} +1 -1
- package/dist/chunks/{session-smpeg8c9.js → workspace-smpeg8c9.js} +2 -2
- package/dist/chunks/{session-2ds9c0ac.js → workspace-sthz35eq.js} +65 -65
- package/dist/chunks/{session-sw84ckhj.js → workspace-sw84ckhj.js} +1 -1
- package/dist/chunks/{session-t066q9hw.js → workspace-t066q9hw.js} +2 -2
- package/dist/chunks/{session-t14kykx1.js → workspace-t14kykx1.js} +1 -1
- package/dist/chunks/{session-th5s1dsd.js → workspace-t7n14jhv.js} +3 -3
- package/dist/chunks/{session-tcn24h1d.js → workspace-tcn24h1d.js} +1 -1
- package/dist/chunks/{session-tenv3kfs.js → workspace-tenv3kfs.js} +2 -2
- package/dist/chunks/{session-zksmshj6.js → workspace-tgfxjpg6.js} +25 -18
- package/dist/chunks/{session-thstd87d.js → workspace-thstd87d.js} +1 -1
- package/dist/chunks/{session-nzbhv4bc.js → workspace-trb4b12r.js} +17 -27
- package/dist/chunks/{session-wxyhn0nc.js → workspace-tt2xddbf.js} +89 -85
- package/dist/chunks/{session-k327betz.js → workspace-tz7xrhct.js} +105 -44
- package/dist/chunks/{session-v2wshkax.js → workspace-v2wshkax.js} +1 -1
- package/dist/chunks/{session-v80zsxnb.js → workspace-v80zsxnb.js} +1 -1
- package/dist/chunks/{session-v972xay6.js → workspace-v972xay6.js} +1 -1
- package/dist/chunks/{session-v9bfv94f.js → workspace-v9bfv94f.js} +1 -1
- package/dist/chunks/{session-kc4491k5.js → workspace-vg3gxz15.js} +4 -3
- package/dist/chunks/{session-297zh0jt.js → workspace-vjshw6kw.js} +4 -4
- package/dist/chunks/{session-f6yhytmv.js → workspace-vpv9n6y4.js} +8 -8
- package/dist/chunks/{session-rfkc5twb.js → workspace-vrvhhgwk.js} +11 -11
- package/dist/chunks/{session-vxz5qdmp.js → workspace-vxz5qdmp.js} +1 -1
- package/dist/chunks/{session-vz89hfgr.js → workspace-vz89hfgr.js} +1 -1
- package/dist/chunks/workspace-wb4dbzpz.js +23 -0
- package/dist/chunks/{session-wd268jeg.js → workspace-wd268jeg.js} +1 -1
- package/dist/chunks/{session-wh0zhxcg.js → workspace-wh0zhxcg.js} +2 -2
- package/dist/chunks/{session-0cetw2h9.js → workspace-wkxytz5r.js} +6 -7
- package/dist/chunks/{session-wmxdh12w.js → workspace-wmxdh12w.js} +1 -1
- package/dist/chunks/{session-wps8gh8n.js → workspace-wps8gh8n.js} +2 -2
- package/dist/chunks/{session-wpqp2v8c.js → workspace-wrxb8r8b.js} +5 -5
- package/dist/chunks/{session-xczfw7dq.js → workspace-xczfw7dq.js} +1 -1
- package/dist/chunks/{session-7kdw8qtr.js → workspace-xf8gwdhy.js} +10 -10
- package/dist/chunks/{session-xgv25zxy.js → workspace-xgv25zxy.js} +1 -1
- package/dist/chunks/{session-8jzhmmys.js → workspace-xsfdrhg6.js} +6 -6
- package/dist/chunks/{session-kpsj4wym.js → workspace-xvawdh7j.js} +12 -12
- package/dist/chunks/{session-xwftk1fd.js → workspace-xwftk1fd.js} +2 -2
- package/dist/chunks/{session-xxpvz42q.js → workspace-xxpvz42q.js} +3 -3
- package/dist/chunks/{session-kjv8daaj.js → workspace-y0b7h1zm.js} +3 -3
- package/dist/chunks/{session-y0x38cee.js → workspace-y0x38cee.js} +1 -1
- package/dist/chunks/{session-y198y2ra.js → workspace-y198y2ra.js} +1 -1
- package/dist/chunks/{session-3jemer1x.js → workspace-y1gjwkyb.js} +6 -7
- package/dist/chunks/{session-fe8dyg58.js → workspace-y3mwbphg.js} +4 -4
- package/dist/chunks/{session-y67x6rf6.js → workspace-y67x6rf6.js} +1 -1
- package/dist/chunks/{session-y8rs54ne.js → workspace-y8rs54ne.js} +1 -1
- package/dist/chunks/{session-k6vwd7kr.js → workspace-y980s7ka.js} +5 -5
- package/dist/chunks/{session-twgg36kq.js → workspace-y9w1r2sz.js} +5 -5
- package/dist/chunks/{session-whme8v85.js → workspace-ybk1zn4f.js} +6 -6
- package/dist/chunks/{session-kp6knqkh.js → workspace-yeep7k6z.js} +3 -3
- package/dist/chunks/{session-yf0knd5z.js → workspace-yf0knd5z.js} +2 -2
- package/dist/chunks/{session-6v0v946z.js → workspace-yw66mecz.js} +4 -4
- package/dist/chunks/{session-yz0wm9s3.js → workspace-yz0wm9s3.js} +2 -2
- package/dist/chunks/{session-z2m3p3f2.js → workspace-yzbgy9nd.js} +7 -7
- package/dist/chunks/{session-9sgmrnba.js → workspace-z3rydcef.js} +1 -1
- package/dist/chunks/{session-zbqqnp0n.js → workspace-zbqqnp0n.js} +1 -1
- package/dist/chunks/{session-zdkg1k91.js → workspace-zdkg1k91.js} +1 -1
- package/dist/chunks/{session-zfxc0ze5.js → workspace-zfxc0ze5.js} +1 -1
- package/dist/chunks/{session-sf85c9ty.js → workspace-zjcjb8a1.js} +15 -15
- package/dist/chunks/workspace-zjqk1kz3.js +40 -0
- package/dist/chunks/{session-zjvgdt9p.js → workspace-zjvgdt9p.js} +3 -3
- package/dist/chunks/{session-zkkkcc8p.js → workspace-zkkkcc8p.js} +4 -4
- package/dist/chunks/{session-zqh29h4g.js → workspace-zqh29h4g.js} +2 -2
- package/dist/chunks/{session-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 -130
- 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 +156 -0
- 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 +120 -0
- 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 +121 -0
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +120 -0
- package/dist/config/plugin/source.js +111 -111
- package/dist/config/plugin/tool-output.js +122 -0
- 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 +77 -77
- package/dist/database/v1-migration.js +2 -2
- package/dist/database/v1-migration.noop.js +1 -1
- package/dist/effect/app-node-builder.js +330 -323
- 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-retention.js +9 -0
- 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 +12 -0
- package/dist/filesystem/location-watcher.js +301 -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 -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 +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 -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 +330 -323
- 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 +165 -186
- package/dist/plugin/internal.js +295 -281
- 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 +151 -176
- 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 +300 -286
- 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 +163 -186
- 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 -118
- 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 -148
- package/dist/session/context.js +308 -294
- 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 +312 -301
- package/dist/session/generate.js +2 -2
- package/dist/session/history.js +79 -79
- package/dist/session/inbox.js +79 -85
- 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 -303
- 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 -116
- package/dist/session/run-coordinator.js +2 -2
- package/dist/session/runner/index.js +86 -86
- package/dist/session/runner/llm.js +317 -310
- 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 +156 -182
- package/dist/session/usage.js +2 -2
- package/dist/session.js +150 -175
- package/dist/shell/parse.js +5 -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 +10 -3
- package/dist/shell.js +103 -130
- 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 -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 -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 +181 -180
- package/dist/tool/plugin/skill.js +103 -103
- package/dist/tool/plugin/subagent.js +178 -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 +5 -112
- package/dist/tool.js +117 -117
- package/dist/types/aisdk-native.d.ts +1 -0
- package/dist/types/command.d.ts +1 -10
- package/dist/types/config/plugin/compaction.d.ts +4 -0
- package/dist/types/config/plugin/location-watcher.d.ts +4 -0
- package/dist/types/config/plugin/shell.d.ts +4 -0
- package/dist/types/config/plugin/snapshot.d.ts +4 -0
- package/dist/types/config/plugin/tool-output.d.ts +4 -0
- package/dist/types/file-retention.d.ts +4 -0
- package/dist/types/filesystem/location-watcher-policy.d.ts +15 -0
- package/dist/types/kv.d.ts +14 -0
- package/dist/types/location-service-map.d.ts +2 -2
- package/dist/types/location-services.d.ts +2 -1
- package/dist/types/model-resolver.d.ts +3 -3
- package/dist/types/plugin/host.d.ts +6 -2
- package/dist/types/plugin/internal.d.ts +8 -3
- package/dist/types/plugin/supervisor.d.ts +1 -1
- package/dist/types/provider.d.ts +1 -3
- package/dist/types/pty.d.ts +1 -8
- package/dist/types/session/compaction.d.ts +13 -9
- package/dist/types/session/execution.d.ts +6 -4
- package/dist/types/session/generate-node.d.ts +2 -2
- package/dist/types/session/history.d.ts +0 -4
- package/dist/types/session/inbox.d.ts +2 -182
- package/dist/types/session/model-request.d.ts +38 -10
- package/dist/types/session/run-coordinator.d.ts +8 -12
- package/dist/types/session/runner/model.d.ts +1 -0
- package/dist/types/session/title.d.ts +1 -1
- package/dist/types/session/transfer.d.ts +0 -2
- package/dist/types/shell/select.d.ts +13 -1
- package/dist/types/shell.d.ts +5 -10
- package/dist/types/snapshot.d.ts +5 -1
- package/dist/types/tool-output.d.ts +9 -1
- package/dist/util/array.js +1 -1
- package/dist/util/error.js +2 -2
- package/dist/util/identifier.js +1 -1
- package/dist/util/iife.js +2 -2
- package/dist/util/lazy.js +2 -2
- package/dist/util/process-lock-ffi.bun.js +1 -1
- package/dist/util/process-lock-ffi.node.js +1 -1
- package/dist/util/process-lock-ffi.workerd.js +1 -1
- package/dist/util/process-lock.js +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 +11 -11
- package/dist/chunks/session-4s0z3f63.js +0 -126
- package/dist/chunks/session-7h4qt921.js +0 -72
- package/dist/chunks/session-nj1s64cz.js +0 -112
- /package/dist/chunks/{session-0cgt0xh2.js → workspace-0cgt0xh2.js} +0 -0
- /package/dist/chunks/{session-0f48qthw.js → workspace-0f48qthw.js} +0 -0
- /package/dist/chunks/{session-0zz82cjq.js → workspace-0zz82cjq.js} +0 -0
- /package/dist/chunks/{session-1fb7bmpf.js → workspace-1fb7bmpf.js} +0 -0
- /package/dist/chunks/{session-1wcz8fvj.js → workspace-1wcz8fvj.js} +0 -0
- /package/dist/chunks/{session-2qdx6zz3.js → workspace-2qdx6zz3.js} +0 -0
- /package/dist/chunks/{session-3c4nztf9.js → workspace-3c4nztf9.js} +0 -0
- /package/dist/chunks/{session-3g3rpp2x.js → workspace-3g3rpp2x.js} +0 -0
- /package/dist/chunks/{session-3q6gbwmd.js → workspace-3q6gbwmd.js} +0 -0
- /package/dist/chunks/{session-3w3ybtfd.js → workspace-3w3ybtfd.js} +0 -0
- /package/dist/chunks/{session-47ty4mvs.js → workspace-47ty4mvs.js} +0 -0
- /package/dist/chunks/{session-4b2tz2m9.js → workspace-4b2tz2m9.js} +0 -0
- /package/dist/chunks/{session-4zg0gww9.js → workspace-4zg0gww9.js} +0 -0
- /package/dist/chunks/{session-5a5ch9ts.js → workspace-5a5ch9ts.js} +0 -0
- /package/dist/chunks/{session-5va1yh78.js → workspace-5va1yh78.js} +0 -0
- /package/dist/chunks/{session-69qrqpw0.js → workspace-69qrqpw0.js} +0 -0
- /package/dist/chunks/{session-6yt963b8.js → workspace-6yt963b8.js} +0 -0
- /package/dist/chunks/{session-7n9qwqk4.js → workspace-7n9qwqk4.js} +0 -0
- /package/dist/chunks/{session-8nn8kqcn.js → workspace-8nn8kqcn.js} +0 -0
- /package/dist/chunks/{session-8sj3ajy5.js → workspace-8sj3ajy5.js} +0 -0
- /package/dist/chunks/{session-8w9tzfz1.js → workspace-8w9tzfz1.js} +0 -0
- /package/dist/chunks/{session-906y0b6d.js → workspace-906y0b6d.js} +0 -0
- /package/dist/chunks/{session-9dct5xhx.js → workspace-9dct5xhx.js} +0 -0
- /package/dist/chunks/{session-9sdtsapf.js → workspace-9sdtsapf.js} +0 -0
- /package/dist/chunks/{session-a02svayp.js → workspace-a02svayp.js} +0 -0
- /package/dist/chunks/{session-a83yvq99.js → workspace-a83yvq99.js} +0 -0
- /package/dist/chunks/{session-ayevdmef.js → workspace-ayevdmef.js} +0 -0
- /package/dist/chunks/{session-b02txbh8.js → workspace-b02txbh8.js} +0 -0
- /package/dist/chunks/{session-bbqs2y60.js → workspace-bbqs2y60.js} +0 -0
- /package/dist/chunks/{session-brsh5f65.js → workspace-brsh5f65.js} +0 -0
- /package/dist/chunks/{session-bxdhjb3y.js → workspace-bxdhjb3y.js} +0 -0
- /package/dist/chunks/{session-c77ad0vh.js → workspace-c77ad0vh.js} +0 -0
- /package/dist/chunks/{session-cm67rqy2.js → workspace-cm67rqy2.js} +0 -0
- /package/dist/chunks/{session-d6s8p2vk.js → workspace-d6s8p2vk.js} +0 -0
- /package/dist/chunks/{session-dbah77c1.js → workspace-dbah77c1.js} +0 -0
- /package/dist/chunks/{session-df3v2q6j.js → workspace-df3v2q6j.js} +0 -0
- /package/dist/chunks/{session-dhcq6c44.js → workspace-dhcq6c44.js} +0 -0
- /package/dist/chunks/{session-dht5baf0.js → workspace-dht5baf0.js} +0 -0
- /package/dist/chunks/{session-dkmkay92.js → workspace-dkmkay92.js} +0 -0
- /package/dist/chunks/{session-ecxv0vtt.js → workspace-ecxv0vtt.js} +0 -0
- /package/dist/chunks/{session-ehj9csmv.js → workspace-ehj9csmv.js} +0 -0
- /package/dist/chunks/{session-em6xpscd.js → workspace-em6xpscd.js} +0 -0
- /package/dist/chunks/{session-emmqknsm.js → workspace-emmqknsm.js} +0 -0
- /package/dist/chunks/{session-ezs3tagn.js → workspace-ezs3tagn.js} +0 -0
- /package/dist/chunks/{session-f14r7hfz.js → workspace-f14r7hfz.js} +0 -0
- /package/dist/chunks/{session-f4cp4g4a.js → workspace-f4cp4g4a.js} +0 -0
- /package/dist/chunks/{session-f84sxdqn.js → workspace-f84sxdqn.js} +0 -0
- /package/dist/chunks/{session-faypg4r1.js → workspace-faypg4r1.js} +0 -0
- /package/dist/chunks/{session-g7k9te92.js → workspace-g7k9te92.js} +0 -0
- /package/dist/chunks/{session-gd5xeqc2.js → workspace-gd5xeqc2.js} +0 -0
- /package/dist/chunks/{session-ghm4673n.js → workspace-ghm4673n.js} +0 -0
- /package/dist/chunks/{session-ghwjy7my.js → workspace-ghwjy7my.js} +0 -0
- /package/dist/chunks/{session-gy500k2r.js → workspace-gy500k2r.js} +0 -0
- /package/dist/chunks/{session-hzeg9cfr.js → workspace-hzeg9cfr.js} +0 -0
- /package/dist/chunks/{session-j07kk359.js → workspace-j07kk359.js} +0 -0
- /package/dist/chunks/{session-jve7t217.js → workspace-jve7t217.js} +0 -0
- /package/dist/chunks/{session-kpdbz7gn.js → workspace-kpdbz7gn.js} +0 -0
- /package/dist/chunks/{session-kxy11nzk.js → workspace-kxy11nzk.js} +0 -0
- /package/dist/chunks/{session-kyyqvx4s.js → workspace-kyyqvx4s.js} +0 -0
- /package/dist/chunks/{session-m8cbvarh.js → workspace-m8cbvarh.js} +0 -0
- /package/dist/chunks/{session-ma07p6tt.js → workspace-ma07p6tt.js} +0 -0
- /package/dist/chunks/{session-ma60vzgv.js → workspace-ma60vzgv.js} +0 -0
- /package/dist/chunks/{session-n3m50c2t.js → workspace-n3m50c2t.js} +0 -0
- /package/dist/chunks/{session-nkm1m8dz.js → workspace-nkm1m8dz.js} +0 -0
- /package/dist/chunks/{session-nsc0c3zb.js → workspace-nsc0c3zb.js} +0 -0
- /package/dist/chunks/{session-qaarhjrp.js → workspace-qaarhjrp.js} +0 -0
- /package/dist/chunks/{session-qc167nrn.js → workspace-qc167nrn.js} +0 -0
- /package/dist/chunks/{session-qp95y4jb.js → workspace-qp95y4jb.js} +0 -0
- /package/dist/chunks/{session-r8f4w671.js → workspace-r8f4w671.js} +0 -0
- /package/dist/chunks/{session-rdfev9jy.js → workspace-rdfev9jy.js} +0 -0
- /package/dist/chunks/{session-rvfvac9x.js → workspace-rvfvac9x.js} +0 -0
- /package/dist/chunks/{session-s7whb9gt.js → workspace-s7whb9gt.js} +0 -0
- /package/dist/chunks/{session-se76j685.js → workspace-se76j685.js} +0 -0
- /package/dist/chunks/{session-sem2g21k.js → workspace-sem2g21k.js} +0 -0
- /package/dist/chunks/{session-tmb1f636.js → workspace-tmb1f636.js} +0 -0
- /package/dist/chunks/{session-ttxf0gsy.js → workspace-ttxf0gsy.js} +0 -0
- /package/dist/chunks/{session-tvmhrvfj.js → workspace-tvmhrvfj.js} +0 -0
- /package/dist/chunks/{session-v2adqbbe.js → workspace-v2adqbbe.js} +0 -0
- /package/dist/chunks/{session-vkvb1sb3.js → workspace-vkvb1sb3.js} +0 -0
- /package/dist/chunks/{session-wj4sxzqa.js → workspace-wj4sxzqa.js} +0 -0
- /package/dist/chunks/{session-wwntjmk1.js → workspace-wwntjmk1.js} +0 -0
- /package/dist/chunks/{session-wyqjaaa5.js → workspace-wyqjaaa5.js} +0 -0
- /package/dist/chunks/{session-x4q807cx.js → workspace-x4q807cx.js} +0 -0
- /package/dist/chunks/{session-xhz3jyrc.js → workspace-xhz3jyrc.js} +0 -0
- /package/dist/chunks/{session-yrqrg4vp.js → workspace-yrqrg4vp.js} +0 -0
- /package/dist/chunks/{session-z47nswr2.js → workspace-z47nswr2.js} +0 -0
- /package/dist/chunks/{session-zsf8rs93.js → workspace-zsf8rs93.js} +0 -0
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export * as ConfigShellPlugin from "./shell.js";
|
|
2
|
+
import { Config } from "../../config.js";
|
|
3
|
+
import { ShellSelect } from "../../shell/select.js";
|
|
4
|
+
export declare const Plugin: import("@opencode-ai/plugin/effect/plugin").Plugin<import("effect/Scope").Scope | ShellSelect.Service | Config.Service>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export * as ConfigSnapshotPlugin from "./snapshot.js";
|
|
2
|
+
import { Config } from "../../config.js";
|
|
3
|
+
import { Snapshot } from "../../snapshot.js";
|
|
4
|
+
export declare const Plugin: import("@opencode-ai/plugin/effect/plugin").Plugin<import("effect/Scope").Scope | Config.Service | Snapshot.Service>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export * as ConfigToolOutputPlugin from "./tool-output.js";
|
|
2
|
+
import { Config } from "../../config.js";
|
|
3
|
+
import { ToolOutput } from "../../tool-output.js";
|
|
4
|
+
export declare const Plugin: import("@opencode-ai/plugin/effect/plugin").Plugin<import("effect/Scope").Scope | Config.Service | ToolOutput.Service>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export * as FileRetention from "./file-retention.js";
|
|
2
|
+
import { Duration, Effect } from "effect";
|
|
3
|
+
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
4
|
+
export declare const cleanup: (fs: FSUtil.Interface, files: readonly string[], retention: Duration.Input) => Effect.Effect<void, never, never>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export * as LocationWatcherPolicy from "./location-watcher-policy.js";
|
|
2
|
+
import { Context, Effect, Scope } from "effect";
|
|
3
|
+
import { State } from "../state.js";
|
|
4
|
+
export type Draft = {
|
|
5
|
+
add: (ignore: readonly string[]) => void;
|
|
6
|
+
list: () => readonly string[];
|
|
7
|
+
};
|
|
8
|
+
export interface Interface extends State.Transformable<Draft> {
|
|
9
|
+
readonly current: () => readonly string[];
|
|
10
|
+
readonly observe: (listener: (ignore: readonly string[]) => Effect.Effect<void>) => Effect.Effect<State.Registration, never, Scope.Scope>;
|
|
11
|
+
}
|
|
12
|
+
declare const Service_base: Context.ServiceClass<Service, "@opencode/LocationWatcherPolicy", Interface>;
|
|
13
|
+
export declare class Service extends Service_base {
|
|
14
|
+
}
|
|
15
|
+
export declare const node: import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
|
package/dist/types/kv.d.ts
CHANGED
|
@@ -1,10 +1,24 @@
|
|
|
1
1
|
export * as KV from "./kv.js";
|
|
2
2
|
import { Context, Effect, Schema } from "effect";
|
|
3
3
|
export type Value = Schema.Json;
|
|
4
|
+
export interface Entry {
|
|
5
|
+
readonly key: string;
|
|
6
|
+
readonly value: Value;
|
|
7
|
+
}
|
|
8
|
+
export interface ScanOptions {
|
|
9
|
+
readonly prefix: string;
|
|
10
|
+
readonly after?: string;
|
|
11
|
+
readonly limit?: number;
|
|
12
|
+
}
|
|
13
|
+
export interface ScanResult {
|
|
14
|
+
readonly entries: readonly Entry[];
|
|
15
|
+
readonly next?: string;
|
|
16
|
+
}
|
|
4
17
|
export interface Interface {
|
|
5
18
|
readonly get: (key: string) => Effect.Effect<Value | undefined>;
|
|
6
19
|
readonly set: (key: string, value: Value) => Effect.Effect<void>;
|
|
7
20
|
readonly remove: (key: string) => Effect.Effect<void>;
|
|
21
|
+
readonly scan: (options: ScanOptions) => Effect.Effect<ScanResult>;
|
|
8
22
|
}
|
|
9
23
|
declare const Service_base: Context.ServiceClass<Service, "@opencode/KV", Interface>;
|
|
10
24
|
export declare class Service extends Service_base {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Context, Layer, LayerMap } from "effect";
|
|
2
2
|
import { LayerNode } from "@opencode-ai/util/effect/layer-node";
|
|
3
3
|
import { Location } from "./location.js";
|
|
4
|
-
declare const Service_base: Context.ServiceClass<Service, "@opencode/example/LocationServiceMap", LayerMap.LayerMap<Location.Ref, Location.Service | import("./agent.js").Service | import("./aisdk.js").Service | import("./form.js").Service | import("./integration.js").Service | import("./catalog.js").Service | import("./environment/environment.js").Service | import("./mcp/index.js").Service | import("./
|
|
4
|
+
declare const Service_base: Context.ServiceClass<Service, "@opencode/example/LocationServiceMap", LayerMap.LayerMap<Location.Ref, Location.Service | import("./agent.js").Service | import("./aisdk.js").Service | import("./form.js").Service | import("./integration.js").Service | import("./catalog.js").Service | import("./environment/environment.js").Service | import("./mcp/index.js").Service | import("./shell/select.js").Service | import("./command.js").Service | import("./config.js").Service | import("./file-mutation.js").Service | import("./filesystem/search.js").Service | import("./filesystem.js").Service | import("./formatter.js").Service | import("./model-resolver.js").Service | import("./generate.js").Service | import("./image.js").Service | import("./instruction-discovery.js").Service | import("./location-mutation.js").Service | import("./plugin/supervisor-service.js").Service | import("./session/runner/model.js").Service | import("./session/runner/index.js").Service | import("./permission.js").Service | import("./reference.js").Service | import("./websearch.js").Service | import("./plugin.js").Service | import("./skill.js").Service | import("./tool.js").Service | import("./tool/read-filesystem.js").Service | import("./session/instructions.js").Service | import("./shell.js").Service | import("./session/compaction.js").Service | import("./snapshot.js").Service | import("./tool-output.js").Service | import("./pty.js").Service | import("./instructions/builtins.js").Service | import("./skill/instructions.js").Service | import("./reference/instructions.js").Service | import("./session/instruction-entry.js").Service | import("./session/generate.js").Service | import("./tool/mcp.js").Service | import("./session/model-transport.js").Service | import("./session/title.js").Service | import("./vcs.js").Service | import("./filesystem/location-watcher.js").Service, never>>;
|
|
5
5
|
export declare class Service extends Service_base {
|
|
6
|
-
static get(ref: Location.Ref): Layer.Layer<Location.Service | import("./agent.js").Service | import("./aisdk.js").Service | import("./form.js").Service | import("./integration.js").Service | import("./catalog.js").Service | import("./environment/environment.js").Service | import("./mcp/index.js").Service | import("./
|
|
6
|
+
static get(ref: Location.Ref): Layer.Layer<Location.Service | import("./agent.js").Service | import("./aisdk.js").Service | import("./form.js").Service | import("./integration.js").Service | import("./catalog.js").Service | import("./environment/environment.js").Service | import("./mcp/index.js").Service | import("./shell/select.js").Service | import("./command.js").Service | import("./config.js").Service | import("./file-mutation.js").Service | import("./filesystem/search.js").Service | import("./filesystem.js").Service | import("./formatter.js").Service | import("./model-resolver.js").Service | import("./generate.js").Service | import("./image.js").Service | import("./instruction-discovery.js").Service | import("./location-mutation.js").Service | import("./plugin/supervisor-service.js").Service | import("./session/runner/model.js").Service | import("./session/runner/index.js").Service | import("./permission.js").Service | import("./reference.js").Service | import("./websearch.js").Service | import("./plugin.js").Service | import("./skill.js").Service | import("./tool.js").Service | import("./tool/read-filesystem.js").Service | import("./session/instructions.js").Service | import("./shell.js").Service | import("./session/compaction.js").Service | import("./snapshot.js").Service | import("./tool-output.js").Service | import("./pty.js").Service | import("./instructions/builtins.js").Service | import("./skill/instructions.js").Service | import("./reference/instructions.js").Service | import("./session/instruction-entry.js").Service | import("./session/generate.js").Service | import("./tool/mcp.js").Service | import("./session/model-transport.js").Service | import("./session/title.js").Service | import("./vcs.js").Service | import("./filesystem/location-watcher.js").Service, never, Service>;
|
|
7
7
|
}
|
|
8
8
|
export declare const node: LayerNode.Node<Service, never, LayerNode.Tag<"global">>;
|
|
9
9
|
export * as LocationServiceMap from "./location-service-map.js";
|
|
@@ -25,6 +25,7 @@ import { Plugin } from "./plugin.js";
|
|
|
25
25
|
import { PluginSupervisor } from "./plugin/supervisor.js";
|
|
26
26
|
import { Pty } from "./pty.js";
|
|
27
27
|
import { Shell } from "./shell.js";
|
|
28
|
+
import { ShellSelect } from "./shell/select.js";
|
|
28
29
|
import { Reference } from "./reference.js";
|
|
29
30
|
import { WebSearch } from "./websearch.js";
|
|
30
31
|
import { ReferenceInstructions } from "./reference/instructions.js";
|
|
@@ -45,7 +46,7 @@ import { Tool } from "./tool.js";
|
|
|
45
46
|
import { ToolOutput } from "./tool-output.js";
|
|
46
47
|
import { Vcs } from "./vcs.js";
|
|
47
48
|
export { LocationServiceMap } from "./location-service-map.js";
|
|
48
|
-
export declare const locationServices: LayerNode.Node<Location.Service | Agent.Service | AISDK.Service | Form.Service | Integration.Service | Catalog.Service | Environment.Service | MCP.Service |
|
|
49
|
+
export declare const locationServices: LayerNode.Node<Location.Service | Agent.Service | AISDK.Service | Form.Service | Integration.Service | Catalog.Service | Environment.Service | MCP.Service | ShellSelect.Service | Command.Service | Config.Service | FileMutation.Service | FileSystemSearch.Service | FileSystem.Service | Formatter.Service | ModelResolver.Service | Generate.Service | Image.Service | InstructionDiscovery.Service | LocationMutation.Service | PluginSupervisor.Service | SessionRunnerModel.Service | import("./session/runner/index.js").Service | Permission.Service | Reference.Service | WebSearch.Service | Plugin.Service | Skill.Service | Tool.Service | ReadToolFileSystem.Service | SessionInstructions.Service | Shell.Service | SessionCompaction.Service | Snapshot.Service | ToolOutput.Service | Pty.Service | InstructionBuiltIns.Service | SkillInstructions.Service | ReferenceInstructions.Service | InstructionEntry.Service | import("./session/generate.js").Service | McpTool.Service | SessionModelTransport.Service | SessionTitle.Service | Vcs.Service | LocationWatcher.Service, never, LayerNode.Tag<"location">>;
|
|
49
50
|
export type LocationServices = LayerNode.Output<typeof locationServices>;
|
|
50
51
|
export type LocationError = LayerNode.Error<typeof locationServices>;
|
|
51
52
|
export declare function buildLocationServiceMap(replacements?: LayerNode.Replacements): Layer.Layer<LocationServiceMap.Service>;
|
|
@@ -78,6 +78,8 @@ export interface Resolved {
|
|
|
78
78
|
readonly capabilities: Capabilities;
|
|
79
79
|
/** Catalog pricing in dollars per million tokens. */
|
|
80
80
|
readonly cost: Info["cost"];
|
|
81
|
+
/** Catalog token limits used by Core for context management. */
|
|
82
|
+
readonly limit: Info["limit"];
|
|
81
83
|
}
|
|
82
84
|
export interface Interface {
|
|
83
85
|
readonly resolve: (requested?: Ref) => Effect.Effect<Resolved | undefined, Error>;
|
|
@@ -93,9 +95,7 @@ export interface Dependencies {
|
|
|
93
95
|
}
|
|
94
96
|
export declare const fromCatalogModel: (model: Info, credential?: Credential.Value, dependencies?: Dependencies) => Effect.Effect<LanguageModel, UnsupportedPackageError | UnresolvedProviderVariablesError>;
|
|
95
97
|
export declare const resolveModel: (model: Info, variant: VariantID | undefined, credential?: Credential.Value, dependencies?: Dependencies) => Effect.Effect<LanguageModel<{
|
|
96
|
-
readonly [x: string]:
|
|
97
|
-
readonly [x: string]: unknown;
|
|
98
|
-
};
|
|
98
|
+
readonly [x: string]: unknown;
|
|
99
99
|
}>, VariantUnavailableError | UnsupportedPackageError | UnresolvedProviderVariablesError, never>;
|
|
100
100
|
export declare const supported: (model: Info) => boolean;
|
|
101
101
|
/** Resolves catalog selections into runtime models for the current Location. */
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * as PluginHost from "./host.js";
|
|
2
|
+
import { Plugin } from "@opencode-ai/plugin/effect";
|
|
2
3
|
import { EventManifest } from "@opencode-ai/schema/event-manifest";
|
|
3
4
|
import { App } from "../app.js";
|
|
4
5
|
import { Effect, Stream } from "effect";
|
|
@@ -8,6 +9,7 @@ import { Catalog } from "../catalog.js";
|
|
|
8
9
|
import { Command } from "../command.js";
|
|
9
10
|
import { Bus } from "../bus.js";
|
|
10
11
|
import { Integration } from "../integration.js";
|
|
12
|
+
import { KV } from "../kv.js";
|
|
11
13
|
import { Location } from "../location.js";
|
|
12
14
|
import { Model } from "../model.js";
|
|
13
15
|
import { MCP } from "../mcp/index.js";
|
|
@@ -17,7 +19,7 @@ import { Skill } from "../skill.js";
|
|
|
17
19
|
import { Tool } from "../tool.js";
|
|
18
20
|
import { WebSearch } from "../websearch.js";
|
|
19
21
|
import { PluginHooks } from "./hooks.js";
|
|
20
|
-
export declare const make: (plugin: import("../plugin.js").Interface) => Effect.Effect<{
|
|
22
|
+
export declare const make: (plugin: import("../plugin.js").Interface, pluginID?: string | undefined) => Effect.Effect<{
|
|
21
23
|
app: App.Info;
|
|
22
24
|
options: {};
|
|
23
25
|
agent: {
|
|
@@ -253,6 +255,7 @@ export declare const make: (plugin: import("../plugin.js").Interface) => Effect.
|
|
|
253
255
|
reload: import("../state.js").Reload;
|
|
254
256
|
transform: (callback: (input: import("@opencode-ai/plugin/effect/skill").SkillDraft) => void) => Effect.Effect<import("../state.js").Registration, never, import("effect/Scope").Scope>;
|
|
255
257
|
};
|
|
258
|
+
storage: import("@opencode-ai/plugin/effect/storage").StorageDomain;
|
|
256
259
|
shell: {
|
|
257
260
|
hook: <Name extends "create.before">(name: Name, callback: (input: import("@opencode-ai/plugin/effect/shell").ShellHooks[Name]) => Effect.Effect<void, Record<"create.before", never>[Name], never>) => Effect.Effect<import("../state.js").Registration, never, import("effect/Scope").Scope>;
|
|
258
261
|
};
|
|
@@ -321,4 +324,5 @@ export declare const make: (plugin: import("../plugin.js").Interface) => Effect.
|
|
|
321
324
|
interrupt: (input: import("@opencode-ai/client/effect/api").Endpoint5_32Input) => Effect.Effect<void, never, never>;
|
|
322
325
|
wait: (input: import("@opencode-ai/client/effect/api").Endpoint5_18Input) => Effect.Effect<void, import("../session.js").NotFoundError, never>;
|
|
323
326
|
};
|
|
324
|
-
}, never, Bus.Service | Location.Service | Agent.Service | AISDK.Service | Integration.Service | Catalog.Service | MCP.Service | Command.Service | Reference.Service | WebSearch.Service | PluginRuntime.Service | Skill.Service | PluginHooks.Service | Tool.Service>;
|
|
327
|
+
}, never, Bus.Service | Location.Service | Agent.Service | AISDK.Service | Integration.Service | Catalog.Service | MCP.Service | Command.Service | KV.Service | Reference.Service | WebSearch.Service | PluginRuntime.Service | Skill.Service | PluginHooks.Service | Tool.Service>;
|
|
328
|
+
export declare function storage(kv: KV.Interface, pluginID: string): Plugin.Context["storage"];
|
|
@@ -16,6 +16,7 @@ import { FileMutation } from "../file-mutation.js";
|
|
|
16
16
|
import { Formatter } from "../formatter.js";
|
|
17
17
|
import { Form } from "../form.js";
|
|
18
18
|
import { FileSystem } from "../filesystem.js";
|
|
19
|
+
import { LocationWatcherPolicy } from "../filesystem/location-watcher-policy.js";
|
|
19
20
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
20
21
|
import { Global } from "@opencode-ai/util/global";
|
|
21
22
|
import { Image } from "../image.js";
|
|
@@ -31,21 +32,25 @@ import { Permission } from "../permission.js";
|
|
|
31
32
|
import { Reference } from "../reference.js";
|
|
32
33
|
import { WebSearch } from "../websearch.js";
|
|
33
34
|
import { Ripgrep } from "../ripgrep.js";
|
|
35
|
+
import { SessionCompaction } from "../session/compaction.js";
|
|
34
36
|
import { SessionInstructions } from "../session/instructions.js";
|
|
35
37
|
import { Shell } from "../shell.js";
|
|
38
|
+
import { ShellSelect } from "../shell/select.js";
|
|
39
|
+
import { Snapshot } from "../snapshot.js";
|
|
36
40
|
import { Skill } from "../skill.js";
|
|
37
41
|
import { SkillDiscovery } from "../skill/discovery.js";
|
|
38
42
|
import { Watcher } from "../filesystem/watcher.js";
|
|
39
43
|
import { ReadToolFileSystem } from "../tool/read-filesystem.js";
|
|
40
44
|
import { Tool } from "../tool.js";
|
|
45
|
+
import { ToolOutput } from "../tool-output.js";
|
|
41
46
|
import { WellKnown } from "../wellknown.js";
|
|
42
47
|
import { PluginRuntime } from "./runtime.js";
|
|
43
|
-
declare const services: () => Effect.Effect<Context.Context<Global.Service | HttpClient.HttpClient | FSUtil.Service | AppProcess.Service | Bus.Service | Location.Service | Agent.Service | Npm.Service | Credential.Service | Form.Service | Integration.Service | Catalog.Service | Environment.Service | MCP.Service |
|
|
48
|
+
declare const services: () => Effect.Effect<Context.Context<Global.Service | HttpClient.HttpClient | FSUtil.Service | AppProcess.Service | Bus.Service | Location.Service | Agent.Service | Npm.Service | Credential.Service | Form.Service | Integration.Service | Catalog.Service | Environment.Service | MCP.Service | ShellSelect.Service | Command.Service | Watcher.Service | KV.Service | WellKnown.Service | Config.Service | FileMutation.Service | Ripgrep.Service | FileSystem.Service | Formatter.Service | Image.Service | InstructionDiscovery.Service | LocationMutation.Service | ConfigPluginSource.Service | Permission.Service | Reference.Service | WebSearch.Service | PluginRuntime.Service | Skill.Service | Tool.Service | ModelsDev.Service | ReadToolFileSystem.Service | SessionInstructions.Service | Shell.Service | LocationWatcherPolicy.Service | SessionCompaction.Service | Snapshot.Service | SkillDiscovery.Service | ToolOutput.Service>, never, Global.Service | HttpClient.HttpClient | FSUtil.Service | AppProcess.Service | Bus.Service | Location.Service | Agent.Service | Npm.Service | Credential.Service | Form.Service | Integration.Service | Catalog.Service | Environment.Service | MCP.Service | ShellSelect.Service | Command.Service | Watcher.Service | KV.Service | WellKnown.Service | Config.Service | FileMutation.Service | Ripgrep.Service | FileSystem.Service | Formatter.Service | Image.Service | InstructionDiscovery.Service | LocationMutation.Service | ConfigPluginSource.Service | Permission.Service | Reference.Service | WebSearch.Service | PluginRuntime.Service | Skill.Service | Tool.Service | ModelsDev.Service | ReadToolFileSystem.Service | SessionInstructions.Service | Shell.Service | LocationWatcherPolicy.Service | SessionCompaction.Service | Snapshot.Service | SkillDiscovery.Service | ToolOutput.Service>;
|
|
44
49
|
type ContextServices<A> = A extends Context.Context<infer R> ? R : never;
|
|
45
50
|
export type Requirements = ContextServices<Effect.Success<ReturnType<typeof services>>>;
|
|
46
|
-
export declare const requirements: LayerNode.Node<Global.Service | HttpClient.HttpClient | FSUtil.Service | AppProcess.Service | Bus.Service | Location.Service | Agent.Service | Npm.Service | Credential.Service | Form.Service | Integration.Service | Catalog.Service | Environment.Service | MCP.Service |
|
|
51
|
+
export declare const requirements: LayerNode.Node<Global.Service | HttpClient.HttpClient | FSUtil.Service | AppProcess.Service | Bus.Service | Location.Service | Agent.Service | Npm.Service | Credential.Service | Form.Service | Integration.Service | Catalog.Service | Environment.Service | MCP.Service | ShellSelect.Service | Command.Service | Watcher.Service | KV.Service | WellKnown.Service | Config.Service | FileMutation.Service | Ripgrep.Service | FileSystem.Service | Formatter.Service | Image.Service | InstructionDiscovery.Service | LocationMutation.Service | ConfigPluginSource.Service | Permission.Service | Reference.Service | WebSearch.Service | PluginRuntime.Service | Skill.Service | Tool.Service | ModelsDev.Service | ReadToolFileSystem.Service | SessionInstructions.Service | Shell.Service | LocationWatcherPolicy.Service | SessionCompaction.Service | Snapshot.Service | SkillDiscovery.Service | ToolOutput.Service, never, LayerNode.Tag<"global"> | LayerNode.Tag<"location">>;
|
|
47
52
|
export type InternalPlugin = Plugin<Requirements | Scope.Scope>;
|
|
48
53
|
export declare const list: () => Effect.Effect<{
|
|
49
54
|
pre: Plugin<Scope.Scope>[];
|
|
50
55
|
post: Plugin<Scope.Scope>[];
|
|
51
|
-
}, never, Global.Service | HttpClient.HttpClient | FSUtil.Service | AppProcess.Service | Bus.Service | Location.Service | Agent.Service | Npm.Service | Credential.Service | Form.Service | Integration.Service | Catalog.Service | Environment.Service | MCP.Service |
|
|
56
|
+
}, never, Global.Service | HttpClient.HttpClient | FSUtil.Service | AppProcess.Service | Bus.Service | Location.Service | Agent.Service | Npm.Service | Credential.Service | Form.Service | Integration.Service | Catalog.Service | Environment.Service | MCP.Service | ShellSelect.Service | Command.Service | Watcher.Service | KV.Service | WellKnown.Service | Config.Service | FileMutation.Service | Ripgrep.Service | FileSystem.Service | Formatter.Service | Image.Service | InstructionDiscovery.Service | LocationMutation.Service | ConfigPluginSource.Service | Permission.Service | Reference.Service | WebSearch.Service | PluginRuntime.Service | Skill.Service | Tool.Service | ModelsDev.Service | ReadToolFileSystem.Service | SessionInstructions.Service | Shell.Service | LocationWatcherPolicy.Service | SessionCompaction.Service | Snapshot.Service | SkillDiscovery.Service | ToolOutput.Service>;
|
|
@@ -7,5 +7,5 @@ import { Npm } from "@opencode-ai/util/npm";
|
|
|
7
7
|
import { Plugin } from "../plugin.js";
|
|
8
8
|
import { SdkPlugins } from "./sdk.js";
|
|
9
9
|
import { Service } from "./supervisor-service.js";
|
|
10
|
-
export declare const layer: Layer.Layer<Service, never, import("@opencode-ai/util/global").Service | import("effect/unstable/http/HttpClient").HttpClient | import("@opencode-ai/util/fs-util").FSUtil.Service | import("@opencode-ai/util/process").Service | Bus.Service | import("../location.js").Service | import("../agent.js").Service | Npm.Service | import("../credential.js").Service | import("../form.js").Service | import("../integration.js").Service | import("../catalog.js").Service | import("../environment/environment.js").Service | import("../mcp/index.js").Service | import("../
|
|
10
|
+
export declare const layer: Layer.Layer<Service, never, import("@opencode-ai/util/global").Service | import("effect/unstable/http/HttpClient").HttpClient | import("@opencode-ai/util/fs-util").FSUtil.Service | import("@opencode-ai/util/process").Service | Bus.Service | import("../location.js").Service | import("../agent.js").Service | Npm.Service | import("../credential.js").Service | import("../form.js").Service | import("../integration.js").Service | import("../catalog.js").Service | import("../environment/environment.js").Service | import("../mcp/index.js").Service | import("../shell/select.js").Service | import("../command.js").Service | import("../filesystem/watcher.js").Service | import("../kv.js").Service | import("../wellknown.js").Service | import("../config.js").Service | import("../file-mutation.js").Service | import("../ripgrep.js").Service | import("../filesystem.js").Service | import("../formatter.js").Service | import("../image.js").Service | import("../instruction-discovery.js").Service | import("../location-mutation.js").Service | ConfigPluginSource.Service | import("../permission.js").Service | import("../reference.js").Service | import("../websearch.js").Service | Plugin.Service | import("./runtime.js").Service | import("../skill.js").Service | import("../tool.js").Service | SdkPlugins.Service | import("../models-dev.js").Service | import("../tool/read-filesystem.js").Service | import("../session/instructions.js").Service | import("../shell.js").Service | import("../filesystem/location-watcher-policy.js").Service | import("../session/compaction.js").Service | import("../snapshot.js").Service | import("../skill/discovery.js").Service | import("../tool-output.js").Service>;
|
|
11
11
|
export declare const node: import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
|
package/dist/types/provider.d.ts
CHANGED
|
@@ -33,9 +33,7 @@ export declare class LoadError extends LoadError_base {
|
|
|
33
33
|
}
|
|
34
34
|
export type ProviderPackage = ProviderPackageDefinition;
|
|
35
35
|
export declare const loadPackage: (specifier: string, npm?: Npm.Interface | undefined) => Effect.Effect<ProviderPackageDefinition<import("@opencode-ai/ai").ProviderPackageSettings, {
|
|
36
|
-
readonly [x: string]:
|
|
37
|
-
readonly [x: string]: unknown;
|
|
38
|
-
};
|
|
36
|
+
readonly [x: string]: unknown;
|
|
39
37
|
}>, LoadError, never>;
|
|
40
38
|
export declare function mergeOverlay(base: Readonly<Record<string, unknown>> | undefined, overlay: Readonly<Record<string, unknown>> | undefined): Record<string, Json> | undefined;
|
|
41
39
|
export declare function mergeHeaders(base: Readonly<Record<string, string>> | undefined, overlay: Readonly<Record<string, string>> | undefined): {
|
package/dist/types/pty.d.ts
CHANGED
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
export * as Pty from "./pty.js";
|
|
2
|
-
import { Context, Effect,
|
|
3
|
-
import { Config } from "./config.js";
|
|
4
|
-
import { Bus } from "./bus.js";
|
|
5
|
-
import { Location } from "./location.js";
|
|
2
|
+
import { Context, Effect, Schema, Types } from "effect";
|
|
6
3
|
import { PtyID } from "./pty/schema.js";
|
|
7
|
-
import { ShellSelect } from "./shell/select.js";
|
|
8
|
-
import { Global } from "@opencode-ai/util/global";
|
|
9
4
|
export declare const Info: Schema.Struct<{
|
|
10
5
|
readonly id: Schema.brand<Schema.String, "PtyID"> & {
|
|
11
6
|
create: () => string & import("effect/Brand").Brand<"PtyID">;
|
|
@@ -82,6 +77,4 @@ export interface Interface {
|
|
|
82
77
|
declare const Service_base: Context.ServiceClass<Service, "@opencode/Pty", Interface>;
|
|
83
78
|
export declare class Service extends Service_base {
|
|
84
79
|
}
|
|
85
|
-
export declare const layer: (options?: ShellSelect.Options) => Layer.Layer<Service, never, Global.Service | Bus.Service | Location.Service | Config.Service>;
|
|
86
|
-
export declare function configured(options?: ShellSelect.Options): import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
|
|
87
80
|
export declare const node: import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
|
|
@@ -1,19 +1,23 @@
|
|
|
1
1
|
export * as SessionCompaction from "./compaction.js";
|
|
2
|
-
import { type LanguageModel } from "@opencode-ai/ai";
|
|
3
2
|
import { Context, Effect, Layer } from "effect";
|
|
4
|
-
import { Config } from "../config.js";
|
|
5
3
|
import { Bus } from "../bus.js";
|
|
6
4
|
import type { SessionMessage } from "./message.js";
|
|
7
5
|
import { SessionRunnerModel } from "./runner/model.js";
|
|
8
6
|
import { SessionSchema } from "./schema.js";
|
|
9
|
-
import type { Info, Ref } from "../model.js";
|
|
10
7
|
import { PluginHooks } from "../plugin/hooks.js";
|
|
8
|
+
import { State } from "../state.js";
|
|
9
|
+
export type Settings = {
|
|
10
|
+
auto: boolean;
|
|
11
|
+
buffer: number;
|
|
12
|
+
tokens: number;
|
|
13
|
+
};
|
|
14
|
+
export type Draft = {
|
|
15
|
+
configure: (settings: Partial<Settings>) => void;
|
|
16
|
+
};
|
|
11
17
|
export type AutoInput = {
|
|
12
18
|
readonly session: SessionSchema.Info;
|
|
13
19
|
readonly messages: readonly SessionMessage.Info[];
|
|
14
|
-
readonly
|
|
15
|
-
readonly ref: Ref;
|
|
16
|
-
readonly cost: Info["cost"];
|
|
20
|
+
readonly resolved: SessionRunnerModel.Resolved;
|
|
17
21
|
};
|
|
18
22
|
export type ManualInput = {
|
|
19
23
|
readonly session: SessionSchema.Info;
|
|
@@ -21,9 +25,9 @@ export type ManualInput = {
|
|
|
21
25
|
readonly inputID: SessionMessage.ID;
|
|
22
26
|
readonly started?: boolean;
|
|
23
27
|
};
|
|
24
|
-
type RequiredInput =
|
|
28
|
+
type RequiredInput = Pick<AutoInput, "messages" | "resolved">;
|
|
25
29
|
export type Outcome = Pick<SessionMessage.CompactionCompleted, "status"> | Pick<SessionMessage.CompactionFailed, "status" | "error">;
|
|
26
|
-
export interface Interface {
|
|
30
|
+
export interface Interface extends State.Transformable<Draft> {
|
|
27
31
|
readonly required: (input: RequiredInput) => boolean;
|
|
28
32
|
readonly compact: (input: AutoInput) => Effect.Effect<Outcome>;
|
|
29
33
|
readonly compactManual: (input: ManualInput) => Effect.Effect<Outcome>;
|
|
@@ -36,5 +40,5 @@ export declare const buildPrompt: (input: {
|
|
|
36
40
|
readonly previousSummary?: string;
|
|
37
41
|
readonly context: readonly string[];
|
|
38
42
|
}) => string;
|
|
39
|
-
export declare const layer: Layer.Layer<Service, never, Bus.Service | import("@opencode-ai/ai").LLMClientService |
|
|
43
|
+
export declare const layer: Layer.Layer<Service, never, Bus.Service | import("@opencode-ai/ai").LLMClientService | SessionRunnerModel.Service | PluginHooks.Service>;
|
|
40
44
|
export declare const node: import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
|
|
@@ -13,9 +13,11 @@ export interface Interface {
|
|
|
13
13
|
readonly resume: (sessionID: SessionSchema.ID) => Effect.Effect<void, SessionRunner.RunError>;
|
|
14
14
|
/** Registers newly recorded work. Repeated wakeups may coalesce. */
|
|
15
15
|
readonly wake: (sessionID: SessionSchema.ID) => Effect.Effect<void>;
|
|
16
|
-
/**
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
/**
|
|
17
|
+
* Interrupt active work owned by this process. Idle interruption is a no-op. Resolves once
|
|
18
|
+
* the interruption is accepted; cleanup settles asynchronously in the execution fiber.
|
|
19
|
+
* Compose with `awaitIdle` when settlement matters.
|
|
20
|
+
*/
|
|
19
21
|
readonly interrupt: (sessionID: SessionSchema.ID, options?: {
|
|
20
22
|
readonly continue?: boolean;
|
|
21
23
|
}) => Effect.Effect<void>;
|
|
@@ -26,7 +28,7 @@ declare const Service_base: Context.ServiceClass<Service, "@opencode/SessionExec
|
|
|
26
28
|
/** Routes execution from a Session ID to the runner owned by that Session's Location. */
|
|
27
29
|
export declare class Service extends Service_base {
|
|
28
30
|
}
|
|
29
|
-
type InterruptReason = "user" | "shutdown"
|
|
31
|
+
type InterruptReason = "user" | "shutdown";
|
|
30
32
|
export declare function terminal(exit: Exit.Exit<void, SessionRunner.RunError>, reason?: InterruptReason): {
|
|
31
33
|
type: "succeeded";
|
|
32
34
|
reason?: undefined;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export * as SessionGenerateNode from "./generate-node.js";
|
|
2
2
|
import { Layer } from "effect";
|
|
3
3
|
import { Database } from "../database/database.js";
|
|
4
|
-
import { PluginHooks } from "../plugin/hooks.js";
|
|
5
4
|
import { SessionContext } from "./context.js";
|
|
6
5
|
import { SessionGenerate } from "./generate.js";
|
|
6
|
+
import { SessionModelRequest } from "./model-request.js";
|
|
7
7
|
import { SessionRunnerModel } from "./runner/model.js";
|
|
8
|
-
export declare const layer: Layer.Layer<SessionGenerate.Service, never, Database.Service | import("@opencode-ai/ai").LLMClientService | SessionRunnerModel.Service |
|
|
8
|
+
export declare const layer: Layer.Layer<SessionGenerate.Service, never, Database.Service | import("@opencode-ai/ai").LLMClientService | SessionRunnerModel.Service | SessionModelRequest.Service | SessionContext.Service>;
|
|
9
9
|
export declare const node: import("@opencode-ai/util/effect/layer-node").Node<SessionGenerate.Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
|
|
@@ -99,7 +99,6 @@ export declare const load: (db: import("../database/drizzle.js").EffectSQLiteDat
|
|
|
99
99
|
readonly skills?: readonly {
|
|
100
100
|
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
101
101
|
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
102
|
-
readonly text: string;
|
|
103
102
|
readonly mention?: {
|
|
104
103
|
readonly start: number;
|
|
105
104
|
readonly end: number;
|
|
@@ -450,7 +449,6 @@ export declare const entriesForRunner: (db: import("../database/drizzle.js").Eff
|
|
|
450
449
|
readonly skills?: readonly {
|
|
451
450
|
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
452
451
|
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
453
|
-
readonly text: string;
|
|
454
452
|
readonly mention?: {
|
|
455
453
|
readonly start: number;
|
|
456
454
|
readonly end: number;
|
|
@@ -801,7 +799,6 @@ export declare const preview: (db: import("../database/drizzle.js").EffectSQLite
|
|
|
801
799
|
readonly skills?: readonly {
|
|
802
800
|
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
803
801
|
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
804
|
-
readonly text: string;
|
|
805
802
|
readonly mention?: {
|
|
806
803
|
readonly start: number;
|
|
807
804
|
readonly end: number;
|
|
@@ -1098,7 +1095,6 @@ export declare const firstUserMessage: (db: import("../database/drizzle.js").Eff
|
|
|
1098
1095
|
readonly skills?: readonly {
|
|
1099
1096
|
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
1100
1097
|
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
1101
|
-
readonly text: string;
|
|
1102
1098
|
readonly mention?: {
|
|
1103
1099
|
readonly start: number;
|
|
1104
1100
|
readonly end: number;
|