@opencode/core 0.0.0-dev-21681 → 0.0.0-dev-21695
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{ripgrep-kxt91f54.js → bus-02tqe3dc.js} +33 -33
- package/dist/chunks/{ripgrep-034tev2y.js → bus-034tev2y.js} +2 -2
- package/dist/chunks/{ripgrep-5xp2x48q.js → bus-05g8hkey.js} +50 -50
- package/dist/chunks/{ripgrep-8bm7axdr.js → bus-06q2jeyp.js} +11 -11
- package/dist/chunks/{ripgrep-kya6vn2v.js → bus-088xsv39.js} +8 -8
- package/dist/chunks/{ripgrep-w687dnns.js → bus-0h8y3ex8.js} +4 -4
- package/dist/chunks/{ripgrep-ycgbrrj2.js → bus-0kp1st58.js} +8 -8
- package/dist/chunks/{ripgrep-tasvem1v.js → bus-0ks2n9jf.js} +6 -6
- package/dist/chunks/{ripgrep-m7t05s3q.js → bus-0mcw7mfx.js} +7 -7
- package/dist/chunks/{ripgrep-g33nfd42.js → bus-0p11b9tv.js} +9 -9
- package/dist/chunks/{ripgrep-xyh4h3t6.js → bus-0rj3103z.js} +3 -3
- package/dist/chunks/{ripgrep-s0kw0bab.js → bus-0swax997.js} +21 -21
- package/dist/chunks/{ripgrep-mxf70ac4.js → bus-0syemgjh.js} +4 -4
- package/dist/chunks/{ripgrep-gk7y8xcq.js → bus-0zzd7vfm.js} +4 -4
- package/dist/chunks/{ripgrep-hzrfc1p4.js → bus-143qq2q9.js} +3 -3
- package/dist/chunks/{ripgrep-q5ksxkha.js → bus-158w7htw.js} +6 -6
- package/dist/chunks/{ripgrep-qaxt5sce.js → bus-1622r1ga.js} +4 -4
- package/dist/chunks/{ripgrep-1ep2p91f.js → bus-1ep2p91f.js} +2 -2
- package/dist/chunks/{ripgrep-he4vfjva.js → bus-1j2dtaqf.js} +23 -23
- package/dist/chunks/{ripgrep-vtz4zgjw.js → bus-1mfyhvm9.js} +9 -9
- package/dist/chunks/{ripgrep-73h6c5mr.js → bus-1r5cd4qg.js} +11 -11
- package/dist/chunks/{ripgrep-1x2knyw4.js → bus-1x2knyw4.js} +1 -1
- package/dist/chunks/{ripgrep-rvv5zxkv.js → bus-1xwbrvt7.js} +14 -14
- package/dist/chunks/{ripgrep-7za0dwv2.js → bus-1ya82mrw.js} +7 -7
- package/dist/chunks/{ripgrep-r4zhn8a3.js → bus-231a8wys.js} +8 -8
- package/dist/chunks/{ripgrep-rwvswa9y.js → bus-2b6ncc8q.js} +6 -6
- package/dist/chunks/{ripgrep-2j72hntm.js → bus-2dxw0vtj.js} +20 -20
- package/dist/chunks/{ripgrep-3g7mg7sy.js → bus-2etvdtc8.js} +15 -15
- package/dist/chunks/{ripgrep-aqb8zn2t.js → bus-2ex6mje1.js} +35 -35
- package/dist/chunks/{ripgrep-qqtfakpy.js → bus-2gqhjjsx.js} +13 -13
- package/dist/chunks/{ripgrep-94drbbkf.js → bus-2h28cep3.js} +31 -31
- package/dist/chunks/{ripgrep-kp2rkay2.js → bus-2m54h93x.js} +18 -18
- package/dist/chunks/{ripgrep-jkacm1w4.js → bus-2rx1emds.js} +3 -3
- package/dist/chunks/{ripgrep-cxsv7r2q.js → bus-2ryhy1r3.js} +16 -16
- package/dist/chunks/{ripgrep-2z1j29yd.js → bus-2z1j29yd.js} +1 -1
- package/dist/chunks/{ripgrep-883mde3e.js → bus-392n4kdw.js} +40 -40
- package/dist/chunks/{ripgrep-jae53m2x.js → bus-3dcm03ph.js} +8 -8
- package/dist/chunks/{ripgrep-r1h56z6d.js → bus-3f5zfv5g.js} +17 -17
- package/dist/chunks/{ripgrep-tdd1rwdg.js → bus-3h5qsd4j.js} +5 -5
- package/dist/chunks/{ripgrep-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
- package/dist/chunks/{ripgrep-3nnrz6f6.js → bus-3nnrz6f6.js} +1 -1
- package/dist/chunks/{ripgrep-z6mg6m9w.js → bus-3s4b3ezj.js} +4 -4
- package/dist/chunks/{ripgrep-r96bqt38.js → bus-421ekqkw.js} +7 -7
- package/dist/chunks/{ripgrep-s62g5239.js → bus-44s0n40r.js} +44 -44
- package/dist/chunks/{ripgrep-jfy2z3aw.js → bus-47rq8bk5.js} +21 -21
- package/dist/chunks/{ripgrep-drxfbsjt.js → bus-48yd86fd.js} +19 -19
- package/dist/chunks/{ripgrep-1kzr7jgm.js → bus-4eca1hyp.js} +17 -17
- package/dist/chunks/{ripgrep-2k3taesa.js → bus-4jars7ak.js} +11 -11
- package/dist/chunks/{ripgrep-4v008n1t.js → bus-4v008n1t.js} +1 -1
- package/dist/chunks/{ripgrep-4xvmh7wp.js → bus-4xvmh7wp.js} +3 -3
- package/dist/chunks/{ripgrep-j7xyg8fd.js → bus-51e0cpsh.js} +30 -30
- package/dist/chunks/{ripgrep-k47d96va.js → bus-558jb3j2.js} +5 -5
- package/dist/chunks/{ripgrep-yh0e7xz8.js → bus-5aqqzxvt.js} +36 -36
- package/dist/chunks/{ripgrep-ht9phm2k.js → bus-5dj834cv.js} +5 -5
- package/dist/chunks/{ripgrep-cckz6hvv.js → bus-5g3z7av9.js} +16 -16
- package/dist/chunks/{ripgrep-q6v380sb.js → bus-5gk89hyb.js} +12 -12
- package/dist/chunks/{ripgrep-w7svd9fv.js → bus-5jnymmb4.js} +27 -27
- package/dist/chunks/{ripgrep-5m9w47nd.js → bus-5m9w47nd.js} +1 -1
- package/dist/chunks/{ripgrep-ny49cbs5.js → bus-5r00rv09.js} +33 -33
- package/dist/chunks/{ripgrep-7kqnvg9k.js → bus-5s1pgksh.js} +20 -20
- package/dist/chunks/{ripgrep-sgywbgaj.js → bus-5tym1825.js} +31 -31
- package/dist/chunks/{ripgrep-k28jwpmn.js → bus-5x14y5p3.js} +1 -1
- package/dist/chunks/{ripgrep-p7vhpwh8.js → bus-5zrxpy3q.js} +5 -5
- package/dist/chunks/{ripgrep-sda31fcg.js → bus-60hpmyq7.js} +24 -24
- package/dist/chunks/{ripgrep-7nn3h2cy.js → bus-6b2dxyr2.js} +37 -37
- package/dist/chunks/{ripgrep-6esdw8yj.js → bus-6esdw8yj.js} +1 -1
- package/dist/chunks/{ripgrep-bkwbn9k7.js → bus-6gt5xc60.js} +23 -23
- package/dist/chunks/{ripgrep-6pjqjmy2.js → bus-6pjqjmy2.js} +1 -1
- package/dist/chunks/{ripgrep-qvw98tg0.js → bus-7193gb3b.js} +5 -5
- package/dist/chunks/{ripgrep-76cb1hcw.js → bus-76cb1hcw.js} +1 -1
- package/dist/chunks/{ripgrep-40xdmnq6.js → bus-7ambk3z6.js} +37 -37
- package/dist/chunks/{ripgrep-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
- package/dist/chunks/{ripgrep-j3eb93p8.js → bus-7t2432tj.js} +25 -25
- package/dist/chunks/{ripgrep-7w2ypzdf.js → bus-7w2ypzdf.js} +1 -1
- package/dist/chunks/{ripgrep-n6v2b7cw.js → bus-7xg2jm5b.js} +5 -5
- package/dist/chunks/{ripgrep-m1qkddhn.js → bus-7zrrpsam.js} +2 -2
- package/dist/chunks/{ripgrep-mnad9545.js → bus-82at59ng.js} +45 -45
- package/dist/chunks/{ripgrep-favmj1rd.js → bus-8df9xh9g.js} +11 -11
- package/dist/chunks/{ripgrep-294s6qh9.js → bus-8gthgyb8.js} +18 -18
- package/dist/chunks/{ripgrep-fx9xfnkv.js → bus-8ss74ppy.js} +9 -9
- package/dist/chunks/{ripgrep-2sj7hqj2.js → bus-8t64g0wg.js} +28 -28
- package/dist/chunks/{ripgrep-f80yq6ab.js → bus-8v7kcz56.js} +11 -11
- package/dist/chunks/{ripgrep-f4wjqfv3.js → bus-8wj4azc9.js} +11 -11
- package/dist/chunks/{ripgrep-8wtp7s3z.js → bus-8wtp7s3z.js} +1 -1
- package/dist/chunks/{ripgrep-91rj84md.js → bus-91rj84md.js} +1 -1
- package/dist/chunks/{ripgrep-0gka690g.js → bus-956c56jz.js} +2 -2
- package/dist/chunks/{ripgrep-atet4mee.js → bus-97h34c8v.js} +14 -14
- package/dist/chunks/{ripgrep-998yhzzq.js → bus-998yhzzq.js} +3 -3
- package/dist/chunks/{ripgrep-69qhactm.js → bus-99v64gx3.js} +3 -3
- package/dist/chunks/{ripgrep-r2nqe40b.js → bus-9dhj7pzk.js} +14 -14
- package/dist/chunks/{ripgrep-2c9g8tdm.js → bus-9dyryqmk.js} +19 -19
- package/dist/chunks/{ripgrep-mvt93af7.js → bus-9h3yt0ty.js} +26 -26
- package/dist/chunks/{ripgrep-zssrpzfh.js → bus-9k6vjqzw.js} +70 -70
- package/dist/chunks/{ripgrep-jchrqzf6.js → bus-9p9xqj3m.js} +8 -8
- package/dist/chunks/{ripgrep-c4fe50v7.js → bus-a0hasf4t.js} +4 -4
- package/dist/chunks/{ripgrep-9ejpa58f.js → bus-a4qy9fc3.js} +8 -8
- package/dist/chunks/{ripgrep-qj3jeqzz.js → bus-a9h5srre.js} +56 -56
- package/dist/chunks/{ripgrep-k5aja770.js → bus-abr51mnh.js} +8 -8
- package/dist/chunks/{ripgrep-d1v2vbzt.js → bus-ar2j3j0f.js} +4 -4
- package/dist/chunks/{ripgrep-3gzarg29.js → bus-ar37ae2g.js} +10 -10
- package/dist/chunks/{ripgrep-ayjs7tqn.js → bus-ayjs7tqn.js} +2 -2
- package/dist/chunks/{ripgrep-b0mv4wxm.js → bus-b0mv4wxm.js} +2 -2
- package/dist/chunks/{ripgrep-pw806jn0.js → bus-b0sjjnk6.js} +16 -16
- package/dist/chunks/{ripgrep-d2887f8n.js → bus-b1pn0vxn.js} +4 -4
- package/dist/chunks/{ripgrep-b6vsg801.js → bus-b6vsg801.js} +2 -2
- package/dist/chunks/{ripgrep-vb6v44n7.js → bus-b7g1t3mx.js} +18 -18
- package/dist/chunks/{ripgrep-pef6w6b4.js → bus-b7wm22tc.js} +19 -19
- package/dist/chunks/{ripgrep-0xt5rh38.js → bus-bhwcrmj7.js} +10 -10
- package/dist/chunks/{ripgrep-bsxvja55.js → bus-bm2mqchg.js} +18 -18
- package/dist/chunks/{ripgrep-k1yj6xhg.js → bus-bsry7g8x.js} +19 -19
- package/dist/chunks/{ripgrep-bstexjd6.js → bus-bstexjd6.js} +1 -1
- package/dist/chunks/{ripgrep-sfw989kw.js → bus-c1953ttw.js} +2 -2
- package/dist/chunks/{ripgrep-d4ctf4tn.js → bus-c1hj90w1.js} +4 -4
- package/dist/chunks/{ripgrep-cza8pqvg.js → bus-c6z72wfs.js} +9 -9
- package/dist/chunks/{ripgrep-pj2bksq9.js → bus-c9k9wqyf.js} +7 -7
- package/dist/chunks/{ripgrep-95gg0e1q.js → bus-caesvrsr.js} +20 -20
- package/dist/chunks/{ripgrep-rgsds9qv.js → bus-cah09krx.js} +11 -11
- package/dist/chunks/{ripgrep-4fht16ez.js → bus-ck9t0a91.js} +33 -33
- package/dist/chunks/{ripgrep-30v5g7xx.js → bus-cmd2t0hw.js} +5 -5
- package/dist/chunks/{ripgrep-6xjhb3qk.js → bus-czxyp6y6.js} +12 -12
- package/dist/chunks/{ripgrep-d4v9tmah.js → bus-d4v9tmah.js} +2 -2
- package/dist/chunks/{ripgrep-g9ndtp1p.js → bus-dds9zz6p.js} +4 -4
- package/dist/chunks/{ripgrep-41scb8pj.js → bus-dfv3sd11.js} +17 -17
- package/dist/chunks/{ripgrep-7dbx9kd5.js → bus-dj1vw1rv.js} +15 -15
- package/dist/chunks/{ripgrep-zs0pprga.js → bus-dxvj00dw.js} +26 -26
- package/dist/chunks/{ripgrep-kd1werbb.js → bus-dyh6ghqz.js} +10 -10
- package/dist/chunks/{ripgrep-6cmhwkbz.js → bus-e4f4x5n9.js} +9 -9
- package/dist/chunks/{ripgrep-e834z07m.js → bus-e834z07m.js} +1 -1
- package/dist/chunks/{ripgrep-zjner7m4.js → bus-e8dk3ywt.js} +11 -11
- package/dist/chunks/{ripgrep-ef5x83kb.js → bus-ef5x83kb.js} +1 -1
- package/dist/chunks/{ripgrep-heq6tkdz.js → bus-efnptb2b.js} +17 -17
- package/dist/chunks/{ripgrep-jqy0757m.js → bus-etmf56fp.js} +10 -10
- package/dist/chunks/{ripgrep-wnvea4fe.js → bus-f4ce69wc.js} +8 -8
- package/dist/chunks/{ripgrep-rxrz6b15.js → bus-fc6c4hv8.js} +2 -2
- package/dist/chunks/{ripgrep-fffv3p7h.js → bus-fffv3p7h.js} +1 -1
- package/dist/chunks/{ripgrep-fhbtev1x.js → bus-fm5nzcmq.js} +21 -21
- package/dist/chunks/{ripgrep-r991pz9h.js → bus-fntzncgy.js} +20 -20
- package/dist/chunks/{ripgrep-8cpd998p.js → bus-g3k29tzj.js} +13 -13
- package/dist/chunks/{ripgrep-g5h9c0rr.js → bus-g5h9c0rr.js} +2 -2
- package/dist/chunks/{ripgrep-19nkwpt0.js → bus-g6rdvcdw.js} +17 -17
- package/dist/chunks/{ripgrep-jrcyk1qp.js → bus-ghn7jtaj.js} +45 -45
- package/dist/chunks/{ripgrep-gybx331m.js → bus-gjr461gh.js} +17 -17
- package/dist/chunks/{ripgrep-y4vtynzt.js → bus-gq4ft62x.js} +17 -17
- package/dist/chunks/{ripgrep-nbsqgbhj.js → bus-gq7wjy6f.js} +22 -22
- package/dist/chunks/{ripgrep-1fxyteqg.js → bus-gyvvxe68.js} +89 -89
- package/dist/chunks/{ripgrep-vgjn3sfz.js → bus-hsbqs0yf.js} +8 -8
- package/dist/chunks/{ripgrep-bayr563p.js → bus-htpbdr1d.js} +26 -26
- package/dist/chunks/{ripgrep-mrcj6822.js → bus-hwj1j5q0.js} +4 -4
- package/dist/chunks/{ripgrep-j113cymg.js → bus-j113cymg.js} +1 -1
- package/dist/chunks/{ripgrep-3mzdfzhq.js → bus-j8nk5b8t.js} +3 -3
- package/dist/chunks/{ripgrep-bf166mt2.js → bus-jg2v1dk6.js} +32 -32
- package/dist/chunks/{ripgrep-8krb2gbb.js → bus-jsjjdmy1.js} +9 -9
- package/dist/chunks/{ripgrep-6p7ksc7d.js → bus-jv78zvp3.js} +11 -11
- package/dist/chunks/{ripgrep-033a0jkt.js → bus-jx89vj1k.js} +3 -3
- package/dist/chunks/{ripgrep-ev4vjjv8.js → bus-jzxk7jdc.js} +12 -12
- package/dist/chunks/{ripgrep-g1d2dsmd.js → bus-k0agw6wh.js} +13 -13
- package/dist/chunks/{ripgrep-6nracgmf.js → bus-k0rrpnh5.js} +188 -188
- package/dist/chunks/{ripgrep-6ha07q56.js → bus-k5d1wqjw.js} +343 -343
- package/dist/chunks/{ripgrep-3kk2jwp7.js → bus-k7fcp7vh.js} +8 -8
- package/dist/chunks/{ripgrep-k814nvkf.js → bus-k814nvkf.js} +1 -1
- package/dist/chunks/{ripgrep-dk5xnaxx.js → bus-kedzwwnr.js} +4 -4
- package/dist/chunks/{ripgrep-sp56zrrh.js → bus-kfag0pyw.js} +36 -36
- package/dist/chunks/{ripgrep-5as2v2bz.js → bus-kgex5j78.js} +11 -11
- package/dist/chunks/{ripgrep-cc3tw12v.js → bus-km2c56gg.js} +6 -6
- package/dist/chunks/{ripgrep-ab2zewxm.js → bus-kph7g7k5.js} +22 -22
- package/dist/chunks/{ripgrep-dsnzvv9e.js → bus-kqnqd6x4.js} +4 -4
- package/dist/chunks/{ripgrep-t9q01d30.js → bus-krdanp5y.js} +18 -18
- package/dist/chunks/{ripgrep-bt7pct3b.js → bus-ksqksx3k.js} +21 -21
- package/dist/chunks/{ripgrep-m1714858.js → bus-m1714858.js} +1 -1
- package/dist/chunks/{ripgrep-vmfhgzt5.js → bus-m37sd98t.js} +4 -4
- package/dist/chunks/{ripgrep-mbaagm2q.js → bus-m4s0x578.js} +26 -26
- package/dist/chunks/{ripgrep-w2c2mnmy.js → bus-m8gt97br.js} +17 -17
- package/dist/chunks/{ripgrep-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
- package/dist/chunks/{ripgrep-maspj1v3.js → bus-maspj1v3.js} +1 -1
- package/dist/chunks/{ripgrep-dj23h38q.js → bus-mgbmf9v5.js} +18 -18
- package/dist/chunks/{ripgrep-s2p2k57b.js → bus-mmgwrvtt.js} +15 -15
- package/dist/chunks/{ripgrep-6cg3ssar.js → bus-mn6r1kh0.js} +30 -30
- package/dist/chunks/{ripgrep-e70s01gt.js → bus-mnd9dafd.js} +10 -10
- package/dist/chunks/{ripgrep-7hw2cvx7.js → bus-ms080em1.js} +27 -27
- package/dist/chunks/{ripgrep-6paamakb.js → bus-ms3syv86.js} +14 -14
- package/dist/chunks/bus-mswbh5s9.js +257 -0
- package/dist/chunks/{ripgrep-dvg9k2dh.js → bus-mx9h14xa.js} +28 -28
- package/dist/chunks/{ripgrep-n0p0277s.js → bus-n0p0277s.js} +1 -1
- package/dist/chunks/{ripgrep-1gn07jkh.js → bus-n5gmbbrg.js} +47 -47
- package/dist/chunks/{ripgrep-770pw0s1.js → bus-nah043kf.js} +4 -4
- package/dist/chunks/{ripgrep-wj025wy7.js → bus-nn3pn70b.js} +4 -4
- package/dist/chunks/{ripgrep-a1tbznxp.js → bus-nw6j7gpm.js} +14 -14
- package/dist/chunks/{ripgrep-p015t6z3.js → bus-p015t6z3.js} +2 -2
- package/dist/chunks/{ripgrep-77w2yzyb.js → bus-p12nptkx.js} +11 -11
- package/dist/chunks/{ripgrep-a8m490ta.js → bus-p1c1zyxr.js} +52 -52
- package/dist/chunks/bus-p1hxy2vt.js +26 -0
- package/dist/chunks/{ripgrep-310tqm6v.js → bus-p8var5ry.js} +4 -4
- package/dist/chunks/{ripgrep-9b28cy4d.js → bus-pacbbjc0.js} +5 -5
- package/dist/chunks/{ripgrep-ygj7qvsn.js → bus-pbqc7r64.js} +30 -30
- package/dist/chunks/{ripgrep-94ggdtye.js → bus-pdjw8hws.js} +10 -10
- package/dist/chunks/{ripgrep-h3r7ht18.js → bus-pdy1hqnf.js} +32 -32
- package/dist/chunks/{ripgrep-pknna89w.js → bus-pknna89w.js} +1 -1
- package/dist/chunks/{ripgrep-d2455waf.js → bus-ps63y3s5.js} +20 -20
- package/dist/chunks/{ripgrep-0w2ve4np.js → bus-pyv2pjn5.js} +32 -32
- package/dist/chunks/{ripgrep-xwxay0k0.js → bus-pz0hzqp4.js} +45 -45
- package/dist/chunks/{ripgrep-hyjk9r55.js → bus-q306eq19.js} +22 -22
- package/dist/chunks/{ripgrep-0bzett23.js → bus-q4q80s4a.js} +18 -18
- package/dist/chunks/{ripgrep-qjgzc4b4.js → bus-qjgzc4b4.js} +1 -1
- package/dist/chunks/{ripgrep-173t91w5.js → bus-qv7y9773.js} +4 -4
- package/dist/chunks/{ripgrep-vd41439j.js → bus-qx1n59h8.js} +16 -16
- package/dist/chunks/{ripgrep-0t2h4nxf.js → bus-qzr9ezbv.js} +5 -5
- package/dist/chunks/{ripgrep-r0yr0wbs.js → bus-r0yr0wbs.js} +1 -1
- package/dist/chunks/{ripgrep-zpmv8s4j.js → bus-r15835qb.js} +3 -3
- package/dist/chunks/{ripgrep-pb1qprq3.js → bus-r6tddt1e.js} +29 -29
- package/dist/chunks/{ripgrep-jxr5ks98.js → bus-r86349qm.js} +6 -6
- package/dist/chunks/{ripgrep-rb9dy4dg.js → bus-rb9dy4dg.js} +1 -1
- package/dist/chunks/{ripgrep-9562mf0m.js → bus-rda9yzm6.js} +9 -9
- package/dist/chunks/{ripgrep-sxnrxfca.js → bus-rrje2nwc.js} +26 -26
- package/dist/chunks/{ripgrep-rt5dr6hb.js → bus-rt5dr6hb.js} +1 -1
- package/dist/chunks/{ripgrep-tnf39wvh.js → bus-rtdrjve7.js} +46 -46
- package/dist/chunks/{ripgrep-fkjeaz1p.js → bus-rvhr0thr.js} +87 -87
- package/dist/chunks/{ripgrep-m1tk4nd6.js → bus-rxt7kx39.js} +42 -42
- package/dist/chunks/{ripgrep-k60h0mqe.js → bus-sfmp0f7b.js} +15 -15
- package/dist/chunks/{ripgrep-4fjhw8k6.js → bus-sk0g3fth.js} +4 -4
- package/dist/chunks/{ripgrep-j5e0tcqv.js → bus-smfcvx02.js} +9 -9
- package/dist/chunks/{ripgrep-sqjzf8x2.js → bus-sqjzf8x2.js} +1 -1
- package/dist/chunks/{ripgrep-gb9ye6vs.js → bus-sqvkc2gg.js} +19 -19
- package/dist/chunks/{ripgrep-x3h41a9f.js → bus-sz8868xq.js} +7 -7
- package/dist/chunks/{ripgrep-wy7xqtjs.js → bus-t4n7m6zf.js} +33 -33
- package/dist/chunks/{ripgrep-cvdn796p.js → bus-t63bt17c.js} +14 -14
- package/dist/chunks/{ripgrep-wmjzvx4b.js → bus-t8nkzmzj.js} +7 -7
- package/dist/chunks/{ripgrep-tczq8hjw.js → bus-tczq8hjw.js} +1 -1
- package/dist/chunks/{ripgrep-45zwd69n.js → bus-tdj3cxsw.js} +43 -43
- package/dist/chunks/{ripgrep-6w73wc21.js → bus-tnhdtpkv.js} +24 -24
- package/dist/chunks/{ripgrep-1m0sdz90.js → bus-tpfax3t6.js} +40 -40
- package/dist/chunks/{ripgrep-tg1vr1qt.js → bus-tqx9c315.js} +8 -8
- package/dist/chunks/{ripgrep-tw8zr1ps.js → bus-tw8zr1ps.js} +1 -1
- package/dist/chunks/{ripgrep-twv2r8f4.js → bus-twv2r8f4.js} +2 -2
- package/dist/chunks/{ripgrep-v2r1d0zg.js → bus-v2r1d0zg.js} +1 -1
- package/dist/chunks/{ripgrep-6cjq3rwx.js → bus-v5kv89ke.js} +14 -14
- package/dist/chunks/{ripgrep-vd3b3yk9.js → bus-vd3b3yk9.js} +1 -1
- package/dist/chunks/{ripgrep-veqvce7d.js → bus-veqvce7d.js} +1 -1
- package/dist/chunks/{ripgrep-tpm1qpxt.js → bus-vgk61ywp.js} +9 -9
- package/dist/chunks/{ripgrep-jpqadng4.js → bus-vj8mtejf.js} +17 -17
- package/dist/chunks/{ripgrep-50vfe0ee.js → bus-vwj3jgr1.js} +26 -26
- package/dist/chunks/{ripgrep-8922dvha.js → bus-w0569hsk.js} +24 -24
- package/dist/chunks/{ripgrep-40za9wsf.js → bus-w2eysc6j.js} +9 -9
- package/dist/chunks/{ripgrep-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
- package/dist/chunks/{ripgrep-rvr9nrxj.js → bus-w52v0pzm.js} +20 -20
- package/dist/chunks/{ripgrep-rzbnf15d.js → bus-w5800457.js} +14 -14
- package/dist/chunks/{ripgrep-msfasjrs.js → bus-w6839knk.js} +18 -18
- package/dist/chunks/{ripgrep-ky596kc3.js → bus-w76xjer3.js} +4 -4
- package/dist/chunks/{ripgrep-wakvkjy4.js → bus-wakvkjy4.js} +1 -1
- package/dist/chunks/{ripgrep-1b015yat.js → bus-wd652945.js} +11 -11
- package/dist/chunks/{ripgrep-wd87259q.js → bus-wd87259q.js} +1 -1
- package/dist/chunks/{ripgrep-ebjg363t.js → bus-wfmpnrq7.js} +4 -4
- package/dist/chunks/{ripgrep-ye7j7sbs.js → bus-wm3cz6bg.js} +32 -32
- package/dist/chunks/{ripgrep-tdzaz51m.js → bus-wncd5gvv.js} +10 -10
- package/dist/chunks/{ripgrep-xngkbgfx.js → bus-wpcz644m.js} +15 -15
- package/dist/chunks/{ripgrep-wg9ke37f.js → bus-wre4fh0b.js} +32 -32
- package/dist/chunks/{ripgrep-jnztxn4f.js → bus-wsd07rfm.js} +24 -24
- package/dist/chunks/{ripgrep-y5qe5mc0.js → bus-wznw0skg.js} +17 -17
- package/dist/chunks/{ripgrep-vdsdnjgz.js → bus-x55w4aqt.js} +24 -24
- package/dist/chunks/{ripgrep-2553426h.js → bus-x9e6ksmw.js} +49 -49
- package/dist/chunks/{ripgrep-xzvgcsw6.js → bus-xar86st9.js} +7 -7
- package/dist/chunks/{ripgrep-5yps8vga.js → bus-xbcypdf3.js} +5 -5
- package/dist/chunks/{ripgrep-qh12k8gp.js → bus-xeb0t073.js} +1 -1
- package/dist/chunks/{ripgrep-4ssvmfsy.js → bus-xm26fr51.js} +13 -13
- package/dist/chunks/{ripgrep-bqwdyg2t.js → bus-xrpfz6f8.js} +9 -9
- package/dist/chunks/{ripgrep-yb20nhc3.js → bus-yb20nhc3.js} +1 -1
- package/dist/chunks/{ripgrep-txe6hs0a.js → bus-yhjes8yv.js} +8 -8
- package/dist/chunks/{ripgrep-pyrm1t89.js → bus-yj5wzhce.js} +19 -19
- package/dist/chunks/{ripgrep-rjb5m6wk.js → bus-yrnwxx36.js} +24 -24
- package/dist/chunks/{ripgrep-8yamfpxb.js → bus-ywxn696m.js} +30 -30
- package/dist/chunks/{ripgrep-z0bkrqjs.js → bus-z0bkrqjs.js} +1 -1
- package/dist/chunks/{ripgrep-z38nccrw.js → bus-z38nccrw.js} +1 -1
- package/dist/chunks/bus-z7bdqmx5.js +18 -0
- package/dist/chunks/{ripgrep-aeb4sny1.js → bus-za6yq9hg.js} +5 -5
- package/dist/chunks/{ripgrep-5g9sd2wr.js → bus-zegptfkw.js} +5 -5
- package/dist/chunks/{ripgrep-vtr9dtkz.js → bus-zfh6qh7b.js} +13 -13
- package/dist/chunks/{ripgrep-npgkeycb.js → bus-zj5v4v4s.js} +16 -16
- package/dist/chunks/{ripgrep-zkg84ctx.js → bus-zkg84ctx.js} +1 -1
- package/dist/chunks/{ripgrep-g15zpze4.js → bus-zs3fm22t.js} +25 -25
- package/dist/chunks/{ripgrep-p0e8hqgq.js → bus-zt2awk40.js} +35 -35
- package/dist/chunks/{ripgrep-yyjmamy7.js → bus-zwzj79wc.js} +16 -16
- package/dist/chunks/{ripgrep-a17pc1jp.js → bus-zz3ytsxz.js} +6 -6
- 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 +118 -118
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- 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 +94 -94
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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 +3 -3
- 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 +227 -227
- 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 +9 -9
- 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 +109 -109
- 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 +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 +361 -361
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +156 -156
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +91 -91
- 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 +138 -138
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/socket-client.js +1 -1
- 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 +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- 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 +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- 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 +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- 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 +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- 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 +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- 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 +125 -125
- package/dist/plugin/provider/openai-context-caps.js +92 -92
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +103 -103
- 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 +1 -1
- 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 +115 -115
- 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 +171 -171
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- 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 +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +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 +92 -92
- package/dist/provider.js +103 -103
- 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 +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- 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 +138 -138
- package/dist/session/context.js +164 -164
- 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 +221 -221
- package/dist/session/execution.js +130 -130
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +97 -97
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- 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 +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +102 -102
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- 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 +212 -212
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- package/dist/shell/parse.js +8 -8
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +95 -95
- 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 +137 -137
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +115 -115
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +104 -104
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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/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 +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/ripgrep-4my81qaj.js +0 -18
- package/dist/chunks/ripgrep-ca5mcr31.js +0 -26
- package/dist/chunks/ripgrep-dnqjcqs4.js +0 -257
- /package/dist/chunks/{ripgrep-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{ripgrep-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
- /package/dist/chunks/{ripgrep-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
- /package/dist/chunks/{ripgrep-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
- /package/dist/chunks/{ripgrep-24dcb14g.js → bus-24dcb14g.js} +0 -0
- /package/dist/chunks/{ripgrep-2710q6r3.js → bus-2710q6r3.js} +0 -0
- /package/dist/chunks/{ripgrep-2bv980vf.js → bus-2bv980vf.js} +0 -0
- /package/dist/chunks/{ripgrep-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{ripgrep-359p4xyc.js → bus-359p4xyc.js} +0 -0
- /package/dist/chunks/{ripgrep-3asan66x.js → bus-3asan66x.js} +0 -0
- /package/dist/chunks/{ripgrep-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
- /package/dist/chunks/{ripgrep-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
- /package/dist/chunks/{ripgrep-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
- /package/dist/chunks/{ripgrep-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
- /package/dist/chunks/{ripgrep-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{ripgrep-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
- /package/dist/chunks/{ripgrep-53557ph1.js → bus-53557ph1.js} +0 -0
- /package/dist/chunks/{ripgrep-550bvhaj.js → bus-550bvhaj.js} +0 -0
- /package/dist/chunks/{ripgrep-5fjb7ams.js → bus-5fjb7ams.js} +0 -0
- /package/dist/chunks/{ripgrep-5qd3pb7m.js → bus-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{ripgrep-6prwharc.js → bus-6prwharc.js} +0 -0
- /package/dist/chunks/{ripgrep-6q2bdcd1.js → bus-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{ripgrep-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
- /package/dist/chunks/{ripgrep-7m9af43g.js → bus-7m9af43g.js} +0 -0
- /package/dist/chunks/{ripgrep-822emrt2.js → bus-822emrt2.js} +0 -0
- /package/dist/chunks/{ripgrep-84wd9syh.js → bus-84wd9syh.js} +0 -0
- /package/dist/chunks/{ripgrep-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
- /package/dist/chunks/{ripgrep-8n3pysct.js → bus-8n3pysct.js} +0 -0
- /package/dist/chunks/{ripgrep-8wj87zfr.js → bus-8wj87zfr.js} +0 -0
- /package/dist/chunks/{ripgrep-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
- /package/dist/chunks/{ripgrep-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{ripgrep-a058387c.js → bus-a058387c.js} +0 -0
- /package/dist/chunks/{ripgrep-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
- /package/dist/chunks/{ripgrep-af5trqkr.js → bus-af5trqkr.js} +0 -0
- /package/dist/chunks/{ripgrep-afrmfg78.js → bus-afrmfg78.js} +0 -0
- /package/dist/chunks/{ripgrep-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{ripgrep-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
- /package/dist/chunks/{ripgrep-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{ripgrep-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{ripgrep-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
- /package/dist/chunks/{ripgrep-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{ripgrep-d9fn303g.js → bus-d9fn303g.js} +0 -0
- /package/dist/chunks/{ripgrep-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{ripgrep-dajrwvna.js → bus-dajrwvna.js} +0 -0
- /package/dist/chunks/{ripgrep-dap0rakb.js → bus-dap0rakb.js} +0 -0
- /package/dist/chunks/{ripgrep-df08tz66.js → bus-df08tz66.js} +0 -0
- /package/dist/chunks/{ripgrep-dy18nga0.js → bus-dy18nga0.js} +0 -0
- /package/dist/chunks/{ripgrep-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
- /package/dist/chunks/{ripgrep-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
- /package/dist/chunks/{ripgrep-ec1grn59.js → bus-ec1grn59.js} +0 -0
- /package/dist/chunks/{ripgrep-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
- /package/dist/chunks/{ripgrep-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
- /package/dist/chunks/{ripgrep-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
- /package/dist/chunks/{ripgrep-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{ripgrep-faypxj3z.js → bus-faypxj3z.js} +0 -0
- /package/dist/chunks/{ripgrep-fd410y7t.js → bus-fd410y7t.js} +0 -0
- /package/dist/chunks/{ripgrep-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
- /package/dist/chunks/{ripgrep-g86h250q.js → bus-g86h250q.js} +0 -0
- /package/dist/chunks/{ripgrep-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
- /package/dist/chunks/{ripgrep-gftt206x.js → bus-gftt206x.js} +0 -0
- /package/dist/chunks/{ripgrep-hcxmzztb.js → bus-hcxmzztb.js} +0 -0
- /package/dist/chunks/{ripgrep-hk9envan.js → bus-hk9envan.js} +0 -0
- /package/dist/chunks/{ripgrep-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
- /package/dist/chunks/{ripgrep-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{ripgrep-jjkms2e6.js → bus-jjkms2e6.js} +0 -0
- /package/dist/chunks/{ripgrep-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{ripgrep-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{ripgrep-jze0r7bz.js → bus-jze0r7bz.js} +0 -0
- /package/dist/chunks/{ripgrep-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{ripgrep-m18g726c.js → bus-m18g726c.js} +0 -0
- /package/dist/chunks/{ripgrep-mp448xyj.js → bus-mp448xyj.js} +0 -0
- /package/dist/chunks/{ripgrep-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
- /package/dist/chunks/{ripgrep-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
- /package/dist/chunks/{ripgrep-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
- /package/dist/chunks/{ripgrep-njntx4h6.js → bus-njntx4h6.js} +0 -0
- /package/dist/chunks/{ripgrep-pkyv6v7h.js → bus-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{ripgrep-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
- /package/dist/chunks/{ripgrep-q74kybfr.js → bus-q74kybfr.js} +0 -0
- /package/dist/chunks/{ripgrep-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
- /package/dist/chunks/{ripgrep-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
- /package/dist/chunks/{ripgrep-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
- /package/dist/chunks/{ripgrep-qg3g05ea.js → bus-qg3g05ea.js} +0 -0
- /package/dist/chunks/{ripgrep-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
- /package/dist/chunks/{ripgrep-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{ripgrep-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{ripgrep-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
- /package/dist/chunks/{ripgrep-ve7vex1e.js → bus-ve7vex1e.js} +0 -0
- /package/dist/chunks/{ripgrep-w803qqfp.js → bus-w803qqfp.js} +0 -0
- /package/dist/chunks/{ripgrep-wc3fc9cn.js → bus-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{ripgrep-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
- /package/dist/chunks/{ripgrep-wjj7prxr.js → bus-wjj7prxr.js} +0 -0
- /package/dist/chunks/{ripgrep-wtztk69x.js → bus-wtztk69x.js} +0 -0
- /package/dist/chunks/{ripgrep-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
- /package/dist/chunks/{ripgrep-x61499pn.js → bus-x61499pn.js} +0 -0
- /package/dist/chunks/{ripgrep-y44na4kk.js → bus-y44na4kk.js} +0 -0
- /package/dist/chunks/{ripgrep-y8f7s663.js → bus-y8f7s663.js} +0 -0
- /package/dist/chunks/{ripgrep-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{ripgrep-ym463w8f.js → bus-ym463w8f.js} +0 -0
- /package/dist/chunks/{ripgrep-z5v4ffb3.js → bus-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{ripgrep-z9919s4g.js → bus-z9919s4g.js} +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID15,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./bus-sqvkc2gg.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./bus-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/agent.ts
|
|
11
|
-
var
|
|
12
|
-
__export(
|
|
13
|
-
AgentPlugin: () =>
|
|
14
|
-
Plugin: () =>
|
|
11
|
+
var exports_agent2 = {};
|
|
12
|
+
__export(exports_agent2, {
|
|
13
|
+
AgentPlugin: () => exports_agent2,
|
|
14
|
+
Plugin: () => Plugin50
|
|
15
15
|
});
|
|
16
16
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
17
17
|
import { Effect } from "effect";
|
|
@@ -57,7 +57,7 @@ Rules:
|
|
|
57
57
|
- Never ask questions or add new questions
|
|
58
58
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
59
59
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
60
|
-
var
|
|
60
|
+
var Plugin50 = define({
|
|
61
61
|
id: "opencode.agent",
|
|
62
62
|
effect: Effect.fn(function* (ctx) {
|
|
63
63
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -67,32 +67,32 @@ var Plugin16 = define({
|
|
|
67
67
|
item.mode = "primary";
|
|
68
68
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
69
69
|
});
|
|
70
|
-
editor.update(
|
|
70
|
+
editor.update(ID15.make("general"), (item) => {
|
|
71
71
|
item.name = Name3.make("General");
|
|
72
72
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
73
73
|
item.mode = "subagent";
|
|
74
74
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
75
75
|
});
|
|
76
|
-
editor.update(
|
|
76
|
+
editor.update(ID15.make("explore"), (item) => {
|
|
77
77
|
item.name = Name3.make("Explore");
|
|
78
78
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
79
79
|
item.system = PROMPT_EXPLORE;
|
|
80
80
|
item.mode = "subagent";
|
|
81
81
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" }, { action: "shell", resource: "*", effect: "allow" }, { action: "grep", resource: "*", effect: "allow" }, { action: "glob", resource: "*", effect: "allow" }, { action: "webfetch", resource: "*", effect: "allow" }, { action: "websearch", resource: "*", effect: "allow" }, { action: "read", resource: "*", effect: "allow" }, { action: "read", resource: "*.env", effect: "ask" }, { action: "read", resource: "*.env.*", effect: "ask" }, { action: "read", resource: "*.env.example", effect: "allow" }, { action: "subagent", resource: "*", effect: "deny" }, { action: "external_directory", resource: "*", effect: "allow" });
|
|
82
82
|
});
|
|
83
|
-
editor.update(
|
|
83
|
+
editor.update(ID15.make("compaction"), (item) => {
|
|
84
84
|
item.name = Name3.make("Compaction");
|
|
85
85
|
item.mode = "primary";
|
|
86
86
|
item.hidden = true;
|
|
87
87
|
});
|
|
88
|
-
editor.update(
|
|
88
|
+
editor.update(ID15.make("title"), (item) => {
|
|
89
89
|
item.name = Name3.make("Title");
|
|
90
90
|
item.mode = "primary";
|
|
91
91
|
item.hidden = true;
|
|
92
92
|
item.system = PROMPT_TITLE;
|
|
93
93
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
94
94
|
});
|
|
95
|
-
editor.update(
|
|
95
|
+
editor.update(ID15.make("summary"), (item) => {
|
|
96
96
|
item.name = Name3.make("Summary");
|
|
97
97
|
item.mode = "primary";
|
|
98
98
|
item.hidden = true;
|
|
@@ -103,4 +103,4 @@ var Plugin16 = define({
|
|
|
103
103
|
})
|
|
104
104
|
});
|
|
105
105
|
|
|
106
|
-
export {
|
|
106
|
+
export { Plugin50, exports_agent2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service54
|
|
4
|
+
} from "./bus-44s0n40r.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service70
|
|
7
|
+
} from "./bus-t4n7m6zf.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-6pjqjmy2.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./bus-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin29
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin29 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service54;
|
|
27
|
+
const snapshot = yield* Service70;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin48 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin29, exports_snapshot };
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-qjgzc4b4.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85,
|
|
6
6
|
node89
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-a0hasf4t.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event14,
|
|
10
|
+
Service67,
|
|
11
|
+
node71
|
|
12
|
+
} from "./bus-51e0cpsh.js";
|
|
13
13
|
import {
|
|
14
|
-
Service77,
|
|
15
|
-
node81
|
|
16
|
-
} from "./ripgrep-w2c2mnmy.js";
|
|
17
|
-
import {
|
|
18
|
-
Service70,
|
|
19
|
-
node72
|
|
20
|
-
} from "./ripgrep-jnztxn4f.js";
|
|
21
|
-
import {
|
|
22
|
-
ID16,
|
|
23
14
|
Service82,
|
|
24
15
|
node86
|
|
25
|
-
} from "./
|
|
16
|
+
} from "./bus-m8gt97br.js";
|
|
17
|
+
import {
|
|
18
|
+
Service44,
|
|
19
|
+
node48
|
|
20
|
+
} from "./bus-wsd07rfm.js";
|
|
21
|
+
import {
|
|
22
|
+
ID11,
|
|
23
|
+
Service68,
|
|
24
|
+
node72
|
|
25
|
+
} from "./bus-htpbdr1d.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./bus-vd3b3yk9.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID9,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service66,
|
|
34
|
+
node70
|
|
35
|
+
} from "./bus-jg2v1dk6.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./bus-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError2,
|
|
45
|
+
Options: () => Options2,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service33,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured2,
|
|
56
|
+
layer: () => layer14,
|
|
57
|
+
node: () => node36
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError2 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -104,21 +104,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
104
104
|
var endpointLoads = makeUnsafe2();
|
|
105
105
|
var cloneConfig = (config) => structuredClone(config);
|
|
106
106
|
|
|
107
|
-
class
|
|
107
|
+
class Service33 extends Context.Service()("@opencode/MCP") {
|
|
108
108
|
}
|
|
109
|
-
var
|
|
109
|
+
var Options2 = Schema.Struct({
|
|
110
110
|
clientInfo: Schema.optional(Schema.Struct({
|
|
111
111
|
name: Schema.String,
|
|
112
112
|
version: Schema.String
|
|
113
113
|
}))
|
|
114
114
|
});
|
|
115
|
-
var
|
|
116
|
-
const location = yield*
|
|
117
|
-
const environment = yield*
|
|
115
|
+
var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service82;
|
|
117
|
+
const environment = yield* Service44;
|
|
118
118
|
const bus = yield* Service85;
|
|
119
|
-
const forms = yield*
|
|
120
|
-
const integration = yield*
|
|
121
|
-
const credentials = yield*
|
|
119
|
+
const forms = yield* Service68;
|
|
120
|
+
const integration = yield* Service66;
|
|
121
|
+
const credentials = yield* Service67;
|
|
122
122
|
const root = yield* Effect.scope;
|
|
123
123
|
const fork = yield* FiberSet.makeRuntime();
|
|
124
124
|
const servers = yield* Scope.fork(root, "parallel");
|
|
@@ -133,7 +133,7 @@ var layer13 = (options) => Layer.effect(Service26, Effect.gen(function* () {
|
|
|
133
133
|
return;
|
|
134
134
|
const remote = entry.config;
|
|
135
135
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
136
|
-
const integrationID =
|
|
136
|
+
const integrationID = ID9.make(suffix);
|
|
137
137
|
entry.integrationID = integrationID;
|
|
138
138
|
owned.add(integrationID);
|
|
139
139
|
const methodID = MethodID2.make(suffix);
|
|
@@ -149,7 +149,7 @@ var layer13 = (options) => Layer.effect(Service26, Effect.gen(function* () {
|
|
|
149
149
|
method: { id: methodID, type: "oauth", label: name },
|
|
150
150
|
authorize: () => Effect.gen(function* () {
|
|
151
151
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
152
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
152
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service67, credentials));
|
|
153
153
|
})
|
|
154
154
|
});
|
|
155
155
|
}).pipe(Scope.provide(scope));
|
|
@@ -157,19 +157,19 @@ var layer13 = (options) => Layer.effect(Service26, Effect.gen(function* () {
|
|
|
157
157
|
const requireServer = Effect.fnUntraced(function* (name) {
|
|
158
158
|
const entry = entries.get(name);
|
|
159
159
|
if (!entry)
|
|
160
|
-
return yield* new
|
|
160
|
+
return yield* new NotFoundError2({ server: name });
|
|
161
161
|
return { name, entry };
|
|
162
162
|
});
|
|
163
163
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
164
164
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
165
165
|
return;
|
|
166
166
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
167
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
167
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service67, credentials));
|
|
168
168
|
});
|
|
169
169
|
const elicitation = {
|
|
170
170
|
create: (input) => Effect.gen(function* () {
|
|
171
171
|
if (input.params.mode === "url") {
|
|
172
|
-
const formID =
|
|
172
|
+
const formID = ID11.create();
|
|
173
173
|
const elicitationID = input.params.elicitationId;
|
|
174
174
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
175
175
|
if (key)
|
|
@@ -272,7 +272,7 @@ var layer13 = (options) => Layer.effect(Service26, Effect.gen(function* () {
|
|
|
272
272
|
entry.scope = scope;
|
|
273
273
|
const authProvider = yield* connectProvider(entry);
|
|
274
274
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
275
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
275
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service44, environment), Scope.provide(scope));
|
|
276
276
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
277
277
|
if (Exit.isSuccess(result)) {
|
|
278
278
|
entry.client = result.value.connection;
|
|
@@ -373,7 +373,7 @@ var layer13 = (options) => Layer.effect(Service26, Effect.gen(function* () {
|
|
|
373
373
|
let closed = false;
|
|
374
374
|
const result = yield* McpClient.connect(name, { type: "attached", transport }, location.directory, undefined, elicitation, options?.clientInfo).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
|
|
375
375
|
closed = true;
|
|
376
|
-
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
376
|
+
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service44, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
|
|
377
377
|
const register = Effect.gen(function* () {
|
|
378
378
|
if (closed) {
|
|
379
379
|
yield* Scope.close(scope, Exit.void);
|
|
@@ -452,7 +452,7 @@ var layer13 = (options) => Layer.effect(Service26, Effect.gen(function* () {
|
|
|
452
452
|
yield* startServer(name, entry);
|
|
453
453
|
}).pipe(locks.withLock(name));
|
|
454
454
|
});
|
|
455
|
-
fork(bus.subscribe(
|
|
455
|
+
fork(bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
456
456
|
const state = create3({
|
|
457
457
|
name: "mcp",
|
|
458
458
|
initial: () => ({
|
|
@@ -478,7 +478,7 @@ var layer13 = (options) => Layer.effect(Service26, Effect.gen(function* () {
|
|
|
478
478
|
}),
|
|
479
479
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
480
480
|
});
|
|
481
|
-
return
|
|
481
|
+
return Service33.of({
|
|
482
482
|
transform: state.transform,
|
|
483
483
|
reload: state.reload,
|
|
484
484
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -606,14 +606,14 @@ function mergeCatalogs(catalogs) {
|
|
|
606
606
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
607
607
|
});
|
|
608
608
|
}
|
|
609
|
-
function
|
|
609
|
+
function configured2(options) {
|
|
610
610
|
return makeLocationNode({
|
|
611
|
-
service:
|
|
612
|
-
layer:
|
|
613
|
-
deps: [
|
|
611
|
+
service: Service33,
|
|
612
|
+
layer: layer14(options),
|
|
613
|
+
deps: [node86, node48, node89, node72, node70, node71]
|
|
614
614
|
});
|
|
615
615
|
}
|
|
616
|
-
var
|
|
616
|
+
var node36 = configured2();
|
|
617
617
|
function toElicitationField(key, property, required) {
|
|
618
618
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
619
619
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -664,4 +664,4 @@ function toElicitationField(key, property, required) {
|
|
|
664
664
|
}
|
|
665
665
|
}
|
|
666
666
|
|
|
667
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
667
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError2, ToolCallError2, Service33, Options2, layer14, configured2, node36, exports_mcp4 };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin41
|
|
3
|
+
} from "./bus-abr51mnh.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin40
|
|
6
|
+
} from "./bus-0p11b9tv.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin39
|
|
9
|
+
} from "./bus-8ss74ppy.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin37
|
|
12
|
+
} from "./bus-a4qy9fc3.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin38
|
|
15
|
+
} from "./bus-1xwbrvt7.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin41,
|
|
20
|
+
Plugin40,
|
|
21
|
+
Plugin39,
|
|
22
|
+
Plugin37,
|
|
23
|
+
Plugin38
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-v5kv89ke.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/ollama.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -34,7 +34,7 @@ var ShowResponse = Schema.Struct({
|
|
|
34
34
|
model_info: Schema.Record(Schema.String, Schema.Unknown).pipe(Schema.optional)
|
|
35
35
|
});
|
|
36
36
|
var shows = new Map;
|
|
37
|
-
var
|
|
37
|
+
var make6 = createLocalProviderPlugin2({
|
|
38
38
|
id: "opencode.provider.ollama",
|
|
39
39
|
providerID: "ollama",
|
|
40
40
|
name: "Ollama",
|
|
@@ -67,6 +67,6 @@ var make5 = createLocalProviderPlugin2({
|
|
|
67
67
|
context: Object.entries(item.show.model_info ?? {}).flatMap(([key, value]) => key.endsWith(".context_length") && typeof value === "number" && value > 0 ? [value] : [])[0]
|
|
68
68
|
})
|
|
69
69
|
});
|
|
70
|
-
var OllamaPlugin2 =
|
|
70
|
+
var OllamaPlugin2 = make6();
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { make6, OllamaPlugin2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-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: () => Info14,
|
|
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 Info14 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info14, exports_mcp5 };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service55
|
|
3
|
+
} from "./bus-qx1n59h8.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service82
|
|
9
|
+
} from "./bus-m8gt97br.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service54
|
|
12
|
+
} from "./bus-44s0n40r.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Source3
|
|
17
|
+
} from "./bus-krdanp5y.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service6
|
|
20
|
+
} from "./bus-smfcvx02.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./bus-sk0g3fth.js";
|
|
24
24
|
import {
|
|
25
25
|
ignore2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
scan2
|
|
27
|
+
} from "./bus-nah043kf.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./bus-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/config/plugin/skill.ts
|
|
33
|
-
var
|
|
34
|
-
__export(
|
|
35
|
-
ConfigSkillPlugin: () =>
|
|
36
|
-
Plugin: () =>
|
|
33
|
+
var exports_skill2 = {};
|
|
34
|
+
__export(exports_skill2, {
|
|
35
|
+
ConfigSkillPlugin: () => exports_skill2,
|
|
36
|
+
Plugin: () => Plugin26
|
|
37
37
|
});
|
|
38
38
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
39
39
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
40
40
|
import { Global } from "@opencode/util/global";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
43
|
-
var
|
|
43
|
+
var Plugin26 = define({
|
|
44
44
|
id: "opencode.config.skill",
|
|
45
45
|
effect: Effect.fn(function* (ctx) {
|
|
46
|
-
const config = yield*
|
|
47
|
-
const discovery = yield*
|
|
46
|
+
const config = yield* Service54;
|
|
47
|
+
const discovery = yield* Service6;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const global = yield* Global.Service;
|
|
50
|
-
const location = yield*
|
|
51
|
-
const watcher = yield*
|
|
50
|
+
const location = yield* Service82;
|
|
51
|
+
const watcher = yield* Service55;
|
|
52
52
|
const loaded = {
|
|
53
53
|
entries: yield* config.entries(),
|
|
54
54
|
skills: []
|
|
@@ -91,7 +91,7 @@ var Plugin42 = define({
|
|
|
91
91
|
const sources = () => {
|
|
92
92
|
const result = [];
|
|
93
93
|
const add = (source) => {
|
|
94
|
-
if (result.some((item) =>
|
|
94
|
+
if (result.some((item) => Source3.equals(item, source)))
|
|
95
95
|
return;
|
|
96
96
|
result.push(source);
|
|
97
97
|
};
|
|
@@ -116,13 +116,13 @@ var Plugin42 = define({
|
|
|
116
116
|
};
|
|
117
117
|
const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
|
|
118
118
|
const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
|
|
119
|
-
source:
|
|
119
|
+
source: Source3.key(source),
|
|
120
120
|
cause
|
|
121
121
|
}).pipe(Effect.as([]))));
|
|
122
122
|
const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
|
|
123
123
|
const skills = [];
|
|
124
124
|
for (const directory of directories) {
|
|
125
|
-
for (const filepath of yield*
|
|
125
|
+
for (const filepath of yield* scan2(directory)) {
|
|
126
126
|
const resolved = yield* fs.realPath(filepath).pipe(Effect.orElseSucceed(() => filepath));
|
|
127
127
|
if (!roots.some((root) => FSUtil.contains(root, resolved)))
|
|
128
128
|
yield* watch(resolved, "file");
|
|
@@ -144,7 +144,7 @@ var Plugin42 = define({
|
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
146
|
yield* Effect.logDebug("skill source loaded", {
|
|
147
|
-
source:
|
|
147
|
+
source: Source3.key(source),
|
|
148
148
|
type: source.type,
|
|
149
149
|
directories,
|
|
150
150
|
skills: skills.map((skill) => skill.id)
|
|
@@ -163,7 +163,7 @@ var Plugin42 = define({
|
|
|
163
163
|
if (file) {
|
|
164
164
|
yield* Effect.logInfo("skills rescanned", {
|
|
165
165
|
file,
|
|
166
|
-
sources: current.map(
|
|
166
|
+
sources: current.map(Source3.key),
|
|
167
167
|
skills: loaded.skills.map((skill) => skill.id)
|
|
168
168
|
});
|
|
169
169
|
}
|
|
@@ -179,4 +179,4 @@ var Plugin42 = define({
|
|
|
179
179
|
})
|
|
180
180
|
});
|
|
181
181
|
|
|
182
|
-
export {
|
|
182
|
+
export { Plugin26, exports_skill2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-a0hasf4t.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service71,
|
|
6
|
+
Event16
|
|
7
|
+
} from "./bus-caesvrsr.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin2,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin2 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
const bus = yield* Service85;
|
|
24
|
-
const wellknown = yield*
|
|
24
|
+
const wellknown = yield* Service71;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin18 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin2, exports_plugin };
|