@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,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./voice-80kf5cft.js";
|
|
4
4
|
import {
|
|
5
5
|
Service72
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./voice-jnsvnygx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID6,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service61
|
|
14
|
+
} from "./voice-15rr0twx.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./voice-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Input: () =>
|
|
20
|
+
var exports_websearch = {};
|
|
21
|
+
__export(exports_websearch, {
|
|
22
|
+
Input: () => Input13,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
24
|
+
Plugin: () => Plugin15,
|
|
25
|
+
WebSearchTool: () => exports_websearch,
|
|
26
|
+
description: () => description5,
|
|
27
|
+
name: () => name13
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/http";
|
|
32
|
-
var
|
|
32
|
+
var name13 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input13 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID6,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin15 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
52
|
const permission = yield* Service72;
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
53
|
+
const forms = yield* Service84;
|
|
54
|
+
const websearch = yield* Service61;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name13,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description5,
|
|
59
|
+
input: Input13,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name13,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name13];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name13, NO_RESULTS2, description5, Input13, Plugin15, exports_websearch };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./voice-4bnzbgn8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service39
|
|
6
|
+
} from "./voice-ym1asdg7.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error5
|
|
9
|
+
} from "./voice-291dyprt.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service53
|
|
12
|
+
} from "./voice-vzbxwz1d.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./voice-2w7xd5ef.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./voice-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./voice-j8v25mck.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./voice-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./voice-xr64f026.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./voice-tt8gc4fv.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./voice-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
@@ -54,8 +54,8 @@ var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not r
|
|
|
54
54
|
var make8 = Effect.gen(function* () {
|
|
55
55
|
const bus = yield* Service85;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service39;
|
|
58
|
+
const toolOutput = yield* Service53;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const pendingStartSnapshot = yield* snapshots.capture().pipe(Effect.forkScoped);
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -71,7 +71,7 @@ var make8 = Effect.gen(function* () {
|
|
|
71
71
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
72
72
|
const executeTool = (call) => {
|
|
73
73
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
74
|
-
return new
|
|
74
|
+
return new Error5({ message: "Tools are disabled after the maximum agent steps" });
|
|
75
75
|
return input.prepared.executeTool({
|
|
76
76
|
sessionID: input.sessionID,
|
|
77
77
|
agent: input.agent,
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./voice-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./voice-7gksfrk6.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service81,
|
|
9
|
+
node85
|
|
10
|
+
} from "./voice-cy3cg06b.js";
|
|
11
11
|
import {
|
|
12
12
|
Service72,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
node76
|
|
14
|
+
} from "./voice-jnsvnygx.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./voice-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
Service: () => Service17,
|
|
26
|
+
node: () => node19,
|
|
27
27
|
resolvePath: () => resolvePath2
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
37
37
|
kind: Kind2.pipe(Schema.optional)
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service17 extends Context.Service()("@opencode/FileAccess") {
|
|
41
41
|
}
|
|
42
42
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
43
43
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -49,9 +49,9 @@ var invocation = (context) => ({
|
|
|
49
49
|
agent: context.agent,
|
|
50
50
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
51
51
|
});
|
|
52
|
-
var layer = Layer.effect(
|
|
52
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
|
-
const location = yield*
|
|
54
|
+
const location = yield* Service81;
|
|
55
55
|
const permission = yield* Service72;
|
|
56
56
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
57
57
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
101
101
|
});
|
|
102
102
|
return target;
|
|
103
103
|
});
|
|
104
|
-
return
|
|
104
|
+
return Service17.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var
|
|
106
|
+
var node19 = makeLocationNode({ service: Service17, layer, deps: [FSUtil.node, node85, node76] });
|
|
107
107
|
|
|
108
|
-
export { Kind2, ResolveInput2,
|
|
108
|
+
export { Kind2, ResolveInput2, Service17, resolvePath2, node19, exports_file_access };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service51
|
|
4
|
+
} from "./voice-gchk0vkb.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service71
|
|
7
|
+
} from "./voice-sz1e9eqn.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./voice-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./voice-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ConfigShellPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_shell2 = {};
|
|
17
|
+
__export(exports_shell2, {
|
|
18
|
+
ConfigShellPlugin: () => exports_shell2,
|
|
19
|
+
Plugin: () => Plugin40
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin40 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service51;
|
|
27
|
+
const shell = yield* Service71;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin2 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin40, exports_shell2 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./voice-4bnzbgn8.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./voice-84txncab.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./voice-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service48,
|
|
17
|
+
node51
|
|
18
|
+
} from "./voice-ps2j6rx6.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./voice-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./voice-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event6,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info7,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service47,
|
|
35
35
|
Source: () => Source3,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node50
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event6 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
45
|
var Source3 = Reference.Source;
|
|
46
|
-
var
|
|
46
|
+
var Info7 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service47 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const bus = yield* Service85;
|
|
53
|
-
const cache = yield*
|
|
53
|
+
const cache = yield* Service48;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info7.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info7.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service47.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node50 = makeLocationNode({
|
|
116
|
+
service: Service47,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node, node89,
|
|
118
|
+
deps: [Global.node, node89, node51]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2, Source3,
|
|
121
|
+
export { LocalSource2, GitSource2, Source3, Info7, Service47, node50, exports_reference2, Event6 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service51
|
|
4
|
+
} from "./voice-gchk0vkb.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./voice-qsdy395h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./voice-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigWebSearchPlugin: () =>
|
|
16
|
-
Plugin: () =>
|
|
13
|
+
var exports_websearch2 = {};
|
|
14
|
+
__export(exports_websearch2, {
|
|
15
|
+
ConfigWebSearchPlugin: () => exports_websearch2,
|
|
16
|
+
Plugin: () => Plugin37
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin37 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service51;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin5 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin37, exports_websearch2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./voice-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./voice-bmr56wjg.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info8
|
|
9
|
+
} from "./voice-fan8xm03.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info9
|
|
12
|
+
} from "./voice-t6vsspdg.js";
|
|
13
13
|
import {
|
|
14
14
|
Info12
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./voice-wh6zw745.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./voice-0jwsre1p.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Info10
|
|
21
|
+
} from "./voice-gj71zhbs.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
migrateMcp2,
|
|
29
29
|
migrateProvider2,
|
|
30
30
|
providerID2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./voice-1k9hs225.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./voice-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/config/normalize.ts
|
|
37
37
|
var exports_normalize = {};
|
|
@@ -98,12 +98,12 @@ function normalize2(input) {
|
|
|
98
98
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
99
99
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
100
100
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
101
|
-
const legacyCommands = decodeMap(input.command,
|
|
101
|
+
const legacyCommands = decodeMap(input.command, Info9, ["command"], diagnostics, decodeValue);
|
|
102
102
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
103
103
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
104
104
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
105
105
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
106
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
106
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info8, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
107
107
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
108
108
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
109
109
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -117,7 +117,7 @@ function normalize2(input) {
|
|
|
117
117
|
model: migratedSmallModel,
|
|
118
118
|
...legacyAgents.title
|
|
119
119
|
};
|
|
120
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
120
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info8, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
121
121
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
122
122
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
123
123
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -430,7 +430,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
430
430
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
431
431
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
432
432
|
return [];
|
|
433
|
-
const provider = decodeValue(
|
|
433
|
+
const provider = decodeValue(Info10, raw, path, diagnostics);
|
|
434
434
|
if (provider === undefined)
|
|
435
435
|
return [];
|
|
436
436
|
const destination = providerID2(name);
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./voice-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./voice-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./voice-rxwwr6rj.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./voice-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/agent.ts
|
|
11
|
-
var
|
|
12
|
-
__export(
|
|
13
|
-
AgentPlugin: () =>
|
|
14
|
-
Plugin: () =>
|
|
11
|
+
var exports_agent = {};
|
|
12
|
+
__export(exports_agent, {
|
|
13
|
+
AgentPlugin: () => exports_agent,
|
|
14
|
+
Plugin: () => Plugin28
|
|
15
15
|
});
|
|
16
16
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
17
17
|
import { Effect } from "effect";
|
|
@@ -81,7 +81,7 @@ Rules:
|
|
|
81
81
|
- Never ask questions or add new questions
|
|
82
82
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
83
83
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
84
|
-
var
|
|
84
|
+
var Plugin28 = define({
|
|
85
85
|
id: "opencode.agent",
|
|
86
86
|
effect: Effect.fn(function* (ctx) {
|
|
87
87
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -91,32 +91,32 @@ var Plugin30 = define({
|
|
|
91
91
|
item.mode = "primary";
|
|
92
92
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
93
93
|
});
|
|
94
|
-
editor.update(
|
|
94
|
+
editor.update(ID11.make("general"), (item) => {
|
|
95
95
|
item.name = Name3.make("General");
|
|
96
96
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
97
97
|
item.mode = "subagent";
|
|
98
98
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
99
99
|
});
|
|
100
|
-
editor.update(
|
|
100
|
+
editor.update(ID11.make("explore"), (item) => {
|
|
101
101
|
item.name = Name3.make("Explore");
|
|
102
102
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
103
103
|
item.system = PROMPT_EXPLORE;
|
|
104
104
|
item.mode = "subagent";
|
|
105
105
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" }, { action: "shell", resource: "*", effect: "allow" }, { action: "grep", resource: "*", effect: "allow" }, { action: "glob", resource: "*", effect: "allow" }, { action: "webfetch", resource: "*", effect: "allow" }, { action: "websearch", resource: "*", effect: "allow" }, { action: "read", resource: "*", effect: "allow" }, { action: "read", resource: "*.env", effect: "ask" }, { action: "read", resource: "*.env.*", effect: "ask" }, { action: "read", resource: "*.env.example", effect: "allow" }, { action: "subagent", resource: "*", effect: "deny" }, { action: "external_directory", resource: "*", effect: "allow" });
|
|
106
106
|
});
|
|
107
|
-
editor.update(
|
|
107
|
+
editor.update(ID11.make("compaction"), (item) => {
|
|
108
108
|
item.name = Name3.make("Compaction");
|
|
109
109
|
item.mode = "primary";
|
|
110
110
|
item.hidden = true;
|
|
111
111
|
});
|
|
112
|
-
editor.update(
|
|
112
|
+
editor.update(ID11.make("title"), (item) => {
|
|
113
113
|
item.name = Name3.make("Title");
|
|
114
114
|
item.mode = "primary";
|
|
115
115
|
item.hidden = true;
|
|
116
116
|
item.system = PROMPT_TITLE;
|
|
117
117
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
118
118
|
});
|
|
119
|
-
editor.update(
|
|
119
|
+
editor.update(ID11.make("summary"), (item) => {
|
|
120
120
|
item.name = Name3.make("Summary");
|
|
121
121
|
item.mode = "primary";
|
|
122
122
|
item.hidden = true;
|
|
@@ -127,4 +127,4 @@ var Plugin30 = define({
|
|
|
127
127
|
})
|
|
128
128
|
});
|
|
129
129
|
|
|
130
|
-
export {
|
|
130
|
+
export { Plugin28, exports_agent };
|