fix(webui): separate agent plugins from CLI apps (#6687)

* fix(webui): separate agent plugins from CLI apps

* fix(webui): preserve plugin payload row typing
This commit is contained in:
chengyongru authored and GitHub committed 2026-11-17 15:20:55 +08:00
1 parent e767174450
commit b77e9592af
26 files changed
+485 -116

No files matched your search

+7
View File
@@ -43,6 +43,13 @@ function createToolsCatalog(token: string) {
snapshot = { ...snapshot, invalidation: snapshot.invalidation + 1 };
publish();
},
invalidateMcpPresets() {
mcpUpdated = -Infinity;
mcpRevision++;
mcpRequest = null;
snapshot = { ...snapshot, invalidation: snapshot.invalidation + 1 };
publish();
},
cliFresh: () => snapshot.cliApps !== null && Date.now() - cliUpdated < TOOLS_CATALOG_TTL_MS,
mcpFresh: () => snapshot.mcpPresets !== null && Date.now() - mcpUpdated < TOOLS_CATALOG_TTL_MS,
loadCliApps(): Promise<void> {