@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,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./ripgrep-cdd3neqk.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service78,
|
|
7
|
+
node82
|
|
8
|
+
} from "./ripgrep-3n7ky5ef.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Service53,
|
|
11
11
|
login2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
node55
|
|
13
|
+
} from "./ripgrep-40dgfgpg.js";
|
|
14
14
|
import {
|
|
15
15
|
lazy2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./ripgrep-88xbtdfr.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
23
23
|
__export(exports_pty, {
|
|
24
24
|
CreateInput: () => CreateInput2,
|
|
25
|
-
Event: () =>
|
|
25
|
+
Event: () => Event2,
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
|
-
ID: () =>
|
|
28
|
-
Info: () =>
|
|
29
|
-
NotFoundError: () =>
|
|
27
|
+
ID: () => ID2,
|
|
28
|
+
Info: () => Info3,
|
|
29
|
+
NotFoundError: () => NotFoundError2,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service13,
|
|
32
32
|
UpdateInput: () => UpdateInput2,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node15
|
|
34
34
|
});
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
37
37
|
import { Pty } from "@opencode/schema/pty";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event2 } from "@opencode/schema/pty";
|
|
39
39
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
40
40
|
var EXITED_LIMIT = 25;
|
|
41
41
|
var pty = lazy2(() => import("#pty"));
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var ID2 = Pty.ID;
|
|
43
|
+
var Info3 = Pty.Info;
|
|
44
44
|
var CreateInput2 = Pty.CreateInput;
|
|
45
45
|
var UpdateInput2 = Pty.UpdateInput;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
ptyID:
|
|
47
|
+
class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
48
|
+
ptyID: ID2
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
53
|
-
ptyID:
|
|
53
|
+
ptyID: ID2
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service13 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
60
|
-
const bus = yield*
|
|
61
|
-
const location = yield*
|
|
62
|
-
const shell = yield*
|
|
59
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
60
|
+
const bus = yield* Service85;
|
|
61
|
+
const location = yield* Service78;
|
|
62
|
+
const shell = yield* Service53;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
96
96
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
97
97
|
const session = sessions.get(id);
|
|
98
98
|
if (!session)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError2({ ptyID: id });
|
|
100
100
|
return session;
|
|
101
101
|
});
|
|
102
102
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
122
122
|
return (yield* requireSession(id)).info;
|
|
123
123
|
});
|
|
124
124
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
125
|
-
const id =
|
|
125
|
+
const id = ID2.ascending();
|
|
126
126
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
127
127
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
128
128
|
const cwd = input.cwd || location.directory;
|
|
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
267
267
|
}
|
|
268
268
|
};
|
|
269
269
|
});
|
|
270
|
-
return
|
|
270
|
+
return Service13.of({ list, get, create, update, remove, write, attach });
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node15 = makeLocationNode({
|
|
273
|
+
service: Service13,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [
|
|
275
|
+
deps: [node89, node82, node55]
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
export {
|
|
278
|
+
export { ID2, Info3, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service13, node15, exports_pty, Event2 };
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./ripgrep-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service78,
|
|
8
|
+
node82
|
|
9
|
+
} from "./ripgrep-3n7ky5ef.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service57,
|
|
12
|
+
node59
|
|
13
|
+
} from "./ripgrep-jc1xwfbq.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -29,15 +29,12 @@ __export(exports_filesystem, {
|
|
|
29
29
|
FindInput: () => FindInput2,
|
|
30
30
|
GlobInput: () => GlobInput2,
|
|
31
31
|
GrepInput: () => GrepInput2,
|
|
32
|
-
ListInput: () => ListInput3,
|
|
33
32
|
Match: () => Match2,
|
|
34
|
-
NotFoundError: () =>
|
|
35
|
-
|
|
36
|
-
Service: () => Service43,
|
|
33
|
+
NotFoundError: () => NotFoundError7,
|
|
34
|
+
Service: () => Service56,
|
|
37
35
|
Submatch: () => Submatch2,
|
|
38
36
|
Write: () => Write2,
|
|
39
|
-
|
|
40
|
-
node: () => node46
|
|
37
|
+
node: () => node58
|
|
41
38
|
});
|
|
42
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
43
40
|
import path from "path";
|
|
@@ -45,15 +42,8 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
45
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
46
43
|
import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
|
|
47
44
|
import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
|
|
48
|
-
var ReadInput2 = Schema.Struct({
|
|
49
|
-
path: RelativePath2
|
|
50
|
-
});
|
|
51
|
-
var WriteInput2 = Schema.Struct({
|
|
52
|
-
path: Schema.String,
|
|
53
|
-
data: Schema.Uint8Array
|
|
54
|
-
});
|
|
55
45
|
|
|
56
|
-
class
|
|
46
|
+
class NotFoundError7 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
57
47
|
path: RelativePath2
|
|
58
48
|
}) {
|
|
59
49
|
}
|
|
@@ -82,9 +72,6 @@ var Content2 = Schema.Struct({
|
|
|
82
72
|
encoding: Schema.Literals(["utf8", "base64"]),
|
|
83
73
|
mime: Schema.String
|
|
84
74
|
}).annotate({ identifier: "FileSystem.Content" });
|
|
85
|
-
var ListInput3 = Schema.Struct({
|
|
86
|
-
path: Schema.String.pipe(Schema.optional)
|
|
87
|
-
});
|
|
88
75
|
var DEFAULT_SEARCH_LIMIT2 = 100;
|
|
89
76
|
var DEFAULT_SEARCH_TIMEOUT_MS2 = 30000;
|
|
90
77
|
|
|
@@ -107,12 +94,12 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
107
94
|
}
|
|
108
95
|
var Event8 = FileSystem.Event;
|
|
109
96
|
|
|
110
|
-
class
|
|
97
|
+
class Service56 extends Context.Service()("@opencode/FileSystem") {
|
|
111
98
|
}
|
|
112
|
-
var baseLayer = Layer.effect(
|
|
99
|
+
var baseLayer = Layer.effect(Service56, Effect.gen(function* () {
|
|
113
100
|
const fs = yield* FSUtil.Service;
|
|
114
|
-
const location = yield*
|
|
115
|
-
const search = yield*
|
|
101
|
+
const location = yield* Service78;
|
|
102
|
+
const search = yield* Service57;
|
|
116
103
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
|
|
117
104
|
if (cause.reason._tag === "NotFound")
|
|
118
105
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -122,22 +109,22 @@ var baseLayer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
122
109
|
}));
|
|
123
110
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
124
111
|
if (input.includes("\x00"))
|
|
125
|
-
return yield* Effect.fail(new
|
|
112
|
+
return yield* Effect.fail(new NotFoundError7({ path: input }));
|
|
126
113
|
const absolute = path.resolve(location.directory, input);
|
|
127
114
|
if (!FSUtil.contains(location.directory, absolute))
|
|
128
|
-
return yield* Effect.fail(new
|
|
129
|
-
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
115
|
+
return yield* Effect.fail(new NotFoundError7({ path: input }));
|
|
116
|
+
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError7({ path: input })), (_, error) => Effect.die(error)));
|
|
130
117
|
if (!FSUtil.contains(root, real))
|
|
131
|
-
return yield* Effect.fail(new
|
|
118
|
+
return yield* Effect.fail(new NotFoundError7({ path: input }));
|
|
132
119
|
return { absolute, real, directory: location.directory };
|
|
133
120
|
});
|
|
134
|
-
return
|
|
121
|
+
return Service56.of({
|
|
135
122
|
find: search.find,
|
|
136
123
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
137
124
|
const target = yield* resolve(input.path);
|
|
138
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
125
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError7({ path: input.path })), (_, error) => Effect.die(error)));
|
|
139
126
|
if (info.type !== "File")
|
|
140
|
-
return yield* Effect.fail(new
|
|
127
|
+
return yield* Effect.fail(new NotFoundError7({ path: input.path }));
|
|
141
128
|
return {
|
|
142
129
|
mime: FSUtil.mimeType(target.real),
|
|
143
130
|
size: Number(info.size),
|
|
@@ -147,7 +134,7 @@ var baseLayer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
147
134
|
}),
|
|
148
135
|
list: Effect.fn("FileSystem.list")(function* (input = {}) {
|
|
149
136
|
const directory = path.resolve(location.directory, input.path ?? ".");
|
|
150
|
-
const missing = new
|
|
137
|
+
const missing = new NotFoundError7({ path: RelativePath2.make(input.path ?? ".") });
|
|
151
138
|
const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
|
|
152
139
|
if (info.type !== "Directory")
|
|
153
140
|
return yield* missing;
|
|
@@ -171,10 +158,10 @@ var baseLayer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
171
158
|
})
|
|
172
159
|
});
|
|
173
160
|
}));
|
|
174
|
-
var
|
|
175
|
-
service:
|
|
161
|
+
var node58 = makeLocationNode({
|
|
162
|
+
service: Service56,
|
|
176
163
|
layer: baseLayer,
|
|
177
|
-
deps: [FSUtil.node,
|
|
164
|
+
deps: [FSUtil.node, node82, node59]
|
|
178
165
|
});
|
|
179
166
|
|
|
180
|
-
export { FindInput2, Write2,
|
|
167
|
+
export { FindInput2, Write2, NotFoundError7, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event8, Service56, node58, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service86,
|
|
3
|
+
node90
|
|
4
|
+
} from "./ripgrep-rb2qm7yc.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service85,
|
|
7
|
+
node89
|
|
8
|
+
} from "./ripgrep-cdd3neqk.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service50,
|
|
11
|
+
node52
|
|
12
|
+
} from "./ripgrep-tc46500c.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service44,
|
|
15
|
+
node46
|
|
16
|
+
} from "./ripgrep-51f5btjf.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./ripgrep-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make17
|
|
22
|
+
} from "./ripgrep-5g57z1ma.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service41
|
|
26
|
+
} from "./ripgrep-zcrspsvn.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service74,
|
|
29
|
+
node78
|
|
30
|
+
} from "./ripgrep-2awrrk9p.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./ripgrep-mah98xap.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./ripgrep-zh0x9fg3.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service40,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
layer: () => layer17,
|
|
47
|
+
node: () => node43,
|
|
48
48
|
noopLayer: () => noopLayer2,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service40 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,12 +59,12 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
65
|
-
const bus = yield*
|
|
66
|
-
const jobs = yield*
|
|
67
|
-
const db = (yield*
|
|
62
|
+
var layer17 = Layer.effect(Service40, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service74;
|
|
64
|
+
const instances = yield* Service44;
|
|
65
|
+
const bus = yield* Service85;
|
|
66
|
+
const jobs = yield* Service50;
|
|
67
|
+
const db = (yield* Service86).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
70
70
|
commit: () => store.claim(sessionID)
|
|
@@ -76,14 +76,14 @@ var layer23 = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service41.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
83
83
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
84
84
|
});
|
|
85
85
|
});
|
|
86
|
-
const coordinator = yield*
|
|
86
|
+
const coordinator = yield* make17({
|
|
87
87
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
88
88
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
89
89
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -104,7 +104,7 @@ var layer23 = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service40.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer23 = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [
|
|
126
|
+
var node43 = makeGlobalNode({
|
|
127
|
+
service: Service40,
|
|
128
|
+
layer: layer17,
|
|
129
|
+
deps: [node78, node46, node89, node90, node52]
|
|
130
130
|
});
|
|
131
|
-
var noopLayer2 = Layer.succeed(
|
|
131
|
+
var noopLayer2 = Layer.succeed(Service40, Service40.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer2 = Layer.succeed(Service56, Service56.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service40, terminal2, layer17, node43, noopLayer2, exports_execution };
|
|
@@ -1,37 +1,37 @@
|
|
|
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
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service58
|
|
9
|
+
} from "./ripgrep-d39q5djw.js";
|
|
10
10
|
import {
|
|
11
11
|
Service21
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-tppgbmaa.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin40
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin40 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service58;
|
|
34
|
+
const location = yield* Service78;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
36
|
const worktrees = yield* Service21;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
@@ -48,4 +48,4 @@ var Plugin31 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin40, exports_worktree };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./ripgrep-cdd3neqk.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-gqtdsdt7.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
13
|
+
ID7,
|
|
14
|
+
Service65,
|
|
15
|
+
node68,
|
|
16
|
+
Event13
|
|
17
|
+
} from "./ripgrep-qkhw7n0g.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service78,
|
|
20
|
+
node82
|
|
21
|
+
} from "./ripgrep-3n7ky5ef.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -39,13 +39,13 @@ __export(exports_provider3, {
|
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
40
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
41
41
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
42
|
-
Event: () =>
|
|
43
|
-
ID: () =>
|
|
44
|
-
Info: () =>
|
|
42
|
+
Event: () => Event12,
|
|
43
|
+
ID: () => ID6,
|
|
44
|
+
Info: () => Info17,
|
|
45
45
|
LoadError: () => LoadError3,
|
|
46
46
|
Provider: () => exports_provider3,
|
|
47
47
|
Request: () => Request2,
|
|
48
|
-
Service: () =>
|
|
48
|
+
Service: () => Service64,
|
|
49
49
|
Settings: () => Settings2,
|
|
50
50
|
Transport: () => Transport2,
|
|
51
51
|
aisdk: () => aisdk2,
|
|
@@ -57,7 +57,7 @@ __export(exports_provider3, {
|
|
|
57
57
|
mergeOverlay: () => mergeOverlay2,
|
|
58
58
|
modelSettings: () => modelSettings2,
|
|
59
59
|
nativeSettings: () => nativeSettings2,
|
|
60
|
-
node: () =>
|
|
60
|
+
node: () => node67,
|
|
61
61
|
packageName: () => packageName2,
|
|
62
62
|
timeout: () => timeout2,
|
|
63
63
|
timeouts: () => timeouts2
|
|
@@ -71,8 +71,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
71
71
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
72
72
|
import { Credential } from "@opencode/schema/credential";
|
|
73
73
|
import { freeze } from "immer";
|
|
74
|
-
import { Event as
|
|
75
|
-
var
|
|
74
|
+
import { Event as Event12 } from "@opencode/schema/provider";
|
|
75
|
+
var ID6 = Provider.ID;
|
|
76
76
|
var AISDK_PREFIX2 = "aisdk:";
|
|
77
77
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
78
78
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -283,9 +283,9 @@ var Request2 = Provider.Request;
|
|
|
283
283
|
var Compaction3 = Provider.Compaction;
|
|
284
284
|
var Transport2 = Provider.Transport;
|
|
285
285
|
var Settings2 = Provider.Settings;
|
|
286
|
-
var
|
|
286
|
+
var Info17 = Provider.Info;
|
|
287
287
|
|
|
288
|
-
class
|
|
288
|
+
class Service64 extends Context.Service()("@opencode/Provider") {
|
|
289
289
|
}
|
|
290
290
|
var definitions = new WeakMap;
|
|
291
291
|
function index(providerID, models) {
|
|
@@ -298,10 +298,10 @@ function index(providerID, models) {
|
|
|
298
298
|
definitions.set(models, indexes);
|
|
299
299
|
return result;
|
|
300
300
|
}
|
|
301
|
-
var layer = Layer.effect(
|
|
302
|
-
const bus = yield*
|
|
303
|
-
const integrations = yield*
|
|
304
|
-
const location = yield*
|
|
301
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
302
|
+
const bus = yield* Service85;
|
|
303
|
+
const integrations = yield* Service65;
|
|
304
|
+
const location = yield* Service78;
|
|
305
305
|
const state = create3({
|
|
306
306
|
name: "provider",
|
|
307
307
|
initial: () => new Map,
|
|
@@ -312,7 +312,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
312
312
|
const current = records.get(id);
|
|
313
313
|
if (current)
|
|
314
314
|
return current;
|
|
315
|
-
const added = { provider:
|
|
315
|
+
const added = { provider: Info17.empty(id), models: new Map };
|
|
316
316
|
records.set(id, added);
|
|
317
317
|
maps.add(added.models);
|
|
318
318
|
return added;
|
|
@@ -393,7 +393,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
393
393
|
const available = Array.from(records.values()).filter((record) => {
|
|
394
394
|
if (record.provider.activation === "disabled")
|
|
395
395
|
return false;
|
|
396
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
396
|
+
const integration = byID.get(record.provider.integrationID ?? ID7.make(record.provider.id));
|
|
397
397
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
398
398
|
return false;
|
|
399
399
|
if (record.provider.activation === "enabled")
|
|
@@ -419,8 +419,8 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
419
419
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
420
420
|
});
|
|
421
421
|
});
|
|
422
|
-
yield* bus.subscribe([
|
|
423
|
-
return
|
|
422
|
+
yield* bus.subscribe([Event13.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
423
|
+
return Service64.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -429,7 +429,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
429
429
|
snapshot
|
|
430
430
|
});
|
|
431
431
|
}));
|
|
432
|
-
var
|
|
432
|
+
var node67 = makeLocationNode({ service: Service64, layer, deps: [node89, node68, node82] });
|
|
433
433
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
434
434
|
const module = yield* Effect.tryPromise({
|
|
435
435
|
try: () => {
|
|
@@ -699,4 +699,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
699
699
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
700
700
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
701
701
|
|
|
702
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
702
|
+
export { rewrite2, native2, exports_aisdk_native, ID6, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request2, Compaction3, Transport2, Settings2, Info17, Service64, node67, exports_provider3, Event12 };
|