gengruilin
2ceacb8ad6
feat(client-ui-connectors): keep custom MCP servers as MCP server rows of the profile patch
...
The MCP manager takes each server from its own `@deepseek-ai/dsh-mcp-manager/server` row and no longer reads a `servers` list, so the Connectors tab cannot keep custom servers in the manager's Settings namespace. The `connectors` Host service now keeps each custom server as the row `mcp-server-<name>` of the profile patch, and it lists every MCP server row of the composition, including a row that is switched off and a row that did not start.
Reading: the stream `watchServers` replaces `listServers()`. It sends the list when the browser subscribes, after each change made through the service, after `app-boot/config-reload`, and after `plugin-manager/changed`. Each server carries its row id and one of three states: on, off, or failed with the row's error. The revision a change names is a digest of the rows instead of the Settings revision. The config field `mcpManagerNamespace` and the list's `writable` flag are removed: the service needs the configuration editor, the plugin manager, credentials, and the MCP manager, and it reports the section as unavailable when one of them is absent.
Writing: `saveServer(draft, revision, id?)` inserts a new row through the configuration editor, or replaces the config of the row `id` names, after it checks the config against the row plugin's exported `Config`. A row that is switched on must run after the write; when it does not, the configuration editor restores the profile patch and the save is refused with the row's failure. A row that is off is written without starting, and a row that did not start is started with the new config, so both can be edited. Secrets are stored after the row is written, and a reference is deleted only when no other row uses it, whether that row is on or off. `removeServer(id, revision)` removes only a row the profile patch adds. `setServerEnabled(id, enabled, revision)` switches the row through `pluginManager.setPluginEnabled` and reports every outcome other than `applied` as a refusal.
OAuth: a server that is on signs out through the manager. The manager does not hold a server that is off or did not start, so the service deletes that row's grant record itself, unless another row or a registered server uses the same key. Accounts are registered for the OAuth rows that are on.
Browser: the store follows the stream instead of reading after each change and after each Settings event. A row shows why it did not start. The page of a server that is off or did not start keeps the form; only a server that is on has Test connection and the account section. Switching a local command on asks for the risk confirmation, as saving one that the save starts does, and the form no longer has an `enabled` field. When the row of an open page is removed or can no longer be read, a notice takes the page's place. The rows of the header, environment, and argument lists keep their keys while rows are added and removed.
Two style defects seen on the real page are fixed: the validation lines named a color token that does not exist and fell back to the secondary label color, and the button of a notice wrapped below a long message.
The save checks a config with `Config` of `@deepseek-ai/dsh-mcp-manager/server`, and the grant deletion builds the record key with `credentialKey` of `@deepseek-ai/dsh-credentials`, so the package declares both packages as peer dependencies. `scripts/package-dependency-policy.ts` lists the `Config` export under `PEER_REQUIRED_HOST_EXPORTS`; this policy entry needs the domain owner's confirmation.
The Web e2e asserts the row and its override in the profile patch, the stored token, the switch, and the removal of both. The READMEs, the Agent Notes that described the Settings namespace, and the generated catalogs describe the rows.
2026-11-25 12:29:08 +08:00
..
2026-11-11 15:35:08 +08:00
2026-09-21 08:24:18 +00:00
2026-11-27 00:11:09 +08:00
2026-11-22 11:23:51 +08:00
2026-11-27 06:39:04 +00:00
2026-11-24 20:02:56 -08:00
2026-10-21 15:12:47 +08:00
2026-11-11 15:12:02 +08:00
2026-10-20 02:13:37 +08:00
2026-07-26 23:29:46 +08:00
2026-08-29 15:31:12 +08:00
2026-09-25 21:59:34 +08:00
2026-09-25 21:59:34 +08:00
2026-08-06 16:38:25 +08:00
2026-11-11 12:47:01 +08:00
2026-11-11 12:47:01 +08:00
2026-11-20 15:23:15 +08:00
2026-09-22 21:14:06 +08:00
2026-10-15 03:56:26 +08:00
2026-08-29 20:19:38 +08:00
2026-11-24 15:34:08 +08:00
2026-11-11 15:15:26 +08:00
2026-11-13 10:11:54 +08:00
2026-11-24 15:15:17 +08:00
2026-11-04 13:25:24 +00:00
2026-09-23 19:16:59 +08:00
2026-11-26 23:15:45 +08:00
2026-10-09 15:52:59 +08:00
2026-10-01 03:02:51 +08:00
2026-10-01 03:02:51 +08:00
2026-11-02 16:07:28 +08:00
2026-11-02 16:07:29 +08:00
2026-11-22 11:23:51 +08:00
2026-11-22 11:23:51 +08:00
2026-11-24 15:15:17 +08:00
2026-10-10 13:12:10 +08:00
2026-10-28 01:58:28 +08:00
2026-10-28 01:58:28 +08:00
2026-10-06 16:42:25 +08:00
2026-08-09 16:39:41 +08:00
2026-07-28 01:02:43 +08:00
2026-07-19 21:24:42 +08:00
2026-09-03 11:16:34 +08:00
2026-11-24 15:15:17 +08:00
2026-11-27 00:11:09 +08:00
2026-11-27 00:11:09 +08:00
2026-11-22 11:23:51 +08:00
2026-09-07 12:41:23 +08:00
2026-11-12 19:27:57 +08:00
2026-11-12 19:27:57 +08:00
2026-11-26 15:32:58 +08:00
2026-10-21 14:40:16 +08:00
2026-11-05 00:22:36 +08:00
2026-10-20 02:13:37 +08:00
2026-10-22 04:09:35 +00:00
2026-10-20 02:14:33 +08:00
2026-11-26 15:21:49 +08:00
2026-11-26 15:21:49 +08:00
2026-11-26 15:21:49 +08:00
2026-10-20 00:35:51 -07:00
2026-10-15 23:33:49 +08:00
2026-10-18 14:29:23 +08:00
2026-10-28 01:58:28 +08:00
2026-10-22 21:46:29 +08:00
2026-08-24 22:02:44 +08:00
2026-07-23 00:39:55 +08:00
2026-11-05 20:34:44 +08:00
2026-08-11 15:23:05 +08:00
2026-11-05 20:34:44 +08:00
2026-11-05 20:34:44 +08:00
2026-11-13 16:45:54 +08:00
2026-11-16 19:59:42 +08:00
2026-10-29 20:42:07 +08:00
2026-11-16 15:46:58 +08:00
2026-11-13 16:45:54 +08:00
2026-11-25 04:48:56 +08:00
2026-10-15 16:47:43 +08:00
2026-10-30 14:00:01 +08:00
2026-11-12 23:14:32 +08:00
2026-11-05 16:26:40 +08:00
2026-09-13 15:17:06 +08:00
2026-09-08 22:31:16 +08:00
2026-11-23 14:38:15 +08:00
2026-10-08 14:55:10 +08:00
2026-10-08 14:55:10 +08:00
2026-10-11 03:28:22 +08:00
2026-10-08 19:59:17 +08:00
2026-11-20 13:03:57 +08:00
2026-11-20 13:03:57 +08:00
2026-09-13 15:13:59 +08:00
2026-11-27 13:17:47 +08:00
2026-10-30 13:41:02 +08:00
2026-10-19 17:34:49 +08:00
2026-11-12 16:43:02 +08:00
2026-11-11 15:14:28 +08:00
2026-10-30 17:09:00 +08:00
2026-11-25 17:29:58 +08:00
2026-11-11 11:43:44 +08:00
2026-11-25 02:52:49 +08:00
2026-11-27 00:44:30 +08:00
2026-11-25 12:35:06 +08:00
2026-11-17 14:08:45 +08:00
2026-10-22 18:05:13 +08:00
2026-10-22 18:05:13 +08:00
2026-11-19 21:24:42 +08:00
2026-11-19 21:24:42 +08:00
2026-11-15 01:38:51 +08:00
2026-09-23 19:16:59 +08:00
2026-11-02 16:07:29 +08:00
2026-11-02 16:07:29 +08:00
2026-11-04 04:59:30 +08:00
2026-11-27 06:39:04 +00:00
2026-10-06 16:41:04 +08:00
2026-10-30 13:47:01 +08:00
2026-10-30 13:47:01 +08:00
2026-11-20 16:41:36 +08:00
2026-11-27 13:17:47 +08:00
2026-11-05 17:04:43 +08:00
2026-11-05 17:04:43 +08:00
2026-07-29 23:55:12 +08:00
2026-11-12 23:14:32 +08:00
2026-11-23 18:28:12 +08:00
2026-11-23 14:38:15 +08:00
2026-09-12 17:06:38 +08:00
2026-09-12 17:06:38 +08:00
2026-11-12 23:14:32 +08:00
2026-11-25 12:29:08 +08:00
2026-09-23 22:32:06 +08:00
2026-11-25 20:22:09 -08:00
2026-11-25 20:22:09 -08:00
2026-10-19 18:37:48 +08:00
2026-11-13 15:45:04 +08:00
2026-09-06 02:05:27 +08:00
2026-11-13 15:28:28 +08:00
2026-11-26 23:15:45 +08:00
2026-11-26 23:15:45 +08:00
2026-11-27 00:11:09 +08:00
2026-09-23 22:32:06 +08:00
2026-09-30 12:52:18 +08:00
2026-09-30 12:52:18 +08:00
2026-09-13 14:47:56 +08:00
2026-09-13 14:47:56 +08:00
2026-10-18 14:29:23 +08:00
2026-10-18 14:29:23 +08:00
2026-09-17 00:12:27 +08:00
2026-10-29 13:14:42 +08:00
2026-09-25 22:19:27 +08:00
2026-09-26 22:56:57 +08:00
2026-08-11 15:23:05 +08:00
2026-09-28 14:18:03 +08:00
2026-11-26 23:15:45 +08:00
2026-11-26 23:15:45 +08:00
2026-11-26 23:15:45 +08:00
2026-09-09 13:16:09 +08:00
2026-09-21 00:04:06 +08:00
2026-10-28 19:40:54 +08:00
2026-10-29 13:40:54 +08:00
2026-10-07 14:07:28 +08:00
2026-10-22 22:14:47 +08:00
2026-11-25 17:29:58 +08:00
2026-10-12 11:06:53 +08:00
2026-10-12 11:06:53 +08:00
2026-11-20 13:03:57 +08:00
2026-08-18 18:27:01 +08:00
2026-11-15 01:42:34 +08:00
2026-11-15 01:42:16 +08:00
2026-09-19 20:00:11 +08:00
2026-09-19 20:00:11 +08:00
2026-11-27 00:11:09 +08:00
2026-10-30 14:25:27 +08:00
2026-11-24 15:15:17 +08:00
2026-10-26 03:25:12 +08:00
2026-11-13 07:56:57 +00:00
2026-11-26 00:32:27 +08:00
2026-11-25 12:29:08 +08:00
2026-08-29 14:26:42 +08:00
2026-08-23 16:28:19 +08:00
2026-10-24 14:58:40 +08:00
2026-07-26 02:52:48 +08:00
2026-07-26 02:52:48 +08:00
2026-10-12 11:06:50 +08:00
2026-10-12 11:06:50 +08:00
2026-10-12 11:06:53 +08:00
2026-10-05 08:57:58 +08:00
2026-10-05 18:09:01 +08:00
2026-10-19 18:37:48 +08:00
2026-10-19 19:33:43 +08:00
2026-11-11 15:15:26 +08:00
2026-10-30 23:42:08 +08:00
2026-10-08 20:26:57 +08:00
2026-09-13 12:19:46 +08:00
2026-10-19 18:37:48 +08:00
2026-10-19 18:37:48 +08:00
2026-10-08 20:26:57 +08:00
2026-10-19 18:37:48 +08:00
2026-10-19 18:37:48 +08:00
2026-10-19 18:37:48 +08:00
2026-10-19 18:37:48 +08:00
2026-09-18 19:05:32 +08:00
2026-10-19 18:37:48 +08:00
2026-10-19 19:33:43 +08:00
2026-10-19 18:37:48 +08:00
2026-09-25 01:09:44 +08:00
2026-09-18 19:05:32 +08:00
2026-09-13 12:08:08 +08:00
2026-09-18 19:07:12 +08:00
2026-11-19 13:43:15 +08:00
2026-11-27 00:11:09 +08:00
2026-10-19 23:00:32 +08:00
2026-10-06 16:42:25 +08:00
2026-10-06 16:42:25 +08:00
2026-08-21 11:09:25 +08:00
2026-08-21 11:09:25 +08:00
2026-11-05 01:57:13 +08:00
2026-11-05 01:57:13 +08:00
2026-11-23 20:11:16 +08:00
2026-11-12 19:27:57 +08:00
2026-09-23 19:16:59 +08:00
2026-11-22 11:23:51 +08:00
2026-11-24 21:33:52 +08:00
2026-11-12 14:37:45 +08:00
2026-09-15 16:15:11 +08:00
2026-08-08 12:25:41 +08:00
2026-11-24 15:15:17 +08:00
2026-11-05 00:22:36 +08:00
2026-11-05 00:22:36 +08:00
2026-11-26 15:21:49 +08:00
2026-11-26 15:21:49 +08:00
2026-10-14 14:43:59 +08:00
2026-11-05 00:22:36 +08:00
2026-11-02 16:07:28 +08:00
2026-11-02 16:07:29 +08:00
2026-11-02 16:07:28 +08:00
2026-11-04 18:17:58 +08:00
2026-11-11 08:39:14 +00:00
2026-11-20 15:46:59 +08:00
2026-11-20 15:23:15 +08:00
2026-09-18 19:05:32 +08:00
2026-09-18 19:05:32 +08:00
2026-10-12 11:06:53 +08:00
2026-10-12 11:06:53 +08:00
2026-09-18 19:08:11 +08:00
2026-11-13 14:13:24 +08:00
2026-11-24 15:15:17 +08:00
2026-11-23 20:11:16 +08:00
2026-11-20 15:23:15 +08:00
2026-11-20 13:03:57 +08:00
2026-11-26 11:37:35 +08:00
2026-11-26 11:37:35 +08:00
2026-10-07 21:20:08 +08:00
2026-10-07 21:20:08 +08:00
2026-10-12 11:06:50 +08:00
2026-10-12 11:06:50 +08:00
2026-11-20 12:09:36 +08:00
2026-09-20 13:09:14 +08:00
2026-09-19 20:13:58 +08:00
2026-11-11 08:39:14 +00:00
2026-10-09 19:14:55 +08:00
2026-10-09 19:14:55 +08:00
2026-11-12 14:37:45 +08:00
2026-10-22 22:14:47 +08:00
2026-10-22 22:14:47 +08:00
2026-11-20 16:41:36 +08:00
2026-11-27 00:11:09 +08:00
2026-11-24 16:43:25 +08:00
2026-11-24 16:43:25 +08:00
2026-11-03 13:04:26 +08:00
2026-09-17 16:48:06 +08:00
2026-09-08 13:52:08 +08:00
2026-11-11 08:39:14 +00:00
2026-09-09 14:46:41 +08:00
2026-09-06 22:44:54 +08:00
2026-09-06 22:16:00 +08:00
2026-10-26 11:05:45 +08:00
2026-11-05 00:22:36 +08:00
2026-11-05 00:22:36 +08:00
2026-11-26 01:34:29 +08:00
2026-11-26 01:34:29 +08:00
2026-09-22 21:44:39 +08:00
2026-08-13 15:16:12 +08:00
2026-10-08 18:25:43 +08:00
2026-10-08 18:25:43 +08:00
2026-10-22 20:42:19 +08:00
2026-10-22 20:42:19 +08:00
2026-09-30 12:52:18 +08:00
2026-09-01 11:01:05 +08:00
2026-08-19 03:01:11 +08:00
2026-08-19 03:01:11 +08:00
2026-10-05 12:07:57 +08:00
2026-10-12 11:06:53 +08:00
2026-09-23 22:32:06 +08:00
2026-10-12 11:06:53 +08:00
2026-09-29 10:34:29 +08:00
2026-11-04 13:25:24 +00:00
2026-11-05 00:22:36 +08:00
2026-08-24 21:37:14 +08:00
2026-08-19 02:26:57 +08:00
2026-08-10 16:34:20 +08:00
2026-09-17 16:00:36 +08:00
2026-10-12 11:06:53 +08:00
2026-10-12 11:06:53 +08:00
2026-11-27 00:11:09 +08:00
2026-10-18 14:29:23 +08:00
2026-10-12 11:06:56 +08:00
2026-11-04 16:30:30 +08:00
2026-11-24 14:58:08 +08:00
2026-08-10 16:34:20 +08:00
2026-08-10 16:34:20 +08:00
2026-09-20 15:50:41 +08:00
2026-11-25 17:23:45 +08:00
2026-08-10 16:34:20 +08:00
2026-08-18 01:34:25 +08:00
2026-08-18 01:34:25 +08:00
2026-11-13 10:11:54 +08:00
2026-11-24 15:15:17 +08:00
2026-09-18 20:06:44 +08:00
2026-09-30 23:20:22 +08:00
2026-09-01 20:22:05 +08:00
2026-09-04 16:23:37 +08:00
2026-09-23 22:32:06 +08:00
2026-10-22 20:35:15 +08:00
2026-08-14 16:05:48 +08:00
2026-09-21 08:24:18 +00:00
2026-11-27 00:11:09 +08:00
2026-11-27 00:11:09 +08:00
2026-11-13 16:23:25 +08:00
2026-11-13 17:14:36 +08:00
2026-11-20 01:59:10 +08:00
2026-11-20 01:59:10 +08:00
2026-10-23 12:12:38 +08:00
2026-11-24 15:15:17 +08:00
2026-07-13 23:27:00 +08:00
2026-10-12 11:06:53 +08:00
2026-08-20 22:10:15 +08:00
2026-08-20 22:10:35 +08:00
2026-08-13 13:07:24 +08:00
2026-08-13 13:07:24 +08:00
2026-11-11 12:47:01 +08:00
2026-11-11 12:47:01 +08:00
2026-08-21 22:22:23 +08:00
2026-10-22 22:14:47 +08:00
2026-10-22 22:14:47 +08:00
2026-10-19 22:23:13 +08:00
2026-10-19 22:23:13 +08:00
2026-10-19 22:23:13 +08:00
2026-08-24 22:02:44 +08:00
2026-10-20 12:44:14 +08:00
2026-10-20 12:44:14 +08:00
2026-10-15 03:56:25 +08:00
2026-10-15 03:56:25 +08:00
2026-11-11 12:47:00 +08:00
2026-11-11 12:47:00 +08:00
2026-11-24 15:15:17 +08:00
2026-11-25 12:16:22 +08:00
2026-11-25 12:16:22 +08:00
2026-08-14 16:10:06 +08:00
2026-08-21 22:22:23 +08:00
2026-11-27 00:11:09 +08:00
2026-11-24 15:15:17 +08:00
2026-10-09 17:58:18 +08:00
2026-10-09 17:58:18 +08:00
2026-09-17 00:12:27 +08:00
2026-09-17 00:12:27 +08:00
2026-11-05 21:26:38 +08:00
2026-11-23 18:28:12 +08:00
2026-11-05 17:53:22 +08:00
2026-11-05 17:53:22 +08:00
2026-11-18 10:50:37 +08:00
2026-11-18 10:50:37 +08:00
2026-11-05 11:11:05 +00:00
2026-11-05 11:11:05 +00:00
2026-10-23 12:12:38 +08:00
2026-11-24 15:15:17 +08:00
2026-08-11 12:35:38 +08:00
2026-10-22 20:35:15 +08:00
2026-10-28 16:55:39 +08:00
2026-10-28 16:55:39 +08:00
2026-11-12 16:11:08 +08:00
2026-11-24 15:15:17 +08:00
2026-08-10 18:04:26 +08:00
2026-08-10 18:04:26 +08:00
2026-11-20 00:27:32 +08:00
2026-09-23 19:16:59 +08:00
2026-08-23 16:02:32 +08:00
2026-10-06 16:41:04 +08:00
2026-11-26 11:37:35 +08:00
2026-11-26 11:37:35 +08:00
2026-10-12 11:06:53 +08:00
2026-08-13 13:07:57 +08:00
2026-11-07 17:02:19 +08:00
2026-11-05 01:57:13 +08:00
2026-11-05 01:57:13 +08:00
2026-09-19 15:43:10 +08:00
2026-09-19 15:43:09 +08:00
2026-10-26 23:51:18 +08:00
2026-10-26 23:51:18 +08:00
2026-09-22 21:44:39 +08:00
2026-11-19 21:24:42 +08:00
2026-11-19 21:24:42 +08:00
2026-09-21 00:04:06 +08:00
2026-09-21 00:04:06 +08:00
2026-10-06 16:42:25 +08:00
2026-09-12 20:56:26 +08:00
2026-11-20 12:09:36 +08:00
2026-11-20 12:09:36 +08:00
2026-11-20 12:09:36 +08:00
2026-11-20 12:09:36 +08:00
2026-11-20 12:09:36 +08:00
2026-11-25 17:29:58 +08:00
2026-11-22 11:23:51 +08:00
2026-10-12 17:50:31 +08:00
2026-10-12 17:46:09 +08:00