@opencode/core 2.0.19 → 2.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{ripgrep-nrzkffvv.js → credential-01764t6m.js} +9 -9
- package/dist/chunks/{ripgrep-r7xja54h.js → credential-0ap57xmb.js} +11 -11
- package/dist/chunks/{ripgrep-fa7h6qtp.js → credential-0m7nkzkh.js} +8 -8
- package/dist/chunks/{ripgrep-0paq2nw3.js → credential-0paq2nw3.js} +1 -1
- package/dist/chunks/{ripgrep-1sxym04w.js → credential-0y2g8rq0.js} +18 -18
- package/dist/chunks/{ripgrep-ngmgdt3b.js → credential-17xqc022.js} +11 -11
- package/dist/chunks/{ripgrep-02cm5gdc.js → credential-1aavndqb.js} +11 -11
- package/dist/chunks/{ripgrep-1dazxqgg.js → credential-1dazxqgg.js} +2 -2
- package/dist/chunks/{ripgrep-se19vg8t.js → credential-1hnfrh0d.js} +35 -31
- package/dist/chunks/{ripgrep-ygfh7z4x.js → credential-1kkkrqff.js} +26 -26
- package/dist/chunks/{ripgrep-dkmyvpj5.js → credential-1qkzpzzz.js} +21 -21
- package/dist/chunks/{ripgrep-cvmm0xs5.js → credential-1r1tv6v0.js} +10 -10
- package/dist/chunks/{ripgrep-21r38tys.js → credential-21r38tys.js} +1 -1
- package/dist/chunks/{ripgrep-2a5m3afh.js → credential-2a5m3afh.js} +1 -1
- package/dist/chunks/{ripgrep-y7x7h62n.js → credential-2dwnk97h.js} +15 -15
- package/dist/chunks/{ripgrep-ncxf1vrd.js → credential-2exk30js.js} +5 -5
- package/dist/chunks/{ripgrep-n8c1xpsf.js → credential-2z5bkz89.js} +34 -34
- package/dist/chunks/{ripgrep-vcctfkdr.js → credential-30g65q41.js} +19 -19
- package/dist/chunks/{ripgrep-v8kmpyqg.js → credential-30men631.js} +22 -22
- package/dist/chunks/{ripgrep-smcq1pfk.js → credential-320xhtpp.js} +10 -10
- package/dist/chunks/{ripgrep-e6q37ddf.js → credential-32ymn5e1.js} +9 -9
- package/dist/chunks/{ripgrep-g5pjqc12.js → credential-34vw7f1n.js} +14 -14
- package/dist/chunks/{ripgrep-nqp5g4n1.js → credential-35vy03by.js} +17 -17
- package/dist/chunks/{ripgrep-rwk8kepb.js → credential-37axwcy6.js} +31 -31
- package/dist/chunks/{ripgrep-t6zs6zyr.js → credential-3c8vhndt.js} +8 -8
- package/dist/chunks/{ripgrep-f1mz2x80.js → credential-3ev070rc.js} +20 -20
- package/dist/chunks/{ripgrep-3fc6dm20.js → credential-3fc6dm20.js} +1 -1
- package/dist/chunks/{ripgrep-513gj428.js → credential-3g99d3pg.js} +5 -5
- package/dist/chunks/{ripgrep-3hepkmqq.js → credential-3hepkmqq.js} +1 -1
- package/dist/chunks/{ripgrep-3smtnn6g.js → credential-3smtnn6g.js} +1 -1
- package/dist/chunks/{ripgrep-3tvqynh2.js → credential-3tvqynh2.js} +1 -1
- package/dist/chunks/{ripgrep-3cfzdc8e.js → credential-3w2b2yj4.js} +5 -5
- package/dist/chunks/{ripgrep-3zsf4n22.js → credential-3zsf4n22.js} +1 -1
- package/dist/chunks/{ripgrep-ef8r30dj.js → credential-49dxcv90.js} +28 -28
- package/dist/chunks/{ripgrep-5dkn69vz.js → credential-4j4tgtq5.js} +4 -4
- package/dist/chunks/{ripgrep-qwk9htef.js → credential-4mdx2368.js} +9 -9
- package/dist/chunks/{ripgrep-w8qr023e.js → credential-4pk2n38q.js} +25 -25
- package/dist/chunks/{ripgrep-pzz9wtjp.js → credential-4tbg5pgg.js} +4 -4
- package/dist/chunks/credential-4v7qdvcn.js +18 -0
- package/dist/chunks/{ripgrep-54ma36ye.js → credential-54ma36ye.js} +1 -1
- package/dist/chunks/{ripgrep-54tcyq79.js → credential-54tcyq79.js} +2 -2
- package/dist/chunks/{ripgrep-57ez7d0k.js → credential-57ez7d0k.js} +2 -2
- package/dist/chunks/{ripgrep-5daktx2q.js → credential-5daktx2q.js} +1 -1
- package/dist/chunks/{ripgrep-f8ys8j9y.js → credential-5gg7jdww.js} +13 -13
- package/dist/chunks/{ripgrep-7rkndmtb.js → credential-5hxyj64z.js} +12 -12
- package/dist/chunks/{ripgrep-e3qxr5gk.js → credential-5qd3pb7m.js} +2 -2
- package/dist/chunks/{ripgrep-5t3nmthw.js → credential-5t3nmthw.js} +2 -2
- package/dist/chunks/{ripgrep-3xwj4cta.js → credential-5te2f5xw.js} +31 -31
- package/dist/chunks/{ripgrep-717rh1cx.js → credential-63fq9d04.js} +11 -11
- package/dist/chunks/{ripgrep-vpq7wwjy.js → credential-6582e1zf.js} +25 -6
- package/dist/chunks/{ripgrep-669tq793.js → credential-669tq793.js} +1 -1
- package/dist/chunks/{ripgrep-bmw6bt9k.js → credential-67hdgqhw.js} +23 -23
- package/dist/chunks/{ripgrep-meaywfr2.js → credential-69vgqr14.js} +20 -20
- package/dist/chunks/{ripgrep-0gaj4617.js → credential-6ersrjne.js} +4 -4
- package/dist/chunks/{ripgrep-50epje6z.js → credential-6fmzyh88.js} +37 -37
- package/dist/chunks/{ripgrep-6msgmcgs.js → credential-6msgmcgs.js} +1 -1
- package/dist/chunks/{ripgrep-966px1fx.js → credential-6n174ycw.js} +12 -12
- package/dist/chunks/{ripgrep-xd3pt1yp.js → credential-6pqttx51.js} +3 -3
- package/dist/chunks/{ripgrep-1gq8q7z3.js → credential-6vhy8yb4.js} +30 -30
- package/dist/chunks/{ripgrep-1cwrqxta.js → credential-6wqdzgpe.js} +11 -11
- package/dist/chunks/{ripgrep-39z47dss.js → credential-6yvxz189.js} +9 -9
- package/dist/chunks/{ripgrep-0tkrsm5y.js → credential-76832g3x.js} +7 -7
- package/dist/chunks/{ripgrep-7bmhse3q.js → credential-7bmhse3q.js} +1 -1
- package/dist/chunks/{ripgrep-7dqw4kz8.js → credential-7dqw4kz8.js} +1 -1
- package/dist/chunks/{ripgrep-rpwtn2yk.js → credential-7j45yeqe.js} +22 -22
- package/dist/chunks/{ripgrep-wpj1vscs.js → credential-7mpr3p1f.js} +5 -5
- package/dist/chunks/{ripgrep-36zg1nxf.js → credential-7pmn0fht.js} +23 -23
- package/dist/chunks/{ripgrep-v121z1z6.js → credential-7svg9qyr.js} +3 -3
- package/dist/chunks/{ripgrep-w52wajpr.js → credential-7w99qc9d.js} +3 -3
- package/dist/chunks/{ripgrep-dxh6ecs0.js → credential-7x29ec5h.js} +5 -5
- package/dist/chunks/{ripgrep-vyrd71eq.js → credential-818pfwc9.js} +11 -11
- package/dist/chunks/{ripgrep-84txncab.js → credential-84txncab.js} +1 -1
- package/dist/chunks/{ripgrep-pa2d04qg.js → credential-860w7ty6.js} +4 -4
- package/dist/chunks/{ripgrep-wnbq8dq2.js → credential-87kvv8a5.js} +141 -33
- package/dist/chunks/{ripgrep-qsjn5gcs.js → credential-8as63f7d.js} +11 -11
- package/dist/chunks/{ripgrep-8d7r5vzw.js → credential-8d7r5vzw.js} +1 -1
- package/dist/chunks/{ripgrep-zyft68ff.js → credential-8rsx1zec.js} +3 -3
- package/dist/chunks/{ripgrep-ysddpjww.js → credential-8wb366f9.js} +6 -6
- package/dist/chunks/{ripgrep-ztychdw2.js → credential-8ytcc0ez.js} +18 -18
- package/dist/chunks/{ripgrep-gpj7vvxj.js → credential-965ggptx.js} +12 -12
- package/dist/chunks/{ripgrep-87ppwq26.js → credential-995e57hq.js} +7 -7
- package/dist/chunks/{ripgrep-45gjfn9y.js → credential-9asmjjbg.js} +8 -8
- package/dist/chunks/{ripgrep-9eq5kwq7.js → credential-9eq5kwq7.js} +2 -2
- package/dist/chunks/{ripgrep-engkm2d6.js → credential-9pkkzrmj.js} +5 -5
- package/dist/chunks/{ripgrep-jjyafwrj.js → credential-9q51rf9r.js} +13 -13
- package/dist/chunks/{ripgrep-gn9knv9y.js → credential-9v0v5k0m.js} +39 -39
- package/dist/chunks/{ripgrep-7zx59yv5.js → credential-9ysd9rcf.js} +13 -13
- package/dist/chunks/{ripgrep-aaet6srn.js → credential-aaet6srn.js} +2 -2
- package/dist/chunks/{ripgrep-prwn914c.js → credential-akwq9tj0.js} +19 -19
- package/dist/chunks/{ripgrep-q68zcp6s.js → credential-as42p2kz.js} +13 -13
- package/dist/chunks/{ripgrep-ybn4q7y2.js → credential-b3rzqckw.js} +13 -13
- package/dist/chunks/{ripgrep-p05254f8.js → credential-b46899qp.js} +11 -11
- package/dist/chunks/{ripgrep-b6gygkdw.js → credential-b6gygkdw.js} +2 -2
- package/dist/chunks/{ripgrep-bjtzbw4r.js → credential-bjtzbw4r.js} +3 -3
- package/dist/chunks/{ripgrep-hpgwsqwz.js → credential-bkxev147.js} +9 -9
- package/dist/chunks/{ripgrep-jyx4k4a6.js → credential-bnqp8nta.js} +15 -15
- package/dist/chunks/{ripgrep-cdm0dq9n.js → credential-bw9zjykr.js} +6 -6
- package/dist/chunks/{ripgrep-y3fm06sq.js → credential-c6hr400c.js} +3 -3
- package/dist/chunks/{ripgrep-wc7bkbrs.js → credential-c86te7yw.js} +9 -9
- package/dist/chunks/credential-c9ejnn61.js +252 -0
- package/dist/chunks/{ripgrep-vf281y08.js → credential-ca7kmppq.js} +11 -11
- package/dist/chunks/{ripgrep-bj8n3aze.js → credential-ccg1mtqe.js} +28 -28
- package/dist/chunks/{ripgrep-2djhngnv.js → credential-cckay3nk.js} +8 -8
- package/dist/chunks/{ripgrep-y38ja4bc.js → credential-cfm9g534.js} +8 -8
- package/dist/chunks/{ripgrep-3crkzcp9.js → credential-cjfyp86a.js} +41 -41
- package/dist/chunks/{ripgrep-dym78pc8.js → credential-cn1v2m3x.js} +8 -8
- package/dist/chunks/{ripgrep-pyrtyedv.js → credential-cr4nqcbv.js} +11 -11
- package/dist/chunks/{ripgrep-a4pew0st.js → credential-ct0b5bas.js} +49 -49
- package/dist/chunks/{ripgrep-cwa6csj7.js → credential-cwa6csj7.js} +2 -2
- package/dist/chunks/{ripgrep-hq3kn9m3.js → credential-d7srgpft.js} +3 -3
- package/dist/chunks/{ripgrep-bf0ztrs3.js → credential-dfe8djrf.js} +4 -4
- package/dist/chunks/{ripgrep-6d4369ev.js → credential-dmr0vvsc.js} +5 -5
- package/dist/chunks/{ripgrep-r4tkwkgd.js → credential-dn5d15e9.js} +3 -3
- package/dist/chunks/{ripgrep-4dgbcxzg.js → credential-dnxkq42g.js} +6 -4
- package/dist/chunks/{ripgrep-y71avatq.js → credential-dpkg50ah.js} +4 -4
- package/dist/chunks/{ripgrep-fzjz7zmc.js → credential-drnx3qwb.js} +26 -26
- package/dist/chunks/{ripgrep-921pky8x.js → credential-dwrr54rh.js} +29 -29
- package/dist/chunks/{ripgrep-5qt97ybp.js → credential-dzq4rv13.js} +28 -28
- package/dist/chunks/{ripgrep-kv68fk3j.js → credential-e34dw6hk.js} +180 -175
- package/dist/chunks/{ripgrep-d2aac7k2.js → credential-ead3g9p8.js} +5 -5
- package/dist/chunks/{ripgrep-ecfe7b91.js → credential-ecfe7b91.js} +2 -2
- package/dist/chunks/{ripgrep-jkka0c6f.js → credential-eeaf82dq.js} +8 -8
- package/dist/chunks/{ripgrep-ef5x83kb.js → credential-ef5x83kb.js} +1 -1
- package/dist/chunks/{ripgrep-p39gsrf5.js → credential-egndxt76.js} +43 -43
- package/dist/chunks/{ripgrep-txehjzrx.js → credential-epnck8kw.js} +22 -22
- package/dist/chunks/{ripgrep-xyv2nnj9.js → credential-eqpt8p1k.js} +22 -22
- package/dist/chunks/{ripgrep-etq0c3wd.js → credential-etq0c3wd.js} +1 -1
- package/dist/chunks/{ripgrep-sf4xqwvj.js → credential-evrr6asg.js} +31 -17
- package/dist/chunks/{ripgrep-9gz1cjgc.js → credential-eyj09mx0.js} +58 -58
- package/dist/chunks/{ripgrep-0mx2aapc.js → credential-fgashtey.js} +10 -10
- package/dist/chunks/{ripgrep-ywkfy99j.js → credential-fhs97t90.js} +9 -9
- package/dist/chunks/{ripgrep-h71w788e.js → credential-fwwk8vbp.js} +9 -9
- package/dist/chunks/{ripgrep-zf7qa2ng.js → credential-fx1epf7g.js} +46 -46
- package/dist/chunks/{ripgrep-6ap5qy5h.js → credential-fxtkerxr.js} +18 -18
- package/dist/chunks/{ripgrep-sr8ycrw9.js → credential-fyd2dh6z.js} +13 -13
- package/dist/chunks/{ripgrep-kk00bynn.js → credential-g190xswt.js} +21 -21
- package/dist/chunks/{ripgrep-pjerk14q.js → credential-g3xec8vw.js} +40 -40
- package/dist/chunks/{ripgrep-gd4qta3r.js → credential-gd4qta3r.js} +1 -1
- package/dist/chunks/{ripgrep-gfvb90ym.js → credential-gfvb90ym.js} +2 -2
- package/dist/chunks/{ripgrep-7d3cxzax.js → credential-gj6q2tkf.js} +28 -28
- package/dist/chunks/{ripgrep-92b1hf4n.js → credential-gqs84h8k.js} +28 -28
- package/dist/chunks/{ripgrep-gv6a8nnw.js → credential-gv6a8nnw.js} +2 -2
- package/dist/chunks/{ripgrep-zs8srxkn.js → credential-gv83f00q.js} +25 -25
- package/dist/chunks/{ripgrep-mtndfwk2.js → credential-gxdeyq0h.js} +18 -18
- package/dist/chunks/{ripgrep-hrj2emtv.js → credential-gygscfxn.js} +4 -4
- package/dist/chunks/{ripgrep-8zh4h089.js → credential-h6b02349.js} +5 -5
- package/dist/chunks/{ripgrep-h6vf3j39.js → credential-h6vf3j39.js} +1 -1
- package/dist/chunks/{ripgrep-bvbkwbsh.js → credential-h8vvrgsf.js} +16 -16
- package/dist/chunks/{ripgrep-h5w29vws.js → credential-hd8vw2pw.js} +1 -1
- package/dist/chunks/{ripgrep-tgqx6wbb.js → credential-hhd7x08z.js} +5 -5
- package/dist/chunks/{ripgrep-gr9s2h9h.js → credential-hvpdd4sy.js} +11 -11
- package/dist/chunks/{ripgrep-tgh33bte.js → credential-hw2ff0tr.js} +12 -12
- package/dist/chunks/{ripgrep-jceb99ws.js → credential-hyq1p8wb.js} +14 -14
- package/dist/chunks/{ripgrep-ws4630vh.js → credential-hytzprz1.js} +11 -11
- package/dist/chunks/{ripgrep-j56e64zr.js → credential-j56e64zr.js} +1 -1
- package/dist/chunks/{ripgrep-7rhad128.js → credential-j5gmcxfs.js} +20 -20
- package/dist/chunks/{ripgrep-bqypnsdg.js → credential-j6ze8jrf.js} +19 -19
- package/dist/chunks/{ripgrep-01g11k9t.js → credential-jczj3x0w.js} +21 -21
- package/dist/chunks/{ripgrep-p1nm93x7.js → credential-jv01nqvq.js} +5 -5
- package/dist/chunks/{ripgrep-jws6fkes.js → credential-jws6fkes.js} +2 -2
- package/dist/chunks/{ripgrep-v9tf4bbz.js → credential-k4sma9mx.js} +23 -23
- package/dist/chunks/{ripgrep-1ap17en5.js → credential-k553bdtw.js} +34 -34
- package/dist/chunks/{ripgrep-t6jhp5yk.js → credential-k8sz2zj3.js} +26 -26
- package/dist/chunks/{ripgrep-qfhyjwmh.js → credential-kq6h27xz.js} +4 -4
- package/dist/chunks/{ripgrep-p8xjr5qr.js → credential-kr2z21pd.js} +17 -17
- package/dist/chunks/{ripgrep-hcxgq10m.js → credential-kyh50zn5.js} +48 -48
- package/dist/chunks/{ripgrep-dhtd5fdm.js → credential-m2ddg3y2.js} +18 -18
- package/dist/chunks/{ripgrep-6v71ddka.js → credential-m2sn03fv.js} +20 -20
- package/dist/chunks/{ripgrep-m3fdjcah.js → credential-m3fdjcah.js} +1 -1
- package/dist/chunks/{ripgrep-90x597dq.js → credential-m67h27zr.js} +1 -1
- package/dist/chunks/{ripgrep-rd8q201w.js → credential-m7eh5me1.js} +12 -12
- package/dist/chunks/{ripgrep-eszpxc5c.js → credential-m9mb90fb.js} +5 -5
- package/dist/chunks/{ripgrep-m9w0rfyh.js → credential-m9w0rfyh.js} +1 -1
- package/dist/chunks/{ripgrep-mfqp6xfm.js → credential-mfqp6xfm.js} +2 -2
- package/dist/chunks/{ripgrep-98cnr0ek.js → credential-mn7chjbp.js} +9 -9
- package/dist/chunks/{ripgrep-s3ndjw50.js → credential-mpf0mq91.js} +8 -8
- package/dist/chunks/{ripgrep-amncynrr.js → credential-mr6y2ppx.js} +8 -8
- package/dist/chunks/{ripgrep-gjepqxj6.js → credential-mt8f3a05.js} +41 -41
- package/dist/chunks/{ripgrep-7962e3yf.js → credential-myd2tyxx.js} +18 -18
- package/dist/chunks/{ripgrep-784hb5j4.js → credential-mzywpf3p.js} +4 -4
- package/dist/chunks/{ripgrep-t2az9yje.js → credential-n4r3xatb.js} +4 -4
- package/dist/chunks/{ripgrep-wws8y0j5.js → credential-n6rh12ap.js} +7 -7
- package/dist/chunks/{ripgrep-vm695x1h.js → credential-n7q661v8.js} +24 -24
- package/dist/chunks/{ripgrep-tfzngn12.js → credential-nb9p6b26.js} +4 -4
- package/dist/chunks/{ripgrep-18rbsmj0.js → credential-nbajkkwv.js} +37 -29
- package/dist/chunks/{ripgrep-ervy3t4x.js → credential-nfr71wq7.js} +10 -10
- package/dist/chunks/{ripgrep-gafqwe43.js → credential-nng2ktcm.js} +2 -2
- package/dist/chunks/{ripgrep-wrw0pdsr.js → credential-nye1dag9.js} +32 -32
- package/dist/chunks/{ripgrep-nzks3jc8.js → credential-nzks3jc8.js} +3 -3
- package/dist/chunks/{ripgrep-dneah854.js → credential-p8vfyszn.js} +9 -9
- package/dist/chunks/{ripgrep-1ajx6rf5.js → credential-pa8pe2x7.js} +8 -8
- package/dist/chunks/{ripgrep-d3qdrwa5.js → credential-phmegyhy.js} +38 -38
- package/dist/chunks/{ripgrep-pjvnvgmy.js → credential-pjvnvgmy.js} +1 -1
- package/dist/chunks/{ripgrep-pknna89w.js → credential-pknna89w.js} +1 -1
- package/dist/chunks/{ripgrep-1qny0ng8.js → credential-pkt3h2b9.js} +19 -19
- package/dist/chunks/{ripgrep-54zxgqzr.js → credential-pnaxc6j9.js} +8 -8
- package/dist/chunks/{ripgrep-psazpmmj.js → credential-psazpmmj.js} +2 -2
- package/dist/chunks/{ripgrep-d6gxwvxg.js → credential-psr41n11.js} +12 -12
- package/dist/chunks/{ripgrep-sg3rx6b8.js → credential-pv6wngh8.js} +22 -22
- package/dist/chunks/{ripgrep-y5y40sn1.js → credential-q2hsetqa.js} +12 -12
- package/dist/chunks/{ripgrep-fm2qvscf.js → credential-qa3qhgw8.js} +4 -4
- package/dist/chunks/{ripgrep-qqeeq2t9.js → credential-qqeeq2t9.js} +1 -1
- package/dist/chunks/{ripgrep-qsdy395h.js → credential-qsdy395h.js} +1 -1
- package/dist/chunks/{ripgrep-0z0qdp4f.js → credential-qwsb95v7.js} +44 -44
- package/dist/chunks/{ripgrep-f5fzvqmp.js → credential-qzd7m72z.js} +10 -10
- package/dist/chunks/{ripgrep-e5v6sjzq.js → credential-r2w7cvnr.js} +10 -10
- package/dist/chunks/{ripgrep-eybctzj2.js → credential-r513yfhg.js} +26 -26
- package/dist/chunks/{ripgrep-jtj8yee2.js → credential-r5mfbntr.js} +86 -86
- package/dist/chunks/{ripgrep-73tb2d7t.js → credential-r5x6zcsm.js} +3 -3
- package/dist/chunks/{ripgrep-h204n497.js → credential-r68z10wk.js} +4 -4
- package/dist/chunks/{ripgrep-f2n192rq.js → credential-r8xr0va3.js} +4 -4
- package/dist/chunks/{ripgrep-asw9yjte.js → credential-r9f2t4hr.js} +17 -17
- package/dist/chunks/{ripgrep-y18nyng0.js → credential-r9m8wmbv.js} +31 -31
- package/dist/chunks/{ripgrep-s8vezypb.js → credential-r9pqfw3c.js} +25 -25
- package/dist/chunks/{ripgrep-rdw6cm16.js → credential-rdw6cm16.js} +1 -1
- package/dist/chunks/{ripgrep-nyqx1cb3.js → credential-reg6q42h.js} +5 -5
- package/dist/chunks/{ripgrep-zb4s847t.js → credential-rgq9hrpw.js} +7 -7
- package/dist/chunks/{ripgrep-y01t92x8.js → credential-rjyw1ade.js} +47 -47
- package/dist/chunks/{ripgrep-mgq5nv3e.js → credential-rkmmz4cx.js} +8 -8
- package/dist/chunks/{ripgrep-w3jg838k.js → credential-rpjgfq5s.js} +9 -9
- package/dist/chunks/{ripgrep-4przf6dn.js → credential-rt0y70g6.js} +14 -14
- package/dist/chunks/{ripgrep-8v662a6s.js → credential-rxfap019.js} +26 -26
- package/dist/chunks/{ripgrep-f960svv2.js → credential-s0mc307a.js} +11 -11
- package/dist/chunks/{ripgrep-1n7xvyes.js → credential-s5e2htb3.js} +9 -9
- package/dist/chunks/{ripgrep-v6f2zkdc.js → credential-s673kgky.js} +28 -28
- package/dist/chunks/{ripgrep-t550f9t1.js → credential-s8d7rejh.js} +4 -4
- package/dist/chunks/{ripgrep-fses9meq.js → credential-sknxvkc8.js} +28 -28
- package/dist/chunks/{ripgrep-kxhj4mfa.js → credential-t590yz96.js} +11 -11
- package/dist/chunks/{ripgrep-tazgh4e4.js → credential-tazgh4e4.js} +1 -1
- package/dist/chunks/{ripgrep-tcezcvh9.js → credential-tcezcvh9.js} +1 -1
- package/dist/chunks/{ripgrep-r36g8kg2.js → credential-tcmebnch.js} +15 -15
- package/dist/chunks/{ripgrep-tdstcens.js → credential-tdstcens.js} +1 -1
- package/dist/chunks/{ripgrep-xgw0etvz.js → credential-tjtda90p.js} +2 -2
- package/dist/chunks/{ripgrep-ec07y9k9.js → credential-tky6hxra.js} +26 -26
- package/dist/chunks/{ripgrep-z8fqh70m.js → credential-tntb81s9.js} +19 -19
- package/dist/chunks/{ripgrep-tvtrv512.js → credential-tvtrv512.js} +1 -1
- package/dist/chunks/{ripgrep-3ny1h4te.js → credential-tzxp8tch.js} +9 -9
- package/dist/chunks/{ripgrep-560t4d1v.js → credential-vayd7y3p.js} +17 -4
- package/dist/chunks/{ripgrep-veqvce7d.js → credential-veqvce7d.js} +1 -1
- package/dist/chunks/{ripgrep-9dt30ddd.js → credential-vggwrjrt.js} +21 -21
- package/dist/chunks/{ripgrep-6e52v1r2.js → credential-vh9g9snc.js} +17 -17
- package/dist/chunks/{ripgrep-vktw4pze.js → credential-vnzfaa5x.js} +4 -4
- package/dist/chunks/{ripgrep-cew5j6w6.js → credential-vpqca0z9.js} +11 -11
- package/dist/chunks/{ripgrep-sdgam4xr.js → credential-vrewfqnt.js} +1 -1
- package/dist/chunks/{ripgrep-gfm6y7px.js → credential-vsvxbsy9.js} +66 -66
- package/dist/chunks/{ripgrep-pjedbq3k.js → credential-vyqn3nqs.js} +4 -4
- package/dist/chunks/{ripgrep-vzcthcp8.js → credential-vzcthcp8.js} +1 -1
- package/dist/chunks/{ripgrep-vzs5sf6e.js → credential-vzs5sf6e.js} +1 -1
- package/dist/chunks/{ripgrep-bjj0bk6b.js → credential-vzwn6bjz.js} +18 -18
- package/dist/chunks/{ripgrep-9q5cvpmr.js → credential-w07vsv7f.js} +27 -27
- package/dist/chunks/{ripgrep-k5f615bv.js → credential-w27cvc4j.js} +10 -10
- package/dist/chunks/{ripgrep-35qaqz32.js → credential-w2fmgtkz.js} +20 -20
- package/dist/chunks/{ripgrep-mmq917w3.js → credential-w3jfy4gq.js} +11 -11
- package/dist/chunks/{ripgrep-w3wsvvr9.js → credential-w3wsvvr9.js} +1 -1
- package/dist/chunks/{ripgrep-pa6447g9.js → credential-wb1prbnq.js} +24 -24
- package/dist/chunks/{ripgrep-wd87259q.js → credential-wd87259q.js} +1 -1
- package/dist/chunks/{ripgrep-keqxcydf.js → credential-wp4r7acg.js} +43 -24
- package/dist/chunks/{ripgrep-d8j7dsnb.js → credential-ws120pvh.js} +8 -8
- package/dist/chunks/credential-wtjjgayy.js +427 -0
- package/dist/chunks/{ripgrep-vpdv8epx.js → credential-x01zr8y0.js} +22 -22
- package/dist/chunks/{ripgrep-x1ezjp6w.js → credential-x1ezjp6w.js} +1 -1
- package/dist/chunks/{ripgrep-zv0jyrj3.js → credential-x5fprgp4.js} +5 -5
- package/dist/chunks/{ripgrep-xkntkrq7.js → credential-xkntkrq7.js} +2 -2
- package/dist/chunks/{ripgrep-chcvj6mx.js → credential-xn3gx34d.js} +19 -19
- package/dist/chunks/{ripgrep-z3k649yd.js → credential-xn90480x.js} +302 -302
- package/dist/chunks/{ripgrep-54nwp9r7.js → credential-xnwfhxg1.js} +26 -26
- package/dist/chunks/{ripgrep-m3ra8jyf.js → credential-xqbsjtqf.js} +13 -13
- package/dist/chunks/{ripgrep-a1fqa279.js → credential-xr72vas6.js} +6 -6
- package/dist/chunks/{ripgrep-4nzwy074.js → credential-xxndcd6m.js} +4 -4
- package/dist/chunks/{ripgrep-y1fvbwt7.js → credential-y1fvbwt7.js} +1 -1
- package/dist/chunks/{ripgrep-kasa1exf.js → credential-ybqqd820.js} +20 -20
- package/dist/chunks/{ripgrep-tnwzh9w1.js → credential-yf64nb4f.js} +16 -16
- package/dist/chunks/{ripgrep-yrhqyw5v.js → credential-yrhqyw5v.js} +1 -1
- package/dist/chunks/{ripgrep-s4enseaf.js → credential-yrznvahk.js} +2 -2
- package/dist/chunks/{ripgrep-jb2d75z1.js → credential-yspm5xbj.js} +11 -11
- package/dist/chunks/{ripgrep-v0rxv5z8.js → credential-yyk0fdyr.js} +85 -85
- package/dist/chunks/{ripgrep-z0bkrqjs.js → credential-z0bkrqjs.js} +1 -1
- package/dist/chunks/{ripgrep-2vjymgz4.js → credential-z1qbwb2j.js} +11 -11
- package/dist/chunks/{ripgrep-fgmy5dam.js → credential-z41nk1d3.js} +31 -31
- package/dist/chunks/{ripgrep-29x78va6.js → credential-z63w68vq.js} +6 -6
- package/dist/chunks/{ripgrep-zeh9ct20.js → credential-zeh9ct20.js} +2 -2
- package/dist/chunks/{ripgrep-rvtvfpzy.js → credential-zkahend3.js} +6 -6
- package/dist/chunks/{ripgrep-nt8bmh2c.js → credential-znxzs23z.js} +7 -7
- package/dist/chunks/{ripgrep-zr2ceqn5.js → credential-zr2ceqn5.js} +1 -1
- package/dist/chunks/{ripgrep-zxq2ej10.js → credential-zxq2ej10.js} +1 -1
- package/dist/chunks/{ripgrep-k0a3z2qz.js → credential-zy43x3f1.js} +4 -4
- package/dist/chunks/{ripgrep-gfwqm0th.js → credential-zyh8zg28.js} +34 -34
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +72 -72
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -371
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +72 -72
- package/dist/file-access.js +100 -100
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +222 -222
- 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 +13 -13
- package/dist/filesystem.js +106 -106
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- 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 +99 -99
- 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 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +5 -3
- package/dist/integration.js +83 -82
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -359
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -108
- package/dist/mcp/instructions.js +129 -128
- 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 +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +98 -98
- 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 +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -99
- 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 -334
- 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 +104 -0
- 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 -77
- 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 -78
- 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 -162
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +137 -137
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -349
- 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 +3 -3
- package/dist/plugin/websearch/firecrawl.js +4 -4
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- 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 +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +97 -97
- 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 +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +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 +133 -133
- 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 +224 -224
- 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 +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- 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 +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- 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 +75 -75
- 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 +151 -151
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +221 -221
- 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 +108 -108
- 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 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +117 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/types/credential.d.ts +6 -1
- package/dist/types/integration/connection.d.ts +42 -0
- package/dist/types/integration.d.ts +24 -0
- package/dist/types/plugin/provider/chatgpt.d.ts +33 -0
- package/dist/types/plugin/provider/opencode.d.ts +1 -1
- package/dist/types/session/error.d.ts +5 -0
- package/dist/types/session/history.d.ts +48 -0
- package/dist/types/session/transfer.d.ts +30 -0
- 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 +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- 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 +91 -91
- 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 +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +9 -8
- package/dist/chunks/ripgrep-1x11rq2a.js +0 -18
- package/dist/chunks/ripgrep-by268fe6.js +0 -252
- /package/dist/chunks/{ripgrep-0qkdqm5v.js → credential-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{ripgrep-0zkw76rk.js → credential-0zkw76rk.js} +0 -0
- /package/dist/chunks/{ripgrep-17cy0kzp.js → credential-17cy0kzp.js} +0 -0
- /package/dist/chunks/{ripgrep-1cnp2v09.js → credential-1cnp2v09.js} +0 -0
- /package/dist/chunks/{ripgrep-1kg9ymc8.js → credential-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{ripgrep-24dcb14g.js → credential-24dcb14g.js} +0 -0
- /package/dist/chunks/{ripgrep-2710q6r3.js → credential-2710q6r3.js} +0 -0
- /package/dist/chunks/{ripgrep-2axfhc9x.js → credential-2axfhc9x.js} +0 -0
- /package/dist/chunks/{ripgrep-2c3vjs8z.js → credential-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{ripgrep-34c7v6d4.js → credential-34c7v6d4.js} +0 -0
- /package/dist/chunks/{ripgrep-359p4xyc.js → credential-359p4xyc.js} +0 -0
- /package/dist/chunks/{ripgrep-3asan66x.js → credential-3asan66x.js} +0 -0
- /package/dist/chunks/{ripgrep-3v8g72cx.js → credential-3v8g72cx.js} +0 -0
- /package/dist/chunks/{ripgrep-3w5fmr99.js → credential-3w5fmr99.js} +0 -0
- /package/dist/chunks/{ripgrep-3wcehsnq.js → credential-3wcehsnq.js} +0 -0
- /package/dist/chunks/{ripgrep-43n2bw4t.js → credential-43n2bw4t.js} +0 -0
- /package/dist/chunks/{ripgrep-4knz6hnm.js → credential-4knz6hnm.js} +0 -0
- /package/dist/chunks/{ripgrep-4vcrnpx2.js → credential-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{ripgrep-4y7fprxs.js → credential-4y7fprxs.js} +0 -0
- /package/dist/chunks/{ripgrep-53557ph1.js → credential-53557ph1.js} +0 -0
- /package/dist/chunks/{ripgrep-550bvhaj.js → credential-550bvhaj.js} +0 -0
- /package/dist/chunks/{ripgrep-6prwharc.js → credential-6prwharc.js} +0 -0
- /package/dist/chunks/{ripgrep-7akdwqpd.js → credential-7akdwqpd.js} +0 -0
- /package/dist/chunks/{ripgrep-7m9af43g.js → credential-7m9af43g.js} +0 -0
- /package/dist/chunks/{ripgrep-822emrt2.js → credential-822emrt2.js} +0 -0
- /package/dist/chunks/{ripgrep-88xbtdfr.js → credential-88xbtdfr.js} +0 -0
- /package/dist/chunks/{ripgrep-8n3pysct.js → credential-8n3pysct.js} +0 -0
- /package/dist/chunks/{ripgrep-8wj87zfr.js → credential-8wj87zfr.js} +0 -0
- /package/dist/chunks/{ripgrep-922hggd3.js → credential-922hggd3.js} +0 -0
- /package/dist/chunks/{ripgrep-9a4afbnw.js → credential-9a4afbnw.js} +0 -0
- /package/dist/chunks/{ripgrep-9rqn6x4v.js → credential-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{ripgrep-a6k6eb26.js → credential-a6k6eb26.js} +0 -0
- /package/dist/chunks/{ripgrep-af5trqkr.js → credential-af5trqkr.js} +0 -0
- /package/dist/chunks/{ripgrep-afrmfg78.js → credential-afrmfg78.js} +0 -0
- /package/dist/chunks/{ripgrep-aqzs7mqg.js → credential-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{ripgrep-atq7p7m5.js → credential-atq7p7m5.js} +0 -0
- /package/dist/chunks/{ripgrep-bkyjaxrp.js → credential-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{ripgrep-bmr6ed5q.js → credential-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{ripgrep-cf4snx6d.js → credential-cf4snx6d.js} +0 -0
- /package/dist/chunks/{ripgrep-cvy3z8tj.js → credential-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{ripgrep-d9fn303g.js → credential-d9fn303g.js} +0 -0
- /package/dist/chunks/{ripgrep-d9jj8t3e.js → credential-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{ripgrep-dajrwvna.js → credential-dajrwvna.js} +0 -0
- /package/dist/chunks/{ripgrep-dap0rakb.js → credential-dap0rakb.js} +0 -0
- /package/dist/chunks/{ripgrep-df08tz66.js → credential-df08tz66.js} +0 -0
- /package/dist/chunks/{ripgrep-dy18nga0.js → credential-dy18nga0.js} +0 -0
- /package/dist/chunks/{ripgrep-e5kj55wp.js → credential-e5kj55wp.js} +0 -0
- /package/dist/chunks/{ripgrep-e73j6tqm.js → credential-e73j6tqm.js} +0 -0
- /package/dist/chunks/{ripgrep-ec1grn59.js → credential-ec1grn59.js} +0 -0
- /package/dist/chunks/{ripgrep-eh3zwz77.js → credential-eh3zwz77.js} +0 -0
- /package/dist/chunks/{ripgrep-emrn6kk6.js → credential-emrn6kk6.js} +0 -0
- /package/dist/chunks/{ripgrep-f0mxakyp.js → credential-f0mxakyp.js} +0 -0
- /package/dist/chunks/{ripgrep-f6n9ztr4.js → credential-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{ripgrep-faypxj3z.js → credential-faypxj3z.js} +0 -0
- /package/dist/chunks/{ripgrep-fd410y7t.js → credential-fd410y7t.js} +0 -0
- /package/dist/chunks/{ripgrep-fxgpk5d8.js → credential-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{ripgrep-g4wezp1m.js → credential-g4wezp1m.js} +0 -0
- /package/dist/chunks/{ripgrep-g86h250q.js → credential-g86h250q.js} +0 -0
- /package/dist/chunks/{ripgrep-gebd4c9n.js → credential-gebd4c9n.js} +0 -0
- /package/dist/chunks/{ripgrep-gftt206x.js → credential-gftt206x.js} +0 -0
- /package/dist/chunks/{ripgrep-hjbc5kem.js → credential-hjbc5kem.js} +0 -0
- /package/dist/chunks/{ripgrep-hk9envan.js → credential-hk9envan.js} +0 -0
- /package/dist/chunks/{ripgrep-j2ntwpah.js → credential-j2ntwpah.js} +0 -0
- /package/dist/chunks/{ripgrep-j5zkgpj8.js → credential-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{ripgrep-jjkms2e6.js → credential-jjkms2e6.js} +0 -0
- /package/dist/chunks/{ripgrep-jr7sbwjy.js → credential-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{ripgrep-jwfs4k6c.js → credential-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{ripgrep-jzg6c2d5.js → credential-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{ripgrep-mp448xyj.js → credential-mp448xyj.js} +0 -0
- /package/dist/chunks/{ripgrep-msx8hqn2.js → credential-msx8hqn2.js} +0 -0
- /package/dist/chunks/{ripgrep-n05xt0ee.js → credential-n05xt0ee.js} +0 -0
- /package/dist/chunks/{ripgrep-n3j8tn72.js → credential-n3j8tn72.js} +0 -0
- /package/dist/chunks/{ripgrep-njntx4h6.js → credential-njntx4h6.js} +0 -0
- /package/dist/chunks/{ripgrep-q3sfg36h.js → credential-q3sfg36h.js} +0 -0
- /package/dist/chunks/{ripgrep-q74kybfr.js → credential-q74kybfr.js} +0 -0
- /package/dist/chunks/{ripgrep-qaymkmh1.js → credential-qaymkmh1.js} +0 -0
- /package/dist/chunks/{ripgrep-qb87gjwd.js → credential-qb87gjwd.js} +0 -0
- /package/dist/chunks/{ripgrep-qfa1cgps.js → credential-qfa1cgps.js} +0 -0
- /package/dist/chunks/{ripgrep-qg3g05ea.js → credential-qg3g05ea.js} +0 -0
- /package/dist/chunks/{ripgrep-qrg20bc0.js → credential-qrg20bc0.js} +0 -0
- /package/dist/chunks/{ripgrep-rcb2kzg1.js → credential-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{ripgrep-sdp7kfr6.js → credential-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{ripgrep-sk3qaz4a.js → credential-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{ripgrep-ssg3fenm.js → credential-ssg3fenm.js} +0 -0
- /package/dist/chunks/{ripgrep-w803qqfp.js → credential-w803qqfp.js} +0 -0
- /package/dist/chunks/{ripgrep-wc3fc9cn.js → credential-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{ripgrep-wer8tq1h.js → credential-wer8tq1h.js} +0 -0
- /package/dist/chunks/{ripgrep-wtztk69x.js → credential-wtztk69x.js} +0 -0
- /package/dist/chunks/{ripgrep-x0ckcb58.js → credential-x0ckcb58.js} +0 -0
- /package/dist/chunks/{ripgrep-x61499pn.js → credential-x61499pn.js} +0 -0
- /package/dist/chunks/{ripgrep-y44na4kk.js → credential-y44na4kk.js} +0 -0
- /package/dist/chunks/{ripgrep-y8cydn3q.js → credential-y8cydn3q.js} +0 -0
- /package/dist/chunks/{ripgrep-y8f7s663.js → credential-y8f7s663.js} +0 -0
- /package/dist/chunks/{ripgrep-ygaqb7jw.js → credential-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{ripgrep-ym463w8f.js → credential-ym463w8f.js} +0 -0
- /package/dist/chunks/{ripgrep-z9919s4g.js → credential-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-g190xswt.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info15
|
|
9
|
+
} from "./credential-818pfwc9.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info19
|
|
12
|
+
} from "./credential-3w2b2yj4.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info14
|
|
15
|
+
} from "./credential-qa3qhgw8.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info20
|
|
18
|
+
} from "./credential-ead3g9p8.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./credential-7dqw4kz8.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info18
|
|
24
|
+
} from "./credential-jv01nqvq.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Info11
|
|
27
|
+
} from "./credential-egndxt76.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./credential-gygscfxn.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./credential-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info11.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info19, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info14, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info15, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info15, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info20, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info18, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./credential-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,22 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./credential-bnqp8nta.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service77,
|
|
8
|
+
node81
|
|
9
|
+
} from "./credential-nbajkkwv.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./credential-rdw6cm16.js";
|
|
13
|
+
import {
|
|
14
|
+
key2
|
|
15
|
+
} from "./credential-dnxkq42g.js";
|
|
13
16
|
import {
|
|
14
17
|
validateAnswer2,
|
|
15
18
|
validateFields2
|
|
16
|
-
} from "./
|
|
19
|
+
} from "./credential-jczj3x0w.js";
|
|
17
20
|
import {
|
|
18
21
|
__export
|
|
19
|
-
} from "./
|
|
22
|
+
} from "./credential-9rqn6x4v.js";
|
|
20
23
|
|
|
21
24
|
// src/integration.ts
|
|
22
25
|
var exports_integration = {};
|
|
@@ -32,7 +35,7 @@ __export(exports_integration, {
|
|
|
32
35
|
CommandMethod: () => CommandMethod2,
|
|
33
36
|
EnvMethod: () => EnvMethod2,
|
|
34
37
|
Event: () => Event18,
|
|
35
|
-
ID: () =>
|
|
38
|
+
ID: () => ID14,
|
|
36
39
|
Info: () => Info28,
|
|
37
40
|
Integration: () => exports_integration,
|
|
38
41
|
KeyMethod: () => KeyMethod2,
|
|
@@ -40,8 +43,8 @@ __export(exports_integration, {
|
|
|
40
43
|
MethodID: () => MethodID2,
|
|
41
44
|
OAuthMethod: () => OAuthMethod2,
|
|
42
45
|
Ref: () => Ref3,
|
|
43
|
-
Service: () =>
|
|
44
|
-
node: () =>
|
|
46
|
+
Service: () => Service76,
|
|
47
|
+
node: () => node80
|
|
45
48
|
});
|
|
46
49
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
50
|
import {
|
|
@@ -50,6 +53,7 @@ import {
|
|
|
50
53
|
Context,
|
|
51
54
|
Duration,
|
|
52
55
|
Effect,
|
|
56
|
+
Equal,
|
|
53
57
|
Exit,
|
|
54
58
|
Fiber,
|
|
55
59
|
Layer,
|
|
@@ -63,7 +67,7 @@ import { Integration } from "@opencode/schema/integration";
|
|
|
63
67
|
import { AppProcess } from "@opencode/util/process";
|
|
64
68
|
import { ChildProcess } from "effect/unstable/process";
|
|
65
69
|
import { Event as Event18 } from "@opencode/schema/integration";
|
|
66
|
-
var
|
|
70
|
+
var ID14 = Integration.ID;
|
|
67
71
|
var MethodID2 = Integration.MethodID;
|
|
68
72
|
var AttemptID2 = Integration.AttemptID;
|
|
69
73
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -94,24 +98,26 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
94
98
|
}
|
|
95
99
|
|
|
96
100
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
97
|
-
integrationID:
|
|
101
|
+
integrationID: ID14,
|
|
98
102
|
attemptID: AttemptID2
|
|
99
103
|
}) {
|
|
100
104
|
}
|
|
101
105
|
var Ref3 = Integration.Ref;
|
|
102
106
|
|
|
103
|
-
class
|
|
107
|
+
class Service76 extends Context.Service()("@opencode/Integration") {
|
|
104
108
|
}
|
|
105
109
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
106
110
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
107
111
|
var scrubInterval = Duration.seconds(30);
|
|
108
|
-
var layer = Layer.effect(
|
|
109
|
-
const credentials = yield*
|
|
110
|
-
const bus = yield*
|
|
112
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
113
|
+
const credentials = yield* Service77;
|
|
114
|
+
const bus = yield* Service82;
|
|
111
115
|
const processes = yield* AppProcess.Service;
|
|
112
116
|
const scope = yield* Scope.Scope;
|
|
113
117
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
114
118
|
const commandAttempts = SynchronizedRef.makeUnsafe(new Map);
|
|
119
|
+
const statuses = new Map;
|
|
120
|
+
const statusKey = (integrationID, connection) => `${integrationID}:${key2(connection)}`;
|
|
115
121
|
const state = create3({
|
|
116
122
|
name: "integration",
|
|
117
123
|
initial: () => ({ integrations: new Map }),
|
|
@@ -206,7 +212,10 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
206
212
|
name: entry.ref.name,
|
|
207
213
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
208
214
|
methods: entry.methods,
|
|
209
|
-
connections
|
|
215
|
+
connections: connections.map((connection) => {
|
|
216
|
+
const status = statuses.get(statusKey(entry.ref.id, connection));
|
|
217
|
+
return status ? { ...connection, status } : connection;
|
|
218
|
+
})
|
|
210
219
|
});
|
|
211
220
|
const authorize = (effect) => effect.pipe(Effect.mapError((cause) => new AuthorizationError2({ cause })));
|
|
212
221
|
const close = (attemptScope) => Scope.close(attemptScope, Exit.void).pipe(Effect.forkIn(scope, { startImmediately: true }), Effect.asVoid);
|
|
@@ -431,7 +440,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
431
440
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
432
441
|
return CommandAttempt2.make({ attemptID, time });
|
|
433
442
|
});
|
|
434
|
-
return
|
|
443
|
+
return Service76.of({
|
|
435
444
|
transform: state.transform,
|
|
436
445
|
reload: state.reload,
|
|
437
446
|
revision: state.revision,
|
|
@@ -495,7 +504,17 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
495
504
|
}),
|
|
496
505
|
activate: Effect.fn("Integration.connection.activate")((credentialID) => credentials.activate(credentialID)),
|
|
497
506
|
update: Effect.fn("Integration.connection.update")((credentialID, updates) => credentials.update(credentialID, updates)),
|
|
498
|
-
remove: Effect.fn("Integration.connection.remove")((credentialID) => credentials.remove(credentialID))
|
|
507
|
+
remove: Effect.fn("Integration.connection.remove")((credentialID) => credentials.remove(credentialID)),
|
|
508
|
+
status: Effect.fn("Integration.connection.status")(function* (input) {
|
|
509
|
+
const key = statusKey(input.integrationID, input.connection);
|
|
510
|
+
if (Equal.equals(statuses.get(key), input.status))
|
|
511
|
+
return;
|
|
512
|
+
if (input.status)
|
|
513
|
+
statuses.set(key, input.status);
|
|
514
|
+
if (!input.status)
|
|
515
|
+
statuses.delete(key);
|
|
516
|
+
yield* bus.publish(Integration.Event.Updated, {});
|
|
517
|
+
})
|
|
499
518
|
},
|
|
500
519
|
oauth: {
|
|
501
520
|
connect: connectOAuth,
|
|
@@ -580,10 +599,10 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
580
599
|
}
|
|
581
600
|
});
|
|
582
601
|
}));
|
|
583
|
-
var
|
|
584
|
-
service:
|
|
602
|
+
var node80 = makeLocationNode({
|
|
603
|
+
service: Service76,
|
|
585
604
|
layer,
|
|
586
|
-
deps: [
|
|
605
|
+
deps: [node81, node86, AppProcess.node]
|
|
587
606
|
});
|
|
588
607
|
|
|
589
|
-
export {
|
|
608
|
+
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info28, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service76, node80, exports_integration, Event18 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-sknxvkc8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service72
|
|
6
|
+
} from "./credential-drnx3qwb.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./credential-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/verbosity.ts
|
|
12
12
|
var exports_verbosity = {};
|
|
13
13
|
__export(exports_verbosity, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin36,
|
|
15
15
|
VerbosityPlugin: () => exports_verbosity
|
|
16
16
|
});
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -23,10 +23,10 @@ var direct = new Set([
|
|
|
23
23
|
"@opencode/ai/providers/azure/responses"
|
|
24
24
|
]);
|
|
25
25
|
var gateways = new Set(["@opencode/ai/providers/cloudflare-ai-gateway", aisdk2("@ai-sdk/gateway")]);
|
|
26
|
-
var
|
|
26
|
+
var Plugin36 = define({
|
|
27
27
|
id: "opencode.prompt.verbosity",
|
|
28
28
|
effect: Effect.fn("VerbosityPlugin")(function* (ctx) {
|
|
29
|
-
const models = yield*
|
|
29
|
+
const models = yield* Service72;
|
|
30
30
|
const hook = (event) => Effect.gen(function* () {
|
|
31
31
|
if (event.options.textVerbosity !== undefined)
|
|
32
32
|
return;
|
|
@@ -66,4 +66,4 @@ function openAIModelID(model) {
|
|
|
66
66
|
return id.slice("openai/".length);
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { Plugin36, exports_verbosity };
|