Merge pull request #11925 from joewinke/fix/plugin-thirdparty-sourcedir

fix(shell): keep __sourceDir on third-party plugin manifests
This commit is contained in:
Spencer Bull authored and GitHub committed 2026-10-02 21:08:57 -05:00
commit 0537ae121b
2 files changed
+15 -1

No files matched your search

+2 -1
View File
@@ -319,7 +319,8 @@ ShellRoot {
if (!manifest) return null
if (manifest.__isFirstParty) return manifest
var copy = JSON.parse(JSON.stringify(manifest))
delete copy.__sourceDir
// Keep __sourceDir: third-party plugins find their bundled scripts through it.
// Only the host trust markers are withheld.
delete copy.__isFirstParty
delete copy.__hostCapabilities
return copy