MCPcopy Create free account
hub / github.com/Houseofmvps/codesight / CodesightConfig

Interface CodesightConfig

src/types.ts:193–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191}
192
193export interface CodesightConfig {
194 /** Disable specific detectors: "routes", "schema", "components", "libs", "config", "middleware", "graph", "graphql", "events" */
195 disableDetectors?: string[];
196 /** Custom route tags: { "billing": ["stripe", "payment"] } */
197 customTags?: Record<string, string[]>;
198 /** Max directory depth (default: 10) */
199 maxDepth?: number;
200 /** Output directory name (default: ".codesight") */
201 outputDir?: string;
202 /** AI tool profile */
203 profile?: "claude-code" | "cursor" | "codex" | "copilot" | "windsurf" | "agents" | "generic";
204 /** Additional ignore patterns (glob-style) */
205 ignorePatterns?: string[];
206 /** Custom route patterns: [{ pattern: "router\\.handle\\(", method: "ALL" }] */
207 customRoutePatterns?: { pattern: string; method?: string }[];
208 /** Blast radius max BFS depth (default: 5) */
209 blastRadiusDepth?: number;
210 /** Hot file threshold: min imports to be "hot" (default: 3) */
211 hotFileThreshold?: number;
212 /** Max output tokens — intelligently trims lower-importance items to fit budget */
213 maxTokens?: number;
214 /** Collapse standard CRUD route groups into single summary lines (default: true) */
215 collapseCrud?: boolean;
216 /** Plugin hooks */
217 plugins?: CodesightPlugin[];
218 /**
219 * Optional language-native AST parsing via user-provided WASM plugins.
220 * Off by default — when unset, all parsing uses codesight's built-in
221 * extractors (behavior is byte-identical to having no WASM support).
222 */
223 nativeAst?: NativeAstConfig;
224 /** Monorepo configuration */
225 monorepo?: MonorepoConfig;
226 /**
227 * Roku only: helper names used in BRS to open a screen/view. Defaults to
228 * ["ShowScreen", "showScreen", "pushScreen", "PushScreen", "NavigateTo",
229 * "navigateTo", "showView", "ShowView"]. Override when your project uses
230 * a different navigation helper convention.
231 */
232 rokuScreenHelpers?: string[];
233}
234
235/**
236 * A native language identifier. Open-ended: a plugin declares the language it

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected