ai-debug-local-mcp
Version:
🎯 ENHANCED AI GUIDANCE v4.1.2: Dramatically improved tool descriptions help AI users choose the right tools instead of 'close enough' options. Ultra-fast keyboard automation (10x speed), universal recording, multi-ecosystem debugging support, and compreh
69 lines • 1.89 kB
TypeScript
/**
* Native Automation Executor
* TypeScript wrapper for ultra-fast CGEvent bridge
*/
export interface NativeAction {
type: 'click' | 'move' | 'drag' | 'key' | 'type' | 'scroll' | 'wait';
x?: number;
y?: number;
button?: 'left' | 'right';
clicks?: number;
from_x?: number;
from_y?: number;
to_x?: number;
to_y?: number;
duration?: number;
key?: string;
modifiers?: string[];
text?: string;
delay_ms?: number;
delta_x?: number;
delta_y?: number;
}
export interface NativeExecutionResult {
success: boolean;
duration_ms: number;
action: string;
details?: any;
error?: string;
}
export declare class NativeAutomationExecutor {
private pythonPath;
private bridgePath;
private isInitialized;
constructor();
/**
* Initialize the native bridge
*/
initialize(): Promise<boolean>;
/**
* Execute a native action using CGEvent bridge
*/
private executeNativeAction;
/**
* Ultra-fast mouse click
*/
click(x: number, y: number, button?: 'left' | 'right', clicks?: number): Promise<NativeExecutionResult>;
/**
* Ultra-fast mouse movement
*/
move(x: number, y: number, duration?: number): Promise<NativeExecutionResult>;
/**
* Ultra-fast keyboard input
*/
key(key: string, modifiers?: string[]): Promise<NativeExecutionResult>;
/**
* Ultra-fast text typing
*/
type(text: string, delayMs?: number): Promise<NativeExecutionResult>;
/**
* Execute batch of native actions
*/
executeBatch(actions: NativeAction[]): Promise<NativeExecutionResult>;
/**
* Compare native vs AppleScript performance
*/
comparePerformance(): Promise<string>;
}
export declare const nativeAutomation: NativeAutomationExecutor;
//# sourceMappingURL=native-automation-executor.d.ts.map