@opencode/core 0.0.0-dev-20213 → 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 +79 -79
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{permission-5mtpdy66.js → ripgrep-070x7jqv.js} +23 -23
- package/dist/chunks/{permission-9qxp4dy9.js → ripgrep-09rgwd1w.js} +12 -12
- package/dist/chunks/{permission-fy4kd91z.js → ripgrep-0g79en4w.js} +9 -9
- package/dist/chunks/{permission-2k8khapm.js → ripgrep-0jwsre1p.js} +5 -5
- package/dist/chunks/{permission-6ckptgem.js → ripgrep-0kppctkg.js} +11 -11
- package/dist/chunks/{permission-0paq2nw3.js → ripgrep-0paq2nw3.js} +1 -1
- package/dist/chunks/{permission-ar2nsrmg.js → ripgrep-0txwbxc4.js} +12 -12
- package/dist/chunks/{permission-mmnvkg4r.js → ripgrep-12vdsn8b.js} +21 -21
- package/dist/chunks/{permission-2b0a6zyh.js → ripgrep-15kp7mbb.js} +7 -7
- package/dist/chunks/{permission-8ra6m1eq.js → ripgrep-16bf5rpj.js} +8 -8
- package/dist/chunks/{permission-7zmt5esb.js → ripgrep-19e25byy.js} +26 -26
- package/dist/chunks/ripgrep-19ee3xcc.js +252 -0
- package/dist/chunks/{permission-444gg6f1.js → ripgrep-1a95bty0.js} +22 -22
- package/dist/chunks/{permission-1acjjqhc.js → ripgrep-1acjjqhc.js} +1 -1
- package/dist/chunks/{permission-1dazxqgg.js → ripgrep-1dazxqgg.js} +2 -2
- package/dist/chunks/{permission-gqaynh57.js → ripgrep-1ee8exfz.js} +20 -20
- package/dist/chunks/{permission-07770t2t.js → ripgrep-1fmrbde1.js} +6 -6
- package/dist/chunks/{permission-w54cm820.js → ripgrep-1xnf7mgs.js} +20 -20
- package/dist/chunks/{permission-21r38tys.js → ripgrep-21r38tys.js} +1 -1
- package/dist/chunks/{permission-6h73sxmp.js → ripgrep-2402vzrj.js} +5 -5
- package/dist/chunks/{permission-m9q6nt69.js → ripgrep-2505q7fe.js} +24 -24
- package/dist/chunks/{permission-5yqs442z.js → ripgrep-26z3ws4s.js} +11 -11
- package/dist/chunks/{permission-1sag5cbk.js → ripgrep-28qa2p8j.js} +12 -12
- package/dist/chunks/{permission-2a5m3afh.js → ripgrep-2a5m3afh.js} +1 -1
- package/dist/chunks/{permission-d159wxah.js → ripgrep-2e5kebn3.js} +8 -8
- package/dist/chunks/{permission-sfw1rfb7.js → ripgrep-2gsdyw26.js} +28 -28
- package/dist/chunks/{permission-bd96rvy0.js → ripgrep-2qbs3cg9.js} +18 -18
- package/dist/chunks/{permission-va5qff5x.js → ripgrep-2y34zzjz.js} +4 -4
- package/dist/chunks/{permission-1egaj4wt.js → ripgrep-34b8rt98.js} +13 -13
- package/dist/chunks/{permission-3fc6dm20.js → ripgrep-3fc6dm20.js} +1 -1
- package/dist/chunks/{permission-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{permission-ahnsdqkq.js → ripgrep-3jfzwhx3.js} +30 -30
- package/dist/chunks/{permission-7qafvgtc.js → ripgrep-3ksk9rr2.js} +1 -1
- package/dist/chunks/{permission-fw2v9256.js → ripgrep-3ms0g86c.js} +8 -8
- package/dist/chunks/{permission-b8hzf7nw.js → ripgrep-3rnyj502.js} +8 -8
- package/dist/chunks/{permission-bm1f71yt.js → ripgrep-3rtxz4nr.js} +8 -8
- package/dist/chunks/{permission-3smtnn6g.js → ripgrep-3smtnn6g.js} +1 -1
- package/dist/chunks/{permission-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
- package/dist/chunks/{permission-3zsf4n22.js → ripgrep-3zsf4n22.js} +1 -1
- package/dist/chunks/{permission-5szfgc5e.js → ripgrep-42ja97fm.js} +16 -16
- package/dist/chunks/{permission-s1xcavbq.js → ripgrep-470th4w4.js} +5 -5
- package/dist/chunks/{permission-2cmr90kh.js → ripgrep-4999syfh.js} +10 -10
- package/dist/chunks/{permission-5x1p32da.js → ripgrep-4eaf1e5g.js} +3 -3
- package/dist/chunks/{permission-dtjm6rxg.js → ripgrep-4w0s546m.js} +10 -10
- package/dist/chunks/{permission-gs3s1a1g.js → ripgrep-4w5f3qm5.js} +8 -8
- package/dist/chunks/{permission-ckecvw8r.js → ripgrep-54tcyq79.js} +2 -2
- package/dist/chunks/{permission-m1av9y51.js → ripgrep-555hjjse.js} +15 -15
- package/dist/chunks/{permission-1ygqh575.js → ripgrep-56gdpj1q.js} +9 -9
- package/dist/chunks/{permission-2w6fc0zt.js → ripgrep-57ez7d0k.js} +7 -7
- package/dist/chunks/{permission-awhgk454.js → ripgrep-58td3c7b.js} +5 -5
- package/dist/chunks/{permission-vyyd9re9.js → ripgrep-5cem5vvw.js} +27 -27
- package/dist/chunks/{permission-5daktx2q.js → ripgrep-5daktx2q.js} +1 -1
- package/dist/chunks/{permission-bhjmc7t3.js → ripgrep-5jzhktjr.js} +33 -33
- package/dist/chunks/{permission-ggn2q8wb.js → ripgrep-5ss8824k.js} +6 -6
- package/dist/chunks/{permission-5t3nmthw.js → ripgrep-5t3nmthw.js} +2 -2
- package/dist/chunks/{permission-g8h1n5y5.js → ripgrep-5vrtv4g9.js} +9 -9
- package/dist/chunks/{permission-0kbqr9rx.js → ripgrep-5we73979.js} +15 -15
- package/dist/chunks/{permission-669tq793.js → ripgrep-669tq793.js} +1 -1
- package/dist/chunks/{permission-hcxar3dy.js → ripgrep-6cehfpa0.js} +28 -28
- package/dist/chunks/{permission-q83vp15h.js → ripgrep-6majk428.js} +9 -9
- package/dist/chunks/{permission-6msgmcgs.js → ripgrep-6msgmcgs.js} +1 -1
- package/dist/chunks/{permission-7tfdw4kn.js → ripgrep-6y4f4487.js} +19 -19
- package/dist/chunks/{permission-9qepf6xg.js → ripgrep-74dp8hat.js} +16 -16
- package/dist/chunks/{permission-sb7tcqzb.js → ripgrep-77vfrych.js} +14 -14
- package/dist/chunks/{permission-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{permission-byy3mcv6.js → ripgrep-7cas1wtv.js} +20 -20
- package/dist/chunks/{permission-dt5ft21v.js → ripgrep-7cx3b7xt.js} +3 -3
- package/dist/chunks/ripgrep-7fax3qrw.js +507 -0
- package/dist/chunks/{permission-t6vsspdg.js → ripgrep-7sbkp4xb.js} +7 -7
- package/dist/chunks/{permission-cysjgskk.js → ripgrep-7wtv0cyd.js} +28 -28
- package/dist/chunks/{permission-s4wvmj1w.js → ripgrep-82teqrmt.js} +14 -14
- package/dist/chunks/{permission-ktajhw28.js → ripgrep-84ggppa8.js} +35 -35
- package/dist/chunks/{permission-8d7r5vzw.js → ripgrep-8d7r5vzw.js} +1 -1
- package/dist/chunks/{permission-8sze2n9a.js → ripgrep-8phpemx6.js} +2 -2
- package/dist/chunks/{permission-5kvqrqtt.js → ripgrep-8qvzptz7.js} +4 -4
- package/dist/chunks/{permission-277eer69.js → ripgrep-8tsdq50x.js} +4 -4
- package/dist/chunks/{permission-t23bgkkb.js → ripgrep-8yfv9yc5.js} +41 -41
- package/dist/chunks/{permission-azpvescy.js → ripgrep-9g55x113.js} +8 -8
- package/dist/chunks/{permission-3p3dzcr7.js → ripgrep-9rh4wyvr.js} +70 -70
- package/dist/chunks/{permission-dh3byjre.js → ripgrep-a0pm8hjd.js} +20 -20
- package/dist/chunks/{permission-nng2ktcm.js → ripgrep-a3r4dcrj.js} +2 -2
- package/dist/chunks/{permission-cavr175a.js → ripgrep-a8bn8zg0.js} +4 -4
- package/dist/chunks/{permission-fad6j005.js → ripgrep-a8zr1srk.js} +8 -8
- package/dist/chunks/{permission-aaet6srn.js → ripgrep-aaet6srn.js} +2 -2
- package/dist/chunks/{permission-gjmk74th.js → ripgrep-acd4vkpt.js} +6 -6
- package/dist/chunks/{permission-c1w29199.js → ripgrep-ad0mdt0a.js} +3 -3
- package/dist/chunks/{permission-b8z6cgx4.js → ripgrep-ae3gwck6.js} +22 -22
- package/dist/chunks/{permission-c3aqhckj.js → ripgrep-ap3d8azh.js} +10 -10
- package/dist/chunks/{permission-9hrb99b0.js → ripgrep-aqpebcrt.js} +4 -4
- package/dist/chunks/{permission-ycjqhn27.js → ripgrep-aqpkav4c.js} +11 -11
- package/dist/chunks/{permission-bcj24as6.js → ripgrep-as5rxwbe.js} +34 -34
- package/dist/chunks/{permission-efhxkz2r.js → ripgrep-b3ssbg72.js} +6 -22
- package/dist/chunks/{permission-b5q3ry10.js → ripgrep-b50dwesx.js} +21 -21
- package/dist/chunks/{permission-5ryghfxb.js → ripgrep-b61etazn.js} +8 -8
- package/dist/chunks/{permission-b6gygkdw.js → ripgrep-b6gygkdw.js} +2 -2
- package/dist/chunks/{permission-bv5rrht5.js → ripgrep-bdnj05zt.js} +38 -38
- package/dist/chunks/{permission-0br3sbwn.js → ripgrep-bgc5ggmx.js} +4 -4
- package/dist/chunks/{permission-2f1p5z3m.js → ripgrep-bgk9j2hb.js} +4 -4
- package/dist/chunks/{permission-z07pqspn.js → ripgrep-bjtzbw4r.js} +3 -3
- package/dist/chunks/{permission-jyjnbdry.js → ripgrep-bm4g2d1m.js} +6 -6
- package/dist/chunks/{permission-jfzzff3q.js → ripgrep-bn1fqadf.js} +3 -3
- package/dist/chunks/{permission-0e93ex8d.js → ripgrep-bn2pe2hy.js} +28 -28
- package/dist/chunks/{permission-1mdmpwnd.js → ripgrep-bn9y56zf.js} +15 -15
- package/dist/chunks/{permission-rd9rk3dn.js → ripgrep-bp2sensp.js} +4 -4
- package/dist/chunks/{permission-52ydpxj4.js → ripgrep-c2fkg77t.js} +11 -11
- package/dist/chunks/{permission-001w0r38.js → ripgrep-c8xqcx36.js} +6 -6
- package/dist/chunks/{permission-0qxhqs63.js → ripgrep-c92s42wz.js} +20 -20
- package/dist/chunks/{permission-qhqpvhks.js → ripgrep-c9wpfjta.js} +32 -32
- package/dist/chunks/{permission-p8nvvwdr.js → ripgrep-cb0dmbvc.js} +11 -11
- package/dist/chunks/{permission-gs60z27v.js → ripgrep-cc4mce2f.js} +11 -11
- package/dist/chunks/{permission-3vtdnh8g.js → ripgrep-cjewx8rg.js} +6 -6
- package/dist/chunks/{permission-dwd5gn3v.js → ripgrep-cms5sp3y.js} +39 -39
- package/dist/chunks/{permission-p37cw4rj.js → ripgrep-cmwkp3r5.js} +8 -8
- package/dist/chunks/{permission-274ea90s.js → ripgrep-cweqvw0v.js} +45 -45
- package/dist/chunks/{permission-3vdha7ev.js → ripgrep-cwmzg64k.js} +11 -11
- package/dist/chunks/{permission-90yk3ysx.js → ripgrep-czkm8csv.js} +15 -15
- package/dist/chunks/{permission-qvz1qsfj.js → ripgrep-d31757xt.js} +10 -10
- package/dist/chunks/{permission-s4sz7mfv.js → ripgrep-d6ygdec0.js} +17 -17
- package/dist/chunks/{permission-w3nq1sqw.js → ripgrep-dda0p7y7.js} +9 -9
- package/dist/chunks/{permission-8dshm500.js → ripgrep-ded48gaz.js} +18 -24
- package/dist/chunks/{permission-dmqcgk4z.js → ripgrep-dmqcgk4z.js} +2 -2
- package/dist/chunks/{permission-4y72ap3v.js → ripgrep-dq0v80fr.js} +12 -12
- package/dist/chunks/{permission-9f7mwg51.js → ripgrep-dsd3h4da.js} +3 -3
- package/dist/chunks/{permission-ecfe7b91.js → ripgrep-ecfe7b91.js} +2 -2
- package/dist/chunks/{permission-eq1pz5kg.js → ripgrep-edc6jshq.js} +3 -3
- package/dist/chunks/{permission-ef5x83kb.js → ripgrep-ef5x83kb.js} +1 -1
- package/dist/chunks/{permission-etq0c3wd.js → ripgrep-etq0c3wd.js} +1 -1
- package/dist/chunks/{permission-by1p8q1p.js → ripgrep-evwvzn8m.js} +43 -43
- package/dist/chunks/{permission-syf57q56.js → ripgrep-f29mbr7f.js} +4 -4
- package/dist/chunks/{permission-bwhsz0as.js → ripgrep-f9dn3m9b.js} +10 -10
- package/dist/chunks/{permission-x9wbmrd5.js → ripgrep-fn2vm53h.js} +19 -19
- package/dist/chunks/{permission-7t6cswfs.js → ripgrep-gbgcn9t9.js} +20 -20
- package/dist/chunks/{permission-0te0zncg.js → ripgrep-gc1be7ym.js} +10 -10
- package/dist/chunks/{permission-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
- package/dist/chunks/{permission-tvgvprj8.js → ripgrep-gejt965h.js} +30 -30
- package/dist/chunks/{permission-a5zd3thz.js → ripgrep-gengpk4q.js} +7 -7
- package/dist/chunks/{permission-94ek1h2f.js → ripgrep-gfvb90ym.js} +2 -2
- package/dist/chunks/{permission-n8zrmqva.js → ripgrep-ghshyr7t.js} +24 -24
- package/dist/chunks/{permission-ej53mqpx.js → ripgrep-gntj43c3.js} +43 -43
- package/dist/chunks/{permission-2gwzkvcr.js → ripgrep-gt3bz8e3.js} +25 -25
- package/dist/chunks/{permission-gv6a8nnw.js → ripgrep-gv6a8nnw.js} +2 -2
- package/dist/chunks/{permission-pyqpzv5h.js → ripgrep-gxnkkmdt.js} +9 -9
- package/dist/chunks/{permission-f62qkzqr.js → ripgrep-h4z1mxff.js} +5 -5
- package/dist/chunks/{permission-4dgbcxzg.js → ripgrep-h6r3nrb9.js} +4 -4
- package/dist/chunks/{permission-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
- package/dist/chunks/{permission-0jq9fyba.js → ripgrep-h71w788e.js} +9 -9
- package/dist/chunks/{permission-4c7gxc1e.js → ripgrep-hc7887ne.js} +48 -48
- package/dist/chunks/{permission-5v6ecpn9.js → ripgrep-hjya9502.js} +18 -18
- package/dist/chunks/{permission-kwdb2g4j.js → ripgrep-hm1jkskx.js} +15 -15
- package/dist/chunks/{permission-fhp4k3j9.js → ripgrep-hmcfw5q9.js} +52 -52
- package/dist/chunks/{permission-64j1dnk2.js → ripgrep-hmcps9m2.js} +13 -13
- package/dist/chunks/{permission-0r7yqxbf.js → ripgrep-hnr5yq9h.js} +5 -5
- package/dist/chunks/{permission-v1phcrt4.js → ripgrep-hpzaeq5b.js} +15 -15
- package/dist/chunks/ripgrep-hxa7m5za.js +4 -0
- package/dist/chunks/{permission-j15mfg1p.js → ripgrep-j15mfg1p.js} +1 -1
- package/dist/chunks/{permission-j56e64zr.js → ripgrep-j56e64zr.js} +1 -1
- package/dist/chunks/{permission-swpyer75.js → ripgrep-j6n240pe.js} +15 -15
- package/dist/chunks/{permission-e8bjwr6g.js → ripgrep-jampngmm.js} +34 -34
- package/dist/chunks/{permission-mws41bry.js → ripgrep-jdyje03d.js} +20 -20
- package/dist/chunks/{permission-7w99qc9d.js → ripgrep-jexxy024.js} +3 -3
- package/dist/chunks/{permission-ecw0cacm.js → ripgrep-jjn8g76t.js} +39 -39
- package/dist/chunks/{permission-3e4s6ymp.js → ripgrep-k1s5fk6j.js} +23 -23
- package/dist/chunks/{permission-2kfwyj8t.js → ripgrep-k228d5wx.js} +36 -36
- package/dist/chunks/{permission-k3c624dm.js → ripgrep-k3c624dm.js} +3 -3
- package/dist/chunks/{permission-akzxnx93.js → ripgrep-k49htjjy.js} +11 -11
- package/dist/chunks/{permission-0j1gq5q0.js → ripgrep-khja88a7.js} +16 -16
- package/dist/chunks/{permission-2tdz4740.js → ripgrep-kj1xsshb.js} +23 -23
- package/dist/chunks/{permission-wsa7qf31.js → ripgrep-kjgtxxd0.js} +11 -11
- package/dist/chunks/{permission-8vkgrzpx.js → ripgrep-kp3ccd2p.js} +306 -306
- package/dist/chunks/{permission-ae12mqtr.js → ripgrep-kpbxnat6.js} +5 -5
- package/dist/chunks/{permission-v7fphmzy.js → ripgrep-kv6rgdgk.js} +23 -23
- package/dist/chunks/{permission-edqzwk7r.js → ripgrep-kw68gt8s.js} +13 -13
- package/dist/chunks/{permission-mzqkw4fg.js → ripgrep-kx6qw7rw.js} +13 -13
- package/dist/chunks/{permission-fv1d8yds.js → ripgrep-m1ghs974.js} +48 -48
- package/dist/chunks/{permission-m3fdjcah.js → ripgrep-m3fdjcah.js} +1 -1
- package/dist/chunks/ripgrep-m7hzdmrm.js +26 -0
- package/dist/chunks/{permission-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{permission-r1najpkt.js → ripgrep-maxhh8et.js} +17 -17
- package/dist/chunks/{permission-cfgnp1rp.js → ripgrep-mdxpkgt1.js} +32 -32
- package/dist/chunks/{permission-3t5wgsns.js → ripgrep-mejwe17d.js} +5 -8
- package/dist/chunks/{permission-13apfhb0.js → ripgrep-mfgtk275.js} +16 -16
- package/dist/chunks/{permission-j5b7jc6z.js → ripgrep-mh69476p.js} +18 -18
- package/dist/chunks/{permission-bgbzcg1n.js → ripgrep-mm9a79w2.js} +5 -5
- package/dist/chunks/{permission-mvksx64m.js → ripgrep-mzywpf3p.js} +4 -4
- package/dist/chunks/{permission-5zgzw0qf.js → ripgrep-n2qr5wvz.js} +89 -89
- package/dist/chunks/{permission-7ajw325d.js → ripgrep-n5et7dpj.js} +10 -10
- package/dist/chunks/{permission-ayqmgy5k.js → ripgrep-n7w0d8kx.js} +11 -11
- package/dist/chunks/{permission-h4s9yzmg.js → ripgrep-npxj08d4.js} +5 -5
- package/dist/chunks/{permission-nq7qbqzc.js → ripgrep-nq7qbqzc.js} +2 -2
- package/dist/chunks/{permission-4phm5153.js → ripgrep-p44d8wdy.js} +5 -5
- package/dist/chunks/{permission-kwy1393n.js → ripgrep-p9zsz0x5.js} +2 -2
- package/dist/chunks/ripgrep-phz3h32g.js +18 -0
- package/dist/chunks/{permission-dzwwpm14.js → ripgrep-pje8b49m.js} +33 -39
- package/dist/chunks/{permission-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
- package/dist/chunks/{permission-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/{permission-nh53w5qr.js → ripgrep-pmytgcn0.js} +31 -31
- package/dist/chunks/{permission-wd3x2cqz.js → ripgrep-psazpmmj.js} +2 -2
- package/dist/chunks/{permission-cbt43t9n.js → ripgrep-pss0kfhr.js} +20 -20
- package/dist/chunks/{permission-3cemp78t.js → ripgrep-q06jrgxq.js} +23 -23
- package/dist/chunks/{permission-xzf49dj8.js → ripgrep-q14nnn67.js} +12 -12
- package/dist/chunks/{permission-hhfcwf9e.js → ripgrep-q3e16cjs.js} +16 -16
- package/dist/chunks/{permission-baaqp4zd.js → ripgrep-q5asdkn4.js} +4 -4
- package/dist/chunks/{permission-jp1j8mt2.js → ripgrep-q842h3bn.js} +47 -47
- package/dist/chunks/{permission-6qr54s4x.js → ripgrep-q9bqj99v.js} +15 -15
- package/dist/chunks/{permission-2yjs42jw.js → ripgrep-q9bv1n31.js} +14 -14
- package/dist/chunks/{permission-kd9ezq8v.js → ripgrep-qaskr6ck.js} +11 -11
- package/dist/chunks/{permission-6kda1prh.js → ripgrep-qf5m3qp7.js} +26 -26
- package/dist/chunks/{permission-01ffsn2j.js → ripgrep-qjmya8rr.js} +18 -18
- package/dist/chunks/{permission-djszqvmq.js → ripgrep-qmqgtz8f.js} +9 -9
- package/dist/chunks/{permission-z10j5g1a.js → ripgrep-qr1jhx0t.js} +37 -37
- package/dist/chunks/{permission-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
- package/dist/chunks/{permission-tts6w2c0.js → ripgrep-r6tgknzn.js} +11 -11
- package/dist/chunks/{permission-rdw6cm16.js → ripgrep-rdw6cm16.js} +1 -1
- package/dist/chunks/{permission-427t97hr.js → ripgrep-rk1r2hx8.js} +1 -1
- package/dist/chunks/{permission-wfvt68ck.js → ripgrep-rqpceq6q.js} +9 -9
- package/dist/chunks/{permission-vy6b5em3.js → ripgrep-rt3ycepw.js} +8 -8
- package/dist/chunks/{permission-m3zza4qd.js → ripgrep-rtathh62.js} +8 -8
- package/dist/chunks/{permission-c3xmfx7z.js → ripgrep-rxshm0sb.js} +21 -21
- package/dist/chunks/{permission-30t0f9bf.js → ripgrep-rzwfn0ne.js} +176 -176
- package/dist/chunks/{permission-e7wwe935.js → ripgrep-s1rxbgtw.js} +3 -3
- package/dist/chunks/{permission-pczk21ak.js → ripgrep-s5bs032n.js} +6 -6
- package/dist/chunks/{permission-rhjbct0v.js → ripgrep-s8d7rejh.js} +4 -4
- package/dist/chunks/{permission-fdcp7117.js → ripgrep-sr2r7h9e.js} +29 -29
- package/dist/chunks/{permission-6nkvgkq9.js → ripgrep-ss6jxd5h.js} +24 -24
- package/dist/chunks/{permission-phg2e2sn.js → ripgrep-sspsyg24.js} +4 -4
- package/dist/chunks/{permission-j83byb14.js → ripgrep-sx1n432n.js} +4 -4
- package/dist/chunks/{permission-ry74s6py.js → ripgrep-symcztc9.js} +23 -23
- package/dist/chunks/{permission-2f3cmjw6.js → ripgrep-t2k3fcmw.js} +35 -35
- package/dist/chunks/{permission-4wa8rwpk.js → ripgrep-t44twkfx.js} +20 -20
- package/dist/chunks/{permission-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
- package/dist/chunks/{permission-tcezcvh9.js → ripgrep-tcezcvh9.js} +1 -1
- package/dist/chunks/{permission-tdstcens.js → ripgrep-tdstcens.js} +1 -1
- package/dist/chunks/{permission-d87fqded.js → ripgrep-tgkxrmwx.js} +9 -9
- package/dist/chunks/{permission-hasdsx5m.js → ripgrep-ttrnwjg6.js} +32 -32
- package/dist/chunks/{permission-tvtrv512.js → ripgrep-tvtrv512.js} +1 -1
- package/dist/chunks/{permission-qtt8rjvb.js → ripgrep-twcsa2yf.js} +20 -20
- package/dist/chunks/{permission-dj9sq318.js → ripgrep-tz2bjj40.js} +5 -5
- package/dist/chunks/{permission-2e6ckx7j.js → ripgrep-v3cs42z7.js} +15 -15
- package/dist/chunks/{permission-bvma8vez.js → ripgrep-v60cs7q6.js} +24 -24
- package/dist/chunks/{permission-pjym4tm7.js → ripgrep-v8ys44m2.js} +22 -22
- package/dist/chunks/{permission-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
- package/dist/chunks/{permission-k9avtbwf.js → ripgrep-vjjxy6yb.js} +5 -12
- package/dist/chunks/{permission-waz4nkqe.js → ripgrep-vkpcntwz.js} +4 -4
- package/dist/chunks/{permission-vzcthcp8.js → ripgrep-vzcthcp8.js} +1 -1
- package/dist/chunks/{permission-vzs5sf6e.js → ripgrep-vzs5sf6e.js} +1 -1
- package/dist/chunks/{permission-jkv26egb.js → ripgrep-vzsp23ty.js} +10 -10
- package/dist/chunks/{permission-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{permission-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{permission-e3vvqy9k.js → ripgrep-wmtcr06c.js} +31 -31
- package/dist/chunks/{permission-296txdq9.js → ripgrep-wnc32zva.js} +1 -1
- package/dist/chunks/{permission-1n2xgvd9.js → ripgrep-wwass4bc.js} +5 -5
- package/dist/chunks/{permission-y58vyra2.js → ripgrep-wzce99wp.js} +8 -8
- package/dist/chunks/{permission-rjq23j7t.js → ripgrep-x1eshmbh.js} +90 -90
- package/dist/chunks/{permission-x1ezjp6w.js → ripgrep-x1ezjp6w.js} +1 -1
- package/dist/chunks/{permission-3b4xyg7r.js → ripgrep-x1wt5kst.js} +11 -11
- package/dist/chunks/{permission-9cn86291.js → ripgrep-x3gcvk5s.js} +25 -25
- package/dist/chunks/{permission-66d4mk0n.js → ripgrep-x7c7n8ct.js} +9 -9
- package/dist/chunks/{permission-9n7em7a6.js → ripgrep-x8877teh.js} +15 -15
- package/dist/chunks/{permission-n75dgb1y.js → ripgrep-xe892rvg.js} +30 -30
- package/dist/chunks/{permission-sbfe9m0d.js → ripgrep-xee3s8h4.js} +8 -8
- package/dist/chunks/{permission-v7s9yhmd.js → ripgrep-xhxqht2n.js} +5 -5
- package/dist/chunks/{permission-w491vddx.js → ripgrep-xj8f3x9y.js} +25 -25
- package/dist/chunks/{permission-zbnnn9xp.js → ripgrep-xmm46p6t.js} +13 -13
- package/dist/chunks/{permission-atf3k7a1.js → ripgrep-xp2hm3rn.js} +3 -3
- package/dist/chunks/{permission-ft0hsrhm.js → ripgrep-xvm3nk9v.js} +22 -22
- package/dist/chunks/{permission-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
- package/dist/chunks/{permission-y71avatq.js → ripgrep-y71avatq.js} +1 -1
- package/dist/chunks/{permission-6aesvrx9.js → ripgrep-y7adswzc.js} +20 -20
- package/dist/chunks/{permission-2xwkyk0m.js → ripgrep-y906m0ew.js} +5 -5
- package/dist/chunks/{permission-d6xxazjr.js → ripgrep-yaeh8x3m.js} +16 -16
- package/dist/chunks/{permission-0cncm6aq.js → ripgrep-yf5s7ntk.js} +24 -24
- package/dist/chunks/{permission-yrhqyw5v.js → ripgrep-yrhqyw5v.js} +1 -1
- package/dist/chunks/{permission-yrznvahk.js → ripgrep-yrznvahk.js} +2 -2
- package/dist/chunks/{permission-g3gqqgf2.js → ripgrep-ytgm5639.js} +8 -8
- package/dist/chunks/{permission-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
- package/dist/chunks/{permission-z63w68vq.js → ripgrep-z63w68vq.js} +2 -2
- package/dist/chunks/{permission-3kc2a4v3.js → ripgrep-z9yrm4kz.js} +44 -44
- package/dist/chunks/{permission-xfkkasph.js → ripgrep-zd6bhfye.js} +4 -4
- package/dist/chunks/{permission-zeh9ct20.js → ripgrep-zeh9ct20.js} +2 -2
- package/dist/chunks/{permission-2f8yw4sv.js → ripgrep-zjzvptz9.js} +9 -9
- package/dist/chunks/{permission-68c3zqnv.js → ripgrep-zmk0gg7x.js} +5 -5
- package/dist/chunks/{permission-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
- package/dist/chunks/{permission-2wsqpdn5.js → ripgrep-zsm846db.js} +13 -13
- package/dist/chunks/{permission-0s95rqpb.js → ripgrep-zvpyqeek.js} +25 -25
- package/dist/chunks/{permission-zxq2ej10.js → ripgrep-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 +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- 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 +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +77 -77
- package/dist/database/database.js +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 +70 -70
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +104 -104
- package/dist/form.js +80 -80
- 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 +132 -132
- 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 +108 -108
- 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 +105 -105
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- 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 +7 -7
- package/dist/plugin/optimize.js +2 -2
- 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 +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- 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 +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +98 -98
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/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 +4 -6
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +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 +126 -126
- 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 +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +15 -15
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +89 -89
- 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 +125 -125
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +96 -96
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +1 -1
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/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 +76 -76
- 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/permission-4v7qdvcn.js +0 -18
- package/dist/chunks/permission-9mjahchf.js +0 -252
- package/dist/chunks/permission-g3ch1sn9.js +0 -26
- package/dist/chunks/permission-qapv375x.js +0 -4
- package/dist/chunks/permission-zy255zeq.js +0 -507
- 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/{permission-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{permission-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{permission-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{permission-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{permission-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{permission-24dcb14g.js → ripgrep-24dcb14g.js} +0 -0
- /package/dist/chunks/{permission-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{permission-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
- /package/dist/chunks/{permission-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{permission-34c7v6d4.js → ripgrep-34c7v6d4.js} +0 -0
- /package/dist/chunks/{permission-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{permission-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{permission-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{permission-3w5fmr99.js → ripgrep-3w5fmr99.js} +0 -0
- /package/dist/chunks/{permission-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{permission-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{permission-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{permission-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{permission-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{permission-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{permission-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{permission-5qd3pb7m.js → ripgrep-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{permission-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{permission-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{permission-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{permission-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{permission-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{permission-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{permission-8wj87zfr.js → ripgrep-8wj87zfr.js} +0 -0
- /package/dist/chunks/{permission-922hggd3.js → ripgrep-922hggd3.js} +0 -0
- /package/dist/chunks/{permission-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{permission-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{permission-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
- /package/dist/chunks/{permission-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{permission-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{permission-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{permission-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{permission-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{permission-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{permission-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{permission-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{permission-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{permission-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{permission-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
- /package/dist/chunks/{permission-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{permission-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{permission-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{permission-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{permission-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{permission-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
- /package/dist/chunks/{permission-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{permission-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{permission-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{permission-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{permission-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{permission-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{permission-fxgpk5d8.js → ripgrep-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{permission-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{permission-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{permission-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{permission-gftt206x.js → ripgrep-gftt206x.js} +0 -0
- /package/dist/chunks/{permission-hjbc5kem.js → ripgrep-hjbc5kem.js} +0 -0
- /package/dist/chunks/{permission-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{permission-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{permission-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{permission-jjkms2e6.js → ripgrep-jjkms2e6.js} +0 -0
- /package/dist/chunks/{permission-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{permission-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{permission-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{permission-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{permission-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{permission-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{permission-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{permission-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{permission-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{permission-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{permission-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{permission-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{permission-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{permission-qg3g05ea.js → ripgrep-qg3g05ea.js} +0 -0
- /package/dist/chunks/{permission-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{permission-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{permission-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{permission-sk3qaz4a.js → ripgrep-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{permission-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{permission-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{permission-wc3fc9cn.js → ripgrep-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{permission-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{permission-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{permission-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{permission-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{permission-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{permission-y8cydn3q.js → ripgrep-y8cydn3q.js} +0 -0
- /package/dist/chunks/{permission-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
- /package/dist/chunks/{permission-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{permission-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
- /package/dist/chunks/{permission-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
|
@@ -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 "./
|
|
8
|
-
import {
|
|
9
|
-
Info10
|
|
10
|
-
} from "./permission-fad6j005.js";
|
|
6
|
+
Info12
|
|
7
|
+
} from "./ripgrep-a8bn8zg0.js";
|
|
11
8
|
import {
|
|
12
9
|
Info11
|
|
13
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-a8zr1srk.js";
|
|
14
11
|
import {
|
|
15
12
|
Info9
|
|
16
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-tz2bjj40.js";
|
|
17
14
|
import {
|
|
18
15
|
Info8
|
|
19
|
-
} from "./
|
|
16
|
+
} from "./ripgrep-7sbkp4xb.js";
|
|
17
|
+
import {
|
|
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 Info6 = 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 Info6 = 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 Info6 = 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 Info6 = 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 "./
|
|
7
|
-
import {
|
|
8
|
-
Info10
|
|
9
|
-
} from "./permission-fad6j005.js";
|
|
6
|
+
} from "./ripgrep-a8bn8zg0.js";
|
|
10
7
|
import {
|
|
11
8
|
Info11
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-a8zr1srk.js";
|
|
13
10
|
import {
|
|
14
11
|
Info9
|
|
15
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-tz2bjj40.js";
|
|
16
13
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
14
|
+
Info8
|
|
15
|
+
} from "./ripgrep-7sbkp4xb.js";
|
|
16
|
+
import {
|
|
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,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84,
|
|
6
6
|
node88
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-xp2hm3rn.js";
|
|
8
8
|
import {
|
|
9
9
|
Service83,
|
|
10
10
|
node87
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-aqpebcrt.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service82,
|
|
14
|
+
node86
|
|
15
|
+
} from "./ripgrep-dq0v80fr.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID18,
|
|
18
18
|
Current3,
|
|
19
19
|
Info34,
|
|
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 = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
39
|
+
ID: () => ID17,
|
|
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";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID17 = ID18;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
61
|
var Info33 = Info34;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
64
|
class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
-
projectID:
|
|
65
|
+
projectID: ID17
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -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,9 +95,9 @@ 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
102
|
const bus = yield* Service83;
|
|
103
103
|
const db = (yield* Service84).db;
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
108
108
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
109
109
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
110
110
|
if (row)
|
|
111
|
-
yield* bus.publish(
|
|
111
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
112
112
|
}
|
|
113
113
|
if (!project.vcs)
|
|
114
114
|
return project;
|
|
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
145
145
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
146
146
|
projectID: item.projectID,
|
|
147
147
|
directory: item.directory,
|
|
148
|
-
previous: project.previous ??
|
|
148
|
+
previous: project.previous ?? ID17.global,
|
|
149
149
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
150
150
|
}, {
|
|
151
151
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -170,7 +170,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
170
170
|
if (!row)
|
|
171
171
|
return yield* new NotFoundError11({ projectID: input.projectID });
|
|
172
172
|
const project = fromRow(row);
|
|
173
|
-
yield* bus.publish(
|
|
173
|
+
yield* bus.publish(Event21.Updated, project);
|
|
174
174
|
return project;
|
|
175
175
|
});
|
|
176
176
|
const activated = new Map;
|
|
@@ -181,10 +181,10 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
181
181
|
activated.set(projectID, now);
|
|
182
182
|
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
183
183
|
if (row)
|
|
184
|
-
yield* bus.publish(
|
|
184
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
185
185
|
});
|
|
186
186
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
187
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
187
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
188
188
|
return;
|
|
189
189
|
}));
|
|
190
190
|
});
|
|
@@ -195,7 +195,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
195
195
|
const normalized = url(origin);
|
|
196
196
|
if (!normalized)
|
|
197
197
|
return;
|
|
198
|
-
return
|
|
198
|
+
return ID17.make(Hash.fast(`git-remote:${normalized}`));
|
|
199
199
|
});
|
|
200
200
|
function url(input) {
|
|
201
201
|
const value = input.trim();
|
|
@@ -220,7 +220,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
220
220
|
}
|
|
221
221
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
222
222
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
223
|
-
return root ?
|
|
223
|
+
return root ? ID17.make(root) : undefined;
|
|
224
224
|
});
|
|
225
225
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
226
226
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
236
236
|
return;
|
|
237
237
|
const node = result.stdout.toString("utf8").split(`
|
|
238
238
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
239
|
-
return node ?
|
|
239
|
+
return node ? ID17.make(node) : undefined;
|
|
240
240
|
});
|
|
241
241
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
242
242
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -245,7 +245,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
245
245
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
246
246
|
return {
|
|
247
247
|
previous,
|
|
248
|
-
id: id ??
|
|
248
|
+
id: id ?? ID17.global,
|
|
249
249
|
directory: worktree,
|
|
250
250
|
vcs: { type: "hg", store }
|
|
251
251
|
};
|
|
@@ -262,7 +262,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
262
262
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
263
263
|
return yield* persist({
|
|
264
264
|
previous,
|
|
265
|
-
id: id ??
|
|
265
|
+
id: id ?? ID17.global,
|
|
266
266
|
directory: repo.worktree,
|
|
267
267
|
canonical,
|
|
268
268
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -276,18 +276,18 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
276
276
|
});
|
|
277
277
|
}
|
|
278
278
|
return yield* persist({
|
|
279
|
-
id:
|
|
279
|
+
id: ID17.make(Hash.fast(`directory:${directory}`)),
|
|
280
280
|
directory,
|
|
281
281
|
canonical: directory,
|
|
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: [node87, node88, FSUtil.node,
|
|
290
|
+
deps: [node87, node88, FSUtil.node, node86, AppProcess.node]
|
|
291
291
|
});
|
|
292
292
|
|
|
293
|
-
export {
|
|
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 Plugin42 = 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(Service32, 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(Service32, 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 };
|