Files
magpie/internal/gui/assets/plugins/library
yetone 258b4ff1ff gui: Settings › Images says where the Magpie Image tool comes from, turns the Library on, or opens its sheet (#2091, nailuoGG)
Under the Essentials preset the Library is switched off and leaves the
window, but Image generation's row still sent people to "Library → MCP
servers → Discover → Magpie Image", a page that wasn't there.

- The row's words follow the state: with the Library off it says the
  Library is turned off in Plugins › Built-in and offers "Turn on the
  Library", which flips the same built-in switch (plugins/builtin) and
  brings the page back; with it on, "Give agents Magpie Image…" opens the
  Library on MCP servers with Magpie Image's sheet up, to pick agents.
  One already in the library opens the tab with nothing over it.
- Gateway mode (no Library) and Image generation Off offer no button.
- The Library plugin page gets a `server(name)` hook (magpie.call), which
  waits for the read its open started before looking the item up.
- The row's sub wraps instead of ellipsizing; strings in zh, zh-TW, ja, de.

Run: new images-library-way.test.cjs (en, zh, zh-TW, ja, de; 1100 and
420; Chromium 31/31, WebKit 31/31), red against the old app.js. Related
suites in both engines (i18n-keys, builtins, images-*, library-*,
market-*, settings-search, settings-sections, gateway-mode, click-scroll):
345/345 each. go test ./internal/gui: all pass but TestMainWindowCorners,
killed at its 40s deadline (load average ~270); it fails the same on
origin/main caa536733 run alone, filed as #1936.
Not tried: a real build with the Essentials preset; the API is faked.
2026-10-14 15:10:32 +08:00
..