@eventcatalog/core 3.0.0-beta.18 → 3.0.0-beta.19

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 (47) hide show
  1. package/README.md +10 -0
  2. package/dist/analytics/analytics.cjs +1 -1
  3. package/dist/analytics/analytics.js +2 -2
  4. package/dist/analytics/log-build.cjs +1 -1
  5. package/dist/analytics/log-build.js +3 -3
  6. package/dist/{chunk-ZOH72FV2.js → chunk-E7QOZU4L.js} +1 -1
  7. package/dist/{chunk-TIBH2HFY.js → chunk-FHSD3KUQ.js} +1 -1
  8. package/dist/{chunk-XT7O6IKS.js → chunk-FQUOTAQT.js} +1 -1
  9. package/dist/{chunk-NUF7T4KS.js → chunk-R6WYYOD5.js} +1 -1
  10. package/dist/{chunk-I4ZR6UIR.js → chunk-ZK4S7XBB.js} +1 -1
  11. package/dist/constants.cjs +1 -1
  12. package/dist/constants.js +1 -1
  13. package/dist/eventcatalog.cjs +1 -1
  14. package/dist/eventcatalog.js +5 -5
  15. package/dist/generate.cjs +1 -1
  16. package/dist/generate.js +3 -3
  17. package/dist/utils/cli-logger.cjs +1 -1
  18. package/dist/utils/cli-logger.js +2 -2
  19. package/eventcatalog/astro.config.mjs +1 -1
  20. package/eventcatalog/src/components/ChatPanel/ChatPanel.tsx +814 -0
  21. package/eventcatalog/src/components/ChatPanel/ChatPanelButton.tsx +24 -0
  22. package/eventcatalog/src/components/Header.astro +7 -3
  23. package/eventcatalog/src/components/Search/Search.astro +2 -2
  24. package/eventcatalog/src/enterprise/eventcatalog-chat/pages/api/chat.ts +233 -30
  25. package/eventcatalog/src/layouts/VerticalSideBarLayout.astro +0 -8
  26. package/eventcatalog/src/pages/docs/[type]/[id]/[version]/asyncapi/[filename].astro +4 -0
  27. package/eventcatalog/src/utils/collections/schemas.ts +31 -7
  28. package/eventcatalog/src/utils/feature.ts +4 -1
  29. package/package.json +8 -10
  30. package/eventcatalog/src/enterprise/eventcatalog-chat/components/Chat.tsx +0 -60
  31. package/eventcatalog/src/enterprise/eventcatalog-chat/components/ChatMessage.tsx +0 -414
  32. package/eventcatalog/src/enterprise/eventcatalog-chat/components/ChatSidebar.tsx +0 -169
  33. package/eventcatalog/src/enterprise/eventcatalog-chat/components/InputModal.tsx +0 -244
  34. package/eventcatalog/src/enterprise/eventcatalog-chat/components/MentionInput.tsx +0 -211
  35. package/eventcatalog/src/enterprise/eventcatalog-chat/components/WelcomePromptArea.tsx +0 -176
  36. package/eventcatalog/src/enterprise/eventcatalog-chat/components/default-prompts.ts +0 -93
  37. package/eventcatalog/src/enterprise/eventcatalog-chat/components/hooks/ChatProvider.tsx +0 -143
  38. package/eventcatalog/src/enterprise/eventcatalog-chat/components/windows/ChatWindow.server.tsx +0 -387
  39. package/eventcatalog/src/enterprise/eventcatalog-chat/pages/chat/index.astro +0 -104
  40. package/eventcatalog/src/enterprise/eventcatalog-chat/providers/ai-provider.ts +0 -140
  41. package/eventcatalog/src/enterprise/eventcatalog-chat/providers/anthropic.ts +0 -28
  42. package/eventcatalog/src/enterprise/eventcatalog-chat/providers/google.ts +0 -41
  43. package/eventcatalog/src/enterprise/eventcatalog-chat/providers/index.ts +0 -26
  44. package/eventcatalog/src/enterprise/eventcatalog-chat/providers/openai.ts +0 -61
  45. package/eventcatalog/src/enterprise/eventcatalog-chat/utils/chat-prompts.ts +0 -50
  46. package/eventcatalog/src/pages/chat/feature.astro +0 -179
  47. package/eventcatalog/src/pages/chat/index.astro +0 -10
