@opencode/core 0.0.0-dev-20633 → 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 +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/{repository-cache-2epzd39j.js → ripgrep-0229r2y6.js} +90 -90
- package/dist/chunks/{repository-cache-8ef36zg1.js → ripgrep-0618bhf4.js} +24 -24
- package/dist/chunks/{repository-cache-jj9x1ggj.js → ripgrep-076smhkq.js} +1 -1
- package/dist/chunks/{repository-cache-90sz55zw.js → ripgrep-09xbw6za.js} +5 -5
- package/dist/chunks/{repository-cache-gsggkbsb.js → ripgrep-0gqfrnsf.js} +16 -16
- package/dist/chunks/{repository-cache-rek1mgnt.js → ripgrep-0k8zvg2a.js} +20 -20
- package/dist/chunks/{repository-cache-0paq2nw3.js → ripgrep-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-cache-nfrd3k8n.js → ripgrep-0pqv7m1r.js} +14 -14
- package/dist/chunks/{repository-cache-0vbcp93d.js → ripgrep-0vbcp93d.js} +2 -2
- package/dist/chunks/{repository-cache-fnd80x7n.js → ripgrep-0xwrgxtz.js} +65 -65
- package/dist/chunks/{repository-cache-spd9hrnc.js → ripgrep-10wa4fem.js} +28 -28
- package/dist/chunks/{repository-cache-gmbhe8g5.js → ripgrep-187tx94p.js} +9 -9
- package/dist/chunks/{repository-cache-r8xr0va3.js → ripgrep-1acjjqhc.js} +4 -4
- package/dist/chunks/{repository-cache-1dazxqgg.js → ripgrep-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-cache-1dvck2a7.js → ripgrep-1dvck2a7.js} +2 -2
- package/dist/chunks/{repository-cache-1gzs4dwb.js → ripgrep-1mb5bsea.js} +3 -3
- package/dist/chunks/{repository-cache-n9yzr3f2.js → ripgrep-1s5z1wtk.js} +18 -18
- package/dist/chunks/{repository-cache-f7rj482f.js → ripgrep-1vyzjnq9.js} +8 -8
- package/dist/chunks/{repository-cache-3z4h39tf.js → ripgrep-247t9d9n.js} +8 -8
- package/dist/chunks/{repository-cache-0yq98qfb.js → ripgrep-283xtvn5.js} +33 -33
- package/dist/chunks/{repository-cache-bdqa6k4n.js → ripgrep-29ag82sg.js} +7 -7
- package/dist/chunks/{repository-cache-2a5m3afh.js → ripgrep-2a5m3afh.js} +1 -1
- package/dist/chunks/{repository-cache-mqh9b2r2.js → ripgrep-2agc6006.js} +8 -8
- package/dist/chunks/{repository-cache-wtqwpwgf.js → ripgrep-2hem8a9k.js} +6 -6
- package/dist/chunks/{repository-cache-stp9c87e.js → ripgrep-2vsx29mh.js} +13 -13
- package/dist/chunks/{repository-cache-4kagh904.js → ripgrep-2wntz932.js} +3 -3
- package/dist/chunks/{repository-cache-8pdzessb.js → ripgrep-2z7d0f22.js} +2 -2
- package/dist/chunks/{repository-cache-4eq8w0dz.js → ripgrep-30krspkn.js} +4 -4
- package/dist/chunks/{repository-cache-srfsq8py.js → ripgrep-30nzr87g.js} +3 -3
- package/dist/chunks/{repository-cache-r43h3m0v.js → ripgrep-3f6jm9xf.js} +24 -24
- package/dist/chunks/{repository-cache-3fc6dm20.js → ripgrep-3fc6dm20.js} +1 -1
- package/dist/chunks/{repository-cache-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-cache-dt79rr6p.js → ripgrep-3mm24bx6.js} +16 -16
- package/dist/chunks/{repository-cache-d7ddzgsf.js → ripgrep-3s69ytqq.js} +14 -14
- package/dist/chunks/{repository-cache-3smtnn6g.js → ripgrep-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-cache-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-cache-60x3zdck.js → ripgrep-3tx3n4vf.js} +17 -17
- package/dist/chunks/{repository-cache-3zsf4n22.js → ripgrep-3zsf4n22.js} +1 -1
- package/dist/chunks/{repository-cache-y56ehv6b.js → ripgrep-4jyvzrab.js} +9 -9
- package/dist/chunks/{repository-cache-hbrg1y73.js → ripgrep-4pp11k09.js} +8 -8
- package/dist/chunks/{repository-cache-rs4nb2xx.js → ripgrep-4sw1w9me.js} +9 -9
- package/dist/chunks/{repository-cache-4ts7tf6z.js → ripgrep-4ts7tf6z.js} +2 -2
- package/dist/chunks/{repository-cache-pv84kftf.js → ripgrep-4yt4fj6t.js} +32 -32
- package/dist/chunks/{repository-cache-54ma36ye.js → ripgrep-54ma36ye.js} +1 -1
- package/dist/chunks/{repository-cache-da75awh4.js → ripgrep-5715y3z9.js} +9 -9
- package/dist/chunks/{repository-cache-68tetnxs.js → ripgrep-57raby7m.js} +4 -4
- package/dist/chunks/{repository-cache-5daktx2q.js → ripgrep-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-cache-43h714sb.js → ripgrep-5dednvak.js} +30 -30
- package/dist/chunks/{repository-cache-5m9w47nd.js → ripgrep-5m9w47nd.js} +1 -1
- package/dist/chunks/{repository-cache-skcgj51b.js → ripgrep-5mvtnpvw.js} +53 -53
- package/dist/chunks/{repository-cache-5t3nmthw.js → ripgrep-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-cache-bwtwpct7.js → ripgrep-64vd9axx.js} +17 -17
- package/dist/chunks/{repository-cache-qmacqzaw.js → ripgrep-6hfyjfby.js} +1 -1
- package/dist/chunks/{repository-cache-mb54k367.js → ripgrep-6s4xe45t.js} +30 -30
- package/dist/chunks/{repository-cache-ed81rq57.js → ripgrep-6spjy1ny.js} +4 -4
- package/dist/chunks/{repository-cache-6xb47vfp.js → ripgrep-6xb47vfp.js} +1 -1
- package/dist/chunks/{repository-cache-4x0vy5hp.js → ripgrep-6y2txcv3.js} +8 -8
- package/dist/chunks/{repository-cache-w4xn84ph.js → ripgrep-6ymq3723.js} +2 -2
- package/dist/chunks/{repository-cache-wf9hhd1y.js → ripgrep-6zmb7467.js} +32 -32
- package/dist/chunks/{repository-cache-71az546q.js → ripgrep-71az546q.js} +2 -2
- package/dist/chunks/{repository-cache-73tb2d7t.js → ripgrep-73tb2d7t.js} +1 -1
- package/dist/chunks/{repository-cache-hx274pq4.js → ripgrep-76jq5zat.js} +19 -19
- package/dist/chunks/{repository-cache-g2g6h4y2.js → ripgrep-77f241gp.js} +11 -11
- package/dist/chunks/{repository-cache-vx0crfcw.js → ripgrep-7bc7rr9r.js} +5 -5
- package/dist/chunks/{repository-cache-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-cache-8qf1wa8e.js → ripgrep-7fv97ajc.js} +13 -13
- package/dist/chunks/{repository-cache-0r8xnjkd.js → ripgrep-7nbx7n68.js} +11 -11
- package/dist/chunks/{repository-cache-qaxybd8b.js → ripgrep-7s8pn6vn.js} +18 -18
- package/dist/chunks/{repository-cache-ctpb9bd3.js → ripgrep-7xhhfgpf.js} +3 -3
- package/dist/chunks/{repository-cache-z45tr6e4.js → ripgrep-8040dbmc.js} +20 -20
- package/dist/chunks/{repository-cache-80scg3y3.js → ripgrep-80scg3y3.js} +1 -1
- package/dist/chunks/{repository-cache-xgyqszzh.js → ripgrep-838kzc8c.js} +5 -5
- package/dist/chunks/{repository-cache-w1eejvng.js → ripgrep-84txncab.js} +5 -5
- package/dist/chunks/{repository-cache-qykpeme4.js → ripgrep-84x1qr6q.js} +14 -14
- package/dist/chunks/{repository-cache-reg6q42h.js → ripgrep-84zcxbc9.js} +5 -5
- package/dist/chunks/{repository-cache-g6tpd3f3.js → ripgrep-85nzvnnf.js} +10 -10
- package/dist/chunks/{repository-cache-e0yt5kkj.js → ripgrep-8cexbwpw.js} +29 -29
- package/dist/chunks/{repository-cache-8d7r5vzw.js → ripgrep-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-cache-gcqqjazk.js → ripgrep-8dr0pm1z.js} +30 -30
- package/dist/chunks/{repository-cache-dv1qgsyq.js → ripgrep-8v6pyhej.js} +8 -8
- package/dist/chunks/{repository-cache-eeaf82dq.js → ripgrep-8wsye86r.js} +8 -8
- package/dist/chunks/{repository-cache-hk87g4j9.js → ripgrep-8zy0fzze.js} +23 -23
- package/dist/chunks/{repository-cache-ec2p6e73.js → ripgrep-96cd70s2.js} +37 -37
- package/dist/chunks/{repository-cache-e3f0xn9m.js → ripgrep-97na1vhb.js} +27 -27
- package/dist/chunks/ripgrep-9aga8edg.js +507 -0
- package/dist/chunks/{repository-cache-3pv863bm.js → ripgrep-9cwpj9ng.js} +13 -13
- package/dist/chunks/{repository-cache-9mvydfy5.js → ripgrep-9dvew4ct.js} +15 -15
- package/dist/chunks/{repository-cache-4ybhn1pz.js → ripgrep-9dz433we.js} +14 -14
- package/dist/chunks/{repository-cache-9e5bzkjp.js → ripgrep-9e5bzkjp.js} +3 -3
- package/dist/chunks/{repository-cache-ezbj1fpr.js → ripgrep-9f8agqm4.js} +16 -16
- package/dist/chunks/{repository-cache-03xyy9gs.js → ripgrep-9h4a5xab.js} +8 -8
- package/dist/chunks/{repository-cache-g9kkm8kt.js → ripgrep-9ra2mwh8.js} +4 -4
- package/dist/chunks/{repository-cache-pjtd6ph8.js → ripgrep-9vspqhb9.js} +32 -32
- package/dist/chunks/{repository-cache-v84b5zdr.js → ripgrep-9wknbad4.js} +16 -16
- package/dist/chunks/{repository-cache-p85401z6.js → ripgrep-9yaj1bep.js} +13 -13
- package/dist/chunks/{repository-cache-za3jhw35.js → ripgrep-a62nzkfm.js} +9 -9
- package/dist/chunks/{repository-cache-aaet6srn.js → ripgrep-aaet6srn.js} +2 -2
- package/dist/chunks/{repository-cache-hhvkpmqw.js → ripgrep-affqz3dt.js} +29 -29
- package/dist/chunks/{repository-cache-ckbnwpw7.js → ripgrep-ajzsbz6h.js} +8 -8
- package/dist/chunks/{repository-cache-z8g4t8bg.js → ripgrep-akrprgjn.js} +27 -27
- package/dist/chunks/{repository-cache-prf0q3vs.js → ripgrep-aws7tw8m.js} +26 -26
- package/dist/chunks/{repository-cache-9wt051s7.js → ripgrep-axk9hj3n.js} +85 -85
- package/dist/chunks/{repository-cache-b69jv39p.js → ripgrep-b69jv39p.js} +1 -1
- package/dist/chunks/{repository-cache-b6gygkdw.js → ripgrep-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-cache-75jaekcr.js → ripgrep-b7h6z6tn.js} +11 -11
- package/dist/chunks/{repository-cache-66hfmvvk.js → ripgrep-b94zytem.js} +14 -14
- package/dist/chunks/{repository-cache-8t879spr.js → ripgrep-bf48bc2p.js} +45 -45
- package/dist/chunks/{repository-cache-aevez07h.js → ripgrep-bfy8qqhy.js} +12 -12
- package/dist/chunks/{repository-cache-b52f6b20.js → ripgrep-bh757wj0.js} +42 -42
- package/dist/chunks/{repository-cache-b2p5j8y6.js → ripgrep-bps6twr8.js} +41 -41
- package/dist/chunks/{repository-cache-q9ekeea5.js → ripgrep-bpw2rrm0.js} +22 -22
- package/dist/chunks/{repository-cache-vd2wkccw.js → ripgrep-bwm9v46e.js} +35 -35
- package/dist/chunks/{repository-cache-cb70s9dt.js → ripgrep-bwrbt93d.js} +8 -8
- package/dist/chunks/{repository-cache-sy2a3hb1.js → ripgrep-bzx0raep.js} +21 -21
- package/dist/chunks/{repository-cache-qby9dwvd.js → ripgrep-c27esgm9.js} +8 -8
- package/dist/chunks/{repository-cache-cwa6csj7.js → ripgrep-c765mh8b.js} +9 -9
- package/dist/chunks/{repository-cache-ychejvqa.js → ripgrep-cfexggbj.js} +9 -9
- package/dist/chunks/{repository-cache-6j80gscp.js → ripgrep-chsayper.js} +16 -16
- package/dist/chunks/{repository-cache-kyrf4g17.js → ripgrep-crcmjdtg.js} +20 -20
- package/dist/chunks/{repository-cache-w33r0n2z.js → ripgrep-d0kp8v5z.js} +14 -14
- package/dist/chunks/{repository-cache-rbdy6pgn.js → ripgrep-d2q6s312.js} +16 -16
- package/dist/chunks/{repository-cache-ejq34man.js → ripgrep-d7pk3s54.js} +27 -27
- package/dist/chunks/{repository-cache-y16p1w2y.js → ripgrep-dda0p7y7.js} +9 -9
- package/dist/chunks/{repository-cache-syb2vrbv.js → ripgrep-dgbczadx.js} +28 -28
- package/dist/chunks/{repository-cache-n57qrn3a.js → ripgrep-dkrtd87p.js} +4 -4
- package/dist/chunks/{repository-cache-trq2ab9q.js → ripgrep-dm63ydvm.js} +13 -13
- package/dist/chunks/{repository-cache-dcksech5.js → ripgrep-dqee7r49.js} +6 -6
- package/dist/chunks/{repository-cache-w39jehkq.js → ripgrep-dssbfrwz.js} +5 -5
- package/dist/chunks/{repository-cache-qarnpraq.js → ripgrep-dzxd22x2.js} +6 -6
- package/dist/chunks/{repository-cache-dwngdq4b.js → ripgrep-e4psb9ns.js} +9 -9
- package/dist/chunks/{repository-cache-asmhed6t.js → ripgrep-e5zk1d3d.js} +5 -5
- package/dist/chunks/{repository-cache-j3600rrf.js → ripgrep-e6me97w7.js} +10 -10
- package/dist/chunks/{repository-cache-ef5x83kb.js → ripgrep-ef5x83kb.js} +1 -1
- package/dist/chunks/{repository-cache-txeasv02.js → ripgrep-epz8bg99.js} +20 -20
- package/dist/chunks/{repository-cache-etq0c3wd.js → ripgrep-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-cache-hpapzrps.js → ripgrep-eymws0kt.js} +6 -6
- package/dist/chunks/{repository-cache-27rbdjmf.js → ripgrep-f0dkdsq1.js} +43 -43
- package/dist/chunks/{repository-cache-4k8essf6.js → ripgrep-fs5m8ztn.js} +16 -16
- package/dist/chunks/{repository-cache-her3d2s9.js → ripgrep-fsp0r4x8.js} +15 -15
- package/dist/chunks/{repository-cache-vf6jcqzn.js → ripgrep-fyp6synz.js} +14 -14
- package/dist/chunks/{repository-cache-gh5z95q3.js → ripgrep-g31erja1.js} +9 -9
- package/dist/chunks/{repository-cache-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
- package/dist/chunks/ripgrep-gd7qfq63.js +253 -0
- package/dist/chunks/{repository-cache-a27z7shm.js → ripgrep-gdq892sv.js} +47 -47
- package/dist/chunks/{repository-cache-4725dwfb.js → ripgrep-gdzp4kpk.js} +9 -9
- package/dist/chunks/{repository-cache-67fkg7q1.js → ripgrep-ggt0zq3q.js} +10 -10
- package/dist/chunks/{repository-cache-b674v2dg.js → ripgrep-gj71zhbs.js} +5 -5
- package/dist/chunks/{repository-cache-nbevcm7z.js → ripgrep-gmjgnzm7.js} +13 -13
- package/dist/chunks/{repository-cache-trnc8c0p.js → ripgrep-gq5s82mq.js} +23 -23
- package/dist/chunks/{repository-cache-g01j4dtk.js → ripgrep-gsw111xz.js} +28 -28
- package/dist/chunks/{repository-cache-h2b79v29.js → ripgrep-h2b79v29.js} +2 -2
- package/dist/chunks/{repository-cache-dx2074w2.js → ripgrep-h30xb52k.js} +13 -13
- package/dist/chunks/{repository-cache-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-cache-s0xttw3k.js → ripgrep-h76pkdx5.js} +22 -22
- package/dist/chunks/{repository-cache-1s3jpj7n.js → ripgrep-h79096x2.js} +21 -21
- package/dist/chunks/{repository-cache-t0ngdjdp.js → ripgrep-hfzgxkwx.js} +1 -1
- package/dist/chunks/{repository-cache-81nd2mqz.js → ripgrep-hh3mh7ha.js} +33 -33
- package/dist/chunks/{repository-cache-nppwm206.js → ripgrep-hq5hwna4.js} +4 -4
- package/dist/chunks/ripgrep-ht5y0zrb.js +18 -0
- package/dist/chunks/{repository-cache-eqkxs06z.js → ripgrep-hwe7x4em.js} +6 -6
- package/dist/chunks/{repository-cache-w9p55wnq.js → ripgrep-hx1nh6p6.js} +15 -15
- package/dist/chunks/{repository-cache-j56e64zr.js → ripgrep-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-cache-e8qvsypq.js → ripgrep-jeah1c85.js} +19 -19
- package/dist/chunks/{repository-cache-adws6758.js → ripgrep-jebmc97d.js} +4 -4
- package/dist/chunks/{repository-cache-q0dea8a4.js → ripgrep-jex6twvz.js} +5 -5
- package/dist/chunks/{repository-cache-zx0w556f.js → ripgrep-jfa7gmqr.js} +18 -18
- package/dist/chunks/{repository-cache-s93md6f8.js → ripgrep-jnejy8gf.js} +13 -13
- package/dist/chunks/{repository-cache-vfjhn2wd.js → ripgrep-jpqeh2wc.js} +4 -4
- package/dist/chunks/{repository-cache-nd0qz9vn.js → ripgrep-jq45s55z.js} +15 -15
- package/dist/chunks/{repository-cache-jz8pf1gf.js → ripgrep-jrav4m5q.js} +6 -6
- package/dist/chunks/{repository-cache-tn65e0xg.js → ripgrep-jyd4c54m.js} +3 -3
- package/dist/chunks/{repository-cache-rmn3m3gf.js → ripgrep-k01fw88q.js} +2 -2
- package/dist/chunks/{repository-cache-pfc6dryh.js → ripgrep-kabk1m9n.js} +23 -23
- package/dist/chunks/{repository-cache-4yxz2xtz.js → ripgrep-kf1mpqzp.js} +3 -3
- package/dist/chunks/{repository-cache-gmg4efnw.js → ripgrep-kfsgvpxj.js} +20 -20
- package/dist/chunks/{repository-cache-mjymc32g.js → ripgrep-kvvk39gs.js} +4 -4
- package/dist/chunks/{repository-cache-1gpb38yh.js → ripgrep-kx705y8y.js} +6 -6
- package/dist/chunks/{repository-cache-p983wz9k.js → ripgrep-ky4t9cwy.js} +6 -6
- package/dist/chunks/{repository-cache-9ybrg23s.js → ripgrep-kzmatdfq.js} +15 -15
- package/dist/chunks/{repository-cache-m3fdjcah.js → ripgrep-m3fdjcah.js} +1 -1
- package/dist/chunks/{repository-cache-x1yb4nr2.js → ripgrep-m51a3mp4.js} +20 -20
- package/dist/chunks/{repository-cache-my4zabxr.js → ripgrep-m5jcjszt.js} +3 -3
- package/dist/chunks/{repository-cache-k0cbva3z.js → ripgrep-m7zb0vvq.js} +24 -24
- package/dist/chunks/{repository-cache-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-cache-y1t2hwwz.js → ripgrep-mdd5bykz.js} +16 -16
- package/dist/chunks/{repository-cache-33w4ejhs.js → ripgrep-mfqp6xfm.js} +9 -9
- package/dist/chunks/{repository-cache-js6zmc2m.js → ripgrep-mrzfpr14.js} +13 -13
- package/dist/chunks/{repository-cache-vd4xatwq.js → ripgrep-mxmk95sb.js} +20 -20
- package/dist/chunks/{repository-cache-x661k3y3.js → ripgrep-mxvxcxwy.js} +4 -4
- package/dist/chunks/{repository-cache-p9b1de7v.js → ripgrep-n4h3j8sb.js} +11 -11
- package/dist/chunks/{repository-cache-e3f83rfj.js → ripgrep-n7y52wsc.js} +15 -15
- package/dist/chunks/{repository-cache-hs1x7rht.js → ripgrep-nara5m26.js} +12 -12
- package/dist/chunks/{repository-cache-akqawhrq.js → ripgrep-nhtrsw1r.js} +9 -9
- package/dist/chunks/{repository-cache-qssqgjzh.js → ripgrep-nj58sj1f.js} +1 -1
- package/dist/chunks/{repository-cache-5a1tjkyz.js → ripgrep-nsja2dvh.js} +22 -22
- package/dist/chunks/{repository-cache-dpkg50ah.js → ripgrep-nxm207yx.js} +4 -4
- package/dist/chunks/{repository-cache-7sbkp4xb.js → ripgrep-pbfwh0cy.js} +7 -7
- package/dist/chunks/{repository-cache-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-cache-a1r14f74.js → ripgrep-pk5m11nm.js} +11 -11
- package/dist/chunks/{repository-cache-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/{repository-cache-r26qgbxz.js → ripgrep-pkt8fefj.js} +7 -7
- package/dist/chunks/{repository-cache-cfsekr6v.js → ripgrep-py3kkmfq.js} +2 -2
- package/dist/chunks/{repository-cache-q0xm7vwc.js → ripgrep-q0xm7vwc.js} +2 -2
- package/dist/chunks/{repository-cache-6kqdj38p.js → ripgrep-q27p0z6n.js} +36 -36
- package/dist/chunks/{repository-cache-q17z9dx8.js → ripgrep-q6yya7b3.js} +5 -5
- package/dist/chunks/{repository-cache-3vgk5qpr.js → ripgrep-q8ajcpfq.js} +33 -33
- package/dist/chunks/ripgrep-q8p5pp0n.js +26 -0
- package/dist/chunks/{repository-cache-t2bbc9e5.js → ripgrep-qasvjq9f.js} +4 -4
- package/dist/chunks/{repository-cache-h697gncw.js → ripgrep-qavhg4ac.js} +23 -23
- package/dist/chunks/{repository-cache-0314bnyz.js → ripgrep-qc6h4chp.js} +15 -15
- package/dist/chunks/{repository-cache-d3qedjgv.js → ripgrep-qddvfgkx.js} +11 -11
- package/dist/chunks/{repository-cache-2k8khapm.js → ripgrep-qgn6gcr1.js} +5 -5
- package/dist/chunks/{repository-cache-qnc92qwc.js → ripgrep-qnc92qwc.js} +1 -1
- package/dist/chunks/{repository-cache-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-cache-xyafkbt0.js → ripgrep-qxjc9qry.js} +3 -3
- package/dist/chunks/{repository-cache-qt205g8k.js → ripgrep-r1fscvg0.js} +11 -11
- package/dist/chunks/{repository-cache-8bpbh7v7.js → ripgrep-r69nsnk3.js} +11 -11
- package/dist/chunks/{repository-cache-zsqegwh4.js → ripgrep-rc3whc49.js} +11 -11
- package/dist/chunks/{repository-cache-rdw6cm16.js → ripgrep-rdw6cm16.js} +1 -1
- package/dist/chunks/{repository-cache-jqc99esa.js → ripgrep-rhj8rxb3.js} +5 -5
- package/dist/chunks/{repository-cache-nk0cncdn.js → ripgrep-rnrxqq2v.js} +4 -4
- package/dist/chunks/{repository-cache-hpmqkzac.js → ripgrep-rrpkd1dr.js} +15 -15
- package/dist/chunks/{repository-cache-2awp3nqz.js → ripgrep-ry2kpw21.js} +27 -27
- package/dist/chunks/{repository-cache-rhjbct0v.js → ripgrep-s8d7rejh.js} +4 -4
- package/dist/chunks/{repository-cache-jby0a0d3.js → ripgrep-sazs32jb.js} +18 -18
- package/dist/chunks/{repository-cache-r6vweynn.js → ripgrep-sexyc412.js} +6 -6
- package/dist/chunks/{repository-cache-rd3ygx5h.js → ripgrep-sj5n17p9.js} +24 -24
- package/dist/chunks/{repository-cache-sbf3786x.js → ripgrep-t43wy93c.js} +24 -24
- package/dist/chunks/{repository-cache-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-cache-tcezcvh9.js → ripgrep-tcezcvh9.js} +1 -1
- package/dist/chunks/{repository-cache-tdstcens.js → ripgrep-tdstcens.js} +1 -1
- package/dist/chunks/{repository-cache-v0es1rhs.js → ripgrep-tg7bkhef.js} +7 -7
- package/dist/chunks/{repository-cache-zyfwwvzs.js → ripgrep-tqmfw2b9.js} +4 -4
- package/dist/chunks/{repository-cache-w92qfhy9.js → ripgrep-ttqt9zd2.js} +30 -30
- package/dist/chunks/{repository-cache-zkh24274.js → ripgrep-twya4v6r.js} +33 -33
- package/dist/chunks/{repository-cache-wc9dc547.js → ripgrep-tyj0v91c.js} +17 -17
- package/dist/chunks/{repository-cache-drnf6xwf.js → ripgrep-v0xmac3n.js} +2 -2
- package/dist/chunks/{repository-cache-7ac9g4dc.js → ripgrep-v0xz5m4c.js} +24 -24
- package/dist/chunks/{repository-cache-s3eybw0p.js → ripgrep-v47v1yn0.js} +4 -4
- package/dist/chunks/{repository-cache-83nfeprs.js → ripgrep-v6rt0rx3.js} +11 -11
- package/dist/chunks/{repository-cache-380yy1tx.js → ripgrep-v8aar8tp.js} +141 -141
- package/dist/chunks/{repository-cache-gq310cps.js → ripgrep-v8xcpy0p.js} +15 -15
- package/dist/chunks/{repository-cache-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-cache-gdw97pah.js → ripgrep-vgzk2pn2.js} +7 -7
- package/dist/chunks/{repository-cache-ngmk5s4j.js → ripgrep-vjckrprz.js} +12 -12
- package/dist/chunks/{repository-cache-0farmcce.js → ripgrep-vrd8hhbp.js} +24 -24
- package/dist/chunks/{repository-cache-vzs5sf6e.js → ripgrep-vzs5sf6e.js} +1 -1
- package/dist/chunks/{repository-cache-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-cache-1qp08ady.js → ripgrep-w6evbe20.js} +17 -17
- package/dist/chunks/{repository-cache-fw8t8h2a.js → ripgrep-w99y5e0t.js} +48 -48
- package/dist/chunks/{repository-cache-wtmfszvm.js → ripgrep-w9p76dg1.js} +21 -21
- package/dist/chunks/{repository-cache-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{repository-cache-v4j9mmzp.js → ripgrep-wmvcwthb.js} +23 -23
- package/dist/chunks/{repository-cache-ne6stvg8.js → ripgrep-x5g2watm.js} +23 -23
- package/dist/chunks/{repository-cache-3rjdzas3.js → ripgrep-x5tqsxq6.js} +8 -8
- package/dist/chunks/{repository-cache-9mwb0ww6.js → ripgrep-x9sntwkc.js} +10 -10
- package/dist/chunks/{repository-cache-vs93n2a0.js → ripgrep-xfa9t8nf.js} +46 -46
- package/dist/chunks/{repository-cache-g5w8qwbj.js → ripgrep-xfkkasph.js} +4 -4
- package/dist/chunks/{repository-cache-1mp78k6j.js → ripgrep-xgngf68r.js} +35 -35
- package/dist/chunks/{repository-cache-xkntkrq7.js → ripgrep-xkntkrq7.js} +2 -2
- package/dist/chunks/{repository-cache-q8peyv7x.js → ripgrep-xs12am9p.js} +8 -8
- package/dist/chunks/{repository-cache-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-cache-7pjv26c7.js → ripgrep-y88nahzz.js} +1 -1
- package/dist/chunks/{repository-cache-b3y77xh2.js → ripgrep-ybqq9p4b.js} +36 -36
- package/dist/chunks/{repository-cache-e72ekma6.js → ripgrep-ydfe3hmk.js} +1 -1
- package/dist/chunks/{repository-cache-yrcj3v3g.js → ripgrep-yrcj3v3g.js} +1 -1
- package/dist/chunks/{repository-cache-zsm13mz3.js → ripgrep-ytj75ggh.js} +24 -24
- package/dist/chunks/{repository-cache-13fmgeb3.js → ripgrep-yz5emzcc.js} +9 -9
- package/dist/chunks/{repository-cache-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-cache-hacqhjnc.js → ripgrep-z3cgdbnx.js} +18 -18
- package/dist/chunks/{repository-cache-3vk8kg3r.js → ripgrep-z6kghr8f.js} +14 -14
- package/dist/chunks/{repository-cache-e2hjzebn.js → ripgrep-zcrspsvn.js} +4 -4
- package/dist/chunks/{repository-cache-as7cf5zz.js → ripgrep-zfs8ae4p.js} +4 -4
- package/dist/chunks/{repository-cache-2fxj49dy.js → ripgrep-zng29zcf.js} +34 -34
- package/dist/chunks/{repository-cache-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-cache-zxq2ej10.js → ripgrep-zxq2ej10.js} +1 -1
- package/dist/chunks/{repository-cache-qygbw77c.js → ripgrep-zyk1yjk8.js} +5 -5
- 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 +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +100 -100
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +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/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 +81 -81
- 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 +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- 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 +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- 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 +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +1 -1
- 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 +5 -5
- 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 +116 -116
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai.js +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 +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- 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 +6 -6
- 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 +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 +88 -88
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +87 -87
- 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 +129 -129
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- 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 +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +1 -1
- 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 +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +210 -210
- 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 +15 -15
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- 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 +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- 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 -8
- package/dist/chunks/repository-cache-4gw7g1yd.js +0 -507
- package/dist/chunks/repository-cache-97y2hkx4.js +0 -26
- package/dist/chunks/repository-cache-9sh4wc5j.js +0 -18
- package/dist/chunks/repository-cache-j22twtz4.js +0 -253
- /package/dist/chunks/{repository-cache-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-cache-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-cache-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-cache-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-cache-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-cache-24dcb14g.js → ripgrep-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-cache-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-cache-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-cache-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-cache-34c7v6d4.js → ripgrep-34c7v6d4.js} +0 -0
- /package/dist/chunks/{repository-cache-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-cache-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-cache-3t0ybcrp.js → ripgrep-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{repository-cache-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-cache-3w5fmr99.js → ripgrep-3w5fmr99.js} +0 -0
- /package/dist/chunks/{repository-cache-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-cache-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-cache-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-cache-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-cache-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-cache-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-cache-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-cache-5qd3pb7m.js → ripgrep-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{repository-cache-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-cache-6q2bdcd1.js → ripgrep-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{repository-cache-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-cache-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-cache-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-cache-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-cache-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-cache-8wj87zfr.js → ripgrep-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-cache-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-cache-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-cache-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-cache-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-cache-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-cache-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-cache-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-cache-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-cache-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cache-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cache-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-cache-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-cache-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-cache-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-cache-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-cache-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-cache-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-cache-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-cache-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-cache-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-cache-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-cache-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-cache-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-cache-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-cache-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-cache-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-cache-fxgpk5d8.js → ripgrep-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-cache-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-cache-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-cache-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-cache-gftt206x.js → ripgrep-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-cache-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-cache-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-cache-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-cache-jjkms2e6.js → ripgrep-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-cache-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-cache-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-cache-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-cache-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-cache-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-cache-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-cache-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-cache-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-cache-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-cache-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-cache-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-cache-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-cache-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-cache-qg3g05ea.js → ripgrep-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-cache-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-cache-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-cache-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-cache-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-cache-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-cache-wc3fc9cn.js → ripgrep-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-cache-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-cache-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-cache-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-cache-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-cache-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-cache-y8cydn3q.js → ripgrep-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-cache-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-cache-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-cache-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-cache-z5v4ffb3.js → ripgrep-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{repository-cache-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service47
|
|
3
|
+
} from "./ripgrep-dda0p7y7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service44
|
|
6
|
+
} from "./ripgrep-hwe7x4em.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-ht5y0zrb.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service61
|
|
15
|
+
} from "./ripgrep-c27esgm9.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./ripgrep-kx705y8y.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service35
|
|
23
|
+
} from "./ripgrep-9f8agqm4.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service44;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service61;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service35;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service47;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-v47v1yn0.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service79,
|
|
11
|
+
node83
|
|
12
|
+
} from "./ripgrep-mdd5bykz.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
15
|
ID12,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service66,
|
|
20
|
+
node69,
|
|
21
|
+
Event15
|
|
22
|
+
} from "./ripgrep-aws7tw8m.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,26 +30,26 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event14,
|
|
34
34
|
Family: () => Family2,
|
|
35
35
|
ID: () => ID11,
|
|
36
|
-
Info: () =>
|
|
36
|
+
Info: () => Info19,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service65,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
43
|
mergeCapabilities: () => mergeCapabilities2,
|
|
44
|
-
node: () =>
|
|
45
|
-
parse: () =>
|
|
44
|
+
node: () => node68,
|
|
45
|
+
parse: () => parse5,
|
|
46
46
|
supportsText: () => supportsText2
|
|
47
47
|
});
|
|
48
48
|
import { Model } from "@opencode/schema/model";
|
|
49
49
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
50
50
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
51
51
|
import { freeze } from "immer";
|
|
52
|
-
import { Event as
|
|
52
|
+
import { Event as Event14 } from "@opencode/schema/model";
|
|
53
53
|
var ID11 = Model.ID;
|
|
54
54
|
var VariantID2 = Model.VariantID;
|
|
55
55
|
var Family2 = Model.Family;
|
|
@@ -66,14 +66,14 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
66
66
|
};
|
|
67
67
|
var Cost2 = Model.Cost;
|
|
68
68
|
var Ref2 = Model.Ref;
|
|
69
|
-
var
|
|
69
|
+
var Info19 = Model.Info;
|
|
70
70
|
|
|
71
|
-
class
|
|
71
|
+
class Service65 extends Context.Service()("@opencode/Model") {
|
|
72
72
|
}
|
|
73
|
-
var layer = Layer.effect(
|
|
74
|
-
const providers = yield*
|
|
73
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
74
|
+
const providers = yield* Service66;
|
|
75
75
|
const bus = yield* Service83;
|
|
76
|
-
const location = yield*
|
|
76
|
+
const location = yield* Service79;
|
|
77
77
|
let input;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "model",
|
|
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
118
118
|
const models = writable(providerID);
|
|
119
119
|
if (!models)
|
|
120
120
|
return;
|
|
121
|
-
const model = draft(providerID, modelID) ??
|
|
121
|
+
const model = draft(providerID, modelID) ?? Info19.default(providerID, modelID);
|
|
122
122
|
update(model);
|
|
123
123
|
model.id = modelID;
|
|
124
124
|
model.providerID = providerID;
|
|
@@ -207,8 +207,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
207
207
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
208
208
|
});
|
|
209
209
|
});
|
|
210
|
-
yield* bus.subscribe(
|
|
211
|
-
return
|
|
210
|
+
yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
211
|
+
return Service65.of({
|
|
212
212
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
213
213
|
reload,
|
|
214
214
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -227,7 +227,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
227
227
|
})
|
|
228
228
|
});
|
|
229
229
|
}));
|
|
230
|
-
var
|
|
230
|
+
var node68 = makeLocationNode({ service: Service65, layer, deps: [node69, node87, node83] });
|
|
231
231
|
function supportsText2(model) {
|
|
232
232
|
return (model.capabilities.input.length === 0 || model.capabilities.input.some((item) => item.startsWith("text"))) && (model.capabilities.output.length === 0 || model.capabilities.output.some((item) => item.startsWith("text")));
|
|
233
233
|
}
|
|
@@ -238,7 +238,7 @@ function compatibility2(input) {
|
|
|
238
238
|
return;
|
|
239
239
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
240
240
|
}
|
|
241
|
-
function
|
|
241
|
+
function parse5(input) {
|
|
242
242
|
const index = input.indexOf("/");
|
|
243
243
|
return {
|
|
244
244
|
providerID: ID12.make(index === -1 ? input : input.slice(0, index)),
|
|
@@ -246,4 +246,4 @@ function parse4(input) {
|
|
|
246
246
|
};
|
|
247
247
|
}
|
|
248
248
|
|
|
249
|
-
export { ID11, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2,
|
|
249
|
+
export { ID11, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info19, Service65, node68, supportsText2, compatibility2, parse5, exports_model2, Event14 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service47,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node50
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service47 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service47.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node50 = makeLocationNode({ service: Service47, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service47, node50, exports_image2 };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID10,
|
|
3
|
+
Service62
|
|
4
|
+
} from "./ripgrep-jfa7gmqr.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service79
|
|
7
|
+
} from "./ripgrep-mdd5bykz.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service38
|
|
10
|
+
} from "./ripgrep-bps6twr8.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service71,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-h76pkdx5.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service20
|
|
17
|
+
} from "./ripgrep-0229r2y6.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make11
|
|
20
|
+
} from "./ripgrep-7nbx7n68.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./ripgrep-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigCommandPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_command = {};
|
|
30
|
+
__export(exports_command, {
|
|
31
|
+
ConfigCommandPlugin: () => exports_command,
|
|
32
|
+
Plugin: () => Plugin19
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin19 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service38;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -54,12 +54,12 @@ var Plugin38 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service79;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service71;
|
|
60
|
+
const sessions = yield* Service20;
|
|
61
|
+
const agents = yield* Service62;
|
|
62
|
+
const subagents = yield* make11;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin38 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID10.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin19, exports_command };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
@@ -11,7 +11,7 @@ __export(exports_driver, {
|
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
13
|
make: () => make22,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node80,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node80 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2, Error5, ProviderNotFound2, make22, RegistryService2, registry2, registryNode2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make22, RegistryService2, registry2, registryNode2, node80, exports_driver };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-v47v1yn0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service72,
|
|
6
|
+
Event19
|
|
7
|
+
} from "./ripgrep-crcmjdtg.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Plugin: () =>
|
|
16
|
-
WellKnownPlugin: () =>
|
|
13
|
+
var exports_plugin2 = {};
|
|
14
|
+
__export(exports_plugin2, {
|
|
15
|
+
Plugin: () => Plugin49,
|
|
16
|
+
WellKnownPlugin: () => exports_plugin2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin49 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
const bus = yield* Service83;
|
|
24
|
-
const wellknown = yield*
|
|
24
|
+
const wellknown = yield* Service72;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin15 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event19.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin49, exports_plugin2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-qddvfgkx.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-mfqp6xfm.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin24,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
16
|
endpoint: () => endpoint4
|
|
17
17
|
});
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin24 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -77,4 +77,4 @@ var Plugin18 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export { endpoint4,
|
|
80
|
+
export { endpoint4, Plugin24, exports_firecrawl };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info8,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info8 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info8, exports_mcp5 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-qddvfgkx.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-mfqp6xfm.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin23,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
16
|
endpoint: () => endpoint3
|
|
17
17
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin23 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -73,4 +73,4 @@ var Plugin17 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export { endpoint3,
|
|
76
|
+
export { endpoint3, Plugin23, exports_tinyfish };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-qddvfgkx.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-v47v1yn0.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./ripgrep-v0xz5m4c.js";
|
|
11
11
|
import {
|
|
12
12
|
ID13,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-gq5s82mq.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./ripgrep-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
20
|
ID12,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./ripgrep-aws7tw8m.js";
|
|
24
24
|
import {
|
|
25
25
|
get5
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./ripgrep-54ma36ye.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/openai.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -238,7 +238,7 @@ var OpenAIPlugin2 = define({
|
|
|
238
238
|
for (const name of ["context", "compaction"])
|
|
239
239
|
yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID12.openai });
|
|
240
240
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
241
|
-
yield* bus.subscribe(
|
|
241
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
function headers(contentType, app) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service39
|
|
6
|
+
} from "./ripgrep-8040dbmc.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/module.ts
|
|
12
12
|
var exports_module = {};
|
|
@@ -23,7 +23,7 @@ import path from "path";
|
|
|
23
23
|
import { stat } from "node:fs/promises";
|
|
24
24
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
25
25
|
var make4 = Effect.fn("PluginModule.make")(function* () {
|
|
26
|
-
const watcher = yield*
|
|
26
|
+
const watcher = yield* Service39;
|
|
27
27
|
const scope = yield* Effect.scope;
|
|
28
28
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
29
29
|
const changes = yield* PubSub.unbounded();
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-30nzr87g.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service73,
|
|
17
|
+
node: () => node76
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service73 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service84).db;
|
|
26
|
-
return
|
|
26
|
+
return Service73.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node76 = makeGlobalNode({ service: Service73, layer, deps: [node88] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service73, node76, exports_kv };
|