@opencode/core 0.0.0-dev-21268 → 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 +81 -81
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +5 -5
- package/dist/bus.js +71 -71
- package/dist/chunks/{formatter-x5jhdhzv.js → voice-07hyrh53.js} +9 -9
- package/dist/chunks/{formatter-jq12p00e.js → voice-0d60ahdf.js} +3 -3
- package/dist/chunks/{formatter-4nj4bn9q.js → voice-0jq9fyba.js} +9 -9
- package/dist/chunks/{formatter-fcrkznn8.js → voice-0jwsre1p.js} +5 -5
- package/dist/chunks/{formatter-ny53wrt7.js → voice-0n7hx3s8.js} +31 -31
- package/dist/chunks/{formatter-xgqamae7.js → voice-0pdk8z67.js} +5 -5
- package/dist/chunks/{formatter-jftvfy36.js → voice-0stcbem0.js} +34 -34
- package/dist/chunks/{formatter-560ck4c5.js → voice-0tgjh03h.js} +3 -3
- package/dist/chunks/{formatter-0vbcp93d.js → voice-0vbcp93d.js} +2 -2
- package/dist/chunks/{formatter-8qgr4h1v.js → voice-10q04s9m.js} +19 -19
- package/dist/chunks/{formatter-7cx1y1jk.js → voice-15rr0twx.js} +23 -23
- package/dist/chunks/{formatter-vxby77fw.js → voice-166kng33.js} +4 -4
- package/dist/chunks/{formatter-75rtafjv.js → voice-18zsf568.js} +14 -14
- package/dist/chunks/{formatter-d3394kee.js → voice-1a5chre8.js} +14 -14
- package/dist/chunks/{formatter-gyahv1by.js → voice-1bq62cry.js} +18 -18
- package/dist/chunks/{formatter-wek98stj.js → voice-1c85gy23.js} +5 -5
- package/dist/chunks/{formatter-ym5wg1kc.js → voice-1e040kv3.js} +2 -2
- package/dist/chunks/{formatter-j8y9j9kj.js → voice-1ffqw314.js} +23 -23
- package/dist/chunks/{formatter-wjr9rjd7.js → voice-1ffvrpkg.js} +9 -9
- package/dist/chunks/{formatter-1pvppg81.js → voice-1h2d0ke7.js} +5 -5
- package/dist/chunks/{formatter-2tgf6cja.js → voice-1k9hs225.js} +4 -4
- package/dist/chunks/{formatter-hkh1jx8g.js → voice-1nkzkq3r.js} +18 -18
- package/dist/chunks/voice-1x11rq2a.js +18 -0
- package/dist/chunks/{formatter-zcgapt0q.js → voice-2560qahv.js} +26 -26
- package/dist/chunks/{formatter-t9gjcg3f.js → voice-291dyprt.js} +22 -22
- package/dist/chunks/{formatter-1hcnqvj0.js → voice-2rfqgm69.js} +23 -23
- package/dist/chunks/{formatter-sa6168g2.js → voice-2w7xd5ef.js} +6 -6
- package/dist/chunks/{formatter-r1sktf6h.js → voice-3gwj7c3a.js} +1 -1
- package/dist/chunks/{formatter-3hepkmqq.js → voice-3hepkmqq.js} +1 -1
- package/dist/chunks/{formatter-3hwn7j4h.js → voice-3hwn7j4h.js} +2 -2
- package/dist/chunks/{formatter-9md8he8y.js → voice-3pr9cre2.js} +32 -32
- package/dist/chunks/{formatter-0v8jbydc.js → voice-3px9zfj5.js} +32 -32
- package/dist/chunks/{formatter-3smtnn6g.js → voice-3smtnn6g.js} +1 -1
- package/dist/chunks/{formatter-3tvqynh2.js → voice-3tvqynh2.js} +1 -1
- package/dist/chunks/{formatter-mdqes59k.js → voice-3vnym5x3.js} +47 -47
- package/dist/chunks/{formatter-1845wcnm.js → voice-3xsm4mrf.js} +36 -36
- package/dist/chunks/{formatter-psf8dvjb.js → voice-3yfbedjd.js} +15 -15
- package/dist/chunks/{formatter-b3nqcn4t.js → voice-3yvt2eyd.js} +13 -13
- package/dist/chunks/{formatter-3zsf4n22.js → voice-3zsf4n22.js} +1 -1
- package/dist/chunks/{formatter-dftrqtzk.js → voice-401wxw87.js} +5 -5
- package/dist/chunks/{formatter-jwg5m4bp.js → voice-46459d5e.js} +45 -45
- package/dist/chunks/{formatter-3dbk125e.js → voice-46aes8ch.js} +13 -13
- package/dist/chunks/{formatter-cqsap5z8.js → voice-4bnzbgn8.js} +4 -4
- package/dist/chunks/{formatter-nsj8m29q.js → voice-4qnvasr9.js} +8 -8
- package/dist/chunks/{formatter-k0a04qyy.js → voice-4ts41tr6.js} +9 -9
- package/dist/chunks/{formatter-kpawbemv.js → voice-4ymz7vr5.js} +24 -24
- package/dist/chunks/{formatter-sg1n6he9.js → voice-52nydkw8.js} +5 -5
- package/dist/chunks/{formatter-hj6k4shy.js → voice-5307c9aq.js} +4 -4
- package/dist/chunks/{formatter-r94pvvab.js → voice-54ma36ye.js} +4 -4
- package/dist/chunks/{formatter-b12fh71z.js → voice-55m81wnp.js} +12 -12
- package/dist/chunks/{formatter-tn7n77d0.js → voice-5kxj697y.js} +20 -20
- package/dist/chunks/{formatter-5m9w47nd.js → voice-5m9w47nd.js} +1 -1
- package/dist/chunks/{formatter-6827pfxn.js → voice-6827pfxn.js} +1 -1
- package/dist/chunks/{formatter-p80cb2q6.js → voice-6dh1jvz0.js} +13 -13
- package/dist/chunks/{formatter-d2m5bwmv.js → voice-6h73966b.js} +20 -20
- package/dist/chunks/{formatter-cdf78ym6.js → voice-6k23gnk2.js} +28 -28
- package/dist/chunks/{formatter-g0nw424s.js → voice-6n27b0t2.js} +21 -21
- package/dist/chunks/{formatter-6xb47vfp.js → voice-6xb47vfp.js} +1 -1
- package/dist/chunks/{formatter-cedvsd9p.js → voice-70z88rjf.js} +15 -15
- package/dist/chunks/{formatter-g73qmrf1.js → voice-72sk51vb.js} +35 -35
- package/dist/chunks/{formatter-775gj3j1.js → voice-775gj3j1.js} +2 -2
- package/dist/chunks/{formatter-6n87qsqk.js → voice-788azn8w.js} +34 -34
- package/dist/chunks/{formatter-7bmhse3q.js → voice-7bmhse3q.js} +1 -1
- package/dist/chunks/{formatter-zzywg6y6.js → voice-7czk49a2.js} +20 -20
- package/dist/chunks/{formatter-w56efnhv.js → voice-7gksfrk6.js} +46 -46
- package/dist/chunks/{formatter-7t5c4g27.js → voice-7mcgqaeh.js} +9 -9
- package/dist/chunks/{formatter-kmk629k8.js → voice-7wfv1tbf.js} +7 -7
- package/dist/chunks/{formatter-s1hjqbmb.js → voice-7zjhs1nm.js} +13 -13
- package/dist/chunks/{formatter-dktgvxhq.js → voice-80kf5cft.js} +25 -25
- package/dist/chunks/{formatter-dzse07y5.js → voice-81rrwt6s.js} +6 -6
- package/dist/chunks/{formatter-1gd0p40m.js → voice-83vj9qt0.js} +21 -21
- package/dist/chunks/{formatter-jnyfd4gm.js → voice-84pnh87n.js} +7 -7
- package/dist/chunks/{formatter-84txncab.js → voice-84txncab.js} +1 -1
- package/dist/chunks/{formatter-wfc8dvn2.js → voice-8btm942h.js} +2 -2
- package/dist/chunks/{formatter-g3tfzm17.js → voice-8jzsrpfh.js} +4 -4
- package/dist/chunks/{formatter-7knmx1zy.js → voice-8k16pbxa.js} +5 -5
- package/dist/chunks/{formatter-8m6m0r52.js → voice-8m6m0r52.js} +1 -1
- package/dist/chunks/{formatter-ctbnrc59.js → voice-8sc2nzy6.js} +8 -8
- package/dist/chunks/{formatter-xsj2mzjf.js → voice-93fzsdqz.js} +13 -13
- package/dist/chunks/{formatter-0t9wd588.js → voice-99xay3p1.js} +8 -8
- package/dist/chunks/{formatter-sd0pxfvh.js → voice-9at0pwnx.js} +9 -9
- package/dist/chunks/{formatter-n1w5qww0.js → voice-9ca4c2n8.js} +22 -22
- package/dist/chunks/{formatter-v82nyebm.js → voice-9cb08eze.js} +10 -10
- package/dist/chunks/{formatter-ay1662mf.js → voice-9cvx9cd3.js} +9 -9
- package/dist/chunks/{formatter-fjzkwv4w.js → voice-9qee0jk3.js} +8 -8
- package/dist/chunks/{formatter-s4j1ewxt.js → voice-9t0xmec0.js} +15 -15
- package/dist/chunks/{formatter-a20pjse5.js → voice-a20pjse5.js} +3 -3
- package/dist/chunks/{formatter-7asbmpsf.js → voice-a3ebqg5m.js} +8 -8
- package/dist/chunks/{formatter-9b8ncctb.js → voice-a47cqtsz.js} +8 -8
- package/dist/chunks/{formatter-7mxcbd2h.js → voice-a4rkzzpg.js} +45 -45
- package/dist/chunks/{formatter-04ap81dm.js → voice-a7t9gw66.js} +15 -15
- package/dist/chunks/{formatter-wmmpzfcy.js → voice-adj2f2vn.js} +31 -31
- package/dist/chunks/{formatter-5tcnstt9.js → voice-asgfpy10.js} +11 -11
- package/dist/chunks/{formatter-qv11eaqs.js → voice-atsf9aqe.js} +11 -11
- package/dist/chunks/{formatter-yx0rmv9r.js → voice-ax36eyar.js} +8 -8
- package/dist/chunks/{formatter-v4m9j1r3.js → voice-ay7h7ryq.js} +19 -19
- package/dist/chunks/{formatter-kd03d9gr.js → voice-baqyxak2.js} +4 -4
- package/dist/chunks/{formatter-p6xnc3rx.js → voice-bc25zkma.js} +21 -21
- package/dist/chunks/{formatter-r78700hm.js → voice-be82r499.js} +10 -10
- package/dist/chunks/{formatter-6md12hsa.js → voice-bekrfzrn.js} +5 -5
- package/dist/chunks/{formatter-880p7epb.js → voice-bft59c27.js} +9 -9
- package/dist/chunks/{formatter-vybdm9k2.js → voice-bhkm1g5m.js} +38 -38
- package/dist/chunks/{formatter-mqqhst8y.js → voice-bmr56wjg.js} +4 -4
- package/dist/chunks/{formatter-z6pg3wkb.js → voice-bxaezv13.js} +12 -12
- package/dist/chunks/{formatter-bzeyqsqd.js → voice-bzeyqsqd.js} +1 -1
- package/dist/chunks/{formatter-c1fqxshp.js → voice-c1fqxshp.js} +3 -3
- package/dist/chunks/{formatter-wfk38fft.js → voice-c214aq79.js} +13 -13
- package/dist/chunks/{formatter-vtdr16f1.js → voice-c62gkb3b.js} +23 -23
- package/dist/chunks/{formatter-yz20g6dm.js → voice-capghd97.js} +23 -23
- package/dist/chunks/{formatter-79qaa2kf.js → voice-cwa6csj7.js} +9 -9
- package/dist/chunks/{formatter-06c933ea.js → voice-cy3cg06b.js} +16 -16
- package/dist/chunks/{formatter-nc16zhnm.js → voice-d10c0ppg.js} +20 -20
- package/dist/chunks/{formatter-w8xr7nv8.js → voice-d1r5081s.js} +5 -5
- package/dist/chunks/{formatter-f29mbr7f.js → voice-d2czbp48.js} +4 -4
- package/dist/chunks/{formatter-24920ypz.js → voice-dbx1c2tg.js} +33 -33
- package/dist/chunks/{formatter-d18yz2tr.js → voice-ddsesdvm.js} +11 -11
- package/dist/chunks/{formatter-kd568tns.js → voice-dp558nrd.js} +5 -5
- package/dist/chunks/{formatter-qkr7tnsm.js → voice-dqpnj7av.js} +27 -27
- package/dist/chunks/{formatter-drwq78ky.js → voice-drwq78ky.js} +1 -1
- package/dist/chunks/{formatter-tgdmrz9m.js → voice-dtmw6jvf.js} +17 -17
- package/dist/chunks/{formatter-njbdz2ej.js → voice-dxj1qz4d.js} +16 -16
- package/dist/chunks/{formatter-d9gp05e8.js → voice-e0yy9ryt.js} +14 -14
- package/dist/chunks/{formatter-5fmp7ejv.js → voice-e61cj48z.js} +24 -24
- package/dist/chunks/{formatter-gc9yyap8.js → voice-e7faghhc.js} +11 -11
- package/dist/chunks/{formatter-hgpmxtmw.js → voice-e9s8nezm.js} +16 -16
- package/dist/chunks/{formatter-eej6y6fw.js → voice-eej6y6fw.js} +2 -2
- package/dist/chunks/{formatter-ef5x83kb.js → voice-ef5x83kb.js} +1 -1
- package/dist/chunks/{formatter-yx35gvjr.js → voice-egpmcp8a.js} +14 -14
- package/dist/chunks/{formatter-wrmbd4ct.js → voice-fan8xm03.js} +8 -8
- package/dist/chunks/{formatter-jt04gwr3.js → voice-fcy1mh1a.js} +30 -30
- package/dist/chunks/{formatter-fcy631f0.js → voice-fcy631f0.js} +1 -1
- package/dist/chunks/{formatter-p8706pxr.js → voice-fe7mjage.js} +15 -15
- package/dist/chunks/{formatter-we093gtr.js → voice-fgn3zs1a.js} +11 -11
- package/dist/chunks/{formatter-n3kjjdbc.js → voice-fmdmz72r.js} +23 -23
- package/dist/chunks/{formatter-jbv6fv9n.js → voice-ft66ww99.js} +4 -4
- package/dist/chunks/{formatter-qf501b6x.js → voice-fy8g54x2.js} +11 -11
- package/dist/chunks/{formatter-bacj9t34.js → voice-g686f6pq.js} +9 -9
- package/dist/chunks/{formatter-fgvzqqhz.js → voice-g9mhys8g.js} +11 -11
- package/dist/chunks/{formatter-3gmzkzp0.js → voice-gchk0vkb.js} +46 -46
- package/dist/chunks/{formatter-gd4qta3r.js → voice-gd4qta3r.js} +1 -1
- package/dist/chunks/{formatter-k10w2rw8.js → voice-gj46k6vd.js} +27 -27
- package/dist/chunks/{formatter-9hwaqfsw.js → voice-gj71zhbs.js} +5 -5
- package/dist/chunks/{formatter-a01j9zgm.js → voice-gm31ynds.js} +5 -5
- package/dist/chunks/{formatter-0j6qdzw7.js → voice-gsbrh5b6.js} +22 -22
- package/dist/chunks/{formatter-h6vf3j39.js → voice-h6vf3j39.js} +1 -1
- package/dist/chunks/{formatter-3ks3pb71.js → voice-h81g9n7s.js} +6 -6
- package/dist/chunks/{formatter-h978070j.js → voice-h978070j.js} +2 -2
- package/dist/chunks/{formatter-v6xvqrem.js → voice-hen2h1me.js} +3 -3
- package/dist/chunks/{formatter-hgz4x7wa.js → voice-hgz4x7wa.js} +1 -1
- package/dist/chunks/{formatter-gwpaft9z.js → voice-hhe0v7zm.js} +34 -34
- package/dist/chunks/{formatter-z039y7x6.js → voice-hn4xv43g.js} +31 -31
- package/dist/chunks/{formatter-60byc3m8.js → voice-hnqavcr7.js} +50 -50
- package/dist/chunks/{formatter-fxaymqdw.js → voice-hq3c8me3.js} +4 -4
- package/dist/chunks/{formatter-c340nhfc.js → voice-htn8a1qv.js} +13 -13
- package/dist/chunks/{formatter-xbf45m1m.js → voice-hx6e907q.js} +11 -11
- package/dist/chunks/{formatter-y539vebz.js → voice-hyjay5vw.js} +34 -34
- package/dist/chunks/{formatter-xy38s77h.js → voice-j8v25mck.js} +5 -5
- package/dist/chunks/{formatter-2p6ntd4m.js → voice-jc4mxe0h.js} +22 -22
- package/dist/chunks/{formatter-f5jgrrfv.js → voice-jgpthgfz.js} +19 -19
- package/dist/chunks/{formatter-0ed8e971.js → voice-jm1jdg4g.js} +21 -21
- package/dist/chunks/{formatter-s5b7v2dw.js → voice-jnsvnygx.js} +45 -45
- package/dist/chunks/{formatter-qyh1b4jm.js → voice-jpt0ksjm.js} +3 -3
- package/dist/chunks/{formatter-axvj98vx.js → voice-jz94ppxa.js} +17 -17
- package/dist/chunks/{formatter-d04wke9a.js → voice-kj9vwc9j.js} +41 -41
- package/dist/chunks/{formatter-6gtdewqb.js → voice-krbeg2se.js} +45 -45
- package/dist/chunks/{formatter-waamc7ac.js → voice-ktg7dnk2.js} +21 -21
- package/dist/chunks/{formatter-5p6qw3tz.js → voice-kw7ww2k8.js} +44 -44
- package/dist/chunks/{formatter-kwb1v3vj.js → voice-kwb1v3vj.js} +1 -1
- package/dist/chunks/{formatter-e3wg82qa.js → voice-m0k7y5tq.js} +14 -14
- package/dist/chunks/{formatter-7mdty465.js → voice-m0xs32yr.js} +30 -30
- package/dist/chunks/{formatter-pc7d6ej0.js → voice-m37876mr.js} +14 -14
- package/dist/chunks/{formatter-m2eens3g.js → voice-m552b91p.js} +19 -19
- package/dist/chunks/{formatter-m9w0rfyh.js → voice-m9w0rfyh.js} +1 -1
- package/dist/chunks/{formatter-maspj1v3.js → voice-maspj1v3.js} +1 -1
- package/dist/chunks/{formatter-sx6dfbyf.js → voice-n1900k66.js} +1 -1
- package/dist/chunks/{formatter-g9kdeh46.js → voice-n52gxnde.js} +87 -87
- package/dist/chunks/{formatter-kecqbpkt.js → voice-n5csmyza.js} +10 -10
- package/dist/chunks/{formatter-xgfaq3ry.js → voice-n5feeqsd.js} +4 -4
- package/dist/chunks/{formatter-3hfr6h8q.js → voice-p37cw4rj.js} +8 -8
- package/dist/chunks/{formatter-h9ef7te3.js → voice-p38fre57.js} +5 -5
- package/dist/chunks/{formatter-rzx22v1q.js → voice-pcf1k9th.js} +6 -6
- package/dist/chunks/{formatter-tbcqt8n1.js → voice-pjjz4vyy.js} +335 -335
- package/dist/chunks/{formatter-pjvnvgmy.js → voice-pjvnvgmy.js} +1 -1
- package/dist/chunks/{formatter-pknna89w.js → voice-pknna89w.js} +1 -1
- package/dist/chunks/{formatter-sr8jg6q5.js → voice-ps2j6rx6.js} +20 -20
- package/dist/chunks/{formatter-qg7te02p.js → voice-pvr736zf.js} +8 -8
- package/dist/chunks/{formatter-zcghh444.js → voice-pzta8gqa.js} +25 -25
- package/dist/chunks/{formatter-1xf6wzjn.js → voice-q2sz1tra.js} +13 -13
- package/dist/chunks/{formatter-kzaea99f.js → voice-q303yhz1.js} +14 -14
- package/dist/chunks/{formatter-9864qn22.js → voice-q8ra9vd5.js} +31 -31
- package/dist/chunks/{formatter-m53709c2.js → voice-q8xm0c2j.js} +11 -11
- package/dist/chunks/{formatter-qnc92qwc.js → voice-qnc92qwc.js} +1 -1
- package/dist/chunks/{formatter-qsdy395h.js → voice-qsdy395h.js} +1 -1
- package/dist/chunks/{formatter-9qxahjdj.js → voice-qwfhs2mm.js} +23 -23
- package/dist/chunks/{formatter-e80seqcp.js → voice-r2z489rp.js} +3 -3
- package/dist/chunks/{formatter-rdw6cm16.js → voice-rdw6cm16.js} +1 -1
- package/dist/chunks/{formatter-rert0e01.js → voice-rert0e01.js} +2 -2
- package/dist/chunks/voice-rhvdwwz1.js +26 -0
- package/dist/chunks/{formatter-rj3eygr5.js → voice-rj3eygr5.js} +2 -2
- package/dist/chunks/{formatter-81dsrpbq.js → voice-rjmsaa2q.js} +24 -24
- package/dist/chunks/{formatter-n23bjbw3.js → voice-rka5c9pw.js} +12 -12
- package/dist/chunks/{formatter-rkprpv83.js → voice-rkprpv83.js} +2 -2
- package/dist/chunks/{formatter-vrfj7wzn.js → voice-rxwwr6rj.js} +17 -17
- package/dist/chunks/{formatter-4p2aqbrx.js → voice-rzk8bj82.js} +6 -6
- package/dist/chunks/{formatter-02nrjc1r.js → voice-s8d7rejh.js} +8 -8
- package/dist/chunks/{formatter-sa8ekw3f.js → voice-sa8ekw3f.js} +2 -2
- package/dist/chunks/{formatter-t39j3nb6.js → voice-skrw0pay.js} +182 -182
- package/dist/chunks/{formatter-syv4x271.js → voice-syv4x271.js} +1 -1
- package/dist/chunks/{formatter-fqxpggxp.js → voice-sz1e9eqn.js} +22 -22
- package/dist/chunks/{formatter-d55h3tfb.js → voice-t55rwbc2.js} +20 -20
- package/dist/chunks/{formatter-j2r6n3at.js → voice-t6p333e3.js} +26 -26
- package/dist/chunks/{formatter-gx7ed082.js → voice-t6twestg.js} +11 -11
- package/dist/chunks/{formatter-6hh8tjw2.js → voice-t6vsspdg.js} +7 -7
- package/dist/chunks/{formatter-tazgh4e4.js → voice-tazgh4e4.js} +1 -1
- package/dist/chunks/{formatter-tcezcvh9.js → voice-tcezcvh9.js} +1 -1
- package/dist/chunks/{formatter-tdstcens.js → voice-tdstcens.js} +1 -1
- package/dist/chunks/{formatter-tm0kqsz3.js → voice-tm0kqsz3.js} +1 -1
- package/dist/chunks/{formatter-fn9t717r.js → voice-tt8gc4fv.js} +6 -6
- package/dist/chunks/{formatter-49znd53m.js → voice-tx938nqc.js} +14 -14
- package/dist/chunks/{formatter-tyytaxap.js → voice-tyytaxap.js} +1 -1
- package/dist/chunks/{formatter-xr2s98ph.js → voice-v5130x7e.js} +27 -27
- package/dist/chunks/{formatter-v7p4zvkq.js → voice-v7p4zvkq.js} +2 -2
- package/dist/chunks/{formatter-veqvce7d.js → voice-veqvce7d.js} +1 -1
- package/dist/chunks/{formatter-pt1ss6jy.js → voice-vpm8vpz0.js} +3 -3
- package/dist/chunks/{formatter-6shsmc4s.js → voice-vvne4gav.js} +20 -20
- package/dist/chunks/{formatter-14nzty46.js → voice-vy68hshx.js} +10 -10
- package/dist/chunks/{formatter-f78dsz6n.js → voice-vzbxwz1d.js} +11 -11
- package/dist/chunks/{formatter-vzs5sf6e.js → voice-vzs5sf6e.js} +1 -1
- package/dist/chunks/{formatter-jrbcd3qy.js → voice-w1zgsyjh.js} +26 -26
- package/dist/chunks/{formatter-w3wsvvr9.js → voice-w3wsvvr9.js} +1 -1
- package/dist/chunks/{formatter-326x6pdt.js → voice-w645cvh3.js} +1 -1
- package/dist/chunks/{formatter-2mw400dq.js → voice-wch0f9f3.js} +17 -17
- package/dist/chunks/{formatter-whnjbvkc.js → voice-wcmg8ka2.js} +9 -9
- package/dist/chunks/{formatter-wd87259q.js → voice-wd87259q.js} +1 -1
- package/dist/chunks/{formatter-sbvsyxhr.js → voice-wdqr7xqq.js} +16 -16
- package/dist/chunks/{formatter-n3qps2jj.js → voice-wez1ajrw.js} +7 -7
- package/dist/chunks/{formatter-nt6vwrgy.js → voice-wfqe50e8.js} +4 -4
- package/dist/chunks/{formatter-wh6zw745.js → voice-wh6zw745.js} +2 -2
- package/dist/chunks/{formatter-jdma4b20.js → voice-wmg4dxvw.js} +17 -17
- package/dist/chunks/{formatter-vzn69n1x.js → voice-wp1wkg59.js} +17 -17
- package/dist/chunks/{formatter-wxv2y18y.js → voice-wt0mmhah.js} +6 -6
- package/dist/chunks/{formatter-fka0j1an.js → voice-x0m4hwhr.js} +15 -15
- package/dist/chunks/{formatter-9nerqjs9.js → voice-x4p01p4y.js} +19 -19
- package/dist/chunks/{formatter-0kve3vzz.js → voice-x63dfm1w.js} +13 -13
- package/dist/chunks/{formatter-n5s0rf7q.js → voice-x77x046w.js} +9 -9
- package/dist/chunks/{formatter-vebvfg1b.js → voice-xgyd6awb.js} +33 -33
- package/dist/chunks/{formatter-xx0g94j1.js → voice-xn17cbv3.js} +10 -10
- package/dist/chunks/{formatter-2mmtmdq9.js → voice-xr64f026.js} +3 -3
- package/dist/chunks/{formatter-apba62c4.js → voice-xw8v86tr.js} +30 -30
- package/dist/chunks/{formatter-q5e7cmwt.js → voice-xybefm6f.js} +1 -1
- package/dist/chunks/{formatter-y1fvbwt7.js → voice-y1fvbwt7.js} +1 -1
- package/dist/chunks/{formatter-sd6q20cc.js → voice-y32fbaee.js} +7 -7
- package/dist/chunks/{formatter-h4smr58a.js → voice-y3vys761.js} +54 -54
- package/dist/chunks/{formatter-gqtdsdt7.js → voice-y6bex35g.js} +4 -4
- package/dist/chunks/{formatter-n2srvep7.js → voice-y6mhz57t.js} +4 -4
- package/dist/chunks/{formatter-dpkg50ah.js → voice-y71avatq.js} +4 -4
- package/dist/chunks/{formatter-9x7kjnc6.js → voice-y8m1m766.js} +4 -4
- package/dist/chunks/{formatter-g4jej14z.js → voice-y8ng1a9s.js} +14 -14
- package/dist/chunks/{formatter-2afzv2w7.js → voice-ydyb6qzy.js} +13 -13
- package/dist/chunks/{formatter-s6mjk57t.js → voice-yfqqfr07.js} +23 -23
- package/dist/chunks/{formatter-bcndysnn.js → voice-ym1asdg7.js} +32 -32
- package/dist/chunks/{formatter-r8xr0va3.js → voice-yp2x3t23.js} +4 -4
- package/dist/chunks/{formatter-j3rvqy98.js → voice-yzh5znq2.js} +22 -22
- package/dist/chunks/{formatter-z0bkrqjs.js → voice-z0bkrqjs.js} +1 -1
- package/dist/chunks/{formatter-z18fegx4.js → voice-z18fegx4.js} +1 -1
- package/dist/chunks/{formatter-k15rxyma.js → voice-z5pvh795.js} +8 -8
- package/dist/chunks/{formatter-sabmmyg1.js → voice-z5wvy2zw.js} +91 -91
- package/dist/chunks/{formatter-p9j36qey.js → voice-zaxy7ecx.js} +21 -21
- package/dist/chunks/{formatter-30a99vc0.js → voice-zc7as1na.js} +24 -24
- package/dist/chunks/{formatter-8gxqpgph.js → voice-zcrspsvn.js} +4 -4
- package/dist/chunks/{formatter-kgnmzmc2.js → voice-zd055dky.js} +65 -65
- package/dist/chunks/{formatter-bmvxsevk.js → voice-zf1d6pfw.js} +12 -12
- package/dist/chunks/{formatter-pvzd63td.js → voice-zhc0v3qp.js} +38 -38
- package/dist/chunks/voice-zqbqn1p8.js +257 -0
- package/dist/chunks/{formatter-zr2ceqn5.js → voice-zr2ceqn5.js} +1 -1
- package/dist/chunks/{formatter-6133dmrp.js → voice-zxc5z6hb.js} +33 -33
- package/dist/chunks/{formatter-zxq2ej10.js → voice-zxq2ej10.js} +1 -1
- package/dist/chunks/{formatter-6t4hr8r6.js → voice-zy43x3f1.js} +4 -4
- package/dist/chunks/{formatter-38qay2m7.js → voice-zybbj8zn.js} +30 -30
- package/dist/chunks/{formatter-ce2nyva1.js → voice-zygw1fg1.js} +16 -16
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- 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 +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +208 -208
- 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 +125 -125
- 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 +119 -119
- 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 +87 -87
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.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 +78 -78
- 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 +3 -3
- 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 +72 -72
- 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 +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +106 -106
- package/dist/git.js +10 -10
- 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 +93 -93
- 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 +5 -5
- 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 +133 -133
- 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 +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +107 -107
- 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 +93 -93
- 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 +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +3 -3
- 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 +123 -123
- 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 +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- 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 +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +134 -134
- 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 +215 -215
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- 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 +3 -3
- 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 +5 -5
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- 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 +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- 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 +15 -15
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- 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 +116 -116
- 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 +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +211 -211
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- 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 +14 -14
- 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 +2 -2
- package/dist/v1/config/migrate.js +94 -94
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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 +100 -100
- package/package.json +8 -8
- package/dist/chunks/formatter-fsthefce.js +0 -26
- package/dist/chunks/formatter-pf31ssb9.js +0 -18
- package/dist/chunks/formatter-yvpf485x.js +0 -257
- /package/dist/chunks/{formatter-0qkdqm5v.js → voice-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{formatter-0zkw76rk.js → voice-0zkw76rk.js} +0 -0
- /package/dist/chunks/{formatter-17cy0kzp.js → voice-17cy0kzp.js} +0 -0
- /package/dist/chunks/{formatter-1cnp2v09.js → voice-1cnp2v09.js} +0 -0
- /package/dist/chunks/{formatter-1kg9ymc8.js → voice-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{formatter-24dcb14g.js → voice-24dcb14g.js} +0 -0
- /package/dist/chunks/{formatter-2710q6r3.js → voice-2710q6r3.js} +0 -0
- /package/dist/chunks/{formatter-2axfhc9x.js → voice-2axfhc9x.js} +0 -0
- /package/dist/chunks/{formatter-2bv980vf.js → voice-2bv980vf.js} +0 -0
- /package/dist/chunks/{formatter-2c3vjs8z.js → voice-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{formatter-359p4xyc.js → voice-359p4xyc.js} +0 -0
- /package/dist/chunks/{formatter-3asan66x.js → voice-3asan66x.js} +0 -0
- /package/dist/chunks/{formatter-3t0ybcrp.js → voice-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{formatter-3v8g72cx.js → voice-3v8g72cx.js} +0 -0
- /package/dist/chunks/{formatter-3wcehsnq.js → voice-3wcehsnq.js} +0 -0
- /package/dist/chunks/{formatter-43n2bw4t.js → voice-43n2bw4t.js} +0 -0
- /package/dist/chunks/{formatter-4knz6hnm.js → voice-4knz6hnm.js} +0 -0
- /package/dist/chunks/{formatter-4vcrnpx2.js → voice-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{formatter-4y7fprxs.js → voice-4y7fprxs.js} +0 -0
- /package/dist/chunks/{formatter-53557ph1.js → voice-53557ph1.js} +0 -0
- /package/dist/chunks/{formatter-550bvhaj.js → voice-550bvhaj.js} +0 -0
- /package/dist/chunks/{formatter-5qd3pb7m.js → voice-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{formatter-6prwharc.js → voice-6prwharc.js} +0 -0
- /package/dist/chunks/{formatter-6q2bdcd1.js → voice-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{formatter-7akdwqpd.js → voice-7akdwqpd.js} +0 -0
- /package/dist/chunks/{formatter-7m9af43g.js → voice-7m9af43g.js} +0 -0
- /package/dist/chunks/{formatter-822emrt2.js → voice-822emrt2.js} +0 -0
- /package/dist/chunks/{formatter-84wd9syh.js → voice-84wd9syh.js} +0 -0
- /package/dist/chunks/{formatter-88xbtdfr.js → voice-88xbtdfr.js} +0 -0
- /package/dist/chunks/{formatter-8n3pysct.js → voice-8n3pysct.js} +0 -0
- /package/dist/chunks/{formatter-8wj87zfr.js → voice-8wj87zfr.js} +0 -0
- /package/dist/chunks/{formatter-9a4afbnw.js → voice-9a4afbnw.js} +0 -0
- /package/dist/chunks/{formatter-9rqn6x4v.js → voice-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{formatter-a6k6eb26.js → voice-a6k6eb26.js} +0 -0
- /package/dist/chunks/{formatter-af5trqkr.js → voice-af5trqkr.js} +0 -0
- /package/dist/chunks/{formatter-afrmfg78.js → voice-afrmfg78.js} +0 -0
- /package/dist/chunks/{formatter-aqzs7mqg.js → voice-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{formatter-atq7p7m5.js → voice-atq7p7m5.js} +0 -0
- /package/dist/chunks/{formatter-bkyjaxrp.js → voice-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{formatter-bmr6ed5q.js → voice-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{formatter-cf4snx6d.js → voice-cf4snx6d.js} +0 -0
- /package/dist/chunks/{formatter-cvy3z8tj.js → voice-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{formatter-d9fn303g.js → voice-d9fn303g.js} +0 -0
- /package/dist/chunks/{formatter-d9jj8t3e.js → voice-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{formatter-dajrwvna.js → voice-dajrwvna.js} +0 -0
- /package/dist/chunks/{formatter-dap0rakb.js → voice-dap0rakb.js} +0 -0
- /package/dist/chunks/{formatter-df08tz66.js → voice-df08tz66.js} +0 -0
- /package/dist/chunks/{formatter-dy18nga0.js → voice-dy18nga0.js} +0 -0
- /package/dist/chunks/{formatter-e5kj55wp.js → voice-e5kj55wp.js} +0 -0
- /package/dist/chunks/{formatter-e73j6tqm.js → voice-e73j6tqm.js} +0 -0
- /package/dist/chunks/{formatter-ec1grn59.js → voice-ec1grn59.js} +0 -0
- /package/dist/chunks/{formatter-eh3zwz77.js → voice-eh3zwz77.js} +0 -0
- /package/dist/chunks/{formatter-emrn6kk6.js → voice-emrn6kk6.js} +0 -0
- /package/dist/chunks/{formatter-f0mxakyp.js → voice-f0mxakyp.js} +0 -0
- /package/dist/chunks/{formatter-f6n9ztr4.js → voice-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{formatter-faypxj3z.js → voice-faypxj3z.js} +0 -0
- /package/dist/chunks/{formatter-fd410y7t.js → voice-fd410y7t.js} +0 -0
- /package/dist/chunks/{formatter-g4wezp1m.js → voice-g4wezp1m.js} +0 -0
- /package/dist/chunks/{formatter-g86h250q.js → voice-g86h250q.js} +0 -0
- /package/dist/chunks/{formatter-gebd4c9n.js → voice-gebd4c9n.js} +0 -0
- /package/dist/chunks/{formatter-gftt206x.js → voice-gftt206x.js} +0 -0
- /package/dist/chunks/{formatter-hcxmzztb.js → voice-hcxmzztb.js} +0 -0
- /package/dist/chunks/{formatter-hk9envan.js → voice-hk9envan.js} +0 -0
- /package/dist/chunks/{formatter-j2ntwpah.js → voice-j2ntwpah.js} +0 -0
- /package/dist/chunks/{formatter-j5zkgpj8.js → voice-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{formatter-jjkms2e6.js → voice-jjkms2e6.js} +0 -0
- /package/dist/chunks/{formatter-jr7sbwjy.js → voice-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{formatter-jwfs4k6c.js → voice-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{formatter-jze0r7bz.js → voice-jze0r7bz.js} +0 -0
- /package/dist/chunks/{formatter-jzg6c2d5.js → voice-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{formatter-m18g726c.js → voice-m18g726c.js} +0 -0
- /package/dist/chunks/{formatter-mp448xyj.js → voice-mp448xyj.js} +0 -0
- /package/dist/chunks/{formatter-msx8hqn2.js → voice-msx8hqn2.js} +0 -0
- /package/dist/chunks/{formatter-n05xt0ee.js → voice-n05xt0ee.js} +0 -0
- /package/dist/chunks/{formatter-n3j8tn72.js → voice-n3j8tn72.js} +0 -0
- /package/dist/chunks/{formatter-njntx4h6.js → voice-njntx4h6.js} +0 -0
- /package/dist/chunks/{formatter-pkyv6v7h.js → voice-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{formatter-pyv0edze.js → voice-pyv0edze.js} +0 -0
- /package/dist/chunks/{formatter-q3sfg36h.js → voice-q3sfg36h.js} +0 -0
- /package/dist/chunks/{formatter-q74kybfr.js → voice-q74kybfr.js} +0 -0
- /package/dist/chunks/{formatter-qaymkmh1.js → voice-qaymkmh1.js} +0 -0
- /package/dist/chunks/{formatter-qb87gjwd.js → voice-qb87gjwd.js} +0 -0
- /package/dist/chunks/{formatter-qfa1cgps.js → voice-qfa1cgps.js} +0 -0
- /package/dist/chunks/{formatter-qg3g05ea.js → voice-qg3g05ea.js} +0 -0
- /package/dist/chunks/{formatter-qrg20bc0.js → voice-qrg20bc0.js} +0 -0
- /package/dist/chunks/{formatter-rcb2kzg1.js → voice-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{formatter-sdp7kfr6.js → voice-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{formatter-ssg3fenm.js → voice-ssg3fenm.js} +0 -0
- /package/dist/chunks/{formatter-ve7vex1e.js → voice-ve7vex1e.js} +0 -0
- /package/dist/chunks/{formatter-w803qqfp.js → voice-w803qqfp.js} +0 -0
- /package/dist/chunks/{formatter-wc3fc9cn.js → voice-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{formatter-wer8tq1h.js → voice-wer8tq1h.js} +0 -0
- /package/dist/chunks/{formatter-wjj7prxr.js → voice-wjj7prxr.js} +0 -0
- /package/dist/chunks/{formatter-wtztk69x.js → voice-wtztk69x.js} +0 -0
- /package/dist/chunks/{formatter-x0ckcb58.js → voice-x0ckcb58.js} +0 -0
- /package/dist/chunks/{formatter-x61499pn.js → voice-x61499pn.js} +0 -0
- /package/dist/chunks/{formatter-y44na4kk.js → voice-y44na4kk.js} +0 -0
- /package/dist/chunks/{formatter-y8f7s663.js → voice-y8f7s663.js} +0 -0
- /package/dist/chunks/{formatter-ygaqb7jw.js → voice-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{formatter-ym463w8f.js → voice-ym463w8f.js} +0 -0
- /package/dist/chunks/{formatter-z5v4ffb3.js → voice-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{formatter-z9919s4g.js → voice-z9919s4g.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./voice-cy3cg06b.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service51
|
|
6
|
+
} from "./voice-gchk0vkb.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service15
|
|
9
|
+
} from "./voice-fe7mjage.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
make9
|
|
12
|
+
} from "./voice-r2z489rp.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./voice-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./voice-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/formatter.ts
|
|
21
21
|
var exports_formatter = {};
|
|
22
22
|
__export(exports_formatter, {
|
|
23
23
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin35
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -29,14 +29,14 @@ import { Global } from "@opencode/util/global";
|
|
|
29
29
|
import { Npm } from "@opencode/util/npm";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
31
|
import { Effect } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin35 = define({
|
|
33
33
|
id: "opencode.config.formatter",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const config = yield*
|
|
36
|
-
const formatter = yield*
|
|
35
|
+
const config = yield* Service51;
|
|
36
|
+
const formatter = yield* Service15;
|
|
37
37
|
const fs = yield* FSUtil.Service;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
|
-
const location = yield*
|
|
39
|
+
const location = yield* Service81;
|
|
40
40
|
const npm = yield* Npm.Service;
|
|
41
41
|
const processes = yield* AppProcess.Service;
|
|
42
42
|
const loaded = yield* observe2(config, ctx.event, formatter.reload());
|
|
@@ -44,7 +44,7 @@ var Plugin17 = define({
|
|
|
44
44
|
const configured = resolve(loaded.entries);
|
|
45
45
|
if (!configured)
|
|
46
46
|
return;
|
|
47
|
-
const builtIns =
|
|
47
|
+
const builtIns = make9({
|
|
48
48
|
directory: location.directory,
|
|
49
49
|
worktree: location.project.directory,
|
|
50
50
|
fs,
|
|
@@ -85,4 +85,4 @@ function resolve(entries) {
|
|
|
85
85
|
}, undefined);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Plugin35, exports_formatter };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./voice-4bnzbgn8.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node55
|
|
7
|
+
} from "./voice-gsbrh5b6.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service10,
|
|
10
|
+
node12
|
|
11
|
+
} from "./voice-gj46k6vd.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service22
|
|
14
|
+
} from "./voice-n5csmyza.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service27
|
|
17
|
+
} from "./voice-1x11rq2a.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
node27,
|
|
20
|
+
ID3
|
|
21
|
+
} from "./voice-vvne4gav.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service4,
|
|
24
|
+
node5
|
|
25
|
+
} from "./voice-p37cw4rj.js";
|
|
26
26
|
import {
|
|
27
27
|
requirements2,
|
|
28
28
|
guarded2,
|
|
29
29
|
list2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./voice-pjjz4vyy.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
32
|
+
make3,
|
|
33
33
|
LoadError2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./voice-y8ng1a9s.js";
|
|
35
35
|
import {
|
|
36
36
|
Updated2,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
37
|
+
Service2,
|
|
38
|
+
node3
|
|
39
|
+
} from "./voice-be82r499.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service3,
|
|
42
|
+
node4
|
|
43
|
+
} from "./voice-0jq9fyba.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./voice-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/plugin/supervisor.ts
|
|
49
49
|
var exports_supervisor = {};
|
|
50
50
|
__export(exports_supervisor, {
|
|
51
51
|
PluginSupervisor: () => exports_supervisor,
|
|
52
52
|
layer: () => layer3,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node2
|
|
54
54
|
});
|
|
55
55
|
import { Event } from "@opencode/schema/config";
|
|
56
56
|
import { Cause, Effect, Layer, Queue, Stream } from "effect";
|
|
@@ -127,7 +127,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
127
127
|
failures: [
|
|
128
128
|
...failures.values(),
|
|
129
129
|
...ordered.filter(duplicate).map((plugin) => ({
|
|
130
|
-
id:
|
|
130
|
+
id: ID3.make(plugin.id),
|
|
131
131
|
source: plugin.source ?? { type: "builtin" },
|
|
132
132
|
state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
|
|
133
133
|
features: { server: true, ...plugin.features }
|
|
@@ -137,14 +137,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
137
137
|
};
|
|
138
138
|
});
|
|
139
139
|
var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
140
|
-
const managed = yield*
|
|
141
|
-
const registry = yield*
|
|
142
|
-
const sdk = yield*
|
|
143
|
-
const instance = yield*
|
|
144
|
-
const sources = yield*
|
|
145
|
-
const modules = yield*
|
|
140
|
+
const managed = yield* Service22;
|
|
141
|
+
const registry = yield* Service27;
|
|
142
|
+
const sdk = yield* Service2;
|
|
143
|
+
const instance = yield* Service4;
|
|
144
|
+
const sources = yield* Service10;
|
|
145
|
+
const modules = yield* make3();
|
|
146
146
|
const bus = yield* Service85;
|
|
147
|
-
const updates = yield*
|
|
147
|
+
const updates = yield* Service3;
|
|
148
148
|
const internal = yield* list2();
|
|
149
149
|
let release = yield* registry.hold();
|
|
150
150
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -220,14 +220,14 @@ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
220
220
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
221
221
|
}));
|
|
222
222
|
var nodeDeps = [
|
|
223
|
-
|
|
223
|
+
node27,
|
|
224
|
+
node3,
|
|
224
225
|
node5,
|
|
225
|
-
|
|
226
|
+
node12,
|
|
226
227
|
node4,
|
|
227
|
-
node6,
|
|
228
228
|
node89,
|
|
229
229
|
Npm.node,
|
|
230
|
-
|
|
230
|
+
node55,
|
|
231
231
|
requirements2
|
|
232
232
|
];
|
|
233
233
|
function pluginSource(target) {
|
|
@@ -235,6 +235,6 @@ function pluginSource(target) {
|
|
|
235
235
|
return { type: "local", path: target };
|
|
236
236
|
return { type: "package", target };
|
|
237
237
|
}
|
|
238
|
-
var
|
|
238
|
+
var node2 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
|
|
239
239
|
|
|
240
|
-
export { layer3,
|
|
240
|
+
export { layer3, node2, exports_supervisor };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./voice-4bnzbgn8.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service81,
|
|
7
|
+
node85
|
|
8
|
+
} from "./voice-cy3cg06b.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service54,
|
|
11
|
+
node57
|
|
12
|
+
} from "./voice-rjmsaa2q.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./voice-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service71,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node75
|
|
20
|
+
} from "./voice-sz1e9eqn.js";
|
|
21
21
|
import {
|
|
22
22
|
Service75,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
node79
|
|
24
|
+
} from "./voice-166kng33.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service50,
|
|
27
|
+
node53
|
|
28
|
+
} from "./voice-99xay3p1.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./voice-vpm8vpz0.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service51,
|
|
35
|
+
node54
|
|
36
|
+
} from "./voice-gchk0vkb.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./voice-vzbxwz1d.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./voice-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError5,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service49,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node52
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
|
63
63
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
65
|
import { Global } from "@opencode/util/global";
|
|
66
|
-
class
|
|
66
|
+
class NotFoundError5 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
67
67
|
id: Shell.ID
|
|
68
68
|
}) {
|
|
69
69
|
}
|
|
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
|
|
|
71
71
|
var RETENTION2 = Duration.days(7);
|
|
72
72
|
var DIRECTORY2 = "shell";
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service49 extends Context.Service()("@opencode/Shell") {
|
|
75
75
|
}
|
|
76
76
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
77
77
|
const fs = yield* FSUtil.Service;
|
|
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
87
87
|
layer: cleanupLayer,
|
|
88
88
|
deps: [FSUtil.node, Global.node]
|
|
89
89
|
});
|
|
90
|
-
var layer = () => Layer.effect(
|
|
90
|
+
var layer = () => Layer.effect(Service49, Effect.gen(function* () {
|
|
91
91
|
const bus = yield* Service85;
|
|
92
|
-
const location = yield*
|
|
92
|
+
const location = yield* Service81;
|
|
93
93
|
const global = yield* Global.Service;
|
|
94
|
-
const shell = yield*
|
|
95
|
-
const environment = yield*
|
|
94
|
+
const shell = yield* Service71;
|
|
95
|
+
const environment = yield* Service54;
|
|
96
96
|
const hooks = yield* Service75;
|
|
97
|
-
const environments = yield*
|
|
98
|
-
const config = yield*
|
|
97
|
+
const environments = yield* Service50;
|
|
98
|
+
const config = yield* Service51;
|
|
99
99
|
const context = yield* Effect.context();
|
|
100
100
|
const runFork = Effect.runForkWith(context);
|
|
101
101
|
const commands = new Map;
|
|
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
116
116
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
117
117
|
const command = commands.get(id);
|
|
118
118
|
if (!command)
|
|
119
|
-
return yield* new
|
|
119
|
+
return yield* new NotFoundError5({ id });
|
|
120
120
|
return command;
|
|
121
121
|
});
|
|
122
122
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
129
129
|
commands.delete(id);
|
|
130
130
|
if (command.timeoutFiber)
|
|
131
131
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
132
|
-
yield* Deferred.fail(command.done, new
|
|
132
|
+
yield* Deferred.fail(command.done, new NotFoundError5({ id }));
|
|
133
133
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
134
134
|
if (command.info.status === "running")
|
|
135
135
|
yield* bus.publish(Shell.Event.Exited, { id, status: "killed" });
|
|
@@ -336,22 +336,22 @@ var layer = () => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
336
336
|
const command = yield* Deferred.await(ready);
|
|
337
337
|
return command.info;
|
|
338
338
|
});
|
|
339
|
-
return
|
|
339
|
+
return Service49.of({ create, list, get, wait, result, timeout, output, remove });
|
|
340
340
|
}));
|
|
341
|
-
var
|
|
342
|
-
service:
|
|
341
|
+
var node52 = makeLocationNode({
|
|
342
|
+
service: Service49,
|
|
343
343
|
layer: layer(),
|
|
344
344
|
deps: [
|
|
345
345
|
node89,
|
|
346
|
-
|
|
346
|
+
node85,
|
|
347
347
|
Global.node,
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
348
|
+
node75,
|
|
349
|
+
node57,
|
|
350
|
+
node79,
|
|
351
|
+
node53,
|
|
352
|
+
node54,
|
|
353
353
|
cleanupNode
|
|
354
354
|
]
|
|
355
355
|
});
|
|
356
356
|
|
|
357
|
-
export {
|
|
357
|
+
export { NotFoundError5, RETENTION2, DIRECTORY2, Service49, cleanup2, node52, exports_shell4 };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service72
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./voice-jnsvnygx.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./voice-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./voice-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./voice-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input5,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin6,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description4,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name5
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name5 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input5 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input13 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input5.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin6 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
99
|
const permission = yield* Service72;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name5,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description4,
|
|
104
|
+
input: Input5,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin50 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name5,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name5, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input5, Plugin6, extractTextFromHTML2, exports_webfetch };
|