@eventcatalog/core 3.3.1 → 3.4.0
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-DXXGEMLA.js → chunk-GLMX3ZTY.js} +1 -1
- package/dist/{chunk-B5CNGEHG.js → chunk-KFZIBXRQ.js} +1 -1
- package/dist/{chunk-IFELNUKH.js → chunk-MJRHV77M.js} +1 -1
- package/dist/{chunk-AJ7F2ASU.js → chunk-Q4DKMESA.js} +1 -1
- package/dist/{chunk-LZMHPUTE.js → chunk-VAGFX36R.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 +5 -5
- 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/integrations/eventcatalog-features.ts +9 -0
- package/eventcatalog/src/content.config.ts +1 -0
- package/eventcatalog/src/enterprise/ai/chat-api.ts +27 -83
- package/eventcatalog/src/enterprise/custom-documentation/pages/docs/custom/index.astro +1 -0
- package/eventcatalog/src/enterprise/mcp/mcp-server.ts +512 -0
- package/eventcatalog/src/enterprise/tools/catalog-tools.ts +690 -0
- package/eventcatalog/src/enterprise/tools/index.ts +5 -0
- package/eventcatalog/src/pages/docs/[type]/[id]/[version]/index.astro +2 -0
- package/eventcatalog/src/pages/docs/[type]/[id]/[version].mdx.ts +0 -4
- package/eventcatalog/src/utils/feature.ts +2 -0
- package/eventcatalog/tsconfig.json +1 -1
- package/package.json +3 -1
|
@@ -45,15 +45,11 @@ export async function getStaticPaths() {
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
export const GET: APIRoute = async ({ params, props }) => {
|
|
48
|
-
console.log('props', props);
|
|
49
|
-
|
|
50
48
|
// Just return empty array if LLMs are not enabled
|
|
51
49
|
if (!isLLMSTxtEnabled()) {
|
|
52
50
|
return new Response('llms.txt is not enabled for this Catalog.', { status: 404 });
|
|
53
51
|
}
|
|
54
52
|
|
|
55
|
-
console.log('params', params);
|
|
56
|
-
|
|
57
53
|
if (isSSR()) {
|
|
58
54
|
const { getResourcePath } = utils(process.env.PROJECT_DIR ?? '');
|
|
59
55
|
const filePath = await getResourcePath(process.env.PROJECT_DIR ?? '', params.id ?? '', params.version ?? '');
|
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.
|
|
9
|
+
"version": "3.4.0",
|
|
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",
|