:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
feat(desktop): brand the window in macOS Mission Control (#80801)
Raquel Smith47e61826033a
diff --git a/products/desktop/apps/code/package.json b/products/desktop/apps/code/package.jsonindex 16f340aab8c5..a5d4dcf0e519 100644--- a/products/desktop/apps/code/package.json+++ b/products/desktop/apps/code/package.json@@ -126,6 +126,7 @@"@trpc/server": "^11.17.0","@trpc/tanstack-react-query": "^11.17.0","better-sqlite3": "^12.10.1",+ "bplist-parser": "^0.3.2","chokidar": "^5.0.0","detect-libc": "^1.0.3","dotenv": "^17.4.2",@@ -139,6 +140,7 @@"ignore": "^7.0.5","inversify": "^7.10.6","is-glob": "^4.0.3",+ "koffi": "^3.1.4","micromatch": "^4.0.5","node-addon-api": "^8.5.0","node-machine-id": "^1.1.12",diff --git a/products/desktop/apps/code/runtime-dependencies.test.ts b/products/desktop/apps/code/runtime-dependencies.test.tsindex 2aaa3c0ec076..ca9a04cf8012 100644--- a/products/desktop/apps/code/runtime-dependencies.test.ts+++ b/products/desktop/apps/code/runtime-dependencies.test.ts@@ -1,7 +1,9 @@+import micromatch from "micromatch";import { describe, expect, it } from "vitest";import {asarUnpackGlobs,buildExternals,+ koffiPackageFor,macOnlyNativeModules,packagedFileGlobs,requiredNativeModules,@@ -29,6 +31,73 @@ describe("watcherPackageFor", () => {});});+describe("koffiPackageFor", () => {+ it.each([+ ["mac", 1, "@koromix/koffi-darwin-x64"],+ ["mac", 3, "@koromix/koffi-darwin-arm64"],+ ])("maps platform=%s arch=%i to %s", (platform, arch, expected) => {+ expect(koffiPackageFor(platform, arch as number)).toBe(expected);+ });++ it.each([+ ["windows", 1],+ ["linux", 3],+ ["darwin", 3],+ ])(+ "returns null for platform=%s, which never stages koffi",+ (platform, arch) => {+ // koffi only reads the macOS window list, and electron-builder names that+ // platform "mac" — "darwin" is the same mistake that once left the Windows+ // watcher binary unstaged.+ expect(koffiPackageFor(platform, arch as number)).toBeNull();+ },+ );+});++/**+ * Arch-specific packages are named by watcherPackageFor / koffiPackageFor rather+ * than by any list, so nothing gives them a glob automatically. electron-builder+ * drops all of node_modules and re-includes only these globs, so a scope nobody+ * covers is stripped and its prebuilt binary never reaches the app — and the only+ * symptom is the feature failing in a packaged build. @koromix shipped that way.+ */+describe("staged arch-specific binaries reach the packaged app", () => {+ it.each([+ ["@parcel/watcher-darwin-arm64", "watcher.node"],+ ["@parcel/watcher-linux-x64-glibc", "watcher.node"],+ ["@parcel/watcher-win32-x64", "watcher.node"],+ ["@koromix/koffi-darwin-arm64", "darwin_arm64/koffi.node"],+ ["@koromix/koffi-darwin-x64", "darwin_x64/koffi.node"],+ ])("packages and unpacks %s", (pkg, binary) => {+ const path = `node_modules/${pkg}/${binary}`;++ expect(micromatch.isMatch(path, packagedFileGlobs)).toBe(true);+ // A .node inside the asar cannot be dlopened, so being packaged is only half+ // of reaching the app.+ expect(micromatch.isMatch(path, asarUnpackGlobs)).toBe(true);+ });++ it("covers every package the stagers can name", () => {+ const staged = [+ ...["mac", "windows", "linux"].flatMap((platform) =>+ [1, 3].map((arch) => watcherPackageFor(platform, arch)),+ ),+ ...["mac", "windows", "linux"].flatMap((platform) =>+ [1, 3].map((arch) => koffiPackageFor(platform, arch)),+ ),+ ].filter((pkg): pkg is string => pkg !== null);++ for (const pkg of staged) {+ expect(+ micromatch.isMatch(+ `node_modules/${pkg}/package.json`,+ packagedFileGlobs,+ ),+ ).toBe(true);+ }+ });+});+describe("native module globs", () => {it("collapses the @parcel scope to a single glob", () => {expect(packagedFileGlobs).toContain("node_modules/@parcel/**/*");diff --git a/products/desktop/apps/code/runtime-dependencies.ts b/products/desktop/apps/code/runtime-dependencies.tsindex 0d2f45bc7083..ad5f76a68857 100644--- a/products/desktop/apps/code/runtime-dependencies.ts+++ b/products/desktop/apps/code/runtime-dependencies.ts@@ -37,8 +37,8 @@ export const requiredNativeModules = ["better-sqlite3",];-// file-icon is only used on macOS.-export const macOnlyNativeModules = ["file-icon"];+// file-icon is only used on macOS; koffi only reads the macOS window list.+export const macOnlyNativeModules = ["file-icon", "koffi"];// The subset that ships compiled .node binaries and must be unpacked from asar.const asarUnpackModules = [@@ -48,6 +48,8 @@ const asarUnpackModules = ["better-sqlite3","bindings","file-uri-to-path",+ "koffi",+ "@koromix/koffi",];// Modules Vite must not bundle (resolved from the staged node_modules at runtime).@@ -56,17 +58,36 @@ export const buildExternals = ["@parcel/watcher","file-icon","better-sqlite3",+ "koffi",];-// electron-builder ships the whole @parcel scope so the platform-specific-// @parcel/watcher-<plat>-<arch> staged by before-pack is covered too.-const scopeOf = (name: string) =>- name.startsWith("@parcel/") ? "@parcel" : name;+// electron-builder ships whole scopes, so the platform-specific+// @parcel/watcher-<plat>-<arch> and @koromix/koffi-<plat>-<arch> packages that+// before-pack stages are covered by the parent scope's glob.+const scopeOf = (name: string) => {+ if (name.startsWith("@parcel/")) return "@parcel";+ if (name.startsWith("@koromix/")) return "@koromix";+ return name;+};++/**+ * Scopes that hold only arch-specific packages, named by `watcherPackageFor` and+ * `koffiPackageFor` rather than by any list here.+ *+ * They still need a glob. electron-builder's `files` drops all of node_modules+ * and then re-includes these globs, so a scope nobody names is stripped and its+ * prebuilt binary never reaches the app — silently, because the failure only+ * shows up as the feature not working in a packaged build. @parcel earns its glob+ * via `@parcel/watcher` above; @koromix has no such entry.+ */+const stagedOnlyScopes = ["@koromix"];export const packagedFileGlobs = [- ...runtimeNativeModules,- ...macOnlyNativeModules,-].map((name) => `node_modules/${scopeOf(name)}/**/*`);+ ...new Set([+ ...[...runtimeNativeModules, ...macOnlyNativeModules].map(scopeOf),+ ...stagedOnlyScopes,+ ]),+].map((scope) => `node_modules/${scope}/**/*`);export const asarUnpackGlobs = asarUnpackModules.map((name) => `node_modules/${scopeOf(name)}/**`,@@ -102,3 +123,15 @@ export function watcherPackageFor(}return null;}++// koffi's loader requires its optional per-platform prebuild package by name,+// so the packaged app must stage the matching one beside it.+export function koffiPackageFor(+ platformName: string,+ arch: number,+): string | null {+ if (platformName !== "mac") return null;+ return arch === ARCH_X64+ ? "@koromix/koffi-darwin-x64"+ : "@koromix/koffi-darwin-arm64";+}diff --git a/products/desktop/apps/code/scripts/before-pack.ts b/products/desktop/apps/code/scripts/before-pack.tsindex f5529560b974..d0e1389a0155 100644--- a/products/desktop/apps/code/scripts/before-pack.ts+++ b/products/desktop/apps/code/scripts/before-pack.ts@@ -1,6 +1,7 @@import { cpSync, existsSync, mkdirSync, rmSync } from "node:fs";import path from "node:path";import {+ koffiPackageFor,macOnlyNativeModules,requiredNativeModules,runtimeNativeModules,@@ -81,6 +82,13 @@ export default async function beforePack(context: BeforePackContext) {for (const dep of macOnlyNativeModules) {copyDep(dep, rootNodeModules, localNodeModules);}++ // copyDep, not copyRequiredDep: a missing koffi prebuild only loses the+ // Mission Control overlay and should not fail a release build.+ const koffiPkg = koffiPackageFor(platformName, arch);+ if (koffiPkg) {+ copyDep(koffiPkg, rootNodeModules, localNodeModules);+ }}const watcherBuild = path.join(localNodeModules, "@parcel/watcher/build");diff --git a/products/desktop/apps/code/src/main/di/bindings.ts b/products/desktop/apps/code/src/main/di/bindings.tsindex 2cf27f8c0732..334ee00bb377 100644--- a/products/desktop/apps/code/src/main/di/bindings.ts+++ b/products/desktop/apps/code/src/main/di/bindings.ts@@ -241,6 +241,7 @@ import type { ElectronDialog } from "../platform-adapters/electron-dialog";import type { ElectronFileIcon } from "../platform-adapters/electron-file-icon";import type { ElectronImageProcessor } from "../platform-adapters/electron-image-processor";import type { ElectronMainWindow } from "../platform-adapters/electron-main-window";+import type { MissionControlService } from "../platform-adapters/electron-mission-control";import type { ElectronNotifier } from "../platform-adapters/electron-notifier";import type { ElectronPowerManager } from "../platform-adapters/electron-power-manager";import type { ElectronSecureStorage } from "../platform-adapters/electron-secure-storage";@@ -296,6 +297,7 @@ import type {LLM_GATEWAY_SERVICE as MAIN_LLM_GATEWAY_SERVICE,LOOP_LINK_SERVICE as MAIN_LOOP_LINK_SERVICE,MCP_APPS_SERVICE as MAIN_MCP_APPS_SERVICE,+ MISSION_CONTROL_SERVICE as MAIN_MISSION_CONTROL_SERVICE,NEW_TASK_LINK_SERVICE as MAIN_NEW_TASK_LINK_SERVICE,OPEN_TARGET_LINK_SERVICE as MAIN_OPEN_TARGET_LINK_SERVICE,POSTHOG_PLUGIN_SERVICE as MAIN_POSTHOG_PLUGIN_SERVICE,@@ -490,6 +492,7 @@ export interface MainBindings {[LOGS_SERVICE]: ILogsService;[MAIN_ENCRYPTION_SERVICE]: EncryptionService;[MAIN_DISCORD_PRESENCE_SERVICE]: DiscordPresenceService;+ [MAIN_MISSION_CONTROL_SERVICE]: MissionControlService;// Dev toolbar diagnostics[MAIN_DEV_FLAGS_SERVICE]: DevFlagsService;diff --git a/products/desktop/apps/code/src/main/di/container.ts b/products/desktop/apps/code/src/main/di/container.tsindex f56129ebd653..363082cc7e31 100644--- a/products/desktop/apps/code/src/main/di/container.ts+++ b/products/desktop/apps/code/src/main/di/container.ts@@ -246,6 +246,7 @@ import { ElectronDialog } from "../platform-adapters/electron-dialog";import { ElectronFileIcon } from "../platform-adapters/electron-file-icon";import { ElectronImageProcessor } from "../platform-adapters/electron-image-processor";import { ElectronMainWindow } from "../platform-adapters/electron-main-window";+import { MissionControlService } from "../platform-adapters/electron-mission-control";import { ElectronNotifier } from "../platform-adapters/electron-notifier";import { ElectronPowerManager } from "../platform-adapters/electron-power-manager";import { ElectronSecureStorage } from "../platform-adapters/electron-secure-storage";@@ -307,6 +308,7 @@ import {LLM_GATEWAY_SERVICE as MAIN_LLM_GATEWAY_SERVICE,LOOP_LINK_SERVICE as MAIN_LOOP_LINK_SERVICE,MCP_APPS_SERVICE as MAIN_MCP_APPS_SERVICE,+ MISSION_CONTROL_SERVICE as MAIN_MISSION_CONTROL_SERVICE,NEW_TASK_LINK_SERVICE as MAIN_NEW_TASK_LINK_SERVICE,OPEN_TARGET_LINK_SERVICE as MAIN_OPEN_TARGET_LINK_SERVICE,POSTHOG_PLUGIN_SERVICE as MAIN_POSTHOG_PLUGIN_SERVICE,@@ -808,6 +810,7 @@ container.bind(LOGS_SERVICE).toDynamicValue((ctx) => {});container.bind(MAIN_ENCRYPTION_SERVICE).to(EncryptionService);container.bind(MAIN_DISCORD_PRESENCE_SERVICE).to(DiscordPresenceService);+container.bind(MAIN_MISSION_CONTROL_SERVICE).to(MissionControlService);// Canvas / dashboards (project-bluebird). The host-agnostic dashboard services// live in @posthog/core (bound via canvasCoreModule) and resolve throughdiff --git a/products/desktop/apps/code/src/main/di/tokens.ts b/products/desktop/apps/code/src/main/di/tokens.tsindex 21683b869cec..ba474e0422bb 100644--- a/products/desktop/apps/code/src/main/di/tokens.ts+++ b/products/desktop/apps/code/src/main/di/tokens.ts@@ -133,6 +133,9 @@ export const WORKSPACE_SERVER_SERVICE = Symbol.for(export const DISCORD_PRESENCE_SERVICE = Symbol.for("posthog.host.main.discord-presence.service",);+export const MISSION_CONTROL_SERVICE = Symbol.for(+ "posthog.host.main.mission-control.service",+);export const DEV_FLAGS_SERVICE = Symbol.for("posthog.host.main.dev-flags.service",);diff --git a/products/desktop/apps/code/src/main/platform-adapters/electron-mission-control.test.ts b/products/desktop/apps/code/src/main/platform-adapters/electron-mission-control.test.tsnew file mode 100644index 000000000000..8db7b7606b67--- /dev/null+++ b/products/desktop/apps/code/src/main/platform-adapters/electron-mission-control.test.ts@@ -0,0 +1,286 @@+import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";+import { MissionControlServiceEvent } from "../services/mission-control/schemas";+import type {+ CgWindow,+ WindowListSampler,+} from "../services/mission-control/window-list";++vi.mock("../utils/logger", () => ({+ logger: {+ scope: () => ({+ info: vi.fn(),+ warn: vi.fn(),+ error: vi.fn(),+ debug: vi.fn(),+ }),+ },+}));++const sampler = vi.hoisted(() => ({+ create: vi.fn<() => WindowListSampler | null>(),+}));+vi.mock("../services/mission-control/cg-window-list", () => ({+ createWindowListSampler: sampler.create,+}));++vi.mock("electron", () => ({+ screen: {+ getAllDisplays: () => [+ { bounds: { x: 0, y: 0, width: 2560, height: 1440 } },+ ],+ },+}));++import { MissionControlService } from "./electron-mission-control";++const MISSION_CONTROL_BACKING: CgWindow = {+ ownerName: "Dock",+ layer: 18,+ bounds: { x: 0, y: 0, width: 2560, height: 1440 },+};++const DOCK_STRIP: CgWindow = {+ ownerName: "Dock",+ layer: 20,+ bounds: { x: 1030, y: 1330, width: 500, height: 110 },+};++function fakeSampler(initial: CgWindow[] = []) {+ const state = { windows: initial, error: null as Error | null };+ const impl: WindowListSampler = {+ sample: () => {+ if (state.error) throw state.error;+ return state.windows;+ },+ };+ return { state, impl };+}++function pretendPlatform(platform: string) {+ Object.defineProperty(process, "platform", {+ value: platform,+ configurable: true,+ });+}++const realPlatform = process.platform;++describe("MissionControlService", () => {+ beforeEach(() => {+ vi.useFakeTimers();+ sampler.create.mockReset();+ pretendPlatform("darwin");+ });++ afterEach(() => {+ vi.useRealTimers();+ pretendPlatform(realPlatform);+ });++ it("emits once when Mission Control opens and once when it closes", () => {+ const { state, impl } = fakeSampler();+ sampler.create.mockReturnValue(impl);+ const service = new MissionControlService();+ const seen: boolean[] = [];+ service.on(MissionControlServiceEvent.StateChanged, ({ active }) =>+ seen.push(active),+ );++ service.arm();+ vi.advanceTimersByTime(1000);+ expect(seen).toEqual([]);++ state.windows = [MISSION_CONTROL_BACKING];+ vi.advanceTimersByTime(1000);++ state.windows = [];+ vi.advanceTimersByTime(1000);++ expect(seen).toEqual([true, false]);+ });++ it("stops polling once disarmed, and drops the overlay", () => {+ const { state, impl } = fakeSampler([MISSION_CONTROL_BACKING]);+ sampler.create.mockReturnValue(impl);+ const service = new MissionControlService();++ service.arm();+ vi.advanceTimersByTime(250);+ expect(service.getState().active).toBe(true);++ service.disarm();+ expect(service.getState().active).toBe(false);++ state.windows = [MISSION_CONTROL_BACKING];+ vi.advanceTimersByTime(5000);+ expect(service.getState().active).toBe(false);+ });++ it("gives up after repeated sampling failures instead of logging forever", () => {+ const { state, impl } = fakeSampler();+ const sampleSpy = vi.spyOn(impl, "sample");+ sampler.create.mockReturnValue(impl);+ const service = new MissionControlService();++ service.arm();+ state.error = new Error("CoreGraphics went away");+ vi.advanceTimersByTime(250 * 10);++ expect(sampleSpy).toHaveBeenCalledTimes(3);+ });++ it("arms once even when show and restore both fire", () => {+ // The window wires both events to arm(); a second interval would double+ // every FFI call.+ const { impl } = fakeSampler();+ const sampleSpy = vi.spyOn(impl, "sample");+ sampler.create.mockReturnValue(impl);+ const service = new MissionControlService();++ service.arm();+ service.arm();+ vi.advanceTimersByTime(250);++ expect(sampleSpy).toHaveBeenCalledTimes(1);+ });++ it("only counts consecutive failures toward giving up", () => {+ const { state, impl } = fakeSampler();+ sampler.create.mockReturnValue(impl);+ const service = new MissionControlService();++ service.arm();+ state.error = new Error("flake");+ vi.advanceTimersByTime(500);+ state.error = null;+ vi.advanceTimersByTime(250);+ state.error = new Error("flake");+ vi.advanceTimersByTime(500);++ // Four failures total but never three in a row, so detection still runs.+ state.error = null;+ state.windows = [MISSION_CONTROL_BACKING];+ vi.advanceTimersByTime(250);+ expect(service.getState().active).toBe(true);+ });++ it("retries the window list on a fresh arm after a runtime give-up", () => {+ const { state, impl } = fakeSampler();+ sampler.create.mockReturnValue(impl);+ const service = new MissionControlService();++ service.arm();+ state.error = new Error("CoreGraphics went away");+ vi.advanceTimersByTime(250 * 3);++ // Given up: nothing polls even though Mission Control is now detectable.+ state.error = null;+ state.windows = [MISSION_CONTROL_BACKING];+ vi.advanceTimersByTime(1000);+ expect(service.getState().active).toBe(false);++ service.arm();+ vi.advanceTimersByTime(250);++ expect(sampler.create).toHaveBeenCalledTimes(2);+ expect(service.getState().active).toBe(true);+ });++ it("never touches the window list off macOS", () => {+ pretendPlatform("linux");+ const service = new MissionControlService();++ service.arm();+ vi.advanceTimersByTime(5000);++ expect(sampler.create).not.toHaveBeenCalled();+ expect(service.getState().active).toBe(false);+ });++ it("degrades quietly when the window list is unavailable", () => {+ sampler.create.mockReturnValue(null);+ const service = new MissionControlService();++ service.arm();+ vi.advanceTimersByTime(5000);++ expect(sampler.create).toHaveBeenCalledTimes(1);+ expect(service.getState().active).toBe(false);++ // Unlike a runtime give-up, a failed resolve is final: re-arming must not+ // retry the bind on every window show.+ service.disarm();+ service.arm();+ expect(sampler.create).toHaveBeenCalledTimes(1);+ });++ it("survives a window list that fails to bind", () => {+ sampler.create.mockImplementation(() => {+ throw new Error("dlopen refused");+ });+ const service = new MissionControlService();++ expect(() => service.arm()).not.toThrow();+ vi.advanceTimersByTime(5000);+ expect(service.getState().active).toBe(false);+ });++ it("forces the overlay on without any detection at all", () => {+ pretendPlatform("linux");+ const service = new MissionControlService();+ const seen: boolean[] = [];+ service.on(MissionControlServiceEvent.StateChanged, ({ active }) =>+ seen.push(active),+ );++ expect(service.setForced(true)).toEqual({ active: true });+ expect(service.setForced(false)).toEqual({ active: false });+ expect(seen).toEqual([true, false]);+ });++ it("keeps a forced overlay up across polls that see nothing", () => {+ const { impl } = fakeSampler();+ sampler.create.mockReturnValue(impl);+ const service = new MissionControlService();++ service.arm();+ service.setForced(true);+ vi.advanceTimersByTime(1000);++ expect(service.getState().active).toBe(true);+ });++ it("reports the window that appeared mid-recording, and when", async () => {+ const { state, impl } = fakeSampler([DOCK_STRIP]);+ sampler.create.mockReturnValue(impl);+ const service = new MissionControlService();++ const probe = service.probe(2000);+ await vi.advanceTimersByTimeAsync(500);+ state.windows = [DOCK_STRIP, MISSION_CONTROL_BACKING];+ await vi.advanceTimersByTimeAsync(2000);++ const result = await probe;+ expect(result).toMatchObject({ available: true });+ expect(result.appeared).toHaveLength(1);++ const [seen] = result.appeared;+ expect(seen).toMatchObject(MISSION_CONTROL_BACKING);+ expect(seen.firstSeenMs).toBeGreaterThan(0);+ expect(seen.lastSeenMs).toBeGreaterThanOrEqual(seen.firstSeenMs);++ expect(result.detectedAtMs.length).toBeGreaterThan(0);+ expect(Math.min(...result.detectedAtMs)).toBe(seen.firstSeenMs);+ });++ it("reports unavailable rather than throwing when there is no window list", async () => {+ pretendPlatform("linux");+ const service = new MissionControlService();++ await expect(service.probe(1000)).resolves.toMatchObject({+ available: false,+ detectedAtMs: [],+ appeared: [],+ });+ });+});diff --git a/products/desktop/apps/code/src/main/platform-adapters/electron-mission-control.ts b/products/desktop/apps/code/src/main/platform-adapters/electron-mission-control.tsnew file mode 100644index 000000000000..0c01a8f660a6--- /dev/null+++ b/products/desktop/apps/code/src/main/platform-adapters/electron-mission-control.ts@@ -0,0 +1,176 @@+import { setTimeout as delay } from "node:timers/promises";+import { TypedEventEmitter } from "@posthog/shared";+import { screen } from "electron";+import { injectable, preDestroy } from "inversify";+import { createWindowListSampler } from "../services/mission-control/cg-window-list";+import {+ detectMissionControl,+ windowKey,+} from "../services/mission-control/heuristic";+import {+ type MissionControlProbe,+ MissionControlServiceEvent,+ type MissionControlServiceEvents,+ type MissionControlState,+ type ObservedWindow,+} from "../services/mission-control/schemas";+import type {+ Rect,+ WindowListSampler,+} from "../services/mission-control/window-list";+import { logger } from "../utils/logger";++const log = logger.scope("mission-control");++// Mission Control's zoom animation runs about 300ms; polling faster gains+// nothing a user can perceive.+const POLL_INTERVAL_MS = 250;++// Give up rather than log a failing CoreGraphics call four times a second.+const MAX_CONSECUTIVE_ERRORS = 3;++// Best-effort by design: detection rests on undocumented Dock window geometry+// reached through FFI, and every failure degrades to the overlay never showing.+@injectable()+export class MissionControlService extends TypedEventEmitter<MissionControlServiceEvents> {+ private sampler: WindowListSampler | null = null;+ private resolved = false;+ private timer: NodeJS.Timeout | null = null;+ private active = false;+ private forced = false;+ private consecutiveErrors = 0;++ getState(): MissionControlState {+ return { active: this.active };+ }++ arm(): void {+ if (this.timer || !this.resolveSampler()) return;+ this.timer = setInterval(() => this.poll(), POLL_INTERVAL_MS);+ }++ disarm(): void {+ this.clearTimer();+ this.setActive(false);+ }++ // Dev-only: pins the overlay on without opening Mission Control.+ setForced(forced: boolean): MissionControlState {+ this.forced = forced;+ this.setActive(forced);+ return this.getState();+ }++ // Records the window list so the detection heuristic can be re-derived when+ // a macOS release breaks it.+ async probe(durationMs: number): Promise<MissionControlProbe> {+ const sampler = this.resolveSampler();+ if (!sampler) {+ return { available: false, durationMs, detectedAtMs: [], appeared: [] };+ }++ try {+ const startedAt = Date.now();+ const baseline = new Set(sampler.sample().map(windowKey));+ const appeared = new Map<string, ObservedWindow>();+ const detectedAtMs: number[] = [];++ while (Date.now() - startedAt < durationMs) {+ await delay(POLL_INTERVAL_MS);+ const at = Date.now() - startedAt;+ const windows = sampler.sample();+ if (detectMissionControl(windows, this.displayBounds())) {+ detectedAtMs.push(at);+ }++ for (const window of windows) {+ const key = windowKey(window);+ if (baseline.has(key)) continue;+ const seen = appeared.get(key);+ if (seen) seen.lastSeenMs = at;+ else+ appeared.set(key, { ...window, firstSeenMs: at, lastSeenMs: at });+ }+ }++ const result: MissionControlProbe = {+ available: true,+ durationMs,+ detectedAtMs,+ appeared: [...appeared.values()].sort(+ (a, b) => a.firstSeenMs - b.firstSeenMs,+ ),+ };+ // Logged as well because the clipboard copy can fail silently.+ log.info("Probe finished", { ...result, displays: this.displayBounds() });+ return result;+ } catch (error) {+ log.warn("Failed to read the window list", { error });+ return { available: false, durationMs, detectedAtMs: [], appeared: [] };+ }+ }++ @preDestroy()+ cleanup(): void {+ this.clearTimer();+ }++ private resolveSampler(): WindowListSampler | null {+ if (this.resolved) return this.sampler;+ this.resolved = true;+ if (process.platform !== "darwin") return null;++ try {+ this.sampler = createWindowListSampler();+ } catch (error) {+ // Usually a missing @koromix/koffi-darwin-* prebuild or a dlopen the+ // hardened runtime refused, neither of which has any other symptom.+ log.warn("Could not bind the CoreGraphics window list", { error });+ }+ return this.sampler;+ }++ private displayBounds(): Rect[] {+ return screen.getAllDisplays().map((display) => display.bounds);+ }++ private poll(): void {+ if (!this.sampler) return;++ let detected: boolean;+ try {+ detected = detectMissionControl(+ this.sampler.sample(),+ this.displayBounds(),+ );+ this.consecutiveErrors = 0;+ } catch (error) {+ this.consecutiveErrors += 1;+ if (this.consecutiveErrors >= MAX_CONSECUTIVE_ERRORS) {+ log.warn("Giving up on Mission Control detection", { error });+ // Runtime failures can be transient, so the next arm() re-resolves the+ // sampler; only a failed bind stays off for the rest of the run.+ this.sampler = null;+ this.resolved = false;+ this.consecutiveErrors = 0;+ this.disarm();+ }+ return;+ }++ this.setActive(detected || this.forced);+ }++ private setActive(active: boolean): void {+ if (active === this.active) return;+ this.active = active;+ this.emit(MissionControlServiceEvent.StateChanged, this.getState());+ }++ private clearTimer(): void {+ if (this.timer) {+ clearInterval(this.timer);+ this.timer = null;+ }+ }+}diff --git a/products/desktop/apps/code/src/main/services/mission-control/cg-window-list.test.ts b/products/desktop/apps/code/src/main/services/mission-control/cg-window-list.test.tsnew file mode 100644index 000000000000..3083a09b9d5c--- /dev/null+++ b/products/desktop/apps/code/src/main/services/mission-control/cg-window-list.test.ts@@ -0,0 +1,112 @@+import { describe, expect, it } from "vitest";+import {+ createSamplerFromBindings,+ parseWindowListPlist,+ type WindowListBindings,+} from "./cg-window-list";++// A CGWindowListCopyWindowInfo-shaped binary plist. Regenerate with:+// python3 -c "import plistlib,base64; print(base64.b64encode(plistlib.dumps([...], fmt=plistlib.FMT_BINARY)).decode())"+const WINDOW_LIST_PLIST = Buffer.from(+ "YnBsaXN0MDCjARYf1gIDBAUGBwgREhMUFV8QD2tDR1dpbmRvd0JvdW5kc18QE2tDR1dpbmRvd0lzT25zY3JlZW5ea0NHV2luZG93TGF5ZXJfEA9rQ0dXaW5kb3dOdW1iZXJfEBJrQ0dXaW5kb3dPd25lck5hbWVfEBFrQ0dXaW5kb3dPd25lclBJRNQJCgsMDQ4PEFZIZWlnaHRVV2lkdGhRWFFZI0CMKAAAAAAAI0CWgAAAAAAAIwAAAAAAAAAAI7/wAAAAAAAACRAUEHtURG9jaxEBLNQCBAYHFxwdHtQJCgsMGBkaGyNAgsAAAAAAACNAiQAAAAAAACNAKAAAAAAAACNAQwAAAAAAABAAV1Bvc3RIb2cREHLTAgQHICIj1AkKCwwhDg8PI0A4AAAAAAAAEBkRARMACAAMABkAKwBBAFAAYgB3AIsAlACbAKEAowClAK4AtwDAAMkAygDMAM4A0wDWAN8A6ADxAPoBAwEMAQ4BFgEZASABKQEyATQAAAAAAAACAQAAAAAAAAAkAAAAAAAAAAAAAAAAAAABNw==",+ "base64",+);++describe("parseWindowListPlist", () => {+ it("maps CoreGraphics' capitalised bounds keys onto our window type", () => {+ expect(parseWindowListPlist(WINDOW_LIST_PLIST)).toEqual([+ {+ ownerName: "Dock",+ layer: 20,+ bounds: { x: 0, y: -1, width: 1440, height: 901 },+ },+ {+ ownerName: "PostHog",+ layer: 0,+ bounds: { x: 12, y: 38, width: 800, height: 600 },+ },+ {+ ownerName: "",+ layer: 25,+ bounds: { x: 0, y: 0, width: 1440, height: 24 },+ },+ ]);+ });++ it("returns nothing for a plist that isn't a window array", () => {+ const notAnArray = Buffer.from(+ "YnBsaXN0MDDRAQJTb25lU3R3bwgLDwAAAAAAAAEBAAAAAAAAAAMAAAAAAAAAAAAAAAAAAAAT",+ "base64",+ );++ expect(parseWindowListPlist(notAnArray)).toEqual([]);+ });+});++const LIST = { cf: "list" };+const DATA = { cf: "data" };++function fakeBindings(overrides: Partial<WindowListBindings> = {}) {+ const released: unknown[] = [];+ const bindings: WindowListBindings = {+ copyWindowInfo: () => LIST,+ createData: () => DATA,+ getBytePtr: () => null,+ getLength: () => WINDOW_LIST_PLIST.length,+ release: (ref) => released.push(ref),+ decodeBytes: () => new Uint8Array(WINDOW_LIST_PLIST),+ ...overrides,+ };+ return { released, sampler: createSamplerFromBindings(bindings) };+}++describe("createSamplerFromBindings", () => {+ it("parses the window list and releases both owned refs", () => {+ const { released, sampler } = fakeBindings();++ expect(sampler.sample().map((window) => window.ownerName)).toEqual([+ "Dock",+ "PostHog",+ "",+ ]);+ expect(released).toEqual([DATA, LIST]);+ });++ it.each([+ {+ name: "there is no window list",+ overrides: { copyWindowInfo: () => null } as Partial<WindowListBindings>,+ expected: [] as unknown[],+ },+ {+ name: "serialising the plist fails",+ overrides: { createData: () => null } as Partial<WindowListBindings>,+ expected: [LIST] as unknown[],+ },+ {+ name: "the plist data is empty",+ overrides: { getLength: () => 0 } as Partial<WindowListBindings>,+ expected: [DATA, LIST] as unknown[],+ },+ ])(+ "returns nothing and releases only what it owns when $name",+ ({ overrides, expected }) => {+ const { released, sampler } = fakeBindings(overrides);++ expect(sampler.sample()).toEqual([]);+ expect(released).toEqual(expected);+ },+ );++ it("releases both refs even when decoding throws", () => {+ // A skipped CFRelease leaks CoreFoundation objects on every 250ms poll.+ const { released, sampler } = fakeBindings({+ decodeBytes: () => {+ throw new Error("bad pointer");+ },+ });++ expect(() => sampler.sample()).toThrow("bad pointer");+ expect(released).toEqual([DATA, LIST]);+ });+});diff --git a/products/desktop/apps/code/src/main/services/mission-control/cg-window-list.ts b/products/desktop/apps/code/src/main/services/mission-control/cg-window-list.tsnew file mode 100644index 000000000000..70a7cc2a35e5--- /dev/null+++ b/products/desktop/apps/code/src/main/services/mission-control/cg-window-list.ts@@ -0,0 +1,132 @@+// CGWindowListCopyWindowInfo output is also a valid property list, so+// round-tripping through a binary plist avoids hand-marshalling CoreFoundation+// types. Owner name, layer and bounds need no Screen Recording permission;+// only window titles do, so this triggers no prompt.++import { parseBuffer } from "bplist-parser";+import type { CgWindow, WindowListSampler } from "./window-list";++const kCGWindowListOptionOnScreenOnly = 1;+const kCGNullWindowID = 0;+const kCFPropertyListBinaryFormat_v1_0 = 200;++const CORE_GRAPHICS =+ "/System/Library/Frameworks/CoreGraphics.framework/CoreGraphics";+const CORE_FOUNDATION =+ "/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation";++interface RawWindow {+ kCGWindowOwnerName?: unknown;+ kCGWindowLayer?: unknown;+ kCGWindowBounds?: {+ X?: unknown;+ Y?: unknown;+ Width?: unknown;+ Height?: unknown;+ };+}++const num = (value: unknown): number =>+ typeof value === "number" ? value : Number(value ?? 0) || 0;++function toCgWindow(raw: RawWindow): CgWindow {+ const bounds = raw.kCGWindowBounds ?? {};+ return {+ ownerName:+ typeof raw.kCGWindowOwnerName === "string" ? raw.kCGWindowOwnerName : "",+ layer: num(raw.kCGWindowLayer),+ bounds: {+ x: num(bounds.X),+ y: num(bounds.Y),+ width: num(bounds.Width),+ height: num(bounds.Height),+ },+ };+}++export function parseWindowListPlist(bytes: Buffer): CgWindow[] {+ const [root] = parseBuffer(bytes);+ return Array.isArray(root) ? (root as RawWindow[]).map(toCgWindow) : [];+}++export interface WindowListBindings {+ copyWindowInfo(option: number, relativeToWindow: number): unknown;+ createData(+ allocator: null,+ plist: unknown,+ format: number,+ options: number,+ error: null,+ ): unknown;+ getBytePtr(data: unknown): unknown;+ getLength(data: unknown): number | bigint;+ release(ref: unknown): void;+ decodeBytes(ptr: unknown, length: number): Uint8Array;+}++function bind(): WindowListBindings {+ // Required lazily so the native module only loads once something samples.+ const koffi = require("koffi") as typeof import("koffi");++ const cg = koffi.load(CORE_GRAPHICS);+ const cf = koffi.load(CORE_FOUNDATION);++ return {+ copyWindowInfo: cg.func(+ "void *CGWindowListCopyWindowInfo(uint32_t option, uint32_t relativeToWindow)",+ ),+ createData: cf.func(+ "void *CFPropertyListCreateData(void *allocator, void *plist, long format, unsigned long options, void **error)",+ ),+ getBytePtr: cf.func("void *CFDataGetBytePtr(void *data)"),+ getLength: cf.func("long CFDataGetLength(void *data)"),+ release: cf.func("void CFRelease(void *ref)"),+ decodeBytes: (ptr, length) =>+ koffi.decode(ptr, koffi.array("uint8", length, "Typed")) as Uint8Array,+ };+}++// Takes the bound functions as data so the CFRelease bookkeeping is testable+// off macOS.+export function createSamplerFromBindings(+ cg: WindowListBindings,+): WindowListSampler {+ return {+ sample(): CgWindow[] {+ const list = cg.copyWindowInfo(+ kCGWindowListOptionOnScreenOnly,+ kCGNullWindowID,+ );+ if (!list) return [];++ let data: unknown = null;+ try {+ data = cg.createData(+ null,+ list,+ kCFPropertyListBinaryFormat_v1_0,+ 0,+ null,+ );+ if (!data) return [];++ const length = Number(cg.getLength(data));+ if (length <= 0) return [];++ const bytes = cg.decodeBytes(cg.getBytePtr(data), length);+ return parseWindowListPlist(Buffer.from(bytes));+ } finally {+ // Both came from Copy/Create calls, so we own them.+ if (data) cg.release(data);+ cg.release(list);+ }+ },+ };+}++// Returns null off macOS; throws when the binding cannot be set up so the+// caller can log the reason.+export function createWindowListSampler(): WindowListSampler | null {+ if (process.platform !== "darwin") return null;+ return createSamplerFromBindings(bind());+}diff --git a/products/desktop/apps/code/src/main/services/mission-control/heuristic.test.ts b/products/desktop/apps/code/src/main/services/mission-control/heuristic.test.tsnew file mode 100644index 000000000000..ea7551f3e606--- /dev/null+++ b/products/desktop/apps/code/src/main/services/mission-control/heuristic.test.ts@@ -0,0 +1,152 @@+import { describe, expect, it } from "vitest";+import { detectMissionControl, windowKey } from "./heuristic";+import type { CgWindow, Rect } from "./window-list";++const DISPLAY: Rect = { x: 0, y: 0, width: 2560, height: 1440 };+const DISPLAYS = [DISPLAY];++const window = (partial: Partial<CgWindow>): CgWindow => ({+ ownerName: "PostHog",+ layer: 0,+ bounds: { x: 12, y: 38, width: 1281, height: 1410 },+ ...partial,+});++// Fixtures below come from a real dev.probeMissionControl recording.+const missionControlBacking = window({+ ownerName: "Dock",+ layer: 18,+ bounds: { x: 0, y: 0, width: 2560, height: 1440 },+});++const dockOwnWindow = window({+ ownerName: "Dock",+ layer: 20,+ bounds: { x: 0, y: 0, width: 2560, height: 1440 },+});++const dockStrip = window({+ ownerName: "Dock",+ layer: 20,+ bounds: { x: 1030, y: 1330, width: 500, height: 110 },+});++const dockBadge = window({+ ownerName: "Dock",+ layer: 17,+ bounds: { x: 1260, y: 840, width: 100, height: 109 },+});++const dockAtNormalLayer = window({+ ownerName: "Dock",+ layer: 0,+ bounds: { x: 0, y: 0, width: 2560, height: 1440 },+});++describe("detectMissionControl", () => {+ it.each([+ { name: "an empty sample", windows: [], expected: false },+ {+ name: "an ordinary desktop",+ windows: [window({}), dockStrip],+ expected: false,+ },+ {+ name: "Mission Control's layer 18 backing window",+ windows: [window({}), dockStrip, missionControlBacking],+ expected: true,+ },+ {+ name: "the Dock's own full-display window",+ windows: [window({}), dockStrip, dockOwnWindow],+ expected: false,+ },+ {+ name: "the app switcher, which raises that same Dock window",+ windows: [dockOwnWindow],+ expected: false,+ },+ {+ name: "both Dock windows together",+ windows: [dockOwnWindow, missionControlBacking],+ expected: true,+ },+ {+ name: "the Dock strip alone",+ windows: [dockStrip],+ expected: false,+ },+ {+ name: "the grid badges alone",+ windows: [dockBadge, dockBadge],+ expected: false,+ },+ {+ name: "a full-display Dock window at layer 0",+ windows: [dockAtNormalLayer],+ expected: false,+ },+ {+ name: "a full-display window owned by another app",+ windows: [+ window({+ layer: 18,+ bounds: { x: 0, y: 0, width: 2560, height: 1440 },+ }),+ ],+ expected: false,+ },+ {+ name: "a backing window that overhangs the display",+ windows: [+ window({+ ownerName: "Dock",+ layer: 18,+ bounds: { x: 0, y: -1, width: 2560, height: 1441 },+ }),+ ],+ expected: true,+ },+ ])("is $expected for $name", ({ windows, expected }) => {+ expect(detectMissionControl(windows, DISPLAYS)).toBe(expected);+ });++ it("matches a backing window on a secondary display", () => {+ const secondary: Rect = { x: 2560, y: 0, width: 1920, height: 1080 };++ expect(+ detectMissionControl(+ [+ window({+ ownerName: "Dock",+ layer: 18,+ bounds: secondary,+ }),+ ],+ [DISPLAY, secondary],+ ),+ ).toBe(true);+ });++ it("does not match when no display is known", () => {+ expect(detectMissionControl([missionControlBacking], [])).toBe(false);+ });+});++describe("windowKey", () => {+ it("ignores subpixel drift so a nudged window does not read as a new one", () => {+ expect(+ windowKey(+ window({ bounds: { x: 0.4, y: -1.2, width: 1440.1, height: 900.9 } }),+ ),+ ).toBe(+ windowKey(window({ bounds: { x: 0, y: -1, width: 1440, height: 901 } })),+ );+ });++ it("separates windows that differ by owner", () => {+ expect(windowKey(dockStrip)).not.toBe(+ windowKey({ ...dockStrip, ownerName: "Finder" }),+ );+ });+});diff --git a/products/desktop/apps/code/src/main/services/mission-control/heuristic.ts b/products/desktop/apps/code/src/main/services/mission-control/heuristic.tsnew file mode 100644index 000000000000..412d28df84e1--- /dev/null+++ b/products/desktop/apps/code/src/main/services/mission-control/heuristic.ts@@ -0,0 +1,53 @@+import type { CgWindow, Rect } from "./window-list";++const DOCK = "Dock";++// The Dock's own window level, historically NSDockWindowLevel. Its window+// spans the entire display, so this level must be excluded rather than matched.+const DOCK_WINDOW_LEVEL = 20;++// A window can sit a pixel outside the display it covers.+const COVERAGE_SLACK_PX = 2;++function coversDisplay(bounds: Rect, display: Rect): boolean {+ return (+ bounds.x <= display.x + COVERAGE_SLACK_PX &&+ bounds.y <= display.y + COVERAGE_SLACK_PX &&+ bounds.x + bounds.width >= display.x + display.width - COVERAGE_SLACK_PX &&+ bounds.y + bounds.height >= display.y + display.height - COVERAGE_SLACK_PX+ );+}++// macOS has no API for "is Mission Control on screen". The tell is that opening+// it makes the Dock put up a full-display window between the normal level and+// the Dock's own (layer 18 on macOS 26). The level bounds exclude the Dock's own+// full-display window (raised by Dock hover and Cmd-Tab too) and the desktop at+// layer 0; the coverage check excludes the Dock strip and the grid badges.+// Undocumented and version-specific: re-derive from a dev.probeMissionControl+// recording when a macOS release breaks it.+export function detectMissionControl(+ windows: CgWindow[],+ displays: Rect[],+): boolean {+ return windows.some(+ (window) =>+ window.ownerName === DOCK &&+ window.layer > 0 &&+ window.layer < DOCK_WINDOW_LEVEL &&+ displays.some((display) => coversDisplay(window.bounds, display)),+ );+}++// Rounded so a window that drifts a subpixel between samples does not read as+// a new one.+export function windowKey(window: CgWindow): string {+ const { x, y, width, height } = window.bounds;+ return [+ window.ownerName,+ window.layer,+ Math.round(x),+ Math.round(y),+ Math.round(width),+ Math.round(height),+ ].join("|");+}diff --git a/products/desktop/apps/code/src/main/services/mission-control/schemas.ts b/products/desktop/apps/code/src/main/services/mission-control/schemas.tsnew file mode 100644index 000000000000..7f4482c76f26--- /dev/null+++ b/products/desktop/apps/code/src/main/services/mission-control/schemas.ts@@ -0,0 +1,41 @@+import { z } from "zod";++export const missionControlStateSchema = z.object({+ active: z.boolean(),+});++export type MissionControlState = z.infer<typeof missionControlStateSchema>;++const observedWindowSchema = z.object({+ ownerName: z.string(),+ layer: z.number(),+ bounds: z.object({+ x: z.number(),+ y: z.number(),+ width: z.number(),+ height: z.number(),+ }),+ /** Milliseconds from the start of the recording. */+ firstSeenMs: z.number(),+ lastSeenMs: z.number(),+});++// A recording rather than a one-shot dump: Mission Control is modal, so+// sampling has to start before it opens.+export const missionControlProbeSchema = z.object({+ available: z.boolean(),+ durationMs: z.number(),+ detectedAtMs: z.array(z.number()),+ appeared: z.array(observedWindowSchema),+});++export type MissionControlProbe = z.infer<typeof missionControlProbeSchema>;+export type ObservedWindow = z.infer<typeof observedWindowSchema>;++export const MissionControlServiceEvent = {+ StateChanged: "state-changed",+} as const;++export interface MissionControlServiceEvents {+ [MissionControlServiceEvent.StateChanged]: MissionControlState;+}diff --git a/products/desktop/apps/code/src/main/services/mission-control/window-list.ts b/products/desktop/apps/code/src/main/services/mission-control/window-list.tsnew file mode 100644index 000000000000..ce9022cca911--- /dev/null+++ b/products/desktop/apps/code/src/main/services/mission-control/window-list.ts@@ -0,0 +1,17 @@+export interface Rect {+ x: number;+ y: number;+ width: number;+ height: number;+}++export interface CgWindow {+ ownerName: string;+ /** Cocoa window level; normal app windows are 0. */+ layer: number;+ bounds: Rect;+}++export interface WindowListSampler {+ sample(): CgWindow[];+}diff --git a/products/desktop/apps/code/src/main/trpc/router.ts b/products/desktop/apps/code/src/main/trpc/router.tsindex 362a9de753c4..9507990dbd23 100644--- a/products/desktop/apps/code/src/main/trpc/router.ts+++ b/products/desktop/apps/code/src/main/trpc/router.ts@@ -55,6 +55,7 @@ import { workspaceRouter } from "@posthog/host-router/routers/workspace.router";import { devRouter } from "./routers/dev";import { discordPresenceRouter } from "./routers/discord-presence";import { encryptionRouter } from "./routers/encryption";+import { missionControlRouter } from "./routers/mission-control";import { workspaceServerRouter } from "./routers/workspace-server";import { router } from "./trpc";@@ -95,6 +96,7 @@ export const trpcRouter = router({mcpApps: mcpAppsRouter,mcpCallback: mcpCallbackRouter,mcpRelay: mcpRelayRouter,+ missionControl: missionControlRouter,notification: notificationRouter,oauth: oauthRouter,onboardingImport: onboardingImportRouter,diff --git a/products/desktop/apps/code/src/main/trpc/routers/dev.ts b/products/desktop/apps/code/src/main/trpc/routers/dev.tsindex 5c6104c596ce..7033b4ded258 100644--- a/products/desktop/apps/code/src/main/trpc/routers/dev.ts+++ b/products/desktop/apps/code/src/main/trpc/routers/dev.ts@@ -5,11 +5,13 @@ import {DEV_LOGS_SERVICE,DEV_METRICS_SERVICE,DEV_NETWORK_SERVICE,+ MISSION_CONTROL_SERVICE,} from "@main/di/tokens";import type { AgentService } from "@posthog/workspace-server/services/agent/agent";import { AGENT_SERVICE } from "@posthog/workspace-server/services/agent/identifiers";import { TRPCError } from "@trpc/server";import { z } from "zod";+import type { MissionControlService } from "../../platform-adapters/electron-mission-control";import {DevActionsEvent,type DevActionsEvents,@@ -43,6 +45,10 @@ import {networkSnapshotSchema,} from "../../services/dev-network/schemas";import type { DevNetworkService } from "../../services/dev-network/service";+import {+ missionControlProbeSchema,+ missionControlStateSchema,+} from "../../services/mission-control/schemas";import { middleware, publicProcedure, router } from "../trpc";const getFlagsService = () => container.get<DevFlagsService>(DEV_FLAGS_SERVICE);@@ -54,6 +60,8 @@ const getLogsService = () => container.get<DevLogsService>(DEV_LOGS_SERVICE);const getActionsService = () =>container.get<DevActionsService>(DEV_ACTIONS_SERVICE);const getAgentService = () => container.get<AgentService>(AGENT_SERVICE);+const getMissionControlService = () =>+ container.get<MissionControlService>(MISSION_CONTROL_SERVICE);// Server-side gate: the toolbar UI only renders when devMode is on, but that// does not protect the IPC layer. Any renderer-side code with access to the@@ -174,6 +182,21 @@ export const devRouter = router({getActionsService().triggerToast(input.variant, input.message),),+ // Manual checks for a macOS-only feature no automated test can drive.+ setForceMissionControlOverlay: devProcedure+ .input(z.object({ enabled: z.boolean() }))+ .output(missionControlStateSchema)+ .mutation(({ input }) =>+ getMissionControlService().setForced(input.enabled),+ ),++ probeMissionControl: devProcedure+ .input(z.object({ durationMs: z.number().int().min(1000).max(30_000) }))+ .output(missionControlProbeSchema)+ .mutation(({ input }) =>+ getMissionControlService().probe(input.durationMs),+ ),+onFlagsChanged: publicProcedure.subscription(async function* (opts) {const service = getFlagsService();const event: keyof DevFlagsEvents = DevFlagsEvent.Changed;diff --git a/products/desktop/apps/code/src/main/trpc/routers/mission-control.ts b/products/desktop/apps/code/src/main/trpc/routers/mission-control.tsnew file mode 100644index 000000000000..0573d124af5b--- /dev/null+++ b/products/desktop/apps/code/src/main/trpc/routers/mission-control.ts@@ -0,0 +1,19 @@+import { container } from "../../di/container";+import { MISSION_CONTROL_SERVICE } from "../../di/tokens";+import type { MissionControlService } from "../../platform-adapters/electron-mission-control";+import { MissionControlServiceEvent } from "../../services/mission-control/schemas";+import { publicProcedure, router } from "../trpc";++export const missionControlRouter = router({+ onStateChanged: publicProcedure.subscription(async function* (opts) {+ const service = container.get<MissionControlService>(+ MISSION_CONTROL_SERVICE,+ );+ for await (const data of service.toIterable(+ MissionControlServiceEvent.StateChanged,+ { signal: opts.signal },+ )) {+ yield data;+ }+ }),+});diff --git a/products/desktop/apps/code/src/main/window.ts b/products/desktop/apps/code/src/main/window.tsindex ecc8ef0e4a17..ef89e9d06a55 100644--- a/products/desktop/apps/code/src/main/window.ts+++ b/products/desktop/apps/code/src/main/window.ts@@ -12,10 +12,12 @@ import {} from "electron";import { APP_WINDOW_ARG } from "../shared/constants";import { container } from "./di/container";+import { MISSION_CONTROL_SERVICE } from "./di/tokens";import { setupExternalLinkHandlers } from "./external-links";import { buildApplicationMenu } from "./menu";import { setupArtifactPreviewWebviews } from "./platform-adapters/electron-artifact-preview";import type { ElectronMainWindow } from "./platform-adapters/electron-main-window";+import type { MissionControlService } from "./platform-adapters/electron-mission-control";import { posthogNodeAnalytics } from "./platform-adapters/posthog-analytics";import { POSTHOG_SESSION_ID_ARG } from "./posthog-session-arg";import {@@ -316,6 +318,18 @@ export function createWindow(): void {});mainWindow.on("leave-full-screen", () => saveFullScreenState(false));+ // Only watch for Mission Control while the window could actually show up in+ // it. A hidden or minimized window never appears there, so polling then would+ // be pure waste.+ const missionControl = container.get<MissionControlService>(+ MISSION_CONTROL_SERVICE,+ );+ mainWindow.on("show", () => missionControl.arm());+ mainWindow.on("restore", () => missionControl.arm());+ mainWindow.on("hide", () => missionControl.disarm());+ mainWindow.on("minimize", () => missionControl.disarm());+ mainWindow.on("closed", () => missionControl.disarm());+container.get<ElectronMainWindow>(MAIN_WINDOW_SERVICE).setMainWindowGetter(() => mainWindow);diff --git a/products/desktop/apps/code/src/renderer/desktop-contributions.ts b/products/desktop/apps/code/src/renderer/desktop-contributions.tsindex 3f2f6d37d74c..e81cbfabc276 100644--- a/products/desktop/apps/code/src/renderer/desktop-contributions.ts+++ b/products/desktop/apps/code/src/renderer/desktop-contributions.ts@@ -19,6 +19,7 @@ import { connectivityUiModule } from "@posthog/ui/features/connectivity/connectiimport { discordPresenceUiModule } from "@posthog/ui/features/discord-presence/discordPresence.module";import { fileWatcherUiModule } from "@posthog/ui/features/file-watcher/file-watcher.module";import { focusUiModule } from "@posthog/ui/features/focus/focus.module";+import { missionControlUiModule } from "@posthog/ui/features/mission-control/missionControl.module";import { notificationsUiModule } from "@posthog/ui/features/notifications/notifications.module";import { provisioningUiModule } from "@posthog/ui/features/provisioning/provisioning.module";import { settingsUiModule } from "@posthog/ui/features/settings/settings.module";@@ -48,6 +49,7 @@ export function registerDesktopContributions(): void {githubConnectModule,inboxCoreModule,localMcpCoreModule,+ missionControlUiModule,notificationsUiModule,onboardingModule,provisioningUiModule,diff --git a/products/desktop/apps/code/src/renderer/di/bindings.ts b/products/desktop/apps/code/src/renderer/di/bindings.tsindex 274673ea76cb..e8a3589ae5db 100644--- a/products/desktop/apps/code/src/renderer/di/bindings.ts+++ b/products/desktop/apps/code/src/renderer/di/bindings.ts@@ -213,6 +213,10 @@ import {type McpAppHostComponent,type McpSandboxProxyUrlProvider,} from "@posthog/ui/features/mcp-apps/identifiers";+import {+ MISSION_CONTROL_CLIENT,+ type MissionControlClient,+} from "@posthog/ui/features/mission-control/identifiers";import {NAVIGATION_TASK_BINDER,type NavigationTaskBinder,@@ -296,6 +300,7 @@ export interface RendererBindings {[CONNECTIVITY_CLIENT]: ConnectivityClient;[BROWSER_TABS_CLIENT]: BrowserTabsClient;[DISCORD_PRESENCE_CLIENT]: DiscordPresenceClient;+ [MISSION_CONTROL_CLIENT]: MissionControlClient;[SHELL_CLIENT]: ShellClient;[FOCUS_CONTROLLER_DEPS]: FocusControllerDeps;[DIFF_WORKER_FACTORY]: DiffWorkerFactory;diff --git a/products/desktop/apps/code/src/renderer/di/container.ts b/products/desktop/apps/code/src/renderer/di/container.tsindex a479a48e68d9..1723d5fce420 100644--- a/products/desktop/apps/code/src/renderer/di/container.ts+++ b/products/desktop/apps/code/src/renderer/di/container.ts@@ -127,6 +127,10 @@ import {MCP_APP_HOST_COMPONENT,MCP_SANDBOX_PROXY_URL,} from "@posthog/ui/features/mcp-apps/identifiers";+import {+ MISSION_CONTROL_CLIENT,+ type MissionControlClient,+} from "@posthog/ui/features/mission-control/identifiers";import { ARTIFACT_HTML_FRAME_COMPONENT } from "@posthog/ui/features/sessions/components/artifactHtmlFrameHost";import { MCP_TOOL_BLOCK_COMPONENT } from "@posthog/ui/features/sessions/components/session-update/identifiers";import {@@ -244,6 +248,17 @@ const discordPresenceClient: DiscordPresenceClient = {};container.bind(DISCORD_PRESENCE_CLIENT).toConstantValue(discordPresenceClient);+// mission control overlay client+const missionControlClient: MissionControlClient = {+ onStateChanged: (onData) => {+ const sub = trpcClient.missionControl.onStateChanged.subscribe(undefined, {+ onData,+ });+ return () => sub.unsubscribe();+ },+};+container.bind(MISSION_CONTROL_CLIENT).toConstantValue(missionControlClient);+// terminal shell clientconst shellClient: ShellClient = {write: async (input) => {diff --git a/products/desktop/apps/code/src/renderer/features/dev-toolbar/components/DevToolbar.tsx b/products/desktop/apps/code/src/renderer/features/dev-toolbar/components/DevToolbar.tsxindex a52888d66dd3..ba42b7d7fd38 100644--- a/products/desktop/apps/code/src/renderer/features/dev-toolbar/components/DevToolbar.tsx+++ b/products/desktop/apps/code/src/renderer/features/dev-toolbar/components/DevToolbar.tsx@@ -33,6 +33,7 @@ import { Box, Flex, Switch, Text, Tooltip } from "@radix-ui/themes";import { trpcClient, useTRPC } from "@renderer/trpc/client";import { useQuery } from "@tanstack/react-query";import { useSubscription } from "@trpc/tanstack-react-query";+import { logger } from "@utils/logger";import {Activity,AlertTriangle,@@ -43,6 +44,7 @@ import {FileText,FolderOpen,Globe,+ LayoutGrid,MemoryStick,Moon,Power,@@ -71,6 +73,8 @@ import { LogsPanel } from "./LogsPanel";import { MemoryPanel } from "./MemoryPanel";import { NetworkPanel } from "./NetworkPanel";+const log = logger.scope("dev-toolbar");+type DetailPanel =| "cpu"| "memory"@@ -99,7 +103,9 @@ export function DevToolbar() {};return (- <div className="relative h-10 shrink-0 border-(--gray-6) border-t bg-(--gray-2)">+ // Above the Mission Control overlay (z-300), so forcing the overlay on+ // cannot hide the toggle that turns it back off.+ <div className="relative z-[400] h-10 shrink-0 border-(--gray-6) border-t bg-(--gray-2)">{openPanel && (<PanelChromeopenPanel={openPanel}@@ -799,6 +805,10 @@ function formatRttCompact(ms: number): string {const SLOW_PRESETS_MS = [0, 250, 1000, 3000] as const;+// Long enough to run several gestures (Mission Control, app switch, Dock+// hover) in one recording.+const MISSION_CONTROL_PROBE_MS = 20_000;+function QuickActionsMenu() {const trpcReact = useTRPC();const { data: sim, refetch: refetchSim } = useQuery({@@ -813,6 +823,46 @@ function QuickActionsMenu() {const offline = sim?.offline ?? false;const slowMs = sim?.slowDelayMs ?? 0;+ const [missionControlForced, setMissionControlForced] = useState(false);+ const toggleMissionControlOverlay = () => {+ const next = !missionControlForced;+ setMissionControlForced(next);+ trpcClient.dev.setForceMissionControlOverlay+ .mutate({ enabled: next })+ .catch((error: unknown) => {+ setMissionControlForced(!next);+ log.warn("Failed to force the Mission Control overlay", { error });+ });+ };++ // Mission Control is modal, so a sample taken on click would only ever show+ // the ordinary desktop; record over a window instead.+ const [probing, setProbing] = useState(false);+ const probeMissionControl = async () => {+ setProbing(true);+ try {+ const probe = await trpcClient.dev.probeMissionControl.mutate({+ durationMs: MISSION_CONTROL_PROBE_MS,+ });+ if (!probe.available) {+ await trpcClient.dev.triggerToast.mutate({+ variant: "error",+ message: "Couldn't read the window list on this device",+ });+ return;+ }+ await navigator.clipboard.writeText(JSON.stringify(probe, null, 2));+ await trpcClient.dev.triggerToast.mutate({+ variant: "info",+ message: "Window list copied to the clipboard",+ });+ } catch (error) {+ log.warn("Mission Control probe failed", { error });+ } finally {+ setProbing(false);+ }+ };+const setOffline = (next: boolean) =>void trpcClient.dev.setNetworkSim.mutate({ offline: next });const setSlow = (ms: number) =>@@ -928,6 +978,31 @@ function QuickActionsMenu() {Trigger error toast</DropdownMenuItem></DropdownMenuGroup>+ <DropdownMenuSeparator />+ <DropdownMenuGroup>+ <DropdownMenuLabel>Mission Control</DropdownMenuLabel>+ <DropdownMenuItem onClick={toggleMissionControlOverlay}>+ <LayoutGrid+ size={12}+ className={`mr-2 ${+ missionControlForced ? "text-(--accent-11)" : "text-(--gray-9)"+ }`}+ />+ {missionControlForced ? "Hide overlay" : "Force overlay on"}+ </DropdownMenuItem>+ <DropdownMenuItem+ onClick={() => void probeMissionControl()}+ disabled={probing}+ >+ <ScrollText+ size={12}+ className={`mr-2 ${probing ? "text-(--accent-11)" : "text-(--gray-9)"}`}+ />+ {probing+ ? "Recording, run the gestures now"+ : `Record the window list (${MISSION_CONTROL_PROBE_MS / 1000}s)`}+ </DropdownMenuItem>+ </DropdownMenuGroup></DropdownMenuContent></DropdownMenu>);diff --git a/products/desktop/apps/code/src/renderer/main.tsx b/products/desktop/apps/code/src/renderer/main.tsxindex 4b0de9645b5c..f0a9089987ab 100644--- a/products/desktop/apps/code/src/renderer/main.tsx+++ b/products/desktop/apps/code/src/renderer/main.tsx@@ -21,6 +21,7 @@ import { preloadHighlighter } from "@pierre/diffs";import { boot } from "@posthog/di/contribution";import { assertHostCapabilities } from "@posthog/di/hostCapabilities";import { ServiceProvider } from "@posthog/di/react";+import { MissionControlOverlay } from "@posthog/ui/features/mission-control/MissionControlOverlay";import App from "@posthog/ui/shell/App";import { logger } from "@posthog/ui/shell/logger";import { initializePostHog } from "@posthog/ui/shell/posthogAnalyticsImpl";@@ -113,6 +114,9 @@ try {<ServiceProvider container={container}><Providers><App devToolbar={<DevToolbarHost />} />+ {/* Beside the app, not in a route: the overlay must outlive every+ gate and shell the router renders. */}+ <MissionControlOverlay /></Providers></ServiceProvider></BootErrorBoundary>diff --git a/products/desktop/packages/ui/src/features/mission-control/MissionControlOverlay.stories.tsx b/products/desktop/packages/ui/src/features/mission-control/MissionControlOverlay.stories.tsxnew file mode 100644index 000000000000..52ddd823e212--- /dev/null+++ b/products/desktop/packages/ui/src/features/mission-control/MissionControlOverlay.stories.tsx@@ -0,0 +1,60 @@+import type { Meta, StoryObj } from "@storybook/react-vite";+import { useEffect } from "react";+import { MissionControlOverlay } from "./MissionControlOverlay";+import { useMissionControlStore } from "./missionControlStore";++const RAGGED_LINE_WIDTHS = [+ 72, 45, 88, 61, 39, 94, 55, 80, 48, 67, 91, 42, 76, 58,+];++function FakeAppBehind() {+ return (+ <div className="fixed inset-0 flex bg-(--gray-2)">+ <div className="w-64 shrink-0 border-(--gray-6) border-r bg-(--gray-1) p-3">+ {["Inbox", "Tasks", "Channels", "Loops", "Settings"].map((item) => (+ <div+ key={item}+ className="mb-1 rounded-(--radius-2) px-2 py-1.5 text-(--gray-11) text-sm"+ >+ {item}+ </div>+ ))}+ </div>+ <div className="flex-1 space-y-3 p-6">+ {RAGGED_LINE_WIDTHS.map((width) => (+ <div+ key={width}+ className="h-4 rounded-(--radius-1) bg-(--gray-4)"+ style={{ width: `${width}%` }}+ />+ ))}+ </div>+ </div>+ );+}++function ActiveOverlay() {+ useEffect(() => {+ useMissionControlStore.setState({ active: true });+ return () => useMissionControlStore.setState({ active: false });+ }, []);++ return (+ <>+ <FakeAppBehind />+ <MissionControlOverlay />+ </>+ );+}++const meta: Meta<typeof ActiveOverlay> = {+ title: "Mission Control/MissionControlOverlay",+ component: ActiveOverlay,+};++export default meta;+type Story = StoryObj<typeof ActiveOverlay>;++export const Dark: Story = { globals: { theme: "dark" } };++export const Light: Story = { globals: { theme: "light" } };diff --git a/products/desktop/packages/ui/src/features/mission-control/MissionControlOverlay.test.tsx b/products/desktop/packages/ui/src/features/mission-control/MissionControlOverlay.test.tsxnew file mode 100644index 000000000000..3ad653d1ea37--- /dev/null+++ b/products/desktop/packages/ui/src/features/mission-control/MissionControlOverlay.test.tsx@@ -0,0 +1,52 @@+import { render, screen } from "@testing-library/react";+import { afterEach, beforeEach, describe, expect, it } from "vitest";+import { MissionControlOverlay } from "./MissionControlOverlay";+import { useMissionControlStore } from "./missionControlStore";++describe("MissionControlOverlay", () => {+ beforeEach(() => {+ useMissionControlStore.setState({ active: false });+ });++ afterEach(() => {+ document.getElementById("portal-container")?.remove();+ });++ it("renders nothing until Mission Control opens", () => {+ render(<MissionControlOverlay />);++ expect(screen.queryByTestId("mission-control-overlay")).toBeNull();+ });++ it("names the app so the window is identifiable at thumbnail size", () => {+ useMissionControlStore.setState({ active: true });+ render(<MissionControlOverlay />);++ expect(screen.getByText("PostHog Desktop")).toBeTruthy();+ expect(screen.getByLabelText("PostHog logo")).toBeTruthy();+ });++ it("never intercepts clicks", () => {+ useMissionControlStore.setState({ active: true });+ render(<MissionControlOverlay />);++ expect(screen.getByTestId("mission-control-overlay").className).toContain(+ "pointer-events-none",+ );+ });++ it("portals into the theme container when one exists", () => {+ // Falling back to document.body lands outside the Radix <Theme> subtree+ // and renders a light panel in dark mode.+ const portal = document.createElement("div");+ portal.id = "portal-container";+ document.body.appendChild(portal);+ useMissionControlStore.setState({ active: true });++ render(<MissionControlOverlay />);++ expect(portal.contains(screen.getByTestId("mission-control-overlay"))).toBe(+ true,+ );+ });+});diff --git a/products/desktop/packages/ui/src/features/mission-control/MissionControlOverlay.tsx b/products/desktop/packages/ui/src/features/mission-control/MissionControlOverlay.tsxnew file mode 100644index 000000000000..c70df88f2372--- /dev/null+++ b/products/desktop/packages/ui/src/features/mission-control/MissionControlOverlay.tsx@@ -0,0 +1,37 @@+import LogosLandscape from "@posthog/ui/primitives/Logo";+import { createPortal } from "react-dom";+import { useMissionControlStore } from "./missionControlStore";++// Unanimated on purpose: at Mission Control's thumbnail scale a transition+// reads as a rendering glitch.+export function MissionControlOverlay() {+ const active = useMissionControlStore((state) => state.active);++ if (!active) return null;++ // Portalling to document.body would land outside the Radix <Theme> subtree+ // and render a light panel in dark mode.+ const container =+ document.getElementById("portal-container") ?? document.body;++ return createPortal(+ <div+ aria-hidden="true"+ data-testid="mission-control-overlay"+ className="pointer-events-none fixed inset-0 z-[300] flex flex-col items-center justify-center gap-[2.5vh] bg-(--gray-1)/75 backdrop-blur-md"+ >+ {/* The logo-only variant reserves room for the wordmark, so crop to the+ logomark's own 52:28 box. */}+ <div+ className="w-[min(18vw,160px)] overflow-hidden [&>svg]:h-auto [&>svg]:w-full"+ style={{ aspectRatio: "52 / 28" }}+ >+ <LogosLandscape wordmark={false} />+ </div>+ <p className="font-semibold text-(--gray-12) text-[clamp(16px,2.2vw,28px)] leading-none tracking-tight">+ PostHog Desktop+ </p>+ </div>,+ container,+ );+}diff --git a/products/desktop/packages/ui/src/features/mission-control/identifiers.ts b/products/desktop/packages/ui/src/features/mission-control/identifiers.tsnew file mode 100644index 000000000000..24bd5d8232c0--- /dev/null+++ b/products/desktop/packages/ui/src/features/mission-control/identifiers.ts@@ -0,0 +1,11 @@+export interface MissionControlState {+ active: boolean;+}++export interface MissionControlClient {+ onStateChanged(onData: (state: MissionControlState) => void): () => void;+}++export const MISSION_CONTROL_CLIENT = Symbol.for(+ "posthog.ui.mission-control.client",+);diff --git a/products/desktop/packages/ui/src/features/mission-control/missionControl.contribution.ts b/products/desktop/packages/ui/src/features/mission-control/missionControl.contribution.tsnew file mode 100644index 000000000000..4c492ace0087--- /dev/null+++ b/products/desktop/packages/ui/src/features/mission-control/missionControl.contribution.ts@@ -0,0 +1,22 @@+import type { Contribution } from "@posthog/di/contribution";+import { inject, injectable } from "inversify";+import {+ MISSION_CONTROL_CLIENT,+ type MissionControlClient,+} from "./identifiers";+import { useMissionControlStore } from "./missionControlStore";++// No initial state is fetched: the store starts hidden and the next transition+// corrects a renderer that reloaded mid-gesture.+@injectable()+export class MissionControlContribution implements Contribution {+ constructor(+ @inject(MISSION_CONTROL_CLIENT)+ private readonly client: MissionControlClient,+ ) {}++ start(): void {+ const { setActive } = useMissionControlStore.getState();+ this.client.onStateChanged((state) => setActive(state.active));+ }+}diff --git a/products/desktop/packages/ui/src/features/mission-control/missionControl.module.ts b/products/desktop/packages/ui/src/features/mission-control/missionControl.module.tsnew file mode 100644index 000000000000..d9a794e9519a--- /dev/null+++ b/products/desktop/packages/ui/src/features/mission-control/missionControl.module.ts@@ -0,0 +1,7 @@+import { CONTRIBUTION } from "@posthog/di/contribution";+import { ContainerModule } from "inversify";+import { MissionControlContribution } from "./missionControl.contribution";++export const missionControlUiModule = new ContainerModule(({ bind }) => {+ bind(CONTRIBUTION).to(MissionControlContribution).inSingletonScope();+});diff --git a/products/desktop/packages/ui/src/features/mission-control/missionControlStore.ts b/products/desktop/packages/ui/src/features/mission-control/missionControlStore.tsnew file mode 100644index 000000000000..034053013196--- /dev/null+++ b/products/desktop/packages/ui/src/features/mission-control/missionControlStore.ts@@ -0,0 +1,11 @@+import { create } from "zustand";++interface MissionControlStore {+ active: boolean;+ setActive: (active: boolean) => void;+}++export const useMissionControlStore = create<MissionControlStore>()((set) => ({+ active: false,+ setActive: (active) => set({ active }),+}));diff --git a/products/desktop/pnpm-lock.yaml b/products/desktop/pnpm-lock.yamlindex 159fc9b1922a..df16cd7d94a1 100644--- a/products/desktop/pnpm-lock.yaml+++ b/products/desktop/pnpm-lock.yaml@@ -255,6 +255,9 @@ importers:better-sqlite3:specifier: ^12.10.1version: 12.10.1+ bplist-parser:+ specifier: ^0.3.2+ version: 0.3.2chokidar:specifier: ^5.0.0version: 5.0.0@@ -294,6 +297,9 @@ importers:is-glob:specifier: ^4.0.3version: 4.0.3+ koffi:+ specifier: ^3.1.4+ version: 3.1.4micromatch:specifier: ^4.0.5version: 4.0.8@@ -1122,7 +1128,7 @@ importers:version: 5.9.3vitest:specifier: ^4.1.8- version: 4.1.8(@opentelemetry/[email protected])(@types/[email protected])(@vitest/[email protected])([email protected])([email protected](@types/[email protected])([email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))+ version: 4.1.8(@opentelemetry/[email protected])(@types/[email protected])(@vitest/[email protected])([email protected])([email protected](@types/[email protected])([email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))packages/host-router:dependencies:@@ -1940,6 +1946,9 @@ packages:'@asamuzakjp/[email protected]':resolution: {integrity: sha512-K1A6z8tS3XsmCMM86xoWdn7Fkdn9m6RSVtocUrJYIwZnFVkng/PvkEoWtOWmP+Scc6saYWHWZYbndEEXxl24jw==}+ '@astrojs/[email protected]':+ resolution: {integrity: sha512-eouss7G8ygdZqHuke033VMcVw5HTZUu+PXd/h06DGDUg/jt5btPYPqh66ENWw/mU78rBrf/oeC4oqoBwMtDMNA==}+'@aws-crypto/[email protected]':resolution: {integrity: sha512-nLbCWqQNgUiwwtFsen1AdzAtvuLRsQS8rYgMuxCrdKf9kOssamGLuPwyTY9wyYblNr9+1XM8v6zoDTPPSIeANg==}engines: {node: '>=16.0.0'}@@ -4626,6 +4635,81 @@ packages:peerDependencies:tslib: '2'+ '@koromix/[email protected]':+ resolution: {integrity: sha512-/9o0uahf25sNXz7CczfMAsgdHrrrkDK3/d1W5ygJUC7QnpWo80103yTYpYahWP3vTABK5yjzKtURgssv1paskA==}+ cpu: [arm64]+ os: [darwin]++ '@koromix/[email protected]':+ resolution: {integrity: sha512-6IOhfAHbrySr6lYRU720Hg+IMQvtMpN08k9Ppf9WF8NxYRdHLnW1FJm7zCbClfrwudtjhS/piwDYwgAkO5u8cg==}+ cpu: [x64]+ os: [darwin]++ '@koromix/[email protected]':+ resolution: {integrity: sha512-JKCWC0awdVvq7Nd/etn4PXFTa7uvyHn7IzqtaOZ3r4dJRdwQVby7Ai/wsQo8UUrJfAYlALkLYgFgU8wgsnAE/A==}+ cpu: [arm64]+ os: [freebsd]++ '@koromix/[email protected]':+ resolution: {integrity: sha512-gU9pShDRLMZzftdGW+mTzyL8Cpa/7nzHPHe5vFakjGgtIzVFzdFBqwli4oB+tFsx44W1VqMMlvMMVlnz54ERiQ==}+ cpu: [ia32]+ os: [freebsd]++ '@koromix/[email protected]':+ resolution: {integrity: sha512-2kppLX97xBM3WoQET6noN4W02zT2fkFRXHYluAwcCcmkEax8AVJ1CYs6hxcZ3kaNPc+5P7yMw3V/b1lg2v3aMw==}+ cpu: [x64]+ os: [freebsd]++ '@koromix/[email protected]':+ resolution: {integrity: sha512-yYbypuGVGqrNchkAMY59kj+7TZ1c1u9lXRG1+74X9T8G4rOaushoVONNYLuu+ygpbwsKzz/NvEDtRioRU/dQlQ==}+ cpu: [arm64]+ os: [linux]++ '@koromix/[email protected]':+ resolution: {integrity: sha512-IoA/8Qfc6ZEmwMw2Nf4aSp9RfJnxh0UHhdqD4FsVXm0vC797kLMuzj744vv5tll+waVfjrU10jREqjtnMVFoQw==}+ cpu: [ia32]+ os: [linux]++ '@koromix/[email protected]':+ resolution: {integrity: sha512-ZUTdea+9dg6CV9J9CIGbhTh0FtSBgvcGKqDrlp9BVQF71jEDKOri1by/TrDe8yQUyC5kzWN8vWnkzES5wT0xDg==}+ cpu: [loong64]+ os: [linux]++ '@koromix/[email protected]':+ resolution: {integrity: sha512-CINyyhNYV/8MX52MGhYcik2G6PXH+KEU2JEO7dOONlsGol4lSGyW40RvYA4RQgNYk8q8imGSEScL08X8eOXnaA==}+ cpu: [riscv64]+ os: [linux]++ '@koromix/[email protected]':+ resolution: {integrity: sha512-x3XnAy/tUTTCX/gMpV7VJNpOQIVQvzNhNYDrpyIeS9Q8/f1qLsE0vp0tj7A/YEDIfMVLqoJtyamfRJc04+vk4w==}+ cpu: [x64]+ os: [linux]++ '@koromix/[email protected]':+ resolution: {integrity: sha512-r9p/fffvmBm7+iT5BZ+c17gZJ280jvmbinrPZqjG14rF9I4lk7xrlV79YfsexkeN4mcPjF2hSPtbMNFBoQU3Dw==}+ cpu: [ia32]+ os: [openbsd]++ '@koromix/[email protected]':+ resolution: {integrity: sha512-SNp5AxOzheC2YaWPu3Y86wxRHHWf6V9NMl5Ot5nu9OpnP61Yinzug7JwsCeXtcZZTbKLsfsWoT7y4n17UYpOVA==}+ cpu: [x64]+ os: [openbsd]++ '@koromix/[email protected]':+ resolution: {integrity: sha512-oS8ETU35AelOD6DY7xmmz9qq26Xl38upXWiZbsdxbtH9UEIY0QpenQOuCK/0+q4CtfiLorRUlglGkO9YgPAIeA==}+ cpu: [arm64]+ os: [win32]++ '@koromix/[email protected]':+ resolution: {integrity: sha512-zd7Qh8s4fzblD9zzuDf44XCbujYg3QrffhgcNJg79/YC6ABT2m0CUtX4yFic9EWm2ps8NPAM25kCTCXPpt3eaw==}+ cpu: [ia32]+ os: [win32]++ '@koromix/[email protected]':+ resolution: {integrity: sha512-BPeQXc1bRd0QBOklvsP+AjoRnUzKbPNE6rfx7VNxrebhh09MKld2ibstgKWn6ejQLEcfKEoUJ+WAWIhX4AOsIg==}+ cpu: [x64]+ os: [win32]+'@kwsites/[email protected]':resolution: {integrity: sha512-m9/5YGR18lIwxSFDwfE3oA7bWuq9kdau6ugN4H2rJeyhFQZcG9AgSHkQtSD15a8WvTgfz9aikZMrKPHvbpqFiw==}@@ -5054,8 +5138,8 @@ packages:cpu: [arm]os: [android]- '@oxc-parser/[email protected]':- resolution: {integrity: sha512-jk7086MFvR/T4DG9IY7MKBVt1PMxvSZoz/TvnifodvS0pjghVwJHRttnAExhlwdMOgHv1TmLdENnbNpYk2zjvA==}+ '@oxc-parser/[email protected]':+ resolution: {integrity: sha512-ZiRGDutGsv1G6bL/ozy/koC0Sv39T1DqyoC4KD1DOy9ZoACm1O5UWhEK2c02Qdk+4lfLVkvFa/mQ0fm/4h1BtQ==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [arm]os: [android]@@ -5072,8 +5156,8 @@ packages:cpu: [arm64]os: [android]- '@oxc-parser/[email protected]':- resolution: {integrity: sha512-a4XDQ27ZT7e7zwAlxJDTiCA7IBGWDuy2+MhFq85Of7XlBSmpkfcBFml11q0Zx6f7RMuI0B4xCtt2ytBS4yOptg==}+ '@oxc-parser/[email protected]':+ resolution: {integrity: sha512-WZkvGRLNQTz8lR9zP5nLjUdlroRCopBu3g9zF1p/laE6DzT1UbQo8Rdz5MWhaJUPYg/6gp+jo7HUgsyKaN1FtQ==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [arm64]os: [android]@@ -5090,8 +5174,8 @@ packages:cpu: [arm64]os: [darwin]- '@oxc-parser/[email protected]':- resolution: {integrity: sha512-m/kVk6rzYmBeHYnz+1Y5fod00AVTTxMbC71azFfm/zjx1j9XxwKtA0+VfkKuVMC8rbghb9TtfevnuWZa9OuPEg==}+ '@oxc-parser/[email protected]':+ resolution: {integrity: sha512-l4khS8LQOOVYsGRVARo1gSaCT/aBSceUVXgtovWc2+drnxVuDr082WA3OCHVdVzIz5JIrP/y9CWsSKxBDNmYGg==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [arm64]os: [darwin]@@ -5108,8 +5192,8 @@ packages:cpu: [x64]os: [darwin]- '@oxc-parser/[email protected]':- resolution: {integrity: sha512-o0X+6KZlfucWU/v5oKRQPwdFXsXAjW8jmpo/Gpw/qyKsbKtlfkHoeH9Bjp/m13TwjewvJnCkwF0DWzgpC4HjTQ==}+ '@oxc-parser/[email protected]':+ resolution: {integrity: sha512-QBsNF3nqlXmcH2B1YOPqQYmCJoy4HuIjUxGbBO/k5JAJUl68ghU2psRY2zPk+RyBaWqKP/qfL4oaFgEMCdwskA==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [x64]os: [darwin]@@ -5126,8 +5210,8 @@ packages:cpu: [x64]os: [freebsd]- '@oxc-parser/[email protected]':- resolution: {integrity: sha512-W5KbTnNkTMMMylqj6dYqnsXvkmESVPodPKYLJ5zdzIPdl9fUJtolkpUeSzYEbGGYB4a4A4avl3EePnZ/wLIdJg==}+ '@oxc-parser/[email protected]':+ resolution: {integrity: sha512-b7Q7m4Cqc6XqNhri3R+QhU+GVy646Pn+bkdhrDdWym/Fdi0ZUa+d73H9dm5H91JtbtAQ/z1d8XKMW3oOV8a4tQ==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [x64]os: [freebsd]@@ -5144,8 +5228,8 @@ packages:cpu: [arm]os: [linux]- '@oxc-parser/[email protected]':- resolution: {integrity: sha512-g3dtbJa8zeOGK36Sr9cQavsdi5H/ie2hVjrSjIxsNAR1qZA40ZYVXnfdfoMAlq8CmB9qFL1yhsSCUHeNmdmt8w==}+ '@oxc-parser/[email protected]':+ resolution: {integrity: sha512-3riVS5IhdH3uCZj1Y9ftDQlR0dvLsIlw/edrRqk8JhgNd5K0XSs+UBtgh50N13CAlW9/TXj6sVGXaKNBocd0Yg==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [arm]os: [linux]@@ -5162,8 +5246,8 @@ packages:cpu: [arm]os: [linux]- '@oxc-parser/[email protected]':- resolution: {integrity: sha512-e6hwQqd+3lvP13G2jxvFpoA7dzHcFLN+Mq47JCVMtdNHbbyBRo756JCtbbJH6ca8inTfyqZoqBmS3vhQlzAK2w==}+ '@oxc-parser/[email protected]':+ resolution: {integrity: sha512-NmXUOpgpTSkhl795TiXmWppTwmSJ92RC1qvD6e4XOF+slgmo3e6Ah+kEu+6AN8s7NAOEwqGmir58MgSQSWmBSA==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [arm]os: [linux]@@ -5182,8 +5266,8 @@ packages:os: [linux]libc: [glibc]- '@oxc-parser/[email protected]':- resolution: {integrity: sha512-vXz2BLAuypA+4MLyBg94pzEo6THVnzYnCtAjXoihIIQo0t2pnp/AmW+SH1EI+4VbuJnC//KplIJ5yyaCGua4jA==}+ '@oxc-parser/[email protected]':+ resolution: {integrity: sha512-gc0EXsKtXgerujmU2Bql3u1L1HsSQ2774R83idq/FoNMPVV/RY/1ErFsvnit7KoiP/sLvzQixeUo4Ut0ic0wmw==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [arm64]os: [linux]@@ -5203,8 +5287,8 @@ packages:os: [linux]libc: [musl]- '@oxc-parser/[email protected]':- resolution: {integrity: sha512-jMkS/EztNW34HKsXIaT/SoHcmtocq/vWhwFOVduF9kduuuRIVwfwQ6uxzIO+qPKSXdd2TXt54of0BJ2zFMXnmw==}+ '@oxc-parser/[email protected]':+ resolution: {integrity: sha512-F2XvmWSE0uWpie+jHKKIFgdVOe9ypGhkEZxKx5DuW215K6cbAC274yYaPkcM7EqY4Df3Weyhpcz3lsURyH2LVg==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [arm64]os: [linux]@@ -5224,8 +5308,8 @@ packages:os: [linux]libc: [glibc]- '@oxc-parser/[email protected]':- resolution: {integrity: sha512-vo+MR+n3zQJ6Mq92hiP084NZcgDv5iJlVR02gMf28neMvVT1tKVm7VeiW/DxhdqOi3QLeaXIk9cUcLL1qrkngw==}+ '@oxc-parser/[email protected]':+ resolution: {integrity: sha512-wLMbT21U/QxknQsk+VvNF0b9D2/aGWhcaQQQ+VYlE8FwD5+GoWZIPPXNzyHmkYyhm0KB3itL+TBavjMatqNnYA==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [ppc64]os: [linux]@@ -5245,8 +5329,8 @@ packages:os: [linux]libc: [glibc]- '@oxc-parser/[email protected]':- resolution: {integrity: sha512-oh80w+7RuiO5gBp9Jnoa/H8Qlt3JsHL2MkW+0dwEdlDMdslVZX/YsekSK6EeyEenY66/mhCfypsNATQ7Ph3qlQ==}+ '@oxc-parser/[email protected]':+ resolution: {integrity: sha512-+G8F/4ckwT7FCJV4H2bt09xEzJbjNCfuL4Sp1AYNaFtFMVtgIGMuJlteT82U+K0UIZ/DzAR/LDlMFnEuajG7Kw==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [riscv64]os: [linux]@@ -5266,8 +5350,8 @@ packages:os: [linux]libc: [musl]- '@oxc-parser/[email protected]':- resolution: {integrity: sha512-LOyEmFA8sCnYbEXP1+iQvCC/P1YXHMA/t6x1Ksp0Y9VwhLFsiBJFzV1zIxrOIE2LKaGGhDjQ29xq9cbq6omDXA==}+ '@oxc-parser/[email protected]':+ resolution: {integrity: sha512-hTsHtTLxMAfCo+rpF5K3qZJKW2NpPN/CHd4mYB3y7XlSdspHkd2gehDIofP64AacA9nWQw2tY3O7wR6UY8IVOA==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [riscv64]os: [linux]@@ -5287,8 +5371,8 @@ packages:os: [linux]libc: [glibc]- '@oxc-parser/[email protected]':- resolution: {integrity: sha512-3wnwk/l1CvszVE5TJR1wSl/zSEfydRqrNhn6s7Vr9IzSJpUQIroqVsIoPARHRFA+FQwkxAFDAHDAasa7v8OobQ==}+ '@oxc-parser/[email protected]':+ resolution: {integrity: sha512-6y7qYY3TCUDYjqswImdTGl92y+KA/80twALegQPN27kfY+bG7Ib1+L3jbmrCZQx6wrVnai9IPsEZp07I0hx7JQ==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [s390x]os: [linux]@@ -5308,8 +5392,8 @@ packages:os: [linux]libc: [glibc]- '@oxc-parser/[email protected]':- resolution: {integrity: sha512-qtyQVAAebFq57B2tifTlel3TgGqUtsYNI/e+p6aya9rN9lOZVTDvr215fGYSA9XWooxzMxDiVxkBLk2jQHbsOQ==}+ '@oxc-parser/[email protected]':+ resolution: {integrity: sha512-i69kAWU+2LgoH5bR+zWiiu+UzAw7Oxkwv7COeJTeY19pn4e70nKQcr9Pm6cL2Z0Z54d+gl9qADlK/0yyuCPiBA==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [x64]os: [linux]@@ -5329,8 +5413,8 @@ packages:os: [linux]libc: [musl]- '@oxc-parser/[email protected]':- resolution: {integrity: sha512-SkGV1nKw40roEc94pv5EaaeH2ay14G6+roe8Q0wIUC1LcEKxzKW921h7+ZuZX0D3q2Mb/7aSFmxEVqnko3lPRw==}+ '@oxc-parser/[email protected]':+ resolution: {integrity: sha512-4SQs678MmjYVrmhAgCWD4o0vpaFszXw9xLX5p2Z9MMFcltxiLkA88wQjh80YHjPrXtpyZ2CWI5m+1yNKM0m2Pw==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [x64]os: [linux]@@ -5348,8 +5432,8 @@ packages:cpu: [arm64]os: [openharmony]- '@oxc-parser/[email protected]':- resolution: {integrity: sha512-cVgDM7n8QziQqOaP5hNgUYfMG7S/ZeuPxFWXnnHRv7rh025COk0rfQ6eEdKG3j/GaUuyvNZN4ifF1J8KmuXLLA==}+ '@oxc-parser/[email protected]':+ resolution: {integrity: sha512-YHpx9N7Ln3a++Tc8rv+H7mrK1zyJQOAwCFg8LZ3lTs1T5afGWeZrLPhPT9HLnIwSjCyJqPWVMIrMxbjcmBr2oQ==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [arm64]os: [openharmony]@@ -5364,8 +5448,8 @@ packages:engines: {node: ^20.19.0 || >=22.12.0}cpu: [wasm32]- '@oxc-parser/[email protected]':- resolution: {integrity: sha512-HggH++Fkn3OilBn+bs3jpgIFQa34oMAyUUHy0vpGum+gt1Eb5nyLc8dNU/RAPSw6lsLrx7ncKtHSZE+3Sp0l2g==}+ '@oxc-parser/[email protected]':+ resolution: {integrity: sha512-3pLDyY3+oogW73RM5uehNgAiR/Xfb7fvO2Q1Z1gIqZ2+50XDVQmBVlRkHXZTU4gKnQHpwETNsYQVsJ3joVB2iA==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [wasm32]@@ -5381,8 +5465,8 @@ packages:cpu: [arm64]os: [win32]- '@oxc-parser/[email protected]':- resolution: {integrity: sha512-KLSEH9GwgbrqbJOjtGHt9STw96s+78yDzp7IDN8Lno+7Ut9sNBfZ4jYZIz4mD50qmWUjoOI7i9I6UENbhNbMZQ==}+ '@oxc-parser/[email protected]':+ resolution: {integrity: sha512-Had/VeVY28Oyb0K+Q4FV8KCzoBycIh93oDK6pCbya9lkzdq+ikMHMgBubsdqqlybjJmQRawCQRrnBRHyQwYvcQ==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [arm64]os: [win32]@@ -5399,8 +5483,8 @@ packages:cpu: [ia32]os: [win32]- '@oxc-parser/[email protected]':- resolution: {integrity: sha512-9UVWUOOCI/1YkiSSNjg2zyBJYM9E/t1A/8GNobd48JDn/fQ6mzxcVO3H08jb3rAaW/B1VBf8eCORTvSsO9T08g==}+ '@oxc-parser/[email protected]':+ resolution: {integrity: sha512-GGi3+YphVHavvgs6gum2UXoNCqzHAmPt/nXkn8ZQZstV2Q1qZD1Mn8fz/nWrDkefHQtrG/+1/XrbMxsBTo6Svw==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [ia32]os: [win32]@@ -5417,8 +5501,8 @@ packages:cpu: [x64]os: [win32]- '@oxc-parser/[email protected]':- resolution: {integrity: sha512-HI/wsvbWT5RHHw5c37D0fEgeTd8/1Q4OJs5jUmEBc17VZFG6SsCIe4barq7NsAPPks/JW+3ayi3Rp+PQI5h4Kg==}+ '@oxc-parser/[email protected]':+ resolution: {integrity: sha512-Ny/Wv4Us1LGC/ljwNTp+Hx3r/pH15EFfeDF0p+n898gt+TtRd6C9SccHcuUhDiNTb8s5tt7jdeAMDRQZ4Vq6hg==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [x64]os: [win32]@@ -5436,8 +5520,8 @@ packages:'@oxc-project/[email protected]':resolution: {integrity: sha512-aIYXQBo4lCbO4z0R3FHeucQHpF46l2LbMdxRvqvuRuW2OxdnSkcng5B8+K12spgLDj93rtN3+J2Vac/TIO+ciQ==}- '@oxc-project/[email protected]':- resolution: {integrity: sha512-S4as7z0j0xQkXcJlyY5ehntwK8/wRkQb9Cyqw+J/N2rkWGQGK0SxD6X6DhQTc7qsxVTBxXbxZtBJh3mr3PtIzQ==}+ '@oxc-project/[email protected]':+ resolution: {integrity: sha512-7W+2q5AKQVU36fkaryontrHn3YDt1RyUYXatw9i5H8ocYe2sPKSFB6eS8WNPeRKiN1qAWWZUPm7gwFzJGrccqQ==}'@oxc-resolver/[email protected]':resolution: {integrity: sha512-kVnY21v0GyZ/+LG6EIO48wK3mE79BUuakHUYLIqobO/Qqq4mJsjuYXMSn3JtLcKZpN1HDVit4UHpGJHef1lrlw==}@@ -5875,124 +5959,124 @@ packages:cpu: [x64]os: [win32]- '@oxlint/[email protected]':- resolution: {integrity: sha512-+gHd12muVI9ZLBaWLPkHt3Fj7jihFjgQ1MGtBaRL8vWrWrI0P7dLUty/cHrHS0oqPYIRgQUJsPu2CExQuMcwNw==}+ '@oxlint/[email protected]':+ resolution: {integrity: sha512-ZHIE5Zt9AsPDcY4nOlofXt0YfneEeo+QrKMPcPzLf2Z6Q8VtV2W73d7SFJ920WUwyik783u/doKCs3KXdwG+7w==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [arm]os: [android]- '@oxlint/[email protected]':- resolution: {integrity: sha512-xjKdoMB+H+RCOByv/7l7nfIGW9mlOisqYdcyC75UqYuQecLpReAeEYUf2CNeDEI3KtmUgxpRw/+c63y4AeF/Bw==}+ '@oxlint/[email protected]':+ resolution: {integrity: sha512-shm/ngQilHK6bs+ElJWa4oHfNj5vL1Gl/iVEJldTQjpr0/67oSgr0KUpbmcnLig5Fo0v/l6j2567A7TOL89ONA==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [arm64]os: [android]- '@oxlint/[email protected]':- resolution: {integrity: sha512-iUK7wvc6sejMKsC+Pt67mntoF5weFcyEunhZfLJceU6gL419mexz5wBkSx/EnkFBExMLNtOi9fnDSc5xfK0IzQ==}+ '@oxlint/[email protected]':+ resolution: {integrity: sha512-rvJmrAPKSQ9aWJ6wIS6CK2tJjwzfW0ApQH9qokq6sfDvmHwoyIHxHFMq7z7i7GiV6fdE6s8qvBqWKPTu8RmT6Q==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [arm64]os: [darwin]- '@oxlint/[email protected]':- resolution: {integrity: sha512-ggKc/tn5SJ1u2yG2izC6VKODfYKV8MQ2AicJlNzOjuyrC29udvOef6/JzK2r32xqCnBDLFouR1VCkjzEI0/N9Q==}+ '@oxlint/[email protected]':+ resolution: {integrity: sha512-U/zYdb7VYKGY6pA9Vd2rYl9O/HlCylcOlb5PGPvVLtg+oLGsk6H3XGKEMHKyqD3nmmtmlmwb/8SwU2vfSAtvMw==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [x64]os: [darwin]- '@oxlint/[email protected]':- resolution: {integrity: sha512-u++dH/43jy9hTLbneaWlS0gla/Bp1JdwJ2zgevCl8nDFUh6qRCGMxcL0f0lb7By3A9p/LfFr+7cG4HU1hG856g==}+ '@oxlint/[email protected]':+ resolution: {integrity: sha512-WvKG9CAriuo0XNiFzpXjDngUZcRGFNpaK2kLyMUsnJlShxkT96u+BpJQ3KqdQwGOrvI14L6V8bAwXwAYNNY6Jg==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [x64]os: [freebsd]- '@oxlint/[email protected]':- resolution: {integrity: sha512-Sj1zmtFDVTPeIbIz4ZfcXAbFHqCmKCXdCUlAJzvTF7I20NTH1RDpoF2PhkqNODutJzVhJYmm3oz0GwgY+tvE2g==}+ '@oxlint/[email protected]':+ resolution: {integrity: sha512-qJ5+RH99TqFRq3UCDxkW0zJJu9c+OAHFY72vGlxZLEpuO+MpKo3POgqb8sYipL9KYm8XY6ofb0HsOuvY6hQNqQ==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [arm]os: [linux]- '@oxlint/[email protected]':- resolution: {integrity: sha512-//PKyQb/tQXcHArx2f7z+oVI/eMS2Jpv+edNuAtOrgIhWdGcpHxogveAxzmF2rpH1AIHp4Hq04RF/rgJdiICnQ==}+ '@oxlint/[email protected]':+ resolution: {integrity: sha512-PvPCVptkgVARsucgIqFQQcSmJ6xc6GtnVB5bRBekRahTc9eObMtjHfMjy5M+C2tHt5UCMttWM9RuSk/H9NqYeg==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [arm]os: [linux]- '@oxlint/[email protected]':- resolution: {integrity: sha512-/k1Me+aX2tjuH10K62mLS0y8cLkJBHX6Ce0xPK+eWeel4bSdEGZ8dv4+hYMzg0GrSmjwy4yAYsDPeEeKBft/2w==}+ '@oxlint/[email protected]':+ resolution: {integrity: sha512-3KeFDx8Bu4HPAXbuHZOr/oHvN+QT+JQhMw/NYPz7Z071xLSsG27Jfh9PIQVEY7hk1I+jr43ExqRIeJ6VKk2yLw==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [arm64]os: [linux]libc: [glibc]- '@oxlint/[email protected]':- resolution: {integrity: sha512-3tFSjBxc5D8/zvjEuLvOqcA8ZXKD0+6NuaVO/edeamNc49MoAsbfaC9s1UiwODwgF6slGaF8yJA2TPkukd77tg==}+ '@oxlint/[email protected]':+ resolution: {integrity: sha512-oPFkkKTgl0K/EIg9fQ8oA3IGcI05/Mq1en04iFa41mmNPT+6KEiByVazTOZZJiHMBBrbsns1YJ2e1Scqwzesjw==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [arm64]os: [linux]libc: [musl]- '@oxlint/[email protected]':- resolution: {integrity: sha512-9QggtPkSPXOCTu8Szis7auOK/sC7KdQaN+/TujP7YVVhzCAOhgdRfgv8uEz0r2tk5xdgus5rLYUrCDoZNtiRUw==}+ '@oxlint/[email protected]':+ resolution: {integrity: sha512-gN7yZ0eqflA5Fhf1wvHxGUltIV3FsvmB1zhNMDEK9vSHhc7E6qg9CuPeBgPZab66Tjzq6w6kHAtNEvnTHf4cyw==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [ppc64]os: [linux]libc: [glibc]- '@oxlint/[email protected]':- resolution: {integrity: sha512-VM5VPUJ4DJIWiK+AZn8FScUqMr6OFrCAYybMYjEEi7W13ParI64MByiXTkKMqZpBmvQ9zxl9Ebq2VUOiZRJYUg==}+ '@oxlint/[email protected]':+ resolution: {integrity: sha512-S/HqMbn22mQrjtErUxEoS/a55u8kIeXvreIxiJu5G7Le3UecEd6SQZxrDIpuhtgaFnsY/nVra3ytP+pRljDilA==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [riscv64]os: [linux]libc: [glibc]- '@oxlint/[email protected]':- resolution: {integrity: sha512-SaDY1gh9rOA592J54g+gu5hkOFFQBZsMmIYHs+NRHG+Uq0OxtuuCXMWQ3vu1830Eugv5uMXyjG+bv2Z9y4IXjw==}+ '@oxlint/[email protected]':+ resolution: {integrity: sha512-ZIga3097VJZolGZk6SrIAUokIGfRkxRlhiHDUznZptGBfwrhD7pNfD1rzEzsCwvk/1DX0A1bLz+liuNh5QKIVQ==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [riscv64]os: [linux]libc: [musl]- '@oxlint/[email protected]':- resolution: {integrity: sha512-ZATQeHZCyr6MbDveg0obD5sxLHFOghtOdC5jwVwYlvFWqtFOxctgFEG6Ef/64hYvZrWyhyCckB10AelqLopeDA==}+ '@oxlint/[email protected]':+ resolution: {integrity: sha512-ZGiiA7pFzMJSyMWYZTVlPgbTsx+Vl8ihLGMIujPwaslUF7kIPPWAbVmAlTc+9lWDV+DCiB8Ikixu+lSHeOIIWQ==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [s390x]os: [linux]libc: [glibc]- '@oxlint/[email protected]':- resolution: {integrity: sha512-+aIvJyrdeD7LwCQ2WYLMUWNmnbeDRSPb40aBYtPjD9+PTqUwgJnk+HK5yLfSMeqXrMrDhE9uTmtt2y50tvjhHw==}+ '@oxlint/[email protected]':+ resolution: {integrity: sha512-JLiy5WuvEBFTT6ErIFV35SLzi0R7Iri6MKU6dZbTxfIx8pndbbPs3Mj780nMipBFcPkti+okAPOJ9POKkHFEgg==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [x64]os: [linux]libc: [glibc]- '@oxlint/[email protected]':- resolution: {integrity: sha512-XyktaR8lhK2qWiCK0Tk8oYD+/cgn+oHA6ddRnxSSXUKkkojkV78CmShZUxQF+yrBFs0SuW+JBOPG6hecyc/iZg==}+ '@oxlint/[email protected]':+ resolution: {integrity: sha512-z7lgKQtbo/I1NIe8G5NHLesxJDv0tRSUWTpXKb9Pm3E9nKFKfO4IOSDtFroKgXtOYb0jQbcdH+0wzTyMXVes+A==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [x64]os: [linux]libc: [musl]- '@oxlint/[email protected]':- resolution: {integrity: sha512-mzbjrPl4neaVUiJ1fUiEUxTGaSZBoiKtaoB6jmIpz9S+VOA2vDYmJpihQ82w6178V5jxziclTg8Cgj5yF6tTDg==}+ '@oxlint/[email protected]':+ resolution: {integrity: sha512-JOjKymIpb9QcYfEhZsN6h4V9Ivd474W38cNIBRv6bg2TbIvogbMTH0Mg6YWW9TiRDqfcX+/Hyfsbo5vcSE5guQ==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [arm64]os: [openharmony]- '@oxlint/[email protected]':- resolution: {integrity: sha512-vUAe9okpS2Oa5+lX67lqHMuNUvfkleRKwrUDJ/WJBsgmddvZ1mrsh2HVmuFDRzqFELhaJhFaCNOuR6a7L3rtIA==}+ '@oxlint/[email protected]':+ resolution: {integrity: sha512-pqDWZiwcmByWUEm1NFUBNiT6aentCcaoMWJv0HbXEmuYermJ4sg8ppVrshubYP2MZ6SHccJJcpr6x469PuDFIw==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [arm64]os: [win32]- '@oxlint/[email protected]':- resolution: {integrity: sha512-yyXXJyYYSXL4I8K8jAWjJs+J3fa9gH2JmEbo4f5adm+1tNC9itseicBNuwK7BDHvqQ5J534s+yDULu89vYL2ZQ==}+ '@oxlint/[email protected]':+ resolution: {integrity: sha512-Ba0O659kgMv6pwO3z9PdO+K3aMxQRaw9HnG+e6AtOfgwcKFvYilciQYBoUBmxfQvOCKZe1SwjMkuB542NkuDMQ==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [ia32]os: [win32]- '@oxlint/[email protected]':- resolution: {integrity: sha512-VTC9IYTIMrVUk/i6Ms1ohzzDKZFkWn0KU2OBbPBzgmVZ2V30165T/zK4LztTr0Xgp9fZ1qQZ1rsZAu/rEmySlA==}+ '@oxlint/[email protected]':+ resolution: {integrity: sha512-5qcirPHO8nKfkoowEVWtpAoVTcYDy6g0UT0NGic450Qv8J2NrOqg4uQ8QppRP4MDTC7Xx47lbZnmadTH03CGGA==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [x64]os: [win32]@@ -10229,8 +10313,8 @@ packages:resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==}engines: {node: '>=6'}- resolution: {integrity: sha512-rGhQ17gHnmsjG5KFJM4+oN4bOxktHiPGqzJxKqWt0Qw/NLZIsEgLH1wIo1tTXRyN/MNwhchKbfUieFiWyAh0pQ==}+ resolution: {integrity: sha512-sJcR5LLnEG+w58Oy5CdZfwAfm8XiERbXp9c941Aoeb8JmBHk/56TbZQlLJseJtClg0dkn88wpmnI82+iF0jagg==}resolution: {integrity: sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==}@@ -12410,6 +12494,9 @@ packages:'@types/node': '>=18'typescript: '>=5.0.4 <7'+ resolution: {integrity: sha512-KHX39XIg7afe8ds+0MHPoLiKR9dCzsVK4oAmBUSaeJlcX0xur22f15C2DILbZ6GJ9eyqC+e6Sb1cTG7M17z+Tg==}+resolution: {integrity: sha512-ONPnazC96VKDntab9j9JKwIWhZ4ZUceB4A9Epu4Ssg0hYFmtHZSeQ+n15nIwTFmcBUKtExOer8WTJ4GF9MO64A==}hasBin: true@@ -13442,8 +13529,8 @@ packages:resolution: {integrity: sha512-bkgD4qHlN7WxLdX8bLXdaU54TtQtAIg/ZBAfm0aje/mo3MRDo3P0hZSgr4U7O3xfX+fQmR5AP04JS/TGcZLcFA==}engines: {node: ^20.19.0 || >=22.12.0}- resolution: {integrity: sha512-uFkGGr1KMWd6aWv9UAqooYrN78trw8MWWmoPvgWokfBEUq1+eiIQ+qfj3wokhy0fxtZWZk+0dHoS7/yRTJtd6w==}+ resolution: {integrity: sha512-kKR+jPiRJYJDexVoziIg/FVGvr1fT1FZSSJOk6tVoMKKSlsf1Cso+cgGCJkOEDWOP174vRntCPFKg+AS7InWvw==}engines: {node: ^20.19.0 || >=22.12.0}@@ -13460,16 +13547,16 @@ packages:engines: {node: ^20.19.0 || >=22.12.0}hasBin: true- resolution: {integrity: sha512-fTciSOgAGe/KAgvFDKLz9crjxHyAuu0BvT5sXfSdo2B5QmY5Y/j3nliqX6FaGr7Wud1SYvkAky+/m+58b6K6fQ==}+ resolution: {integrity: sha512-7XDOw+zjVquh0yqX3zvGQC2zzWIp2rXyMjLDqFzzQ8t7TZXfIQ6ttQhBwckQSk4c7kD7Cy9If0F4LI4XXI4Gsg==}engines: {node: ^20.19.0 || >=22.13.0}- resolution: {integrity: sha512-odGl2s2x5IOJoj3A0v1k0PGBXVFBZeZ2+AK/+K2MJur7Ghi3bkyX5NuLUWHKqa4js1wjep3hJeuTQJOlr+4+dA==}+ resolution: {integrity: sha512-6QoFioEU4fNdiUx/2Eo6TRd6NG7H7njnRCz8rhB66cZmMHDTqcm1Rjvl8Wry+ZTQMBAmyb4Mlf62Mk5X+eHSOw==}engines: {node: ^20.19.0 || >=22.12.0}hasBin: truepeerDependencies:- oxlint-tsgolint: '>=0.24.0'+ oxlint-tsgolint: '>=7.0.2001'vite-plus: '*'peerDependenciesMeta:oxlint-tsgolint:@@ -14092,8 +14179,8 @@ packages:resolution: {integrity: sha512-+NRMYs2DyTP4/tqWz371Oo50JqmWltR1h2gcdgUMAWZJIAvrd0/SqlCfx7tpzpl/s36rzw6qH2MjoNrxtRNYhA==}engines: {node: ^20.9.0 || >=22}- resolution: {integrity: sha512-A/e21t0y3j7zUTS8lJyNI2pKMfYLDH+zZwqAC7+MQW1vCD3xqWc2x8XCCWKnrQQwtFd6dwSZw2017x1iSLnGTA==}+ resolution: {integrity: sha512-s8kWwfFKZA3e9AT5wwFilQNjxKFP30ceFIXOZDrmLPstFodbHOpE0Mv+fEY0/04uZbhRdVYKoaHYb+yaAIEwPw==}engines: {node: ^20.19.0 || >=22.13.0}hasBin: true@@ -16455,6 +16542,8 @@ snapshots:'@csstools/css-tokenizer': 3.0.4lru-cache: 10.4.3+ '@astrojs/[email protected]': {}+'@aws-crypto/[email protected]':dependencies:'@aws-crypto/util': 5.2.0@@ -19805,6 +19894,51 @@ snapshots:'@jsonjoy.com/codegen': 17.67.0([email protected])tslib: 2.8.1+ '@koromix/[email protected]':+ optional: true++ '@koromix/[email protected]':+ optional: true++ '@koromix/[email protected]':+ optional: true++ '@koromix/[email protected]':+ optional: true++ '@koromix/[email protected]':+ optional: true++ '@koromix/[email protected]':+ optional: true++ '@koromix/[email protected]':+ optional: true++ '@koromix/[email protected]':+ optional: true++ '@koromix/[email protected]':+ optional: true++ '@koromix/[email protected]':+ optional: true++ '@koromix/[email protected]':+ optional: true++ '@koromix/[email protected]':+ optional: true++ '@koromix/[email protected]':+ optional: true++ '@koromix/[email protected]':+ optional: true++ '@koromix/[email protected]':+ optional: true+'@kwsites/[email protected]':dependencies:debug: 4.4.3@@ -20300,7 +20434,7 @@ snapshots:'@oxc-parser/[email protected]':optional: true- '@oxc-parser/[email protected]':+ '@oxc-parser/[email protected]':optional: true'@oxc-parser/[email protected]':@@ -20309,7 +20443,7 @@ snapshots:'@oxc-parser/[email protected]':optional: true- '@oxc-parser/[email protected]':+ '@oxc-parser/[email protected]':optional: true'@oxc-parser/[email protected]':@@ -20318,7 +20452,7 @@ snapshots:'@oxc-parser/[email protected]':optional: true- '@oxc-parser/[email protected]':+ '@oxc-parser/[email protected]':optional: true'@oxc-parser/[email protected]':@@ -20327,7 +20461,7 @@ snapshots:'@oxc-parser/[email protected]':optional: true- '@oxc-parser/[email protected]':+ '@oxc-parser/[email protected]':optional: true'@oxc-parser/[email protected]':@@ -20336,7 +20470,7 @@ snapshots:'@oxc-parser/[email protected]':optional: true- '@oxc-parser/[email protected]':+ '@oxc-parser/[email protected]':optional: true'@oxc-parser/[email protected]':@@ -20345,7 +20479,7 @@ snapshots:'@oxc-parser/[email protected]':optional: true- '@oxc-parser/[email protected]':+ '@oxc-parser/[email protected]':optional: true'@oxc-parser/[email protected]':@@ -20354,7 +20488,7 @@ snapshots:'@oxc-parser/[email protected]':optional: true- '@oxc-parser/[email protected]':+ '@oxc-parser/[email protected]':optional: true'@oxc-parser/[email protected]':@@ -20363,7 +20497,7 @@ snapshots:'@oxc-parser/[email protected]':optional: true- '@oxc-parser/[email protected]':+ '@oxc-parser/[email protected]':optional: true'@oxc-parser/[email protected]':@@ -20372,7 +20506,7 @@ snapshots:'@oxc-parser/[email protected]':optional: true- '@oxc-parser/[email protected]':+ '@oxc-parser/[email protected]':optional: true'@oxc-parser/[email protected]':@@ -20381,7 +20515,7 @@ snapshots:'@oxc-parser/[email protected]':optional: true- '@oxc-parser/[email protected]':+ '@oxc-parser/[email protected]':optional: true'@oxc-parser/[email protected]':@@ -20390,7 +20524,7 @@ snapshots:'@oxc-parser/[email protected]':optional: true- '@oxc-parser/[email protected]':+ '@oxc-parser/[email protected]':optional: true'@oxc-parser/[email protected]':@@ -20399,7 +20533,7 @@ snapshots:'@oxc-parser/[email protected]':optional: true- '@oxc-parser/[email protected]':+ '@oxc-parser/[email protected]':optional: true'@oxc-parser/[email protected]':@@ -20408,7 +20542,7 @@ snapshots:'@oxc-parser/[email protected]':optional: true- '@oxc-parser/[email protected]':+ '@oxc-parser/[email protected]':optional: true'@oxc-parser/[email protected]':@@ -20417,7 +20551,7 @@ snapshots:'@oxc-parser/[email protected]':optional: true- '@oxc-parser/[email protected]':+ '@oxc-parser/[email protected]':optional: true'@oxc-parser/[email protected]':@@ -20426,7 +20560,7 @@ snapshots:'@oxc-parser/[email protected]':optional: true- '@oxc-parser/[email protected]':+ '@oxc-parser/[email protected]':optional: true'@oxc-parser/[email protected]':@@ -20435,7 +20569,7 @@ snapshots:'@oxc-parser/[email protected]':optional: true- '@oxc-parser/[email protected]':+ '@oxc-parser/[email protected]':optional: true@@ -20453,7 +20587,7 @@ snapshots:'@napi-rs/wasm-runtime': 1.1.5(@emnapi/[email protected])(@emnapi/[email protected])optional: true- '@oxc-parser/[email protected]':+ '@oxc-parser/[email protected]':dependencies:'@emnapi/core': 1.11.2'@emnapi/runtime': 1.11.2@@ -20466,7 +20600,7 @@ snapshots:'@oxc-parser/[email protected]':optional: true- '@oxc-parser/[email protected]':+ '@oxc-parser/[email protected]':optional: true'@oxc-parser/[email protected]':@@ -20475,7 +20609,7 @@ snapshots:'@oxc-parser/[email protected]':optional: true- '@oxc-parser/[email protected]':+ '@oxc-parser/[email protected]':optional: true'@oxc-parser/[email protected]':@@ -20484,7 +20618,7 @@ snapshots:'@oxc-parser/[email protected]':optional: true- '@oxc-parser/[email protected]':+ '@oxc-parser/[email protected]':optional: true'@oxc-project/[email protected]': {}@@ -20495,7 +20629,7 @@ snapshots:'@oxc-project/[email protected]': {}- '@oxc-project/[email protected]': {}+ '@oxc-project/[email protected]': {}'@oxc-resolver/[email protected]':optional: true@@ -20738,61 +20872,61 @@ snapshots:'@oxfmt/[email protected]':optional: true- '@oxlint/[email protected]':+ '@oxlint/[email protected]':optional: true- '@oxlint/[email protected]':+ '@oxlint/[email protected]':optional: true- '@oxlint/[email protected]':+ '@oxlint/[email protected]':optional: true- '@oxlint/[email protected]':+ '@oxlint/[email protected]':optional: true- '@oxlint/[email protected]':+ '@oxlint/[email protected]':optional: true- '@oxlint/[email protected]':+ '@oxlint/[email protected]':optional: true- '@oxlint/[email protected]':+ '@oxlint/[email protected]':optional: true- '@oxlint/[email protected]':+ '@oxlint/[email protected]':optional: true- '@oxlint/[email protected]':+ '@oxlint/[email protected]':optional: true- '@oxlint/[email protected]':+ '@oxlint/[email protected]':optional: true- '@oxlint/[email protected]':+ '@oxlint/[email protected]':optional: true- '@oxlint/[email protected]':+ '@oxlint/[email protected]':optional: true- '@oxlint/[email protected]':+ '@oxlint/[email protected]':optional: true- '@oxlint/[email protected]':+ '@oxlint/[email protected]':optional: true- '@oxlint/[email protected]':+ '@oxlint/[email protected]':optional: true- '@oxlint/[email protected]':+ '@oxlint/[email protected]':optional: true- '@oxlint/[email protected]':+ '@oxlint/[email protected]':optional: true- '@oxlint/[email protected]':+ '@oxlint/[email protected]':optional: true- '@oxlint/[email protected]':+ '@oxlint/[email protected]':optional: true'@parcel/[email protected]':@@ -23838,7 +23972,7 @@ snapshots:sirv: 3.0.2tinyglobby: 0.2.15tinyrainbow: 3.1.0- vitest: 4.1.8(@opentelemetry/[email protected])(@types/[email protected])(@vitest/[email protected])(@vitest/[email protected])([email protected])([email protected](@types/[email protected])([email protected]))([email protected](@emnapi/[email protected])(@emnapi/[email protected])(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))+ vitest: 4.1.8(@opentelemetry/[email protected])(@types/[email protected])(@vitest/[email protected])([email protected])([email protected](@types/[email protected])([email protected]))([email protected](@emnapi/[email protected])(@emnapi/[email protected])(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))'@vitest/[email protected]':dependencies:@@ -25196,12 +25330,12 @@ snapshots:dependencies:- '@oxc-project/types': 0.141.0+ '@oxc-project/types': 0.142.0fast-glob: 3.3.3minimatch: 10.2.5- oxc-parser: 0.141.0+ oxc-parser: 0.142.0oxc-resolver: 11.24.2typescript: 5.9.3@@ -28017,6 +28151,24 @@ snapshots:typescript: 6.0.3zod: 4.4.3+ optionalDependencies:+ '@koromix/koffi-darwin-arm64': 3.1.4+ '@koromix/koffi-darwin-x64': 3.1.4+ '@koromix/koffi-freebsd-arm64': 3.1.4+ '@koromix/koffi-freebsd-ia32': 3.1.4+ '@koromix/koffi-freebsd-x64': 3.1.4+ '@koromix/koffi-linux-arm64': 3.1.4+ '@koromix/koffi-linux-ia32': 3.1.4+ '@koromix/koffi-linux-loong64': 3.1.4+ '@koromix/koffi-linux-riscv64': 3.1.4+ '@koromix/koffi-linux-x64': 3.1.4+ '@koromix/koffi-openbsd-ia32': 3.1.4+ '@koromix/koffi-openbsd-x64': 3.1.4+ '@koromix/koffi-win32-arm64': 3.1.4+ '@koromix/koffi-win32-ia32': 3.1.4+ '@koromix/koffi-win32-x64': 3.1.4+@@ -29444,30 +29596,30 @@ snapshots:'@oxc-parser/binding-win32-ia32-msvc': 0.127.0'@oxc-parser/binding-win32-x64-msvc': 0.127.0dependencies:- '@oxc-project/types': 0.141.0+ '@oxc-project/types': 0.142.0optionalDependencies:- '@oxc-parser/binding-android-arm-eabi': 0.141.0- '@oxc-parser/binding-android-arm64': 0.141.0- '@oxc-parser/binding-darwin-arm64': 0.141.0- '@oxc-parser/binding-darwin-x64': 0.141.0- '@oxc-parser/binding-freebsd-x64': 0.141.0- '@oxc-parser/binding-linux-arm-gnueabihf': 0.141.0- '@oxc-parser/binding-linux-arm-musleabihf': 0.141.0- '@oxc-parser/binding-linux-arm64-gnu': 0.141.0- '@oxc-parser/binding-linux-arm64-musl': 0.141.0- '@oxc-parser/binding-linux-ppc64-gnu': 0.141.0- '@oxc-parser/binding-linux-riscv64-gnu': 0.141.0- '@oxc-parser/binding-linux-riscv64-musl': 0.141.0- '@oxc-parser/binding-linux-s390x-gnu': 0.141.0- '@oxc-parser/binding-linux-x64-gnu': 0.141.0- '@oxc-parser/binding-linux-x64-musl': 0.141.0- '@oxc-parser/binding-openharmony-arm64': 0.141.0- '@oxc-parser/binding-wasm32-wasi': 0.141.0- '@oxc-parser/binding-win32-arm64-msvc': 0.141.0- '@oxc-parser/binding-win32-ia32-msvc': 0.141.0- '@oxc-parser/binding-win32-x64-msvc': 0.141.0+ '@oxc-parser/binding-android-arm-eabi': 0.142.0+ '@oxc-parser/binding-android-arm64': 0.142.0+ '@oxc-parser/binding-darwin-arm64': 0.142.0+ '@oxc-parser/binding-darwin-x64': 0.142.0+ '@oxc-parser/binding-freebsd-x64': 0.142.0+ '@oxc-parser/binding-linux-arm-gnueabihf': 0.142.0+ '@oxc-parser/binding-linux-arm-musleabihf': 0.142.0+ '@oxc-parser/binding-linux-arm64-gnu': 0.142.0+ '@oxc-parser/binding-linux-arm64-musl': 0.142.0+ '@oxc-parser/binding-linux-ppc64-gnu': 0.142.0+ '@oxc-parser/binding-linux-riscv64-gnu': 0.142.0+ '@oxc-parser/binding-linux-riscv64-musl': 0.142.0+ '@oxc-parser/binding-linux-s390x-gnu': 0.142.0+ '@oxc-parser/binding-linux-x64-gnu': 0.142.0+ '@oxc-parser/binding-linux-x64-musl': 0.142.0+ '@oxc-parser/binding-openharmony-arm64': 0.142.0+ '@oxc-parser/binding-wasm32-wasi': 0.142.0+ '@oxc-parser/binding-win32-arm64-msvc': 0.142.0+ '@oxc-parser/binding-win32-ia32-msvc': 0.142.0+ '@oxc-parser/binding-win32-x64-msvc': 0.142.0optionalDependencies:@@ -29560,35 +29712,35 @@ snapshots:'@oxfmt/binding-win32-ia32-msvc': 0.45.0'@oxfmt/binding-win32-x64-msvc': 0.45.0dependencies:'@shaderfrog/glsl-parser': 7.0.1'@typescript-eslint/types': 8.65.0eslint-scope: 9.1.2eslint-visitor-keys: 5.0.1- oxc-parser: 0.141.0+ oxc-parser: 0.142.0optionalDependencies:- '@oxlint/binding-android-arm-eabi': 1.74.0- '@oxlint/binding-android-arm64': 1.74.0- '@oxlint/binding-darwin-arm64': 1.74.0- '@oxlint/binding-darwin-x64': 1.74.0- '@oxlint/binding-freebsd-x64': 1.74.0- '@oxlint/binding-linux-arm-gnueabihf': 1.74.0- '@oxlint/binding-linux-arm-musleabihf': 1.74.0- '@oxlint/binding-linux-arm64-gnu': 1.74.0- '@oxlint/binding-linux-arm64-musl': 1.74.0- '@oxlint/binding-linux-ppc64-gnu': 1.74.0- '@oxlint/binding-linux-riscv64-gnu': 1.74.0- '@oxlint/binding-linux-riscv64-musl': 1.74.0- '@oxlint/binding-linux-s390x-gnu': 1.74.0- '@oxlint/binding-linux-x64-gnu': 1.74.0- '@oxlint/binding-linux-x64-musl': 1.74.0- '@oxlint/binding-openharmony-arm64': 1.74.0- '@oxlint/binding-win32-arm64-msvc': 1.74.0- '@oxlint/binding-win32-ia32-msvc': 1.74.0- '@oxlint/binding-win32-x64-msvc': 1.74.0+ '@oxlint/binding-android-arm-eabi': 1.76.0+ '@oxlint/binding-android-arm64': 1.76.0+ '@oxlint/binding-darwin-arm64': 1.76.0+ '@oxlint/binding-darwin-x64': 1.76.0+ '@oxlint/binding-freebsd-x64': 1.76.0+ '@oxlint/binding-linux-arm-gnueabihf': 1.76.0+ '@oxlint/binding-linux-arm-musleabihf': 1.76.0+ '@oxlint/binding-linux-arm64-gnu': 1.76.0+ '@oxlint/binding-linux-arm64-musl': 1.76.0+ '@oxlint/binding-linux-ppc64-gnu': 1.76.0+ '@oxlint/binding-linux-riscv64-gnu': 1.76.0+ '@oxlint/binding-linux-riscv64-musl': 1.76.0+ '@oxlint/binding-linux-s390x-gnu': 1.76.0+ '@oxlint/binding-linux-x64-gnu': 1.76.0+ '@oxlint/binding-linux-x64-musl': 1.76.0+ '@oxlint/binding-openharmony-arm64': 1.76.0+ '@oxlint/binding-win32-arm64-msvc': 1.76.0+ '@oxlint/binding-win32-ia32-msvc': 1.76.0+ '@oxlint/binding-win32-x64-msvc': 1.76.0@@ -30298,14 +30450,15 @@ snapshots:transitivePeerDependencies:- supports-color- [email protected](@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected]):+ [email protected](@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected]):dependencies:+ '@astrojs/compiler': 4.0.0'@babel/code-frame': 7.29.7'@sentry/node': 10.68.0(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))agent-install: 0.0.5conf: 15.1.0confbox: 0.2.4- deslop-js: 0.9.2+ deslop-js: 0.9.3eslint-plugin-react-hooks: 7.1.1([email protected]([email protected]))figures: 6.1.0@@ -30313,8 +30466,8 @@ snapshots:jiti: 2.7.0magicast: 0.5.3oxc-resolver: 11.24.2- oxlint: 1.74.0- oxlint-plugin-react-doctor: 0.9.2+ oxlint: 1.76.0+ oxlint-plugin-react-doctor: 0.9.3prompts: 2.4.2react: 19.2.6typescript: 5.9.3@@ -30616,7 +30769,7 @@ snapshots:preact: 10.29.2prompts: 2.4.2react: 19.2.6- react-doctor: 0.9.2(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ react-doctor: 0.9.3(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])react-dom: 19.2.6([email protected])react-grab: 0.1.50([email protected])optionalDependencies:@@ -32447,7 +32600,37 @@ snapshots:transitivePeerDependencies:- msw- [email protected](@opentelemetry/[email protected])(@types/[email protected])(@vitest/[email protected])([email protected])([email protected](@types/[email protected])([email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])):+ [email protected](@opentelemetry/[email protected])(@types/[email protected])(@vitest/[email protected])([email protected])([email protected](@types/[email protected])([email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])):+ dependencies:+ '@vitest/expect': 4.1.8+ '@vitest/mocker': 4.1.8([email protected](@types/[email protected])([email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))+ '@vitest/pretty-format': 4.1.8+ '@vitest/runner': 4.1.8+ '@vitest/snapshot': 4.1.8+ '@vitest/spy': 4.1.8+ '@vitest/utils': 4.1.8+ es-module-lexer: 2.0.0+ expect-type: 1.3.0+ magic-string: 0.30.21+ obug: 2.1.1+ pathe: 2.0.3+ picomatch: 4.0.3+ std-env: 4.1.0+ tinybench: 2.9.0+ tinyexec: 1.0.2+ tinyglobby: 0.2.15+ tinyrainbow: 3.1.0+ vite: 7.3.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ why-is-node-running: 2.3.0+ optionalDependencies:+ '@opentelemetry/api': 1.9.1+ '@types/node': 20.19.41+ '@vitest/ui': 4.1.8([email protected])+ jsdom: 26.1.0+ transitivePeerDependencies:+ - msw++ [email protected](@opentelemetry/[email protected])(@types/[email protected])(@vitest/[email protected])([email protected])([email protected](@types/[email protected])([email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])):dependencies:'@vitest/expect': 4.1.8'@vitest/mocker': 4.1.8([email protected](@types/[email protected])([email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))@@ -32470,17 +32653,17 @@ snapshots:vite: 7.3.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])why-is-node-running: 2.3.0optionalDependencies:- '@opentelemetry/api': 1.9.0+ '@opentelemetry/api': 1.9.1'@types/node': 22.20.0'@vitest/ui': 4.1.8([email protected])jsdom: 26.1.0transitivePeerDependencies:- msw- [email protected](@opentelemetry/[email protected])(@types/[email protected])(@vitest/[email protected])([email protected])([email protected](@types/[email protected])([email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])):+ [email protected](@opentelemetry/[email protected])(@types/[email protected])(@vitest/[email protected])(@vitest/[email protected])([email protected])([email protected](@types/[email protected])([email protected]))([email protected](@emnapi/[email protected])(@emnapi/[email protected])(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])):dependencies:'@vitest/expect': 4.1.8- '@vitest/mocker': 4.1.8([email protected](@types/[email protected])([email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))+ '@vitest/mocker': 4.1.8([email protected](@types/[email protected])([email protected]))([email protected](@emnapi/[email protected])(@emnapi/[email protected])(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))'@vitest/pretty-format': 4.1.8'@vitest/runner': 4.1.8'@vitest/snapshot': 4.1.8@@ -32497,17 +32680,18 @@ snapshots:tinyexec: 1.0.2tinyglobby: 0.2.15tinyrainbow: 3.1.0- vite: 7.3.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ vite: [email protected](@emnapi/[email protected])(@emnapi/[email protected])(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])why-is-node-running: 2.3.0optionalDependencies:'@opentelemetry/api': 1.9.1- '@types/node': 20.19.41+ '@types/node': 24.12.0+ '@vitest/coverage-v8': 4.1.9([email protected])'@vitest/ui': 4.1.8([email protected])jsdom: 26.1.0transitivePeerDependencies:- msw- [email protected](@opentelemetry/[email protected])(@types/[email protected])(@vitest/[email protected])(@vitest/[email protected])([email protected])([email protected](@types/[email protected])([email protected]))([email protected](@emnapi/[email protected])(@emnapi/[email protected])(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])):+ [email protected](@opentelemetry/[email protected])(@types/[email protected])(@vitest/[email protected])([email protected])([email protected](@types/[email protected])([email protected]))([email protected](@emnapi/[email protected])(@emnapi/[email protected])(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])):dependencies:'@vitest/expect': 4.1.8'@vitest/mocker': 4.1.8([email protected](@types/[email protected])([email protected]))([email protected](@emnapi/[email protected])(@emnapi/[email protected])(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))@@ -32532,7 +32716,6 @@ snapshots:optionalDependencies:'@opentelemetry/api': 1.9.1'@types/node': 24.12.0- '@vitest/coverage-v8': 4.1.9([email protected])'@vitest/ui': 4.1.8([email protected])jsdom: 26.1.0transitivePeerDependencies:diff --git a/products/desktop/pnpm-workspace.yaml b/products/desktop/pnpm-workspace.yamlindex bafc4937cc36..ad934c121f7e 100644--- a/products/desktop/pnpm-workspace.yaml+++ b/products/desktop/pnpm-workspace.yaml@@ -36,6 +36,8 @@ catalog:typescript: ^5.5.0ignoredBuiltDependencies:+ # koffi's loader uses the prebuilt @koromix/koffi-<plat>-<arch> package, never the install-script build+ - koffi- msw- protobufjs