@noyrax/documentation-system-plugin 1.0.4-beta.2 → 1.0.4-beta.4

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