@opencode/core 0.0.0-dev-20212 → 0.0.0-dev-20214
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{app-zyv03j90.js → ripgrep-070x7jqv.js} +23 -23
- package/dist/chunks/{app-jyy31k56.js → ripgrep-09rgwd1w.js} +12 -12
- package/dist/chunks/{app-xc7npp2z.js → ripgrep-0g79en4w.js} +9 -9
- package/dist/chunks/{app-2k8khapm.js → ripgrep-0jwsre1p.js} +5 -5
- package/dist/chunks/{app-vh6wb25d.js → ripgrep-0kppctkg.js} +11 -11
- package/dist/chunks/{app-0paq2nw3.js → ripgrep-0paq2nw3.js} +1 -1
- package/dist/chunks/{app-zfb11v1x.js → ripgrep-0txwbxc4.js} +31 -31
- package/dist/chunks/{app-8e3f6fty.js → ripgrep-12vdsn8b.js} +24 -24
- package/dist/chunks/{app-2en83y1a.js → ripgrep-15kp7mbb.js} +7 -7
- package/dist/chunks/{app-2hz0qpna.js → ripgrep-16bf5rpj.js} +14 -14
- package/dist/chunks/{app-72qsz4qs.js → ripgrep-19e25byy.js} +19 -19
- package/dist/chunks/ripgrep-19ee3xcc.js +252 -0
- package/dist/chunks/{app-pwcdbynt.js → ripgrep-1a95bty0.js} +25 -25
- package/dist/chunks/{app-yp2x3t23.js → ripgrep-1acjjqhc.js} +4 -4
- package/dist/chunks/{app-1dazxqgg.js → ripgrep-1dazxqgg.js} +2 -2
- package/dist/chunks/{app-3nweqhx7.js → ripgrep-1ee8exfz.js} +28 -28
- package/dist/chunks/{app-w4axh9wz.js → ripgrep-1fmrbde1.js} +6 -6
- package/dist/chunks/{app-9kwtctk8.js → ripgrep-1xnf7mgs.js} +21 -21
- package/dist/chunks/{app-21r38tys.js → ripgrep-21r38tys.js} +1 -1
- package/dist/chunks/{app-6h73sxmp.js → ripgrep-2402vzrj.js} +5 -5
- package/dist/chunks/{app-h2bg9tse.js → ripgrep-2505q7fe.js} +24 -24
- package/dist/chunks/{app-rygkteba.js → ripgrep-26z3ws4s.js} +11 -11
- package/dist/chunks/{app-rd8q201w.js → ripgrep-28qa2p8j.js} +12 -12
- package/dist/chunks/{app-2a5m3afh.js → ripgrep-2a5m3afh.js} +1 -1
- package/dist/chunks/{app-vr8xmh2p.js → ripgrep-2e5kebn3.js} +8 -8
- package/dist/chunks/{app-bvx5df9m.js → ripgrep-2gsdyw26.js} +25 -25
- package/dist/chunks/{app-cc7eaenb.js → ripgrep-2qbs3cg9.js} +22 -22
- package/dist/chunks/{app-j5208yae.js → ripgrep-2y34zzjz.js} +4 -4
- package/dist/chunks/{app-tey8mv2z.js → ripgrep-34b8rt98.js} +17 -17
- package/dist/chunks/{app-3fc6dm20.js → ripgrep-3fc6dm20.js} +1 -1
- package/dist/chunks/{app-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{app-w075qa65.js → ripgrep-3jfzwhx3.js} +32 -32
- package/dist/chunks/{app-bzd2wrjj.js → ripgrep-3ksk9rr2.js} +1 -1
- package/dist/chunks/{app-hz0q9sdq.js → ripgrep-3ms0g86c.js} +8 -8
- package/dist/chunks/{app-s3rrh27v.js → ripgrep-3rnyj502.js} +8 -8
- package/dist/chunks/{app-97w5rk9e.js → ripgrep-3rtxz4nr.js} +8 -8
- package/dist/chunks/{app-3smtnn6g.js → ripgrep-3smtnn6g.js} +1 -1
- package/dist/chunks/{app-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
- package/dist/chunks/{app-3zsf4n22.js → ripgrep-3zsf4n22.js} +1 -1
- package/dist/chunks/{app-pv9zh540.js → ripgrep-42ja97fm.js} +19 -19
- package/dist/chunks/{app-dcmfhft2.js → ripgrep-470th4w4.js} +5 -5
- package/dist/chunks/{app-d7qwrb3q.js → ripgrep-4999syfh.js} +10 -10
- package/dist/chunks/{app-bztx5wvz.js → ripgrep-4eaf1e5g.js} +3 -3
- package/dist/chunks/{app-ycvff0vv.js → ripgrep-4w0s546m.js} +10 -10
- package/dist/chunks/{app-y2yt4szk.js → ripgrep-4w5f3qm5.js} +8 -8
- package/dist/chunks/{app-54tcyq79.js → ripgrep-54tcyq79.js} +2 -2
- package/dist/chunks/{app-cafpd9jt.js → ripgrep-555hjjse.js} +20 -20
- package/dist/chunks/{app-56gdpj1q.js → ripgrep-56gdpj1q.js} +2 -2
- package/dist/chunks/{app-57ez7d0k.js → ripgrep-57ez7d0k.js} +2 -2
- package/dist/chunks/{app-mmq6y199.js → ripgrep-58td3c7b.js} +5 -5
- package/dist/chunks/{app-z45s6s3c.js → ripgrep-5cem5vvw.js} +15 -15
- package/dist/chunks/{app-5daktx2q.js → ripgrep-5daktx2q.js} +1 -1
- package/dist/chunks/{app-2b7mn2ka.js → ripgrep-5jzhktjr.js} +35 -35
- package/dist/chunks/{app-e3qxr5gk.js → ripgrep-5qd3pb7m.js} +2 -2
- package/dist/chunks/{app-pbvvqe3h.js → ripgrep-5ss8824k.js} +6 -6
- package/dist/chunks/{app-5t3nmthw.js → ripgrep-5t3nmthw.js} +2 -2
- package/dist/chunks/{app-520qgj13.js → ripgrep-5vrtv4g9.js} +9 -9
- package/dist/chunks/{app-dw1g38wj.js → ripgrep-5we73979.js} +19 -19
- package/dist/chunks/{app-669tq793.js → ripgrep-669tq793.js} +1 -1
- package/dist/chunks/{app-njd0zz2m.js → ripgrep-6cehfpa0.js} +25 -25
- package/dist/chunks/{app-cg8m9xhz.js → ripgrep-6majk428.js} +9 -9
- package/dist/chunks/{app-6msgmcgs.js → ripgrep-6msgmcgs.js} +1 -1
- package/dist/chunks/{app-te4e2ya4.js → ripgrep-6y4f4487.js} +21 -21
- package/dist/chunks/{app-0hajr9ce.js → ripgrep-74dp8hat.js} +12 -12
- package/dist/chunks/{app-hb1295gg.js → ripgrep-77vfrych.js} +16 -16
- package/dist/chunks/{app-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{app-ymavfyty.js → ripgrep-7cas1wtv.js} +20 -20
- package/dist/chunks/{app-fvs5ph87.js → ripgrep-7cx3b7xt.js} +3 -3
- package/dist/chunks/{app-r1r6ck8q.js → ripgrep-7fax3qrw.js} +315 -315
- package/dist/chunks/{app-6cfd75hy.js → ripgrep-7sbkp4xb.js} +7 -7
- package/dist/chunks/{app-rfm9fjde.js → ripgrep-7wtv0cyd.js} +32 -32
- package/dist/chunks/{app-msfmqx67.js → ripgrep-82teqrmt.js} +13 -13
- package/dist/chunks/{app-4zfkp5m9.js → ripgrep-84ggppa8.js} +35 -35
- package/dist/chunks/{app-8d7r5vzw.js → ripgrep-8d7r5vzw.js} +1 -1
- package/dist/chunks/{app-rkprpv83.js → ripgrep-8phpemx6.js} +6 -6
- package/dist/chunks/{app-96ctqc5x.js → ripgrep-8qvzptz7.js} +4 -4
- package/dist/chunks/{app-3ewed21c.js → ripgrep-8tsdq50x.js} +4 -4
- package/dist/chunks/{app-pnz7ythm.js → ripgrep-8yfv9yc5.js} +49 -49
- package/dist/chunks/{app-x0y4sb5x.js → ripgrep-9g55x113.js} +11 -11
- package/dist/chunks/{app-spvpa48z.js → ripgrep-9rh4wyvr.js} +67 -67
- package/dist/chunks/{app-mfeg7hd0.js → ripgrep-a0pm8hjd.js} +22 -22
- package/dist/chunks/{app-5nb2d01r.js → ripgrep-a3r4dcrj.js} +2 -2
- package/dist/chunks/{app-vsp1fds9.js → ripgrep-a8bn8zg0.js} +21 -21
- package/dist/chunks/{app-z4zaedpe.js → ripgrep-a8zr1srk.js} +11 -11
- package/dist/chunks/{app-aaet6srn.js → ripgrep-aaet6srn.js} +2 -2
- package/dist/chunks/{app-cdm0dq9n.js → ripgrep-acd4vkpt.js} +6 -6
- package/dist/chunks/{app-n9gs72tp.js → ripgrep-ad0mdt0a.js} +3 -3
- package/dist/chunks/{app-vfjm9b5x.js → ripgrep-ae3gwck6.js} +27 -27
- package/dist/chunks/{app-v5291y6s.js → ripgrep-ap3d8azh.js} +10 -10
- package/dist/chunks/{app-643br9be.js → ripgrep-aqpebcrt.js} +12 -12
- package/dist/chunks/{app-nb72syg9.js → ripgrep-aqpkav4c.js} +11 -11
- package/dist/chunks/{app-801jcbnx.js → ripgrep-as5rxwbe.js} +37 -37
- package/dist/chunks/{app-jm7vrxts.js → ripgrep-b3ssbg72.js} +6 -22
- package/dist/chunks/{app-4kwnayct.js → ripgrep-b50dwesx.js} +21 -21
- package/dist/chunks/{app-346ze9a4.js → ripgrep-b61etazn.js} +5 -5
- package/dist/chunks/{app-b6gygkdw.js → ripgrep-b6gygkdw.js} +2 -2
- package/dist/chunks/{app-qgtsm9yr.js → ripgrep-bdnj05zt.js} +39 -39
- package/dist/chunks/{app-knevfgda.js → ripgrep-bgc5ggmx.js} +4 -4
- package/dist/chunks/{app-dsqt3g70.js → ripgrep-bgk9j2hb.js} +4 -4
- package/dist/chunks/{app-bjtzbw4r.js → ripgrep-bjtzbw4r.js} +3 -3
- package/dist/chunks/{app-48knrn8n.js → ripgrep-bm4g2d1m.js} +6 -6
- package/dist/chunks/{app-70bgh8t1.js → ripgrep-bn1fqadf.js} +3 -3
- package/dist/chunks/{app-npjbgrdw.js → ripgrep-bn2pe2hy.js} +25 -25
- package/dist/chunks/{app-ykgchvjc.js → ripgrep-bn9y56zf.js} +15 -15
- package/dist/chunks/{app-q3afhr41.js → ripgrep-bp2sensp.js} +4 -4
- package/dist/chunks/{app-d3ymk621.js → ripgrep-c2fkg77t.js} +11 -11
- package/dist/chunks/{app-e0vtkr8g.js → ripgrep-c8xqcx36.js} +6 -6
- package/dist/chunks/{app-y2chche5.js → ripgrep-c92s42wz.js} +23 -23
- package/dist/chunks/{app-k5mp89aa.js → ripgrep-c9wpfjta.js} +35 -35
- package/dist/chunks/{app-0h5m5286.js → ripgrep-cb0dmbvc.js} +11 -11
- package/dist/chunks/{app-48cv5b01.js → ripgrep-cc4mce2f.js} +11 -11
- package/dist/chunks/{app-30p0hwd3.js → ripgrep-cjewx8rg.js} +8 -8
- package/dist/chunks/{app-2hxyqmx0.js → ripgrep-cms5sp3y.js} +40 -40
- package/dist/chunks/{app-8v6pyhej.js → ripgrep-cmwkp3r5.js} +8 -8
- package/dist/chunks/{app-b2prsqs2.js → ripgrep-cweqvw0v.js} +45 -45
- package/dist/chunks/{app-chcmt1dq.js → ripgrep-cwmzg64k.js} +11 -11
- package/dist/chunks/{app-b2fn8hb3.js → ripgrep-czkm8csv.js} +15 -15
- package/dist/chunks/{app-vfe6gskf.js → ripgrep-d31757xt.js} +7 -7
- package/dist/chunks/{app-36g4r5yp.js → ripgrep-d6ygdec0.js} +17 -17
- package/dist/chunks/{app-t79s17n5.js → ripgrep-dda0p7y7.js} +9 -9
- package/dist/chunks/{app-318tqrqa.js → ripgrep-ded48gaz.js} +18 -24
- package/dist/chunks/{app-xkntkrq7.js → ripgrep-dmqcgk4z.js} +5 -5
- package/dist/chunks/{app-xsbrecyh.js → ripgrep-dq0v80fr.js} +12 -12
- package/dist/chunks/{app-t4y7d749.js → ripgrep-dsd3h4da.js} +3 -3
- package/dist/chunks/{app-ecfe7b91.js → ripgrep-ecfe7b91.js} +2 -2
- package/dist/chunks/{app-r5x6zcsm.js → ripgrep-edc6jshq.js} +3 -3
- package/dist/chunks/{app-ef5x83kb.js → ripgrep-ef5x83kb.js} +1 -1
- package/dist/chunks/{app-etq0c3wd.js → ripgrep-etq0c3wd.js} +1 -1
- package/dist/chunks/{app-24bwte70.js → ripgrep-evwvzn8m.js} +57 -57
- package/dist/chunks/{app-8zp79j7j.js → ripgrep-f29mbr7f.js} +4 -4
- package/dist/chunks/{app-ah0b6jnm.js → ripgrep-f9dn3m9b.js} +13 -13
- package/dist/chunks/{app-y4afyykh.js → ripgrep-fn2vm53h.js} +27 -27
- package/dist/chunks/{app-5et3j0gs.js → ripgrep-gbgcn9t9.js} +24 -24
- package/dist/chunks/{app-2qwd84e2.js → ripgrep-gc1be7ym.js} +9 -9
- package/dist/chunks/{app-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
- package/dist/chunks/{app-y35sr8cx.js → ripgrep-gejt965h.js} +35 -35
- package/dist/chunks/{app-4xma59ad.js → ripgrep-gengpk4q.js} +7 -7
- package/dist/chunks/{app-gfvb90ym.js → ripgrep-gfvb90ym.js} +2 -2
- package/dist/chunks/{app-33kppm9j.js → ripgrep-ghshyr7t.js} +24 -24
- package/dist/chunks/{app-8cmzrt5c.js → ripgrep-gntj43c3.js} +41 -41
- package/dist/chunks/{app-vwv1meen.js → ripgrep-gt3bz8e3.js} +28 -28
- package/dist/chunks/{app-gv6a8nnw.js → ripgrep-gv6a8nnw.js} +2 -2
- package/dist/chunks/{app-t581q8t2.js → ripgrep-gxnkkmdt.js} +9 -9
- package/dist/chunks/{app-b7b4ctej.js → ripgrep-h4z1mxff.js} +5 -5
- package/dist/chunks/{app-ebe9bak5.js → ripgrep-h6r3nrb9.js} +4 -4
- package/dist/chunks/{app-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
- package/dist/chunks/{app-s1kvmffy.js → ripgrep-h71w788e.js} +9 -9
- package/dist/chunks/{app-c4xe7k45.js → ripgrep-hc7887ne.js} +44 -44
- package/dist/chunks/{app-8xmw1bs1.js → ripgrep-hjya9502.js} +18 -18
- package/dist/chunks/{app-3h01y4jn.js → ripgrep-hm1jkskx.js} +18 -18
- package/dist/chunks/{app-8n4ekhgj.js → ripgrep-hmcfw5q9.js} +57 -57
- package/dist/chunks/{app-9jnchvad.js → ripgrep-hmcps9m2.js} +13 -13
- package/dist/chunks/{app-0r7yqxbf.js → ripgrep-hnr5yq9h.js} +5 -5
- package/dist/chunks/{app-95v2wc05.js → ripgrep-hpzaeq5b.js} +15 -15
- package/dist/chunks/ripgrep-hxa7m5za.js +4 -0
- package/dist/chunks/{app-0b9a3syv.js → ripgrep-j15mfg1p.js} +5 -5
- package/dist/chunks/{app-j56e64zr.js → ripgrep-j56e64zr.js} +1 -1
- package/dist/chunks/{app-aqaepz7z.js → ripgrep-j6n240pe.js} +12 -12
- package/dist/chunks/{app-abcm60fh.js → ripgrep-jampngmm.js} +34 -34
- package/dist/chunks/{app-446nm392.js → ripgrep-jdyje03d.js} +27 -27
- package/dist/chunks/{app-rj6d5p5e.js → ripgrep-jexxy024.js} +3 -3
- package/dist/chunks/{app-hw8pkmw1.js → ripgrep-jjn8g76t.js} +41 -41
- package/dist/chunks/{app-nw33xh0q.js → ripgrep-k1s5fk6j.js} +24 -24
- package/dist/chunks/{app-aana350r.js → ripgrep-k228d5wx.js} +22 -22
- package/dist/chunks/{app-k3c624dm.js → ripgrep-k3c624dm.js} +3 -3
- package/dist/chunks/{app-kj4swwtc.js → ripgrep-k49htjjy.js} +11 -11
- package/dist/chunks/{app-fr2v8rd4.js → ripgrep-khja88a7.js} +16 -16
- package/dist/chunks/{app-cxry03a8.js → ripgrep-kj1xsshb.js} +26 -26
- package/dist/chunks/{app-s916jay0.js → ripgrep-kjgtxxd0.js} +11 -11
- package/dist/chunks/{app-qdp40j73.js → ripgrep-kp3ccd2p.js} +33 -33
- package/dist/chunks/{app-ahrew1s0.js → ripgrep-kpbxnat6.js} +5 -5
- package/dist/chunks/{app-be1xr2v6.js → ripgrep-kv6rgdgk.js} +23 -23
- package/dist/chunks/{app-v5bz3j6t.js → ripgrep-kw68gt8s.js} +13 -13
- package/dist/chunks/{app-t7mrvwnk.js → ripgrep-kx6qw7rw.js} +10 -10
- package/dist/chunks/{app-m95p3np9.js → ripgrep-m1ghs974.js} +48 -48
- package/dist/chunks/{app-m3fdjcah.js → ripgrep-m3fdjcah.js} +1 -1
- package/dist/chunks/ripgrep-m7hzdmrm.js +26 -0
- package/dist/chunks/{app-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{app-gve8axkf.js → ripgrep-maxhh8et.js} +17 -17
- package/dist/chunks/{app-vx4es781.js → ripgrep-mdxpkgt1.js} +30 -30
- package/dist/chunks/{app-pn37m90h.js → ripgrep-mejwe17d.js} +5 -8
- package/dist/chunks/{app-zhpwp1da.js → ripgrep-mfgtk275.js} +23 -23
- package/dist/chunks/{app-pt3fp617.js → ripgrep-mh69476p.js} +14 -14
- package/dist/chunks/{app-78nf89j4.js → ripgrep-mm9a79w2.js} +5 -5
- package/dist/chunks/{app-zsr300m5.js → ripgrep-mzywpf3p.js} +4 -4
- package/dist/chunks/{app-92q3sktz.js → ripgrep-n2qr5wvz.js} +94 -94
- package/dist/chunks/{app-3zd8k2y7.js → ripgrep-n5et7dpj.js} +10 -10
- package/dist/chunks/{app-arc5945r.js → ripgrep-n7w0d8kx.js} +11 -11
- package/dist/chunks/{app-da6tw9y0.js → ripgrep-npxj08d4.js} +5 -5
- package/dist/chunks/{app-m2d0j7c0.js → ripgrep-nq7qbqzc.js} +9 -9
- package/dist/chunks/{app-sra9araw.js → ripgrep-p44d8wdy.js} +5 -5
- package/dist/chunks/{app-pcj9a9sp.js → ripgrep-p9zsz0x5.js} +2 -2
- package/dist/chunks/ripgrep-phz3h32g.js +18 -0
- package/dist/chunks/{app-fygpvbnh.js → ripgrep-pje8b49m.js} +41 -47
- package/dist/chunks/{app-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
- package/dist/chunks/{app-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/{app-ajnv4jb0.js → ripgrep-pmytgcn0.js} +35 -35
- package/dist/chunks/{app-psazpmmj.js → ripgrep-psazpmmj.js} +2 -2
- package/dist/chunks/{app-gdyknx2c.js → ripgrep-pss0kfhr.js} +17 -17
- package/dist/chunks/{app-vy1yvbgy.js → ripgrep-q06jrgxq.js} +23 -23
- package/dist/chunks/{app-7egv8sq7.js → ripgrep-q14nnn67.js} +12 -12
- package/dist/chunks/{app-4b7qs8xx.js → ripgrep-q3e16cjs.js} +16 -16
- package/dist/chunks/{app-ca7w653e.js → ripgrep-q5asdkn4.js} +4 -4
- package/dist/chunks/{app-9xcf0pz4.js → ripgrep-q842h3bn.js} +45 -45
- package/dist/chunks/{app-kkeqmmyp.js → ripgrep-q9bqj99v.js} +20 -20
- package/dist/chunks/{app-m2rs3qtp.js → ripgrep-q9bv1n31.js} +14 -14
- package/dist/chunks/{app-zf70drdc.js → ripgrep-qaskr6ck.js} +14 -14
- package/dist/chunks/{app-qx0tbsbt.js → ripgrep-qf5m3qp7.js} +31 -31
- package/dist/chunks/{app-4e5nb8hw.js → ripgrep-qjmya8rr.js} +15 -15
- package/dist/chunks/{app-qmqgtz8f.js → ripgrep-qmqgtz8f.js} +2 -2
- package/dist/chunks/{app-kkbtdwkd.js → ripgrep-qr1jhx0t.js} +33 -33
- package/dist/chunks/{app-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
- package/dist/chunks/{app-vbbm199s.js → ripgrep-r6tgknzn.js} +11 -11
- package/dist/chunks/{app-rdw6cm16.js → ripgrep-rdw6cm16.js} +1 -1
- package/dist/chunks/{app-8whseyrk.js → ripgrep-rk1r2hx8.js} +1 -1
- package/dist/chunks/{app-s4rcwdwm.js → ripgrep-rqpceq6q.js} +17 -17
- package/dist/chunks/{app-x0vya4zf.js → ripgrep-rt3ycepw.js} +5 -5
- package/dist/chunks/{app-kjfdeayr.js → ripgrep-rtathh62.js} +5 -5
- package/dist/chunks/{app-nhcvpx8j.js → ripgrep-rxshm0sb.js} +23 -23
- package/dist/chunks/{app-6r3gbq1z.js → ripgrep-rzwfn0ne.js} +186 -186
- package/dist/chunks/{app-1bp528jh.js → ripgrep-s1rxbgtw.js} +3 -3
- package/dist/chunks/{app-1ef3fy7q.js → ripgrep-s5bs032n.js} +6 -6
- package/dist/chunks/{app-0gdmqesm.js → ripgrep-s8d7rejh.js} +4 -4
- package/dist/chunks/{app-eydjg92n.js → ripgrep-sr2r7h9e.js} +23 -23
- package/dist/chunks/{app-vex53nkq.js → ripgrep-ss6jxd5h.js} +24 -24
- package/dist/chunks/{app-t3ewd83s.js → ripgrep-sspsyg24.js} +4 -4
- package/dist/chunks/{app-dfe8djrf.js → ripgrep-sx1n432n.js} +4 -4
- package/dist/chunks/{app-48fxk2h6.js → ripgrep-symcztc9.js} +20 -20
- package/dist/chunks/{app-5sjkkemb.js → ripgrep-t2k3fcmw.js} +37 -37
- package/dist/chunks/{app-79qrpwpa.js → ripgrep-t44twkfx.js} +22 -22
- package/dist/chunks/{app-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
- package/dist/chunks/{app-89znhe33.js → ripgrep-tcezcvh9.js} +4 -4
- package/dist/chunks/{app-tdstcens.js → ripgrep-tdstcens.js} +1 -1
- package/dist/chunks/{app-es4t03bn.js → ripgrep-tgkxrmwx.js} +9 -9
- package/dist/chunks/{app-pfd2j1yc.js → ripgrep-ttrnwjg6.js} +30 -30
- package/dist/chunks/{app-tvtrv512.js → ripgrep-tvtrv512.js} +1 -1
- package/dist/chunks/{app-3fa0s6rb.js → ripgrep-twcsa2yf.js} +17 -17
- package/dist/chunks/{app-3w2b2yj4.js → ripgrep-tz2bjj40.js} +5 -5
- package/dist/chunks/{app-s45ns0s9.js → ripgrep-v3cs42z7.js} +15 -15
- package/dist/chunks/{app-yv59nz8r.js → ripgrep-v60cs7q6.js} +28 -28
- package/dist/chunks/{app-cwm7gddp.js → ripgrep-v8ys44m2.js} +15 -15
- package/dist/chunks/{app-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
- package/dist/chunks/{app-11823ez3.js → ripgrep-vjjxy6yb.js} +10 -17
- package/dist/chunks/{app-c1jcx1z8.js → ripgrep-vkpcntwz.js} +4 -4
- package/dist/chunks/{app-vzcthcp8.js → ripgrep-vzcthcp8.js} +1 -1
- package/dist/chunks/{app-vzs5sf6e.js → ripgrep-vzs5sf6e.js} +1 -1
- package/dist/chunks/{app-7df9q0d7.js → ripgrep-vzsp23ty.js} +10 -10
- package/dist/chunks/{app-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{app-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{app-c8cqepbd.js → ripgrep-wmtcr06c.js} +33 -33
- package/dist/chunks/{app-03ymde07.js → ripgrep-wnc32zva.js} +1 -1
- package/dist/chunks/{app-40n037sy.js → ripgrep-wwass4bc.js} +5 -5
- package/dist/chunks/{app-ngb5mwca.js → ripgrep-wzce99wp.js} +8 -8
- package/dist/chunks/{app-4mftjwdh.js → ripgrep-x1eshmbh.js} +88 -88
- package/dist/chunks/{app-x1ezjp6w.js → ripgrep-x1ezjp6w.js} +1 -1
- package/dist/chunks/{app-j1s4tt8r.js → ripgrep-x1wt5kst.js} +9 -9
- package/dist/chunks/{app-skdt0egg.js → ripgrep-x3gcvk5s.js} +18 -18
- package/dist/chunks/{app-1g1em8b3.js → ripgrep-x7c7n8ct.js} +9 -9
- package/dist/chunks/{app-qkezpbb1.js → ripgrep-x8877teh.js} +15 -15
- package/dist/chunks/{app-7mry44mh.js → ripgrep-xe892rvg.js} +36 -36
- package/dist/chunks/{app-9w52sa8s.js → ripgrep-xee3s8h4.js} +8 -8
- package/dist/chunks/{app-jmmk813v.js → ripgrep-xhxqht2n.js} +10 -10
- package/dist/chunks/{app-50zreqwv.js → ripgrep-xj8f3x9y.js} +28 -28
- package/dist/chunks/{app-c11kcbjv.js → ripgrep-xmm46p6t.js} +13 -13
- package/dist/chunks/{app-t2hw0gat.js → ripgrep-xp2hm3rn.js} +3 -3
- package/dist/chunks/{app-16xmj64k.js → ripgrep-xvm3nk9v.js} +22 -22
- package/dist/chunks/{app-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
- package/dist/chunks/{app-y71avatq.js → ripgrep-y71avatq.js} +1 -1
- package/dist/chunks/{app-8hpsa4g9.js → ripgrep-y7adswzc.js} +23 -23
- package/dist/chunks/{app-zw4pk1bw.js → ripgrep-y906m0ew.js} +5 -5
- package/dist/chunks/{app-59124e15.js → ripgrep-yaeh8x3m.js} +21 -21
- package/dist/chunks/{app-fehs4a8j.js → ripgrep-yf5s7ntk.js} +28 -28
- package/dist/chunks/{app-yrhqyw5v.js → ripgrep-yrhqyw5v.js} +1 -1
- package/dist/chunks/{app-s4enseaf.js → ripgrep-yrznvahk.js} +2 -2
- package/dist/chunks/{app-d1xermsw.js → ripgrep-ytgm5639.js} +11 -11
- package/dist/chunks/{app-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
- package/dist/chunks/{app-29x78va6.js → ripgrep-z63w68vq.js} +6 -6
- package/dist/chunks/{app-eaa68peb.js → ripgrep-z9yrm4kz.js} +44 -44
- package/dist/chunks/{app-drwq78ky.js → ripgrep-zd6bhfye.js} +4 -4
- package/dist/chunks/{app-zeh9ct20.js → ripgrep-zeh9ct20.js} +2 -2
- package/dist/chunks/{app-b7q1t0ft.js → ripgrep-zjzvptz9.js} +9 -9
- package/dist/chunks/{app-w793zxam.js → ripgrep-zmk0gg7x.js} +5 -5
- package/dist/chunks/{app-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
- package/dist/chunks/{app-xw1mpsag.js → ripgrep-zsm846db.js} +13 -13
- package/dist/chunks/{app-yr3kdp3p.js → ripgrep-zvpyqeek.js} +32 -32
- package/dist/chunks/{app-zxq2ej10.js → ripgrep-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- 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 +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.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 +371 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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 -106
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +108 -108
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- 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 +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/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 +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- 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 +100 -100
- package/dist/mcp/instructions.js +128 -128
- 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 +102 -102
- package/dist/models-dev.js +107 -107
- 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 +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +220 -220
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +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 +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- 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 +94 -94
- 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 +77 -77
- 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 +120 -120
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- 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 +161 -161
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- 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 +91 -91
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +96 -96
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +8 -10
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +15 -15
- 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 +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- 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 +3 -3
- package/dist/session/runner/retry.js +5 -117
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +11 -11
- package/dist/shell.js +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +127 -127
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- 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 +14 -14
- package/dist/types/file-access.d.ts +0 -5
- package/dist/types/location-services.d.ts +0 -1
- package/dist/types/session/error.d.ts +0 -4
- package/dist/types/session/runner/index.d.ts +2 -2
- package/dist/types/session/runner/retry.d.ts +0 -5
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -14
- package/dist/chunks/app-4v7qdvcn.js +0 -18
- package/dist/chunks/app-hkr8bfzh.js +0 -26
- package/dist/chunks/app-q6qstfck.js +0 -252
- package/dist/chunks/app-qtvmxc8s.js +0 -4
- package/dist/location-mutation.js +0 -118
- package/dist/types/location-mutation.d.ts +0 -3
- package/dist/types/util/array.d.ts +0 -1
- package/dist/types/util/process-lock-ffi.bun.d.ts +0 -12
- package/dist/types/util/process-lock-ffi.node.d.ts +0 -12
- package/dist/types/util/process-lock-ffi.workerd.d.ts +0 -12
- package/dist/types/util/process-lock.d.ts +0 -20
- package/dist/util/array.js +0 -12
- package/dist/util/process-lock-ffi.bun.js +0 -51
- package/dist/util/process-lock-ffi.node.js +0 -44
- package/dist/util/process-lock-ffi.workerd.js +0 -10
- package/dist/util/process-lock.js +0 -121
- /package/dist/chunks/{app-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{app-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{app-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{app-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{app-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{app-24dcb14g.js → ripgrep-24dcb14g.js} +0 -0
- /package/dist/chunks/{app-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{app-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
- /package/dist/chunks/{app-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{app-34c7v6d4.js → ripgrep-34c7v6d4.js} +0 -0
- /package/dist/chunks/{app-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{app-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{app-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{app-3w5fmr99.js → ripgrep-3w5fmr99.js} +0 -0
- /package/dist/chunks/{app-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{app-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{app-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{app-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{app-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{app-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{app-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{app-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{app-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{app-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{app-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{app-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{app-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{app-8wj87zfr.js → ripgrep-8wj87zfr.js} +0 -0
- /package/dist/chunks/{app-922hggd3.js → ripgrep-922hggd3.js} +0 -0
- /package/dist/chunks/{app-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{app-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{app-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
- /package/dist/chunks/{app-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{app-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{app-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{app-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{app-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{app-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{app-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{app-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{app-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{app-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{app-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
- /package/dist/chunks/{app-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{app-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{app-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{app-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{app-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{app-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
- /package/dist/chunks/{app-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{app-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{app-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{app-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{app-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{app-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{app-fxgpk5d8.js → ripgrep-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{app-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{app-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{app-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{app-gftt206x.js → ripgrep-gftt206x.js} +0 -0
- /package/dist/chunks/{app-hjbc5kem.js → ripgrep-hjbc5kem.js} +0 -0
- /package/dist/chunks/{app-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{app-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{app-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{app-jjkms2e6.js → ripgrep-jjkms2e6.js} +0 -0
- /package/dist/chunks/{app-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{app-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{app-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{app-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{app-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{app-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{app-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{app-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{app-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{app-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{app-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{app-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{app-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{app-qg3g05ea.js → ripgrep-qg3g05ea.js} +0 -0
- /package/dist/chunks/{app-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{app-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{app-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{app-sk3qaz4a.js → ripgrep-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{app-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{app-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{app-wc3fc9cn.js → ripgrep-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{app-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{app-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{app-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{app-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{app-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{app-y8cydn3q.js → ripgrep-y8cydn3q.js} +0 -0
- /package/dist/chunks/{app-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
- /package/dist/chunks/{app-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{app-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
- /package/dist/chunks/{app-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./ripgrep-aqpebcrt.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event20,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID16,
|
|
20
|
+
Info: () => Info31,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError10,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service79,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer25,
|
|
29
|
+
node: () => node83,
|
|
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 Event20 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID16 = Form.ID;
|
|
39
|
+
var Info31 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -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: ID16
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError7 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID16
|
|
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: ID16
|
|
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: ID16,
|
|
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 Service79 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer25 = Layer.effect(Service79, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service83;
|
|
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 ?? ID16.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -159,9 +159,9 @@ var layer23 = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
159
159
|
closed = true;
|
|
160
160
|
}).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 })));
|
|
161
161
|
yield* Effect.addFinalizer(() => close);
|
|
162
|
-
return
|
|
162
|
+
return Service79.of({ create, ask, get, list, state, reply, cancel, close });
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
164
|
+
var node83 = makeLocationNode({ service: Service79, layer: layer25, deps: [node87] });
|
|
165
165
|
function validateAnswer2(form, answer) {
|
|
166
166
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
167
167
|
for (const key of Object.keys(answer)) {
|
|
@@ -313,4 +313,4 @@ function isDateTime(value) {
|
|
|
313
313
|
return !Number.isNaN(new Date(value).getTime());
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
export {
|
|
316
|
+
export { ID16, Info31, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service79, layer25, node83, validateAnswer2, validateFields2, exports_form, Event20 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID11 = Session.ID;
|
|
5
|
+
var Info25 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID11, Info25, SessionSchema2 };
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info12
|
|
7
|
+
} from "./ripgrep-a8bn8zg0.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Info11
|
|
10
|
+
} from "./ripgrep-a8zr1srk.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Info9
|
|
13
|
+
} from "./ripgrep-tz2bjj40.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Info8
|
|
16
|
+
} from "./ripgrep-7sbkp4xb.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Info13
|
|
19
|
+
} from "./ripgrep-2y34zzjz.js";
|
|
20
20
|
import {
|
|
21
21
|
Layout2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./ripgrep-21r38tys.js";
|
|
23
23
|
import {
|
|
24
24
|
Info15
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./ripgrep-j15mfg1p.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info14
|
|
28
|
+
} from "./ripgrep-p44d8wdy.js";
|
|
29
29
|
import {
|
|
30
30
|
Spec2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./ripgrep-0jwsre1p.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Info16
|
|
34
|
+
} from "./ripgrep-hnr5yq9h.js";
|
|
35
35
|
import {
|
|
36
36
|
Server2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./ripgrep-zeh9ct20.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Info10
|
|
40
|
+
} from "./ripgrep-sx1n432n.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/v1/config/config.ts
|
|
46
46
|
var exports_config2 = {};
|
|
47
47
|
__export(exports_config2, {
|
|
48
48
|
ConfigV1: () => exports_config2,
|
|
49
|
-
Info: () =>
|
|
49
|
+
Info: () => Info7,
|
|
50
50
|
WellKnown: () => WellKnown2
|
|
51
51
|
});
|
|
52
52
|
import { Schema } from "effect";
|
|
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
|
|
|
59
59
|
identifier: "LogLevel",
|
|
60
60
|
description: "Log level"
|
|
61
61
|
});
|
|
62
|
-
var
|
|
62
|
+
var Info7 = Schema.Struct({
|
|
63
63
|
$schema: Schema.optional(Schema.String).annotate({
|
|
64
64
|
description: "JSON schema reference for configuration validation"
|
|
65
65
|
}),
|
|
@@ -68,10 +68,10 @@ var Info13 = Schema.Struct({
|
|
|
68
68
|
server: Schema.optional(Server2).annotate({
|
|
69
69
|
description: "Server configuration for opencode serve and web commands"
|
|
70
70
|
}),
|
|
71
|
-
command: Schema.optional(Schema.Record(Schema.String,
|
|
71
|
+
command: Schema.optional(Schema.Record(Schema.String, Info8)).annotate({
|
|
72
72
|
description: "Command configuration, see https://opencode.ai/docs/commands"
|
|
73
73
|
}),
|
|
74
|
-
skills: Schema.optional(
|
|
74
|
+
skills: Schema.optional(Info10).annotate({ description: "Additional skill folder paths" }),
|
|
75
75
|
references: Schema.optional(ConfigReference.Info).annotate({
|
|
76
76
|
description: "Named git or local directory references"
|
|
77
77
|
}),
|
|
@@ -113,21 +113,21 @@ var Info13 = Schema.Struct({
|
|
|
113
113
|
username: Schema.optional(Schema.String).annotate({
|
|
114
114
|
description: "Custom username to display in conversations instead of system username"
|
|
115
115
|
}),
|
|
116
|
-
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(
|
|
116
|
+
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info11), plan: Schema.optional(Info11) }), [Schema.Record(Schema.String, Info11)])).annotate({ description: "@deprecated Use `agent` field instead." }),
|
|
117
117
|
agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
|
|
118
|
-
plan: Schema.optional(
|
|
119
|
-
build: Schema.optional(
|
|
120
|
-
general: Schema.optional(
|
|
121
|
-
explore: Schema.optional(
|
|
122
|
-
title: Schema.optional(
|
|
123
|
-
summary: Schema.optional(
|
|
124
|
-
compaction: Schema.optional(
|
|
125
|
-
}), [Schema.Record(Schema.String,
|
|
126
|
-
provider: Schema.optional(Schema.Record(Schema.String,
|
|
118
|
+
plan: Schema.optional(Info11),
|
|
119
|
+
build: Schema.optional(Info11),
|
|
120
|
+
general: Schema.optional(Info11),
|
|
121
|
+
explore: Schema.optional(Info11),
|
|
122
|
+
title: Schema.optional(Info11),
|
|
123
|
+
summary: Schema.optional(Info11),
|
|
124
|
+
compaction: Schema.optional(Info11)
|
|
125
|
+
}), [Schema.Record(Schema.String, Info11)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
|
|
126
|
+
provider: Schema.optional(Schema.Record(Schema.String, Info16)).annotate({
|
|
127
127
|
description: "Custom provider configurations and model overrides"
|
|
128
128
|
}),
|
|
129
|
-
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([
|
|
130
|
-
formatter: Schema.optional(
|
|
129
|
+
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info14, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
|
|
130
|
+
formatter: Schema.optional(Info13).annotate({
|
|
131
131
|
description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
132
132
|
}),
|
|
133
133
|
lsp: Schema.optional(Info15).annotate({
|
|
@@ -137,9 +137,9 @@ var Info13 = Schema.Struct({
|
|
|
137
137
|
description: "Additional instruction files or patterns to include"
|
|
138
138
|
}),
|
|
139
139
|
layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
|
|
140
|
-
permission: Schema.optional(
|
|
140
|
+
permission: Schema.optional(Info12),
|
|
141
141
|
tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
|
|
142
|
-
attachment: Schema.optional(
|
|
142
|
+
attachment: Schema.optional(Info9).annotate({
|
|
143
143
|
description: "Attachment processing configuration, including image size limits and resizing behavior"
|
|
144
144
|
}),
|
|
145
145
|
enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
|
|
@@ -191,4 +191,4 @@ var Info13 = Schema.Struct({
|
|
|
191
191
|
}))
|
|
192
192
|
}).annotate({ identifier: "Config" });
|
|
193
193
|
|
|
194
|
-
export { WellKnown2,
|
|
194
|
+
export { WellKnown2, Info7, exports_config2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-a8bn8zg0.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info11
|
|
9
|
+
} from "./ripgrep-a8zr1srk.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info9
|
|
12
|
+
} from "./ripgrep-tz2bjj40.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info8
|
|
15
|
+
} from "./ripgrep-7sbkp4xb.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info14
|
|
18
|
+
} from "./ripgrep-p44d8wdy.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./ripgrep-0jwsre1p.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info16
|
|
24
|
+
} from "./ripgrep-hnr5yq9h.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Info7
|
|
27
|
+
} from "./ripgrep-jjn8g76t.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./ripgrep-vkpcntwz.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info7.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info9, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info8, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info11, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info11, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info14, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info16, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84,
|
|
6
6
|
node88
|
|
7
|
-
} from "./
|
|
8
|
-
import {
|
|
9
|
-
Service80,
|
|
10
|
-
node84
|
|
11
|
-
} from "./app-643br9be.js";
|
|
7
|
+
} from "./ripgrep-xp2hm3rn.js";
|
|
12
8
|
import {
|
|
13
9
|
Service83,
|
|
14
10
|
node87
|
|
15
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-aqpebcrt.js";
|
|
12
|
+
import {
|
|
13
|
+
Service82,
|
|
14
|
+
node86
|
|
15
|
+
} from "./ripgrep-dq0v80fr.js";
|
|
16
16
|
import {
|
|
17
17
|
ID18,
|
|
18
18
|
Current3,
|
|
@@ -20,17 +20,17 @@ import {
|
|
|
20
20
|
UpdateInput4,
|
|
21
21
|
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./ripgrep-57ez7d0k.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./ripgrep-psazpmmj.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./ripgrep-gfvb90ym.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
@@ -40,10 +40,10 @@ __export(exports_project, {
|
|
|
40
40
|
Info: () => Info33,
|
|
41
41
|
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service81,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node85,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -72,7 +72,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
72
72
|
});
|
|
73
73
|
var ACTIVATE_INTERVAL = 60000;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class Service81 extends Context.Service()("@opencode/Project") {
|
|
76
76
|
}
|
|
77
77
|
function fromRow(row) {
|
|
78
78
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -95,11 +95,11 @@ function fromRow(row) {
|
|
|
95
95
|
sandboxes: row.sandboxes
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
|
-
const git = yield*
|
|
100
|
+
const git = yield* Service82;
|
|
101
101
|
const proc = yield* AppProcess.Service;
|
|
102
|
-
const bus = yield*
|
|
102
|
+
const bus = yield* Service83;
|
|
103
103
|
const db = (yield* Service84).db;
|
|
104
104
|
const announcing = new Set;
|
|
105
105
|
const persist = Effect.fnUntraced(function* (project) {
|
|
@@ -282,12 +282,12 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
282
282
|
vcs: undefined
|
|
283
283
|
});
|
|
284
284
|
});
|
|
285
|
-
return
|
|
285
|
+
return Service81.of({ list, update, activate, resolve });
|
|
286
286
|
}));
|
|
287
|
-
var
|
|
288
|
-
service:
|
|
287
|
+
var node85 = makeGlobalNode({
|
|
288
|
+
service: Service81,
|
|
289
289
|
layer,
|
|
290
|
-
deps: [
|
|
290
|
+
deps: [node87, node88, FSUtil.node, node86, AppProcess.node]
|
|
291
291
|
});
|
|
292
292
|
|
|
293
|
-
export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2,
|
|
293
|
+
export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service81, node85, exports_project };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-m3fdjcah.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service41
|
|
3
|
+
} from "./ripgrep-8yfv9yc5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service10
|
|
6
|
+
} from "./ripgrep-gejt965h.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin30
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin30 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service41;
|
|
26
|
+
const compaction = yield* Service10;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin21 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin30, exports_compaction };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./ripgrep-q9bv1n31.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
|
-
|
|
7
|
+
make21,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-s8d7rejh.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service16,
|
|
19
|
+
node: () => node19
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service16 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service80;
|
|
29
|
+
return Service16.of({
|
|
30
30
|
load: (sessionID) => Effect.succeed(combine2([
|
|
31
|
-
|
|
31
|
+
make21({
|
|
32
32
|
key: Key3.make("core/environment"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: Effect.sync(() => [
|
|
@@ -49,7 +49,7 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
49
49
|
`)
|
|
50
50
|
}
|
|
51
51
|
}),
|
|
52
|
-
|
|
52
|
+
make21({
|
|
53
53
|
key: Key3.make("core/date"),
|
|
54
54
|
codec: Schema.toCodecJson(Schema.String),
|
|
55
55
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
61
61
|
]))
|
|
62
62
|
});
|
|
63
63
|
}));
|
|
64
|
-
var
|
|
64
|
+
var node19 = makeLocationNode({ service: Service16, layer, deps: [Global.node, node84] });
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service16, node19, exports_builtins };
|