@skillsmith/core 0.4.10 → 0.4.12

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.
Files changed (130) hide show
  1. package/dist/.tsbuildinfo +1 -1
  2. package/dist/src/analysis/__tests__/incremental.test.d.ts +1 -1
  3. package/dist/src/analysis/__tests__/incremental.test.js +1 -1
  4. package/dist/src/analysis/__tests__/integration.test.d.ts +1 -1
  5. package/dist/src/analysis/__tests__/integration.test.js +1 -1
  6. package/dist/src/analysis/__tests__/performance.test.d.ts +1 -1
  7. package/dist/src/analysis/__tests__/performance.test.js +1 -1
  8. package/dist/src/analysis/adapters/__tests__/python.test.d.ts +1 -1
  9. package/dist/src/analysis/adapters/__tests__/python.test.js +1 -1
  10. package/dist/src/analysis/adapters/__tests__/typescript.test.d.ts +1 -1
  11. package/dist/src/analysis/adapters/__tests__/typescript.test.js +1 -1
  12. package/dist/src/analysis/adapters/base.d.ts +1 -1
  13. package/dist/src/analysis/adapters/base.js +1 -1
  14. package/dist/src/analysis/adapters/factory.d.ts +1 -1
  15. package/dist/src/analysis/adapters/factory.js +1 -1
  16. package/dist/src/analysis/adapters/go.d.ts +1 -1
  17. package/dist/src/analysis/adapters/go.js +1 -1
  18. package/dist/src/analysis/adapters/index.d.ts +1 -1
  19. package/dist/src/analysis/adapters/index.js +1 -1
  20. package/dist/src/analysis/adapters/java-parsers.d.ts +1 -1
  21. package/dist/src/analysis/adapters/java-parsers.js +1 -1
  22. package/dist/src/analysis/adapters/java.d.ts +1 -1
  23. package/dist/src/analysis/adapters/java.js +1 -1
  24. package/dist/src/analysis/adapters/python-frameworks.d.ts +1 -1
  25. package/dist/src/analysis/adapters/python-frameworks.js +1 -1
  26. package/dist/src/analysis/adapters/python.d.ts +1 -1
  27. package/dist/src/analysis/adapters/python.js +1 -1
  28. package/dist/src/analysis/adapters/rust-parsers.d.ts +1 -1
  29. package/dist/src/analysis/adapters/rust-parsers.js +1 -1
  30. package/dist/src/analysis/adapters/rust.d.ts +1 -1
  31. package/dist/src/analysis/adapters/rust.js +1 -1
  32. package/dist/src/analysis/adapters/typescript.d.ts +1 -1
  33. package/dist/src/analysis/adapters/typescript.js +1 -1
  34. package/dist/src/analysis/aggregator.d.ts +1 -1
  35. package/dist/src/analysis/aggregator.js +1 -1
  36. package/dist/src/analysis/cache.d.ts +1 -1
  37. package/dist/src/analysis/cache.js +1 -1
  38. package/dist/src/analysis/file-streamer.d.ts +1 -1
  39. package/dist/src/analysis/file-streamer.js +1 -1
  40. package/dist/src/analysis/incremental-parser.d.ts +1 -1
  41. package/dist/src/analysis/incremental-parser.js +1 -1
  42. package/dist/src/analysis/incremental.d.ts +1 -1
  43. package/dist/src/analysis/incremental.js +1 -1
  44. package/dist/src/analysis/index.d.ts +1 -1
  45. package/dist/src/analysis/index.js +1 -1
  46. package/dist/src/analysis/language-detector.d.ts +1 -1
  47. package/dist/src/analysis/language-detector.js +1 -1
  48. package/dist/src/analysis/memory-monitor.d.ts +1 -1
  49. package/dist/src/analysis/memory-monitor.js +1 -1
  50. package/dist/src/analysis/metrics.d.ts +1 -1
  51. package/dist/src/analysis/metrics.js +1 -1
  52. package/dist/src/analysis/router.d.ts +1 -1
  53. package/dist/src/analysis/router.js +1 -1
  54. package/dist/src/analysis/tree-cache.d.ts +1 -1
  55. package/dist/src/analysis/tree-cache.js +1 -1
  56. package/dist/src/analysis/tree-sitter/manager.d.ts +1 -1
  57. package/dist/src/analysis/tree-sitter/manager.js +1 -1
  58. package/dist/src/analysis/types.d.ts +1 -1
  59. package/dist/src/analysis/types.js +1 -1
  60. package/dist/src/analysis/worker-pool.d.ts +1 -1
  61. package/dist/src/analysis/worker-pool.js +1 -1
  62. package/dist/src/analysis/worker-types.d.ts +1 -1
  63. package/dist/src/analysis/worker-types.js +1 -1
  64. package/dist/src/analysis/worker-utils.d.ts +1 -1
  65. package/dist/src/analysis/worker-utils.js +1 -1
  66. package/dist/src/config/index.d.ts +49 -1
  67. package/dist/src/config/index.d.ts.map +1 -1
  68. package/dist/src/config/index.js +166 -3
  69. package/dist/src/config/index.js.map +1 -1
  70. package/dist/src/config/index.test.d.ts +11 -0
  71. package/dist/src/config/index.test.d.ts.map +1 -0
  72. package/dist/src/config/index.test.js +288 -0
  73. package/dist/src/config/index.test.js.map +1 -0
  74. package/dist/src/db/quarantine-approvals-schema.d.ts +37 -0
  75. package/dist/src/db/quarantine-approvals-schema.d.ts.map +1 -0
  76. package/dist/src/db/quarantine-approvals-schema.js +71 -0
  77. package/dist/src/db/quarantine-approvals-schema.js.map +1 -0
  78. package/dist/src/embeddings/embedding-utils.d.ts +3 -3
  79. package/dist/src/embeddings/embedding-utils.d.ts.map +1 -1
  80. package/dist/src/embeddings/embedding-utils.js +3 -3
  81. package/dist/src/embeddings/embedding-utils.js.map +1 -1
  82. package/dist/src/embeddings/index.d.ts +1 -1
  83. package/dist/src/embeddings/index.js +3 -3
  84. package/dist/src/embeddings/index.js.map +1 -1
  85. package/dist/src/index.d.ts +1 -1
  86. package/dist/src/index.d.ts.map +1 -1
  87. package/dist/src/index.js +2 -2
  88. package/dist/src/index.js.map +1 -1
  89. package/dist/src/repositories/quarantine/ApprovalRepository.d.ts +148 -0
  90. package/dist/src/repositories/quarantine/ApprovalRepository.d.ts.map +1 -0
  91. package/dist/src/repositories/quarantine/ApprovalRepository.js +212 -0
  92. package/dist/src/repositories/quarantine/ApprovalRepository.js.map +1 -0
  93. package/dist/src/repositories/quarantine/index.d.ts +2 -0
  94. package/dist/src/repositories/quarantine/index.d.ts.map +1 -1
  95. package/dist/src/repositories/quarantine/index.js +1 -0
  96. package/dist/src/repositories/quarantine/index.js.map +1 -1
  97. package/dist/src/security/audit-types.d.ts +1 -1
  98. package/dist/src/security/audit-types.d.ts.map +1 -1
  99. package/dist/src/security/audit-types.js.map +1 -1
  100. package/dist/src/security/scanner/SecurityScanner.formatters.js +1 -1
  101. package/dist/src/security/scanner/SecurityScanner.formatters.js.map +1 -1
  102. package/dist/src/services/quarantine/QuarantineService.d.ts +17 -9
  103. package/dist/src/services/quarantine/QuarantineService.d.ts.map +1 -1
  104. package/dist/src/services/quarantine/QuarantineService.js +114 -56
  105. package/dist/src/services/quarantine/QuarantineService.js.map +1 -1
  106. package/dist/tests/RawUrlSourceAdapter.security.test.js +2 -1
  107. package/dist/tests/RawUrlSourceAdapter.security.test.js.map +1 -1
  108. package/dist/tests/SecurityScanner.test.js +2 -2
  109. package/dist/tests/SecurityScanner.test.js.map +1 -1
  110. package/dist/tests/adapters-factory.test.d.ts +1 -1
  111. package/dist/tests/adapters-factory.test.js +1 -1
  112. package/dist/tests/integration/QuarantineService.test.js +49 -1
  113. package/dist/tests/integration/QuarantineService.test.js.map +1 -1
  114. package/dist/tests/integration/neural/e2e-learning.test.d.ts +1 -1
  115. package/dist/tests/integration/neural/e2e-learning.test.js +1 -1
  116. package/dist/tests/integration/neural/personalization.test.d.ts +1 -1
  117. package/dist/tests/integration/neural/personalization.test.js +1 -1
  118. package/dist/tests/integration/neural/preference-learner.test.d.ts +1 -1
  119. package/dist/tests/integration/neural/preference-learner.test.js +1 -1
  120. package/dist/tests/integration/neural/privacy.test.d.ts +1 -1
  121. package/dist/tests/integration/neural/privacy.test.js +1 -1
  122. package/dist/tests/integration/neural/signal-collection.test.d.ts +1 -1
  123. package/dist/tests/integration/neural/signal-collection.test.js +1 -1
  124. package/dist/tests/language-detector.test.d.ts +1 -1
  125. package/dist/tests/language-detector.test.js +1 -1
  126. package/dist/tests/unit/approval-repository.test.d.ts +9 -0
  127. package/dist/tests/unit/approval-repository.test.d.ts.map +1 -0
  128. package/dist/tests/unit/approval-repository.test.js +509 -0
  129. package/dist/tests/unit/approval-repository.test.js.map +1 -0
  130. package/package.json +2 -2
