@contractspec/bundle.library 3.7.6 → 3.8.2
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 +258 -252
- package/AGENTS.md +42 -24
- package/CHANGELOG.md +56 -0
- package/README.md +59 -37
- package/dist/application/index.d.ts +1 -1
- package/dist/application/index.js +842 -840
- package/dist/application/mcp/cliMcp.js +30 -30
- package/dist/application/mcp/common.d.ts +2 -2
- package/dist/application/mcp/common.js +2 -2
- package/dist/application/mcp/contractsMcp.d.ts +1 -1
- package/dist/application/mcp/contractsMcp.js +163 -163
- package/dist/application/mcp/docsMcp.js +31 -31
- package/dist/application/mcp/index.d.ts +2 -2
- package/dist/application/mcp/index.js +842 -840
- package/dist/application/mcp/internalMcp.js +30 -30
- package/dist/application/mcp/providerRankingMcp.js +35 -33
- package/dist/components/docs/DocsIndexPage.js +859 -212
- package/dist/components/docs/advanced/AdvancedMCPPage.js +15 -15
- package/dist/components/docs/advanced/AdvancedOverlayEditorPage.js +4 -4
- package/dist/components/docs/advanced/AdvancedRenderersPage.js +7 -7
- package/dist/components/docs/advanced/AdvancedSpecExperimentsPage.js +9 -9
- package/dist/components/docs/advanced/AdvancedTelemetryPage.js +16 -16
- package/dist/components/docs/advanced/AdvancedWorkflowMonitoringPage.js +6 -6
- package/dist/components/docs/advanced/index.d.ts +2 -2
- package/dist/components/docs/advanced/index.js +57 -57
- package/dist/components/docs/architecture/ArchitectureAppConfigPage.js +10 -10
- package/dist/components/docs/architecture/ArchitectureControlPlanePage.js +8 -8
- package/dist/components/docs/architecture/ArchitectureIntegrationBindingPage.js +14 -14
- package/dist/components/docs/architecture/ArchitectureKnowledgeBindingPage.js +16 -16
- package/dist/components/docs/architecture/ArchitectureMultiTenancyPage.js +7 -7
- package/dist/components/docs/architecture/ArchitectureOverviewPage.js +90 -411
- package/dist/components/docs/architecture/index.d.ts +3 -3
- package/dist/components/docs/architecture/index.js +145 -466
- package/dist/components/docs/comparison/ComparisonAutomationPlatformsPage.js +6 -6
- package/dist/components/docs/comparison/ComparisonEnterprisePlatformsPage.js +7 -7
- package/dist/components/docs/comparison/ComparisonInternalToolBuildersPage.js +6 -6
- package/dist/components/docs/comparison/ComparisonOverviewPage.js +4 -4
- package/dist/components/docs/comparison/ComparisonWindmillPage.js +6 -6
- package/dist/components/docs/comparison/ComparisonWorkflowEnginesPage.js +6 -6
- package/dist/components/docs/comparison/index.d.ts +2 -2
- package/dist/components/docs/comparison/index.js +35 -35
- package/dist/components/docs/docsManifest.d.ts +42 -0
- package/dist/components/docs/docsManifest.js +612 -0
- package/dist/components/docs/ecosystem/IntegrationsPage.js +5 -5
- package/dist/components/docs/ecosystem/PluginsPage.js +7 -7
- package/dist/components/docs/ecosystem/RegistryPage.js +4 -4
- package/dist/components/docs/ecosystem/TemplatesPage.js +11 -11
- package/dist/components/docs/ecosystem/index.d.ts +2 -2
- package/dist/components/docs/ecosystem/index.js +27 -27
- package/dist/components/docs/examples/DocsExamplesPage.js +59 -6
- package/dist/components/docs/examples/ExampleShowcasePage.d.ts +5 -0
- package/dist/components/docs/examples/ExampleShowcasePage.js +258 -0
- package/dist/components/docs/examples/exampleShowcaseData.d.ts +10 -0
- package/dist/components/docs/examples/exampleShowcaseData.js +53 -0
- package/dist/components/docs/examples/index.d.ts +1 -0
- package/dist/components/docs/examples/index.js +265 -6
- package/dist/components/docs/getting-started/CLIPage.js +9 -9
- package/dist/components/docs/getting-started/CompatibilityPage.js +12 -12
- package/dist/components/docs/getting-started/DataViewTutorialPage.js +7 -7
- package/dist/components/docs/getting-started/DeveloperToolsPage.js +10 -10
- package/dist/components/docs/getting-started/HelloWorldPage.js +8 -8
- package/dist/components/docs/getting-started/InstallationPage.js +10 -10
- package/dist/components/docs/getting-started/StartHerePage.js +8 -8
- package/dist/components/docs/getting-started/TroubleshootingPage.js +12 -12
- package/dist/components/docs/getting-started/VSCodeExtensionPage.js +13 -13
- package/dist/components/docs/getting-started/index.d.ts +5 -5
- package/dist/components/docs/getting-started/index.js +89 -89
- package/dist/components/docs/guides/GuideCIDiffGatingPage.js +13 -13
- package/dist/components/docs/guides/GuideContractTypesPage.js +33 -33
- package/dist/components/docs/guides/GuideDocsPipelinePage.js +13 -13
- package/dist/components/docs/guides/GuideGenerateDocsClientsSchemasPage.js +13 -13
- package/dist/components/docs/guides/GuideImportExistingCodebasesPage.js +35 -35
- package/dist/components/docs/guides/GuideNextjsOneEndpointPage.js +15 -15
- package/dist/components/docs/guides/GuideSpecValidationTypingPage.js +13 -13
- package/dist/components/docs/guides/GuidesIndexPage.js +69 -46
- package/dist/components/docs/guides/index.d.ts +4 -4
- package/dist/components/docs/guides/index.js +174 -151
- package/dist/components/docs/index.d.ts +13 -12
- package/dist/components/docs/index.js +15220 -16233
- package/dist/components/docs/integrations/IntegrationsCircuitBreakersPage.js +4 -4
- package/dist/components/docs/integrations/IntegrationsElevenLabsPage.js +7 -7
- package/dist/components/docs/integrations/IntegrationsGithubPage.js +11 -11
- package/dist/components/docs/integrations/IntegrationsGmailPage.js +7 -7
- package/dist/components/docs/integrations/IntegrationsGoogleCalendarPage.js +5 -5
- package/dist/components/docs/integrations/IntegrationsHealthRoutingPage.js +12 -12
- package/dist/components/docs/integrations/IntegrationsMistralPage.js +12 -12
- package/dist/components/docs/integrations/IntegrationsOpenAIPage.js +11 -11
- package/dist/components/docs/integrations/IntegrationsOverviewPage.js +119 -736
- package/dist/components/docs/integrations/IntegrationsPostmarkPage.js +12 -12
- package/dist/components/docs/integrations/IntegrationsPowensPage.js +24 -24
- package/dist/components/docs/integrations/IntegrationsQdrantPage.js +9 -9
- package/dist/components/docs/integrations/IntegrationsResendPage.js +7 -7
- package/dist/components/docs/integrations/IntegrationsS3Page.js +9 -9
- package/dist/components/docs/integrations/IntegrationsSlackPage.js +11 -11
- package/dist/components/docs/integrations/IntegrationsSpecModelPage.js +19 -19
- package/dist/components/docs/integrations/IntegrationsStripePage.js +25 -25
- package/dist/components/docs/integrations/IntegrationsTwilioPage.js +9 -9
- package/dist/components/docs/integrations/IntegrationsWhatsappMetaPage.js +12 -12
- package/dist/components/docs/integrations/IntegrationsWhatsappTwilioPage.js +13 -13
- package/dist/components/docs/integrations/index.d.ts +1 -1
- package/dist/components/docs/integrations/index.js +614 -1231
- package/dist/components/docs/intent/ContractFirstApiPage.js +8 -8
- package/dist/components/docs/intent/DeterministicCodegenPage.js +9 -9
- package/dist/components/docs/intent/GenerateClientFromSchemaPage.js +13 -13
- package/dist/components/docs/intent/OpenapiAlternativePage.js +13 -13
- package/dist/components/docs/intent/SchemaValidationTypescriptPage.js +9 -9
- package/dist/components/docs/intent/SpecDrivenDevelopmentPage.js +8 -8
- package/dist/components/docs/intent/index.d.ts +3 -3
- package/dist/components/docs/intent/index.js +766 -766
- package/dist/components/docs/knowledge/KnowledgeCategoriesPage.js +38 -38
- package/dist/components/docs/knowledge/KnowledgeExamplesPage.js +9 -9
- package/dist/components/docs/knowledge/KnowledgeOverviewPage.js +91 -439
- package/dist/components/docs/knowledge/KnowledgeSourcesPage.js +28 -28
- package/dist/components/docs/knowledge/KnowledgeSpacesPage.js +21 -21
- package/dist/components/docs/knowledge/index.d.ts +1 -1
- package/dist/components/docs/knowledge/index.js +437 -785
- package/dist/components/docs/libraries/LibrariesAccessibilityPage.js +16 -16
- package/dist/components/docs/libraries/LibrariesAiAgentPage.js +8 -8
- package/dist/components/docs/libraries/LibrariesAnalyticsPage.js +6 -6
- package/dist/components/docs/libraries/LibrariesContentGenPage.js +6 -6
- package/dist/components/docs/libraries/LibrariesContractsPage.js +16 -16
- package/dist/components/docs/libraries/LibrariesCostTrackingPage.js +6 -6
- package/dist/components/docs/libraries/LibrariesDataBackendPage.js +14 -14
- package/dist/components/docs/libraries/LibrariesDataViewsPage.js +7 -7
- package/dist/components/docs/libraries/LibrariesDesignSystemPage.js +13 -13
- package/dist/components/docs/libraries/LibrariesEvolutionPage.js +7 -7
- package/dist/components/docs/libraries/LibrariesGraphQLPage.js +13 -13
- package/dist/components/docs/libraries/LibrariesGrowthPage.js +5 -5
- package/dist/components/docs/libraries/LibrariesMultiTenancyPage.js +5 -5
- package/dist/components/docs/libraries/LibrariesObservabilityPage.js +7 -7
- package/dist/components/docs/libraries/LibrariesOverlayEnginePage.js +6 -6
- package/dist/components/docs/libraries/LibrariesOverviewPage.js +117 -430
- package/dist/components/docs/libraries/LibrariesPersonalizationPage.js +6 -6
- package/dist/components/docs/libraries/LibrariesProgressiveDeliveryPage.js +6 -6
- package/dist/components/docs/libraries/LibrariesResiliencePage.js +6 -6
- package/dist/components/docs/libraries/LibrariesRuntimePage.js +13 -13
- package/dist/components/docs/libraries/LibrariesSLOPage.js +6 -6
- package/dist/components/docs/libraries/LibrariesSchemaPage.js +16 -16
- package/dist/components/docs/libraries/LibrariesSupportBotPage.js +7 -7
- package/dist/components/docs/libraries/LibrariesTestingPage.js +7 -7
- package/dist/components/docs/libraries/LibrariesUIKitPage.js +10 -10
- package/dist/components/docs/libraries/LibrariesWorkflowComposerPage.js +5 -5
- package/dist/components/docs/libraries/LibrariesWorkflowsPage.js +8 -8
- package/dist/components/docs/libraries/index.d.ts +4 -4
- package/dist/components/docs/libraries/index.js +1308 -1621
- package/dist/components/docs/manifesto/ManifestoPage.js +33 -138
- package/dist/components/docs/ops/AutoEvolutionOpsPage.js +9 -9
- package/dist/components/docs/ops/DistributedTracingOpsPage.js +5 -5
- package/dist/components/docs/ops/index.js +14 -14
- package/dist/components/docs/reference/DocsMarkdownContent.js +1 -1
- package/dist/components/docs/reference/DocsReferenceContent.js +2 -2
- package/dist/components/docs/reference/DocsReferenceIndexClient.js +8 -8
- package/dist/components/docs/reference/DocsReferenceIndexPage.js +8 -8
- package/dist/components/docs/reference/DocsReferencePage.js +2 -2
- package/dist/components/docs/reference/index.js +10 -10
- package/dist/components/docs/safety/SafetyAuditingPage.js +16 -16
- package/dist/components/docs/safety/SafetyMigrationsPage.js +15 -15
- package/dist/components/docs/safety/SafetyOverviewPage.js +69 -206
- package/dist/components/docs/safety/SafetyPDPPage.js +12 -12
- package/dist/components/docs/safety/SafetySecurityTrustPage.js +11 -11
- package/dist/components/docs/safety/SafetySigningPage.js +7 -7
- package/dist/components/docs/safety/SafetyTenantIsolationPage.js +6 -6
- package/dist/components/docs/safety/index.d.ts +3 -3
- package/dist/components/docs/safety/index.js +616 -753
- package/dist/components/docs/shared/StudioPrompt.js +5 -5
- package/dist/components/docs/specs/SpecsCapabilitiesPage.js +12 -12
- package/dist/components/docs/specs/SpecsDataViewsPage.js +14 -14
- package/dist/components/docs/specs/SpecsOverlaysPage.js +14 -14
- package/dist/components/docs/specs/SpecsOverviewPage.js +135 -297
- package/dist/components/docs/specs/SpecsPolicyPage.js +29 -29
- package/dist/components/docs/specs/SpecsWorkflowsPage.js +18 -18
- package/dist/components/docs/specs/index.d.ts +3 -3
- package/dist/components/docs/specs/index.js +814 -976
- package/dist/components/docs/studio/StudioBYOKPage.js +1 -1
- package/dist/components/docs/studio/StudioDeploymentsPage.js +1 -1
- package/dist/components/docs/studio/StudioGettingStartedPage.js +1 -1
- package/dist/components/docs/studio/StudioIntegrationsPage.js +1 -1
- package/dist/components/docs/studio/StudioOverviewPage.js +109 -56
- package/dist/components/docs/studio/StudioVisualBuilderPage.js +1 -1
- package/dist/components/docs/studio/index.d.ts +4 -4
- package/dist/components/docs/studio/index.js +170 -117
- package/dist/components/integrations/index.js +25 -25
- package/dist/components/integrations/molecules/IntegrationCard.js +5 -5
- package/dist/components/integrations/organisms/IntegrationMarketplace.js +12 -12
- package/dist/components/integrations/organisms/IntegrationSettings.js +7 -7
- package/dist/components/integrations/organisms/KnowledgeSourceList.js +6 -6
- package/dist/components/legal/PrivacyTemplate.js +67 -67
- package/dist/components/legal/TermsTemplate.js +54 -54
- package/dist/components/legal/index.js +121 -121
- package/dist/components/shared/FeatureGateNotice.js +4 -4
- package/dist/components/shared/index.js +4 -4
- package/dist/components/shell/WorkspaceHeader.js +4 -4
- package/dist/components/shell/WorkspaceProjectShellLayout.d.ts +3 -3
- package/dist/components/shell/WorkspaceProjectShellLayout.js +10 -10
- package/dist/components/shell/WorkspaceShellRenderer.d.ts +4 -4
- package/dist/components/shell/WorkspaceShellRenderer.js +8 -8
- package/dist/components/shell/WorkspaceSidebar.js +2 -2
- package/dist/components/shell/index.d.ts +1 -1
- package/dist/components/shell/index.js +12 -12
- package/dist/components/templates/engine/index.d.ts +1 -1
- package/dist/components/templates/index.d.ts +1 -1
- package/dist/components/templates/index.js +835 -835
- package/dist/components/templates/messaging/ConversationList.js +11 -11
- package/dist/components/templates/messaging/MessageComposer.js +11 -11
- package/dist/components/templates/messaging/MessageThread.js +6 -6
- package/dist/components/templates/messaging/MessagingWorkspace.js +23 -23
- package/dist/components/templates/messaging/index.d.ts +1 -1
- package/dist/components/templates/messaging/index.js +23 -23
- package/dist/components/templates/recipes/LanguageSwitcher.js +1 -1
- package/dist/components/templates/recipes/RecipeCard.js +5 -5
- package/dist/components/templates/recipes/RecipeDetail.js +8 -8
- package/dist/components/templates/recipes/RecipeList.js +17 -17
- package/dist/components/templates/recipes/index.d.ts +2 -2
- package/dist/components/templates/recipes/index.js +17 -17
- package/dist/components/templates/todos/FilterBar.d.ts +1 -1
- package/dist/components/templates/todos/FilterBar.js +9 -9
- package/dist/components/templates/todos/TaskForm.js +14 -14
- package/dist/components/templates/todos/TaskItem.js +4 -4
- package/dist/components/templates/todos/TaskList.js +30 -30
- package/dist/components/templates/todos/index.d.ts +2 -2
- package/dist/components/templates/todos/index.js +30 -30
- package/dist/config/index.d.ts +2 -2
- package/dist/features/contracts-registry.d.ts +3 -3
- package/dist/features/contracts-registry.js +15 -15
- package/dist/features/docs/docs.contracts.d.ts +1 -1
- package/dist/features/docs/docs.contracts.js +2 -2
- package/dist/features/docs/index.d.ts +1 -1
- package/dist/features/docs/index.js +2 -2
- package/dist/features/index.d.ts +4 -4
- package/dist/features/index.js +18 -18
- package/dist/features/registry.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +17034 -18047
- package/dist/libs/email/client.js +1 -1
- package/dist/libs/email/contact.js +1 -1
- package/dist/libs/email/newsletter.js +1 -1
- package/dist/libs/email/waitlist-application.js +1 -1
- package/dist/libs/email/waitlist.js +1 -1
- package/dist/libs/email.d.ts +1 -1
- package/dist/libs/email.js +1 -1
- package/dist/node/application/index.js +842 -840
- package/dist/node/application/mcp/cliMcp.js +30 -30
- package/dist/node/application/mcp/common.js +2 -2
- package/dist/node/application/mcp/contractsMcp.js +163 -163
- package/dist/node/application/mcp/docsMcp.js +31 -31
- package/dist/node/application/mcp/index.js +842 -840
- package/dist/node/application/mcp/internalMcp.js +30 -30
- package/dist/node/application/mcp/providerRankingMcp.js +35 -33
- package/dist/node/components/docs/DocsIndexPage.js +859 -212
- package/dist/node/components/docs/advanced/AdvancedMCPPage.js +15 -15
- package/dist/node/components/docs/advanced/AdvancedOverlayEditorPage.js +4 -4
- package/dist/node/components/docs/advanced/AdvancedRenderersPage.js +7 -7
- package/dist/node/components/docs/advanced/AdvancedSpecExperimentsPage.js +9 -9
- package/dist/node/components/docs/advanced/AdvancedTelemetryPage.js +16 -16
- package/dist/node/components/docs/advanced/AdvancedWorkflowMonitoringPage.js +6 -6
- package/dist/node/components/docs/advanced/index.js +57 -57
- package/dist/node/components/docs/architecture/ArchitectureAppConfigPage.js +10 -10
- package/dist/node/components/docs/architecture/ArchitectureControlPlanePage.js +8 -8
- package/dist/node/components/docs/architecture/ArchitectureIntegrationBindingPage.js +14 -14
- package/dist/node/components/docs/architecture/ArchitectureKnowledgeBindingPage.js +16 -16
- package/dist/node/components/docs/architecture/ArchitectureMultiTenancyPage.js +7 -7
- package/dist/node/components/docs/architecture/ArchitectureOverviewPage.js +90 -411
- package/dist/node/components/docs/architecture/index.js +145 -466
- package/dist/node/components/docs/comparison/ComparisonAutomationPlatformsPage.js +6 -6
- package/dist/node/components/docs/comparison/ComparisonEnterprisePlatformsPage.js +7 -7
- package/dist/node/components/docs/comparison/ComparisonInternalToolBuildersPage.js +6 -6
- package/dist/node/components/docs/comparison/ComparisonOverviewPage.js +4 -4
- package/dist/node/components/docs/comparison/ComparisonWindmillPage.js +6 -6
- package/dist/node/components/docs/comparison/ComparisonWorkflowEnginesPage.js +6 -6
- package/dist/node/components/docs/comparison/index.js +35 -35
- package/dist/node/components/docs/docsManifest.js +611 -0
- package/dist/node/components/docs/ecosystem/IntegrationsPage.js +5 -5
- package/dist/node/components/docs/ecosystem/PluginsPage.js +7 -7
- package/dist/node/components/docs/ecosystem/RegistryPage.js +4 -4
- package/dist/node/components/docs/ecosystem/TemplatesPage.js +11 -11
- package/dist/node/components/docs/ecosystem/index.js +27 -27
- package/dist/node/components/docs/examples/DocsExamplesPage.js +59 -6
- package/dist/node/components/docs/examples/ExampleShowcasePage.js +257 -0
- package/dist/node/components/docs/examples/exampleShowcaseData.js +52 -0
- package/dist/node/components/docs/examples/index.js +265 -6
- package/dist/node/components/docs/getting-started/CLIPage.js +9 -9
- package/dist/node/components/docs/getting-started/CompatibilityPage.js +12 -12
- package/dist/node/components/docs/getting-started/DataViewTutorialPage.js +7 -7
- package/dist/node/components/docs/getting-started/DeveloperToolsPage.js +10 -10
- package/dist/node/components/docs/getting-started/HelloWorldPage.js +8 -8
- package/dist/node/components/docs/getting-started/InstallationPage.js +10 -10
- package/dist/node/components/docs/getting-started/StartHerePage.js +8 -8
- package/dist/node/components/docs/getting-started/TroubleshootingPage.js +12 -12
- package/dist/node/components/docs/getting-started/VSCodeExtensionPage.js +13 -13
- package/dist/node/components/docs/getting-started/index.js +89 -89
- package/dist/node/components/docs/guides/GuideCIDiffGatingPage.js +13 -13
- package/dist/node/components/docs/guides/GuideContractTypesPage.js +33 -33
- package/dist/node/components/docs/guides/GuideDocsPipelinePage.js +13 -13
- package/dist/node/components/docs/guides/GuideGenerateDocsClientsSchemasPage.js +13 -13
- package/dist/node/components/docs/guides/GuideImportExistingCodebasesPage.js +35 -35
- package/dist/node/components/docs/guides/GuideNextjsOneEndpointPage.js +15 -15
- package/dist/node/components/docs/guides/GuideSpecValidationTypingPage.js +13 -13
- package/dist/node/components/docs/guides/GuidesIndexPage.js +69 -46
- package/dist/node/components/docs/guides/index.js +174 -151
- package/dist/node/components/docs/index.js +15220 -16233
- package/dist/node/components/docs/integrations/IntegrationsCircuitBreakersPage.js +4 -4
- package/dist/node/components/docs/integrations/IntegrationsElevenLabsPage.js +7 -7
- package/dist/node/components/docs/integrations/IntegrationsGithubPage.js +11 -11
- package/dist/node/components/docs/integrations/IntegrationsGmailPage.js +7 -7
- package/dist/node/components/docs/integrations/IntegrationsGoogleCalendarPage.js +5 -5
- package/dist/node/components/docs/integrations/IntegrationsHealthRoutingPage.js +12 -12
- package/dist/node/components/docs/integrations/IntegrationsMistralPage.js +12 -12
- package/dist/node/components/docs/integrations/IntegrationsOpenAIPage.js +11 -11
- package/dist/node/components/docs/integrations/IntegrationsOverviewPage.js +119 -736
- package/dist/node/components/docs/integrations/IntegrationsPostmarkPage.js +12 -12
- package/dist/node/components/docs/integrations/IntegrationsPowensPage.js +24 -24
- package/dist/node/components/docs/integrations/IntegrationsQdrantPage.js +9 -9
- package/dist/node/components/docs/integrations/IntegrationsResendPage.js +7 -7
- package/dist/node/components/docs/integrations/IntegrationsS3Page.js +9 -9
- package/dist/node/components/docs/integrations/IntegrationsSlackPage.js +11 -11
- package/dist/node/components/docs/integrations/IntegrationsSpecModelPage.js +19 -19
- package/dist/node/components/docs/integrations/IntegrationsStripePage.js +25 -25
- package/dist/node/components/docs/integrations/IntegrationsTwilioPage.js +9 -9
- package/dist/node/components/docs/integrations/IntegrationsWhatsappMetaPage.js +12 -12
- package/dist/node/components/docs/integrations/IntegrationsWhatsappTwilioPage.js +13 -13
- package/dist/node/components/docs/integrations/index.js +614 -1231
- package/dist/node/components/docs/intent/ContractFirstApiPage.js +8 -8
- package/dist/node/components/docs/intent/DeterministicCodegenPage.js +9 -9
- package/dist/node/components/docs/intent/GenerateClientFromSchemaPage.js +13 -13
- package/dist/node/components/docs/intent/OpenapiAlternativePage.js +13 -13
- package/dist/node/components/docs/intent/SchemaValidationTypescriptPage.js +9 -9
- package/dist/node/components/docs/intent/SpecDrivenDevelopmentPage.js +8 -8
- package/dist/node/components/docs/intent/index.js +766 -766
- package/dist/node/components/docs/knowledge/KnowledgeCategoriesPage.js +38 -38
- package/dist/node/components/docs/knowledge/KnowledgeExamplesPage.js +9 -9
- package/dist/node/components/docs/knowledge/KnowledgeOverviewPage.js +91 -439
- package/dist/node/components/docs/knowledge/KnowledgeSourcesPage.js +28 -28
- package/dist/node/components/docs/knowledge/KnowledgeSpacesPage.js +21 -21
- package/dist/node/components/docs/knowledge/index.js +437 -785
- package/dist/node/components/docs/libraries/LibrariesAccessibilityPage.js +16 -16
- package/dist/node/components/docs/libraries/LibrariesAiAgentPage.js +8 -8
- package/dist/node/components/docs/libraries/LibrariesAnalyticsPage.js +6 -6
- package/dist/node/components/docs/libraries/LibrariesContentGenPage.js +6 -6
- package/dist/node/components/docs/libraries/LibrariesContractsPage.js +16 -16
- package/dist/node/components/docs/libraries/LibrariesCostTrackingPage.js +6 -6
- package/dist/node/components/docs/libraries/LibrariesDataBackendPage.js +14 -14
- package/dist/node/components/docs/libraries/LibrariesDataViewsPage.js +7 -7
- package/dist/node/components/docs/libraries/LibrariesDesignSystemPage.js +13 -13
- package/dist/node/components/docs/libraries/LibrariesEvolutionPage.js +7 -7
- package/dist/node/components/docs/libraries/LibrariesGraphQLPage.js +13 -13
- package/dist/node/components/docs/libraries/LibrariesGrowthPage.js +5 -5
- package/dist/node/components/docs/libraries/LibrariesMultiTenancyPage.js +5 -5
- package/dist/node/components/docs/libraries/LibrariesObservabilityPage.js +7 -7
- package/dist/node/components/docs/libraries/LibrariesOverlayEnginePage.js +6 -6
- package/dist/node/components/docs/libraries/LibrariesOverviewPage.js +117 -430
- package/dist/node/components/docs/libraries/LibrariesPersonalizationPage.js +6 -6
- package/dist/node/components/docs/libraries/LibrariesProgressiveDeliveryPage.js +6 -6
- package/dist/node/components/docs/libraries/LibrariesResiliencePage.js +6 -6
- package/dist/node/components/docs/libraries/LibrariesRuntimePage.js +13 -13
- package/dist/node/components/docs/libraries/LibrariesSLOPage.js +6 -6
- package/dist/node/components/docs/libraries/LibrariesSchemaPage.js +16 -16
- package/dist/node/components/docs/libraries/LibrariesSupportBotPage.js +7 -7
- package/dist/node/components/docs/libraries/LibrariesTestingPage.js +7 -7
- package/dist/node/components/docs/libraries/LibrariesUIKitPage.js +10 -10
- package/dist/node/components/docs/libraries/LibrariesWorkflowComposerPage.js +5 -5
- package/dist/node/components/docs/libraries/LibrariesWorkflowsPage.js +8 -8
- package/dist/node/components/docs/libraries/index.js +1308 -1621
- package/dist/node/components/docs/manifesto/ManifestoPage.js +33 -138
- package/dist/node/components/docs/ops/AutoEvolutionOpsPage.js +9 -9
- package/dist/node/components/docs/ops/DistributedTracingOpsPage.js +5 -5
- package/dist/node/components/docs/ops/index.js +14 -14
- package/dist/node/components/docs/reference/DocsMarkdownContent.js +1 -1
- package/dist/node/components/docs/reference/DocsReferenceContent.js +2 -2
- package/dist/node/components/docs/reference/DocsReferenceIndexClient.js +8 -8
- package/dist/node/components/docs/reference/DocsReferenceIndexPage.js +8 -8
- package/dist/node/components/docs/reference/DocsReferencePage.js +2 -2
- package/dist/node/components/docs/reference/index.js +10 -10
- package/dist/node/components/docs/safety/SafetyAuditingPage.js +16 -16
- package/dist/node/components/docs/safety/SafetyMigrationsPage.js +15 -15
- package/dist/node/components/docs/safety/SafetyOverviewPage.js +69 -206
- package/dist/node/components/docs/safety/SafetyPDPPage.js +12 -12
- package/dist/node/components/docs/safety/SafetySecurityTrustPage.js +11 -11
- package/dist/node/components/docs/safety/SafetySigningPage.js +7 -7
- package/dist/node/components/docs/safety/SafetyTenantIsolationPage.js +6 -6
- package/dist/node/components/docs/safety/index.js +616 -753
- package/dist/node/components/docs/shared/StudioPrompt.js +5 -5
- package/dist/node/components/docs/specs/SpecsCapabilitiesPage.js +12 -12
- package/dist/node/components/docs/specs/SpecsDataViewsPage.js +14 -14
- package/dist/node/components/docs/specs/SpecsOverlaysPage.js +14 -14
- package/dist/node/components/docs/specs/SpecsOverviewPage.js +135 -297
- package/dist/node/components/docs/specs/SpecsPolicyPage.js +29 -29
- package/dist/node/components/docs/specs/SpecsWorkflowsPage.js +18 -18
- package/dist/node/components/docs/specs/index.js +814 -976
- package/dist/node/components/docs/studio/StudioBYOKPage.js +1 -1
- package/dist/node/components/docs/studio/StudioDeploymentsPage.js +1 -1
- package/dist/node/components/docs/studio/StudioGettingStartedPage.js +1 -1
- package/dist/node/components/docs/studio/StudioIntegrationsPage.js +1 -1
- package/dist/node/components/docs/studio/StudioOverviewPage.js +109 -56
- package/dist/node/components/docs/studio/StudioVisualBuilderPage.js +1 -1
- package/dist/node/components/docs/studio/index.js +170 -117
- package/dist/node/components/integrations/index.js +25 -25
- package/dist/node/components/integrations/molecules/IntegrationCard.js +5 -5
- package/dist/node/components/integrations/organisms/IntegrationMarketplace.js +12 -12
- package/dist/node/components/integrations/organisms/IntegrationSettings.js +7 -7
- package/dist/node/components/integrations/organisms/KnowledgeSourceList.js +6 -6
- package/dist/node/components/legal/PrivacyTemplate.js +67 -67
- package/dist/node/components/legal/TermsTemplate.js +54 -54
- package/dist/node/components/legal/index.js +121 -121
- package/dist/node/components/shared/FeatureGateNotice.js +4 -4
- package/dist/node/components/shared/index.js +4 -4
- package/dist/node/components/shell/WorkspaceHeader.js +4 -4
- package/dist/node/components/shell/WorkspaceProjectShellLayout.js +10 -10
- package/dist/node/components/shell/WorkspaceShellRenderer.js +8 -8
- package/dist/node/components/shell/WorkspaceSidebar.js +2 -2
- package/dist/node/components/shell/index.js +12 -12
- package/dist/node/components/templates/index.js +835 -835
- package/dist/node/components/templates/messaging/ConversationList.js +11 -11
- package/dist/node/components/templates/messaging/MessageComposer.js +11 -11
- package/dist/node/components/templates/messaging/MessageThread.js +6 -6
- package/dist/node/components/templates/messaging/MessagingWorkspace.js +23 -23
- package/dist/node/components/templates/messaging/index.js +23 -23
- package/dist/node/components/templates/recipes/LanguageSwitcher.js +1 -1
- package/dist/node/components/templates/recipes/RecipeCard.js +5 -5
- package/dist/node/components/templates/recipes/RecipeDetail.js +8 -8
- package/dist/node/components/templates/recipes/RecipeList.js +17 -17
- package/dist/node/components/templates/recipes/index.js +17 -17
- package/dist/node/components/templates/todos/FilterBar.js +9 -9
- package/dist/node/components/templates/todos/TaskForm.js +14 -14
- package/dist/node/components/templates/todos/TaskItem.js +4 -4
- package/dist/node/components/templates/todos/TaskList.js +30 -30
- package/dist/node/components/templates/todos/index.js +30 -30
- package/dist/node/features/contracts-registry.js +15 -15
- package/dist/node/features/docs/docs.contracts.js +2 -2
- package/dist/node/features/docs/index.js +2 -2
- package/dist/node/features/index.js +18 -18
- package/dist/node/features/registry.js +1 -1
- package/dist/node/index.js +17034 -18047
- package/dist/node/libs/email/client.js +1 -1
- package/dist/node/libs/email/contact.js +1 -1
- package/dist/node/libs/email/newsletter.js +1 -1
- package/dist/node/libs/email/waitlist-application.js +1 -1
- package/dist/node/libs/email/waitlist.js +1 -1
- package/dist/node/libs/email.js +1 -1
- package/dist/node/presentation/features/atoms/FeatureIcon/FeatureIcon.js +7 -7
- package/dist/node/presentation/features/atoms/FeatureIcon/index.js +7 -7
- package/dist/node/presentation/features/atoms/index.js +7 -7
- package/dist/node/presentation/features/hooks/index.js +56 -56
- package/dist/node/presentation/features/hooks/useContractsRegistry.js +18 -18
- package/dist/node/presentation/features/hooks/useFeatureFilters.js +1 -1
- package/dist/node/presentation/features/hooks/useFeatureRegistry.js +1 -1
- package/dist/node/presentation/features/hooks/useRelatedDocs.js +1 -1
- package/dist/node/presentation/features/index.js +1364 -1364
- package/dist/node/presentation/features/molecules/FeatureCard/FeatureCard.js +15 -15
- package/dist/node/presentation/features/molecules/FeatureCard/index.js +15 -15
- package/dist/node/presentation/features/molecules/FeatureCategoryHeader/FeatureCategoryHeader.js +7 -7
- package/dist/node/presentation/features/molecules/FeatureCategoryHeader/index.js +7 -7
- package/dist/node/presentation/features/molecules/FeatureFilters/FeatureFilters.js +1 -1
- package/dist/node/presentation/features/molecules/FeatureFilters/index.js +1 -1
- package/dist/node/presentation/features/molecules/FeatureHoverPreview/FeatureHoverPreview.js +5 -5
- package/dist/node/presentation/features/molecules/FeatureHoverPreview/index.js +5 -5
- package/dist/node/presentation/features/molecules/index.js +77 -77
- package/dist/node/presentation/features/organisms/FeatureDataViewsList.js +18 -18
- package/dist/node/presentation/features/organisms/FeatureDiscovery/FeatureDiscovery.js +121 -121
- package/dist/node/presentation/features/organisms/FeatureDiscovery/index.js +121 -121
- package/dist/node/presentation/features/organisms/FeatureEventsList.js +18 -18
- package/dist/node/presentation/features/organisms/FeatureFormsList.js +18 -18
- package/dist/node/presentation/features/organisms/FeatureOperationsList.js +15 -15
- package/dist/node/presentation/features/organisms/FeaturePresentationsList.js +18 -18
- package/dist/node/presentation/features/organisms/index.js +401 -401
- package/dist/node/presentation/features/templates/FeatureDataViewDetailTemplate/FeatureDataViewDetailTemplate.js +13 -13
- package/dist/node/presentation/features/templates/FeatureDataViewDetailTemplate/index.js +13 -13
- package/dist/node/presentation/features/templates/FeatureDataViewsTemplate/FeatureDataViewsTemplate.js +20 -20
- package/dist/node/presentation/features/templates/FeatureDataViewsTemplate/index.js +20 -20
- package/dist/node/presentation/features/templates/FeatureEventDetailTemplate/FeatureEventDetailTemplate.js +12 -12
- package/dist/node/presentation/features/templates/FeatureEventDetailTemplate/index.js +12 -12
- package/dist/node/presentation/features/templates/FeatureEventsTemplate/FeatureEventsTemplate.js +18 -18
- package/dist/node/presentation/features/templates/FeatureEventsTemplate/index.js +18 -18
- package/dist/node/presentation/features/templates/FeatureFormDetailTemplate/FeatureFormDetailTemplate.js +13 -13
- package/dist/node/presentation/features/templates/FeatureFormDetailTemplate/index.js +13 -13
- package/dist/node/presentation/features/templates/FeatureFormsTemplate/FeatureFormsTemplate.js +20 -20
- package/dist/node/presentation/features/templates/FeatureFormsTemplate/index.js +20 -20
- package/dist/node/presentation/features/templates/FeatureOperationDetailTemplate/FeatureOperationDetailTemplate.js +8 -8
- package/dist/node/presentation/features/templates/FeatureOperationDetailTemplate/index.js +8 -8
- package/dist/node/presentation/features/templates/FeatureOperationsTemplate/FeatureOperationsTemplate.js +15 -15
- package/dist/node/presentation/features/templates/FeatureOperationsTemplate/index.js +15 -15
- package/dist/node/presentation/features/templates/FeatureOverviewTemplate/FeatureOverviewTemplate.js +2 -2
- package/dist/node/presentation/features/templates/FeatureOverviewTemplate/index.js +2 -2
- package/dist/node/presentation/features/templates/FeaturePresentationDetailTemplate/FeaturePresentationDetailTemplate.js +12 -12
- package/dist/node/presentation/features/templates/FeaturePresentationDetailTemplate/index.js +12 -12
- package/dist/node/presentation/features/templates/FeaturePresentationsTemplate/FeaturePresentationsTemplate.js +18 -18
- package/dist/node/presentation/features/templates/FeaturePresentationsTemplate/index.js +18 -18
- package/dist/presentation/features/atoms/FeatureIcon/FeatureIcon.js +7 -7
- package/dist/presentation/features/atoms/FeatureIcon/index.d.ts +1 -1
- package/dist/presentation/features/atoms/FeatureIcon/index.js +7 -7
- package/dist/presentation/features/atoms/index.js +7 -7
- package/dist/presentation/features/hooks/index.d.ts +3 -3
- package/dist/presentation/features/hooks/index.js +56 -56
- package/dist/presentation/features/hooks/useContractsRegistry.js +18 -18
- package/dist/presentation/features/hooks/useFeatureFilters.js +1 -1
- package/dist/presentation/features/hooks/useFeatureRegistry.js +1 -1
- package/dist/presentation/features/hooks/useRelatedDocs.js +1 -1
- package/dist/presentation/features/index.d.ts +14 -14
- package/dist/presentation/features/index.js +1364 -1364
- package/dist/presentation/features/molecules/FeatureCard/FeatureCard.js +15 -15
- package/dist/presentation/features/molecules/FeatureCard/index.js +15 -15
- package/dist/presentation/features/molecules/FeatureCategoryHeader/FeatureCategoryHeader.js +7 -7
- package/dist/presentation/features/molecules/FeatureCategoryHeader/index.js +7 -7
- package/dist/presentation/features/molecules/FeatureFilters/FeatureFilters.js +1 -1
- package/dist/presentation/features/molecules/FeatureFilters/index.js +1 -1
- package/dist/presentation/features/molecules/FeatureHoverPreview/FeatureHoverPreview.js +5 -5
- package/dist/presentation/features/molecules/FeatureHoverPreview/index.js +5 -5
- package/dist/presentation/features/molecules/index.d.ts +1 -1
- package/dist/presentation/features/molecules/index.js +77 -77
- package/dist/presentation/features/organisms/FeatureDataViewsList.js +18 -18
- package/dist/presentation/features/organisms/FeatureDiscovery/FeatureDiscovery.js +121 -121
- package/dist/presentation/features/organisms/FeatureDiscovery/index.d.ts +1 -1
- package/dist/presentation/features/organisms/FeatureDiscovery/index.js +121 -121
- package/dist/presentation/features/organisms/FeatureEventsList.js +18 -18
- package/dist/presentation/features/organisms/FeatureFormsList.js +18 -18
- package/dist/presentation/features/organisms/FeatureOperationsList.js +15 -15
- package/dist/presentation/features/organisms/FeaturePresentationsList.js +18 -18
- package/dist/presentation/features/organisms/index.d.ts +4 -4
- package/dist/presentation/features/organisms/index.js +401 -401
- package/dist/presentation/features/templates/FeatureDataViewDetailTemplate/FeatureDataViewDetailTemplate.js +13 -13
- package/dist/presentation/features/templates/FeatureDataViewDetailTemplate/index.js +13 -13
- package/dist/presentation/features/templates/FeatureDataViewDetailTemplate/types.d.ts +1 -1
- package/dist/presentation/features/templates/FeatureDataViewsTemplate/FeatureDataViewsTemplate.js +20 -20
- package/dist/presentation/features/templates/FeatureDataViewsTemplate/index.js +20 -20
- package/dist/presentation/features/templates/FeatureEventDetailTemplate/FeatureEventDetailTemplate.js +12 -12
- package/dist/presentation/features/templates/FeatureEventDetailTemplate/index.js +12 -12
- package/dist/presentation/features/templates/FeatureEventsTemplate/FeatureEventsTemplate.js +18 -18
- package/dist/presentation/features/templates/FeatureEventsTemplate/index.js +18 -18
- package/dist/presentation/features/templates/FeatureFormDetailTemplate/FeatureFormDetailTemplate.js +13 -13
- package/dist/presentation/features/templates/FeatureFormDetailTemplate/index.js +13 -13
- package/dist/presentation/features/templates/FeatureFormsTemplate/FeatureFormsTemplate.js +20 -20
- package/dist/presentation/features/templates/FeatureFormsTemplate/index.js +20 -20
- package/dist/presentation/features/templates/FeatureOperationDetailTemplate/FeatureOperationDetailTemplate.js +8 -8
- package/dist/presentation/features/templates/FeatureOperationDetailTemplate/index.js +8 -8
- package/dist/presentation/features/templates/FeatureOperationsTemplate/FeatureOperationsTemplate.js +15 -15
- package/dist/presentation/features/templates/FeatureOperationsTemplate/index.js +15 -15
- package/dist/presentation/features/templates/FeatureOverviewTemplate/FeatureOverviewTemplate.js +2 -2
- package/dist/presentation/features/templates/FeatureOverviewTemplate/index.js +2 -2
- package/dist/presentation/features/templates/FeaturePresentationDetailTemplate/FeaturePresentationDetailTemplate.js +12 -12
- package/dist/presentation/features/templates/FeaturePresentationDetailTemplate/index.js +12 -12
- package/dist/presentation/features/templates/FeaturePresentationsTemplate/FeaturePresentationsTemplate.js +18 -18
- package/dist/presentation/features/templates/FeaturePresentationsTemplate/index.js +18 -18
- package/package.json +70 -32
- package/src/__tests__/env-setup.ts +1 -1
- package/src/__tests__/mocks/prisma.ts +78 -78
- package/src/__tests__/setup.ts +2 -2
- package/src/application/context-storage/index.ts +42 -42
- package/src/application/index.ts +1 -1
- package/src/application/mcp/cliMcp.ts +221 -221
- package/src/application/mcp/common.ts +210 -210
- package/src/application/mcp/contractsMcp.ts +15 -15
- package/src/application/mcp/contractsMcpResources.ts +119 -119
- package/src/application/mcp/contractsMcpTools.ts +218 -218
- package/src/application/mcp/contractsMcpTypes.ts +35 -35
- package/src/application/mcp/docsMcp.ts +173 -173
- package/src/application/mcp/index.ts +2 -2
- package/src/application/mcp/internalMcp.ts +204 -204
- package/src/application/mcp/providerRankingMcp.ts +346 -344
- package/src/bundles/LibraryBundle.ts +136 -136
- package/src/components/docs/DocsIndexPage.tsx +189 -241
- package/src/components/docs/advanced/AdvancedMCPPage.tsx +168 -168
- package/src/components/docs/advanced/AdvancedOverlayEditorPage.tsx +52 -52
- package/src/components/docs/advanced/AdvancedRenderersPage.tsx +53 -53
- package/src/components/docs/advanced/AdvancedSpecExperimentsPage.tsx +48 -48
- package/src/components/docs/advanced/AdvancedTelemetryPage.tsx +205 -205
- package/src/components/docs/advanced/AdvancedWorkflowMonitoringPage.tsx +42 -42
- package/src/components/docs/advanced/index.ts +2 -2
- package/src/components/docs/architecture/ArchitectureAppConfigPage.tsx +127 -127
- package/src/components/docs/architecture/ArchitectureControlPlanePage.tsx +79 -79
- package/src/components/docs/architecture/ArchitectureIntegrationBindingPage.tsx +147 -147
- package/src/components/docs/architecture/ArchitectureKnowledgeBindingPage.tsx +193 -193
- package/src/components/docs/architecture/ArchitectureMultiTenancyPage.tsx +73 -73
- package/src/components/docs/architecture/ArchitectureOverviewPage.tsx +98 -273
- package/src/components/docs/architecture/index.ts +3 -3
- package/src/components/docs/comparison/ComparisonAutomationPlatformsPage.tsx +137 -137
- package/src/components/docs/comparison/ComparisonEnterprisePlatformsPage.tsx +138 -138
- package/src/components/docs/comparison/ComparisonInternalToolBuildersPage.tsx +147 -147
- package/src/components/docs/comparison/ComparisonOverviewPage.tsx +106 -106
- package/src/components/docs/comparison/ComparisonWindmillPage.tsx +143 -143
- package/src/components/docs/comparison/ComparisonWorkflowEnginesPage.tsx +168 -168
- package/src/components/docs/comparison/index.ts +2 -2
- package/src/components/docs/docsManifest.ts +720 -0
- package/src/components/docs/ecosystem/IntegrationsPage.tsx +45 -45
- package/src/components/docs/ecosystem/PluginsPage.tsx +77 -77
- package/src/components/docs/ecosystem/RegistryPage.tsx +48 -48
- package/src/components/docs/ecosystem/TemplatesPage.tsx +52 -52
- package/src/components/docs/ecosystem/ecosystem.docblocks.ts +42 -42
- package/src/components/docs/ecosystem/index.ts +2 -2
- package/src/components/docs/examples/DocsExamplesPage.tsx +78 -66
- package/src/components/docs/examples/ExampleShowcasePage.tsx +122 -0
- package/src/components/docs/examples/exampleShowcaseData.ts +65 -0
- package/src/components/docs/examples/index.ts +1 -0
- package/src/components/docs/generated/docs-index._common.json +1757 -1757
- package/src/components/docs/generated/docs-index.agent-console.json +376 -376
- package/src/components/docs/generated/docs-index.ai-chat-assistant.json +8 -8
- package/src/components/docs/generated/docs-index.ai-chat.json +104 -104
- package/src/components/docs/generated/docs-index.ai-support-bot.json +8 -8
- package/src/components/docs/generated/docs-index.analytics-dashboard.json +168 -168
- package/src/components/docs/generated/docs-index.app-config.json +136 -136
- package/src/components/docs/generated/docs-index.audit-trail.json +48 -48
- package/src/components/docs/generated/docs-index.calendar-google.json +8 -8
- package/src/components/docs/generated/docs-index.content-generation.json +8 -8
- package/src/components/docs/generated/docs-index.crm-pipeline.json +160 -160
- package/src/components/docs/generated/docs-index.email-gmail.json +8 -8
- package/src/components/docs/generated/docs-index.feature-flags.json +216 -216
- package/src/components/docs/generated/docs-index.files.json +176 -176
- package/src/components/docs/generated/docs-index.generated.ts +19 -19
- package/src/components/docs/generated/docs-index.health.json +96 -96
- package/src/components/docs/generated/docs-index.identity-rbac.json +312 -312
- package/src/components/docs/generated/docs-index.in-app-docs.json +8 -8
- package/src/components/docs/generated/docs-index.integration-hub.json +264 -264
- package/src/components/docs/generated/docs-index.integration-posthog.json +8 -8
- package/src/components/docs/generated/docs-index.integration-stripe.json +8 -8
- package/src/components/docs/generated/docs-index.integration-supabase.json +8 -8
- package/src/components/docs/generated/docs-index.jobs.json +136 -136
- package/src/components/docs/generated/docs-index.kb-update-pipeline.json +128 -128
- package/src/components/docs/generated/docs-index.knowledge-canon.json +8 -8
- package/src/components/docs/generated/docs-index.learning-journey-ambient-coach.json +8 -8
- package/src/components/docs/generated/docs-index.learning-journey-crm-onboarding.json +48 -48
- package/src/components/docs/generated/docs-index.learning-journey-duo-drills.json +8 -8
- package/src/components/docs/generated/docs-index.learning-journey-platform-tour.json +48 -48
- package/src/components/docs/generated/docs-index.learning-journey-quest-challenges.json +8 -8
- package/src/components/docs/generated/docs-index.learning-journey-registry.json +32 -32
- package/src/components/docs/generated/docs-index.learning-journey-studio-onboarding.json +48 -48
- package/src/components/docs/generated/docs-index.learning-journey-ui-coaching.json +8 -8
- package/src/components/docs/generated/docs-index.learning-journey-ui-gamified.json +8 -8
- package/src/components/docs/generated/docs-index.learning-journey-ui-onboarding.json +8 -8
- package/src/components/docs/generated/docs-index.learning-journey-ui-shared.json +8 -8
- package/src/components/docs/generated/docs-index.learning-journey.json +216 -216
- package/src/components/docs/generated/docs-index.learning-patterns.json +8 -8
- package/src/components/docs/generated/docs-index.lifecycle-cli.json +8 -8
- package/src/components/docs/generated/docs-index.lifecycle-dashboard.json +8 -8
- package/src/components/docs/generated/docs-index.locale-jurisdiction-gate.json +48 -48
- package/src/components/docs/generated/docs-index.manifest.json +376 -376
- package/src/components/docs/generated/docs-index.marketplace.json +336 -336
- package/src/components/docs/generated/docs-index.meeting-recorder-providers.json +8 -8
- package/src/components/docs/generated/docs-index.meeting-recorder.json +48 -48
- package/src/components/docs/generated/docs-index.metrics.json +200 -200
- package/src/components/docs/generated/docs-index.minimal.json +16 -16
- package/src/components/docs/generated/docs-index.notifications.json +64 -64
- package/src/components/docs/generated/docs-index.openbanking-powens.json +8 -8
- package/src/components/docs/generated/docs-index.openbanking.json +64 -64
- package/src/components/docs/generated/docs-index.opencode-cli.json +16 -16
- package/src/components/docs/generated/docs-index.personalization.json +8 -8
- package/src/components/docs/generated/docs-index.platform-acp.json +72 -72
- package/src/components/docs/generated/docs-index.platform-agent.json +96 -96
- package/src/components/docs/generated/docs-index.platform-context.json +56 -56
- package/src/components/docs/generated/docs-index.platform-database.json +48 -48
- package/src/components/docs/generated/docs-index.platform-docs.json +88 -88
- package/src/components/docs/generated/docs-index.platform-integrations.json +320 -320
- package/src/components/docs/generated/docs-index.platform-knowledge.json +56 -56
- package/src/components/docs/generated/docs-index.platform-provider-ranking.json +96 -96
- package/src/components/docs/generated/docs-index.pocket-family-office.json +120 -120
- package/src/components/docs/generated/docs-index.policy-safe-knowledge-assistant.json +8 -8
- package/src/components/docs/generated/docs-index.product-intent.json +8 -8
- package/src/components/docs/generated/docs-index.project-management-sync.json +8 -8
- package/src/components/docs/generated/docs-index.saas-boilerplate.json +208 -208
- package/src/components/docs/generated/docs-index.service-business-os.json +192 -192
- package/src/components/docs/generated/docs-index.team-hub.json +184 -184
- package/src/components/docs/generated/docs-index.unknown.json +512 -512
- package/src/components/docs/generated/docs-index.versioned-knowledge-base.json +80 -80
- package/src/components/docs/generated/docs-index.video-api-showcase.json +32 -32
- package/src/components/docs/generated/docs-index.video-docs-terminal.json +8 -8
- package/src/components/docs/generated/docs-index.video-marketing-clip.json +8 -8
- package/src/components/docs/generated/docs-index.voice-providers.json +8 -8
- package/src/components/docs/generated/docs-index.wealth-snapshot.json +152 -152
- package/src/components/docs/generated/docs-index.workflow-system.json +432 -432
- package/src/components/docs/generated/docs-index.workspace-cli.json +8 -8
- package/src/components/docs/generated/index.ts +6 -6
- package/src/components/docs/generated/loader.ts +49 -49
- package/src/components/docs/getting-started/CLIPage.tsx +157 -157
- package/src/components/docs/getting-started/CompatibilityPage.tsx +69 -69
- package/src/components/docs/getting-started/DataViewTutorialPage.tsx +63 -63
- package/src/components/docs/getting-started/DeveloperToolsPage.tsx +141 -140
- package/src/components/docs/getting-started/HelloWorldPage.tsx +88 -88
- package/src/components/docs/getting-started/InstallationPage.tsx +78 -78
- package/src/components/docs/getting-started/StartHerePage.tsx +64 -64
- package/src/components/docs/getting-started/TroubleshootingPage.tsx +68 -68
- package/src/components/docs/getting-started/VSCodeExtensionPage.tsx +233 -233
- package/src/components/docs/getting-started/getting-started.docblocks.ts +30 -30
- package/src/components/docs/getting-started/index.ts +6 -5
- package/src/components/docs/guides/GuideCIDiffGatingPage.tsx +88 -88
- package/src/components/docs/guides/GuideContractTypesPage.tsx +266 -266
- package/src/components/docs/guides/GuideDocsPipelinePage.tsx +78 -78
- package/src/components/docs/guides/GuideGenerateDocsClientsSchemasPage.tsx +89 -89
- package/src/components/docs/guides/GuideImportExistingCodebasesPage.tsx +360 -360
- package/src/components/docs/guides/GuideNextjsOneEndpointPage.tsx +117 -117
- package/src/components/docs/guides/GuideSpecValidationTypingPage.tsx +82 -82
- package/src/components/docs/guides/GuidesIndexPage.tsx +109 -99
- package/src/components/docs/guides/guides.docblocks.ts +60 -60
- package/src/components/docs/guides/index.ts +4 -4
- package/src/components/docs/index.ts +26 -40
- package/src/components/docs/integrations/IntegrationsCircuitBreakersPage.tsx +22 -22
- package/src/components/docs/integrations/IntegrationsElevenLabsPage.tsx +41 -41
- package/src/components/docs/integrations/IntegrationsGithubPage.tsx +66 -66
- package/src/components/docs/integrations/IntegrationsGmailPage.tsx +44 -44
- package/src/components/docs/integrations/IntegrationsGoogleCalendarPage.tsx +31 -31
- package/src/components/docs/integrations/IntegrationsHealthRoutingPage.tsx +80 -80
- package/src/components/docs/integrations/IntegrationsMistralPage.tsx +65 -65
- package/src/components/docs/integrations/IntegrationsOpenAIPage.tsx +54 -54
- package/src/components/docs/integrations/IntegrationsOverviewPage.tsx +124 -529
- package/src/components/docs/integrations/IntegrationsPostmarkPage.tsx +97 -97
- package/src/components/docs/integrations/IntegrationsPowensPage.tsx +165 -165
- package/src/components/docs/integrations/IntegrationsQdrantPage.tsx +44 -44
- package/src/components/docs/integrations/IntegrationsResendPage.tsx +40 -40
- package/src/components/docs/integrations/IntegrationsS3Page.tsx +48 -48
- package/src/components/docs/integrations/IntegrationsSlackPage.tsx +70 -70
- package/src/components/docs/integrations/IntegrationsSpecModelPage.tsx +139 -139
- package/src/components/docs/integrations/IntegrationsStripePage.tsx +153 -153
- package/src/components/docs/integrations/IntegrationsTwilioPage.tsx +50 -50
- package/src/components/docs/integrations/IntegrationsWhatsappMetaPage.tsx +69 -69
- package/src/components/docs/integrations/IntegrationsWhatsappTwilioPage.tsx +73 -73
- package/src/components/docs/integrations/index.ts +1 -1
- package/src/components/docs/intent/ContractFirstApiPage.tsx +61 -61
- package/src/components/docs/intent/DeterministicCodegenPage.tsx +81 -80
- package/src/components/docs/intent/GenerateClientFromSchemaPage.tsx +108 -108
- package/src/components/docs/intent/OpenapiAlternativePage.tsx +98 -98
- package/src/components/docs/intent/SchemaValidationTypescriptPage.tsx +79 -79
- package/src/components/docs/intent/SpecDrivenDevelopmentPage.tsx +67 -67
- package/src/components/docs/intent/index.ts +3 -3
- package/src/components/docs/intent/intent-pages.docblocks.ts +186 -186
- package/src/components/docs/knowledge/KnowledgeCategoriesPage.tsx +304 -304
- package/src/components/docs/knowledge/KnowledgeExamplesPage.tsx +84 -84
- package/src/components/docs/knowledge/KnowledgeOverviewPage.tsx +76 -285
- package/src/components/docs/knowledge/KnowledgeSourcesPage.tsx +171 -171
- package/src/components/docs/knowledge/KnowledgeSpacesPage.tsx +132 -132
- package/src/components/docs/knowledge/index.ts +1 -1
- package/src/components/docs/libraries/LibrariesAccessibilityPage.tsx +95 -95
- package/src/components/docs/libraries/LibrariesAiAgentPage.tsx +58 -58
- package/src/components/docs/libraries/LibrariesAnalyticsPage.tsx +39 -39
- package/src/components/docs/libraries/LibrariesContentGenPage.tsx +41 -41
- package/src/components/docs/libraries/LibrariesContractsPage.tsx +132 -132
- package/src/components/docs/libraries/LibrariesCostTrackingPage.tsx +47 -47
- package/src/components/docs/libraries/LibrariesDataBackendPage.tsx +73 -73
- package/src/components/docs/libraries/LibrariesDataViewsPage.tsx +76 -76
- package/src/components/docs/libraries/LibrariesDesignSystemPage.tsx +115 -115
- package/src/components/docs/libraries/LibrariesEvolutionPage.tsx +64 -64
- package/src/components/docs/libraries/LibrariesGraphQLPage.tsx +92 -92
- package/src/components/docs/libraries/LibrariesGrowthPage.tsx +37 -37
- package/src/components/docs/libraries/LibrariesMultiTenancyPage.tsx +47 -47
- package/src/components/docs/libraries/LibrariesObservabilityPage.tsx +58 -58
- package/src/components/docs/libraries/LibrariesOverlayEnginePage.tsx +51 -51
- package/src/components/docs/libraries/LibrariesOverviewPage.tsx +137 -301
- package/src/components/docs/libraries/LibrariesPersonalizationPage.tsx +57 -57
- package/src/components/docs/libraries/LibrariesProgressiveDeliveryPage.tsx +51 -51
- package/src/components/docs/libraries/LibrariesResiliencePage.tsx +54 -54
- package/src/components/docs/libraries/LibrariesRuntimePage.tsx +96 -96
- package/src/components/docs/libraries/LibrariesSLOPage.tsx +52 -52
- package/src/components/docs/libraries/LibrariesSchemaPage.tsx +131 -131
- package/src/components/docs/libraries/LibrariesSupportBotPage.tsx +59 -59
- package/src/components/docs/libraries/LibrariesTestingPage.tsx +64 -64
- package/src/components/docs/libraries/LibrariesUIKitPage.tsx +85 -85
- package/src/components/docs/libraries/LibrariesWorkflowComposerPage.tsx +38 -38
- package/src/components/docs/libraries/LibrariesWorkflowsPage.tsx +79 -79
- package/src/components/docs/libraries/index.ts +4 -4
- package/src/components/docs/manifesto/ManifestoPage.tsx +61 -132
- package/src/components/docs/ops/AutoEvolutionOpsPage.tsx +81 -81
- package/src/components/docs/ops/DistributedTracingOpsPage.tsx +28 -28
- package/src/components/docs/ops/ops-lifecycle.docblocks.ts +32 -32
- package/src/components/docs/ops/ops-runbooks-a.docblocks.ts +60 -60
- package/src/components/docs/ops/ops-runbooks-b.docblocks.ts +60 -60
- package/src/components/docs/ops/ops-slo-tenant.docblocks.ts +61 -61
- package/src/components/docs/ops/ops-top.docs.ts +10 -10
- package/src/components/docs/ops/ops.docs.ts +6 -6
- package/src/components/docs/product/product.docblocks.ts +60 -60
- package/src/components/docs/reference/DocsMarkdownContent.tsx +74 -74
- package/src/components/docs/reference/DocsReferenceContent.tsx +51 -51
- package/src/components/docs/reference/DocsReferenceIndexClient.tsx +106 -105
- package/src/components/docs/reference/DocsReferenceIndexPage.tsx +2 -2
- package/src/components/docs/reference/DocsReferencePage.tsx +3 -3
- package/src/components/docs/reference/docsMarkdownParser.ts +90 -90
- package/src/components/docs/safety/SafetyAuditingPage.tsx +189 -189
- package/src/components/docs/safety/SafetyMigrationsPage.tsx +189 -189
- package/src/components/docs/safety/SafetyOverviewPage.tsx +70 -157
- package/src/components/docs/safety/SafetyPDPPage.tsx +163 -163
- package/src/components/docs/safety/SafetySecurityTrustPage.tsx +89 -89
- package/src/components/docs/safety/SafetySigningPage.tsx +38 -38
- package/src/components/docs/safety/SafetyTenantIsolationPage.tsx +39 -39
- package/src/components/docs/safety/index.ts +3 -3
- package/src/components/docs/shared/StudioPrompt.tsx +17 -17
- package/src/components/docs/specs/SpecsCapabilitiesPage.tsx +79 -79
- package/src/components/docs/specs/SpecsDataViewsPage.tsx +142 -142
- package/src/components/docs/specs/SpecsOverlaysPage.tsx +202 -202
- package/src/components/docs/specs/SpecsOverviewPage.tsx +118 -193
- package/src/components/docs/specs/SpecsPolicyPage.tsx +233 -233
- package/src/components/docs/specs/SpecsWorkflowsPage.tsx +156 -156
- package/src/components/docs/specs/index.ts +3 -3
- package/src/components/docs/studio/StudioBYOKPage.tsx +11 -11
- package/src/components/docs/studio/StudioDeploymentsPage.tsx +11 -11
- package/src/components/docs/studio/StudioGettingStartedPage.tsx +11 -11
- package/src/components/docs/studio/StudioIntegrationsPage.tsx +11 -11
- package/src/components/docs/studio/StudioOverviewPage.tsx +94 -73
- package/src/components/docs/studio/StudioVisualBuilderPage.tsx +11 -11
- package/src/components/docs/studio/index.ts +4 -4
- package/src/components/docs/tech/contracts/tech-docs.docblocks.ts +10 -10
- package/src/components/integrations/molecules/IntegrationCard.tsx +71 -72
- package/src/components/integrations/organisms/IntegrationMarketplace.tsx +116 -116
- package/src/components/integrations/organisms/IntegrationSettings.tsx +201 -201
- package/src/components/integrations/organisms/KnowledgeSourceList.tsx +93 -94
- package/src/components/legal/PrivacyTemplate.tsx +611 -611
- package/src/components/legal/TermsTemplate.tsx +675 -675
- package/src/components/shared/FeatureGateNotice.tsx +26 -27
- package/src/components/shell/WorkspaceHeader.tsx +80 -80
- package/src/components/shell/WorkspaceProjectShellLayout.tsx +59 -58
- package/src/components/shell/WorkspaceShellRenderer.tsx +69 -68
- package/src/components/shell/WorkspaceSidebar.tsx +58 -58
- package/src/components/shell/index.ts +1 -1
- package/src/components/templates/engine/index.ts +29 -28
- package/src/components/templates/index.ts +1 -1
- package/src/components/templates/messaging/ConversationList.tsx +68 -69
- package/src/components/templates/messaging/MessageComposer.tsx +59 -59
- package/src/components/templates/messaging/MessageThread.tsx +73 -74
- package/src/components/templates/messaging/MessagingWorkspace.tsx +18 -19
- package/src/components/templates/messaging/index.ts +1 -1
- package/src/components/templates/messaging/types.ts +17 -17
- package/src/components/templates/recipes/LanguageSwitcher.tsx +20 -20
- package/src/components/templates/recipes/RecipeCard.tsx +56 -56
- package/src/components/templates/recipes/RecipeDetail.tsx +43 -43
- package/src/components/templates/recipes/RecipeList.tsx +62 -63
- package/src/components/templates/recipes/index.ts +2 -2
- package/src/components/templates/recipes/types.ts +24 -24
- package/src/components/templates/todos/FilterBar.tsx +84 -84
- package/src/components/templates/todos/TaskForm.tsx +118 -119
- package/src/components/templates/todos/TaskItem.tsx +78 -78
- package/src/components/templates/todos/TaskList.tsx +106 -107
- package/src/components/templates/todos/index.ts +2 -2
- package/src/components/templates/todos/types.ts +11 -11
- package/src/config/contractspec-blueprint.ts +55 -55
- package/src/config/contractspec-branding.ts +37 -37
- package/src/config/contractspec-routes.ts +22 -22
- package/src/config/index.ts +14 -15
- package/src/features/contracts-registry.ts +118 -118
- package/src/features/docs/docs.contracts.ts +6 -6
- package/src/features/docs/index.ts +6 -6
- package/src/features/docs.feature.ts +27 -27
- package/src/features/index.ts +59 -63
- package/src/features/mcp.feature.ts +24 -24
- package/src/features/presentations.feature.ts +27 -27
- package/src/features/registry.ts +14 -14
- package/src/index.ts +2 -2
- package/src/infrastructure/elysia/logger.ts +21 -21
- package/src/libs/email/client.test.ts +81 -81
- package/src/libs/email/client.ts +111 -111
- package/src/libs/email/contact.ts +35 -35
- package/src/libs/email/newsletter.ts +46 -46
- package/src/libs/email/types.ts +29 -29
- package/src/libs/email/utils.ts +5 -5
- package/src/libs/email/waitlist-application.ts +69 -69
- package/src/libs/email/waitlist.ts +46 -46
- package/src/libs/email.ts +7 -7
- package/src/libs/posthog/client.ts +44 -44
- package/src/libs/posthog/native.ts +23 -22
- package/src/libs/posthog/server.ts +7 -7
- package/src/libs/pricing-examples.ts +12 -12
- package/src/presentation/features/atoms/FeatureIcon/FeatureIcon.tsx +90 -90
- package/src/presentation/features/atoms/FeatureIcon/index.ts +3 -3
- package/src/presentation/features/hooks/index.ts +9 -9
- package/src/presentation/features/hooks/useContractsRegistry.ts +23 -23
- package/src/presentation/features/hooks/useFeatureFilters.ts +117 -117
- package/src/presentation/features/hooks/useFeatureRegistry.ts +40 -40
- package/src/presentation/features/hooks/useRelatedDocs.ts +28 -28
- package/src/presentation/features/index.ts +50 -52
- package/src/presentation/features/molecules/FeatureCard/FeatureCard.tsx +80 -80
- package/src/presentation/features/molecules/FeatureCard/types.ts +6 -6
- package/src/presentation/features/molecules/FeatureCategoryHeader/FeatureCategoryHeader.tsx +54 -54
- package/src/presentation/features/molecules/FeatureCategoryHeader/index.ts +2 -2
- package/src/presentation/features/molecules/FeatureFilters/FeatureFilters.tsx +67 -67
- package/src/presentation/features/molecules/FeatureFilters/types.ts +20 -20
- package/src/presentation/features/molecules/FeatureHoverPreview/FeatureHoverPreview.tsx +120 -121
- package/src/presentation/features/molecules/FeatureHoverPreview/index.ts +2 -2
- package/src/presentation/features/molecules/index.ts +8 -8
- package/src/presentation/features/organisms/FeatureDataViewsList.tsx +21 -21
- package/src/presentation/features/organisms/FeatureDetail/FeatureDetail.tsx +86 -86
- package/src/presentation/features/organisms/FeatureDetail/types.ts +4 -4
- package/src/presentation/features/organisms/FeatureDiscovery/FeatureDiscovery.tsx +210 -210
- package/src/presentation/features/organisms/FeatureDiscovery/index.ts +3 -3
- package/src/presentation/features/organisms/FeatureDiscovery/types.ts +10 -10
- package/src/presentation/features/organisms/FeatureEventsList.tsx +19 -19
- package/src/presentation/features/organisms/FeatureFormsList.tsx +19 -19
- package/src/presentation/features/organisms/FeatureOperationsList.tsx +21 -21
- package/src/presentation/features/organisms/FeaturePresentationsList.tsx +21 -21
- package/src/presentation/features/organisms/index.ts +6 -6
- package/src/presentation/features/templates/FeatureDataViewDetailTemplate/FeatureDataViewDetailTemplate.tsx +219 -219
- package/src/presentation/features/templates/FeatureDataViewDetailTemplate/types.ts +7 -7
- package/src/presentation/features/templates/FeatureDataViewsTemplate/FeatureDataViewsTemplate.tsx +26 -26
- package/src/presentation/features/templates/FeatureEventDetailTemplate/FeatureEventDetailTemplate.tsx +195 -195
- package/src/presentation/features/templates/FeatureEventDetailTemplate/types.ts +7 -7
- package/src/presentation/features/templates/FeatureEventsTemplate/FeatureEventsTemplate.tsx +26 -26
- package/src/presentation/features/templates/FeatureFormDetailTemplate/FeatureFormDetailTemplate.tsx +216 -216
- package/src/presentation/features/templates/FeatureFormDetailTemplate/types.ts +7 -7
- package/src/presentation/features/templates/FeatureFormsTemplate/FeatureFormsTemplate.tsx +26 -26
- package/src/presentation/features/templates/FeatureOperationDetailTemplate/FeatureOperationDetailTemplate.tsx +228 -228
- package/src/presentation/features/templates/FeatureOperationDetailTemplate/types.ts +7 -7
- package/src/presentation/features/templates/FeatureOperationsTemplate/FeatureOperationsTemplate.tsx +26 -26
- package/src/presentation/features/templates/FeatureOverviewTemplate/FeatureOverviewTemplate.tsx +24 -24
- package/src/presentation/features/templates/FeaturePresentationDetailTemplate/FeaturePresentationDetailTemplate.tsx +201 -201
- package/src/presentation/features/templates/FeaturePresentationDetailTemplate/types.ts +8 -8
- package/src/presentation/features/templates/FeaturePresentationsTemplate/FeaturePresentationsTemplate.tsx +26 -26
- package/src/presentation/features/templates/types.ts +2 -2
- package/tsconfig.json +12 -12
- package/tsdown.config.js +5 -5
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
import Link from "@contractspec/lib.ui-link";
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
function StudioPrompt({
|
|
5
|
-
title = "
|
|
6
|
-
body = "ContractSpec Studio
|
|
7
|
-
ctaLabel = "
|
|
8
|
-
href = "https://www.contractspec.studio"
|
|
5
|
+
title = "Need the operating layer on top of OSS ContractSpec?",
|
|
6
|
+
body = "ContractSpec Studio helps teams turn evidence into proposed spec changes, governed delivery loops, and execution-ready task packs while keeping the open contract system as the source of truth.",
|
|
7
|
+
ctaLabel = "See what Studio adds",
|
|
8
|
+
href = "https://www.contractspec.studio/docs"
|
|
9
9
|
}) {
|
|
10
10
|
return /* @__PURE__ */ jsxs("div", {
|
|
11
11
|
className: "card-subtle space-y-3 p-6",
|
|
12
12
|
children: [
|
|
13
13
|
/* @__PURE__ */ jsx("h3", {
|
|
14
|
-
className: "text-lg
|
|
14
|
+
className: "font-semibold text-lg",
|
|
15
15
|
children: title
|
|
16
16
|
}),
|
|
17
17
|
/* @__PURE__ */ jsx("p", {
|
|
@@ -40,11 +40,11 @@ function GuideCIDiffGatingPage() {
|
|
|
40
40
|
className: "space-y-3",
|
|
41
41
|
children: [
|
|
42
42
|
/* @__PURE__ */ jsx2("h1", {
|
|
43
|
-
className: "text-4xl
|
|
43
|
+
className: "font-bold text-4xl",
|
|
44
44
|
children: "CI gating with deterministic diffs"
|
|
45
45
|
}),
|
|
46
46
|
/* @__PURE__ */ jsx2("p", {
|
|
47
|
-
className: "text-muted-foreground
|
|
47
|
+
className: "text-lg text-muted-foreground",
|
|
48
48
|
children: "Add ContractSpec CI checks that validate specs, detect drift, and gate breaking changes before merge."
|
|
49
49
|
})
|
|
50
50
|
]
|
|
@@ -53,11 +53,11 @@ function GuideCIDiffGatingPage() {
|
|
|
53
53
|
className: "card-subtle space-y-4 p-6",
|
|
54
54
|
children: [
|
|
55
55
|
/* @__PURE__ */ jsx2("h2", {
|
|
56
|
-
className: "text-2xl
|
|
56
|
+
className: "font-bold text-2xl",
|
|
57
57
|
children: "What you'll build"
|
|
58
58
|
}),
|
|
59
59
|
/* @__PURE__ */ jsxs2("ul", {
|
|
60
|
-
className: "
|
|
60
|
+
className: "space-y-2 text-muted-foreground text-sm",
|
|
61
61
|
children: [
|
|
62
62
|
/* @__PURE__ */ jsx2("li", {
|
|
63
63
|
children: "CI workflow running ContractSpec validation and drift checks."
|
|
@@ -79,7 +79,7 @@ function GuideCIDiffGatingPage() {
|
|
|
79
79
|
className: "space-y-3",
|
|
80
80
|
children: [
|
|
81
81
|
/* @__PURE__ */ jsx2("h2", {
|
|
82
|
-
className: "text-2xl
|
|
82
|
+
className: "font-bold text-2xl",
|
|
83
83
|
children: "1) Add the CI workflow"
|
|
84
84
|
}),
|
|
85
85
|
/* @__PURE__ */ jsx2("p", {
|
|
@@ -107,7 +107,7 @@ function GuideCIDiffGatingPage() {
|
|
|
107
107
|
className: "space-y-3",
|
|
108
108
|
children: [
|
|
109
109
|
/* @__PURE__ */ jsx2("h2", {
|
|
110
|
-
className: "text-2xl
|
|
110
|
+
className: "font-bold text-2xl",
|
|
111
111
|
children: "2) Run CI locally"
|
|
112
112
|
}),
|
|
113
113
|
/* @__PURE__ */ jsx2(CodeBlock, {
|
|
@@ -125,7 +125,7 @@ function GuideCIDiffGatingPage() {
|
|
|
125
125
|
className: "space-y-3",
|
|
126
126
|
children: [
|
|
127
127
|
/* @__PURE__ */ jsx2("h2", {
|
|
128
|
-
className: "text-2xl
|
|
128
|
+
className: "font-bold text-2xl",
|
|
129
129
|
children: "3) Add a diff check"
|
|
130
130
|
}),
|
|
131
131
|
/* @__PURE__ */ jsx2("p", {
|
|
@@ -147,7 +147,7 @@ function GuideCIDiffGatingPage() {
|
|
|
147
147
|
className: "card-subtle space-y-3 p-6",
|
|
148
148
|
children: [
|
|
149
149
|
/* @__PURE__ */ jsx2("h3", {
|
|
150
|
-
className: "text-lg
|
|
150
|
+
className: "font-semibold text-lg",
|
|
151
151
|
children: "Example package"
|
|
152
152
|
}),
|
|
153
153
|
/* @__PURE__ */ jsx2("p", {
|
|
@@ -196,7 +196,7 @@ bun run validate`
|
|
|
196
196
|
// src/components/docs/guides/GuideContractTypesPage.tsx
|
|
197
197
|
import { CodeBlock as CodeBlock2 } from "@contractspec/lib.design-system";
|
|
198
198
|
import Link3 from "@contractspec/lib.ui-link";
|
|
199
|
-
import { ChevronRight as ChevronRight2,
|
|
199
|
+
import { ChevronRight as ChevronRight2, Globe, Layers, Shield, Zap } from "lucide-react";
|
|
200
200
|
import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
201
201
|
var contractTypes = [
|
|
202
202
|
{
|
|
@@ -236,12 +236,12 @@ function GuideContractTypesPage() {
|
|
|
236
236
|
className: "space-y-3",
|
|
237
237
|
children: [
|
|
238
238
|
/* @__PURE__ */ jsx3("h1", {
|
|
239
|
-
className: "text-4xl
|
|
239
|
+
className: "font-bold text-4xl",
|
|
240
240
|
children: "Contract Types Overview"
|
|
241
241
|
}),
|
|
242
242
|
/* @__PURE__ */ jsx3("p", {
|
|
243
|
-
className: "text-muted-foreground
|
|
244
|
-
children: "Learn about the different contract types in ContractSpec and when to use each one
|
|
243
|
+
className: "text-lg text-muted-foreground",
|
|
244
|
+
children: "Learn about the different contract types in ContractSpec and when to use each one when you are making the system boundary explicit."
|
|
245
245
|
})
|
|
246
246
|
]
|
|
247
247
|
}),
|
|
@@ -249,7 +249,7 @@ function GuideContractTypesPage() {
|
|
|
249
249
|
className: "card-subtle space-y-4 p-6",
|
|
250
250
|
children: [
|
|
251
251
|
/* @__PURE__ */ jsx3("h2", {
|
|
252
|
-
className: "text-2xl
|
|
252
|
+
className: "font-bold text-2xl",
|
|
253
253
|
children: "Core Contract Types"
|
|
254
254
|
}),
|
|
255
255
|
/* @__PURE__ */ jsx3("div", {
|
|
@@ -273,7 +273,7 @@ function GuideContractTypesPage() {
|
|
|
273
273
|
children: type.description
|
|
274
274
|
}),
|
|
275
275
|
/* @__PURE__ */ jsx3("code", {
|
|
276
|
-
className: "text-
|
|
276
|
+
className: "text-violet-400 text-xs",
|
|
277
277
|
children: type.factory
|
|
278
278
|
})
|
|
279
279
|
]
|
|
@@ -290,7 +290,7 @@ function GuideContractTypesPage() {
|
|
|
290
290
|
className: "space-y-3",
|
|
291
291
|
children: [
|
|
292
292
|
/* @__PURE__ */ jsx3("h2", {
|
|
293
|
-
className: "text-2xl
|
|
293
|
+
className: "font-bold text-2xl",
|
|
294
294
|
children: "1) Operations (Commands & Queries)"
|
|
295
295
|
}),
|
|
296
296
|
/* @__PURE__ */ jsx3("p", {
|
|
@@ -374,7 +374,7 @@ export const GetUserQuery = defineQuery({
|
|
|
374
374
|
className: "space-y-3",
|
|
375
375
|
children: [
|
|
376
376
|
/* @__PURE__ */ jsx3("h2", {
|
|
377
|
-
className: "text-2xl
|
|
377
|
+
className: "font-bold text-2xl",
|
|
378
378
|
children: "2) Events"
|
|
379
379
|
}),
|
|
380
380
|
/* @__PURE__ */ jsx3("p", {
|
|
@@ -433,7 +433,7 @@ export const UserDeletedEvent = defineEvent({
|
|
|
433
433
|
className: "space-y-3",
|
|
434
434
|
children: [
|
|
435
435
|
/* @__PURE__ */ jsx3("h2", {
|
|
436
|
-
className: "text-2xl
|
|
436
|
+
className: "font-bold text-2xl",
|
|
437
437
|
children: "3) Capabilities"
|
|
438
438
|
}),
|
|
439
439
|
/* @__PURE__ */ jsx3("p", {
|
|
@@ -494,7 +494,7 @@ export const AdminUserCapability = defineCapability({
|
|
|
494
494
|
className: "space-y-3",
|
|
495
495
|
children: [
|
|
496
496
|
/* @__PURE__ */ jsx3("h2", {
|
|
497
|
-
className: "text-2xl
|
|
497
|
+
className: "font-bold text-2xl",
|
|
498
498
|
children: "4) Presentations"
|
|
499
499
|
}),
|
|
500
500
|
/* @__PURE__ */ jsx3("p", {
|
|
@@ -534,7 +534,7 @@ export const UserListPresentation = definePresentation({
|
|
|
534
534
|
className: "space-y-3",
|
|
535
535
|
children: [
|
|
536
536
|
/* @__PURE__ */ jsx3("h2", {
|
|
537
|
-
className: "text-2xl
|
|
537
|
+
className: "font-bold text-2xl",
|
|
538
538
|
children: "5) Additional Contract Types"
|
|
539
539
|
}),
|
|
540
540
|
/* @__PURE__ */ jsx3("p", {
|
|
@@ -552,7 +552,7 @@ export const UserListPresentation = definePresentation({
|
|
|
552
552
|
children: "Policy"
|
|
553
553
|
}),
|
|
554
554
|
/* @__PURE__ */ jsx3("code", {
|
|
555
|
-
className: "text-
|
|
555
|
+
className: "text-violet-400 text-xs",
|
|
556
556
|
children: "definePolicy"
|
|
557
557
|
}),
|
|
558
558
|
/* @__PURE__ */ jsx3("p", {
|
|
@@ -569,7 +569,7 @@ export const UserListPresentation = definePresentation({
|
|
|
569
569
|
children: "Workflow"
|
|
570
570
|
}),
|
|
571
571
|
/* @__PURE__ */ jsx3("code", {
|
|
572
|
-
className: "text-
|
|
572
|
+
className: "text-violet-400 text-xs",
|
|
573
573
|
children: "defineWorkflow"
|
|
574
574
|
}),
|
|
575
575
|
/* @__PURE__ */ jsx3("p", {
|
|
@@ -586,7 +586,7 @@ export const UserListPresentation = definePresentation({
|
|
|
586
586
|
children: "Translation"
|
|
587
587
|
}),
|
|
588
588
|
/* @__PURE__ */ jsx3("code", {
|
|
589
|
-
className: "text-
|
|
589
|
+
className: "text-violet-400 text-xs",
|
|
590
590
|
children: "defineTranslation"
|
|
591
591
|
}),
|
|
592
592
|
/* @__PURE__ */ jsx3("p", {
|
|
@@ -603,7 +603,7 @@ export const UserListPresentation = definePresentation({
|
|
|
603
603
|
children: "Integration"
|
|
604
604
|
}),
|
|
605
605
|
/* @__PURE__ */ jsx3("code", {
|
|
606
|
-
className: "text-
|
|
606
|
+
className: "text-violet-400 text-xs",
|
|
607
607
|
children: "defineIntegration"
|
|
608
608
|
}),
|
|
609
609
|
/* @__PURE__ */ jsx3("p", {
|
|
@@ -620,7 +620,7 @@ export const UserListPresentation = definePresentation({
|
|
|
620
620
|
children: "Form"
|
|
621
621
|
}),
|
|
622
622
|
/* @__PURE__ */ jsx3("code", {
|
|
623
|
-
className: "text-
|
|
623
|
+
className: "text-violet-400 text-xs",
|
|
624
624
|
children: "defineFormSpec"
|
|
625
625
|
}),
|
|
626
626
|
/* @__PURE__ */ jsx3("p", {
|
|
@@ -637,7 +637,7 @@ export const UserListPresentation = definePresentation({
|
|
|
637
637
|
children: "Data View"
|
|
638
638
|
}),
|
|
639
639
|
/* @__PURE__ */ jsx3("code", {
|
|
640
|
-
className: "text-
|
|
640
|
+
className: "text-violet-400 text-xs",
|
|
641
641
|
children: "defineDataView"
|
|
642
642
|
}),
|
|
643
643
|
/* @__PURE__ */ jsx3("p", {
|
|
@@ -654,7 +654,7 @@ export const UserListPresentation = definePresentation({
|
|
|
654
654
|
children: "Feature"
|
|
655
655
|
}),
|
|
656
656
|
/* @__PURE__ */ jsx3("code", {
|
|
657
|
-
className: "text-
|
|
657
|
+
className: "text-violet-400 text-xs",
|
|
658
658
|
children: "defineFeature"
|
|
659
659
|
}),
|
|
660
660
|
/* @__PURE__ */ jsx3("p", {
|
|
@@ -671,7 +671,7 @@ export const UserListPresentation = definePresentation({
|
|
|
671
671
|
children: "Test"
|
|
672
672
|
}),
|
|
673
673
|
/* @__PURE__ */ jsx3("code", {
|
|
674
|
-
className: "text-
|
|
674
|
+
className: "text-violet-400 text-xs",
|
|
675
675
|
children: "defineTestSpec"
|
|
676
676
|
}),
|
|
677
677
|
/* @__PURE__ */ jsx3("p", {
|
|
@@ -688,7 +688,7 @@ export const UserListPresentation = definePresentation({
|
|
|
688
688
|
className: "space-y-3",
|
|
689
689
|
children: [
|
|
690
690
|
/* @__PURE__ */ jsx3("h2", {
|
|
691
|
-
className: "text-2xl
|
|
691
|
+
className: "font-bold text-2xl",
|
|
692
692
|
children: "6) Registering Contracts"
|
|
693
693
|
}),
|
|
694
694
|
/* @__PURE__ */ jsx3("p", {
|
|
@@ -736,7 +736,7 @@ capabilityRegistry.register(UserManagementCapability);`
|
|
|
736
736
|
className: "card-subtle space-y-3 p-6",
|
|
737
737
|
children: [
|
|
738
738
|
/* @__PURE__ */ jsx3("h3", {
|
|
739
|
-
className: "text-lg
|
|
739
|
+
className: "font-semibold text-lg",
|
|
740
740
|
children: "Contract Type Decision Guide"
|
|
741
741
|
}),
|
|
742
742
|
/* @__PURE__ */ jsxs3("table", {
|
|
@@ -744,7 +744,7 @@ capabilityRegistry.register(UserManagementCapability);`
|
|
|
744
744
|
children: [
|
|
745
745
|
/* @__PURE__ */ jsx3("thead", {
|
|
746
746
|
children: /* @__PURE__ */ jsxs3("tr", {
|
|
747
|
-
className: "border-
|
|
747
|
+
className: "border-white/10 border-b",
|
|
748
748
|
children: [
|
|
749
749
|
/* @__PURE__ */ jsx3("th", {
|
|
750
750
|
className: "py-2 text-left",
|
|
@@ -761,7 +761,7 @@ capabilityRegistry.register(UserManagementCapability);`
|
|
|
761
761
|
className: "text-muted-foreground",
|
|
762
762
|
children: [
|
|
763
763
|
/* @__PURE__ */ jsxs3("tr", {
|
|
764
|
-
className: "border-
|
|
764
|
+
className: "border-white/5 border-b",
|
|
765
765
|
children: [
|
|
766
766
|
/* @__PURE__ */ jsx3("td", {
|
|
767
767
|
className: "py-2",
|
|
@@ -776,7 +776,7 @@ capabilityRegistry.register(UserManagementCapability);`
|
|
|
776
776
|
]
|
|
777
777
|
}),
|
|
778
778
|
/* @__PURE__ */ jsxs3("tr", {
|
|
779
|
-
className: "border-
|
|
779
|
+
className: "border-white/5 border-b",
|
|
780
780
|
children: [
|
|
781
781
|
/* @__PURE__ */ jsx3("td", {
|
|
782
782
|
className: "py-2",
|
|
@@ -791,7 +791,7 @@ capabilityRegistry.register(UserManagementCapability);`
|
|
|
791
791
|
]
|
|
792
792
|
}),
|
|
793
793
|
/* @__PURE__ */ jsxs3("tr", {
|
|
794
|
-
className: "border-
|
|
794
|
+
className: "border-white/5 border-b",
|
|
795
795
|
children: [
|
|
796
796
|
/* @__PURE__ */ jsx3("td", {
|
|
797
797
|
className: "py-2",
|
|
@@ -806,7 +806,7 @@ capabilityRegistry.register(UserManagementCapability);`
|
|
|
806
806
|
]
|
|
807
807
|
}),
|
|
808
808
|
/* @__PURE__ */ jsxs3("tr", {
|
|
809
|
-
className: "border-
|
|
809
|
+
className: "border-white/5 border-b",
|
|
810
810
|
children: [
|
|
811
811
|
/* @__PURE__ */ jsx3("td", {
|
|
812
812
|
className: "py-2",
|
|
@@ -821,7 +821,7 @@ capabilityRegistry.register(UserManagementCapability);`
|
|
|
821
821
|
]
|
|
822
822
|
}),
|
|
823
823
|
/* @__PURE__ */ jsxs3("tr", {
|
|
824
|
-
className: "border-
|
|
824
|
+
className: "border-white/5 border-b",
|
|
825
825
|
children: [
|
|
826
826
|
/* @__PURE__ */ jsx3("td", {
|
|
827
827
|
className: "py-2",
|
|
@@ -836,7 +836,7 @@ capabilityRegistry.register(UserManagementCapability);`
|
|
|
836
836
|
]
|
|
837
837
|
}),
|
|
838
838
|
/* @__PURE__ */ jsxs3("tr", {
|
|
839
|
-
className: "border-
|
|
839
|
+
className: "border-white/5 border-b",
|
|
840
840
|
children: [
|
|
841
841
|
/* @__PURE__ */ jsx3("td", {
|
|
842
842
|
className: "py-2",
|
|
@@ -913,11 +913,11 @@ function GuideDocsPipelinePage() {
|
|
|
913
913
|
className: "space-y-3",
|
|
914
914
|
children: [
|
|
915
915
|
/* @__PURE__ */ jsx4("h1", {
|
|
916
|
-
className: "text-4xl
|
|
916
|
+
className: "font-bold text-4xl",
|
|
917
917
|
children: "Build the docs pipeline"
|
|
918
918
|
}),
|
|
919
919
|
/* @__PURE__ */ jsx4("p", {
|
|
920
|
-
className: "text-muted-foreground
|
|
920
|
+
className: "text-lg text-muted-foreground",
|
|
921
921
|
children: "Generate reference docs, chunk the index, and wire the docs pages the same way this repo does."
|
|
922
922
|
})
|
|
923
923
|
]
|
|
@@ -926,11 +926,11 @@ function GuideDocsPipelinePage() {
|
|
|
926
926
|
className: "card-subtle space-y-4 p-6",
|
|
927
927
|
children: [
|
|
928
928
|
/* @__PURE__ */ jsx4("h2", {
|
|
929
|
-
className: "text-2xl
|
|
929
|
+
className: "font-bold text-2xl",
|
|
930
930
|
children: "What you'll build"
|
|
931
931
|
}),
|
|
932
932
|
/* @__PURE__ */ jsxs4("ul", {
|
|
933
|
-
className: "
|
|
933
|
+
className: "space-y-2 text-muted-foreground text-sm",
|
|
934
934
|
children: [
|
|
935
935
|
/* @__PURE__ */ jsx4("li", {
|
|
936
936
|
children: "Generated Markdown and a chunked index manifest."
|
|
@@ -952,7 +952,7 @@ function GuideDocsPipelinePage() {
|
|
|
952
952
|
className: "space-y-3",
|
|
953
953
|
children: [
|
|
954
954
|
/* @__PURE__ */ jsx4("h2", {
|
|
955
|
-
className: "text-2xl
|
|
955
|
+
className: "font-bold text-2xl",
|
|
956
956
|
children: "1) Generate contract docs"
|
|
957
957
|
}),
|
|
958
958
|
/* @__PURE__ */ jsx4(CodeBlock3, {
|
|
@@ -976,7 +976,7 @@ function GuideDocsPipelinePage() {
|
|
|
976
976
|
className: "space-y-3",
|
|
977
977
|
children: [
|
|
978
978
|
/* @__PURE__ */ jsx4("h2", {
|
|
979
|
-
className: "text-2xl
|
|
979
|
+
className: "font-bold text-2xl",
|
|
980
980
|
children: "2) Build the docs index"
|
|
981
981
|
}),
|
|
982
982
|
/* @__PURE__ */ jsx4(CodeBlock3, {
|
|
@@ -1006,7 +1006,7 @@ bun docs:generate -- --version v1.0.0`
|
|
|
1006
1006
|
className: "space-y-3",
|
|
1007
1007
|
children: [
|
|
1008
1008
|
/* @__PURE__ */ jsx4("h2", {
|
|
1009
|
-
className: "text-2xl
|
|
1009
|
+
className: "font-bold text-2xl",
|
|
1010
1010
|
children: "3) Wire reference routes"
|
|
1011
1011
|
}),
|
|
1012
1012
|
/* @__PURE__ */ jsx4(CodeBlock3, {
|
|
@@ -1048,7 +1048,7 @@ export default async function Page({ params }: { params: { slug?: string[] } })
|
|
|
1048
1048
|
className: "card-subtle space-y-3 p-6",
|
|
1049
1049
|
children: [
|
|
1050
1050
|
/* @__PURE__ */ jsx4("h3", {
|
|
1051
|
-
className: "text-lg
|
|
1051
|
+
className: "font-semibold text-lg",
|
|
1052
1052
|
children: "Repo reference"
|
|
1053
1053
|
}),
|
|
1054
1054
|
/* @__PURE__ */ jsxs4("p", {
|
|
@@ -1107,11 +1107,11 @@ function GuideGenerateDocsClientsSchemasPage() {
|
|
|
1107
1107
|
className: "space-y-3",
|
|
1108
1108
|
children: [
|
|
1109
1109
|
/* @__PURE__ */ jsx5("h1", {
|
|
1110
|
-
className: "text-4xl
|
|
1110
|
+
className: "font-bold text-4xl",
|
|
1111
1111
|
children: "Generate docs + client schemas"
|
|
1112
1112
|
}),
|
|
1113
1113
|
/* @__PURE__ */ jsx5("p", {
|
|
1114
|
-
className: "text-muted-foreground
|
|
1114
|
+
className: "text-lg text-muted-foreground",
|
|
1115
1115
|
children: "Generate docs and OpenAPI output from ContractSpec operations to power SDKs, docs sites, and tooling."
|
|
1116
1116
|
})
|
|
1117
1117
|
]
|
|
@@ -1120,11 +1120,11 @@ function GuideGenerateDocsClientsSchemasPage() {
|
|
|
1120
1120
|
className: "card-subtle space-y-4 p-6",
|
|
1121
1121
|
children: [
|
|
1122
1122
|
/* @__PURE__ */ jsx5("h2", {
|
|
1123
|
-
className: "text-2xl
|
|
1123
|
+
className: "font-bold text-2xl",
|
|
1124
1124
|
children: "What you'll build"
|
|
1125
1125
|
}),
|
|
1126
1126
|
/* @__PURE__ */ jsxs5("ul", {
|
|
1127
|
-
className: "
|
|
1127
|
+
className: "space-y-2 text-muted-foreground text-sm",
|
|
1128
1128
|
children: [
|
|
1129
1129
|
/* @__PURE__ */ jsx5("li", {
|
|
1130
1130
|
children: "Export docs from your specs."
|
|
@@ -1146,7 +1146,7 @@ function GuideGenerateDocsClientsSchemasPage() {
|
|
|
1146
1146
|
className: "space-y-3",
|
|
1147
1147
|
children: [
|
|
1148
1148
|
/* @__PURE__ */ jsx5("h2", {
|
|
1149
|
-
className: "text-2xl
|
|
1149
|
+
className: "font-bold text-2xl",
|
|
1150
1150
|
children: "1) Generate docs"
|
|
1151
1151
|
}),
|
|
1152
1152
|
/* @__PURE__ */ jsx5("p", {
|
|
@@ -1174,7 +1174,7 @@ function GuideGenerateDocsClientsSchemasPage() {
|
|
|
1174
1174
|
className: "space-y-3",
|
|
1175
1175
|
children: [
|
|
1176
1176
|
/* @__PURE__ */ jsx5("h2", {
|
|
1177
|
-
className: "text-2xl
|
|
1177
|
+
className: "font-bold text-2xl",
|
|
1178
1178
|
children: "2) Export OpenAPI"
|
|
1179
1179
|
}),
|
|
1180
1180
|
/* @__PURE__ */ jsx5("p", {
|
|
@@ -1203,7 +1203,7 @@ function GuideGenerateDocsClientsSchemasPage() {
|
|
|
1203
1203
|
className: "space-y-3",
|
|
1204
1204
|
children: [
|
|
1205
1205
|
/* @__PURE__ */ jsx5("h2", {
|
|
1206
|
-
className: "text-2xl
|
|
1206
|
+
className: "font-bold text-2xl",
|
|
1207
1207
|
children: "3) Validate specs"
|
|
1208
1208
|
}),
|
|
1209
1209
|
/* @__PURE__ */ jsx5(CodeBlock4, {
|
|
@@ -1227,7 +1227,7 @@ function GuideGenerateDocsClientsSchemasPage() {
|
|
|
1227
1227
|
className: "card-subtle space-y-3 p-6",
|
|
1228
1228
|
children: [
|
|
1229
1229
|
/* @__PURE__ */ jsx5("h3", {
|
|
1230
|
-
className: "text-lg
|
|
1230
|
+
className: "font-semibold text-lg",
|
|
1231
1231
|
children: "Example package"
|
|
1232
1232
|
}),
|
|
1233
1233
|
/* @__PURE__ */ jsx5("p", {
|
|
@@ -1278,11 +1278,11 @@ contractspec openapi export --registry ./src/contracts/registry.ts --out ./gener
|
|
|
1278
1278
|
import { CodeBlock as CodeBlock5 } from "@contractspec/lib.design-system";
|
|
1279
1279
|
import Link6 from "@contractspec/lib.ui-link";
|
|
1280
1280
|
import {
|
|
1281
|
+
AlertCircle,
|
|
1281
1282
|
ChevronRight as ChevronRight5,
|
|
1282
1283
|
FileCode,
|
|
1283
1284
|
Scan,
|
|
1284
|
-
Settings
|
|
1285
|
-
AlertCircle
|
|
1285
|
+
Settings
|
|
1286
1286
|
} from "lucide-react";
|
|
1287
1287
|
import { jsx as jsx6, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
1288
1288
|
var supportedFrameworks = [
|
|
@@ -1330,12 +1330,12 @@ function GuideImportExistingCodebasesPage() {
|
|
|
1330
1330
|
className: "space-y-3",
|
|
1331
1331
|
children: [
|
|
1332
1332
|
/* @__PURE__ */ jsx6("h1", {
|
|
1333
|
-
className: "text-4xl
|
|
1333
|
+
className: "font-bold text-4xl",
|
|
1334
1334
|
children: "Import Existing Codebases"
|
|
1335
1335
|
}),
|
|
1336
1336
|
/* @__PURE__ */ jsx6("p", {
|
|
1337
|
-
className: "text-muted-foreground
|
|
1338
|
-
children: "Convert your existing API endpoints into ContractSpec contracts. Auto-detect frameworks, extract schemas, and generate
|
|
1337
|
+
className: "text-lg text-muted-foreground",
|
|
1338
|
+
children: "Convert your existing API endpoints into ContractSpec contracts. Auto-detect frameworks, extract schemas, and generate explicit contract definitions from your code."
|
|
1339
1339
|
})
|
|
1340
1340
|
]
|
|
1341
1341
|
}),
|
|
@@ -1343,11 +1343,11 @@ function GuideImportExistingCodebasesPage() {
|
|
|
1343
1343
|
className: "card-subtle space-y-4 p-6",
|
|
1344
1344
|
children: [
|
|
1345
1345
|
/* @__PURE__ */ jsx6("h2", {
|
|
1346
|
-
className: "text-2xl
|
|
1346
|
+
className: "font-bold text-2xl",
|
|
1347
1347
|
children: "What you'll learn"
|
|
1348
1348
|
}),
|
|
1349
1349
|
/* @__PURE__ */ jsxs6("ul", {
|
|
1350
|
-
className: "
|
|
1350
|
+
className: "space-y-2 text-muted-foreground text-sm",
|
|
1351
1351
|
children: [
|
|
1352
1352
|
/* @__PURE__ */ jsx6("li", {
|
|
1353
1353
|
children: "How to import existing API endpoints as ContractSpec contracts."
|
|
@@ -1372,7 +1372,7 @@ function GuideImportExistingCodebasesPage() {
|
|
|
1372
1372
|
className: "space-y-3",
|
|
1373
1373
|
children: [
|
|
1374
1374
|
/* @__PURE__ */ jsx6("h2", {
|
|
1375
|
-
className: "text-2xl
|
|
1375
|
+
className: "font-bold text-2xl",
|
|
1376
1376
|
children: "Why import existing code?"
|
|
1377
1377
|
}),
|
|
1378
1378
|
/* @__PURE__ */ jsx6("p", {
|
|
@@ -1380,7 +1380,7 @@ function GuideImportExistingCodebasesPage() {
|
|
|
1380
1380
|
children: "Instead of writing contracts from scratch, the import command extracts endpoint patterns from your existing codebase. This gives you:"
|
|
1381
1381
|
}),
|
|
1382
1382
|
/* @__PURE__ */ jsxs6("ul", {
|
|
1383
|
-
className: "
|
|
1383
|
+
className: "list-disc space-y-1 pl-5 text-muted-foreground text-sm",
|
|
1384
1384
|
children: [
|
|
1385
1385
|
/* @__PURE__ */ jsx6("li", {
|
|
1386
1386
|
children: "Instant spec coverage for existing APIs"
|
|
@@ -1402,7 +1402,7 @@ function GuideImportExistingCodebasesPage() {
|
|
|
1402
1402
|
className: "space-y-3",
|
|
1403
1403
|
children: [
|
|
1404
1404
|
/* @__PURE__ */ jsx6("h2", {
|
|
1405
|
-
className: "text-2xl
|
|
1405
|
+
className: "font-bold text-2xl",
|
|
1406
1406
|
children: "Supported frameworks"
|
|
1407
1407
|
}),
|
|
1408
1408
|
/* @__PURE__ */ jsx6("div", {
|
|
@@ -1426,7 +1426,7 @@ function GuideImportExistingCodebasesPage() {
|
|
|
1426
1426
|
children: fw.description
|
|
1427
1427
|
}),
|
|
1428
1428
|
/* @__PURE__ */ jsxs6("code", {
|
|
1429
|
-
className: "text-
|
|
1429
|
+
className: "text-violet-400 text-xs",
|
|
1430
1430
|
children: [
|
|
1431
1431
|
"--framework ",
|
|
1432
1432
|
fw.flag
|
|
@@ -1443,7 +1443,7 @@ function GuideImportExistingCodebasesPage() {
|
|
|
1443
1443
|
className: "space-y-3",
|
|
1444
1444
|
children: [
|
|
1445
1445
|
/* @__PURE__ */ jsx6("h2", {
|
|
1446
|
-
className: "text-2xl
|
|
1446
|
+
className: "font-bold text-2xl",
|
|
1447
1447
|
children: "1) Quick start"
|
|
1448
1448
|
}),
|
|
1449
1449
|
/* @__PURE__ */ jsx6("p", {
|
|
@@ -1472,7 +1472,7 @@ contractspec import ./src --framework nestjs`
|
|
|
1472
1472
|
className: "space-y-3",
|
|
1473
1473
|
children: [
|
|
1474
1474
|
/* @__PURE__ */ jsx6("h2", {
|
|
1475
|
-
className: "text-2xl
|
|
1475
|
+
className: "font-bold text-2xl",
|
|
1476
1476
|
children: "2) Framework-specific patterns"
|
|
1477
1477
|
}),
|
|
1478
1478
|
/* @__PURE__ */ jsx6("p", {
|
|
@@ -1485,7 +1485,7 @@ contractspec import ./src --framework nestjs`
|
|
|
1485
1485
|
className: "space-y-3",
|
|
1486
1486
|
children: [
|
|
1487
1487
|
/* @__PURE__ */ jsxs6("h3", {
|
|
1488
|
-
className: "flex items-center gap-2 text-xl
|
|
1488
|
+
className: "flex items-center gap-2 font-semibold text-xl",
|
|
1489
1489
|
children: [
|
|
1490
1490
|
/* @__PURE__ */ jsx6(Scan, {
|
|
1491
1491
|
size: 18,
|
|
@@ -1549,7 +1549,7 @@ export class UsersController {
|
|
|
1549
1549
|
className: "space-y-3",
|
|
1550
1550
|
children: [
|
|
1551
1551
|
/* @__PURE__ */ jsxs6("h3", {
|
|
1552
|
-
className: "flex items-center gap-2 text-xl
|
|
1552
|
+
className: "flex items-center gap-2 font-semibold text-xl",
|
|
1553
1553
|
children: [
|
|
1554
1554
|
/* @__PURE__ */ jsx6(Scan, {
|
|
1555
1555
|
size: 18,
|
|
@@ -1593,7 +1593,7 @@ router.post('/users', validateBody(CreateUserSchema), async (req, res) => {
|
|
|
1593
1593
|
className: "space-y-3",
|
|
1594
1594
|
children: [
|
|
1595
1595
|
/* @__PURE__ */ jsxs6("h3", {
|
|
1596
|
-
className: "flex items-center gap-2 text-xl
|
|
1596
|
+
className: "flex items-center gap-2 font-semibold text-xl",
|
|
1597
1597
|
children: [
|
|
1598
1598
|
/* @__PURE__ */ jsx6(Scan, {
|
|
1599
1599
|
size: 18,
|
|
@@ -1648,7 +1648,7 @@ export async function POST(request: Request) {
|
|
|
1648
1648
|
className: "space-y-3",
|
|
1649
1649
|
children: [
|
|
1650
1650
|
/* @__PURE__ */ jsx6("h2", {
|
|
1651
|
-
className: "text-2xl
|
|
1651
|
+
className: "font-bold text-2xl",
|
|
1652
1652
|
children: "3) Understanding generated contracts"
|
|
1653
1653
|
}),
|
|
1654
1654
|
/* @__PURE__ */ jsx6("p", {
|
|
@@ -1726,7 +1726,7 @@ export const CreateUserCommand = defineCommand({
|
|
|
1726
1726
|
className: "space-y-3",
|
|
1727
1727
|
children: [
|
|
1728
1728
|
/* @__PURE__ */ jsx6("h2", {
|
|
1729
|
-
className: "text-2xl
|
|
1729
|
+
className: "font-bold text-2xl",
|
|
1730
1730
|
children: "4) Customizing imports"
|
|
1731
1731
|
}),
|
|
1732
1732
|
/* @__PURE__ */ jsxs6("div", {
|
|
@@ -1737,7 +1737,7 @@ export const CreateUserCommand = defineCommand({
|
|
|
1737
1737
|
className: "text-violet-400"
|
|
1738
1738
|
}),
|
|
1739
1739
|
/* @__PURE__ */ jsx6("h3", {
|
|
1740
|
-
className: "text-lg
|
|
1740
|
+
className: "font-semibold text-lg",
|
|
1741
1741
|
children: "Available options"
|
|
1742
1742
|
})
|
|
1743
1743
|
]
|
|
@@ -1749,7 +1749,7 @@ export const CreateUserCommand = defineCommand({
|
|
|
1749
1749
|
children: [
|
|
1750
1750
|
/* @__PURE__ */ jsx6("thead", {
|
|
1751
1751
|
children: /* @__PURE__ */ jsxs6("tr", {
|
|
1752
|
-
className: "border-
|
|
1752
|
+
className: "border-white/10 border-b",
|
|
1753
1753
|
children: [
|
|
1754
1754
|
/* @__PURE__ */ jsx6("th", {
|
|
1755
1755
|
className: "py-2 pr-4 text-left",
|
|
@@ -1770,7 +1770,7 @@ export const CreateUserCommand = defineCommand({
|
|
|
1770
1770
|
className: "text-muted-foreground",
|
|
1771
1771
|
children: [
|
|
1772
1772
|
/* @__PURE__ */ jsxs6("tr", {
|
|
1773
|
-
className: "border-
|
|
1773
|
+
className: "border-white/5 border-b",
|
|
1774
1774
|
children: [
|
|
1775
1775
|
/* @__PURE__ */ jsx6("td", {
|
|
1776
1776
|
className: "py-2 pr-4",
|
|
@@ -1791,7 +1791,7 @@ export const CreateUserCommand = defineCommand({
|
|
|
1791
1791
|
]
|
|
1792
1792
|
}),
|
|
1793
1793
|
/* @__PURE__ */ jsxs6("tr", {
|
|
1794
|
-
className: "border-
|
|
1794
|
+
className: "border-white/5 border-b",
|
|
1795
1795
|
children: [
|
|
1796
1796
|
/* @__PURE__ */ jsx6("td", {
|
|
1797
1797
|
className: "py-2 pr-4",
|
|
@@ -1812,7 +1812,7 @@ export const CreateUserCommand = defineCommand({
|
|
|
1812
1812
|
]
|
|
1813
1813
|
}),
|
|
1814
1814
|
/* @__PURE__ */ jsxs6("tr", {
|
|
1815
|
-
className: "border-
|
|
1815
|
+
className: "border-white/5 border-b",
|
|
1816
1816
|
children: [
|
|
1817
1817
|
/* @__PURE__ */ jsx6("td", {
|
|
1818
1818
|
className: "py-2 pr-4",
|
|
@@ -1833,7 +1833,7 @@ export const CreateUserCommand = defineCommand({
|
|
|
1833
1833
|
]
|
|
1834
1834
|
}),
|
|
1835
1835
|
/* @__PURE__ */ jsxs6("tr", {
|
|
1836
|
-
className: "border-
|
|
1836
|
+
className: "border-white/5 border-b",
|
|
1837
1837
|
children: [
|
|
1838
1838
|
/* @__PURE__ */ jsx6("td", {
|
|
1839
1839
|
className: "py-2 pr-4",
|
|
@@ -1854,7 +1854,7 @@ export const CreateUserCommand = defineCommand({
|
|
|
1854
1854
|
]
|
|
1855
1855
|
}),
|
|
1856
1856
|
/* @__PURE__ */ jsxs6("tr", {
|
|
1857
|
-
className: "border-
|
|
1857
|
+
className: "border-white/5 border-b",
|
|
1858
1858
|
children: [
|
|
1859
1859
|
/* @__PURE__ */ jsx6("td", {
|
|
1860
1860
|
className: "py-2 pr-4",
|
|
@@ -1920,7 +1920,7 @@ contractspec import ./src --json > import-result.json`
|
|
|
1920
1920
|
className: "space-y-3",
|
|
1921
1921
|
children: [
|
|
1922
1922
|
/* @__PURE__ */ jsx6("h2", {
|
|
1923
|
-
className: "text-2xl
|
|
1923
|
+
className: "font-bold text-2xl",
|
|
1924
1924
|
children: "5) Registering imported contracts"
|
|
1925
1925
|
}),
|
|
1926
1926
|
/* @__PURE__ */ jsx6("p", {
|
|
@@ -1958,11 +1958,11 @@ installOp(registry, CreateUserCommand, async (input) => {
|
|
|
1958
1958
|
className: "space-y-3",
|
|
1959
1959
|
children: [
|
|
1960
1960
|
/* @__PURE__ */ jsx6("h2", {
|
|
1961
|
-
className: "text-2xl
|
|
1961
|
+
className: "font-bold text-2xl",
|
|
1962
1962
|
children: "6) After importing"
|
|
1963
1963
|
}),
|
|
1964
1964
|
/* @__PURE__ */ jsxs6("ol", {
|
|
1965
|
-
className: "
|
|
1965
|
+
className: "list-decimal space-y-2 pl-5 text-muted-foreground text-sm",
|
|
1966
1966
|
children: [
|
|
1967
1967
|
/* @__PURE__ */ jsxs6("li", {
|
|
1968
1968
|
children: [
|
|
@@ -2017,7 +2017,7 @@ installOp(registry, CreateUserCommand, async (input) => {
|
|
|
2017
2017
|
className: "space-y-3",
|
|
2018
2018
|
children: [
|
|
2019
2019
|
/* @__PURE__ */ jsxs6("h2", {
|
|
2020
|
-
className: "flex items-center gap-2 text-2xl
|
|
2020
|
+
className: "flex items-center gap-2 font-bold text-2xl",
|
|
2021
2021
|
children: [
|
|
2022
2022
|
/* @__PURE__ */ jsx6(AlertCircle, {
|
|
2023
2023
|
size: 20,
|
|
@@ -2093,7 +2093,7 @@ installOp(registry, CreateUserCommand, async (input) => {
|
|
|
2093
2093
|
}),
|
|
2094
2094
|
/* @__PURE__ */ jsx6(StudioPrompt, {
|
|
2095
2095
|
title: "Want evidence-driven migration priorities?",
|
|
2096
|
-
body: "Studio clusters product signals into scored patterns, then proposes
|
|
2096
|
+
body: "Studio clusters product signals into scored patterns, then proposes contract changes and execution-ready work for the highest-impact areas."
|
|
2097
2097
|
})
|
|
2098
2098
|
]
|
|
2099
2099
|
}),
|
|
@@ -2134,11 +2134,11 @@ function GuideNextjsOneEndpointPage() {
|
|
|
2134
2134
|
className: "space-y-3",
|
|
2135
2135
|
children: [
|
|
2136
2136
|
/* @__PURE__ */ jsx7("h1", {
|
|
2137
|
-
className: "text-4xl
|
|
2137
|
+
className: "font-bold text-4xl",
|
|
2138
2138
|
children: "Next.js: add one endpoint"
|
|
2139
2139
|
}),
|
|
2140
2140
|
/* @__PURE__ */ jsx7("p", {
|
|
2141
|
-
className: "text-muted-foreground
|
|
2141
|
+
className: "text-lg text-muted-foreground",
|
|
2142
2142
|
children: "Add ContractSpec to an existing Next.js App Router project by wiring a single operation end-to-end with validation and types."
|
|
2143
2143
|
})
|
|
2144
2144
|
]
|
|
@@ -2147,11 +2147,11 @@ function GuideNextjsOneEndpointPage() {
|
|
|
2147
2147
|
className: "card-subtle space-y-4 p-6",
|
|
2148
2148
|
children: [
|
|
2149
2149
|
/* @__PURE__ */ jsx7("h2", {
|
|
2150
|
-
className: "text-2xl
|
|
2150
|
+
className: "font-bold text-2xl",
|
|
2151
2151
|
children: "What you'll build"
|
|
2152
2152
|
}),
|
|
2153
2153
|
/* @__PURE__ */ jsxs7("ul", {
|
|
2154
|
-
className: "
|
|
2154
|
+
className: "space-y-2 text-muted-foreground text-sm",
|
|
2155
2155
|
children: [
|
|
2156
2156
|
/* @__PURE__ */ jsx7("li", {
|
|
2157
2157
|
children: "One OperationSpec with SchemaModel validation."
|
|
@@ -2173,7 +2173,7 @@ function GuideNextjsOneEndpointPage() {
|
|
|
2173
2173
|
className: "space-y-3",
|
|
2174
2174
|
children: [
|
|
2175
2175
|
/* @__PURE__ */ jsx7("h2", {
|
|
2176
|
-
className: "text-2xl
|
|
2176
|
+
className: "font-bold text-2xl",
|
|
2177
2177
|
children: "1) Install core packages"
|
|
2178
2178
|
}),
|
|
2179
2179
|
/* @__PURE__ */ jsx7(CodeBlock6, {
|
|
@@ -2198,7 +2198,7 @@ bun add @contractspec/lib.contracts-spec @contractspec/lib.contracts-runtime-ser
|
|
|
2198
2198
|
className: "space-y-3",
|
|
2199
2199
|
children: [
|
|
2200
2200
|
/* @__PURE__ */ jsx7("h2", {
|
|
2201
|
-
className: "text-2xl
|
|
2201
|
+
className: "font-bold text-2xl",
|
|
2202
2202
|
children: "2) Define the operation spec"
|
|
2203
2203
|
}),
|
|
2204
2204
|
/* @__PURE__ */ jsxs7("p", {
|
|
@@ -2253,7 +2253,7 @@ export const HealthcheckQuery = defineQuery({
|
|
|
2253
2253
|
className: "space-y-3",
|
|
2254
2254
|
children: [
|
|
2255
2255
|
/* @__PURE__ */ jsx7("h2", {
|
|
2256
|
-
className: "text-2xl
|
|
2256
|
+
className: "font-bold text-2xl",
|
|
2257
2257
|
children: "3) Register the operation"
|
|
2258
2258
|
}),
|
|
2259
2259
|
/* @__PURE__ */ jsxs7("p", {
|
|
@@ -2288,7 +2288,7 @@ installOp(registry, HealthcheckQuery, async () => ({
|
|
|
2288
2288
|
className: "space-y-3",
|
|
2289
2289
|
children: [
|
|
2290
2290
|
/* @__PURE__ */ jsx7("h2", {
|
|
2291
|
-
className: "text-2xl
|
|
2291
|
+
className: "font-bold text-2xl",
|
|
2292
2292
|
children: "4) Add the Next.js handler"
|
|
2293
2293
|
}),
|
|
2294
2294
|
/* @__PURE__ */ jsxs7("p", {
|
|
@@ -2330,7 +2330,7 @@ export { handler as GET, handler as POST };`
|
|
|
2330
2330
|
className: "space-y-3",
|
|
2331
2331
|
children: [
|
|
2332
2332
|
/* @__PURE__ */ jsx7("h2", {
|
|
2333
|
-
className: "text-2xl
|
|
2333
|
+
className: "font-bold text-2xl",
|
|
2334
2334
|
children: "5) Validate the spec"
|
|
2335
2335
|
}),
|
|
2336
2336
|
/* @__PURE__ */ jsx7(CodeBlock6, {
|
|
@@ -2354,7 +2354,7 @@ export { handler as GET, handler as POST };`
|
|
|
2354
2354
|
className: "card-subtle space-y-3 p-6",
|
|
2355
2355
|
children: [
|
|
2356
2356
|
/* @__PURE__ */ jsx7("h3", {
|
|
2357
|
-
className: "text-lg
|
|
2357
|
+
className: "font-semibold text-lg",
|
|
2358
2358
|
children: "Example package"
|
|
2359
2359
|
}),
|
|
2360
2360
|
/* @__PURE__ */ jsxs7("p", {
|
|
@@ -2421,11 +2421,11 @@ function GuideSpecValidationTypingPage() {
|
|
|
2421
2421
|
className: "space-y-3",
|
|
2422
2422
|
children: [
|
|
2423
2423
|
/* @__PURE__ */ jsx8("h1", {
|
|
2424
|
-
className: "text-4xl
|
|
2424
|
+
className: "font-bold text-4xl",
|
|
2425
2425
|
children: "Spec-driven validation + typing"
|
|
2426
2426
|
}),
|
|
2427
2427
|
/* @__PURE__ */ jsx8("p", {
|
|
2428
|
-
className: "text-muted-foreground
|
|
2428
|
+
className: "text-lg text-muted-foreground",
|
|
2429
2429
|
children: "Define a single operation with SchemaModel, generate validation, and keep your existing handler logic."
|
|
2430
2430
|
})
|
|
2431
2431
|
]
|
|
@@ -2434,11 +2434,11 @@ function GuideSpecValidationTypingPage() {
|
|
|
2434
2434
|
className: "card-subtle space-y-4 p-6",
|
|
2435
2435
|
children: [
|
|
2436
2436
|
/* @__PURE__ */ jsx8("h2", {
|
|
2437
|
-
className: "text-2xl
|
|
2437
|
+
className: "font-bold text-2xl",
|
|
2438
2438
|
children: "What you'll build"
|
|
2439
2439
|
}),
|
|
2440
2440
|
/* @__PURE__ */ jsxs8("ul", {
|
|
2441
|
-
className: "
|
|
2441
|
+
className: "space-y-2 text-muted-foreground text-sm",
|
|
2442
2442
|
children: [
|
|
2443
2443
|
/* @__PURE__ */ jsx8("li", {
|
|
2444
2444
|
children: "One command spec with explicit input/output models."
|
|
@@ -2460,7 +2460,7 @@ function GuideSpecValidationTypingPage() {
|
|
|
2460
2460
|
className: "space-y-3",
|
|
2461
2461
|
children: [
|
|
2462
2462
|
/* @__PURE__ */ jsx8("h2", {
|
|
2463
|
-
className: "text-2xl
|
|
2463
|
+
className: "font-bold text-2xl",
|
|
2464
2464
|
children: "1) Define the spec"
|
|
2465
2465
|
}),
|
|
2466
2466
|
/* @__PURE__ */ jsxs8("p", {
|
|
@@ -2530,7 +2530,7 @@ export const ContactCreateCommand = defineCommand({
|
|
|
2530
2530
|
className: "space-y-3",
|
|
2531
2531
|
children: [
|
|
2532
2532
|
/* @__PURE__ */ jsx8("h2", {
|
|
2533
|
-
className: "text-2xl
|
|
2533
|
+
className: "font-bold text-2xl",
|
|
2534
2534
|
children: "2) Wire the handler"
|
|
2535
2535
|
}),
|
|
2536
2536
|
/* @__PURE__ */ jsx8("p", {
|
|
@@ -2560,7 +2560,7 @@ export const ContactCreateCommand = defineCommand({
|
|
|
2560
2560
|
className: "space-y-3",
|
|
2561
2561
|
children: [
|
|
2562
2562
|
/* @__PURE__ */ jsx8("h2", {
|
|
2563
|
-
className: "text-2xl
|
|
2563
|
+
className: "font-bold text-2xl",
|
|
2564
2564
|
children: "3) Validate"
|
|
2565
2565
|
}),
|
|
2566
2566
|
/* @__PURE__ */ jsx8(CodeBlock7, {
|
|
@@ -2584,7 +2584,7 @@ export const ContactCreateCommand = defineCommand({
|
|
|
2584
2584
|
className: "card-subtle space-y-3 p-6",
|
|
2585
2585
|
children: [
|
|
2586
2586
|
/* @__PURE__ */ jsx8("h3", {
|
|
2587
|
-
className: "text-lg
|
|
2587
|
+
className: "font-semibold text-lg",
|
|
2588
2588
|
children: "Example package"
|
|
2589
2589
|
}),
|
|
2590
2590
|
/* @__PURE__ */ jsx8("p", {
|
|
@@ -2635,48 +2635,42 @@ bun run validate`
|
|
|
2635
2635
|
// src/components/docs/guides/GuidesIndexPage.tsx
|
|
2636
2636
|
import { CodeBlock as CodeBlock8 } from "@contractspec/lib.design-system";
|
|
2637
2637
|
import Link9 from "@contractspec/lib.ui-link";
|
|
2638
|
-
import { ArrowRight,
|
|
2638
|
+
import { ArrowRight, CheckCircle2, GitBranch } from "lucide-react";
|
|
2639
2639
|
import { jsx as jsx9, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
2640
2640
|
var guides = [
|
|
2641
2641
|
{
|
|
2642
|
-
title: "
|
|
2643
|
-
description: "
|
|
2644
|
-
href: "/docs/guides/contract-types",
|
|
2645
|
-
time: "15 min"
|
|
2646
|
-
},
|
|
2647
|
-
{
|
|
2648
|
-
title: "Next.js: one endpoint",
|
|
2649
|
-
description: "Add ContractSpec to an existing Next.js app by wiring one operation end-to-end.",
|
|
2642
|
+
title: "Adopt one endpoint in Next.js",
|
|
2643
|
+
description: "Start inside a live app with one operation, one generated surface, and one clearly bounded change.",
|
|
2650
2644
|
href: "/docs/guides/nextjs-one-endpoint",
|
|
2651
2645
|
time: "25 min"
|
|
2652
2646
|
},
|
|
2653
2647
|
{
|
|
2654
|
-
title: "Import existing
|
|
2655
|
-
description: "
|
|
2648
|
+
title: "Import an existing codebase",
|
|
2649
|
+
description: "Stabilize what already exists instead of treating adoption as a rewrite project.",
|
|
2656
2650
|
href: "/docs/guides/import-existing-codebases",
|
|
2657
2651
|
time: "20 min"
|
|
2658
2652
|
},
|
|
2659
2653
|
{
|
|
2660
|
-
title: "
|
|
2661
|
-
description: "
|
|
2654
|
+
title: "Validation and typing",
|
|
2655
|
+
description: "Keep runtime validation and TypeScript behavior aligned from the same source definitions.",
|
|
2662
2656
|
href: "/docs/guides/spec-validation-and-typing",
|
|
2663
2657
|
time: "20 min"
|
|
2664
2658
|
},
|
|
2665
2659
|
{
|
|
2666
|
-
title: "Generate docs
|
|
2667
|
-
description: "
|
|
2660
|
+
title: "Generate docs and clients",
|
|
2661
|
+
description: "Publish stable docs, schemas, and client-facing artifacts from the contract layer.",
|
|
2668
2662
|
href: "/docs/guides/generate-docs-clients-schemas",
|
|
2669
2663
|
time: "20 min"
|
|
2670
2664
|
},
|
|
2671
2665
|
{
|
|
2672
2666
|
title: "Docs pipeline",
|
|
2673
|
-
description: "
|
|
2667
|
+
description: "Feed generated reference material into the docs site without confusing ownership.",
|
|
2674
2668
|
href: "/docs/guides/docs-generation-pipeline",
|
|
2675
2669
|
time: "20 min"
|
|
2676
2670
|
},
|
|
2677
2671
|
{
|
|
2678
|
-
title: "CI gating
|
|
2679
|
-
description: "
|
|
2672
|
+
title: "CI diff gating",
|
|
2673
|
+
description: "Use deterministic checks to catch drift and risky changes before they ship.",
|
|
2680
2674
|
href: "/docs/guides/ci-contract-diff-gating",
|
|
2681
2675
|
time: "15 min"
|
|
2682
2676
|
}
|
|
@@ -2688,13 +2682,17 @@ function GuidesIndexPage() {
|
|
|
2688
2682
|
/* @__PURE__ */ jsxs9("div", {
|
|
2689
2683
|
className: "space-y-3",
|
|
2690
2684
|
children: [
|
|
2685
|
+
/* @__PURE__ */ jsx9("p", {
|
|
2686
|
+
className: "editorial-kicker",
|
|
2687
|
+
children: "Build"
|
|
2688
|
+
}),
|
|
2691
2689
|
/* @__PURE__ */ jsx9("h1", {
|
|
2692
|
-
className: "text-4xl
|
|
2693
|
-
children: "
|
|
2690
|
+
className: "font-serif text-4xl tracking-[-0.04em] md:text-5xl",
|
|
2691
|
+
children: "Adoption guides for teams that want to keep their code."
|
|
2694
2692
|
}),
|
|
2695
2693
|
/* @__PURE__ */ jsx9("p", {
|
|
2696
|
-
className: "text-muted-foreground
|
|
2697
|
-
children: "
|
|
2694
|
+
className: "max-w-3xl text-lg text-muted-foreground leading-8",
|
|
2695
|
+
children: "These guides assume you are introducing ContractSpec into a real code base. Start with a narrow surface, verify the generated outputs, and expand only after the contract loop feels trustworthy."
|
|
2698
2696
|
})
|
|
2699
2697
|
]
|
|
2700
2698
|
}),
|
|
@@ -2702,27 +2700,31 @@ function GuidesIndexPage() {
|
|
|
2702
2700
|
className: "grid gap-4 md:grid-cols-2",
|
|
2703
2701
|
children: guides.map((guide) => /* @__PURE__ */ jsxs9(Link9, {
|
|
2704
2702
|
href: guide.href,
|
|
2705
|
-
className: "
|
|
2703
|
+
className: "editorial-panel",
|
|
2706
2704
|
children: [
|
|
2707
2705
|
/* @__PURE__ */ jsxs9("div", {
|
|
2708
|
-
className: "flex items-
|
|
2706
|
+
className: "flex items-start justify-between gap-4",
|
|
2709
2707
|
children: [
|
|
2710
|
-
/* @__PURE__ */
|
|
2711
|
-
|
|
2712
|
-
|
|
2708
|
+
/* @__PURE__ */ jsxs9("div", {
|
|
2709
|
+
children: [
|
|
2710
|
+
/* @__PURE__ */ jsx9("h2", {
|
|
2711
|
+
className: "font-semibold text-xl",
|
|
2712
|
+
children: guide.title
|
|
2713
|
+
}),
|
|
2714
|
+
/* @__PURE__ */ jsx9("p", {
|
|
2715
|
+
className: "mt-2 text-muted-foreground text-sm leading-7",
|
|
2716
|
+
children: guide.description
|
|
2717
|
+
})
|
|
2718
|
+
]
|
|
2713
2719
|
}),
|
|
2714
2720
|
/* @__PURE__ */ jsx9(ArrowRight, {
|
|
2715
|
-
className: "
|
|
2721
|
+
className: "mt-1 shrink-0",
|
|
2716
2722
|
size: 18
|
|
2717
2723
|
})
|
|
2718
2724
|
]
|
|
2719
2725
|
}),
|
|
2720
|
-
/* @__PURE__ */ jsx9("p", {
|
|
2721
|
-
className: "text-muted-foreground text-sm",
|
|
2722
|
-
children: guide.description
|
|
2723
|
-
}),
|
|
2724
2726
|
/* @__PURE__ */ jsxs9("div", {
|
|
2725
|
-
className: "
|
|
2727
|
+
className: "mt-4 flex items-center gap-2 text-muted-foreground text-xs",
|
|
2726
2728
|
children: [
|
|
2727
2729
|
/* @__PURE__ */ jsx9(CheckCircle2, {
|
|
2728
2730
|
size: 14
|
|
@@ -2739,38 +2741,59 @@ function GuidesIndexPage() {
|
|
|
2739
2741
|
}, guide.href))
|
|
2740
2742
|
}),
|
|
2741
2743
|
/* @__PURE__ */ jsxs9("div", {
|
|
2742
|
-
className: "
|
|
2744
|
+
className: "editorial-panel space-y-4",
|
|
2743
2745
|
children: [
|
|
2744
2746
|
/* @__PURE__ */ jsxs9("div", {
|
|
2745
|
-
className: "flex items-center gap-2 text-
|
|
2747
|
+
className: "flex items-center gap-2 font-semibold text-[color:var(--rust)] text-sm uppercase tracking-[0.2em]",
|
|
2746
2748
|
children: [
|
|
2747
|
-
/* @__PURE__ */ jsx9(
|
|
2749
|
+
/* @__PURE__ */ jsx9(GitBranch, {
|
|
2748
2750
|
size: 16
|
|
2749
2751
|
}),
|
|
2750
|
-
"
|
|
2752
|
+
"Working style"
|
|
2751
2753
|
]
|
|
2752
2754
|
}),
|
|
2753
2755
|
/* @__PURE__ */ jsxs9("ul", {
|
|
2754
|
-
className: "
|
|
2756
|
+
className: "editorial-list",
|
|
2755
2757
|
children: [
|
|
2756
|
-
/* @__PURE__ */
|
|
2757
|
-
children:
|
|
2758
|
+
/* @__PURE__ */ jsxs9("li", {
|
|
2759
|
+
children: [
|
|
2760
|
+
/* @__PURE__ */ jsx9("span", {
|
|
2761
|
+
className: "editorial-list-marker"
|
|
2762
|
+
}),
|
|
2763
|
+
/* @__PURE__ */ jsx9("span", {
|
|
2764
|
+
children: "Run each guide in a branch or sandboxed workspace."
|
|
2765
|
+
})
|
|
2766
|
+
]
|
|
2758
2767
|
}),
|
|
2759
|
-
/* @__PURE__ */
|
|
2760
|
-
children:
|
|
2768
|
+
/* @__PURE__ */ jsxs9("li", {
|
|
2769
|
+
children: [
|
|
2770
|
+
/* @__PURE__ */ jsx9("span", {
|
|
2771
|
+
className: "editorial-list-marker"
|
|
2772
|
+
}),
|
|
2773
|
+
/* @__PURE__ */ jsx9("span", {
|
|
2774
|
+
children: "Prefer one bounded surface at a time: one endpoint, one workflow, one integration, one unsafe module."
|
|
2775
|
+
})
|
|
2776
|
+
]
|
|
2761
2777
|
}),
|
|
2762
|
-
/* @__PURE__ */
|
|
2763
|
-
children:
|
|
2778
|
+
/* @__PURE__ */ jsxs9("li", {
|
|
2779
|
+
children: [
|
|
2780
|
+
/* @__PURE__ */ jsx9("span", {
|
|
2781
|
+
className: "editorial-list-marker"
|
|
2782
|
+
}),
|
|
2783
|
+
/* @__PURE__ */ jsx9("span", {
|
|
2784
|
+
children: "Use the example and reference outputs to verify what changed, not just the narrative page."
|
|
2785
|
+
})
|
|
2786
|
+
]
|
|
2764
2787
|
})
|
|
2765
2788
|
]
|
|
2766
2789
|
}),
|
|
2767
2790
|
/* @__PURE__ */ jsx9(CodeBlock8, {
|
|
2768
2791
|
language: "bash",
|
|
2769
2792
|
filename: "guides-quickstart",
|
|
2770
|
-
code: `# list
|
|
2793
|
+
code: `# list example systems
|
|
2771
2794
|
contractspec examples list
|
|
2772
2795
|
|
|
2773
|
-
# validate
|
|
2796
|
+
# validate the examples in this workspace
|
|
2774
2797
|
contractspec examples validate --repo-root .`
|
|
2775
2798
|
})
|
|
2776
2799
|
]
|