@opencode/core 0.0.0-dev-20286 → 0.0.0-dev-20287
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 +79 -79
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{integration-hn0x82vs.js → model-resolver-02mam7mg.js} +17 -17
- package/dist/chunks/{integration-eaj1djv9.js → model-resolver-02nrjc1r.js} +4 -4
- package/dist/chunks/{integration-prqcyn0c.js → model-resolver-02v6ekhe.js} +6 -6
- package/dist/chunks/{integration-srvnn0v4.js → model-resolver-09zzmmve.js} +11 -11
- package/dist/chunks/{integration-wdzcbyx9.js → model-resolver-0cjtfqfg.js} +24 -24
- package/dist/chunks/{integration-j1jfj66b.js → model-resolver-0fb5qscw.js} +5 -5
- package/dist/chunks/{integration-51f5btjf.js → model-resolver-0jkw1j53.js} +6 -6
- package/dist/chunks/{integration-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
- package/dist/chunks/{integration-4bvnjebc.js → model-resolver-0qxf76vs.js} +18 -18
- package/dist/chunks/{integration-bf0ztrs3.js → model-resolver-0v53mg2y.js} +4 -4
- package/dist/chunks/{integration-yn0skrfd.js → model-resolver-0v5grnq4.js} +41 -41
- package/dist/chunks/{integration-yk1wne8d.js → model-resolver-0w4g3y4c.js} +17 -17
- package/dist/chunks/{integration-007kv54v.js → model-resolver-0ybcar0z.js} +30 -30
- package/dist/chunks/{integration-37x5te5e.js → model-resolver-12gw954a.js} +7 -7
- package/dist/chunks/{integration-cw40cn3a.js → model-resolver-12s112hc.js} +21 -21
- package/dist/chunks/{integration-77d9dkzy.js → model-resolver-14gkyck6.js} +22 -22
- package/dist/chunks/{integration-dez0353w.js → model-resolver-18nq8aak.js} +12 -12
- package/dist/chunks/{integration-1acjjqhc.js → model-resolver-1acjjqhc.js} +1 -1
- package/dist/chunks/{integration-0s64387h.js → model-resolver-1bmx2daa.js} +10 -10
- package/dist/chunks/{integration-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
- package/dist/chunks/{integration-kyr9dgrt.js → model-resolver-1fx9aqpr.js} +24 -24
- package/dist/chunks/{integration-mvg2k0gw.js → model-resolver-1mzz2bvg.js} +4 -4
- package/dist/chunks/{integration-8sze2n9a.js → model-resolver-1p07q0wb.js} +8 -8
- package/dist/chunks/{integration-jdnyyw3y.js → model-resolver-1z8t22df.js} +13 -13
- package/dist/chunks/{integration-21r38tys.js → model-resolver-21r38tys.js} +1 -1
- package/dist/chunks/{integration-g8ab104g.js → model-resolver-2507s413.js} +9 -9
- package/dist/chunks/{integration-vycpbpnw.js → model-resolver-27de2wkz.js} +28 -28
- package/dist/chunks/model-resolver-289z41pq.js +507 -0
- package/dist/chunks/{integration-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
- package/dist/chunks/{integration-2gx9j6y9.js → model-resolver-2ej4jj92.js} +10 -10
- package/dist/chunks/{integration-w3senr2q.js → model-resolver-2t8dba19.js} +8 -8
- package/dist/chunks/{integration-br4ct1cv.js → model-resolver-2wtv204s.js} +15 -15
- package/dist/chunks/{integration-trfm30pq.js → model-resolver-2y1mzw7q.js} +23 -23
- package/dist/chunks/{integration-4x26exyn.js → model-resolver-309z119j.js} +32 -32
- package/dist/chunks/{integration-pc24wejf.js → model-resolver-312373c7.js} +2 -2
- package/dist/chunks/{integration-xp8cepfb.js → model-resolver-36cdy2c1.js} +13 -13
- package/dist/chunks/{integration-c634d86v.js → model-resolver-3ckfa135.js} +33 -33
- package/dist/chunks/{integration-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
- package/dist/chunks/{integration-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{integration-z83vrf6c.js → model-resolver-3kk1mn5p.js} +22 -22
- package/dist/chunks/{integration-kmsf2gmc.js → model-resolver-3nk0dpt4.js} +11 -11
- package/dist/chunks/{integration-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
- package/dist/chunks/{integration-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
- package/dist/chunks/{integration-9xefwsd5.js → model-resolver-3xs92vpq.js} +11 -11
- package/dist/chunks/{integration-3zsf4n22.js → model-resolver-3zsf4n22.js} +1 -1
- package/dist/chunks/{integration-0mph93pj.js → model-resolver-40py8n81.js} +4 -4
- package/dist/chunks/{integration-216h48p4.js → model-resolver-4crx14w5.js} +25 -25
- package/dist/chunks/{integration-23dc2d68.js → model-resolver-4g4nqdg4.js} +26 -26
- package/dist/chunks/{integration-57ez7d0k.js → model-resolver-4sn99hha.js} +7 -7
- package/dist/chunks/{integration-mm0znw5z.js → model-resolver-4txbmjfp.js} +13 -13
- package/dist/chunks/{integration-0r7yqxbf.js → model-resolver-510m7gjw.js} +5 -5
- package/dist/chunks/{integration-y72zmemf.js → model-resolver-52fpbh6z.js} +8 -8
- package/dist/chunks/{integration-54ma36ye.js → model-resolver-54ma36ye.js} +1 -1
- package/dist/chunks/{integration-xfkkasph.js → model-resolver-57b9ws8p.js} +7 -7
- package/dist/chunks/{integration-htq109gq.js → model-resolver-5aexa4he.js} +33 -33
- package/dist/chunks/{integration-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
- package/dist/chunks/{integration-427a15qw.js → model-resolver-5dhepvmf.js} +33 -33
- package/dist/chunks/{integration-9jsdpggr.js → model-resolver-5e1pzs32.js} +9 -9
- package/dist/chunks/{integration-qepzh1bh.js → model-resolver-5g9mk9a9.js} +19 -19
- package/dist/chunks/{integration-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
- package/dist/chunks/{integration-hza05959.js → model-resolver-5vy8s2tt.js} +18 -18
- package/dist/chunks/{integration-p37cw4rj.js → model-resolver-5xtgfte3.js} +4 -4
- package/dist/chunks/{integration-h70zt0wt.js → model-resolver-6660xsne.js} +25 -25
- package/dist/chunks/{integration-669tq793.js → model-resolver-669tq793.js} +1 -1
- package/dist/chunks/{integration-7yr82b3h.js → model-resolver-67pxqpv3.js} +8 -8
- package/dist/chunks/{integration-5df5bq3a.js → model-resolver-68z8ec46.js} +38 -38
- package/dist/chunks/{integration-apjcg4d6.js → model-resolver-6j0d4bfq.js} +13 -13
- package/dist/chunks/{integration-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
- package/dist/chunks/{integration-prwkcbsp.js → model-resolver-6nxs6bmb.js} +6 -6
- package/dist/chunks/{integration-55jj4qxv.js → model-resolver-6q5nb5ny.js} +21 -21
- package/dist/chunks/{integration-7e6vht7x.js → model-resolver-6w0z1cey.js} +36 -36
- package/dist/chunks/{integration-j26sntzs.js → model-resolver-6z9y85k1.js} +12 -12
- package/dist/chunks/{integration-qvqw0qph.js → model-resolver-782920ah.js} +31 -31
- package/dist/chunks/{integration-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{integration-qgn6gcr1.js → model-resolver-7dqw4kz8.js} +5 -5
- package/dist/chunks/model-resolver-7fj5dwt0.js +18 -0
- package/dist/chunks/{integration-1ysctg58.js → model-resolver-7y2ssk5t.js} +35 -35
- package/dist/chunks/{integration-w9nr0r4k.js → model-resolver-7y4dpfk6.js} +14 -14
- package/dist/chunks/{integration-prq7hedt.js → model-resolver-82rhge12.js} +9 -9
- package/dist/chunks/{integration-a6fmcvwn.js → model-resolver-86b7s5s7.js} +26 -26
- package/dist/chunks/{integration-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
- package/dist/chunks/{integration-dpy1708c.js → model-resolver-8f7td570.js} +5 -5
- package/dist/chunks/{integration-85kjp3d4.js → model-resolver-8tb71k3x.js} +9 -9
- package/dist/chunks/{integration-918vfc7v.js → model-resolver-8w7za83g.js} +6 -6
- package/dist/chunks/{integration-g5agzp2h.js → model-resolver-8zh4h089.js} +5 -5
- package/dist/chunks/{integration-e8n5dwh7.js → model-resolver-92x5e2q8.js} +21 -21
- package/dist/chunks/{integration-dmftx2z2.js → model-resolver-93934eye.js} +6 -6
- package/dist/chunks/{integration-94ek1h2f.js → model-resolver-94ek1h2f.js} +2 -2
- package/dist/chunks/{integration-brka9z6d.js → model-resolver-9a3afvhq.js} +5 -5
- package/dist/chunks/{integration-6f8737q3.js → model-resolver-9eq5kwq7.js} +5 -5
- package/dist/chunks/{integration-2ggkd5y6.js → model-resolver-9qk46xax.js} +8 -8
- package/dist/chunks/{integration-n5jbg1jr.js → model-resolver-a0gyjzw3.js} +31 -31
- package/dist/chunks/{integration-s30fyz93.js → model-resolver-a81kfqvn.js} +4 -4
- package/dist/chunks/{integration-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
- package/dist/chunks/{integration-x8v6s741.js → model-resolver-aaz4evtx.js} +18 -18
- package/dist/chunks/{integration-j9a2q0fz.js → model-resolver-ae8tse6q.js} +10 -10
- package/dist/chunks/{integration-ermxvwhp.js → model-resolver-afrtgck4.js} +4 -4
- package/dist/chunks/{integration-818pfwc9.js → model-resolver-akrnn5pm.js} +8 -8
- package/dist/chunks/{integration-rrzjzqrd.js → model-resolver-ap4mmp3q.js} +4 -4
- package/dist/chunks/{integration-e2ha372a.js → model-resolver-aye9t8w1.js} +11 -11
- package/dist/chunks/{integration-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
- package/dist/chunks/{integration-228m9d3z.js → model-resolver-b9yq29xv.js} +1 -1
- package/dist/chunks/{integration-jvf3yq6v.js → model-resolver-baaqp4zd.js} +4 -4
- package/dist/chunks/{integration-n56w81az.js → model-resolver-beyx1pkk.js} +22 -22
- package/dist/chunks/{integration-mxxa41h5.js → model-resolver-bt48ydtb.js} +15 -15
- package/dist/chunks/{integration-29yhzn30.js → model-resolver-c63b3eb6.js} +25 -25
- package/dist/chunks/{integration-nzg2pgvq.js → model-resolver-cdynj408.js} +23 -23
- package/dist/chunks/{integration-ckecvw8r.js → model-resolver-ckecvw8r.js} +2 -2
- package/dist/chunks/{integration-v2g7d70b.js → model-resolver-cq364ng9.js} +15 -15
- package/dist/chunks/{integration-8wa5wmwv.js → model-resolver-d1wa36m8.js} +5 -5
- package/dist/chunks/{integration-sjhe73hb.js → model-resolver-d2va843e.js} +12 -12
- package/dist/chunks/{integration-wstveqzx.js → model-resolver-d96fczqh.js} +17 -17
- package/dist/chunks/{integration-k054q3ng.js → model-resolver-dgdn6h98.js} +15 -15
- package/dist/chunks/{integration-x8h61vbx.js → model-resolver-dj2b5gt2.js} +42 -42
- package/dist/chunks/{integration-djszqvmq.js → model-resolver-djszqvmq.js} +2 -2
- package/dist/chunks/{integration-dcdcxcqv.js → model-resolver-dt8c207w.js} +25 -25
- package/dist/chunks/{integration-xf1aecpm.js → model-resolver-dyqx6pj7.js} +7 -7
- package/dist/chunks/{integration-hxmak5w6.js → model-resolver-e08g86r3.js} +11 -11
- package/dist/chunks/{integration-qm74d4cp.js → model-resolver-e0f9fjmh.js} +18 -18
- package/dist/chunks/{integration-55bzypr0.js → model-resolver-e5tcccaa.js} +11 -11
- package/dist/chunks/{integration-p0b4ytnr.js → model-resolver-e6hd9jay.js} +6 -6
- package/dist/chunks/{integration-ppdtm0qk.js → model-resolver-e72j5d8n.js} +1 -1
- package/dist/chunks/{integration-7my3jqe6.js → model-resolver-e80a14hq.js} +8 -8
- package/dist/chunks/{integration-jkcjd3kp.js → model-resolver-e8v7tggz.js} +5 -5
- package/dist/chunks/{integration-pcgeyt73.js → model-resolver-e9e65bk8.js} +29 -29
- package/dist/chunks/{integration-ecfe7b91.js → model-resolver-ecfe7b91.js} +2 -2
- package/dist/chunks/{integration-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
- package/dist/chunks/{integration-rc5nmyhy.js → model-resolver-enf33bpj.js} +11 -11
- package/dist/chunks/{integration-e2zxmq4e.js → model-resolver-es818167.js} +25 -25
- package/dist/chunks/{integration-b1rb0xwe.js → model-resolver-esmfnkq0.js} +33 -33
- package/dist/chunks/{integration-m8n1jv7h.js → model-resolver-et80q73h.js} +16 -16
- package/dist/chunks/{integration-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
- package/dist/chunks/{integration-evbgk2k8.js → model-resolver-evbgk2k8.js} +2 -2
- package/dist/chunks/{integration-jrjzd75d.js → model-resolver-f83da79h.js} +5 -5
- package/dist/chunks/{integration-a3vq5bj2.js → model-resolver-f9d9xn2t.js} +23 -23
- package/dist/chunks/{integration-ex6pt5yr.js → model-resolver-fbmcmy2w.js} +4 -4
- package/dist/chunks/{integration-psy3e1hh.js → model-resolver-fgwp6wvs.js} +31 -31
- package/dist/chunks/{integration-hx450sbz.js → model-resolver-fwwaqksj.js} +20 -20
- package/dist/chunks/{integration-7pzv1w99.js → model-resolver-g4zc67y8.js} +12 -12
- package/dist/chunks/{integration-8j3sn0xa.js → model-resolver-g7nh3h7e.js} +19 -19
- package/dist/chunks/{integration-q4fmv0xv.js → model-resolver-gcavn3wx.js} +5 -5
- package/dist/chunks/{integration-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
- package/dist/chunks/{integration-0bfcnrg1.js → model-resolver-gg3hnhsj.js} +1 -1
- package/dist/chunks/{integration-qkcvm401.js → model-resolver-gjr5vbhk.js} +10 -10
- package/dist/chunks/{integration-2f8k78sm.js → model-resolver-gktpjf8e.js} +10 -10
- package/dist/chunks/{integration-43fvpk64.js → model-resolver-gn1qq9yk.js} +26 -26
- package/dist/chunks/{integration-gv6a8nnw.js → model-resolver-gv6a8nnw.js} +2 -2
- package/dist/chunks/{integration-vnn4gkfz.js → model-resolver-gvsybxtf.js} +89 -89
- package/dist/chunks/{integration-pxy4dh62.js → model-resolver-h0ttmn00.js} +27 -27
- package/dist/chunks/{integration-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
- package/dist/chunks/{integration-jca4demv.js → model-resolver-hkagk5ex.js} +2 -2
- package/dist/chunks/{integration-1kwjt6d6.js → model-resolver-hkfaxnqd.js} +18 -18
- package/dist/chunks/{integration-yt0fqk68.js → model-resolver-hkfg6fzm.js} +5 -5
- package/dist/chunks/{integration-sv7yr8xe.js → model-resolver-hts4vzf1.js} +16 -16
- package/dist/chunks/{integration-vavgc505.js → model-resolver-hzr2qqx8.js} +23 -23
- package/dist/chunks/{integration-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
- package/dist/chunks/{integration-5wyqsnb4.js → model-resolver-j63mkyf2.js} +48 -48
- package/dist/chunks/{integration-rbpwsggg.js → model-resolver-jjgtwx64.js} +30 -30
- package/dist/chunks/{integration-j3s2z371.js → model-resolver-jjs74g98.js} +5 -5
- package/dist/chunks/{integration-k0a3z2qz.js → model-resolver-jpqeh2wc.js} +4 -4
- package/dist/chunks/{integration-k3c624dm.js → model-resolver-k3c624dm.js} +3 -3
- package/dist/chunks/{integration-70byt6m4.js → model-resolver-k41vwr9d.js} +6 -6
- package/dist/chunks/{integration-z96crwnb.js → model-resolver-k5qvkmwp.js} +3 -3
- package/dist/chunks/{integration-8vag3pxv.js → model-resolver-kb6jkvf1.js} +40 -40
- package/dist/chunks/{integration-haf8ym7w.js → model-resolver-kjaarbta.js} +18 -18
- package/dist/chunks/{integration-m84jjq37.js → model-resolver-kjwygmc9.js} +48 -48
- package/dist/chunks/{integration-w47g9jnr.js → model-resolver-ktk6m7yv.js} +12 -12
- package/dist/chunks/{integration-f1csepjx.js → model-resolver-m210z9se.js} +41 -41
- package/dist/chunks/{integration-skb9kzak.js → model-resolver-m2hdddfe.js} +23 -23
- package/dist/chunks/{integration-f4ntpb4a.js → model-resolver-m3c96kre.js} +12 -12
- package/dist/chunks/{integration-m3fdjcah.js → model-resolver-m3fdjcah.js} +1 -1
- package/dist/chunks/{integration-mgznjxj1.js → model-resolver-m4mq5212.js} +45 -45
- package/dist/chunks/{integration-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{integration-h1vw7kx6.js → model-resolver-mdmxc2h2.js} +23 -23
- package/dist/chunks/{integration-sj2zwkfm.js → model-resolver-mean0qec.js} +11 -11
- package/dist/chunks/{integration-mfqp6xfm.js → model-resolver-mfqp6xfm.js} +2 -2
- package/dist/chunks/{integration-7m3qqnex.js → model-resolver-mgeh0yn6.js} +5 -5
- package/dist/chunks/{integration-pp173efe.js → model-resolver-mgvjhcwg.js} +9 -9
- package/dist/chunks/{integration-k3y1sryq.js → model-resolver-mk4qzd84.js} +38 -38
- package/dist/chunks/{integration-a2qe2ev9.js → model-resolver-n0tq777j.js} +8 -8
- package/dist/chunks/{integration-n6ywjbkr.js → model-resolver-nc64kt7a.js} +23 -23
- package/dist/chunks/{integration-9pcszhcd.js → model-resolver-nc7t749v.js} +78 -78
- package/dist/chunks/{integration-f5gy8qwh.js → model-resolver-ncjresk4.js} +8 -8
- package/dist/chunks/{integration-q3t37ft6.js → model-resolver-ndmv45hp.js} +3 -3
- package/dist/chunks/{integration-gzbkpp9m.js → model-resolver-ndqtf2h8.js} +6 -6
- package/dist/chunks/{integration-6whetfrh.js → model-resolver-nrsh6tk0.js} +48 -48
- package/dist/chunks/{integration-3htr6yph.js → model-resolver-nv6em8ry.js} +42 -42
- package/dist/chunks/{integration-67kxvcq5.js → model-resolver-p0d9yfeb.js} +92 -92
- package/dist/chunks/{integration-j8afcsyc.js → model-resolver-pc4b88sv.js} +4 -4
- package/dist/chunks/{integration-1jhsme74.js → model-resolver-pfk6y5a9.js} +3 -3
- package/dist/chunks/{integration-emzsebxx.js → model-resolver-phpw85vv.js} +6 -6
- package/dist/chunks/{integration-s22tcjmk.js → model-resolver-pjf50ww2.js} +11 -11
- package/dist/chunks/{integration-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
- package/dist/chunks/{integration-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{integration-fb8ajyr9.js → model-resolver-pq4mxcs4.js} +33 -33
- package/dist/chunks/{integration-276aa1tg.js → model-resolver-q5cxqncr.js} +3 -3
- package/dist/chunks/{integration-v5dkyp31.js → model-resolver-qa3qhgw8.js} +4 -4
- package/dist/chunks/{integration-arkmsdt9.js → model-resolver-qd6sxt3f.js} +13 -13
- package/dist/chunks/{integration-g190xswt.js → model-resolver-qj8eh1ht.js} +4 -4
- package/dist/chunks/{integration-mx84fb2r.js → model-resolver-qkn0bf4a.js} +8 -8
- package/dist/chunks/{integration-ddxretnd.js → model-resolver-qpyj4d94.js} +11 -11
- package/dist/chunks/{integration-1mwnra7p.js → model-resolver-qsb13eat.js} +22 -22
- package/dist/chunks/{integration-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
- package/dist/chunks/{integration-1813d5zh.js → model-resolver-qtg64bph.js} +15 -15
- package/dist/chunks/{integration-2p623br6.js → model-resolver-qvreyy9g.js} +5 -5
- package/dist/chunks/{integration-tqz9py0c.js → model-resolver-qxcr5sj8.js} +22 -22
- package/dist/chunks/{integration-450n1fmb.js → model-resolver-r1vxhqvv.js} +6 -6
- package/dist/chunks/{integration-mvfsc1pv.js → model-resolver-r5x6zcsm.js} +3 -3
- package/dist/chunks/{integration-e56jykm2.js → model-resolver-rbcy0mcv.js} +13 -13
- package/dist/chunks/{integration-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
- package/dist/chunks/{integration-7rcqk60f.js → model-resolver-rrx1e06a.js} +7 -7
- package/dist/chunks/{integration-1q0e68gg.js → model-resolver-rz6dkkgy.js} +17 -17
- package/dist/chunks/{integration-nxgbngy1.js → model-resolver-s61t9ejp.js} +40 -40
- package/dist/chunks/{integration-2zg6nskx.js → model-resolver-s6v4rjr2.js} +27 -27
- package/dist/chunks/{integration-9sp358pj.js → model-resolver-s6vew4x4.js} +23 -23
- package/dist/chunks/{integration-5xp6zek4.js → model-resolver-sbgs7n57.js} +9 -9
- package/dist/chunks/{integration-1n23hs5q.js → model-resolver-t7zmjtqp.js} +10 -10
- package/dist/chunks/{integration-sf48c4sg.js → model-resolver-t88yr9ve.js} +22 -22
- package/dist/chunks/{integration-x3k4y0th.js → model-resolver-tafnspmy.js} +17 -17
- package/dist/chunks/{integration-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
- package/dist/chunks/{integration-xn7zchcf.js → model-resolver-tbebh6wt.js} +31 -31
- package/dist/chunks/{integration-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
- package/dist/chunks/{integration-tdstcens.js → model-resolver-tdstcens.js} +1 -1
- package/dist/chunks/{integration-cs3k7vbw.js → model-resolver-tf4wmns1.js} +6 -6
- package/dist/chunks/{integration-rwsvrpt4.js → model-resolver-tjb0cp7v.js} +29 -29
- package/dist/chunks/{integration-5qxftstg.js → model-resolver-tn2czw04.js} +15 -15
- package/dist/chunks/{integration-mnwqmehd.js → model-resolver-tv1yapnf.js} +19 -19
- package/dist/chunks/{integration-3h57rhwa.js → model-resolver-tvmwean2.js} +2 -2
- package/dist/chunks/{integration-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
- package/dist/chunks/{integration-rq3a28zf.js → model-resolver-tyr8t8jb.js} +40 -40
- package/dist/chunks/{integration-5nnneb5s.js → model-resolver-v4a37k2n.js} +58 -58
- package/dist/chunks/{integration-52t303b9.js → model-resolver-va9r1m6h.js} +41 -41
- package/dist/chunks/{integration-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{integration-eckntx06.js → model-resolver-vqmd05dp.js} +20 -20
- package/dist/chunks/{integration-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
- package/dist/chunks/{integration-vzs5sf6e.js → model-resolver-vzs5sf6e.js} +1 -1
- package/dist/chunks/{integration-84txncab.js → model-resolver-w1eejvng.js} +5 -5
- package/dist/chunks/{integration-ctkexn52.js → model-resolver-w2w41gxq.js} +21 -21
- package/dist/chunks/{integration-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{integration-1g2pwm2v.js → model-resolver-wb1r8yr9.js} +6 -6
- package/dist/chunks/{integration-kfgccrws.js → model-resolver-wcqjfzwh.js} +11 -11
- package/dist/chunks/{integration-wd3x2cqz.js → model-resolver-wd3x2cqz.js} +2 -2
- package/dist/chunks/{integration-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{integration-tp0s123v.js → model-resolver-wg9731he.js} +5 -5
- package/dist/chunks/{integration-fqm9ba4x.js → model-resolver-wgcg4671.js} +7 -7
- package/dist/chunks/{integration-wq4mmp7m.js → model-resolver-wgtcm0m7.js} +4 -4
- package/dist/chunks/{integration-fbrwwgmz.js → model-resolver-wj7vq2ea.js} +22 -22
- package/dist/chunks/{integration-mvxy8yk1.js → model-resolver-wmmnpfs6.js} +17 -17
- package/dist/chunks/{integration-k7a6qazk.js → model-resolver-wsr3wm9b.js} +18 -18
- package/dist/chunks/{integration-7yaqes3v.js → model-resolver-wwqbqry9.js} +9 -9
- package/dist/chunks/model-resolver-wzeytf8f.js +252 -0
- package/dist/chunks/{integration-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
- package/dist/chunks/{integration-y0s8f48q.js → model-resolver-x3ymtx59.js} +16 -16
- package/dist/chunks/{integration-y6bex35g.js → model-resolver-x661k3y3.js} +4 -4
- package/dist/chunks/{integration-ngfnceq4.js → model-resolver-x929eknx.js} +9 -9
- package/dist/chunks/{integration-1bzea8hf.js → model-resolver-xa1a1wzx.js} +8 -8
- package/dist/chunks/{integration-090naprk.js → model-resolver-xa1e8bc0.js} +9 -9
- package/dist/chunks/{integration-wvjmf19v.js → model-resolver-xdxwx81a.js} +22 -22
- package/dist/chunks/model-resolver-xh9cn0qf.js +26 -0
- package/dist/chunks/{integration-bay80n5w.js → model-resolver-xkmg7qp8.js} +5 -5
- package/dist/chunks/{integration-xkntkrq7.js → model-resolver-xkntkrq7.js} +2 -2
- package/dist/chunks/{integration-t71c8r43.js → model-resolver-xn8j33mp.js} +8 -8
- package/dist/chunks/{integration-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
- package/dist/chunks/{integration-st0j0zn3.js → model-resolver-y1k0c4q8.js} +20 -20
- package/dist/chunks/{integration-eyz64kwr.js → model-resolver-y6mjvh6p.js} +3 -3
- package/dist/chunks/{integration-dpkg50ah.js → model-resolver-y71avatq.js} +4 -4
- package/dist/chunks/{integration-ehzy0r6a.js → model-resolver-yc2dt6gh.js} +44 -44
- package/dist/chunks/{integration-n860bejb.js → model-resolver-yedg7326.js} +33 -33
- package/dist/chunks/{integration-fh23fcf5.js → model-resolver-yefqq88c.js} +11 -11
- package/dist/chunks/{integration-re7wp77e.js → model-resolver-yetcaet6.js} +10 -10
- package/dist/chunks/{integration-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
- package/dist/chunks/{integration-yrznvahk.js → model-resolver-yrznvahk.js} +2 -2
- package/dist/chunks/{integration-4enjeyq9.js → model-resolver-ys8bcvtf.js} +28 -28
- package/dist/chunks/{integration-zqankrzg.js → model-resolver-yzscc1x4.js} +3 -3
- package/dist/chunks/{integration-z07pqspn.js → model-resolver-z07pqspn.js} +3 -3
- package/dist/chunks/{integration-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{integration-wyvmt7jr.js → model-resolver-z28qgkdb.js} +16 -16
- package/dist/chunks/{integration-z63w68vq.js → model-resolver-z63w68vq.js} +2 -2
- package/dist/chunks/{integration-zeh9ct20.js → model-resolver-zeh9ct20.js} +2 -2
- package/dist/chunks/{integration-ew48pmvr.js → model-resolver-zexagpgf.js} +32 -32
- package/dist/chunks/{integration-gdv3ksn6.js → model-resolver-zgnhzt77.js} +5 -5
- package/dist/chunks/{integration-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
- package/dist/chunks/{integration-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
- package/dist/chunks/{integration-9e9nvwfq.js → model-resolver-zyj926zy.js} +179 -179
- package/dist/chunks/{integration-ftnq43wp.js → model-resolver-zzypbymf.js} +15 -15
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- 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 +126 -126
- 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 +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +70 -70
- 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 +371 -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 +91 -91
- 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 +74 -74
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -102
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- 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 +362 -362
- package/dist/instruction-discovery.js +83 -83
- 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 +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- 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 +107 -107
- 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 +99 -99
- 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 +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +105 -105
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- 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 -100
- 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 +3 -3
- package/dist/plugin/internal.js +334 -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 +4 -4
- 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/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 +95 -95
- 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 +162 -162
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +353 -353
- 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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- 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 +6 -6
- package/dist/plugin.js +228 -228
- 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 +97 -97
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +225 -225
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +84 -84
- 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 +118 -118
- package/dist/session/model-transport.js +7 -7
- 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 +126 -126
- 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 +209 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +224 -224
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +4 -4
- 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 +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 +124 -124
- 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 +216 -216
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +110 -110
- 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 +14 -14
- 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 +5 -5
- package/dist/v1/config/attachment.js +2 -2
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- 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 +3 -3
- 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 +79 -79
- package/dist/workspace/driver.js +5 -5
- 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 +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/integration-04cetggm.js +0 -507
- package/dist/chunks/integration-4v7qdvcn.js +0 -18
- package/dist/chunks/integration-krtr9e37.js +0 -26
- package/dist/chunks/integration-p6rn815x.js +0 -252
- /package/dist/chunks/{integration-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{integration-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{integration-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{integration-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{integration-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{integration-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
- /package/dist/chunks/{integration-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{integration-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
- /package/dist/chunks/{integration-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{integration-34c7v6d4.js → model-resolver-34c7v6d4.js} +0 -0
- /package/dist/chunks/{integration-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{integration-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{integration-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{integration-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
- /package/dist/chunks/{integration-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{integration-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{integration-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{integration-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{integration-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{integration-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{integration-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{integration-5qd3pb7m.js → model-resolver-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{integration-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{integration-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{integration-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{integration-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{integration-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{integration-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{integration-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
- /package/dist/chunks/{integration-922hggd3.js → model-resolver-922hggd3.js} +0 -0
- /package/dist/chunks/{integration-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{integration-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{integration-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{integration-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{integration-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{integration-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{integration-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{integration-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{integration-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{integration-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{integration-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{integration-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{integration-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{integration-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{integration-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{integration-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{integration-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{integration-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{integration-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{integration-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{integration-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{integration-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{integration-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{integration-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{integration-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{integration-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{integration-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{integration-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{integration-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{integration-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{integration-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{integration-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
- /package/dist/chunks/{integration-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{integration-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{integration-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{integration-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
- /package/dist/chunks/{integration-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{integration-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{integration-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{integration-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{integration-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{integration-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{integration-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{integration-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{integration-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{integration-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{integration-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{integration-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{integration-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{integration-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
- /package/dist/chunks/{integration-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{integration-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{integration-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{integration-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{integration-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{integration-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{integration-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{integration-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{integration-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{integration-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{integration-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{integration-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{integration-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
- /package/dist/chunks/{integration-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{integration-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{integration-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{integration-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/attachment.ts
|
|
9
9
|
var exports_attachment = {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID7
|
|
3
|
+
} from "./model-resolver-3ckfa135.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/google-vertex.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.provider.transform((evt) => {
|
|
26
26
|
for (const item of evt.list()) {
|
|
27
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
27
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID7.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
28
28
|
continue;
|
|
29
29
|
const project = resolveProject(item.provider.settings ?? {});
|
|
30
30
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -42,7 +42,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
42
42
|
});
|
|
43
43
|
yield* ctx.model.transform((models) => {
|
|
44
44
|
for (const item of models.provider.list()) {
|
|
45
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
45
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID7.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
46
46
|
continue;
|
|
47
47
|
const project = resolveProject(item.provider.settings ?? {});
|
|
48
48
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -59,7 +59,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
61
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
62
|
-
if (evt.model.providerID !==
|
|
62
|
+
if (evt.model.providerID !== ID7.googleVertex)
|
|
63
63
|
return;
|
|
64
64
|
evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
|
|
65
65
|
}));
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node84
|
|
4
|
+
} from "./model-resolver-aaz4evtx.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event17,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID10,
|
|
20
|
+
Info: () => Info25,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
23
|
NotFoundError: () => NotFoundError8,
|
|
24
24
|
Reply: () => Reply2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service71,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
28
|
layer: () => layer25,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node74,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event17 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID10 = Form.ID;
|
|
39
|
+
var Info25 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -45,7 +45,7 @@ var Answer2 = Form.Answer;
|
|
|
45
45
|
var Reply2 = Form.Reply;
|
|
46
46
|
|
|
47
47
|
class NotFoundError8 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
-
id:
|
|
48
|
+
id: ID10
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError8 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID10
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID10
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID10,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,10 +79,10 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service71 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var layer25 = Layer.effect(
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer25 = Layer.effect(Service71, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service81;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
@@ -90,7 +90,7 @@ var layer25 = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
90
90
|
});
|
|
91
91
|
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError8({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID10.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -159,9 +159,9 @@ var layer25 = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
159
159
|
closed = true;
|
|
160
160
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
161
161
|
yield* Effect.addFinalizer(() => close);
|
|
162
|
-
return
|
|
162
|
+
return Service71.of({ create, ask, get, list, state, reply, cancel, close });
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
164
|
+
var node74 = makeLocationNode({ service: Service71, layer: layer25, deps: [node84] });
|
|
165
165
|
function validateAnswer2(form, answer) {
|
|
166
166
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
167
167
|
for (const key of Object.keys(answer)) {
|
|
@@ -313,4 +313,4 @@ function isDateTime(value) {
|
|
|
313
313
|
return !Number.isNaN(new Date(value).getTime());
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
export {
|
|
316
|
+
export { ID10, Info25, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError8, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service71, layer25, node74, validateAnswer2, validateFields2, exports_form, Event17 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-gcavn3wx.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node59
|
|
5
|
+
} from "./model-resolver-e5tcccaa.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-a81kfqvn.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service76,
|
|
12
|
+
node79
|
|
13
|
+
} from "./model-resolver-n0tq777j.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-resolver-m4mq5212.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-resolver-dyqx6pj7.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error4
|
|
22
|
+
} from "./model-resolver-1fx9aqpr.js";
|
|
23
23
|
import {
|
|
24
24
|
get5
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./model-resolver-54ma36ye.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
27
|
+
Service34,
|
|
28
|
+
node38
|
|
29
|
+
} from "./model-resolver-mgvjhcwg.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
} from "./
|
|
31
|
+
make14
|
|
32
|
+
} from "./model-resolver-57b9ws8p.js";
|
|
33
33
|
import {
|
|
34
34
|
toLLMMessages2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./model-resolver-gg3hnhsj.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/session/model-request.ts
|
|
41
41
|
var exports_model_request = {};
|
|
42
42
|
__export(exports_model_request, {
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service33,
|
|
44
44
|
SessionModelRequest: () => exports_model_request,
|
|
45
45
|
baseTranscript: () => baseTranscript2,
|
|
46
46
|
boundImages: () => boundImages2,
|
|
47
47
|
layer: () => layer12,
|
|
48
|
-
node: () =>
|
|
48
|
+
node: () => node37,
|
|
49
49
|
unsupportedParts: () => unsupportedParts2
|
|
50
50
|
});
|
|
51
51
|
import {
|
|
@@ -82,7 +82,7 @@ var baseTranscript2 = (input) => {
|
|
|
82
82
|
return {
|
|
83
83
|
providerMetadataKey,
|
|
84
84
|
system: [
|
|
85
|
-
input.agent.system ? input.agent.system :
|
|
85
|
+
input.agent.system ? input.agent.system : make14(input.tools.definitions.map((tool) => tool.name)),
|
|
86
86
|
input.initial
|
|
87
87
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
88
88
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -172,11 +172,11 @@ var boundImages2 = (messages) => {
|
|
|
172
172
|
}));
|
|
173
173
|
};
|
|
174
174
|
|
|
175
|
-
class
|
|
175
|
+
class Service33 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
176
176
|
}
|
|
177
|
-
var layer12 = Layer.effect(
|
|
178
|
-
const hooks = yield*
|
|
179
|
-
const transport = yield*
|
|
177
|
+
var layer12 = Layer.effect(Service33, Effect.gen(function* () {
|
|
178
|
+
const hooks = yield* Service76;
|
|
179
|
+
const transport = yield* Service34;
|
|
180
180
|
const app = yield* Metadata2;
|
|
181
181
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
182
182
|
const session = input.session;
|
|
@@ -184,7 +184,7 @@ var layer12 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
184
184
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
185
185
|
const tools = input.tools ?? {
|
|
186
186
|
definitions: [],
|
|
187
|
-
execute: () => new
|
|
187
|
+
execute: () => new Error4({ message: "Tools are not available for this request" })
|
|
188
188
|
};
|
|
189
189
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
190
190
|
const shaped = yield* shape({
|
|
@@ -280,17 +280,17 @@ var layer12 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
280
280
|
};
|
|
281
281
|
});
|
|
282
282
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
283
|
-
return
|
|
283
|
+
return Service33.of({
|
|
284
284
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
285
285
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
286
286
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
287
287
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
288
288
|
});
|
|
289
289
|
}));
|
|
290
|
-
var
|
|
291
|
-
service:
|
|
290
|
+
var node37 = makeLocationNode({
|
|
291
|
+
service: Service33,
|
|
292
292
|
layer: layer12,
|
|
293
|
-
deps: [
|
|
293
|
+
deps: [node79, node38, node59]
|
|
294
294
|
});
|
|
295
295
|
|
|
296
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
296
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service33, layer12, node37, exports_model_request };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
14
|
Event: () => Event11,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options10,
|
|
17
|
+
Service: () => Service60,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured10,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer23,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node63,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options10 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service60 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer23 = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service60.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer22 = (options) => Layer.effect(Service54, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service60.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer23().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service60).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service60, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured10(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service60, layer: layer23(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node63 = configured10();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export { Event11, hasNativeBinding2, Native3,
|
|
190
|
+
export { Event11, hasNativeBinding2, Native3, Options10, Service60, Test3, layer23, testLayer3, nativeLayer2, nativeNode2, configured10, node63, exports_watcher };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service59
|
|
3
|
+
} from "./model-resolver-yc2dt6gh.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service84
|
|
6
|
+
} from "./model-resolver-ncjresk4.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
observe2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-qsdy395h.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/config/plugin/policy.ts
|
|
18
18
|
var exports_policy = {};
|
|
19
19
|
__export(exports_policy, {
|
|
20
20
|
ConfigPolicyPlugin: () => exports_policy,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin12
|
|
22
22
|
});
|
|
23
23
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
24
24
|
import { Effect } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin12 = define({
|
|
26
26
|
id: "opencode.config.policy",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
|
-
const config = yield*
|
|
29
|
-
const managed = yield*
|
|
28
|
+
const config = yield* Service59;
|
|
29
|
+
const managed = yield* Service84;
|
|
30
30
|
const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
|
|
31
31
|
const policies = () => {
|
|
32
32
|
const organization = managed.current();
|
|
@@ -57,4 +57,4 @@ var Plugin18 = define({
|
|
|
57
57
|
})
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
export {
|
|
60
|
+
export { Plugin12, exports_policy };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./model-resolver-aaz4evtx.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-x661k3y3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event16
|
|
9
|
+
} from "./model-resolver-5dhepvmf.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID8
|
|
12
|
+
} from "./model-resolver-tjb0cp7v.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID7,
|
|
15
|
+
Service68
|
|
16
|
+
} from "./model-resolver-3ckfa135.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
load2,
|
|
19
|
+
derive2
|
|
20
|
+
} from "./model-resolver-2y1mzw7q.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID7.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
30
|
-
const bus = yield*
|
|
29
|
+
const providers = yield* Service68;
|
|
30
|
+
const bus = yield* Service81;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
33
33
|
const load = Effect.fn("ModalPlugin.load")(function* () {
|
|
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
|
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
const remote = yield* Effect.tryPromise({
|
|
48
|
-
try: () =>
|
|
48
|
+
try: () => load2(baseURL, apiKey),
|
|
49
49
|
catch: (cause) => cause
|
|
50
50
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
51
51
|
if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
|
|
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
|
|
|
62
62
|
return;
|
|
63
63
|
evt.add({
|
|
64
64
|
info: item.provider,
|
|
65
|
-
models: Array.from(
|
|
65
|
+
models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
|
|
66
66
|
sourceConnection: loaded.connection
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service59
|
|
3
|
+
} from "./model-resolver-yc2dt6gh.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service41
|
|
6
|
+
} from "./model-resolver-kjwygmc9.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
12
|
var exports_mcp = {};
|
|
13
13
|
__export(exports_mcp, {
|
|
14
14
|
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin7,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin7 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service59;
|
|
28
|
+
const mcp = yield* Service41;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin7, register2, exports_mcp };
|