@opencode/core 0.0.0-dev-21269 → 0.0.0-dev-21286
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{voice-ydyb6qzy.js → skill-05vzypjk.js} +13 -13
- package/dist/chunks/{voice-hnqavcr7.js → skill-06waph1v.js} +50 -50
- package/dist/chunks/{voice-7gksfrk6.js → skill-09nv85a9.js} +30 -30
- package/dist/chunks/{voice-e7faghhc.js → skill-0adv686s.js} +8 -8
- package/dist/chunks/{voice-xybefm6f.js → skill-0ebt9ktc.js} +17 -13
- package/dist/chunks/{voice-3px9zfj5.js → skill-0s4awtrm.js} +29 -29
- package/dist/chunks/{voice-0vbcp93d.js → skill-0vbcp93d.js} +2 -2
- package/dist/chunks/{voice-xn17cbv3.js → skill-13a51vk5.js} +8 -8
- package/dist/chunks/{voice-6dh1jvz0.js → skill-15v1mmar.js} +13 -13
- package/dist/chunks/{voice-q303yhz1.js → skill-1cp9bz2d.js} +12 -12
- package/dist/chunks/{voice-bzeyqsqd.js → skill-1ep4rre3.js} +4 -4
- package/dist/chunks/{voice-1ffvrpkg.js → skill-1ffvrpkg.js} +2 -2
- package/dist/chunks/{voice-ft66ww99.js → skill-1gmddy7b.js} +4 -4
- package/dist/chunks/{voice-15rr0twx.js → skill-1scs9kvk.js} +23 -23
- package/dist/chunks/{voice-788azn8w.js → skill-1x40g0cb.js} +77 -154
- package/dist/chunks/{voice-3xsm4mrf.js → skill-1x9n3mmz.js} +36 -36
- package/dist/chunks/{voice-y8ng1a9s.js → skill-1ywjs8d5.js} +11 -11
- package/dist/chunks/{voice-d1r5081s.js → skill-207ajt2h.js} +5 -5
- package/dist/chunks/{voice-m552b91p.js → skill-22fjnv6b.js} +13 -13
- package/dist/chunks/{voice-ddsesdvm.js → skill-22zjq5d7.js} +22 -22
- package/dist/chunks/{voice-zf1d6pfw.js → skill-23fhnjw2.js} +9 -9
- package/dist/chunks/{voice-fcy1mh1a.js → skill-24qb9ktg.js} +31 -31
- package/dist/chunks/{voice-52nydkw8.js → skill-284nz0qx.js} +5 -5
- package/dist/chunks/{voice-0jwsre1p.js → skill-2k8khapm.js} +5 -5
- package/dist/chunks/{voice-kj9vwc9j.js → skill-2pqzp2n5.js} +28 -28
- package/dist/chunks/{voice-z5pvh795.js → skill-2pv2ee2c.js} +8 -8
- package/dist/chunks/{voice-3pr9cre2.js → skill-2rhr1j2v.js} +32 -32
- package/dist/chunks/{voice-1e040kv3.js → skill-2s32b1pm.js} +2 -2
- package/dist/chunks/{voice-hyjay5vw.js → skill-2xre7bbz.js} +19 -19
- package/dist/chunks/{voice-dbx1c2tg.js → skill-2ydj7fj1.js} +33 -33
- package/dist/chunks/{voice-a4rkzzpg.js → skill-30x38mv8.js} +46 -46
- package/dist/chunks/{voice-gsbrh5b6.js → skill-33vw7qyp.js} +22 -22
- package/dist/chunks/{voice-3hepkmqq.js → skill-3hepkmqq.js} +1 -1
- package/dist/chunks/{voice-3hwn7j4h.js → skill-3hwn7j4h.js} +2 -2
- package/dist/chunks/{voice-dp558nrd.js → skill-3s06hs9t.js} +3 -3
- package/dist/chunks/{voice-3smtnn6g.js → skill-3smtnn6g.js} +1 -1
- package/dist/chunks/{voice-3tvqynh2.js → skill-3tvqynh2.js} +1 -1
- package/dist/chunks/{voice-zc7as1na.js → skill-3w4mwa0r.js} +19 -19
- package/dist/chunks/{voice-3zsf4n22.js → skill-3zsf4n22.js} +1 -1
- package/dist/chunks/{voice-hx6e907q.js → skill-40h581yp.js} +8 -8
- package/dist/chunks/{voice-q8ra9vd5.js → skill-47zrz7pg.js} +27 -27
- package/dist/chunks/{voice-7wfv1tbf.js → skill-49eyavm8.js} +7 -7
- package/dist/chunks/{voice-bft59c27.js → skill-4ckgtqrh.js} +9 -9
- package/dist/chunks/{voice-80kf5cft.js → skill-4g7bc71f.js} +25 -25
- package/dist/chunks/{voice-rzk8bj82.js → skill-4mwphs2k.js} +6 -6
- package/dist/chunks/{voice-0jq9fyba.js → skill-4nj4bn9q.js} +9 -9
- package/dist/chunks/{voice-rjmsaa2q.js → skill-4ptxcp1e.js} +19 -19
- package/dist/chunks/{voice-zd055dky.js → skill-4r2zbptf.js} +63 -66
- package/dist/chunks/{voice-htn8a1qv.js → skill-4t2jy500.js} +13 -13
- package/dist/chunks/skill-4wsa0agf.js +257 -0
- package/dist/chunks/{voice-54ma36ye.js → skill-54ma36ye.js} +1 -1
- package/dist/chunks/{voice-wt0mmhah.js → skill-5dc849gq.js} +6 -6
- package/dist/chunks/{voice-e0yy9ryt.js → skill-5efy2ttq.js} +11 -11
- package/dist/chunks/{voice-1a5chre8.js → skill-5jpamcfq.js} +12 -12
- package/dist/chunks/{voice-5m9w47nd.js → skill-5m9w47nd.js} +1 -1
- package/dist/chunks/{voice-0n7hx3s8.js → skill-5vf4742z.js} +21 -28
- package/dist/chunks/{voice-wez1ajrw.js → skill-5wzag2z6.js} +7 -7
- package/dist/chunks/{voice-6827pfxn.js → skill-6827pfxn.js} +1 -1
- package/dist/chunks/{voice-zhc0v3qp.js → skill-6p3qshzc.js} +32 -32
- package/dist/chunks/{voice-4bnzbgn8.js → skill-6s9dfnwd.js} +9 -7
- package/dist/chunks/{voice-8sc2nzy6.js → skill-6x24qp8q.js} +10 -10
- package/dist/chunks/{voice-6xb47vfp.js → skill-6xb47vfp.js} +1 -1
- package/dist/chunks/{voice-775gj3j1.js → skill-775gj3j1.js} +2 -2
- package/dist/chunks/{voice-7bmhse3q.js → skill-7bmhse3q.js} +1 -1
- package/dist/chunks/{voice-y32fbaee.js → skill-7es1h6bd.js} +7 -7
- package/dist/chunks/{voice-a20pjse5.js → skill-7v6vae4w.js} +3 -3
- package/dist/chunks/{voice-4ts41tr6.js → skill-7xw63ggs.js} +2 -2
- package/dist/chunks/{voice-84txncab.js → skill-84txncab.js} +1 -1
- package/dist/chunks/{voice-8m6m0r52.js → skill-8m6m0r52.js} +1 -1
- package/dist/chunks/skill-8mywswrd.js +86 -0
- package/dist/chunks/{voice-h81g9n7s.js → skill-8nr83adb.js} +6 -6
- package/dist/chunks/{voice-hen2h1me.js → skill-8psfat6b.js} +3 -3
- package/dist/chunks/{voice-4qnvasr9.js → skill-8w9ta1h6.js} +5 -5
- package/dist/chunks/{voice-7czk49a2.js → skill-96ewcb6m.js} +11 -11
- package/dist/chunks/{voice-72sk51vb.js → skill-994fvcqk.js} +35 -35
- package/dist/chunks/{voice-p37cw4rj.js → skill-9hn6k4tm.js} +8 -8
- package/dist/chunks/{voice-55m81wnp.js → skill-9nyvt9wv.js} +5 -5
- package/dist/chunks/{voice-atsf9aqe.js → skill-9sgsjpgv.js} +6 -6
- package/dist/chunks/{voice-9t0xmec0.js → skill-9w133m1s.js} +15 -15
- package/dist/chunks/skill-9zdhvgqs.js +18 -0
- package/dist/chunks/{voice-pcf1k9th.js → skill-acrka64b.js} +6 -6
- package/dist/chunks/{voice-a7t9gw66.js → skill-ahnhtz0s.js} +11 -11
- package/dist/chunks/{voice-gm31ynds.js → skill-aj3rbcf1.js} +5 -5
- package/dist/chunks/{voice-zxc5z6hb.js → skill-an6ss4rp.js} +33 -33
- package/dist/chunks/{voice-8k16pbxa.js → skill-az180baf.js} +5 -5
- package/dist/chunks/{voice-m0xs32yr.js → skill-az9pkjsk.js} +32 -31
- package/dist/chunks/{voice-46459d5e.js → skill-azfbpf7r.js} +47 -49
- package/dist/chunks/{voice-y6bex35g.js → skill-azwe5p1w.js} +4 -4
- package/dist/chunks/{voice-capghd97.js → skill-b0m1ne2p.js} +23 -23
- package/dist/chunks/{voice-y8m1m766.js → skill-b5e8q9y4.js} +4 -4
- package/dist/chunks/{voice-vzbxwz1d.js → skill-bh2h312c.js} +11 -11
- package/dist/chunks/{voice-gj46k6vd.js → skill-bkatn0cp.js} +16 -16
- package/dist/chunks/{voice-7zjhs1nm.js → skill-bm84hcav.js} +17 -17
- package/dist/chunks/{voice-166kng33.js → skill-bnmr3cva.js} +8 -8
- package/dist/chunks/{voice-p38fre57.js → skill-bteyxjds.js} +5 -5
- package/dist/chunks/{voice-81rrwt6s.js → skill-bw9zjykr.js} +6 -6
- package/dist/chunks/{voice-rj3eygr5.js → skill-c41wscbt.js} +2 -2
- package/dist/chunks/{voice-dqpnj7av.js → skill-c5cr6fz1.js} +26 -26
- package/dist/chunks/{voice-sa8ekw3f.js → skill-c8ax2afj.js} +2 -2
- package/dist/chunks/{voice-jnsvnygx.js → skill-cd870end.js} +52 -52
- package/dist/chunks/{voice-q2sz1tra.js → skill-cgjwj88c.js} +9 -9
- package/dist/chunks/{voice-d10c0ppg.js → skill-cka3pwfj.js} +20 -21
- package/dist/chunks/{voice-pzta8gqa.js → skill-cse5452s.js} +23 -23
- package/dist/chunks/{voice-be82r499.js → skill-cxfgc6by.js} +2 -2
- package/dist/chunks/{voice-1k9hs225.js → skill-dcpjbqwq.js} +4 -4
- package/dist/chunks/{voice-10q04s9m.js → skill-dddsnv1t.js} +19 -19
- package/dist/chunks/{voice-t6p333e3.js → skill-dh1wnrr3.js} +26 -26
- package/dist/chunks/{voice-y71avatq.js → skill-dpkg50ah.js} +4 -4
- package/dist/chunks/{voice-2560qahv.js → skill-dsc898vs.js} +23 -23
- package/dist/chunks/{voice-fe7mjage.js → skill-dsct1602.js} +11 -11
- package/dist/chunks/{voice-wh6zw745.js → skill-dssbfrwz.js} +5 -5
- package/dist/chunks/{voice-zybbj8zn.js → skill-dtvxyhpg.js} +29 -29
- package/dist/chunks/{voice-0d60ahdf.js → skill-dzb6kqcp.js} +3 -3
- package/dist/chunks/{voice-rxwwr6rj.js → skill-e49jeknm.js} +21 -21
- package/dist/chunks/{voice-wmg4dxvw.js → skill-e5t061k5.js} +15 -15
- package/dist/chunks/{voice-r2z489rp.js → skill-e80seqcp.js} +3 -3
- package/dist/chunks/{voice-s8d7rejh.js → skill-eaj1djv9.js} +6 -6
- package/dist/chunks/{voice-99xay3p1.js → skill-eeaf82dq.js} +8 -8
- package/dist/chunks/{voice-eej6y6fw.js → skill-eej6y6fw.js} +2 -2
- package/dist/chunks/{voice-ef5x83kb.js → skill-ef5x83kb.js} +1 -1
- package/dist/chunks/{voice-c1fqxshp.js → skill-es1vcfrp.js} +3 -3
- package/dist/chunks/{voice-ax36eyar.js → skill-esjfm2jj.js} +6 -6
- package/dist/chunks/{voice-9cvx9cd3.js → skill-f19p4dtt.js} +9 -9
- package/dist/chunks/{voice-8jzsrpfh.js → skill-fba44ey8.js} +4 -4
- package/dist/chunks/{voice-fcy631f0.js → skill-fcy631f0.js} +1 -1
- package/dist/chunks/{voice-w645cvh3.js → skill-ffex79nh.js} +4 -4
- package/dist/chunks/{voice-a47cqtsz.js → skill-fgat89d3.js} +8 -8
- package/dist/chunks/{voice-tt8gc4fv.js → skill-fn9t717r.js} +6 -6
- package/dist/chunks/{voice-m37876mr.js → skill-fp460gdt.js} +16 -16
- package/dist/chunks/{voice-cwa6csj7.js → skill-ft3hqk2c.js} +9 -9
- package/dist/chunks/{voice-bxaezv13.js → skill-fx27t40w.js} +14 -14
- package/dist/chunks/{voice-fy8g54x2.js → skill-g7zm5684.js} +11 -11
- package/dist/chunks/{voice-gd4qta3r.js → skill-gd4qta3r.js} +1 -1
- package/dist/chunks/{voice-gj71zhbs.js → skill-gj71zhbs.js} +2 -2
- package/dist/chunks/{voice-g9mhys8g.js → skill-gjpes3nd.js} +11 -11
- package/dist/chunks/{voice-jz94ppxa.js → skill-gjqf6prp.js} +15 -15
- package/dist/chunks/{voice-n5feeqsd.js → skill-gxqmtd9s.js} +4 -4
- package/dist/chunks/{voice-jm1jdg4g.js → skill-h1qzx281.js} +16 -16
- package/dist/chunks/{voice-hq3c8me3.js → skill-h221s06d.js} +4 -4
- package/dist/chunks/{voice-h6vf3j39.js → skill-h6vf3j39.js} +1 -1
- package/dist/chunks/{voice-fan8xm03.js → skill-hcv80w8f.js} +8 -8
- package/dist/chunks/{voice-hgz4x7wa.js → skill-hgz4x7wa.js} +1 -1
- package/dist/chunks/{voice-zygw1fg1.js → skill-hpwaxba9.js} +51 -36
- package/dist/chunks/{voice-46aes8ch.js → skill-j3pmw4n4.js} +13 -16
- package/dist/chunks/{voice-wdqr7xqq.js → skill-j5vs2s0c.js} +16 -16
- package/dist/chunks/{voice-9at0pwnx.js → skill-jg6y9exp.js} +9 -9
- package/dist/chunks/{voice-1nkzkq3r.js → skill-jpxbkzcm.js} +18 -18
- package/dist/chunks/{voice-70z88rjf.js → skill-jrcrphs5.js} +13 -13
- package/dist/chunks/skill-k4pcy416.js +26 -0
- package/dist/chunks/{voice-1bq62cry.js → skill-k4z9qb1h.js} +14 -14
- package/dist/chunks/{voice-18zsf568.js → skill-k767h5gk.js} +9 -9
- package/dist/chunks/{voice-x4p01p4y.js → skill-k9rcbhkt.js} +20 -20
- package/dist/chunks/{voice-w1zgsyjh.js → skill-kb53hzak.js} +25 -25
- package/dist/chunks/{voice-kwb1v3vj.js → skill-kwb1v3vj.js} +1 -1
- package/dist/chunks/{voice-n5csmyza.js → skill-kzp04e93.js} +10 -10
- package/dist/chunks/{voice-wp1wkg59.js → skill-m6pbs28h.js} +15 -15
- package/dist/chunks/{voice-m9w0rfyh.js → skill-m9w0rfyh.js} +1 -1
- package/dist/chunks/{voice-maspj1v3.js → skill-maspj1v3.js} +1 -1
- package/dist/chunks/{voice-egpmcp8a.js → skill-mezgzbf4.js} +11 -11
- package/dist/chunks/{voice-1c85gy23.js → skill-mf2cr3hn.js} +5 -5
- package/dist/chunks/{voice-2w7xd5ef.js → skill-mfjtdt2y.js} +6 -6
- package/dist/chunks/{voice-2rfqgm69.js → skill-mj8v08g3.js} +19 -19
- package/dist/chunks/{voice-8btm942h.js → skill-mk12phhj.js} +2 -2
- package/dist/chunks/{voice-84pnh87n.js → skill-mr40cxx5.js} +11 -11
- package/dist/chunks/{voice-sz1e9eqn.js → skill-mrvktngd.js} +22 -22
- package/dist/chunks/{voice-zaxy7ecx.js → skill-mwfdq8qc.js} +19 -19
- package/dist/chunks/{voice-3yfbedjd.js → skill-mxzy28fn.js} +12 -12
- package/dist/chunks/{voice-1h2d0ke7.js → skill-n2jhanjn.js} +7 -7
- package/dist/chunks/{voice-wch0f9f3.js → skill-n8s3x8gg.js} +18 -18
- package/dist/chunks/{voice-g686f6pq.js → skill-nd4tfyg0.js} +9 -9
- package/dist/chunks/{voice-6n27b0t2.js → skill-nrfaghy7.js} +30 -30
- package/dist/chunks/{voice-83vj9qt0.js → skill-p24k7xxs.js} +17 -17
- package/dist/chunks/{voice-x0m4hwhr.js → skill-p7ejm75f.js} +15 -15
- package/dist/chunks/{voice-skrw0pay.js → skill-p83bgnwy.js} +172 -172
- package/dist/chunks/{voice-3vnym5x3.js → skill-p9yv9cpt.js} +41 -41
- package/dist/chunks/{voice-y3vys761.js → skill-pe6c7tpr.js} +46 -46
- package/dist/chunks/{voice-pjvnvgmy.js → skill-pjvnvgmy.js} +1 -1
- package/dist/chunks/{voice-pknna89w.js → skill-pknna89w.js} +1 -1
- package/dist/chunks/{voice-xw8v86tr.js → skill-psw58z79.js} +25 -25
- package/dist/chunks/{voice-rkprpv83.js → skill-py3kkmfq.js} +2 -2
- package/dist/chunks/{voice-0tgjh03h.js → skill-q5yng9nd.js} +3 -3
- package/dist/chunks/{voice-q8xm0c2j.js → skill-q7nxqx7p.js} +11 -11
- package/dist/chunks/{voice-0pdk8z67.js → skill-q7w9bzh9.js} +5 -5
- package/dist/chunks/{voice-401wxw87.js → skill-qfphg4nc.js} +5 -5
- package/dist/chunks/{voice-qnc92qwc.js → skill-qnc92qwc.js} +1 -1
- package/dist/chunks/{voice-yzh5znq2.js → skill-qrvjed71.js} +22 -22
- package/dist/chunks/{voice-qsdy395h.js → skill-qsdy395h.js} +1 -1
- package/dist/chunks/{voice-asgfpy10.js → skill-qshse4pa.js} +11 -11
- package/dist/chunks/{voice-m0k7y5tq.js → skill-r0snawp5.js} +11 -11
- package/dist/chunks/{voice-gchk0vkb.js → skill-r2gt430y.js} +40 -40
- package/dist/chunks/{voice-7mcgqaeh.js → skill-r4dce1g6.js} +6 -6
- package/dist/chunks/{voice-9qee0jk3.js → skill-rbpvdgf0.js} +8 -8
- package/dist/chunks/{voice-rdw6cm16.js → skill-rdw6cm16.js} +1 -1
- package/dist/chunks/{voice-yp2x3t23.js → skill-rhraev7y.js} +4 -4
- package/dist/chunks/{voice-6h73966b.js → skill-rtj3qdv7.js} +17 -17
- package/dist/chunks/{voice-krbeg2se.js → skill-rw53n0fn.js} +39 -39
- package/dist/chunks/{voice-qwfhs2mm.js → skill-rzjhynvd.js} +17 -17
- package/dist/chunks/{voice-5kxj697y.js → skill-rzptascq.js} +15 -15
- package/dist/chunks/{voice-xr64f026.js → skill-s062krnn.js} +28 -29
- package/dist/chunks/{voice-hhe0v7zm.js → skill-s0tpqwmh.js} +36 -36
- package/dist/chunks/{voice-n52gxnde.js → skill-s3dcqe2f.js} +71 -74
- package/dist/chunks/{voice-c62gkb3b.js → skill-s7hgpj7n.js} +20 -20
- package/dist/chunks/{voice-c214aq79.js → skill-sjrfcf49.js} +10 -10
- package/dist/chunks/{voice-z5wvy2zw.js → skill-skda7hje.js} +87 -87
- package/dist/chunks/{voice-x63dfm1w.js → skill-snpdvfcc.js} +15 -15
- package/dist/chunks/{voice-bhkm1g5m.js → skill-spvegxv4.js} +45 -45
- package/dist/chunks/{voice-vpm8vpz0.js → skill-ss358qx3.js} +3 -3
- package/dist/chunks/{voice-6k23gnk2.js → skill-stpt7qpp.js} +23 -23
- package/dist/chunks/{voice-syv4x271.js → skill-syv4x271.js} +1 -1
- package/dist/chunks/{voice-j8v25mck.js → skill-szfjq214.js} +5 -5
- package/dist/chunks/{voice-kw7ww2k8.js → skill-t0s87p9z.js} +43 -43
- package/dist/chunks/{voice-ay7h7ryq.js → skill-t2cxfkz0.js} +16 -16
- package/dist/chunks/{voice-t6twestg.js → skill-t3s4rf4r.js} +11 -11
- package/dist/chunks/{voice-t6vsspdg.js → skill-t6vsspdg.js} +1 -1
- package/dist/chunks/{voice-tazgh4e4.js → skill-tazgh4e4.js} +1 -1
- package/dist/chunks/{voice-tcezcvh9.js → skill-tcezcvh9.js} +1 -1
- package/dist/chunks/{voice-tdstcens.js → skill-tdstcens.js} +1 -1
- package/dist/chunks/{voice-e9s8nezm.js → skill-tj5ahh21.js} +14 -14
- package/dist/chunks/{voice-9ca4c2n8.js → skill-tjmbphra.js} +28 -26
- package/dist/chunks/{voice-rert0e01.js → skill-tkb22qbm.js} +2 -2
- package/dist/chunks/{voice-tm0kqsz3.js → skill-tm0kqsz3.js} +1 -1
- package/dist/chunks/{voice-ym1asdg7.js → skill-tp8qtqfe.js} +14 -14
- package/dist/chunks/{voice-e61cj48z.js → skill-tq14xbg8.js} +20 -20
- package/dist/chunks/{voice-dtmw6jvf.js → skill-tw1svedf.js} +16 -16
- package/dist/chunks/{voice-bmr56wjg.js → skill-txm3e8qz.js} +4 -4
- package/dist/chunks/{voice-tyytaxap.js → skill-tyytaxap.js} +1 -1
- package/dist/chunks/{voice-4ymz7vr5.js → skill-tzs4kwf2.js} +18 -18
- package/dist/chunks/{voice-rka5c9pw.js → skill-tzx53q96.js} +23 -23
- package/dist/chunks/{voice-h978070j.js → skill-v13b12ef.js} +16 -19
- package/dist/chunks/{voice-07hyrh53.js → skill-v210v162.js} +7 -7
- package/dist/chunks/{voice-yfqqfr07.js → skill-v3t362sx.js} +21 -21
- package/dist/chunks/{voice-v7p4zvkq.js → skill-v7p4zvkq.js} +2 -2
- package/dist/chunks/{voice-cy3cg06b.js → skill-v86je2z5.js} +2 -2
- package/dist/chunks/{voice-3gwj7c3a.js → skill-va1m2gws.js} +1 -1
- package/dist/chunks/{voice-dxj1qz4d.js → skill-vd4aczts.js} +15 -15
- package/dist/chunks/{voice-zy43x3f1.js → skill-ve85v3xb.js} +4 -4
- package/dist/chunks/{voice-veqvce7d.js → skill-veqvce7d.js} +1 -1
- package/dist/chunks/{voice-vzs5sf6e.js → skill-vzs5sf6e.js} +1 -1
- package/dist/chunks/{voice-bekrfzrn.js → skill-w19cxg5d.js} +5 -5
- package/dist/chunks/{voice-w3wsvvr9.js → skill-w3wsvvr9.js} +1 -1
- package/dist/chunks/{voice-hn4xv43g.js → skill-w5e5n6qp.js} +28 -28
- package/dist/chunks/{voice-jpt0ksjm.js → skill-w9pxnq1f.js} +3 -3
- package/dist/chunks/{voice-baqyxak2.js → skill-wcnw1vw1.js} +4 -4
- package/dist/chunks/{voice-fgn3zs1a.js → skill-wcv23wjp.js} +8 -8
- package/dist/chunks/{voice-wd87259q.js → skill-wd87259q.js} +1 -1
- package/dist/chunks/{voice-vvne4gav.js → skill-wg21mfe7.js} +16 -16
- package/dist/chunks/{voice-bc25zkma.js → skill-wjvejwxj.js} +18 -18
- package/dist/chunks/{voice-9cb08eze.js → skill-wq5ge4qs.js} +10 -10
- package/dist/chunks/{voice-1ffqw314.js → skill-wrpzvqff.js} +22 -22
- package/dist/chunks/{voice-3yvt2eyd.js → skill-ws22wf9m.js} +11 -11
- package/dist/chunks/{voice-pvr736zf.js → skill-wsc8jw0e.js} +6 -6
- package/dist/chunks/{voice-wcmg8ka2.js → skill-x1j2xbxr.js} +11 -11
- package/dist/chunks/{voice-fmdmz72r.js → skill-x27b78bf.js} +18 -18
- package/dist/chunks/{voice-pjjz4vyy.js → skill-x7schd0t.js} +314 -314
- package/dist/chunks/{voice-ktg7dnk2.js → skill-x9xez83g.js} +20 -20
- package/dist/chunks/{voice-xgyd6awb.js → skill-xbk1brvq.js} +24 -24
- package/dist/chunks/{voice-drwq78ky.js → skill-xfkkasph.js} +4 -4
- package/dist/chunks/skill-xjwnzk3j.js +130 -0
- package/dist/chunks/{voice-5307c9aq.js → skill-xzt4qk3d.js} +4 -4
- package/dist/chunks/{voice-y1fvbwt7.js → skill-y1fvbwt7.js} +1 -1
- package/dist/chunks/{voice-x77x046w.js → skill-y34wrf3d.js} +7 -7
- package/dist/chunks/{voice-vy68hshx.js → skill-y5716pwx.js} +8 -8
- package/dist/chunks/{voice-93fzsdqz.js → skill-y5csa3j3.js} +11 -11
- package/dist/chunks/{voice-0stcbem0.js → skill-y5wbntgb.js} +33 -33
- package/dist/chunks/{voice-y6mhz57t.js → skill-y6mhz57t.js} +1 -1
- package/dist/chunks/{voice-adj2f2vn.js → skill-ycgxjbe9.js} +26 -26
- package/dist/chunks/{voice-jc4mxe0h.js → skill-yjc6fc7c.js} +22 -22
- package/dist/chunks/{voice-jgpthgfz.js → skill-yjtv1dgs.js} +21 -21
- package/dist/chunks/{voice-ps2j6rx6.js → skill-ykb9mt4z.js} +17 -17
- package/dist/chunks/{voice-n1900k66.js → skill-ys00zx1c.js} +1 -1
- package/dist/chunks/{voice-t55rwbc2.js → skill-ytphcrpa.js} +20 -20
- package/dist/chunks/{voice-z0bkrqjs.js → skill-z0bkrqjs.js} +1 -1
- package/dist/chunks/{voice-z18fegx4.js → skill-z18fegx4.js} +1 -1
- package/dist/chunks/{voice-291dyprt.js → skill-zbvn420s.js} +22 -22
- package/dist/chunks/{voice-zcrspsvn.js → skill-zee1rnkq.js} +4 -4
- package/dist/chunks/{voice-zr2ceqn5.js → skill-zr2ceqn5.js} +1 -1
- package/dist/chunks/{voice-v5130x7e.js → skill-zvn91fcw.js} +25 -25
- package/dist/chunks/{voice-tx938nqc.js → skill-zvqs7mdw.js} +12 -12
- package/dist/chunks/{voice-zxq2ej10.js → skill-zxq2ej10.js} +1 -1
- package/dist/chunks/{voice-wfqe50e8.js → skill-zz1b5zj3.js} +7 -7
- 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 +83 -83
- 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 +116 -116
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- 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 +83 -82
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +365 -365
- 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 +219 -219
- 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 +104 -104
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +130 -130
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +358 -358
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- 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 +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +1 -1
- 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 +115 -115
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +130 -130
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- 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 +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +217 -217
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- 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 +19 -13
- package/dist/session/inbox.js +97 -92
- 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 +118 -118
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +91 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +14 -0
- package/dist/session/revert.js +96 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- 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 +14 -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 +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +212 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- package/dist/shell/parse.js +8 -8
- 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 +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +89 -89
- 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 +124 -124
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/types/credential/sql.d.ts +0 -3
- package/dist/types/credential.d.ts +0 -3
- package/dist/types/instance.d.ts +1 -1
- package/dist/types/session/history.d.ts +35 -888
- package/dist/types/session/recent-text.d.ts +11 -0
- package/dist/types/session/runner/publish-llm-event.d.ts +1 -1
- package/dist/types/session/transfer.d.ts +5 -55
- 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 +1 -1
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +88 -88
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/voice-1x11rq2a.js +0 -18
- package/dist/chunks/voice-a3ebqg5m.js +0 -95
- package/dist/chunks/voice-d2czbp48.js +0 -69
- package/dist/chunks/voice-rhvdwwz1.js +0 -26
- package/dist/chunks/voice-zqbqn1p8.js +0 -257
- package/dist/session/provider-context.js +0 -20
- package/dist/types/session/provider-context.d.ts +0 -46
- /package/dist/chunks/{voice-0qkdqm5v.js → skill-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{voice-0zkw76rk.js → skill-0zkw76rk.js} +0 -0
- /package/dist/chunks/{voice-17cy0kzp.js → skill-17cy0kzp.js} +0 -0
- /package/dist/chunks/{voice-1cnp2v09.js → skill-1cnp2v09.js} +0 -0
- /package/dist/chunks/{voice-1kg9ymc8.js → skill-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{voice-24dcb14g.js → skill-24dcb14g.js} +0 -0
- /package/dist/chunks/{voice-2710q6r3.js → skill-2710q6r3.js} +0 -0
- /package/dist/chunks/{voice-2axfhc9x.js → skill-2axfhc9x.js} +0 -0
- /package/dist/chunks/{voice-2bv980vf.js → skill-2bv980vf.js} +0 -0
- /package/dist/chunks/{voice-2c3vjs8z.js → skill-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{voice-359p4xyc.js → skill-359p4xyc.js} +0 -0
- /package/dist/chunks/{voice-3asan66x.js → skill-3asan66x.js} +0 -0
- /package/dist/chunks/{voice-3t0ybcrp.js → skill-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{voice-3v8g72cx.js → skill-3v8g72cx.js} +0 -0
- /package/dist/chunks/{voice-3wcehsnq.js → skill-3wcehsnq.js} +0 -0
- /package/dist/chunks/{voice-43n2bw4t.js → skill-43n2bw4t.js} +0 -0
- /package/dist/chunks/{voice-4knz6hnm.js → skill-4knz6hnm.js} +0 -0
- /package/dist/chunks/{voice-4vcrnpx2.js → skill-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{voice-4y7fprxs.js → skill-4y7fprxs.js} +0 -0
- /package/dist/chunks/{voice-53557ph1.js → skill-53557ph1.js} +0 -0
- /package/dist/chunks/{voice-550bvhaj.js → skill-550bvhaj.js} +0 -0
- /package/dist/chunks/{voice-5qd3pb7m.js → skill-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{voice-6prwharc.js → skill-6prwharc.js} +0 -0
- /package/dist/chunks/{voice-6q2bdcd1.js → skill-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{voice-7akdwqpd.js → skill-7akdwqpd.js} +0 -0
- /package/dist/chunks/{voice-7m9af43g.js → skill-7m9af43g.js} +0 -0
- /package/dist/chunks/{voice-822emrt2.js → skill-822emrt2.js} +0 -0
- /package/dist/chunks/{voice-84wd9syh.js → skill-84wd9syh.js} +0 -0
- /package/dist/chunks/{voice-88xbtdfr.js → skill-88xbtdfr.js} +0 -0
- /package/dist/chunks/{voice-8n3pysct.js → skill-8n3pysct.js} +0 -0
- /package/dist/chunks/{voice-8wj87zfr.js → skill-8wj87zfr.js} +0 -0
- /package/dist/chunks/{voice-9a4afbnw.js → skill-9a4afbnw.js} +0 -0
- /package/dist/chunks/{voice-9rqn6x4v.js → skill-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{voice-a6k6eb26.js → skill-a6k6eb26.js} +0 -0
- /package/dist/chunks/{voice-af5trqkr.js → skill-af5trqkr.js} +0 -0
- /package/dist/chunks/{voice-afrmfg78.js → skill-afrmfg78.js} +0 -0
- /package/dist/chunks/{voice-aqzs7mqg.js → skill-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{voice-atq7p7m5.js → skill-atq7p7m5.js} +0 -0
- /package/dist/chunks/{voice-bkyjaxrp.js → skill-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{voice-bmr6ed5q.js → skill-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{voice-cf4snx6d.js → skill-cf4snx6d.js} +0 -0
- /package/dist/chunks/{voice-cvy3z8tj.js → skill-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{voice-d9fn303g.js → skill-d9fn303g.js} +0 -0
- /package/dist/chunks/{voice-d9jj8t3e.js → skill-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{voice-dajrwvna.js → skill-dajrwvna.js} +0 -0
- /package/dist/chunks/{voice-dap0rakb.js → skill-dap0rakb.js} +0 -0
- /package/dist/chunks/{voice-df08tz66.js → skill-df08tz66.js} +0 -0
- /package/dist/chunks/{voice-dy18nga0.js → skill-dy18nga0.js} +0 -0
- /package/dist/chunks/{voice-e5kj55wp.js → skill-e5kj55wp.js} +0 -0
- /package/dist/chunks/{voice-e73j6tqm.js → skill-e73j6tqm.js} +0 -0
- /package/dist/chunks/{voice-ec1grn59.js → skill-ec1grn59.js} +0 -0
- /package/dist/chunks/{voice-eh3zwz77.js → skill-eh3zwz77.js} +0 -0
- /package/dist/chunks/{voice-emrn6kk6.js → skill-emrn6kk6.js} +0 -0
- /package/dist/chunks/{voice-f0mxakyp.js → skill-f0mxakyp.js} +0 -0
- /package/dist/chunks/{voice-f6n9ztr4.js → skill-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{voice-faypxj3z.js → skill-faypxj3z.js} +0 -0
- /package/dist/chunks/{voice-fd410y7t.js → skill-fd410y7t.js} +0 -0
- /package/dist/chunks/{voice-g4wezp1m.js → skill-g4wezp1m.js} +0 -0
- /package/dist/chunks/{voice-g86h250q.js → skill-g86h250q.js} +0 -0
- /package/dist/chunks/{voice-gebd4c9n.js → skill-gebd4c9n.js} +0 -0
- /package/dist/chunks/{voice-gftt206x.js → skill-gftt206x.js} +0 -0
- /package/dist/chunks/{voice-hcxmzztb.js → skill-hcxmzztb.js} +0 -0
- /package/dist/chunks/{voice-hk9envan.js → skill-hk9envan.js} +0 -0
- /package/dist/chunks/{voice-j2ntwpah.js → skill-j2ntwpah.js} +0 -0
- /package/dist/chunks/{voice-j5zkgpj8.js → skill-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{voice-jjkms2e6.js → skill-jjkms2e6.js} +0 -0
- /package/dist/chunks/{voice-jr7sbwjy.js → skill-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{voice-jwfs4k6c.js → skill-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{voice-jze0r7bz.js → skill-jze0r7bz.js} +0 -0
- /package/dist/chunks/{voice-jzg6c2d5.js → skill-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{voice-m18g726c.js → skill-m18g726c.js} +0 -0
- /package/dist/chunks/{voice-mp448xyj.js → skill-mp448xyj.js} +0 -0
- /package/dist/chunks/{voice-msx8hqn2.js → skill-msx8hqn2.js} +0 -0
- /package/dist/chunks/{voice-n05xt0ee.js → skill-n05xt0ee.js} +0 -0
- /package/dist/chunks/{voice-n3j8tn72.js → skill-n3j8tn72.js} +0 -0
- /package/dist/chunks/{voice-njntx4h6.js → skill-njntx4h6.js} +0 -0
- /package/dist/chunks/{voice-pkyv6v7h.js → skill-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{voice-pyv0edze.js → skill-pyv0edze.js} +0 -0
- /package/dist/chunks/{voice-q3sfg36h.js → skill-q3sfg36h.js} +0 -0
- /package/dist/chunks/{voice-q74kybfr.js → skill-q74kybfr.js} +0 -0
- /package/dist/chunks/{voice-qaymkmh1.js → skill-qaymkmh1.js} +0 -0
- /package/dist/chunks/{voice-qb87gjwd.js → skill-qb87gjwd.js} +0 -0
- /package/dist/chunks/{voice-qfa1cgps.js → skill-qfa1cgps.js} +0 -0
- /package/dist/chunks/{voice-qg3g05ea.js → skill-qg3g05ea.js} +0 -0
- /package/dist/chunks/{voice-qrg20bc0.js → skill-qrg20bc0.js} +0 -0
- /package/dist/chunks/{voice-rcb2kzg1.js → skill-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{voice-sdp7kfr6.js → skill-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{voice-ssg3fenm.js → skill-ssg3fenm.js} +0 -0
- /package/dist/chunks/{voice-ve7vex1e.js → skill-ve7vex1e.js} +0 -0
- /package/dist/chunks/{voice-w803qqfp.js → skill-w803qqfp.js} +0 -0
- /package/dist/chunks/{voice-wc3fc9cn.js → skill-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{voice-wer8tq1h.js → skill-wer8tq1h.js} +0 -0
- /package/dist/chunks/{voice-wjj7prxr.js → skill-wjj7prxr.js} +0 -0
- /package/dist/chunks/{voice-wtztk69x.js → skill-wtztk69x.js} +0 -0
- /package/dist/chunks/{voice-x0ckcb58.js → skill-x0ckcb58.js} +0 -0
- /package/dist/chunks/{voice-x61499pn.js → skill-x61499pn.js} +0 -0
- /package/dist/chunks/{voice-y44na4kk.js → skill-y44na4kk.js} +0 -0
- /package/dist/chunks/{voice-y8f7s663.js → skill-y8f7s663.js} +0 -0
- /package/dist/chunks/{voice-ygaqb7jw.js → skill-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{voice-ym463w8f.js → skill-ym463w8f.js} +0 -0
- /package/dist/chunks/{voice-z5v4ffb3.js → skill-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{voice-z9919s4g.js → skill-z9919s4g.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID10,
|
|
3
|
+
Service71,
|
|
4
|
+
node75
|
|
5
|
+
} from "./skill-24qb9ktg.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID9,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -15,24 +15,24 @@ import {
|
|
|
15
15
|
encoding2,
|
|
16
16
|
mergeOverlay2,
|
|
17
17
|
mergeHeaders2,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service70,
|
|
19
|
+
node74
|
|
20
|
+
} from "./skill-0s4awtrm.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service69,
|
|
23
|
+
node73
|
|
24
|
+
} from "./skill-q7nxqx7p.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
26
|
+
ID8,
|
|
27
27
|
VariantID2,
|
|
28
28
|
Ref2,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
Service68,
|
|
30
|
+
node72,
|
|
31
31
|
supportsText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./skill-w5e5n6qp.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./skill-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/model-resolver.ts
|
|
38
38
|
var exports_model_resolver = {};
|
|
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
|
|
|
41
41
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
42
42
|
ModelInitializationError: () => ModelInitializationError2,
|
|
43
43
|
ModelResolver: () => exports_model_resolver,
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service67,
|
|
45
45
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
46
46
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
47
47
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
48
48
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
49
49
|
fromCatalogModel: () => fromCatalogModel2,
|
|
50
50
|
hasPackage: () => hasPackage2,
|
|
51
|
-
layer: () =>
|
|
52
|
-
node: () =>
|
|
51
|
+
layer: () => layer27,
|
|
52
|
+
node: () => node71,
|
|
53
53
|
resolveModel: () => resolveModel2,
|
|
54
54
|
withVariant: () => withVariant2
|
|
55
55
|
});
|
|
@@ -59,8 +59,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
59
59
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
60
60
|
import { Npm } from "@opencode/util/npm";
|
|
61
61
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
62
|
-
providerID:
|
|
63
|
-
modelID:
|
|
62
|
+
providerID: ID9,
|
|
63
|
+
modelID: ID8,
|
|
64
64
|
variant: VariantID2
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
@@ -69,8 +69,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
72
|
-
providerID:
|
|
73
|
-
modelID:
|
|
72
|
+
providerID: ID9,
|
|
73
|
+
modelID: ID8,
|
|
74
74
|
package: Schema.String
|
|
75
75
|
}) {
|
|
76
76
|
get message() {
|
|
@@ -80,8 +80,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
80
80
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
81
81
|
|
|
82
82
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
83
|
-
providerID:
|
|
84
|
-
modelID:
|
|
83
|
+
providerID: ID9,
|
|
84
|
+
modelID: ID8,
|
|
85
85
|
package: Schema.String,
|
|
86
86
|
detail: Schema.String
|
|
87
87
|
}) {
|
|
@@ -91,8 +91,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
94
|
-
providerID:
|
|
95
|
-
modelID:
|
|
94
|
+
providerID: ID9,
|
|
95
|
+
modelID: ID8,
|
|
96
96
|
package: Schema.String,
|
|
97
97
|
phase: InitializationPhase2,
|
|
98
98
|
detail: Schema.String
|
|
@@ -103,8 +103,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
106
|
-
providerID:
|
|
107
|
-
modelID:
|
|
106
|
+
providerID: ID9,
|
|
107
|
+
modelID: ID8,
|
|
108
108
|
variables: Schema.Array(Schema.String)
|
|
109
109
|
}) {
|
|
110
110
|
get message() {
|
|
@@ -113,8 +113,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
116
|
-
providerID:
|
|
117
|
-
modelID:
|
|
116
|
+
providerID: ID9,
|
|
117
|
+
modelID: ID8,
|
|
118
118
|
route: Schema.String
|
|
119
119
|
}) {
|
|
120
120
|
get message() {
|
|
@@ -122,7 +122,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
class
|
|
125
|
+
class Service67 extends Context.Service()("@opencode/ModelResolver") {
|
|
126
126
|
}
|
|
127
127
|
var withVariant2 = (model, variantID) => {
|
|
128
128
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -147,16 +147,14 @@ var fromCatalogModel2 = (model, credential, dependencies) => resolveCatalogModel
|
|
|
147
147
|
}));
|
|
148
148
|
var resolveCatalogModel = Effect.fn("ModelResolver.resolveCatalogModel")(function* (model, credential, dependencies) {
|
|
149
149
|
const resolved = prepareRuntimeModel(model);
|
|
150
|
-
const
|
|
151
|
-
const configured = { ...resolved.settings, ...credential?.metadata, ...configuration };
|
|
150
|
+
const configured = { ...resolved.settings, ...credential?.metadata };
|
|
152
151
|
if (isAISDK2(resolved.package)) {
|
|
153
152
|
const loadAISDK = dependencies?.loadAISDK;
|
|
154
153
|
if (!loadAISDK)
|
|
155
154
|
return yield* unsupported(resolved);
|
|
156
155
|
const settings = yield* prepareProviderSettings(resolved, mergeOverlay2(resolved.settings, {
|
|
157
156
|
...nativeCredentialSettings(resolved, resolved.package ?? "", credential),
|
|
158
|
-
...credential?.metadata
|
|
159
|
-
...configuration
|
|
157
|
+
...credential?.metadata
|
|
160
158
|
}) ?? {});
|
|
161
159
|
return yield* loadAISDK({ ...resolved, settings }).pipe(Effect.mapError((error) => initialization(resolved, "init", error.cause)));
|
|
162
160
|
}
|
|
@@ -236,7 +234,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
|
|
|
236
234
|
return tokenSettings(specifier, credential.access);
|
|
237
235
|
if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
|
|
238
236
|
return { auth: "sigv4" };
|
|
239
|
-
if (model.providerID ===
|
|
237
|
+
if (model.providerID === ID9.azure)
|
|
240
238
|
return tokenSettings(specifier, "azure-cli");
|
|
241
239
|
return {};
|
|
242
240
|
};
|
|
@@ -271,15 +269,15 @@ var causeMessage = (cause) => {
|
|
|
271
269
|
};
|
|
272
270
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
273
271
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
274
|
-
var
|
|
275
|
-
const providers = yield*
|
|
276
|
-
const models = yield*
|
|
277
|
-
const integrations = yield*
|
|
272
|
+
var layer27 = Layer.effect(Service67, Effect.gen(function* () {
|
|
273
|
+
const providers = yield* Service70;
|
|
274
|
+
const models = yield* Service68;
|
|
275
|
+
const integrations = yield* Service71;
|
|
278
276
|
const npm = yield* Npm.Service;
|
|
279
|
-
const aisdk = yield*
|
|
277
|
+
const aisdk = yield* Service69;
|
|
280
278
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
281
279
|
const provider = yield* providers.get(selected.providerID);
|
|
282
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
280
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID10.make(selected.providerID));
|
|
283
281
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
284
282
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
285
283
|
const runtimeInfo = {
|
|
@@ -306,7 +304,7 @@ var layer22 = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
306
304
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
307
305
|
};
|
|
308
306
|
});
|
|
309
|
-
return
|
|
307
|
+
return Service67.of({
|
|
310
308
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
311
309
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
312
310
|
if (!selected)
|
|
@@ -323,10 +321,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
323
321
|
const name = packageName2(packageName);
|
|
324
322
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
325
323
|
}
|
|
326
|
-
var
|
|
327
|
-
service:
|
|
328
|
-
layer:
|
|
329
|
-
deps: [
|
|
324
|
+
var node71 = makeLocationNode({
|
|
325
|
+
service: Service67,
|
|
326
|
+
layer: layer27,
|
|
327
|
+
deps: [node74, node72, node75, Npm.node, node73]
|
|
330
328
|
});
|
|
331
329
|
|
|
332
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
330
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service67, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer27, node71, exports_model_resolver };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection = {};
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info21,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
Status: () => Status3,
|
|
13
13
|
key: () => key2
|
|
@@ -15,7 +15,7 @@ __export(exports_connection, {
|
|
|
15
15
|
import { Connection } from "@opencode/schema/connection";
|
|
16
16
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
17
17
|
var EnvInfo2 = Connection.EnvInfo;
|
|
18
|
-
var
|
|
18
|
+
var Info21 = Connection.Info;
|
|
19
19
|
var Status3 = Connection.Status;
|
|
20
20
|
function key2(connection) {
|
|
21
21
|
if (!connection)
|
|
@@ -23,4 +23,4 @@ function key2(connection) {
|
|
|
23
23
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export { CredentialInfo2, EnvInfo2,
|
|
26
|
+
export { CredentialInfo2, EnvInfo2, Info21, Status3, key2, exports_connection };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-mr40cxx5.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-6s9dfnwd.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./skill-az9pkjsk.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./skill-azwe5p1w.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID10,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./skill-24qb9ktg.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service53
|
|
21
|
+
} from "./skill-kzp04e93.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID9,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./skill-0s4awtrm.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./skill-w5e5n6qp.js";
|
|
30
30
|
import {
|
|
31
31
|
supports2,
|
|
32
32
|
resolve2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./skill-w9pxnq1f.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
35
|
+
ID5,
|
|
36
36
|
Input15,
|
|
37
37
|
Response2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./skill-1scs9kvk.js";
|
|
39
39
|
|
|
40
40
|
// src/plugin/provider/opencode.ts
|
|
41
41
|
import { Duration, Effect, Equal, FiberHandle, Option, Schema, SchemaGetter, Scope, Semaphore, Stream } from "effect";
|
|
@@ -61,7 +61,7 @@ var RemotePolicies = Schema.Array(Schema.Unknown).pipe(Schema.decodeTo(Schema.Un
|
|
|
61
61
|
var RemoteResponse = Schema.Struct({
|
|
62
62
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
63
63
|
websearch: Schema.Struct({
|
|
64
|
-
providerID:
|
|
64
|
+
providerID: ID5
|
|
65
65
|
}).pipe(Schema.optional),
|
|
66
66
|
mcp: Schema.Struct({
|
|
67
67
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -112,7 +112,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
112
112
|
}
|
|
113
113
|
function oauth(http) {
|
|
114
114
|
return {
|
|
115
|
-
integrationID:
|
|
115
|
+
integrationID: ID10.make("opencode"),
|
|
116
116
|
method: {
|
|
117
117
|
id: methodID,
|
|
118
118
|
type: "oauth",
|
|
@@ -179,7 +179,7 @@ var OpencodePlugin2 = define({
|
|
|
179
179
|
const bus = yield* Service85;
|
|
180
180
|
const client = yield* HttpClient.HttpClient;
|
|
181
181
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
182
|
-
const managed = yield*
|
|
182
|
+
const managed = yield* Service53;
|
|
183
183
|
const scope = yield* Scope.Scope;
|
|
184
184
|
const loading = Semaphore.makeUnsafe(1);
|
|
185
185
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -231,7 +231,7 @@ var OpencodePlugin2 = define({
|
|
|
231
231
|
providers.update(providerID, (provider) => {
|
|
232
232
|
if (source && source.provider !== provider)
|
|
233
233
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
234
|
-
provider.integrationID =
|
|
234
|
+
provider.integrationID = ID10.make("opencode");
|
|
235
235
|
if (item.canonical !== undefined)
|
|
236
236
|
provider.canonical = item.canonical;
|
|
237
237
|
if (item.name !== undefined)
|
|
@@ -303,7 +303,7 @@ var OpencodePlugin2 = define({
|
|
|
303
303
|
sourceConnection: snapshot.connection
|
|
304
304
|
});
|
|
305
305
|
}
|
|
306
|
-
const item = providers.get(
|
|
306
|
+
const item = providers.get(ID9.opencode);
|
|
307
307
|
if (!item)
|
|
308
308
|
return;
|
|
309
309
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -315,7 +315,7 @@ var OpencodePlugin2 = define({
|
|
|
315
315
|
});
|
|
316
316
|
});
|
|
317
317
|
yield* ctx.model.transform((models) => {
|
|
318
|
-
const item = models.provider.get(
|
|
318
|
+
const item = models.provider.get(ID9.opencode);
|
|
319
319
|
if (!item)
|
|
320
320
|
return;
|
|
321
321
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -404,7 +404,7 @@ var OpencodePlugin2 = define({
|
|
|
404
404
|
});
|
|
405
405
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
406
406
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
407
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
407
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID9.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
408
408
|
});
|
|
409
409
|
yield* guard(snapshot);
|
|
410
410
|
const polling = yield* FiberHandle.make();
|
|
@@ -415,7 +415,7 @@ var OpencodePlugin2 = define({
|
|
|
415
415
|
onlyIfMissing: true
|
|
416
416
|
});
|
|
417
417
|
});
|
|
418
|
-
yield* bus.subscribe(
|
|
418
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
|
|
419
419
|
yield* poll();
|
|
420
420
|
})
|
|
421
421
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service57
|
|
3
|
+
} from "./skill-4ptxcp1e.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -21,7 +21,7 @@ var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
|
21
21
|
var EXIT_WAIT = Duration.seconds(1);
|
|
22
22
|
var STDERR_TAIL = 1000;
|
|
23
23
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
24
|
-
const environment = yield*
|
|
24
|
+
const environment = yield* Service57;
|
|
25
25
|
const scope = yield* Effect.scope;
|
|
26
26
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
27
27
|
const buffer = new ReadBuffer;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-rdw6cm16.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service41,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node44
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service41 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
116
116
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return Service41.of({
|
|
120
120
|
transform: state.transform,
|
|
121
121
|
reload: state.reload,
|
|
122
122
|
truncate,
|
|
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
133
133
|
layer: cleanupLayer,
|
|
134
134
|
deps: [FSUtil.node, Global.node]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
137
|
-
service:
|
|
136
|
+
var node44 = makeLocationNode({
|
|
137
|
+
service: Service41,
|
|
138
138
|
layer,
|
|
139
139
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
142
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service41, node44, exports_tool_output2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service46,
|
|
3
|
+
node49
|
|
4
|
+
} from "./skill-33vw7qyp.js";
|
|
5
5
|
import {
|
|
6
6
|
Service81,
|
|
7
7
|
node85
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./skill-v86je2z5.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service45,
|
|
11
|
+
node48
|
|
12
|
+
} from "./skill-r2gt430y.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./skill-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./skill-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
@@ -24,7 +24,7 @@ __export(exports_source, {
|
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
25
|
Service: () => Service10,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
27
|
+
layer: () => layer7,
|
|
28
28
|
node: () => node12
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -35,9 +35,9 @@ import path from "path";
|
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
36
|
class Service10 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer7 = Layer.effect(Service10, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service45;
|
|
40
|
+
const watcher = yield* Service46;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
42
|
const location = yield* Service81;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
@@ -72,8 +72,8 @@ var layer8 = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
72
72
|
}));
|
|
73
73
|
var node12 = makeLocationNode({
|
|
74
74
|
service: Service10,
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
75
|
+
layer: layer7,
|
|
76
|
+
deps: [node48, FSUtil.node, node49, node85]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
79
|
service: Service10,
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export { Service10,
|
|
140
|
+
export { Service10, layer7, node12, empty2, exports_source };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-6s9dfnwd.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-azwe5p1w.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event17
|
|
9
|
+
} from "./skill-az9pkjsk.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID10
|
|
12
|
+
} from "./skill-24qb9ktg.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID9,
|
|
15
|
+
Service70
|
|
16
|
+
} from "./skill-0s4awtrm.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
load3,
|
|
19
|
+
derive3
|
|
20
|
+
} from "./skill-tzx53q96.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID9.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
29
|
+
const providers = yield* Service70;
|
|
30
30
|
const bus = yield* Service85;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
|
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
const remote = yield* Effect.tryPromise({
|
|
48
|
-
try: () =>
|
|
48
|
+
try: () => load3(baseURL, apiKey),
|
|
49
49
|
catch: (cause) => cause
|
|
50
50
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
51
51
|
if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
|
|
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
|
|
|
62
62
|
return;
|
|
63
63
|
evt.add({
|
|
64
64
|
info: item.provider,
|
|
65
|
-
models: Array.from(
|
|
65
|
+
models: Array.from(derive3(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
|
|
66
66
|
sourceConnection: loaded.connection
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service84,
|
|
10
|
+
node: () => node88
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service84 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service84.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node88 = makeLocationNode({ service: Service84, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service84, node88, exports_hooks };
|