@eventcatalog/core 5.7.4 → 5.7.6
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/analytics/analytics.cjs +1 -1
- package/dist/analytics/analytics.js +2 -2
- package/dist/analytics/log-build.cjs +1 -1
- package/dist/analytics/log-build.js +3 -3
- package/dist/{chunk-PLTHZFTW.js → chunk-A22MC5P5.js} +1 -1
- package/dist/{chunk-L2PFSX4L.js → chunk-E2262TPK.js} +1 -1
- package/dist/{chunk-GOIDVIMH.js → chunk-SLN5D6WP.js} +1 -1
- package/dist/{chunk-RUG7AIT5.js → chunk-UI2XA4V7.js} +1 -1
- package/dist/{chunk-PXYVJK54.js → chunk-XB4U75TZ.js} +1 -1
- package/dist/constants.cjs +1 -1
- package/dist/constants.js +1 -1
- package/dist/docs/development/components/components/15-nodegraph.md +2 -2
- package/dist/docs/development/guides/domains/06-visualize-domains/01-domain-diagram.md +2 -1
- package/dist/docs/development/guides/resources/agents/03-adding-tools.md +6 -0
- package/dist/eventcatalog.cjs +1 -1
- package/dist/eventcatalog.js +21 -21
- package/dist/federation/federate.js +2 -2
- package/dist/generate.cjs +1 -1
- package/dist/generate.js +3 -3
- package/dist/utils/cli-logger.cjs +1 -1
- package/dist/utils/cli-logger.js +2 -2
- package/eventcatalog/src/features/mcp/apps/generated/canvas.html +70 -70
- package/eventcatalog/src/features/mcp/apps/generated/viewer.html +70 -70
- package/eventcatalog/src/utils/node-graphs/channel-node-graph.ts +2 -2
- package/eventcatalog/src/utils/node-graphs/domain-levels-node-graph.ts +150 -57
- package/eventcatalog/src/utils/node-graphs/message-node-graph.ts +0 -87
- package/eventcatalog/src/utils/node-graphs/systems-node-graph.ts +10 -24
- package/package.json +2 -2
- package/dist/{chunk-QJ7KKN2D.js → chunk-46TBJZC3.js} +4 -4
|
@@ -169,7 +169,7 @@ var verifyRequiredFieldsAreInCatalogConfigFile = async (projectDirectory) => {
|
|
|
169
169
|
var import_os = __toESM(require("os"), 1);
|
|
170
170
|
|
|
171
171
|
// package.json
|
|
172
|
-
var version = "5.7.
|
|
172
|
+
var version = "5.7.6";
|
|
173
173
|
|
|
174
174
|
// src/constants.ts
|
|
175
175
|
var VERSION = version;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
log_build_default
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-A22MC5P5.js";
|
|
4
4
|
import "../chunk-AD7CL772.js";
|
|
5
|
-
import "../chunk-
|
|
5
|
+
import "../chunk-SLN5D6WP.js";
|
|
6
6
|
import "../chunk-YRZK7HKX.js";
|
|
7
7
|
import "../chunk-CA6WCQ2T.js";
|
|
8
8
|
import "../chunk-CPW6G62V.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-E2262TPK.js";
|
|
10
10
|
import "../chunk-4G7FSRPN.js";
|
|
11
11
|
export {
|
|
12
12
|
log_build_default as default
|
package/dist/constants.cjs
CHANGED
package/dist/constants.js
CHANGED
|
@@ -55,7 +55,7 @@ A floating toolbar sits at the bottom of the canvas. It has:
|
|
|
55
55
|
- **L1**, **L2** and **L3**: the levels of detail. They are the same on every diagram:
|
|
56
56
|
- **L1**: domains, systems and their relationships.
|
|
57
57
|
- **L2**: services and data stores.
|
|
58
|
-
- **L3**: adds messages and channels.
|
|
58
|
+
- **L3**: adds messages and channels, and an agent's tools on the agent's own diagram.
|
|
59
59
|
- Tools for the resource shown. For example, a domain's Diagram page has **Highlight cross-domain communication**, which picks out the edges to and from other domains.
|
|
60
60
|
- **Simulate messages**: animates messages moving along the edges.
|
|
61
61
|
- **Show minimap** / **Hide minimap**.
|
|
@@ -78,7 +78,7 @@ Open the menu (three dots next to the diagram title) and select **Canvas** for t
|
|
|
78
78
|
- **Render as mermaid**: switch between the interactive diagram and a Mermaid diagram with automatic layout and pan/zoom controls.
|
|
79
79
|
- **Simulate Messages**: animate messages moving along the edges.
|
|
80
80
|
- **Hide channels**: hide channel nodes.
|
|
81
|
-
- **Hide messages**: hide messages and channels. This is the same view as level 2.
|
|
81
|
+
- **Hide messages**: hide messages and channels (and an agent's tools). This is the same view as level 2.
|
|
82
82
|
- **Show minimap**, **Fit to view** and **Find on canvas**.
|
|
83
83
|
|
|
84
84
|
### Copy as Mermaid {#export-as-mermaid}
|
|
@@ -47,7 +47,8 @@ The page opens at level 1. The level is kept in the URL, so a shared link opens
|
|
|
47
47
|
- Subdomains are shown as domains inside the domain, with their own systems and services. At L1, a subdomain without systems is a single card.
|
|
48
48
|
- Other domains' subdomains are shown inside a box for their parent domain.
|
|
49
49
|
- Services that are not in a system are shown with the resources they connect to.
|
|
50
|
-
-
|
|
50
|
+
- Events, and the channels they're published on, are placed with the domain that publishes them. Events that only other domains publish are placed outside the domain.
|
|
51
|
+
- Commands and queries, and the channels they're sent through, are placed with the domain that receives them, because it handles them. A command another domain sends to this one is placed inside the domain, next to the service that handles it. A command this domain sends to another is placed outside.
|
|
51
52
|
- A domain without systems or subdomains opens at L2, and L1 is greyed out.
|
|
52
53
|
|
|
53
54
|
## Highlight cross-domain communication
|
|
@@ -89,3 +89,9 @@ This agent helps the support team answer order questions.
|
|
|
89
89
|
`<AgentTools />` is only supported inside agent pages. If you add it to a service or message page, the catalog will display a warning and skip the table.
|
|
90
90
|
|
|
91
91
|

|
|
92
|
+
|
|
93
|
+
## Tools on diagrams
|
|
94
|
+
|
|
95
|
+
An agent's tools are drawn on the agent's own Diagram page, at level 3 (**L3**), joined to the agent. Level 2 leaves them out, along with messages and channels.
|
|
96
|
+
|
|
97
|
+
Tools are part of how the agent works, so they aren't drawn on the diagrams of the services, systems, messages or domains the agent talks to. Those diagrams show the agent without its tools.
|
package/dist/eventcatalog.cjs
CHANGED
|
@@ -174,7 +174,7 @@ var verifyRequiredFieldsAreInCatalogConfigFile = async (projectDirectory) => {
|
|
|
174
174
|
var import_picocolors = __toESM(require("picocolors"), 1);
|
|
175
175
|
|
|
176
176
|
// package.json
|
|
177
|
-
var version = "5.7.
|
|
177
|
+
var version = "5.7.6";
|
|
178
178
|
|
|
179
179
|
// src/constants.ts
|
|
180
180
|
var VERSION = version;
|
package/dist/eventcatalog.js
CHANGED
|
@@ -2,35 +2,35 @@ import {
|
|
|
2
2
|
stopChildWithParent
|
|
3
3
|
} from "./chunk-S5GWAUG5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
FederationConflictError,
|
|
6
|
+
FederationDiagnosticError,
|
|
7
|
+
federateCatalog
|
|
8
|
+
} from "./chunk-46TBJZC3.js";
|
|
9
|
+
import {
|
|
10
|
+
getFederationDiagnosticCounts,
|
|
11
|
+
getVisibleFederationDiagnostics
|
|
12
|
+
} from "./chunk-JJPB6EOZ.js";
|
|
13
|
+
import "./chunk-WRNH5C3U.js";
|
|
14
|
+
import "./chunk-5EPNFDT5.js";
|
|
15
|
+
import "./chunk-A2RZR3U4.js";
|
|
16
|
+
import "./chunk-SDZQJTJW.js";
|
|
17
|
+
import "./chunk-352FGP6W.js";
|
|
8
18
|
import {
|
|
9
19
|
log_build_default
|
|
10
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-A22MC5P5.js";
|
|
11
21
|
import {
|
|
12
22
|
getLicenseStatus,
|
|
13
23
|
printLicenseStatus
|
|
14
24
|
} from "./chunk-AD7CL772.js";
|
|
15
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-SLN5D6WP.js";
|
|
16
26
|
import "./chunk-YRZK7HKX.js";
|
|
17
27
|
import "./chunk-CA6WCQ2T.js";
|
|
18
28
|
import "./chunk-CPW6G62V.js";
|
|
19
29
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./chunk-QJ7KKN2D.js";
|
|
24
|
-
import "./chunk-WRNH5C3U.js";
|
|
25
|
-
import "./chunk-5EPNFDT5.js";
|
|
26
|
-
import "./chunk-A2RZR3U4.js";
|
|
27
|
-
import "./chunk-SDZQJTJW.js";
|
|
28
|
-
import "./chunk-352FGP6W.js";
|
|
30
|
+
runMigrations
|
|
31
|
+
} from "./chunk-XUAF2H54.js";
|
|
32
|
+
import "./chunk-CA4U2JP7.js";
|
|
29
33
|
import "./chunk-R7Z5ALYI.js";
|
|
30
|
-
import {
|
|
31
|
-
getFederationDiagnosticCounts,
|
|
32
|
-
getVisibleFederationDiagnostics
|
|
33
|
-
} from "./chunk-JJPB6EOZ.js";
|
|
34
34
|
import {
|
|
35
35
|
getProjectOutDir,
|
|
36
36
|
isAuthEnabled,
|
|
@@ -39,10 +39,10 @@ import {
|
|
|
39
39
|
} from "./chunk-NKNOXQ62.js";
|
|
40
40
|
import {
|
|
41
41
|
generate
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-UI2XA4V7.js";
|
|
43
43
|
import {
|
|
44
44
|
logger
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-XB4U75TZ.js";
|
|
46
46
|
import {
|
|
47
47
|
resolve_catalog_dependencies_default
|
|
48
48
|
} from "./chunk-PD7KTSYN.js";
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
} from "./chunk-LFQJXLHG.js";
|
|
80
80
|
import {
|
|
81
81
|
VERSION
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-E2262TPK.js";
|
|
83
83
|
import {
|
|
84
84
|
getEventCatalogConfigFile,
|
|
85
85
|
verifyRequiredFieldsAreInCatalogConfigFile
|
|
@@ -2,14 +2,14 @@ import {
|
|
|
2
2
|
FederationConflictError,
|
|
3
3
|
FederationDiagnosticError,
|
|
4
4
|
federateCatalog
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-46TBJZC3.js";
|
|
6
|
+
import "../chunk-JJPB6EOZ.js";
|
|
6
7
|
import "../chunk-WRNH5C3U.js";
|
|
7
8
|
import "../chunk-5EPNFDT5.js";
|
|
8
9
|
import "../chunk-A2RZR3U4.js";
|
|
9
10
|
import "../chunk-SDZQJTJW.js";
|
|
10
11
|
import "../chunk-352FGP6W.js";
|
|
11
12
|
import "../chunk-R7Z5ALYI.js";
|
|
12
|
-
import "../chunk-JJPB6EOZ.js";
|
|
13
13
|
import "../chunk-4G7FSRPN.js";
|
|
14
14
|
export {
|
|
15
15
|
FederationConflictError,
|
package/dist/generate.cjs
CHANGED
|
@@ -105,7 +105,7 @@ var getEventCatalogConfigFile = async (projectDirectory) => {
|
|
|
105
105
|
var import_picocolors = __toESM(require("picocolors"), 1);
|
|
106
106
|
|
|
107
107
|
// package.json
|
|
108
|
-
var version = "5.7.
|
|
108
|
+
var version = "5.7.6";
|
|
109
109
|
|
|
110
110
|
// src/constants.ts
|
|
111
111
|
var VERSION = version;
|
package/dist/generate.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generate
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-UI2XA4V7.js";
|
|
4
|
+
import "./chunk-XB4U75TZ.js";
|
|
5
|
+
import "./chunk-E2262TPK.js";
|
|
6
6
|
import "./chunk-4G7FSRPN.js";
|
|
7
7
|
export {
|
|
8
8
|
generate
|