@opencode/core 0.0.0-dev-20358 → 0.0.0-dev-20360
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 +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{aisdk-native-zrcr237m.js → credential-04e1yqay.js} +16 -16
- package/dist/chunks/{aisdk-native-22frrkwz.js → credential-0bc61wjf.js} +12 -12
- package/dist/chunks/{aisdk-native-sk44h1fb.js → credential-0gqv3qc4.js} +9 -9
- package/dist/chunks/{aisdk-native-j7ajyt7p.js → credential-0p9070wt.js} +10 -10
- package/dist/chunks/{aisdk-native-0paq2nw3.js → credential-0paq2nw3.js} +1 -1
- package/dist/chunks/{aisdk-native-e8qyrgb1.js → credential-0ryd0fps.js} +5 -5
- package/dist/chunks/{aisdk-native-2m5frk42.js → credential-0smkj3y4.js} +43 -43
- package/dist/chunks/{aisdk-native-ecp5xcg4.js → credential-0vs09wn3.js} +10 -10
- package/dist/chunks/{aisdk-native-cc89n3hn.js → credential-0z9fggxj.js} +14 -14
- package/dist/chunks/{aisdk-native-8q8whspk.js → credential-0znnjg06.js} +11 -11
- package/dist/chunks/{aisdk-native-1dazxqgg.js → credential-1dazxqgg.js} +2 -2
- package/dist/chunks/{aisdk-native-e93qw5gh.js → credential-1fwvf67m.js} +11 -11
- package/dist/chunks/{aisdk-native-bdkrr49x.js → credential-1zsnqtzs.js} +13 -13
- package/dist/chunks/{aisdk-native-21r38tys.js → credential-21r38tys.js} +1 -1
- package/dist/chunks/{aisdk-native-zhxd7he2.js → credential-29qtweaw.js} +21 -21
- package/dist/chunks/{aisdk-native-2a5m3afh.js → credential-2a5m3afh.js} +1 -1
- package/dist/chunks/{aisdk-native-yq46dtj1.js → credential-2drh6w9c.js} +3 -3
- package/dist/chunks/{aisdk-native-9w36zjp4.js → credential-2npzgc2q.js} +1 -1
- package/dist/chunks/{aisdk-native-sd661aay.js → credential-2phzajzt.js} +30 -30
- package/dist/chunks/{aisdk-native-dcphqxkf.js → credential-2typzmmc.js} +16 -16
- package/dist/chunks/{aisdk-native-9b00c1fb.js → credential-2xwkyk0m.js} +5 -5
- package/dist/chunks/{aisdk-native-x353b1jt.js → credential-30846h32.js} +8 -8
- package/dist/chunks/{aisdk-native-xym1ea1p.js → credential-30gprf1d.js} +11 -11
- package/dist/chunks/{aisdk-native-t8g2rvm9.js → credential-32ymn5e1.js} +9 -9
- package/dist/chunks/{aisdk-native-8b5e0ake.js → credential-3a86qk9h.js} +17 -17
- package/dist/chunks/{aisdk-native-a39sv7ds.js → credential-3cngkzkk.js} +12 -12
- package/dist/chunks/{aisdk-native-xspgvvwd.js → credential-3csh498x.js} +3 -3
- package/dist/chunks/{aisdk-native-3fc6dm20.js → credential-3fc6dm20.js} +1 -1
- package/dist/chunks/{aisdk-native-3hepkmqq.js → credential-3hepkmqq.js} +1 -1
- package/dist/chunks/{aisdk-native-f8g1newk.js → credential-3pe3cw95.js} +19 -19
- package/dist/chunks/{aisdk-native-7n6vh58r.js → credential-3ppptnan.js} +6 -6
- package/dist/chunks/{aisdk-native-vnnhbf40.js → credential-3r916n3t.js} +6 -6
- package/dist/chunks/{aisdk-native-3smtnn6g.js → credential-3smtnn6g.js} +1 -1
- package/dist/chunks/{aisdk-native-3tvqynh2.js → credential-3tvqynh2.js} +1 -1
- package/dist/chunks/{aisdk-native-nx97ad9f.js → credential-3wers1sj.js} +24 -24
- package/dist/chunks/{aisdk-native-3zsf4n22.js → credential-3zsf4n22.js} +1 -1
- package/dist/chunks/{aisdk-native-dvgh568c.js → credential-47h7tx69.js} +5 -5
- package/dist/chunks/{aisdk-native-r7cd38cc.js → credential-4cwgcsq7.js} +11 -11
- package/dist/chunks/{aisdk-native-gpmgnen5.js → credential-4fwtqxnv.js} +22 -22
- package/dist/chunks/{aisdk-native-z6h1tdpn.js → credential-4pf7hmpg.js} +13 -13
- package/dist/chunks/{aisdk-native-eg5capq0.js → credential-4r4k6gyt.js} +16 -16
- package/dist/chunks/{aisdk-native-maay53e0.js → credential-52vf1pv4.js} +18 -18
- package/dist/chunks/{aisdk-native-s175vtjg.js → credential-53dszk21.js} +14 -14
- package/dist/chunks/{aisdk-native-54ma36ye.js → credential-54ma36ye.js} +1 -1
- package/dist/chunks/{aisdk-native-56gdpj1q.js → credential-56gdpj1q.js} +2 -2
- package/dist/chunks/{aisdk-native-57ez7d0k.js → credential-57ez7d0k.js} +2 -2
- package/dist/chunks/{aisdk-native-ry9zt9dv.js → credential-5bdbc12f.js} +8 -8
- package/dist/chunks/{aisdk-native-5daktx2q.js → credential-5daktx2q.js} +1 -1
- package/dist/chunks/{aisdk-native-3cgcc5xm.js → credential-5jbme0dy.js} +8 -8
- package/dist/chunks/{aisdk-native-e3qxr5gk.js → credential-5qd3pb7m.js} +2 -2
- package/dist/chunks/{aisdk-native-5t3nmthw.js → credential-5t3nmthw.js} +2 -2
- package/dist/chunks/{aisdk-native-93fwg6ed.js → credential-5ytafwqr.js} +28 -28
- package/dist/chunks/{aisdk-native-607q5haz.js → credential-607q5haz.js} +5 -5
- package/dist/chunks/credential-619r8v3y.js +18 -0
- package/dist/chunks/{aisdk-native-ybyp24rj.js → credential-61gbp7xt.js} +12 -12
- package/dist/chunks/{aisdk-native-669tq793.js → credential-669tq793.js} +1 -1
- package/dist/chunks/{aisdk-native-zyf810h9.js → credential-6ahf2jbm.js} +8 -8
- package/dist/chunks/{aisdk-native-4y277d1q.js → credential-6btajet3.js} +11 -11
- package/dist/chunks/{aisdk-native-vx1yezxz.js → credential-6g0am89f.js} +4 -4
- package/dist/chunks/{aisdk-native-6msgmcgs.js → credential-6msgmcgs.js} +1 -1
- package/dist/chunks/{aisdk-native-zsm3phbg.js → credential-6n88yxkj.js} +9 -9
- package/dist/chunks/{aisdk-native-z0xexfyr.js → credential-6s8gfz9t.js} +3 -3
- package/dist/chunks/{aisdk-native-zwrrbvf8.js → credential-6xsqxv1p.js} +9 -9
- package/dist/chunks/{aisdk-native-m7y4rzap.js → credential-6y8y59xk.js} +9 -9
- package/dist/chunks/{aisdk-native-y7r9z9cv.js → credential-75dq6h5a.js} +9 -9
- package/dist/chunks/{aisdk-native-8t00f5g8.js → credential-75m27ksb.js} +13 -13
- package/dist/chunks/{aisdk-native-7bmhse3q.js → credential-7bmhse3q.js} +1 -1
- package/dist/chunks/{aisdk-native-c0gpe9ny.js → credential-7d6d5frt.js} +21 -21
- package/dist/chunks/{aisdk-native-17e0j5hh.js → credential-7g2rjez8.js} +32 -32
- package/dist/chunks/{aisdk-native-gh7jvxbs.js → credential-7k39p2e0.js} +18 -7
- package/dist/chunks/{aisdk-native-ba07h9gm.js → credential-7w99qc9d.js} +3 -3
- package/dist/chunks/{aisdk-native-afjydgk3.js → credential-7zpeh0yx.js} +4 -4
- package/dist/chunks/{aisdk-native-k8yw9c04.js → credential-83zgddb3.js} +16 -16
- package/dist/chunks/{aisdk-native-9247e0nt.js → credential-848zse2m.js} +13 -13
- package/dist/chunks/{aisdk-native-84txncab.js → credential-84txncab.js} +1 -1
- package/dist/chunks/{aisdk-native-nq7qbqzc.js → credential-84zt2byv.js} +9 -9
- package/dist/chunks/{aisdk-native-nnf4n0gk.js → credential-870z7kx6.js} +1 -1
- package/dist/chunks/{aisdk-native-fh08zsva.js → credential-87fx34tv.js} +14 -14
- package/dist/chunks/{aisdk-native-8d7r5vzw.js → credential-8d7r5vzw.js} +1 -1
- package/dist/chunks/{aisdk-native-9aatc3tx.js → credential-8pk9ts4g.js} +2 -2
- package/dist/chunks/{aisdk-native-p37cw4rj.js → credential-8v6pyhej.js} +8 -8
- package/dist/chunks/{aisdk-native-t6f2refz.js → credential-903keqrn.js} +5 -5
- package/dist/chunks/{aisdk-native-7x67azt1.js → credential-9185qsvj.js} +30 -30
- package/dist/chunks/{aisdk-native-dtm6yeg5.js → credential-9280n09q.js} +30 -30
- package/dist/chunks/{aisdk-native-94ek1h2f.js → credential-94ek1h2f.js} +2 -2
- package/dist/chunks/{aisdk-native-f4vmxzpk.js → credential-967s8825.js} +8 -8
- package/dist/chunks/{aisdk-native-zppxy86t.js → credential-9cw6d4xs.js} +6 -6
- package/dist/chunks/{aisdk-native-xdm9r5rj.js → credential-9dpvv6bw.js} +13 -13
- package/dist/chunks/{aisdk-native-0vq6119b.js → credential-9dvwwspr.js} +8 -8
- package/dist/chunks/{aisdk-native-f5gy8qwh.js → credential-9wncg805.js} +8 -8
- package/dist/chunks/{aisdk-native-f8kkz21q.js → credential-a2ep968a.js} +7 -7
- package/dist/chunks/{aisdk-native-espax8zg.js → credential-a2rpfkac.js} +4 -4
- package/dist/chunks/{aisdk-native-sjrgdr4g.js → credential-a6w30j4s.js} +9 -9
- package/dist/chunks/{aisdk-native-j21v2s2f.js → credential-a8sp9t89.js} +24 -24
- package/dist/chunks/{aisdk-native-aaet6srn.js → credential-aaet6srn.js} +2 -2
- package/dist/chunks/{aisdk-native-t1pd95j1.js → credential-aesn9jmf.js} +11 -11
- package/dist/chunks/{aisdk-native-qgjs3k4f.js → credential-ahewrzjd.js} +11 -11
- package/dist/chunks/{aisdk-native-jpqgd54a.js → credential-akcwy8f5.js} +34 -34
- package/dist/chunks/{aisdk-native-ybfspmrv.js → credential-amdc3z30.js} +3 -3
- package/dist/chunks/{aisdk-native-wypqa4nf.js → credential-amekftng.js} +27 -27
- package/dist/chunks/{aisdk-native-b6gygkdw.js → credential-b6gygkdw.js} +2 -2
- package/dist/chunks/{aisdk-native-dfe8djrf.js → credential-bct739vz.js} +4 -4
- package/dist/chunks/{aisdk-native-4a1s5xyh.js → credential-bddt2pqj.js} +18 -18
- package/dist/chunks/{aisdk-native-kp62pasf.js → credential-bgtqdj6f.js} +4 -4
- package/dist/chunks/{aisdk-native-pxxkxyew.js → credential-bhcpdcvk.js} +14 -14
- package/dist/chunks/{aisdk-native-f03465f2.js → credential-bkms2a7d.js} +70 -70
- package/dist/chunks/{aisdk-native-c20x7zz6.js → credential-bw8ezstw.js} +4 -4
- package/dist/chunks/{aisdk-native-8awv1e0a.js → credential-c0kxmb28.js} +33 -33
- package/dist/chunks/{aisdk-native-c6yg3w90.js → credential-c6805mng.js} +18 -18
- package/dist/chunks/{aisdk-native-cpneeje0.js → credential-c765mh8b.js} +8 -8
- package/dist/chunks/{aisdk-native-1z2g9c4c.js → credential-c9wvx4hd.js} +7 -7
- package/dist/chunks/{aisdk-native-4sy8y92h.js → credential-cbgww8ce.js} +26 -26
- package/dist/chunks/{aisdk-native-ckecvw8r.js → credential-ckecvw8r.js} +2 -2
- package/dist/chunks/{aisdk-native-td6gx2rc.js → credential-cqq7jq20.js} +6 -6
- package/dist/chunks/{aisdk-native-3cwb9jzf.js → credential-ctz7jbry.js} +8 -8
- package/dist/chunks/{aisdk-native-vdev3wvd.js → credential-czw2gks2.js} +26 -26
- package/dist/chunks/{aisdk-native-z0y4zhp9.js → credential-d3954t4j.js} +3 -3
- package/dist/chunks/{aisdk-native-xkntkrq7.js → credential-dmqcgk4z.js} +5 -5
- package/dist/chunks/{aisdk-native-dnxkq42g.js → credential-dnxkq42g.js} +1 -1
- package/dist/chunks/{aisdk-native-dpkg50ah.js → credential-dpkg50ah.js} +1 -1
- package/dist/chunks/{aisdk-native-zf2fkhr3.js → credential-dq8a20as.js} +6 -6
- package/dist/chunks/{aisdk-native-qqeeq2t9.js → credential-drwq78ky.js} +7 -7
- package/dist/chunks/{aisdk-native-7fd5enf9.js → credential-dsa8rbxc.js} +10 -10
- package/dist/chunks/{aisdk-native-mjncxbbh.js → credential-dwvzh0g2.js} +4 -4
- package/dist/chunks/{aisdk-native-5c06p07r.js → credential-dyc80tht.js} +52 -52
- package/dist/chunks/{aisdk-native-mhkd125f.js → credential-e3wq1ttc.js} +14 -14
- package/dist/chunks/{aisdk-native-rtathh62.js → credential-e7710hd6.js} +8 -8
- package/dist/chunks/{aisdk-native-ecfe7b91.js → credential-ecfe7b91.js} +2 -2
- package/dist/chunks/{aisdk-native-rk9nqv3p.js → credential-eeqn3rht.js} +23 -23
- package/dist/chunks/{aisdk-native-ef5x83kb.js → credential-ef5x83kb.js} +1 -1
- package/dist/chunks/{aisdk-native-wm4v9mea.js → credential-egrah4t7.js} +17 -17
- package/dist/chunks/{aisdk-native-etq0c3wd.js → credential-etq0c3wd.js} +1 -1
- package/dist/chunks/{aisdk-native-wp86rkxd.js → credential-ex4azxym.js} +13 -13
- package/dist/chunks/{aisdk-native-4z58m4b4.js → credential-f29mbr7f.js} +4 -4
- package/dist/chunks/{aisdk-native-1acjjqhc.js → credential-f2n192rq.js} +4 -4
- package/dist/chunks/{aisdk-native-c844ab8m.js → credential-f75ercvt.js} +34 -34
- package/dist/chunks/{aisdk-native-wh90prpc.js → credential-fpgps28a.js} +43 -43
- package/dist/chunks/{aisdk-native-7437j9y2.js → credential-fqbhfcjp.js} +57 -41
- package/dist/chunks/{aisdk-native-xeep1xdm.js → credential-g119zzvp.js} +7 -7
- package/dist/chunks/{aisdk-native-6kg3ayxw.js → credential-g3j0qegx.js} +9 -9
- package/dist/chunks/{aisdk-native-ew2anafc.js → credential-g50tfs4x.js} +1 -1
- package/dist/chunks/{aisdk-native-gd4qta3r.js → credential-gd4qta3r.js} +1 -1
- package/dist/chunks/{aisdk-native-x7egftm9.js → credential-gk3mvatd.js} +3 -3
- package/dist/chunks/{aisdk-native-krpjqfvd.js → credential-gkh9q6r5.js} +5 -5
- package/dist/chunks/{aisdk-native-gv6a8nnw.js → credential-gv6a8nnw.js} +2 -2
- package/dist/chunks/{aisdk-native-5x8es728.js → credential-gz65dbkz.js} +2 -2
- package/dist/chunks/{aisdk-native-vd7rzxqf.js → credential-h6b02349.js} +5 -5
- package/dist/chunks/{aisdk-native-h6vf3j39.js → credential-h6vf3j39.js} +1 -1
- package/dist/chunks/{aisdk-native-7mz56eyz.js → credential-ha8wqv5x.js} +6 -6
- package/dist/chunks/{aisdk-native-atxbr25e.js → credential-hf2z2aq1.js} +6 -6
- package/dist/chunks/{aisdk-native-sdjkvssx.js → credential-hfaq9h6q.js} +23 -23
- package/dist/chunks/{aisdk-native-bn54mkb8.js → credential-hmrpbdxr.js} +3 -3
- package/dist/chunks/{aisdk-native-06x8he3q.js → credential-hn57h045.js} +4 -4
- package/dist/chunks/{aisdk-native-yzkzz6ns.js → credential-hs3bg854.js} +293 -293
- package/dist/chunks/{aisdk-native-29xwbn4a.js → credential-hyaya0nw.js} +16 -16
- package/dist/chunks/{aisdk-native-yzawhh23.js → credential-j29ewdw0.js} +2 -2
- package/dist/chunks/{aisdk-native-wnc6a660.js → credential-j3j90dte.js} +9 -9
- package/dist/chunks/{aisdk-native-j56e64zr.js → credential-j56e64zr.js} +1 -1
- package/dist/chunks/{aisdk-native-cf9bb7y8.js → credential-j8dtq6y3.js} +17 -17
- package/dist/chunks/{aisdk-native-q9knr1re.js → credential-ja41pfcf.js} +24 -24
- package/dist/chunks/{aisdk-native-xkdj0pjn.js → credential-je1n680z.js} +22 -22
- package/dist/chunks/{aisdk-native-hcz3zddy.js → credential-jv01nqvq.js} +5 -5
- package/dist/chunks/{aisdk-native-t019fabm.js → credential-jy3q8cv1.js} +11 -11
- package/dist/chunks/{aisdk-native-xdk9p2qn.js → credential-k2h4r4s0.js} +21 -21
- package/dist/chunks/{aisdk-native-nzks3jc8.js → credential-k3c624dm.js} +3 -3
- package/dist/chunks/{aisdk-native-3a7dksjv.js → credential-k3d00yp3.js} +10 -10
- package/dist/chunks/{aisdk-native-0d3d8spx.js → credential-kct9520v.js} +12 -12
- package/dist/chunks/{aisdk-native-5m07pdv7.js → credential-kgzt0mfa.js} +1 -1
- package/dist/chunks/{aisdk-native-c31j5ydx.js → credential-khf3ms8d.js} +10 -10
- package/dist/chunks/{aisdk-native-wj76ss2k.js → credential-kkp8zx71.js} +4 -4
- package/dist/chunks/{aisdk-native-657vt717.js → credential-kr5r2322.js} +15 -15
- package/dist/chunks/{aisdk-native-m3fdjcah.js → credential-m3fdjcah.js} +1 -1
- package/dist/chunks/{aisdk-native-bde70psr.js → credential-m7e3szd5.js} +13 -13
- package/dist/chunks/{aisdk-native-p2v5dr39.js → credential-m9f54dp4.js} +14 -14
- package/dist/chunks/{aisdk-native-m9w0rfyh.js → credential-m9w0rfyh.js} +1 -1
- package/dist/chunks/{aisdk-native-72y5e65x.js → credential-mbgsk580.js} +21 -21
- package/dist/chunks/{aisdk-native-v87pm9gr.js → credential-mfdc5s1p.js} +39 -39
- package/dist/chunks/{aisdk-native-4vhbetej.js → credential-mqvz5ney.js} +9 -9
- package/dist/chunks/{aisdk-native-5xpznt2d.js → credential-mvksx64m.js} +4 -4
- package/dist/chunks/{aisdk-native-jgn7cw63.js → credential-mvqxaapf.js} +11 -11
- package/dist/chunks/{aisdk-native-0mhx3f02.js → credential-mx39dx40.js} +8 -8
- package/dist/chunks/{aisdk-native-tnq3cfn3.js → credential-myx5pz82.js} +20 -20
- package/dist/chunks/{aisdk-native-zzsa0rh3.js → credential-n34gk992.js} +3 -3
- package/dist/chunks/{aisdk-native-3yqz3mta.js → credential-n88a24bz.js} +30 -30
- package/dist/chunks/{aisdk-native-s6pezbb9.js → credential-nh77mpes.js} +8 -8
- package/dist/chunks/{aisdk-native-8kv2d95e.js → credential-nk7ac7sg.js} +11 -11
- package/dist/chunks/{aisdk-native-6htdpwn5.js → credential-nmfttajv.js} +29 -29
- package/dist/chunks/{aisdk-native-cmkj70ft.js → credential-nng2ktcm.js} +2 -2
- package/dist/chunks/{aisdk-native-k3k6gs06.js → credential-nrqbvhrj.js} +15 -15
- package/dist/chunks/{aisdk-native-9h1vqzp7.js → credential-nye6styw.js} +24 -24
- package/dist/chunks/{aisdk-native-3cz8rj72.js → credential-p44d8wdy.js} +5 -5
- package/dist/chunks/{aisdk-native-efv4s0g0.js → credential-pf2hb43r.js} +4 -4
- package/dist/chunks/{aisdk-native-1ptkbb7a.js → credential-pfcz9sqy.js} +3 -3
- package/dist/chunks/{aisdk-native-8nby022e.js → credential-pjtv0hnk.js} +11 -11
- package/dist/chunks/{aisdk-native-pjvnvgmy.js → credential-pjvnvgmy.js} +1 -1
- package/dist/chunks/{aisdk-native-pknna89w.js → credential-pknna89w.js} +1 -1
- package/dist/chunks/{aisdk-native-e2ykz9dv.js → credential-py16vch9.js} +33 -33
- package/dist/chunks/{aisdk-native-9ac5de0v.js → credential-q51p3dvy.js} +14 -14
- package/dist/chunks/{aisdk-native-q2272rxf.js → credential-q5g2qkjb.js} +48 -48
- package/dist/chunks/{aisdk-native-h5hnsndd.js → credential-q811ynmw.js} +33 -33
- package/dist/chunks/{aisdk-native-twm79v17.js → credential-qdqrq8q9.js} +3 -3
- package/dist/chunks/{aisdk-native-nym8jgc9.js → credential-qf2zcmdt.js} +12 -12
- package/dist/chunks/{aisdk-native-fcrkznn8.js → credential-qgn6gcr1.js} +5 -5
- package/dist/chunks/{aisdk-native-ra9xc2hm.js → credential-qkenf8ew.js} +11 -11
- package/dist/chunks/{aisdk-native-6aanve6e.js → credential-qp35zjhz.js} +21 -21
- package/dist/chunks/{aisdk-native-xc272peh.js → credential-qqc4m8yb.js} +11 -11
- package/dist/chunks/{aisdk-native-qsdy395h.js → credential-qsdy395h.js} +1 -1
- package/dist/chunks/{aisdk-native-mvfsc1pv.js → credential-r5x6zcsm.js} +3 -3
- package/dist/chunks/{aisdk-native-xb02k0wq.js → credential-ratrq7cm.js} +4 -4
- package/dist/chunks/{aisdk-native-8dymf5hq.js → credential-rcv1z36m.js} +12 -12
- package/dist/chunks/{aisdk-native-7zdz3ftv.js → credential-rd6b7xd8.js} +6 -6
- package/dist/chunks/{aisdk-native-rdw6cm16.js → credential-rdw6cm16.js} +1 -1
- package/dist/chunks/{aisdk-native-qpqne8fb.js → credential-res4mv3n.js} +23 -23
- package/dist/chunks/{aisdk-native-vbh50phm.js → credential-rghjtt8s.js} +9 -9
- package/dist/chunks/{aisdk-native-s8d7rejh.js → credential-rhjbct0v.js} +4 -4
- package/dist/chunks/{aisdk-native-3556dn8t.js → credential-rk1r2hx8.js} +1 -1
- package/dist/chunks/{aisdk-native-jws6fkes.js → credential-rkprpv83.js} +8 -8
- package/dist/chunks/{aisdk-native-dy3rzv9y.js → credential-rmg27sy1.js} +10 -10
- package/dist/chunks/{aisdk-native-qpwtejxd.js → credential-rpwk60st.js} +26 -26
- package/dist/chunks/{aisdk-native-kx1zfnsr.js → credential-rv46xap4.js} +83 -83
- package/dist/chunks/{aisdk-native-w15qa8j6.js → credential-rz106t8w.js} +4 -4
- package/dist/chunks/{aisdk-native-f11hcxm0.js → credential-s1g44hj8.js} +49 -49
- package/dist/chunks/{aisdk-native-rhwydeb0.js → credential-scsjx6k2.js} +18 -18
- package/dist/chunks/{aisdk-native-0h99andy.js → credential-sffmc9nc.js} +129 -129
- package/dist/chunks/{aisdk-native-prq7hedt.js → credential-sk2hk6tq.js} +9 -9
- package/dist/chunks/{aisdk-native-5frapqk8.js → credential-sp64v9sw.js} +23 -23
- package/dist/chunks/{aisdk-native-50s8ayqm.js → credential-spsefvqx.js} +17 -17
- package/dist/chunks/{aisdk-native-3xg94c5e.js → credential-ssecb20m.js} +15 -15
- package/dist/chunks/{aisdk-native-cxah0awz.js → credential-t1pf2w0e.js} +19 -19
- package/dist/chunks/{aisdk-native-tazgh4e4.js → credential-tazgh4e4.js} +1 -1
- package/dist/chunks/{aisdk-native-tcezcvh9.js → credential-tcezcvh9.js} +1 -1
- package/dist/chunks/{aisdk-native-tdstcens.js → credential-tdstcens.js} +1 -1
- package/dist/chunks/{aisdk-native-hds1x23c.js → credential-tdy047wr.js} +23 -23
- package/dist/chunks/{aisdk-native-hr8qwxdy.js → credential-tm8tq2ex.js} +15 -15
- package/dist/chunks/{aisdk-native-2f0bjgcj.js → credential-tn0aqsam.js} +5 -5
- package/dist/chunks/{aisdk-native-jnpwbha6.js → credential-tq4jq2s5.js} +40 -40
- package/dist/chunks/{aisdk-native-tvtrv512.js → credential-tvtrv512.js} +1 -1
- package/dist/chunks/{aisdk-native-wkyac6qb.js → credential-tz6ja4zj.js} +24 -24
- package/dist/chunks/{aisdk-native-692fkdxz.js → credential-v512vev1.js} +1 -1
- package/dist/chunks/{aisdk-native-d2f25m2m.js → credential-v7hfm648.js} +82 -82
- package/dist/chunks/{aisdk-native-1xey9z07.js → credential-ve08z9fz.js} +45 -45
- package/dist/chunks/{aisdk-native-nahyrm1b.js → credential-vedgbhsv.js} +7 -7
- package/dist/chunks/{aisdk-native-veqvce7d.js → credential-veqvce7d.js} +1 -1
- package/dist/chunks/{aisdk-native-r57fsmwj.js → credential-vp5pmtp7.js} +26 -26
- package/dist/chunks/{aisdk-native-31excbnn.js → credential-vpezmzvj.js} +14 -14
- package/dist/chunks/{aisdk-native-vzcthcp8.js → credential-vzcthcp8.js} +1 -1
- package/dist/chunks/{aisdk-native-vzs5sf6e.js → credential-vzs5sf6e.js} +1 -1
- package/dist/chunks/{aisdk-native-vv5gneng.js → credential-w1nx6pka.js} +11 -11
- package/dist/chunks/{aisdk-native-w3wsvvr9.js → credential-w3wsvvr9.js} +1 -1
- package/dist/chunks/{aisdk-native-fk2kvty7.js → credential-wc3dm7y9.js} +17 -17
- package/dist/chunks/{aisdk-native-r2dq202m.js → credential-wck86893.js} +18 -18
- package/dist/chunks/{aisdk-native-wd3x2cqz.js → credential-wd3x2cqz.js} +2 -2
- package/dist/chunks/{aisdk-native-wd87259q.js → credential-wd87259q.js} +1 -1
- package/dist/chunks/{aisdk-native-7v5ymxhr.js → credential-ws7geqk2.js} +298 -298
- package/dist/chunks/{aisdk-native-3dqry7kw.js → credential-wvqbabj3.js} +11 -11
- package/dist/chunks/{aisdk-native-d5xmbf4y.js → credential-wye7wwv1.js} +24 -24
- package/dist/chunks/{aisdk-native-s31che8z.js → credential-wzvva4fg.js} +15 -15
- package/dist/chunks/{aisdk-native-x1ezjp6w.js → credential-x1ezjp6w.js} +1 -1
- package/dist/chunks/{aisdk-native-88x8t2r9.js → credential-x5nwq7sz.js} +33 -33
- package/dist/chunks/{aisdk-native-z55bdvse.js → credential-x8rbqhnh.js} +8 -8
- package/dist/chunks/{aisdk-native-sf785y9k.js → credential-xfqdq6f4.js} +8 -8
- package/dist/chunks/{aisdk-native-3fcjbxc2.js → credential-xh5d7yn4.js} +8 -8
- package/dist/chunks/{aisdk-native-df2tmfns.js → credential-xsxzmn3v.js} +6 -6
- package/dist/chunks/{aisdk-native-vgab6tsr.js → credential-xtfr2a7s.js} +18 -18
- package/dist/chunks/{aisdk-native-qms7kmm7.js → credential-xtshptfy.js} +8 -8
- package/dist/chunks/{aisdk-native-5yb7zqem.js → credential-xyx26n42.js} +1 -1
- package/dist/chunks/{aisdk-native-y1fvbwt7.js → credential-y1fvbwt7.js} +1 -1
- package/dist/chunks/{aisdk-native-vxwf7v1f.js → credential-yc6cck3c.js} +20 -20
- package/dist/chunks/{aisdk-native-e3r2np0q.js → credential-yg076965.js} +28 -28
- package/dist/chunks/{aisdk-native-0s4hr2b5.js → credential-yn9wwxkv.js} +14 -14
- package/dist/chunks/{aisdk-native-yrhqyw5v.js → credential-yrhqyw5v.js} +1 -1
- package/dist/chunks/credential-yrmjxgh6.js +26 -0
- package/dist/chunks/{aisdk-native-s4enseaf.js → credential-yrznvahk.js} +2 -2
- package/dist/chunks/{aisdk-native-132kgeq8.js → credential-yweces30.js} +36 -36
- package/dist/chunks/{aisdk-native-z0wmmdp1.js → credential-z01xxs7v.js} +2 -2
- package/dist/chunks/{aisdk-native-z07pqspn.js → credential-z07pqspn.js} +3 -3
- package/dist/chunks/{aisdk-native-z0bkrqjs.js → credential-z0bkrqjs.js} +1 -1
- package/dist/chunks/{aisdk-native-29x78va6.js → credential-z63w68vq.js} +6 -6
- package/dist/chunks/{aisdk-native-zeh9ct20.js → credential-zeh9ct20.js} +2 -2
- package/dist/chunks/{aisdk-native-hcvya548.js → credential-zhpm82pg.js} +18 -18
- package/dist/chunks/{aisdk-native-72zbchhe.js → credential-zjan7maf.js} +24 -24
- package/dist/chunks/{aisdk-native-bd3kwf2e.js → credential-zjvnwc4k.js} +13 -13
- package/dist/chunks/{aisdk-native-bh68jfm4.js → credential-zp72hf0n.js} +12 -12
- package/dist/chunks/{aisdk-native-zr2ceqn5.js → credential-zr2ceqn5.js} +1 -1
- package/dist/chunks/credential-zsr1emfb.js +252 -0
- package/dist/chunks/{aisdk-native-zxq2ej10.js → credential-zxq2ej10.js} +1 -1
- package/dist/chunks/{aisdk-native-t8150vxz.js → credential-zya4esrg.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +93 -93
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +4 -4
- package/dist/filesystem/location-watcher.js +228 -228
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +98 -98
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +81 -81
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +113 -95
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +94 -94
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +91 -91
- package/dist/plugin/warming.js +119 -119
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +93 -93
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +87 -87
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +114 -114
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/types/mcp/client.d.ts +2 -2
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +87 -87
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/aisdk-native-3wksq9jx.js +0 -252
- package/dist/chunks/aisdk-native-ht5y0zrb.js +0 -18
- package/dist/chunks/aisdk-native-jmegf2wy.js +0 -26
- /package/dist/chunks/{aisdk-native-0qkdqm5v.js → credential-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{aisdk-native-0zkw76rk.js → credential-0zkw76rk.js} +0 -0
- /package/dist/chunks/{aisdk-native-17cy0kzp.js → credential-17cy0kzp.js} +0 -0
- /package/dist/chunks/{aisdk-native-1cnp2v09.js → credential-1cnp2v09.js} +0 -0
- /package/dist/chunks/{aisdk-native-1kg9ymc8.js → credential-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{aisdk-native-24dcb14g.js → credential-24dcb14g.js} +0 -0
- /package/dist/chunks/{aisdk-native-2710q6r3.js → credential-2710q6r3.js} +0 -0
- /package/dist/chunks/{aisdk-native-2axfhc9x.js → credential-2axfhc9x.js} +0 -0
- /package/dist/chunks/{aisdk-native-2c3vjs8z.js → credential-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{aisdk-native-34c7v6d4.js → credential-34c7v6d4.js} +0 -0
- /package/dist/chunks/{aisdk-native-359p4xyc.js → credential-359p4xyc.js} +0 -0
- /package/dist/chunks/{aisdk-native-3asan66x.js → credential-3asan66x.js} +0 -0
- /package/dist/chunks/{aisdk-native-3v8g72cx.js → credential-3v8g72cx.js} +0 -0
- /package/dist/chunks/{aisdk-native-3w5fmr99.js → credential-3w5fmr99.js} +0 -0
- /package/dist/chunks/{aisdk-native-3wcehsnq.js → credential-3wcehsnq.js} +0 -0
- /package/dist/chunks/{aisdk-native-43n2bw4t.js → credential-43n2bw4t.js} +0 -0
- /package/dist/chunks/{aisdk-native-4knz6hnm.js → credential-4knz6hnm.js} +0 -0
- /package/dist/chunks/{aisdk-native-4vcrnpx2.js → credential-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{aisdk-native-4y7fprxs.js → credential-4y7fprxs.js} +0 -0
- /package/dist/chunks/{aisdk-native-53557ph1.js → credential-53557ph1.js} +0 -0
- /package/dist/chunks/{aisdk-native-550bvhaj.js → credential-550bvhaj.js} +0 -0
- /package/dist/chunks/{aisdk-native-6prwharc.js → credential-6prwharc.js} +0 -0
- /package/dist/chunks/{aisdk-native-7akdwqpd.js → credential-7akdwqpd.js} +0 -0
- /package/dist/chunks/{aisdk-native-7m9af43g.js → credential-7m9af43g.js} +0 -0
- /package/dist/chunks/{aisdk-native-822emrt2.js → credential-822emrt2.js} +0 -0
- /package/dist/chunks/{aisdk-native-88xbtdfr.js → credential-88xbtdfr.js} +0 -0
- /package/dist/chunks/{aisdk-native-8n3pysct.js → credential-8n3pysct.js} +0 -0
- /package/dist/chunks/{aisdk-native-8wj87zfr.js → credential-8wj87zfr.js} +0 -0
- /package/dist/chunks/{aisdk-native-922hggd3.js → credential-922hggd3.js} +0 -0
- /package/dist/chunks/{aisdk-native-9a4afbnw.js → credential-9a4afbnw.js} +0 -0
- /package/dist/chunks/{aisdk-native-9rqn6x4v.js → credential-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{aisdk-native-a6k6eb26.js → credential-a6k6eb26.js} +0 -0
- /package/dist/chunks/{aisdk-native-af5trqkr.js → credential-af5trqkr.js} +0 -0
- /package/dist/chunks/{aisdk-native-afrmfg78.js → credential-afrmfg78.js} +0 -0
- /package/dist/chunks/{aisdk-native-aqzs7mqg.js → credential-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{aisdk-native-atq7p7m5.js → credential-atq7p7m5.js} +0 -0
- /package/dist/chunks/{aisdk-native-bkyjaxrp.js → credential-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{aisdk-native-bmr6ed5q.js → credential-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{aisdk-native-cf4snx6d.js → credential-cf4snx6d.js} +0 -0
- /package/dist/chunks/{aisdk-native-cvy3z8tj.js → credential-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{aisdk-native-d9fn303g.js → credential-d9fn303g.js} +0 -0
- /package/dist/chunks/{aisdk-native-d9jj8t3e.js → credential-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{aisdk-native-dajrwvna.js → credential-dajrwvna.js} +0 -0
- /package/dist/chunks/{aisdk-native-dap0rakb.js → credential-dap0rakb.js} +0 -0
- /package/dist/chunks/{aisdk-native-df08tz66.js → credential-df08tz66.js} +0 -0
- /package/dist/chunks/{aisdk-native-dy18nga0.js → credential-dy18nga0.js} +0 -0
- /package/dist/chunks/{aisdk-native-e5kj55wp.js → credential-e5kj55wp.js} +0 -0
- /package/dist/chunks/{aisdk-native-e73j6tqm.js → credential-e73j6tqm.js} +0 -0
- /package/dist/chunks/{aisdk-native-ec1grn59.js → credential-ec1grn59.js} +0 -0
- /package/dist/chunks/{aisdk-native-eh3zwz77.js → credential-eh3zwz77.js} +0 -0
- /package/dist/chunks/{aisdk-native-emrn6kk6.js → credential-emrn6kk6.js} +0 -0
- /package/dist/chunks/{aisdk-native-f0mxakyp.js → credential-f0mxakyp.js} +0 -0
- /package/dist/chunks/{aisdk-native-f6n9ztr4.js → credential-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{aisdk-native-faypxj3z.js → credential-faypxj3z.js} +0 -0
- /package/dist/chunks/{aisdk-native-fd410y7t.js → credential-fd410y7t.js} +0 -0
- /package/dist/chunks/{aisdk-native-fxgpk5d8.js → credential-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{aisdk-native-g4wezp1m.js → credential-g4wezp1m.js} +0 -0
- /package/dist/chunks/{aisdk-native-g86h250q.js → credential-g86h250q.js} +0 -0
- /package/dist/chunks/{aisdk-native-gebd4c9n.js → credential-gebd4c9n.js} +0 -0
- /package/dist/chunks/{aisdk-native-gftt206x.js → credential-gftt206x.js} +0 -0
- /package/dist/chunks/{aisdk-native-hjbc5kem.js → credential-hjbc5kem.js} +0 -0
- /package/dist/chunks/{aisdk-native-hk9envan.js → credential-hk9envan.js} +0 -0
- /package/dist/chunks/{aisdk-native-j2ntwpah.js → credential-j2ntwpah.js} +0 -0
- /package/dist/chunks/{aisdk-native-j5zkgpj8.js → credential-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{aisdk-native-jjkms2e6.js → credential-jjkms2e6.js} +0 -0
- /package/dist/chunks/{aisdk-native-jr7sbwjy.js → credential-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{aisdk-native-jwfs4k6c.js → credential-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{aisdk-native-jzg6c2d5.js → credential-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{aisdk-native-mp448xyj.js → credential-mp448xyj.js} +0 -0
- /package/dist/chunks/{aisdk-native-msx8hqn2.js → credential-msx8hqn2.js} +0 -0
- /package/dist/chunks/{aisdk-native-n05xt0ee.js → credential-n05xt0ee.js} +0 -0
- /package/dist/chunks/{aisdk-native-n3j8tn72.js → credential-n3j8tn72.js} +0 -0
- /package/dist/chunks/{aisdk-native-njntx4h6.js → credential-njntx4h6.js} +0 -0
- /package/dist/chunks/{aisdk-native-q3sfg36h.js → credential-q3sfg36h.js} +0 -0
- /package/dist/chunks/{aisdk-native-q74kybfr.js → credential-q74kybfr.js} +0 -0
- /package/dist/chunks/{aisdk-native-qaymkmh1.js → credential-qaymkmh1.js} +0 -0
- /package/dist/chunks/{aisdk-native-qb87gjwd.js → credential-qb87gjwd.js} +0 -0
- /package/dist/chunks/{aisdk-native-qfa1cgps.js → credential-qfa1cgps.js} +0 -0
- /package/dist/chunks/{aisdk-native-qg3g05ea.js → credential-qg3g05ea.js} +0 -0
- /package/dist/chunks/{aisdk-native-qrg20bc0.js → credential-qrg20bc0.js} +0 -0
- /package/dist/chunks/{aisdk-native-rcb2kzg1.js → credential-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{aisdk-native-sdp7kfr6.js → credential-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{aisdk-native-sk3qaz4a.js → credential-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{aisdk-native-ssg3fenm.js → credential-ssg3fenm.js} +0 -0
- /package/dist/chunks/{aisdk-native-w803qqfp.js → credential-w803qqfp.js} +0 -0
- /package/dist/chunks/{aisdk-native-wc3fc9cn.js → credential-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{aisdk-native-wer8tq1h.js → credential-wer8tq1h.js} +0 -0
- /package/dist/chunks/{aisdk-native-wtztk69x.js → credential-wtztk69x.js} +0 -0
- /package/dist/chunks/{aisdk-native-x0ckcb58.js → credential-x0ckcb58.js} +0 -0
- /package/dist/chunks/{aisdk-native-x61499pn.js → credential-x61499pn.js} +0 -0
- /package/dist/chunks/{aisdk-native-y44na4kk.js → credential-y44na4kk.js} +0 -0
- /package/dist/chunks/{aisdk-native-y8cydn3q.js → credential-y8cydn3q.js} +0 -0
- /package/dist/chunks/{aisdk-native-y8f7s663.js → credential-y8f7s663.js} +0 -0
- /package/dist/chunks/{aisdk-native-ygaqb7jw.js → credential-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{aisdk-native-ym463w8f.js → credential-ym463w8f.js} +0 -0
- /package/dist/chunks/{aisdk-native-z9919s4g.js → credential-z9919s4g.js} +0 -0
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
4
|
node87
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./credential-zya4esrg.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service70,
|
|
8
|
+
node74
|
|
9
|
+
} from "./credential-rmg27sy1.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./credential-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event12,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service59,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node61,
|
|
26
|
+
resolve: () => resolve2
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service59 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event12 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
56
56
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
57
57
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var resolve2 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
60
60
|
const manifest = yield* inspect2(input.origin);
|
|
61
61
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
62
62
|
});
|
|
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
80
|
+
const kv = yield* Service70;
|
|
81
81
|
const bus = yield* Service83;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event12.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service59.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event12.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event12.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node61 = makeGlobalNode({ service: Service59, layer, deps: [httpClient, node74, node87] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service59, Event12, inspect2, resolve2, node61, exports_wellknown };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./credential-hmrpbdxr.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./credential-zya4esrg.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./credential-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./credential-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./credential-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
23
|
+
Event: () => Event20,
|
|
24
|
+
ID: () => ID16,
|
|
25
|
+
Info: () => Info31,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service79,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node83
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID16 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event20 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info31 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID16,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service79 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service84).db;
|
|
55
55
|
const bus = yield* Service83;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info31({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service79.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id: input.id ??
|
|
79
|
+
const credential = new Info31({
|
|
80
|
+
id: input.id ?? ID16.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -108,9 +108,9 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
108
108
|
type: credential.value.type,
|
|
109
109
|
active: activated
|
|
110
110
|
});
|
|
111
|
-
yield* bus.publish(
|
|
111
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
112
112
|
if (activated)
|
|
113
|
-
yield* bus.publish(
|
|
113
|
+
yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
114
114
|
return credential;
|
|
115
115
|
}),
|
|
116
116
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
130
130
|
})), Effect.orDie);
|
|
131
131
|
if (integrationID) {
|
|
132
132
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
133
|
-
yield* bus.publish(
|
|
133
|
+
yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
|
|
134
134
|
}
|
|
135
135
|
}),
|
|
136
136
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -162,7 +162,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
162
162
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
163
163
|
});
|
|
164
164
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
165
|
-
yield* bus.publish(
|
|
165
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
166
166
|
}),
|
|
167
167
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
168
168
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -195,12 +195,12 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
195
195
|
active: removed.switched,
|
|
196
196
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
197
197
|
});
|
|
198
|
-
yield* bus.publish(
|
|
198
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
199
199
|
if (removed.switched)
|
|
200
|
-
yield* bus.publish(
|
|
200
|
+
yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
201
201
|
})
|
|
202
202
|
});
|
|
203
203
|
}));
|
|
204
|
-
var
|
|
204
|
+
var node83 = makeGlobalNode({ service: Service79, layer, deps: [node88, node87] });
|
|
205
205
|
|
|
206
|
-
export {
|
|
206
|
+
export { ID16, OAuth3, Key4, Value2, Event20, Info31, Service79, node83, exports_credential };
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./credential-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service61,
|
|
8
|
+
node63
|
|
9
|
+
} from "./credential-qp35zjhz.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./credential-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./credential-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service18,
|
|
24
|
+
node: () => node20
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service18 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
63
|
var failure = (message, cause) => new Error2({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service61;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
93
|
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service18.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node20 = makeLocationNode({ service: Service18, layer, deps: [node63, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export { Error2, InvalidPatternError2,
|
|
180
|
+
export { Error2, InvalidPatternError2, Service18, node20, exports_ripgrep };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin37
|
|
3
|
+
} from "./credential-e7710hd6.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin38
|
|
6
|
+
} from "./credential-6xsqxv1p.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin40
|
|
9
|
+
} from "./credential-9cw6d4xs.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin41
|
|
12
|
+
} from "./credential-5jbme0dy.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin36
|
|
15
|
+
} from "./credential-mqvz5ney.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin37,
|
|
20
|
+
Plugin38,
|
|
21
|
+
Plugin40,
|
|
22
|
+
Plugin41,
|
|
23
|
+
Plugin36
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./credential-hmrpbdxr.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./credential-zya4esrg.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service47,
|
|
11
|
+
node49
|
|
12
|
+
} from "./credential-spsefvqx.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service40,
|
|
15
|
+
node42
|
|
16
|
+
} from "./credential-3ppptnan.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./credential-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make15
|
|
22
|
+
} from "./credential-f2n192rq.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service38
|
|
26
|
+
} from "./credential-hn57h045.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service66,
|
|
29
|
+
node69
|
|
30
|
+
} from "./credential-0z9fggxj.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./credential-47h7tx69.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./credential-3a86qk9h.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./credential-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service37,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
layer: () => layer15,
|
|
47
|
+
node: () => node40,
|
|
48
48
|
noopLayer: () => noopLayer3,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service37 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
62
|
+
var layer15 = Layer.effect(Service37, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service66;
|
|
64
|
+
const instances = yield* Service40;
|
|
65
65
|
const bus = yield* Service83;
|
|
66
|
-
const jobs = yield*
|
|
66
|
+
const jobs = yield* Service47;
|
|
67
67
|
const db = (yield* Service84).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -76,14 +76,14 @@ var layer16 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service38.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
83
83
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
84
84
|
});
|
|
85
85
|
});
|
|
86
|
-
const coordinator = yield*
|
|
86
|
+
const coordinator = yield* make15({
|
|
87
87
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
88
88
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
89
89
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -104,7 +104,7 @@ var layer16 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service37.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer16 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [
|
|
126
|
+
var node40 = makeGlobalNode({
|
|
127
|
+
service: Service37,
|
|
128
|
+
layer: layer15,
|
|
129
|
+
deps: [node69, node42, node87, node88, node49]
|
|
130
130
|
});
|
|
131
|
-
var noopLayer3 = Layer.succeed(
|
|
131
|
+
var noopLayer3 = Layer.succeed(Service37, Service37.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer3 = Layer.succeed(Service38, Service38.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service37, terminal2, layer15, node40, noopLayer3, exports_execution };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./credential-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./credential-a2ep968a.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./credential-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./credential-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./credential-wd3x2cqz.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NamedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-2axfhc9x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/error.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
ConfigErrorV1: () =>
|
|
9
|
+
var exports_error = {};
|
|
10
|
+
__export(exports_error, {
|
|
11
|
+
ConfigErrorV1: () => exports_error,
|
|
12
12
|
DirectoryTypoError: () => DirectoryTypoError2,
|
|
13
13
|
FrontmatterError: () => FrontmatterError2,
|
|
14
14
|
InvalidError: () => InvalidError2,
|
|
@@ -43,4 +43,4 @@ var RemoteAuthError2 = NamedError2.create("ConfigRemoteAuthError", {
|
|
|
43
43
|
remote: Schema.String
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2,
|
|
46
|
+
export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2, exports_error };
|