@@ -7,7 +7,7 @@
7
7
  * - Incremental parse: < 100ms
8
8
  * - Tree cache hit rate: > 80%
9
9
  *
10
- * @see docs/architecture/multi-language-analysis.md
10
+ * @see docs/internal/architecture/multi-language-analysis.md
11
11
  */
12
12
  export {};
13
13
  //# sourceMappingURL=incremental.test.d.ts.map
@@ -7,7 +7,7 @@
7
7
  * - Incremental parse: < 100ms
8
8
  * - Tree cache hit rate: > 80%
9
9
  *
10
- * @see docs/architecture/multi-language-analysis.md
10
+ * @see docs/internal/architecture/multi-language-analysis.md
11
11
  */
12
12
  import { describe, it, expect, beforeEach, afterEach } from 'vitest';
13
13
  import { calculateEdit, indexToPosition, positionToIndex, findMinimalEdit, batchEdits, isInsertion, isDeletion, isReplacement, editSizeDelta, } from '../incremental.js';
@@ -8,7 +8,7 @@
8
8
  * - ParserWorkerPool with mixed language batches
9
9
  * - ResultAggregator combining results from multiple languages
10
10
  *
11
- * @see docs/architecture/multi-language-analysis.md
11
+ * @see docs/internal/architecture/multi-language-analysis.md
12
12
  */
