@eventcatalog/core 4.1.3 → 4.1.5
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-DDGOJV25.js → chunk-DIUAURE2.js} +1 -1
- package/dist/{chunk-WEDJTUSQ.js → chunk-E6IUV4GX.js} +1 -1
- package/dist/{chunk-TUKKXNQR.js → chunk-G74MXXTG.js} +1 -1
- package/dist/{chunk-PDQER3NQ.js → chunk-GIU3S4CI.js} +1 -1
- package/dist/{chunk-G3D7IZ67.js → chunk-X77TET65.js} +1 -1
- package/dist/constants.cjs +1 -1
- package/dist/constants.js +1 -1
- package/dist/docs/api/02-config.md +166 -14
- package/dist/docs/api/08-code-blocks.md +1 -1
- package/dist/docs/development/00-why-eventcatalog.md +29 -40
- package/dist/docs/development/01-fundamentals.md +58 -7
- package/dist/docs/development/01-getting-started/configuration-overview.md +1 -93
- package/dist/docs/development/01-getting-started/develop-and-build.md +4 -3
- package/dist/docs/development/01-getting-started/installation.md +3 -3
- package/dist/docs/development/01-getting-started/project-structure.md +74 -141
- package/dist/docs/development/ask-your-architecture/01-intro.md +8 -76
- package/dist/docs/development/ask-your-architecture/02-eventcatalog-assistant/01-what-is-eventcatalog-assistant.md +4 -3
- package/dist/docs/development/ask-your-architecture/02-eventcatalog-assistant/02-configuration.md +2 -1
- package/dist/docs/development/ask-your-architecture/02-eventcatalog-assistant/03-bring-your-own-tools.md +1 -3
- package/dist/docs/development/ask-your-architecture/02-eventcatalog-assistant/_category_.json +2 -2
- package/dist/docs/development/{developer-tools/llms.txt.md → ask-your-architecture/02-llms.txt.md} +1 -2
- package/dist/docs/development/ask-your-architecture/03-mcp-server/_category_.json +2 -2
- package/dist/docs/development/ask-your-architecture/03-mcp-server/getting-started.md +2 -2
- package/dist/docs/development/ask-your-architecture/03-mcp-server/introduction.md +2 -25
- package/dist/docs/development/{developer-tools/schemas.txt.md → ask-your-architecture/03-schemas.txt.md} +1 -2
- package/dist/docs/development/ask-your-architecture/04-agents/01-overview.md +27 -0
- package/dist/docs/development/ask-your-architecture/04-agents/02-code-to-docs.md +124 -0
- package/dist/docs/development/ask-your-architecture/04-agents/03-breaking-changes.md +170 -0
- package/dist/docs/development/ask-your-architecture/04-agents/_category_.json +12 -0
- package/dist/docs/development/ask-your-architecture/{04-skills → 05-skills}/_category_.json +2 -2
- package/dist/docs/development/ask-your-architecture/{05-slack-integration → 06-slack-integration}/03-installation.md +1 -1
- package/dist/docs/development/ask-your-architecture/{05-slack-integration → 06-slack-integration}/_category_.json +2 -1
- package/dist/docs/development/ask-your-architecture/_category_.json +2 -2
- package/dist/docs/development/authentication/01-introduction.md +3 -3
- package/dist/docs/development/authentication/02-enabling-authentication.md +2 -2
- package/dist/docs/development/authentication/providers/03-setting-up-github.md +25 -1
- package/dist/docs/development/authentication/providers/03a-setting-up-google.md +0 -1
- package/dist/docs/development/bring-your-own-documentation/01-introduction.md +29 -25
- package/dist/docs/development/bring-your-own-documentation/custom-pages/01-introduction.md +9 -8
- package/dist/docs/development/bring-your-own-documentation/custom-pages/02-adding-custom-docs.md +70 -32
- package/dist/docs/development/bring-your-own-documentation/custom-pages/03-components.md +4 -1
- package/dist/docs/development/bring-your-own-documentation/custom-pages/04-owners.md +2 -1
- package/dist/docs/development/bring-your-own-documentation/custom-pages/_category_.json +1 -1
- package/dist/docs/development/bring-your-own-documentation/diagrams/01-introduction.md +56 -0
- package/dist/docs/development/bring-your-own-documentation/diagrams/02-creating-diagrams.md +262 -0
- package/dist/docs/development/{guides → bring-your-own-documentation}/diagrams/03-referencing-diagrams.md +3 -87
- package/dist/docs/development/bring-your-own-documentation/diagrams/05-comparing-diagrams.md +25 -0
- package/dist/docs/development/bring-your-own-documentation/diagrams/07-reference.md +144 -0
- package/dist/docs/development/{guides → bring-your-own-documentation}/diagrams/_category_.json +2 -1
- package/dist/docs/development/bring-your-own-documentation/resource-docs/01-introduction.md +2 -4
- package/dist/docs/development/bring-your-own-documentation/resource-docs/02-adding-resource-docs.md +138 -43
- package/dist/docs/development/bring-your-own-documentation/resource-docs/03-categories.md +38 -9
- package/dist/docs/development/bring-your-own-documentation/resource-docs/04-versioning.md +62 -13
- package/dist/docs/development/components/04-snippets.md +0 -2
- package/dist/docs/development/components/05-using-components.md +4 -16
- package/dist/docs/development/components/07-resource-references.md +1 -1
- package/dist/docs/development/components/_category_.json +3 -3
- package/dist/docs/development/components/components/01-accordian.md +1 -1
- package/dist/docs/development/components/components/03-admonitions.md +1 -1
- package/dist/docs/development/components/components/04-agent-tools.md +2 -2
- package/dist/docs/development/components/components/05-attachments.md +1 -1
- package/dist/docs/development/components/components/07-design.md +1 -2
- package/dist/docs/development/components/components/08-entitymap.md +2 -2
- package/dist/docs/development/components/components/09-flow.md +1 -1
- package/dist/docs/development/components/components/10-link.md +1 -1
- package/dist/docs/development/components/components/11-mermaid-file-loader.md +1 -1
- package/dist/docs/development/components/components/12-message-table.md +1 -1
- package/dist/docs/development/components/components/13-nodegraph.md +1 -1
- package/dist/docs/development/components/components/14-openapi.md +3 -3
- package/dist/docs/development/components/components/15-prompt.md +2 -6
- package/dist/docs/development/components/components/16-remote-schema.md +5 -3
- package/dist/docs/development/components/components/17-resource-group-table.md +1 -1
- package/dist/docs/development/components/components/18-resource-link.md +1 -1
- package/dist/docs/development/components/components/19-schema.md +1 -1
- package/dist/docs/development/components/components/20-schema-viewer.md +1 -1
- package/dist/docs/development/components/components/21-steps.md +1 -1
- package/dist/docs/development/components/components/22-tabs.md +1 -1
- package/dist/docs/development/components/components/23-tiles.md +1 -1
- package/dist/docs/development/components/components/24-visibility.md +1 -1
- package/dist/docs/development/components/components/_category_.json +1 -1
- package/dist/docs/development/components/custom-components/01-introduction.md +74 -0
- package/dist/docs/development/components/custom-components/02-create-your-first-component.md +71 -0
- package/dist/docs/development/components/custom-components/03-pass-data-into-components.md +86 -0
- package/dist/docs/development/components/custom-components/04-fetch-data-in-components.md +191 -0
- package/dist/docs/development/components/custom-components/05-style-components.md +60 -0
- package/dist/docs/development/components/custom-components/06-add-client-side-scripts.md +67 -0
- package/dist/docs/development/components/custom-components/07-reference.md +115 -0
- package/dist/docs/development/components/custom-components/_category_.json +11 -0
- package/dist/docs/development/components/{external-diagram-embeds/03-drawio.md → diagram-syntax/01-drawio.md} +2 -3
- package/dist/docs/development/components/{external-diagram-embeds/04-figjam.md → diagram-syntax/02-figjam.md} +1 -2
- package/dist/docs/development/components/diagram-syntax/{04-icepanel.md → 03-icepanel.md} +1 -2
- package/dist/docs/development/components/diagram-syntax/04-likec4.md +136 -0
- package/dist/docs/development/components/{external-diagram-embeds/02-lucid.md → diagram-syntax/05-lucid.md} +2 -3
- package/dist/docs/development/components/diagram-syntax/{01-mermaid.md → 06-mermaid.md} +1 -1
- package/dist/docs/development/components/{external-diagram-embeds/01-miro.md → diagram-syntax/07-miro.md} +2 -3
- package/dist/docs/development/components/diagram-syntax/{02-plantuml.md → 08-plantuml.md} +3 -3
- package/dist/docs/development/components/diagram-syntax/{03-structurizr.md → 09-structurizr.md} +1 -1
- package/dist/docs/development/components/diagram-syntax/_category_.json +3 -3
- package/dist/docs/development/customization/01-customize-landing-page.md +7 -15
- package/dist/docs/development/customization/02-themes.md +1 -0
- package/dist/docs/development/customization/03-application-sidebar.md +246 -0
- package/dist/docs/development/customization/03-search.md +2 -2
- package/dist/docs/development/customization/{customize-sidebars/01-documentation-sidebar.md → 04-documentation-sidebar.md} +4 -4
- package/dist/docs/development/customization/05-custom-pages-and-api-routes/01-introduction.md +94 -0
- package/dist/docs/development/customization/05-custom-pages-and-api-routes/02-create-a-custom-page.md +177 -0
- package/dist/docs/development/customization/05-custom-pages-and-api-routes/03-create-an-api-route.md +128 -0
- package/dist/docs/development/customization/05-custom-pages-and-api-routes/04-reference.md +138 -0
- package/dist/docs/development/customization/05-custom-pages-and-api-routes/_category_.json +12 -0
- package/dist/docs/development/customization/06-customize-tables.md +3 -3
- package/dist/docs/development/customization/07-resource-icons.md +190 -0
- package/dist/docs/development/customization/_category_.json +1 -1
- package/dist/docs/development/customization/customize-visualizer/_category_.json +2 -2
- package/dist/docs/development/deployment/hosting-options.md +1 -2
- package/dist/docs/development/developer-tools/api-catalog.md +1 -1
- package/dist/docs/development/developer-tools/eventcatalog-linter.md +137 -2
- package/dist/docs/development/governance/_category_.json +1 -0
- package/dist/docs/development/governance/architecture-change-detection/01-introduction.md +2 -2
- package/dist/docs/development/guides/98-versioning-resources.md +192 -0
- package/dist/docs/development/guides/99-adding-analytics.md +0 -1
- package/dist/docs/development/guides/changelogs/02-adding-changelogs.md +2 -2
- package/dist/docs/development/guides/changelogs/03-automated-changelogs.md +2 -2
- package/dist/docs/development/guides/changelogs/04-reference.md +77 -0
- package/dist/docs/development/guides/changelogs/_category_.json +2 -2
- package/dist/docs/development/guides/domains/01-introduction.md +14 -9
- package/dist/docs/development/guides/domains/{02-creating-domains/02-adding-domains.md → 02-create-domain.md} +32 -16
- package/dist/docs/development/guides/domains/{02-creating-domains/02a-subdomains.md → 03-model-subdomains.md} +22 -10
- package/dist/docs/development/guides/domains/03-ownership-and-language/01-owners.md +1 -1
- package/dist/docs/development/guides/domains/03-ownership-and-language/02-adding-ubiquitous-language.md +2 -6
- package/dist/docs/development/guides/domains/03-ownership-and-language/_category_.json +2 -2
- package/dist/docs/development/guides/domains/04-add-resources-to-domains/01-add-systems-to-domains.md +154 -0
- package/dist/docs/development/guides/domains/{02-creating-domains/03-adding-services-to-domains.md → 04-add-resources-to-domains/02-add-services-to-domains.md} +6 -37
- package/dist/docs/development/guides/domains/{02-creating-domains/04-adding-messages-to-domains.md → 04-add-resources-to-domains/03-add-messages-to-domains.md} +4 -6
- package/dist/docs/development/guides/domains/{02-creating-domains/05-adding-data-products-to-domains.md → 04-add-resources-to-domains/04-add-data-products-to-domains.md} +6 -5
- package/dist/docs/development/guides/domains/04-add-resources-to-domains/05-add-entities-to-domains.md +115 -0
- package/dist/docs/development/guides/domains/04-add-resources-to-domains/_category_.json +11 -0
- package/dist/docs/development/guides/domains/{08-domain-integration-map.md → 06-visualize-domains/01-domain-integration-map.md} +5 -6
- package/dist/docs/development/guides/domains/06-visualize-domains/_category_.json +12 -0
- package/dist/docs/development/guides/domains/{04-versioning-and-changelogs/01-versioning.md → 07-version-domains.md} +5 -6
- package/dist/docs/development/guides/domains/{04-versioning-and-changelogs/02-changelog.md → 08-add-changelog.md} +6 -7
- package/dist/docs/development/guides/domains/09-reference.md +517 -0
- package/dist/docs/development/guides/owners/01-what-are-teams-and-users.md +46 -0
- package/dist/docs/development/guides/owners/02-create-team.md +110 -0
- package/dist/docs/development/guides/owners/03-create-user.md +99 -0
- package/dist/docs/development/guides/owners/05-teams-reference.md +144 -0
- package/dist/docs/development/guides/owners/06-users-reference.md +128 -0
- package/dist/docs/development/guides/owners/_category_.json +2 -2
- package/dist/docs/development/guides/owners/automated-teams-and-users/_category_.json +11 -0
- package/dist/docs/development/guides/owners/automated-teams-and-users/create-your-own-connector.md +108 -0
- package/dist/docs/development/guides/owners/automated-teams-and-users/sync-from-github.md +156 -0
- package/dist/docs/development/guides/owners/automated-teams-and-users/sync-from-microsoft-entra.md +253 -0
- package/dist/docs/development/guides/resources/_category_.json +11 -0
- package/dist/docs/development/guides/resources/adrs/01-introduction.md +37 -0
- package/dist/docs/development/guides/resources/adrs/02-creating-adrs.md +211 -0
- package/dist/docs/development/guides/resources/adrs/03-linking-resources.md +52 -0
- package/dist/docs/development/guides/resources/adrs/04-relationships.md +80 -0
- package/dist/docs/development/guides/resources/adrs/06-reference.md +247 -0
- package/dist/docs/development/guides/resources/adrs/_category_.json +11 -0
- package/dist/docs/development/guides/{agents → resources/agents}/01-introduction.md +1 -16
- package/dist/docs/development/guides/resources/agents/02-create-agent.md +188 -0
- package/dist/docs/development/guides/{agents → resources/agents}/03-adding-tools.md +3 -4
- package/dist/docs/development/guides/{agents → resources/agents}/04-model-metadata.md +2 -2
- package/dist/docs/development/guides/{agents/adding-to-agents/01-messages.md → resources/agents/05-add-messages-to-agents.md} +5 -4
- package/dist/docs/development/guides/{agents/adding-to-agents/02-datastores.md → resources/agents/06-add-data-stores-to-agents.md} +4 -15
- package/dist/docs/development/guides/resources/agents/11-reference.md +238 -0
- package/dist/docs/development/guides/{agents → resources/agents}/_category_.json +2 -2
- package/dist/docs/development/guides/resources/data/01-introduction.md +15 -0
- package/dist/docs/development/guides/resources/data/02-adding-data.md +184 -0
- package/dist/docs/development/guides/resources/data/03-add-read-write-relationships.md +128 -0
- package/dist/docs/development/guides/resources/data/04-reference.md +211 -0
- package/dist/docs/development/guides/{data → resources/data}/_category_.json +3 -3
- package/dist/docs/development/guides/{data-products → resources/data-products}/01-introduction.md +1 -17
- package/dist/docs/development/guides/resources/data-products/02-adding-data-products.md +174 -0
- package/dist/docs/development/guides/{data-products → resources/data-products}/03-inputs-and-outputs.md +4 -6
- package/dist/docs/development/guides/{data-products → resources/data-products}/04-contracts.md +2 -4
- package/dist/docs/development/guides/resources/data-products/07-reference.md +201 -0
- package/dist/docs/development/guides/{data-products → resources/data-products}/_category_.json +3 -3
- package/dist/docs/development/guides/resources/entities/01-introduction.md +26 -0
- package/dist/docs/development/guides/resources/entities/02-create-entity.md +162 -0
- package/dist/docs/development/guides/resources/entities/03-model-entity-relationships.md +115 -0
- package/dist/docs/development/guides/resources/entities/04-add-entities-to-resources.md +188 -0
- package/dist/docs/development/guides/resources/entities/05-entity-maps.md +48 -0
- package/dist/docs/development/guides/resources/entities/06-reference.md +273 -0
- package/dist/docs/development/guides/{domains/05-entities → resources/entities}/_category_.json +4 -4
- package/dist/docs/development/guides/resources/flows/01-introduction.md +28 -0
- package/dist/docs/development/guides/resources/flows/02-create-flow.md +304 -0
- package/dist/docs/development/guides/{flows/03-flow-nodes.md → resources/flows/03-model-flow-steps.md} +6 -6
- package/dist/docs/development/guides/resources/flows/04-add-flows-to-resources.md +149 -0
- package/dist/docs/development/guides/resources/flows/06-reference.md +226 -0
- package/dist/docs/development/guides/{flows → resources/flows}/_category_.json +3 -3
- package/dist/docs/development/guides/resources/messages/01-what-are-messages.md +104 -0
- package/dist/docs/development/guides/{messages/events/01-introduction.md → resources/messages/02-message-types/01-events.md} +3 -7
- package/dist/docs/development/guides/{messages/commands/01-introduction.md → resources/messages/02-message-types/02-commands.md} +4 -7
- package/dist/docs/development/guides/resources/messages/02-message-types/03-queries.md +20 -0
- package/dist/docs/development/guides/resources/messages/02-message-types/_category_.json +11 -0
- package/dist/docs/development/guides/resources/messages/03-create-messages/01-create-event.md +137 -0
- package/dist/docs/development/guides/resources/messages/03-create-messages/02-create-command.md +156 -0
- package/dist/docs/development/guides/resources/messages/03-create-messages/03-create-query.md +158 -0
- package/dist/docs/development/guides/{messages/common/02-draft-messages.md → resources/messages/03-create-messages/04-create-draft-message.md} +5 -7
- package/dist/docs/development/guides/resources/messages/03-create-messages/_category_.json +11 -0
- package/dist/docs/development/guides/resources/messages/04-connect-messages/01-map-producers-and-consumers.md +32 -0
- package/dist/docs/development/guides/resources/messages/04-connect-messages/02-shared-messages-across-boundaries.md +170 -0
- package/dist/docs/development/guides/{messages/common/09-grouping-messages.md → resources/messages/04-connect-messages/03-group-messages.md} +2 -4
- package/dist/docs/development/guides/resources/messages/04-connect-messages/_category_.json +11 -0
- package/dist/docs/development/guides/{channels → resources/messages/04-message-channels}/01-introduction.md +4 -28
- package/dist/docs/development/guides/{channels → resources/messages/04-message-channels}/02-adding-channels.md +77 -62
- package/dist/docs/development/guides/{channels → resources/messages/04-message-channels}/04-adding-messages-to-services.md +10 -14
- package/dist/docs/development/guides/resources/messages/04-message-channels/05-reference.md +177 -0
- package/dist/docs/development/guides/{channels → resources/messages/04-message-channels}/_category_.json +3 -3
- package/dist/docs/development/guides/{messages/common/04-versioning.md → resources/messages/08-versioning-and-lifecycle/01-version-messages.md} +39 -4
- package/dist/docs/development/guides/{messages/common/05-changelog.md → resources/messages/08-versioning-and-lifecycle/02-add-changelog.md} +5 -6
- package/dist/docs/development/guides/{messages/common/02-deprecating.md → resources/messages/08-versioning-and-lifecycle/03-deprecate-messages.md} +4 -4
- package/dist/docs/development/guides/resources/messages/08-versioning-and-lifecycle/_category_.json +11 -0
- package/dist/docs/development/guides/{messages/common/02-examples.md → resources/messages/09-add-usage-examples.md} +59 -22
- package/dist/docs/development/guides/resources/messages/10-reference.md +439 -0
- package/dist/docs/development/guides/resources/messages/_category_.json +11 -0
- package/dist/docs/development/guides/resources/schemas/01-what-are-schemas-and-specifications.md +25 -0
- package/dist/docs/development/guides/resources/schemas/02-add-schemas-to-messages.md +63 -0
- package/dist/docs/development/guides/resources/schemas/03-add-schemas-to-data-stores.md +90 -0
- package/dist/docs/development/guides/{services/adding-to-services/04-openapi.md → resources/schemas/03-add-specifications-to-services/01-add-openapi-specifications.md} +33 -24
- package/dist/docs/development/guides/{services/adding-to-services/05-asyncapi.md → resources/schemas/03-add-specifications-to-services/02-add-asyncapi-specifications.md} +33 -23
- package/dist/docs/development/guides/{services/adding-to-services/06-graphql.md → resources/schemas/03-add-specifications-to-services/03-add-graphql-schemas.md} +36 -26
- package/dist/docs/development/guides/resources/schemas/03-add-specifications-to-services/_category_.json +11 -0
- package/dist/docs/development/guides/{schemas/02-schema-explorer.md → resources/schemas/04-explore-schemas/01-schema-explorer.md} +3 -26
- package/dist/docs/development/guides/{schemas/06-fields-explorer.md → resources/schemas/04-explore-schemas/02-fields-explorer.md} +8 -10
- package/dist/docs/development/guides/{schemas/05-field-usage.md → resources/schemas/04-explore-schemas/03-consumer-field-usage.md} +1 -3
- package/dist/docs/development/guides/resources/schemas/04-explore-schemas/_category_.json +11 -0
- package/dist/docs/development/guides/{schemas/03-schema-api.md → resources/schemas/05-schema-api.md} +6 -11
- package/dist/docs/development/guides/{schemas/04-schema-mcp.md → resources/schemas/06-schema-mcp.md} +5 -6
- package/dist/docs/development/guides/resources/schemas/07-reference.md +23 -0
- package/dist/docs/development/guides/{schemas → resources/schemas}/_category_.json +3 -3
- package/dist/docs/development/guides/resources/services/01-introduction.md +27 -0
- package/dist/docs/development/guides/resources/services/02-create-service.md +195 -0
- package/dist/docs/development/guides/resources/services/03-create-external-service.md +52 -0
- package/dist/docs/development/guides/resources/services/04-add-resources-to-services/01-add-messages-to-services.md +142 -0
- package/dist/docs/development/guides/resources/services/04-add-resources-to-services/02-add-data-stores-to-services.md +45 -0
- package/dist/docs/development/guides/{services/adding-to-services/03-entities.md → resources/services/04-add-resources-to-services/03-add-entities-to-services.md} +7 -11
- package/dist/docs/development/guides/resources/services/04-add-resources-to-services/_category_.json +11 -0
- package/dist/docs/development/guides/{services/ownership-and-components/01-owners.md → resources/services/06-ownership-and-components/01-add-service-owners.md} +3 -4
- package/dist/docs/development/guides/{services/ownership-and-components/02-components.md → resources/services/06-ownership-and-components/02-use-components.md} +4 -4
- package/dist/docs/development/guides/resources/services/06-ownership-and-components/_category_.json +11 -0
- package/dist/docs/development/guides/{services/versioning-and-lifecycle/01-versioning.md → resources/services/07-versioning-and-lifecycle/01-version-services.md} +4 -3
- package/dist/docs/development/guides/{services/versioning-and-lifecycle/02-changelog.md → resources/services/07-versioning-and-lifecycle/02-add-changelog.md} +5 -5
- package/dist/docs/development/guides/{services/versioning-and-lifecycle/03-deprecating.md → resources/services/07-versioning-and-lifecycle/03-deprecate-services.md} +5 -4
- package/dist/docs/development/guides/resources/services/07-versioning-and-lifecycle/_category_.json +11 -0
- package/dist/docs/development/guides/resources/services/08-reference.md +295 -0
- package/dist/docs/development/guides/{services → resources/services}/_category_.json +3 -3
- package/dist/docs/development/guides/systems/01-introduction.md +119 -0
- package/dist/docs/development/guides/systems/02-create-system.md +127 -0
- package/dist/docs/development/guides/systems/03-add-resources-to-systems.md +157 -0
- package/dist/docs/development/guides/systems/04-model-relationships-and-actors.md +86 -0
- package/dist/docs/development/guides/systems/05-system-context-maps.md +67 -0
- package/dist/docs/development/guides/systems/06-reference.md +329 -0
- package/dist/docs/development/guides/{messages/queries → systems}/_category_.json +5 -5
- package/dist/docs/development/license-keys/_category_.json +1 -1
- package/dist/docs/development/license-keys/integrations.md +20 -9
- package/dist/docs/development/license-keys/overview.md +7 -18
- package/dist/docs/development/license-keys/plans.md +9 -18
- package/dist/docs/development/upgrading/v2.md +1 -2
- package/dist/docs/development/upgrading/v3.md +2 -3
- package/dist/docs/development/upgrading/v4.md +377 -0
- package/dist/docs/editor/00-overview.md +3 -3
- package/dist/docs/editor/01-first-edit.md +1 -1
- package/dist/docs/editor/explanation/markdown-mdx-git.md +1 -1
- package/dist/docs/editor/how-to/add-schemas-and-specifications.md +5 -5
- package/dist/docs/editor/how-to/edit-resource.md +1 -1
- package/dist/docs/editor/how-to/use-flow-editor.md +5 -5
- package/dist/docs/editor/how-to/use-slash-commands.md +2 -2
- package/dist/docs/editor/reference/supported-content.md +2 -2
- package/dist/docs/editor/reference/supported-resources.md +14 -14
- package/dist/docs/plugins/amazon-apigateway/00-intro.md +8 -8
- package/dist/docs/plugins/amazon-apigateway/01-installation.md +10 -12
- package/dist/docs/plugins/amazon-apigateway/02-plugin-configuration.md +5 -4
- package/dist/docs/plugins/apicurio/00-intro.md +8 -8
- package/dist/docs/plugins/apicurio/01-installation.md +12 -2
- package/dist/docs/plugins/apicurio/02-plugin-configuration.md +7 -9
- package/dist/docs/plugins/apicurio/03-features.md +2 -2
- package/dist/docs/plugins/asyncapi/00-intro.md +8 -8
- package/dist/docs/plugins/asyncapi/01-installation.md +10 -11
- package/dist/docs/plugins/asyncapi/02-plugin-configuration.md +5 -5
- package/dist/docs/plugins/asyncapi/03-features.md +9 -9
- package/dist/docs/plugins/aws-glue-registry/00-intro.md +8 -8
- package/dist/docs/plugins/aws-glue-registry/00a-installation.md +16 -6
- package/dist/docs/plugins/aws-glue-registry/01-features.md +2 -2
- package/dist/docs/plugins/azure-schema-registry/00-intro.md +10 -10
- package/dist/docs/plugins/azure-schema-registry/01-installation.md +15 -5
- package/dist/docs/plugins/azure-schema-registry/02-plugin-configuration.md +4 -4
- package/dist/docs/plugins/azure-schema-registry/04-examples.md +1 -1
- package/dist/docs/plugins/backstage/00-intro.md +3 -3
- package/dist/docs/plugins/backstage/01-installation.md +7 -15
- package/dist/docs/plugins/confluent-schema-registry/00-intro.md +8 -8
- package/dist/docs/plugins/confluent-schema-registry/01-installation.md +12 -4
- package/dist/docs/plugins/confluent-schema-registry/02-plugin-configuration.md +3 -3
- package/dist/docs/plugins/eventbridge/00a-installation.md +21 -21
- package/dist/docs/plugins/eventbridge/01-features.md +3 -3
- package/dist/docs/plugins/eventbridge/03-api.md +5 -5
- package/dist/docs/plugins/eventcatalog-federation/00-introduction.md +6 -6
- package/dist/docs/plugins/eventcatalog-federation/01-installation.md +10 -11
- package/dist/docs/plugins/eventcatalog-federation/04-configuration.md +2 -2
- package/dist/docs/plugins/eventcatalog-federation/05-setup-team-catalog.md +5 -6
- package/dist/docs/plugins/github/00-intro.md +8 -8
- package/dist/docs/plugins/github/01-installation.md +12 -5
- package/dist/docs/plugins/graphql/00-intro.md +8 -8
- package/dist/docs/plugins/graphql/01-installation.md +11 -11
- package/dist/docs/plugins/graphql/02-plugin-configuration.md +3 -4
- package/dist/docs/plugins/graphql/03-features.md +4 -4
- package/dist/docs/plugins/openapi/00-intro.md +8 -8
- package/dist/docs/plugins/openapi/01-installation.md +10 -11
- package/dist/docs/plugins/openapi/02-plugin-configuration.md +7 -6
- package/dist/docs/plugins/openapi/03-features.md +6 -7
- package/dist/docs/tutorial/01-start-here.md +75 -0
- package/dist/docs/tutorial/02-install-eventcatalog.md +98 -0
- package/dist/docs/tutorial/04-add-ownership.md +184 -0
- package/dist/docs/tutorial/04-create-event.md +176 -0
- package/dist/docs/tutorial/05-create-a-domain.md +133 -0
- package/dist/docs/tutorial/05-publish-event.md +82 -0
- package/dist/docs/tutorial/06-consume-event.md +130 -0
- package/dist/docs/tutorial/06-create-a-service.md +99 -0
- package/dist/docs/tutorial/11-visualize-your-catalog.md +105 -0
- package/dist/docs/tutorial/12-build-your-catalog.md +79 -0
- package/dist/docs/tutorial/14-next-steps.md +108 -0
- package/dist/docs/tutorial/_category_.json +12 -0
- 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/public/android-chrome-192x192.png +0 -0
- package/eventcatalog/public/android-chrome-512x512.png +0 -0
- package/eventcatalog/public/apple-touch-icon.png +0 -0
- package/eventcatalog/public/favicon-16x16.png +0 -0
- package/eventcatalog/public/favicon-32x32.png +0 -0
- package/eventcatalog/public/favicon-48x48.png +0 -0
- package/eventcatalog/public/favicon-96x96.png +0 -0
- package/eventcatalog/public/favicon.ico +0 -0
- package/eventcatalog/public/favicon.svg +8 -0
- package/eventcatalog/src/components/Seo.astro +5 -1
- package/eventcatalog/src/enterprise/auth/error.astro +3 -1
- package/eventcatalog/src/enterprise/auth/login.astro +3 -1
- package/eventcatalog/src/layouts/VerticalSideBarLayout.astro +4 -1
- package/eventcatalog/src/pages/studio.astro +3 -1
- package/eventcatalog/src/toolkit/layouts/Layout.astro +7 -1
- package/package.json +3 -3
- package/dist/docs/api/03-domain-api.md +0 -440
- package/dist/docs/api/04-service-api.md +0 -414
- package/dist/docs/api/05-command-api.md +0 -365
- package/dist/docs/api/06-event-api.md +0 -364
- package/dist/docs/api/06-query-api.md +0 -362
- package/dist/docs/api/08-channel-api.md +0 -363
- package/dist/docs/api/09-flow-api.md +0 -446
- package/dist/docs/api/10-entity-api.md +0 -330
- package/dist/docs/api/11-data-api.md +0 -273
- package/dist/docs/api/12-data-product-api.md +0 -445
- package/dist/docs/development/components/external-diagram-embeds/05-icepanel.md +0 -68
- package/dist/docs/development/components/external-diagram-embeds/_category_.json +0 -12
- package/dist/docs/development/customization/custom-components/00-what-is-mdx.md +0 -73
- package/dist/docs/development/customization/custom-components/01-introduction.md +0 -28
- package/dist/docs/development/customization/custom-components/02-adding-components.md +0 -145
- package/dist/docs/development/customization/custom-components/03-component-styling.md +0 -27
- package/dist/docs/development/customization/custom-components/04-javascript-components.md +0 -32
- package/dist/docs/development/customization/custom-components/_category_.json +0 -11
- package/dist/docs/development/customization/customize-sidebars/00-application-sidebar.md +0 -85
- package/dist/docs/development/customization/customize-sidebars/_category_.json +0 -11
- package/dist/docs/development/developer-tools/github-action.md +0 -147
- package/dist/docs/development/guides/12-customize-your-sidebar.md +0 -12
- package/dist/docs/development/guides/agents/02-adding-agents.md +0 -152
- package/dist/docs/development/guides/agents/adding-to-agents/_category_.json +0 -10
- package/dist/docs/development/guides/agents/ownership/01-owners.md +0 -67
- package/dist/docs/development/guides/agents/ownership/_category_.json +0 -11
- package/dist/docs/development/guides/agents/versioning-and-lifecycle/01-versioning.md +0 -48
- package/dist/docs/development/guides/agents/versioning-and-lifecycle/02-changelog.md +0 -40
- package/dist/docs/development/guides/agents/versioning-and-lifecycle/03-deprecating.md +0 -41
- package/dist/docs/development/guides/agents/versioning-and-lifecycle/_category_.json +0 -11
- package/dist/docs/development/guides/channels/ownership-and-components/01-owners.md +0 -44
- package/dist/docs/development/guides/channels/ownership-and-components/02-components.md +0 -16
- package/dist/docs/development/guides/channels/ownership-and-components/_category_.json +0 -11
- package/dist/docs/development/guides/channels/versioning-and-lifecycle/01-versioning.md +0 -31
- package/dist/docs/development/guides/channels/versioning-and-lifecycle/02-changelog.md +0 -56
- package/dist/docs/development/guides/channels/versioning-and-lifecycle/_category_.json +0 -11
- package/dist/docs/development/guides/data/01-introduction.md +0 -34
- package/dist/docs/development/guides/data/02-adding-data.md +0 -86
- package/dist/docs/development/guides/data/03a-adding-schemas-to-data-stores.md +0 -73
- package/dist/docs/development/guides/data/ownership-and-components/01-owners.md +0 -45
- package/dist/docs/development/guides/data/ownership-and-components/02-components.md +0 -17
- package/dist/docs/development/guides/data/ownership-and-components/_category_.json +0 -11
- package/dist/docs/development/guides/data/versioning-and-lifecycle/01-versioning.md +0 -32
- package/dist/docs/development/guides/data/versioning-and-lifecycle/02-changelog.md +0 -57
- package/dist/docs/development/guides/data/versioning-and-lifecycle/03-deprecating.md +0 -71
- package/dist/docs/development/guides/data/versioning-and-lifecycle/_category_.json +0 -11
- package/dist/docs/development/guides/data-products/02-adding-data-products.md +0 -157
- package/dist/docs/development/guides/data-products/05-versioning.md +0 -240
- package/dist/docs/development/guides/data-products/06-adding-to-domains.md +0 -52
- package/dist/docs/development/guides/diagrams/01-introduction.md +0 -78
- package/dist/docs/development/guides/diagrams/02-creating-diagrams.md +0 -195
- package/dist/docs/development/guides/diagrams/04-versioning-diagrams.md +0 -204
- package/dist/docs/development/guides/diagrams/05-comparing-diagrams.md +0 -145
- package/dist/docs/development/guides/diagrams/06-diagrams-with-llms.md +0 -165
- package/dist/docs/development/guides/domains/02-creating-domains/_category_.json +0 -11
- package/dist/docs/development/guides/domains/04-versioning-and-changelogs/_category_.json +0 -10
- package/dist/docs/development/guides/domains/05-entities/01-introduction.md +0 -24
- package/dist/docs/development/guides/domains/05-entities/02-adding-entities.md +0 -157
- package/dist/docs/development/guides/domains/05-entities/03-adding-entities-to-domains.md +0 -30
- package/dist/docs/development/guides/domains/05-entities/04-domain-entity-map.md +0 -134
- package/dist/docs/development/guides/flows/01-introduction.md +0 -36
- package/dist/docs/development/guides/flows/02-adding-flows.md +0 -198
- package/dist/docs/development/guides/flows/04-adding-flows-to-services.md +0 -42
- package/dist/docs/development/guides/flows/05-adding-flows-to-domains.md +0 -43
- package/dist/docs/development/guides/flows/06-versioning.md +0 -27
- package/dist/docs/development/guides/flows/07-create-flow-with-ai.md +0 -171
- package/dist/docs/development/guides/messages/01-overview.md +0 -57
- package/dist/docs/development/guides/messages/_category_.json +0 -11
- package/dist/docs/development/guides/messages/commands/02-adding-commands.md +0 -131
- package/dist/docs/development/guides/messages/commands/_category_.json +0 -11
- package/dist/docs/development/guides/messages/common/01-map-to-producers-and-consumers.md +0 -37
- package/dist/docs/development/guides/messages/common/02-adding-schemas.md +0 -58
- package/dist/docs/development/guides/messages/common/03-owners.md +0 -40
- package/dist/docs/development/guides/messages/common/07-components.md +0 -12
- package/dist/docs/development/guides/messages/common/08-shared-messages-across-boundaries.md +0 -70
- package/dist/docs/development/guides/messages/common/_category_.json +0 -11
- package/dist/docs/development/guides/messages/events/02-adding-events.md +0 -130
- package/dist/docs/development/guides/messages/events/_category_.json +0 -11
- package/dist/docs/development/guides/messages/queries/01-introduction.md +0 -25
- package/dist/docs/development/guides/messages/queries/02-adding-queries.md +0 -130
- package/dist/docs/development/guides/owners/teams/01-introduction.md +0 -21
- package/dist/docs/development/guides/owners/teams/02-adding-teams.md +0 -73
- package/dist/docs/development/guides/owners/teams/_category_.json +0 -11
- package/dist/docs/development/guides/owners/users/01-introduction.md +0 -20
- package/dist/docs/development/guides/owners/users/02-adding-users.md +0 -69
- package/dist/docs/development/guides/owners/users/_category_.json +0 -11
- package/dist/docs/development/guides/schemas/01-introduction.md +0 -64
- package/dist/docs/development/guides/services/01-introduction.md +0 -33
- package/dist/docs/development/guides/services/02-adding-services.md +0 -113
- package/dist/docs/development/guides/services/03-creating-external-systems.md +0 -71
- package/dist/docs/development/guides/services/adding-to-services/01-messages.md +0 -229
- package/dist/docs/development/guides/services/adding-to-services/02-datastores.md +0 -77
- package/dist/docs/development/guides/services/adding-to-services/_category_.json +0 -10
- package/dist/docs/development/guides/services/ownership-and-components/_category_.json +0 -11
- package/dist/docs/development/guides/services/versioning-and-lifecycle/_category_.json +0 -11
- /package/dist/docs/development/ask-your-architecture/{04-skills → 05-skills}/01-introduction.md +0 -0
- /package/dist/docs/development/ask-your-architecture/{04-skills → 05-skills}/02-installation.md +0 -0
- /package/dist/docs/development/ask-your-architecture/{05-slack-integration → 06-slack-integration}/01-introduction.md +0 -0
- /package/dist/docs/development/ask-your-architecture/{05-slack-integration → 06-slack-integration}/02-slack-app-setup.md +0 -0
- /package/dist/docs/development/ask-your-architecture/{05-slack-integration → 06-slack-integration}/04-deployment.md +0 -0
- /package/dist/docs/development/ask-your-architecture/{05-slack-integration → 06-slack-integration}/05-usage.md +0 -0
- /package/dist/docs/development/ask-your-architecture/{05-slack-integration → 06-slack-integration}/06-troubleshooting.md +0 -0
- /package/dist/docs/development/guides/{channels → resources/messages/04-message-channels}/09-configuration +0 -0
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_position: 2
|
|
3
|
+
keywords:
|
|
4
|
+
- Code to Docs
|
|
5
|
+
- AI Agents
|
|
6
|
+
- GitHub Action
|
|
7
|
+
- documentation generation
|
|
8
|
+
sidebar_label: Code-to-Docs Agent
|
|
9
|
+
title: Code-to-Docs Agent
|
|
10
|
+
description: Keep your EventCatalog documentation in sync with your code using the Code-to-Docs agent
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
The **Code-to-Docs** agent keeps your EventCatalog documentation in sync with your code.
|
|
14
|
+
|
|
15
|
+
When you open a pull request, the agent reviews the diff, works out which documentation should change, updates it in your catalog repository, and opens (or updates) a documentation pull request. It then comments back on your source pull request with a summary and a link.
|
|
16
|
+
|
|
17
|
+
## How it works
|
|
18
|
+
|
|
19
|
+
```mermaid
|
|
20
|
+
flowchart LR
|
|
21
|
+
PR[Source pull request] --> Agent[Code-to-Docs agent]
|
|
22
|
+
Agent --> Plan{Docs need<br/>updating?}
|
|
23
|
+
Plan -- No --> Comment[Comment on source PR]
|
|
24
|
+
Plan -- Yes --> Docs[Update catalog docs]
|
|
25
|
+
Docs --> CatalogPR[Open catalog pull request]
|
|
26
|
+
CatalogPR --> Comment
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
When a pull request is opened, the agent:
|
|
30
|
+
|
|
31
|
+
1. **Checks out your catalog** so it can see your existing documentation.
|
|
32
|
+
2. **Collects the changed source files** from the pull request.
|
|
33
|
+
3. **Plans the impact**. A read-only pass where the agent decides whether the diff requires any documentation changes, and if so, exactly which catalog resources should change. If nothing is needed, it stops here and says so.
|
|
34
|
+
4. **Applies the plan**. The agent updates the documentation, using EventCatalog conventions for frontmatter and folder structure, and a linter to validate its changes. It is only allowed to touch the resources approved in the plan.
|
|
35
|
+
5. **Opens a catalog pull request** with the changes for you to review.
|
|
36
|
+
6. **Comments on your source pull request** with a high-level summary and a link to the catalog pull request.
|
|
37
|
+
|
|
38
|
+
You stay in control: the agent never edits your catalog silently. Every change arrives as a pull request you can review, tweak, and merge.
|
|
39
|
+
|
|
40
|
+
## Getting started
|
|
41
|
+
|
|
42
|
+
The Code-to-Docs agent runs as a GitHub Action. Add it to your repository in three steps.
|
|
43
|
+
|
|
44
|
+
### 1. Add a new GitHub workflow
|
|
45
|
+
|
|
46
|
+
Create a new workflow in your source directory. Typically this is where your source code lives (e.g a service that publishes/consumes messages).
|
|
47
|
+
|
|
48
|
+
Create a `.github/workflows/eventcatalog.yml` file.
|
|
49
|
+
|
|
50
|
+
```yaml
|
|
51
|
+
on:
|
|
52
|
+
pull_request:
|
|
53
|
+
|
|
54
|
+
jobs:
|
|
55
|
+
eventcatalog:
|
|
56
|
+
runs-on: ubuntu-latest
|
|
57
|
+
permissions:
|
|
58
|
+
contents: read
|
|
59
|
+
issues: write
|
|
60
|
+
pull-requests: write
|
|
61
|
+
steps:
|
|
62
|
+
- uses: actions/checkout@v6
|
|
63
|
+
with:
|
|
64
|
+
fetch-depth: 0
|
|
65
|
+
|
|
66
|
+
- uses: event-catalog/agents@main
|
|
67
|
+
env:
|
|
68
|
+
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
|
|
69
|
+
with:
|
|
70
|
+
agent: code-to-docs
|
|
71
|
+
catalog-repo: your-org/your-catalog
|
|
72
|
+
catalog-token: ${{ secrets.EVENTCATALOG_TOKEN }}
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
`fetch-depth: 0` is required so the agent can diff the pull request against its base.
|
|
76
|
+
|
|
77
|
+
### 2. Add your model provider key
|
|
78
|
+
|
|
79
|
+
Add the API key for your chosen model as a secret in your repository (**Settings → Secrets and variables → Actions**). Use the one that matches your model, for example `ANTHROPIC_API_KEY`, `OPENAI_API_KEY`, or `OPENROUTER_API_KEY`.
|
|
80
|
+
|
|
81
|
+
You can see the list of [available models here](https://pi.dev/models).
|
|
82
|
+
|
|
83
|
+
### 3. Open a pull request
|
|
84
|
+
|
|
85
|
+
When you next open a pull request on your project, the EventCatalog Agent will run.
|
|
86
|
+
|
|
87
|
+
If your architecture changed, opens a documentation pull request in your catalog repository and comments back with a link.
|
|
88
|
+
|
|
89
|
+
## Configuration
|
|
90
|
+
|
|
91
|
+
### Inputs
|
|
92
|
+
|
|
93
|
+
| Input | Required | Default | Description |
|
|
94
|
+
| --- | --- | --- | --- |
|
|
95
|
+
| `catalog-repo` | Yes | | The location of your hosted EventCatalog. EventCatalog repository to document into, in `owner/repo` format. |
|
|
96
|
+
| `catalog-ref` | No | `main` | Branch checked out from the catalog repository and targeted by documentation pull requests. |
|
|
97
|
+
| `catalog-token` | No | `github.token` | Token used to check out the catalog repository and open documentation pull requests. |
|
|
98
|
+
| `model` | No | `anthropic/claude-sonnet-4-6` | Model specifier for the agent. See [available models](https://pi.dev/models). |
|
|
99
|
+
| `ignore-paths` | No | common build/output paths | Comma-separated paths or glob patterns to ignore in pull request diffs. |
|
|
100
|
+
| `agent` | No | `code-to-docs` | Which EventCatalog agent to run. Use `code-to-docs` for this workflow. |
|
|
101
|
+
|
|
102
|
+
### Provider API keys
|
|
103
|
+
|
|
104
|
+
The model provider's API key is passed as a normal workflow environment variable. Set the one that matches your `model`:
|
|
105
|
+
|
|
106
|
+
| Provider | Environment variable |
|
|
107
|
+
| --- | --- |
|
|
108
|
+
| Anthropic | `ANTHROPIC_API_KEY` |
|
|
109
|
+
| OpenAI | `OPENAI_API_KEY` |
|
|
110
|
+
| OpenRouter | `OPENROUTER_API_KEY` |
|
|
111
|
+
|
|
112
|
+
The agent supports models from many providers. See the full list of model specifiers at [pi.dev/models](https://pi.dev/models).
|
|
113
|
+
|
|
114
|
+
### Documenting into a separate catalog repository
|
|
115
|
+
|
|
116
|
+
When your catalog lives in a **different** repository from your source code, provide a `catalog-token` with permission to push branches and open pull requests in that catalog repository (the default `github.token` only has access to the current repository).
|
|
117
|
+
|
|
118
|
+
:::info Early access
|
|
119
|
+
The Code-to-Docs agent is in early access and free to evaluate. In the future, a license will be required to run EventCatalog Agents in production.
|
|
120
|
+
:::
|
|
121
|
+
|
|
122
|
+
## Found an issue or have feedback?
|
|
123
|
+
|
|
124
|
+
The Code-to-Docs agent is open on GitHub at [event-catalog/agents](https://github.com/event-catalog/agents). If you hit a problem, or the agent documents something in a way you didn't expect, [open an issue](https://github.com/event-catalog/agents/issues/new) and let us know. Your feedback during early access directly shapes how the agent works.
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_position: 3
|
|
3
|
+
keywords:
|
|
4
|
+
- Breaking Changes
|
|
5
|
+
- AI Agents
|
|
6
|
+
- GitHub Action
|
|
7
|
+
- schema governance
|
|
8
|
+
- schema compatibility
|
|
9
|
+
sidebar_label: Breaking Changes Agent
|
|
10
|
+
title: Breaking Changes Agent
|
|
11
|
+
description: Detect breaking schema changes and affected EventCatalog consumers from pull requests
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
The **Breaking Changes** agent reviews schema changes in pull requests and reports whether they are likely to break existing consumers.
|
|
15
|
+
|
|
16
|
+
When a pull request changes a message schema, the agent checks whether the diff removes or renames fields, changes types, adds new required fields, narrows enums, or introduces similar compatibility risks. If it finds a breaking change, it traces the schema through your EventCatalog and comments on the source pull request with the breaking lines and affected consumers.
|
|
17
|
+
|
|
18
|
+
The Breaking Changes agent is read-only. It does not edit your catalog or open documentation pull requests.
|
|
19
|
+
|
|
20
|
+

|
|
21
|
+
|
|
22
|
+
## How it works
|
|
23
|
+
|
|
24
|
+
```mermaid
|
|
25
|
+
flowchart LR
|
|
26
|
+
PR[Source pull request] --> Agent[Breaking Changes agent]
|
|
27
|
+
Agent --> Schema{Schema<br/>changed?}
|
|
28
|
+
Schema -- No --> Skip[Nothing to report]
|
|
29
|
+
Schema -- Yes --> Breaking{Breaking<br/>change?}
|
|
30
|
+
Breaking -- No --> Skip
|
|
31
|
+
Breaking -- Yes --> Consumers[Find catalog consumers]
|
|
32
|
+
Consumers --> Comment[Comment on source PR]
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
When a pull request is opened, the agent:
|
|
36
|
+
|
|
37
|
+
1. **Checks out your catalog** so it can understand the existing producers, consumers, messages, schemas, and flows.
|
|
38
|
+
2. **Collects the changed source files** from the pull request.
|
|
39
|
+
3. **Filters to schema files** using the configured schema extensions.
|
|
40
|
+
4. **Scores each schema change** for breaking-change risk. Additive changes, such as adding an optional field, are skipped.
|
|
41
|
+
5. **Finds affected consumers** for each breaking schema change by tracing the message through EventCatalog.
|
|
42
|
+
6. **Comments on your source pull request** with the breaking change, the relevant diff lines, and the consumers that could be affected.
|
|
43
|
+
|
|
44
|
+
If the pull request has no changed schema files, or only non-breaking schema changes, the workflow exits without creating a catalog pull request.
|
|
45
|
+
|
|
46
|
+
## Getting started
|
|
47
|
+
|
|
48
|
+
The Breaking Changes agent runs as a GitHub Action.
|
|
49
|
+
|
|
50
|
+
### 1. Add a new GitHub workflow
|
|
51
|
+
|
|
52
|
+
Create a `.github/workflows/eventcatalog-breaking-changes.yml` file in the repository where your source changes happen.
|
|
53
|
+
|
|
54
|
+
```yaml
|
|
55
|
+
on:
|
|
56
|
+
pull_request:
|
|
57
|
+
|
|
58
|
+
jobs:
|
|
59
|
+
eventcatalog-breaking-changes:
|
|
60
|
+
runs-on: ubuntu-latest
|
|
61
|
+
permissions:
|
|
62
|
+
contents: read
|
|
63
|
+
issues: write
|
|
64
|
+
pull-requests: write
|
|
65
|
+
steps:
|
|
66
|
+
- uses: actions/checkout@v6
|
|
67
|
+
with:
|
|
68
|
+
fetch-depth: 0
|
|
69
|
+
|
|
70
|
+
- uses: event-catalog/agents@main
|
|
71
|
+
env:
|
|
72
|
+
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
|
|
73
|
+
with:
|
|
74
|
+
agent: breaking-changes
|
|
75
|
+
catalog-repo: your-org/your-catalog
|
|
76
|
+
catalog-token: ${{ secrets.EVENTCATALOG_TOKEN }}
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
`fetch-depth: 0` is required so the agent can diff the pull request against its base.
|
|
80
|
+
|
|
81
|
+
### 2. Add your model provider key
|
|
82
|
+
|
|
83
|
+
Add the API key for your chosen model as a secret in your repository (**Settings → Secrets and variables → Actions**). Use the one that matches your model, for example `ANTHROPIC_API_KEY`, `OPENAI_API_KEY`, or `OPENROUTER_API_KEY`.
|
|
84
|
+
|
|
85
|
+
You can see the list of [available models here](https://pi.dev/models).
|
|
86
|
+
|
|
87
|
+
### 3. Open a pull request that changes a schema
|
|
88
|
+
|
|
89
|
+
When a pull request changes a schema, the agent reviews the schema diff. If it finds a breaking change, it comments on the pull request with the affected EventCatalog consumers.
|
|
90
|
+
|
|
91
|
+
## Configuration
|
|
92
|
+
|
|
93
|
+
### Inputs
|
|
94
|
+
|
|
95
|
+
| Input | Required | Default | Description |
|
|
96
|
+
| --- | --- | --- | --- |
|
|
97
|
+
| `agent` | No | `code-to-docs` | Set this to `breaking-changes` to run the Breaking Changes agent. |
|
|
98
|
+
| `catalog-repo` | Yes | | The EventCatalog repository to inspect, in `owner/repo` format. |
|
|
99
|
+
| `catalog-ref` | No | `main` | Branch checked out from the catalog repository. |
|
|
100
|
+
| `catalog-token` | No | `github.token` | Token used to check out the catalog repository. Use a token with read access when the catalog is in another private repository. |
|
|
101
|
+
| `model` | No | `anthropic/claude-sonnet-4-6` | Model specifier for the agent. See [available models](https://pi.dev/models). |
|
|
102
|
+
| `ignore-paths` | No | common build/output paths | Comma-separated paths or glob patterns to ignore in pull request diffs. |
|
|
103
|
+
| `schema-extensions` | No | `.json,.yml,.yaml,.avro,.avsc,.proto,.graphql,.gql` | Comma-separated file extensions the agent treats as message schemas. |
|
|
104
|
+
|
|
105
|
+
### Schema extensions
|
|
106
|
+
|
|
107
|
+
By default, the agent checks common schema files:
|
|
108
|
+
|
|
109
|
+
```yaml
|
|
110
|
+
schema-extensions: .json,.yml,.yaml,.avro,.avsc,.proto,.graphql,.gql
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
If your message contracts live in another file type, add that extension:
|
|
114
|
+
|
|
115
|
+
```yaml
|
|
116
|
+
- uses: event-catalog/agents@main
|
|
117
|
+
env:
|
|
118
|
+
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
|
|
119
|
+
with:
|
|
120
|
+
agent: breaking-changes
|
|
121
|
+
catalog-repo: your-org/your-catalog
|
|
122
|
+
catalog-token: ${{ secrets.EVENTCATALOG_TOKEN }}
|
|
123
|
+
schema-extensions: .json,.yaml,.ts
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
Only add source-code extensions when those files contain message contracts. The agent ignores non-schema files for this workflow.
|
|
127
|
+
|
|
128
|
+
### Provider API keys
|
|
129
|
+
|
|
130
|
+
The model provider's API key is passed as a normal workflow environment variable. Set the one that matches your `model`:
|
|
131
|
+
|
|
132
|
+
| Provider | Environment variable |
|
|
133
|
+
| --- | --- |
|
|
134
|
+
| Anthropic | `ANTHROPIC_API_KEY` |
|
|
135
|
+
| OpenAI | `OPENAI_API_KEY` |
|
|
136
|
+
| OpenRouter | `OPENROUTER_API_KEY` |
|
|
137
|
+
|
|
138
|
+
The agent supports models from many providers. See the full list of model specifiers at [pi.dev/models](https://pi.dev/models).
|
|
139
|
+
|
|
140
|
+
## Run with Code-to-Docs
|
|
141
|
+
|
|
142
|
+
Each Action step runs one EventCatalog agent. To run Breaking Changes and [Code-to-Docs](/docs/development/ask-your-architecture/agents/code-to-docs) on the same pull request, add two steps:
|
|
143
|
+
|
|
144
|
+
```yaml
|
|
145
|
+
- uses: event-catalog/agents@main
|
|
146
|
+
env:
|
|
147
|
+
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
|
|
148
|
+
with:
|
|
149
|
+
agent: breaking-changes
|
|
150
|
+
catalog-repo: your-org/your-catalog
|
|
151
|
+
catalog-token: ${{ secrets.EVENTCATALOG_TOKEN }}
|
|
152
|
+
|
|
153
|
+
- uses: event-catalog/agents@main
|
|
154
|
+
env:
|
|
155
|
+
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
|
|
156
|
+
with:
|
|
157
|
+
agent: code-to-docs
|
|
158
|
+
catalog-repo: your-org/your-catalog
|
|
159
|
+
catalog-token: ${{ secrets.EVENTCATALOG_TOKEN }}
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
Use Breaking Changes when you want pull request feedback about schema compatibility. Use Code-to-Docs when you want catalog documentation updates proposed as a separate pull request.
|
|
163
|
+
|
|
164
|
+
:::info Early access
|
|
165
|
+
The Breaking Changes agent is in early access and free to evaluate. In the future, a license will be required to run EventCatalog Agents in production.
|
|
166
|
+
:::
|
|
167
|
+
|
|
168
|
+
## Found an issue or have feedback?
|
|
169
|
+
|
|
170
|
+
The Breaking Changes agent is open on GitHub at [event-catalog/agents](https://github.com/event-catalog/agents). If you hit a problem, or the agent reports something in a way you didn't expect, [open an issue](https://github.com/event-catalog/agents/issues/new) and let us know. Your feedback during early access directly shapes how the agent works.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"label": "Agents",
|
|
3
|
+
"position": 6,
|
|
4
|
+
"collapsible": true,
|
|
5
|
+
"collapsed": true,
|
|
6
|
+
"link": {
|
|
7
|
+
"type": "generated-index",
|
|
8
|
+
"slug": "/development/ask-your-architecture/agents",
|
|
9
|
+
"title": "EventCatalog Agents",
|
|
10
|
+
"description": "AI agents that help you manage and document your architecture with EventCatalog."
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"label": "Skills",
|
|
3
|
-
"position":
|
|
3
|
+
"position": 7,
|
|
4
4
|
"collapsible": true,
|
|
5
5
|
"collapsed": true,
|
|
6
6
|
"link": {
|
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
"slug": "/development/ask-your-architecture/skills",
|
|
9
9
|
"description": "Pre-built AI skills for generating EventCatalog documentation"
|
|
10
10
|
}
|
|
11
|
-
}
|
|
11
|
+
}
|
|
@@ -164,6 +164,6 @@ ai: {
|
|
|
164
164
|
|
|
165
165
|
## License key
|
|
166
166
|
|
|
167
|
-
Get your EventCatalog Scale license key from [eventcatalog.cloud](https://eventcatalog.cloud). A
|
|
167
|
+
Get your EventCatalog Scale license key from [eventcatalog.cloud](https://eventcatalog.cloud). A 30-day free trial is available.
|
|
168
168
|
|
|
169
169
|
The license key must be set as the `EVENTCATALOG_SCALE_LICENSE_KEY` environment variable.
|
|
@@ -8,11 +8,11 @@ description: Introduction to EventCatalog Authentication
|
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
import AddedIn from '@site/src/components/MDX/AddedIn';
|
|
11
|
-
import
|
|
11
|
+
import PlanBanner from '@site/src/components/MDX/PlanBanner';
|
|
12
12
|
|
|
13
13
|
# Authentication Guide
|
|
14
14
|
|
|
15
|
-
<
|
|
15
|
+
<PlanBanner plan="Scale" />
|
|
16
16
|
<AddedIn version="2.43.0" />
|
|
17
17
|
|
|
18
18
|
|
|
@@ -67,7 +67,7 @@ Designed for large organizations with dedicated identity management systems:
|
|
|
67
67
|
|
|
68
68
|
Ready to secure your EventCatalog with authentication?
|
|
69
69
|
|
|
70
|
-
**New to EventCatalog?** Start your **
|
|
70
|
+
**New to EventCatalog?** Start your **30-day free trial** at [EventCatalog.cloud](https://eventcatalog.cloud) to explore all authentication features.
|
|
71
71
|
|
|
72
72
|
## Next steps
|
|
73
73
|
|
|
@@ -23,7 +23,7 @@ To enable authentication for your site, you will need to do three things:
|
|
|
23
23
|
:::info Authentication is a paid feature
|
|
24
24
|
Authentication is a paid feature, and is available on EventCatalog Scale and Enterprise plans.
|
|
25
25
|
|
|
26
|
-
You can get a
|
|
26
|
+
You can get a 30-day free trial of EventCatalog Scale and Enterprise [here](https://www.eventcatalog.dev/pricing).
|
|
27
27
|
|
|
28
28
|
You will need to set your license key in your `.env` file.
|
|
29
29
|
|
|
@@ -44,7 +44,7 @@ This is the only strictly required environment variable. It is the secret used t
|
|
|
44
44
|
AUTH_SECRET=your-secret
|
|
45
45
|
```
|
|
46
46
|
|
|
47
|
-
#### AUTH_TRUST_HOST
|
|
47
|
+
#### AUTH_TRUST_HOST {#auth_trust_host}
|
|
48
48
|
|
|
49
49
|
When running EventCatalog behind a reverse proxy (Kubernetes/AKS, Nginx, Cloudflare, AWS ALB, etc.), you must set `AUTH_TRUST_HOST=true`. Without it, Auth.js falls back to the internal container URL (e.g. `http://localhost:3000`) instead of the real domain, which causes login and sign-out to fail with CSRF/cross-site errors such as "Cross-site POST form submissions are forbidden".
|
|
50
50
|
|
|
@@ -8,7 +8,6 @@ description: Setting up GitHub authentication for EventCatalog
|
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
import AddedIn from '@site/src/components/MDX/AddedIn';
|
|
11
|
-
import EventCatalogPro from '@site/src/components/MDX/EventCatalogPro';
|
|
12
11
|
import PlanBanner from '@site/src/components/MDX/PlanBanner';
|
|
13
12
|
|
|
14
13
|
<AddedIn version="2.43.0" />
|
|
@@ -73,6 +72,31 @@ All pages should now be protected and require a GitHub account to access.
|
|
|
73
72
|
|
|
74
73
|

|
|
75
74
|
|
|
75
|
+
## Running behind a reverse proxy (`redirectProxyUrl`)
|
|
76
|
+
|
|
77
|
+
When running behind a reverse proxy or load balancer (Kubernetes/AKS, Nginx, Cloudflare, AWS ALB/ECS, etc.), GitHub sign-in can break with:
|
|
78
|
+
|
|
79
|
+
> The redirect_uri is not associated with this application.
|
|
80
|
+
|
|
81
|
+
This happens when the OAuth `redirect_uri` ends up as `http://` (or an internal host) instead of your real `https://` URL, because the proxy terminates TLS and forwards the request internally. You may also see `InvalidCheck: pkceCodeVerifier value could not be parsed` in your logs from the same wrong base URL.
|
|
82
|
+
|
|
83
|
+
[`AUTH_TRUST_HOST=true`](/docs/development/authentication/enabling-authentication#auth_trust_host) fixes this for most setups. If your proxy doesn't reliably forward the `x-forwarded-host` / `x-forwarded-proto` headers, set `redirectProxyUrl` to your canonical public URL to force the correct callback:
|
|
84
|
+
|
|
85
|
+
```js title="eventcatalog.auth.js"
|
|
86
|
+
export default {
|
|
87
|
+
providers: {
|
|
88
|
+
github: {
|
|
89
|
+
clientId: process.env.AUTH_GITHUB_CLIENT_ID,
|
|
90
|
+
clientSecret: process.env.AUTH_GITHUB_CLIENT_SECRET,
|
|
91
|
+
// Canonical public URL of your site, including /api/auth
|
|
92
|
+
redirectProxyUrl: 'https://catalog.example.com/api/auth',
|
|
93
|
+
},
|
|
94
|
+
},
|
|
95
|
+
};
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
The host must match the **Authorization callback URL** on your GitHub OAuth app (`https://catalog.example.com/api/auth/callback/github`). Not needed on Vercel, Cloudflare Pages, or local dev. See the [Auth.js reference](https://authjs.dev/reference/core#redirectproxyurl) for more.
|
|
99
|
+
|
|
76
100
|
## Found an issue?
|
|
77
101
|
|
|
78
102
|
Remember to setup the prerequisites for this guide:
|
|
@@ -7,44 +7,48 @@ title: Bring your own documentation
|
|
|
7
7
|
description: Bring your own documentation to EventCatalog
|
|
8
8
|
---
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
import PlanBanner from '@site/src/components/MDX/PlanBanner';
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
<PlanBanner plan="Scale" />
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
EventCatalog lets you bring your own documentation and diagrams into your catalog.
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
- Infrastructure & operations runbooks
|
|
18
|
-
- CI/CD documentation
|
|
19
|
-
- User journeys
|
|
20
|
-
- API documentation
|
|
21
|
-
- Technical debt tracking
|
|
22
|
-
- Team processes
|
|
23
|
-
- Onboarding information
|
|
24
|
-
- Best practices & standards
|
|
16
|
+
This is useful when your documentation is spread across multiple repositories, project folders, wikis, or internal tools. You can bring that context into EventCatalog and make it part of the same experience people already use to explore your architecture.
|
|
25
17
|
|
|
26
|
-
|
|
18
|
+
You can document anything that helps your teams understand, operate, and govern your systems, including:
|
|
27
19
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
20
|
+
- Team onboarding documentation
|
|
21
|
+
- Best practices and engineering standards
|
|
22
|
+
- Runbooks and operational guides
|
|
23
|
+
- CI/CD and deployment documentation
|
|
24
|
+
- User journeys and business processes
|
|
25
|
+
- Technical debt and migration notes
|
|
26
|
+
|
|
27
|
+
EventCatalog has a few ways to bring your own information to your catalog:
|
|
28
|
+
|
|
29
|
+
1. [High level documentation](#high-level-documentation)
|
|
30
|
+
- for catalog-wide knowledge that is not tied to one specific resource
|
|
31
|
+
1. [Resource-level documentation](#resource-level-documentation)
|
|
32
|
+
- for documentation attached to a specific domain, service, event, API, or other catalog resource
|
|
33
|
+
1. [Diagrams](/docs/development/bring-your-own-documentation/diagrams/introduction)
|
|
34
|
+
- bring your own diagrams (e.g Miro, DrawIO, Mermaid) to your catalog.
|
|
32
35
|
|
|
33
36
|
---
|
|
34
37
|
|
|
35
|
-
###
|
|
38
|
+
### High level documentation
|
|
39
|
+
|
|
40
|
+
High level documentation is for top-level knowledge that should live in your catalog but does not belong to one specific resource.
|
|
36
41
|
|
|
37
|
-
|
|
38
|
-
You can bring your own documentation to your catalog and have your own documentation section (/docs/custom/) regardless of EventCatalog resources.
|
|
42
|
+
Use high level documentation for things like engineering standards, onboarding guides, architecture principles, platform runbooks, team processes, or shared API guidance. These pages appear in your catalog's documentation area and can be organized independently from your domains, services, and events.
|
|
39
43
|
|
|
40
|
-
[Read the
|
|
44
|
+
[Read the high level documentation guide](/docs/development/bring-your-own-documentation/custom-pages/introduction).
|
|
41
45
|
|
|
42
46
|
### Resource-level documentation
|
|
43
47
|
|
|
44
|
-
Resource-level documentation
|
|
48
|
+
Resource-level documentation is for knowledge that belongs with a specific EventCatalog resource.
|
|
45
49
|
|
|
46
|
-
|
|
50
|
+
Use resource-level documentation when the context should appear next to the thing it describes. For example, you can attach service runbooks to a service, onboarding material to a domain, operational notes to a system, or extra API documentation to an API.
|
|
47
51
|
|
|
48
|
-
EventCatalog
|
|
52
|
+
EventCatalog renders this documentation alongside the resource, so readers can move between the resource overview and its supporting documentation without leaving the catalog.
|
|
49
53
|
|
|
50
|
-
[Read the resource
|
|
54
|
+
[Read the resource-level documentation guide](/docs/development/bring-your-own-documentation/resource-docs/introduction).
|
|
@@ -8,14 +8,16 @@ description: Customize documentation in EventCatalog
|
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
import AddedIn from '@site/src/components/MDX/AddedIn';
|
|
11
|
+
import PlanBanner from '@site/src/components/MDX/PlanBanner';
|
|
11
12
|
|
|
12
13
|
<AddedIn version="2.33.0" />
|
|
14
|
+
<PlanBanner plan="Scale" />
|
|
13
15
|
|
|
14
16
|
<iframe width="100%" height="415" src="https://www.youtube.com/embed/auzmEf0AdJg?si=wHe-3X6b6uLN39sB" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
|
|
15
17
|
|
|
16
18
|
---
|
|
17
19
|
|
|
18
|
-
|
|
20
|
+
High level documentation is a way to add catalog-wide custom documentation pages to your catalog.
|
|
19
21
|
|
|
20
22
|
This can be a great way to extend your catalog beyond what is provided, and bring your own documentation to EventCatalog, rather than having documentation spread across multiple tools.
|
|
21
23
|
|
|
@@ -23,9 +25,8 @@ This can be a great way to extend your catalog beyond what is provided, and brin
|
|
|
23
25
|

|
|
24
26
|
<a class="block" href="https://demo.eventcatalog.dev/docs/custom/technical-architecture-design/architecture-decision-records/published/01-api-gateway-pattern">View demo</a>
|
|
25
27
|
|
|
26
|
-
|
|
28
|
+
High level documentation is not limited, here are some examples of what you can do:
|
|
27
29
|
|
|
28
|
-
- Document architecture decision records
|
|
29
30
|
- Document infrastructure & operations
|
|
30
31
|
- Document CI/CD pipelines
|
|
31
32
|
- Document user journeys
|
|
@@ -38,23 +39,23 @@ Global documentation is not limited, here are some examples of what you can do:
|
|
|
38
39
|
|
|
39
40
|
It's really up to you what you add here.
|
|
40
41
|
|
|
41
|
-
### How
|
|
42
|
+
### How high level documentation can help
|
|
42
43
|
|
|
43
44
|
EventCatalog provides the ability to document your architecture with domains, services and messages.
|
|
44
45
|
|
|
45
46
|
Users still have third party tools to document other parts of their architecture (e.g confluence, Google docs, etc), so this is an option to help you keep all your documentation in one place.
|
|
46
47
|
|
|
47
|
-
### What can I do with
|
|
48
|
+
### What can I do with high level documentation in EventCatalog?
|
|
48
49
|
|
|
49
50
|
You can add any custom documentation to your catalog, this also gives you access to the [EventCatalog components](/docs/components).
|
|
50
51
|
Your custom documentation is powered by markdown, meaning you can use EventCatalog components within your documentation.
|
|
51
52
|
|
|
52
|
-
### Roadmap for
|
|
53
|
+
### Roadmap for high level documentation
|
|
53
54
|
|
|
54
|
-
This is the initial version of
|
|
55
|
+
This is the initial version of high level documentation in EventCatalog.
|
|
55
56
|
|
|
56
57
|
We plan to add the following features:
|
|
57
58
|
|
|
58
59
|
- Add support to embed EventCatalog visualizations into your documentation pages
|
|
59
60
|
- Embed EventCatalog resources into your custom documentation pages
|
|
60
|
-
- Add ability to add runtime blocks into your pages (e.g making requests to get third party data to display)
|
|
61
|
+
- Add ability to add runtime blocks into your pages (e.g making requests to get third party data to display)
|