@opencode/core 0.0.0-dev-20634 → 0.0.0-dev-20637
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 +5 -5
- package/dist/bus.js +75 -75
- package/dist/chunks/{ripgrep-f0dkdsq1.js → provider-02jgg23j.js} +43 -43
- package/dist/chunks/{ripgrep-9cwpj9ng.js → provider-09q1rvk8.js} +15 -15
- package/dist/chunks/{ripgrep-crcmjdtg.js → provider-0jq8n27z.js} +21 -21
- package/dist/chunks/{ripgrep-0paq2nw3.js → provider-0paq2nw3.js} +1 -1
- package/dist/chunks/{ripgrep-0vbcp93d.js → provider-0vbcp93d.js} +2 -2
- package/dist/chunks/{ripgrep-hfzgxkwx.js → provider-0ym7r8mw.js} +1 -1
- package/dist/chunks/{ripgrep-1acjjqhc.js → provider-1acjjqhc.js} +1 -1
- package/dist/chunks/{ripgrep-1dazxqgg.js → provider-1dazxqgg.js} +2 -2
- package/dist/chunks/{ripgrep-1dvck2a7.js → provider-1dvck2a7.js} +2 -2
- package/dist/chunks/{ripgrep-dzxd22x2.js → provider-1qwpq4r3.js} +9 -9
- package/dist/chunks/{ripgrep-ytj75ggh.js → provider-1vcbmft8.js} +25 -25
- package/dist/chunks/{ripgrep-mfqp6xfm.js → provider-1ygqh575.js} +6 -6
- package/dist/chunks/{ripgrep-b94zytem.js → provider-2502a444.js} +14 -14
- package/dist/chunks/{ripgrep-2a5m3afh.js → provider-2a5m3afh.js} +1 -1
- package/dist/chunks/{ripgrep-6s4xe45t.js → provider-2dsr8txv.js} +25 -25
- package/dist/chunks/{ripgrep-838kzc8c.js → provider-2jdp9x1k.js} +5 -5
- package/dist/chunks/{ripgrep-qgn6gcr1.js → provider-2k8khapm.js} +5 -5
- package/dist/chunks/{ripgrep-y88nahzz.js → provider-2tfb63jn.js} +1 -1
- package/dist/chunks/{ripgrep-kf1mpqzp.js → provider-2xj975mh.js} +3 -3
- package/dist/chunks/{ripgrep-jq45s55z.js → provider-33cp61c9.js} +11 -11
- package/dist/chunks/{ripgrep-bpw2rrm0.js → provider-394yer4d.js} +23 -23
- package/dist/chunks/{ripgrep-3fc6dm20.js → provider-3fc6dm20.js} +1 -1
- package/dist/chunks/{ripgrep-247t9d9n.js → provider-3ffq614d.js} +8 -8
- package/dist/chunks/{ripgrep-vgzk2pn2.js → provider-3fgq8q2e.js} +9 -9
- package/dist/chunks/{ripgrep-3hepkmqq.js → provider-3hepkmqq.js} +1 -1
- package/dist/chunks/{ripgrep-d7pk3s54.js → provider-3qp2570d.js} +26 -26
- package/dist/chunks/{ripgrep-0k8zvg2a.js → provider-3rctq0x8.js} +22 -22
- package/dist/chunks/{ripgrep-yrcj3v3g.js → provider-3sj8yt8v.js} +4 -4
- package/dist/chunks/{ripgrep-3smtnn6g.js → provider-3smtnn6g.js} +1 -1
- package/dist/chunks/{ripgrep-3tvqynh2.js → provider-3tvqynh2.js} +1 -1
- package/dist/chunks/{ripgrep-gdzp4kpk.js → provider-3v7w85me.js} +9 -9
- package/dist/chunks/{ripgrep-n4h3j8sb.js → provider-3vtrhh30.js} +11 -11
- package/dist/chunks/{ripgrep-4pp11k09.js → provider-3xtchf3h.js} +8 -8
- package/dist/chunks/{ripgrep-3zsf4n22.js → provider-3zsf4n22.js} +1 -1
- package/dist/chunks/{ripgrep-nsja2dvh.js → provider-3zwwsd0z.js} +29 -29
- package/dist/chunks/{ripgrep-mdd5bykz.js → provider-435p4ksb.js} +7 -7
- package/dist/chunks/{ripgrep-qc6h4chp.js → provider-470p4mvx.js} +17 -17
- package/dist/chunks/{ripgrep-hh3mh7ha.js → provider-4ezdp9ng.js} +32 -32
- package/dist/chunks/{ripgrep-4ts7tf6z.js → provider-4ts7tf6z.js} +2 -2
- package/dist/chunks/provider-4v7qdvcn.js +18 -0
- package/dist/chunks/{ripgrep-9ra2mwh8.js → provider-50wdke11.js} +6 -6
- package/dist/chunks/{ripgrep-57raby7m.js → provider-51jbw7dx.js} +4 -4
- package/dist/chunks/{ripgrep-yz5emzcc.js → provider-53p9d5ea.js} +7 -7
- package/dist/chunks/{ripgrep-gq5s82mq.js → provider-54bf5ftt.js} +26 -26
- package/dist/chunks/{ripgrep-54ma36ye.js → provider-54ma36ye.js} +1 -1
- package/dist/chunks/{ripgrep-5daktx2q.js → provider-5daktx2q.js} +1 -1
- package/dist/chunks/{ripgrep-pkt8fefj.js → provider-5jrbfcyk.js} +7 -7
- package/dist/chunks/{ripgrep-5m9w47nd.js → provider-5m9w47nd.js} +1 -1
- package/dist/chunks/{ripgrep-w6evbe20.js → provider-5mffh87d.js} +25 -25
- package/dist/chunks/{ripgrep-ajzsbz6h.js → provider-5ngaw42y.js} +7 -7
- package/dist/chunks/{ripgrep-zng29zcf.js → provider-5ptdqdpf.js} +39 -39
- package/dist/chunks/{ripgrep-5t3nmthw.js → provider-5t3nmthw.js} +2 -2
- package/dist/chunks/{ripgrep-8v6pyhej.js → provider-5yzzbxa7.js} +8 -8
- package/dist/chunks/{ripgrep-1vyzjnq9.js → provider-63j7grd1.js} +8 -8
- package/dist/chunks/{ripgrep-qavhg4ac.js → provider-671h762m.js} +20 -20
- package/dist/chunks/{ripgrep-m7zb0vvq.js → provider-69n11mhg.js} +22 -22
- package/dist/chunks/{ripgrep-tyj0v91c.js → provider-6abn6fbv.js} +22 -22
- package/dist/chunks/{ripgrep-rhj8rxb3.js → provider-6bdkjnee.js} +5 -5
- package/dist/chunks/{ripgrep-tg7bkhef.js → provider-6g7e4dd5.js} +7 -7
- package/dist/chunks/{ripgrep-q27p0z6n.js → provider-6gp95x7h.js} +34 -34
- package/dist/chunks/{ripgrep-h76pkdx5.js → provider-6hb4axps.js} +18 -18
- package/dist/chunks/{ripgrep-pbfwh0cy.js → provider-6hh8tjw2.js} +7 -7
- package/dist/chunks/{ripgrep-dgbczadx.js → provider-6hz8g0en.js} +24 -24
- package/dist/chunks/{ripgrep-bzx0raep.js → provider-6j3fzm1y.js} +26 -26
- package/dist/chunks/{ripgrep-sj5n17p9.js → provider-6vnksd4p.js} +28 -28
- package/dist/chunks/{ripgrep-6xb47vfp.js → provider-6xb47vfp.js} +1 -1
- package/dist/chunks/{ripgrep-5715y3z9.js → provider-6yx9cdwm.js} +11 -11
- package/dist/chunks/{ripgrep-jex6twvz.js → provider-70wfxkqk.js} +5 -5
- package/dist/chunks/{ripgrep-xfa9t8nf.js → provider-7178zsq4.js} +44 -44
- package/dist/chunks/{ripgrep-71az546q.js → provider-71az546q.js} +2 -2
- package/dist/chunks/{ripgrep-73tb2d7t.js → provider-73tb2d7t.js} +1 -1
- package/dist/chunks/{ripgrep-jrav4m5q.js → provider-79wzcjsa.js} +6 -6
- package/dist/chunks/{ripgrep-7bmhse3q.js → provider-7bmhse3q.js} +1 -1
- package/dist/chunks/{ripgrep-e6me97w7.js → provider-7cd1ytca.js} +10 -10
- package/dist/chunks/{ripgrep-0pqv7m1r.js → provider-7e5rfcwt.js} +14 -14
- package/dist/chunks/{ripgrep-pk5m11nm.js → provider-802940vn.js} +11 -11
- package/dist/chunks/{ripgrep-84txncab.js → provider-84txncab.js} +1 -1
- package/dist/chunks/{ripgrep-076smhkq.js → provider-853df498.js} +1 -1
- package/dist/chunks/{ripgrep-bps6twr8.js → provider-869sfs2n.js} +47 -47
- package/dist/chunks/{ripgrep-nhtrsw1r.js → provider-880chn4z.js} +11 -11
- package/dist/chunks/{ripgrep-tcezcvh9.js → provider-89znhe33.js} +4 -4
- package/dist/chunks/{ripgrep-8d7r5vzw.js → provider-8d7r5vzw.js} +1 -1
- package/dist/chunks/{ripgrep-z6kghr8f.js → provider-8hbyspe1.js} +14 -14
- package/dist/chunks/{ripgrep-9dvew4ct.js → provider-8nh1x9qx.js} +13 -13
- package/dist/chunks/{ripgrep-jebmc97d.js → provider-8phmhy56.js} +4 -4
- package/dist/chunks/{ripgrep-py3kkmfq.js → provider-8sze2n9a.js} +6 -6
- package/dist/chunks/{ripgrep-3s69ytqq.js → provider-8xcdsqe2.js} +16 -16
- package/dist/chunks/{ripgrep-hx1nh6p6.js → provider-8xr2jsn8.js} +13 -13
- package/dist/chunks/{ripgrep-cfexggbj.js → provider-90rktb5s.js} +9 -9
- package/dist/chunks/{ripgrep-6hfyjfby.js → provider-950tcz88.js} +1 -1
- package/dist/chunks/{ripgrep-9e5bzkjp.js → provider-9e5bzkjp.js} +3 -3
- package/dist/chunks/{ripgrep-8dr0pm1z.js → provider-9g978t7c.js} +32 -32
- package/dist/chunks/{ripgrep-x5tqsxq6.js → provider-9kangp0z.js} +11 -11
- package/dist/chunks/{ripgrep-rnrxqq2v.js → provider-9sy89r0f.js} +4 -4
- package/dist/chunks/{ripgrep-dkrtd87p.js → provider-9szwjyee.js} +4 -4
- package/dist/chunks/{ripgrep-c27esgm9.js → provider-9y0w708y.js} +8 -8
- package/dist/chunks/provider-9ztar93x.js +26 -0
- package/dist/chunks/{ripgrep-x9sntwkc.js → provider-a1r079t2.js} +13 -13
- package/dist/chunks/{ripgrep-76jq5zat.js → provider-a7ne0pbq.js} +23 -23
- package/dist/chunks/{ripgrep-kvvk39gs.js → provider-a8bn8zg0.js} +4 -4
- package/dist/chunks/{ripgrep-chsayper.js → provider-a8ded0f6.js} +11 -11
- package/dist/chunks/{ripgrep-mrzfpr14.js → provider-a8wp3vm3.js} +13 -13
- package/dist/chunks/{ripgrep-aaet6srn.js → provider-aaet6srn.js} +2 -2
- package/dist/chunks/{ripgrep-w99y5e0t.js → provider-aekpz6sr.js} +48 -48
- package/dist/chunks/{ripgrep-6spjy1ny.js → provider-af1qyrwf.js} +4 -4
- package/dist/chunks/{ripgrep-epz8bg99.js → provider-ap47h660.js} +17 -17
- package/dist/chunks/{ripgrep-v8xcpy0p.js → provider-ax2gd5n1.js} +15 -15
- package/dist/chunks/{ripgrep-kfsgvpxj.js → provider-axvgx5r8.js} +20 -20
- package/dist/chunks/{ripgrep-fyp6synz.js → provider-b122n9p4.js} +14 -14
- package/dist/chunks/{ripgrep-1mb5bsea.js → provider-b32z9e7n.js} +3 -3
- package/dist/chunks/{ripgrep-b6gygkdw.js → provider-b6gygkdw.js} +2 -2
- package/dist/chunks/{ripgrep-v6rt0rx3.js → provider-b9m8jyf5.js} +11 -11
- package/dist/chunks/{ripgrep-97na1vhb.js → provider-bya5pgnz.js} +32 -32
- package/dist/chunks/{ripgrep-0xwrgxtz.js → provider-bzd9mpph.js} +75 -75
- package/dist/chunks/{ripgrep-7xhhfgpf.js → provider-c4r1z0h4.js} +3 -3
- package/dist/chunks/{ripgrep-bwm9v46e.js → provider-cq1crqf5.js} +33 -33
- package/dist/chunks/{ripgrep-ky4t9cwy.js → provider-cr6zmxap.js} +3 -3
- package/dist/chunks/{ripgrep-8040dbmc.js → provider-crkpb7cs.js} +22 -22
- package/dist/chunks/{ripgrep-c765mh8b.js → provider-cwa6csj7.js} +9 -9
- package/dist/chunks/{ripgrep-9f8agqm4.js → provider-cywzwz9x.js} +30 -30
- package/dist/chunks/{ripgrep-6y2txcv3.js → provider-d5577vah.js} +3 -3
- package/dist/chunks/{ripgrep-2wntz932.js → provider-d63p7tmf.js} +3 -3
- package/dist/chunks/{ripgrep-twya4v6r.js → provider-db0cs2kz.js} +31 -31
- package/dist/chunks/{ripgrep-3f6jm9xf.js → provider-dky9q78m.js} +25 -25
- package/dist/chunks/{ripgrep-xkntkrq7.js → provider-dmqcgk4z.js} +5 -5
- package/dist/chunks/{ripgrep-nxm207yx.js → provider-dpkg50ah.js} +4 -4
- package/dist/chunks/{ripgrep-qddvfgkx.js → provider-dtqny3g5.js} +6 -6
- package/dist/chunks/{ripgrep-5dednvak.js → provider-dwhba9yv.js} +29 -29
- package/dist/chunks/{ripgrep-nj58sj1f.js → provider-ecf7yx0s.js} +1 -1
- package/dist/chunks/{ripgrep-ef5x83kb.js → provider-ef5x83kb.js} +1 -1
- package/dist/chunks/{ripgrep-n7y52wsc.js → provider-epfa530k.js} +13 -13
- package/dist/chunks/{ripgrep-wmvcwthb.js → provider-erxm7rkb.js} +20 -20
- package/dist/chunks/{ripgrep-etq0c3wd.js → provider-etq0c3wd.js} +1 -1
- package/dist/chunks/{ripgrep-a62nzkfm.js → provider-evz588nn.js} +9 -9
- package/dist/chunks/{ripgrep-0618bhf4.js → provider-ezr7p14b.js} +28 -28
- package/dist/chunks/{ripgrep-85nzvnnf.js → provider-f62pbbwn.js} +10 -10
- package/dist/chunks/{ripgrep-hwe7x4em.js → provider-ff0htmxq.js} +6 -6
- package/dist/chunks/{ripgrep-bf48bc2p.js → provider-fp9sff3r.js} +37 -37
- package/dist/chunks/{ripgrep-2hem8a9k.js → provider-fs772d02.js} +6 -6
- package/dist/chunks/{ripgrep-q6yya7b3.js → provider-fyjp43ss.js} +5 -5
- package/dist/chunks/{ripgrep-g31erja1.js → provider-g31erja1.js} +2 -2
- package/dist/chunks/{ripgrep-z3cgdbnx.js → provider-g66y9f43.js} +16 -16
- package/dist/chunks/{ripgrep-dda0p7y7.js → provider-g762atc6.js} +9 -9
- package/dist/chunks/{ripgrep-gd4qta3r.js → provider-gd4qta3r.js} +1 -1
- package/dist/chunks/{ripgrep-gj71zhbs.js → provider-gj71zhbs.js} +2 -2
- package/dist/chunks/{ripgrep-64vd9axx.js → provider-gpw458b7.js} +17 -17
- package/dist/chunks/{ripgrep-kabk1m9n.js → provider-grbwyzfx.js} +22 -22
- package/dist/chunks/{ripgrep-mxmk95sb.js → provider-gytvncbh.js} +17 -17
- package/dist/chunks/{ripgrep-0gqfrnsf.js → provider-gyx3rp2r.js} +14 -14
- package/dist/chunks/{ripgrep-h2b79v29.js → provider-h2b79v29.js} +2 -2
- package/dist/chunks/{ripgrep-9h4a5xab.js → provider-h4ckqw4f.js} +8 -8
- package/dist/chunks/{ripgrep-h6vf3j39.js → provider-h6vf3j39.js} +1 -1
- package/dist/chunks/{ripgrep-jpqeh2wc.js → provider-h9pnpq88.js} +4 -4
- package/dist/chunks/{ripgrep-0229r2y6.js → provider-hewdcjdf.js} +84 -84
- package/dist/chunks/{ripgrep-affqz3dt.js → provider-hkh1gyze.js} +30 -30
- package/dist/chunks/{ripgrep-e4psb9ns.js → provider-hxt8j9vk.js} +13 -13
- package/dist/chunks/{ripgrep-7nbx7n68.js → provider-j36g3wgd.js} +11 -11
- package/dist/chunks/{ripgrep-j56e64zr.js → provider-j56e64zr.js} +1 -1
- package/dist/chunks/{ripgrep-gdq892sv.js → provider-j82d6hxx.js} +41 -41
- package/dist/chunks/{ripgrep-fs5m8ztn.js → provider-jp0zb534.js} +23 -23
- package/dist/chunks/{ripgrep-7fv97ajc.js → provider-jpb5mf9j.js} +13 -13
- package/dist/chunks/{ripgrep-nara5m26.js → provider-jy6n4x97.js} +8 -8
- package/dist/chunks/{ripgrep-jeah1c85.js → provider-k423vsa4.js} +20 -20
- package/dist/chunks/{ripgrep-84x1qr6q.js → provider-kadn9d92.js} +14 -14
- package/dist/chunks/{ripgrep-eymws0kt.js → provider-kfxyjhp2.js} +6 -6
- package/dist/chunks/{ripgrep-5mvtnpvw.js → provider-kgx9j78r.js} +55 -55
- package/dist/chunks/{ripgrep-gsw111xz.js → provider-khr9akvx.js} +28 -28
- package/dist/chunks/{ripgrep-zcrspsvn.js → provider-kne8f3cn.js} +4 -4
- package/dist/chunks/{ripgrep-bfy8qqhy.js → provider-kvgh0332.js} +18 -18
- package/dist/chunks/{ripgrep-gmjgnzm7.js → provider-kw2wghq3.js} +15 -15
- package/dist/chunks/{ripgrep-e5zk1d3d.js → provider-kwe77dsa.js} +8 -8
- package/dist/chunks/{ripgrep-m3fdjcah.js → provider-m3fdjcah.js} +1 -1
- package/dist/chunks/{ripgrep-d2q6s312.js → provider-m7wfyeg7.js} +16 -16
- package/dist/chunks/{ripgrep-m9w0rfyh.js → provider-m9w0rfyh.js} +1 -1
- package/dist/chunks/{ripgrep-8cexbwpw.js → provider-mcb0hy3p.js} +29 -29
- package/dist/chunks/{ripgrep-09xbw6za.js → provider-mcrs9awc.js} +5 -5
- package/dist/chunks/{ripgrep-dqee7r49.js → provider-me3a999s.js} +9 -9
- package/dist/chunks/{ripgrep-9vspqhb9.js → provider-mkr0nv12.js} +32 -32
- package/dist/chunks/{ripgrep-9yaj1bep.js → provider-mt1f1117.js} +13 -13
- package/dist/chunks/{ripgrep-vrd8hhbp.js → provider-my8rj7kn.js} +29 -29
- package/dist/chunks/{ripgrep-b69jv39p.js → provider-n2thn3nx.js} +1 -1
- package/dist/chunks/{ripgrep-kzmatdfq.js → provider-n8hzfk5n.js} +13 -13
- package/dist/chunks/{ripgrep-axk9hj3n.js → provider-nfe4rdr7.js} +78 -78
- package/dist/chunks/{ripgrep-vjckrprz.js → provider-npjxmaz5.js} +12 -12
- package/dist/chunks/{ripgrep-h30xb52k.js → provider-p0r2k5hr.js} +13 -13
- package/dist/chunks/provider-p8msd6xk.js +253 -0
- package/dist/chunks/{ripgrep-9dz433we.js → provider-p98bz656.js} +14 -14
- package/dist/chunks/{ripgrep-2agc6006.js → provider-p9tbp9qs.js} +8 -8
- package/dist/chunks/{ripgrep-h79096x2.js → provider-pe07j12a.js} +22 -22
- package/dist/chunks/{ripgrep-pjvnvgmy.js → provider-pjvnvgmy.js} +1 -1
- package/dist/chunks/{ripgrep-pknna89w.js → provider-pknna89w.js} +1 -1
- package/dist/chunks/{ripgrep-sazs32jb.js → provider-pmv6ntjp.js} +16 -16
- package/dist/chunks/{ripgrep-4jyvzrab.js → provider-prq7hedt.js} +9 -9
- package/dist/chunks/{ripgrep-tqmfw2b9.js → provider-pxchgtyc.js} +4 -4
- package/dist/chunks/{ripgrep-q0xm7vwc.js → provider-q0xm7vwc.js} +2 -2
- package/dist/chunks/{ripgrep-v8aar8tp.js → provider-q3y1480k.js} +134 -134
- package/dist/chunks/{ripgrep-7bc7rr9r.js → provider-q4c9f7y5.js} +8 -8
- package/dist/chunks/{ripgrep-aws7tw8m.js → provider-q72rqnyr.js} +27 -27
- package/dist/chunks/{ripgrep-ttqt9zd2.js → provider-qj5ds43h.js} +35 -35
- package/dist/chunks/{ripgrep-qnc92qwc.js → provider-qnc92qwc.js} +1 -1
- package/dist/chunks/{ripgrep-qsdy395h.js → provider-qsdy395h.js} +1 -1
- package/dist/chunks/{ripgrep-6zmb7467.js → provider-qx78w7x0.js} +41 -41
- package/dist/chunks/{ripgrep-zyk1yjk8.js → provider-qygbw77c.js} +5 -5
- package/dist/chunks/{ripgrep-jfa7gmqr.js → provider-r2gk0ttq.js} +15 -15
- package/dist/chunks/{ripgrep-7s8pn6vn.js → provider-r5rttqkx.js} +26 -26
- package/dist/chunks/{ripgrep-xs12am9p.js → provider-r9t00hsy.js} +8 -8
- package/dist/chunks/{ripgrep-rdw6cm16.js → provider-rdw6cm16.js} +1 -1
- package/dist/chunks/{ripgrep-q8ajcpfq.js → provider-rdz0fprs.js} +32 -32
- package/dist/chunks/{ripgrep-d0kp8v5z.js → provider-rh2bshgf.js} +16 -16
- package/dist/chunks/{ripgrep-rc3whc49.js → provider-rj109cpc.js} +11 -11
- package/dist/chunks/{ripgrep-2vsx29mh.js → provider-rxqangmd.js} +11 -11
- package/dist/chunks/{ripgrep-8wsye86r.js → provider-rzs3gq0x.js} +4 -4
- package/dist/chunks/{ripgrep-s8d7rejh.js → provider-s8d7rejh.js} +1 -1
- package/dist/chunks/{ripgrep-dm63ydvm.js → provider-skwdgpes.js} +15 -15
- package/dist/chunks/{ripgrep-29ag82sg.js → provider-syvex6wj.js} +7 -7
- package/dist/chunks/{ripgrep-r69nsnk3.js → provider-szp9cm9d.js} +11 -11
- package/dist/chunks/{ripgrep-jyd4c54m.js → provider-t8h9k6kt.js} +3 -3
- package/dist/chunks/{ripgrep-tazgh4e4.js → provider-tazgh4e4.js} +1 -1
- package/dist/chunks/{ripgrep-tdstcens.js → provider-tdstcens.js} +1 -1
- package/dist/chunks/{ripgrep-b7h6z6tn.js → provider-tge9ftn1.js} +11 -11
- package/dist/chunks/{ripgrep-8zy0fzze.js → provider-tpykdk7e.js} +18 -18
- package/dist/chunks/{ripgrep-2z7d0f22.js → provider-txn8qske.js} +2 -2
- package/dist/chunks/{ripgrep-v0xmac3n.js → provider-v0xmac3n.js} +2 -2
- package/dist/chunks/{ripgrep-80scg3y3.js → provider-vbfgae2j.js} +4 -4
- package/dist/chunks/{ripgrep-kx705y8y.js → provider-veqfhemw.js} +6 -6
- package/dist/chunks/{ripgrep-veqvce7d.js → provider-veqvce7d.js} +1 -1
- package/dist/chunks/{ripgrep-fsp0r4x8.js → provider-vj3nwvwh.js} +17 -17
- package/dist/chunks/{ripgrep-9aga8edg.js → provider-vq6phmds.js} +328 -328
- package/dist/chunks/{ripgrep-ydfe3hmk.js → provider-vxxh4q2n.js} +1 -1
- package/dist/chunks/{ripgrep-vzs5sf6e.js → provider-vzs5sf6e.js} +1 -1
- package/dist/chunks/{ripgrep-dssbfrwz.js → provider-w39jehkq.js} +5 -5
- package/dist/chunks/{ripgrep-4yt4fj6t.js → provider-w3ejnnxx.js} +31 -31
- package/dist/chunks/{ripgrep-w3wsvvr9.js → provider-w3wsvvr9.js} +1 -1
- package/dist/chunks/{ripgrep-ry2kpw21.js → provider-w4bq55ta.js} +25 -25
- package/dist/chunks/{ripgrep-bh757wj0.js → provider-w8rdajxk.js} +41 -41
- package/dist/chunks/{ripgrep-bwrbt93d.js → provider-w90th1wq.js} +8 -8
- package/dist/chunks/{ripgrep-9wknbad4.js → provider-wac6chsn.js} +21 -21
- package/dist/chunks/{ripgrep-wd87259q.js → provider-wd87259q.js} +1 -1
- package/dist/chunks/{ripgrep-k01fw88q.js → provider-wgn1zfzh.js} +2 -2
- package/dist/chunks/{ripgrep-3tx3n4vf.js → provider-wjrctzxe.js} +17 -17
- package/dist/chunks/{ripgrep-ybqq9p4b.js → provider-wxckm61x.js} +44 -44
- package/dist/chunks/{ripgrep-84zcxbc9.js → provider-x2rw7g36.js} +5 -5
- package/dist/chunks/{ripgrep-mxvxcxwy.js → provider-x661k3y3.js} +4 -4
- package/dist/chunks/{ripgrep-ggt0zq3q.js → provider-x8fg1acq.js} +8 -8
- package/dist/chunks/{ripgrep-30krspkn.js → provider-xb50yt4b.js} +4 -4
- package/dist/chunks/{ripgrep-3mm24bx6.js → provider-xb7ytst9.js} +12 -12
- package/dist/chunks/{ripgrep-jnejy8gf.js → provider-xbtqc3yy.js} +11 -11
- package/dist/chunks/{ripgrep-77f241gp.js → provider-xcmk6yw7.js} +11 -11
- package/dist/chunks/{ripgrep-283xtvn5.js → provider-xcyyqy34.js} +32 -32
- package/dist/chunks/{ripgrep-xfkkasph.js → provider-xfkkasph.js} +1 -1
- package/dist/chunks/{ripgrep-m51a3mp4.js → provider-xr86wyz0.js} +26 -26
- package/dist/chunks/{ripgrep-w9p76dg1.js → provider-xrh33zgb.js} +17 -17
- package/dist/chunks/{ripgrep-hq5hwna4.js → provider-xs6s4b8w.js} +4 -4
- package/dist/chunks/{ripgrep-10wa4fem.js → provider-xt8envp2.js} +28 -28
- package/dist/chunks/{ripgrep-qxjc9qry.js → provider-xyafkbt0.js} +3 -3
- package/dist/chunks/{ripgrep-v0xz5m4c.js → provider-y117vq4z.js} +31 -31
- package/dist/chunks/{ripgrep-96cd70s2.js → provider-y1bxg4cw.js} +37 -37
- package/dist/chunks/{ripgrep-y1fvbwt7.js → provider-y1fvbwt7.js} +1 -1
- package/dist/chunks/{ripgrep-qasvjq9f.js → provider-y31c2br0.js} +4 -4
- package/dist/chunks/{ripgrep-6ymq3723.js → provider-y32xjbbv.js} +2 -2
- package/dist/chunks/{ripgrep-rrpkd1dr.js → provider-y6t797ad.js} +9 -9
- package/dist/chunks/{ripgrep-v47v1yn0.js → provider-y7gnf2d1.js} +14 -14
- package/dist/chunks/{ripgrep-sexyc412.js → provider-yb860a13.js} +6 -6
- package/dist/chunks/{ripgrep-4sw1w9me.js → provider-ydm09vy0.js} +9 -9
- package/dist/chunks/{ripgrep-xgngf68r.js → provider-ykbx70vn.js} +30 -30
- package/dist/chunks/{ripgrep-r1fscvg0.js → provider-ypnqz5gf.js} +11 -11
- package/dist/chunks/{ripgrep-30nzr87g.js → provider-yspr33n3.js} +3 -3
- package/dist/chunks/{ripgrep-z0bkrqjs.js → provider-z0bkrqjs.js} +1 -1
- package/dist/chunks/{ripgrep-t43wy93c.js → provider-z2zdbf9m.js} +33 -33
- package/dist/chunks/{ripgrep-x5g2watm.js → provider-z7pebwj2.js} +21 -21
- package/dist/chunks/{ripgrep-zfs8ae4p.js → provider-zfs8ae4p.js} +4 -4
- package/dist/chunks/{ripgrep-187tx94p.js → provider-zgfgymxp.js} +7 -7
- package/dist/chunks/{ripgrep-1s5z1wtk.js → provider-zmzek11k.js} +16 -16
- package/dist/chunks/{ripgrep-zr2ceqn5.js → provider-zr2ceqn5.js} +1 -1
- package/dist/chunks/{ripgrep-akrprgjn.js → provider-zwh81tv5.js} +25 -25
- package/dist/chunks/{ripgrep-zxq2ej10.js → provider-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 +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +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 +220 -220
- 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 +106 -106
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +8 -8
- 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 +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +127 -127
- 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 +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +98 -98
- package/dist/models-dev.js +101 -101
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +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 +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- 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 +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- 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/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 +116 -116
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- 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 +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- 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 +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +89 -89
- 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 +95 -95
- 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 +3 -3
- 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 +127 -127
- 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 +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- 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 +129 -129
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- 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 +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +130 -130
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +114 -114
- 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 +128 -128
- 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 +122 -122
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +208 -208
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- 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 +7 -7
- 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/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +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 +2 -2
- 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 +78 -78
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +3 -3
- 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 +8 -8
- 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/ripgrep-gd7qfq63.js +0 -253
- package/dist/chunks/ripgrep-ht5y0zrb.js +0 -18
- package/dist/chunks/ripgrep-q8p5pp0n.js +0 -26
- /package/dist/chunks/{ripgrep-0qkdqm5v.js → provider-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{ripgrep-0zkw76rk.js → provider-0zkw76rk.js} +0 -0
- /package/dist/chunks/{ripgrep-17cy0kzp.js → provider-17cy0kzp.js} +0 -0
- /package/dist/chunks/{ripgrep-1cnp2v09.js → provider-1cnp2v09.js} +0 -0
- /package/dist/chunks/{ripgrep-1kg9ymc8.js → provider-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{ripgrep-24dcb14g.js → provider-24dcb14g.js} +0 -0
- /package/dist/chunks/{ripgrep-2710q6r3.js → provider-2710q6r3.js} +0 -0
- /package/dist/chunks/{ripgrep-2axfhc9x.js → provider-2axfhc9x.js} +0 -0
- /package/dist/chunks/{ripgrep-2c3vjs8z.js → provider-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{ripgrep-34c7v6d4.js → provider-34c7v6d4.js} +0 -0
- /package/dist/chunks/{ripgrep-359p4xyc.js → provider-359p4xyc.js} +0 -0
- /package/dist/chunks/{ripgrep-3asan66x.js → provider-3asan66x.js} +0 -0
- /package/dist/chunks/{ripgrep-3t0ybcrp.js → provider-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{ripgrep-3v8g72cx.js → provider-3v8g72cx.js} +0 -0
- /package/dist/chunks/{ripgrep-3w5fmr99.js → provider-3w5fmr99.js} +0 -0
- /package/dist/chunks/{ripgrep-3wcehsnq.js → provider-3wcehsnq.js} +0 -0
- /package/dist/chunks/{ripgrep-43n2bw4t.js → provider-43n2bw4t.js} +0 -0
- /package/dist/chunks/{ripgrep-4knz6hnm.js → provider-4knz6hnm.js} +0 -0
- /package/dist/chunks/{ripgrep-4vcrnpx2.js → provider-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{ripgrep-4y7fprxs.js → provider-4y7fprxs.js} +0 -0
- /package/dist/chunks/{ripgrep-53557ph1.js → provider-53557ph1.js} +0 -0
- /package/dist/chunks/{ripgrep-550bvhaj.js → provider-550bvhaj.js} +0 -0
- /package/dist/chunks/{ripgrep-5qd3pb7m.js → provider-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{ripgrep-6prwharc.js → provider-6prwharc.js} +0 -0
- /package/dist/chunks/{ripgrep-6q2bdcd1.js → provider-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{ripgrep-7akdwqpd.js → provider-7akdwqpd.js} +0 -0
- /package/dist/chunks/{ripgrep-7m9af43g.js → provider-7m9af43g.js} +0 -0
- /package/dist/chunks/{ripgrep-822emrt2.js → provider-822emrt2.js} +0 -0
- /package/dist/chunks/{ripgrep-88xbtdfr.js → provider-88xbtdfr.js} +0 -0
- /package/dist/chunks/{ripgrep-8n3pysct.js → provider-8n3pysct.js} +0 -0
- /package/dist/chunks/{ripgrep-8wj87zfr.js → provider-8wj87zfr.js} +0 -0
- /package/dist/chunks/{ripgrep-9a4afbnw.js → provider-9a4afbnw.js} +0 -0
- /package/dist/chunks/{ripgrep-9rqn6x4v.js → provider-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{ripgrep-a6k6eb26.js → provider-a6k6eb26.js} +0 -0
- /package/dist/chunks/{ripgrep-af5trqkr.js → provider-af5trqkr.js} +0 -0
- /package/dist/chunks/{ripgrep-afrmfg78.js → provider-afrmfg78.js} +0 -0
- /package/dist/chunks/{ripgrep-aqzs7mqg.js → provider-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{ripgrep-atq7p7m5.js → provider-atq7p7m5.js} +0 -0
- /package/dist/chunks/{ripgrep-bkyjaxrp.js → provider-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{ripgrep-bmr6ed5q.js → provider-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{ripgrep-cf4snx6d.js → provider-cf4snx6d.js} +0 -0
- /package/dist/chunks/{ripgrep-cvy3z8tj.js → provider-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{ripgrep-d9fn303g.js → provider-d9fn303g.js} +0 -0
- /package/dist/chunks/{ripgrep-d9jj8t3e.js → provider-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{ripgrep-dajrwvna.js → provider-dajrwvna.js} +0 -0
- /package/dist/chunks/{ripgrep-dap0rakb.js → provider-dap0rakb.js} +0 -0
- /package/dist/chunks/{ripgrep-df08tz66.js → provider-df08tz66.js} +0 -0
- /package/dist/chunks/{ripgrep-dy18nga0.js → provider-dy18nga0.js} +0 -0
- /package/dist/chunks/{ripgrep-e5kj55wp.js → provider-e5kj55wp.js} +0 -0
- /package/dist/chunks/{ripgrep-e73j6tqm.js → provider-e73j6tqm.js} +0 -0
- /package/dist/chunks/{ripgrep-ec1grn59.js → provider-ec1grn59.js} +0 -0
- /package/dist/chunks/{ripgrep-eh3zwz77.js → provider-eh3zwz77.js} +0 -0
- /package/dist/chunks/{ripgrep-emrn6kk6.js → provider-emrn6kk6.js} +0 -0
- /package/dist/chunks/{ripgrep-f0mxakyp.js → provider-f0mxakyp.js} +0 -0
- /package/dist/chunks/{ripgrep-f6n9ztr4.js → provider-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{ripgrep-faypxj3z.js → provider-faypxj3z.js} +0 -0
- /package/dist/chunks/{ripgrep-fd410y7t.js → provider-fd410y7t.js} +0 -0
- /package/dist/chunks/{ripgrep-fxgpk5d8.js → provider-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{ripgrep-g4wezp1m.js → provider-g4wezp1m.js} +0 -0
- /package/dist/chunks/{ripgrep-g86h250q.js → provider-g86h250q.js} +0 -0
- /package/dist/chunks/{ripgrep-gebd4c9n.js → provider-gebd4c9n.js} +0 -0
- /package/dist/chunks/{ripgrep-gftt206x.js → provider-gftt206x.js} +0 -0
- /package/dist/chunks/{ripgrep-hk9envan.js → provider-hk9envan.js} +0 -0
- /package/dist/chunks/{ripgrep-j2ntwpah.js → provider-j2ntwpah.js} +0 -0
- /package/dist/chunks/{ripgrep-j5zkgpj8.js → provider-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{ripgrep-jjkms2e6.js → provider-jjkms2e6.js} +0 -0
- /package/dist/chunks/{ripgrep-jr7sbwjy.js → provider-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{ripgrep-jwfs4k6c.js → provider-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{ripgrep-jzg6c2d5.js → provider-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{ripgrep-m5jcjszt.js → provider-m5jcjszt.js} +0 -0
- /package/dist/chunks/{ripgrep-mp448xyj.js → provider-mp448xyj.js} +0 -0
- /package/dist/chunks/{ripgrep-msx8hqn2.js → provider-msx8hqn2.js} +0 -0
- /package/dist/chunks/{ripgrep-n05xt0ee.js → provider-n05xt0ee.js} +0 -0
- /package/dist/chunks/{ripgrep-n3j8tn72.js → provider-n3j8tn72.js} +0 -0
- /package/dist/chunks/{ripgrep-njntx4h6.js → provider-njntx4h6.js} +0 -0
- /package/dist/chunks/{ripgrep-q3sfg36h.js → provider-q3sfg36h.js} +0 -0
- /package/dist/chunks/{ripgrep-q74kybfr.js → provider-q74kybfr.js} +0 -0
- /package/dist/chunks/{ripgrep-qaymkmh1.js → provider-qaymkmh1.js} +0 -0
- /package/dist/chunks/{ripgrep-qb87gjwd.js → provider-qb87gjwd.js} +0 -0
- /package/dist/chunks/{ripgrep-qfa1cgps.js → provider-qfa1cgps.js} +0 -0
- /package/dist/chunks/{ripgrep-qg3g05ea.js → provider-qg3g05ea.js} +0 -0
- /package/dist/chunks/{ripgrep-qrg20bc0.js → provider-qrg20bc0.js} +0 -0
- /package/dist/chunks/{ripgrep-rcb2kzg1.js → provider-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{ripgrep-sdp7kfr6.js → provider-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{ripgrep-ssg3fenm.js → provider-ssg3fenm.js} +0 -0
- /package/dist/chunks/{ripgrep-w803qqfp.js → provider-w803qqfp.js} +0 -0
- /package/dist/chunks/{ripgrep-wc3fc9cn.js → provider-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{ripgrep-wer8tq1h.js → provider-wer8tq1h.js} +0 -0
- /package/dist/chunks/{ripgrep-wtztk69x.js → provider-wtztk69x.js} +0 -0
- /package/dist/chunks/{ripgrep-x0ckcb58.js → provider-x0ckcb58.js} +0 -0
- /package/dist/chunks/{ripgrep-x61499pn.js → provider-x61499pn.js} +0 -0
- /package/dist/chunks/{ripgrep-y44na4kk.js → provider-y44na4kk.js} +0 -0
- /package/dist/chunks/{ripgrep-y8cydn3q.js → provider-y8cydn3q.js} +0 -0
- /package/dist/chunks/{ripgrep-y8f7s663.js → provider-y8f7s663.js} +0 -0
- /package/dist/chunks/{ripgrep-ygaqb7jw.js → provider-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{ripgrep-ym463w8f.js → provider-ym463w8f.js} +0 -0
- /package/dist/chunks/{ripgrep-z5v4ffb3.js → provider-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{ripgrep-z9919s4g.js → provider-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service45
|
|
3
|
+
} from "./provider-ff0htmxq.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-4v7qdvcn.js";
|
|
7
7
|
import {
|
|
8
8
|
Service36
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./provider-j82d6hxx.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./provider-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./provider-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
25
|
+
const instances = yield* Service45;
|
|
26
26
|
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service36), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node85
|
|
4
|
+
} from "./provider-y7gnf2d1.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service75,
|
|
8
|
+
node78
|
|
9
|
+
} from "./provider-y117vq4z.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./provider-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./provider-x661k3y3.js";
|
|
16
16
|
import {
|
|
17
17
|
validateAnswer2,
|
|
18
18
|
validateFields2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./provider-5mffh87d.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./provider-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/integration.ts
|
|
25
25
|
var exports_integration = {};
|
|
@@ -34,17 +34,17 @@ __export(exports_integration, {
|
|
|
34
34
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
35
35
|
CommandMethod: () => CommandMethod2,
|
|
36
36
|
EnvMethod: () => EnvMethod2,
|
|
37
|
-
Event: () =>
|
|
37
|
+
Event: () => Event18,
|
|
38
38
|
ID: () => ID13,
|
|
39
|
-
Info: () =>
|
|
39
|
+
Info: () => Info22,
|
|
40
40
|
Integration: () => exports_integration,
|
|
41
41
|
KeyMethod: () => KeyMethod2,
|
|
42
42
|
Method: () => Method2,
|
|
43
43
|
MethodID: () => MethodID2,
|
|
44
44
|
OAuthMethod: () => OAuthMethod2,
|
|
45
45
|
Ref: () => Ref3,
|
|
46
|
-
Service: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
Service: () => Service73,
|
|
47
|
+
node: () => node76
|
|
48
48
|
});
|
|
49
49
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
50
50
|
import {
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
import { Integration } from "@opencode/schema/integration";
|
|
67
67
|
import { AppProcess } from "@opencode/util/process";
|
|
68
68
|
import { ChildProcess } from "effect/unstable/process";
|
|
69
|
-
import { Event as
|
|
69
|
+
import { Event as Event18 } from "@opencode/schema/integration";
|
|
70
70
|
var ID13 = Integration.ID;
|
|
71
71
|
var MethodID2 = Integration.MethodID;
|
|
72
72
|
var AttemptID2 = Integration.AttemptID;
|
|
@@ -75,7 +75,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
75
75
|
var KeyMethod2 = Integration.KeyMethod;
|
|
76
76
|
var EnvMethod2 = Integration.EnvMethod;
|
|
77
77
|
var Method2 = Integration.Method;
|
|
78
|
-
var
|
|
78
|
+
var Info22 = Integration.Info;
|
|
79
79
|
var Attempt2 = Integration.Attempt;
|
|
80
80
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
81
81
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -104,14 +104,14 @@ class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNot
|
|
|
104
104
|
}
|
|
105
105
|
var Ref3 = Integration.Ref;
|
|
106
106
|
|
|
107
|
-
class
|
|
107
|
+
class Service73 extends Context.Service()("@opencode/Integration") {
|
|
108
108
|
}
|
|
109
109
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
110
110
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
111
111
|
var scrubInterval = Duration.seconds(30);
|
|
112
|
-
var layer = Layer.effect(
|
|
113
|
-
const credentials = yield*
|
|
114
|
-
const bus = yield*
|
|
112
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
113
|
+
const credentials = yield* Service75;
|
|
114
|
+
const bus = yield* Service82;
|
|
115
115
|
const processes = yield* AppProcess.Service;
|
|
116
116
|
const scope = yield* Scope.Scope;
|
|
117
117
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -207,7 +207,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
207
207
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
208
208
|
return [...credentials, ...env];
|
|
209
209
|
};
|
|
210
|
-
const project = (entry, connections) =>
|
|
210
|
+
const project = (entry, connections) => Info22.make({
|
|
211
211
|
id: entry.ref.id,
|
|
212
212
|
name: entry.ref.name,
|
|
213
213
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -440,7 +440,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
440
440
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
441
441
|
return CommandAttempt2.make({ attemptID, time });
|
|
442
442
|
});
|
|
443
|
-
return
|
|
443
|
+
return Service73.of({
|
|
444
444
|
transform: state.transform,
|
|
445
445
|
reload: state.reload,
|
|
446
446
|
revision: state.revision,
|
|
@@ -599,10 +599,10 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
599
599
|
}
|
|
600
600
|
});
|
|
601
601
|
}));
|
|
602
|
-
var
|
|
603
|
-
service:
|
|
602
|
+
var node76 = makeLocationNode({
|
|
603
|
+
service: Service73,
|
|
604
604
|
layer,
|
|
605
|
-
deps: [
|
|
605
|
+
deps: [node78, node85, AppProcess.node]
|
|
606
606
|
});
|
|
607
607
|
|
|
608
|
-
export { ID13, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2,
|
|
608
|
+
export { ID13, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info22, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service73, node76, exports_integration, Event18 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./provider-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./provider-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./provider-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./provider-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./provider-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node85
|
|
4
|
+
} from "./provider-y7gnf2d1.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./provider-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,30 +12,30 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event19,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
19
|
+
ID: () => ID14,
|
|
20
20
|
Info: () => Info24,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError10,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service74,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer25,
|
|
29
|
+
node: () => node77,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event19 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
38
|
+
var ID14 = Form.ID;
|
|
39
39
|
var Info24 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
@@ -44,8 +44,8 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID14
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError8 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID14
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID14
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID14,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service74 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer25 = Layer.effect(Service74, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service82;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID14.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer23 = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service74.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node77 = makeLocationNode({ service: Service74, layer: layer25, deps: [node85] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID14, Info24, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service74, layer25, node77, validateAnswer2, validateFields2, exports_form, Event19 };
|
|
@@ -3,15 +3,15 @@ import {
|
|
|
3
3
|
removed2,
|
|
4
4
|
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-s8d7rejh.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./provider-3fc6dm20.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./provider-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
17
|
var exports_instructions3 = {};
|
|
@@ -19,7 +19,7 @@ __export(exports_instructions3, {
|
|
|
19
19
|
CodeModeInstructions: () => exports_instructions3,
|
|
20
20
|
make: () => make14,
|
|
21
21
|
render: () => render2,
|
|
22
|
-
update: () =>
|
|
22
|
+
update: () => update2
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
25
25
|
import { Effect, Schema } from "effect";
|
|
@@ -43,7 +43,7 @@ function render2(catalog) {
|
|
|
43
43
|
${tools.join(`
|
|
44
44
|
`)}`;
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function update2(previous, current) {
|
|
47
47
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
48
48
|
|
|
49
49
|
${render2(current)}`;
|
|
@@ -119,10 +119,10 @@ var make14 = (inventory) => {
|
|
|
119
119
|
read: Effect.succeed(catalog),
|
|
120
120
|
render: {
|
|
121
121
|
initial: render2,
|
|
122
|
-
changed:
|
|
122
|
+
changed: update2,
|
|
123
123
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export { render2,
|
|
128
|
+
export { render2, update2, make14, exports_instructions3 };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-jy6n4x97.js";
|
|
7
7
|
import {
|
|
8
8
|
Slug2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./provider-gebd4c9n.js";
|
|
10
10
|
import {
|
|
11
11
|
Service84,
|
|
12
12
|
node88
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./provider-yspr33n3.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service82,
|
|
16
|
+
node85
|
|
17
|
+
} from "./provider-y7gnf2d1.js";
|
|
18
18
|
import {
|
|
19
19
|
ProjectTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./provider-h2b79v29.js";
|
|
21
21
|
import {
|
|
22
22
|
WorktreeTable2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./provider-1dvck2a7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
ID16,
|
|
26
|
+
NotFoundError11
|
|
27
|
+
} from "./provider-qj5ds43h.js";
|
|
28
28
|
import {
|
|
29
29
|
Ref4
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./provider-435p4ksb.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service51,
|
|
33
|
+
node54
|
|
34
|
+
} from "./provider-90rktb5s.js";
|
|
35
35
|
import {
|
|
36
36
|
DirectoryUnavailableError2,
|
|
37
37
|
canonical2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./provider-0vbcp93d.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service50
|
|
41
|
+
} from "./provider-xrh33zgb.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./provider-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
@@ -49,19 +49,19 @@ __export(exports_worktree2, {
|
|
|
49
49
|
CreateInput: () => CreateInput3,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event9,
|
|
53
|
+
Info: () => Info8,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RemoveInput: () => RemoveInput2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service49,
|
|
60
60
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
61
61
|
StrategyID: () => StrategyID2,
|
|
62
62
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
63
63
|
Worktree: () => exports_worktree2,
|
|
64
|
-
node: () =>
|
|
64
|
+
node: () => node52
|
|
65
65
|
});
|
|
66
66
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
67
67
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -75,11 +75,11 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
|
75
75
|
var StrategyID2 = Worktree.StrategyID;
|
|
76
76
|
var CreateInput3 = Worktree.CreateInput;
|
|
77
77
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
78
|
-
var
|
|
78
|
+
var Info8 = Worktree.Info;
|
|
79
79
|
var List2 = Worktree.List;
|
|
80
80
|
var ListEntry3 = Worktree.ListEntry;
|
|
81
81
|
|
|
82
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
82
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID16, directory: Schema.optional(AbsolutePath2) }) {
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -90,21 +90,21 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
90
90
|
|
|
91
91
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
92
92
|
}
|
|
93
|
-
var
|
|
93
|
+
var Event9 = Worktree.Event;
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service49 extends Context.Service()("@opencode/Worktree") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
99
|
const database = yield* Service84;
|
|
100
100
|
const db = database.db;
|
|
101
|
-
const bus = yield*
|
|
101
|
+
const bus = yield* Service82;
|
|
102
102
|
const processService = yield* AppProcess.Service;
|
|
103
|
-
const locations = yield*
|
|
103
|
+
const locations = yield* Service51;
|
|
104
104
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
105
105
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
106
106
|
if (!row)
|
|
107
|
-
return yield* new
|
|
107
|
+
return yield* new NotFoundError11({ projectID });
|
|
108
108
|
return row;
|
|
109
109
|
});
|
|
110
110
|
const load = Effect.fnUntraced(function* (directory, current) {
|
|
@@ -115,11 +115,11 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
115
115
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
116
116
|
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
117
117
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
118
|
-
return Context.get(context,
|
|
118
|
+
return Context.get(context, Service50).get();
|
|
119
119
|
});
|
|
120
120
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
121
121
|
if (update)
|
|
122
|
-
yield* bus.publish(
|
|
122
|
+
yield* bus.publish(Event9.Updated, { projectID });
|
|
123
123
|
});
|
|
124
124
|
const ops = {
|
|
125
125
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
246
246
|
})).pipe(Effect.orDie);
|
|
247
247
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
248
248
|
}, Effect.scoped);
|
|
249
|
-
return
|
|
249
|
+
return Service49.of({
|
|
250
250
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
251
251
|
yield* project(input.projectID);
|
|
252
252
|
return yield* ops.list(input.projectID);
|
|
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
256
256
|
refresh
|
|
257
257
|
});
|
|
258
258
|
}));
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
259
|
+
var node52 = Node.makeGlobalNode({
|
|
260
|
+
service: Service49,
|
|
261
261
|
layer,
|
|
262
|
-
deps: [FSUtil.node,
|
|
262
|
+
deps: [FSUtil.node, node85, node88, AppProcess.node, node54]
|
|
263
263
|
});
|
|
264
264
|
function operationError(strategy, operation, error) {
|
|
265
265
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
|
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
export { StrategyID2, CreateInput3, RemoveInput2,
|
|
272
|
+
export { StrategyID2, CreateInput3, RemoveInput2, Info8, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event9, Service49, node52, exports_worktree2, OperationError2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-y8cydn3q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service2,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node3
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service2 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node3 = makeLocationNode({
|
|
19
|
+
service: Service2,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service2, Service2.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service2, node3, bound2, exports_instance2 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/managed-policy.ts
|
|
6
6
|
var exports_managed_policy = {};
|
|
7
7
|
__export(exports_managed_policy, {
|
|
8
8
|
ManagedPolicy: () => exports_managed_policy,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service16,
|
|
10
|
+
node: () => node19
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service16 extends Context.Service()("@opencode/ManagedPolicy") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service16, () => {
|
|
18
18
|
const state = { current: { statements: [] } };
|
|
19
|
-
return
|
|
19
|
+
return Service16.of({
|
|
20
20
|
current: () => state.current,
|
|
21
21
|
set: (next) => Effect.sync(() => {
|
|
22
22
|
state.current = next;
|
|
23
23
|
})
|
|
24
24
|
});
|
|
25
25
|
});
|
|
26
|
-
var
|
|
26
|
+
var node19 = makeGlobalNode({ service: Service16, layer, deps: [] });
|
|
27
27
|
|
|
28
|
-
export {
|
|
28
|
+
export { Service16, node19, exports_managed_policy };
|