@datasynx/agentic-ai-cartography 0.8.0 → 0.8.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/README.md +1 -1
- package/dist/{bookmarks-KKS4M37J.js → bookmarks-72CDYAHD.js} +2 -2
- package/dist/{chunk-PVFDCPPW.js → chunk-3NVQ3ND6.js} +1 -9
- package/dist/{chunk-PVFDCPPW.js.map → chunk-3NVQ3ND6.js.map} +1 -1
- package/dist/cli.js +10 -27
- package/dist/cli.js.map +1 -1
- package/dist/index.js +0 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- /package/dist/{bookmarks-KKS4M37J.js.map → bookmarks-72CDYAHD.js.map} +0 -0
package/dist/index.js
CHANGED
|
@@ -3544,23 +3544,18 @@ function exportAll(db, sessionId, outputDir, formats = ["mermaid", "json", "yaml
|
|
|
3544
3544
|
const edges = db.getEdges(sessionId);
|
|
3545
3545
|
const jgfPath = join3(outputDir, "cartography-graph.jgf.json");
|
|
3546
3546
|
writeFileSync(jgfPath, exportJGF(nodes, edges));
|
|
3547
|
-
process.stderr.write("\u2713 cartography-graph.jgf.json\n");
|
|
3548
3547
|
if (formats.includes("mermaid")) {
|
|
3549
3548
|
writeFileSync(join3(outputDir, "topology.mermaid"), generateTopologyMermaid(nodes, edges));
|
|
3550
3549
|
writeFileSync(join3(outputDir, "dependencies.mermaid"), generateDependencyMermaid(nodes, edges));
|
|
3551
|
-
process.stderr.write("\u2713 topology.mermaid, dependencies.mermaid\n");
|
|
3552
3550
|
}
|
|
3553
3551
|
if (formats.includes("json")) {
|
|
3554
3552
|
writeFileSync(join3(outputDir, "catalog.json"), exportJSON(db, sessionId));
|
|
3555
|
-
process.stderr.write("\u2713 catalog.json\n");
|
|
3556
3553
|
}
|
|
3557
3554
|
if (formats.includes("yaml")) {
|
|
3558
3555
|
writeFileSync(join3(outputDir, "catalog-info.yaml"), exportBackstageYAML(nodes, edges));
|
|
3559
|
-
process.stderr.write("\u2713 catalog-info.yaml\n");
|
|
3560
3556
|
}
|
|
3561
3557
|
if (formats.includes("html") || formats.includes("map") || formats.includes("discovery")) {
|
|
3562
3558
|
writeFileSync(join3(outputDir, "discovery.html"), exportDiscoveryApp(nodes, edges));
|
|
3563
|
-
process.stderr.write("\u2713 discovery.html\n");
|
|
3564
3559
|
}
|
|
3565
3560
|
if (formats.includes("sops")) {
|
|
3566
3561
|
const sops = db.getSOPs(sessionId);
|
|
@@ -3570,10 +3565,6 @@ function exportAll(db, sessionId, outputDir, formats = ["mermaid", "json", "yaml
|
|
|
3570
3565
|
const wfFilename = `workflow-${sop.workflowId.substring(0, 8)}.mermaid`;
|
|
3571
3566
|
writeFileSync(join3(outputDir, "workflows", wfFilename), generateWorkflowMermaid(sop));
|
|
3572
3567
|
}
|
|
3573
|
-
if (sops.length > 0) {
|
|
3574
|
-
process.stderr.write(`\u2713 ${sops.length} SOPs + workflow diagrams
|
|
3575
|
-
`);
|
|
3576
|
-
}
|
|
3577
3568
|
}
|
|
3578
3569
|
}
|
|
3579
3570
|
|