fix(matrix): resolve crypto bootstrap failure and multi-extension idHint warning (#53298)

Merged via squash.

Prepared head SHA: 6f5813ffff
Co-authored-by: keithce <2086282+keithce@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
This commit is contained in:
Keith Elliott
2026-03-29 12:38:10 -04:00
committed by GitHub
parent ba7911bd16
commit 2d2e386b94
7 changed files with 53 additions and 1 deletions

View File

@@ -638,6 +638,7 @@ describe("loadPluginManifestRegistry", () => {
{ name: "provider-style", manifestId: "openai", idHint: "openai-provider" },
{ name: "plugin-style", manifestId: "brave", idHint: "brave-plugin" },
{ name: "sandbox-style", manifestId: "openshell", idHint: "openshell-sandbox" },
{ name: "multi-entry-style", manifestId: "matrix", idHint: "matrix/index" },
{
name: "media-understanding-style",
manifestId: "groq",

View File

@@ -195,6 +195,10 @@ function isCompatiblePluginIdHint(idHint: string | undefined, manifestId: string
if (normalizedHint === manifestId) {
return true;
}
// Generated idHint for multi-extension plugins takes the form "id/entryBase".
if (normalizedHint.startsWith(`${manifestId}/`)) {
return true;
}
return (
normalizedHint === `${manifestId}-provider` ||
normalizedHint === `${manifestId}-plugin` ||