package/README.md CHANGED
@@ -123,6 +123,16 @@ Interested in collaborating with us? Our offerings include dedicated support, pr
123
123
 
124
124
  Find more details on our [services page](https://eventcatalog.dev/services).
125
125
 
126
+ # Looking for v2?
127
+
128
+ You can find v2 on our [release/v2 branch](https://github.com/event-catalog/eventcatalog/tree/release/v2).
129
+
130
+ We are currently working on `main` which is the current major version of EventCatalog.
131
+
132
+ We are only applying patch fixes and security updates to `v2.x.x` going forward.
133
+
134
+ If you would like to make a change to v2, please raise a pull request against the `release/v2` branch.
135
+
126
136
  # Looking for v1?
127
137
 
128
138
  - Documentation: https://v1.eventcatalog.dev
@@ -37,7 +37,7 @@ var import_axios = __toESM(require("axios"), 1);
37
37
  var import_os = __toESM(require("os"), 1);
38
38
 
39
39
  // package.json
40
- var version = "3.0.0-beta.18";
40
+ var version = "3.0.0-beta.19";
41
41
 
42
42
  // src/constants.ts
43
43
  var VERSION = version;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  raiseEvent
3
- } from "../chunk-NUF7T4KS.js";
4
- import "../chunk-TIBH2HFY.js";
3
+ } from "../chunk-R6WYYOD5.js";
4
+ import "../chunk-FHSD3KUQ.js";
5
5
  export {
6
6
  raiseEvent
7
7
  };
@@ -106,7 +106,7 @@ var import_axios = __toESM(require("axios"), 1);
106
106
  var import_os = __toESM(require("os"), 1);
107
107
 
108
108
  // package.json
109
- var version = "3.0.0-beta.18";
109
+ var version = "3.0.0-beta.19";
110
110
 
111
111
  // src/constants.ts
112
112
  var VERSION = version;
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  log_build_default
3
- } from "../chunk-I4ZR6UIR.js";
4
- import "../chunk-NUF7T4KS.js";
5
- import "../chunk-TIBH2HFY.js";
3
+ } from "../chunk-ZK4S7XBB.js";
4
+ import "../chunk-R6WYYOD5.js";
5
+ import "../chunk-FHSD3KUQ.js";
6
6
  import "../chunk-UPONRQSN.js";
7
7
  export {
8
8
  log_build_default as default
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-TIBH2HFY.js";
3
+ } from "./chunk-FHSD3KUQ.js";
4
4
 
5
5
  // src/utils/cli-logger.ts
6
6
  import pc from "picocolors";
@@ -1,5 +1,5 @@
1
1
  // package.json
2
- var version = "3.0.0-beta.18";
2
+ var version = "3.0.0-beta.19";
3
3
 
4
4
  // src/constants.ts
5
5
  var VERSION = version;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  logger
3
- } from "./chunk-ZOH72FV2.js";
3
+ } from "./chunk-E7QOZU4L.js";
4
4
  import {
5
5
  cleanup,
6
6
  getEventCatalogConfigFile
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-TIBH2HFY.js";
3
+ } from "./chunk-FHSD3KUQ.js";
4
4
 
5
5
  // src/analytics/analytics.js
6
6
  import axios from "axios";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  raiseEvent
