@opencode/core 0.0.0-dev-21329 → 0.0.0-dev-21339
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{provider-b8wfffkn.js → mime-05jxx6vq.js} +43 -43
- package/dist/chunks/{provider-pb73ata6.js → mime-0hhagn33.js} +9 -9
- package/dist/chunks/{provider-ghz6dcrw.js → mime-0rhhft0h.js} +11 -11
- package/dist/chunks/{provider-anxvjzkq.js → mime-0v987vhe.js} +25 -25
- package/dist/chunks/{provider-0vbcp93d.js → mime-0vbcp93d.js} +2 -2
- package/dist/chunks/{provider-zdr4q96z.js → mime-1a3qc000.js} +45 -45
- package/dist/chunks/{provider-sn3sjqf3.js → mime-1b1qa5s5.js} +19 -19
- package/dist/chunks/{provider-1ep4rre3.js → mime-1ep4rre3.js} +1 -1
- package/dist/chunks/{provider-741ezkvh.js → mime-1snez3q2.js} +13 -13
- package/dist/chunks/{provider-cefkz2r6.js → mime-1ze9gtzp.js} +4 -4
- package/dist/chunks/{provider-6he8xgzh.js → mime-210j301x.js} +33 -33
- package/dist/chunks/{provider-b2sdxywb.js → mime-26470n97.js} +21 -21
- package/dist/chunks/{provider-9sgsjpgv.js → mime-27j7atwd.js} +11 -11
- package/dist/chunks/{provider-d3hcwwme.js → mime-2fmt2z51.js} +36 -36
- package/dist/chunks/{provider-5ef4vbtz.js → mime-2grhns7t.js} +24 -24
- package/dist/chunks/{provider-nsy3vht9.js → mime-2j2zyrdy.js} +11 -11
- package/dist/chunks/{provider-67pr4xd1.js → mime-2kt5zs07.js} +4 -4
- package/dist/chunks/{provider-09044n1v.js → mime-2n69efwp.js} +28 -28
- package/dist/chunks/{provider-kvgysxc4.js → mime-2pyykhxq.js} +8 -8
- package/dist/chunks/{provider-6wg5zv2g.js → mime-2q3hah95.js} +46 -46
- package/dist/chunks/{provider-4whf3fe5.js → mime-2wvwvgpp.js} +6 -6
- package/dist/chunks/{provider-ksj8gne7.js → mime-35tct5cx.js} +10 -10
- package/dist/chunks/{provider-eb8wfk2z.js → mime-363xf73s.js} +14 -14
- package/dist/chunks/{provider-hzrfc1p4.js → mime-36j2w7vd.js} +3 -3
- package/dist/chunks/{provider-5eer2xf9.js → mime-3a83a0n4.js} +8 -8
- package/dist/chunks/{provider-4q168qhf.js → mime-3h8ybeqf.js} +16 -16
- package/dist/chunks/{provider-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
- package/dist/chunks/{provider-3hwn7j4h.js → mime-3hwn7j4h.js} +2 -2
- package/dist/chunks/{provider-t95zrypp.js → mime-3nx13vd1.js} +12 -12
- package/dist/chunks/{provider-4mwpykj0.js → mime-3ppptnan.js} +6 -6
- package/dist/chunks/{provider-zf4tm514.js → mime-3sgrx7eh.js} +1 -1
- package/dist/chunks/{provider-3smtnn6g.js → mime-3smtnn6g.js} +1 -1
- package/dist/chunks/{provider-3tvqynh2.js → mime-3tvqynh2.js} +1 -1
- package/dist/chunks/{provider-3zsf4n22.js → mime-3zsf4n22.js} +1 -1
- package/dist/chunks/{provider-y25kvmwt.js → mime-45fhfyb6.js} +19 -19
- package/dist/chunks/{provider-jfttst7b.js → mime-4edh1ybr.js} +45 -45
- package/dist/chunks/{provider-sxq7v2v4.js → mime-4msn1dn7.js} +8 -8
- package/dist/chunks/{provider-wh6zw745.js → mime-4xpgt2w9.js} +5 -5
- package/dist/chunks/{provider-54ma36ye.js → mime-54ma36ye.js} +1 -1
- package/dist/chunks/{provider-g2k6x5re.js → mime-591vmycm.js} +16 -16
- package/dist/chunks/{provider-2yj1f1y3.js → mime-5k1a8c9n.js} +3 -3
- package/dist/chunks/{provider-5m9w47nd.js → mime-5m9w47nd.js} +1 -1
- package/dist/chunks/{provider-k1tcgxwm.js → mime-5mcb4r82.js} +26 -26
- package/dist/chunks/{provider-qc3kkhe5.js → mime-5nq1ms6a.js} +15 -15
- package/dist/chunks/{provider-96qffvj2.js → mime-65bdep3p.js} +15 -15
- package/dist/chunks/{provider-6827pfxn.js → mime-6827pfxn.js} +1 -1
- package/dist/chunks/{provider-00ppmc61.js → mime-6bkjad7x.js} +19 -19
- package/dist/chunks/{provider-5snz8jkt.js → mime-6c74smgc.js} +23 -23
- package/dist/chunks/{provider-x3nay0bp.js → mime-6hw2byvg.js} +26 -26
- package/dist/chunks/{provider-jws6fkes.js → mime-6pc27hjz.js} +4 -4
- package/dist/chunks/{provider-3yex0wtb.js → mime-6sv1j7p1.js} +21 -21
- package/dist/chunks/{provider-6xb47vfp.js → mime-6xb47vfp.js} +1 -1
- package/dist/chunks/{provider-5khprdrr.js → mime-6xp6e7ew.js} +12 -12
- package/dist/chunks/{provider-thpby3ff.js → mime-75zn4nez.js} +32 -32
- package/dist/chunks/{provider-775gj3j1.js → mime-775gj3j1.js} +2 -2
- package/dist/chunks/{provider-7p41bg5a.js → mime-7b8dthfm.js} +20 -20
- package/dist/chunks/{provider-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
- package/dist/chunks/{provider-99rsdps6.js → mime-7g7vpgt6.js} +26 -26
- package/dist/chunks/{provider-vns3jqz1.js → mime-7tf8dtmq.js} +25 -25
- package/dist/chunks/{provider-7v6vae4w.js → mime-7v6vae4w.js} +3 -3
- package/dist/chunks/{provider-9vmvrvp3.js → mime-7ycn1xyn.js} +3 -3
- package/dist/chunks/{provider-yqb8saa6.js → mime-7yhmtxjy.js} +42 -42
- package/dist/chunks/{provider-hc5sysjc.js → mime-7zz66x27.js} +8 -8
- package/dist/chunks/{provider-d858xzj7.js → mime-86qzxe6p.js} +4 -4
- package/dist/chunks/{provider-0ab51kag.js → mime-88w3pbz4.js} +3 -3
- package/dist/chunks/mime-8jd76e5x.js +257 -0
- package/dist/chunks/{provider-8m6m0r52.js → mime-8m6m0r52.js} +1 -1
- package/dist/chunks/{provider-8mywswrd.js → mime-8mywswrd.js} +1 -1
- package/dist/chunks/{provider-175xtgmg.js → mime-8qes4zes.js} +32 -32
- package/dist/chunks/{provider-rrt1jctc.js → mime-8wq9ahrn.js} +17 -17
- package/dist/chunks/{provider-jpadary8.js → mime-94hhz6sx.js} +5 -5
- package/dist/chunks/{provider-8h8zx08e.js → mime-96r8ntpe.js} +4 -4
- package/dist/chunks/{provider-nvjpyn5w.js → mime-9cgem3mg.js} +10 -10
- package/dist/chunks/{provider-0fgtgb3k.js → mime-9cjy2y0f.js} +7 -7
- package/dist/chunks/{provider-29mpht4c.js → mime-9kh6qrvv.js} +9 -9
- package/dist/chunks/{provider-xr4cy418.js → mime-9q64cs7z.js} +17 -17
- package/dist/chunks/{provider-pet46bzp.js → mime-9thqdc0e.js} +28 -28
- package/dist/chunks/{provider-h6310vsd.js → mime-a3c7ahw6.js} +4 -4
- package/dist/chunks/{provider-vp0bfksy.js → mime-a3t8a4ek.js} +2 -2
- package/dist/chunks/{provider-885y9aej.js → mime-a4kefsmz.js} +53 -53
- package/dist/chunks/{provider-7d8d42at.js → mime-a4v46qeq.js} +18 -18
- package/dist/chunks/{provider-f4wt9rjv.js → mime-a5rstpyx.js} +20 -20
- package/dist/chunks/{provider-x661k3y3.js → mime-addxnjmp.js} +4 -4
- package/dist/chunks/{provider-ywz575tz.js → mime-aejj3j3x.js} +24 -24
- package/dist/chunks/{provider-pvb5c58t.js → mime-anbvkb41.js} +86 -86
- package/dist/chunks/{provider-xzz788m6.js → mime-apg1ay16.js} +4 -4
- package/dist/chunks/{provider-g670se7s.js → mime-atb0xsyr.js} +32 -32
- package/dist/chunks/{provider-dmz4v12s.js → mime-av58fmp0.js} +5 -5
- package/dist/chunks/{provider-s928nhvr.js → mime-awzs35ex.js} +36 -36
- package/dist/chunks/{provider-xw8d9tf9.js → mime-ayydppvk.js} +19 -19
- package/dist/chunks/mime-b8nzk91a.js +26 -0
- package/dist/chunks/{provider-ebe089ff.js → mime-bj5rwn3p.js} +32 -32
- package/dist/chunks/{provider-bjx1sjef.js → mime-bjx1sjef.js} +2 -2
- package/dist/chunks/{provider-szfs1a1x.js → mime-bq2yw3wa.js} +10 -10
- package/dist/chunks/{provider-prsa6e7w.js → mime-bt6pkkaj.js} +20 -20
- package/dist/chunks/{provider-j4sjmvet.js → mime-btnda7dc.js} +25 -25
- package/dist/chunks/{provider-g686f6pq.js → mime-bxqk5pf5.js} +9 -9
- package/dist/chunks/{provider-bcvtcraz.js → mime-by1qby35.js} +1 -1
- package/dist/chunks/mime-by5v678g.js +18 -0
- package/dist/chunks/{provider-c1fqxshp.js → mime-c1fqxshp.js} +3 -3
- package/dist/chunks/{provider-pkmrmd0q.js → mime-c4dg695b.js} +12 -12
- package/dist/chunks/{provider-d94zeadz.js → mime-cb8phqng.js} +20 -20
- package/dist/chunks/{provider-0gppxhq7.js → mime-cbh1pab3.js} +21 -21
- package/dist/chunks/{provider-96bg00p7.js → mime-cdfyyb39.js} +11 -11
- package/dist/chunks/{provider-ktcywqbp.js → mime-cma758yw.js} +20 -20
- package/dist/chunks/{provider-jaz24y3m.js → mime-cmwcrfjs.js} +11 -11
- package/dist/chunks/{provider-ceas8q3x.js → mime-cn7axejn.js} +23 -23
- package/dist/chunks/{provider-y63ccfnv.js → mime-cxz2ffwb.js} +8 -8
- package/dist/chunks/{provider-5aacaeqp.js → mime-cym0ttr6.js} +15 -15
- package/dist/chunks/{provider-75230mfn.js → mime-d0t8fgr2.js} +9 -9
- package/dist/chunks/{provider-wr2fcqrv.js → mime-d1dj0fst.js} +35 -35
- package/dist/chunks/{provider-ryr25ayn.js → mime-d216944b.js} +5 -5
- package/dist/chunks/{provider-j41axa3n.js → mime-d960kgxh.js} +4 -4
- package/dist/chunks/{provider-geq9kd3q.js → mime-dbh0v57c.js} +22 -22
- package/dist/chunks/{provider-q2aapacf.js → mime-dcbq9ht0.js} +15 -15
- package/dist/chunks/{provider-c0q6ebnk.js → mime-dkbgdzkv.js} +8 -8
- package/dist/chunks/{provider-1y7y12cx.js → mime-dr59kwwc.js} +5 -5
- package/dist/chunks/{provider-qqeeq2t9.js → mime-drwq78ky.js} +7 -7
- package/dist/chunks/{provider-536721yp.js → mime-e5dpp224.js} +2 -2
- package/dist/chunks/{provider-kaj3hp9x.js → mime-e6q92anz.js} +43 -43
- package/dist/chunks/{provider-jp5wxgtm.js → mime-eas6sj4m.js} +5 -5
- package/dist/chunks/{provider-1qhfkrq1.js → mime-eeesey6v.js} +11 -11
- package/dist/chunks/{provider-eej6y6fw.js → mime-eej6y6fw.js} +2 -2
- package/dist/chunks/{provider-ef5x83kb.js → mime-ef5x83kb.js} +1 -1
- package/dist/chunks/{provider-4mw9c95a.js → mime-ef9ze1vx.js} +13 -13
- package/dist/chunks/{provider-0e84c7n6.js → mime-ekeymhmr.js} +28 -28
- package/dist/chunks/{provider-qz6qd3nr.js → mime-esy1dcn0.js} +26 -26
- package/dist/chunks/{provider-4mzf1xg2.js → mime-f3e0sx8s.js} +9 -9
- package/dist/chunks/{provider-e4rfwk3b.js → mime-f81gjvr6.js} +30 -30
- package/dist/chunks/{provider-kzca85qn.js → mime-f8694tqq.js} +13 -13
- package/dist/chunks/{provider-bbdgy53j.js → mime-f9gevem8.js} +21 -21
- package/dist/chunks/{provider-fcy631f0.js → mime-fcy631f0.js} +1 -1
- package/dist/chunks/{provider-58fxbgyk.js → mime-fdfn6aez.js} +7 -7
- package/dist/chunks/{provider-bydnjh3t.js → mime-fdms3n6w.js} +9 -9
- package/dist/chunks/{provider-bmx9sysk.js → mime-frq3w790.js} +3 -3
- package/dist/chunks/{provider-tjj1y1w1.js → mime-fwhrxgsc.js} +1 -1
- package/dist/chunks/{provider-n5csmyza.js → mime-fww2ha2b.js} +10 -10
- package/dist/chunks/{provider-b9fn48zx.js → mime-gc287a5z.js} +14 -14
- package/dist/chunks/{provider-gd4qta3r.js → mime-gd4qta3r.js} +1 -1
- package/dist/chunks/{provider-zqn88c2g.js → mime-gd5kscdp.js} +32 -32
- package/dist/chunks/{provider-de0f4qpm.js → mime-gfv74hsb.js} +322 -322
- package/dist/chunks/{provider-0530b4kq.js → mime-gg0kdfz9.js} +4 -4
- package/dist/chunks/{provider-bx49fcep.js → mime-ggxg7af5.js} +32 -32
- package/dist/chunks/{provider-z6c3x22d.js → mime-gj71zhbs.js} +5 -5
- package/dist/chunks/{provider-2sejkfem.js → mime-gjwgx2c5.js} +9 -9
- package/dist/chunks/{provider-1x42vr1k.js → mime-gkj5aw2x.js} +23 -23
- package/dist/chunks/{provider-2vs2nh1n.js → mime-gst7axd9.js} +4 -4
- package/dist/chunks/{provider-t0s8rbs5.js → mime-gsy7xxhc.js} +21 -21
- package/dist/chunks/{provider-ay0g6tkj.js → mime-h1hqyy2d.js} +4 -4
- package/dist/chunks/{provider-xcmj7eak.js → mime-h2v6zsz5.js} +8 -8
- package/dist/chunks/{provider-pdbayhem.js → mime-h6ctxkn0.js} +17 -17
- package/dist/chunks/{provider-h6vf3j39.js → mime-h6vf3j39.js} +1 -1
- package/dist/chunks/{provider-8nr0wta2.js → mime-h9jhph60.js} +36 -36
- package/dist/chunks/{provider-rkjbr4f7.js → mime-hfsvs7n4.js} +18 -18
- package/dist/chunks/{provider-hgz4x7wa.js → mime-hgz4x7wa.js} +1 -1
- package/dist/chunks/{provider-y520pesp.js → mime-hn7zz1xj.js} +6 -6
- package/dist/chunks/{provider-fxaymqdw.js → mime-hq3c8me3.js} +4 -4
- package/dist/chunks/{provider-60t1ftp1.js → mime-hraxftwv.js} +15 -15
- package/dist/chunks/{provider-fcza8p90.js → mime-hx6xg82e.js} +11 -11
- package/dist/chunks/{provider-vmzpvwg1.js → mime-j0bd37fk.js} +17 -17
- package/dist/chunks/{provider-csy7nqcf.js → mime-j77evmy8.js} +32 -32
- package/dist/chunks/{provider-h6cxe1p1.js → mime-je70106q.js} +14 -14
- package/dist/chunks/{provider-d1tg7a5g.js → mime-jjax4c95.js} +7 -7
- package/dist/chunks/{provider-8yrncfx7.js → mime-jks80q0e.js} +15 -15
- package/dist/chunks/{provider-vx01yvfm.js → mime-jna5j85n.js} +5 -5
- package/dist/chunks/{provider-pcf154px.js → mime-jv2eb38b.js} +33 -33
- package/dist/chunks/{provider-ddxaekd8.js → mime-jv5as095.js} +45 -45
- package/dist/chunks/{provider-v52b5t79.js → mime-jyegf6tw.js} +11 -11
- package/dist/chunks/{provider-1z2vw5jb.js → mime-k1s91q86.js} +11 -11
- package/dist/chunks/{provider-568xrara.js → mime-k2an5y80.js} +16 -16
- package/dist/chunks/{provider-w1ba7bfx.js → mime-kecqjjhm.js} +5 -5
- package/dist/chunks/{provider-vwpcpzep.js → mime-kk8h1mek.js} +8 -8
- package/dist/chunks/{provider-1ftcw4z7.js → mime-kt2kmnda.js} +13 -13
- package/dist/chunks/{provider-ycn9c87f.js → mime-ktct6gj7.js} +26 -26
- package/dist/chunks/{provider-btgr67bq.js → mime-kw5x1ws0.js} +29 -29
- package/dist/chunks/{provider-kwb1v3vj.js → mime-kwb1v3vj.js} +1 -1
- package/dist/chunks/{provider-fendrtas.js → mime-m7fzbc2h.js} +11 -11
- package/dist/chunks/{provider-49e8k0qr.js → mime-m9dca9fz.js} +46 -46
- package/dist/chunks/{provider-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
- package/dist/chunks/{provider-maspj1v3.js → mime-maspj1v3.js} +1 -1
- package/dist/chunks/{provider-sd9kh883.js → mime-mqshze7h.js} +10 -10
- package/dist/chunks/{provider-mzhjnc0t.js → mime-mskae7ye.js} +15 -15
- package/dist/chunks/{provider-5zt7gmc9.js → mime-mvfdckk2.js} +6 -6
- package/dist/chunks/{provider-scdy5x78.js → mime-n0j9akmr.js} +13 -13
- package/dist/chunks/{provider-wt93hw18.js → mime-n6rfymvw.js} +20 -20
- package/dist/chunks/{provider-xpbdr7s0.js → mime-n7bf85v8.js} +14 -14
- package/dist/chunks/{provider-nygx43rt.js → mime-n9mqnacb.js} +20 -20
- package/dist/chunks/{provider-ysjrfadg.js → mime-nbdhrwgz.js} +12 -12
- package/dist/chunks/{provider-3y7x8gcw.js → mime-nedwb6sh.js} +18 -18
- package/dist/chunks/{provider-r2z489rp.js → mime-nma959mg.js} +3 -3
- package/dist/chunks/{provider-nz56sr1f.js → mime-nz56sr1f.js} +2 -2
- package/dist/chunks/{provider-5xtgfte3.js → mime-p37cw4rj.js} +4 -4
- package/dist/chunks/{provider-1ctkwwte.js → mime-p6tgyr8a.js} +26 -26
- package/dist/chunks/{provider-mchpen4k.js → mime-pb68r9g5.js} +21 -21
- package/dist/chunks/{provider-pjvnvgmy.js → mime-pjvnvgmy.js} +1 -1
- package/dist/chunks/{provider-pknna89w.js → mime-pknna89w.js} +1 -1
- package/dist/chunks/{provider-7tgpfat1.js → mime-py33dmtd.js} +24 -24
- package/dist/chunks/{provider-krdey6nc.js → mime-q5hse70z.js} +6 -6
- package/dist/chunks/{provider-680tw01d.js → mime-q8qtzweg.js} +33 -33
- package/dist/chunks/{provider-k12ram42.js → mime-qafp7hve.js} +16 -16
- package/dist/chunks/{provider-2m5ysgvp.js → mime-qg0nhskn.js} +1 -1
- package/dist/chunks/{provider-fcrkznn8.js → mime-qgn6gcr1.js} +5 -5
- package/dist/chunks/{provider-qnc92qwc.js → mime-qnc92qwc.js} +1 -1
- package/dist/chunks/{provider-n96tvss2.js → mime-qs1ba8h1.js} +9 -9
- package/dist/chunks/{provider-qsdy395h.js → mime-qsdy395h.js} +1 -1
- package/dist/chunks/{provider-fxva79x5.js → mime-qxcc90er.js} +17 -17
- package/dist/chunks/{provider-vsbn5d13.js → mime-r30ajxz6.js} +188 -188
- package/dist/chunks/{provider-pzeyc7aw.js → mime-r4wr7qga.js} +48 -28
- package/dist/chunks/{provider-rdw6cm16.js → mime-rdw6cm16.js} +1 -1
- package/dist/chunks/{provider-wnk72qpq.js → mime-re585wd9.js} +8 -8
- package/dist/chunks/{provider-rert0e01.js → mime-rert0e01.js} +2 -2
- package/dist/chunks/{provider-t550f9t1.js → mime-rhjbct0v.js} +4 -4
- package/dist/chunks/{provider-rj3eygr5.js → mime-rj3eygr5.js} +2 -2
- package/dist/chunks/{provider-5nrew705.js → mime-rmk2c50f.js} +5 -5
- package/dist/chunks/{provider-gnpgqyhn.js → mime-rny6abvn.js} +5 -5
- package/dist/chunks/{provider-vg0nnb5s.js → mime-rp9zszvz.js} +31 -31
- package/dist/chunks/{provider-sh8v4byq.js → mime-rs8b8est.js} +12 -12
- package/dist/chunks/{provider-az9az350.js → mime-rw06gb30.js} +10 -10
- package/dist/chunks/{provider-2ee96hg5.js → mime-rwxgt69a.js} +18 -18
- package/dist/chunks/{provider-sa8ekw3f.js → mime-sa8ekw3f.js} +2 -2
- package/dist/chunks/{provider-cymk1ch0.js → mime-sc8fqqjt.js} +20 -20
- package/dist/chunks/{provider-1rtmktmb.js → mime-snxtdzhb.js} +5 -5
- package/dist/chunks/{provider-syv4x271.js → mime-syv4x271.js} +1 -1
- package/dist/chunks/{provider-p2z6bw8f.js → mime-t7sgq6th.js} +23 -23
- package/dist/chunks/{provider-1nzh38e4.js → mime-tat11k01.js} +9 -9
- package/dist/chunks/{provider-tazgh4e4.js → mime-tazgh4e4.js} +1 -1
- package/dist/chunks/{provider-tcezcvh9.js → mime-tcezcvh9.js} +1 -1
- package/dist/chunks/{provider-tdstcens.js → mime-tdstcens.js} +1 -1
- package/dist/chunks/{provider-cc1a3m3w.js → mime-tjkk7p4d.js} +12 -12
- package/dist/chunks/{provider-tm0kqsz3.js → mime-tm0kqsz3.js} +1 -1
- package/dist/chunks/{provider-d3vm3y3t.js → mime-tr3z8g9z.js} +17 -17
- package/dist/chunks/{provider-25yddszk.js → mime-tt8gc4fv.js} +3 -3
- package/dist/chunks/{provider-r0nakx9w.js → mime-tvtrzq2c.js} +11 -11
- package/dist/chunks/{provider-waskdk5r.js → mime-txm3e8qz.js} +4 -4
- package/dist/chunks/{provider-tyytaxap.js → mime-tyytaxap.js} +1 -1
- package/dist/chunks/{provider-0javqkgf.js → mime-v210v162.js} +9 -9
- package/dist/chunks/{provider-v7p4zvkq.js → mime-v7p4zvkq.js} +2 -2
- package/dist/chunks/{provider-vep9yay1.js → mime-vep9yay1.js} +1 -1
- package/dist/chunks/{provider-e5bf4nks.js → mime-veq7cj7z.js} +64 -64
- package/dist/chunks/{provider-veqvce7d.js → mime-veqvce7d.js} +1 -1
- package/dist/chunks/{provider-58s3s9ss.js → mime-vqws8g2z.js} +15 -15
- package/dist/chunks/{provider-ep1q5408.js → mime-vt5qa7dz.js} +9 -9
- package/dist/chunks/{provider-vzs5sf6e.js → mime-vzs5sf6e.js} +1 -1
- package/dist/chunks/{provider-1t4fqtab.js → mime-w02hg0x9.js} +11 -11
- package/dist/chunks/{provider-bx3vfcp8.js → mime-w05fahkw.js} +52 -52
- package/dist/chunks/{provider-v4sd0n2j.js → mime-w0rcsb4b.js} +9 -9
- package/dist/chunks/{provider-84txncab.js → mime-w1eejvng.js} +5 -5
- package/dist/chunks/{provider-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
- package/dist/chunks/{provider-pemyrp0y.js → mime-w6nkw9ar.js} +4 -4
- package/dist/chunks/{provider-m0n0fphw.js → mime-wae9vwb0.js} +11 -11
- package/dist/chunks/{provider-rscvxc63.js → mime-wc3jh00j.js} +12 -12
- package/dist/chunks/{provider-wd87259q.js → mime-wd87259q.js} +1 -1
- package/dist/chunks/{provider-xmxs181h.js → mime-we0kt4xw.js} +47 -47
- package/dist/chunks/{provider-d7peams7.js → mime-wfrjxtd3.js} +17 -17
- package/dist/chunks/{provider-nvxfpxcq.js → mime-wq6fm8d1.js} +5 -5
- package/dist/chunks/{provider-jehj871w.js → mime-x0nch90w.js} +6 -6
- package/dist/chunks/{provider-k05eevpf.js → mime-xb0e80n2.js} +89 -89
- package/dist/chunks/{provider-e93tw7gx.js → mime-xb5ds1z6.js} +3 -3
- package/dist/chunks/{provider-h0n6thsx.js → mime-xhxra16p.js} +2 -2
- package/dist/chunks/{provider-qz4bwykm.js → mime-xqe640kt.js} +12 -12
- package/dist/chunks/{provider-y1fvbwt7.js → mime-y1fvbwt7.js} +1 -1
- package/dist/chunks/{provider-dpkg50ah.js → mime-y71avatq.js} +4 -4
- package/dist/chunks/{provider-n8nz8bt1.js → mime-y76zyqj0.js} +32 -32
- package/dist/chunks/{provider-0f5022hy.js → mime-yab6aww8.js} +5 -5
- package/dist/chunks/{provider-2xcwvy90.js → mime-yaphm17j.js} +16 -16
- package/dist/chunks/{provider-6mxzj5r1.js → mime-ym8x4whc.js} +6 -6
- package/dist/chunks/{provider-vphpz1k6.js → mime-yrh91m59.js} +6 -6
- package/dist/chunks/{provider-rbky9hr4.js → mime-ys25sak2.js} +13 -13
- package/dist/chunks/{provider-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
- package/dist/chunks/{provider-z18fegx4.js → mime-z18fegx4.js} +1 -1
- package/dist/chunks/{provider-r7m6m988.js → mime-z2006gkr.js} +32 -32
- package/dist/chunks/{provider-zyjyfhst.js → mime-z34vmdaq.js} +13 -13
- package/dist/chunks/{provider-rky6e642.js → mime-z60xwe59.js} +12 -12
- package/dist/chunks/{provider-5wrye2gn.js → mime-z88gg5pw.js} +50 -50
- package/dist/chunks/{provider-w0r49kaa.js → mime-zjgm4vvw.js} +14 -14
- package/dist/chunks/{provider-qt5db69v.js → mime-zkydccpb.js} +11 -11
- package/dist/chunks/{provider-ywm9yds8.js → mime-znjawe4y.js} +27 -27
- package/dist/chunks/{provider-dys7k0s0.js → mime-zq01xz8r.js} +8 -8
- package/dist/chunks/{provider-zr2ceqn5.js → mime-zr2ceqn5.js} +1 -1
- package/dist/chunks/{provider-zxq2ej10.js → mime-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 +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +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 +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +116 -116
- 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 +85 -85
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- 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 +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +106 -106
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +104 -104
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +88 -88
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- 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 +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +123 -123
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +123 -123
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +103 -103
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +132 -132
- 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 +125 -125
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- 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 +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- 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 +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- 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 +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +125 -125
- 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 +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- 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 +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +86 -86
- package/dist/websearch.js +86 -86
- 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 +100 -100
- package/package.json +8 -8
- package/dist/chunks/provider-15gjkqd1.js +0 -26
- package/dist/chunks/provider-9zdhvgqs.js +0 -18
- package/dist/chunks/provider-rxy7shc0.js +0 -257
- /package/dist/chunks/{provider-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{provider-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
- /package/dist/chunks/{provider-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
- /package/dist/chunks/{provider-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
- /package/dist/chunks/{provider-1kg9ymc8.js → mime-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{provider-24dcb14g.js → mime-24dcb14g.js} +0 -0
- /package/dist/chunks/{provider-2710q6r3.js → mime-2710q6r3.js} +0 -0
- /package/dist/chunks/{provider-2axfhc9x.js → mime-2axfhc9x.js} +0 -0
- /package/dist/chunks/{provider-2bv980vf.js → mime-2bv980vf.js} +0 -0
- /package/dist/chunks/{provider-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{provider-359p4xyc.js → mime-359p4xyc.js} +0 -0
- /package/dist/chunks/{provider-3asan66x.js → mime-3asan66x.js} +0 -0
- /package/dist/chunks/{provider-3t0ybcrp.js → mime-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{provider-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
- /package/dist/chunks/{provider-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
- /package/dist/chunks/{provider-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
- /package/dist/chunks/{provider-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
- /package/dist/chunks/{provider-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{provider-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
- /package/dist/chunks/{provider-53557ph1.js → mime-53557ph1.js} +0 -0
- /package/dist/chunks/{provider-550bvhaj.js → mime-550bvhaj.js} +0 -0
- /package/dist/chunks/{provider-5qd3pb7m.js → mime-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{provider-6prwharc.js → mime-6prwharc.js} +0 -0
- /package/dist/chunks/{provider-6q2bdcd1.js → mime-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{provider-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
- /package/dist/chunks/{provider-7m9af43g.js → mime-7m9af43g.js} +0 -0
- /package/dist/chunks/{provider-822emrt2.js → mime-822emrt2.js} +0 -0
- /package/dist/chunks/{provider-84wd9syh.js → mime-84wd9syh.js} +0 -0
- /package/dist/chunks/{provider-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
- /package/dist/chunks/{provider-8n3pysct.js → mime-8n3pysct.js} +0 -0
- /package/dist/chunks/{provider-8wj87zfr.js → mime-8wj87zfr.js} +0 -0
- /package/dist/chunks/{provider-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
- /package/dist/chunks/{provider-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{provider-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
- /package/dist/chunks/{provider-af5trqkr.js → mime-af5trqkr.js} +0 -0
- /package/dist/chunks/{provider-afrmfg78.js → mime-afrmfg78.js} +0 -0
- /package/dist/chunks/{provider-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{provider-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
- /package/dist/chunks/{provider-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{provider-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{provider-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
- /package/dist/chunks/{provider-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{provider-d9fn303g.js → mime-d9fn303g.js} +0 -0
- /package/dist/chunks/{provider-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{provider-dajrwvna.js → mime-dajrwvna.js} +0 -0
- /package/dist/chunks/{provider-dap0rakb.js → mime-dap0rakb.js} +0 -0
- /package/dist/chunks/{provider-df08tz66.js → mime-df08tz66.js} +0 -0
- /package/dist/chunks/{provider-dy18nga0.js → mime-dy18nga0.js} +0 -0
- /package/dist/chunks/{provider-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
- /package/dist/chunks/{provider-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
- /package/dist/chunks/{provider-ec1grn59.js → mime-ec1grn59.js} +0 -0
- /package/dist/chunks/{provider-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
- /package/dist/chunks/{provider-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
- /package/dist/chunks/{provider-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
- /package/dist/chunks/{provider-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{provider-faypxj3z.js → mime-faypxj3z.js} +0 -0
- /package/dist/chunks/{provider-fd410y7t.js → mime-fd410y7t.js} +0 -0
- /package/dist/chunks/{provider-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
- /package/dist/chunks/{provider-g86h250q.js → mime-g86h250q.js} +0 -0
- /package/dist/chunks/{provider-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
- /package/dist/chunks/{provider-gftt206x.js → mime-gftt206x.js} +0 -0
- /package/dist/chunks/{provider-hcxmzztb.js → mime-hcxmzztb.js} +0 -0
- /package/dist/chunks/{provider-hk9envan.js → mime-hk9envan.js} +0 -0
- /package/dist/chunks/{provider-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
- /package/dist/chunks/{provider-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{provider-jjkms2e6.js → mime-jjkms2e6.js} +0 -0
- /package/dist/chunks/{provider-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{provider-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{provider-jze0r7bz.js → mime-jze0r7bz.js} +0 -0
- /package/dist/chunks/{provider-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{provider-m18g726c.js → mime-m18g726c.js} +0 -0
- /package/dist/chunks/{provider-mp448xyj.js → mime-mp448xyj.js} +0 -0
- /package/dist/chunks/{provider-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
- /package/dist/chunks/{provider-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
- /package/dist/chunks/{provider-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
- /package/dist/chunks/{provider-njntx4h6.js → mime-njntx4h6.js} +0 -0
- /package/dist/chunks/{provider-pkyv6v7h.js → mime-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{provider-pyv0edze.js → mime-pyv0edze.js} +0 -0
- /package/dist/chunks/{provider-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
- /package/dist/chunks/{provider-q74kybfr.js → mime-q74kybfr.js} +0 -0
- /package/dist/chunks/{provider-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
- /package/dist/chunks/{provider-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
- /package/dist/chunks/{provider-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
- /package/dist/chunks/{provider-qg3g05ea.js → mime-qg3g05ea.js} +0 -0
- /package/dist/chunks/{provider-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
- /package/dist/chunks/{provider-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{provider-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{provider-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
- /package/dist/chunks/{provider-ve7vex1e.js → mime-ve7vex1e.js} +0 -0
- /package/dist/chunks/{provider-w803qqfp.js → mime-w803qqfp.js} +0 -0
- /package/dist/chunks/{provider-wc3fc9cn.js → mime-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{provider-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
- /package/dist/chunks/{provider-wjj7prxr.js → mime-wjj7prxr.js} +0 -0
- /package/dist/chunks/{provider-wtztk69x.js → mime-wtztk69x.js} +0 -0
- /package/dist/chunks/{provider-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
- /package/dist/chunks/{provider-x61499pn.js → mime-x61499pn.js} +0 -0
- /package/dist/chunks/{provider-y44na4kk.js → mime-y44na4kk.js} +0 -0
- /package/dist/chunks/{provider-y8f7s663.js → mime-y8f7s663.js} +0 -0
- /package/dist/chunks/{provider-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{provider-ym463w8f.js → mime-ym463w8f.js} +0 -0
- /package/dist/chunks/{provider-z5v4ffb3.js → mime-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{provider-z9919s4g.js → mime-z9919s4g.js} +0 -0
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./mime-qafp7hve.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service70
|
|
6
|
+
} from "./mime-aejj3j3x.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service17,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./mime-z34vmdaq.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service67
|
|
14
|
+
} from "./mime-mskae7ye.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service56
|
|
17
|
+
} from "./mime-w05fahkw.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service55,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./mime-hfsvs7n4.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./mime-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./mime-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input13,
|
|
34
|
+
Output: () => Output9,
|
|
35
|
+
Plugin: () => Plugin31,
|
|
36
|
+
name: () => name13
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name13 = "edit";
|
|
43
|
+
var Input13 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input2 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output9 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -190,21 +190,21 @@ var countBefore = (positions, offset) => {
|
|
|
190
190
|
}
|
|
191
191
|
return low;
|
|
192
192
|
};
|
|
193
|
-
var
|
|
193
|
+
var Plugin31 = {
|
|
194
194
|
id: "opencode.tool.edit",
|
|
195
195
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
196
|
-
const access = yield*
|
|
197
|
-
const fileMutation = yield*
|
|
198
|
-
const environment = yield*
|
|
199
|
-
const formatter = yield*
|
|
200
|
-
const location = yield*
|
|
201
|
-
const permission = yield*
|
|
196
|
+
const access = yield* Service55;
|
|
197
|
+
const fileMutation = yield* Service17;
|
|
198
|
+
const environment = yield* Service70;
|
|
199
|
+
const formatter = yield* Service67;
|
|
200
|
+
const location = yield* Service82;
|
|
201
|
+
const permission = yield* Service56;
|
|
202
202
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
203
|
-
name:
|
|
203
|
+
name: name13,
|
|
204
204
|
options: { codemode: false, permission: "edit" },
|
|
205
205
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
206
|
-
input:
|
|
207
|
-
output:
|
|
206
|
+
input: Input13,
|
|
207
|
+
output: Output9,
|
|
208
208
|
execute: (input, context) => {
|
|
209
209
|
return Effect.gen(function* () {
|
|
210
210
|
const permissionSource = {
|
|
@@ -276,4 +276,4 @@ var Plugin19 = {
|
|
|
276
276
|
})
|
|
277
277
|
};
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { name13, Input13, Output9, Plugin31, exports_edit };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-jze0r7bz.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make20,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-rhjbct0v.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-w05fahkw.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service29,
|
|
12
|
+
node33
|
|
13
|
+
} from "./mime-we0kt4xw.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
name14
|
|
17
|
+
} from "./mime-kw5x1ws0.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./mime-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
23
|
var exports_instructions3 = {};
|
|
24
24
|
__export(exports_instructions3, {
|
|
25
25
|
McpInstructions: () => exports_instructions3,
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
26
|
+
Service: () => Service27,
|
|
27
|
+
layer: () => layer13,
|
|
28
|
+
node: () => node31
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,13 +61,13 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service27 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var
|
|
67
|
-
const mcp = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer13 = Layer.effect(Service27, Effect.gen(function* () {
|
|
67
|
+
const mcp = yield* Service29;
|
|
68
|
+
return Service27.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
|
-
const source = (value) =>
|
|
70
|
+
const source = (value) => make20({
|
|
71
71
|
key: Key3.make("core/mcp-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(value),
|
|
@@ -86,7 +86,7 @@ var layer15 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
86
86
|
const codemode = owned[0]?.codemode !== false;
|
|
87
87
|
if (codemode && !canExecute)
|
|
88
88
|
return [];
|
|
89
|
-
if (!owned.some((tool) => evaluate2(
|
|
89
|
+
if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", permissions).effect !== "deny"))
|
|
90
90
|
return [];
|
|
91
91
|
return [
|
|
92
92
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -96,6 +96,6 @@ var layer15 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var node31 = makeLocationNode({ service: Service27, layer: layer13, deps: [node33] });
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { Service27, layer13, node31, exports_instructions3 };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./mime-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./mime-n9mqnacb.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service56
|
|
6
|
+
} from "./mime-w05fahkw.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID13,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service75
|
|
14
|
+
} from "./mime-6c74smgc.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./mime-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch = {};
|
|
21
21
|
__export(exports_websearch, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input9,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin25,
|
|
25
25
|
WebSearchTool: () => exports_websearch,
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
26
|
+
description: () => description5,
|
|
27
|
+
name: () => name9
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/http";
|
|
32
|
-
var
|
|
32
|
+
var name9 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input9 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID13,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin25 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service56;
|
|
53
|
+
const forms = yield* Service80;
|
|
54
|
+
const websearch = yield* Service75;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name9,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description5,
|
|
59
|
+
input: Input9,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name9,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name9];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name9, NO_RESULTS2, description5, Input9, Plugin25, exports_websearch };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./mime-qafp7hve.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service55
|
|
9
|
+
} from "./mime-hfsvs7n4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service13
|
|
12
|
+
} from "./mime-ayydppvk.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-hgz4x7wa.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service5
|
|
27
|
+
} from "./mime-dcbq9ht0.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./mime-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
35
|
+
Input: () => Input12,
|
|
36
36
|
Plugin: () => Plugin30,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name12,
|
|
39
|
+
toModelContent: () => toModelContent6
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name12 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input12 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
58
|
var Plugin30 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service5;
|
|
62
|
+
const access = yield* Service55;
|
|
63
|
+
const sessionInstructions = yield* Service13;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service82;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name12,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input12,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -113,7 +113,7 @@ var Plugin30 = {
|
|
|
113
113
|
return { output: result.content, path: result.path };
|
|
114
114
|
}).pipe(Effect.map((result) => ({
|
|
115
115
|
output: result.output,
|
|
116
|
-
content:
|
|
116
|
+
content: toModelContent6(result.path, input.offset, result.output),
|
|
117
117
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
118
118
|
})), Effect.mapError((error) => {
|
|
119
119
|
if (error instanceof ToolFailure)
|
|
@@ -146,7 +146,7 @@ ${suggestions.join(`
|
|
|
146
146
|
});
|
|
147
147
|
})
|
|
148
148
|
};
|
|
149
|
-
var
|
|
149
|
+
var toModelContent6 = (path, offset, output) => {
|
|
150
150
|
if (output.type === "file" && output.encoding === "base64")
|
|
151
151
|
return [
|
|
152
152
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -182,4 +182,4 @@ var toModelContent5 = (path, offset, output) => {
|
|
|
182
182
|
`);
|
|
183
183
|
};
|
|
184
184
|
|
|
185
|
-
export {
|
|
185
|
+
export { name12, Input12, Plugin30, toModelContent6, exports_read };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-pyv0edze.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./mime-syv4x271.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./mime-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./mime-rp9zszvz.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID8.make("gpt-5-chat-latest"), ID8.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-2kt5zs07.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node57
|
|
7
|
+
} from "./mime-dbh0v57c.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service7,
|
|
10
|
+
node8
|
|
11
|
+
} from "./mime-znjawe4y.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service14
|
|
14
|
+
} from "./mime-fww2ha2b.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service34
|
|
17
|
+
} from "./mime-by5v678g.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
node23,
|
|
20
|
+
ID2
|
|
21
|
+
} from "./mime-a4v46qeq.js";
|
|
22
22
|
import {
|
|
23
23
|
Service4,
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
node5
|
|
25
|
+
} from "./mime-p37cw4rj.js";
|
|
26
26
|
import {
|
|
27
27
|
requirements2,
|
|
28
28
|
guarded2,
|
|
29
29
|
list2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./mime-gfv74hsb.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
32
|
+
make3,
|
|
33
33
|
LoadError2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./mime-363xf73s.js";
|
|
35
35
|
import {
|
|
36
36
|
Updated2,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
37
|
+
Service3,
|
|
38
|
+
node4
|
|
39
|
+
} from "./mime-rw06gb30.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service2,
|
|
42
|
+
node3
|
|
43
|
+
} from "./mime-fdms3n6w.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./mime-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/plugin/supervisor.ts
|
|
49
49
|
var exports_supervisor = {};
|
|
50
50
|
__export(exports_supervisor, {
|
|
51
51
|
PluginSupervisor: () => exports_supervisor,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer3,
|
|
53
|
+
node: () => node2
|
|
54
54
|
});
|
|
55
55
|
import { Event } from "@opencode/schema/config";
|
|
56
56
|
import { Cause, Effect, Layer, Queue, Stream } from "effect";
|
|
@@ -127,7 +127,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
127
127
|
failures: [
|
|
128
128
|
...failures.values(),
|
|
129
129
|
...ordered.filter(duplicate).map((plugin) => ({
|
|
130
|
-
id:
|
|
130
|
+
id: ID2.make(plugin.id),
|
|
131
131
|
source: plugin.source ?? { type: "builtin" },
|
|
132
132
|
state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
|
|
133
133
|
features: { server: true, ...plugin.features }
|
|
@@ -136,15 +136,15 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
136
136
|
pending: [...pending]
|
|
137
137
|
};
|
|
138
138
|
});
|
|
139
|
-
var
|
|
140
|
-
const managed = yield*
|
|
141
|
-
const registry = yield*
|
|
142
|
-
const sdk = yield*
|
|
139
|
+
var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
140
|
+
const managed = yield* Service14;
|
|
141
|
+
const registry = yield* Service34;
|
|
142
|
+
const sdk = yield* Service3;
|
|
143
143
|
const instance = yield* Service4;
|
|
144
|
-
const sources = yield*
|
|
145
|
-
const modules = yield*
|
|
144
|
+
const sources = yield* Service7;
|
|
145
|
+
const modules = yield* make3();
|
|
146
146
|
const bus = yield* Service85;
|
|
147
|
-
const updates = yield*
|
|
147
|
+
const updates = yield* Service2;
|
|
148
148
|
const internal = yield* list2();
|
|
149
149
|
let release = yield* registry.hold();
|
|
150
150
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -220,14 +220,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
220
220
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
221
221
|
}));
|
|
222
222
|
var nodeDeps = [
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
node11,
|
|
223
|
+
node23,
|
|
224
|
+
node4,
|
|
225
|
+
node5,
|
|
227
226
|
node8,
|
|
227
|
+
node3,
|
|
228
228
|
node89,
|
|
229
229
|
Npm.node,
|
|
230
|
-
|
|
230
|
+
node57,
|
|
231
231
|
requirements2
|
|
232
232
|
];
|
|
233
233
|
function pluginSource(target) {
|
|
@@ -235,6 +235,6 @@ function pluginSource(target) {
|
|
|
235
235
|
return { type: "local", path: target };
|
|
236
236
|
return { type: "package", target };
|
|
237
237
|
}
|
|
238
|
-
var
|
|
238
|
+
var node2 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
|
|
239
239
|
|
|
240
|
-
export {
|
|
240
|
+
export { layer3, node2, exports_supervisor };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./mime-3nx13vd1.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-0vbcp93d.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make19
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make19 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service84;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -46,4 +46,4 @@ var make18 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make19, exports_git2 };
|