@opencode/core 0.0.0-dev-19596 → 0.0.0-dev-19598
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 +80 -80
- package/dist/aisdk-native.js +89 -2
- package/dist/aisdk.js +93 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +74 -74
- package/dist/chunks/{schema-tz9c6nnc.js → file-00ahzcwm.js} +15 -15
- package/dist/chunks/{schema-15nepkqg.js → file-0h54jqbs.js} +8 -8
- package/dist/chunks/{schema-1qghmjy0.js → file-0mt6cg7p.js} +6 -6
- package/dist/chunks/{schema-0paq2nw3.js → file-0paq2nw3.js} +1 -1
- package/dist/chunks/{schema-0q0f95c6.js → file-0q0f95c6.js} +1 -1
- package/dist/chunks/{schema-varphpm5.js → file-0s3e8wbd.js} +61 -54
- package/dist/chunks/{schema-sx1n432n.js → file-0v53mg2y.js} +4 -4
- package/dist/chunks/{schema-3p2ed7sd.js → file-0vdk82c3.js} +25 -25
- package/dist/chunks/{schema-qpv0n9y2.js → file-10jz9m44.js} +13 -13
- package/dist/chunks/{schema-hj0g3228.js → file-129brntk.js} +13 -13
- package/dist/chunks/{schema-cvtmmhw6.js → file-182z4mkv.js} +4 -4
- package/dist/chunks/{schema-1dazxqgg.js → file-1dazxqgg.js} +2 -2
- package/dist/chunks/{schema-a3dxz99s.js → file-1j54nx79.js} +11 -11
- package/dist/chunks/{schema-a2mmkps9.js → file-1t72z6bs.js} +27 -27
- package/dist/chunks/{schema-8hqm76n9.js → file-1zzmp92z.js} +35 -22
- package/dist/chunks/{schema-21r38tys.js → file-21r38tys.js} +1 -1
- package/dist/chunks/{schema-88jrr0c1.js → file-26m8t0ek.js} +21 -21
- package/dist/chunks/{schema-rggx3fk4.js → file-28q1zxr2.js} +8 -8
- package/dist/chunks/{schema-2a5m3afh.js → file-2a5m3afh.js} +1 -1
- package/dist/chunks/{schema-qr42g2ex.js → file-2fy2emhs.js} +12 -12
- package/dist/chunks/{schema-gg2v66ak.js → file-2jtppnb6.js} +36 -36
- package/dist/chunks/{schema-607tc6va.js → file-2k8khapm.js} +5 -5
- package/dist/chunks/{schema-0pb75hch.js → file-2m2rh4pc.js} +8 -8
- package/dist/chunks/{schema-eng2bkh5.js → file-2rpf5fdd.js} +6 -6
- package/dist/chunks/{schema-f6agekp8.js → file-2yrd4w3g.js} +14 -17
- package/dist/chunks/{schema-qdeq33kz.js → file-2zf3hwjc.js} +22 -22
- package/dist/chunks/{schema-kgt4jx9n.js → file-313wy76v.js} +22 -22
- package/dist/chunks/{schema-w5np17bk.js → file-34v3mw25.js} +32 -32
- package/dist/chunks/file-36msp9ny.js +26 -0
- package/dist/chunks/{schema-bfn7mtpr.js → file-3btn89ec.js} +13 -13
- package/dist/chunks/{schema-3fc6dm20.js → file-3fc6dm20.js} +1 -1
- package/dist/chunks/{schema-3hepkmqq.js → file-3hepkmqq.js} +1 -1
- package/dist/chunks/{schema-eyqq4r43.js → file-3pbjq009.js} +8 -8
- package/dist/chunks/{schema-3smtnn6g.js → file-3smtnn6g.js} +1 -1
- package/dist/chunks/{schema-3tvqynh2.js → file-3tvqynh2.js} +1 -1
- package/dist/chunks/{schema-6sk8rnq7.js → file-3v0x2y7p.js} +43 -43
- package/dist/chunks/{schema-sxwejk34.js → file-3w80k797.js} +63 -63
- package/dist/chunks/{schema-61tweh31.js → file-3xy0seps.js} +11 -11
- package/dist/chunks/{schema-8b5a8700.js → file-3z6mat0v.js} +30 -30
- package/dist/chunks/{schema-t9qn8q8w.js → file-3zykk5as.js} +8 -8
- package/dist/chunks/{schema-t46k7n4n.js → file-42j12a3k.js} +29 -29
- package/dist/chunks/{schema-46kds8gk.js → file-485fr60v.js} +15 -15
- package/dist/chunks/{schema-fch79rh9.js → file-4jc5c4h4.js} +1 -1
- package/dist/chunks/{schema-d4d34sqm.js → file-4rcm86v0.js} +17 -17
- package/dist/chunks/{schema-y9ytwzzt.js → file-4zqrhqht.js} +50 -49
- package/dist/chunks/{schema-16502g6j.js → file-5276hfdk.js} +22 -22
- package/dist/chunks/{schema-vrf9z43g.js → file-52zzeq6p.js} +32 -32
- package/dist/chunks/{schema-1ygqh575.js → file-56gdpj1q.js} +9 -9
- package/dist/chunks/{schema-x00t4nfm.js → file-57ez7d0k.js} +9 -9
- package/dist/chunks/{schema-qcyk0ctz.js → file-58qyzcvs.js} +14 -14
- package/dist/chunks/{schema-8tpwn33w.js → file-5c70fjhz.js} +4 -4
- package/dist/chunks/{schema-5daktx2q.js → file-5daktx2q.js} +1 -1
- package/dist/chunks/{schema-bdqrk2vk.js → file-5phqnecy.js} +9 -9
- package/dist/chunks/{schema-paphc93g.js → file-5qd3pb7m.js} +2 -2
- package/dist/chunks/{schema-b11403r6.js → file-5r9teng0.js} +4 -4
- package/dist/chunks/{schema-5t3nmthw.js → file-5t3nmthw.js} +2 -2
- package/dist/chunks/{schema-4n7x7n3b.js → file-5vyabe77.js} +46 -46
- package/dist/chunks/{schema-pta0m0y2.js → file-5w575vpr.js} +10 -10
- package/dist/chunks/{schema-160w9f8h.js → file-658qrzb6.js} +4 -4
- package/dist/chunks/{schema-669tq793.js → file-669tq793.js} +1 -1
- package/dist/chunks/{schema-94wn97cy.js → file-6bxb4cxk.js} +9 -9
- package/dist/chunks/{schema-f4ygn7kd.js → file-6gryy3ht.js} +25 -25
- package/dist/chunks/{schema-2402vzrj.js → file-6h73sxmp.js} +5 -5
- package/dist/chunks/{schema-30c1nq7z.js → file-6kg1vfnr.js} +8 -8
- package/dist/chunks/{schema-6msgmcgs.js → file-6msgmcgs.js} +1 -1
- package/dist/chunks/{schema-c09skazh.js → file-6p7t068e.js} +6 -6
- package/dist/chunks/{schema-j5dzb3vg.js → file-6s5nejzz.js} +11 -11
- package/dist/chunks/{schema-yzesgjc2.js → file-6wce12fj.js} +33 -33
- package/dist/chunks/{schema-vve3ffxw.js → file-6we377py.js} +32 -32
- package/dist/chunks/{schema-71q4at8m.js → file-71q4at8m.js} +1 -1
- package/dist/chunks/{schema-7bmhse3q.js → file-7bmhse3q.js} +1 -1
- package/dist/chunks/{schema-s32qcjvy.js → file-7dx4zb5w.js} +46 -46
- package/dist/chunks/{schema-7h6eczm7.js → file-7e0sczy2.js} +20 -20
- package/dist/chunks/{schema-2xmxfdkw.js → file-7qb1bt6t.js} +13 -13
- package/dist/chunks/{schema-ak553geh.js → file-7vzzf4r8.js} +16 -16
- package/dist/chunks/{schema-9776sn27.js → file-804mq7mh.js} +17 -17
- package/dist/chunks/{schema-1pqwnjx4.js → file-85170kwf.js} +27 -27
- package/dist/chunks/{schema-7vgg5bre.js → file-88t9pbvw.js} +20 -20
- package/dist/chunks/{schema-8d7r5vzw.js → file-8d7r5vzw.js} +1 -1
- package/dist/chunks/{schema-70d2s7af.js → file-8fj94art.js} +4 -4
- package/dist/chunks/{schema-ctmr8zqa.js → file-8gxqpgph.js} +4 -4
- package/dist/chunks/{schema-8p4f9s12.js → file-8p4f9s12.js} +2 -2
- package/dist/chunks/{schema-fvwtc7m7.js → file-8yjzh81f.js} +22 -36
- package/dist/chunks/{schema-7f0264at.js → file-919h57eb.js} +35 -34
- package/dist/chunks/{schema-xr4pykw3.js → file-9avcp2jz.js} +16 -16
- package/dist/chunks/{schema-dcrj6gad.js → file-9dvg4g8f.js} +22 -22
- package/dist/chunks/{schema-02nqk1b9.js → file-9tb0rzq8.js} +4 -4
- package/dist/chunks/{schema-mp0exg3w.js → file-9vj1at0d.js} +11 -11
- package/dist/chunks/{schema-0n4jht4c.js → file-9x1sbddt.js} +18 -18
- package/dist/chunks/{schema-a1bz86dw.js → file-a1bz86dw.js} +3 -3
- package/dist/chunks/{schema-aaet6srn.js → file-aaet6srn.js} +2 -2
- package/dist/chunks/{schema-hkfg6fzm.js → file-af04s6ss.js} +5 -5
- package/dist/chunks/{schema-d6e8k2gz.js → file-agxtagsk.js} +34 -34
- package/dist/chunks/{schema-460nzhf0.js → file-ampdzzmt.js} +13 -13
- package/dist/chunks/{schema-vazxaftq.js → file-atrnym84.js} +18 -18
- package/dist/chunks/{schema-wavq5vqb.js → file-avezr732.js} +4 -4
- package/dist/chunks/{schema-sxj88q7q.js → file-b1e26q27.js} +30 -30
- package/dist/chunks/{schema-b6gygkdw.js → file-b6gygkdw.js} +2 -2
- package/dist/chunks/{schema-yn73hxa9.js → file-bd58x3af.js} +19 -19
- package/dist/chunks/{schema-e6hmchc5.js → file-bgxcxs0p.js} +5 -5
- package/dist/chunks/{schema-zqk4v51d.js → file-bknfn28s.js} +12 -12
- package/dist/chunks/{schema-jj8s0vwv.js → file-bq2epsr3.js} +19 -19
- package/dist/chunks/{schema-5rs2mggp.js → file-bycsbmk8.js} +13 -13
- package/dist/chunks/{schema-t0x5rdq8.js → file-c4vcfcbt.js} +9 -9
- package/dist/chunks/{schema-c78bbtc9.js → file-c78bbtc9.js} +2 -2
- package/dist/chunks/{schema-yea1wtgt.js → file-cb51cg86.js} +98 -97
- package/dist/chunks/{schema-3qte0bkw.js → file-cf2ej5qv.js} +11 -11
- package/dist/chunks/{schema-cfpkc3c9.js → file-cfpkc3c9.js} +2 -2
- package/dist/chunks/{schema-bswyt25e.js → file-ckpz9tzv.js} +13 -13
- package/dist/chunks/file-cpj0znwe.js +24 -0
- package/dist/chunks/{schema-bnf5aq9z.js → file-cqc023f0.js} +22 -22
- package/dist/chunks/{schema-qpxa9xfm.js → file-da6evnzj.js} +11 -11
- package/dist/chunks/{schema-skkcpn4x.js → file-de97ckz5.js} +17 -17
- package/dist/chunks/{schema-844ef7ks.js → file-dgj0dq1g.js} +8 -8
- package/dist/chunks/{schema-35wynegs.js → file-dqc15y4x.js} +2 -2
- package/dist/chunks/{schema-zdyqqjkd.js → file-dqvbfby7.js} +205 -192
- package/dist/chunks/{schema-dm8kv9e9.js → file-dtnrh8vj.js} +48 -48
- package/dist/chunks/{schema-14a1bm7w.js → file-e1x4awme.js} +24 -24
- package/dist/chunks/{schema-e5nv3ght.js → file-e5nv3ght.js} +2 -2
- package/dist/chunks/{schema-3a6re68j.js → file-e6hd9jay.js} +5 -5
- package/dist/chunks/{schema-14getyrd.js → file-eb6z8chr.js} +22 -22
- package/dist/chunks/{schema-fnt00pdw.js → file-ecmre7pn.js} +96 -96
- package/dist/chunks/{schema-ef5x83kb.js → file-ef5x83kb.js} +1 -1
- package/dist/chunks/{schema-p8rnrv0y.js → file-ef6j5nc6.js} +9 -9
- package/dist/chunks/{schema-yaj99xd7.js → file-ejt0hq34.js} +18 -18
- package/dist/chunks/{schema-nnaq0ssc.js → file-em65arkj.js} +36 -36
- package/dist/chunks/{schema-qjkj1w27.js → file-emc9sr5q.js} +5 -5
- package/dist/chunks/{schema-aqd42mcz.js → file-eqjzvt4d.js} +10 -10
- package/dist/chunks/{schema-8tasdpw9.js → file-eqz5qmce.js} +17 -17
- package/dist/chunks/{schema-cyhsea0k.js → file-et0rkxxj.js} +8 -8
- package/dist/chunks/{schema-etq0c3wd.js → file-etq0c3wd.js} +1 -1
- package/dist/chunks/{schema-r9asyhme.js → file-ev5x2d0f.js} +21 -14
- package/dist/chunks/{schema-sez5jh81.js → file-f3ngv102.js} +4 -4
- package/dist/chunks/{schema-ew8epg43.js → file-f42mf92g.js} +8 -8
- package/dist/chunks/{schema-6bsje7ws.js → file-f5syc60y.js} +2 -2
- package/dist/chunks/{schema-f828m53h.js → file-f828m53h.js} +2 -2
- package/dist/chunks/{schema-mh093k67.js → file-fctbv38k.js} +30 -30
- package/dist/chunks/{schema-cwtxttrt.js → file-ffs43ht2.js} +19 -19
- package/dist/chunks/{schema-zwv68h5q.js → file-frmeqhta.js} +7 -7
- package/dist/chunks/{schema-w4cz4w8n.js → file-fvrhsr23.js} +2 -2
- package/dist/chunks/{schema-219neeqh.js → file-fwkb73sv.js} +5 -5
- package/dist/chunks/{schema-fxbjtjnd.js → file-fxbjtjnd.js} +1 -1
- package/dist/chunks/{schema-1cbk4m95.js → file-g0sczcq0.js} +22 -15
- package/dist/chunks/{schema-t16yqmmz.js → file-g601pm08.js} +8 -10
- package/dist/chunks/{schema-gd4qta3r.js → file-gd4qta3r.js} +1 -1
- package/dist/chunks/{schema-jxbxppp8.js → file-ggz1pmcj.js} +28 -28
- package/dist/chunks/{schema-j0kcbam5.js → file-gs1hwhc0.js} +25 -25
- package/dist/chunks/{schema-crptryd9.js → file-gsx0ryk4.js} +9 -9
- package/dist/chunks/{schema-th5km1p3.js → file-gv6a8nnw.js} +5 -5
- package/dist/chunks/{schema-h03wrkyp.js → file-h03wrkyp.js} +2 -2
- package/dist/chunks/{schema-h6vf3j39.js → file-h6vf3j39.js} +1 -1
- package/dist/chunks/{schema-4p8fzzdy.js → file-hfdr1yjj.js} +4 -4
- package/dist/chunks/{schema-wpcmngey.js → file-hhh0a6zm.js} +9 -9
- package/dist/chunks/{schema-e82z9tr0.js → file-hjt4xg1x.js} +7 -7
- package/dist/chunks/{schema-nvck40qe.js → file-hkcvz44k.js} +11 -11
- package/dist/chunks/{schema-vzm76b3t.js → file-hq8zt1th.js} +6 -6
- package/dist/chunks/{schema-9cwgx80s.js → file-hy5fgcee.js} +15 -15
- package/dist/chunks/{schema-ff0svapt.js → file-j325xqev.js} +2 -2
- package/dist/chunks/{schema-j56e64zr.js → file-j56e64zr.js} +1 -1
- package/dist/chunks/{schema-2bvm5bng.js → file-jac4mw22.js} +5 -5
- package/dist/chunks/{schema-zf2yj53h.js → file-jbkjz0j2.js} +36 -30
- package/dist/chunks/{schema-k7ytje6f.js → file-jndejbar.js} +36 -35
- package/dist/chunks/{schema-shh6fz4q.js → file-jva4mgym.js} +4 -4
- package/dist/chunks/{schema-9n8afz82.js → file-jzt5g60a.js} +18 -18
- package/dist/chunks/{schema-wtx5fp6w.js → file-k0mc747p.js} +41 -41
- package/dist/chunks/{schema-jb92a43k.js → file-k2bnz6b5.js} +54 -54
- package/dist/chunks/{schema-y5dj3dxk.js → file-k2s68ryd.js} +6 -6
- package/dist/chunks/{schema-6z8qh9hd.js → file-k6wrm9a0.js} +49 -20
- package/dist/chunks/{schema-k5ahzgcr.js → file-kjpj2a9q.js} +30 -30
- package/dist/chunks/{schema-fay8vjw6.js → file-kzw69375.js} +11 -11
- package/dist/chunks/{schema-w52sm2v7.js → file-m2cb1kfd.js} +32 -32
- package/dist/chunks/{schema-t2tp6kph.js → file-m3td6s3w.js} +9 -9
- package/dist/chunks/{schema-9ee4bqq5.js → file-m49cwa8c.js} +20 -20
- package/dist/chunks/{schema-szvcpp15.js → file-m4e3ywc5.js} +34 -34
- package/dist/chunks/{schema-9cwdscm4.js → file-m7tah5hb.js} +6 -6
- package/dist/chunks/{schema-h6ar4aba.js → file-m947q6k5.js} +24 -24
- package/dist/chunks/{schema-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
- package/dist/chunks/{schema-xafa45y0.js → file-mcjktpac.js} +23 -23
- package/dist/chunks/{schema-hv9ta9e9.js → file-mkt4f7jq.js} +27 -27
- package/dist/chunks/{schema-cxnfc116.js → file-mnejq3c6.js} +16 -16
- package/dist/chunks/{schema-8g7dzdwc.js → file-mppen3ja.js} +11 -11
- package/dist/chunks/{schema-hjnnbnbb.js → file-mqadsv8v.js} +6 -6
- package/dist/chunks/{schema-100j1g9v.js → file-mry3yw3z.js} +37 -37
- package/dist/chunks/{schema-yp37mb71.js → file-mv06p09r.js} +28 -28
- package/dist/chunks/{schema-73tb2d7t.js → file-mvfsc1pv.js} +3 -3
- package/dist/chunks/{schema-yfbgkrwe.js → file-mw62vq54.js} +11 -11
- package/dist/chunks/{schema-tgp4vj3e.js → file-n1jngd1w.js} +25 -25
- package/dist/chunks/{schema-6756pezh.js → file-nc8419v6.js} +12 -12
- package/dist/chunks/{schema-7cdavrgt.js → file-ne2r7j9m.js} +24 -24
- package/dist/chunks/{schema-zm862yqt.js → file-nqrry9qg.js} +36 -36
- package/dist/chunks/{schema-nkszaa5g.js → file-ns74bfrf.js} +19 -19
- package/dist/chunks/{schema-p8ee7rnh.js → file-nx3x71r4.js} +15 -15
- package/dist/chunks/{schema-a9bb11qt.js → file-p0bspynp.js} +5 -5
- package/dist/chunks/{schema-35hkzk16.js → file-p9v06vkv.js} +7 -7
- package/dist/chunks/{schema-g5rn0d52.js → file-pajef2pp.js} +18 -18
- package/dist/chunks/{schema-17ccpqma.js → file-ph5begyf.js} +38 -31
- package/dist/chunks/{schema-74jczd3p.js → file-phc861ae.js} +6 -6
- package/dist/chunks/{schema-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
- package/dist/chunks/{schema-pknna89w.js → file-pknna89w.js} +1 -1
- package/dist/chunks/{schema-33n3bzdy.js → file-pmh6tya1.js} +171 -9
- package/dist/chunks/{schema-nsc0z153.js → file-pnwnc2eb.js} +15 -15
- package/dist/chunks/{schema-f3fywrrk.js → file-prvz8ejv.js} +22 -22
- package/dist/chunks/{schema-na2rb754.js → file-pwpabjhk.js} +59 -59
- package/dist/chunks/{schema-c1660zyq.js → file-q4yxhgfy.js} +4 -4
- package/dist/chunks/file-qapv375x.js +4 -0
- package/dist/chunks/file-qc068m1q.js +18 -0
- package/dist/chunks/{schema-febxpxrj.js → file-qc0tpyc3.js} +9 -9
- package/dist/chunks/{schema-59fjh03s.js → file-qcd1qc15.js} +6 -6
- package/dist/chunks/{schema-b83gcn6t.js → file-qd4n55pn.js} +32 -32
- package/dist/chunks/{schema-49m0b0hg.js → file-qfa7jkp4.js} +12 -12
- package/dist/chunks/{schema-qsdy395h.js → file-qsdy395h.js} +1 -1
- package/dist/chunks/{schema-eq6c3fte.js → file-qyrnw00n.js} +17 -9
- package/dist/chunks/{schema-h2ksjayj.js → file-r0eemgrz.js} +28 -28
- package/dist/chunks/{schema-ckp1ht4p.js → file-r3mfjy6q.js} +302 -296
- package/dist/chunks/{schema-r9mregkx.js → file-r9mregkx.js} +2 -2
- package/dist/chunks/{schema-mz6ae2yf.js → file-ra8qdd9e.js} +4 -4
- package/dist/chunks/{schema-3hf7z3yq.js → file-rcsscm7r.js} +11 -11
- package/dist/chunks/{schema-kg06axw8.js → file-rdw6cm16.js} +3 -1
- package/dist/chunks/{schema-9xdtwryq.js → file-rpp558y0.js} +35 -33
- package/dist/chunks/{schema-0artwwxx.js → file-ryjh9mcz.js} +6 -6
- package/dist/chunks/{schema-pdamhna9.js → file-rzxstzmh.js} +17 -17
- package/dist/chunks/{schema-gj03f4ek.js → file-s3dxyf65.js} +18 -18
- package/dist/chunks/{schema-tax233da.js → file-s48t05nw.js} +19 -19
- package/dist/chunks/{schema-02nrjc1r.js → file-s8d7rejh.js} +8 -8
- package/dist/chunks/{schema-ttvjx6p5.js → file-s8rxtnbc.js} +18 -18
- package/dist/chunks/{schema-352w66m8.js → file-scv7p57g.js} +9 -9
- package/dist/chunks/{schema-t6vsspdg.js → file-sxz6gkc3.js} +4 -4
- package/dist/chunks/{schema-7d2a7xbs.js → file-sznyev98.js} +5 -5
- package/dist/chunks/{schema-9xbky303.js → file-t3x95jfd.js} +71 -71
- package/dist/chunks/file-t50jsm69.js +201 -0
- package/dist/chunks/{schema-7j034exa.js → file-t6z0eevx.js} +21 -20
- package/dist/chunks/{schema-tazgh4e4.js → file-tazgh4e4.js} +1 -1
- package/dist/chunks/{schema-89znhe33.js → file-tcezcvh9.js} +4 -4
- package/dist/chunks/{schema-cvnh4hxe.js → file-tdqfck99.js} +14 -14
- package/dist/chunks/{schema-tdstcens.js → file-tdstcens.js} +1 -1
- package/dist/chunks/{schema-265kqrgy.js → file-tg00ampp.js} +4 -4
- package/dist/chunks/{schema-k7yxbrfp.js → file-tmz405jm.js} +42 -42
- package/dist/chunks/{schema-tvtrv512.js → file-tvtrv512.js} +1 -1
- package/dist/chunks/{schema-mx4nfnwv.js → file-tz1hbxk4.js} +3 -3
- package/dist/chunks/{schema-nrzpy080.js → file-v71dgxb6.js} +32 -32
- package/dist/chunks/{schema-qgtwsm4a.js → file-vanydjgv.js} +51 -51
- package/dist/chunks/{schema-q53mw4kv.js → file-vcyhp7t3.js} +11 -11
- package/dist/chunks/{schema-veqvce7d.js → file-veqvce7d.js} +1 -1
- package/dist/chunks/{schema-9cdcqr3z.js → file-vfgva3xk.js} +24 -24
- package/dist/chunks/{schema-xcz5qpew.js → file-vhvvs13s.js} +18 -18
- package/dist/chunks/{schema-gj5yqrt5.js → file-vm86ksqf.js} +8 -8
- package/dist/chunks/{schema-kdmcvb0r.js → file-vmbah541.js} +6 -6
- package/dist/chunks/{schema-c5nvra9m.js → file-vq7z185x.js} +4 -4
- package/dist/chunks/{schema-vzcthcp8.js → file-vzcthcp8.js} +1 -1
- package/dist/chunks/{schema-r66k216p.js → file-w0x3jd68.js} +26 -26
- package/dist/chunks/{schema-mfhfdr54.js → file-w1k39n5e.js} +4 -4
- package/dist/chunks/{schema-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
- package/dist/chunks/{schema-gd8pphrc.js → file-w75v1kbk.js} +1 -1
- package/dist/chunks/{schema-wd87259q.js → file-wd87259q.js} +1 -1
- package/dist/chunks/{schema-9n9wwhvc.js → file-wdpdtye9.js} +29 -29
- package/dist/chunks/{schema-zpbz1axx.js → file-wndsw9jd.js} +11 -11
- package/dist/chunks/{schema-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
- package/dist/chunks/{schema-mw7ftrc1.js → file-x42bs0x6.js} +47 -47
- package/dist/chunks/{schema-6kyz0a76.js → file-xe94yqgp.js} +9 -9
- package/dist/chunks/file-xfz9zfky.js +53 -0
- package/dist/chunks/{schema-7a8p0xnb.js → file-xgfp89dv.js} +15 -15
- package/dist/chunks/{schema-dtsq3qdh.js → file-xhmq8qgk.js} +9 -9
- package/dist/chunks/{schema-nwejh57z.js → file-xjrg1qn8.js} +23 -23
- package/dist/chunks/{schema-0e0qwbc3.js → file-y119texf.js} +32 -32
- package/dist/chunks/{schema-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
- package/dist/chunks/{schema-nsy21xt9.js → file-y3dttyaz.js} +41 -41
- package/dist/chunks/{schema-hhgwwrzt.js → file-y6h4mdg2.js} +39 -39
- package/dist/chunks/{schema-jwcy2c2z.js → file-y71avatq.js} +4 -4
- package/dist/chunks/{schema-3dmtdf19.js → file-ye1wyhtp.js} +12 -12
- package/dist/chunks/{schema-wb1a395f.js → file-yn670k7r.js} +21 -21
- package/dist/chunks/{schema-yp2x3t23.js → file-yp2x3t23.js} +1 -1
- package/dist/chunks/file-yqncp4jv.js +251 -0
- package/dist/chunks/{schema-yrhqyw5v.js → file-yrhqyw5v.js} +1 -1
- package/dist/chunks/{schema-yrznvahk.js → file-yrznvahk.js} +2 -2
- package/dist/chunks/{schema-z0bkrqjs.js → file-z0bkrqjs.js} +1 -1
- package/dist/chunks/{schema-z63w68vq.js → file-z63w68vq.js} +2 -2
- package/dist/chunks/{schema-1gr0tcdy.js → file-z6cdq4y7.js} +4 -4
- package/dist/chunks/{schema-57kf9cn6.js → file-z7bpncyg.js} +11 -11
- package/dist/chunks/{schema-cyyebbpd.js → file-zdw538jz.js} +20 -20
- package/dist/chunks/{schema-zeh9ct20.js → file-zeh9ct20.js} +2 -2
- package/dist/chunks/{schema-7hztb8a6.js → file-zg2jh87r.js} +17 -17
- package/dist/chunks/{schema-aqqw58sn.js → file-zkb0rj7d.js} +32 -32
- package/dist/chunks/{schema-zr2ceqn5.js → file-zr2ceqn5.js} +1 -1
- package/dist/chunks/{schema-zxq2ej10.js → file-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -19
- package/dist/config/plugin/agent.js +124 -121
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -137
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -120
- package/dist/config/plugin/image.js +122 -119
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -121
- package/dist/config/plugin/mcp.js +131 -130
- package/dist/config/plugin/policy.js +122 -118
- package/dist/config/plugin/provider.js +121 -117
- package/dist/config/plugin/reference.js +124 -121
- package/dist/config/plugin/shell.js +124 -121
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -138
- package/dist/config/plugin/snapshot.js +122 -119
- package/dist/config/plugin/source.js +125 -121
- package/dist/config/plugin/tool-output.js +124 -121
- package/dist/config/plugin/websearch.js +123 -119
- package/dist/config/plugin/worktree.js +125 -122
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +73 -73
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +365 -365
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +105 -94
- 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 +95 -4
- 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 +356 -356
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +11 -19
- package/dist/integration.js +87 -87
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +137 -137
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +353 -353
- package/dist/location.js +88 -88
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +124 -124
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +95 -4
- package/dist/model-resolver.js +98 -87
- package/dist/model.js +104 -11
- package/dist/models-dev.js +105 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +114 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +94 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +89 -2
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +89 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -80
- 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 +92 -81
- package/dist/plugin/provider/gitlab.js +90 -3
- package/dist/plugin/provider/google-vertex.js +89 -2
- package/dist/plugin/provider/kilo.js +89 -2
- package/dist/plugin/provider/llmgateway.js +89 -77
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -80
- package/dist/plugin/provider/nvidia.js +89 -2
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +93 -81
- package/dist/plugin/provider/opencode.js +92 -80
- package/dist/plugin/provider/openrouter.js +90 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +90 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -2
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -78
- package/dist/plugin/provider/zenmux.js +89 -2
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -137
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +91 -4
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +101 -8
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +78 -78
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +137 -134
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +76 -75
- package/dist/session/store.js +86 -86
- 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 +153 -153
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +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 +13 -13
- package/dist/shell.js +139 -136
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +90 -90
- 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 +125 -125
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/types/github-copilot/models.d.ts +61 -0
- package/dist/types/instance.d.ts +3 -2
- package/dist/types/integration/connection.d.ts +8 -0
- package/dist/types/integration.d.ts +2 -0
- package/dist/types/modal/models.d.ts +30 -0
- package/dist/types/model-resolver.d.ts +2 -3
- package/dist/types/model.d.ts +33 -0
- package/dist/types/plugin/host.d.ts +4 -3
- package/dist/types/plugin/internal.d.ts +4 -3
- package/dist/types/plugin/provider/azure.d.ts +2 -1
- package/dist/types/plugin/provider/cloudflare-ai-gateway.d.ts +2 -1
- package/dist/types/plugin/provider/cloudflare-workers-ai.d.ts +2 -1
- package/dist/types/plugin/provider/configured.d.ts +1 -2
- package/dist/types/plugin/provider/github-copilot.d.ts +2 -2
- package/dist/types/plugin/provider/modal.d.ts +2 -2
- package/dist/types/plugin/provider/snowflake-cortex.d.ts +2 -1
- package/dist/types/provider.d.ts +43 -1
- package/dist/types/state.d.ts +4 -0
- package/dist/types/v1/config/migrate.d.ts +3 -3
- 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 +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -4
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/refresh.js +345 -345
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/catalog.js +0 -89
- package/dist/chunks/schema-0mesazry.js +0 -4
- package/dist/chunks/schema-2rnk416m.js +0 -247
- package/dist/chunks/schema-bsgewm40.js +0 -26
- package/dist/chunks/schema-c3s2gn8c.js +0 -49
- package/dist/chunks/schema-jr3e8pb9.js +0 -55
- package/dist/chunks/schema-qdyb70sk.js +0 -18
- package/dist/chunks/schema-yh4as7xh.js +0 -193
- package/dist/types/catalog.d.ts +0 -49
- /package/dist/chunks/{schema-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{schema-0zkw76rk.js → file-0zkw76rk.js} +0 -0
- /package/dist/chunks/{schema-17cy0kzp.js → file-17cy0kzp.js} +0 -0
- /package/dist/chunks/{schema-1cnp2v09.js → file-1cnp2v09.js} +0 -0
- /package/dist/chunks/{schema-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{schema-2710q6r3.js → file-2710q6r3.js} +0 -0
- /package/dist/chunks/{schema-2axfhc9x.js → file-2axfhc9x.js} +0 -0
- /package/dist/chunks/{schema-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{schema-359p4xyc.js → file-359p4xyc.js} +0 -0
- /package/dist/chunks/{schema-3asan66x.js → file-3asan66x.js} +0 -0
- /package/dist/chunks/{schema-3v8g72cx.js → file-3v8g72cx.js} +0 -0
- /package/dist/chunks/{schema-3w5fmr99.js → file-3w5fmr99.js} +0 -0
- /package/dist/chunks/{schema-3wcehsnq.js → file-3wcehsnq.js} +0 -0
- /package/dist/chunks/{schema-43n2bw4t.js → file-43n2bw4t.js} +0 -0
- /package/dist/chunks/{schema-4knz6hnm.js → file-4knz6hnm.js} +0 -0
- /package/dist/chunks/{schema-4vcrnpx2.js → file-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{schema-4y7fprxs.js → file-4y7fprxs.js} +0 -0
- /package/dist/chunks/{schema-53557ph1.js → file-53557ph1.js} +0 -0
- /package/dist/chunks/{schema-550bvhaj.js → file-550bvhaj.js} +0 -0
- /package/dist/chunks/{schema-6prwharc.js → file-6prwharc.js} +0 -0
- /package/dist/chunks/{schema-7akdwqpd.js → file-7akdwqpd.js} +0 -0
- /package/dist/chunks/{schema-7m9af43g.js → file-7m9af43g.js} +0 -0
- /package/dist/chunks/{schema-822emrt2.js → file-822emrt2.js} +0 -0
- /package/dist/chunks/{schema-88xbtdfr.js → file-88xbtdfr.js} +0 -0
- /package/dist/chunks/{schema-8n3pysct.js → file-8n3pysct.js} +0 -0
- /package/dist/chunks/{schema-922hggd3.js → file-922hggd3.js} +0 -0
- /package/dist/chunks/{schema-9a4afbnw.js → file-9a4afbnw.js} +0 -0
- /package/dist/chunks/{schema-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{schema-a6k6eb26.js → file-a6k6eb26.js} +0 -0
- /package/dist/chunks/{schema-af5trqkr.js → file-af5trqkr.js} +0 -0
- /package/dist/chunks/{schema-afrmfg78.js → file-afrmfg78.js} +0 -0
- /package/dist/chunks/{schema-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{schema-atq7p7m5.js → file-atq7p7m5.js} +0 -0
- /package/dist/chunks/{schema-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{schema-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{schema-cf4snx6d.js → file-cf4snx6d.js} +0 -0
- /package/dist/chunks/{schema-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{schema-d9fn303g.js → file-d9fn303g.js} +0 -0
- /package/dist/chunks/{schema-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{schema-dajrwvna.js → file-dajrwvna.js} +0 -0
- /package/dist/chunks/{schema-dap0rakb.js → file-dap0rakb.js} +0 -0
- /package/dist/chunks/{schema-df08tz66.js → file-df08tz66.js} +0 -0
- /package/dist/chunks/{schema-dy18nga0.js → file-dy18nga0.js} +0 -0
- /package/dist/chunks/{schema-e5kj55wp.js → file-e5kj55wp.js} +0 -0
- /package/dist/chunks/{schema-e73j6tqm.js → file-e73j6tqm.js} +0 -0
- /package/dist/chunks/{schema-ec1grn59.js → file-ec1grn59.js} +0 -0
- /package/dist/chunks/{schema-eh3zwz77.js → file-eh3zwz77.js} +0 -0
- /package/dist/chunks/{schema-emrn6kk6.js → file-emrn6kk6.js} +0 -0
- /package/dist/chunks/{schema-f0mxakyp.js → file-f0mxakyp.js} +0 -0
- /package/dist/chunks/{schema-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{schema-faypxj3z.js → file-faypxj3z.js} +0 -0
- /package/dist/chunks/{schema-fd410y7t.js → file-fd410y7t.js} +0 -0
- /package/dist/chunks/{schema-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{schema-g4wezp1m.js → file-g4wezp1m.js} +0 -0
- /package/dist/chunks/{schema-g86h250q.js → file-g86h250q.js} +0 -0
- /package/dist/chunks/{schema-gebd4c9n.js → file-gebd4c9n.js} +0 -0
- /package/dist/chunks/{schema-gftt206x.js → file-gftt206x.js} +0 -0
- /package/dist/chunks/{schema-hjbc5kem.js → file-hjbc5kem.js} +0 -0
- /package/dist/chunks/{schema-hk9envan.js → file-hk9envan.js} +0 -0
- /package/dist/chunks/{schema-hrnqkpcd.js → file-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{schema-j2ntwpah.js → file-j2ntwpah.js} +0 -0
- /package/dist/chunks/{schema-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{schema-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{schema-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{schema-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{schema-mp448xyj.js → file-mp448xyj.js} +0 -0
- /package/dist/chunks/{schema-msx8hqn2.js → file-msx8hqn2.js} +0 -0
- /package/dist/chunks/{schema-n05xt0ee.js → file-n05xt0ee.js} +0 -0
- /package/dist/chunks/{schema-n3j8tn72.js → file-n3j8tn72.js} +0 -0
- /package/dist/chunks/{schema-njntx4h6.js → file-njntx4h6.js} +0 -0
- /package/dist/chunks/{schema-q3sfg36h.js → file-q3sfg36h.js} +0 -0
- /package/dist/chunks/{schema-q74kybfr.js → file-q74kybfr.js} +0 -0
- /package/dist/chunks/{schema-qaymkmh1.js → file-qaymkmh1.js} +0 -0
- /package/dist/chunks/{schema-qb87gjwd.js → file-qb87gjwd.js} +0 -0
- /package/dist/chunks/{schema-qfa1cgps.js → file-qfa1cgps.js} +0 -0
- /package/dist/chunks/{schema-qrg20bc0.js → file-qrg20bc0.js} +0 -0
- /package/dist/chunks/{schema-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{schema-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{schema-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{schema-ssg3fenm.js → file-ssg3fenm.js} +0 -0
- /package/dist/chunks/{schema-twg0f83k.js → file-twg0f83k.js} +0 -0
- /package/dist/chunks/{schema-w803qqfp.js → file-w803qqfp.js} +0 -0
- /package/dist/chunks/{schema-wer8tq1h.js → file-wer8tq1h.js} +0 -0
- /package/dist/chunks/{schema-wtztk69x.js → file-wtztk69x.js} +0 -0
- /package/dist/chunks/{schema-x0ckcb58.js → file-x0ckcb58.js} +0 -0
- /package/dist/chunks/{schema-x61499pn.js → file-x61499pn.js} +0 -0
- /package/dist/chunks/{schema-y44na4kk.js → file-y44na4kk.js} +0 -0
- /package/dist/chunks/{schema-y8cydn3q.js → file-y8cydn3q.js} +0 -0
- /package/dist/chunks/{schema-y8f7s663.js → file-y8f7s663.js} +0 -0
- /package/dist/chunks/{schema-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{schema-ym463w8f.js → file-ym463w8f.js} +0 -0
- /package/dist/chunks/{schema-z9919s4g.js → file-z9919s4g.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service56,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node59
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service56 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service56.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node59 = makeLocationNode({ service: Service56, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service56, node59, exports_image2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
6
|
var exports_command4 = {};
|
|
7
7
|
__export(exports_command4, {
|
|
8
8
|
ConfigCommandV1: () => exports_command4,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info13
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info13 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info9 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info13, exports_command4 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,115 +1,115 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node86
|
|
4
|
+
} from "./file-nx3x71r4.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node85
|
|
8
|
+
} from "./file-pajef2pp.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionMessageTable2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-a1bz86dw.js";
|
|
15
15
|
import {
|
|
16
16
|
prepare4
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-hfdr1yjj.js";
|
|
18
18
|
import {
|
|
19
19
|
llmClient2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-5t3nmthw.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessage2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-gftt206x.js";
|
|
24
24
|
import {
|
|
25
25
|
StepFailedError2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-0mt6cg7p.js";
|
|
27
27
|
import {
|
|
28
28
|
provenance2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./file-w1k39n5e.js";
|
|
30
30
|
import {
|
|
31
31
|
decodeMessageRow2,
|
|
32
32
|
preview2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-hkcvz44k.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
Service68,
|
|
36
|
+
node73
|
|
37
|
+
} from "./file-ffs43ht2.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
39
|
+
Service34,
|
|
40
|
+
node39
|
|
41
|
+
} from "./file-z7bpncyg.js";
|
|
42
42
|
import {
|
|
43
43
|
baseTranscript2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./file-zkb0rj7d.js";
|
|
45
45
|
import {
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
make5
|
|
47
|
+
} from "./file-m7tah5hb.js";
|
|
48
48
|
import {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
49
|
+
Service9,
|
|
50
|
+
node12
|
|
51
|
+
} from "./file-6wce12fj.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
} from "./
|
|
53
|
+
Service27,
|
|
54
|
+
node32
|
|
55
|
+
} from "./file-cb51cg86.js";
|
|
56
56
|
import {
|
|
57
57
|
serialized2,
|
|
58
58
|
nextPromotable2,
|
|
59
59
|
promote2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./file-w0x3jd68.js";
|
|
61
61
|
import {
|
|
62
|
-
|
|
62
|
+
Service3,
|
|
63
63
|
isUntitled2,
|
|
64
|
-
|
|
65
|
-
} from "./
|
|
64
|
+
node5
|
|
65
|
+
} from "./file-fctbv38k.js";
|
|
66
66
|
import {
|
|
67
67
|
DrainResult2,
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
68
|
+
Service49
|
|
69
|
+
} from "./file-8gxqpgph.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
} from "./
|
|
71
|
+
node75
|
|
72
|
+
} from "./file-qd4n55pn.js";
|
|
73
73
|
import {
|
|
74
|
-
|
|
75
|
-
} from "./
|
|
74
|
+
node45
|
|
75
|
+
} from "./file-2fy2emhs.js";
|
|
76
76
|
import {
|
|
77
77
|
Outcome2,
|
|
78
78
|
make3
|
|
79
|
-
} from "./
|
|
79
|
+
} from "./file-ns74bfrf.js";
|
|
80
80
|
import {
|
|
81
|
-
|
|
82
|
-
} from "./
|
|
81
|
+
Service37
|
|
82
|
+
} from "./file-qc068m1q.js";
|
|
83
83
|
import {
|
|
84
|
-
|
|
85
|
-
} from "./
|
|
84
|
+
node16
|
|
85
|
+
} from "./file-2zf3hwjc.js";
|
|
86
86
|
import {
|
|
87
87
|
MAX_STEPS_PROMPT2
|
|
88
|
-
} from "./
|
|
88
|
+
} from "./file-y44na4kk.js";
|
|
89
89
|
import {
|
|
90
90
|
__export
|
|
91
|
-
} from "./
|
|
91
|
+
} from "./file-9rqn6x4v.js";
|
|
92
92
|
|
|
93
93
|
// src/session/runner/llm.ts
|
|
94
94
|
var exports_llm = {};
|
|
95
95
|
__export(exports_llm, {
|
|
96
96
|
SessionRunnerLLM: () => exports_llm,
|
|
97
|
-
node: () =>
|
|
97
|
+
node: () => node4
|
|
98
98
|
});
|
|
99
99
|
import { Message } from "@opencode/ai";
|
|
100
100
|
import { and, desc, eq, sql } from "drizzle-orm";
|
|
101
101
|
import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
|
|
102
102
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
103
103
|
var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
|
|
104
|
-
var layer = Layer.effect(
|
|
105
|
-
const bus = yield*
|
|
106
|
-
const store = yield*
|
|
107
|
-
const context = yield*
|
|
108
|
-
const modelTransport = yield*
|
|
109
|
-
const db = (yield*
|
|
110
|
-
const compaction = yield*
|
|
111
|
-
const plugins = yield*
|
|
112
|
-
const title = yield*
|
|
104
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
105
|
+
const bus = yield* Service80;
|
|
106
|
+
const store = yield* Service68;
|
|
107
|
+
const context = yield* Service27;
|
|
108
|
+
const modelTransport = yield* Service34;
|
|
109
|
+
const db = (yield* Service81).db;
|
|
110
|
+
const compaction = yield* Service9;
|
|
111
|
+
const plugins = yield* Service37;
|
|
112
|
+
const title = yield* Service3;
|
|
113
113
|
const steps = yield* make3;
|
|
114
114
|
const titles = yield* FiberMap.make();
|
|
115
115
|
const drain = Effect.fn("SessionRunner.drain")(function* (input) {
|
|
@@ -231,7 +231,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
231
231
|
const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
|
|
232
232
|
const sessionID = first.session.id;
|
|
233
233
|
let assistantMessageID = SessionMessage2.ID.create();
|
|
234
|
-
const retry = yield*
|
|
234
|
+
const retry = yield* make5(bus, sessionID);
|
|
235
235
|
let initial = first;
|
|
236
236
|
let recoverOverflow = true;
|
|
237
237
|
let recoverContinuation = true;
|
|
@@ -351,24 +351,24 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
351
351
|
}
|
|
352
352
|
}
|
|
353
353
|
});
|
|
354
|
-
return
|
|
354
|
+
return Service49.of({ drain });
|
|
355
355
|
}));
|
|
356
|
-
var
|
|
357
|
-
service:
|
|
356
|
+
var node4 = makeLocationNode({
|
|
357
|
+
service: Service49,
|
|
358
358
|
layer,
|
|
359
359
|
deps: [
|
|
360
|
-
|
|
360
|
+
node85,
|
|
361
361
|
llmClient2,
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
362
|
+
node32,
|
|
363
|
+
node39,
|
|
364
|
+
node73,
|
|
365
|
+
node12,
|
|
366
|
+
node16,
|
|
367
|
+
node5,
|
|
368
|
+
node75,
|
|
369
|
+
node45,
|
|
370
|
+
node86
|
|
371
371
|
]
|
|
372
372
|
});
|
|
373
373
|
|
|
374
|
-
export {
|
|
374
|
+
export { node4, exports_llm };
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./file-pajef2pp.js";
|
|
5
|
+
import {
|
|
6
|
+
shutdown2,
|
|
7
|
+
create3
|
|
8
|
+
} from "./file-rdw6cm16.js";
|
|
9
|
+
import {
|
|
10
|
+
Service77,
|
|
11
|
+
node82
|
|
12
|
+
} from "./file-de97ckz5.js";
|
|
13
|
+
import {
|
|
14
|
+
ID6,
|
|
15
|
+
mergeOverlay2,
|
|
16
|
+
mergeHeaders2,
|
|
17
|
+
Service60,
|
|
18
|
+
node64,
|
|
19
|
+
Event13
|
|
20
|
+
} from "./file-pmh6tya1.js";
|
|
21
|
+
import {
|
|
22
|
+
__export
|
|
23
|
+
} from "./file-9rqn6x4v.js";
|
|
24
|
+
|
|
25
|
+
// src/model.ts
|
|
26
|
+
var exports_model2 = {};
|
|
27
|
+
__export(exports_model2, {
|
|
28
|
+
Capabilities: () => Capabilities2,
|
|
29
|
+
Compatibility: () => Compatibility2,
|
|
30
|
+
Cost: () => Cost2,
|
|
31
|
+
Event: () => Event12,
|
|
32
|
+
Family: () => Family2,
|
|
33
|
+
ID: () => ID5,
|
|
34
|
+
Info: () => Info20,
|
|
35
|
+
Model: () => exports_model2,
|
|
36
|
+
ReasoningField: () => ReasoningField2,
|
|
37
|
+
Ref: () => Ref2,
|
|
38
|
+
Service: () => Service59,
|
|
39
|
+
VariantID: () => VariantID2,
|
|
40
|
+
compatibility: () => compatibility2,
|
|
41
|
+
node: () => node63,
|
|
42
|
+
parse: () => parse4
|
|
43
|
+
});
|
|
44
|
+
import { Model } from "@opencode/schema/model";
|
|
45
|
+
import { Context, Effect, Layer, Stream } from "effect";
|
|
46
|
+
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
|
+
import { freeze } from "immer";
|
|
48
|
+
import { Event as Event12 } from "@opencode/schema/model";
|
|
49
|
+
var ID5 = Model.ID;
|
|
50
|
+
var VariantID2 = Model.VariantID;
|
|
51
|
+
var Family2 = Model.Family;
|
|
52
|
+
var ReasoningField2 = Model.ReasoningField;
|
|
53
|
+
var Compatibility2 = Model.Compatibility;
|
|
54
|
+
var Capabilities2 = Model.Capabilities;
|
|
55
|
+
var Cost2 = Model.Cost;
|
|
56
|
+
var Ref2 = Model.Ref;
|
|
57
|
+
var Info20 = Model.Info;
|
|
58
|
+
|
|
59
|
+
class Service59 extends Context.Service()("@opencode/Model") {
|
|
60
|
+
}
|
|
61
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
62
|
+
const providers = yield* Service60;
|
|
63
|
+
const bus = yield* Service80;
|
|
64
|
+
const location = yield* Service77;
|
|
65
|
+
let input;
|
|
66
|
+
const state = create3({
|
|
67
|
+
name: "model",
|
|
68
|
+
initial: () => ({
|
|
69
|
+
models: new Map((input?.available ?? []).map((record) => [
|
|
70
|
+
record.provider.id,
|
|
71
|
+
new Map(Array.from(record.models, ([id, model]) => [
|
|
72
|
+
id,
|
|
73
|
+
{
|
|
74
|
+
...structuredClone(model),
|
|
75
|
+
id,
|
|
76
|
+
providerID: record.provider.id
|
|
77
|
+
}
|
|
78
|
+
]))
|
|
79
|
+
]))
|
|
80
|
+
}),
|
|
81
|
+
editor: (data) => ({
|
|
82
|
+
list: (providerID) => providerID === undefined ? Array.from(data.models.values()).flatMap((models) => Array.from(models.values())) : Array.from(data.models.get(providerID)?.values() ?? []),
|
|
83
|
+
get: (providerID, modelID) => data.models.get(providerID)?.get(modelID),
|
|
84
|
+
update: (providerID, modelID, update) => {
|
|
85
|
+
const models = data.models.get(providerID);
|
|
86
|
+
if (!models)
|
|
87
|
+
return;
|
|
88
|
+
const model = models.get(modelID) ?? Info20.default(providerID, modelID);
|
|
89
|
+
update(model);
|
|
90
|
+
model.id = modelID;
|
|
91
|
+
model.providerID = providerID;
|
|
92
|
+
models.set(modelID, model);
|
|
93
|
+
},
|
|
94
|
+
remove: (providerID, modelID) => {
|
|
95
|
+
data.models.get(providerID)?.delete(modelID);
|
|
96
|
+
},
|
|
97
|
+
default: {
|
|
98
|
+
get: () => data.defaultModel,
|
|
99
|
+
set: (providerID, modelID) => {
|
|
100
|
+
data.defaultModel = { providerID, modelID };
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
provider: {
|
|
104
|
+
list: () => Array.from(input?.records.values() ?? []),
|
|
105
|
+
get: (providerID) => input?.records.get(providerID)
|
|
106
|
+
}
|
|
107
|
+
}),
|
|
108
|
+
notify: () => notify
|
|
109
|
+
});
|
|
110
|
+
yield* Effect.addFinalizer(() => shutdown2(state.reload()));
|
|
111
|
+
let cached;
|
|
112
|
+
const read = Effect.fn("Model.snapshot")(function* () {
|
|
113
|
+
while (true) {
|
|
114
|
+
const current = yield* providers.snapshot();
|
|
115
|
+
if (input !== current) {
|
|
116
|
+
input = current;
|
|
117
|
+
state.invalidate();
|
|
118
|
+
}
|
|
119
|
+
const data = state.get();
|
|
120
|
+
if (cached?.data === data)
|
|
121
|
+
return cached;
|
|
122
|
+
if (current !== (yield* providers.snapshot()))
|
|
123
|
+
continue;
|
|
124
|
+
const byProvider = new Map(Array.from(data.models, ([providerID, models]) => {
|
|
125
|
+
const provider = current.records.get(providerID)?.provider;
|
|
126
|
+
return [
|
|
127
|
+
providerID,
|
|
128
|
+
new Map(Array.from(models, ([id, model]) => [
|
|
129
|
+
id,
|
|
130
|
+
{
|
|
131
|
+
...model,
|
|
132
|
+
...provider?.canonical === undefined ? {} : { canonical: provider.canonical },
|
|
133
|
+
package: model.package ?? provider?.package,
|
|
134
|
+
compaction: model.compaction ?? provider?.compaction,
|
|
135
|
+
websocket: model.websocket ?? provider?.websocket,
|
|
136
|
+
settings: mergeOverlay2(provider?.settings, model.settings),
|
|
137
|
+
headers: mergeHeaders2(provider?.headers, model.headers),
|
|
138
|
+
body: mergeOverlay2(provider?.body, model.body)
|
|
139
|
+
}
|
|
140
|
+
]))
|
|
141
|
+
];
|
|
142
|
+
}));
|
|
143
|
+
const all = Array.from(byProvider.values()).flatMap((models) => Array.from(models.values())).sort((left, right) => right.time.released - left.time.released);
|
|
144
|
+
cached = freeze({ data, all, available: all.filter((model) => model.enabled), byProvider }, true);
|
|
145
|
+
return cached;
|
|
146
|
+
}
|
|
147
|
+
});
|
|
148
|
+
const prepare = providers.snapshot().pipe(Effect.tap((current) => Effect.sync(() => {
|
|
149
|
+
if (input === current)
|
|
150
|
+
return;
|
|
151
|
+
input = current;
|
|
152
|
+
state.invalidate();
|
|
153
|
+
})));
|
|
154
|
+
const reload = () => prepare.pipe(Effect.andThen(state.reload()));
|
|
155
|
+
let published;
|
|
156
|
+
const notify = Effect.gen(function* () {
|
|
157
|
+
const value = yield* read();
|
|
158
|
+
if (value === published)
|
|
159
|
+
return;
|
|
160
|
+
published = value;
|
|
161
|
+
yield* bus.publish(Model.Event.Updated, {}, {
|
|
162
|
+
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
163
|
+
});
|
|
164
|
+
});
|
|
165
|
+
yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
166
|
+
return Service59.of({
|
|
167
|
+
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
168
|
+
reload,
|
|
169
|
+
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
170
|
+
all: Effect.fn("Model.all")(() => read().pipe(Effect.map((value) => value.all))),
|
|
171
|
+
available: Effect.fn("Model.available")(() => read().pipe(Effect.map((value) => value.available))),
|
|
172
|
+
default: Effect.fn("Model.default")(function* () {
|
|
173
|
+
const value = yield* read();
|
|
174
|
+
const requested = value.data.defaultModel;
|
|
175
|
+
const model = requested && value.byProvider.get(requested.providerID)?.get(requested.modelID);
|
|
176
|
+
return model?.enabled ? model : value.available[0];
|
|
177
|
+
}),
|
|
178
|
+
small: Effect.fn("Model.small")(function* (providerID) {
|
|
179
|
+
const value = yield* read();
|
|
180
|
+
const models = value.available.filter((model) => model.providerID === providerID && model.status === "active" && model.capabilities.input.some((item) => item.startsWith("text")) && model.capabilities.output.some((item) => item.startsWith("text")));
|
|
181
|
+
return ["gpt-luna", "gemini-flash-lite", "gemini-flash", "claude-haiku"].flatMap((family) => models.find((model) => model.family === family) ?? [])[0];
|
|
182
|
+
})
|
|
183
|
+
});
|
|
184
|
+
}));
|
|
185
|
+
var node63 = makeLocationNode({ service: Service59, layer, deps: [node64, node85, node82] });
|
|
186
|
+
function compatibility2(input) {
|
|
187
|
+
if (typeof input === "string")
|
|
188
|
+
return { reasoningField: input };
|
|
189
|
+
if (typeof input !== "object" || input === null || Array.isArray(input) || !("field" in input))
|
|
190
|
+
return;
|
|
191
|
+
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
192
|
+
}
|
|
193
|
+
function parse4(input) {
|
|
194
|
+
const index = input.indexOf("/");
|
|
195
|
+
return {
|
|
196
|
+
providerID: ID6.make(index === -1 ? input : input.slice(0, index)),
|
|
197
|
+
modelID: ID5.make(index === -1 ? "" : input.slice(index + 1))
|
|
198
|
+
};
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
export { ID5, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info20, Service59, node63, compatibility2, parse4, exports_model2, Event12 };
|
|
@@ -1,33 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-rcsscm7r.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./file-pajef2pp.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./file-2jtppnb6.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID8,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-919h57eb.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID6
|
|
17
|
+
} from "./file-pmh6tya1.js";
|
|
18
18
|
import {
|
|
19
|
+
ID5,
|
|
19
20
|
Family2
|
|
20
|
-
} from "./
|
|
21
|
+
} from "./file-t50jsm69.js";
|
|
21
22
|
import {
|
|
22
23
|
bootstrap2
|
|
23
|
-
} from "./
|
|
24
|
+
} from "./file-pjvnvgmy.js";
|
|
24
25
|
|
|
25
26
|
// src/plugin/provider/digitalocean.ts
|
|
26
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
28
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
28
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
29
|
-
var providerID =
|
|
30
|
-
var integrationID =
|
|
30
|
+
var providerID = ID6.make("digitalocean");
|
|
31
|
+
var integrationID = ID8.make("digitalocean");
|
|
31
32
|
var methodID = MethodID2.make("browser");
|
|
32
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
33
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -115,7 +116,7 @@ var oauth = {
|
|
|
115
116
|
var DigitalOceanPlugin2 = define({
|
|
116
117
|
id: "opencode.provider.digitalocean",
|
|
117
118
|
effect: Effect.fn(function* (ctx) {
|
|
118
|
-
const bus = yield*
|
|
119
|
+
const bus = yield* Service80;
|
|
119
120
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
120
121
|
const loading = Semaphore.makeUnsafe(1);
|
|
121
122
|
const loaded = { routers: [] };
|
|
@@ -142,14 +143,14 @@ var DigitalOceanPlugin2 = define({
|
|
|
142
143
|
yield* ctx.integration.transform((draft) => {
|
|
143
144
|
draft.method.update(oauth);
|
|
144
145
|
});
|
|
145
|
-
yield* ctx.
|
|
146
|
-
if (!evt.
|
|
146
|
+
yield* ctx.provider.transform((evt) => {
|
|
147
|
+
if (!evt.get(providerID))
|
|
147
148
|
return;
|
|
148
149
|
for (const router of loaded.routers) {
|
|
149
150
|
const id = `router:${router.name}`;
|
|
150
|
-
if (evt.
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID5.make(id)))
|
|
151
152
|
continue;
|
|
152
|
-
evt.
|
|
153
|
+
evt.models.update(providerID, id, (draft) => {
|
|
153
154
|
draft.name = router.name;
|
|
154
155
|
draft.family = Family2.make("digitalocean-inference-routers");
|
|
155
156
|
draft.capabilities = { tools: true, input: ["text"], output: ["text"] };
|
|
@@ -157,8 +158,8 @@ var DigitalOceanPlugin2 = define({
|
|
|
157
158
|
});
|
|
158
159
|
}
|
|
159
160
|
});
|
|
160
|
-
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.
|
|
161
|
-
yield* bus.subscribe(
|
|
161
|
+
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
162
163
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
163
164
|
})
|
|
164
165
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/filesystem/protected.ts
|
|
6
6
|
var exports_protected = {};
|
|
7
7
|
__export(exports_protected, {
|
|
8
8
|
Protected: () => exports_protected,
|
|
9
9
|
isHome: () => isHome2,
|
|
10
|
-
names: () =>
|
|
10
|
+
names: () => names3,
|
|
11
11
|
paths: () => paths2
|
|
12
12
|
});
|
|
13
13
|
import os from "os";
|
|
@@ -41,7 +41,7 @@ var DARWIN_LIBRARY = [
|
|
|
41
41
|
];
|
|
42
42
|
var DARWIN_ROOT = ["/.DocumentRevisions-V100", "/.Spotlight-V100", "/.Trashes", "/.fseventsd"];
|
|
43
43
|
var WIN32_HOME = ["AppData", "Downloads", "Desktop", "Documents", "Pictures", "Music", "Videos", "OneDrive"];
|
|
44
|
-
function
|
|
44
|
+
function names3() {
|
|
45
45
|
if (process.platform === "darwin")
|
|
46
46
|
return new Set(DARWIN_HOME);
|
|
47
47
|
if (process.platform === "win32")
|
|
@@ -60,4 +60,4 @@ function paths2() {
|
|
|
60
60
|
return [];
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
export { isHome2,
|
|
63
|
+
export { isHome2, names3, paths2, exports_protected };
|