Files
magpie/docs
yetone 85d159a288 library: Connect an app is two tabs, agents in groups with a switch each (#2679)
The sheet behind Connect… is redesigned, closer to how Composio's MCP
router reads, and holds up with 25+ agents.

Agents tab: agents → magpie → servers drawn as icon stacks with
magpie's own bird in the middle (no accent block), one line of where
things stand ("19 of 23 agents use…", or the lone agent named), then
the agents in three groups: not connected, connected, keeping each
server's own entry. Each row is a switch (servers/agents-all
{agents:[id], on}); a kept agent shows a short word for why with the
full reason behind (i). Connect all in the bar connects the rest in
one post. With more than 8 agents a search narrows every group, and
the connected and kept groups fold to one row each ("Claude Code,
Cursor and 17 more") so the sheet fits the window.

Other apps tab: the address, then a row per app (Cursor when it isn't
an agent, VS Code, Windsurf, any JSON app) saying where its entry goes,
with Copy entry; Cursor and VS Code get Add in the app (hub-open).

Behaviour change: the switch's off takes every Library server away from
that agent (as By agent's Turn all off does), so turning it on again
gives it all of them, not the ones it had before.

"Why", "Connected" and "Not connected" moved to the core i18n.js: Go
files say them too, so i18n-keys refuses them as plugin words. zh says
已连接 / 未连接.

docs/subsystems/mcp-hub.md's GUI row describes the new sheet (and loses
a duplicated cell).

Run at 239981794 (rebased on origin/main fa2dfc145), on mote:
- node --test library-mcp-hub + i18n-keys: 26/26 pass, chromium and
  webkit, en/zh/zh-TW/ja/de, 1100px app and 420px browser.
- go test -tags nogui -count=1 ./internal/gui: ok (55s), core budgets
  included. gofmt -l: clean.
- Before the rebase (5292964f1), the whole GUI suite was started on
  mote; it had not finished when this was pushed, its result goes on
  #2679.
- Screenshots of every language/engine/width checked against the
  approved mockup.

Broken by hand, both went red: no fold at 25 agents (the fits-the-window
and group assertions failed), and Windsurf's entry written with "url"
instead of "serverUrl" (the copied-entry assertion failed).

Not tried: real VS Code / Cursor install links from the new Add, and the
sheet in the real Windows and Linux apps.
2026-10-29 05:37:34 +08:00
..