szoxidy turned off exa-2 for every agent and found no way to take that one
server out of the Library: a server's (and a hook's) only single Remove was
at the foot of the editor its row opens, while a skill's row has a trash
button. Clicking the server's status opens its tool list, not the editor, so
the turned-off server looked stuck, with only Select and Remove all offered.
Each server row and hook row now has the skill row's trash button (shown on
hover, titled Remove). Its click opens no editor; it asks first in the page,
titled with the one it takes ("Remove the MCP server exa-2?" /
"删除 MCP 服务器 exa-2?", "Remove the hook fmt?"), and says what goes with
it, as library.RemoveServer/RemoveHook do: out of the library and out of the
agents named (or "no agent has it" for one turned off everywhere), out of the
projects magpie placed it in, its sign-in forgotten, and the agents' own
servers left as they are. Remove posts servers/remove (hooks/remove) with
its name, the same change the editor's button makes. While Select is on the
row shows no trash (the bar's Remove is the one), so a picking row keeps the
room it had. New strings in zh, zh-TW, ja and de.
Run:
- new internal/gui/tests/library-row-remove.test.cjs: 22/22 (Chromium and
WebKit, 1100px and 420px, en/zh/zh-TW/ja/de): exa-2 turned off and exa
given to two agents, in a project and signed in; Cancel posts nothing; the
sheet's title and lines in each language; no sideways overflow, no click
scrolls; a hook removed from its row.
- Broken by hand: with origin/main's library/client.js the new test fails
11/11 in Chromium ("exa-2's row has no Remove").
- The first version also put the trash on rows while picking: WebKit en
library-servers-bulk went red ("lib-select moved on the screen from 289 to
307"; it passes on origin/main's client.js), fixed by leaving the trash off
a picking row; that test then 5/5 WebKit.
- Related, both engines, with the new test (19 files, --test-concurrency=2):
317/317: library-servers-bulk, -hooks, -pick-remove, -mcp-tools,
-mcp-health, -mcp-tool-switch, -row-open-scroll, -chip-fan, -mcp-unshown,
-items, -all, -toggle-status, -null-agents, -gone-agents, -zed-mcp,
-mcp-copy-config, -env-refs, i18n-keys.
- Not tried in the real app (fake API only); no Go changed, so no go vet.
Full suite: not run (focused GUI tests only)