@opencode/core 0.0.0-dev-365 → 0.0.0-dev-368
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 +93 -93
- 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-034tev2y.js → voice-034tev2y.js} +2 -2
- package/dist/chunks/{file-retention-patmbawk.js → voice-0da60a1b.js} +28 -28
- package/dist/chunks/{file-retention-ybws1qgk.js → voice-0h86f0az.js} +4 -4
- package/dist/chunks/{file-retention-k92vzxqv.js → voice-0m5920vb.js} +7 -7
- package/dist/chunks/{file-retention-04tv7frf.js → voice-0n28khqy.js} +9 -9
- package/dist/chunks/{file-retention-aq0xw1y6.js → voice-0vsvpvpz.js} +6 -6
- package/dist/chunks/{file-retention-98dmdzfy.js → voice-0w0ty6qq.js} +24 -24
- package/dist/chunks/{file-retention-36w0pb0f.js → voice-138zmswh.js} +5 -5
- package/dist/chunks/{file-retention-g8as110m.js → voice-18a4zeb5.js} +25 -25
- package/dist/chunks/{file-retention-h2padk5z.js → voice-19865k6f.js} +11 -11
- package/dist/chunks/{file-retention-1aqsckx4.js → voice-1aqsckx4.js} +1 -1
- package/dist/chunks/{file-retention-vnh9n1ga.js → voice-1cacxahd.js} +5 -5
- package/dist/chunks/{file-retention-zpf912r4.js → voice-1dmvfyea.js} +32 -32
- package/dist/chunks/{file-retention-1ep2p91f.js → voice-1ep2p91f.js} +2 -2
- package/dist/chunks/{file-retention-e82mxxdn.js → voice-1grr5861.js} +3 -3
- package/dist/chunks/{file-retention-pb4hadtr.js → voice-1m0b3txc.js} +3 -3
- package/dist/chunks/{file-retention-4gmbvmjy.js → voice-1pk0e05p.js} +4 -4
- package/dist/chunks/{file-retention-854masfb.js → voice-1r4g9a40.js} +7 -7
- package/dist/chunks/{file-retention-1x2knyw4.js → voice-1x2knyw4.js} +1 -1
- package/dist/chunks/{file-retention-nyfhe47q.js → voice-22wp63zj.js} +2 -2
- package/dist/chunks/{file-retention-25h84942.js → voice-25h84942.js} +1 -1
- package/dist/chunks/voice-27cptz25.js +539 -0
- package/dist/chunks/{file-retention-jtqae1ex.js → voice-27etvgkm.js} +17 -17
- package/dist/chunks/{file-retention-tkm9xe8p.js → voice-27mna02c.js} +10 -10
- package/dist/chunks/{file-retention-sbz71ybr.js → voice-2cdjxzfg.js} +3 -3
- package/dist/chunks/{file-retention-wvj287hh.js → voice-2hhfjmpx.js} +16 -16
- package/dist/chunks/{file-retention-fhnd73k8.js → voice-2hz06pja.js} +5 -5
- package/dist/chunks/{file-retention-x7f1c0hn.js → voice-2j5gpsjp.js} +8 -8
- package/dist/chunks/{file-retention-w3gtzgrj.js → voice-2qmv59j7.js} +16 -16
- package/dist/chunks/{file-retention-wz8egk7j.js → voice-2qxh1184.js} +26 -26
- package/dist/chunks/{file-retention-nttcdzvb.js → voice-2rbg8njc.js} +35 -35
- package/dist/chunks/{file-retention-710xrkf2.js → voice-2vs5ggfy.js} +9 -9
- package/dist/chunks/{file-retention-y906m0ew.js → voice-2xwkyk0m.js} +5 -5
- package/dist/chunks/{file-retention-krj4kdcf.js → voice-32ypt6ex.js} +5 -5
- package/dist/chunks/{file-retention-j269d26h.js → voice-33jxzdjr.js} +10 -10
- package/dist/chunks/{file-retention-hykm9enp.js → voice-35bw37j2.js} +12 -12
- package/dist/chunks/{file-retention-3hepkmqq.js → voice-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-retention-vdv0ex2k.js → voice-3j4ks7kb.js} +17 -17
- package/dist/chunks/{file-retention-b5b5s7sc.js → voice-3krjhk9g.js} +9 -9
- package/dist/chunks/{file-retention-h1pmbafy.js → voice-3v2s7727.js} +38 -38
- package/dist/chunks/{file-retention-40y6dtc2.js → voice-40y6dtc2.js} +1 -1
- package/dist/chunks/{file-retention-r7qkq1cq.js → voice-41jtwnar.js} +11 -11
- package/dist/chunks/{file-retention-rfkt08md.js → voice-463chxfj.js} +25 -25
- package/dist/chunks/{file-retention-1nxbehe5.js → voice-48eec1vm.js} +4 -4
- package/dist/chunks/{file-retention-3vrm62xe.js → voice-48pd17b4.js} +8 -8
- package/dist/chunks/{file-retention-3r49zhmj.js → voice-4a9vxqq9.js} +35 -35
- package/dist/chunks/{file-retention-s9k2g5gd.js → voice-4aqeqryw.js} +23 -23
- package/dist/chunks/{file-retention-4d2dtj2f.js → voice-4d2dtj2f.js} +1 -1
- package/dist/chunks/{file-retention-4dx1dgte.js → voice-4dx1dgte.js} +1 -1
- package/dist/chunks/{file-retention-4f25tdd0.js → voice-4f25tdd0.js} +1 -1
- package/dist/chunks/{file-retention-qn78z9wr.js → voice-4fq0n7hc.js} +13 -13
- package/dist/chunks/{file-retention-43nkkq55.js → voice-4fztrf6x.js} +27 -27
- package/dist/chunks/{file-retention-4pyp9zr9.js → voice-4pyp9zr9.js} +1 -1
- package/dist/chunks/{file-retention-4v008n1t.js → voice-4v008n1t.js} +1 -1
- package/dist/chunks/{file-retention-37fmbenv.js → voice-4xfb1qx2.js} +58 -58
- package/dist/chunks/{file-retention-x264bg3j.js → voice-4xmffp4f.js} +21 -21
- package/dist/chunks/{file-retention-0cwk7jfm.js → voice-50sx7pmj.js} +9 -9
- package/dist/chunks/{file-retention-dp29q3vk.js → voice-52tdkmh7.js} +33 -33
- package/dist/chunks/{file-retention-rjh8ndqb.js → voice-5494sgck.js} +7 -7
- package/dist/chunks/{file-retention-q9jzns4g.js → voice-5aadmexf.js} +11 -11
- package/dist/chunks/{file-retention-tcgeqmk1.js → voice-5gk164xn.js} +3 -3
- package/dist/chunks/{file-retention-5m9w47nd.js → voice-5m9w47nd.js} +1 -1
- package/dist/chunks/{file-retention-b6vsg801.js → voice-5nnwax6m.js} +5 -5
- package/dist/chunks/{file-retention-f49n8c6f.js → voice-5scj3wpx.js} +21 -21
- package/dist/chunks/{file-retention-6p53pxzw.js → voice-5vzcmptt.js} +13 -13
- package/dist/chunks/{file-retention-y4n6pw34.js → voice-5w1mdqt7.js} +4 -4
- package/dist/chunks/{file-retention-gmp4mkqx.js → voice-603n4942.js} +25 -25
- package/dist/chunks/{file-retention-494gazew.js → voice-610539jf.js} +15 -15
- package/dist/chunks/{file-retention-1jv1g512.js → voice-61r16nyr.js} +18 -18
- package/dist/chunks/{file-retention-mh0grf13.js → voice-635vret2.js} +79 -79
- package/dist/chunks/{file-retention-3rex4wkr.js → voice-67mya89m.js} +199 -199
- package/dist/chunks/{file-retention-xksw6ev0.js → voice-67wwskyb.js} +4 -4
- package/dist/chunks/{file-retention-2eqy3gj5.js → voice-68wbjj2w.js} +11 -11
- package/dist/chunks/{file-retention-6yzxzbn5.js → voice-69g5ga3r.js} +22 -22
- package/dist/chunks/{file-retention-dwq3t05f.js → voice-6dsgkn6f.js} +20 -20
- package/dist/chunks/{file-retention-qy4bfg0t.js → voice-6e22jkyp.js} +33 -33
- package/dist/chunks/{file-retention-kzdam8c6.js → voice-6edbc7zm.js} +4 -4
- package/dist/chunks/{file-retention-6esdw8yj.js → voice-6esdw8yj.js} +1 -1
- package/dist/chunks/{file-retention-rjxvw18s.js → voice-6q8swtke.js} +24 -24
- package/dist/chunks/{file-retention-tk62q1re.js → voice-6w8qwxmc.js} +16 -16
- package/dist/chunks/{file-retention-4g48tjx4.js → voice-6ys6s7e4.js} +13 -13
- package/dist/chunks/{file-retention-zdcpgs8q.js → voice-70yt0na3.js} +24 -24
- package/dist/chunks/{file-retention-srwhahpg.js → voice-72jyty8b.js} +21 -21
- package/dist/chunks/{file-retention-8qbjkpdc.js → voice-73yp06xx.js} +5 -5
- package/dist/chunks/{file-retention-76cb1hcw.js → voice-76cb1hcw.js} +1 -1
- package/dist/chunks/{file-retention-775hqbnd.js → voice-775hqbnd.js} +3 -3
- package/dist/chunks/{file-retention-q98txggg.js → voice-7arjqscx.js} +25 -25
- package/dist/chunks/{file-retention-vn3jxh88.js → voice-7bgqwywg.js} +34 -34
- package/dist/chunks/{file-retention-7bmhse3q.js → voice-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-retention-j0p3wt22.js → voice-7f840skq.js} +8 -8
- package/dist/chunks/{file-retention-dnz500gn.js → voice-7jhmzye7.js} +43 -43
- package/dist/chunks/{file-retention-7kr66rt3.js → voice-7kr66rt3.js} +1 -1
- package/dist/chunks/{file-retention-hmhcwfpk.js → voice-7nqkf5r1.js} +8 -8
- package/dist/chunks/{file-retention-7w2ypzdf.js → voice-7w2ypzdf.js} +1 -1
- package/dist/chunks/{file-retention-97zw14d0.js → voice-7wqp9x2p.js} +2 -2
- package/dist/chunks/voice-7yv5xa0k.js +18 -0
- package/dist/chunks/{file-retention-vh5mfw8y.js → voice-83k8qzqx.js} +11 -11
- package/dist/chunks/{file-retention-367hxp8h.js → voice-85pde67f.js} +11 -11
- package/dist/chunks/{file-retention-89287pr7.js → voice-89287pr7.js} +1 -1
- package/dist/chunks/{file-retention-qz6mm41d.js → voice-8chyhaxb.js} +53 -53
- package/dist/chunks/{file-retention-4srsrmw7.js → voice-8pn17q57.js} +32 -32
- package/dist/chunks/{file-retention-cmwydw43.js → voice-8rgb2cvr.js} +9 -9
- package/dist/chunks/{file-retention-y039zdvd.js → voice-8rp8e4v3.js} +25 -25
- package/dist/chunks/{file-retention-r17fbvme.js → voice-8t99kr38.js} +4 -4
- package/dist/chunks/{file-retention-rjnvnctx.js → voice-8vct2pgr.js} +3 -3
- package/dist/chunks/{file-retention-8wtp7s3z.js → voice-8wtp7s3z.js} +1 -1
- package/dist/chunks/{file-retention-z9ak6f41.js → voice-8wxmm8zv.js} +31 -31
- package/dist/chunks/{file-retention-mgc4smjp.js → voice-90ct6wq4.js} +7 -8
- package/dist/chunks/{file-retention-90zstvax.js → voice-90zstvax.js} +1 -1
- package/dist/chunks/{file-retention-fsydmy3v.js → voice-9192ty2c.js} +23 -23
- package/dist/chunks/{file-retention-ewzekqf7.js → voice-93jh753e.js} +46 -46
- package/dist/chunks/{file-retention-96djdqw5.js → voice-96djdqw5.js} +4 -4
- package/dist/chunks/{file-retention-aqaf6eqh.js → voice-9d0hj87h.js} +4 -4
- package/dist/chunks/{file-retention-ctmpqb7w.js → voice-9f3jsh1d.js} +9 -9
- package/dist/chunks/{file-retention-8jgevw96.js → voice-9hrdgvww.js} +4 -4
- package/dist/chunks/{file-retention-26pa0b26.js → voice-9jgv5tm1.js} +5 -5
- package/dist/chunks/{file-retention-pk2cp82e.js → voice-9px5g6fm.js} +12 -12
- package/dist/chunks/{file-retention-ct67btrp.js → voice-9qw669we.js} +5 -5
- package/dist/chunks/{file-retention-ne5yss8b.js → voice-9x608sfz.js} +18 -18
- package/dist/chunks/{file-retention-yabd269j.js → voice-9xr5qg12.js} +35 -35
- package/dist/chunks/{file-retention-nvwskqe1.js → voice-a11dn8tx.js} +12 -12
- package/dist/chunks/{file-retention-rqhxkn0m.js → voice-a4ebmmbr.js} +9 -9
- package/dist/chunks/{file-retention-2k0y5jmk.js → voice-a79rh8j4.js} +18 -18
- package/dist/chunks/{file-retention-6gh4xsn0.js → voice-aetvzffy.js} +14 -14
- package/dist/chunks/{file-retention-j8e99ceq.js → voice-ahhxmk35.js} +15 -15
- package/dist/chunks/{file-retention-chp37d0z.js → voice-an77zdt9.js} +18 -18
- package/dist/chunks/{file-retention-mxwm4x62.js → voice-aydnnhej.js} +3 -3
- package/dist/chunks/{file-retention-adym558h.js → voice-ayhfmv6z.js} +10 -10
- package/dist/chunks/{file-retention-ayjs7tqn.js → voice-ayjs7tqn.js} +2 -2
- package/dist/chunks/{file-retention-s6nkmqs6.js → voice-b1w7ct0q.js} +5 -5
- package/dist/chunks/{file-retention-fznmdakp.js → voice-b6z35kmf.js} +4 -4
- package/dist/chunks/{file-retention-hz3tdqq2.js → voice-b8e9zw2f.js} +15 -15
- package/dist/chunks/{file-retention-2pb226t7.js → voice-bd8mcqfw.js} +3 -3
- package/dist/chunks/{file-retention-7s7r6cce.js → voice-bkjpf9fa.js} +14 -14
- package/dist/chunks/{file-retention-0ex8dcbt.js → voice-bq5na9ha.js} +17 -17
- package/dist/chunks/{file-retention-bstexjd6.js → voice-bstexjd6.js} +1 -1
- package/dist/chunks/{file-retention-3pqbsxs8.js → voice-bxy5h6nk.js} +4 -4
- package/dist/chunks/{file-retention-78p2h4ex.js → voice-bys6f9s7.js} +5 -5
- package/dist/chunks/{file-retention-dpqv5et8.js → voice-c0jpdhmk.js} +21 -21
- package/dist/chunks/{file-retention-5839xq93.js → voice-c4c4zzdq.js} +11 -11
- package/dist/chunks/{file-retention-0ahs07zn.js → voice-c6x7d2ts.js} +4 -4
- package/dist/chunks/{file-retention-knm2fjmh.js → voice-cbe7vgrx.js} +43 -43
- package/dist/chunks/{file-retention-2cf4w7xq.js → voice-cpe6s12c.js} +15 -15
- package/dist/chunks/{file-retention-45k1fat7.js → voice-cs50nhfx.js} +84 -84
- package/dist/chunks/{file-retention-cwrgdav8.js → voice-cwrgdav8.js} +2 -2
- package/dist/chunks/{file-retention-d4v9tmah.js → voice-d4v9tmah.js} +2 -2
- package/dist/chunks/{file-retention-24xag21k.js → voice-d5wxqks1.js} +12 -12
- package/dist/chunks/{file-retention-qh3ce2zs.js → voice-d75dwrt0.js} +11 -11
- package/dist/chunks/{file-retention-ykwwpp75.js → voice-ddnxp7h0.js} +7 -7
- package/dist/chunks/{file-retention-4x09kzkc.js → voice-dkb43729.js} +30 -30
- package/dist/chunks/{file-retention-dt77769w.js → voice-dt77769w.js} +1 -1
- package/dist/chunks/{file-retention-9sy1j1hj.js → voice-dv96216k.js} +4 -4
- package/dist/chunks/{file-retention-e45fk36t.js → voice-e45fk36t.js} +1 -1
- package/dist/chunks/{file-retention-e834z07m.js → voice-e834z07m.js} +1 -1
- package/dist/chunks/{file-retention-jstr99pf.js → voice-ehrtq1gt.js} +7 -7
- package/dist/chunks/{file-retention-9cvqxzpt.js → voice-ehv3n3xs.js} +11 -11
- package/dist/chunks/{file-retention-1xeesddd.js → voice-ekxv8c0j.js} +15 -15
- package/dist/chunks/{file-retention-w4y7paq5.js → voice-emby6x7e.js} +13 -13
- package/dist/chunks/{file-retention-eqw4pqj1.js → voice-eqw4pqj1.js} +2 -2
- package/dist/chunks/{file-retention-m4yf5w44.js → voice-est5w5t7.js} +4 -4
- package/dist/chunks/{file-retention-64jy80yv.js → voice-ez6pkwnm.js} +15 -15
- package/dist/chunks/{file-retention-94e33dpz.js → voice-f341sazs.js} +3 -3
- package/dist/chunks/{file-retention-34r1mvkc.js → voice-f6epftay.js} +17 -17
- package/dist/chunks/{file-retention-jjxf7reg.js → voice-f9vy57qm.js} +13 -13
- package/dist/chunks/{file-retention-fgd6dfzj.js → voice-fbd4vpt1.js} +4 -4
- package/dist/chunks/{file-retention-fffv3p7h.js → voice-fffv3p7h.js} +1 -1
- package/dist/chunks/{file-retention-7p2pbjq6.js → voice-fjjfm53m.js} +11 -11
- package/dist/chunks/{file-retention-gbjdnr5j.js → voice-gbjdnr5j.js} +2 -2
- package/dist/chunks/{file-retention-gcjdgkn2.js → voice-gcjdgkn2.js} +2 -2
- package/dist/chunks/{file-retention-j3r2bmag.js → voice-gj5j732s.js} +51 -51
- package/dist/chunks/{file-retention-5ckahk04.js → voice-gjdy6p17.js} +41 -41
- package/dist/chunks/{file-retention-26wfx3k0.js → voice-gmemj5zs.js} +4 -4
- package/dist/chunks/{file-retention-3qczp77y.js → voice-gn9danv6.js} +2 -2
- package/dist/chunks/{file-retention-jsweddnj.js → voice-gnrv4xx2.js} +31 -31
- package/dist/chunks/{file-retention-gfg8h6be.js → voice-gwma39en.js} +39 -39
- package/dist/chunks/{file-retention-rw9ek0wk.js → voice-gww59xgx.js} +19 -19
- package/dist/chunks/voice-gyg1jafw.js +16 -0
- package/dist/chunks/{file-retention-p6bnfrdb.js → voice-gzaqdq4v.js} +15 -15
- package/dist/chunks/{file-retention-qcb68xjt.js → voice-h1bk3bt8.js} +32 -32
- package/dist/chunks/{file-retention-651ahwxn.js → voice-h1wrtc19.js} +45 -45
- package/dist/chunks/{file-retention-g5tj6nqn.js → voice-hbsck6wy.js} +5 -5
- package/dist/chunks/{file-retention-hh7kjqtw.js → voice-hh7kjqtw.js} +1 -1
- package/dist/chunks/{file-retention-hpg1pkwy.js → voice-hpg1pkwy.js} +1 -1
- package/dist/chunks/{file-retention-2s6nzbwv.js → voice-hscspx1x.js} +48 -48
- package/dist/chunks/{file-retention-d2dt6bgk.js → voice-hsnq1va6.js} +5 -5
- package/dist/chunks/{file-retention-4fbe36vd.js → voice-hv9sm03c.js} +32 -32
- package/dist/chunks/{file-retention-x5pnbcqp.js → voice-j29mssk3.js} +12 -12
- package/dist/chunks/{file-retention-j376ae4e.js → voice-j376ae4e.js} +1 -1
- package/dist/chunks/{file-retention-j9nxzz3g.js → voice-j9nxzz3g.js} +3 -3
- package/dist/chunks/{file-retention-f7fpk87n.js → voice-ja3895w1.js} +4 -4
- package/dist/chunks/{file-retention-a2wbfja7.js → voice-jdbsgsq2.js} +18 -18
- package/dist/chunks/{file-retention-a1a5n2rq.js → voice-jfj432dt.js} +21 -21
- package/dist/chunks/{file-retention-kgk83ggj.js → voice-jjrrh1g7.js} +9 -9
- package/dist/chunks/{file-retention-00zh2tpm.js → voice-jjx6aha5.js} +8 -8
- package/dist/chunks/{file-retention-ntck3dtd.js → voice-jpsebz8r.js} +23 -23
- package/dist/chunks/{file-retention-sfdpshmh.js → voice-jrv9fsbe.js} +31 -31
- package/dist/chunks/{file-retention-jtnps1zs.js → voice-jtnps1zs.js} +2 -2
- package/dist/chunks/{file-retention-tp6ysjfh.js → voice-jx2p27ex.js} +27 -27
- package/dist/chunks/{file-retention-jxd6f16v.js → voice-jxd6f16v.js} +2 -2
- package/dist/chunks/{file-retention-3g5n8p7a.js → voice-k0mepwy9.js} +1 -1
- package/dist/chunks/{file-retention-h525pamn.js → voice-k4bhzre5.js} +87 -87
- package/dist/chunks/{file-retention-vx8dvbvz.js → voice-ka6r1vtc.js} +21 -21
- package/dist/chunks/{file-retention-s738pv3k.js → voice-kdga5tn6.js} +9 -9
- package/dist/chunks/{file-retention-g4r2wteh.js → voice-kha82y4n.js} +12 -12
- package/dist/chunks/{file-retention-191gdv88.js → voice-ksexgdcx.js} +6 -6
- package/dist/chunks/{file-retention-kt3bjfbg.js → voice-kt3bjfbg.js} +1 -1
- package/dist/chunks/{file-retention-806dcycn.js → voice-kvc3nwwf.js} +43 -43
- package/dist/chunks/{file-retention-m1714858.js → voice-m1714858.js} +1 -1
- package/dist/chunks/{file-retention-86bhhzhr.js → voice-m3kvqs0d.js} +6 -6
- package/dist/chunks/{file-retention-0ytw3hha.js → voice-m3tsws2k.js} +12 -12
- package/dist/chunks/{file-retention-sk03a6mt.js → voice-m6pp63mp.js} +11 -11
- package/dist/chunks/{file-retention-5y8xnkg1.js → voice-m7dab61n.js} +23 -23
- package/dist/chunks/{file-retention-nnajjmm5.js → voice-m7h47g85.js} +31 -31
- package/dist/chunks/{file-retention-m9w0rfyh.js → voice-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-retention-mb7mbhnz.js → voice-mb7mbhnz.js} +3 -3
- package/dist/chunks/{file-retention-bah3z096.js → voice-mc08rq96.js} +5 -5
- package/dist/chunks/{file-retention-dqyf594t.js → voice-mpe433ap.js} +10 -10
- package/dist/chunks/{file-retention-yxq23fa0.js → voice-mw1qkyv8.js} +38 -38
- package/dist/chunks/{file-retention-db2n32dy.js → voice-n46agb1x.js} +23 -23
- package/dist/chunks/{file-retention-97c1910e.js → voice-n556ygtm.js} +8 -8
- package/dist/chunks/{file-retention-fb1e82c3.js → voice-n6vh8jr7.js} +32 -32
- package/dist/chunks/{file-retention-1teqm9vw.js → voice-n8ns0mcf.js} +35 -35
- package/dist/chunks/{file-retention-nah043kf.js → voice-nah043kf.js} +1 -1
- package/dist/chunks/{file-retention-5h3s1vfe.js → voice-nej5fw3h.js} +37 -37
- package/dist/chunks/{file-retention-q88jad4y.js → voice-nhpsx7p0.js} +3 -3
- package/dist/chunks/{file-retention-ntfv8mte.js → voice-nj7wx9hq.js} +25 -25
- package/dist/chunks/{file-retention-47te9age.js → voice-nn9bpz64.js} +5 -5
- package/dist/chunks/{file-retention-0zcczs7a.js → voice-nw4sfq6j.js} +3 -3
- package/dist/chunks/{file-retention-p015t6z3.js → voice-p015t6z3.js} +2 -2
- package/dist/chunks/voice-p6w612wn.js +26 -0
- package/dist/chunks/{file-retention-1yq9hg58.js → voice-p7vhpwh8.js} +5 -5
- package/dist/chunks/{file-retention-mzaqyawz.js → voice-pbmfxk64.js} +23 -23
- package/dist/chunks/{file-retention-mygmh7kq.js → voice-pk4g31m5.js} +3 -3
- package/dist/chunks/{file-retention-pknna89w.js → voice-pknna89w.js} +1 -1
- package/dist/chunks/{file-retention-zb6fyjd2.js → voice-pm1ywsck.js} +21 -21
- package/dist/chunks/{file-retention-qbdxqqrf.js → voice-pp9r4nc0.js} +5 -5
- package/dist/chunks/{file-retention-fg9p65nk.js → voice-prq7xxp2.js} +6 -6
- package/dist/chunks/{file-retention-82d21a7w.js → voice-prtyxdc2.js} +6 -6
- package/dist/chunks/{file-retention-k5aja770.js → voice-pta84ypa.js} +8 -8
- package/dist/chunks/{file-retention-n6emdgzs.js → voice-pws0nwbv.js} +5 -5
- package/dist/chunks/{file-retention-15qtk8ma.js → voice-px7qpgcn.js} +4 -4
- package/dist/chunks/{file-retention-9anrwwjk.js → voice-q1qafd9e.js} +11 -11
- package/dist/chunks/{file-retention-e7v1mvr4.js → voice-q2sxcz1b.js} +10 -10
- package/dist/chunks/{file-retention-n67qzrze.js → voice-q82d2c27.js} +18 -18
- package/dist/chunks/{file-retention-hp6zvnkh.js → voice-q8b10s3c.js} +12 -12
- package/dist/chunks/{file-retention-x4fv0bsv.js → voice-qe0wftt4.js} +21 -21
- package/dist/chunks/{file-retention-qfz6bxfd.js → voice-qfz6bxfd.js} +1 -1
- package/dist/chunks/{file-retention-nnwz0q5b.js → voice-qhbdy0h3.js} +7 -7
- package/dist/chunks/{file-retention-nq0jwwks.js → voice-qm7e79ke.js} +11 -11
- package/dist/chunks/{file-retention-frqbw07m.js → voice-qnkq76yw.js} +49 -49
- package/dist/chunks/{file-retention-qp7r0hxv.js → voice-qp7r0hxv.js} +1 -1
- package/dist/chunks/{file-retention-qqvy8y24.js → voice-qqvy8y24.js} +1 -1
- package/dist/chunks/{file-retention-k3cx6fhe.js → voice-qsdghx1p.js} +4 -4
- package/dist/chunks/{file-retention-2d4gmz8y.js → voice-qvgs8q09.js} +35 -35
- package/dist/chunks/{file-retention-0k3nfc9s.js → voice-qwdrz06q.js} +14 -14
- package/dist/chunks/{file-retention-rmv7fhs4.js → voice-r1fnsf7p.js} +6 -6
- package/dist/chunks/{file-retention-fgrd7tsk.js → voice-r1ycarfe.js} +4 -4
- package/dist/chunks/{file-retention-rf1cvd9q.js → voice-r3styde8.js} +3 -3
- package/dist/chunks/{file-retention-40za9wsf.js → voice-r41sfy63.js} +6 -6
- package/dist/chunks/{file-retention-6g1w79yt.js → voice-r8kddwmy.js} +26 -26
- package/dist/chunks/{file-retention-rb9dy4dg.js → voice-rb9dy4dg.js} +1 -1
- package/dist/chunks/{file-retention-rt5dr6hb.js → voice-rt5dr6hb.js} +1 -1
- package/dist/chunks/{file-retention-s1ba0vj0.js → voice-s1ba0vj0.js} +2 -2
- package/dist/chunks/{file-retention-6yakppr8.js → voice-s2pfznc4.js} +4 -4
- package/dist/chunks/{file-retention-2kg89srt.js → voice-s7kyse9r.js} +4 -4
- package/dist/chunks/voice-s7m9qz1r.js +257 -0
- package/dist/chunks/{file-retention-sa3fpqfw.js → voice-sa3fpqfw.js} +2 -2
- package/dist/chunks/{file-retention-sbya78hr.js → voice-sbya78hr.js} +1 -1
- package/dist/chunks/{file-retention-zm4kedsn.js → voice-sghzesxb.js} +15 -15
- package/dist/chunks/{file-retention-dbwt9n8c.js → voice-sph5ge5h.js} +9 -9
- package/dist/chunks/{file-retention-sqjzf8x2.js → voice-sqjzf8x2.js} +1 -1
- package/dist/chunks/{file-retention-svcy3p9a.js → voice-svcy3p9a.js} +1 -1
- package/dist/chunks/{file-retention-7xdaqeat.js → voice-t0xe5xk1.js} +33 -33
- package/dist/chunks/{file-retention-xcabrysh.js → voice-t4e1sgxz.js} +22 -22
- package/dist/chunks/{file-retention-yx1bfhrh.js → voice-t4gf1mh1.js} +18 -18
- package/dist/chunks/{file-retention-tczq8hjw.js → voice-tczq8hjw.js} +1 -1
- package/dist/chunks/{file-retention-gxs71cxp.js → voice-tg7s7b5t.js} +4 -4
- package/dist/chunks/{file-retention-3nnrz6f6.js → voice-tmc7xdjs.js} +4 -4
- package/dist/chunks/{file-retention-j9kgwwfb.js → voice-tpsdd6sk.js} +3 -3
- package/dist/chunks/{file-retention-dx78x4wn.js → voice-tsaes89g.js} +22 -22
- package/dist/chunks/{file-retention-twssxy5n.js → voice-twssxy5n.js} +2 -2
- package/dist/chunks/{file-retention-07eksm9d.js → voice-tx7q2ndz.js} +4 -4
- package/dist/chunks/{file-retention-v2r1d0zg.js → voice-v2r1d0zg.js} +1 -1
- package/dist/chunks/{file-retention-mkv9ptyg.js → voice-v2snpj12.js} +20 -20
- package/dist/chunks/{file-retention-m70wzxpa.js → voice-v3gv8k9j.js} +17 -17
- package/dist/chunks/{file-retention-wyndpgwe.js → voice-v5eaadcy.js} +23 -23
- package/dist/chunks/{file-retention-8h2hwcgr.js → voice-v6rk29ch.js} +3 -3
- package/dist/chunks/{file-retention-8dngg074.js → voice-v82dqrgv.js} +15 -15
- package/dist/chunks/{file-retention-81vzgppv.js → voice-ve45bn9x.js} +6 -6
- package/dist/chunks/{file-retention-vjf35v1f.js → voice-vjf35v1f.js} +1 -1
- package/dist/chunks/{file-retention-vmxsyvj6.js → voice-vmxsyvj6.js} +1 -1
- package/dist/chunks/{file-retention-s1mrn2p8.js → voice-vvpw9m0a.js} +17 -17
- package/dist/chunks/{file-retention-7bh7de7r.js → voice-vw022k1a.js} +26 -26
- package/dist/chunks/{file-retention-14c3dy8f.js → voice-vx3x9zzq.js} +29 -29
- package/dist/chunks/{file-retention-yjtwjy4a.js → voice-vy1mzjda.js} +28 -28
- package/dist/chunks/{file-retention-s9hrvzk4.js → voice-vzwnxjz3.js} +21 -21
- package/dist/chunks/{file-retention-9b1d26tq.js → voice-w0m9e1mp.js} +6 -6
- package/dist/chunks/{file-retention-w3wsvvr9.js → voice-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-retention-wakvkjy4.js → voice-wakvkjy4.js} +1 -1
- package/dist/chunks/{file-retention-wd87259q.js → voice-wd87259q.js} +1 -1
- package/dist/chunks/{file-retention-wegkxhrn.js → voice-wegkxhrn.js} +2 -2
- package/dist/chunks/{file-retention-ye813fd9.js → voice-wjx8d03y.js} +13 -13
- package/dist/chunks/{file-retention-1ffma3v6.js → voice-wk4zfcj0.js} +4 -4
- package/dist/chunks/{file-retention-wnhgecwx.js → voice-wnhgecwx.js} +1 -1
- package/dist/chunks/{file-retention-bzyef7s6.js → voice-wpm6ajcn.js} +29 -29
- package/dist/chunks/{file-retention-85va0fa0.js → voice-wqfq8am5.js} +18 -18
- package/dist/chunks/{file-retention-6m3pmzcb.js → voice-wrtw0jpa.js} +24 -24
- package/dist/chunks/{file-retention-79k544d0.js → voice-wvr8xscb.js} +7 -7
- package/dist/chunks/{file-retention-e902kjc6.js → voice-wx67btvq.js} +25 -25
- package/dist/chunks/{file-retention-xsk8rjgw.js → voice-x3pqmtep.js} +13 -13
- package/dist/chunks/{file-retention-x8493zn3.js → voice-xase2hgj.js} +53 -53
- package/dist/chunks/{file-retention-t7k13e43.js → voice-xdb5p40v.js} +37 -37
- package/dist/chunks/{file-retention-s6h2s3rz.js → voice-xk2zn0cv.js} +4 -4
- package/dist/chunks/{file-retention-92zsya3r.js → voice-xw21cn69.js} +17 -17
- package/dist/chunks/{file-retention-yara3q77.js → voice-yara3q77.js} +2 -2
- package/dist/chunks/{file-retention-yb20nhc3.js → voice-yb20nhc3.js} +1 -1
- package/dist/chunks/{file-retention-ak3jkmqz.js → voice-ybhhxw6m.js} +50 -50
- package/dist/chunks/{file-retention-7tpyp9vw.js → voice-ydsespw1.js} +6 -6
- package/dist/chunks/{file-retention-zexg1nap.js → voice-yp8490wc.js} +39 -39
- package/dist/chunks/{file-retention-yr705xyq.js → voice-yr705xyq.js} +1 -1
- package/dist/chunks/{file-retention-kps772xv.js → voice-ytcfb55t.js} +8 -8
- package/dist/chunks/{file-retention-6q2v7yes.js → voice-ywkr4ss4.js} +15 -15
- package/dist/chunks/{file-retention-b70m0jnc.js → voice-z80hdj97.js} +14 -14
- package/dist/chunks/{file-retention-rp5gk1vb.js → voice-z8emcjzq.js} +15 -15
- package/dist/chunks/{file-retention-0psyaj3n.js → voice-zezd0hjg.js} +13 -13
- package/dist/chunks/{file-retention-gk0jamvw.js → voice-zfgt4zn0.js} +11 -11
- package/dist/chunks/{file-retention-4mtw7039.js → voice-zmxad6hk.js} +14 -14
- package/dist/chunks/{file-retention-t388y8mj.js → voice-zntnj5yq.js} +16 -16
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +144 -144
- package/dist/codemode/instructions.js +11 -11
- 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 +129 -129
- 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 +128 -128
- 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 +134 -134
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +91 -91
- 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 +104 -104
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +420 -420
- 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 +105 -105
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +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 +11 -11
- package/dist/filesystem.js +114 -114
- package/dist/form.js +92 -92
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +99 -99
- package/dist/generate.js +119 -119
- 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 +111 -111
- 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 +6 -6
- package/dist/instance/service.js +3 -3
- package/dist/instance.js +413 -413
- package/dist/instruction-discovery.js +96 -96
- package/dist/instructions/builtins.js +99 -99
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +99 -99
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +83 -83
- package/dist/location-activity.js +171 -171
- 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 +101 -101
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +103 -103
- package/dist/mcp/index.js +121 -121
- package/dist/mcp/instructions.js +180 -180
- package/dist/mcp/oauth.js +88 -88
- 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 +111 -111
- 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 +90 -90
- 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 +98 -98
- 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 +3 -3
- 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 +127 -127
- 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 +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 +144 -144
- package/dist/plugin/provider/claude-agent/instructions.js +109 -109
- 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 +4 -4
- 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 +1 -1
- 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 +1 -1
- 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 +2 -2
- 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 +86 -86
- 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 +403 -403
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- 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 +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +242 -242
- 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 +102 -102
- package/dist/provider.js +111 -111
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +110 -110
- package/dist/reference/instructions.js +100 -100
- package/dist/reference.js +98 -98
- package/dist/repository-cache.js +90 -90
- package/dist/repository.js +1 -1
- 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 +252 -252
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- 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 +172 -172
- 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 +238 -238
- package/dist/session/execution.js +161 -161
- package/dist/session/generate.js +199 -199
- package/dist/session/history.js +135 -135
- package/dist/session/inbox.js +144 -144
- 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 +136 -136
- package/dist/session/message-updater.js +4 -4
- 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 +1 -1
- 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 +162 -162
- package/dist/session/runner/to-llm-message.js +136 -136
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +179 -179
- package/dist/session/shell.js +143 -143
- package/dist/session/skill.js +148 -148
- 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 +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +223 -223
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +201 -201
- package/dist/session/to-session-error.js +147 -147
- package/dist/session/transfer.js +236 -236
- package/dist/session/usage.js +1 -1
- package/dist/session.js +231 -231
- 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 +11 -11
- package/dist/shell.js +145 -145
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +150 -150
- package/dist/skill.js +149 -149
- package/dist/snapshot.js +103 -103
- 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 +177 -177
- package/dist/tool/plugin/edit.js +163 -163
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +165 -165
- 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 +163 -163
- package/dist/tool/plugin/question.js +145 -145
- 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 +234 -234
- 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 +165 -165
- 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 +97 -97
- 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 +3 -3
- 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 +100 -100
- 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 +106 -106
- package/package.json +8 -8
- package/dist/chunks/file-retention-00ve6mdn.js +0 -18
- package/dist/chunks/file-retention-3vca5scw.js +0 -257
- package/dist/chunks/file-retention-8jqjkaeg.js +0 -26
- package/dist/chunks/file-retention-cpdsp3va.js +0 -16
- package/dist/chunks/file-retention-pxb8fstm.js +0 -539
- /package/dist/chunks/{file-retention-0qkdqm5v.js → voice-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-retention-0zkw76rk.js → voice-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-retention-17cy0kzp.js → voice-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-retention-1cnp2v09.js → voice-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-retention-1kah00gy.js → voice-1kah00gy.js} +0 -0
- /package/dist/chunks/{file-retention-24dcb14g.js → voice-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-retention-2710q6r3.js → voice-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-retention-2bv980vf.js → voice-2bv980vf.js} +0 -0
- /package/dist/chunks/{file-retention-2c3vjs8z.js → voice-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-retention-359p4xyc.js → voice-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-retention-3asan66x.js → voice-3asan66x.js} +0 -0
- /package/dist/chunks/{file-retention-3v8g72cx.js → voice-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-retention-3wcehsnq.js → voice-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-retention-43n2bw4t.js → voice-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-retention-4knz6hnm.js → voice-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-retention-4qk9sjk2.js → voice-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{file-retention-4vcrnpx2.js → voice-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-retention-4y7fprxs.js → voice-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-retention-53557ph1.js → voice-53557ph1.js} +0 -0
- /package/dist/chunks/{file-retention-550bvhaj.js → voice-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-retention-5w3e23ze.js → voice-5w3e23ze.js} +0 -0
- /package/dist/chunks/{file-retention-6prwharc.js → voice-6prwharc.js} +0 -0
- /package/dist/chunks/{file-retention-6q2bdcd1.js → voice-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{file-retention-7akdwqpd.js → voice-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-retention-7m9af43g.js → voice-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-retention-7stb81gk.js → voice-7stb81gk.js} +0 -0
- /package/dist/chunks/{file-retention-822emrt2.js → voice-822emrt2.js} +0 -0
- /package/dist/chunks/{file-retention-84wd9syh.js → voice-84wd9syh.js} +0 -0
- /package/dist/chunks/{file-retention-88xbtdfr.js → voice-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-retention-8n3pysct.js → voice-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-retention-8wj87zfr.js → voice-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-retention-9a4afbnw.js → voice-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-retention-9rqn6x4v.js → voice-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-retention-a058387c.js → voice-a058387c.js} +0 -0
- /package/dist/chunks/{file-retention-a6k6eb26.js → voice-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-retention-af5trqkr.js → voice-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-retention-afrmfg78.js → voice-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-retention-aqzs7mqg.js → voice-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-retention-atq7p7m5.js → voice-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-retention-beh6qq61.js → voice-beh6qq61.js} +0 -0
- /package/dist/chunks/{file-retention-bkyjaxrp.js → voice-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-retention-bmr6ed5q.js → voice-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-retention-cf4snx6d.js → voice-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-retention-cqv5kn06.js → voice-cqv5kn06.js} +0 -0
- /package/dist/chunks/{file-retention-cvy3z8tj.js → voice-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-retention-d9fn303g.js → voice-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-retention-d9jj8t3e.js → voice-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-retention-dap0rakb.js → voice-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-retention-df08tz66.js → voice-df08tz66.js} +0 -0
- /package/dist/chunks/{file-retention-dy18nga0.js → voice-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-retention-e5kj55wp.js → voice-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-retention-e73j6tqm.js → voice-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-retention-ean2d8b5.js → voice-ean2d8b5.js} +0 -0
- /package/dist/chunks/{file-retention-ec1grn59.js → voice-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-retention-eh3zwz77.js → voice-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-retention-emrn6kk6.js → voice-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-retention-f0mxakyp.js → voice-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-retention-f6n9ztr4.js → voice-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-retention-faypxj3z.js → voice-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-retention-fd410y7t.js → voice-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-retention-fkpq3x5p.js → voice-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{file-retention-g4wezp1m.js → voice-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-retention-g86h250q.js → voice-g86h250q.js} +0 -0
- /package/dist/chunks/{file-retention-gebd4c9n.js → voice-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-retention-gftt206x.js → voice-gftt206x.js} +0 -0
- /package/dist/chunks/{file-retention-hcxmzztb.js → voice-hcxmzztb.js} +0 -0
- /package/dist/chunks/{file-retention-hk9envan.js → voice-hk9envan.js} +0 -0
- /package/dist/chunks/{file-retention-j2ntwpah.js → voice-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-retention-j5zkgpj8.js → voice-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-retention-jjkms2e6.js → voice-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-retention-jr7sbwjy.js → voice-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-retention-jwfs4k6c.js → voice-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-retention-jwr30sdr.js → voice-jwr30sdr.js} +0 -0
- /package/dist/chunks/{file-retention-jze0r7bz.js → voice-jze0r7bz.js} +0 -0
- /package/dist/chunks/{file-retention-jzg6c2d5.js → voice-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-retention-m18g726c.js → voice-m18g726c.js} +0 -0
- /package/dist/chunks/{file-retention-mp448xyj.js → voice-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-retention-msx8hqn2.js → voice-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-retention-n05xt0ee.js → voice-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-retention-n3j8tn72.js → voice-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-retention-nh4v3znn.js → voice-nh4v3znn.js} +0 -0
- /package/dist/chunks/{file-retention-njntx4h6.js → voice-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-retention-p71gwv9c.js → voice-p71gwv9c.js} +0 -0
- /package/dist/chunks/{file-retention-q3sfg36h.js → voice-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-retention-q74kybfr.js → voice-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-retention-qaymkmh1.js → voice-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-retention-qb87gjwd.js → voice-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-retention-qfa1cgps.js → voice-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-retention-qg3g05ea.js → voice-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-retention-qrg20bc0.js → voice-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-retention-rcb2kzg1.js → voice-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-retention-sdp7kfr6.js → voice-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-retention-ssg3fenm.js → voice-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-retention-stkk57rt.js → voice-stkk57rt.js} +0 -0
- /package/dist/chunks/{file-retention-t03h4f5z.js → voice-t03h4f5z.js} +0 -0
- /package/dist/chunks/{file-retention-ty7weeps.js → voice-ty7weeps.js} +0 -0
- /package/dist/chunks/{file-retention-ve7vex1e.js → voice-ve7vex1e.js} +0 -0
- /package/dist/chunks/{file-retention-w803qqfp.js → voice-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-retention-wc3fc9cn.js → voice-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-retention-wer8tq1h.js → voice-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-retention-wtztk69x.js → voice-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-retention-x0ckcb58.js → voice-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-retention-x61499pn.js → voice-x61499pn.js} +0 -0
- /package/dist/chunks/{file-retention-y44na4kk.js → voice-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-retention-y8f7s663.js → voice-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-retention-ygaqb7jw.js → voice-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-retention-z5v4ffb3.js → voice-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{file-retention-z9919s4g.js → voice-z9919s4g.js} +0 -0
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./voice-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service88,
|
|
6
6
|
node91
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./voice-nhpsx7p0.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service87,
|
|
10
|
+
node90
|
|
11
|
+
} from "./voice-q8b10s3c.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service81,
|
|
14
|
+
node83
|
|
15
|
+
} from "./voice-j29mssk3.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID16,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info25,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event16,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./voice-kdga5tn6.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./voice-034tev2y.js";
|
|
28
28
|
import {
|
|
29
29
|
refresh2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./voice-yara3q77.js";
|
|
31
31
|
import {
|
|
32
32
|
WorktreeTable2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./voice-ayjs7tqn.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./voice-9rqn6x4v.js";
|
|
37
37
|
|
|
38
38
|
// src/project.ts
|
|
39
39
|
var exports_project = {};
|
|
40
40
|
__export(exports_project, {
|
|
41
41
|
Current: () => Current2,
|
|
42
|
-
ID: () =>
|
|
43
|
-
Info: () =>
|
|
44
|
-
NotFoundError: () =>
|
|
42
|
+
ID: () => ID15,
|
|
43
|
+
Info: () => Info24,
|
|
44
|
+
NotFoundError: () => NotFoundError12,
|
|
45
45
|
Project: () => exports_project,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service80,
|
|
47
47
|
UpdateInput: () => UpdateInput3,
|
|
48
48
|
Vcs: () => Vcs2,
|
|
49
|
-
node: () =>
|
|
49
|
+
node: () => node82,
|
|
50
50
|
root: () => root2,
|
|
51
51
|
sweepNode: () => sweepNode2
|
|
52
52
|
});
|
|
@@ -59,14 +59,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
59
59
|
import { AppProcess } from "@opencode/util/process";
|
|
60
60
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Hash } from "@opencode/util/hash";
|
|
62
|
-
var
|
|
62
|
+
var ID15 = ID16;
|
|
63
63
|
var Vcs2 = Vcs3;
|
|
64
64
|
var Current2 = Current3;
|
|
65
|
-
var
|
|
65
|
+
var Info24 = Info25;
|
|
66
66
|
var UpdateInput3 = UpdateInput4;
|
|
67
67
|
|
|
68
|
-
class
|
|
69
|
-
projectID:
|
|
68
|
+
class NotFoundError12 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
69
|
+
projectID: ID15
|
|
70
70
|
}) {
|
|
71
71
|
}
|
|
72
72
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -84,7 +84,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
84
84
|
var ACTIVATE_INTERVAL = 60000;
|
|
85
85
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
86
86
|
|
|
87
|
-
class
|
|
87
|
+
class Service80 extends Context.Service()("@opencode/Project") {
|
|
88
88
|
}
|
|
89
89
|
function fromRow(row) {
|
|
90
90
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -108,11 +108,11 @@ function fromRow(row) {
|
|
|
108
108
|
sandboxes: row.sandboxes
|
|
109
109
|
};
|
|
110
110
|
}
|
|
111
|
-
var layer = Layer.effect(
|
|
111
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
112
112
|
const fs = yield* FSUtil.Service;
|
|
113
|
-
const git = yield*
|
|
113
|
+
const git = yield* Service81;
|
|
114
114
|
const proc = yield* AppProcess.Service;
|
|
115
|
-
const bus = yield*
|
|
115
|
+
const bus = yield* Service87;
|
|
116
116
|
const db = (yield* Service88).db;
|
|
117
117
|
const scope = yield* Scope.Scope;
|
|
118
118
|
const announcing = new Set;
|
|
@@ -123,8 +123,8 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
123
123
|
const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
|
|
124
124
|
const changed = replaced ?? unarchived;
|
|
125
125
|
if (changed)
|
|
126
|
-
yield* bus.publish(
|
|
127
|
-
yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(
|
|
126
|
+
yield* bus.publish(Event16.Updated, fromRow(changed));
|
|
127
|
+
yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event16.Updated, fromRow(row)) : Effect.void), Effect.ignoreCause, Effect.forkIn(scope));
|
|
128
128
|
if (!project.vcs)
|
|
129
129
|
return project;
|
|
130
130
|
const directories = [
|
|
@@ -160,7 +160,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
160
160
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
161
161
|
projectID: item.projectID,
|
|
162
162
|
directory: item.directory,
|
|
163
|
-
previous: project.previous ??
|
|
163
|
+
previous: project.previous ?? ID15.global,
|
|
164
164
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
165
165
|
}, {
|
|
166
166
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -183,9 +183,9 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
183
183
|
time_updated: Date.now()
|
|
184
184
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
185
185
|
if (!row)
|
|
186
|
-
return yield* new
|
|
186
|
+
return yield* new NotFoundError12({ projectID: input.projectID });
|
|
187
187
|
const project = fromRow(row);
|
|
188
|
-
yield* bus.publish(
|
|
188
|
+
yield* bus.publish(Event16.Updated, project);
|
|
189
189
|
return project;
|
|
190
190
|
});
|
|
191
191
|
const activated = new Map;
|
|
@@ -196,10 +196,10 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
196
196
|
activated.set(projectID, now);
|
|
197
197
|
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
198
198
|
if (row)
|
|
199
|
-
yield* bus.publish(
|
|
199
|
+
yield* bus.publish(Event16.Updated, fromRow(row));
|
|
200
200
|
});
|
|
201
201
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
202
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
202
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID15.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
203
203
|
return;
|
|
204
204
|
}));
|
|
205
205
|
});
|
|
@@ -210,7 +210,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
210
210
|
const normalized = url(origin);
|
|
211
211
|
if (!normalized)
|
|
212
212
|
return;
|
|
213
|
-
return
|
|
213
|
+
return ID15.make(Hash.fast(`git-remote:${normalized}`));
|
|
214
214
|
});
|
|
215
215
|
function url(input) {
|
|
216
216
|
const value = input.trim();
|
|
@@ -235,7 +235,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
235
235
|
}
|
|
236
236
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
237
237
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
238
|
-
return root ?
|
|
238
|
+
return root ? ID15.make(root) : undefined;
|
|
239
239
|
});
|
|
240
240
|
const gitDiscover = Effect.fnUntraced(function* (dotGit) {
|
|
241
241
|
const repo = yield* git.repo.discover(AbsolutePath2.make(path.dirname(dotGit)));
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
251
251
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), fallback(repo.worktree));
|
|
252
252
|
const resolved = {
|
|
253
253
|
previous,
|
|
254
|
-
id: id ??
|
|
254
|
+
id: id ?? ID15.global,
|
|
255
255
|
directory: repo.worktree,
|
|
256
256
|
canonical,
|
|
257
257
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -276,7 +276,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
276
276
|
return;
|
|
277
277
|
const node = result.stdout.toString("utf8").split(`
|
|
278
278
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
279
|
-
return node ?
|
|
279
|
+
return node ? ID15.make(node) : undefined;
|
|
280
280
|
});
|
|
281
281
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
282
282
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -284,7 +284,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
284
284
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
285
285
|
return {
|
|
286
286
|
previous,
|
|
287
|
-
id: id ??
|
|
287
|
+
id: id ?? ID15.global,
|
|
288
288
|
directory: worktree,
|
|
289
289
|
vcs: { type: "hg", store: dotHg }
|
|
290
290
|
};
|
|
@@ -311,7 +311,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
311
311
|
});
|
|
312
312
|
}
|
|
313
313
|
return yield* save({
|
|
314
|
-
id:
|
|
314
|
+
id: ID15.make(Hash.fast(`directory:${directory}`)),
|
|
315
315
|
directory,
|
|
316
316
|
canonical: directory,
|
|
317
317
|
vcs: undefined
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
320
320
|
const sweep = Effect.fn("Project.sweep")(function* () {
|
|
321
321
|
const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
|
|
322
322
|
const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
|
|
323
|
-
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id,
|
|
323
|
+
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID15.global))).all().pipe(Effect.orDie);
|
|
324
324
|
const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
|
|
325
325
|
const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
|
|
326
326
|
yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
|
|
@@ -333,23 +333,23 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
333
333
|
return;
|
|
334
334
|
const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
|
|
335
335
|
if (row)
|
|
336
|
-
yield* bus.publish(
|
|
336
|
+
yield* bus.publish(Event16.Updated, fromRow(row));
|
|
337
337
|
}), { concurrency: 8, discard: true });
|
|
338
338
|
});
|
|
339
|
-
return
|
|
339
|
+
return Service80.of({ list, update, activate, resolve, sweep });
|
|
340
340
|
}));
|
|
341
|
-
var
|
|
342
|
-
service:
|
|
341
|
+
var node82 = makeGlobalNode({
|
|
342
|
+
service: Service80,
|
|
343
343
|
layer,
|
|
344
|
-
deps: [
|
|
344
|
+
deps: [node90, node91, FSUtil.node, node83, AppProcess.node]
|
|
345
345
|
});
|
|
346
346
|
var sweepNode2 = makeGlobalNode({
|
|
347
347
|
name: "project-archive-sweep",
|
|
348
348
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
349
|
-
const project = yield*
|
|
349
|
+
const project = yield* Service80;
|
|
350
350
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
351
351
|
})),
|
|
352
|
-
deps: [
|
|
352
|
+
deps: [node82]
|
|
353
353
|
});
|
|
354
354
|
|
|
355
|
-
export {
|
|
355
|
+
export { ID15, Vcs2, Current2, Info24, UpdateInput3, NotFoundError12, root2, Service80, node82, sweepNode2, exports_project };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./voice-463chxfj.js";
|
|
4
4
|
import {
|
|
5
5
|
Ref3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service76
|
|
7
|
+
} from "./voice-9xr5qg12.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service69
|
|
11
|
+
} from "./voice-xase2hgj.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionSchema2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./voice-8vct2pgr.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service50
|
|
17
|
+
} from "./voice-2hhfjmpx.js";
|
|
18
18
|
import {
|
|
19
19
|
evaluate3,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service65
|
|
21
|
+
} from "./voice-7jhmzye7.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service29
|
|
24
|
+
} from "./voice-cs50nhfx.js";
|
|
25
25
|
import {
|
|
26
26
|
NO_TEXT2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./voice-sqjzf8x2.js";
|
|
28
28
|
import {
|
|
29
29
|
Service11
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./voice-83k8qzqx.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./voice-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/tool/plugin/subagent.ts
|
|
36
36
|
var exports_subagent = {};
|
|
37
37
|
__export(exports_subagent, {
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
38
|
+
Input: () => Input6,
|
|
39
|
+
Output: () => Output4,
|
|
40
|
+
Plugin: () => Plugin7,
|
|
41
41
|
SubagentTool: () => exports_subagent,
|
|
42
|
-
description: () =>
|
|
43
|
-
name: () =>
|
|
42
|
+
description: () => description4,
|
|
43
|
+
name: () => name6
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
46
46
|
import { Effect, Predicate, Schema } from "effect";
|
|
47
|
-
var
|
|
47
|
+
var name6 = "subagent";
|
|
48
48
|
var backgroundResult = (sessionID) => ({
|
|
49
49
|
sessionID,
|
|
50
50
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input6 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
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."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input4 = Schema.Struct({
|
|
|
72
72
|
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."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output4 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description4 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,15 +86,15 @@ var description3 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin7 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
92
|
+
const sessions = yield* Service29;
|
|
93
|
+
const jobs = yield* Service50;
|
|
94
|
+
const agents = yield* Service82;
|
|
95
|
+
const config = yield* Service69;
|
|
96
|
+
const permission = yield* Service65;
|
|
97
|
+
const models = yield* Service76;
|
|
98
98
|
const subagents = yield* Service11;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
@@ -117,11 +117,11 @@ var Plugin41 = {
|
|
|
117
117
|
return ref;
|
|
118
118
|
});
|
|
119
119
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
120
|
-
name:
|
|
120
|
+
name: name6,
|
|
121
121
|
options: { codemode: false },
|
|
122
|
-
description:
|
|
123
|
-
input:
|
|
124
|
-
output:
|
|
122
|
+
description: description4,
|
|
123
|
+
input: Input6,
|
|
124
|
+
output: Output4,
|
|
125
125
|
execute: (input, context) => Effect.gen(function* () {
|
|
126
126
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
127
127
|
let current = parent;
|
|
@@ -141,7 +141,7 @@ var Plugin41 = {
|
|
|
141
141
|
if (agent.mode === "primary")
|
|
142
142
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
143
143
|
yield* permission.assert({
|
|
144
|
-
action:
|
|
144
|
+
action: name6,
|
|
145
145
|
resources: [agent.id],
|
|
146
146
|
save: [agent.id],
|
|
147
147
|
sessionID: context.sessionID,
|
|
@@ -220,7 +220,7 @@ ${output.output}
|
|
|
220
220
|
})))
|
|
221
221
|
})).pipe(Effect.orDie);
|
|
222
222
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
223
|
-
if (event.tool !==
|
|
223
|
+
if (event.tool !== name6 || !Predicate.isObject(event.input))
|
|
224
224
|
return;
|
|
225
225
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
226
226
|
return;
|
|
@@ -232,13 +232,13 @@ ${output.output}
|
|
|
232
232
|
event.input = input;
|
|
233
233
|
}));
|
|
234
234
|
const hook = (event) => Effect.gen(function* () {
|
|
235
|
-
const tool = event.tools[
|
|
235
|
+
const tool = event.tools[name6];
|
|
236
236
|
if (!tool)
|
|
237
237
|
return;
|
|
238
238
|
const selected = yield* agents.resolve(event.agent);
|
|
239
239
|
if (!selected)
|
|
240
240
|
return;
|
|
241
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(
|
|
241
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(name6, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
242
242
|
if (available.length === 0)
|
|
243
243
|
return;
|
|
244
244
|
tool.description = [
|
|
@@ -255,4 +255,4 @@ ${output.output}
|
|
|
255
255
|
})
|
|
256
256
|
};
|
|
257
257
|
|
|
258
|
-
export {
|
|
258
|
+
export { name6, Input6, Output4, description4, Plugin7, exports_subagent };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./voice-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/claude-agent/language-model/usage.ts
|
|
6
6
|
var exports_usage = {};
|
|
7
7
|
__export(exports_usage, {
|
|
8
8
|
ClaudeUsage: () => exports_usage,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make8
|
|
10
10
|
});
|
|
11
|
-
function
|
|
11
|
+
function make8() {
|
|
12
12
|
const messages = new Map;
|
|
13
13
|
let last;
|
|
14
14
|
function update(id, usage) {
|
|
@@ -52,4 +52,4 @@ function make9() {
|
|
|
52
52
|
};
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
export {
|
|
55
|
+
export { make8, exports_usage };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./voice-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./voice-ehrtq1gt.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2,
|
|
3
3
|
llmClient2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./voice-p015t6z3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node78
|
|
8
|
+
} from "./voice-9xr5qg12.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service74,
|
|
11
|
+
node76
|
|
12
|
+
} from "./voice-h1wrtc19.js";
|
|
13
13
|
import {
|
|
14
14
|
retryOneShot2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./voice-wnhgecwx.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./voice-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/generate.ts
|
|
21
|
-
var
|
|
22
|
-
__export(
|
|
23
|
-
Generate: () =>
|
|
24
|
-
InvalidRequestError: () =>
|
|
21
|
+
var exports_generate = {};
|
|
22
|
+
__export(exports_generate, {
|
|
23
|
+
Generate: () => exports_generate,
|
|
24
|
+
InvalidRequestError: () => InvalidRequestError2,
|
|
25
25
|
ModelNotFoundError: () => ModelNotFoundError2,
|
|
26
26
|
ProviderFailure: () => ProviderFailure2,
|
|
27
27
|
ProviderRequestError: () => ProviderRequestError2,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service23,
|
|
29
29
|
UnavailableError: () => UnavailableError3,
|
|
30
30
|
UnsupportedModelError: () => UnsupportedModelError2,
|
|
31
|
-
layer: () =>
|
|
32
|
-
node: () =>
|
|
31
|
+
layer: () => layer11,
|
|
32
|
+
node: () => node26
|
|
33
33
|
});
|
|
34
34
|
import { Decision, DecisionClient, Image, ImageClient, LLM, LLMClient, Media } from "@opencode/ai/effect";
|
|
35
35
|
import { Money } from "@opencode/schema/money";
|
|
@@ -58,7 +58,7 @@ class UnsupportedModelError2 extends Schema.TaggedError()("Generate.UnsupportedM
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class InvalidRequestError2 extends Schema.TaggedError()("Generate.InvalidRequestError", {
|
|
62
62
|
message: Schema.String,
|
|
63
63
|
field: Schema.optional(Schema.String)
|
|
64
64
|
}) {
|
|
@@ -81,12 +81,12 @@ class ProviderRequestError2 extends Schema.TaggedError()("Generate.ProviderReque
|
|
|
81
81
|
}) {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
class
|
|
84
|
+
class Service23 extends Context.Service()("@opencode/Generate") {
|
|
85
85
|
}
|
|
86
|
-
var
|
|
86
|
+
var layer11 = Layer.effect(Service23, Effect.gen(function* () {
|
|
87
87
|
const llm = yield* LLMClient.Service;
|
|
88
|
-
const resolver = yield*
|
|
89
|
-
const models = yield*
|
|
88
|
+
const resolver = yield* Service74;
|
|
89
|
+
const models = yield* Service76;
|
|
90
90
|
const executor = yield* RequestExecutor.Service;
|
|
91
91
|
const images = yield* ImageClient.Service;
|
|
92
92
|
const decisionClient = yield* DecisionClient.Service;
|
|
@@ -163,7 +163,7 @@ var layer19 = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
163
163
|
};
|
|
164
164
|
});
|
|
165
165
|
const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({ message: "Generation credentials are unavailable" })));
|
|
166
|
-
return
|
|
166
|
+
return Service23.of({
|
|
167
167
|
text: (input) => credentials(runText(input)),
|
|
168
168
|
image: (input) => credentials(image(input)),
|
|
169
169
|
decisions: (input) => credentials(decisions(input))
|
|
@@ -176,7 +176,7 @@ function resolutionError(ref, type, error) {
|
|
|
176
176
|
if (error._tag === "Integration.Authorization")
|
|
177
177
|
return error;
|
|
178
178
|
if (error._tag === "SessionRunnerModel.VariantUnavailableError")
|
|
179
|
-
return new
|
|
179
|
+
return new InvalidRequestError2({ message: error.message, field: "model.variant" });
|
|
180
180
|
if (error._tag === "SessionRunnerModel.UnsupportedPackageError")
|
|
181
181
|
return new UnsupportedModelError2({
|
|
182
182
|
providerID: ref.providerID,
|
|
@@ -184,14 +184,14 @@ function resolutionError(ref, type, error) {
|
|
|
184
184
|
capability: type,
|
|
185
185
|
message: `${ref.providerID}/${ref.id} has no ${type} API opencode can call (package ${error.package})`
|
|
186
186
|
});
|
|
187
|
-
return new
|
|
187
|
+
return new InvalidRequestError2({ message: error.message, field: "model" });
|
|
188
188
|
}
|
|
189
189
|
function providerError(ref, error) {
|
|
190
190
|
const reason = error.reason;
|
|
191
191
|
if (reason._tag === "InvalidRequest" && reason.http === undefined)
|
|
192
|
-
return new
|
|
192
|
+
return new InvalidRequestError2({ message: reason.message });
|
|
193
193
|
if (reason._tag === "UnsupportedOperation")
|
|
194
|
-
return new
|
|
194
|
+
return new InvalidRequestError2({ message: reason.message });
|
|
195
195
|
const status = "http" in reason ? reason.http?.status : undefined;
|
|
196
196
|
const retryAfterMs = "retryAfterMs" in reason ? reason.retryAfterMs : undefined;
|
|
197
197
|
return new ProviderRequestError2({
|
|
@@ -215,10 +215,10 @@ function failureReason(tag, status) {
|
|
|
215
215
|
return "overloaded";
|
|
216
216
|
return "provider";
|
|
217
217
|
}
|
|
218
|
-
var
|
|
219
|
-
service:
|
|
220
|
-
layer:
|
|
221
|
-
deps: [
|
|
218
|
+
var node26 = makeLocationNode({
|
|
219
|
+
service: Service23,
|
|
220
|
+
layer: layer11,
|
|
221
|
+
deps: [node76, node78, llmClient2, requestExecutor2]
|
|
222
222
|
});
|
|
223
223
|
|
|
224
|
-
export { UnavailableError3, ModelNotFoundError2, UnsupportedModelError2,
|
|
224
|
+
export { UnavailableError3, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError2, ProviderFailure2, ProviderRequestError2, Service23, layer11, node26, exports_generate };
|