Skip to main content
Glama

WebSee MCP Server

by 1AQuantum
index.d.ts2.6 kB
/** * WebSee Source Intelligence Layer * Production-ready browser automation with source tracking * * @packageDocumentation */ import { Page } from 'playwright'; import { SourceMapResolver } from './source-map-resolver.js'; export interface SourceIntelligenceOptions { enableSourceMaps?: boolean; enableComponentTracking?: boolean; enableNetworkTracing?: boolean; enableBuildAnalysis?: boolean; sourceMapCacheSize?: number; projectRoot?: string; } export declare class SourceIntelligenceLayer { private sourceMapResolver; private componentTracker; private networkTracer; private buildManager; private options; constructor(options?: SourceIntelligenceOptions); /** * Initialize all intelligence agents */ initialize(page: Page): Promise<void>; /** * Resolve a minified location to original source */ resolveSourceLocation(url: string, line: number, column: number): Promise<{ file: string; line: number; column: number; content?: string; } | null>; /** * Get component at a specific element */ getComponentAtElement(selector: string): Promise<any>; /** * Get network traces for analysis */ getNetworkTraces(): any[]; /** * Get component tree */ getComponentTree(): Promise<any[]>; /** * Get network traces for a specific URL pattern */ getNetworkTracesForUrl(urlPattern: string): any[]; /** * Find module info for a file */ findBuildModule(filePath: string): any; /** * Get comprehensive intelligence for an error */ getErrorIntelligence(error: Error): Promise<{ originalStack?: string[]; components?: any[]; networkActivity?: any[]; buildInfo?: any; }>; /** * Get summary of all intelligence */ getSummary(): { sourceMaps: { loaded: boolean; cacheSize?: number; }; components: { enabled: boolean; count?: number; }; network: { enabled: boolean; traces?: number; }; build: { enabled: boolean; modules?: number; }; }; /** * Cleanup and destroy all agents */ destroy(): Promise<void>; } export { SourceMapResolver }; export { ComponentTracker } from './component-tracker.js'; export { NetworkTracer } from './network-tracer.js'; export { BuildArtifactManager } from './build-artifact-manager.js'; //# sourceMappingURL=index.d.ts.map

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/1AQuantum/websee-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server