The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(desktop): type scanWindowsProcesses rows as strings so tsc accepts both call sites
Austin Pickettfc9349082fd7
diff --git a/apps/desktop/electron/main.ts b/apps/desktop/electron/main.tsindex d07d4541be6..72364b48546 100644--- a/apps/desktop/electron/main.ts+++ b/apps/desktop/electron/main.ts@@ -3695,7 +3695,7 @@ function isShimLocked(shimPath) {// held installation. Selection lives in the pure// venv-holder-select module (ordinal path-prefix, no PowerShell -like// wildcard hazards) so it's testable without Electron.-function scanWindowsProcesses(): Array<{ ProcessId?: unknown; ExecutablePath?: unknown; CommandLine?: unknown }> {+function scanWindowsProcesses(): Array<{ ProcessId?: unknown; ExecutablePath?: string; CommandLine?: string }> {const out = execFileSync('powershell',[@@ -3768,7 +3768,7 @@ function killExternalVenvHolders(updateRoot) {try {holders = scanWindowsProcesses().filter(p =>- isExternalVenvHolder(p?.ExecutablePath as string | undefined, p?.CommandLine as string | undefined, scriptsDir)+ isExternalVenvHolder(p?.ExecutablePath, p?.CommandLine, scriptsDir))} catch {// Best-effort: the shim-lock probe remains the backstop.