Adds Wave Terminal (waveterm) as a magpie agent. connect writes one whole
"magpie" mode in ~/.config/waveterm/waveai.json (display:name, model,
the gateway's /chat/completions endpoint, openai-chat, the key, and
capabilities with images when the model takes them), so switching off
removes the mode and leaves the user's own modes alone.
Run at 2f08c0df merged with origin/main c27ba5f7, on the Windows box with
a fresh HOME: bun test packages/wave 4 pass, scripts/check.mjs exit 0.
Broken by hand: removing display:name turns the connect test red.
Not tried: a real Wave app run (Electron, not run headless).
Co-authored-by: atttmin <46617048+atttmin@users.noreply.github.com>