@opencode/core 0.0.0-dev-20442 → 0.0.0-dev-20443
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 +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +73 -73
- package/dist/chunks/{permission-7w99qc9d.js → filesystem-01m43rby.js} +3 -3
- package/dist/chunks/{permission-9847s23s.js → filesystem-0dk0rwka.js} +30 -30
- package/dist/chunks/{permission-zfs8ae4p.js → filesystem-0dygnakk.js} +4 -4
- package/dist/chunks/{permission-bh4xa48x.js → filesystem-0ev610yy.js} +12 -12
- package/dist/chunks/{permission-q0xm7vwc.js → filesystem-0j77ygfz.js} +6 -6
- package/dist/chunks/{permission-tege4b11.js → filesystem-0my2vamg.js} +5 -5
- package/dist/chunks/{permission-0paq2nw3.js → filesystem-0paq2nw3.js} +1 -1
- package/dist/chunks/{permission-he05b9av.js → filesystem-0qa6hg2d.js} +5 -5
- package/dist/chunks/{permission-f62qkzqr.js → filesystem-0ryd0fps.js} +5 -5
- package/dist/chunks/{permission-0vbcp93d.js → filesystem-0vbcp93d.js} +2 -2
- package/dist/chunks/{permission-6pmstnsj.js → filesystem-10h2grd6.js} +11 -11
- package/dist/chunks/{permission-3szweeck.js → filesystem-11p8z3nt.js} +27 -27
- package/dist/chunks/{permission-bjq9a6cv.js → filesystem-18ekssq5.js} +26 -26
- package/dist/chunks/{permission-8dp23d5y.js → filesystem-1cd2s10v.js} +312 -312
- package/dist/chunks/{permission-1dazxqgg.js → filesystem-1dazxqgg.js} +2 -2
- package/dist/chunks/{permission-gxb2xc4n.js → filesystem-1ejg90ew.js} +31 -31
- package/dist/chunks/{permission-gs3s1a1g.js → filesystem-1g96y08y.js} +8 -8
- package/dist/chunks/{permission-snw69ebr.js → filesystem-1kkbmfzx.js} +27 -27
- package/dist/chunks/{permission-4esdh77v.js → filesystem-1mc0gcc5.js} +22 -22
- package/dist/chunks/{permission-wf4t4pr9.js → filesystem-1npxxjtc.js} +12 -12
- package/dist/chunks/{permission-7mdtdzsv.js → filesystem-1w6eav72.js} +40 -40
- package/dist/chunks/{permission-7bsveph7.js → filesystem-1y8z5g4w.js} +10 -10
- package/dist/chunks/{permission-w1134hzq.js → filesystem-1yrx8exs.js} +58 -58
- package/dist/chunks/{permission-8d4qv0d0.js → filesystem-1zacy60w.js} +24 -24
- package/dist/chunks/{permission-21r38tys.js → filesystem-21r38tys.js} +1 -1
- package/dist/chunks/{permission-2a5m3afh.js → filesystem-2a5m3afh.js} +1 -1
- package/dist/chunks/{permission-4ts7tf6z.js → filesystem-2ccvkpx1.js} +2 -2
- package/dist/chunks/{permission-fa1txk6j.js → filesystem-2fyye2bf.js} +16 -16
- package/dist/chunks/{permission-t11xq6tj.js → filesystem-2q9z57te.js} +90 -90
- package/dist/chunks/{permission-4s3y817f.js → filesystem-2vkscmz1.js} +16 -16
- package/dist/chunks/{permission-b9sh834y.js → filesystem-30kepn8q.js} +21 -21
- package/dist/chunks/{permission-kxpygcw9.js → filesystem-35agz59w.js} +4 -4
- package/dist/chunks/{permission-h2b79v29.js → filesystem-3cegwx68.js} +2 -2
- package/dist/chunks/{permission-3fc6dm20.js → filesystem-3fc6dm20.js} +1 -1
- package/dist/chunks/{permission-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
- package/dist/chunks/{permission-117n81gn.js → filesystem-3k6hcm1s.js} +25 -25
- package/dist/chunks/{permission-zvgtbyxv.js → filesystem-3kqa2599.js} +5 -5
- package/dist/chunks/{permission-93d0fgaf.js → filesystem-3qj994h1.js} +18 -18
- package/dist/chunks/{permission-s5tqmk2b.js → filesystem-3smkbt6f.js} +3 -3
- package/dist/chunks/{permission-3smtnn6g.js → filesystem-3smtnn6g.js} +1 -1
- package/dist/chunks/{permission-3tvqynh2.js → filesystem-3tvqynh2.js} +1 -1
- package/dist/chunks/{permission-9sa4gh2r.js → filesystem-3v5tjer0.js} +7 -7
- package/dist/chunks/{permission-3zsf4n22.js → filesystem-3zsf4n22.js} +1 -1
- package/dist/chunks/{permission-tp8czakk.js → filesystem-4407emfp.js} +9 -9
- package/dist/chunks/{permission-b674v2dg.js → filesystem-47jkzegy.js} +5 -5
- package/dist/chunks/{permission-wmg0x48v.js → filesystem-4tje82sx.js} +6 -6
- package/dist/chunks/{permission-qt2z3a0z.js → filesystem-4wft2je9.js} +7 -7
- package/dist/chunks/{permission-54ma36ye.js → filesystem-54ma36ye.js} +1 -1
- package/dist/chunks/{permission-1ygqh575.js → filesystem-56gdpj1q.js} +9 -9
- package/dist/chunks/{permission-0y4cgmp4.js → filesystem-5d68yzj5.js} +34 -34
- package/dist/chunks/{permission-5daktx2q.js → filesystem-5daktx2q.js} +1 -1
- package/dist/chunks/{permission-1sag5cbk.js → filesystem-5gq66ctg.js} +12 -12
- package/dist/chunks/{permission-w42c4fnw.js → filesystem-5k9mpvz5.js} +8 -8
- package/dist/chunks/{permission-5t3nmthw.js → filesystem-5t3nmthw.js} +2 -2
- package/dist/chunks/{permission-8a6ws7jr.js → filesystem-5tcm9639.js} +9 -9
- package/dist/chunks/{permission-wg2rg0ac.js → filesystem-5w1b85vj.js} +20 -20
- package/dist/chunks/{permission-ckn4d4n0.js → filesystem-638jzcf9.js} +11 -11
- package/dist/chunks/{permission-669tq793.js → filesystem-669tq793.js} +1 -1
- package/dist/chunks/{permission-txskj49d.js → filesystem-66c35f44.js} +35 -35
- package/dist/chunks/{permission-ctcgvvdg.js → filesystem-6bxp8d4e.js} +17 -17
- package/dist/chunks/{permission-eyhmtt9d.js → filesystem-6ch0d3kn.js} +14 -14
- package/dist/chunks/{permission-yxe6q6rz.js → filesystem-6erkktj7.js} +43 -43
- package/dist/chunks/{permission-vkpmzzt8.js → filesystem-6ns3svyy.js} +15 -15
- package/dist/chunks/{permission-7nq4gcwr.js → filesystem-6p82jt3d.js} +31 -31
- package/dist/chunks/{permission-16qpx7nr.js → filesystem-6s6p3zn1.js} +59 -59
- package/dist/chunks/{permission-k2cmpvcj.js → filesystem-6ykekk54.js} +3 -3
- package/dist/chunks/{permission-1pxz8ven.js → filesystem-6yz0wx8n.js} +5 -5
- package/dist/chunks/{permission-e9vp1087.js → filesystem-74zmxtxp.js} +15 -15
- package/dist/chunks/{permission-wdntv2ya.js → filesystem-75kqmam7.js} +1 -1
- package/dist/chunks/{permission-ft3hqk2c.js → filesystem-79qaa2kf.js} +9 -9
- package/dist/chunks/{permission-nq2jm7wm.js → filesystem-7ads88xp.js} +11 -11
- package/dist/chunks/{permission-1yne3yyg.js → filesystem-7bga7ps0.js} +14 -14
- package/dist/chunks/{permission-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
- package/dist/chunks/{permission-2k8khapm.js → filesystem-7dqw4kz8.js} +5 -5
- package/dist/chunks/{permission-bm1f71yt.js → filesystem-7m5f9412.js} +8 -8
- package/dist/chunks/{permission-5p26dgf1.js → filesystem-7pf86645.js} +8 -8
- package/dist/chunks/{permission-h9wecem3.js → filesystem-7ry2mxz0.js} +20 -20
- package/dist/chunks/{permission-42q268h3.js → filesystem-847v5pgt.js} +11 -11
- package/dist/chunks/{permission-phg2e2sn.js → filesystem-84dmcwyh.js} +4 -4
- package/dist/chunks/{permission-1dvck2a7.js → filesystem-84h8c373.js} +2 -2
- package/dist/chunks/{permission-w1eejvng.js → filesystem-84txncab.js} +5 -5
- package/dist/chunks/{permission-tcezcvh9.js → filesystem-89znhe33.js} +4 -4
- package/dist/chunks/{permission-gwzpb0ty.js → filesystem-8a65fc54.js} +11 -11
- package/dist/chunks/{permission-8d7r5vzw.js → filesystem-8d7r5vzw.js} +1 -1
- package/dist/chunks/{permission-g3dykj8x.js → filesystem-8n9ywp6t.js} +36 -36
- package/dist/chunks/{permission-r6n7fbrs.js → filesystem-8q0x6p2t.js} +9 -9
- package/dist/chunks/{permission-g0jkb984.js → filesystem-8qhx0rtq.js} +25 -25
- package/dist/chunks/{permission-427t97hr.js → filesystem-8whseyrk.js} +1 -1
- package/dist/chunks/{permission-syf57q56.js → filesystem-8zp79j7j.js} +4 -4
- package/dist/chunks/{permission-44pdqs77.js → filesystem-96ctqc5x.js} +4 -4
- package/dist/chunks/{permission-xeex6rht.js → filesystem-9cyywgrt.js} +3 -3
- package/dist/chunks/{permission-1cfj3sz2.js → filesystem-9et5e0c8.js} +28 -28
- package/dist/chunks/{permission-6q6xj6ja.js → filesystem-9fj76a9k.js} +9 -9
- package/dist/chunks/{permission-atdf7eh5.js → filesystem-9nr1cgt9.js} +15 -15
- package/dist/chunks/{permission-8c7mz2f8.js → filesystem-9ptnejtj.js} +41 -41
- package/dist/chunks/{permission-4stm9d72.js → filesystem-9x8zefvn.js} +12 -12
- package/dist/chunks/{permission-t01vrbfq.js → filesystem-9xnh16f9.js} +5 -5
- package/dist/chunks/{permission-mhkvc446.js → filesystem-a1gpj94z.js} +3 -3
- package/dist/chunks/{permission-0br3sbwn.js → filesystem-a2rpfkac.js} +4 -4
- package/dist/chunks/{permission-b5cw9vpm.js → filesystem-a394ta18.js} +30 -30
- package/dist/chunks/{permission-f6zs8e9m.js → filesystem-a84fs7pf.js} +7 -7
- package/dist/chunks/{permission-3w013awj.js → filesystem-a99akv2k.js} +28 -28
- package/dist/chunks/{permission-aaet6srn.js → filesystem-aaet6srn.js} +2 -2
- package/dist/chunks/{permission-23kefcxh.js → filesystem-aeb4sny1.js} +5 -5
- package/dist/chunks/{permission-5pdtm3ys.js → filesystem-aex2jcjx.js} +6 -6
- package/dist/chunks/{permission-prq7hedt.js → filesystem-aezf2awf.js} +9 -9
- package/dist/chunks/{permission-dde4vtsk.js → filesystem-afs21wh3.js} +4 -4
- package/dist/chunks/{permission-t50re89c.js → filesystem-ap661cbc.js} +43 -43
- package/dist/chunks/filesystem-apczx2yy.js +252 -0
- package/dist/chunks/{permission-4wa8rwpk.js → filesystem-aqd63c5t.js} +24 -24
- package/dist/chunks/{permission-5br537qr.js → filesystem-arfpz5bc.js} +11 -11
- package/dist/chunks/{permission-m8bwxwrt.js → filesystem-at7fx8t4.js} +20 -20
- package/dist/chunks/{permission-g8d3gcyj.js → filesystem-axtvtek4.js} +4 -4
- package/dist/chunks/{permission-aex67bw0.js → filesystem-ay8mf0mt.js} +13 -13
- package/dist/chunks/{permission-vy6b5em3.js → filesystem-azee6x5s.js} +5 -5
- package/dist/chunks/{permission-mryrd6tk.js → filesystem-b3y0v5k5.js} +50 -50
- package/dist/chunks/{permission-q6nxn9wp.js → filesystem-b5213z84.js} +22 -22
- package/dist/chunks/{permission-b6gygkdw.js → filesystem-b6gygkdw.js} +2 -2
- package/dist/chunks/{permission-khyefdxy.js → filesystem-bawtyvfr.js} +2 -2
- package/dist/chunks/{permission-b303bspp.js → filesystem-bbq0j6ta.js} +28 -28
- package/dist/chunks/{permission-m7hn6a2d.js → filesystem-bmcagzxz.js} +11 -11
- package/dist/chunks/{permission-bh1hbe1h.js → filesystem-bn3rhc52.js} +11 -11
- package/dist/chunks/{permission-20ghk96c.js → filesystem-bzg1m3qp.js} +8 -8
- package/dist/chunks/{permission-vyrwxsth.js → filesystem-bzz3kdrt.js} +44 -44
- package/dist/chunks/{permission-tzj50efq.js → filesystem-cft96kz9.js} +9 -9
- package/dist/chunks/{permission-ejz43770.js → filesystem-cqvpsbxa.js} +21 -21
- package/dist/chunks/{permission-tqvcnter.js → filesystem-ct0pajy1.js} +15 -15
- package/dist/chunks/{permission-m3zza4qd.js → filesystem-ctzssw83.js} +8 -8
- package/dist/chunks/{permission-ebv5g6rb.js → filesystem-cz0q7g0x.js} +10 -10
- package/dist/chunks/{permission-48kvmq2v.js → filesystem-dddrhpmg.js} +9 -9
- package/dist/chunks/{permission-5mrbw7fq.js → filesystem-dj1ywzdr.js} +11 -11
- package/dist/chunks/{permission-dmqcgk4z.js → filesystem-dmqcgk4z.js} +2 -2
- package/dist/chunks/{permission-mpk0rfs5.js → filesystem-dnxkq42g.js} +4 -4
- package/dist/chunks/{permission-v3a69pt1.js → filesystem-drvpf3hy.js} +25 -25
- package/dist/chunks/{permission-rxz72ejt.js → filesystem-dx3fq8zr.js} +47 -47
- package/dist/chunks/{permission-9fcxsh5f.js → filesystem-dyxxb0pf.js} +24 -24
- package/dist/chunks/{permission-397jg4w1.js → filesystem-e2fdwa3e.js} +10 -10
- package/dist/chunks/{permission-5qd3pb7m.js → filesystem-e3qxr5gk.js} +2 -2
- package/dist/chunks/{permission-mjgpzvws.js → filesystem-ebfbhmvn.js} +11 -11
- package/dist/chunks/{permission-ef5x83kb.js → filesystem-ef5x83kb.js} +1 -1
- package/dist/chunks/{permission-86x7z8mk.js → filesystem-epq6d0bg.js} +33 -33
- package/dist/chunks/{permission-etq0c3wd.js → filesystem-etq0c3wd.js} +1 -1
- package/dist/chunks/{permission-q4bbj99a.js → filesystem-etvafb8y.js} +4 -4
- package/dist/chunks/{permission-g0445xdp.js → filesystem-eys57y9b.js} +8 -8
- package/dist/chunks/{permission-dq2wvmse.js → filesystem-f2rw3rqw.js} +27 -27
- package/dist/chunks/{permission-71az546q.js → filesystem-f75zav2x.js} +2 -2
- package/dist/chunks/{permission-13778wrb.js → filesystem-fcnd5sz6.js} +34 -34
- package/dist/chunks/{permission-mptdxtwc.js → filesystem-fkd5e0q7.js} +33 -33
- package/dist/chunks/{permission-arp0s1js.js → filesystem-g2k2w7bp.js} +17 -17
- package/dist/chunks/{permission-j061j13j.js → filesystem-g3mpt7p6.js} +10 -10
- package/dist/chunks/{permission-gd4qta3r.js → filesystem-gd4qta3r.js} +1 -1
- package/dist/chunks/{permission-y5vss396.js → filesystem-gkyt9at6.js} +20 -20
- package/dist/chunks/{permission-pgp6m9hj.js → filesystem-gmg08tbf.js} +18 -18
- package/dist/chunks/filesystem-gyce5qg1.js +18 -0
- package/dist/chunks/{permission-fmndxy3v.js → filesystem-h0grdqdb.js} +1 -1
- package/dist/chunks/{permission-5v3gccxq.js → filesystem-h2js7m9j.js} +10 -10
- package/dist/chunks/{permission-bxfv37an.js → filesystem-h62vdr7h.js} +9 -9
- package/dist/chunks/{permission-h6vf3j39.js → filesystem-h6vf3j39.js} +1 -1
- package/dist/chunks/{permission-w3nq1sqw.js → filesystem-hc9acsgr.js} +9 -9
- package/dist/chunks/{permission-mn0p8ahe.js → filesystem-hj225006.js} +20 -20
- package/dist/chunks/{permission-m9q6nt69.js → filesystem-hvvpf5dq.js} +24 -24
- package/dist/chunks/{permission-fx3rfx4k.js → filesystem-hxjgngrj.js} +4 -4
- package/dist/chunks/{permission-1t857hjb.js → filesystem-j4tdrtxm.js} +27 -27
- package/dist/chunks/{permission-j56e64zr.js → filesystem-j56e64zr.js} +1 -1
- package/dist/chunks/{permission-zgmwfj43.js → filesystem-j7ghn0hc.js} +13 -13
- package/dist/chunks/{permission-4kcz70rf.js → filesystem-jepen3yv.js} +41 -41
- package/dist/chunks/{permission-0pzcpm6t.js → filesystem-jfz4p9z2.js} +37 -37
- package/dist/chunks/{permission-dzse07y5.js → filesystem-jkp0d30b.js} +6 -6
- package/dist/chunks/{permission-chrxq3ex.js → filesystem-jmh888fr.js} +9 -9
- package/dist/chunks/{permission-gqnxsmqk.js → filesystem-jt60k175.js} +20 -20
- package/dist/chunks/{permission-sdv7bmzn.js → filesystem-jvkn2v7p.js} +25 -25
- package/dist/chunks/{permission-2wzbqb9r.js → filesystem-jyspzs0j.js} +49 -49
- package/dist/chunks/{permission-5p8agnfn.js → filesystem-k00bp9ns.js} +32 -32
- package/dist/chunks/{permission-k3c624dm.js → filesystem-k3c624dm.js} +3 -3
- package/dist/chunks/{permission-b42h30hg.js → filesystem-k6w0m00t.js} +24 -24
- package/dist/chunks/{permission-awaee7qt.js → filesystem-k8e0krnc.js} +9 -9
- package/dist/chunks/{permission-8zfvddp0.js → filesystem-k8etnr3r.js} +11 -11
- package/dist/chunks/{permission-9e5bzkjp.js → filesystem-kb9j3d72.js} +3 -3
- package/dist/chunks/{permission-snn5f3r6.js → filesystem-kks2x84p.js} +2 -2
- package/dist/chunks/{permission-16k6jy0m.js → filesystem-kmmmaj33.js} +22 -22
- package/dist/chunks/{permission-hkdrtcqn.js → filesystem-kqgfg1gd.js} +8 -8
- package/dist/chunks/{permission-901b4gmn.js → filesystem-kv03y1hk.js} +5 -5
- package/dist/chunks/{permission-m3fdjcah.js → filesystem-m3fdjcah.js} +1 -1
- package/dist/chunks/{permission-086he908.js → filesystem-m70jr5z4.js} +8 -8
- package/dist/chunks/{permission-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
- package/dist/chunks/{permission-mazbtkaa.js → filesystem-mazbtkaa.js} +2 -2
- package/dist/chunks/{permission-4642j3vx.js → filesystem-mfxaeyt0.js} +23 -23
- package/dist/chunks/{permission-t7bca8qw.js → filesystem-mp16q3af.js} +13 -13
- package/dist/chunks/{permission-ea5khhwh.js → filesystem-n2p9bvh6.js} +3 -3
- package/dist/chunks/{permission-7an9geej.js → filesystem-n5a91ywv.js} +13 -13
- package/dist/chunks/{permission-eybdwqys.js → filesystem-natgk2ns.js} +45 -45
- package/dist/chunks/{permission-n75msvb3.js → filesystem-nbc5ax32.js} +18 -18
- package/dist/chunks/{permission-6y7y2jq3.js → filesystem-nbvh7zyw.js} +32 -32
- package/dist/chunks/{permission-ty66kg1s.js → filesystem-ncqdhjqh.js} +18 -18
- package/dist/chunks/{permission-44c94frv.js → filesystem-ne7kg025.js} +17 -17
- package/dist/chunks/{permission-5d37m76b.js → filesystem-nn5kxcxk.js} +13 -13
- package/dist/chunks/{permission-jj2xx5sm.js → filesystem-npxrv172.js} +27 -27
- package/dist/chunks/{permission-m31p0bqh.js → filesystem-ns15zm60.js} +6 -6
- package/dist/chunks/{permission-dpkg50ah.js → filesystem-nxm207yx.js} +4 -4
- package/dist/chunks/{permission-5zha5ybh.js → filesystem-nz55e0bf.js} +97 -97
- package/dist/chunks/{permission-2rxyr410.js → filesystem-pah9j43r.js} +17 -17
- package/dist/chunks/{permission-1s40v1hq.js → filesystem-pfpqtqae.js} +24 -24
- package/dist/chunks/{permission-pjvnvgmy.js → filesystem-pjvnvgmy.js} +1 -1
- package/dist/chunks/{permission-pknna89w.js → filesystem-pknna89w.js} +1 -1
- package/dist/chunks/{permission-00z3vp5f.js → filesystem-pmr4s4kc.js} +4 -4
- package/dist/chunks/{permission-wgvztds3.js → filesystem-ps03ea09.js} +24 -24
- package/dist/chunks/{permission-32ymn5e1.js → filesystem-pxwkarge.js} +9 -9
- package/dist/chunks/{permission-b4twkq7r.js → filesystem-py3kkmfq.js} +6 -6
- package/dist/chunks/{permission-hj5bkg0c.js → filesystem-q3ersh05.js} +4 -4
- package/dist/chunks/{permission-4ykj944w.js → filesystem-q3jarvj1.js} +16 -16
- package/dist/chunks/{permission-hsmyces9.js → filesystem-q4xjqs9h.js} +17 -17
- package/dist/chunks/{permission-h7kksfxb.js → filesystem-q694vrse.js} +75 -75
- package/dist/chunks/{permission-jjs135dp.js → filesystem-qea7y3j0.js} +11 -11
- package/dist/chunks/{permission-qnc92qwc.js → filesystem-qnc92qwc.js} +1 -1
- package/dist/chunks/{permission-qsdy395h.js → filesystem-qsdy395h.js} +1 -1
- package/dist/chunks/{permission-rh87x932.js → filesystem-qwcntv07.js} +9 -9
- package/dist/chunks/{permission-wamf223s.js → filesystem-r05yckk2.js} +31 -31
- package/dist/chunks/filesystem-r41c29vv.js +26 -0
- package/dist/chunks/{permission-9sz3ns9z.js → filesystem-r48gm0ww.js} +11 -11
- package/dist/chunks/{permission-6fad6n0s.js → filesystem-r6xn9bth.js} +13 -13
- package/dist/chunks/{permission-rhraev7y.js → filesystem-r8xr0va3.js} +4 -4
- package/dist/chunks/{permission-rdw6cm16.js → filesystem-rdw6cm16.js} +1 -1
- package/dist/chunks/{permission-363vysxk.js → filesystem-ree5ev3t.js} +12 -12
- package/dist/chunks/{permission-s8d7rejh.js → filesystem-rhjbct0v.js} +4 -4
- package/dist/chunks/{permission-n91my64e.js → filesystem-rt0kvsf5.js} +42 -42
- package/dist/chunks/{permission-ebenfbt3.js → filesystem-rymc5njp.js} +12 -12
- package/dist/chunks/{permission-b3f8fkhc.js → filesystem-scgrse2b.js} +5 -5
- package/dist/chunks/{permission-rkdmpg05.js → filesystem-sj134kkz.js} +6 -6
- package/dist/chunks/{permission-kn2seknj.js → filesystem-spcfjcge.js} +9 -9
- package/dist/chunks/{permission-baaqp4zd.js → filesystem-t7n9q6bq.js} +4 -4
- package/dist/chunks/{permission-tazgh4e4.js → filesystem-tazgh4e4.js} +1 -1
- package/dist/chunks/{permission-277eer69.js → filesystem-tbmac1c7.js} +4 -4
- package/dist/chunks/{permission-tdstcens.js → filesystem-tdstcens.js} +1 -1
- package/dist/chunks/{permission-tvtrv512.js → filesystem-tvtrv512.js} +1 -1
- package/dist/chunks/{permission-s8n6xrap.js → filesystem-v6q6j16c.js} +5 -5
- package/dist/chunks/{permission-veqvce7d.js → filesystem-veqvce7d.js} +1 -1
- package/dist/chunks/{permission-av38vskm.js → filesystem-vgw2dme3.js} +8 -8
- package/dist/chunks/{permission-v3gjzs99.js → filesystem-vjh28280.js} +3 -3
- package/dist/chunks/{permission-pjym4tm7.js → filesystem-vkgtc4qa.js} +18 -18
- package/dist/chunks/{permission-6a32aa16.js → filesystem-vpefsdnb.js} +34 -34
- package/dist/chunks/{permission-ry8zytx7.js → filesystem-vqxrw9st.js} +19 -19
- package/dist/chunks/{permission-2pxtcncc.js → filesystem-vr2a0c8h.js} +32 -32
- package/dist/chunks/{permission-mjymc32g.js → filesystem-vsp1fds9.js} +21 -21
- package/dist/chunks/{permission-x55kpgjh.js → filesystem-vt8t0ymm.js} +48 -48
- package/dist/chunks/{permission-23858g7y.js → filesystem-vw0qja5p.js} +18 -18
- package/dist/chunks/{permission-vzcthcp8.js → filesystem-vzcthcp8.js} +1 -1
- package/dist/chunks/{permission-vzs5sf6e.js → filesystem-vzs5sf6e.js} +1 -1
- package/dist/chunks/{permission-c9m9gr6j.js → filesystem-w0bxms7d.js} +43 -43
- package/dist/chunks/{permission-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
- package/dist/chunks/filesystem-w3xv9s6n.js +507 -0
- package/dist/chunks/{permission-wd87259q.js → filesystem-wd87259q.js} +1 -1
- package/dist/chunks/{permission-05nc3te4.js → filesystem-webnratf.js} +5 -5
- package/dist/chunks/{permission-x1ezjp6w.js → filesystem-x1ezjp6w.js} +1 -1
- package/dist/chunks/{permission-2rydvyqr.js → filesystem-x1w5tsma.js} +25 -25
- package/dist/chunks/{permission-fw2v9256.js → filesystem-x2qdxhwm.js} +8 -8
- package/dist/chunks/{permission-j5gvjp9k.js → filesystem-x80vamh1.js} +11 -11
- package/dist/chunks/{permission-r1hnqs67.js → filesystem-x9w9za6h.js} +18 -18
- package/dist/chunks/{permission-gynh18kz.js → filesystem-xadz8mf8.js} +16 -16
- package/dist/chunks/{permission-fbvwn666.js → filesystem-xd579ncr.js} +11 -11
- package/dist/chunks/{permission-g5w8qwbj.js → filesystem-xfkkasph.js} +4 -4
- package/dist/chunks/{permission-v9mbw1pe.js → filesystem-xg97hmyb.js} +17 -17
- package/dist/chunks/{permission-7jj6yt2j.js → filesystem-xgqg3fa6.js} +15 -15
- package/dist/chunks/{permission-wsxa7d7s.js → filesystem-xkd9f4xc.js} +18 -18
- package/dist/chunks/{permission-trs19xpw.js → filesystem-xkez93e1.js} +32 -32
- package/dist/chunks/{permission-w6fxm1kq.js → filesystem-xqg1ramt.js} +4 -4
- package/dist/chunks/{permission-2drgp2xz.js → filesystem-xwqhtygt.js} +5 -5
- package/dist/chunks/{permission-h7x3m8jh.js → filesystem-xx0dq7m8.js} +5 -5
- package/dist/chunks/{permission-13k77fha.js → filesystem-y06nwv4v.js} +11 -11
- package/dist/chunks/{permission-a80rqdat.js → filesystem-y0bj6ynv.js} +17 -17
- package/dist/chunks/{permission-y1fvbwt7.js → filesystem-y1fvbwt7.js} +1 -1
- package/dist/chunks/{permission-0wb28b8g.js → filesystem-y5dkda77.js} +14 -14
- package/dist/chunks/{permission-qhcgq36x.js → filesystem-ygj42pe4.js} +35 -35
- package/dist/chunks/{permission-0dany8np.js → filesystem-yk2c168m.js} +32 -32
- package/dist/chunks/{permission-yrhqyw5v.js → filesystem-yrhqyw5v.js} +1 -1
- package/dist/chunks/{permission-fnn0cp9k.js → filesystem-ys6344d6.js} +10 -10
- package/dist/chunks/{permission-t5mna4z2.js → filesystem-yvkd9agk.js} +11 -11
- package/dist/chunks/{permission-kp3fwcqd.js → filesystem-z016ngy8.js} +29 -29
- package/dist/chunks/{permission-z0bkrqjs.js → filesystem-z0bkrqjs.js} +1 -1
- package/dist/chunks/{permission-mveer0r4.js → filesystem-z5tskbjx.js} +27 -27
- package/dist/chunks/{permission-mg3z8eej.js → filesystem-z7j7bfad.js} +3 -3
- package/dist/chunks/{permission-vf5t0vns.js → filesystem-z8nc6tc3.js} +179 -179
- package/dist/chunks/{permission-zx0t6fxe.js → filesystem-z971tyb0.js} +10 -10
- package/dist/chunks/{permission-znz0wfdc.js → filesystem-zcp5x14n.js} +23 -23
- package/dist/chunks/{permission-b693h93f.js → filesystem-zfsg1r2z.js} +31 -31
- package/dist/chunks/{permission-t1xes4ae.js → filesystem-zmx4zm5d.js} +20 -20
- package/dist/chunks/{permission-zr2ceqn5.js → filesystem-zr2ceqn5.js} +1 -1
- package/dist/chunks/{permission-zxq2ej10.js → filesystem-zxq2ej10.js} +1 -1
- 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 +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +215 -215
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +77 -77
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- 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 +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +124 -124
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +225 -225
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +224 -224
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +118 -118
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +114 -114
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/permission-119px638.js +0 -252
- package/dist/chunks/permission-9sh4wc5j.js +0 -18
- package/dist/chunks/permission-fjhek9c0.js +0 -26
- package/dist/chunks/permission-hmxprvew.js +0 -507
- /package/dist/chunks/{permission-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{permission-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
- /package/dist/chunks/{permission-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
- /package/dist/chunks/{permission-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
- /package/dist/chunks/{permission-1kg9ymc8.js → filesystem-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{permission-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
- /package/dist/chunks/{permission-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
- /package/dist/chunks/{permission-2axfhc9x.js → filesystem-2axfhc9x.js} +0 -0
- /package/dist/chunks/{permission-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{permission-34c7v6d4.js → filesystem-34c7v6d4.js} +0 -0
- /package/dist/chunks/{permission-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
- /package/dist/chunks/{permission-3asan66x.js → filesystem-3asan66x.js} +0 -0
- /package/dist/chunks/{permission-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
- /package/dist/chunks/{permission-3w5fmr99.js → filesystem-3w5fmr99.js} +0 -0
- /package/dist/chunks/{permission-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
- /package/dist/chunks/{permission-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
- /package/dist/chunks/{permission-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
- /package/dist/chunks/{permission-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{permission-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
- /package/dist/chunks/{permission-53557ph1.js → filesystem-53557ph1.js} +0 -0
- /package/dist/chunks/{permission-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
- /package/dist/chunks/{permission-6prwharc.js → filesystem-6prwharc.js} +0 -0
- /package/dist/chunks/{permission-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
- /package/dist/chunks/{permission-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
- /package/dist/chunks/{permission-822emrt2.js → filesystem-822emrt2.js} +0 -0
- /package/dist/chunks/{permission-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
- /package/dist/chunks/{permission-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
- /package/dist/chunks/{permission-8wj87zfr.js → filesystem-8wj87zfr.js} +0 -0
- /package/dist/chunks/{permission-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
- /package/dist/chunks/{permission-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{permission-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
- /package/dist/chunks/{permission-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
- /package/dist/chunks/{permission-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
- /package/dist/chunks/{permission-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{permission-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
- /package/dist/chunks/{permission-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{permission-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{permission-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
- /package/dist/chunks/{permission-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{permission-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
- /package/dist/chunks/{permission-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{permission-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
- /package/dist/chunks/{permission-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
- /package/dist/chunks/{permission-df08tz66.js → filesystem-df08tz66.js} +0 -0
- /package/dist/chunks/{permission-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
- /package/dist/chunks/{permission-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
- /package/dist/chunks/{permission-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
- /package/dist/chunks/{permission-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
- /package/dist/chunks/{permission-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
- /package/dist/chunks/{permission-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
- /package/dist/chunks/{permission-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
- /package/dist/chunks/{permission-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{permission-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
- /package/dist/chunks/{permission-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
- /package/dist/chunks/{permission-fxgpk5d8.js → filesystem-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{permission-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
- /package/dist/chunks/{permission-g86h250q.js → filesystem-g86h250q.js} +0 -0
- /package/dist/chunks/{permission-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
- /package/dist/chunks/{permission-gftt206x.js → filesystem-gftt206x.js} +0 -0
- /package/dist/chunks/{permission-hjbc5kem.js → filesystem-hjbc5kem.js} +0 -0
- /package/dist/chunks/{permission-hk9envan.js → filesystem-hk9envan.js} +0 -0
- /package/dist/chunks/{permission-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
- /package/dist/chunks/{permission-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{permission-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
- /package/dist/chunks/{permission-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{permission-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{permission-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{permission-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
- /package/dist/chunks/{permission-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
- /package/dist/chunks/{permission-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
- /package/dist/chunks/{permission-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
- /package/dist/chunks/{permission-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
- /package/dist/chunks/{permission-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
- /package/dist/chunks/{permission-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
- /package/dist/chunks/{permission-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
- /package/dist/chunks/{permission-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
- /package/dist/chunks/{permission-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
- /package/dist/chunks/{permission-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
- /package/dist/chunks/{permission-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
- /package/dist/chunks/{permission-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{permission-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{permission-sk3qaz4a.js → filesystem-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{permission-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
- /package/dist/chunks/{permission-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
- /package/dist/chunks/{permission-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{permission-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
- /package/dist/chunks/{permission-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
- /package/dist/chunks/{permission-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
- /package/dist/chunks/{permission-x61499pn.js → filesystem-x61499pn.js} +0 -0
- /package/dist/chunks/{permission-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
- /package/dist/chunks/{permission-y8cydn3q.js → filesystem-y8cydn3q.js} +0 -0
- /package/dist/chunks/{permission-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
- /package/dist/chunks/{permission-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{permission-ym463w8f.js → filesystem-ym463w8f.js} +0 -0
- /package/dist/chunks/{permission-z5v4ffb3.js → filesystem-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{permission-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID8,
|
|
3
|
+
Service53
|
|
4
|
+
} from "./filesystem-z5tskbjx.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service73
|
|
8
|
+
} from "./filesystem-8n9ywp6t.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service58
|
|
12
|
+
} from "./filesystem-dx3fq8zr.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-01m43rby.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service49
|
|
18
|
+
} from "./filesystem-g2k2w7bp.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service50
|
|
22
|
+
} from "./filesystem-1yrx8exs.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service19
|
|
25
|
+
} from "./filesystem-nz55e0bf.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./filesystem-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make10
|
|
31
|
+
} from "./filesystem-k8etnr3r.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input11,
|
|
40
|
+
Output: () => Output8,
|
|
41
|
+
Plugin: () => Plugin13,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description5,
|
|
44
|
+
name: () => name11
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name11 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input11 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input5 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output8 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description5 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,16 +86,16 @@ var description4 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin13 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
92
|
+
const sessions = yield* Service19;
|
|
93
|
+
const jobs = yield* Service49;
|
|
94
|
+
const agents = yield* Service53;
|
|
95
|
+
const config = yield* Service58;
|
|
96
|
+
const permission = yield* Service50;
|
|
97
|
+
const models = yield* Service73;
|
|
98
|
+
const subagents = yield* make10;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin22 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name11,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description5,
|
|
121
|
+
input: Input11,
|
|
122
|
+
output: Output8,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin22 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name11,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin22 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID8.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,7 +218,7 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
-
if (event.tool !==
|
|
221
|
+
if (event.tool !== name11 || !Predicate.isObject(event.input))
|
|
222
222
|
return;
|
|
223
223
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
224
|
return;
|
|
@@ -230,13 +230,13 @@ ${output.output}
|
|
|
230
230
|
event.input = input;
|
|
231
231
|
}));
|
|
232
232
|
const hook = (event) => Effect.gen(function* () {
|
|
233
|
-
const tool = event.tools[
|
|
233
|
+
const tool = event.tools[name11];
|
|
234
234
|
if (!tool)
|
|
235
235
|
return;
|
|
236
236
|
const selected = yield* agents.resolve(event.agent);
|
|
237
237
|
if (!selected)
|
|
238
238
|
return;
|
|
239
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
239
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name11, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
240
240
|
if (available.length === 0)
|
|
241
241
|
return;
|
|
242
242
|
tool.description = [
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name11, Input11, Output8, description5, Plugin13, exports_subagent };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-jepen3yv.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service80,
|
|
9
|
+
node84
|
|
10
|
+
} from "./filesystem-y5dkda77.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service50,
|
|
13
|
+
node53
|
|
14
|
+
} from "./filesystem-1yrx8exs.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
Service: () => Service16,
|
|
26
|
+
node: () => node19,
|
|
27
27
|
resolvePath: () => resolvePath2
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
37
37
|
kind: Kind2.pipe(Schema.optional)
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service16 extends Context.Service()("@opencode/FileAccess") {
|
|
41
41
|
}
|
|
42
42
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
43
43
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -49,10 +49,10 @@ var invocation = (context) => ({
|
|
|
49
49
|
agent: context.agent,
|
|
50
50
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
51
51
|
});
|
|
52
|
-
var layer = Layer.effect(
|
|
52
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
|
-
const location = yield*
|
|
55
|
-
const permission = yield*
|
|
54
|
+
const location = yield* Service80;
|
|
55
|
+
const permission = yield* Service50;
|
|
56
56
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
57
57
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
58
58
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
101
101
|
});
|
|
102
102
|
return target;
|
|
103
103
|
});
|
|
104
|
-
return
|
|
104
|
+
return Service16.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var
|
|
106
|
+
var node19 = makeLocationNode({ service: Service16, layer, deps: [FSUtil.node, node84, node53] });
|
|
107
107
|
|
|
108
|
-
export { Kind2, ResolveInput2,
|
|
108
|
+
export { Kind2, ResolveInput2, Service16, resolvePath2, node19, exports_file_access };
|
|
@@ -2,49 +2,49 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./filesystem-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service80,
|
|
8
|
+
node84
|
|
9
|
+
} from "./filesystem-y5dkda77.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service67,
|
|
12
|
+
node70
|
|
13
|
+
} from "./filesystem-xkez93e1.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
20
20
|
__export(exports_filesystem, {
|
|
21
|
-
Content: () =>
|
|
21
|
+
Content: () => Content3,
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
24
|
DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
|
|
25
25
|
DirectoryNotFoundError: () => DirectoryNotFoundError2,
|
|
26
|
-
Entry: () =>
|
|
27
|
-
Event: () =>
|
|
26
|
+
Entry: () => Entry4,
|
|
27
|
+
Event: () => Event14,
|
|
28
28
|
FileSystem: () => exports_filesystem,
|
|
29
29
|
FindInput: () => FindInput2,
|
|
30
30
|
GlobInput: () => GlobInput2,
|
|
31
31
|
GrepInput: () => GrepInput2,
|
|
32
|
-
ListInput: () =>
|
|
32
|
+
ListInput: () => ListInput5,
|
|
33
33
|
Match: () => Match2,
|
|
34
|
-
NotFoundError: () =>
|
|
34
|
+
NotFoundError: () => NotFoundError8,
|
|
35
35
|
ReadInput: () => ReadInput2,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service66,
|
|
37
37
|
Submatch: () => Submatch2,
|
|
38
38
|
Write: () => Write2,
|
|
39
39
|
WriteInput: () => WriteInput2,
|
|
40
|
-
node: () =>
|
|
40
|
+
node: () => node69
|
|
41
41
|
});
|
|
42
42
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
43
43
|
import path from "path";
|
|
44
44
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
45
45
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
46
46
|
import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
|
|
47
|
-
import { Entry as
|
|
47
|
+
import { Entry as Entry4, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
|
|
48
48
|
var ReadInput2 = Schema.Struct({
|
|
49
49
|
path: RelativePath2
|
|
50
50
|
});
|
|
@@ -53,7 +53,7 @@ var WriteInput2 = Schema.Struct({
|
|
|
53
53
|
data: Schema.Uint8Array
|
|
54
54
|
});
|
|
55
55
|
|
|
56
|
-
class
|
|
56
|
+
class NotFoundError8 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
57
57
|
path: RelativePath2
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
@@ -75,14 +75,14 @@ class DirectoryAccessDeniedError2 extends Schema.TaggedError()("FileSystem.Direc
|
|
|
75
75
|
return `Access denied to directory: ${this.directory}`;
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
-
var
|
|
78
|
+
var Content3 = Schema.Struct({
|
|
79
79
|
uri: Schema.String,
|
|
80
80
|
name: Schema.String.pipe(Schema.optional),
|
|
81
81
|
content: Schema.String,
|
|
82
82
|
encoding: Schema.Literals(["utf8", "base64"]),
|
|
83
83
|
mime: Schema.String
|
|
84
84
|
}).annotate({ identifier: "FileSystem.Content" });
|
|
85
|
-
var
|
|
85
|
+
var ListInput5 = Schema.Struct({
|
|
86
86
|
path: Schema.String.pipe(Schema.optional)
|
|
87
87
|
});
|
|
88
88
|
var DEFAULT_SEARCH_LIMIT2 = 100;
|
|
@@ -105,14 +105,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
105
105
|
limit: Schema.optionalKey(PositiveInt2)
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Event14 = FileSystem.Event;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service66 extends Context.Service()("@opencode/FileSystem") {
|
|
111
111
|
}
|
|
112
|
-
var baseLayer = Layer.effect(
|
|
112
|
+
var baseLayer = Layer.effect(Service66, Effect.gen(function* () {
|
|
113
113
|
const fs = yield* FSUtil.Service;
|
|
114
|
-
const location = yield*
|
|
115
|
-
const search = yield*
|
|
114
|
+
const location = yield* Service80;
|
|
115
|
+
const search = yield* Service67;
|
|
116
116
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.catch((cause) => {
|
|
117
117
|
if (cause.reason._tag === "NotFound")
|
|
118
118
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -129,15 +129,15 @@ var baseLayer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
129
129
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
130
130
|
return { absolute, real, directory: location.directory };
|
|
131
131
|
});
|
|
132
|
-
return
|
|
132
|
+
return Service66.of({
|
|
133
133
|
find: search.find,
|
|
134
134
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
135
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
136
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
135
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError8({ path: input.path })), (_, error) => Effect.die(error)));
|
|
136
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError8({ path: input.path })), (_, error) => Effect.die(error)));
|
|
137
137
|
if (info.type !== "File")
|
|
138
138
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
139
139
|
return {
|
|
140
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
140
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError8({ path: input.path })), (_, error) => Effect.die(error))),
|
|
141
141
|
mime: FSUtil.mimeType(target.real)
|
|
142
142
|
};
|
|
143
143
|
}),
|
|
@@ -166,10 +166,10 @@ var baseLayer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
166
166
|
})
|
|
167
167
|
});
|
|
168
168
|
}));
|
|
169
|
-
var
|
|
170
|
-
service:
|
|
169
|
+
var node69 = makeLocationNode({
|
|
170
|
+
service: Service66,
|
|
171
171
|
layer: baseLayer,
|
|
172
|
-
deps: [FSUtil.node,
|
|
172
|
+
deps: [FSUtil.node, node84, node70]
|
|
173
173
|
});
|
|
174
174
|
|
|
175
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
175
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError8, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, ListInput5, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event14, Service66, node69, exports_filesystem, Entry4, Match2, Submatch2 };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./filesystem-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service69,
|
|
8
|
+
node72
|
|
9
|
+
} from "./filesystem-k6w0m00t.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service68,
|
|
24
|
+
node: () => node71
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service68 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service69;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service68.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node71 = makeLocationNode({ service: Service68, layer, deps: [node72, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error4, InvalidPatternError2, Service68, node71, exports_ripgrep };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./filesystem-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service69,
|
|
8
|
+
node72
|
|
9
|
+
} from "./filesystem-k6w0m00t.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content3
|
|
12
|
+
} from "./filesystem-nbvh7zyw.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service5,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node6,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content3.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service5 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service69;
|
|
335
|
+
return Service5.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node6 = makeLocationNode({ service: Service5, layer, deps: [node72] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service5, read2, node6, exports_read_filesystem };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./filesystem-dx3fq8zr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service31
|
|
6
|
+
} from "./filesystem-jyspzs0j.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigMcpPlugin: () =>
|
|
15
|
-
Plugin: () =>
|
|
12
|
+
var exports_mcp = {};
|
|
13
|
+
__export(exports_mcp, {
|
|
14
|
+
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
+
Plugin: () => Plugin26,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin26 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service58;
|
|
28
|
+
const mcp = yield* Service31;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin26, register2, exports_mcp };
|