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
47 lines • 1.39 kB
TypeScript
import { Page } from 'playwright';
export interface NextJSConfig {
framework: 'Next.js';
version: string;
rendering: 'App Router' | 'Pages Router';
buildMode: 'development' | 'production';
config: {
reactStrictMode: boolean;
experimental: string[];
images?: {
domains: string[];
};
basePath?: string;
assetPrefix?: string;
i18n?: any;
redirects?: any[];
rewrites?: any[];
};
}
export interface AppRouterInfo {
currentRoute: string;
params: Record<string, string>;
searchParams: Record<string, string>;
layoutNesting: number;
parallelRoutes: string[];
interceptedRoutes: number;
routeGroups: string[];
dynamicSegments: string[];
}
/**
* NextJS Configuration & Setup Module
*
* Handles configuration detection and basic setup for Next.js applications.
* This module provides the foundation for all other NextJS debugging capabilities.
*/
export declare class NextJSConfigSetup {
private page?;
private config?;
private appRouterInfo?;
attachToPage(page: Page): Promise<void>;
getConfig(): Promise<NextJSConfig | null>;
getAppRouterInfo(): Promise<AppRouterInfo | null>;
private detectNextJSConfig;
private detectAppRouterInfo;
private setupBasicMonitoring;
}
//# sourceMappingURL=nextjs-config-setup.d.ts.map