codeseeker 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +388 -0
- package/bin/codeseeker.js +171 -0
- package/dist/cli/analyzers/change-analyzer.d.ts +7 -0
- package/dist/cli/analyzers/change-analyzer.d.ts.map +1 -0
- package/dist/cli/analyzers/change-analyzer.js +22 -0
- package/dist/cli/analyzers/change-analyzer.js.map +1 -0
- package/dist/cli/analyzers/configuration-analyzer.d.ts +7 -0
- package/dist/cli/analyzers/configuration-analyzer.d.ts.map +1 -0
- package/dist/cli/analyzers/configuration-analyzer.js +67 -0
- package/dist/cli/analyzers/configuration-analyzer.js.map +1 -0
- package/dist/cli/analyzers/documentation-analyzer.d.ts +7 -0
- package/dist/cli/analyzers/documentation-analyzer.d.ts.map +1 -0
- package/dist/cli/analyzers/documentation-analyzer.js +59 -0
- package/dist/cli/analyzers/documentation-analyzer.js.map +1 -0
- package/dist/cli/analyzers/project-structure-analyzer.d.ts +7 -0
- package/dist/cli/analyzers/project-structure-analyzer.d.ts.map +1 -0
- package/dist/cli/analyzers/project-structure-analyzer.js +68 -0
- package/dist/cli/analyzers/project-structure-analyzer.js.map +1 -0
- package/dist/cli/codemind-workflow-orchestrator.d.ts +19 -0
- package/dist/cli/codemind-workflow-orchestrator.d.ts.map +1 -0
- package/dist/cli/codemind-workflow-orchestrator.js +26 -0
- package/dist/cli/codemind-workflow-orchestrator.js.map +1 -0
- package/dist/cli/codeseeker-cli.d.ts +156 -0
- package/dist/cli/codeseeker-cli.d.ts.map +1 -0
- package/dist/cli/codeseeker-cli.js +937 -0
- package/dist/cli/codeseeker-cli.js.map +1 -0
- package/dist/cli/codeseeker-workflow-orchestrator.d.ts +19 -0
- package/dist/cli/codeseeker-workflow-orchestrator.d.ts.map +1 -0
- package/dist/cli/codeseeker-workflow-orchestrator.js +26 -0
- package/dist/cli/codeseeker-workflow-orchestrator.js.map +1 -0
- package/dist/cli/commands/base-command-handler.d.ts +31 -0
- package/dist/cli/commands/base-command-handler.d.ts.map +1 -0
- package/dist/cli/commands/base-command-handler.js +110 -0
- package/dist/cli/commands/base-command-handler.js.map +1 -0
- package/dist/cli/commands/command-context.d.ts +27 -0
- package/dist/cli/commands/command-context.d.ts.map +1 -0
- package/dist/cli/commands/command-context.js +8 -0
- package/dist/cli/commands/command-context.js.map +1 -0
- package/dist/cli/commands/command-router.d.ts +135 -0
- package/dist/cli/commands/command-router.d.ts.map +1 -0
- package/dist/cli/commands/command-router.js +497 -0
- package/dist/cli/commands/command-router.js.map +1 -0
- package/dist/cli/commands/handlers/analyze-command-handler.d.ts +99 -0
- package/dist/cli/commands/handlers/analyze-command-handler.d.ts.map +1 -0
- package/dist/cli/commands/handlers/analyze-command-handler.js +704 -0
- package/dist/cli/commands/handlers/analyze-command-handler.js.map +1 -0
- package/dist/cli/commands/handlers/dedup-command-handler.d.ts +10 -0
- package/dist/cli/commands/handlers/dedup-command-handler.d.ts.map +1 -0
- package/dist/cli/commands/handlers/dedup-command-handler.js +19 -0
- package/dist/cli/commands/handlers/dedup-command-handler.js.map +1 -0
- package/dist/cli/commands/handlers/docs-command-handler.d.ts +10 -0
- package/dist/cli/commands/handlers/docs-command-handler.d.ts.map +1 -0
- package/dist/cli/commands/handlers/docs-command-handler.js +19 -0
- package/dist/cli/commands/handlers/docs-command-handler.js.map +1 -0
- package/dist/cli/commands/handlers/infrastructure-setup-handler.d.ts +21 -0
- package/dist/cli/commands/handlers/infrastructure-setup-handler.d.ts.map +1 -0
- package/dist/cli/commands/handlers/infrastructure-setup-handler.js +71 -0
- package/dist/cli/commands/handlers/infrastructure-setup-handler.js.map +1 -0
- package/dist/cli/commands/handlers/install-command-handler.d.ts +80 -0
- package/dist/cli/commands/handlers/install-command-handler.d.ts.map +1 -0
- package/dist/cli/commands/handlers/install-command-handler.js +466 -0
- package/dist/cli/commands/handlers/install-command-handler.js.map +1 -0
- package/dist/cli/commands/handlers/instructions-command-handler.d.ts +10 -0
- package/dist/cli/commands/handlers/instructions-command-handler.d.ts.map +1 -0
- package/dist/cli/commands/handlers/instructions-command-handler.js +19 -0
- package/dist/cli/commands/handlers/instructions-command-handler.js.map +1 -0
- package/dist/cli/commands/handlers/project-command-handler.d.ts +42 -0
- package/dist/cli/commands/handlers/project-command-handler.d.ts.map +1 -0
- package/dist/cli/commands/handlers/project-command-handler.js +257 -0
- package/dist/cli/commands/handlers/project-command-handler.js.map +1 -0
- package/dist/cli/commands/handlers/search-command-handler.d.ts +50 -0
- package/dist/cli/commands/handlers/search-command-handler.d.ts.map +1 -0
- package/dist/cli/commands/handlers/search-command-handler.js +500 -0
- package/dist/cli/commands/handlers/search-command-handler.js.map +1 -0
- package/dist/cli/commands/handlers/setup-command-handler.d.ts +103 -0
- package/dist/cli/commands/handlers/setup-command-handler.d.ts.map +1 -0
- package/dist/cli/commands/handlers/setup-command-handler.js +1135 -0
- package/dist/cli/commands/handlers/setup-command-handler.js.map +1 -0
- package/dist/cli/commands/handlers/solid-command-handler.d.ts +10 -0
- package/dist/cli/commands/handlers/solid-command-handler.d.ts.map +1 -0
- package/dist/cli/commands/handlers/solid-command-handler.js +19 -0
- package/dist/cli/commands/handlers/solid-command-handler.js.map +1 -0
- package/dist/cli/commands/handlers/sync-command-handler.d.ts +10 -0
- package/dist/cli/commands/handlers/sync-command-handler.d.ts.map +1 -0
- package/dist/cli/commands/handlers/sync-command-handler.js +19 -0
- package/dist/cli/commands/handlers/sync-command-handler.js.map +1 -0
- package/dist/cli/commands/handlers/synonyms-command-handler.d.ts +23 -0
- package/dist/cli/commands/handlers/synonyms-command-handler.d.ts.map +1 -0
- package/dist/cli/commands/handlers/synonyms-command-handler.js +201 -0
- package/dist/cli/commands/handlers/synonyms-command-handler.js.map +1 -0
- package/dist/cli/commands/handlers/watcher-command-handler.d.ts +10 -0
- package/dist/cli/commands/handlers/watcher-command-handler.d.ts.map +1 -0
- package/dist/cli/commands/handlers/watcher-command-handler.js +19 -0
- package/dist/cli/commands/handlers/watcher-command-handler.js.map +1 -0
- package/dist/cli/commands/reconcile.d.ts +8 -0
- package/dist/cli/commands/reconcile.d.ts.map +1 -0
- package/dist/cli/commands/reconcile.js +220 -0
- package/dist/cli/commands/reconcile.js.map +1 -0
- package/dist/cli/commands/semantic-search.d.ts +8 -0
- package/dist/cli/commands/semantic-search.d.ts.map +1 -0
- package/dist/cli/commands/semantic-search.js +219 -0
- package/dist/cli/commands/semantic-search.js.map +1 -0
- package/dist/cli/commands/services/claude-intent-analyzer.d.ts +109 -0
- package/dist/cli/commands/services/claude-intent-analyzer.d.ts.map +1 -0
- package/dist/cli/commands/services/claude-intent-analyzer.js +405 -0
- package/dist/cli/commands/services/claude-intent-analyzer.js.map +1 -0
- package/dist/cli/commands/services/context-aware-clarification-service.d.ts +99 -0
- package/dist/cli/commands/services/context-aware-clarification-service.d.ts.map +1 -0
- package/dist/cli/commands/services/context-aware-clarification-service.js +414 -0
- package/dist/cli/commands/services/context-aware-clarification-service.js.map +1 -0
- package/dist/cli/commands/services/context-builder.d.ts +90 -0
- package/dist/cli/commands/services/context-builder.d.ts.map +1 -0
- package/dist/cli/commands/services/context-builder.js +330 -0
- package/dist/cli/commands/services/context-builder.js.map +1 -0
- package/dist/cli/commands/services/graph-analysis-service.d.ts +157 -0
- package/dist/cli/commands/services/graph-analysis-service.d.ts.map +1 -0
- package/dist/cli/commands/services/graph-analysis-service.js +722 -0
- package/dist/cli/commands/services/graph-analysis-service.js.map +1 -0
- package/dist/cli/commands/services/natural-language-processor.d.ts +41 -0
- package/dist/cli/commands/services/natural-language-processor.d.ts.map +1 -0
- package/dist/cli/commands/services/natural-language-processor.js +77 -0
- package/dist/cli/commands/services/natural-language-processor.js.map +1 -0
- package/dist/cli/commands/services/search-quality-metrics.d.ts +85 -0
- package/dist/cli/commands/services/search-quality-metrics.d.ts.map +1 -0
- package/dist/cli/commands/services/search-quality-metrics.js +214 -0
- package/dist/cli/commands/services/search-quality-metrics.js.map +1 -0
- package/dist/cli/commands/services/semantic-search-orchestrator.d.ts +85 -0
- package/dist/cli/commands/services/semantic-search-orchestrator.d.ts.map +1 -0
- package/dist/cli/commands/services/semantic-search-orchestrator.js +331 -0
- package/dist/cli/commands/services/semantic-search-orchestrator.js.map +1 -0
- package/dist/cli/commands/services/task-decomposition-service.d.ts +114 -0
- package/dist/cli/commands/services/task-decomposition-service.d.ts.map +1 -0
- package/dist/cli/commands/services/task-decomposition-service.js +364 -0
- package/dist/cli/commands/services/task-decomposition-service.js.map +1 -0
- package/dist/cli/commands/services/unified-query-analyzer.d.ts +75 -0
- package/dist/cli/commands/services/unified-query-analyzer.d.ts.map +1 -0
- package/dist/cli/commands/services/unified-query-analyzer.js +282 -0
- package/dist/cli/commands/services/unified-query-analyzer.js.map +1 -0
- package/dist/cli/commands/services/user-interaction-service.d.ts +326 -0
- package/dist/cli/commands/services/user-interaction-service.d.ts.map +1 -0
- package/dist/cli/commands/services/user-interaction-service.js +1987 -0
- package/dist/cli/commands/services/user-interaction-service.js.map +1 -0
- package/dist/cli/commands/services/workflow-orchestrator.d.ts +171 -0
- package/dist/cli/commands/services/workflow-orchestrator.d.ts.map +1 -0
- package/dist/cli/commands/services/workflow-orchestrator.js +660 -0
- package/dist/cli/commands/services/workflow-orchestrator.js.map +1 -0
- package/dist/cli/context-optimizer.d.ts +96 -0
- package/dist/cli/context-optimizer.d.ts.map +1 -0
- package/dist/cli/context-optimizer.js +582 -0
- package/dist/cli/context-optimizer.js.map +1 -0
- package/dist/cli/features/code-graph/graph-builder.d.ts +119 -0
- package/dist/cli/features/code-graph/graph-builder.d.ts.map +1 -0
- package/dist/cli/features/code-graph/graph-builder.js +532 -0
- package/dist/cli/features/code-graph/graph-builder.js.map +1 -0
- package/dist/cli/features/compilation/verifier.d.ts +69 -0
- package/dist/cli/features/compilation/verifier.d.ts.map +1 -0
- package/dist/cli/features/compilation/verifier.js +431 -0
- package/dist/cli/features/compilation/verifier.js.map +1 -0
- package/dist/cli/features/database/database-documentation-generator.d.ts +103 -0
- package/dist/cli/features/database/database-documentation-generator.d.ts.map +1 -0
- package/dist/cli/features/database/database-documentation-generator.js +386 -0
- package/dist/cli/features/database/database-documentation-generator.js.map +1 -0
- package/dist/cli/features/database/database-schema-tool.d.ts +160 -0
- package/dist/cli/features/database/database-schema-tool.d.ts.map +1 -0
- package/dist/cli/features/database/database-schema-tool.js +437 -0
- package/dist/cli/features/database/database-schema-tool.js.map +1 -0
- package/dist/cli/features/documentation/map-analyzer.d.ts +95 -0
- package/dist/cli/features/documentation/map-analyzer.d.ts.map +1 -0
- package/dist/cli/features/documentation/map-analyzer.js +320 -0
- package/dist/cli/features/documentation/map-analyzer.js.map +1 -0
- package/dist/cli/features/duplication/detector.d.ts +28 -0
- package/dist/cli/features/duplication/detector.d.ts.map +1 -0
- package/dist/cli/features/duplication/detector.js +228 -0
- package/dist/cli/features/duplication/detector.js.map +1 -0
- package/dist/cli/features/duplication/interfaces/index.d.ts +134 -0
- package/dist/cli/features/duplication/interfaces/index.d.ts.map +1 -0
- package/dist/cli/features/duplication/interfaces/index.js +31 -0
- package/dist/cli/features/duplication/interfaces/index.js.map +1 -0
- package/dist/cli/features/duplication/services/duplication-detection-service.d.ts +27 -0
- package/dist/cli/features/duplication/services/duplication-detection-service.d.ts.map +1 -0
- package/dist/cli/features/duplication/services/duplication-detection-service.js +316 -0
- package/dist/cli/features/duplication/services/duplication-detection-service.js.map +1 -0
- package/dist/cli/features/duplication/services/file-analysis-service.d.ts +24 -0
- package/dist/cli/features/duplication/services/file-analysis-service.d.ts.map +1 -0
- package/dist/cli/features/duplication/services/file-analysis-service.js +340 -0
- package/dist/cli/features/duplication/services/file-analysis-service.js.map +1 -0
- package/dist/cli/features/duplication/services/refactoring-advisor-service.d.ts +33 -0
- package/dist/cli/features/duplication/services/refactoring-advisor-service.d.ts.map +1 -0
- package/dist/cli/features/duplication/services/refactoring-advisor-service.js +378 -0
- package/dist/cli/features/duplication/services/refactoring-advisor-service.js.map +1 -0
- package/dist/cli/features/duplication/services/statistics-service.d.ts +24 -0
- package/dist/cli/features/duplication/services/statistics-service.d.ts.map +1 -0
- package/dist/cli/features/duplication/services/statistics-service.js +285 -0
- package/dist/cli/features/duplication/services/statistics-service.js.map +1 -0
- package/dist/cli/features/semantic-graph/semantic-graph-tool.d.ts +38 -0
- package/dist/cli/features/semantic-graph/semantic-graph-tool.d.ts.map +1 -0
- package/dist/cli/features/semantic-graph/semantic-graph-tool.js +340 -0
- package/dist/cli/features/semantic-graph/semantic-graph-tool.js.map +1 -0
- package/dist/cli/features/solid-principles/analyzer.d.ts +40 -0
- package/dist/cli/features/solid-principles/analyzer.d.ts.map +1 -0
- package/dist/cli/features/solid-principles/analyzer.js +163 -0
- package/dist/cli/features/solid-principles/analyzer.js.map +1 -0
- package/dist/cli/features/tree-navigation/navigator.d.ts +23 -0
- package/dist/cli/features/tree-navigation/navigator.d.ts.map +1 -0
- package/dist/cli/features/tree-navigation/navigator.js +94 -0
- package/dist/cli/features/tree-navigation/navigator.js.map +1 -0
- package/dist/cli/git/change-detector.d.ts +61 -0
- package/dist/cli/git/change-detector.d.ts.map +1 -0
- package/dist/cli/git/change-detector.js +380 -0
- package/dist/cli/git/change-detector.js.map +1 -0
- package/dist/cli/git/git-commit-utils.d.ts +12 -0
- package/dist/cli/git/git-commit-utils.d.ts.map +1 -0
- package/dist/cli/git/git-commit-utils.js +210 -0
- package/dist/cli/git/git-commit-utils.js.map +1 -0
- package/dist/cli/git/git-database-utils.d.ts +10 -0
- package/dist/cli/git/git-database-utils.d.ts.map +1 -0
- package/dist/cli/git/git-database-utils.js +105 -0
- package/dist/cli/git/git-database-utils.js.map +1 -0
- package/dist/cli/git/git-integration.d.ts +53 -0
- package/dist/cli/git/git-integration.d.ts.map +1 -0
- package/dist/cli/git/git-integration.js +152 -0
- package/dist/cli/git/git-integration.js.map +1 -0
- package/dist/cli/git/in-memory-git-store.d.ts +10 -0
- package/dist/cli/git/in-memory-git-store.d.ts.map +1 -0
- package/dist/cli/git/in-memory-git-store.js +35 -0
- package/dist/cli/git/in-memory-git-store.js.map +1 -0
- package/dist/cli/git/interfaces.d.ts +82 -0
- package/dist/cli/git/interfaces.d.ts.map +1 -0
- package/dist/cli/git/interfaces.js +7 -0
- package/dist/cli/git/interfaces.js.map +1 -0
- package/dist/cli/git/services/git-analysis-service.d.ts +21 -0
- package/dist/cli/git/services/git-analysis-service.d.ts.map +1 -0
- package/dist/cli/git/services/git-analysis-service.js +169 -0
- package/dist/cli/git/services/git-analysis-service.js.map +1 -0
- package/dist/cli/git/services/git-autocommit-service.d.ts +19 -0
- package/dist/cli/git/services/git-autocommit-service.d.ts.map +1 -0
- package/dist/cli/git/services/git-autocommit-service.js +205 -0
- package/dist/cli/git/services/git-autocommit-service.js.map +1 -0
- package/dist/cli/git/services/git-database-service.d.ts +23 -0
- package/dist/cli/git/services/git-database-service.d.ts.map +1 -0
- package/dist/cli/git/services/git-database-service.js +255 -0
- package/dist/cli/git/services/git-database-service.js.map +1 -0
- package/dist/cli/git/services/git-operations-service.d.ts +22 -0
- package/dist/cli/git/services/git-operations-service.d.ts.map +1 -0
- package/dist/cli/git/services/git-operations-service.js +237 -0
- package/dist/cli/git/services/git-operations-service.js.map +1 -0
- package/dist/cli/integration/context-builder.d.ts +8 -0
- package/dist/cli/integration/context-builder.d.ts.map +1 -0
- package/dist/cli/integration/context-builder.js +103 -0
- package/dist/cli/integration/context-builder.js.map +1 -0
- package/dist/cli/integration/knowledge-base-updater.d.ts +12 -0
- package/dist/cli/integration/knowledge-base-updater.d.ts.map +1 -0
- package/dist/cli/integration/knowledge-base-updater.js +156 -0
- package/dist/cli/integration/knowledge-base-updater.js.map +1 -0
- package/dist/cli/integration/result-improver.d.ts +7 -0
- package/dist/cli/integration/result-improver.d.ts.map +1 -0
- package/dist/cli/integration/result-improver.js +26 -0
- package/dist/cli/integration/result-improver.js.map +1 -0
- package/dist/cli/integration/result-integrator.d.ts +7 -0
- package/dist/cli/integration/result-integrator.d.ts.map +1 -0
- package/dist/cli/integration/result-integrator.js +31 -0
- package/dist/cli/integration/result-integrator.js.map +1 -0
- package/dist/cli/integration/task-decomposer.d.ts +10 -0
- package/dist/cli/integration/task-decomposer.d.ts.map +1 -0
- package/dist/cli/integration/task-decomposer.js +32 -0
- package/dist/cli/integration/task-decomposer.js.map +1 -0
- package/dist/cli/integration/task-executor.d.ts +12 -0
- package/dist/cli/integration/task-executor.d.ts.map +1 -0
- package/dist/cli/integration/task-executor.js +76 -0
- package/dist/cli/integration/task-executor.js.map +1 -0
- package/dist/cli/knowledge/analyzers/interfaces.d.ts +55 -0
- package/dist/cli/knowledge/analyzers/interfaces.d.ts.map +1 -0
- package/dist/cli/knowledge/analyzers/interfaces.js +8 -0
- package/dist/cli/knowledge/analyzers/interfaces.js.map +1 -0
- package/dist/cli/knowledge/analyzers/semantic-analyzer.d.ts +27 -0
- package/dist/cli/knowledge/analyzers/semantic-analyzer.d.ts.map +1 -0
- package/dist/cli/knowledge/analyzers/semantic-analyzer.js +227 -0
- package/dist/cli/knowledge/analyzers/semantic-analyzer.js.map +1 -0
- package/dist/cli/knowledge/analyzers/services/ast-analysis-service.d.ts +23 -0
- package/dist/cli/knowledge/analyzers/services/ast-analysis-service.d.ts.map +1 -0
- package/dist/cli/knowledge/analyzers/services/ast-analysis-service.js +137 -0
- package/dist/cli/knowledge/analyzers/services/ast-analysis-service.js.map +1 -0
- package/dist/cli/knowledge/analyzers/services/file-discovery-service.d.ts +15 -0
- package/dist/cli/knowledge/analyzers/services/file-discovery-service.d.ts.map +1 -0
- package/dist/cli/knowledge/analyzers/services/file-discovery-service.js +110 -0
- package/dist/cli/knowledge/analyzers/services/file-discovery-service.js.map +1 -0
- package/dist/cli/knowledge/analyzers/services/pattern-detection-service.d.ts +21 -0
- package/dist/cli/knowledge/analyzers/services/pattern-detection-service.d.ts.map +1 -0
- package/dist/cli/knowledge/analyzers/services/pattern-detection-service.js +190 -0
- package/dist/cli/knowledge/analyzers/services/pattern-detection-service.js.map +1 -0
- package/dist/cli/knowledge/graph/knowledge-graph.d.ts +109 -0
- package/dist/cli/knowledge/graph/knowledge-graph.d.ts.map +1 -0
- package/dist/cli/knowledge/graph/knowledge-graph.js +281 -0
- package/dist/cli/knowledge/graph/knowledge-graph.js.map +1 -0
- package/dist/cli/knowledge/graph/managers/graph-mutation-manager.d.ts +69 -0
- package/dist/cli/knowledge/graph/managers/graph-mutation-manager.d.ts.map +1 -0
- package/dist/cli/knowledge/graph/managers/graph-mutation-manager.js +445 -0
- package/dist/cli/knowledge/graph/managers/graph-mutation-manager.js.map +1 -0
- package/dist/cli/knowledge/graph/managers/graph-query-manager.d.ts +86 -0
- package/dist/cli/knowledge/graph/managers/graph-query-manager.d.ts.map +1 -0
- package/dist/cli/knowledge/graph/managers/graph-query-manager.js +306 -0
- package/dist/cli/knowledge/graph/managers/graph-query-manager.js.map +1 -0
- package/dist/cli/knowledge/graph/managers/graph-state-manager.d.ts +70 -0
- package/dist/cli/knowledge/graph/managers/graph-state-manager.d.ts.map +1 -0
- package/dist/cli/knowledge/graph/managers/graph-state-manager.js +249 -0
- package/dist/cli/knowledge/graph/managers/graph-state-manager.js.map +1 -0
- package/dist/cli/knowledge/graph/managers/graph-traversal-manager.d.ts +72 -0
- package/dist/cli/knowledge/graph/managers/graph-traversal-manager.d.ts.map +1 -0
- package/dist/cli/knowledge/graph/managers/graph-traversal-manager.js +414 -0
- package/dist/cli/knowledge/graph/managers/graph-traversal-manager.js.map +1 -0
- package/dist/cli/knowledge/graph/services/architectural-insight-detector.d.ts +43 -0
- package/dist/cli/knowledge/graph/services/architectural-insight-detector.d.ts.map +1 -0
- package/dist/cli/knowledge/graph/services/architectural-insight-detector.js +536 -0
- package/dist/cli/knowledge/graph/services/architectural-insight-detector.js.map +1 -0
- package/dist/cli/knowledge/graph/services/graph-analyzer.d.ts +24 -0
- package/dist/cli/knowledge/graph/services/graph-analyzer.d.ts.map +1 -0
- package/dist/cli/knowledge/graph/services/graph-analyzer.js +262 -0
- package/dist/cli/knowledge/graph/services/graph-analyzer.js.map +1 -0
- package/dist/cli/knowledge/graph/services/graph-database-service.d.ts +61 -0
- package/dist/cli/knowledge/graph/services/graph-database-service.d.ts.map +1 -0
- package/dist/cli/knowledge/graph/services/graph-database-service.js +593 -0
- package/dist/cli/knowledge/graph/services/graph-database-service.js.map +1 -0
- package/dist/cli/knowledge/graph/services/graph-utility-service.d.ts +41 -0
- package/dist/cli/knowledge/graph/services/graph-utility-service.d.ts.map +1 -0
- package/dist/cli/knowledge/graph/services/graph-utility-service.js +208 -0
- package/dist/cli/knowledge/graph/services/graph-utility-service.js.map +1 -0
- package/dist/cli/knowledge/graph/types.d.ts +272 -0
- package/dist/cli/knowledge/graph/types.d.ts.map +1 -0
- package/dist/cli/knowledge/graph/types.js +127 -0
- package/dist/cli/knowledge/graph/types.js.map +1 -0
- package/dist/cli/knowledge/repository/knowledge-repository.d.ts +121 -0
- package/dist/cli/knowledge/repository/knowledge-repository.d.ts.map +1 -0
- package/dist/cli/knowledge/repository/knowledge-repository.js +642 -0
- package/dist/cli/knowledge/repository/knowledge-repository.js.map +1 -0
- package/dist/cli/managers/claude-code-forwarder.d.ts +68 -0
- package/dist/cli/managers/claude-code-forwarder.d.ts.map +1 -0
- package/dist/cli/managers/claude-code-forwarder.js +214 -0
- package/dist/cli/managers/claude-code-forwarder.js.map +1 -0
- package/dist/cli/managers/command-processor.d.ts +75 -0
- package/dist/cli/managers/command-processor.d.ts.map +1 -0
- package/dist/cli/managers/command-processor.js +117 -0
- package/dist/cli/managers/command-processor.js.map +1 -0
- package/dist/cli/managers/database-manager.d.ts +147 -0
- package/dist/cli/managers/database-manager.d.ts.map +1 -0
- package/dist/cli/managers/database-manager.js +218 -0
- package/dist/cli/managers/database-manager.js.map +1 -0
- package/dist/cli/managers/interrupt-manager.d.ts +75 -0
- package/dist/cli/managers/interrupt-manager.d.ts.map +1 -0
- package/dist/cli/managers/interrupt-manager.js +197 -0
- package/dist/cli/managers/interrupt-manager.js.map +1 -0
- package/dist/cli/managers/project-manager.d.ts +82 -0
- package/dist/cli/managers/project-manager.d.ts.map +1 -0
- package/dist/cli/managers/project-manager.js +257 -0
- package/dist/cli/managers/project-manager.js.map +1 -0
- package/dist/cli/managers/user-interface.d.ts +74 -0
- package/dist/cli/managers/user-interface.d.ts.map +1 -0
- package/dist/cli/managers/user-interface.js +529 -0
- package/dist/cli/managers/user-interface.js.map +1 -0
- package/dist/cli/managers/workflow-orchestration-adapter.d.ts +24 -0
- package/dist/cli/managers/workflow-orchestration-adapter.d.ts.map +1 -0
- package/dist/cli/managers/workflow-orchestration-adapter.js +136 -0
- package/dist/cli/managers/workflow-orchestration-adapter.js.map +1 -0
- package/dist/cli/orchestration/cli-orchestrator.d.ts +92 -0
- package/dist/cli/orchestration/cli-orchestrator.d.ts.map +1 -0
- package/dist/cli/orchestration/cli-orchestrator.js +195 -0
- package/dist/cli/orchestration/cli-orchestrator.js.map +1 -0
- package/dist/cli/quality/compilation-checker.d.ts +13 -0
- package/dist/cli/quality/compilation-checker.d.ts.map +1 -0
- package/dist/cli/quality/compilation-checker.js +78 -0
- package/dist/cli/quality/compilation-checker.js.map +1 -0
- package/dist/cli/quality/interfaces/index.d.ts +104 -0
- package/dist/cli/quality/interfaces/index.d.ts.map +1 -0
- package/dist/cli/quality/interfaces/index.js +7 -0
- package/dist/cli/quality/interfaces/index.js.map +1 -0
- package/dist/cli/quality/interfaces.d.ts +79 -0
- package/dist/cli/quality/interfaces.d.ts.map +1 -0
- package/dist/cli/quality/interfaces.js +7 -0
- package/dist/cli/quality/interfaces.js.map +1 -0
- package/dist/cli/quality/quality-orchestrator.d.ts +19 -0
- package/dist/cli/quality/quality-orchestrator.d.ts.map +1 -0
- package/dist/cli/quality/quality-orchestrator.js +109 -0
- package/dist/cli/quality/quality-orchestrator.js.map +1 -0
- package/dist/cli/quality/services/architecture-service.d.ts +17 -0
- package/dist/cli/quality/services/architecture-service.d.ts.map +1 -0
- package/dist/cli/quality/services/architecture-service.js +267 -0
- package/dist/cli/quality/services/architecture-service.js.map +1 -0
- package/dist/cli/quality/services/compilation-service.d.ts +16 -0
- package/dist/cli/quality/services/compilation-service.d.ts.map +1 -0
- package/dist/cli/quality/services/compilation-service.js +177 -0
- package/dist/cli/quality/services/compilation-service.js.map +1 -0
- package/dist/cli/quality/services/quality-score-calculator.d.ts +12 -0
- package/dist/cli/quality/services/quality-score-calculator.d.ts.map +1 -0
- package/dist/cli/quality/services/quality-score-calculator.js +120 -0
- package/dist/cli/quality/services/quality-score-calculator.js.map +1 -0
- package/dist/cli/quality/services/security-service.d.ts +15 -0
- package/dist/cli/quality/services/security-service.d.ts.map +1 -0
- package/dist/cli/quality/services/security-service.js +214 -0
- package/dist/cli/quality/services/security-service.js.map +1 -0
- package/dist/cli/quality/services/testing-service.d.ts +19 -0
- package/dist/cli/quality/services/testing-service.d.ts.map +1 -0
- package/dist/cli/quality/services/testing-service.js +251 -0
- package/dist/cli/quality/services/testing-service.js.map +1 -0
- package/dist/cli/quality/test-runner.d.ts +15 -0
- package/dist/cli/quality/test-runner.d.ts.map +1 -0
- package/dist/cli/quality/test-runner.js +148 -0
- package/dist/cli/quality/test-runner.js.map +1 -0
- package/dist/cli/quality-checker.d.ts +41 -0
- package/dist/cli/quality-checker.d.ts.map +1 -0
- package/dist/cli/quality-checker.js +216 -0
- package/dist/cli/quality-checker.js.map +1 -0
- package/dist/cli/scripts/start-tool-api.d.ts +7 -0
- package/dist/cli/scripts/start-tool-api.d.ts.map +1 -0
- package/dist/cli/scripts/start-tool-api.js +44 -0
- package/dist/cli/scripts/start-tool-api.js.map +1 -0
- package/dist/cli/services/analysis/coding-patterns-analyzer.d.ts +78 -0
- package/dist/cli/services/analysis/coding-patterns-analyzer.d.ts.map +1 -0
- package/dist/cli/services/analysis/coding-patterns-analyzer.js +588 -0
- package/dist/cli/services/analysis/coding-patterns-analyzer.js.map +1 -0
- package/dist/cli/services/analysis/coding-standards-generator.d.ts +66 -0
- package/dist/cli/services/analysis/coding-standards-generator.d.ts.map +1 -0
- package/dist/cli/services/analysis/coding-standards-generator.js +223 -0
- package/dist/cli/services/analysis/coding-standards-generator.js.map +1 -0
- package/dist/cli/services/analysis/deduplication/code-consolidation-handler.d.ts +70 -0
- package/dist/cli/services/analysis/deduplication/code-consolidation-handler.d.ts.map +1 -0
- package/dist/cli/services/analysis/deduplication/code-consolidation-handler.js +326 -0
- package/dist/cli/services/analysis/deduplication/code-consolidation-handler.js.map +1 -0
- package/dist/cli/services/analysis/deduplication/dedup-detector.d.ts +77 -0
- package/dist/cli/services/analysis/deduplication/dedup-detector.d.ts.map +1 -0
- package/dist/cli/services/analysis/deduplication/dedup-detector.js +302 -0
- package/dist/cli/services/analysis/deduplication/dedup-detector.js.map +1 -0
- package/dist/cli/services/analysis/deduplication/deduplication-service.d.ts +107 -0
- package/dist/cli/services/analysis/deduplication/deduplication-service.d.ts.map +1 -0
- package/dist/cli/services/analysis/deduplication/deduplication-service.js +380 -0
- package/dist/cli/services/analysis/deduplication/deduplication-service.js.map +1 -0
- package/dist/cli/services/analysis/deduplication/duplicate-code-detector.d.ts +100 -0
- package/dist/cli/services/analysis/deduplication/duplicate-code-detector.d.ts.map +1 -0
- package/dist/cli/services/analysis/deduplication/duplicate-code-detector.js +406 -0
- package/dist/cli/services/analysis/deduplication/duplicate-code-detector.js.map +1 -0
- package/dist/cli/services/analysis/deduplication/hash-change-detector.d.ts +57 -0
- package/dist/cli/services/analysis/deduplication/hash-change-detector.d.ts.map +1 -0
- package/dist/cli/services/analysis/deduplication/hash-change-detector.js +185 -0
- package/dist/cli/services/analysis/deduplication/hash-change-detector.js.map +1 -0
- package/dist/cli/services/analysis/solid/solid-analyzer-service.d.ts +87 -0
- package/dist/cli/services/analysis/solid/solid-analyzer-service.d.ts.map +1 -0
- package/dist/cli/services/analysis/solid/solid-analyzer-service.js +426 -0
- package/dist/cli/services/analysis/solid/solid-analyzer-service.js.map +1 -0
- package/dist/cli/services/analysis/user-intentions/assumption-detector.d.ts +76 -0
- package/dist/cli/services/analysis/user-intentions/assumption-detector.d.ts.map +1 -0
- package/dist/cli/services/analysis/user-intentions/assumption-detector.js +394 -0
- package/dist/cli/services/analysis/user-intentions/assumption-detector.js.map +1 -0
- package/dist/cli/services/analysis/user-intentions/intent-analyzer.d.ts +41 -0
- package/dist/cli/services/analysis/user-intentions/intent-analyzer.d.ts.map +1 -0
- package/dist/cli/services/analysis/user-intentions/intent-analyzer.js +257 -0
- package/dist/cli/services/analysis/user-intentions/intent-analyzer.js.map +1 -0
- package/dist/cli/services/analysis/user-intentions/intention-clarification-service.d.ts +73 -0
- package/dist/cli/services/analysis/user-intentions/intention-clarification-service.d.ts.map +1 -0
- package/dist/cli/services/analysis/user-intentions/intention-clarification-service.js +246 -0
- package/dist/cli/services/analysis/user-intentions/intention-clarification-service.js.map +1 -0
- package/dist/cli/services/analysis/user-intentions/llm-intention-detector.d.ts +64 -0
- package/dist/cli/services/analysis/user-intentions/llm-intention-detector.d.ts.map +1 -0
- package/dist/cli/services/analysis/user-intentions/llm-intention-detector.js +269 -0
- package/dist/cli/services/analysis/user-intentions/llm-intention-detector.js.map +1 -0
- package/dist/cli/services/analysis/user-intentions/user-clarification-service.d.ts +52 -0
- package/dist/cli/services/analysis/user-intentions/user-clarification-service.d.ts.map +1 -0
- package/dist/cli/services/analysis/user-intentions/user-clarification-service.js +239 -0
- package/dist/cli/services/analysis/user-intentions/user-clarification-service.js.map +1 -0
- package/dist/cli/services/claude/claude-code-executor.d.ts +37 -0
- package/dist/cli/services/claude/claude-code-executor.d.ts.map +1 -0
- package/dist/cli/services/claude/claude-code-executor.js +190 -0
- package/dist/cli/services/claude/claude-code-executor.js.map +1 -0
- package/dist/cli/services/data/code-parsing/file-parser.d.ts +27 -0
- package/dist/cli/services/data/code-parsing/file-parser.d.ts.map +1 -0
- package/dist/cli/services/data/code-parsing/file-parser.js +336 -0
- package/dist/cli/services/data/code-parsing/file-parser.js.map +1 -0
- package/dist/cli/services/data/code-parsing/interfaces/index.d.ts +102 -0
- package/dist/cli/services/data/code-parsing/interfaces/index.d.ts.map +1 -0
- package/dist/cli/services/data/code-parsing/interfaces/index.js +7 -0
- package/dist/cli/services/data/code-parsing/interfaces/index.js.map +1 -0
- package/dist/cli/services/data/code-parsing/interfaces.d.ts +77 -0
- package/dist/cli/services/data/code-parsing/interfaces.d.ts.map +1 -0
- package/dist/cli/services/data/code-parsing/interfaces.js +7 -0
- package/dist/cli/services/data/code-parsing/interfaces.js.map +1 -0
- package/dist/cli/services/data/code-parsing/relationship-analyzer.d.ts +13 -0
- package/dist/cli/services/data/code-parsing/relationship-analyzer.d.ts.map +1 -0
- package/dist/cli/services/data/code-parsing/relationship-analyzer.js +118 -0
- package/dist/cli/services/data/code-parsing/relationship-analyzer.js.map +1 -0
- package/dist/cli/services/data/code-parsing/services/file-parsing-service.d.ts +21 -0
- package/dist/cli/services/data/code-parsing/services/file-parsing-service.d.ts.map +1 -0
- package/dist/cli/services/data/code-parsing/services/file-parsing-service.js +394 -0
- package/dist/cli/services/data/code-parsing/services/file-parsing-service.js.map +1 -0
- package/dist/cli/services/data/code-parsing/services/graph-population-service.d.ts +21 -0
- package/dist/cli/services/data/code-parsing/services/graph-population-service.d.ts.map +1 -0
- package/dist/cli/services/data/code-parsing/services/graph-population-service.js +426 -0
- package/dist/cli/services/data/code-parsing/services/graph-population-service.js.map +1 -0
- package/dist/cli/services/data/code-parsing/services/project-structure-service.d.ts +33 -0
- package/dist/cli/services/data/code-parsing/services/project-structure-service.d.ts.map +1 -0
- package/dist/cli/services/data/code-parsing/services/project-structure-service.js +310 -0
- package/dist/cli/services/data/code-parsing/services/project-structure-service.js.map +1 -0
- package/dist/cli/services/data/code-relationship-parser.d.ts +58 -0
- package/dist/cli/services/data/code-relationship-parser.d.ts.map +1 -0
- package/dist/cli/services/data/code-relationship-parser.js +204 -0
- package/dist/cli/services/data/code-relationship-parser.js.map +1 -0
- package/dist/cli/services/data/content-processing/content-processor.d.ts +141 -0
- package/dist/cli/services/data/content-processing/content-processor.d.ts.map +1 -0
- package/dist/cli/services/data/content-processing/content-processor.js +661 -0
- package/dist/cli/services/data/content-processing/content-processor.js.map +1 -0
- package/dist/cli/services/data/database/postgresql-initializer.d.ts +67 -0
- package/dist/cli/services/data/database/postgresql-initializer.d.ts.map +1 -0
- package/dist/cli/services/data/database/postgresql-initializer.js +612 -0
- package/dist/cli/services/data/database/postgresql-initializer.js.map +1 -0
- package/dist/cli/services/data/documentation-service.d.ts +123 -0
- package/dist/cli/services/data/documentation-service.d.ts.map +1 -0
- package/dist/cli/services/data/documentation-service.js +531 -0
- package/dist/cli/services/data/documentation-service.js.map +1 -0
- package/dist/cli/services/data/embedding/embedding-service.d.ts +67 -0
- package/dist/cli/services/data/embedding/embedding-service.d.ts.map +1 -0
- package/dist/cli/services/data/embedding/embedding-service.js +258 -0
- package/dist/cli/services/data/embedding/embedding-service.js.map +1 -0
- package/dist/cli/services/data/embedding/interfaces.d.ts +104 -0
- package/dist/cli/services/data/embedding/interfaces.d.ts.map +1 -0
- package/dist/cli/services/data/embedding/interfaces.js +8 -0
- package/dist/cli/services/data/embedding/interfaces.js.map +1 -0
- package/dist/cli/services/data/embedding/providers/local-provider.d.ts +15 -0
- package/dist/cli/services/data/embedding/providers/local-provider.d.ts.map +1 -0
- package/dist/cli/services/data/embedding/providers/local-provider.js +99 -0
- package/dist/cli/services/data/embedding/providers/local-provider.js.map +1 -0
- package/dist/cli/services/data/embedding/providers/openai-provider.d.ts +16 -0
- package/dist/cli/services/data/embedding/providers/openai-provider.d.ts.map +1 -0
- package/dist/cli/services/data/embedding/providers/openai-provider.js +70 -0
- package/dist/cli/services/data/embedding/providers/openai-provider.js.map +1 -0
- package/dist/cli/services/data/embedding/providers/xenova-provider.d.ts +17 -0
- package/dist/cli/services/data/embedding/providers/xenova-provider.d.ts.map +1 -0
- package/dist/cli/services/data/embedding/providers/xenova-provider.js +95 -0
- package/dist/cli/services/data/embedding/providers/xenova-provider.js.map +1 -0
- package/dist/cli/services/data/embedding/services/file-processor.d.ts +20 -0
- package/dist/cli/services/data/embedding/services/file-processor.d.ts.map +1 -0
- package/dist/cli/services/data/embedding/services/file-processor.js +306 -0
- package/dist/cli/services/data/embedding/services/file-processor.js.map +1 -0
- package/dist/cli/services/data/semantic-graph/builders/node-builder.d.ts +54 -0
- package/dist/cli/services/data/semantic-graph/builders/node-builder.d.ts.map +1 -0
- package/dist/cli/services/data/semantic-graph/builders/node-builder.js +209 -0
- package/dist/cli/services/data/semantic-graph/builders/node-builder.js.map +1 -0
- package/dist/cli/services/data/semantic-graph/builders/relationship-builder.d.ts +61 -0
- package/dist/cli/services/data/semantic-graph/builders/relationship-builder.d.ts.map +1 -0
- package/dist/cli/services/data/semantic-graph/builders/relationship-builder.js +316 -0
- package/dist/cli/services/data/semantic-graph/builders/relationship-builder.js.map +1 -0
- package/dist/cli/services/data/semantic-graph/claude-code-proxy.d.ts +43 -0
- package/dist/cli/services/data/semantic-graph/claude-code-proxy.d.ts.map +1 -0
- package/dist/cli/services/data/semantic-graph/claude-code-proxy.js +296 -0
- package/dist/cli/services/data/semantic-graph/claude-code-proxy.js.map +1 -0
- package/dist/cli/services/data/semantic-graph/code-relationship-orchestrator.d.ts +63 -0
- package/dist/cli/services/data/semantic-graph/code-relationship-orchestrator.d.ts.map +1 -0
- package/dist/cli/services/data/semantic-graph/code-relationship-orchestrator.js +340 -0
- package/dist/cli/services/data/semantic-graph/code-relationship-orchestrator.js.map +1 -0
- package/dist/cli/services/data/semantic-graph/interfaces/index.d.ts +134 -0
- package/dist/cli/services/data/semantic-graph/interfaces/index.d.ts.map +1 -0
- package/dist/cli/services/data/semantic-graph/interfaces/index.js +7 -0
- package/dist/cli/services/data/semantic-graph/interfaces/index.js.map +1 -0
- package/dist/cli/services/data/semantic-graph/language-detector.d.ts +60 -0
- package/dist/cli/services/data/semantic-graph/language-detector.d.ts.map +1 -0
- package/dist/cli/services/data/semantic-graph/language-detector.js +345 -0
- package/dist/cli/services/data/semantic-graph/language-detector.js.map +1 -0
- package/dist/cli/services/data/semantic-graph/neo4j-graph-storage.d.ts +68 -0
- package/dist/cli/services/data/semantic-graph/neo4j-graph-storage.d.ts.map +1 -0
- package/dist/cli/services/data/semantic-graph/neo4j-graph-storage.js +298 -0
- package/dist/cli/services/data/semantic-graph/neo4j-graph-storage.js.map +1 -0
- package/dist/cli/services/data/semantic-graph/parsers/csharp-parser.d.ts +19 -0
- package/dist/cli/services/data/semantic-graph/parsers/csharp-parser.d.ts.map +1 -0
- package/dist/cli/services/data/semantic-graph/parsers/csharp-parser.js +220 -0
- package/dist/cli/services/data/semantic-graph/parsers/csharp-parser.js.map +1 -0
- package/dist/cli/services/data/semantic-graph/parsers/generic-parser.d.ts +20 -0
- package/dist/cli/services/data/semantic-graph/parsers/generic-parser.d.ts.map +1 -0
- package/dist/cli/services/data/semantic-graph/parsers/generic-parser.js +193 -0
- package/dist/cli/services/data/semantic-graph/parsers/generic-parser.js.map +1 -0
- package/dist/cli/services/data/semantic-graph/parsers/go-parser.d.ts +20 -0
- package/dist/cli/services/data/semantic-graph/parsers/go-parser.d.ts.map +1 -0
- package/dist/cli/services/data/semantic-graph/parsers/go-parser.js +192 -0
- package/dist/cli/services/data/semantic-graph/parsers/go-parser.js.map +1 -0
- package/dist/cli/services/data/semantic-graph/parsers/ilanguage-parser.d.ts +71 -0
- package/dist/cli/services/data/semantic-graph/parsers/ilanguage-parser.d.ts.map +1 -0
- package/dist/cli/services/data/semantic-graph/parsers/ilanguage-parser.js +35 -0
- package/dist/cli/services/data/semantic-graph/parsers/ilanguage-parser.js.map +1 -0
- package/dist/cli/services/data/semantic-graph/parsers/java-parser.d.ts +18 -0
- package/dist/cli/services/data/semantic-graph/parsers/java-parser.d.ts.map +1 -0
- package/dist/cli/services/data/semantic-graph/parsers/java-parser.js +164 -0
- package/dist/cli/services/data/semantic-graph/parsers/java-parser.js.map +1 -0
- package/dist/cli/services/data/semantic-graph/parsers/python-parser.d.ts +15 -0
- package/dist/cli/services/data/semantic-graph/parsers/python-parser.d.ts.map +1 -0
- package/dist/cli/services/data/semantic-graph/parsers/python-parser.js +172 -0
- package/dist/cli/services/data/semantic-graph/parsers/python-parser.js.map +1 -0
- package/dist/cli/services/data/semantic-graph/parsers/tree-sitter-java-parser.d.ts +26 -0
- package/dist/cli/services/data/semantic-graph/parsers/tree-sitter-java-parser.d.ts.map +1 -0
- package/dist/cli/services/data/semantic-graph/parsers/tree-sitter-java-parser.js +312 -0
- package/dist/cli/services/data/semantic-graph/parsers/tree-sitter-java-parser.js.map +1 -0
- package/dist/cli/services/data/semantic-graph/parsers/tree-sitter-python-parser.d.ts +29 -0
- package/dist/cli/services/data/semantic-graph/parsers/tree-sitter-python-parser.d.ts.map +1 -0
- package/dist/cli/services/data/semantic-graph/parsers/tree-sitter-python-parser.js +346 -0
- package/dist/cli/services/data/semantic-graph/parsers/tree-sitter-python-parser.js.map +1 -0
- package/dist/cli/services/data/semantic-graph/parsers/typescript-parser.d.ts +19 -0
- package/dist/cli/services/data/semantic-graph/parsers/typescript-parser.d.ts.map +1 -0
- package/dist/cli/services/data/semantic-graph/parsers/typescript-parser.js +258 -0
- package/dist/cli/services/data/semantic-graph/parsers/typescript-parser.js.map +1 -0
- package/dist/cli/services/data/semantic-graph/processors/index.d.ts +24 -0
- package/dist/cli/services/data/semantic-graph/processors/index.d.ts.map +1 -0
- package/dist/cli/services/data/semantic-graph/processors/index.js +153 -0
- package/dist/cli/services/data/semantic-graph/processors/index.js.map +1 -0
- package/dist/cli/services/data/semantic-graph/semantic-graph.d.ts +75 -0
- package/dist/cli/services/data/semantic-graph/semantic-graph.d.ts.map +1 -0
- package/dist/cli/services/data/semantic-graph/semantic-graph.js +191 -0
- package/dist/cli/services/data/semantic-graph/semantic-graph.js.map +1 -0
- package/dist/cli/services/data/semantic-graph/services/file-processing-service.d.ts +29 -0
- package/dist/cli/services/data/semantic-graph/services/file-processing-service.d.ts.map +1 -0
- package/dist/cli/services/data/semantic-graph/services/file-processing-service.js +175 -0
- package/dist/cli/services/data/semantic-graph/services/file-processing-service.js.map +1 -0
- package/dist/cli/services/data/semantic-graph/services/graph-query-service.d.ts +34 -0
- package/dist/cli/services/data/semantic-graph/services/graph-query-service.d.ts.map +1 -0
- package/dist/cli/services/data/semantic-graph/services/graph-query-service.js +285 -0
- package/dist/cli/services/data/semantic-graph/services/graph-query-service.js.map +1 -0
- package/dist/cli/services/data/semantic-graph/services/graph-storage-service.d.ts +35 -0
- package/dist/cli/services/data/semantic-graph/services/graph-storage-service.d.ts.map +1 -0
- package/dist/cli/services/data/semantic-graph/services/graph-storage-service.js +321 -0
- package/dist/cli/services/data/semantic-graph/services/graph-storage-service.js.map +1 -0
- package/dist/cli/services/data/semantic-graph/tree-sitter-semantic-builder.d.ts +85 -0
- package/dist/cli/services/data/semantic-graph/tree-sitter-semantic-builder.d.ts.map +1 -0
- package/dist/cli/services/data/semantic-graph/tree-sitter-semantic-builder.js +375 -0
- package/dist/cli/services/data/semantic-graph/tree-sitter-semantic-builder.js.map +1 -0
- package/dist/cli/services/integration/codemind-instruction-service.d.ts +76 -0
- package/dist/cli/services/integration/codemind-instruction-service.d.ts.map +1 -0
- package/dist/cli/services/integration/codemind-instruction-service.js +331 -0
- package/dist/cli/services/integration/codemind-instruction-service.js.map +1 -0
- package/dist/cli/services/integration/codeseeker-instruction-service.d.ts +82 -0
- package/dist/cli/services/integration/codeseeker-instruction-service.d.ts.map +1 -0
- package/dist/cli/services/integration/codeseeker-instruction-service.js +372 -0
- package/dist/cli/services/integration/codeseeker-instruction-service.js.map +1 -0
- package/dist/cli/services/integration/workflow-integration/claude-context-enhancer.d.ts +135 -0
- package/dist/cli/services/integration/workflow-integration/claude-context-enhancer.d.ts.map +1 -0
- package/dist/cli/services/integration/workflow-integration/claude-context-enhancer.js +298 -0
- package/dist/cli/services/integration/workflow-integration/claude-context-enhancer.js.map +1 -0
- package/dist/cli/services/llm/claude-llm-executor.d.ts +84 -0
- package/dist/cli/services/llm/claude-llm-executor.d.ts.map +1 -0
- package/dist/cli/services/llm/claude-llm-executor.js +448 -0
- package/dist/cli/services/llm/claude-llm-executor.js.map +1 -0
- package/dist/cli/services/llm/index.d.ts +41 -0
- package/dist/cli/services/llm/index.d.ts.map +1 -0
- package/dist/cli/services/llm/index.js +53 -0
- package/dist/cli/services/llm/index.js.map +1 -0
- package/dist/cli/services/llm/interfaces/index.d.ts +211 -0
- package/dist/cli/services/llm/interfaces/index.d.ts.map +1 -0
- package/dist/cli/services/llm/interfaces/index.js +15 -0
- package/dist/cli/services/llm/interfaces/index.js.map +1 -0
- package/dist/cli/services/llm/llm-executor-registry.d.ts +118 -0
- package/dist/cli/services/llm/llm-executor-registry.d.ts.map +1 -0
- package/dist/cli/services/llm/llm-executor-registry.js +226 -0
- package/dist/cli/services/llm/llm-executor-registry.js.map +1 -0
- package/dist/cli/services/llm/mock-llm-executor.d.ts +118 -0
- package/dist/cli/services/llm/mock-llm-executor.d.ts.map +1 -0
- package/dist/cli/services/llm/mock-llm-executor.js +324 -0
- package/dist/cli/services/llm/mock-llm-executor.js.map +1 -0
- package/dist/cli/services/monitoring/file-scanning/configurable-exclusion-filter.d.ts +49 -0
- package/dist/cli/services/monitoring/file-scanning/configurable-exclusion-filter.d.ts.map +1 -0
- package/dist/cli/services/monitoring/file-scanning/configurable-exclusion-filter.js +172 -0
- package/dist/cli/services/monitoring/file-scanning/configurable-exclusion-filter.js.map +1 -0
- package/dist/cli/services/monitoring/file-scanning/directory-scanner.d.ts +12 -0
- package/dist/cli/services/monitoring/file-scanning/directory-scanner.d.ts.map +1 -0
- package/dist/cli/services/monitoring/file-scanning/directory-scanner.js +126 -0
- package/dist/cli/services/monitoring/file-scanning/directory-scanner.js.map +1 -0
- package/dist/cli/services/monitoring/file-scanning/file-scanner-interfaces.d.ts +33 -0
- package/dist/cli/services/monitoring/file-scanning/file-scanner-interfaces.d.ts.map +1 -0
- package/dist/cli/services/monitoring/file-scanning/file-scanner-interfaces.js +7 -0
- package/dist/cli/services/monitoring/file-scanning/file-scanner-interfaces.js.map +1 -0
- package/dist/cli/services/monitoring/file-scanning/file-type-detector.d.ts +17 -0
- package/dist/cli/services/monitoring/file-scanning/file-type-detector.d.ts.map +1 -0
- package/dist/cli/services/monitoring/file-scanning/file-type-detector.js +109 -0
- package/dist/cli/services/monitoring/file-scanning/file-type-detector.js.map +1 -0
- package/dist/cli/services/monitoring/file-scanning/index.d.ts +10 -0
- package/dist/cli/services/monitoring/file-scanning/index.d.ts.map +1 -0
- package/dist/cli/services/monitoring/file-scanning/index.js +34 -0
- package/dist/cli/services/monitoring/file-scanning/index.js.map +1 -0
- package/dist/cli/services/monitoring/file-scanning/project-file-scanner.d.ts +31 -0
- package/dist/cli/services/monitoring/file-scanning/project-file-scanner.d.ts.map +1 -0
- package/dist/cli/services/monitoring/file-scanning/project-file-scanner.js +52 -0
- package/dist/cli/services/monitoring/file-scanning/project-file-scanner.js.map +1 -0
- package/dist/cli/services/monitoring/file-watcher-service.d.ts +82 -0
- package/dist/cli/services/monitoring/file-watcher-service.d.ts.map +1 -0
- package/dist/cli/services/monitoring/file-watcher-service.js +314 -0
- package/dist/cli/services/monitoring/file-watcher-service.js.map +1 -0
- package/dist/cli/services/monitoring/initialization/initialization-status-tracker.d.ts +72 -0
- package/dist/cli/services/monitoring/initialization/initialization-status-tracker.d.ts.map +1 -0
- package/dist/cli/services/monitoring/initialization/initialization-status-tracker.js +242 -0
- package/dist/cli/services/monitoring/initialization/initialization-status-tracker.js.map +1 -0
- package/dist/cli/services/platform-detector.d.ts +41 -0
- package/dist/cli/services/platform-detector.d.ts.map +1 -0
- package/dist/cli/services/platform-detector.js +302 -0
- package/dist/cli/services/platform-detector.js.map +1 -0
- package/dist/cli/services/project/language-manager.d.ts +16 -0
- package/dist/cli/services/project/language-manager.d.ts.map +1 -0
- package/dist/cli/services/project/language-manager.js +149 -0
- package/dist/cli/services/project/language-manager.js.map +1 -0
- package/dist/cli/services/project/language-support-service.d.ts +63 -0
- package/dist/cli/services/project/language-support-service.d.ts.map +1 -0
- package/dist/cli/services/project/language-support-service.js +357 -0
- package/dist/cli/services/project/language-support-service.js.map +1 -0
- package/dist/cli/services/project/project-detector.d.ts +10 -0
- package/dist/cli/services/project/project-detector.d.ts.map +1 -0
- package/dist/cli/services/project/project-detector.js +92 -0
- package/dist/cli/services/project/project-detector.js.map +1 -0
- package/dist/cli/services/project/project-registry.d.ts +16 -0
- package/dist/cli/services/project/project-registry.d.ts.map +1 -0
- package/dist/cli/services/project/project-registry.js +103 -0
- package/dist/cli/services/project/project-registry.js.map +1 -0
- package/dist/cli/services/project-identity-service.d.ts +87 -0
- package/dist/cli/services/project-identity-service.d.ts.map +1 -0
- package/dist/cli/services/project-identity-service.js +332 -0
- package/dist/cli/services/project-identity-service.js.map +1 -0
- package/dist/cli/services/search/content-chunker.d.ts +23 -0
- package/dist/cli/services/search/content-chunker.d.ts.map +1 -0
- package/dist/cli/services/search/content-chunker.js +265 -0
- package/dist/cli/services/search/content-chunker.js.map +1 -0
- package/dist/cli/services/search/embedding-generator-adapter.d.ts +17 -0
- package/dist/cli/services/search/embedding-generator-adapter.d.ts.map +1 -0
- package/dist/cli/services/search/embedding-generator-adapter.js +61 -0
- package/dist/cli/services/search/embedding-generator-adapter.js.map +1 -0
- package/dist/cli/services/search/search-index-storage.d.ts +22 -0
- package/dist/cli/services/search/search-index-storage.d.ts.map +1 -0
- package/dist/cli/services/search/search-index-storage.js +154 -0
- package/dist/cli/services/search/search-index-storage.js.map +1 -0
- package/dist/cli/services/search/search-query-processor.d.ts +16 -0
- package/dist/cli/services/search/search-query-processor.d.ts.map +1 -0
- package/dist/cli/services/search/search-query-processor.js +125 -0
- package/dist/cli/services/search/search-query-processor.js.map +1 -0
- package/dist/cli/services/search/semantic-search.d.ts +86 -0
- package/dist/cli/services/search/semantic-search.d.ts.map +1 -0
- package/dist/cli/services/search/semantic-search.js +300 -0
- package/dist/cli/services/search/semantic-search.js.map +1 -0
- package/dist/cli/services/setup/container-detector.d.ts +15 -0
- package/dist/cli/services/setup/container-detector.d.ts.map +1 -0
- package/dist/cli/services/setup/container-detector.js +175 -0
- package/dist/cli/services/setup/container-detector.js.map +1 -0
- package/dist/cli/services/setup/container-manager.d.ts +14 -0
- package/dist/cli/services/setup/container-manager.d.ts.map +1 -0
- package/dist/cli/services/setup/container-manager.js +147 -0
- package/dist/cli/services/setup/container-manager.js.map +1 -0
- package/dist/cli/services/setup/database-initializer.d.ts +24 -0
- package/dist/cli/services/setup/database-initializer.d.ts.map +1 -0
- package/dist/cli/services/setup/database-initializer.js +291 -0
- package/dist/cli/services/setup/database-initializer.js.map +1 -0
- package/dist/cli/services/setup/interfaces/setup-interfaces.d.ts +72 -0
- package/dist/cli/services/setup/interfaces/setup-interfaces.d.ts.map +1 -0
- package/dist/cli/services/setup/interfaces/setup-interfaces.js +7 -0
- package/dist/cli/services/setup/interfaces/setup-interfaces.js.map +1 -0
- package/dist/cli/services/setup/prerequisite-checker.d.ts +10 -0
- package/dist/cli/services/setup/prerequisite-checker.d.ts.map +1 -0
- package/dist/cli/services/setup/prerequisite-checker.js +119 -0
- package/dist/cli/services/setup/prerequisite-checker.js.map +1 -0
- package/dist/cli/services/setup/setup-orchestrator.d.ts +27 -0
- package/dist/cli/services/setup/setup-orchestrator.d.ts.map +1 -0
- package/dist/cli/services/setup/setup-orchestrator.js +230 -0
- package/dist/cli/services/setup/setup-orchestrator.js.map +1 -0
- package/dist/cli/services/setup/setup-reporter.d.ts +14 -0
- package/dist/cli/services/setup/setup-reporter.d.ts.map +1 -0
- package/dist/cli/services/setup/setup-reporter.js +143 -0
- package/dist/cli/services/setup/setup-reporter.js.map +1 -0
- package/dist/cli/services/setup/setup-service-factory.d.ts +19 -0
- package/dist/cli/services/setup/setup-service-factory.d.ts.map +1 -0
- package/dist/cli/services/setup/setup-service-factory.js +43 -0
- package/dist/cli/services/setup/setup-service-factory.js.map +1 -0
- package/dist/cli/services/setup/unified-database-initializer.d.ts +61 -0
- package/dist/cli/services/setup/unified-database-initializer.d.ts.map +1 -0
- package/dist/cli/services/setup/unified-database-initializer.js +264 -0
- package/dist/cli/services/setup/unified-database-initializer.js.map +1 -0
- package/dist/cli/task-splitter.d.ts +59 -0
- package/dist/cli/task-splitter.d.ts.map +1 -0
- package/dist/cli/task-splitter.js +556 -0
- package/dist/cli/task-splitter.js.map +1 -0
- package/dist/cli/tools/context-optimizer-tool.d.ts +25 -0
- package/dist/cli/tools/context-optimizer-tool.d.ts.map +1 -0
- package/dist/cli/tools/context-optimizer-tool.js +169 -0
- package/dist/cli/tools/context-optimizer-tool.js.map +1 -0
- package/dist/cli/ui/theme.d.ts +148 -0
- package/dist/cli/ui/theme.d.ts.map +1 -0
- package/dist/cli/ui/theme.js +302 -0
- package/dist/cli/ui/theme.js.map +1 -0
- package/dist/cli/ui/welcome-display.d.ts +20 -0
- package/dist/cli/ui/welcome-display.d.ts.map +1 -0
- package/dist/cli/ui/welcome-display.js +50 -0
- package/dist/cli/ui/welcome-display.js.map +1 -0
- package/dist/cli/workflow/interfaces/index.d.ts +191 -0
- package/dist/cli/workflow/interfaces/index.d.ts.map +1 -0
- package/dist/cli/workflow/interfaces/index.js +7 -0
- package/dist/cli/workflow/interfaces/index.js.map +1 -0
- package/dist/cli/workflow/services/context-gathering-service.d.ts +23 -0
- package/dist/cli/workflow/services/context-gathering-service.d.ts.map +1 -0
- package/dist/cli/workflow/services/context-gathering-service.js +145 -0
- package/dist/cli/workflow/services/context-gathering-service.js.map +1 -0
- package/dist/cli/workflow/services/database-sync-service.d.ts +63 -0
- package/dist/cli/workflow/services/database-sync-service.d.ts.map +1 -0
- package/dist/cli/workflow/services/database-sync-service.js +250 -0
- package/dist/cli/workflow/services/database-sync-service.js.map +1 -0
- package/dist/cli/workflow/services/git-workflow-service.d.ts +29 -0
- package/dist/cli/workflow/services/git-workflow-service.d.ts.map +1 -0
- package/dist/cli/workflow/services/git-workflow-service.js +226 -0
- package/dist/cli/workflow/services/git-workflow-service.js.map +1 -0
- package/dist/cli/workflow/services/intent-analysis-service.d.ts +20 -0
- package/dist/cli/workflow/services/intent-analysis-service.d.ts.map +1 -0
- package/dist/cli/workflow/services/intent-analysis-service.js +137 -0
- package/dist/cli/workflow/services/intent-analysis-service.js.map +1 -0
- package/dist/cli/workflow/services/quality-assurance-service.d.ts +41 -0
- package/dist/cli/workflow/services/quality-assurance-service.d.ts.map +1 -0
- package/dist/cli/workflow/services/quality-assurance-service.js +341 -0
- package/dist/cli/workflow/services/quality-assurance-service.js.map +1 -0
- package/dist/cli/workflow/services/task-orchestration-service.d.ts +31 -0
- package/dist/cli/workflow/services/task-orchestration-service.d.ts.map +1 -0
- package/dist/cli/workflow/services/task-orchestration-service.js +254 -0
- package/dist/cli/workflow/services/task-orchestration-service.js.map +1 -0
- package/dist/cli/workflow/workflow-orchestrator.d.ts +47 -0
- package/dist/cli/workflow/workflow-orchestrator.d.ts.map +1 -0
- package/dist/cli/workflow/workflow-orchestrator.js +248 -0
- package/dist/cli/workflow/workflow-orchestrator.js.map +1 -0
- package/dist/config/database-config.d.ts +40 -0
- package/dist/config/database-config.d.ts.map +1 -0
- package/dist/config/database-config.js +192 -0
- package/dist/config/database-config.js.map +1 -0
- package/dist/core/factories/command-service-factory.d.ts +26 -0
- package/dist/core/factories/command-service-factory.d.ts.map +1 -0
- package/dist/core/factories/command-service-factory.js +72 -0
- package/dist/core/factories/command-service-factory.js.map +1 -0
- package/dist/core/factories/error-factory.d.ts +19 -0
- package/dist/core/factories/error-factory.d.ts.map +1 -0
- package/dist/core/factories/error-factory.js +100 -0
- package/dist/core/factories/error-factory.js.map +1 -0
- package/dist/core/factories/error-handling-factory.d.ts +33 -0
- package/dist/core/factories/error-handling-factory.d.ts.map +1 -0
- package/dist/core/factories/error-handling-factory.js +59 -0
- package/dist/core/factories/error-handling-factory.js.map +1 -0
- package/dist/core/factories/project-service-factory.d.ts +38 -0
- package/dist/core/factories/project-service-factory.d.ts.map +1 -0
- package/dist/core/factories/project-service-factory.js +66 -0
- package/dist/core/factories/project-service-factory.js.map +1 -0
- package/dist/core/factories/search-service-factory.d.ts +42 -0
- package/dist/core/factories/search-service-factory.d.ts.map +1 -0
- package/dist/core/factories/search-service-factory.js +76 -0
- package/dist/core/factories/search-service-factory.js.map +1 -0
- package/dist/core/interfaces/command-interfaces.d.ts +82 -0
- package/dist/core/interfaces/command-interfaces.d.ts.map +1 -0
- package/dist/core/interfaces/command-interfaces.js +7 -0
- package/dist/core/interfaces/command-interfaces.js.map +1 -0
- package/dist/core/interfaces/error-interfaces.d.ts +95 -0
- package/dist/core/interfaces/error-interfaces.d.ts.map +1 -0
- package/dist/core/interfaces/error-interfaces.js +8 -0
- package/dist/core/interfaces/error-interfaces.js.map +1 -0
- package/dist/core/interfaces/orchestrator-interfaces.d.ts +62 -0
- package/dist/core/interfaces/orchestrator-interfaces.d.ts.map +1 -0
- package/dist/core/interfaces/orchestrator-interfaces.js +8 -0
- package/dist/core/interfaces/orchestrator-interfaces.js.map +1 -0
- package/dist/core/interfaces/project-interfaces.d.ts +57 -0
- package/dist/core/interfaces/project-interfaces.d.ts.map +1 -0
- package/dist/core/interfaces/project-interfaces.js +7 -0
- package/dist/core/interfaces/project-interfaces.js.map +1 -0
- package/dist/core/interfaces/search-interfaces.d.ts +76 -0
- package/dist/core/interfaces/search-interfaces.d.ts.map +1 -0
- package/dist/core/interfaces/search-interfaces.js +6 -0
- package/dist/core/interfaces/search-interfaces.js.map +1 -0
- package/dist/core/interfaces.d.ts +109 -0
- package/dist/core/interfaces.d.ts.map +1 -0
- package/dist/core/interfaces.js +6 -0
- package/dist/core/interfaces.js.map +1 -0
- package/dist/core/services/error-handler.d.ts +33 -0
- package/dist/core/services/error-handler.d.ts.map +1 -0
- package/dist/core/services/error-handler.js +187 -0
- package/dist/core/services/error-handler.js.map +1 -0
- package/dist/core/types.d.ts +197 -0
- package/dist/core/types.d.ts.map +1 -0
- package/dist/core/types.js +89 -0
- package/dist/core/types.js.map +1 -0
- package/dist/core/utils/error-utils.d.ts +36 -0
- package/dist/core/utils/error-utils.d.ts.map +1 -0
- package/dist/core/utils/error-utils.js +173 -0
- package/dist/core/utils/error-utils.js.map +1 -0
- package/dist/database/adapters/base.d.ts +88 -0
- package/dist/database/adapters/base.d.ts.map +1 -0
- package/dist/database/adapters/base.js +27 -0
- package/dist/database/adapters/base.js.map +1 -0
- package/dist/database/adapters/interfaces.d.ts +64 -0
- package/dist/database/adapters/interfaces.d.ts.map +1 -0
- package/dist/database/adapters/interfaces.js +7 -0
- package/dist/database/adapters/interfaces.js.map +1 -0
- package/dist/database/adapters/postgresql.d.ts +54 -0
- package/dist/database/adapters/postgresql.d.ts.map +1 -0
- package/dist/database/adapters/postgresql.js +838 -0
- package/dist/database/adapters/postgresql.js.map +1 -0
- package/dist/database/adapters/services/connection-manager.d.ts +22 -0
- package/dist/database/adapters/services/connection-manager.d.ts.map +1 -0
- package/dist/database/adapters/services/connection-manager.js +107 -0
- package/dist/database/adapters/services/connection-manager.js.map +1 -0
- package/dist/database/adapters/services/project-service.d.ts +22 -0
- package/dist/database/adapters/services/project-service.d.ts.map +1 -0
- package/dist/database/adapters/services/project-service.js +193 -0
- package/dist/database/adapters/services/project-service.js.map +1 -0
- package/dist/database/database.d.ts +71 -0
- package/dist/database/database.d.ts.map +1 -0
- package/dist/database/database.js +312 -0
- package/dist/database/database.js.map +1 -0
- package/dist/database/factory.d.ts +10 -0
- package/dist/database/factory.d.ts.map +1 -0
- package/dist/database/factory.js +38 -0
- package/dist/database/factory.js.map +1 -0
- package/dist/database/migrations/002_phase2_features.d.ts +24 -0
- package/dist/database/migrations/002_phase2_features.d.ts.map +1 -0
- package/dist/database/migrations/002_phase2_features.js +224 -0
- package/dist/database/migrations/002_phase2_features.js.map +1 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +58 -0
- package/dist/index.js.map +1 -0
- package/dist/integrations/claude/claude-cli-integration.d.ts +85 -0
- package/dist/integrations/claude/claude-cli-integration.d.ts.map +1 -0
- package/dist/integrations/claude/claude-cli-integration.js +278 -0
- package/dist/integrations/claude/claude-cli-integration.js.map +1 -0
- package/dist/integrations/claude/conversation-manager.d.ts +81 -0
- package/dist/integrations/claude/conversation-manager.d.ts.map +1 -0
- package/dist/integrations/claude/conversation-manager.js +378 -0
- package/dist/integrations/claude/conversation-manager.js.map +1 -0
- package/dist/integrations/claude/interceptor.d.ts +75 -0
- package/dist/integrations/claude/interceptor.d.ts.map +1 -0
- package/dist/integrations/claude/interceptor.js +173 -0
- package/dist/integrations/claude/interceptor.js.map +1 -0
- package/dist/integrations/claude/interfaces/index.d.ts +128 -0
- package/dist/integrations/claude/interfaces/index.d.ts.map +1 -0
- package/dist/integrations/claude/interfaces/index.js +7 -0
- package/dist/integrations/claude/interfaces/index.js.map +1 -0
- package/dist/integrations/claude/outcome-analyzer.d.ts +90 -0
- package/dist/integrations/claude/outcome-analyzer.d.ts.map +1 -0
- package/dist/integrations/claude/outcome-analyzer.js +394 -0
- package/dist/integrations/claude/outcome-analyzer.js.map +1 -0
- package/dist/integrations/claude/services/claude-execution-service.d.ts +26 -0
- package/dist/integrations/claude/services/claude-execution-service.d.ts.map +1 -0
- package/dist/integrations/claude/services/claude-execution-service.js +136 -0
- package/dist/integrations/claude/services/claude-execution-service.js.map +1 -0
- package/dist/integrations/claude/services/claude-response-parser.d.ts +30 -0
- package/dist/integrations/claude/services/claude-response-parser.d.ts.map +1 -0
- package/dist/integrations/claude/services/claude-response-parser.js +235 -0
- package/dist/integrations/claude/services/claude-response-parser.js.map +1 -0
- package/dist/integrations/claude/services/project-analysis-service.d.ts +22 -0
- package/dist/integrations/claude/services/project-analysis-service.d.ts.map +1 -0
- package/dist/integrations/claude/services/project-analysis-service.js +298 -0
- package/dist/integrations/claude/services/project-analysis-service.js.map +1 -0
- package/dist/integrations/claude/services/project-context-builder.d.ts +34 -0
- package/dist/integrations/claude/services/project-context-builder.d.ts.map +1 -0
- package/dist/integrations/claude/services/project-context-builder.js +304 -0
- package/dist/integrations/claude/services/project-context-builder.js.map +1 -0
- package/dist/integrations/claude/services/prompt-processing-service.d.ts +24 -0
- package/dist/integrations/claude/services/prompt-processing-service.d.ts.map +1 -0
- package/dist/integrations/claude/services/prompt-processing-service.js +266 -0
- package/dist/integrations/claude/services/prompt-processing-service.js.map +1 -0
- package/dist/integrations/claude/services/request-processing-service.d.ts +34 -0
- package/dist/integrations/claude/services/request-processing-service.d.ts.map +1 -0
- package/dist/integrations/claude/services/request-processing-service.js +254 -0
- package/dist/integrations/claude/services/request-processing-service.js.map +1 -0
- package/dist/integrations/claude/services/session-management-service.d.ts +49 -0
- package/dist/integrations/claude/services/session-management-service.d.ts.map +1 -0
- package/dist/integrations/claude/services/session-management-service.js +214 -0
- package/dist/integrations/claude/services/session-management-service.js.map +1 -0
- package/dist/mcp/index.d.ts +8 -0
- package/dist/mcp/index.d.ts.map +1 -0
- package/dist/mcp/index.js +13 -0
- package/dist/mcp/index.js.map +1 -0
- package/dist/mcp/indexing-service.d.ts +137 -0
- package/dist/mcp/indexing-service.d.ts.map +1 -0
- package/dist/mcp/indexing-service.js +961 -0
- package/dist/mcp/indexing-service.js.map +1 -0
- package/dist/mcp/mcp-server.d.ts +100 -0
- package/dist/mcp/mcp-server.d.ts.map +1 -0
- package/dist/mcp/mcp-server.js +1827 -0
- package/dist/mcp/mcp-server.js.map +1 -0
- package/dist/orchestrator/claude-tool-orchestrator.d.ts +128 -0
- package/dist/orchestrator/claude-tool-orchestrator.d.ts.map +1 -0
- package/dist/orchestrator/claude-tool-orchestrator.js +490 -0
- package/dist/orchestrator/claude-tool-orchestrator.js.map +1 -0
- package/dist/orchestrator/intelligent-task-orchestrator.d.ts +131 -0
- package/dist/orchestrator/intelligent-task-orchestrator.d.ts.map +1 -0
- package/dist/orchestrator/intelligent-task-orchestrator.js +493 -0
- package/dist/orchestrator/intelligent-task-orchestrator.js.map +1 -0
- package/dist/orchestrator/interfaces.d.ts +59 -0
- package/dist/orchestrator/interfaces.d.ts.map +1 -0
- package/dist/orchestrator/interfaces.js +7 -0
- package/dist/orchestrator/interfaces.js.map +1 -0
- package/dist/orchestrator/messaging/redis-messaging.d.ts +84 -0
- package/dist/orchestrator/messaging/redis-messaging.d.ts.map +1 -0
- package/dist/orchestrator/messaging/redis-messaging.js +384 -0
- package/dist/orchestrator/messaging/redis-messaging.js.map +1 -0
- package/dist/orchestrator/messaging/redis-queue.d.ts +89 -0
- package/dist/orchestrator/messaging/redis-queue.d.ts.map +1 -0
- package/dist/orchestrator/messaging/redis-queue.js +243 -0
- package/dist/orchestrator/messaging/redis-queue.js.map +1 -0
- package/dist/orchestrator/semantic-orchestrator.d.ts +43 -0
- package/dist/orchestrator/semantic-orchestrator.d.ts.map +1 -0
- package/dist/orchestrator/semantic-orchestrator.js +285 -0
- package/dist/orchestrator/semantic-orchestrator.js.map +1 -0
- package/dist/orchestrator/sequential-workflow-orchestrator.d.ts +128 -0
- package/dist/orchestrator/sequential-workflow-orchestrator.d.ts.map +1 -0
- package/dist/orchestrator/sequential-workflow-orchestrator.js +406 -0
- package/dist/orchestrator/sequential-workflow-orchestrator.js.map +1 -0
- package/dist/orchestrator/services/code-duplications-service.d.ts +14 -0
- package/dist/orchestrator/services/code-duplications-service.d.ts.map +1 -0
- package/dist/orchestrator/services/code-duplications-service.js +116 -0
- package/dist/orchestrator/services/code-duplications-service.js.map +1 -0
- package/dist/orchestrator/services/database-connection-service.d.ts +14 -0
- package/dist/orchestrator/services/database-connection-service.d.ts.map +1 -0
- package/dist/orchestrator/services/database-connection-service.js +46 -0
- package/dist/orchestrator/services/database-connection-service.js.map +1 -0
- package/dist/orchestrator/services/semantic-search-service.d.ts +15 -0
- package/dist/orchestrator/services/semantic-search-service.d.ts.map +1 -0
- package/dist/orchestrator/services/semantic-search-service.js +154 -0
- package/dist/orchestrator/services/semantic-search-service.js.map +1 -0
- package/dist/orchestrator/services/tool-data-service.d.ts +14 -0
- package/dist/orchestrator/services/tool-data-service.d.ts.map +1 -0
- package/dist/orchestrator/services/tool-data-service.js +76 -0
- package/dist/orchestrator/services/tool-data-service.js.map +1 -0
- package/dist/orchestrator/tool-database-api.d.ts +47 -0
- package/dist/orchestrator/tool-database-api.d.ts.map +1 -0
- package/dist/orchestrator/tool-database-api.js +200 -0
- package/dist/orchestrator/tool-database-api.js.map +1 -0
- package/dist/orchestrator/types.d.ts +98 -0
- package/dist/orchestrator/types.d.ts.map +1 -0
- package/dist/orchestrator/types.js +6 -0
- package/dist/orchestrator/types.js.map +1 -0
- package/dist/orchestrator/workflow-definitions.d.ts +9 -0
- package/dist/orchestrator/workflow-definitions.d.ts.map +1 -0
- package/dist/orchestrator/workflow-definitions.js +169 -0
- package/dist/orchestrator/workflow-definitions.js.map +1 -0
- package/dist/orchestrator/workflow-visualizer.d.ts +54 -0
- package/dist/orchestrator/workflow-visualizer.d.ts.map +1 -0
- package/dist/orchestrator/workflow-visualizer.js +355 -0
- package/dist/orchestrator/workflow-visualizer.js.map +1 -0
- package/dist/services/managers/quality-manager.d.ts +108 -0
- package/dist/services/managers/quality-manager.d.ts.map +1 -0
- package/dist/services/managers/quality-manager.js +763 -0
- package/dist/services/managers/quality-manager.js.map +1 -0
- package/dist/services/managers/sync-manager.d.ts +106 -0
- package/dist/services/managers/sync-manager.d.ts.map +1 -0
- package/dist/services/managers/sync-manager.js +573 -0
- package/dist/services/managers/sync-manager.js.map +1 -0
- package/dist/shared/analysis-repository-consolidated.d.ts +155 -0
- package/dist/shared/analysis-repository-consolidated.d.ts.map +1 -0
- package/dist/shared/analysis-repository-consolidated.js +587 -0
- package/dist/shared/analysis-repository-consolidated.js.map +1 -0
- package/dist/shared/analysis-repository.d.ts +48 -0
- package/dist/shared/analysis-repository.d.ts.map +1 -0
- package/dist/shared/analysis-repository.js +183 -0
- package/dist/shared/analysis-repository.js.map +1 -0
- package/dist/shared/analytics-export-pipeline.d.ts +32 -0
- package/dist/shared/analytics-export-pipeline.d.ts.map +1 -0
- package/dist/shared/analytics-export-pipeline.js +307 -0
- package/dist/shared/analytics-export-pipeline.js.map +1 -0
- package/dist/shared/ast/analyzer.d.ts +59 -0
- package/dist/shared/ast/analyzer.d.ts.map +1 -0
- package/dist/shared/ast/analyzer.js +202 -0
- package/dist/shared/ast/analyzer.js.map +1 -0
- package/dist/shared/change-assessment-system.d.ts +111 -0
- package/dist/shared/change-assessment-system.d.ts.map +1 -0
- package/dist/shared/change-assessment-system.js +465 -0
- package/dist/shared/change-assessment-system.js.map +1 -0
- package/dist/shared/codebase-analyzer.d.ts +41 -0
- package/dist/shared/codebase-analyzer.d.ts.map +1 -0
- package/dist/shared/codebase-analyzer.js +60 -0
- package/dist/shared/codebase-analyzer.js.map +1 -0
- package/dist/shared/codemind-memory-system.d.ts +75 -0
- package/dist/shared/codemind-memory-system.d.ts.map +1 -0
- package/dist/shared/codemind-memory-system.js +222 -0
- package/dist/shared/codemind-memory-system.js.map +1 -0
- package/dist/shared/codeseeker-memory-system.d.ts +75 -0
- package/dist/shared/codeseeker-memory-system.d.ts.map +1 -0
- package/dist/shared/codeseeker-memory-system.js +222 -0
- package/dist/shared/codeseeker-memory-system.js.map +1 -0
- package/dist/shared/comprehensive-impact-analyzer.d.ts +94 -0
- package/dist/shared/comprehensive-impact-analyzer.d.ts.map +1 -0
- package/dist/shared/comprehensive-impact-analyzer.js +534 -0
- package/dist/shared/comprehensive-impact-analyzer.js.map +1 -0
- package/dist/shared/context-provider.d.ts +110 -0
- package/dist/shared/context-provider.d.ts.map +1 -0
- package/dist/shared/context-provider.js +392 -0
- package/dist/shared/context-provider.js.map +1 -0
- package/dist/shared/database-responsibility-guide.d.ts +183 -0
- package/dist/shared/database-responsibility-guide.d.ts.map +1 -0
- package/dist/shared/database-responsibility-guide.js +201 -0
- package/dist/shared/database-responsibility-guide.js.map +1 -0
- package/dist/shared/documentation-rag-service.d.ts +149 -0
- package/dist/shared/documentation-rag-service.d.ts.map +1 -0
- package/dist/shared/documentation-rag-service.js +586 -0
- package/dist/shared/documentation-rag-service.js.map +1 -0
- package/dist/shared/file-hash-tracker.d.ts +145 -0
- package/dist/shared/file-hash-tracker.d.ts.map +1 -0
- package/dist/shared/file-hash-tracker.js +387 -0
- package/dist/shared/file-hash-tracker.js.map +1 -0
- package/dist/shared/file-synchronization-system.d.ts +143 -0
- package/dist/shared/file-synchronization-system.d.ts.map +1 -0
- package/dist/shared/file-synchronization-system.js +642 -0
- package/dist/shared/file-synchronization-system.js.map +1 -0
- package/dist/shared/four-layer-memory-architecture.d.ts +372 -0
- package/dist/shared/four-layer-memory-architecture.d.ts.map +1 -0
- package/dist/shared/four-layer-memory-architecture.js +353 -0
- package/dist/shared/four-layer-memory-architecture.js.map +1 -0
- package/dist/shared/hybrid-file-discovery.d.ts +86 -0
- package/dist/shared/hybrid-file-discovery.d.ts.map +1 -0
- package/dist/shared/hybrid-file-discovery.js +270 -0
- package/dist/shared/hybrid-file-discovery.js.map +1 -0
- package/dist/shared/intelligent-cycle/interfaces.d.ts +73 -0
- package/dist/shared/intelligent-cycle/interfaces.d.ts.map +1 -0
- package/dist/shared/intelligent-cycle/interfaces.js +7 -0
- package/dist/shared/intelligent-cycle/interfaces.js.map +1 -0
- package/dist/shared/intelligent-cycle/services/code-extraction-service.d.ts +29 -0
- package/dist/shared/intelligent-cycle/services/code-extraction-service.d.ts.map +1 -0
- package/dist/shared/intelligent-cycle/services/code-extraction-service.js +191 -0
- package/dist/shared/intelligent-cycle/services/code-extraction-service.js.map +1 -0
- package/dist/shared/intelligent-cycle/services/intent-analysis-service.d.ts +17 -0
- package/dist/shared/intelligent-cycle/services/intent-analysis-service.d.ts.map +1 -0
- package/dist/shared/intelligent-cycle/services/intent-analysis-service.js +151 -0
- package/dist/shared/intelligent-cycle/services/intent-analysis-service.js.map +1 -0
- package/dist/shared/intelligent-cycle/services/security-scanning-service.d.ts +16 -0
- package/dist/shared/intelligent-cycle/services/security-scanning-service.d.ts.map +1 -0
- package/dist/shared/intelligent-cycle/services/security-scanning-service.js +171 -0
- package/dist/shared/intelligent-cycle/services/security-scanning-service.js.map +1 -0
- package/dist/shared/intelligent-cycle/services/semantic-deduplication-service.d.ts +15 -0
- package/dist/shared/intelligent-cycle/services/semantic-deduplication-service.d.ts.map +1 -0
- package/dist/shared/intelligent-cycle/services/semantic-deduplication-service.js +116 -0
- package/dist/shared/intelligent-cycle/services/semantic-deduplication-service.js.map +1 -0
- package/dist/shared/intelligent-cycle/services/similarity-matching-service.d.ts +13 -0
- package/dist/shared/intelligent-cycle/services/similarity-matching-service.d.ts.map +1 -0
- package/dist/shared/intelligent-cycle/services/similarity-matching-service.js +64 -0
- package/dist/shared/intelligent-cycle/services/similarity-matching-service.js.map +1 -0
- package/dist/shared/intelligent-cycle-features.d.ts +41 -0
- package/dist/shared/intelligent-cycle-features.d.ts.map +1 -0
- package/dist/shared/intelligent-cycle-features.js +102 -0
- package/dist/shared/intelligent-cycle-features.js.map +1 -0
- package/dist/shared/intelligent-tool-selector.d.ts +90 -0
- package/dist/shared/intelligent-tool-selector.d.ts.map +1 -0
- package/dist/shared/intelligent-tool-selector.js +357 -0
- package/dist/shared/intelligent-tool-selector.js.map +1 -0
- package/dist/shared/logger.d.ts +2 -0
- package/dist/shared/logger.d.ts.map +1 -0
- package/dist/shared/logger.js +9 -0
- package/dist/shared/logger.js.map +1 -0
- package/dist/shared/managers/cache-manager.d.ts +147 -0
- package/dist/shared/managers/cache-manager.d.ts.map +1 -0
- package/dist/shared/managers/cache-manager.js +408 -0
- package/dist/shared/managers/cache-manager.js.map +1 -0
- package/dist/shared/managers/database-update-manager.d.ts +142 -0
- package/dist/shared/managers/database-update-manager.d.ts.map +1 -0
- package/dist/shared/managers/database-update-manager.js +747 -0
- package/dist/shared/managers/database-update-manager.js.map +1 -0
- package/dist/shared/managers/git-branch-manager.d.ts +104 -0
- package/dist/shared/managers/git-branch-manager.d.ts.map +1 -0
- package/dist/shared/managers/git-branch-manager.js +435 -0
- package/dist/shared/managers/git-branch-manager.js.map +1 -0
- package/dist/shared/memory-architecture-integration.d.ts +124 -0
- package/dist/shared/memory-architecture-integration.d.ts.map +1 -0
- package/dist/shared/memory-architecture-integration.js +247 -0
- package/dist/shared/memory-architecture-integration.js.map +1 -0
- package/dist/shared/memory-orchestrator-integration.d.ts +86 -0
- package/dist/shared/memory-orchestrator-integration.d.ts.map +1 -0
- package/dist/shared/memory-orchestrator-integration.js +325 -0
- package/dist/shared/memory-orchestrator-integration.js.map +1 -0
- package/dist/shared/memory-system/interfaces/index.d.ts +255 -0
- package/dist/shared/memory-system/interfaces/index.d.ts.map +1 -0
- package/dist/shared/memory-system/interfaces/index.js +7 -0
- package/dist/shared/memory-system/interfaces/index.js.map +1 -0
- package/dist/shared/memory-system/memory-system.d.ts +69 -0
- package/dist/shared/memory-system/memory-system.d.ts.map +1 -0
- package/dist/shared/memory-system/memory-system.js +219 -0
- package/dist/shared/memory-system/memory-system.js.map +1 -0
- package/dist/shared/memory-system/services/memory-analytics-service.d.ts +26 -0
- package/dist/shared/memory-system/services/memory-analytics-service.d.ts.map +1 -0
- package/dist/shared/memory-system/services/memory-analytics-service.js +101 -0
- package/dist/shared/memory-system/services/memory-analytics-service.js.map +1 -0
- package/dist/shared/memory-system/services/memory-optimization-service.d.ts +21 -0
- package/dist/shared/memory-system/services/memory-optimization-service.d.ts.map +1 -0
- package/dist/shared/memory-system/services/memory-optimization-service.js +282 -0
- package/dist/shared/memory-system/services/memory-optimization-service.js.map +1 -0
- package/dist/shared/memory-system/services/memory-retrieval-service.d.ts +30 -0
- package/dist/shared/memory-system/services/memory-retrieval-service.d.ts.map +1 -0
- package/dist/shared/memory-system/services/memory-retrieval-service.js +430 -0
- package/dist/shared/memory-system/services/memory-retrieval-service.js.map +1 -0
- package/dist/shared/memory-system/services/memory-storage-service.d.ts +47 -0
- package/dist/shared/memory-system/services/memory-storage-service.d.ts.map +1 -0
- package/dist/shared/memory-system/services/memory-storage-service.js +450 -0
- package/dist/shared/memory-system/services/memory-storage-service.js.map +1 -0
- package/dist/shared/multi-level-cache.d.ts +106 -0
- package/dist/shared/multi-level-cache.d.ts.map +1 -0
- package/dist/shared/multi-level-cache.js +423 -0
- package/dist/shared/multi-level-cache.js.map +1 -0
- package/dist/shared/offline-first-cache.d.ts +69 -0
- package/dist/shared/offline-first-cache.d.ts.map +1 -0
- package/dist/shared/offline-first-cache.js +312 -0
- package/dist/shared/offline-first-cache.js.map +1 -0
- package/dist/shared/performance-monitor.d.ts +69 -0
- package/dist/shared/performance-monitor.d.ts.map +1 -0
- package/dist/shared/performance-monitor.js +226 -0
- package/dist/shared/performance-monitor.js.map +1 -0
- package/dist/shared/platform-utils.d.ts +105 -0
- package/dist/shared/platform-utils.d.ts.map +1 -0
- package/dist/shared/platform-utils.js +299 -0
- package/dist/shared/platform-utils.js.map +1 -0
- package/dist/shared/post-execution-integration.d.ts +99 -0
- package/dist/shared/post-execution-integration.d.ts.map +1 -0
- package/dist/shared/post-execution-integration.js +504 -0
- package/dist/shared/post-execution-integration.js.map +1 -0
- package/dist/shared/postgresql-analytics-database.d.ts +54 -0
- package/dist/shared/postgresql-analytics-database.d.ts.map +1 -0
- package/dist/shared/postgresql-analytics-database.js +333 -0
- package/dist/shared/postgresql-analytics-database.js.map +1 -0
- package/dist/shared/project-intelligence.d.ts +45 -0
- package/dist/shared/project-intelligence.d.ts.map +1 -0
- package/dist/shared/project-intelligence.js +176 -0
- package/dist/shared/project-intelligence.js.map +1 -0
- package/dist/shared/prompt-chunking-system.d.ts +39 -0
- package/dist/shared/prompt-chunking-system.d.ts.map +1 -0
- package/dist/shared/prompt-chunking-system.js +233 -0
- package/dist/shared/prompt-chunking-system.js.map +1 -0
- package/dist/shared/reconciliation-system.d.ts +105 -0
- package/dist/shared/reconciliation-system.d.ts.map +1 -0
- package/dist/shared/reconciliation-system.js +430 -0
- package/dist/shared/reconciliation-system.js.map +1 -0
- package/dist/shared/redis-cache-adapter.d.ts +73 -0
- package/dist/shared/redis-cache-adapter.d.ts.map +1 -0
- package/dist/shared/redis-cache-adapter.js +294 -0
- package/dist/shared/redis-cache-adapter.js.map +1 -0
- package/dist/shared/redis-file-change-sync.d.ts +126 -0
- package/dist/shared/redis-file-change-sync.d.ts.map +1 -0
- package/dist/shared/redis-file-change-sync.js +779 -0
- package/dist/shared/redis-file-change-sync.js.map +1 -0
- package/dist/shared/semantic-enhancement-engine.d.ts +70 -0
- package/dist/shared/semantic-enhancement-engine.d.ts.map +1 -0
- package/dist/shared/semantic-enhancement-engine.js +127 -0
- package/dist/shared/semantic-enhancement-engine.js.map +1 -0
- package/dist/shared/task-specific-file-orchestrator.d.ts +107 -0
- package/dist/shared/task-specific-file-orchestrator.d.ts.map +1 -0
- package/dist/shared/task-specific-file-orchestrator.js +492 -0
- package/dist/shared/task-specific-file-orchestrator.js.map +1 -0
- package/dist/shared/tool-adapter.d.ts +27 -0
- package/dist/shared/tool-adapter.d.ts.map +1 -0
- package/dist/shared/tool-adapter.js +147 -0
- package/dist/shared/tool-adapter.js.map +1 -0
- package/dist/shared/tool-config-repository.d.ts +41 -0
- package/dist/shared/tool-config-repository.d.ts.map +1 -0
- package/dist/shared/tool-config-repository.js +178 -0
- package/dist/shared/tool-config-repository.js.map +1 -0
- package/dist/shared/tool-interface.d.ts +220 -0
- package/dist/shared/tool-interface.d.ts.map +1 -0
- package/dist/shared/tool-interface.js +357 -0
- package/dist/shared/tool-interface.js.map +1 -0
- package/dist/shared/tool-registry-initializer.d.ts +32 -0
- package/dist/shared/tool-registry-initializer.d.ts.map +1 -0
- package/dist/shared/tool-registry-initializer.js +173 -0
- package/dist/shared/tool-registry-initializer.js.map +1 -0
- package/dist/shared/types.d.ts +48 -0
- package/dist/shared/types.d.ts.map +1 -0
- package/dist/shared/types.js +6 -0
- package/dist/shared/types.js.map +1 -0
- package/dist/shared/validation-cycle/interfaces/index.d.ts +102 -0
- package/dist/shared/validation-cycle/interfaces/index.d.ts.map +1 -0
- package/dist/shared/validation-cycle/interfaces/index.js +7 -0
- package/dist/shared/validation-cycle/interfaces/index.js.map +1 -0
- package/dist/shared/validation-cycle/services/core-safety-service.d.ts +21 -0
- package/dist/shared/validation-cycle/services/core-safety-service.d.ts.map +1 -0
- package/dist/shared/validation-cycle/services/core-safety-service.js +339 -0
- package/dist/shared/validation-cycle/services/core-safety-service.js.map +1 -0
- package/dist/shared/validation-cycle/services/quality-validation-service.d.ts +24 -0
- package/dist/shared/validation-cycle/services/quality-validation-service.d.ts.map +1 -0
- package/dist/shared/validation-cycle/services/quality-validation-service.js +368 -0
- package/dist/shared/validation-cycle/services/quality-validation-service.js.map +1 -0
- package/dist/shared/validation-cycle/services/validation-aggregator-service.d.ts +28 -0
- package/dist/shared/validation-cycle/services/validation-aggregator-service.d.ts.map +1 -0
- package/dist/shared/validation-cycle/services/validation-aggregator-service.js +214 -0
- package/dist/shared/validation-cycle/services/validation-aggregator-service.js.map +1 -0
- package/dist/shared/validation-cycle/services/validation-report-service.d.ts +29 -0
- package/dist/shared/validation-cycle/services/validation-report-service.d.ts.map +1 -0
- package/dist/shared/validation-cycle/services/validation-report-service.js +304 -0
- package/dist/shared/validation-cycle/services/validation-report-service.js.map +1 -0
- package/dist/shared/validation-cycle/validation-cycle.d.ts +64 -0
- package/dist/shared/validation-cycle/validation-cycle.d.ts.map +1 -0
- package/dist/shared/validation-cycle/validation-cycle.js +226 -0
- package/dist/shared/validation-cycle/validation-cycle.js.map +1 -0
- package/dist/shared/validation-cycle.d.ts +12 -0
- package/dist/shared/validation-cycle.d.ts.map +1 -0
- package/dist/shared/validation-cycle.js +20 -0
- package/dist/shared/validation-cycle.js.map +1 -0
- package/dist/storage/embedded/graphology-graph-store.d.ts +39 -0
- package/dist/storage/embedded/graphology-graph-store.d.ts.map +1 -0
- package/dist/storage/embedded/graphology-graph-store.js +357 -0
- package/dist/storage/embedded/graphology-graph-store.js.map +1 -0
- package/dist/storage/embedded/index.d.ts +40 -0
- package/dist/storage/embedded/index.d.ts.map +1 -0
- package/dist/storage/embedded/index.js +154 -0
- package/dist/storage/embedded/index.js.map +1 -0
- package/dist/storage/embedded/lru-cache-store.d.ts +44 -0
- package/dist/storage/embedded/lru-cache-store.d.ts.map +1 -0
- package/dist/storage/embedded/lru-cache-store.js +232 -0
- package/dist/storage/embedded/lru-cache-store.js.map +1 -0
- package/dist/storage/embedded/minisearch-text-store.d.ts +62 -0
- package/dist/storage/embedded/minisearch-text-store.d.ts.map +1 -0
- package/dist/storage/embedded/minisearch-text-store.js +521 -0
- package/dist/storage/embedded/minisearch-text-store.js.map +1 -0
- package/dist/storage/embedded/sqlite-project-store.d.ts +29 -0
- package/dist/storage/embedded/sqlite-project-store.d.ts.map +1 -0
- package/dist/storage/embedded/sqlite-project-store.js +193 -0
- package/dist/storage/embedded/sqlite-project-store.js.map +1 -0
- package/dist/storage/embedded/sqlite-vector-store.d.ts +48 -0
- package/dist/storage/embedded/sqlite-vector-store.d.ts.map +1 -0
- package/dist/storage/embedded/sqlite-vector-store.js +462 -0
- package/dist/storage/embedded/sqlite-vector-store.js.map +1 -0
- package/dist/storage/index.d.ts +64 -0
- package/dist/storage/index.d.ts.map +1 -0
- package/dist/storage/index.js +84 -0
- package/dist/storage/index.js.map +1 -0
- package/dist/storage/interfaces.d.ts +259 -0
- package/dist/storage/interfaces.d.ts.map +1 -0
- package/dist/storage/interfaces.js +12 -0
- package/dist/storage/interfaces.js.map +1 -0
- package/dist/storage/server/elasticsearch-text-store.d.ts +82 -0
- package/dist/storage/server/elasticsearch-text-store.d.ts.map +1 -0
- package/dist/storage/server/elasticsearch-text-store.js +177 -0
- package/dist/storage/server/elasticsearch-text-store.js.map +1 -0
- package/dist/storage/server/index.d.ts +42 -0
- package/dist/storage/server/index.d.ts.map +1 -0
- package/dist/storage/server/index.js +109 -0
- package/dist/storage/server/index.js.map +1 -0
- package/dist/storage/server/neo4j-graph-store.d.ts +49 -0
- package/dist/storage/server/neo4j-graph-store.d.ts.map +1 -0
- package/dist/storage/server/neo4j-graph-store.js +357 -0
- package/dist/storage/server/neo4j-graph-store.js.map +1 -0
- package/dist/storage/server/postgres-project-store.d.ts +30 -0
- package/dist/storage/server/postgres-project-store.d.ts.map +1 -0
- package/dist/storage/server/postgres-project-store.js +146 -0
- package/dist/storage/server/postgres-project-store.js.map +1 -0
- package/dist/storage/server/postgres-vector-store.d.ts +51 -0
- package/dist/storage/server/postgres-vector-store.d.ts.map +1 -0
- package/dist/storage/server/postgres-vector-store.js +306 -0
- package/dist/storage/server/postgres-vector-store.js.map +1 -0
- package/dist/storage/server/redis-cache-store.d.ts +61 -0
- package/dist/storage/server/redis-cache-store.d.ts.map +1 -0
- package/dist/storage/server/redis-cache-store.js +209 -0
- package/dist/storage/server/redis-cache-store.js.map +1 -0
- package/dist/storage/storage-manager.d.ts +121 -0
- package/dist/storage/storage-manager.d.ts.map +1 -0
- package/dist/storage/storage-manager.js +444 -0
- package/dist/storage/storage-manager.js.map +1 -0
- package/dist/storage/storage-provider.d.ts +62 -0
- package/dist/storage/storage-provider.d.ts.map +1 -0
- package/dist/storage/storage-provider.js +257 -0
- package/dist/storage/storage-provider.js.map +1 -0
- package/dist/utils/cache.d.ts +66 -0
- package/dist/utils/cache.d.ts.map +1 -0
- package/dist/utils/cache.js +254 -0
- package/dist/utils/cache.js.map +1 -0
- package/dist/utils/cli-logger.d.ts +75 -0
- package/dist/utils/cli-logger.d.ts.map +1 -0
- package/dist/utils/cli-logger.js +217 -0
- package/dist/utils/cli-logger.js.map +1 -0
- package/dist/utils/colored-logger.d.ts +40 -0
- package/dist/utils/colored-logger.d.ts.map +1 -0
- package/dist/utils/colored-logger.js +233 -0
- package/dist/utils/colored-logger.js.map +1 -0
- package/dist/utils/config.d.ts +61 -0
- package/dist/utils/config.d.ts.map +1 -0
- package/dist/utils/config.js +230 -0
- package/dist/utils/config.js.map +1 -0
- package/dist/utils/file-system.d.ts +30 -0
- package/dist/utils/file-system.d.ts.map +1 -0
- package/dist/utils/file-system.js +207 -0
- package/dist/utils/file-system.js.map +1 -0
- package/dist/utils/hash.d.ts +79 -0
- package/dist/utils/hash.d.ts.map +1 -0
- package/dist/utils/hash.js +172 -0
- package/dist/utils/hash.js.map +1 -0
- package/dist/utils/logger.d.ts +39 -0
- package/dist/utils/logger.d.ts.map +1 -0
- package/dist/utils/logger.js +106 -0
- package/dist/utils/logger.js.map +1 -0
- package/package.json +150 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CodeSeeker Validation Cycle System - SOLID Architecture
|
|
3
|
+
*
|
|
4
|
+
* Implements automatic quality and safety validation that runs before every Claude Code response.
|
|
5
|
+
* Refactored using SOLID principles for better maintainability and testability.
|
|
6
|
+
*
|
|
7
|
+
* This module exports the SOLID-compliant validation cycle and maintains backward compatibility.
|
|
8
|
+
*/
|
|
9
|
+
export { CodeSeekerValidationCycle, createValidationCycle, DEFAULT_VALIDATION_CONFIG } from './validation-cycle/validation-cycle';
|
|
10
|
+
export type { ProjectContext, CycleResult, ValidationWarning, ValidationError, CycleConfig, SafetyCheckResult, QualityMetrics, ICoreSafetyService, IQualityValidationService, IValidationAggregatorService, IValidationReportService, IProjectAnalysisService } from './validation-cycle/interfaces/index';
|
|
11
|
+
export { CodeSeekerValidationCycle as default } from './validation-cycle/validation-cycle';
|
|
12
|
+
//# sourceMappingURL=validation-cycle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validation-cycle.d.ts","sourceRoot":"","sources":["../../src/shared/validation-cycle.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EACL,yBAAyB,EACzB,qBAAqB,EACrB,yBAAyB,EAC1B,MAAM,qCAAqC,CAAC;AAG7C,YAAY,EACV,cAAc,EACd,WAAW,EACX,iBAAiB,EACjB,eAAe,EACf,WAAW,EACX,iBAAiB,EACjB,cAAc,EACd,kBAAkB,EAClB,yBAAyB,EACzB,4BAA4B,EAC5B,wBAAwB,EACxB,uBAAuB,EACxB,MAAM,qCAAqC,CAAC;AAG7C,OAAO,EAAE,yBAAyB,IAAI,OAAO,EAAE,MAAM,qCAAqC,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* CodeSeeker Validation Cycle System - SOLID Architecture
|
|
4
|
+
*
|
|
5
|
+
* Implements automatic quality and safety validation that runs before every Claude Code response.
|
|
6
|
+
* Refactored using SOLID principles for better maintainability and testability.
|
|
7
|
+
*
|
|
8
|
+
* This module exports the SOLID-compliant validation cycle and maintains backward compatibility.
|
|
9
|
+
*/
|
|
10
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
+
exports.default = exports.DEFAULT_VALIDATION_CONFIG = exports.createValidationCycle = exports.CodeSeekerValidationCycle = void 0;
|
|
12
|
+
// Re-export the new SOLID-compliant validation cycle
|
|
13
|
+
var validation_cycle_1 = require("./validation-cycle/validation-cycle");
|
|
14
|
+
Object.defineProperty(exports, "CodeSeekerValidationCycle", { enumerable: true, get: function () { return validation_cycle_1.CodeSeekerValidationCycle; } });
|
|
15
|
+
Object.defineProperty(exports, "createValidationCycle", { enumerable: true, get: function () { return validation_cycle_1.createValidationCycle; } });
|
|
16
|
+
Object.defineProperty(exports, "DEFAULT_VALIDATION_CONFIG", { enumerable: true, get: function () { return validation_cycle_1.DEFAULT_VALIDATION_CONFIG; } });
|
|
17
|
+
// Legacy compatibility - create backward-compatible wrapper
|
|
18
|
+
var validation_cycle_2 = require("./validation-cycle/validation-cycle");
|
|
19
|
+
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return validation_cycle_2.CodeSeekerValidationCycle; } });
|
|
20
|
+
//# sourceMappingURL=validation-cycle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validation-cycle.js","sourceRoot":"","sources":["../../src/shared/validation-cycle.ts"],"names":[],"mappings":";AAAA;;;;;;;GAOG;;;AAEH,qDAAqD;AACrD,wEAI6C;AAH3C,6HAAA,yBAAyB,OAAA;AACzB,yHAAA,qBAAqB,OAAA;AACrB,6HAAA,yBAAyB,OAAA;AAmB3B,4DAA4D;AAC5D,wEAA2F;AAAlF,2GAAA,yBAAyB,OAAW"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Graphology-based Graph Store
|
|
3
|
+
*
|
|
4
|
+
* Provides in-memory graph database functionality using graphology with:
|
|
5
|
+
* - Directed graph for code relationships
|
|
6
|
+
* - Automatic JSON persistence to disk
|
|
7
|
+
* - Rich traversal and query capabilities
|
|
8
|
+
* - Zero external dependencies (no Neo4j server required)
|
|
9
|
+
*
|
|
10
|
+
* Persists graph state to JSON file periodically and on close.
|
|
11
|
+
*/
|
|
12
|
+
import { IGraphStore, GraphNode, GraphEdge } from '../interfaces';
|
|
13
|
+
export declare class GraphologyGraphStore implements IGraphStore {
|
|
14
|
+
private flushIntervalSeconds;
|
|
15
|
+
private graph;
|
|
16
|
+
private dataDir;
|
|
17
|
+
private dbPath;
|
|
18
|
+
private isDirty;
|
|
19
|
+
private flushTimer;
|
|
20
|
+
constructor(dataDir: string, flushIntervalSeconds?: number);
|
|
21
|
+
private loadFromDisk;
|
|
22
|
+
private saveToDisk;
|
|
23
|
+
private startFlushTimer;
|
|
24
|
+
upsertNode(node: GraphNode): Promise<void>;
|
|
25
|
+
upsertEdge(edge: GraphEdge): Promise<void>;
|
|
26
|
+
upsertNodes(nodes: GraphNode[]): Promise<void>;
|
|
27
|
+
upsertEdges(edges: GraphEdge[]): Promise<void>;
|
|
28
|
+
findNodes(projectId: string, type?: GraphNode['type']): Promise<GraphNode[]>;
|
|
29
|
+
getNode(id: string): Promise<GraphNode | null>;
|
|
30
|
+
getEdges(nodeId: string, direction?: 'in' | 'out' | 'both'): Promise<GraphEdge[]>;
|
|
31
|
+
getNeighbors(nodeId: string, edgeType?: GraphEdge['type']): Promise<GraphNode[]>;
|
|
32
|
+
findPath(sourceId: string, targetId: string, maxDepth?: number): Promise<GraphNode[]>;
|
|
33
|
+
deleteByProject(projectId: string): Promise<number>;
|
|
34
|
+
countNodes(projectId: string): Promise<number>;
|
|
35
|
+
flush(): Promise<void>;
|
|
36
|
+
close(): Promise<void>;
|
|
37
|
+
private extractProperties;
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=graphology-graph-store.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graphology-graph-store.d.ts","sourceRoot":"","sources":["../../../src/storage/embedded/graphology-graph-store.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAKH,OAAO,EACL,WAAW,EACX,SAAS,EACT,SAAS,EACV,MAAM,eAAe,CAAC;AAEvB,qBAAa,oBAAqB,YAAW,WAAW;IASpD,OAAO,CAAC,oBAAoB;IAR9B,OAAO,CAAC,KAAK,CAAQ;IACrB,OAAO,CAAC,OAAO,CAAS;IACxB,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,OAAO,CAAS;IACxB,OAAO,CAAC,UAAU,CAA+B;gBAG/C,OAAO,EAAE,MAAM,EACP,oBAAoB,SAAK;IAcnC,OAAO,CAAC,YAAY;IA4BpB,OAAO,CAAC,UAAU;IAsBlB,OAAO,CAAC,eAAe;IAUjB,UAAU,CAAC,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC;IAkB1C,UAAU,CAAC,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC;IAyB1C,WAAW,CAAC,KAAK,EAAE,SAAS,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAM9C,WAAW,CAAC,KAAK,EAAE,SAAS,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAM9C,SAAS,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IAqB5E,OAAO,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,GAAG,IAAI,CAAC;IAgB9C,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,GAAE,IAAI,GAAG,KAAK,GAAG,MAAe,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IAkCzF,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IAoChF,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,SAAI,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IAmDhF,eAAe,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAiBnD,UAAU,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAU9C,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAItB,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAS5B,OAAO,CAAC,iBAAiB;CAc1B"}
|
|
@@ -0,0 +1,357 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Graphology-based Graph Store
|
|
4
|
+
*
|
|
5
|
+
* Provides in-memory graph database functionality using graphology with:
|
|
6
|
+
* - Directed graph for code relationships
|
|
7
|
+
* - Automatic JSON persistence to disk
|
|
8
|
+
* - Rich traversal and query capabilities
|
|
9
|
+
* - Zero external dependencies (no Neo4j server required)
|
|
10
|
+
*
|
|
11
|
+
* Persists graph state to JSON file periodically and on close.
|
|
12
|
+
*/
|
|
13
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
16
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
17
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
18
|
+
}
|
|
19
|
+
Object.defineProperty(o, k2, desc);
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
30
|
+
var ownKeys = function(o) {
|
|
31
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
32
|
+
var ar = [];
|
|
33
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
34
|
+
return ar;
|
|
35
|
+
};
|
|
36
|
+
return ownKeys(o);
|
|
37
|
+
};
|
|
38
|
+
return function (mod) {
|
|
39
|
+
if (mod && mod.__esModule) return mod;
|
|
40
|
+
var result = {};
|
|
41
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
42
|
+
__setModuleDefault(result, mod);
|
|
43
|
+
return result;
|
|
44
|
+
};
|
|
45
|
+
})();
|
|
46
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
47
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
48
|
+
};
|
|
49
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
50
|
+
exports.GraphologyGraphStore = void 0;
|
|
51
|
+
const graphology_1 = __importDefault(require("graphology"));
|
|
52
|
+
const path = __importStar(require("path"));
|
|
53
|
+
const fs = __importStar(require("fs"));
|
|
54
|
+
class GraphologyGraphStore {
|
|
55
|
+
flushIntervalSeconds;
|
|
56
|
+
graph;
|
|
57
|
+
dataDir;
|
|
58
|
+
dbPath;
|
|
59
|
+
isDirty = false;
|
|
60
|
+
flushTimer = null;
|
|
61
|
+
constructor(dataDir, flushIntervalSeconds = 30) {
|
|
62
|
+
this.flushIntervalSeconds = flushIntervalSeconds;
|
|
63
|
+
this.dataDir = dataDir;
|
|
64
|
+
this.dbPath = path.join(dataDir, 'graph.json');
|
|
65
|
+
// Ensure data directory exists
|
|
66
|
+
fs.mkdirSync(dataDir, { recursive: true });
|
|
67
|
+
// Create or load graph
|
|
68
|
+
this.graph = new graphology_1.default({ type: 'directed', allowSelfLoops: false });
|
|
69
|
+
this.loadFromDisk();
|
|
70
|
+
this.startFlushTimer();
|
|
71
|
+
}
|
|
72
|
+
loadFromDisk() {
|
|
73
|
+
try {
|
|
74
|
+
if (fs.existsSync(this.dbPath)) {
|
|
75
|
+
const data = fs.readFileSync(this.dbPath, 'utf-8');
|
|
76
|
+
const parsed = JSON.parse(data);
|
|
77
|
+
// Import nodes
|
|
78
|
+
if (parsed.nodes) {
|
|
79
|
+
for (const node of parsed.nodes) {
|
|
80
|
+
this.graph.addNode(node.key, node.attributes);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
// Import edges
|
|
84
|
+
if (parsed.edges) {
|
|
85
|
+
for (const edge of parsed.edges) {
|
|
86
|
+
if (!this.graph.hasEdge(edge.source, edge.target)) {
|
|
87
|
+
this.graph.addEdge(edge.source, edge.target, edge.attributes);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
catch (error) {
|
|
94
|
+
console.warn('Failed to load graph from disk, starting fresh:', error);
|
|
95
|
+
this.graph = new graphology_1.default({ type: 'directed', allowSelfLoops: false });
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
saveToDisk() {
|
|
99
|
+
try {
|
|
100
|
+
const data = {
|
|
101
|
+
nodes: this.graph.nodes().map(key => ({
|
|
102
|
+
key,
|
|
103
|
+
attributes: this.graph.getNodeAttributes(key)
|
|
104
|
+
})),
|
|
105
|
+
edges: this.graph.edges().map(key => ({
|
|
106
|
+
key,
|
|
107
|
+
source: this.graph.source(key),
|
|
108
|
+
target: this.graph.target(key),
|
|
109
|
+
attributes: this.graph.getEdgeAttributes(key)
|
|
110
|
+
}))
|
|
111
|
+
};
|
|
112
|
+
fs.writeFileSync(this.dbPath, JSON.stringify(data, null, 2), 'utf-8');
|
|
113
|
+
this.isDirty = false;
|
|
114
|
+
}
|
|
115
|
+
catch (error) {
|
|
116
|
+
console.error('Failed to save graph to disk:', error);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
startFlushTimer() {
|
|
120
|
+
if (this.flushIntervalSeconds > 0) {
|
|
121
|
+
this.flushTimer = setInterval(() => {
|
|
122
|
+
if (this.isDirty) {
|
|
123
|
+
this.flush().catch(console.error);
|
|
124
|
+
}
|
|
125
|
+
}, this.flushIntervalSeconds * 1000);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
async upsertNode(node) {
|
|
129
|
+
const attributes = {
|
|
130
|
+
type: node.type,
|
|
131
|
+
name: node.name,
|
|
132
|
+
filePath: node.filePath,
|
|
133
|
+
projectId: node.projectId,
|
|
134
|
+
...node.properties
|
|
135
|
+
};
|
|
136
|
+
if (this.graph.hasNode(node.id)) {
|
|
137
|
+
this.graph.mergeNodeAttributes(node.id, attributes);
|
|
138
|
+
}
|
|
139
|
+
else {
|
|
140
|
+
this.graph.addNode(node.id, attributes);
|
|
141
|
+
}
|
|
142
|
+
this.isDirty = true;
|
|
143
|
+
}
|
|
144
|
+
async upsertEdge(edge) {
|
|
145
|
+
// Ensure both nodes exist
|
|
146
|
+
if (!this.graph.hasNode(edge.source)) {
|
|
147
|
+
this.graph.addNode(edge.source, {});
|
|
148
|
+
}
|
|
149
|
+
if (!this.graph.hasNode(edge.target)) {
|
|
150
|
+
this.graph.addNode(edge.target, {});
|
|
151
|
+
}
|
|
152
|
+
const attributes = {
|
|
153
|
+
type: edge.type,
|
|
154
|
+
...edge.properties
|
|
155
|
+
};
|
|
156
|
+
// Check if edge already exists
|
|
157
|
+
const existingEdge = this.graph.edge(edge.source, edge.target);
|
|
158
|
+
if (existingEdge) {
|
|
159
|
+
this.graph.mergeEdgeAttributes(existingEdge, attributes);
|
|
160
|
+
}
|
|
161
|
+
else {
|
|
162
|
+
this.graph.addEdge(edge.source, edge.target, attributes);
|
|
163
|
+
}
|
|
164
|
+
this.isDirty = true;
|
|
165
|
+
}
|
|
166
|
+
async upsertNodes(nodes) {
|
|
167
|
+
for (const node of nodes) {
|
|
168
|
+
await this.upsertNode(node);
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
async upsertEdges(edges) {
|
|
172
|
+
for (const edge of edges) {
|
|
173
|
+
await this.upsertEdge(edge);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
async findNodes(projectId, type) {
|
|
177
|
+
const nodes = [];
|
|
178
|
+
this.graph.forEachNode((nodeId, attributes) => {
|
|
179
|
+
if (attributes.projectId === projectId) {
|
|
180
|
+
if (!type || attributes.type === type) {
|
|
181
|
+
nodes.push({
|
|
182
|
+
id: nodeId,
|
|
183
|
+
type: attributes.type,
|
|
184
|
+
name: attributes.name,
|
|
185
|
+
filePath: attributes.filePath,
|
|
186
|
+
projectId: attributes.projectId,
|
|
187
|
+
properties: this.extractProperties(attributes)
|
|
188
|
+
});
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
});
|
|
192
|
+
return nodes;
|
|
193
|
+
}
|
|
194
|
+
async getNode(id) {
|
|
195
|
+
if (!this.graph.hasNode(id)) {
|
|
196
|
+
return null;
|
|
197
|
+
}
|
|
198
|
+
const attributes = this.graph.getNodeAttributes(id);
|
|
199
|
+
return {
|
|
200
|
+
id,
|
|
201
|
+
type: attributes.type,
|
|
202
|
+
name: attributes.name,
|
|
203
|
+
filePath: attributes.filePath,
|
|
204
|
+
projectId: attributes.projectId,
|
|
205
|
+
properties: this.extractProperties(attributes)
|
|
206
|
+
};
|
|
207
|
+
}
|
|
208
|
+
async getEdges(nodeId, direction = 'both') {
|
|
209
|
+
if (!this.graph.hasNode(nodeId)) {
|
|
210
|
+
return [];
|
|
211
|
+
}
|
|
212
|
+
const edges = [];
|
|
213
|
+
if (direction === 'out' || direction === 'both') {
|
|
214
|
+
this.graph.forEachOutEdge(nodeId, (edgeId, attributes, source, target) => {
|
|
215
|
+
edges.push({
|
|
216
|
+
id: edgeId,
|
|
217
|
+
source,
|
|
218
|
+
target,
|
|
219
|
+
type: attributes.type,
|
|
220
|
+
properties: this.extractProperties(attributes)
|
|
221
|
+
});
|
|
222
|
+
});
|
|
223
|
+
}
|
|
224
|
+
if (direction === 'in' || direction === 'both') {
|
|
225
|
+
this.graph.forEachInEdge(nodeId, (edgeId, attributes, source, target) => {
|
|
226
|
+
edges.push({
|
|
227
|
+
id: edgeId,
|
|
228
|
+
source,
|
|
229
|
+
target,
|
|
230
|
+
type: attributes.type,
|
|
231
|
+
properties: this.extractProperties(attributes)
|
|
232
|
+
});
|
|
233
|
+
});
|
|
234
|
+
}
|
|
235
|
+
return edges;
|
|
236
|
+
}
|
|
237
|
+
async getNeighbors(nodeId, edgeType) {
|
|
238
|
+
if (!this.graph.hasNode(nodeId)) {
|
|
239
|
+
return [];
|
|
240
|
+
}
|
|
241
|
+
const neighbors = [];
|
|
242
|
+
const neighborIds = new Set();
|
|
243
|
+
this.graph.forEachNeighbor(nodeId, (neighborId, attributes) => {
|
|
244
|
+
// Check edge type if specified
|
|
245
|
+
if (edgeType) {
|
|
246
|
+
const edge = this.graph.edge(nodeId, neighborId) || this.graph.edge(neighborId, nodeId);
|
|
247
|
+
if (edge) {
|
|
248
|
+
const edgeAttrs = this.graph.getEdgeAttributes(edge);
|
|
249
|
+
if (edgeAttrs.type !== edgeType) {
|
|
250
|
+
return;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
if (!neighborIds.has(neighborId)) {
|
|
255
|
+
neighborIds.add(neighborId);
|
|
256
|
+
neighbors.push({
|
|
257
|
+
id: neighborId,
|
|
258
|
+
type: attributes.type,
|
|
259
|
+
name: attributes.name,
|
|
260
|
+
filePath: attributes.filePath,
|
|
261
|
+
projectId: attributes.projectId,
|
|
262
|
+
properties: this.extractProperties(attributes)
|
|
263
|
+
});
|
|
264
|
+
}
|
|
265
|
+
});
|
|
266
|
+
return neighbors;
|
|
267
|
+
}
|
|
268
|
+
async findPath(sourceId, targetId, maxDepth = 5) {
|
|
269
|
+
if (!this.graph.hasNode(sourceId) || !this.graph.hasNode(targetId)) {
|
|
270
|
+
return [];
|
|
271
|
+
}
|
|
272
|
+
// BFS to find shortest path
|
|
273
|
+
const visited = new Set();
|
|
274
|
+
const parent = new Map();
|
|
275
|
+
const queue = [{ id: sourceId, depth: 0 }];
|
|
276
|
+
visited.add(sourceId);
|
|
277
|
+
while (queue.length > 0) {
|
|
278
|
+
const current = queue.shift();
|
|
279
|
+
if (current.id === targetId) {
|
|
280
|
+
// Reconstruct path
|
|
281
|
+
const path = [];
|
|
282
|
+
let node = targetId;
|
|
283
|
+
while (node) {
|
|
284
|
+
path.unshift(node);
|
|
285
|
+
node = parent.get(node);
|
|
286
|
+
}
|
|
287
|
+
// Convert to GraphNode[]
|
|
288
|
+
const result = [];
|
|
289
|
+
for (const nodeId of path) {
|
|
290
|
+
const graphNode = await this.getNode(nodeId);
|
|
291
|
+
if (graphNode) {
|
|
292
|
+
result.push(graphNode);
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
return result;
|
|
296
|
+
}
|
|
297
|
+
if (current.depth >= maxDepth) {
|
|
298
|
+
continue;
|
|
299
|
+
}
|
|
300
|
+
this.graph.forEachNeighbor(current.id, (neighborId) => {
|
|
301
|
+
if (!visited.has(neighborId)) {
|
|
302
|
+
visited.add(neighborId);
|
|
303
|
+
parent.set(neighborId, current.id);
|
|
304
|
+
queue.push({ id: neighborId, depth: current.depth + 1 });
|
|
305
|
+
}
|
|
306
|
+
});
|
|
307
|
+
}
|
|
308
|
+
return [];
|
|
309
|
+
}
|
|
310
|
+
async deleteByProject(projectId) {
|
|
311
|
+
const nodesToDelete = [];
|
|
312
|
+
this.graph.forEachNode((nodeId, attributes) => {
|
|
313
|
+
if (attributes.projectId === projectId) {
|
|
314
|
+
nodesToDelete.push(nodeId);
|
|
315
|
+
}
|
|
316
|
+
});
|
|
317
|
+
for (const nodeId of nodesToDelete) {
|
|
318
|
+
this.graph.dropNode(nodeId);
|
|
319
|
+
}
|
|
320
|
+
this.isDirty = true;
|
|
321
|
+
return nodesToDelete.length;
|
|
322
|
+
}
|
|
323
|
+
async countNodes(projectId) {
|
|
324
|
+
let count = 0;
|
|
325
|
+
this.graph.forEachNode((_, attributes) => {
|
|
326
|
+
if (attributes.projectId === projectId) {
|
|
327
|
+
count++;
|
|
328
|
+
}
|
|
329
|
+
});
|
|
330
|
+
return count;
|
|
331
|
+
}
|
|
332
|
+
async flush() {
|
|
333
|
+
this.saveToDisk();
|
|
334
|
+
}
|
|
335
|
+
async close() {
|
|
336
|
+
if (this.flushTimer) {
|
|
337
|
+
clearInterval(this.flushTimer);
|
|
338
|
+
this.flushTimer = null;
|
|
339
|
+
}
|
|
340
|
+
await this.flush();
|
|
341
|
+
}
|
|
342
|
+
// Extract custom properties from attributes
|
|
343
|
+
extractProperties(attributes) {
|
|
344
|
+
const reserved = ['type', 'name', 'filePath', 'projectId'];
|
|
345
|
+
const properties = {};
|
|
346
|
+
let hasProperties = false;
|
|
347
|
+
for (const [key, value] of Object.entries(attributes)) {
|
|
348
|
+
if (!reserved.includes(key)) {
|
|
349
|
+
properties[key] = value;
|
|
350
|
+
hasProperties = true;
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
return hasProperties ? properties : undefined;
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
exports.GraphologyGraphStore = GraphologyGraphStore;
|
|
357
|
+
//# sourceMappingURL=graphology-graph-store.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graphology-graph-store.js","sourceRoot":"","sources":["../../../src/storage/embedded/graphology-graph-store.ts"],"names":[],"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CAAC;IACf,CAAC;IAED,KAAK,CAAC,KAAK;QACT,IAAI,CAAC,UAAU,EAAE,CAAC;IACpB,CAAC;IAED,KAAK,CAAC,KAAK;QACT,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;YACpB,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;YAC/B,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;QACzB,CAAC;QACD,MAAM,IAAI,CAAC,KAAK,EAAE,CAAC;IACrB,CAAC;IAED,4CAA4C;IACpC,iBAAiB,CAAC,UAAmC;QAC3D,MAAM,QAAQ,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,WAAW,CAAC,CAAC;QAC3D,MAAM,UAAU,GAA4B,EAAE,CAAC;QAC/C,IAAI,aAAa,GAAG,KAAK,CAAC;QAE1B,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE,CAAC;YACtD,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;gBAC5B,UAAU,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;gBACxB,aAAa,GAAG,IAAI,CAAC;YACvB,CAAC;QACH,CAAC;QAED,OAAO,aAAa,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;IAChD,CAAC;CACF;AA9VD,oDA8VC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Embedded Storage Provider
|
|
3
|
+
*
|
|
4
|
+
* Zero-infrastructure storage using:
|
|
5
|
+
* - SQLite + better-sqlite3 for vector search and projects
|
|
6
|
+
* - Graphology for graph database
|
|
7
|
+
* - LRU-cache for caching
|
|
8
|
+
*
|
|
9
|
+
* All data persists to ~/.codeseeker/data by default.
|
|
10
|
+
* No Docker, no external services required.
|
|
11
|
+
*/
|
|
12
|
+
import { IStorageProvider, IVectorStore, IGraphStore, ICacheStore, IProjectStore, ITextStore, StorageMode, StorageConfig } from '../interfaces';
|
|
13
|
+
export declare class EmbeddedStorageProvider implements IStorageProvider {
|
|
14
|
+
private vectorStore;
|
|
15
|
+
private graphStore;
|
|
16
|
+
private cacheStore;
|
|
17
|
+
private projectStore;
|
|
18
|
+
private dataDir;
|
|
19
|
+
constructor(config?: StorageConfig);
|
|
20
|
+
private getDefaultDataDir;
|
|
21
|
+
getVectorStore(): IVectorStore;
|
|
22
|
+
getGraphStore(): IGraphStore;
|
|
23
|
+
getCacheStore(): ICacheStore;
|
|
24
|
+
getProjectStore(): IProjectStore;
|
|
25
|
+
getTextStore(): ITextStore;
|
|
26
|
+
getMode(): StorageMode;
|
|
27
|
+
getDataDir(): string;
|
|
28
|
+
flushAll(): Promise<void>;
|
|
29
|
+
closeAll(): Promise<void>;
|
|
30
|
+
healthCheck(): Promise<{
|
|
31
|
+
healthy: boolean;
|
|
32
|
+
details: Record<string, boolean>;
|
|
33
|
+
}>;
|
|
34
|
+
}
|
|
35
|
+
export { SQLiteVectorStore } from './sqlite-vector-store';
|
|
36
|
+
export { GraphologyGraphStore } from './graphology-graph-store';
|
|
37
|
+
export { LRUCacheStore } from './lru-cache-store';
|
|
38
|
+
export { SQLiteProjectStore } from './sqlite-project-store';
|
|
39
|
+
export { MiniSearchTextStore } from './minisearch-text-store';
|
|
40
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/storage/embedded/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAKH,OAAO,EACL,gBAAgB,EAChB,YAAY,EACZ,WAAW,EACX,WAAW,EACX,aAAa,EACb,UAAU,EACV,WAAW,EACX,aAAa,EACd,MAAM,eAAe,CAAC;AAOvB,qBAAa,uBAAwB,YAAW,gBAAgB;IAC9D,OAAO,CAAC,WAAW,CAAoB;IACvC,OAAO,CAAC,UAAU,CAAuB;IACzC,OAAO,CAAC,UAAU,CAAgB;IAClC,OAAO,CAAC,YAAY,CAAqB;IACzC,OAAO,CAAC,OAAO,CAAS;gBAEZ,MAAM,CAAC,EAAE,aAAa;IAkBlC,OAAO,CAAC,iBAAiB;IAgBzB,cAAc,IAAI,YAAY;IAI9B,aAAa,IAAI,WAAW;IAI5B,aAAa,IAAI,WAAW;IAI5B,eAAe,IAAI,aAAa;IAIhC,YAAY,IAAI,UAAU;IAK1B,OAAO,IAAI,WAAW;IAItB,UAAU,IAAI,MAAM;IAId,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;IASzB,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;IASzB,WAAW,IAAI,OAAO,CAAC;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KAAE,CAAC;CAcrF;AAGD,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Embedded Storage Provider
|
|
4
|
+
*
|
|
5
|
+
* Zero-infrastructure storage using:
|
|
6
|
+
* - SQLite + better-sqlite3 for vector search and projects
|
|
7
|
+
* - Graphology for graph database
|
|
8
|
+
* - LRU-cache for caching
|
|
9
|
+
*
|
|
10
|
+
* All data persists to ~/.codeseeker/data by default.
|
|
11
|
+
* No Docker, no external services required.
|
|
12
|
+
*/
|
|
13
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
16
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
17
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
18
|
+
}
|
|
19
|
+
Object.defineProperty(o, k2, desc);
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
30
|
+
var ownKeys = function(o) {
|
|
31
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
32
|
+
var ar = [];
|
|
33
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
34
|
+
return ar;
|
|
35
|
+
};
|
|
36
|
+
return ownKeys(o);
|
|
37
|
+
};
|
|
38
|
+
return function (mod) {
|
|
39
|
+
if (mod && mod.__esModule) return mod;
|
|
40
|
+
var result = {};
|
|
41
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
42
|
+
__setModuleDefault(result, mod);
|
|
43
|
+
return result;
|
|
44
|
+
};
|
|
45
|
+
})();
|
|
46
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
47
|
+
exports.MiniSearchTextStore = exports.SQLiteProjectStore = exports.LRUCacheStore = exports.GraphologyGraphStore = exports.SQLiteVectorStore = exports.EmbeddedStorageProvider = void 0;
|
|
48
|
+
const path = __importStar(require("path"));
|
|
49
|
+
const os = __importStar(require("os"));
|
|
50
|
+
const fs = __importStar(require("fs"));
|
|
51
|
+
const sqlite_vector_store_1 = require("./sqlite-vector-store");
|
|
52
|
+
const graphology_graph_store_1 = require("./graphology-graph-store");
|
|
53
|
+
const lru_cache_store_1 = require("./lru-cache-store");
|
|
54
|
+
const sqlite_project_store_1 = require("./sqlite-project-store");
|
|
55
|
+
class EmbeddedStorageProvider {
|
|
56
|
+
vectorStore;
|
|
57
|
+
graphStore;
|
|
58
|
+
cacheStore;
|
|
59
|
+
projectStore;
|
|
60
|
+
dataDir;
|
|
61
|
+
constructor(config) {
|
|
62
|
+
// Determine data directory
|
|
63
|
+
this.dataDir = config?.dataDir || this.getDefaultDataDir();
|
|
64
|
+
// Ensure data directory exists
|
|
65
|
+
fs.mkdirSync(this.dataDir, { recursive: true });
|
|
66
|
+
const flushInterval = config?.flushIntervalSeconds ?? 30;
|
|
67
|
+
// Initialize all stores
|
|
68
|
+
this.vectorStore = new sqlite_vector_store_1.SQLiteVectorStore(this.dataDir, flushInterval);
|
|
69
|
+
this.graphStore = new graphology_graph_store_1.GraphologyGraphStore(this.dataDir, flushInterval);
|
|
70
|
+
this.cacheStore = new lru_cache_store_1.LRUCacheStore(this.dataDir, flushInterval);
|
|
71
|
+
this.projectStore = new sqlite_project_store_1.SQLiteProjectStore(this.dataDir, flushInterval);
|
|
72
|
+
// Silent initialization - verbose output handled by CLI when needed
|
|
73
|
+
}
|
|
74
|
+
getDefaultDataDir() {
|
|
75
|
+
// Platform-specific default locations
|
|
76
|
+
const platform = os.platform();
|
|
77
|
+
if (platform === 'win32') {
|
|
78
|
+
// Windows: %APPDATA%\codeseeker\data
|
|
79
|
+
return path.join(process.env.APPDATA || path.join(os.homedir(), 'AppData', 'Roaming'), 'codeseeker', 'data');
|
|
80
|
+
}
|
|
81
|
+
else if (platform === 'darwin') {
|
|
82
|
+
// macOS: ~/Library/Application Support/codeseeker/data
|
|
83
|
+
return path.join(os.homedir(), 'Library', 'Application Support', 'codeseeker', 'data');
|
|
84
|
+
}
|
|
85
|
+
else {
|
|
86
|
+
// Linux/Unix: ~/.local/share/codeseeker/data (XDG standard)
|
|
87
|
+
return path.join(process.env.XDG_DATA_HOME || path.join(os.homedir(), '.local', 'share'), 'codeseeker', 'data');
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
getVectorStore() {
|
|
91
|
+
return this.vectorStore;
|
|
92
|
+
}
|
|
93
|
+
getGraphStore() {
|
|
94
|
+
return this.graphStore;
|
|
95
|
+
}
|
|
96
|
+
getCacheStore() {
|
|
97
|
+
return this.cacheStore;
|
|
98
|
+
}
|
|
99
|
+
getProjectStore() {
|
|
100
|
+
return this.projectStore;
|
|
101
|
+
}
|
|
102
|
+
getTextStore() {
|
|
103
|
+
// Text store is integrated into the vector store (MiniSearch)
|
|
104
|
+
return this.vectorStore.getTextStore();
|
|
105
|
+
}
|
|
106
|
+
getMode() {
|
|
107
|
+
return 'embedded';
|
|
108
|
+
}
|
|
109
|
+
getDataDir() {
|
|
110
|
+
return this.dataDir;
|
|
111
|
+
}
|
|
112
|
+
async flushAll() {
|
|
113
|
+
await Promise.all([
|
|
114
|
+
this.vectorStore.flush(),
|
|
115
|
+
this.graphStore.flush(),
|
|
116
|
+
this.cacheStore.flush(),
|
|
117
|
+
this.projectStore.flush()
|
|
118
|
+
]);
|
|
119
|
+
}
|
|
120
|
+
async closeAll() {
|
|
121
|
+
await Promise.all([
|
|
122
|
+
this.vectorStore.close(),
|
|
123
|
+
this.graphStore.close(),
|
|
124
|
+
this.cacheStore.close(),
|
|
125
|
+
this.projectStore.close()
|
|
126
|
+
]);
|
|
127
|
+
}
|
|
128
|
+
async healthCheck() {
|
|
129
|
+
const details = {
|
|
130
|
+
vectorStore: true,
|
|
131
|
+
graphStore: true,
|
|
132
|
+
cacheStore: true,
|
|
133
|
+
projectStore: true
|
|
134
|
+
};
|
|
135
|
+
// For embedded storage, all stores are always "healthy" if they initialized
|
|
136
|
+
return {
|
|
137
|
+
healthy: true,
|
|
138
|
+
details
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
exports.EmbeddedStorageProvider = EmbeddedStorageProvider;
|
|
143
|
+
// Re-export individual stores for direct use
|
|
144
|
+
var sqlite_vector_store_2 = require("./sqlite-vector-store");
|
|
145
|
+
Object.defineProperty(exports, "SQLiteVectorStore", { enumerable: true, get: function () { return sqlite_vector_store_2.SQLiteVectorStore; } });
|
|
146
|
+
var graphology_graph_store_2 = require("./graphology-graph-store");
|
|
147
|
+
Object.defineProperty(exports, "GraphologyGraphStore", { enumerable: true, get: function () { return graphology_graph_store_2.GraphologyGraphStore; } });
|
|
148
|
+
var lru_cache_store_2 = require("./lru-cache-store");
|
|
149
|
+
Object.defineProperty(exports, "LRUCacheStore", { enumerable: true, get: function () { return lru_cache_store_2.LRUCacheStore; } });
|
|
150
|
+
var sqlite_project_store_2 = require("./sqlite-project-store");
|
|
151
|
+
Object.defineProperty(exports, "SQLiteProjectStore", { enumerable: true, get: function () { return sqlite_project_store_2.SQLiteProjectStore; } });
|
|
152
|
+
var minisearch_text_store_1 = require("./minisearch-text-store");
|
|
153
|
+
Object.defineProperty(exports, "MiniSearchTextStore", { enumerable: true, get: function () { return minisearch_text_store_1.MiniSearchTextStore; } });
|
|
154
|
+
//# sourceMappingURL=index.js.map
|