@swarmvaultai/engine 0.2.1 → 0.2.2
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/dist/index.d.ts +10 -2
- package/dist/index.js +318 -49
- package/dist/viewer/assets/index-BHjjw4rU.css +1 -0
- package/dist/viewer/assets/{index-Csm8eB3P.js → index-DxKn2KOc.js} +23 -23
- package/dist/viewer/index.html +2 -2
- package/dist/viewer/lib.d.ts +11 -0
- package/package.json +1 -1
- package/dist/viewer/assets/index-DUJ6MWHL.css +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -301,6 +301,7 @@ interface SourceManifest {
|
|
|
301
301
|
extractionHash?: string;
|
|
302
302
|
mimeType: string;
|
|
303
303
|
contentHash: string;
|
|
304
|
+
semanticHash: string;
|
|
304
305
|
createdAt: string;
|
|
305
306
|
updatedAt: string;
|
|
306
307
|
attachments?: SourceAttachment[];
|
|
@@ -410,6 +411,7 @@ interface SourceAnalysis {
|
|
|
410
411
|
analysisVersion: number;
|
|
411
412
|
sourceId: string;
|
|
412
413
|
sourceHash: string;
|
|
414
|
+
semanticHash: string;
|
|
413
415
|
extractionHash?: string;
|
|
414
416
|
schemaHash: string;
|
|
415
417
|
title: string;
|
|
@@ -480,6 +482,7 @@ interface GraphPage {
|
|
|
480
482
|
backlinks: string[];
|
|
481
483
|
schemaHash: string;
|
|
482
484
|
sourceHashes: Record<string, string>;
|
|
485
|
+
sourceSemanticHashes: Record<string, string>;
|
|
483
486
|
relatedPageIds: string[];
|
|
484
487
|
relatedNodeIds: string[];
|
|
485
488
|
relatedSourceIds: string[];
|
|
@@ -779,6 +782,7 @@ interface CompileState {
|
|
|
779
782
|
projectConfigHash: string;
|
|
780
783
|
analyses: Record<string, string>;
|
|
781
784
|
sourceHashes: Record<string, string>;
|
|
785
|
+
sourceSemanticHashes: Record<string, string>;
|
|
782
786
|
sourceProjects: Record<string, string | null>;
|
|
783
787
|
outputHashes: Record<string, string>;
|
|
784
788
|
insightHashes: Record<string, string>;
|
|
@@ -1292,11 +1296,15 @@ declare function bootstrapDemo(rootDir: string, input?: string): Promise<{
|
|
|
1292
1296
|
compile?: CompileResult;
|
|
1293
1297
|
}>;
|
|
1294
1298
|
|
|
1295
|
-
declare function startGraphServer(rootDir: string, port?: number
|
|
1299
|
+
declare function startGraphServer(rootDir: string, port?: number, options?: {
|
|
1300
|
+
full?: boolean;
|
|
1301
|
+
}): Promise<{
|
|
1296
1302
|
port: number;
|
|
1297
1303
|
close: () => Promise<void>;
|
|
1298
1304
|
}>;
|
|
1299
|
-
declare function exportGraphHtml(rootDir: string, outputPath: string
|
|
1305
|
+
declare function exportGraphHtml(rootDir: string, outputPath: string, options?: {
|
|
1306
|
+
full?: boolean;
|
|
1307
|
+
}): Promise<string>;
|
|
1300
1308
|
|
|
1301
1309
|
type WatchCycleResult = {
|
|
1302
1310
|
watchedRepoRoots: string[];
|