@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
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./voice-4bnzbgn8.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./voice-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./voice-y6bex35g.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
13
|
+
ID14,
|
|
14
|
+
Service79,
|
|
15
|
+
node83,
|
|
16
|
+
Event18
|
|
17
|
+
} from "./voice-fcy1mh1a.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service81,
|
|
20
|
+
node85
|
|
21
|
+
} from "./voice-cy3cg06b.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./voice-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -39,13 +39,13 @@ __export(exports_provider3, {
|
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
40
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
41
41
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
42
|
-
Event: () =>
|
|
43
|
-
ID: () =>
|
|
44
|
-
Info: () =>
|
|
42
|
+
Event: () => Event17,
|
|
43
|
+
ID: () => ID13,
|
|
44
|
+
Info: () => Info23,
|
|
45
45
|
LoadError: () => LoadError3,
|
|
46
46
|
Provider: () => exports_provider3,
|
|
47
|
-
Request: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Request: () => Request3,
|
|
48
|
+
Service: () => Service78,
|
|
49
49
|
Settings: () => Settings2,
|
|
50
50
|
Transport: () => Transport2,
|
|
51
51
|
aisdk: () => aisdk2,
|
|
@@ -57,7 +57,7 @@ __export(exports_provider3, {
|
|
|
57
57
|
mergeOverlay: () => mergeOverlay2,
|
|
58
58
|
modelSettings: () => modelSettings2,
|
|
59
59
|
nativeSettings: () => nativeSettings2,
|
|
60
|
-
node: () =>
|
|
60
|
+
node: () => node82,
|
|
61
61
|
packageName: () => packageName2,
|
|
62
62
|
timeout: () => timeout2,
|
|
63
63
|
timeouts: () => timeouts2
|
|
@@ -71,8 +71,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
71
71
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
72
72
|
import { Credential } from "@opencode/schema/credential";
|
|
73
73
|
import { freeze } from "immer";
|
|
74
|
-
import { Event as
|
|
75
|
-
var
|
|
74
|
+
import { Event as Event17 } from "@opencode/schema/provider";
|
|
75
|
+
var ID13 = Provider.ID;
|
|
76
76
|
var AISDK_PREFIX2 = "aisdk:";
|
|
77
77
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
78
78
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -279,13 +279,13 @@ function mergeHeaders2(base, overlay) {
|
|
|
279
279
|
return result;
|
|
280
280
|
}, new Map).values());
|
|
281
281
|
}
|
|
282
|
-
var
|
|
282
|
+
var Request3 = Provider.Request;
|
|
283
283
|
var Compaction3 = Provider.Compaction;
|
|
284
284
|
var Transport2 = Provider.Transport;
|
|
285
285
|
var Settings2 = Provider.Settings;
|
|
286
|
-
var
|
|
286
|
+
var Info23 = Provider.Info;
|
|
287
287
|
|
|
288
|
-
class
|
|
288
|
+
class Service78 extends Context.Service()("@opencode/Provider") {
|
|
289
289
|
}
|
|
290
290
|
var definitions = new WeakMap;
|
|
291
291
|
function index(providerID, models) {
|
|
@@ -298,10 +298,10 @@ function index(providerID, models) {
|
|
|
298
298
|
definitions.set(models, indexes);
|
|
299
299
|
return result;
|
|
300
300
|
}
|
|
301
|
-
var layer = Layer.effect(
|
|
301
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
302
302
|
const bus = yield* Service85;
|
|
303
|
-
const integrations = yield*
|
|
304
|
-
const location = yield*
|
|
303
|
+
const integrations = yield* Service79;
|
|
304
|
+
const location = yield* Service81;
|
|
305
305
|
const state = create3({
|
|
306
306
|
name: "provider",
|
|
307
307
|
initial: () => new Map,
|
|
@@ -312,7 +312,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
312
312
|
const current = records.get(id);
|
|
313
313
|
if (current)
|
|
314
314
|
return current;
|
|
315
|
-
const added = { provider:
|
|
315
|
+
const added = { provider: Info23.empty(id), models: new Map };
|
|
316
316
|
records.set(id, added);
|
|
317
317
|
maps.add(added.models);
|
|
318
318
|
return added;
|
|
@@ -393,7 +393,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
393
393
|
const available = Array.from(records.values()).filter((record) => {
|
|
394
394
|
if (record.provider.activation === "disabled")
|
|
395
395
|
return false;
|
|
396
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
396
|
+
const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
|
|
397
397
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
398
398
|
return false;
|
|
399
399
|
if (record.provider.activation === "enabled")
|
|
@@ -419,8 +419,8 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
419
419
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
420
420
|
});
|
|
421
421
|
});
|
|
422
|
-
yield* bus.subscribe([
|
|
423
|
-
return
|
|
422
|
+
yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
423
|
+
return Service78.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -429,7 +429,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
429
429
|
snapshot
|
|
430
430
|
});
|
|
431
431
|
}));
|
|
432
|
-
var
|
|
432
|
+
var node82 = makeLocationNode({ service: Service78, layer, deps: [node89, node83, node85] });
|
|
433
433
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
434
434
|
const module = yield* Effect.tryPromise({
|
|
435
435
|
try: () => {
|
|
@@ -699,4 +699,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
699
699
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
700
700
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
701
701
|
|
|
702
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
702
|
+
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info23, Service78, node82, exports_provider3, Event17 };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./voice-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85,
|
|
6
6
|
node89
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./voice-4bnzbgn8.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service80,
|
|
11
|
+
node84
|
|
12
|
+
} from "./voice-m0xs32yr.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service81,
|
|
15
|
+
node85
|
|
16
|
+
} from "./voice-cy3cg06b.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service54,
|
|
19
|
+
node57
|
|
20
|
+
} from "./voice-rjmsaa2q.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID18,
|
|
23
|
+
Service84,
|
|
24
|
+
node88
|
|
25
|
+
} from "./voice-80kf5cft.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./voice-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID14,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service79,
|
|
34
|
+
node83
|
|
35
|
+
} from "./voice-fcy1mh1a.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./voice-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError4,
|
|
45
45
|
Options: () => Options4,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
@@ -49,12 +49,12 @@ __export(exports_mcp4, {
|
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service38,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
55
|
configured: () => configured4,
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
56
|
+
layer: () => layer18,
|
|
57
|
+
node: () => node41
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -103,7 +103,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
103
103
|
var endpointLoads = makeUnsafe2();
|
|
104
104
|
var cloneConfig = (config) => structuredClone(config);
|
|
105
105
|
|
|
106
|
-
class
|
|
106
|
+
class Service38 extends Context.Service()("@opencode/MCP") {
|
|
107
107
|
}
|
|
108
108
|
var Options4 = Schema.Struct({
|
|
109
109
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -111,13 +111,13 @@ var Options4 = Schema.Struct({
|
|
|
111
111
|
version: Schema.String
|
|
112
112
|
}))
|
|
113
113
|
});
|
|
114
|
-
var
|
|
115
|
-
const location = yield*
|
|
116
|
-
const environment = yield*
|
|
114
|
+
var layer18 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
115
|
+
const location = yield* Service81;
|
|
116
|
+
const environment = yield* Service54;
|
|
117
117
|
const bus = yield* Service85;
|
|
118
|
-
const forms = yield*
|
|
119
|
-
const integration = yield*
|
|
120
|
-
const credentials = yield*
|
|
118
|
+
const forms = yield* Service84;
|
|
119
|
+
const integration = yield* Service79;
|
|
120
|
+
const credentials = yield* Service80;
|
|
121
121
|
const root = yield* Effect.scope;
|
|
122
122
|
const fork = yield* FiberSet.makeRuntime();
|
|
123
123
|
const entries = new Map;
|
|
@@ -129,7 +129,7 @@ var layer16 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
129
129
|
return;
|
|
130
130
|
const remote = entry.config;
|
|
131
131
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
132
|
-
const integrationID =
|
|
132
|
+
const integrationID = ID14.make(suffix);
|
|
133
133
|
entry.integrationID = integrationID;
|
|
134
134
|
owned.add(integrationID);
|
|
135
135
|
const methodID = MethodID2.make(suffix);
|
|
@@ -145,7 +145,7 @@ var layer16 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
145
145
|
method: { id: methodID, type: "oauth", label: name },
|
|
146
146
|
authorize: () => Effect.gen(function* () {
|
|
147
147
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
148
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
148
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service80, credentials));
|
|
149
149
|
})
|
|
150
150
|
});
|
|
151
151
|
}).pipe(Scope.provide(scope));
|
|
@@ -154,19 +154,19 @@ var layer16 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
154
154
|
const name = ServerName2.make(server);
|
|
155
155
|
const entry = entries.get(name);
|
|
156
156
|
if (!entry)
|
|
157
|
-
return yield* new
|
|
157
|
+
return yield* new NotFoundError4({ server: name });
|
|
158
158
|
return { name, entry };
|
|
159
159
|
});
|
|
160
160
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
161
161
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
162
162
|
return;
|
|
163
163
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
164
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
164
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service80, credentials));
|
|
165
165
|
});
|
|
166
166
|
const elicitation = {
|
|
167
167
|
create: (input) => Effect.gen(function* () {
|
|
168
168
|
if (input.params.mode === "url") {
|
|
169
|
-
const formID =
|
|
169
|
+
const formID = ID18.create();
|
|
170
170
|
const elicitationID = input.params.elicitationId;
|
|
171
171
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
172
172
|
if (key)
|
|
@@ -269,7 +269,7 @@ var layer16 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
269
269
|
entry.scope = scope;
|
|
270
270
|
const authProvider = yield* connectProvider(entry);
|
|
271
271
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
272
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
272
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service54, environment), Scope.provide(scope));
|
|
273
273
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
274
274
|
if (Exit.isSuccess(result)) {
|
|
275
275
|
entry.client = result.value.connection;
|
|
@@ -394,7 +394,7 @@ var layer16 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
394
394
|
yield* startServer(name, entry);
|
|
395
395
|
}).pipe(locks.withLock(name));
|
|
396
396
|
});
|
|
397
|
-
fork(bus.subscribe(
|
|
397
|
+
fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
398
398
|
const state = create3({
|
|
399
399
|
name: "mcp",
|
|
400
400
|
initial: () => ({
|
|
@@ -420,7 +420,7 @@ var layer16 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
420
420
|
}),
|
|
421
421
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
422
422
|
});
|
|
423
|
-
return
|
|
423
|
+
return Service38.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -532,12 +532,12 @@ function mergeCatalogs(catalogs) {
|
|
|
532
532
|
}
|
|
533
533
|
function configured4(options) {
|
|
534
534
|
return makeLocationNode({
|
|
535
|
-
service:
|
|
536
|
-
layer:
|
|
537
|
-
deps: [
|
|
535
|
+
service: Service38,
|
|
536
|
+
layer: layer18(options),
|
|
537
|
+
deps: [node85, node57, node89, node88, node83, node84]
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
|
-
var
|
|
540
|
+
var node41 = configured4();
|
|
541
541
|
function toElicitationField(key, property, required) {
|
|
542
542
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
543
543
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
|
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
591
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service38, Options4, layer18, configured4, node41, exports_mcp4 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./voice-0d60ahdf.js";
|
|
5
5
|
import {
|
|
6
6
|
Service85,
|
|
7
7
|
node89
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./voice-4bnzbgn8.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service45,
|
|
11
|
+
node48
|
|
12
|
+
} from "./voice-wdqr7xqq.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service42,
|
|
15
|
+
node45
|
|
16
|
+
} from "./voice-81rrwt6s.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./voice-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make16
|
|
22
|
+
} from "./voice-yp2x3t23.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service41
|
|
26
|
+
} from "./voice-zcrspsvn.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service74,
|
|
29
|
+
node78
|
|
30
|
+
} from "./voice-tx938nqc.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./voice-j8v25mck.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./voice-9ca4c2n8.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./voice-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service40,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
layer: () => layer20,
|
|
47
|
+
node: () => node44,
|
|
48
48
|
noopLayer: () => noopLayer3,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service40 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
62
|
+
var layer20 = Layer.effect(Service40, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service74;
|
|
64
|
+
const instances = yield* Service42;
|
|
65
65
|
const bus = yield* Service85;
|
|
66
|
-
const jobs = yield*
|
|
66
|
+
const jobs = yield* Service45;
|
|
67
67
|
const db = (yield* Service86).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -76,14 +76,14 @@ var layer21 = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service41.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
83
83
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
84
84
|
});
|
|
85
85
|
});
|
|
86
|
-
const coordinator = yield*
|
|
86
|
+
const coordinator = yield* make16({
|
|
87
87
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
88
88
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
89
89
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -104,7 +104,7 @@ var layer21 = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service40.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer21 = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [
|
|
126
|
+
var node44 = makeGlobalNode({
|
|
127
|
+
service: Service40,
|
|
128
|
+
layer: layer20,
|
|
129
|
+
deps: [node78, node45, node89, node90, node48]
|
|
130
130
|
});
|
|
131
|
-
var noopLayer3 = Layer.succeed(
|
|
131
|
+
var noopLayer3 = Layer.succeed(Service40, Service40.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer3 = Layer.succeed(Service48, Service48.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service40, terminal2, layer20, node44, noopLayer3, exports_execution };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./voice-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info16,
|
|
6
|
+
ID7,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./voice-jc4mxe0h.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service51
|
|
11
|
+
} from "./voice-gchk0vkb.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./voice-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
17
|
var exports_skill2 = {};
|
|
18
18
|
__export(exports_skill2, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin29,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
23
|
SkillPlugin: () => exports_skill2
|
|
24
24
|
});
|
|
@@ -424,20 +424,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
424
424
|
var ReportContent2 = report_default;
|
|
425
425
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
426
426
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
427
|
-
var
|
|
427
|
+
var Plugin29 = define({
|
|
428
428
|
id: "opencode.skill",
|
|
429
429
|
effect: Effect.fn(function* (ctx) {
|
|
430
430
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
431
431
|
yield* ctx.skill.transform((editor) => {
|
|
432
|
-
editor.add(
|
|
433
|
-
id:
|
|
432
|
+
editor.add(Info16.make({
|
|
433
|
+
id: ID7.make("opencode"),
|
|
434
434
|
name: Name2.make("OpenCode"),
|
|
435
435
|
description: OpencodeDescription2,
|
|
436
436
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
437
437
|
content: OpencodeContent2
|
|
438
438
|
}));
|
|
439
|
-
editor.add(
|
|
440
|
-
id:
|
|
439
|
+
editor.add(Info16.make({
|
|
440
|
+
id: ID7.make("report"),
|
|
441
441
|
name: Name2.make("Report"),
|
|
442
442
|
description: REPORT_DESCRIPTION,
|
|
443
443
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service51;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin29, exports_skill2 };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./voice-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./voice-cy3cg06b.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service51
|
|
9
|
+
} from "./voice-gchk0vkb.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./voice-e61cj48z.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./voice-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./voice-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin43
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin43 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service51;
|
|
35
|
+
const location = yield* Service81;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin43, exports_reference };
|