13
13
  export {};
14
14
  //# sourceMappingURL=integration.test.d.ts.map
@@ -8,7 +8,7 @@
8
8
  * - ParserWorkerPool with mixed language batches
9
9
  * - ResultAggregator combining results from multiple languages
10
10
  *
11
- * @see docs/architecture/multi-language-analysis.md
11
+ * @see docs/internal/architecture/multi-language-analysis.md
12
12
  */
13
13
  import { describe, it, expect, beforeEach, afterEach } from 'vitest';
14
14
  import { LanguageRouter } from '../router.js';
@@ -9,7 +9,7 @@
9
9
  * - Memory budget: 500MB
10
10
  * - Cache hit rate: > 80%
11
11
  *
12
- * @see docs/architecture/multi-language-analysis.md
12
+ * @see docs/internal/architecture/multi-language-analysis.md
13
13
  */
14
14
  export {};
15
15
  //# sourceMappingURL=performance.test.d.ts.map
@@ -9,7 +9,7 @@
9
9
  * - Memory budget: 500MB
10
10
  * - Cache hit rate: > 80%
11
11
  *
12
- * @see docs/architecture/multi-language-analysis.md
12
+ * @see docs/internal/architecture/multi-language-analysis.md
13
13
  */
14
14
  import { describe, it, expect, beforeAll, afterAll, beforeEach } from 'vitest';
15
15
  import { ParserWorkerPool } from '../worker-pool.js';
@@ -5,7 +5,7 @@
5
5
  * Tests cover import/export extraction, function detection,
6
6
  * and framework detection rules.
7
7
  *
8
- * @see docs/architecture/multi-language-analysis.md
8
+ * @see docs/internal/architecture/multi-language-analysis.md
9
9
  */
10
10
  export {};
11
11
  //# sourceMappingURL=python.test.d.ts.map
@@ -5,7 +5,7 @@
5
5
  * Tests cover import/export extraction, function detection,
6
6
  * and framework detection rules.
7
7
  *
8
- * @see docs/architecture/multi-language-analysis.md
8
+ * @see docs/internal/architecture/multi-language-analysis.md
9
9
  */
10
10
  import { describe, it, expect, beforeEach, afterEach } from 'vitest';
11
11
  import { PythonAdapter } from '../python.js';
@@ -8,7 +8,7 @@
8
8
  * - Async function detection
9
9
  * - Backward compatibility with existing analyzer
10
10
  *
11
- * @see docs/architecture/multi-language-analysis.md
11
+ * @see docs/internal/architecture/multi-language-analysis.md
12
12
  */
13
13
  export {};
