/** * Circle-IR loading for the MCP server. * * Wraps circle-ir-ai's analyzer lifecycle: initialize the WASM-backed * analyzer once, walk the code root for supported source files, and run * circle-ir's `analyze` per file. The resulting `CircleIR[]` is the input to * `analyzeSpecGap` (used by the verify/drift tools). * * Mirrors the wiring recipe in cognium-ai's `spec-diff` command, but depends * only on `circle-ir` + `circle-ir-ai` (not the cognium-ai CLI). */ import { type CircleIR } from 'circle-ir'; import { type WalkOptions } from './walk.js'; export interface LoadedCircleIR { /** Absolute path to the analyzed code root. */ codePath: string; /** Per-file circle-ir analysis results. */ results: CircleIR[]; } /** * Walk `codeRoot`, analyze each supported source file, and return the * collected `CircleIR[]` alongside the resolved code path. */ export declare function loadCircleIR(codeRoot: string, options?: WalkOptions): Promise; //# sourceMappingURL=analysis.d.ts.map