Files
plugins/packages/minimax-design
Purfeather 5ed1ac6d3d minimax-design 0.1.0: MiniMax Design as an agent, Windows only (Purfeather, #799)
Adds MiniMax Design (packages/minimax-design, @magpie-community/agent-minimax-design 0.1.0) as a magpie agent.

Its one switch writes a single custom-model entry, `config.customModels.user-custom-magpie`, into Design's `%APPDATA%\@hilo\desktop\hub-config.json`. The entry points at magpie's local /v1 with the gateway key and magpie's model list. Reasoning levels are filtered to the ones Design knows (low to max). Disconnecting removes the whole entry and leaves the user's other custom models alone. The agent is Windows only: its paths lean on $APPDATA and $LOCALAPPDATA, so it is never detected on macOS or Linux, and the agent's notice says so.

Also in this change:
- a README Agents row;
- a registry entry;
- COMPATIBILITY.md.

Verified by the author with real use: Windows 11, MiniMax Design 3.0.17, magpie 0.1.3238. Connect writes the entry, Design's model menu shows Magpie, and requests reach the gateway, attributed to minimax-design. Disconnect removes only the entry, and its preview lists it (magpie 0d70f335e, v0.1.3200).

Run at the reviewed head 8e09f13c on a separate macOS machine, with a throwaway HOME (Bun 1.4.2):
- bun test packages/minimax-design: 7 pass, 0 fail.
- bun scripts/check.mjs minimax-design: ok.
- Repo-wide bun test: 6791 pass, 20 skip, 1 fail. The one failure is gcp-ai's ADC consent test (plugin.test.mjs:422), red only under a concurrent full suite. It is green 6 of 6 alone, and the package isn't touched here.

Not tried: a real Design install on the reviewer's side, and macOS/Linux (unsupported).
2026-11-07 19:57:01 +08:00
..

@magpie-community/agent-minimax-design

MiniMax Design (the local multimodal creation studio, electron app id @hilo) as a magpie agent. MiniMax Design supports custom text models over the OpenAI-compatible, OpenAI Responses and Anthropic protocols; magpie's gateway translates all three, so one switch points Design at magpie.

magpie plugin add @magpie-community/agent-minimax-design

Windows only. The paths below lean on %APPDATA% and %LOCALAPPDATA%, which other systems don't set. Quit MiniMax Design first, switch the agent on in magpie's Agents page, then start Design and pick a model under the Magpie entry in its model menu. Disconnecting in magpie removes the entry magpie wrote — the whole entry, not just its fields — and leaves the rest of Design's configuration untouched.

How it works

Design keeps its custom models in %APPDATA%\@hilo\desktop\hub-config.json, under config.customModels.<id>:

{
  "protocol": "openai-compatible",
  "providerName": "Magpie",
  "baseUrl": "http://127.0.0.1:3425/v1",
  "apiKey": "magpie-minimax-design",
  "models": [{ "id": "...", "contextWindow": 1000000, "maxOutputTokens": 65536, "reasoningLevels": ["low", "high"] }]
}

The agent is a switch (no model picker): Design picks its model in its own UI. Connecting writes the single entry config.customModels.user-custom-magpie — one key holding the whole object, so disconnecting takes the entry out whole rather than leaving an emptied {"user-custom-magpie": {}} behind. apiKey is a Design-specific key, so Usage attributes requests to this agent. models is mapped from magpie's current model list (id → id, context → contextWindow, output → maxOutputTokens, efforts → reasoningLevels); when magpie's models change, magpie re-calls connect and the list refreshes itself. Reasoning levels are filtered to the ones Design's model menu knows (low, medium, high, xhigh, max); models whose efforts are all something else (e.g. none) get no reasoningLevels field.

Notes

  • Quit Design before switching: a running Design writes its in-memory configuration back over the file. Restart Design after a change.
  • Design accepts the non-UUID entry id user-custom-magpie (verified on 3.0.17).
  • See COMPATIBILITY.md for verified versions and platforms.

How agent plugins work: usemagpie.ai/docs/plugins#agents.