feat(electron): resolve stable local constant window options

Resolve stable local constant BrowserWindow options with retained provenance and shared early-exit mutation queries. Preserve source ordering and unknown results for relevant mutations or escapes.

Includes real Joplin correctness/cost receipts and regression coverage.

Co-authored-by: Kaoru0822 <208281322+kaoru0822-kitauji@users.noreply.github.com>
This commit is contained in:
Ysopwnable
2026-10-16 14:52:33 +08:00
committed by GitHub
parent 5a77acfbcd
commit d72d856f58
20 changed files with 4544 additions and 64 deletions
@@ -140,6 +140,7 @@ const windowShape = {
web_preferences: z.array(
z.strictObject({ name: z.string(), value: staticValue }),
),
resolution_sources: z.array(range).exactOptional(),
};
const bridgeShape = {
resolution_basis: z.literal("wrapper-substitution").optional(),