@opencode/core 0.0.0-dev-20840 → 0.0.0-dev-20844
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +79 -79
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{instruction-discovery-rhjbct0v.js → formatter-02nrjc1r.js} +6 -6
- package/dist/chunks/{instruction-discovery-7rdq5agd.js → formatter-0gqjtaj7.js} +6 -6
- package/dist/chunks/{instruction-discovery-d15x96cv.js → formatter-0n6pyt17.js} +13 -13
- package/dist/chunks/{instruction-discovery-0paq2nw3.js → formatter-0paq2nw3.js} +1 -1
- package/dist/chunks/{instruction-discovery-vf1yw645.js → formatter-0r53015b.js} +15 -15
- package/dist/chunks/{instruction-discovery-7pk5n3s1.js → formatter-0tkpsk1a.js} +14 -14
- package/dist/chunks/{instruction-discovery-0vbcp93d.js → formatter-0vbcp93d.js} +2 -2
- package/dist/chunks/{instruction-discovery-pa87kxkp.js → formatter-110tzrbd.js} +15 -15
- package/dist/chunks/{instruction-discovery-z1cyx7dz.js → formatter-170ybnr4.js} +13 -13
- package/dist/chunks/{instruction-discovery-yp2x3t23.js → formatter-1acjjqhc.js} +4 -4
- package/dist/chunks/{instruction-discovery-a6ty58hg.js → formatter-1bb8svhn.js} +2 -2
- package/dist/chunks/{instruction-discovery-45xt7wxm.js → formatter-1eyvf6d7.js} +5 -5
- package/dist/chunks/{instruction-discovery-nd4tfyg0.js → formatter-1jdt266a.js} +9 -9
- package/dist/chunks/{instruction-discovery-maccertz.js → formatter-1v1jz88t.js} +18 -18
- package/dist/chunks/{instruction-discovery-x2kh2bfd.js → formatter-1x7hg506.js} +6 -6
- package/dist/chunks/{instruction-discovery-dgkbzrr7.js → formatter-1ynav5f4.js} +20 -20
- package/dist/chunks/{instruction-discovery-mdjjyzh0.js → formatter-21pyz670.js} +31 -31
- package/dist/chunks/{instruction-discovery-hrjwe8en.js → formatter-2bzq2pzg.js} +16 -16
- package/dist/chunks/{instruction-discovery-4e8vs6eh.js → formatter-2eegacq4.js} +8 -8
- package/dist/chunks/{instruction-discovery-abyq9s79.js → formatter-2map9xty.js} +50 -50
- package/dist/chunks/{instruction-discovery-2r93mh4x.js → formatter-2r93mh4x.js} +5 -5
- package/dist/chunks/{instruction-discovery-2vvh33eb.js → formatter-2vvh33eb.js} +2 -2
- package/dist/chunks/{instruction-discovery-6d646j32.js → formatter-304591gr.js} +17 -17
- package/dist/chunks/{instruction-discovery-m2tcdgpb.js → formatter-3d4ymmg4.js} +9 -9
- package/dist/chunks/{instruction-discovery-3fc6dm20.js → formatter-3fc6dm20.js} +1 -1
- package/dist/chunks/{instruction-discovery-76tqa8kn.js → formatter-3h470ew9.js} +5 -5
- package/dist/chunks/{instruction-discovery-3hepkmqq.js → formatter-3hepkmqq.js} +1 -1
- package/dist/chunks/{instruction-discovery-3hwn7j4h.js → formatter-3hwn7j4h.js} +2 -2
- package/dist/chunks/{instruction-discovery-fa9zq5gx.js → formatter-3jvh5386.js} +12 -12
- package/dist/chunks/{instruction-discovery-tn7xc115.js → formatter-3kmz1s9n.js} +15 -15
- package/dist/chunks/{instruction-discovery-w1ba7bfx.js → formatter-3n40wvxh.js} +5 -5
- package/dist/chunks/{instruction-discovery-adq9f0f4.js → formatter-3nz0bd4c.js} +2 -2
- package/dist/chunks/{instruction-discovery-3smtnn6g.js → formatter-3smtnn6g.js} +1 -1
- package/dist/chunks/{instruction-discovery-3tvqynh2.js → formatter-3tvqynh2.js} +1 -1
- package/dist/chunks/{instruction-discovery-jf7mfsg7.js → formatter-3vztebqd.js} +41 -41
- package/dist/chunks/{instruction-discovery-3zsf4n22.js → formatter-3zsf4n22.js} +1 -1
- package/dist/chunks/{instruction-discovery-v4htay49.js → formatter-42dw4rvm.js} +5 -5
- package/dist/chunks/{instruction-discovery-fvkvqbbt.js → formatter-4g61n2kp.js} +3 -3
- package/dist/chunks/{instruction-discovery-zsr4wwhv.js → formatter-4j4tgtq5.js} +4 -4
- package/dist/chunks/{instruction-discovery-kpkbsjrk.js → formatter-4kn8dehn.js} +16 -16
- package/dist/chunks/{instruction-discovery-9h13qr2j.js → formatter-4n2jdprc.js} +1 -1
- package/dist/chunks/{instruction-discovery-mkdntajj.js → formatter-4pa8nav4.js} +3 -3
- package/dist/chunks/{instruction-discovery-4ts7tf6z.js → formatter-4ts7tf6z.js} +2 -2
- package/dist/chunks/{instruction-discovery-g6yfr6ja.js → formatter-4xpgt2w9.js} +5 -5
- package/dist/chunks/{instruction-discovery-9mbzrdn5.js → formatter-4yw1fbgd.js} +23 -23
- package/dist/chunks/{instruction-discovery-w8cfkb27.js → formatter-521cwzmq.js} +23 -23
- package/dist/chunks/{instruction-discovery-0p635tx0.js → formatter-53c3sv1q.js} +11 -11
- package/dist/chunks/{instruction-discovery-54ma36ye.js → formatter-54ma36ye.js} +1 -1
- package/dist/chunks/{instruction-discovery-vhsntnef.js → formatter-5fp7te4b.js} +9 -9
- package/dist/chunks/{instruction-discovery-xnq97b3q.js → formatter-5jvkmg6a.js} +4 -4
- package/dist/chunks/{instruction-discovery-5m9w47nd.js → formatter-5m9w47nd.js} +1 -1
- package/dist/chunks/{instruction-discovery-s2ydx70g.js → formatter-63jakaer.js} +30 -30
- package/dist/chunks/{instruction-discovery-8q2jmg2k.js → formatter-63mfsvgx.js} +11 -11
- package/dist/chunks/{instruction-discovery-36k4rsrb.js → formatter-68vnzynb.js} +16 -16
- package/dist/chunks/{instruction-discovery-y5n9ymtk.js → formatter-6bc1jehr.js} +4 -4
- package/dist/chunks/{instruction-discovery-2xdnazbr.js → formatter-6q1fk26j.js} +16 -16
- package/dist/chunks/{instruction-discovery-fh0k82d9.js → formatter-6q31t9jv.js} +10 -10
- package/dist/chunks/{instruction-discovery-hvzsqqsx.js → formatter-6r6hnsnp.js} +3 -3
- package/dist/chunks/{instruction-discovery-4b6qjr7h.js → formatter-6v9y8yth.js} +1 -1
- package/dist/chunks/{instruction-discovery-jmhkjwrc.js → formatter-6w9p5n85.js} +22 -22
- package/dist/chunks/{instruction-discovery-6xb47vfp.js → formatter-6xb47vfp.js} +1 -1
- package/dist/chunks/{instruction-discovery-7bmhse3q.js → formatter-7bmhse3q.js} +1 -1
- package/dist/chunks/{instruction-discovery-b9yx8y6b.js → formatter-7bvz2z4q.js} +3 -3
- package/dist/chunks/{instruction-discovery-ffam7gj8.js → formatter-7epx4byg.js} +6 -6
- package/dist/chunks/formatter-7fj5dwt0.js +18 -0
- package/dist/chunks/{instruction-discovery-a7p2x4hn.js → formatter-7khzse4r.js} +13 -13
- package/dist/chunks/{instruction-discovery-6cc608et.js → formatter-7npw7b4f.js} +9 -9
- package/dist/chunks/{instruction-discovery-1f58yghe.js → formatter-7qqs174k.js} +11 -11
- package/dist/chunks/{instruction-discovery-9z5x99zr.js → formatter-84sp9v26.js} +8 -8
- package/dist/chunks/{instruction-discovery-84txncab.js → formatter-84txncab.js} +1 -1
- package/dist/chunks/{instruction-discovery-pn6tb00z.js → formatter-89e7he8k.js} +18 -18
- package/dist/chunks/{instruction-discovery-7bgbbv4d.js → formatter-8kwptkep.js} +18 -18
- package/dist/chunks/{instruction-discovery-8m6m0r52.js → formatter-8m6m0r52.js} +1 -1
- package/dist/chunks/{instruction-discovery-qbkt1j42.js → formatter-8mrxmbmj.js} +16 -16
- package/dist/chunks/{instruction-discovery-bzh65nen.js → formatter-8pvjw1yk.js} +9 -9
- package/dist/chunks/{instruction-discovery-mytfezrn.js → formatter-90j3xnb1.js} +16 -16
- package/dist/chunks/{instruction-discovery-91qna3x0.js → formatter-91qna3x0.js} +3 -3
- package/dist/chunks/{instruction-discovery-waskdk5r.js → formatter-97aeaand.js} +4 -4
- package/dist/chunks/{instruction-discovery-6rkk3bmg.js → formatter-9a161wge.js} +79 -79
- package/dist/chunks/{instruction-discovery-00v13zp4.js → formatter-9dekqje7.js} +26 -26
- package/dist/chunks/{instruction-discovery-0jq9fyba.js → formatter-9jzp6rtr.js} +9 -9
- package/dist/chunks/{instruction-discovery-6p2pmyag.js → formatter-9n3fm182.js} +76 -76
- package/dist/chunks/{instruction-discovery-njjwfdf0.js → formatter-9npt1895.js} +10 -10
- package/dist/chunks/{instruction-discovery-aw71ddvx.js → formatter-aa0aqb92.js} +10 -10
- package/dist/chunks/{instruction-discovery-h0vrang6.js → formatter-acwtfcp6.js} +9 -9
- package/dist/chunks/{instruction-discovery-bpm1eh2k.js → formatter-advpk7k7.js} +20 -20
- package/dist/chunks/{instruction-discovery-ax9d17m8.js → formatter-ae2ebvqc.js} +15 -15
- package/dist/chunks/{instruction-discovery-1ss6y7et.js → formatter-ah1t0cbz.js} +9 -9
- package/dist/chunks/{instruction-discovery-ehrv9c33.js → formatter-aptsrnfj.js} +20 -20
- package/dist/chunks/{instruction-discovery-cdrvmw9m.js → formatter-ax2n58t8.js} +3 -3
- package/dist/chunks/{instruction-discovery-etpda0sw.js → formatter-b34d37jx.js} +11 -11
- package/dist/chunks/{instruction-discovery-z6c3x22d.js → formatter-b674v2dg.js} +5 -5
- package/dist/chunks/{instruction-discovery-3tmkt29g.js → formatter-bfj99pj9.js} +22 -22
- package/dist/chunks/{instruction-discovery-9m0vp2wg.js → formatter-bj587msa.js} +27 -27
- package/dist/chunks/{instruction-discovery-xbebwte6.js → formatter-bjsqrap1.js} +134 -134
- package/dist/chunks/{instruction-discovery-t2fpy6a4.js → formatter-bpeqk324.js} +21 -21
- package/dist/chunks/{instruction-discovery-h9pnpq88.js → formatter-btbmdjwj.js} +4 -4
- package/dist/chunks/{instruction-discovery-weg71117.js → formatter-c1fmzc09.js} +4 -4
- package/dist/chunks/{instruction-discovery-5en5x0kf.js → formatter-c2rqg8ey.js} +15 -15
- package/dist/chunks/{instruction-discovery-rj3eygr5.js → formatter-c41wscbt.js} +2 -2
- package/dist/chunks/{instruction-discovery-79qaa2kf.js → formatter-c765mh8b.js} +9 -9
- package/dist/chunks/{instruction-discovery-0eyn26b9.js → formatter-c7vpsa26.js} +13 -13
- package/dist/chunks/{instruction-discovery-sa8ekw3f.js → formatter-c8ax2afj.js} +2 -2
- package/dist/chunks/{instruction-discovery-mjk9grpt.js → formatter-c8cf3kt2.js} +11 -11
- package/dist/chunks/{instruction-discovery-0cs4zv4k.js → formatter-c8hpe9t1.js} +34 -34
- package/dist/chunks/{instruction-discovery-3z1qk93f.js → formatter-ccrb4wds.js} +4 -4
- package/dist/chunks/{instruction-discovery-g0445xdp.js → formatter-cmwkp3r5.js} +4 -4
- package/dist/chunks/{instruction-discovery-s0gd8x5j.js → formatter-cvavr63d.js} +24 -24
- package/dist/chunks/{instruction-discovery-z45psjsg.js → formatter-cyejtnng.js} +46 -46
- package/dist/chunks/{instruction-discovery-4pcdpmjs.js → formatter-d0da1tm4.js} +2 -2
- package/dist/chunks/{instruction-discovery-v5dkyp31.js → formatter-d216944b.js} +7 -7
- package/dist/chunks/{instruction-discovery-z8f4xtsn.js → formatter-d2x3fvxy.js} +32 -32
- package/dist/chunks/{instruction-discovery-gn0vxyvw.js → formatter-d4j44yz6.js} +7 -7
- package/dist/chunks/{instruction-discovery-vyq7c4ep.js → formatter-d55kms0x.js} +24 -24
- package/dist/chunks/formatter-d6n2v97e.js +26 -0
- package/dist/chunks/{instruction-discovery-29ry0jec.js → formatter-db8hvn5r.js} +3 -3
- package/dist/chunks/{instruction-discovery-zyc3n123.js → formatter-dmd4mak0.js} +12 -12
- package/dist/chunks/{instruction-discovery-40x1fydz.js → formatter-dn7ywjh2.js} +11 -11
- package/dist/chunks/{instruction-discovery-f1e3sab5.js → formatter-dwg0wzat.js} +10 -10
- package/dist/chunks/{instruction-discovery-f14emht6.js → formatter-e3m5w1sy.js} +20 -20
- package/dist/chunks/{instruction-discovery-eej6y6fw.js → formatter-eej6y6fw.js} +2 -2
- package/dist/chunks/{instruction-discovery-ef5x83kb.js → formatter-ef5x83kb.js} +1 -1
- package/dist/chunks/{instruction-discovery-r01m64ez.js → formatter-enarwepj.js} +8 -8
- package/dist/chunks/{instruction-discovery-gatvvfrq.js → formatter-ep1yn424.js} +3 -3
- package/dist/chunks/{instruction-discovery-2k71kv7p.js → formatter-ermxvwhp.js} +4 -4
- package/dist/chunks/{instruction-discovery-c1fqxshp.js → formatter-es1vcfrp.js} +3 -3
- package/dist/chunks/{instruction-discovery-qdanfvrz.js → formatter-exsq973e.js} +17 -17
- package/dist/chunks/{instruction-discovery-px7pepp5.js → formatter-ez1f3vwt.js} +11 -11
- package/dist/chunks/{instruction-discovery-7dqw4kz8.js → formatter-fcrkznn8.js} +5 -5
- package/dist/chunks/{instruction-discovery-c4317cpf.js → formatter-fdmyxeta.js} +1 -1
- package/dist/chunks/{instruction-discovery-dbz40acx.js → formatter-fgbx85dz.js} +20 -20
- package/dist/chunks/{instruction-discovery-wscexn1p.js → formatter-fk8kczgx.js} +29 -29
- package/dist/chunks/{instruction-discovery-pbj47z9e.js → formatter-fr7ck4vq.js} +13 -13
- package/dist/chunks/{instruction-discovery-be9647t4.js → formatter-gc2evk3x.js} +1 -1
- package/dist/chunks/{instruction-discovery-gd4qta3r.js → formatter-gd4qta3r.js} +1 -1
- package/dist/chunks/{instruction-discovery-44gc5k7t.js → formatter-gdmg7y7w.js} +22 -22
- package/dist/chunks/{instruction-discovery-j7znaxe9.js → formatter-gf1n7vvt.js} +4 -4
- package/dist/chunks/{instruction-discovery-gfzqzyz0.js → formatter-gfzqzyz0.js} +3 -3
- package/dist/chunks/{instruction-discovery-3ppptnan.js → formatter-gjmk74th.js} +6 -6
- package/dist/chunks/{instruction-discovery-gk8qb678.js → formatter-gk8qb678.js} +1 -1
- package/dist/chunks/{instruction-discovery-8mk801n2.js → formatter-gm3mawps.js} +4 -4
- package/dist/chunks/{instruction-discovery-0vvktwqa.js → formatter-gzeebjq4.js} +7 -7
- package/dist/chunks/{instruction-discovery-bgc7kbh3.js → formatter-h1fz3f88.js} +6 -6
- package/dist/chunks/{instruction-discovery-qafgrsyw.js → formatter-h3wbh357.js} +1 -1
- package/dist/chunks/{instruction-discovery-349j9p8a.js → formatter-h5941s2r.js} +40 -40
- package/dist/chunks/{instruction-discovery-h6vf3j39.js → formatter-h6vf3j39.js} +1 -1
- package/dist/chunks/{instruction-discovery-h7s7r6s9.js → formatter-h7s7r6s9.js} +2 -2
- package/dist/chunks/{instruction-discovery-1pasrz8p.js → formatter-hd823ygp.js} +11 -11
- package/dist/chunks/{instruction-discovery-7ffadgyk.js → formatter-hd88bjr2.js} +20 -20
- package/dist/chunks/{instruction-discovery-hgz4x7wa.js → formatter-hgz4x7wa.js} +1 -1
- package/dist/chunks/{instruction-discovery-rn9rfv4g.js → formatter-hk61fc81.js} +20 -20
- package/dist/chunks/formatter-hvnp0mny.js +513 -0
- package/dist/chunks/{instruction-discovery-vjawha9d.js → formatter-hy1va3t8.js} +11 -11
- package/dist/chunks/{instruction-discovery-j56e64zr.js → formatter-j56e64zr.js} +1 -1
- package/dist/chunks/{instruction-discovery-yec7xxa8.js → formatter-j65a6egm.js} +11 -11
- package/dist/chunks/{instruction-discovery-wj1r1ebq.js → formatter-j9vw60gp.js} +3 -3
- package/dist/chunks/{instruction-discovery-pf4f628p.js → formatter-jcp3whqs.js} +4 -4
- package/dist/chunks/{instruction-discovery-dqn19q2m.js → formatter-jpar7rgf.js} +19 -19
- package/dist/chunks/{instruction-discovery-gc5gqqes.js → formatter-jppqdx2t.js} +9 -9
- package/dist/chunks/{instruction-discovery-e9f6ytk7.js → formatter-jt9p6a1k.js} +3 -3
- package/dist/chunks/{instruction-discovery-s4801m28.js → formatter-jvhh335a.js} +27 -27
- package/dist/chunks/{instruction-discovery-jws6fkes.js → formatter-jws6fkes.js} +2 -2
- package/dist/chunks/{instruction-discovery-y9sjh7nr.js → formatter-k573dvp0.js} +31 -31
- package/dist/chunks/{instruction-discovery-8h6eptrw.js → formatter-kb20khyt.js} +30 -30
- package/dist/chunks/{instruction-discovery-khmqacep.js → formatter-khmqacep.js} +1 -1
- package/dist/chunks/formatter-kqgdmvde.js +253 -0
- package/dist/chunks/{instruction-discovery-at0j0jj5.js → formatter-kt03xgs8.js} +38 -38
- package/dist/chunks/{instruction-discovery-skh2fhmy.js → formatter-kx7rxa1b.js} +14 -14
- package/dist/chunks/{instruction-discovery-gbztcfes.js → formatter-m00031xg.js} +41 -41
- package/dist/chunks/{instruction-discovery-zq8zhbxc.js → formatter-m5rzs9kv.js} +38 -38
- package/dist/chunks/{instruction-discovery-m9w0rfyh.js → formatter-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instruction-discovery-azwhd2tc.js → formatter-mjgetwmq.js} +24 -24
- package/dist/chunks/{instruction-discovery-5zsyzc28.js → formatter-mnrb0wvm.js} +24 -24
- package/dist/chunks/{instruction-discovery-kq88brb5.js → formatter-mw6z6saw.js} +16 -16
- package/dist/chunks/{instruction-discovery-6j2hn9e4.js → formatter-n3zkspvb.js} +8 -8
- package/dist/chunks/{instruction-discovery-dys7k0s0.js → formatter-n61013np.js} +8 -8
- package/dist/chunks/{instruction-discovery-013q7qyk.js → formatter-n6x4mcww.js} +17 -17
- package/dist/chunks/{instruction-discovery-354f5h3z.js → formatter-n97r6b1p.js} +14 -14
- package/dist/chunks/{instruction-discovery-0pzz74xs.js → formatter-n9a6feh5.js} +30 -30
- package/dist/chunks/{instruction-discovery-fmyc3a1p.js → formatter-ngdfe2fc.js} +5 -5
- package/dist/chunks/{instruction-discovery-rjxw408s.js → formatter-nnh9ekd1.js} +10 -10
- package/dist/chunks/{instruction-discovery-hcd6s0vj.js → formatter-p4qrnvy6.js} +20 -20
- package/dist/chunks/{instruction-discovery-pd63a6br.js → formatter-p66tndhm.js} +20 -20
- package/dist/chunks/{instruction-discovery-qcv6amq6.js → formatter-p69x1384.js} +24 -24
- package/dist/chunks/{instruction-discovery-rajdm094.js → formatter-p95p47f2.js} +31 -31
- package/dist/chunks/{instruction-discovery-mbsb5skb.js → formatter-pfw33rzy.js} +24 -24
- package/dist/chunks/{instruction-discovery-npyjj4rp.js → formatter-pfzs8f4y.js} +11 -11
- package/dist/chunks/{instruction-discovery-pjvnvgmy.js → formatter-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instruction-discovery-pknna89w.js → formatter-pknna89w.js} +1 -1
- package/dist/chunks/{instruction-discovery-g21pftbj.js → formatter-pwct3qgt.js} +2 -2
- package/dist/chunks/{instruction-discovery-hycye272.js → formatter-pxwtvwnd.js} +1 -1
- package/dist/chunks/{instruction-discovery-q0xm7vwc.js → formatter-q0xm7vwc.js} +2 -2
- package/dist/chunks/{instruction-discovery-cs8e4cmc.js → formatter-q253zft2.js} +25 -25
- package/dist/chunks/{instruction-discovery-5bpa657r.js → formatter-qb5fy139.js} +11 -11
- package/dist/chunks/{instruction-discovery-tjgs01qf.js → formatter-qhcjrbh9.js} +11 -11
- package/dist/chunks/{instruction-discovery-qnc92qwc.js → formatter-qnc92qwc.js} +1 -1
- package/dist/chunks/{instruction-discovery-qqeeq2t9.js → formatter-qqeeq2t9.js} +1 -1
- package/dist/chunks/{instruction-discovery-qsdy395h.js → formatter-qsdy395h.js} +1 -1
- package/dist/chunks/{instruction-discovery-qh4qnmhp.js → formatter-r1cvadwr.js} +13 -13
- package/dist/chunks/{instruction-discovery-krzm7rgx.js → formatter-r24bhee7.js} +18 -18
- package/dist/chunks/{instruction-discovery-nann43hw.js → formatter-r5h8n489.js} +10 -10
- package/dist/chunks/{instruction-discovery-0gbd5s62.js → formatter-razkkmbj.js} +14 -14
- package/dist/chunks/{instruction-discovery-rdw6cm16.js → formatter-rdw6cm16.js} +1 -1
- package/dist/chunks/{instruction-discovery-ya0wjwqz.js → formatter-refxa0t0.js} +2 -2
- package/dist/chunks/{instruction-discovery-07x6hd07.js → formatter-rk5tjb03.js} +14 -14
- package/dist/chunks/{instruction-discovery-ca87hkff.js → formatter-rtxeq7sf.js} +18 -18
- package/dist/chunks/{instruction-discovery-javgrsyd.js → formatter-rvzmyzm1.js} +17 -17
- package/dist/chunks/{instruction-discovery-ht8z247h.js → formatter-ryccahdk.js} +13 -13
- package/dist/chunks/{instruction-discovery-86pav6my.js → formatter-s41hc7hx.js} +18 -18
- package/dist/chunks/{instruction-discovery-j3r6gmvc.js → formatter-s57gzy7f.js} +4 -4
- package/dist/chunks/{instruction-discovery-2cmv458r.js → formatter-sfkj0ta1.js} +5 -5
- package/dist/chunks/{instruction-discovery-nma959mg.js → formatter-sxcaecc0.js} +3 -3
- package/dist/chunks/{instruction-discovery-syv4x271.js → formatter-syv4x271.js} +1 -1
- package/dist/chunks/{instruction-discovery-6285nte3.js → formatter-t0p0w3g9.js} +20 -20
- package/dist/chunks/{instruction-discovery-q8xpgn7z.js → formatter-t4ngctge.js} +20 -20
- package/dist/chunks/{instruction-discovery-h21ghyap.js → formatter-t4pgss7x.js} +32 -32
- package/dist/chunks/{instruction-discovery-5p9mjmqe.js → formatter-ta4r65qv.js} +8 -8
- package/dist/chunks/{instruction-discovery-y54hr7f3.js → formatter-tat11k01.js} +9 -9
- package/dist/chunks/{instruction-discovery-tazgh4e4.js → formatter-tazgh4e4.js} +1 -1
- package/dist/chunks/{instruction-discovery-7zgemx1q.js → formatter-tbk04f64.js} +26 -26
- package/dist/chunks/{instruction-discovery-aa5pp8gg.js → formatter-tbycc2hz.js} +13 -13
- package/dist/chunks/{instruction-discovery-wkx576x1.js → formatter-tc000skt.js} +16 -16
- package/dist/chunks/{instruction-discovery-tcezcvh9.js → formatter-tcezcvh9.js} +1 -1
- package/dist/chunks/{instruction-discovery-tdstcens.js → formatter-tdstcens.js} +1 -1
- package/dist/chunks/{instruction-discovery-k0dbnswt.js → formatter-tk2nybwj.js} +21 -21
- package/dist/chunks/{instruction-discovery-rert0e01.js → formatter-tkb22qbm.js} +2 -2
- package/dist/chunks/{instruction-discovery-7sxtqf2f.js → formatter-tmbn7gcx.js} +2 -2
- package/dist/chunks/{instruction-discovery-re585wd9.js → formatter-tmvn36x1.js} +8 -8
- package/dist/chunks/{instruction-discovery-rvs6eq9b.js → formatter-trr7bxs1.js} +11 -11
- package/dist/chunks/{instruction-discovery-tyytaxap.js → formatter-tyytaxap.js} +1 -1
- package/dist/chunks/{instruction-discovery-5cfzjc8s.js → formatter-tzsvtse1.js} +15 -15
- package/dist/chunks/{instruction-discovery-v0es1rhs.js → formatter-v0es1rhs.js} +2 -2
- package/dist/chunks/{instruction-discovery-v7p4zvkq.js → formatter-v7p4zvkq.js} +2 -2
- package/dist/chunks/{instruction-discovery-z66qdbeq.js → formatter-vc3r2ec9.js} +12 -12
- package/dist/chunks/{instruction-discovery-veqvce7d.js → formatter-veqvce7d.js} +1 -1
- package/dist/chunks/{instruction-discovery-fqhbsnr5.js → formatter-vgx6weyf.js} +8 -8
- package/dist/chunks/{instruction-discovery-c57mtz3s.js → formatter-vn11bvqc.js} +8 -8
- package/dist/chunks/{instruction-discovery-dpemy54c.js → formatter-vtk244ca.js} +10 -10
- package/dist/chunks/{instruction-discovery-vzs5sf6e.js → formatter-vzs5sf6e.js} +1 -1
- package/dist/chunks/{instruction-discovery-w3wsvvr9.js → formatter-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instruction-discovery-q5heszs0.js → formatter-wcqpwpqs.js} +17 -17
- package/dist/chunks/{instruction-discovery-re32j193.js → formatter-wct31cks.js} +48 -48
- package/dist/chunks/{instruction-discovery-wd87259q.js → formatter-wd87259q.js} +1 -1
- package/dist/chunks/{instruction-discovery-vzzm1fs5.js → formatter-wee432v1.js} +15 -15
- package/dist/chunks/{instruction-discovery-bjx1sjef.js → formatter-wjr9rjd7.js} +6 -6
- package/dist/chunks/{instruction-discovery-xb5zqdrm.js → formatter-wnkeg6nb.js} +8 -8
- package/dist/chunks/{instruction-discovery-affjwcb5.js → formatter-wpswfpkw.js} +11 -11
- package/dist/chunks/{instruction-discovery-nfakef9v.js → formatter-wrhpknam.js} +13 -13
- package/dist/chunks/{instruction-discovery-hkefcp24.js → formatter-wsacapk7.js} +3 -3
- package/dist/chunks/{instruction-discovery-kqx1b4hy.js → formatter-wte75qjz.js} +4 -4
- package/dist/chunks/{instruction-discovery-nsqqdt6j.js → formatter-x1xxp7pr.js} +67 -67
- package/dist/chunks/{instruction-discovery-8ef3w3za.js → formatter-x42b0rq9.js} +30 -30
- package/dist/chunks/{instruction-discovery-ctzqq1qd.js → formatter-x6zpjsfk.js} +37 -37
- package/dist/chunks/{instruction-discovery-72c3g3zh.js → formatter-xn8fmk94.js} +18 -18
- package/dist/chunks/{instruction-discovery-he27pt63.js → formatter-xt4njr3s.js} +1 -1
- package/dist/chunks/{instruction-discovery-zpmxq5w8.js → formatter-xweqhgzj.js} +9 -9
- package/dist/chunks/{instruction-discovery-dnk2bync.js → formatter-xyg64hc1.js} +23 -23
- package/dist/chunks/{instruction-discovery-2jj4c4zt.js → formatter-xz2e5smm.js} +9 -9
- package/dist/chunks/{instruction-discovery-y1fvbwt7.js → formatter-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instruction-discovery-5y8sveg1.js → formatter-y1zhptrh.js} +13 -13
- package/dist/chunks/{instruction-discovery-5fg11txv.js → formatter-y3gx830p.js} +11 -11
- package/dist/chunks/{instruction-discovery-03v1g770.js → formatter-y6y97je4.js} +13 -13
- package/dist/chunks/{instruction-discovery-y71avatq.js → formatter-y71avatq.js} +1 -1
- package/dist/chunks/{instruction-discovery-vgbe0hx2.js → formatter-y7hva13m.js} +6 -6
- package/dist/chunks/{instruction-discovery-s70zranf.js → formatter-y9g90tep.js} +13 -13
- package/dist/chunks/{instruction-discovery-2a9d0cmc.js → formatter-yg5tfmeg.js} +20 -20
- package/dist/chunks/{instruction-discovery-r46dytrv.js → formatter-yt20gxxn.js} +46 -46
- package/dist/chunks/{instruction-discovery-z0bkrqjs.js → formatter-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instruction-discovery-djkfg51f.js → formatter-z0ha1qbj.js} +7 -7
- package/dist/chunks/{instruction-discovery-gst7axd9.js → formatter-zav06jzw.js} +4 -4
- package/dist/chunks/{instruction-discovery-z2qvtray.js → formatter-zfcwc1y1.js} +8 -8
- package/dist/chunks/{instruction-discovery-9137mpr7.js → formatter-zmrfgz7x.js} +4 -4
- package/dist/chunks/{instruction-discovery-zr2ceqn5.js → formatter-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instruction-discovery-c2mkhj0z.js → formatter-zv6nfkan.js} +8 -8
- package/dist/chunks/{instruction-discovery-x661k3y3.js → formatter-zw2hpfmh.js} +4 -4
- package/dist/chunks/{instruction-discovery-zxq2ej10.js → formatter-zxq2ej10.js} +1 -1
- package/dist/chunks/{instruction-discovery-b3f8fkhc.js → formatter-zyk1yjk8.js} +5 -5
- package/dist/chunks/{instruction-discovery-wst2njc5.js → formatter-zzm694dn.js} +9 -9
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- 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 +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +216 -216
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +104 -104
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +6 -6
- 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 +101 -101
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +87 -87
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +130 -130
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +356 -356
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +96 -96
- package/dist/models-dev.js +99 -99
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +96 -96
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +92 -92
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- 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 +4 -4
- 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 +218 -218
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +216 -216
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +156 -156
- 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 +95 -95
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- 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 +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +9 -9
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +130 -130
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- 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/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- 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 +87 -87
- package/dist/worktree.js +90 -90
- package/package.json +8 -8
- package/dist/chunks/instruction-discovery-14fj7mdh.js +0 -26
- package/dist/chunks/instruction-discovery-bsemgcs3.js +0 -253
- package/dist/chunks/instruction-discovery-e37mevwb.js +0 -513
- package/dist/chunks/instruction-discovery-phz3h32g.js +0 -18
- /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → formatter-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-0zkw76rk.js → formatter-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-17cy0kzp.js → formatter-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1cnp2v09.js → formatter-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1kg9ymc8.js → formatter-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-24dcb14g.js → formatter-24dcb14g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2710q6r3.js → formatter-2710q6r3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2axfhc9x.js → formatter-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2bv980vf.js → formatter-2bv980vf.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → formatter-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-359p4xyc.js → formatter-359p4xyc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3asan66x.js → formatter-3asan66x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3t0ybcrp.js → formatter-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3v8g72cx.js → formatter-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3wcehsnq.js → formatter-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instruction-discovery-43n2bw4t.js → formatter-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4knz6hnm.js → formatter-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4vcrnpx2.js → formatter-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4y7fprxs.js → formatter-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instruction-discovery-53557ph1.js → formatter-53557ph1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-550bvhaj.js → formatter-550bvhaj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-5qd3pb7m.js → formatter-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6prwharc.js → formatter-6prwharc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6q2bdcd1.js → formatter-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7akdwqpd.js → formatter-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7m9af43g.js → formatter-7m9af43g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-822emrt2.js → formatter-822emrt2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-84wd9syh.js → formatter-84wd9syh.js} +0 -0
- /package/dist/chunks/{instruction-discovery-88xbtdfr.js → formatter-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8n3pysct.js → formatter-8n3pysct.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8wj87zfr.js → formatter-8wj87zfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9a4afbnw.js → formatter-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → formatter-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-a6k6eb26.js → formatter-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instruction-discovery-af5trqkr.js → formatter-af5trqkr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-afrmfg78.js → formatter-afrmfg78.js} +0 -0
- /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → formatter-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instruction-discovery-atq7p7m5.js → formatter-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → formatter-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → formatter-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bw78ga2c.js → formatter-bw78ga2c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cf4snx6d.js → formatter-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → formatter-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9fn303g.js → formatter-d9fn303g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → formatter-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dajrwvna.js → formatter-dajrwvna.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dap0rakb.js → formatter-dap0rakb.js} +0 -0
- /package/dist/chunks/{instruction-discovery-df08tz66.js → formatter-df08tz66.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dy18nga0.js → formatter-dy18nga0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e5kj55wp.js → formatter-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e73j6tqm.js → formatter-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ec1grn59.js → formatter-ec1grn59.js} +0 -0
- /package/dist/chunks/{instruction-discovery-eh3zwz77.js → formatter-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instruction-discovery-emrn6kk6.js → formatter-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f0mxakyp.js → formatter-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → formatter-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-faypxj3z.js → formatter-faypxj3z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fd410y7t.js → formatter-fd410y7t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g4wezp1m.js → formatter-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g86h250q.js → formatter-g86h250q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gebd4c9n.js → formatter-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gftt206x.js → formatter-gftt206x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hk9envan.js → formatter-hk9envan.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j2ntwpah.js → formatter-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → formatter-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jjkms2e6.js → formatter-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → formatter-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → formatter-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jze0r7bz.js → formatter-jze0r7bz.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → formatter-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-m18g726c.js → formatter-m18g726c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-mp448xyj.js → formatter-mp448xyj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-msx8hqn2.js → formatter-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n05xt0ee.js → formatter-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n3j8tn72.js → formatter-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instruction-discovery-njntx4h6.js → formatter-njntx4h6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-pkyv6v7h.js → formatter-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-pyv0edze.js → formatter-pyv0edze.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q3sfg36h.js → formatter-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q74kybfr.js → formatter-q74kybfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qaymkmh1.js → formatter-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qb87gjwd.js → formatter-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qfa1cgps.js → formatter-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qg3g05ea.js → formatter-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qrg20bc0.js → formatter-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → formatter-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → formatter-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ssg3fenm.js → formatter-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ve7vex1e.js → formatter-ve7vex1e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-w803qqfp.js → formatter-w803qqfp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → formatter-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wer8tq1h.js → formatter-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wtztk69x.js → formatter-wtztk69x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x0ckcb58.js → formatter-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x61499pn.js → formatter-x61499pn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y44na4kk.js → formatter-y44na4kk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8f7s663.js → formatter-y8f7s663.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → formatter-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ym463w8f.js → formatter-ym463w8f.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z5v4ffb3.js → formatter-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z9919s4g.js → formatter-z9919s4g.js} +0 -0
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-jcp3whqs.js";
|
|
5
5
|
import {
|
|
6
6
|
Service81,
|
|
7
7
|
node85
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./formatter-refxa0t0.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
ID15,
|
|
11
11
|
Service74,
|
|
12
12
|
node78
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./formatter-tzsvtse1.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
17
|
-
import {
|
|
18
|
-
Service71,
|
|
19
|
-
node75
|
|
20
|
-
} from "./instruction-discovery-fa9zq5gx.js";
|
|
21
|
-
import {
|
|
22
|
-
match2
|
|
23
|
-
} from "./instruction-discovery-y1fvbwt7.js";
|
|
15
|
+
NotFoundError10
|
|
16
|
+
} from "./formatter-h1fz3f88.js";
|
|
24
17
|
import {
|
|
25
18
|
Service72,
|
|
26
19
|
node76
|
|
27
|
-
} from "./
|
|
20
|
+
} from "./formatter-3jvh5386.js";
|
|
21
|
+
import {
|
|
22
|
+
match2
|
|
23
|
+
} from "./formatter-y1fvbwt7.js";
|
|
28
24
|
import {
|
|
29
25
|
Service73,
|
|
30
26
|
node77
|
|
31
|
-
} from "./
|
|
27
|
+
} from "./formatter-3kmz1s9n.js";
|
|
28
|
+
import {
|
|
29
|
+
Service77,
|
|
30
|
+
node81
|
|
31
|
+
} from "./formatter-2eegacq4.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./formatter-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
37
|
var exports_permission2 = {};
|
|
@@ -42,29 +42,29 @@ __export(exports_permission2, {
|
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
45
|
+
Event: () => Event18,
|
|
46
|
+
ID: () => ID13,
|
|
47
|
+
NotFoundError: () => NotFoundError9,
|
|
48
48
|
Permission: () => exports_permission2,
|
|
49
|
-
Reply: () =>
|
|
49
|
+
Reply: () => Reply3,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
51
|
Request: () => Request3,
|
|
52
52
|
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service71,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node75
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
63
|
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
-
import { Event as
|
|
64
|
+
import { Event as Event18 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID13 = Permission.ID;
|
|
68
68
|
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -75,19 +75,19 @@ var RequestFields = {
|
|
|
75
75
|
source: Permission.Request.fields.source
|
|
76
76
|
};
|
|
77
77
|
var Request3 = Permission.Request;
|
|
78
|
-
var
|
|
78
|
+
var Reply3 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID13.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID15.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
86
|
-
reply:
|
|
85
|
+
requestID: ID13,
|
|
86
|
+
reply: Reply3,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID13,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError9 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID13
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service71 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
130
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
131
131
|
const bus = yield* Service84;
|
|
132
132
|
const location = yield* Service81;
|
|
133
133
|
const agents = yield* Service74;
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
134
|
+
const sessions = yield* Service72;
|
|
135
|
+
const saved = yield* Service73;
|
|
136
|
+
const hooks = yield* Service77;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
let closed = false;
|
|
139
139
|
const close = Effect.gen(function* () {
|
|
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
156
156
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
157
157
|
const session = yield* sessions.get(sessionID);
|
|
158
158
|
if (!session)
|
|
159
|
-
return yield* new
|
|
159
|
+
return yield* new NotFoundError10({ sessionID });
|
|
160
160
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
161
161
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
162
162
|
});
|
|
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
function request(input, message) {
|
|
188
188
|
return {
|
|
189
|
-
id: input.id ??
|
|
189
|
+
id: input.id ?? ID13.create(),
|
|
190
190
|
sessionID: input.sessionID,
|
|
191
191
|
action: input.action,
|
|
192
192
|
resources: input.resources,
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
211
211
|
}));
|
|
212
212
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
213
213
|
if (closed)
|
|
214
|
-
return { id: input.id ??
|
|
214
|
+
return { id: input.id ?? ID13.create(), effect: "deny" };
|
|
215
215
|
const result = yield* evaluateInput(input);
|
|
216
216
|
const value = request(input, result.message);
|
|
217
217
|
if (result.effect === "ask")
|
|
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
242
242
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
243
243
|
const existing = pending.get(input.requestID);
|
|
244
244
|
if (!existing)
|
|
245
|
-
return yield* new
|
|
245
|
+
return yield* new NotFoundError9({ requestID: input.requestID });
|
|
246
246
|
yield* bus.publish(Permission.Event.Replied, {
|
|
247
247
|
sessionID: existing.request.sessionID,
|
|
248
248
|
requestID: existing.request.id,
|
|
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
297
297
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
298
298
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service71.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
303
|
-
service:
|
|
302
|
+
var node75 = makeLocationNode({
|
|
303
|
+
service: Service71,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [node88, node85, node78,
|
|
305
|
+
deps: [node88, node85, node78, node76, node77, node81]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect,
|
|
308
|
+
export { PermissionEffect, ID13, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate2, merge2, Service71, node75, exports_permission2, Rule3, Ruleset2, Event18 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID9
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-hk61fc81.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-6q2bdcd1.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigCommandV1: () =>
|
|
9
|
-
Info: () =>
|
|
6
|
+
var exports_command4 = {};
|
|
7
|
+
__export(exports_command4, {
|
|
8
|
+
ConfigCommandV1: () => exports_command4,
|
|
9
|
+
Info: () => Info11
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info11 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info12 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info11, exports_command4 };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service60
|
|
3
|
+
} from "./formatter-tk2nybwj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service20,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./formatter-y9g90tep.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service22
|
|
11
|
+
} from "./formatter-j65a6egm.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service71
|
|
14
|
+
} from "./formatter-cyejtnng.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service23
|
|
17
|
+
} from "./formatter-110tzrbd.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./formatter-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./formatter-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input6,
|
|
29
|
+
Output: () => Output5,
|
|
30
|
+
Plugin: () => Plugin41,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name6,
|
|
33
|
+
toModelContent: () => toModelContent3
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name6 = "write";
|
|
39
|
+
var Input6 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output5 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin41 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service23;
|
|
56
|
+
const fileMutation = yield* Service20;
|
|
57
|
+
const environment = yield* Service60;
|
|
58
|
+
const formatter = yield* Service22;
|
|
59
|
+
const permission = yield* Service71;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name6,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input6,
|
|
69
|
+
output: Output5,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent3(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name6, Input6, Output5, toModelContent3, Plugin41, exports_write };
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
12
|
Service81
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./formatter-refxa0t0.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./formatter-razkkmbj.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./formatter-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin27,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,7 +30,7 @@ import { ChildProcess } from "effect/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin27 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
36
|
const location = yield* Service81;
|
|
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
|
|
|
198
198
|
return { status, diff, branch, ancestor, cat };
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
export {
|
|
201
|
+
export { Plugin27, exports_hg };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-jcp3whqs.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Command: () =>
|
|
16
|
-
Event: () =>
|
|
13
|
+
var exports_command5 = {};
|
|
14
|
+
__export(exports_command5, {
|
|
15
|
+
Command: () => exports_command5,
|
|
16
|
+
Event: () => Event17,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info21,
|
|
19
|
+
NotFoundError: () => NotFoundError8,
|
|
20
|
+
Service: () => Service70,
|
|
21
|
+
layer: () => layer27,
|
|
22
|
+
node: () => node74
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event17 } from "@opencode/schema/command";
|
|
28
|
+
var Info21 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError8 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service70 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
44
|
+
var layer27 = Layer.effect(Service70, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service84;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
@@ -51,11 +51,11 @@ var layer16 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info21.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service70.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,14 +66,14 @@ var layer16 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError8({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
74
|
+
var node74 = makeLocationNode({
|
|
75
|
+
service: Service70,
|
|
76
|
+
layer: layer27,
|
|
77
77
|
deps: [node88]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info21, NotFoundError8, ExecutionError2, Service70, layer27, node74, exports_command5, Event17 };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin24
|
|
3
|
+
} from "./formatter-tmvn36x1.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin22
|
|
6
|
+
} from "./formatter-1x7hg506.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin26
|
|
9
|
+
} from "./formatter-acwtfcp6.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin25
|
|
12
|
+
} from "./formatter-vn11bvqc.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin23
|
|
15
|
+
} from "./formatter-zzm694dn.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin24,
|
|
20
|
+
Plugin22,
|
|
21
|
+
Plugin26,
|
|
22
|
+
Plugin25,
|
|
23
|
+
Plugin23
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-wsacapk7.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-ax2n58t8.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-jcp3whqs.js";
|
|
4
4
|
import {
|
|
5
5
|
Service81
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-refxa0t0.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service40
|
|
10
|
+
} from "./formatter-wct31cks.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./formatter-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
CommandPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_command2 = {};
|
|
17
|
+
__export(exports_command2, {
|
|
18
|
+
CommandPlugin: () => exports_command2,
|
|
19
|
+
Plugin: () => Plugin36
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin36 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
199
|
const location = yield* Service81;
|
|
200
|
-
const mcp = yield*
|
|
200
|
+
const mcp = yield* Service40;
|
|
201
201
|
const bus = yield* Service84;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin36, exports_command2 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-hk61fc81.js";
|
|
5
5
|
import {
|
|
6
6
|
mergeCapabilities2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-7khzse4r.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service57
|
|
11
|
+
} from "./formatter-kt03xgs8.js";
|
|
12
12
|
import {
|
|
13
13
|
resolve2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./formatter-6r6hnsnp.js";
|
|
15
15
|
import {
|
|
16
16
|
observe2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./formatter-qsdy395h.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./formatter-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/config/plugin/provider.ts
|
|
23
23
|
var exports_provider = {};
|
|
24
24
|
__export(exports_provider, {
|
|
25
25
|
ConfigProviderPlugin: () => exports_provider,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin11
|
|
27
27
|
});
|
|
28
28
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
29
29
|
import { Money } from "@opencode/schema/money";
|
|
30
30
|
import { Effect } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Plugin11 = define({
|
|
32
32
|
id: "opencode.config.provider",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
34
|
+
const config = yield* Service57;
|
|
35
35
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
36
36
|
yield* ctx.integration.transform((integrations) => {
|
|
37
37
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -190,4 +190,4 @@ function configuredProviders(entries) {
|
|
|
190
190
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { Plugin11, exports_provider };
|