@opencode/core 2.1.0 → 2.1.2
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{shell-6eey2wfv.js → repository-cache-068g2d37.js} +34 -34
- package/dist/chunks/{shell-wjjv5c56.js → repository-cache-07rqgew6.js} +9 -9
- package/dist/chunks/{shell-vk2t4k53.js → repository-cache-09390rf8.js} +14 -14
- package/dist/chunks/{shell-zjtrsxny.js → repository-cache-0cg871e2.js} +5 -5
- package/dist/chunks/{shell-8bee7htz.js → repository-cache-0cwe34aq.js} +24 -24
- package/dist/chunks/{shell-tx0gtb9m.js → repository-cache-0javqkgf.js} +9 -9
- package/dist/chunks/{shell-y0st3mmr.js → repository-cache-0nz7j1v1.js} +2 -2
- package/dist/chunks/{shell-0vbcp93d.js → repository-cache-0vbcp93d.js} +2 -2
- package/dist/chunks/{shell-4b0g6gv7.js → repository-cache-136rxf1v.js} +19 -19
- package/dist/chunks/{shell-r5ndtmnm.js → repository-cache-14z3krkx.js} +1 -1
- package/dist/chunks/{shell-nb27xjmq.js → repository-cache-1bsm6gb2.js} +18 -18
- package/dist/chunks/{shell-3zqqw7j0.js → repository-cache-1g044nmy.js} +8 -8
- package/dist/chunks/{shell-5xghjtfa.js → repository-cache-1hyfwtsr.js} +32 -32
- package/dist/chunks/{shell-9vyc8vj1.js → repository-cache-1rf4yw31.js} +4 -4
- package/dist/chunks/{shell-dajdhw2j.js → repository-cache-1rj8m5vq.js} +7 -7
- package/dist/chunks/{shell-awefsnnk.js → repository-cache-1sj4xbsw.js} +4 -4
- package/dist/chunks/{shell-gmbs0yfc.js → repository-cache-1ycwwje8.js} +44 -44
- package/dist/chunks/{shell-jgp4qpwz.js → repository-cache-2296e4cw.js} +18 -18
- package/dist/chunks/{shell-kg4680zm.js → repository-cache-23fc6a7j.js} +13 -13
- package/dist/chunks/{shell-w921m42b.js → repository-cache-24ra19qx.js} +24 -24
- package/dist/chunks/{shell-hdgwvq1e.js → repository-cache-25m6jntb.js} +32 -32
- package/dist/chunks/{shell-fqtvmpfq.js → repository-cache-2eegacq4.js} +8 -8
- package/dist/chunks/{shell-envzrdm3.js → repository-cache-2ntc19nv.js} +42 -42
- package/dist/chunks/{shell-gt7zzye3.js → repository-cache-2r3bm1pf.js} +19 -19
- package/dist/chunks/{shell-fww2ha2b.js → repository-cache-3g642jy4.js} +10 -10
- package/dist/chunks/{shell-3hepkmqq.js → repository-cache-3hepkmqq.js} +1 -1
- package/dist/chunks/{shell-3hwn7j4h.js → repository-cache-3hwn7j4h.js} +2 -2
- package/dist/chunks/{shell-xv32mmfd.js → repository-cache-3ske6nsv.js} +21 -21
- package/dist/chunks/{shell-3smtnn6g.js → repository-cache-3smtnn6g.js} +1 -1
- package/dist/chunks/{shell-3tvqynh2.js → repository-cache-3tvqynh2.js} +1 -1
- package/dist/chunks/{shell-jaqs594m.js → repository-cache-3wvrfr7w.js} +20 -20
- package/dist/chunks/{shell-ey7dv0w4.js → repository-cache-3wxjf8vr.js} +9 -9
- package/dist/chunks/{shell-kfmczrqx.js → repository-cache-3xcrjpsd.js} +14 -14
- package/dist/chunks/{shell-3zsf4n22.js → repository-cache-3zsf4n22.js} +1 -1
- package/dist/chunks/{shell-2ndqr24s.js → repository-cache-41bqvch9.js} +23 -23
- package/dist/chunks/{shell-xg9m98z8.js → repository-cache-4evmdpem.js} +34 -34
- package/dist/chunks/{shell-ccbzs5ke.js → repository-cache-4m3ygwz0.js} +11 -11
- package/dist/chunks/{shell-ehbg6y37.js → repository-cache-4nxvs59q.js} +36 -36
- package/dist/chunks/{shell-6yz0wx8n.js → repository-cache-4xpgt2w9.js} +5 -5
- package/dist/chunks/{shell-zk3946p4.js → repository-cache-4xtxvh3c.js} +11 -11
- package/dist/chunks/{shell-54ma36ye.js → repository-cache-54ma36ye.js} +1 -1
- package/dist/chunks/{shell-dcspakzd.js → repository-cache-58a6xtee.js} +52 -52
- package/dist/chunks/{shell-cwa6csj7.js → repository-cache-5d607bsg.js} +9 -9
- package/dist/chunks/{shell-g6bqk7eb.js → repository-cache-5f1cq77a.js} +11 -11
- package/dist/chunks/{shell-f5852yed.js → repository-cache-5j9zz1y4.js} +5 -5
- package/dist/chunks/{shell-5m9w47nd.js → repository-cache-5m9w47nd.js} +1 -1
- package/dist/chunks/{shell-vm9wfeep.js → repository-cache-5mnspefx.js} +33 -33
- package/dist/chunks/{shell-a36y64am.js → repository-cache-5xn7qbr2.js} +18 -16
- package/dist/chunks/{shell-fmax1t4t.js → repository-cache-5xte2yyn.js} +21 -21
- package/dist/chunks/{shell-4nejsby7.js → repository-cache-60xtzwnm.js} +20 -20
- package/dist/chunks/{shell-2fxx0rz9.js → repository-cache-63jfzrme.js} +16 -16
- package/dist/chunks/{shell-6827pfxn.js → repository-cache-6827pfxn.js} +1 -1
- package/dist/chunks/{shell-0ztvstyz.js → repository-cache-6b2stqvb.js} +7 -7
- package/dist/chunks/{shell-tpw6cwsb.js → repository-cache-6f890ccd.js} +8 -8
- package/dist/chunks/{shell-c7fvvtsq.js → repository-cache-6khagj97.js} +21 -21
- package/dist/chunks/{shell-wx13yw6b.js → repository-cache-6nhfh867.js} +11 -11
- package/dist/chunks/{shell-8sze2n9a.js → repository-cache-6pc27hjz.js} +2 -2
- package/dist/chunks/{shell-ztk94t9n.js → repository-cache-6qprtkrf.js} +19 -19
- package/dist/chunks/{shell-70y17xeh.js → repository-cache-6vq97qmv.js} +5 -5
- package/dist/chunks/{shell-6xb47vfp.js → repository-cache-6xb47vfp.js} +1 -1
- package/dist/chunks/{shell-wqfheh0m.js → repository-cache-6yftxg5c.js} +20 -20
- package/dist/chunks/{shell-775gj3j1.js → repository-cache-775gj3j1.js} +2 -2
- package/dist/chunks/{shell-ypxp1xp8.js → repository-cache-78c4e6ad.js} +19 -19
- package/dist/chunks/{shell-6rx6hnnq.js → repository-cache-7b2pfqtj.js} +5 -5
- package/dist/chunks/{shell-7bmhse3q.js → repository-cache-7bmhse3q.js} +1 -1
- package/dist/chunks/{shell-8dfnjpdr.js → repository-cache-84cpmds6.js} +24 -24
- package/dist/chunks/{shell-84txncab.js → repository-cache-84txncab.js} +1 -1
- package/dist/chunks/{shell-8m6m0r52.js → repository-cache-8m6m0r52.js} +1 -1
- package/dist/chunks/{shell-8mywswrd.js → repository-cache-8mywswrd.js} +1 -1
- package/dist/chunks/{shell-bj7p7j85.js → repository-cache-8pvf9cdd.js} +17 -17
- package/dist/chunks/{shell-ahe504bx.js → repository-cache-8s3pces3.js} +16 -16
- package/dist/chunks/{shell-4d10bng8.js → repository-cache-8s4xtewj.js} +15 -15
- package/dist/chunks/{shell-ae0va0j1.js → repository-cache-8w6fvyhj.js} +5 -5
- package/dist/chunks/{shell-2qhkdr5r.js → repository-cache-8wmb0r1y.js} +6 -6
- package/dist/chunks/{shell-fypxcyz2.js → repository-cache-8xnvw0w1.js} +10 -10
- package/dist/chunks/{shell-9w64rzck.js → repository-cache-95hwhe14.js} +7 -7
- package/dist/chunks/{shell-03p3wnad.js → repository-cache-95t8ye7z.js} +46 -46
- package/dist/chunks/{shell-jp35yjqz.js → repository-cache-96dnwma2.js} +30 -30
- package/dist/chunks/{shell-9bh5q6pj.js → repository-cache-9bh5q6pj.js} +2 -2
- package/dist/chunks/{shell-sjtzq83v.js → repository-cache-9da6j7qw.js} +13 -13
- package/dist/chunks/{shell-8471hwdy.js → repository-cache-9f77xx3w.js} +12 -12
- package/dist/chunks/{shell-b674v2dg.js → repository-cache-9hwaqfsw.js} +5 -5
- package/dist/chunks/{shell-e3s3zy1r.js → repository-cache-9j0x65xk.js} +10 -10
- package/dist/chunks/{shell-tqr4vm00.js → repository-cache-9sr4q53q.js} +11 -11
- package/dist/chunks/{shell-7v6vae4w.js → repository-cache-a20pjse5.js} +3 -3
- package/dist/chunks/{shell-wmxpb99x.js → repository-cache-a9vzac7j.js} +6 -6
- package/dist/chunks/{shell-vywzj4qb.js → repository-cache-acd8cc5y.js} +15 -15
- package/dist/chunks/{shell-3y377wv9.js → repository-cache-addxnjmp.js} +4 -4
- package/dist/chunks/{shell-af8g5zb6.js → repository-cache-am5vmnvv.js} +18 -18
- package/dist/chunks/{shell-yzkfk5qj.js → repository-cache-amsnh37f.js} +9 -9
- package/dist/chunks/{shell-41gge36f.js → repository-cache-apagrtrt.js} +20 -20
- package/dist/chunks/{shell-kgcb372b.js → repository-cache-atj1s5r2.js} +16 -14
- package/dist/chunks/{shell-1ncsq4gc.js → repository-cache-aws4c0c0.js} +45 -45
- package/dist/chunks/{shell-04s17g1v.js → repository-cache-b0b3nmkz.js} +50 -50
- package/dist/chunks/{shell-baqyxak2.js → repository-cache-baqyxak2.js} +4 -4
- package/dist/chunks/{shell-v6abvp0h.js → repository-cache-be5vje8s.js} +15 -7
- package/dist/chunks/{shell-1pd15nec.js → repository-cache-befx3zey.js} +4 -4
- package/dist/chunks/{shell-0kt21gsk.js → repository-cache-begyvfqb.js} +19 -19
- package/dist/chunks/{shell-ajpgmfw4.js → repository-cache-bf876wkh.js} +17 -17
- package/dist/chunks/{shell-vdwzhxqd.js → repository-cache-bkafj4ay.js} +7 -7
- package/dist/chunks/{shell-x3p3s57s.js → repository-cache-bnqg0hxn.js} +3 -3
- package/dist/chunks/{shell-79zqvytx.js → repository-cache-br622wkd.js} +64 -64
- package/dist/chunks/{shell-hvp5ag27.js → repository-cache-btpxpz9q.js} +6 -6
- package/dist/chunks/{shell-a98yv52t.js → repository-cache-bzcwmnv3.js} +13 -13
- package/dist/chunks/{shell-1ep4rre3.js → repository-cache-bzeyqsqd.js} +4 -4
- package/dist/chunks/{shell-0ytk1mmd.js → repository-cache-c02r2nwt.js} +11 -11
- package/dist/chunks/{shell-c1fqxshp.js → repository-cache-c1fqxshp.js} +3 -3
- package/dist/chunks/{shell-wfztk8xg.js → repository-cache-cbfm0wb6.js} +8 -8
- package/dist/chunks/{shell-6f33sypz.js → repository-cache-cd8v38ms.js} +83 -83
- package/dist/chunks/{shell-603vct5e.js → repository-cache-cg5q9ras.js} +32 -32
- package/dist/chunks/{shell-3ys3ran9.js → repository-cache-cmkn1bh9.js} +19 -19
- package/dist/chunks/{shell-6559rxr6.js → repository-cache-ctxez2a7.js} +6 -6
- package/dist/chunks/{shell-ypg4226y.js → repository-cache-cz1210nh.js} +20 -15
- package/dist/chunks/{shell-f2mw6jyj.js → repository-cache-d04ep358.js} +11 -11
- package/dist/chunks/{shell-0dwthkwv.js → repository-cache-d72a72b9.js} +14 -14
- package/dist/chunks/{shell-jtjk5p9j.js → repository-cache-dcdf7gkr.js} +19 -19
- package/dist/chunks/{shell-qv079c4h.js → repository-cache-dh0nadn9.js} +37 -37
- package/dist/chunks/{shell-y71avatq.js → repository-cache-dpkg50ah.js} +4 -4
- package/dist/chunks/{shell-0rsgqgrk.js → repository-cache-dqr3pwk6.js} +15 -15
- package/dist/chunks/{shell-xfkkasph.js → repository-cache-drwq78ky.js} +4 -4
- package/dist/chunks/{shell-5tt655ph.js → repository-cache-dsx0mmc6.js} +28 -28
- package/dist/chunks/repository-cache-e5ybad6w.js +257 -0
- package/dist/chunks/{shell-eej6y6fw.js → repository-cache-eej6y6fw.js} +2 -2
- package/dist/chunks/{shell-ef5x83kb.js → repository-cache-ef5x83kb.js} +1 -1
- package/dist/chunks/{shell-xayeaa42.js → repository-cache-eg5kq0wk.js} +11 -11
- package/dist/chunks/{shell-5b64kxs9.js → repository-cache-ek8edefh.js} +1 -1
- package/dist/chunks/{shell-hzdxw2qq.js → repository-cache-ethnw1sn.js} +13 -13
- package/dist/chunks/{shell-41wjcvt0.js → repository-cache-ettmqyzq.js} +5 -5
- package/dist/chunks/{shell-387dpq4s.js → repository-cache-ey9nrxd1.js} +20 -20
- package/dist/chunks/{shell-fvgqktbw.js → repository-cache-ez5pkgh4.js} +25 -25
- package/dist/chunks/{shell-5v1f1gfq.js → repository-cache-ezx2brb0.js} +18 -18
- package/dist/chunks/{shell-kcz1zv3y.js → repository-cache-f31q5wm1.js} +14 -14
- package/dist/chunks/{shell-37kervd6.js → repository-cache-f8yphcvr.js} +17 -17
- package/dist/chunks/{shell-fcy631f0.js → repository-cache-fcy631f0.js} +1 -1
- package/dist/chunks/{shell-rxxx7r4k.js → repository-cache-fpen5yq5.js} +21 -21
- package/dist/chunks/{shell-fxaymqdw.js → repository-cache-fxaymqdw.js} +1 -1
- package/dist/chunks/{shell-wyepen03.js → repository-cache-g2qvt889.js} +13 -13
- package/dist/chunks/{shell-maneqgxr.js → repository-cache-g5ngm8f4.js} +25 -25
- package/dist/chunks/{shell-rnfredjj.js → repository-cache-g90zrjvy.js} +19 -19
- package/dist/chunks/{shell-gd4qta3r.js → repository-cache-gd4qta3r.js} +1 -1
- package/dist/chunks/{shell-kcrn19zp.js → repository-cache-gen6sgf1.js} +19 -19
- package/dist/chunks/{shell-9jvjhjkm.js → repository-cache-gm3f9v0x.js} +8 -8
- package/dist/chunks/{shell-adehtbxa.js → repository-cache-gng93yft.js} +3 -3
- package/dist/chunks/{shell-x95qaydz.js → repository-cache-gtdxectv.js} +23 -23
- package/dist/chunks/{shell-1cbagaqy.js → repository-cache-gxdr2vwe.js} +8 -8
- package/dist/chunks/{shell-k0ev5b6x.js → repository-cache-gye9bare.js} +5 -5
- package/dist/chunks/{shell-kxnmaf3s.js → repository-cache-h1g26er5.js} +20 -20
- package/dist/chunks/{shell-h6vf3j39.js → repository-cache-h6vf3j39.js} +1 -1
- package/dist/chunks/{shell-432psgyy.js → repository-cache-hbvyahhm.js} +17 -17
- package/dist/chunks/{shell-89e5dy4j.js → repository-cache-hehc42eq.js} +9 -9
- package/dist/chunks/{shell-hgz4x7wa.js → repository-cache-hgz4x7wa.js} +1 -1
- package/dist/chunks/{shell-htx26fav.js → repository-cache-hm1sg1ry.js} +39 -39
- package/dist/chunks/{shell-3atk1qyf.js → repository-cache-hnvjv21h.js} +38 -31
- package/dist/chunks/{shell-e738kmdw.js → repository-cache-hpfdwx7h.js} +6 -6
- package/dist/chunks/{shell-51ajtkpf.js → repository-cache-hspen3n6.js} +25 -25
- package/dist/chunks/{shell-depwzj9d.js → repository-cache-hwjyn0yt.js} +9 -9
- package/dist/chunks/{shell-y8cyz0t7.js → repository-cache-j2xqfvk3.js} +9 -9
- package/dist/chunks/{shell-jmxxwznn.js → repository-cache-jcwtgcwh.js} +4 -4
- package/dist/chunks/{shell-0x7kry74.js → repository-cache-k07nhkpw.js} +38 -38
- package/dist/chunks/{shell-n2qdned2.js → repository-cache-k1php5wk.js} +26 -26
- package/dist/chunks/{shell-16fye9k3.js → repository-cache-k20z56w2.js} +43 -43
- package/dist/chunks/{shell-0jkbja5p.js → repository-cache-k2vh0b3r.js} +27 -27
- package/dist/chunks/{shell-f6aytc7n.js → repository-cache-k4q5zqd4.js} +10 -10
- package/dist/chunks/{shell-k7myrtme.js → repository-cache-k7myrtme.js} +2 -2
- package/dist/chunks/{shell-pw4zabmd.js → repository-cache-k9tkpxn3.js} +178 -178
- package/dist/chunks/{shell-vdaaq34n.js → repository-cache-ka0kb0pp.js} +1 -1
- package/dist/chunks/{shell-cf6pg1xw.js → repository-cache-kdz0rk07.js} +5 -5
- package/dist/chunks/{shell-rw4jj2rk.js → repository-cache-ke7rr379.js} +28 -28
- package/dist/chunks/{shell-h055mtc6.js → repository-cache-kg7htk1j.js} +56 -32
- package/dist/chunks/{shell-m0r31qfn.js → repository-cache-kkp8zx71.js} +4 -4
- package/dist/chunks/{shell-75w6s6ma.js → repository-cache-kkq0x60e.js} +22 -22
- package/dist/chunks/{shell-kbxy4n3g.js → repository-cache-kp3dd9gy.js} +4 -4
- package/dist/chunks/{shell-6775gw9z.js → repository-cache-kvk0xsab.js} +8 -8
- package/dist/chunks/{shell-kwb1v3vj.js → repository-cache-kwb1v3vj.js} +1 -1
- package/dist/chunks/{shell-6c27xjax.js → repository-cache-m12bw8xw.js} +18 -18
- package/dist/chunks/{shell-m9w0rfyh.js → repository-cache-m9w0rfyh.js} +1 -1
- package/dist/chunks/{shell-maspj1v3.js → repository-cache-maspj1v3.js} +1 -1
- package/dist/chunks/{shell-jmb2cr8q.js → repository-cache-mjfbh2zj.js} +12 -12
- package/dist/chunks/{shell-g4qztyvf.js → repository-cache-mjxa0fkz.js} +21 -21
- package/dist/chunks/{shell-08sd8799.js → repository-cache-mk9tkz9j.js} +1 -1
- package/dist/chunks/{shell-srmwk7dt.js → repository-cache-mkqa88c4.js} +5 -5
- package/dist/chunks/{shell-8rnv749x.js → repository-cache-mq56jt1j.js} +22 -22
- package/dist/chunks/{shell-mqqhst8y.js → repository-cache-mqqhst8y.js} +1 -1
- package/dist/chunks/{shell-j9abz2tj.js → repository-cache-mr0cv7ny.js} +13 -13
- package/dist/chunks/{shell-h896pcm5.js → repository-cache-mx9vqzsb.js} +6 -6
- package/dist/chunks/{shell-kzy2940e.js → repository-cache-n196avmr.js} +34 -34
- package/dist/chunks/{shell-mwpm31k7.js → repository-cache-n99h6tw9.js} +33 -33
- package/dist/chunks/{shell-v715hp7c.js → repository-cache-nsxxvcpe.js} +13 -13
- package/dist/chunks/{shell-nz56sr1f.js → repository-cache-nz56sr1f.js} +2 -2
- package/dist/chunks/{shell-pjvnvgmy.js → repository-cache-pjvnvgmy.js} +1 -1
- package/dist/chunks/{shell-9vbreq9z.js → repository-cache-pk0dmpdf.js} +11 -11
- package/dist/chunks/{shell-pknna89w.js → repository-cache-pknna89w.js} +1 -1
- package/dist/chunks/{shell-j148atrz.js → repository-cache-psj2x98s.js} +5 -5
- package/dist/chunks/{shell-2g93jbb8.js → repository-cache-pzc1z4et.js} +43 -43
- package/dist/chunks/{shell-mhpexy54.js → repository-cache-qd284e96.js} +13 -13
- package/dist/chunks/{shell-pnzpyq4k.js → repository-cache-qd9a1hat.js} +84 -84
- package/dist/chunks/{shell-2k8khapm.js → repository-cache-qgn6gcr1.js} +5 -5
- package/dist/chunks/{shell-c1bdvjkd.js → repository-cache-qm621tfa.js} +30 -30
- package/dist/chunks/{shell-qnc92qwc.js → repository-cache-qnc92qwc.js} +1 -1
- package/dist/chunks/{shell-eeggec7k.js → repository-cache-qrtd1qkj.js} +11 -11
- package/dist/chunks/{shell-5jjsdkbk.js → repository-cache-qs0n9k2z.js} +17 -17
- package/dist/chunks/{shell-qsdy395h.js → repository-cache-qsdy395h.js} +1 -1
- package/dist/chunks/{shell-9d6xe95g.js → repository-cache-qy7ffa5a.js} +3 -3
- package/dist/chunks/{shell-q41jq0qr.js → repository-cache-qz7vxdk7.js} +4 -4
- package/dist/chunks/{shell-9jf0f2cs.js → repository-cache-rbyshrxq.js} +7 -7
- package/dist/chunks/{shell-rdw6cm16.js → repository-cache-rdw6cm16.js} +1 -1
- package/dist/chunks/{shell-rert0e01.js → repository-cache-rert0e01.js} +2 -2
- package/dist/chunks/{shell-rj3eygr5.js → repository-cache-rj3eygr5.js} +2 -2
- package/dist/chunks/{shell-pdf17x7p.js → repository-cache-rjzs5m1z.js} +14 -14
- package/dist/chunks/repository-cache-rvyd7pdz.js +517 -0
- package/dist/chunks/{shell-1j769d1c.js → repository-cache-rw0rmakh.js} +6 -6
- package/dist/chunks/{shell-8z3cvr3k.js → repository-cache-rx1rzkp9.js} +15 -15
- package/dist/chunks/{shell-027ww35v.js → repository-cache-s1aqfa5x.js} +42 -42
- package/dist/chunks/repository-cache-s2jpy0bd.js +26 -0
- package/dist/chunks/{shell-hj7zb2g9.js → repository-cache-s3ertt83.js} +18 -18
- package/dist/chunks/{shell-sh0qrkbh.js → repository-cache-s7ggtf3y.js} +16 -16
- package/dist/chunks/{shell-s8d7rejh.js → repository-cache-s8d7rejh.js} +1 -1
- package/dist/chunks/{shell-sa8ekw3f.js → repository-cache-sa8ekw3f.js} +2 -2
- package/dist/chunks/{shell-17drjap0.js → repository-cache-se9m0ate.js} +32 -32
- package/dist/chunks/{shell-tb1cafh6.js → repository-cache-sfjrjc0q.js} +4 -4
- package/dist/chunks/{shell-ffxxyzcb.js → repository-cache-sfy3bb98.js} +9 -9
- package/dist/chunks/{shell-yn5t1h2v.js → repository-cache-sq37fes3.js} +10 -10
- package/dist/chunks/{shell-r2z489rp.js → repository-cache-sxcaecc0.js} +3 -3
- package/dist/chunks/{shell-syv4x271.js → repository-cache-syv4x271.js} +1 -1
- package/dist/chunks/{shell-2sq5abjd.js → repository-cache-t1r0yajc.js} +3 -3
- package/dist/chunks/{shell-0x5xc4da.js → repository-cache-t720n0zt.js} +33 -33
- package/dist/chunks/{shell-jn0tk1mz.js → repository-cache-t89fqycx.js} +8 -8
- package/dist/chunks/{shell-50d2yybn.js → repository-cache-t8z4ntba.js} +28 -28
- package/dist/chunks/{shell-xwkencv2.js → repository-cache-t95zrypp.js} +12 -12
- package/dist/chunks/{shell-tazgh4e4.js → repository-cache-tazgh4e4.js} +1 -1
- package/dist/chunks/{shell-89znhe33.js → repository-cache-tcezcvh9.js} +4 -4
- package/dist/chunks/{shell-6srycd3a.js → repository-cache-tcxc2yk9.js} +13 -13
- package/dist/chunks/{shell-tdstcens.js → repository-cache-tdstcens.js} +1 -1
- package/dist/chunks/{shell-fbxzvvsv.js → repository-cache-tkt1yh5w.js} +11 -11
- package/dist/chunks/{shell-tm0kqsz3.js → repository-cache-tm0kqsz3.js} +1 -1
- package/dist/chunks/{shell-tt8gc4fv.js → repository-cache-tt8gc4fv.js} +3 -3
- package/dist/chunks/{shell-pg6gmj9m.js → repository-cache-twwrpnjg.js} +14 -14
- package/dist/chunks/{shell-tyytaxap.js → repository-cache-tyytaxap.js} +1 -1
- package/dist/chunks/{shell-phz50fbd.js → repository-cache-v1vh7s4p.js} +9 -9
- package/dist/chunks/{shell-6hh8tjw2.js → repository-cache-v5dkyp31.js} +4 -4
- package/dist/chunks/{shell-v7p4zvkq.js → repository-cache-v7p4zvkq.js} +2 -2
- package/dist/chunks/{shell-p20se939.js → repository-cache-vbj53afp.js} +8 -8
- package/dist/chunks/{shell-1acjjqhc.js → repository-cache-vep9yay1.js} +5 -15
- package/dist/chunks/{shell-veqvce7d.js → repository-cache-veqvce7d.js} +1 -1
- package/dist/chunks/repository-cache-vnkjks7b.js +18 -0
- package/dist/chunks/{shell-hdn28k8z.js → repository-cache-vs7zhs8r.js} +13 -13
- package/dist/chunks/{shell-s389npg2.js → repository-cache-vsa820f9.js} +42 -42
- package/dist/chunks/{shell-h0bzvw2w.js → repository-cache-vzjp43bk.js} +2 -2
- package/dist/chunks/{shell-vzs5sf6e.js → repository-cache-vzs5sf6e.js} +1 -1
- package/dist/chunks/{shell-02vamycj.js → repository-cache-w0cy9m9e.js} +8 -8
- package/dist/chunks/{shell-w3wsvvr9.js → repository-cache-w3wsvvr9.js} +1 -1
- package/dist/chunks/{shell-9zv65pgs.js → repository-cache-w7fj1zb2.js} +17 -17
- package/dist/chunks/{shell-v1bmpj3w.js → repository-cache-w94dkyq7.js} +27 -27
- package/dist/chunks/{shell-wd87259q.js → repository-cache-wd87259q.js} +1 -1
- package/dist/chunks/{shell-wrmbd4ct.js → repository-cache-wrmbd4ct.js} +3 -3
- package/dist/chunks/{shell-k51kf5tx.js → repository-cache-wwh9ddtq.js} +6 -6
- package/dist/chunks/{shell-0w62qmxp.js → repository-cache-wwkjqs8e.js} +6 -6
- package/dist/chunks/{shell-qajney5x.js → repository-cache-x1jjhmsh.js} +14 -14
- package/dist/chunks/{shell-asecphd2.js → repository-cache-x41h92ne.js} +15 -15
- package/dist/chunks/{shell-xr38e3s7.js → repository-cache-x51ersaw.js} +17 -17
- package/dist/chunks/{shell-xkmpyy1n.js → repository-cache-x98xddc7.js} +9 -9
- package/dist/chunks/{shell-7wdpyrwx.js → repository-cache-xh38a0x5.js} +5 -5
- package/dist/chunks/{shell-6p4g3g3k.js → repository-cache-xhbe8e91.js} +21 -21
- package/dist/chunks/{shell-7vj6fy4k.js → repository-cache-xwgk07kc.js} +29 -29
- package/dist/chunks/{shell-y1fvbwt7.js → repository-cache-y1fvbwt7.js} +1 -1
- package/dist/chunks/{shell-dpkssma6.js → repository-cache-y1yvzwwp.js} +14 -14
- package/dist/chunks/{shell-9hm03b9h.js → repository-cache-y642zbcz.js} +13 -13
- package/dist/chunks/{shell-zc34mber.js → repository-cache-ys3h2zrn.js} +42 -42
- package/dist/chunks/{shell-1ffvrpkg.js → repository-cache-ywt8jp22.js} +6 -6
- package/dist/chunks/{shell-z0bkrqjs.js → repository-cache-z0bkrqjs.js} +1 -1
- package/dist/chunks/{shell-2exgm5zs.js → repository-cache-z0mn1t4q.js} +45 -45
- package/dist/chunks/{shell-z18fegx4.js → repository-cache-z18fegx4.js} +1 -1
- package/dist/chunks/{shell-trg827xp.js → repository-cache-z1fx9rk1.js} +4 -4
- package/dist/chunks/{shell-6hj3adh9.js → repository-cache-za7dxrd4.js} +15 -15
- package/dist/chunks/{shell-jfh8dh4w.js → repository-cache-zj2b8f8d.js} +26 -26
- package/dist/chunks/{shell-zr2ceqn5.js → repository-cache-zr2ceqn5.js} +1 -1
- package/dist/chunks/{shell-zav06jzw.js → repository-cache-zvt5dnpc.js} +4 -4
- package/dist/chunks/{shell-zxq2ej10.js → repository-cache-zxq2ej10.js} +1 -1
- package/dist/chunks/{shell-qhat5nnc.js → repository-cache-zzv2xjb0.js} +33 -33
- 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 +79 -79
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +208 -208
- 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 +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- 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 +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +365 -365
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- 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 +219 -219
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +108 -108
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +106 -106
- 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 +101 -101
- 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 +2 -2
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +82 -82
- 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 +91 -91
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +175 -148
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +358 -358
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +129 -129
- 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 +101 -101
- package/dist/model-resolver.js +98 -98
- 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 +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- 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 +114 -114
- 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 +123 -123
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- 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 +168 -168
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- 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 +5 -5
- 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 +221 -221
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +103 -103
- 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 +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +84 -84
- 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 +138 -138
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +157 -157
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +93 -93
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- 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 +131 -131
- 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 +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +164 -164
- 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 +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +208 -208
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +5 -5
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- 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 +127 -127
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/types/job.d.ts +1 -0
- package/dist/types/location-activity.d.ts +2 -1
- package/dist/types/session/error.d.ts +1 -0
- package/dist/types/session/execution.d.ts +2 -5
- package/dist/types/session/history.d.ts +10 -0
- package/dist/types/session/run-coordinator.d.ts +2 -5
- package/dist/types/session/transfer.d.ts +10 -2
- package/dist/types/worktree/git.d.ts +3 -3
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +1 -1
- 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 +86 -86
- 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 +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/shell-9t7nqqf0.js +0 -26
- package/dist/chunks/shell-dxj72tfx.js +0 -18
- package/dist/chunks/shell-eyv86r6e.js +0 -257
- package/dist/chunks/shell-w2swb6sv.js +0 -517
- /package/dist/chunks/{shell-0qkdqm5v.js → repository-cache-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{shell-0zkw76rk.js → repository-cache-0zkw76rk.js} +0 -0
- /package/dist/chunks/{shell-17cy0kzp.js → repository-cache-17cy0kzp.js} +0 -0
- /package/dist/chunks/{shell-1cnp2v09.js → repository-cache-1cnp2v09.js} +0 -0
- /package/dist/chunks/{shell-1kg9ymc8.js → repository-cache-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{shell-24dcb14g.js → repository-cache-24dcb14g.js} +0 -0
- /package/dist/chunks/{shell-2710q6r3.js → repository-cache-2710q6r3.js} +0 -0
- /package/dist/chunks/{shell-2axfhc9x.js → repository-cache-2axfhc9x.js} +0 -0
- /package/dist/chunks/{shell-2bv980vf.js → repository-cache-2bv980vf.js} +0 -0
- /package/dist/chunks/{shell-2c3vjs8z.js → repository-cache-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{shell-359p4xyc.js → repository-cache-359p4xyc.js} +0 -0
- /package/dist/chunks/{shell-3asan66x.js → repository-cache-3asan66x.js} +0 -0
- /package/dist/chunks/{shell-3t0ybcrp.js → repository-cache-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{shell-3v8g72cx.js → repository-cache-3v8g72cx.js} +0 -0
- /package/dist/chunks/{shell-3wcehsnq.js → repository-cache-3wcehsnq.js} +0 -0
- /package/dist/chunks/{shell-43n2bw4t.js → repository-cache-43n2bw4t.js} +0 -0
- /package/dist/chunks/{shell-4knz6hnm.js → repository-cache-4knz6hnm.js} +0 -0
- /package/dist/chunks/{shell-4vcrnpx2.js → repository-cache-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{shell-4y7fprxs.js → repository-cache-4y7fprxs.js} +0 -0
- /package/dist/chunks/{shell-53557ph1.js → repository-cache-53557ph1.js} +0 -0
- /package/dist/chunks/{shell-550bvhaj.js → repository-cache-550bvhaj.js} +0 -0
- /package/dist/chunks/{shell-5qd3pb7m.js → repository-cache-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{shell-6prwharc.js → repository-cache-6prwharc.js} +0 -0
- /package/dist/chunks/{shell-6q2bdcd1.js → repository-cache-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{shell-7akdwqpd.js → repository-cache-7akdwqpd.js} +0 -0
- /package/dist/chunks/{shell-7m9af43g.js → repository-cache-7m9af43g.js} +0 -0
- /package/dist/chunks/{shell-822emrt2.js → repository-cache-822emrt2.js} +0 -0
- /package/dist/chunks/{shell-84wd9syh.js → repository-cache-84wd9syh.js} +0 -0
- /package/dist/chunks/{shell-88xbtdfr.js → repository-cache-88xbtdfr.js} +0 -0
- /package/dist/chunks/{shell-8n3pysct.js → repository-cache-8n3pysct.js} +0 -0
- /package/dist/chunks/{shell-8wj87zfr.js → repository-cache-8wj87zfr.js} +0 -0
- /package/dist/chunks/{shell-9a4afbnw.js → repository-cache-9a4afbnw.js} +0 -0
- /package/dist/chunks/{shell-9rqn6x4v.js → repository-cache-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{shell-a6k6eb26.js → repository-cache-a6k6eb26.js} +0 -0
- /package/dist/chunks/{shell-af5trqkr.js → repository-cache-af5trqkr.js} +0 -0
- /package/dist/chunks/{shell-afrmfg78.js → repository-cache-afrmfg78.js} +0 -0
- /package/dist/chunks/{shell-aqzs7mqg.js → repository-cache-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{shell-atq7p7m5.js → repository-cache-atq7p7m5.js} +0 -0
- /package/dist/chunks/{shell-axe3mf62.js → repository-cache-axe3mf62.js} +0 -0
- /package/dist/chunks/{shell-bkyjaxrp.js → repository-cache-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{shell-bmr6ed5q.js → repository-cache-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{shell-cf4snx6d.js → repository-cache-cf4snx6d.js} +0 -0
- /package/dist/chunks/{shell-cvy3z8tj.js → repository-cache-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{shell-d9fn303g.js → repository-cache-d9fn303g.js} +0 -0
- /package/dist/chunks/{shell-d9jj8t3e.js → repository-cache-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{shell-dajrwvna.js → repository-cache-dajrwvna.js} +0 -0
- /package/dist/chunks/{shell-dap0rakb.js → repository-cache-dap0rakb.js} +0 -0
- /package/dist/chunks/{shell-df08tz66.js → repository-cache-df08tz66.js} +0 -0
- /package/dist/chunks/{shell-dy18nga0.js → repository-cache-dy18nga0.js} +0 -0
- /package/dist/chunks/{shell-e5kj55wp.js → repository-cache-e5kj55wp.js} +0 -0
- /package/dist/chunks/{shell-e73j6tqm.js → repository-cache-e73j6tqm.js} +0 -0
- /package/dist/chunks/{shell-ec1grn59.js → repository-cache-ec1grn59.js} +0 -0
- /package/dist/chunks/{shell-eh3zwz77.js → repository-cache-eh3zwz77.js} +0 -0
- /package/dist/chunks/{shell-emrn6kk6.js → repository-cache-emrn6kk6.js} +0 -0
- /package/dist/chunks/{shell-f0mxakyp.js → repository-cache-f0mxakyp.js} +0 -0
- /package/dist/chunks/{shell-f6n9ztr4.js → repository-cache-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{shell-faypxj3z.js → repository-cache-faypxj3z.js} +0 -0
- /package/dist/chunks/{shell-fd410y7t.js → repository-cache-fd410y7t.js} +0 -0
- /package/dist/chunks/{shell-g4wezp1m.js → repository-cache-g4wezp1m.js} +0 -0
- /package/dist/chunks/{shell-g86h250q.js → repository-cache-g86h250q.js} +0 -0
- /package/dist/chunks/{shell-gebd4c9n.js → repository-cache-gebd4c9n.js} +0 -0
- /package/dist/chunks/{shell-gftt206x.js → repository-cache-gftt206x.js} +0 -0
- /package/dist/chunks/{shell-hcxmzztb.js → repository-cache-hcxmzztb.js} +0 -0
- /package/dist/chunks/{shell-hk9envan.js → repository-cache-hk9envan.js} +0 -0
- /package/dist/chunks/{shell-j2ntwpah.js → repository-cache-j2ntwpah.js} +0 -0
- /package/dist/chunks/{shell-j5zkgpj8.js → repository-cache-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{shell-jjkms2e6.js → repository-cache-jjkms2e6.js} +0 -0
- /package/dist/chunks/{shell-jr7sbwjy.js → repository-cache-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{shell-jwfs4k6c.js → repository-cache-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{shell-jze0r7bz.js → repository-cache-jze0r7bz.js} +0 -0
- /package/dist/chunks/{shell-jzg6c2d5.js → repository-cache-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{shell-m18g726c.js → repository-cache-m18g726c.js} +0 -0
- /package/dist/chunks/{shell-mp448xyj.js → repository-cache-mp448xyj.js} +0 -0
- /package/dist/chunks/{shell-msx8hqn2.js → repository-cache-msx8hqn2.js} +0 -0
- /package/dist/chunks/{shell-n05xt0ee.js → repository-cache-n05xt0ee.js} +0 -0
- /package/dist/chunks/{shell-n3j8tn72.js → repository-cache-n3j8tn72.js} +0 -0
- /package/dist/chunks/{shell-njntx4h6.js → repository-cache-njntx4h6.js} +0 -0
- /package/dist/chunks/{shell-pkyv6v7h.js → repository-cache-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{shell-pyv0edze.js → repository-cache-pyv0edze.js} +0 -0
- /package/dist/chunks/{shell-q3sfg36h.js → repository-cache-q3sfg36h.js} +0 -0
- /package/dist/chunks/{shell-q74kybfr.js → repository-cache-q74kybfr.js} +0 -0
- /package/dist/chunks/{shell-qaymkmh1.js → repository-cache-qaymkmh1.js} +0 -0
- /package/dist/chunks/{shell-qb87gjwd.js → repository-cache-qb87gjwd.js} +0 -0
- /package/dist/chunks/{shell-qfa1cgps.js → repository-cache-qfa1cgps.js} +0 -0
- /package/dist/chunks/{shell-qg3g05ea.js → repository-cache-qg3g05ea.js} +0 -0
- /package/dist/chunks/{shell-qrg20bc0.js → repository-cache-qrg20bc0.js} +0 -0
- /package/dist/chunks/{shell-rcb2kzg1.js → repository-cache-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{shell-sdp7kfr6.js → repository-cache-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{shell-ssg3fenm.js → repository-cache-ssg3fenm.js} +0 -0
- /package/dist/chunks/{shell-ve7vex1e.js → repository-cache-ve7vex1e.js} +0 -0
- /package/dist/chunks/{shell-w803qqfp.js → repository-cache-w803qqfp.js} +0 -0
- /package/dist/chunks/{shell-wc3fc9cn.js → repository-cache-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{shell-wer8tq1h.js → repository-cache-wer8tq1h.js} +0 -0
- /package/dist/chunks/{shell-wjj7prxr.js → repository-cache-wjj7prxr.js} +0 -0
- /package/dist/chunks/{shell-wtztk69x.js → repository-cache-wtztk69x.js} +0 -0
- /package/dist/chunks/{shell-x0ckcb58.js → repository-cache-x0ckcb58.js} +0 -0
- /package/dist/chunks/{shell-x61499pn.js → repository-cache-x61499pn.js} +0 -0
- /package/dist/chunks/{shell-y44na4kk.js → repository-cache-y44na4kk.js} +0 -0
- /package/dist/chunks/{shell-y8f7s663.js → repository-cache-y8f7s663.js} +0 -0
- /package/dist/chunks/{shell-ygaqb7jw.js → repository-cache-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{shell-ym463w8f.js → repository-cache-ym463w8f.js} +0 -0
- /package/dist/chunks/{shell-z5v4ffb3.js → repository-cache-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{shell-z9919s4g.js → repository-cache-z9919s4g.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-775gj3j1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID14,
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./repository-cache-t8z4ntba.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/voice.ts
|
|
14
14
|
var exports_voice = {};
|
|
15
15
|
__export(exports_voice, {
|
|
16
16
|
InvalidRequestError: () => InvalidRequestError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service59,
|
|
18
18
|
UnavailableError: () => UnavailableError4,
|
|
19
19
|
Voice: () => exports_voice,
|
|
20
|
-
layer: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
layer: () => layer25,
|
|
21
|
+
node: () => node62
|
|
22
22
|
});
|
|
23
23
|
import {
|
|
24
24
|
Realtime
|
|
@@ -37,16 +37,16 @@ class UnavailableError4 extends Schema.TaggedError()("Voice.UnavailableError", {
|
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service59 extends Context.Service()("@opencode/Voice") {
|
|
41
41
|
}
|
|
42
|
-
var
|
|
42
|
+
var layer25 = Layer.effect(Service59, Effect.gen(function* () {
|
|
43
43
|
const executor = yield* RequestExecutor.Service;
|
|
44
|
-
const integrations = yield*
|
|
44
|
+
const integrations = yield* Service79;
|
|
45
45
|
const session = Effect.fn("Voice.session")(function* (input) {
|
|
46
46
|
const engine = Realtime.engine(input.model);
|
|
47
47
|
if (!engine)
|
|
48
48
|
return yield* new InvalidRequestError2({ message: `Unsupported voice model: ${input.model}` });
|
|
49
|
-
const connection = (yield* integrations.get(
|
|
49
|
+
const connection = (yield* integrations.get(ID14.make(engine.provider)))?.connections.find((item) => item.type === "env" || item.method === "key");
|
|
50
50
|
const credential = connection ? yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError4({ service: engine.provider, message: error.message }))) : undefined;
|
|
51
51
|
if (credential?.type !== "key")
|
|
52
52
|
return yield* new UnavailableError4({
|
|
@@ -55,12 +55,12 @@ var layer27 = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
55
55
|
});
|
|
56
56
|
return yield* Realtime.connect({ ...input, apiKey: Redacted.make(credential.key) }).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError4({ message: error.message, service: engine.provider })));
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service59.of({ session });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
62
|
-
layer:
|
|
63
|
-
deps: [
|
|
60
|
+
var node62 = makeLocationNode({
|
|
61
|
+
service: Service59,
|
|
62
|
+
layer: layer25,
|
|
63
|
+
deps: [node83, requestExecutor2]
|
|
64
64
|
});
|
|
65
65
|
var missingKeyMessage = {
|
|
66
66
|
openai: "Voice needs an OpenAI API key on the server (a stored key or OPENAI_API_KEY). ChatGPT sign-in can't start voice sessions.",
|
|
@@ -68,4 +68,4 @@ var missingKeyMessage = {
|
|
|
68
68
|
google: "Voice needs a Google API key on the server (a stored key, GEMINI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, or GOOGLE_API_KEY)."
|
|
69
69
|
};
|
|
70
70
|
|
|
71
|
-
export { InvalidRequestError2, UnavailableError4,
|
|
71
|
+
export { InvalidRequestError2, UnavailableError4, Service59, layer25, node62, exports_voice };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-cache-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service52,
|
|
8
|
+
node54
|
|
9
|
+
} from "./repository-cache-24ra19qx.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-maspj1v3.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error3,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service39,
|
|
24
|
+
node: () => node42
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error3 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service39 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error3({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service52;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service39.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node42 = makeLocationNode({ service: Service39, layer, deps: [node54, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error3, InvalidPatternError2, Service39, node42, exports_ripgrep };
|
|
@@ -2,27 +2,27 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service29
|
|
6
|
+
} from "./repository-cache-1ycwwje8.js";
|
|
7
7
|
import {
|
|
8
8
|
Service73
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-2ntc19nv.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool/plugin/mcp-resource.ts
|
|
15
15
|
var exports_mcp_resource = {};
|
|
16
16
|
__export(exports_mcp_resource, {
|
|
17
17
|
McpResourceTools: () => exports_mcp_resource,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin33
|
|
19
19
|
});
|
|
20
20
|
import { ToolFailure } from "@opencode/ai";
|
|
21
21
|
import { Effect, Schema } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin33 = {
|
|
23
23
|
id: "opencode.tools.mcp-resources",
|
|
24
24
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
25
|
-
const mcp = yield*
|
|
25
|
+
const mcp = yield* Service29;
|
|
26
26
|
const permission = yield* Service73;
|
|
27
27
|
yield* ctx.tool.transform((editor) => {
|
|
28
28
|
editor.add({
|
|
@@ -93,4 +93,4 @@ var Plugin14 = {
|
|
|
93
93
|
})
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin33, exports_mcp_resource };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-z1fx9rk1.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-cache-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-cache-addxnjmp.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
13
|
+
ID14,
|
|
14
|
+
Service79,
|
|
15
|
+
node83,
|
|
16
|
+
Event18
|
|
17
|
+
} from "./repository-cache-t8z4ntba.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service81,
|
|
20
|
+
node85
|
|
21
|
+
} from "./repository-cache-8pvf9cdd.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-cache-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: () => Event17,
|
|
43
|
+
ID: () => ID13,
|
|
44
|
+
Info: () => Info22,
|
|
45
45
|
LoadError: () => LoadError3,
|
|
46
46
|
Provider: () => exports_provider3,
|
|
47
|
-
Request: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Request: () => Request3,
|
|
48
|
+
Service: () => Service78,
|
|
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: () => node82,
|
|
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 Event17 } from "@opencode/schema/provider";
|
|
75
|
+
var ID13 = 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}`;
|
|
@@ -279,13 +279,13 @@ function mergeHeaders2(base, overlay) {
|
|
|
279
279
|
return result;
|
|
280
280
|
}, new Map).values());
|
|
281
281
|
}
|
|
282
|
-
var
|
|
282
|
+
var Request3 = Provider.Request;
|
|
283
283
|
var Compaction3 = Provider.Compaction;
|
|
284
284
|
var Transport2 = Provider.Transport;
|
|
285
285
|
var Settings2 = Provider.Settings;
|
|
286
|
-
var
|
|
286
|
+
var Info22 = Provider.Info;
|
|
287
287
|
|
|
288
|
-
class
|
|
288
|
+
class Service78 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(
|
|
301
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
302
302
|
const bus = yield* Service85;
|
|
303
|
-
const integrations = yield*
|
|
304
|
-
const location = yield*
|
|
303
|
+
const integrations = yield* Service79;
|
|
304
|
+
const location = yield* Service81;
|
|
305
305
|
const state = create3({
|
|
306
306
|
name: "provider",
|
|
307
307
|
initial: () => new Map,
|
|
@@ -312,7 +312,7 @@ var layer = Layer.effect(Service64, 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: Info22.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(Service64, 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 ?? ID14.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(Service64, 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([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
423
|
+
return Service78.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(Service64, Effect.gen(function* () {
|
|
|
429
429
|
snapshot
|
|
430
430
|
});
|
|
431
431
|
}));
|
|
432
|
-
var
|
|
432
|
+
var node82 = makeLocationNode({ service: Service78, layer, deps: [node89, node83, node85] });
|
|
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, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info22, Service78, node82, exports_provider3, Event17 };
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
provider2,
|
|
3
3
|
model2,
|
|
4
4
|
compatibleModel2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-cache-tm0kqsz3.js";
|
|
6
6
|
import {
|
|
7
7
|
aisdk2,
|
|
8
8
|
packageName2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-1hyfwtsr.js";
|
|
10
10
|
import {
|
|
11
11
|
Capabilities2,
|
|
12
12
|
compatibility2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-cache-hnvjv21h.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/v1/config/migrate.ts
|
|
19
19
|
var exports_migrate = {};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
name16,
|
|
3
3
|
ps2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-kvk0xsab.js";
|
|
5
5
|
import {
|
|
6
6
|
lazy2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-cache-88xbtdfr.js";
|
|
8
8
|
import {
|
|
9
9
|
match2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-cache-y1fvbwt7.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/shell/parse.ts
|
|
16
16
|
var exports_parse = {};
|
|
17
17
|
__export(exports_parse, {
|
|
18
18
|
ShellParse: () => exports_parse,
|
|
19
|
-
scan: () =>
|
|
19
|
+
scan: () => scan3,
|
|
20
20
|
scanPortable: () => scanPortable2
|
|
21
21
|
});
|
|
22
22
|
import { Effect } from "effect";
|
|
@@ -166,7 +166,7 @@ var ARITY = {
|
|
|
166
166
|
"yarn run": 3
|
|
167
167
|
};
|
|
168
168
|
var PREFIX_LENGTH = Math.max(...Object.values(ARITY));
|
|
169
|
-
var
|
|
169
|
+
var scan3 = Effect.fnUntraced(function* (command, shell, cwd, options) {
|
|
170
170
|
if (options?.portable || (options?.wasm ?? shellParserWasm).bash === "")
|
|
171
171
|
return yield* scanPortable2(command, shell, cwd);
|
|
172
172
|
return yield* scanLegacy(command, shell, cwd);
|
|
@@ -353,4 +353,4 @@ async function initialize() {
|
|
|
353
353
|
return { bash, ps };
|
|
354
354
|
}
|
|
355
355
|
|
|
356
|
-
export {
|
|
356
|
+
export { scan3, scanPortable2, exports_parse };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-6vq97qmv.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85,
|
|
6
6
|
node89
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-cache-z1fx9rk1.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event21,
|
|
10
|
+
Service84,
|
|
11
|
+
node88
|
|
12
|
+
} from "./repository-cache-ke7rr379.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service81,
|
|
15
|
+
node85
|
|
16
|
+
} from "./repository-cache-8pvf9cdd.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service52,
|
|
19
|
+
node54
|
|
20
|
+
} from "./repository-cache-24ra19qx.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID15,
|
|
23
|
+
Service80,
|
|
24
|
+
node84
|
|
25
|
+
} from "./repository-cache-gtdxectv.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./repository-cache-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID14,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service79,
|
|
34
|
+
node83
|
|
35
|
+
} from "./repository-cache-t8z4ntba.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
@@ -49,12 +49,12 @@ __export(exports_mcp4, {
|
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service29,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
55
|
configured: () => configured4,
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
56
|
+
layer: () => layer14,
|
|
57
|
+
node: () => node32
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -103,7 +103,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
103
103
|
var endpointLoads = makeUnsafe2();
|
|
104
104
|
var cloneConfig = (config) => structuredClone(config);
|
|
105
105
|
|
|
106
|
-
class
|
|
106
|
+
class Service29 extends Context.Service()("@opencode/MCP") {
|
|
107
107
|
}
|
|
108
108
|
var Options4 = Schema.Struct({
|
|
109
109
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -111,13 +111,13 @@ var Options4 = Schema.Struct({
|
|
|
111
111
|
version: Schema.String
|
|
112
112
|
}))
|
|
113
113
|
});
|
|
114
|
-
var
|
|
115
|
-
const location = yield*
|
|
116
|
-
const environment = yield*
|
|
114
|
+
var layer14 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
115
|
+
const location = yield* Service81;
|
|
116
|
+
const environment = yield* Service52;
|
|
117
117
|
const bus = yield* Service85;
|
|
118
|
-
const forms = yield*
|
|
119
|
-
const integration = yield*
|
|
120
|
-
const credentials = yield*
|
|
118
|
+
const forms = yield* Service80;
|
|
119
|
+
const integration = yield* Service79;
|
|
120
|
+
const credentials = yield* Service84;
|
|
121
121
|
const root = yield* Effect.scope;
|
|
122
122
|
const fork = yield* FiberSet.makeRuntime();
|
|
123
123
|
const entries = new Map;
|
|
@@ -129,7 +129,7 @@ var layer15 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
129
129
|
return;
|
|
130
130
|
const remote = entry.config;
|
|
131
131
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
132
|
-
const integrationID =
|
|
132
|
+
const integrationID = ID14.make(suffix);
|
|
133
133
|
entry.integrationID = integrationID;
|
|
134
134
|
owned.add(integrationID);
|
|
135
135
|
const methodID = MethodID2.make(suffix);
|
|
@@ -145,7 +145,7 @@ var layer15 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
145
145
|
method: { id: methodID, type: "oauth", label: name },
|
|
146
146
|
authorize: () => Effect.gen(function* () {
|
|
147
147
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
148
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
148
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service84, credentials));
|
|
149
149
|
})
|
|
150
150
|
});
|
|
151
151
|
}).pipe(Scope.provide(scope));
|
|
@@ -161,12 +161,12 @@ var layer15 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
161
161
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
162
162
|
return;
|
|
163
163
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
164
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
164
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service84, credentials));
|
|
165
165
|
});
|
|
166
166
|
const elicitation = {
|
|
167
167
|
create: (input) => Effect.gen(function* () {
|
|
168
168
|
if (input.params.mode === "url") {
|
|
169
|
-
const formID =
|
|
169
|
+
const formID = ID15.create();
|
|
170
170
|
const elicitationID = input.params.elicitationId;
|
|
171
171
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
172
172
|
if (key)
|
|
@@ -269,7 +269,7 @@ var layer15 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
269
269
|
entry.scope = scope;
|
|
270
270
|
const authProvider = yield* connectProvider(entry);
|
|
271
271
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
272
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
272
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service52, environment), Scope.provide(scope));
|
|
273
273
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
274
274
|
if (Exit.isSuccess(result)) {
|
|
275
275
|
entry.client = result.value.connection;
|
|
@@ -394,7 +394,7 @@ var layer15 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
394
394
|
yield* startServer(name, entry);
|
|
395
395
|
}).pipe(locks.withLock(name));
|
|
396
396
|
});
|
|
397
|
-
fork(bus.subscribe(
|
|
397
|
+
fork(bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
398
398
|
const state = create3({
|
|
399
399
|
name: "mcp",
|
|
400
400
|
initial: () => ({
|
|
@@ -420,7 +420,7 @@ var layer15 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
420
420
|
}),
|
|
421
421
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
422
422
|
});
|
|
423
|
-
return
|
|
423
|
+
return Service29.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -532,12 +532,12 @@ function mergeCatalogs(catalogs) {
|
|
|
532
532
|
}
|
|
533
533
|
function configured4(options) {
|
|
534
534
|
return makeLocationNode({
|
|
535
|
-
service:
|
|
536
|
-
layer:
|
|
537
|
-
deps: [
|
|
535
|
+
service: Service29,
|
|
536
|
+
layer: layer14(options),
|
|
537
|
+
deps: [node85, node54, node89, node84, node83, node88]
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
|
-
var
|
|
540
|
+
var node32 = configured4();
|
|
541
541
|
function toElicitationField(key, property, required) {
|
|
542
542
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
543
543
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
|
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2,
|
|
591
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service29, Options4, layer14, configured4, node32, exports_mcp4 };
|