14
14
  //# sourceMappingURL=typescript.test.d.ts.map
@@ -8,7 +8,7 @@
8
8
  * - Async function detection
9
9
  * - Backward compatibility with existing analyzer
10
10
  *
11
- * @see docs/architecture/multi-language-analysis.md
11
+ * @see docs/internal/architecture/multi-language-analysis.md
12
12
  */
13
13
  import { describe, it, expect, beforeEach, afterEach } from 'vitest';
14
14
  import { TypeScriptAdapter } from '../typescript.js';
@@ -5,7 +5,7 @@
5
5
  * Each adapter translates language-specific AST nodes into
6
6
  * the unified ParseResult format.
7
7
  *
8
- * @see docs/architecture/multi-language-analysis.md
8
+ * @see docs/internal/architecture/multi-language-analysis.md
9
9
  * @module analysis/adapters/base
10
10
  */
11
11
  import type { SupportedLanguage, ParseResult, FrameworkRule, ImportInfo, ExportInfo, FunctionInfo } from '../types.js';
@@ -5,7 +5,7 @@
5
5
  * Each adapter translates language-specific AST nodes into
6
6
  * the unified ParseResult format.
7
7
  *
8
- * @see docs/architecture/multi-language-analysis.md
8
+ * @see docs/internal/architecture/multi-language-analysis.md
9
9
  * @module analysis/adapters/base
10
10
  */
11
11
  import * as path from 'path';
@@ -4,7 +4,7 @@
4
4
  * Factory class for creating language adapters with lazy instantiation.
5
5
  * Avoids unnecessary adapter creation and provides centralized adapter management.
6
6
  *
7
- * @see docs/architecture/multi-language-analysis.md
7
+ * @see docs/internal/architecture/multi-language-analysis.md
8
8
  * @module analysis/adapters/factory
9
9
  */
10
10
  import type { LanguageAdapter } from './base.js';
@@ -4,7 +4,7 @@
4
4
  * Factory class for creating language adapters with lazy instantiation.
5
5
  * Avoids unnecessary adapter creation and provides centralized adapter management.
6
6
  *
7
- * @see docs/architecture/multi-language-analysis.md
7
+ * @see docs/internal/architecture/multi-language-analysis.md
8
8
  * @module analysis/adapters/factory
9
9
  */
10
10
  import { TypeScriptAdapter } from './typescript.js';
@@ -5,7 +5,7 @@
5
5
  * using regex-based parsing. Go uses capitalization-based visibility:
6
6
  * identifiers starting with uppercase are exported (public).
7
7
  *
8
- * @see docs/architecture/multi-language-analysis.md
8
+ * @see docs/internal/architecture/multi-language-analysis.md
9
9
  */
10
10
  import { LanguageAdapter, type SupportedLanguage } from './base.js';
11
11
  import type { ParseResult, ExportInfo, FunctionInfo, FrameworkRule } from './base.js';
@@ -5,7 +5,7 @@
5
5
  * using regex-based parsing. Go uses capitalization-based visibility:
6
6
  * identifiers starting with uppercase are exported (public).
7
7
  *
8
- * @see docs/architecture/multi-language-analysis.md
8
+ * @see docs/internal/architecture/multi-language-analysis.md
9
9
  */
10
10
  import { LanguageAdapter } from './base.js';
11
11
  /**
@@ -5,7 +5,7 @@
5
5
  * Exports all language adapter classes and types for multi-language
6
6
  * codebase analysis.
7
7
  *
8
- * @see docs/architecture/multi-language-analysis.md
8
+ * @see docs/internal/architecture/multi-language-analysis.md
9
9
  */
10
10
  export { LanguageAdapter, type SupportedLanguage, type LanguageInfo, type FrameworkRule, type ParseResult, } from './base.js';
11
11
  export { AdapterFactory } from './factory.js';
@@ -5,7 +5,7 @@
5
5
  * Exports all language adapter classes and types for multi-language
6
6
  * codebase analysis.
7
7
  *
8
- * @see docs/architecture/multi-language-analysis.md
8
+ * @see docs/internal/architecture/multi-language-analysis.md
9
9
  */
10
10
  // Base adapter class and types
11
11
  export { LanguageAdapter, } from './base.js';
@@ -4,7 +4,7 @@
4
4
  * Parses Maven pom.xml and Gradle build files to extract dependency information.
5
5
  * Extracted from java.ts for better modularity.
6
6
  *
7
- * @see docs/architecture/multi-language-analysis.md
7
+ * @see docs/internal/architecture/multi-language-analysis.md
8
8
  */
