@noyrax/documentation-system-plugin 1.0.4-beta.1 → 1.0.4-beta.10

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 (141) hide show
  1. package/out/cli/generate-cli.js +58 -0
  2. package/out/cli/generate-cli.js.map +1 -1
  3. package/out/cli/scan-cli.js +6 -0
  4. package/out/cli/scan-cli.js.map +1 -1
  5. package/out/core/scanner.js +9 -1
  6. package/out/core/scanner.js.map +1 -1
  7. package/out/generator/system-metadata.js +202 -0
  8. package/out/generator/system-metadata.js.map +1 -0
  9. package/out/index/index.js +14 -0
  10. package/out/index/index.js.map +1 -1
  11. package/out/parsers/json-yaml.js +35 -4
  12. package/out/parsers/json-yaml.js.map +1 -1
  13. package/out/parsers/ts-js.js +208 -7
  14. package/out/parsers/ts-js.js.map +1 -1
  15. package/package.json +11 -4
  16. package/.vscodeignore +0 -41
  17. package/MCP_SERVER_SETUP.md +0 -371
  18. package/assets/icon.svg +0 -27
  19. package/docs/LINKEDIN_ANTWORT_SEQUENZDIAGRAMME.md +0 -190
  20. package/docs/SEQUENZDIAGRAMM_BEWEIS.md +0 -469
  21. package/docs/SEQUENZDIAGRAMM_VALIDATE_FLOW.md +0 -282
  22. package/docs/adr/001-signatur-abweichung-fix.md +0 -54
  23. package/docs/adr/002-file-specific-validation-1.0.1.md +0 -45
  24. package/docs/adr/003-documentation-generation-bugs.md +0 -134
  25. package/docs/adr/004-validator-signature-matching-fix.md +0 -121
  26. package/docs/adr/005-validator-generic-simplification-tightening.md +0 -35
  27. package/docs/adr/006-parser-variable-type-extraction.md +0 -33
  28. package/docs/adr/007-ts-parser-load-libs-for-accurate-types.md +0 -31
  29. package/docs/adr/008-dependencies-cache-phase1.md +0 -133
  30. package/docs/adr/009-consolidation-union-logic-phase1-2.md +0 -147
  31. package/docs/adr/010-extension-union-integration-phase1-3-and-phase2.md +0 -179
  32. package/docs/adr/011-module-doc-change-tracking-phase3.md +0 -190
  33. package/docs/adr/012-git-deletions-change-report-phase4.md +0 -235
  34. package/docs/adr/013-system-functionality-fixes.md +0 -279
  35. package/docs/adr/014-rules-migration-und-mcp-integration.md +0 -113
  36. package/docs/adr/015-global-agent-package.md +0 -158
  37. package/docs/adr/016-produktisierung-docguard.md +0 -193
  38. package/docs/adr/017-signature-matching-optional-fields.md +0 -128
  39. package/docs/adr/018-rebranding-docguard-to-noyrax.md +0 -109
  40. package/docs/adr/019-system-schwachstellen-analyse-und-fixes.md +0 -204
  41. package/docs/adr/020-api-doc-tiefe-und-signatureformatter.md +0 -74
  42. package/docs/adr/021-semantic-api-docs-and-symbol-classifier.md +0 -125
  43. package/docs/adr/022-semantic-class-and-constants-rendering.md +0 -82
  44. package/docs/adr/023-adr-verknuepfung-modul-doku.md +0 -54
  45. package/docs/adr/024-cursor-rules-mehrdimensionaler-raum.md +0 -230
  46. package/docs/adr/025-mcp-tools-scan-validate-cli-bridge.md +0 -202
  47. package/docs/adr/026-reality-driven-development-system.md +0 -173
  48. package/docs/adr/027-scanner-excludes-and-union-logic-fix.md +0 -189
  49. package/docs/adr/028-src-coverage-union-resync.md +0 -124
  50. package/docs/adr/029-parser-flow-kopplung-und-sync-drift-modi.md +0 -102
  51. package/docs/adr/030-dependency-import-symbol-names-preservation.md +0 -123
  52. package/docs/adr/031-generate-cli-vollstaendige-dokumentation.md +0 -99
  53. package/docs/adr/032-windows-optimized-verification-scripts.md +0 -165
  54. package/docs/adr/036-enhanced-dependency-metadata.md +0 -190
  55. package/docs/adr/TEMPLATE.md +0 -76
  56. package/docs/index/symbols.jsonl +0 -31
  57. package/docs/modules/action__action.yml.md +0 -50
  58. package/docs/modules/documentation.config.schema.json.md +0 -37
  59. package/docs/modules/mcp__package.json.md +0 -130
  60. package/docs/modules/mcp__src__resources__docs.ts.md +0 -94
  61. package/docs/modules/mcp__src__server.ts.md +0 -15
  62. package/docs/modules/mcp__src__tools__drift.ts.md +0 -110
  63. package/docs/modules/mcp__src__tools__impact.ts.md +0 -127
  64. package/docs/modules/mcp__src__tools__scan.ts.md +0 -75
  65. package/docs/modules/mcp__src__tools__validate.ts.md +0 -116
  66. package/docs/modules/mcp__src__tools__verify-adrs.ts.md +0 -106
  67. package/docs/modules/mcp__tsconfig.json.md +0 -22
  68. package/docs/modules/package.json.md +0 -131
  69. package/docs/modules/packages__doc-system-agent__examples__basic-project__package.json.md +0 -43
  70. package/docs/modules/packages__doc-system-agent__examples__basic-project__src__calculator.ts.md +0 -81
  71. package/docs/modules/packages__doc-system-agent__package.json.md +0 -154
  72. package/docs/modules/packages__doc-system-agent__src__cli__index.ts.md +0 -8
  73. package/docs/modules/packages__doc-system-agent__src__cli__init.ts.md +0 -93
  74. package/docs/modules/packages__doc-system-agent__src__cli__update.ts.md +0 -113
  75. package/docs/modules/packages__doc-system-agent__src__constants.ts.md +0 -29
  76. package/docs/modules/packages__doc-system-agent__src__index.ts.md +0 -234
  77. package/docs/modules/packages__doc-system-agent__src__mcp__resources__docs.ts.md +0 -94
  78. package/docs/modules/packages__doc-system-agent__src__mcp__server.ts.md +0 -17
  79. package/docs/modules/packages__doc-system-agent__src__mcp__tools__drift.ts.md +0 -38
  80. package/docs/modules/packages__doc-system-agent__src__mcp__tools__impact.ts.md +0 -75
  81. package/docs/modules/packages__doc-system-agent__src__mcp__tools__scan.ts.md +0 -23
  82. package/docs/modules/packages__doc-system-agent__src__mcp__tools__validate.ts.md +0 -23
  83. package/docs/modules/packages__doc-system-agent__src__mcp__tools__verify-adrs.ts.md +0 -106
  84. package/docs/modules/packages__doc-system-agent__src__mcp__types.ts.md +0 -355
  85. package/docs/modules/packages__doc-system-agent__tsconfig.json.md +0 -22
  86. package/docs/modules/scripts__verify-adrs.js.md +0 -97
  87. package/docs/modules/scripts__verify-architecture.js.md +0 -93
  88. package/docs/modules/scripts__verify-imports.js.md +0 -114
  89. package/docs/modules/src____tests____setup.ts.md +0 -8
  90. package/docs/modules/src____tests____signature-formatter.test.ts.md +0 -16
  91. package/docs/modules/src____tests____snapshot-doc-generation.test.ts.md +0 -8
  92. package/docs/modules/src____tests____symbol-classifier.test.ts.md +0 -16
  93. package/docs/modules/src__cache__ast-cache.ts.md +0 -91
  94. package/docs/modules/src__cache__dependencies-cache.ts.md +0 -89
  95. package/docs/modules/src__cache__output-cache.ts.md +0 -91
  96. package/docs/modules/src__cache__signature-cache.ts.md +0 -76
  97. package/docs/modules/src__cli__generate-cli.ts.md +0 -130
  98. package/docs/modules/src__cli__scan-cli.ts.md +0 -99
  99. package/docs/modules/src__cli__validate-cli.ts.md +0 -144
  100. package/docs/modules/src__core__async.ts.md +0 -18
  101. package/docs/modules/src__core__consolidation.ts.md +0 -158
  102. package/docs/modules/src__core__git.ts.md +0 -35
  103. package/docs/modules/src__core__language-detection.ts.md +0 -31
  104. package/docs/modules/src__core__scanner.ts.md +0 -101
  105. package/docs/modules/src__core__signature-formatter.ts.md +0 -232
  106. package/docs/modules/src__core__symbol-classifier.ts.md +0 -178
  107. package/docs/modules/src__core__symbols.ts.md +0 -31
  108. package/docs/modules/src__drift__index.ts.md +0 -53
  109. package/docs/modules/src__extension.ts.md +0 -418
  110. package/docs/modules/src__generator__adr-linker.ts.md +0 -154
  111. package/docs/modules/src__generator__change-report.ts.md +0 -85
  112. package/docs/modules/src__generator__dependency-graph.ts.md +0 -63
  113. package/docs/modules/src__generator__index.ts.md +0 -40
  114. package/docs/modules/src__generator__module-doc.ts.md +0 -242
  115. package/docs/modules/src__index__index.ts.md +0 -141
  116. package/docs/modules/src__logging__index.ts.md +0 -87
  117. package/docs/modules/src__parsers__dependencies.ts.md +0 -69
  118. package/docs/modules/src__parsers__json-yaml.ts.md +0 -81
  119. package/docs/modules/src__parsers__python.ts.md +0 -73
  120. package/docs/modules/src__parsers__ts-js.ts.md +0 -48
  121. package/docs/modules/src__parsers__types.ts.md +0 -99
  122. package/docs/modules/src__ui__commands-provider.ts.md +0 -70
  123. package/docs/modules/src__ui__status-bar.ts.md +0 -79
  124. package/docs/modules/src__validator__index.ts.md +0 -211
  125. package/docs/modules/src__validator__signature-matching.ts.md +0 -209
  126. package/docs/modules/src__validator__status.ts.md +0 -72
  127. package/docs/modules/test-mcp-resources.js.md +0 -27
  128. package/docs/modules/tsconfig.json.md +0 -22
  129. package/docs/system/CHANGE_REPORT.md +0 -19
  130. package/docs/system/DEPENDENCIES.md +0 -430
  131. package/docs/system/DEPENDENCY_GRAPH.md +0 -368
  132. package/docs/system/NAVIGATION_SPACE_ANALYSIS.md +0 -244
  133. package/docs/system/NPX_CACHE_FIX.md +0 -85
  134. package/docs/system/NPX_LOCAL_USAGE.md +0 -66
  135. package/docs/system/PLUGIN_ECOSYSTEM_STATUS.md +0 -465
  136. package/docs/system/PLUGIN_UPDATE_GUIDE.md +0 -212
  137. package/docs/system/RULES_UPDATE_GUIDE.md +0 -182
  138. package/docs/system/SYSTEM_ANALYSIS.md +0 -947
  139. package/documentation.config.schema.json +0 -77
  140. package/noyrax-5d-database-plugin-0.1.8.tgz +0 -0
  141. package/publish.ps1 +0 -21
