@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,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service59
|
|
4
|
+
} from "./model-resolver-yc2dt6gh.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service58
|
|
7
|
+
} from "./model-resolver-rz6dkkgy.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
16
|
var exports_shell = {};
|
|
17
17
|
__export(exports_shell, {
|
|
18
18
|
ConfigShellPlugin: () => exports_shell,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin3
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin3 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service59;
|
|
27
|
+
const shell = yield* Service58;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin11 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin3, exports_shell };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
9
|
var exports_mcp2 = {};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-5dhepvmf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID8,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-tjb0cp7v.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID8.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service34,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
13
|
layer: () => layer13,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node38
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service34 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service34, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service36, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service34.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
372
|
var layer13 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node38 = makeGlobalNode({ service: Service34, layer: layer13, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service34, makeLayer2, layer13, node38, exports_model_transport };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-x661k3y3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./model-resolver-aaz4evtx.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event16
|
|
10
|
+
} from "./model-resolver-5dhepvmf.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID8,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-tjb0cp7v.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID7,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service68
|
|
20
|
+
} from "./model-resolver-3ckfa135.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID6
|
|
23
|
+
} from "./model-resolver-tbebh6wt.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load3,
|
|
26
|
+
derive3
|
|
27
|
+
} from "./model-resolver-xdxwx81a.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-resolver-e5tcccaa.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID15
|
|
33
|
+
} from "./model-resolver-qxcr5sj8.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./model-resolver-54ma36ye.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
65
65
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
66
66
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
67
67
|
var oauth = (app) => ({
|
|
68
|
-
integrationID:
|
|
68
|
+
integrationID: ID8.make("github-copilot"),
|
|
69
69
|
method: {
|
|
70
70
|
id: methodID,
|
|
71
71
|
type: "oauth",
|
|
@@ -163,8 +163,8 @@ var oauth = (app) => ({
|
|
|
163
163
|
var GithubCopilotPlugin2 = define({
|
|
164
164
|
id: "opencode.provider.github.copilot",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
|
-
const providers = yield*
|
|
167
|
-
const bus = yield*
|
|
166
|
+
const providers = yield* Service68;
|
|
167
|
+
const bus = yield* Service81;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
const loaded = {};
|
|
170
170
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -180,9 +180,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
180
180
|
return;
|
|
181
181
|
}
|
|
182
182
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
183
|
-
const provider = yield* providers.get(
|
|
183
|
+
const provider = yield* providers.get(ID7.githubCopilot);
|
|
184
184
|
const remote = yield* Effect.tryPromise({
|
|
185
|
-
try: () =>
|
|
185
|
+
try: () => load3(url, {
|
|
186
186
|
...provider?.headers,
|
|
187
187
|
Authorization: `Bearer ${credential.refresh}`,
|
|
188
188
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -202,13 +202,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
202
202
|
editor.method.update(oauth(ctx.app));
|
|
203
203
|
});
|
|
204
204
|
yield* ctx.provider.transform((evt) => {
|
|
205
|
-
const item = evt.get(
|
|
205
|
+
const item = evt.get(ID7.githubCopilot);
|
|
206
206
|
if (!item)
|
|
207
207
|
return;
|
|
208
208
|
if (loaded.models) {
|
|
209
209
|
evt.add({
|
|
210
210
|
info: item.provider,
|
|
211
|
-
models: Array.from(
|
|
211
|
+
models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
212
212
|
sourceConnection: loaded.connection
|
|
213
213
|
});
|
|
214
214
|
return;
|
|
@@ -222,17 +222,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
222
222
|
}
|
|
223
223
|
});
|
|
224
224
|
yield* ctx.model.transform((models) => {
|
|
225
|
-
if (models.get(
|
|
226
|
-
models.update(
|
|
225
|
+
if (models.get(ID7.githubCopilot, ID6.make("gpt-5-chat-latest"))) {
|
|
226
|
+
models.update(ID7.githubCopilot, ID6.make("gpt-5-chat-latest"), (model) => {
|
|
227
227
|
model.enabled = false;
|
|
228
228
|
});
|
|
229
229
|
}
|
|
230
230
|
});
|
|
231
231
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
232
|
-
yield* bus.subscribe(
|
|
232
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
233
233
|
yield* refresh().pipe(Effect.forkScoped);
|
|
234
234
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
235
|
-
if (evt.model.providerID !==
|
|
235
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
236
236
|
return;
|
|
237
237
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
238
238
|
return;
|
|
@@ -241,7 +241,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
241
241
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
242
242
|
}));
|
|
243
243
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
244
|
-
if (evt.model.providerID !==
|
|
244
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
245
245
|
return;
|
|
246
246
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
247
247
|
return;
|
|
@@ -251,13 +251,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
251
251
|
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
252
252
|
if (interaction !== "conversation-agent")
|
|
253
253
|
evt.headers["x-initiator"] = "agent";
|
|
254
|
-
}), { providerID:
|
|
254
|
+
}), { providerID: ID7.githubCopilot });
|
|
255
255
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
256
|
-
if (evt.model.providerID !==
|
|
256
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
257
257
|
return;
|
|
258
258
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
259
259
|
return;
|
|
260
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
260
|
+
const agent = yield* ctx.agent.get({ agentID: ID15.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
261
261
|
return;
|
|
262
262
|
}));
|
|
263
263
|
if (agent?.data.model)
|
|
@@ -268,9 +268,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
268
268
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
269
269
|
return;
|
|
270
270
|
}));
|
|
271
|
-
}), { providerID:
|
|
271
|
+
}), { providerID: ID7.githubCopilot });
|
|
272
272
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
273
|
-
if (evt.model.providerID !==
|
|
273
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
274
274
|
return;
|
|
275
275
|
const token = evt.request.headers.get("x-api-key");
|
|
276
276
|
if (!token)
|
|
@@ -278,9 +278,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
278
278
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
279
279
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
280
280
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
281
|
-
}), { providerID:
|
|
281
|
+
}), { providerID: ID7.githubCopilot });
|
|
282
282
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
283
|
-
if (evt.model.providerID !==
|
|
283
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
284
284
|
return;
|
|
285
285
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
286
286
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service76,
|
|
10
|
+
node: () => node79
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service76 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service76.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node79 = makeLocationNode({ service: Service76, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service76, node79, exports_hooks };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./model-resolver-x3ymtx59.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service14
|
|
9
|
+
} from "./model-resolver-wsr3wm9b.js";
|
|
10
10
|
import {
|
|
11
11
|
Service11
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-cq364ng9.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -24,25 +24,25 @@ import {
|
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
26
|
Service12
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./model-resolver-rrx1e06a.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input11,
|
|
36
|
+
Plugin: () => Plugin48,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name11,
|
|
39
|
+
toModelContent: () => toModelContent6
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name11 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input11 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin48 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
61
|
const reader = yield* Service12;
|
|
62
|
-
const access = yield*
|
|
62
|
+
const access = yield* Service14;
|
|
63
63
|
const sessionInstructions = yield* Service11;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service78;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name11,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input11,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin43 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent6(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -145,7 +145,7 @@ ${suggestions.join(`
|
|
|
145
145
|
});
|
|
146
146
|
})
|
|
147
147
|
};
|
|
148
|
-
var
|
|
148
|
+
var toModelContent6 = (path, offset, output) => {
|
|
149
149
|
if (output.type === "file" && output.encoding === "base64")
|
|
150
150
|
return [
|
|
151
151
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -181,4 +181,4 @@ var toModelContent4 = (path, offset, output) => {
|
|
|
181
181
|
`);
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { name11, Input11, Plugin48, toModelContent6, exports_read };
|