9
9
  /**
10
10
  * Maven pom.xml dependency information
@@ -4,7 +4,7 @@
4
4
  * Parses Maven pom.xml and Gradle build files to extract dependency information.
5
5
  * Extracted from java.ts for better modularity.
6
6
  *
7
- * @see docs/architecture/multi-language-analysis.md
7
+ * @see docs/internal/architecture/multi-language-analysis.md
8
8
  */
9
9
  /**
10
10
  * Parse pom.xml to extract Maven dependencies
@@ -8,7 +8,7 @@
8
8
  * - Generics in class and method declarations
9
9
  * - Interfaces, abstract classes, enums, and annotation types
10
10
  *
11
- * @see docs/architecture/multi-language-analysis.md
11
+ * @see docs/internal/architecture/multi-language-analysis.md
12
12
  */
13
13
  import { LanguageAdapter, type SupportedLanguage } from './base.js';
14
14
  import type { ParseResult, ExportInfo, FunctionInfo, FrameworkRule } from './base.js';
@@ -8,7 +8,7 @@
8
8
  * - Generics in class and method declarations
9
9
  * - Interfaces, abstract classes, enums, and annotation types
10
10
  *
11
- * @see docs/architecture/multi-language-analysis.md
11
+ * @see docs/internal/architecture/multi-language-analysis.md
12
12
  */
13
13
  import { LanguageAdapter } from './base.js';
14
14
  // Re-export build file parsers for backwards compatibility
@@ -4,7 +4,7 @@
4
4
  * Framework detection rules for common Python frameworks and libraries.
5
5
  * Extracted from python.ts for better modularity.
6
6
  *
7
- * @see docs/architecture/multi-language-analysis.md
7
+ * @see docs/internal/architecture/multi-language-analysis.md
8
8
  */
9
9
  import type { FrameworkRule } from './base.js';
10
10
  /**
@@ -4,7 +4,7 @@
4
4
  * Framework detection rules for common Python frameworks and libraries.
5
5
  * Extracted from python.ts for better modularity.
6
6
  *
7
- * @see docs/architecture/multi-language-analysis.md
7
+ * @see docs/internal/architecture/multi-language-analysis.md
8
8
  */
9
9
  /**
10
10
  * Python framework detection rules
@@ -5,7 +5,7 @@
5
5
  * imports, exports, and function definitions using regex-based
6
6
  * parsing with optional tree-sitter support for incremental parsing.
7
7
  *
8
- * @see docs/architecture/multi-language-analysis.md
8
+ * @see docs/internal/architecture/multi-language-analysis.md
9
9
  */
10
10
  import { LanguageAdapter, type SupportedLanguage, type FrameworkRule } from './base.js';
11
11
  import type { ParseResult } from '../types.js';
@@ -5,7 +5,7 @@
5
5
  * imports, exports, and function definitions using regex-based
6
6
  * parsing with optional tree-sitter support for incremental parsing.
7
7
  *
8
- * @see docs/architecture/multi-language-analysis.md
8
+ * @see docs/internal/architecture/multi-language-analysis.md
9
9
  */
10
10
  import { LanguageAdapter } from './base.js';
11
11
  import { PYTHON_FRAMEWORK_RULES } from './python-frameworks.js';
@@ -4,7 +4,7 @@
4
4
  * Parses Cargo.toml files to extract dependency information.
5
5
  * Extracted from rust.ts for better modularity.
6
6
  *
7
- * @see docs/architecture/multi-language-analysis.md
7
+ * @see docs/internal/architecture/multi-language-analysis.md
8
8
  */
9
9
  /**
10
10
  * Cargo.toml dependency information
@@ -4,7 +4,7 @@
4
4
  * Parses Cargo.toml files to extract dependency information.
5
5
  * Extracted from rust.ts for better modularity.
6
6
  *
7
- * @see docs/architecture/multi-language-analysis.md
7
+ * @see docs/internal/architecture/multi-language-analysis.md
8
8
  */
9
9
  /**
10
10
  * Parse Cargo.toml to extract dependencies
@@ -5,7 +5,7 @@
5
5
  * using regex-based parsing. Rust uses explicit `pub` visibility modifiers
6
6
  * for public items.
7
7
  *
8
- * @see docs/architecture/multi-language-analysis.md
8
+ * @see docs/internal/architecture/multi-language-analysis.md
9
9
  */
10
10
  import { LanguageAdapter, type SupportedLanguage } from './base.js';
11
11
  import type { ParseResult, ExportInfo, FunctionInfo, FrameworkRule } from './base.js';
