@opencode/core 0.0.0-dev-20068 → 0.0.0-dev-20069
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 +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{schema-21kk9ey9.js → ripgrep-0ayx05qh.js} +2 -2
- package/dist/chunks/ripgrep-0mesazry.js +4 -0
- package/dist/chunks/{schema-v53t4mb7.js → ripgrep-0mgs0snk.js} +11 -11
- package/dist/chunks/{schema-0paq2nw3.js → ripgrep-0paq2nw3.js} +1 -1
- package/dist/chunks/{schema-dtnx79zk.js → ripgrep-0w5b0zhk.js} +12 -12
- package/dist/chunks/{schema-ey28dp55.js → ripgrep-12samabn.js} +13 -13
- package/dist/chunks/{schema-1ajx6rf5.js → ripgrep-1ajx6rf5.js} +1 -1
- package/dist/chunks/{schema-1dazxqgg.js → ripgrep-1dazxqgg.js} +2 -2
- package/dist/chunks/{schema-23sw09pj.js → ripgrep-1se9s7cd.js} +5 -5
- package/dist/chunks/{schema-21r38tys.js → ripgrep-21r38tys.js} +1 -1
- package/dist/chunks/{schema-twax0pxr.js → ripgrep-22159n9k.js} +23 -23
- package/dist/chunks/{schema-2402vzrj.js → ripgrep-2402vzrj.js} +1 -1
- package/dist/chunks/{schema-2a5m3afh.js → ripgrep-2a5m3afh.js} +1 -1
- package/dist/chunks/{schema-2krp1dn7.js → ripgrep-2hr23n0w.js} +11 -11
- package/dist/chunks/{schema-4xstzax4.js → ripgrep-2hr6k3wd.js} +17 -17
- package/dist/chunks/{schema-hbecebtg.js → ripgrep-2sdtchw9.js} +10 -10
- package/dist/chunks/{schema-854y6ept.js → ripgrep-310pygx3.js} +34 -34
- package/dist/chunks/{schema-m9dec5st.js → ripgrep-3133pbgg.js} +30 -30
- package/dist/chunks/{schema-szbdaj22.js → ripgrep-314cfvev.js} +4 -4
- package/dist/chunks/{schema-gs95kj1c.js → ripgrep-3exhk902.js} +22 -22
- package/dist/chunks/{schema-3fc6dm20.js → ripgrep-3fc6dm20.js} +1 -1
- package/dist/chunks/{schema-99647hmk.js → ripgrep-3h0mkt05.js} +32 -32
- package/dist/chunks/{schema-32ngwk73.js → ripgrep-3h6g4yxf.js} +15 -15
- package/dist/chunks/{schema-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{schema-04t6vhh2.js → ripgrep-3j5kzqk4.js} +9 -9
- package/dist/chunks/{schema-0ft9cg2j.js → ripgrep-3k6sfp50.js} +6 -6
- package/dist/chunks/{schema-3smtnn6g.js → ripgrep-3smtnn6g.js} +1 -1
- package/dist/chunks/{schema-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
- package/dist/chunks/{schema-kvb5pf0f.js → ripgrep-3zca3at5.js} +7 -7
- package/dist/chunks/{schema-hqtqhwxa.js → ripgrep-3zjyq5kp.js} +11 -11
- package/dist/chunks/{schema-3zsf4n22.js → ripgrep-3zsf4n22.js} +1 -1
- package/dist/chunks/{schema-kb6gw2zp.js → ripgrep-44pdqs77.js} +4 -4
- package/dist/chunks/{schema-rd930brt.js → ripgrep-45xdrqn4.js} +41 -41
- package/dist/chunks/{schema-cvekkaw8.js → ripgrep-4dnzmhzq.js} +8 -8
- package/dist/chunks/{schema-dgb7xf30.js → ripgrep-4e766vfh.js} +21 -21
- package/dist/chunks/{schema-q1wd5bqe.js → ripgrep-4k1416er.js} +3 -3
- package/dist/chunks/{schema-ya2xvy3r.js → ripgrep-4qg5r729.js} +9 -9
- package/dist/chunks/{schema-vt5nkxs5.js → ripgrep-4y23n6zb.js} +29 -29
- package/dist/chunks/{schema-43vj5j1g.js → ripgrep-518fy5x0.js} +8 -8
- package/dist/chunks/{schema-ckecvw8r.js → ripgrep-54tcyq79.js} +2 -2
- package/dist/chunks/{schema-yme4tm39.js → ripgrep-55ec8s4g.js} +37 -37
- package/dist/chunks/{schema-mfqp6xfm.js → ripgrep-56gdpj1q.js} +6 -6
- package/dist/chunks/{schema-57ez7d0k.js → ripgrep-57ez7d0k.js} +2 -2
- package/dist/chunks/{schema-6a6hn4p4.js → ripgrep-5a5dg86c.js} +20 -20
- package/dist/chunks/{schema-bkk1ay02.js → ripgrep-5az6qf77.js} +11 -11
- package/dist/chunks/{schema-5daktx2q.js → ripgrep-5daktx2q.js} +1 -1
- package/dist/chunks/{schema-y8pznszf.js → ripgrep-5df7hbgb.js} +26 -26
- package/dist/chunks/{schema-5ekn9679.js → ripgrep-5ekn9679.js} +1 -1
- package/dist/chunks/{schema-f9t32q2w.js → ripgrep-5jcjmpah.js} +7 -7
- package/dist/chunks/{schema-jesqq2b8.js → ripgrep-5q70a6nc.js} +2 -2
- package/dist/chunks/{schema-5t3nmthw.js → ripgrep-5t3nmthw.js} +2 -2
- package/dist/chunks/{schema-g3mqb04e.js → ripgrep-5wbzy8nn.js} +10 -10
- package/dist/chunks/{schema-qgn6gcr1.js → ripgrep-607tc6va.js} +5 -5
- package/dist/chunks/{schema-jj43yjqp.js → ripgrep-63p6tvjf.js} +11 -11
- package/dist/chunks/{schema-yb29xp2t.js → ripgrep-65eqnm58.js} +12 -12
- package/dist/chunks/{schema-8qmjzw20.js → ripgrep-65rfk13t.js} +24 -24
- package/dist/chunks/{schema-669tq793.js → ripgrep-669tq793.js} +1 -1
- package/dist/chunks/{schema-gdt8128r.js → ripgrep-66m6eh7j.js} +15 -15
- package/dist/chunks/{schema-607q5haz.js → ripgrep-68y7phbn.js} +5 -5
- package/dist/chunks/{schema-nbgtvmt2.js → ripgrep-6ae9v3b9.js} +7 -7
- package/dist/chunks/{schema-e89kpxws.js → ripgrep-6e4b4bvx.js} +11 -11
- package/dist/chunks/{schema-hqztqa4w.js → ripgrep-6j042nns.js} +16 -16
- package/dist/chunks/{schema-b26at605.js → ripgrep-6jqke6p8.js} +11 -11
- package/dist/chunks/{schema-9n8ak2h1.js → ripgrep-6kxxvxy9.js} +4 -4
- package/dist/chunks/{schema-6msgmcgs.js → ripgrep-6msgmcgs.js} +1 -1
- package/dist/chunks/{schema-a1w0bh0r.js → ripgrep-6npe6m7n.js} +35 -35
- package/dist/chunks/{schema-dq5ym5fs.js → ripgrep-6rww2kbq.js} +29 -29
- package/dist/chunks/{schema-22y0n5cd.js → ripgrep-6v1ffft6.js} +11 -11
- package/dist/chunks/{schema-f5thdj5b.js → ripgrep-6whh3zwz.js} +44 -44
- package/dist/chunks/{schema-x21w7dsp.js → ripgrep-6xakybcw.js} +20 -20
- package/dist/chunks/{schema-tfz8ht6g.js → ripgrep-6ypqnq6y.js} +11 -11
- package/dist/chunks/{schema-wfvmvx5v.js → ripgrep-72bztqfg.js} +31 -31
- package/dist/chunks/{schema-jwpzwwy6.js → ripgrep-75j187sy.js} +16 -16
- package/dist/chunks/{schema-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{schema-8349yjnv.js → ripgrep-7pj4hm0p.js} +15 -15
- package/dist/chunks/{schema-r3c4069c.js → ripgrep-7tgakezr.js} +1 -1
- package/dist/chunks/{schema-21xm8fz3.js → ripgrep-7tr6rhhd.js} +10 -10
- package/dist/chunks/{schema-mhkvc446.js → ripgrep-7yh4e7ss.js} +3 -3
- package/dist/chunks/{schema-rk8hkmen.js → ripgrep-7zszha7m.js} +35 -35
- package/dist/chunks/{schema-tcezcvh9.js → ripgrep-89znhe33.js} +4 -4
- package/dist/chunks/{schema-8d7r5vzw.js → ripgrep-8d7r5vzw.js} +1 -1
- package/dist/chunks/{schema-4g0aw377.js → ripgrep-8n3vm8hr.js} +8 -8
- package/dist/chunks/{schema-azejft3h.js → ripgrep-8vk5gx22.js} +15 -15
- package/dist/chunks/{schema-d9wzmzc3.js → ripgrep-94s48bjb.js} +5 -5
- package/dist/chunks/{schema-egc3yevh.js → ripgrep-95en9f50.js} +14 -14
- package/dist/chunks/{schema-vtxr0yy2.js → ripgrep-9cyfspf3.js} +5 -5
- package/dist/chunks/{schema-5p1sgbr7.js → ripgrep-9h8yadab.js} +9 -9
- package/dist/chunks/{schema-tyqw9b1a.js → ripgrep-9jscrgm8.js} +10 -10
- package/dist/chunks/{schema-cbmy1d4v.js → ripgrep-9kdsp20r.js} +5 -5
- package/dist/chunks/{schema-4r89mkx8.js → ripgrep-9q81rv62.js} +9 -9
- package/dist/chunks/{schema-j7xxj57g.js → ripgrep-9r7rpdpb.js} +5 -5
- package/dist/chunks/{schema-bfsvxfz0.js → ripgrep-9yp3a3kk.js} +24 -24
- package/dist/chunks/ripgrep-9zdhvgqs.js +18 -0
- package/dist/chunks/{schema-79y3jrde.js → ripgrep-a4ddpw0g.js} +22 -22
- package/dist/chunks/{schema-kwb80b5k.js → ripgrep-a68v6zx7.js} +8 -8
- package/dist/chunks/{schema-51dx2b5g.js → ripgrep-a7e8yba8.js} +13 -13
- package/dist/chunks/{schema-mff6ah6z.js → ripgrep-a82wvf7y.js} +52 -52
- package/dist/chunks/{schema-aaet6srn.js → ripgrep-aaet6srn.js} +2 -2
- package/dist/chunks/{schema-15nepkqg.js → ripgrep-ahd542yp.js} +8 -8
- package/dist/chunks/{schema-vmgq4x8b.js → ripgrep-ak8wweg5.js} +2 -2
- package/dist/chunks/{schema-tfw5vp5y.js → ripgrep-ak95znyc.js} +3 -3
- package/dist/chunks/{schema-4etra8x0.js → ripgrep-aqc2n7k1.js} +11 -11
- package/dist/chunks/{schema-b6gygkdw.js → ripgrep-b6gygkdw.js} +2 -2
- package/dist/chunks/{schema-3qaj82j9.js → ripgrep-b7b4ctej.js} +5 -5
- package/dist/chunks/{schema-jkq931gc.js → ripgrep-bc17a4yt.js} +15 -15
- package/dist/chunks/{schema-vncycja5.js → ripgrep-bct739vz.js} +4 -4
- package/dist/chunks/{schema-z07pqspn.js → ripgrep-bjtzbw4r.js} +3 -3
- package/dist/chunks/{schema-4pkmhnfb.js → ripgrep-btdn1fj9.js} +12 -12
- package/dist/chunks/{schema-jyrfr5z0.js → ripgrep-c13e6esw.js} +3 -3
- package/dist/chunks/{schema-4pe5mkqw.js → ripgrep-c6smxwme.js} +15 -15
- package/dist/chunks/{schema-n2rked60.js → ripgrep-c765aa0m.js} +12 -12
- package/dist/chunks/{schema-c3whs05w.js → ripgrep-c8fzc5kk.js} +3 -3
- package/dist/chunks/{schema-4p60s6mc.js → ripgrep-ccgx1agb.js} +85 -85
- package/dist/chunks/{schema-zsnrp8c7.js → ripgrep-cczmq9j9.js} +323 -323
- package/dist/chunks/{schema-0ak0g8qp.js → ripgrep-csmmbkrn.js} +3 -3
- package/dist/chunks/{schema-djszqvmq.js → ripgrep-cwa6csj7.js} +9 -9
- package/dist/chunks/{schema-f724bymh.js → ripgrep-cyzqg38g.js} +18 -18
- package/dist/chunks/{schema-jvf3yq6v.js → ripgrep-dhmh7aw6.js} +4 -4
- package/dist/chunks/{schema-dpkg50ah.js → ripgrep-dpkg50ah.js} +1 -1
- package/dist/chunks/{schema-86n5f4j7.js → ripgrep-dq0k2458.js} +6 -6
- package/dist/chunks/{schema-zk4010xf.js → ripgrep-dqr0m1y5.js} +8 -8
- package/dist/chunks/{schema-ywppm7yh.js → ripgrep-drsj7rnm.js} +37 -37
- package/dist/chunks/{schema-57b9ws8p.js → ripgrep-drwq78ky.js} +5 -5
- package/dist/chunks/{schema-1365j5nm.js → ripgrep-dwkyy60h.js} +13 -13
- package/dist/chunks/{schema-2gv5qy1y.js → ripgrep-e37h8kwf.js} +12 -12
- package/dist/chunks/{schema-xbrnje9f.js → ripgrep-e7710hd6.js} +8 -8
- package/dist/chunks/{schema-gsk7mn2e.js → ripgrep-e82rfkh8.js} +168 -168
- package/dist/chunks/{schema-x7pgzbrc.js → ripgrep-e9mavkfm.js} +13 -13
- package/dist/chunks/{schema-ef5x83kb.js → ripgrep-ef5x83kb.js} +1 -1
- package/dist/chunks/{schema-d0jrvpgb.js → ripgrep-ejndgxwh.js} +29 -29
- package/dist/chunks/{schema-erw5rpbs.js → ripgrep-erw5rpbs.js} +2 -2
- package/dist/chunks/{schema-84s1vm7q.js → ripgrep-eswwkexn.js} +11 -11
- package/dist/chunks/{schema-etq0c3wd.js → ripgrep-etq0c3wd.js} +1 -1
- package/dist/chunks/{schema-evbgk2k8.js → ripgrep-evbgk2k8.js} +2 -2
- package/dist/chunks/{schema-2xanj3y6.js → ripgrep-ewxpkfp1.js} +23 -23
- package/dist/chunks/{schema-c0knr1es.js → ripgrep-f16gbcxr.js} +16 -16
- package/dist/chunks/{schema-nkh7hwh6.js → ripgrep-f2y31vad.js} +5 -5
- package/dist/chunks/{schema-3e5hztjw.js → ripgrep-f5q6vpa8.js} +4 -4
- package/dist/chunks/{schema-4cmte46y.js → ripgrep-febc8204.js} +4 -4
- package/dist/chunks/{schema-ngaq65z3.js → ripgrep-fhgj836q.js} +17 -17
- package/dist/chunks/{schema-5cmxdwv8.js → ripgrep-fqka1xvk.js} +3 -3
- package/dist/chunks/{schema-xxxgmpnp.js → ripgrep-fxfc3qkp.js} +8 -8
- package/dist/chunks/{schema-4tzv48n0.js → ripgrep-g1n6bxpc.js} +27 -27
- package/dist/chunks/{schema-d08f925z.js → ripgrep-g2sgta8f.js} +5 -5
- package/dist/chunks/{schema-7mqqegap.js → ripgrep-g7y1z024.js} +5 -5
- package/dist/chunks/{schema-v5dkyp31.js → ripgrep-g8d3gcyj.js} +7 -7
- package/dist/chunks/{schema-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
- package/dist/chunks/{schema-94ek1h2f.js → ripgrep-gfvb90ym.js} +2 -2
- package/dist/chunks/{schema-vz4jg4k9.js → ripgrep-gjbcvzr2.js} +8 -8
- package/dist/chunks/{schema-e9k66s6p.js → ripgrep-gqtakvcm.js} +5 -5
- package/dist/chunks/{schema-gv6a8nnw.js → ripgrep-gv6a8nnw.js} +2 -2
- package/dist/chunks/{schema-c21zn749.js → ripgrep-h0yqkzt5.js} +11 -11
- package/dist/chunks/{schema-qf9g56f3.js → ripgrep-h3yfa6ks.js} +39 -39
- package/dist/chunks/{schema-azgx1nga.js → ripgrep-h52xnkn8.js} +20 -20
- package/dist/chunks/{schema-r1t33gv4.js → ripgrep-h5tmfsew.js} +27 -27
- package/dist/chunks/{schema-cpj0znwe.js → ripgrep-h6r3nrb9.js} +4 -4
- package/dist/chunks/{schema-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
- package/dist/chunks/{schema-spqcpneg.js → ripgrep-h7w9m21h.js} +6 -6
- package/dist/chunks/{schema-9jm5k1pc.js → ripgrep-h8t8zj8w.js} +8 -8
- package/dist/chunks/{schema-k3dr35yq.js → ripgrep-hf4drxk6.js} +6 -6
- package/dist/chunks/{schema-3n6q8bv2.js → ripgrep-hgnmjjw1.js} +17 -17
- package/dist/chunks/{schema-4m11sss1.js → ripgrep-hhpnm7dw.js} +31 -31
- package/dist/chunks/{schema-zab19jja.js → ripgrep-hrc132h6.js} +9 -9
- package/dist/chunks/{schema-cvcncckx.js → ripgrep-hsqtqw31.js} +41 -41
- package/dist/chunks/{schema-3e147rt9.js → ripgrep-j311gd59.js} +6 -6
- package/dist/chunks/{schema-dvgd3rha.js → ripgrep-j4ab9r48.js} +3 -3
- package/dist/chunks/{schema-j56e64zr.js → ripgrep-j56e64zr.js} +1 -1
- package/dist/chunks/{schema-n37c4crj.js → ripgrep-j58c5xyq.js} +9 -9
- package/dist/chunks/{schema-xa30xd5p.js → ripgrep-jf99zcgg.js} +22 -22
- package/dist/chunks/{schema-dx61neqa.js → ripgrep-k1fg4vp1.js} +20 -20
- package/dist/chunks/{schema-6ysrkrkr.js → ripgrep-k1qrnqst.js} +8 -8
- package/dist/chunks/{schema-k3c624dm.js → ripgrep-k3c624dm.js} +3 -3
- package/dist/chunks/{schema-71g12y8g.js → ripgrep-kj13tdgj.js} +6 -6
- package/dist/chunks/{schema-8a9kwrve.js → ripgrep-km9v8s4p.js} +25 -25
- package/dist/chunks/{schema-xfdrc2qg.js → ripgrep-knb7evpn.js} +4 -4
- package/dist/chunks/{schema-z8p0mpvq.js → ripgrep-kwh94f5y.js} +22 -22
- package/dist/chunks/{schema-qnn3verk.js → ripgrep-m14g7d03.js} +9 -9
- package/dist/chunks/{schema-m3fdjcah.js → ripgrep-m3fdjcah.js} +1 -1
- package/dist/chunks/{schema-0eppds2k.js → ripgrep-m9ekcepj.js} +9 -9
- package/dist/chunks/{schema-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{schema-x98p3fja.js → ripgrep-mb5k3eyw.js} +44 -44
- package/dist/chunks/{schema-c99cqkw7.js → ripgrep-md9pgxe8.js} +18 -18
- package/dist/chunks/{schema-mksgfzgs.js → ripgrep-mjyv029k.js} +6 -6
- package/dist/chunks/{schema-gsac5713.js → ripgrep-mppnnt9x.js} +23 -23
- package/dist/chunks/{schema-hd6mtbc2.js → ripgrep-mt4rfx33.js} +1 -1
- package/dist/chunks/{schema-fnxsaa4j.js → ripgrep-myhvmvaw.js} +18 -18
- package/dist/chunks/{schema-wq4mmp7m.js → ripgrep-mzywpf3p.js} +4 -4
- package/dist/chunks/{schema-dwpj3xc6.js → ripgrep-nacy1b3s.js} +11 -11
- package/dist/chunks/ripgrep-nc9jdwq6.js +252 -0
- package/dist/chunks/{schema-rr1xtvmv.js → ripgrep-npcgt3gc.js} +43 -43
- package/dist/chunks/{schema-g17ae1qh.js → ripgrep-nqhkz2h0.js} +3 -3
- package/dist/chunks/{schema-jw80jp6b.js → ripgrep-nrdmrqsx.js} +4 -4
- package/dist/chunks/{schema-mfh2s9n9.js → ripgrep-nxq64296.js} +20 -20
- package/dist/chunks/{schema-1fgq5ex7.js → ripgrep-p8p1q38m.js} +26 -26
- package/dist/chunks/{schema-xbdvvged.js → ripgrep-pdq8pnd2.js} +12 -12
- package/dist/chunks/{schema-nrf9nkf4.js → ripgrep-pff1gvzk.js} +39 -39
- package/dist/chunks/{schema-hj3kzhjm.js → ripgrep-phfbqzjs.js} +15 -15
- package/dist/chunks/{schema-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
- package/dist/chunks/{schema-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/{schema-s1n69xg5.js → ripgrep-pp3p6rz8.js} +26 -26
- package/dist/chunks/{schema-wd3x2cqz.js → ripgrep-psazpmmj.js} +2 -2
- package/dist/chunks/{schema-6htx4nwr.js → ripgrep-qjjdbt4x.js} +11 -11
- package/dist/chunks/{schema-jv01nqvq.js → ripgrep-qn4ba14w.js} +5 -5
- package/dist/chunks/{schema-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
- package/dist/chunks/{schema-rs4ad808.js → ripgrep-r3va1q30.js} +15 -15
- package/dist/chunks/{schema-3djsbczj.js → ripgrep-r4bzzscv.js} +4 -4
- package/dist/chunks/{schema-b74jhqyh.js → ripgrep-r6h5nhyv.js} +26 -26
- package/dist/chunks/{schema-ksngh15a.js → ripgrep-rd066f3k.js} +13 -13
- package/dist/chunks/{schema-53fyba40.js → ripgrep-rdecwvm0.js} +4 -4
- package/dist/chunks/{schema-stka8cwy.js → ripgrep-rdf5zzeq.js} +16 -16
- package/dist/chunks/{schema-rdw6cm16.js → ripgrep-rdw6cm16.js} +1 -1
- package/dist/chunks/{schema-2s9emtnm.js → ripgrep-rkd9y7hg.js} +13 -13
- package/dist/chunks/{schema-e8f8pgjf.js → ripgrep-rn3cq9ja.js} +25 -25
- package/dist/chunks/{schema-bq4g5957.js → ripgrep-rtrd7687.js} +4 -4
- package/dist/chunks/{schema-ke47ra3q.js → ripgrep-rwpqnmrd.js} +45 -45
- package/dist/chunks/{schema-hnc22933.js → ripgrep-s2v5xhym.js} +24 -24
- package/dist/chunks/{schema-a2qe2ev9.js → ripgrep-s5met55r.js} +8 -8
- package/dist/chunks/{schema-we5e1hqv.js → ripgrep-s74ft2z0.js} +5 -5
- package/dist/chunks/{schema-bxav69s2.js → ripgrep-s7d0jgbp.js} +15 -15
- package/dist/chunks/{schema-eaj1djv9.js → ripgrep-s8d7rejh.js} +6 -6
- package/dist/chunks/{schema-nxhqveyz.js → ripgrep-s8zy8myc.js} +5 -5
- package/dist/chunks/{schema-1rd6czrg.js → ripgrep-sh5yyyta.js} +4 -4
- package/dist/chunks/{schema-sgds5tk2.js → ripgrep-svjy1kds.js} +13 -13
- package/dist/chunks/{schema-bttjrvqw.js → ripgrep-szs8vbwv.js} +11 -11
- package/dist/chunks/{schema-yb3bnh53.js → ripgrep-t1nv7t91.js} +36 -36
- package/dist/chunks/{schema-zx2f5h1h.js → ripgrep-t9jfj42y.js} +16 -16
- package/dist/chunks/{schema-1fmrbde1.js → ripgrep-t9ym9qvh.js} +8 -8
- package/dist/chunks/{schema-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
- package/dist/chunks/{schema-trgn506r.js → ripgrep-tcfbr18x.js} +10 -10
- package/dist/chunks/{schema-hxx1gems.js → ripgrep-tcnfwqy6.js} +10 -10
- package/dist/chunks/{schema-tdstcens.js → ripgrep-tdstcens.js} +1 -1
- package/dist/chunks/ripgrep-thf27y4c.js +26 -0
- package/dist/chunks/{schema-0wddnwfq.js → ripgrep-trqv73xc.js} +20 -20
- package/dist/chunks/{schema-pxar5t5x.js → ripgrep-trv0dvrm.js} +27 -27
- package/dist/chunks/{schema-tvtrv512.js → ripgrep-tvtrv512.js} +1 -1
- package/dist/chunks/{schema-vmwh049b.js → ripgrep-v8g8r3p5.js} +6 -6
- package/dist/chunks/{schema-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
- package/dist/chunks/{schema-wvm3e786.js → ripgrep-vk5cd3wv.js} +10 -10
- package/dist/chunks/{schema-mx9vqzsb.js → ripgrep-vvccsdf3.js} +6 -6
- package/dist/chunks/{schema-feqe9m6b.js → ripgrep-vw5tv20s.js} +21 -21
- package/dist/chunks/{schema-vzcthcp8.js → ripgrep-vzcthcp8.js} +1 -1
- package/dist/chunks/{schema-9jn1v8n4.js → ripgrep-vztfwee2.js} +27 -27
- package/dist/chunks/{schema-z6970k62.js → ripgrep-w0amkjx1.js} +22 -22
- package/dist/chunks/{schema-750bqw08.js → ripgrep-w28p7srs.js} +13 -13
- package/dist/chunks/{schema-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{schema-yq6rdmt7.js → ripgrep-wamfr8ew.js} +10 -10
- package/dist/chunks/{schema-m8q517q3.js → ripgrep-wd7bxs2p.js} +30 -30
- package/dist/chunks/{schema-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{schema-stgrmxrp.js → ripgrep-wdqt7cqw.js} +10 -10
- package/dist/chunks/{schema-hwh6dse8.js → ripgrep-wj3w7pcn.js} +17 -17
- package/dist/chunks/{schema-tfzngn12.js → ripgrep-wj76ss2k.js} +4 -4
- package/dist/chunks/{schema-w9xbefsq.js → ripgrep-wjvmat6z.js} +22 -22
- package/dist/chunks/{schema-mtptma85.js → ripgrep-wmfp1rw3.js} +18 -18
- package/dist/chunks/{schema-q23t71ky.js → ripgrep-wpa4rsnk.js} +19 -19
- package/dist/chunks/{schema-1brzvxsn.js → ripgrep-wwy2qggx.js} +8 -8
- package/dist/chunks/{schema-rtrqs7aw.js → ripgrep-x01dtww3.js} +30 -30
- package/dist/chunks/{schema-p70m8tan.js → ripgrep-x0phpbjd.js} +29 -29
- package/dist/chunks/{schema-x1ezjp6w.js → ripgrep-x1ezjp6w.js} +1 -1
- package/dist/chunks/{schema-798v7mfg.js → ripgrep-x9p82aqm.js} +13 -13
- package/dist/chunks/{schema-pmrtsbw6.js → ripgrep-xdyhb63d.js} +18 -18
- package/dist/chunks/{schema-bc8ybda4.js → ripgrep-xwx3c2sc.js} +9 -9
- package/dist/chunks/{schema-d0wejq28.js → ripgrep-xz23vemp.js} +6 -6
- package/dist/chunks/{schema-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
- package/dist/chunks/{schema-zj09a0ew.js → ripgrep-y67gsgy6.js} +4 -4
- package/dist/chunks/{schema-y7c4883m.js → ripgrep-yagfenz7.js} +57 -57
- package/dist/chunks/{schema-v00q4dqv.js → ripgrep-yejpxas0.js} +14 -14
- package/dist/chunks/{schema-yp2x3t23.js → ripgrep-yp2x3t23.js} +1 -1
- package/dist/chunks/{schema-yrhqyw5v.js → ripgrep-yrhqyw5v.js} +1 -1
- package/dist/chunks/{schema-yrznvahk.js → ripgrep-yrznvahk.js} +2 -2
- package/dist/chunks/{schema-z6y9e2r8.js → ripgrep-ys5hb573.js} +30 -30
- package/dist/chunks/{schema-jjs74g98.js → ripgrep-ywkfy99j.js} +9 -9
- package/dist/chunks/{schema-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
- package/dist/chunks/{schema-yyc7yft3.js → ripgrep-z1a2kmfk.js} +15 -15
- package/dist/chunks/{schema-z63w68vq.js → ripgrep-z63w68vq.js} +2 -2
- package/dist/chunks/{schema-qx20pxr4.js → ripgrep-z66c1k9w.js} +48 -48
- package/dist/chunks/{schema-zpfyxn6c.js → ripgrep-zajadr6b.js} +24 -24
- package/dist/chunks/{schema-zeh9ct20.js → ripgrep-zeh9ct20.js} +2 -2
- package/dist/chunks/{schema-qpqjws28.js → ripgrep-zkt84azb.js} +9 -9
- package/dist/chunks/{schema-ev08srva.js → ripgrep-zp8bqaxg.js} +14 -14
- package/dist/chunks/{schema-f6p0q2g2.js → ripgrep-zq2g0th5.js} +15 -15
- package/dist/chunks/{schema-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
- package/dist/chunks/{schema-3pgqp7v9.js → ripgrep-zr8y6ync.js} +4 -4
- package/dist/chunks/{schema-p173zzzp.js → ripgrep-zrye3yph.js} +80 -80
- package/dist/chunks/{schema-99249730.js → ripgrep-zwfnejf5.js} +1 -1
- package/dist/chunks/{schema-zxq2ej10.js → ripgrep-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +121 -121
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- 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/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +362 -362
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +106 -106
- package/dist/mcp/instructions.js +126 -126
- 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 +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 +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +91 -91
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +98 -98
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +130 -130
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +220 -220
- 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 +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- 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 +8 -8
- 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/attachment.js +2 -2
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- 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 +98 -98
- package/package.json +8 -8
- package/dist/chunks/schema-0et57d8k.js +0 -252
- package/dist/chunks/schema-dxj72tfx.js +0 -18
- package/dist/chunks/schema-pemgqcj3.js +0 -26
- package/dist/chunks/schema-z926abd4.js +0 -4
- /package/dist/chunks/{schema-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{schema-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{schema-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{schema-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{schema-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{schema-24dcb14g.js → ripgrep-24dcb14g.js} +0 -0
- /package/dist/chunks/{schema-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{schema-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
- /package/dist/chunks/{schema-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{schema-34c7v6d4.js → ripgrep-34c7v6d4.js} +0 -0
- /package/dist/chunks/{schema-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{schema-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{schema-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{schema-3w5fmr99.js → ripgrep-3w5fmr99.js} +0 -0
- /package/dist/chunks/{schema-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{schema-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{schema-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{schema-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{schema-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{schema-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{schema-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{schema-5qd3pb7m.js → ripgrep-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{schema-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{schema-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{schema-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{schema-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{schema-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{schema-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{schema-8wj87zfr.js → ripgrep-8wj87zfr.js} +0 -0
- /package/dist/chunks/{schema-922hggd3.js → ripgrep-922hggd3.js} +0 -0
- /package/dist/chunks/{schema-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{schema-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{schema-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
- /package/dist/chunks/{schema-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{schema-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{schema-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{schema-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{schema-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{schema-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{schema-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{schema-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{schema-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{schema-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{schema-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
- /package/dist/chunks/{schema-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{schema-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{schema-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{schema-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{schema-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{schema-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
- /package/dist/chunks/{schema-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{schema-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{schema-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{schema-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{schema-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{schema-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{schema-fxgpk5d8.js → ripgrep-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{schema-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{schema-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{schema-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{schema-gftt206x.js → ripgrep-gftt206x.js} +0 -0
- /package/dist/chunks/{schema-hjbc5kem.js → ripgrep-hjbc5kem.js} +0 -0
- /package/dist/chunks/{schema-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{schema-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{schema-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{schema-jjkms2e6.js → ripgrep-jjkms2e6.js} +0 -0
- /package/dist/chunks/{schema-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{schema-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{schema-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{schema-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{schema-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{schema-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{schema-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{schema-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{schema-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{schema-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{schema-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{schema-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{schema-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{schema-qg3g05ea.js → ripgrep-qg3g05ea.js} +0 -0
- /package/dist/chunks/{schema-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{schema-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{schema-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{schema-sk3qaz4a.js → ripgrep-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{schema-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{schema-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{schema-wc3fc9cn.js → ripgrep-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{schema-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{schema-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{schema-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{schema-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{schema-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{schema-y8cydn3q.js → ripgrep-y8cydn3q.js} +0 -0
- /package/dist/chunks/{schema-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
- /package/dist/chunks/{schema-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{schema-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
- /package/dist/chunks/{schema-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
|
@@ -2,27 +2,27 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
4
|
node87
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./ripgrep-sh5yyyta.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service71,
|
|
8
|
+
node75
|
|
9
|
+
} from "./ripgrep-tcfbr18x.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event14,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service70,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node74,
|
|
26
26
|
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service70 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event14 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
80
|
+
const kv = yield* Service71;
|
|
81
81
|
const bus = yield* Service83;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event14.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service70.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event14.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event14.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node74 = makeGlobalNode({ service: Service70, layer, deps: [httpClient, node75, node87] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service70, Event14, inspect2, resolve3, node74, exports_wellknown };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-sh5yyyta.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-wjvmat6z.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
19
|
NotFoundError: () => NotFoundError3,
|
|
20
|
-
Options: () =>
|
|
20
|
+
Options: () => Options2,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service19,
|
|
23
23
|
UnavailableError: () => UnavailableError2,
|
|
24
|
-
configured: () =>
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
24
|
+
configured: () => configured2,
|
|
25
|
+
layer: () => layer8,
|
|
26
|
+
node: () => node22
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -35,7 +35,7 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
var
|
|
38
|
+
var Options2 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
40
|
class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
@@ -47,9 +47,9 @@ class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError",
|
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service19 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service19, Effect.gen(function* () {
|
|
53
53
|
const bus = yield* Service83;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service19.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,13 +255,13 @@ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
258
|
+
var layer8 = makeLayer();
|
|
259
|
+
var configured2 = (options) => makeGlobalNode({
|
|
260
|
+
service: Service19,
|
|
261
|
+
layer: options === undefined ? layer8 : makeLayer(options),
|
|
262
262
|
deps: [node87, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node22 = configured2();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
267
|
var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options2, UnavailableError2, NotFoundError3, Service19, layer8, configured2, node22, exports_persistent_pty, Handoff2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./ripgrep-65rfk13t.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service47
|
|
6
|
+
} from "./ripgrep-vvccsdf3.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-9zdhvgqs.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service47;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service58), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-5q70a6nc.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service62
|
|
6
|
+
} from "./ripgrep-4e766vfh.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service16,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-12samabn.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service57
|
|
14
|
+
} from "./ripgrep-qjjdbt4x.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service53
|
|
17
|
+
} from "./ripgrep-a82wvf7y.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service15,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./ripgrep-66m6eh7j.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./ripgrep-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input5,
|
|
34
|
+
Output: () => Output4,
|
|
35
|
+
Plugin: () => Plugin23,
|
|
36
|
+
name: () => name5
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name5 = "edit";
|
|
43
|
+
var Input5 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input7 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output4 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin23 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const fileMutation = yield*
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const formatter = yield*
|
|
109
|
+
const access = yield* Service15;
|
|
110
|
+
const fileMutation = yield* Service16;
|
|
111
|
+
const environment = yield* Service62;
|
|
112
|
+
const formatter = yield* Service57;
|
|
113
113
|
const location = yield* Service80;
|
|
114
|
-
const permission = yield*
|
|
114
|
+
const permission = yield* Service53;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
|
-
name:
|
|
116
|
+
name: name5,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
118
118
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
119
|
-
input:
|
|
120
|
-
output:
|
|
119
|
+
input: Input5,
|
|
120
|
+
output: Output4,
|
|
121
121
|
execute: (input, context) => {
|
|
122
122
|
return Effect.gen(function* () {
|
|
123
123
|
const permissionSource = {
|
|
@@ -194,4 +194,4 @@ var Plugin43 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { name5, Input5, Output4, Plugin23, exports_edit };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-sh5yyyta.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
10
|
+
ID14,
|
|
11
|
+
Service76,
|
|
12
|
+
node80,
|
|
13
|
+
Event18
|
|
14
|
+
} from "./ripgrep-ejndgxwh.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./ripgrep-h6r3nrb9.js";
|
|
18
18
|
import {
|
|
19
19
|
Service80,
|
|
20
20
|
node84
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./ripgrep-5q70a6nc.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -37,13 +37,13 @@ var exports_provider3 = {};
|
|
|
37
37
|
__export(exports_provider3, {
|
|
38
38
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
|
-
Event: () =>
|
|
41
|
-
ID: () =>
|
|
42
|
-
Info: () =>
|
|
40
|
+
Event: () => Event17,
|
|
41
|
+
ID: () => ID13,
|
|
42
|
+
Info: () => Info27,
|
|
43
43
|
LoadError: () => LoadError3,
|
|
44
44
|
Provider: () => exports_provider3,
|
|
45
|
-
Request: () =>
|
|
46
|
-
Service: () =>
|
|
45
|
+
Request: () => Request3,
|
|
46
|
+
Service: () => Service75,
|
|
47
47
|
Settings: () => Settings2,
|
|
48
48
|
Transport: () => Transport2,
|
|
49
49
|
aisdk: () => aisdk2,
|
|
@@ -53,7 +53,7 @@ __export(exports_provider3, {
|
|
|
53
53
|
mergeOverlay: () => mergeOverlay2,
|
|
54
54
|
modelSettings: () => modelSettings2,
|
|
55
55
|
nativeSettings: () => nativeSettings2,
|
|
56
|
-
node: () =>
|
|
56
|
+
node: () => node79,
|
|
57
57
|
packageName: () => packageName2
|
|
58
58
|
});
|
|
59
59
|
import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
|
|
@@ -64,8 +64,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
64
64
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
65
65
|
import { Credential } from "@opencode/schema/credential";
|
|
66
66
|
import { freeze } from "immer";
|
|
67
|
-
import { Event as
|
|
68
|
-
var
|
|
67
|
+
import { Event as Event17 } from "@opencode/schema/provider";
|
|
68
|
+
var ID13 = Provider.ID;
|
|
69
69
|
var AISDK_PREFIX2 = "aisdk:";
|
|
70
70
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
71
71
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -206,13 +206,13 @@ function mergeHeaders2(base, overlay) {
|
|
|
206
206
|
return result;
|
|
207
207
|
}, new Map).values());
|
|
208
208
|
}
|
|
209
|
-
var
|
|
209
|
+
var Request3 = Provider.Request;
|
|
210
210
|
var Compaction3 = Provider.Compaction;
|
|
211
211
|
var Transport2 = Provider.Transport;
|
|
212
212
|
var Settings2 = Provider.Settings;
|
|
213
|
-
var
|
|
213
|
+
var Info27 = Provider.Info;
|
|
214
214
|
|
|
215
|
-
class
|
|
215
|
+
class Service75 extends Context.Service()("@opencode/Provider") {
|
|
216
216
|
}
|
|
217
217
|
var definitions = new WeakMap;
|
|
218
218
|
function index(providerID, models) {
|
|
@@ -225,9 +225,9 @@ function index(providerID, models) {
|
|
|
225
225
|
definitions.set(models, indexes);
|
|
226
226
|
return result;
|
|
227
227
|
}
|
|
228
|
-
var layer = Layer.effect(
|
|
228
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
229
229
|
const bus = yield* Service83;
|
|
230
|
-
const integrations = yield*
|
|
230
|
+
const integrations = yield* Service76;
|
|
231
231
|
const location = yield* Service80;
|
|
232
232
|
const state = create3({
|
|
233
233
|
name: "provider",
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
239
239
|
const current = records.get(id);
|
|
240
240
|
if (current)
|
|
241
241
|
return current;
|
|
242
|
-
const added = { provider:
|
|
242
|
+
const added = { provider: Info27.empty(id), models: new Map };
|
|
243
243
|
records.set(id, added);
|
|
244
244
|
maps.add(added.models);
|
|
245
245
|
return added;
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
320
320
|
const available = Array.from(records.values()).filter((record) => {
|
|
321
321
|
if (record.provider.activation === "disabled")
|
|
322
322
|
return false;
|
|
323
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
323
|
+
const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
|
|
324
324
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
325
325
|
return false;
|
|
326
326
|
if (record.provider.activation === "enabled")
|
|
@@ -346,8 +346,8 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
346
346
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
347
347
|
});
|
|
348
348
|
});
|
|
349
|
-
yield* bus.subscribe([
|
|
350
|
-
return
|
|
349
|
+
yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
350
|
+
return Service75.of({
|
|
351
351
|
transform: state.transform,
|
|
352
352
|
reload: state.reload,
|
|
353
353
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
356
356
|
snapshot
|
|
357
357
|
});
|
|
358
358
|
}));
|
|
359
|
-
var
|
|
359
|
+
var node79 = makeLocationNode({ service: Service75, layer, deps: [node87, node80, node84] });
|
|
360
360
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
361
361
|
const module = yield* Effect.tryPromise({
|
|
362
362
|
try: () => {
|
|
@@ -616,4 +616,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
616
616
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
617
617
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
618
618
|
|
|
619
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
619
|
+
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info27, Service75, node79, exports_provider3, Event17 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-nqhkz2h0.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
removed2,
|
|
8
8
|
make21,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-s8d7rejh.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-bjtzbw4r.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
@@ -22,11 +22,11 @@ __export(exports_instruction_entry, {
|
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service27,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node31,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service27 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
64
|
var source = (entry) => make21({
|
|
65
|
-
key:
|
|
65
|
+
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
68
68
|
render: {
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make21({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service84;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service27.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node31 = makeLocationNode({ service: Service27, layer, deps: [node88] });
|
|
114
114
|
|
|
115
|
-
export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2,
|
|
115
|
+
export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service27, node31, exports_instruction_entry };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./ripgrep-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service62,
|
|
8
|
+
node65
|
|
9
|
+
} from "./ripgrep-4e766vfh.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error3,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service61,
|
|
24
|
+
node: () => node64
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error3 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service61 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error3({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service62;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service61.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node64 = makeLocationNode({ service: Service61, layer, deps: [node65, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error3, InvalidPatternError2, Service61, node64, exports_ripgrep };
|