@eventcatalog/core 5.5.1 → 5.5.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/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-GZLVDQPM.js → chunk-5HSYALWK.js} +1 -1
- package/dist/{chunk-K5QKWVI3.js → chunk-7ZEKF2LA.js} +1 -1
- package/dist/{chunk-6KR5ZLEQ.js → chunk-CNN747RO.js} +1 -1
- package/dist/{chunk-EBZQJP7F.js → chunk-MC4F3VVM.js} +1 -1
- package/dist/{chunk-GPIKYBQ5.js → chunk-WG6ZK6L3.js} +1 -1
- package/dist/constants.cjs +1 -1
- package/dist/constants.js +1 -1
- package/dist/eventcatalog.cjs +1 -1
- package/dist/eventcatalog.js +11 -11
- package/dist/federation/federate.js +3 -3
- 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/architecture-diagram/view.tsx +8 -2
- package/eventcatalog/src/features/mcp/apps/canvas/view.tsx +2 -2
- package/eventcatalog/src/features/mcp/apps/generated/canvas.html +67 -67
- package/eventcatalog/src/features/mcp/apps/generated/viewer.html +72 -72
- package/eventcatalog/src/features/mcp/apps/schema-viewer/view.tsx +2 -1
- package/eventcatalog/src/features/mcp/apps/shared/app-view.tsx +24 -5
- package/eventcatalog/src/features/mcp/mcp-apps.ts +6 -1
- package/eventcatalog/src/features/mcp/mcp-server.ts +2 -0
- package/eventcatalog/src/features/studio/server/canvas-mcp.ts +2 -0
- package/eventcatalog/src/features/studio/tool-sync.ts +67 -3
- package/package.json +3 -3
- package/dist/{chunk-NCEZDQSW.js → chunk-QJ7KKN2D.js} +7 -7
|
@@ -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.5.
|
|
172
|
+
var version = "5.5.2";
|
|
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-CNN747RO.js";
|
|
4
4
|
import "../chunk-AD7CL772.js";
|
|
5
|
-
import "../chunk-
|
|
5
|
+
import "../chunk-5HSYALWK.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-WG6ZK6L3.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
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.5.
|
|
177
|
+
var version = "5.5.2";
|
|
178
178
|
|
|
179
179
|
// src/constants.ts
|
|
180
180
|
var VERSION = version;
|
package/dist/eventcatalog.js
CHANGED
|
@@ -7,12 +7,12 @@ import {
|
|
|
7
7
|
import "./chunk-CA4U2JP7.js";
|
|
8
8
|
import {
|
|
9
9
|
log_build_default
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-CNN747RO.js";
|
|
11
11
|
import {
|
|
12
12
|
getLicenseStatus,
|
|
13
13
|
printLicenseStatus
|
|
14
14
|
} from "./chunk-AD7CL772.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-5HSYALWK.js";
|
|
16
16
|
import "./chunk-YRZK7HKX.js";
|
|
17
17
|
import "./chunk-CA6WCQ2T.js";
|
|
18
18
|
import "./chunk-CPW6G62V.js";
|
|
@@ -20,17 +20,17 @@ import {
|
|
|
20
20
|
FederationConflictError,
|
|
21
21
|
FederationDiagnosticError,
|
|
22
22
|
federateCatalog
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-R7Z5ALYI.js";
|
|
25
|
-
import {
|
|
26
|
-
getFederationDiagnosticCounts,
|
|
27
|
-
getVisibleFederationDiagnostics
|
|
28
|
-
} from "./chunk-JJPB6EOZ.js";
|
|
23
|
+
} from "./chunk-QJ7KKN2D.js";
|
|
29
24
|
import "./chunk-WRNH5C3U.js";
|
|
30
25
|
import "./chunk-5EPNFDT5.js";
|
|
31
26
|
import "./chunk-A2RZR3U4.js";
|
|
32
27
|
import "./chunk-SDZQJTJW.js";
|
|
33
28
|
import "./chunk-352FGP6W.js";
|
|
29
|
+
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-7ZEKF2LA.js";
|
|
43
43
|
import {
|
|
44
44
|
logger
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-MC4F3VVM.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-WG6ZK6L3.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-
|
|
6
|
-
import "../chunk-R7Z5ALYI.js";
|
|
7
|
-
import "../chunk-JJPB6EOZ.js";
|
|
5
|
+
} from "../chunk-QJ7KKN2D.js";
|
|
8
6
|
import "../chunk-WRNH5C3U.js";
|
|
9
7
|
import "../chunk-5EPNFDT5.js";
|
|
10
8
|
import "../chunk-A2RZR3U4.js";
|
|
11
9
|
import "../chunk-SDZQJTJW.js";
|
|
12
10
|
import "../chunk-352FGP6W.js";
|
|
11
|
+
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.5.
|
|
108
|
+
var version = "5.5.2";
|
|
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-7ZEKF2LA.js";
|
|
4
|
+
import "./chunk-MC4F3VVM.js";
|
|
5
|
+
import "./chunk-WG6ZK6L3.js";
|
|
6
6
|
import "./chunk-4G7FSRPN.js";
|
|
7
7
|
export {
|
|
8
8
|
generate
|
package/dist/utils/cli-logger.js
CHANGED
|
@@ -16,7 +16,7 @@ import type { ArchitectureDiagramPayload } from './shared';
|
|
|
16
16
|
const LEVEL_OF_DETAIL = { overview: 1, services: 2, full: 3 } as const;
|
|
17
17
|
import { NodeChat, describeNode, describeNodeForModel, type SelectedNode } from './node-chat';
|
|
18
18
|
import { parseAskLink, parseDiagramLink, withAskMenuItem, type DiagramLink } from './links';
|
|
19
|
-
import { getToolResultPayload } from '../shared/app-view';
|
|
19
|
+
import { fullscreenStyle, getToolResultPayload } from '../shared/app-view';
|
|
20
20
|
import { RESOURCE_TYPE_LABELS } from '../shared/resource-types';
|
|
21
21
|
import { VIEWER_META_KEY, VIEWER_VIEW_TOOL, type ViewerPayload } from '../viewer/shared';
|
|
22
22
|
|
|
@@ -377,7 +377,13 @@ export function ArchitectureDiagramView({ app, payload: toolPayload, hostContext
|
|
|
377
377
|
const graphId = `mcp-${resource.collection}-${resource.id}-${resource.version}`;
|
|
378
378
|
|
|
379
379
|
return (
|
|
380
|
-
<div
|
|
380
|
+
<div
|
|
381
|
+
style={{
|
|
382
|
+
...(isFullscreen ? fullscreenStyle(hostContext) : { height: INLINE_HEIGHT }),
|
|
383
|
+
display: 'flex',
|
|
384
|
+
flexDirection: 'column',
|
|
385
|
+
}}
|
|
386
|
+
>
|
|
381
387
|
<div className="ec-mcp-header">
|
|
382
388
|
<div className="ec-mcp-title">
|
|
383
389
|
{diagrams.length > 1 && (
|
|
@@ -17,7 +17,7 @@ import visualiserStyles from '@eventcatalog/visualiser/styles.css?inline';
|
|
|
17
17
|
import StudioDesigner, { type SelectedNode } from '@features/studio/components/StudioDesigner';
|
|
18
18
|
import { getAgent } from '@features/studio/agents';
|
|
19
19
|
import { CANVAS_STATUS_LOOK, STATUS } from '@eventcatalog/visualiser/studio';
|
|
20
|
-
import { getToolResultPayload, mountView, useMcpAppView } from '../shared/app-view';
|
|
20
|
+
import { fullscreenStyle, getToolResultPayload, mountView, useMcpAppView } from '../shared/app-view';
|
|
21
21
|
import {
|
|
22
22
|
CANVAS_CATALOG_TOOL,
|
|
23
23
|
CANVAS_META_KEY,
|
|
@@ -219,7 +219,7 @@ function CanvasApp() {
|
|
|
219
219
|
const agentOf = (view: CanvasView) => view.agent ?? getAgent(undefined, hostName);
|
|
220
220
|
|
|
221
221
|
return (
|
|
222
|
-
<div className="flex flex-col" style={
|
|
222
|
+
<div className="flex flex-col" style={fullscreen ? fullscreenStyle(hostContext) : { height: INLINE_HEIGHT }}>
|
|
223
223
|
<div className="flex items-center justify-between border-b px-3 py-1.5 border-[rgb(var(--ec-page-border))]">
|
|
224
224
|
<span className="flex min-w-0 items-center gap-1">
|
|
225
225
|
{canvas && (
|