@opencode-ai/core 0.0.0-next-17317 → 0.0.0-next-17330
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 +80 -80
- package/dist/aisdk-native.js +3 -3
- package/dist/aisdk.js +4 -4
- package/dist/app.js +2 -2
- package/dist/bus.js +78 -78
- package/dist/catalog.js +87 -87
- package/dist/chunks/{app-02dbfq60.js → repository-cache-02dbfq60.js} +1 -1
- package/dist/chunks/{app-04kwjb53.js → repository-cache-04kwjb53.js} +2 -2
- package/dist/chunks/{app-7emxxpdb.js → repository-cache-09mpk8cy.js} +2 -2
- package/dist/chunks/{app-0kvmztkf.js → repository-cache-0kvmztkf.js} +1 -1
- package/dist/chunks/{app-z9rpahmp.js → repository-cache-0xjr6h2t.js} +3 -3
- package/dist/chunks/{app-10xtr3be.js → repository-cache-10xtr3be.js} +2 -2
- package/dist/chunks/{app-2n9rqmbs.js → repository-cache-141wgazf.js} +2 -2
- package/dist/chunks/{app-18pv8fg3.js → repository-cache-18pv8fg3.js} +2 -2
- package/dist/chunks/{app-1c00jchy.js → repository-cache-1c00jchy.js} +2 -2
- package/dist/chunks/{app-1kvtxahz.js → repository-cache-1kvtxahz.js} +1 -1
- package/dist/chunks/{app-1xksxgzs.js → repository-cache-1xksxgzs.js} +2 -2
- package/dist/chunks/{app-trdaf16b.js → repository-cache-1yhzyp6p.js} +2 -2
- package/dist/chunks/{app-25pxtba7.js → repository-cache-25pxtba7.js} +1 -1
- package/dist/chunks/{app-6jwxj7fd.js → repository-cache-2mcxzbwe.js} +9 -9
- package/dist/chunks/{app-2nmyybe0.js → repository-cache-2nmyybe0.js} +1 -1
- package/dist/chunks/{app-5tcqctjx.js → repository-cache-2zsmgn20.js} +19 -19
- package/dist/chunks/{app-37rcj8p3.js → repository-cache-37rcj8p3.js} +3 -3
- package/dist/chunks/{app-fx310v2s.js → repository-cache-39f4fmnr.js} +6 -6
- package/dist/chunks/{app-r1vj02j7.js → repository-cache-3d6b8qzx.js} +11 -11
- package/dist/chunks/{app-3mfgaav1.js → repository-cache-3mfgaav1.js} +4 -4
- package/dist/chunks/{app-34gtgtfn.js → repository-cache-3nqnjq3t.js} +3 -3
- package/dist/chunks/{app-a24q2n56.js → repository-cache-3r8qjtea.js} +8 -8
- package/dist/chunks/{app-3thh6229.js → repository-cache-3thh6229.js} +2 -2
- package/dist/chunks/{app-3vh42rcr.js → repository-cache-3vh42rcr.js} +2 -2
- package/dist/chunks/{app-3w0f1yxt.js → repository-cache-3w0f1yxt.js} +3 -3
- package/dist/chunks/{app-0ph8kwa3.js → repository-cache-41daaf98.js} +4 -4
- package/dist/chunks/{app-n8an51ay.js → repository-cache-46j7pzg3.js} +3 -3
- package/dist/chunks/{app-jjh23j6h.js → repository-cache-4rr9fyye.js} +16 -16
- package/dist/chunks/{app-4s2xwh5d.js → repository-cache-4s2xwh5d.js} +3 -3
- package/dist/chunks/{app-bqbwc6q4.js → repository-cache-4tftbkea.js} +2 -2
- package/dist/chunks/{app-k6bbft4t.js → repository-cache-4tsark0b.js} +8 -8
- package/dist/chunks/{app-4zzdwbaz.js → repository-cache-4zzdwbaz.js} +2 -2
- package/dist/chunks/{app-a3kqxh9n.js → repository-cache-5092y56s.js} +3 -3
- package/dist/chunks/{app-50jxp3hw.js → repository-cache-50jxp3hw.js} +1 -1
- package/dist/chunks/{app-52jzav25.js → repository-cache-52jzav25.js} +1 -1
- package/dist/chunks/{app-56p2m126.js → repository-cache-56p2m126.js} +1 -1
- package/dist/chunks/{app-57tzwnz4.js → repository-cache-57tzwnz4.js} +1 -1
- package/dist/chunks/{app-tvczbcs8.js → repository-cache-59dc3gbv.js} +7 -7
- package/dist/chunks/{app-rqmqsmfp.js → repository-cache-5g3dnzmr.js} +5 -5
- package/dist/chunks/{app-5p2sx24b.js → repository-cache-5p2sx24b.js} +3 -3
- package/dist/chunks/{app-5pfeh60c.js → repository-cache-5pfeh60c.js} +2 -2
- package/dist/chunks/{app-5rs65q6p.js → repository-cache-5rs65q6p.js} +1 -1
- package/dist/chunks/{app-5sgbvx3z.js → repository-cache-5sgbvx3z.js} +2 -2
- package/dist/chunks/{app-5fvy871a.js → repository-cache-6628r0j2.js} +4 -4
- package/dist/chunks/{app-jsh3djw6.js → repository-cache-68a9fpyg.js} +112 -112
- package/dist/chunks/{app-tn7bcc13.js → repository-cache-6eh104vx.js} +6 -6
- package/dist/chunks/{app-9792gxzb.js → repository-cache-6gd6rkd0.js} +9 -9
- package/dist/chunks/{app-5349rtah.js → repository-cache-6j25n600.js} +9 -9
- package/dist/chunks/{app-r6h63zpd.js → repository-cache-6s5h6578.js} +4 -4
- package/dist/chunks/{app-6sc9h3ca.js → repository-cache-6sc9h3ca.js} +1 -1
- package/dist/chunks/{app-dqpmx9gf.js → repository-cache-6v6a829b.js} +9 -9
- package/dist/chunks/{app-jwc5yzxk.js → repository-cache-6w9ct4re.js} +10 -10
- package/dist/chunks/{app-706a4azd.js → repository-cache-706a4azd.js} +1 -1
- package/dist/chunks/{app-88bv1cm4.js → repository-cache-7crn5s7a.js} +10 -10
- package/dist/chunks/{app-cjh9716r.js → repository-cache-7f3tp52f.js} +4 -4
- package/dist/chunks/{app-pa35b7j9.js → repository-cache-7h2nn283.js} +3 -3
- package/dist/chunks/{app-7mpw7j43.js → repository-cache-7mpw7j43.js} +2 -2
- package/dist/chunks/{app-7mrpdsq5.js → repository-cache-7mrpdsq5.js} +1 -1
- package/dist/chunks/{app-7wcmqxrc.js → repository-cache-7wcmqxrc.js} +1 -1
- package/dist/chunks/{app-n6399r2z.js → repository-cache-84ht765f.js} +5 -5
- package/dist/chunks/{app-857g7h76.js → repository-cache-857g7h76.js} +1 -1
- package/dist/chunks/{app-88jbfw8z.js → repository-cache-88jbfw8z.js} +2 -2
- package/dist/chunks/{app-ajp3rkge.js → repository-cache-8mx9xa89.js} +3 -3
- package/dist/chunks/{app-bn5ne79h.js → repository-cache-8pa2gv04.js} +81 -81
- package/dist/chunks/{app-824bzxpq.js → repository-cache-8taya4xf.js} +4 -4
- package/dist/chunks/{app-kyqwgef4.js → repository-cache-8x99ehfs.js} +4 -4
- package/dist/chunks/{app-8ywqk2j9.js → repository-cache-8ywqk2j9.js} +1 -1
- package/dist/chunks/{app-tvagj5b1.js → repository-cache-91mm05x8.js} +7 -7
- package/dist/chunks/{app-4b723tdv.js → repository-cache-93hmgb4h.js} +5 -5
- package/dist/chunks/{app-93qdgxxd.js → repository-cache-93qdgxxd.js} +1 -1
- package/dist/chunks/{app-zks6f588.js → repository-cache-97z7an8c.js} +7 -7
- package/dist/chunks/{app-999qd968.js → repository-cache-999qd968.js} +1 -1
- package/dist/chunks/{app-9f0rnpkn.js → repository-cache-9f0rnpkn.js} +1 -1
- package/dist/chunks/{app-7899jtpg.js → repository-cache-9h2jrz7q.js} +30 -30
- package/dist/chunks/{app-9q1hedyj.js → repository-cache-9q1hedyj.js} +2 -2
- package/dist/chunks/{app-9r0qzhnf.js → repository-cache-9r0qzhnf.js} +2 -2
- package/dist/chunks/{app-p2br4b3n.js → repository-cache-9vq364qj.js} +2 -2
- package/dist/chunks/{app-m3hyy9g8.js → repository-cache-a2areeyk.js} +2 -2
- package/dist/chunks/{app-qw688rwx.js → repository-cache-a3xgesk5.js} +5 -5
- package/dist/chunks/{app-a65h300v.js → repository-cache-a65h300v.js} +2 -2
- package/dist/chunks/{app-0sbfjcmt.js → repository-cache-aamy9awe.js} +11 -11
- package/dist/chunks/{app-zwxmc3bd.js → repository-cache-arxcwz1c.js} +1 -1
- package/dist/chunks/{app-a9t6y3xq.js → repository-cache-axp5q191.js} +13 -13
- package/dist/chunks/{app-ayfwnm78.js → repository-cache-ayfwnm78.js} +2 -2
- package/dist/chunks/{app-41jac2rw.js → repository-cache-b5gcdv56.js} +6 -6
- package/dist/chunks/{app-gq675gkp.js → repository-cache-b98qfmjp.js} +5 -5
- package/dist/chunks/{app-fq764adj.js → repository-cache-b9y4597k.js} +12 -12
- package/dist/chunks/{app-3gdpxg9w.js → repository-cache-bmqesg5j.js} +3 -3
- package/dist/chunks/repository-cache-bwad94xr.js +116 -0
- package/dist/chunks/{app-byab506k.js → repository-cache-byab506k.js} +1 -1
- package/dist/chunks/{app-b9mh38wt.js → repository-cache-bza6gt6f.js} +6 -6
- package/dist/chunks/{app-cgvnqv92.js → repository-cache-cgvnqv92.js} +1 -1
- package/dist/chunks/{app-qqyxzanw.js → repository-cache-crvgmcnp.js} +16 -16
- package/dist/chunks/{app-cz3dkvcz.js → repository-cache-cz3dkvcz.js} +1 -1
- package/dist/chunks/{app-d076mabj.js → repository-cache-d076mabj.js} +2 -2
- package/dist/chunks/{app-ckssqp0a.js → repository-cache-d53cbyg4.js} +8 -8
- package/dist/chunks/{app-d6vvk673.js → repository-cache-d6vvk673.js} +1 -1
- package/dist/chunks/{app-ddn74qps.js → repository-cache-ddn74qps.js} +2 -2
- package/dist/chunks/{app-dhphtf1x.js → repository-cache-dhphtf1x.js} +1 -1
- package/dist/chunks/{app-821zwkre.js → repository-cache-dj1xs53g.js} +7 -7
- package/dist/chunks/{app-e1z9a0ts.js → repository-cache-e1z9a0ts.js} +2 -2
- package/dist/chunks/{app-njv6rpr7.js → repository-cache-e6n9jwna.js} +9 -9
- package/dist/chunks/{app-dqvrt3mh.js → repository-cache-e7eb7pyj.js} +9 -9
- package/dist/chunks/{app-z28gthdp.js → repository-cache-e7vptzzv.js} +3 -3
- package/dist/chunks/{app-ed4jjjcc.js → repository-cache-ed4jjjcc.js} +2 -2
- package/dist/chunks/{app-erj4j75s.js → repository-cache-erj4j75s.js} +1 -1
- package/dist/chunks/{app-eyk9wdct.js → repository-cache-eyk9wdct.js} +2 -2
- package/dist/chunks/{app-f05p34aa.js → repository-cache-f05p34aa.js} +3 -3
- package/dist/chunks/{app-0yvmerbg.js → repository-cache-f7w1jryk.js} +8 -8
- package/dist/chunks/{app-fm1nvm5g.js → repository-cache-fm1nvm5g.js} +1 -1
- package/dist/chunks/{app-08skwnb9.js → repository-cache-fmr624gh.js} +8 -8
- package/dist/chunks/{app-fmyre8m1.js → repository-cache-fmyre8m1.js} +1 -1
- package/dist/chunks/{app-7a1epvt6.js → repository-cache-fntptk10.js} +5 -5
- package/dist/chunks/{app-3qdtmdys.js → repository-cache-fvvca5k0.js} +6 -6
- package/dist/chunks/{app-mqm7ppv4.js → repository-cache-fww6ka0m.js} +5 -5
- package/dist/chunks/{app-mevft4d2.js → repository-cache-g3nw6fb0.js} +5 -5
- package/dist/chunks/{app-g9yygpzr.js → repository-cache-g9yygpzr.js} +1 -1
- package/dist/chunks/{app-gcay93cp.js → repository-cache-gcay93cp.js} +1 -1
- package/dist/chunks/{app-gd2xppx8.js → repository-cache-gd2xppx8.js} +1 -1
- package/dist/chunks/{app-a9bmtk5v.js → repository-cache-ghgrp5mb.js} +10 -10
- package/dist/chunks/{app-gm8kdh5e.js → repository-cache-gm8kdh5e.js} +2 -2
- package/dist/chunks/{app-66pzqqqb.js → repository-cache-gzjpz1dq.js} +9 -9
- package/dist/chunks/{app-cantjknx.js → repository-cache-h0vgpcjn.js} +5 -5
- package/dist/chunks/{app-heq95ef9.js → repository-cache-h6nag1tm.js} +5 -5
- package/dist/chunks/{app-h8ecejt5.js → repository-cache-h8ecejt5.js} +1 -1
- package/dist/chunks/{app-3pech87g.js → repository-cache-hrdhhck8.js} +13 -13
- package/dist/chunks/{app-rnxw5s75.js → repository-cache-hrzrfgqj.js} +4 -4
- package/dist/chunks/{app-n7rn4zj5.js → repository-cache-htg18tka.js} +8 -8
- package/dist/chunks/{app-t51rfpp7.js → repository-cache-j7rgkvgh.js} +4 -4
- package/dist/chunks/{app-8ssvbmmf.js → repository-cache-j83wek79.js} +10 -10
- package/dist/chunks/{app-3q0vncgj.js → repository-cache-j89v37ky.js} +5 -5
- package/dist/chunks/{app-5d8q6gnq.js → repository-cache-jd18fqwg.js} +3 -3
- package/dist/chunks/{app-wnn5g1xh.js → repository-cache-jf0y37v0.js} +4 -4
- package/dist/chunks/{app-cnb0pc1j.js → repository-cache-jkv81dxb.js} +5 -5
- package/dist/chunks/{app-d8bbt2d1.js → repository-cache-jqfzxg59.js} +52 -52
- package/dist/chunks/{app-jgbztvxz.js → repository-cache-jqksw8t0.js} +7 -7
- package/dist/chunks/{app-bha9y19b.js → repository-cache-jr4jm25g.js} +6 -6
- package/dist/chunks/{app-k80rxen0.js → repository-cache-js3e6gqf.js} +24 -24
- package/dist/chunks/{app-jssy2dr3.js → repository-cache-jssy2dr3.js} +2 -2
- package/dist/chunks/{app-me4dyqfd.js → repository-cache-k17wrc8y.js} +5 -5
- package/dist/chunks/{app-kg1345f7.js → repository-cache-kg1345f7.js} +1 -1
- package/dist/chunks/{app-zcyjs0t5.js → repository-cache-kzesxyth.js} +10 -10
- package/dist/chunks/{app-m01ryvbe.js → repository-cache-m01ryvbe.js} +1 -1
- package/dist/chunks/{app-m0j7p73q.js → repository-cache-m0j7p73q.js} +3 -3
- package/dist/chunks/{app-h4rc9vem.js → repository-cache-m2vcjsa4.js} +5 -5
- package/dist/chunks/{app-xmy80gxd.js → repository-cache-m9bnr5ec.js} +11 -11
- package/dist/chunks/{app-agn74pqn.js → repository-cache-maahekq3.js} +5 -5
- package/dist/chunks/{app-mf0hyk7z.js → repository-cache-mf0hyk7z.js} +1 -1
- package/dist/chunks/{app-j4a8y1v0.js → repository-cache-mg2pv17x.js} +32 -32
- package/dist/chunks/{app-9w6hy71j.js → repository-cache-msbeckph.js} +3 -3
- package/dist/chunks/{app-mwceq5am.js → repository-cache-mwceq5am.js} +1 -1
- package/dist/chunks/{app-p1adbydn.js → repository-cache-nc836e20.js} +7 -7
- package/dist/chunks/{app-nesb2rcz.js → repository-cache-nesb2rcz.js} +2 -2
- package/dist/chunks/{app-nr76rjj3.js → repository-cache-nr76rjj3.js} +2 -2
- package/dist/chunks/{app-yqnhcm69.js → repository-cache-ns5te58g.js} +28 -24
- package/dist/chunks/{app-nv7zjdpe.js → repository-cache-nv7zjdpe.js} +2 -2
- package/dist/chunks/{app-nzrjycs5.js → repository-cache-nzrjycs5.js} +1 -1
- package/dist/chunks/{app-c6k8g8k7.js → repository-cache-p7wazpn7.js} +4 -4
- package/dist/chunks/{app-pfqehjmy.js → repository-cache-pfqehjmy.js} +2 -2
- package/dist/chunks/{app-ph1me6ah.js → repository-cache-ph1me6ah.js} +2 -2
- package/dist/chunks/{app-s6mxj90h.js → repository-cache-pj2vbezm.js} +13 -13
- package/dist/chunks/{app-pq4b4pqk.js → repository-cache-pq4b4pqk.js} +2 -2
- package/dist/chunks/{app-f26x8jzg.js → repository-cache-pqxc0f1x.js} +9 -43
- package/dist/chunks/{app-prf9bavk.js → repository-cache-prf9bavk.js} +3 -3
- package/dist/chunks/{app-abghskf8.js → repository-cache-px6qz68e.js} +3 -3
- package/dist/chunks/{app-2r4vrveh.js → repository-cache-pxv8jsqw.js} +3 -3
- package/dist/chunks/{app-q4r4pzs4.js → repository-cache-q4r4pzs4.js} +1 -1
- package/dist/chunks/{app-d0s9tzcb.js → repository-cache-q85htfq3.js} +8 -2
- package/dist/chunks/{app-qe0d689s.js → repository-cache-qe0d689s.js} +2 -2
- package/dist/chunks/{app-5gbqv329.js → repository-cache-qnprthpg.js} +4 -4
- package/dist/chunks/{app-q8vzn7t4.js → repository-cache-qw2c2z0f.js} +9 -9
- package/dist/chunks/{app-r3k9abhd.js → repository-cache-r3k9abhd.js} +2 -2
- package/dist/chunks/{app-5jw8v224.js → repository-cache-rg4cb0n6.js} +82 -82
- package/dist/chunks/{app-qdkdga7m.js → repository-cache-rjqv38t2.js} +61 -61
- package/dist/chunks/{app-m0nzfze3.js → repository-cache-rk0gc5ce.js} +15 -15
- package/dist/chunks/{app-rmgfhn2t.js → repository-cache-rmgfhn2t.js} +2 -2
- package/dist/chunks/{app-rqswsgbs.js → repository-cache-rqswsgbs.js} +2 -2
- package/dist/chunks/{app-rt6yg6j2.js → repository-cache-rt6yg6j2.js} +2 -2
- package/dist/chunks/{app-ryap75b3.js → repository-cache-ryap75b3.js} +1 -1
- package/dist/chunks/{app-map3fv87.js → repository-cache-ryjby270.js} +3 -3
- package/dist/chunks/{app-rkn26eap.js → repository-cache-s3ykfgqh.js} +11 -11
- package/dist/chunks/{app-s6by3cc4.js → repository-cache-s6by3cc4.js} +3 -3
- package/dist/chunks/{app-s9f13v9h.js → repository-cache-s9f13v9h.js} +1 -1
- package/dist/chunks/{app-66jss2y3.js → repository-cache-saxcjhd3.js} +2 -2
- package/dist/chunks/{app-ps7cy9yh.js → repository-cache-sh51nj6w.js} +7 -5
- package/dist/chunks/{app-w1c5n80y.js → repository-cache-skt0q5rj.js} +6 -6
- package/dist/chunks/{app-smpeg8c9.js → repository-cache-smpeg8c9.js} +2 -2
- package/dist/chunks/{app-n5mwvj6g.js → repository-cache-sn0zfpmh.js} +12 -4
- package/dist/chunks/{app-qyt1de9h.js → repository-cache-sqaazc35.js} +4 -4
- package/dist/chunks/{app-wv9c4455.js → repository-cache-sqhwabev.js} +15 -10
- package/dist/chunks/{app-eekpctba.js → repository-cache-sw9600ps.js} +11 -11
- package/dist/chunks/{app-szax8zgv.js → repository-cache-szax8zgv.js} +2 -2
- package/dist/chunks/{app-szjq6xea.js → repository-cache-szjq6xea.js} +2 -2
- package/dist/chunks/{app-t2j2ttmx.js → repository-cache-t2j2ttmx.js} +1 -1
- package/dist/chunks/{app-tcn24h1d.js → repository-cache-tcn24h1d.js} +1 -1
- package/dist/chunks/{app-r3nzktek.js → repository-cache-tcv8hj6g.js} +25 -25
- package/dist/chunks/{app-tdm3rp2k.js → repository-cache-tdm3rp2k.js} +1 -1
- package/dist/chunks/{app-tenv3kfs.js → repository-cache-tenv3kfs.js} +2 -2
- package/dist/chunks/{app-thstd87d.js → repository-cache-thstd87d.js} +1 -1
- package/dist/chunks/{app-sy2h18bq.js → repository-cache-tjhdg0sw.js} +12 -9
- package/dist/chunks/{app-ts4t4v20.js → repository-cache-ts4t4v20.js} +2 -2
- package/dist/chunks/{app-tyh0a1hs.js → repository-cache-tyh0a1hs.js} +3 -3
- package/dist/chunks/{app-v972xay6.js → repository-cache-v972xay6.js} +1 -1
- package/dist/chunks/{app-v9bfv94f.js → repository-cache-v9bfv94f.js} +1 -1
- package/dist/chunks/{app-zyrxys6y.js → repository-cache-vs9h1fxe.js} +6 -6
- package/dist/chunks/{app-j2zbpr2j.js → repository-cache-vyex86r2.js} +10 -10
- package/dist/chunks/{app-vynn1k31.js → repository-cache-vynn1k31.js} +2 -2
- package/dist/chunks/{app-vz89hfgr.js → repository-cache-vz89hfgr.js} +1 -1
- package/dist/chunks/{app-tyssacrn.js → repository-cache-wa36z8r8.js} +3 -3
- package/dist/chunks/{app-wd268jeg.js → repository-cache-wd268jeg.js} +1 -1
- package/dist/chunks/{app-mz2jedcq.js → repository-cache-wddscexe.js} +5 -5
- package/dist/chunks/{app-we2zmhe4.js → repository-cache-we2zmhe4.js} +2 -2
- package/dist/chunks/{app-gfhy3xxc.js → repository-cache-we5s72km.js} +23 -23
- package/dist/chunks/{app-wf37p1a1.js → repository-cache-wf37p1a1.js} +1 -1
- package/dist/chunks/{app-y4sxnhrw.js → repository-cache-wgrssa02.js} +7 -7
- package/dist/chunks/{app-wmxdh12w.js → repository-cache-wmxdh12w.js} +1 -1
- package/dist/chunks/{app-53xf519q.js → repository-cache-wnjnzsav.js} +3 -3
- package/dist/chunks/{app-wps8gh8n.js → repository-cache-wps8gh8n.js} +2 -2
- package/dist/chunks/{app-wt193r4g.js → repository-cache-wt193r4g.js} +1 -1
- package/dist/chunks/{app-xfd1xnk3.js → repository-cache-xfd1xnk3.js} +2 -2
- package/dist/chunks/{app-xfrawapx.js → repository-cache-xfrawapx.js} +1 -1
- package/dist/chunks/{app-xgv25zxy.js → repository-cache-xgv25zxy.js} +1 -1
- package/dist/chunks/{app-j5g5m7ca.js → repository-cache-xjtqh72v.js} +2 -2
- package/dist/chunks/{app-fj3fqzqb.js → repository-cache-xq1vkeee.js} +5 -4
- package/dist/chunks/{app-xwftk1fd.js → repository-cache-xwftk1fd.js} +2 -2
- package/dist/chunks/{app-y0x38cee.js → repository-cache-y0x38cee.js} +1 -1
- package/dist/chunks/{app-h3qs1jxq.js → repository-cache-y1agc184.js} +7 -7
- package/dist/chunks/{app-dm7mk5x3.js → repository-cache-y56d2anz.js} +4 -4
- package/dist/chunks/{app-y67x6rf6.js → repository-cache-y67x6rf6.js} +1 -1
- package/dist/chunks/{app-y9gw0wvx.js → repository-cache-y8pkfyr3.js} +3 -3
- package/dist/chunks/{app-y8rs54ne.js → repository-cache-y8rs54ne.js} +1 -1
- package/dist/chunks/{app-7czsgg7v.js → repository-cache-yjc6jw6n.js} +30 -30
- package/dist/chunks/{app-0ap8dsrs.js → repository-cache-yk7rq2cw.js} +3 -3
- package/dist/chunks/{app-b0esv13c.js → repository-cache-ywp6nggw.js} +3 -3
- package/dist/chunks/{app-n4bfz6fb.js → repository-cache-yydpaacn.js} +17 -17
- package/dist/chunks/{app-yz0wm9s3.js → repository-cache-yz0wm9s3.js} +2 -2
- package/dist/chunks/{app-pa78n45x.js → repository-cache-z0pptypp.js} +10 -10
- package/dist/chunks/{app-kcwh27nh.js → repository-cache-z66vzcey.js} +5 -5
- package/dist/chunks/{app-zbqqnp0n.js → repository-cache-zbqqnp0n.js} +1 -1
- package/dist/chunks/{app-zdkg1k91.js → repository-cache-zdkg1k91.js} +1 -1
- package/dist/chunks/{app-zfxc0ze5.js → repository-cache-zfxc0ze5.js} +1 -1
- package/dist/chunks/{app-zsy6j3xa.js → repository-cache-zgqdzfbe.js} +2 -2
- package/dist/chunks/{app-rckwcqa1.js → repository-cache-zngq5vh0.js} +18 -18
- package/dist/chunks/{app-zthe9zqc.js → repository-cache-zthe9zqc.js} +1 -1
- package/dist/chunks/{app-zvvp2xr4.js → repository-cache-zvvp2xr4.js} +3 -3
- package/dist/chunks/{app-y1a9w4wq.js → repository-cache-zyetvhst.js} +2 -2
- package/dist/codemode/catalog.js +2 -2
- package/dist/codemode/instructions.js +4 -4
- package/dist/codemode/tool.js +3 -3
- package/dist/command.js +128 -119
- package/dist/config/markdown.js +2 -2
- package/dist/config/normalize.js +20 -20
- package/dist/config/plugin/agent.js +129 -129
- package/dist/config/plugin/command.js +130 -121
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/policy.js +110 -110
- package/dist/config/plugin/provider.js +109 -109
- package/dist/config/plugin/reference.js +113 -113
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +132 -132
- package/dist/config/plugin/source.js +109 -109
- package/dist/config/plugin/websearch.js +109 -109
- package/dist/config/variable.js +4 -4
- package/dist/config.js +108 -108
- package/dist/credential/sql.js +3 -3
- package/dist/credential.js +68 -68
- package/dist/database/database.js +67 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +16 -16
- package/dist/database/drizzle/effect-sqlite/index.js +19 -17
- package/dist/database/drizzle/effect-sqlite/migrator.js +15 -15
- package/dist/database/drizzle/effect-sqlite/session.js +18 -16
- package/dist/database/drizzle/index.js +21 -19
- 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 +22 -20
- 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.gen.js +44 -44
- package/dist/database/migration.js +46 -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 +77 -77
- package/dist/database/v1-migration.js +2 -2
- package/dist/database/v1-migration.noop.js +1 -1
- package/dist/effect/app-node-builder.js +310 -309
- 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 +84 -84
- package/dist/environment/exec-defaults.js +3 -3
- package/dist/environment/files.js +2 -2
- package/dist/environment/index.js +86 -86
- package/dist/environment/local.js +3 -3
- package/dist/environment/memory.js +3 -3
- package/dist/event/sql.js +2 -2
- package/dist/event-logger.js +78 -78
- package/dist/file-mutation.js +85 -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 +22 -0
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher.js +109 -109
- package/dist/filesystem/protected.js +2 -2
- package/dist/filesystem/search.js +89 -89
- package/dist/filesystem/watcher-binding.js +2 -2
- package/dist/filesystem/watcher.js +4 -4
- package/dist/filesystem.js +89 -89
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +111 -111
- package/dist/generate.js +92 -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 +19 -19
- 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 +7 -0
- package/dist/image/photon.js +122 -122
- package/dist/image.js +122 -122
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +79 -79
- package/dist/instructions/index.js +2 -2
- package/dist/integration/connection.js +2 -2
- package/dist/integration.js +84 -84
- package/dist/job.js +4 -4
- package/dist/kv/sql.js +3 -3
- package/dist/kv.js +68 -68
- package/dist/location-mutation.js +77 -77
- package/dist/location-service-map.js +77 -77
- package/dist/location-services.js +310 -309
- package/dist/location.js +76 -76
- package/dist/mcp/client.js +86 -2
- package/dist/mcp/index.js +125 -116
- package/dist/mcp/instructions.js +153 -152
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +92 -0
- package/dist/mime.js +2 -2
- package/dist/model-resolver.js +90 -90
- package/dist/model.js +3 -3
- package/dist/models-dev.js +84 -84
- package/dist/oauth/page.js +2 -2
- package/dist/permission/saved.js +77 -77
- package/dist/permission/sql.js +6 -6
- package/dist/permission.js +99 -99
- package/dist/plugin/agent.js +100 -100
- package/dist/plugin/command.js +77 -77
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +184 -183
- package/dist/plugin/internal.js +270 -269
- package/dist/plugin/models-dev.js +85 -85
- package/dist/plugin/plan.js +82 -82
- package/dist/plugin/promise.js +144 -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 +116 -116
- package/dist/plugin/provider/cerebras.js +3 -3
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +3 -3
- package/dist/plugin/provider/configured.js +114 -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 +91 -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 +86 -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 +88 -88
- package/dist/plugin/provider/opencode.js +101 -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 +86 -86
- package/dist/plugin/provider/zenmux.js +3 -3
- package/dist/plugin/provider.js +152 -152
- package/dist/plugin/runtime.js +175 -174
- package/dist/plugin/sdk.js +79 -79
- package/dist/plugin/skill.js +130 -130
- package/dist/plugin/supervisor.js +275 -274
- package/dist/plugin/system-prompt.js +2 -2
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/warming.js +110 -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 +185 -184
- package/dist/project/copy-strategies.js +80 -80
- package/dist/project/copy.js +80 -80
- package/dist/project/directories.js +71 -71
- package/dist/project/schema.js +3 -3
- package/dist/project/sql.js +5 -5
- package/dist/project.js +75 -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 +9 -0
- package/dist/pty/schema.js +2 -2
- package/dist/pty/ticket.js +70 -70
- package/dist/pty.js +112 -112
- package/dist/question.js +80 -80
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +82 -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 +87 -87
- package/dist/schema.js +2 -2
- package/dist/session/compaction.js +146 -146
- package/dist/session/context.js +283 -282
- package/dist/session/error.js +4 -4
- package/dist/session/event.js +2 -2
- package/dist/session/execution/restart.js +115 -115
- package/dist/session/execution.js +115 -115
- package/dist/session/generate-node.js +289 -288
- package/dist/session/generate.js +2 -2
- package/dist/session/history.js +77 -77
- package/dist/session/info.js +87 -87
- package/dist/session/instruction-entry.js +73 -73
- package/dist/session/instruction-state.js +10 -10
- package/dist/session/instructions.js +96 -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 +291 -290
- package/dist/session/pending.js +83 -83
- package/dist/session/projector.js +95 -95
- package/dist/session/prompt-cache-diagnostics.js +2 -2
- package/dist/session/prompt-cache-key.js +3 -3
- package/dist/session/revert.js +114 -114
- package/dist/session/run-coordinator.js +2 -2
- package/dist/session/runner/index.js +93 -93
- package/dist/session/runner/llm.js +299 -298
- package/dist/session/runner/max-steps.js +2 -2
- package/dist/session/runner/model.js +92 -92
- package/dist/session/runner/publish-llm-event.js +4 -4
- package/dist/session/runner/retry.js +82 -82
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +2 -2
- package/dist/session/sql.js +6 -6
- package/dist/session/store.js +95 -95
- package/dist/session/title.js +112 -112
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +178 -177
- package/dist/session/usage.js +2 -2
- package/dist/session.js +174 -173
- 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 +7 -0
- package/dist/shell/select.js +3 -3
- package/dist/shell.js +121 -121
- package/dist/skill/discovery.js +3 -3
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +100 -100
- package/dist/snapshot.js +109 -109
- package/dist/state.js +2 -2
- package/dist/tool/http-body.js +2 -2
- package/dist/tool/mcp.js +152 -151
- package/dist/tool/plugin/edit.js +139 -139
- package/dist/tool/plugin/file-diff.js +2 -2
- package/dist/tool/plugin/glob.js +111 -111
- package/dist/tool/plugin/grep.js +111 -111
- package/dist/tool/plugin/patch.js +138 -138
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +114 -114
- package/dist/tool/plugin/shell.js +179 -178
- package/dist/tool/plugin/skill.js +101 -101
- package/dist/tool/plugin/subagent.js +176 -175
- package/dist/tool/plugin/webfetch.js +101 -101
- package/dist/tool/plugin/websearch.js +104 -104
- package/dist/tool/plugin/write.js +139 -139
- package/dist/tool/read-filesystem.js +91 -91
- package/dist/tool/runtime.js +2 -2
- package/dist/tool-output.js +110 -110
- package/dist/tool.js +143 -143
- package/dist/types/database/database.d.ts +2 -0
- package/dist/types/database/drizzle/effect-sqlite/session.d.ts +10 -0
- package/dist/types/filesystem/fff.workerd.d.ts +4 -0
- package/dist/types/image/photon-wasm.workerd.d.ts +2 -0
- package/dist/types/location-service-map.d.ts +2 -2
- package/dist/types/location-services.d.ts +1 -1
- package/dist/types/mcp/client.d.ts +7 -2
- package/dist/types/mcp/index.d.ts +4 -1
- package/dist/types/mcp/stdio.d.ts +29 -0
- package/dist/types/plugin/internal.d.ts +3 -3
- package/dist/types/plugin/supervisor.d.ts +1 -1
- package/dist/types/pty/pty.workerd.d.ts +3 -0
- package/dist/types/shell/parser-wasm.workerd.d.ts +5 -0
- package/dist/types/util/process-lock-ffi.workerd.d.ts +12 -0
- 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 +12 -0
- 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 +82 -82
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +2 -2
- package/dist/workspace/sql.js +2 -2
- package/dist/workspace.js +69 -69
- package/package.json +12 -7
- /package/dist/chunks/{app-0cgt0xh2.js → repository-cache-0cgt0xh2.js} +0 -0
- /package/dist/chunks/{app-0f48qthw.js → repository-cache-0f48qthw.js} +0 -0
- /package/dist/chunks/{app-0zz82cjq.js → repository-cache-0zz82cjq.js} +0 -0
- /package/dist/chunks/{app-1fb7bmpf.js → repository-cache-1fb7bmpf.js} +0 -0
- /package/dist/chunks/{app-1wcz8fvj.js → repository-cache-1wcz8fvj.js} +0 -0
- /package/dist/chunks/{app-2qdx6zz3.js → repository-cache-2qdx6zz3.js} +0 -0
- /package/dist/chunks/{app-3c4nztf9.js → repository-cache-3c4nztf9.js} +0 -0
- /package/dist/chunks/{app-3g3rpp2x.js → repository-cache-3g3rpp2x.js} +0 -0
- /package/dist/chunks/{app-3q6gbwmd.js → repository-cache-3q6gbwmd.js} +0 -0
- /package/dist/chunks/{app-3w3ybtfd.js → repository-cache-3w3ybtfd.js} +0 -0
- /package/dist/chunks/{app-47ty4mvs.js → repository-cache-47ty4mvs.js} +0 -0
- /package/dist/chunks/{app-4b2tz2m9.js → repository-cache-4b2tz2m9.js} +0 -0
- /package/dist/chunks/{app-5a5ch9ts.js → repository-cache-5a5ch9ts.js} +0 -0
- /package/dist/chunks/{app-5va1yh78.js → repository-cache-5va1yh78.js} +0 -0
- /package/dist/chunks/{app-69qrqpw0.js → repository-cache-69qrqpw0.js} +0 -0
- /package/dist/chunks/{app-6jdj5f9n.js → repository-cache-6jdj5f9n.js} +0 -0
- /package/dist/chunks/{app-6jtjggv5.js → repository-cache-6jtjggv5.js} +0 -0
- /package/dist/chunks/{app-6yt963b8.js → repository-cache-6yt963b8.js} +0 -0
- /package/dist/chunks/{app-7n9qwqk4.js → repository-cache-7n9qwqk4.js} +0 -0
- /package/dist/chunks/{app-8m0qaa0v.js → repository-cache-8m0qaa0v.js} +0 -0
- /package/dist/chunks/{app-8nn8kqcn.js → repository-cache-8nn8kqcn.js} +0 -0
- /package/dist/chunks/{app-8sj3ajy5.js → repository-cache-8sj3ajy5.js} +0 -0
- /package/dist/chunks/{app-8w9tzfz1.js → repository-cache-8w9tzfz1.js} +0 -0
- /package/dist/chunks/{app-906y0b6d.js → repository-cache-906y0b6d.js} +0 -0
- /package/dist/chunks/{app-9dct5xhx.js → repository-cache-9dct5xhx.js} +0 -0
- /package/dist/chunks/{app-9sdtsapf.js → repository-cache-9sdtsapf.js} +0 -0
- /package/dist/chunks/{app-a02svayp.js → repository-cache-a02svayp.js} +0 -0
- /package/dist/chunks/{app-a83yvq99.js → repository-cache-a83yvq99.js} +0 -0
- /package/dist/chunks/{app-ayevdmef.js → repository-cache-ayevdmef.js} +0 -0
- /package/dist/chunks/{app-b02txbh8.js → repository-cache-b02txbh8.js} +0 -0
- /package/dist/chunks/{app-bbqs2y60.js → repository-cache-bbqs2y60.js} +0 -0
- /package/dist/chunks/{app-brsh5f65.js → repository-cache-brsh5f65.js} +0 -0
- /package/dist/chunks/{app-bxdhjb3y.js → repository-cache-bxdhjb3y.js} +0 -0
- /package/dist/chunks/{app-c77ad0vh.js → repository-cache-c77ad0vh.js} +0 -0
- /package/dist/chunks/{app-cm67rqy2.js → repository-cache-cm67rqy2.js} +0 -0
- /package/dist/chunks/{app-d6s8p2vk.js → repository-cache-d6s8p2vk.js} +0 -0
- /package/dist/chunks/{app-dbah77c1.js → repository-cache-dbah77c1.js} +0 -0
- /package/dist/chunks/{app-df3v2q6j.js → repository-cache-df3v2q6j.js} +0 -0
- /package/dist/chunks/{app-dhcq6c44.js → repository-cache-dhcq6c44.js} +0 -0
- /package/dist/chunks/{app-dht5baf0.js → repository-cache-dht5baf0.js} +0 -0
- /package/dist/chunks/{app-dppgrtwb.js → repository-cache-dppgrtwb.js} +0 -0
- /package/dist/chunks/{app-ehj9csmv.js → repository-cache-ehj9csmv.js} +0 -0
- /package/dist/chunks/{app-ezs3tagn.js → repository-cache-ezs3tagn.js} +0 -0
- /package/dist/chunks/{app-f4cp4g4a.js → repository-cache-f4cp4g4a.js} +0 -0
- /package/dist/chunks/{app-f84sxdqn.js → repository-cache-f84sxdqn.js} +0 -0
- /package/dist/chunks/{app-faypg4r1.js → repository-cache-faypg4r1.js} +0 -0
- /package/dist/chunks/{app-g7k9te92.js → repository-cache-g7k9te92.js} +0 -0
- /package/dist/chunks/{app-gd5xeqc2.js → repository-cache-gd5xeqc2.js} +0 -0
- /package/dist/chunks/{app-ghm4673n.js → repository-cache-ghm4673n.js} +0 -0
- /package/dist/chunks/{app-ghwjy7my.js → repository-cache-ghwjy7my.js} +0 -0
- /package/dist/chunks/{app-gy500k2r.js → repository-cache-gy500k2r.js} +0 -0
- /package/dist/chunks/{app-hy0hzg1s.js → repository-cache-hy0hzg1s.js} +0 -0
- /package/dist/chunks/{app-hzeg9cfr.js → repository-cache-hzeg9cfr.js} +0 -0
- /package/dist/chunks/{app-j07kk359.js → repository-cache-j07kk359.js} +0 -0
- /package/dist/chunks/{app-jve7t217.js → repository-cache-jve7t217.js} +0 -0
- /package/dist/chunks/{app-kpdbz7gn.js → repository-cache-kpdbz7gn.js} +0 -0
- /package/dist/chunks/{app-kxy11nzk.js → repository-cache-kxy11nzk.js} +0 -0
- /package/dist/chunks/{app-kyyqvx4s.js → repository-cache-kyyqvx4s.js} +0 -0
- /package/dist/chunks/{app-m8cbvarh.js → repository-cache-m8cbvarh.js} +0 -0
- /package/dist/chunks/{app-ma07p6tt.js → repository-cache-ma07p6tt.js} +0 -0
- /package/dist/chunks/{app-ma60vzgv.js → repository-cache-ma60vzgv.js} +0 -0
- /package/dist/chunks/{app-n3m50c2t.js → repository-cache-n3m50c2t.js} +0 -0
- /package/dist/chunks/{app-nkm1m8dz.js → repository-cache-nkm1m8dz.js} +0 -0
- /package/dist/chunks/{app-nsc0c3zb.js → repository-cache-nsc0c3zb.js} +0 -0
- /package/dist/chunks/{app-qaarhjrp.js → repository-cache-qaarhjrp.js} +0 -0
- /package/dist/chunks/{app-qc167nrn.js → repository-cache-qc167nrn.js} +0 -0
- /package/dist/chunks/{app-qp95y4jb.js → repository-cache-qp95y4jb.js} +0 -0
- /package/dist/chunks/{app-r8f4w671.js → repository-cache-r8f4w671.js} +0 -0
- /package/dist/chunks/{app-rdfev9jy.js → repository-cache-rdfev9jy.js} +0 -0
- /package/dist/chunks/{app-rvfvac9x.js → repository-cache-rvfvac9x.js} +0 -0
- /package/dist/chunks/{app-s7whb9gt.js → repository-cache-s7whb9gt.js} +0 -0
- /package/dist/chunks/{app-se76j685.js → repository-cache-se76j685.js} +0 -0
- /package/dist/chunks/{app-sem2g21k.js → repository-cache-sem2g21k.js} +0 -0
- /package/dist/chunks/{app-tmb1f636.js → repository-cache-tmb1f636.js} +0 -0
- /package/dist/chunks/{app-ttxf0gsy.js → repository-cache-ttxf0gsy.js} +0 -0
- /package/dist/chunks/{app-tvmhrvfj.js → repository-cache-tvmhrvfj.js} +0 -0
- /package/dist/chunks/{app-v2adqbbe.js → repository-cache-v2adqbbe.js} +0 -0
- /package/dist/chunks/{app-wj4sxzqa.js → repository-cache-wj4sxzqa.js} +0 -0
- /package/dist/chunks/{app-wwntjmk1.js → repository-cache-wwntjmk1.js} +0 -0
- /package/dist/chunks/{app-wx89ywv3.js → repository-cache-wx89ywv3.js} +0 -0
- /package/dist/chunks/{app-wyqjaaa5.js → repository-cache-wyqjaaa5.js} +0 -0
- /package/dist/chunks/{app-x4q807cx.js → repository-cache-x4q807cx.js} +0 -0
- /package/dist/chunks/{app-yrqrg4vp.js → repository-cache-yrqrg4vp.js} +0 -0
- /package/dist/chunks/{app-z47nswr2.js → repository-cache-z47nswr2.js} +0 -0
- /package/dist/chunks/{app-zsf8rs93.js → repository-cache-zsf8rs93.js} +0 -0
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
import {
|
|
2
|
-
exports_retry
|
|
3
|
-
} from "./app-szjq6xea.js";
|
|
4
1
|
import {
|
|
5
2
|
createLLMEventPublisher
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-9q1hedyj.js";
|
|
7
4
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
5
|
+
exports_retry
|
|
6
|
+
} from "./repository-cache-szjq6xea.js";
|
|
10
7
|
import {
|
|
11
8
|
exports_model_request
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-2zsmgn20.js";
|
|
13
10
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
11
|
+
exports_compaction
|
|
12
|
+
} from "./repository-cache-we5s72km.js";
|
|
16
13
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
14
|
+
exports_title
|
|
15
|
+
} from "./repository-cache-zngq5vh0.js";
|
|
19
16
|
import {
|
|
20
17
|
exports_context
|
|
21
|
-
} from "./
|
|
18
|
+
} from "./repository-cache-yjc6jw6n.js";
|
|
22
19
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
20
|
+
exports_usage
|
|
21
|
+
} from "./repository-cache-8ywqk2j9.js";
|
|
25
22
|
import {
|
|
26
23
|
exports_tool_output
|
|
27
|
-
} from "./
|
|
24
|
+
} from "./repository-cache-wnjnzsav.js";
|
|
28
25
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
26
|
+
llmClient
|
|
27
|
+
} from "./repository-cache-m01ryvbe.js";
|
|
31
28
|
import {
|
|
32
29
|
Service
|
|
33
|
-
} from "./
|
|
30
|
+
} from "./repository-cache-cz3dkvcz.js";
|
|
31
|
+
import {
|
|
32
|
+
exports_pending
|
|
33
|
+
} from "./repository-cache-htg18tka.js";
|
|
34
34
|
import {
|
|
35
35
|
toSessionError
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./repository-cache-5g3dnzmr.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
exports_snapshot
|
|
39
|
+
} from "./repository-cache-h6nag1tm.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
} from "./
|
|
41
|
+
exports_store
|
|
42
|
+
} from "./repository-cache-bza6gt6f.js";
|
|
43
43
|
import {
|
|
44
44
|
StepFailedError
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./repository-cache-s6by3cc4.js";
|
|
46
46
|
import {
|
|
47
|
-
|
|
48
|
-
} from "./
|
|
47
|
+
exports_instruction_state
|
|
48
|
+
} from "./repository-cache-jr4jm25g.js";
|
|
49
49
|
import {
|
|
50
50
|
SessionEvent
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./repository-cache-a83yvq99.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
53
|
+
exports_message
|
|
54
|
+
} from "./repository-cache-25pxtba7.js";
|
|
55
55
|
import {
|
|
56
56
|
exports_bus
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./repository-cache-y56d2anz.js";
|
|
58
58
|
import {
|
|
59
59
|
exports_database
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./repository-cache-sn0zfpmh.js";
|
|
61
61
|
import {
|
|
62
62
|
__export
|
|
63
|
-
} from "./
|
|
63
|
+
} from "./repository-cache-rvfvac9x.js";
|
|
64
64
|
|
|
65
65
|
// src/session/runner/llm.ts
|
|
66
66
|
var exports_llm = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CredentialTable
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-mf0hyk7z.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_database
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-sn0zfpmh.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-rvfvac9x.js";
|
|
10
10
|
|
|
11
11
|
// src/credential.ts
|
|
12
12
|
var exports_credential = {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime,
|
|
3
3
|
orderSelectedFields
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-ma07p6tt.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_tool
|
|
3
|
-
} from "./
|
|
4
|
-
import {
|
|
5
|
-
exports_permission
|
|
6
|
-
} from "./app-a9bmtk5v.js";
|
|
3
|
+
} from "./repository-cache-f7w1jryk.js";
|
|
7
4
|
import {
|
|
8
5
|
exports_mcp
|
|
9
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-ns5te58g.js";
|
|
7
|
+
import {
|
|
8
|
+
exports_permission
|
|
9
|
+
} from "./repository-cache-ghgrp5mb.js";
|
|
10
10
|
import {
|
|
11
11
|
exports_bus
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-y56d2anz.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-cache-rvfvac9x.js";
|
|
16
16
|
|
|
17
17
|
// src/tool/mcp.ts
|
|
18
18
|
var exports_mcp2 = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ProjectTable
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-88jbfw8z.js";
|
|
4
4
|
import {
|
|
5
5
|
Timestamps
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-sem2g21k.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,33 +1,36 @@
|
|
|
1
|
+
import {
|
|
2
|
+
exports_client
|
|
3
|
+
} from "./repository-cache-pqxc0f1x.js";
|
|
1
4
|
import {
|
|
2
5
|
exports_oauth
|
|
3
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-xq1vkeee.js";
|
|
4
7
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
8
|
+
exports_config
|
|
9
|
+
} from "./repository-cache-gzjpz1dq.js";
|
|
10
|
+
import {
|
|
11
|
+
exports_environment1 as exports_environment
|
|
12
|
+
} from "./repository-cache-2mcxzbwe.js";
|
|
7
13
|
import {
|
|
8
14
|
exports_integration
|
|
9
|
-
} from "./
|
|
15
|
+
} from "./repository-cache-91mm05x8.js";
|
|
10
16
|
import {
|
|
11
17
|
exports_form
|
|
12
|
-
} from "./
|
|
13
|
-
import {
|
|
14
|
-
exports_config
|
|
15
|
-
} from "./app-66pzqqqb.js";
|
|
18
|
+
} from "./repository-cache-141wgazf.js";
|
|
16
19
|
import {
|
|
17
20
|
exports_credential
|
|
18
|
-
} from "./
|
|
21
|
+
} from "./repository-cache-msbeckph.js";
|
|
19
22
|
import {
|
|
20
23
|
exports_bus
|
|
21
|
-
} from "./
|
|
24
|
+
} from "./repository-cache-y56d2anz.js";
|
|
22
25
|
import {
|
|
23
26
|
exports_location
|
|
24
|
-
} from "./
|
|
27
|
+
} from "./repository-cache-xjtqh72v.js";
|
|
25
28
|
import {
|
|
26
29
|
exports_keyed_mutex
|
|
27
|
-
} from "./
|
|
30
|
+
} from "./repository-cache-0kvmztkf.js";
|
|
28
31
|
import {
|
|
29
32
|
__export
|
|
30
|
-
} from "./
|
|
33
|
+
} from "./repository-cache-rvfvac9x.js";
|
|
31
34
|
|
|
32
35
|
// src/mcp/index.ts
|
|
33
36
|
var exports_mcp = {};
|
|
@@ -161,18 +164,19 @@ var Options = Schema.Struct({
|
|
|
161
164
|
clientInfo: Schema.optional(Schema.Struct({
|
|
162
165
|
name: Schema.String,
|
|
163
166
|
version: Schema.String
|
|
164
|
-
}))
|
|
167
|
+
})),
|
|
168
|
+
stdio: Schema.optional(Schema.Boolean)
|
|
165
169
|
});
|
|
166
170
|
var layer = (options) => Layer.effect(Service, Effect.gen(function* () {
|
|
167
171
|
const config = yield* exports_config.Service;
|
|
168
172
|
const location = yield* exports_location.Service;
|
|
173
|
+
const environment = yield* exports_environment.Service;
|
|
169
174
|
const bus = yield* exports_bus.Service;
|
|
170
175
|
const forms = yield* exports_form.Service;
|
|
171
176
|
const integration = yield* exports_integration.Service;
|
|
172
177
|
const credentials = yield* exports_credential.Service;
|
|
173
|
-
const root = yield*
|
|
178
|
+
const root = yield* Effect.scope;
|
|
174
179
|
const fork = yield* FiberSet.makeRuntime();
|
|
175
|
-
yield* Effect.addFinalizer((exit) => Scope.close(root, exit));
|
|
176
180
|
const loadConfig = (entries) => {
|
|
177
181
|
const documents = entries.filter((entry) => entry.type === "document");
|
|
178
182
|
const timeout = Object.assign({}, ...documents.flatMap((entry) => entry.info.mcp?.timeout ? [entry.info.mcp.timeout] : []));
|
|
@@ -362,13 +366,8 @@ var layer = (options) => Layer.effect(Service, Effect.gen(function* () {
|
|
|
362
366
|
const watch = (name, entry, connection) => {
|
|
363
367
|
const live = whenLive(name, entry, connection);
|
|
364
368
|
connection.onClose(() => live(Effect.gen(function* () {
|
|
365
|
-
entry.client = undefined;
|
|
366
|
-
entry.tools = undefined;
|
|
367
|
-
entry.prompts = undefined;
|
|
368
369
|
entry.status = { status: "failed", error: "Connection closed" };
|
|
369
|
-
yield*
|
|
370
|
-
yield* bus.publish(McpEvent.ResourcesChanged, { server: name }).pipe(Effect.ignore);
|
|
371
|
-
yield* bus.publish(Command.Event.Updated, {}).pipe(Effect.ignore);
|
|
370
|
+
yield* stopServer(name, entry);
|
|
372
371
|
yield* bus.publish(McpEvent.StatusChanged, { server: name }).pipe(Effect.ignore);
|
|
373
372
|
})));
|
|
374
373
|
connection.onLog((message) => fork(serverLog(name, message).pipe(Effect.ignore)));
|
|
@@ -394,12 +393,17 @@ var layer = (options) => Layer.effect(Service, Effect.gen(function* () {
|
|
|
394
393
|
}
|
|
395
394
|
};
|
|
396
395
|
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
|
+
}
|
|
397
401
|
entry.status = { status: "pending" };
|
|
398
402
|
yield* bus.publish(McpEvent.StatusChanged, { server: name }).pipe(Effect.ignore);
|
|
399
403
|
const scope = yield* Scope.fork(root);
|
|
400
404
|
entry.scope = scope;
|
|
401
405
|
const authProvider = yield* connectProvider(entry);
|
|
402
|
-
const result = yield* exports_client.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Scope.provide(scope), Effect.exit);
|
|
406
|
+
const result = yield* exports_client.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(exports_environment.Service, environment), Scope.provide(scope), Effect.exit);
|
|
403
407
|
if (Exit.isSuccess(result)) {
|
|
404
408
|
entry.client = result.value.connection;
|
|
405
409
|
entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
|
|
@@ -635,7 +639,7 @@ function configured(options) {
|
|
|
635
639
|
return makeLocationNode({
|
|
636
640
|
service: Service,
|
|
637
641
|
layer: layer(options),
|
|
638
|
-
deps: [exports_config.node, exports_location.node, exports_bus.node, exports_form.node, exports_integration.node, exports_credential.node]
|
|
642
|
+
deps: [exports_config.node, exports_location.node, exports_environment.node, exports_bus.node, exports_form.node, exports_integration.node, exports_credential.node]
|
|
639
643
|
});
|
|
640
644
|
}
|
|
641
645
|
var node = configured();
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildSQLiteMigrationBackfillStatements,
|
|
3
3
|
prepareSQLiteMigrationBackfill
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-6sc9h3ca.js";
|
|
5
5
|
import {
|
|
6
6
|
GET_VERSION_FOR,
|
|
7
7
|
MIGRATIONS_TABLE_VERSIONS
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-cache-f84sxdqn.js";
|
|
9
9
|
|
|
10
10
|
// src/database/drizzle/up-migrations/effect-sqlite.ts
|
|
11
11
|
import * as Effect from "effect/Effect";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PermissionTable
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-nesb2rcz.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_project
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-wgrssa02.js";
|
|
7
7
|
import {
|
|
8
8
|
exports_database
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-sn0zfpmh.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-rvfvac9x.js";
|
|
13
13
|
|
|
14
14
|
// src/permission/saved.ts
|
|
15
15
|
var exports_saved = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createProviderPlugin
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-0zz82cjq.js";
|
|
4
4
|
import {
|
|
5
5
|
__require
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-rvfvac9x.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/deepinfra.ts
|
|
9
9
|
var DeepInfraPlugin = createProviderPlugin({
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
countPatch,
|
|
8
8
|
deletePatch,
|
|
9
9
|
emptyPatch
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-cache-vz89hfgr.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-cache-rvfvac9x.js";
|
|
14
14
|
|
|
15
15
|
// src/vcs/hg.ts
|
|
16
16
|
var exports_hg = {};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
+
import {
|
|
2
|
+
exports_snapshot
|
|
3
|
+
} from "./repository-cache-h6nag1tm.js";
|
|
4
|
+
import {
|
|
5
|
+
SessionEvent
|
|
6
|
+
} from "./repository-cache-a83yvq99.js";
|
|
1
7
|
import {
|
|
2
8
|
SessionMessageTable
|
|
3
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-zvvp2xr4.js";
|
|
4
10
|
import {
|
|
5
11
|
exports_message
|
|
6
|
-
} from "./
|
|
7
|
-
import {
|
|
8
|
-
SessionEvent
|
|
9
|
-
} from "./app-a83yvq99.js";
|
|
12
|
+
} from "./repository-cache-25pxtba7.js";
|
|
10
13
|
import {
|
|
11
14
|
exports_schema
|
|
12
|
-
} from "./
|
|
13
|
-
import {
|
|
14
|
-
exports_snapshot
|
|
15
|
-
} from "./app-heq95ef9.js";
|
|
15
|
+
} from "./repository-cache-y8rs54ne.js";
|
|
16
16
|
import {
|
|
17
17
|
exports_bus
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-cache-y56d2anz.js";
|
|
19
19
|
import {
|
|
20
20
|
RelativePath
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./repository-cache-j07kk359.js";
|
|
22
22
|
import {
|
|
23
23
|
exports_database
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-cache-sn0zfpmh.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./repository-cache-rvfvac9x.js";
|
|
28
28
|
|
|
29
29
|
// src/session/revert.ts
|
|
30
30
|
var exports_revert = {};
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
exports_stdio
|
|
3
|
+
} from "./repository-cache-bwad94xr.js";
|
|
1
4
|
import {
|
|
2
5
|
__export
|
|
3
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-rvfvac9x.js";
|
|
4
7
|
|
|
5
8
|
// src/mcp/client.ts
|
|
6
9
|
var exports_client = {};
|
|
@@ -11,10 +14,8 @@ __export(exports_client, {
|
|
|
11
14
|
ConnectError: () => ConnectError
|
|
12
15
|
});
|
|
13
16
|
import path from "node:path";
|
|
14
|
-
import { execFile } from "node:child_process";
|
|
15
17
|
import { pathToFileURL } from "node:url";
|
|
16
18
|
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
|
|
17
|
-
import { StdioClientTransport } from "@modelcontextprotocol/sdk/client/stdio.js";
|
|
18
19
|
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";
|
|
19
20
|
import { UnauthorizedError } from "@modelcontextprotocol/sdk/client/auth.js";
|
|
20
21
|
import {
|
|
@@ -60,13 +61,12 @@ var connect = Effect.fnUntraced(function* (server, config, directory, authProvid
|
|
|
60
61
|
const transport = yield* Effect.gen(function* () {
|
|
61
62
|
if (config.type === "local") {
|
|
62
63
|
const [command, ...args] = config.command;
|
|
63
|
-
return
|
|
64
|
+
return yield* exports_stdio.make({
|
|
65
|
+
server,
|
|
64
66
|
command,
|
|
65
67
|
args,
|
|
66
68
|
cwd: config.cwd ? path.resolve(directory, config.cwd) : directory,
|
|
67
|
-
|
|
68
|
-
env: {
|
|
69
|
-
...process.env,
|
|
69
|
+
environment: {
|
|
70
70
|
...command === "opencode" ? { BUN_BE_BUN: "1" } : {},
|
|
71
71
|
...config.environment
|
|
72
72
|
}
|
|
@@ -95,7 +95,7 @@ var connect = Effect.fnUntraced(function* (server, config, directory, authProvid
|
|
|
95
95
|
catch: (error2) => error2
|
|
96
96
|
}).pipe(Effect.exit);
|
|
97
97
|
if (Exit.isSuccess(exit)) {
|
|
98
|
-
yield* Effect.addFinalizer(() =>
|
|
98
|
+
yield* Effect.addFinalizer(() => Effect.promise(() => client.close()).pipe(Effect.ignore));
|
|
99
99
|
const catalogTimeout = config.timeout?.catalog ?? DEFAULT_CATALOG_TIMEOUT;
|
|
100
100
|
const executionTimeout = config.timeout?.execution ?? DEFAULT_EXECUTION_TIMEOUT;
|
|
101
101
|
return {
|
|
@@ -241,46 +241,12 @@ var connect = Effect.fnUntraced(function* (server, config, directory, authProvid
|
|
|
241
241
|
}
|
|
242
242
|
};
|
|
243
243
|
}
|
|
244
|
-
yield*
|
|
244
|
+
yield* Effect.promise(() => transport.close()).pipe(Effect.ignore);
|
|
245
245
|
const error = Cause.squash(exit.cause);
|
|
246
246
|
if (error instanceof UnauthorizedError)
|
|
247
247
|
return yield* new NeedsAuthError({ server });
|
|
248
248
|
return yield* new ConnectError({ server, message: error instanceof Error ? error.message : String(error) });
|
|
249
249
|
});
|
|
250
|
-
var cleanupStdioDescendants = (transport) => Effect.gen(function* () {
|
|
251
|
-
if (!(transport instanceof StdioClientTransport))
|
|
252
|
-
return;
|
|
253
|
-
const pid = transport.pid;
|
|
254
|
-
if (typeof pid !== "number")
|
|
255
|
-
return;
|
|
256
|
-
yield* Effect.forEach(yield* descendantPids(pid), (pid2) => Effect.try({
|
|
257
|
-
try: () => process.kill(pid2, "SIGTERM"),
|
|
258
|
-
catch: () => {
|
|
259
|
-
return;
|
|
260
|
-
}
|
|
261
|
-
}).pipe(Effect.ignore), { discard: true });
|
|
262
|
-
});
|
|
263
|
-
var descendantPids = Effect.fnUntraced(function* (root) {
|
|
264
|
-
if (process.platform === "win32")
|
|
265
|
-
return [];
|
|
266
|
-
const result = [];
|
|
267
|
-
const queue = [root];
|
|
268
|
-
for (let index = 0;index < queue.length; index++) {
|
|
269
|
-
const parent = queue[index];
|
|
270
|
-
if (parent === undefined)
|
|
271
|
-
return result;
|
|
272
|
-
const children = (yield* childPids(parent)).filter((pid) => !result.includes(pid));
|
|
273
|
-
result.push(...children);
|
|
274
|
-
queue.push(...children);
|
|
275
|
-
}
|
|
276
|
-
return result;
|
|
277
|
-
});
|
|
278
|
-
var childPids = (pid) => Effect.promise(() => new Promise((resolve) => {
|
|
279
|
-
execFile("pgrep", ["-P", String(pid)], { encoding: "utf8" }, (_error, stdout) => {
|
|
280
|
-
resolve(stdout.split(`
|
|
281
|
-
`).map((line) => Number.parseInt(line, 10)).filter((pid2) => Number.isInteger(pid2)));
|
|
282
|
-
});
|
|
283
|
-
}));
|
|
284
250
|
async function paginate(list, items) {
|
|
285
251
|
const collected = [];
|
|
286
252
|
const seen = new Set;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_mcp
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-1c00jchy.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_app
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-50jxp3hw.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-rvfvac9x.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-m01ryvbe.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_model_resolver
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-j83wek79.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-rvfvac9x.js";
|
|
10
10
|
|
|
11
11
|
// src/generate.ts
|
|
12
12
|
var exports_generate = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
KVTable
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-wmxdh12w.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_database
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-sn0zfpmh.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-rvfvac9x.js";
|
|
10
10
|
|
|
11
11
|
// src/kv.ts
|
|
12
12
|
var exports_kv = {};
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
SQLiteEffectPreparedQuery,
|
|
3
3
|
SQLiteEffectSession,
|
|
4
4
|
SQLiteEffectTransaction
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-cache-maahekq3.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/effect-sqlite/session.ts
|
|
8
8
|
import * as Context from "effect/Context";
|
|
@@ -10,6 +10,10 @@ import * as Effect from "effect/Effect";
|
|
|
10
10
|
import * as Exit from "effect/Exit";
|
|
11
11
|
import * as Scope from "effect/Scope";
|
|
12
12
|
import { entityKind } from "drizzle-orm/entity";
|
|
13
|
+
function managesTransactionsNatively(client) {
|
|
14
|
+
return client.transactionStatements === false;
|
|
15
|
+
}
|
|
16
|
+
|
|
13
17
|
class EffectSQLiteSession extends SQLiteEffectSession {
|
|
14
18
|
client;
|
|
15
19
|
relations;
|
|
@@ -42,6 +46,8 @@ class EffectSQLiteSession extends SQLiteEffectSession {
|
|
|
42
46
|
return connection.executeUnprepared(query, [], undefined).pipe(Effect.asVoid);
|
|
43
47
|
}
|
|
44
48
|
withTransaction(effect, config) {
|
|
49
|
+
if (managesTransactionsNatively(this.client))
|
|
50
|
+
return this.client.withTransaction(effect);
|
|
45
51
|
return Effect.uninterruptibleMask((restore) => Effect.withFiber((fiber) => {
|
|
46
52
|
const services = fiber.context;
|
|
47
53
|
const connectionOption = Context.getOption(services, this.client.transactionService);
|
|
@@ -70,4 +76,4 @@ class EffectSQLiteTransaction extends SQLiteEffectTransaction {
|
|
|
70
76
|
transaction = (tx) => this.session.transaction(tx);
|
|
71
77
|
}
|
|
72
78
|
|
|
73
|
-
export { EffectSQLiteSession, EffectSQLiteTransaction };
|
|
79
|
+
export { managesTransactionsNatively, EffectSQLiteSession, EffectSQLiteTransaction };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createProviderPlugin
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-0zz82cjq.js";
|
|
4
4
|
import {
|
|
5
5
|
__require
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-rvfvac9x.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/cohere.ts
|
|
9
9
|
var CoherePlugin = createProviderPlugin({
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_permission
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-ghgrp5mb.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_state
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-wt193r4g.js";
|
|
7
7
|
import {
|
|
8
8
|
exports_bus
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-y56d2anz.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-rvfvac9x.js";
|
|
13
13
|
|
|
14
14
|
// src/skill.ts
|
|
15
15
|
var exports_skill = {};
|