Bypass all three gating layers (compile-time feature flag, subscription check, GrowthBook remote config) and replace Anthropic's private native modules (@ant/computer-use-swift, @ant/computer-use-input) with a Python bridge using pyautogui + mss + pyobjc. Works on any macOS with any Anthropic-protocol compatible model.
13 lines
398 B
TypeScript
13 lines
398 B
TypeScript
/**
|
|
* No-op replacement. The Python bridge does not support global Escape hotkey
|
|
* via CGEventTap. The original implementation required native Swift module
|
|
* for CGEventTap-based system-wide key interception.
|
|
*/
|
|
export function registerEscHotkey(_onEscape: () => void): boolean {
|
|
return false
|
|
}
|
|
|
|
export function unregisterEscHotkey(): void {}
|
|
|
|
export function notifyExpectedEscape(): void {}
|