@@ -5,7 +5,7 @@
5
5
  * using regex-based parsing. Rust uses explicit `pub` visibility modifiers
6
6
  * for public items.
7
7
  *
8
- * @see docs/architecture/multi-language-analysis.md
8
+ * @see docs/internal/architecture/multi-language-analysis.md
9
9
  */
10
10
  import { LanguageAdapter } from './base.js';
11
11
  // Re-export Cargo.toml parser for backwards compatibility
@@ -4,7 +4,7 @@
4
4
  * TypeScript/JavaScript adapter using the existing TypeScript compiler API.
5
5
  * Falls back to tree-sitter for incremental parsing (SMI-1309).
6
6
  *
7
- * @see docs/architecture/multi-language-analysis.md
7
+ * @see docs/internal/architecture/multi-language-analysis.md
8
8
  */
9
9
  import { LanguageAdapter, type SupportedLanguage } from './base.js';
10
10
  import { type FrameworkRule } from '../framework-detector.js';
@@ -4,7 +4,7 @@
4
4
  * TypeScript/JavaScript adapter using the existing TypeScript compiler API.
5
5
  * Falls back to tree-sitter for incremental parsing (SMI-1309).
6
6
  *
7
- * @see docs/architecture/multi-language-analysis.md
7
+ * @see docs/internal/architecture/multi-language-analysis.md
8
8
  */
9
9
  import { LanguageAdapter } from './base.js';
10
10
  import { parseFile as tsParseFile } from '../parsers.js';
@@ -5,7 +5,7 @@
5
5
  * Aggregates parse results from multiple languages into unified context.
6
6
  * Collects imports, exports, and functions across all analyzed files.
7
7
  *
8
- * @see docs/architecture/multi-language-analysis.md
8
+ * @see docs/internal/architecture/multi-language-analysis.md
9
9
  * @module analysis/aggregator
10
10
  */
11
11
  import type { SupportedLanguage, ImportInfo, ExportInfo, FunctionInfo, ParseResult, CodebaseContext, FrameworkInfo, DependencyInfo } from './types.js';
@@ -5,7 +5,7 @@
5
5
  * Aggregates parse results from multiple languages into unified context.
6
6
  * Collects imports, exports, and functions across all analyzed files.
7
7
  *
8
- * @see docs/architecture/multi-language-analysis.md
8
+ * @see docs/internal/architecture/multi-language-analysis.md
9
9
  * @module analysis/aggregator
10
10
  */
11
11
  import path from 'path';
@@ -5,7 +5,7 @@
5
5
  * LRU cache for parse results with content hash validation.
6
6
  * Provides memory-based eviction to prevent memory exhaustion.
7
7
  *
8
- * @see docs/architecture/multi-language-analysis.md
8
+ * @see docs/internal/architecture/multi-language-analysis.md
9
9
  * @module analysis/cache
10
10
  */
11
11
  import type { ParseResult, CacheStats } from './types.js';
@@ -5,7 +5,7 @@
5
5
  * LRU cache for parse results with content hash validation.
6
6
  * Provides memory-based eviction to prevent memory exhaustion.
7
7
  *
8
- * @see docs/architecture/multi-language-analysis.md
8
+ * @see docs/internal/architecture/multi-language-analysis.md
9
9
  * @module analysis/cache
10
10
  */
11
11
  import { createHash } from 'crypto';
@@ -4,7 +4,7 @@
4
4
  * Memory-efficient file reading with streaming support for large files.
5
5
  * Provides generators for processing files without loading all into memory.
6
6
  *
7
- * @see docs/architecture/multi-language-analysis.md
7
+ * @see docs/internal/architecture/multi-language-analysis.md
8
8
  * @module analysis/file-streamer
9
9
  */
10
10
  /**
@@ -4,7 +4,7 @@
4
4
  * Memory-efficient file reading with streaming support for large files.
5
5
  * Provides generators for processing files without loading all into memory.
6
6
  *
7
- * @see docs/architecture/multi-language-analysis.md
7
+ * @see docs/internal/architecture/multi-language-analysis.md
8
8
  * @module analysis/file-streamer
9
9
  */
10
10
  import fs from 'fs/promises';
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * Performance target: < 100ms for incremental parse
9
9
  *
10
- * @see docs/architecture/multi-language-analysis.md
10
+ * @see docs/internal/architecture/multi-language-analysis.md
11
11
  * @module analysis/incremental-parser
12
12
  */
13
13
  import { TreeCache, type TreeCacheStats } from './tree-cache.js';
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * Performance target: < 100ms for incremental parse
9
9
  *
