@opencode/core 0.0.0-dev-20349 → 0.0.0-dev-20352
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{mime-pnvk1zxf.js → repository-07770t2t.js} +4 -4
- package/dist/chunks/{mime-3ny3fmj9.js → repository-0cksrbmj.js} +4 -4
- package/dist/chunks/{mime-r5wgqceq.js → repository-0hf9g8pg.js} +6 -6
- package/dist/chunks/{mime-mx0k2n0a.js → repository-0k2wfs9t.js} +11 -11
- package/dist/chunks/{mime-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
- package/dist/chunks/{mime-p2f8mmnb.js → repository-0t8pzcx6.js} +184 -182
- package/dist/chunks/{mime-s1kvmffy.js → repository-11dqjexa.js} +9 -9
- package/dist/chunks/{mime-x492m9dx.js → repository-17e1d76f.js} +24 -24
- package/dist/chunks/{mime-vwst76ss.js → repository-189qmn9h.js} +15 -15
- package/dist/chunks/{mime-1acjjqhc.js → repository-1acjjqhc.js} +1 -1
- package/dist/chunks/{mime-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
- package/dist/chunks/{mime-tbjzkwfa.js → repository-1htr6rpv.js} +6 -6
- package/dist/chunks/{mime-py3kkmfq.js → repository-1p07q0wb.js} +4 -4
- package/dist/chunks/{mime-sznyev98.js → repository-1q5awywt.js} +5 -5
- package/dist/chunks/{mime-y87mq3tz.js → repository-1qts0z0q.js} +15 -15
- package/dist/chunks/{mime-hbarpbxk.js → repository-1t78xq53.js} +32 -32
- package/dist/chunks/{mime-c1p8n4t3.js → repository-1w6vsqf1.js} +24 -24
- package/dist/chunks/repository-1x11rq2a.js +18 -0
- package/dist/chunks/{mime-qp8wkf24.js → repository-1x8cbfj5.js} +4 -4
- package/dist/chunks/{mime-56gdpj1q.js → repository-1ygqh575.js} +9 -9
- package/dist/chunks/{mime-21r38tys.js → repository-21r38tys.js} +1 -1
- package/dist/chunks/{mime-ds6c05k1.js → repository-261mrjx3.js} +23 -23
- package/dist/chunks/{mime-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
- package/dist/chunks/{mime-4cv07a82.js → repository-2bkc2hwm.js} +42 -42
- package/dist/chunks/{mime-459v6njz.js → repository-2bvh0we5.js} +5 -5
- package/dist/chunks/{mime-ztzvkng6.js → repository-2f1nz937.js} +15 -15
- package/dist/chunks/{mime-2g1xmgpx.js → repository-2h1t32pr.js} +36 -36
- package/dist/chunks/{mime-8z1n2qf3.js → repository-2m2430dv.js} +15 -15
- package/dist/chunks/{mime-9605vvc2.js → repository-2wzypx1n.js} +15 -15
- package/dist/chunks/{mime-nz569jqt.js → repository-3801kdgp.js} +5 -5
- package/dist/chunks/{mime-73kdj4zj.js → repository-3a83a0n4.js} +8 -8
- package/dist/chunks/{mime-e34hfp24.js → repository-3evcb5zj.js} +16 -16
- package/dist/chunks/{mime-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
- package/dist/chunks/{mime-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
- package/dist/chunks/{mime-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
- package/dist/chunks/{mime-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
- package/dist/chunks/{mime-3zsf4n22.js → repository-3zsf4n22.js} +1 -1
- package/dist/chunks/{mime-hd8vw2pw.js → repository-427t97hr.js} +1 -1
- package/dist/chunks/{mime-1ychmzfj.js → repository-45155fbs.js} +9 -9
- package/dist/chunks/{mime-nvkg8vb6.js → repository-4h65bg6x.js} +23 -23
- package/dist/chunks/{mime-fah0bk0y.js → repository-4sgdpdjj.js} +6 -6
- package/dist/chunks/{mime-6cz6e6pz.js → repository-4w4r35f3.js} +37 -37
- package/dist/chunks/{mime-y1hrdy89.js → repository-4zvzj0v8.js} +27 -27
- package/dist/chunks/{mime-e6hmchc5.js → repository-510m7gjw.js} +5 -5
- package/dist/chunks/{mime-54ma36ye.js → repository-54ma36ye.js} +1 -1
- package/dist/chunks/{mime-54tcyq79.js → repository-54tcyq79.js} +2 -2
- package/dist/chunks/{mime-xfkkasph.js → repository-57b9ws8p.js} +7 -7
- package/dist/chunks/{mime-ajmg8w9c.js → repository-57ez7d0k.js} +9 -9
- package/dist/chunks/{mime-8pw3jr46.js → repository-57v3ej5y.js} +23 -23
- package/dist/chunks/{mime-bh4c0tdp.js → repository-5cc8va4r.js} +33 -33
- package/dist/chunks/{mime-5daktx2q.js → repository-5daktx2q.js} +1 -1
- package/dist/chunks/{mime-pz0kg3pa.js → repository-5et3b08f.js} +10 -10
- package/dist/chunks/{mime-9kmbd9mt.js → repository-5frpvc34.js} +2 -2
- package/dist/chunks/{mime-1nmamnpy.js → repository-5g3whhj5.js} +11 -11
- package/dist/chunks/{mime-k2a504bc.js → repository-5nnetc6k.js} +12 -12
- package/dist/chunks/{mime-23sxaqwc.js → repository-5qkxfyep.js} +6 -6
- package/dist/chunks/{mime-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
- package/dist/chunks/{mime-eymg5ymv.js → repository-5vkcqs6a.js} +22 -22
- package/dist/chunks/{mime-dx3jzk77.js → repository-5wekx1sj.js} +14 -14
- package/dist/chunks/{mime-s8t19jhb.js → repository-624pvf4j.js} +22 -22
- package/dist/chunks/{mime-yzjwj7p7.js → repository-62ejqpb6.js} +23 -23
- package/dist/chunks/{mime-5cg8ty91.js → repository-651j3map.js} +21 -21
- package/dist/chunks/{mime-669tq793.js → repository-669tq793.js} +1 -1
- package/dist/chunks/{mime-ybhdazh5.js → repository-679fyftg.js} +48 -48
- package/dist/chunks/{mime-ypsdch7f.js → repository-68hr7k1q.js} +16 -16
- package/dist/chunks/{mime-ddaqmm23.js → repository-68nshxa6.js} +42 -42
- package/dist/chunks/{mime-ktk6m7yv.js → repository-68y7phbn.js} +12 -12
- package/dist/chunks/{mime-pf2hb43r.js → repository-6ersrjne.js} +6 -6
- package/dist/chunks/{mime-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
- package/dist/chunks/{mime-71bf853x.js → repository-6q6c536h.js} +29 -29
- package/dist/chunks/{mime-2ed9rf36.js → repository-6tea82hd.js} +11 -11
- package/dist/chunks/{mime-we10g59k.js → repository-6vjt9qdm.js} +10 -10
- package/dist/chunks/{mime-3jdm5maz.js → repository-6zchv2y5.js} +75 -75
- package/dist/chunks/{mime-tgc8bne0.js → repository-714k4hxg.js} +8 -8
- package/dist/chunks/{mime-r5x6zcsm.js → repository-73tb2d7t.js} +3 -3
- package/dist/chunks/{mime-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
- package/dist/chunks/{mime-25zb9nww.js → repository-7jvsaej3.js} +35 -35
- package/dist/chunks/{mime-6tjc3nrm.js → repository-7sgf9crj.js} +11 -11
- package/dist/chunks/{mime-cnb1p1jt.js → repository-7v81x33d.js} +9 -9
- package/dist/chunks/{mime-byg4ex1h.js → repository-7x45ykdv.js} +9 -9
- package/dist/chunks/{mime-pb1eahw5.js → repository-818pfwc9.js} +8 -8
- package/dist/chunks/{mime-5tsqwgkg.js → repository-84hyfrea.js} +11 -11
- package/dist/chunks/{mime-84txncab.js → repository-84txncab.js} +1 -1
- package/dist/chunks/{mime-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
- package/dist/chunks/{mime-mf9m2v67.js → repository-8q7cq0y1.js} +2 -2
- package/dist/chunks/{mime-33qy11g2.js → repository-8tpf93gf.js} +5 -5
- package/dist/chunks/{mime-byrtv8g9.js → repository-8v0wpe9a.js} +1 -1
- package/dist/chunks/{mime-hmzzadgv.js → repository-8y978tw0.js} +17 -17
- package/dist/chunks/{mime-naqdddny.js → repository-90ns4yw4.js} +13 -13
- package/dist/chunks/{mime-pa8pe2x7.js → repository-9hn6k4tm.js} +8 -8
- package/dist/chunks/{mime-10zsszfr.js → repository-9nepbqpa.js} +6 -6
- package/dist/chunks/{mime-4ynjcpqk.js → repository-9pwzs4p0.js} +16 -16
- package/dist/chunks/{mime-15z80h1p.js → repository-a3rxqfj7.js} +20 -20
- package/dist/chunks/{mime-aaet6srn.js → repository-aaet6srn.js} +2 -2
- package/dist/chunks/{mime-79gwx0tq.js → repository-ajmvp7mk.js} +3 -3
- package/dist/chunks/{mime-9c8k6t1t.js → repository-amygrq69.js} +5 -5
- package/dist/chunks/{mime-sh1bym4z.js → repository-ay26b5gj.js} +18 -18
- package/dist/chunks/{mime-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
- package/dist/chunks/{mime-bjtzbw4r.js → repository-bjtzbw4r.js} +3 -3
- package/dist/chunks/{mime-2xyv48tz.js → repository-bk7jaeqh.js} +4 -4
- package/dist/chunks/{mime-bqc2fgsg.js → repository-bm7e081z.js} +4 -4
- package/dist/chunks/{mime-emxy1yrp.js → repository-c004dztw.js} +15 -15
- package/dist/chunks/{mime-rcf4bk7m.js → repository-c28rbkyy.js} +11 -11
- package/dist/chunks/{mime-dwcgejzb.js → repository-c4tdq55k.js} +25 -25
- package/dist/chunks/{mime-3cfzdc8e.js → repository-c78bbtc9.js} +5 -5
- package/dist/chunks/{mime-r6k2k499.js → repository-c7wcnyb2.js} +15 -15
- package/dist/chunks/{mime-rcf2j8e1.js → repository-ceye5a6y.js} +13 -13
- package/dist/chunks/{mime-88xq5y89.js → repository-cgrhxsa3.js} +90 -90
- package/dist/chunks/{mime-f16agxkt.js → repository-cjq0wb7m.js} +12 -12
- package/dist/chunks/{mime-r9fnx8z8.js → repository-cq196h5x.js} +25 -25
- package/dist/chunks/{mime-rdapeg7m.js → repository-cqwfdt06.js} +21 -21
- package/dist/chunks/{mime-yk25fr7g.js → repository-cs5pa8hc.js} +18 -18
- package/dist/chunks/{mime-vvvza5b1.js → repository-ct075mb4.js} +24 -24
- package/dist/chunks/{mime-6w3qt6sy.js → repository-ctst3a0g.js} +31 -31
- package/dist/chunks/repository-cxer2zqt.js +26 -0
- package/dist/chunks/{mime-xzdr9wth.js → repository-cxvvms8d.js} +21 -21
- package/dist/chunks/{mime-pecb0brz.js → repository-d2aac7k2.js} +5 -5
- package/dist/chunks/{mime-6jjmsjj1.js → repository-d30kejrb.js} +10 -10
- package/dist/chunks/{mime-0ex0981s.js → repository-d3k17np3.js} +7 -7
- package/dist/chunks/{mime-3y377wv9.js → repository-dnxkq42g.js} +4 -4
- package/dist/chunks/{mime-y71avatq.js → repository-dpkg50ah.js} +4 -4
- package/dist/chunks/{mime-8n65aky4.js → repository-dpvyfqkt.js} +15 -15
- package/dist/chunks/{mime-frds9tfh.js → repository-dr6rw3cj.js} +12 -12
- package/dist/chunks/{mime-hzsva4y4.js → repository-e1yepcxr.js} +3 -3
- package/dist/chunks/{mime-wkptd6qt.js → repository-e926va73.js} +2 -2
- package/dist/chunks/{mime-665h6zwq.js → repository-e9ggwzdx.js} +33 -33
- package/dist/chunks/{mime-ecfe7b91.js → repository-ecfe7b91.js} +2 -2
- package/dist/chunks/{mime-4c2df9zx.js → repository-eeaf82dq.js} +8 -8
- package/dist/chunks/{mime-ef5x83kb.js → repository-ef5x83kb.js} +1 -1
- package/dist/chunks/{mime-fvww5amy.js → repository-egzk107n.js} +33 -33
- package/dist/chunks/{mime-ytggegkj.js → repository-eqbts54k.js} +8 -8
- package/dist/chunks/{mime-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
- package/dist/chunks/{mime-rqjgrnyy.js → repository-f14sxx3q.js} +47 -47
- package/dist/chunks/{mime-e9f24fbz.js → repository-f4w8v7wm.js} +34 -34
- package/dist/chunks/{mime-pdd0rde8.js → repository-f6crgew4.js} +35 -35
- package/dist/chunks/{mime-w3sfc864.js → repository-fcbbdvr4.js} +5 -5
- package/dist/chunks/{mime-eznh9jfk.js → repository-fds2nvya.js} +22 -22
- package/dist/chunks/{mime-4rn61pc7.js → repository-fm6sh9qr.js} +8 -8
- package/dist/chunks/{mime-n6ta8d10.js → repository-fm7pkbpd.js} +42 -42
- package/dist/chunks/{mime-0t7t6my6.js → repository-fqkxgm96.js} +24 -24
- package/dist/chunks/{mime-magykp64.js → repository-g190xswt.js} +4 -4
- package/dist/chunks/{mime-h6b02349.js → repository-g5agzp2h.js} +5 -5
- package/dist/chunks/{mime-j89cmjy1.js → repository-g71p6t9p.js} +8 -8
- package/dist/chunks/{mime-2529y3t0.js → repository-g7ah9nn8.js} +4 -4
- package/dist/chunks/{mime-kbypmx8c.js → repository-g913nc6q.js} +32 -32
- package/dist/chunks/{mime-gx7zfrxn.js → repository-gb4bvp6x.js} +12 -12
- package/dist/chunks/{mime-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
- package/dist/chunks/{mime-gfvb90ym.js → repository-gfvb90ym.js} +2 -2
- package/dist/chunks/{mime-ww5aakee.js → repository-gfx92qwz.js} +5 -5
- package/dist/chunks/{mime-sntnabn9.js → repository-ggxxq9e3.js} +18 -18
- package/dist/chunks/{mime-5c02tc5w.js → repository-gm80mkxd.js} +11 -11
- package/dist/chunks/{mime-sdb8bcax.js → repository-gtvp5jzx.js} +7 -7
- package/dist/chunks/{mime-gv6a8nnw.js → repository-gv6a8nnw.js} +2 -2
- package/dist/chunks/{mime-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
- package/dist/chunks/{mime-3v8xhd81.js → repository-h713wcgv.js} +28 -28
- package/dist/chunks/{mime-hr0sqnp0.js → repository-h95gg6ea.js} +28 -28
- package/dist/chunks/{mime-bgc5ggmx.js → repository-h9pnpq88.js} +4 -4
- package/dist/chunks/{mime-f6258q8n.js → repository-hjxf57fq.js} +5 -5
- package/dist/chunks/{mime-d6hb7nc0.js → repository-hqz04k4r.js} +5 -5
- package/dist/chunks/{mime-vd5mxqm8.js → repository-hrr95837.js} +13 -13
- package/dist/chunks/{mime-1efvp61s.js → repository-hsf9s0cc.js} +33 -33
- package/dist/chunks/{mime-8cv1besz.js → repository-hyd6jxmg.js} +37 -37
- package/dist/chunks/{mime-898v71sy.js → repository-hysc82bv.js} +9 -9
- package/dist/chunks/{mime-8495gxpq.js → repository-j2xcdt51.js} +23 -23
- package/dist/chunks/{mime-j56e64zr.js → repository-j56e64zr.js} +1 -1
- package/dist/chunks/{mime-zfpzwrwk.js → repository-j6f48vym.js} +27 -27
- package/dist/chunks/{mime-6xe4fgg8.js → repository-j6rk38x8.js} +6 -6
- package/dist/chunks/{mime-zv0dxv1a.js → repository-j6t7fyz5.js} +36 -36
- package/dist/chunks/{mime-zgnhzt77.js → repository-j7ym9e45.js} +5 -5
- package/dist/chunks/{mime-ab58ekvv.js → repository-jdmpkwnd.js} +15 -15
- package/dist/chunks/{mime-jcp1gxjv.js → repository-jds6geqk.js} +9 -9
- package/dist/chunks/{mime-b8aytvky.js → repository-jegft3cb.js} +3 -3
- package/dist/chunks/{mime-88ebexse.js → repository-js6wsnat.js} +10 -10
- package/dist/chunks/{mime-3qs4970t.js → repository-jykef5d1.js} +6 -6
- package/dist/chunks/{mime-qketm56k.js → repository-k0afheae.js} +29 -29
- package/dist/chunks/repository-k446xp98.js +507 -0
- package/dist/chunks/{mime-zee1rnkq.js → repository-k76fn4kw.js} +4 -4
- package/dist/chunks/{mime-7h6q68gz.js → repository-kafqk5jk.js} +18 -18
- package/dist/chunks/{mime-z8q9t9em.js → repository-kba3fr7g.js} +45 -45
- package/dist/chunks/{mime-58104ffj.js → repository-kcwt9byc.js} +3 -3
- package/dist/chunks/{mime-dc3k7rmc.js → repository-kg69vmj2.js} +4 -4
- package/dist/chunks/{mime-gvh4qv8a.js → repository-kn49tj2b.js} +20 -20
- package/dist/chunks/{mime-mcgje5bv.js → repository-kwr781mf.js} +35 -35
- package/dist/chunks/{mime-m3fdjcah.js → repository-m3fdjcah.js} +1 -1
- package/dist/chunks/{mime-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
- package/dist/chunks/{mime-6j2jyek5.js → repository-mbkc2shv.js} +32 -32
- package/dist/chunks/{mime-z67dw27r.js → repository-mevypv3g.js} +11 -11
- package/dist/chunks/{mime-k3pzktr2.js → repository-mw7g4815.js} +10 -10
- package/dist/chunks/{mime-rpy4pbbp.js → repository-mws1fs1s.js} +6 -6
- package/dist/chunks/{mime-qhmtp2tk.js → repository-n118nb8y.js} +33 -33
- package/dist/chunks/{mime-vq1n2qtt.js → repository-n39pqsm3.js} +28 -28
- package/dist/chunks/{mime-ft6xg6zv.js → repository-n3zs05y3.js} +8 -8
- package/dist/chunks/{mime-6z9y85k1.js → repository-ncxk7mek.js} +12 -12
- package/dist/chunks/{mime-7y478nff.js → repository-nd3xy12x.js} +9 -9
- package/dist/chunks/{mime-smng5j6t.js → repository-nepvhc7d.js} +39 -39
- package/dist/chunks/{mime-2d8h49pc.js → repository-nhhjke7j.js} +23 -23
- package/dist/chunks/{mime-nscznvay.js → repository-nq7qbqzc.js} +9 -9
- package/dist/chunks/{mime-9k7xc3f1.js → repository-nqs75tn6.js} +19 -19
- package/dist/chunks/{mime-91kg03yq.js → repository-ntffmwex.js} +10 -10
- package/dist/chunks/{mime-k3c624dm.js → repository-nzks3jc8.js} +3 -3
- package/dist/chunks/{mime-ypa0r0ts.js → repository-p5r3qn5k.js} +39 -39
- package/dist/chunks/{mime-aew6zv8s.js → repository-p8zygv0q.js} +16 -16
- package/dist/chunks/{mime-3713qmvg.js → repository-pfsc0j31.js} +13 -13
- package/dist/chunks/{mime-q2xyrkaw.js → repository-pg6spdy4.js} +31 -31
- package/dist/chunks/{mime-9rzpma25.js → repository-pgtgcehs.js} +19 -19
- package/dist/chunks/{mime-3ewed21c.js → repository-ph842b28.js} +4 -4
- package/dist/chunks/{mime-pw78m90f.js → repository-phrv7jvf.js} +13 -13
- package/dist/chunks/{mime-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
- package/dist/chunks/{mime-pknna89w.js → repository-pknna89w.js} +1 -1
- package/dist/chunks/{mime-mv5rmv8d.js → repository-pmrjrcra.js} +14 -14
- package/dist/chunks/{mime-psazpmmj.js → repository-psazpmmj.js} +2 -2
- package/dist/chunks/{mime-sgtj253b.js → repository-q31akcb0.js} +15 -15
- package/dist/chunks/{mime-pc3te2d2.js → repository-q5eaght4.js} +13 -13
- package/dist/chunks/{mime-hft4b04z.js → repository-q6xx7p24.js} +26 -26
- package/dist/chunks/{mime-tftezwe6.js → repository-qg932bxn.js} +16 -16
- package/dist/chunks/{mime-qgn6gcr1.js → repository-qgn6gcr1.js} +1 -1
- package/dist/chunks/{mime-bf2d8tga.js → repository-qhb41jv0.js} +9 -9
- package/dist/chunks/repository-qj0neyac.js +252 -0
- package/dist/chunks/{mime-c765mh8b.js → repository-qmqgtz8f.js} +9 -9
- package/dist/chunks/{mime-qsdy395h.js → repository-qsdy395h.js} +1 -1
- package/dist/chunks/{mime-nmrah2eb.js → repository-r24thsjn.js} +4 -4
- package/dist/chunks/{mime-8pp244b2.js → repository-rac6q0fx.js} +19 -19
- package/dist/chunks/{mime-rdw6cm16.js → repository-rdw6cm16.js} +1 -1
- package/dist/chunks/{mime-xbmvjy47.js → repository-rh2hsk8b.js} +24 -24
- package/dist/chunks/{mime-02nrjc1r.js → repository-rhjbct0v.js} +6 -6
- package/dist/chunks/{mime-p9aa1w3b.js → repository-rk6rxajv.js} +45 -45
- package/dist/chunks/{mime-4z3avsq4.js → repository-ryxzv394.js} +1 -1
- package/dist/chunks/{mime-7seq1qzy.js → repository-sk0a9wxs.js} +21 -21
- package/dist/chunks/{mime-9akmmnbv.js → repository-sqzb8cf5.js} +18 -18
- package/dist/chunks/{mime-y15242ac.js → repository-sthvb5x1.js} +5 -5
- package/dist/chunks/{mime-4j4tgtq5.js → repository-syf57q56.js} +4 -4
- package/dist/chunks/{mime-wre7nqds.js → repository-sz5fezm3.js} +5 -5
- package/dist/chunks/{mime-hkvvh80e.js → repository-t4mkatd1.js} +17 -17
- package/dist/chunks/{mime-hd1gwzxm.js → repository-t5mjxwy3.js} +11 -11
- package/dist/chunks/{mime-a23n72ab.js → repository-t7rh5px3.js} +12 -12
- package/dist/chunks/{mime-rb5qx8rw.js → repository-t9qyc2v5.js} +20 -20
- package/dist/chunks/{mime-t9zs3egg.js → repository-t9zs3egg.js} +1 -1
- package/dist/chunks/{mime-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
- package/dist/chunks/{mime-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
- package/dist/chunks/{mime-tdstcens.js → repository-tdstcens.js} +1 -1
- package/dist/chunks/{mime-vvpbjp06.js → repository-tf07drr7.js} +11 -11
- package/dist/chunks/{mime-3g4s08c2.js → repository-tkcsd86e.js} +6 -6
- package/dist/chunks/{mime-yyx841xh.js → repository-tv69crpr.js} +12 -12
- package/dist/chunks/{mime-tvtrv512.js → repository-tvtrv512.js} +1 -1
- package/dist/chunks/{mime-zc52qgdh.js → repository-ty11c6cb.js} +54 -54
- package/dist/chunks/{mime-mtq6xxnx.js → repository-v5dkyp31.js} +7 -7
- package/dist/chunks/{mime-1qyw5y9h.js → repository-va3kv9qe.js} +25 -25
- package/dist/chunks/{mime-veqvce7d.js → repository-veqvce7d.js} +1 -1
- package/dist/chunks/{mime-dbv05mm3.js → repository-vgepzxbh.js} +4 -4
- package/dist/chunks/{mime-f2zydxx9.js → repository-vmej4yqe.js} +13 -13
- package/dist/chunks/{mime-dvhne5qr.js → repository-vphpe97r.js} +11 -11
- package/dist/chunks/{mime-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
- package/dist/chunks/{mime-vzs5sf6e.js → repository-vzs5sf6e.js} +1 -1
- package/dist/chunks/{mime-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
- package/dist/chunks/{mime-8fv892wz.js → repository-w7zbkbxn.js} +25 -25
- package/dist/chunks/{mime-e19v54df.js → repository-w83eeq1m.js} +31 -31
- package/dist/chunks/{mime-z2jzj02s.js → repository-w8jykqna.js} +12 -12
- package/dist/chunks/{mime-wd87259q.js → repository-wd87259q.js} +1 -1
- package/dist/chunks/{mime-9d28kb6z.js → repository-wfv0ggfj.js} +29 -29
- package/dist/chunks/{mime-thf2d7aw.js → repository-wvk32vad.js} +19 -19
- package/dist/chunks/{mime-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
- package/dist/chunks/{mime-yq6ct03r.js → repository-xgq8gdmp.js} +20 -20
- package/dist/chunks/{mime-es3ks9hd.js → repository-xgz7xnxt.js} +44 -44
- package/dist/chunks/{mime-xkntkrq7.js → repository-xkntkrq7.js} +2 -2
- package/dist/chunks/{mime-rxq7phgy.js → repository-xkvh4geq.js} +14 -14
- package/dist/chunks/{mime-ge3krm5d.js → repository-xp1f59hc.js} +11 -11
- package/dist/chunks/{mime-rs6nc958.js → repository-xwh5h11n.js} +19 -19
- package/dist/chunks/{mime-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
- package/dist/chunks/{mime-g8kywz4y.js → repository-y8gv42p7.js} +24 -24
- package/dist/chunks/{mime-5q13c62c.js → repository-yf10kn3d.js} +8 -8
- package/dist/chunks/{mime-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
- package/dist/chunks/{mime-yrznvahk.js → repository-yrznvahk.js} +2 -2
- package/dist/chunks/{mime-xp848fms.js → repository-yt87a29d.js} +8 -8
- package/dist/chunks/{mime-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
- package/dist/chunks/{mime-dvmphs3d.js → repository-z0tnxes5.js} +7 -7
- package/dist/chunks/{mime-31346fg5.js → repository-z3bmnw1t.js} +19 -19
- package/dist/chunks/{mime-a4jnf4vs.js → repository-z4wz31t7.js} +89 -89
- package/dist/chunks/{mime-z63w68vq.js → repository-z63w68vq.js} +2 -2
- package/dist/chunks/{mime-3q1k7p60.js → repository-z8m9sg1x.js} +8 -8
- package/dist/chunks/{mime-jcdjbvdz.js → repository-zc13yrkz.js} +27 -27
- package/dist/chunks/{mime-h10s6dah.js → repository-ze5v0a14.js} +8 -8
- package/dist/chunks/{mime-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
- package/dist/chunks/{mime-526s5cjd.js → repository-zm8ah4y0.js} +3 -3
- package/dist/chunks/{mime-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
- package/dist/chunks/{mime-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
- package/dist/chunks/{mime-zpx8hmva.js → repository-zy5m56k1.js} +58 -58
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +215 -215
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +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 +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- 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 +7 -7
- package/dist/filesystem.js +98 -98
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +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 +360 -360
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +100 -100
- package/dist/models-dev.js +99 -99
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- 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 +224 -224
- package/dist/project/schema.js +8 -8
- 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 +89 -89
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +225 -225
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +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 +3 -3
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- 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 +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +89 -89
- 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 +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +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 +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +14 -14
- 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 +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +1 -1
- 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 +80 -80
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +3 -3
- 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/mime-0qhc1cpq.js +0 -26
- package/dist/chunks/mime-62rjewxp.js +0 -252
- package/dist/chunks/mime-ctefx7dc.js +0 -18
- package/dist/chunks/mime-tdxfwavj.js +0 -507
- /package/dist/chunks/{mime-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{mime-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
- /package/dist/chunks/{mime-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
- /package/dist/chunks/{mime-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
- /package/dist/chunks/{mime-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{mime-24dcb14g.js → repository-24dcb14g.js} +0 -0
- /package/dist/chunks/{mime-2710q6r3.js → repository-2710q6r3.js} +0 -0
- /package/dist/chunks/{mime-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
- /package/dist/chunks/{mime-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{mime-34c7v6d4.js → repository-34c7v6d4.js} +0 -0
- /package/dist/chunks/{mime-359p4xyc.js → repository-359p4xyc.js} +0 -0
- /package/dist/chunks/{mime-3asan66x.js → repository-3asan66x.js} +0 -0
- /package/dist/chunks/{mime-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
- /package/dist/chunks/{mime-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
- /package/dist/chunks/{mime-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
- /package/dist/chunks/{mime-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
- /package/dist/chunks/{mime-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
- /package/dist/chunks/{mime-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{mime-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
- /package/dist/chunks/{mime-53557ph1.js → repository-53557ph1.js} +0 -0
- /package/dist/chunks/{mime-550bvhaj.js → repository-550bvhaj.js} +0 -0
- /package/dist/chunks/{mime-5qd3pb7m.js → repository-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{mime-6prwharc.js → repository-6prwharc.js} +0 -0
- /package/dist/chunks/{mime-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
- /package/dist/chunks/{mime-7m9af43g.js → repository-7m9af43g.js} +0 -0
- /package/dist/chunks/{mime-822emrt2.js → repository-822emrt2.js} +0 -0
- /package/dist/chunks/{mime-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
- /package/dist/chunks/{mime-8n3pysct.js → repository-8n3pysct.js} +0 -0
- /package/dist/chunks/{mime-8wj87zfr.js → repository-8wj87zfr.js} +0 -0
- /package/dist/chunks/{mime-922hggd3.js → repository-922hggd3.js} +0 -0
- /package/dist/chunks/{mime-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
- /package/dist/chunks/{mime-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{mime-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
- /package/dist/chunks/{mime-af5trqkr.js → repository-af5trqkr.js} +0 -0
- /package/dist/chunks/{mime-afrmfg78.js → repository-afrmfg78.js} +0 -0
- /package/dist/chunks/{mime-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{mime-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
- /package/dist/chunks/{mime-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{mime-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{mime-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
- /package/dist/chunks/{mime-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{mime-d9fn303g.js → repository-d9fn303g.js} +0 -0
- /package/dist/chunks/{mime-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{mime-dajrwvna.js → repository-dajrwvna.js} +0 -0
- /package/dist/chunks/{mime-dap0rakb.js → repository-dap0rakb.js} +0 -0
- /package/dist/chunks/{mime-df08tz66.js → repository-df08tz66.js} +0 -0
- /package/dist/chunks/{mime-dy18nga0.js → repository-dy18nga0.js} +0 -0
- /package/dist/chunks/{mime-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
- /package/dist/chunks/{mime-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
- /package/dist/chunks/{mime-ec1grn59.js → repository-ec1grn59.js} +0 -0
- /package/dist/chunks/{mime-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
- /package/dist/chunks/{mime-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
- /package/dist/chunks/{mime-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
- /package/dist/chunks/{mime-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{mime-faypxj3z.js → repository-faypxj3z.js} +0 -0
- /package/dist/chunks/{mime-fd410y7t.js → repository-fd410y7t.js} +0 -0
- /package/dist/chunks/{mime-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{mime-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
- /package/dist/chunks/{mime-g86h250q.js → repository-g86h250q.js} +0 -0
- /package/dist/chunks/{mime-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
- /package/dist/chunks/{mime-gftt206x.js → repository-gftt206x.js} +0 -0
- /package/dist/chunks/{mime-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
- /package/dist/chunks/{mime-hk9envan.js → repository-hk9envan.js} +0 -0
- /package/dist/chunks/{mime-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
- /package/dist/chunks/{mime-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{mime-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
- /package/dist/chunks/{mime-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{mime-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{mime-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{mime-mp448xyj.js → repository-mp448xyj.js} +0 -0
- /package/dist/chunks/{mime-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
- /package/dist/chunks/{mime-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
- /package/dist/chunks/{mime-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
- /package/dist/chunks/{mime-njntx4h6.js → repository-njntx4h6.js} +0 -0
- /package/dist/chunks/{mime-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
- /package/dist/chunks/{mime-q74kybfr.js → repository-q74kybfr.js} +0 -0
- /package/dist/chunks/{mime-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
- /package/dist/chunks/{mime-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
- /package/dist/chunks/{mime-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
- /package/dist/chunks/{mime-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
- /package/dist/chunks/{mime-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
- /package/dist/chunks/{mime-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{mime-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{mime-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{mime-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
- /package/dist/chunks/{mime-w803qqfp.js → repository-w803qqfp.js} +0 -0
- /package/dist/chunks/{mime-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{mime-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
- /package/dist/chunks/{mime-wtztk69x.js → repository-wtztk69x.js} +0 -0
- /package/dist/chunks/{mime-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
- /package/dist/chunks/{mime-x61499pn.js → repository-x61499pn.js} +0 -0
- /package/dist/chunks/{mime-y44na4kk.js → repository-y44na4kk.js} +0 -0
- /package/dist/chunks/{mime-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
- /package/dist/chunks/{mime-y8f7s663.js → repository-y8f7s663.js} +0 -0
- /package/dist/chunks/{mime-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{mime-ym463w8f.js → repository-ym463w8f.js} +0 -0
- /package/dist/chunks/{mime-z9919s4g.js → repository-z9919s4g.js} +0 -0
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./repository-5cc8va4r.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID12.make("gpt-5-chat-latest"), ID12.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID14,
|
|
3
|
+
Service77
|
|
4
|
+
} from "./repository-egzk107n.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service77;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID14.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service71,
|
|
8
|
+
node74
|
|
9
|
+
} from "./repository-rh2hsk8b.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service70,
|
|
24
|
+
node: () => node73
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service70 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service71;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service70.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node73 = makeLocationNode({ service: Service70, layer, deps: [node74, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error4, InvalidPatternError2, Service70, node73, exports_ripgrep };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-psazpmmj.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-rhjbct0v.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-bjtzbw4r.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./repository-hsf9s0cc.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-tkcsd86e.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
10
10
|
import { isArrayNonEmpty } from "effect/Array";
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Form } from "@opencode/schema/form";
|
|
13
|
-
var providerID =
|
|
13
|
+
var providerID = ID13.make("cloudflare-ai-gateway");
|
|
14
14
|
var accountIdField = Form.StringField.make({
|
|
15
15
|
type: "string",
|
|
16
16
|
key: "accountId",
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID10,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-y8gv42p7.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-f14sxx3q.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
|
-
var
|
|
15
|
-
__export(
|
|
16
|
-
AgentPlugin: () =>
|
|
17
|
-
Plugin: () =>
|
|
14
|
+
var exports_agent = {};
|
|
15
|
+
__export(exports_agent, {
|
|
16
|
+
AgentPlugin: () => exports_agent,
|
|
17
|
+
Plugin: () => Plugin15
|
|
18
18
|
});
|
|
19
19
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
20
20
|
import { Effect } from "effect";
|
|
@@ -90,7 +90,7 @@ Rules:
|
|
|
90
90
|
- Never ask questions or add new questions
|
|
91
91
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
92
92
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
93
|
-
var
|
|
93
|
+
var Plugin15 = define({
|
|
94
94
|
id: "opencode.agent",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
96
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -100,13 +100,13 @@ var Plugin48 = define({
|
|
|
100
100
|
item.mode = "primary";
|
|
101
101
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
102
102
|
});
|
|
103
|
-
editor.update(
|
|
103
|
+
editor.update(ID10.make("general"), (item) => {
|
|
104
104
|
item.name = Name3.make("General");
|
|
105
105
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
106
106
|
item.mode = "subagent";
|
|
107
107
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
108
108
|
});
|
|
109
|
-
editor.update(
|
|
109
|
+
editor.update(ID10.make("explore"), (item) => {
|
|
110
110
|
const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
|
|
111
111
|
item.name = Name3.make("Explore");
|
|
112
112
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
@@ -125,19 +125,19 @@ var Plugin48 = define({
|
|
|
125
125
|
{ action: "subagent", resource: "*", effect: "deny" }
|
|
126
126
|
], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
|
|
127
127
|
});
|
|
128
|
-
editor.update(
|
|
128
|
+
editor.update(ID10.make("compaction"), (item) => {
|
|
129
129
|
item.name = Name3.make("Compaction");
|
|
130
130
|
item.mode = "primary";
|
|
131
131
|
item.hidden = true;
|
|
132
132
|
});
|
|
133
|
-
editor.update(
|
|
133
|
+
editor.update(ID10.make("title"), (item) => {
|
|
134
134
|
item.name = Name3.make("Title");
|
|
135
135
|
item.mode = "primary";
|
|
136
136
|
item.hidden = true;
|
|
137
137
|
item.system = PROMPT_TITLE;
|
|
138
138
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
139
139
|
});
|
|
140
|
-
editor.update(
|
|
140
|
+
editor.update(ID10.make("summary"), (item) => {
|
|
141
141
|
item.name = Name3.make("Summary");
|
|
142
142
|
item.mode = "primary";
|
|
143
143
|
item.hidden = true;
|
|
@@ -148,4 +148,4 @@ var Plugin48 = define({
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Plugin15, exports_agent };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-g71p6t9p.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service78
|
|
7
|
+
} from "./repository-e9ggwzdx.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID14,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-egzk107n.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID13,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-hsf9s0cc.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
24
24
|
var pollingSafetyMargin = 3000;
|
|
25
25
|
var browserMethodID = MethodID2.make("browser");
|
|
26
26
|
var deviceMethodID = MethodID2.make("device");
|
|
27
|
-
var providerID =
|
|
27
|
+
var providerID = ID13.make("xai");
|
|
28
28
|
var Token = Schema.Struct({
|
|
29
29
|
access_token: Schema.String,
|
|
30
30
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
|
|
|
44
44
|
});
|
|
45
45
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
46
46
|
var device = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID14.make("xai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: deviceMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -69,8 +69,8 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
73
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
72
|
+
const credentials = yield* Service78;
|
|
73
|
+
yield* Effect.forEach(yield* credentials.list(ID14.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
76
76
|
return credentials.update(credential.id, {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-g71p6t9p.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./repository-pmrjrcra.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./repository-e9ggwzdx.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-egzk107n.js";
|
|
15
15
|
import {
|
|
16
16
|
which2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-qaymkmh1.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
ID13
|
|
20
|
+
} from "./repository-hsf9s0cc.js";
|
|
21
21
|
import {
|
|
22
22
|
iife2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-1kg9ymc8.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-tkcsd86e.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/azure.ts
|
|
29
29
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -43,9 +43,9 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
|
|
|
43
43
|
var AzurePlugin2 = define({
|
|
44
44
|
id: "opencode.provider.azure",
|
|
45
45
|
effect: Effect.fn(function* (ctx) {
|
|
46
|
-
const configured = yield* configuredSettings2(
|
|
46
|
+
const configured = yield* configuredSettings2(ID13.azure);
|
|
47
47
|
const processes = yield* AppProcess.Service;
|
|
48
|
-
const bus = yield*
|
|
48
|
+
const bus = yield* Service83;
|
|
49
49
|
const tokens = new Map;
|
|
50
50
|
const loading = Semaphore.makeUnsafe(1);
|
|
51
51
|
const loaded = {};
|
|
@@ -79,13 +79,13 @@ var AzurePlugin2 = define({
|
|
|
79
79
|
});
|
|
80
80
|
yield* ctx.integration.transform((editor) => {
|
|
81
81
|
editor.method.update({
|
|
82
|
-
integrationID:
|
|
82
|
+
integrationID: ID13.azure,
|
|
83
83
|
method: { type: "key", label: "API key", form: form() }
|
|
84
84
|
});
|
|
85
85
|
if (!available)
|
|
86
86
|
return;
|
|
87
87
|
editor.method.update({
|
|
88
|
-
integrationID:
|
|
88
|
+
integrationID: ID13.azure,
|
|
89
89
|
method: {
|
|
90
90
|
id: methodID,
|
|
91
91
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ var AzurePlugin2 = define({
|
|
|
117
117
|
});
|
|
118
118
|
});
|
|
119
119
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
120
|
-
const connection = yield* ctx.integration.connection.active(
|
|
120
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
121
121
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
122
122
|
return;
|
|
123
123
|
})) : undefined;
|
|
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
|
|
|
131
131
|
yield* load();
|
|
132
132
|
yield* ctx.provider.transform((evt) => {
|
|
133
133
|
for (const item of evt.list()) {
|
|
134
|
-
if (item.provider.id !==
|
|
134
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
135
135
|
continue;
|
|
136
136
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
137
137
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -149,7 +149,7 @@ var AzurePlugin2 = define({
|
|
|
149
149
|
});
|
|
150
150
|
yield* ctx.model.transform((models) => {
|
|
151
151
|
for (const item of models.provider.list()) {
|
|
152
|
-
if (item.provider.id !==
|
|
152
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
153
153
|
continue;
|
|
154
154
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
155
155
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -161,9 +161,9 @@ var AzurePlugin2 = define({
|
|
|
161
161
|
}
|
|
162
162
|
});
|
|
163
163
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
164
|
-
yield* bus.subscribe(
|
|
164
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
165
165
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
166
|
-
const connection = yield* ctx.integration.connection.active(
|
|
166
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
167
167
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
168
168
|
return;
|
|
169
169
|
})) : undefined;
|
|
@@ -175,7 +175,7 @@ var AzurePlugin2 = define({
|
|
|
175
175
|
return `Bearer ${current.access}`;
|
|
176
176
|
});
|
|
177
177
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
178
|
-
if (evt.model.providerID !==
|
|
178
|
+
if (evt.model.providerID !== ID13.azure)
|
|
179
179
|
return;
|
|
180
180
|
const authorization = yield* bearer(evt.request.url);
|
|
181
181
|
if (!authorization)
|
|
@@ -184,9 +184,9 @@ var AzurePlugin2 = define({
|
|
|
184
184
|
evt.request.headers.delete("x-api-key");
|
|
185
185
|
evt.request.headers.set("authorization", authorization);
|
|
186
186
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
187
|
-
}), { providerID:
|
|
187
|
+
}), { providerID: ID13.azure });
|
|
188
188
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
189
|
-
if (evt.model.providerID !==
|
|
189
|
+
if (evt.model.providerID !== ID13.azure)
|
|
190
190
|
return;
|
|
191
191
|
const authorization = yield* bearer(evt.url);
|
|
192
192
|
if (!authorization)
|
|
@@ -195,7 +195,7 @@ var AzurePlugin2 = define({
|
|
|
195
195
|
delete evt.headers["x-api-key"];
|
|
196
196
|
evt.headers.authorization = authorization;
|
|
197
197
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
198
|
-
}), { providerID:
|
|
198
|
+
}), { providerID: ID13.azure });
|
|
199
199
|
})
|
|
200
200
|
});
|
|
201
201
|
function resolveResourceName(settings, fallback) {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/attachment.ts
|
|
9
9
|
var exports_attachment = {};
|
|
10
10
|
__export(exports_attachment, {
|
|
11
11
|
ConfigAttachmentV1: () => exports_attachment,
|
|
12
12
|
Image: () => Image2,
|
|
13
|
-
Info: () =>
|
|
13
|
+
Info: () => Info14
|
|
14
14
|
});
|
|
15
15
|
import { Schema } from "effect";
|
|
16
16
|
var Image2 = Schema.Struct({
|
|
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
|
|
|
27
27
|
description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
|
|
28
28
|
})
|
|
29
29
|
}).annotate({ identifier: "ImageAttachmentConfig" });
|
|
30
|
-
var
|
|
30
|
+
var Info14 = Schema.Struct({
|
|
31
31
|
image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
|
|
32
32
|
}).annotate({ identifier: "AttachmentConfig" });
|
|
33
33
|
|
|
34
|
-
export { Image2,
|
|
34
|
+
export { Image2, Info14, exports_attachment };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./repository-pmrjrcra.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-dnxkq42g.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event19
|
|
9
|
+
} from "./repository-e9ggwzdx.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID14
|
|
12
|
+
} from "./repository-egzk107n.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID13,
|
|
15
|
+
Service76
|
|
16
|
+
} from "./repository-hsf9s0cc.js";
|
|
17
17
|
import {
|
|
18
18
|
load2,
|
|
19
19
|
derive2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-tv69crpr.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID13.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
30
|
-
const bus = yield*
|
|
29
|
+
const providers = yield* Service76;
|
|
30
|
+
const bus = yield* Service83;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
33
33
|
const load = Effect.fn("ModalPlugin.load")(function* () {
|
|
@@ -67,7 +67,7 @@ var ModalPlugin2 = define({
|
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service61,
|
|
3
|
+
node64,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-45155fbs.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service53,
|
|
8
|
+
node56
|
|
9
|
+
} from "./repository-0hf9g8pg.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service13
|
|
12
|
+
} from "./repository-j6t7fyz5.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-qj0neyac.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service61, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service13);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node56.replace(Layer.succeed(Service53, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node64.replace(Layer.succeed(Service61, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|