@opencode/core 0.0.0-dev-21267 → 0.0.0-dev-21269
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{generate-x5jhdhzv.js → voice-07hyrh53.js} +9 -9
- package/dist/chunks/{generate-h19hvyjb.js → voice-0d60ahdf.js} +11 -11
- package/dist/chunks/{generate-h71w788e.js → voice-0jq9fyba.js} +9 -9
- package/dist/chunks/{generate-0jwsre1p.js → voice-0jwsre1p.js} +1 -1
- package/dist/chunks/{generate-5kn7dr7a.js → voice-0n7hx3s8.js} +31 -31
- package/dist/chunks/{generate-9k5e52qd.js → voice-0pdk8z67.js} +5 -5
- package/dist/chunks/{generate-990wje9c.js → voice-0stcbem0.js} +34 -34
- package/dist/chunks/{generate-n60k5ghq.js → voice-0tgjh03h.js} +3 -3
- package/dist/chunks/{generate-0vbcp93d.js → voice-0vbcp93d.js} +2 -2
- package/dist/chunks/{generate-8h38gey0.js → voice-10q04s9m.js} +19 -19
- package/dist/chunks/{generate-41g0a9q5.js → voice-15rr0twx.js} +28 -28
- package/dist/chunks/{generate-79mnhcfn.js → voice-166kng33.js} +8 -8
- package/dist/chunks/{generate-cjr4jfwe.js → voice-18zsf568.js} +11 -11
- package/dist/chunks/{generate-tc1xhxj3.js → voice-1a5chre8.js} +14 -14
- package/dist/chunks/{generate-e40jp9gw.js → voice-1bq62cry.js} +18 -18
- package/dist/chunks/{generate-wkt7fkw0.js → voice-1c85gy23.js} +5 -5
- package/dist/chunks/{generate-6ac9zck1.js → voice-1e040kv3.js} +2 -2
- package/dist/chunks/{generate-y9068s8b.js → voice-1ffqw314.js} +25 -25
- package/dist/chunks/{generate-bjx1sjef.js → voice-1ffvrpkg.js} +6 -6
- package/dist/chunks/{generate-swvd7h3x.js → voice-1h2d0ke7.js} +11 -11
- package/dist/chunks/{generate-d9ff5bxv.js → voice-1k9hs225.js} +4 -4
- package/dist/chunks/{generate-szzeq7yn.js → voice-1nkzkq3r.js} +18 -18
- package/dist/chunks/voice-1x11rq2a.js +18 -0
- package/dist/chunks/{generate-nwvs2xsf.js → voice-2560qahv.js} +23 -23
- package/dist/chunks/{generate-fh261699.js → voice-291dyprt.js} +25 -25
- package/dist/chunks/{generate-d101pqd8.js → voice-2rfqgm69.js} +28 -28
- package/dist/chunks/{generate-de12mgtc.js → voice-2w7xd5ef.js} +6 -6
- package/dist/chunks/{generate-16zn8v6x.js → voice-3gwj7c3a.js} +1 -1
- package/dist/chunks/{generate-3hepkmqq.js → voice-3hepkmqq.js} +1 -1
- package/dist/chunks/{generate-3hwn7j4h.js → voice-3hwn7j4h.js} +2 -2
- package/dist/chunks/{generate-yjcsa246.js → voice-3pr9cre2.js} +32 -32
- package/dist/chunks/{generate-zw38a422.js → voice-3px9zfj5.js} +30 -30
- package/dist/chunks/{generate-3smtnn6g.js → voice-3smtnn6g.js} +1 -1
- package/dist/chunks/{generate-3tvqynh2.js → voice-3tvqynh2.js} +1 -1
- package/dist/chunks/{generate-q90qzcc3.js → voice-3vnym5x3.js} +51 -51
- package/dist/chunks/{generate-v3q0dy8p.js → voice-3xsm4mrf.js} +37 -37
- package/dist/chunks/{generate-9en1v00j.js → voice-3yfbedjd.js} +18 -18
- package/dist/chunks/{generate-bf6bgs8n.js → voice-3yvt2eyd.js} +11 -11
- package/dist/chunks/{generate-3zsf4n22.js → voice-3zsf4n22.js} +1 -1
- package/dist/chunks/{generate-wzm8that.js → voice-401wxw87.js} +3 -3
- package/dist/chunks/{generate-nsqpyhg2.js → voice-46459d5e.js} +45 -45
- package/dist/chunks/{generate-qgnk2xzv.js → voice-46aes8ch.js} +19 -19
- package/dist/chunks/{generate-2vc2tgzp.js → voice-4bnzbgn8.js} +16 -16
- package/dist/chunks/{generate-n37wa2ef.js → voice-4qnvasr9.js} +5 -5
- package/dist/chunks/{generate-rh1ehjhp.js → voice-4ts41tr6.js} +9 -9
- package/dist/chunks/{generate-v47b7hyc.js → voice-4ymz7vr5.js} +28 -28
- package/dist/chunks/{generate-dcvnv4qb.js → voice-52nydkw8.js} +5 -5
- package/dist/chunks/{generate-gksetf8c.js → voice-5307c9aq.js} +4 -4
- package/dist/chunks/{generate-54ma36ye.js → voice-54ma36ye.js} +1 -1
- package/dist/chunks/{generate-55m81wnp.js → voice-55m81wnp.js} +5 -5
- package/dist/chunks/{generate-86zv8aac.js → voice-5kxj697y.js} +21 -21
- package/dist/chunks/{generate-5m9w47nd.js → voice-5m9w47nd.js} +1 -1
- package/dist/chunks/{generate-6827pfxn.js → voice-6827pfxn.js} +1 -1
- package/dist/chunks/{generate-yfrv12an.js → voice-6dh1jvz0.js} +13 -13
- package/dist/chunks/{generate-ay0tswwg.js → voice-6h73966b.js} +17 -17
- package/dist/chunks/{generate-qx2dcbnj.js → voice-6k23gnk2.js} +29 -29
- package/dist/chunks/{generate-n0ehqsbt.js → voice-6n27b0t2.js} +28 -28
- package/dist/chunks/{generate-6xb47vfp.js → voice-6xb47vfp.js} +1 -1
- package/dist/chunks/{generate-pyeaw5nf.js → voice-70z88rjf.js} +13 -13
- package/dist/chunks/{generate-jt801djq.js → voice-72sk51vb.js} +38 -38
- package/dist/chunks/{generate-775gj3j1.js → voice-775gj3j1.js} +2 -2
- package/dist/chunks/{generate-g2yy5a74.js → voice-788azn8w.js} +45 -45
- package/dist/chunks/{generate-7bmhse3q.js → voice-7bmhse3q.js} +1 -1
- package/dist/chunks/{generate-ga5hpz79.js → voice-7czk49a2.js} +18 -18
- package/dist/chunks/{generate-6fzxepjb.js → voice-7gksfrk6.js} +39 -39
- package/dist/chunks/{generate-mpb94e18.js → voice-7mcgqaeh.js} +9 -9
- package/dist/chunks/{generate-bvkycppa.js → voice-7wfv1tbf.js} +7 -7
- package/dist/chunks/{generate-nya2vtjv.js → voice-7zjhs1nm.js} +19 -19
- package/dist/chunks/{generate-xr921mz0.js → voice-80kf5cft.js} +27 -27
- package/dist/chunks/{generate-h896pcm5.js → voice-81rrwt6s.js} +6 -6
- package/dist/chunks/{generate-aws61wts.js → voice-83vj9qt0.js} +16 -16
- package/dist/chunks/{generate-7ydzythe.js → voice-84pnh87n.js} +11 -11
- package/dist/chunks/{generate-84txncab.js → voice-84txncab.js} +1 -1
- package/dist/chunks/{generate-hetnczqw.js → voice-8btm942h.js} +2 -2
- package/dist/chunks/{generate-367nvyt8.js → voice-8jzsrpfh.js} +4 -4
- package/dist/chunks/{generate-ksqm10am.js → voice-8k16pbxa.js} +5 -5
- package/dist/chunks/{generate-8m6m0r52.js → voice-8m6m0r52.js} +1 -1
- package/dist/chunks/{generate-dx0kb2rv.js → voice-8sc2nzy6.js} +10 -10
- package/dist/chunks/{generate-kg45811x.js → voice-93fzsdqz.js} +5 -5
- package/dist/chunks/{generate-0t9wd588.js → voice-99xay3p1.js} +8 -8
- package/dist/chunks/{generate-369xw9xr.js → voice-9at0pwnx.js} +6 -6
- package/dist/chunks/{generate-zne0chz1.js → voice-9ca4c2n8.js} +25 -25
- package/dist/chunks/{generate-8z95084d.js → voice-9cb08eze.js} +13 -13
- package/dist/chunks/{generate-rgwsscdf.js → voice-9cvx9cd3.js} +9 -9
- package/dist/chunks/{generate-hyay7qq8.js → voice-9qee0jk3.js} +8 -8
- package/dist/chunks/{generate-090kmjxw.js → voice-9t0xmec0.js} +17 -17
- package/dist/chunks/{generate-a20pjse5.js → voice-a20pjse5.js} +3 -3
- package/dist/chunks/{generate-adr7sscw.js → voice-a3ebqg5m.js} +8 -8
- package/dist/chunks/{generate-9ej0kez9.js → voice-a47cqtsz.js} +8 -8
- package/dist/chunks/{generate-q9p3axm1.js → voice-a4rkzzpg.js} +45 -45
- package/dist/chunks/{generate-mzwdprrq.js → voice-a7t9gw66.js} +14 -14
- package/dist/chunks/{generate-9xvs703c.js → voice-adj2f2vn.js} +23 -23
- package/dist/chunks/{generate-exf1rp2q.js → voice-asgfpy10.js} +9 -9
- package/dist/chunks/{generate-8frgrze6.js → voice-atsf9aqe.js} +11 -11
- package/dist/chunks/{generate-eq20ba7x.js → voice-ax36eyar.js} +8 -8
- package/dist/chunks/{generate-n53bd8x0.js → voice-ay7h7ryq.js} +19 -19
- package/dist/chunks/{generate-dqkkx36v.js → voice-baqyxak2.js} +4 -4
- package/dist/chunks/{generate-tt004vec.js → voice-bc25zkma.js} +31 -31
- package/dist/chunks/{generate-eaxwmach.js → voice-be82r499.js} +13 -13
- package/dist/chunks/{generate-b4pznp96.js → voice-bekrfzrn.js} +5 -5
- package/dist/chunks/{generate-r36qtfr5.js → voice-bft59c27.js} +9 -9
- package/dist/chunks/{generate-8ca6h76w.js → voice-bhkm1g5m.js} +45 -45
- package/dist/chunks/{generate-97aeaand.js → voice-bmr56wjg.js} +4 -4
- package/dist/chunks/{generate-8e3x1n40.js → voice-bxaezv13.js} +12 -12
- package/dist/chunks/{generate-bzeyqsqd.js → voice-bzeyqsqd.js} +1 -1
- package/dist/chunks/{generate-c1fqxshp.js → voice-c1fqxshp.js} +3 -3
- package/dist/chunks/{generate-104pff1j.js → voice-c214aq79.js} +10 -10
- package/dist/chunks/{generate-gs5b9ard.js → voice-c62gkb3b.js} +26 -26
- package/dist/chunks/{generate-9ejswvkp.js → voice-capghd97.js} +27 -27
- package/dist/chunks/{generate-d4he2qe1.js → voice-cwa6csj7.js} +9 -9
- package/dist/chunks/{generate-jsxs2ezn.js → voice-cy3cg06b.js} +5 -5
- package/dist/chunks/{generate-8p6gc52r.js → voice-d10c0ppg.js} +22 -22
- package/dist/chunks/{generate-q6yya7b3.js → voice-d1r5081s.js} +5 -5
- package/dist/chunks/{generate-3sj8yt8v.js → voice-d2czbp48.js} +4 -4
- package/dist/chunks/{generate-b5ywcw8t.js → voice-dbx1c2tg.js} +33 -33
- package/dist/chunks/{generate-6tkmm0gj.js → voice-ddsesdvm.js} +22 -22
- package/dist/chunks/{generate-yr99bf11.js → voice-dp558nrd.js} +8 -8
- package/dist/chunks/{generate-46006692.js → voice-dqpnj7av.js} +29 -29
- package/dist/chunks/{generate-drwq78ky.js → voice-drwq78ky.js} +1 -1
- package/dist/chunks/{generate-qh3m0bt8.js → voice-dtmw6jvf.js} +20 -20
- package/dist/chunks/{generate-g00sp35w.js → voice-dxj1qz4d.js} +15 -15
- package/dist/chunks/{generate-4wqv1m3b.js → voice-e0yy9ryt.js} +14 -14
- package/dist/chunks/{generate-cv3qp16z.js → voice-e61cj48z.js} +29 -29
- package/dist/chunks/{generate-35a13mjs.js → voice-e7faghhc.js} +11 -11
- package/dist/chunks/{generate-7sfe249w.js → voice-e9s8nezm.js} +18 -18
- package/dist/chunks/{generate-eej6y6fw.js → voice-eej6y6fw.js} +2 -2
- package/dist/chunks/{generate-ef5x83kb.js → voice-ef5x83kb.js} +1 -1
- package/dist/chunks/{generate-rq2az322.js → voice-egpmcp8a.js} +11 -11
- package/dist/chunks/{generate-n61013np.js → voice-fan8xm03.js} +8 -8
- package/dist/chunks/{generate-d0dysfx8.js → voice-fcy1mh1a.js} +29 -29
- package/dist/chunks/{generate-fcy631f0.js → voice-fcy631f0.js} +1 -1
- package/dist/chunks/{generate-2y91agfv.js → voice-fe7mjage.js} +3 -3
- package/dist/chunks/{generate-qd25wvge.js → voice-fgn3zs1a.js} +11 -11
- package/dist/chunks/{generate-tk3kjvjs.js → voice-fmdmz72r.js} +21 -21
- package/dist/chunks/{generate-0p56qr6s.js → voice-ft66ww99.js} +4 -4
- package/dist/chunks/{generate-8g3wkbtq.js → voice-fy8g54x2.js} +11 -11
- package/dist/chunks/{generate-y7nndgyc.js → voice-g686f6pq.js} +9 -9
- package/dist/chunks/{generate-hb8amrc1.js → voice-g9mhys8g.js} +11 -11
- package/dist/chunks/{generate-2cj70478.js → voice-gchk0vkb.js} +49 -49
- package/dist/chunks/{generate-gd4qta3r.js → voice-gd4qta3r.js} +1 -1
- package/dist/chunks/{generate-9apn9dpd.js → voice-gj46k6vd.js} +22 -22
- package/dist/chunks/{generate-9hwaqfsw.js → voice-gj71zhbs.js} +5 -5
- package/dist/chunks/{generate-76rvckpe.js → voice-gm31ynds.js} +5 -5
- package/dist/chunks/{generate-5n0tzv7x.js → voice-gsbrh5b6.js} +20 -20
- package/dist/chunks/{generate-h6vf3j39.js → voice-h6vf3j39.js} +1 -1
- package/dist/chunks/{generate-mpa2ejqj.js → voice-h81g9n7s.js} +3 -3
- package/dist/chunks/{generate-h978070j.js → voice-h978070j.js} +2 -2
- package/dist/chunks/{generate-gg30gf2m.js → voice-hen2h1me.js} +3 -3
- package/dist/chunks/{generate-hgz4x7wa.js → voice-hgz4x7wa.js} +1 -1
- package/dist/chunks/{generate-ycbz4zet.js → voice-hhe0v7zm.js} +38 -38
- package/dist/chunks/{generate-sdds1ttc.js → voice-hn4xv43g.js} +31 -31
- package/dist/chunks/{generate-6je9mqj2.js → voice-hnqavcr7.js} +50 -50
- package/dist/chunks/{generate-fxaymqdw.js → voice-hq3c8me3.js} +4 -4
- package/dist/chunks/{generate-ta2yzdag.js → voice-htn8a1qv.js} +13 -13
- package/dist/chunks/{generate-q6pcr4cj.js → voice-hx6e907q.js} +9 -9
- package/dist/chunks/{generate-sp1w0rbh.js → voice-hyjay5vw.js} +25 -25
- package/dist/chunks/{generate-zprz3bv1.js → voice-j8v25mck.js} +5 -5
- package/dist/chunks/{generate-0yfxsrzp.js → voice-jc4mxe0h.js} +30 -30
- package/dist/chunks/{generate-ge51s02a.js → voice-jgpthgfz.js} +11 -11
- package/dist/chunks/{generate-6gwn7aqx.js → voice-jm1jdg4g.js} +16 -16
- package/dist/chunks/{generate-84jvfywv.js → voice-jnsvnygx.js} +50 -50
- package/dist/chunks/{generate-dcpjzjzy.js → voice-jpt0ksjm.js} +3 -3
- package/dist/chunks/{generate-4kkbnph0.js → voice-jz94ppxa.js} +11 -11
- package/dist/chunks/{generate-01m325sd.js → voice-kj9vwc9j.js} +47 -47
- package/dist/chunks/{generate-dmx7sk54.js → voice-krbeg2se.js} +42 -42
- package/dist/chunks/{generate-29fw136q.js → voice-ktg7dnk2.js} +23 -23
- package/dist/chunks/{generate-m28pths9.js → voice-kw7ww2k8.js} +44 -44
- package/dist/chunks/{generate-kwb1v3vj.js → voice-kwb1v3vj.js} +1 -1
- package/dist/chunks/{generate-ryjck82n.js → voice-m0k7y5tq.js} +14 -14
- package/dist/chunks/{generate-j9esqkaj.js → voice-m0xs32yr.js} +29 -29
- package/dist/chunks/{generate-yg3agy0r.js → voice-m37876mr.js} +16 -16
- package/dist/chunks/{generate-zwgc0wm1.js → voice-m552b91p.js} +13 -13
- package/dist/chunks/{generate-m9w0rfyh.js → voice-m9w0rfyh.js} +1 -1
- package/dist/chunks/{generate-maspj1v3.js → voice-maspj1v3.js} +1 -1
- package/dist/chunks/{generate-2ns20q01.js → voice-n1900k66.js} +1 -1
- package/dist/chunks/{generate-v7w38sqv.js → voice-n52gxnde.js} +86 -86
- package/dist/chunks/{generate-am1tmpj5.js → voice-n5csmyza.js} +10 -10
- package/dist/chunks/{generate-nad40530.js → voice-n5feeqsd.js} +4 -4
- package/dist/chunks/{generate-cmwkp3r5.js → voice-p37cw4rj.js} +8 -8
- package/dist/chunks/{generate-mmqcypja.js → voice-p38fre57.js} +5 -5
- package/dist/chunks/{generate-xfnxesgc.js → voice-pcf1k9th.js} +6 -6
- package/dist/chunks/{generate-yyk0gn1k.js → voice-pjjz4vyy.js} +336 -336
- package/dist/chunks/{generate-pjvnvgmy.js → voice-pjvnvgmy.js} +1 -1
- package/dist/chunks/{generate-pknna89w.js → voice-pknna89w.js} +1 -1
- package/dist/chunks/{generate-btnpkdvn.js → voice-ps2j6rx6.js} +17 -17
- package/dist/chunks/{generate-kt569c0v.js → voice-pvr736zf.js} +6 -6
- package/dist/chunks/{generate-q7mytj03.js → voice-pzta8gqa.js} +27 -27
- package/dist/chunks/{generate-yy4tknq9.js → voice-q2sz1tra.js} +13 -13
- package/dist/chunks/{generate-rhd650sz.js → voice-q303yhz1.js} +12 -12
- package/dist/chunks/{generate-a4w0e3g0.js → voice-q8ra9vd5.js} +29 -29
- package/dist/chunks/{generate-9w3hv6tb.js → voice-q8xm0c2j.js} +11 -11
- package/dist/chunks/{generate-qnc92qwc.js → voice-qnc92qwc.js} +1 -1
- package/dist/chunks/{generate-qsdy395h.js → voice-qsdy395h.js} +1 -1
- package/dist/chunks/{generate-b0av9spa.js → voice-qwfhs2mm.js} +21 -21
- package/dist/chunks/{generate-r2z489rp.js → voice-r2z489rp.js} +1 -1
- package/dist/chunks/{generate-rdw6cm16.js → voice-rdw6cm16.js} +1 -1
- package/dist/chunks/{generate-rert0e01.js → voice-rert0e01.js} +2 -2
- package/dist/chunks/voice-rhvdwwz1.js +26 -0
- package/dist/chunks/{generate-rj3eygr5.js → voice-rj3eygr5.js} +2 -2
- package/dist/chunks/{generate-80qg8hhn.js → voice-rjmsaa2q.js} +21 -21
- package/dist/chunks/{generate-8e6zqeab.js → voice-rka5c9pw.js} +23 -23
- package/dist/chunks/{generate-rkprpv83.js → voice-rkprpv83.js} +2 -2
- package/dist/chunks/{generate-mhjdq6ms.js → voice-rxwwr6rj.js} +24 -24
- package/dist/chunks/{generate-58tzmscz.js → voice-rzk8bj82.js} +6 -6
- package/dist/chunks/{generate-0gdmqesm.js → voice-s8d7rejh.js} +4 -4
- package/dist/chunks/{generate-sa8ekw3f.js → voice-sa8ekw3f.js} +2 -2
- package/dist/chunks/{generate-rd90dz52.js → voice-skrw0pay.js} +184 -184
- package/dist/chunks/{generate-syv4x271.js → voice-syv4x271.js} +1 -1
- package/dist/chunks/{generate-v0nk6czx.js → voice-sz1e9eqn.js} +11 -11
- package/dist/chunks/{generate-zrhmxj1q.js → voice-t55rwbc2.js} +22 -22
- package/dist/chunks/{generate-tj93jbcz.js → voice-t6p333e3.js} +32 -32
- package/dist/chunks/{generate-z4tdvtz8.js → voice-t6twestg.js} +11 -11
- package/dist/chunks/{generate-k76krqzs.js → voice-t6vsspdg.js} +7 -7
- package/dist/chunks/{generate-tazgh4e4.js → voice-tazgh4e4.js} +1 -1
- package/dist/chunks/{generate-89znhe33.js → voice-tcezcvh9.js} +4 -4
- package/dist/chunks/{generate-tdstcens.js → voice-tdstcens.js} +1 -1
- package/dist/chunks/{generate-tm0kqsz3.js → voice-tm0kqsz3.js} +1 -1
- package/dist/chunks/{generate-25yddszk.js → voice-tt8gc4fv.js} +3 -3
- package/dist/chunks/{generate-9xkywmt2.js → voice-tx938nqc.js} +17 -17
- package/dist/chunks/{generate-tyytaxap.js → voice-tyytaxap.js} +1 -1
- package/dist/chunks/{generate-xet4vjak.js → voice-v5130x7e.js} +22 -22
- package/dist/chunks/{generate-v7p4zvkq.js → voice-v7p4zvkq.js} +2 -2
- package/dist/chunks/{generate-veqvce7d.js → voice-veqvce7d.js} +1 -1
- package/dist/chunks/{generate-m5jcjszt.js → voice-vpm8vpz0.js} +3 -3
- package/dist/chunks/{generate-kd5vgtqm.js → voice-vvne4gav.js} +20 -20
- package/dist/chunks/{generate-c9rn2ypc.js → voice-vy68hshx.js} +8 -8
- package/dist/chunks/{generate-bdpzzc2x.js → voice-vzbxwz1d.js} +11 -11
- package/dist/chunks/{generate-vzs5sf6e.js → voice-vzs5sf6e.js} +1 -1
- package/dist/chunks/{generate-q0r0skws.js → voice-w1zgsyjh.js} +18 -18
- package/dist/chunks/{generate-w3wsvvr9.js → voice-w3wsvvr9.js} +1 -1
- package/dist/chunks/{generate-v0dnza1z.js → voice-w645cvh3.js} +4 -4
- package/dist/chunks/{generate-yqcazjzb.js → voice-wch0f9f3.js} +19 -19
- package/dist/chunks/{generate-c7mzjgkk.js → voice-wcmg8ka2.js} +11 -11
- package/dist/chunks/{generate-wd87259q.js → voice-wd87259q.js} +1 -1
- package/dist/chunks/{generate-bza9db00.js → voice-wdqr7xqq.js} +16 -16
- package/dist/chunks/{generate-f6s8y378.js → voice-wez1ajrw.js} +7 -7
- package/dist/chunks/{generate-0f09nngp.js → voice-wfqe50e8.js} +4 -4
- package/dist/chunks/{generate-dssbfrwz.js → voice-wh6zw745.js} +5 -5
- package/dist/chunks/{generate-2hsqkpxy.js → voice-wmg4dxvw.js} +15 -15
- package/dist/chunks/{generate-pe1jyrm4.js → voice-wp1wkg59.js} +16 -16
- package/dist/chunks/{generate-c0gqk2ym.js → voice-wt0mmhah.js} +6 -6
- package/dist/chunks/{generate-rypx97jt.js → voice-x0m4hwhr.js} +17 -17
- package/dist/chunks/{generate-s59wcpct.js → voice-x4p01p4y.js} +22 -22
- package/dist/chunks/{generate-hgnqc3f0.js → voice-x63dfm1w.js} +15 -15
- package/dist/chunks/{generate-dgkwachn.js → voice-x77x046w.js} +7 -7
- package/dist/chunks/{generate-1hv113sc.js → voice-xgyd6awb.js} +30 -30
- package/dist/chunks/{generate-r6yt1a8r.js → voice-xn17cbv3.js} +12 -12
- package/dist/chunks/{generate-7ej2vx6g.js → voice-xr64f026.js} +3 -3
- package/dist/chunks/{generate-w8xs7tx2.js → voice-xw8v86tr.js} +27 -27
- package/dist/chunks/{generate-5w9yjztw.js → voice-xybefm6f.js} +1 -1
- package/dist/chunks/{generate-y1fvbwt7.js → voice-y1fvbwt7.js} +1 -1
- package/dist/chunks/{generate-9r9t654e.js → voice-y32fbaee.js} +9 -9
- package/dist/chunks/{generate-k7ymkhxy.js → voice-y3vys761.js} +56 -56
- package/dist/chunks/{generate-x661k3y3.js → voice-y6bex35g.js} +4 -4
- package/dist/chunks/{generate-86qzxe6p.js → voice-y6mhz57t.js} +4 -4
- package/dist/chunks/{generate-y71avatq.js → voice-y71avatq.js} +1 -1
- package/dist/chunks/{generate-sgecb4a9.js → voice-y8m1m766.js} +4 -4
- package/dist/chunks/{generate-0ybe7mx1.js → voice-y8ng1a9s.js} +14 -14
- package/dist/chunks/{generate-reppd9nn.js → voice-ydyb6qzy.js} +13 -13
- package/dist/chunks/{generate-j5xd911s.js → voice-yfqqfr07.js} +23 -23
- package/dist/chunks/{generate-hw19m2y8.js → voice-ym1asdg7.js} +9 -9
- package/dist/chunks/{generate-yp2x3t23.js → voice-yp2x3t23.js} +1 -1
- package/dist/chunks/{generate-d0anyxb0.js → voice-yzh5znq2.js} +28 -28
- package/dist/chunks/{generate-z0bkrqjs.js → voice-z0bkrqjs.js} +1 -1
- package/dist/chunks/{generate-z18fegx4.js → voice-z18fegx4.js} +1 -1
- package/dist/chunks/{generate-5fychvb3.js → voice-z5pvh795.js} +8 -8
- package/dist/chunks/{generate-p8jsg7pq.js → voice-z5wvy2zw.js} +93 -93
- package/dist/chunks/{generate-05473zrx.js → voice-zaxy7ecx.js} +21 -21
- package/dist/chunks/{generate-tsw5e8b1.js → voice-zc7as1na.js} +19 -19
- package/dist/chunks/{generate-zav06jzw.js → voice-zcrspsvn.js} +4 -4
- package/dist/chunks/{generate-m85h8xbw.js → voice-zd055dky.js} +74 -74
- package/dist/chunks/{generate-sphypsd8.js → voice-zf1d6pfw.js} +9 -9
- package/dist/chunks/{generate-hc80vjct.js → voice-zhc0v3qp.js} +41 -41
- package/dist/chunks/voice-zqbqn1p8.js +257 -0
- package/dist/chunks/{generate-zr2ceqn5.js → voice-zr2ceqn5.js} +1 -1
- package/dist/chunks/{generate-czpjcjhw.js → voice-zxc5z6hb.js} +33 -33
- package/dist/chunks/{generate-zxq2ej10.js → voice-zxq2ej10.js} +1 -1
- package/dist/chunks/{generate-44ak30pa.js → voice-zy43x3f1.js} +4 -4
- package/dist/chunks/{generate-25553g2w.js → voice-zybbj8zn.js} +27 -27
- package/dist/chunks/{generate-00xf4nk1.js → voice-zygw1fg1.js} +22 -22
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +72 -72
- 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.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- 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 +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +108 -108
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +85 -85
- package/dist/generate.js +106 -106
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +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 +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +157 -157
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +7 -7
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +87 -87
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/todo.js +132 -132
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/voice.js +88 -88
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/generate-nvmgv2ve.js +0 -257
- package/dist/chunks/generate-vnkjks7b.js +0 -18
- package/dist/chunks/generate-z5m47y6j.js +0 -26
- /package/dist/chunks/{generate-0qkdqm5v.js → voice-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{generate-0zkw76rk.js → voice-0zkw76rk.js} +0 -0
- /package/dist/chunks/{generate-17cy0kzp.js → voice-17cy0kzp.js} +0 -0
- /package/dist/chunks/{generate-1cnp2v09.js → voice-1cnp2v09.js} +0 -0
- /package/dist/chunks/{generate-1kg9ymc8.js → voice-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{generate-24dcb14g.js → voice-24dcb14g.js} +0 -0
- /package/dist/chunks/{generate-2710q6r3.js → voice-2710q6r3.js} +0 -0
- /package/dist/chunks/{generate-2axfhc9x.js → voice-2axfhc9x.js} +0 -0
- /package/dist/chunks/{generate-2bv980vf.js → voice-2bv980vf.js} +0 -0
- /package/dist/chunks/{generate-2c3vjs8z.js → voice-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{generate-359p4xyc.js → voice-359p4xyc.js} +0 -0
- /package/dist/chunks/{generate-3asan66x.js → voice-3asan66x.js} +0 -0
- /package/dist/chunks/{generate-3t0ybcrp.js → voice-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{generate-3v8g72cx.js → voice-3v8g72cx.js} +0 -0
- /package/dist/chunks/{generate-3wcehsnq.js → voice-3wcehsnq.js} +0 -0
- /package/dist/chunks/{generate-43n2bw4t.js → voice-43n2bw4t.js} +0 -0
- /package/dist/chunks/{generate-4knz6hnm.js → voice-4knz6hnm.js} +0 -0
- /package/dist/chunks/{generate-4vcrnpx2.js → voice-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{generate-4y7fprxs.js → voice-4y7fprxs.js} +0 -0
- /package/dist/chunks/{generate-53557ph1.js → voice-53557ph1.js} +0 -0
- /package/dist/chunks/{generate-550bvhaj.js → voice-550bvhaj.js} +0 -0
- /package/dist/chunks/{generate-5qd3pb7m.js → voice-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{generate-6prwharc.js → voice-6prwharc.js} +0 -0
- /package/dist/chunks/{generate-6q2bdcd1.js → voice-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{generate-7akdwqpd.js → voice-7akdwqpd.js} +0 -0
- /package/dist/chunks/{generate-7m9af43g.js → voice-7m9af43g.js} +0 -0
- /package/dist/chunks/{generate-822emrt2.js → voice-822emrt2.js} +0 -0
- /package/dist/chunks/{generate-84wd9syh.js → voice-84wd9syh.js} +0 -0
- /package/dist/chunks/{generate-88xbtdfr.js → voice-88xbtdfr.js} +0 -0
- /package/dist/chunks/{generate-8n3pysct.js → voice-8n3pysct.js} +0 -0
- /package/dist/chunks/{generate-8wj87zfr.js → voice-8wj87zfr.js} +0 -0
- /package/dist/chunks/{generate-9a4afbnw.js → voice-9a4afbnw.js} +0 -0
- /package/dist/chunks/{generate-9rqn6x4v.js → voice-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{generate-a6k6eb26.js → voice-a6k6eb26.js} +0 -0
- /package/dist/chunks/{generate-af5trqkr.js → voice-af5trqkr.js} +0 -0
- /package/dist/chunks/{generate-afrmfg78.js → voice-afrmfg78.js} +0 -0
- /package/dist/chunks/{generate-aqzs7mqg.js → voice-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{generate-atq7p7m5.js → voice-atq7p7m5.js} +0 -0
- /package/dist/chunks/{generate-bkyjaxrp.js → voice-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{generate-bmr6ed5q.js → voice-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{generate-cf4snx6d.js → voice-cf4snx6d.js} +0 -0
- /package/dist/chunks/{generate-cvy3z8tj.js → voice-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{generate-d9fn303g.js → voice-d9fn303g.js} +0 -0
- /package/dist/chunks/{generate-d9jj8t3e.js → voice-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{generate-dajrwvna.js → voice-dajrwvna.js} +0 -0
- /package/dist/chunks/{generate-dap0rakb.js → voice-dap0rakb.js} +0 -0
- /package/dist/chunks/{generate-df08tz66.js → voice-df08tz66.js} +0 -0
- /package/dist/chunks/{generate-dy18nga0.js → voice-dy18nga0.js} +0 -0
- /package/dist/chunks/{generate-e5kj55wp.js → voice-e5kj55wp.js} +0 -0
- /package/dist/chunks/{generate-e73j6tqm.js → voice-e73j6tqm.js} +0 -0
- /package/dist/chunks/{generate-ec1grn59.js → voice-ec1grn59.js} +0 -0
- /package/dist/chunks/{generate-eh3zwz77.js → voice-eh3zwz77.js} +0 -0
- /package/dist/chunks/{generate-emrn6kk6.js → voice-emrn6kk6.js} +0 -0
- /package/dist/chunks/{generate-f0mxakyp.js → voice-f0mxakyp.js} +0 -0
- /package/dist/chunks/{generate-f6n9ztr4.js → voice-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{generate-faypxj3z.js → voice-faypxj3z.js} +0 -0
- /package/dist/chunks/{generate-fd410y7t.js → voice-fd410y7t.js} +0 -0
- /package/dist/chunks/{generate-g4wezp1m.js → voice-g4wezp1m.js} +0 -0
- /package/dist/chunks/{generate-g86h250q.js → voice-g86h250q.js} +0 -0
- /package/dist/chunks/{generate-gebd4c9n.js → voice-gebd4c9n.js} +0 -0
- /package/dist/chunks/{generate-gftt206x.js → voice-gftt206x.js} +0 -0
- /package/dist/chunks/{generate-hcxmzztb.js → voice-hcxmzztb.js} +0 -0
- /package/dist/chunks/{generate-hk9envan.js → voice-hk9envan.js} +0 -0
- /package/dist/chunks/{generate-j2ntwpah.js → voice-j2ntwpah.js} +0 -0
- /package/dist/chunks/{generate-j5zkgpj8.js → voice-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{generate-jjkms2e6.js → voice-jjkms2e6.js} +0 -0
- /package/dist/chunks/{generate-jr7sbwjy.js → voice-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{generate-jwfs4k6c.js → voice-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{generate-jze0r7bz.js → voice-jze0r7bz.js} +0 -0
- /package/dist/chunks/{generate-jzg6c2d5.js → voice-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{generate-m18g726c.js → voice-m18g726c.js} +0 -0
- /package/dist/chunks/{generate-mp448xyj.js → voice-mp448xyj.js} +0 -0
- /package/dist/chunks/{generate-msx8hqn2.js → voice-msx8hqn2.js} +0 -0
- /package/dist/chunks/{generate-n05xt0ee.js → voice-n05xt0ee.js} +0 -0
- /package/dist/chunks/{generate-n3j8tn72.js → voice-n3j8tn72.js} +0 -0
- /package/dist/chunks/{generate-njntx4h6.js → voice-njntx4h6.js} +0 -0
- /package/dist/chunks/{generate-pkyv6v7h.js → voice-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{generate-pyv0edze.js → voice-pyv0edze.js} +0 -0
- /package/dist/chunks/{generate-q3sfg36h.js → voice-q3sfg36h.js} +0 -0
- /package/dist/chunks/{generate-q74kybfr.js → voice-q74kybfr.js} +0 -0
- /package/dist/chunks/{generate-qaymkmh1.js → voice-qaymkmh1.js} +0 -0
- /package/dist/chunks/{generate-qb87gjwd.js → voice-qb87gjwd.js} +0 -0
- /package/dist/chunks/{generate-qfa1cgps.js → voice-qfa1cgps.js} +0 -0
- /package/dist/chunks/{generate-qg3g05ea.js → voice-qg3g05ea.js} +0 -0
- /package/dist/chunks/{generate-qrg20bc0.js → voice-qrg20bc0.js} +0 -0
- /package/dist/chunks/{generate-rcb2kzg1.js → voice-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{generate-sdp7kfr6.js → voice-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{generate-ssg3fenm.js → voice-ssg3fenm.js} +0 -0
- /package/dist/chunks/{generate-ve7vex1e.js → voice-ve7vex1e.js} +0 -0
- /package/dist/chunks/{generate-w803qqfp.js → voice-w803qqfp.js} +0 -0
- /package/dist/chunks/{generate-wc3fc9cn.js → voice-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{generate-wer8tq1h.js → voice-wer8tq1h.js} +0 -0
- /package/dist/chunks/{generate-wjj7prxr.js → voice-wjj7prxr.js} +0 -0
- /package/dist/chunks/{generate-wtztk69x.js → voice-wtztk69x.js} +0 -0
- /package/dist/chunks/{generate-x0ckcb58.js → voice-x0ckcb58.js} +0 -0
- /package/dist/chunks/{generate-x61499pn.js → voice-x61499pn.js} +0 -0
- /package/dist/chunks/{generate-y44na4kk.js → voice-y44na4kk.js} +0 -0
- /package/dist/chunks/{generate-y8f7s663.js → voice-y8f7s663.js} +0 -0
- /package/dist/chunks/{generate-ygaqb7jw.js → voice-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{generate-ym463w8f.js → voice-ym463w8f.js} +0 -0
- /package/dist/chunks/{generate-z5v4ffb3.js → voice-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{generate-z9919s4g.js → voice-z9919s4g.js} +0 -0
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID11,
|
|
3
|
+
Service76
|
|
4
|
+
} from "./voice-rxwwr6rj.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service77
|
|
8
|
+
} from "./voice-hn4xv43g.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service51
|
|
12
|
+
} from "./voice-gchk0vkb.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./voice-vpm8vpz0.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service45
|
|
18
|
+
} from "./voice-wdqr7xqq.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service72
|
|
22
|
+
} from "./voice-jnsvnygx.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service26
|
|
25
|
+
} from "./voice-z5wvy2zw.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./voice-6xb47vfp.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service8
|
|
31
|
+
} from "./voice-10q04s9m.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: () => Input2,
|
|
40
|
+
Output: () => Output2,
|
|
41
|
+
Plugin: () => Plugin2,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description2,
|
|
44
|
+
name: () => name2
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name2 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input2 = 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 Input7 = 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 Output2 = 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 description2 = [
|
|
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,16 +86,16 @@ var description4 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin2 = {
|
|
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*
|
|
98
|
-
const subagents = yield*
|
|
92
|
+
const sessions = yield* Service26;
|
|
93
|
+
const jobs = yield* Service45;
|
|
94
|
+
const agents = yield* Service76;
|
|
95
|
+
const config = yield* Service51;
|
|
96
|
+
const permission = yield* Service72;
|
|
97
|
+
const models = yield* Service77;
|
|
98
|
+
const subagents = yield* Service8;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin44 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name2,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description2,
|
|
121
|
+
input: Input2,
|
|
122
|
+
output: Output2,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin44 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name2,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin44 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID11.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,7 +218,7 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
-
if (event.tool !==
|
|
221
|
+
if (event.tool !== name2 || !Predicate.isObject(event.input))
|
|
222
222
|
return;
|
|
223
223
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
224
|
return;
|
|
@@ -230,13 +230,13 @@ ${output.output}
|
|
|
230
230
|
event.input = input;
|
|
231
231
|
}));
|
|
232
232
|
const hook = (event) => Effect.gen(function* () {
|
|
233
|
-
const tool = event.tools[
|
|
233
|
+
const tool = event.tools[name2];
|
|
234
234
|
if (!tool)
|
|
235
235
|
return;
|
|
236
236
|
const selected = yield* agents.resolve(event.agent);
|
|
237
237
|
if (!selected)
|
|
238
238
|
return;
|
|
239
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
239
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name2, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
240
240
|
if (available.length === 0)
|
|
241
241
|
return;
|
|
242
242
|
tool.description = [
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name2, Input2, Output2, description2, Plugin2, exports_subagent };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./voice-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
6
|
var exports_permission = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_permission, {
|
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission,
|
|
10
10
|
Entries: () => Entries2,
|
|
11
|
-
Info: () =>
|
|
11
|
+
Info: () => Info11,
|
|
12
12
|
Object: () => Object2,
|
|
13
13
|
Rule: () => Rule2
|
|
14
14
|
});
|
|
@@ -21,11 +21,11 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
|
|
|
21
21
|
var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
22
22
|
var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
23
23
|
var actionOnly = new Set(["question", "websearch", "doom_loop"]);
|
|
24
|
-
var
|
|
24
|
+
var Info11 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule2), {
|
|
25
25
|
decode: SchemaGetter.transform((input) => typeof input === "string" ? { "*": input } : input),
|
|
26
26
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
27
27
|
})).check(Schema.makeFilter((rules) => rules.every(([key, rule]) => !actionOnly.has(key) || typeof rule === "string"), {
|
|
28
28
|
expected: "question, websearch, and doom_loop to be ask, allow, or deny"
|
|
29
29
|
})).annotate({ identifier: "PermissionConfig" });
|
|
30
30
|
|
|
31
|
-
export { Action2, Entries2, Object2, Rule2,
|
|
31
|
+
export { Action2, Entries2, Object2, Rule2, Info11, exports_permission };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service52
|
|
3
|
+
} from "./voice-gsbrh5b6.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service51
|
|
6
|
+
} from "./voice-gchk0vkb.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./voice-rzk8bj82.js";
|
|
10
10
|
import {
|
|
11
11
|
ignore2,
|
|
12
12
|
scan2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./voice-bzeyqsqd.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./voice-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/config/plugin/compatibility.ts
|
|
19
19
|
var exports_compatibility = {};
|
|
20
20
|
__export(exports_compatibility, {
|
|
21
21
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin49
|
|
23
23
|
});
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
25
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
26
26
|
import path from "path";
|
|
27
27
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
28
|
-
var
|
|
28
|
+
var Plugin49 = define({
|
|
29
29
|
id: "opencode.config.compatibility",
|
|
30
30
|
effect: Effect.fn(function* (ctx) {
|
|
31
|
-
const config = yield*
|
|
31
|
+
const config = yield* Service51;
|
|
32
32
|
const fs = yield* FSUtil.Service;
|
|
33
|
-
const watcher = yield*
|
|
33
|
+
const watcher = yield* Service52;
|
|
34
34
|
const watches = yield* FiberMap.make();
|
|
35
35
|
const changes = yield* PubSub.sliding(1);
|
|
36
36
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -76,4 +76,4 @@ var Plugin27 = define({
|
|
|
76
76
|
})
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export {
|
|
79
|
+
export { Plugin49, exports_compatibility };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./voice-qnc92qwc.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./voice-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./voice-rj3eygr5.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service51
|
|
3
|
+
} from "./voice-gchk0vkb.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service38
|
|
6
|
+
} from "./voice-3vnym5x3.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./voice-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
12
|
var exports_mcp2 = {};
|
|
13
13
|
__export(exports_mcp2, {
|
|
14
14
|
ConfigMcpPlugin: () => exports_mcp2,
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin47,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin47 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service51;
|
|
28
|
+
const mcp = yield* Service38;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin47, register2, exports_mcp2 };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service52
|
|
3
|
+
} from "./voice-gsbrh5b6.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./voice-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service81
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./voice-cy3cg06b.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service51
|
|
12
|
+
} from "./voice-gchk0vkb.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Source4
|
|
17
|
+
} from "./voice-jc4mxe0h.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service13
|
|
20
|
+
} from "./voice-g686f6pq.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./voice-rzk8bj82.js";
|
|
24
24
|
import {
|
|
25
25
|
ignore2,
|
|
26
26
|
scan2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./voice-bzeyqsqd.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./voice-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/config/plugin/skill.ts
|
|
33
|
-
var
|
|
34
|
-
__export(
|
|
35
|
-
ConfigSkillPlugin: () =>
|
|
36
|
-
Plugin: () =>
|
|
33
|
+
var exports_skill3 = {};
|
|
34
|
+
__export(exports_skill3, {
|
|
35
|
+
ConfigSkillPlugin: () => exports_skill3,
|
|
36
|
+
Plugin: () => Plugin38
|
|
37
37
|
});
|
|
38
38
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
39
39
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
40
40
|
import { Global } from "@opencode/util/global";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
43
|
-
var
|
|
43
|
+
var Plugin38 = define({
|
|
44
44
|
id: "opencode.config.skill",
|
|
45
45
|
effect: Effect.fn(function* (ctx) {
|
|
46
|
-
const config = yield*
|
|
47
|
-
const discovery = yield*
|
|
46
|
+
const config = yield* Service51;
|
|
47
|
+
const discovery = yield* Service13;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const global = yield* Global.Service;
|
|
50
50
|
const location = yield* Service81;
|
|
51
|
-
const watcher = yield*
|
|
51
|
+
const watcher = yield* Service52;
|
|
52
52
|
const loaded = {
|
|
53
53
|
entries: yield* config.entries(),
|
|
54
54
|
skills: []
|
|
@@ -91,7 +91,7 @@ var Plugin30 = define({
|
|
|
91
91
|
const sources = () => {
|
|
92
92
|
const result = [];
|
|
93
93
|
const add = (source) => {
|
|
94
|
-
if (result.some((item) =>
|
|
94
|
+
if (result.some((item) => Source4.equals(item, source)))
|
|
95
95
|
return;
|
|
96
96
|
result.push(source);
|
|
97
97
|
};
|
|
@@ -116,7 +116,7 @@ var Plugin30 = define({
|
|
|
116
116
|
};
|
|
117
117
|
const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
|
|
118
118
|
const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
|
|
119
|
-
source:
|
|
119
|
+
source: Source4.key(source),
|
|
120
120
|
cause
|
|
121
121
|
}).pipe(Effect.as([]))));
|
|
122
122
|
const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
|
|
@@ -144,7 +144,7 @@ var Plugin30 = define({
|
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
146
|
yield* Effect.logDebug("skill source loaded", {
|
|
147
|
-
source:
|
|
147
|
+
source: Source4.key(source),
|
|
148
148
|
type: source.type,
|
|
149
149
|
directories,
|
|
150
150
|
skills: skills.map((skill) => skill.id)
|
|
@@ -163,7 +163,7 @@ var Plugin30 = define({
|
|
|
163
163
|
if (file) {
|
|
164
164
|
yield* Effect.logInfo("skills rescanned", {
|
|
165
165
|
file,
|
|
166
|
-
sources: current.map(
|
|
166
|
+
sources: current.map(Source4.key),
|
|
167
167
|
skills: loaded.skills.map((skill) => skill.id)
|
|
168
168
|
});
|
|
169
169
|
}
|
|
@@ -179,4 +179,4 @@ var Plugin30 = define({
|
|
|
179
179
|
})
|
|
180
180
|
});
|
|
181
181
|
|
|
182
|
-
export {
|
|
182
|
+
export { Plugin38, exports_skill3 };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./voice-84pnh87n.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service85
|
|
6
|
+
} from "./voice-4bnzbgn8.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./voice-m0xs32yr.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./voice-y6bex35g.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID14,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./voice-fcy1mh1a.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service22
|
|
21
|
+
} from "./voice-n5csmyza.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID13,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./voice-3px9zfj5.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./voice-hn4xv43g.js";
|
|
30
30
|
import {
|
|
31
31
|
supports2,
|
|
32
32
|
resolve2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./voice-jpt0ksjm.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
ID6,
|
|
36
|
+
Input15,
|
|
37
37
|
Response2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./voice-15rr0twx.js";
|
|
39
39
|
|
|
40
40
|
// src/plugin/provider/opencode.ts
|
|
41
41
|
import { Duration, Effect, Equal, FiberHandle, Option, Schema, SchemaGetter, Scope, Semaphore, Stream } from "effect";
|
|
@@ -61,7 +61,7 @@ var RemotePolicies = Schema.Array(Schema.Unknown).pipe(Schema.decodeTo(Schema.Un
|
|
|
61
61
|
var RemoteResponse = Schema.Struct({
|
|
62
62
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
63
63
|
websearch: Schema.Struct({
|
|
64
|
-
providerID:
|
|
64
|
+
providerID: ID6
|
|
65
65
|
}).pipe(Schema.optional),
|
|
66
66
|
mcp: Schema.Struct({
|
|
67
67
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -112,7 +112,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
112
112
|
}
|
|
113
113
|
function oauth(http) {
|
|
114
114
|
return {
|
|
115
|
-
integrationID:
|
|
115
|
+
integrationID: ID14.make("opencode"),
|
|
116
116
|
method: {
|
|
117
117
|
id: methodID,
|
|
118
118
|
type: "oauth",
|
|
@@ -176,10 +176,10 @@ function oauth(http) {
|
|
|
176
176
|
var OpencodePlugin2 = define({
|
|
177
177
|
id: "opencode.provider.opencode",
|
|
178
178
|
effect: Effect.fn(function* (ctx) {
|
|
179
|
-
const bus = yield*
|
|
179
|
+
const bus = yield* Service85;
|
|
180
180
|
const client = yield* HttpClient.HttpClient;
|
|
181
181
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
182
|
-
const managed = yield*
|
|
182
|
+
const managed = yield* Service22;
|
|
183
183
|
const scope = yield* Scope.Scope;
|
|
184
184
|
const loading = Semaphore.makeUnsafe(1);
|
|
185
185
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -231,7 +231,7 @@ var OpencodePlugin2 = define({
|
|
|
231
231
|
providers.update(providerID, (provider) => {
|
|
232
232
|
if (source && source.provider !== provider)
|
|
233
233
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
234
|
-
provider.integrationID =
|
|
234
|
+
provider.integrationID = ID14.make("opencode");
|
|
235
235
|
if (item.canonical !== undefined)
|
|
236
236
|
provider.canonical = item.canonical;
|
|
237
237
|
if (item.name !== undefined)
|
|
@@ -303,7 +303,7 @@ var OpencodePlugin2 = define({
|
|
|
303
303
|
sourceConnection: snapshot.connection
|
|
304
304
|
});
|
|
305
305
|
}
|
|
306
|
-
const item = providers.get(
|
|
306
|
+
const item = providers.get(ID13.opencode);
|
|
307
307
|
if (!item)
|
|
308
308
|
return;
|
|
309
309
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -315,7 +315,7 @@ var OpencodePlugin2 = define({
|
|
|
315
315
|
});
|
|
316
316
|
});
|
|
317
317
|
yield* ctx.model.transform((models) => {
|
|
318
|
-
const item = models.provider.get(
|
|
318
|
+
const item = models.provider.get(ID13.opencode);
|
|
319
319
|
if (!item)
|
|
320
320
|
return;
|
|
321
321
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -349,7 +349,7 @@ var OpencodePlugin2 = define({
|
|
|
349
349
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
350
350
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
351
351
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
352
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
352
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input15)({
|
|
353
353
|
query: input.query,
|
|
354
354
|
providerID: descriptor.providerID
|
|
355
355
|
}));
|
|
@@ -404,7 +404,7 @@ var OpencodePlugin2 = define({
|
|
|
404
404
|
});
|
|
405
405
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
406
406
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
407
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
407
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID13.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
408
408
|
});
|
|
409
409
|
yield* guard(snapshot);
|
|
410
410
|
const polling = yield* FiberHandle.make();
|
|
@@ -415,7 +415,7 @@ var OpencodePlugin2 = define({
|
|
|
415
415
|
onlyIfMissing: true
|
|
416
416
|
});
|
|
417
417
|
});
|
|
418
|
-
yield* bus.subscribe(
|
|
418
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
|
|
419
419
|
yield* poll();
|
|
420
420
|
})
|
|
421
421
|
});
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./voice-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./voice-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service12,
|
|
13
|
+
node: () => node14
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service12 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service12.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node14 = makeLocationNode({ service: Service12, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service12, node14, exports_location_watcher_policy };
|