@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,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service68
|
|
4
|
+
} from "./managed-policy-5kz5d5f2.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service78
|
|
7
|
+
} from "./managed-policy-jj9twaj5.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./managed-policy-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin47
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin47 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service68;
|
|
27
|
+
const snapshot = yield* Service78;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin2 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin47, exports_snapshot };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
10
|
+
configured: () => configured8,
|
|
11
|
+
layer: () => layer21,
|
|
12
12
|
make: () => make21,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node68,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
@@ -28,8 +28,8 @@ function make21(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer21 = (input) => Layer.succeed(Metadata2, make21(input));
|
|
32
|
+
var configured8 = (input) => makeGlobalNode({ service: Metadata2, layer: layer21(input), deps: [] });
|
|
33
|
+
var node68 = configured8();
|
|
34
34
|
|
|
35
|
-
export { Metadata2, make21, useragent2,
|
|
35
|
+
export { Metadata2, make21, useragent2, layer21, configured8, node68, exports_app };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_opencode, {
|
|
|
8
8
|
ModelsInput: () => ModelsInput2,
|
|
9
9
|
MoveInput: () => MoveInput2,
|
|
10
10
|
OpenCodeTools: () => exports_opencode,
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin9,
|
|
12
12
|
RenameInput: () => RenameInput2
|
|
13
13
|
});
|
|
14
14
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -64,7 +64,7 @@ var ModelsOutput = Schema.Struct({
|
|
|
64
64
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
65
65
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
66
66
|
});
|
|
67
|
-
var
|
|
67
|
+
var Plugin9 = {
|
|
68
68
|
id: "opencode.tools",
|
|
69
69
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
70
70
|
const hook = (event) => Effect.sync(() => {
|
|
@@ -161,4 +161,4 @@ var Plugin25 = {
|
|
|
161
161
|
})
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
export { RenameInput2, MoveInput2, ModelsInput2,
|
|
164
|
+
export { RenameInput2, MoveInput2, ModelsInput2, Plugin9, exports_opencode };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service68
|
|
7
|
+
} from "./managed-policy-5kz5d5f2.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./managed-policy-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
12
|
Service61
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./managed-policy-419cber8.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service46
|
|
16
|
+
} from "./managed-policy-sevzz86w.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service55
|
|
19
|
+
} from "./managed-policy-trpx7285.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service14,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./managed-policy-fnf2bk90.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./managed-policy-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service67,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./managed-policy-cmtfrzch.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError3,
|
|
36
|
+
Service34
|
|
37
|
+
} from "./managed-policy-zhfehfcb.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service15
|
|
40
|
+
} from "./managed-policy-8rgs9ycy.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./managed-policy-mqbe75y8.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell = {};
|
|
50
|
+
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input7,
|
|
53
|
+
Plugin: () => Plugin7,
|
|
54
|
+
ShellTool: () => exports_shell,
|
|
55
|
+
name: () => name7
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name7 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input7 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
|
|
|
116
116
|
truncated: false,
|
|
117
117
|
status: "running"
|
|
118
118
|
});
|
|
119
|
-
var
|
|
119
|
+
var Plugin7 = {
|
|
120
120
|
id: "opencode.tool.shell",
|
|
121
121
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
122
|
-
const sessions = yield*
|
|
123
|
-
const jobs = yield*
|
|
122
|
+
const sessions = yield* Service15;
|
|
123
|
+
const jobs = yield* Service46;
|
|
124
124
|
const scope = yield* Scope.Scope;
|
|
125
125
|
const environment = yield* Service61;
|
|
126
|
-
const access = yield*
|
|
127
|
-
const shell = yield*
|
|
128
|
-
const shellSelect = yield*
|
|
126
|
+
const access = yield* Service14;
|
|
127
|
+
const shell = yield* Service34;
|
|
128
|
+
const shellSelect = yield* Service67;
|
|
129
129
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
130
|
-
const permission = yield*
|
|
131
|
-
const config = yield*
|
|
130
|
+
const permission = yield* Service55;
|
|
131
|
+
const config = yield* Service68;
|
|
132
132
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
133
133
|
const source = {
|
|
134
134
|
type: "tool",
|
|
@@ -147,7 +147,7 @@ var Plugin24 = {
|
|
|
147
147
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
148
148
|
if (parsed.commands.length > 0)
|
|
149
149
|
yield* permission.assert({
|
|
150
|
-
action:
|
|
150
|
+
action: name7,
|
|
151
151
|
resources: parsed.commands.map((command) => command.resource),
|
|
152
152
|
save: parsed.commands.map((command) => command.save),
|
|
153
153
|
sessionID: context.sessionID,
|
|
@@ -184,10 +184,10 @@ var Plugin24 = {
|
|
|
184
184
|
yield* jobs.completeBackground(info.notificationID);
|
|
185
185
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
186
186
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
187
|
-
name:
|
|
187
|
+
name: name7,
|
|
188
188
|
options: { codemode: false },
|
|
189
189
|
description: description(),
|
|
190
|
-
input:
|
|
190
|
+
input: Input7,
|
|
191
191
|
output: Output,
|
|
192
192
|
execute: (input, context) => Effect.gen(function* () {
|
|
193
193
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -210,7 +210,7 @@ var Plugin24 = {
|
|
|
210
210
|
const run = Effect.gen(function* () {
|
|
211
211
|
const result = yield* shell.result(info);
|
|
212
212
|
if (!result.capture)
|
|
213
|
-
return yield* new
|
|
213
|
+
return yield* new NotFoundError3({ id: info.id });
|
|
214
214
|
const output = output2(result);
|
|
215
215
|
return {
|
|
216
216
|
...output,
|
|
@@ -224,7 +224,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
224
224
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
225
225
|
const job = yield* jobs.start({
|
|
226
226
|
id: info.id,
|
|
227
|
-
type:
|
|
227
|
+
type: name7,
|
|
228
228
|
title: info.command,
|
|
229
229
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
230
230
|
recovery: {
|
|
@@ -254,7 +254,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
254
254
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
255
255
|
})).pipe(Effect.orDie);
|
|
256
256
|
const hook = (event) => Effect.gen(function* () {
|
|
257
|
-
const tool = event.tools[
|
|
257
|
+
const tool = event.tools[name7];
|
|
258
258
|
if (!tool)
|
|
259
259
|
return;
|
|
260
260
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -265,4 +265,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
265
265
|
})
|
|
266
266
|
};
|
|
267
267
|
|
|
268
|
-
export {
|
|
268
|
+
export { name7, DEFAULT_TIMEOUT_MS2, Input7, Plugin7, exports_shell };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/unstable/process";
|
|
8
|
-
function
|
|
8
|
+
function make8(input) {
|
|
9
9
|
const disabled = false;
|
|
10
10
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
11
11
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -261,4 +261,4 @@ function isRecord(input) {
|
|
|
261
261
|
return Boolean(input && typeof input === "object" && !Array.isArray(input));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { make8 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./managed-policy-kg45nmpk.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service25,
|
|
7
|
+
node28
|
|
8
|
+
} from "./managed-policy-vh04mdhz.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service55,
|
|
11
|
+
node57
|
|
12
|
+
} from "./managed-policy-trpx7285.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service37,
|
|
15
|
+
node39
|
|
16
|
+
} from "./managed-policy-ced978hc.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
25
|
+
Service: () => Service19,
|
|
26
|
+
layer: () => layer9,
|
|
27
27
|
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node22
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
36
|
var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service19 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
40
|
+
var layer9 = Layer.effect(Service19, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service25;
|
|
42
|
+
const tools = yield* Service37;
|
|
43
43
|
const bus = yield* Service83;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service55;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -118,12 +118,12 @@ var layer11 = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service19.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node22 = makeLocationNode({
|
|
124
|
+
service: Service19,
|
|
125
|
+
layer: layer9,
|
|
126
|
+
deps: [node39, node28, node87, node57]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2, name13,
|
|
129
|
+
export { namespace2, name13, Service19, layer9, node22, exports_mcp3 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service46
|
|
3
|
+
} from "./managed-policy-sevzz86w.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service15
|
|
6
|
+
} from "./managed-policy-8rgs9ycy.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./managed-policy-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
17
17
|
__export(exports_subagent_job, {
|
|
18
18
|
SubagentJob: () => exports_subagent_job,
|
|
19
|
-
make: () =>
|
|
19
|
+
make: () => make9
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
|
-
var
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
22
|
+
var make9 = Effect.gen(function* () {
|
|
23
|
+
const sessions = yield* Service15;
|
|
24
|
+
const jobs = yield* Service46;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -58,4 +58,4 @@ var make7 = Effect.gen(function* () {
|
|
|
58
58
|
};
|
|
59
59
|
});
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { make9, exports_subagent_job };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./managed-policy-c488s98d.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./managed-policy-gv6a8nnw.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make17
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make17 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service81;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -46,4 +46,4 @@ var make18 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make17, exports_git2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options10,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options10 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options10]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options10, Spec2, exports_plugin3 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./managed-policy-azsgmn80.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service79,
|
|
9
|
+
node83
|
|
10
|
+
} from "./managed-policy-y8hy265e.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service55,
|
|
13
|
+
node57
|
|
14
|
+
} from "./managed-policy-trpx7285.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
Service: () => Service14,
|
|
26
|
+
node: () => node17,
|
|
27
27
|
resolvePath: () => resolvePath2
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
37
37
|
kind: Kind2.pipe(Schema.optional)
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service14 extends Context.Service()("@opencode/FileAccess") {
|
|
41
41
|
}
|
|
42
42
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
43
43
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -49,10 +49,10 @@ var invocation = (context) => ({
|
|
|
49
49
|
agent: context.agent,
|
|
50
50
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
51
51
|
});
|
|
52
|
-
var layer = Layer.effect(
|
|
52
|
+
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
|
-
const location = yield*
|
|
55
|
-
const permission = yield*
|
|
54
|
+
const location = yield* Service79;
|
|
55
|
+
const permission = yield* Service55;
|
|
56
56
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
57
57
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
58
58
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
101
101
|
});
|
|
102
102
|
return target;
|
|
103
103
|
});
|
|
104
|
-
return
|
|
104
|
+
return Service14.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var
|
|
106
|
+
var node17 = makeLocationNode({ service: Service14, layer, deps: [FSUtil.node, node83, node57] });
|
|
107
107
|
|
|
108
|
-
export { Kind2, ResolveInput2,
|
|
108
|
+
export { Kind2, ResolveInput2, Service14, resolvePath2, node17, exports_file_access };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-jw5senje.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./managed-policy-psc3xzs8.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|