@noyrax/documentation-system-plugin 1.0.4-beta.1
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/.vscodeignore +41 -0
- package/LICENSE +21 -0
- package/MCP_SERVER_SETUP.md +371 -0
- package/README.md +663 -0
- package/assets/icon.svg +27 -0
- package/docs/LINKEDIN_ANTWORT_SEQUENZDIAGRAMME.md +190 -0
- package/docs/SEQUENZDIAGRAMM_BEWEIS.md +469 -0
- package/docs/SEQUENZDIAGRAMM_VALIDATE_FLOW.md +282 -0
- package/docs/adr/001-signatur-abweichung-fix.md +54 -0
- package/docs/adr/002-file-specific-validation-1.0.1.md +45 -0
- package/docs/adr/003-documentation-generation-bugs.md +134 -0
- package/docs/adr/004-validator-signature-matching-fix.md +121 -0
- package/docs/adr/005-validator-generic-simplification-tightening.md +35 -0
- package/docs/adr/006-parser-variable-type-extraction.md +33 -0
- package/docs/adr/007-ts-parser-load-libs-for-accurate-types.md +31 -0
- package/docs/adr/008-dependencies-cache-phase1.md +133 -0
- package/docs/adr/009-consolidation-union-logic-phase1-2.md +147 -0
- package/docs/adr/010-extension-union-integration-phase1-3-and-phase2.md +179 -0
- package/docs/adr/011-module-doc-change-tracking-phase3.md +190 -0
- package/docs/adr/012-git-deletions-change-report-phase4.md +235 -0
- package/docs/adr/013-system-functionality-fixes.md +279 -0
- package/docs/adr/014-rules-migration-und-mcp-integration.md +113 -0
- package/docs/adr/015-global-agent-package.md +158 -0
- package/docs/adr/016-produktisierung-docguard.md +193 -0
- package/docs/adr/017-signature-matching-optional-fields.md +128 -0
- package/docs/adr/018-rebranding-docguard-to-noyrax.md +109 -0
- package/docs/adr/019-system-schwachstellen-analyse-und-fixes.md +204 -0
- package/docs/adr/020-api-doc-tiefe-und-signatureformatter.md +74 -0
- package/docs/adr/021-semantic-api-docs-and-symbol-classifier.md +125 -0
- package/docs/adr/022-semantic-class-and-constants-rendering.md +82 -0
- package/docs/adr/023-adr-verknuepfung-modul-doku.md +54 -0
- package/docs/adr/024-cursor-rules-mehrdimensionaler-raum.md +230 -0
- package/docs/adr/025-mcp-tools-scan-validate-cli-bridge.md +202 -0
- package/docs/adr/026-reality-driven-development-system.md +173 -0
- package/docs/adr/027-scanner-excludes-and-union-logic-fix.md +189 -0
- package/docs/adr/028-src-coverage-union-resync.md +124 -0
- package/docs/adr/029-parser-flow-kopplung-und-sync-drift-modi.md +102 -0
- package/docs/adr/030-dependency-import-symbol-names-preservation.md +123 -0
- package/docs/adr/031-generate-cli-vollstaendige-dokumentation.md +99 -0
- package/docs/adr/032-windows-optimized-verification-scripts.md +165 -0
- package/docs/adr/036-enhanced-dependency-metadata.md +190 -0
- package/docs/adr/TEMPLATE.md +76 -0
- package/docs/index/symbols.jsonl +31 -0
- package/docs/modules/action__action.yml.md +50 -0
- package/docs/modules/documentation.config.schema.json.md +37 -0
- package/docs/modules/mcp__package.json.md +130 -0
- package/docs/modules/mcp__src__resources__docs.ts.md +94 -0
- package/docs/modules/mcp__src__server.ts.md +15 -0
- package/docs/modules/mcp__src__tools__drift.ts.md +110 -0
- package/docs/modules/mcp__src__tools__impact.ts.md +127 -0
- package/docs/modules/mcp__src__tools__scan.ts.md +75 -0
- package/docs/modules/mcp__src__tools__validate.ts.md +116 -0
- package/docs/modules/mcp__src__tools__verify-adrs.ts.md +106 -0
- package/docs/modules/mcp__tsconfig.json.md +22 -0
- package/docs/modules/package.json.md +131 -0
- package/docs/modules/packages__doc-system-agent__examples__basic-project__package.json.md +43 -0
- package/docs/modules/packages__doc-system-agent__examples__basic-project__src__calculator.ts.md +81 -0
- package/docs/modules/packages__doc-system-agent__package.json.md +154 -0
- package/docs/modules/packages__doc-system-agent__src__cli__index.ts.md +8 -0
- package/docs/modules/packages__doc-system-agent__src__cli__init.ts.md +93 -0
- package/docs/modules/packages__doc-system-agent__src__cli__update.ts.md +113 -0
- package/docs/modules/packages__doc-system-agent__src__constants.ts.md +29 -0
- package/docs/modules/packages__doc-system-agent__src__index.ts.md +234 -0
- package/docs/modules/packages__doc-system-agent__src__mcp__resources__docs.ts.md +94 -0
- package/docs/modules/packages__doc-system-agent__src__mcp__server.ts.md +17 -0
- package/docs/modules/packages__doc-system-agent__src__mcp__tools__drift.ts.md +38 -0
- package/docs/modules/packages__doc-system-agent__src__mcp__tools__impact.ts.md +75 -0
- package/docs/modules/packages__doc-system-agent__src__mcp__tools__scan.ts.md +23 -0
- package/docs/modules/packages__doc-system-agent__src__mcp__tools__validate.ts.md +23 -0
- package/docs/modules/packages__doc-system-agent__src__mcp__tools__verify-adrs.ts.md +106 -0
- package/docs/modules/packages__doc-system-agent__src__mcp__types.ts.md +355 -0
- package/docs/modules/packages__doc-system-agent__tsconfig.json.md +22 -0
- package/docs/modules/scripts__verify-adrs.js.md +97 -0
- package/docs/modules/scripts__verify-architecture.js.md +93 -0
- package/docs/modules/scripts__verify-imports.js.md +114 -0
- package/docs/modules/src____tests____setup.ts.md +8 -0
- package/docs/modules/src____tests____signature-formatter.test.ts.md +16 -0
- package/docs/modules/src____tests____snapshot-doc-generation.test.ts.md +8 -0
- package/docs/modules/src____tests____symbol-classifier.test.ts.md +16 -0
- package/docs/modules/src__cache__ast-cache.ts.md +91 -0
- package/docs/modules/src__cache__dependencies-cache.ts.md +89 -0
- package/docs/modules/src__cache__output-cache.ts.md +91 -0
- package/docs/modules/src__cache__signature-cache.ts.md +76 -0
- package/docs/modules/src__cli__generate-cli.ts.md +130 -0
- package/docs/modules/src__cli__scan-cli.ts.md +99 -0
- package/docs/modules/src__cli__validate-cli.ts.md +144 -0
- package/docs/modules/src__core__async.ts.md +18 -0
- package/docs/modules/src__core__consolidation.ts.md +158 -0
- package/docs/modules/src__core__git.ts.md +35 -0
- package/docs/modules/src__core__language-detection.ts.md +31 -0
- package/docs/modules/src__core__scanner.ts.md +101 -0
- package/docs/modules/src__core__signature-formatter.ts.md +232 -0
- package/docs/modules/src__core__symbol-classifier.ts.md +178 -0
- package/docs/modules/src__core__symbols.ts.md +31 -0
- package/docs/modules/src__drift__index.ts.md +53 -0
- package/docs/modules/src__extension.ts.md +418 -0
- package/docs/modules/src__generator__adr-linker.ts.md +154 -0
- package/docs/modules/src__generator__change-report.ts.md +85 -0
- package/docs/modules/src__generator__dependency-graph.ts.md +63 -0
- package/docs/modules/src__generator__index.ts.md +40 -0
- package/docs/modules/src__generator__module-doc.ts.md +242 -0
- package/docs/modules/src__index__index.ts.md +141 -0
- package/docs/modules/src__logging__index.ts.md +87 -0
- package/docs/modules/src__parsers__dependencies.ts.md +69 -0
- package/docs/modules/src__parsers__json-yaml.ts.md +81 -0
- package/docs/modules/src__parsers__python.ts.md +73 -0
- package/docs/modules/src__parsers__ts-js.ts.md +48 -0
- package/docs/modules/src__parsers__types.ts.md +99 -0
- package/docs/modules/src__ui__commands-provider.ts.md +70 -0
- package/docs/modules/src__ui__status-bar.ts.md +79 -0
- package/docs/modules/src__validator__index.ts.md +211 -0
- package/docs/modules/src__validator__signature-matching.ts.md +209 -0
- package/docs/modules/src__validator__status.ts.md +72 -0
- package/docs/modules/test-mcp-resources.js.md +27 -0
- package/docs/modules/tsconfig.json.md +22 -0
- package/docs/system/CHANGE_REPORT.md +19 -0
- package/docs/system/DEPENDENCIES.md +430 -0
- package/docs/system/DEPENDENCY_GRAPH.md +368 -0
- package/docs/system/NAVIGATION_SPACE_ANALYSIS.md +244 -0
- package/docs/system/NPX_CACHE_FIX.md +85 -0
- package/docs/system/NPX_LOCAL_USAGE.md +66 -0
- package/docs/system/PLUGIN_ECOSYSTEM_STATUS.md +465 -0
- package/docs/system/PLUGIN_UPDATE_GUIDE.md +212 -0
- package/docs/system/RULES_UPDATE_GUIDE.md +182 -0
- package/docs/system/SYSTEM_ANALYSIS.md +947 -0
- package/documentation.config.schema.json +77 -0
- package/noyrax-5d-database-plugin-0.1.8.tgz +0 -0
- package/out/cache/ast-cache.js +69 -0
- package/out/cache/ast-cache.js.map +1 -0
- package/out/cache/dependencies-cache.js +73 -0
- package/out/cache/dependencies-cache.js.map +1 -0
- package/out/cache/output-cache.js +69 -0
- package/out/cache/output-cache.js.map +1 -0
- package/out/cache/signature-cache.js +60 -0
- package/out/cache/signature-cache.js.map +1 -0
- package/out/cli/generate-cli.js +330 -0
- package/out/cli/generate-cli.js.map +1 -0
- package/out/cli/scan-cli.js +151 -0
- package/out/cli/scan-cli.js.map +1 -0
- package/out/cli/validate-cli.js +258 -0
- package/out/cli/validate-cli.js.map +1 -0
- package/out/core/async.js +38 -0
- package/out/core/async.js.map +1 -0
- package/out/core/consolidation.js +230 -0
- package/out/core/consolidation.js.map +1 -0
- package/out/core/git.js +48 -0
- package/out/core/git.js.map +1 -0
- package/out/core/language-detection.js +29 -0
- package/out/core/language-detection.js.map +1 -0
- package/out/core/scanner.js +179 -0
- package/out/core/scanner.js.map +1 -0
- package/out/core/signature-formatter.js +162 -0
- package/out/core/signature-formatter.js.map +1 -0
- package/out/core/symbol-classifier.js +96 -0
- package/out/core/symbol-classifier.js.map +1 -0
- package/out/core/symbols.js +24 -0
- package/out/core/symbols.js.map +1 -0
- package/out/drift/index.js +28 -0
- package/out/drift/index.js.map +1 -0
- package/out/extension.js +984 -0
- package/out/extension.js.map +1 -0
- package/out/generator/adr-linker.js +216 -0
- package/out/generator/adr-linker.js.map +1 -0
- package/out/generator/change-report.js +124 -0
- package/out/generator/change-report.js.map +1 -0
- package/out/generator/dependency-graph.js +98 -0
- package/out/generator/dependency-graph.js.map +1 -0
- package/out/generator/index.js +117 -0
- package/out/generator/index.js.map +1 -0
- package/out/generator/module-doc.js +438 -0
- package/out/generator/module-doc.js.map +1 -0
- package/out/index/index.js +147 -0
- package/out/index/index.js.map +1 -0
- package/out/logging/index.js +24 -0
- package/out/logging/index.js.map +1 -0
- package/out/parsers/dependencies.js +126 -0
- package/out/parsers/dependencies.js.map +1 -0
- package/out/parsers/json-yaml.js +90 -0
- package/out/parsers/json-yaml.js.map +1 -0
- package/out/parsers/python.js +160 -0
- package/out/parsers/python.js.map +1 -0
- package/out/parsers/ts-js.js +397 -0
- package/out/parsers/ts-js.js.map +1 -0
- package/out/parsers/types.js +3 -0
- package/out/parsers/types.js.map +1 -0
- package/out/ui/commands-provider.js +91 -0
- package/out/ui/commands-provider.js.map +1 -0
- package/out/ui/status-bar.js +85 -0
- package/out/ui/status-bar.js.map +1 -0
- package/out/validator/index.js +185 -0
- package/out/validator/index.js.map +1 -0
- package/out/validator/signature-matching.js +261 -0
- package/out/validator/signature-matching.js.map +1 -0
- package/out/validator/status.js +38 -0
- package/out/validator/status.js.map +1 -0
- package/package.json +306 -0
- package/publish.ps1 +21 -0
- package/scripts/verify-adrs.js +312 -0
- package/scripts/verify-architecture.js +181 -0
- package/scripts/verify-imports.js +274 -0
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
# Modul: packages/doc-system-agent/package.json
|
|
2
|
+
|
|
3
|
+
<!-- change: symbol-added name="exports" kind="variable" -->
|
|
4
|
+
### variable: author
|
|
5
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
6
|
+
Signatur: `author: string`
|
|
7
|
+
```ts
|
|
8
|
+
author: string
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
<!-- change: symbol-added name="files" kind="variable" -->
|
|
12
|
+
### variable: bin
|
|
13
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
14
|
+
Signatur: `bin: object`
|
|
15
|
+
```ts
|
|
16
|
+
bin: object
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
<!-- change: symbol-added name="funding" kind="variable" -->
|
|
20
|
+
### variable: bugs
|
|
21
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
22
|
+
Signatur: `bugs: object`
|
|
23
|
+
```ts
|
|
24
|
+
bugs: object
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
<!-- change: symbol-added name="homepage" kind="variable" -->
|
|
28
|
+
### variable: dependencies
|
|
29
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
30
|
+
Signatur: `dependencies: object`
|
|
31
|
+
```ts
|
|
32
|
+
dependencies: object
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
<!-- change: symbol-added name="keywords" kind="variable" -->
|
|
36
|
+
### variable: description
|
|
37
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
38
|
+
Signatur: `description: string`
|
|
39
|
+
```ts
|
|
40
|
+
description: string
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
<!-- change: symbol-added name="license" kind="variable" -->
|
|
44
|
+
### variable: devDependencies
|
|
45
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
46
|
+
Signatur: `devDependencies: object`
|
|
47
|
+
```ts
|
|
48
|
+
devDependencies: object
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
<!-- change: symbol-added name="main" kind="variable" -->
|
|
52
|
+
### variable: engines
|
|
53
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
54
|
+
Signatur: `engines: object`
|
|
55
|
+
```ts
|
|
56
|
+
engines: object
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
<!-- change: symbol-added name="name" kind="variable" -->
|
|
60
|
+
### variable: exports
|
|
61
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
62
|
+
Signatur: `exports: object`
|
|
63
|
+
```ts
|
|
64
|
+
exports: object
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
<!-- change: symbol-added name="scripts" kind="variable" -->
|
|
68
|
+
### variable: files
|
|
69
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
70
|
+
Signatur: `files: object`
|
|
71
|
+
```ts
|
|
72
|
+
files: object
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
<!-- change: symbol-added name="type" kind="variable" -->
|
|
76
|
+
### variable: funding
|
|
77
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
78
|
+
Signatur: `funding: object`
|
|
79
|
+
```ts
|
|
80
|
+
funding: object
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
<!-- change: symbol-added name="types" kind="variable" -->
|
|
84
|
+
### variable: homepage
|
|
85
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
86
|
+
Signatur: `homepage: string`
|
|
87
|
+
```ts
|
|
88
|
+
homepage: string
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
<!-- change: symbol-added name="version" kind="variable" -->
|
|
92
|
+
### variable: keywords
|
|
93
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
94
|
+
Signatur: `keywords: object`
|
|
95
|
+
```ts
|
|
96
|
+
keywords: object
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
<!-- change: symbol-added name="repository" kind="variable" -->
|
|
100
|
+
### variable: license
|
|
101
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
102
|
+
Signatur: `license: string`
|
|
103
|
+
```ts
|
|
104
|
+
license: string
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
### variable: main
|
|
108
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
109
|
+
Signatur: `main: string`
|
|
110
|
+
```ts
|
|
111
|
+
main: string
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
### variable: name
|
|
115
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
116
|
+
Signatur: `name: string`
|
|
117
|
+
```ts
|
|
118
|
+
name: string
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
### variable: scripts
|
|
122
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
123
|
+
Signatur: `scripts: object`
|
|
124
|
+
```ts
|
|
125
|
+
scripts: object
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
### variable: type
|
|
129
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
130
|
+
Signatur: `type: string`
|
|
131
|
+
```ts
|
|
132
|
+
type: string
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
### variable: types
|
|
136
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
137
|
+
Signatur: `types: string`
|
|
138
|
+
```ts
|
|
139
|
+
types: string
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
### variable: version
|
|
143
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
144
|
+
Signatur: `version: string`
|
|
145
|
+
```ts
|
|
146
|
+
version: string
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
### variable: repository
|
|
150
|
+
Rolle: infra (Sichtbarkeit: public, Priorität: low)
|
|
151
|
+
Signatur: `repository: object`
|
|
152
|
+
```ts
|
|
153
|
+
repository: object
|
|
154
|
+
```
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
# Modul: packages/doc-system-agent/src/cli/init.ts
|
|
2
|
+
|
|
3
|
+
### interface: InitResult
|
|
4
|
+
Rolle: domain-model (Sichtbarkeit: public, Priorität: high)
|
|
5
|
+
Signatur: `interface InitResult {
|
|
6
|
+
success: boolean;
|
|
7
|
+
rulesCreated: string[];
|
|
8
|
+
rulesSkipped: string[];
|
|
9
|
+
mcpConfigCreated: boolean;
|
|
10
|
+
errors: string[];
|
|
11
|
+
}`
|
|
12
|
+
```ts
|
|
13
|
+
interface InitResult {
|
|
14
|
+
success: boolean;
|
|
15
|
+
rulesCreated: string[];
|
|
16
|
+
rulesSkipped: string[];
|
|
17
|
+
mcpConfigCreated: boolean;
|
|
18
|
+
errors: string[];
|
|
19
|
+
}
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Eigenschaften:
|
|
23
|
+
|
|
24
|
+
| Name | Typ | Optional |
|
|
25
|
+
|------|-----|----------|
|
|
26
|
+
| `errors` | `string[]` | nein |
|
|
27
|
+
| `mcpConfigCreated` | `boolean` | nein |
|
|
28
|
+
| `rulesCreated` | `string[]` | nein |
|
|
29
|
+
| `rulesSkipped` | `string[]` | nein |
|
|
30
|
+
| `success` | `boolean` | nein |
|
|
31
|
+
|
|
32
|
+
### interface: InitOptions
|
|
33
|
+
Rolle: config (Sichtbarkeit: public, Priorität: normal)
|
|
34
|
+
Signatur: `interface InitOptions {
|
|
35
|
+
targetDir?: string;
|
|
36
|
+
force?: boolean;
|
|
37
|
+
merge?: boolean;
|
|
38
|
+
verbose?: boolean;
|
|
39
|
+
}`
|
|
40
|
+
```ts
|
|
41
|
+
interface InitOptions {
|
|
42
|
+
targetDir?: string;
|
|
43
|
+
force?: boolean;
|
|
44
|
+
merge?: boolean;
|
|
45
|
+
verbose?: boolean;
|
|
46
|
+
}
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Eigenschaften:
|
|
50
|
+
|
|
51
|
+
| Name | Typ | Optional |
|
|
52
|
+
|------|-----|----------|
|
|
53
|
+
| `force` | `boolean` | ja |
|
|
54
|
+
| `merge` | `boolean` | ja |
|
|
55
|
+
| `targetDir` | `string` | ja |
|
|
56
|
+
| `verbose` | `boolean` | ja |
|
|
57
|
+
|
|
58
|
+
### function: fileExists
|
|
59
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
60
|
+
Signatur: `fileExists(filePath: string): Promise<boolean>`
|
|
61
|
+
```ts
|
|
62
|
+
fileExists(filePath: string): Promise<boolean>
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Parameter:
|
|
66
|
+
|
|
67
|
+
| Name | Typ | Optional | Default |
|
|
68
|
+
|------|-----|----------|---------|
|
|
69
|
+
| `filePath` | `string` | nein | nein |
|
|
70
|
+
|
|
71
|
+
Rückgabewert: `Promise<boolean>`
|
|
72
|
+
|
|
73
|
+
### function: initProject
|
|
74
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
75
|
+
Signatur: `initProject(options: InitOptions = …): Promise<InitResult>`
|
|
76
|
+
```ts
|
|
77
|
+
initProject(options: InitOptions = …): Promise<InitResult>
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
Parameter:
|
|
81
|
+
|
|
82
|
+
| Name | Typ | Optional | Default |
|
|
83
|
+
|------|-----|----------|---------|
|
|
84
|
+
| `options` | `InitOptions` | nein | ja |
|
|
85
|
+
|
|
86
|
+
Rückgabewert: `Promise<InitResult>`
|
|
87
|
+
|
|
88
|
+
### variable: __dirname
|
|
89
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
90
|
+
Signatur: `__dirname: string`
|
|
91
|
+
```ts
|
|
92
|
+
__dirname: string
|
|
93
|
+
```
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
# Modul: packages/doc-system-agent/src/cli/update.ts
|
|
2
|
+
|
|
3
|
+
### interface: UpdateResult
|
|
4
|
+
Rolle: domain-model (Sichtbarkeit: public, Priorität: high)
|
|
5
|
+
Signatur: `interface UpdateResult {
|
|
6
|
+
success: boolean;
|
|
7
|
+
currentVersion: number;
|
|
8
|
+
targetVersion: number;
|
|
9
|
+
updated: string[];
|
|
10
|
+
skipped: string[];
|
|
11
|
+
errors: string[];
|
|
12
|
+
}`
|
|
13
|
+
```ts
|
|
14
|
+
interface UpdateResult {
|
|
15
|
+
success: boolean;
|
|
16
|
+
currentVersion: number;
|
|
17
|
+
targetVersion: number;
|
|
18
|
+
updated: string[];
|
|
19
|
+
skipped: string[];
|
|
20
|
+
errors: string[];
|
|
21
|
+
}
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Eigenschaften:
|
|
25
|
+
|
|
26
|
+
| Name | Typ | Optional |
|
|
27
|
+
|------|-----|----------|
|
|
28
|
+
| `currentVersion` | `number` | nein |
|
|
29
|
+
| `errors` | `string[]` | nein |
|
|
30
|
+
| `skipped` | `string[]` | nein |
|
|
31
|
+
| `success` | `boolean` | nein |
|
|
32
|
+
| `targetVersion` | `number` | nein |
|
|
33
|
+
| `updated` | `string[]` | nein |
|
|
34
|
+
|
|
35
|
+
### interface: UpdateOptions
|
|
36
|
+
Rolle: config (Sichtbarkeit: public, Priorität: normal)
|
|
37
|
+
Signatur: `interface UpdateOptions {
|
|
38
|
+
targetDir?: string;
|
|
39
|
+
safe?: boolean;
|
|
40
|
+
verbose?: boolean;
|
|
41
|
+
}`
|
|
42
|
+
```ts
|
|
43
|
+
interface UpdateOptions {
|
|
44
|
+
targetDir?: string;
|
|
45
|
+
safe?: boolean;
|
|
46
|
+
verbose?: boolean;
|
|
47
|
+
}
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Eigenschaften:
|
|
51
|
+
|
|
52
|
+
| Name | Typ | Optional |
|
|
53
|
+
|------|-----|----------|
|
|
54
|
+
| `safe` | `boolean` | ja |
|
|
55
|
+
| `targetDir` | `string` | ja |
|
|
56
|
+
| `verbose` | `boolean` | ja |
|
|
57
|
+
|
|
58
|
+
### interface: RulesVersion
|
|
59
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
60
|
+
Signatur: `interface RulesVersion {
|
|
61
|
+
version: number;
|
|
62
|
+
updatedAt: string;
|
|
63
|
+
}`
|
|
64
|
+
```ts
|
|
65
|
+
interface RulesVersion {
|
|
66
|
+
version: number;
|
|
67
|
+
updatedAt: string;
|
|
68
|
+
}
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
Eigenschaften:
|
|
72
|
+
|
|
73
|
+
| Name | Typ | Optional |
|
|
74
|
+
|------|-----|----------|
|
|
75
|
+
| `updatedAt` | `string` | nein |
|
|
76
|
+
| `version` | `number` | nein |
|
|
77
|
+
|
|
78
|
+
### function: fileExists
|
|
79
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
80
|
+
Signatur: `fileExists(filePath: string): Promise<boolean>`
|
|
81
|
+
```ts
|
|
82
|
+
fileExists(filePath: string): Promise<boolean>
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
Parameter:
|
|
86
|
+
|
|
87
|
+
| Name | Typ | Optional | Default |
|
|
88
|
+
|------|-----|----------|---------|
|
|
89
|
+
| `filePath` | `string` | nein | nein |
|
|
90
|
+
|
|
91
|
+
Rückgabewert: `Promise<boolean>`
|
|
92
|
+
|
|
93
|
+
### function: updateRules
|
|
94
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
95
|
+
Signatur: `updateRules(options: UpdateOptions = …): Promise<UpdateResult>`
|
|
96
|
+
```ts
|
|
97
|
+
updateRules(options: UpdateOptions = …): Promise<UpdateResult>
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
Parameter:
|
|
101
|
+
|
|
102
|
+
| Name | Typ | Optional | Default |
|
|
103
|
+
|------|-----|----------|---------|
|
|
104
|
+
| `options` | `UpdateOptions` | nein | ja |
|
|
105
|
+
|
|
106
|
+
Rückgabewert: `Promise<UpdateResult>`
|
|
107
|
+
|
|
108
|
+
### variable: __dirname
|
|
109
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
110
|
+
Signatur: `__dirname: string`
|
|
111
|
+
```ts
|
|
112
|
+
__dirname: string
|
|
113
|
+
```
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Modul: packages/doc-system-agent/src/constants.ts
|
|
2
|
+
|
|
3
|
+
### variable: MCP_CONFIG
|
|
4
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
5
|
+
Signatur: `MCP_CONFIG: { readonly serverName: "doc-validation"; readonly command: "doc-mcp-server"; readonly args: readonly ["start"]; }`
|
|
6
|
+
```ts
|
|
7
|
+
MCP_CONFIG: { readonly serverName: "doc-validation"; readonly command: "doc-mcp-server"; readonly args: readonly ["start"]; }
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
### variable: PACKAGE_VERSION
|
|
11
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
12
|
+
Signatur: `PACKAGE_VERSION: "1.2.0"`
|
|
13
|
+
```ts
|
|
14
|
+
PACKAGE_VERSION: "1.2.0"
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
### variable: RULE_FILES
|
|
18
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
19
|
+
Signatur: `RULE_FILES: readonly ["000-orchestrator.mdc", "001-pre-check.mdc", "002-system-context.mdc", "010-parsers.mdc", "011-validators.mdc", "012-cache.mdc", "013-generator.mdc", "014-test-writing.mdc", "020-validate-workflow.mdc", "021-impact-analysis.mdc", "022-adr-workflow.mdc", "023-pre-planning.mdc", "026-reality-driven-verification.mdc", "030-constraints.mdc"]`
|
|
20
|
+
```ts
|
|
21
|
+
RULE_FILES: readonly ["000-orchestrator.mdc", "001-pre-check.mdc", "002-system-context.mdc", "010-parsers.mdc", "011-validators.mdc", "012-cache.mdc", "013-generator.mdc", "014-test-writing.mdc", "020-validate-workflow.mdc", "021-impact-analysis.mdc", "022-adr-workflow.mdc", "023-pre-planning.mdc", "026-reality-driven-verification.mdc", "030-constraints.mdc"]
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
### variable: RULES_VERSION
|
|
25
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
26
|
+
Signatur: `RULES_VERSION: 4`
|
|
27
|
+
```ts
|
|
28
|
+
RULES_VERSION: 4
|
|
29
|
+
```
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
# Modul: packages/doc-system-agent/src/index.ts
|
|
2
|
+
|
|
3
|
+
<!-- change: symbol-added name="PACKAGE_VERSION" kind="variable" -->
|
|
4
|
+
### variable: InitOptions
|
|
5
|
+
Rolle: config (Sichtbarkeit: public, Priorität: normal)
|
|
6
|
+
Signatur: `InitOptions`
|
|
7
|
+
```ts
|
|
8
|
+
InitOptions
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
<!-- change: symbol-added name="reexport:DriftRequestfrom:./mcp/types.js" kind="variable" -->
|
|
12
|
+
### variable: UpdateOptions
|
|
13
|
+
Rolle: config (Sichtbarkeit: public, Priorität: normal)
|
|
14
|
+
Signatur: `UpdateOptions`
|
|
15
|
+
```ts
|
|
16
|
+
UpdateOptions
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
<!-- change: symbol-added name="reexport:DriftResponsefrom:./mcp/types.js" kind="variable" -->
|
|
20
|
+
### variable: DriftRequest
|
|
21
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
22
|
+
Signatur: `DriftRequest`
|
|
23
|
+
```ts
|
|
24
|
+
DriftRequest
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
<!-- change: symbol-added name="reexport:ImpactRequestfrom:./mcp/types.js" kind="variable" -->
|
|
28
|
+
### variable: DriftResponse
|
|
29
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
30
|
+
Signatur: `DriftResponse`
|
|
31
|
+
```ts
|
|
32
|
+
DriftResponse
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
<!-- change: symbol-added name="reexport:ImpactResponsefrom:./mcp/types.js" kind="variable" -->
|
|
36
|
+
### variable: ImpactRequest
|
|
37
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
38
|
+
Signatur: `ImpactRequest`
|
|
39
|
+
```ts
|
|
40
|
+
ImpactRequest
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
<!-- change: symbol-added name="reexport:InitOptionsfrom:./cli/init.js" kind="variable" -->
|
|
44
|
+
### variable: ImpactResponse
|
|
45
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
46
|
+
Signatur: `ImpactResponse`
|
|
47
|
+
```ts
|
|
48
|
+
ImpactResponse
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
<!-- change: symbol-added name="reexport:initProjectfrom:./cli/init.js" kind="variable" -->
|
|
52
|
+
### variable: initProject
|
|
53
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
54
|
+
Signatur: `initProject`
|
|
55
|
+
```ts
|
|
56
|
+
initProject
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
<!-- change: symbol-added name="reexport:PACKAGE_VERSIONfrom:./constants.js" kind="variable" -->
|
|
60
|
+
### variable: PACKAGE_VERSION
|
|
61
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
62
|
+
Signatur: `PACKAGE_VERSION`
|
|
63
|
+
```ts
|
|
64
|
+
PACKAGE_VERSION
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
<!-- change: symbol-added name="reexport:RULES_VERSIONfrom:./constants.js" kind="variable" -->
|
|
68
|
+
### variable: reexport:DriftRequestfrom:./mcp/types.js
|
|
69
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
70
|
+
Signatur: `reexport:DriftRequestfrom:./mcp/types.js`
|
|
71
|
+
```ts
|
|
72
|
+
reexport:DriftRequestfrom:./mcp/types.js
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
<!-- change: symbol-added name="reexport:ScanRequestfrom:./mcp/types.js" kind="variable" -->
|
|
76
|
+
### variable: reexport:DriftResponsefrom:./mcp/types.js
|
|
77
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
78
|
+
Signatur: `reexport:DriftResponsefrom:./mcp/types.js`
|
|
79
|
+
```ts
|
|
80
|
+
reexport:DriftResponsefrom:./mcp/types.js
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
<!-- change: symbol-added name="reexport:ScanResponsefrom:./mcp/types.js" kind="variable" -->
|
|
84
|
+
### variable: reexport:ImpactRequestfrom:./mcp/types.js
|
|
85
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
86
|
+
Signatur: `reexport:ImpactRequestfrom:./mcp/types.js`
|
|
87
|
+
```ts
|
|
88
|
+
reexport:ImpactRequestfrom:./mcp/types.js
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
<!-- change: symbol-added name="reexport:startMcpServerfrom:./mcp/server.js" kind="variable" -->
|
|
92
|
+
### variable: reexport:ImpactResponsefrom:./mcp/types.js
|
|
93
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
94
|
+
Signatur: `reexport:ImpactResponsefrom:./mcp/types.js`
|
|
95
|
+
```ts
|
|
96
|
+
reexport:ImpactResponsefrom:./mcp/types.js
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
<!-- change: symbol-added name="reexport:UpdateOptionsfrom:./cli/update.js" kind="variable" -->
|
|
100
|
+
### variable: reexport:InitOptionsfrom:./cli/init.js
|
|
101
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
102
|
+
Signatur: `reexport:InitOptionsfrom:./cli/init.js`
|
|
103
|
+
```ts
|
|
104
|
+
reexport:InitOptionsfrom:./cli/init.js
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
<!-- change: symbol-added name="reexport:updateRulesfrom:./cli/update.js" kind="variable" -->
|
|
108
|
+
### variable: reexport:initProjectfrom:./cli/init.js
|
|
109
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
110
|
+
Signatur: `reexport:initProjectfrom:./cli/init.js`
|
|
111
|
+
```ts
|
|
112
|
+
reexport:initProjectfrom:./cli/init.js
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
<!-- change: symbol-added name="reexport:ValidateRequestfrom:./mcp/types.js" kind="variable" -->
|
|
116
|
+
### variable: reexport:PACKAGE_VERSIONfrom:./constants.js
|
|
117
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
118
|
+
Signatur: `reexport:PACKAGE_VERSIONfrom:./constants.js`
|
|
119
|
+
```ts
|
|
120
|
+
reexport:PACKAGE_VERSIONfrom:./constants.js
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
<!-- change: symbol-added name="reexport:ValidateResponsefrom:./mcp/types.js" kind="variable" -->
|
|
124
|
+
### variable: reexport:RULES_VERSIONfrom:./constants.js
|
|
125
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
126
|
+
Signatur: `reexport:RULES_VERSIONfrom:./constants.js`
|
|
127
|
+
```ts
|
|
128
|
+
reexport:RULES_VERSIONfrom:./constants.js
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
<!-- change: symbol-added name="RULES_VERSION" kind="variable" -->
|
|
132
|
+
### variable: reexport:ScanRequestfrom:./mcp/types.js
|
|
133
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
134
|
+
Signatur: `reexport:ScanRequestfrom:./mcp/types.js`
|
|
135
|
+
```ts
|
|
136
|
+
reexport:ScanRequestfrom:./mcp/types.js
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
<!-- change: symbol-added name="ScanRequest" kind="variable" -->
|
|
140
|
+
### variable: reexport:ScanResponsefrom:./mcp/types.js
|
|
141
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
142
|
+
Signatur: `reexport:ScanResponsefrom:./mcp/types.js`
|
|
143
|
+
```ts
|
|
144
|
+
reexport:ScanResponsefrom:./mcp/types.js
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
<!-- change: symbol-added name="ScanResponse" kind="variable" -->
|
|
148
|
+
### variable: reexport:startMcpServerfrom:./mcp/server.js
|
|
149
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
150
|
+
Signatur: `reexport:startMcpServerfrom:./mcp/server.js`
|
|
151
|
+
```ts
|
|
152
|
+
reexport:startMcpServerfrom:./mcp/server.js
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
<!-- change: symbol-added name="startMcpServer" kind="variable" -->
|
|
156
|
+
### variable: reexport:UpdateOptionsfrom:./cli/update.js
|
|
157
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
158
|
+
Signatur: `reexport:UpdateOptionsfrom:./cli/update.js`
|
|
159
|
+
```ts
|
|
160
|
+
reexport:UpdateOptionsfrom:./cli/update.js
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
<!-- change: symbol-added name="updateRules" kind="variable" -->
|
|
164
|
+
### variable: reexport:updateRulesfrom:./cli/update.js
|
|
165
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
166
|
+
Signatur: `reexport:updateRulesfrom:./cli/update.js`
|
|
167
|
+
```ts
|
|
168
|
+
reexport:updateRulesfrom:./cli/update.js
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
<!-- change: symbol-added name="ValidateRequest" kind="variable" -->
|
|
172
|
+
### variable: reexport:ValidateRequestfrom:./mcp/types.js
|
|
173
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
174
|
+
Signatur: `reexport:ValidateRequestfrom:./mcp/types.js`
|
|
175
|
+
```ts
|
|
176
|
+
reexport:ValidateRequestfrom:./mcp/types.js
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
<!-- change: symbol-added name="ValidateResponse" kind="variable" -->
|
|
180
|
+
### variable: reexport:ValidateResponsefrom:./mcp/types.js
|
|
181
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
182
|
+
Signatur: `reexport:ValidateResponsefrom:./mcp/types.js`
|
|
183
|
+
```ts
|
|
184
|
+
reexport:ValidateResponsefrom:./mcp/types.js
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
### variable: RULES_VERSION
|
|
188
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
189
|
+
Signatur: `RULES_VERSION`
|
|
190
|
+
```ts
|
|
191
|
+
RULES_VERSION
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
### variable: ScanRequest
|
|
195
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
196
|
+
Signatur: `ScanRequest`
|
|
197
|
+
```ts
|
|
198
|
+
ScanRequest
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
### variable: ScanResponse
|
|
202
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
203
|
+
Signatur: `ScanResponse`
|
|
204
|
+
```ts
|
|
205
|
+
ScanResponse
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
### variable: startMcpServer
|
|
209
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
210
|
+
Signatur: `startMcpServer`
|
|
211
|
+
```ts
|
|
212
|
+
startMcpServer
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
### variable: updateRules
|
|
216
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
217
|
+
Signatur: `updateRules`
|
|
218
|
+
```ts
|
|
219
|
+
updateRules
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
### variable: ValidateRequest
|
|
223
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
224
|
+
Signatur: `ValidateRequest`
|
|
225
|
+
```ts
|
|
226
|
+
ValidateRequest
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
### variable: ValidateResponse
|
|
230
|
+
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
231
|
+
Signatur: `ValidateResponse`
|
|
232
|
+
```ts
|
|
233
|
+
ValidateResponse
|
|
234
|
+
```
|