@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,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service45,
|
|
3
|
+
node47
|
|
4
|
+
} from "./ripgrep-wf8m51n0.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-pt1ss6jy.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/session/runner/model.ts
|
|
13
13
|
var exports_model = {};
|
|
14
14
|
__export(exports_model, {
|
|
15
15
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
16
16
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service43,
|
|
18
18
|
SessionRunnerModel: () => exports_model,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node45,
|
|
20
20
|
resolved: () => resolved2
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service43 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
43
43
|
}
|
|
44
44
|
var resolved2 = (model, options) => ({
|
|
45
45
|
model,
|
|
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
|
|
|
54
54
|
compaction: options.compaction,
|
|
55
55
|
transport: options.transport
|
|
56
56
|
});
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const resolver = yield*
|
|
59
|
-
return
|
|
57
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
58
|
+
const resolver = yield* Service45;
|
|
59
|
+
return Service43.of({
|
|
60
60
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
61
61
|
if (!session.model) {
|
|
62
62
|
const resolved = yield* resolver.resolve();
|
|
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
}));
|
|
77
|
-
var
|
|
77
|
+
var node45 = makeLocationNode({ service: Service43, layer, deps: [node47] });
|
|
78
78
|
|
|
79
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
79
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service43, resolved2, node45, exports_model };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-1ffvrpkg.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin21,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint4
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint4 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin21 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin4 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint4);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint4, Plugin21, exports_exa };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
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/worktree/directory.ts
|
|
9
9
|
var exports_directory = {};
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-82zcy4t3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service85
|
|
6
|
+
} from "./ripgrep-cdd3neqk.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event14,
|
|
10
|
+
Service66
|
|
11
|
+
} from "./ripgrep-252xprac.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID7,
|
|
14
14
|
MethodID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-qkhw7n0g.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID6,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./ripgrep-hbprad8z.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID5,
|
|
22
22
|
VariantID2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info16
|
|
24
|
+
} from "./ripgrep-01mpbv93.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./ripgrep-pjvnvgmy.js";
|
|
29
29
|
import {
|
|
30
30
|
get4
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./ripgrep-r94pvvab.js";
|
|
32
32
|
import {
|
|
33
33
|
configuredSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./ripgrep-zhbt7eq1.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/chatgpt.ts
|
|
37
37
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -43,8 +43,8 @@ var issuer = "https://auth.openai.com";
|
|
|
43
43
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
44
44
|
var resource = "https://api.openai.com/v1";
|
|
45
45
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
46
|
-
var providerID =
|
|
47
|
-
var integrationID =
|
|
46
|
+
var providerID = ID6.openai;
|
|
47
|
+
var integrationID = ID7.make("openai");
|
|
48
48
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
49
49
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
50
50
|
var fallbackModels = new Set([
|
|
@@ -179,8 +179,8 @@ function listen(server) {
|
|
|
179
179
|
var ChatGPTPlugin2 = define({
|
|
180
180
|
id: "opencode.provider.chatgpt",
|
|
181
181
|
effect: Effect.fn(function* (ctx) {
|
|
182
|
-
const bus = yield*
|
|
183
|
-
const credentials = yield*
|
|
182
|
+
const bus = yield* Service85;
|
|
183
|
+
const credentials = yield* Service66;
|
|
184
184
|
const loading = Semaphore.makeUnsafe(1);
|
|
185
185
|
let chatgpt;
|
|
186
186
|
let source;
|
|
@@ -195,7 +195,7 @@ var ChatGPTPlugin2 = define({
|
|
|
195
195
|
yield* ctx.integration.transform((editor) => {
|
|
196
196
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
197
197
|
});
|
|
198
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
198
|
+
yield* Effect.forEach(yield* credentials.list(ID7.make("openai")), (entry) => {
|
|
199
199
|
const value = entry.value;
|
|
200
200
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
201
201
|
return Effect.void;
|
|
@@ -268,7 +268,7 @@ var ChatGPTPlugin2 = define({
|
|
|
268
268
|
}
|
|
269
269
|
});
|
|
270
270
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
271
|
-
yield* bus.subscribe(
|
|
271
|
+
yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
272
272
|
})
|
|
273
273
|
});
|
|
274
274
|
function headers(app) {
|
|
@@ -325,7 +325,7 @@ function deriveModels2(remote, existing) {
|
|
|
325
325
|
const found = byID.get(model.modelID);
|
|
326
326
|
return found ? [deriveModel(found, model)] : [];
|
|
327
327
|
}),
|
|
328
|
-
...remote.filter((model) => !known.has(
|
|
328
|
+
...remote.filter((model) => !known.has(ID5.make(model.slug))).map((model) => deriveModel(model, Info16.default(ID6.openai, ID5.make(model.slug))))
|
|
329
329
|
];
|
|
330
330
|
}
|
|
331
331
|
function deriveModel(remote, previous) {
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./ripgrep-m58m10rk.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
9
|
make23,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-01shgzdc.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID15,
|
|
3
3
|
Service76
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-v9fefnh7.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service63
|
|
8
|
+
} from "./ripgrep-01mpbv93.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service58
|
|
12
|
+
} from "./ripgrep-d39q5djw.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-pt1ss6jy.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service50
|
|
18
|
+
} from "./ripgrep-tc46500c.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service72
|
|
22
|
+
} from "./ripgrep-pdjnt312.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service26
|
|
25
|
+
} from "./ripgrep-p353fx2f.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./ripgrep-6xb47vfp.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service9
|
|
31
|
+
} from "./ripgrep-a9rqmse4.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input13,
|
|
40
|
+
Output: () => Output9,
|
|
41
|
+
Plugin: () => Plugin15,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description5,
|
|
44
|
+
name: () => name13
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name13 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input13 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input8 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output9 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description5 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,16 +86,16 @@ var description4 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin15 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
92
|
+
const sessions = yield* Service26;
|
|
93
|
+
const jobs = yield* Service50;
|
|
94
94
|
const agents = yield* Service76;
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
95
|
+
const config = yield* Service58;
|
|
96
|
+
const permission = yield* Service72;
|
|
97
|
+
const models = yield* Service63;
|
|
98
|
+
const subagents = yield* Service9;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin44 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name13,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description5,
|
|
121
|
+
input: Input13,
|
|
122
|
+
output: Output9,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin44 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name13,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -218,7 +218,7 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
-
if (event.tool !==
|
|
221
|
+
if (event.tool !== name13 || !Predicate.isObject(event.input))
|
|
222
222
|
return;
|
|
223
223
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
224
|
return;
|
|
@@ -230,13 +230,13 @@ ${output.output}
|
|
|
230
230
|
event.input = input;
|
|
231
231
|
}));
|
|
232
232
|
const hook = (event) => Effect.gen(function* () {
|
|
233
|
-
const tool = event.tools[
|
|
233
|
+
const tool = event.tools[name13];
|
|
234
234
|
if (!tool)
|
|
235
235
|
return;
|
|
236
236
|
const selected = yield* agents.resolve(event.agent);
|
|
237
237
|
if (!selected)
|
|
238
238
|
return;
|
|
239
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
239
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name13, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
240
240
|
if (available.length === 0)
|
|
241
241
|
return;
|
|
242
242
|
tool.description = [
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name13, Input13, Output9, description5, Plugin15, exports_subagent };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-034tev2y.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
9
|
var exports_mcp = {};
|
|
10
10
|
__export(exports_mcp, {
|
|
11
|
-
MAX_RESPONSE_BYTES: () =>
|
|
11
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
12
12
|
WebSearchMcp: () => exports_mcp,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var MAX_RESPONSE_BYTES3 = 256 * 1024;
|
|
19
19
|
var parseResponse2 = (body, result) => {
|
|
20
20
|
const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
|
|
21
21
|
const parse = (payload) => {
|
|
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
53
53
|
}));
|
|
54
54
|
return yield* Effect.gen(function* () {
|
|
55
55
|
const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
|
|
56
|
-
const body = yield* collectBoundedResponseBody2(response,
|
|
56
|
+
const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
|
|
57
57
|
return yield* parseResponse2(body.toString("utf8"), schema.output);
|
|
58
58
|
}).pipe(Effect.scoped, Effect.timeoutOrElse({
|
|
59
59
|
duration: Duration.seconds(25),
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export {
|
|
64
|
+
export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-hbprad8z.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service63
|
|
6
|
+
} from "./ripgrep-01mpbv93.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/verbosity.ts
|
|
12
12
|
var exports_verbosity = {};
|
|
13
13
|
__export(exports_verbosity, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin28,
|
|
15
15
|
VerbosityPlugin: () => exports_verbosity
|
|
16
16
|
});
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -27,10 +27,10 @@ var gateways = new Set([
|
|
|
27
27
|
"@opencode/ai/providers/vercel-ai-gateway",
|
|
28
28
|
aisdk2("@ai-sdk/gateway")
|
|
29
29
|
]);
|
|
30
|
-
var
|
|
30
|
+
var Plugin28 = define({
|
|
31
31
|
id: "opencode.prompt.verbosity",
|
|
32
32
|
effect: Effect.fn("VerbosityPlugin")(function* (ctx) {
|
|
33
|
-
const models = yield*
|
|
33
|
+
const models = yield* Service63;
|
|
34
34
|
const hook = (event) => Effect.gen(function* () {
|
|
35
35
|
if (event.options.textVerbosity !== undefined)
|
|
36
36
|
return;
|
|
@@ -70,4 +70,4 @@ function openAIModelID(model) {
|
|
|
70
70
|
return id.slice("openai/".length);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { Plugin28, exports_verbosity };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./ripgrep-3n7ky5ef.js";
|
|
7
7
|
import {
|
|
8
8
|
Service24
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-n8c97awd.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service6
|
|
12
|
+
} from "./ripgrep-gsy1tnq9.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-hgz4x7wa.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service31
|
|
27
|
+
} from "./ripgrep-b38r71wk.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input10,
|
|
36
|
+
Plugin: () => Plugin12,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
38
|
+
name: () => name10,
|
|
39
39
|
toModelContent: () => toModelContent5
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name10 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input10 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin12 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
61
|
+
const reader = yield* Service31;
|
|
62
62
|
const access = yield* Service24;
|
|
63
|
-
const sessionInstructions = yield*
|
|
63
|
+
const sessionInstructions = yield* Service6;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service78;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name10,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input10,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -182,4 +182,4 @@ var toModelContent5 = (path, offset, output) => {
|
|
|
182
182
|
`);
|
|
183
183
|
};
|
|
184
184
|
|
|
185
|
-
export {
|
|
185
|
+
export { name10, Input10, Plugin12, toModelContent5, exports_read };
|