You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
focus_window returned {"focused": false} for a window that was provably foreground — get_active_window returned the identical pid/title/handle immediately before and after. Failed by both pid and title.
The schema advertises handle, the handler destructures it, and it is never passed — focusWindowWin32(args.title, args.pid).
Impact
Highest-severity bug in the server for computer-use work: focus is the precondition for every keystroke. A silently-false focus call means an agent either aborts valid work or, worse, proceeds to type into whatever window actually has focus.
Fix
Honor handle.
Use AttachThreadInput + SetForegroundWindow (plus restore-if-minimized) to defeat the Windows foreground lock.
Treat "already foreground" as success.
On failure, return the actual foreground window in the response instead of a bare false, so the caller can diagnose rather than guess.
Activity