vibe-coder-mcp
Version:
Production-ready MCP server with complete agent integration, multi-transport support, and comprehensive development automation tools for AI-assisted workflows.
22 lines • 791 B
TypeScript
import { SyntaxNode } from '../parser.js';
export interface Context {
type: string;
node: SyntaxNode;
name?: string;
parent?: Context;
}
export declare class ContextTracker {
private contextStack;
enterContext(type: string, node: SyntaxNode, name?: string): void;
exitContext(): void;
getCurrentContext(): Context | undefined;
getContextHierarchy(): string[];
getContextHierarchyString(separator?: string): string;
isInContext(type: string): boolean;
getNearestContext(type: string): Context | undefined;
getContextsOfType(type: string): Context[];
getContextDepth(): number;
clear(): void;
withContext<T>(type: string, node: SyntaxNode, name: string | undefined, fn: () => T): T;
}
//# sourceMappingURL=contextTracker.d.ts.map