@opencode/core 0.0.0-dev-19594 → 0.0.0-dev-19596
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 +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +74 -74
- package/dist/catalog.js +84 -84
- package/dist/chunks/{mime-m6mq2hjy.js → schema-02nqk1b9.js} +4 -4
- package/dist/chunks/{mime-rhjbct0v.js → schema-02nrjc1r.js} +6 -6
- package/dist/chunks/{mime-0artwwxx.js → schema-0artwwxx.js} +1 -1
- package/dist/chunks/{mime-zfyh5k5p.js → schema-0e0qwbc3.js} +32 -32
- package/dist/chunks/{mime-a6wxbqrd.js → schema-0n4jht4c.js} +18 -18
- package/dist/chunks/{mime-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
- package/dist/chunks/{mime-0pb75hch.js → schema-0pb75hch.js} +1 -1
- package/dist/chunks/{mime-0q0f95c6.js → schema-0q0f95c6.js} +1 -1
- package/dist/chunks/{mime-hssj4d10.js → schema-100j1g9v.js} +32 -32
- package/dist/chunks/{mime-2cv161v0.js → schema-14a1bm7w.js} +22 -22
- package/dist/chunks/{mime-xtdnnkz9.js → schema-14getyrd.js} +24 -24
- package/dist/chunks/{mime-xn5rvdk3.js → schema-15nepkqg.js} +8 -8
- package/dist/chunks/{mime-9eafbtjx.js → schema-160w9f8h.js} +4 -4
- package/dist/chunks/{mime-64mdbckw.js → schema-16502g6j.js} +20 -20
- package/dist/chunks/{mime-sd8yy5r9.js → schema-17ccpqma.js} +13 -13
- package/dist/chunks/{mime-1cbk4m95.js → schema-1cbk4m95.js} +3 -3
- package/dist/chunks/{mime-1dazxqgg.js → schema-1dazxqgg.js} +2 -2
- package/dist/chunks/{mime-pa86c6bb.js → schema-1gr0tcdy.js} +4 -4
- package/dist/chunks/{mime-pt4bgws9.js → schema-1pqwnjx4.js} +16 -16
- package/dist/chunks/{mime-hs2a3b3x.js → schema-1qghmjy0.js} +3 -3
- package/dist/chunks/{mime-56gdpj1q.js → schema-1ygqh575.js} +9 -9
- package/dist/chunks/{mime-219neeqh.js → schema-219neeqh.js} +2 -2
- package/dist/chunks/{mime-21r38tys.js → schema-21r38tys.js} +1 -1
- package/dist/chunks/{mime-2402vzrj.js → schema-2402vzrj.js} +1 -1
- package/dist/chunks/{mime-265kqrgy.js → schema-265kqrgy.js} +1 -1
- package/dist/chunks/{mime-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
- package/dist/chunks/{mime-444p8hwk.js → schema-2bvm5bng.js} +5 -5
- package/dist/chunks/schema-2rnk416m.js +247 -0
- package/dist/chunks/{mime-qkdjfw93.js → schema-2xmxfdkw.js} +13 -13
- package/dist/chunks/{mime-qk0gpxf2.js → schema-30c1nq7z.js} +8 -8
- package/dist/chunks/{mime-33n3bzdy.js → schema-33n3bzdy.js} +1 -1
- package/dist/chunks/{mime-4780s8zr.js → schema-352w66m8.js} +9 -9
- package/dist/chunks/{mime-cga0myw9.js → schema-35hkzk16.js} +7 -7
- package/dist/chunks/{mime-35wynegs.js → schema-35wynegs.js} +2 -2
- package/dist/chunks/{mime-w4arg62q.js → schema-3a6re68j.js} +6 -6
- package/dist/chunks/{mime-zyyezbff.js → schema-3dmtdf19.js} +9 -9
- package/dist/chunks/{mime-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
- package/dist/chunks/{mime-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
- package/dist/chunks/{mime-z5e4xs1g.js → schema-3hf7z3yq.js} +11 -11
- package/dist/chunks/{mime-bbrkv54p.js → schema-3p2ed7sd.js} +25 -25
- package/dist/chunks/{mime-420zfhbw.js → schema-3qte0bkw.js} +11 -11
- package/dist/chunks/{mime-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
- package/dist/chunks/{mime-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
- package/dist/chunks/{mime-ywcdcbeh.js → schema-460nzhf0.js} +13 -13
- package/dist/chunks/{mime-njct8jvz.js → schema-46kds8gk.js} +18 -18
- package/dist/chunks/{mime-tfwtnexv.js → schema-49m0b0hg.js} +12 -12
- package/dist/chunks/{mime-h4xx3q8r.js → schema-4n7x7n3b.js} +41 -41
- package/dist/chunks/{mime-cq37gk0t.js → schema-4p8fzzdy.js} +4 -4
- package/dist/chunks/{mime-3bxse654.js → schema-57kf9cn6.js} +11 -11
- package/dist/chunks/{mime-8x7bs8k4.js → schema-59fjh03s.js} +6 -6
- package/dist/chunks/{mime-5daktx2q.js → schema-5daktx2q.js} +1 -1
- package/dist/chunks/{mime-anxsz8s7.js → schema-5rs2mggp.js} +13 -13
- package/dist/chunks/{mime-5t3nmthw.js → schema-5t3nmthw.js} +2 -2
- package/dist/chunks/{mime-2k8khapm.js → schema-607tc6va.js} +5 -5
- package/dist/chunks/{mime-sm7k231e.js → schema-61tweh31.js} +11 -11
- package/dist/chunks/{mime-669tq793.js → schema-669tq793.js} +1 -1
- package/dist/chunks/{mime-fvhxsqzp.js → schema-6756pezh.js} +12 -12
- package/dist/chunks/{mime-8q7cq0y1.js → schema-6bsje7ws.js} +3 -3
- package/dist/chunks/{mime-eraanh1f.js → schema-6kyz0a76.js} +8 -8
- package/dist/chunks/{mime-6msgmcgs.js → schema-6msgmcgs.js} +1 -1
- package/dist/chunks/{mime-ra43e7fd.js → schema-6sk8rnq7.js} +47 -47
- package/dist/chunks/{mime-133n9d2d.js → schema-6z8qh9hd.js} +9 -9
- package/dist/chunks/{mime-70d2s7af.js → schema-70d2s7af.js} +1 -1
- package/dist/chunks/{mime-71q4at8m.js → schema-71q4at8m.js} +1 -1
- package/dist/chunks/{mime-r5x6zcsm.js → schema-73tb2d7t.js} +3 -3
- package/dist/chunks/{mime-mdwr1hje.js → schema-74jczd3p.js} +6 -6
- package/dist/chunks/{mime-j3y0vmp2.js → schema-7a8p0xnb.js} +15 -15
- package/dist/chunks/{mime-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
- package/dist/chunks/{mime-adtd93wp.js → schema-7cdavrgt.js} +26 -26
- package/dist/chunks/{mime-rf80fxgj.js → schema-7d2a7xbs.js} +5 -5
- package/dist/chunks/{mime-79j0w79y.js → schema-7f0264at.js} +34 -34
- package/dist/chunks/{mime-2gwea9g5.js → schema-7h6eczm7.js} +20 -20
- package/dist/chunks/{mime-seam05pa.js → schema-7hztb8a6.js} +8 -8
- package/dist/chunks/{mime-xj7p06cz.js → schema-7j034exa.js} +13 -13
- package/dist/chunks/{mime-704h20fa.js → schema-7vgg5bre.js} +20 -20
- package/dist/chunks/{mime-844ef7ks.js → schema-844ef7ks.js} +1 -1
- package/dist/chunks/{mime-vv47xjan.js → schema-88jrr0c1.js} +20 -20
- package/dist/chunks/{mime-tcezcvh9.js → schema-89znhe33.js} +4 -4
- package/dist/chunks/{mime-txhedez9.js → schema-8b5a8700.js} +28 -28
- package/dist/chunks/{mime-8d7r5vzw.js → schema-8d7r5vzw.js} +1 -1
- package/dist/chunks/{mime-hcv4nqeb.js → schema-8g7dzdwc.js} +17 -9
- package/dist/chunks/{mime-mez6c9p4.js → schema-8hqm76n9.js} +16 -16
- package/dist/chunks/{mime-8p4f9s12.js → schema-8p4f9s12.js} +2 -2
- package/dist/chunks/{mime-52xa8h0k.js → schema-8tasdpw9.js} +17 -17
- package/dist/chunks/{mime-vc4e6k4r.js → schema-8tpwn33w.js} +4 -4
- package/dist/chunks/{mime-zb37mv0v.js → schema-94wn97cy.js} +6 -6
- package/dist/chunks/{mime-zyyy8fjh.js → schema-9776sn27.js} +8 -8
- package/dist/chunks/{mime-kn0whz0h.js → schema-9cdcqr3z.js} +24 -24
- package/dist/chunks/{mime-g95881nk.js → schema-9cwdscm4.js} +6 -6
- package/dist/chunks/{mime-8na3ps9f.js → schema-9cwgx80s.js} +15 -15
- package/dist/chunks/{mime-eqde16p0.js → schema-9ee4bqq5.js} +16 -16
- package/dist/chunks/{mime-5w49rw7h.js → schema-9n8afz82.js} +18 -18
- package/dist/chunks/{mime-9h8p7dc2.js → schema-9n9wwhvc.js} +27 -27
- package/dist/chunks/{mime-g2v8q978.js → schema-9xbky303.js} +64 -64
- package/dist/chunks/{mime-2ht41vc1.js → schema-9xdtwryq.js} +15 -15
- package/dist/chunks/{mime-a1bz86dw.js → schema-a1bz86dw.js} +3 -3
- package/dist/chunks/{mime-t92h3xfh.js → schema-a2mmkps9.js} +27 -27
- package/dist/chunks/{mime-tpnhe26j.js → schema-a3dxz99s.js} +11 -11
- package/dist/chunks/{mime-f640cp8s.js → schema-a9bb11qt.js} +5 -5
- package/dist/chunks/{mime-aaet6srn.js → schema-aaet6srn.js} +2 -2
- package/dist/chunks/{mime-z053jb5k.js → schema-ak553geh.js} +26 -26
- package/dist/chunks/{mime-xkanz2ea.js → schema-aqd42mcz.js} +10 -10
- package/dist/chunks/{mime-cc31018j.js → schema-aqqw58sn.js} +32 -32
- package/dist/chunks/{mime-b11403r6.js → schema-b11403r6.js} +4 -4
- package/dist/chunks/{mime-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
- package/dist/chunks/{mime-zqbh65n6.js → schema-b83gcn6t.js} +24 -24
- package/dist/chunks/{mime-5yeq06a0.js → schema-bdqrk2vk.js} +9 -9
- package/dist/chunks/{mime-wzv25m25.js → schema-bfn7mtpr.js} +13 -13
- package/dist/chunks/{mime-wa22fvar.js → schema-bnf5aq9z.js} +24 -24
- package/dist/chunks/schema-bsgewm40.js +26 -0
- package/dist/chunks/{mime-v4xb0e1g.js → schema-bswyt25e.js} +9 -9
- package/dist/chunks/{mime-6heswp50.js → schema-c09skazh.js} +9 -9
- package/dist/chunks/{mime-35vdht0v.js → schema-c1660zyq.js} +4 -4
- package/dist/chunks/{mime-c3s2gn8c.js → schema-c3s2gn8c.js} +2 -2
- package/dist/chunks/{mime-fr161fk4.js → schema-c5nvra9m.js} +2 -2
- package/dist/chunks/{mime-t0fxg8b9.js → schema-c78bbtc9.js} +5 -5
- package/dist/chunks/{mime-cfpkc3c9.js → schema-cfpkc3c9.js} +2 -2
- package/dist/chunks/{mime-z16ek00m.js → schema-ckp1ht4p.js} +301 -301
- package/dist/chunks/{mime-m86bnw2c.js → schema-crptryd9.js} +9 -9
- package/dist/chunks/{mime-2vs2nh1n.js → schema-ctmr8zqa.js} +4 -4
- package/dist/chunks/{mime-r65rh87v.js → schema-cvnh4hxe.js} +11 -11
- package/dist/chunks/{mime-cvtmmhw6.js → schema-cvtmmhw6.js} +1 -1
- package/dist/chunks/{mime-fvx6fngr.js → schema-cwtxttrt.js} +17 -17
- package/dist/chunks/{mime-wyd5qy3e.js → schema-cxnfc116.js} +16 -16
- package/dist/chunks/{mime-et0rkxxj.js → schema-cyhsea0k.js} +8 -8
- package/dist/chunks/{mime-v2rhk2e4.js → schema-cyyebbpd.js} +18 -18
- package/dist/chunks/{mime-wwgj97ya.js → schema-d4d34sqm.js} +17 -17
- package/dist/chunks/{mime-ky1z1t7f.js → schema-d6e8k2gz.js} +34 -34
- package/dist/chunks/{mime-f565jxke.js → schema-dcrj6gad.js} +22 -22
- package/dist/chunks/{mime-pdcjakb6.js → schema-dm8kv9e9.js} +49 -49
- package/dist/chunks/{mime-kpvyk30t.js → schema-dtsq3qdh.js} +9 -9
- package/dist/chunks/{mime-bndc73cn.js → schema-e5nv3ght.js} +5 -5
- package/dist/chunks/{mime-bgxcxs0p.js → schema-e6hmchc5.js} +5 -5
- package/dist/chunks/{mime-nhy5jxhy.js → schema-e82z9tr0.js} +7 -7
- package/dist/chunks/{mime-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
- package/dist/chunks/{mime-hr15y0yn.js → schema-eng2bkh5.js} +4 -4
- package/dist/chunks/{mime-eq6c3fte.js → schema-eq6c3fte.js} +2 -2
- package/dist/chunks/{mime-etq0c3wd.js → schema-etq0c3wd.js} +1 -1
- package/dist/chunks/{mime-2p6q1z9q.js → schema-ew8epg43.js} +8 -8
- package/dist/chunks/{mime-818pfwc9.js → schema-eyqq4r43.js} +8 -8
- package/dist/chunks/{mime-tqtqm0tk.js → schema-f3fywrrk.js} +21 -21
- package/dist/chunks/{mime-jgs57335.js → schema-f4ygn7kd.js} +25 -25
- package/dist/chunks/{mime-xmvk2ac6.js → schema-f6agekp8.js} +9 -9
- package/dist/chunks/{mime-f828m53h.js → schema-f828m53h.js} +2 -2
- package/dist/chunks/{mime-h752p31j.js → schema-fay8vjw6.js} +14 -14
- package/dist/chunks/{mime-50spkatp.js → schema-fch79rh9.js} +28 -3
- package/dist/chunks/{mime-qbx47xy2.js → schema-febxpxrj.js} +9 -9
- package/dist/chunks/{mime-5frpvc34.js → schema-ff0svapt.js} +2 -2
- package/dist/chunks/{mime-2wyn68kt.js → schema-fnt00pdw.js} +95 -95
- package/dist/chunks/{mime-gsy31vka.js → schema-fvwtc7m7.js} +8 -8
- package/dist/chunks/{mime-fxbjtjnd.js → schema-fxbjtjnd.js} +1 -1
- package/dist/chunks/{mime-z4y4a432.js → schema-g5rn0d52.js} +18 -18
- package/dist/chunks/{mime-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
- package/dist/chunks/{mime-edtxp2z3.js → schema-gd8pphrc.js} +1 -1
- package/dist/chunks/{mime-7fejhyaj.js → schema-gg2v66ak.js} +36 -36
- package/dist/chunks/{mime-7fkzzjzh.js → schema-gj03f4ek.js} +14 -14
- package/dist/chunks/{mime-tst7fck9.js → schema-gj5yqrt5.js} +5 -5
- package/dist/chunks/{mime-h03wrkyp.js → schema-h03wrkyp.js} +2 -2
- package/dist/chunks/{mime-mx7czsbd.js → schema-h2ksjayj.js} +28 -28
- package/dist/chunks/{mime-6pg9yxyn.js → schema-h6ar4aba.js} +24 -24
- package/dist/chunks/{mime-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
- package/dist/chunks/{mime-d2q9jptv.js → schema-hhgwwrzt.js} +43 -43
- package/dist/chunks/{mime-73zec2db.js → schema-hj0g3228.js} +13 -13
- package/dist/chunks/{mime-7jryds9y.js → schema-hjnnbnbb.js} +9 -9
- package/dist/chunks/{mime-yt0fqk68.js → schema-hkfg6fzm.js} +5 -5
- package/dist/chunks/{mime-t2qnazqa.js → schema-hv9ta9e9.js} +24 -24
- package/dist/chunks/{mime-qmd9v6g9.js → schema-j0kcbam5.js} +17 -17
- package/dist/chunks/{mime-j56e64zr.js → schema-j56e64zr.js} +1 -1
- package/dist/chunks/{mime-1p086jrz.js → schema-j5dzb3vg.js} +11 -11
- package/dist/chunks/{mime-rqkpr08e.js → schema-jb92a43k.js} +54 -54
- package/dist/chunks/{mime-b0dn0kc2.js → schema-jj8s0vwv.js} +27 -27
- package/dist/chunks/{mime-gb2e7tdd.js → schema-jr3e8pb9.js} +5 -5
- package/dist/chunks/{mime-y71avatq.js → schema-jwcy2c2z.js} +4 -4
- package/dist/chunks/{mime-13a7a1wx.js → schema-jxbxppp8.js} +28 -28
- package/dist/chunks/{mime-tdjcx4hx.js → schema-k5ahzgcr.js} +29 -29
- package/dist/chunks/{mime-tr59z4r6.js → schema-k7ytje6f.js} +14 -14
- package/dist/chunks/{mime-6stpc6jq.js → schema-k7yxbrfp.js} +35 -35
- package/dist/chunks/{mime-ahxwejs5.js → schema-kdmcvb0r.js} +6 -6
- package/dist/chunks/{mime-kg06axw8.js → schema-kg06axw8.js} +1 -1
- package/dist/chunks/{mime-axyhzpge.js → schema-kgt4jx9n.js} +20 -20
- package/dist/chunks/{mime-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
- package/dist/chunks/{mime-mfhfdr54.js → schema-mfhfdr54.js} +1 -1
- package/dist/chunks/{mime-870jgjkc.js → schema-mh093k67.js} +22 -22
- package/dist/chunks/{mime-kpzqjmdf.js → schema-mp0exg3w.js} +11 -11
- package/dist/chunks/{mime-stk15n3e.js → schema-mw7ftrc1.js} +47 -47
- package/dist/chunks/{mime-0rn7bd2y.js → schema-mx4nfnwv.js} +3 -3
- package/dist/chunks/{mime-mz6ae2yf.js → schema-mz6ae2yf.js} +1 -1
- package/dist/chunks/{mime-d6k63gab.js → schema-na2rb754.js} +49 -49
- package/dist/chunks/{mime-qharf8gs.js → schema-nkszaa5g.js} +19 -19
- package/dist/chunks/{mime-e6prdszb.js → schema-nnaq0ssc.js} +30 -30
- package/dist/chunks/{mime-8pcfc58d.js → schema-nrzpy080.js} +32 -32
- package/dist/chunks/{mime-g3vtg5jq.js → schema-nsc0z153.js} +15 -15
- package/dist/chunks/{mime-2x58g7fm.js → schema-nsy21xt9.js} +38 -38
- package/dist/chunks/{mime-6sm2335y.js → schema-nvck40qe.js} +8 -8
- package/dist/chunks/{mime-e07961mt.js → schema-nwejh57z.js} +23 -23
- package/dist/chunks/{mime-ke3mc4hq.js → schema-p8ee7rnh.js} +15 -15
- package/dist/chunks/{mime-dvfrh357.js → schema-p8rnrv0y.js} +4 -4
- package/dist/chunks/{mime-eatzh2k7.js → schema-pdamhna9.js} +8 -8
- package/dist/chunks/{mime-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
- package/dist/chunks/{mime-pknna89w.js → schema-pknna89w.js} +1 -1
- package/dist/chunks/{mime-k30yspdv.js → schema-pta0m0y2.js} +10 -10
- package/dist/chunks/{mime-pfm8588r.js → schema-q53mw4kv.js} +11 -11
- package/dist/chunks/{mime-5y1dhwgz.js → schema-qcyk0ctz.js} +12 -12
- package/dist/chunks/{mime-gv2jqw69.js → schema-qdeq33kz.js} +20 -20
- package/dist/chunks/schema-qdyb70sk.js +18 -0
- package/dist/chunks/{mime-gcb8mzse.js → schema-qgtwsm4a.js} +47 -47
- package/dist/chunks/{mime-f160myny.js → schema-qjkj1w27.js} +5 -5
- package/dist/chunks/{mime-pt5fe4wm.js → schema-qpv0n9y2.js} +13 -13
- package/dist/chunks/{mime-9fk0tq8j.js → schema-qpxa9xfm.js} +11 -11
- package/dist/chunks/{mime-2nm7ty4g.js → schema-qr42g2ex.js} +12 -12
- package/dist/chunks/{mime-qsdy395h.js → schema-qsdy395h.js} +1 -1
- package/dist/chunks/{mime-3gjcsfkp.js → schema-r66k216p.js} +30 -30
- package/dist/chunks/{mime-r9asyhme.js → schema-r9asyhme.js} +3 -3
- package/dist/chunks/{mime-r9mregkx.js → schema-r9mregkx.js} +2 -2
- package/dist/chunks/{mime-f0r94znb.js → schema-rggx3fk4.js} +8 -8
- package/dist/chunks/{mime-hbbajkb6.js → schema-s32qcjvy.js} +43 -43
- package/dist/chunks/{mime-g190xswt.js → schema-sez5jh81.js} +4 -4
- package/dist/chunks/{mime-c5gn303e.js → schema-shh6fz4q.js} +4 -4
- package/dist/chunks/{mime-cfpeewsf.js → schema-skkcpn4x.js} +17 -17
- package/dist/chunks/{mime-t9zs3egg.js → schema-sx1n432n.js} +4 -4
- package/dist/chunks/{mime-m1mf6fzk.js → schema-sxj88q7q.js} +36 -36
- package/dist/chunks/{mime-zjw2f83e.js → schema-sxwejk34.js} +62 -62
- package/dist/chunks/{mime-skgd961f.js → schema-szvcpp15.js} +34 -34
- package/dist/chunks/{mime-t0x5rdq8.js → schema-t0x5rdq8.js} +2 -2
- package/dist/chunks/{mime-5r46t150.js → schema-t16yqmmz.js} +7 -7
- package/dist/chunks/{mime-8bnrj9ah.js → schema-t2tp6kph.js} +9 -9
- package/dist/chunks/{mime-2ge8dzt3.js → schema-t46k7n4n.js} +29 -29
- package/dist/chunks/{mime-sxz6gkc3.js → schema-t6vsspdg.js} +4 -4
- package/dist/chunks/{mime-qd153e6s.js → schema-t9qn8q8w.js} +8 -8
- package/dist/chunks/{mime-wjf2ryf5.js → schema-tax233da.js} +18 -18
- package/dist/chunks/{mime-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
- package/dist/chunks/{mime-tdstcens.js → schema-tdstcens.js} +1 -1
- package/dist/chunks/{mime-sy5x3wzp.js → schema-tgp4vj3e.js} +25 -25
- package/dist/chunks/{mime-gv6a8nnw.js → schema-th5km1p3.js} +5 -5
- package/dist/chunks/{mime-0rh963zz.js → schema-ttvjx6p5.js} +18 -18
- package/dist/chunks/{mime-tvtrv512.js → schema-tvtrv512.js} +1 -1
- package/dist/chunks/{mime-hwfrndnj.js → schema-tz9c6nnc.js} +15 -15
- package/dist/chunks/{mime-q5r46mjj.js → schema-varphpm5.js} +16 -16
- package/dist/chunks/{mime-qc2jvtz9.js → schema-vazxaftq.js} +15 -15
- package/dist/chunks/{mime-veqvce7d.js → schema-veqvce7d.js} +1 -1
- package/dist/chunks/{mime-8qh7f6m5.js → schema-vrf9z43g.js} +32 -32
- package/dist/chunks/{mime-y1x7r325.js → schema-vve3ffxw.js} +29 -29
- package/dist/chunks/{mime-vzcthcp8.js → schema-vzcthcp8.js} +1 -1
- package/dist/chunks/{mime-81rrwt6s.js → schema-vzm76b3t.js} +6 -6
- package/dist/chunks/{mime-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
- package/dist/chunks/{mime-njhyngta.js → schema-w4cz4w8n.js} +2 -2
- package/dist/chunks/{mime-dec7wy2e.js → schema-w52sm2v7.js} +37 -37
- package/dist/chunks/{mime-4xgk073c.js → schema-w5np17bk.js} +32 -32
- package/dist/chunks/{mime-wavq5vqb.js → schema-wavq5vqb.js} +1 -1
- package/dist/chunks/{mime-jyzy5bh9.js → schema-wb1a395f.js} +28 -28
- package/dist/chunks/{mime-wd87259q.js → schema-wd87259q.js} +1 -1
- package/dist/chunks/{mime-s140sdf9.js → schema-wpcmngey.js} +9 -9
- package/dist/chunks/{mime-w3zbj2ne.js → schema-wtx5fp6w.js} +41 -41
- package/dist/chunks/{mime-0qxam8dj.js → schema-x00t4nfm.js} +9 -9
- package/dist/chunks/{mime-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
- package/dist/chunks/{mime-ye34jjbw.js → schema-xafa45y0.js} +23 -23
- package/dist/chunks/{mime-3zygn6db.js → schema-xcz5qpew.js} +18 -18
- package/dist/chunks/{mime-rr835zjc.js → schema-xr4pykw3.js} +16 -16
- package/dist/chunks/{mime-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
- package/dist/chunks/{mime-kx4bd44t.js → schema-y5dj3dxk.js} +6 -6
- package/dist/chunks/{mime-rm1v9tpv.js → schema-y9ytwzzt.js} +29 -29
- package/dist/chunks/{mime-5cbe66kg.js → schema-yaj99xd7.js} +18 -18
- package/dist/chunks/{mime-dagq8swk.js → schema-yea1wtgt.js} +86 -86
- package/dist/chunks/{mime-prkz2p0b.js → schema-yfbgkrwe.js} +11 -11
- package/dist/chunks/{mime-3djbw1yw.js → schema-yh4as7xh.js} +23 -23
- package/dist/chunks/{mime-2fz3ddp8.js → schema-yn73hxa9.js} +10 -10
- package/dist/chunks/{mime-yp2x3t23.js → schema-yp2x3t23.js} +1 -1
- package/dist/chunks/{mime-7dt64zzx.js → schema-yp37mb71.js} +25 -25
- package/dist/chunks/{mime-yrhqyw5v.js → schema-yrhqyw5v.js} +1 -1
- package/dist/chunks/{mime-yrznvahk.js → schema-yrznvahk.js} +2 -2
- package/dist/chunks/{mime-1vh2jpye.js → schema-yzesgjc2.js} +31 -29
- package/dist/chunks/{mime-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
- package/dist/chunks/{mime-z63w68vq.js → schema-z63w68vq.js} +2 -2
- package/dist/chunks/{mime-ppg8cm88.js → schema-zdyqqjkd.js} +163 -163
- package/dist/chunks/{mime-zeh9ct20.js → schema-zeh9ct20.js} +2 -2
- package/dist/chunks/{mime-1qy9swdm.js → schema-zf2yj53h.js} +17 -17
- package/dist/chunks/{mime-tt0d903s.js → schema-zm862yqt.js} +33 -33
- package/dist/chunks/{mime-0q847seh.js → schema-zpbz1axx.js} +8 -8
- package/dist/chunks/{mime-59c8rz3w.js → schema-zqk4v51d.js} +15 -15
- package/dist/chunks/{mime-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
- package/dist/chunks/{mime-1eaf0dqh.js → schema-zwv68h5q.js} +7 -7
- package/dist/chunks/{mime-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- 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 +19 -19
- package/dist/config/plugin/agent.js +121 -121
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +137 -137
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +120 -120
- package/dist/config/plugin/image.js +119 -119
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +121 -121
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +121 -121
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +140 -140
- package/dist/config/plugin/snapshot.js +119 -119
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +121 -121
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +122 -122
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -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 +73 -73
- 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 +2 -2
- 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 +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +90 -90
- 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 +3 -3
- 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 +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- 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 +3 -3
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +2 -2
- package/dist/models-dev.js +87 -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 +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +83 -83
- 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 +1 -1
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +5 -5
- 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 +2 -2
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +2 -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 +80 -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 +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +81 -81
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -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 +3 -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 +2 -2
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -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 +137 -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 +4 -4
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +116 -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 +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +1 -1
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +85 -85
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- 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 +131 -131
- 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 +3 -3
- 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 +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- 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 +1 -1
- 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 +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -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 +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +134 -134
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- 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 +149 -149
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +222 -222
- 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 +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +88 -88
- 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 +123 -123
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +119 -119
- 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/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 +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 +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -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 +83 -83
- package/dist/wellknown/plugin.js +73 -73
- 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 +91 -91
- package/package.json +8 -8
- package/dist/chunks/mime-4v7qdvcn.js +0 -18
- package/dist/chunks/mime-bhcmsjc5.js +0 -26
- package/dist/chunks/mime-x0mt5qzb.js +0 -247
- /package/dist/chunks/{mime-0mesazry.js → schema-0mesazry.js} +0 -0
- /package/dist/chunks/{mime-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{mime-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
- /package/dist/chunks/{mime-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
- /package/dist/chunks/{mime-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
- /package/dist/chunks/{mime-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{mime-2710q6r3.js → schema-2710q6r3.js} +0 -0
- /package/dist/chunks/{mime-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
- /package/dist/chunks/{mime-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{mime-359p4xyc.js → schema-359p4xyc.js} +0 -0
- /package/dist/chunks/{mime-3asan66x.js → schema-3asan66x.js} +0 -0
- /package/dist/chunks/{mime-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
- /package/dist/chunks/{mime-3w5fmr99.js → schema-3w5fmr99.js} +0 -0
- /package/dist/chunks/{mime-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
- /package/dist/chunks/{mime-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
- /package/dist/chunks/{mime-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
- /package/dist/chunks/{mime-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{mime-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
- /package/dist/chunks/{mime-53557ph1.js → schema-53557ph1.js} +0 -0
- /package/dist/chunks/{mime-550bvhaj.js → schema-550bvhaj.js} +0 -0
- /package/dist/chunks/{mime-6prwharc.js → schema-6prwharc.js} +0 -0
- /package/dist/chunks/{mime-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
- /package/dist/chunks/{mime-7m9af43g.js → schema-7m9af43g.js} +0 -0
- /package/dist/chunks/{mime-822emrt2.js → schema-822emrt2.js} +0 -0
- /package/dist/chunks/{mime-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
- /package/dist/chunks/{mime-8n3pysct.js → schema-8n3pysct.js} +0 -0
- /package/dist/chunks/{mime-922hggd3.js → schema-922hggd3.js} +0 -0
- /package/dist/chunks/{mime-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
- /package/dist/chunks/{mime-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{mime-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
- /package/dist/chunks/{mime-af5trqkr.js → schema-af5trqkr.js} +0 -0
- /package/dist/chunks/{mime-afrmfg78.js → schema-afrmfg78.js} +0 -0
- /package/dist/chunks/{mime-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{mime-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
- /package/dist/chunks/{mime-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{mime-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{mime-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
- /package/dist/chunks/{mime-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{mime-d9fn303g.js → schema-d9fn303g.js} +0 -0
- /package/dist/chunks/{mime-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{mime-dajrwvna.js → schema-dajrwvna.js} +0 -0
- /package/dist/chunks/{mime-dap0rakb.js → schema-dap0rakb.js} +0 -0
- /package/dist/chunks/{mime-df08tz66.js → schema-df08tz66.js} +0 -0
- /package/dist/chunks/{mime-dy18nga0.js → schema-dy18nga0.js} +0 -0
- /package/dist/chunks/{mime-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
- /package/dist/chunks/{mime-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
- /package/dist/chunks/{mime-ec1grn59.js → schema-ec1grn59.js} +0 -0
- /package/dist/chunks/{mime-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
- /package/dist/chunks/{mime-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
- /package/dist/chunks/{mime-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
- /package/dist/chunks/{mime-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{mime-faypxj3z.js → schema-faypxj3z.js} +0 -0
- /package/dist/chunks/{mime-fd410y7t.js → schema-fd410y7t.js} +0 -0
- /package/dist/chunks/{mime-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{mime-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
- /package/dist/chunks/{mime-g86h250q.js → schema-g86h250q.js} +0 -0
- /package/dist/chunks/{mime-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
- /package/dist/chunks/{mime-gftt206x.js → schema-gftt206x.js} +0 -0
- /package/dist/chunks/{mime-hjbc5kem.js → schema-hjbc5kem.js} +0 -0
- /package/dist/chunks/{mime-hk9envan.js → schema-hk9envan.js} +0 -0
- /package/dist/chunks/{mime-hrnqkpcd.js → schema-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{mime-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
- /package/dist/chunks/{mime-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{mime-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{mime-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{mime-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{mime-mp448xyj.js → schema-mp448xyj.js} +0 -0
- /package/dist/chunks/{mime-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
- /package/dist/chunks/{mime-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
- /package/dist/chunks/{mime-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
- /package/dist/chunks/{mime-njntx4h6.js → schema-njntx4h6.js} +0 -0
- /package/dist/chunks/{mime-paphc93g.js → schema-paphc93g.js} +0 -0
- /package/dist/chunks/{mime-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
- /package/dist/chunks/{mime-q74kybfr.js → schema-q74kybfr.js} +0 -0
- /package/dist/chunks/{mime-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
- /package/dist/chunks/{mime-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
- /package/dist/chunks/{mime-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
- /package/dist/chunks/{mime-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
- /package/dist/chunks/{mime-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{mime-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{mime-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{mime-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
- /package/dist/chunks/{mime-twg0f83k.js → schema-twg0f83k.js} +0 -0
- /package/dist/chunks/{mime-w803qqfp.js → schema-w803qqfp.js} +0 -0
- /package/dist/chunks/{mime-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
- /package/dist/chunks/{mime-wtztk69x.js → schema-wtztk69x.js} +0 -0
- /package/dist/chunks/{mime-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
- /package/dist/chunks/{mime-x61499pn.js → schema-x61499pn.js} +0 -0
- /package/dist/chunks/{mime-y44na4kk.js → schema-y44na4kk.js} +0 -0
- /package/dist/chunks/{mime-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
- /package/dist/chunks/{mime-y8f7s663.js → schema-y8f7s663.js} +0 -0
- /package/dist/chunks/{mime-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{mime-ym463w8f.js → schema-ym463w8f.js} +0 -0
- /package/dist/chunks/{mime-z9919s4g.js → schema-z9919s4g.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service41
|
|
6
|
+
} from "./schema-14a1bm7w.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/module.ts
|
|
12
12
|
var exports_module = {};
|
|
@@ -23,7 +23,7 @@ import path from "path";
|
|
|
23
23
|
import { stat } from "node:fs/promises";
|
|
24
24
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
25
25
|
var make4 = Effect.fn("PluginModule.make")(function* () {
|
|
26
|
-
const watcher = yield*
|
|
26
|
+
const watcher = yield* Service41;
|
|
27
27
|
const scope = yield* Effect.scope;
|
|
28
28
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
29
29
|
const changes = yield* PubSub.unbounded();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID8,
|
|
3
|
+
Service56
|
|
4
|
+
} from "./schema-h6ar4aba.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service70
|
|
7
|
+
} from "./schema-skkcpn4x.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service40
|
|
10
|
+
} from "./schema-dm8kv9e9.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service42,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./schema-tax233da.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service16
|
|
17
|
+
} from "./schema-fnt00pdw.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make9
|
|
20
|
+
} from "./schema-a3dxz99s.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./schema-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./schema-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigCommandPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_command2 = {};
|
|
30
|
+
__export(exports_command2, {
|
|
31
|
+
ConfigCommandPlugin: () => exports_command2,
|
|
32
|
+
Plugin: () => Plugin20
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin20 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service40;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -54,12 +54,12 @@ var Plugin14 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service70;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service42;
|
|
60
|
+
const sessions = yield* Service16;
|
|
61
|
+
const agents = yield* Service56;
|
|
62
|
+
const subagents = yield* make9;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin14 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID8.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin20, exports_command2 };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node83
|
|
4
|
+
} from "./schema-g5rn0d52.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
14
14
|
__export(exports_agent4, {
|
|
15
15
|
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event10,
|
|
18
|
+
ID: () => ID8,
|
|
19
|
+
Info: () => Info22,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service56,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node59
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event10 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID8 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID8.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info22 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service56 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const bus = yield*
|
|
41
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
42
|
+
const bus = yield* Service79;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
45
45
|
{ action: "external_directory", resource: SHELL_OUTPUT_GLOB(global.data), effect: "allow" },
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info22.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID8.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service56.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID8.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID8.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node59 = makeLocationNode({ service: Service56, layer, deps: [node83, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID8, Name3, defaultID2, Color2, Info22, Service56, node59, exports_agent4, Event10 };
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info8
|
|
7
|
+
} from "./schema-sez5jh81.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Info7
|
|
10
|
+
} from "./schema-eyqq4r43.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Info14
|
|
13
|
+
} from "./schema-c78bbtc9.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Info9
|
|
16
|
+
} from "./schema-t6vsspdg.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Info15
|
|
19
|
+
} from "./schema-bdqrk2vk.js";
|
|
20
20
|
import {
|
|
21
21
|
Layout2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./schema-21r38tys.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Info11
|
|
25
|
+
} from "./schema-3a6re68j.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info12
|
|
28
|
+
} from "./schema-hkfg6fzm.js";
|
|
29
29
|
import {
|
|
30
30
|
Spec2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./schema-607tc6va.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Info13
|
|
34
|
+
} from "./schema-e6hmchc5.js";
|
|
35
35
|
import {
|
|
36
36
|
Server2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./schema-zeh9ct20.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Info10
|
|
40
|
+
} from "./schema-sx1n432n.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./schema-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/v1/config/config.ts
|
|
46
46
|
var exports_config2 = {};
|
|
47
47
|
__export(exports_config2, {
|
|
48
48
|
ConfigV1: () => exports_config2,
|
|
49
|
-
Info: () =>
|
|
49
|
+
Info: () => Info6,
|
|
50
50
|
WellKnown: () => WellKnown2
|
|
51
51
|
});
|
|
52
52
|
import { Schema } from "effect";
|
|
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
|
|
|
59
59
|
identifier: "LogLevel",
|
|
60
60
|
description: "Log level"
|
|
61
61
|
});
|
|
62
|
-
var
|
|
62
|
+
var Info6 = Schema.Struct({
|
|
63
63
|
$schema: Schema.optional(Schema.String).annotate({
|
|
64
64
|
description: "JSON schema reference for configuration validation"
|
|
65
65
|
}),
|
|
@@ -68,10 +68,10 @@ var Info8 = Schema.Struct({
|
|
|
68
68
|
server: Schema.optional(Server2).annotate({
|
|
69
69
|
description: "Server configuration for opencode serve and web commands"
|
|
70
70
|
}),
|
|
71
|
-
command: Schema.optional(Schema.Record(Schema.String,
|
|
71
|
+
command: Schema.optional(Schema.Record(Schema.String, Info9)).annotate({
|
|
72
72
|
description: "Command configuration, see https://opencode.ai/docs/commands"
|
|
73
73
|
}),
|
|
74
|
-
skills: Schema.optional(
|
|
74
|
+
skills: Schema.optional(Info10).annotate({ description: "Additional skill folder paths" }),
|
|
75
75
|
references: Schema.optional(ConfigReference.Info).annotate({
|
|
76
76
|
description: "Named git or local directory references"
|
|
77
77
|
}),
|
|
@@ -113,33 +113,33 @@ var Info8 = Schema.Struct({
|
|
|
113
113
|
username: Schema.optional(Schema.String).annotate({
|
|
114
114
|
description: "Custom username to display in conversations instead of system username"
|
|
115
115
|
}),
|
|
116
|
-
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(
|
|
116
|
+
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info7), plan: Schema.optional(Info7) }), [Schema.Record(Schema.String, Info7)])).annotate({ description: "@deprecated Use `agent` field instead." }),
|
|
117
117
|
agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
|
|
118
|
-
plan: Schema.optional(
|
|
119
|
-
build: Schema.optional(
|
|
120
|
-
general: Schema.optional(
|
|
121
|
-
explore: Schema.optional(
|
|
122
|
-
title: Schema.optional(
|
|
123
|
-
summary: Schema.optional(
|
|
124
|
-
compaction: Schema.optional(
|
|
125
|
-
}), [Schema.Record(Schema.String,
|
|
126
|
-
provider: Schema.optional(Schema.Record(Schema.String,
|
|
118
|
+
plan: Schema.optional(Info7),
|
|
119
|
+
build: Schema.optional(Info7),
|
|
120
|
+
general: Schema.optional(Info7),
|
|
121
|
+
explore: Schema.optional(Info7),
|
|
122
|
+
title: Schema.optional(Info7),
|
|
123
|
+
summary: Schema.optional(Info7),
|
|
124
|
+
compaction: Schema.optional(Info7)
|
|
125
|
+
}), [Schema.Record(Schema.String, Info7)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
|
|
126
|
+
provider: Schema.optional(Schema.Record(Schema.String, Info13)).annotate({
|
|
127
127
|
description: "Custom provider configurations and model overrides"
|
|
128
128
|
}),
|
|
129
|
-
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([
|
|
130
|
-
formatter: Schema.optional(
|
|
129
|
+
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info12, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
|
|
130
|
+
formatter: Schema.optional(Info15).annotate({
|
|
131
131
|
description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
132
132
|
}),
|
|
133
|
-
lsp: Schema.optional(
|
|
133
|
+
lsp: Schema.optional(Info11).annotate({
|
|
134
134
|
description: "Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
135
135
|
}),
|
|
136
136
|
instructions: Schema.optional(Schema.mutable(Schema.Array(Schema.String))).annotate({
|
|
137
137
|
description: "Additional instruction files or patterns to include"
|
|
138
138
|
}),
|
|
139
139
|
layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
|
|
140
|
-
permission: Schema.optional(
|
|
140
|
+
permission: Schema.optional(Info8),
|
|
141
141
|
tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
|
|
142
|
-
attachment: Schema.optional(
|
|
142
|
+
attachment: Schema.optional(Info14).annotate({
|
|
143
143
|
description: "Attachment processing configuration, including image size limits and resizing behavior"
|
|
144
144
|
}),
|
|
145
145
|
enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
|
|
@@ -191,4 +191,4 @@ var Info8 = Schema.Struct({
|
|
|
191
191
|
}))
|
|
192
192
|
}).annotate({ identifier: "Config" });
|
|
193
193
|
|
|
194
|
-
export { WellKnown2,
|
|
194
|
+
export { WellKnown2, Info6, exports_config2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./schema-p8ee7rnh.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service78,
|
|
17
|
+
node: () => node82
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service78 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
25
|
-
const db = (yield*
|
|
26
|
-
return
|
|
24
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
25
|
+
const db = (yield* Service80).db;
|
|
26
|
+
return Service78.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node82 = makeGlobalNode({ service: Service78, layer, deps: [node84] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service78, node82, exports_kv };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-3hf7z3yq.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-1ygqh575.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin5,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint4
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint4 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin5 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -55,7 +55,7 @@ var Plugin38 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint4, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin38 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint4, Plugin5, exports_tinyfish };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info12,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info12 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info12, exports_mcp5 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service70
|
|
6
|
+
} from "./schema-skkcpn4x.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service51
|
|
9
|
+
} from "./schema-9n8afz82.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service9
|
|
12
|
+
} from "./schema-dcrj6gad.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service10
|
|
27
|
+
} from "./schema-d4d34sqm.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./schema-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input6,
|
|
36
|
+
Plugin: () => Plugin39,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
38
|
+
name: () => name6,
|
|
39
39
|
toModelContent: () => toModelContent4
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name6 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input6 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin39 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service10;
|
|
62
|
+
const access = yield* Service51;
|
|
63
|
+
const sessionInstructions = yield* Service9;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service70;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name6,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input6,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -180,4 +180,4 @@ var toModelContent4 = (path, offset, output) => {
|
|
|
180
180
|
`);
|
|
181
181
|
};
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { name6, Input6, Plugin39, toModelContent4, exports_read };
|