Skip to content

The agent that grows with you

fix(desktop): make ARM64 binding guidance version-independent

itsflowniumff19f80f86df
diff --git a/apps/desktop/electron/window-below.ts b/apps/desktop/electron/window-below.ts
index 93bd59801aa..16413050165 100644
--- a/apps/desktop/electron/window-below.ts
+++ b/apps/desktop/electron/window-below.ts
@@ -149,8 +149,8 @@ export const enumerationFailed = <T>(result: EnumerationFailure | T): result is
export function getWindowsFailureReason(detail: string, platform: string, arch: string): string {
if (platform === 'win32' && arch === 'arm64') {
return (
- `${detail}. Window context requires a working win32-arm64 native binding; ` +
- 'get-windows 9.3.0 does not ship one. Use the x64 desktop build under Windows emulation, ' +
+ `${detail}. On Windows ARM64, check that the installed get-windows package includes a working ` +
+ 'win32-arm64 native binding. If that binding is unavailable, use the x64 desktop build under Windows emulation, ' +
'or a build with a matching native binding. This affects both read_window_below and HUD window context.'
)
}
diff --git a/website/docs/user-guide/desktop.md b/website/docs/user-guide/desktop.md
index 678294f0525..3b701a07a91 100644
--- a/website/docs/user-guide/desktop.md
+++ b/website/docs/user-guide/desktop.md
@@ -541,13 +541,13 @@ The remote gateway host is configured per [profile](./profiles.md), so each prof
### Window context unavailable on Windows ARM64
-The ARM64 desktop build's `get-windows` 9.3.0 dependency does not ship a
-`win32-arm64` native binding. Without a working binding, `read_window_below`
-and HUD window context cannot enumerate other apps' windows. The error and
-HUD log include this limitation alongside the underlying failure reason.
+Check that the installed `get-windows` package includes a working
+`win32-arm64` native binding. Without one, `read_window_below` and HUD window
+context cannot enumerate other apps' windows. The error and HUD log preserve
+the underlying failure reason alongside this troubleshooting guidance.
-Use the x64 desktop build under Windows emulation, or a custom build with a
-matching native binding. Changing the agent backend or granting macOS screen
+If the binding is unavailable, use the x64 desktop build under Windows
+emulation, or a custom build with a matching native binding. Changing the agent backend or granting macOS screen
permissions cannot fix a missing Windows binding; enumeration runs on the
computer hosting the desktop app. This diagnostic does not add native ARM64
window enumeration support.