@opencode/core 0.0.0-dev-20196 → 0.0.0-dev-20198
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 +79 -79
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{file-mutation-a1dcbnh1.js → plugin-00d3at1w.js} +18 -18
- package/dist/chunks/{file-mutation-57ez7d0k.js → plugin-0ke265bw.js} +5 -5
- package/dist/chunks/{file-mutation-06avesrm.js → plugin-0n1qath5.js} +10 -10
- package/dist/chunks/{file-mutation-0paq2nw3.js → plugin-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-mutation-jfyc1maa.js → plugin-0psky2j0.js} +12 -12
- package/dist/chunks/{file-mutation-madt145n.js → plugin-0wn9mnpm.js} +17 -17
- package/dist/chunks/{file-mutation-nzdeb66t.js → plugin-0x2xcgb3.js} +9 -9
- package/dist/chunks/{file-mutation-36wh3zdf.js → plugin-135paw2g.js} +6 -6
- package/dist/chunks/{file-mutation-49exe669.js → plugin-150yg2gd.js} +5 -5
- package/dist/chunks/{file-mutation-jsx6v7sj.js → plugin-181txgxj.js} +11 -11
- package/dist/chunks/{file-mutation-v434jxdj.js → plugin-1awxr458.js} +22 -22
- package/dist/chunks/{file-mutation-1dazxqgg.js → plugin-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-mutation-annjwsdj.js → plugin-1v6becv7.js} +28 -28
- package/dist/chunks/{file-mutation-0dr0g8g1.js → plugin-1vr0zdnx.js} +6 -6
- package/dist/chunks/{file-mutation-21r38tys.js → plugin-21r38tys.js} +1 -1
- package/dist/chunks/{file-mutation-vq1w5bxf.js → plugin-22kkypfe.js} +23 -23
- package/dist/chunks/{file-mutation-bfn9xngp.js → plugin-26vscet6.js} +18 -18
- package/dist/chunks/{file-mutation-2a5m3afh.js → plugin-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-mutation-b0rtdght.js → plugin-2dbps0zs.js} +11 -11
- package/dist/chunks/{file-mutation-r4m9e03x.js → plugin-2fa7naq1.js} +4 -4
- package/dist/chunks/{file-mutation-rqnjnaqb.js → plugin-2k36c91y.js} +4 -4
- package/dist/chunks/{file-mutation-q2y76nmn.js → plugin-2tgkj9n8.js} +12 -12
- package/dist/chunks/{file-mutation-mfqp6xfm.js → plugin-33w4ejhs.js} +9 -9
- package/dist/chunks/{file-mutation-q241hggs.js → plugin-365y11ma.js} +28 -28
- package/dist/chunks/{file-mutation-3fc6dm20.js → plugin-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-mutation-3hepkmqq.js → plugin-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-mutation-fgpb6470.js → plugin-3ke2cp34.js} +13 -13
- package/dist/chunks/{file-mutation-w5sez581.js → plugin-3n6fx8re.js} +8 -8
- package/dist/chunks/{file-mutation-cbbagb43.js → plugin-3q4t4yhh.js} +11 -11
- package/dist/chunks/{file-mutation-n92w27pw.js → plugin-3r2wmwvh.js} +10 -10
- package/dist/chunks/{file-mutation-3smtnn6g.js → plugin-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-mutation-3tvqynh2.js → plugin-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-mutation-45bn2qe8.js → plugin-3w17p3hf.js} +22 -22
- package/dist/chunks/{file-mutation-ec9ctddj.js → plugin-3xdrjpac.js} +3 -3
- package/dist/chunks/{file-mutation-3zsf4n22.js → plugin-3zsf4n22.js} +1 -1
- package/dist/chunks/{file-mutation-0q60sf5x.js → plugin-465j21sy.js} +11 -11
- package/dist/chunks/{file-mutation-8ygpbkv1.js → plugin-46ez3shz.js} +13 -13
- package/dist/chunks/{file-mutation-kwqt7trd.js → plugin-47s33pss.js} +7 -7
- package/dist/chunks/{file-mutation-jazhghcp.js → plugin-48gteezh.js} +15 -15
- package/dist/chunks/{file-mutation-fyrmabcy.js → plugin-4de5fkr9.js} +8 -8
- package/dist/chunks/{file-mutation-jj5netzx.js → plugin-4dqr3qzq.js} +9 -9
- package/dist/chunks/{file-mutation-7tbm9b7t.js → plugin-4qpxv6wr.js} +3 -3
- package/dist/chunks/{file-mutation-0tkcb012.js → plugin-4s9621k1.js} +27 -27
- package/dist/chunks/{file-mutation-ckecvw8r.js → plugin-54tcyq79.js} +2 -2
- package/dist/chunks/{file-mutation-dy8qwv32.js → plugin-5631ja65.js} +25 -25
- package/dist/chunks/{file-mutation-5daktx2q.js → plugin-5daktx2q.js} +1 -1
- package/dist/chunks/{file-mutation-m8xex9m9.js → plugin-5mazm5hr.js} +4 -4
- package/dist/chunks/{file-mutation-pcxghkgz.js → plugin-5qwkxp89.js} +4 -4
- package/dist/chunks/{file-mutation-5t3nmthw.js → plugin-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-mutation-aztrj7be.js → plugin-5yd4b64d.js} +15 -15
- package/dist/chunks/{file-mutation-669tq793.js → plugin-669tq793.js} +1 -1
- package/dist/chunks/{file-mutation-w8ferkse.js → plugin-6702r7ke.js} +10 -10
- package/dist/chunks/{file-mutation-mrj8mwf0.js → plugin-6f8py4c6.js} +28 -28
- package/dist/chunks/{file-mutation-2402vzrj.js → plugin-6h73sxmp.js} +5 -5
- package/dist/chunks/{file-mutation-tknscx6b.js → plugin-6k3ez0z1.js} +20 -20
- package/dist/chunks/{file-mutation-6msgmcgs.js → plugin-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-mutation-exq2ffnr.js → plugin-70xrzfeb.js} +13 -13
- package/dist/chunks/{file-mutation-7bmhse3q.js → plugin-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-mutation-ez89fygf.js → plugin-7bqd3h08.js} +32 -32
- package/dist/chunks/{file-mutation-qgn6gcr1.js → plugin-7dqw4kz8.js} +5 -5
- package/dist/chunks/{file-mutation-nn2w30r8.js → plugin-7kx9m9jq.js} +23 -23
- package/dist/chunks/{file-mutation-bmb3ej5t.js → plugin-7rbdxjnj.js} +4 -4
- package/dist/chunks/{file-mutation-pdn3apj7.js → plugin-7rnj7wqq.js} +14 -14
- package/dist/chunks/{file-mutation-kc6k5esa.js → plugin-7szedt86.js} +23 -23
- package/dist/chunks/{file-mutation-h22dswsw.js → plugin-7v2bqa7d.js} +14 -14
- package/dist/chunks/{file-mutation-jshgtcbt.js → plugin-814kmemw.js} +13 -13
- package/dist/chunks/{file-mutation-q5ne48hz.js → plugin-82wy67mx.js} +13 -13
- package/dist/chunks/{file-mutation-jk58jcy1.js → plugin-84vx8zxj.js} +19 -19
- package/dist/chunks/{file-mutation-80rcay5r.js → plugin-88we24x6.js} +8 -8
- package/dist/chunks/{file-mutation-8d7r5vzw.js → plugin-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-mutation-n5anf3fb.js → plugin-8m7n61g9.js} +12 -12
- package/dist/chunks/{file-mutation-908kwkj3.js → plugin-8p70309a.js} +12 -12
- package/dist/chunks/{file-mutation-sbwvsvgv.js → plugin-8tg9364h.js} +17 -17
- package/dist/chunks/{file-mutation-3ag7ttm0.js → plugin-8vptany5.js} +15 -15
- package/dist/chunks/{file-mutation-nzyhnfxz.js → plugin-8z00fdkb.js} +4 -4
- package/dist/chunks/{file-mutation-93ygb5af.js → plugin-909p1r3q.js} +6 -6
- package/dist/chunks/{file-mutation-rq2znn32.js → plugin-90wed0f6.js} +26 -26
- package/dist/chunks/{file-mutation-j64p557d.js → plugin-97tk06h4.js} +12 -12
- package/dist/chunks/{file-mutation-h2j90xdb.js → plugin-9gs81rcm.js} +10 -10
- package/dist/chunks/{file-mutation-fwg4bfmy.js → plugin-9tcf48vb.js} +3 -3
- package/dist/chunks/{file-mutation-00x9hzck.js → plugin-9w8h1dp2.js} +8 -8
- package/dist/chunks/{file-mutation-fj17yqcr.js → plugin-9znj1xea.js} +1 -1
- package/dist/chunks/{file-mutation-was05px2.js → plugin-a3aksj2e.js} +28 -28
- package/dist/chunks/{file-mutation-r4jmx1pn.js → plugin-a6tpy895.js} +21 -21
- package/dist/chunks/{file-mutation-p6wxjpka.js → plugin-a81kfqvn.js} +4 -4
- package/dist/chunks/{file-mutation-aaet6srn.js → plugin-aaet6srn.js} +2 -2
- package/dist/chunks/{file-mutation-tmkkbmay.js → plugin-adb60020.js} +20 -20
- package/dist/chunks/{file-mutation-8443s99e.js → plugin-afzym0c1.js} +17 -17
- package/dist/chunks/{file-mutation-6m5gwycq.js → plugin-am9g8zmc.js} +9 -9
- package/dist/chunks/{file-mutation-7q8hkdsk.js → plugin-amg81mr5.js} +15 -15
- package/dist/chunks/{file-mutation-tcwxap8g.js → plugin-amk2g0b2.js} +26 -26
- package/dist/chunks/{file-mutation-b0g280va.js → plugin-b5ng3mar.js} +20 -20
- package/dist/chunks/{file-mutation-b6gygkdw.js → plugin-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-mutation-fss11zrv.js → plugin-bgmry1c8.js} +35 -35
- package/dist/chunks/{file-mutation-arws8trd.js → plugin-bhf7pen4.js} +4 -4
- package/dist/chunks/{file-mutation-z07pqspn.js → plugin-bjtzbw4r.js} +3 -3
- package/dist/chunks/{file-mutation-va5qff5x.js → plugin-bscb95cy.js} +4 -4
- package/dist/chunks/{file-mutation-vfjhn2wd.js → plugin-btbmdjwj.js} +4 -4
- package/dist/chunks/{file-mutation-6by7ejxe.js → plugin-bwkfhyr0.js} +20 -20
- package/dist/chunks/plugin-by5v678g.js +18 -0
- package/dist/chunks/{file-mutation-z6ze4cqf.js → plugin-bzx6e9pd.js} +8 -8
- package/dist/chunks/{file-mutation-607q5haz.js → plugin-c488s98d.js} +12 -12
- package/dist/chunks/{file-mutation-jxg9h7h6.js → plugin-c5gzkv3d.js} +54 -54
- package/dist/chunks/{file-mutation-qr8csav2.js → plugin-c78bbtc9.js} +5 -5
- package/dist/chunks/{file-mutation-hbj37746.js → plugin-c7t2jc66.js} +20 -20
- package/dist/chunks/{file-mutation-gzwr95fx.js → plugin-c8nmdwf6.js} +6 -6
- package/dist/chunks/{file-mutation-magykp64.js → plugin-cavr175a.js} +4 -4
- package/dist/chunks/{file-mutation-0jjvght6.js → plugin-cmhz4ywj.js} +10 -10
- package/dist/chunks/{file-mutation-mepdzt2d.js → plugin-cnt49j60.js} +11 -11
- package/dist/chunks/{file-mutation-jarn1zxe.js → plugin-cnvcdvk7.js} +6 -6
- package/dist/chunks/{file-mutation-hkfg6fzm.js → plugin-cr07tj7n.js} +5 -5
- package/dist/chunks/{file-mutation-n24gc8vs.js → plugin-crpn3041.js} +11 -11
- package/dist/chunks/{file-mutation-cwa6csj7.js → plugin-cwa6csj7.js} +2 -2
- package/dist/chunks/{file-mutation-9r9g3gnb.js → plugin-d2r7anev.js} +17 -17
- package/dist/chunks/{file-mutation-x9v2s4mt.js → plugin-d5rr1m9q.js} +43 -43
- package/dist/chunks/{file-mutation-kzc3h1h3.js → plugin-dbmc5gjs.js} +4 -4
- package/dist/chunks/{file-mutation-qcdf9a5m.js → plugin-dhm4srrs.js} +1 -1
- package/dist/chunks/{file-mutation-pz7cr76j.js → plugin-dk8jrwhg.js} +36 -36
- package/dist/chunks/{file-mutation-39thqb0z.js → plugin-dm7vvyya.js} +77 -77
- package/dist/chunks/{file-mutation-57b9ws8p.js → plugin-drwq78ky.js} +5 -5
- package/dist/chunks/{file-mutation-dw698h1a.js → plugin-dv8nta62.js} +24 -24
- package/dist/chunks/{file-mutation-2ka3r0xm.js → plugin-dx3kejg3.js} +21 -21
- package/dist/chunks/{file-mutation-zcnbza31.js → plugin-e09s77kp.js} +33 -33
- package/dist/chunks/{file-mutation-eaj1djv9.js → plugin-eaj1djv9.js} +1 -1
- package/dist/chunks/{file-mutation-ecfe7b91.js → plugin-ecfe7b91.js} +2 -2
- package/dist/chunks/plugin-edebp1ht.js +252 -0
- package/dist/chunks/{file-mutation-ef5x83kb.js → plugin-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-mutation-63vbqmwh.js → plugin-emgpx2h1.js} +2 -2
- package/dist/chunks/{file-mutation-sznyev98.js → plugin-engkm2d6.js} +5 -5
- package/dist/chunks/{file-mutation-73tb2d7t.js → plugin-eq1pz5kg.js} +3 -3
- package/dist/chunks/{file-mutation-etq0c3wd.js → plugin-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-mutation-1acjjqhc.js → plugin-f2n192rq.js} +4 -4
- package/dist/chunks/{file-mutation-mh153f1p.js → plugin-fbgc5stj.js} +11 -11
- package/dist/chunks/{file-mutation-n37c4crj.js → plugin-fdms3n6w.js} +9 -9
- package/dist/chunks/{file-mutation-j0b1x3jn.js → plugin-fty4trjx.js} +12 -12
- package/dist/chunks/{file-mutation-tpw6cwsb.js → plugin-g0445xdp.js} +8 -8
- package/dist/chunks/{file-mutation-t6vsspdg.js → plugin-g8d3gcyj.js} +4 -4
- package/dist/chunks/{file-mutation-pb1eahw5.js → plugin-g8jasmdt.js} +8 -8
- package/dist/chunks/{file-mutation-g4nge062.js → plugin-g9k8c9fb.js} +13 -13
- package/dist/chunks/{file-mutation-gd4qta3r.js → plugin-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-mutation-1vcc0tqx.js → plugin-gdqz7bvt.js} +9 -9
- package/dist/chunks/{file-mutation-94ek1h2f.js → plugin-gfvb90ym.js} +2 -2
- package/dist/chunks/{file-mutation-hekxc47r.js → plugin-gg3hnhsj.js} +1 -1
- package/dist/chunks/{file-mutation-eyansxxn.js → plugin-ghtqmzx5.js} +20 -20
- package/dist/chunks/{file-mutation-1pc8b49c.js → plugin-gjw33yaz.js} +10 -10
- package/dist/chunks/{file-mutation-gv6a8nnw.js → plugin-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-mutation-ba1mv5p0.js → plugin-gvf9v2c0.js} +3 -3
- package/dist/chunks/{file-mutation-xwm6bryg.js → plugin-h11s7pqt.js} +4 -4
- package/dist/chunks/{file-mutation-bhp9zwz7.js → plugin-h3jjvdef.js} +27 -27
- package/dist/chunks/{file-mutation-h6vf3j39.js → plugin-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-mutation-bw4jwp7x.js → plugin-hmz0wy72.js} +9 -9
- package/dist/chunks/{file-mutation-e6hmchc5.js → plugin-hnr5yq9h.js} +5 -5
- package/dist/chunks/{file-mutation-wf80fvfx.js → plugin-hqhd4wnf.js} +22 -22
- package/dist/chunks/{file-mutation-33z6kxja.js → plugin-hr6n5wvr.js} +36 -36
- package/dist/chunks/{file-mutation-skv4x9jf.js → plugin-hznc8n11.js} +16 -16
- package/dist/chunks/{file-mutation-n7y60bnp.js → plugin-j3xmv9k3.js} +24 -24
- package/dist/chunks/{file-mutation-p4etetpf.js → plugin-j53dbz6b.js} +29 -29
- package/dist/chunks/{file-mutation-j56e64zr.js → plugin-j56e64zr.js} +1 -1
- package/dist/chunks/{file-mutation-jvy91fcn.js → plugin-j5k70gxj.js} +24 -24
- package/dist/chunks/{file-mutation-j2978cmg.js → plugin-j6wx89t1.js} +36 -36
- package/dist/chunks/{file-mutation-91m9hd8f.js → plugin-j7wq2tw5.js} +2 -2
- package/dist/chunks/{file-mutation-bjgnzx8v.js → plugin-jjejcnfv.js} +8 -8
- package/dist/chunks/{file-mutation-dv5spdm5.js → plugin-js9c7n9a.js} +22 -22
- package/dist/chunks/{file-mutation-v0mz33x9.js → plugin-jv26kyrx.js} +69 -69
- package/dist/chunks/{file-mutation-eq1jxjww.js → plugin-jx5n61fp.js} +48 -48
- package/dist/chunks/{file-mutation-2wdjbrvw.js → plugin-jzjdh01g.js} +22 -22
- package/dist/chunks/{file-mutation-yrgme7j0.js → plugin-jzqva1wk.js} +10 -10
- package/dist/chunks/{file-mutation-k1qrnqst.js → plugin-k1qrnqst.js} +1 -1
- package/dist/chunks/{file-mutation-yksbe7bm.js → plugin-k5165mak.js} +2 -2
- package/dist/chunks/{file-mutation-chbxjcn8.js → plugin-kb0g0tvj.js} +9 -9
- package/dist/chunks/{file-mutation-mkwktbjz.js → plugin-kc24w74q.js} +20 -20
- package/dist/chunks/{file-mutation-5q075wzn.js → plugin-kd5aekfz.js} +8 -8
- package/dist/chunks/{file-mutation-3hmc9p2p.js → plugin-krkzq7r3.js} +51 -51
- package/dist/chunks/{file-mutation-0k08rxc6.js → plugin-ksd9d9c2.js} +31 -31
- package/dist/chunks/{file-mutation-m7h4c5p1.js → plugin-kwbg84br.js} +26 -26
- package/dist/chunks/{file-mutation-xdcdg5gg.js → plugin-kwf1bz3p.js} +11 -11
- package/dist/chunks/{file-mutation-m3fdjcah.js → plugin-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-mutation-m9w0rfyh.js → plugin-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-mutation-55gwq3qn.js → plugin-mbdwwctk.js} +42 -42
- package/dist/chunks/{file-mutation-bw35qwa5.js → plugin-mjsdfrqq.js} +1 -1
- package/dist/chunks/{file-mutation-7hrh0yhw.js → plugin-mw3cb245.js} +3 -3
- package/dist/chunks/{file-mutation-4d8ebea5.js → plugin-myp334fg.js} +13 -13
- package/dist/chunks/{file-mutation-feek47bh.js → plugin-mzjf7cd6.js} +24 -24
- package/dist/chunks/{file-mutation-vwmcz341.js → plugin-n4632865.js} +33 -33
- package/dist/chunks/{file-mutation-qcc5r1n1.js → plugin-n9sp10wr.js} +30 -30
- package/dist/chunks/{file-mutation-56798xf4.js → plugin-nb93grzr.js} +14 -14
- package/dist/chunks/{file-mutation-mdw2h4tg.js → plugin-ngczm8d5.js} +3 -3
- package/dist/chunks/{file-mutation-37ccqw5v.js → plugin-nmz8gp0b.js} +6 -6
- package/dist/chunks/{file-mutation-b2g6p7zb.js → plugin-nn1qzx0d.js} +9 -9
- package/dist/chunks/{file-mutation-fhs97t90.js → plugin-nscznvay.js} +9 -9
- package/dist/chunks/{file-mutation-82mxp87a.js → plugin-nt1t7xjc.js} +41 -41
- package/dist/chunks/{file-mutation-k3c624dm.js → plugin-nzks3jc8.js} +3 -3
- package/dist/chunks/{file-mutation-q752a12t.js → plugin-p7kwad1h.js} +17 -17
- package/dist/chunks/{file-mutation-vbr7z2an.js → plugin-pa1zn9qq.js} +7 -7
- package/dist/chunks/{file-mutation-2tn83n21.js → plugin-pbj1twy5.js} +15 -15
- package/dist/chunks/{file-mutation-qvcq4vww.js → plugin-pf6j7trv.js} +24 -24
- package/dist/chunks/{file-mutation-pjvnvgmy.js → plugin-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-mutation-pknna89w.js → plugin-pknna89w.js} +1 -1
- package/dist/chunks/{file-mutation-wd3x2cqz.js → plugin-psazpmmj.js} +2 -2
- package/dist/chunks/{file-mutation-7he179h5.js → plugin-pt1f48nk.js} +5 -5
- package/dist/chunks/{file-mutation-hjtdmxqs.js → plugin-q01vncef.js} +4 -4
- package/dist/chunks/{file-mutation-n3hytwrq.js → plugin-q8hay3rb.js} +10 -10
- package/dist/chunks/plugin-q9fz6bmv.js +26 -0
- package/dist/chunks/{file-mutation-0pkr918c.js → plugin-qfp12t6j.js} +36 -36
- package/dist/chunks/{file-mutation-31ndy29r.js → plugin-qq1ahj4r.js} +28 -28
- package/dist/chunks/{file-mutation-qm67wygm.js → plugin-qqmkqge3.js} +6 -6
- package/dist/chunks/{file-mutation-qsdy395h.js → plugin-qsdy395h.js} +1 -1
- package/dist/chunks/{file-mutation-sm965ndy.js → plugin-qvb3nf84.js} +8 -8
- package/dist/chunks/{file-mutation-xptjm771.js → plugin-r0g1befd.js} +9 -9
- package/dist/chunks/{file-mutation-nqnxh7mc.js → plugin-r33ff4dw.js} +4 -4
- package/dist/chunks/{file-mutation-bqdk09cg.js → plugin-r7sqkavj.js} +38 -38
- package/dist/chunks/{file-mutation-rdw6cm16.js → plugin-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-mutation-whrzd189.js → plugin-rfb0xkgm.js} +16 -16
- package/dist/chunks/{file-mutation-bvb037bs.js → plugin-rh154m9b.js} +5 -5
- package/dist/chunks/{file-mutation-zwy3hb2f.js → plugin-rhnmg28j.js} +15 -15
- package/dist/chunks/{file-mutation-1p07q0wb.js → plugin-rkprpv83.js} +4 -4
- package/dist/chunks/{file-mutation-n08rr4pq.js → plugin-rzp1atk9.js} +18 -18
- package/dist/chunks/{file-mutation-v0j3551j.js → plugin-s26macgz.js} +26 -26
- package/dist/chunks/{file-mutation-ka6f9z9r.js → plugin-s8baed6t.js} +1 -1
- package/dist/chunks/{file-mutation-7ncrrmyf.js → plugin-sgvepfk3.js} +11 -11
- package/dist/chunks/{file-mutation-166kng33.js → plugin-sk5hrgtc.js} +8 -8
- package/dist/chunks/{file-mutation-5rd0r6f7.js → plugin-sqxehe1r.js} +1 -1
- package/dist/chunks/{file-mutation-sx1n432n.js → plugin-sx1n432n.js} +1 -1
- package/dist/chunks/{file-mutation-px76j0pk.js → plugin-sy29epdy.js} +9 -9
- package/dist/chunks/{file-mutation-5vth3xyp.js → plugin-t465fnvh.js} +43 -43
- package/dist/chunks/{file-mutation-hzxg5djm.js → plugin-t7xzdxck.js} +16 -16
- package/dist/chunks/{file-mutation-tazgh4e4.js → plugin-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-mutation-tcezcvh9.js → plugin-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-mutation-tdstcens.js → plugin-tdstcens.js} +1 -1
- package/dist/chunks/{file-mutation-mksgfzgs.js → plugin-tgmwm58t.js} +8 -8
- package/dist/chunks/{file-mutation-k18pbb1y.js → plugin-tn37k3m9.js} +8 -8
- package/dist/chunks/{file-mutation-q9mp86yc.js → plugin-trpcsafk.js} +11 -11
- package/dist/chunks/{file-mutation-tvtrv512.js → plugin-tvtrv512.js} +1 -1
- package/dist/chunks/{file-mutation-mqwgf0bk.js → plugin-v16xhacn.js} +15 -15
- package/dist/chunks/{file-mutation-n61sj0zv.js → plugin-v20d0tgc.js} +18 -18
- package/dist/chunks/{file-mutation-xv48q100.js → plugin-va3gjm6r.js} +26 -26
- package/dist/chunks/{file-mutation-0bt5rkyv.js → plugin-vc318h8v.js} +9 -9
- package/dist/chunks/{file-mutation-6qdk3m7n.js → plugin-vc96fsty.js} +17 -17
- package/dist/chunks/{file-mutation-veqvce7d.js → plugin-veqvce7d.js} +1 -1
- package/dist/chunks/{file-mutation-w1hpm58k.js → plugin-vmdd0m2d.js} +41 -41
- package/dist/chunks/{file-mutation-xdyqf2ep.js → plugin-vsrk2gnt.js} +27 -27
- package/dist/chunks/{file-mutation-4ywmn05m.js → plugin-vvsa8xns.js} +5 -5
- package/dist/chunks/{file-mutation-fsmjrpwr.js → plugin-vzatwn00.js} +6 -6
- package/dist/chunks/{file-mutation-vzcthcp8.js → plugin-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-mutation-vzs5sf6e.js → plugin-vzs5sf6e.js} +1 -1
- package/dist/chunks/{file-mutation-w3wsvvr9.js → plugin-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-mutation-7mzanbhg.js → plugin-w5mhcnk6.js} +32 -32
- package/dist/chunks/{file-mutation-7629jcb2.js → plugin-w9kjr0s9.js} +9 -9
- package/dist/chunks/{file-mutation-wd87259q.js → plugin-wd87259q.js} +1 -1
- package/dist/chunks/{file-mutation-cekhgrsm.js → plugin-wtheh379.js} +87 -87
- package/dist/chunks/{file-mutation-w16ewm88.js → plugin-wxnjdw57.js} +32 -32
- package/dist/chunks/{file-mutation-4k2fjpjr.js → plugin-wxtwjjmk.js} +26 -26
- package/dist/chunks/{file-mutation-x1ezjp6w.js → plugin-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-mutation-m1hk3fbq.js → plugin-xd7x77jt.js} +8 -8
- package/dist/chunks/{file-mutation-w579p95t.js → plugin-xdyent50.js} +15 -15
- package/dist/chunks/{file-mutation-b07rpg7m.js → plugin-xg9t41r3.js} +2 -2
- package/dist/chunks/{file-mutation-jk776ydv.js → plugin-xj900wqc.js} +6 -6
- package/dist/chunks/{file-mutation-xkntkrq7.js → plugin-xkntkrq7.js} +2 -2
- package/dist/chunks/{file-mutation-6y9tzzzt.js → plugin-xxsztry3.js} +8 -8
- package/dist/chunks/{file-mutation-d48vtfkp.js → plugin-xya6rnzh.js} +10 -10
- package/dist/chunks/{file-mutation-y1fvbwt7.js → plugin-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-mutation-9ecw5ke1.js → plugin-y58smqnx.js} +17 -17
- package/dist/chunks/{file-mutation-jsb3pxss.js → plugin-y6kccm89.js} +8 -8
- package/dist/chunks/{file-mutation-61w5k2bk.js → plugin-y6tr3f1c.js} +3 -3
- package/dist/chunks/{file-mutation-dpkg50ah.js → plugin-y71avatq.js} +4 -4
- package/dist/chunks/{file-mutation-5zpn8qhf.js → plugin-yb8jxxt7.js} +125 -125
- package/dist/chunks/{file-mutation-gz2b78z0.js → plugin-yde77qe8.js} +14 -14
- package/dist/chunks/{file-mutation-na5yh9md.js → plugin-yh6b85yb.js} +16 -16
- package/dist/chunks/{file-mutation-b9frkjp9.js → plugin-ykkxkfdk.js} +1 -1
- package/dist/chunks/{file-mutation-xatxs8ze.js → plugin-yn8w9rk4.js} +4 -4
- package/dist/chunks/{file-mutation-yrhqyw5v.js → plugin-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-mutation-4pe60rv6.js → plugin-yrvpf7rs.js} +26 -26
- package/dist/chunks/{file-mutation-yrznvahk.js → plugin-yrznvahk.js} +2 -2
- package/dist/chunks/{file-mutation-x5pftk9r.js → plugin-yscn6m8x.js} +317 -317
- package/dist/chunks/{file-mutation-wmnz76n2.js → plugin-ysphgs6j.js} +14 -14
- package/dist/chunks/{file-mutation-z0bkrqjs.js → plugin-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-mutation-z63w68vq.js → plugin-z63w68vq.js} +2 -2
- package/dist/chunks/{file-mutation-zeh9ct20.js → plugin-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-mutation-m7qqma2k.js → plugin-zh26k158.js} +14 -14
- package/dist/chunks/{file-mutation-c4y5a9cq.js → plugin-zm1nwptd.js} +6 -6
- package/dist/chunks/{file-mutation-zr2ceqn5.js → plugin-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-mutation-yt06qecn.js → plugin-zrcqcakk.js} +33 -33
- package/dist/chunks/{file-mutation-f73rjn58.js → plugin-zvt5dnpc.js} +4 -4
- package/dist/chunks/{file-mutation-zxq2ej10.js → plugin-zxq2ej10.js} +1 -1
- 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 +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +66 -66
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -102
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- 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 +99 -99
- 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/id/id.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 +362 -362
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +84 -84
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +1 -1
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +98 -98
- package/dist/mcp/instructions.js +124 -124
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +94 -94
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +161 -161
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- 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 +221 -221
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- 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 +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +153 -153
- 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 +73 -73
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +13 -13
- package/dist/shell.js +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +110 -110
- 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 +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- 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 +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/file-mutation-qhp8asra.js +0 -252
- package/dist/chunks/file-mutation-rap9a73h.js +0 -18
- package/dist/chunks/file-mutation-wjf1m7fj.js +0 -26
- /package/dist/chunks/{file-mutation-0mesazry.js → plugin-0mesazry.js} +0 -0
- /package/dist/chunks/{file-mutation-0qkdqm5v.js → plugin-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-mutation-0zkw76rk.js → plugin-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-mutation-17cy0kzp.js → plugin-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-mutation-1cnp2v09.js → plugin-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-mutation-1kg9ymc8.js → plugin-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-mutation-24dcb14g.js → plugin-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-mutation-2710q6r3.js → plugin-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-mutation-2axfhc9x.js → plugin-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-mutation-2c3vjs8z.js → plugin-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-mutation-34c7v6d4.js → plugin-34c7v6d4.js} +0 -0
- /package/dist/chunks/{file-mutation-359p4xyc.js → plugin-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-mutation-3asan66x.js → plugin-3asan66x.js} +0 -0
- /package/dist/chunks/{file-mutation-3v8g72cx.js → plugin-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-mutation-3w5fmr99.js → plugin-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-mutation-3wcehsnq.js → plugin-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-mutation-43n2bw4t.js → plugin-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-mutation-4knz6hnm.js → plugin-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-mutation-4vcrnpx2.js → plugin-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-mutation-4y7fprxs.js → plugin-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-mutation-53557ph1.js → plugin-53557ph1.js} +0 -0
- /package/dist/chunks/{file-mutation-550bvhaj.js → plugin-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-mutation-5qd3pb7m.js → plugin-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{file-mutation-6prwharc.js → plugin-6prwharc.js} +0 -0
- /package/dist/chunks/{file-mutation-7akdwqpd.js → plugin-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-mutation-7m9af43g.js → plugin-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-mutation-822emrt2.js → plugin-822emrt2.js} +0 -0
- /package/dist/chunks/{file-mutation-88xbtdfr.js → plugin-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-mutation-8n3pysct.js → plugin-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-mutation-8wj87zfr.js → plugin-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-mutation-922hggd3.js → plugin-922hggd3.js} +0 -0
- /package/dist/chunks/{file-mutation-9a4afbnw.js → plugin-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-mutation-9rqn6x4v.js → plugin-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-mutation-a6k6eb26.js → plugin-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-mutation-af5trqkr.js → plugin-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-mutation-afrmfg78.js → plugin-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-mutation-aqzs7mqg.js → plugin-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-mutation-atq7p7m5.js → plugin-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-mutation-bkyjaxrp.js → plugin-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-mutation-bmr6ed5q.js → plugin-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-mutation-cf4snx6d.js → plugin-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-mutation-cvy3z8tj.js → plugin-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-mutation-d9fn303g.js → plugin-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-mutation-d9jj8t3e.js → plugin-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-mutation-dajrwvna.js → plugin-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-mutation-dap0rakb.js → plugin-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-mutation-df08tz66.js → plugin-df08tz66.js} +0 -0
- /package/dist/chunks/{file-mutation-dy18nga0.js → plugin-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-mutation-e5kj55wp.js → plugin-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-mutation-e73j6tqm.js → plugin-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-mutation-ec1grn59.js → plugin-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-mutation-eh3zwz77.js → plugin-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-mutation-emrn6kk6.js → plugin-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-mutation-f0mxakyp.js → plugin-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-mutation-f6n9ztr4.js → plugin-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-mutation-faypxj3z.js → plugin-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-mutation-fd410y7t.js → plugin-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-mutation-fxgpk5d8.js → plugin-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-mutation-g4wezp1m.js → plugin-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-mutation-g86h250q.js → plugin-g86h250q.js} +0 -0
- /package/dist/chunks/{file-mutation-gebd4c9n.js → plugin-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-mutation-gftt206x.js → plugin-gftt206x.js} +0 -0
- /package/dist/chunks/{file-mutation-hjbc5kem.js → plugin-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-mutation-hk9envan.js → plugin-hk9envan.js} +0 -0
- /package/dist/chunks/{file-mutation-j2ntwpah.js → plugin-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-mutation-j5zkgpj8.js → plugin-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-mutation-jjkms2e6.js → plugin-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-mutation-jr7sbwjy.js → plugin-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-mutation-jwfs4k6c.js → plugin-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-mutation-jzg6c2d5.js → plugin-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mutation-mp448xyj.js → plugin-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-mutation-msx8hqn2.js → plugin-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-mutation-n05xt0ee.js → plugin-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-mutation-n3j8tn72.js → plugin-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-mutation-njntx4h6.js → plugin-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-mutation-q3sfg36h.js → plugin-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-mutation-q74kybfr.js → plugin-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-mutation-qaymkmh1.js → plugin-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-mutation-qb87gjwd.js → plugin-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-mutation-qfa1cgps.js → plugin-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-mutation-qg3g05ea.js → plugin-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-mutation-qrg20bc0.js → plugin-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-mutation-rcb2kzg1.js → plugin-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-mutation-sdp7kfr6.js → plugin-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-mutation-sk3qaz4a.js → plugin-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-mutation-ssg3fenm.js → plugin-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-mutation-w803qqfp.js → plugin-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-mutation-wc3fc9cn.js → plugin-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-mutation-wer8tq1h.js → plugin-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-mutation-wtztk69x.js → plugin-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-mutation-x0ckcb58.js → plugin-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-mutation-x61499pn.js → plugin-x61499pn.js} +0 -0
- /package/dist/chunks/{file-mutation-y44na4kk.js → plugin-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-mutation-y8cydn3q.js → plugin-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-mutation-y8f7s663.js → plugin-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-mutation-ygaqb7jw.js → plugin-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-mutation-ym463w8f.js → plugin-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-mutation-z9919s4g.js → plugin-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./plugin-2fa7naq1.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./plugin-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./plugin-krkzq7r3.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./plugin-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event16,
|
|
21
|
+
ID: () => ID11,
|
|
22
|
+
Info: () => Info25,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service67,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node69,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event16 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
41
|
var Source4 = Skill.Source;
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var Info25 = Skill.Info;
|
|
43
|
+
var ID11 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service67 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service83;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID11.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID11.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID11.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID11.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service67.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node69 = makeLocationNode({
|
|
112
|
+
service: Service67,
|
|
113
113
|
layer,
|
|
114
114
|
deps: [node87]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info25, ID11, Name2, available2, toModelOutput3, prepare3, Service67, node69, exports_skill5, Event16 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./plugin-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./plugin-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID8,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service59,
|
|
4
|
+
node61
|
|
5
|
+
} from "./plugin-js9c7n9a.js";
|
|
6
6
|
import {
|
|
7
7
|
ID7,
|
|
8
8
|
isAISDK2,
|
|
@@ -12,23 +12,23 @@ import {
|
|
|
12
12
|
modelSettings2,
|
|
13
13
|
mergeOverlay2,
|
|
14
14
|
mergeHeaders2,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service58,
|
|
16
|
+
node60
|
|
17
|
+
} from "./plugin-90wed0f6.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service57,
|
|
20
|
+
node59
|
|
21
|
+
} from "./plugin-hmz0wy72.js";
|
|
22
22
|
import {
|
|
23
23
|
ID6,
|
|
24
24
|
VariantID2,
|
|
25
25
|
Ref2,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service56,
|
|
27
|
+
node58
|
|
28
|
+
} from "./plugin-vsrk2gnt.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./plugin-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/model-resolver.ts
|
|
34
34
|
var exports_model_resolver = {};
|
|
@@ -37,15 +37,15 @@ __export(exports_model_resolver, {
|
|
|
37
37
|
ModelConfigurationError: () => ModelConfigurationError3,
|
|
38
38
|
ModelInitializationError: () => ModelInitializationError3,
|
|
39
39
|
ModelResolver: () => exports_model_resolver,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service55,
|
|
41
41
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
|
|
42
42
|
UnsupportedCompactionError: () => UnsupportedCompactionError3,
|
|
43
43
|
UnsupportedPackageError: () => UnsupportedPackageError3,
|
|
44
44
|
VariantUnavailableError: () => VariantUnavailableError3,
|
|
45
45
|
fromCatalogModel: () => fromCatalogModel2,
|
|
46
46
|
hasPackage: () => hasPackage2,
|
|
47
|
-
layer: () =>
|
|
48
|
-
node: () =>
|
|
47
|
+
layer: () => layer21,
|
|
48
|
+
node: () => node57,
|
|
49
49
|
resolveModel: () => resolveModel2,
|
|
50
50
|
withVariant: () => withVariant2
|
|
51
51
|
});
|
|
@@ -118,7 +118,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
class
|
|
121
|
+
class Service55 extends Context.Service()("@opencode/ModelResolver") {
|
|
122
122
|
}
|
|
123
123
|
var withVariant2 = (model, variantID) => {
|
|
124
124
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -258,12 +258,12 @@ var causeMessage = (cause) => {
|
|
|
258
258
|
};
|
|
259
259
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
260
260
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
261
|
-
var
|
|
262
|
-
const providers = yield*
|
|
263
|
-
const models = yield*
|
|
264
|
-
const integrations = yield*
|
|
261
|
+
var layer21 = Layer.effect(Service55, Effect.gen(function* () {
|
|
262
|
+
const providers = yield* Service58;
|
|
263
|
+
const models = yield* Service56;
|
|
264
|
+
const integrations = yield* Service59;
|
|
265
265
|
const npm = yield* Npm.Service;
|
|
266
|
-
const aisdk = yield*
|
|
266
|
+
const aisdk = yield* Service57;
|
|
267
267
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
268
268
|
const provider = yield* providers.get(selected.providerID);
|
|
269
269
|
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID8.make(selected.providerID));
|
|
@@ -293,7 +293,7 @@ var layer24 = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
293
293
|
chunkTimeout: provider?.settings?.chunkTimeout
|
|
294
294
|
};
|
|
295
295
|
});
|
|
296
|
-
return
|
|
296
|
+
return Service55.of({
|
|
297
297
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
298
298
|
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(hasPackage2))));
|
|
299
299
|
if (!selected)
|
|
@@ -310,10 +310,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
310
310
|
const name = packageName2(packageName);
|
|
311
311
|
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/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
312
312
|
}
|
|
313
|
-
var
|
|
314
|
-
service:
|
|
315
|
-
layer:
|
|
316
|
-
deps: [
|
|
313
|
+
var node57 = makeLocationNode({
|
|
314
|
+
service: Service55,
|
|
315
|
+
layer: layer21,
|
|
316
|
+
deps: [node60, node58, node61, Npm.node, node59]
|
|
317
317
|
});
|
|
318
318
|
|
|
319
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3,
|
|
319
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service55, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer21, node57, exports_model_resolver };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-j7wq2tw5.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./plugin-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error2 = {};
|
|
@@ -19,7 +19,7 @@ __export(exports_error2, {
|
|
|
19
19
|
InboxConflictError: () => InboxConflictError2,
|
|
20
20
|
MessageDecodeError: () => MessageDecodeError2,
|
|
21
21
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
22
|
-
NotFoundError: () =>
|
|
22
|
+
NotFoundError: () => NotFoundError10,
|
|
23
23
|
PromptConflictError: () => PromptConflictError2,
|
|
24
24
|
SessionErrors: () => exports_error2,
|
|
25
25
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
32
32
|
import { Skill } from "@opencode/schema/skill";
|
|
33
33
|
import { SessionError } from "@opencode/schema/session-error";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class NotFoundError10 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
36
36
|
sessionID: SessionSchema2.ID
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
123
123
|
}) {
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
export {
|
|
126
|
+
export { NotFoundError10, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service81,
|
|
6
|
+
node85
|
|
7
|
+
} from "./plugin-c488s98d.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse5,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./plugin-6h73sxmp.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service65,
|
|
16
|
+
node67
|
|
17
|
+
} from "./plugin-6702r7ke.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./plugin-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service64,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node66,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service64 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service81;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service65;
|
|
110
|
+
return Service64.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse5(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing) : undefined;
|
|
122
|
-
const originReference = origin ?
|
|
122
|
+
const originReference = origin ? parse5(origin) : undefined;
|
|
123
123
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
124
124
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
125
125
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node66 = makeGlobalNode({
|
|
171
|
+
service: Service64,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node85, Global.node, node67]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service64, isError2, validateBranch2, node66, exports_repository_cache };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-2fa7naq1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service39
|
|
6
|
+
} from "./plugin-n4632865.js";
|
|
7
7
|
import {
|
|
8
8
|
Error3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./plugin-hqhd4wnf.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service42
|
|
12
|
+
} from "./plugin-8p70309a.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./plugin-1vr0zdnx.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./plugin-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./plugin-yn8w9rk4.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./plugin-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./plugin-ecfe7b91.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./plugin-xj900wqc.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./plugin-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make7
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
51
51
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
|
-
var
|
|
54
|
+
var make7 = Effect.gen(function* () {
|
|
55
55
|
const bus = yield* Service83;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service39;
|
|
58
|
+
const toolOutput = yield* Service42;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -209,4 +209,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
209
209
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
210
210
|
};
|
|
211
211
|
|
|
212
|
-
export { Outcome2,
|
|
212
|
+
export { Outcome2, make7, exports_step };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID5,
|
|
6
|
+
Service39
|
|
7
|
+
} from "./plugin-n4632865.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./plugin-j7wq2tw5.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./plugin-1vr0zdnx.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./plugin-bjtzbw4r.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./plugin-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service39;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID5.make(from),
|
|
91
|
+
to: ID5.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./plugin-gvf9v2c0.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./plugin-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./plugin-y71avatq.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./plugin-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service77
|
|
3
|
+
} from "./plugin-pf6j7trv.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
|
|
|
19
19
|
var OUTGOING_CAPACITY = 64;
|
|
20
20
|
var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
21
21
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
22
|
-
const environment = yield*
|
|
22
|
+
const environment = yield* Service77;
|
|
23
23
|
const scope = yield* Effect.scope;
|
|
24
24
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
25
25
|
const buffer = new ReadBuffer;
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-q8hay3rb.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-2fa7naq1.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event13
|
|
10
|
+
} from "./plugin-mzjf7cd6.js";
|
|
11
11
|
import {
|
|
12
12
|
ID8,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./plugin-js9c7n9a.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./plugin-8z00fdkb.js";
|
|
18
18
|
import {
|
|
19
19
|
Service13
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./plugin-k1qrnqst.js";
|
|
21
21
|
import {
|
|
22
22
|
ID7,
|
|
23
23
|
mergeOverlay2,
|
|
24
24
|
mergeHeaders2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./plugin-90wed0f6.js";
|
|
26
26
|
import {
|
|
27
27
|
ID4,
|
|
28
|
-
|
|
28
|
+
Input13,
|
|
29
29
|
Response2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./plugin-c7t2jc66.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/opencode.ts
|
|
33
33
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -278,7 +278,7 @@ var OpencodePlugin2 = define({
|
|
|
278
278
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
279
279
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
280
280
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
281
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
281
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
|
|
282
282
|
query: input.query,
|
|
283
283
|
providerID: descriptor.providerID
|
|
284
284
|
}));
|
|
@@ -314,7 +314,7 @@ var OpencodePlugin2 = define({
|
|
|
314
314
|
});
|
|
315
315
|
});
|
|
316
316
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
317
|
-
yield* bus.subscribe(
|
|
317
|
+
yield* bus.subscribe(Event13.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
318
318
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
319
319
|
})
|
|
320
320
|
});
|