UNPKG

@boundless-oss/atlas

Version:

Atlas - MCP Server for comprehensive startup project management

60 lines 2.52 kB
/** * Local AI Module - 12-Factor MCP Implementation * * This module provides AI-powered code analysis, semantic search, and embeddings * using local processing with SQLite storage for persistence. * * Key Features: * - Semantic code search using local embeddings * - Code similarity detection * - Dependency analysis * - Code change tracking * - Pattern recognition * * 12-Factor Compliance: * Factor 1: Separation of Concerns - Pure function-based tools * Factor 2: Deterministic Execution - Consistent outputs * Factor 3: Stateless Processes - No module-level state * Factor 4: Structured Outputs - JSON Schema validation * Factor 5: Contextual Memory - SQLite persistence * Factor 6: Configuration as Code - Environment-driven config * Factor 7: Contact Humans - Approval for destructive operations * Factor 8: Capabilities-based Authorization - Security layer * Factor 9: Error Self-Healing - Structured error handling * Factor 10: Performance Observability - Metrics and monitoring * Factor 11: Request Context - Full tracing support * Factor 12: Production Infrastructure - Deployment ready */ import { setupLocalAITools } from './tools.js'; export { setupLocalAITools }; export declare const LOCAL_AI_MODULE: { readonly name: "local-ai"; readonly version: "2.0.0"; readonly description: "AI-powered code analysis and semantic search with local processing"; readonly factors: { readonly separationOfConcerns: true; readonly deterministicExecution: true; readonly statelessProcesses: true; readonly structuredOutputs: true; readonly contextualMemory: true; readonly configurationAsCode: true; readonly contactHumans: true; readonly capabilitiesAuth: true; readonly errorSelfHealing: true; readonly performanceObservability: true; readonly requestContext: true; readonly productionInfrastructure: true; }; readonly migration: { readonly from: "file-based"; readonly to: "sqlite"; readonly status: "migrated"; readonly version: "2.0.0"; }; readonly dependencies: { readonly storage: readonly ["ai_embeddings", "ai_indexing_sessions", "ai_search_sessions", "ai_code_changes", "ai_dependency_analyses"]; readonly core: readonly ["tool-framework", "validation", "sqlite-manager"]; readonly optional: readonly []; }; }; //# sourceMappingURL=index.d.ts.map