@opencode/core 0.0.0-dev-21517 → 0.0.0-dev-21528
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 +75 -75
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{location-activity-pp22040a.js → ripgrep-01mpbv93.js} +35 -35
- package/dist/chunks/{location-activity-5h6tfdbz.js → ripgrep-01shgzdc.js} +3 -3
- package/dist/chunks/{location-activity-02mvvr71.js → ripgrep-02mvvr71.js} +3 -3
- package/dist/chunks/{location-activity-6azzqc0z.js → ripgrep-02vamycj.js} +5 -5
- package/dist/chunks/{location-activity-034tev2y.js → ripgrep-034tev2y.js} +2 -2
- package/dist/chunks/{location-activity-92p7xx7n.js → ripgrep-059731j3.js} +5 -5
- package/dist/chunks/{location-activity-njhqdk9p.js → ripgrep-0jq9fyba.js} +9 -9
- package/dist/chunks/{location-activity-fcrkznn8.js → ripgrep-0jwsre1p.js} +5 -5
- package/dist/chunks/{location-activity-gs3gp2dw.js → ripgrep-0n64x4tw.js} +30 -30
- package/dist/chunks/{location-activity-6t960epn.js → ripgrep-0p01dw92.js} +13 -13
- package/dist/chunks/{location-activity-7ppyhzjx.js → ripgrep-0rhcgknv.js} +8 -8
- package/dist/chunks/{location-activity-0vbcp93d.js → ripgrep-0vbcp93d.js} +2 -2
- package/dist/chunks/{location-activity-f54rk091.js → ripgrep-0vh2wh8r.js} +23 -23
- package/dist/chunks/{location-activity-1pkb9xf6.js → ripgrep-0z5rwn5b.js} +3 -3
- package/dist/chunks/{location-activity-e247ns4g.js → ripgrep-10c60s01.js} +41 -41
- package/dist/chunks/{location-activity-1ep2p91f.js → ripgrep-1ep2p91f.js} +2 -2
- package/dist/chunks/{location-activity-bjx1sjef.js → ripgrep-1ffvrpkg.js} +6 -6
- package/dist/chunks/{location-activity-pzbyjs7h.js → ripgrep-1jbzqkv3.js} +8 -8
- package/dist/chunks/{location-activity-ykdjanh2.js → ripgrep-1jjmp4ry.js} +22 -22
- package/dist/chunks/{location-activity-djjr2x20.js → ripgrep-1kr28b9y.js} +11 -14
- package/dist/chunks/{location-activity-28c9dwea.js → ripgrep-1t3k43qg.js} +5 -5
- package/dist/chunks/{location-activity-fgdtfedm.js → ripgrep-1w3jgprt.js} +35 -35
- package/dist/chunks/{location-activity-gd1x13z4.js → ripgrep-1x7nm4pt.js} +11 -11
- package/dist/chunks/{location-activity-rbg9fbf6.js → ripgrep-252xprac.js} +34 -34
- package/dist/chunks/{location-activity-rz270s8p.js → ripgrep-2awrrk9p.js} +17 -17
- package/dist/chunks/{location-activity-0qmzksdr.js → ripgrep-2qn0jgtg.js} +51 -51
- package/dist/chunks/{location-activity-r2m716tb.js → ripgrep-2sejkfem.js} +9 -9
- package/dist/chunks/{location-activity-dqja8dw2.js → ripgrep-30exac31.js} +31 -31
- package/dist/chunks/{location-activity-537fk6rv.js → ripgrep-36n1s7v8.js} +21 -21
- package/dist/chunks/{location-activity-jhfd3768.js → ripgrep-3842yvza.js} +41 -41
- package/dist/chunks/{location-activity-bmbhqgdj.js → ripgrep-3dk8yxk5.js} +38 -39
- package/dist/chunks/{location-activity-1rtxx7gs.js → ripgrep-3epxp6vs.js} +21 -21
- package/dist/chunks/{location-activity-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-activity-3hwn7j4h.js → ripgrep-3hwn7j4h.js} +2 -2
- package/dist/chunks/{location-activity-9t9dtkqe.js → ripgrep-3n7ky5ef.js} +14 -14
- package/dist/chunks/{location-activity-y1bnj3c2.js → ripgrep-3qs99gjb.js} +26 -26
- package/dist/chunks/{location-activity-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-activity-90t6v735.js → ripgrep-3x7f1rzc.js} +9 -9
- package/dist/chunks/{location-activity-3zsf4n22.js → ripgrep-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-activity-nxk5tgz1.js → ripgrep-40dgfgpg.js} +22 -22
- package/dist/chunks/{location-activity-vbz8v6qj.js → ripgrep-41fykjt6.js} +9 -9
- package/dist/chunks/{location-activity-7y1sbygh.js → ripgrep-4314yh8e.js} +4 -4
- package/dist/chunks/{location-activity-7t5avhxh.js → ripgrep-4323h7yk.js} +9 -9
- package/dist/chunks/{location-activity-n8vdnqrc.js → ripgrep-47jkzegy.js} +5 -5
- package/dist/chunks/{location-activity-paeq8bm7.js → ripgrep-4pq9qanv.js} +32 -32
- package/dist/chunks/{location-activity-d5c0yphb.js → ripgrep-4rv5m1hd.js} +16 -16
- package/dist/chunks/{location-activity-dagxvrjx.js → ripgrep-51cc7nn0.js} +5 -5
- package/dist/chunks/{location-activity-tegs1ycp.js → ripgrep-51f5btjf.js} +6 -6
- package/dist/chunks/{location-activity-56cza17w.js → ripgrep-52cc258v.js} +12 -12
- package/dist/chunks/{location-activity-fd8vcgz6.js → ripgrep-52gmg6gk.js} +22 -22
- package/dist/chunks/{location-activity-5h58n3v7.js → ripgrep-5cvjwq3s.js} +24 -24
- package/dist/chunks/{location-activity-jtstryge.js → ripgrep-5czmpw7c.js} +4 -4
- package/dist/chunks/{location-activity-a9drt9e7.js → ripgrep-5dgwy7vk.js} +11 -11
- package/dist/chunks/{location-activity-z0ydvj27.js → ripgrep-5g57z1ma.js} +4 -4
- package/dist/chunks/{location-activity-5m9w47nd.js → ripgrep-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-activity-mpyev40f.js → ripgrep-5qsp4wg3.js} +9 -9
- package/dist/chunks/{location-activity-0bmgx1nz.js → ripgrep-5sk42kyx.js} +11 -11
- package/dist/chunks/{location-activity-2evmdc3g.js → ripgrep-5t2kw4pk.js} +17 -17
- package/dist/chunks/{location-activity-am1tmpj5.js → ripgrep-5w5a4wvv.js} +10 -10
- package/dist/chunks/{location-activity-zcjqesvk.js → ripgrep-644y02x9.js} +24 -24
- package/dist/chunks/{location-activity-6827pfxn.js → ripgrep-6827pfxn.js} +1 -1
- package/dist/chunks/{location-activity-jyx3vsn7.js → ripgrep-6bc70xnv.js} +1 -1
- package/dist/chunks/{location-activity-yeqk0rnt.js → ripgrep-6cg5s87t.js} +22 -22
- package/dist/chunks/{location-activity-h28sqj9e.js → ripgrep-6fx9ws93.js} +24 -24
- package/dist/chunks/{location-activity-4av8mw61.js → ripgrep-6nd0dxps.js} +37 -37
- package/dist/chunks/{location-activity-5ybyrtj9.js → ripgrep-6w56n6fk.js} +12 -12
- package/dist/chunks/{location-activity-6xb47vfp.js → ripgrep-6xb47vfp.js} +1 -1
- package/dist/chunks/{location-activity-h92dknr7.js → ripgrep-6z448gwt.js} +17 -17
- package/dist/chunks/{location-activity-5cb9jvgc.js → ripgrep-6ze0vk8j.js} +9 -9
- package/dist/chunks/{location-activity-1r3g6d8r.js → ripgrep-71syg536.js} +20 -20
- package/dist/chunks/ripgrep-73kg42pk.js +26 -0
- package/dist/chunks/{location-activity-m3yk03ze.js → ripgrep-75qa566n.js} +14 -14
- package/dist/chunks/{location-activity-775gj3j1.js → ripgrep-775gj3j1.js} +2 -2
- package/dist/chunks/ripgrep-77w5wkn6.js +523 -0
- package/dist/chunks/{location-activity-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-activity-jj6wnavt.js → ripgrep-7gs737wr.js} +6 -6
- package/dist/chunks/{location-activity-nz7m2gc2.js → ripgrep-7gxjxwcg.js} +7 -7
- package/dist/chunks/{location-activity-ndmy5zdf.js → ripgrep-7n3ryd6m.js} +10 -10
- package/dist/chunks/{location-activity-j97xjg52.js → ripgrep-7r3p37an.js} +4 -4
- package/dist/chunks/{location-activity-13cf78z7.js → ripgrep-7s3x24kv.js} +24 -24
- package/dist/chunks/{location-activity-f9s3qxhk.js → ripgrep-82zcy4t3.js} +11 -11
- package/dist/chunks/{location-activity-84txncab.js → ripgrep-84txncab.js} +1 -1
- package/dist/chunks/{location-activity-yn3pj0yh.js → ripgrep-8b5ta5tp.js} +13 -13
- package/dist/chunks/{location-activity-tj1d5qjh.js → ripgrep-8hf7gczp.js} +21 -21
- package/dist/chunks/{location-activity-8m6m0r52.js → ripgrep-8m6m0r52.js} +1 -1
- package/dist/chunks/{location-activity-8mywswrd.js → ripgrep-8mywswrd.js} +1 -1
- package/dist/chunks/{location-activity-cemgdj9d.js → ripgrep-8p6qz19e.js} +28 -28
- package/dist/chunks/{location-activity-x3y0w94c.js → ripgrep-8ra0dv5t.js} +14 -14
- package/dist/chunks/{location-activity-6pc27hjz.js → ripgrep-8sze2n9a.js} +2 -2
- package/dist/chunks/{location-activity-v13b12ef.js → ripgrep-942tz9ab.js} +4 -3
- package/dist/chunks/{location-activity-9996tgcy.js → ripgrep-98ann1j5.js} +50 -50
- package/dist/chunks/{location-activity-998yhzzq.js → ripgrep-998yhzzq.js} +3 -3
- package/dist/chunks/{location-activity-hjakaqqy.js → ripgrep-9g0nchv4.js} +11 -11
- package/dist/chunks/{location-activity-ds8w0hjc.js → ripgrep-9g0wqaaz.js} +23 -23
- package/dist/chunks/{location-activity-0tfy61zw.js → ripgrep-9gg87rr4.js} +16 -16
- package/dist/chunks/{location-activity-4n0ytgej.js → ripgrep-9qxkzfze.js} +18 -18
- package/dist/chunks/{location-activity-9wev2pgg.js → ripgrep-9wev2pgg.js} +1 -1
- package/dist/chunks/{location-activity-n0j76x42.js → ripgrep-a171qt9a.js} +4 -4
- package/dist/chunks/{location-activity-x69p0nft.js → ripgrep-a733a65v.js} +8 -8
- package/dist/chunks/{location-activity-2shtrhxh.js → ripgrep-a8nkje97.js} +11 -11
- package/dist/chunks/{location-activity-rbfexjrq.js → ripgrep-a9rqmse4.js} +19 -19
- package/dist/chunks/{location-activity-yxygda1x.js → ripgrep-afm8gjtq.js} +12 -12
- package/dist/chunks/{location-activity-a05vnbee.js → ripgrep-ak2q6qgs.js} +13 -13
- package/dist/chunks/{location-activity-b11a7tx7.js → ripgrep-b11a7tx7.js} +1 -1
- package/dist/chunks/{location-activity-zwkj30rw.js → ripgrep-b38r71wk.js} +15 -15
- package/dist/chunks/{location-activity-62skc2qf.js → ripgrep-b46x1qag.js} +20 -28
- package/dist/chunks/{location-activity-ngsdhqcd.js → ripgrep-b79mf2wv.js} +8 -8
- package/dist/chunks/{location-activity-bacj9t34.js → ripgrep-bacj9t34.js} +2 -2
- package/dist/chunks/{location-activity-bzeyqsqd.js → ripgrep-bzeyqsqd.js} +1 -1
- package/dist/chunks/{location-activity-er22t3x6.js → ripgrep-c00cthjb.js} +10 -10
- package/dist/chunks/{location-activity-jehyjhmh.js → ripgrep-c1gpv2mk.js} +14 -14
- package/dist/chunks/{location-activity-6fpm48m7.js → ripgrep-c1menwye.js} +44 -44
- package/dist/chunks/{location-activity-z3293m6q.js → ripgrep-cd921w3g.js} +2 -2
- package/dist/chunks/{location-activity-8gy1q646.js → ripgrep-cdd3neqk.js} +16 -16
- package/dist/chunks/{location-activity-01kf8yhn.js → ripgrep-cqqcamvx.js} +19 -19
- package/dist/chunks/{location-activity-v45697c8.js → ripgrep-cqz5yx1g.js} +5 -5
- package/dist/chunks/{location-activity-j9yyv4k7.js → ripgrep-crvmmsgx.js} +15 -15
- package/dist/chunks/{location-activity-3em0thmm.js → ripgrep-cvmnawzf.js} +8 -8
- package/dist/chunks/{location-activity-502kcfzs.js → ripgrep-d39q5djw.js} +50 -50
- package/dist/chunks/{location-activity-jshthe41.js → ripgrep-d4epdn84.js} +25 -25
- package/dist/chunks/ripgrep-ddq52evp.js +257 -0
- package/dist/chunks/{location-activity-mb0fhdf6.js → ripgrep-de70dmzp.js} +21 -21
- package/dist/chunks/{location-activity-2k71kv7p.js → ripgrep-dj68pnee.js} +4 -4
- package/dist/chunks/{location-activity-7w6118fp.js → ripgrep-dznbw734.js} +60 -60
- package/dist/chunks/{location-activity-e1eg6kc1.js → ripgrep-e1eg6kc1.js} +2 -2
- package/dist/chunks/{location-activity-eaj1djv9.js → ripgrep-eaj1djv9.js} +1 -1
- package/dist/chunks/{location-activity-eej6y6fw.js → ripgrep-eej6y6fw.js} +2 -2
- package/dist/chunks/{location-activity-ef5x83kb.js → ripgrep-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-activity-7jpqzpd7.js → ripgrep-eft6wwca.js} +33 -33
- package/dist/chunks/{location-activity-p06yjkdd.js → ripgrep-ehzasdw1.js} +7 -7
- package/dist/chunks/{location-activity-3q6hmgvb.js → ripgrep-epbjas11.js} +27 -27
- package/dist/chunks/{location-activity-q8s8gt54.js → ripgrep-eya67jsr.js} +13 -13
- package/dist/chunks/{location-activity-41mvb394.js → ripgrep-f0n6e319.js} +14 -14
- package/dist/chunks/{location-activity-bft0aa8z.js → ripgrep-f0s1k55d.js} +7 -7
- package/dist/chunks/{location-activity-08bp9gk4.js → ripgrep-f6md5hft.js} +18 -18
- package/dist/chunks/{location-activity-fcy631f0.js → ripgrep-fcy631f0.js} +1 -1
- package/dist/chunks/{location-activity-fczg31pg.js → ripgrep-fja19q0n.js} +5 -5
- package/dist/chunks/{location-activity-fn9t717r.js → ripgrep-fn9t717r.js} +3 -3
- package/dist/chunks/{location-activity-1xy4vzvc.js → ripgrep-g75wcaan.js} +3 -3
- package/dist/chunks/{location-activity-51j3hrvc.js → ripgrep-g7hwtxxj.js} +14 -14
- package/dist/chunks/{location-activity-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-activity-14y67es9.js → ripgrep-gd6ja0kz.js} +11 -11
- package/dist/chunks/{location-activity-ey557bc7.js → ripgrep-gfvcc5jk.js} +32 -32
- package/dist/chunks/{location-activity-0tf9ya7d.js → ripgrep-gkymdc6s.js} +9 -9
- package/dist/chunks/{location-activity-azwe5p1w.js → ripgrep-gqtdsdt7.js} +4 -4
- package/dist/chunks/{location-activity-ry6831an.js → ripgrep-gr1f03ws.js} +9 -9
- package/dist/chunks/{location-activity-gk08jtek.js → ripgrep-gsy1tnq9.js} +22 -22
- package/dist/chunks/{location-activity-1g6m8tcr.js → ripgrep-gtrnswr7.js} +35 -35
- package/dist/chunks/{location-activity-mpmg7r7y.js → ripgrep-h0164j0a.js} +28 -41
- package/dist/chunks/{location-activity-p269hv07.js → ripgrep-h4542y1d.js} +42 -42
- package/dist/chunks/{location-activity-e4hyd2jn.js → ripgrep-h4bqh5zx.js} +1 -1
- package/dist/chunks/{location-activity-6xryydhb.js → ripgrep-h6pdp2g8.js} +13 -13
- package/dist/chunks/{location-activity-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-activity-gqg0rsq2.js → ripgrep-hbprad8z.js} +33 -33
- package/dist/chunks/{location-activity-hgz4x7wa.js → ripgrep-hgz4x7wa.js} +1 -1
- package/dist/chunks/{location-activity-4r98eeww.js → ripgrep-hh4ravdp.js} +2 -2
- package/dist/chunks/{location-activity-4bag1db2.js → ripgrep-hpwndzcc.js} +5 -5
- package/dist/chunks/{location-activity-05w7bww5.js → ripgrep-j2hyxy1e.js} +25 -25
- package/dist/chunks/{location-activity-knqarm1q.js → ripgrep-ja3v411g.js} +13 -13
- package/dist/chunks/{location-activity-17jwbhm2.js → ripgrep-jc1xwfbq.js} +29 -36
- package/dist/chunks/{location-activity-vfm45d2v.js → ripgrep-jpjpmxdq.js} +5 -5
- package/dist/chunks/{location-activity-jqh9b0xq.js → ripgrep-jqh9b0xq.js} +1 -1
- package/dist/chunks/{location-activity-nm268en7.js → ripgrep-jwm9r2mk.js} +20 -20
- package/dist/chunks/{location-activity-cx6bqw11.js → ripgrep-jy7marrj.js} +7 -7
- package/dist/chunks/{location-activity-yfzpe4zr.js → ripgrep-k06ywqkh.js} +19 -19
- package/dist/chunks/{location-activity-x0nw82cs.js → ripgrep-k35zjkf6.js} +32 -32
- package/dist/chunks/{location-activity-snzfrcy2.js → ripgrep-k6k9nh3f.js} +14 -14
- package/dist/chunks/{location-activity-6yaymdqw.js → ripgrep-knfx0005.js} +32 -32
- package/dist/chunks/{location-activity-7bjvrdsa.js → ripgrep-kvapg1n1.js} +13 -13
- package/dist/chunks/{location-activity-kwb1v3vj.js → ripgrep-kwb1v3vj.js} +1 -1
- package/dist/chunks/{location-activity-7p7zayqc.js → ripgrep-m58m10rk.js} +1 -1
- package/dist/chunks/{location-activity-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-activity-0h785e3w.js → ripgrep-mah98xap.js} +5 -5
- package/dist/chunks/{location-activity-maspj1v3.js → ripgrep-maspj1v3.js} +1 -1
- package/dist/chunks/{location-activity-7m71vrgm.js → ripgrep-mjsx87f0.js} +81 -81
- package/dist/chunks/{location-activity-nmj46b78.js → ripgrep-mqjjpdbh.js} +11 -11
- package/dist/chunks/{location-activity-5ppd002q.js → ripgrep-mqqhst8y.js} +4 -4
- package/dist/chunks/{location-activity-0mwht5j2.js → ripgrep-mw7fnh7a.js} +6 -6
- package/dist/chunks/{location-activity-ebc4hc03.js → ripgrep-n8c97awd.js} +12 -12
- package/dist/chunks/{location-activity-v210v162.js → ripgrep-nhe1x14z.js} +7 -7
- package/dist/chunks/{location-activity-xv4hnfey.js → ripgrep-nq7ffrj9.js} +4 -4
- package/dist/chunks/{location-activity-zw0jf4j9.js → ripgrep-nxeywbky.js} +12 -12
- package/dist/chunks/{location-activity-khmqacep.js → ripgrep-ny8edt06.js} +4 -4
- package/dist/chunks/{location-activity-vp15kmxq.js → ripgrep-p353fx2f.js} +91 -91
- package/dist/chunks/{location-activity-p37cw4rj.js → ripgrep-p37cw4rj.js} +1 -1
- package/dist/chunks/{location-activity-pc1v25hk.js → ripgrep-pc1v25hk.js} +1 -1
- package/dist/chunks/{location-activity-xns282hb.js → ripgrep-pdjnt312.js} +35 -61
- package/dist/chunks/{location-activity-qbk8jmg9.js → ripgrep-pf494cc8.js} +50 -50
- package/dist/chunks/{location-activity-wt7mczz9.js → ripgrep-pf4vj2x2.js} +21 -21
- package/dist/chunks/{location-activity-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-activity-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/{location-activity-t6mbdjs5.js → ripgrep-pq7a6r0e.js} +66 -66
- package/dist/chunks/{location-activity-mnmsk3d0.js → ripgrep-q6s3sz9j.js} +38 -38
- package/dist/chunks/{location-activity-86zhaznv.js → ripgrep-q7x4taa7.js} +13 -13
- package/dist/chunks/{location-activity-0zkz45z3.js → ripgrep-qbvfc74m.js} +14 -14
- package/dist/chunks/{location-activity-cdtth5pq.js → ripgrep-qg4e8vdn.js} +28 -28
- package/dist/chunks/{location-activity-gp95sf5k.js → ripgrep-qger05k9.js} +11 -11
- package/dist/chunks/{location-activity-0tbd1f4q.js → ripgrep-qkhw7n0g.js} +29 -29
- package/dist/chunks/{location-activity-1gfxhtb5.js → ripgrep-qs8w2ksw.js} +20 -20
- package/dist/chunks/{location-activity-j17j0h0c.js → ripgrep-qsa492eb.js} +4 -4
- package/dist/chunks/{location-activity-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
- package/dist/chunks/{location-activity-bh8ad4py.js → ripgrep-r2610tc4.js} +15 -15
- package/dist/chunks/{location-activity-g9m76s7h.js → ripgrep-r4fxm0j1.js} +3 -3
- package/dist/chunks/{location-activity-r94pvvab.js → ripgrep-r94pvvab.js} +1 -1
- package/dist/chunks/{location-activity-stx7hq6g.js → ripgrep-rb2qm7yc.js} +15 -15
- package/dist/chunks/{location-activity-y9hbk2er.js → ripgrep-rcdfc04v.js} +11 -11
- package/dist/chunks/{location-activity-x2a7qa3g.js → ripgrep-rcwd9s5q.js} +21 -21
- package/dist/chunks/{location-activity-rdw6cm16.js → ripgrep-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-activity-b4bzws13.js → ripgrep-rew48swg.js} +13 -13
- package/dist/chunks/{location-activity-fn08h0vb.js → ripgrep-rk26gw9b.js} +35 -35
- package/dist/chunks/{location-activity-qa3qhgw8.js → ripgrep-ryr25ayn.js} +4 -4
- package/dist/chunks/{location-activity-kn9a3rt9.js → ripgrep-s247n0z7.js} +27 -27
- package/dist/chunks/{location-activity-801xp6nc.js → ripgrep-s7025g3c.js} +17 -17
- package/dist/chunks/{location-activity-sa6168g2.js → ripgrep-sa6168g2.js} +3 -3
- package/dist/chunks/{location-activity-jsz4j0f1.js → ripgrep-sb5w5fqd.js} +15 -15
- package/dist/chunks/{location-activity-4y59gdq5.js → ripgrep-srrvx50p.js} +22 -24
- package/dist/chunks/{location-activity-k31f5s50.js → ripgrep-ss64yk7e.js} +28 -28
- package/dist/chunks/{location-activity-qdz4w9cy.js → ripgrep-sye62zz8.js} +23 -23
- package/dist/chunks/{location-activity-syv4x271.js → ripgrep-syv4x271.js} +1 -1
- package/dist/chunks/{location-activity-4y06bmfc.js → ripgrep-t4jxebhw.js} +5 -5
- package/dist/chunks/{location-activity-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-activity-r6ph5k83.js → ripgrep-tc46500c.js} +16 -16
- package/dist/chunks/{location-activity-tcezcvh9.js → ripgrep-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-activity-tdstcens.js → ripgrep-tdstcens.js} +1 -1
- package/dist/chunks/{location-activity-5gzjtbzb.js → ripgrep-thjxzeng.js} +8 -8
- package/dist/chunks/{location-activity-pjpe8m1n.js → ripgrep-tppgbmaa.js} +11 -11
- package/dist/chunks/{location-activity-asfdzfp1.js → ripgrep-ttnk9ntm.js} +21 -21
- package/dist/chunks/{location-activity-tyytaxap.js → ripgrep-tyytaxap.js} +1 -1
- package/dist/chunks/{location-activity-v7p4zvkq.js → ripgrep-v7p4zvkq.js} +2 -2
- package/dist/chunks/{location-activity-ys29mwwj.js → ripgrep-v9fefnh7.js} +10 -10
- package/dist/chunks/{location-activity-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
- package/dist/chunks/{location-activity-1z0y9k0b.js → ripgrep-vewkg1sw.js} +15 -15
- package/dist/chunks/{location-activity-7xq5rfcp.js → ripgrep-vg6tgr51.js} +21 -21
- package/dist/chunks/{location-activity-kg1vtevg.js → ripgrep-vm4m688h.js} +4 -4
- package/dist/chunks/{location-activity-06f81zaa.js → ripgrep-vn93zb4z.js} +47 -47
- package/dist/chunks/{location-activity-k9jxnbe9.js → ripgrep-vp0mm0kc.js} +12 -12
- package/dist/chunks/{location-activity-1pev4fnm.js → ripgrep-vxg243jx.js} +4 -4
- package/dist/chunks/{location-activity-vzs5sf6e.js → ripgrep-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-activity-vzndzpkc.js → ripgrep-w1t606zy.js} +11 -11
- package/dist/chunks/{location-activity-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-activity-5mrq4sqf.js → ripgrep-w81ytvh4.js} +13 -30
- package/dist/chunks/{location-activity-wakvkjy4.js → ripgrep-wakvkjy4.js} +1 -1
- package/dist/chunks/{location-activity-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{location-activity-dj2wvysw.js → ripgrep-wf8m51n0.js} +45 -45
- package/dist/chunks/{location-activity-cg46d0x0.js → ripgrep-wfyym0nk.js} +14 -14
- package/dist/chunks/{location-activity-kjdm35cs.js → ripgrep-wh6zw745.js} +5 -5
- package/dist/chunks/{location-activity-kxhnmrdj.js → ripgrep-x1833xj2.js} +23 -23
- package/dist/chunks/{location-activity-xqh94nq7.js → ripgrep-x874k1t8.js} +13 -13
- package/dist/chunks/{location-activity-ejg29mxq.js → ripgrep-xemxb09e.js} +20 -20
- package/dist/chunks/{location-activity-ma65t0cg.js → ripgrep-xf5qsyy6.js} +36 -36
- package/dist/chunks/{location-activity-drwq78ky.js → ripgrep-xfkkasph.js} +4 -4
- package/dist/chunks/{location-activity-wa5fpxh1.js → ripgrep-xjchawe4.js} +11 -11
- package/dist/chunks/{location-activity-ef32jdqr.js → ripgrep-xkhk1g30.js} +11 -11
- package/dist/chunks/{location-activity-qkgtb9e9.js → ripgrep-xsbswz4w.js} +9 -9
- package/dist/chunks/{location-activity-xw9fg8fb.js → ripgrep-xw9fg8fb.js} +2 -2
- package/dist/chunks/{location-activity-xw6avn3p.js → ripgrep-xwkencv2.js} +12 -12
- package/dist/chunks/{location-activity-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-activity-y71avatq.js → ripgrep-y71avatq.js} +1 -1
- package/dist/chunks/{location-activity-00x4qneg.js → ripgrep-y72zmemf.js} +8 -8
- package/dist/chunks/{location-activity-59jp7pd6.js → ripgrep-ygd2mcpa.js} +6 -6
- package/dist/chunks/{location-activity-d4mzham1.js → ripgrep-yk55vtb2.js} +21 -21
- package/dist/chunks/{location-activity-9sk1wf25.js → ripgrep-ywryrc1x.js} +4 -4
- package/dist/chunks/{location-activity-ydxzzmqj.js → ripgrep-z03qmy9y.js} +4 -4
- package/dist/chunks/{location-activity-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-activity-z18fegx4.js → ripgrep-z18fegx4.js} +1 -1
- package/dist/chunks/{location-activity-1a140ev3.js → ripgrep-z37bqphs.js} +6 -6
- package/dist/chunks/{location-activity-dj5cvrpb.js → ripgrep-z4tnrsa6.js} +155 -155
- package/dist/chunks/{location-activity-2shfqszk.js → ripgrep-z7bf8532.js} +9 -9
- package/dist/chunks/{location-activity-a694798e.js → ripgrep-za6yq9hg.js} +5 -5
- package/dist/chunks/{location-activity-f73rjn58.js → ripgrep-zcrspsvn.js} +4 -4
- package/dist/chunks/{location-activity-faea9xsf.js → ripgrep-zdhd8t02.js} +12 -12
- package/dist/chunks/{location-activity-w7e41agf.js → ripgrep-zg0hshr1.js} +5 -5
- package/dist/chunks/{location-activity-8dnrzmmm.js → ripgrep-zh0x9fg3.js} +37 -41
- package/dist/chunks/{location-activity-v4zywrnk.js → ripgrep-zhbt7eq1.js} +6 -6
- package/dist/chunks/{location-activity-8qyyddbw.js → ripgrep-zj9sjr7a.js} +30 -30
- package/dist/chunks/{location-activity-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-activity-ykfgt8p5.js → ripgrep-zvnbwra8.js} +13 -13
- package/dist/chunks/{location-activity-zxq2ej10.js → ripgrep-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-activity-8wbxkt1z.js → ripgrep-zy43x3f1.js} +4 -4
- 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 +81 -81
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- 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 +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +138 -138
- 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 +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +76 -76
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +102 -102
- package/dist/file-mutation.js +96 -96
- 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 +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -17
- package/dist/filesystem.js +102 -108
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +85 -85
- package/dist/generate.js +101 -101
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +93 -93
- 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 +360 -360
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +159 -159
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +140 -140
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +80 -80
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- 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 +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +103 -103
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +123 -123
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +170 -170
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +164 -164
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +97 -97
- 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 +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +101 -101
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +221 -221
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +2 -2
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +89 -89
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +139 -139
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +115 -115
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/types/filesystem/search.d.ts +4 -8
- package/dist/types/filesystem/watcher.d.ts +6 -49
- package/dist/types/filesystem.d.ts +11 -13
- package/dist/types/permission/saved.d.ts +14 -22
- package/dist/types/permission.d.ts +14 -39
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- 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 +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/voice.js +88 -88
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +87 -87
- package/dist/worktree.js +90 -90
- package/package.json +8 -8
- package/dist/chunks/location-activity-4skwmgyb.js +0 -257
- package/dist/chunks/location-activity-d9k0s0cb.js +0 -523
- package/dist/chunks/location-activity-wfdkgkxy.js +0 -26
- /package/dist/chunks/{location-activity-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-activity-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-activity-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-activity-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-activity-24dcb14g.js → ripgrep-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-activity-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-activity-2bv980vf.js → ripgrep-2bv980vf.js} +0 -0
- /package/dist/chunks/{location-activity-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-activity-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-activity-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{location-activity-3t0ybcrp.js → ripgrep-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{location-activity-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-activity-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-activity-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-activity-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-activity-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-activity-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-activity-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{location-activity-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-activity-5fjb7ams.js → ripgrep-5fjb7ams.js} +0 -0
- /package/dist/chunks/{location-activity-5qd3pb7m.js → ripgrep-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-activity-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{location-activity-6q2bdcd1.js → ripgrep-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-activity-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-activity-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-activity-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{location-activity-84wd9syh.js → ripgrep-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-activity-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-activity-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-activity-8wj87zfr.js → ripgrep-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-activity-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-activity-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-activity-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-activity-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-activity-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-activity-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-activity-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-activity-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-activity-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-activity-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-activity-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-activity-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-activity-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-activity-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-activity-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-activity-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{location-activity-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-activity-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-activity-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-activity-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-activity-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-activity-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-activity-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-activity-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-activity-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-activity-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-activity-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-activity-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{location-activity-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-activity-gftt206x.js → ripgrep-gftt206x.js} +0 -0
- /package/dist/chunks/{location-activity-hcxmzztb.js → ripgrep-hcxmzztb.js} +0 -0
- /package/dist/chunks/{location-activity-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{location-activity-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-activity-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-activity-jjkms2e6.js → ripgrep-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-activity-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-activity-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-activity-jze0r7bz.js → ripgrep-jze0r7bz.js} +0 -0
- /package/dist/chunks/{location-activity-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-activity-m18g726c.js → ripgrep-m18g726c.js} +0 -0
- /package/dist/chunks/{location-activity-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-activity-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-activity-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-activity-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-activity-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-activity-pkyv6v7h.js → ripgrep-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{location-activity-pt1ss6jy.js → ripgrep-pt1ss6jy.js} +0 -0
- /package/dist/chunks/{location-activity-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-activity-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-activity-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-activity-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-activity-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-activity-qg3g05ea.js → ripgrep-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-activity-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-activity-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-activity-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-activity-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-activity-ve7vex1e.js → ripgrep-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-activity-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-activity-wc3fc9cn.js → ripgrep-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-activity-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-activity-wjj7prxr.js → ripgrep-wjj7prxr.js} +0 -0
- /package/dist/chunks/{location-activity-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-activity-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-activity-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{location-activity-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-activity-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-activity-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-activity-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-activity-z5v4ffb3.js → ripgrep-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-activity-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID7,
|
|
3
|
+
Service65,
|
|
4
|
+
node68
|
|
5
|
+
} from "./ripgrep-qkhw7n0g.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID6,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -15,24 +15,24 @@ import {
|
|
|
15
15
|
encoding2,
|
|
16
16
|
mergeOverlay2,
|
|
17
17
|
mergeHeaders2,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service64,
|
|
19
|
+
node67
|
|
20
|
+
} from "./ripgrep-hbprad8z.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service55,
|
|
23
|
+
node57
|
|
24
|
+
} from "./ripgrep-zdhd8t02.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
26
|
+
ID5,
|
|
27
27
|
VariantID2,
|
|
28
28
|
Ref2,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
Service63,
|
|
30
|
+
node66,
|
|
31
31
|
supportsText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./ripgrep-01mpbv93.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/model-resolver.ts
|
|
38
38
|
var exports_model_resolver = {};
|
|
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
|
|
|
41
41
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
42
42
|
ModelInitializationError: () => ModelInitializationError2,
|
|
43
43
|
ModelResolver: () => exports_model_resolver,
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service45,
|
|
45
45
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
46
46
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
47
47
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
48
48
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
49
49
|
fromCatalogModel: () => fromCatalogModel2,
|
|
50
50
|
hasPackage: () => hasPackage2,
|
|
51
|
-
layer: () =>
|
|
52
|
-
node: () =>
|
|
51
|
+
layer: () => layer19,
|
|
52
|
+
node: () => node47,
|
|
53
53
|
resolveModel: () => resolveModel2,
|
|
54
54
|
withVariant: () => withVariant2
|
|
55
55
|
});
|
|
@@ -59,8 +59,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
59
59
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
60
60
|
import { Npm } from "@opencode/util/npm";
|
|
61
61
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
62
|
-
providerID:
|
|
63
|
-
modelID:
|
|
62
|
+
providerID: ID6,
|
|
63
|
+
modelID: ID5,
|
|
64
64
|
variant: VariantID2
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
@@ -69,8 +69,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
72
|
-
providerID:
|
|
73
|
-
modelID:
|
|
72
|
+
providerID: ID6,
|
|
73
|
+
modelID: ID5,
|
|
74
74
|
package: Schema.String
|
|
75
75
|
}) {
|
|
76
76
|
get message() {
|
|
@@ -80,8 +80,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
80
80
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
81
81
|
|
|
82
82
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
83
|
-
providerID:
|
|
84
|
-
modelID:
|
|
83
|
+
providerID: ID6,
|
|
84
|
+
modelID: ID5,
|
|
85
85
|
package: Schema.String,
|
|
86
86
|
detail: Schema.String
|
|
87
87
|
}) {
|
|
@@ -91,8 +91,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
94
|
-
providerID:
|
|
95
|
-
modelID:
|
|
94
|
+
providerID: ID6,
|
|
95
|
+
modelID: ID5,
|
|
96
96
|
package: Schema.String,
|
|
97
97
|
phase: InitializationPhase2,
|
|
98
98
|
detail: Schema.String
|
|
@@ -103,8 +103,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
106
|
-
providerID:
|
|
107
|
-
modelID:
|
|
106
|
+
providerID: ID6,
|
|
107
|
+
modelID: ID5,
|
|
108
108
|
variables: Schema.Array(Schema.String)
|
|
109
109
|
}) {
|
|
110
110
|
get message() {
|
|
@@ -113,8 +113,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
116
|
-
providerID:
|
|
117
|
-
modelID:
|
|
116
|
+
providerID: ID6,
|
|
117
|
+
modelID: ID5,
|
|
118
118
|
route: Schema.String
|
|
119
119
|
}) {
|
|
120
120
|
get message() {
|
|
@@ -122,7 +122,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
class
|
|
125
|
+
class Service45 extends Context.Service()("@opencode/ModelResolver") {
|
|
126
126
|
}
|
|
127
127
|
var withVariant2 = (model, variantID) => {
|
|
128
128
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -234,7 +234,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
|
|
|
234
234
|
return tokenSettings(specifier, credential.access);
|
|
235
235
|
if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
|
|
236
236
|
return { auth: "sigv4" };
|
|
237
|
-
if (model.providerID ===
|
|
237
|
+
if (model.providerID === ID6.azure)
|
|
238
238
|
return tokenSettings(specifier, "azure-cli");
|
|
239
239
|
return {};
|
|
240
240
|
};
|
|
@@ -269,15 +269,15 @@ var causeMessage = (cause) => {
|
|
|
269
269
|
};
|
|
270
270
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
271
271
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
272
|
-
var
|
|
273
|
-
const providers = yield*
|
|
274
|
-
const models = yield*
|
|
275
|
-
const integrations = yield*
|
|
272
|
+
var layer19 = Layer.effect(Service45, Effect.gen(function* () {
|
|
273
|
+
const providers = yield* Service64;
|
|
274
|
+
const models = yield* Service63;
|
|
275
|
+
const integrations = yield* Service65;
|
|
276
276
|
const npm = yield* Npm.Service;
|
|
277
|
-
const aisdk = yield*
|
|
277
|
+
const aisdk = yield* Service55;
|
|
278
278
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
279
279
|
const provider = yield* providers.get(selected.providerID);
|
|
280
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
280
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID7.make(selected.providerID));
|
|
281
281
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
282
282
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
283
283
|
const runtimeInfo = {
|
|
@@ -304,7 +304,7 @@ var layer27 = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
304
304
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
305
305
|
};
|
|
306
306
|
});
|
|
307
|
-
return
|
|
307
|
+
return Service45.of({
|
|
308
308
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
309
309
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
310
310
|
if (!selected)
|
|
@@ -321,10 +321,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
321
321
|
const name = packageName2(packageName);
|
|
322
322
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
323
323
|
}
|
|
324
|
-
var
|
|
325
|
-
service:
|
|
326
|
-
layer:
|
|
327
|
-
deps: [
|
|
324
|
+
var node47 = makeLocationNode({
|
|
325
|
+
service: Service45,
|
|
326
|
+
layer: layer19,
|
|
327
|
+
deps: [node67, node66, node68, Npm.node, node57]
|
|
328
328
|
});
|
|
329
329
|
|
|
330
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
330
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service45, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer19, node47, exports_model_resolver };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-82zcy4t3.js";
|
|
4
4
|
import {
|
|
5
5
|
collectBoundedResponseBody2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-3v8g72cx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
MAX_RESPONSE_BYTES3,
|
|
9
9
|
call2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-1ffvrpkg.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/websearch/tinyfish.ts
|
|
16
16
|
var exports_tinyfish = {};
|
|
17
17
|
__export(exports_tinyfish, {
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin23,
|
|
19
19
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
20
|
-
endpoint: () =>
|
|
20
|
+
endpoint: () => endpoint6
|
|
21
21
|
});
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
23
23
|
import { Duration, Effect, Option, Schema } from "effect";
|
|
24
24
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
25
|
-
var
|
|
25
|
+
var endpoint6 = "https://agent.tinyfish.ai/mcp";
|
|
26
26
|
var McpInput = Schema.Struct({
|
|
27
27
|
query: Schema.String
|
|
28
28
|
});
|
|
@@ -51,7 +51,7 @@ var InitializedNotification = Schema.Struct({
|
|
|
51
51
|
jsonrpc: Schema.Literal("2.0"),
|
|
52
52
|
method: Schema.Literal("notifications/initialized")
|
|
53
53
|
});
|
|
54
|
-
var
|
|
54
|
+
var Plugin23 = define({
|
|
55
55
|
id: "opencode.websearch.tinyfish",
|
|
56
56
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
57
57
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -78,7 +78,7 @@ var Plugin3 = define({
|
|
|
78
78
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
79
79
|
};
|
|
80
80
|
const session = credential?.type === "key" ? yield* initialize(http, headers) : undefined;
|
|
81
|
-
const result = yield* call2(http,
|
|
81
|
+
const result = yield* call2(http, endpoint6, "search", { input: McpInput, output: McpOutput }, { query: input.query }, { ...headers, ...session === undefined ? {} : { "Mcp-Session-Id": session } });
|
|
82
82
|
const content = result?.content.find((item) => item.text);
|
|
83
83
|
const response = content ? Option.getOrUndefined(decodeSearchResponse(content.text)) : undefined;
|
|
84
84
|
return response?.results.map((item) => ({
|
|
@@ -94,7 +94,7 @@ var Plugin3 = define({
|
|
|
94
94
|
});
|
|
95
95
|
var initialize = (http, headers) => Effect.gen(function* () {
|
|
96
96
|
const client = HttpClient.withScope(HttpClient.filterStatusOk(http));
|
|
97
|
-
const request = yield* HttpClientRequest.post(
|
|
97
|
+
const request = yield* HttpClientRequest.post(endpoint6).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders(headers), HttpClientRequest.schemaBodyJson(InitializeRequest)({
|
|
98
98
|
jsonrpc: "2.0",
|
|
99
99
|
id: 1,
|
|
100
100
|
method: "initialize",
|
|
@@ -105,11 +105,11 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
105
105
|
}
|
|
106
106
|
}));
|
|
107
107
|
const response = yield* client.execute(request);
|
|
108
|
-
yield* collectBoundedResponseBody2(response,
|
|
108
|
+
yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`initialize response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
|
|
109
109
|
const session = response.headers["mcp-session-id"];
|
|
110
110
|
if (session === undefined)
|
|
111
111
|
return yield* Effect.fail(new Error("TinyFish MCP initialize did not return an Mcp-Session-Id header"));
|
|
112
|
-
const notification = yield* HttpClientRequest.post(
|
|
112
|
+
const notification = yield* HttpClientRequest.post(endpoint6).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders({ ...headers, "Mcp-Session-Id": session }), HttpClientRequest.schemaBodyJson(InitializedNotification)({
|
|
113
113
|
jsonrpc: "2.0",
|
|
114
114
|
method: "notifications/initialized"
|
|
115
115
|
}));
|
|
@@ -120,4 +120,4 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
120
120
|
orElse: () => Effect.fail(new Error("TinyFish initialize request timed out"))
|
|
121
121
|
}));
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { endpoint6, Plugin23, exports_tinyfish };
|
|
@@ -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: () => Info12,
|
|
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 Info12 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info12, exports_mcp5 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service85,
|
|
4
|
+
node89
|
|
5
|
+
} from "./ripgrep-cdd3neqk.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service62,
|
|
8
|
+
node65
|
|
9
|
+
} from "./ripgrep-zvnbwra8.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: () => Event9,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service60,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node62,
|
|
26
|
+
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -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 Service60 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event9 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var requestTimeout = "15 seconds";
|
|
@@ -57,7 +57,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
57
57
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
58
58
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.timeout(requestTimeout), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
59
59
|
});
|
|
60
|
-
var
|
|
60
|
+
var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
61
61
|
const manifest = yield* inspect2(input.origin);
|
|
62
62
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
63
63
|
});
|
|
@@ -79,10 +79,10 @@ var Sources = Schema.Array(Schema.String);
|
|
|
79
79
|
var manifestKey = (origin) => `wellknown:manifest:${origin}`;
|
|
80
80
|
var configKey = (origin) => `wellknown:config:${origin}`;
|
|
81
81
|
var Configs = Schema.Array(Config2);
|
|
82
|
-
var layer = Layer.effect(
|
|
82
|
+
var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
83
83
|
const http = yield* HttpClient.HttpClient;
|
|
84
|
-
const kv = yield*
|
|
85
|
-
const bus = yield*
|
|
84
|
+
const kv = yield* Service62;
|
|
85
|
+
const bus = yield* Service85;
|
|
86
86
|
const cache = yield* Ref.make(new Map);
|
|
87
87
|
const lock = Semaphore.makeUnsafe(1);
|
|
88
88
|
const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
|
|
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
113
113
|
if (!changed)
|
|
114
114
|
return false;
|
|
115
115
|
yield* Ref.set(cache, next);
|
|
116
|
-
yield* bus.publish(
|
|
116
|
+
yield* bus.publish(Event9.Updated, {}, { global: true });
|
|
117
117
|
return true;
|
|
118
118
|
}, (effect) => lock.withPermit(effect));
|
|
119
|
-
return
|
|
119
|
+
return Service60.of({
|
|
120
120
|
entries: load,
|
|
121
121
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
122
122
|
refresh,
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
129
129
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
130
130
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
131
131
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
132
|
-
yield* bus.publish(
|
|
132
|
+
yield* bus.publish(Event9.Updated, {}, { global: true });
|
|
133
133
|
return entry;
|
|
134
134
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
135
135
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
144
144
|
next.delete(origin);
|
|
145
145
|
return next;
|
|
146
146
|
});
|
|
147
|
-
yield* bus.publish(
|
|
147
|
+
yield* bus.publish(Event9.Updated, {}, { global: true });
|
|
148
148
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
149
149
|
resolve: Effect.fn("WellKnown.resolveEntry")(function* (entry, variables) {
|
|
150
150
|
const configs = yield* resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http));
|
|
@@ -157,6 +157,6 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
157
157
|
})
|
|
158
158
|
});
|
|
159
159
|
}));
|
|
160
|
-
var
|
|
160
|
+
var node62 = makeGlobalNode({ service: Service60, layer, deps: [httpClient, node65, node89] });
|
|
161
161
|
|
|
162
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
162
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service60, Event9, inspect2, resolve3, node62, exports_wellknown };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service85,
|
|
4
|
+
node89
|
|
5
|
+
} from "./ripgrep-cdd3neqk.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service5,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer5,
|
|
17
|
+
node: () => node6
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service5 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
26
|
-
const bus = yield*
|
|
25
|
+
var layer5 = Layer.effect(Service5, Effect.gen(function* () {
|
|
26
|
+
const bus = yield* Service85;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service5.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {}, { global: true })), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node6 = makeGlobalNode({ service: Service5, layer: layer5, deps: [node89] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service5, layer5, node6, exports_sdk };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service80,
|
|
6
|
+
node84
|
|
7
|
+
} from "./ripgrep-xwkencv2.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-84txncab.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service62,
|
|
16
|
+
node65
|
|
17
|
+
} from "./ripgrep-zvnbwra8.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service47,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node49,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service47 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service80;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service62;
|
|
110
|
+
return Service47.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node49 = makeGlobalNode({
|
|
171
|
+
service: Service47,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node84, Global.node, node65]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service47, isError2, validateBranch2, node49, exports_repository_cache };
|