@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,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service52,
|
|
3
|
+
node54
|
|
4
|
+
} from "./managed-policy-1n6mmq6e.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./managed-policy-pds74t41.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/session/runner/model.ts
|
|
13
13
|
var exports_model = {};
|
|
14
14
|
__export(exports_model, {
|
|
15
15
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
16
16
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service32,
|
|
18
18
|
SessionRunnerModel: () => exports_model,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node34,
|
|
20
20
|
resolved: () => resolved2
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service32 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
43
43
|
}
|
|
44
44
|
var resolved2 = (model, options) => ({
|
|
45
45
|
model,
|
|
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
|
|
|
54
54
|
compaction: options.compaction,
|
|
55
55
|
transport: options.transport
|
|
56
56
|
});
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const resolver = yield*
|
|
59
|
-
return
|
|
57
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
58
|
+
const resolver = yield* Service52;
|
|
59
|
+
return Service32.of({
|
|
60
60
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
61
61
|
if (!session.model) {
|
|
62
62
|
const resolved = yield* resolver.resolve();
|
|
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
}));
|
|
77
|
-
var
|
|
77
|
+
var node34 = makeLocationNode({ service: Service32, layer, deps: [node54] });
|
|
78
78
|
|
|
79
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
79
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service32, resolved2, node34, exports_model };
|
|
@@ -1,71 +1,71 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node85
|
|
7
|
+
} from "./managed-policy-c488s98d.js";
|
|
8
8
|
import {
|
|
9
9
|
Slug2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./managed-policy-gebd4c9n.js";
|
|
11
11
|
import {
|
|
12
12
|
Service84,
|
|
13
13
|
node88
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./managed-policy-fnyhqzb8.js";
|
|
15
15
|
import {
|
|
16
16
|
Service83,
|
|
17
17
|
node87
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./managed-policy-kg45nmpk.js";
|
|
19
19
|
import {
|
|
20
20
|
ProjectTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./managed-policy-wd3x2cqz.js";
|
|
22
22
|
import {
|
|
23
23
|
WorktreeTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./managed-policy-94ek1h2f.js";
|
|
25
25
|
import {
|
|
26
26
|
ID17,
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
NotFoundError10
|
|
28
|
+
} from "./managed-policy-azsgmn80.js";
|
|
29
29
|
import {
|
|
30
30
|
Ref4
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./managed-policy-y8hy265e.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service63,
|
|
34
|
+
node66
|
|
35
|
+
} from "./managed-policy-gva4y1sd.js";
|
|
36
36
|
import {
|
|
37
37
|
DirectoryUnavailableError2,
|
|
38
38
|
canonical2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./managed-policy-gv6a8nnw.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
} from "./
|
|
41
|
+
make17
|
|
42
|
+
} from "./managed-policy-fbawcmnd.js";
|
|
43
43
|
import {
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
44
|
+
Service39
|
|
45
|
+
} from "./managed-policy-dzp4nhj1.js";
|
|
46
46
|
import {
|
|
47
47
|
__export
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
49
49
|
|
|
50
50
|
// src/worktree.ts
|
|
51
51
|
var exports_worktree2 = {};
|
|
52
52
|
__export(exports_worktree2, {
|
|
53
|
-
CreateInput: () =>
|
|
53
|
+
CreateInput: () => CreateInput2,
|
|
54
54
|
DestinationExistsError: () => DestinationExistsError2,
|
|
55
55
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
56
|
-
Event: () =>
|
|
57
|
-
Info: () =>
|
|
56
|
+
Event: () => Event4,
|
|
57
|
+
Info: () => Info6,
|
|
58
58
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
59
59
|
List: () => List2,
|
|
60
60
|
ListEntry: () => ListEntry3,
|
|
61
61
|
OperationError: () => OperationError2,
|
|
62
62
|
RemoveInput: () => RemoveInput2,
|
|
63
|
-
Service: () =>
|
|
63
|
+
Service: () => Service38,
|
|
64
64
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
65
65
|
StrategyID: () => StrategyID2,
|
|
66
66
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
67
67
|
Worktree: () => exports_worktree2,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node40
|
|
69
69
|
});
|
|
70
70
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
71
71
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -77,9 +77,9 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
77
77
|
import { ChildProcess } from "effect/unstable/process";
|
|
78
78
|
import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
79
79
|
var StrategyID2 = Worktree.StrategyID;
|
|
80
|
-
var
|
|
80
|
+
var CreateInput2 = Worktree.CreateInput;
|
|
81
81
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
82
|
-
var
|
|
82
|
+
var Info6 = Worktree.Info;
|
|
83
83
|
var List2 = Worktree.List;
|
|
84
84
|
var ListEntry3 = Worktree.ListEntry;
|
|
85
85
|
|
|
@@ -94,22 +94,22 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
94
94
|
|
|
95
95
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
96
96
|
}
|
|
97
|
-
var
|
|
97
|
+
var Event4 = Worktree.Event;
|
|
98
98
|
|
|
99
|
-
class
|
|
99
|
+
class Service38 extends Context.Service()("@opencode/Worktree") {
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
103
|
const database = yield* Service84;
|
|
104
104
|
const db = database.db;
|
|
105
105
|
const bus = yield* Service83;
|
|
106
106
|
const processService = yield* AppProcess.Service;
|
|
107
|
-
const locations = yield*
|
|
108
|
-
const gitStrategy = yield*
|
|
107
|
+
const locations = yield* Service63;
|
|
108
|
+
const gitStrategy = yield* make17;
|
|
109
109
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
110
110
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
111
111
|
if (!row)
|
|
112
|
-
return yield* new
|
|
112
|
+
return yield* new NotFoundError10({ projectID });
|
|
113
113
|
return row;
|
|
114
114
|
});
|
|
115
115
|
const load = Effect.fnUntraced(function* (directory, current) {
|
|
@@ -120,11 +120,11 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
120
120
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
121
121
|
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
122
122
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
123
|
-
return Context.get(context,
|
|
123
|
+
return Context.get(context, Service39).get();
|
|
124
124
|
});
|
|
125
125
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
126
126
|
if (update)
|
|
127
|
-
yield* bus.publish(
|
|
127
|
+
yield* bus.publish(Event4.Updated, { projectID });
|
|
128
128
|
});
|
|
129
129
|
const ops = {
|
|
130
130
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
251
251
|
})).pipe(Effect.orDie);
|
|
252
252
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
253
253
|
}, Effect.scoped);
|
|
254
|
-
return
|
|
254
|
+
return Service38.of({
|
|
255
255
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
256
256
|
yield* project(input.projectID);
|
|
257
257
|
return yield* ops.list(input.projectID);
|
|
@@ -261,10 +261,10 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
261
261
|
refresh
|
|
262
262
|
});
|
|
263
263
|
}));
|
|
264
|
-
var
|
|
265
|
-
service:
|
|
264
|
+
var node40 = Node.makeGlobalNode({
|
|
265
|
+
service: Service38,
|
|
266
266
|
layer,
|
|
267
|
-
deps: [FSUtil.node,
|
|
267
|
+
deps: [FSUtil.node, node85, node87, node88, AppProcess.node, node66]
|
|
268
268
|
});
|
|
269
269
|
function operationError(strategy, operation, error) {
|
|
270
270
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -274,4 +274,4 @@ function operationError(strategy, operation, error) {
|
|
|
274
274
|
});
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
-
export { StrategyID2,
|
|
277
|
+
export { StrategyID2, CreateInput2, RemoveInput2, Info6, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event4, Service38, node40, exports_worktree2, OperationError2 };
|
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./managed-policy-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service81,
|
|
9
|
+
node85
|
|
10
|
+
} from "./managed-policy-c488s98d.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service79,
|
|
13
|
+
node83
|
|
14
|
+
} from "./managed-policy-y8hy265e.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./managed-policy-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error5,
|
|
26
|
+
ID: () => ID16,
|
|
27
|
+
Service: () => Service78,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node82,
|
|
30
|
+
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID16 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error5 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service78 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service81;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service79;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error5({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error5({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID16.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service78.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node82 = makeLocationNode({
|
|
144
|
+
service: Service78,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node85, Global.node, node83]
|
|
147
147
|
});
|
|
148
|
-
var
|
|
148
|
+
var noopLayer3 = Layer.succeed(Service78, Service78.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service36, Service36.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error5 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error5({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID16, Error5, Service78, node82, noopLayer3, exports_snapshot2 };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./managed-policy-y8hy265e.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service68
|
|
9
|
+
} from "./managed-policy-5kz5d5f2.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./managed-policy-xnnfrr0j.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./managed-policy-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin34
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin34 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service68;
|
|
35
|
+
const location = yield* Service79;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin34, exports_reference };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service59,
|
|
10
|
+
node: () => node61
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service59 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service59.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node61 = makeLocationNode({ service: Service59, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service59, node61, exports_hooks };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./managed-policy-3bz26n7f.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./managed-policy-pqe1tcjk.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -20,7 +20,7 @@ class EffectSQLiteDatabase2 extends SQLiteEffectDatabase2 {
|
|
|
20
20
|
static [entityKind] = "EffectSQLiteDatabase";
|
|
21
21
|
}
|
|
22
22
|
var DefaultServices2 = Layer.merge(EffectCache.Default, EffectLogger.Default);
|
|
23
|
-
var
|
|
23
|
+
var make23 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
|
|
24
24
|
const client = yield* SqlClient;
|
|
25
25
|
const cache = yield* EffectCache;
|
|
26
26
|
const logger = yield* EffectLogger;
|
|
@@ -37,6 +37,6 @@ var make22 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
|
|
|
37
37
|
db.$cache.invalidate = cache.onMutate;
|
|
38
38
|
return db;
|
|
39
39
|
});
|
|
40
|
-
var makeWithDefaults2 = (config = {}) =>
|
|
40
|
+
var makeWithDefaults2 = (config = {}) => make23(config).pipe(Effect.provide(DefaultServices2));
|
|
41
41
|
|
|
42
|
-
export { EffectSQLiteDatabase2, DefaultServices2,
|
|
42
|
+
export { EffectSQLiteDatabase2, DefaultServices2, make23, makeWithDefaults2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./managed-policy-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./managed-policy-pds74t41.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service73
|
|
4
|
+
} from "./managed-policy-875prqq3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service68
|
|
7
|
+
} from "./managed-policy-5kz5d5f2.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service73;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service68);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./managed-policy-fnyhqzb8.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./managed-policy-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./managed-policy-y71avatq.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|