@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
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
import Link from "@contractspec/lib.ui-link";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
function StudioPrompt({
|
|
6
|
-
title = "
|
|
7
|
-
body = "ContractSpec Studio
|
|
8
|
-
ctaLabel = "
|
|
9
|
-
href = "https://www.contractspec.studio"
|
|
6
|
+
title = "Need the operating layer on top of OSS ContractSpec?",
|
|
7
|
+
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.",
|
|
8
|
+
ctaLabel = "See what Studio adds",
|
|
9
|
+
href = "https://www.contractspec.studio/docs"
|
|
10
10
|
}) {
|
|
11
11
|
return /* @__PURE__ */ jsxs("div", {
|
|
12
12
|
className: "card-subtle space-y-3 p-6",
|
|
13
13
|
children: [
|
|
14
14
|
/* @__PURE__ */ jsx("h3", {
|
|
15
|
-
className: "text-lg
|
|
15
|
+
className: "font-semibold text-lg",
|
|
16
16
|
children: title
|
|
17
17
|
}),
|
|
18
18
|
/* @__PURE__ */ jsx("p", {
|
|
@@ -41,11 +41,11 @@ function GuideCIDiffGatingPage() {
|
|
|
41
41
|
className: "space-y-3",
|
|
42
42
|
children: [
|
|
43
43
|
/* @__PURE__ */ jsx2("h1", {
|
|
44
|
-
className: "text-4xl
|
|
44
|
+
className: "font-bold text-4xl",
|
|
45
45
|
children: "CI gating with deterministic diffs"
|
|
46
46
|
}),
|
|
47
47
|
/* @__PURE__ */ jsx2("p", {
|
|
48
|
-
className: "text-muted-foreground
|
|
48
|
+
className: "text-lg text-muted-foreground",
|
|
49
49
|
children: "Add ContractSpec CI checks that validate specs, detect drift, and gate breaking changes before merge."
|
|
50
50
|
})
|
|
51
51
|
]
|
|
@@ -54,11 +54,11 @@ function GuideCIDiffGatingPage() {
|
|
|
54
54
|
className: "card-subtle space-y-4 p-6",
|
|
55
55
|
children: [
|
|
56
56
|
/* @__PURE__ */ jsx2("h2", {
|
|
57
|
-
className: "text-2xl
|
|
57
|
+
className: "font-bold text-2xl",
|
|
58
58
|
children: "What you'll build"
|
|
59
59
|
}),
|
|
60
60
|
/* @__PURE__ */ jsxs2("ul", {
|
|
61
|
-
className: "
|
|
61
|
+
className: "space-y-2 text-muted-foreground text-sm",
|
|
62
62
|
children: [
|
|
63
63
|
/* @__PURE__ */ jsx2("li", {
|
|
64
64
|
children: "CI workflow running ContractSpec validation and drift checks."
|
|
@@ -80,7 +80,7 @@ function GuideCIDiffGatingPage() {
|
|
|
80
80
|
className: "space-y-3",
|
|
81
81
|
children: [
|
|
82
82
|
/* @__PURE__ */ jsx2("h2", {
|
|
83
|
-
className: "text-2xl
|
|
83
|
+
className: "font-bold text-2xl",
|
|
84
84
|
children: "1) Add the CI workflow"
|
|
85
85
|
}),
|
|
86
86
|
/* @__PURE__ */ jsx2("p", {
|
|
@@ -108,7 +108,7 @@ function GuideCIDiffGatingPage() {
|
|
|
108
108
|
className: "space-y-3",
|
|
109
109
|
children: [
|
|
110
110
|
/* @__PURE__ */ jsx2("h2", {
|
|
111
|
-
className: "text-2xl
|
|
111
|
+
className: "font-bold text-2xl",
|
|
112
112
|
children: "2) Run CI locally"
|
|
113
113
|
}),
|
|
114
114
|
/* @__PURE__ */ jsx2(CodeBlock, {
|
|
@@ -126,7 +126,7 @@ function GuideCIDiffGatingPage() {
|
|
|
126
126
|
className: "space-y-3",
|
|
127
127
|
children: [
|
|
128
128
|
/* @__PURE__ */ jsx2("h2", {
|
|
129
|
-
className: "text-2xl
|
|
129
|
+
className: "font-bold text-2xl",
|
|
130
130
|
children: "3) Add a diff check"
|
|
131
131
|
}),
|
|
132
132
|
/* @__PURE__ */ jsx2("p", {
|
|
@@ -148,7 +148,7 @@ function GuideCIDiffGatingPage() {
|
|
|
148
148
|
className: "card-subtle space-y-3 p-6",
|
|
149
149
|
children: [
|
|
150
150
|
/* @__PURE__ */ jsx2("h3", {
|
|
151
|
-
className: "text-lg
|
|
151
|
+
className: "font-semibold text-lg",
|
|
152
152
|
children: "Example package"
|
|
153
153
|
}),
|
|
154
154
|
/* @__PURE__ */ jsx2("p", {
|
|
@@ -197,7 +197,7 @@ bun run validate`
|
|
|
197
197
|
// src/components/docs/guides/GuideContractTypesPage.tsx
|
|
198
198
|
import { CodeBlock as CodeBlock2 } from "@contractspec/lib.design-system";
|
|
199
199
|
import Link3 from "@contractspec/lib.ui-link";
|
|
200
|
-
import { ChevronRight as ChevronRight2,
|
|
200
|
+
import { ChevronRight as ChevronRight2, Globe, Layers, Shield, Zap } from "lucide-react";
|
|
201
201
|
import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
202
202
|
var contractTypes = [
|
|
203
203
|
{
|
|
@@ -237,12 +237,12 @@ function GuideContractTypesPage() {
|
|
|
237
237
|
className: "space-y-3",
|
|
238
238
|
children: [
|
|
239
239
|
/* @__PURE__ */ jsx3("h1", {
|
|
240
|
-
className: "text-4xl
|
|
240
|
+
className: "font-bold text-4xl",
|
|
241
241
|
children: "Contract Types Overview"
|
|
242
242
|
}),
|
|
243
243
|
/* @__PURE__ */ jsx3("p", {
|
|
244
|
-
className: "text-muted-foreground
|
|
245
|
-
children: "Learn about the different contract types in ContractSpec and when to use each one
|
|
244
|
+
className: "text-lg text-muted-foreground",
|
|
245
|
+
children: "Learn about the different contract types in ContractSpec and when to use each one when you are making the system boundary explicit."
|
|
246
246
|
})
|
|
247
247
|
]
|
|
248
248
|
}),
|
|
@@ -250,7 +250,7 @@ function GuideContractTypesPage() {
|
|
|
250
250
|
className: "card-subtle space-y-4 p-6",
|
|
251
251
|
children: [
|
|
252
252
|
/* @__PURE__ */ jsx3("h2", {
|
|
253
|
-
className: "text-2xl
|
|
253
|
+
className: "font-bold text-2xl",
|
|
254
254
|
children: "Core Contract Types"
|
|
255
255
|
}),
|
|
256
256
|
/* @__PURE__ */ jsx3("div", {
|
|
@@ -274,7 +274,7 @@ function GuideContractTypesPage() {
|
|
|
274
274
|
children: type.description
|
|
275
275
|
}),
|
|
276
276
|
/* @__PURE__ */ jsx3("code", {
|
|
277
|
-
className: "text-
|
|
277
|
+
className: "text-violet-400 text-xs",
|
|
278
278
|
children: type.factory
|
|
279
279
|
})
|
|
280
280
|
]
|
|
@@ -291,7 +291,7 @@ function GuideContractTypesPage() {
|
|
|
291
291
|
className: "space-y-3",
|
|
292
292
|
children: [
|
|
293
293
|
/* @__PURE__ */ jsx3("h2", {
|
|
294
|
-
className: "text-2xl
|
|
294
|
+
className: "font-bold text-2xl",
|
|
295
295
|
children: "1) Operations (Commands & Queries)"
|
|
296
296
|
}),
|
|
297
297
|
/* @__PURE__ */ jsx3("p", {
|
|
@@ -375,7 +375,7 @@ export const GetUserQuery = defineQuery({
|
|
|
375
375
|
className: "space-y-3",
|
|
376
376
|
children: [
|
|
377
377
|
/* @__PURE__ */ jsx3("h2", {
|
|
378
|
-
className: "text-2xl
|
|
378
|
+
className: "font-bold text-2xl",
|
|
379
379
|
children: "2) Events"
|
|
380
380
|
}),
|
|
381
381
|
/* @__PURE__ */ jsx3("p", {
|
|
@@ -434,7 +434,7 @@ export const UserDeletedEvent = defineEvent({
|
|
|
434
434
|
className: "space-y-3",
|
|
435
435
|
children: [
|
|
436
436
|
/* @__PURE__ */ jsx3("h2", {
|
|
437
|
-
className: "text-2xl
|
|
437
|
+
className: "font-bold text-2xl",
|
|
438
438
|
children: "3) Capabilities"
|
|
439
439
|
}),
|
|
440
440
|
/* @__PURE__ */ jsx3("p", {
|
|
@@ -495,7 +495,7 @@ export const AdminUserCapability = defineCapability({
|
|
|
495
495
|
className: "space-y-3",
|
|
496
496
|
children: [
|
|
497
497
|
/* @__PURE__ */ jsx3("h2", {
|
|
498
|
-
className: "text-2xl
|
|
498
|
+
className: "font-bold text-2xl",
|
|
499
499
|
children: "4) Presentations"
|
|
500
500
|
}),
|
|
501
501
|
/* @__PURE__ */ jsx3("p", {
|
|
@@ -535,7 +535,7 @@ export const UserListPresentation = definePresentation({
|
|
|
535
535
|
className: "space-y-3",
|
|
536
536
|
children: [
|
|
537
537
|
/* @__PURE__ */ jsx3("h2", {
|
|
538
|
-
className: "text-2xl
|
|
538
|
+
className: "font-bold text-2xl",
|
|
539
539
|
children: "5) Additional Contract Types"
|
|
540
540
|
}),
|
|
541
541
|
/* @__PURE__ */ jsx3("p", {
|
|
@@ -553,7 +553,7 @@ export const UserListPresentation = definePresentation({
|
|
|
553
553
|
children: "Policy"
|
|
554
554
|
}),
|
|
555
555
|
/* @__PURE__ */ jsx3("code", {
|
|
556
|
-
className: "text-
|
|
556
|
+
className: "text-violet-400 text-xs",
|
|
557
557
|
children: "definePolicy"
|
|
558
558
|
}),
|
|
559
559
|
/* @__PURE__ */ jsx3("p", {
|
|
@@ -570,7 +570,7 @@ export const UserListPresentation = definePresentation({
|
|
|
570
570
|
children: "Workflow"
|
|
571
571
|
}),
|
|
572
572
|
/* @__PURE__ */ jsx3("code", {
|
|
573
|
-
className: "text-
|
|
573
|
+
className: "text-violet-400 text-xs",
|
|
574
574
|
children: "defineWorkflow"
|
|
575
575
|
}),
|
|
576
576
|
/* @__PURE__ */ jsx3("p", {
|
|
@@ -587,7 +587,7 @@ export const UserListPresentation = definePresentation({
|
|
|
587
587
|
children: "Translation"
|
|
588
588
|
}),
|
|
589
589
|
/* @__PURE__ */ jsx3("code", {
|
|
590
|
-
className: "text-
|
|
590
|
+
className: "text-violet-400 text-xs",
|
|
591
591
|
children: "defineTranslation"
|
|
592
592
|
}),
|
|
593
593
|
/* @__PURE__ */ jsx3("p", {
|
|
@@ -604,7 +604,7 @@ export const UserListPresentation = definePresentation({
|
|
|
604
604
|
children: "Integration"
|
|
605
605
|
}),
|
|
606
606
|
/* @__PURE__ */ jsx3("code", {
|
|
607
|
-
className: "text-
|
|
607
|
+
className: "text-violet-400 text-xs",
|
|
608
608
|
children: "defineIntegration"
|
|
609
609
|
}),
|
|
610
610
|
/* @__PURE__ */ jsx3("p", {
|
|
@@ -621,7 +621,7 @@ export const UserListPresentation = definePresentation({
|
|
|
621
621
|
children: "Form"
|
|
622
622
|
}),
|
|
623
623
|
/* @__PURE__ */ jsx3("code", {
|
|
624
|
-
className: "text-
|
|
624
|
+
className: "text-violet-400 text-xs",
|
|
625
625
|
children: "defineFormSpec"
|
|
626
626
|
}),
|
|
627
627
|
/* @__PURE__ */ jsx3("p", {
|
|
@@ -638,7 +638,7 @@ export const UserListPresentation = definePresentation({
|
|
|
638
638
|
children: "Data View"
|
|
639
639
|
}),
|
|
640
640
|
/* @__PURE__ */ jsx3("code", {
|
|
641
|
-
className: "text-
|
|
641
|
+
className: "text-violet-400 text-xs",
|
|
642
642
|
children: "defineDataView"
|
|
643
643
|
}),
|
|
644
644
|
/* @__PURE__ */ jsx3("p", {
|
|
@@ -655,7 +655,7 @@ export const UserListPresentation = definePresentation({
|
|
|
655
655
|
children: "Feature"
|
|
656
656
|
}),
|
|
657
657
|
/* @__PURE__ */ jsx3("code", {
|
|
658
|
-
className: "text-
|
|
658
|
+
className: "text-violet-400 text-xs",
|
|
659
659
|
children: "defineFeature"
|
|
660
660
|
}),
|
|
661
661
|
/* @__PURE__ */ jsx3("p", {
|
|
@@ -672,7 +672,7 @@ export const UserListPresentation = definePresentation({
|
|
|
672
672
|
children: "Test"
|
|
673
673
|
}),
|
|
674
674
|
/* @__PURE__ */ jsx3("code", {
|
|
675
|
-
className: "text-
|
|
675
|
+
className: "text-violet-400 text-xs",
|
|
676
676
|
children: "defineTestSpec"
|
|
677
677
|
}),
|
|
678
678
|
/* @__PURE__ */ jsx3("p", {
|
|
@@ -689,7 +689,7 @@ export const UserListPresentation = definePresentation({
|
|
|
689
689
|
className: "space-y-3",
|
|
690
690
|
children: [
|
|
691
691
|
/* @__PURE__ */ jsx3("h2", {
|
|
692
|
-
className: "text-2xl
|
|
692
|
+
className: "font-bold text-2xl",
|
|
693
693
|
children: "6) Registering Contracts"
|
|
694
694
|
}),
|
|
695
695
|
/* @__PURE__ */ jsx3("p", {
|
|
@@ -737,7 +737,7 @@ capabilityRegistry.register(UserManagementCapability);`
|
|
|
737
737
|
className: "card-subtle space-y-3 p-6",
|
|
738
738
|
children: [
|
|
739
739
|
/* @__PURE__ */ jsx3("h3", {
|
|
740
|
-
className: "text-lg
|
|
740
|
+
className: "font-semibold text-lg",
|
|
741
741
|
children: "Contract Type Decision Guide"
|
|
742
742
|
}),
|
|
743
743
|
/* @__PURE__ */ jsxs3("table", {
|
|
@@ -745,7 +745,7 @@ capabilityRegistry.register(UserManagementCapability);`
|
|
|
745
745
|
children: [
|
|
746
746
|
/* @__PURE__ */ jsx3("thead", {
|
|
747
747
|
children: /* @__PURE__ */ jsxs3("tr", {
|
|
748
|
-
className: "border-
|
|
748
|
+
className: "border-white/10 border-b",
|
|
749
749
|
children: [
|
|
750
750
|
/* @__PURE__ */ jsx3("th", {
|
|
751
751
|
className: "py-2 text-left",
|
|
@@ -762,7 +762,7 @@ capabilityRegistry.register(UserManagementCapability);`
|
|
|
762
762
|
className: "text-muted-foreground",
|
|
763
763
|
children: [
|
|
764
764
|
/* @__PURE__ */ jsxs3("tr", {
|
|
765
|
-
className: "border-
|
|
765
|
+
className: "border-white/5 border-b",
|
|
766
766
|
children: [
|
|
767
767
|
/* @__PURE__ */ jsx3("td", {
|
|
768
768
|
className: "py-2",
|
|
@@ -777,7 +777,7 @@ capabilityRegistry.register(UserManagementCapability);`
|
|
|
777
777
|
]
|
|
778
778
|
}),
|
|
779
779
|
/* @__PURE__ */ jsxs3("tr", {
|
|
780
|
-
className: "border-
|
|
780
|
+
className: "border-white/5 border-b",
|
|
781
781
|
children: [
|
|
782
782
|
/* @__PURE__ */ jsx3("td", {
|
|
783
783
|
className: "py-2",
|
|
@@ -792,7 +792,7 @@ capabilityRegistry.register(UserManagementCapability);`
|
|
|
792
792
|
]
|
|
793
793
|
}),
|
|
794
794
|
/* @__PURE__ */ jsxs3("tr", {
|
|
795
|
-
className: "border-
|
|
795
|
+
className: "border-white/5 border-b",
|
|
796
796
|
children: [
|
|
797
797
|
/* @__PURE__ */ jsx3("td", {
|
|
798
798
|
className: "py-2",
|
|
@@ -807,7 +807,7 @@ capabilityRegistry.register(UserManagementCapability);`
|
|
|
807
807
|
]
|
|
808
808
|
}),
|
|
809
809
|
/* @__PURE__ */ jsxs3("tr", {
|
|
810
|
-
className: "border-
|
|
810
|
+
className: "border-white/5 border-b",
|
|
811
811
|
children: [
|
|
812
812
|
/* @__PURE__ */ jsx3("td", {
|
|
813
813
|
className: "py-2",
|
|
@@ -822,7 +822,7 @@ capabilityRegistry.register(UserManagementCapability);`
|
|
|
822
822
|
]
|
|
823
823
|
}),
|
|
824
824
|
/* @__PURE__ */ jsxs3("tr", {
|
|
825
|
-
className: "border-
|
|
825
|
+
className: "border-white/5 border-b",
|
|
826
826
|
children: [
|
|
827
827
|
/* @__PURE__ */ jsx3("td", {
|
|
828
828
|
className: "py-2",
|
|
@@ -837,7 +837,7 @@ capabilityRegistry.register(UserManagementCapability);`
|
|
|
837
837
|
]
|
|
838
838
|
}),
|
|
839
839
|
/* @__PURE__ */ jsxs3("tr", {
|
|
840
|
-
className: "border-
|
|
840
|
+
className: "border-white/5 border-b",
|
|
841
841
|
children: [
|
|
842
842
|
/* @__PURE__ */ jsx3("td", {
|
|
843
843
|
className: "py-2",
|
|
@@ -914,11 +914,11 @@ function GuideDocsPipelinePage() {
|
|
|
914
914
|
className: "space-y-3",
|
|
915
915
|
children: [
|
|
916
916
|
/* @__PURE__ */ jsx4("h1", {
|
|
917
|
-
className: "text-4xl
|
|
917
|
+
className: "font-bold text-4xl",
|
|
918
918
|
children: "Build the docs pipeline"
|
|
919
919
|
}),
|
|
920
920
|
/* @__PURE__ */ jsx4("p", {
|
|
921
|
-
className: "text-muted-foreground
|
|
921
|
+
className: "text-lg text-muted-foreground",
|
|
922
922
|
children: "Generate reference docs, chunk the index, and wire the docs pages the same way this repo does."
|
|
923
923
|
})
|
|
924
924
|
]
|
|
@@ -927,11 +927,11 @@ function GuideDocsPipelinePage() {
|
|
|
927
927
|
className: "card-subtle space-y-4 p-6",
|
|
928
928
|
children: [
|
|
929
929
|
/* @__PURE__ */ jsx4("h2", {
|
|
930
|
-
className: "text-2xl
|
|
930
|
+
className: "font-bold text-2xl",
|
|
931
931
|
children: "What you'll build"
|
|
932
932
|
}),
|
|
933
933
|
/* @__PURE__ */ jsxs4("ul", {
|
|
934
|
-
className: "
|
|
934
|
+
className: "space-y-2 text-muted-foreground text-sm",
|
|
935
935
|
children: [
|
|
936
936
|
/* @__PURE__ */ jsx4("li", {
|
|
937
937
|
children: "Generated Markdown and a chunked index manifest."
|
|
@@ -953,7 +953,7 @@ function GuideDocsPipelinePage() {
|
|
|
953
953
|
className: "space-y-3",
|
|
954
954
|
children: [
|
|
955
955
|
/* @__PURE__ */ jsx4("h2", {
|
|
956
|
-
className: "text-2xl
|
|
956
|
+
className: "font-bold text-2xl",
|
|
957
957
|
children: "1) Generate contract docs"
|
|
958
958
|
}),
|
|
959
959
|
/* @__PURE__ */ jsx4(CodeBlock3, {
|
|
@@ -977,7 +977,7 @@ function GuideDocsPipelinePage() {
|
|
|
977
977
|
className: "space-y-3",
|
|
978
978
|
children: [
|
|
979
979
|
/* @__PURE__ */ jsx4("h2", {
|
|
980
|
-
className: "text-2xl
|
|
980
|
+
className: "font-bold text-2xl",
|
|
981
981
|
children: "2) Build the docs index"
|
|
982
982
|
}),
|
|
983
983
|
/* @__PURE__ */ jsx4(CodeBlock3, {
|
|
@@ -1007,7 +1007,7 @@ bun docs:generate -- --version v1.0.0`
|
|
|
1007
1007
|
className: "space-y-3",
|
|
1008
1008
|
children: [
|
|
1009
1009
|
/* @__PURE__ */ jsx4("h2", {
|
|
1010
|
-
className: "text-2xl
|
|
1010
|
+
className: "font-bold text-2xl",
|
|
1011
1011
|
children: "3) Wire reference routes"
|
|
1012
1012
|
}),
|
|
1013
1013
|
/* @__PURE__ */ jsx4(CodeBlock3, {
|
|
@@ -1049,7 +1049,7 @@ export default async function Page({ params }: { params: { slug?: string[] } })
|
|
|
1049
1049
|
className: "card-subtle space-y-3 p-6",
|
|
1050
1050
|
children: [
|
|
1051
1051
|
/* @__PURE__ */ jsx4("h3", {
|
|
1052
|
-
className: "text-lg
|
|
1052
|
+
className: "font-semibold text-lg",
|
|
1053
1053
|
children: "Repo reference"
|
|
1054
1054
|
}),
|
|
1055
1055
|
/* @__PURE__ */ jsxs4("p", {
|
|
@@ -1108,11 +1108,11 @@ function GuideGenerateDocsClientsSchemasPage() {
|
|
|
1108
1108
|
className: "space-y-3",
|
|
1109
1109
|
children: [
|
|
1110
1110
|
/* @__PURE__ */ jsx5("h1", {
|
|
1111
|
-
className: "text-4xl
|
|
1111
|
+
className: "font-bold text-4xl",
|
|
1112
1112
|
children: "Generate docs + client schemas"
|
|
1113
1113
|
}),
|
|
1114
1114
|
/* @__PURE__ */ jsx5("p", {
|
|
1115
|
-
className: "text-muted-foreground
|
|
1115
|
+
className: "text-lg text-muted-foreground",
|
|
1116
1116
|
children: "Generate docs and OpenAPI output from ContractSpec operations to power SDKs, docs sites, and tooling."
|
|
1117
1117
|
})
|
|
1118
1118
|
]
|
|
@@ -1121,11 +1121,11 @@ function GuideGenerateDocsClientsSchemasPage() {
|
|
|
1121
1121
|
className: "card-subtle space-y-4 p-6",
|
|
1122
1122
|
children: [
|
|
1123
1123
|
/* @__PURE__ */ jsx5("h2", {
|
|
1124
|
-
className: "text-2xl
|
|
1124
|
+
className: "font-bold text-2xl",
|
|
1125
1125
|
children: "What you'll build"
|
|
1126
1126
|
}),
|
|
1127
1127
|
/* @__PURE__ */ jsxs5("ul", {
|
|
1128
|
-
className: "
|
|
1128
|
+
className: "space-y-2 text-muted-foreground text-sm",
|
|
1129
1129
|
children: [
|
|
1130
1130
|
/* @__PURE__ */ jsx5("li", {
|
|
1131
1131
|
children: "Export docs from your specs."
|
|
@@ -1147,7 +1147,7 @@ function GuideGenerateDocsClientsSchemasPage() {
|
|
|
1147
1147
|
className: "space-y-3",
|
|
1148
1148
|
children: [
|
|
1149
1149
|
/* @__PURE__ */ jsx5("h2", {
|
|
1150
|
-
className: "text-2xl
|
|
1150
|
+
className: "font-bold text-2xl",
|
|
1151
1151
|
children: "1) Generate docs"
|
|
1152
1152
|
}),
|
|
1153
1153
|
/* @__PURE__ */ jsx5("p", {
|
|
@@ -1175,7 +1175,7 @@ function GuideGenerateDocsClientsSchemasPage() {
|
|
|
1175
1175
|
className: "space-y-3",
|
|
1176
1176
|
children: [
|
|
1177
1177
|
/* @__PURE__ */ jsx5("h2", {
|
|
1178
|
-
className: "text-2xl
|
|
1178
|
+
className: "font-bold text-2xl",
|
|
1179
1179
|
children: "2) Export OpenAPI"
|
|
1180
1180
|
}),
|
|
1181
1181
|
/* @__PURE__ */ jsx5("p", {
|
|
@@ -1204,7 +1204,7 @@ function GuideGenerateDocsClientsSchemasPage() {
|
|
|
1204
1204
|
className: "space-y-3",
|
|
1205
1205
|
children: [
|
|
1206
1206
|
/* @__PURE__ */ jsx5("h2", {
|
|
1207
|
-
className: "text-2xl
|
|
1207
|
+
className: "font-bold text-2xl",
|
|
1208
1208
|
children: "3) Validate specs"
|
|
1209
1209
|
}),
|
|
1210
1210
|
/* @__PURE__ */ jsx5(CodeBlock4, {
|
|
@@ -1228,7 +1228,7 @@ function GuideGenerateDocsClientsSchemasPage() {
|
|
|
1228
1228
|
className: "card-subtle space-y-3 p-6",
|
|
1229
1229
|
children: [
|
|
1230
1230
|
/* @__PURE__ */ jsx5("h3", {
|
|
1231
|
-
className: "text-lg
|
|
1231
|
+
className: "font-semibold text-lg",
|
|
1232
1232
|
children: "Example package"
|
|
1233
1233
|
}),
|
|
1234
1234
|
/* @__PURE__ */ jsx5("p", {
|
|
@@ -1279,11 +1279,11 @@ contractspec openapi export --registry ./src/contracts/registry.ts --out ./gener
|
|
|
1279
1279
|
import { CodeBlock as CodeBlock5 } from "@contractspec/lib.design-system";
|
|
1280
1280
|
import Link6 from "@contractspec/lib.ui-link";
|
|
1281
1281
|
import {
|
|
1282
|
+
AlertCircle,
|
|
1282
1283
|
ChevronRight as ChevronRight5,
|
|
1283
1284
|
FileCode,
|
|
1284
1285
|
Scan,
|
|
1285
|
-
Settings
|
|
1286
|
-
AlertCircle
|
|
1286
|
+
Settings
|
|
1287
1287
|
} from "lucide-react";
|
|
1288
1288
|
import { jsx as jsx6, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
1289
1289
|
var supportedFrameworks = [
|
|
@@ -1331,12 +1331,12 @@ function GuideImportExistingCodebasesPage() {
|
|
|
1331
1331
|
className: "space-y-3",
|
|
1332
1332
|
children: [
|
|
1333
1333
|
/* @__PURE__ */ jsx6("h1", {
|
|
1334
|
-
className: "text-4xl
|
|
1334
|
+
className: "font-bold text-4xl",
|
|
1335
1335
|
children: "Import Existing Codebases"
|
|
1336
1336
|
}),
|
|
1337
1337
|
/* @__PURE__ */ jsx6("p", {
|
|
1338
|
-
className: "text-muted-foreground
|
|
1339
|
-
children: "Convert your existing API endpoints into ContractSpec contracts. Auto-detect frameworks, extract schemas, and generate
|
|
1338
|
+
className: "text-lg text-muted-foreground",
|
|
1339
|
+
children: "Convert your existing API endpoints into ContractSpec contracts. Auto-detect frameworks, extract schemas, and generate explicit contract definitions from your code."
|
|
1340
1340
|
})
|
|
1341
1341
|
]
|
|
1342
1342
|
}),
|
|
@@ -1344,11 +1344,11 @@ function GuideImportExistingCodebasesPage() {
|
|
|
1344
1344
|
className: "card-subtle space-y-4 p-6",
|
|
1345
1345
|
children: [
|
|
1346
1346
|
/* @__PURE__ */ jsx6("h2", {
|
|
1347
|
-
className: "text-2xl
|
|
1347
|
+
className: "font-bold text-2xl",
|
|
1348
1348
|
children: "What you'll learn"
|
|
1349
1349
|
}),
|
|
1350
1350
|
/* @__PURE__ */ jsxs6("ul", {
|
|
1351
|
-
className: "
|
|
1351
|
+
className: "space-y-2 text-muted-foreground text-sm",
|
|
1352
1352
|
children: [
|
|
1353
1353
|
/* @__PURE__ */ jsx6("li", {
|
|
1354
1354
|
children: "How to import existing API endpoints as ContractSpec contracts."
|
|
@@ -1373,7 +1373,7 @@ function GuideImportExistingCodebasesPage() {
|
|
|
1373
1373
|
className: "space-y-3",
|
|
1374
1374
|
children: [
|
|
1375
1375
|
/* @__PURE__ */ jsx6("h2", {
|
|
1376
|
-
className: "text-2xl
|
|
1376
|
+
className: "font-bold text-2xl",
|
|
1377
1377
|
children: "Why import existing code?"
|
|
1378
1378
|
}),
|
|
1379
1379
|
/* @__PURE__ */ jsx6("p", {
|
|
@@ -1381,7 +1381,7 @@ function GuideImportExistingCodebasesPage() {
|
|
|
1381
1381
|
children: "Instead of writing contracts from scratch, the import command extracts endpoint patterns from your existing codebase. This gives you:"
|
|
1382
1382
|
}),
|
|
1383
1383
|
/* @__PURE__ */ jsxs6("ul", {
|
|
1384
|
-
className: "
|
|
1384
|
+
className: "list-disc space-y-1 pl-5 text-muted-foreground text-sm",
|
|
1385
1385
|
children: [
|
|
1386
1386
|
/* @__PURE__ */ jsx6("li", {
|
|
1387
1387
|
children: "Instant spec coverage for existing APIs"
|
|
@@ -1403,7 +1403,7 @@ function GuideImportExistingCodebasesPage() {
|
|
|
1403
1403
|
className: "space-y-3",
|
|
1404
1404
|
children: [
|
|
1405
1405
|
/* @__PURE__ */ jsx6("h2", {
|
|
1406
|
-
className: "text-2xl
|
|
1406
|
+
className: "font-bold text-2xl",
|
|
1407
1407
|
children: "Supported frameworks"
|
|
1408
1408
|
}),
|
|
1409
1409
|
/* @__PURE__ */ jsx6("div", {
|
|
@@ -1427,7 +1427,7 @@ function GuideImportExistingCodebasesPage() {
|
|
|
1427
1427
|
children: fw.description
|
|
1428
1428
|
}),
|
|
1429
1429
|
/* @__PURE__ */ jsxs6("code", {
|
|
1430
|
-
className: "text-
|
|
1430
|
+
className: "text-violet-400 text-xs",
|
|
1431
1431
|
children: [
|
|
1432
1432
|
"--framework ",
|
|
1433
1433
|
fw.flag
|
|
@@ -1444,7 +1444,7 @@ function GuideImportExistingCodebasesPage() {
|
|
|
1444
1444
|
className: "space-y-3",
|
|
1445
1445
|
children: [
|
|
1446
1446
|
/* @__PURE__ */ jsx6("h2", {
|
|
1447
|
-
className: "text-2xl
|
|
1447
|
+
className: "font-bold text-2xl",
|
|
1448
1448
|
children: "1) Quick start"
|
|
1449
1449
|
}),
|
|
1450
1450
|
/* @__PURE__ */ jsx6("p", {
|
|
@@ -1473,7 +1473,7 @@ contractspec import ./src --framework nestjs`
|
|
|
1473
1473
|
className: "space-y-3",
|
|
1474
1474
|
children: [
|
|
1475
1475
|
/* @__PURE__ */ jsx6("h2", {
|
|
1476
|
-
className: "text-2xl
|
|
1476
|
+
className: "font-bold text-2xl",
|
|
1477
1477
|
children: "2) Framework-specific patterns"
|
|
1478
1478
|
}),
|
|
1479
1479
|
/* @__PURE__ */ jsx6("p", {
|
|
@@ -1486,7 +1486,7 @@ contractspec import ./src --framework nestjs`
|
|
|
1486
1486
|
className: "space-y-3",
|
|
1487
1487
|
children: [
|
|
1488
1488
|
/* @__PURE__ */ jsxs6("h3", {
|
|
1489
|
-
className: "flex items-center gap-2 text-xl
|
|
1489
|
+
className: "flex items-center gap-2 font-semibold text-xl",
|
|
1490
1490
|
children: [
|
|
1491
1491
|
/* @__PURE__ */ jsx6(Scan, {
|
|
1492
1492
|
size: 18,
|
|
@@ -1550,7 +1550,7 @@ export class UsersController {
|
|
|
1550
1550
|
className: "space-y-3",
|
|
1551
1551
|
children: [
|
|
1552
1552
|
/* @__PURE__ */ jsxs6("h3", {
|
|
1553
|
-
className: "flex items-center gap-2 text-xl
|
|
1553
|
+
className: "flex items-center gap-2 font-semibold text-xl",
|
|
1554
1554
|
children: [
|
|
1555
1555
|
/* @__PURE__ */ jsx6(Scan, {
|
|
1556
1556
|
size: 18,
|
|
@@ -1594,7 +1594,7 @@ router.post('/users', validateBody(CreateUserSchema), async (req, res) => {
|
|
|
1594
1594
|
className: "space-y-3",
|
|
1595
1595
|
children: [
|
|
1596
1596
|
/* @__PURE__ */ jsxs6("h3", {
|
|
1597
|
-
className: "flex items-center gap-2 text-xl
|
|
1597
|
+
className: "flex items-center gap-2 font-semibold text-xl",
|
|
1598
1598
|
children: [
|
|
1599
1599
|
/* @__PURE__ */ jsx6(Scan, {
|
|
1600
1600
|
size: 18,
|
|
@@ -1649,7 +1649,7 @@ export async function POST(request: Request) {
|
|
|
1649
1649
|
className: "space-y-3",
|
|
1650
1650
|
children: [
|
|
1651
1651
|
/* @__PURE__ */ jsx6("h2", {
|
|
1652
|
-
className: "text-2xl
|
|
1652
|
+
className: "font-bold text-2xl",
|
|
1653
1653
|
children: "3) Understanding generated contracts"
|
|
1654
1654
|
}),
|
|
1655
1655
|
/* @__PURE__ */ jsx6("p", {
|
|
@@ -1727,7 +1727,7 @@ export const CreateUserCommand = defineCommand({
|
|
|
1727
1727
|
className: "space-y-3",
|
|
1728
1728
|
children: [
|
|
1729
1729
|
/* @__PURE__ */ jsx6("h2", {
|
|
1730
|
-
className: "text-2xl
|
|
1730
|
+
className: "font-bold text-2xl",
|
|
1731
1731
|
children: "4) Customizing imports"
|
|
1732
1732
|
}),
|
|
1733
1733
|
/* @__PURE__ */ jsxs6("div", {
|
|
@@ -1738,7 +1738,7 @@ export const CreateUserCommand = defineCommand({
|
|
|
1738
1738
|
className: "text-violet-400"
|
|
1739
1739
|
}),
|
|
1740
1740
|
/* @__PURE__ */ jsx6("h3", {
|
|
1741
|
-
className: "text-lg
|
|
1741
|
+
className: "font-semibold text-lg",
|
|
1742
1742
|
children: "Available options"
|
|
1743
1743
|
})
|
|
1744
1744
|
]
|
|
@@ -1750,7 +1750,7 @@ export const CreateUserCommand = defineCommand({
|
|
|
1750
1750
|
children: [
|
|
1751
1751
|
/* @__PURE__ */ jsx6("thead", {
|
|
1752
1752
|
children: /* @__PURE__ */ jsxs6("tr", {
|
|
1753
|
-
className: "border-
|
|
1753
|
+
className: "border-white/10 border-b",
|
|
1754
1754
|
children: [
|
|
1755
1755
|
/* @__PURE__ */ jsx6("th", {
|
|
1756
1756
|
className: "py-2 pr-4 text-left",
|
|
@@ -1771,7 +1771,7 @@ export const CreateUserCommand = defineCommand({
|
|
|
1771
1771
|
className: "text-muted-foreground",
|
|
1772
1772
|
children: [
|
|
1773
1773
|
/* @__PURE__ */ jsxs6("tr", {
|
|
1774
|
-
className: "border-
|
|
1774
|
+
className: "border-white/5 border-b",
|
|
1775
1775
|
children: [
|
|
1776
1776
|
/* @__PURE__ */ jsx6("td", {
|
|
1777
1777
|
className: "py-2 pr-4",
|
|
@@ -1792,7 +1792,7 @@ export const CreateUserCommand = defineCommand({
|
|
|
1792
1792
|
]
|
|
1793
1793
|
}),
|
|
1794
1794
|
/* @__PURE__ */ jsxs6("tr", {
|
|
1795
|
-
className: "border-
|
|
1795
|
+
className: "border-white/5 border-b",
|
|
1796
1796
|
children: [
|
|
1797
1797
|
/* @__PURE__ */ jsx6("td", {
|
|
1798
1798
|
className: "py-2 pr-4",
|
|
@@ -1813,7 +1813,7 @@ export const CreateUserCommand = defineCommand({
|
|
|
1813
1813
|
]
|
|
1814
1814
|
}),
|
|
1815
1815
|
/* @__PURE__ */ jsxs6("tr", {
|
|
1816
|
-
className: "border-
|
|
1816
|
+
className: "border-white/5 border-b",
|
|
1817
1817
|
children: [
|
|
1818
1818
|
/* @__PURE__ */ jsx6("td", {
|
|
1819
1819
|
className: "py-2 pr-4",
|
|
@@ -1834,7 +1834,7 @@ export const CreateUserCommand = defineCommand({
|
|
|
1834
1834
|
]
|
|
1835
1835
|
}),
|
|
1836
1836
|
/* @__PURE__ */ jsxs6("tr", {
|
|
1837
|
-
className: "border-
|
|
1837
|
+
className: "border-white/5 border-b",
|
|
1838
1838
|
children: [
|
|
1839
1839
|
/* @__PURE__ */ jsx6("td", {
|
|
1840
1840
|
className: "py-2 pr-4",
|
|
@@ -1855,7 +1855,7 @@ export const CreateUserCommand = defineCommand({
|
|
|
1855
1855
|
]
|
|
1856
1856
|
}),
|
|
1857
1857
|
/* @__PURE__ */ jsxs6("tr", {
|
|
1858
|
-
className: "border-
|
|
1858
|
+
className: "border-white/5 border-b",
|
|
1859
1859
|
children: [
|
|
1860
1860
|
/* @__PURE__ */ jsx6("td", {
|
|
1861
1861
|
className: "py-2 pr-4",
|
|
@@ -1921,7 +1921,7 @@ contractspec import ./src --json > import-result.json`
|
|
|
1921
1921
|
className: "space-y-3",
|
|
1922
1922
|
children: [
|
|
1923
1923
|
/* @__PURE__ */ jsx6("h2", {
|
|
1924
|
-
className: "text-2xl
|
|
1924
|
+
className: "font-bold text-2xl",
|
|
1925
1925
|
children: "5) Registering imported contracts"
|
|
1926
1926
|
}),
|
|
1927
1927
|
/* @__PURE__ */ jsx6("p", {
|
|
@@ -1959,11 +1959,11 @@ installOp(registry, CreateUserCommand, async (input) => {
|
|
|
1959
1959
|
className: "space-y-3",
|
|
1960
1960
|
children: [
|
|
1961
1961
|
/* @__PURE__ */ jsx6("h2", {
|
|
1962
|
-
className: "text-2xl
|
|
1962
|
+
className: "font-bold text-2xl",
|
|
1963
1963
|
children: "6) After importing"
|
|
1964
1964
|
}),
|
|
1965
1965
|
/* @__PURE__ */ jsxs6("ol", {
|
|
1966
|
-
className: "
|
|
1966
|
+
className: "list-decimal space-y-2 pl-5 text-muted-foreground text-sm",
|
|
1967
1967
|
children: [
|
|
1968
1968
|
/* @__PURE__ */ jsxs6("li", {
|
|
1969
1969
|
children: [
|
|
@@ -2018,7 +2018,7 @@ installOp(registry, CreateUserCommand, async (input) => {
|
|
|
2018
2018
|
className: "space-y-3",
|
|
2019
2019
|
children: [
|
|
2020
2020
|
/* @__PURE__ */ jsxs6("h2", {
|
|
2021
|
-
className: "flex items-center gap-2 text-2xl
|
|
2021
|
+
className: "flex items-center gap-2 font-bold text-2xl",
|
|
2022
2022
|
children: [
|
|
2023
2023
|
/* @__PURE__ */ jsx6(AlertCircle, {
|
|
2024
2024
|
size: 20,
|
|
@@ -2094,7 +2094,7 @@ installOp(registry, CreateUserCommand, async (input) => {
|
|
|
2094
2094
|
}),
|
|
2095
2095
|
/* @__PURE__ */ jsx6(StudioPrompt, {
|
|
2096
2096
|
title: "Want evidence-driven migration priorities?",
|
|
2097
|
-
body: "Studio clusters product signals into scored patterns, then proposes
|
|
2097
|
+
body: "Studio clusters product signals into scored patterns, then proposes contract changes and execution-ready work for the highest-impact areas."
|
|
2098
2098
|
})
|
|
2099
2099
|
]
|
|
2100
2100
|
}),
|
|
@@ -2135,11 +2135,11 @@ function GuideNextjsOneEndpointPage() {
|
|
|
2135
2135
|
className: "space-y-3",
|
|
2136
2136
|
children: [
|
|
2137
2137
|
/* @__PURE__ */ jsx7("h1", {
|
|
2138
|
-
className: "text-4xl
|
|
2138
|
+
className: "font-bold text-4xl",
|
|
2139
2139
|
children: "Next.js: add one endpoint"
|
|
2140
2140
|
}),
|
|
2141
2141
|
/* @__PURE__ */ jsx7("p", {
|
|
2142
|
-
className: "text-muted-foreground
|
|
2142
|
+
className: "text-lg text-muted-foreground",
|
|
2143
2143
|
children: "Add ContractSpec to an existing Next.js App Router project by wiring a single operation end-to-end with validation and types."
|
|
2144
2144
|
})
|
|
2145
2145
|
]
|
|
@@ -2148,11 +2148,11 @@ function GuideNextjsOneEndpointPage() {
|
|
|
2148
2148
|
className: "card-subtle space-y-4 p-6",
|
|
2149
2149
|
children: [
|
|
2150
2150
|
/* @__PURE__ */ jsx7("h2", {
|
|
2151
|
-
className: "text-2xl
|
|
2151
|
+
className: "font-bold text-2xl",
|
|
2152
2152
|
children: "What you'll build"
|
|
2153
2153
|
}),
|
|
2154
2154
|
/* @__PURE__ */ jsxs7("ul", {
|
|
2155
|
-
className: "
|
|
2155
|
+
className: "space-y-2 text-muted-foreground text-sm",
|
|
2156
2156
|
children: [
|
|
2157
2157
|
/* @__PURE__ */ jsx7("li", {
|
|
2158
2158
|
children: "One OperationSpec with SchemaModel validation."
|
|
@@ -2174,7 +2174,7 @@ function GuideNextjsOneEndpointPage() {
|
|
|
2174
2174
|
className: "space-y-3",
|
|
2175
2175
|
children: [
|
|
2176
2176
|
/* @__PURE__ */ jsx7("h2", {
|
|
2177
|
-
className: "text-2xl
|
|
2177
|
+
className: "font-bold text-2xl",
|
|
2178
2178
|
children: "1) Install core packages"
|
|
2179
2179
|
}),
|
|
2180
2180
|
/* @__PURE__ */ jsx7(CodeBlock6, {
|
|
@@ -2199,7 +2199,7 @@ bun add @contractspec/lib.contracts-spec @contractspec/lib.contracts-runtime-ser
|
|
|
2199
2199
|
className: "space-y-3",
|
|
2200
2200
|
children: [
|
|
2201
2201
|
/* @__PURE__ */ jsx7("h2", {
|
|
2202
|
-
className: "text-2xl
|
|
2202
|
+
className: "font-bold text-2xl",
|
|
2203
2203
|
children: "2) Define the operation spec"
|
|
2204
2204
|
}),
|
|
2205
2205
|
/* @__PURE__ */ jsxs7("p", {
|
|
@@ -2254,7 +2254,7 @@ export const HealthcheckQuery = defineQuery({
|
|
|
2254
2254
|
className: "space-y-3",
|
|
2255
2255
|
children: [
|
|
2256
2256
|
/* @__PURE__ */ jsx7("h2", {
|
|
2257
|
-
className: "text-2xl
|
|
2257
|
+
className: "font-bold text-2xl",
|
|
2258
2258
|
children: "3) Register the operation"
|
|
2259
2259
|
}),
|
|
2260
2260
|
/* @__PURE__ */ jsxs7("p", {
|
|
@@ -2289,7 +2289,7 @@ installOp(registry, HealthcheckQuery, async () => ({
|
|
|
2289
2289
|
className: "space-y-3",
|
|
2290
2290
|
children: [
|
|
2291
2291
|
/* @__PURE__ */ jsx7("h2", {
|
|
2292
|
-
className: "text-2xl
|
|
2292
|
+
className: "font-bold text-2xl",
|
|
2293
2293
|
children: "4) Add the Next.js handler"
|
|
2294
2294
|
}),
|
|
2295
2295
|
/* @__PURE__ */ jsxs7("p", {
|
|
@@ -2331,7 +2331,7 @@ export { handler as GET, handler as POST };`
|
|
|
2331
2331
|
className: "space-y-3",
|
|
2332
2332
|
children: [
|
|
2333
2333
|
/* @__PURE__ */ jsx7("h2", {
|
|
2334
|
-
className: "text-2xl
|
|
2334
|
+
className: "font-bold text-2xl",
|
|
2335
2335
|
children: "5) Validate the spec"
|
|
2336
2336
|
}),
|
|
2337
2337
|
/* @__PURE__ */ jsx7(CodeBlock6, {
|
|
@@ -2355,7 +2355,7 @@ export { handler as GET, handler as POST };`
|
|
|
2355
2355
|
className: "card-subtle space-y-3 p-6",
|
|
2356
2356
|
children: [
|
|
2357
2357
|
/* @__PURE__ */ jsx7("h3", {
|
|
2358
|
-
className: "text-lg
|
|
2358
|
+
className: "font-semibold text-lg",
|
|
2359
2359
|
children: "Example package"
|
|
2360
2360
|
}),
|
|
2361
2361
|
/* @__PURE__ */ jsxs7("p", {
|
|
@@ -2422,11 +2422,11 @@ function GuideSpecValidationTypingPage() {
|
|
|
2422
2422
|
className: "space-y-3",
|
|
2423
2423
|
children: [
|
|
2424
2424
|
/* @__PURE__ */ jsx8("h1", {
|
|
2425
|
-
className: "text-4xl
|
|
2425
|
+
className: "font-bold text-4xl",
|
|
2426
2426
|
children: "Spec-driven validation + typing"
|
|
2427
2427
|
}),
|
|
2428
2428
|
/* @__PURE__ */ jsx8("p", {
|
|
2429
|
-
className: "text-muted-foreground
|
|
2429
|
+
className: "text-lg text-muted-foreground",
|
|
2430
2430
|
children: "Define a single operation with SchemaModel, generate validation, and keep your existing handler logic."
|
|
2431
2431
|
})
|
|
2432
2432
|
]
|
|
@@ -2435,11 +2435,11 @@ function GuideSpecValidationTypingPage() {
|
|
|
2435
2435
|
className: "card-subtle space-y-4 p-6",
|
|
2436
2436
|
children: [
|
|
2437
2437
|
/* @__PURE__ */ jsx8("h2", {
|
|
2438
|
-
className: "text-2xl
|
|
2438
|
+
className: "font-bold text-2xl",
|
|
2439
2439
|
children: "What you'll build"
|
|
2440
2440
|
}),
|
|
2441
2441
|
/* @__PURE__ */ jsxs8("ul", {
|
|
2442
|
-
className: "
|
|
2442
|
+
className: "space-y-2 text-muted-foreground text-sm",
|
|
2443
2443
|
children: [
|
|
2444
2444
|
/* @__PURE__ */ jsx8("li", {
|
|
2445
2445
|
children: "One command spec with explicit input/output models."
|
|
@@ -2461,7 +2461,7 @@ function GuideSpecValidationTypingPage() {
|
|
|
2461
2461
|
className: "space-y-3",
|
|
2462
2462
|
children: [
|
|
2463
2463
|
/* @__PURE__ */ jsx8("h2", {
|
|
2464
|
-
className: "text-2xl
|
|
2464
|
+
className: "font-bold text-2xl",
|
|
2465
2465
|
children: "1) Define the spec"
|
|
2466
2466
|
}),
|
|
2467
2467
|
/* @__PURE__ */ jsxs8("p", {
|
|
@@ -2531,7 +2531,7 @@ export const ContactCreateCommand = defineCommand({
|
|
|
2531
2531
|
className: "space-y-3",
|
|
2532
2532
|
children: [
|
|
2533
2533
|
/* @__PURE__ */ jsx8("h2", {
|
|
2534
|
-
className: "text-2xl
|
|
2534
|
+
className: "font-bold text-2xl",
|
|
2535
2535
|
children: "2) Wire the handler"
|
|
2536
2536
|
}),
|
|
2537
2537
|
/* @__PURE__ */ jsx8("p", {
|
|
@@ -2561,7 +2561,7 @@ export const ContactCreateCommand = defineCommand({
|
|
|
2561
2561
|
className: "space-y-3",
|
|
2562
2562
|
children: [
|
|
2563
2563
|
/* @__PURE__ */ jsx8("h2", {
|
|
2564
|
-
className: "text-2xl
|
|
2564
|
+
className: "font-bold text-2xl",
|
|
2565
2565
|
children: "3) Validate"
|
|
2566
2566
|
}),
|
|
2567
2567
|
/* @__PURE__ */ jsx8(CodeBlock7, {
|
|
@@ -2585,7 +2585,7 @@ export const ContactCreateCommand = defineCommand({
|
|
|
2585
2585
|
className: "card-subtle space-y-3 p-6",
|
|
2586
2586
|
children: [
|
|
2587
2587
|
/* @__PURE__ */ jsx8("h3", {
|
|
2588
|
-
className: "text-lg
|
|
2588
|
+
className: "font-semibold text-lg",
|
|
2589
2589
|
children: "Example package"
|
|
2590
2590
|
}),
|
|
2591
2591
|
/* @__PURE__ */ jsx8("p", {
|
|
@@ -2636,48 +2636,42 @@ bun run validate`
|
|
|
2636
2636
|
// src/components/docs/guides/GuidesIndexPage.tsx
|
|
2637
2637
|
import { CodeBlock as CodeBlock8 } from "@contractspec/lib.design-system";
|
|
2638
2638
|
import Link9 from "@contractspec/lib.ui-link";
|
|
2639
|
-
import { ArrowRight,
|
|
2639
|
+
import { ArrowRight, CheckCircle2, GitBranch } from "lucide-react";
|
|
2640
2640
|
import { jsx as jsx9, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
2641
2641
|
var guides = [
|
|
2642
2642
|
{
|
|
2643
|
-
title: "
|
|
2644
|
-
description: "
|
|
2645
|
-
href: "/docs/guides/contract-types",
|
|
2646
|
-
time: "15 min"
|
|
2647
|
-
},
|
|
2648
|
-
{
|
|
2649
|
-
title: "Next.js: one endpoint",
|
|
2650
|
-
description: "Add ContractSpec to an existing Next.js app by wiring one operation end-to-end.",
|
|
2643
|
+
title: "Adopt one endpoint in Next.js",
|
|
2644
|
+
description: "Start inside a live app with one operation, one generated surface, and one clearly bounded change.",
|
|
2651
2645
|
href: "/docs/guides/nextjs-one-endpoint",
|
|
2652
2646
|
time: "25 min"
|
|
2653
2647
|
},
|
|
2654
2648
|
{
|
|
2655
|
-
title: "Import existing
|
|
2656
|
-
description: "
|
|
2649
|
+
title: "Import an existing codebase",
|
|
2650
|
+
description: "Stabilize what already exists instead of treating adoption as a rewrite project.",
|
|
2657
2651
|
href: "/docs/guides/import-existing-codebases",
|
|
2658
2652
|
time: "20 min"
|
|
2659
2653
|
},
|
|
2660
2654
|
{
|
|
2661
|
-
title: "
|
|
2662
|
-
description: "
|
|
2655
|
+
title: "Validation and typing",
|
|
2656
|
+
description: "Keep runtime validation and TypeScript behavior aligned from the same source definitions.",
|
|
2663
2657
|
href: "/docs/guides/spec-validation-and-typing",
|
|
2664
2658
|
time: "20 min"
|
|
2665
2659
|
},
|
|
2666
2660
|
{
|
|
2667
|
-
title: "Generate docs
|
|
2668
|
-
description: "
|
|
2661
|
+
title: "Generate docs and clients",
|
|
2662
|
+
description: "Publish stable docs, schemas, and client-facing artifacts from the contract layer.",
|
|
2669
2663
|
href: "/docs/guides/generate-docs-clients-schemas",
|
|
2670
2664
|
time: "20 min"
|
|
2671
2665
|
},
|
|
2672
2666
|
{
|
|
2673
2667
|
title: "Docs pipeline",
|
|
2674
|
-
description: "
|
|
2668
|
+
description: "Feed generated reference material into the docs site without confusing ownership.",
|
|
2675
2669
|
href: "/docs/guides/docs-generation-pipeline",
|
|
2676
2670
|
time: "20 min"
|
|
2677
2671
|
},
|
|
2678
2672
|
{
|
|
2679
|
-
title: "CI gating
|
|
2680
|
-
description: "
|
|
2673
|
+
title: "CI diff gating",
|
|
2674
|
+
description: "Use deterministic checks to catch drift and risky changes before they ship.",
|
|
2681
2675
|
href: "/docs/guides/ci-contract-diff-gating",
|
|
2682
2676
|
time: "15 min"
|
|
2683
2677
|
}
|
|
@@ -2689,13 +2683,17 @@ function GuidesIndexPage() {
|
|
|
2689
2683
|
/* @__PURE__ */ jsxs9("div", {
|
|
2690
2684
|
className: "space-y-3",
|
|
2691
2685
|
children: [
|
|
2686
|
+
/* @__PURE__ */ jsx9("p", {
|
|
2687
|
+
className: "editorial-kicker",
|
|
2688
|
+
children: "Build"
|
|
2689
|
+
}),
|
|
2692
2690
|
/* @__PURE__ */ jsx9("h1", {
|
|
2693
|
-
className: "text-4xl
|
|
2694
|
-
children: "
|
|
2691
|
+
className: "font-serif text-4xl tracking-[-0.04em] md:text-5xl",
|
|
2692
|
+
children: "Adoption guides for teams that want to keep their code."
|
|
2695
2693
|
}),
|
|
2696
2694
|
/* @__PURE__ */ jsx9("p", {
|
|
2697
|
-
className: "text-muted-foreground
|
|
2698
|
-
children: "
|
|
2695
|
+
className: "max-w-3xl text-lg text-muted-foreground leading-8",
|
|
2696
|
+
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."
|
|
2699
2697
|
})
|
|
2700
2698
|
]
|
|
2701
2699
|
}),
|
|
@@ -2703,27 +2701,31 @@ function GuidesIndexPage() {
|
|
|
2703
2701
|
className: "grid gap-4 md:grid-cols-2",
|
|
2704
2702
|
children: guides.map((guide) => /* @__PURE__ */ jsxs9(Link9, {
|
|
2705
2703
|
href: guide.href,
|
|
2706
|
-
className: "
|
|
2704
|
+
className: "editorial-panel",
|
|
2707
2705
|
children: [
|
|
2708
2706
|
/* @__PURE__ */ jsxs9("div", {
|
|
2709
|
-
className: "flex items-
|
|
2707
|
+
className: "flex items-start justify-between gap-4",
|
|
2710
2708
|
children: [
|
|
2711
|
-
/* @__PURE__ */
|
|
2712
|
-
|
|
2713
|
-
|
|
2709
|
+
/* @__PURE__ */ jsxs9("div", {
|
|
2710
|
+
children: [
|
|
2711
|
+
/* @__PURE__ */ jsx9("h2", {
|
|
2712
|
+
className: "font-semibold text-xl",
|
|
2713
|
+
children: guide.title
|
|
2714
|
+
}),
|
|
2715
|
+
/* @__PURE__ */ jsx9("p", {
|
|
2716
|
+
className: "mt-2 text-muted-foreground text-sm leading-7",
|
|
2717
|
+
children: guide.description
|
|
2718
|
+
})
|
|
2719
|
+
]
|
|
2714
2720
|
}),
|
|
2715
2721
|
/* @__PURE__ */ jsx9(ArrowRight, {
|
|
2716
|
-
className: "
|
|
2722
|
+
className: "mt-1 shrink-0",
|
|
2717
2723
|
size: 18
|
|
2718
2724
|
})
|
|
2719
2725
|
]
|
|
2720
2726
|
}),
|
|
2721
|
-
/* @__PURE__ */ jsx9("p", {
|
|
2722
|
-
className: "text-muted-foreground text-sm",
|
|
2723
|
-
children: guide.description
|
|
2724
|
-
}),
|
|
2725
2727
|
/* @__PURE__ */ jsxs9("div", {
|
|
2726
|
-
className: "
|
|
2728
|
+
className: "mt-4 flex items-center gap-2 text-muted-foreground text-xs",
|
|
2727
2729
|
children: [
|
|
2728
2730
|
/* @__PURE__ */ jsx9(CheckCircle2, {
|
|
2729
2731
|
size: 14
|
|
@@ -2740,38 +2742,59 @@ function GuidesIndexPage() {
|
|
|
2740
2742
|
}, guide.href))
|
|
2741
2743
|
}),
|
|
2742
2744
|
/* @__PURE__ */ jsxs9("div", {
|
|
2743
|
-
className: "
|
|
2745
|
+
className: "editorial-panel space-y-4",
|
|
2744
2746
|
children: [
|
|
2745
2747
|
/* @__PURE__ */ jsxs9("div", {
|
|
2746
|
-
className: "flex items-center gap-2 text-
|
|
2748
|
+
className: "flex items-center gap-2 font-semibold text-[color:var(--rust)] text-sm uppercase tracking-[0.2em]",
|
|
2747
2749
|
children: [
|
|
2748
|
-
/* @__PURE__ */ jsx9(
|
|
2750
|
+
/* @__PURE__ */ jsx9(GitBranch, {
|
|
2749
2751
|
size: 16
|
|
2750
2752
|
}),
|
|
2751
|
-
"
|
|
2753
|
+
"Working style"
|
|
2752
2754
|
]
|
|
2753
2755
|
}),
|
|
2754
2756
|
/* @__PURE__ */ jsxs9("ul", {
|
|
2755
|
-
className: "
|
|
2757
|
+
className: "editorial-list",
|
|
2756
2758
|
children: [
|
|
2757
|
-
/* @__PURE__ */
|
|
2758
|
-
children:
|
|
2759
|
+
/* @__PURE__ */ jsxs9("li", {
|
|
2760
|
+
children: [
|
|
2761
|
+
/* @__PURE__ */ jsx9("span", {
|
|
2762
|
+
className: "editorial-list-marker"
|
|
2763
|
+
}),
|
|
2764
|
+
/* @__PURE__ */ jsx9("span", {
|
|
2765
|
+
children: "Run each guide in a branch or sandboxed workspace."
|
|
2766
|
+
})
|
|
2767
|
+
]
|
|
2759
2768
|
}),
|
|
2760
|
-
/* @__PURE__ */
|
|
2761
|
-
children:
|
|
2769
|
+
/* @__PURE__ */ jsxs9("li", {
|
|
2770
|
+
children: [
|
|
2771
|
+
/* @__PURE__ */ jsx9("span", {
|
|
2772
|
+
className: "editorial-list-marker"
|
|
2773
|
+
}),
|
|
2774
|
+
/* @__PURE__ */ jsx9("span", {
|
|
2775
|
+
children: "Prefer one bounded surface at a time: one endpoint, one workflow, one integration, one unsafe module."
|
|
2776
|
+
})
|
|
2777
|
+
]
|
|
2762
2778
|
}),
|
|
2763
|
-
/* @__PURE__ */
|
|
2764
|
-
children:
|
|
2779
|
+
/* @__PURE__ */ jsxs9("li", {
|
|
2780
|
+
children: [
|
|
2781
|
+
/* @__PURE__ */ jsx9("span", {
|
|
2782
|
+
className: "editorial-list-marker"
|
|
2783
|
+
}),
|
|
2784
|
+
/* @__PURE__ */ jsx9("span", {
|
|
2785
|
+
children: "Use the example and reference outputs to verify what changed, not just the narrative page."
|
|
2786
|
+
})
|
|
2787
|
+
]
|
|
2765
2788
|
})
|
|
2766
2789
|
]
|
|
2767
2790
|
}),
|
|
2768
2791
|
/* @__PURE__ */ jsx9(CodeBlock8, {
|
|
2769
2792
|
language: "bash",
|
|
2770
2793
|
filename: "guides-quickstart",
|
|
2771
|
-
code: `# list
|
|
2794
|
+
code: `# list example systems
|
|
2772
2795
|
contractspec examples list
|
|
2773
2796
|
|
|
2774
|
-
# validate
|
|
2797
|
+
# validate the examples in this workspace
|
|
2775
2798
|
contractspec examples validate --repo-root .`
|
|
2776
2799
|
})
|
|
2777
2800
|
]
|