@eventcatalog/core 3.3.1 → 3.4.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.
Files changed (34) hide show
  1. package/dist/analytics/analytics.cjs +1 -1
  2. package/dist/analytics/analytics.js +2 -2
  3. package/dist/analytics/log-build.cjs +1 -1
  4. package/dist/analytics/log-build.js +3 -3
  5. package/dist/{chunk-IFELNUKH.js → chunk-56E6QDHD.js} +1 -1
  6. package/dist/{chunk-AJ7F2ASU.js → chunk-6AW5YJSJ.js} +1 -1
  7. package/dist/{chunk-B5CNGEHG.js → chunk-7CV7NFRY.js} +1 -1
  8. package/dist/{chunk-LZMHPUTE.js → chunk-IVLW66F7.js} +1 -1
  9. package/dist/{chunk-DXXGEMLA.js → chunk-SPL7HGIZ.js} +1 -1
  10. package/dist/constants.cjs +1 -1
  11. package/dist/constants.js +1 -1
  12. package/dist/eventcatalog.cjs +1 -1
  13. package/dist/eventcatalog.js +5 -5
  14. package/dist/generate.cjs +1 -1
  15. package/dist/generate.js +3 -3
  16. package/dist/utils/cli-logger.cjs +1 -1
  17. package/dist/utils/cli-logger.js +2 -2
  18. package/eventcatalog/integrations/eventcatalog-features.ts +9 -0
  19. package/eventcatalog/src/content.config.ts +1 -0
  20. package/eventcatalog/src/enterprise/ai/chat-api.ts +27 -83
  21. package/eventcatalog/src/enterprise/custom-documentation/pages/docs/custom/index.astro +21 -142
  22. package/eventcatalog/src/enterprise/mcp/mcp-server.ts +512 -0
  23. package/eventcatalog/src/enterprise/tools/catalog-tools.ts +690 -0
  24. package/eventcatalog/src/enterprise/tools/index.ts +5 -0
  25. package/eventcatalog/src/env.d.ts +11 -0
  26. package/eventcatalog/src/pages/diagrams/[id]/[version]/embed.astro +433 -10
  27. package/eventcatalog/src/pages/diagrams/[id]/[version]/index.astro +21 -100
  28. package/eventcatalog/src/pages/docs/[type]/[id]/[version]/index.astro +26 -141
  29. package/eventcatalog/src/pages/docs/[type]/[id]/[version].mdx.ts +0 -4
  30. package/eventcatalog/src/types/mcp-modules.d.ts +66 -0
  31. package/eventcatalog/src/utils/feature.ts +2 -0
  32. package/eventcatalog/src/utils/mermaid-zoom.ts +751 -0
  33. package/eventcatalog/tsconfig.json +1 -1
  34. package/package.json +4 -1
@@ -22,5 +22,5 @@
22
22
  "jsxImportSource": "react",
23
23
  "types": ["vitest/globals"]
24
24
  },
25
- "exclude": ["**/*.spec.ts", "**/*.test.ts"]
25
+ "include": ["src/**/*", "*.config.*"]
26
26
  }
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "url": "https://github.com/event-catalog/eventcatalog.git"
7
7
  },
8
8
  "type": "module",
9
- "version": "3.3.1",
9
+ "version": "3.4.1",
10
10
  "publishConfig": {
11
11
  "access": "public"
12
12
  },
@@ -41,6 +41,7 @@
41
41
  "@heroicons/react": "^2.1.3",
42
42
  "@iconify-json/logos": "^1.2.4",
43
43
  "@mermaid-js/layout-elk": "^0.2.0",
44
+ "@modelcontextprotocol/sdk": "^1.25.2",
44
45
  "@nanostores/react": "^1.0.0",
45
46
  "@parcel/watcher": "^2.4.1",
46
47
  "@radix-ui/react-context-menu": "^2.2.6",
@@ -72,6 +73,7 @@
72
73
  "elkjs": "^0.10.0",
73
74
  "glob": "^10.5.0",
74
75
  "gray-matter": "^4.0.3",
76
+ "hono": "^4.11.3",
75
77
  "html-to-image": "^1.11.11",
76
78
  "js-yaml": "^4.1.1",
77
79
  "jsonpath": "^1.1.1",
@@ -98,6 +100,7 @@
98
100
  "rimraf": "^5.0.7",
99
101
  "semver": "7.6.3",
100
102
  "shelljs": "^0.9.0",
103
+ "svg-pan-zoom": "^3.6.2",
101
104
  "tailwindcss": "^3.4.3",
102
105
  "tw-animate-css": "^1.4.0",
103
106
  "typescript": "^5.4.5",