@opencode/core 0.0.0-dev-408 → 0.0.0-dev-411
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 +92 -92
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +5 -5
- package/dist/artifact.js +234 -234
- package/dist/bus.js +80 -80
- package/dist/chunks/{repository-cache-rycty3h8.js → mime-00jtka8h.js} +23 -23
- package/dist/chunks/{repository-cache-adv5kamg.js → mime-02r631ev.js} +48 -48
- package/dist/chunks/{repository-cache-034tev2y.js → mime-034tev2y.js} +2 -2
- package/dist/chunks/{repository-cache-8wjgamp7.js → mime-0ma4nchc.js} +6 -6
- package/dist/chunks/mime-0spyvd9g.js +549 -0
- package/dist/chunks/{repository-cache-er4eze1e.js → mime-0wcbjy84.js} +28 -28
- package/dist/chunks/{repository-cache-mg8br270.js → mime-0xjzthth.js} +18 -18
- package/dist/chunks/{repository-cache-qsqjr4br.js → mime-12jjw3y4.js} +6 -6
- package/dist/chunks/{repository-cache-hr05g0yp.js → mime-13ttwavm.js} +6 -6
- package/dist/chunks/{repository-cache-rj7j5fvs.js → mime-15qtk8ma.js} +4 -4
- package/dist/chunks/{repository-cache-4gyyr6rs.js → mime-173byhrk.js} +9 -9
- package/dist/chunks/{repository-cache-1aqsckx4.js → mime-1aqsckx4.js} +1 -1
- package/dist/chunks/{repository-cache-1ep2p91f.js → mime-1ep2p91f.js} +2 -2
- package/dist/chunks/{repository-cache-7zhw6b0y.js → mime-1ex0ta2j.js} +6 -6
- package/dist/chunks/{repository-cache-f163p87t.js → mime-1k3nxg21.js} +9 -9
- package/dist/chunks/{repository-cache-jp8m7kx7.js → mime-1p9ad1mg.js} +16 -16
- package/dist/chunks/{repository-cache-1x2knyw4.js → mime-1x2knyw4.js} +1 -1
- package/dist/chunks/{repository-cache-r8k6rspn.js → mime-1xa13j1n.js} +15 -15
- package/dist/chunks/{repository-cache-7hspd334.js → mime-1xjzmk5t.js} +11 -11
- package/dist/chunks/{repository-cache-1yq9hg58.js → mime-1yq9hg58.js} +1 -1
- package/dist/chunks/{repository-cache-42kgag0a.js → mime-21c12j5p.js} +11 -11
- package/dist/chunks/{repository-cache-cx167fqa.js → mime-21xq7fz8.js} +25 -25
- package/dist/chunks/{repository-cache-fybkcd9v.js → mime-23zj2kws.js} +16 -16
- package/dist/chunks/{repository-cache-8b3vzgkx.js → mime-25h84942.js} +4 -4
- package/dist/chunks/{repository-cache-h550x5z6.js → mime-2b56p890.js} +21 -21
- package/dist/chunks/{repository-cache-vtjt5gwq.js → mime-2gqg29cx.js} +31 -31
- package/dist/chunks/{repository-cache-v8m2b17w.js → mime-2k94q2r1.js} +15 -15
- package/dist/chunks/{repository-cache-mf63ygpr.js → mime-2kg89srt.js} +4 -4
- package/dist/chunks/{repository-cache-2p60zmnr.js → mime-2p60zmnr.js} +2 -2
- package/dist/chunks/{repository-cache-5nv0q1fc.js → mime-2wm290v0.js} +16 -16
- package/dist/chunks/{repository-cache-33p0grem.js → mime-2wsgtnys.js} +27 -27
- package/dist/chunks/{repository-cache-v72wqacp.js → mime-2x5qd06w.js} +5 -5
- package/dist/chunks/{repository-cache-3k5aj4rv.js → mime-30rrzn57.js} +11 -11
- package/dist/chunks/{repository-cache-jxk0hwye.js → mime-37aqq6zn.js} +10 -10
- package/dist/chunks/{repository-cache-3aj5n9jz.js → mime-38v12b4m.js} +77 -77
- package/dist/chunks/{repository-cache-btnkw9ag.js → mime-3bgf9gas.js} +4 -4
- package/dist/chunks/{repository-cache-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-cache-s0na53r1.js → mime-3jrry0zc.js} +4 -4
- package/dist/chunks/{repository-cache-3nnrz6f6.js → mime-3nnrz6f6.js} +1 -1
- package/dist/chunks/{repository-cache-p55ejza0.js → mime-3r17c5hc.js} +5 -5
- package/dist/chunks/{repository-cache-sbegqkxp.js → mime-3xv5yes5.js} +6 -6
- package/dist/chunks/{repository-cache-40y6dtc2.js → mime-40y6dtc2.js} +1 -1
- package/dist/chunks/{repository-cache-cnxrm74r.js → mime-441c9300.js} +22 -22
- package/dist/chunks/{repository-cache-44pmzq9c.js → mime-44pmzq9c.js} +2 -2
- package/dist/chunks/mime-47mgcevd.js +18 -0
- package/dist/chunks/{repository-cache-4d2dtj2f.js → mime-4d2dtj2f.js} +1 -1
- package/dist/chunks/{repository-cache-4dx1dgte.js → mime-4dx1dgte.js} +1 -1
- package/dist/chunks/{repository-cache-fxhr70zk.js → mime-4ewvsxbx.js} +163 -163
- package/dist/chunks/{repository-cache-eesy70b7.js → mime-4j80kde9.js} +13 -13
- package/dist/chunks/{repository-cache-g377f676.js → mime-4mpd8xv7.js} +16 -16
- package/dist/chunks/{repository-cache-4gtvfkkx.js → mime-4pps68mz.js} +20 -20
- package/dist/chunks/{repository-cache-4pyp9zr9.js → mime-4pyp9zr9.js} +1 -1
- package/dist/chunks/{repository-cache-1d4zbtyz.js → mime-4qn4mx79.js} +28 -28
- package/dist/chunks/{repository-cache-689c131p.js → mime-4tqspsk8.js} +38 -38
- package/dist/chunks/{repository-cache-4v008n1t.js → mime-4v008n1t.js} +1 -1
- package/dist/chunks/{repository-cache-5r72z9dp.js → mime-4yqm5m6p.js} +5 -5
- package/dist/chunks/{repository-cache-yh22z49b.js → mime-542xwbwn.js} +32 -32
- package/dist/chunks/{repository-cache-6xb56dn7.js → mime-57a0byfe.js} +14 -14
- package/dist/chunks/{repository-cache-42vb0n7z.js → mime-58fsr036.js} +48 -48
- package/dist/chunks/{repository-cache-3jy8fqmb.js → mime-5fhtrdqh.js} +5 -5
- package/dist/chunks/{repository-cache-f41yh8ea.js → mime-5ft609px.js} +19 -19
- package/dist/chunks/{repository-cache-5m9w47nd.js → mime-5m9w47nd.js} +1 -1
- package/dist/chunks/{repository-cache-jkdcm5hg.js → mime-5n0rnk8e.js} +4 -4
- package/dist/chunks/{repository-cache-jfgqn8x3.js → mime-677q4897.js} +23 -23
- package/dist/chunks/{repository-cache-6esdw8yj.js → mime-6esdw8yj.js} +1 -1
- package/dist/chunks/{repository-cache-nv8vmfsp.js → mime-6je73ykj.js} +21 -21
- package/dist/chunks/{repository-cache-d7tqay6h.js → mime-6mrnsq35.js} +21 -21
- package/dist/chunks/{repository-cache-6nd6wmx4.js → mime-6qxhrd38.js} +5 -5
- package/dist/chunks/{repository-cache-gcjdgkn2.js → mime-6twykydk.js} +9 -9
- package/dist/chunks/{repository-cache-p10mzfnc.js → mime-717j3wk6.js} +5 -5
- package/dist/chunks/{repository-cache-yny3wgz0.js → mime-73va2ezp.js} +21 -21
- package/dist/chunks/{repository-cache-76cb1hcw.js → mime-76cb1hcw.js} +1 -1
- package/dist/chunks/{repository-cache-80mg3ag8.js → mime-775hqbnd.js} +3 -3
- package/dist/chunks/{repository-cache-h3b857xk.js → mime-7a2bwsmz.js} +4 -4
- package/dist/chunks/{repository-cache-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-cache-kp633vze.js → mime-7d0crt3g.js} +52 -52
- package/dist/chunks/{repository-cache-qxd5p6a5.js → mime-7grked70.js} +5 -5
- package/dist/chunks/{repository-cache-7kr66rt3.js → mime-7kr66rt3.js} +1 -1
- package/dist/chunks/{repository-cache-bznth6yj.js → mime-7nqv2nys.js} +27 -27
- package/dist/chunks/{repository-cache-jpybrwwk.js → mime-7qskbw9h.js} +28 -28
- package/dist/chunks/{repository-cache-mnpd6dxn.js → mime-7raabrxk.js} +8 -8
- package/dist/chunks/{repository-cache-r9ws92vf.js → mime-7rks1bgh.js} +16 -16
- package/dist/chunks/{repository-cache-7w2ypzdf.js → mime-7w2ypzdf.js} +1 -1
- package/dist/chunks/{repository-cache-7fsxxa5w.js → mime-7y8b1mwj.js} +13 -13
- package/dist/chunks/{repository-cache-v74grx7e.js → mime-7ypxsdy7.js} +77 -77
- package/dist/chunks/{repository-cache-89287pr7.js → mime-89287pr7.js} +1 -1
- package/dist/chunks/{repository-cache-fepbnb8j.js → mime-89vjf07m.js} +5 -5
- package/dist/chunks/{repository-cache-sj7nrpyn.js → mime-8hfmqq8w.js} +8 -8
- package/dist/chunks/{repository-cache-kwc7zy4y.js → mime-8kazer33.js} +9 -9
- package/dist/chunks/{repository-cache-2p4b2eh8.js → mime-8n20h7xy.js} +28 -28
- package/dist/chunks/{repository-cache-r17fbvme.js → mime-8t99kr38.js} +4 -4
- package/dist/chunks/{repository-cache-z5t9gv20.js → mime-8w4qffc3.js} +5 -5
- package/dist/chunks/{repository-cache-m0rb108b.js → mime-8ws6y8cj.js} +33 -33
- package/dist/chunks/{repository-cache-8wtp7s3z.js → mime-8wtp7s3z.js} +1 -1
- package/dist/chunks/{repository-cache-2g3br2pj.js → mime-8zmj839t.js} +12 -12
- package/dist/chunks/{repository-cache-me0y9ebc.js → mime-8zxzpf21.js} +42 -42
- package/dist/chunks/{repository-cache-90zstvax.js → mime-90zstvax.js} +1 -1
- package/dist/chunks/{repository-cache-zyfhsknv.js → mime-963hk181.js} +9 -9
- package/dist/chunks/{repository-cache-r7r88gw3.js → mime-96tqyy2s.js} +2 -2
- package/dist/chunks/{repository-cache-0dyrypwm.js → mime-9a1z9epr.js} +4 -4
- package/dist/chunks/{repository-cache-m3jqt6zk.js → mime-9b2zgqvh.js} +24 -24
- package/dist/chunks/{repository-cache-a5375sst.js → mime-9hc4vcdr.js} +28 -28
- package/dist/chunks/{repository-cache-7rtpp53t.js → mime-9kgf9jdc.js} +12 -12
- package/dist/chunks/{repository-cache-cywx93t4.js → mime-9vev85sb.js} +3 -3
- package/dist/chunks/{repository-cache-r05rf7q0.js → mime-9vex50ss.js} +15 -15
- package/dist/chunks/{repository-cache-7nqkf5r1.js → mime-a5fx33f2.js} +6 -6
- package/dist/chunks/{repository-cache-h5a5vse0.js → mime-a6ca1bgh.js} +22 -22
- package/dist/chunks/{repository-cache-7be6ej80.js → mime-agqqww4s.js} +5 -5
- package/dist/chunks/{repository-cache-zs8hhkys.js → mime-amcrvbta.js} +17 -17
- package/dist/chunks/{repository-cache-tb2mrvc9.js → mime-arts9saq.js} +5 -5
- package/dist/chunks/{repository-cache-ayjs7tqn.js → mime-ayjs7tqn.js} +2 -2
- package/dist/chunks/{repository-cache-vb6anx8h.js → mime-b4cmpxvs.js} +7 -7
- package/dist/chunks/{repository-cache-b6vsg801.js → mime-b6vsg801.js} +2 -2
- package/dist/chunks/{repository-cache-66q141s7.js → mime-be7nh1h9.js} +18 -18
- package/dist/chunks/{repository-cache-tjhb89td.js → mime-bfhrb0vz.js} +21 -21
- package/dist/chunks/{repository-cache-de6ncjqq.js → mime-bjxvjrtd.js} +14 -14
- package/dist/chunks/{repository-cache-ae0k5xhg.js → mime-bmpk3y9x.js} +43 -43
- package/dist/chunks/{repository-cache-bstexjd6.js → mime-bstexjd6.js} +1 -1
- package/dist/chunks/{repository-cache-fty293jv.js → mime-c0zgb7b2.js} +11 -11
- package/dist/chunks/{repository-cache-sx8xtdmr.js → mime-c145rzpm.js} +9 -9
- package/dist/chunks/{repository-cache-h1xbway3.js → mime-c2z4fcs2.js} +24 -24
- package/dist/chunks/{repository-cache-6a6erb7h.js → mime-c59y5rwx.js} +3 -3
- package/dist/chunks/{repository-cache-85pkw22p.js → mime-ce3886qs.js} +12 -12
- package/dist/chunks/{repository-cache-gbwp1yy0.js → mime-cet1vrnc.js} +19 -19
- package/dist/chunks/{repository-cache-6677agsn.js → mime-cj0eyxq9.js} +12 -12
- package/dist/chunks/{repository-cache-7qvfpbmq.js → mime-ckswxc5c.js} +33 -33
- package/dist/chunks/{repository-cache-g539dx78.js → mime-ckwbanag.js} +14 -14
- package/dist/chunks/{repository-cache-8qbe9svj.js → mime-cn4yv82b.js} +11 -11
- package/dist/chunks/{repository-cache-c6x7d2ts.js → mime-cpvd08na.js} +4 -4
- package/dist/chunks/{repository-cache-v0t2k871.js → mime-cqbxs0tr.js} +20 -20
- package/dist/chunks/{repository-cache-0rhtyd7d.js → mime-crsbatbp.js} +11 -11
- package/dist/chunks/{repository-cache-n3f2mn8p.js → mime-ctb50nvp.js} +13 -13
- package/dist/chunks/{repository-cache-cwrgdav8.js → mime-cwrgdav8.js} +2 -2
- package/dist/chunks/{repository-cache-xp807jap.js → mime-d15zh9hb.js} +41 -41
- package/dist/chunks/{repository-cache-wskayef6.js → mime-d2t9c8gd.js} +5 -5
- package/dist/chunks/{repository-cache-d4v9tmah.js → mime-d4v9tmah.js} +2 -2
- package/dist/chunks/{repository-cache-w21atb39.js → mime-d72grn1g.js} +31 -31
- package/dist/chunks/{repository-cache-a2pkjjya.js → mime-d84vb6md.js} +3 -3
- package/dist/chunks/{repository-cache-tkrm9k8y.js → mime-dcsregwa.js} +18 -18
- package/dist/chunks/{repository-cache-4pqv92sr.js → mime-dd8e2a46.js} +15 -15
- package/dist/chunks/{repository-cache-0wy4spvx.js → mime-dmj09fwg.js} +15 -15
- package/dist/chunks/{repository-cache-vxepbk5t.js → mime-dt1ahfnq.js} +2 -2
- package/dist/chunks/{repository-cache-dt77769w.js → mime-dt77769w.js} +1 -1
- package/dist/chunks/{repository-cache-1xp59a9b.js → mime-dz6wsv7r.js} +18 -18
- package/dist/chunks/{repository-cache-xc5da999.js → mime-e0zxmz8h.js} +11 -11
- package/dist/chunks/{repository-cache-h0rg6s60.js → mime-e45fk36t.js} +4 -4
- package/dist/chunks/{repository-cache-e834z07m.js → mime-e834z07m.js} +1 -1
- package/dist/chunks/{repository-cache-x150ncgg.js → mime-eavcrtrz.js} +2 -2
- package/dist/chunks/{repository-cache-y2xgxkw5.js → mime-ed903kn2.js} +13 -13
- package/dist/chunks/{repository-cache-kzdam8c6.js → mime-ep6pe98a.js} +7 -7
- package/dist/chunks/{repository-cache-eqw4pqj1.js → mime-eqw4pqj1.js} +2 -2
- package/dist/chunks/{repository-cache-zhc535nw.js → mime-evegmhxh.js} +7 -7
- package/dist/chunks/{repository-cache-8rkk1f8k.js → mime-ezt18ceq.js} +2 -2
- package/dist/chunks/{repository-cache-7w4azh8n.js → mime-f0yretha.js} +13 -13
- package/dist/chunks/{repository-cache-xp0nj7k3.js → mime-f3384qnx.js} +59 -59
- package/dist/chunks/{repository-cache-86bg93g2.js → mime-f3hf9nqw.js} +30 -30
- package/dist/chunks/{repository-cache-x5vzffch.js → mime-f99d2az3.js} +8 -8
- package/dist/chunks/{repository-cache-zzhnk88p.js → mime-fa9809pq.js} +6 -6
- package/dist/chunks/{repository-cache-pshdv7zb.js → mime-fajz1f7n.js} +22 -22
- package/dist/chunks/{repository-cache-3nd7e18q.js → mime-fdd3h46p.js} +9 -9
- package/dist/chunks/{repository-cache-byat1gmm.js → mime-ff8tqj5e.js} +18 -18
- package/dist/chunks/{repository-cache-fffv3p7h.js → mime-fffv3p7h.js} +1 -1
- package/dist/chunks/{repository-cache-zf8tyrr2.js → mime-ffgr4mj2.js} +32 -32
- package/dist/chunks/{repository-cache-fg9p65nk.js → mime-fg9p65nk.js} +2 -2
- package/dist/chunks/mime-fh4b648n.js +261 -0
- package/dist/chunks/{repository-cache-smg7hj1m.js → mime-fkkc0tbc.js} +16 -16
- package/dist/chunks/{repository-cache-ysq00ca8.js → mime-fvd2xbhm.js} +33 -33
- package/dist/chunks/{repository-cache-dtgkw3dr.js → mime-fvtmx7nf.js} +3 -3
- package/dist/chunks/{repository-cache-2bpttt67.js → mime-fvvr5s83.js} +6 -6
- package/dist/chunks/{repository-cache-ef4m72dy.js → mime-fwct97w0.js} +26 -26
- package/dist/chunks/{repository-cache-rakn3sek.js → mime-fyb1cqka.js} +7 -7
- package/dist/chunks/{repository-cache-9ybwsyyt.js → mime-g4c35p62.js} +5 -5
- package/dist/chunks/{repository-cache-3d191zt2.js → mime-g8hrhr6a.js} +30 -30
- package/dist/chunks/{repository-cache-gbjdnr5j.js → mime-gbjdnr5j.js} +2 -2
- package/dist/chunks/{repository-cache-qe8gqarn.js → mime-gnd0rp6m.js} +30 -30
- package/dist/chunks/{repository-cache-m565rdqv.js → mime-gs630tcc.js} +31 -31
- package/dist/chunks/{repository-cache-q0rw1drr.js → mime-gtmk1fd0.js} +4 -4
- package/dist/chunks/{repository-cache-k5g91pys.js → mime-gv17gra6.js} +3 -3
- package/dist/chunks/{repository-cache-1n61n509.js → mime-h943kx79.js} +1 -1
- package/dist/chunks/{repository-cache-9f4es6q6.js → mime-h9xsjbk6.js} +19 -19
- package/dist/chunks/{repository-cache-5zpqhmp2.js → mime-hdreqhvr.js} +3 -3
- package/dist/chunks/{repository-cache-qdba8bbt.js → mime-he9jzw54.js} +11 -11
- package/dist/chunks/{repository-cache-wmcedxv4.js → mime-hh795xcr.js} +8 -8
- package/dist/chunks/{repository-cache-hh7kjqtw.js → mime-hh7kjqtw.js} +1 -1
- package/dist/chunks/{repository-cache-fq4mbxwp.js → mime-hmtj6hyv.js} +7 -7
- package/dist/chunks/{repository-cache-hpg1pkwy.js → mime-hpg1pkwy.js} +1 -1
- package/dist/chunks/{repository-cache-k3tthcz6.js → mime-hsafyxgc.js} +9 -9
- package/dist/chunks/{repository-cache-3b10v8zn.js → mime-hseke0nn.js} +16 -16
- package/dist/chunks/{repository-cache-7jen3kst.js → mime-hxhjnsvc.js} +9 -9
- package/dist/chunks/{repository-cache-ze75qvmd.js → mime-j9nxzz3g.js} +3 -3
- package/dist/chunks/{repository-cache-3kyerjz3.js → mime-jap97c26.js} +15 -15
- package/dist/chunks/{repository-cache-wqdv6afr.js → mime-jk5bah0h.js} +5 -5
- package/dist/chunks/{repository-cache-c8r04xqq.js → mime-jmf4sxhp.js} +8 -8
- package/dist/chunks/{repository-cache-ygbxmy97.js → mime-jsdm1c2d.js} +10 -10
- package/dist/chunks/{repository-cache-jtnps1zs.js → mime-jtnps1zs.js} +2 -2
- package/dist/chunks/{repository-cache-m4yf5w44.js → mime-k23svgts.js} +4 -4
- package/dist/chunks/{repository-cache-vef27pfx.js → mime-k3hyhpey.js} +8 -8
- package/dist/chunks/{repository-cache-kj9n5bvh.js → mime-k46dd5bg.js} +4 -4
- package/dist/chunks/{repository-cache-kqqn26ch.js → mime-k6ay4qy3.js} +20 -20
- package/dist/chunks/{repository-cache-fdgt176q.js → mime-k7aajt6e.js} +17 -17
- package/dist/chunks/{repository-cache-whwppsjz.js → mime-kkp7d260.js} +7 -7
- package/dist/chunks/{repository-cache-629bn6be.js → mime-kpccpvw8.js} +22 -22
- package/dist/chunks/{repository-cache-v8bxmdat.js → mime-kr7y7n46.js} +23 -23
- package/dist/chunks/{repository-cache-220pdf8n.js → mime-kshj9d31.js} +6 -6
- package/dist/chunks/{repository-cache-kt3bjfbg.js → mime-kt3bjfbg.js} +1 -1
- package/dist/chunks/{repository-cache-mgm0qeqb.js → mime-kxe6ns9n.js} +10 -10
- package/dist/chunks/{repository-cache-d2jsrjsx.js → mime-kyhawpca.js} +2 -2
- package/dist/chunks/{repository-cache-kzczzf4v.js → mime-kzczzf4v.js} +1 -1
- package/dist/chunks/{repository-cache-9sy1j1hj.js → mime-kzpzksxr.js} +4 -4
- package/dist/chunks/{repository-cache-m1714858.js → mime-m1714858.js} +1 -1
- package/dist/chunks/{repository-cache-589c1xh4.js → mime-m64bp5fe.js} +4 -4
- package/dist/chunks/{repository-cache-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-cache-mb7mbhnz.js → mime-mb7mbhnz.js} +3 -3
- package/dist/chunks/{repository-cache-0fqkcydk.js → mime-memc58mb.js} +11 -11
- package/dist/chunks/{repository-cache-ahvrxr5q.js → mime-mg15pwv3.js} +32 -32
- package/dist/chunks/{repository-cache-b53d9n68.js → mime-mh0wxrk4.js} +9 -9
- package/dist/chunks/{repository-cache-p448c2b5.js → mime-mntbwbcr.js} +7 -7
- package/dist/chunks/{repository-cache-sbz71ybr.js → mime-mqe7nf5n.js} +3 -3
- package/dist/chunks/{repository-cache-1v2g13eq.js → mime-msd2a3qm.js} +4 -4
- package/dist/chunks/{repository-cache-g5xh523a.js → mime-mycsbzfd.js} +11 -11
- package/dist/chunks/{repository-cache-kddfw84h.js → mime-mz6hdder.js} +15 -15
- package/dist/chunks/{repository-cache-xkj25y3n.js → mime-n02f90yg.js} +27 -27
- package/dist/chunks/{repository-cache-fzmk70p1.js → mime-n09fjw6k.js} +3 -3
- package/dist/chunks/{repository-cache-gf4twfpd.js → mime-n41fg5cs.js} +14 -14
- package/dist/chunks/{repository-cache-nah043kf.js → mime-nah043kf.js} +1 -1
- package/dist/chunks/{repository-cache-1ykpzj5c.js → mime-nkv0cn83.js} +3 -3
- package/dist/chunks/{repository-cache-7resjt17.js → mime-npg7nx13.js} +9 -9
- package/dist/chunks/{repository-cache-94e33dpz.js → mime-nt907s04.js} +3 -3
- package/dist/chunks/{repository-cache-jkfzvww1.js → mime-nw2n31se.js} +26 -26
- package/dist/chunks/{repository-cache-p015t6z3.js → mime-p015t6z3.js} +2 -2
- package/dist/chunks/{repository-cache-ka37r3tm.js → mime-p4z63h9j.js} +6 -6
- package/dist/chunks/{repository-cache-qx265qvg.js → mime-pbcz3kng.js} +9 -9
- package/dist/chunks/{repository-cache-xt4k4j7x.js → mime-pdmwf5q3.js} +11 -11
- package/dist/chunks/{repository-cache-pknna89w.js → mime-pknna89w.js} +1 -1
- package/dist/chunks/{repository-cache-xqnmsxz4.js → mime-pp9nj9bv.js} +8 -8
- package/dist/chunks/{repository-cache-gqwvnyjy.js → mime-pv5sdvk2.js} +3 -3
- package/dist/chunks/{repository-cache-4ygb74tw.js → mime-qfdvj3xm.js} +11 -11
- package/dist/chunks/{repository-cache-qp7r0hxv.js → mime-qp7r0hxv.js} +1 -1
- package/dist/chunks/{repository-cache-qqvy8y24.js → mime-qqvy8y24.js} +1 -1
- package/dist/chunks/{repository-cache-8epvzwk0.js → mime-qrnz7f4j.js} +1 -1
- package/dist/chunks/{repository-cache-k3cx6fhe.js → mime-qsdghx1p.js} +4 -4
- package/dist/chunks/{repository-cache-67wwskyb.js → mime-qzgp0jr4.js} +4 -4
- package/dist/chunks/{repository-cache-0mvqm7py.js → mime-r13sq4mp.js} +11 -11
- package/dist/chunks/{repository-cache-4f25tdd0.js → mime-r542h3bh.js} +5 -5
- package/dist/chunks/{repository-cache-bsrnwqw4.js → mime-r5rvkdty.js} +48 -48
- package/dist/chunks/{repository-cache-44rh2bdn.js → mime-r66pvgx1.js} +36 -36
- package/dist/chunks/{repository-cache-fqazpnnv.js → mime-r8twkyxz.js} +11 -11
- package/dist/chunks/{repository-cache-ydsespw1.js → mime-ra6js1h8.js} +8 -8
- package/dist/chunks/{repository-cache-rb9dy4dg.js → mime-rb9dy4dg.js} +1 -1
- package/dist/chunks/{repository-cache-atq58f6p.js → mime-rd4zzgex.js} +21 -21
- package/dist/chunks/{repository-cache-rpw7k5ha.js → mime-rpn5jf44.js} +28 -28
- package/dist/chunks/{repository-cache-rt5dr6hb.js → mime-rt5dr6hb.js} +1 -1
- package/dist/chunks/{repository-cache-14s4whne.js → mime-ry6xth9w.js} +4 -4
- package/dist/chunks/{repository-cache-erj5bww8.js → mime-s34ggjg8.js} +10 -10
- package/dist/chunks/{repository-cache-3tpwx1sz.js → mime-s3e6sfq7.js} +8 -8
- package/dist/chunks/{repository-cache-4drd5sre.js → mime-s55ephzb.js} +12 -12
- package/dist/chunks/{repository-cache-nv8y1yxb.js → mime-s5kwvry8.js} +20 -20
- package/dist/chunks/{repository-cache-p3mdg5wc.js → mime-s62vk6re.js} +8 -8
- package/dist/chunks/{repository-cache-5ey1ywkc.js → mime-s7n4sy0q.js} +14 -14
- package/dist/chunks/{repository-cache-sa3fpqfw.js → mime-sa3fpqfw.js} +2 -2
- package/dist/chunks/{repository-cache-sbya78hr.js → mime-sbya78hr.js} +1 -1
- package/dist/chunks/{repository-cache-4r05bqmv.js → mime-scfwvbta.js} +20 -20
- package/dist/chunks/{repository-cache-6fz9y9ks.js → mime-sg7q643p.js} +25 -25
- package/dist/chunks/{repository-cache-rcyxca26.js → mime-skj6q8p0.js} +3 -3
- package/dist/chunks/{repository-cache-0j7gp832.js → mime-sqjzf8x2.js} +4 -4
- package/dist/chunks/{repository-cache-jetrapy6.js → mime-stg61rxh.js} +25 -25
- package/dist/chunks/{repository-cache-d5exgc4h.js → mime-stp1627c.js} +17 -17
- package/dist/chunks/{repository-cache-svcy3p9a.js → mime-svcy3p9a.js} +1 -1
- package/dist/chunks/{repository-cache-szwm4crx.js → mime-szwm4crx.js} +4 -4
- package/dist/chunks/{repository-cache-n089ht1s.js → mime-t2mfjpaj.js} +3 -3
- package/dist/chunks/{repository-cache-jv5ccajn.js → mime-t8erkws8.js} +5 -5
- package/dist/chunks/{repository-cache-da39cwtw.js → mime-t9awn5ff.js} +18 -18
- package/dist/chunks/{repository-cache-bj64f587.js → mime-t9s2jeab.js} +8 -8
- package/dist/chunks/{repository-cache-tczq8hjw.js → mime-tczq8hjw.js} +1 -1
- package/dist/chunks/{repository-cache-vq0qa3sh.js → mime-teav1bzy.js} +9 -9
- package/dist/chunks/{repository-cache-gxs71cxp.js → mime-tg7s7b5t.js} +4 -4
- package/dist/chunks/{repository-cache-t4s5sbv2.js → mime-tgrsy311.js} +16 -16
- package/dist/chunks/{repository-cache-y3rqhyb5.js → mime-th0zt867.js} +3 -3
- package/dist/chunks/{repository-cache-tpfpb9s5.js → mime-tjfcge56.js} +19 -19
- package/dist/chunks/{repository-cache-117dxy3x.js → mime-tnz20wp2.js} +18 -18
- package/dist/chunks/{repository-cache-y0aw87gj.js → mime-tqyccatf.js} +11 -11
- package/dist/chunks/{repository-cache-tr8x705m.js → mime-tr8x705m.js} +1 -1
- package/dist/chunks/{repository-cache-twssxy5n.js → mime-twssxy5n.js} +2 -2
- package/dist/chunks/{repository-cache-wrbn5hqr.js → mime-tymxgtwd.js} +9 -9
- package/dist/chunks/{repository-cache-v2r1d0zg.js → mime-v2r1d0zg.js} +1 -1
- package/dist/chunks/{repository-cache-echfhvqy.js → mime-v45w1f76.js} +24 -24
- package/dist/chunks/{repository-cache-csckdwzt.js → mime-v7gn9944.js} +22 -22
- package/dist/chunks/{repository-cache-13rt9a0f.js → mime-v9j6nnh3.js} +25 -25
- package/dist/chunks/{repository-cache-hzzg9aka.js → mime-vbk49m93.js} +5 -5
- package/dist/chunks/{repository-cache-dt7p67dq.js → mime-vcf8c6wz.js} +23 -23
- package/dist/chunks/{repository-cache-mmy90578.js → mime-vfyeb9xc.js} +31 -31
- package/dist/chunks/{repository-cache-vjf35v1f.js → mime-vjf35v1f.js} +1 -1
- package/dist/chunks/{repository-cache-y5n6x8yr.js → mime-vkh97b66.js} +11 -11
- package/dist/chunks/{repository-cache-qtf35215.js → mime-vnjc296t.js} +3 -3
- package/dist/chunks/{repository-cache-c9axap03.js → mime-vrmqpdaz.js} +11 -11
- package/dist/chunks/{repository-cache-17tg1v6a.js → mime-vsxx6wgz.js} +10 -10
- package/dist/chunks/{repository-cache-9nz9zp6p.js → mime-vwr55bee.js} +21 -21
- package/dist/chunks/{repository-cache-40za9wsf.js → mime-w2eysc6j.js} +9 -9
- package/dist/chunks/{repository-cache-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-cache-wakvkjy4.js → mime-wakvkjy4.js} +1 -1
- package/dist/chunks/{repository-cache-1q5d8b2j.js → mime-wcc9zts2.js} +13 -13
- package/dist/chunks/{repository-cache-wd87259q.js → mime-wd87259q.js} +1 -1
- package/dist/chunks/{repository-cache-wegkxhrn.js → mime-wegkxhrn.js} +2 -2
- package/dist/chunks/{repository-cache-wnhgecwx.js → mime-wnhgecwx.js} +1 -1
- package/dist/chunks/{repository-cache-zwtmdy2h.js → mime-wpg37krx.js} +4 -4
- package/dist/chunks/{repository-cache-fznmdakp.js → mime-wr3re1en.js} +4 -4
- package/dist/chunks/{repository-cache-wvr8xscb.js → mime-wvr8xscb.js} +1 -1
- package/dist/chunks/{repository-cache-mzm8bzzq.js → mime-wws03c5r.js} +4 -4
- package/dist/chunks/{repository-cache-zf3hf96a.js → mime-x1qaj6gy.js} +30 -30
- package/dist/chunks/{repository-cache-r22r6fnc.js → mime-xk6sf0mc.js} +1 -1
- package/dist/chunks/{repository-cache-pcvy2xt8.js → mime-xn7cqzsq.js} +4 -4
- package/dist/chunks/{repository-cache-rk98nmz9.js → mime-xpqz35rw.js} +4 -4
- package/dist/chunks/{repository-cache-m331kn6h.js → mime-xsndfgse.js} +13 -13
- package/dist/chunks/{repository-cache-4rneqcee.js → mime-y9egrjyw.js} +8 -8
- package/dist/chunks/{repository-cache-yara3q77.js → mime-yara3q77.js} +2 -2
- package/dist/chunks/{repository-cache-yb20nhc3.js → mime-yb20nhc3.js} +1 -1
- package/dist/chunks/{repository-cache-4fwf0yt6.js → mime-yea714s0.js} +39 -39
- package/dist/chunks/{repository-cache-hp5bjq9g.js → mime-ymthdz88.js} +14 -14
- package/dist/chunks/{repository-cache-vb6mr57d.js → mime-yngvyh0w.js} +8 -8
- package/dist/chunks/{repository-cache-21dqy5ft.js → mime-ynz5apth.js} +18 -18
- package/dist/chunks/{repository-cache-yr705xyq.js → mime-yr705xyq.js} +1 -1
- package/dist/chunks/{repository-cache-wp3c4493.js → mime-ytr8kccq.js} +17 -17
- package/dist/chunks/{repository-cache-dqk7hey0.js → mime-yzsezgds.js} +39 -39
- package/dist/chunks/{repository-cache-90ct6wq4.js → mime-z080rjh6.js} +4 -4
- package/dist/chunks/{repository-cache-m22p9x8d.js → mime-z0y7qn54.js} +9 -9
- package/dist/chunks/{repository-cache-cns3s1jh.js → mime-z4azf69j.js} +4 -4
- package/dist/chunks/{repository-cache-a23nhmfg.js → mime-z9qhm8y2.js} +36 -36
- package/dist/chunks/{repository-cache-ntx55zw5.js → mime-zcfj7xxr.js} +6 -6
- package/dist/chunks/{repository-cache-52s9xk06.js → mime-zg7m99jj.js} +20 -20
- package/dist/chunks/mime-zkfcdy48.js +26 -0
- package/dist/chunks/{repository-cache-zy3gcy6m.js → mime-zxeapram.js} +78 -78
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +145 -145
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +92 -92
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +132 -132
- package/dist/config/plugin/command.js +231 -231
- package/dist/config/plugin/compaction.js +171 -171
- package/dist/config/plugin/compatibility.js +150 -150
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +130 -130
- package/dist/config/plugin/mcp.js +141 -141
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +128 -128
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +130 -130
- package/dist/config/plugin/skill-file.js +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +153 -153
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +133 -133
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +129 -129
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +129 -129
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/database.js +77 -77
- 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/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +62 -62
- 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 +105 -105
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +428 -428
- 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 +106 -106
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +108 -108
- 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 +81 -81
- package/dist/file-access.js +156 -156
- package/dist/file-mutation.js +107 -107
- 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/file-watch.js +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +243 -243
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +112 -112
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +115 -115
- package/dist/form.js +91 -91
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +122 -122
- package/dist/git.js +11 -11
- 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 +104 -104
- 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/notice.js +3 -3
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +419 -419
- package/dist/instruction-discovery.js +93 -93
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +169 -169
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +416 -416
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +104 -104
- package/dist/mcp/index.js +122 -122
- package/dist/mcp/instructions.js +181 -181
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +103 -103
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +107 -107
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +117 -117
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +83 -83
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +143 -143
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +97 -97
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +115 -115
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +236 -236
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +395 -395
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +146 -146
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +104 -104
- package/dist/plugin/provider/azure.js +130 -130
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +130 -130
- package/dist/plugin/provider/claude-agent/aisdk.js +115 -115
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +145 -145
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- package/dist/plugin/provider/claude-agent/integration.js +113 -113
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +128 -128
- package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +85 -85
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +106 -106
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +108 -108
- package/dist/plugin/provider/gitlab.js +107 -107
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +139 -139
- package/dist/plugin/provider/local.js +136 -136
- package/dist/plugin/provider/modal.js +105 -105
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +137 -137
- package/dist/plugin/provider/openai-context-caps.js +103 -103
- package/dist/plugin/provider/openai.js +132 -132
- package/dist/plugin/provider/opencode.js +132 -132
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +129 -129
- package/dist/plugin/provider/vllm.js +139 -139
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +210 -210
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +149 -149
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +407 -407
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +128 -128
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- 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 +243 -243
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +103 -103
- package/dist/provider.js +106 -106
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +103 -103
- package/dist/reference/instructions.js +99 -99
- package/dist/reference.js +101 -101
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +110 -110
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +241 -241
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +247 -247
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +171 -171
- package/dist/session/context.js +198 -198
- package/dist/session/diff.js +101 -101
- 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 +240 -240
- package/dist/session/execution.js +161 -161
- package/dist/session/generate.js +200 -200
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +147 -147
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +88 -88
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +139 -139
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +168 -168
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +165 -165
- package/dist/session/projector.js +141 -141
- package/dist/session/prompt.js +148 -148
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +139 -139
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +250 -250
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +149 -149
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +163 -163
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +179 -179
- package/dist/session/shell.js +144 -144
- package/dist/session/skill.js +147 -147
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +84 -84
- package/dist/session/store.js +138 -138
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +229 -229
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +202 -202
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +237 -237
- package/dist/session/usage.js +3 -3
- package/dist/session.js +233 -233
- 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 +9 -9
- package/dist/shell.js +144 -144
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +151 -151
- package/dist/skill.js +154 -154
- package/dist/snapshot.js +104 -104
- 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 +178 -178
- package/dist/tool/plugin/artifact.js +228 -228
- package/dist/tool/plugin/edit.js +164 -164
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +168 -168
- package/dist/tool/plugin/grep.js +168 -168
- package/dist/tool/plugin/image-generate.js +239 -239
- package/dist/tool/plugin/mcp-resource.js +162 -162
- package/dist/tool/plugin/opencode.js +161 -161
- package/dist/tool/plugin/patch.js +164 -164
- package/dist/tool/plugin/question.js +144 -144
- package/dist/tool/plugin/read.js +167 -167
- package/dist/tool/plugin/schedule.js +247 -247
- package/dist/tool/plugin/shell.js +233 -233
- package/dist/tool/plugin/skill.js +157 -157
- package/dist/tool/plugin/subagent.js +234 -234
- package/dist/tool/plugin/todo.js +153 -153
- package/dist/tool/plugin/webfetch.js +157 -157
- package/dist/tool/plugin/websearch.js +153 -153
- package/dist/tool/plugin/write.js +164 -164
- package/dist/tool/read-filesystem.js +113 -113
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +159 -159
- package/dist/usage-limits.js +96 -96
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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 +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +101 -101
- package/dist/websearch.js +87 -87
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +88 -88
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +98 -98
- package/dist/worktree.js +105 -105
- package/package.json +8 -8
- package/dist/chunks/repository-cache-7zdc1zze.js +0 -261
- package/dist/chunks/repository-cache-hw51xx9n.js +0 -549
- package/dist/chunks/repository-cache-xjey0mk6.js +0 -26
- package/dist/chunks/repository-cache-z7bdqmx5.js +0 -18
- /package/dist/chunks/{repository-cache-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-cache-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-cache-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-cache-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-cache-1kah00gy.js → mime-1kah00gy.js} +0 -0
- /package/dist/chunks/{repository-cache-1pevy3nx.js → mime-1pevy3nx.js} +0 -0
- /package/dist/chunks/{repository-cache-24dcb14g.js → mime-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-cache-2710q6r3.js → mime-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-cache-2bv980vf.js → mime-2bv980vf.js} +0 -0
- /package/dist/chunks/{repository-cache-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-cache-359p4xyc.js → mime-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-cache-3asan66x.js → mime-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-cache-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-cache-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-cache-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-cache-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-cache-4qk9sjk2.js → mime-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{repository-cache-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-cache-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-cache-53557ph1.js → mime-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-cache-550bvhaj.js → mime-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-cache-5w3e23ze.js → mime-5w3e23ze.js} +0 -0
- /package/dist/chunks/{repository-cache-6agm2x70.js → mime-6agm2x70.js} +0 -0
- /package/dist/chunks/{repository-cache-6prwharc.js → mime-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-cache-6q2bdcd1.js → mime-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{repository-cache-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-cache-7m9af43g.js → mime-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-cache-7stb81gk.js → mime-7stb81gk.js} +0 -0
- /package/dist/chunks/{repository-cache-822emrt2.js → mime-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-cache-84wd9syh.js → mime-84wd9syh.js} +0 -0
- /package/dist/chunks/{repository-cache-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-cache-8n3pysct.js → mime-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-cache-8wj87zfr.js → mime-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-cache-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-cache-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-cache-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-cache-af5trqkr.js → mime-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-cache-afrmfg78.js → mime-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-cache-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-cache-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-cache-beh6qq61.js → mime-beh6qq61.js} +0 -0
- /package/dist/chunks/{repository-cache-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-cache-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cache-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cache-cqv5kn06.js → mime-cqv5kn06.js} +0 -0
- /package/dist/chunks/{repository-cache-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-cache-d9fn303g.js → mime-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-cache-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-cache-dap0rakb.js → mime-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-cache-df08tz66.js → mime-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-cache-dy18nga0.js → mime-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-cache-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-cache-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-cache-ean2d8b5.js → mime-ean2d8b5.js} +0 -0
- /package/dist/chunks/{repository-cache-ec1grn59.js → mime-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-cache-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-cache-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-cache-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-cache-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-cache-faypxj3z.js → mime-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-cache-fd410y7t.js → mime-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-cache-fkpq3x5p.js → mime-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{repository-cache-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-cache-g86h250q.js → mime-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-cache-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-cache-gftt206x.js → mime-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-cache-hcxmzztb.js → mime-hcxmzztb.js} +0 -0
- /package/dist/chunks/{repository-cache-hk9envan.js → mime-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-cache-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-cache-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-cache-jjkms2e6.js → mime-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-cache-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-cache-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-cache-jwr30sdr.js → mime-jwr30sdr.js} +0 -0
- /package/dist/chunks/{repository-cache-jze0r7bz.js → mime-jze0r7bz.js} +0 -0
- /package/dist/chunks/{repository-cache-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-cache-m18g726c.js → mime-m18g726c.js} +0 -0
- /package/dist/chunks/{repository-cache-mp448xyj.js → mime-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-cache-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-cache-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-cache-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-cache-nh4v3znn.js → mime-nh4v3znn.js} +0 -0
- /package/dist/chunks/{repository-cache-njntx4h6.js → mime-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-cache-p71gwv9c.js → mime-p71gwv9c.js} +0 -0
- /package/dist/chunks/{repository-cache-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-cache-q74kybfr.js → mime-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-cache-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-cache-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-cache-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-cache-qg3g05ea.js → mime-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-cache-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-cache-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-cache-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-cache-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-cache-t03h4f5z.js → mime-t03h4f5z.js} +0 -0
- /package/dist/chunks/{repository-cache-ty7weeps.js → mime-ty7weeps.js} +0 -0
- /package/dist/chunks/{repository-cache-ve7vex1e.js → mime-ve7vex1e.js} +0 -0
- /package/dist/chunks/{repository-cache-vtarvj67.js → mime-vtarvj67.js} +0 -0
- /package/dist/chunks/{repository-cache-w803qqfp.js → mime-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-cache-wc3fc9cn.js → mime-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-cache-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-cache-wtztk69x.js → mime-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-cache-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-cache-x61499pn.js → mime-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-cache-y44na4kk.js → mime-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-cache-y8f7s663.js → mime-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-cache-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-cache-z5v4ffb3.js → mime-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{repository-cache-z9919s4g.js → mime-z9919s4g.js} +0 -0
|
@@ -2,32 +2,32 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service88,
|
|
4
4
|
node91
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./mime-z4azf69j.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make32,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-kzpzksxr.js";
|
|
13
13
|
import {
|
|
14
14
|
create4
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-40y6dtc2.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./mime-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/instruction-discovery.ts
|
|
21
21
|
var exports_instruction_discovery = {};
|
|
22
22
|
__export(exports_instruction_discovery, {
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event9,
|
|
24
24
|
File: () => File2,
|
|
25
25
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
26
|
-
Options: () =>
|
|
27
|
-
Service: () =>
|
|
26
|
+
Options: () => Options5,
|
|
27
|
+
Service: () => Service53,
|
|
28
28
|
configured: () => configured6,
|
|
29
|
-
layer: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
layer: () => layer23,
|
|
30
|
+
node: () => node56
|
|
31
31
|
});
|
|
32
32
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
33
33
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,17 +39,17 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
39
39
|
}
|
|
40
40
|
var Files = Schema.Array(File2);
|
|
41
41
|
var key = Key3.make("core/instructions");
|
|
42
|
-
var
|
|
42
|
+
var Event9 = {
|
|
43
43
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
44
44
|
};
|
|
45
|
-
var
|
|
45
|
+
var Options5 = Schema.Struct({
|
|
46
46
|
project: Schema.optional(Schema.Boolean),
|
|
47
47
|
global: Schema.optional(Schema.Boolean)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service53 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
51
51
|
}
|
|
52
|
-
var
|
|
52
|
+
var layer23 = (options) => Layer.effect(Service53, Effect.gen(function* () {
|
|
53
53
|
const bus = yield* Service88;
|
|
54
54
|
const state = create4({
|
|
55
55
|
name: "instruction-discovery",
|
|
@@ -69,9 +69,9 @@ var layer22 = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
|
69
69
|
editor.available = false;
|
|
70
70
|
}
|
|
71
71
|
}),
|
|
72
|
-
notify: () => bus.publish(
|
|
72
|
+
notify: () => bus.publish(Event9.Updated, {}).pipe(Effect.asVoid)
|
|
73
73
|
});
|
|
74
|
-
const source = (value) =>
|
|
74
|
+
const source = (value) => make32({
|
|
75
75
|
key,
|
|
76
76
|
codec: Schema.toCodecJson(Files),
|
|
77
77
|
read: Effect.succeed(value),
|
|
@@ -87,7 +87,7 @@ var layer22 = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
|
87
87
|
return unavailable3;
|
|
88
88
|
return Array.from(current.files.values());
|
|
89
89
|
});
|
|
90
|
-
return
|
|
90
|
+
return Service53.of({
|
|
91
91
|
project: options?.project !== false,
|
|
92
92
|
global: options?.global !== false,
|
|
93
93
|
transform: state.transform,
|
|
@@ -103,12 +103,12 @@ var layer22 = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
|
103
103
|
}));
|
|
104
104
|
function configured6(options) {
|
|
105
105
|
return makeLocationNode({
|
|
106
|
-
service:
|
|
107
|
-
layer:
|
|
106
|
+
service: Service53,
|
|
107
|
+
layer: layer23(options),
|
|
108
108
|
deps: [node91]
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
|
-
var
|
|
111
|
+
var node56 = configured6();
|
|
112
112
|
function render(files) {
|
|
113
113
|
return files.map((file) => `Instructions from: ${file.path}
|
|
114
114
|
${file.content}`).join(`
|
|
@@ -139,4 +139,4 @@ ${render([after])}`;
|
|
|
139
139
|
`);
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
export { File2,
|
|
142
|
+
export { File2, Event9, Options5, Service53, layer23, configured6, node56, exports_instruction_discovery };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service87
|
|
3
|
+
} from "./mime-9kgf9jdc.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-d4v9tmah.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
@@ -20,7 +20,7 @@ import { Worktree } from "@opencode/schema/worktree";
|
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
21
|
var make22 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service87;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service11,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node13
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service11 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service11.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node13 = makeGlobalNode({ service: Service11, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service11, node13, exports_discovery };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveModel2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-a5fx33f2.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/identity.ts
|
|
9
9
|
var exports_identity = {};
|
|
10
10
|
__export(exports_identity, {
|
|
11
11
|
IdentityPlugin: () => exports_identity,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin39,
|
|
13
13
|
identity: () => identity2
|
|
14
14
|
});
|
|
15
15
|
import { SystemPart } from "@opencode/ai/effect";
|
|
@@ -24,7 +24,7 @@ function identity2(model) {
|
|
|
24
24
|
].join(`
|
|
25
25
|
`);
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var Plugin39 = define({
|
|
28
28
|
id: "opencode.prompt.identity",
|
|
29
29
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
30
30
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -37,4 +37,4 @@ var Plugin13 = define({
|
|
|
37
37
|
})
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
export { identity2,
|
|
40
|
+
export { identity2, Plugin39, exports_identity };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-t9s2jeab.js";
|
|
4
4
|
import {
|
|
5
5
|
Service88
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-z4azf69j.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
8
|
+
ID19,
|
|
9
|
+
Event19,
|
|
10
|
+
Service83
|
|
11
|
+
} from "./mime-0wcbjy84.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./mime-wws03c5r.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID18,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./mime-7qskbw9h.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./mime-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
23
|
ID17,
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service81
|
|
25
|
+
} from "./mime-00jtka8h.js";
|
|
26
26
|
import {
|
|
27
27
|
ID16
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./mime-dcsregwa.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./mime-1ex0ta2j.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/azure.ts
|
|
34
34
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -63,7 +63,7 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
63
63
|
}));
|
|
64
64
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
65
65
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
66
|
-
function
|
|
66
|
+
function make20(endpoints = {
|
|
67
67
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
68
68
|
management: "https://management.azure.com"
|
|
69
69
|
}) {
|
|
@@ -73,8 +73,8 @@ function make16(endpoints = {
|
|
|
73
73
|
const configured = yield* configuredSettings2(ID17.azure);
|
|
74
74
|
const processes = yield* AppProcess.Service;
|
|
75
75
|
const bus = yield* Service88;
|
|
76
|
-
const credentials = yield*
|
|
77
|
-
const providers = yield*
|
|
76
|
+
const credentials = yield* Service83;
|
|
77
|
+
const providers = yield* Service81;
|
|
78
78
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
79
79
|
const tokens = new Map;
|
|
80
80
|
const resourceIDs = new Map;
|
|
@@ -143,7 +143,7 @@ function make16(endpoints = {
|
|
|
143
143
|
});
|
|
144
144
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
145
145
|
const connection = yield* ctx.integration.connection.active(ID17.azure);
|
|
146
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
146
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID19.make(connection.id)) : undefined;
|
|
147
147
|
return { connection, resource: credentialResource(stored?.value) };
|
|
148
148
|
});
|
|
149
149
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -280,7 +280,7 @@ function make16(endpoints = {
|
|
|
280
280
|
models.update(ID17.azure, id, (draft) => Object.assign(draft, model));
|
|
281
281
|
}
|
|
282
282
|
});
|
|
283
|
-
yield* bus.subscribe(
|
|
283
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID18.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
284
284
|
yield* refresh().pipe(Effect.forkScoped);
|
|
285
285
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
286
286
|
const connection = yield* ctx.integration.connection.active(ID17.azure);
|
|
@@ -319,7 +319,7 @@ function make16(endpoints = {
|
|
|
319
319
|
})
|
|
320
320
|
});
|
|
321
321
|
}
|
|
322
|
-
var AzurePlugin2 =
|
|
322
|
+
var AzurePlugin2 = make20();
|
|
323
323
|
function resolveResourceName(settings, fallback) {
|
|
324
324
|
const configured = settings?.resourceName;
|
|
325
325
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -375,4 +375,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
375
375
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
376
376
|
}
|
|
377
377
|
|
|
378
|
-
export {
|
|
378
|
+
export { make20, AzurePlugin2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
content3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-sbya78hr.js";
|
|
4
4
|
import {
|
|
5
5
|
groups2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-vjf35v1f.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/claude-agent/sync/catch-up.ts
|
|
12
12
|
var exports_catch_up = {};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin47
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin47 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin9 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin47, exports_mcp_codemode_defaults };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./mime-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-4d2dtj2f.js";
|
|
4
4
|
import {
|
|
5
5
|
Service88,
|
|
6
6
|
node91
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-z4azf69j.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service83,
|
|
11
|
+
node86
|
|
12
|
+
} from "./mime-0wcbjy84.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service85,
|
|
15
|
+
node88
|
|
16
|
+
} from "./mime-ytr8kccq.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service65,
|
|
19
|
+
node67
|
|
20
|
+
} from "./mime-9b2zgqvh.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID20,
|
|
23
|
+
Service84,
|
|
24
|
+
node87
|
|
25
|
+
} from "./mime-2b56p890.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create4
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./mime-40y6dtc2.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID18,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service82,
|
|
34
|
+
node85
|
|
35
|
+
} from "./mime-7qskbw9h.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./mime-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError6,
|
|
45
|
+
Options: () => Options4,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service41,
|
|
53
53
|
Status: () => Status3,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured4,
|
|
56
|
+
layer: () => layer18,
|
|
57
|
+
node: () => node45
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError6 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -104,21 +104,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
104
104
|
var endpointLoads = makeUnsafe2();
|
|
105
105
|
var cloneConfig = (config) => structuredClone(config);
|
|
106
106
|
|
|
107
|
-
class
|
|
107
|
+
class Service41 extends Context.Service()("@opencode/MCP") {
|
|
108
108
|
}
|
|
109
|
-
var
|
|
109
|
+
var Options4 = Schema.Struct({
|
|
110
110
|
clientInfo: Schema.optional(Schema.Struct({
|
|
111
111
|
name: Schema.String,
|
|
112
112
|
version: Schema.String
|
|
113
113
|
}))
|
|
114
114
|
});
|
|
115
|
-
var
|
|
116
|
-
const location = yield*
|
|
117
|
-
const environment = yield*
|
|
115
|
+
var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service85;
|
|
117
|
+
const environment = yield* Service65;
|
|
118
118
|
const bus = yield* Service88;
|
|
119
|
-
const forms = yield*
|
|
120
|
-
const integration = yield*
|
|
121
|
-
const credentials = yield*
|
|
119
|
+
const forms = yield* Service84;
|
|
120
|
+
const integration = yield* Service82;
|
|
121
|
+
const credentials = yield* Service83;
|
|
122
122
|
const root = yield* Effect.scope;
|
|
123
123
|
const fork = yield* FiberSet.makeRuntime();
|
|
124
124
|
const servers = yield* Scope.fork(root, "parallel");
|
|
@@ -134,7 +134,7 @@ var layer13 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
134
134
|
return;
|
|
135
135
|
const remote = entry.config;
|
|
136
136
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
137
|
-
const integrationID =
|
|
137
|
+
const integrationID = ID18.make(suffix);
|
|
138
138
|
entry.integrationID = integrationID;
|
|
139
139
|
owned.add(integrationID);
|
|
140
140
|
const methodID = MethodID2.make(suffix);
|
|
@@ -150,7 +150,7 @@ var layer13 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
150
150
|
method: { id: methodID, type: "oauth", label: name },
|
|
151
151
|
authorize: () => Effect.gen(function* () {
|
|
152
152
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
153
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
153
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service83, credentials));
|
|
154
154
|
})
|
|
155
155
|
});
|
|
156
156
|
}).pipe(Scope.provide(scope));
|
|
@@ -158,19 +158,19 @@ var layer13 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
158
158
|
const requireServer = Effect.fnUntraced(function* (name) {
|
|
159
159
|
const entry = entries.get(name);
|
|
160
160
|
if (!entry)
|
|
161
|
-
return yield* new
|
|
161
|
+
return yield* new NotFoundError6({ server: name });
|
|
162
162
|
return { name, entry };
|
|
163
163
|
});
|
|
164
164
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
165
165
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
166
166
|
return;
|
|
167
167
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
168
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
168
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service83, credentials));
|
|
169
169
|
});
|
|
170
170
|
const elicitation = {
|
|
171
171
|
create: (input) => Effect.gen(function* () {
|
|
172
172
|
if (input.params.mode === "url") {
|
|
173
|
-
const formID =
|
|
173
|
+
const formID = ID20.create();
|
|
174
174
|
const elicitationID = input.params.elicitationId;
|
|
175
175
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
176
176
|
if (key)
|
|
@@ -273,7 +273,7 @@ var layer13 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
273
273
|
entry.scope = scope;
|
|
274
274
|
const authProvider = yield* connectProvider(entry);
|
|
275
275
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
276
|
-
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(
|
|
276
|
+
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(Service65, environment), Scope.provide(scope));
|
|
277
277
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
278
278
|
if (Exit.isSuccess(result)) {
|
|
279
279
|
entry.client = result.value.connection;
|
|
@@ -374,7 +374,7 @@ var layer13 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
374
374
|
let closed = false;
|
|
375
375
|
const result = yield* McpClient.connect(name, { type: "attached", transport }, location.directory, undefined, elicitation, options?.clientInfo).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
|
|
376
376
|
closed = true;
|
|
377
|
-
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
377
|
+
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service65, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
|
|
378
378
|
const register = Effect.gen(function* () {
|
|
379
379
|
if (closed) {
|
|
380
380
|
yield* Scope.close(scope, Exit.void);
|
|
@@ -453,7 +453,7 @@ var layer13 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
453
453
|
yield* startServer(name, entry);
|
|
454
454
|
}).pipe(locks.withLock(name));
|
|
455
455
|
});
|
|
456
|
-
fork(bus.subscribe(
|
|
456
|
+
fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
457
457
|
const state = create4({
|
|
458
458
|
name: "mcp",
|
|
459
459
|
initial: () => ({
|
|
@@ -479,7 +479,7 @@ var layer13 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
479
479
|
}),
|
|
480
480
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
481
481
|
});
|
|
482
|
-
return
|
|
482
|
+
return Service41.of({
|
|
483
483
|
transform: state.transform,
|
|
484
484
|
reload: state.reload,
|
|
485
485
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -612,14 +612,14 @@ function mergeCatalogs(catalogs) {
|
|
|
612
612
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
613
613
|
});
|
|
614
614
|
}
|
|
615
|
-
function
|
|
615
|
+
function configured4(options) {
|
|
616
616
|
return makeLocationNode({
|
|
617
|
-
service:
|
|
618
|
-
layer:
|
|
619
|
-
deps: [
|
|
617
|
+
service: Service41,
|
|
618
|
+
layer: layer18(options),
|
|
619
|
+
deps: [node88, node67, node91, node87, node85, node86]
|
|
620
620
|
});
|
|
621
621
|
}
|
|
622
|
-
var
|
|
622
|
+
var node45 = configured4();
|
|
623
623
|
function toElicitationField(key, property, required) {
|
|
624
624
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
625
625
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -670,4 +670,4 @@ function toElicitationField(key, property, required) {
|
|
|
670
670
|
}
|
|
671
671
|
}
|
|
672
672
|
|
|
673
|
-
export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
673
|
+
export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError6, ToolCallError2, Service41, Options4, layer18, configured4, node45, exports_mcp4 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-0wcbjy84.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID18,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-7qskbw9h.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./mime-yb20nhc3.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID18.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|