3
- } from "./chunk-NUF7T4KS.js";
3
+ } from "./chunk-R6WYYOD5.js";
4
4
  import {
5
5
  getEventCatalogConfigFile,
6
6
  verifyRequiredFieldsAreInCatalogConfigFile
@@ -25,7 +25,7 @@ __export(constants_exports, {
25
25
  module.exports = __toCommonJS(constants_exports);
26
26
 
27
27
  // package.json
28
- var version = "3.0.0-beta.18";
28
+ var version = "3.0.0-beta.19";
29
29
 
30
30
  // src/constants.ts
31
31
  var VERSION = version;
package/dist/constants.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-TIBH2HFY.js";
3
+ } from "./chunk-FHSD3KUQ.js";
4
4
  export {
5
5
  VERSION
6
6
  };
@@ -109,7 +109,7 @@ var verifyRequiredFieldsAreInCatalogConfigFile = async (projectDirectory) => {
109
109
  var import_picocolors = __toESM(require("picocolors"), 1);
110
110
 
111
111
  // package.json
112
- var version = "3.0.0-beta.18";
112
+ var version = "3.0.0-beta.19";
113
113
 
114
114
  // src/constants.ts
115
115
  var VERSION = version;
@@ -6,8 +6,8 @@ import {
6
6
  } from "./chunk-PLNJC7NZ.js";
7
7
  import {
8
8
  log_build_default
9
- } from "./chunk-I4ZR6UIR.js";
10
- import "./chunk-NUF7T4KS.js";
9
+ } from "./chunk-ZK4S7XBB.js";
10
+ import "./chunk-R6WYYOD5.js";
11
11
  import {
12
12
  runMigrations
13
13
  } from "./chunk-BH3JMNAV.js";
@@ -23,13 +23,13 @@ import {
23
23
  } from "./chunk-5VBIXL6C.js";
24
24
  import {
25
25
  generate
26
- } from "./chunk-XT7O6IKS.js";
26
+ } from "./chunk-FQUOTAQT.js";
27
27
  import {
28
28
  logger
29
- } from "./chunk-ZOH72FV2.js";
29
+ } from "./chunk-E7QOZU4L.js";
30
30
  import {
31
31
  VERSION
32
- } from "./chunk-TIBH2HFY.js";
32
+ } from "./chunk-FHSD3KUQ.js";
33
33
  import "./chunk-UPONRQSN.js";
34
34
 
35
35
  // src/eventcatalog.ts
package/dist/generate.cjs CHANGED
@@ -73,7 +73,7 @@ var getEventCatalogConfigFile = async (projectDirectory) => {
73
73
  var import_picocolors = __toESM(require("picocolors"), 1);
74
74
 
75
75
  // package.json
76
- var version = "3.0.0-beta.18";
76
+ var version = "3.0.0-beta.19";
77
77
 
78
78
  // src/constants.ts
79
79
  var VERSION = version;
package/dist/generate.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  generate
3
- } from "./chunk-XT7O6IKS.js";
4
- import "./chunk-ZOH72FV2.js";
5
- import "./chunk-TIBH2HFY.js";
3
+ } from "./chunk-FQUOTAQT.js";
4
+ import "./chunk-E7QOZU4L.js";
5
+ import "./chunk-FHSD3KUQ.js";
6
6
  import "./chunk-UPONRQSN.js";
7
7
  export {
8
8
  generate
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(cli_logger_exports);
36
36
  var import_picocolors = __toESM(require("picocolors"), 1);
37
37
 
38
38
  // package.json
39
- var version = "3.0.0-beta.18";
39
+ var version = "3.0.0-beta.19";
40
40
 
41
41
  // src/constants.ts
42
42
  var VERSION = version;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  logger
3
- } from "../chunk-ZOH72FV2.js";
4
- import "../chunk-TIBH2HFY.js";
3
+ } from "../chunk-E7QOZU4L.js";
4
+ import "../chunk-FHSD3KUQ.js";
5
5
  export {
6
6
  logger
7
7
  };
@@ -119,7 +119,7 @@ export default defineConfig({
119
119
  }
120
120
  },
121
121
  ssr: {
122
- external: ['eventcatalog.auth.js'],
122
+ external: ['eventcatalog.auth.js', 'eventcatalog.chat.js'],
123
123
  }
124
124
  }
125
125
  });