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
44 lines • 1.91 kB
JavaScript
/**
* V2 Multi-Session Registry Types
* Optimized for stateless HTTP architecture with intelligent resource management
*/
// V2 Default configuration values (optimized for HTTP transport)
export const V2_DEFAULT_CONFIG = {
basePort: 8200, // Different from main branch to avoid conflicts
portRangeSize: 5, // Smaller range for HTTP-only sessions
defaultQuotas: {
maxBrowserInstances: 1, // More conservative for stateless sessions
maxMemoryMB: 256, // Lower per-session limit with better sharing
maxConcurrentSessions: 12, // Higher count due to stateless efficiency
maxIdleTimeMinutes: 15, // Faster cleanup for stateless sessions
maxTempDirectorySizeMB: 100,
maxHttpRequestsPerMinute: 300 // V2 specific rate limiting
},
cleanupIntervalMs: 30000, // More frequent cleanup
monitoringIntervalMs: 10000, // More frequent monitoring
tempBaseDirectory: '/tmp/ai-debug-v2',
enableSharedBrowsers: true, // Better resource sharing in V2
httpTransportConfig: {
maxRequestsPerSession: 1000,
sessionTimeoutMs: 900000, // 15 minutes
enableKeepAlive: true,
compressionEnabled: true
},
projectAwareConfig: {
enableFrameworkDetection: true,
enableMemoryOptimization: true,
enableLazyLoading: true
}
};
// V2 Session states for lifecycle management
export var V2SessionLifecycle;
(function (V2SessionLifecycle) {
V2SessionLifecycle["CREATING"] = "creating";
V2SessionLifecycle["FRAMEWORK_DETECTING"] = "framework_detecting";
V2SessionLifecycle["ACTIVE"] = "active";
V2SessionLifecycle["IDLE"] = "idle";
V2SessionLifecycle["SUSPENDED"] = "suspended";
V2SessionLifecycle["CLEANUP"] = "cleanup";
V2SessionLifecycle["TERMINATED"] = "terminated";
})(V2SessionLifecycle || (V2SessionLifecycle = {}));
//# sourceMappingURL=v2-session-types.js.map