@opencode/core 0.0.0-dev-20632 → 0.0.0-dev-20634
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{instruction-discovery-qwnftk75.js → ripgrep-0229r2y6.js} +88 -88
- package/dist/chunks/{instruction-discovery-fkg89wek.js → ripgrep-0618bhf4.js} +25 -25
- package/dist/chunks/{instruction-discovery-yh84h8ff.js → ripgrep-076smhkq.js} +3 -3
- package/dist/chunks/{instruction-discovery-gxmp6baz.js → ripgrep-09xbw6za.js} +5 -5
- package/dist/chunks/{instruction-discovery-emwp4ew9.js → ripgrep-0gqfrnsf.js} +16 -16
- package/dist/chunks/{instruction-discovery-6http0mh.js → ripgrep-0k8zvg2a.js} +17 -17
- package/dist/chunks/{instruction-discovery-0paq2nw3.js → ripgrep-0paq2nw3.js} +1 -1
- package/dist/chunks/{instruction-discovery-n7sq0xmn.js → ripgrep-0pqv7m1r.js} +11 -11
- package/dist/chunks/{instruction-discovery-0vbcp93d.js → ripgrep-0vbcp93d.js} +2 -2
- package/dist/chunks/{instruction-discovery-6v1thfxt.js → ripgrep-0xwrgxtz.js} +77 -77
- package/dist/chunks/{instruction-discovery-t035pbdh.js → ripgrep-10wa4fem.js} +42 -42
- package/dist/chunks/{instruction-discovery-fmc4xz56.js → ripgrep-187tx94p.js} +7 -7
- package/dist/chunks/{instruction-discovery-yp2x3t23.js → ripgrep-1acjjqhc.js} +4 -4
- package/dist/chunks/{instruction-discovery-1dazxqgg.js → ripgrep-1dazxqgg.js} +2 -2
- package/dist/chunks/{instruction-discovery-84h8c373.js → ripgrep-1dvck2a7.js} +2 -2
- package/dist/chunks/{instruction-discovery-r8yv96k8.js → ripgrep-1mb5bsea.js} +5 -5
- package/dist/chunks/{instruction-discovery-bmrathgk.js → ripgrep-1s5z1wtk.js} +20 -20
- package/dist/chunks/{instruction-discovery-9wncg805.js → ripgrep-1vyzjnq9.js} +8 -8
- package/dist/chunks/{instruction-discovery-b27gyhng.js → ripgrep-247t9d9n.js} +8 -8
- package/dist/chunks/{instruction-discovery-1arz3s5f.js → ripgrep-283xtvn5.js} +20 -20
- package/dist/chunks/{instruction-discovery-7d91w09k.js → ripgrep-29ag82sg.js} +7 -7
- package/dist/chunks/{instruction-discovery-2a5m3afh.js → ripgrep-2a5m3afh.js} +1 -1
- package/dist/chunks/{instruction-discovery-hqpwwhxs.js → ripgrep-2agc6006.js} +8 -8
- package/dist/chunks/{instruction-discovery-4gynkwvk.js → ripgrep-2hem8a9k.js} +6 -6
- package/dist/chunks/{instruction-discovery-etc4cap1.js → ripgrep-2vsx29mh.js} +13 -13
- package/dist/chunks/{instruction-discovery-m2sskxzc.js → ripgrep-2wntz932.js} +5 -5
- package/dist/chunks/{instruction-discovery-82bpwnv2.js → ripgrep-2z7d0f22.js} +5 -5
- package/dist/chunks/{instruction-discovery-mwwxnxty.js → ripgrep-30krspkn.js} +4 -4
- package/dist/chunks/{instruction-discovery-eqtykngz.js → ripgrep-30nzr87g.js} +15 -15
- package/dist/chunks/{instruction-discovery-tc7dnr6g.js → ripgrep-3f6jm9xf.js} +26 -26
- package/dist/chunks/{instruction-discovery-3fc6dm20.js → ripgrep-3fc6dm20.js} +1 -1
- package/dist/chunks/{instruction-discovery-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{instruction-discovery-vjbxqx8s.js → ripgrep-3mm24bx6.js} +14 -14
- package/dist/chunks/{instruction-discovery-2y83tmz0.js → ripgrep-3s69ytqq.js} +15 -15
- package/dist/chunks/{instruction-discovery-3smtnn6g.js → ripgrep-3smtnn6g.js} +1 -1
- package/dist/chunks/{instruction-discovery-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
- package/dist/chunks/{instruction-discovery-5j8gw0vj.js → ripgrep-3tx3n4vf.js} +11 -11
- package/dist/chunks/{instruction-discovery-3zsf4n22.js → ripgrep-3zsf4n22.js} +1 -1
- package/dist/chunks/{instruction-discovery-g1tha7b9.js → ripgrep-4jyvzrab.js} +9 -9
- package/dist/chunks/{instruction-discovery-pny4kpp6.js → ripgrep-4pp11k09.js} +8 -8
- package/dist/chunks/{instruction-discovery-j8m7wrkr.js → ripgrep-4sw1w9me.js} +9 -9
- package/dist/chunks/{instruction-discovery-4ts7tf6z.js → ripgrep-4ts7tf6z.js} +2 -2
- package/dist/chunks/{instruction-discovery-nt6p1fr7.js → ripgrep-4yt4fj6t.js} +30 -30
- package/dist/chunks/{instruction-discovery-54ma36ye.js → ripgrep-54ma36ye.js} +1 -1
- package/dist/chunks/{instruction-discovery-5b86wzxx.js → ripgrep-5715y3z9.js} +17 -17
- package/dist/chunks/{instruction-discovery-19ews09r.js → ripgrep-57raby7m.js} +4 -4
- package/dist/chunks/{instruction-discovery-5daktx2q.js → ripgrep-5daktx2q.js} +1 -1
- package/dist/chunks/{instruction-discovery-ph9bhja9.js → ripgrep-5dednvak.js} +19 -19
- package/dist/chunks/{instruction-discovery-5m9w47nd.js → ripgrep-5m9w47nd.js} +1 -1
- package/dist/chunks/{instruction-discovery-tw45btvp.js → ripgrep-5mvtnpvw.js} +59 -59
- package/dist/chunks/{instruction-discovery-5t3nmthw.js → ripgrep-5t3nmthw.js} +2 -2
- package/dist/chunks/{instruction-discovery-85bmqqw5.js → ripgrep-64vd9axx.js} +12 -12
- package/dist/chunks/{instruction-discovery-w22ybt8h.js → ripgrep-6hfyjfby.js} +1 -1
- package/dist/chunks/{instruction-discovery-xdmrmc43.js → ripgrep-6s4xe45t.js} +40 -40
- package/dist/chunks/{instruction-discovery-14zw3pcy.js → ripgrep-6spjy1ny.js} +4 -4
- package/dist/chunks/{instruction-discovery-6xb47vfp.js → ripgrep-6xb47vfp.js} +1 -1
- package/dist/chunks/{instruction-discovery-g69kn8d0.js → ripgrep-6y2txcv3.js} +8 -8
- package/dist/chunks/{instruction-discovery-f2g2n16b.js → ripgrep-6ymq3723.js} +4 -4
- package/dist/chunks/{instruction-discovery-1zzjy5k7.js → ripgrep-6zmb7467.js} +45 -45
- package/dist/chunks/{instruction-discovery-f75zav2x.js → ripgrep-71az546q.js} +2 -2
- package/dist/chunks/{instruction-discovery-mvfsc1pv.js → ripgrep-73tb2d7t.js} +3 -3
- package/dist/chunks/{instruction-discovery-g47nec2f.js → ripgrep-76jq5zat.js} +47 -47
- package/dist/chunks/{instruction-discovery-eehbx3dc.js → ripgrep-77f241gp.js} +11 -11
- package/dist/chunks/{instruction-discovery-x4cn09xy.js → ripgrep-7bc7rr9r.js} +3 -3
- package/dist/chunks/{instruction-discovery-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{instruction-discovery-psrzn7pb.js → ripgrep-7fv97ajc.js} +13 -13
- package/dist/chunks/{instruction-discovery-sxfhvche.js → ripgrep-7nbx7n68.js} +11 -11
- package/dist/chunks/{instruction-discovery-n7xm3spt.js → ripgrep-7s8pn6vn.js} +23 -23
- package/dist/chunks/{instruction-discovery-de9tkdjv.js → ripgrep-7xhhfgpf.js} +5 -5
- package/dist/chunks/{instruction-discovery-2jct5get.js → ripgrep-8040dbmc.js} +19 -19
- package/dist/chunks/{instruction-discovery-tbmac1c7.js → ripgrep-80scg3y3.js} +4 -4
- package/dist/chunks/{instruction-discovery-kybwqxrd.js → ripgrep-838kzc8c.js} +7 -7
- package/dist/chunks/{instruction-discovery-w1eejvng.js → ripgrep-84txncab.js} +5 -5
- package/dist/chunks/{instruction-discovery-2x4zy19a.js → ripgrep-84x1qr6q.js} +15 -15
- package/dist/chunks/{instruction-discovery-h4z1mxff.js → ripgrep-84zcxbc9.js} +5 -5
- package/dist/chunks/{instruction-discovery-k1a5j42v.js → ripgrep-85nzvnnf.js} +10 -10
- package/dist/chunks/{instruction-discovery-w6vm9h7t.js → ripgrep-8cexbwpw.js} +23 -23
- package/dist/chunks/{instruction-discovery-8d7r5vzw.js → ripgrep-8d7r5vzw.js} +1 -1
- package/dist/chunks/{instruction-discovery-j4fn7my5.js → ripgrep-8dr0pm1z.js} +30 -30
- package/dist/chunks/{instruction-discovery-g0445xdp.js → ripgrep-8v6pyhej.js} +8 -8
- package/dist/chunks/{instruction-discovery-rqqqmm2x.js → ripgrep-8wsye86r.js} +7 -7
- package/dist/chunks/{instruction-discovery-jyvz2dey.js → ripgrep-8zy0fzze.js} +23 -23
- package/dist/chunks/{instruction-discovery-t7b4zpbk.js → ripgrep-96cd70s2.js} +42 -42
- package/dist/chunks/{instruction-discovery-qb40584p.js → ripgrep-97na1vhb.js} +32 -32
- package/dist/chunks/ripgrep-9aga8edg.js +507 -0
- package/dist/chunks/{instruction-discovery-95wx2n6h.js → ripgrep-9cwpj9ng.js} +21 -21
- package/dist/chunks/{instruction-discovery-p36tqhm4.js → ripgrep-9dvew4ct.js} +10 -10
- package/dist/chunks/{instruction-discovery-q095e4ka.js → ripgrep-9dz433we.js} +18 -18
- package/dist/chunks/{instruction-discovery-kb9j3d72.js → ripgrep-9e5bzkjp.js} +3 -3
- package/dist/chunks/{instruction-discovery-vyc5xhan.js → ripgrep-9f8agqm4.js} +24 -24
- package/dist/chunks/{instruction-discovery-jervv9x6.js → ripgrep-9h4a5xab.js} +8 -8
- package/dist/chunks/{instruction-discovery-0zss2637.js → ripgrep-9ra2mwh8.js} +4 -4
- package/dist/chunks/{instruction-discovery-xnvc2f42.js → ripgrep-9vspqhb9.js} +32 -32
- package/dist/chunks/{instruction-discovery-gafjjxfd.js → ripgrep-9wknbad4.js} +22 -22
- package/dist/chunks/{instruction-discovery-hg2hvgk4.js → ripgrep-9yaj1bep.js} +13 -13
- package/dist/chunks/{instruction-discovery-51atwtwh.js → ripgrep-a62nzkfm.js} +11 -11
- package/dist/chunks/{instruction-discovery-aaet6srn.js → ripgrep-aaet6srn.js} +2 -2
- package/dist/chunks/{instruction-discovery-qcyg1qdr.js → ripgrep-affqz3dt.js} +24 -24
- package/dist/chunks/{instruction-discovery-qtg64bph.js → ripgrep-ajzsbz6h.js} +17 -17
- package/dist/chunks/{instruction-discovery-6khhy92z.js → ripgrep-akrprgjn.js} +25 -25
- package/dist/chunks/{instruction-discovery-9wvh9an7.js → ripgrep-aws7tw8m.js} +33 -33
- package/dist/chunks/{instruction-discovery-359cessa.js → ripgrep-axk9hj3n.js} +83 -83
- package/dist/chunks/{instruction-discovery-hd8vw2pw.js → ripgrep-b69jv39p.js} +1 -1
- package/dist/chunks/{instruction-discovery-b6gygkdw.js → ripgrep-b6gygkdw.js} +2 -2
- package/dist/chunks/{instruction-discovery-84cjzns6.js → ripgrep-b7h6z6tn.js} +10 -10
- package/dist/chunks/{instruction-discovery-jgw72612.js → ripgrep-b94zytem.js} +11 -11
- package/dist/chunks/{instruction-discovery-cxsqhebf.js → ripgrep-bf48bc2p.js} +45 -45
- package/dist/chunks/{instruction-discovery-qj42z0jq.js → ripgrep-bfy8qqhy.js} +15 -15
- package/dist/chunks/{instruction-discovery-yj7xxne7.js → ripgrep-bh757wj0.js} +53 -53
- package/dist/chunks/{instruction-discovery-qmm9pzcg.js → ripgrep-bps6twr8.js} +40 -40
- package/dist/chunks/{instruction-discovery-09b03axd.js → ripgrep-bpw2rrm0.js} +22 -22
- package/dist/chunks/{instruction-discovery-7x7e9yhe.js → ripgrep-bwm9v46e.js} +33 -33
- package/dist/chunks/{instruction-discovery-hxg6y58f.js → ripgrep-bwrbt93d.js} +8 -8
- package/dist/chunks/{instruction-discovery-e37zedam.js → ripgrep-bzx0raep.js} +28 -28
- package/dist/chunks/{instruction-discovery-sk5hrgtc.js → ripgrep-c27esgm9.js} +8 -8
- package/dist/chunks/{instruction-discovery-r2m716tb.js → ripgrep-c765mh8b.js} +5 -5
- package/dist/chunks/{instruction-discovery-qgy0j8ap.js → ripgrep-cfexggbj.js} +9 -9
- package/dist/chunks/{instruction-discovery-8zgtn0t3.js → ripgrep-chsayper.js} +17 -17
- package/dist/chunks/{instruction-discovery-sm88safq.js → ripgrep-crcmjdtg.js} +23 -23
- package/dist/chunks/{instruction-discovery-r3pcm0ae.js → ripgrep-d0kp8v5z.js} +22 -22
- package/dist/chunks/{instruction-discovery-q3vdns0z.js → ripgrep-d2q6s312.js} +16 -16
- package/dist/chunks/{instruction-discovery-fzmxfn3h.js → ripgrep-d7pk3s54.js} +33 -33
- package/dist/chunks/{instruction-discovery-3qd45x85.js → ripgrep-dda0p7y7.js} +9 -9
- package/dist/chunks/{instruction-discovery-7c36dqvb.js → ripgrep-dgbczadx.js} +23 -23
- package/dist/chunks/{instruction-discovery-w4axh9wz.js → ripgrep-dkrtd87p.js} +6 -6
- package/dist/chunks/{instruction-discovery-rw2pnpq9.js → ripgrep-dm63ydvm.js} +15 -15
- package/dist/chunks/{instruction-discovery-g9xze95r.js → ripgrep-dqee7r49.js} +9 -9
- package/dist/chunks/{instruction-discovery-dssbfrwz.js → ripgrep-dssbfrwz.js} +2 -2
- package/dist/chunks/{instruction-discovery-bm4g32fx.js → ripgrep-dzxd22x2.js} +6 -6
- package/dist/chunks/{instruction-discovery-42p1btpp.js → ripgrep-e4psb9ns.js} +19 -19
- package/dist/chunks/{instruction-discovery-a554nrhr.js → ripgrep-e5zk1d3d.js} +8 -8
- package/dist/chunks/{instruction-discovery-7ynra03g.js → ripgrep-e6me97w7.js} +13 -13
- package/dist/chunks/{instruction-discovery-ef5x83kb.js → ripgrep-ef5x83kb.js} +1 -1
- package/dist/chunks/{instruction-discovery-1218zaap.js → ripgrep-epz8bg99.js} +22 -22
- package/dist/chunks/{instruction-discovery-etq0c3wd.js → ripgrep-etq0c3wd.js} +1 -1
- package/dist/chunks/{instruction-discovery-redq7ywh.js → ripgrep-eymws0kt.js} +6 -6
- package/dist/chunks/{instruction-discovery-kmftt7d2.js → ripgrep-f0dkdsq1.js} +43 -43
- package/dist/chunks/{instruction-discovery-wq2kqft7.js → ripgrep-fs5m8ztn.js} +21 -21
- package/dist/chunks/{instruction-discovery-jcr2ekjh.js → ripgrep-fsp0r4x8.js} +26 -26
- package/dist/chunks/{instruction-discovery-tbj7d09m.js → ripgrep-fyp6synz.js} +9 -9
- package/dist/chunks/{instruction-discovery-k70p9jzb.js → ripgrep-g31erja1.js} +9 -9
- package/dist/chunks/{instruction-discovery-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
- package/dist/chunks/ripgrep-gd7qfq63.js +253 -0
- package/dist/chunks/{instruction-discovery-kcjvx8fm.js → ripgrep-gdq892sv.js} +38 -38
- package/dist/chunks/{instruction-discovery-0rdtx5rk.js → ripgrep-gdzp4kpk.js} +9 -9
- package/dist/chunks/{instruction-discovery-ebkmdq3k.js → ripgrep-ggt0zq3q.js} +8 -8
- package/dist/chunks/{instruction-discovery-6kzp9tjq.js → ripgrep-gj71zhbs.js} +5 -5
- package/dist/chunks/{instruction-discovery-4e94bxbr.js → ripgrep-gmjgnzm7.js} +19 -19
- package/dist/chunks/{instruction-discovery-hscd7yg3.js → ripgrep-gq5s82mq.js} +33 -33
- package/dist/chunks/{instruction-discovery-f5hnr5rh.js → ripgrep-gsw111xz.js} +26 -26
- package/dist/chunks/{instruction-discovery-3cegwx68.js → ripgrep-h2b79v29.js} +2 -2
- package/dist/chunks/{instruction-discovery-sk55r5zj.js → ripgrep-h30xb52k.js} +13 -13
- package/dist/chunks/{instruction-discovery-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
- package/dist/chunks/{instruction-discovery-nqv5kksq.js → ripgrep-h76pkdx5.js} +15 -15
- package/dist/chunks/{instruction-discovery-szcaatyn.js → ripgrep-h79096x2.js} +19 -19
- package/dist/chunks/{instruction-discovery-x2fv4gny.js → ripgrep-hfzgxkwx.js} +1 -1
- package/dist/chunks/{instruction-discovery-hjp32rjf.js → ripgrep-hh3mh7ha.js} +34 -34
- package/dist/chunks/{instruction-discovery-khxavvx1.js → ripgrep-hq5hwna4.js} +4 -4
- package/dist/chunks/ripgrep-ht5y0zrb.js +18 -0
- package/dist/chunks/{instruction-discovery-cdm0dq9n.js → ripgrep-hwe7x4em.js} +6 -6
- package/dist/chunks/{instruction-discovery-885b2myt.js → ripgrep-hx1nh6p6.js} +13 -13
- package/dist/chunks/{instruction-discovery-j56e64zr.js → ripgrep-j56e64zr.js} +1 -1
- package/dist/chunks/{instruction-discovery-p41j6jd1.js → ripgrep-jeah1c85.js} +20 -20
- package/dist/chunks/{instruction-discovery-cvnhmw62.js → ripgrep-jebmc97d.js} +1 -1
- package/dist/chunks/{instruction-discovery-y9wah6x3.js → ripgrep-jex6twvz.js} +5 -5
- package/dist/chunks/{instruction-discovery-1fap17a2.js → ripgrep-jfa7gmqr.js} +24 -24
- package/dist/chunks/{instruction-discovery-ttyrvqjf.js → ripgrep-jnejy8gf.js} +11 -11
- package/dist/chunks/{instruction-discovery-bgc5ggmx.js → ripgrep-jpqeh2wc.js} +4 -4
- package/dist/chunks/{instruction-discovery-ejhwxq0t.js → ripgrep-jq45s55z.js} +12 -12
- package/dist/chunks/{instruction-discovery-yhj4pxny.js → ripgrep-jrav4m5q.js} +6 -6
- package/dist/chunks/{instruction-discovery-6wvxqx1m.js → ripgrep-jyd4c54m.js} +3 -3
- package/dist/chunks/{instruction-discovery-87b6mkq8.js → ripgrep-k01fw88q.js} +2 -2
- package/dist/chunks/{instruction-discovery-cvnfbg23.js → ripgrep-kabk1m9n.js} +23 -23
- package/dist/chunks/{instruction-discovery-knkdddfr.js → ripgrep-kf1mpqzp.js} +3 -3
- package/dist/chunks/{instruction-discovery-1t0c2e14.js → ripgrep-kfsgvpxj.js} +34 -34
- package/dist/chunks/{instruction-discovery-nrdmrqsx.js → ripgrep-kvvk39gs.js} +4 -4
- package/dist/chunks/{instruction-discovery-pxka6q5y.js → ripgrep-kx705y8y.js} +6 -6
- package/dist/chunks/{instruction-discovery-38pdywbg.js → ripgrep-ky4t9cwy.js} +6 -6
- package/dist/chunks/{instruction-discovery-qc6fmz5t.js → ripgrep-kzmatdfq.js} +13 -13
- package/dist/chunks/{instruction-discovery-m3fdjcah.js → ripgrep-m3fdjcah.js} +1 -1
- package/dist/chunks/{instruction-discovery-8jyv0d6m.js → ripgrep-m51a3mp4.js} +30 -30
- package/dist/chunks/{instruction-discovery-w8yd89gy.js → ripgrep-m5jcjszt.js} +3 -3
- package/dist/chunks/{instruction-discovery-yexc5tev.js → ripgrep-m7zb0vvq.js} +22 -22
- package/dist/chunks/{instruction-discovery-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instruction-discovery-adgbvja2.js → ripgrep-mdd5bykz.js} +9 -9
- package/dist/chunks/{instruction-discovery-56gdpj1q.js → ripgrep-mfqp6xfm.js} +6 -6
- package/dist/chunks/{instruction-discovery-0knzz76g.js → ripgrep-mrzfpr14.js} +10 -10
- package/dist/chunks/{instruction-discovery-2s3bs05a.js → ripgrep-mxmk95sb.js} +14 -14
- package/dist/chunks/{instruction-discovery-gqtdsdt7.js → ripgrep-mxvxcxwy.js} +4 -4
- package/dist/chunks/{instruction-discovery-bnjmxvh8.js → ripgrep-n4h3j8sb.js} +14 -14
- package/dist/chunks/{instruction-discovery-jg1g89g5.js → ripgrep-n7y52wsc.js} +15 -15
- package/dist/chunks/{instruction-discovery-d1sprev3.js → ripgrep-nara5m26.js} +12 -12
- package/dist/chunks/{instruction-discovery-hdtnhvcr.js → ripgrep-nhtrsw1r.js} +11 -11
- package/dist/chunks/{instruction-discovery-hv0rmnyk.js → ripgrep-nj58sj1f.js} +5 -5
- package/dist/chunks/{instruction-discovery-wxjjr4dj.js → ripgrep-nsja2dvh.js} +31 -31
- package/dist/chunks/{instruction-discovery-nxm207yx.js → ripgrep-nxm207yx.js} +1 -1
- package/dist/chunks/{instruction-discovery-d216944b.js → ripgrep-pbfwh0cy.js} +4 -4
- package/dist/chunks/{instruction-discovery-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instruction-discovery-n1jvnar0.js → ripgrep-pk5m11nm.js} +11 -11
- package/dist/chunks/{instruction-discovery-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/{instruction-discovery-awvqz26y.js → ripgrep-pkt8fefj.js} +7 -7
- package/dist/chunks/{instruction-discovery-1p07q0wb.js → ripgrep-py3kkmfq.js} +4 -4
- package/dist/chunks/{instruction-discovery-q0xm7vwc.js → ripgrep-q0xm7vwc.js} +2 -2
- package/dist/chunks/{instruction-discovery-xpca8v77.js → ripgrep-q27p0z6n.js} +34 -34
- package/dist/chunks/{instruction-discovery-6vq97qmv.js → ripgrep-q6yya7b3.js} +5 -5
- package/dist/chunks/{instruction-discovery-dn1tm2pd.js → ripgrep-q8ajcpfq.js} +32 -32
- package/dist/chunks/ripgrep-q8p5pp0n.js +26 -0
- package/dist/chunks/{instruction-discovery-dnq42t7h.js → ripgrep-qasvjq9f.js} +4 -4
- package/dist/chunks/{instruction-discovery-yq7yc303.js → ripgrep-qavhg4ac.js} +24 -24
- package/dist/chunks/{instruction-discovery-183kybdv.js → ripgrep-qc6h4chp.js} +15 -15
- package/dist/chunks/{instruction-discovery-nqjmnyjs.js → ripgrep-qddvfgkx.js} +11 -11
- package/dist/chunks/{instruction-discovery-qgn6gcr1.js → ripgrep-qgn6gcr1.js} +1 -1
- package/dist/chunks/{instruction-discovery-qnc92qwc.js → ripgrep-qnc92qwc.js} +1 -1
- package/dist/chunks/{instruction-discovery-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
- package/dist/chunks/{instruction-discovery-xyafkbt0.js → ripgrep-qxjc9qry.js} +3 -3
- package/dist/chunks/{instruction-discovery-021wam1y.js → ripgrep-r1fscvg0.js} +8 -8
- package/dist/chunks/{instruction-discovery-r8qtb7qx.js → ripgrep-r69nsnk3.js} +11 -11
- package/dist/chunks/{instruction-discovery-b5q36dx4.js → ripgrep-rc3whc49.js} +8 -8
- package/dist/chunks/{instruction-discovery-rdw6cm16.js → ripgrep-rdw6cm16.js} +1 -1
- package/dist/chunks/{instruction-discovery-6fge9qrm.js → ripgrep-rhj8rxb3.js} +5 -5
- package/dist/chunks/{instruction-discovery-1b4k9meb.js → ripgrep-rnrxqq2v.js} +4 -4
- package/dist/chunks/{instruction-discovery-k2fr4nns.js → ripgrep-rrpkd1dr.js} +12 -12
- package/dist/chunks/{instruction-discovery-yr6bmngk.js → ripgrep-ry2kpw21.js} +23 -23
- package/dist/chunks/{instruction-discovery-02nrjc1r.js → ripgrep-s8d7rejh.js} +8 -8
- package/dist/chunks/{instruction-discovery-5fqs50nj.js → ripgrep-sazs32jb.js} +16 -16
- package/dist/chunks/{instruction-discovery-4skrpyv2.js → ripgrep-sexyc412.js} +11 -11
- package/dist/chunks/{instruction-discovery-t16ansz0.js → ripgrep-sj5n17p9.js} +19 -19
- package/dist/chunks/{instruction-discovery-mb5a61em.js → ripgrep-t43wy93c.js} +28 -28
- package/dist/chunks/{instruction-discovery-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
- package/dist/chunks/{instruction-discovery-tcezcvh9.js → ripgrep-tcezcvh9.js} +1 -1
- package/dist/chunks/{instruction-discovery-tdstcens.js → ripgrep-tdstcens.js} +1 -1
- package/dist/chunks/{instruction-discovery-v0es1rhs.js → ripgrep-tg7bkhef.js} +7 -7
- package/dist/chunks/{instruction-discovery-qsjv40ab.js → ripgrep-tqmfw2b9.js} +4 -4
- package/dist/chunks/{instruction-discovery-a23h851b.js → ripgrep-ttqt9zd2.js} +31 -31
- package/dist/chunks/{instruction-discovery-n9jgy2vr.js → ripgrep-twya4v6r.js} +28 -28
- package/dist/chunks/{instruction-discovery-j8qefefr.js → ripgrep-tyj0v91c.js} +20 -20
- package/dist/chunks/{instruction-discovery-k6t9754k.js → ripgrep-v0xmac3n.js} +2 -2
- package/dist/chunks/{instruction-discovery-vrkm0f1x.js → ripgrep-v0xz5m4c.js} +36 -36
- package/dist/chunks/{instruction-discovery-mrnkzzba.js → ripgrep-v47v1yn0.js} +18 -18
- package/dist/chunks/{instruction-discovery-d4he4nc8.js → ripgrep-v6rt0rx3.js} +8 -8
- package/dist/chunks/{instruction-discovery-a8rgxaz5.js → ripgrep-v8aar8tp.js} +181 -181
- package/dist/chunks/{instruction-discovery-haaczr03.js → ripgrep-v8xcpy0p.js} +15 -15
- package/dist/chunks/{instruction-discovery-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
- package/dist/chunks/{instruction-discovery-2yfz57s1.js → ripgrep-vgzk2pn2.js} +9 -9
- package/dist/chunks/{instruction-discovery-kaa5x7b9.js → ripgrep-vjckrprz.js} +12 -12
- package/dist/chunks/{instruction-discovery-9g4rk4x2.js → ripgrep-vrd8hhbp.js} +32 -32
- package/dist/chunks/{instruction-discovery-vzs5sf6e.js → ripgrep-vzs5sf6e.js} +1 -1
- package/dist/chunks/{instruction-discovery-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instruction-discovery-xmvewwn8.js → ripgrep-w6evbe20.js} +20 -20
- package/dist/chunks/{instruction-discovery-rzgr6m3a.js → ripgrep-w99y5e0t.js} +48 -48
- package/dist/chunks/{instruction-discovery-cw46khms.js → ripgrep-w9p76dg1.js} +19 -19
- package/dist/chunks/{instruction-discovery-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{instruction-discovery-tj41h7f1.js → ripgrep-wmvcwthb.js} +15 -15
- package/dist/chunks/{instruction-discovery-g0ym6t6p.js → ripgrep-x5g2watm.js} +25 -25
- package/dist/chunks/{instruction-discovery-46ymrqgy.js → ripgrep-x5tqsxq6.js} +8 -8
- package/dist/chunks/{instruction-discovery-kfv6wrv8.js → ripgrep-x9sntwkc.js} +13 -13
- package/dist/chunks/{instruction-discovery-hfvkpe30.js → ripgrep-xfa9t8nf.js} +41 -41
- package/dist/chunks/{instruction-discovery-57b9ws8p.js → ripgrep-xfkkasph.js} +7 -7
- package/dist/chunks/{instruction-discovery-csy15vh0.js → ripgrep-xgngf68r.js} +30 -30
- package/dist/chunks/{instruction-discovery-xkntkrq7.js → ripgrep-xkntkrq7.js} +2 -2
- package/dist/chunks/{instruction-discovery-h10s6dah.js → ripgrep-xs12am9p.js} +8 -8
- package/dist/chunks/{instruction-discovery-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instruction-discovery-507ndah0.js → ripgrep-y88nahzz.js} +3 -3
- package/dist/chunks/{instruction-discovery-4t1fcac6.js → ripgrep-ybqq9p4b.js} +43 -43
- package/dist/chunks/{instruction-discovery-05db2g3w.js → ripgrep-ydfe3hmk.js} +3 -3
- package/dist/chunks/{instruction-discovery-4j4tgtq5.js → ripgrep-yrcj3v3g.js} +4 -4
- package/dist/chunks/{instruction-discovery-9z7wf92y.js → ripgrep-ytj75ggh.js} +22 -22
- package/dist/chunks/{instruction-discovery-jn0jhhvs.js → ripgrep-yz5emzcc.js} +9 -9
- package/dist/chunks/{instruction-discovery-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instruction-discovery-tmaeqf2t.js → ripgrep-z3cgdbnx.js} +16 -16
- package/dist/chunks/{instruction-discovery-853hcjrv.js → ripgrep-z6kghr8f.js} +14 -14
- package/dist/chunks/{instruction-discovery-ca7w653e.js → ripgrep-zcrspsvn.js} +4 -4
- package/dist/chunks/{instruction-discovery-0ntvdsg8.js → ripgrep-zfs8ae4p.js} +4 -4
- package/dist/chunks/{instruction-discovery-sjrcq81y.js → ripgrep-zng29zcf.js} +40 -40
- package/dist/chunks/{instruction-discovery-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instruction-discovery-zxq2ej10.js → ripgrep-zxq2ej10.js} +1 -1
- package/dist/chunks/{instruction-discovery-qygbw77c.js → ripgrep-zyk1yjk8.js} +5 -5
- 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 +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +114 -114
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +88 -88
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +115 -115
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +74 -74
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- 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 +93 -93
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +4 -4
- package/dist/filesystem/location-watcher.js +214 -214
- 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 +11 -11
- package/dist/filesystem.js +100 -100
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +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 +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +114 -114
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +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/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +73 -73
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +128 -128
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +87 -87
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- 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 -10
- package/dist/chunks/instruction-discovery-0merk48q.js +0 -253
- package/dist/chunks/instruction-discovery-b77ntgpc.js +0 -507
- package/dist/chunks/instruction-discovery-k5rmtwrb.js +0 -26
- package/dist/chunks/instruction-discovery-pf31ssb9.js +0 -18
- /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-24dcb14g.js → ripgrep-24dcb14g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-34c7v6d4.js → ripgrep-34c7v6d4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3t0ybcrp.js → ripgrep-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3w5fmr99.js → ripgrep-3w5fmr99.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instruction-discovery-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instruction-discovery-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-5qd3pb7m.js → ripgrep-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6q2bdcd1.js → ripgrep-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8wj87zfr.js → ripgrep-8wj87zfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instruction-discovery-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instruction-discovery-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{instruction-discovery-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
- /package/dist/chunks/{instruction-discovery-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instruction-discovery-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fxgpk5d8.js → ripgrep-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gftt206x.js → ripgrep-gftt206x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jjkms2e6.js → ripgrep-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instruction-discovery-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qg3g05ea.js → ripgrep-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → ripgrep-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8cydn3q.js → ripgrep-y8cydn3q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z5v4ffb3.js → ripgrep-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service39
|
|
3
|
+
} from "./ripgrep-8040dbmc.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-s8d7rejh.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-z5v4ffb3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service33
|
|
13
|
+
} from "./ripgrep-m51a3mp4.js";
|
|
14
14
|
import {
|
|
15
15
|
Service79
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./ripgrep-mdd5bykz.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
@@ -33,14 +33,14 @@ import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
|
33
33
|
var Plugin8 = define({
|
|
34
34
|
id: "opencode.config.instruction",
|
|
35
35
|
effect: Effect.fn(function* () {
|
|
36
|
-
const discovery = yield*
|
|
36
|
+
const discovery = yield* Service33;
|
|
37
37
|
if (!discovery.project && !discovery.global)
|
|
38
38
|
return;
|
|
39
39
|
yield* Effect.gen(function* () {
|
|
40
40
|
const fs = yield* FSUtil.Service;
|
|
41
41
|
const global = yield* Global.Service;
|
|
42
42
|
const location = yield* Service79;
|
|
43
|
-
const watcher = yield*
|
|
43
|
+
const watcher = yield* Service39;
|
|
44
44
|
const changes = yield* PubSub.sliding(1);
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./ripgrep-30nzr87g.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-71az546q.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
16
|
+
ID: () => ID8,
|
|
17
|
+
Info: () => Info15,
|
|
18
18
|
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service59,
|
|
21
|
+
node: () => node62
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID8 = PermissionSaved.ID;
|
|
29
|
+
var Info15 = PermissionSaved.Info;
|
|
30
30
|
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
@@ -36,10 +36,10 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service59 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const db = (yield*
|
|
41
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
42
|
+
const db = (yield* Service84).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
45
45
|
return rows.map((row) => ({
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID8.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service59.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node62 = makeGlobalNode({ service: Service59, layer, deps: [node88] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID8, Info15, ListInput4, AddInput2, Service59, node62, exports_saved };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-qnc92qwc.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-h2b79v29.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./ripgrep-v47v1yn0.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-bh757wj0.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
20
|
+
Event: () => Event8,
|
|
21
21
|
ID: () => ID5,
|
|
22
|
-
Info: () =>
|
|
22
|
+
Info: () => Info5,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service35,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
|
-
available: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
available: () => available2,
|
|
29
|
+
node: () => node38,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,15 +34,15 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event8 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
|
-
var
|
|
42
|
-
var
|
|
41
|
+
var Source3 = Skill.Source;
|
|
42
|
+
var Info5 = Skill.Info;
|
|
43
43
|
var ID5 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
|
-
var
|
|
45
|
+
var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
47
47
|
const directory = path.dirname(skill.path);
|
|
48
48
|
return [
|
|
@@ -71,10 +71,10 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service35 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const bus = yield*
|
|
76
|
+
var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
77
|
+
const bus = yield* Service83;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service35.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node38 = makeLocationNode({
|
|
112
|
+
service: Service35,
|
|
113
113
|
layer,
|
|
114
|
-
deps: [
|
|
114
|
+
deps: [node87]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info5, ID5, Name2, available2, toModelOutput3, prepare3, Service35, node38, exports_skill5, Event8 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info9
|
|
6
|
+
} from "./ripgrep-kvvk39gs.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
12
|
var exports_agent3 = {};
|
|
13
13
|
__export(exports_agent3, {
|
|
14
14
|
ConfigAgentV1: () => exports_agent3,
|
|
15
|
-
Info: () =>
|
|
15
|
+
Info: () => Info7
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info9)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info7 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info7, exports_agent3 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-5daktx2q.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
8
|
ID5,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-9f8agqm4.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service75
|
|
3
|
+
} from "./ripgrep-m7zb0vvq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service14,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-9yaj1bep.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service16
|
|
11
|
+
} from "./ripgrep-kzmatdfq.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service58
|
|
14
|
+
} from "./ripgrep-bh757wj0.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service55
|
|
17
|
+
} from "./ripgrep-sazs32jb.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./ripgrep-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input2,
|
|
29
|
+
Output: () => Output2,
|
|
30
|
+
Plugin: () => Plugin36,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name2,
|
|
33
|
+
toModelContent: () => toModelContent2
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name2 = "write";
|
|
39
|
+
var Input2 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output2 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin36 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service55;
|
|
56
|
+
const fileMutation = yield* Service14;
|
|
57
|
+
const environment = yield* Service75;
|
|
58
|
+
const formatter = yield* Service16;
|
|
59
|
+
const permission = yield* Service58;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name2,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input2,
|
|
69
|
+
output: Output2,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent2(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name2, Input2, Output2, toModelContent2, Plugin36, exports_write };
|
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./ripgrep-30nzr87g.js";
|
|
5
5
|
import {
|
|
6
6
|
reserveSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service83,
|
|
8
|
+
node87
|
|
9
|
+
} from "./ripgrep-v47v1yn0.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
update2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./ripgrep-xkntkrq7.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./ripgrep-z5v4ffb3.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./ripgrep-h2b79v29.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./ripgrep-9e5bzkjp.js";
|
|
31
31
|
import {
|
|
32
32
|
projectAdmitted2,
|
|
33
33
|
projectDelivered2,
|
|
34
34
|
projectCancelled2,
|
|
35
35
|
projectDeliveryChanged2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./ripgrep-3f6jm9xf.js";
|
|
37
37
|
import {
|
|
38
38
|
apply2,
|
|
39
39
|
initialize3,
|
|
40
40
|
advanceEpoch2,
|
|
41
41
|
reset2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./ripgrep-zfs8ae4p.js";
|
|
43
43
|
import {
|
|
44
44
|
initialize2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./ripgrep-jq45s55z.js";
|
|
46
46
|
import {
|
|
47
47
|
Slug2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./ripgrep-gebd4c9n.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/projector.ts
|
|
54
54
|
var exports_projector = {};
|
|
55
55
|
__export(exports_projector, {
|
|
56
56
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
57
57
|
SessionProjector: () => exports_projector,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node25
|
|
59
59
|
});
|
|
60
60
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
61
61
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -276,8 +276,8 @@ function projectIdle(db, event) {
|
|
|
276
276
|
});
|
|
277
277
|
}
|
|
278
278
|
var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
279
|
-
const bus = yield*
|
|
280
|
-
const db = (yield*
|
|
279
|
+
const bus = yield* Service83;
|
|
280
|
+
const db = (yield* Service84).db;
|
|
281
281
|
yield* bus.project(SessionEvent2.Created, (event) => Effect.gen(function* () {
|
|
282
282
|
const stored = yield* db.insert(SessionTable2).values({
|
|
283
283
|
id: event.data.sessionID,
|
|
@@ -459,6 +459,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
459
459
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
460
460
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
461
461
|
}));
|
|
462
|
-
var
|
|
462
|
+
var node25 = makeGlobalNode({ name: "session-projector", layer, deps: [node87, node88] });
|
|
463
463
|
|
|
464
|
-
export { SessionAlreadyProjected2,
|
|
464
|
+
export { SessionAlreadyProjected2, node25, exports_projector };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-nxm207yx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service75,
|
|
6
|
+
node78
|
|
7
|
+
} from "./ripgrep-m7zb0vvq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service14,
|
|
17
|
+
node: () => node17,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service14 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service75;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service14.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node17 = makeLocationNode({ service: Service14, layer, deps: [node78] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service14, readText2, syncTextBom2, node17, exports_file_mutation };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
timeouts2,
|
|
6
6
|
mergeOverlay2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-aws7tw8m.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/aisdk.ts
|
|
13
13
|
var exports_aisdk = {};
|
|
14
14
|
__export(exports_aisdk, {
|
|
15
15
|
AISDK: () => exports_aisdk,
|
|
16
16
|
InitError: () => InitError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service64,
|
|
18
18
|
locationLayer: () => locationLayer2,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node67
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -151,7 +151,7 @@ function throughMiddleware(store, send, input, init) {
|
|
|
151
151
|
var HEADER_TIMEOUT_MESSAGE = "Response headers timed out";
|
|
152
152
|
|
|
153
153
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
154
|
-
providerID:
|
|
154
|
+
providerID: ID12,
|
|
155
155
|
cause: Schema.Defect()
|
|
156
156
|
}) {
|
|
157
157
|
}
|
|
@@ -159,9 +159,9 @@ function initError(providerID) {
|
|
|
159
159
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
class
|
|
162
|
+
class Service64 extends Context.Service()("@opencode/AISDK") {
|
|
163
163
|
}
|
|
164
|
-
var locationLayer2 = Layer.effect(
|
|
164
|
+
var locationLayer2 = Layer.effect(Service64, Effect.gen(function* () {
|
|
165
165
|
let sdkHooks = [];
|
|
166
166
|
let languageHooks = [];
|
|
167
167
|
const languages = new Map;
|
|
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
return event;
|
|
201
201
|
});
|
|
202
|
-
const service =
|
|
202
|
+
const service = Service64.of({
|
|
203
203
|
hook: {
|
|
204
204
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
205
205
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -874,6 +874,6 @@ function providerErrorMessage(error) {
|
|
|
874
874
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
875
875
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
876
876
|
}
|
|
877
|
-
var
|
|
877
|
+
var node67 = makeLocationNode({ service: Service64, layer: locationLayer2, deps: [] });
|
|
878
878
|
|
|
879
|
-
export { InitError2,
|
|
879
|
+
export { InitError2, Service64, locationLayer2, node67, exports_aisdk };
|