import { MultiDbManager } from '../core/multi-db-manager'; import { EntityReference } from '../models/entity-reference'; import { Evidence } from '../models/evidence'; /** * Bootstrap information for first-time system understanding. * Provides everything an agent needs to start without prior knowledge. */ export interface BootstrapInfo { what_am_i: string; how_do_i_work: string; where_to_start: Array<{ entity: EntityReference; reason: string; }>; how_to_navigate: string; example_queries: string[]; dimensions_overview: Array<{ id: 'X' | 'Y' | 'Z' | 'W' | 'T' | 'V'; name: string; description: string; }>; tools_available: Array<{ name: string; description: string; example: any; }>; evidence?: Evidence; } /** * Bootstrap API - first point of contact for agents without prior knowledge. * Provides system description, entry points, and example queries. */ export declare class BootstrapApi { private dbManager; private selfExplanationApi; private evidenceGrader; private adrApi; private symbolApi; private moduleApi; constructor(dbManager: MultiDbManager); /** * Gets bootstrap information for first-time system understanding. * * @param pluginId Plugin ID * @returns Promise that resolves to bootstrap information */ getBootstrapInfo(pluginId: string): Promise; /** * Generates dynamic example queries based on actual system data: * - Entry Points (module names) * - ADR Titles * - Most common symbol names * - Cluster names * * Falls back to generic queries if no data is available. */ private generateExampleQueries; /** * Extracts module name from file path. * Example: "src/api/bootstrap-api.ts" -> "bootstrap-api" */ private extractModuleName; /** * Extracts topic from ADR title. * Example: "ADR-040: Unified MCP Server" -> "Unified MCP Server" */ private extractTopicFromAdrTitle; /** * Extracts cluster name from cluster ID. * Example: "cluster:src/api" -> "API" */ private extractClusterName; } //# sourceMappingURL=bootstrap-api.d.ts.map