@opencode/core 0.0.0-dev-358 → 0.0.0-dev-365
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 +89 -89
- package/dist/aisdk-native.js +101 -101
- package/dist/aisdk.js +107 -107
- package/dist/app.js +9 -9
- package/dist/bus.js +83 -83
- package/dist/chunks/file-retention-00ve6mdn.js +18 -0
- package/dist/chunks/{wellknown-4ffhv9d7.js → file-retention-00zh2tpm.js} +8 -8
- package/dist/chunks/{wellknown-034tev2y.js → file-retention-034tev2y.js} +2 -2
- package/dist/chunks/{wellknown-34xj0nhf.js → file-retention-04tv7frf.js} +8 -8
- package/dist/chunks/{wellknown-114rd6c6.js → file-retention-07eksm9d.js} +8 -8
- package/dist/chunks/{wellknown-qqg9c0kv.js → file-retention-0ahs07zn.js} +4 -4
- package/dist/chunks/{wellknown-najt6d0d.js → file-retention-0cwk7jfm.js} +9 -9
- package/dist/chunks/{wellknown-kg3wa72j.js → file-retention-0ex8dcbt.js} +11 -11
- package/dist/chunks/{wellknown-rsjcqqy3.js → file-retention-0k3nfc9s.js} +14 -14
- package/dist/chunks/{wellknown-a9rd8v2b.js → file-retention-0psyaj3n.js} +12 -12
- package/dist/chunks/{wellknown-rmvcvm6w.js → file-retention-0ytw3hha.js} +12 -12
- package/dist/chunks/{wellknown-nrs16n5b.js → file-retention-0zcczs7a.js} +3 -3
- package/dist/chunks/{wellknown-9zf013pm.js → file-retention-14c3dy8f.js} +29 -29
- package/dist/chunks/{wellknown-rj7j5fvs.js → file-retention-15qtk8ma.js} +4 -4
- package/dist/chunks/{wellknown-5scxnw8r.js → file-retention-191gdv88.js} +6 -6
- package/dist/chunks/{wellknown-1aqsckx4.js → file-retention-1aqsckx4.js} +1 -1
- package/dist/chunks/{wellknown-1ep2p91f.js → file-retention-1ep2p91f.js} +2 -2
- package/dist/chunks/{wellknown-fe4xdxeg.js → file-retention-1ffma3v6.js} +6 -6
- package/dist/chunks/{wellknown-0tgfp88b.js → file-retention-1jv1g512.js} +18 -18
- package/dist/chunks/{wellknown-cps5kfgs.js → file-retention-1nxbehe5.js} +4 -4
- package/dist/chunks/{wellknown-pjv3ykf5.js → file-retention-1teqm9vw.js} +39 -39
- package/dist/chunks/{wellknown-1x2knyw4.js → file-retention-1x2knyw4.js} +1 -1
- package/dist/chunks/{wellknown-k5cdey41.js → file-retention-1xeesddd.js} +15 -15
- package/dist/chunks/{wellknown-1yq9hg58.js → file-retention-1yq9hg58.js} +1 -1
- package/dist/chunks/{wellknown-ckfh9hrw.js → file-retention-24xag21k.js} +12 -12
- package/dist/chunks/{wellknown-25h84942.js → file-retention-25h84942.js} +1 -1
- package/dist/chunks/{wellknown-zjas0r38.js → file-retention-26pa0b26.js} +8 -8
- package/dist/chunks/{wellknown-tb2mrvc9.js → file-retention-26wfx3k0.js} +4 -4
- package/dist/chunks/{wellknown-k082w1yn.js → file-retention-2cf4w7xq.js} +13 -13
- package/dist/chunks/{wellknown-74hrq8bk.js → file-retention-2d4gmz8y.js} +35 -35
- package/dist/chunks/{wellknown-dyz29spx.js → file-retention-2eqy3gj5.js} +11 -11
- package/dist/chunks/{wellknown-y1yncph6.js → file-retention-2k0y5jmk.js} +20 -20
- package/dist/chunks/{wellknown-9q8g9sv8.js → file-retention-2kg89srt.js} +4 -4
- package/dist/chunks/{wellknown-7xvyshzw.js → file-retention-2pb226t7.js} +3 -3
- package/dist/chunks/{wellknown-vjx57ng0.js → file-retention-2s6nzbwv.js} +48 -48
- package/dist/chunks/{wellknown-1156j3e1.js → file-retention-34r1mvkc.js} +17 -17
- package/dist/chunks/{wellknown-sg2r8ctw.js → file-retention-367hxp8h.js} +11 -11
- package/dist/chunks/{wellknown-btbkjnev.js → file-retention-36w0pb0f.js} +5 -5
- package/dist/chunks/{wellknown-5bxtajjx.js → file-retention-37fmbenv.js} +58 -58
- package/dist/chunks/{wellknown-fvjtryy6.js → file-retention-3g5n8p7a.js} +1 -1
- package/dist/chunks/{wellknown-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
- package/dist/chunks/{wellknown-3nnrz6f6.js → file-retention-3nnrz6f6.js} +1 -1
- package/dist/chunks/{wellknown-zvrxyw6e.js → file-retention-3pqbsxs8.js} +4 -4
- package/dist/chunks/{wellknown-n2pnf4rs.js → file-retention-3qczp77y.js} +2 -2
- package/dist/chunks/{wellknown-yj68nxdv.js → file-retention-3r49zhmj.js} +33 -33
- package/dist/chunks/{wellknown-e83p7v4f.js → file-retention-3rex4wkr.js} +193 -193
- package/dist/chunks/file-retention-3vca5scw.js +257 -0
- package/dist/chunks/{wellknown-40d3wtxe.js → file-retention-3vrm62xe.js} +8 -8
- package/dist/chunks/{wellknown-40y6dtc2.js → file-retention-40y6dtc2.js} +1 -1
- package/dist/chunks/{wellknown-r41sfy63.js → file-retention-40za9wsf.js} +6 -6
- package/dist/chunks/{wellknown-me7r16rb.js → file-retention-43nkkq55.js} +27 -27
- package/dist/chunks/{wellknown-ev2ytmz2.js → file-retention-45k1fat7.js} +88 -88
- package/dist/chunks/{wellknown-tpewv7rv.js → file-retention-47te9age.js} +5 -5
- package/dist/chunks/{wellknown-ee20801c.js → file-retention-494gazew.js} +18 -18
- package/dist/chunks/{wellknown-4d2dtj2f.js → file-retention-4d2dtj2f.js} +1 -1
- package/dist/chunks/{wellknown-4dx1dgte.js → file-retention-4dx1dgte.js} +1 -1
- package/dist/chunks/{wellknown-4f25tdd0.js → file-retention-4f25tdd0.js} +1 -1
- package/dist/chunks/{wellknown-055gykmf.js → file-retention-4fbe36vd.js} +32 -32
- package/dist/chunks/{wellknown-qjm3grwb.js → file-retention-4g48tjx4.js} +23 -23
- package/dist/chunks/{wellknown-8dfptpqb.js → file-retention-4gmbvmjy.js} +4 -4
- package/dist/chunks/{wellknown-jqcfnp0j.js → file-retention-4mtw7039.js} +14 -14
- package/dist/chunks/{wellknown-4pyp9zr9.js → file-retention-4pyp9zr9.js} +1 -1
- package/dist/chunks/{wellknown-qzwvdjgs.js → file-retention-4srsrmw7.js} +29 -29
- package/dist/chunks/{wellknown-4v008n1t.js → file-retention-4v008n1t.js} +1 -1
- package/dist/chunks/{wellknown-3wmhnv2g.js → file-retention-4x09kzkc.js} +21 -21
- package/dist/chunks/{wellknown-0zz0njtt.js → file-retention-5839xq93.js} +5 -5
- package/dist/chunks/{wellknown-2cj337h5.js → file-retention-5ckahk04.js} +40 -40
- package/dist/chunks/{wellknown-21pd4sh9.js → file-retention-5h3s1vfe.js} +35 -35
- package/dist/chunks/{wellknown-5m9w47nd.js → file-retention-5m9w47nd.js} +1 -1
- package/dist/chunks/{wellknown-fp8rc6cc.js → file-retention-5y8xnkg1.js} +23 -23
- package/dist/chunks/{wellknown-wnaxc5ww.js → file-retention-64jy80yv.js} +15 -15
- package/dist/chunks/{wellknown-vmzk0fb8.js → file-retention-651ahwxn.js} +45 -45
- package/dist/chunks/{wellknown-6esdw8yj.js → file-retention-6esdw8yj.js} +1 -1
- package/dist/chunks/{wellknown-z1j2ed1d.js → file-retention-6g1w79yt.js} +28 -28
- package/dist/chunks/{wellknown-t9zmkc8e.js → file-retention-6gh4xsn0.js} +12 -12
- package/dist/chunks/{wellknown-en8b50e9.js → file-retention-6m3pmzcb.js} +24 -24
- package/dist/chunks/{wellknown-akwr9qr2.js → file-retention-6p53pxzw.js} +13 -13
- package/dist/chunks/{wellknown-kmnny0ff.js → file-retention-6q2v7yes.js} +15 -15
- package/dist/chunks/{wellknown-q85rya1m.js → file-retention-6yakppr8.js} +6 -6
- package/dist/chunks/{wellknown-ftt3arkd.js → file-retention-6yzxzbn5.js} +22 -22
- package/dist/chunks/{wellknown-dvkwagtj.js → file-retention-710xrkf2.js} +9 -9
- package/dist/chunks/{wellknown-76cb1hcw.js → file-retention-76cb1hcw.js} +1 -1
- package/dist/chunks/{wellknown-80mg3ag8.js → file-retention-775hqbnd.js} +3 -3
- package/dist/chunks/{wellknown-jv5ccajn.js → file-retention-78p2h4ex.js} +5 -5
- package/dist/chunks/{wellknown-wvr8xscb.js → file-retention-79k544d0.js} +7 -7
- package/dist/chunks/{wellknown-m2bata8q.js → file-retention-7bh7de7r.js} +21 -21
- package/dist/chunks/{wellknown-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
- package/dist/chunks/{wellknown-7kr66rt3.js → file-retention-7kr66rt3.js} +1 -1
- package/dist/chunks/{wellknown-hf6487b2.js → file-retention-7p2pbjq6.js} +11 -11
- package/dist/chunks/{wellknown-vp0f31x4.js → file-retention-7s7r6cce.js} +14 -14
- package/dist/chunks/{wellknown-ddvn7d3w.js → file-retention-7tpyp9vw.js} +8 -8
- package/dist/chunks/{wellknown-7w2ypzdf.js → file-retention-7w2ypzdf.js} +1 -1
- package/dist/chunks/{wellknown-bpqzq33j.js → file-retention-7xdaqeat.js} +30 -30
- package/dist/chunks/{wellknown-ny5wg8kf.js → file-retention-806dcycn.js} +44 -44
- package/dist/chunks/{wellknown-sfzvze88.js → file-retention-81vzgppv.js} +6 -6
- package/dist/chunks/{wellknown-tk1a1sxf.js → file-retention-82d21a7w.js} +6 -6
- package/dist/chunks/{wellknown-gk4db1x7.js → file-retention-854masfb.js} +7 -7
- package/dist/chunks/{wellknown-fzjyfb9e.js → file-retention-85va0fa0.js} +18 -18
- package/dist/chunks/{wellknown-epcwhvcc.js → file-retention-86bhhzhr.js} +6 -6
- package/dist/chunks/{wellknown-89287pr7.js → file-retention-89287pr7.js} +1 -1
- package/dist/chunks/{wellknown-2hj7r1wd.js → file-retention-8dngg074.js} +23 -23
- package/dist/chunks/{wellknown-8htnzefr.js → file-retention-8h2hwcgr.js} +3 -3
- package/dist/chunks/{wellknown-0ssq8yjy.js → file-retention-8jgevw96.js} +4 -4
- package/dist/chunks/file-retention-8jqjkaeg.js +26 -0
- package/dist/chunks/{wellknown-vshra0rt.js → file-retention-8qbjkpdc.js} +5 -5
- package/dist/chunks/{wellknown-8wtp7s3z.js → file-retention-8wtp7s3z.js} +1 -1
- package/dist/chunks/{wellknown-90zstvax.js → file-retention-90zstvax.js} +1 -1
- package/dist/chunks/{wellknown-pmz1y35q.js → file-retention-92zsya3r.js} +15 -15
- package/dist/chunks/{wellknown-f341sazs.js → file-retention-94e33dpz.js} +3 -3
- package/dist/chunks/{wellknown-rtb1tmc5.js → file-retention-96djdqw5.js} +7 -7
- package/dist/chunks/{wellknown-h5c4mtjq.js → file-retention-97c1910e.js} +8 -8
- package/dist/chunks/{wellknown-n6yd116b.js → file-retention-97zw14d0.js} +2 -2
- package/dist/chunks/{wellknown-eyv077tq.js → file-retention-98dmdzfy.js} +22 -22
- package/dist/chunks/{wellknown-js697kss.js → file-retention-9anrwwjk.js} +11 -11
- package/dist/chunks/{wellknown-dp3359b6.js → file-retention-9b1d26tq.js} +6 -6
- package/dist/chunks/{wellknown-gjt9x54v.js → file-retention-9cvqxzpt.js} +14 -14
- package/dist/chunks/{wellknown-dv96216k.js → file-retention-9sy1j1hj.js} +4 -4
- package/dist/chunks/{wellknown-mghzgwa1.js → file-retention-a1a5n2rq.js} +26 -26
- package/dist/chunks/{wellknown-2sg078pp.js → file-retention-a2wbfja7.js} +16 -16
- package/dist/chunks/{wellknown-phqpcknt.js → file-retention-adym558h.js} +10 -10
- package/dist/chunks/{wellknown-c5pa8ms9.js → file-retention-ak3jkmqz.js} +47 -47
- package/dist/chunks/{wellknown-jz74e53v.js → file-retention-aq0xw1y6.js} +8 -8
- package/dist/chunks/{wellknown-g66bntd9.js → file-retention-aqaf6eqh.js} +4 -4
- package/dist/chunks/{wellknown-ayjs7tqn.js → file-retention-ayjs7tqn.js} +2 -2
- package/dist/chunks/{wellknown-qenfpjdf.js → file-retention-b5b5s7sc.js} +11 -11
- package/dist/chunks/{wellknown-b6vsg801.js → file-retention-b6vsg801.js} +2 -2
- package/dist/chunks/{wellknown-vd2ph57c.js → file-retention-b70m0jnc.js} +14 -14
- package/dist/chunks/{wellknown-vhp3tcda.js → file-retention-bah3z096.js} +5 -5
- package/dist/chunks/{wellknown-xd9cc171.js → file-retention-bstexjd6.js} +5 -5
- package/dist/chunks/{wellknown-sec3bgvw.js → file-retention-bzyef7s6.js} +27 -27
- package/dist/chunks/{wellknown-dq1qrxfc.js → file-retention-chp37d0z.js} +16 -16
- package/dist/chunks/{wellknown-pnwsrq7c.js → file-retention-cmwydw43.js} +8 -8
- package/dist/chunks/{wellknown-365eavge.js → file-retention-cpdsp3va.js} +4 -4
- package/dist/chunks/{wellknown-jcgfgyf5.js → file-retention-ct67btrp.js} +5 -5
- package/dist/chunks/{wellknown-6h8vcvjm.js → file-retention-ctmpqb7w.js} +9 -9
- package/dist/chunks/{wellknown-cwrgdav8.js → file-retention-cwrgdav8.js} +2 -2
- package/dist/chunks/{wellknown-3r17c5hc.js → file-retention-d2dt6bgk.js} +5 -5
- package/dist/chunks/{wellknown-d4v9tmah.js → file-retention-d4v9tmah.js} +2 -2
- package/dist/chunks/{wellknown-beq15d04.js → file-retention-db2n32dy.js} +17 -17
- package/dist/chunks/{wellknown-8f4a2z2r.js → file-retention-dbwt9n8c.js} +9 -9
- package/dist/chunks/{wellknown-gcch2yc8.js → file-retention-dnz500gn.js} +40 -40
- package/dist/chunks/{wellknown-3r253yht.js → file-retention-dp29q3vk.js} +24 -24
- package/dist/chunks/{wellknown-ch2z1gm7.js → file-retention-dpqv5et8.js} +25 -25
- package/dist/chunks/{wellknown-d56v2em7.js → file-retention-dqyf594t.js} +9 -9
- package/dist/chunks/{wellknown-dt77769w.js → file-retention-dt77769w.js} +1 -1
- package/dist/chunks/{wellknown-j46ks9ar.js → file-retention-dwq3t05f.js} +20 -20
- package/dist/chunks/{wellknown-2hkn2wbz.js → file-retention-dx78x4wn.js} +9 -9
- package/dist/chunks/{wellknown-vsnnaxjq.js → file-retention-e45fk36t.js} +4 -4
- package/dist/chunks/{wellknown-rqvsbm9p.js → file-retention-e7v1mvr4.js} +10 -10
- package/dist/chunks/{wellknown-1tqf10dq.js → file-retention-e82mxxdn.js} +3 -3
- package/dist/chunks/{wellknown-e834z07m.js → file-retention-e834z07m.js} +1 -1
- package/dist/chunks/{wellknown-pr0m3049.js → file-retention-e902kjc6.js} +25 -25
- package/dist/chunks/{wellknown-eqw4pqj1.js → file-retention-eqw4pqj1.js} +2 -2
- package/dist/chunks/{wellknown-9b87b64e.js → file-retention-ewzekqf7.js} +42 -42
- package/dist/chunks/{wellknown-wv6dba78.js → file-retention-f49n8c6f.js} +20 -20
- package/dist/chunks/{wellknown-p5fe7y6b.js → file-retention-f7fpk87n.js} +4 -4
- package/dist/chunks/{wellknown-mc1zj4hc.js → file-retention-fb1e82c3.js} +26 -26
- package/dist/chunks/{wellknown-fffv3p7h.js → file-retention-fffv3p7h.js} +1 -1
- package/dist/chunks/{wellknown-fg9p65nk.js → file-retention-fg9p65nk.js} +2 -2
- package/dist/chunks/{wellknown-msqvrap6.js → file-retention-fgd6dfzj.js} +4 -4
- package/dist/chunks/{wellknown-0phw887k.js → file-retention-fgrd7tsk.js} +4 -4
- package/dist/chunks/{wellknown-dgy090gd.js → file-retention-fhnd73k8.js} +5 -5
- package/dist/chunks/{wellknown-d1nmym44.js → file-retention-frqbw07m.js} +55 -55
- package/dist/chunks/{wellknown-bzn0hsmy.js → file-retention-fsydmy3v.js} +25 -25
- package/dist/chunks/{wellknown-fznmdakp.js → file-retention-fznmdakp.js} +1 -1
- package/dist/chunks/{wellknown-yv1rqhcp.js → file-retention-g4r2wteh.js} +12 -12
- package/dist/chunks/{wellknown-pkv8zhq8.js → file-retention-g5tj6nqn.js} +5 -5
- package/dist/chunks/{wellknown-s1k66rcg.js → file-retention-g8as110m.js} +24 -24
- package/dist/chunks/{wellknown-gbjdnr5j.js → file-retention-gbjdnr5j.js} +2 -2
- package/dist/chunks/{wellknown-gcjdgkn2.js → file-retention-gcjdgkn2.js} +2 -2
- package/dist/chunks/{wellknown-xyjx3jfr.js → file-retention-gfg8h6be.js} +31 -31
- package/dist/chunks/{wellknown-j92e3nqs.js → file-retention-gk0jamvw.js} +11 -11
- package/dist/chunks/{wellknown-1pat95gt.js → file-retention-gmp4mkqx.js} +25 -25
- package/dist/chunks/{wellknown-tg7s7b5t.js → file-retention-gxs71cxp.js} +4 -4
- package/dist/chunks/{wellknown-gtsg26mj.js → file-retention-h1pmbafy.js} +33 -33
- package/dist/chunks/{wellknown-wpx0cf3q.js → file-retention-h2padk5z.js} +9 -9
- package/dist/chunks/{wellknown-cx1yqc85.js → file-retention-h525pamn.js} +84 -84
- package/dist/chunks/{wellknown-hh7kjqtw.js → file-retention-hh7kjqtw.js} +1 -1
- package/dist/chunks/{wellknown-7nqkf5r1.js → file-retention-hmhcwfpk.js} +8 -8
- package/dist/chunks/{wellknown-ymqs3d2z.js → file-retention-hp6zvnkh.js} +12 -12
- package/dist/chunks/{wellknown-hpg1pkwy.js → file-retention-hpg1pkwy.js} +1 -1
- package/dist/chunks/{wellknown-1bt4wc7h.js → file-retention-hykm9enp.js} +12 -12
- package/dist/chunks/{wellknown-chstmfxk.js → file-retention-hz3tdqq2.js} +15 -15
- package/dist/chunks/{wellknown-ctxsgcm2.js → file-retention-j0p3wt22.js} +8 -8
- package/dist/chunks/{wellknown-6zwwjdvx.js → file-retention-j269d26h.js} +10 -10
- package/dist/chunks/{wellknown-knpbkrg7.js → file-retention-j376ae4e.js} +4 -4
- package/dist/chunks/{wellknown-7x1j9rhd.js → file-retention-j3r2bmag.js} +34 -34
- package/dist/chunks/{wellknown-xm2er2z8.js → file-retention-j8e99ceq.js} +14 -14
- package/dist/chunks/{wellknown-vqqt88p3.js → file-retention-j9kgwwfb.js} +3 -3
- package/dist/chunks/{wellknown-ze75qvmd.js → file-retention-j9nxzz3g.js} +3 -3
- package/dist/chunks/{wellknown-y196j8v9.js → file-retention-jjxf7reg.js} +13 -13
- package/dist/chunks/{wellknown-v3553gv9.js → file-retention-jstr99pf.js} +7 -7
- package/dist/chunks/{wellknown-j1st84bn.js → file-retention-jsweddnj.js} +27 -27
- package/dist/chunks/{wellknown-jtnps1zs.js → file-retention-jtnps1zs.js} +2 -2
- package/dist/chunks/{wellknown-yttqhm7h.js → file-retention-jtqae1ex.js} +12 -12
- package/dist/chunks/{wellknown-2r1es908.js → file-retention-jxd6f16v.js} +4 -4
- package/dist/chunks/{wellknown-jg11hrrc.js → file-retention-k3cx6fhe.js} +4 -4
- package/dist/chunks/{wellknown-gfnmyn48.js → file-retention-k5aja770.js} +8 -8
- package/dist/chunks/{wellknown-hrh0r61w.js → file-retention-k92vzxqv.js} +7 -7
- package/dist/chunks/{wellknown-5swrknzd.js → file-retention-kgk83ggj.js} +9 -9
- package/dist/chunks/{wellknown-0w7hd0br.js → file-retention-knm2fjmh.js} +41 -41
- package/dist/chunks/{wellknown-69mrket9.js → file-retention-kps772xv.js} +6 -6
- package/dist/chunks/{wellknown-jvjrfft4.js → file-retention-krj4kdcf.js} +5 -5
- package/dist/chunks/{wellknown-kt3bjfbg.js → file-retention-kt3bjfbg.js} +1 -1
- package/dist/chunks/{wellknown-2bswbpgz.js → file-retention-kzdam8c6.js} +7 -7
- package/dist/chunks/{wellknown-m1714858.js → file-retention-m1714858.js} +1 -1
- package/dist/chunks/{wellknown-est5w5t7.js → file-retention-m4yf5w44.js} +4 -4
- package/dist/chunks/{wellknown-ny20e7ar.js → file-retention-m70wzxpa.js} +16 -16
- package/dist/chunks/{wellknown-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
- package/dist/chunks/{wellknown-mb7mbhnz.js → file-retention-mb7mbhnz.js} +3 -3
- package/dist/chunks/{wellknown-8srhw74s.js → file-retention-mgc4smjp.js} +4 -4
- package/dist/chunks/{wellknown-wqhf2kj3.js → file-retention-mh0grf13.js} +82 -82
- package/dist/chunks/{wellknown-rfty8g2e.js → file-retention-mkv9ptyg.js} +20 -20
- package/dist/chunks/{wellknown-9dsh5hkc.js → file-retention-mxwm4x62.js} +7 -7
- package/dist/chunks/{wellknown-ygnyxm4b.js → file-retention-mygmh7kq.js} +3 -3
- package/dist/chunks/{wellknown-5ejrbqns.js → file-retention-mzaqyawz.js} +13 -13
- package/dist/chunks/{wellknown-390k9sbc.js → file-retention-n67qzrze.js} +25 -25
- package/dist/chunks/{wellknown-qscc63tw.js → file-retention-n6emdgzs.js} +5 -5
- package/dist/chunks/{wellknown-nah043kf.js → file-retention-nah043kf.js} +1 -1
- package/dist/chunks/{wellknown-888nng90.js → file-retention-ne5yss8b.js} +15 -15
- package/dist/chunks/{wellknown-j0n0243v.js → file-retention-nnajjmm5.js} +23 -23
- package/dist/chunks/{wellknown-zrf6zj2q.js → file-retention-nnwz0q5b.js} +7 -7
- package/dist/chunks/{wellknown-vx4y79tr.js → file-retention-nq0jwwks.js} +11 -11
- package/dist/chunks/{wellknown-t6hwzzx3.js → file-retention-ntck3dtd.js} +18 -18
- package/dist/chunks/{wellknown-734tpjk6.js → file-retention-ntfv8mte.js} +27 -27
- package/dist/chunks/{wellknown-q4pz9sky.js → file-retention-nttcdzvb.js} +35 -35
- package/dist/chunks/{wellknown-m3p1bexb.js → file-retention-nvwskqe1.js} +12 -12
- package/dist/chunks/{wellknown-sdn2zcx3.js → file-retention-nyfhe47q.js} +2 -2
- package/dist/chunks/{wellknown-p015t6z3.js → file-retention-p015t6z3.js} +2 -2
- package/dist/chunks/{wellknown-cscebcad.js → file-retention-p6bnfrdb.js} +15 -15
- package/dist/chunks/{wellknown-v8py75g4.js → file-retention-patmbawk.js} +28 -28
- package/dist/chunks/{wellknown-detgddfv.js → file-retention-pb4hadtr.js} +3 -3
- package/dist/chunks/{wellknown-0x5pfh39.js → file-retention-pk2cp82e.js} +13 -13
- package/dist/chunks/{wellknown-pknna89w.js → file-retention-pknna89w.js} +1 -1
- package/dist/chunks/file-retention-pxb8fstm.js +539 -0
- package/dist/chunks/{wellknown-yzqsn61h.js → file-retention-q88jad4y.js} +3 -3
- package/dist/chunks/{wellknown-s085mem7.js → file-retention-q98txggg.js} +25 -25
- package/dist/chunks/{wellknown-bq667wdw.js → file-retention-q9jzns4g.js} +11 -11
- package/dist/chunks/{wellknown-fp8nst1z.js → file-retention-qbdxqqrf.js} +5 -5
- package/dist/chunks/{wellknown-9w9ayf25.js → file-retention-qcb68xjt.js} +35 -35
- package/dist/chunks/{wellknown-k46dd5bg.js → file-retention-qfz6bxfd.js} +4 -4
- package/dist/chunks/{wellknown-c2mxr60t.js → file-retention-qh3ce2zs.js} +9 -9
- package/dist/chunks/{wellknown-pkezabwa.js → file-retention-qn78z9wr.js} +13 -13
- package/dist/chunks/{wellknown-qp7r0hxv.js → file-retention-qp7r0hxv.js} +1 -1
- package/dist/chunks/{wellknown-qqvy8y24.js → file-retention-qqvy8y24.js} +1 -1
- package/dist/chunks/{wellknown-5wamr1vp.js → file-retention-qy4bfg0t.js} +33 -33
- package/dist/chunks/{wellknown-nt5k9amf.js → file-retention-qz6mm41d.js} +41 -41
- package/dist/chunks/{wellknown-8t99kr38.js → file-retention-r17fbvme.js} +4 -4
- package/dist/chunks/{wellknown-cjkj17aw.js → file-retention-r7qkq1cq.js} +8 -8
- package/dist/chunks/{wellknown-rb9dy4dg.js → file-retention-rb9dy4dg.js} +1 -1
- package/dist/chunks/{wellknown-660m4eb8.js → file-retention-rf1cvd9q.js} +7 -7
- package/dist/chunks/{wellknown-3wcxez96.js → file-retention-rfkt08md.js} +18 -18
- package/dist/chunks/{wellknown-05zgt6w8.js → file-retention-rjh8ndqb.js} +7 -7
- package/dist/chunks/{wellknown-6q8jj3zs.js → file-retention-rjnvnctx.js} +3 -3
- package/dist/chunks/{wellknown-8msaa9hz.js → file-retention-rjxvw18s.js} +24 -24
- package/dist/chunks/{wellknown-r1fnsf7p.js → file-retention-rmv7fhs4.js} +6 -6
- package/dist/chunks/{wellknown-dgagqphw.js → file-retention-rp5gk1vb.js} +15 -15
- package/dist/chunks/{wellknown-975ezy4a.js → file-retention-rqhxkn0m.js} +9 -9
- package/dist/chunks/{wellknown-rt5dr6hb.js → file-retention-rt5dr6hb.js} +1 -1
- package/dist/chunks/{wellknown-7y5gfyyn.js → file-retention-rw9ek0wk.js} +19 -19
- package/dist/chunks/{wellknown-pah254n3.js → file-retention-s1ba0vj0.js} +4 -4
- package/dist/chunks/{wellknown-8tacrk44.js → file-retention-s1mrn2p8.js} +17 -17
- package/dist/chunks/{wellknown-s6h2s3rz.js → file-retention-s6h2s3rz.js} +1 -1
- package/dist/chunks/{wellknown-zf7524d8.js → file-retention-s6nkmqs6.js} +9 -9
- package/dist/chunks/{wellknown-c5y15mwt.js → file-retention-s738pv3k.js} +7 -7
- package/dist/chunks/{wellknown-r2etx18s.js → file-retention-s9hrvzk4.js} +18 -18
- package/dist/chunks/{wellknown-h6ntggah.js → file-retention-s9k2g5gd.js} +18 -18
- package/dist/chunks/{wellknown-sa3fpqfw.js → file-retention-sa3fpqfw.js} +2 -2
- package/dist/chunks/{wellknown-sbya78hr.js → file-retention-sbya78hr.js} +1 -1
- package/dist/chunks/{wellknown-1scgcwfj.js → file-retention-sbz71ybr.js} +3 -3
- package/dist/chunks/{wellknown-nqn6hk24.js → file-retention-sfdpshmh.js} +24 -24
- package/dist/chunks/{wellknown-kekyjsxv.js → file-retention-sk03a6mt.js} +11 -11
- package/dist/chunks/{wellknown-sqjzf8x2.js → file-retention-sqjzf8x2.js} +1 -1
- package/dist/chunks/{wellknown-zny90n21.js → file-retention-srwhahpg.js} +27 -27
- package/dist/chunks/{wellknown-svcy3p9a.js → file-retention-svcy3p9a.js} +1 -1
- package/dist/chunks/{wellknown-kqe4tny1.js → file-retention-t388y8mj.js} +16 -16
- package/dist/chunks/{wellknown-am6r9jwm.js → file-retention-t7k13e43.js} +25 -25
- package/dist/chunks/{wellknown-v9xtgtd2.js → file-retention-tcgeqmk1.js} +3 -3
- package/dist/chunks/{wellknown-tczq8hjw.js → file-retention-tczq8hjw.js} +1 -1
- package/dist/chunks/{wellknown-j25maswg.js → file-retention-tk62q1re.js} +16 -16
- package/dist/chunks/{wellknown-e85crny8.js → file-retention-tkm9xe8p.js} +10 -10
- package/dist/chunks/{wellknown-20k3dskq.js → file-retention-tp6ysjfh.js} +13 -13
- package/dist/chunks/{wellknown-twssxy5n.js → file-retention-twssxy5n.js} +2 -2
- package/dist/chunks/{wellknown-v2r1d0zg.js → file-retention-v2r1d0zg.js} +1 -1
- package/dist/chunks/{wellknown-jfnccrt4.js → file-retention-vdv0ex2k.js} +16 -16
- package/dist/chunks/{wellknown-x61z380y.js → file-retention-vh5mfw8y.js} +19 -19
- package/dist/chunks/{wellknown-vjf35v1f.js → file-retention-vjf35v1f.js} +1 -1
- package/dist/chunks/{wellknown-jkdcm5hg.js → file-retention-vmxsyvj6.js} +4 -4
- package/dist/chunks/{wellknown-x6zyksve.js → file-retention-vn3jxh88.js} +38 -38
- package/dist/chunks/{wellknown-qn04yq3m.js → file-retention-vnh9n1ga.js} +5 -5
- package/dist/chunks/{wellknown-g8efnmcb.js → file-retention-vx8dvbvz.js} +23 -23
- package/dist/chunks/{wellknown-g96jg5ma.js → file-retention-w3gtzgrj.js} +19 -19
- package/dist/chunks/{wellknown-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
- package/dist/chunks/{wellknown-erjfhfv7.js → file-retention-w4y7paq5.js} +15 -15
- package/dist/chunks/{wellknown-wakvkjy4.js → file-retention-wakvkjy4.js} +1 -1
- package/dist/chunks/{wellknown-wd87259q.js → file-retention-wd87259q.js} +1 -1
- package/dist/chunks/{wellknown-wegkxhrn.js → file-retention-wegkxhrn.js} +2 -2
- package/dist/chunks/{wellknown-wnhgecwx.js → file-retention-wnhgecwx.js} +1 -1
- package/dist/chunks/{wellknown-jqwqr07f.js → file-retention-wvj287hh.js} +16 -16
- package/dist/chunks/{wellknown-r14q41da.js → file-retention-wyndpgwe.js} +31 -31
- package/dist/chunks/{wellknown-mehbcs3e.js → file-retention-wz8egk7j.js} +29 -29
- package/dist/chunks/{wellknown-vxhhthes.js → file-retention-x264bg3j.js} +19 -19
- package/dist/chunks/{wellknown-kn3z1jg3.js → file-retention-x4fv0bsv.js} +21 -21
- package/dist/chunks/{wellknown-b8qxy41g.js → file-retention-x5pnbcqp.js} +12 -12
- package/dist/chunks/{wellknown-1wg8t21p.js → file-retention-x7f1c0hn.js} +11 -11
- package/dist/chunks/{wellknown-pw64sj0x.js → file-retention-x8493zn3.js} +45 -45
- package/dist/chunks/{wellknown-y3g3nwzn.js → file-retention-xcabrysh.js} +19 -19
- package/dist/chunks/{wellknown-kbgs7tyr.js → file-retention-xksw6ev0.js} +4 -4
- package/dist/chunks/{wellknown-tys7exqd.js → file-retention-xsk8rjgw.js} +13 -13
- package/dist/chunks/{wellknown-g3jx5grp.js → file-retention-y039zdvd.js} +25 -25
- package/dist/chunks/{wellknown-nttn14j9.js → file-retention-y4n6pw34.js} +4 -4
- package/dist/chunks/{wellknown-0t098hqn.js → file-retention-y906m0ew.js} +5 -5
- package/dist/chunks/{wellknown-6ms37rsb.js → file-retention-yabd269j.js} +34 -34
- package/dist/chunks/{wellknown-yara3q77.js → file-retention-yara3q77.js} +2 -2
- package/dist/chunks/{wellknown-yb20nhc3.js → file-retention-yb20nhc3.js} +1 -1
- package/dist/chunks/{wellknown-6zps0eyt.js → file-retention-ybws1qgk.js} +6 -6
- package/dist/chunks/{wellknown-ae9b9yss.js → file-retention-ye813fd9.js} +13 -13
- package/dist/chunks/{wellknown-tqebrrg5.js → file-retention-yjtwjy4a.js} +27 -27
- package/dist/chunks/{wellknown-29n0xt5w.js → file-retention-ykwwpp75.js} +9 -9
- package/dist/chunks/{wellknown-yr705xyq.js → file-retention-yr705xyq.js} +1 -1
- package/dist/chunks/{wellknown-fdyyj7wt.js → file-retention-yx1bfhrh.js} +16 -16
- package/dist/chunks/{wellknown-pp7snq48.js → file-retention-yxq23fa0.js} +41 -41
- package/dist/chunks/{wellknown-wk87sf6t.js → file-retention-z9ak6f41.js} +22 -22
- package/dist/chunks/{wellknown-8srgefnt.js → file-retention-zb6fyjd2.js} +21 -21
- package/dist/chunks/{wellknown-v1d5684s.js → file-retention-zdcpgs8q.js} +22 -22
- package/dist/chunks/{wellknown-ync8zv9y.js → file-retention-zexg1nap.js} +35 -35
- package/dist/chunks/{wellknown-55cw6pea.js → file-retention-zm4kedsn.js} +18 -18
- package/dist/chunks/{wellknown-zytee521.js → file-retention-zpf912r4.js} +32 -32
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +144 -144
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +150 -150
- package/dist/command.js +93 -93
- package/dist/config/discovery.js +94 -94
- 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 +111 -111
- package/dist/config/plugin/agent.js +129 -129
- package/dist/config/plugin/command.js +227 -227
- package/dist/config/plugin/compaction.js +170 -170
- package/dist/config/plugin/compatibility.js +149 -149
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +130 -130
- package/dist/config/plugin/image.js +127 -127
- package/dist/config/plugin/instruction.js +129 -129
- package/dist/config/plugin/location-watcher.js +131 -131
- package/dist/config/plugin/mcp.js +136 -136
- package/dist/config/plugin/policy.js +129 -129
- package/dist/config/plugin/provider.js +129 -129
- package/dist/config/plugin/reference.js +131 -131
- package/dist/config/plugin/shell.js +131 -131
- package/dist/config/plugin/skill-file.js +145 -145
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +152 -152
- package/dist/config/plugin/snapshot.js +129 -129
- package/dist/config/plugin/source.js +130 -130
- package/dist/config/plugin/tool-output.js +130 -130
- package/dist/config/plugin/websearch.js +130 -130
- package/dist/config/plugin/worktree.js +131 -131
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +130 -130
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +76 -76
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/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.gen.js +59 -59
- package/dist/database/migration.js +61 -61
- 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 +99 -99
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +424 -424
- 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 +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -107
- 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 +84 -84
- package/dist/file-access.js +155 -155
- package/dist/file-mutation.js +106 -106
- 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 +90 -90
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +242 -242
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +111 -111
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +112 -112
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +99 -99
- package/dist/generate.js +117 -117
- 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 +103 -103
- 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 +1 -1
- 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 +4 -4
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +415 -415
- package/dist/instruction-discovery.js +90 -90
- package/dist/instructions/builtins.js +99 -99
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +95 -95
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +83 -83
- package/dist/location-activity.js +173 -173
- package/dist/location-lifecycle.js +149 -149
- package/dist/location-service-map.js +98 -98
- package/dist/location-services.js +412 -412
- package/dist/location.js +99 -99
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +103 -103
- package/dist/mcp/index.js +115 -115
- package/dist/mcp/instructions.js +180 -180
- package/dist/mcp/oauth.js +85 -85
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +102 -102
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +105 -105
- package/dist/model-resolver.js +111 -111
- package/dist/model-retry.js +1 -1
- package/dist/model.js +112 -112
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +114 -114
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +88 -88
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +150 -150
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +94 -94
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +85 -85
- package/dist/plugin/agent.js +84 -84
- package/dist/plugin/command.js +112 -112
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +233 -233
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +391 -391
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +109 -109
- package/dist/plugin/module.js +128 -128
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +145 -145
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +103 -103
- package/dist/plugin/provider/azure.js +129 -129
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +129 -129
- package/dist/plugin/provider/claude-agent/aisdk.js +116 -116
- 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 +3 -3
- 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 +144 -144
- package/dist/plugin/provider/claude-agent/instructions.js +111 -111
- package/dist/plugin/provider/claude-agent/integration.js +112 -112
- 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 +107 -107
- package/dist/plugin/provider/claude-agent/session.js +109 -109
- 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 +127 -127
- package/dist/plugin/provider/cloudflare-workers-ai.js +127 -127
- package/dist/plugin/provider/configured.js +125 -125
- package/dist/plugin/provider/credential-settings.js +84 -84
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +105 -105
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +107 -107
- package/dist/plugin/provider/gitlab.js +106 -106
- package/dist/plugin/provider/google-vertex.js +126 -126
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +88 -88
- package/dist/plugin/provider/lmstudio.js +138 -138
- package/dist/plugin/provider/local.js +135 -135
- package/dist/plugin/provider/modal.js +104 -104
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +138 -138
- package/dist/plugin/provider/openai-context-caps.js +102 -102
- package/dist/plugin/provider/openai.js +131 -131
- package/dist/plugin/provider/opencode.js +131 -131
- package/dist/plugin/provider/openrouter.js +103 -103
- package/dist/plugin/provider/poe.js +89 -89
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +103 -103
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +128 -128
- package/dist/plugin/provider/vllm.js +138 -138
- package/dist/plugin/provider/xai.js +103 -103
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +209 -209
- package/dist/plugin/sdk.js +84 -84
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +148 -148
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +401 -401
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +98 -98
- package/dist/plugin/vcs/hg.js +98 -98
- package/dist/plugin/verbosity.js +105 -105
- package/dist/plugin/warming.js +127 -127
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +240 -240
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +98 -98
- package/dist/provider.js +109 -109
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +102 -102
- package/dist/reference/instructions.js +100 -100
- package/dist/reference.js +102 -102
- package/dist/repository-cache.js +92 -92
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +98 -98
- package/dist/schedule/check.js +238 -238
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +246 -246
- 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 +128 -128
- package/dist/session/command.js +84 -84
- package/dist/session/compaction.js +170 -170
- package/dist/session/context.js +197 -197
- package/dist/session/diff.js +100 -100
- 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 +159 -159
- package/dist/session/generate.js +197 -197
- package/dist/session/history.js +135 -135
- package/dist/session/inbox.js +146 -146
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +89 -89
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +142 -142
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +167 -167
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +163 -163
- package/dist/session/projector.js +142 -142
- package/dist/session/prompt.js +147 -147
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +138 -138
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +247 -247
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +112 -112
- package/dist/session/runner/publish-llm-event.js +148 -148
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +160 -160
- package/dist/session/runner/to-llm-message.js +136 -136
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +177 -177
- package/dist/session/shell.js +143 -143
- package/dist/session/skill.js +146 -146
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +83 -83
- package/dist/session/store.js +141 -141
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +227 -227
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +199 -199
- package/dist/session/to-session-error.js +147 -147
- package/dist/session/transfer.js +238 -238
- package/dist/session/usage.js +1 -1
- package/dist/session.js +229 -229
- 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 +143 -143
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +150 -150
- package/dist/skill.js +153 -153
- package/dist/snapshot.js +101 -101
- 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 +179 -179
- package/dist/tool/plugin/edit.js +161 -161
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +167 -167
- package/dist/tool/plugin/grep.js +159 -159
- package/dist/tool/plugin/image-generate.js +237 -237
- package/dist/tool/plugin/mcp-resource.js +161 -161
- package/dist/tool/plugin/opencode.js +160 -160
- package/dist/tool/plugin/patch.js +157 -157
- package/dist/tool/plugin/question.js +147 -147
- package/dist/tool/plugin/read.js +168 -168
- package/dist/tool/plugin/schedule.js +244 -244
- package/dist/tool/plugin/shell.js +233 -233
- package/dist/tool/plugin/skill.js +156 -156
- package/dist/tool/plugin/subagent.js +232 -232
- package/dist/tool/plugin/todo.js +152 -152
- package/dist/tool/plugin/webfetch.js +156 -156
- package/dist/tool/plugin/websearch.js +154 -154
- package/dist/tool/plugin/write.js +161 -161
- package/dist/tool/read-filesystem.js +112 -112
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +158 -158
- package/dist/usage-limits.js +99 -99
- 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 +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +104 -104
- 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 +103 -103
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +99 -99
- package/dist/voice.js +92 -92
- package/dist/websearch.js +94 -94
- package/dist/wellknown/plugin.js +86 -86
- package/dist/wellknown.js +89 -89
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +92 -92
- 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 +101 -101
- package/dist/worktree.js +108 -108
- package/package.json +8 -8
- package/dist/chunks/wellknown-130xhevp.js +0 -539
- package/dist/chunks/wellknown-bb0970r8.js +0 -26
- package/dist/chunks/wellknown-grzehpz7.js +0 -18
- package/dist/chunks/wellknown-ksj8pmnk.js +0 -257
- /package/dist/chunks/{wellknown-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{wellknown-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
- /package/dist/chunks/{wellknown-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
- /package/dist/chunks/{wellknown-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
- /package/dist/chunks/{wellknown-1kah00gy.js → file-retention-1kah00gy.js} +0 -0
- /package/dist/chunks/{wellknown-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
- /package/dist/chunks/{wellknown-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
- /package/dist/chunks/{wellknown-2bv980vf.js → file-retention-2bv980vf.js} +0 -0
- /package/dist/chunks/{wellknown-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{wellknown-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
- /package/dist/chunks/{wellknown-3asan66x.js → file-retention-3asan66x.js} +0 -0
- /package/dist/chunks/{wellknown-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
- /package/dist/chunks/{wellknown-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
- /package/dist/chunks/{wellknown-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
- /package/dist/chunks/{wellknown-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
- /package/dist/chunks/{wellknown-4qk9sjk2.js → file-retention-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{wellknown-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{wellknown-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
- /package/dist/chunks/{wellknown-53557ph1.js → file-retention-53557ph1.js} +0 -0
- /package/dist/chunks/{wellknown-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
- /package/dist/chunks/{wellknown-5w3e23ze.js → file-retention-5w3e23ze.js} +0 -0
- /package/dist/chunks/{wellknown-6prwharc.js → file-retention-6prwharc.js} +0 -0
- /package/dist/chunks/{wellknown-6q2bdcd1.js → file-retention-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{wellknown-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
- /package/dist/chunks/{wellknown-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
- /package/dist/chunks/{wellknown-7stb81gk.js → file-retention-7stb81gk.js} +0 -0
- /package/dist/chunks/{wellknown-822emrt2.js → file-retention-822emrt2.js} +0 -0
- /package/dist/chunks/{wellknown-84wd9syh.js → file-retention-84wd9syh.js} +0 -0
- /package/dist/chunks/{wellknown-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
- /package/dist/chunks/{wellknown-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
- /package/dist/chunks/{wellknown-8wj87zfr.js → file-retention-8wj87zfr.js} +0 -0
- /package/dist/chunks/{wellknown-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
- /package/dist/chunks/{wellknown-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{wellknown-a058387c.js → file-retention-a058387c.js} +0 -0
- /package/dist/chunks/{wellknown-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
- /package/dist/chunks/{wellknown-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
- /package/dist/chunks/{wellknown-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
- /package/dist/chunks/{wellknown-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{wellknown-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
- /package/dist/chunks/{wellknown-beh6qq61.js → file-retention-beh6qq61.js} +0 -0
- /package/dist/chunks/{wellknown-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{wellknown-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{wellknown-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
- /package/dist/chunks/{wellknown-cqv5kn06.js → file-retention-cqv5kn06.js} +0 -0
- /package/dist/chunks/{wellknown-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{wellknown-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
- /package/dist/chunks/{wellknown-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{wellknown-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
- /package/dist/chunks/{wellknown-df08tz66.js → file-retention-df08tz66.js} +0 -0
- /package/dist/chunks/{wellknown-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
- /package/dist/chunks/{wellknown-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
- /package/dist/chunks/{wellknown-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
- /package/dist/chunks/{wellknown-ean2d8b5.js → file-retention-ean2d8b5.js} +0 -0
- /package/dist/chunks/{wellknown-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
- /package/dist/chunks/{wellknown-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
- /package/dist/chunks/{wellknown-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
- /package/dist/chunks/{wellknown-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
- /package/dist/chunks/{wellknown-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{wellknown-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
- /package/dist/chunks/{wellknown-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
- /package/dist/chunks/{wellknown-fkpq3x5p.js → file-retention-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{wellknown-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
- /package/dist/chunks/{wellknown-g86h250q.js → file-retention-g86h250q.js} +0 -0
- /package/dist/chunks/{wellknown-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
- /package/dist/chunks/{wellknown-gftt206x.js → file-retention-gftt206x.js} +0 -0
- /package/dist/chunks/{wellknown-hcxmzztb.js → file-retention-hcxmzztb.js} +0 -0
- /package/dist/chunks/{wellknown-hk9envan.js → file-retention-hk9envan.js} +0 -0
- /package/dist/chunks/{wellknown-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
- /package/dist/chunks/{wellknown-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{wellknown-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
- /package/dist/chunks/{wellknown-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{wellknown-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{wellknown-jwr30sdr.js → file-retention-jwr30sdr.js} +0 -0
- /package/dist/chunks/{wellknown-jze0r7bz.js → file-retention-jze0r7bz.js} +0 -0
- /package/dist/chunks/{wellknown-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{wellknown-m18g726c.js → file-retention-m18g726c.js} +0 -0
- /package/dist/chunks/{wellknown-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
- /package/dist/chunks/{wellknown-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
- /package/dist/chunks/{wellknown-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
- /package/dist/chunks/{wellknown-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
- /package/dist/chunks/{wellknown-nh4v3znn.js → file-retention-nh4v3znn.js} +0 -0
- /package/dist/chunks/{wellknown-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
- /package/dist/chunks/{wellknown-p71gwv9c.js → file-retention-p71gwv9c.js} +0 -0
- /package/dist/chunks/{wellknown-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
- /package/dist/chunks/{wellknown-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
- /package/dist/chunks/{wellknown-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
- /package/dist/chunks/{wellknown-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
- /package/dist/chunks/{wellknown-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
- /package/dist/chunks/{wellknown-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
- /package/dist/chunks/{wellknown-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
- /package/dist/chunks/{wellknown-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{wellknown-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{wellknown-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
- /package/dist/chunks/{wellknown-stkk57rt.js → file-retention-stkk57rt.js} +0 -0
- /package/dist/chunks/{wellknown-t03h4f5z.js → file-retention-t03h4f5z.js} +0 -0
- /package/dist/chunks/{wellknown-ty7weeps.js → file-retention-ty7weeps.js} +0 -0
- /package/dist/chunks/{wellknown-ve7vex1e.js → file-retention-ve7vex1e.js} +0 -0
- /package/dist/chunks/{wellknown-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
- /package/dist/chunks/{wellknown-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{wellknown-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
- /package/dist/chunks/{wellknown-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
- /package/dist/chunks/{wellknown-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
- /package/dist/chunks/{wellknown-x61499pn.js → file-retention-x61499pn.js} +0 -0
- /package/dist/chunks/{wellknown-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
- /package/dist/chunks/{wellknown-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
- /package/dist/chunks/{wellknown-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{wellknown-z5v4ffb3.js → file-retention-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{wellknown-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service86,
|
|
3
|
+
node89
|
|
4
|
+
} from "./file-retention-hp6zvnkh.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create4
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-retention-40y6dtc2.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
12
|
-
import {
|
|
13
|
-
ID17,
|
|
14
|
-
Service78,
|
|
15
|
-
node81,
|
|
16
|
-
Event16
|
|
17
|
-
} from "./wellknown-j0n0243v.js";
|
|
11
|
+
} from "./file-retention-s6h2s3rz.js";
|
|
18
12
|
import {
|
|
13
|
+
ID16,
|
|
19
14
|
Service80,
|
|
20
|
-
node83
|
|
21
|
-
|
|
15
|
+
node83,
|
|
16
|
+
Event17
|
|
17
|
+
} from "./file-retention-nnajjmm5.js";
|
|
18
|
+
import {
|
|
19
|
+
Service83,
|
|
20
|
+
node86
|
|
21
|
+
} from "./file-retention-vdv0ex2k.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/provider.ts
|
|
27
27
|
var exports_provider4 = {};
|
|
@@ -31,13 +31,13 @@ __export(exports_provider4, {
|
|
|
31
31
|
Compaction: () => Compaction3,
|
|
32
32
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
33
33
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
34
|
-
Event: () =>
|
|
35
|
-
ID: () =>
|
|
34
|
+
Event: () => Event16,
|
|
35
|
+
ID: () => ID15,
|
|
36
36
|
Info: () => Info23,
|
|
37
37
|
LoadError: () => LoadError3,
|
|
38
38
|
Provider: () => exports_provider4,
|
|
39
39
|
Request: () => Request4,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service79,
|
|
41
41
|
Settings: () => Settings2,
|
|
42
42
|
Transport: () => Transport2,
|
|
43
43
|
aisdk: () => aisdk2,
|
|
@@ -49,7 +49,7 @@ __export(exports_provider4, {
|
|
|
49
49
|
mergeOverlay: () => mergeOverlay2,
|
|
50
50
|
modelSettings: () => modelSettings2,
|
|
51
51
|
nativeSettings: () => nativeSettings2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node82,
|
|
53
53
|
packageName: () => packageName2,
|
|
54
54
|
timeout: () => timeout2,
|
|
55
55
|
timeouts: () => timeouts2
|
|
@@ -332,8 +332,8 @@ var Legacy = Schema.StructWithRest(Schema.Struct({
|
|
|
332
332
|
var decode = Schema.decodeUnknownSync(Legacy);
|
|
333
333
|
|
|
334
334
|
// src/provider.ts
|
|
335
|
-
import { Event as
|
|
336
|
-
var
|
|
335
|
+
import { Event as Event16 } from "@opencode/schema/provider";
|
|
336
|
+
var ID15 = Provider.ID;
|
|
337
337
|
var AISDK_PREFIX2 = "aisdk:";
|
|
338
338
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
339
339
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -579,7 +579,7 @@ var Transport2 = Provider.Transport;
|
|
|
579
579
|
var Settings2 = Provider.Settings;
|
|
580
580
|
var Info23 = Provider.Info;
|
|
581
581
|
|
|
582
|
-
class
|
|
582
|
+
class Service79 extends Context.Service()("@opencode/Provider") {
|
|
583
583
|
}
|
|
584
584
|
var definitions = new WeakMap;
|
|
585
585
|
function index(providerID, models) {
|
|
@@ -592,10 +592,10 @@ function index(providerID, models) {
|
|
|
592
592
|
definitions.set(models, indexes);
|
|
593
593
|
return result;
|
|
594
594
|
}
|
|
595
|
-
var layer = Layer.effect(
|
|
596
|
-
const bus = yield*
|
|
597
|
-
const integrations = yield*
|
|
598
|
-
const location = yield*
|
|
595
|
+
var layer = Layer.effect(Service79, Effect2.gen(function* () {
|
|
596
|
+
const bus = yield* Service86;
|
|
597
|
+
const integrations = yield* Service80;
|
|
598
|
+
const location = yield* Service83;
|
|
599
599
|
const state = create4({
|
|
600
600
|
name: "provider",
|
|
601
601
|
initial: () => new Map,
|
|
@@ -687,7 +687,7 @@ var layer = Layer.effect(Service77, Effect2.gen(function* () {
|
|
|
687
687
|
const available = Array.from(records.values()).filter((record) => {
|
|
688
688
|
if (record.provider.activation === "disabled")
|
|
689
689
|
return false;
|
|
690
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
690
|
+
const integration = byID.get(record.provider.integrationID ?? ID16.make(record.provider.id));
|
|
691
691
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
692
692
|
return false;
|
|
693
693
|
if (record.provider.activation === "enabled")
|
|
@@ -713,8 +713,8 @@ var layer = Layer.effect(Service77, Effect2.gen(function* () {
|
|
|
713
713
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
714
714
|
});
|
|
715
715
|
});
|
|
716
|
-
yield* bus.subscribe([
|
|
717
|
-
return
|
|
716
|
+
yield* bus.subscribe([Event17.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
|
|
717
|
+
return Service79.of({
|
|
718
718
|
transform: state.transform,
|
|
719
719
|
reload: state.reload,
|
|
720
720
|
get: Effect2.fn("Provider.get")((id) => Effect2.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -723,7 +723,7 @@ var layer = Layer.effect(Service77, Effect2.gen(function* () {
|
|
|
723
723
|
snapshot
|
|
724
724
|
});
|
|
725
725
|
}));
|
|
726
|
-
var
|
|
726
|
+
var node82 = makeLocationNode({ service: Service79, layer, deps: [node89, node83, node86] });
|
|
727
727
|
var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
728
728
|
const module = yield* Effect2.tryPromise({
|
|
729
729
|
try: () => {
|
|
@@ -745,4 +745,4 @@ var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, e
|
|
|
745
745
|
return module;
|
|
746
746
|
});
|
|
747
747
|
|
|
748
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
748
|
+
export { rewrite2, native2, exports_aisdk_native, ID15, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request4, Compaction3, Cache2, Transport2, Settings2, Info23, Service79, node82, exports_provider4, Event16 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-nq0jwwks.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service86
|
|
6
|
+
} from "./file-retention-hp6zvnkh.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID18,
|
|
9
9
|
Event19,
|
|
10
10
|
Service82
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-retention-ntck3dtd.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-retention-s6h2s3rz.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID16,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-retention-nnajjmm5.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-retention-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
ID15,
|
|
24
|
+
Service79
|
|
25
|
+
} from "./file-retention-7xdaqeat.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
ID14
|
|
28
|
+
} from "./file-retention-yabd269j.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./file-retention-82d21a7w.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/azure.ts
|
|
34
34
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -63,18 +63,18 @@ 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 make16(endpoints = {
|
|
67
67
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
68
68
|
management: "https://management.azure.com"
|
|
69
69
|
}) {
|
|
70
70
|
return define({
|
|
71
71
|
id: "opencode.provider.azure",
|
|
72
72
|
effect: Effect.fn(function* (ctx) {
|
|
73
|
-
const configured = yield* configuredSettings2(
|
|
73
|
+
const configured = yield* configuredSettings2(ID15.azure);
|
|
74
74
|
const processes = yield* AppProcess.Service;
|
|
75
|
-
const bus = yield*
|
|
75
|
+
const bus = yield* Service86;
|
|
76
76
|
const credentials = yield* Service82;
|
|
77
|
-
const providers = yield*
|
|
77
|
+
const providers = yield* Service79;
|
|
78
78
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
79
79
|
const tokens = new Map;
|
|
80
80
|
const resourceIDs = new Map;
|
|
@@ -100,11 +100,11 @@ function make17(endpoints = {
|
|
|
100
100
|
const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
|
|
101
101
|
yield* ctx.integration.transform((editor) => {
|
|
102
102
|
editor.method.update({
|
|
103
|
-
integrationID:
|
|
103
|
+
integrationID: ID15.azure,
|
|
104
104
|
method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
|
|
105
105
|
});
|
|
106
106
|
editor.method.update({
|
|
107
|
-
integrationID:
|
|
107
|
+
integrationID: ID15.azure,
|
|
108
108
|
method: {
|
|
109
109
|
type: "key",
|
|
110
110
|
label: "API key",
|
|
@@ -122,7 +122,7 @@ function make17(endpoints = {
|
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID15.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "external",
|
|
@@ -142,8 +142,8 @@ function make17(endpoints = {
|
|
|
142
142
|
});
|
|
143
143
|
});
|
|
144
144
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
145
|
-
const connection = yield* ctx.integration.connection.active(
|
|
146
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
145
|
+
const connection = yield* ctx.integration.connection.active(ID15.azure);
|
|
146
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID18.make(connection.id)) : undefined;
|
|
147
147
|
return { connection, resource: credentialResource(stored?.value) };
|
|
148
148
|
});
|
|
149
149
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -182,7 +182,7 @@ function make17(endpoints = {
|
|
|
182
182
|
}));
|
|
183
183
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
184
184
|
const connection = loaded.connection;
|
|
185
|
-
const settings = (yield* providers.get(
|
|
185
|
+
const settings = (yield* providers.get(ID15.azure))?.settings;
|
|
186
186
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
187
187
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
188
188
|
if (loaded.connection !== connection)
|
|
@@ -204,11 +204,11 @@ function make17(endpoints = {
|
|
|
204
204
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
205
205
|
if (!found)
|
|
206
206
|
return;
|
|
207
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
207
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID15.azure)))
|
|
208
208
|
return;
|
|
209
209
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
210
210
|
return;
|
|
211
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
211
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID15.azure)?.models.keys() ?? [], (id) => [
|
|
212
212
|
id.toLowerCase(),
|
|
213
213
|
id
|
|
214
214
|
]));
|
|
@@ -221,11 +221,11 @@ function make17(endpoints = {
|
|
|
221
221
|
yield* ctx.model.reload();
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
224
|
-
const resourceFor = (provider) => provider.id ===
|
|
224
|
+
const resourceFor = (provider) => provider.id === ID15.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
225
225
|
Object.assign(loaded, yield* load());
|
|
226
226
|
yield* ctx.provider.transform((evt) => {
|
|
227
227
|
for (const item of evt.list()) {
|
|
228
|
-
if (item.provider.id !==
|
|
228
|
+
if (item.provider.id !== ID15.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
229
229
|
continue;
|
|
230
230
|
const resourceName = resourceFor(item.provider);
|
|
231
231
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -240,7 +240,7 @@ function make17(endpoints = {
|
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
242
|
}
|
|
243
|
-
const item = evt.get(
|
|
243
|
+
const item = evt.get(ID15.azure);
|
|
244
244
|
if (!item)
|
|
245
245
|
return;
|
|
246
246
|
evt.add({
|
|
@@ -251,7 +251,7 @@ function make17(endpoints = {
|
|
|
251
251
|
});
|
|
252
252
|
yield* ctx.model.transform((models) => {
|
|
253
253
|
for (const item of models.provider.list()) {
|
|
254
|
-
if (item.provider.id !==
|
|
254
|
+
if (item.provider.id !== ID15.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
255
255
|
continue;
|
|
256
256
|
const resourceName = resourceFor(item.provider);
|
|
257
257
|
if (!resourceName)
|
|
@@ -270,20 +270,20 @@ function make17(endpoints = {
|
|
|
270
270
|
}
|
|
271
271
|
if (!loaded.deployments)
|
|
272
272
|
return;
|
|
273
|
-
const catalog = models.list(
|
|
273
|
+
const catalog = models.list(ID15.azure);
|
|
274
274
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
275
275
|
for (const model of catalog) {
|
|
276
276
|
if (!deployed.has(model.id))
|
|
277
|
-
models.remove(
|
|
277
|
+
models.remove(ID15.azure, model.id);
|
|
278
278
|
}
|
|
279
279
|
for (const [id, model] of deployed) {
|
|
280
|
-
models.update(
|
|
280
|
+
models.update(ID15.azure, id, (draft) => Object.assign(draft, model));
|
|
281
281
|
}
|
|
282
282
|
});
|
|
283
|
-
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
283
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.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
|
-
const connection = yield* ctx.integration.connection.active(
|
|
286
|
+
const connection = yield* ctx.integration.connection.active(ID15.azure);
|
|
287
287
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
288
288
|
return;
|
|
289
289
|
})) : undefined;
|
|
@@ -295,7 +295,7 @@ function make17(endpoints = {
|
|
|
295
295
|
return `Bearer ${current.access}`;
|
|
296
296
|
});
|
|
297
297
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
298
|
-
if (evt.model.providerID !==
|
|
298
|
+
if (evt.model.providerID !== ID15.azure)
|
|
299
299
|
return;
|
|
300
300
|
const authorization = yield* bearer(evt.request.url);
|
|
301
301
|
if (!authorization)
|
|
@@ -304,9 +304,9 @@ function make17(endpoints = {
|
|
|
304
304
|
evt.request.headers.delete("x-api-key");
|
|
305
305
|
evt.request.headers.set("authorization", authorization);
|
|
306
306
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
307
|
-
}), { providerID:
|
|
307
|
+
}), { providerID: ID15.azure });
|
|
308
308
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
309
|
-
if (evt.model.providerID !==
|
|
309
|
+
if (evt.model.providerID !== ID15.azure)
|
|
310
310
|
return;
|
|
311
311
|
const authorization = yield* bearer(evt.url);
|
|
312
312
|
if (!authorization)
|
|
@@ -315,11 +315,11 @@ function make17(endpoints = {
|
|
|
315
315
|
delete evt.headers["x-api-key"];
|
|
316
316
|
evt.headers.authorization = authorization;
|
|
317
317
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
318
|
-
}), { providerID:
|
|
318
|
+
}), { providerID: ID15.azure });
|
|
319
319
|
})
|
|
320
320
|
});
|
|
321
321
|
}
|
|
322
|
-
var AzurePlugin2 =
|
|
322
|
+
var AzurePlugin2 = make16();
|
|
323
323
|
function resolveResourceName(settings, fallback) {
|
|
324
324
|
const configured = settings?.resourceName;
|
|
325
325
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -349,11 +349,11 @@ function deployedModels(deployments, catalog) {
|
|
|
349
349
|
const model = catalogModel(models, deployment);
|
|
350
350
|
if (!model)
|
|
351
351
|
return [];
|
|
352
|
-
const id =
|
|
352
|
+
const id = ID14.make(deployment.name.toLowerCase());
|
|
353
353
|
const info = {
|
|
354
354
|
...structuredClone(model),
|
|
355
355
|
id,
|
|
356
|
-
modelID:
|
|
356
|
+
modelID: ID14.make(deployment.name),
|
|
357
357
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
358
358
|
};
|
|
359
359
|
return [[id, info]];
|
|
@@ -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 { make16, AzurePlugin2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-2bv980vf.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-retention-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service79
|
|
4
|
+
} from "./file-retention-7xdaqeat.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service75
|
|
7
|
+
} from "./file-retention-x8493zn3.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service79;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service75);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service75
|
|
4
|
+
} from "./file-retention-x8493zn3.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin17,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin17 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service75;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -115,4 +115,4 @@ var Plugin28 = define({
|
|
|
115
115
|
})
|
|
116
116
|
});
|
|
117
117
|
|
|
118
|
-
export {
|
|
118
|
+
export { Plugin17, exports_warming };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-retention-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service68,
|
|
8
|
+
node70
|
|
9
|
+
} from "./file-retention-rjxvw18s.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-90zstvax.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service41,
|
|
24
|
+
node: () => node43
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/process";
|
|
@@ -47,7 +47,7 @@ var RawMatch = Schema.Struct({
|
|
|
47
47
|
});
|
|
48
48
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
51
51
|
message: Schema.String,
|
|
52
52
|
cause: Schema.optional(Schema.Defect())
|
|
53
53
|
}) {
|
|
@@ -59,13 +59,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
59
59
|
}) {
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
class
|
|
62
|
+
class Service41 extends Context.Service()("@opencode/Ripgrep") {
|
|
63
63
|
}
|
|
64
|
-
var failure = (message, cause) => new
|
|
64
|
+
var failure = (message, cause) => new Error4({ message, cause });
|
|
65
65
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
66
66
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
67
|
-
var layer = Layer.effect(
|
|
68
|
-
const environment = yield*
|
|
67
|
+
var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
68
|
+
const environment = yield* Service68;
|
|
69
69
|
const binary = yield* RipgrepBinary2.Service;
|
|
70
70
|
const run = (input) => {
|
|
71
71
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -91,9 +91,9 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
91
91
|
return code === 1 ? [] : rows;
|
|
92
92
|
}));
|
|
93
93
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
94
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
94
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
95
95
|
};
|
|
96
|
-
return
|
|
96
|
+
return Service41.of({
|
|
97
97
|
glob: (input) => run({
|
|
98
98
|
cwd: input.cwd,
|
|
99
99
|
limit: input.limit,
|
|
@@ -179,6 +179,6 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
179
179
|
}))))
|
|
180
180
|
});
|
|
181
181
|
}));
|
|
182
|
-
var
|
|
182
|
+
var node43 = makeLocationNode({ service: Service41, layer, deps: [node70, RipgrepBinary2.node] });
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { Error4, InvalidPatternError2, Service41, node43, exports_ripgrep };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
@@ -10,8 +10,8 @@ __export(exports_driver, {
|
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make30,
|
|
14
|
+
node: () => node72,
|
|
15
15
|
registry: () => registry3,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make30 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry3(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node72 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2, Error5, ProviderNotFound2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make30, RegistryService2, registry3, registryNode2, node72, exports_driver };
|