Files
plugins/packages/wave/package.json
T
汤杭运 27ce92fd8f agent-wave 0.1.1: the mode names its model, sets a thinking level, and Wave is found by wsh (#1106)
Wave's magpie mode now carries the picked model's name ("Magpie · <model>"),
display:order 1 and the crow icon, and ai:thinkinglevel from the model's
efforts (medium, then high, then low; left out when it has none). The agent
also detects Wave by the wsh CLI, attributes usage by Wave's User-Agent, and
shows a notice on picking the Magpie mode in Wave. connect still returns one
whole `magpie` object, so a disconnect removes the mode. By aibot88.

Checked against Wave's source (pkg/wconfig/settingsconfig.go): display:order,
display:icon and ai:thinkinglevel (enum low/medium/high) are AIModeConfigType
fields. magpie passes name and efforts to connect (internal/agent/plugged.go),
and bin/ua/notice are agentplug.Desc fields.

Run at the reviewed head 008cd8bb4, HOME=$(mktemp -d):
- packages/wave: bun test 5 pass, 0 fail (mote)
- bun scripts/check.mjs wave: ok
Broken by hand: putting "high" ahead of "medium" turns the thinking-level
test red (4 pass, 1 fail, magpie-desktop WSL); restored.

The author ran it on magpie 0.1.3900 with Wave 0.14.5 on macOS.
Not tried by the reviewer: a real Wave install.
2026-11-14 00:28:26 +08:00

19 lines
586 B
JSON

{
"name": "@magpie-community/agent-wave",
"version": "0.1.1",
"description": "Wave Terminal (waveterm) as a magpie agent: pick one of magpie's models for it on the Agents page",
"type": "module",
"files": ["wave.agent.js", "README.md"],
"keywords": ["magpie", "magpie-agent", "wave", "waveterm", "llm-gateway"],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/magpie-community/plugins.git",
"directory": "packages/wave"
},
"magpie": {
"agent": "./wave.agent.js",
"icon": "https://github.com/wavetermdev.png"
}
}