@opencode-ai/core 0.0.0-beta-17823 → 0.0.0-beta-17887
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +2 -2
- package/dist/agent.js +73 -72
- package/dist/aisdk-native.js +3 -3
- package/dist/aisdk.js +4 -4
- package/dist/app.js +2 -2
- package/dist/bus.js +71 -70
- package/dist/catalog.js +81 -80
- package/dist/chunks/{bus-02dbfq60.js → schema-02dbfq60.js} +1 -1
- package/dist/chunks/{bus-0b17sr9d.js → schema-0b17sr9d.js} +2 -2
- package/dist/chunks/{bus-veg0dp2c.js → schema-0cxmrpsx.js} +32 -32
- package/dist/chunks/{bus-q33mk6d8.js → schema-0ehq5bhp.js} +14 -12
- package/dist/chunks/{bus-y9esm2mp.js → schema-0hgrfweh.js} +5 -5
- package/dist/chunks/{bus-0kvmztkf.js → schema-0kvmztkf.js} +1 -1
- package/dist/chunks/{bus-3ewxjzxn.js → schema-0ranhcjt.js} +2 -2
- package/dist/chunks/{bus-n744begs.js → schema-0vem89v9.js} +4 -4
- package/dist/chunks/{bus-n2w8fz38.js → schema-0vgt3zn6.js} +2 -2
- package/dist/chunks/{bus-tc8t62xv.js → schema-1637fpsx.js} +3 -3
- package/dist/chunks/{bus-18pv8fg3.js → schema-18pv8fg3.js} +2 -2
- package/dist/chunks/{bus-qp4w20e0.js → schema-19nk26qg.js} +5 -5
- package/dist/chunks/{bus-wh0zhxcg.js → schema-1a3a2s70.js} +2 -2
- package/dist/chunks/{bus-n0pq9mwy.js → schema-1nf83cea.js} +10 -16
- package/dist/chunks/{bus-x8pw55re.js → schema-1tqppy8q.js} +3 -3
- package/dist/chunks/{bus-2m10tm2s.js → schema-20hrmxeg.js} +7 -7
- package/dist/chunks/{bus-25pxtba7.js → schema-25pxtba7.js} +1 -1
- package/dist/chunks/{bus-2krkn5gv.js → schema-29ddmng8.js} +8 -8
- package/dist/chunks/{bus-rxf53ctm.js → schema-2aeag69d.js} +5 -5
- package/dist/chunks/{bus-2h2vssdq.js → schema-2h85227b.js} +2 -2
- package/dist/chunks/{bus-nzn9vp0h.js → schema-2hwdvqtr.js} +8 -8
- package/dist/chunks/{bus-pey90rx3.js → schema-2hyeqd71.js} +5 -5
- package/dist/chunks/{bus-2nmyybe0.js → schema-2nmyybe0.js} +1 -1
- package/dist/chunks/{bus-4hc8axh8.js → schema-2sx6rcrq.js} +64 -32
- package/dist/chunks/{bus-2akqrmqf.js → schema-2ya5073c.js} +1 -1
- package/dist/chunks/{bus-t2ccr6s6.js → schema-2zf7hxjt.js} +4 -4
- package/dist/chunks/{bus-gp1p5nz4.js → schema-37e9hbzs.js} +2 -2
- package/dist/chunks/{bus-7xm5mbbb.js → schema-3d1t6jqf.js} +3 -3
- package/dist/chunks/{bus-wcv7f5r5.js → schema-3g6g5vyj.js} +3 -3
- package/dist/chunks/{bus-3g8vftxb.js → schema-3g8vftxb.js} +2 -2
- package/dist/chunks/{bus-atc09b0q.js → schema-3gsv1x0v.js} +2 -2
- package/dist/chunks/{bus-f8knj356.js → schema-3hfdta0w.js} +2 -2
- package/dist/chunks/{bus-51y8ay1x.js → schema-3jsgz9x8.js} +37 -39
- package/dist/chunks/{bus-3thh6229.js → schema-3thh6229.js} +2 -2
- package/dist/chunks/{bus-xhs8426p.js → schema-3wg1t0st.js} +13 -13
- package/dist/chunks/{bus-3r3ecpec.js → schema-3x0rbcme.js} +10 -11
- package/dist/chunks/{bus-m8mm853q.js → schema-4hyc8pdv.js} +10 -10
- package/dist/chunks/{bus-48wxp1m2.js → schema-4j7te1s0.js} +3 -3
- package/dist/chunks/{bus-pd67jw04.js → schema-4jvfx8g6.js} +3 -3
- package/dist/chunks/{bus-4s2xwh5d.js → schema-4s2xwh5d.js} +3 -3
- package/dist/chunks/{bus-4zzdwbaz.js → schema-4zzdwbaz.js} +2 -2
- package/dist/chunks/{bus-50jxp3hw.js → schema-50jxp3hw.js} +1 -1
- package/dist/chunks/{bus-fjtxtbhx.js → schema-50qcmj3d.js} +3 -3
- package/dist/chunks/{bus-tr2j01af.js → schema-53w8n9hm.js} +7 -5
- package/dist/chunks/{bus-6dssp8bm.js → schema-53xdmpnb.js} +38 -38
- package/dist/chunks/{bus-57tzwnz4.js → schema-57tzwnz4.js} +1 -1
- package/dist/chunks/{bus-tcn24h1d.js → schema-58xdvehb.js} +2 -3
- package/dist/chunks/{bus-sgvnccme.js → schema-59ccykdk.js} +10 -19
- package/dist/chunks/{bus-m8eb5ktf.js → schema-59hngwn8.js} +9 -9
- package/dist/chunks/{bus-wbddvyfn.js → schema-5anrxqdj.js} +7 -5
- package/dist/chunks/{bus-prf9bavk.js → schema-5fe026tx.js} +3 -3
- package/dist/chunks/{bus-qn7g8h3c.js → schema-5fq5ws54.js} +4 -4
- package/dist/chunks/{bus-96x57j49.js → schema-5ndt04bs.js} +7 -7
- package/dist/chunks/{bus-mye11gf8.js → schema-5rnjreb1.js} +6 -4
- package/dist/chunks/{bus-5rs65q6p.js → schema-5rs65q6p.js} +1 -1
- package/dist/chunks/{bus-5vcssjzn.js → schema-5vcssjzn.js} +1 -1
- package/dist/chunks/{bus-p0zqjz05.js → schema-5xrsrne4.js} +3 -3
- package/dist/chunks/{bus-cgfda2sn.js → schema-6039vy3q.js} +6 -6
- package/dist/chunks/{bus-ng2qt8pw.js → schema-61m74eps.js} +6 -6
- package/dist/chunks/{bus-ph1me6ah.js → schema-65re92qg.js} +6 -4
- package/dist/chunks/{bus-5f5thcby.js → schema-6btb8gmk.js} +6 -6
- package/dist/chunks/{bus-8hssvxkg.js → schema-6e0hvkjj.js} +16 -17
- package/dist/chunks/{bus-e93xz9yp.js → schema-6gz8qpj3.js} +15 -16
- package/dist/chunks/{bus-6ky7rqk7.js → schema-6ky7rqk7.js} +1 -1
- package/dist/chunks/{bus-2te62yba.js → schema-6mvn0j90.js} +4 -4
- package/dist/chunks/{bus-6q0m15b3.js → schema-6q0m15b3.js} +1 -1
- package/dist/chunks/{bus-eceszhsw.js → schema-6srb8ptf.js} +5 -5
- package/dist/chunks/{bus-5yea2tah.js → schema-6x98y149.js} +2 -2
- package/dist/chunks/schema-6zqxzw0a.js +15 -0
- package/dist/chunks/{bus-anf7mnj5.js → schema-70248kr6.js} +21 -25
- package/dist/chunks/{bus-v9sqx51q.js → schema-763yasmv.js} +8 -8
- package/dist/chunks/{bus-as47syxa.js → schema-76hmsx9m.js} +11 -11
- package/dist/chunks/{bus-bs3z4wp1.js → schema-7764k952.js} +26 -21
- package/dist/chunks/{bus-7gqqz1s8.js → schema-7gqqz1s8.js} +1 -1
- package/dist/chunks/{bus-7mrpdsq5.js → schema-7mrpdsq5.js} +1 -1
- package/dist/chunks/{bus-cpzngvr9.js → schema-7rqv91hy.js} +8 -8
- package/dist/chunks/{bus-wrfx3tf4.js → schema-7vh3yvmw.js} +3 -3
- package/dist/chunks/{bus-7wcmqxrc.js → schema-7wcmqxrc.js} +1 -1
- package/dist/chunks/{bus-cwdq890m.js → schema-7yfqzmjb.js} +27 -27
- package/dist/chunks/{bus-88jbfw8z.js → schema-88jbfw8z.js} +2 -2
- package/dist/chunks/{bus-gn16fasc.js → schema-89dw1ph7.js} +4 -4
- package/dist/chunks/{bus-hsyk7kfz.js → schema-8bkmtpp6.js} +5 -5
- package/dist/chunks/{bus-rt6yg6j2.js → schema-8bqpm1yy.js} +3 -3
- package/dist/chunks/{bus-e3pt0j5y.js → schema-8cbfrh3v.js} +28 -22
- package/dist/chunks/{bus-bmweayxc.js → schema-8gp1tmat.js} +3 -3
- package/dist/chunks/{bus-x2c0q89n.js → schema-8m0kaaxz.js} +12 -12
- package/dist/chunks/{bus-trb1bzw9.js → schema-8qfxtd4q.js} +12 -12
- package/dist/chunks/{bus-55ypd0k6.js → schema-8ry20zzk.js} +12 -12
- package/dist/chunks/{bus-8v47shgf.js → schema-8v47shgf.js} +2 -2
- package/dist/chunks/{bus-vw66b17v.js → schema-905996ne.js} +17 -17
- package/dist/chunks/{bus-999qd968.js → schema-999qd968.js} +1 -1
- package/dist/chunks/{bus-9f0rnpkn.js → schema-9f0rnpkn.js} +1 -1
- package/dist/chunks/{bus-gz765asg.js → schema-9p8mhgdp.js} +1 -1
- package/dist/chunks/{bus-7vdhadbr.js → schema-9ss8makt.js} +8 -6
- package/dist/chunks/{bus-pksqhf5j.js → schema-aejndznj.js} +17 -14
- package/dist/chunks/{bus-27v6rhsm.js → schema-ambzzkps.js} +8 -8
- package/dist/chunks/{bus-ayfwnm78.js → schema-ayfwnm78.js} +2 -2
- package/dist/chunks/{bus-zjvgdt9p.js → schema-b7hsw5bk.js} +22 -38
- package/dist/chunks/{bus-dyz5q1tb.js → schema-bh1wr8rq.js} +3 -6
- package/dist/chunks/{bus-xd2xkk7n.js → schema-bj25ggyd.js} +4 -5
- package/dist/chunks/{bus-byab506k.js → schema-byab506k.js} +1 -1
- package/dist/chunks/{bus-1c00jchy.js → schema-c4wcb9vc.js} +3 -3
- package/dist/chunks/{bus-e24rm1tf.js → schema-c6gknnhe.js} +2 -2
- package/dist/chunks/{bus-fk3tzmrv.js → schema-c6h4bynb.js} +20 -24
- package/dist/chunks/{bus-0b6ye7sf.js → schema-c9tk9ghs.js} +3 -3
- package/dist/chunks/{bus-gwj8nfkp.js → schema-chrmmjkk.js} +6 -6
- package/dist/chunks/{bus-qw06pdhp.js → schema-ck5pgha0.js} +1 -1
- package/dist/chunks/{bus-19e1vard.js → schema-cke3skfe.js} +3 -7
- package/dist/chunks/{bus-4tmgtgw2.js → schema-cmm1dbz2.js} +5 -5
- package/dist/chunks/{bus-3jcy51m6.js → schema-cqrnepgy.js} +48 -36
- package/dist/chunks/{bus-nk6yb8jk.js → schema-cve546b2.js} +2 -2
- package/dist/chunks/{bus-cz3dkvcz.js → schema-cz3dkvcz.js} +1 -1
- package/dist/chunks/{bus-eyk9wdct.js → schema-d2gk9vpf.js} +4 -5
- package/dist/chunks/{bus-rcvvhx6c.js → schema-dc6p8rz8.js} +20 -16
- package/dist/chunks/{bus-dhphtf1x.js → schema-dhphtf1x.js} +1 -1
- package/dist/chunks/{bus-sfbv6a2b.js → schema-djkt4gex.js} +4 -6
- package/dist/chunks/{bus-wxb49pcv.js → schema-dkxc2cgd.js} +89 -88
- package/dist/chunks/{bus-1h0r72pv.js → schema-dyrphakh.js} +11 -17
- package/dist/chunks/{bus-e1z9a0ts.js → schema-e1z9a0ts.js} +2 -2
- package/dist/chunks/{bus-tchczry9.js → schema-e5r8d43z.js} +3 -3
- package/dist/chunks/{bus-ec8vrfw5.js → schema-ec8vrfw5.js} +1 -1
- package/dist/chunks/{bus-md8xze4k.js → schema-ej9r6fs2.js} +9 -9
- package/dist/chunks/{bus-zkkkcc8p.js → schema-epzxjdf4.js} +4 -4
- package/dist/chunks/{bus-erj4j75s.js → schema-erj4j75s.js} +1 -1
- package/dist/chunks/{bus-v332cd3m.js → schema-eyrg1yjb.js} +9 -9
- package/dist/chunks/{bus-tenv3kfs.js → schema-f9wt0tjw.js} +2 -2
- package/dist/chunks/{bus-mkpz73zj.js → schema-f9z62w49.js} +5 -5
- package/dist/chunks/{bus-kyy2az1w.js → schema-fbe8wd9q.js} +5 -5
- package/dist/chunks/{bus-704hbswx.js → schema-fx6gxcwx.js} +4 -4
- package/dist/chunks/{bus-dcprj0dg.js → schema-g1ps01gx.js} +97 -70
- package/dist/chunks/{bus-73eahnvp.js → schema-g3tejemp.js} +4 -5
- package/dist/chunks/{bus-mcq6xj16.js → schema-g4tfhrky.js} +12 -10
- package/dist/chunks/{bus-tg6hejda.js → schema-g6sgqcje.js} +5 -5
- package/dist/chunks/{bus-8k08086v.js → schema-g7t6p8r2.js} +1 -1
- package/dist/chunks/{bus-z5d5bw72.js → schema-g7v03tbe.js} +12 -11
- package/dist/chunks/{bus-g9yygpzr.js → schema-g9yygpzr.js} +1 -1
- package/dist/chunks/{bus-gcay93cp.js → schema-gcay93cp.js} +1 -1
- package/dist/chunks/{bus-gd2xppx8.js → schema-gd2xppx8.js} +1 -1
- package/dist/chunks/{bus-fqxzsdmq.js → schema-gg8gy1ab.js} +2 -2
- package/dist/chunks/{bus-egasbfm0.js → schema-gjkvrjgw.js} +3 -3
- package/dist/chunks/{bus-tqvcb8j8.js → schema-gk39pf7r.js} +8 -6
- package/dist/chunks/{bus-c0h8k03q.js → schema-gnae5wg8.js} +20 -21
- package/dist/chunks/{bus-6k923qe9.js → schema-gpj6jen2.js} +12 -13
- package/dist/chunks/{bus-ceh687qc.js → schema-gsd7aj52.js} +16 -14
- package/dist/chunks/{bus-46kxywyk.js → schema-gvywm9dn.js} +12 -12
- package/dist/chunks/{bus-9cey77cq.js → schema-gxhthtcw.js} +9 -9
- package/dist/chunks/{bus-ra765m8n.js → schema-gzsc4f4d.js} +16 -16
- package/dist/chunks/{bus-943bxw84.js → schema-h5ybtq26.js} +5 -5
- package/dist/chunks/{bus-rnqjp4cw.js → schema-hca9bg61.js} +5 -5
- package/dist/chunks/{bus-gn83211g.js → schema-hevdag7w.js} +12 -12
- package/dist/chunks/{bus-zqh29h4g.js → schema-hhxt27np.js} +2 -3
- package/dist/chunks/{bus-cake6fs9.js → schema-hkpr9a4z.js} +5 -5
- package/dist/chunks/{bus-wb4dbzpz.js → schema-hp6rpdnc.js} +5 -3
- package/dist/chunks/{bus-19qgjfzv.js → schema-j3ethsxz.js} +2 -2
- package/dist/chunks/{bus-3ahf14k8.js → schema-jf0w9kwc.js} +4 -4
- package/dist/chunks/{bus-d0r2hzy0.js → schema-jf35ek5b.js} +2 -2
- package/dist/chunks/{bus-jssy2dr3.js → schema-jssy2dr3.js} +2 -2
- package/dist/chunks/{bus-brqpbqpa.js → schema-jt9ap34s.js} +3 -3
- package/dist/chunks/{bus-eacxen1d.js → schema-jtpqmfzd.js} +6 -6
- package/dist/chunks/{bus-g7k9te92.js → schema-k3e42drn.js} +1 -2
- package/dist/chunks/{bus-g5d54sdx.js → schema-k42t1tha.js} +2 -2
- package/dist/chunks/{bus-n11z769x.js → schema-kcbd8yt0.js} +3 -3
- package/dist/chunks/{bus-kg1345f7.js → schema-kg1345f7.js} +1 -1
- package/dist/chunks/schema-kp1t5rcy.js +20 -0
- package/dist/chunks/{bus-ste2kqtd.js → schema-m5hb23fp.js} +4 -4
- package/dist/chunks/{bus-hq5052b7.js → schema-mat0pk2n.js} +148 -148
- package/dist/chunks/{bus-1mxyy099.js → schema-me155pxc.js} +11 -11
- package/dist/chunks/{bus-mf0hyk7z.js → schema-mf0hyk7z.js} +1 -1
- package/dist/chunks/{bus-73a2hz0p.js → schema-mf73chvh.js} +13 -13
- package/dist/chunks/{bus-xvphkvkz.js → schema-mge4khx8.js} +12 -12
- package/dist/chunks/{bus-mh28new4.js → schema-mh28new4.js} +2 -2
- package/dist/chunks/{bus-9thznc6f.js → schema-mmjdvscj.js} +6 -6
- package/dist/chunks/{bus-mnb85w6b.js → schema-mnb85w6b.js} +2 -2
- package/dist/chunks/{bus-xg45bpe0.js → schema-mtdnc27f.js} +23 -25
- package/dist/chunks/{bus-3jxrc0qq.js → schema-mtwyx2kp.js} +3 -3
- package/dist/chunks/{bus-mwceq5am.js → schema-mwceq5am.js} +1 -1
- package/dist/chunks/{bus-mxvw03gv.js → schema-mxvw03gv.js} +1 -1
- package/dist/chunks/{bus-d9a0aqm5.js → schema-n9e07w6s.js} +25 -25
- package/dist/chunks/{bus-qyzajttf.js → schema-nbfw6jpr.js} +8 -8
- package/dist/chunks/{bus-dwn7kn0q.js → schema-ndw42r8n.js} +65 -65
- package/dist/chunks/{bus-nesb2rcz.js → schema-nesb2rcz.js} +2 -2
- package/dist/chunks/{bus-nr76rjj3.js → schema-nr76rjj3.js} +2 -2
- package/dist/chunks/{bus-qgt32wwf.js → schema-nrkas8zm.js} +4 -4
- package/dist/chunks/{bus-0v9t0j92.js → schema-nt3351yh.js} +15 -15
- package/dist/chunks/{bus-ck1pqn60.js → schema-nvz6n7yp.js} +25 -17
- package/dist/chunks/{bus-nzrjycs5.js → schema-nzrjycs5.js} +1 -1
- package/dist/chunks/{bus-p27xxkqg.js → schema-p27xxkqg.js} +3 -3
- package/dist/chunks/{bus-pfqehjmy.js → schema-pfqehjmy.js} +2 -2
- package/dist/chunks/{bus-a3p3qcfz.js → schema-pgex9pvk.js} +2 -2
- package/dist/chunks/{bus-pq4b4pqk.js → schema-pq4b4pqk.js} +2 -2
- package/dist/chunks/{bus-jqkpryhn.js → schema-q07sa4nq.js} +4 -4
- package/dist/chunks/{bus-jyf48vpz.js → schema-qcpexbr2.js} +1 -1
- package/dist/chunks/{bus-qe0d689s.js → schema-qe0d689s.js} +2 -2
- package/dist/chunks/{bus-f2kz495y.js → schema-qhdqjp31.js} +7 -8
- package/dist/chunks/{bus-ftqx1cne.js → schema-r14kbnc4.js} +8 -13
- package/dist/chunks/{bus-r2sj0wvy.js → schema-r211gje0.js} +8 -8
- package/dist/chunks/{bus-r3k9abhd.js → schema-r3k9abhd.js} +2 -2
- package/dist/chunks/{bus-x6ts3ckt.js → schema-r6v38kgd.js} +9 -9
- package/dist/chunks/{bus-f9et6cts.js → schema-r7qg3fv7.js} +26 -5
- package/dist/chunks/{bus-awwx6pea.js → schema-r9f1y3a1.js} +9 -9
- package/dist/chunks/{bus-23pj99w1.js → schema-r9m9r1k0.js} +5 -5
- package/dist/chunks/{bus-h8ecejt5.js → schema-rahat93a.js} +1 -1
- package/dist/chunks/{bus-7yf7nmr6.js → schema-rbzab1ws.js} +2 -2
- package/dist/chunks/{bus-706a4azd.js → schema-rfbm65k8.js} +1 -1
- package/dist/chunks/{bus-t30cm89f.js → schema-rhr8bscf.js} +8 -8
- package/dist/chunks/{bus-phkhjjkz.js → schema-rm6e9qn4.js} +15 -15
- package/dist/chunks/{bus-jt4wm1df.js → schema-rn9r0ddn.js} +2 -2
- package/dist/chunks/{bus-d1vv73bz.js → schema-rpvypsvk.js} +4 -4
- package/dist/chunks/{bus-ryap75b3.js → schema-ryap75b3.js} +1 -1
- package/dist/chunks/{bus-r1kmqz8y.js → schema-s123x8qa.js} +4 -4
- package/dist/chunks/{bus-s33fw6zm.js → schema-s33fw6zm.js} +1 -1
- package/dist/chunks/{bus-e9yfe4g9.js → schema-s4hn1693.js} +11 -9
- package/dist/chunks/{bus-80ngqr8j.js → schema-s7tvvea7.js} +8 -8
- package/dist/chunks/{bus-0em3xb1n.js → schema-sb6cavh7.js} +44 -44
- package/dist/chunks/{bus-smpeg8c9.js → schema-smpeg8c9.js} +2 -2
- package/dist/chunks/{bus-sw84ckhj.js → schema-sw84ckhj.js} +1 -1
- package/dist/chunks/{bus-dman5pj0.js → schema-swj2q685.js} +120 -132
- package/dist/chunks/{bus-t14kykx1.js → schema-t14kykx1.js} +1 -1
- package/dist/chunks/{bus-t066q9hw.js → schema-tb33ng7x.js} +2 -2
- package/dist/chunks/{bus-w7shx321.js → schema-tg2wc1h2.js} +3 -3
- package/dist/chunks/{bus-thstd87d.js → schema-thstd87d.js} +1 -1
- package/dist/chunks/{bus-b25zdeh7.js → schema-tjjf1q77.js} +1 -1
- package/dist/chunks/{bus-kc4zdy65.js → schema-tpennrrf.js} +2 -2
- package/dist/chunks/{bus-v2wshkax.js → schema-v2wshkax.js} +1 -1
- package/dist/chunks/{bus-7vtcgg65.js → schema-v3sehd45.js} +1 -1
- package/dist/chunks/{bus-95jpn1bs.js → schema-v6nebarc.js} +4 -4
- package/dist/chunks/{bus-v80zsxnb.js → schema-v80zsxnb.js} +1 -1
- package/dist/chunks/{bus-9bpmq09z.js → schema-v888f2m4.js} +93 -89
- package/dist/chunks/{bus-v972xay6.js → schema-v972xay6.js} +1 -1
- package/dist/chunks/{bus-v9bfv94f.js → schema-v9bfv94f.js} +1 -1
- package/dist/chunks/{bus-ded9e5ma.js → schema-vmvzq9kn.js} +31 -33
- package/dist/chunks/{bus-vd085d0a.js → schema-vq63px7f.js} +23 -27
- package/dist/chunks/{bus-f05p34aa.js → schema-vqbmgfq1.js} +3 -3
- package/dist/chunks/{bus-d88ta3k5.js → schema-vrnna8ef.js} +8 -8
- package/dist/chunks/{bus-vz89hfgr.js → schema-vz89hfgr.js} +1 -1
- package/dist/chunks/{bus-wd268jeg.js → schema-wd268jeg.js} +1 -1
- package/dist/chunks/{bus-bx2a89z7.js → schema-wk54z6sh.js} +20 -16
- package/dist/chunks/{bus-wmxdh12w.js → schema-wmxdh12w.js} +1 -1
- package/dist/chunks/{bus-wps8gh8n.js → schema-wps8gh8n.js} +2 -2
- package/dist/chunks/{bus-dq22jep7.js → schema-wqvb4wbw.js} +34 -21
- package/dist/chunks/{bus-zgz5w7jt.js → schema-xc83wxk6.js} +11 -11
- package/dist/chunks/{bus-xczfw7dq.js → schema-xczfw7dq.js} +1 -1
- package/dist/chunks/{bus-xgv25zxy.js → schema-xgv25zxy.js} +1 -1
- package/dist/chunks/{bus-xhz3jyrc.js → schema-xt0068v8.js} +4 -6
- package/dist/chunks/{bus-05egcjvj.js → schema-xty1ggdh.js} +5 -5
- package/dist/chunks/{bus-xwftk1fd.js → schema-xwftk1fd.js} +2 -2
- package/dist/chunks/{bus-xxpvz42q.js → schema-xxpvz42q.js} +3 -3
- package/dist/chunks/{bus-y0x38cee.js → schema-y0x38cee.js} +1 -1
- package/dist/chunks/{bus-y198y2ra.js → schema-y198y2ra.js} +1 -1
- package/dist/chunks/{bus-4qce6znw.js → schema-y4vhttwz.js} +10 -16
- package/dist/chunks/{bus-y67x6rf6.js → schema-y67x6rf6.js} +1 -1
- package/dist/chunks/{bus-y8rs54ne.js → schema-y8rs54ne.js} +1 -1
- package/dist/chunks/{bus-y980s7ka.js → schema-y980s7ka.js} +3 -3
- package/dist/chunks/{bus-a65h300v.js → schema-ybhfpy64.js} +5 -3
- package/dist/chunks/{bus-yf0knd5z.js → schema-yf0knd5z.js} +2 -2
- package/dist/chunks/{bus-9d2xhdr4.js → schema-ygy0xbqa.js} +6 -3
- package/dist/chunks/{bus-vyw6gc2g.js → schema-yqydgc4n.js} +11 -9
- package/dist/chunks/{bus-7q3nz0jj.js → schema-yv6n70q9.js} +18 -14
- package/dist/chunks/{bus-ven12e56.js → schema-z50xyfn5.js} +8 -8
- package/dist/chunks/{bus-j9hz4v7z.js → schema-z5t17bvd.js} +8 -8
- package/dist/chunks/{bus-pqtsv9by.js → schema-z7z53gbn.js} +9 -9
- package/dist/chunks/{bus-ecxv0vtt.js → schema-z8fm0r70.js} +3 -0
- package/dist/chunks/{bus-zbqqnp0n.js → schema-zbqqnp0n.js} +1 -1
- package/dist/chunks/{bus-zdkg1k91.js → schema-zdkg1k91.js} +1 -1
- package/dist/chunks/{bus-zfxc0ze5.js → schema-zfxc0ze5.js} +1 -1
- package/dist/chunks/{bus-5hnhk0jf.js → schema-zwedh6rp.js} +6 -6
- package/dist/chunks/{bus-zxe9jjhn.js → schema-zxe9jjhn.js} +2 -2
- package/dist/codemode/catalog.js +2 -2
- package/dist/codemode/instructions.js +4 -4
- package/dist/codemode/tool.js +3 -3
- package/dist/command.js +99 -98
- package/dist/config/markdown.js +2 -2
- package/dist/config/normalize.js +20 -20
- package/dist/config/plugin/agent.js +132 -131
- package/dist/config/plugin/command.js +129 -128
- package/dist/config/plugin/compaction.js +168 -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 +22 -22
- 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 +80 -79
- package/dist/database/v1-migration.js +2 -2
- package/dist/database/v1-migration.noop.js +1 -1
- package/dist/effect/app-node-builder.js +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 +166 -155
- 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 → schema-0cgt0xh2.js} +0 -0
- /package/dist/chunks/{bus-0f48qthw.js → schema-0f48qthw.js} +0 -0
- /package/dist/chunks/{bus-0zz82cjq.js → schema-0zz82cjq.js} +0 -0
- /package/dist/chunks/{bus-1fb7bmpf.js → schema-1fb7bmpf.js} +0 -0
- /package/dist/chunks/{bus-1wcz8fvj.js → schema-1wcz8fvj.js} +0 -0
- /package/dist/chunks/{bus-2qdx6zz3.js → schema-2qdx6zz3.js} +0 -0
- /package/dist/chunks/{bus-3c4nztf9.js → schema-3c4nztf9.js} +0 -0
- /package/dist/chunks/{bus-3g3rpp2x.js → schema-3g3rpp2x.js} +0 -0
- /package/dist/chunks/{bus-3q6gbwmd.js → schema-3q6gbwmd.js} +0 -0
- /package/dist/chunks/{bus-3w3ybtfd.js → schema-3w3ybtfd.js} +0 -0
- /package/dist/chunks/{bus-47ty4mvs.js → schema-47ty4mvs.js} +0 -0
- /package/dist/chunks/{bus-4b2tz2m9.js → schema-4b2tz2m9.js} +0 -0
- /package/dist/chunks/{bus-4zg0gww9.js → schema-4zg0gww9.js} +0 -0
- /package/dist/chunks/{bus-5a5ch9ts.js → schema-5a5ch9ts.js} +0 -0
- /package/dist/chunks/{bus-5va1yh78.js → schema-5va1yh78.js} +0 -0
- /package/dist/chunks/{bus-69qrqpw0.js → schema-69qrqpw0.js} +0 -0
- /package/dist/chunks/{bus-6yt963b8.js → schema-6yt963b8.js} +0 -0
- /package/dist/chunks/{bus-7n9qwqk4.js → schema-7n9qwqk4.js} +0 -0
- /package/dist/chunks/{bus-8nn8kqcn.js → schema-8nn8kqcn.js} +0 -0
- /package/dist/chunks/{bus-8sj3ajy5.js → schema-8sj3ajy5.js} +0 -0
- /package/dist/chunks/{bus-8w9tzfz1.js → schema-8w9tzfz1.js} +0 -0
- /package/dist/chunks/{bus-906y0b6d.js → schema-906y0b6d.js} +0 -0
- /package/dist/chunks/{bus-9dct5xhx.js → schema-9dct5xhx.js} +0 -0
- /package/dist/chunks/{bus-9sdtsapf.js → schema-9sdtsapf.js} +0 -0
- /package/dist/chunks/{bus-a02svayp.js → schema-a02svayp.js} +0 -0
- /package/dist/chunks/{bus-a83yvq99.js → schema-a83yvq99.js} +0 -0
- /package/dist/chunks/{bus-aqg9wnx6.js → schema-aqg9wnx6.js} +0 -0
- /package/dist/chunks/{bus-ayevdmef.js → schema-ayevdmef.js} +0 -0
- /package/dist/chunks/{bus-b02txbh8.js → schema-b02txbh8.js} +0 -0
- /package/dist/chunks/{bus-bbqs2y60.js → schema-bbqs2y60.js} +0 -0
- /package/dist/chunks/{bus-brsh5f65.js → schema-brsh5f65.js} +0 -0
- /package/dist/chunks/{bus-bxdhjb3y.js → schema-bxdhjb3y.js} +0 -0
- /package/dist/chunks/{bus-c77ad0vh.js → schema-c77ad0vh.js} +0 -0
- /package/dist/chunks/{bus-cm67rqy2.js → schema-cm67rqy2.js} +0 -0
- /package/dist/chunks/{bus-dbah77c1.js → schema-dbah77c1.js} +0 -0
- /package/dist/chunks/{bus-df3v2q6j.js → schema-df3v2q6j.js} +0 -0
- /package/dist/chunks/{bus-dhcq6c44.js → schema-dhcq6c44.js} +0 -0
- /package/dist/chunks/{bus-dht5baf0.js → schema-dht5baf0.js} +0 -0
- /package/dist/chunks/{bus-dkmkay92.js → schema-dkmkay92.js} +0 -0
- /package/dist/chunks/{bus-ehj9csmv.js → schema-ehj9csmv.js} +0 -0
- /package/dist/chunks/{bus-em6xpscd.js → schema-em6xpscd.js} +0 -0
- /package/dist/chunks/{bus-emmqknsm.js → schema-emmqknsm.js} +0 -0
- /package/dist/chunks/{bus-ezs3tagn.js → schema-ezs3tagn.js} +0 -0
- /package/dist/chunks/{bus-f14r7hfz.js → schema-f14r7hfz.js} +0 -0
- /package/dist/chunks/{bus-f4cp4g4a.js → schema-f4cp4g4a.js} +0 -0
- /package/dist/chunks/{bus-f84sxdqn.js → schema-f84sxdqn.js} +0 -0
- /package/dist/chunks/{bus-faypg4r1.js → schema-faypg4r1.js} +0 -0
- /package/dist/chunks/{bus-gd5xeqc2.js → schema-gd5xeqc2.js} +0 -0
- /package/dist/chunks/{bus-ghm4673n.js → schema-ghm4673n.js} +0 -0
- /package/dist/chunks/{bus-ghwjy7my.js → schema-ghwjy7my.js} +0 -0
- /package/dist/chunks/{bus-gy500k2r.js → schema-gy500k2r.js} +0 -0
- /package/dist/chunks/{bus-hzeg9cfr.js → schema-hzeg9cfr.js} +0 -0
- /package/dist/chunks/{bus-j07kk359.js → schema-j07kk359.js} +0 -0
- /package/dist/chunks/{bus-jve7t217.js → schema-jve7t217.js} +0 -0
- /package/dist/chunks/{bus-kpdbz7gn.js → schema-kpdbz7gn.js} +0 -0
- /package/dist/chunks/{bus-kxy11nzk.js → schema-kxy11nzk.js} +0 -0
- /package/dist/chunks/{bus-kyyqvx4s.js → schema-kyyqvx4s.js} +0 -0
- /package/dist/chunks/{bus-m8cbvarh.js → schema-m8cbvarh.js} +0 -0
- /package/dist/chunks/{bus-ma07p6tt.js → schema-ma07p6tt.js} +0 -0
- /package/dist/chunks/{bus-ma60vzgv.js → schema-ma60vzgv.js} +0 -0
- /package/dist/chunks/{bus-n3m50c2t.js → schema-n3m50c2t.js} +0 -0
- /package/dist/chunks/{bus-nkm1m8dz.js → schema-nkm1m8dz.js} +0 -0
- /package/dist/chunks/{bus-nsc0c3zb.js → schema-nsc0c3zb.js} +0 -0
- /package/dist/chunks/{bus-qaarhjrp.js → schema-qaarhjrp.js} +0 -0
- /package/dist/chunks/{bus-qc167nrn.js → schema-qc167nrn.js} +0 -0
- /package/dist/chunks/{bus-qp95y4jb.js → schema-qp95y4jb.js} +0 -0
- /package/dist/chunks/{bus-r8f4w671.js → schema-r8f4w671.js} +0 -0
- /package/dist/chunks/{bus-rdfev9jy.js → schema-rdfev9jy.js} +0 -0
- /package/dist/chunks/{bus-rvfvac9x.js → schema-rvfvac9x.js} +0 -0
- /package/dist/chunks/{bus-s7whb9gt.js → schema-s7whb9gt.js} +0 -0
- /package/dist/chunks/{bus-se76j685.js → schema-se76j685.js} +0 -0
- /package/dist/chunks/{bus-sem2g21k.js → schema-sem2g21k.js} +0 -0
- /package/dist/chunks/{bus-tmb1f636.js → schema-tmb1f636.js} +0 -0
- /package/dist/chunks/{bus-ttxf0gsy.js → schema-ttxf0gsy.js} +0 -0
- /package/dist/chunks/{bus-tvmhrvfj.js → schema-tvmhrvfj.js} +0 -0
- /package/dist/chunks/{bus-v2adqbbe.js → schema-v2adqbbe.js} +0 -0
- /package/dist/chunks/{bus-vkvb1sb3.js → schema-vkvb1sb3.js} +0 -0
- /package/dist/chunks/{bus-wj4sxzqa.js → schema-wj4sxzqa.js} +0 -0
- /package/dist/chunks/{bus-wwntjmk1.js → schema-wwntjmk1.js} +0 -0
- /package/dist/chunks/{bus-wyqjaaa5.js → schema-wyqjaaa5.js} +0 -0
- /package/dist/chunks/{bus-x4q807cx.js → schema-x4q807cx.js} +0 -0
- /package/dist/chunks/{bus-yrqrg4vp.js → schema-yrqrg4vp.js} +0 -0
- /package/dist/chunks/{bus-z47nswr2.js → schema-z47nswr2.js} +0 -0
- /package/dist/chunks/{bus-zsf8rs93.js → schema-zsf8rs93.js} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-a83yvq99.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionInboxTable,
|
|
6
6
|
SessionMessageTable
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-ygy0xbqa.js";
|
|
8
8
|
import {
|
|
9
9
|
exports_message
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-25pxtba7.js";
|
|
11
11
|
import {
|
|
12
12
|
exports_schema
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./schema-y8rs54ne.js";
|
|
14
14
|
import {
|
|
15
15
|
exports_keyed_mutex
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./schema-0kvmztkf.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./schema-rvfvac9x.js";
|
|
20
20
|
|
|
21
21
|
// src/session/inbox.ts
|
|
22
22
|
var exports_inbox = {};
|
|
@@ -153,14 +153,12 @@ var admit = Effect.fn("SessionInbox.admit")(function* (db, bus, request) {
|
|
|
153
153
|
inboxID: request.id,
|
|
154
154
|
sessionID: request.sessionID,
|
|
155
155
|
item: request.item
|
|
156
|
-
}).pipe(Effect.
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
return Effect.succeed(Info.make({ ...base, ...request.item }));
|
|
163
|
-
}), Effect.catchDefect((defect) => find(db, request.id).pipe(Effect.flatMap((stored) => stored?.type === request.item.type ? Effect.succeed(stored) : Effect.die(defect)))));
|
|
156
|
+
}).pipe(Effect.map((event) => Info.make({
|
|
157
|
+
id: request.id,
|
|
158
|
+
sessionID: request.sessionID,
|
|
159
|
+
timeCreated: DateTime.makeUnsafe(event.created),
|
|
160
|
+
...request.item
|
|
161
|
+
})), Effect.catchDefect((defect) => find(db, request.id).pipe(Effect.flatMap((stored) => stored?.type === request.item.type ? Effect.succeed(stored) : Effect.die(defect)))));
|
|
164
162
|
});
|
|
165
163
|
var admitCompaction = Effect.fn("SessionInbox.admitCompaction")(function* (db, bus, input) {
|
|
166
164
|
return yield* serialized(input.sessionID, Effect.gen(function* () {
|
|
@@ -272,7 +270,7 @@ var publish = Effect.fn("SessionInbox.publish")(function* (db, bus, sessionID, r
|
|
|
272
270
|
});
|
|
273
271
|
var promote = Effect.fn("SessionInbox.promote")(function* (db, bus, sessionID, scope) {
|
|
274
272
|
return yield* serialized(sessionID, Effect.gen(function* () {
|
|
275
|
-
const steers = yield* db
|
|
273
|
+
const steers = yield* pendingSteers(db, sessionID);
|
|
276
274
|
if (steers.length > 0 || scope === "steer") {
|
|
277
275
|
const control2 = steers.findIndex((row) => row.type === "compaction" || row.type === "move");
|
|
278
276
|
return yield* publish(db, bus, sessionID, control2 === -1 ? steers : steers.slice(0, control2));
|
|
@@ -281,10 +279,11 @@ var promote = Effect.fn("SessionInbox.promote")(function* (db, bus, sessionID, s
|
|
|
281
279
|
if (!queued)
|
|
282
280
|
return 0;
|
|
283
281
|
const promoted = yield* publish(db, bus, sessionID, [queued]);
|
|
284
|
-
const arrivedSteers = yield* db
|
|
282
|
+
const arrivedSteers = yield* pendingSteers(db, sessionID);
|
|
285
283
|
const control = arrivedSteers.findIndex((row) => row.type === "compaction" || row.type === "move");
|
|
286
284
|
return promoted + (yield* publish(db, bus, sessionID, control === -1 ? arrivedSteers : arrivedSteers.slice(0, control)));
|
|
287
285
|
}));
|
|
288
286
|
});
|
|
287
|
+
var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable).where(and(eq(SessionInboxTable.session_id, sessionID), eq(SessionInboxTable.delivery, "steer"))).orderBy(asc(SessionInboxTable.enqueued_seq)).all().pipe(Effect.orDie);
|
|
289
288
|
|
|
290
289
|
export { Compaction, CompactionPayload, Delivery, Info, Item, Move, MovePayload, Synthetic, SyntheticPayload, User, UserPayload, serialized, LifecycleConflict, find, admit, admitCompaction, projectAdmitted, projectDelivered, projectCancelled, projectDeliveryChanged, list, moveIDs, nextPromotable, has, cancel, steer, queue, promote, exports_inbox };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_form
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-r14kbnc4.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_permission
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-gpj6jen2.js";
|
|
7
7
|
import {
|
|
8
8
|
exports_websearch
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-mmjdvscj.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-rvfvac9x.js";
|
|
13
13
|
|
|
14
14
|
// src/tool/plugin/websearch.ts
|
|
15
15
|
var exports_websearch2 = {};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
configuredSettings
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-hca9bg61.js";
|
|
4
4
|
import {
|
|
5
5
|
iife
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-ehj9csmv.js";
|
|
7
7
|
import {
|
|
8
8
|
exports_app
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-50jxp3hw.js";
|
|
10
10
|
import {
|
|
11
11
|
exports_provider
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-djkt4gex.js";
|
|
13
13
|
import {
|
|
14
14
|
__require
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-rvfvac9x.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
18
18
|
import os from "os";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/database/migration/20260819222447_session_viewed_state.ts
|
|
2
|
+
import { Effect } from "effect";
|
|
3
|
+
var migration = {
|
|
4
|
+
id: "20260819222447_session_viewed_state",
|
|
5
|
+
up(tx) {
|
|
6
|
+
return Effect.gen(function* () {
|
|
7
|
+
yield* tx.run(`ALTER TABLE \`session_v2\` ADD \`time_idle\` integer;`);
|
|
8
|
+
yield* tx.run(`ALTER TABLE \`session_v2\` ADD \`time_viewed\` integer;`);
|
|
9
|
+
yield* tx.run(`ALTER TABLE \`session_v2\` ADD \`idle_outcome\` text;`);
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
var _20260819222447_session_viewed_state_default = migration;
|
|
14
|
+
|
|
15
|
+
export { _20260819222447_session_viewed_state_default };
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_git as exports_git2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-nrkas8zm.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError,
|
|
6
6
|
canonical
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-mnb85w6b.js";
|
|
8
8
|
import {
|
|
9
9
|
Slug
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-df3v2q6j.js";
|
|
11
11
|
import {
|
|
12
12
|
exports_location
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./schema-j3ethsxz.js";
|
|
14
14
|
import {
|
|
15
15
|
WorktreeTable
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./schema-mh28new4.js";
|
|
17
17
|
import {
|
|
18
18
|
exports_schema
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./schema-8v47shgf.js";
|
|
20
20
|
import {
|
|
21
21
|
ProjectTable
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./schema-88jbfw8z.js";
|
|
23
23
|
import {
|
|
24
24
|
exports_git
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./schema-b7hsw5bk.js";
|
|
26
26
|
import {
|
|
27
27
|
AbsolutePath
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./schema-j07kk359.js";
|
|
29
29
|
import {
|
|
30
30
|
exports_bus
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./schema-vmvzq9kn.js";
|
|
32
32
|
import {
|
|
33
33
|
exports_database
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./schema-fbe8wd9q.js";
|
|
35
35
|
import {
|
|
36
36
|
__export
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./schema-rvfvac9x.js";
|
|
38
38
|
|
|
39
39
|
// src/worktree.ts
|
|
40
40
|
var exports_worktree = {};
|
|
@@ -136,16 +136,12 @@ var layer = Layer.effect(Service, Effect.gen(function* () {
|
|
|
136
136
|
primary: Effect.fnUntraced(function* (projectID) {
|
|
137
137
|
return yield* db.select({ directory: ProjectTable.worktree }).from(ProjectTable).where(eq(ProjectTable.id, projectID)).get().pipe(Effect.orDie);
|
|
138
138
|
}),
|
|
139
|
-
create:
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
}),
|
|
146
|
-
remove: Effect.fnUntraced(function* (projectID, directory, tx) {
|
|
147
|
-
return (yield* (tx ?? db).delete(WorktreeTable).where(and(eq(WorktreeTable.project_id, projectID), eq(WorktreeTable.directory, directory))).returning({ directory: WorktreeTable.directory }).get().pipe(Effect.orDie)) !== undefined;
|
|
148
|
-
})
|
|
139
|
+
create: (input, tx) => (tx ?? db).insert(WorktreeTable).values({ project_id: input.projectID, directory: input.directory, strategy: input.strategy }).onConflictDoUpdate({
|
|
140
|
+
target: [WorktreeTable.project_id, WorktreeTable.directory],
|
|
141
|
+
set: { strategy: input.strategy ?? null },
|
|
142
|
+
setWhere: input.strategy ? or(isNull(WorktreeTable.strategy), ne(WorktreeTable.strategy, input.strategy)) : isNotNull(WorktreeTable.strategy)
|
|
143
|
+
}).returning({ directory: WorktreeTable.directory }).get().pipe(Effect.orDie, Effect.map((row) => row !== undefined)),
|
|
144
|
+
remove: (projectID, directory, tx) => (tx ?? db).delete(WorktreeTable).where(and(eq(WorktreeTable.project_id, projectID), eq(WorktreeTable.directory, directory))).returning({ directory: WorktreeTable.directory }).get().pipe(Effect.orDie, Effect.map((row) => row !== undefined))
|
|
149
145
|
};
|
|
150
146
|
const registry = new Map;
|
|
151
147
|
const register = Effect.fn("Worktree.register")(function* (strategy) {
|
|
@@ -155,7 +151,6 @@ var layer = Layer.effect(Service, Effect.gen(function* () {
|
|
|
155
151
|
});
|
|
156
152
|
const gitStrategy = yield* exports_git2.make;
|
|
157
153
|
yield* register(gitStrategy).pipe(Effect.orDie);
|
|
158
|
-
const strategies = () => Array.from(registry.values());
|
|
159
154
|
const source = Effect.fnUntraced(function* (input, projectID) {
|
|
160
155
|
const sourceDirectory = input ?? (yield* ops.primary(projectID))?.directory;
|
|
161
156
|
if (!sourceDirectory)
|
|
@@ -200,7 +195,8 @@ var layer = Layer.effect(Service, Effect.gen(function* () {
|
|
|
200
195
|
const stored = yield* ops.find(input.projectID, worktreeDirectory);
|
|
201
196
|
if (!stored?.strategy)
|
|
202
197
|
return yield* new InvalidDirectoryError({ directory: worktreeDirectory });
|
|
203
|
-
|
|
198
|
+
const strategy = yield* getStrategy(StrategyID.make(stored.strategy));
|
|
199
|
+
yield* strategy.remove({
|
|
204
200
|
directory: worktreeDirectory,
|
|
205
201
|
force: input.force
|
|
206
202
|
});
|
|
@@ -210,7 +206,7 @@ var layer = Layer.effect(Service, Effect.gen(function* () {
|
|
|
210
206
|
const stored = yield* ops.list(input.projectID);
|
|
211
207
|
const checked = yield* Effect.forEach(stored, (item) => fs.isDir(item.directory).pipe(Effect.map((exists) => ({ ...item, exists }))), { concurrency: "unbounded" });
|
|
212
208
|
const sourceDirectories = checked.filter((item) => item.strategy === undefined && item.exists).map((item) => item.directory);
|
|
213
|
-
const discovered = yield* Effect.forEach(sourceDirectories, (sourceDirectory) => Effect.forEach(
|
|
209
|
+
const discovered = yield* Effect.forEach(sourceDirectories, (sourceDirectory) => Effect.forEach(Array.from(registry.values()), (strategy) => strategy.list(sourceDirectory).pipe(Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.succeed([])), Effect.map((items) => items.map((item) => ({
|
|
214
210
|
directory: item.directory,
|
|
215
211
|
strategy: item.type === "worktree" ? strategy.id : undefined
|
|
216
212
|
}))))), { concurrency: "unbounded" }).pipe(Effect.map((sets) => new Map(sets.flat(2).map((item) => [item.directory, item])).values().toArray()));
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
+
import {
|
|
2
|
+
exports_entry_observer
|
|
3
|
+
} from "./schema-kp1t5rcy.js";
|
|
1
4
|
import {
|
|
2
5
|
exports_compaction
|
|
3
|
-
} from "./
|
|
6
|
+
} from "./schema-6e0hvkjj.js";
|
|
4
7
|
import {
|
|
5
8
|
exports_config
|
|
6
|
-
} from "./
|
|
9
|
+
} from "./schema-53xdmpnb.js";
|
|
7
10
|
import {
|
|
8
11
|
__export
|
|
9
|
-
} from "./
|
|
12
|
+
} from "./schema-rvfvac9x.js";
|
|
10
13
|
|
|
11
14
|
// src/config/plugin/compaction.ts
|
|
12
15
|
var exports_compaction2 = {};
|
|
@@ -15,16 +18,13 @@ __export(exports_compaction2, {
|
|
|
15
18
|
ConfigCompactionPlugin: () => exports_compaction2
|
|
16
19
|
});
|
|
17
20
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
18
|
-
import { Effect
|
|
21
|
+
import { Effect } from "effect";
|
|
19
22
|
var Plugin = define({
|
|
20
23
|
id: "opencode.config.compaction",
|
|
21
24
|
effect: Effect.fn(function* (ctx) {
|
|
22
25
|
const config = yield* exports_config.Service;
|
|
23
26
|
const compaction = yield* exports_compaction.Service;
|
|
24
|
-
const loaded =
|
|
25
|
-
const reload = config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(compaction.reload()));
|
|
26
|
-
yield* ctx.event.subscribe().pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => reload), Effect.forkScoped({ startImmediately: true }));
|
|
27
|
-
loaded.entries = yield* config.entries();
|
|
27
|
+
const loaded = yield* exports_entry_observer.observe(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((draft) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
30
30
|
if (entry.type !== "document" || !entry.info.compaction)
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_instructions
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-wqvb4wbw.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_read_filesystem
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-20hrmxeg.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
exports_environment1 as exports_environment
|
|
9
|
+
} from "./schema-eyrg1yjb.js";
|
|
10
10
|
import {
|
|
11
11
|
exports_permission
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-gpj6jen2.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
exports_location_mutation
|
|
15
|
+
} from "./schema-2aeag69d.js";
|
|
16
16
|
import {
|
|
17
17
|
exports_location
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./schema-j3ethsxz.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./schema-j07kk359.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./schema-rvfvac9x.js";
|
|
25
25
|
|
|
26
26
|
// src/tool/plugin/read.ts
|
|
27
27
|
var exports_read = {};
|
|
@@ -127,7 +127,7 @@ var Plugin = {
|
|
|
127
127
|
const suggestions = yield* fs.readDirectory(dirname(absolute)).pipe(Effect.map((entries) => entries.filter((entry) => {
|
|
128
128
|
const candidate = entry.toLowerCase();
|
|
129
129
|
return candidate.includes(base) || base.includes(candidate);
|
|
130
|
-
}).map((entry) => join(dirname(input), entry)).slice(0, 3)), Effect.
|
|
130
|
+
}).map((entry) => join(dirname(input), entry)).slice(0, 3)), Effect.orElseSucceed(() => []));
|
|
131
131
|
const message = suggestions.length === 0 ? `File not found: ${input}` : `File not found: ${input}
|
|
132
132
|
|
|
133
133
|
Did you mean one of these?
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
exports_config
|
|
3
|
+
} from "./schema-n9e07w6s.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_provider_options
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-y0x38cee.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
exports_integration
|
|
9
|
+
} from "./schema-ej9r6fs2.js";
|
|
10
10
|
import {
|
|
11
11
|
exports_credential
|
|
12
|
-
} from "./
|
|
13
|
-
import {
|
|
14
|
-
exports_bus
|
|
15
|
-
} from "./bus-ded9e5ma.js";
|
|
12
|
+
} from "./schema-y4vhttwz.js";
|
|
16
13
|
import {
|
|
17
14
|
exports_model
|
|
18
|
-
} from "./
|
|
15
|
+
} from "./schema-1a3a2s70.js";
|
|
19
16
|
import {
|
|
20
17
|
exports_provider
|
|
21
|
-
} from "./
|
|
18
|
+
} from "./schema-djkt4gex.js";
|
|
19
|
+
import {
|
|
20
|
+
exports_bus
|
|
21
|
+
} from "./schema-vmvzq9kn.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/opencode.ts
|
|
24
24
|
import { Duration, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -56,13 +56,18 @@ function oauth(http) {
|
|
|
56
56
|
authorize: (answer) => Effect.gen(function* () {
|
|
57
57
|
const server = yield* normalizeServer(answer.server ?? defaultServer);
|
|
58
58
|
const device = yield* post(http, `${server}/auth/device/code`, { client_id: clientID }, Device);
|
|
59
|
-
const verification =
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
59
|
+
const verification = yield* Effect.try({
|
|
60
|
+
try: () => {
|
|
61
|
+
const url = new URL(device.verification_uri_complete, `${server}/`);
|
|
62
|
+
if (url.protocol !== "http:" && url.protocol !== "https:")
|
|
63
|
+
throw new Error("expected HTTP(S)");
|
|
64
|
+
return url;
|
|
65
|
+
},
|
|
66
|
+
catch: (cause) => new Error(`Invalid device verification URL: ${cause instanceof Error ? cause.message : String(cause)}`)
|
|
67
|
+
});
|
|
63
68
|
return {
|
|
64
69
|
mode: "auto",
|
|
65
|
-
url: verification
|
|
70
|
+
url: verification.href,
|
|
66
71
|
instructions: `Enter code: ${device.user_code}`,
|
|
67
72
|
callback: poll(http, server, device.device_code, Duration.seconds(device.interval))
|
|
68
73
|
};
|
|
@@ -77,9 +82,7 @@ function oauth(http) {
|
|
|
77
82
|
expires: Date.now() + token.expires_in * 1000
|
|
78
83
|
};
|
|
79
84
|
}),
|
|
80
|
-
label: (credential) =>
|
|
81
|
-
return typeof credential.metadata?.orgName === "string" ? credential.metadata.orgName : undefined;
|
|
82
|
-
}
|
|
85
|
+
label: (credential) => typeof credential.metadata?.orgName === "string" ? credential.metadata.orgName : undefined
|
|
83
86
|
};
|
|
84
87
|
}
|
|
85
88
|
var OpencodePlugin = define({
|
|
@@ -92,7 +95,9 @@ var OpencodePlugin = define({
|
|
|
92
95
|
let providers;
|
|
93
96
|
const load = Effect.fn("OpencodePlugin.load")(function* () {
|
|
94
97
|
const connection = yield* ctx.integration.connection.active("opencode");
|
|
95
|
-
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.
|
|
98
|
+
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
99
|
+
return;
|
|
100
|
+
})) : undefined;
|
|
96
101
|
connected = connection !== undefined;
|
|
97
102
|
providers = credential ? yield* fetchProviders(http, credential).pipe(Effect.catch((cause) => Effect.logWarning("failed to load OpenCode provider config", { cause }).pipe(Effect.as(undefined)))) : undefined;
|
|
98
103
|
});
|
|
@@ -201,7 +206,7 @@ function fetchProviders(http, value) {
|
|
|
201
206
|
const token = value.type === "oauth" ? value.access : value.key;
|
|
202
207
|
return http.execute(HttpClientRequest.get(`${server}/api/config`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}))).pipe(Effect.flatMap((response) => {
|
|
203
208
|
if (response.status === 404)
|
|
204
|
-
return Effect.
|
|
209
|
+
return Effect.undefined;
|
|
205
210
|
return HttpClientResponse.filterStatusOk(response).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(RemoteResponse)), Effect.map((remote) => remote.config.provider));
|
|
206
211
|
}));
|
|
207
212
|
}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
+
import {
|
|
2
|
+
exports_entry_observer
|
|
3
|
+
} from "./schema-kp1t5rcy.js";
|
|
1
4
|
import {
|
|
2
5
|
exports_config
|
|
3
|
-
} from "./
|
|
6
|
+
} from "./schema-53xdmpnb.js";
|
|
4
7
|
import {
|
|
5
8
|
exports_image
|
|
6
|
-
} from "./
|
|
9
|
+
} from "./schema-pgex9pvk.js";
|
|
7
10
|
import {
|
|
8
11
|
__export
|
|
9
|
-
} from "./
|
|
12
|
+
} from "./schema-rvfvac9x.js";
|
|
10
13
|
|
|
11
14
|
// src/config/plugin/image.ts
|
|
12
15
|
var exports_image2 = {};
|
|
@@ -15,16 +18,13 @@ __export(exports_image2, {
|
|
|
15
18
|
ConfigImagePlugin: () => exports_image2
|
|
16
19
|
});
|
|
17
20
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
18
|
-
import { Effect
|
|
21
|
+
import { Effect } from "effect";
|
|
19
22
|
var Plugin = define({
|
|
20
23
|
id: "opencode.config.image",
|
|
21
24
|
effect: Effect.fn(function* (ctx) {
|
|
22
25
|
const config = yield* exports_config.Service;
|
|
23
26
|
const image = yield* exports_image.Service;
|
|
24
|
-
const loaded =
|
|
25
|
-
const reload = config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(image.reload()));
|
|
26
|
-
yield* ctx.event.subscribe().pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => reload), Effect.forkScoped({ startImmediately: true }));
|
|
27
|
-
loaded.entries = yield* config.entries();
|
|
27
|
+
const loaded = yield* exports_entry_observer.observe(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((draft) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
30
30
|
if (entry.type !== "document")
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
EffectSQLiteSession
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-v3sehd45.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-mf73chvh.js";
|
|
7
7
|
import {
|
|
8
8
|
jitCompatCheck
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-ma07p6tt.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_host
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-3jsgz9x8.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_runtime
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-3x0rbcme.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
exports_tool
|
|
9
|
+
} from "./schema-z50xyfn5.js";
|
|
10
10
|
import {
|
|
11
11
|
exports_reference
|
|
12
|
-
} from "./
|
|
13
|
-
import {
|
|
14
|
-
exports_catalog
|
|
15
|
-
} from "./bus-1mxyy099.js";
|
|
12
|
+
} from "./schema-jtpqmfzd.js";
|
|
16
13
|
import {
|
|
17
14
|
exports_command
|
|
18
|
-
} from "./
|
|
15
|
+
} from "./schema-6btb8gmk.js";
|
|
19
16
|
import {
|
|
20
17
|
exports_mcp
|
|
21
|
-
} from "./
|
|
22
|
-
import {
|
|
23
|
-
exports_integration
|
|
24
|
-
} from "./bus-md8xze4k.js";
|
|
18
|
+
} from "./schema-dc6p8rz8.js";
|
|
25
19
|
import {
|
|
26
20
|
exports_skill
|
|
27
|
-
} from "./
|
|
21
|
+
} from "./schema-fx6gxcwx.js";
|
|
28
22
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
23
|
+
exports_catalog
|
|
24
|
+
} from "./schema-me155pxc.js";
|
|
25
|
+
import {
|
|
26
|
+
exports_integration
|
|
27
|
+
} from "./schema-ej9r6fs2.js";
|
|
31
28
|
import {
|
|
32
29
|
exports_hooks
|
|
33
|
-
} from "./
|
|
30
|
+
} from "./schema-v2wshkax.js";
|
|
34
31
|
import {
|
|
35
32
|
exports_agent
|
|
36
|
-
} from "./
|
|
33
|
+
} from "./schema-kcbd8yt0.js";
|
|
34
|
+
import {
|
|
35
|
+
exports_aisdk
|
|
36
|
+
} from "./schema-2zf7hxjt.js";
|
|
37
37
|
import {
|
|
38
38
|
exports_app
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./schema-50jxp3hw.js";
|
|
40
40
|
import {
|
|
41
41
|
exports_location
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./schema-j3ethsxz.js";
|
|
43
43
|
import {
|
|
44
44
|
exports_websearch
|
|
45
|
-
} from "./
|
|
46
|
-
import {
|
|
47
|
-
exports_kv
|
|
48
|
-
} from "./bus-3ahf14k8.js";
|
|
45
|
+
} from "./schema-mmjdvscj.js";
|
|
49
46
|
import {
|
|
50
47
|
exports_state
|
|
51
|
-
} from "./
|
|
48
|
+
} from "./schema-qhdqjp31.js";
|
|
49
|
+
import {
|
|
50
|
+
exports_kv
|
|
51
|
+
} from "./schema-jf0w9kwc.js";
|
|
52
52
|
import {
|
|
53
53
|
exports_bus
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./schema-vmvzq9kn.js";
|
|
55
55
|
import {
|
|
56
56
|
__export
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./schema-rvfvac9x.js";
|
|
58
58
|
|
|
59
59
|
// src/plugin.ts
|
|
60
60
|
var exports_plugin = {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteArrayColumn,
|
|
3
3
|
absoluteColumn
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-zbqqnp0n.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-sem2g21k.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_markdown
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-7wcmqxrc.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_skill
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-fx6gxcwx.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-j07kk359.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-rvfvac9x.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/skill-file.ts
|
|
15
15
|
var exports_skill_file = {};
|