@contractspec/bundle.library 3.8.9 → 3.8.11
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/.turbo/turbo-build.log +606 -594
- package/CHANGELOG.md +68 -0
- package/dist/application/context-storage/index.js +1 -28
- package/dist/application/index.js +13 -2133
- package/dist/application/mcp/cliMcp.js +4 -452
- package/dist/application/mcp/common.js +1 -193
- package/dist/application/mcp/contractsMcp.js +2 -549
- package/dist/application/mcp/contractsMcpResources.js +2 -123
- package/dist/application/mcp/contractsMcpTools.js +1 -199
- package/dist/application/mcp/docsMcp.catalog.js +3 -381
- package/dist/application/mcp/docsMcp.data.js +1 -147
- package/dist/application/mcp/docsMcp.js +6 -1039
- package/dist/application/mcp/docsMcp.prompts.js +6 -521
- package/dist/application/mcp/docsMcp.reference.js +3 -235
- package/dist/application/mcp/docsMcp.resources.js +3 -519
- package/dist/application/mcp/docsMcp.tools.js +3 -518
- package/dist/application/mcp/index.js +13 -2106
- package/dist/application/mcp/internalMcp.js +2 -410
- package/dist/application/mcp/normalizeMcpRequest.js +1 -21
- package/dist/application/mcp/providerRankingMcp.js +1 -530
- package/dist/bundles/LibraryBundle.js +1 -138
- package/dist/bundles/index.js +1 -138
- package/dist/components/docs/DocsIndexPage.js +2 -912
- package/dist/components/docs/advanced/AdvancedMCPPage.js +4 -271
- package/dist/components/docs/advanced/AdvancedOverlayEditorPage.js +1 -107
- package/dist/components/docs/advanced/AdvancedRenderersPage.js +2 -118
- package/dist/components/docs/advanced/AdvancedSpecExperimentsPage.js +4 -92
- package/dist/components/docs/advanced/AdvancedTelemetryPage.js +2 -373
- package/dist/components/docs/advanced/AdvancedWorkflowMonitoringPage.js +2 -99
- package/dist/components/docs/advanced/index.js +10 -1055
- package/dist/components/docs/architecture/ArchitectureAppConfigPage.js +6 -243
- package/dist/components/docs/architecture/ArchitectureControlPlanePage.js +3 -160
- package/dist/components/docs/architecture/ArchitectureIntegrationBindingPage.js +7 -259
- package/dist/components/docs/architecture/ArchitectureKnowledgeBindingPage.js +6 -374
- package/dist/components/docs/architecture/ArchitectureMultiTenancyPage.js +2 -166
- package/dist/components/docs/architecture/ArchitectureOverviewPage.js +1 -143
- package/dist/components/docs/architecture/index.js +20 -1340
- package/dist/components/docs/comparison/ComparisonAutomationPlatformsPage.js +1 -245
- package/dist/components/docs/comparison/ComparisonEnterprisePlatformsPage.js +1 -230
- package/dist/components/docs/comparison/ComparisonInternalToolBuildersPage.js +1 -245
- package/dist/components/docs/comparison/ComparisonOverviewPage.js +1 -202
- package/dist/components/docs/comparison/ComparisonWindmillPage.js +1 -254
- package/dist/components/docs/comparison/ComparisonWorkflowEnginesPage.js +1 -339
- package/dist/components/docs/comparison/index.js +1 -1510
- package/dist/components/docs/docsManifest.js +1 -611
- package/dist/components/docs/docsManifest.test.d.ts +1 -0
- package/dist/components/docs/ecosystem/IntegrationsPage.js +2 -103
- package/dist/components/docs/ecosystem/PluginsPage.js +13 -179
- package/dist/components/docs/ecosystem/RegistryPage.js +7 -100
- package/dist/components/docs/ecosystem/TemplatesPage.js +3 -141
- package/dist/components/docs/ecosystem/ecosystem.docblocks.js +2 -48
- package/dist/components/docs/ecosystem/index.js +23 -569
- package/dist/components/docs/examples/DocsExamplesPage.js +4 -124
- package/dist/components/docs/examples/ExampleShowcasePage.js +4 -244
- package/dist/components/docs/examples/exampleShowcaseData.js +4 -39
- package/dist/components/docs/examples/index.js +4 -330
- package/dist/components/docs/generated/docs-index.generated.js +1 -5
- package/dist/components/docs/generated/index.js +1 -74
- package/dist/components/docs/generated/loader.js +1 -74
- package/dist/components/docs/getting-started/CLIPage.js +4 -271
- package/dist/components/docs/getting-started/CompatibilityPage.js +1 -173
- package/dist/components/docs/getting-started/DataViewTutorialPage.js +4 -134
- package/dist/components/docs/getting-started/DeveloperToolsPage.js +1 -194
- package/dist/components/docs/getting-started/HelloWorldPage.js +5 -183
- package/dist/components/docs/getting-started/InstallationPage.js +3 -154
- package/dist/components/docs/getting-started/StartHerePage.js +2 -129
- package/dist/components/docs/getting-started/TroubleshootingPage.js +2 -168
- package/dist/components/docs/getting-started/VSCodeExtensionPage.js +1 -432
- package/dist/components/docs/getting-started/getting-started.docblocks.js +4 -41
- package/dist/components/docs/getting-started/index.js +18 -1869
- package/dist/components/docs/guides/GuideCIDiffGatingPage.js +2 -196
- package/dist/components/docs/guides/GuideConnectInRepoPage.d.ts +1 -0
- package/dist/components/docs/guides/GuideConnectInRepoPage.js +44 -0
- package/dist/components/docs/guides/GuideContractTypesPage.js +6 -541
- package/dist/components/docs/guides/GuideDocsPipelinePage.js +3 -207
- package/dist/components/docs/guides/GuideFirstModuleBundlePage.d.ts +1 -0
- package/dist/components/docs/guides/GuideFirstModuleBundlePage.js +76 -0
- package/dist/components/docs/guides/GuideGenerateDocsClientsSchemasPage.js +2 -209
- package/dist/components/docs/guides/GuideHostBuilderWorkbenchPage.d.ts +1 -0
- package/dist/components/docs/guides/GuideHostBuilderWorkbenchPage.js +70 -0
- package/dist/components/docs/guides/GuideImportExistingCodebasesPage.js +8 -754
- package/dist/components/docs/guides/GuideNextjsOneEndpointPage.js +6 -268
- package/dist/components/docs/guides/GuideSpecValidationTypingPage.js +4 -196
- package/dist/components/docs/guides/GuidesIndexPage.js +2 -169
- package/dist/components/docs/guides/guides.docblocks.js +11 -75
- package/dist/components/docs/guides/index.d.ts +3 -0
- package/dist/components/docs/guides/index.js +213 -2428
- package/dist/components/docs/index.js +542 -24297
- package/dist/components/docs/integrations/IntegrationsCircuitBreakersPage.js +2 -42
- package/dist/components/docs/integrations/IntegrationsElevenLabsPage.js +3 -105
- package/dist/components/docs/integrations/IntegrationsGithubPage.js +3 -142
- package/dist/components/docs/integrations/IntegrationsGmailPage.js +3 -109
- package/dist/components/docs/integrations/IntegrationsGoogleCalendarPage.js +3 -79
- package/dist/components/docs/integrations/IntegrationsHealthRoutingPage.js +3 -146
- package/dist/components/docs/integrations/IntegrationsMistralPage.js +5 -150
- package/dist/components/docs/integrations/IntegrationsOpenAIPage.js +5 -140
- package/dist/components/docs/integrations/IntegrationsOverviewPage.js +1 -160
- package/dist/components/docs/integrations/IntegrationsPostmarkPage.js +4 -218
- package/dist/components/docs/integrations/IntegrationsPowensPage.js +4 -300
- package/dist/components/docs/integrations/IntegrationsQdrantPage.js +5 -111
- package/dist/components/docs/integrations/IntegrationsResendPage.js +3 -102
- package/dist/components/docs/integrations/IntegrationsS3Page.js +4 -124
- package/dist/components/docs/integrations/IntegrationsSlackPage.js +3 -144
- package/dist/components/docs/integrations/IntegrationsSpecModelPage.js +7 -290
- package/dist/components/docs/integrations/IntegrationsStripePage.js +6 -327
- package/dist/components/docs/integrations/IntegrationsTwilioPage.js +3 -128
- package/dist/components/docs/integrations/IntegrationsWhatsappMetaPage.js +2 -146
- package/dist/components/docs/integrations/IntegrationsWhatsappTwilioPage.js +2 -156
- package/dist/components/docs/integrations/index.js +52 -3100
- package/dist/components/docs/intent/ContractFirstApiPage.js +2 -126
- package/dist/components/docs/intent/DeterministicCodegenPage.js +2 -148
- package/dist/components/docs/intent/GenerateClientFromSchemaPage.js +7 -207
- package/dist/components/docs/intent/OpenapiAlternativePage.js +3 -201
- package/dist/components/docs/intent/SchemaValidationTypescriptPage.js +4 -144
- package/dist/components/docs/intent/SpecDrivenDevelopmentPage.js +2 -126
- package/dist/components/docs/intent/index.js +15 -1135
- package/dist/components/docs/intent/intent-pages.docblocks.js +1 -201
- package/dist/components/docs/knowledge/KnowledgeCategoriesPage.js +6 -750
- package/dist/components/docs/knowledge/KnowledgeExamplesPage.js +4 -175
- package/dist/components/docs/knowledge/KnowledgeOverviewPage.js +1 -116
- package/dist/components/docs/knowledge/KnowledgeSourcesPage.js +8 -391
- package/dist/components/docs/knowledge/KnowledgeSpacesPage.js +6 -302
- package/dist/components/docs/knowledge/index.js +21 -1730
- package/dist/components/docs/libraries/LibrariesAccessibilityPage.js +3 -198
- package/dist/components/docs/libraries/LibrariesAiAgentPage.js +3 -141
- package/dist/components/docs/libraries/LibrariesAnalyticsPage.js +4 -80
- package/dist/components/docs/libraries/LibrariesContentGenPage.js +2 -100
- package/dist/components/docs/libraries/LibrariesContractsPage.js +2 -284
- package/dist/components/docs/libraries/LibrariesCostTrackingPage.js +3 -112
- package/dist/components/docs/libraries/LibrariesDataBackendPage.js +2 -166
- package/dist/components/docs/libraries/LibrariesDataViewsPage.js +3 -186
- package/dist/components/docs/libraries/LibrariesDesignSystemPage.js +4 -279
- package/dist/components/docs/libraries/LibrariesEvolutionPage.js +4 -127
- package/dist/components/docs/libraries/LibrariesGraphQLPage.js +2 -173
- package/dist/components/docs/libraries/LibrariesGrowthPage.js +3 -88
- package/dist/components/docs/libraries/LibrariesMultiTenancyPage.js +3 -108
- package/dist/components/docs/libraries/LibrariesObservabilityPage.js +5 -130
- package/dist/components/docs/libraries/LibrariesOverlayEnginePage.js +4 -110
- package/dist/components/docs/libraries/LibrariesOverviewPage.js +1 -170
- package/dist/components/docs/libraries/LibrariesPersonalizationPage.js +4 -114
- package/dist/components/docs/libraries/LibrariesProgressiveDeliveryPage.js +3 -132
- package/dist/components/docs/libraries/LibrariesResiliencePage.js +4 -120
- package/dist/components/docs/libraries/LibrariesRuntimePage.js +2 -200
- package/dist/components/docs/libraries/LibrariesSLOPage.js +3 -116
- package/dist/components/docs/libraries/LibrariesSchemaPage.js +3 -273
- package/dist/components/docs/libraries/LibrariesSupportBotPage.js +3 -134
- package/dist/components/docs/libraries/LibrariesTestingPage.js +3 -133
- package/dist/components/docs/libraries/LibrariesUIKitPage.js +2 -230
- package/dist/components/docs/libraries/LibrariesWorkflowComposerPage.js +3 -88
- package/dist/components/docs/libraries/LibrariesWorkflowsPage.js +2 -181
- package/dist/components/docs/libraries/index.js +54 -4147
- package/dist/components/docs/manifesto/ManifestoPage.js +1 -86
- package/dist/components/docs/ops/AutoEvolutionOpsPage.js +2 -132
- package/dist/components/docs/ops/DistributedTracingOpsPage.js +2 -71
- package/dist/components/docs/ops/index.js +3 -202
- package/dist/components/docs/ops/ops-lifecycle.docblocks.js +3 -38
- package/dist/components/docs/ops/ops-runbooks-a.docblocks.js +3 -94
- package/dist/components/docs/ops/ops-runbooks-b.docblocks.js +3 -76
- package/dist/components/docs/ops/ops-slo-tenant.docblocks.js +3 -76
- package/dist/components/docs/ops/ops-top.docs.js +2 -17
- package/dist/components/docs/ops/ops.docs.js +10 -302
- package/dist/components/docs/product/product.docblocks.js +5 -72
- package/dist/components/docs/reference/DocsMarkdownContent.js +2 -196
- package/dist/components/docs/reference/DocsReferenceContent.js +3 -256
- package/dist/components/docs/reference/DocsReferenceIndexClient.js +2 -127
- package/dist/components/docs/reference/DocsReferenceIndexPage.js +2 -206
- package/dist/components/docs/reference/DocsReferencePage.js +3 -265
- package/dist/components/docs/reference/docsMarkdownParser.js +2 -92
- package/dist/components/docs/reference/index.js +4 -470
- package/dist/components/docs/safety/SafetyAuditingPage.js +2 -350
- package/dist/components/docs/safety/SafetyMigrationsPage.js +2 -359
- package/dist/components/docs/safety/SafetyOverviewPage.js +1 -101
- package/dist/components/docs/safety/SafetyPDPPage.js +2 -301
- package/dist/components/docs/safety/SafetySecurityTrustPage.js +1 -206
- package/dist/components/docs/safety/SafetySigningPage.js +3 -90
- package/dist/components/docs/safety/SafetyTenantIsolationPage.js +2 -79
- package/dist/components/docs/safety/index.js +7 -1480
- package/dist/components/docs/shared/StudioPrompt.js +1 -31
- package/dist/components/docs/specs/SpecsBuilderControlPlanePage.d.ts +1 -0
- package/dist/components/docs/specs/SpecsBuilderControlPlanePage.js +34 -0
- package/dist/components/docs/specs/SpecsCapabilitiesPage.js +2 -158
- package/dist/components/docs/specs/SpecsConnectPage.d.ts +1 -0
- package/dist/components/docs/specs/SpecsConnectPage.js +8 -0
- package/dist/components/docs/specs/SpecsDataViewsPage.js +2 -260
- package/dist/components/docs/specs/SpecsModuleBundlesPage.d.ts +1 -0
- package/dist/components/docs/specs/SpecsModuleBundlesPage.js +67 -0
- package/dist/components/docs/specs/SpecsOverlaysPage.js +2 -372
- package/dist/components/docs/specs/SpecsOverviewPage.js +1 -186
- package/dist/components/docs/specs/SpecsPolicyPage.js +3 -420
- package/dist/components/docs/specs/SpecsWorkflowsPage.js +2 -312
- package/dist/components/docs/specs/index.d.ts +3 -0
- package/dist/components/docs/specs/index.js +109 -1702
- package/dist/components/docs/studio/StudioBYOKPage.js +1 -26
- package/dist/components/docs/studio/StudioDeploymentsPage.js +1 -26
- package/dist/components/docs/studio/StudioGettingStartedPage.js +1 -26
- package/dist/components/docs/studio/StudioIntegrationsPage.js +1 -26
- package/dist/components/docs/studio/StudioOverviewPage.js +1 -157
- package/dist/components/docs/studio/StudioVisualBuilderPage.js +1 -26
- package/dist/components/docs/studio/index.js +1 -282
- package/dist/components/docs/tech/contracts/tech-docs.docblocks.js +2 -19
- package/dist/components/integrations/index.js +2 -600
- package/dist/components/integrations/molecules/IntegrationCard.js +1 -100
- package/dist/components/integrations/organisms/IntegrationMarketplace.js +1 -214
- package/dist/components/integrations/organisms/IntegrationSettings.js +2 -284
- package/dist/components/integrations/organisms/KnowledgeSourceList.js +1 -103
- package/dist/components/legal/PrivacyTemplate.js +1 -1025
- package/dist/components/legal/TermsTemplate.js +1 -941
- package/dist/components/legal/index.js +1 -1963
- package/dist/components/shared/FeatureGateNotice.js +1 -38
- package/dist/components/shared/index.js +1 -38
- package/dist/components/shell/WorkspaceHeader.js +1 -100
- package/dist/components/shell/WorkspaceProjectShellLayout.js +1 -222
- package/dist/components/shell/WorkspaceShellRenderer.js +1 -228
- package/dist/components/shell/WorkspaceSidebar.js +1 -68
- package/dist/components/shell/index.js +1 -287
- package/dist/components/templates/engine/index.js +1 -39
- package/dist/components/templates/index.js +11 -965
- package/dist/components/templates/messaging/ConversationList.js +2 -83
- package/dist/components/templates/messaging/MessageComposer.js +4 -150
- package/dist/components/templates/messaging/MessageThread.js +3 -83
- package/dist/components/templates/messaging/MessagingWorkspace.js +5 -265
- package/dist/components/templates/messaging/index.js +5 -269
- package/dist/components/templates/recipes/LanguageSwitcher.js +1 -16
- package/dist/components/templates/recipes/RecipeCard.js +1 -80
- package/dist/components/templates/recipes/RecipeDetail.js +1 -74
- package/dist/components/templates/recipes/RecipeList.js +3 -245
- package/dist/components/templates/recipes/index.js +3 -248
- package/dist/components/templates/todos/FilterBar.js +1 -107
- package/dist/components/templates/todos/TaskForm.js +2 -158
- package/dist/components/templates/todos/TaskItem.js +1 -77
- package/dist/components/templates/todos/TaskList.js +5 -449
- package/dist/components/templates/todos/index.js +5 -452
- package/dist/config/contractspec-blueprint.js +1 -123
- package/dist/config/contractspec-branding.js +1 -44
- package/dist/config/contractspec-routes.js +1 -24
- package/dist/config/index.js +1 -126
- package/dist/features/contracts-registry.js +1 -178
- package/dist/features/docs/docs.contracts.js +1 -17
- package/dist/features/docs/index.js +1 -17
- package/dist/features/docs.feature.js +1 -33
- package/dist/features/index.js +1 -315
- package/dist/features/mcp.feature.js +1 -30
- package/dist/features/presentations.feature.js +1 -33
- package/dist/features/registry.js +1 -116
- package/dist/index.js +556 -28580
- package/dist/infrastructure/elysia/index.js +1 -35
- package/dist/infrastructure/elysia/logger.js +1 -35
- package/dist/infrastructure/index.js +1 -35
- package/dist/libs/email/client.js +1 -114
- package/dist/libs/email/contact.js +12 -165
- package/dist/libs/email/newsletter.js +6 -167
- package/dist/libs/email/types.js +0 -2
- package/dist/libs/email/utils.js +2 -8
- package/dist/libs/email/waitlist-application.js +28 -209
- package/dist/libs/email/waitlist.js +6 -167
- package/dist/libs/email.js +46 -363
- package/dist/libs/posthog/client.js +1 -63
- package/dist/libs/posthog/native.js +1 -23
- package/dist/libs/posthog/server.js +1 -13
- package/dist/libs/pricing-examples.js +1 -18
- package/dist/node/application/context-storage/index.js +1 -28
- package/dist/node/application/index.js +13 -2133
- package/dist/node/application/mcp/cliMcp.js +4 -452
- package/dist/node/application/mcp/common.js +1 -193
- package/dist/node/application/mcp/contractsMcp.js +2 -549
- package/dist/node/application/mcp/contractsMcpResources.js +2 -123
- package/dist/node/application/mcp/contractsMcpTools.js +1 -199
- package/dist/node/application/mcp/docsMcp.catalog.js +3 -381
- package/dist/node/application/mcp/docsMcp.data.js +1 -147
- package/dist/node/application/mcp/docsMcp.js +6 -1039
- package/dist/node/application/mcp/docsMcp.prompts.js +6 -521
- package/dist/node/application/mcp/docsMcp.reference.js +3 -235
- package/dist/node/application/mcp/docsMcp.resources.js +3 -519
- package/dist/node/application/mcp/docsMcp.tools.js +3 -518
- package/dist/node/application/mcp/index.js +13 -2106
- package/dist/node/application/mcp/internalMcp.js +2 -410
- package/dist/node/application/mcp/normalizeMcpRequest.js +1 -21
- package/dist/node/application/mcp/providerRankingMcp.js +1 -530
- package/dist/node/bundles/LibraryBundle.js +1 -138
- package/dist/node/bundles/index.js +1 -138
- package/dist/node/components/docs/DocsIndexPage.js +2 -912
- package/dist/node/components/docs/advanced/AdvancedMCPPage.js +4 -271
- package/dist/node/components/docs/advanced/AdvancedOverlayEditorPage.js +1 -107
- package/dist/node/components/docs/advanced/AdvancedRenderersPage.js +2 -118
- package/dist/node/components/docs/advanced/AdvancedSpecExperimentsPage.js +4 -92
- package/dist/node/components/docs/advanced/AdvancedTelemetryPage.js +2 -373
- package/dist/node/components/docs/advanced/AdvancedWorkflowMonitoringPage.js +2 -99
- package/dist/node/components/docs/advanced/index.js +10 -1055
- package/dist/node/components/docs/architecture/ArchitectureAppConfigPage.js +6 -243
- package/dist/node/components/docs/architecture/ArchitectureControlPlanePage.js +3 -160
- package/dist/node/components/docs/architecture/ArchitectureIntegrationBindingPage.js +7 -259
- package/dist/node/components/docs/architecture/ArchitectureKnowledgeBindingPage.js +6 -374
- package/dist/node/components/docs/architecture/ArchitectureMultiTenancyPage.js +2 -166
- package/dist/node/components/docs/architecture/ArchitectureOverviewPage.js +1 -143
- package/dist/node/components/docs/architecture/index.js +20 -1340
- package/dist/node/components/docs/comparison/ComparisonAutomationPlatformsPage.js +1 -245
- package/dist/node/components/docs/comparison/ComparisonEnterprisePlatformsPage.js +1 -230
- package/dist/node/components/docs/comparison/ComparisonInternalToolBuildersPage.js +1 -245
- package/dist/node/components/docs/comparison/ComparisonOverviewPage.js +1 -202
- package/dist/node/components/docs/comparison/ComparisonWindmillPage.js +1 -254
- package/dist/node/components/docs/comparison/ComparisonWorkflowEnginesPage.js +1 -339
- package/dist/node/components/docs/comparison/index.js +1 -1510
- package/dist/node/components/docs/docsManifest.js +1 -611
- package/dist/node/components/docs/ecosystem/IntegrationsPage.js +2 -103
- package/dist/node/components/docs/ecosystem/PluginsPage.js +13 -179
- package/dist/node/components/docs/ecosystem/RegistryPage.js +7 -100
- package/dist/node/components/docs/ecosystem/TemplatesPage.js +3 -141
- package/dist/node/components/docs/ecosystem/ecosystem.docblocks.js +2 -48
- package/dist/node/components/docs/ecosystem/index.js +23 -569
- package/dist/node/components/docs/examples/DocsExamplesPage.js +4 -124
- package/dist/node/components/docs/examples/ExampleShowcasePage.js +4 -244
- package/dist/node/components/docs/examples/exampleShowcaseData.js +4 -39
- package/dist/node/components/docs/examples/index.js +4 -330
- package/dist/node/components/docs/generated/docs-index.generated.js +1 -5
- package/dist/node/components/docs/generated/index.js +1 -74
- package/dist/node/components/docs/generated/loader.js +1 -74
- package/dist/node/components/docs/getting-started/CLIPage.js +4 -271
- package/dist/node/components/docs/getting-started/CompatibilityPage.js +1 -173
- package/dist/node/components/docs/getting-started/DataViewTutorialPage.js +4 -134
- package/dist/node/components/docs/getting-started/DeveloperToolsPage.js +1 -194
- package/dist/node/components/docs/getting-started/HelloWorldPage.js +5 -183
- package/dist/node/components/docs/getting-started/InstallationPage.js +3 -154
- package/dist/node/components/docs/getting-started/StartHerePage.js +2 -129
- package/dist/node/components/docs/getting-started/TroubleshootingPage.js +2 -168
- package/dist/node/components/docs/getting-started/VSCodeExtensionPage.js +1 -432
- package/dist/node/components/docs/getting-started/getting-started.docblocks.js +4 -41
- package/dist/node/components/docs/getting-started/index.js +18 -1869
- package/dist/node/components/docs/guides/GuideCIDiffGatingPage.js +2 -196
- package/dist/node/components/docs/guides/GuideConnectInRepoPage.js +43 -0
- package/dist/node/components/docs/guides/GuideContractTypesPage.js +6 -541
- package/dist/node/components/docs/guides/GuideDocsPipelinePage.js +3 -207
- package/dist/node/components/docs/guides/GuideFirstModuleBundlePage.js +75 -0
- package/dist/node/components/docs/guides/GuideGenerateDocsClientsSchemasPage.js +2 -209
- package/dist/node/components/docs/guides/GuideHostBuilderWorkbenchPage.js +69 -0
- package/dist/node/components/docs/guides/GuideImportExistingCodebasesPage.js +8 -754
- package/dist/node/components/docs/guides/GuideNextjsOneEndpointPage.js +6 -268
- package/dist/node/components/docs/guides/GuideSpecValidationTypingPage.js +4 -196
- package/dist/node/components/docs/guides/GuidesIndexPage.js +2 -169
- package/dist/node/components/docs/guides/guides.docblocks.js +11 -75
- package/dist/node/components/docs/guides/index.js +213 -2428
- package/dist/node/components/docs/index.js +542 -24297
- package/dist/node/components/docs/integrations/IntegrationsCircuitBreakersPage.js +2 -42
- package/dist/node/components/docs/integrations/IntegrationsElevenLabsPage.js +3 -105
- package/dist/node/components/docs/integrations/IntegrationsGithubPage.js +3 -142
- package/dist/node/components/docs/integrations/IntegrationsGmailPage.js +3 -109
- package/dist/node/components/docs/integrations/IntegrationsGoogleCalendarPage.js +3 -79
- package/dist/node/components/docs/integrations/IntegrationsHealthRoutingPage.js +3 -146
- package/dist/node/components/docs/integrations/IntegrationsMistralPage.js +5 -150
- package/dist/node/components/docs/integrations/IntegrationsOpenAIPage.js +5 -140
- package/dist/node/components/docs/integrations/IntegrationsOverviewPage.js +1 -160
- package/dist/node/components/docs/integrations/IntegrationsPostmarkPage.js +4 -218
- package/dist/node/components/docs/integrations/IntegrationsPowensPage.js +4 -300
- package/dist/node/components/docs/integrations/IntegrationsQdrantPage.js +5 -111
- package/dist/node/components/docs/integrations/IntegrationsResendPage.js +3 -102
- package/dist/node/components/docs/integrations/IntegrationsS3Page.js +4 -124
- package/dist/node/components/docs/integrations/IntegrationsSlackPage.js +3 -144
- package/dist/node/components/docs/integrations/IntegrationsSpecModelPage.js +7 -290
- package/dist/node/components/docs/integrations/IntegrationsStripePage.js +6 -327
- package/dist/node/components/docs/integrations/IntegrationsTwilioPage.js +3 -128
- package/dist/node/components/docs/integrations/IntegrationsWhatsappMetaPage.js +2 -146
- package/dist/node/components/docs/integrations/IntegrationsWhatsappTwilioPage.js +2 -156
- package/dist/node/components/docs/integrations/index.js +52 -3100
- package/dist/node/components/docs/intent/ContractFirstApiPage.js +2 -126
- package/dist/node/components/docs/intent/DeterministicCodegenPage.js +2 -148
- package/dist/node/components/docs/intent/GenerateClientFromSchemaPage.js +7 -207
- package/dist/node/components/docs/intent/OpenapiAlternativePage.js +3 -201
- package/dist/node/components/docs/intent/SchemaValidationTypescriptPage.js +4 -144
- package/dist/node/components/docs/intent/SpecDrivenDevelopmentPage.js +2 -126
- package/dist/node/components/docs/intent/index.js +15 -1135
- package/dist/node/components/docs/intent/intent-pages.docblocks.js +1 -201
- package/dist/node/components/docs/knowledge/KnowledgeCategoriesPage.js +6 -750
- package/dist/node/components/docs/knowledge/KnowledgeExamplesPage.js +4 -175
- package/dist/node/components/docs/knowledge/KnowledgeOverviewPage.js +1 -116
- package/dist/node/components/docs/knowledge/KnowledgeSourcesPage.js +8 -391
- package/dist/node/components/docs/knowledge/KnowledgeSpacesPage.js +6 -302
- package/dist/node/components/docs/knowledge/index.js +21 -1730
- package/dist/node/components/docs/libraries/LibrariesAccessibilityPage.js +3 -198
- package/dist/node/components/docs/libraries/LibrariesAiAgentPage.js +3 -141
- package/dist/node/components/docs/libraries/LibrariesAnalyticsPage.js +4 -80
- package/dist/node/components/docs/libraries/LibrariesContentGenPage.js +2 -100
- package/dist/node/components/docs/libraries/LibrariesContractsPage.js +2 -284
- package/dist/node/components/docs/libraries/LibrariesCostTrackingPage.js +3 -112
- package/dist/node/components/docs/libraries/LibrariesDataBackendPage.js +2 -166
- package/dist/node/components/docs/libraries/LibrariesDataViewsPage.js +3 -186
- package/dist/node/components/docs/libraries/LibrariesDesignSystemPage.js +4 -279
- package/dist/node/components/docs/libraries/LibrariesEvolutionPage.js +4 -127
- package/dist/node/components/docs/libraries/LibrariesGraphQLPage.js +2 -173
- package/dist/node/components/docs/libraries/LibrariesGrowthPage.js +3 -88
- package/dist/node/components/docs/libraries/LibrariesMultiTenancyPage.js +3 -108
- package/dist/node/components/docs/libraries/LibrariesObservabilityPage.js +5 -130
- package/dist/node/components/docs/libraries/LibrariesOverlayEnginePage.js +4 -110
- package/dist/node/components/docs/libraries/LibrariesOverviewPage.js +1 -170
- package/dist/node/components/docs/libraries/LibrariesPersonalizationPage.js +4 -114
- package/dist/node/components/docs/libraries/LibrariesProgressiveDeliveryPage.js +3 -132
- package/dist/node/components/docs/libraries/LibrariesResiliencePage.js +4 -120
- package/dist/node/components/docs/libraries/LibrariesRuntimePage.js +2 -200
- package/dist/node/components/docs/libraries/LibrariesSLOPage.js +3 -116
- package/dist/node/components/docs/libraries/LibrariesSchemaPage.js +3 -273
- package/dist/node/components/docs/libraries/LibrariesSupportBotPage.js +3 -134
- package/dist/node/components/docs/libraries/LibrariesTestingPage.js +3 -133
- package/dist/node/components/docs/libraries/LibrariesUIKitPage.js +2 -230
- package/dist/node/components/docs/libraries/LibrariesWorkflowComposerPage.js +3 -88
- package/dist/node/components/docs/libraries/LibrariesWorkflowsPage.js +2 -181
- package/dist/node/components/docs/libraries/index.js +54 -4147
- package/dist/node/components/docs/manifesto/ManifestoPage.js +1 -86
- package/dist/node/components/docs/ops/AutoEvolutionOpsPage.js +2 -132
- package/dist/node/components/docs/ops/DistributedTracingOpsPage.js +2 -71
- package/dist/node/components/docs/ops/index.js +3 -202
- package/dist/node/components/docs/ops/ops-lifecycle.docblocks.js +3 -38
- package/dist/node/components/docs/ops/ops-runbooks-a.docblocks.js +3 -94
- package/dist/node/components/docs/ops/ops-runbooks-b.docblocks.js +3 -76
- package/dist/node/components/docs/ops/ops-slo-tenant.docblocks.js +3 -76
- package/dist/node/components/docs/ops/ops-top.docs.js +2 -17
- package/dist/node/components/docs/ops/ops.docs.js +10 -302
- package/dist/node/components/docs/product/product.docblocks.js +5 -72
- package/dist/node/components/docs/reference/DocsMarkdownContent.js +2 -196
- package/dist/node/components/docs/reference/DocsReferenceContent.js +3 -256
- package/dist/node/components/docs/reference/DocsReferenceIndexClient.js +2 -127
- package/dist/node/components/docs/reference/DocsReferenceIndexPage.js +2 -206
- package/dist/node/components/docs/reference/DocsReferencePage.js +3 -265
- package/dist/node/components/docs/reference/docsMarkdownParser.js +2 -92
- package/dist/node/components/docs/reference/index.js +4 -470
- package/dist/node/components/docs/safety/SafetyAuditingPage.js +2 -350
- package/dist/node/components/docs/safety/SafetyMigrationsPage.js +2 -359
- package/dist/node/components/docs/safety/SafetyOverviewPage.js +1 -101
- package/dist/node/components/docs/safety/SafetyPDPPage.js +2 -301
- package/dist/node/components/docs/safety/SafetySecurityTrustPage.js +1 -206
- package/dist/node/components/docs/safety/SafetySigningPage.js +3 -90
- package/dist/node/components/docs/safety/SafetyTenantIsolationPage.js +2 -79
- package/dist/node/components/docs/safety/index.js +7 -1480
- package/dist/node/components/docs/shared/StudioPrompt.js +1 -31
- package/dist/node/components/docs/specs/SpecsBuilderControlPlanePage.js +33 -0
- package/dist/node/components/docs/specs/SpecsCapabilitiesPage.js +2 -158
- package/dist/node/components/docs/specs/SpecsConnectPage.js +7 -0
- package/dist/node/components/docs/specs/SpecsDataViewsPage.js +2 -260
- package/dist/node/components/docs/specs/SpecsModuleBundlesPage.js +66 -0
- package/dist/node/components/docs/specs/SpecsOverlaysPage.js +2 -372
- package/dist/node/components/docs/specs/SpecsOverviewPage.js +1 -186
- package/dist/node/components/docs/specs/SpecsPolicyPage.js +3 -420
- package/dist/node/components/docs/specs/SpecsWorkflowsPage.js +2 -312
- package/dist/node/components/docs/specs/index.js +109 -1702
- package/dist/node/components/docs/studio/StudioBYOKPage.js +1 -26
- package/dist/node/components/docs/studio/StudioDeploymentsPage.js +1 -26
- package/dist/node/components/docs/studio/StudioGettingStartedPage.js +1 -26
- package/dist/node/components/docs/studio/StudioIntegrationsPage.js +1 -26
- package/dist/node/components/docs/studio/StudioOverviewPage.js +1 -157
- package/dist/node/components/docs/studio/StudioVisualBuilderPage.js +1 -26
- package/dist/node/components/docs/studio/index.js +1 -282
- package/dist/node/components/docs/tech/contracts/tech-docs.docblocks.js +2 -19
- package/dist/node/components/integrations/index.js +2 -600
- package/dist/node/components/integrations/molecules/IntegrationCard.js +1 -100
- package/dist/node/components/integrations/organisms/IntegrationMarketplace.js +1 -214
- package/dist/node/components/integrations/organisms/IntegrationSettings.js +2 -284
- package/dist/node/components/integrations/organisms/KnowledgeSourceList.js +1 -103
- package/dist/node/components/legal/PrivacyTemplate.js +1 -1025
- package/dist/node/components/legal/TermsTemplate.js +1 -941
- package/dist/node/components/legal/index.js +1 -1963
- package/dist/node/components/shared/FeatureGateNotice.js +1 -38
- package/dist/node/components/shared/index.js +1 -38
- package/dist/node/components/shell/WorkspaceHeader.js +1 -100
- package/dist/node/components/shell/WorkspaceProjectShellLayout.js +1 -222
- package/dist/node/components/shell/WorkspaceShellRenderer.js +1 -228
- package/dist/node/components/shell/WorkspaceSidebar.js +1 -68
- package/dist/node/components/shell/index.js +1 -287
- package/dist/node/components/templates/engine/index.js +1 -39
- package/dist/node/components/templates/index.js +11 -965
- package/dist/node/components/templates/messaging/ConversationList.js +2 -83
- package/dist/node/components/templates/messaging/MessageComposer.js +4 -150
- package/dist/node/components/templates/messaging/MessageThread.js +3 -83
- package/dist/node/components/templates/messaging/MessagingWorkspace.js +5 -265
- package/dist/node/components/templates/messaging/index.js +5 -269
- package/dist/node/components/templates/recipes/LanguageSwitcher.js +1 -16
- package/dist/node/components/templates/recipes/RecipeCard.js +1 -80
- package/dist/node/components/templates/recipes/RecipeDetail.js +1 -74
- package/dist/node/components/templates/recipes/RecipeList.js +3 -245
- package/dist/node/components/templates/recipes/index.js +3 -248
- package/dist/node/components/templates/todos/FilterBar.js +1 -107
- package/dist/node/components/templates/todos/TaskForm.js +2 -158
- package/dist/node/components/templates/todos/TaskItem.js +1 -77
- package/dist/node/components/templates/todos/TaskList.js +5 -449
- package/dist/node/components/templates/todos/index.js +5 -452
- package/dist/node/config/contractspec-blueprint.js +1 -123
- package/dist/node/config/contractspec-branding.js +1 -44
- package/dist/node/config/contractspec-routes.js +1 -24
- package/dist/node/config/index.js +1 -126
- package/dist/node/features/contracts-registry.js +1 -178
- package/dist/node/features/docs/docs.contracts.js +1 -17
- package/dist/node/features/docs/index.js +1 -17
- package/dist/node/features/docs.feature.js +1 -33
- package/dist/node/features/index.js +1 -315
- package/dist/node/features/mcp.feature.js +1 -30
- package/dist/node/features/presentations.feature.js +1 -33
- package/dist/node/features/registry.js +1 -116
- package/dist/node/index.js +556 -28580
- package/dist/node/infrastructure/elysia/index.js +1 -35
- package/dist/node/infrastructure/elysia/logger.js +1 -35
- package/dist/node/infrastructure/index.js +1 -35
- package/dist/node/libs/email/client.js +1 -114
- package/dist/node/libs/email/contact.js +12 -165
- package/dist/node/libs/email/newsletter.js +6 -167
- package/dist/node/libs/email/types.js +0 -2
- package/dist/node/libs/email/utils.js +2 -8
- package/dist/node/libs/email/waitlist-application.js +28 -209
- package/dist/node/libs/email/waitlist.js +6 -167
- package/dist/node/libs/email.js +46 -363
- package/dist/node/libs/posthog/client.js +1 -63
- package/dist/node/libs/posthog/native.js +1 -23
- package/dist/node/libs/posthog/server.js +1 -13
- package/dist/node/libs/pricing-examples.js +1 -18
- package/dist/node/presentation/features/atoms/FeatureIcon/FeatureIcon.js +1 -97
- package/dist/node/presentation/features/atoms/FeatureIcon/index.js +1 -97
- package/dist/node/presentation/features/atoms/index.js +1 -97
- package/dist/node/presentation/features/hooks/index.js +1 -397
- package/dist/node/presentation/features/hooks/useContractsRegistry.js +1 -289
- package/dist/node/presentation/features/hooks/useFeatureFilters.js +1 -75
- package/dist/node/presentation/features/hooks/useFeatureRegistry.js +1 -147
- package/dist/node/presentation/features/hooks/useRelatedDocs.js +1 -28
- package/dist/node/presentation/features/index.js +1 -3063
- package/dist/node/presentation/features/molecules/FeatureCard/FeatureCard.js +1 -366
- package/dist/node/presentation/features/molecules/FeatureCard/index.js +1 -366
- package/dist/node/presentation/features/molecules/FeatureCategoryHeader/FeatureCategoryHeader.js +1 -50
- package/dist/node/presentation/features/molecules/FeatureCategoryHeader/index.js +1 -50
- package/dist/node/presentation/features/molecules/FeatureFilters/FeatureFilters.js +1 -92
- package/dist/node/presentation/features/molecules/FeatureFilters/index.js +1 -92
- package/dist/node/presentation/features/molecules/FeatureHoverPreview/FeatureHoverPreview.js +1 -176
- package/dist/node/presentation/features/molecules/FeatureHoverPreview/index.js +1 -176
- package/dist/node/presentation/features/molecules/index.js +1 -505
- package/dist/node/presentation/features/organisms/FeatureDataViewsList.js +1 -304
- package/dist/node/presentation/features/organisms/FeatureDetail/FeatureDetail.js +1 -154
- package/dist/node/presentation/features/organisms/FeatureDetail/index.js +1 -154
- package/dist/node/presentation/features/organisms/FeatureDiscovery/FeatureDiscovery.js +1 -909
- package/dist/node/presentation/features/organisms/FeatureDiscovery/index.js +1 -909
- package/dist/node/presentation/features/organisms/FeatureEventsList.js +1 -302
- package/dist/node/presentation/features/organisms/FeatureFormsList.js +1 -302
- package/dist/node/presentation/features/organisms/FeatureOperationsList.js +1 -180
- package/dist/node/presentation/features/organisms/FeaturePresentationsList.js +1 -304
- package/dist/node/presentation/features/organisms/index.js +1 -1359
- package/dist/node/presentation/features/templates/FeatureDataViewDetailTemplate/FeatureDataViewDetailTemplate.js +1 -332
- package/dist/node/presentation/features/templates/FeatureDataViewDetailTemplate/index.js +1 -332
- package/dist/node/presentation/features/templates/FeatureDataViewsTemplate/FeatureDataViewsTemplate.js +1 -342
- package/dist/node/presentation/features/templates/FeatureDataViewsTemplate/index.js +1 -342
- package/dist/node/presentation/features/templates/FeatureEventDetailTemplate/FeatureEventDetailTemplate.js +1 -303
- package/dist/node/presentation/features/templates/FeatureEventDetailTemplate/index.js +1 -303
- package/dist/node/presentation/features/templates/FeatureEventsTemplate/FeatureEventsTemplate.js +1 -340
- package/dist/node/presentation/features/templates/FeatureEventsTemplate/index.js +1 -340
- package/dist/node/presentation/features/templates/FeatureFormDetailTemplate/FeatureFormDetailTemplate.js +1 -329
- package/dist/node/presentation/features/templates/FeatureFormDetailTemplate/index.js +1 -329
- package/dist/node/presentation/features/templates/FeatureFormsTemplate/FeatureFormsTemplate.js +1 -340
- package/dist/node/presentation/features/templates/FeatureFormsTemplate/index.js +1 -340
- package/dist/node/presentation/features/templates/FeatureOperationDetailTemplate/FeatureOperationDetailTemplate.js +1 -302
- package/dist/node/presentation/features/templates/FeatureOperationDetailTemplate/index.js +1 -302
- package/dist/node/presentation/features/templates/FeatureOperationsTemplate/FeatureOperationsTemplate.js +1 -218
- package/dist/node/presentation/features/templates/FeatureOperationsTemplate/index.js +1 -218
- package/dist/node/presentation/features/templates/FeatureOverviewTemplate/FeatureOverviewTemplate.js +1 -187
- package/dist/node/presentation/features/templates/FeatureOverviewTemplate/index.js +1 -187
- package/dist/node/presentation/features/templates/FeaturePresentationDetailTemplate/FeaturePresentationDetailTemplate.js +1 -306
- package/dist/node/presentation/features/templates/FeaturePresentationDetailTemplate/index.js +1 -306
- package/dist/node/presentation/features/templates/FeaturePresentationsTemplate/FeaturePresentationsTemplate.js +1 -342
- package/dist/node/presentation/features/templates/FeaturePresentationsTemplate/index.js +1 -342
- package/dist/presentation/features/atoms/FeatureIcon/FeatureIcon.js +1 -97
- package/dist/presentation/features/atoms/FeatureIcon/index.js +1 -97
- package/dist/presentation/features/atoms/index.js +1 -97
- package/dist/presentation/features/hooks/index.js +1 -397
- package/dist/presentation/features/hooks/useContractsRegistry.js +1 -289
- package/dist/presentation/features/hooks/useFeatureFilters.js +1 -75
- package/dist/presentation/features/hooks/useFeatureRegistry.js +1 -147
- package/dist/presentation/features/hooks/useRelatedDocs.js +1 -28
- package/dist/presentation/features/index.js +1 -3063
- package/dist/presentation/features/molecules/FeatureCard/FeatureCard.js +1 -366
- package/dist/presentation/features/molecules/FeatureCard/index.js +1 -366
- package/dist/presentation/features/molecules/FeatureCategoryHeader/FeatureCategoryHeader.js +1 -50
- package/dist/presentation/features/molecules/FeatureCategoryHeader/index.js +1 -50
- package/dist/presentation/features/molecules/FeatureFilters/FeatureFilters.js +1 -92
- package/dist/presentation/features/molecules/FeatureFilters/index.js +1 -92
- package/dist/presentation/features/molecules/FeatureHoverPreview/FeatureHoverPreview.js +1 -176
- package/dist/presentation/features/molecules/FeatureHoverPreview/index.js +1 -176
- package/dist/presentation/features/molecules/index.js +1 -505
- package/dist/presentation/features/organisms/FeatureDataViewsList.js +1 -304
- package/dist/presentation/features/organisms/FeatureDetail/FeatureDetail.js +1 -154
- package/dist/presentation/features/organisms/FeatureDetail/index.js +1 -154
- package/dist/presentation/features/organisms/FeatureDiscovery/FeatureDiscovery.js +1 -909
- package/dist/presentation/features/organisms/FeatureDiscovery/index.js +1 -909
- package/dist/presentation/features/organisms/FeatureEventsList.js +1 -302
- package/dist/presentation/features/organisms/FeatureFormsList.js +1 -302
- package/dist/presentation/features/organisms/FeatureOperationsList.js +1 -180
- package/dist/presentation/features/organisms/FeaturePresentationsList.js +1 -304
- package/dist/presentation/features/organisms/index.js +1 -1359
- package/dist/presentation/features/templates/FeatureDataViewDetailTemplate/FeatureDataViewDetailTemplate.js +1 -332
- package/dist/presentation/features/templates/FeatureDataViewDetailTemplate/index.js +1 -332
- package/dist/presentation/features/templates/FeatureDataViewsTemplate/FeatureDataViewsTemplate.js +1 -342
- package/dist/presentation/features/templates/FeatureDataViewsTemplate/index.js +1 -342
- package/dist/presentation/features/templates/FeatureEventDetailTemplate/FeatureEventDetailTemplate.js +1 -303
- package/dist/presentation/features/templates/FeatureEventDetailTemplate/index.js +1 -303
- package/dist/presentation/features/templates/FeatureEventsTemplate/FeatureEventsTemplate.js +1 -340
- package/dist/presentation/features/templates/FeatureEventsTemplate/index.js +1 -340
- package/dist/presentation/features/templates/FeatureFormDetailTemplate/FeatureFormDetailTemplate.js +1 -329
- package/dist/presentation/features/templates/FeatureFormDetailTemplate/index.js +1 -329
- package/dist/presentation/features/templates/FeatureFormsTemplate/FeatureFormsTemplate.js +1 -340
- package/dist/presentation/features/templates/FeatureFormsTemplate/index.js +1 -340
- package/dist/presentation/features/templates/FeatureOperationDetailTemplate/FeatureOperationDetailTemplate.js +1 -302
- package/dist/presentation/features/templates/FeatureOperationDetailTemplate/index.js +1 -302
- package/dist/presentation/features/templates/FeatureOperationsTemplate/FeatureOperationsTemplate.js +1 -218
- package/dist/presentation/features/templates/FeatureOperationsTemplate/index.js +1 -218
- package/dist/presentation/features/templates/FeatureOverviewTemplate/FeatureOverviewTemplate.js +1 -187
- package/dist/presentation/features/templates/FeatureOverviewTemplate/index.js +1 -187
- package/dist/presentation/features/templates/FeaturePresentationDetailTemplate/FeaturePresentationDetailTemplate.js +1 -306
- package/dist/presentation/features/templates/FeaturePresentationDetailTemplate/index.js +1 -306
- package/dist/presentation/features/templates/FeaturePresentationsTemplate/FeaturePresentationsTemplate.js +1 -342
- package/dist/presentation/features/templates/FeaturePresentationsTemplate/index.js +1 -342
- package/package.json +109 -37
- package/src/components/docs/DocsIndexPage.tsx +55 -0
- package/src/components/docs/architecture/ArchitectureControlPlanePage.tsx +19 -0
- package/src/components/docs/architecture/ArchitectureOverviewPage.tsx +34 -0
- package/src/components/docs/docsManifest.test.ts +70 -0
- package/src/components/docs/docsManifest.ts +71 -1
- package/src/components/docs/ecosystem/PluginsPage.tsx +24 -10
- package/src/components/docs/ecosystem/RegistryPage.tsx +11 -6
- package/src/components/docs/generated/docs-index._common.json +206 -273
- package/src/components/docs/generated/docs-index.control-plane.json +18 -0
- package/src/components/docs/generated/docs-index.defineExample.json +10 -0
- package/src/components/docs/generated/docs-index.manifest.json +22 -12
- package/src/components/docs/generated/docs-index.platform-acp.json +64 -0
- package/src/components/docs/generated/docs-index.platform-agent.json +89 -1
- package/src/components/docs/generated/docs-index.platform-context.json +48 -0
- package/src/components/docs/generated/docs-index.platform-control-plane.json +72 -0
- package/src/components/docs/generated/docs-index.platform-database.json +40 -0
- package/src/components/docs/generated/docs-index.platform-docs.json +64 -0
- package/src/components/docs/generated/docs-index.platform-provider-ranking.json +89 -1
- package/src/components/docs/generated/docs-index.pocket-family-office.json +8 -0
- package/src/components/docs/generated/docs-index.unknown.json +8 -0
- package/src/components/docs/guides/GuideConnectInRepoPage.tsx +184 -0
- package/src/components/docs/guides/GuideFirstModuleBundlePage.tsx +182 -0
- package/src/components/docs/guides/GuideHostBuilderWorkbenchPage.tsx +230 -0
- package/src/components/docs/guides/GuidesIndexPage.tsx +21 -0
- package/src/components/docs/guides/index.ts +3 -0
- package/src/components/docs/specs/SpecsBuilderControlPlanePage.tsx +210 -0
- package/src/components/docs/specs/SpecsConnectPage.tsx +162 -0
- package/src/components/docs/specs/SpecsModuleBundlesPage.tsx +223 -0
- package/src/components/docs/specs/SpecsOverlaysPage.tsx +20 -0
- package/src/components/docs/specs/SpecsOverviewPage.tsx +44 -0
- package/src/components/docs/specs/SpecsWorkflowsPage.tsx +9 -1
- package/src/components/docs/specs/index.ts +3 -0
- package/src/components/docs/studio/StudioOverviewPage.tsx +26 -0
- package/src/infrastructure/elysia/logger.ts +11 -3
|
@@ -1,506 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
|
|
3
|
-
import { cn } from "@contractspec/lib.ui-kit-web/ui/utils";
|
|
4
|
-
import {
|
|
5
|
-
Boxes,
|
|
6
|
-
Database,
|
|
7
|
-
FileText,
|
|
8
|
-
Globe,
|
|
9
|
-
Layout,
|
|
10
|
-
MessageSquare,
|
|
11
|
-
Settings,
|
|
12
|
-
Shield,
|
|
13
|
-
Workflow
|
|
14
|
-
} from "lucide-react";
|
|
15
|
-
import * as React from "react";
|
|
16
|
-
import { jsx } from "react/jsx-runtime";
|
|
17
|
-
"use client";
|
|
18
|
-
var domainIconMap = {
|
|
19
|
-
platform: Settings,
|
|
20
|
-
documentation: FileText,
|
|
21
|
-
docs: FileText,
|
|
22
|
-
integration: Workflow,
|
|
23
|
-
api: Globe,
|
|
24
|
-
security: Shield,
|
|
25
|
-
data: Database,
|
|
26
|
-
messaging: MessageSquare,
|
|
27
|
-
ui: Layout,
|
|
28
|
-
presentation: Layout
|
|
29
|
-
};
|
|
30
|
-
var tagIconMap = {
|
|
31
|
-
documentation: FileText,
|
|
32
|
-
guides: FileText,
|
|
33
|
-
"api-reference": Globe,
|
|
34
|
-
presentations: Layout,
|
|
35
|
-
ui: Layout,
|
|
36
|
-
rendering: Layout,
|
|
37
|
-
mcp: Workflow,
|
|
38
|
-
integration: Workflow,
|
|
39
|
-
security: Shield,
|
|
40
|
-
auth: Shield,
|
|
41
|
-
data: Database,
|
|
42
|
-
storage: Database
|
|
43
|
-
};
|
|
44
|
-
var stabilityToneMap = {
|
|
45
|
-
stable: "success",
|
|
46
|
-
beta: "warning",
|
|
47
|
-
experimental: "info",
|
|
48
|
-
deprecated: "danger"
|
|
49
|
-
};
|
|
50
|
-
var sizeClasses = {
|
|
51
|
-
sm: "h-4 w-4",
|
|
52
|
-
md: "h-5 w-5",
|
|
53
|
-
lg: "h-6 w-6"
|
|
54
|
-
};
|
|
55
|
-
function FeatureIcon({
|
|
56
|
-
domain,
|
|
57
|
-
tags = [],
|
|
58
|
-
stability,
|
|
59
|
-
icon: IconOverride,
|
|
60
|
-
size = "md",
|
|
61
|
-
className
|
|
62
|
-
}) {
|
|
63
|
-
const Icon = React.useMemo(() => {
|
|
64
|
-
if (IconOverride)
|
|
65
|
-
return IconOverride;
|
|
66
|
-
if (domain) {
|
|
67
|
-
const domainIcon = domainIconMap[domain.toLowerCase()];
|
|
68
|
-
if (domainIcon)
|
|
69
|
-
return domainIcon;
|
|
70
|
-
}
|
|
71
|
-
for (const tag of tags) {
|
|
72
|
-
const tagIcon = tagIconMap[tag.toLowerCase()];
|
|
73
|
-
if (tagIcon)
|
|
74
|
-
return tagIcon;
|
|
75
|
-
}
|
|
76
|
-
return Boxes;
|
|
77
|
-
}, [domain, tags, IconOverride]);
|
|
78
|
-
const tone = stability ? stabilityToneMap[stability] || "primary" : "primary";
|
|
79
|
-
const toneClasses = {
|
|
80
|
-
success: "text-emerald-600 dark:text-emerald-400",
|
|
81
|
-
warning: "text-amber-600 dark:text-amber-400",
|
|
82
|
-
info: "text-blue-600 dark:text-blue-400",
|
|
83
|
-
danger: "text-red-600 dark:text-red-400",
|
|
84
|
-
primary: "text-primary"
|
|
85
|
-
};
|
|
86
|
-
return /* @__PURE__ */ jsx(Icon, {
|
|
87
|
-
className: cn(sizeClasses[size], toneClasses[tone], className)
|
|
88
|
-
});
|
|
89
|
-
}
|
|
90
|
-
function getFeatureIconTone(stability) {
|
|
91
|
-
if (!stability)
|
|
92
|
-
return "primary";
|
|
93
|
-
return stabilityToneMap[stability] || "primary";
|
|
94
|
-
}
|
|
95
|
-
// src/presentation/features/molecules/FeatureHoverPreview/FeatureHoverPreview.tsx
|
|
96
|
-
import { StatusChip } from "@contractspec/lib.design-system";
|
|
97
|
-
import { HStack } from "@contractspec/lib.ui-kit-web/ui/stack";
|
|
98
|
-
import {
|
|
99
|
-
ArrowRight,
|
|
100
|
-
Layout as Layout2,
|
|
101
|
-
Radio,
|
|
102
|
-
Shield as Shield2,
|
|
103
|
-
Tag,
|
|
104
|
-
Users,
|
|
105
|
-
Zap
|
|
106
|
-
} from "lucide-react";
|
|
107
|
-
import { jsx as jsx2, jsxs, Fragment } from "react/jsx-runtime";
|
|
108
|
-
"use client";
|
|
109
|
-
function FeatureHoverPreview({ feature }) {
|
|
110
|
-
const { meta, operations, events, presentations, capabilities } = feature;
|
|
111
|
-
const hasCapabilities = capabilities?.provides?.length || capabilities?.requires?.length;
|
|
112
|
-
return /* @__PURE__ */ jsxs(Fragment, {
|
|
113
|
-
children: [
|
|
114
|
-
meta.description && /* @__PURE__ */ jsx2("p", {
|
|
115
|
-
className: "text-muted-foreground text-sm leading-relaxed",
|
|
116
|
-
children: meta.description
|
|
117
|
-
}),
|
|
118
|
-
/* @__PURE__ */ jsxs(HStack, {
|
|
119
|
-
gap: "md",
|
|
120
|
-
className: "py-2",
|
|
121
|
-
children: [
|
|
122
|
-
operations?.length ? /* @__PURE__ */ jsxs("div", {
|
|
123
|
-
className: "flex items-center gap-1.5 text-sm",
|
|
124
|
-
children: [
|
|
125
|
-
/* @__PURE__ */ jsx2(Zap, {
|
|
126
|
-
className: "h-4 w-4 text-amber-500"
|
|
127
|
-
}),
|
|
128
|
-
/* @__PURE__ */ jsx2("span", {
|
|
129
|
-
className: "font-medium",
|
|
130
|
-
children: operations.length
|
|
131
|
-
}),
|
|
132
|
-
/* @__PURE__ */ jsx2("span", {
|
|
133
|
-
className: "text-muted-foreground",
|
|
134
|
-
children: "ops"
|
|
135
|
-
})
|
|
136
|
-
]
|
|
137
|
-
}) : null,
|
|
138
|
-
events?.length ? /* @__PURE__ */ jsxs("div", {
|
|
139
|
-
className: "flex items-center gap-1.5 text-sm",
|
|
140
|
-
children: [
|
|
141
|
-
/* @__PURE__ */ jsx2(Radio, {
|
|
142
|
-
className: "h-4 w-4 text-blue-500"
|
|
143
|
-
}),
|
|
144
|
-
/* @__PURE__ */ jsx2("span", {
|
|
145
|
-
className: "font-medium",
|
|
146
|
-
children: events.length
|
|
147
|
-
}),
|
|
148
|
-
/* @__PURE__ */ jsx2("span", {
|
|
149
|
-
className: "text-muted-foreground",
|
|
150
|
-
children: "events"
|
|
151
|
-
})
|
|
152
|
-
]
|
|
153
|
-
}) : null,
|
|
154
|
-
presentations?.length ? /* @__PURE__ */ jsxs("div", {
|
|
155
|
-
className: "flex items-center gap-1.5 text-sm",
|
|
156
|
-
children: [
|
|
157
|
-
/* @__PURE__ */ jsx2(Layout2, {
|
|
158
|
-
className: "h-4 w-4 text-purple-500"
|
|
159
|
-
}),
|
|
160
|
-
/* @__PURE__ */ jsx2("span", {
|
|
161
|
-
className: "font-medium",
|
|
162
|
-
children: presentations.length
|
|
163
|
-
}),
|
|
164
|
-
/* @__PURE__ */ jsx2("span", {
|
|
165
|
-
className: "text-muted-foreground",
|
|
166
|
-
children: "views"
|
|
167
|
-
})
|
|
168
|
-
]
|
|
169
|
-
}) : null
|
|
170
|
-
]
|
|
171
|
-
}),
|
|
172
|
-
hasCapabilities && /* @__PURE__ */ jsxs("div", {
|
|
173
|
-
className: "space-y-1.5 border-border/50 border-t pt-1",
|
|
174
|
-
children: [
|
|
175
|
-
capabilities?.provides?.length ? /* @__PURE__ */ jsxs(HStack, {
|
|
176
|
-
gap: "xs",
|
|
177
|
-
wrap: "wrap",
|
|
178
|
-
className: "items-start",
|
|
179
|
-
children: [
|
|
180
|
-
/* @__PURE__ */ jsx2(Shield2, {
|
|
181
|
-
className: "mt-0.5 h-3.5 w-3.5 text-emerald-500"
|
|
182
|
-
}),
|
|
183
|
-
/* @__PURE__ */ jsx2("span", {
|
|
184
|
-
className: "text-muted-foreground text-xs",
|
|
185
|
-
children: "Provides:"
|
|
186
|
-
}),
|
|
187
|
-
capabilities.provides.slice(0, 2).map((cap) => /* @__PURE__ */ jsx2(StatusChip, {
|
|
188
|
-
tone: "success",
|
|
189
|
-
label: cap.key,
|
|
190
|
-
size: "sm"
|
|
191
|
-
}, cap.key)),
|
|
192
|
-
capabilities.provides.length > 2 && /* @__PURE__ */ jsxs("span", {
|
|
193
|
-
className: "text-muted-foreground text-xs",
|
|
194
|
-
children: [
|
|
195
|
-
"+",
|
|
196
|
-
capabilities.provides.length - 2
|
|
197
|
-
]
|
|
198
|
-
})
|
|
199
|
-
]
|
|
200
|
-
}) : null,
|
|
201
|
-
capabilities?.requires?.length ? /* @__PURE__ */ jsxs(HStack, {
|
|
202
|
-
gap: "xs",
|
|
203
|
-
wrap: "wrap",
|
|
204
|
-
className: "items-start",
|
|
205
|
-
children: [
|
|
206
|
-
/* @__PURE__ */ jsx2(ArrowRight, {
|
|
207
|
-
className: "mt-0.5 h-3.5 w-3.5 text-blue-500"
|
|
208
|
-
}),
|
|
209
|
-
/* @__PURE__ */ jsx2("span", {
|
|
210
|
-
className: "text-muted-foreground text-xs",
|
|
211
|
-
children: "Requires:"
|
|
212
|
-
}),
|
|
213
|
-
capabilities.requires.slice(0, 2).map((req) => /* @__PURE__ */ jsx2(StatusChip, {
|
|
214
|
-
tone: "info",
|
|
215
|
-
label: req.key,
|
|
216
|
-
size: "sm"
|
|
217
|
-
}, req.key)),
|
|
218
|
-
capabilities.requires.length > 2 && /* @__PURE__ */ jsxs("span", {
|
|
219
|
-
className: "text-muted-foreground text-xs",
|
|
220
|
-
children: [
|
|
221
|
-
"+",
|
|
222
|
-
capabilities.requires.length - 2
|
|
223
|
-
]
|
|
224
|
-
})
|
|
225
|
-
]
|
|
226
|
-
}) : null
|
|
227
|
-
]
|
|
228
|
-
}),
|
|
229
|
-
meta.tags?.length ? /* @__PURE__ */ jsxs(HStack, {
|
|
230
|
-
gap: "xs",
|
|
231
|
-
wrap: "wrap",
|
|
232
|
-
className: "items-center border-border/50 border-t pt-1",
|
|
233
|
-
children: [
|
|
234
|
-
/* @__PURE__ */ jsx2(Tag, {
|
|
235
|
-
className: "h-3.5 w-3.5 text-muted-foreground"
|
|
236
|
-
}),
|
|
237
|
-
meta.tags.slice(0, 4).map((tag) => /* @__PURE__ */ jsxs("span", {
|
|
238
|
-
className: "rounded bg-muted px-1.5 py-0.5 text-muted-foreground text-xs",
|
|
239
|
-
children: [
|
|
240
|
-
"#",
|
|
241
|
-
tag
|
|
242
|
-
]
|
|
243
|
-
}, tag)),
|
|
244
|
-
meta.tags.length > 4 && /* @__PURE__ */ jsxs("span", {
|
|
245
|
-
className: "text-muted-foreground text-xs",
|
|
246
|
-
children: [
|
|
247
|
-
"+",
|
|
248
|
-
meta.tags.length - 4
|
|
249
|
-
]
|
|
250
|
-
})
|
|
251
|
-
]
|
|
252
|
-
}) : null,
|
|
253
|
-
meta.owners?.length ? /* @__PURE__ */ jsxs(HStack, {
|
|
254
|
-
gap: "xs",
|
|
255
|
-
className: "items-center text-muted-foreground text-xs",
|
|
256
|
-
children: [
|
|
257
|
-
/* @__PURE__ */ jsx2(Users, {
|
|
258
|
-
className: "h-3.5 w-3.5"
|
|
259
|
-
}),
|
|
260
|
-
/* @__PURE__ */ jsx2("span", {
|
|
261
|
-
children: meta.owners.join(", ")
|
|
262
|
-
})
|
|
263
|
-
]
|
|
264
|
-
}) : null
|
|
265
|
-
]
|
|
266
|
-
});
|
|
267
|
-
}
|
|
268
|
-
// src/presentation/features/molecules/FeatureCard/FeatureCard.tsx
|
|
269
|
-
import { EntityCard, StatusChip as StatusChip2 } from "@contractspec/lib.design-system";
|
|
270
|
-
import { HStack as HStack2 } from "@contractspec/lib.ui-kit-web/ui/stack";
|
|
271
|
-
import { Layout as Layout3, Radio as Radio2, Shield as Shield3, Zap as Zap2 } from "lucide-react";
|
|
272
|
-
import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
273
|
-
"use client";
|
|
274
|
-
var stabilityTone = {
|
|
275
|
-
stable: "success",
|
|
276
|
-
beta: "warning",
|
|
277
|
-
experimental: "info",
|
|
278
|
-
deprecated: "danger"
|
|
279
|
-
};
|
|
280
|
-
function FeatureCard({
|
|
281
|
-
feature,
|
|
282
|
-
onSelect,
|
|
283
|
-
className
|
|
284
|
-
}) {
|
|
285
|
-
const { meta, operations, events, presentations, capabilities } = feature;
|
|
286
|
-
const tone = stabilityTone[meta.stability] ?? "neutral";
|
|
287
|
-
const iconTone = getFeatureIconTone(meta.stability);
|
|
288
|
-
const emphasis = meta.stability === "stable" ? "strong" : "default";
|
|
289
|
-
const handleClick = onSelect ? () => onSelect(feature) : undefined;
|
|
290
|
-
const hasCapabilities = capabilities?.provides?.length || capabilities?.requires?.length;
|
|
291
|
-
return /* @__PURE__ */ jsx3(EntityCard, {
|
|
292
|
-
cardTitle: meta.title,
|
|
293
|
-
cardSubtitle: meta.key,
|
|
294
|
-
className,
|
|
295
|
-
onClick: handleClick,
|
|
296
|
-
emphasis,
|
|
297
|
-
icon: /* @__PURE__ */ jsx3(FeatureIcon, {
|
|
298
|
-
domain: meta.domain,
|
|
299
|
-
tags: meta.tags,
|
|
300
|
-
stability: meta.stability,
|
|
301
|
-
size: "md"
|
|
302
|
-
}),
|
|
303
|
-
iconTone,
|
|
304
|
-
chips: /* @__PURE__ */ jsx3(StatusChip2, {
|
|
305
|
-
tone,
|
|
306
|
-
label: meta.stability ?? "unknown",
|
|
307
|
-
size: "sm"
|
|
308
|
-
}),
|
|
309
|
-
meta: meta.description ? /* @__PURE__ */ jsx3("span", {
|
|
310
|
-
className: "line-clamp-2 text-muted-foreground text-sm",
|
|
311
|
-
children: meta.description
|
|
312
|
-
}) : undefined,
|
|
313
|
-
preview: /* @__PURE__ */ jsx3(FeatureHoverPreview, {
|
|
314
|
-
feature
|
|
315
|
-
}),
|
|
316
|
-
footer: /* @__PURE__ */ jsxs2(HStack2, {
|
|
317
|
-
gap: "md",
|
|
318
|
-
className: "w-full justify-between text-muted-foreground text-xs",
|
|
319
|
-
children: [
|
|
320
|
-
/* @__PURE__ */ jsxs2(HStack2, {
|
|
321
|
-
gap: "sm",
|
|
322
|
-
children: [
|
|
323
|
-
operations?.length ? /* @__PURE__ */ jsxs2("span", {
|
|
324
|
-
className: "flex items-center gap-1",
|
|
325
|
-
children: [
|
|
326
|
-
/* @__PURE__ */ jsx3(Zap2, {
|
|
327
|
-
className: "h-3 w-3 text-amber-500"
|
|
328
|
-
}),
|
|
329
|
-
operations.length
|
|
330
|
-
]
|
|
331
|
-
}) : null,
|
|
332
|
-
events?.length ? /* @__PURE__ */ jsxs2("span", {
|
|
333
|
-
className: "flex items-center gap-1",
|
|
334
|
-
children: [
|
|
335
|
-
/* @__PURE__ */ jsx3(Radio2, {
|
|
336
|
-
className: "h-3 w-3 text-blue-500"
|
|
337
|
-
}),
|
|
338
|
-
events.length
|
|
339
|
-
]
|
|
340
|
-
}) : null,
|
|
341
|
-
presentations?.length ? /* @__PURE__ */ jsxs2("span", {
|
|
342
|
-
className: "flex items-center gap-1",
|
|
343
|
-
children: [
|
|
344
|
-
/* @__PURE__ */ jsx3(Layout3, {
|
|
345
|
-
className: "h-3 w-3 text-purple-500"
|
|
346
|
-
}),
|
|
347
|
-
presentations.length
|
|
348
|
-
]
|
|
349
|
-
}) : null
|
|
350
|
-
]
|
|
351
|
-
}),
|
|
352
|
-
hasCapabilities && /* @__PURE__ */ jsxs2("span", {
|
|
353
|
-
className: "flex items-center gap-1",
|
|
354
|
-
children: [
|
|
355
|
-
/* @__PURE__ */ jsx3(Shield3, {
|
|
356
|
-
className: "h-3 w-3 text-emerald-500"
|
|
357
|
-
}),
|
|
358
|
-
(capabilities?.provides?.length ?? 0) + (capabilities?.requires?.length ?? 0)
|
|
359
|
-
]
|
|
360
|
-
})
|
|
361
|
-
]
|
|
362
|
-
})
|
|
363
|
-
});
|
|
364
|
-
}
|
|
365
|
-
// src/presentation/features/molecules/FeatureCategoryHeader/FeatureCategoryHeader.tsx
|
|
366
|
-
import { StatusChip as StatusChip3 } from "@contractspec/lib.design-system";
|
|
367
|
-
import { HStack as HStack3 } from "@contractspec/lib.ui-kit-web/ui/stack";
|
|
368
|
-
import { cn as cn2 } from "@contractspec/lib.ui-kit-web/ui/utils";
|
|
369
|
-
import { Boxes as Boxes2, ChevronDown } from "lucide-react";
|
|
370
|
-
import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
371
|
-
"use client";
|
|
372
|
-
function FeatureCategoryHeader({
|
|
373
|
-
title,
|
|
374
|
-
count,
|
|
375
|
-
icon,
|
|
376
|
-
isCollapsed = false,
|
|
377
|
-
onToggle,
|
|
378
|
-
className
|
|
379
|
-
}) {
|
|
380
|
-
return /* @__PURE__ */ jsxs3("button", {
|
|
381
|
-
type: "button",
|
|
382
|
-
onClick: onToggle,
|
|
383
|
-
className: cn2("flex w-full items-center justify-between rounded-lg px-4 py-3", "bg-muted/30 transition-colors hover:bg-muted/50", "group cursor-pointer", className),
|
|
384
|
-
children: [
|
|
385
|
-
/* @__PURE__ */ jsxs3(HStack3, {
|
|
386
|
-
gap: "sm",
|
|
387
|
-
className: "items-center",
|
|
388
|
-
children: [
|
|
389
|
-
/* @__PURE__ */ jsx4("div", {
|
|
390
|
-
className: "text-muted-foreground transition-colors group-hover:text-foreground",
|
|
391
|
-
children: icon || /* @__PURE__ */ jsx4(Boxes2, {
|
|
392
|
-
className: "h-5 w-5"
|
|
393
|
-
})
|
|
394
|
-
}),
|
|
395
|
-
/* @__PURE__ */ jsx4("span", {
|
|
396
|
-
className: "font-semibold text-lg capitalize transition-colors group-hover:text-primary",
|
|
397
|
-
children: title
|
|
398
|
-
}),
|
|
399
|
-
/* @__PURE__ */ jsx4(StatusChip3, {
|
|
400
|
-
tone: "neutral",
|
|
401
|
-
label: `${count} ${count === 1 ? "feature" : "features"}`,
|
|
402
|
-
size: "sm"
|
|
403
|
-
})
|
|
404
|
-
]
|
|
405
|
-
}),
|
|
406
|
-
/* @__PURE__ */ jsx4(ChevronDown, {
|
|
407
|
-
className: cn2("h-5 w-5 text-muted-foreground transition-transform duration-200", isCollapsed && "-rotate-90")
|
|
408
|
-
})
|
|
409
|
-
]
|
|
410
|
-
});
|
|
411
|
-
}
|
|
412
|
-
// src/presentation/features/molecules/FeatureFilters/FeatureFilters.tsx
|
|
413
|
-
import { Button, Input } from "@contractspec/lib.design-system";
|
|
414
|
-
import { HStack as HStack4, VStack } from "@contractspec/lib.ui-kit-web/ui/stack";
|
|
415
|
-
import { cn as cn3 } from "@contractspec/lib.ui-kit-web/ui/utils";
|
|
416
|
-
import { jsx as jsx5, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
417
|
-
"use client";
|
|
418
|
-
function FeatureFiltersBar({
|
|
419
|
-
uniqueTags,
|
|
420
|
-
uniqueStabilities,
|
|
421
|
-
filters,
|
|
422
|
-
setSearch,
|
|
423
|
-
toggleTag,
|
|
424
|
-
toggleStability,
|
|
425
|
-
clearFilters,
|
|
426
|
-
hasActiveFilters,
|
|
427
|
-
className
|
|
428
|
-
}) {
|
|
429
|
-
return /* @__PURE__ */ jsxs4(VStack, {
|
|
430
|
-
gap: "md",
|
|
431
|
-
className: cn3("w-full", className),
|
|
432
|
-
children: [
|
|
433
|
-
/* @__PURE__ */ jsxs4(HStack4, {
|
|
434
|
-
gap: "md",
|
|
435
|
-
justify: "between",
|
|
436
|
-
className: "w-full",
|
|
437
|
-
children: [
|
|
438
|
-
/* @__PURE__ */ jsx5(Input, {
|
|
439
|
-
placeholder: "Search features...",
|
|
440
|
-
value: filters.search,
|
|
441
|
-
onChange: (e) => setSearch(e.target.value),
|
|
442
|
-
className: "max-w-md",
|
|
443
|
-
"aria-label": "Search features"
|
|
444
|
-
}),
|
|
445
|
-
hasActiveFilters && /* @__PURE__ */ jsx5(Button, {
|
|
446
|
-
variant: "ghost",
|
|
447
|
-
size: "sm",
|
|
448
|
-
onClick: clearFilters,
|
|
449
|
-
children: "Clear filters"
|
|
450
|
-
})
|
|
451
|
-
]
|
|
452
|
-
}),
|
|
453
|
-
uniqueStabilities.length > 0 && /* @__PURE__ */ jsxs4(HStack4, {
|
|
454
|
-
gap: "xs",
|
|
455
|
-
wrap: "wrap",
|
|
456
|
-
children: [
|
|
457
|
-
/* @__PURE__ */ jsx5("span", {
|
|
458
|
-
className: "text-muted-foreground text-sm",
|
|
459
|
-
children: "Stability:"
|
|
460
|
-
}),
|
|
461
|
-
uniqueStabilities.map((stability) => /* @__PURE__ */ jsx5(Button, {
|
|
462
|
-
variant: filters.stability.includes(stability) ? "default" : "outline",
|
|
463
|
-
size: "sm",
|
|
464
|
-
onClick: () => toggleStability(stability),
|
|
465
|
-
"aria-pressed": filters.stability.includes(stability),
|
|
466
|
-
children: stability
|
|
467
|
-
}, stability))
|
|
468
|
-
]
|
|
469
|
-
}),
|
|
470
|
-
uniqueTags.length > 0 && /* @__PURE__ */ jsxs4(HStack4, {
|
|
471
|
-
gap: "xs",
|
|
472
|
-
wrap: "wrap",
|
|
473
|
-
children: [
|
|
474
|
-
/* @__PURE__ */ jsx5("span", {
|
|
475
|
-
className: "text-muted-foreground text-sm",
|
|
476
|
-
children: "Tags:"
|
|
477
|
-
}),
|
|
478
|
-
uniqueTags.slice(0, 10).map((tag) => /* @__PURE__ */ jsxs4(Button, {
|
|
479
|
-
variant: filters.tags.includes(tag) ? "default" : "outline",
|
|
480
|
-
size: "sm",
|
|
481
|
-
onClick: () => toggleTag(tag),
|
|
482
|
-
"aria-pressed": filters.tags.includes(tag),
|
|
483
|
-
children: [
|
|
484
|
-
"#",
|
|
485
|
-
tag
|
|
486
|
-
]
|
|
487
|
-
}, tag)),
|
|
488
|
-
uniqueTags.length > 10 && /* @__PURE__ */ jsxs4("span", {
|
|
489
|
-
className: "text-muted-foreground text-sm",
|
|
490
|
-
children: [
|
|
491
|
-
"+",
|
|
492
|
-
uniqueTags.length - 10,
|
|
493
|
-
" more"
|
|
494
|
-
]
|
|
495
|
-
})
|
|
496
|
-
]
|
|
497
|
-
})
|
|
498
|
-
]
|
|
499
|
-
});
|
|
500
|
-
}
|
|
501
|
-
export {
|
|
502
|
-
FeatureHoverPreview,
|
|
503
|
-
FeatureFiltersBar,
|
|
504
|
-
FeatureCategoryHeader,
|
|
505
|
-
FeatureCard
|
|
506
|
-
};
|
|
2
|
+
import{cn as o}from"@contractspec/lib.ui-kit-web/ui/utils";import{Boxes as b,Database as M,FileText as C,Globe as r,Layout as z,MessageSquare as u,Settings as x,Shield as O,Workflow as L}from"lucide-react";import*as I from"react";import{jsx as l}from"react/jsx-runtime";var j={platform:x,documentation:C,docs:C,integration:L,api:r,security:O,data:M,messaging:u,ui:z,presentation:z},n={documentation:C,guides:C,"api-reference":r,presentations:z,ui:z,rendering:z,mcp:L,integration:L,security:O,auth:O,data:M,storage:M},p={stable:"success",beta:"warning",experimental:"info",deprecated:"danger"},c={sm:"h-4 w-4",md:"h-5 w-5",lg:"h-6 w-6"};function w({domain:K,tags:F=[],stability:_,icon:P,size:B="md",className:Q}){let U=I.useMemo(()=>{if(P)return P;if(K){let J=j[K.toLowerCase()];if(J)return J}for(let J of F){let D=n[J.toLowerCase()];if(D)return D}return b},[K,F,P]),Y=_?p[_]||"primary":"primary",Z={success:"text-emerald-600 dark:text-emerald-400",warning:"text-amber-600 dark:text-amber-400",info:"text-blue-600 dark:text-blue-400",danger:"text-red-600 dark:text-red-400",primary:"text-primary"};return l(U,{className:o(c[B],Z[Y],Q)})}function N(K){if(!K)return"primary";return p[K]||"primary"}import{StatusChip as y}from"@contractspec/lib.design-system";import{HStack as A}from"@contractspec/lib.ui-kit-web/ui/stack";import{ArrowRight as e,Layout as a,Radio as t,Shield as i,Tag as s,Users as PP,Zap as FP}from"lucide-react";import{jsx as X,jsxs as $,Fragment as JP}from"react/jsx-runtime";function H({feature:K}){let{meta:F,operations:_,events:P,presentations:B,capabilities:Q}=K,U=Q?.provides?.length||Q?.requires?.length;return $(JP,{children:[F.description&&X("p",{className:"text-muted-foreground text-sm leading-relaxed",children:F.description}),$(A,{gap:"md",className:"py-2",children:[_?.length?$("div",{className:"flex items-center gap-1.5 text-sm",children:[X(FP,{className:"h-4 w-4 text-amber-500"}),X("span",{className:"font-medium",children:_.length}),X("span",{className:"text-muted-foreground",children:"ops"})]}):null,P?.length?$("div",{className:"flex items-center gap-1.5 text-sm",children:[X(t,{className:"h-4 w-4 text-blue-500"}),X("span",{className:"font-medium",children:P.length}),X("span",{className:"text-muted-foreground",children:"events"})]}):null,B?.length?$("div",{className:"flex items-center gap-1.5 text-sm",children:[X(a,{className:"h-4 w-4 text-purple-500"}),X("span",{className:"font-medium",children:B.length}),X("span",{className:"text-muted-foreground",children:"views"})]}):null]}),U&&$("div",{className:"space-y-1.5 border-border/50 border-t pt-1",children:[Q?.provides?.length?$(A,{gap:"xs",wrap:"wrap",className:"items-start",children:[X(i,{className:"mt-0.5 h-3.5 w-3.5 text-emerald-500"}),X("span",{className:"text-muted-foreground text-xs",children:"Provides:"}),Q.provides.slice(0,2).map((Y)=>X(y,{tone:"success",label:Y.key,size:"sm"},Y.key)),Q.provides.length>2&&$("span",{className:"text-muted-foreground text-xs",children:["+",Q.provides.length-2]})]}):null,Q?.requires?.length?$(A,{gap:"xs",wrap:"wrap",className:"items-start",children:[X(e,{className:"mt-0.5 h-3.5 w-3.5 text-blue-500"}),X("span",{className:"text-muted-foreground text-xs",children:"Requires:"}),Q.requires.slice(0,2).map((Y)=>X(y,{tone:"info",label:Y.key,size:"sm"},Y.key)),Q.requires.length>2&&$("span",{className:"text-muted-foreground text-xs",children:["+",Q.requires.length-2]})]}):null]}),F.tags?.length?$(A,{gap:"xs",wrap:"wrap",className:"items-center border-border/50 border-t pt-1",children:[X(s,{className:"h-3.5 w-3.5 text-muted-foreground"}),F.tags.slice(0,4).map((Y)=>$("span",{className:"rounded bg-muted px-1.5 py-0.5 text-muted-foreground text-xs",children:["#",Y]},Y)),F.tags.length>4&&$("span",{className:"text-muted-foreground text-xs",children:["+",F.tags.length-4]})]}):null,F.owners?.length?$(A,{gap:"xs",className:"items-center text-muted-foreground text-xs",children:[X(PP,{className:"h-3.5 w-3.5"}),X("span",{children:F.owners.join(", ")})]}):null]})}import{EntityCard as KP,StatusChip as QP}from"@contractspec/lib.design-system";import{HStack as q}from"@contractspec/lib.ui-kit-web/ui/stack";import{Layout as XP,Radio as YP,Shield as _P,Zap as $P}from"lucide-react";import{jsx as E,jsxs as V}from"react/jsx-runtime";var BP={stable:"success",beta:"warning",experimental:"info",deprecated:"danger"};function h({feature:K,onSelect:F,className:_}){let{meta:P,operations:B,events:Q,presentations:U,capabilities:Y}=K,Z=BP[P.stability]??"neutral",J=N(P.stability),D=P.stability==="stable"?"strong":"default",S=F?()=>F(K):void 0,g=Y?.provides?.length||Y?.requires?.length;return E(KP,{cardTitle:P.title,cardSubtitle:P.key,className:_,onClick:S,emphasis:D,icon:E(w,{domain:P.domain,tags:P.tags,stability:P.stability,size:"md"}),iconTone:J,chips:E(QP,{tone:Z,label:P.stability??"unknown",size:"sm"}),meta:P.description?E("span",{className:"line-clamp-2 text-muted-foreground text-sm",children:P.description}):void 0,preview:E(H,{feature:K}),footer:V(q,{gap:"md",className:"w-full justify-between text-muted-foreground text-xs",children:[V(q,{gap:"sm",children:[B?.length?V("span",{className:"flex items-center gap-1",children:[E($P,{className:"h-3 w-3 text-amber-500"}),B.length]}):null,Q?.length?V("span",{className:"flex items-center gap-1",children:[E(YP,{className:"h-3 w-3 text-blue-500"}),Q.length]}):null,U?.length?V("span",{className:"flex items-center gap-1",children:[E(XP,{className:"h-3 w-3 text-purple-500"}),U.length]}):null]}),g&&V("span",{className:"flex items-center gap-1",children:[E(_P,{className:"h-3 w-3 text-emerald-500"}),(Y?.provides?.length??0)+(Y?.requires?.length??0)]})]})})}import{StatusChip as EP}from"@contractspec/lib.design-system";import{HStack as UP}from"@contractspec/lib.ui-kit-web/ui/stack";import{cn as T}from"@contractspec/lib.ui-kit-web/ui/utils";import{Boxes as VP,ChevronDown as GP}from"lucide-react";import{jsx as R,jsxs as d}from"react/jsx-runtime";function k({title:K,count:F,icon:_,isCollapsed:P=!1,onToggle:B,className:Q}){return d("button",{type:"button",onClick:B,className:T("flex w-full items-center justify-between rounded-lg px-4 py-3","bg-muted/30 transition-colors hover:bg-muted/50","group cursor-pointer",Q),children:[d(UP,{gap:"sm",className:"items-center",children:[R("div",{className:"text-muted-foreground transition-colors group-hover:text-foreground",children:_||R(VP,{className:"h-5 w-5"})}),R("span",{className:"font-semibold text-lg capitalize transition-colors group-hover:text-primary",children:K}),R(EP,{tone:"neutral",label:`${F} ${F===1?"feature":"features"}`,size:"sm"})]}),R(GP,{className:T("h-5 w-5 text-muted-foreground transition-transform duration-200",P&&"-rotate-90")})]})}import{Button as v,Input as ZP}from"@contractspec/lib.design-system";import{HStack as f,VStack as zP}from"@contractspec/lib.ui-kit-web/ui/stack";import{cn as AP}from"@contractspec/lib.ui-kit-web/ui/utils";import{jsx as W,jsxs as G}from"react/jsx-runtime";function m({uniqueTags:K,uniqueStabilities:F,filters:_,setSearch:P,toggleTag:B,toggleStability:Q,clearFilters:U,hasActiveFilters:Y,className:Z}){return G(zP,{gap:"md",className:AP("w-full",Z),children:[G(f,{gap:"md",justify:"between",className:"w-full",children:[W(ZP,{placeholder:"Search features...",value:_.search,onChange:(J)=>P(J.target.value),className:"max-w-md","aria-label":"Search features"}),Y&&W(v,{variant:"ghost",size:"sm",onClick:U,children:"Clear filters"})]}),F.length>0&&G(f,{gap:"xs",wrap:"wrap",children:[W("span",{className:"text-muted-foreground text-sm",children:"Stability:"}),F.map((J)=>W(v,{variant:_.stability.includes(J)?"default":"outline",size:"sm",onClick:()=>Q(J),"aria-pressed":_.stability.includes(J),children:J},J))]}),K.length>0&&G(f,{gap:"xs",wrap:"wrap",children:[W("span",{className:"text-muted-foreground text-sm",children:"Tags:"}),K.slice(0,10).map((J)=>G(v,{variant:_.tags.includes(J)?"default":"outline",size:"sm",onClick:()=>B(J),"aria-pressed":_.tags.includes(J),children:["#",J]},J)),K.length>10&&G("span",{className:"text-muted-foreground text-sm",children:["+",K.length-10," more"]})]})]})}export{H as FeatureHoverPreview,m as FeatureFiltersBar,k as FeatureCategoryHeader,h as FeatureCard};
|