@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,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_websearch
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-ds4tyggf.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_permission
|
|
6
|
-
} from "./
|
|
7
|
-
import {
|
|
8
|
-
exports_form
|
|
9
|
-
} from "./repository-cache-141wgazf.js";
|
|
6
|
+
} from "./plugin-jhnyxz2d.js";
|
|
10
7
|
import {
|
|
11
8
|
exports_kv
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./plugin-eev1eeyf.js";
|
|
10
|
+
import {
|
|
11
|
+
exports_form
|
|
12
|
+
} from "./plugin-xhemxv6a.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./plugin-rvfvac9x.js";
|
|
16
16
|
|
|
17
17
|
// src/tool/plugin/websearch.ts
|
|
18
18
|
var exports_websearch2 = {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
exports_internal
|
|
3
|
+
} from "./plugin-vxb3r0qz.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_promise
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-wf37p1a1.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
exports_sdk
|
|
9
|
+
} from "./plugin-x0bn85tk.js";
|
|
10
10
|
import {
|
|
11
11
|
exports_source
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./plugin-42fara3y.js";
|
|
13
13
|
import {
|
|
14
14
|
exports_plugin
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./plugin-bksfeg7q.js";
|
|
16
16
|
import {
|
|
17
17
|
exports_bus
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./plugin-0h4ej6yw.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./plugin-rvfvac9x.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/supervisor.ts
|
|
24
24
|
var exports_supervisor = {};
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
EventSequenceTable,
|
|
3
3
|
EventTable
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./plugin-zsf8rs93.js";
|
|
5
5
|
import {
|
|
6
6
|
exports_location
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./plugin-4kb49531.js";
|
|
8
8
|
import {
|
|
9
9
|
exports_database
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./plugin-2er1z1cy.js";
|
|
11
|
+
import {
|
|
12
|
+
exports_keyed_mutex
|
|
13
|
+
} from "./plugin-0kvmztkf.js";
|
|
11
14
|
import {
|
|
12
15
|
__export
|
|
13
|
-
} from "./
|
|
16
|
+
} from "./plugin-rvfvac9x.js";
|
|
14
17
|
|
|
15
18
|
// src/bus.ts
|
|
16
19
|
var exports_bus = {};
|
|
@@ -87,6 +90,7 @@ function configured(options) {
|
|
|
87
90
|
};
|
|
88
91
|
const projectors = new Map;
|
|
89
92
|
const listeners = new Array;
|
|
93
|
+
const durableLocks = exports_keyed_mutex.makeUnsafe();
|
|
90
94
|
const { db } = yield* exports_database.Service;
|
|
91
95
|
const logReadPageSize = options?.logReadPageSize ?? 512;
|
|
92
96
|
const persist = options?.persist ?? false;
|
|
@@ -211,15 +215,20 @@ function configured(options) {
|
|
|
211
215
|
message: "Local commit hooks require a durable event"
|
|
212
216
|
}));
|
|
213
217
|
if (definition?.durable) {
|
|
214
|
-
const
|
|
215
|
-
if (
|
|
218
|
+
const aggregateID = event.data[definition.durable.aggregate];
|
|
219
|
+
if (typeof aggregateID !== "string")
|
|
220
|
+
return yield* commitDurableEvent(definition, event, undefined, commit).pipe(Effect.as(event));
|
|
221
|
+
return yield* durableLocks.withLock(aggregateID)(Effect.gen(function* () {
|
|
222
|
+
const committed = yield* commitDurableEvent(definition, event, undefined, commit);
|
|
223
|
+
if (!committed)
|
|
224
|
+
return event;
|
|
216
225
|
event = {
|
|
217
226
|
...event,
|
|
218
227
|
durable: envelope(committed.aggregateID, committed.seq, definition.durable.version)
|
|
219
228
|
};
|
|
220
229
|
yield* notify(event, true);
|
|
221
230
|
return event;
|
|
222
|
-
}
|
|
231
|
+
}));
|
|
223
232
|
}
|
|
224
233
|
yield* notify(event, false);
|
|
225
234
|
return event;
|
|
@@ -249,30 +258,123 @@ function configured(options) {
|
|
|
249
258
|
}, options2?.commit);
|
|
250
259
|
});
|
|
251
260
|
}
|
|
261
|
+
function publishAll(events) {
|
|
262
|
+
return Effect.gen(function* () {
|
|
263
|
+
const serviceLocation = Option.getOrUndefined(yield* Effect.serviceOption(exports_location.Service));
|
|
264
|
+
const payloads = yield* Effect.forEach(events, ([definition, data, options2]) => Effect.gen(function* () {
|
|
265
|
+
const aggregateID2 = data[definition.durable.aggregate];
|
|
266
|
+
if (typeof aggregateID2 !== "string") {
|
|
267
|
+
return yield* Effect.die(new InvalidDurableEventError({
|
|
268
|
+
type: definition.type,
|
|
269
|
+
message: `Expected string aggregate field ${definition.durable.aggregate}`
|
|
270
|
+
}));
|
|
271
|
+
}
|
|
272
|
+
const location = options2?.location ?? (serviceLocation ? { directory: serviceLocation.directory, workspaceID: serviceLocation.workspaceID } : undefined);
|
|
273
|
+
return {
|
|
274
|
+
definition,
|
|
275
|
+
aggregateID: aggregateID2,
|
|
276
|
+
commit: options2?.commit,
|
|
277
|
+
event: {
|
|
278
|
+
id: options2?.id ?? Event.ID.create(),
|
|
279
|
+
created: yield* DateTime.now,
|
|
280
|
+
...options2?.metadata ? { metadata: options2.metadata } : {},
|
|
281
|
+
type: definition.type,
|
|
282
|
+
...location ? { location } : {},
|
|
283
|
+
data
|
|
284
|
+
}
|
|
285
|
+
};
|
|
286
|
+
}));
|
|
287
|
+
const aggregateID = payloads[0].aggregateID;
|
|
288
|
+
if (payloads.some((item) => item.aggregateID !== aggregateID)) {
|
|
289
|
+
return yield* Effect.die(new InvalidDurableEventError({
|
|
290
|
+
type: payloads[0].definition.type,
|
|
291
|
+
message: "Published events must belong to the same aggregate"
|
|
292
|
+
}));
|
|
293
|
+
}
|
|
294
|
+
return yield* durableLocks.withLock(aggregateID)(Effect.uninterruptible(Effect.gen(function* () {
|
|
295
|
+
const committed = yield* db.transaction(() => Effect.gen(function* () {
|
|
296
|
+
const row = yield* db.select({ seq: EventSequenceTable.seq }).from(EventSequenceTable).where(eq(EventSequenceTable.aggregate_id, aggregateID)).get().pipe(Effect.orDie);
|
|
297
|
+
const firstSeq = (row?.seq ?? -1) + 1;
|
|
298
|
+
const finalSeq = firstSeq + payloads.length - 1;
|
|
299
|
+
const result = new Array;
|
|
300
|
+
const rows = new Array;
|
|
301
|
+
const ids = new Set;
|
|
302
|
+
for (const [index, item] of payloads.entries()) {
|
|
303
|
+
const seq = firstSeq + index;
|
|
304
|
+
const encoded = Schema.encodeUnknownSync(item.definition.data)(item.event.data);
|
|
305
|
+
if (persist) {
|
|
306
|
+
if (ids.has(item.event.id))
|
|
307
|
+
yield* Effect.die(new InvalidDurableEventError({
|
|
308
|
+
type: item.event.type,
|
|
309
|
+
message: `Event ${item.event.id} appears more than once in the batch`
|
|
310
|
+
}));
|
|
311
|
+
ids.add(item.event.id);
|
|
312
|
+
const stored = yield* db.select({ aggregateID: EventTable.aggregate_id, seq: EventTable.seq }).from(EventTable).where(eq(EventTable.id, item.event.id)).get().pipe(Effect.orDie);
|
|
313
|
+
if (stored)
|
|
314
|
+
yield* Effect.die(new InvalidDurableEventError({
|
|
315
|
+
type: item.event.type,
|
|
316
|
+
message: `Event ${item.event.id} already exists at aggregate ${stored.aggregateID} sequence ${stored.seq}`
|
|
317
|
+
}));
|
|
318
|
+
}
|
|
319
|
+
const event = {
|
|
320
|
+
...item.event,
|
|
321
|
+
durable: envelope(aggregateID, seq, item.definition.durable.version)
|
|
322
|
+
};
|
|
323
|
+
for (const projector of projectors.get(versionedType(item.definition.type, item.definition.durable.version)) ?? []) {
|
|
324
|
+
yield* projector(event);
|
|
325
|
+
}
|
|
326
|
+
if (item.commit)
|
|
327
|
+
yield* item.commit(seq);
|
|
328
|
+
if (persist)
|
|
329
|
+
rows.push({
|
|
330
|
+
id: event.id,
|
|
331
|
+
aggregate_id: aggregateID,
|
|
332
|
+
seq,
|
|
333
|
+
created: DateTime.toEpochMillis(event.created),
|
|
334
|
+
type: versionedType(item.definition.type, item.definition.durable.version),
|
|
335
|
+
data: encoded
|
|
336
|
+
});
|
|
337
|
+
result.push(event);
|
|
338
|
+
}
|
|
339
|
+
yield* db.insert(EventSequenceTable).values([{ aggregate_id: aggregateID, seq: finalSeq }]).onConflictDoUpdate({ target: EventSequenceTable.aggregate_id, set: { seq: finalSeq } }).run().pipe(Effect.orDie);
|
|
340
|
+
if (persist)
|
|
341
|
+
yield* db.insert(EventTable).values(rows).run().pipe(Effect.orDie);
|
|
342
|
+
return result;
|
|
343
|
+
}), { behavior: "immediate" }).pipe(Effect.orDie);
|
|
344
|
+
yield* Effect.forEach(pubsub.durable.get(aggregateID) ?? [], (wake) => PubSub.publish(wake, undefined), {
|
|
345
|
+
discard: true
|
|
346
|
+
});
|
|
347
|
+
yield* Effect.forEach(committed, (event) => notify(event, true), { discard: true });
|
|
348
|
+
return committed;
|
|
349
|
+
})));
|
|
350
|
+
});
|
|
351
|
+
}
|
|
252
352
|
function replay(event, options2) {
|
|
253
353
|
return Effect.gen(function* () {
|
|
254
354
|
const definition = Durable.get(event.type);
|
|
255
355
|
if (!definition?.durable) {
|
|
256
356
|
yield* Effect.die(new InvalidDurableEventError({ type: event.type, message: `Unknown durable event type ${event.type}` }));
|
|
257
357
|
} else {
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
358
|
+
yield* durableLocks.withLock(event.aggregateID)(Effect.gen(function* () {
|
|
359
|
+
const payload = {
|
|
360
|
+
id: event.id,
|
|
361
|
+
created: event.created ?? DateTime.makeUnsafe(0),
|
|
362
|
+
type: definition.type,
|
|
363
|
+
data: Schema.decodeUnknownSync(definition.data)(event.data)
|
|
364
|
+
};
|
|
365
|
+
const committed = yield* commitDurableEvent(definition, payload, {
|
|
366
|
+
seq: event.seq,
|
|
367
|
+
aggregateID: event.aggregateID,
|
|
368
|
+
ownerID: options2?.ownerID,
|
|
369
|
+
strictOwner: options2?.strictOwner
|
|
370
|
+
});
|
|
371
|
+
if (committed && options2?.publish) {
|
|
372
|
+
yield* notify({
|
|
373
|
+
...payload,
|
|
374
|
+
durable: envelope(committed.aggregateID, committed.seq, definition.durable.version)
|
|
375
|
+
}, true);
|
|
376
|
+
}
|
|
377
|
+
}));
|
|
276
378
|
}
|
|
277
379
|
});
|
|
278
380
|
}
|
|
@@ -388,6 +490,7 @@ function configured(options) {
|
|
|
388
490
|
});
|
|
389
491
|
return Service.of({
|
|
390
492
|
publish,
|
|
493
|
+
publishAll,
|
|
391
494
|
subscribe,
|
|
392
495
|
log,
|
|
393
496
|
listen,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_message
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-25pxtba7.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-rvfvac9x.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
@@ -76,11 +76,10 @@ function update(adapter, event) {
|
|
|
76
76
|
"session.renamed": () => Effect.void,
|
|
77
77
|
"session.deleted": () => Effect.void,
|
|
78
78
|
"session.forked": () => Effect.void,
|
|
79
|
-
"session.
|
|
80
|
-
"session.
|
|
81
|
-
"session.
|
|
82
|
-
"session.
|
|
83
|
-
"session.input.queued": () => Effect.void,
|
|
79
|
+
"session.inbox.delivered": () => Effect.void,
|
|
80
|
+
"session.inbox.enqueued": () => Effect.void,
|
|
81
|
+
"session.inbox.cancelled": () => Effect.void,
|
|
82
|
+
"session.inbox.delivery.changed": () => Effect.void,
|
|
84
83
|
"session.execution.started": () => Effect.void,
|
|
85
84
|
"session.execution.succeeded": () => clearCurrentRetry,
|
|
86
85
|
"session.execution.failed": () => clearCurrentRetry,
|
|
@@ -319,7 +318,6 @@ function update(adapter, event) {
|
|
|
319
318
|
};
|
|
320
319
|
});
|
|
321
320
|
},
|
|
322
|
-
"session.compaction.admitted": () => Effect.void,
|
|
323
321
|
"session.compaction.started": (event2) => adapter.appendMessage(exports_message.CompactionRunning.make({
|
|
324
322
|
id: event2.data.inputID ?? exports_message.ID.fromEvent(event2.id),
|
|
325
323
|
type: "compaction",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_provider
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-d6vvk673.js";
|
|
4
4
|
import {
|
|
5
5
|
__require
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-rvfvac9x.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/cerebras.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_config
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-b020en46.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_watcher
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-qw688rwx.js";
|
|
7
7
|
import {
|
|
8
8
|
exports_bus
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./plugin-0h4ej6yw.js";
|
|
10
10
|
import {
|
|
11
11
|
exports_location
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./plugin-4kb49531.js";
|
|
13
13
|
import {
|
|
14
14
|
exports_git
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./plugin-kcwh27nh.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./plugin-rvfvac9x.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/location-watcher.ts
|
|
21
21
|
var exports_location_watcher = {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
SQLiteEffectRelationalQueryBuilder
|
|
3
|
+
} from "./plugin-bxdhjb3y.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
SQLiteEffectRaw
|
|
6
|
+
} from "./plugin-s7whb9gt.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectDeleteBase
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./plugin-g9yygpzr.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
SQLiteEffectCountBuilder
|
|
12
|
+
} from "./plugin-0f48qthw.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
SQLiteEffectInsertBuilder
|
|
15
|
+
} from "./plugin-erj4j75s.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
SQLiteEffectSelectBuilder
|
|
18
|
+
} from "./plugin-mwceq5am.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
SQLiteEffectUpdateBuilder
|
|
21
|
+
} from "./plugin-zfxc0ze5.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-jve7t217.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-rvfvac9x.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
9
|
var exports_mcp = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectDatabase
|
|
3
|
-
} from "./
|
|
4
|
-
import {
|
|
5
|
-
mapResultRow
|
|
6
|
-
} from "./repository-cache-ma07p6tt.js";
|
|
3
|
+
} from "./plugin-159bcd5h.js";
|
|
7
4
|
import {
|
|
8
5
|
upgradeIfNeeded
|
|
9
|
-
} from "./
|
|
6
|
+
} from "./plugin-nv7zjdpe.js";
|
|
7
|
+
import {
|
|
8
|
+
mapResultRow
|
|
9
|
+
} from "./plugin-ma07p6tt.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
12
12
|
import * as Cause from "effect/Cause";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_skill
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-z8t5vj4n.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_instructions
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-q4r4pzs4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./plugin-rvfvac9x.js";
|
|
10
10
|
|
|
11
11
|
// src/skill/instructions.ts
|
|
12
12
|
var exports_instructions2 = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_app
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-50jxp3hw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-rvfvac9x.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-headers.ts
|
|
9
9
|
var exports_model_headers = {};
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import {
|
|
2
|
-
exports_client
|
|
3
|
-
} from "./repository-cache-pqxc0f1x.js";
|
|
4
1
|
import {
|
|
5
2
|
exports_oauth
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./plugin-xq1vkeee.js";
|
|
4
|
+
import {
|
|
5
|
+
exports_client
|
|
6
|
+
} from "./plugin-ycq55mr6.js";
|
|
7
7
|
import {
|
|
8
8
|
exports_config
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./plugin-b020en46.js";
|
|
10
10
|
import {
|
|
11
11
|
exports_environment1 as exports_environment
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./plugin-jpafxzwx.js";
|
|
13
13
|
import {
|
|
14
14
|
exports_integration
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./plugin-65ezx8mc.js";
|
|
16
16
|
import {
|
|
17
17
|
exports_form
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./plugin-xhemxv6a.js";
|
|
19
19
|
import {
|
|
20
20
|
exports_credential
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./plugin-yjvmn5ye.js";
|
|
22
22
|
import {
|
|
23
23
|
exports_bus
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./plugin-0h4ej6yw.js";
|
|
25
25
|
import {
|
|
26
26
|
exports_location
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./plugin-4kb49531.js";
|
|
28
28
|
import {
|
|
29
29
|
exports_keyed_mutex
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./plugin-0kvmztkf.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./plugin-rvfvac9x.js";
|
|
34
34
|
|
|
35
35
|
// src/mcp/index.ts
|
|
36
36
|
var exports_mcp = {};
|
|
@@ -164,8 +164,7 @@ var Options = Schema.Struct({
|
|
|
164
164
|
clientInfo: Schema.optional(Schema.Struct({
|
|
165
165
|
name: Schema.String,
|
|
166
166
|
version: Schema.String
|
|
167
|
-
}))
|
|
168
|
-
stdio: Schema.optional(Schema.Boolean)
|
|
167
|
+
}))
|
|
169
168
|
});
|
|
170
169
|
var layer = (options) => Layer.effect(Service, Effect.gen(function* () {
|
|
171
170
|
const config = yield* exports_config.Service;
|
|
@@ -393,11 +392,6 @@ var layer = (options) => Layer.effect(Service, Effect.gen(function* () {
|
|
|
393
392
|
}
|
|
394
393
|
};
|
|
395
394
|
const startServer = (name, entry) => Effect.gen(function* () {
|
|
396
|
-
if (options?.stdio === false && entry.config.type === "local") {
|
|
397
|
-
entry.status = { status: "failed", error: "stdio MCP servers are unavailable in this runtime" };
|
|
398
|
-
yield* bus.publish(McpEvent.StatusChanged, { server: name }).pipe(Effect.ignore);
|
|
399
|
-
return;
|
|
400
|
-
}
|
|
401
395
|
entry.status = { status: "pending" };
|
|
402
396
|
yield* bus.publish(McpEvent.StatusChanged, { server: name }).pipe(Effect.ignore);
|
|
403
397
|
const scope = yield* Scope.fork(root);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_environment1 as exports_environment
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-jpafxzwx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-rvfvac9x.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_wildcard
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-y67x6rf6.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_config
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-b020en46.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./plugin-rvfvac9x.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/policy.ts
|
|
12
12
|
var exports_policy = {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fileDiff
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-c77ad0vh.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_location_mutation
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-6xgy3jkz.js";
|
|
7
|
+
import {
|
|
8
|
+
exports_file_mutation
|
|
9
|
+
} from "./plugin-bk0jxqkp.js";
|
|
7
10
|
import {
|
|
8
11
|
exports_formatter
|
|
9
|
-
} from "./
|
|
12
|
+
} from "./plugin-kxf6zgfz.js";
|
|
10
13
|
import {
|
|
11
14
|
exports_permission
|
|
12
|
-
} from "./
|
|
13
|
-
import {
|
|
14
|
-
exports_file_mutation
|
|
15
|
-
} from "./repository-cache-8mx9xa89.js";
|
|
15
|
+
} from "./plugin-jhnyxz2d.js";
|
|
16
16
|
import {
|
|
17
17
|
exports_environment1 as exports_environment
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./plugin-jpafxzwx.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./plugin-rvfvac9x.js";
|
|
22
22
|
|
|
23
23
|
// src/tool/plugin/write.ts
|
|
24
24
|
var exports_write = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
exports_drizzle
|
|
3
|
-
} from "./repository-cache-sh51nj6w.js";
|
|
4
1
|
import {
|
|
5
2
|
exports_migration
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./plugin-wm8vd51k.js";
|
|
4
|
+
import {
|
|
5
|
+
exports_drizzle
|
|
6
|
+
} from "./plugin-nk7t2wb2.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./plugin-rvfvac9x.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|