@opencode/core 0.0.0-dev-20965 → 0.0.0-dev-20967
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{variant-qkdyhz0j.js → agent-003zf483.js} +22 -22
- package/dist/chunks/{variant-tz4n1mmd.js → agent-06x8he3q.js} +4 -4
- package/dist/chunks/{variant-t5hq3fbq.js → agent-0tx2rcqt.js} +5 -5
- package/dist/chunks/{variant-0emb60td.js → agent-0vbcp93d.js} +2 -2
- package/dist/chunks/{variant-nd37ta7v.js → agent-0w62qmxp.js} +8 -8
- package/dist/chunks/{variant-1dgd40yc.js → agent-102ecrqc.js} +16 -16
- package/dist/chunks/{variant-9x7n08av.js → agent-10j0zpwz.js} +23 -23
- package/dist/chunks/{variant-215yrs1m.js → agent-15c4ebpx.js} +13 -13
- package/dist/chunks/{variant-safknyzz.js → agent-180ns14n.js} +40 -40
- package/dist/chunks/{variant-bg7accr8.js → agent-1h53t7jj.js} +4 -4
- package/dist/chunks/{variant-v9tezfc4.js → agent-1pxz8ven.js} +5 -5
- package/dist/chunks/{variant-sd60ydk4.js → agent-1s48y8yj.js} +37 -37
- package/dist/chunks/{variant-45emh9sw.js → agent-1wsef6eh.js} +14 -14
- package/dist/chunks/{variant-1x11rq2a.js → agent-1x11rq2a.js} +1 -1
- package/dist/chunks/{variant-8mta8yrw.js → agent-1yrss14f.js} +9 -9
- package/dist/chunks/{variant-krcrny4k.js → agent-1z2272r9.js} +10 -10
- package/dist/chunks/{variant-nq17181k.js → agent-214q8xwt.js} +3 -3
- package/dist/chunks/{variant-c27esgm9.js → agent-22sd1qqc.js} +8 -8
- package/dist/chunks/{variant-8nx44vyg.js → agent-23w5gghw.js} +18 -18
- package/dist/chunks/{variant-xw25t1zq.js → agent-2gvqmv1x.js} +41 -41
- package/dist/chunks/{variant-2k8khapm.js → agent-2k8khapm.js} +1 -1
- package/dist/chunks/{variant-7bcehx3h.js → agent-2m5mp251.js} +9 -9
- package/dist/chunks/{variant-sw0mphdh.js → agent-2mnwjzbq.js} +40 -40
- package/dist/chunks/{variant-d5f4dshd.js → agent-2ppj7n2d.js} +27 -27
- package/dist/chunks/{variant-2sejkfem.js → agent-2sejkfem.js} +2 -2
- package/dist/chunks/{variant-e74fnb4d.js → agent-2x91x8py.js} +20 -20
- package/dist/chunks/{variant-j5ck4p1e.js → agent-2xnadmta.js} +35 -35
- package/dist/chunks/{variant-spzkthk3.js → agent-38885ps5.js} +14 -14
- package/dist/chunks/{variant-184e73e7.js → agent-3bsp9417.js} +5 -5
- package/dist/chunks/agent-3e0v5z2a.js +253 -0
- package/dist/chunks/{variant-3fc6dm20.js → agent-3fc6dm20.js} +1 -1
- package/dist/chunks/{variant-3hepkmqq.js → agent-3hepkmqq.js} +1 -1
- package/dist/chunks/{variant-3hwn7j4h.js → agent-3hwn7j4h.js} +2 -2
- package/dist/chunks/{variant-3smtnn6g.js → agent-3smtnn6g.js} +1 -1
- package/dist/chunks/{variant-3tvqynh2.js → agent-3tvqynh2.js} +1 -1
- package/dist/chunks/{variant-3zsf4n22.js → agent-3zsf4n22.js} +1 -1
- package/dist/chunks/{variant-4f1b800q.js → agent-47jkzegy.js} +5 -5
- package/dist/chunks/{variant-fww2ha2b.js → agent-4fnxzqcp.js} +9 -9
- package/dist/chunks/{variant-675h9k08.js → agent-4jnevpyt.js} +36 -36
- package/dist/chunks/{variant-wfmeqxnt.js → agent-4ts0d71h.js} +13 -13
- package/dist/chunks/{variant-eqxt343f.js → agent-4vfrwfxm.js} +26 -26
- package/dist/chunks/{variant-b2p40mva.js → agent-4yzy4pya.js} +43 -43
- package/dist/chunks/{variant-54ma36ye.js → agent-54ma36ye.js} +1 -1
- package/dist/chunks/{variant-q1tr0dsa.js → agent-58k5txrt.js} +8 -8
- package/dist/chunks/{variant-byv8jegc.js → agent-5den7fts.js} +15 -15
- package/dist/chunks/{variant-wvrxhfbz.js → agent-5fc1p0g9.js} +17 -17
- package/dist/chunks/{variant-5m9w47nd.js → agent-5m9w47nd.js} +1 -1
- package/dist/chunks/{variant-th3vkxge.js → agent-5nwmaxse.js} +6 -6
- package/dist/chunks/{variant-fvgwmm0r.js → agent-5p5k132e.js} +8 -8
- package/dist/chunks/{variant-e3qxr5gk.js → agent-5qd3pb7m.js} +2 -2
- package/dist/chunks/{variant-czfptnv9.js → agent-5yzzbxa7.js} +8 -8
- package/dist/chunks/{variant-6cb5bya6.js → agent-6458qwm7.js} +46 -46
- package/dist/chunks/{variant-5k19yq9w.js → agent-68yndbk8.js} +19 -19
- package/dist/chunks/{variant-c172tty2.js → agent-6dkb2293.js} +3 -3
- package/dist/chunks/{variant-7qdqhac4.js → agent-6hmrvhhd.js} +11 -11
- package/dist/chunks/{variant-690t7gnv.js → agent-6ps2rfac.js} +4 -4
- package/dist/chunks/{variant-bd2rbarm.js → agent-6q2cgkqa.js} +66 -66
- package/dist/chunks/{variant-vcc19h8c.js → agent-6w81mfcv.js} +12 -12
- package/dist/chunks/{variant-6xb47vfp.js → agent-6xb47vfp.js} +1 -1
- package/dist/chunks/{variant-dm4mj2b8.js → agent-7312p45z.js} +21 -21
- package/dist/chunks/{variant-v53tbymh.js → agent-762tx1s9.js} +16 -16
- package/dist/chunks/{variant-775gj3j1.js → agent-775gj3j1.js} +2 -2
- package/dist/chunks/{variant-vadaeqkc.js → agent-796e0hcr.js} +22 -22
- package/dist/chunks/{variant-7ycwyhsn.js → agent-79rtasgx.js} +9 -9
- package/dist/chunks/{variant-7bmhse3q.js → agent-7bmhse3q.js} +1 -1
- package/dist/chunks/{variant-ka4dahqf.js → agent-7p6vy070.js} +32 -32
- package/dist/chunks/{variant-k0qnz40c.js → agent-7yns2gfh.js} +5 -5
- package/dist/chunks/{variant-m4cdjvks.js → agent-7zgrsrws.js} +29 -29
- package/dist/chunks/{variant-wpdrjqr0.js → agent-80nxcd2h.js} +30 -30
- package/dist/chunks/{variant-84txncab.js → agent-84txncab.js} +1 -1
- package/dist/chunks/{variant-mnx1xs56.js → agent-85zx94yt.js} +18 -18
- package/dist/chunks/{variant-j864549w.js → agent-8dpt1mes.js} +7 -7
- package/dist/chunks/{variant-n9093sh7.js → agent-8j1pwav1.js} +33 -33
- package/dist/chunks/{variant-8m6m0r52.js → agent-8m6m0r52.js} +1 -1
- package/dist/chunks/{variant-rc73xy04.js → agent-8pp8jf47.js} +2 -2
- package/dist/chunks/{variant-zy43x3f1.js → agent-8wbxkt1z.js} +4 -4
- package/dist/chunks/{variant-nd2xbyf5.js → agent-8x632nv7.js} +4 -4
- package/dist/chunks/{variant-ttffcv7z.js → agent-8zsb3mb5.js} +11 -11
- package/dist/chunks/{variant-j09zfasm.js → agent-91qna3x0.js} +3 -3
- package/dist/chunks/{variant-6h8epbhc.js → agent-92bt4rsk.js} +5 -5
- package/dist/chunks/{variant-wxvzvkhz.js → agent-930se4a2.js} +5 -5
- package/dist/chunks/{variant-gr2j2chh.js → agent-98xjsagk.js} +9 -9
- package/dist/chunks/{variant-dhpfcrwc.js → agent-99m0tgr4.js} +322 -322
- package/dist/chunks/{variant-1j8hy33p.js → agent-9rer32p9.js} +8 -8
- package/dist/chunks/{variant-a8w6dpt8.js → agent-9sypp5q9.js} +5 -5
- package/dist/chunks/{variant-1b1vcbyp.js → agent-9tr386xz.js} +45 -45
- package/dist/chunks/{variant-0z9vq3n9.js → agent-9xk8zs32.js} +7 -7
- package/dist/chunks/agent-a1xb6f6n.js +26 -0
- package/dist/chunks/{variant-n9kvdjtp.js → agent-a57r0kz2.js} +15 -15
- package/dist/chunks/{variant-xdx7acry.js → agent-a7bcxdzj.js} +9 -9
- package/dist/chunks/{variant-aed4v31e.js → agent-agsg9aqy.js} +16 -16
- package/dist/chunks/{variant-p8899s55.js → agent-ajgp1yf6.js} +4 -4
- package/dist/chunks/{variant-4tvnehfx.js → agent-ap35jyd0.js} +13 -13
- package/dist/chunks/{variant-b46qy5jj.js → agent-b2awc4se.js} +15 -15
- package/dist/chunks/{variant-98pn6x6y.js → agent-b2kwkbq4.js} +61 -61
- package/dist/chunks/{variant-b3f8fkhc.js → agent-b3f8fkhc.js} +2 -2
- package/dist/chunks/{variant-ne3cddwz.js → agent-b46260rf.js} +26 -26
- package/dist/chunks/{variant-h3bs1kek.js → agent-b95g883h.js} +8 -8
- package/dist/chunks/{variant-sqead0rj.js → agent-bckd7sn2.js} +27 -27
- package/dist/chunks/{variant-fqhbsnr5.js → agent-be7qvw84.js} +8 -8
- package/dist/chunks/{variant-a694798e.js → agent-bgs9y14h.js} +5 -5
- package/dist/chunks/{variant-gtve8185.js → agent-bhdhebx5.js} +20 -20
- package/dist/chunks/{variant-1ffvrpkg.js → agent-bjx1sjef.js} +6 -6
- package/dist/chunks/{variant-m935wjbx.js → agent-bkb67qdq.js} +12 -12
- package/dist/chunks/{variant-f1y6kd9g.js → agent-bv2h4xww.js} +9 -9
- package/dist/chunks/{variant-c41wscbt.js → agent-c41wscbt.js} +2 -2
- package/dist/chunks/{variant-c8ax2afj.js → agent-c8ax2afj.js} +2 -2
- package/dist/chunks/{variant-0x6tm39e.js → agent-d1g60r3j.js} +37 -37
- package/dist/chunks/{variant-pdbfs7q8.js → agent-d4eaz24s.js} +13 -13
- package/dist/chunks/{variant-hshhh1g0.js → agent-d4fz9c6m.js} +8 -8
- package/dist/chunks/{variant-30f50eyj.js → agent-d4z6p2e9.js} +35 -35
- package/dist/chunks/{variant-4qbhtwgs.js → agent-d6b4z57v.js} +186 -186
- package/dist/chunks/{variant-z0aj456m.js → agent-d858xzj7.js} +4 -4
- package/dist/chunks/{variant-w5wmpqxq.js → agent-dmxxwj5k.js} +7 -7
- package/dist/chunks/{variant-dpkg50ah.js → agent-dpkg50ah.js} +1 -1
- package/dist/chunks/{variant-dqxsqydv.js → agent-dqxsqydv.js} +1 -1
- package/dist/chunks/{variant-xfkkasph.js → agent-drwq78ky.js} +4 -4
- package/dist/chunks/{variant-r2pt7hb6.js → agent-dx0v7867.js} +20 -20
- package/dist/chunks/{variant-j1m8k7tk.js → agent-dz30mbn2.js} +4 -4
- package/dist/chunks/{variant-b2yx5ehf.js → agent-e26ynm9z.js} +9 -9
- package/dist/chunks/{variant-eej6y6fw.js → agent-eej6y6fw.js} +2 -2
- package/dist/chunks/{variant-ef5x83kb.js → agent-ef5x83kb.js} +1 -1
- package/dist/chunks/{variant-dp9b5y2c.js → agent-ejzsq301.js} +30 -30
- package/dist/chunks/{variant-31ccf081.js → agent-en47egvd.js} +15 -15
- package/dist/chunks/{variant-es1vcfrp.js → agent-es1vcfrp.js} +3 -3
- package/dist/chunks/{variant-m1xvcqhf.js → agent-et8f4tj8.js} +50 -50
- package/dist/chunks/{variant-nkxhsnc1.js → agent-ey2qp6v7.js} +5 -5
- package/dist/chunks/{variant-jk6kbnxq.js → agent-f32g4658.js} +9 -9
- package/dist/chunks/{variant-22dae4yx.js → agent-fedffhe2.js} +11 -11
- package/dist/chunks/{variant-vhsnpknp.js → agent-fekzr37r.js} +46 -46
- package/dist/chunks/{variant-awqjysbz.js → agent-fey4ey3t.js} +22 -22
- package/dist/chunks/{variant-1sne15z1.js → agent-fg3zfvg2.js} +16 -16
- package/dist/chunks/{variant-wtc59aw9.js → agent-fgmp5hy9.js} +10 -10
- package/dist/chunks/{variant-nazaqr6z.js → agent-fkdm2qkv.js} +11 -11
- package/dist/chunks/{variant-zq6n8p55.js → agent-fqp62crg.js} +10 -10
- package/dist/chunks/{variant-p0km4v4v.js → agent-fs1nt83f.js} +9 -9
- package/dist/chunks/{variant-xvfcqebw.js → agent-ftqg6eaw.js} +13 -13
- package/dist/chunks/{variant-k9r9jvvd.js → agent-fx8q68yx.js} +18 -18
- package/dist/chunks/{variant-6xw72zbe.js → agent-g0g0hspt.js} +23 -23
- package/dist/chunks/{variant-mwqr473v.js → agent-g57505q5.js} +11 -11
- package/dist/chunks/{variant-7f5dsppb.js → agent-gaxmf6kv.js} +30 -30
- package/dist/chunks/{variant-zztrcv6s.js → agent-gbc8mqyx.js} +6 -6
- package/dist/chunks/{variant-9vq825kb.js → agent-gbsmeqc4.js} +17 -17
- package/dist/chunks/{variant-gd4qta3r.js → agent-gd4qta3r.js} +1 -1
- package/dist/chunks/{variant-318ps4mw.js → agent-ggd3cdse.js} +27 -27
- package/dist/chunks/{variant-nssgk41k.js → agent-gh8hfe7d.js} +18 -18
- package/dist/chunks/{variant-1shzte8w.js → agent-gn31e51v.js} +11 -11
- package/dist/chunks/{variant-0e6afmah.js → agent-gyt3gf5g.js} +29 -29
- package/dist/chunks/{variant-h6vf3j39.js → agent-h6vf3j39.js} +1 -1
- package/dist/chunks/{variant-31xfzrxg.js → agent-h7s7r6s9.js} +5 -5
- package/dist/chunks/{variant-5c7zhz82.js → agent-h9d1fc2y.js} +6 -6
- package/dist/chunks/{variant-jxg7hd8r.js → agent-hb3xq6qf.js} +9 -9
- package/dist/chunks/{variant-8b0kp1c1.js → agent-hcv80w8f.js} +11 -11
- package/dist/chunks/{variant-hgz4x7wa.js → agent-hgz4x7wa.js} +1 -1
- package/dist/chunks/{variant-fxjmfkq7.js → agent-hjd09z3h.js} +90 -90
- package/dist/chunks/{variant-95e562ab.js → agent-hjsbj7af.js} +19 -19
- package/dist/chunks/{variant-r4k54wer.js → agent-hpf5e1pv.js} +18 -18
- package/dist/chunks/{variant-ny8edt06.js → agent-hq3c8me3.js} +4 -4
- package/dist/chunks/{variant-94cmvxd3.js → agent-hqhp0zxs.js} +4 -4
- package/dist/chunks/{variant-4r580w2s.js → agent-hwqt3mf0.js} +19 -19
- package/dist/chunks/{variant-j2x94qfn.js → agent-j5s6pzyj.js} +11 -11
- package/dist/chunks/{variant-vav9rtzz.js → agent-j7tg2zvf.js} +11 -11
- package/dist/chunks/{variant-yskhjpp6.js → agent-j9ph6mae.js} +28 -28
- package/dist/chunks/{variant-drc9xvqh.js → agent-jdvv509r.js} +4 -4
- package/dist/chunks/{variant-wa343y42.js → agent-je2tex47.js} +24 -24
- package/dist/chunks/{variant-mk8df6ba.js → agent-je8b1457.js} +13 -13
- package/dist/chunks/{variant-6g107h22.js → agent-jk540des.js} +2 -2
- package/dist/chunks/{variant-y79ba3ty.js → agent-jt5tbdk1.js} +1 -1
- package/dist/chunks/{variant-0aqkm3bj.js → agent-jt820sv4.js} +14 -14
- package/dist/chunks/{variant-2k05yhhs.js → agent-k00hq61p.js} +4 -4
- package/dist/chunks/{variant-5vsvabpe.js → agent-k3bqjcjm.js} +14 -14
- package/dist/chunks/{variant-eyw1jkg7.js → agent-k9vctcmz.js} +11 -11
- package/dist/chunks/{variant-zhb76p7m.js → agent-kdm1wyhj.js} +18 -18
- package/dist/chunks/{variant-9bbnj2zh.js → agent-kecqjjhm.js} +5 -5
- package/dist/chunks/{variant-1jg8srde.js → agent-kshzeqx8.js} +15 -15
- package/dist/chunks/{variant-k185drda.js → agent-kx705y8y.js} +9 -9
- package/dist/chunks/{variant-1g2tzbqy.js → agent-ky65x1wg.js} +31 -31
- package/dist/chunks/{variant-ekg16795.js → agent-m1ej6awc.js} +20 -20
- package/dist/chunks/{variant-08rawchj.js → agent-m5jcjszt.js} +2 -2
- package/dist/chunks/{variant-chymrsmw.js → agent-m7n954ym.js} +30 -30
- package/dist/chunks/{variant-m9w0rfyh.js → agent-m9w0rfyh.js} +1 -1
- package/dist/chunks/{variant-d1d75ewh.js → agent-maq6rst1.js} +25 -25
- package/dist/chunks/{variant-maspj1v3.js → agent-maspj1v3.js} +1 -1
- package/dist/chunks/{variant-k2wbs1f6.js → agent-mmsn9nmm.js} +25 -25
- package/dist/chunks/{variant-v99btfp6.js → agent-mqrg35xz.js} +52 -52
- package/dist/chunks/{variant-eyect2y9.js → agent-n0r990cb.js} +23 -23
- package/dist/chunks/{variant-yxxy4j45.js → agent-n47fwd3f.js} +14 -14
- package/dist/chunks/{variant-16ce7mxz.js → agent-n7yaz7xh.js} +15 -15
- package/dist/chunks/{variant-n4bazptv.js → agent-n8y364wa.js} +17 -17
- package/dist/chunks/{variant-hhfn0ecg.js → agent-n98t1xmn.js} +9 -9
- package/dist/chunks/{variant-hqd5ftkx.js → agent-n9vqf08a.js} +11 -11
- package/dist/chunks/{variant-w2ftr1wp.js → agent-nas6s75n.js} +32 -32
- package/dist/chunks/{variant-6b4mrnbq.js → agent-ndzpxf5d.js} +32 -32
- package/dist/chunks/{variant-qptva5a0.js → agent-ng3918dk.js} +8 -8
- package/dist/chunks/{variant-jqax3vrk.js → agent-nqc6nt79.js} +32 -32
- package/dist/chunks/{variant-tntqxh8d.js → agent-nrync45e.js} +24 -24
- package/dist/chunks/{variant-4ptrhz46.js → agent-p3gs223r.js} +12 -12
- package/dist/chunks/{variant-vgr0ew10.js → agent-p5sfywmf.js} +22 -22
- package/dist/chunks/{variant-xgcr0maa.js → agent-p9ygtxzj.js} +35 -35
- package/dist/chunks/{variant-bffezq42.js → agent-pfvt33xv.js} +19 -19
- package/dist/chunks/{variant-pjvnvgmy.js → agent-pjvnvgmy.js} +1 -1
- package/dist/chunks/{variant-pknna89w.js → agent-pknna89w.js} +1 -1
- package/dist/chunks/{variant-yqc6bamn.js → agent-pnzf6mjf.js} +1 -1
- package/dist/chunks/{variant-5xdxnttq.js → agent-pv49kqqp.js} +92 -92
- package/dist/chunks/{variant-pde076hx.js → agent-pvshdx0y.js} +3 -3
- package/dist/chunks/{variant-rb93vns4.js → agent-pvv3kt52.js} +11 -11
- package/dist/chunks/{variant-0j77ygfz.js → agent-q0xm7vwc.js} +6 -6
- package/dist/chunks/{variant-2kzdwg0n.js → agent-q3ysppy7.js} +20 -20
- package/dist/chunks/{variant-8t6tsgff.js → agent-qbcjqvkm.js} +58 -58
- package/dist/chunks/{variant-7tqnqen3.js → agent-qm6xtvat.js} +22 -22
- package/dist/chunks/{variant-qnc92qwc.js → agent-qnc92qwc.js} +1 -1
- package/dist/chunks/{variant-qsdy395h.js → agent-qsdy395h.js} +1 -1
- package/dist/chunks/{variant-3esz0pk7.js → agent-qx3j1ntd.js} +31 -31
- package/dist/chunks/{variant-r2z489rp.js → agent-r2z489rp.js} +1 -1
- package/dist/chunks/{variant-bcwmtc9z.js → agent-r70na3yp.js} +9 -9
- package/dist/chunks/{variant-r9w3djhf.js → agent-r9w3djhf.js} +2 -2
- package/dist/chunks/{variant-rdw6cm16.js → agent-rdw6cm16.js} +1 -1
- package/dist/chunks/{variant-py3kkmfq.js → agent-rkprpv83.js} +2 -2
- package/dist/chunks/{variant-acp27cb6.js → agent-rshzb64a.js} +4 -4
- package/dist/chunks/{variant-em36464r.js → agent-s0xj90rb.js} +23 -23
- package/dist/chunks/{variant-kr7grvbm.js → agent-s1y6cy45.js} +35 -35
- package/dist/chunks/{variant-cdbvc206.js → agent-s7m34cvg.js} +11 -11
- package/dist/chunks/{variant-79c12bt7.js → agent-s9xxcfn6.js} +15 -15
- package/dist/chunks/{variant-f6mz2wx2.js → agent-sdnsagax.js} +26 -26
- package/dist/chunks/{variant-1zqh2xam.js → agent-swhagcwe.js} +13 -13
- package/dist/chunks/{variant-t1exkcnj.js → agent-sxge8dhz.js} +24 -24
- package/dist/chunks/{variant-1g7epwpd.js → agent-sxz6gkc3.js} +4 -4
- package/dist/chunks/{variant-jg41skm4.js → agent-sxz7zm75.js} +30 -30
- package/dist/chunks/{variant-jhf3jymm.js → agent-sxzvkvgj.js} +6 -6
- package/dist/chunks/{variant-syv4x271.js → agent-syv4x271.js} +1 -1
- package/dist/chunks/{variant-eaj1djv9.js → agent-t550f9t1.js} +8 -8
- package/dist/chunks/{variant-g0xp0fjm.js → agent-t9bew3r6.js} +13 -13
- package/dist/chunks/{variant-tazgh4e4.js → agent-tazgh4e4.js} +1 -1
- package/dist/chunks/{variant-tcezcvh9.js → agent-tcezcvh9.js} +1 -1
- package/dist/chunks/{variant-tdstcens.js → agent-tdstcens.js} +1 -1
- package/dist/chunks/{variant-mq92c6sz.js → agent-tg7bkhef.js} +9 -9
- package/dist/chunks/{variant-gv3e09km.js → agent-th3ytxdg.js} +22 -22
- package/dist/chunks/{variant-tkb22qbm.js → agent-tkb22qbm.js} +2 -2
- package/dist/chunks/{variant-tm0kqsz3.js → agent-tm0kqsz3.js} +1 -1
- package/dist/chunks/{variant-fc42s903.js → agent-tnc73fh6.js} +11 -11
- package/dist/chunks/{variant-ttp06fyh.js → agent-tv87x6sc.js} +3 -3
- package/dist/chunks/{variant-kqv3x6rj.js → agent-txm3e8qz.js} +9 -9
- package/dist/chunks/{variant-t7aaar7j.js → agent-txnezeta.js} +21 -21
- package/dist/chunks/{variant-tyytaxap.js → agent-tyytaxap.js} +1 -1
- package/dist/chunks/{variant-zfme70y8.js → agent-v0xmac3n.js} +2 -2
- package/dist/chunks/{variant-v7p4zvkq.js → agent-v7p4zvkq.js} +2 -2
- package/dist/chunks/{variant-veqvce7d.js → agent-veqvce7d.js} +1 -1
- package/dist/chunks/{variant-j3v4v25z.js → agent-vgsgsp1h.js} +49 -49
- package/dist/chunks/{variant-nz324evw.js → agent-vjsjzb07.js} +48 -48
- package/dist/chunks/{variant-7jbtvk67.js → agent-vqpsfxv1.js} +31 -31
- package/dist/chunks/{variant-vzs5sf6e.js → agent-vzs5sf6e.js} +1 -1
- package/dist/chunks/{variant-w3wsvvr9.js → agent-w3wsvvr9.js} +1 -1
- package/dist/chunks/{variant-4ghc2kqd.js → agent-w6jg7vpf.js} +5 -5
- package/dist/chunks/{variant-x4jmhkba.js → agent-w8htg8v3.js} +15 -15
- package/dist/chunks/{variant-wd87259q.js → agent-wd87259q.js} +1 -1
- package/dist/chunks/{variant-49a8ke3b.js → agent-wtmn7q1g.js} +4 -4
- package/dist/chunks/{variant-rmzxz103.js → agent-wwk1k3yf.js} +3 -3
- package/dist/chunks/{variant-qh6vqrx5.js → agent-wynzsb0k.js} +28 -28
- package/dist/chunks/{variant-08axjxgx.js → agent-x4z7rv0g.js} +15 -15
- package/dist/chunks/{variant-2s7cj1a3.js → agent-x5h44zm2.js} +16 -16
- package/dist/chunks/{variant-x661k3y3.js → agent-x661k3y3.js} +1 -1
- package/dist/chunks/{variant-y23whk6n.js → agent-x9af4wsh.js} +17 -17
- package/dist/chunks/{variant-1wqbhyhn.js → agent-xqhm0etf.js} +20 -20
- package/dist/chunks/{variant-0821qp31.js → agent-xy5artkv.js} +50 -50
- package/dist/chunks/{variant-jnfn5ex1.js → agent-xztn33cf.js} +1 -1
- package/dist/chunks/{variant-y1fvbwt7.js → agent-y1fvbwt7.js} +1 -1
- package/dist/chunks/{variant-rfb6rgvz.js → agent-ygmj74e5.js} +15 -15
- package/dist/chunks/{variant-yp2x3t23.js → agent-yp2x3t23.js} +1 -1
- package/dist/chunks/{variant-h9wp8z5w.js → agent-yrcj3v3g.js} +4 -4
- package/dist/chunks/{variant-bn0vkb08.js → agent-yy6p74h0.js} +15 -15
- package/dist/chunks/{variant-z0bkrqjs.js → agent-z0bkrqjs.js} +1 -1
- package/dist/chunks/{variant-8ryt04pb.js → agent-z3jjyfsa.js} +13 -13
- package/dist/chunks/{variant-f9fjk1ah.js → agent-z841tj5z.js} +11 -11
- package/dist/chunks/{variant-s8y96gq9.js → agent-zk0pt4kf.js} +14 -14
- package/dist/chunks/{variant-3jys3s1h.js → agent-zk163zkt.js} +9 -9
- package/dist/chunks/{variant-zr2ceqn5.js → agent-zr2ceqn5.js} +1 -1
- package/dist/chunks/{variant-5q5yxa5j.js → agent-zvdqdbwe.js} +11 -11
- package/dist/chunks/{variant-zxq2ej10.js → agent-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +77 -77
- 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 +207 -207
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- 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 +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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 +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +106 -106
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- 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 +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 +359 -359
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- 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 +356 -356
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +6 -6
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +100 -100
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- 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 +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- 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 +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- 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 +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- 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 +127 -127
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +99 -99
- 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 +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- 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 +116 -116
- 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 +4 -4
- 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 +218 -218
- 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 +87 -87
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +135 -135
- 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 +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- 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 +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- 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 +2 -2
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- 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 +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/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 +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/variant-0wrjkmeb.js +0 -26
- package/dist/chunks/variant-10rgf74w.js +0 -253
- /package/dist/chunks/{variant-0qkdqm5v.js → agent-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{variant-0zkw76rk.js → agent-0zkw76rk.js} +0 -0
- /package/dist/chunks/{variant-17cy0kzp.js → agent-17cy0kzp.js} +0 -0
- /package/dist/chunks/{variant-1cnp2v09.js → agent-1cnp2v09.js} +0 -0
- /package/dist/chunks/{variant-1kg9ymc8.js → agent-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{variant-24dcb14g.js → agent-24dcb14g.js} +0 -0
- /package/dist/chunks/{variant-2710q6r3.js → agent-2710q6r3.js} +0 -0
- /package/dist/chunks/{variant-2axfhc9x.js → agent-2axfhc9x.js} +0 -0
- /package/dist/chunks/{variant-2bv980vf.js → agent-2bv980vf.js} +0 -0
- /package/dist/chunks/{variant-2c3vjs8z.js → agent-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{variant-359p4xyc.js → agent-359p4xyc.js} +0 -0
- /package/dist/chunks/{variant-3asan66x.js → agent-3asan66x.js} +0 -0
- /package/dist/chunks/{variant-3t0ybcrp.js → agent-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{variant-3v8g72cx.js → agent-3v8g72cx.js} +0 -0
- /package/dist/chunks/{variant-3wcehsnq.js → agent-3wcehsnq.js} +0 -0
- /package/dist/chunks/{variant-43n2bw4t.js → agent-43n2bw4t.js} +0 -0
- /package/dist/chunks/{variant-4knz6hnm.js → agent-4knz6hnm.js} +0 -0
- /package/dist/chunks/{variant-4vcrnpx2.js → agent-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{variant-4y7fprxs.js → agent-4y7fprxs.js} +0 -0
- /package/dist/chunks/{variant-53557ph1.js → agent-53557ph1.js} +0 -0
- /package/dist/chunks/{variant-550bvhaj.js → agent-550bvhaj.js} +0 -0
- /package/dist/chunks/{variant-6prwharc.js → agent-6prwharc.js} +0 -0
- /package/dist/chunks/{variant-6q2bdcd1.js → agent-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{variant-7akdwqpd.js → agent-7akdwqpd.js} +0 -0
- /package/dist/chunks/{variant-7m9af43g.js → agent-7m9af43g.js} +0 -0
- /package/dist/chunks/{variant-822emrt2.js → agent-822emrt2.js} +0 -0
- /package/dist/chunks/{variant-84wd9syh.js → agent-84wd9syh.js} +0 -0
- /package/dist/chunks/{variant-88xbtdfr.js → agent-88xbtdfr.js} +0 -0
- /package/dist/chunks/{variant-8n3pysct.js → agent-8n3pysct.js} +0 -0
- /package/dist/chunks/{variant-8wj87zfr.js → agent-8wj87zfr.js} +0 -0
- /package/dist/chunks/{variant-9a4afbnw.js → agent-9a4afbnw.js} +0 -0
- /package/dist/chunks/{variant-9rqn6x4v.js → agent-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{variant-a6k6eb26.js → agent-a6k6eb26.js} +0 -0
- /package/dist/chunks/{variant-af5trqkr.js → agent-af5trqkr.js} +0 -0
- /package/dist/chunks/{variant-afrmfg78.js → agent-afrmfg78.js} +0 -0
- /package/dist/chunks/{variant-aqzs7mqg.js → agent-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{variant-atq7p7m5.js → agent-atq7p7m5.js} +0 -0
- /package/dist/chunks/{variant-bkyjaxrp.js → agent-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{variant-bmr6ed5q.js → agent-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{variant-cf4snx6d.js → agent-cf4snx6d.js} +0 -0
- /package/dist/chunks/{variant-cvy3z8tj.js → agent-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{variant-d9fn303g.js → agent-d9fn303g.js} +0 -0
- /package/dist/chunks/{variant-d9jj8t3e.js → agent-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{variant-dajrwvna.js → agent-dajrwvna.js} +0 -0
- /package/dist/chunks/{variant-dap0rakb.js → agent-dap0rakb.js} +0 -0
- /package/dist/chunks/{variant-df08tz66.js → agent-df08tz66.js} +0 -0
- /package/dist/chunks/{variant-dy18nga0.js → agent-dy18nga0.js} +0 -0
- /package/dist/chunks/{variant-e5kj55wp.js → agent-e5kj55wp.js} +0 -0
- /package/dist/chunks/{variant-e73j6tqm.js → agent-e73j6tqm.js} +0 -0
- /package/dist/chunks/{variant-ec1grn59.js → agent-ec1grn59.js} +0 -0
- /package/dist/chunks/{variant-eh3zwz77.js → agent-eh3zwz77.js} +0 -0
- /package/dist/chunks/{variant-emrn6kk6.js → agent-emrn6kk6.js} +0 -0
- /package/dist/chunks/{variant-f0mxakyp.js → agent-f0mxakyp.js} +0 -0
- /package/dist/chunks/{variant-f6n9ztr4.js → agent-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{variant-faypxj3z.js → agent-faypxj3z.js} +0 -0
- /package/dist/chunks/{variant-fd410y7t.js → agent-fd410y7t.js} +0 -0
- /package/dist/chunks/{variant-g4wezp1m.js → agent-g4wezp1m.js} +0 -0
- /package/dist/chunks/{variant-g86h250q.js → agent-g86h250q.js} +0 -0
- /package/dist/chunks/{variant-gebd4c9n.js → agent-gebd4c9n.js} +0 -0
- /package/dist/chunks/{variant-gftt206x.js → agent-gftt206x.js} +0 -0
- /package/dist/chunks/{variant-hcxmzztb.js → agent-hcxmzztb.js} +0 -0
- /package/dist/chunks/{variant-hk9envan.js → agent-hk9envan.js} +0 -0
- /package/dist/chunks/{variant-j2ntwpah.js → agent-j2ntwpah.js} +0 -0
- /package/dist/chunks/{variant-j5zkgpj8.js → agent-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{variant-jjkms2e6.js → agent-jjkms2e6.js} +0 -0
- /package/dist/chunks/{variant-jr7sbwjy.js → agent-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{variant-jwfs4k6c.js → agent-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{variant-jze0r7bz.js → agent-jze0r7bz.js} +0 -0
- /package/dist/chunks/{variant-jzg6c2d5.js → agent-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{variant-m18g726c.js → agent-m18g726c.js} +0 -0
- /package/dist/chunks/{variant-mp448xyj.js → agent-mp448xyj.js} +0 -0
- /package/dist/chunks/{variant-msx8hqn2.js → agent-msx8hqn2.js} +0 -0
- /package/dist/chunks/{variant-n05xt0ee.js → agent-n05xt0ee.js} +0 -0
- /package/dist/chunks/{variant-n3j8tn72.js → agent-n3j8tn72.js} +0 -0
- /package/dist/chunks/{variant-njntx4h6.js → agent-njntx4h6.js} +0 -0
- /package/dist/chunks/{variant-pkyv6v7h.js → agent-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{variant-pyv0edze.js → agent-pyv0edze.js} +0 -0
- /package/dist/chunks/{variant-q3sfg36h.js → agent-q3sfg36h.js} +0 -0
- /package/dist/chunks/{variant-q74kybfr.js → agent-q74kybfr.js} +0 -0
- /package/dist/chunks/{variant-qaymkmh1.js → agent-qaymkmh1.js} +0 -0
- /package/dist/chunks/{variant-qb87gjwd.js → agent-qb87gjwd.js} +0 -0
- /package/dist/chunks/{variant-qfa1cgps.js → agent-qfa1cgps.js} +0 -0
- /package/dist/chunks/{variant-qg3g05ea.js → agent-qg3g05ea.js} +0 -0
- /package/dist/chunks/{variant-qrg20bc0.js → agent-qrg20bc0.js} +0 -0
- /package/dist/chunks/{variant-rcb2kzg1.js → agent-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{variant-sdp7kfr6.js → agent-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{variant-ssg3fenm.js → agent-ssg3fenm.js} +0 -0
- /package/dist/chunks/{variant-ve7vex1e.js → agent-ve7vex1e.js} +0 -0
- /package/dist/chunks/{variant-w803qqfp.js → agent-w803qqfp.js} +0 -0
- /package/dist/chunks/{variant-wc3fc9cn.js → agent-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{variant-wer8tq1h.js → agent-wer8tq1h.js} +0 -0
- /package/dist/chunks/{variant-wjj7prxr.js → agent-wjj7prxr.js} +0 -0
- /package/dist/chunks/{variant-wtztk69x.js → agent-wtztk69x.js} +0 -0
- /package/dist/chunks/{variant-x0ckcb58.js → agent-x0ckcb58.js} +0 -0
- /package/dist/chunks/{variant-x61499pn.js → agent-x61499pn.js} +0 -0
- /package/dist/chunks/{variant-y44na4kk.js → agent-y44na4kk.js} +0 -0
- /package/dist/chunks/{variant-y8f7s663.js → agent-y8f7s663.js} +0 -0
- /package/dist/chunks/{variant-ygaqb7jw.js → agent-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{variant-ym463w8f.js → agent-ym463w8f.js} +0 -0
- /package/dist/chunks/{variant-z5v4ffb3.js → agent-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{variant-z9919s4g.js → agent-z9919s4g.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service61
|
|
3
|
+
} from "./agent-6458qwm7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service35
|
|
6
|
+
} from "./agent-mqrg35xz.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./agent-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
12
|
var exports_mcp2 = {};
|
|
13
13
|
__export(exports_mcp2, {
|
|
14
14
|
ConfigMcpPlugin: () => exports_mcp2,
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin35,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin35 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service61;
|
|
28
|
+
const mcp = yield* Service35;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin35, register2, exports_mcp2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./agent-102ecrqc.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-gaxmf6kv.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service23,
|
|
9
|
+
Event4
|
|
10
|
+
} from "./agent-180ns14n.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -32,8 +32,8 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
32
32
|
var ModelsDevPlugin2 = define({
|
|
33
33
|
id: "opencode.models.dev",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const modelsDev = yield*
|
|
36
|
-
const bus = yield*
|
|
35
|
+
const modelsDev = yield* Service23;
|
|
36
|
+
const bus = yield* Service82;
|
|
37
37
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
38
38
|
yield* ctx.integration.transform((integrations) => {
|
|
39
39
|
for (const provider of loaded.data) {
|
|
@@ -66,7 +66,7 @@ var ModelsDevPlugin2 = define({
|
|
|
66
66
|
loaded.data = snapshots(data);
|
|
67
67
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
68
68
|
};
|
|
69
|
-
yield* bus.subscribe(
|
|
69
|
+
yield* bus.subscribe(Event4.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
70
70
|
const latest = yield* modelsDev.get();
|
|
71
71
|
if (snapshots(latest) !== loaded.data)
|
|
72
72
|
yield* apply(latest);
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service56,
|
|
3
|
+
node58
|
|
4
|
+
} from "./agent-9tr386xz.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./agent-m5jcjszt.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./agent-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/session/runner/model.ts
|
|
13
13
|
var exports_model = {};
|
|
14
14
|
__export(exports_model, {
|
|
15
15
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
16
16
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service41,
|
|
18
18
|
SessionRunnerModel: () => exports_model,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node43,
|
|
20
20
|
resolved: () => resolved2
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service41 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
43
43
|
}
|
|
44
44
|
var resolved2 = (model, options) => ({
|
|
45
45
|
model,
|
|
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
|
|
|
54
54
|
compaction: options.compaction,
|
|
55
55
|
transport: options.transport
|
|
56
56
|
});
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const resolver = yield*
|
|
59
|
-
return
|
|
57
|
+
var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
58
|
+
const resolver = yield* Service56;
|
|
59
|
+
return Service41.of({
|
|
60
60
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
61
61
|
if (!session.model) {
|
|
62
62
|
const resolved = yield* resolver.resolve();
|
|
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
}));
|
|
77
|
-
var
|
|
77
|
+
var node43 = makeLocationNode({ service: Service41, layer, deps: [node58] });
|
|
78
78
|
|
|
79
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
79
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service41, resolved2, node43, exports_model };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-txm3e8qz.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info11
|
|
9
|
+
} from "./agent-hcv80w8f.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info13
|
|
12
|
+
} from "./agent-sxz6gkc3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info10
|
|
15
|
+
} from "./agent-1pxz8ven.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./agent-2k8khapm.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Info14
|
|
21
|
+
} from "./agent-47jkzegy.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -27,10 +27,10 @@ import {
|
|
|
27
27
|
migrateMcp2,
|
|
28
28
|
migrateProvider2,
|
|
29
29
|
providerID2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./agent-8x632nv7.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./agent-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/config/normalize.ts
|
|
36
36
|
var exports_normalize = {};
|
|
@@ -97,12 +97,12 @@ function normalize2(input) {
|
|
|
97
97
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
98
98
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
99
99
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
100
|
-
const legacyCommands = decodeMap(input.command,
|
|
100
|
+
const legacyCommands = decodeMap(input.command, Info13, ["command"], diagnostics, decodeValue);
|
|
101
101
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
102
102
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
103
103
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
104
104
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
105
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
105
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info11, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
106
106
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
107
107
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
108
108
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -116,7 +116,7 @@ function normalize2(input) {
|
|
|
116
116
|
model: migratedSmallModel,
|
|
117
117
|
...legacyAgents.title
|
|
118
118
|
};
|
|
119
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
119
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info11, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
120
120
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
121
121
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
122
122
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -218,7 +218,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
218
218
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
219
219
|
return;
|
|
220
220
|
}
|
|
221
|
-
const server = decodeValue(
|
|
221
|
+
const server = decodeValue(Info10, value, path, diagnostics);
|
|
222
222
|
if (server !== undefined)
|
|
223
223
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
224
224
|
});
|
|
@@ -416,7 +416,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
416
416
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
417
417
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
418
418
|
return [];
|
|
419
|
-
const provider = decodeValue(
|
|
419
|
+
const provider = decodeValue(Info14, raw, path, diagnostics);
|
|
420
420
|
if (provider === undefined)
|
|
421
421
|
return [];
|
|
422
422
|
const destination = providerID2(name);
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-s7m34cvg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./agent-102ecrqc.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event19
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./agent-j9ph6mae.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./agent-x661k3y3.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID14,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./agent-80nxcd2h.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service17
|
|
21
|
+
} from "./agent-4fnxzqcp.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID13,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./agent-m7n954ym.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./agent-gaxmf6kv.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID5,
|
|
32
32
|
Input14,
|
|
33
33
|
Response2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./agent-sdnsagax.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/opencode.ts
|
|
37
37
|
import { Duration, Effect, Equal, Option, Schema, SchemaGetter, Scope, Semaphore, Stream } from "effect";
|
|
@@ -57,7 +57,7 @@ var RemotePolicies = Schema.Array(Schema.Unknown).pipe(Schema.decodeTo(Schema.Un
|
|
|
57
57
|
var RemoteResponse = Schema.Struct({
|
|
58
58
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
59
59
|
websearch: Schema.Struct({
|
|
60
|
-
providerID:
|
|
60
|
+
providerID: ID5
|
|
61
61
|
}).pipe(Schema.optional),
|
|
62
62
|
mcp: Schema.Struct({
|
|
63
63
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -108,7 +108,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
108
108
|
}
|
|
109
109
|
function oauth(http) {
|
|
110
110
|
return {
|
|
111
|
-
integrationID:
|
|
111
|
+
integrationID: ID14.make("opencode"),
|
|
112
112
|
method: {
|
|
113
113
|
id: methodID,
|
|
114
114
|
type: "oauth",
|
|
@@ -172,10 +172,10 @@ function oauth(http) {
|
|
|
172
172
|
var OpencodePlugin2 = define({
|
|
173
173
|
id: "opencode.provider.opencode",
|
|
174
174
|
effect: Effect.fn(function* (ctx) {
|
|
175
|
-
const bus = yield*
|
|
175
|
+
const bus = yield* Service82;
|
|
176
176
|
const client = yield* HttpClient.HttpClient;
|
|
177
177
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
178
|
-
const managed = yield*
|
|
178
|
+
const managed = yield* Service17;
|
|
179
179
|
const scope = yield* Scope.Scope;
|
|
180
180
|
const loading = Semaphore.makeUnsafe(1);
|
|
181
181
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -227,7 +227,7 @@ var OpencodePlugin2 = define({
|
|
|
227
227
|
providers.update(providerID, (provider) => {
|
|
228
228
|
if (source && source.provider !== provider)
|
|
229
229
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
230
|
-
provider.integrationID =
|
|
230
|
+
provider.integrationID = ID14.make("opencode");
|
|
231
231
|
if (item.canonical !== undefined)
|
|
232
232
|
provider.canonical = item.canonical;
|
|
233
233
|
if (item.name !== undefined)
|
|
@@ -293,7 +293,7 @@ var OpencodePlugin2 = define({
|
|
|
293
293
|
sourceConnection: snapshot.connection
|
|
294
294
|
});
|
|
295
295
|
}
|
|
296
|
-
const item = providers.get(
|
|
296
|
+
const item = providers.get(ID13.opencode);
|
|
297
297
|
if (!item)
|
|
298
298
|
return;
|
|
299
299
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -305,7 +305,7 @@ var OpencodePlugin2 = define({
|
|
|
305
305
|
});
|
|
306
306
|
});
|
|
307
307
|
yield* ctx.model.transform((models) => {
|
|
308
|
-
const item = models.provider.get(
|
|
308
|
+
const item = models.provider.get(ID13.opencode);
|
|
309
309
|
if (!item)
|
|
310
310
|
return;
|
|
311
311
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -394,10 +394,10 @@ var OpencodePlugin2 = define({
|
|
|
394
394
|
});
|
|
395
395
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
396
396
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
397
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
397
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID13.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
398
398
|
});
|
|
399
399
|
yield* guard(snapshot);
|
|
400
|
-
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
400
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
401
401
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
|
|
402
402
|
})
|
|
403
403
|
});
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-775gj3j1.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service37,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer16,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node40
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service37 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service37, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service32, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service37.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer16 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node40 = makeGlobalNode({ service: Service37, layer: layer16, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service37, makeLayer2, layer16, node40, exports_model_transport };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./agent-102ecrqc.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./agent-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service79,
|
|
11
|
+
node83
|
|
12
|
+
} from "./agent-agsg9aqy.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID13,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service75,
|
|
20
|
+
node79,
|
|
21
|
+
Event16
|
|
22
|
+
} from "./agent-m7n954ym.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./agent-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,18 +30,18 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event15,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
35
|
+
ID: () => ID12,
|
|
36
36
|
Info: () => Info20,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service74,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
43
|
mergeCapabilities: () => mergeCapabilities2,
|
|
44
|
-
node: () =>
|
|
44
|
+
node: () => node78,
|
|
45
45
|
parse: () => parse5,
|
|
46
46
|
supportsText: () => supportsText2
|
|
47
47
|
});
|
|
@@ -49,8 +49,8 @@ import { Model } from "@opencode/schema/model";
|
|
|
49
49
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
50
50
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
51
51
|
import { freeze } from "immer";
|
|
52
|
-
import { Event as
|
|
53
|
-
var
|
|
52
|
+
import { Event as Event15 } from "@opencode/schema/model";
|
|
53
|
+
var ID12 = Model.ID;
|
|
54
54
|
var VariantID2 = Model.VariantID;
|
|
55
55
|
var Family2 = Model.Family;
|
|
56
56
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -68,12 +68,12 @@ var Cost2 = Model.Cost;
|
|
|
68
68
|
var Ref2 = Model.Ref;
|
|
69
69
|
var Info20 = Model.Info;
|
|
70
70
|
|
|
71
|
-
class
|
|
71
|
+
class Service74 extends Context.Service()("@opencode/Model") {
|
|
72
72
|
}
|
|
73
|
-
var layer = Layer.effect(
|
|
74
|
-
const providers = yield*
|
|
75
|
-
const bus = yield*
|
|
76
|
-
const location = yield*
|
|
73
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
74
|
+
const providers = yield* Service75;
|
|
75
|
+
const bus = yield* Service82;
|
|
76
|
+
const location = yield* Service79;
|
|
77
77
|
let input;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "model",
|
|
@@ -208,8 +208,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
208
208
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
209
209
|
});
|
|
210
210
|
});
|
|
211
|
-
yield* bus.subscribe(
|
|
212
|
-
return
|
|
211
|
+
yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
212
|
+
return Service74.of({
|
|
213
213
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
214
214
|
reload,
|
|
215
215
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
228
228
|
})
|
|
229
229
|
});
|
|
230
230
|
}));
|
|
231
|
-
var
|
|
231
|
+
var node78 = makeLocationNode({ service: Service74, layer, deps: [node79, node86, node83] });
|
|
232
232
|
function supportsText2(model) {
|
|
233
233
|
return (model.capabilities.input.length === 0 || model.capabilities.input.some((item) => item.startsWith("text"))) && (model.capabilities.output.length === 0 || model.capabilities.output.some((item) => item.startsWith("text")));
|
|
234
234
|
}
|
|
@@ -242,9 +242,9 @@ function compatibility2(input) {
|
|
|
242
242
|
function parse5(input) {
|
|
243
243
|
const index = input.indexOf("/");
|
|
244
244
|
return {
|
|
245
|
-
providerID:
|
|
246
|
-
modelID:
|
|
245
|
+
providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
|
|
246
|
+
modelID: ID12.make(index === -1 ? "" : input.slice(index + 1))
|
|
247
247
|
};
|
|
248
248
|
}
|
|
249
249
|
|
|
250
|
-
export {
|
|
250
|
+
export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info20, Service74, node78, supportsText2, compatibility2, parse5, exports_model2, Event15 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-2bv980vf.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./agent-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./agent-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./agent-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./agent-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service62
|
|
3
|
+
} from "./agent-003zf483.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./agent-agsg9aqy.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service61
|
|
9
|
+
} from "./agent-6458qwm7.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./agent-t550f9t1.js";
|
|
13
13
|
import {
|
|
14
14
|
File2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service44
|
|
16
|
+
} from "./agent-7zgrsrws.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./agent-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin49
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -31,17 +31,17 @@ import { sameDirectory } from "@opencode/util/path";
|
|
|
31
31
|
import path, { dirname, join } from "path";
|
|
32
32
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
33
33
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
34
|
-
var
|
|
34
|
+
var Plugin49 = define({
|
|
35
35
|
id: "opencode.config.instruction",
|
|
36
36
|
effect: Effect.fn(function* (ctx) {
|
|
37
|
-
const discovery = yield*
|
|
37
|
+
const discovery = yield* Service44;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service61;
|
|
40
40
|
const fs = yield* FSUtil.Service;
|
|
41
41
|
const global = yield* Global.Service;
|
|
42
42
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
43
|
-
const location = yield*
|
|
44
|
-
const watcher = yield*
|
|
43
|
+
const location = yield* Service79;
|
|
44
|
+
const watcher = yield* Service62;
|
|
45
45
|
const changes = yield* PubSub.sliding(1);
|
|
46
46
|
const watches = yield* FiberMap.make();
|
|
47
47
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -177,4 +177,4 @@ function isUrl(source) {
|
|
|
177
177
|
return URL.canParse(source) && /^https?:$/.test(new URL(source).protocol);
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Plugin49, exports_instruction };
|