@opencode-ai/core 0.0.0-beta-17823 → 0.0.0-beta-17898
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +2 -2
- package/dist/agent.js +73 -72
- package/dist/aisdk-native.js +3 -3
- package/dist/aisdk.js +4 -4
- package/dist/app.js +2 -2
- package/dist/bus.js +71 -70
- package/dist/catalog.js +81 -80
- package/dist/chunks/{bus-02dbfq60.js → shell-02dbfq60.js} +1 -1
- package/dist/chunks/{bus-qp4w20e0.js → shell-02s4hv33.js} +7 -7
- package/dist/chunks/{bus-0b17sr9d.js → shell-0b17sr9d.js} +2 -2
- package/dist/chunks/{bus-n0pq9mwy.js → shell-0bmdcyan.js} +8 -14
- package/dist/chunks/{bus-0kvmztkf.js → shell-0kvmztkf.js} +1 -1
- package/dist/chunks/{bus-cake6fs9.js → shell-0rn5nyg1.js} +5 -5
- package/dist/chunks/{bus-xd2xkk7n.js → shell-0v6jcyd7.js} +4 -5
- package/dist/chunks/{bus-n744begs.js → shell-0vem89v9.js} +4 -4
- package/dist/chunks/{bus-n2w8fz38.js → shell-0vgt3zn6.js} +2 -2
- package/dist/chunks/{bus-18pv8fg3.js → shell-18pv8fg3.js} +2 -2
- package/dist/chunks/{bus-wh0zhxcg.js → shell-1a3a2s70.js} +2 -2
- package/dist/chunks/{bus-gwj8nfkp.js → shell-1geabwjm.js} +8 -8
- package/dist/chunks/{bus-kyy2az1w.js → shell-1pzxdzrs.js} +5 -5
- package/dist/chunks/{bus-md8xze4k.js → shell-1yr8gs1w.js} +7 -7
- package/dist/chunks/{bus-4hc8axh8.js → shell-209jfnqy.js} +67 -35
- package/dist/chunks/{bus-sgvnccme.js → shell-220t9fan.js} +12 -21
- package/dist/chunks/{bus-25pxtba7.js → shell-25pxtba7.js} +1 -1
- package/dist/chunks/{bus-2nmyybe0.js → shell-2nmyybe0.js} +1 -1
- package/dist/chunks/{bus-9bpmq09z.js → shell-2r0r061q.js} +91 -87
- package/dist/chunks/{bus-2akqrmqf.js → shell-2ya5073c.js} +1 -1
- package/dist/chunks/{bus-t2ccr6s6.js → shell-2zf7hxjt.js} +4 -4
- package/dist/chunks/{bus-q33mk6d8.js → shell-3172p7em.js} +12 -10
- package/dist/chunks/{bus-gp1p5nz4.js → shell-37e9hbzs.js} +2 -2
- package/dist/chunks/{bus-gn16fasc.js → shell-3bffppe7.js} +4 -4
- package/dist/chunks/{bus-7xm5mbbb.js → shell-3d1t6jqf.js} +3 -3
- package/dist/chunks/{bus-3g8vftxb.js → shell-3g8vftxb.js} +2 -2
- package/dist/chunks/{bus-atc09b0q.js → shell-3gsv1x0v.js} +2 -2
- package/dist/chunks/{bus-cgfda2sn.js → shell-3pnhr3n3.js} +6 -6
- package/dist/chunks/{bus-2m10tm2s.js → shell-3rj19b10.js} +5 -5
- package/dist/chunks/{bus-3thh6229.js → shell-3thh6229.js} +2 -2
- package/dist/chunks/{bus-rcvvhx6c.js → shell-3yyz51tb.js} +20 -16
- package/dist/chunks/{bus-8hssvxkg.js → shell-4amsmytf.js} +16 -17
- package/dist/chunks/{bus-ck1pqn60.js → shell-4fk52cm2.js} +25 -17
- package/dist/chunks/{bus-48wxp1m2.js → shell-4j7te1s0.js} +3 -3
- package/dist/chunks/{bus-4s2xwh5d.js → shell-4s2xwh5d.js} +3 -3
- package/dist/chunks/{bus-4zzdwbaz.js → shell-4zzdwbaz.js} +2 -2
- package/dist/chunks/{bus-2krkn5gv.js → shell-5068qe83.js} +8 -8
- package/dist/chunks/{bus-50jxp3hw.js → shell-50jxp3hw.js} +1 -1
- package/dist/chunks/{bus-fjtxtbhx.js → shell-50qcmj3d.js} +3 -3
- package/dist/chunks/{bus-57tzwnz4.js → shell-57tzwnz4.js} +1 -1
- package/dist/chunks/{bus-tcn24h1d.js → shell-58xdvehb.js} +2 -3
- package/dist/chunks/{bus-trb1bzw9.js → shell-5ae01h8y.js} +8 -8
- package/dist/chunks/{bus-prf9bavk.js → shell-5fe026tx.js} +3 -3
- package/dist/chunks/{bus-f8knj356.js → shell-5fyhynta.js} +2 -2
- package/dist/chunks/{bus-pqtsv9by.js → shell-5gx46sa4.js} +9 -9
- package/dist/chunks/{bus-j9hz4v7z.js → shell-5kq8mnd6.js} +7 -7
- package/dist/chunks/{bus-5rs65q6p.js → shell-5rs65q6p.js} +1 -1
- package/dist/chunks/{bus-tqvcb8j8.js → shell-5s07m6n6.js} +8 -6
- package/dist/chunks/{bus-5vcssjzn.js → shell-5vcssjzn.js} +1 -1
- package/dist/chunks/{bus-95jpn1bs.js → shell-5xj4z3ke.js} +4 -4
- package/dist/chunks/{bus-p0zqjz05.js → shell-5xrsrne4.js} +3 -3
- package/dist/chunks/{bus-ceh687qc.js → shell-63kqc3ew.js} +16 -14
- package/dist/chunks/{bus-ph1me6ah.js → shell-65re92qg.js} +6 -4
- package/dist/chunks/{bus-wxb49pcv.js → shell-66zj4vqt.js} +84 -83
- package/dist/chunks/{bus-05egcjvj.js → shell-6bfns177.js} +7 -7
- package/dist/chunks/{bus-46kxywyk.js → shell-6ex42xv3.js} +11 -11
- package/dist/chunks/{bus-4qce6znw.js → shell-6js9hgcv.js} +10 -16
- package/dist/chunks/{bus-6ky7rqk7.js → shell-6ky7rqk7.js} +1 -1
- package/dist/chunks/{bus-pksqhf5j.js → shell-6nx0wney.js} +17 -14
- package/dist/chunks/{bus-6q0m15b3.js → shell-6q0m15b3.js} +1 -1
- package/dist/chunks/{bus-5yea2tah.js → shell-6x98y149.js} +2 -2
- package/dist/chunks/shell-6zqxzw0a.js +15 -0
- package/dist/chunks/{bus-phkhjjkz.js → shell-711fwhe7.js} +13 -13
- package/dist/chunks/{bus-73eahnvp.js → shell-790va5tj.js} +6 -7
- package/dist/chunks/{bus-e3pt0j5y.js → shell-79bydzg6.js} +28 -22
- package/dist/chunks/{bus-9thznc6f.js → shell-7g91x1tk.js} +4 -4
- package/dist/chunks/{bus-7gqqz1s8.js → shell-7gqqz1s8.js} +1 -1
- package/dist/chunks/{bus-rxf53ctm.js → shell-7hjwv14r.js} +5 -5
- package/dist/chunks/{bus-7mrpdsq5.js → shell-7mrpdsq5.js} +1 -1
- package/dist/chunks/{bus-wbddvyfn.js → shell-7p61v8vq.js} +9 -7
- package/dist/chunks/{bus-3ewxjzxn.js → shell-7v6y1nab.js} +2 -2
- package/dist/chunks/{bus-7wcmqxrc.js → shell-7wcmqxrc.js} +1 -1
- package/dist/chunks/{bus-pey90rx3.js → shell-7zgwmfba.js} +5 -5
- package/dist/chunks/{bus-gn83211g.js → shell-8283he2p.js} +10 -10
- package/dist/chunks/{bus-m8eb5ktf.js → shell-830zsmcx.js} +8 -8
- package/dist/chunks/{bus-88jbfw8z.js → shell-88jbfw8z.js} +2 -2
- package/dist/chunks/{bus-hsyk7kfz.js → shell-8bkmtpp6.js} +5 -5
- package/dist/chunks/{bus-rt6yg6j2.js → shell-8bqpm1yy.js} +3 -3
- package/dist/chunks/{bus-3r3ecpec.js → shell-8dgyzkg7.js} +10 -11
- package/dist/chunks/{bus-bmweayxc.js → shell-8gp1tmat.js} +3 -3
- package/dist/chunks/{bus-tg6hejda.js → shell-8jdp4exx.js} +5 -5
- package/dist/chunks/{bus-dwn7kn0q.js → shell-8kvb3kpz.js} +66 -66
- package/dist/chunks/{bus-8v47shgf.js → shell-8v47shgf.js} +2 -2
- package/dist/chunks/{bus-9cey77cq.js → shell-8vxc42m8.js} +8 -8
- package/dist/chunks/{bus-999qd968.js → shell-999qd968.js} +1 -1
- package/dist/chunks/{bus-9f0rnpkn.js → shell-9f0rnpkn.js} +1 -1
- package/dist/chunks/{bus-0em3xb1n.js → shell-9hjs539m.js} +44 -44
- package/dist/chunks/{bus-ven12e56.js → shell-9jn94c6e.js} +8 -8
- package/dist/chunks/{bus-v332cd3m.js → shell-9nyzp4f1.js} +9 -9
- package/dist/chunks/{bus-gz765asg.js → shell-9p8mhgdp.js} +1 -1
- package/dist/chunks/{bus-qn7g8h3c.js → shell-9qdbbtgt.js} +4 -4
- package/dist/chunks/{bus-nzn9vp0h.js → shell-a0mjc8jk.js} +10 -10
- package/dist/chunks/{bus-m8mm853q.js → shell-as6g1q19.js} +10 -10
- package/dist/chunks/{bus-ayfwnm78.js → shell-ayfwnm78.js} +2 -2
- package/dist/chunks/{bus-zjvgdt9p.js → shell-b7hsw5bk.js} +22 -38
- package/dist/chunks/{bus-vyw6gc2g.js → shell-bbnsnjbg.js} +10 -8
- package/dist/chunks/{bus-wrfx3tf4.js → shell-bdecp8h7.js} +3 -3
- package/dist/chunks/{bus-dyz5q1tb.js → shell-bh1wr8rq.js} +3 -6
- package/dist/chunks/{bus-tr2j01af.js → shell-bm0vvenf.js} +7 -5
- package/dist/chunks/{bus-byab506k.js → shell-byab506k.js} +1 -1
- package/dist/chunks/{bus-1c00jchy.js → shell-c4wcb9vc.js} +3 -3
- package/dist/chunks/{bus-e24rm1tf.js → shell-c6gknnhe.js} +2 -2
- package/dist/chunks/{bus-0b6ye7sf.js → shell-c9tk9ghs.js} +3 -3
- package/dist/chunks/{bus-d9a0aqm5.js → shell-cbhevk0s.js} +22 -22
- package/dist/chunks/{bus-7q3nz0jj.js → shell-cef6zhn8.js} +20 -16
- package/dist/chunks/{bus-qw06pdhp.js → shell-ck5pgha0.js} +1 -1
- package/dist/chunks/{bus-19e1vard.js → shell-cke3skfe.js} +3 -7
- package/dist/chunks/{bus-r2sj0wvy.js → shell-cr9jqwwg.js} +8 -8
- package/dist/chunks/{bus-nk6yb8jk.js → shell-cve546b2.js} +2 -2
- package/dist/chunks/{bus-cz3dkvcz.js → shell-cz3dkvcz.js} +1 -1
- package/dist/chunks/{bus-eyk9wdct.js → shell-d2gk9vpf.js} +4 -5
- package/dist/chunks/{bus-23pj99w1.js → shell-dc9xj4bb.js} +5 -5
- package/dist/chunks/{bus-tchczry9.js → shell-detf2h18.js} +3 -3
- package/dist/chunks/{bus-2h2vssdq.js → shell-dh1w6wm7.js} +2 -2
- package/dist/chunks/{bus-dhphtf1x.js → shell-dhphtf1x.js} +1 -1
- package/dist/chunks/{bus-sfbv6a2b.js → shell-djkt4gex.js} +4 -6
- package/dist/chunks/{bus-hq5052b7.js → shell-djr9ryes.js} +146 -146
- package/dist/chunks/{bus-5f5thcby.js → shell-dq6pq1ha.js} +8 -8
- package/dist/chunks/{bus-7yf7nmr6.js → shell-dqw471kr.js} +2 -2
- package/dist/chunks/{bus-cpzngvr9.js → shell-dspx55rh.js} +8 -8
- package/dist/chunks/{bus-943bxw84.js → shell-dtg1kwd0.js} +5 -5
- package/dist/chunks/{bus-1h0r72pv.js → shell-dyrphakh.js} +11 -17
- package/dist/chunks/{bus-y9esm2mp.js → shell-dz79bk2h.js} +7 -7
- package/dist/chunks/{bus-e1z9a0ts.js → shell-e1z9a0ts.js} +2 -2
- package/dist/chunks/{bus-mkpz73zj.js → shell-eatng4rc.js} +5 -5
- package/dist/chunks/{bus-e93xz9yp.js → shell-ebgg8pbd.js} +17 -18
- package/dist/chunks/{bus-ec8vrfw5.js → shell-ec8vrfw5.js} +1 -1
- package/dist/chunks/{bus-cwdq890m.js → shell-ee4agh14.js} +31 -31
- package/dist/chunks/{bus-zkkkcc8p.js → shell-epzxjdf4.js} +4 -4
- package/dist/chunks/{bus-erj4j75s.js → shell-erj4j75s.js} +1 -1
- package/dist/chunks/{bus-v9sqx51q.js → shell-evpp5e4j.js} +8 -8
- package/dist/chunks/{bus-tenv3kfs.js → shell-f9wt0tjw.js} +2 -2
- package/dist/chunks/{bus-t30cm89f.js → shell-ffskttry.js} +8 -8
- package/dist/chunks/{bus-5hnhk0jf.js → shell-fjp8t082.js} +4 -4
- package/dist/chunks/{bus-27v6rhsm.js → shell-fwpmn9q0.js} +8 -8
- package/dist/chunks/{bus-8k08086v.js → shell-g7t6p8r2.js} +1 -1
- package/dist/chunks/{bus-g9yygpzr.js → shell-g9yygpzr.js} +1 -1
- package/dist/chunks/{bus-veg0dp2c.js → shell-gbwgaky4.js} +29 -29
- package/dist/chunks/{bus-gcay93cp.js → shell-gcay93cp.js} +1 -1
- package/dist/chunks/{bus-gd2xppx8.js → shell-gd2xppx8.js} +1 -1
- package/dist/chunks/{bus-fqxzsdmq.js → shell-gg8gy1ab.js} +2 -2
- package/dist/chunks/{bus-ng2qt8pw.js → shell-ggms6fy6.js} +6 -6
- package/dist/chunks/{bus-ra765m8n.js → shell-gqqtsjcv.js} +17 -17
- package/dist/chunks/{bus-3ahf14k8.js → shell-grtsyap5.js} +4 -4
- package/dist/chunks/{bus-73a2hz0p.js → shell-h29hc4c4.js} +12 -12
- package/dist/chunks/{bus-x6ts3ckt.js → shell-hf9sg3ah.js} +11 -11
- package/dist/chunks/{bus-zqh29h4g.js → shell-hhxt27np.js} +2 -3
- package/dist/chunks/{bus-wb4dbzpz.js → shell-hp6rpdnc.js} +5 -3
- package/dist/chunks/{bus-d0r2hzy0.js → shell-jf35ek5b.js} +2 -2
- package/dist/chunks/{bus-fk3tzmrv.js → shell-jh4hd405.js} +18 -22
- package/dist/chunks/{bus-jssy2dr3.js → shell-jssy2dr3.js} +2 -2
- package/dist/chunks/{bus-f9et6cts.js → shell-k2b2gvsk.js} +26 -5
- package/dist/chunks/{bus-g7k9te92.js → shell-k3e42drn.js} +1 -2
- package/dist/chunks/{bus-xg45bpe0.js → shell-k3gd1d7h.js} +23 -25
- package/dist/chunks/{bus-g5d54sdx.js → shell-k42t1tha.js} +2 -2
- package/dist/chunks/{bus-dq22jep7.js → shell-k99zwphc.js} +34 -21
- package/dist/chunks/{bus-dcprj0dg.js → shell-kdqcfxa2.js} +97 -70
- package/dist/chunks/{bus-kg1345f7.js → shell-kg1345f7.js} +1 -1
- package/dist/chunks/shell-kp1t5rcy.js +20 -0
- package/dist/chunks/{bus-as47syxa.js → shell-kth9w0ve.js} +11 -11
- package/dist/chunks/{bus-mcq6xj16.js → shell-me73t37g.js} +13 -11
- package/dist/chunks/{bus-mf0hyk7z.js → shell-mf0hyk7z.js} +1 -1
- package/dist/chunks/{bus-d1vv73bz.js → shell-mfng8748.js} +4 -4
- package/dist/chunks/{bus-mh28new4.js → shell-mh28new4.js} +2 -2
- package/dist/chunks/{bus-mnb85w6b.js → shell-mnb85w6b.js} +2 -2
- package/dist/chunks/{bus-7vtcgg65.js → shell-mvvavdgv.js} +1 -1
- package/dist/chunks/{bus-mwceq5am.js → shell-mwceq5am.js} +1 -1
- package/dist/chunks/{bus-mxvw03gv.js → shell-mxvw03gv.js} +1 -1
- package/dist/chunks/{bus-egasbfm0.js → shell-myy7gz76.js} +3 -3
- package/dist/chunks/{bus-19qgjfzv.js → shell-nbnrtycc.js} +2 -2
- package/dist/chunks/{bus-80ngqr8j.js → shell-ncafer7e.js} +8 -8
- package/dist/chunks/{bus-a3p3qcfz.js → shell-nd5ktsh6.js} +2 -2
- package/dist/chunks/{bus-nesb2rcz.js → shell-nesb2rcz.js} +2 -2
- package/dist/chunks/{bus-brqpbqpa.js → shell-nmp3pq73.js} +3 -3
- package/dist/chunks/{bus-nr76rjj3.js → shell-nr76rjj3.js} +2 -2
- package/dist/chunks/{bus-qgt32wwf.js → shell-nrkas8zm.js} +4 -4
- package/dist/chunks/{bus-nzrjycs5.js → shell-nzrjycs5.js} +1 -1
- package/dist/chunks/{bus-r1kmqz8y.js → shell-p06h0yv1.js} +4 -4
- package/dist/chunks/{bus-p27xxkqg.js → shell-p27xxkqg.js} +3 -3
- package/dist/chunks/{bus-pfqehjmy.js → shell-pfqehjmy.js} +2 -2
- package/dist/chunks/{bus-pq4b4pqk.js → shell-pq4b4pqk.js} +2 -2
- package/dist/chunks/{bus-jqkpryhn.js → shell-q07sa4nq.js} +4 -4
- package/dist/chunks/{bus-z5d5bw72.js → shell-q3qn6wst.js} +12 -11
- package/dist/chunks/{bus-3jcy51m6.js → shell-q7m7y7bp.js} +50 -38
- package/dist/chunks/{bus-kc4zdy65.js → shell-qc773rax.js} +2 -2
- package/dist/chunks/{bus-qe0d689s.js → shell-qe0d689s.js} +2 -2
- package/dist/chunks/{bus-f2kz495y.js → shell-qhdqjp31.js} +7 -8
- package/dist/chunks/{bus-jyf48vpz.js → shell-qqq259pr.js} +1 -1
- package/dist/chunks/{bus-r3k9abhd.js → shell-r3k9abhd.js} +2 -2
- package/dist/chunks/{bus-h8ecejt5.js → shell-rahat93a.js} +1 -1
- package/dist/chunks/{bus-c0h8k03q.js → shell-rcxbxw6h.js} +20 -21
- package/dist/chunks/{bus-7vdhadbr.js → shell-rd2h700y.js} +8 -6
- package/dist/chunks/{bus-706a4azd.js → shell-rfbm65k8.js} +1 -1
- package/dist/chunks/{bus-jt4wm1df.js → shell-rn9r0ddn.js} +2 -2
- package/dist/chunks/{bus-ryap75b3.js → shell-ryap75b3.js} +1 -1
- package/dist/chunks/{bus-d88ta3k5.js → shell-s0fr47ba.js} +8 -8
- package/dist/chunks/{bus-s33fw6zm.js → shell-s33fw6zm.js} +1 -1
- package/dist/chunks/{bus-ftqx1cne.js → shell-s3mcfgz8.js} +8 -13
- package/dist/chunks/{bus-e9yfe4g9.js → shell-s4hn1693.js} +11 -9
- package/dist/chunks/{bus-x2c0q89n.js → shell-s80cews2.js} +8 -8
- package/dist/chunks/{bus-xvphkvkz.js → shell-sd4w0449.js} +10 -10
- package/dist/chunks/{bus-1mxyy099.js → shell-skx0sgf9.js} +11 -11
- package/dist/chunks/{bus-smpeg8c9.js → shell-smpeg8c9.js} +2 -2
- package/dist/chunks/{bus-sw84ckhj.js → shell-sw84ckhj.js} +1 -1
- package/dist/chunks/{bus-dman5pj0.js → shell-swj2q685.js} +120 -132
- package/dist/chunks/{bus-t14kykx1.js → shell-t14kykx1.js} +1 -1
- package/dist/chunks/{bus-t066q9hw.js → shell-tb33ng7x.js} +2 -2
- package/dist/chunks/{bus-thstd87d.js → shell-thstd87d.js} +1 -1
- package/dist/chunks/{bus-b25zdeh7.js → shell-tjjf1q77.js} +1 -1
- package/dist/chunks/{bus-n11z769x.js → shell-tr7n7mhv.js} +3 -3
- package/dist/chunks/{bus-x8pw55re.js → shell-tr9ydts7.js} +3 -3
- package/dist/chunks/{bus-0v9t0j92.js → shell-txnw2tq4.js} +15 -15
- package/dist/chunks/{bus-v2wshkax.js → shell-v2wshkax.js} +1 -1
- package/dist/chunks/{bus-v80zsxnb.js → shell-v80zsxnb.js} +1 -1
- package/dist/chunks/{bus-v972xay6.js → shell-v972xay6.js} +1 -1
- package/dist/chunks/{bus-v9bfv94f.js → shell-v9bfv94f.js} +1 -1
- package/dist/chunks/{bus-96x57j49.js → shell-v9hhvee2.js} +5 -5
- package/dist/chunks/{bus-55ypd0k6.js → shell-vkt6dm0r.js} +10 -10
- package/dist/chunks/{bus-f05p34aa.js → shell-vqbmgfq1.js} +3 -3
- package/dist/chunks/{bus-eacxen1d.js → shell-vt9scczg.js} +8 -8
- package/dist/chunks/{bus-w7shx321.js → shell-vvsfcjpt.js} +3 -3
- package/dist/chunks/{bus-vz89hfgr.js → shell-vz89hfgr.js} +1 -1
- package/dist/chunks/{bus-vd085d0a.js → shell-w91mqgsg.js} +21 -25
- package/dist/chunks/{bus-xhs8426p.js → shell-w9hyvhqs.js} +11 -11
- package/dist/chunks/{bus-qyzajttf.js → shell-w9y74cg7.js} +7 -7
- package/dist/chunks/{bus-bx2a89z7.js → shell-wba0ce2b.js} +21 -17
- package/dist/chunks/{bus-wd268jeg.js → shell-wd268jeg.js} +1 -1
- package/dist/chunks/{bus-anf7mnj5.js → shell-wdfzfg1a.js} +21 -25
- package/dist/chunks/{bus-wmxdh12w.js → shell-wmxdh12w.js} +1 -1
- package/dist/chunks/{bus-mye11gf8.js → shell-wpdkgnmd.js} +6 -4
- package/dist/chunks/{bus-wps8gh8n.js → shell-wps8gh8n.js} +2 -2
- package/dist/chunks/{bus-3jxrc0qq.js → shell-wr6834ek.js} +3 -3
- package/dist/chunks/{bus-eceszhsw.js → shell-wwz56m5j.js} +7 -7
- package/dist/chunks/{bus-6k923qe9.js → shell-wyd1zrpn.js} +12 -13
- package/dist/chunks/{bus-704hbswx.js → shell-x3rvp8nk.js} +4 -4
- package/dist/chunks/{bus-xczfw7dq.js → shell-xczfw7dq.js} +1 -1
- package/dist/chunks/{bus-ste2kqtd.js → shell-xf8gbxer.js} +6 -6
- package/dist/chunks/{bus-xgv25zxy.js → shell-xgv25zxy.js} +1 -1
- package/dist/chunks/{bus-vw66b17v.js → shell-xhcmemw8.js} +13 -13
- package/dist/chunks/{bus-tc8t62xv.js → shell-xnxgs5ba.js} +5 -5
- package/dist/chunks/{bus-zgz5w7jt.js → shell-xrdjjnxd.js} +12 -12
- package/dist/chunks/{bus-xhz3jyrc.js → shell-xt0068v8.js} +4 -6
- package/dist/chunks/{bus-xwftk1fd.js → shell-xwftk1fd.js} +2 -2
- package/dist/chunks/{bus-xxpvz42q.js → shell-xxpvz42q.js} +3 -3
- package/dist/chunks/{bus-pd67jw04.js → shell-xyyp9mnn.js} +3 -3
- package/dist/chunks/{bus-y0x38cee.js → shell-y0x38cee.js} +1 -1
- package/dist/chunks/{bus-y198y2ra.js → shell-y198y2ra.js} +1 -1
- package/dist/chunks/{bus-awwx6pea.js → shell-y4edq2wm.js} +9 -9
- package/dist/chunks/{bus-wcv7f5r5.js → shell-y6666dnd.js} +3 -3
- package/dist/chunks/{bus-y67x6rf6.js → shell-y67x6rf6.js} +1 -1
- package/dist/chunks/{bus-y8rs54ne.js → shell-y8rs54ne.js} +1 -1
- package/dist/chunks/{bus-y980s7ka.js → shell-y980s7ka.js} +3 -3
- package/dist/chunks/{bus-a65h300v.js → shell-ybhfpy64.js} +5 -3
- package/dist/chunks/{bus-6dssp8bm.js → shell-yck38qmc.js} +38 -38
- package/dist/chunks/{bus-yf0knd5z.js → shell-yf0knd5z.js} +2 -2
- package/dist/chunks/{bus-bs3z4wp1.js → shell-yfgc2fgs.js} +26 -21
- package/dist/chunks/{bus-2te62yba.js → shell-yga5vyw3.js} +6 -6
- package/dist/chunks/{bus-9d2xhdr4.js → shell-ygy0xbqa.js} +6 -3
- package/dist/chunks/{bus-ded9e5ma.js → shell-z24ajzga.js} +31 -33
- package/dist/chunks/{bus-rnqjp4cw.js → shell-z7rsfd7z.js} +3 -3
- package/dist/chunks/{bus-ecxv0vtt.js → shell-z8fm0r70.js} +3 -0
- package/dist/chunks/{bus-zbqqnp0n.js → shell-zbqqnp0n.js} +1 -1
- package/dist/chunks/{bus-zdkg1k91.js → shell-zdkg1k91.js} +1 -1
- package/dist/chunks/{bus-51y8ay1x.js → shell-zdv7yvrc.js} +37 -39
- package/dist/chunks/{bus-zfxc0ze5.js → shell-zfxc0ze5.js} +1 -1
- package/dist/chunks/{bus-4tmgtgw2.js → shell-zg2xmf9j.js} +5 -5
- package/dist/chunks/{bus-zxe9jjhn.js → shell-zxe9jjhn.js} +2 -2
- package/dist/codemode/catalog.js +2 -2
- package/dist/codemode/instructions.js +4 -4
- package/dist/codemode/tool.js +3 -3
- package/dist/command.js +99 -98
- package/dist/config/markdown.js +2 -2
- package/dist/config/normalize.js +20 -20
- package/dist/config/plugin/agent.js +132 -131
- package/dist/config/plugin/command.js +129 -128
- package/dist/config/plugin/compaction.js +168 -170
- package/dist/config/plugin/entry-observer.js +119 -0
- package/dist/config/plugin/formatter.js +117 -115
- package/dist/config/plugin/image.js +128 -126
- package/dist/config/plugin/instruction.js +88 -87
- package/dist/config/plugin/location-watcher.js +115 -113
- package/dist/config/plugin/mcp.js +125 -124
- package/dist/config/plugin/policy.js +114 -112
- package/dist/config/plugin/provider.js +113 -111
- package/dist/config/plugin/reference.js +117 -115
- package/dist/config/plugin/shell.js +116 -114
- package/dist/config/plugin/skill-file.js +105 -104
- package/dist/config/plugin/skill.js +135 -134
- package/dist/config/plugin/snapshot.js +115 -113
- package/dist/config/plugin/source.js +112 -111
- package/dist/config/plugin/tool-output.js +117 -115
- package/dist/config/plugin/websearch.js +113 -111
- package/dist/config/variable.js +4 -4
- package/dist/config.js +111 -110
- package/dist/credential/sql.js +3 -3
- package/dist/credential.js +71 -70
- package/dist/database/database.js +68 -67
- package/dist/database/drizzle/effect-sqlite/driver.js +16 -16
- package/dist/database/drizzle/effect-sqlite/index.js +16 -16
- package/dist/database/drizzle/effect-sqlite/migrator.js +15 -15
- package/dist/database/drizzle/effect-sqlite/session.js +15 -15
- package/dist/database/drizzle/index.js +18 -18
- 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 +19 -19
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +2 -2
- package/dist/database/migration/20260211171708_add_project_commands.js +2 -2
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +2 -2
- package/dist/database/migration/20260225215848_workspace.js +2 -2
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +2 -2
- package/dist/database/migration/20260228203230_blue_harpoon.js +2 -2
- package/dist/database/migration/20260303231226_add_workspace_fields.js +2 -2
- package/dist/database/migration/20260309230000_move_org_to_state.js +2 -2
- package/dist/database/migration/20260312043431_session_message_cursor.js +2 -2
- package/dist/database/migration/20260323234822_events.js +2 -2
- package/dist/database/migration/20260410174513_workspace-name.js +2 -2
- package/dist/database/migration/20260413175956_chief_energizer.js +2 -2
- package/dist/database/migration/20260423070820_add_icon_url_override.js +2 -2
- package/dist/database/migration/20260427172553_slow_nightmare.js +2 -2
- package/dist/database/migration/20260428004200_add_session_path.js +2 -2
- package/dist/database/migration/20260501142318_next_venus.js +2 -2
- package/dist/database/migration/20260504145000_add_sync_owner.js +2 -2
- package/dist/database/migration/20260507164347_add_workspace_time.js +2 -2
- package/dist/database/migration/20260510033149_session_usage.js +2 -2
- package/dist/database/migration/20260511000411_data_migration_state.js +2 -2
- package/dist/database/migration/20260511173437_session-metadata.js +2 -2
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +2 -2
- package/dist/database/migration/20260601202201_amazing_prowler.js +2 -2
- package/dist/database/migration/20260602002951_lowly_union_jack.js +2 -2
- package/dist/database/migration/20260602182828_add_project_directories.js +2 -2
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +2 -2
- package/dist/database/migration/20260603040000_session_message_projection_order.js +2 -2
- package/dist/database/migration/20260603141458_session_input_inbox.js +2 -2
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +2 -2
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +2 -2
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +2 -2
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +2 -2
- package/dist/database/migration/20260611035744_credential.js +2 -2
- package/dist/database/migration/20260611192811_lush_chimera.js +2 -2
- package/dist/database/migration/20260612174303_project_dir_strategy.js +2 -2
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +2 -2
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +2 -2
- package/dist/database/migration/20260622202450_simplify_session_input.js +2 -2
- package/dist/database/migration/20260804233008_loose_psylocke.js +2 -2
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +2 -2
- package/dist/database/migration/20260808023530_workspace_domain.js +2 -2
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +2 -2
- package/dist/database/migration/20260812181746_session_inbox.js +2 -2
- package/dist/database/migration/20260812213948_worktree.js +2 -2
- package/dist/database/migration/20260819222447_session_viewed_state.js +7 -0
- package/dist/database/migration.gen.js +47 -46
- package/dist/database/migration.js +49 -48
- package/dist/database/path.js +3 -3
- package/dist/database/schema.gen.js +2 -2
- package/dist/database/schema.sql.js +2 -2
- package/dist/database/sqlite.bun.js +2 -2
- package/dist/database/sqlite.js +2 -2
- package/dist/database/sqlite.node.js +2 -2
- package/dist/database/sqlite.workerd.js +4 -24
- package/dist/database/v1-migration.bun.js +84 -83
- package/dist/database/v1-migration.js +2 -2
- package/dist/database/v1-migration.noop.js +1 -1
- package/dist/effect/app-node-builder.js +334 -338
- package/dist/effect/app-node-platform.js +3 -3
- package/dist/effect/keyed-mutex.js +2 -2
- package/dist/effect/websocket-constructor.js +2 -2
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +89 -88
- package/dist/environment/exec-defaults.js +3 -3
- package/dist/environment/files.js +2 -2
- package/dist/environment/index.js +91 -90
- package/dist/environment/local.js +3 -3
- package/dist/environment/memory.js +3 -3
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +2 -2
- package/dist/event-logger.js +73 -72
- package/dist/file-mutation.js +90 -89
- package/dist/file-retention.js +2 -2
- package/dist/file.js +2 -2
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +2 -2
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +3 -3
- package/dist/filesystem/location-watcher.js +304 -305
- package/dist/filesystem/protected.js +2 -2
- package/dist/filesystem/search.js +94 -93
- package/dist/filesystem/watcher-binding.js +2 -2
- package/dist/filesystem/watcher.js +4 -4
- package/dist/filesystem.js +94 -93
- package/dist/form.js +72 -71
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +83 -82
- package/dist/generate.js +87 -86
- package/dist/git.js +5 -5
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +2 -2
- package/dist/github-copilot/chat/get-response-metadata.js +2 -2
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +2 -2
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +8 -8
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +2 -2
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +2 -2
- package/dist/github-copilot/copilot-provider.js +21 -21
- package/dist/github-copilot/models.js +4 -4
- package/dist/github-copilot/openai-compatible-error.js +2 -2
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +3 -3
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +2 -2
- package/dist/github-copilot/responses/openai-error.js +2 -2
- package/dist/github-copilot/responses/openai-responses-language-model.js +12 -12
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +7 -7
- package/dist/github-copilot/responses/tool/code-interpreter.js +2 -2
- package/dist/github-copilot/responses/tool/file-search.js +2 -2
- package/dist/github-copilot/responses/tool/image-generation.js +2 -2
- package/dist/github-copilot/responses/tool/local-shell.js +2 -2
- package/dist/github-copilot/responses/tool/web-search-preview.js +2 -2
- package/dist/github-copilot/responses/tool/web-search.js +2 -2
- package/dist/id/id.js +2 -2
- package/dist/image/photon-wasm.bun.js +1 -1
- package/dist/image/photon-wasm.node.js +1 -1
- package/dist/image/photon-wasm.workerd.js +1 -1
- package/dist/image/photon.js +96 -95
- package/dist/image.js +96 -95
- package/dist/instruction-discovery.js +75 -74
- package/dist/instructions/builtins.js +84 -83
- package/dist/instructions/index.js +2 -2
- package/dist/integration/connection.js +2 -2
- package/dist/integration.js +78 -77
- package/dist/job.js +4 -4
- package/dist/kv/sql.js +3 -3
- package/dist/kv.js +71 -70
- package/dist/location-mutation.js +82 -81
- package/dist/location-service-map.js +82 -81
- package/dist/location-services.js +329 -331
- package/dist/location.js +81 -80
- package/dist/mcp/client.js +98 -96
- package/dist/mcp/index.js +96 -95
- package/dist/mcp/instructions.js +126 -125
- package/dist/mcp/oauth.js +5 -4
- package/dist/mcp/stdio.js +90 -89
- package/dist/mime.js +2 -2
- package/dist/model-resolver.js +84 -83
- package/dist/model.js +3 -3
- package/dist/models-dev.js +78 -77
- package/dist/oauth/page.js +2 -2
- package/dist/permission/saved.js +82 -81
- package/dist/permission/sql.js +6 -6
- package/dist/permission.js +102 -101
- package/dist/plugin/agent.js +103 -102
- package/dist/plugin/command.js +82 -81
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +165 -163
- package/dist/plugin/internal.js +298 -299
- package/dist/plugin/mcp-codemode-exclusion.js +2 -2
- package/dist/plugin/models-dev.js +79 -78
- package/dist/plugin/plan.js +108 -107
- package/dist/plugin/promise.js +2 -2
- package/dist/plugin/provider/alibaba.js +3 -3
- package/dist/plugin/provider/amazon-bedrock.js +3 -3
- package/dist/plugin/provider/anthropic.js +3 -3
- package/dist/plugin/provider/azure.js +119 -118
- package/dist/plugin/provider/cerebras.js +3 -3
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -119
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -119
- package/dist/plugin/provider/cohere.js +3 -3
- package/dist/plugin/provider/configured.js +117 -116
- package/dist/plugin/provider/deepinfra.js +3 -3
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +2 -2
- package/dist/plugin/provider/gateway.js +3 -3
- package/dist/plugin/provider/github-copilot.js +85 -84
- package/dist/plugin/provider/gitlab.js +4 -4
- package/dist/plugin/provider/google-vertex.js +3 -3
- package/dist/plugin/provider/groq.js +3 -3
- package/dist/plugin/provider/kilo.js +3 -3
- package/dist/plugin/provider/llmgateway.js +80 -79
- package/dist/plugin/provider/lmstudio.js +112 -111
- package/dist/plugin/provider/mistral.js +3 -3
- package/dist/plugin/provider/nvidia.js +3 -3
- package/dist/plugin/provider/ollama.js +112 -111
- package/dist/plugin/provider/openai-compatible.js +2 -2
- package/dist/plugin/provider/openai.js +82 -81
- package/dist/plugin/provider/opencode.js +96 -95
- package/dist/plugin/provider/openrouter.js +4 -4
- package/dist/plugin/provider/perplexity.js +3 -3
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/snowflake-cortex.js +3 -3
- package/dist/plugin/provider/togetherai.js +3 -3
- package/dist/plugin/provider/venice.js +3 -3
- package/dist/plugin/provider/vercel.js +3 -3
- package/dist/plugin/provider/vllm.js +112 -111
- package/dist/plugin/provider/xai.js +81 -80
- package/dist/plugin/provider/zenmux.js +3 -3
- package/dist/plugin/provider.js +158 -157
- package/dist/plugin/runtime.js +154 -152
- package/dist/plugin/sdk.js +72 -71
- package/dist/plugin/skill.js +133 -132
- package/dist/plugin/supervisor-service.js +2 -2
- package/dist/plugin/supervisor.js +303 -304
- package/dist/plugin/system-prompt.js +2 -2
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/warming.js +113 -112
- package/dist/plugin/websearch/exa.js +4 -4
- package/dist/plugin/websearch/firecrawl.js +5 -5
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +3 -3
- package/dist/plugin/websearch/parallel.js +5 -5
- package/dist/plugin/websearch/tavily.js +3 -3
- package/dist/plugin.js +166 -164
- package/dist/project/schema.js +3 -3
- package/dist/project/sql.js +5 -5
- package/dist/project.js +80 -79
- package/dist/provider.js +2 -2
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/pty.bun.js +1 -1
- package/dist/pty/pty.node.js +1 -1
- package/dist/pty/pty.workerd.js +1 -1
- package/dist/pty/schema.js +2 -2
- package/dist/pty/ticket.js +73 -72
- package/dist/pty.js +87 -86
- package/dist/reference/instructions.js +80 -79
- package/dist/reference.js +78 -77
- package/dist/repository-cache.js +7 -7
- package/dist/repository.js +2 -2
- package/dist/ripgrep/binary.js +3 -3
- package/dist/ripgrep.js +92 -91
- package/dist/schema.js +2 -2
- package/dist/session/compaction.js +140 -143
- package/dist/session/context.js +310 -312
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +4 -4
- package/dist/session/event.js +2 -2
- package/dist/session/execution/restart.js +118 -117
- package/dist/session/execution.js +118 -117
- package/dist/session/generate-node.js +311 -313
- package/dist/session/generate.js +2 -2
- package/dist/session/history.js +82 -79
- package/dist/session/inbox.js +80 -79
- package/dist/session/info.js +90 -89
- package/dist/session/instruction-entry.js +83 -76
- package/dist/session/instruction-state.js +10 -10
- package/dist/session/instructions.js +99 -98
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +2 -2
- package/dist/session/model-request.js +136 -139
- package/dist/session/model-transport.js +5 -5
- package/dist/session/projector.js +93 -91
- package/dist/session/prompt-cache-diagnostics.js +2 -2
- package/dist/session/revert.js +88 -87
- package/dist/session/run-coordinator.js +2 -2
- package/dist/session/runner/index.js +87 -86
- package/dist/session/runner/llm.js +316 -318
- package/dist/session/runner/max-steps.js +2 -2
- package/dist/session/runner/model.js +86 -85
- package/dist/session/runner/publish-llm-event.js +4 -4
- package/dist/session/runner/retry.js +75 -74
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +2 -2
- package/dist/session/sql.js +6 -6
- package/dist/session/store.js +98 -97
- package/dist/session/system-prompt.js +2 -2
- package/dist/session/title.js +138 -141
- package/dist/session/to-session-error.js +113 -112
- package/dist/session/transfer.js +170 -159
- package/dist/session/usage.js +2 -2
- package/dist/session.js +155 -151
- package/dist/shell/parse.js +5 -5
- package/dist/shell/parser-wasm.bun.js +1 -1
- package/dist/shell/parser-wasm.node.js +1 -1
- package/dist/shell/parser-wasm.workerd.js +1 -1
- package/dist/{chunks/index-8jqmqb92.js → shell/scan.js} +6 -6
- package/dist/shell/select.js +4 -4
- package/dist/shell.js +97 -96
- package/dist/skill/discovery.js +3 -3
- package/dist/skill/instructions.js +104 -103
- package/dist/skill.js +103 -102
- package/dist/snapshot.js +83 -82
- package/dist/state.js +2 -2
- package/dist/tool/html-markdown.js +2 -2
- package/dist/tool/http-body.js +2 -2
- package/dist/tool/mcp.js +125 -124
- package/dist/tool/plugin/edit.js +112 -111
- package/dist/tool/plugin/file-diff.js +2 -2
- package/dist/tool/plugin/glob.js +114 -113
- package/dist/tool/plugin/grep.js +114 -113
- package/dist/tool/plugin/patch.js +112 -111
- package/dist/tool/plugin/question.js +104 -103
- package/dist/tool/plugin/read.js +117 -116
- package/dist/tool/plugin/shell.js +184 -182
- package/dist/tool/plugin/skill.js +104 -103
- package/dist/tool/plugin/subagent.js +181 -179
- package/dist/tool/plugin/webfetch.js +105 -104
- package/dist/tool/plugin/websearch.js +107 -106
- package/dist/tool/plugin/write.js +112 -111
- package/dist/tool/read-filesystem.js +96 -95
- package/dist/tool/runtime.js +2 -2
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +118 -117
- package/dist/types/config/plugin/entry-observer.d.ts +7 -0
- package/dist/types/database/migration/20260819222447_session_viewed_state.d.ts +3 -0
- package/dist/types/location-service-map.d.ts +2 -2
- package/dist/types/location-services.d.ts +1 -1
- package/dist/types/plugin/host.d.ts +26 -25
- package/dist/types/plugin/sdk.d.ts +1 -1
- package/dist/types/plugin.d.ts +2 -1
- package/dist/types/session/history.d.ts +345 -0
- package/dist/types/session/instruction-entry.d.ts +20 -0
- package/dist/types/session/model-request.d.ts +1 -1
- package/dist/types/session/schema.d.ts +3 -0
- package/dist/types/session/sql.d.ts +50 -1
- package/dist/types/session/transfer.d.ts +3 -0
- package/dist/types/session.d.ts +20 -11
- package/dist/types/shell/scan.d.ts +17 -0
- package/dist/types/skill.d.ts +1 -1
- package/dist/types/state.d.ts +4 -0
- package/dist/util/array.js +1 -1
- package/dist/util/error.js +2 -2
- package/dist/util/identifier.js +1 -1
- package/dist/util/iife.js +2 -2
- package/dist/util/lazy.js +2 -2
- package/dist/util/process-lock-ffi.bun.js +1 -1
- package/dist/util/process-lock-ffi.node.js +1 -1
- package/dist/util/process-lock-ffi.workerd.js +1 -1
- package/dist/util/process-lock.js +2 -3
- package/dist/util/slug.js +2 -2
- package/dist/util/token.js +2 -2
- package/dist/util/which.js +2 -2
- package/dist/util/wildcard.js +2 -2
- package/dist/v1/config/agent.js +4 -4
- package/dist/v1/config/attachment.js +3 -3
- package/dist/v1/config/command.js +2 -2
- package/dist/v1/config/config.js +15 -15
- package/dist/v1/config/error.js +3 -3
- package/dist/v1/config/formatter.js +2 -2
- package/dist/v1/config/layout.js +2 -2
- package/dist/v1/config/lsp.js +2 -2
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +19 -19
- package/dist/v1/config/permission.js +2 -2
- package/dist/v1/config/plugin.js +2 -2
- package/dist/v1/config/provider-options.js +2 -2
- package/dist/v1/config/provider.js +3 -3
- package/dist/v1/config/server.js +3 -3
- package/dist/v1/config/skills.js +2 -2
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/git.js +3 -3
- package/dist/vcs/hg.js +3 -3
- package/dist/vcs/patch.js +2 -2
- package/dist/vcs.js +85 -84
- package/dist/websearch.js +76 -75
- package/dist/wellknown/plugin.js +76 -75
- package/dist/wellknown.js +75 -74
- package/dist/workspace/driver.js +2 -2
- package/dist/workspace/sql.js +2 -2
- package/dist/workspace.js +72 -71
- package/dist/worktree/directory.js +3 -3
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/sql.js +6 -6
- package/dist/worktree.js +85 -84
- package/package.json +9 -10
- package/dist/chunks/bus-1xksxgzs.js +0 -24
- package/dist/chunks/bus-52jzav25.js +0 -13
- package/dist/chunks/bus-93qdgxxd.js +0 -30
- package/dist/chunks/bus-vxz5qdmp.js +0 -31
- package/dist/session/model-headers.js +0 -11
- package/dist/session/model-hook.js +0 -11
- package/dist/session/model-http.js +0 -11
- package/dist/session/prompt-cache-key.js +0 -10
- package/dist/types/session/model-headers.d.ts +0 -12
- package/dist/types/session/model-hook.d.ts +0 -12
- package/dist/types/session/model-http.d.ts +0 -11
- package/dist/types/session/prompt-cache-key.d.ts +0 -3
- /package/dist/chunks/{bus-0cgt0xh2.js → shell-0cgt0xh2.js} +0 -0
- /package/dist/chunks/{bus-0f48qthw.js → shell-0f48qthw.js} +0 -0
- /package/dist/chunks/{bus-0zz82cjq.js → shell-0zz82cjq.js} +0 -0
- /package/dist/chunks/{bus-1fb7bmpf.js → shell-1fb7bmpf.js} +0 -0
- /package/dist/chunks/{bus-1wcz8fvj.js → shell-1wcz8fvj.js} +0 -0
- /package/dist/chunks/{bus-2qdx6zz3.js → shell-2qdx6zz3.js} +0 -0
- /package/dist/chunks/{bus-3c4nztf9.js → shell-3c4nztf9.js} +0 -0
- /package/dist/chunks/{bus-3g3rpp2x.js → shell-3g3rpp2x.js} +0 -0
- /package/dist/chunks/{bus-3q6gbwmd.js → shell-3q6gbwmd.js} +0 -0
- /package/dist/chunks/{bus-3w3ybtfd.js → shell-3w3ybtfd.js} +0 -0
- /package/dist/chunks/{bus-47ty4mvs.js → shell-47ty4mvs.js} +0 -0
- /package/dist/chunks/{bus-4b2tz2m9.js → shell-4b2tz2m9.js} +0 -0
- /package/dist/chunks/{bus-4zg0gww9.js → shell-4zg0gww9.js} +0 -0
- /package/dist/chunks/{bus-5a5ch9ts.js → shell-5a5ch9ts.js} +0 -0
- /package/dist/chunks/{bus-5va1yh78.js → shell-5va1yh78.js} +0 -0
- /package/dist/chunks/{bus-69qrqpw0.js → shell-69qrqpw0.js} +0 -0
- /package/dist/chunks/{bus-6yt963b8.js → shell-6yt963b8.js} +0 -0
- /package/dist/chunks/{bus-7n9qwqk4.js → shell-7n9qwqk4.js} +0 -0
- /package/dist/chunks/{bus-8nn8kqcn.js → shell-8nn8kqcn.js} +0 -0
- /package/dist/chunks/{bus-8sj3ajy5.js → shell-8sj3ajy5.js} +0 -0
- /package/dist/chunks/{bus-8w9tzfz1.js → shell-8w9tzfz1.js} +0 -0
- /package/dist/chunks/{bus-906y0b6d.js → shell-906y0b6d.js} +0 -0
- /package/dist/chunks/{bus-9dct5xhx.js → shell-9dct5xhx.js} +0 -0
- /package/dist/chunks/{bus-9sdtsapf.js → shell-9sdtsapf.js} +0 -0
- /package/dist/chunks/{bus-a02svayp.js → shell-a02svayp.js} +0 -0
- /package/dist/chunks/{bus-a83yvq99.js → shell-a83yvq99.js} +0 -0
- /package/dist/chunks/{bus-aqg9wnx6.js → shell-aqg9wnx6.js} +0 -0
- /package/dist/chunks/{bus-ayevdmef.js → shell-ayevdmef.js} +0 -0
- /package/dist/chunks/{bus-b02txbh8.js → shell-b02txbh8.js} +0 -0
- /package/dist/chunks/{bus-bbqs2y60.js → shell-bbqs2y60.js} +0 -0
- /package/dist/chunks/{bus-brsh5f65.js → shell-brsh5f65.js} +0 -0
- /package/dist/chunks/{bus-bxdhjb3y.js → shell-bxdhjb3y.js} +0 -0
- /package/dist/chunks/{bus-c77ad0vh.js → shell-c77ad0vh.js} +0 -0
- /package/dist/chunks/{bus-cm67rqy2.js → shell-cm67rqy2.js} +0 -0
- /package/dist/chunks/{bus-dbah77c1.js → shell-dbah77c1.js} +0 -0
- /package/dist/chunks/{bus-df3v2q6j.js → shell-df3v2q6j.js} +0 -0
- /package/dist/chunks/{bus-dhcq6c44.js → shell-dhcq6c44.js} +0 -0
- /package/dist/chunks/{bus-dht5baf0.js → shell-dht5baf0.js} +0 -0
- /package/dist/chunks/{bus-dkmkay92.js → shell-dkmkay92.js} +0 -0
- /package/dist/chunks/{bus-ehj9csmv.js → shell-ehj9csmv.js} +0 -0
- /package/dist/chunks/{bus-em6xpscd.js → shell-em6xpscd.js} +0 -0
- /package/dist/chunks/{bus-emmqknsm.js → shell-emmqknsm.js} +0 -0
- /package/dist/chunks/{bus-ezs3tagn.js → shell-ezs3tagn.js} +0 -0
- /package/dist/chunks/{bus-f14r7hfz.js → shell-f14r7hfz.js} +0 -0
- /package/dist/chunks/{bus-f4cp4g4a.js → shell-f4cp4g4a.js} +0 -0
- /package/dist/chunks/{bus-f84sxdqn.js → shell-f84sxdqn.js} +0 -0
- /package/dist/chunks/{bus-faypg4r1.js → shell-faypg4r1.js} +0 -0
- /package/dist/chunks/{bus-gd5xeqc2.js → shell-gd5xeqc2.js} +0 -0
- /package/dist/chunks/{bus-ghm4673n.js → shell-ghm4673n.js} +0 -0
- /package/dist/chunks/{bus-ghwjy7my.js → shell-ghwjy7my.js} +0 -0
- /package/dist/chunks/{bus-gy500k2r.js → shell-gy500k2r.js} +0 -0
- /package/dist/chunks/{bus-hzeg9cfr.js → shell-hzeg9cfr.js} +0 -0
- /package/dist/chunks/{bus-j07kk359.js → shell-j07kk359.js} +0 -0
- /package/dist/chunks/{bus-jve7t217.js → shell-jve7t217.js} +0 -0
- /package/dist/chunks/{bus-kpdbz7gn.js → shell-kpdbz7gn.js} +0 -0
- /package/dist/chunks/{bus-kxy11nzk.js → shell-kxy11nzk.js} +0 -0
- /package/dist/chunks/{bus-kyyqvx4s.js → shell-kyyqvx4s.js} +0 -0
- /package/dist/chunks/{bus-m8cbvarh.js → shell-m8cbvarh.js} +0 -0
- /package/dist/chunks/{bus-ma07p6tt.js → shell-ma07p6tt.js} +0 -0
- /package/dist/chunks/{bus-ma60vzgv.js → shell-ma60vzgv.js} +0 -0
- /package/dist/chunks/{bus-n3m50c2t.js → shell-n3m50c2t.js} +0 -0
- /package/dist/chunks/{bus-nkm1m8dz.js → shell-nkm1m8dz.js} +0 -0
- /package/dist/chunks/{bus-nsc0c3zb.js → shell-nsc0c3zb.js} +0 -0
- /package/dist/chunks/{bus-qaarhjrp.js → shell-qaarhjrp.js} +0 -0
- /package/dist/chunks/{bus-qc167nrn.js → shell-qc167nrn.js} +0 -0
- /package/dist/chunks/{bus-qp95y4jb.js → shell-qp95y4jb.js} +0 -0
- /package/dist/chunks/{bus-r8f4w671.js → shell-r8f4w671.js} +0 -0
- /package/dist/chunks/{bus-rdfev9jy.js → shell-rdfev9jy.js} +0 -0
- /package/dist/chunks/{bus-rvfvac9x.js → shell-rvfvac9x.js} +0 -0
- /package/dist/chunks/{bus-s7whb9gt.js → shell-s7whb9gt.js} +0 -0
- /package/dist/chunks/{bus-se76j685.js → shell-se76j685.js} +0 -0
- /package/dist/chunks/{bus-sem2g21k.js → shell-sem2g21k.js} +0 -0
- /package/dist/chunks/{bus-tmb1f636.js → shell-tmb1f636.js} +0 -0
- /package/dist/chunks/{bus-ttxf0gsy.js → shell-ttxf0gsy.js} +0 -0
- /package/dist/chunks/{bus-tvmhrvfj.js → shell-tvmhrvfj.js} +0 -0
- /package/dist/chunks/{bus-v2adqbbe.js → shell-v2adqbbe.js} +0 -0
- /package/dist/chunks/{bus-vkvb1sb3.js → shell-vkvb1sb3.js} +0 -0
- /package/dist/chunks/{bus-wj4sxzqa.js → shell-wj4sxzqa.js} +0 -0
- /package/dist/chunks/{bus-wwntjmk1.js → shell-wwntjmk1.js} +0 -0
- /package/dist/chunks/{bus-wyqjaaa5.js → shell-wyqjaaa5.js} +0 -0
- /package/dist/chunks/{bus-x4q807cx.js → shell-x4q807cx.js} +0 -0
- /package/dist/chunks/{bus-yrqrg4vp.js → shell-yrqrg4vp.js} +0 -0
- /package/dist/chunks/{bus-z47nswr2.js → shell-z47nswr2.js} +0 -0
- /package/dist/chunks/{bus-zsf8rs93.js → shell-zsf8rs93.js} +0 -0
|
@@ -19,15 +19,16 @@ import { Skill } from "../skill.js";
|
|
|
19
19
|
import { Tool } from "../tool.js";
|
|
20
20
|
import { WebSearch } from "../websearch.js";
|
|
21
21
|
import { PluginHooks } from "./hooks.js";
|
|
22
|
-
|
|
22
|
+
import type { Interface } from "../plugin.js";
|
|
23
|
+
export declare const make: (plugin: Interface, pluginID?: string | undefined) => Effect.Effect<{
|
|
23
24
|
app: App.Info;
|
|
24
25
|
options: {};
|
|
25
26
|
agent: {
|
|
26
|
-
get: (input: import("@opencode-ai/client/effect/api").
|
|
27
|
+
get: (input: import("@opencode-ai/client/effect/api").AgentGetInput) => Effect.Effect<{
|
|
27
28
|
data: import("@opencode-ai/schema/agent").Info;
|
|
28
29
|
location: Location.Info;
|
|
29
30
|
}, Error, never>;
|
|
30
|
-
list: (input: import("@opencode-ai/client/effect/api").
|
|
31
|
+
list: (input: import("@opencode-ai/client/effect/api").AgentListInput | undefined) => Effect.Effect<{
|
|
31
32
|
readonly location: Location.Info;
|
|
32
33
|
readonly data: Agent.Info[];
|
|
33
34
|
}, never, never>;
|
|
@@ -43,7 +44,7 @@ export declare const make: (plugin: import("../plugin.js").Interface, pluginID?:
|
|
|
43
44
|
location: Location.Info;
|
|
44
45
|
data: import("@opencode-ai/schema/provider").Info[];
|
|
45
46
|
}, never, never>;
|
|
46
|
-
get: (input: import("@opencode-ai/client/effect/api").
|
|
47
|
+
get: (input: import("@opencode-ai/client/effect/api").ProviderGetInput) => Effect.Effect<{
|
|
47
48
|
location: Location.Info;
|
|
48
49
|
data: import("@opencode-ai/schema/provider").Info;
|
|
49
50
|
}, Error, never>;
|
|
@@ -67,7 +68,7 @@ export declare const make: (plugin: import("../plugin.js").Interface, pluginID?:
|
|
|
67
68
|
data: import("@opencode-ai/schema/command").Info[];
|
|
68
69
|
}, never, never>;
|
|
69
70
|
reload: import("../state.js").Reload;
|
|
70
|
-
transform:
|
|
71
|
+
transform: import("../state.js").Transform<Command.Draft>;
|
|
71
72
|
};
|
|
72
73
|
event: {
|
|
73
74
|
subscribe: () => Stream.Stream<EventManifest.ServerEvent, never, never>;
|
|
@@ -77,19 +78,19 @@ export declare const make: (plugin: import("../plugin.js").Interface, pluginID?:
|
|
|
77
78
|
location: Location.Info;
|
|
78
79
|
data: import("@opencode-ai/schema/integration").Info[];
|
|
79
80
|
}, never, never>;
|
|
80
|
-
get: (input: import("@opencode-ai/client/effect/api").
|
|
81
|
+
get: (input: import("@opencode-ai/client/effect/api").IntegrationGetInput) => Effect.Effect<{
|
|
81
82
|
location: Location.Info;
|
|
82
83
|
data: import("@opencode-ai/schema/integration").Info | undefined;
|
|
83
84
|
}, never, never>;
|
|
84
85
|
connect: {
|
|
85
|
-
key: (input: import("@opencode-ai/client/effect/api").
|
|
86
|
+
key: (input: import("@opencode-ai/client/effect/api").IntegrationConnectKeyInput) => Effect.Effect<void, Integration.AuthorizationError, never>;
|
|
86
87
|
};
|
|
87
88
|
oauth: {
|
|
88
|
-
connect: (input: import("@opencode-ai/client/effect/api").
|
|
89
|
+
connect: (input: import("@opencode-ai/client/effect/api").IntegrationOauthConnectInput) => Effect.Effect<{
|
|
89
90
|
location: Location.Info;
|
|
90
91
|
data: import("@opencode-ai/schema/integration").Attempt;
|
|
91
92
|
}, Integration.AuthorizationError, never>;
|
|
92
|
-
status: (input: import("@opencode-ai/client/effect/api").
|
|
93
|
+
status: (input: import("@opencode-ai/client/effect/api").IntegrationOauthStatusInput) => Effect.Effect<{
|
|
93
94
|
location: Location.Info;
|
|
94
95
|
data: {
|
|
95
96
|
readonly status: "pending";
|
|
@@ -118,15 +119,15 @@ export declare const make: (plugin: import("../plugin.js").Interface, pluginID?:
|
|
|
118
119
|
};
|
|
119
120
|
};
|
|
120
121
|
}, never, never>;
|
|
121
|
-
complete: (input: import("@opencode-ai/client/effect/api").
|
|
122
|
-
cancel: (input: import("@opencode-ai/client/effect/api").
|
|
122
|
+
complete: (input: import("@opencode-ai/client/effect/api").IntegrationOauthCompleteInput) => Effect.Effect<void, Integration.CodeRequiredError | Integration.AuthorizationError, never>;
|
|
123
|
+
cancel: (input: import("@opencode-ai/client/effect/api").IntegrationOauthCancelInput) => Effect.Effect<void, never, never>;
|
|
123
124
|
};
|
|
124
125
|
command: {
|
|
125
|
-
connect: (input: import("@opencode-ai/client/effect/api").
|
|
126
|
+
connect: (input: import("@opencode-ai/client/effect/api").IntegrationCommandConnectInput) => Effect.Effect<{
|
|
126
127
|
location: Location.Info;
|
|
127
128
|
data: import("@opencode-ai/schema/integration").CommandAttempt;
|
|
128
129
|
}, Integration.AuthorizationError, never>;
|
|
129
|
-
status: (input: import("@opencode-ai/client/effect/api").
|
|
130
|
+
status: (input: import("@opencode-ai/client/effect/api").IntegrationCommandStatusInput) => Effect.Effect<{
|
|
130
131
|
location: Location.Info;
|
|
131
132
|
data: {
|
|
132
133
|
readonly status: "pending";
|
|
@@ -156,7 +157,7 @@ export declare const make: (plugin: import("../plugin.js").Interface, pluginID?:
|
|
|
156
157
|
};
|
|
157
158
|
};
|
|
158
159
|
}, never, never>;
|
|
159
|
-
cancel: (input: import("@opencode-ai/client/effect/api").
|
|
160
|
+
cancel: (input: import("@opencode-ai/client/effect/api").IntegrationCommandCancelInput) => Effect.Effect<void, never, never>;
|
|
160
161
|
};
|
|
161
162
|
reload: import("../state.js").Reload;
|
|
162
163
|
connection: {
|
|
@@ -191,14 +192,14 @@ export declare const make: (plugin: import("../plugin.js").Interface, pluginID?:
|
|
|
191
192
|
transform: (callback: (input: import("@opencode-ai/plugin/effect/integration").IntegrationDraft) => void) => Effect.Effect<import("../state.js").Registration, never, import("effect/Scope").Scope>;
|
|
192
193
|
};
|
|
193
194
|
mcp: {
|
|
194
|
-
list: (input: import("@opencode-ai/client/effect/api").
|
|
195
|
+
list: (input: import("@opencode-ai/client/effect/api").McpListInput | undefined) => Effect.Effect<{
|
|
195
196
|
readonly location: Location.Info;
|
|
196
197
|
readonly data: MCP.ServerInfo[];
|
|
197
198
|
}, unknown, never>;
|
|
198
|
-
add: (input: import("@opencode-ai/client/effect/api").
|
|
199
|
-
remove: (input: import("@opencode-ai/client/effect/api").
|
|
200
|
-
connect: (input: import("@opencode-ai/client/effect/api").
|
|
201
|
-
disconnect: (input: import("@opencode-ai/client/effect/api").
|
|
199
|
+
add: (input: import("@opencode-ai/client/effect/api").McpAddInput) => Effect.Effect<void, unknown, never>;
|
|
200
|
+
remove: (input: import("@opencode-ai/client/effect/api").McpRemoveInput) => Effect.Effect<void, unknown, never>;
|
|
201
|
+
connect: (input: import("@opencode-ai/client/effect/api").McpConnectInput) => Effect.Effect<void, unknown, never>;
|
|
202
|
+
disconnect: (input: import("@opencode-ai/client/effect/api").McpDisconnectInput) => Effect.Effect<void, unknown, never>;
|
|
202
203
|
reload: import("../state.js").Reload;
|
|
203
204
|
transform: (callback: (input: import("@opencode-ai/plugin/effect/mcp").MCPDraft) => void) => Effect.Effect<import("../state.js").Registration, never, import("effect/Scope").Scope>;
|
|
204
205
|
};
|
|
@@ -270,7 +271,7 @@ export declare const make: (plugin: import("../plugin.js").Interface, pluginID?:
|
|
|
270
271
|
location: Location.Info;
|
|
271
272
|
data: readonly import("@opencode-ai/schema/websearch").Provider[];
|
|
272
273
|
}, never, never>;
|
|
273
|
-
query: (input: import("@opencode-ai/client/effect/api").
|
|
274
|
+
query: (input: import("@opencode-ai/client/effect/api").WebsearchQueryInput) => Effect.Effect<{
|
|
274
275
|
location: Location.Info;
|
|
275
276
|
data: import("@opencode-ai/schema/websearch").Response;
|
|
276
277
|
}, WebSearch.Error, never>;
|
|
@@ -279,8 +280,8 @@ export declare const make: (plugin: import("../plugin.js").Interface, pluginID?:
|
|
|
279
280
|
};
|
|
280
281
|
session: {
|
|
281
282
|
hook: <Name extends keyof import("@opencode-ai/plugin/effect/session").SessionHooks>(name: Name, callback: (input: import("@opencode-ai/plugin/effect/session").SessionHooks[Name]) => Effect.Effect<void, Record<keyof import("@opencode-ai/plugin/effect/session").SessionHooks, never>[Name], never>, options: import("@opencode-ai/plugin/effect/registration").ModelHookOptions | undefined) => Effect.Effect<import("../state.js").Registration, never, import("effect/Scope").Scope>;
|
|
282
|
-
create: (input: import("@opencode-ai/client/effect/api").
|
|
283
|
-
get: (input: import("@opencode-ai/client/effect/api").
|
|
283
|
+
create: (input: import("@opencode-ai/client/effect/api").SessionCreateInput | undefined) => Effect.Effect<import("@opencode-ai/schema/session").Info, import("../session.js").NotFoundError, never>;
|
|
284
|
+
get: (input: import("@opencode-ai/client/effect/api").SessionGetInput) => Effect.Effect<import("@opencode-ai/schema/session").Info, import("../session.js").NotFoundError, never>;
|
|
284
285
|
switchAgent: (input: {
|
|
285
286
|
sessionID: import("../session.js").ID;
|
|
286
287
|
agent: Agent.ID;
|
|
@@ -300,7 +301,7 @@ export declare const make: (plugin: import("../plugin.js").Interface, pluginID?:
|
|
|
300
301
|
delivery?: import("@opencode-ai/schema/session-inbox").Delivery;
|
|
301
302
|
resume?: boolean;
|
|
302
303
|
}) => Effect.Effect<import("@opencode-ai/schema/session-inbox").User, import("../session.js").NotFoundError | import("../session.js").PromptConflictError | import("../session.js").AttachmentError | import("../session.js").SkillNotFoundError>;
|
|
303
|
-
generate: (input: import("@opencode-ai/client/effect/api").
|
|
304
|
+
generate: (input: import("@opencode-ai/client/effect/api").SessionGenerateInput) => Effect.Effect<{
|
|
304
305
|
text: string;
|
|
305
306
|
}, import("../session.js").NotFoundError | import("../session/generate.js").Error, never>;
|
|
306
307
|
command: (input: {
|
|
@@ -329,8 +330,8 @@ export declare const make: (plugin: import("../plugin.js").Interface, pluginID?:
|
|
|
329
330
|
delivery?: import("@opencode-ai/schema/session-inbox").Delivery;
|
|
330
331
|
resume?: boolean;
|
|
331
332
|
}) => Effect.Effect<import("@opencode-ai/schema/session-inbox").Synthetic, import("../session.js").NotFoundError | import("../session.js").SyntheticConflictError>;
|
|
332
|
-
interrupt: (input: import("@opencode-ai/client/effect/api").
|
|
333
|
-
wait: (input: import("@opencode-ai/client/effect/api").
|
|
333
|
+
interrupt: (input: import("@opencode-ai/client/effect/api").SessionInterruptInput) => Effect.Effect<void, never, never>;
|
|
334
|
+
wait: (input: import("@opencode-ai/client/effect/api").SessionWaitInput) => Effect.Effect<void, import("../session.js").NotFoundError, never>;
|
|
334
335
|
};
|
|
335
336
|
}, 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>;
|
|
336
337
|
export declare function storage(kv: KV.Interface, pluginID: string): Plugin.Context["storage"];
|
|
@@ -37,7 +37,7 @@ export declare const Updated: import("effect/Schema").Struct<{
|
|
|
37
37
|
data: import("effect/Schema").Struct<{}>;
|
|
38
38
|
};
|
|
39
39
|
/**
|
|
40
|
-
* Holds the plugins an embedder (the `@opencode-ai/sdk
|
|
40
|
+
* Holds the plugins an embedder (the `@opencode-ai/sdk` host) contributes,
|
|
41
41
|
* so `PluginSupervisor` can add them on every Location boot through the ordinary
|
|
42
42
|
* generation path that `PluginSupervisor` uses for plugins discovered from
|
|
43
43
|
* config. Registration publishes an unlocated update so every booted Location
|
package/dist/types/plugin.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * as Plugin from "./plugin.js";
|
|
2
2
|
export { Event, ID, Info, Source } from "@opencode-ai/schema/plugin";
|
|
3
3
|
import { Plugin } from "@opencode-ai/schema/plugin";
|
|
4
|
+
import type { Plugin as PluginDefinition } from "@opencode-ai/plugin/effect/plugin";
|
|
4
5
|
import { Context, Effect } from "effect";
|
|
5
6
|
export interface Interface {
|
|
6
7
|
readonly activate: (plugins: readonly Versioned[], failures?: readonly Extract<Plugin.Info, {
|
|
@@ -8,7 +9,7 @@ export interface Interface {
|
|
|
8
9
|
}>[]) => Effect.Effect<void>;
|
|
9
10
|
readonly list: () => Effect.Effect<Plugin.Info[]>;
|
|
10
11
|
}
|
|
11
|
-
export type Versioned =
|
|
12
|
+
export type Versioned = PluginDefinition & {
|
|
12
13
|
readonly version: string;
|
|
13
14
|
readonly source?: Plugin.Source;
|
|
14
15
|
};
|
|
@@ -1,11 +1,356 @@
|
|
|
1
1
|
import { Effect, Schema } from "effect";
|
|
2
2
|
import { MessageDecodeError } from "./error.js";
|
|
3
3
|
import { Instructions } from "../instructions/index.js";
|
|
4
|
+
import { SessionMessageTable } from "./sql.js";
|
|
4
5
|
export declare const latestCompaction: (db: import("../database/drizzle.js").EffectSQLiteDatabase<import("drizzle-orm").EmptyRelations> & {
|
|
5
6
|
$client: import("effect/unstable/sql/SqlClient").SqlClient;
|
|
6
7
|
}, sessionID: string & import("effect/Brand").Brand<"SessionID">) => Effect.Effect<{
|
|
7
8
|
seq: number;
|
|
8
9
|
} | undefined, never, never>;
|
|
10
|
+
export declare const decodeMessageRow: (row: typeof SessionMessageTable.$inferSelect) => Effect.Effect<{
|
|
11
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
12
|
+
readonly type: "agent-switched";
|
|
13
|
+
readonly time: {
|
|
14
|
+
readonly created: import("effect/DateTime").Utc;
|
|
15
|
+
};
|
|
16
|
+
readonly agent: string & import("effect/Brand").Brand<"Agent.ID">;
|
|
17
|
+
readonly metadata?: {
|
|
18
|
+
readonly [x: string]: unknown;
|
|
19
|
+
} | undefined;
|
|
20
|
+
readonly previous?: (string & import("effect/Brand").Brand<"Agent.ID">) | undefined;
|
|
21
|
+
} | {
|
|
22
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
23
|
+
readonly type: "model-switched";
|
|
24
|
+
readonly time: {
|
|
25
|
+
readonly created: import("effect/DateTime").Utc;
|
|
26
|
+
};
|
|
27
|
+
readonly model: {
|
|
28
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
29
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
30
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
31
|
+
};
|
|
32
|
+
readonly metadata?: {
|
|
33
|
+
readonly [x: string]: unknown;
|
|
34
|
+
} | undefined;
|
|
35
|
+
readonly previous?: {
|
|
36
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
37
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
38
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
39
|
+
} | undefined;
|
|
40
|
+
} | {
|
|
41
|
+
readonly location: {
|
|
42
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
43
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
44
|
+
};
|
|
45
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
46
|
+
readonly type: "location-switched";
|
|
47
|
+
readonly time: {
|
|
48
|
+
readonly created: import("effect/DateTime").Utc;
|
|
49
|
+
};
|
|
50
|
+
readonly metadata?: {
|
|
51
|
+
readonly [x: string]: unknown;
|
|
52
|
+
} | undefined;
|
|
53
|
+
readonly projectID?: (string & import("effect/Brand").Brand<"Project.ID">) | undefined;
|
|
54
|
+
readonly previous?: {
|
|
55
|
+
readonly location: {
|
|
56
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
57
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
58
|
+
};
|
|
59
|
+
readonly projectID?: (string & import("effect/Brand").Brand<"Project.ID">) | undefined;
|
|
60
|
+
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
61
|
+
} | undefined;
|
|
62
|
+
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
63
|
+
} | {
|
|
64
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
65
|
+
readonly type: "user";
|
|
66
|
+
readonly time: {
|
|
67
|
+
readonly created: import("effect/DateTime").Utc;
|
|
68
|
+
};
|
|
69
|
+
readonly text: string;
|
|
70
|
+
readonly metadata?: {
|
|
71
|
+
readonly [x: string]: unknown;
|
|
72
|
+
} | undefined;
|
|
73
|
+
readonly files?: readonly {
|
|
74
|
+
readonly source: {
|
|
75
|
+
readonly type: "inline";
|
|
76
|
+
} | {
|
|
77
|
+
readonly type: "uri";
|
|
78
|
+
readonly uri: string;
|
|
79
|
+
};
|
|
80
|
+
readonly data: string;
|
|
81
|
+
readonly mime: string;
|
|
82
|
+
readonly name?: string | undefined;
|
|
83
|
+
readonly description?: string | undefined;
|
|
84
|
+
readonly mention?: {
|
|
85
|
+
readonly start: number;
|
|
86
|
+
readonly end: number;
|
|
87
|
+
readonly text: string;
|
|
88
|
+
} | undefined;
|
|
89
|
+
}[] | undefined;
|
|
90
|
+
readonly agents?: readonly {
|
|
91
|
+
readonly name: string;
|
|
92
|
+
readonly mention?: {
|
|
93
|
+
readonly start: number;
|
|
94
|
+
readonly end: number;
|
|
95
|
+
readonly text: string;
|
|
96
|
+
} | undefined;
|
|
97
|
+
}[] | undefined;
|
|
98
|
+
readonly skills?: readonly {
|
|
99
|
+
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
100
|
+
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
101
|
+
readonly mention?: {
|
|
102
|
+
readonly start: number;
|
|
103
|
+
readonly end: number;
|
|
104
|
+
readonly text: string;
|
|
105
|
+
} | undefined;
|
|
106
|
+
}[] | undefined;
|
|
107
|
+
} | {
|
|
108
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
109
|
+
readonly type: "synthetic";
|
|
110
|
+
readonly time: {
|
|
111
|
+
readonly created: import("effect/DateTime").Utc;
|
|
112
|
+
};
|
|
113
|
+
readonly text: string;
|
|
114
|
+
readonly description?: string | undefined;
|
|
115
|
+
readonly metadata?: {
|
|
116
|
+
readonly [x: string]: unknown;
|
|
117
|
+
} | undefined;
|
|
118
|
+
} | {
|
|
119
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
120
|
+
readonly type: "system";
|
|
121
|
+
readonly time: {
|
|
122
|
+
readonly created: import("effect/DateTime").Utc;
|
|
123
|
+
};
|
|
124
|
+
readonly text: string;
|
|
125
|
+
readonly description?: string | undefined;
|
|
126
|
+
readonly metadata?: {
|
|
127
|
+
readonly [x: string]: unknown;
|
|
128
|
+
} | undefined;
|
|
129
|
+
} | {
|
|
130
|
+
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
131
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
132
|
+
readonly type: "skill";
|
|
133
|
+
readonly time: {
|
|
134
|
+
readonly created: import("effect/DateTime").Utc;
|
|
135
|
+
};
|
|
136
|
+
readonly text: string;
|
|
137
|
+
readonly skill: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
138
|
+
readonly metadata?: {
|
|
139
|
+
readonly [x: string]: unknown;
|
|
140
|
+
} | undefined;
|
|
141
|
+
} | {
|
|
142
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
143
|
+
readonly type: "shell";
|
|
144
|
+
readonly status: "timeout" | "running" | "exited" | "killed";
|
|
145
|
+
readonly command: string;
|
|
146
|
+
readonly time: {
|
|
147
|
+
readonly created: import("effect/DateTime").Utc;
|
|
148
|
+
readonly completed?: import("effect/DateTime").Utc | undefined;
|
|
149
|
+
};
|
|
150
|
+
readonly shellID: string & import("effect/Brand").Brand<"Shell.ID">;
|
|
151
|
+
readonly metadata?: {
|
|
152
|
+
readonly [x: string]: unknown;
|
|
153
|
+
} | undefined;
|
|
154
|
+
readonly output?: {
|
|
155
|
+
readonly output: string;
|
|
156
|
+
readonly cursor: number;
|
|
157
|
+
readonly size: number;
|
|
158
|
+
readonly truncated: boolean;
|
|
159
|
+
} | undefined;
|
|
160
|
+
readonly exit?: number | undefined;
|
|
161
|
+
} | {
|
|
162
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
163
|
+
readonly type: "assistant";
|
|
164
|
+
readonly time: {
|
|
165
|
+
readonly created: import("effect/DateTime").Utc;
|
|
166
|
+
readonly completed?: import("effect/DateTime").Utc | undefined;
|
|
167
|
+
};
|
|
168
|
+
readonly model: {
|
|
169
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
170
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
171
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
172
|
+
};
|
|
173
|
+
readonly content: readonly ({
|
|
174
|
+
readonly name: string;
|
|
175
|
+
readonly id: string;
|
|
176
|
+
readonly type: "tool";
|
|
177
|
+
readonly time: {
|
|
178
|
+
readonly created: import("effect/DateTime").Utc;
|
|
179
|
+
readonly completed?: import("effect/DateTime").Utc | undefined;
|
|
180
|
+
readonly ran?: import("effect/DateTime").Utc | undefined;
|
|
181
|
+
};
|
|
182
|
+
readonly state: {
|
|
183
|
+
readonly status: "streaming";
|
|
184
|
+
readonly input: string;
|
|
185
|
+
} | {
|
|
186
|
+
readonly status: "running";
|
|
187
|
+
readonly input: {
|
|
188
|
+
readonly [x: string]: unknown;
|
|
189
|
+
};
|
|
190
|
+
readonly metadata: {
|
|
191
|
+
readonly [x: string]: Schema.Json;
|
|
192
|
+
};
|
|
193
|
+
} | {
|
|
194
|
+
readonly status: "completed";
|
|
195
|
+
readonly input: {
|
|
196
|
+
readonly [x: string]: unknown;
|
|
197
|
+
};
|
|
198
|
+
readonly content: readonly [{
|
|
199
|
+
readonly type: "text";
|
|
200
|
+
readonly text: string;
|
|
201
|
+
} | {
|
|
202
|
+
readonly type: "file";
|
|
203
|
+
readonly uri: string;
|
|
204
|
+
readonly mime: string;
|
|
205
|
+
readonly name?: string | undefined;
|
|
206
|
+
}, ...({
|
|
207
|
+
readonly type: "text";
|
|
208
|
+
readonly text: string;
|
|
209
|
+
} | {
|
|
210
|
+
readonly type: "file";
|
|
211
|
+
readonly uri: string;
|
|
212
|
+
readonly mime: string;
|
|
213
|
+
readonly name?: string | undefined;
|
|
214
|
+
})[]];
|
|
215
|
+
readonly metadata?: {
|
|
216
|
+
readonly [x: string]: Schema.Json;
|
|
217
|
+
} | undefined;
|
|
218
|
+
} | {
|
|
219
|
+
readonly status: "error";
|
|
220
|
+
readonly input: {
|
|
221
|
+
readonly [x: string]: unknown;
|
|
222
|
+
};
|
|
223
|
+
readonly error: {
|
|
224
|
+
readonly type: string;
|
|
225
|
+
readonly message: string;
|
|
226
|
+
readonly status?: number | undefined;
|
|
227
|
+
};
|
|
228
|
+
readonly metadata?: {
|
|
229
|
+
readonly [x: string]: Schema.Json;
|
|
230
|
+
} | undefined;
|
|
231
|
+
readonly content?: readonly [{
|
|
232
|
+
readonly type: "text";
|
|
233
|
+
readonly text: string;
|
|
234
|
+
} | {
|
|
235
|
+
readonly type: "file";
|
|
236
|
+
readonly uri: string;
|
|
237
|
+
readonly mime: string;
|
|
238
|
+
readonly name?: string | undefined;
|
|
239
|
+
}, ...({
|
|
240
|
+
readonly type: "text";
|
|
241
|
+
readonly text: string;
|
|
242
|
+
} | {
|
|
243
|
+
readonly type: "file";
|
|
244
|
+
readonly uri: string;
|
|
245
|
+
readonly mime: string;
|
|
246
|
+
readonly name?: string | undefined;
|
|
247
|
+
})[]] | undefined;
|
|
248
|
+
};
|
|
249
|
+
readonly executed?: boolean | undefined;
|
|
250
|
+
readonly providerState?: {
|
|
251
|
+
readonly [x: string]: unknown;
|
|
252
|
+
} | undefined;
|
|
253
|
+
readonly providerResultState?: {
|
|
254
|
+
readonly [x: string]: unknown;
|
|
255
|
+
} | undefined;
|
|
256
|
+
} | {
|
|
257
|
+
readonly type: "text";
|
|
258
|
+
readonly text: string;
|
|
259
|
+
readonly state?: {
|
|
260
|
+
readonly [x: string]: unknown;
|
|
261
|
+
} | undefined;
|
|
262
|
+
} | {
|
|
263
|
+
readonly type: "reasoning";
|
|
264
|
+
readonly text: string;
|
|
265
|
+
readonly time?: {
|
|
266
|
+
readonly created: import("effect/DateTime").Utc;
|
|
267
|
+
readonly completed?: import("effect/DateTime").Utc | undefined;
|
|
268
|
+
} | undefined;
|
|
269
|
+
readonly state?: {
|
|
270
|
+
readonly [x: string]: unknown;
|
|
271
|
+
} | undefined;
|
|
272
|
+
})[];
|
|
273
|
+
readonly agent: string & import("effect/Brand").Brand<"Agent.ID">;
|
|
274
|
+
readonly metadata?: {
|
|
275
|
+
readonly [x: string]: unknown;
|
|
276
|
+
} | undefined;
|
|
277
|
+
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
278
|
+
readonly error?: {
|
|
279
|
+
readonly type: string;
|
|
280
|
+
readonly message: string;
|
|
281
|
+
readonly status?: number | undefined;
|
|
282
|
+
} | undefined;
|
|
283
|
+
readonly providerState?: {
|
|
284
|
+
readonly [x: string]: unknown;
|
|
285
|
+
} | undefined;
|
|
286
|
+
readonly snapshot?: {
|
|
287
|
+
readonly start?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
288
|
+
readonly end?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
289
|
+
readonly files?: readonly (string & import("effect/Brand").Brand<"RelativePath">)[] | undefined;
|
|
290
|
+
} | undefined;
|
|
291
|
+
readonly finish?: "length" | "error" | "stop" | "tool-calls" | "content-filter" | "unknown" | undefined;
|
|
292
|
+
readonly rawFinish?: string | undefined;
|
|
293
|
+
readonly tokens?: {
|
|
294
|
+
readonly input: number;
|
|
295
|
+
readonly output: number;
|
|
296
|
+
readonly reasoning: number;
|
|
297
|
+
readonly cache: {
|
|
298
|
+
readonly read: number;
|
|
299
|
+
readonly write: number;
|
|
300
|
+
};
|
|
301
|
+
} | undefined;
|
|
302
|
+
readonly retry?: {
|
|
303
|
+
readonly attempt: number;
|
|
304
|
+
readonly at: import("effect/DateTime").Utc;
|
|
305
|
+
readonly error: {
|
|
306
|
+
readonly type: string;
|
|
307
|
+
readonly message: string;
|
|
308
|
+
readonly status?: number | undefined;
|
|
309
|
+
};
|
|
310
|
+
} | undefined;
|
|
311
|
+
} | {
|
|
312
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
313
|
+
readonly type: "compaction";
|
|
314
|
+
readonly status: "running";
|
|
315
|
+
readonly time: {
|
|
316
|
+
readonly created: import("effect/DateTime").Utc;
|
|
317
|
+
};
|
|
318
|
+
readonly reason: "auto" | "manual";
|
|
319
|
+
readonly summary: string;
|
|
320
|
+
readonly recent: string;
|
|
321
|
+
readonly metadata?: {
|
|
322
|
+
readonly [x: string]: unknown;
|
|
323
|
+
} | undefined;
|
|
324
|
+
} | {
|
|
325
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
326
|
+
readonly type: "compaction";
|
|
327
|
+
readonly status: "completed";
|
|
328
|
+
readonly time: {
|
|
329
|
+
readonly created: import("effect/DateTime").Utc;
|
|
330
|
+
};
|
|
331
|
+
readonly reason: "auto" | "manual";
|
|
332
|
+
readonly summary: string;
|
|
333
|
+
readonly recent: string;
|
|
334
|
+
readonly metadata?: {
|
|
335
|
+
readonly [x: string]: unknown;
|
|
336
|
+
} | undefined;
|
|
337
|
+
} | {
|
|
338
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
339
|
+
readonly type: "compaction";
|
|
340
|
+
readonly status: "failed";
|
|
341
|
+
readonly time: {
|
|
342
|
+
readonly created: import("effect/DateTime").Utc;
|
|
343
|
+
};
|
|
344
|
+
readonly error: {
|
|
345
|
+
readonly type: string;
|
|
346
|
+
readonly message: string;
|
|
347
|
+
readonly status?: number | undefined;
|
|
348
|
+
};
|
|
349
|
+
readonly reason: "auto" | "manual";
|
|
350
|
+
readonly metadata?: {
|
|
351
|
+
readonly [x: string]: unknown;
|
|
352
|
+
} | undefined;
|
|
353
|
+
}, MessageDecodeError, never>;
|
|
9
354
|
export declare const load: (db: import("../database/drizzle.js").EffectSQLiteDatabase<import("drizzle-orm").EmptyRelations> & {
|
|
10
355
|
$client: import("effect/unstable/sql/SqlClient").SqlClient;
|
|
11
356
|
}, sessionID: string & import("effect/Brand").Brand<"SessionID">) => Effect.Effect<({
|
|
@@ -10,8 +10,28 @@ export declare const Info: Schema.Struct<{
|
|
|
10
10
|
readonly value: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
11
11
|
}>;
|
|
12
12
|
export type Info = typeof Info.Type;
|
|
13
|
+
export declare const Snapshot: Schema.$Array<Schema.Struct<{
|
|
14
|
+
readonly removed: Schema.Boolean;
|
|
15
|
+
readonly key: Schema.String;
|
|
16
|
+
readonly value: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
17
|
+
}>>;
|
|
18
|
+
export type Snapshot = typeof Snapshot.Type;
|
|
13
19
|
export declare const MaxValueBytes: number;
|
|
14
20
|
export declare const ValueTooLargeError: typeof InstructionEntry.ValueTooLargeError;
|
|
21
|
+
export declare const snapshot: (db: import("../database/drizzle.js").EffectSQLiteDatabase<import("drizzle-orm").EmptyRelations> & {
|
|
22
|
+
$client: import("effect/unstable/sql/SqlClient").SqlClient;
|
|
23
|
+
}, sessionID: string & import("effect/Brand").Brand<"SessionID">) => Effect.Effect<{
|
|
24
|
+
key: string;
|
|
25
|
+
value: Schema.Json;
|
|
26
|
+
removed: boolean;
|
|
27
|
+
}[], never, never>;
|
|
28
|
+
export declare const initialize: (db: import("../database/drizzle.js").EffectSQLiteDatabase<import("drizzle-orm").EmptyRelations> & {
|
|
29
|
+
$client: import("effect/unstable/sql/SqlClient").SqlClient;
|
|
30
|
+
}, sessionID: string & import("effect/Brand").Brand<"SessionID">, entries: readonly {
|
|
31
|
+
readonly removed: boolean;
|
|
32
|
+
readonly key: string;
|
|
33
|
+
readonly value: Schema.Json;
|
|
34
|
+
}[], created: number) => Effect.Effect<void, never, never>;
|
|
15
35
|
export interface Interface {
|
|
16
36
|
readonly list: (sessionID: SessionSchema.ID) => Effect.Effect<ReadonlyArray<Info>>;
|
|
17
37
|
readonly put: (input: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * as SessionModelRequest from "./model-request.js";
|
|
2
|
-
import { LLM, Message, SystemPart
|
|
2
|
+
import { LLM, LLMRequest, Message, SystemPart } from "@opencode-ai/ai";
|
|
3
3
|
import type { StreamOptions } from "@opencode-ai/ai/route";
|
|
4
4
|
import { Context, Effect, Layer } from "effect";
|
|
5
5
|
import { Model } from "../model.js";
|
|
@@ -115,9 +115,12 @@ export declare const Info: import("effect/Schema").Struct<{
|
|
|
115
115
|
readonly write: import("effect/Schema").Finite;
|
|
116
116
|
}>;
|
|
117
117
|
}>;
|
|
118
|
+
readonly outcome: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Literals<readonly ["succeeded", "failed", "interrupted"]>>>, import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["succeeded", "failed", "interrupted"]>>, never, never>;
|
|
118
119
|
readonly time: import("effect/Schema").Struct<{
|
|
119
120
|
readonly created: import("effect/Schema").decodeTo<import("effect/Schema").DateTimeUtc, import("effect/Schema").Finite, never, never>;
|
|
120
121
|
readonly updated: import("effect/Schema").decodeTo<import("effect/Schema").DateTimeUtc, import("effect/Schema").Finite, never, never>;
|
|
122
|
+
readonly idle: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").decodeTo<import("effect/Schema").DateTimeUtc, import("effect/Schema").Finite, never, never>>>, import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").DateTimeUtc, import("effect/Schema").Finite, never, never>>, never, never>;
|
|
123
|
+
readonly viewed: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").decodeTo<import("effect/Schema").DateTimeUtc, import("effect/Schema").Finite, never, never>>>, import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").DateTimeUtc, import("effect/Schema").Finite, never, never>>, never, never>;
|
|
121
124
|
readonly archived: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").decodeTo<import("effect/Schema").DateTimeUtc, import("effect/Schema").Finite, never, never>>>, import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").DateTimeUtc, import("effect/Schema").Finite, never, never>>, never, never>;
|
|
122
125
|
}>;
|
|
123
126
|
readonly title: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").String>>, import("effect/Schema").optionalKey<import("effect/Schema").String>, never, never>;
|
|
@@ -4,11 +4,60 @@ import type { FileDiff } from "@opencode-ai/schema/file-diff";
|
|
|
4
4
|
import type { Session } from "@opencode-ai/schema/session";
|
|
5
5
|
import type { RevertV1 } from "@opencode-ai/schema/session-revert";
|
|
6
6
|
import type { Schema } from "effect";
|
|
7
|
-
type
|
|
7
|
+
type DistributiveOmit<T, K extends PropertyKey> = T extends unknown ? Omit<T, K> : never;
|
|
8
|
+
type SessionMessageData = DistributiveOmit<(typeof SessionMessage.Info)["Encoded"], "type" | "id">;
|
|
8
9
|
export declare const SessionTable: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
9
10
|
name: "session_v2";
|
|
10
11
|
schema: undefined;
|
|
11
12
|
columns: {
|
|
13
|
+
time_idle: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
14
|
+
name: string;
|
|
15
|
+
tableName: "session_v2";
|
|
16
|
+
dataType: "number int53";
|
|
17
|
+
data: number;
|
|
18
|
+
driverParam: number;
|
|
19
|
+
notNull: false;
|
|
20
|
+
hasDefault: false;
|
|
21
|
+
isPrimaryKey: false;
|
|
22
|
+
isAutoincrement: false;
|
|
23
|
+
hasRuntimeDefault: false;
|
|
24
|
+
enumValues: undefined;
|
|
25
|
+
baseColumn: never;
|
|
26
|
+
identity: undefined;
|
|
27
|
+
generated: undefined;
|
|
28
|
+
}, {}>;
|
|
29
|
+
time_viewed: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
30
|
+
name: string;
|
|
31
|
+
tableName: "session_v2";
|
|
32
|
+
dataType: "number int53";
|
|
33
|
+
data: number;
|
|
34
|
+
driverParam: number;
|
|
35
|
+
notNull: false;
|
|
36
|
+
hasDefault: false;
|
|
37
|
+
isPrimaryKey: false;
|
|
38
|
+
isAutoincrement: false;
|
|
39
|
+
hasRuntimeDefault: false;
|
|
40
|
+
enumValues: undefined;
|
|
41
|
+
baseColumn: never;
|
|
42
|
+
identity: undefined;
|
|
43
|
+
generated: undefined;
|
|
44
|
+
}, {}>;
|
|
45
|
+
idle_outcome: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
46
|
+
name: string;
|
|
47
|
+
tableName: "session_v2";
|
|
48
|
+
dataType: "string";
|
|
49
|
+
data: NonNullable<"failed" | "succeeded" | "interrupted" | undefined>;
|
|
50
|
+
driverParam: string;
|
|
51
|
+
notNull: false;
|
|
52
|
+
hasDefault: false;
|
|
53
|
+
isPrimaryKey: false;
|
|
54
|
+
isAutoincrement: false;
|
|
55
|
+
hasRuntimeDefault: false;
|
|
56
|
+
enumValues: [string, ...string[]];
|
|
57
|
+
baseColumn: never;
|
|
58
|
+
identity: undefined;
|
|
59
|
+
generated: undefined;
|
|
60
|
+
}, {}>;
|
|
12
61
|
time_compacting: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
13
62
|
name: string;
|
|
14
63
|
tableName: "session_v2";
|