@opencode/core 0.0.0-dev-963 → 0.0.0-dev-964
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 +94 -94
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +7 -7
- package/dist/artifact.js +246 -246
- package/dist/bus.js +84 -84
- package/dist/chunks/{model-retry-wr8c7kqh.js → voice-00ewv2qf.js} +12 -12
- package/dist/chunks/{model-retry-gbzg03e6.js → voice-01tfwf53.js} +27 -27
- package/dist/chunks/{model-retry-aj7mw0zk.js → voice-034tev2y.js} +2 -2
- package/dist/chunks/{model-retry-6h1eenzx.js → voice-0bn33jj1.js} +6 -6
- package/dist/chunks/{model-retry-zezx15n6.js → voice-0gqsd9fg.js} +18 -18
- package/dist/chunks/{model-retry-0ma9gw4f.js → voice-0ma9gw4f.js} +2 -2
- package/dist/chunks/{model-retry-tycv7n3a.js → voice-0php2d2a.js} +4 -4
- package/dist/chunks/{model-retry-yqfnxatp.js → voice-0qh3s10f.js} +7 -7
- package/dist/chunks/{model-retry-aybz7h29.js → voice-0v2w8pbb.js} +33 -33
- package/dist/chunks/{model-retry-0gtwtd06.js → voice-0vtmyca9.js} +30 -30
- package/dist/chunks/{model-retry-5mavy24g.js → voice-0xadcha5.js} +9 -9
- package/dist/chunks/{model-retry-10pn4eb5.js → voice-10pn4eb5.js} +2 -2
- package/dist/chunks/{model-retry-6jbqzmh7.js → voice-15m4mygk.js} +18 -18
- package/dist/chunks/{model-retry-0hzn3qjb.js → voice-16jhq12a.js} +9 -9
- package/dist/chunks/{model-retry-j145syf3.js → voice-17b8a7h3.js} +11 -11
- package/dist/chunks/{model-retry-1aqsckx4.js → voice-1aqsckx4.js} +1 -1
- package/dist/chunks/{model-retry-4wm8crj1.js → voice-1dvb3gmj.js} +9 -9
- package/dist/chunks/{model-retry-27w5k9zf.js → voice-1ep2p91f.js} +2 -2
- package/dist/chunks/{model-retry-mhggzpsv.js → voice-1f7fgv8p.js} +13 -13
- package/dist/chunks/{model-retry-rf94rsxf.js → voice-1pthwa90.js} +5 -5
- package/dist/chunks/{model-retry-qrzbfcq2.js → voice-1rn7dek2.js} +15 -15
- package/dist/chunks/{model-retry-7tpmqsyg.js → voice-1sfntyzw.js} +9 -9
- package/dist/chunks/{model-retry-a3kfmphf.js → voice-1td1h2ht.js} +10 -10
- package/dist/chunks/{model-retry-msd2a3qm.js → voice-1v2g13eq.js} +4 -4
- package/dist/chunks/{model-retry-eas4b64y.js → voice-1w0avsj5.js} +49 -49
- package/dist/chunks/{model-retry-1x2knyw4.js → voice-1x2knyw4.js} +1 -1
- package/dist/chunks/{model-retry-9a5n699h.js → voice-22ezab04.js} +21 -21
- package/dist/chunks/{model-retry-48c19znr.js → voice-23rvthkw.js} +15 -15
- package/dist/chunks/{model-retry-8b3vzgkx.js → voice-25h84942.js} +4 -4
- package/dist/chunks/{model-retry-5cr30h4q.js → voice-28rkn4bn.js} +8 -8
- package/dist/chunks/{model-retry-2fc7eemy.js → voice-2fc7eemy.js} +1 -1
- package/dist/chunks/{model-retry-mtsycxk2.js → voice-2gt1bs3y.js} +8 -8
- package/dist/chunks/{model-retry-0f7zcmgx.js → voice-2jpmm09x.js} +17 -17
- package/dist/chunks/{model-retry-scffdxbh.js → voice-2k6758er.js} +28 -28
- package/dist/chunks/{model-retry-5ehmdea4.js → voice-2mr1maa0.js} +19 -19
- package/dist/chunks/{model-retry-2p60zmnr.js → voice-2p60zmnr.js} +2 -2
- package/dist/chunks/{model-retry-xjwvjeh9.js → voice-2xt21qg7.js} +23 -23
- package/dist/chunks/{model-retry-h56sm60v.js → voice-2zdv0xg6.js} +11 -11
- package/dist/chunks/{model-retry-fza04h0s.js → voice-39c1cpm5.js} +28 -28
- package/dist/chunks/{model-retry-2xavcrc6.js → voice-3cz0nxy2.js} +7 -7
- package/dist/chunks/{model-retry-3hepkmqq.js → voice-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-retry-3nnrz6f6.js → voice-3nnrz6f6.js} +1 -1
- package/dist/chunks/{model-retry-znhkf8c8.js → voice-3q00qqkh.js} +25 -25
- package/dist/chunks/{model-retry-3qgwywyc.js → voice-3qgwywyc.js} +1 -1
- package/dist/chunks/{model-retry-ya848mpz.js → voice-3rs71jyg.js} +39 -39
- package/dist/chunks/{model-retry-z7tw4ttc.js → voice-3yyccf88.js} +28 -28
- package/dist/chunks/{model-retry-we5rn6a5.js → voice-40qsrmhq.js} +55 -55
- package/dist/chunks/{model-retry-40y6dtc2.js → voice-40y6dtc2.js} +1 -1
- package/dist/chunks/{model-retry-r41sfy63.js → voice-40za9wsf.js} +6 -6
- package/dist/chunks/{model-retry-nxm17xv8.js → voice-42b88sja.js} +25 -25
- package/dist/chunks/voice-43s25b9x.js +26 -0
- package/dist/chunks/{model-retry-44pmzq9c.js → voice-44pmzq9c.js} +2 -2
- package/dist/chunks/{model-retry-1n6kb5jd.js → voice-4bbgqs4g.js} +35 -35
- package/dist/chunks/{model-retry-4dx1dgte.js → voice-4dx1dgte.js} +1 -1
- package/dist/chunks/{model-retry-4f25tdd0.js → voice-4f25tdd0.js} +1 -1
- package/dist/chunks/{model-retry-0nv0p3cy.js → voice-4hdtqmnf.js} +36 -36
- package/dist/chunks/{model-retry-vzt7rakn.js → voice-4ky886p8.js} +41 -41
- package/dist/chunks/{model-retry-rn4aqytt.js → voice-4nyecbjy.js} +19 -19
- package/dist/chunks/{model-retry-q8v2fwx2.js → voice-4pyg9rdg.js} +25 -25
- package/dist/chunks/{model-retry-4pyp9zr9.js → voice-4pyp9zr9.js} +1 -1
- package/dist/chunks/{model-retry-ze630b5c.js → voice-4qjc6cc0.js} +3 -3
- package/dist/chunks/{model-retry-4v008n1t.js → voice-4v008n1t.js} +1 -1
- package/dist/chunks/{model-retry-tz8eqr11.js → voice-50emzza2.js} +9 -9
- package/dist/chunks/{model-retry-fj2b3zhr.js → voice-53hjkm5v.js} +41 -41
- package/dist/chunks/{model-retry-3adfey7c.js → voice-54b0575t.js} +11 -11
- package/dist/chunks/{model-retry-dt492btd.js → voice-568xs2g9.js} +4 -4
- package/dist/chunks/{model-retry-k88e6bv8.js → voice-5dbknyqr.js} +5 -5
- package/dist/chunks/{model-retry-2wcm1we5.js → voice-5djmykrb.js} +17 -17
- package/dist/chunks/{model-retry-r9b6b0z9.js → voice-5j8gtehf.js} +4 -4
- package/dist/chunks/{model-retry-5dqr4h9g.js → voice-5jmm62kn.js} +184 -184
- package/dist/chunks/{model-retry-5m9w47nd.js → voice-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-retry-fjjn5r31.js → voice-5mr2x3fj.js} +30 -30
- package/dist/chunks/{model-retry-2a24g9nt.js → voice-5r30nkvm.js} +4 -4
- package/dist/chunks/{model-retry-m1z5tyhf.js → voice-5tnkv0hs.js} +23 -23
- package/dist/chunks/{model-retry-0ffsny1r.js → voice-5tqsgbys.js} +8 -8
- package/dist/chunks/{model-retry-57c8gpxx.js → voice-5wsa4z6e.js} +15 -15
- package/dist/chunks/{model-retry-1yq9hg58.js → voice-5zrxpy3q.js} +5 -5
- package/dist/chunks/{model-retry-6dqcbbtb.js → voice-61zmc5v6.js} +11 -11
- package/dist/chunks/{model-retry-enm83h0r.js → voice-6j6ndqwm.js} +11 -11
- package/dist/chunks/{model-retry-xhhk8f1q.js → voice-6k3xky5d.js} +7 -7
- package/dist/chunks/{model-retry-ffjx46ab.js → voice-6kw4d1yn.js} +12 -12
- package/dist/chunks/{model-retry-qtf35215.js → voice-6q8jj3zs.js} +3 -3
- package/dist/chunks/{model-retry-161ppk1h.js → voice-6sz5zbxg.js} +16 -16
- package/dist/chunks/{model-retry-775hqbnd.js → voice-775hqbnd.js} +3 -3
- package/dist/chunks/{model-retry-e5f9y5zc.js → voice-78hspxf6.js} +5 -5
- package/dist/chunks/{model-retry-9zwexsxs.js → voice-78p2h4ex.js} +5 -5
- package/dist/chunks/{model-retry-7bmhse3q.js → voice-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-retry-k35vg4wr.js → voice-7cs1hega.js} +18 -18
- package/dist/chunks/{model-retry-pwg5gpry.js → voice-7dpmt7th.js} +18 -18
- package/dist/chunks/{model-retry-19z3dhq2.js → voice-7exns6mp.js} +2 -2
- package/dist/chunks/{model-retry-27pb0zv2.js → voice-7fb90hz6.js} +73 -73
- package/dist/chunks/{model-retry-2ntrqq68.js → voice-7k5wggvy.js} +3 -3
- package/dist/chunks/{model-retry-fqhfrfs6.js → voice-7m0ws7te.js} +14 -14
- package/dist/chunks/{model-retry-mdcgyhwq.js → voice-7rdtaxa6.js} +56 -56
- package/dist/chunks/{model-retry-7w2ypzdf.js → voice-7w2ypzdf.js} +1 -1
- package/dist/chunks/{model-retry-7weczvnd.js → voice-7weczvnd.js} +1 -1
- package/dist/chunks/{model-retry-xphgtvrb.js → voice-7z8gcvyj.js} +10 -10
- package/dist/chunks/{model-retry-80pdk984.js → voice-80pdk984.js} +1 -1
- package/dist/chunks/{model-retry-j8hmhnxh.js → voice-81ayfgmh.js} +5 -5
- package/dist/chunks/{model-retry-89287pr7.js → voice-89287pr7.js} +1 -1
- package/dist/chunks/{model-retry-5whx36p1.js → voice-8cg7mtm3.js} +4 -4
- package/dist/chunks/{model-retry-m5wwy1r6.js → voice-8hnmz7x2.js} +22 -22
- package/dist/chunks/{model-retry-5vd4538n.js → voice-8jydy40p.js} +44 -44
- package/dist/chunks/{model-retry-bb3mmwvh.js → voice-8sxe6kv8.js} +2 -2
- package/dist/chunks/{model-retry-myby9b3w.js → voice-8t7jmywy.js} +27 -27
- package/dist/chunks/{model-retry-3bjdzksn.js → voice-8w4s8p9a.js} +5 -5
- package/dist/chunks/{model-retry-8wtp7s3z.js → voice-8wtp7s3z.js} +1 -1
- package/dist/chunks/{model-retry-8zv0xmg5.js → voice-8zv0xmg5.js} +1 -1
- package/dist/chunks/{model-retry-38aws4xb.js → voice-90ct6wq4.js} +4 -4
- package/dist/chunks/{model-retry-p8ex78z5.js → voice-927m74tw.js} +53 -53
- package/dist/chunks/{model-retry-mtyv5g2h.js → voice-9ahypc1t.js} +25 -25
- package/dist/chunks/{model-retry-3tj7fxkh.js → voice-9akxmj8y.js} +11 -11
- package/dist/chunks/{model-retry-re9362gh.js → voice-9ddhjvmx.js} +36 -36
- package/dist/chunks/{model-retry-c6xe6jbq.js → voice-9e7ws9aq.js} +11 -11
- package/dist/chunks/{model-retry-ad8hmb70.js → voice-9r29h5yr.js} +20 -20
- package/dist/chunks/{model-retry-qn1njx2y.js → voice-9ryz22jm.js} +17 -17
- package/dist/chunks/{model-retry-zy9drmpe.js → voice-9ss1hsd9.js} +25 -25
- package/dist/chunks/{model-retry-nr3v9yst.js → voice-a46yszdy.js} +11 -11
- package/dist/chunks/{model-retry-6v4sd1dv.js → voice-a6j6gnnp.js} +39 -39
- package/dist/chunks/{model-retry-rz078nay.js → voice-a6yr553d.js} +22 -22
- package/dist/chunks/{model-retry-txnadde6.js → voice-a731n7nr.js} +9 -9
- package/dist/chunks/{model-retry-18ec6rd6.js → voice-acfhc5st.js} +7 -7
- package/dist/chunks/{model-retry-dm4r89tv.js → voice-ampjv2jb.js} +6 -6
- package/dist/chunks/{model-retry-eqm3069g.js → voice-apc8d5rx.js} +10 -10
- package/dist/chunks/{model-retry-21yxtvkn.js → voice-as9xcp9f.js} +23 -23
- package/dist/chunks/{model-retry-w66gfqzf.js → voice-asqr45f0.js} +5 -5
- package/dist/chunks/{model-retry-3d3zr5s2.js → voice-atyn88rj.js} +9 -9
- package/dist/chunks/{model-retry-8g98zn1c.js → voice-awrxjrzc.js} +12 -12
- package/dist/chunks/{model-retry-3cbjf1nt.js → voice-ayjs7tqn.js} +2 -2
- package/dist/chunks/{model-retry-9nnejqzx.js → voice-aysc2v2a.js} +5 -5
- package/dist/chunks/{model-retry-b26ddj6h.js → voice-b26ddj6h.js} +4 -4
- package/dist/chunks/{model-retry-1pk0e05p.js → voice-b3a32pfz.js} +4 -4
- package/dist/chunks/{model-retry-546b2qqr.js → voice-b75pk896.js} +51 -51
- package/dist/chunks/{model-retry-50xmtnn0.js → voice-bc4vsx1w.js} +20 -20
- package/dist/chunks/{model-retry-3yyjca50.js → voice-bfbsygdd.js} +5 -5
- package/dist/chunks/{model-retry-sdkgehmd.js → voice-bgehp640.js} +37 -37
- package/dist/chunks/{model-retry-x42kgh5z.js → voice-bmcg2smy.js} +32 -32
- package/dist/chunks/{model-retry-9sk33afj.js → voice-bqa8ney4.js} +8 -8
- package/dist/chunks/{model-retry-9e8kt2zr.js → voice-btp67x44.js} +5 -5
- package/dist/chunks/{model-retry-z938w153.js → voice-c5wc4t8q.js} +80 -80
- package/dist/chunks/{model-retry-63xym3gh.js → voice-c6x7d2ts.js} +4 -4
- package/dist/chunks/{model-retry-c7cw818c.js → voice-c7cw818c.js} +2 -2
- package/dist/chunks/{model-retry-cwrgdav8.js → voice-cwrgdav8.js} +2 -2
- package/dist/chunks/{model-retry-2vdsqpnb.js → voice-cyw90pqg.js} +13 -13
- package/dist/chunks/{model-retry-6y2b864j.js → voice-czwy3yzx.js} +7 -7
- package/dist/chunks/{model-retry-faey8208.js → voice-d3cyy5h9.js} +13 -13
- package/dist/chunks/{model-retry-d4v9tmah.js → voice-d4v9tmah.js} +2 -2
- package/dist/chunks/{model-retry-5y32hkdd.js → voice-d73cmea9.js} +29 -29
- package/dist/chunks/{model-retry-dbatw319.js → voice-dbatw319.js} +1 -1
- package/dist/chunks/{model-retry-1pg40b3b.js → voice-dh8npsad.js} +13 -13
- package/dist/chunks/{model-retry-j7he7tj1.js → voice-dhcnp92e.js} +18 -18
- package/dist/chunks/{model-retry-jkxm7wdw.js → voice-dhkgre00.js} +10 -10
- package/dist/chunks/{model-retry-dt77769w.js → voice-dt77769w.js} +1 -1
- package/dist/chunks/{model-retry-rscs01kg.js → voice-dvqgfsre.js} +2 -2
- package/dist/chunks/{model-retry-qgxpp3m1.js → voice-dxa907sf.js} +12 -12
- package/dist/chunks/{model-retry-5v9v9ahh.js → voice-dxh24bcs.js} +23 -23
- package/dist/chunks/{model-retry-m6b3h6k9.js → voice-e0c3r628.js} +13 -13
- package/dist/chunks/{model-retry-4ft9amn3.js → voice-e388vecc.js} +20 -20
- package/dist/chunks/{model-retry-3g7wcbvn.js → voice-e9b9rvcq.js} +5 -5
- package/dist/chunks/{model-retry-jkyac8e3.js → voice-ecj07vsr.js} +5 -5
- package/dist/chunks/{model-retry-pbgmbc5t.js → voice-efna48m6.js} +20 -20
- package/dist/chunks/{model-retry-p0xy8p3q.js → voice-embhht3f.js} +16 -16
- package/dist/chunks/{model-retry-smbvkay2.js → voice-eqavyzx9.js} +10 -10
- package/dist/chunks/{model-retry-eqw4pqj1.js → voice-eqw4pqj1.js} +2 -2
- package/dist/chunks/{model-retry-2ky49t53.js → voice-exm1rf0s.js} +25 -25
- package/dist/chunks/{model-retry-9vbd6tt4.js → voice-f6cf93bj.js} +11 -11
- package/dist/chunks/{model-retry-dgxqayre.js → voice-f9qw5520.js} +7 -7
- package/dist/chunks/{model-retry-c33hg92m.js → voice-fb63yqe0.js} +84 -84
- package/dist/chunks/{model-retry-3pffvb81.js → voice-fd35w371.js} +6 -6
- package/dist/chunks/{model-retry-8tx6vjd4.js → voice-fenvfg2q.js} +21 -21
- package/dist/chunks/{model-retry-fffv3p7h.js → voice-fffv3p7h.js} +1 -1
- package/dist/chunks/{model-retry-fg9p65nk.js → voice-fg9p65nk.js} +2 -2
- package/dist/chunks/{model-retry-0c9t4xzb.js → voice-fx8d1ven.js} +8 -8
- package/dist/chunks/{model-retry-fznmdakp.js → voice-fznmdakp.js} +1 -1
- package/dist/chunks/{model-retry-xmghnc3f.js → voice-g2hxvz91.js} +30 -30
- package/dist/chunks/{model-retry-e9ejdcsg.js → voice-g32y5wjx.js} +13 -13
- package/dist/chunks/{model-retry-4c41b4mx.js → voice-g7danagf.js} +4 -4
- package/dist/chunks/{model-retry-5a7y0nr5.js → voice-g8zgyhbt.js} +45 -45
- package/dist/chunks/{model-retry-gbjdnr5j.js → voice-gbjdnr5j.js} +2 -2
- package/dist/chunks/{model-retry-rbwhw1a2.js → voice-gfjnkfvy.js} +9 -9
- package/dist/chunks/{model-retry-xwwp50r7.js → voice-ghqza1a8.js} +9 -9
- package/dist/chunks/{model-retry-ghrv1g9c.js → voice-ghrv1g9c.js} +1 -1
- package/dist/chunks/{model-retry-j05t1s6m.js → voice-grqb6hdt.js} +51 -51
- package/dist/chunks/{model-retry-66829rmt.js → voice-gsh27z5w.js} +32 -32
- package/dist/chunks/{model-retry-7mgn7kqw.js → voice-gvmtew32.js} +16 -16
- package/dist/chunks/{model-retry-ggx84v7x.js → voice-gwyytpcj.js} +3 -3
- package/dist/chunks/{model-retry-tg7s7b5t.js → voice-gxs71cxp.js} +4 -4
- package/dist/chunks/{model-retry-cjqsf6bw.js → voice-gy24j455.js} +9 -9
- package/dist/chunks/{model-retry-963hk181.js → voice-h8s8bx6e.js} +9 -9
- package/dist/chunks/{model-retry-hgzwgvze.js → voice-hgzwgvze.js} +2 -2
- package/dist/chunks/{model-retry-mw0qydsv.js → voice-hp9s6586.js} +18 -18
- package/dist/chunks/{model-retry-3c7qpzd7.js → voice-hx3mz2q2.js} +8 -8
- package/dist/chunks/{model-retry-tcr6s7hx.js → voice-j16fvtk4.js} +6 -6
- package/dist/chunks/{model-retry-1tm4mynn.js → voice-j2s16gw1.js} +32 -32
- package/dist/chunks/{model-retry-f7dfffjm.js → voice-j6xpfznc.js} +8 -8
- package/dist/chunks/{model-retry-j9nxzz3g.js → voice-j9nxzz3g.js} +3 -3
- package/dist/chunks/{model-retry-cr4rfj9z.js → voice-jkdcm5hg.js} +4 -4
- package/dist/chunks/{model-retry-0zm23fzh.js → voice-jm2rth09.js} +23 -23
- package/dist/chunks/{model-retry-jm70asfg.js → voice-jm70asfg.js} +1 -1
- package/dist/chunks/{model-retry-tp0f9z31.js → voice-jqb5dkd6.js} +8 -8
- package/dist/chunks/{model-retry-gvhanf9h.js → voice-jwexjrzw.js} +33 -33
- package/dist/chunks/{model-retry-ape65bz6.js → voice-k91apw40.js} +19 -19
- package/dist/chunks/{model-retry-v88a3ryv.js → voice-kakp11ww.js} +16 -16
- package/dist/chunks/{model-retry-nv6ds7wv.js → voice-kf66eane.js} +8 -8
- package/dist/chunks/{model-retry-k46dd5bg.js → voice-kj9n5bvh.js} +4 -4
- package/dist/chunks/{model-retry-r8e692t8.js → voice-kky8y7vd.js} +18 -18
- package/dist/chunks/{model-retry-kn4zqwcq.js → voice-kn4zqwcq.js} +3 -3
- package/dist/chunks/{model-retry-n320gsn2.js → voice-kq4fnwb1.js} +4 -4
- package/dist/chunks/{model-retry-8aprttwk.js → voice-kqbry5xp.js} +12 -12
- package/dist/chunks/{model-retry-gzfkaw0c.js → voice-kr42xs1x.js} +25 -25
- package/dist/chunks/{model-retry-kt3bjfbg.js → voice-kt3bjfbg.js} +1 -1
- package/dist/chunks/{model-retry-kzczzf4v.js → voice-kzczzf4v.js} +1 -1
- package/dist/chunks/{model-retry-qk5sk9d1.js → voice-kzdam8c6.js} +7 -7
- package/dist/chunks/{model-retry-yk4bha1r.js → voice-m16wzvbz.js} +10 -10
- package/dist/chunks/{model-retry-m1714858.js → voice-m1714858.js} +1 -1
- package/dist/chunks/{model-retry-zct4xg09.js → voice-m51dyxz1.js} +9 -9
- package/dist/chunks/{model-retry-dke3vrcv.js → voice-m90s09wf.js} +47 -47
- package/dist/chunks/{model-retry-m9w0rfyh.js → voice-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-retry-8z6m94af.js → voice-mb7mbhnz.js} +3 -3
- package/dist/chunks/{model-retry-d7dxtbm7.js → voice-mdtqqwk2.js} +17 -17
- package/dist/chunks/{model-retry-23g3tcn9.js → voice-mem9hq1j.js} +32 -32
- package/dist/chunks/{model-retry-wjqxvf1v.js → voice-mht0thzg.js} +5 -5
- package/dist/chunks/{model-retry-tn6yhdbd.js → voice-mqwyyrgk.js} +38 -38
- package/dist/chunks/{model-retry-vgx153jw.js → voice-mwjtw10h.js} +16 -16
- package/dist/chunks/{model-retry-c2ex18zp.js → voice-mwtfx1rr.js} +46 -46
- package/dist/chunks/{model-retry-n3j33rb6.js → voice-n3j33rb6.js} +1 -1
- package/dist/chunks/{model-retry-m9rg0hev.js → voice-n3vz4w6f.js} +4 -4
- package/dist/chunks/{model-retry-f3cdzrg0.js → voice-n6cw2b0c.js} +9 -9
- package/dist/chunks/{model-retry-tn5ws9hc.js → voice-n9yrcr2r.js} +6 -6
- package/dist/chunks/{model-retry-gcht8555.js → voice-na09wy1b.js} +17 -17
- package/dist/chunks/{model-retry-3h7fzxjk.js → voice-nby6spwz.js} +9 -9
- package/dist/chunks/{model-retry-b5kdqcx0.js → voice-nc6qaqad.js} +4 -4
- package/dist/chunks/{model-retry-br0c2a14.js → voice-ncjx37xy.js} +15 -15
- package/dist/chunks/{model-retry-kr0x3sn9.js → voice-ne6efjj0.js} +6 -6
- package/dist/chunks/{model-retry-tb06yskb.js → voice-ne765583.js} +13 -13
- package/dist/chunks/{model-retry-82e4q3jm.js → voice-ng7kkp28.js} +1 -1
- package/dist/chunks/{model-retry-c4970w7t.js → voice-nv9tsjma.js} +6 -6
- package/dist/chunks/{model-retry-vgf4mkr1.js → voice-p09pcesq.js} +38 -38
- package/dist/chunks/{model-retry-evdgm3ew.js → voice-p39kxe9j.js} +14 -14
- package/dist/chunks/{model-retry-p76me67c.js → voice-p76me67c.js} +1 -1
- package/dist/chunks/{model-retry-qendvr4x.js → voice-p896y889.js} +28 -28
- package/dist/chunks/{model-retry-kdr6yy2e.js → voice-pdch41e7.js} +25 -25
- package/dist/chunks/{model-retry-1x657gw8.js → voice-pfkgx20r.js} +26 -26
- package/dist/chunks/{model-retry-pknna89w.js → voice-pknna89w.js} +1 -1
- package/dist/chunks/{model-retry-chsgkkdb.js → voice-pqg09pej.js} +14 -14
- package/dist/chunks/{model-retry-rtrkrqjb.js → voice-psf77gbq.js} +24 -24
- package/dist/chunks/{model-retry-yk4ram99.js → voice-ptabe0sc.js} +3 -3
- package/dist/chunks/{model-retry-k9hsxj4m.js → voice-ptgc6f70.js} +29 -29
- package/dist/chunks/{model-retry-4g9mzdb2.js → voice-pxde6n4r.js} +19 -19
- package/dist/chunks/{model-retry-ndkgrabd.js → voice-pyb42rgw.js} +16 -16
- package/dist/chunks/{model-retry-72fvvpfk.js → voice-q3h00j87.js} +25 -25
- package/dist/chunks/{model-retry-byxeg30p.js → voice-q5wyqbrn.js} +12 -12
- package/dist/chunks/{model-retry-h7fbbqc5.js → voice-q6563hm8.js} +6 -6
- package/dist/chunks/{model-retry-5mr4bw25.js → voice-q66cxe1q.js} +20 -20
- package/dist/chunks/{model-retry-74vvk0kg.js → voice-qnwejpft.js} +38 -38
- package/dist/chunks/{model-retry-qp7r0hxv.js → voice-qp7r0hxv.js} +1 -1
- package/dist/chunks/{model-retry-qsdghx1p.js → voice-qsdghx1p.js} +1 -1
- package/dist/chunks/{model-retry-87w3ax33.js → voice-qvqep2ak.js} +6 -6
- package/dist/chunks/{model-retry-cq4aw8s9.js → voice-r0dqvrhf.js} +6 -6
- package/dist/chunks/{model-retry-snhfpw9n.js → voice-r3q1xdvh.js} +17 -17
- package/dist/chunks/{model-retry-rb9dy4dg.js → voice-rb9dy4dg.js} +1 -1
- package/dist/chunks/{model-retry-rgc9cx3e.js → voice-rgc9cx3e.js} +2 -2
- package/dist/chunks/{model-retry-rtzvpvc6.js → voice-rgy9wb8r.js} +19 -19
- package/dist/chunks/{model-retry-rj7j5fvs.js → voice-rj7j5fvs.js} +1 -1
- package/dist/chunks/{model-retry-ad2xtyj4.js → voice-rkj5v69x.js} +16 -16
- package/dist/chunks/{model-retry-aqgx2fbe.js → voice-rmcpkmyh.js} +27 -27
- package/dist/chunks/{model-retry-fx4q7pgj.js → voice-rny7jd2w.js} +27 -27
- package/dist/chunks/{model-retry-gt7htbke.js → voice-rpzxhzy5.js} +35 -35
- package/dist/chunks/{model-retry-rt5dr6hb.js → voice-rt5dr6hb.js} +1 -1
- package/dist/chunks/{model-retry-9vsafsdm.js → voice-rvqjtky1.js} +18 -18
- package/dist/chunks/{model-retry-n49sf155.js → voice-rzhzghgd.js} +16 -16
- package/dist/chunks/{model-retry-fnesbmt0.js → voice-s5t4exv8.js} +31 -31
- package/dist/chunks/{model-retry-sbya78hr.js → voice-sbya78hr.js} +1 -1
- package/dist/chunks/{model-retry-x150ncgg.js → voice-sdn2zcx3.js} +2 -2
- package/dist/chunks/{model-retry-0j7gp832.js → voice-sqjzf8x2.js} +4 -4
- package/dist/chunks/{model-retry-ej6z2d8a.js → voice-src9vsb0.js} +10 -10
- package/dist/chunks/{model-retry-svcy3p9a.js → voice-svcy3p9a.js} +1 -1
- package/dist/chunks/{model-retry-pfnz7t08.js → voice-t25qvqcd.js} +4 -4
- package/dist/chunks/{model-retry-0x6tdn0e.js → voice-ta1tt9e0.js} +22 -22
- package/dist/chunks/{model-retry-jjvvtnfs.js → voice-tb2mrvc9.js} +4 -4
- package/dist/chunks/{model-retry-tbpn7jtk.js → voice-tbpn7jtk.js} +1 -1
- package/dist/chunks/{model-retry-yem0c8j4.js → voice-tc0zt20q.js} +23 -23
- package/dist/chunks/{model-retry-tczq8hjw.js → voice-tczq8hjw.js} +1 -1
- package/dist/chunks/{model-retry-wbhjtsxm.js → voice-te43v6n1.js} +8 -8
- package/dist/chunks/{model-retry-65n9jqtg.js → voice-tf9r37f3.js} +11 -11
- package/dist/chunks/{model-retry-hy8c1z76.js → voice-tg1vr1qt.js} +8 -8
- package/dist/chunks/{model-retry-9em2cpe1.js → voice-tnyngbzd.js} +22 -22
- package/dist/chunks/{model-retry-tr8x705m.js → voice-tr8x705m.js} +1 -1
- package/dist/chunks/{model-retry-tvtps2q9.js → voice-tvtps2q9.js} +1 -1
- package/dist/chunks/{model-retry-twssxy5n.js → voice-twssxy5n.js} +2 -2
- package/dist/chunks/{model-retry-6ss6ngz0.js → voice-tx91wa5k.js} +4 -4
- package/dist/chunks/{model-retry-pkejfstd.js → voice-v0zxj69a.js} +8 -8
- package/dist/chunks/{model-retry-v2r1d0zg.js → voice-v2r1d0zg.js} +1 -1
- package/dist/chunks/{model-retry-8x30jasg.js → voice-v4wwqybb.js} +8 -8
- package/dist/chunks/{model-retry-5nhnwd8y.js → voice-v7r59397.js} +11 -11
- package/dist/chunks/{model-retry-vjf35v1f.js → voice-vjf35v1f.js} +1 -1
- package/dist/chunks/{model-retry-45538rdj.js → voice-vn7d9r1w.js} +31 -31
- package/dist/chunks/{model-retry-x6d6qzf8.js → voice-vpfjm1w0.js} +347 -347
- package/dist/chunks/{model-retry-vq0qa3sh.js → voice-vt4r9rmy.js} +9 -9
- package/dist/chunks/{model-retry-z4gcm27a.js → voice-vvyrbt6e.js} +15 -15
- package/dist/chunks/{model-retry-2kg89srt.js → voice-w35wzz9x.js} +4 -4
- package/dist/chunks/{model-retry-w3wsvvr9.js → voice-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-retry-ha1v2dhf.js → voice-w9kjqb2v.js} +18 -18
- package/dist/chunks/{model-retry-wakvkjy4.js → voice-wakvkjy4.js} +1 -1
- package/dist/chunks/{model-retry-wd87259q.js → voice-wd87259q.js} +1 -1
- package/dist/chunks/{model-retry-nx4vzyjd.js → voice-wegkxhrn.js} +2 -2
- package/dist/chunks/{model-retry-4yagn11h.js → voice-wgcv9jcx.js} +6 -6
- package/dist/chunks/{model-retry-s51an0zc.js → voice-wm90ajzq.js} +33 -33
- package/dist/chunks/{model-retry-8v9kt5en.js → voice-wpmtqpce.js} +12 -12
- package/dist/chunks/{model-retry-82h3pxy5.js → voice-x0z0m99k.js} +18 -18
- package/dist/chunks/{model-retry-k8sgn0be.js → voice-x1re4nvw.js} +11 -11
- package/dist/chunks/{model-retry-3gb83mmq.js → voice-x7qyjdvj.js} +3 -3
- package/dist/chunks/{model-retry-wdpcpr0e.js → voice-xb9pxrkr.js} +15 -15
- package/dist/chunks/{model-retry-bstexjd6.js → voice-xd9cc171.js} +5 -5
- package/dist/chunks/{model-retry-mjrcsjpa.js → voice-xjbsd7zy.js} +9 -9
- package/dist/chunks/{model-retry-xjr6c8m4.js → voice-xjr6c8m4.js} +1 -1
- package/dist/chunks/{model-retry-kbgs7tyr.js → voice-xksw6ev0.js} +4 -4
- package/dist/chunks/{model-retry-nware8wq.js → voice-xm65dzc6.js} +31 -31
- package/dist/chunks/{model-retry-aqczazaa.js → voice-xn7cqzsq.js} +4 -4
- package/dist/chunks/voice-xqphd06q.js +265 -0
- package/dist/chunks/{model-retry-msjng1j0.js → voice-xsg53zeb.js} +9 -9
- package/dist/chunks/{model-retry-b7nkz392.js → voice-xtq9xpt1.js} +1 -1
- package/dist/chunks/{model-retry-651yrfrd.js → voice-y05q0w5r.js} +15 -15
- package/dist/chunks/{model-retry-g55xkcty.js → voice-y2z0z6pv.js} +4 -4
- package/dist/chunks/{model-retry-8k6g23ta.js → voice-y7hezkzm.js} +21 -21
- package/dist/chunks/{model-retry-495c17tm.js → voice-y8cce3fx.js} +19 -19
- package/dist/chunks/{model-retry-yb20nhc3.js → voice-yb20nhc3.js} +1 -1
- package/dist/chunks/{model-retry-8qdr79jy.js → voice-ye0egtn0.js} +11 -11
- package/dist/chunks/{model-retry-edm37t96.js → voice-ygnyxm4b.js} +6 -6
- package/dist/chunks/{model-retry-sbzezcpx.js → voice-yngvyh0w.js} +8 -8
- package/dist/chunks/{model-retry-yr705xyq.js → voice-yr705xyq.js} +1 -1
- package/dist/chunks/{model-retry-yvtc2x31.js → voice-yvtc2x31.js} +1 -1
- package/dist/chunks/{model-retry-31d2mjrz.js → voice-yy41tw1y.js} +15 -15
- package/dist/chunks/{model-retry-fyxaa2px.js → voice-yyxekwz1.js} +59 -59
- package/dist/chunks/{model-retry-m9958x9e.js → voice-z198hf5t.js} +8 -8
- package/dist/chunks/{model-retry-9wz6grpp.js → voice-z6bqmzvv.js} +9 -9
- package/dist/chunks/{model-retry-ha665zcy.js → voice-z6dmpqyt.js} +3 -3
- package/dist/chunks/voice-z7bdqmx5.js +18 -0
- package/dist/chunks/{model-retry-vt7mrkqc.js → voice-z9z2ktkk.js} +13 -13
- package/dist/chunks/{model-retry-zpdbqgja.js → voice-zpdbqgja.js} +1 -1
- package/dist/chunks/{model-retry-1efxkabk.js → voice-zs0a32sq.js} +12 -12
- package/dist/chunks/{model-retry-w2qp36ym.js → voice-zvwf81tm.js} +49 -49
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +90 -90
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +1 -1
- 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 +131 -131
- package/dist/config/plugin/command.js +238 -238
- package/dist/config/plugin/compaction.js +173 -173
- package/dist/config/plugin/compatibility.js +153 -153
- 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 +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +130 -130
- package/dist/config/plugin/skill-file.js +149 -149
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +154 -154
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +132 -132
- 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 +135 -135
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +90 -90
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +81 -81
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/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 +76 -76
- 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/v1-migration.bun.js +108 -108
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +440 -440
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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 +85 -85
- package/dist/file-access.js +160 -160
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +164 -164
- 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 +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +251 -251
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +116 -116
- package/dist/flag.js +129 -129
- package/dist/form.js +91 -91
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +100 -100
- package/dist/generate.js +116 -116
- 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 +112 -112
- 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 +431 -431
- package/dist/instruction-discovery.js +93 -93
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +182 -182
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +428 -428
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -158
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +120 -120
- package/dist/mcp/instructions.js +187 -187
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/pool.js +108 -108
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -157
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +112 -112
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +115 -115
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +121 -121
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +89 -89
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +156 -156
- 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 +85 -85
- package/dist/plugin/command.js +117 -117
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +244 -244
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +407 -407
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +127 -127
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +149 -149
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- 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 +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- 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 +108 -108
- 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 +1 -1
- 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 +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- 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 +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +135 -135
- package/dist/plugin/provider/opencode.js +159 -159
- 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/refresh.js +87 -87
- 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 +131 -131
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +237 -237
- package/dist/plugin/sdk.js +85 -85
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +152 -152
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +417 -417
- 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 +130 -130
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +251 -251
- 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 +105 -105
- package/dist/provider.js +112 -112
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +249 -249
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +253 -253
- 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 +132 -132
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +173 -173
- package/dist/session/context.js +203 -203
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +248 -248
- package/dist/session/execution.js +163 -163
- package/dist/session/generate.js +204 -204
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +150 -150
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +144 -144
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +171 -171
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +169 -169
- package/dist/session/projector.js +144 -144
- package/dist/session/prompt.js +151 -151
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +142 -142
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +1 -1
- package/dist/session/runner/llm.js +256 -256
- 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 +153 -153
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +164 -164
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +188 -188
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +150 -150
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +87 -87
- package/dist/session/store.js +145 -145
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +237 -237
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +207 -207
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +248 -248
- package/dist/session/usage.js +1 -1
- package/dist/session.js +239 -239
- package/dist/shared-cache.js +5 -5
- 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 +13 -13
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +154 -154
- package/dist/skill.js +159 -159
- package/dist/snapshot.js +98 -98
- 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 +186 -186
- package/dist/tool/plugin/artifact.js +236 -236
- package/dist/tool/plugin/edit.js +168 -168
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +174 -174
- package/dist/tool/plugin/grep.js +171 -171
- package/dist/tool/plugin/image-generate.js +247 -247
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +167 -167
- package/dist/tool/plugin/question.js +149 -149
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +255 -255
- package/dist/tool/plugin/shell.js +237 -237
- package/dist/tool/plugin/skill.js +158 -158
- package/dist/tool/plugin/subagent.js +244 -244
- package/dist/tool/plugin/todo.js +154 -154
- package/dist/tool/plugin/webfetch.js +160 -160
- package/dist/tool/plugin/websearch.js +156 -156
- package/dist/tool/plugin/write.js +169 -169
- package/dist/tool/read-filesystem.js +116 -116
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +163 -163
- package/dist/usage-limits.js +98 -98
- 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 +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +97 -97
- package/dist/websearch.js +101 -101
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +91 -91
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +113 -113
- package/package.json +8 -8
- package/dist/chunks/model-retry-00ve6mdn.js +0 -18
- package/dist/chunks/model-retry-b98b9sym.js +0 -26
- package/dist/chunks/model-retry-ngrkswfd.js +0 -265
- /package/dist/chunks/{model-retry-0qkdqm5v.js → voice-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-retry-0zkw76rk.js → voice-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-retry-108x4f4w.js → voice-108x4f4w.js} +0 -0
- /package/dist/chunks/{model-retry-17cy0kzp.js → voice-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-retry-1cnp2v09.js → voice-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-retry-1kah00gy.js → voice-1kah00gy.js} +0 -0
- /package/dist/chunks/{model-retry-24dcb14g.js → voice-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-retry-2710q6r3.js → voice-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-retry-2bv980vf.js → voice-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-retry-2c3vjs8z.js → voice-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-retry-359p4xyc.js → voice-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-retry-3af0jn4w.js → voice-3af0jn4w.js} +0 -0
- /package/dist/chunks/{model-retry-3asan66x.js → voice-3asan66x.js} +0 -0
- /package/dist/chunks/{model-retry-3v8g72cx.js → voice-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-retry-3wcehsnq.js → voice-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-retry-43n2bw4t.js → voice-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-retry-4knz6hnm.js → voice-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-retry-4qk9sjk2.js → voice-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{model-retry-4y7fprxs.js → voice-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-retry-53557ph1.js → voice-53557ph1.js} +0 -0
- /package/dist/chunks/{model-retry-550bvhaj.js → voice-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-retry-5w3e23ze.js → voice-5w3e23ze.js} +0 -0
- /package/dist/chunks/{model-retry-6agm2x70.js → voice-6agm2x70.js} +0 -0
- /package/dist/chunks/{model-retry-6prwharc.js → voice-6prwharc.js} +0 -0
- /package/dist/chunks/{model-retry-6q2bdcd1.js → voice-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-retry-7akdwqpd.js → voice-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-retry-7m9af43g.js → voice-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-retry-822emrt2.js → voice-822emrt2.js} +0 -0
- /package/dist/chunks/{model-retry-84wd9syh.js → voice-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-retry-88xbtdfr.js → voice-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-retry-8n3pysct.js → voice-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-retry-8wj87zfr.js → voice-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-retry-9a4afbnw.js → voice-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-retry-9rqn6x4v.js → voice-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-retry-a6k6eb26.js → voice-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-retry-af5trqkr.js → voice-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-retry-afrmfg78.js → voice-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-retry-aqzs7mqg.js → voice-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-retry-atq7p7m5.js → voice-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-retry-beh6qq61.js → voice-beh6qq61.js} +0 -0
- /package/dist/chunks/{model-retry-bhmrqjy3.js → voice-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{model-retry-bkyjaxrp.js → voice-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-retry-bmr6ed5q.js → voice-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-retry-cf4snx6d.js → voice-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-retry-cqv5kn06.js → voice-cqv5kn06.js} +0 -0
- /package/dist/chunks/{model-retry-cvy3z8tj.js → voice-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-retry-d9fn303g.js → voice-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-retry-d9jj8t3e.js → voice-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-retry-dap0rakb.js → voice-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-retry-df08tz66.js → voice-df08tz66.js} +0 -0
- /package/dist/chunks/{model-retry-dy18nga0.js → voice-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-retry-e5kj55wp.js → voice-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-retry-ean2d8b5.js → voice-ean2d8b5.js} +0 -0
- /package/dist/chunks/{model-retry-ec1grn59.js → voice-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-retry-emrn6kk6.js → voice-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-retry-f0mxakyp.js → voice-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-retry-f6n9ztr4.js → voice-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-retry-faypxj3z.js → voice-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-retry-fd410y7t.js → voice-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-retry-fkpq3x5p.js → voice-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{model-retry-g4wezp1m.js → voice-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-retry-g86h250q.js → voice-g86h250q.js} +0 -0
- /package/dist/chunks/{model-retry-gebd4c9n.js → voice-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-retry-gftt206x.js → voice-gftt206x.js} +0 -0
- /package/dist/chunks/{model-retry-hcxmzztb.js → voice-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-retry-hk9envan.js → voice-hk9envan.js} +0 -0
- /package/dist/chunks/{model-retry-j2ntwpah.js → voice-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-retry-j5zkgpj8.js → voice-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-retry-jjkms2e6.js → voice-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-retry-jr7sbwjy.js → voice-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-retry-jwfs4k6c.js → voice-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-retry-jwr30sdr.js → voice-jwr30sdr.js} +0 -0
- /package/dist/chunks/{model-retry-jzg6c2d5.js → voice-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-retry-m18g726c.js → voice-m18g726c.js} +0 -0
- /package/dist/chunks/{model-retry-mp448xyj.js → voice-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-retry-msx8hqn2.js → voice-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-retry-n05xt0ee.js → voice-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-retry-n3j8tn72.js → voice-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-retry-nh4v3znn.js → voice-nh4v3znn.js} +0 -0
- /package/dist/chunks/{model-retry-njntx4h6.js → voice-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-retry-p71gwv9c.js → voice-p71gwv9c.js} +0 -0
- /package/dist/chunks/{model-retry-q3sfg36h.js → voice-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-retry-q74kybfr.js → voice-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-retry-qb87gjwd.js → voice-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-retry-qfa1cgps.js → voice-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-retry-qg3g05ea.js → voice-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-retry-qrg20bc0.js → voice-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-retry-rcb2kzg1.js → voice-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-retry-sdp7kfr6.js → voice-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-retry-ssg3fenm.js → voice-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-retry-syrav9an.js → voice-syrav9an.js} +0 -0
- /package/dist/chunks/{model-retry-t03h4f5z.js → voice-t03h4f5z.js} +0 -0
- /package/dist/chunks/{model-retry-ty7weeps.js → voice-ty7weeps.js} +0 -0
- /package/dist/chunks/{model-retry-ve7vex1e.js → voice-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-retry-vtarvj67.js → voice-vtarvj67.js} +0 -0
- /package/dist/chunks/{model-retry-w803qqfp.js → voice-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-retry-wc3fc9cn.js → voice-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-retry-wer8tq1h.js → voice-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-retry-wtztk69x.js → voice-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-retry-x0ckcb58.js → voice-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-retry-x4th4bpe.js → voice-x4th4bpe.js} +0 -0
- /package/dist/chunks/{model-retry-x61499pn.js → voice-x61499pn.js} +0 -0
- /package/dist/chunks/{model-retry-y44na4kk.js → voice-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-retry-y8f7s663.js → voice-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-retry-ygaqb7jw.js → voice-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-retry-z0h12gs8.js → voice-z0h12gs8.js} +0 -0
- /package/dist/chunks/{model-retry-z5v4ffb3.js → voice-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-retry-z9919s4g.js → voice-z9919s4g.js} +0 -0
- /package/dist/chunks/{model-retry-zxpyjp51.js → voice-zxpyjp51.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./voice-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service79,
|
|
6
|
+
node82
|
|
7
|
+
} from "./voice-r3q1xdvh.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service56,
|
|
10
|
+
node58
|
|
11
|
+
} from "./voice-p39kxe9j.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./voice-ghrv1g9c.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./voice-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search2 = {};
|
|
22
22
|
__export(exports_search2, {
|
|
23
23
|
FileSystemSearch: () => exports_search2,
|
|
24
|
-
Service: () =>
|
|
25
|
-
configured: () =>
|
|
24
|
+
Service: () => Service55,
|
|
25
|
+
configured: () => configured5,
|
|
26
26
|
fffLayer: () => fffLayer2,
|
|
27
27
|
makeFffLayer: () => makeFffLayer2,
|
|
28
|
-
node: () =>
|
|
28
|
+
node: () => node57
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import path from "path";
|
|
@@ -33,7 +33,7 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Scope } from "effect
|
|
|
33
33
|
import { Fff } from "#fff";
|
|
34
34
|
import fuzzysort from "fuzzysort";
|
|
35
35
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
36
|
-
class
|
|
36
|
+
class Service55 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
37
37
|
}
|
|
38
38
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
39
39
|
function emptyIndex() {
|
|
@@ -52,9 +52,9 @@ function search(index, input) {
|
|
|
52
52
|
});
|
|
53
53
|
});
|
|
54
54
|
}
|
|
55
|
-
var ripgrepLayer = Layer.effect(
|
|
56
|
-
const location = yield*
|
|
57
|
-
const ripgrep = yield*
|
|
55
|
+
var ripgrepLayer = Layer.effect(Service55, Effect.gen(function* () {
|
|
56
|
+
const location = yield* Service79;
|
|
57
|
+
const ripgrep = yield* Service56;
|
|
58
58
|
const scope = yield* Scope.Scope;
|
|
59
59
|
const clock = yield* Clock.Clock;
|
|
60
60
|
const home = isHome2(location.directory);
|
|
@@ -99,7 +99,7 @@ var ripgrepLayer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
99
99
|
Deferred.doneUnsafe(attempt, exit);
|
|
100
100
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
101
101
|
});
|
|
102
|
-
return
|
|
102
|
+
return Service55.of({
|
|
103
103
|
find: (input) => Effect.gen(function* () {
|
|
104
104
|
yield* refresh;
|
|
105
105
|
return search(index, input);
|
|
@@ -119,8 +119,8 @@ function createPicker(create, directory) {
|
|
|
119
119
|
return { ok: false, error };
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
|
-
var makeFffLayer2 = (create) => Layer.effect(
|
|
123
|
-
const location = yield*
|
|
122
|
+
var makeFffLayer2 = (create) => Layer.effect(Service55, Effect.gen(function* () {
|
|
123
|
+
const location = yield* Service79;
|
|
124
124
|
let state;
|
|
125
125
|
yield* Effect.addFinalizer(() => Effect.sync(() => {
|
|
126
126
|
if (typeof state === "object" && state.result.ok)
|
|
@@ -152,7 +152,7 @@ var makeFffLayer2 = (create) => Layer.effect(Service64, Effect.gen(function* ()
|
|
|
152
152
|
}
|
|
153
153
|
return current.result.value;
|
|
154
154
|
});
|
|
155
|
-
return
|
|
155
|
+
return Service55.of({
|
|
156
156
|
find: (input) => Effect.gen(function* () {
|
|
157
157
|
const finder = yield* picker;
|
|
158
158
|
if (!finder)
|
|
@@ -200,16 +200,16 @@ var makeFffLayer2 = (create) => Layer.effect(Service64, Effect.gen(function* ()
|
|
|
200
200
|
}));
|
|
201
201
|
var fffLayer2 = makeFffLayer2(Fff.create);
|
|
202
202
|
var layer = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
203
|
-
const location = yield*
|
|
203
|
+
const location = yield* Service79;
|
|
204
204
|
if (location.workspaceID)
|
|
205
205
|
return ripgrepLayer;
|
|
206
206
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
207
207
|
return ripgrepLayer;
|
|
208
208
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer;
|
|
209
209
|
}));
|
|
210
|
-
function
|
|
211
|
-
return makeLocationNode({ service:
|
|
210
|
+
function configured5(options) {
|
|
211
|
+
return makeLocationNode({ service: Service55, layer: layer(options), deps: [node82, node58] });
|
|
212
212
|
}
|
|
213
|
-
var
|
|
213
|
+
var node57 = configured5();
|
|
214
214
|
|
|
215
|
-
export {
|
|
215
|
+
export { Service55, makeFffLayer2, fffLayer2, configured5, node57, exports_search2 };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin8
|
|
3
|
+
} from "./voice-m51dyxz1.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin5
|
|
6
|
+
} from "./voice-m16wzvbz.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin7
|
|
9
|
+
} from "./voice-apc8d5rx.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin10
|
|
12
|
+
} from "./voice-n6cw2b0c.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin6
|
|
15
|
+
} from "./voice-y05q0w5r.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin8,
|
|
20
|
+
Plugin5,
|
|
21
|
+
Plugin7,
|
|
22
|
+
Plugin10,
|
|
23
|
+
Plugin6
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./voice-kq4fnwb1.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./voice-pdch41e7.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID19,
|
|
9
9
|
MethodID2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./voice-vn7d9r1w.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID16,
|
|
13
13
|
aisdk2,
|
|
14
14
|
mergeOverlay2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service78
|
|
16
|
+
} from "./voice-0v2w8pbb.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
ID15
|
|
19
|
+
} from "./voice-bgehp640.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
load4,
|
|
22
|
+
derive2
|
|
23
|
+
} from "./voice-8hnmz7x2.js";
|
|
24
24
|
import {
|
|
25
25
|
useragent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./voice-z198hf5t.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
ID22
|
|
29
|
+
} from "./voice-3q00qqkh.js";
|
|
30
30
|
import {
|
|
31
31
|
get5
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./voice-3nnrz6f6.js";
|
|
33
33
|
import {
|
|
34
|
-
|
|
34
|
+
Service43,
|
|
35
35
|
fingerprint2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./voice-28rkn4bn.js";
|
|
37
37
|
import {
|
|
38
38
|
start3
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./voice-1dvb3gmj.js";
|
|
40
40
|
import {
|
|
41
41
|
activeCredential2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./voice-y2z0z6pv.js";
|
|
43
43
|
|
|
44
44
|
// src/plugin/provider/github-copilot.ts
|
|
45
45
|
import { isRecord } from "@opencode/util/record";
|
|
@@ -73,7 +73,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
73
73
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
74
74
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
75
75
|
var oauth = (app) => ({
|
|
76
|
-
integrationID:
|
|
76
|
+
integrationID: ID19.make("github-copilot"),
|
|
77
77
|
method: {
|
|
78
78
|
id: methodID,
|
|
79
79
|
type: "oauth",
|
|
@@ -171,8 +171,8 @@ var oauth = (app) => ({
|
|
|
171
171
|
var GithubCopilotPlugin2 = define({
|
|
172
172
|
id: "opencode.provider.github.copilot",
|
|
173
173
|
effect: Effect.fn(function* (ctx) {
|
|
174
|
-
const providers = yield*
|
|
175
|
-
const cache = yield*
|
|
174
|
+
const providers = yield* Service78;
|
|
175
|
+
const cache = yield* Service43;
|
|
176
176
|
const http = yield* HttpClient.HttpClient;
|
|
177
177
|
const outbound = yield* FetchHttpClient.Fetch;
|
|
178
178
|
const discovered = yield* start3({
|
|
@@ -185,11 +185,11 @@ var GithubCopilotPlugin2 = define({
|
|
|
185
185
|
if (!connection || credential?.type !== "oauth")
|
|
186
186
|
return { connection, value: {} };
|
|
187
187
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
188
|
-
const headers = (yield* providers.get(
|
|
188
|
+
const headers = (yield* providers.get(ID16.githubCopilot))?.headers ?? {};
|
|
189
189
|
const models = yield* cache.get({
|
|
190
190
|
key: modelsKey(connection, url, headers),
|
|
191
191
|
...options,
|
|
192
|
-
load: ctx.integration.connection.resolve(connection).pipe(Effect.flatMap((current) => current?.type === "oauth" ?
|
|
192
|
+
load: ctx.integration.connection.resolve(connection).pipe(Effect.flatMap((current) => current?.type === "oauth" ? load4(http, url, {
|
|
193
193
|
...headers,
|
|
194
194
|
Authorization: `Bearer ${current.refresh}`,
|
|
195
195
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -206,14 +206,14 @@ var GithubCopilotPlugin2 = define({
|
|
|
206
206
|
editor.method.update(oauth(ctx.app));
|
|
207
207
|
});
|
|
208
208
|
yield* ctx.provider.transform((evt) => {
|
|
209
|
-
const item = evt.get(
|
|
209
|
+
const item = evt.get(ID16.githubCopilot);
|
|
210
210
|
if (!item)
|
|
211
211
|
return;
|
|
212
212
|
const loaded = discovered.current;
|
|
213
213
|
if (loaded.models) {
|
|
214
214
|
evt.add({
|
|
215
215
|
info: item.provider,
|
|
216
|
-
models: Array.from(
|
|
216
|
+
models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
217
217
|
sourceConnection: loaded.connection
|
|
218
218
|
});
|
|
219
219
|
return;
|
|
@@ -235,8 +235,8 @@ var GithubCopilotPlugin2 = define({
|
|
|
235
235
|
}
|
|
236
236
|
});
|
|
237
237
|
yield* ctx.model.transform((models) => {
|
|
238
|
-
if (models.get(
|
|
239
|
-
models.update(
|
|
238
|
+
if (models.get(ID16.githubCopilot, ID15.make("gpt-5-chat-latest"))) {
|
|
239
|
+
models.update(ID16.githubCopilot, ID15.make("gpt-5-chat-latest"), (model) => {
|
|
240
240
|
model.enabled = false;
|
|
241
241
|
});
|
|
242
242
|
}
|
|
@@ -247,7 +247,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
247
247
|
evt.options.fetch = copilotFetch2(typeof evt.options.apiKey === "string" ? evt.options.apiKey : undefined, evt.options.fetch, ctx.app);
|
|
248
248
|
const mod = yield* Effect.promise(() => import("../github-copilot/copilot-provider.js"));
|
|
249
249
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
250
|
-
}), { providerID:
|
|
250
|
+
}), { providerID: ID16.githubCopilot });
|
|
251
251
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
252
252
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
253
253
|
return;
|
|
@@ -257,12 +257,12 @@ var GithubCopilotPlugin2 = define({
|
|
|
257
257
|
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
258
258
|
if (interaction !== "conversation-agent")
|
|
259
259
|
evt.headers["x-initiator"] = "agent";
|
|
260
|
-
}), { providerID:
|
|
260
|
+
}), { providerID: ID16.githubCopilot });
|
|
261
261
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
262
262
|
const loaded = discovered.current;
|
|
263
263
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
264
264
|
return;
|
|
265
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
265
|
+
const agent = yield* ctx.agent.get({ agentID: ID22.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
266
266
|
return;
|
|
267
267
|
}));
|
|
268
268
|
if (agent?.data.model)
|
|
@@ -273,7 +273,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
273
273
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app, fetch: outbound }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
274
274
|
return;
|
|
275
275
|
}));
|
|
276
|
-
}), { providerID:
|
|
276
|
+
}), { providerID: ID16.githubCopilot });
|
|
277
277
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
278
278
|
const token = evt.request.headers.get("x-api-key");
|
|
279
279
|
if (!token)
|
|
@@ -281,7 +281,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
281
281
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
282
282
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
283
283
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body));
|
|
284
|
-
}), { providerID:
|
|
284
|
+
}), { providerID: ID16.githubCopilot });
|
|
285
285
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
286
286
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
287
287
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -299,7 +299,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
299
299
|
const gpt = /^gpt-(\d+)/.exec(id);
|
|
300
300
|
const responses = gpt !== null && Number(gpt[1]) >= 5 && !id.startsWith("gpt-5-mini") || id.startsWith("grok-") || id.startsWith("mai-code-");
|
|
301
301
|
evt.language = responses ? evt.sdk.responses(id) : evt.sdk.chat(id);
|
|
302
|
-
}), { providerID:
|
|
302
|
+
}), { providerID: ID16.githubCopilot });
|
|
303
303
|
})
|
|
304
304
|
});
|
|
305
305
|
function modelsKey(connection, url, headers) {
|
|
@@ -1,74 +1,74 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service91,
|
|
3
|
+
node94
|
|
4
|
+
} from "./voice-pyb42rgw.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service86,
|
|
7
|
+
node89
|
|
8
|
+
} from "./voice-z9z2ktkk.js";
|
|
9
9
|
import {
|
|
10
10
|
changes2,
|
|
11
11
|
create4
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./voice-40y6dtc2.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./voice-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/websearch.ts
|
|
18
18
|
var exports_websearch3 = {};
|
|
19
19
|
__export(exports_websearch3, {
|
|
20
|
-
DisabledError: () =>
|
|
21
|
-
Event: () =>
|
|
22
|
-
ID: () =>
|
|
23
|
-
Input: () =>
|
|
24
|
-
Provider: () =>
|
|
20
|
+
DisabledError: () => DisabledError3,
|
|
21
|
+
Event: () => Event5,
|
|
22
|
+
ID: () => ID7,
|
|
23
|
+
Input: () => Input15,
|
|
24
|
+
Provider: () => Provider2,
|
|
25
25
|
ProviderKey: () => ProviderKey2,
|
|
26
|
-
ProviderNotFoundError: () =>
|
|
26
|
+
ProviderNotFoundError: () => ProviderNotFoundError2,
|
|
27
27
|
ProviderRequiredError: () => ProviderRequiredError2,
|
|
28
28
|
RequestError: () => RequestError2,
|
|
29
29
|
Response: () => Response2,
|
|
30
30
|
Result: () => Result2,
|
|
31
31
|
Selection: () => Selection2,
|
|
32
|
-
Service: () =>
|
|
32
|
+
Service: () => Service25,
|
|
33
33
|
WebSearch: () => exports_websearch3,
|
|
34
|
-
node: () =>
|
|
34
|
+
node: () => node28
|
|
35
35
|
});
|
|
36
36
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
37
37
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
38
38
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
39
39
|
import { HttpClientError } from "effect/http";
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
|
-
import { Event as
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var
|
|
41
|
+
import { Event as Event5 } from "@opencode/schema/websearch";
|
|
42
|
+
var ID7 = WebSearch.ID;
|
|
43
|
+
var Provider2 = WebSearch.Provider;
|
|
44
|
+
var Input15 = WebSearch.Input;
|
|
45
45
|
var Result2 = WebSearch.Result;
|
|
46
46
|
var Response2 = WebSearch.Response;
|
|
47
47
|
var ProviderKey2 = "websearch:provider";
|
|
48
|
-
var Selection2 = Schema.Union([
|
|
48
|
+
var Selection2 = Schema.Union([ID7, Schema.Literal("random"), Schema.Literal(false)]);
|
|
49
49
|
|
|
50
50
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
class
|
|
54
|
-
providerID:
|
|
53
|
+
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
54
|
+
providerID: ID7
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class DisabledError3 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
62
|
-
providerID:
|
|
62
|
+
providerID: ID7,
|
|
63
63
|
cause: Schema.Defect()
|
|
64
64
|
}) {
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
class
|
|
67
|
+
class Service25 extends Context.Service()("@opencode/WebSearch") {
|
|
68
68
|
}
|
|
69
|
-
var layer = Layer.effect(
|
|
70
|
-
const bus = yield*
|
|
71
|
-
const kv = yield*
|
|
69
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
70
|
+
const bus = yield* Service91;
|
|
71
|
+
const kv = yield* Service86;
|
|
72
72
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
73
73
|
const cooldowns = new Map;
|
|
74
74
|
const preferred = new Map;
|
|
@@ -95,7 +95,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
95
95
|
});
|
|
96
96
|
const requireProvider = (providers, providerID) => {
|
|
97
97
|
const provider = providers.get(providerID);
|
|
98
|
-
return provider ? Effect.succeed(provider) : Effect.fail(new
|
|
98
|
+
return provider ? Effect.succeed(provider) : Effect.fail(new ProviderNotFoundError2({ providerID }));
|
|
99
99
|
};
|
|
100
100
|
const selection = Effect.fn("WebSearch.selection")(function* () {
|
|
101
101
|
const data = state.get();
|
|
@@ -124,14 +124,14 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
124
124
|
};
|
|
125
125
|
const defaultProvider = Effect.fn("WebSearch.default")(function* (choice) {
|
|
126
126
|
if (choice === false)
|
|
127
|
-
return yield* new
|
|
127
|
+
return yield* new DisabledError3;
|
|
128
128
|
if (choice === "random") {
|
|
129
129
|
const active = preferred.get(undefined)?.provider;
|
|
130
130
|
return (active === undefined ? undefined : state.get().providers.get(active)) ?? state.get().providers.values().next().value;
|
|
131
131
|
}
|
|
132
132
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
133
133
|
});
|
|
134
|
-
return
|
|
134
|
+
return Service25.of({
|
|
135
135
|
transform: state.transform,
|
|
136
136
|
reload: state.reload,
|
|
137
137
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -188,10 +188,10 @@ function cooldownMillis(value, now) {
|
|
|
188
188
|
const date = Date.parse(value);
|
|
189
189
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
190
190
|
}
|
|
191
|
-
var
|
|
192
|
-
service:
|
|
191
|
+
var node28 = makeLocationNode({
|
|
192
|
+
service: Service25,
|
|
193
193
|
layer,
|
|
194
|
-
deps: [
|
|
194
|
+
deps: [node94, node89]
|
|
195
195
|
});
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { ID7, Provider2, Input15, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError3, RequestError2, Service25, node28, exports_websearch3, Event5 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service88
|
|
3
|
+
} from "./voice-3q00qqkh.js";
|
|
4
4
|
import {
|
|
5
5
|
Ref3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service77
|
|
7
|
+
} from "./voice-bgehp640.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service72
|
|
11
|
+
} from "./voice-927m74tw.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionSchema2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./voice-6q8jj3zs.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service61
|
|
17
|
+
} from "./voice-x0z0m99k.js";
|
|
18
18
|
import {
|
|
19
19
|
invocation2,
|
|
20
20
|
evaluate3,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service68
|
|
22
|
+
} from "./voice-8jydy40p.js";
|
|
23
23
|
import {
|
|
24
24
|
Service27
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./voice-c5wc4t8q.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./voice-sqjzf8x2.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service10
|
|
31
|
+
} from "./voice-kky8y7vd.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./voice-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input11,
|
|
40
|
+
Output: () => Output7,
|
|
41
|
+
Plugin: () => Plugin32,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description6,
|
|
44
|
+
name: () => name11
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name11 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -57,7 +57,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
57
57
|
].join(`
|
|
58
58
|
`)
|
|
59
59
|
});
|
|
60
|
-
var
|
|
60
|
+
var Input11 = Schema.Struct({
|
|
61
61
|
agent: Schema.String.annotate({
|
|
62
62
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
63
63
|
}),
|
|
@@ -73,12 +73,12 @@ var Input12 = Schema.Struct({
|
|
|
73
73
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
|
-
var
|
|
76
|
+
var Output7 = Schema.Struct({
|
|
77
77
|
sessionID: SessionSchema2.ID,
|
|
78
78
|
status: Schema.Literals(["completed", "running"]),
|
|
79
79
|
output: Schema.String
|
|
80
80
|
});
|
|
81
|
-
var
|
|
81
|
+
var description6 = [
|
|
82
82
|
"Spawns an agent in a child session to work on the specified task.",
|
|
83
83
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
84
84
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -87,16 +87,16 @@ var description4 = [
|
|
|
87
87
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
88
88
|
].join(`
|
|
89
89
|
`);
|
|
90
|
-
var
|
|
90
|
+
var Plugin32 = {
|
|
91
91
|
id: "opencode.tool.subagent",
|
|
92
92
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
93
93
|
const sessions = yield* Service27;
|
|
94
|
-
const jobs = yield*
|
|
95
|
-
const agents = yield*
|
|
96
|
-
const config = yield*
|
|
97
|
-
const permission = yield*
|
|
98
|
-
const models = yield*
|
|
99
|
-
const subagents = yield*
|
|
94
|
+
const jobs = yield* Service61;
|
|
95
|
+
const agents = yield* Service88;
|
|
96
|
+
const config = yield* Service72;
|
|
97
|
+
const permission = yield* Service68;
|
|
98
|
+
const models = yield* Service77;
|
|
99
|
+
const subagents = yield* Service10;
|
|
100
100
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
101
101
|
const ref = yield* Effect.try({
|
|
102
102
|
try: () => Ref3.parse(input),
|
|
@@ -118,11 +118,11 @@ var Plugin14 = {
|
|
|
118
118
|
return ref;
|
|
119
119
|
});
|
|
120
120
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
121
|
-
name:
|
|
121
|
+
name: name11,
|
|
122
122
|
options: { codemode: false },
|
|
123
|
-
description:
|
|
124
|
-
input:
|
|
125
|
-
output:
|
|
123
|
+
description: description6,
|
|
124
|
+
input: Input11,
|
|
125
|
+
output: Output7,
|
|
126
126
|
execute: (input, context) => Effect.gen(function* () {
|
|
127
127
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
128
128
|
let current = parent;
|
|
@@ -142,7 +142,7 @@ var Plugin14 = {
|
|
|
142
142
|
if (agent.mode === "primary")
|
|
143
143
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
144
144
|
yield* permission.assert({
|
|
145
|
-
action:
|
|
145
|
+
action: name11,
|
|
146
146
|
resources: [agent.id],
|
|
147
147
|
save: [agent.id],
|
|
148
148
|
...invocation2(context)
|
|
@@ -215,7 +215,7 @@ ${output.output}
|
|
|
215
215
|
})))
|
|
216
216
|
})).pipe(Effect.orDie);
|
|
217
217
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
218
|
-
if (event.tool !==
|
|
218
|
+
if (event.tool !== name11 || !Predicate.isObject(event.input))
|
|
219
219
|
return;
|
|
220
220
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
221
221
|
return;
|
|
@@ -227,13 +227,13 @@ ${output.output}
|
|
|
227
227
|
event.input = input;
|
|
228
228
|
}));
|
|
229
229
|
const hook = (event) => Effect.gen(function* () {
|
|
230
|
-
const tool = event.tools[
|
|
230
|
+
const tool = event.tools[name11];
|
|
231
231
|
if (!tool)
|
|
232
232
|
return;
|
|
233
233
|
const selected = yield* agents.resolve(event.agent);
|
|
234
234
|
if (!selected)
|
|
235
235
|
return;
|
|
236
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(
|
|
236
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(name11, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
237
237
|
if (available.length === 0)
|
|
238
238
|
return;
|
|
239
239
|
tool.description = [
|
|
@@ -250,4 +250,4 @@ ${output.output}
|
|
|
250
250
|
})
|
|
251
251
|
};
|
|
252
252
|
|
|
253
|
-
export {
|
|
253
|
+
export { name11, Input11, Output7, description6, Plugin32, exports_subagent };
|