10
- * @see docs/architecture/multi-language-analysis.md
10
+ * @see docs/internal/architecture/multi-language-analysis.md
11
11
  * @module analysis/incremental-parser
12
12
  */
13
13
  import { createHash } from 'crypto';
@@ -5,7 +5,7 @@
5
5
  * Enables efficient incremental parsing by detecting minimal
6
6
  * edit regions between old and new content.
7
7
  *
8
- * @see docs/architecture/multi-language-analysis.md
8
+ * @see docs/internal/architecture/multi-language-analysis.md
9
9
  * @module analysis/incremental
10
10
  */
11
11
  /**
@@ -5,7 +5,7 @@
5
5
  * Enables efficient incremental parsing by detecting minimal
6
6
  * edit regions between old and new content.
7
7
  *
8
- * @see docs/architecture/multi-language-analysis.md
8
+ * @see docs/internal/architecture/multi-language-analysis.md
9
9
  * @module analysis/incremental
10
10
  */
11
11
  /**
@@ -8,7 +8,7 @@
8
8
  * to extract context for skill recommendations.
9
9
  *
10
10
  * @see ADR-010: Codebase Analysis Scope
11
- * @see docs/architecture/multi-language-analysis.md
11
+ * @see docs/internal/architecture/multi-language-analysis.md
12
12
  */
13
13
  export { CodebaseAnalyzer } from './CodebaseAnalyzer.js';
14
14
  export { default } from './CodebaseAnalyzer.js';
@@ -8,7 +8,7 @@
8
8
  * to extract context for skill recommendations.
9
9
  *
10
10
  * @see ADR-010: Codebase Analysis Scope
11
- * @see docs/architecture/multi-language-analysis.md
11
+ * @see docs/internal/architecture/multi-language-analysis.md
12
12
  */
13
13
  // Main analyzer class
14
14
  export { CodebaseAnalyzer } from './CodebaseAnalyzer.js';
@@ -7,7 +7,7 @@
7
7
  * - Magic bytes detection
8
8
  * - Statistical analysis of keywords
9
9
  *
10
- * @see docs/architecture/multi-language-analysis.md
10
+ * @see docs/internal/architecture/multi-language-analysis.md
11
11
  * @module analysis/language-detector
12
12
  */
13
13
  import type { LanguageDetectionResult, LanguageDetectorOptions } from './language-detector.types.js';
@@ -7,7 +7,7 @@
7
7
  * - Magic bytes detection
8
8
  * - Statistical analysis of keywords
9
9
  *
10
- * @see docs/architecture/multi-language-analysis.md
10
+ * @see docs/internal/architecture/multi-language-analysis.md
11
11
  * @module analysis/language-detector
12
12
  */
13
13
  // Import patterns
@@ -4,7 +4,7 @@
4
4
  * Monitors memory usage and triggers cleanup when thresholds are exceeded.
5
5
  * Integrates with ParseCache for memory pressure handling.
6
6
  *
7
- * @see docs/architecture/multi-language-analysis.md
7
+ * @see docs/internal/architecture/multi-language-analysis.md
8
8
  * @module analysis/memory-monitor
9
9
  */
10
10
  import type { ParseCache } from './cache.js';
@@ -4,7 +4,7 @@
4
4
  * Monitors memory usage and triggers cleanup when thresholds are exceeded.
5
5
  * Integrates with ParseCache for memory pressure handling.
6
6
  *
7
- * @see docs/architecture/multi-language-analysis.md
7
+ * @see docs/internal/architecture/multi-language-analysis.md
8
8
  * @module analysis/memory-monitor
9
9
  */
10
10
  /**
@@ -9,7 +9,7 @@
9
9
  * - Memory usage (gauge)
10
10
  * - Error counts by type (counter)
11
11
  *
12
- * @see docs/architecture/multi-language-analysis.md
12
+ * @see docs/internal/architecture/multi-language-analysis.md
13
13
  * @module analysis/metrics
14
14
  */
15
15
  import type { SupportedLanguage } from './types.js';
@@ -9,7 +9,7 @@
9
9
  * - Memory usage (gauge)
10
10
  * - Error counts by type (counter)
11
11
  *
12
- * @see docs/architecture/multi-language-analysis.md
12
+ * @see docs/internal/architecture/multi-language-analysis.md
13
13
  * @module analysis/metrics
14
14
  */
15
15
  // Import implementations
@@ -7,7 +7,7 @@
7
7
  * Detects file language and dispatches to appropriate adapter.
8
8
  * Manages adapter registry and provides unified access to framework rules.
9
9
  *
