@opencode/core 0.0.0-dev-20443 → 0.0.0-dev-20447
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 +77 -77
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{filesystem-1y8z5g4w.js → file-mutation-02mpmyt3.js} +6 -6
- package/dist/chunks/{filesystem-npxrv172.js → file-mutation-06g4wx6w.js} +20 -20
- package/dist/chunks/file-mutation-06tx6k5j.js +252 -0
- package/dist/chunks/{filesystem-q4xjqs9h.js → file-mutation-085sjypf.js} +30 -19
- package/dist/chunks/{filesystem-5d68yzj5.js → file-mutation-0a17sqc3.js} +34 -34
- package/dist/chunks/{filesystem-afs21wh3.js → file-mutation-0d4sk4n7.js} +2 -2
- package/dist/chunks/{filesystem-0j77ygfz.js → file-mutation-0j77ygfz.js} +2 -2
- package/dist/chunks/{filesystem-jfz4p9z2.js → file-mutation-0nrysaxf.js} +33 -33
- package/dist/chunks/{filesystem-0paq2nw3.js → file-mutation-0paq2nw3.js} +1 -1
- package/dist/chunks/{filesystem-vw0qja5p.js → file-mutation-0tq54tbr.js} +15 -15
- package/dist/chunks/{filesystem-dyxxb0pf.js → file-mutation-0v60q3fy.js} +21 -21
- package/dist/chunks/{filesystem-0vbcp93d.js → file-mutation-0vbcp93d.js} +2 -2
- package/dist/chunks/{filesystem-m70jr5z4.js → file-mutation-0vy6ky8v.js} +8 -8
- package/dist/chunks/{filesystem-vt8t0ymm.js → file-mutation-0ynzvma6.js} +48 -48
- package/dist/chunks/{filesystem-aezf2awf.js → file-mutation-11dqjexa.js} +9 -9
- package/dist/chunks/{filesystem-3smkbt6f.js → file-mutation-123f91sp.js} +1 -1
- package/dist/chunks/{filesystem-1w6eav72.js → file-mutation-19xqmxzb.js} +29 -29
- package/dist/chunks/{filesystem-r8xr0va3.js → file-mutation-1acjjqhc.js} +4 -4
- package/dist/chunks/{filesystem-1dazxqgg.js → file-mutation-1dazxqgg.js} +2 -2
- package/dist/chunks/{filesystem-84h8c373.js → file-mutation-1dvck2a7.js} +2 -2
- package/dist/chunks/{filesystem-6p82jt3d.js → file-mutation-1pvcwerr.js} +30 -30
- package/dist/chunks/{filesystem-aeb4sny1.js → file-mutation-1q5awywt.js} +5 -5
- package/dist/chunks/{filesystem-35agz59w.js → file-mutation-1tq060df.js} +6 -6
- package/dist/chunks/{filesystem-1ejg90ew.js → file-mutation-1w1mvqv8.js} +26 -26
- package/dist/chunks/{filesystem-drvpf3hy.js → file-mutation-1y159n3z.js} +17 -17
- package/dist/chunks/{filesystem-56gdpj1q.js → file-mutation-1ygqh575.js} +9 -9
- package/dist/chunks/{filesystem-21r38tys.js → file-mutation-21r38tys.js} +1 -1
- package/dist/chunks/{filesystem-2vkscmz1.js → file-mutation-27dfp4c1.js} +16 -16
- package/dist/chunks/{filesystem-2a5m3afh.js → file-mutation-2a5m3afh.js} +1 -1
- package/dist/chunks/{filesystem-2ccvkpx1.js → file-mutation-2ccvkpx1.js} +2 -2
- package/dist/chunks/{filesystem-ebfbhmvn.js → file-mutation-2gskh1mm.js} +11 -11
- package/dist/chunks/{filesystem-8qhx0rtq.js → file-mutation-2gsmrbz9.js} +13 -13
- package/dist/chunks/{filesystem-0dygnakk.js → file-mutation-2m8jawch.js} +4 -4
- package/dist/chunks/{filesystem-aex2jcjx.js → file-mutation-2yj7y96g.js} +18 -11
- package/dist/chunks/{filesystem-10h2grd6.js → file-mutation-30c7dxhs.js} +10 -10
- package/dist/chunks/{filesystem-cqvpsbxa.js → file-mutation-30p2g8gp.js} +29 -29
- package/dist/chunks/{filesystem-11p8z3nt.js → file-mutation-32e2vp4w.js} +24 -24
- package/dist/chunks/{filesystem-8q0x6p2t.js → file-mutation-350d91h4.js} +9 -9
- package/dist/chunks/{filesystem-kks2x84p.js → file-mutation-35ja2k0w.js} +2 -2
- package/dist/chunks/{filesystem-9fj76a9k.js → file-mutation-3amr84rd.js} +9 -9
- package/dist/chunks/{filesystem-bzz3kdrt.js → file-mutation-3btptz78.js} +17 -17
- package/dist/chunks/{filesystem-3fc6dm20.js → file-mutation-3fc6dm20.js} +1 -1
- package/dist/chunks/{filesystem-azee6x5s.js → file-mutation-3fcjbxc2.js} +5 -5
- package/dist/chunks/{filesystem-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{filesystem-jyspzs0j.js → file-mutation-3kcqw2gn.js} +32 -32
- package/dist/chunks/{filesystem-bzg1m3qp.js → file-mutation-3mrv89nd.js} +8 -8
- package/dist/chunks/{filesystem-jepen3yv.js → file-mutation-3nqcgnfp.js} +23 -23
- package/dist/chunks/{filesystem-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{filesystem-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/{filesystem-3v5tjer0.js → file-mutation-3v5tjer0.js} +2 -2
- package/dist/chunks/{filesystem-4tje82sx.js → file-mutation-3wnc7ezj.js} +6 -6
- package/dist/chunks/{filesystem-3zsf4n22.js → file-mutation-3zsf4n22.js} +1 -1
- package/dist/chunks/{filesystem-at7fx8t4.js → file-mutation-405tx1tk.js} +13 -13
- package/dist/chunks/file-mutation-45th5jwr.js +18 -0
- package/dist/chunks/{filesystem-jt60k175.js → file-mutation-4afe6db8.js} +12 -12
- package/dist/chunks/{filesystem-w0bxms7d.js → file-mutation-4efz7qwp.js} +41 -41
- package/dist/chunks/{filesystem-nz55e0bf.js → file-mutation-4fz4aa1m.js} +83 -83
- package/dist/chunks/{filesystem-kqgfg1gd.js → file-mutation-4t613dbc.js} +8 -8
- package/dist/chunks/{filesystem-66c35f44.js → file-mutation-4vksx2dy.js} +34 -34
- package/dist/chunks/{filesystem-7bga7ps0.js → file-mutation-4vsx94mh.js} +8 -8
- package/dist/chunks/{filesystem-74zmxtxp.js → file-mutation-53km52nr.js} +15 -15
- package/dist/chunks/{filesystem-54ma36ye.js → file-mutation-54ma36ye.js} +1 -1
- package/dist/chunks/{filesystem-a394ta18.js → file-mutation-5bc6zw84.js} +10 -10
- package/dist/chunks/{filesystem-5daktx2q.js → file-mutation-5daktx2q.js} +1 -1
- package/dist/chunks/{filesystem-8zp79j7j.js → file-mutation-5dkn69vz.js} +4 -4
- package/dist/chunks/{filesystem-xgqg3fa6.js → file-mutation-5jjb9dgy.js} +7 -7
- package/dist/chunks/{filesystem-f2rw3rqw.js → file-mutation-5sek2qac.js} +27 -27
- package/dist/chunks/{filesystem-5t3nmthw.js → file-mutation-5t3nmthw.js} +2 -2
- package/dist/chunks/{filesystem-1cd2s10v.js → file-mutation-5ymnsk7v.js} +19 -19
- package/dist/chunks/{filesystem-hj225006.js → file-mutation-5zv360p8.js} +17 -17
- package/dist/chunks/{filesystem-k8etnr3r.js → file-mutation-60we6e45.js} +9 -9
- package/dist/chunks/{filesystem-669tq793.js → file-mutation-669tq793.js} +1 -1
- package/dist/chunks/{filesystem-x80vamh1.js → file-mutation-69ntycvm.js} +8 -8
- package/dist/chunks/{filesystem-6ykekk54.js → file-mutation-6p76pz0z.js} +1 -1
- package/dist/chunks/{filesystem-r48gm0ww.js → file-mutation-6s3vd56s.js} +6 -6
- package/dist/chunks/{filesystem-ct0pajy1.js → file-mutation-6z0j0ya3.js} +15 -15
- package/dist/chunks/{filesystem-f75zav2x.js → file-mutation-71az546q.js} +2 -2
- package/dist/chunks/{filesystem-bn3rhc52.js → file-mutation-794rba6m.js} +8 -8
- package/dist/chunks/{filesystem-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{filesystem-z5tskbjx.js → file-mutation-7cffbw4q.js} +11 -11
- package/dist/chunks/{filesystem-xkez93e1.js → file-mutation-7ja2kgyj.js} +32 -32
- package/dist/chunks/{filesystem-z7j7bfad.js → file-mutation-7kan1wr8.js} +3 -3
- package/dist/chunks/{filesystem-dx3fq8zr.js → file-mutation-7kpmht8a.js} +44 -44
- package/dist/chunks/{filesystem-q694vrse.js → file-mutation-7mmecq5g.js} +67 -67
- package/dist/chunks/{filesystem-spcfjcge.js → file-mutation-7rrbrwx8.js} +9 -9
- package/dist/chunks/{filesystem-fcnd5sz6.js → file-mutation-7wxzh9zb.js} +35 -35
- package/dist/chunks/{filesystem-vqxrw9st.js → file-mutation-7z5nhnbg.js} +18 -18
- package/dist/chunks/{filesystem-84txncab.js → file-mutation-84txncab.js} +1 -1
- package/dist/chunks/{filesystem-8d7r5vzw.js → file-mutation-8d7r5vzw.js} +1 -1
- package/dist/chunks/{filesystem-dj1ywzdr.js → file-mutation-8mpnm3sv.js} +11 -11
- package/dist/chunks/{filesystem-2fyye2bf.js → file-mutation-8mrd4kgm.js} +12 -12
- package/dist/chunks/{filesystem-3k6hcm1s.js → file-mutation-8nf5g5ke.js} +19 -19
- package/dist/chunks/{filesystem-xkd9f4xc.js → file-mutation-8pxr3grp.js} +18 -18
- package/dist/chunks/{filesystem-ps03ea09.js → file-mutation-8qm2jr24.js} +31 -31
- package/dist/chunks/{filesystem-cz0q7g0x.js → file-mutation-91kxkj6b.js} +10 -10
- package/dist/chunks/{filesystem-847v5pgt.js → file-mutation-93pcty3d.js} +11 -11
- package/dist/chunks/{filesystem-vpefsdnb.js → file-mutation-971jmbxj.js} +35 -35
- package/dist/chunks/{filesystem-j7ghn0hc.js → file-mutation-9abq96ts.js} +13 -13
- package/dist/chunks/{filesystem-kb9j3d72.js → file-mutation-9e5bzkjp.js} +3 -3
- package/dist/chunks/{filesystem-x2qdxhwm.js → file-mutation-9ws1drfh.js} +8 -8
- package/dist/chunks/{filesystem-k00bp9ns.js → file-mutation-a1r0v0hv.js} +27 -27
- package/dist/chunks/{filesystem-a2rpfkac.js → file-mutation-a3c7ahw6.js} +4 -4
- package/dist/chunks/{filesystem-axtvtek4.js → file-mutation-a46v4e4v.js} +7 -7
- package/dist/chunks/{filesystem-75kqmam7.js → file-mutation-a70kq73z.js} +1 -1
- package/dist/chunks/{filesystem-aaet6srn.js → file-mutation-aaet6srn.js} +2 -2
- package/dist/chunks/{filesystem-etvafb8y.js → file-mutation-ab26tb5m.js} +4 -4
- package/dist/chunks/{filesystem-b5213z84.js → file-mutation-abfvgvhb.js} +19 -19
- package/dist/chunks/{filesystem-xx0dq7m8.js → file-mutation-afvrez62.js} +3 -3
- package/dist/chunks/{filesystem-gmg08tbf.js → file-mutation-ah7gyhk7.js} +14 -14
- package/dist/chunks/{filesystem-vsp1fds9.js → file-mutation-axmvebxj.js} +4 -4
- package/dist/chunks/{filesystem-scgrse2b.js → file-mutation-b3f8fkhc.js} +5 -5
- package/dist/chunks/{filesystem-py3kkmfq.js → file-mutation-b4twkq7r.js} +6 -6
- package/dist/chunks/{filesystem-b6gygkdw.js → file-mutation-b6gygkdw.js} +2 -2
- package/dist/chunks/{filesystem-7m5f9412.js → file-mutation-b6syrwy2.js} +8 -8
- package/dist/chunks/{filesystem-b3y0v5k5.js → file-mutation-b8de2ks2.js} +47 -47
- package/dist/chunks/{filesystem-xd579ncr.js → file-mutation-b8z0wsc0.js} +8 -8
- package/dist/chunks/{filesystem-9ptnejtj.js → file-mutation-b9hxxmm4.js} +38 -38
- package/dist/chunks/{filesystem-0qa6hg2d.js → file-mutation-bfnsmjbw.js} +5 -5
- package/dist/chunks/{filesystem-jvkn2v7p.js → file-mutation-bg2mdfm2.js} +24 -24
- package/dist/chunks/{filesystem-6s6p3zn1.js → file-mutation-bs25rvjd.js} +56 -56
- package/dist/chunks/{filesystem-yvkd9agk.js → file-mutation-c1c4mmyf.js} +14 -14
- package/dist/chunks/{filesystem-9et5e0c8.js → file-mutation-c4b2jm8a.js} +24 -24
- package/dist/chunks/{filesystem-gkyt9at6.js → file-mutation-cddhvfrj.js} +19 -19
- package/dist/chunks/{filesystem-q3ersh05.js → file-mutation-ck0ahkdp.js} +8 -8
- package/dist/chunks/{filesystem-ay8mf0mt.js → file-mutation-crerbey2.js} +13 -13
- package/dist/chunks/{filesystem-3qj994h1.js → file-mutation-cxbpb961.js} +18 -18
- package/dist/chunks/{filesystem-6ns3svyy.js → file-mutation-cxj5rg6j.js} +15 -15
- package/dist/chunks/{filesystem-kmmmaj33.js → file-mutation-d3etny0e.js} +18 -18
- package/dist/chunks/{filesystem-natgk2ns.js → file-mutation-d3tahmry.js} +37 -37
- package/dist/chunks/{filesystem-vr2a0c8h.js → file-mutation-d8pxmj6e.js} +30 -30
- package/dist/chunks/{filesystem-1mc0gcc5.js → file-mutation-df30mp1e.js} +17 -17
- package/dist/chunks/{filesystem-j4tdrtxm.js → file-mutation-dfb5xyy8.js} +35 -35
- package/dist/chunks/{filesystem-pmr4s4kc.js → file-mutation-dfe8djrf.js} +4 -4
- package/dist/chunks/{filesystem-dmqcgk4z.js → file-mutation-dmqcgk4z.js} +2 -2
- package/dist/chunks/{filesystem-dnxkq42g.js → file-mutation-dnxkq42g.js} +1 -1
- package/dist/chunks/{filesystem-nxm207yx.js → file-mutation-dpkg50ah.js} +4 -4
- package/dist/chunks/{filesystem-6ch0d3kn.js → file-mutation-dq7nnhr6.js} +9 -9
- package/dist/chunks/{filesystem-47jkzegy.js → file-mutation-dvz3zpm9.js} +5 -5
- package/dist/chunks/{filesystem-n2p9bvh6.js → file-mutation-dw2p03ct.js} +3 -3
- package/dist/chunks/{filesystem-mp16q3af.js → file-mutation-e2sbw8kj.js} +13 -13
- package/dist/chunks/{filesystem-8a65fc54.js → file-mutation-eaateh2a.js} +14 -14
- package/dist/chunks/{filesystem-vjh28280.js → file-mutation-eer3hyzn.js} +3 -3
- package/dist/chunks/{filesystem-ef5x83kb.js → file-mutation-ef5x83kb.js} +1 -1
- package/dist/chunks/{filesystem-e2fdwa3e.js → file-mutation-efefhkab.js} +8 -8
- package/dist/chunks/{filesystem-5tcm9639.js → file-mutation-en9mxp96.js} +9 -9
- package/dist/chunks/{filesystem-a1gpj94z.js → file-mutation-eq1pz5kg.js} +3 -3
- package/dist/chunks/{filesystem-hxjgngrj.js → file-mutation-es0mp7kp.js} +4 -4
- package/dist/chunks/{filesystem-nbvh7zyw.js → file-mutation-etg83xpv.js} +32 -32
- package/dist/chunks/{filesystem-etq0c3wd.js → file-mutation-etq0c3wd.js} +1 -1
- package/dist/chunks/{filesystem-cft96kz9.js → file-mutation-exgzb2ef.js} +9 -9
- package/dist/chunks/{filesystem-nbc5ax32.js → file-mutation-f2c481pc.js} +16 -16
- package/dist/chunks/{filesystem-7ry2mxz0.js → file-mutation-f471j0ph.js} +12 -12
- package/dist/chunks/{filesystem-epq6d0bg.js → file-mutation-f4teqsxm.js} +12 -12
- package/dist/chunks/{filesystem-4wft2je9.js → file-mutation-f8knjmwx.js} +7 -7
- package/dist/chunks/{filesystem-q3jarvj1.js → file-mutation-faxrmdye.js} +8 -8
- package/dist/chunks/{filesystem-7dqw4kz8.js → file-mutation-fcrkznn8.js} +5 -5
- package/dist/chunks/{filesystem-7ads88xp.js → file-mutation-fdxwsxq8.js} +6 -6
- package/dist/chunks/{filesystem-0ryd0fps.js → file-mutation-fhz5gfgy.js} +5 -5
- package/dist/chunks/{filesystem-bawtyvfr.js → file-mutation-fj4szt4h.js} +2 -2
- package/dist/chunks/{filesystem-9xnh16f9.js → file-mutation-frx098gj.js} +5 -5
- package/dist/chunks/{filesystem-1yrx8exs.js → file-mutation-fw9nps2q.js} +29 -29
- package/dist/chunks/{filesystem-0dk0rwka.js → file-mutation-g1m3h83e.js} +23 -23
- package/dist/chunks/{filesystem-xfkkasph.js → file-mutation-g5w8qwbj.js} +4 -4
- package/dist/chunks/{filesystem-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{filesystem-qwcntv07.js → file-mutation-gddej1j8.js} +9 -9
- package/dist/chunks/{filesystem-xg97hmyb.js → file-mutation-ge03txwd.js} +20 -20
- package/dist/chunks/{filesystem-ys6344d6.js → file-mutation-gh2amhk9.js} +11 -11
- package/dist/chunks/{filesystem-zmx4zm5d.js → file-mutation-gv52jf4x.js} +9 -9
- package/dist/chunks/{filesystem-k8e0krnc.js → file-mutation-gzbkpp9m.js} +9 -9
- package/dist/chunks/{filesystem-y0bj6ynv.js → file-mutation-h17jjak5.js} +13 -13
- package/dist/chunks/{filesystem-3cegwx68.js → file-mutation-h2b79v29.js} +2 -2
- package/dist/chunks/{filesystem-xadz8mf8.js → file-mutation-h2nds8g1.js} +16 -16
- package/dist/chunks/{filesystem-y06nwv4v.js → file-mutation-h50deg1f.js} +11 -11
- package/dist/chunks/{filesystem-8whseyrk.js → file-mutation-h5w29vws.js} +1 -1
- package/dist/chunks/{filesystem-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{filesystem-x9w9za6h.js → file-mutation-hb8c03b1.js} +18 -18
- package/dist/chunks/{filesystem-30kepn8q.js → file-mutation-hbr9pfg0.js} +21 -21
- package/dist/chunks/{filesystem-sj134kkz.js → file-mutation-hnjhetmx.js} +6 -6
- package/dist/chunks/{filesystem-pfpqtqae.js → file-mutation-hqkfa61k.js} +33 -33
- package/dist/chunks/{filesystem-rt0kvsf5.js → file-mutation-hs94awhq.js} +28 -28
- package/dist/chunks/{filesystem-6yz0wx8n.js → file-mutation-j29a7fks.js} +5 -5
- package/dist/chunks/{filesystem-1npxxjtc.js → file-mutation-j3636f00.js} +6 -6
- package/dist/chunks/{filesystem-xwqhtygt.js → file-mutation-j4rcav1h.js} +2 -2
- package/dist/chunks/{filesystem-j56e64zr.js → file-mutation-j56e64zr.js} +1 -1
- package/dist/chunks/{filesystem-tbmac1c7.js → file-mutation-j5rxtxht.js} +4 -4
- package/dist/chunks/{filesystem-jkp0d30b.js → file-mutation-j5w2yx54.js} +6 -6
- package/dist/chunks/{filesystem-96ctqc5x.js → file-mutation-j8afcsyc.js} +4 -4
- package/dist/chunks/{filesystem-6bxp8d4e.js → file-mutation-j8cgstsh.js} +15 -15
- package/dist/chunks/{filesystem-7pf86645.js → file-mutation-jbjey0e3.js} +11 -11
- package/dist/chunks/{filesystem-kv03y1hk.js → file-mutation-jmqs9vhh.js} +5 -5
- package/dist/chunks/{filesystem-5k9mpvz5.js → file-mutation-jntaw98r.js} +6 -6
- package/dist/chunks/{filesystem-w3xv9s6n.js → file-mutation-jvksfb2n.js} +308 -308
- package/dist/chunks/{filesystem-zfsg1r2z.js → file-mutation-jw2tn658.js} +22 -22
- package/dist/chunks/file-mutation-k2aq9crv.js +26 -0
- package/dist/chunks/{filesystem-k3c624dm.js → file-mutation-k3c624dm.js} +3 -3
- package/dist/chunks/{filesystem-pxwkarge.js → file-mutation-k8s7jp5m.js} +6 -6
- package/dist/chunks/{filesystem-ne7kg025.js → file-mutation-k9yb22rs.js} +17 -17
- package/dist/chunks/{filesystem-9cyywgrt.js → file-mutation-kvdhyq3q.js} +1 -1
- package/dist/chunks/{filesystem-0ev610yy.js → file-mutation-kwq42dss.js} +12 -12
- package/dist/chunks/{filesystem-zcp5x14n.js → file-mutation-m1hwfr34.js} +20 -20
- package/dist/chunks/{filesystem-m3fdjcah.js → file-mutation-m3fdjcah.js} +1 -1
- package/dist/chunks/{filesystem-jmh888fr.js → file-mutation-m69d1h5c.js} +8 -8
- package/dist/chunks/{filesystem-xqg1ramt.js → file-mutation-m7xn29b6.js} +4 -4
- package/dist/chunks/{filesystem-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{filesystem-mazbtkaa.js → file-mutation-mazbtkaa.js} +2 -2
- package/dist/chunks/{filesystem-ygj42pe4.js → file-mutation-mde00trs.js} +31 -31
- package/dist/chunks/{filesystem-0my2vamg.js → file-mutation-mmegcj2n.js} +5 -5
- package/dist/chunks/{filesystem-4407emfp.js → file-mutation-mpyws8re.js} +9 -9
- package/dist/chunks/{filesystem-g2k2w7bp.js → file-mutation-mtcp9gxf.js} +17 -17
- package/dist/chunks/{filesystem-h62vdr7h.js → file-mutation-mv8qn0d1.js} +10 -10
- package/dist/chunks/{filesystem-v6q6j16c.js → file-mutation-nkmhzjn0.js} +3 -3
- package/dist/chunks/{filesystem-3kqa2599.js → file-mutation-nmh5hv95.js} +3 -3
- package/dist/chunks/{filesystem-1kkbmfzx.js → file-mutation-nmv5v3dc.js} +27 -27
- package/dist/chunks/{filesystem-01m43rby.js → file-mutation-nvxqht09.js} +2 -2
- package/dist/chunks/{filesystem-aqd63c5t.js → file-mutation-nx97ad9f.js} +22 -22
- package/dist/chunks/{filesystem-eys57y9b.js → file-mutation-p37cw4rj.js} +8 -8
- package/dist/chunks/{filesystem-vgw2dme3.js → file-mutation-p558d1j2.js} +8 -8
- package/dist/chunks/{filesystem-ns15zm60.js → file-mutation-p5c89f54.js} +6 -6
- package/dist/chunks/{filesystem-qea7y3j0.js → file-mutation-pjm11dy8.js} +9 -9
- package/dist/chunks/{filesystem-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{filesystem-pknna89w.js → file-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{filesystem-1g96y08y.js → file-mutation-pn3cc07s.js} +8 -8
- package/dist/chunks/{filesystem-ncqdhjqh.js → file-mutation-pnppyfvq.js} +18 -18
- package/dist/chunks/{filesystem-84dmcwyh.js → file-mutation-q3gt93a2.js} +4 -4
- package/dist/chunks/{filesystem-8n9ywp6t.js → file-mutation-q4de835y.js} +23 -23
- package/dist/chunks/{filesystem-mfxaeyt0.js → file-mutation-q8ckvk3w.js} +9 -9
- package/dist/chunks/{filesystem-r6xn9bth.js → file-mutation-qchbb8jr.js} +13 -13
- package/dist/chunks/{filesystem-bbq0j6ta.js → file-mutation-qjv8x3xg.js} +18 -18
- package/dist/chunks/{filesystem-qnc92qwc.js → file-mutation-qnc92qwc.js} +1 -1
- package/dist/chunks/{filesystem-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{filesystem-z8nc6tc3.js → file-mutation-qsfy776b.js} +118 -118
- package/dist/chunks/{filesystem-9nr1cgt9.js → file-mutation-qvmrrkn4.js} +9 -9
- package/dist/chunks/{filesystem-webnratf.js → file-mutation-qzx0ab9v.js} +1 -1
- package/dist/chunks/{filesystem-79qaa2kf.js → file-mutation-r2m716tb.js} +9 -9
- package/dist/chunks/{filesystem-ree5ev3t.js → file-mutation-r44petzp.js} +12 -12
- package/dist/chunks/{filesystem-pah9j43r.js → file-mutation-r4ra9f67.js} +11 -11
- package/dist/chunks/{filesystem-rdw6cm16.js → file-mutation-rdw6cm16.js} +1 -1
- package/dist/chunks/{filesystem-h2js7m9j.js → file-mutation-rjd8b1f0.js} +8 -8
- package/dist/chunks/{filesystem-z016ngy8.js → file-mutation-s6qqwf79.js} +18 -18
- package/dist/chunks/{filesystem-vkgtc4qa.js → file-mutation-smcmy5n9.js} +13 -13
- package/dist/chunks/{filesystem-yk2c168m.js → file-mutation-srx8aqwq.js} +27 -27
- package/dist/chunks/{filesystem-r05yckk2.js → file-mutation-ssx3rgd2.js} +33 -33
- package/dist/chunks/{filesystem-rhjbct0v.js → file-mutation-t550f9t1.js} +4 -4
- package/dist/chunks/{filesystem-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{filesystem-89znhe33.js → file-mutation-tcezcvh9.js} +4 -4
- package/dist/chunks/{filesystem-tdstcens.js → file-mutation-tdstcens.js} +1 -1
- package/dist/chunks/{filesystem-h0grdqdb.js → file-mutation-ttb5pqry.js} +1 -1
- package/dist/chunks/{filesystem-tvtrv512.js → file-mutation-tvtrv512.js} +1 -1
- package/dist/chunks/{filesystem-k6w0m00t.js → file-mutation-txq1wgms.js} +24 -24
- package/dist/chunks/{filesystem-t7n9q6bq.js → file-mutation-tz4n1mmd.js} +4 -4
- package/dist/chunks/{filesystem-5w1b85vj.js → file-mutation-v5ganw7f.js} +18 -18
- package/dist/chunks/{filesystem-x1w5tsma.js → file-mutation-vc1fft1y.js} +22 -22
- package/dist/chunks/{filesystem-a84fs7pf.js → file-mutation-vcxjdkvk.js} +7 -7
- package/dist/chunks/{filesystem-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{filesystem-g3mpt7p6.js → file-mutation-vestgjg2.js} +10 -10
- package/dist/chunks/{filesystem-fkd5e0q7.js → file-mutation-vr6q59r9.js} +24 -24
- package/dist/chunks/{filesystem-vzcthcp8.js → file-mutation-vzcthcp8.js} +1 -1
- package/dist/chunks/{filesystem-vzs5sf6e.js → file-mutation-vzs5sf6e.js} +1 -1
- package/dist/chunks/{filesystem-ctzssw83.js → file-mutation-w1ad28wa.js} +8 -8
- package/dist/chunks/{filesystem-z971tyb0.js → file-mutation-w2kzc4js.js} +8 -8
- package/dist/chunks/{filesystem-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{filesystem-wd87259q.js → file-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{filesystem-bmcagzxz.js → file-mutation-wgbd6vqr.js} +11 -11
- package/dist/chunks/{filesystem-x1ezjp6w.js → file-mutation-x1ezjp6w.js} +1 -1
- package/dist/chunks/{filesystem-rymc5njp.js → file-mutation-x4fwfb4w.js} +7 -7
- package/dist/chunks/{filesystem-arfpz5bc.js → file-mutation-x9r28hpy.js} +11 -11
- package/dist/chunks/{filesystem-6erkktj7.js → file-mutation-xge32yc5.js} +43 -43
- package/dist/chunks/{filesystem-hc9acsgr.js → file-mutation-xs0sd5xy.js} +9 -9
- package/dist/chunks/{filesystem-5gq66ctg.js → file-mutation-xy26ekgv.js} +12 -12
- package/dist/chunks/{filesystem-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{filesystem-638jzcf9.js → file-mutation-y7qwnmy1.js} +9 -9
- package/dist/chunks/{filesystem-hvvpf5dq.js → file-mutation-yb42xt1h.js} +25 -25
- package/dist/chunks/{filesystem-dddrhpmg.js → file-mutation-yckxb0kb.js} +9 -9
- package/dist/chunks/{filesystem-9x8zefvn.js → file-mutation-ygs5atcy.js} +21 -21
- package/dist/chunks/{filesystem-ap661cbc.js → file-mutation-yj11y499.js} +33 -33
- package/dist/chunks/{filesystem-n5a91ywv.js → file-mutation-yjhj7111.js} +13 -13
- package/dist/chunks/{filesystem-yrhqyw5v.js → file-mutation-yrhqyw5v.js} +1 -1
- package/dist/chunks/{filesystem-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{filesystem-1zacy60w.js → file-mutation-z2w5m8mv.js} +24 -24
- package/dist/chunks/{filesystem-y5dkda77.js → file-mutation-z6cfb29r.js} +14 -14
- package/dist/chunks/{filesystem-nn5kxcxk.js → file-mutation-zfg8098r.js} +11 -11
- package/dist/chunks/{filesystem-2q9z57te.js → file-mutation-zh2r3c6m.js} +78 -78
- package/dist/chunks/{filesystem-18ekssq5.js → file-mutation-zqjw1a65.js} +25 -25
- package/dist/chunks/{filesystem-zr2ceqn5.js → file-mutation-zr2ceqn5.js} +1 -1
- package/dist/chunks/{filesystem-a99akv2k.js → file-mutation-zsfb27kr.js} +22 -22
- package/dist/chunks/{filesystem-zxq2ej10.js → file-mutation-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 +85 -85
- 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 +121 -121
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +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 +70 -70
- 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 +228 -228
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +74 -74
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +101 -101
- 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 +79 -79
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +81 -81
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +130 -130
- 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 +99 -99
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +98 -98
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +105 -105
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- 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 +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- 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 +226 -226
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +93 -93
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +7 -7
- 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 +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +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 +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +120 -120
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +120 -120
- 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 +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/filesystem-apczx2yy.js +0 -252
- package/dist/chunks/filesystem-gyce5qg1.js +0 -18
- package/dist/chunks/filesystem-r41c29vv.js +0 -26
- /package/dist/chunks/{filesystem-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{filesystem-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{filesystem-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{filesystem-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{filesystem-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{filesystem-24dcb14g.js → file-mutation-24dcb14g.js} +0 -0
- /package/dist/chunks/{filesystem-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{filesystem-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{filesystem-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{filesystem-34c7v6d4.js → file-mutation-34c7v6d4.js} +0 -0
- /package/dist/chunks/{filesystem-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{filesystem-3asan66x.js → file-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{filesystem-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{filesystem-3w5fmr99.js → file-mutation-3w5fmr99.js} +0 -0
- /package/dist/chunks/{filesystem-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{filesystem-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{filesystem-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{filesystem-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{filesystem-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{filesystem-53557ph1.js → file-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{filesystem-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{filesystem-6prwharc.js → file-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{filesystem-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{filesystem-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{filesystem-822emrt2.js → file-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{filesystem-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{filesystem-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{filesystem-8wj87zfr.js → file-mutation-8wj87zfr.js} +0 -0
- /package/dist/chunks/{filesystem-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{filesystem-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{filesystem-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{filesystem-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{filesystem-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{filesystem-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{filesystem-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{filesystem-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{filesystem-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{filesystem-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{filesystem-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{filesystem-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{filesystem-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{filesystem-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{filesystem-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{filesystem-df08tz66.js → file-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{filesystem-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{filesystem-e3qxr5gk.js → file-mutation-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{filesystem-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{filesystem-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{filesystem-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{filesystem-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{filesystem-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{filesystem-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{filesystem-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{filesystem-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{filesystem-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{filesystem-fxgpk5d8.js → file-mutation-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{filesystem-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{filesystem-g86h250q.js → file-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{filesystem-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{filesystem-gftt206x.js → file-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{filesystem-hjbc5kem.js → file-mutation-hjbc5kem.js} +0 -0
- /package/dist/chunks/{filesystem-hk9envan.js → file-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{filesystem-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{filesystem-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{filesystem-jjkms2e6.js → file-mutation-jjkms2e6.js} +0 -0
- /package/dist/chunks/{filesystem-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{filesystem-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{filesystem-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{filesystem-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{filesystem-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{filesystem-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{filesystem-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{filesystem-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{filesystem-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{filesystem-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{filesystem-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{filesystem-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{filesystem-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{filesystem-qg3g05ea.js → file-mutation-qg3g05ea.js} +0 -0
- /package/dist/chunks/{filesystem-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{filesystem-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{filesystem-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{filesystem-sk3qaz4a.js → file-mutation-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{filesystem-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{filesystem-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{filesystem-wc3fc9cn.js → file-mutation-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{filesystem-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{filesystem-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{filesystem-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{filesystem-x61499pn.js → file-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{filesystem-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{filesystem-y8cydn3q.js → file-mutation-y8cydn3q.js} +0 -0
- /package/dist/chunks/{filesystem-y8f7s663.js → file-mutation-y8f7s663.js} +0 -0
- /package/dist/chunks/{filesystem-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{filesystem-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{filesystem-z5v4ffb3.js → file-mutation-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{filesystem-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service72
|
|
3
|
+
} from "./file-mutation-nx97ad9f.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-t550f9t1.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service33
|
|
13
|
+
} from "./file-mutation-qjv8x3xg.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service79
|
|
16
|
+
} from "./file-mutation-z6cfb29r.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin23
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
30
|
import { dirname, join } from "path";
|
|
31
31
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin23 = define({
|
|
33
33
|
id: "opencode.config.instruction",
|
|
34
34
|
effect: Effect.fn(function* () {
|
|
35
|
-
const discovery = yield*
|
|
35
|
+
const discovery = yield* Service33;
|
|
36
36
|
if (!discovery.project && !discovery.global)
|
|
37
37
|
return;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const global = yield* Global.Service;
|
|
41
|
-
const location = yield*
|
|
42
|
-
const watcher = yield*
|
|
41
|
+
const location = yield* Service79;
|
|
42
|
+
const watcher = yield* Service72;
|
|
43
43
|
const changes = yield* PubSub.sliding(1);
|
|
44
44
|
const lock = Semaphore.makeUnsafe(1);
|
|
45
45
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
|
|
|
114
114
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export {
|
|
117
|
+
export { Plugin23, exports_instruction };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-faxrmdye.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./file-mutation-e2sbw8kj.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service20,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-mutation-45th5jwr.js";
|
|
17
17
|
import {
|
|
18
18
|
make12,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-mutation-qsfy776b.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event3,
|
|
30
30
|
ID: () => ID2,
|
|
31
31
|
Info: () => Info2,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service20,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node18
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event3, ID as ID2, Info as Info2, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
43
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
44
44
|
const bus = yield* Service82;
|
|
45
|
-
const kv = yield*
|
|
45
|
+
const kv = yield* Service83;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service20.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node18 = Node.makeLocationNode({
|
|
226
|
+
service: Service20,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node18, exports_plugin2, Event3, ID2, Info2, Source2, State2 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID8,
|
|
3
3
|
Service53
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-7cffbw4q.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service74
|
|
8
|
+
} from "./file-mutation-q4de835y.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service71
|
|
12
|
+
} from "./file-mutation-7kpmht8a.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-nvxqht09.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service56
|
|
18
|
+
} from "./file-mutation-mtcp9gxf.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
21
|
Service50
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./file-mutation-fw9nps2q.js";
|
|
23
23
|
import {
|
|
24
24
|
Service19
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./file-mutation-4fz4aa1m.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./file-mutation-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make11
|
|
31
|
+
} from "./file-mutation-60we6e45.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./file-mutation-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: () => Input7,
|
|
40
|
+
Output: () => Output6,
|
|
41
|
+
Plugin: () => Plugin41,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description4,
|
|
44
|
+
name: () => name7
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name7 = "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 Input7 = 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 Input11 = 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 Output6 = 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 description4 = [
|
|
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 description5 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin41 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
92
|
const sessions = yield* Service19;
|
|
93
|
-
const jobs = yield*
|
|
93
|
+
const jobs = yield* Service56;
|
|
94
94
|
const agents = yield* Service53;
|
|
95
|
-
const config = yield*
|
|
95
|
+
const config = yield* Service71;
|
|
96
96
|
const permission = yield* Service50;
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
97
|
+
const models = yield* Service74;
|
|
98
|
+
const subagents = yield* make11;
|
|
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 Plugin13 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name7,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description4,
|
|
121
|
+
input: Input7,
|
|
122
|
+
output: Output6,
|
|
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 Plugin13 = {
|
|
|
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: name7,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -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 !== name7 || !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[name7];
|
|
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(name7, 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 { name7, Input7, Output6, description4, Plugin41, exports_subagent };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./file-mutation-z6cfb29r.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service66
|
|
6
|
+
} from "./file-mutation-txq1wgms.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service65,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-mutation-9abq96ts.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service70
|
|
14
|
+
} from "./file-mutation-8pxr3grp.js";
|
|
15
15
|
import {
|
|
16
16
|
Service50
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-mutation-fw9nps2q.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service49,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-mutation-f2c481pc.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-mutation-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input5,
|
|
34
|
+
Output: () => Output5,
|
|
35
|
+
Plugin: () => Plugin39,
|
|
36
|
+
name: () => name5
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name5 = "edit";
|
|
43
|
+
var Input5 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input4 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output5 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin39 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const fileMutation = yield*
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const formatter = yield*
|
|
113
|
-
const location = yield*
|
|
109
|
+
const access = yield* Service49;
|
|
110
|
+
const fileMutation = yield* Service65;
|
|
111
|
+
const environment = yield* Service66;
|
|
112
|
+
const formatter = yield* Service70;
|
|
113
|
+
const location = yield* Service79;
|
|
114
114
|
const permission = yield* Service50;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
|
-
name:
|
|
116
|
+
name: name5,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
118
118
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
119
|
-
input:
|
|
120
|
-
output:
|
|
119
|
+
input: Input5,
|
|
120
|
+
output: Output5,
|
|
121
121
|
execute: (input, context) => {
|
|
122
122
|
return Effect.gen(function* () {
|
|
123
123
|
const permissionSource = {
|
|
@@ -194,4 +194,4 @@ var Plugin5 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { name5, Input5, Output5, Plugin39, exports_edit };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-faxrmdye.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./file-mutation-z6cfb29r.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-mutation-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
Service52,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
node54
|
|
15
|
+
} from "./file-mutation-h17jjak5.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service11,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node13
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service11 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service82;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const store = yield* Service52;
|
|
41
|
-
const location = yield*
|
|
41
|
+
const location = yield* Service79;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service11.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node13 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [node86, FSUtil.node,
|
|
101
|
+
deps: [node86, FSUtil.node, node83, node54]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service11, node13, exports_instructions };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service79
|
|
9
|
+
} from "./file-mutation-z6cfb29r.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service66
|
|
12
|
+
} from "./file-mutation-txq1wgms.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service43
|
|
16
|
+
} from "./file-mutation-pnppyfvq.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
|
-
|
|
21
|
+
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-mutation-etg83xpv.js";
|
|
24
24
|
import {
|
|
25
25
|
Service50
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-mutation-fw9nps2q.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service49
|
|
29
|
+
} from "./file-mutation-f2c481pc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input2,
|
|
39
|
+
Output: () => Output2,
|
|
40
|
+
Plugin: () => Plugin36,
|
|
41
|
+
name: () => name2,
|
|
42
|
+
toModelContent: () => toModelContent2
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name2 = "grep";
|
|
48
|
+
var Input2 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input9 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output2 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent2 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent5 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin36 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
89
|
+
const environment = yield* Service66;
|
|
90
|
+
const ripgrep = yield* Service43;
|
|
91
|
+
const location = yield* Service79;
|
|
92
|
+
const access = yield* Service49;
|
|
93
93
|
const permission = yield* Service50;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name2,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input2,
|
|
99
|
+
output: Output2,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name2,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -136,7 +136,7 @@ var Plugin11 = {
|
|
|
136
136
|
}))
|
|
137
137
|
}), Effect.map((result) => result.map((match) => Match2.make({
|
|
138
138
|
...match,
|
|
139
|
-
entry:
|
|
139
|
+
entry: Entry2.make({
|
|
140
140
|
...match.entry,
|
|
141
141
|
path: RelativePath2.make(path.relative(location.directory, path.resolve(cwd, match.entry.path)))
|
|
142
142
|
})
|
|
@@ -144,7 +144,7 @@ var Plugin11 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent2(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin11 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name2, Input2, Output2, toModelContent2, Plugin36, exports_grep };
|