UNPKG

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

35 lines • 1.2 kB
import type { Page } from 'playwright'; import type { DebugSession, RecordedEvent, SessionMetadata, PrivacySettings } from './types.js'; export interface RecorderOptions { bufferSize?: number; privacy?: PrivacySettings; } export declare class DebugSessionRecorder { readonly sessionId: string; private events; private _startTime; private _isRecording; private page; private options; private eventBuffer; private maxBufferSize; private sessionMetadata; constructor(page: Page, options?: RecorderOptions); get isRecording(): boolean; get startTime(): number; startRecording(metadata: SessionMetadata): Promise<void>; private attachBrowserListeners; private attachNetworkListeners; private attachConsoleListeners; private attachErrorListeners; private captureInitialState; private getElementInfo; recordEvent(event: RecordedEvent): void; getEvents(): RecordedEvent[]; filterValue(value: string, fieldType: string): string; filterUrl(url: string): string; private filterHeaders; private filterBody; stopRecording(): Promise<DebugSession>; } //# sourceMappingURL=debug-session-recorder.d.ts.map