@noyrax/5d-database-plugin 0.1.8 → 0.1.10-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/MCP_SERVER_SETUP.md +14 -0
- package/README.md +49 -3
- package/SETUP_NEW_PROJECT.md +245 -14
- package/out/api/adr-api.d.ts +15 -2
- package/out/api/adr-api.d.ts.map +1 -1
- package/out/api/adr-api.js +98 -4
- package/out/api/adr-api.js.map +1 -1
- package/out/api/index.d.ts +1 -0
- package/out/api/index.d.ts.map +1 -1
- package/out/api/index.js +3 -1
- package/out/api/index.js.map +1 -1
- package/out/api/ingestion-api.d.ts +42 -0
- package/out/api/ingestion-api.d.ts.map +1 -0
- package/out/api/ingestion-api.js +148 -0
- package/out/api/ingestion-api.js.map +1 -0
- package/out/api/module-api.d.ts +11 -1
- package/out/api/module-api.d.ts.map +1 -1
- package/out/api/module-api.js +54 -2
- package/out/api/module-api.js.map +1 -1
- package/out/cli/ingest-cli.js +43 -19
- package/out/cli/ingest-cli.js.map +1 -1
- package/out/cli/merge-workspaces-cli.d.ts +3 -0
- package/out/cli/merge-workspaces-cli.d.ts.map +1 -0
- package/out/cli/merge-workspaces-cli.js +199 -0
- package/out/cli/merge-workspaces-cli.js.map +1 -0
- package/out/cli/tool-cli.js +59 -4
- package/out/cli/tool-cli.js.map +1 -1
- package/out/core/chromadb-vector-database.d.ts.map +1 -1
- package/out/core/chromadb-vector-database.js +6 -2
- package/out/core/chromadb-vector-database.js.map +1 -1
- package/out/core/migration-manager.d.ts +31 -0
- package/out/core/migration-manager.d.ts.map +1 -1
- package/out/core/migration-manager.js +126 -7
- package/out/core/migration-manager.js.map +1 -1
- package/out/core/multi-db-manager.d.ts +10 -0
- package/out/core/multi-db-manager.d.ts.map +1 -1
- package/out/core/multi-db-manager.js +51 -0
- package/out/core/multi-db-manager.js.map +1 -1
- package/out/ingestors/adr-ingestor.d.ts +7 -0
- package/out/ingestors/adr-ingestor.d.ts.map +1 -1
- package/out/ingestors/adr-ingestor.js +41 -9
- package/out/ingestors/adr-ingestor.js.map +1 -1
- package/out/mcp/server.d.ts +3 -0
- package/out/mcp/server.d.ts.map +1 -1
- package/out/mcp/server.js +106 -2
- package/out/mcp/server.js.map +1 -1
- package/out/mcp/tools/adr-generator.d.ts +123 -0
- package/out/mcp/tools/adr-generator.d.ts.map +1 -0
- package/out/mcp/tools/adr-generator.js +1113 -0
- package/out/mcp/tools/adr-generator.js.map +1 -0
- package/out/mcp/tools/gap-analysis.d.ts +6 -2
- package/out/mcp/tools/gap-analysis.d.ts.map +1 -1
- package/out/mcp/tools/gap-analysis.js +32 -5
- package/out/mcp/tools/gap-analysis.js.map +1 -1
- package/out/repositories/module-repository.d.ts +5 -0
- package/out/repositories/module-repository.d.ts.map +1 -1
- package/out/repositories/module-repository.js +24 -0
- package/out/repositories/module-repository.js.map +1 -1
- package/out/services/adr-context-builder.d.ts +70 -0
- package/out/services/adr-context-builder.d.ts.map +1 -0
- package/out/services/adr-context-builder.js +141 -0
- package/out/services/adr-context-builder.js.map +1 -0
- package/out/services/adr-pattern-analyzer.d.ts +75 -0
- package/out/services/adr-pattern-analyzer.d.ts.map +1 -0
- package/out/services/adr-pattern-analyzer.js +339 -0
- package/out/services/adr-pattern-analyzer.js.map +1 -0
- package/out/services/adr-reasoning-service.d.ts +63 -0
- package/out/services/adr-reasoning-service.d.ts.map +1 -0
- package/out/services/adr-reasoning-service.js +760 -0
- package/out/services/adr-reasoning-service.js.map +1 -0
- package/out/services/navigation-builder.d.ts.map +1 -1
- package/out/services/navigation-builder.js +70 -11
- package/out/services/navigation-builder.js.map +1 -1
- package/out/services/noyrax-integration-service.d.ts +51 -0
- package/out/services/noyrax-integration-service.d.ts.map +1 -0
- package/out/services/noyrax-integration-service.js +215 -0
- package/out/services/noyrax-integration-service.js.map +1 -0
- package/out/services/semantic-pattern-matcher.d.ts +61 -0
- package/out/services/semantic-pattern-matcher.d.ts.map +1 -0
- package/out/services/semantic-pattern-matcher.js +183 -0
- package/out/services/semantic-pattern-matcher.js.map +1 -0
- package/out/services/workflow-orchestrator.d.ts +63 -0
- package/out/services/workflow-orchestrator.d.ts.map +1 -0
- package/out/services/workflow-orchestrator.js +111 -0
- package/out/services/workflow-orchestrator.js.map +1 -0
- package/out/ui/commands.d.ts.map +1 -1
- package/out/ui/commands.js +112 -1
- package/out/ui/commands.js.map +1 -1
- package/out/ui/database-explorer.d.ts.map +1 -1
- package/out/ui/database-explorer.js +47 -1
- package/out/ui/database-explorer.js.map +1 -1
- package/package.json +22 -4
package/MCP_SERVER_SETUP.md
CHANGED
|
@@ -92,6 +92,12 @@ noyrax-5d-database-tool <workspace-root> learning_path <topic>
|
|
|
92
92
|
|
|
93
93
|
# Cross Analysis
|
|
94
94
|
noyrax-5d-database-tool <workspace-root> cross_analysis <filePath>
|
|
95
|
+
|
|
96
|
+
# Gap Analysis (ab Version 0.1.8)
|
|
97
|
+
noyrax-5d-database-tool <workspace-root> gap_analysis [--min-deps N] [--limit N]
|
|
98
|
+
|
|
99
|
+
# Architecture Mining (ab Version 0.1.8)
|
|
100
|
+
noyrax-5d-database-tool <workspace-root> architecture_mining [filePath]
|
|
95
101
|
```
|
|
96
102
|
|
|
97
103
|
### Semantic-Search-CLI (V-Dimension)
|
|
@@ -189,6 +195,10 @@ Der MCP-Server stellt folgende Tools bereit:
|
|
|
189
195
|
| `query_symbols` | Query Symbols nach path oder symbolId | `path?`, `symbolId?`, `pluginId` |
|
|
190
196
|
| `query_dependencies` | Query Dependencies nach fromModule oder toModule | `fromModule?`, `toModule?`, `pluginId` |
|
|
191
197
|
| `cross_analysis` | Cross-Dimension-Analyse für filePath | `filePath`, `pluginId` |
|
|
198
|
+
| `gap_analysis` | Findet Dokumentationslücken (Module mit vielen Dependencies aber wenigen ADRs) | `pluginId`, `minDependencies?` (default: 5), `limit?` (default: 50) |
|
|
199
|
+
| `architecture_mining` | Leitet Architektur-Entscheidungen aus Code-Struktur ab | `pluginId`, `filePath?` (optional, für spezifische Datei) |
|
|
200
|
+
| `generate_documentation` | Generiert Dokumentation mit Noyrax (scan → validate → generate) | `pluginId` |
|
|
201
|
+
| `check_docs_status` | Prüft ob docs/ existiert und aktuell ist | `pluginId` |
|
|
192
202
|
|
|
193
203
|
## Verfügbare Resources
|
|
194
204
|
|
|
@@ -356,4 +366,8 @@ chmod +x out/cli/mcp-server-cli.js
|
|
|
356
366
|
- Siehe ADR-007 für MCP-Server-Architektur-Details
|
|
357
367
|
- Siehe ADR-028 für Semantic Brain MCP-Tools
|
|
358
368
|
- Siehe ADR-033 für MCP-Server CLI-Integration und System-Kopplung
|
|
369
|
+
- Siehe ADR-034 für Gap Analysis Tool
|
|
370
|
+
- Siehe ADR-035 für Architecture Mining Tool
|
|
371
|
+
|
|
372
|
+
**Hinweis:** Die Tools `gap_analysis` und `architecture_mining` sind ab Version 0.1.8 verfügbar.
|
|
359
373
|
|
package/README.md
CHANGED
|
@@ -16,6 +16,13 @@ Noyrax (Documentation System) → generiert docs/ → 5D Database Plugin → SQL
|
|
|
16
16
|
- **5D Database Plugin** liest `docs/` und speichert die Daten in SQLite-Datenbanken
|
|
17
17
|
- **MCP-Server** ermöglicht LLM-Agenten-Zugriff auf die Datenbanken
|
|
18
18
|
|
|
19
|
+
### Monorepo-Integration
|
|
20
|
+
|
|
21
|
+
In diesem Workspace sind beide Plugins als Monorepo integriert:
|
|
22
|
+
- `documentation-system-plugin/` - Noyrax Documentation System Plugin
|
|
23
|
+
- `5d-database-plugin/` - 5D Database Plugin
|
|
24
|
+
- `docs/` - Gemeinsam genutzte Dokumentation
|
|
25
|
+
|
|
19
26
|
Siehe `SETUP_NEW_PROJECT.md` für vollständigen Setup-Workflow.
|
|
20
27
|
|
|
21
28
|
## Übersicht
|
|
@@ -35,14 +42,39 @@ Das 5D Database Plugin speichert die 5 Dimensionen des Documentation System Plug
|
|
|
35
42
|
- **Cross-Dimension-Queries** - Verknüpfungen zwischen Dimensionen
|
|
36
43
|
- **MCP-Server Integration** - Systemweiter Zugriff via Model Context Protocol
|
|
37
44
|
- **VS Code UI** - Database Explorer und Status Bar Integration
|
|
45
|
+
- **Monorepo-Integration** - Noyrax und 5D Database Plugin im gleichen Workspace
|
|
46
|
+
- **Workflow-Orchestrierung** - Vollständiger Workflow (Generate Docs → Ingest → Embeddings)
|
|
38
47
|
|
|
39
48
|
## Installation
|
|
40
49
|
|
|
41
|
-
|
|
50
|
+
### Via npm (Recommended for CLI Tools)
|
|
42
51
|
|
|
43
|
-
|
|
52
|
+
```bash
|
|
53
|
+
npm install -g @noyrax/5d-database-plugin
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
**Available CLI Tools:**
|
|
57
|
+
- `noyrax-5d-database` - Ingest documentation
|
|
58
|
+
- `noyrax-5d-database-query` - Query database
|
|
59
|
+
- `noyrax-5d-database-tool` - Use MCP tools directly
|
|
60
|
+
- `noyrax-5d-database-search` - Semantic search
|
|
61
|
+
- `noyrax-5d-database-embedding` - Generate embeddings
|
|
62
|
+
|
|
63
|
+
**Example:**
|
|
64
|
+
```bash
|
|
65
|
+
# Ingest documentation
|
|
66
|
+
noyrax-5d-database ingest /path/to/workspace
|
|
44
67
|
|
|
45
|
-
|
|
68
|
+
# Query modules
|
|
69
|
+
noyrax-5d-database-query /path/to/workspace modules src/api/user-service.ts
|
|
70
|
+
|
|
71
|
+
# Semantic search
|
|
72
|
+
noyrax-5d-database-tool /path/to/workspace semantic_discovery "How does authentication work?" 5
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
### Via VS Code Extension
|
|
76
|
+
|
|
77
|
+
⚠️ **Voraussetzung: Documentation System Plugin (Noyrax) muss installiert sein und `docs/` generiert haben!**
|
|
46
78
|
|
|
47
79
|
1. **Documentation System Plugin (Noyrax) installieren** und `docs/` generieren
|
|
48
80
|
2. **5D Database Plugin installieren:**
|
|
@@ -53,6 +85,8 @@ Siehe `SETUP_NEW_PROJECT.md` für vollständige Anleitung mit beiden Plugins.
|
|
|
53
85
|
4. **Extension aktiviert sich automatisch** beim Start
|
|
54
86
|
5. **Ingestion ausführen:** `Ctrl+Shift+P` → "Ingest Documentation"
|
|
55
87
|
|
|
88
|
+
Siehe `SETUP_NEW_PROJECT.md` für vollständige Anleitung mit beiden Plugins.
|
|
89
|
+
|
|
56
90
|
## Verwendung
|
|
57
91
|
|
|
58
92
|
### Ingestion
|
|
@@ -125,6 +159,8 @@ Der MCP-Server bietet Zugriff auf alle Dimensionen via Model Context Protocol:
|
|
|
125
159
|
- `query_modules`, `query_symbols`, `query_dependencies`, `cross_analysis`
|
|
126
160
|
- `gap_analysis` - Systematische Dokumentationslücken-Identifikation
|
|
127
161
|
- `architecture_mining` - Rückwirkende Architektur-Entscheidungs-Erkennung aus Code
|
|
162
|
+
- `generate_documentation` - Dokumentation generieren (Noyrax-Integration)
|
|
163
|
+
- `check_docs_status` - Prüft ob docs/ existiert und aktuell ist
|
|
128
164
|
|
|
129
165
|
Siehe `MCP_SERVER_SETUP.md` für detaillierte Setup-Anleitung für LLM-Agenten.
|
|
130
166
|
|
|
@@ -234,6 +270,16 @@ Siehe `CHROMADB_SETUP.md` für ChromaDB-Konfiguration.
|
|
|
234
270
|
- **`CHROMADB_SETUP.md`** - ChromaDB-Installation und -Konfiguration (Windows)
|
|
235
271
|
- **`docs/adr/`** - Architecture Decision Records (32 ADRs dokumentieren alle Entscheidungen)
|
|
236
272
|
|
|
273
|
+
## Strategische Vision
|
|
274
|
+
|
|
275
|
+
- **[`../../VISION.md`](../../VISION.md)** - Vision: Autonome KI-gesteuerte Softwareentwicklung
|
|
276
|
+
- **[`../../INNOVATION_ANALYSIS.md`](../../INNOVATION_ANALYSIS.md)** - Innovations-Analyse: Was macht das System besonders?
|
|
277
|
+
- **[`../../PROBLEM_SOLUTION_MAPPING.md`](../../PROBLEM_SOLUTION_MAPPING.md)** - Problem-Lösung-Mapping
|
|
278
|
+
- **[`../../AI_CODING_IMPLICATIONS.md`](../../AI_CODING_IMPLICATIONS.md)** - AI-Coding Implications
|
|
279
|
+
- **[`../../BUSINESS_IMPACT.md`](../../BUSINESS_IMPACT.md)** - Business Impact: Kosteneinsparungen
|
|
280
|
+
- **[`../../QUALITY_IMPROVEMENT.md`](../../QUALITY_IMPROVEMENT.md)** - Qualitätsverbesserung
|
|
281
|
+
- **[`../../DOMAIN_TRANSFERABILITY.md`](../../DOMAIN_TRANSFERABILITY.md)** - Domänen-Transferfähigkeit
|
|
282
|
+
|
|
237
283
|
## License
|
|
238
284
|
|
|
239
285
|
MIT
|
package/SETUP_NEW_PROJECT.md
CHANGED
|
@@ -13,12 +13,42 @@ Die beiden Plugins sind eng gekoppelt:
|
|
|
13
13
|
- **5D Database Plugin** liest `docs/` und speichert die Daten in SQLite-Datenbanken
|
|
14
14
|
- **MCP-Server** ermöglicht LLM-Agenten-Zugriff auf die Datenbanken
|
|
15
15
|
|
|
16
|
+
### Monorepo-Integration
|
|
17
|
+
|
|
18
|
+
In diesem Workspace sind beide Plugins als Monorepo integriert:
|
|
19
|
+
- `documentation-system-plugin/` - Noyrax Documentation System Plugin
|
|
20
|
+
- `5d-database-plugin/` - 5D Database Plugin
|
|
21
|
+
- `docs/` - Gemeinsam genutzte Dokumentation
|
|
22
|
+
|
|
23
|
+
**Vorteile der Monorepo-Integration:**
|
|
24
|
+
- Beide Plugins im gleichen Workspace
|
|
25
|
+
- Einfache Workflow-Koordination
|
|
26
|
+
- MCP-Server kann auf beide Plugins zugreifen
|
|
27
|
+
- Gemeinsame `docs/` Ordnerstruktur
|
|
28
|
+
|
|
16
29
|
## Voraussetzungen
|
|
17
30
|
|
|
18
31
|
1. **Node.js installiert** (Version 16.x oder höher)
|
|
19
32
|
2. **(Optional) VS Code** für UI-Integration
|
|
20
33
|
3. **Beide Plugins müssen installiert werden** (Noyrax + 5D Database)
|
|
21
34
|
|
|
35
|
+
### Monorepo-Setup (Dieser Workspace)
|
|
36
|
+
|
|
37
|
+
Wenn beide Plugins im gleichen Workspace sind (Monorepo):
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
# Workspace-Root: Alle Dependencies installieren
|
|
41
|
+
npm install
|
|
42
|
+
|
|
43
|
+
# Alle Plugins kompilieren
|
|
44
|
+
npm run compile:all
|
|
45
|
+
|
|
46
|
+
# Vollständiger Workflow (Generate Docs → Ingest → Embeddings)
|
|
47
|
+
npm run workflow:full
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Siehe `README.md` (Workspace-Root) für vollständige Workspace-Dokumentation.
|
|
51
|
+
|
|
22
52
|
## Schritt 1: Documentation System Plugin (Noyrax) installieren
|
|
23
53
|
|
|
24
54
|
### Option A: VS Code Extension
|
|
@@ -69,7 +99,22 @@ noyrax-documentation generate /path/to/your-project
|
|
|
69
99
|
|
|
70
100
|
Jetzt installieren wir das 5D Database Plugin, das die generierte Dokumentation in Datenbanken speichert.
|
|
71
101
|
|
|
72
|
-
###
|
|
102
|
+
### Monorepo (Dieser Workspace)
|
|
103
|
+
|
|
104
|
+
Das 5D Database Plugin ist bereits im Workspace integriert. Ingestion kann via Workspace-Scripts ausgeführt werden:
|
|
105
|
+
|
|
106
|
+
```bash
|
|
107
|
+
# Dokumentation ingestieren
|
|
108
|
+
npm run db:ingest
|
|
109
|
+
|
|
110
|
+
# Embeddings generieren
|
|
111
|
+
npm run db:embedding
|
|
112
|
+
|
|
113
|
+
# Vollständiger Workflow (Generate Docs → Ingest → Embeddings)
|
|
114
|
+
npm run workflow:full
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
### Option A: VS Code Extension (Separate Plugins)
|
|
73
118
|
|
|
74
119
|
```bash
|
|
75
120
|
code --install-extension 5d-database-plugin-0.1.0.vsix
|
|
@@ -140,19 +185,148 @@ noyrax-5d-database ingest /path/to/your-project --full
|
|
|
140
185
|
[Ingest CLI] Ingestion completed successfully
|
|
141
186
|
```
|
|
142
187
|
|
|
143
|
-
## Schritt 6:
|
|
188
|
+
## Schritt 6: Unified MCP Server Setup
|
|
189
|
+
|
|
190
|
+
Der Unified MCP Server orchestriert beide Plugins und bietet einen zentralen Zugriff für AI-Agenten (Cursor, VS Code, Claude Desktop).
|
|
191
|
+
|
|
192
|
+
### Schritt 6.1: MCP Server kompilieren
|
|
193
|
+
|
|
194
|
+
```bash
|
|
195
|
+
# MCP Server kompilieren
|
|
196
|
+
npm run mcp:build
|
|
197
|
+
|
|
198
|
+
# Oder direkt
|
|
199
|
+
cd mcp-server
|
|
200
|
+
npm run compile
|
|
201
|
+
```
|
|
144
202
|
|
|
145
|
-
|
|
203
|
+
**Verifikation:**
|
|
204
|
+
```bash
|
|
205
|
+
# Prüfen ob MCP Server kompiliert wurde
|
|
206
|
+
Test-Path mcp-server/out/cli/server-cli.js
|
|
207
|
+
```
|
|
146
208
|
|
|
147
|
-
|
|
209
|
+
### Schritt 6.2: MCP Server testen
|
|
148
210
|
|
|
149
|
-
**Kurzfassung:**
|
|
150
211
|
```bash
|
|
151
|
-
# MCP
|
|
152
|
-
|
|
212
|
+
# MCP Server starten (für Testing)
|
|
213
|
+
npm run mcp:start .
|
|
214
|
+
|
|
215
|
+
# Oder direkt
|
|
216
|
+
node mcp-server/out/cli/server-cli.js .
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
**Erwartete Ausgabe:**
|
|
220
|
+
```
|
|
221
|
+
[UnifiedMcpServer] Initializing...
|
|
222
|
+
[UnifiedMcpServer] Database Plugin available: true
|
|
223
|
+
[UnifiedMcpServer] Documentation Plugin available: true
|
|
224
|
+
[UnifiedMcpServer] Registered 20 tools
|
|
225
|
+
[UnifiedMcpServer] Server ready
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
### Schritt 6.3: Cursor Konfiguration
|
|
229
|
+
|
|
230
|
+
Erstellen Sie `.cursor/mcp-config.json` im Workspace-Root:
|
|
231
|
+
|
|
232
|
+
```json
|
|
233
|
+
{
|
|
234
|
+
"mcpServers": {
|
|
235
|
+
"noyrax": {
|
|
236
|
+
"command": "node",
|
|
237
|
+
"args": [
|
|
238
|
+
"${workspaceFolder}/mcp-server/out/cli/server-cli.js",
|
|
239
|
+
"${workspaceFolder}"
|
|
240
|
+
],
|
|
241
|
+
"env": {
|
|
242
|
+
"NODE_ENV": "production"
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
```
|
|
248
|
+
|
|
249
|
+
**Nach Konfiguration:**
|
|
250
|
+
1. Cursor vollständig schließen
|
|
251
|
+
2. Cursor neu öffnen
|
|
252
|
+
3. MCP Server sollte automatisch verbinden
|
|
253
|
+
|
|
254
|
+
**Verifikation:**
|
|
255
|
+
- Öffnen Sie Cursor Chat
|
|
256
|
+
- Fragen Sie: "Was ist das System?" oder "System-Status prüfen"
|
|
257
|
+
- Der AI-Agent sollte über MCP Server Tools zugreifen können
|
|
258
|
+
|
|
259
|
+
Siehe [mcp-server/INSTALLATION_GUIDE.md](../mcp-server/INSTALLATION_GUIDE.md) für detaillierte Cursor-Konfiguration.
|
|
260
|
+
|
|
261
|
+
### Schritt 6.4: VS Code Konfiguration
|
|
262
|
+
|
|
263
|
+
Erstellen Sie `.vscode/settings.json` im Workspace-Root:
|
|
264
|
+
|
|
265
|
+
```json
|
|
266
|
+
{
|
|
267
|
+
"mcp.servers": {
|
|
268
|
+
"noyrax": {
|
|
269
|
+
"command": "node",
|
|
270
|
+
"args": [
|
|
271
|
+
"${workspaceFolder}/mcp-server/out/cli/server-cli.js",
|
|
272
|
+
"${workspaceFolder}"
|
|
273
|
+
],
|
|
274
|
+
"env": {
|
|
275
|
+
"NODE_ENV": "production"
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
}
|
|
153
280
|
```
|
|
154
281
|
|
|
155
|
-
|
|
282
|
+
**Nach Konfiguration:**
|
|
283
|
+
1. `Ctrl+Shift+P` → "Developer: Reload Window"
|
|
284
|
+
2. MCP Server sollte automatisch verbinden
|
|
285
|
+
|
|
286
|
+
**Verifikation:**
|
|
287
|
+
- Öffnen Sie GitHub Copilot Chat
|
|
288
|
+
- Fragen Sie: "Was ist das System?" oder "System-Status prüfen"
|
|
289
|
+
- Der AI-Agent sollte über MCP Server Tools zugreifen können
|
|
290
|
+
|
|
291
|
+
Siehe [mcp-server/INSTALLATION_GUIDE.md](../mcp-server/INSTALLATION_GUIDE.md) für detaillierte VS Code-Konfiguration.
|
|
292
|
+
|
|
293
|
+
### Schritt 6.5: Claude Desktop Konfiguration (Optional)
|
|
294
|
+
|
|
295
|
+
Falls Sie Claude Desktop nutzen möchten:
|
|
296
|
+
|
|
297
|
+
**Windows:**
|
|
298
|
+
```
|
|
299
|
+
%APPDATA%\Claude\claude_desktop_config.json
|
|
300
|
+
```
|
|
301
|
+
|
|
302
|
+
**macOS:**
|
|
303
|
+
```
|
|
304
|
+
~/Library/Application Support/Claude/claude_desktop_config.json
|
|
305
|
+
```
|
|
306
|
+
|
|
307
|
+
**Linux:**
|
|
308
|
+
```
|
|
309
|
+
~/.config/Claude/claude_desktop_config.json
|
|
310
|
+
```
|
|
311
|
+
|
|
312
|
+
**Konfiguration:**
|
|
313
|
+
```json
|
|
314
|
+
{
|
|
315
|
+
"mcpServers": {
|
|
316
|
+
"noyrax": {
|
|
317
|
+
"command": "node",
|
|
318
|
+
"args": [
|
|
319
|
+
"D:/path/to/workspace/mcp-server/out/cli/server-cli.js",
|
|
320
|
+
"${workspaceFolder}"
|
|
321
|
+
]
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
```
|
|
326
|
+
|
|
327
|
+
**Hinweis:** Verwenden Sie absolute Pfade für Claude Desktop.
|
|
328
|
+
|
|
329
|
+
Siehe [mcp-server/INSTALLATION_GUIDE.md](../mcp-server/INSTALLATION_GUIDE.md) für detaillierte Claude Desktop-Konfiguration.
|
|
156
330
|
|
|
157
331
|
## Workflow für Updates
|
|
158
332
|
|
|
@@ -191,7 +365,55 @@ Nach dem Setup solltest du haben:
|
|
|
191
365
|
- `dependencies.db` (Z-Dimension)
|
|
192
366
|
- `adrs.db` (W-Dimension)
|
|
193
367
|
- `changes.db` (T-Dimension)
|
|
194
|
-
|
|
368
|
+
- `vectors.db` (V-Dimension: Embeddings)
|
|
369
|
+
3. ✅ MCP Server kompiliert (`mcp-server/out/cli/server-cli.js` existiert)
|
|
370
|
+
4. ✅ Cursor/VS Code konfiguriert (`.cursor/mcp-config.json` oder `.vscode/settings.json` existiert)
|
|
371
|
+
|
|
372
|
+
### System-Status prüfen
|
|
373
|
+
|
|
374
|
+
**Via MCP Server (wenn konfiguriert):**
|
|
375
|
+
|
|
376
|
+
In Cursor/VS Code Chat:
|
|
377
|
+
```
|
|
378
|
+
System-Status prüfen
|
|
379
|
+
```
|
|
380
|
+
|
|
381
|
+
Oder nutzen Sie das Tool direkt:
|
|
382
|
+
```
|
|
383
|
+
workflow/check_status
|
|
384
|
+
```
|
|
385
|
+
|
|
386
|
+
**Via CLI (Fallback):**
|
|
387
|
+
|
|
388
|
+
```bash
|
|
389
|
+
# System-Übersicht
|
|
390
|
+
node 5d-database-plugin/out/cli/tool-cli.js . system_explanation
|
|
391
|
+
|
|
392
|
+
# System-Status (falls verfügbar)
|
|
393
|
+
node mcp-server/out/cli/server-cli.js . # MCP Server starten
|
|
394
|
+
```
|
|
395
|
+
|
|
396
|
+
### Erste Nutzung
|
|
397
|
+
|
|
398
|
+
Nach erfolgreicher Installation können Sie die Tools nutzen:
|
|
399
|
+
|
|
400
|
+
**In Cursor/VS Code Chat:**
|
|
401
|
+
- "Was ist das System?" → Nutzt `system_explanation` Tool
|
|
402
|
+
- "Wie funktioniert X?" → Nutzt `semantic_discovery` Tool
|
|
403
|
+
- "Welche ADRs gibt es?" → Nutzt `query_adrs` Tool
|
|
404
|
+
- "System-Status prüfen" → Nutzt `workflow/check_status` Tool
|
|
405
|
+
|
|
406
|
+
**Via CLI (Fallback):**
|
|
407
|
+
```bash
|
|
408
|
+
# System-Übersicht
|
|
409
|
+
node 5d-database-plugin/out/cli/tool-cli.js . bootstrap
|
|
410
|
+
|
|
411
|
+
# Semantic Search
|
|
412
|
+
node 5d-database-plugin/out/cli/tool-cli.js . semantic_discovery "Wie funktioniert X?" 5
|
|
413
|
+
|
|
414
|
+
# ADR abfragen (korrekte Syntax)
|
|
415
|
+
node 5d-database-plugin/out/cli/query-cli.js . adrs --number 040
|
|
416
|
+
```
|
|
195
417
|
|
|
196
418
|
## Troubleshooting
|
|
197
419
|
|
|
@@ -242,19 +464,28 @@ Nach dem Setup solltest du haben:
|
|
|
242
464
|
|
|
243
465
|
## Nächste Schritte
|
|
244
466
|
|
|
245
|
-
- **MCP-Server Setup:** Siehe
|
|
467
|
+
- **MCP-Server Setup:** Siehe [mcp-server/INSTALLATION_GUIDE.md](../mcp-server/INSTALLATION_GUIDE.md) für vollständige Anleitung
|
|
246
468
|
- **Semantic Search:** Siehe `README.md` - Semantic Brain Features
|
|
247
469
|
- **Architektur:** Siehe `docs/adr/` für Architecture Decision Records
|
|
470
|
+
- **Cursor Rules:** Siehe `.cursor/rules/` für AI-Agent Workflows
|
|
248
471
|
|
|
249
472
|
## Zusammenfassung
|
|
250
473
|
|
|
251
474
|
Der Setup-Workflow ist immer derselbe:
|
|
252
475
|
|
|
253
476
|
```
|
|
254
|
-
1.
|
|
255
|
-
2.
|
|
256
|
-
3.
|
|
477
|
+
1. Dependencies installieren → npm install
|
|
478
|
+
2. Alle Plugins kompilieren → npm run compile:all
|
|
479
|
+
3. Dokumentation generieren → npm run docs:full .
|
|
480
|
+
4. Datenbanken ingestieren → npm run db:ingest .
|
|
481
|
+
5. Embeddings generieren → npm run db:embedding .
|
|
482
|
+
6. MCP Server kompilieren → npm run mcp:build
|
|
483
|
+
7. Cursor/VS Code konfigurieren → .cursor/mcp-config.json oder .vscode/settings.json
|
|
484
|
+
8. System testen → "System-Status prüfen" in Chat
|
|
257
485
|
```
|
|
258
486
|
|
|
259
|
-
**Wichtig:**
|
|
487
|
+
**Wichtig:**
|
|
488
|
+
- Beide Plugins sind gekoppelt und müssen zusammen verwendet werden!
|
|
489
|
+
- Unified MCP Server orchestriert beide Plugins und bietet zentralen Zugriff
|
|
490
|
+
- Siehe [mcp-server/INSTALLATION_GUIDE.md](../mcp-server/INSTALLATION_GUIDE.md) für vollständige Anleitung
|
|
260
491
|
|
package/out/api/adr-api.d.ts
CHANGED
|
@@ -7,16 +7,29 @@ export declare class AdrApi {
|
|
|
7
7
|
private dbManager;
|
|
8
8
|
constructor(dbManager: MultiDbManager);
|
|
9
9
|
/**
|
|
10
|
-
* Gets an ADR by ADR number.
|
|
10
|
+
* Gets an ADR by ADR number with flexible number normalization.
|
|
11
|
+
* Supports both "1" and "001" formats.
|
|
11
12
|
*/
|
|
12
13
|
getAdrByNumber(adrNumber: string, pluginId: string): Promise<Adr | null>;
|
|
14
|
+
/**
|
|
15
|
+
* Normalizes an ADR number to generate possible variants for flexible matching.
|
|
16
|
+
* Returns an array of number variants in order of preference.
|
|
17
|
+
*/
|
|
18
|
+
private normalizeAdrNumber;
|
|
13
19
|
/**
|
|
14
20
|
* Gets all ADRs for a plugin.
|
|
15
21
|
*/
|
|
16
22
|
getAllAdrs(pluginId: string): Promise<Adr[]>;
|
|
17
23
|
/**
|
|
18
|
-
* Gets ADRs by file path.
|
|
24
|
+
* Gets ADRs by file path with flexible path normalization.
|
|
25
|
+
* Supports various path formats (similar to ModuleApi.getModuleByPath).
|
|
19
26
|
*/
|
|
20
27
|
getAdrsByFilePath(filePath: string, pluginId: string): Promise<Adr[]>;
|
|
28
|
+
/**
|
|
29
|
+
* Normalizes a file path to generate possible variants for flexible matching.
|
|
30
|
+
* Returns an array of path variants in order of preference.
|
|
31
|
+
* (Same logic as ModuleApi.normalizeFilePath)
|
|
32
|
+
*/
|
|
33
|
+
private normalizeFilePath;
|
|
21
34
|
}
|
|
22
35
|
//# sourceMappingURL=adr-api.d.ts.map
|
package/out/api/adr-api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adr-api.d.ts","sourceRoot":"","sources":["../../src/api/adr-api.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"adr-api.d.ts","sourceRoot":"","sources":["../../src/api/adr-api.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE1D,OAAO,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AAEpC;;GAEG;AACH,qBAAa,MAAM;IACf,OAAO,CAAC,SAAS,CAAiB;gBAEtB,SAAS,EAAE,cAAc;IAIrC;;;OAGG;IACU,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,GAAG,IAAI,CAAC;IAwBrF;;;OAGG;IACH,OAAO,CAAC,kBAAkB;IAqC1B;;OAEG;IACU,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC;IAMzD;;;OAGG;IACU,iBAAiB,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC;IAwBlF;;;;OAIG;IACH,OAAO,CAAC,iBAAiB;CA8B5B"}
|
package/out/api/adr-api.js
CHANGED
|
@@ -10,12 +10,60 @@ class AdrApi {
|
|
|
10
10
|
this.dbManager = dbManager;
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
|
-
* Gets an ADR by ADR number.
|
|
13
|
+
* Gets an ADR by ADR number with flexible number normalization.
|
|
14
|
+
* Supports both "1" and "001" formats.
|
|
14
15
|
*/
|
|
15
16
|
async getAdrByNumber(adrNumber, pluginId) {
|
|
16
17
|
const db = await this.dbManager.getDatabase('W');
|
|
17
18
|
const repository = new adr_repository_1.AdrRepository(db);
|
|
18
|
-
|
|
19
|
+
// Try exact match first
|
|
20
|
+
let adr = await repository.getByAdrNumber(adrNumber, pluginId);
|
|
21
|
+
if (adr) {
|
|
22
|
+
return adr;
|
|
23
|
+
}
|
|
24
|
+
// Normalize ADR number (try with/without leading zeros)
|
|
25
|
+
const normalizedNumbers = this.normalizeAdrNumber(adrNumber);
|
|
26
|
+
// Try each normalized variant
|
|
27
|
+
for (const normalized of normalizedNumbers) {
|
|
28
|
+
adr = await repository.getByAdrNumber(normalized, pluginId);
|
|
29
|
+
if (adr) {
|
|
30
|
+
return adr;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
return null;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Normalizes an ADR number to generate possible variants for flexible matching.
|
|
37
|
+
* Returns an array of number variants in order of preference.
|
|
38
|
+
*/
|
|
39
|
+
normalizeAdrNumber(adrNumber) {
|
|
40
|
+
const variants = [];
|
|
41
|
+
// Remove any non-numeric prefix/suffix
|
|
42
|
+
const numericMatch = adrNumber.match(/(\d+)/);
|
|
43
|
+
if (!numericMatch) {
|
|
44
|
+
return [adrNumber]; // Return original if no number found
|
|
45
|
+
}
|
|
46
|
+
const numericPart = numericMatch[1];
|
|
47
|
+
const numValue = parseInt(numericPart, 10);
|
|
48
|
+
// Original
|
|
49
|
+
variants.push(adrNumber);
|
|
50
|
+
// With leading zeros (3 digits: "001", "020", "042")
|
|
51
|
+
const withLeadingZeros = numValue.toString().padStart(3, '0');
|
|
52
|
+
if (withLeadingZeros !== numericPart) {
|
|
53
|
+
variants.push(adrNumber.replace(numericPart, withLeadingZeros));
|
|
54
|
+
}
|
|
55
|
+
// Without leading zeros (if original had them)
|
|
56
|
+
if (numericPart !== numValue.toString()) {
|
|
57
|
+
variants.push(adrNumber.replace(numericPart, numValue.toString()));
|
|
58
|
+
}
|
|
59
|
+
// Just the number (if original had prefix/suffix)
|
|
60
|
+
if (adrNumber !== numericPart) {
|
|
61
|
+
variants.push(numericPart);
|
|
62
|
+
variants.push(withLeadingZeros);
|
|
63
|
+
variants.push(numValue.toString());
|
|
64
|
+
}
|
|
65
|
+
// Remove duplicates and return
|
|
66
|
+
return Array.from(new Set(variants));
|
|
19
67
|
}
|
|
20
68
|
/**
|
|
21
69
|
* Gets all ADRs for a plugin.
|
|
@@ -26,12 +74,58 @@ class AdrApi {
|
|
|
26
74
|
return repository.getAll(pluginId);
|
|
27
75
|
}
|
|
28
76
|
/**
|
|
29
|
-
* Gets ADRs by file path.
|
|
77
|
+
* Gets ADRs by file path with flexible path normalization.
|
|
78
|
+
* Supports various path formats (similar to ModuleApi.getModuleByPath).
|
|
30
79
|
*/
|
|
31
80
|
async getAdrsByFilePath(filePath, pluginId) {
|
|
32
81
|
const db = await this.dbManager.getDatabase('W');
|
|
33
82
|
const repository = new adr_repository_1.AdrRepository(db);
|
|
34
|
-
|
|
83
|
+
// Try exact match first
|
|
84
|
+
let adrs = await repository.findByFilePath(filePath, pluginId);
|
|
85
|
+
if (adrs.length > 0) {
|
|
86
|
+
return adrs;
|
|
87
|
+
}
|
|
88
|
+
// Generate normalized path variants
|
|
89
|
+
const pathVariants = this.normalizeFilePath(filePath);
|
|
90
|
+
// Try each variant
|
|
91
|
+
for (const variant of pathVariants) {
|
|
92
|
+
adrs = await repository.findByFilePath(variant, pluginId);
|
|
93
|
+
if (adrs.length > 0) {
|
|
94
|
+
return adrs;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
return [];
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Normalizes a file path to generate possible variants for flexible matching.
|
|
101
|
+
* Returns an array of path variants in order of preference.
|
|
102
|
+
* (Same logic as ModuleApi.normalizeFilePath)
|
|
103
|
+
*/
|
|
104
|
+
normalizeFilePath(filePath) {
|
|
105
|
+
const variants = [];
|
|
106
|
+
// Normalize separators to forward slashes
|
|
107
|
+
let normalized = filePath.replace(/\\/g, '/');
|
|
108
|
+
variants.push(normalized);
|
|
109
|
+
// Remove leading slashes
|
|
110
|
+
const withoutLeadingSlash = normalized.replace(/^\/+/, '');
|
|
111
|
+
if (withoutLeadingSlash !== normalized) {
|
|
112
|
+
variants.push(withoutLeadingSlash);
|
|
113
|
+
}
|
|
114
|
+
// Remove common plugin prefixes (e.g., "5d-database-plugin/")
|
|
115
|
+
const pluginPrefixes = ['5d-database-plugin/', 'documentation-system-plugin/', 'mcp-server/'];
|
|
116
|
+
for (const prefix of pluginPrefixes) {
|
|
117
|
+
if (normalized.startsWith(prefix)) {
|
|
118
|
+
const withoutPrefix = normalized.substring(prefix.length);
|
|
119
|
+
variants.push(withoutPrefix);
|
|
120
|
+
}
|
|
121
|
+
// Also try without leading slash
|
|
122
|
+
if (withoutLeadingSlash.startsWith(prefix)) {
|
|
123
|
+
const withoutPrefix = withoutLeadingSlash.substring(prefix.length);
|
|
124
|
+
variants.push(withoutPrefix);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
// Remove duplicates and return
|
|
128
|
+
return Array.from(new Set(variants));
|
|
35
129
|
}
|
|
36
130
|
}
|
|
37
131
|
exports.AdrApi = AdrApi;
|
package/out/api/adr-api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adr-api.js","sourceRoot":"","sources":["../../src/api/adr-api.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"adr-api.js","sourceRoot":"","sources":["../../src/api/adr-api.ts"],"names":[],"mappings":";;;AAEA,mEAA+D;AAG/D;;GAEG;AACH,MAAa,MAAM;IAGf,YAAY,SAAyB;QACjC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC/B,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,cAAc,CAAC,SAAiB,EAAE,QAAgB;QAC3D,MAAM,EAAE,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;QACjD,MAAM,UAAU,GAAG,IAAI,8BAAa,CAAC,EAAE,CAAC,CAAC;QAEzC,wBAAwB;QACxB,IAAI,GAAG,GAAG,MAAM,UAAU,CAAC,cAAc,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;QAC/D,IAAI,GAAG,EAAE,CAAC;YACN,OAAO,GAAG,CAAC;QACf,CAAC;QAED,w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AAC,QAAQ,CAAC,CAAC,CAAC;IACzC,CAAC;CACJ;AApJD,wBAoJC"}
|
package/out/api/index.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export { BootstrapApi } from './bootstrap-api';
|
|
|
15
15
|
export { SelfExplanationApi } from './self-explanation-api';
|
|
16
16
|
export { LearningPathApi } from './learning-path-api';
|
|
17
17
|
export { VectorApi } from './vector-api';
|
|
18
|
+
export { IngestionApi } from './ingestion-api';
|
|
18
19
|
export { ContextBuilder } from './context-builder';
|
|
19
20
|
export { MultiDbManager, Dimension } from '../core/multi-db-manager';
|
|
20
21
|
export { IdMapper } from '../core/id-mapper';
|
package/out/api/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAGnD,OAAO,EAAE,cAAc,EAAE,SAAS,EAA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;AAGnD,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAG9D,YAAY,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC/C,YAAY,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC/C,YAAY,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,YAAY,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AACzC,YAAY,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,YAAY,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC"}
|
package/out/api/index.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* This file exports all APIs that can be used from npm package installations.
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.DocsPathResolver = exports.IdMapper = exports.MultiDbManager = exports.ContextBuilder = exports.VectorApi = exports.LearningPathApi = exports.SelfExplanationApi = exports.BootstrapApi = exports.SearchApi = exports.SemanticSearchApi = exports.CrossDimensionApi = exports.ChangeApi = exports.AdrApi = exports.DependencyApi = exports.SymbolApi = exports.ModuleApi = void 0;
|
|
8
|
+
exports.DocsPathResolver = exports.IdMapper = exports.MultiDbManager = exports.ContextBuilder = exports.IngestionApi = exports.VectorApi = exports.LearningPathApi = exports.SelfExplanationApi = exports.BootstrapApi = exports.SearchApi = exports.SemanticSearchApi = exports.CrossDimensionApi = exports.ChangeApi = exports.AdrApi = exports.DependencyApi = exports.SymbolApi = exports.ModuleApi = void 0;
|
|
9
9
|
var module_api_1 = require("./module-api");
|
|
10
10
|
Object.defineProperty(exports, "ModuleApi", { enumerable: true, get: function () { return module_api_1.ModuleApi; } });
|
|
11
11
|
var symbol_api_1 = require("./symbol-api");
|
|
@@ -30,6 +30,8 @@ var learning_path_api_1 = require("./learning-path-api");
|
|
|
30
30
|
Object.defineProperty(exports, "LearningPathApi", { enumerable: true, get: function () { return learning_path_api_1.LearningPathApi; } });
|
|
31
31
|
var vector_api_1 = require("./vector-api");
|
|
32
32
|
Object.defineProperty(exports, "VectorApi", { enumerable: true, get: function () { return vector_api_1.VectorApi; } });
|
|
33
|
+
var ingestion_api_1 = require("./ingestion-api");
|
|
34
|
+
Object.defineProperty(exports, "IngestionApi", { enumerable: true, get: function () { return ingestion_api_1.IngestionApi; } });
|
|
33
35
|
var context_builder_1 = require("./context-builder");
|
|
34
36
|
Object.defineProperty(exports, "ContextBuilder", { enumerable: true, get: function () { return context_builder_1.ContextBuilder; } });
|
|
35
37
|
// Core classes needed for API initialization
|
package/out/api/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,2CAAyC;AAAhC,uGAAA,SAAS,OAAA;AAClB,2CAAyC;AAAhC,uGAAA,SAAS,OAAA;AAClB,mDAAiD;AAAxC,+GAAA,aAAa,OAAA;AACtB,qCAAmC;AAA1B,iGAAA,MAAM,OAAA;AACf,2CAAyC;AAAhC,uGAAA,SAAS,OAAA;AAClB,6DAA0D;AAAjD,wHAAA,iBAAiB,OAAA;AAC1B,6DAA0D;AAAjD,wHAAA,iBAAiB,OAAA;AAC1B,2CAAyC;AAAhC,uGAAA,SAAS,OAAA;AAClB,iDAA+C;AAAtC,6GAAA,YAAY,OAAA;AACrB,+DAA4D;AAAnD,0HAAA,kBAAkB,OAAA;AAC3B,yDAAsD;AAA7C,oHAAA,eAAe,OAAA;AACxB,2CAAyC;AAAhC,uGAAA,SAAS,OAAA;AAClB,qDAAmD;AAA1C,iHAAA,cAAc,OAAA;AAEvB,6CAA6C;AAC7C,6DAAqE;AAA5D,kHAAA,cAAc,OAAA;AACvB,+CAA6C;AAApC,qGAAA,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