@@ -1,144 +0,0 @@
1
- # Modul: src/cli/validate-cli.ts
2
-
3
- ## Relevante ADRs
4
-
5
- - [ADR-025: MCP-Server Tools Scan/Validate – CLI-Bridge-Pattern](../adr/025-mcp-tools-scan-validate-cli-bridge.md)
6
- - [ADR-029: Parser-Flow-Kopplung und Sync/Drift-Modi für die Validierung](../adr/029-parser-flow-kopplung-und-sync-drift-modi.md)
7
-
8
- ### interface: ValidateCliResult
9
- Rolle: domain-model (Sichtbarkeit: public, Priorität: high)
10
- Signatur: `interface ValidateCliResult {
11
- status: 'success' | 'warnings' | 'errors';
12
- errors: ValidationError[];
13
- warnings: ValidationError[];
14
- coverage: {
15
- documented: number;
16
- total: number;
17
- percentage: number;
18
- };
19
- duration: number;
20
- logs: string[];
21
- }`
22
- ```ts
23
- interface ValidateCliResult {
24
- status: 'success' | 'warnings' | 'errors';
25
- errors: ValidationError[];
26
- warnings: ValidationError[];
27
- coverage: {
28
- documented: number;
29
- total: number;
30
- percentage: number;
31
- };
32
- duration: number;
33
- logs: string[];
34
- }
35
- ```
36
-
37
- Eigenschaften:
38
-
39
- | Name | Typ | Optional |
40
- |------|-----|----------|
41
- | `coverage` | `{
42
- documented: number;
43
- total: number;
44
- percentage: number;
45
- }` | nein |
46
- | `duration` | `number` | nein |
47
- | `errors` | `ValidationError[]` | nein |
48
- | `logs` | `string[]` | nein |
49
- | `status` | `'success' | 'warnings' | 'errors'` | nein |
50
- | `warnings` | `ValidationError[]` | nein |
51
-
52
- ### interface: ValidateCliOptions
53
- Rolle: config (Sichtbarkeit: public, Priorität: normal)
54
- Signatur: `interface ValidateCliOptions {
55
- workspaceRoot?: string;
56
- outputPath?: string;
57
- files?: string[];
58
- verbose?: boolean;
59
- thresholds?: CoverageThresholds;
60
- }`
61
- ```ts
62
- interface ValidateCliOptions {
63
- workspaceRoot?: string;
64
- outputPath?: string;
65
- files?: string[];
66
- verbose?: boolean;
67
- thresholds?: CoverageThresholds;
68
- }
69
- ```
70
-
71
- Eigenschaften:
72
-
73
- | Name | Typ | Optional |
74
- |------|-----|----------|
75
- | `files` | `string[]` | ja |
76
- | `outputPath` | `string` | ja |
77
- | `thresholds` | `CoverageThresholds` | ja |
78
- | `verbose` | `boolean` | ja |
79
- | `workspaceRoot` | `string` | ja |
80
-
81
- ### interface: ValidationError
82
- Rolle: other (Sichtbarkeit: public, Priorität: normal)
83
- Signatur: `interface ValidationError {
84
- file: string;
85
- type: 'signature_mismatch' | 'missing_docs' | 'stale_docs' | 'coverage';
86
- message: string;
87
- expected?: string;
88
- found?: string;
89
- }`
90
- ```ts
91
- interface ValidationError {
92
- file: string;
93
- type: 'signature_mismatch' | 'missing_docs' | 'stale_docs' | 'coverage';
94
- message: string;
95
- expected?: string;
96
- found?: string;
97
- }
98
- ```
99
-
100
- Eigenschaften:
101
-
102
- | Name | Typ | Optional |
103
- |------|-----|----------|
104
- | `expected` | `string` | ja |
105
- | `file` | `string` | nein |
106
- | `found` | `string` | ja |
107
- | `message` | `string` | nein |
108
- | `type` | `'signature_mismatch' | 'missing_docs' | 'stale_docs' | 'coverage'` | nein |
109
-
110
- ### function: runValidateCli
111
- Rolle: other (Sichtbarkeit: public, Priorität: normal)
112
- Signatur: `runValidateCli(options: ValidateCliOptions = …): Promise<ValidateCliResult>`
113
- ```ts
114
- runValidateCli(options: ValidateCliOptions = …): Promise<ValidateCliResult>
115
- ```
116
-
117
- Parameter:
118
-
119
- | Name | Typ | Optional | Default |
120
- |------|-----|----------|---------|
121
- | `options` | `ValidateCliOptions` | nein | ja |
122
-
123
- Rückgabewert: `Promise<ValidateCliResult>`
124
-
125
- ### variable: reexport:runValidateClifrom:undefined
126
- Rolle: other (Sichtbarkeit: public, Priorität: normal)
127
- Signatur: `reexport:runValidateClifrom:undefined`
128
- ```ts
129
- reexport:runValidateClifrom:undefined
130
- ```
131
-
132
- ### variable: reexport:ValidateCliOptionsfrom:undefined
133
- Rolle: other (Sichtbarkeit: public, Priorität: normal)
134
- Signatur: `reexport:ValidateCliOptionsfrom:undefined`
135
- ```ts
136
- reexport:ValidateCliOptionsfrom:undefined
137
- ```
138
-
139
- ### variable: reexport:ValidateCliResultfrom:undefined
140
- Rolle: other (Sichtbarkeit: public, Priorität: normal)
141
- Signatur: `reexport:ValidateCliResultfrom:undefined`
142
- ```ts
143
- reexport:ValidateCliResultfrom:undefined
144
- ```
@@ -1,18 +0,0 @@
1
- # Modul: src/core/async.ts
2
-
3
- ### function: mapLimit
4
- Rolle: other (Sichtbarkeit: public, Priorität: normal)
5
- Signatur: `mapLimit(items: T[], limit: number, fn: (item: T, index: number) => Promise<R>): Promise<R[]>`
6
- ```ts
7
- mapLimit(items: T[], limit: number, fn: (item: T, index: number) => Promise<R>): Promise<R[]>
8
- ```
9
-
10
- Parameter:
11
-
12
- | Name | Typ | Optional | Default |
13
- |------|-----|----------|---------|
14
- | `fn` | `(item: T, index: number) => Promise<R>` | nein | nein |
15
- | `items` | `T[]` | nein | nein |
16
- | `limit` | `number` | nein | nein |
17
-
18
- Rückgabewert: `Promise<R[]>`
@@ -1,158 +0,0 @@
1
- # Modul: src/core/consolidation.ts
2
-
3
- ## Relevante ADRs
4
-
5
- - [ADR-008: dependencies-cache-phase1](../adr/008-dependencies-cache-phase1.md)
6
- - [ADR-009: consolidation-union-logic-phase1-2](../adr/009-consolidation-union-logic-phase1-2.md)
7
- - [ADR-027: Scanner-Excludes und Union-Logik Fix](../adr/027-scanner-excludes-and-union-logic-fix.md)
8
- - [ADR-036: Enhanced Dependency Metadata (Aliasing, Type-Only, Re-Exports)](../adr/036-enhanced-dependency-metadata.md)
9
-
10
- <!-- change: symbol-added name="deduplicateAndSortDependencies" kind="function" -->
11
- ### interface: DependenciesUnionResult
12
- Rolle: domain-model (Sichtbarkeit: public, Priorität: high)
13
- Signatur: `interface DependenciesUnionResult {
14
- dependencies: DependencyCacheEntry[];
15
- debug: UnionDebugInfo;
16
- }`
17
- ```ts
18
- interface DependenciesUnionResult {
19
- dependencies: DependencyCacheEntry[];
20
- debug: UnionDebugInfo;
21
- }
22
- ```
23
-
24
- Eigenschaften:
25
-
26
- | Name | Typ | Optional |
27
- |------|-----|----------|
28
- | `debug` | `UnionDebugInfo` | nein |
29
- | `dependencies` | `DependencyCacheEntry[]` | nein |
30
-
31
- ### interface: UnionDebugInfo
32
- Rolle: other (Sichtbarkeit: public, Priorität: normal)
33
- Signatur: `interface UnionDebugInfo {
34
- keptFromUnparsed: number;
35
- skippedFromParsed: number;
36
- skippedFromDeleted: number;
37
- newDeps: number;
38
- }`
39
- ```ts
40
- interface UnionDebugInfo {
41
- keptFromUnparsed: number;
42
- skippedFromParsed: number;
43
- skippedFromDeleted: number;
44
- newDeps: number;
45
- }
46
- ```
47
-
48
- Eigenschaften:
49
-
50
- | Name | Typ | Optional |
51
- |------|-----|----------|
52
- | `keptFromUnparsed` | `number` | nein |
53
- | `newDeps` | `number` | nein |
54
- | `skippedFromDeleted` | `number` | nein |
55
- | `skippedFromParsed` | `number` | nein |
56
-
57
- ### function: buildDependenciesUnion
58
- Rolle: other (Sichtbarkeit: public, Priorität: normal)
59
- Signatur: `buildDependenciesUnion(dependenciesNew: ModuleDependency[], dependenciesCachePrev: DependencyCacheEntry[], parsedFiles: Set<string>, deletedFiles: Set<string>): DependencyCacheEntry[]`
60
- ```ts
61
- buildDependenciesUnion(dependenciesNew: ModuleDependency[], dependenciesCachePrev: DependencyCacheEntry[], parsedFiles: Set<string>, deletedFiles: Set<string>): DependencyCacheEntry[]
62
- ```
63
-
64
- Parameter:
65
-
66
- | Name | Typ | Optional | Default |
67
- |------|-----|----------|---------|
68
- | `deletedFiles` | `Set<string>` | nein | nein |
69
- | `dependenciesCachePrev` | `DependencyCacheEntry[]` | nein | nein |
70
- | `dependenciesNew` | `ModuleDependency[]` | nein | nein |
71
- | `parsedFiles` | `Set<string>` | nein | nein |
72
-
73
- Rückgabewert: `DependencyCacheEntry[]`
74
-
75
- ### function: buildDependenciesUnionWithDebug
76
- Rolle: other (Sichtbarkeit: public, Priorität: normal)
77
- Signatur: `buildDependenciesUnionWithDebug(dependenciesNew: ModuleDependency[], dependenciesCachePrev: DependencyCacheEntry[], parsedFiles: Set<string>, deletedFiles: Set<string>): DependenciesUnionResult`
78
- ```ts
79
- buildDependenciesUnionWithDebug(dependenciesNew: ModuleDependency[], dependenciesCachePrev: DependencyCacheEntry[], parsedFiles: Set<string>, deletedFiles: Set<string>): DependenciesUnionResult
80
- ```
81
-
82
- Parameter:
83
-
84
- | Name | Typ | Optional | Default |
85
- |------|-----|----------|---------|
86
- | `deletedFiles` | `Set<string>` | nein | nein |
87
- | `dependenciesCachePrev` | `DependencyCacheEntry[]` | nein | nein |
88
- | `dependenciesNew` | `ModuleDependency[]` | nein | nein |
89
- | `parsedFiles` | `Set<string>` | nein | nein |
90
-
91
- Rückgabewert: `DependenciesUnionResult`
92
-
93
- ### function: buildPreviousDependenciesMap
94
- Rolle: other (Sichtbarkeit: public, Priorität: normal)
95
- Signatur: `buildPreviousDependenciesMap(entries: DependencyCacheEntry[]): Map<string, DependencyCacheEntry[]>`
96
- ```ts
97
- buildPreviousDependenciesMap(entries: DependencyCacheEntry[]): Map<string, DependencyCacheEntry[]>
98
- ```
99
-
100
- Parameter:
101
-
102
- | Name | Typ | Optional | Default |
103
- |------|-----|----------|---------|
104
- | `entries` | `DependencyCacheEntry[]` | nein | nein |
105
-
106
- Rückgabewert: `Map<string, DependencyCacheEntry[]>`
107
-
108
- ### function: buildSymbolsUnion
109
- Rolle: other (Sichtbarkeit: public, Priorität: normal)
110
- Signatur: `buildSymbolsUnion(symbolsNew: ParsedSymbol[], symbolsPrev: ParsedSymbol[], parsedFiles: Set<string>, deletedFiles: Set<string>, scannedFiles: Set<string>): ParsedSymbol[]`
111
- ```ts
112
- buildSymbolsUnion(symbolsNew: ParsedSymbol[], symbolsPrev: ParsedSymbol[], parsedFiles: Set<string>, deletedFiles: Set<string>, scannedFiles: Set<string>): ParsedSymbol[]
113
- ```
114
-
115
- Parameter:
116
-
117
- | Name | Typ | Optional | Default |
118
- |------|-----|----------|---------|
119
- | `deletedFiles` | `Set<string>` | nein | nein |
120
- | `parsedFiles` | `Set<string>` | nein | nein |
121
- | `scannedFiles` | `Set<string>` | nein | nein |
122
- | `symbolsNew` | `ParsedSymbol[]` | nein | nein |
123
- | `symbolsPrev` | `ParsedSymbol[]` | nein | nein |
124
-
125
- Rückgabewert: `ParsedSymbol[]`
126
-
127
- ### function: buildUnionMap
128
- Rolle: other (Sichtbarkeit: public, Priorität: normal)
129
- Signatur: `buildUnionMap(dependenciesNew: ModuleDependency[], depMapPrev: Map<string, DependencyCacheEntry[]>, parsedFiles: Set<string>, deletedFiles: Set<string>): { union: Map<string, DependencyCacheEntry[]>, debug: UnionDebugInfo }`
130
- ```ts
131
- buildUnionMap(dependenciesNew: ModuleDependency[], depMapPrev: Map<string, DependencyCacheEntry[]>, parsedFiles: Set<string>, deletedFiles: Set<string>): { union: Map<string, DependencyCacheEntry[]>, debug: UnionDebugInfo }
132
- ```
133
-
134
- Parameter:
135
-
136
- | Name | Typ | Optional | Default |
137
- |------|-----|----------|---------|
138
- | `deletedFiles` | `Set<string>` | nein | nein |
139
- | `dependenciesNew` | `ModuleDependency[]` | nein | nein |
140
- | `depMapPrev` | `Map<string, DependencyCacheEntry[]>` | nein | nein |
141
- | `parsedFiles` | `Set<string>` | nein | nein |
142
-
143
- Rückgabewert: `{ union: Map<string, DependencyCacheEntry[]>, debug: UnionDebugInfo }`
144
-
145
- ### function: deduplicateAndSortDependencies
146
- Rolle: other (Sichtbarkeit: public, Priorität: normal)
147
- Signatur: `deduplicateAndSortDependencies(depMap: Map<string, DependencyCacheEntry[]>): DependencyCacheEntry[]`
148
- ```ts
149
- deduplicateAndSortDependencies(depMap: Map<string, DependencyCacheEntry[]>): DependencyCacheEntry[]
150
- ```
151
-
152
- Parameter:
153
-
154
- | Name | Typ | Optional | Default |
155
- |------|-----|----------|---------|
156
- | `depMap` | `Map<string, DependencyCacheEntry[]>` | nein | nein |
157
-
158
- Rückgabewert: `DependencyCacheEntry[]`
@@ -1,35 +0,0 @@
1
- # Modul: src/core/git.ts
2
-
3
- ## Relevante ADRs
4
-
5
- - [ADR-012: git-deletions-change-report-phase4](../adr/012-git-deletions-change-report-phase4.md)
6
-
7
- ### function: getChangedFiles
8
- Rolle: other (Sichtbarkeit: public, Priorität: normal)
9
- Signatur: `getChangedFiles(repoRoot: string): Set<string> | null`
10
- ```ts
11
- getChangedFiles(repoRoot: string): Set<string> | null
12
- ```
13
-
14
- Parameter:
15
-
16
- | Name | Typ | Optional | Default |
17
- |------|-----|----------|---------|
18
- | `repoRoot` | `string` | nein | nein |
19
-
20
- Rückgabewert: `Set<string> | null`
21
-
22
- ### function: getDeletedFiles
23
- Rolle: other (Sichtbarkeit: public, Priorität: normal)
24
- Signatur: `getDeletedFiles(repoRoot: string): Set<string> | null`
25
- ```ts
26
- getDeletedFiles(repoRoot: string): Set<string> | null
27
- ```
28
-
29
- Parameter:
30
-
31
- | Name | Typ | Optional | Default |
32
- |------|-----|----------|---------|
33
- | `repoRoot` | `string` | nein | nein |
34
-
35
- Rückgabewert: `Set<string> | null`
@@ -1,31 +0,0 @@
1
- # Modul: src/core/language-detection.ts
2
-
3
- ### function: guessLanguageByShebang
4
- Rolle: other (Sichtbarkeit: public, Priorität: normal)
5
- Signatur: `guessLanguageByShebang(firstLine: string | null): string | null`
6
- ```ts
7
- guessLanguageByShebang(firstLine: string | null): string | null
8
- ```
9
-
10
- Parameter:
11
-
12
- | Name | Typ | Optional | Default |
13
- |------|-----|----------|---------|
14
- | `firstLine` | `string | null` | nein | nein |
15
-
16
- Rückgabewert: `string | null`
17
-
18
- ### function: normalizeLineEndings
19
- Rolle: other (Sichtbarkeit: public, Priorität: normal)
20
- Signatur: `normalizeLineEndings(content: string): string`
21
- ```ts
22
- normalizeLineEndings(content: string): string
23
- ```
24
-
25
- Parameter:
26
-
27
- | Name | Typ | Optional | Default |
28
- |------|-----|----------|---------|
29
- | `content` | `string` | nein | nein |
30
-
31
- Rückgabewert: `string`
@@ -1,101 +0,0 @@
1
- # Modul: src/core/scanner.ts
2
-
3
- ## Relevante ADRs
4
-
5
- - [ADR-006: parser-variable-type-extraction](../adr/006-parser-variable-type-extraction.md)
6
- - [ADR-012: git-deletions-change-report-phase4](../adr/012-git-deletions-change-report-phase4.md)
7
- - [ADR-019: System-Schwachstellen-Analyse und proaktive Fixes](../adr/019-system-schwachstellen-analyse-und-fixes.md)
8
- - [ADR-025: MCP-Server Tools Scan/Validate – CLI-Bridge-Pattern](../adr/025-mcp-tools-scan-validate-cli-bridge.md)
9
- - [ADR-027: Scanner-Excludes und Union-Logik Fix](../adr/027-scanner-excludes-and-union-logic-fix.md)
10
- - [ADR-028: Vollständige `src`-Abdeckung, Union-Logik & Resync-Strategie](../adr/028-src-coverage-union-resync.md)
11
-
12
- ### interface: ScanOptions
13
- Rolle: config (Sichtbarkeit: public, Priorität: normal)
14
- Signatur: `interface ScanOptions {
15
- workspaceRoot: string;
16
- includeGlobs?: string[];
17
- excludeGlobs?: string[];
18
- }`
19
- ```ts
20
- interface ScanOptions {
21
- workspaceRoot: string;
22
- includeGlobs?: string[];
23
- excludeGlobs?: string[];
24
- }
25
- ```
26
-
27
- Eigenschaften:
28
-
29
- | Name | Typ | Optional |
30
- |------|-----|----------|
31
- | `excludeGlobs` | `string[]` | ja |
32
- | `includeGlobs` | `string[]` | ja |
33
- | `workspaceRoot` | `string` | nein |
34
-
35
- ### interface: ScannedFile
36
- Rolle: other (Sichtbarkeit: public, Priorität: normal)
37
- Signatur: `interface ScannedFile {
38
- absolutePath: string;
39
- repositoryRelativePath: string;
40
- language: string | null;
41
- }`
42
- ```ts
43
- interface ScannedFile {
44
- absolutePath: string;
45
- repositoryRelativePath: string;
46
- language: string | null;
47
- }
48
- ```
49
-
50
- Eigenschaften:
51
-
52
- | Name | Typ | Optional |
53
- |------|-----|----------|
54
- | `absolutePath` | `string` | nein |
55
- | `language` | `string | null` | nein |
56
- | `repositoryRelativePath` | `string` | nein |
57
-
58
- ### function: scanWorkspace
59
- Rolle: other (Sichtbarkeit: public, Priorität: normal)
60
- Signatur: `scanWorkspace(options: ScanOptions, includeBackups: boolean = …): ScannedFile[]`
61
- ```ts
62
- scanWorkspace(options: ScanOptions, includeBackups: boolean = …): ScannedFile[]
63
- ```
64
-
65
- Parameter:
66
-
67
- | Name | Typ | Optional | Default |
68
- |------|-----|----------|---------|
69
- | `includeBackups` | `boolean` | nein | ja |
70
- | `options` | `ScanOptions` | nein | nein |
71
-
72
- Rückgabewert: `ScannedFile[]`
73
-
74
- ### variable: BACKUP_DIR_NAMES
75
- Rolle: other (Sichtbarkeit: public, Priorität: normal)
76
- Signatur: `BACKUP_DIR_NAMES: Set<string>`
77
- ```ts
78
- BACKUP_DIR_NAMES: Set<string>
79
- ```
80
-
81
- ### variable: BACKUP_FILE_SUFFIXES
82
- Rolle: other (Sichtbarkeit: public, Priorität: normal)
83
- Signatur: `BACKUP_FILE_SUFFIXES: string[]`
84
- ```ts
85
- BACKUP_FILE_SUFFIXES: string[]
86
- ```
87
-
88
- ### variable: DEFAULT_EXCLUDES
89
- Rolle: other (Sichtbarkeit: public, Priorität: normal)
90
- Signatur: `DEFAULT_EXCLUDES: Set<string>`
91
- ```ts
92
- DEFAULT_EXCLUDES: Set<string>
93
- ```
94
-
95
- <!-- change: symbol-added name="EXCLUDE_FILE_PATTERNS" kind="variable" -->
96
- ### variable: EXCLUDE_FILE_PATTERNS
97
- Rolle: other (Sichtbarkeit: public, Priorität: normal)
98
- Signatur: `EXCLUDE_FILE_PATTERNS: RegExp[]`
99
- ```ts
100
- EXCLUDE_FILE_PATTERNS: RegExp[]
101
- ```