@opencode/core 0.0.0-dev-20360 → 0.0.0-dev-20362
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 +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{credential-vp5pmtp7.js → managed-policy-08fr3tgs.js} +18 -18
- package/dist/chunks/{credential-c6805mng.js → managed-policy-0d3j2ewb.js} +20 -20
- package/dist/chunks/{credential-0paq2nw3.js → managed-policy-0paq2nw3.js} +1 -1
- package/dist/chunks/{credential-2npzgc2q.js → managed-policy-0qp31s55.js} +3 -3
- package/dist/chunks/{credential-eeqn3rht.js → managed-policy-0svm36dj.js} +27 -27
- package/dist/chunks/{credential-04e1yqay.js → managed-policy-10jhvv7f.js} +20 -20
- package/dist/chunks/{credential-w1nx6pka.js → managed-policy-17t12sh1.js} +11 -11
- package/dist/chunks/{credential-wvqbabj3.js → managed-policy-1arysab4.js} +10 -10
- package/dist/chunks/{credential-1dazxqgg.js → managed-policy-1dazxqgg.js} +2 -2
- package/dist/chunks/{credential-xtshptfy.js → managed-policy-1gqkbp4w.js} +11 -11
- package/dist/chunks/{credential-5ytafwqr.js → managed-policy-1n6mmq6e.js} +44 -44
- package/dist/chunks/{credential-f29mbr7f.js → managed-policy-1rn5pcm9.js} +4 -4
- package/dist/chunks/{credential-rmg27sy1.js → managed-policy-1sxg4g47.js} +10 -10
- package/dist/chunks/{credential-n34gk992.js → managed-policy-1test7ey.js} +12 -12
- package/dist/chunks/{credential-qqc4m8yb.js → managed-policy-20rgjnyv.js} +14 -14
- package/dist/chunks/{credential-21r38tys.js → managed-policy-21r38tys.js} +1 -1
- package/dist/chunks/{credential-47h7tx69.js → managed-policy-23qe2xa5.js} +5 -5
- package/dist/chunks/{credential-xh5d7yn4.js → managed-policy-29qzs3cc.js} +8 -8
- package/dist/chunks/{credential-z63w68vq.js → managed-policy-29x78va6.js} +6 -6
- package/dist/chunks/{credential-2a5m3afh.js → managed-policy-2a5m3afh.js} +1 -1
- package/dist/chunks/{credential-cbgww8ce.js → managed-policy-2afe4ye3.js} +24 -24
- package/dist/chunks/{credential-wc3dm7y9.js → managed-policy-2bq8905m.js} +22 -22
- package/dist/chunks/{credential-amdc3z30.js → managed-policy-2jqk0rn5.js} +5 -5
- package/dist/chunks/{credential-c0kxmb28.js → managed-policy-2rbrs69q.js} +43 -43
- package/dist/chunks/{credential-56gdpj1q.js → managed-policy-33w4ejhs.js} +6 -6
- package/dist/chunks/{credential-967s8825.js → managed-policy-35fra6v4.js} +10 -10
- package/dist/chunks/{credential-pfcz9sqy.js → managed-policy-39a15p26.js} +5 -5
- package/dist/chunks/{credential-a2ep968a.js → managed-policy-3bz26n7f.js} +7 -7
- package/dist/chunks/{credential-nye6styw.js → managed-policy-3ceemb66.js} +20 -20
- package/dist/chunks/{credential-ve08z9fz.js → managed-policy-3e02zcs2.js} +45 -45
- package/dist/chunks/{credential-3fc6dm20.js → managed-policy-3fc6dm20.js} +1 -1
- package/dist/chunks/{credential-3hepkmqq.js → managed-policy-3hepkmqq.js} +1 -1
- package/dist/chunks/{credential-xyx26n42.js → managed-policy-3sgvx7s5.js} +3 -3
- package/dist/chunks/{credential-3smtnn6g.js → managed-policy-3smtnn6g.js} +1 -1
- package/dist/chunks/{credential-3tvqynh2.js → managed-policy-3tvqynh2.js} +1 -1
- package/dist/chunks/{credential-6xsqxv1p.js → managed-policy-3vt071x4.js} +9 -9
- package/dist/chunks/{credential-7d6d5frt.js → managed-policy-3wqtmk6r.js} +24 -24
- package/dist/chunks/{credential-3zsf4n22.js → managed-policy-3zsf4n22.js} +1 -1
- package/dist/chunks/{credential-qp35zjhz.js → managed-policy-419cber8.js} +11 -11
- package/dist/chunks/{credential-dq8a20as.js → managed-policy-45sq12k6.js} +11 -11
- package/dist/chunks/{credential-0ryd0fps.js → managed-policy-4a6jpjer.js} +5 -5
- package/dist/chunks/{credential-54ma36ye.js → managed-policy-54ma36ye.js} +1 -1
- package/dist/chunks/{credential-gz65dbkz.js → managed-policy-58x2308d.js} +4 -4
- package/dist/chunks/{credential-a8sp9t89.js → managed-policy-5cqfgvb4.js} +27 -27
- package/dist/chunks/{credential-5daktx2q.js → managed-policy-5daktx2q.js} +1 -1
- package/dist/chunks/{credential-2xwkyk0m.js → managed-policy-5e15319b.js} +5 -5
- package/dist/chunks/{credential-tq4jq2s5.js → managed-policy-5kz5d5f2.js} +43 -43
- package/dist/chunks/{credential-zjvnwc4k.js → managed-policy-5sfp98pg.js} +17 -17
- package/dist/chunks/{credential-5t3nmthw.js → managed-policy-5t3nmthw.js} +2 -2
- package/dist/chunks/{credential-83zgddb3.js → managed-policy-5vz90y44.js} +32 -32
- package/dist/chunks/{credential-k2h4r4s0.js → managed-policy-5wtwrezn.js} +21 -21
- package/dist/chunks/{credential-kct9520v.js → managed-policy-6558gdf6.js} +12 -12
- package/dist/chunks/{credential-669tq793.js → managed-policy-669tq793.js} +1 -1
- package/dist/chunks/managed-policy-6dyd0b7s.js +26 -0
- package/dist/chunks/{credential-m7e3szd5.js → managed-policy-6mm9h7e5.js} +15 -15
- package/dist/chunks/{credential-6msgmcgs.js → managed-policy-6msgmcgs.js} +1 -1
- package/dist/chunks/{credential-egrah4t7.js → managed-policy-6yytfbv7.js} +30 -30
- package/dist/chunks/{credential-wzvva4fg.js → managed-policy-71y9zwxs.js} +15 -15
- package/dist/chunks/{credential-yc6cck3c.js → managed-policy-73487zry.js} +20 -20
- package/dist/chunks/{credential-29qtweaw.js → managed-policy-753qp0k0.js} +24 -24
- package/dist/chunks/{credential-mx39dx40.js → managed-policy-76vnbhsf.js} +10 -10
- package/dist/chunks/{credential-848zse2m.js → managed-policy-7bdyz5qm.js} +16 -16
- package/dist/chunks/{credential-7bmhse3q.js → managed-policy-7bmhse3q.js} +1 -1
- package/dist/chunks/{credential-g119zzvp.js → managed-policy-7gxzyefe.js} +9 -9
- package/dist/chunks/{credential-zp72hf0n.js → managed-policy-7jzb6arw.js} +12 -12
- package/dist/chunks/{credential-xtfr2a7s.js → managed-policy-7qpc0b73.js} +20 -20
- package/dist/chunks/{credential-bhcpdcvk.js → managed-policy-7stgkpby.js} +16 -16
- package/dist/chunks/{credential-pf2hb43r.js → managed-policy-7yqjxrmz.js} +6 -6
- package/dist/chunks/{credential-d3954t4j.js → managed-policy-80gjvfqq.js} +5 -5
- package/dist/chunks/{credential-57ez7d0k.js → managed-policy-81swgkk7.js} +7 -7
- package/dist/chunks/{credential-84txncab.js → managed-policy-84txncab.js} +1 -1
- package/dist/chunks/{credential-0p9070wt.js → managed-policy-86ach597.js} +23 -23
- package/dist/chunks/{credential-hs3bg854.js → managed-policy-875prqq3.js} +30 -30
- package/dist/chunks/{credential-g50tfs4x.js → managed-policy-8bg0nwhm.js} +1 -1
- package/dist/chunks/{credential-8d7r5vzw.js → managed-policy-8d7r5vzw.js} +1 -1
- package/dist/chunks/{credential-6n88yxkj.js → managed-policy-8hgfhrm0.js} +11 -11
- package/dist/chunks/{credential-q811ynmw.js → managed-policy-8r8tnm27.js} +33 -33
- package/dist/chunks/{credential-rv46xap4.js → managed-policy-8rgs9ycy.js} +90 -90
- package/dist/chunks/{credential-94ek1h2f.js → managed-policy-94ek1h2f.js} +2 -2
- package/dist/chunks/{credential-kgzt0mfa.js → managed-policy-9d46tmcm.js} +3 -3
- package/dist/chunks/{credential-k3d00yp3.js → managed-policy-9rehz5xh.js} +10 -10
- package/dist/chunks/{credential-9dvwwspr.js → managed-policy-9z0adws0.js} +10 -10
- package/dist/chunks/{credential-nk7ac7sg.js → managed-policy-a64xdr2r.js} +11 -11
- package/dist/chunks/{credential-kkp8zx71.js → managed-policy-a89e0tac.js} +4 -4
- package/dist/chunks/{credential-aaet6srn.js → managed-policy-aaet6srn.js} +2 -2
- package/dist/chunks/{credential-hn57h045.js → managed-policy-ag4rn41e.js} +4 -4
- package/dist/chunks/{credential-ratrq7cm.js → managed-policy-axtvtek4.js} +7 -7
- package/dist/chunks/{credential-53dszk21.js → managed-policy-ay5jnjb4.js} +13 -13
- package/dist/chunks/{credential-6ahf2jbm.js → managed-policy-azsgmn80.js} +30 -30
- package/dist/chunks/{credential-b6gygkdw.js → managed-policy-b6gygkdw.js} +2 -2
- package/dist/chunks/{credential-bct739vz.js → managed-policy-bf0ztrs3.js} +4 -4
- package/dist/chunks/{credential-cqq7jq20.js → managed-policy-bnsp3pck.js} +6 -6
- package/dist/chunks/{credential-akcwy8f5.js → managed-policy-bzwh4v1s.js} +29 -29
- package/dist/chunks/{credential-607q5haz.js → managed-policy-c488s98d.js} +12 -12
- package/dist/chunks/managed-policy-c92ss08r.js +507 -0
- package/dist/chunks/{credential-mfdc5s1p.js → managed-policy-cc7ta4tb.js} +39 -39
- package/dist/chunks/{credential-wye7wwv1.js → managed-policy-ced978hc.js} +25 -25
- package/dist/chunks/{credential-ckecvw8r.js → managed-policy-ckecvw8r.js} +2 -2
- package/dist/chunks/{credential-ex4azxym.js → managed-policy-cmtfrzch.js} +15 -15
- package/dist/chunks/{credential-sp64v9sw.js → managed-policy-cnfgznwf.js} +21 -21
- package/dist/chunks/{credential-jv01nqvq.js → managed-policy-d1khqved.js} +5 -5
- package/dist/chunks/{credential-p44d8wdy.js → managed-policy-d2aac7k2.js} +5 -5
- package/dist/chunks/{credential-scsjx6k2.js → managed-policy-d6dr936x.js} +20 -20
- package/dist/chunks/{credential-tn0aqsam.js → managed-policy-d87ppnb3.js} +5 -5
- package/dist/chunks/{credential-0z9fggxj.js → managed-policy-d8cmmjhb.js} +16 -16
- package/dist/chunks/{credential-7k39p2e0.js → managed-policy-d9e8dke0.js} +2 -2
- package/dist/chunks/{credential-nrqbvhrj.js → managed-policy-dase2wj4.js} +17 -17
- package/dist/chunks/{credential-sk2hk6tq.js → managed-policy-depwzj9d.js} +9 -9
- package/dist/chunks/{credential-c765mh8b.js → managed-policy-djszqvmq.js} +9 -9
- package/dist/chunks/{credential-yg076965.js → managed-policy-dp60fnpg.js} +28 -28
- package/dist/chunks/{credential-4cwgcsq7.js → managed-policy-dqa6mh0h.js} +14 -14
- package/dist/chunks/{credential-drwq78ky.js → managed-policy-drwq78ky.js} +1 -1
- package/dist/chunks/{credential-vpezmzvj.js → managed-policy-dzp4nhj1.js} +21 -21
- package/dist/chunks/{credential-5qd3pb7m.js → managed-policy-e3qxr5gk.js} +2 -2
- package/dist/chunks/{credential-t1pf2w0e.js → managed-policy-e3y7ffaz.js} +30 -30
- package/dist/chunks/{credential-s1g44hj8.js → managed-policy-e4ewt8rg.js} +54 -54
- package/dist/chunks/{credential-ecfe7b91.js → managed-policy-ecfe7b91.js} +2 -2
- package/dist/chunks/{credential-ef5x83kb.js → managed-policy-ef5x83kb.js} +1 -1
- package/dist/chunks/{credential-1fwvf67m.js → managed-policy-ej459j65.js} +11 -11
- package/dist/chunks/{credential-aesn9jmf.js → managed-policy-ekdvg0g5.js} +8 -8
- package/dist/chunks/{credential-7zpeh0yx.js → managed-policy-em3h5ktn.js} +4 -4
- package/dist/chunks/{credential-fpgps28a.js → managed-policy-en8764de.js} +44 -44
- package/dist/chunks/{credential-r5x6zcsm.js → managed-policy-eq1pz5kg.js} +3 -3
- package/dist/chunks/{credential-etq0c3wd.js → managed-policy-etq0c3wd.js} +1 -1
- package/dist/chunks/{credential-nmfttajv.js → managed-policy-f144cm3h.js} +25 -25
- package/dist/chunks/{credential-f2n192rq.js → managed-policy-f2n192rq.js} +1 -1
- package/dist/chunks/{credential-6btajet3.js → managed-policy-f3j6bdvh.js} +11 -11
- package/dist/chunks/{credential-xsxzmn3v.js → managed-policy-fbawcmnd.js} +8 -8
- package/dist/chunks/{credential-qgn6gcr1.js → managed-policy-fcrkznn8.js} +5 -5
- package/dist/chunks/{credential-tm8tq2ex.js → managed-policy-fnf2bk90.js} +18 -18
- package/dist/chunks/{credential-hmrpbdxr.js → managed-policy-fnyhqzb8.js} +3 -3
- package/dist/chunks/{credential-30gprf1d.js → managed-policy-fpfawhpe.js} +15 -15
- package/dist/chunks/{credential-3wers1sj.js → managed-policy-frxdqaz8.js} +24 -24
- package/dist/chunks/{credential-7g2rjez8.js → managed-policy-fs1j9y41.js} +37 -37
- package/dist/chunks/{credential-qf2zcmdt.js → managed-policy-fvzmcfta.js} +18 -18
- package/dist/chunks/{credential-rpwk60st.js → managed-policy-fx470sn6.js} +30 -30
- package/dist/chunks/{credential-xfqdq6f4.js → managed-policy-g30dqjb7.js} +8 -8
- package/dist/chunks/{credential-py16vch9.js → managed-policy-g5bgzfwa.js} +31 -31
- package/dist/chunks/{credential-75dq6h5a.js → managed-policy-g6mr8nvc.js} +15 -15
- package/dist/chunks/{credential-gd4qta3r.js → managed-policy-gd4qta3r.js} +1 -1
- package/dist/chunks/{credential-52vf1pv4.js → managed-policy-getfzt5f.js} +18 -18
- package/dist/chunks/{credential-tdy047wr.js → managed-policy-gma4ytx3.js} +28 -28
- package/dist/chunks/{credential-gv6a8nnw.js → managed-policy-gv6a8nnw.js} +2 -2
- package/dist/chunks/{credential-g3j0qegx.js → managed-policy-gva4y1sd.js} +9 -9
- package/dist/chunks/{credential-9185qsvj.js → managed-policy-gzv3jtbt.js} +30 -30
- package/dist/chunks/{credential-dsa8rbxc.js → managed-policy-h06dmeym.js} +13 -13
- package/dist/chunks/{credential-amekftng.js → managed-policy-h0mhvawh.js} +15 -15
- package/dist/chunks/{credential-vedgbhsv.js → managed-policy-h345fmz9.js} +9 -9
- package/dist/chunks/{credential-res4mv3n.js → managed-policy-h6j5wp72.js} +28 -28
- package/dist/chunks/{credential-32ymn5e1.js → managed-policy-h6m8mpqk.js} +9 -9
- package/dist/chunks/{credential-h6vf3j39.js → managed-policy-h6vf3j39.js} +1 -1
- package/dist/chunks/{credential-6g0am89f.js → managed-policy-heyqeax4.js} +4 -4
- package/dist/chunks/{credential-0vs09wn3.js → managed-policy-hz7gmqsw.js} +10 -10
- package/dist/chunks/{credential-3a86qk9h.js → managed-policy-j1xxfbgt.js} +18 -18
- package/dist/chunks/{credential-j56e64zr.js → managed-policy-j56e64zr.js} +1 -1
- package/dist/chunks/{credential-1zsnqtzs.js → managed-policy-j5gpwjg1.js} +13 -13
- package/dist/chunks/{credential-x5nwq7sz.js → managed-policy-je2myd62.js} +40 -40
- package/dist/chunks/{credential-e3wq1ttc.js → managed-policy-jj9twaj5.js} +33 -33
- package/dist/chunks/{credential-qkenf8ew.js → managed-policy-jrefsjk4.js} +13 -13
- package/dist/chunks/{credential-30846h32.js → managed-policy-jvnghvnw.js} +8 -8
- package/dist/chunks/{credential-6s8gfz9t.js → managed-policy-jw5senje.js} +6 -6
- package/dist/chunks/{credential-nng2ktcm.js → managed-policy-jxxakrfy.js} +2 -2
- package/dist/chunks/{credential-rd6b7xd8.js → managed-policy-jyjpk7fv.js} +6 -6
- package/dist/chunks/{credential-zya4esrg.js → managed-policy-kg45nmpk.js} +4 -4
- package/dist/chunks/{credential-j8dtq6y3.js → managed-policy-kgfkfb63.js} +20 -20
- package/dist/chunks/{credential-nh77mpes.js → managed-policy-kk8v81xj.js} +11 -11
- package/dist/chunks/{credential-0gqv3qc4.js → managed-policy-kx0t9shf.js} +9 -9
- package/dist/chunks/{credential-gk3mvatd.js → managed-policy-kyy0ssq8.js} +5 -5
- package/dist/chunks/{credential-0znnjg06.js → managed-policy-m2nanmk6.js} +17 -17
- package/dist/chunks/{credential-m3fdjcah.js → managed-policy-m3fdjcah.js} +1 -1
- package/dist/chunks/{credential-zhpm82pg.js → managed-policy-m4583r1w.js} +18 -18
- package/dist/chunks/{credential-m9w0rfyh.js → managed-policy-m9w0rfyh.js} +1 -1
- package/dist/chunks/{credential-hfaq9h6q.js → managed-policy-md25eqcg.js} +23 -23
- package/dist/chunks/{credential-dnxkq42g.js → managed-policy-mpk0rfs5.js} +4 -4
- package/dist/chunks/{credential-bkms2a7d.js → managed-policy-mprdj2vw.js} +69 -69
- package/dist/chunks/{credential-rz106t8w.js → managed-policy-mqbe75y8.js} +4 -4
- package/dist/chunks/{credential-2typzmmc.js → managed-policy-mr3x12pz.js} +30 -30
- package/dist/chunks/{credential-3ppptnan.js → managed-policy-mrvjcs5x.js} +6 -6
- package/dist/chunks/{credential-mvksx64m.js → managed-policy-n1ka8r9d.js} +4 -4
- package/dist/chunks/{credential-ha8wqv5x.js → managed-policy-n6ngmcx1.js} +6 -6
- package/dist/chunks/{credential-4fwtqxnv.js → managed-policy-n9a4xth3.js} +22 -22
- package/dist/chunks/{credential-tz6ja4zj.js → managed-policy-nd79w430.js} +29 -29
- package/dist/chunks/{credential-bw8ezstw.js → managed-policy-ndz9dvm7.js} +7 -7
- package/dist/chunks/{credential-hf2z2aq1.js → managed-policy-nyxxskch.js} +6 -6
- package/dist/chunks/{credential-k3c624dm.js → managed-policy-nzks3jc8.js} +3 -3
- package/dist/chunks/{credential-hyaya0nw.js → managed-policy-p3s9at0s.js} +20 -20
- package/dist/chunks/{credential-7w99qc9d.js → managed-policy-pds74t41.js} +3 -3
- package/dist/chunks/{credential-a2rpfkac.js → managed-policy-pgp1nwjn.js} +4 -4
- package/dist/chunks/{credential-dwvzh0g2.js → managed-policy-pjedbq3k.js} +6 -6
- package/dist/chunks/{credential-pjvnvgmy.js → managed-policy-pjvnvgmy.js} +1 -1
- package/dist/chunks/{credential-pknna89w.js → managed-policy-pknna89w.js} +1 -1
- package/dist/chunks/{credential-rghjtt8s.js → managed-policy-pnkbpv6t.js} +9 -9
- package/dist/chunks/{credential-84zt2byv.js → managed-policy-pnv527nz.js} +9 -9
- package/dist/chunks/{credential-9280n09q.js → managed-policy-pqcp1x6d.js} +30 -30
- package/dist/chunks/{credential-870z7kx6.js → managed-policy-pqe1tcjk.js} +1 -1
- package/dist/chunks/{credential-87fx34tv.js → managed-policy-pr22ash8.js} +11 -11
- package/dist/chunks/{credential-m9f54dp4.js → managed-policy-ps40z7de.js} +21 -21
- package/dist/chunks/{credential-qdqrq8q9.js → managed-policy-psc3xzs8.js} +3 -3
- package/dist/chunks/{credential-rcv1z36m.js → managed-policy-pwvqht43.js} +12 -12
- package/dist/chunks/{credential-4r4k6gyt.js → managed-policy-py5c3j6b.js} +19 -19
- package/dist/chunks/{credential-yn9wwxkv.js → managed-policy-pyagr9cd.js} +15 -15
- package/dist/chunks/{credential-mqvz5ney.js → managed-policy-q1n9hadw.js} +9 -9
- package/dist/chunks/{credential-3r916n3t.js → managed-policy-q1rprvvw.js} +6 -6
- package/dist/chunks/{credential-gkh9q6r5.js → managed-policy-q5pxwvn6.js} +5 -5
- package/dist/chunks/{credential-ctz7jbry.js → managed-policy-q8r22k9v.js} +8 -8
- package/dist/chunks/{credential-f75ercvt.js → managed-policy-qa6bty5w.js} +32 -32
- package/dist/chunks/{credential-je1n680z.js → managed-policy-qhvxr7kc.js} +17 -17
- package/dist/chunks/{credential-9wncg805.js → managed-policy-qj0gtfb8.js} +8 -8
- package/dist/chunks/{credential-v512vev1.js → managed-policy-qs49j1z6.js} +5 -5
- package/dist/chunks/{credential-qsdy395h.js → managed-policy-qsdy395h.js} +1 -1
- package/dist/chunks/{credential-j3j90dte.js → managed-policy-r0bddt9n.js} +7 -7
- package/dist/chunks/{credential-khf3ms8d.js → managed-policy-r9xz4k2w.js} +13 -13
- package/dist/chunks/{credential-rdw6cm16.js → managed-policy-rdw6cm16.js} +1 -1
- package/dist/chunks/{credential-rkprpv83.js → managed-policy-rkprpv83.js} +2 -2
- package/dist/chunks/{credential-ja41pfcf.js → managed-policy-rnx828q2.js} +33 -33
- package/dist/chunks/{credential-ssecb20m.js → managed-policy-rxv3afv6.js} +15 -15
- package/dist/chunks/{credential-yweces30.js → managed-policy-s1rx4m94.js} +35 -35
- package/dist/chunks/{credential-yrznvahk.js → managed-policy-s4enseaf.js} +2 -2
- package/dist/chunks/{credential-0bc61wjf.js → managed-policy-s926t221.js} +15 -15
- package/dist/chunks/{credential-5bdbc12f.js → managed-policy-sbapmza5.js} +6 -6
- package/dist/chunks/{credential-spsefvqx.js → managed-policy-sevzz86w.js} +17 -17
- package/dist/chunks/{credential-61gbp7xt.js → managed-policy-spx4xzh8.js} +12 -12
- package/dist/chunks/{credential-sffmc9nc.js → managed-policy-sxk4ms2b.js} +184 -184
- package/dist/chunks/{credential-a6w30j4s.js → managed-policy-sydaydjk.js} +14 -14
- package/dist/chunks/{credential-jy3q8cv1.js → managed-policy-t3w4twfb.js} +11 -11
- package/dist/chunks/{credential-rhjbct0v.js → managed-policy-t550f9t1.js} +4 -4
- package/dist/chunks/{credential-v7hfm648.js → managed-policy-t6njjzcs.js} +85 -85
- package/dist/chunks/{credential-c9wvx4hd.js → managed-policy-t8wzckmp.js} +10 -10
- package/dist/chunks/{credential-tazgh4e4.js → managed-policy-tazgh4e4.js} +1 -1
- package/dist/chunks/{credential-tcezcvh9.js → managed-policy-tcezcvh9.js} +1 -1
- package/dist/chunks/{credential-tdstcens.js → managed-policy-tdstcens.js} +1 -1
- package/dist/chunks/{credential-2drh6w9c.js → managed-policy-th2qz4yf.js} +11 -11
- package/dist/chunks/{credential-3pe3cw95.js → managed-policy-tpe86yvt.js} +34 -34
- package/dist/chunks/{credential-8v6pyhej.js → managed-policy-tpw6cwsb.js} +8 -8
- package/dist/chunks/{credential-5jbme0dy.js → managed-policy-tpwcm8nh.js} +8 -8
- package/dist/chunks/{credential-dyc80tht.js → managed-policy-trpx7285.js} +55 -55
- package/dist/chunks/{credential-3cngkzkk.js → managed-policy-tsjakjkq.js} +20 -20
- package/dist/chunks/{credential-tvtrv512.js → managed-policy-tvtrv512.js} +1 -1
- package/dist/chunks/{credential-903keqrn.js → managed-policy-txpnxh2f.js} +8 -8
- package/dist/chunks/{credential-q5g2qkjb.js → managed-policy-v6z16ed9.js} +48 -48
- package/dist/chunks/{credential-h6b02349.js → managed-policy-vd7rzxqf.js} +5 -5
- package/dist/chunks/{credential-veqvce7d.js → managed-policy-veqvce7d.js} +1 -1
- package/dist/chunks/{credential-fqbhfcjp.js → managed-policy-vh04mdhz.js} +44 -44
- package/dist/chunks/{credential-z01xxs7v.js → managed-policy-vknntt9e.js} +2 -2
- package/dist/chunks/managed-policy-vnkjks7b.js +18 -0
- package/dist/chunks/{credential-9dpvv6bw.js → managed-policy-vsajxva1.js} +13 -13
- package/dist/chunks/{credential-8pk9ts4g.js → managed-policy-vxa03wtb.js} +5 -5
- package/dist/chunks/{credential-ahewrzjd.js → managed-policy-vy4c8fa5.js} +11 -11
- package/dist/chunks/{credential-vzcthcp8.js → managed-policy-vzcthcp8.js} +1 -1
- package/dist/chunks/{credential-vzs5sf6e.js → managed-policy-vzs5sf6e.js} +1 -1
- package/dist/chunks/{credential-myx5pz82.js → managed-policy-w00sd6bp.js} +17 -17
- package/dist/chunks/{credential-x8rbqhnh.js → managed-policy-w1avypy0.js} +10 -10
- package/dist/chunks/{credential-w3wsvvr9.js → managed-policy-w3wsvvr9.js} +1 -1
- package/dist/chunks/{credential-9cw6d4xs.js → managed-policy-w4wwey4a.js} +9 -9
- package/dist/chunks/{credential-pjtv0hnk.js → managed-policy-w7av7943.js} +11 -11
- package/dist/chunks/{credential-6y8y59xk.js → managed-policy-wak33rq2.js} +11 -11
- package/dist/chunks/{credential-bgtqdj6f.js → managed-policy-wam6j7k0.js} +4 -4
- package/dist/chunks/{credential-wd3x2cqz.js → managed-policy-wd3x2cqz.js} +2 -2
- package/dist/chunks/{credential-wd87259q.js → managed-policy-wd87259q.js} +1 -1
- package/dist/chunks/{credential-4pf7hmpg.js → managed-policy-we1sq38a.js} +15 -15
- package/dist/chunks/{credential-75m27ksb.js → managed-policy-wrsn9w4w.js} +10 -10
- package/dist/chunks/{credential-zjan7maf.js → managed-policy-wv26848n.js} +24 -24
- package/dist/chunks/{credential-q51p3dvy.js → managed-policy-wvekarx2.js} +22 -22
- package/dist/chunks/{credential-x1ezjp6w.js → managed-policy-x1ezjp6w.js} +1 -1
- package/dist/chunks/managed-policy-x21e0m1x.js +252 -0
- package/dist/chunks/{credential-dmqcgk4z.js → managed-policy-xkntkrq7.js} +5 -5
- package/dist/chunks/{credential-czw2gks2.js → managed-policy-xnnfrr0j.js} +24 -24
- package/dist/chunks/{credential-rk1r2hx8.js → managed-policy-xp3fh2h7.js} +1 -1
- package/dist/chunks/{credential-n88a24bz.js → managed-policy-xtdb2mzr.js} +25 -25
- package/dist/chunks/{credential-bddt2pqj.js → managed-policy-xz8qpa4w.js} +12 -12
- package/dist/chunks/{credential-y1fvbwt7.js → managed-policy-y1fvbwt7.js} +1 -1
- package/dist/chunks/{credential-3csh498x.js → managed-policy-y5ce63fc.js} +5 -5
- package/dist/chunks/{credential-e7710hd6.js → managed-policy-y6kccm89.js} +8 -8
- package/dist/chunks/{credential-dpkg50ah.js → managed-policy-y71avatq.js} +4 -4
- package/dist/chunks/{credential-j29ewdw0.js → managed-policy-y8hy265e.js} +16 -16
- package/dist/chunks/{credential-mvqxaapf.js → managed-policy-y8rwhwzy.js} +11 -11
- package/dist/chunks/{credential-kr5r2322.js → managed-policy-y9rayrtr.js} +20 -20
- package/dist/chunks/{credential-mbgsk580.js → managed-policy-ya3vmrdh.js} +22 -22
- package/dist/chunks/{credential-2phzajzt.js → managed-policy-ycfrzxnp.js} +30 -30
- package/dist/chunks/{credential-wck86893.js → managed-policy-yebhkn30.js} +26 -26
- package/dist/chunks/{credential-yrhqyw5v.js → managed-policy-yrhqyw5v.js} +1 -1
- package/dist/chunks/{credential-z07pqspn.js → managed-policy-z07pqspn.js} +3 -3
- package/dist/chunks/{credential-z0bkrqjs.js → managed-policy-z0bkrqjs.js} +1 -1
- package/dist/chunks/{credential-zeh9ct20.js → managed-policy-zeh9ct20.js} +2 -2
- package/dist/chunks/{credential-0smkj3y4.js → managed-policy-zhfehfcb.js} +43 -43
- package/dist/chunks/{credential-zr2ceqn5.js → managed-policy-zr2ceqn5.js} +1 -1
- package/dist/chunks/{credential-zxq2ej10.js → managed-policy-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- 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 +125 -125
- package/dist/config/plugin/command.js +215 -215
- 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 +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- 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 +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- 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 +124 -124
- 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 +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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 +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +85 -85
- package/dist/generate.js +101 -101
- package/dist/git.js +10 -10
- 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 +81 -81
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- 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 +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- 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 +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- 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 +80 -80
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- 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 +2 -2
- 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 +93 -93
- 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 +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- 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 +93 -93
- package/dist/plugin/warming.js +121 -121
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- 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 +128 -128
- 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 +1 -1
- 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 +124 -124
- 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 +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +11 -11
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- 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 +126 -126
- package/dist/tool/plugin/edit.js +118 -118
- 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 +120 -120
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- 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 +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- 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 +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/credential-619r8v3y.js +0 -18
- package/dist/chunks/credential-ws7geqk2.js +0 -507
- package/dist/chunks/credential-yrmjxgh6.js +0 -26
- package/dist/chunks/credential-zsr1emfb.js +0 -252
- /package/dist/chunks/{credential-0qkdqm5v.js → managed-policy-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{credential-0zkw76rk.js → managed-policy-0zkw76rk.js} +0 -0
- /package/dist/chunks/{credential-17cy0kzp.js → managed-policy-17cy0kzp.js} +0 -0
- /package/dist/chunks/{credential-1cnp2v09.js → managed-policy-1cnp2v09.js} +0 -0
- /package/dist/chunks/{credential-1kg9ymc8.js → managed-policy-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{credential-24dcb14g.js → managed-policy-24dcb14g.js} +0 -0
- /package/dist/chunks/{credential-2710q6r3.js → managed-policy-2710q6r3.js} +0 -0
- /package/dist/chunks/{credential-2axfhc9x.js → managed-policy-2axfhc9x.js} +0 -0
- /package/dist/chunks/{credential-2c3vjs8z.js → managed-policy-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{credential-34c7v6d4.js → managed-policy-34c7v6d4.js} +0 -0
- /package/dist/chunks/{credential-359p4xyc.js → managed-policy-359p4xyc.js} +0 -0
- /package/dist/chunks/{credential-3asan66x.js → managed-policy-3asan66x.js} +0 -0
- /package/dist/chunks/{credential-3v8g72cx.js → managed-policy-3v8g72cx.js} +0 -0
- /package/dist/chunks/{credential-3w5fmr99.js → managed-policy-3w5fmr99.js} +0 -0
- /package/dist/chunks/{credential-3wcehsnq.js → managed-policy-3wcehsnq.js} +0 -0
- /package/dist/chunks/{credential-43n2bw4t.js → managed-policy-43n2bw4t.js} +0 -0
- /package/dist/chunks/{credential-4knz6hnm.js → managed-policy-4knz6hnm.js} +0 -0
- /package/dist/chunks/{credential-4vcrnpx2.js → managed-policy-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{credential-4y7fprxs.js → managed-policy-4y7fprxs.js} +0 -0
- /package/dist/chunks/{credential-53557ph1.js → managed-policy-53557ph1.js} +0 -0
- /package/dist/chunks/{credential-550bvhaj.js → managed-policy-550bvhaj.js} +0 -0
- /package/dist/chunks/{credential-6prwharc.js → managed-policy-6prwharc.js} +0 -0
- /package/dist/chunks/{credential-7akdwqpd.js → managed-policy-7akdwqpd.js} +0 -0
- /package/dist/chunks/{credential-7m9af43g.js → managed-policy-7m9af43g.js} +0 -0
- /package/dist/chunks/{credential-822emrt2.js → managed-policy-822emrt2.js} +0 -0
- /package/dist/chunks/{credential-88xbtdfr.js → managed-policy-88xbtdfr.js} +0 -0
- /package/dist/chunks/{credential-8n3pysct.js → managed-policy-8n3pysct.js} +0 -0
- /package/dist/chunks/{credential-8wj87zfr.js → managed-policy-8wj87zfr.js} +0 -0
- /package/dist/chunks/{credential-922hggd3.js → managed-policy-922hggd3.js} +0 -0
- /package/dist/chunks/{credential-9a4afbnw.js → managed-policy-9a4afbnw.js} +0 -0
- /package/dist/chunks/{credential-9rqn6x4v.js → managed-policy-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{credential-a6k6eb26.js → managed-policy-a6k6eb26.js} +0 -0
- /package/dist/chunks/{credential-af5trqkr.js → managed-policy-af5trqkr.js} +0 -0
- /package/dist/chunks/{credential-afrmfg78.js → managed-policy-afrmfg78.js} +0 -0
- /package/dist/chunks/{credential-aqzs7mqg.js → managed-policy-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{credential-atq7p7m5.js → managed-policy-atq7p7m5.js} +0 -0
- /package/dist/chunks/{credential-bkyjaxrp.js → managed-policy-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{credential-bmr6ed5q.js → managed-policy-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{credential-cf4snx6d.js → managed-policy-cf4snx6d.js} +0 -0
- /package/dist/chunks/{credential-cvy3z8tj.js → managed-policy-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{credential-d9fn303g.js → managed-policy-d9fn303g.js} +0 -0
- /package/dist/chunks/{credential-d9jj8t3e.js → managed-policy-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{credential-dajrwvna.js → managed-policy-dajrwvna.js} +0 -0
- /package/dist/chunks/{credential-dap0rakb.js → managed-policy-dap0rakb.js} +0 -0
- /package/dist/chunks/{credential-df08tz66.js → managed-policy-df08tz66.js} +0 -0
- /package/dist/chunks/{credential-dy18nga0.js → managed-policy-dy18nga0.js} +0 -0
- /package/dist/chunks/{credential-e5kj55wp.js → managed-policy-e5kj55wp.js} +0 -0
- /package/dist/chunks/{credential-e73j6tqm.js → managed-policy-e73j6tqm.js} +0 -0
- /package/dist/chunks/{credential-ec1grn59.js → managed-policy-ec1grn59.js} +0 -0
- /package/dist/chunks/{credential-eh3zwz77.js → managed-policy-eh3zwz77.js} +0 -0
- /package/dist/chunks/{credential-emrn6kk6.js → managed-policy-emrn6kk6.js} +0 -0
- /package/dist/chunks/{credential-f0mxakyp.js → managed-policy-f0mxakyp.js} +0 -0
- /package/dist/chunks/{credential-f6n9ztr4.js → managed-policy-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{credential-faypxj3z.js → managed-policy-faypxj3z.js} +0 -0
- /package/dist/chunks/{credential-fd410y7t.js → managed-policy-fd410y7t.js} +0 -0
- /package/dist/chunks/{credential-fxgpk5d8.js → managed-policy-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{credential-g4wezp1m.js → managed-policy-g4wezp1m.js} +0 -0
- /package/dist/chunks/{credential-g86h250q.js → managed-policy-g86h250q.js} +0 -0
- /package/dist/chunks/{credential-gebd4c9n.js → managed-policy-gebd4c9n.js} +0 -0
- /package/dist/chunks/{credential-gftt206x.js → managed-policy-gftt206x.js} +0 -0
- /package/dist/chunks/{credential-hjbc5kem.js → managed-policy-hjbc5kem.js} +0 -0
- /package/dist/chunks/{credential-hk9envan.js → managed-policy-hk9envan.js} +0 -0
- /package/dist/chunks/{credential-j2ntwpah.js → managed-policy-j2ntwpah.js} +0 -0
- /package/dist/chunks/{credential-j5zkgpj8.js → managed-policy-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{credential-jjkms2e6.js → managed-policy-jjkms2e6.js} +0 -0
- /package/dist/chunks/{credential-jr7sbwjy.js → managed-policy-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{credential-jwfs4k6c.js → managed-policy-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{credential-jzg6c2d5.js → managed-policy-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{credential-mp448xyj.js → managed-policy-mp448xyj.js} +0 -0
- /package/dist/chunks/{credential-msx8hqn2.js → managed-policy-msx8hqn2.js} +0 -0
- /package/dist/chunks/{credential-n05xt0ee.js → managed-policy-n05xt0ee.js} +0 -0
- /package/dist/chunks/{credential-n3j8tn72.js → managed-policy-n3j8tn72.js} +0 -0
- /package/dist/chunks/{credential-njntx4h6.js → managed-policy-njntx4h6.js} +0 -0
- /package/dist/chunks/{credential-q3sfg36h.js → managed-policy-q3sfg36h.js} +0 -0
- /package/dist/chunks/{credential-q74kybfr.js → managed-policy-q74kybfr.js} +0 -0
- /package/dist/chunks/{credential-qaymkmh1.js → managed-policy-qaymkmh1.js} +0 -0
- /package/dist/chunks/{credential-qb87gjwd.js → managed-policy-qb87gjwd.js} +0 -0
- /package/dist/chunks/{credential-qfa1cgps.js → managed-policy-qfa1cgps.js} +0 -0
- /package/dist/chunks/{credential-qg3g05ea.js → managed-policy-qg3g05ea.js} +0 -0
- /package/dist/chunks/{credential-qrg20bc0.js → managed-policy-qrg20bc0.js} +0 -0
- /package/dist/chunks/{credential-rcb2kzg1.js → managed-policy-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{credential-sdp7kfr6.js → managed-policy-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{credential-sk3qaz4a.js → managed-policy-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{credential-ssg3fenm.js → managed-policy-ssg3fenm.js} +0 -0
- /package/dist/chunks/{credential-w803qqfp.js → managed-policy-w803qqfp.js} +0 -0
- /package/dist/chunks/{credential-wc3fc9cn.js → managed-policy-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{credential-wer8tq1h.js → managed-policy-wer8tq1h.js} +0 -0
- /package/dist/chunks/{credential-wtztk69x.js → managed-policy-wtztk69x.js} +0 -0
- /package/dist/chunks/{credential-x0ckcb58.js → managed-policy-x0ckcb58.js} +0 -0
- /package/dist/chunks/{credential-x61499pn.js → managed-policy-x61499pn.js} +0 -0
- /package/dist/chunks/{credential-y44na4kk.js → managed-policy-y44na4kk.js} +0 -0
- /package/dist/chunks/{credential-y8cydn3q.js → managed-policy-y8cydn3q.js} +0 -0
- /package/dist/chunks/{credential-y8f7s663.js → managed-policy-y8f7s663.js} +0 -0
- /package/dist/chunks/{credential-ygaqb7jw.js → managed-policy-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{credential-ym463w8f.js → managed-policy-ym463w8f.js} +0 -0
- /package/dist/chunks/{credential-z9919s4g.js → managed-policy-z9919s4g.js} +0 -0
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./managed-policy-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service79
|
|
13
|
+
} from "./managed-policy-y8hy265e.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./managed-policy-p3s9at0s.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin23,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin23 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service79;
|
|
37
37
|
if (location.vcs?.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
|
|
|
188
188
|
return { status, diff, branch, ancestor, cat };
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Plugin23, exports_hg };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./managed-policy-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./managed-policy-rdw6cm16.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service36,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node38
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service36 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
116
116
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return Service36.of({
|
|
120
120
|
transform: state.transform,
|
|
121
121
|
reload: state.reload,
|
|
122
122
|
truncate,
|
|
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
133
133
|
layer: cleanupLayer,
|
|
134
134
|
deps: [FSUtil.node, Global.node]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
137
|
-
service:
|
|
136
|
+
var node38 = makeLocationNode({
|
|
137
|
+
service: Service36,
|
|
138
138
|
layer,
|
|
139
139
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
142
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service36, node38, exports_tool_output2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make19,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./managed-policy-t550f9t1.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID3,
|
|
9
9
|
Name2,
|
|
10
10
|
available2,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service33,
|
|
12
|
+
node35
|
|
13
|
+
} from "./managed-policy-2bq8905m.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
21
|
-
Service: () =>
|
|
22
|
-
SkillInstructions: () =>
|
|
23
|
-
node: () =>
|
|
19
|
+
var exports_instructions3 = {};
|
|
20
|
+
__export(exports_instructions3, {
|
|
21
|
+
Service: () => Service21,
|
|
22
|
+
SkillInstructions: () => exports_instructions3,
|
|
23
|
+
node: () => node25
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
var Summary = Schema.Struct({
|
|
28
|
-
id:
|
|
28
|
+
id: ID3,
|
|
29
29
|
name: Name2,
|
|
30
30
|
description: Schema.String
|
|
31
31
|
});
|
|
@@ -60,14 +60,14 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service21 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service33;
|
|
67
|
+
return Service21.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
69
69
|
const available = available2(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
70
|
-
return
|
|
70
|
+
return make19({
|
|
71
71
|
key: Key3.make("core/skill-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
80
80
|
})
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
83
|
+
var node25 = makeLocationNode({ service: Service21, layer, deps: [node35] });
|
|
84
84
|
|
|
85
|
-
export {
|
|
85
|
+
export { Service21, node25, exports_instructions3 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service51
|
|
3
|
+
} from "./managed-policy-pnkbpv6t.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service31
|
|
6
|
+
} from "./managed-policy-mrvjcs5x.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./managed-policy-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./managed-policy-vnkjks7b.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service59
|
|
15
|
+
} from "./managed-policy-jvnghvnw.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./managed-policy-h6m8mpqk.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service33
|
|
23
|
+
} from "./managed-policy-2bq8905m.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service31;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service59;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service33;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service51;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/lsp.ts
|
|
6
6
|
var exports_lsp = {};
|
|
7
7
|
__export(exports_lsp, {
|
|
8
8
|
ConfigLSPV1: () => exports_lsp,
|
|
9
9
|
Disabled: () => Disabled2,
|
|
10
|
-
Entry: () =>
|
|
11
|
-
Info: () =>
|
|
10
|
+
Entry: () => Entry4,
|
|
11
|
+
Info: () => Info22,
|
|
12
12
|
builtinServerIds: () => builtinServerIds2,
|
|
13
13
|
requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
|
|
14
14
|
});
|
|
@@ -16,7 +16,7 @@ import { Schema } from "effect";
|
|
|
16
16
|
var Disabled2 = Schema.Struct({
|
|
17
17
|
disabled: Schema.Literal(true)
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Entry4 = Schema.Union([
|
|
20
20
|
Disabled2,
|
|
21
21
|
Schema.Struct({
|
|
22
22
|
command: Schema.mutable(Schema.Array(Schema.String)),
|
|
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
|
|
|
79
79
|
});
|
|
80
80
|
return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
|
|
81
81
|
});
|
|
82
|
-
var
|
|
82
|
+
var Info22 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]).check(requiresExtensionsForCustomServers2);
|
|
83
83
|
|
|
84
|
-
export { Disabled2,
|
|
84
|
+
export { Disabled2, Entry4, builtinServerIds2, requiresExtensionsForCustomServers2, Info22, exports_lsp };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./managed-policy-pqe1tcjk.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
|
-
|
|
9
|
+
make23,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./managed-policy-jw5senje.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
|
|
|
22
22
|
EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
|
|
23
23
|
EffectSQLiteSession: () => EffectSQLiteSession2,
|
|
24
24
|
EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
|
|
25
|
-
make: () =>
|
|
25
|
+
make: () => make23,
|
|
26
26
|
makeWithDefaults: () => makeWithDefaults2,
|
|
27
27
|
managesTransactionsNatively: () => managesTransactionsNatively2
|
|
28
28
|
});
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/project/schema.ts
|
|
9
9
|
var exports_schema = {};
|
|
10
10
|
__export(exports_schema, {
|
|
11
11
|
Current: () => Current3,
|
|
12
|
-
Event: () =>
|
|
12
|
+
Event: () => Event20,
|
|
13
13
|
ID: () => ID18,
|
|
14
|
-
Info: () =>
|
|
14
|
+
Info: () => Info33,
|
|
15
15
|
ProjectSchema: () => exports_schema,
|
|
16
16
|
UpdateInput: () => UpdateInput4,
|
|
17
17
|
Vcs: () => Vcs3
|
|
@@ -20,12 +20,12 @@ import { Schema } from "effect";
|
|
|
20
20
|
import { Project } from "@opencode/schema/project";
|
|
21
21
|
var ID18 = Project.ID;
|
|
22
22
|
var Current3 = Project.Current;
|
|
23
|
-
var
|
|
23
|
+
var Info33 = Project.Info;
|
|
24
24
|
var UpdateInput4 = Project.UpdateInput;
|
|
25
|
-
var
|
|
25
|
+
var Event20 = Project.Event;
|
|
26
26
|
var Vcs3 = Schema.Struct({
|
|
27
27
|
type: Project.Vcs,
|
|
28
28
|
store: AbsolutePath2
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
export { ID18, Current3,
|
|
31
|
+
export { ID18, Current3, Info33, UpdateInput4, Event20, Vcs3, exports_schema };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-ekdvg0g5.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./managed-policy-kg45nmpk.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./managed-policy-dp60fnpg.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID13,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./managed-policy-yebhkn30.js";
|
|
15
15
|
import {
|
|
16
16
|
which2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./managed-policy-qaymkmh1.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
ID12
|
|
20
|
+
} from "./managed-policy-875prqq3.js";
|
|
21
21
|
import {
|
|
22
22
|
iife2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./managed-policy-1kg9ymc8.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./managed-policy-jyjpk7fv.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/azure.ts
|
|
29
29
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -43,7 +43,7 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
|
|
|
43
43
|
var AzurePlugin2 = define({
|
|
44
44
|
id: "opencode.provider.azure",
|
|
45
45
|
effect: Effect.fn(function* (ctx) {
|
|
46
|
-
const configured = yield* configuredSettings2(
|
|
46
|
+
const configured = yield* configuredSettings2(ID12.azure);
|
|
47
47
|
const processes = yield* AppProcess.Service;
|
|
48
48
|
const bus = yield* Service83;
|
|
49
49
|
const tokens = new Map;
|
|
@@ -79,13 +79,13 @@ var AzurePlugin2 = define({
|
|
|
79
79
|
});
|
|
80
80
|
yield* ctx.integration.transform((editor) => {
|
|
81
81
|
editor.method.update({
|
|
82
|
-
integrationID:
|
|
82
|
+
integrationID: ID12.azure,
|
|
83
83
|
method: { type: "key", label: "API key", form: form() }
|
|
84
84
|
});
|
|
85
85
|
if (!available)
|
|
86
86
|
return;
|
|
87
87
|
editor.method.update({
|
|
88
|
-
integrationID:
|
|
88
|
+
integrationID: ID12.azure,
|
|
89
89
|
method: {
|
|
90
90
|
id: methodID,
|
|
91
91
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ var AzurePlugin2 = define({
|
|
|
117
117
|
});
|
|
118
118
|
});
|
|
119
119
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
120
|
-
const connection = yield* ctx.integration.connection.active(
|
|
120
|
+
const connection = yield* ctx.integration.connection.active(ID12.azure);
|
|
121
121
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
122
122
|
return;
|
|
123
123
|
})) : undefined;
|
|
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
|
|
|
131
131
|
yield* load();
|
|
132
132
|
yield* ctx.provider.transform((evt) => {
|
|
133
133
|
for (const item of evt.list()) {
|
|
134
|
-
if (item.provider.id !==
|
|
134
|
+
if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
135
135
|
continue;
|
|
136
136
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
137
137
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -149,7 +149,7 @@ var AzurePlugin2 = define({
|
|
|
149
149
|
});
|
|
150
150
|
yield* ctx.model.transform((models) => {
|
|
151
151
|
for (const item of models.provider.list()) {
|
|
152
|
-
if (item.provider.id !==
|
|
152
|
+
if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
153
153
|
continue;
|
|
154
154
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
155
155
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -161,9 +161,9 @@ var AzurePlugin2 = define({
|
|
|
161
161
|
}
|
|
162
162
|
});
|
|
163
163
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
164
|
-
yield* bus.subscribe(
|
|
164
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
165
165
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
166
|
-
const connection = yield* ctx.integration.connection.active(
|
|
166
|
+
const connection = yield* ctx.integration.connection.active(ID12.azure);
|
|
167
167
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
168
168
|
return;
|
|
169
169
|
})) : undefined;
|
|
@@ -175,7 +175,7 @@ var AzurePlugin2 = define({
|
|
|
175
175
|
return `Bearer ${current.access}`;
|
|
176
176
|
});
|
|
177
177
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
178
|
-
if (evt.model.providerID !==
|
|
178
|
+
if (evt.model.providerID !== ID12.azure)
|
|
179
179
|
return;
|
|
180
180
|
const authorization = yield* bearer(evt.request.url);
|
|
181
181
|
if (!authorization)
|
|
@@ -184,9 +184,9 @@ var AzurePlugin2 = define({
|
|
|
184
184
|
evt.request.headers.delete("x-api-key");
|
|
185
185
|
evt.request.headers.set("authorization", authorization);
|
|
186
186
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
187
|
-
}), { providerID:
|
|
187
|
+
}), { providerID: ID12.azure });
|
|
188
188
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
189
|
-
if (evt.model.providerID !==
|
|
189
|
+
if (evt.model.providerID !== ID12.azure)
|
|
190
190
|
return;
|
|
191
191
|
const authorization = yield* bearer(evt.url);
|
|
192
192
|
if (!authorization)
|
|
@@ -195,7 +195,7 @@ var AzurePlugin2 = define({
|
|
|
195
195
|
delete evt.headers["x-api-key"];
|
|
196
196
|
evt.headers.authorization = authorization;
|
|
197
197
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
198
|
-
}), { providerID:
|
|
198
|
+
}), { providerID: ID12.azure });
|
|
199
199
|
})
|
|
200
200
|
});
|
|
201
201
|
function resolveResourceName(settings, fallback) {
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./managed-policy-kg45nmpk.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./managed-policy-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./managed-policy-mpk0rfs5.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
13
|
+
ID13,
|
|
14
|
+
Service74,
|
|
15
|
+
node78,
|
|
16
|
+
Event17
|
|
17
|
+
} from "./managed-policy-yebhkn30.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service79,
|
|
20
|
+
node83
|
|
21
|
+
} from "./managed-policy-y8hy265e.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -37,13 +37,13 @@ var exports_provider3 = {};
|
|
|
37
37
|
__export(exports_provider3, {
|
|
38
38
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
|
-
Event: () =>
|
|
41
|
-
ID: () =>
|
|
42
|
-
Info: () =>
|
|
40
|
+
Event: () => Event16,
|
|
41
|
+
ID: () => ID12,
|
|
42
|
+
Info: () => Info26,
|
|
43
43
|
LoadError: () => LoadError3,
|
|
44
44
|
Provider: () => exports_provider3,
|
|
45
45
|
Request: () => Request3,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service73,
|
|
47
47
|
Settings: () => Settings2,
|
|
48
48
|
Transport: () => Transport2,
|
|
49
49
|
aisdk: () => aisdk2,
|
|
@@ -53,7 +53,7 @@ __export(exports_provider3, {
|
|
|
53
53
|
mergeOverlay: () => mergeOverlay2,
|
|
54
54
|
modelSettings: () => modelSettings2,
|
|
55
55
|
nativeSettings: () => nativeSettings2,
|
|
56
|
-
node: () =>
|
|
56
|
+
node: () => node77,
|
|
57
57
|
packageName: () => packageName2
|
|
58
58
|
});
|
|
59
59
|
import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
|
|
@@ -64,8 +64,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
64
64
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
65
65
|
import { Credential } from "@opencode/schema/credential";
|
|
66
66
|
import { freeze } from "immer";
|
|
67
|
-
import { Event as
|
|
68
|
-
var
|
|
67
|
+
import { Event as Event16 } from "@opencode/schema/provider";
|
|
68
|
+
var ID12 = Provider.ID;
|
|
69
69
|
var AISDK_PREFIX2 = "aisdk:";
|
|
70
70
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
71
71
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -210,9 +210,9 @@ var Request3 = Provider.Request;
|
|
|
210
210
|
var Compaction3 = Provider.Compaction;
|
|
211
211
|
var Transport2 = Provider.Transport;
|
|
212
212
|
var Settings2 = Provider.Settings;
|
|
213
|
-
var
|
|
213
|
+
var Info26 = Provider.Info;
|
|
214
214
|
|
|
215
|
-
class
|
|
215
|
+
class Service73 extends Context.Service()("@opencode/Provider") {
|
|
216
216
|
}
|
|
217
217
|
var definitions = new WeakMap;
|
|
218
218
|
function index(providerID, models) {
|
|
@@ -225,10 +225,10 @@ function index(providerID, models) {
|
|
|
225
225
|
definitions.set(models, indexes);
|
|
226
226
|
return result;
|
|
227
227
|
}
|
|
228
|
-
var layer = Layer.effect(
|
|
228
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
229
229
|
const bus = yield* Service83;
|
|
230
|
-
const integrations = yield*
|
|
231
|
-
const location = yield*
|
|
230
|
+
const integrations = yield* Service74;
|
|
231
|
+
const location = yield* Service79;
|
|
232
232
|
const state = create3({
|
|
233
233
|
name: "provider",
|
|
234
234
|
initial: () => new Map,
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
239
239
|
const current = records.get(id);
|
|
240
240
|
if (current)
|
|
241
241
|
return current;
|
|
242
|
-
const added = { provider:
|
|
242
|
+
const added = { provider: Info26.empty(id), models: new Map };
|
|
243
243
|
records.set(id, added);
|
|
244
244
|
maps.add(added.models);
|
|
245
245
|
return added;
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
320
320
|
const available = Array.from(records.values()).filter((record) => {
|
|
321
321
|
if (record.provider.activation === "disabled")
|
|
322
322
|
return false;
|
|
323
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
323
|
+
const integration = byID.get(record.provider.integrationID ?? ID13.make(record.provider.id));
|
|
324
324
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
325
325
|
return false;
|
|
326
326
|
if (record.provider.activation === "enabled")
|
|
@@ -346,8 +346,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
346
346
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
347
347
|
});
|
|
348
348
|
});
|
|
349
|
-
yield* bus.subscribe([
|
|
350
|
-
return
|
|
349
|
+
yield* bus.subscribe([Event17.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
350
|
+
return Service73.of({
|
|
351
351
|
transform: state.transform,
|
|
352
352
|
reload: state.reload,
|
|
353
353
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
356
356
|
snapshot
|
|
357
357
|
});
|
|
358
358
|
}));
|
|
359
|
-
var
|
|
359
|
+
var node77 = makeLocationNode({ service: Service73, layer, deps: [node87, node78, node83] });
|
|
360
360
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
361
361
|
const module = yield* Effect.tryPromise({
|
|
362
362
|
try: () => {
|
|
@@ -625,4 +625,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
625
625
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
626
626
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
627
627
|
|
|
628
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
628
|
+
export { rewrite2, native2, exports_aisdk_native, ID12, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info26, Service73, node77, exports_provider3, Event16 };
|