fix(ui-skill): refresh the slash menu after plugin manager changes

The browser skill source cached each Session's catalog until a preset
switch or connection reset, so an open Session kept listing the skills of
a plugin switched off on the Plugins page and missed those of a plugin
switched on. Clear every cached catalog on the forwarded
plugin-manager/changed event, which the Host emits after the operation's
reload.

Fixes #6268
This commit is contained in:
gengruilin committed 2026-10-15 16:36:30 +08:00
1 parent fa13ef7a66
commit 6910cd6e9c
11 files changed
+150 -20

No files matched your search

+1
View File
@@ -161,6 +161,7 @@
"apps/web/tests/queue-image.e2e.ts",
"apps/web/tests/skill-invocation-policy.e2e.ts",
"apps/web/tests/skill-user-invoke.e2e.ts",
"apps/web/tests/skill-menu-plugin-change.e2e.ts",
"apps/web/tests/permission-policy-context.e2e.ts",
"apps/web/tests/access-confirmation.e2e.ts",
"apps/web/tests/agent-preset-selection.e2e.ts",