10
- * @see docs/architecture/multi-language-analysis.md
10
+ * @see docs/internal/architecture/multi-language-analysis.md
11
11
  * @module analysis/router
12
12
  */
13
13
  import type { LanguageAdapter } from './adapters/base.js';
@@ -7,7 +7,7 @@
7
7
  * Detects file language and dispatches to appropriate adapter.
8
8
  * Manages adapter registry and provides unified access to framework rules.
9
9
  *
10
- * @see docs/architecture/multi-language-analysis.md
10
+ * @see docs/internal/architecture/multi-language-analysis.md
11
11
  * @module analysis/router
12
12
  */
13
13
  import path from 'path';
@@ -7,7 +7,7 @@
7
7
  * Tree-sitter trees hold native resources and must be explicitly
8
8
  * deleted to free memory. This cache handles that lifecycle.
9
9
  *
10
- * @see docs/architecture/multi-language-analysis.md
10
+ * @see docs/internal/architecture/multi-language-analysis.md
11
11
  * @module analysis/tree-cache
12
12
  */
13
13
  /**
@@ -7,7 +7,7 @@
7
7
  * Tree-sitter trees hold native resources and must be explicitly
8
8
  * deleted to free memory. This cache handles that lifecycle.
9
9
  *
10
- * @see docs/architecture/multi-language-analysis.md
10
+ * @see docs/internal/architecture/multi-language-analysis.md
11
11
  * @module analysis/tree-cache
12
12
  */
13
13
  import { createHash } from 'crypto';
@@ -4,7 +4,7 @@
4
4
  * Manages tree-sitter parser instances with lazy loading.
5
5
  * Uses web-tree-sitter (WASM) to avoid native module conflicts.
6
6
  *
7
- * @see docs/architecture/multi-language-analysis.md
7
+ * @see docs/internal/architecture/multi-language-analysis.md
8
8
  * @see ADR-002: Docker glibc Requirement
9
9
  * @module analysis/tree-sitter/manager
10
10
  */
@@ -4,7 +4,7 @@
4
4
  * Manages tree-sitter parser instances with lazy loading.
5
5
  * Uses web-tree-sitter (WASM) to avoid native module conflicts.
6
6
  *
7
- * @see docs/architecture/multi-language-analysis.md
7
+ * @see docs/internal/architecture/multi-language-analysis.md
8
8
  * @see ADR-002: Docker glibc Requirement
9
9
  * @module analysis/tree-sitter/manager
10
10
  */
@@ -6,7 +6,7 @@
6
6
  * Type definitions for multi-language codebase analysis.
7
7
  *
8
8
  * @see ADR-010: Codebase Analysis Scope
9
- * @see docs/architecture/multi-language-analysis.md
9
+ * @see docs/internal/architecture/multi-language-analysis.md
10
10
  * @module analysis/types
11
11
  */
12
12
  /**
@@ -6,7 +6,7 @@
6
6
  * Type definitions for multi-language codebase analysis.
7
7
  *
8
8
  * @see ADR-010: Codebase Analysis Scope
9
- * @see docs/architecture/multi-language-analysis.md
9
+ * @see docs/internal/architecture/multi-language-analysis.md
10
10
  * @module analysis/types
11
11
  */
12
12
  /**
@@ -5,7 +5,7 @@
5
5
  * Uses Node.js worker_threads for true parallelism,
6
6
  * bypassing the single-threaded event loop limitation.
7
7
  *
8
- * @see docs/architecture/multi-language-analysis.md
8
+ * @see docs/internal/architecture/multi-language-analysis.md
9
9
  * @module analysis/worker-pool
10
10
  */
11
11
  import { isMainThread, parentPort, workerData } from 'worker_threads';
@@ -5,7 +5,7 @@
5
5
  * Uses Node.js worker_threads for true parallelism,
6
6
  * bypassing the single-threaded event loop limitation.
7
7
  *
8
- * @see docs/architecture/multi-language-analysis.md
8
+ * @see docs/internal/architecture/multi-language-analysis.md
9
9
  * @module analysis/worker-pool
10
10
  */
11
11
  import { Worker, isMainThread, parentPort, workerData } from 'worker_threads';
@@ -4,7 +4,7 @@
4
4
  * Type definitions for the worker thread pool.
5
5
  * Extracted from worker-pool.ts for better modularity.
6
6
  *
7
- * @see docs/architecture/multi-language-analysis.md
7
+ * @see docs/internal/architecture/multi-language-analysis.md
8
8
  * @module analysis/worker-types
9
9
  */
10
10
  import type { ParseResult } from './types.js';