@opencode-ai/core 0.0.0-next-17330 → 0.0.0-next-17346
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 +81 -80
- package/dist/aisdk-native.js +3 -3
- package/dist/aisdk.js +4 -4
- package/dist/app.js +2 -2
- package/dist/bus.js +79 -78
- package/dist/catalog.js +88 -87
- package/dist/chunks/{repository-cache-02dbfq60.js → plugin-02dbfq60.js} +1 -1
- package/dist/chunks/{repository-cache-04kwjb53.js → plugin-04kwjb53.js} +2 -2
- package/dist/chunks/{repository-cache-09mpk8cy.js → plugin-0bmt5v14.js} +2 -2
- package/dist/chunks/{repository-cache-h0vgpcjn.js → plugin-0chv790w.js} +7 -7
- package/dist/chunks/{repository-cache-6j25n600.js → plugin-0fc9cerp.js} +9 -9
- package/dist/chunks/{repository-cache-y56d2anz.js → plugin-0h4ej6yw.js} +128 -25
- package/dist/chunks/{repository-cache-0kvmztkf.js → plugin-0kvmztkf.js} +1 -1
- package/dist/chunks/{repository-cache-rmgfhn2t.js → plugin-0r325ptc.js} +6 -8
- package/dist/chunks/{repository-cache-10xtr3be.js → plugin-10xtr3be.js} +2 -2
- package/dist/chunks/{repository-cache-skt0q5rj.js → plugin-13hdqyds.js} +6 -6
- package/dist/chunks/{repository-cache-axp5q191.js → plugin-159bcd5h.js} +13 -13
- package/dist/chunks/{repository-cache-18pv8fg3.js → plugin-18pv8fg3.js} +2 -2
- package/dist/chunks/{repository-cache-1c00jchy.js → plugin-1c00jchy.js} +2 -2
- package/dist/chunks/{repository-cache-maahekq3.js → plugin-1h5w7y10.js} +5 -5
- package/dist/chunks/{repository-cache-1kvtxahz.js → plugin-1kvtxahz.js} +1 -1
- package/dist/chunks/{repository-cache-3nqnjq3t.js → plugin-1r5g0chd.js} +3 -3
- package/dist/chunks/{repository-cache-1xksxgzs.js → plugin-1xksxgzs.js} +2 -2
- package/dist/chunks/{repository-cache-ns5te58g.js → plugin-1y5hevb1.js} +14 -20
- package/dist/chunks/{repository-cache-bwad94xr.js → plugin-227k8v85.js} +2 -2
- package/dist/chunks/{repository-cache-25pxtba7.js → plugin-25pxtba7.js} +1 -1
- package/dist/chunks/{repository-cache-46j7pzg3.js → plugin-26aak64n.js} +3 -3
- package/dist/chunks/{repository-cache-sw9600ps.js → plugin-28j1q6h2.js} +9 -9
- package/dist/chunks/{repository-cache-sn0zfpmh.js → plugin-2er1z1cy.js} +5 -5
- package/dist/chunks/{repository-cache-6s5h6578.js → plugin-2g569x3r.js} +6 -6
- package/dist/chunks/{repository-cache-b5gcdv56.js → plugin-2jtvcz07.js} +6 -6
- package/dist/chunks/{repository-cache-2nmyybe0.js → plugin-2nmyybe0.js} +1 -1
- package/dist/chunks/{repository-cache-j89v37ky.js → plugin-34bh5sq2.js} +5 -5
- package/dist/chunks/{repository-cache-37rcj8p3.js → plugin-37rcj8p3.js} +3 -3
- package/dist/chunks/{repository-cache-h6nag1tm.js → plugin-38fmzcg9.js} +5 -5
- package/dist/chunks/{repository-cache-8taya4xf.js → plugin-3h1h5x4b.js} +4 -4
- package/dist/chunks/{repository-cache-3mfgaav1.js → plugin-3mfgaav1.js} +4 -4
- package/dist/chunks/{repository-cache-3thh6229.js → plugin-3thh6229.js} +2 -2
- package/dist/chunks/{repository-cache-3vh42rcr.js → plugin-3vh42rcr.js} +2 -2
- package/dist/chunks/{repository-cache-3w0f1yxt.js → plugin-3w0f1yxt.js} +3 -3
- package/dist/chunks/{repository-cache-41daaf98.js → plugin-42fara3y.js} +4 -4
- package/dist/chunks/{repository-cache-xjtqh72v.js → plugin-4kb49531.js} +2 -2
- package/dist/chunks/{repository-cache-4s2xwh5d.js → plugin-4s2xwh5d.js} +3 -3
- package/dist/chunks/{repository-cache-4zzdwbaz.js → plugin-4zzdwbaz.js} +2 -2
- package/dist/chunks/{repository-cache-50jxp3hw.js → plugin-50jxp3hw.js} +1 -1
- package/dist/chunks/{repository-cache-93hmgb4h.js → plugin-529k5mf1.js} +5 -5
- package/dist/chunks/{repository-cache-ywp6nggw.js → plugin-52af46pn.js} +3 -3
- package/dist/chunks/{repository-cache-52jzav25.js → plugin-52jzav25.js} +1 -1
- package/dist/chunks/{repository-cache-56p2m126.js → plugin-56p2m126.js} +1 -1
- package/dist/chunks/{repository-cache-57tzwnz4.js → plugin-57tzwnz4.js} +1 -1
- package/dist/chunks/{repository-cache-fntptk10.js → plugin-586t9d60.js} +5 -5
- package/dist/chunks/{repository-cache-6628r0j2.js → plugin-5fvy871a.js} +4 -4
- package/dist/chunks/{repository-cache-jr4jm25g.js → plugin-5gcdyz0j.js} +4 -4
- package/dist/chunks/{repository-cache-m9bnr5ec.js → plugin-5jr17dwv.js} +12 -12
- package/dist/chunks/{repository-cache-5p2sx24b.js → plugin-5p2sx24b.js} +3 -3
- package/dist/chunks/{repository-cache-5pfeh60c.js → plugin-5pfeh60c.js} +2 -2
- package/dist/chunks/{repository-cache-e7eb7pyj.js → plugin-5qnwzqq9.js} +9 -9
- package/dist/chunks/{repository-cache-5rs65q6p.js → plugin-5rs65q6p.js} +1 -1
- package/dist/chunks/{repository-cache-5sgbvx3z.js → plugin-5sgbvx3z.js} +2 -2
- package/dist/chunks/{repository-cache-97z7an8c.js → plugin-5vsjqaxt.js} +7 -7
- package/dist/chunks/{repository-cache-91mm05x8.js → plugin-65ezx8mc.js} +7 -7
- package/dist/chunks/{repository-cache-a2areeyk.js → plugin-65tyaw4g.js} +2 -2
- package/dist/chunks/{repository-cache-rg4cb0n6.js → plugin-6jwn9ww1.js} +88 -84
- package/dist/chunks/{repository-cache-hrdhhck8.js → plugin-6me7cwf4.js} +18 -16
- package/dist/chunks/{repository-cache-6sc9h3ca.js → plugin-6sc9h3ca.js} +1 -1
- package/dist/chunks/{repository-cache-7crn5s7a.js → plugin-6vdnz9js.js} +8 -8
- package/dist/chunks/{repository-cache-jf0y37v0.js → plugin-6xgy3jkz.js} +4 -4
- package/dist/chunks/{repository-cache-706a4azd.js → plugin-706a4azd.js} +1 -1
- package/dist/chunks/{repository-cache-rk0gc5ce.js → plugin-7582w40t.js} +12 -12
- package/dist/chunks/{repository-cache-7mpw7j43.js → plugin-7mpw7j43.js} +2 -2
- package/dist/chunks/{repository-cache-7mrpdsq5.js → plugin-7mrpdsq5.js} +1 -1
- package/dist/chunks/plugin-7pgh3ep6.js +286 -0
- package/dist/chunks/{repository-cache-7wcmqxrc.js → plugin-7wcmqxrc.js} +1 -1
- package/dist/chunks/{repository-cache-jd18fqwg.js → plugin-80n80hmh.js} +3 -3
- package/dist/chunks/{repository-cache-857g7h76.js → plugin-857g7h76.js} +1 -1
- package/dist/chunks/{repository-cache-88jbfw8z.js → plugin-88jbfw8z.js} +2 -2
- package/dist/chunks/{repository-cache-f7w1jryk.js → plugin-890sy7db.js} +17 -9
- package/dist/chunks/{repository-cache-8ywqk2j9.js → plugin-8ywqk2j9.js} +1 -1
- package/dist/chunks/{repository-cache-93qdgxxd.js → plugin-93qdgxxd.js} +1 -1
- package/dist/chunks/{repository-cache-4tftbkea.js → plugin-9816vz7t.js} +2 -2
- package/dist/chunks/{repository-cache-999qd968.js → plugin-999qd968.js} +1 -1
- package/dist/chunks/{repository-cache-zvvp2xr4.js → plugin-9d2xhdr4.js} +16 -4
- package/dist/chunks/{repository-cache-9f0rnpkn.js → plugin-9f0rnpkn.js} +1 -1
- package/dist/chunks/{repository-cache-9q1hedyj.js → plugin-9q1hedyj.js} +2 -2
- package/dist/chunks/{repository-cache-9r0qzhnf.js → plugin-9r0qzhnf.js} +2 -2
- package/dist/chunks/{repository-cache-yjc6jw6n.js → plugin-9tf9cx6w.js} +25 -25
- package/dist/chunks/{repository-cache-p7wazpn7.js → plugin-9xx5a70w.js} +4 -4
- package/dist/chunks/{repository-cache-wddscexe.js → plugin-a027tm0y.js} +5 -5
- package/dist/chunks/{repository-cache-6eh104vx.js → plugin-a2ta2hx3.js} +8 -8
- package/dist/chunks/{repository-cache-a65h300v.js → plugin-a65h300v.js} +2 -2
- package/dist/chunks/{repository-cache-3r8qjtea.js → plugin-a69404f7.js} +8 -8
- package/dist/chunks/{repository-cache-8x99ehfs.js → plugin-abs4hrf7.js} +4 -4
- package/dist/chunks/{repository-cache-4tsark0b.js → plugin-asy6azmz.js} +8 -8
- package/dist/chunks/{repository-cache-ayfwnm78.js → plugin-ayfwnm78.js} +2 -2
- package/dist/chunks/{repository-cache-gzjpz1dq.js → plugin-b020en46.js} +11 -11
- package/dist/chunks/{repository-cache-m2vcjsa4.js → plugin-b25crhmx.js} +3 -3
- package/dist/chunks/{repository-cache-nc836e20.js → plugin-ba49gtzz.js} +5 -5
- package/dist/chunks/{repository-cache-5g3dnzmr.js → plugin-bg4aatrg.js} +7 -7
- package/dist/chunks/{repository-cache-8mx9xa89.js → plugin-bk0jxqkp.js} +3 -3
- package/dist/chunks/{repository-cache-tcv8hj6g.js → plugin-bksfeg7q.js} +23 -23
- package/dist/chunks/{repository-cache-js3e6gqf.js → plugin-bq4sd2eq.js} +25 -25
- package/dist/chunks/{repository-cache-g3nw6fb0.js → plugin-bxw36s91.js} +5 -5
- package/dist/chunks/{repository-cache-byab506k.js → plugin-byab506k.js} +1 -1
- package/dist/chunks/{repository-cache-qw2c2z0f.js → plugin-byy5xkv8.js} +9 -9
- package/dist/chunks/{repository-cache-e6n9jwna.js → plugin-c568wdad.js} +9 -9
- package/dist/chunks/{repository-cache-e7vptzzv.js → plugin-c9kmdp25.js} +3 -3
- package/dist/chunks/{repository-cache-cgvnqv92.js → plugin-cgvnqv92.js} +1 -1
- package/dist/chunks/{repository-cache-aamy9awe.js → plugin-chw4em26.js} +14 -13
- package/dist/chunks/{repository-cache-59dc3gbv.js → plugin-cyyat27q.js} +7 -7
- package/dist/chunks/{repository-cache-cz3dkvcz.js → plugin-cz3dkvcz.js} +1 -1
- package/dist/chunks/{repository-cache-d076mabj.js → plugin-d076mabj.js} +2 -2
- package/dist/chunks/{repository-cache-d6vvk673.js → plugin-d6vvk673.js} +1 -1
- package/dist/chunks/{repository-cache-ddn74qps.js → plugin-ddn74qps.js} +2 -2
- package/dist/chunks/{repository-cache-dhphtf1x.js → plugin-dhphtf1x.js} +1 -1
- package/dist/chunks/{repository-cache-4rr9fyye.js → plugin-dkc527z1.js} +14 -14
- package/dist/chunks/{repository-cache-sqhwabev.js → plugin-dq5yhq66.js} +9 -9
- package/dist/chunks/{repository-cache-8pa2gv04.js → plugin-dqnq5mmm.js} +78 -78
- package/dist/chunks/{repository-cache-39f4fmnr.js → plugin-ds4tyggf.js} +6 -6
- package/dist/chunks/{repository-cache-e1z9a0ts.js → plugin-e1z9a0ts.js} +2 -2
- package/dist/chunks/{repository-cache-rjqv38t2.js → plugin-e2hvmcn1.js} +61 -61
- package/dist/chunks/{repository-cache-arxcwz1c.js → plugin-e8f3mxvd.js} +1 -1
- package/dist/chunks/{repository-cache-j83wek79.js → plugin-eakv187h.js} +9 -9
- package/dist/chunks/{repository-cache-ed4jjjcc.js → plugin-ed4jjjcc.js} +2 -2
- package/dist/chunks/{repository-cache-pxv8jsqw.js → plugin-eev1eeyf.js} +3 -3
- package/dist/chunks/plugin-emmqknsm.js +26 -0
- package/dist/chunks/{repository-cache-erj4j75s.js → plugin-erj4j75s.js} +1 -1
- package/dist/chunks/{repository-cache-zngq5vh0.js → plugin-ertbznsf.js} +16 -16
- package/dist/chunks/{repository-cache-zgqdzfbe.js → plugin-et4xsbvm.js} +2 -2
- package/dist/chunks/{repository-cache-84ht765f.js → plugin-ey3kvayk.js} +5 -5
- package/dist/chunks/{repository-cache-eyk9wdct.js → plugin-eyk9wdct.js} +2 -2
- package/dist/chunks/{repository-cache-f05p34aa.js → plugin-f05p34aa.js} +3 -3
- package/dist/chunks/{repository-cache-m0j7p73q.js → plugin-f6k9sp1x.js} +5 -5
- package/dist/chunks/{repository-cache-y1agc184.js → plugin-f7e4a9yp.js} +5 -5
- package/dist/chunks/{repository-cache-jqksw8t0.js → plugin-f7jsjw8t.js} +7 -7
- package/dist/chunks/{repository-cache-fm1nvm5g.js → plugin-fm1nvm5g.js} +1 -1
- package/dist/chunks/{repository-cache-fmyre8m1.js → plugin-fmyre8m1.js} +1 -1
- package/dist/chunks/{repository-cache-g9yygpzr.js → plugin-g9yygpzr.js} +1 -1
- package/dist/chunks/{repository-cache-gcay93cp.js → plugin-gcay93cp.js} +1 -1
- package/dist/chunks/{repository-cache-gd2xppx8.js → plugin-gd2xppx8.js} +1 -1
- package/dist/chunks/{repository-cache-gm8kdh5e.js → plugin-gm8kdh5e.js} +2 -2
- package/dist/chunks/{repository-cache-k17wrc8y.js → plugin-h1rarb39.js} +3 -3
- package/dist/chunks/{repository-cache-h8ecejt5.js → plugin-h8ecejt5.js} +1 -1
- package/dist/chunks/{repository-cache-yydpaacn.js → plugin-hkwqk5x2.js} +15 -15
- package/dist/chunks/{repository-cache-2zsmgn20.js → plugin-hpf3wqnv.js} +17 -17
- package/dist/chunks/{repository-cache-6gd6rkd0.js → plugin-hx4sankz.js} +10 -9
- package/dist/chunks/{repository-cache-6w9ct4re.js → plugin-j42qxmkr.js} +10 -10
- package/dist/chunks/{repository-cache-ghgrp5mb.js → plugin-jhnyxz2d.js} +10 -10
- package/dist/chunks/{repository-cache-hy0hzg1s.js → plugin-jkrm4ad7.js} +14 -0
- package/dist/chunks/{repository-cache-mg2pv17x.js → plugin-jm4rgrda.js} +95 -56
- package/dist/chunks/{repository-cache-2mcxzbwe.js → plugin-jpafxzwx.js} +9 -9
- package/dist/chunks/{repository-cache-jssy2dr3.js → plugin-jssy2dr3.js} +2 -2
- package/dist/chunks/{repository-cache-pj2vbezm.js → plugin-k3hj0af3.js} +11 -11
- package/dist/chunks/{repository-cache-9vq364qj.js → plugin-k7ecgj73.js} +2 -2
- package/dist/chunks/{repository-cache-wgrssa02.js → plugin-k7z41gkz.js} +7 -7
- package/dist/chunks/{repository-cache-z66vzcey.js → plugin-kcwh27nh.js} +5 -5
- package/dist/chunks/{repository-cache-6v6a829b.js → plugin-kesvgneq.js} +10 -10
- package/dist/chunks/{repository-cache-kg1345f7.js → plugin-kg1345f7.js} +1 -1
- package/dist/chunks/{repository-cache-7f3tp52f.js → plugin-kxf6zgfz.js} +4 -4
- package/dist/chunks/{repository-cache-m01ryvbe.js → plugin-m01ryvbe.js} +1 -1
- package/dist/chunks/{repository-cache-jqfzxg59.js → plugin-mar68760.js} +92 -87
- package/dist/chunks/{repository-cache-mf0hyk7z.js → plugin-mf0hyk7z.js} +1 -1
- package/dist/chunks/{repository-cache-b98qfmjp.js → plugin-mgdg92mf.js} +5 -5
- package/dist/chunks/{repository-cache-1yhzyp6p.js → plugin-mrdc635f.js} +2 -2
- package/dist/chunks/{repository-cache-mwceq5am.js → plugin-mwceq5am.js} +1 -1
- package/dist/chunks/{repository-cache-5092y56s.js → plugin-n57t1s0k.js} +5 -5
- package/dist/chunks/{repository-cache-fmr624gh.js → plugin-n9rgrq5c.js} +10 -10
- package/dist/chunks/{repository-cache-s3ykfgqh.js → plugin-ner94p15.js} +8 -8
- package/dist/chunks/{repository-cache-nesb2rcz.js → plugin-nesb2rcz.js} +2 -2
- package/dist/chunks/{repository-cache-crvgmcnp.js → plugin-nhbjnf4j.js} +41 -56
- package/dist/chunks/{repository-cache-sh51nj6w.js → plugin-nk7t2wb2.js} +6 -6
- package/dist/chunks/{repository-cache-nr76rjj3.js → plugin-nr76rjj3.js} +2 -2
- package/dist/chunks/{repository-cache-nv7zjdpe.js → plugin-nv7zjdpe.js} +2 -2
- package/dist/chunks/{repository-cache-nzrjycs5.js → plugin-nzrjycs5.js} +1 -1
- package/dist/chunks/{repository-cache-hrzrfgqj.js → plugin-p6x5rp3c.js} +4 -4
- package/dist/chunks/{repository-cache-pfqehjmy.js → plugin-pfqehjmy.js} +2 -2
- package/dist/chunks/{repository-cache-ph1me6ah.js → plugin-ph1me6ah.js} +2 -2
- package/dist/chunks/{repository-cache-ryjby270.js → plugin-phx9p566.js} +3 -3
- package/dist/chunks/{repository-cache-pq4b4pqk.js → plugin-pq4b4pqk.js} +2 -2
- package/dist/chunks/{repository-cache-prf9bavk.js → plugin-prf9bavk.js} +3 -3
- package/dist/chunks/{repository-cache-q4r4pzs4.js → plugin-q4r4pzs4.js} +1 -1
- package/dist/chunks/{repository-cache-qe0d689s.js → plugin-qe0d689s.js} +2 -2
- package/dist/chunks/{repository-cache-b9y4597k.js → plugin-qrcz0h27.js} +10 -10
- package/dist/chunks/{repository-cache-a3xgesk5.js → plugin-qw688rwx.js} +5 -5
- package/dist/chunks/{repository-cache-r3k9abhd.js → plugin-r3k9abhd.js} +2 -2
- package/dist/chunks/{repository-cache-y8pkfyr3.js → plugin-rp0ghwk5.js} +3 -3
- package/dist/chunks/{repository-cache-fvvca5k0.js → plugin-rp97dpeg.js} +8 -8
- package/dist/chunks/{repository-cache-rqswsgbs.js → plugin-rqswsgbs.js} +2 -2
- package/dist/chunks/{repository-cache-rt6yg6j2.js → plugin-rt6yg6j2.js} +2 -2
- package/dist/chunks/{repository-cache-ryap75b3.js → plugin-ryap75b3.js} +1 -1
- package/dist/chunks/{repository-cache-s6by3cc4.js → plugin-s6by3cc4.js} +3 -3
- package/dist/chunks/{repository-cache-s9f13v9h.js → plugin-s9f13v9h.js} +1 -1
- package/dist/chunks/{repository-cache-px6qz68e.js → plugin-sh6s9fhb.js} +3 -3
- package/dist/chunks/{repository-cache-smpeg8c9.js → plugin-smpeg8c9.js} +2 -2
- package/dist/chunks/{repository-cache-jkv81dxb.js → plugin-stbhjv87.js} +7 -7
- package/dist/chunks/{repository-cache-szax8zgv.js → plugin-szax8zgv.js} +2 -2
- package/dist/chunks/{repository-cache-szjq6xea.js → plugin-szjq6xea.js} +2 -2
- package/dist/chunks/{repository-cache-kzesxyth.js → plugin-t0hd3br1.js} +11 -11
- package/dist/chunks/{repository-cache-t2j2ttmx.js → plugin-t2j2ttmx.js} +1 -1
- package/dist/chunks/{repository-cache-bza6gt6f.js → plugin-t2x6yxj4.js} +8 -8
- package/dist/chunks/{repository-cache-tcn24h1d.js → plugin-tcn24h1d.js} +1 -1
- package/dist/chunks/{repository-cache-tdm3rp2k.js → plugin-tdm3rp2k.js} +1 -1
- package/dist/chunks/{repository-cache-tenv3kfs.js → plugin-tenv3kfs.js} +2 -2
- package/dist/chunks/{repository-cache-thstd87d.js → plugin-thstd87d.js} +1 -1
- package/dist/chunks/{repository-cache-yk7rq2cw.js → plugin-tn7ysp34.js} +3 -3
- package/dist/chunks/{repository-cache-d53cbyg4.js → plugin-trktvck6.js} +8 -8
- package/dist/chunks/{repository-cache-ts4t4v20.js → plugin-ts4t4v20.js} +2 -2
- package/dist/chunks/{repository-cache-tyh0a1hs.js → plugin-tyh0a1hs.js} +3 -3
- package/dist/chunks/{repository-cache-wnjnzsav.js → plugin-v6rx9nxt.js} +3 -3
- package/dist/chunks/{repository-cache-wa36z8r8.js → plugin-v710hcs5.js} +3 -3
- package/dist/chunks/{repository-cache-v972xay6.js → plugin-v972xay6.js} +1 -1
- package/dist/chunks/{repository-cache-v9bfv94f.js → plugin-v9bfv94f.js} +1 -1
- package/dist/chunks/{repository-cache-3d6b8qzx.js → plugin-vsfj499p.js} +9 -9
- package/dist/chunks/{repository-cache-fww6ka0m.js → plugin-vvj78s9s.js} +5 -5
- package/dist/chunks/{repository-cache-sqaazc35.js → plugin-vvp549aa.js} +4 -4
- package/dist/chunks/{repository-cache-68a9fpyg.js → plugin-vxb3r0qz.js} +114 -114
- package/dist/chunks/{repository-cache-vynn1k31.js → plugin-vynn1k31.js} +2 -2
- package/dist/chunks/{repository-cache-vz89hfgr.js → plugin-vz89hfgr.js} +1 -1
- package/dist/chunks/{repository-cache-saxcjhd3.js → plugin-w60xp8cd.js} +2 -2
- package/dist/chunks/{repository-cache-wd268jeg.js → plugin-wd268jeg.js} +1 -1
- package/dist/chunks/{repository-cache-we2zmhe4.js → plugin-we2zmhe4.js} +2 -2
- package/dist/chunks/{repository-cache-wf37p1a1.js → plugin-wf37p1a1.js} +1 -1
- package/dist/chunks/{repository-cache-j7rgkvgh.js → plugin-wjk1568y.js} +4 -4
- package/dist/chunks/{repository-cache-0xjr6h2t.js → plugin-wm8vd51k.js} +5 -5
- package/dist/chunks/{repository-cache-wmxdh12w.js → plugin-wmxdh12w.js} +1 -1
- package/dist/chunks/{repository-cache-vs9h1fxe.js → plugin-wpaejcex.js} +6 -6
- package/dist/chunks/{repository-cache-wps8gh8n.js → plugin-wps8gh8n.js} +2 -2
- package/dist/chunks/{repository-cache-wt193r4g.js → plugin-wt193r4g.js} +1 -1
- package/dist/chunks/{repository-cache-zyetvhst.js → plugin-x0bn85tk.js} +2 -2
- package/dist/chunks/{repository-cache-xfd1xnk3.js → plugin-xfd1xnk3.js} +2 -2
- package/dist/chunks/{repository-cache-xfrawapx.js → plugin-xfrawapx.js} +1 -1
- package/dist/chunks/{repository-cache-xgv25zxy.js → plugin-xgv25zxy.js} +1 -1
- package/dist/chunks/{repository-cache-141wgazf.js → plugin-xhemxv6a.js} +2 -2
- package/dist/chunks/{repository-cache-q85htfq3.js → plugin-xmwcxxnt.js} +1 -1
- package/dist/chunks/{repository-cache-xq1vkeee.js → plugin-xq1vkeee.js} +2 -2
- package/dist/chunks/{repository-cache-vyex86r2.js → plugin-xseqks1m.js} +10 -10
- package/dist/chunks/{repository-cache-tjhdg0sw.js → plugin-xtr0882n.js} +11 -11
- package/dist/chunks/{repository-cache-xwftk1fd.js → plugin-xwftk1fd.js} +2 -2
- package/dist/chunks/{repository-cache-z0pptypp.js → plugin-xxm3x3xr.js} +8 -8
- package/dist/chunks/{repository-cache-y0x38cee.js → plugin-y0x38cee.js} +1 -1
- package/dist/chunks/{repository-cache-y67x6rf6.js → plugin-y67x6rf6.js} +1 -1
- package/dist/chunks/{repository-cache-y8rs54ne.js → plugin-y8rs54ne.js} +1 -1
- package/dist/chunks/{repository-cache-dj1xs53g.js → plugin-yasxzqrp.js} +7 -7
- package/dist/chunks/{repository-cache-pqxc0f1x.js → plugin-ycq55mr6.js} +2 -2
- package/dist/chunks/{repository-cache-msbeckph.js → plugin-yjvmn5ye.js} +3 -3
- package/dist/chunks/{repository-cache-we5s72km.js → plugin-yxtd6q50.js} +29 -27
- package/dist/chunks/{repository-cache-yz0wm9s3.js → plugin-yz0wm9s3.js} +2 -2
- package/dist/chunks/{repository-cache-qnprthpg.js → plugin-z8t5vj4n.js} +6 -6
- package/dist/chunks/{repository-cache-7h2nn283.js → plugin-z9mz041q.js} +3 -3
- package/dist/chunks/{repository-cache-zbqqnp0n.js → plugin-zbqqnp0n.js} +1 -1
- package/dist/chunks/{repository-cache-zdkg1k91.js → plugin-zdkg1k91.js} +1 -1
- package/dist/chunks/{repository-cache-zfxc0ze5.js → plugin-zfxc0ze5.js} +1 -1
- package/dist/chunks/{repository-cache-bmqesg5j.js → plugin-zp549347.js} +5 -5
- package/dist/chunks/{repository-cache-9h2jrz7q.js → plugin-zr4mqfw6.js} +30 -30
- package/dist/chunks/{repository-cache-zthe9zqc.js → plugin-zthe9zqc.js} +1 -1
- 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 +129 -128
- package/dist/config/markdown.js +2 -2
- package/dist/config/normalize.js +20 -20
- package/dist/config/plugin/agent.js +130 -129
- package/dist/config/plugin/command.js +131 -130
- package/dist/config/plugin/instruction.js +86 -85
- package/dist/config/plugin/policy.js +111 -110
- package/dist/config/plugin/provider.js +110 -109
- package/dist/config/plugin/reference.js +114 -113
- package/dist/config/plugin/skill-file.js +103 -102
- package/dist/config/plugin/skill.js +133 -132
- package/dist/config/plugin/source.js +110 -109
- package/dist/config/plugin/websearch.js +110 -109
- package/dist/config/variable.js +4 -4
- package/dist/config.js +109 -108
- package/dist/credential/sql.js +3 -3
- package/dist/credential.js +69 -68
- package/dist/database/database.js +66 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +16 -16
- package/dist/database/drizzle/effect-sqlite/index.js +16 -16
- package/dist/database/drizzle/effect-sqlite/migrator.js +15 -15
- package/dist/database/drizzle/effect-sqlite/session.js +15 -15
- package/dist/database/drizzle/index.js +20 -20
- package/dist/database/drizzle/internal/drizzle-utils.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/count.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/db.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/delete.js +3 -3
- package/dist/database/drizzle/sqlite-core/effect/index.js +23 -23
- 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 +3 -3
- package/dist/database/drizzle/up-migrations/utils.js +2 -2
- package/dist/database/drizzle.js +21 -21
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +2 -2
- package/dist/database/migration/20260211171708_add_project_commands.js +2 -2
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +2 -2
- package/dist/database/migration/20260225215848_workspace.js +2 -2
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +2 -2
- package/dist/database/migration/20260228203230_blue_harpoon.js +2 -2
- package/dist/database/migration/20260303231226_add_workspace_fields.js +2 -2
- package/dist/database/migration/20260309230000_move_org_to_state.js +2 -2
- package/dist/database/migration/20260312043431_session_message_cursor.js +2 -2
- package/dist/database/migration/20260323234822_events.js +2 -2
- package/dist/database/migration/20260410174513_workspace-name.js +2 -2
- package/dist/database/migration/20260413175956_chief_energizer.js +2 -2
- package/dist/database/migration/20260423070820_add_icon_url_override.js +2 -2
- package/dist/database/migration/20260427172553_slow_nightmare.js +2 -2
- package/dist/database/migration/20260428004200_add_session_path.js +2 -2
- package/dist/database/migration/20260501142318_next_venus.js +2 -2
- package/dist/database/migration/20260504145000_add_sync_owner.js +2 -2
- package/dist/database/migration/20260507164347_add_workspace_time.js +2 -2
- package/dist/database/migration/20260510033149_session_usage.js +2 -2
- package/dist/database/migration/20260511000411_data_migration_state.js +2 -2
- package/dist/database/migration/20260511173437_session-metadata.js +2 -2
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +2 -2
- package/dist/database/migration/20260601202201_amazing_prowler.js +2 -2
- package/dist/database/migration/20260602002951_lowly_union_jack.js +2 -2
- package/dist/database/migration/20260602182828_add_project_directories.js +2 -2
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +2 -2
- package/dist/database/migration/20260603040000_session_message_projection_order.js +2 -2
- package/dist/database/migration/20260603141458_session_input_inbox.js +2 -2
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +2 -2
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +2 -2
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +2 -2
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +2 -2
- package/dist/database/migration/20260611035744_credential.js +2 -2
- package/dist/database/migration/20260611192811_lush_chimera.js +2 -2
- package/dist/database/migration/20260612174303_project_dir_strategy.js +2 -2
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +2 -2
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +2 -2
- package/dist/database/migration/20260622202450_simplify_session_input.js +2 -2
- package/dist/database/migration/20260804233008_loose_psylocke.js +2 -2
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +2 -2
- package/dist/database/migration/20260808023530_workspace_domain.js +2 -2
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +2 -2
- package/dist/database/migration/20260812181746_session_inbox.js +7 -0
- package/dist/database/migration.gen.js +45 -44
- package/dist/database/migration.js +47 -46
- package/dist/database/path.js +3 -3
- package/dist/database/schema.gen.js +2 -2
- package/dist/database/schema.sql.js +2 -2
- package/dist/database/sqlite.bun.js +2 -2
- package/dist/database/sqlite.js +2 -2
- package/dist/database/sqlite.node.js +2 -2
- package/dist/database/sqlite.workerd.js +2 -2
- package/dist/database/v1-migration.bun.js +78 -77
- package/dist/database/v1-migration.js +2 -2
- package/dist/database/v1-migration.noop.js +1 -1
- package/dist/effect/app-node-builder.js +311 -310
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +2 -2
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +85 -84
- package/dist/environment/exec-defaults.js +3 -3
- package/dist/environment/files.js +2 -2
- package/dist/environment/index.js +87 -86
- package/dist/environment/local.js +3 -3
- package/dist/environment/memory.js +3 -3
- package/dist/environment/unavailable.js +25 -0
- package/dist/event/sql.js +2 -2
- package/dist/event-logger.js +79 -78
- package/dist/file-mutation.js +86 -85
- package/dist/file.js +2 -2
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +2 -2
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher.js +110 -109
- package/dist/filesystem/protected.js +2 -2
- package/dist/filesystem/search.js +90 -89
- package/dist/filesystem/watcher-binding.js +2 -2
- package/dist/filesystem/watcher.js +4 -4
- package/dist/filesystem.js +90 -89
- package/dist/form.js +80 -79
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +112 -111
- package/dist/generate.js +93 -92
- 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 +123 -122
- package/dist/image.js +123 -122
- package/dist/instruction-discovery.js +82 -81
- package/dist/instructions/builtins.js +80 -79
- package/dist/instructions/index.js +2 -2
- package/dist/integration/connection.js +2 -2
- package/dist/integration.js +85 -84
- package/dist/job.js +4 -4
- package/dist/kv/sql.js +3 -3
- package/dist/kv.js +69 -68
- package/dist/location-mutation.js +78 -77
- package/dist/location-service-map.js +78 -77
- package/dist/location-services.js +311 -310
- package/dist/location.js +77 -76
- package/dist/mcp/client.js +87 -86
- package/dist/mcp/index.js +126 -125
- package/dist/mcp/instructions.js +154 -153
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -85
- package/dist/mime.js +2 -2
- package/dist/model-resolver.js +91 -90
- package/dist/model.js +3 -3
- package/dist/models-dev.js +85 -84
- package/dist/oauth/page.js +2 -2
- package/dist/permission/saved.js +78 -77
- package/dist/permission/sql.js +6 -6
- package/dist/permission.js +100 -99
- package/dist/plugin/agent.js +101 -100
- package/dist/plugin/command.js +78 -77
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +185 -184
- package/dist/plugin/internal.js +271 -270
- package/dist/plugin/models-dev.js +86 -85
- package/dist/plugin/plan.js +83 -82
- package/dist/plugin/promise.js +145 -144
- 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 +117 -116
- package/dist/plugin/provider/cerebras.js +3 -3
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -117
- package/dist/plugin/provider/cohere.js +3 -3
- package/dist/plugin/provider/configured.js +115 -114
- 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 +92 -91
- 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 +87 -86
- package/dist/plugin/provider/mistral.js +3 -3
- package/dist/plugin/provider/nvidia.js +3 -3
- package/dist/plugin/provider/openai-compatible.js +2 -2
- package/dist/plugin/provider/openai.js +89 -88
- package/dist/plugin/provider/opencode.js +102 -101
- 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/xai.js +87 -86
- package/dist/plugin/provider/zenmux.js +3 -3
- package/dist/plugin/provider.js +153 -152
- package/dist/plugin/runtime.js +176 -175
- package/dist/plugin/sdk.js +80 -79
- package/dist/plugin/skill.js +131 -130
- package/dist/plugin/supervisor.js +276 -275
- package/dist/plugin/system-prompt.js +2 -2
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/warming.js +111 -110
- package/dist/plugin/websearch/exa.js +4 -4
- package/dist/plugin/websearch/firecrawl.js +5 -5
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +3 -3
- package/dist/plugin/websearch/parallel.js +5 -5
- package/dist/plugin.js +186 -185
- package/dist/project/copy-strategies.js +81 -80
- package/dist/project/copy.js +81 -80
- package/dist/project/directories.js +72 -71
- package/dist/project/schema.js +3 -3
- package/dist/project/sql.js +5 -5
- package/dist/project.js +76 -75
- 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 +71 -70
- package/dist/pty.js +113 -112
- package/dist/question.js +81 -80
- package/dist/reference/instructions.js +85 -84
- package/dist/reference.js +83 -82
- package/dist/repository-cache.js +7 -7
- package/dist/repository.js +2 -2
- package/dist/ripgrep/binary.js +3 -3
- package/dist/ripgrep.js +88 -87
- package/dist/schema.js +2 -2
- package/dist/session/compaction.js +147 -146
- package/dist/session/context.js +284 -283
- package/dist/session/error.js +4 -4
- package/dist/session/event.js +2 -2
- package/dist/session/execution/restart.js +116 -115
- package/dist/session/execution.js +116 -115
- package/dist/session/generate-node.js +290 -289
- package/dist/session/generate.js +2 -2
- package/dist/session/history.js +78 -77
- package/dist/session/inbox.js +147 -0
- package/dist/session/info.js +88 -87
- package/dist/session/instruction-entry.js +74 -73
- package/dist/session/instruction-state.js +10 -10
- package/dist/session/instructions.js +97 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +2 -2
- package/dist/session/model-headers.js +4 -4
- package/dist/session/model-http.js +4 -4
- package/dist/session/model-request.js +292 -291
- package/dist/session/projector.js +96 -95
- package/dist/session/prompt-cache-diagnostics.js +2 -2
- package/dist/session/prompt-cache-key.js +3 -3
- package/dist/session/revert.js +115 -114
- package/dist/session/run-coordinator.js +2 -2
- package/dist/session/runner/index.js +94 -93
- package/dist/session/runner/llm.js +300 -299
- package/dist/session/runner/max-steps.js +2 -2
- package/dist/session/runner/model.js +93 -92
- package/dist/session/runner/publish-llm-event.js +4 -4
- package/dist/session/runner/retry.js +83 -82
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +2 -2
- package/dist/session/sql.js +8 -6
- package/dist/session/store.js +96 -95
- package/dist/session/title.js +113 -112
- package/dist/session/to-session-error.js +112 -111
- package/dist/session/transfer.js +175 -174
- package/dist/session/usage.js +2 -2
- package/dist/session.js +177 -176
- package/dist/shell/parse.js +4 -4
- package/dist/shell/parser-wasm.bun.js +1 -1
- package/dist/shell/parser-wasm.node.js +1 -1
- package/dist/shell/parser-wasm.workerd.js +1 -1
- package/dist/shell/select.js +3 -3
- package/dist/shell.js +122 -121
- package/dist/skill/discovery.js +3 -3
- package/dist/skill/instructions.js +102 -101
- package/dist/skill.js +101 -100
- package/dist/snapshot.js +110 -109
- package/dist/state.js +2 -2
- package/dist/tool/http-body.js +2 -2
- package/dist/tool/mcp.js +153 -152
- package/dist/tool/plugin/edit.js +140 -139
- package/dist/tool/plugin/file-diff.js +2 -2
- package/dist/tool/plugin/glob.js +112 -111
- package/dist/tool/plugin/grep.js +112 -111
- package/dist/tool/plugin/patch.js +139 -138
- package/dist/tool/plugin/question.js +103 -102
- package/dist/tool/plugin/read.js +115 -114
- package/dist/tool/plugin/shell.js +180 -179
- package/dist/tool/plugin/skill.js +102 -101
- package/dist/tool/plugin/subagent.js +177 -176
- package/dist/tool/plugin/webfetch.js +102 -101
- package/dist/tool/plugin/websearch.js +105 -104
- package/dist/tool/plugin/write.js +140 -139
- package/dist/tool/read-filesystem.js +92 -91
- package/dist/tool/runtime.js +2 -2
- package/dist/tool-output.js +111 -110
- package/dist/tool.js +144 -143
- package/dist/types/bus.d.ts +9 -0
- package/dist/types/database/migration/20260812181746_session_inbox.d.ts +3 -0
- package/dist/types/environment/unavailable.d.ts +20 -0
- package/dist/types/mcp/index.d.ts +0 -2
- package/dist/types/plugin/host.d.ts +6 -6
- package/dist/types/session/compaction.d.ts +1 -0
- package/dist/types/session/{pending.d.ts → inbox.d.ts} +263 -50
- package/dist/types/session/sql.d.ts +122 -3
- package/dist/types/session.d.ts +19 -17
- package/dist/types/shell.d.ts +2 -1
- package/dist/types/tool.d.ts +1 -1
- package/dist/util/array.js +1 -1
- package/dist/util/binary.js +1 -1
- package/dist/util/encode.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/path.js +1 -1
- package/dist/util/process-lock-ffi.bun.js +1 -1
- package/dist/util/process-lock-ffi.node.js +1 -1
- package/dist/util/process-lock-ffi.workerd.js +1 -1
- package/dist/util/process-lock.js +1 -1
- package/dist/util/retry.js +1 -1
- package/dist/util/slug.js +2 -2
- package/dist/util/token.js +2 -2
- package/dist/util/which.js +2 -2
- package/dist/util/wildcard.js +2 -2
- package/dist/v1/config/agent.js +4 -4
- package/dist/v1/config/attachment.js +3 -3
- package/dist/v1/config/command.js +2 -2
- package/dist/v1/config/config.js +15 -15
- package/dist/v1/config/error.js +3 -3
- package/dist/v1/config/formatter.js +2 -2
- package/dist/v1/config/layout.js +2 -2
- package/dist/v1/config/lsp.js +2 -2
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +19 -19
- package/dist/v1/config/permission.js +2 -2
- package/dist/v1/config/plugin.js +2 -2
- package/dist/v1/config/provider-options.js +2 -2
- package/dist/v1/config/provider.js +3 -3
- package/dist/v1/config/server.js +3 -3
- package/dist/v1/config/skills.js +2 -2
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/git.js +3 -3
- package/dist/vcs/hg.js +3 -3
- package/dist/vcs/patch.js +2 -2
- package/dist/vcs.js +83 -82
- package/dist/websearch.js +83 -82
- package/dist/wellknown/plugin.js +83 -82
- package/dist/wellknown.js +82 -81
- package/dist/workspace/driver.js +2 -2
- package/dist/workspace/sql.js +2 -2
- package/dist/workspace.js +70 -69
- package/package.json +7 -7
- package/dist/chunks/repository-cache-htg18tka.js +0 -309
- package/dist/session/pending.js +0 -142
- /package/dist/chunks/{repository-cache-0cgt0xh2.js → plugin-0cgt0xh2.js} +0 -0
- /package/dist/chunks/{repository-cache-0f48qthw.js → plugin-0f48qthw.js} +0 -0
- /package/dist/chunks/{repository-cache-0zz82cjq.js → plugin-0zz82cjq.js} +0 -0
- /package/dist/chunks/{repository-cache-1fb7bmpf.js → plugin-1fb7bmpf.js} +0 -0
- /package/dist/chunks/{repository-cache-1wcz8fvj.js → plugin-1wcz8fvj.js} +0 -0
- /package/dist/chunks/{repository-cache-2qdx6zz3.js → plugin-2qdx6zz3.js} +0 -0
- /package/dist/chunks/{repository-cache-3c4nztf9.js → plugin-3c4nztf9.js} +0 -0
- /package/dist/chunks/{repository-cache-3g3rpp2x.js → plugin-3g3rpp2x.js} +0 -0
- /package/dist/chunks/{repository-cache-3q6gbwmd.js → plugin-3q6gbwmd.js} +0 -0
- /package/dist/chunks/{repository-cache-3w3ybtfd.js → plugin-3w3ybtfd.js} +0 -0
- /package/dist/chunks/{repository-cache-47ty4mvs.js → plugin-47ty4mvs.js} +0 -0
- /package/dist/chunks/{repository-cache-4b2tz2m9.js → plugin-4b2tz2m9.js} +0 -0
- /package/dist/chunks/{repository-cache-5a5ch9ts.js → plugin-5a5ch9ts.js} +0 -0
- /package/dist/chunks/{repository-cache-5va1yh78.js → plugin-5va1yh78.js} +0 -0
- /package/dist/chunks/{repository-cache-69qrqpw0.js → plugin-69qrqpw0.js} +0 -0
- /package/dist/chunks/{repository-cache-6jdj5f9n.js → plugin-6jdj5f9n.js} +0 -0
- /package/dist/chunks/{repository-cache-6jtjggv5.js → plugin-6jtjggv5.js} +0 -0
- /package/dist/chunks/{repository-cache-6yt963b8.js → plugin-6yt963b8.js} +0 -0
- /package/dist/chunks/{repository-cache-7n9qwqk4.js → plugin-7n9qwqk4.js} +0 -0
- /package/dist/chunks/{repository-cache-8m0qaa0v.js → plugin-8m0qaa0v.js} +0 -0
- /package/dist/chunks/{repository-cache-8nn8kqcn.js → plugin-8nn8kqcn.js} +0 -0
- /package/dist/chunks/{repository-cache-8sj3ajy5.js → plugin-8sj3ajy5.js} +0 -0
- /package/dist/chunks/{repository-cache-8w9tzfz1.js → plugin-8w9tzfz1.js} +0 -0
- /package/dist/chunks/{repository-cache-906y0b6d.js → plugin-906y0b6d.js} +0 -0
- /package/dist/chunks/{repository-cache-9dct5xhx.js → plugin-9dct5xhx.js} +0 -0
- /package/dist/chunks/{repository-cache-9sdtsapf.js → plugin-9sdtsapf.js} +0 -0
- /package/dist/chunks/{repository-cache-a02svayp.js → plugin-a02svayp.js} +0 -0
- /package/dist/chunks/{repository-cache-a83yvq99.js → plugin-a83yvq99.js} +0 -0
- /package/dist/chunks/{repository-cache-ayevdmef.js → plugin-ayevdmef.js} +0 -0
- /package/dist/chunks/{repository-cache-b02txbh8.js → plugin-b02txbh8.js} +0 -0
- /package/dist/chunks/{repository-cache-bbqs2y60.js → plugin-bbqs2y60.js} +0 -0
- /package/dist/chunks/{repository-cache-brsh5f65.js → plugin-brsh5f65.js} +0 -0
- /package/dist/chunks/{repository-cache-bxdhjb3y.js → plugin-bxdhjb3y.js} +0 -0
- /package/dist/chunks/{repository-cache-c77ad0vh.js → plugin-c77ad0vh.js} +0 -0
- /package/dist/chunks/{repository-cache-cm67rqy2.js → plugin-cm67rqy2.js} +0 -0
- /package/dist/chunks/{repository-cache-d6s8p2vk.js → plugin-d6s8p2vk.js} +0 -0
- /package/dist/chunks/{repository-cache-dbah77c1.js → plugin-dbah77c1.js} +0 -0
- /package/dist/chunks/{repository-cache-df3v2q6j.js → plugin-df3v2q6j.js} +0 -0
- /package/dist/chunks/{repository-cache-dhcq6c44.js → plugin-dhcq6c44.js} +0 -0
- /package/dist/chunks/{repository-cache-dht5baf0.js → plugin-dht5baf0.js} +0 -0
- /package/dist/chunks/{repository-cache-dppgrtwb.js → plugin-dppgrtwb.js} +0 -0
- /package/dist/chunks/{repository-cache-ehj9csmv.js → plugin-ehj9csmv.js} +0 -0
- /package/dist/chunks/{repository-cache-ezs3tagn.js → plugin-ezs3tagn.js} +0 -0
- /package/dist/chunks/{repository-cache-f4cp4g4a.js → plugin-f4cp4g4a.js} +0 -0
- /package/dist/chunks/{repository-cache-f84sxdqn.js → plugin-f84sxdqn.js} +0 -0
- /package/dist/chunks/{repository-cache-faypg4r1.js → plugin-faypg4r1.js} +0 -0
- /package/dist/chunks/{repository-cache-g7k9te92.js → plugin-g7k9te92.js} +0 -0
- /package/dist/chunks/{repository-cache-gd5xeqc2.js → plugin-gd5xeqc2.js} +0 -0
- /package/dist/chunks/{repository-cache-ghm4673n.js → plugin-ghm4673n.js} +0 -0
- /package/dist/chunks/{repository-cache-ghwjy7my.js → plugin-ghwjy7my.js} +0 -0
- /package/dist/chunks/{repository-cache-gy500k2r.js → plugin-gy500k2r.js} +0 -0
- /package/dist/chunks/{repository-cache-hzeg9cfr.js → plugin-hzeg9cfr.js} +0 -0
- /package/dist/chunks/{repository-cache-j07kk359.js → plugin-j07kk359.js} +0 -0
- /package/dist/chunks/{repository-cache-jve7t217.js → plugin-jve7t217.js} +0 -0
- /package/dist/chunks/{repository-cache-kpdbz7gn.js → plugin-kpdbz7gn.js} +0 -0
- /package/dist/chunks/{repository-cache-kxy11nzk.js → plugin-kxy11nzk.js} +0 -0
- /package/dist/chunks/{repository-cache-kyyqvx4s.js → plugin-kyyqvx4s.js} +0 -0
- /package/dist/chunks/{repository-cache-m8cbvarh.js → plugin-m8cbvarh.js} +0 -0
- /package/dist/chunks/{repository-cache-ma07p6tt.js → plugin-ma07p6tt.js} +0 -0
- /package/dist/chunks/{repository-cache-ma60vzgv.js → plugin-ma60vzgv.js} +0 -0
- /package/dist/chunks/{repository-cache-n3m50c2t.js → plugin-n3m50c2t.js} +0 -0
- /package/dist/chunks/{repository-cache-nkm1m8dz.js → plugin-nkm1m8dz.js} +0 -0
- /package/dist/chunks/{repository-cache-nsc0c3zb.js → plugin-nsc0c3zb.js} +0 -0
- /package/dist/chunks/{repository-cache-qaarhjrp.js → plugin-qaarhjrp.js} +0 -0
- /package/dist/chunks/{repository-cache-qc167nrn.js → plugin-qc167nrn.js} +0 -0
- /package/dist/chunks/{repository-cache-qp95y4jb.js → plugin-qp95y4jb.js} +0 -0
- /package/dist/chunks/{repository-cache-r8f4w671.js → plugin-r8f4w671.js} +0 -0
- /package/dist/chunks/{repository-cache-rdfev9jy.js → plugin-rdfev9jy.js} +0 -0
- /package/dist/chunks/{repository-cache-rvfvac9x.js → plugin-rvfvac9x.js} +0 -0
- /package/dist/chunks/{repository-cache-s7whb9gt.js → plugin-s7whb9gt.js} +0 -0
- /package/dist/chunks/{repository-cache-se76j685.js → plugin-se76j685.js} +0 -0
- /package/dist/chunks/{repository-cache-sem2g21k.js → plugin-sem2g21k.js} +0 -0
- /package/dist/chunks/{repository-cache-tmb1f636.js → plugin-tmb1f636.js} +0 -0
- /package/dist/chunks/{repository-cache-ttxf0gsy.js → plugin-ttxf0gsy.js} +0 -0
- /package/dist/chunks/{repository-cache-tvmhrvfj.js → plugin-tvmhrvfj.js} +0 -0
- /package/dist/chunks/{repository-cache-v2adqbbe.js → plugin-v2adqbbe.js} +0 -0
- /package/dist/chunks/{repository-cache-wj4sxzqa.js → plugin-wj4sxzqa.js} +0 -0
- /package/dist/chunks/{repository-cache-wwntjmk1.js → plugin-wwntjmk1.js} +0 -0
- /package/dist/chunks/{repository-cache-wx89ywv3.js → plugin-wx89ywv3.js} +0 -0
- /package/dist/chunks/{repository-cache-wyqjaaa5.js → plugin-wyqjaaa5.js} +0 -0
- /package/dist/chunks/{repository-cache-x4q807cx.js → plugin-x4q807cx.js} +0 -0
- /package/dist/chunks/{repository-cache-yrqrg4vp.js → plugin-yrqrg4vp.js} +0 -0
- /package/dist/chunks/{repository-cache-z47nswr2.js → plugin-z47nswr2.js} +0 -0
- /package/dist/chunks/{repository-cache-zsf8rs93.js → plugin-zsf8rs93.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export * as
|
|
1
|
+
export * as SessionInbox from "./inbox.js";
|
|
2
2
|
import { DateTime, Effect, Schema } from "effect";
|
|
3
|
-
import { Compaction, Delivery, Info,
|
|
3
|
+
import { Compaction, CompactionPayload, Delivery, Info, Item, Move, MovePayload, Synthetic, SyntheticPayload, User, UserPayload } from "@opencode-ai/schema/session-inbox";
|
|
4
4
|
import { Bus } from "../bus.js";
|
|
5
5
|
import { SessionMessage } from "./message.js";
|
|
6
6
|
import { SessionSchema } from "./schema.js";
|
|
7
|
-
export { Compaction, Delivery, Info,
|
|
7
|
+
export { Compaction, CompactionPayload, Delivery, Info, Item, Move, MovePayload, Synthetic, SyntheticPayload, User, UserPayload, };
|
|
8
8
|
/**
|
|
9
9
|
* Which pending input `promote` may consume: "steer" promotes steers only (a step
|
|
10
10
|
* boundary mid-work), while "input" also allows one queued input when no steers are
|
|
@@ -15,7 +15,8 @@ type PendingRef = {
|
|
|
15
15
|
readonly id: SessionMessage.ID;
|
|
16
16
|
readonly sessionID: SessionSchema.ID;
|
|
17
17
|
};
|
|
18
|
-
declare const
|
|
18
|
+
export declare const serialized: <A, E, R>(sessionID: SessionSchema.ID, effect: Effect.Effect<A, E, R>) => Effect.Effect<A, E, R>;
|
|
19
|
+
declare const LifecycleConflict_base: Schema.Class<LifecycleConflict, Schema.TaggedStruct<"SessionInbox.LifecycleConflict", {
|
|
19
20
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
20
21
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
21
22
|
fromEvent: (eventID: import("@opencode-ai/schema/event").ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -27,7 +28,7 @@ export declare const find: (db: import("../database/drizzle.js").EffectSQLiteDat
|
|
|
27
28
|
$client: import("effect/unstable/sql/SqlClient").SqlClient;
|
|
28
29
|
}, id: string & import("effect/Brand").Brand<"Session.Message.ID">) => Effect.Effect<{
|
|
29
30
|
readonly type: "user";
|
|
30
|
-
readonly
|
|
31
|
+
readonly payload: {
|
|
31
32
|
readonly text: string;
|
|
32
33
|
readonly metadata?: {
|
|
33
34
|
readonly [x: string]: unknown;
|
|
@@ -74,7 +75,7 @@ export declare const find: (db: import("../database/drizzle.js").EffectSQLiteDat
|
|
|
74
75
|
readonly timeCreated: DateTime.Utc;
|
|
75
76
|
} | {
|
|
76
77
|
readonly type: "synthetic";
|
|
77
|
-
readonly
|
|
78
|
+
readonly payload: {
|
|
78
79
|
readonly text: string;
|
|
79
80
|
readonly description?: string | undefined;
|
|
80
81
|
readonly metadata?: {
|
|
@@ -87,14 +88,22 @@ export declare const find: (db: import("../database/drizzle.js").EffectSQLiteDat
|
|
|
87
88
|
readonly timeCreated: DateTime.Utc;
|
|
88
89
|
} | {
|
|
89
90
|
readonly type: "compaction";
|
|
91
|
+
readonly payload: {};
|
|
92
|
+
readonly delivery: "steer" | "queue";
|
|
90
93
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
91
94
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
92
95
|
readonly timeCreated: DateTime.Utc;
|
|
93
|
-
} |
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
96
|
+
} | {
|
|
97
|
+
readonly type: "move";
|
|
98
|
+
readonly payload: {
|
|
99
|
+
readonly location: {
|
|
100
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
101
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
102
|
+
};
|
|
103
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
104
|
+
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
105
|
+
};
|
|
106
|
+
readonly delivery: "steer" | "queue";
|
|
98
107
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
99
108
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
100
109
|
readonly timeCreated: DateTime.Utc;
|
|
@@ -104,10 +113,10 @@ export declare const admit: (db: import("../database/drizzle.js").EffectSQLiteDa
|
|
|
104
113
|
}, bus: Bus.Interface, request: {
|
|
105
114
|
readonly id: SessionMessage.ID;
|
|
106
115
|
readonly sessionID: SessionSchema.ID;
|
|
107
|
-
readonly
|
|
116
|
+
readonly item: Item;
|
|
108
117
|
}) => Effect.Effect<{
|
|
109
118
|
readonly type: "user";
|
|
110
|
-
readonly
|
|
119
|
+
readonly payload: {
|
|
111
120
|
readonly text: string;
|
|
112
121
|
readonly metadata?: {
|
|
113
122
|
readonly [x: string]: unknown;
|
|
@@ -154,7 +163,7 @@ export declare const admit: (db: import("../database/drizzle.js").EffectSQLiteDa
|
|
|
154
163
|
readonly timeCreated: DateTime.Utc;
|
|
155
164
|
} | {
|
|
156
165
|
readonly type: "synthetic";
|
|
157
|
-
readonly
|
|
166
|
+
readonly payload: {
|
|
158
167
|
readonly text: string;
|
|
159
168
|
readonly description?: string | undefined;
|
|
160
169
|
readonly metadata?: {
|
|
@@ -165,14 +174,38 @@ export declare const admit: (db: import("../database/drizzle.js").EffectSQLiteDa
|
|
|
165
174
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
166
175
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
167
176
|
readonly timeCreated: DateTime.Utc;
|
|
177
|
+
} | {
|
|
178
|
+
readonly type: "compaction";
|
|
179
|
+
readonly payload: {};
|
|
180
|
+
readonly delivery: "steer" | "queue";
|
|
181
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
182
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
183
|
+
readonly timeCreated: DateTime.Utc;
|
|
184
|
+
} | {
|
|
185
|
+
readonly type: "move";
|
|
186
|
+
readonly payload: {
|
|
187
|
+
readonly location: {
|
|
188
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
189
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
190
|
+
};
|
|
191
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
192
|
+
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
193
|
+
};
|
|
194
|
+
readonly delivery: "steer" | "queue";
|
|
195
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
196
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
197
|
+
readonly timeCreated: DateTime.Utc;
|
|
168
198
|
}, never, never>;
|
|
169
199
|
export declare const admitCompaction: (db: import("../database/drizzle.js").EffectSQLiteDatabase<import("drizzle-orm").EmptyRelations> & {
|
|
170
200
|
$client: import("effect/unstable/sql/SqlClient").SqlClient;
|
|
171
201
|
}, bus: Bus.Interface, input: {
|
|
172
202
|
readonly id: SessionMessage.ID;
|
|
173
203
|
readonly sessionID: SessionSchema.ID;
|
|
204
|
+
readonly delivery: Delivery;
|
|
174
205
|
}) => Effect.Effect<{
|
|
175
206
|
readonly type: "compaction";
|
|
207
|
+
readonly payload: {};
|
|
208
|
+
readonly delivery: "steer" | "queue";
|
|
176
209
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
177
210
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
178
211
|
readonly timeCreated: DateTime.Utc;
|
|
@@ -180,35 +213,22 @@ export declare const admitCompaction: (db: import("../database/drizzle.js").Effe
|
|
|
180
213
|
export declare const projectAdmitted: (db: import("../database/drizzle.js").EffectSQLiteDatabase<import("drizzle-orm").EmptyRelations> & {
|
|
181
214
|
$client: import("effect/unstable/sql/SqlClient").SqlClient;
|
|
182
215
|
}, request: {
|
|
183
|
-
readonly
|
|
216
|
+
readonly enqueuedSeq: number;
|
|
184
217
|
readonly id: SessionMessage.ID;
|
|
185
218
|
readonly sessionID: SessionSchema.ID;
|
|
186
|
-
readonly
|
|
219
|
+
readonly item: Item;
|
|
187
220
|
readonly timeCreated: DateTime.Utc;
|
|
188
221
|
}) => Effect.Effect<undefined, never, never>;
|
|
189
|
-
export declare const projectCompactionAdmitted: (db: import("../database/drizzle.js").EffectSQLiteDatabase<import("drizzle-orm").EmptyRelations> & {
|
|
190
|
-
$client: import("effect/unstable/sql/SqlClient").SqlClient;
|
|
191
|
-
}, input: {
|
|
192
|
-
readonly admittedSeq: number;
|
|
193
|
-
readonly id: SessionMessage.ID;
|
|
194
|
-
readonly sessionID: SessionSchema.ID;
|
|
195
|
-
readonly timeCreated: DateTime.Utc;
|
|
196
|
-
}) => Effect.Effect<{
|
|
197
|
-
readonly type: "compaction";
|
|
198
|
-
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
199
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
200
|
-
readonly timeCreated: DateTime.Utc;
|
|
201
|
-
}, never, never>;
|
|
202
222
|
/**
|
|
203
223
|
* Consume one pending row at promotion. The row's content feeds the projected
|
|
204
224
|
* message insert inside the same event transaction; the deleted row is what
|
|
205
225
|
* makes the table pending-only.
|
|
206
226
|
*/
|
|
207
|
-
export declare const
|
|
227
|
+
export declare const projectDelivered: (db: import("../database/drizzle.js").EffectSQLiteDatabase<import("drizzle-orm").EmptyRelations> & {
|
|
208
228
|
$client: import("effect/unstable/sql/SqlClient").SqlClient;
|
|
209
229
|
}, input: PendingRef) => Effect.Effect<{
|
|
210
230
|
readonly type: "user";
|
|
211
|
-
readonly
|
|
231
|
+
readonly payload: {
|
|
212
232
|
readonly text: string;
|
|
213
233
|
readonly metadata?: {
|
|
214
234
|
readonly [x: string]: unknown;
|
|
@@ -255,7 +275,7 @@ export declare const projectPromoted: (db: import("../database/drizzle.js").Effe
|
|
|
255
275
|
readonly timeCreated: DateTime.Utc;
|
|
256
276
|
} | {
|
|
257
277
|
readonly type: "synthetic";
|
|
258
|
-
readonly
|
|
278
|
+
readonly payload: {
|
|
259
279
|
readonly text: string;
|
|
260
280
|
readonly description?: string | undefined;
|
|
261
281
|
readonly metadata?: {
|
|
@@ -266,31 +286,209 @@ export declare const projectPromoted: (db: import("../database/drizzle.js").Effe
|
|
|
266
286
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
267
287
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
268
288
|
readonly timeCreated: DateTime.Utc;
|
|
289
|
+
} | {
|
|
290
|
+
readonly type: "compaction";
|
|
291
|
+
readonly payload: {};
|
|
292
|
+
readonly delivery: "steer" | "queue";
|
|
293
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
294
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
295
|
+
readonly timeCreated: DateTime.Utc;
|
|
296
|
+
} | {
|
|
297
|
+
readonly type: "move";
|
|
298
|
+
readonly payload: {
|
|
299
|
+
readonly location: {
|
|
300
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
301
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
302
|
+
};
|
|
303
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
304
|
+
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
305
|
+
};
|
|
306
|
+
readonly delivery: "steer" | "queue";
|
|
307
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
308
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
309
|
+
readonly timeCreated: DateTime.Utc;
|
|
269
310
|
}, never, never>;
|
|
270
311
|
export declare const projectCancelled: (db: import("../database/drizzle.js").EffectSQLiteDatabase<import("drizzle-orm").EmptyRelations> & {
|
|
271
312
|
$client: import("effect/unstable/sql/SqlClient").SqlClient;
|
|
272
313
|
}, input: PendingRef) => Effect.Effect<undefined, never, never>;
|
|
273
|
-
export declare const
|
|
314
|
+
export declare const projectDeliveryChanged: (db: import("../database/drizzle.js").EffectSQLiteDatabase<import("drizzle-orm").EmptyRelations> & {
|
|
274
315
|
$client: import("effect/unstable/sql/SqlClient").SqlClient;
|
|
275
|
-
}, input: PendingRef
|
|
276
|
-
|
|
316
|
+
}, input: PendingRef & {
|
|
317
|
+
readonly delivery: Delivery;
|
|
318
|
+
}) => Effect.Effect<undefined, never, never>;
|
|
319
|
+
export declare const list: (db: import("../database/drizzle.js").EffectSQLiteDatabase<import("drizzle-orm").EmptyRelations> & {
|
|
277
320
|
$client: import("effect/unstable/sql/SqlClient").SqlClient;
|
|
278
|
-
},
|
|
279
|
-
|
|
321
|
+
}, sessionID: string & import("effect/Brand").Brand<"SessionID">) => Effect.Effect<({
|
|
322
|
+
readonly type: "user";
|
|
323
|
+
readonly payload: {
|
|
324
|
+
readonly text: string;
|
|
325
|
+
readonly metadata?: {
|
|
326
|
+
readonly [x: string]: unknown;
|
|
327
|
+
} | undefined;
|
|
328
|
+
readonly files?: readonly {
|
|
329
|
+
readonly source: {
|
|
330
|
+
readonly type: "inline";
|
|
331
|
+
} | {
|
|
332
|
+
readonly type: "uri";
|
|
333
|
+
readonly uri: string;
|
|
334
|
+
};
|
|
335
|
+
readonly data: string;
|
|
336
|
+
readonly mime: string;
|
|
337
|
+
readonly name?: string | undefined;
|
|
338
|
+
readonly description?: string | undefined;
|
|
339
|
+
readonly mention?: {
|
|
340
|
+
readonly start: number;
|
|
341
|
+
readonly end: number;
|
|
342
|
+
readonly text: string;
|
|
343
|
+
} | undefined;
|
|
344
|
+
}[] | undefined;
|
|
345
|
+
readonly agents?: readonly {
|
|
346
|
+
readonly name: string;
|
|
347
|
+
readonly mention?: {
|
|
348
|
+
readonly start: number;
|
|
349
|
+
readonly end: number;
|
|
350
|
+
readonly text: string;
|
|
351
|
+
} | undefined;
|
|
352
|
+
}[] | undefined;
|
|
353
|
+
readonly skills?: readonly {
|
|
354
|
+
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
355
|
+
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
356
|
+
readonly text: string;
|
|
357
|
+
readonly mention?: {
|
|
358
|
+
readonly start: number;
|
|
359
|
+
readonly end: number;
|
|
360
|
+
readonly text: string;
|
|
361
|
+
} | undefined;
|
|
362
|
+
}[] | undefined;
|
|
363
|
+
};
|
|
364
|
+
readonly delivery: "steer" | "queue";
|
|
365
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
366
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
367
|
+
readonly timeCreated: DateTime.Utc;
|
|
368
|
+
} | {
|
|
369
|
+
readonly type: "synthetic";
|
|
370
|
+
readonly payload: {
|
|
371
|
+
readonly text: string;
|
|
372
|
+
readonly description?: string | undefined;
|
|
373
|
+
readonly metadata?: {
|
|
374
|
+
readonly [x: string]: unknown;
|
|
375
|
+
} | undefined;
|
|
376
|
+
};
|
|
377
|
+
readonly delivery: "steer" | "queue";
|
|
378
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
379
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
380
|
+
readonly timeCreated: DateTime.Utc;
|
|
381
|
+
} | {
|
|
382
|
+
readonly type: "compaction";
|
|
383
|
+
readonly payload: {};
|
|
384
|
+
readonly delivery: "steer" | "queue";
|
|
385
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
386
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
387
|
+
readonly timeCreated: DateTime.Utc;
|
|
388
|
+
} | {
|
|
389
|
+
readonly type: "move";
|
|
390
|
+
readonly payload: {
|
|
391
|
+
readonly location: {
|
|
392
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
393
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
394
|
+
};
|
|
395
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
396
|
+
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
397
|
+
};
|
|
398
|
+
readonly delivery: "steer" | "queue";
|
|
399
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
400
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
401
|
+
readonly timeCreated: DateTime.Utc;
|
|
402
|
+
})[], never, never>;
|
|
403
|
+
export declare const nextQueued: (db: import("../database/drizzle.js").EffectSQLiteDatabase<import("drizzle-orm").EmptyRelations> & {
|
|
280
404
|
$client: import("effect/unstable/sql/SqlClient").SqlClient;
|
|
281
|
-
},
|
|
282
|
-
readonly
|
|
283
|
-
|
|
405
|
+
}, sessionID: string & import("effect/Brand").Brand<"SessionID">) => Effect.Effect<{
|
|
406
|
+
readonly type: "user";
|
|
407
|
+
readonly payload: {
|
|
408
|
+
readonly text: string;
|
|
409
|
+
readonly metadata?: {
|
|
410
|
+
readonly [x: string]: unknown;
|
|
411
|
+
} | undefined;
|
|
412
|
+
readonly files?: readonly {
|
|
413
|
+
readonly source: {
|
|
414
|
+
readonly type: "inline";
|
|
415
|
+
} | {
|
|
416
|
+
readonly type: "uri";
|
|
417
|
+
readonly uri: string;
|
|
418
|
+
};
|
|
419
|
+
readonly data: string;
|
|
420
|
+
readonly mime: string;
|
|
421
|
+
readonly name?: string | undefined;
|
|
422
|
+
readonly description?: string | undefined;
|
|
423
|
+
readonly mention?: {
|
|
424
|
+
readonly start: number;
|
|
425
|
+
readonly end: number;
|
|
426
|
+
readonly text: string;
|
|
427
|
+
} | undefined;
|
|
428
|
+
}[] | undefined;
|
|
429
|
+
readonly agents?: readonly {
|
|
430
|
+
readonly name: string;
|
|
431
|
+
readonly mention?: {
|
|
432
|
+
readonly start: number;
|
|
433
|
+
readonly end: number;
|
|
434
|
+
readonly text: string;
|
|
435
|
+
} | undefined;
|
|
436
|
+
}[] | undefined;
|
|
437
|
+
readonly skills?: readonly {
|
|
438
|
+
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
439
|
+
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
440
|
+
readonly text: string;
|
|
441
|
+
readonly mention?: {
|
|
442
|
+
readonly start: number;
|
|
443
|
+
readonly end: number;
|
|
444
|
+
readonly text: string;
|
|
445
|
+
} | undefined;
|
|
446
|
+
}[] | undefined;
|
|
447
|
+
};
|
|
448
|
+
readonly delivery: "steer" | "queue";
|
|
449
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
450
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
451
|
+
readonly timeCreated: DateTime.Utc;
|
|
452
|
+
} | {
|
|
453
|
+
readonly type: "synthetic";
|
|
454
|
+
readonly payload: {
|
|
455
|
+
readonly text: string;
|
|
456
|
+
readonly description?: string | undefined;
|
|
457
|
+
readonly metadata?: {
|
|
458
|
+
readonly [x: string]: unknown;
|
|
459
|
+
} | undefined;
|
|
460
|
+
};
|
|
461
|
+
readonly delivery: "steer" | "queue";
|
|
462
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
463
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
464
|
+
readonly timeCreated: DateTime.Utc;
|
|
465
|
+
} | {
|
|
284
466
|
readonly type: "compaction";
|
|
467
|
+
readonly payload: {};
|
|
468
|
+
readonly delivery: "steer" | "queue";
|
|
469
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
470
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
471
|
+
readonly timeCreated: DateTime.Utc;
|
|
472
|
+
} | {
|
|
473
|
+
readonly type: "move";
|
|
474
|
+
readonly payload: {
|
|
475
|
+
readonly location: {
|
|
476
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
477
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
478
|
+
};
|
|
479
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
480
|
+
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
481
|
+
};
|
|
482
|
+
readonly delivery: "steer" | "queue";
|
|
285
483
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
286
484
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
287
485
|
readonly timeCreated: DateTime.Utc;
|
|
288
486
|
} | undefined, never, never>;
|
|
289
|
-
export declare const
|
|
487
|
+
export declare const nextSteer: (db: import("../database/drizzle.js").EffectSQLiteDatabase<import("drizzle-orm").EmptyRelations> & {
|
|
290
488
|
$client: import("effect/unstable/sql/SqlClient").SqlClient;
|
|
291
|
-
}, sessionID: string & import("effect/Brand").Brand<"SessionID">) => Effect.Effect<
|
|
489
|
+
}, sessionID: string & import("effect/Brand").Brand<"SessionID">) => Effect.Effect<{
|
|
292
490
|
readonly type: "user";
|
|
293
|
-
readonly
|
|
491
|
+
readonly payload: {
|
|
294
492
|
readonly text: string;
|
|
295
493
|
readonly metadata?: {
|
|
296
494
|
readonly [x: string]: unknown;
|
|
@@ -337,7 +535,7 @@ export declare const list: (db: import("../database/drizzle.js").EffectSQLiteDat
|
|
|
337
535
|
readonly timeCreated: DateTime.Utc;
|
|
338
536
|
} | {
|
|
339
537
|
readonly type: "synthetic";
|
|
340
|
-
readonly
|
|
538
|
+
readonly payload: {
|
|
341
539
|
readonly text: string;
|
|
342
540
|
readonly description?: string | undefined;
|
|
343
541
|
readonly metadata?: {
|
|
@@ -350,22 +548,37 @@ export declare const list: (db: import("../database/drizzle.js").EffectSQLiteDat
|
|
|
350
548
|
readonly timeCreated: DateTime.Utc;
|
|
351
549
|
} | {
|
|
352
550
|
readonly type: "compaction";
|
|
551
|
+
readonly payload: {};
|
|
552
|
+
readonly delivery: "steer" | "queue";
|
|
353
553
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
354
554
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
355
555
|
readonly timeCreated: DateTime.Utc;
|
|
356
|
-
}
|
|
556
|
+
} | {
|
|
557
|
+
readonly type: "move";
|
|
558
|
+
readonly payload: {
|
|
559
|
+
readonly location: {
|
|
560
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
561
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
562
|
+
};
|
|
563
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
564
|
+
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
565
|
+
};
|
|
566
|
+
readonly delivery: "steer" | "queue";
|
|
567
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
568
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
569
|
+
readonly timeCreated: DateTime.Utc;
|
|
570
|
+
} | undefined, never, never>;
|
|
357
571
|
/**
|
|
358
|
-
* Which pending rows count: "any" counts every row
|
|
359
|
-
*
|
|
360
|
-
* any model-facing input, steered or queued.
|
|
572
|
+
* Which pending rows count: "any" counts every row, while "input" means any
|
|
573
|
+
* item in either delivery mode.
|
|
361
574
|
*/
|
|
362
575
|
export type Scope = "any" | "input" | Delivery;
|
|
363
576
|
export declare const has: (db: import("../database/drizzle.js").EffectSQLiteDatabase<import("drizzle-orm").EmptyRelations> & {
|
|
364
577
|
$client: import("effect/unstable/sql/SqlClient").SqlClient;
|
|
365
578
|
}, sessionID: string & import("effect/Brand").Brand<"SessionID">, scope: Scope) => Effect.Effect<boolean, never, never>;
|
|
366
|
-
export declare const equivalent: (input:
|
|
579
|
+
export declare const equivalent: (input: Info, expected: {
|
|
367
580
|
readonly sessionID: SessionSchema.ID;
|
|
368
|
-
readonly
|
|
581
|
+
readonly item: Item;
|
|
369
582
|
}) => boolean;
|
|
370
583
|
export declare const cancel: (bus: Bus.Interface, input: PendingRef) => Effect.Effect<void, never, never>;
|
|
371
584
|
export declare const steer: (bus: Bus.Interface, input: PendingRef) => Effect.Effect<void, never, never>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { SessionMessage } from "./message.js";
|
|
2
|
-
import type {
|
|
2
|
+
import type { SessionInbox } from "./inbox.js";
|
|
3
3
|
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";
|
|
@@ -713,7 +713,7 @@ export declare const SessionPendingTable: import("drizzle-orm/sqlite-core").SQLi
|
|
|
713
713
|
name: string;
|
|
714
714
|
tableName: "session_pending";
|
|
715
715
|
dataType: "string";
|
|
716
|
-
data: "user" | "synthetic" | "compaction";
|
|
716
|
+
data: "user" | "synthetic" | "compaction" | "move";
|
|
717
717
|
driverParam: string;
|
|
718
718
|
notNull: true;
|
|
719
719
|
hasDefault: false;
|
|
@@ -729,7 +729,7 @@ export declare const SessionPendingTable: import("drizzle-orm/sqlite-core").SQLi
|
|
|
729
729
|
name: string;
|
|
730
730
|
tableName: "session_pending";
|
|
731
731
|
dataType: "object json";
|
|
732
|
-
data: Record<string, never> |
|
|
732
|
+
data: Record<string, never> | SessionInbox.UserPayload | SessionInbox.SyntheticPayload;
|
|
733
733
|
driverParam: string;
|
|
734
734
|
notNull: true;
|
|
735
735
|
hasDefault: false;
|
|
@@ -792,6 +792,125 @@ export declare const SessionPendingTable: import("drizzle-orm/sqlite-core").SQLi
|
|
|
792
792
|
};
|
|
793
793
|
dialect: "sqlite";
|
|
794
794
|
}>;
|
|
795
|
+
export declare const SessionInboxTable: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
796
|
+
name: "session_inbox";
|
|
797
|
+
schema: undefined;
|
|
798
|
+
columns: {
|
|
799
|
+
id: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
800
|
+
name: string;
|
|
801
|
+
tableName: "session_inbox";
|
|
802
|
+
dataType: "string";
|
|
803
|
+
data: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
804
|
+
driverParam: string;
|
|
805
|
+
notNull: true;
|
|
806
|
+
hasDefault: false;
|
|
807
|
+
isPrimaryKey: true;
|
|
808
|
+
isAutoincrement: false;
|
|
809
|
+
hasRuntimeDefault: false;
|
|
810
|
+
enumValues: [string, ...string[]];
|
|
811
|
+
baseColumn: never;
|
|
812
|
+
identity: undefined;
|
|
813
|
+
generated: undefined;
|
|
814
|
+
}, {}>;
|
|
815
|
+
session_id: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
816
|
+
name: string;
|
|
817
|
+
tableName: "session_inbox";
|
|
818
|
+
dataType: "string";
|
|
819
|
+
data: string & import("effect/Brand").Brand<"SessionID">;
|
|
820
|
+
driverParam: string;
|
|
821
|
+
notNull: true;
|
|
822
|
+
hasDefault: false;
|
|
823
|
+
isPrimaryKey: false;
|
|
824
|
+
isAutoincrement: false;
|
|
825
|
+
hasRuntimeDefault: false;
|
|
826
|
+
enumValues: [string, ...string[]];
|
|
827
|
+
baseColumn: never;
|
|
828
|
+
identity: undefined;
|
|
829
|
+
generated: undefined;
|
|
830
|
+
}, {}>;
|
|
831
|
+
type: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
832
|
+
name: string;
|
|
833
|
+
tableName: "session_inbox";
|
|
834
|
+
dataType: "string";
|
|
835
|
+
data: "user" | "synthetic" | "compaction" | "move";
|
|
836
|
+
driverParam: string;
|
|
837
|
+
notNull: true;
|
|
838
|
+
hasDefault: false;
|
|
839
|
+
isPrimaryKey: false;
|
|
840
|
+
isAutoincrement: false;
|
|
841
|
+
hasRuntimeDefault: false;
|
|
842
|
+
enumValues: [string, ...string[]];
|
|
843
|
+
baseColumn: never;
|
|
844
|
+
identity: undefined;
|
|
845
|
+
generated: undefined;
|
|
846
|
+
}, {}>;
|
|
847
|
+
payload: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
848
|
+
name: string;
|
|
849
|
+
tableName: "session_inbox";
|
|
850
|
+
dataType: "object json";
|
|
851
|
+
data: SessionInbox.UserPayload | SessionInbox.SyntheticPayload | SessionInbox.CompactionPayload | SessionInbox.MovePayload;
|
|
852
|
+
driverParam: string;
|
|
853
|
+
notNull: true;
|
|
854
|
+
hasDefault: false;
|
|
855
|
+
isPrimaryKey: false;
|
|
856
|
+
isAutoincrement: false;
|
|
857
|
+
hasRuntimeDefault: false;
|
|
858
|
+
enumValues: undefined;
|
|
859
|
+
baseColumn: never;
|
|
860
|
+
identity: undefined;
|
|
861
|
+
generated: undefined;
|
|
862
|
+
}, {}>;
|
|
863
|
+
delivery: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
864
|
+
name: string;
|
|
865
|
+
tableName: "session_inbox";
|
|
866
|
+
dataType: "string";
|
|
867
|
+
data: "steer" | "queue";
|
|
868
|
+
driverParam: string;
|
|
869
|
+
notNull: true;
|
|
870
|
+
hasDefault: false;
|
|
871
|
+
isPrimaryKey: false;
|
|
872
|
+
isAutoincrement: false;
|
|
873
|
+
hasRuntimeDefault: false;
|
|
874
|
+
enumValues: [string, ...string[]];
|
|
875
|
+
baseColumn: never;
|
|
876
|
+
identity: undefined;
|
|
877
|
+
generated: undefined;
|
|
878
|
+
}, {}>;
|
|
879
|
+
enqueued_seq: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
880
|
+
name: string;
|
|
881
|
+
tableName: "session_inbox";
|
|
882
|
+
dataType: "number int53";
|
|
883
|
+
data: number;
|
|
884
|
+
driverParam: number;
|
|
885
|
+
notNull: true;
|
|
886
|
+
hasDefault: false;
|
|
887
|
+
isPrimaryKey: false;
|
|
888
|
+
isAutoincrement: false;
|
|
889
|
+
hasRuntimeDefault: false;
|
|
890
|
+
enumValues: undefined;
|
|
891
|
+
baseColumn: never;
|
|
892
|
+
identity: undefined;
|
|
893
|
+
generated: undefined;
|
|
894
|
+
}, {}>;
|
|
895
|
+
time_created: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
896
|
+
name: string;
|
|
897
|
+
tableName: "session_inbox";
|
|
898
|
+
dataType: "number int53";
|
|
899
|
+
data: number;
|
|
900
|
+
driverParam: number;
|
|
901
|
+
notNull: true;
|
|
902
|
+
hasDefault: true;
|
|
903
|
+
isPrimaryKey: false;
|
|
904
|
+
isAutoincrement: false;
|
|
905
|
+
hasRuntimeDefault: true;
|
|
906
|
+
enumValues: undefined;
|
|
907
|
+
baseColumn: never;
|
|
908
|
+
identity: undefined;
|
|
909
|
+
generated: undefined;
|
|
910
|
+
}, {}>;
|
|
911
|
+
};
|
|
912
|
+
dialect: "sqlite";
|
|
913
|
+
}>;
|
|
795
914
|
export declare const InstructionEntryTable: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
796
915
|
name: "instruction_entry";
|
|
797
916
|
schema: undefined;
|