@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
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./managed-policy-azsgmn80.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info31,
|
|
13
13
|
Location: () => exports_location,
|
|
14
14
|
Ref: () => Ref4,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service79,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node83,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info31, Ref as Ref4, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service79 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node83 = LayerNode.unbound(Service79, tags.values.location);
|
|
27
|
+
var layer = (ref) => Layer.effect(Service79, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service80;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory);
|
|
30
|
-
return
|
|
30
|
+
return Service79.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service80, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service79,
|
|
39
39
|
layer: layer(ref),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node84]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info31, Ref4, response2, Service79, node83, boundNode2, exports_location };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service69
|
|
3
|
+
} from "./managed-policy-frxdqaz8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service68
|
|
6
|
+
} from "./managed-policy-5kz5d5f2.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./managed-policy-bnsp3pck.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compatibility.ts
|
|
15
15
|
var exports_compatibility = {};
|
|
16
16
|
__export(exports_compatibility, {
|
|
17
17
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin40
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
24
|
-
var
|
|
24
|
+
var Plugin40 = define({
|
|
25
25
|
id: "opencode.config.compatibility",
|
|
26
26
|
effect: Effect.fn(function* (ctx) {
|
|
27
|
-
const config = yield*
|
|
27
|
+
const config = yield* Service68;
|
|
28
28
|
const fs = yield* FSUtil.Service;
|
|
29
|
-
const watcher = yield*
|
|
29
|
+
const watcher = yield* Service69;
|
|
30
30
|
const watches = yield* FiberMap.make();
|
|
31
31
|
const changes = yield* PubSub.sliding(1);
|
|
32
32
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -73,4 +73,4 @@ var Plugin15 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Plugin40, exports_compatibility };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID7
|
|
3
|
+
} from "./managed-policy-wv26848n.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./managed-policy-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info16
|
|
9
|
+
} from "./managed-policy-8hgfhrm0.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./managed-policy-wam6j7k0.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service68
|
|
16
|
+
} from "./managed-policy-5kz5d5f2.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./managed-policy-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent2 = {};
|
|
26
|
+
__export(exports_agent2, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent2,
|
|
28
|
+
Plugin: () => Plugin35
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info16);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin35 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service68;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin14 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID7.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID7.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin35, exports_agent2 };
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service61
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-419cber8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service60,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./managed-policy-wrsn9w4w.js";
|
|
9
9
|
import {
|
|
10
10
|
Service13
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./managed-policy-1arysab4.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service55
|
|
14
|
+
} from "./managed-policy-trpx7285.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service14
|
|
17
|
+
} from "./managed-policy-fnf2bk90.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./managed-policy-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
28
|
+
Input: () => Input12,
|
|
29
29
|
Output: () => Output8,
|
|
30
|
-
Plugin: () =>
|
|
30
|
+
Plugin: () => Plugin14,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
32
|
+
name: () => name12,
|
|
33
33
|
toModelContent: () => toModelContent6
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name12 = "write";
|
|
39
|
+
var Input12 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
@@ -49,23 +49,23 @@ var Output8 = Schema.Struct({
|
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
51
|
var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
-
var
|
|
52
|
+
var Plugin14 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
55
|
+
const access = yield* Service14;
|
|
56
|
+
const fileMutation = yield* Service60;
|
|
57
57
|
const environment = yield* Service61;
|
|
58
58
|
const formatter = yield* Service13;
|
|
59
|
-
const permission = yield*
|
|
59
|
+
const permission = yield* Service55;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name12,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
68
|
+
input: Input12,
|
|
69
69
|
output: Output8,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
@@ -98,4 +98,4 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name12, Input12, Output8, toModelContent6, Plugin14, exports_write };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-fnyhqzb8.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./managed-policy-kg45nmpk.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service31
|
|
9
|
+
} from "./managed-policy-mrvjcs5x.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./managed-policy-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./managed-policy-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError7,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./managed-policy-h6m8mpqk.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./managed-policy-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service56
|
|
29
|
+
} from "./managed-policy-d8cmmjhb.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service30
|
|
34
|
+
} from "./managed-policy-j1xxfbgt.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service28
|
|
37
|
+
} from "./managed-policy-s1rx4m94.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./managed-policy-7stgkpby.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./managed-policy-10jhvv7f.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./managed-policy-kx0t9shf.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./managed-policy-h345fmz9.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
@@ -65,16 +65,16 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
65
65
|
var make12 = Effect.fn("Session.make")(function* () {
|
|
66
66
|
const bus = yield* Service83;
|
|
67
67
|
const database = yield* Service84;
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
68
|
+
const store = yield* Service56;
|
|
69
|
+
const instances = yield* Service31;
|
|
70
|
+
const execution = yield* Service28;
|
|
71
|
+
const admission = yield* Service30;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
75
75
|
const session = yield* store.get(sessionID);
|
|
76
76
|
if (!session)
|
|
77
|
-
return yield* new
|
|
77
|
+
return yield* new NotFoundError7({ sessionID });
|
|
78
78
|
return session;
|
|
79
79
|
});
|
|
80
80
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -135,7 +135,7 @@ var make12 = Effect.fn("Session.make")(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
if (existing)
|
|
137
137
|
return existing;
|
|
138
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
138
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service31, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
139
139
|
if (session.revert)
|
|
140
140
|
yield* commit2(bus, session);
|
|
141
141
|
return yield* admission.admit({
|
|
@@ -151,7 +151,7 @@ var make12 = Effect.fn("Session.make")(function* () {
|
|
|
151
151
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
152
152
|
const session = yield* get(sessionID);
|
|
153
153
|
const running = yield* Effect.gen(function* () {
|
|
154
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
154
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service31, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
155
155
|
text: `User shell command failed to start:
|
|
156
156
|
${input.command}
|
|
157
157
|
|
|
@@ -180,7 +180,7 @@ ${error.message}`,
|
|
|
180
180
|
});
|
|
181
181
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
182
182
|
const session = yield* get(sessionID);
|
|
183
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
183
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service31, instances));
|
|
184
184
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
185
185
|
sessionID,
|
|
186
186
|
id: skill.id,
|
|
@@ -237,13 +237,13 @@ ${error.message}`,
|
|
|
237
237
|
const session = yield* get(sessionID);
|
|
238
238
|
if (yield* execution.isActive(sessionID))
|
|
239
239
|
return yield* new BusyError2({ sessionID });
|
|
240
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
240
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service31, instances), Effect.provideService(Service84, database), Effect.provideService(Service83, bus));
|
|
241
241
|
});
|
|
242
242
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
243
243
|
const session = yield* get(sessionID);
|
|
244
244
|
if (yield* execution.isActive(sessionID))
|
|
245
245
|
return yield* new BusyError2({ sessionID });
|
|
246
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
246
|
+
yield* clear2(session).pipe(Effect.provideService(Service31, instances), Effect.provideService(Service83, bus));
|
|
247
247
|
return yield* execution.wake(sessionID);
|
|
248
248
|
});
|
|
249
249
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./managed-policy-kg45nmpk.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service75,
|
|
8
|
+
node79
|
|
9
|
+
} from "./managed-policy-dp60fnpg.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./managed-policy-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./managed-policy-mpk0rfs5.js";
|
|
16
16
|
import {
|
|
17
17
|
validateAnswer2,
|
|
18
18
|
validateFields2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./managed-policy-ay5jnjb4.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/integration.ts
|
|
25
25
|
var exports_integration = {};
|
|
@@ -34,17 +34,17 @@ __export(exports_integration, {
|
|
|
34
34
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
35
35
|
CommandMethod: () => CommandMethod2,
|
|
36
36
|
EnvMethod: () => EnvMethod2,
|
|
37
|
-
Event: () =>
|
|
38
|
-
ID: () =>
|
|
39
|
-
Info: () =>
|
|
37
|
+
Event: () => Event17,
|
|
38
|
+
ID: () => ID13,
|
|
39
|
+
Info: () => Info27,
|
|
40
40
|
Integration: () => exports_integration,
|
|
41
41
|
KeyMethod: () => KeyMethod2,
|
|
42
42
|
Method: () => Method2,
|
|
43
43
|
MethodID: () => MethodID2,
|
|
44
44
|
OAuthMethod: () => OAuthMethod2,
|
|
45
45
|
Ref: () => Ref3,
|
|
46
|
-
Service: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
Service: () => Service74,
|
|
47
|
+
node: () => node78
|
|
48
48
|
});
|
|
49
49
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
50
50
|
import {
|
|
@@ -66,8 +66,8 @@ import {
|
|
|
66
66
|
import { Integration } from "@opencode/schema/integration";
|
|
67
67
|
import { AppProcess } from "@opencode/util/process";
|
|
68
68
|
import { ChildProcess } from "effect/unstable/process";
|
|
69
|
-
import { Event as
|
|
70
|
-
var
|
|
69
|
+
import { Event as Event17 } from "@opencode/schema/integration";
|
|
70
|
+
var ID13 = Integration.ID;
|
|
71
71
|
var MethodID2 = Integration.MethodID;
|
|
72
72
|
var AttemptID2 = Integration.AttemptID;
|
|
73
73
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -75,7 +75,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
75
75
|
var KeyMethod2 = Integration.KeyMethod;
|
|
76
76
|
var EnvMethod2 = Integration.EnvMethod;
|
|
77
77
|
var Method2 = Integration.Method;
|
|
78
|
-
var
|
|
78
|
+
var Info27 = Integration.Info;
|
|
79
79
|
var Attempt2 = Integration.Attempt;
|
|
80
80
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
81
81
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -98,19 +98,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
101
|
-
integrationID:
|
|
101
|
+
integrationID: ID13,
|
|
102
102
|
attemptID: AttemptID2
|
|
103
103
|
}) {
|
|
104
104
|
}
|
|
105
105
|
var Ref3 = Integration.Ref;
|
|
106
106
|
|
|
107
|
-
class
|
|
107
|
+
class Service74 extends Context.Service()("@opencode/Integration") {
|
|
108
108
|
}
|
|
109
109
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
110
110
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
111
111
|
var scrubInterval = Duration.seconds(30);
|
|
112
|
-
var layer = Layer.effect(
|
|
113
|
-
const credentials = yield*
|
|
112
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
113
|
+
const credentials = yield* Service75;
|
|
114
114
|
const bus = yield* Service83;
|
|
115
115
|
const processes = yield* AppProcess.Service;
|
|
116
116
|
const scope = yield* Scope.Scope;
|
|
@@ -207,7 +207,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
207
207
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
208
208
|
return [...credentials, ...env];
|
|
209
209
|
};
|
|
210
|
-
const project = (entry, connections) =>
|
|
210
|
+
const project = (entry, connections) => Info27.make({
|
|
211
211
|
id: entry.ref.id,
|
|
212
212
|
name: entry.ref.name,
|
|
213
213
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -440,7 +440,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
440
440
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
441
441
|
return CommandAttempt2.make({ attemptID, time });
|
|
442
442
|
});
|
|
443
|
-
return
|
|
443
|
+
return Service74.of({
|
|
444
444
|
transform: state.transform,
|
|
445
445
|
reload: state.reload,
|
|
446
446
|
revision: state.revision,
|
|
@@ -599,10 +599,10 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
599
599
|
}
|
|
600
600
|
});
|
|
601
601
|
}));
|
|
602
|
-
var
|
|
603
|
-
service:
|
|
602
|
+
var node78 = makeLocationNode({
|
|
603
|
+
service: Service74,
|
|
604
604
|
layer,
|
|
605
|
-
deps: [
|
|
605
|
+
deps: [node79, node87, AppProcess.node]
|
|
606
606
|
});
|
|
607
607
|
|
|
608
|
-
export {
|
|
608
|
+
export { ID13, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info27, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service74, node78, exports_integration, Event17 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./managed-policy-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./managed-policy-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./managed-policy-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";
|