@contractspec/bundle.library 3.4.2 → 3.5.0
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 +494 -488
- package/CHANGELOG.md +61 -0
- package/dist/application/index.js +8 -8
- package/dist/application/mcp/cliMcp.js +8 -8
- package/dist/application/mcp/contractsMcp.js +8 -8
- package/dist/application/mcp/docsMcp.js +8 -8
- package/dist/application/mcp/index.js +8 -8
- package/dist/application/mcp/internalMcp.js +8 -8
- package/dist/application/mcp/providerRankingMcp.js +8 -8
- package/dist/bundles/LibraryBundle.d.ts +126 -0
- package/dist/bundles/LibraryBundle.js +139 -0
- package/dist/bundles/index.d.ts +1 -0
- package/dist/bundles/index.js +139 -0
- package/dist/components/docs/DocsIndexPage.js +91 -91
- package/dist/components/docs/advanced/AdvancedMCPPage.js +125 -125
- package/dist/components/docs/advanced/AdvancedOverlayEditorPage.js +49 -49
- package/dist/components/docs/advanced/AdvancedRenderersPage.js +51 -51
- package/dist/components/docs/advanced/AdvancedSpecExperimentsPage.js +35 -35
- package/dist/components/docs/advanced/AdvancedTelemetryPage.js +177 -177
- package/dist/components/docs/advanced/AdvancedWorkflowMonitoringPage.js +45 -45
- package/dist/components/docs/advanced/index.js +482 -482
- package/dist/components/docs/architecture/ArchitectureAppConfigPage.js +107 -107
- package/dist/components/docs/architecture/ArchitectureControlPlanePage.js +73 -73
- package/dist/components/docs/architecture/ArchitectureIntegrationBindingPage.js +117 -117
- package/dist/components/docs/architecture/ArchitectureKnowledgeBindingPage.js +175 -175
- package/dist/components/docs/architecture/ArchitectureMultiTenancyPage.js +71 -71
- package/dist/components/docs/architecture/ArchitectureOverviewPage.js +205 -205
- package/dist/components/docs/architecture/index.js +748 -748
- package/dist/components/docs/comparison/ComparisonAutomationPlatformsPage.js +117 -117
- package/dist/components/docs/comparison/ComparisonEnterprisePlatformsPage.js +111 -111
- package/dist/components/docs/comparison/ComparisonInternalToolBuildersPage.js +117 -117
- package/dist/components/docs/comparison/ComparisonOverviewPage.js +97 -97
- package/dist/components/docs/comparison/ComparisonWindmillPage.js +125 -125
- package/dist/components/docs/comparison/ComparisonWorkflowEnginesPage.js +171 -171
- package/dist/components/docs/comparison/index.js +738 -738
- package/dist/components/docs/ecosystem/IntegrationsPage.js +45 -45
- package/dist/components/docs/ecosystem/PluginsPage.js +73 -73
- package/dist/components/docs/ecosystem/RegistryPage.js +37 -37
- package/dist/components/docs/ecosystem/TemplatesPage.js +56 -56
- package/dist/components/docs/ecosystem/index.js +211 -211
- package/dist/components/docs/examples/DocsExamplesPage.js +21 -21
- package/dist/components/docs/examples/index.js +21 -21
- package/dist/components/docs/getting-started/CLIPage.js +95 -95
- package/dist/components/docs/getting-started/CompatibilityPage.js +81 -81
- package/dist/components/docs/getting-started/DataViewTutorialPage.js +57 -57
- package/dist/components/docs/getting-started/DeveloperToolsPage.js +61 -61
- package/dist/components/docs/getting-started/HelloWorldPage.js +77 -77
- package/dist/components/docs/getting-started/InstallationPage.js +65 -65
- package/dist/components/docs/getting-started/StartHerePage.js +51 -51
- package/dist/components/docs/getting-started/TroubleshootingPage.js +73 -73
- package/dist/components/docs/getting-started/VSCodeExtensionPage.js +171 -171
- package/dist/components/docs/getting-started/index.js +731 -731
- package/dist/components/docs/guides/GuideCIDiffGatingPage.js +80 -80
- package/dist/components/docs/guides/GuideContractTypesPage.js +232 -232
- package/dist/components/docs/guides/GuideDocsPipelinePage.js +82 -82
- package/dist/components/docs/guides/GuideGenerateDocsClientsSchemasPage.js +84 -84
- package/dist/components/docs/guides/GuideImportExistingCodebasesPage.js +324 -324
- package/dist/components/docs/guides/GuideNextjsOneEndpointPage.js +106 -106
- package/dist/components/docs/guides/GuideSpecValidationTypingPage.js +78 -78
- package/dist/components/docs/guides/GuidesIndexPage.js +43 -43
- package/dist/components/docs/guides/index.js +975 -975
- package/dist/components/docs/index.js +10791 -10791
- package/dist/components/docs/integrations/IntegrationsCircuitBreakersPage.js +17 -17
- package/dist/components/docs/integrations/IntegrationsElevenLabsPage.js +47 -47
- package/dist/components/docs/integrations/IntegrationsGithubPage.js +61 -61
- package/dist/components/docs/integrations/IntegrationsGmailPage.js +49 -49
- package/dist/components/docs/integrations/IntegrationsGoogleCalendarPage.js +33 -33
- package/dist/components/docs/integrations/IntegrationsHealthRoutingPage.js +65 -65
- package/dist/components/docs/integrations/IntegrationsMistralPage.js +69 -69
- package/dist/components/docs/integrations/IntegrationsOpenAIPage.js +65 -65
- package/dist/components/docs/integrations/IntegrationsOverviewPage.js +313 -313
- package/dist/components/docs/integrations/IntegrationsPostmarkPage.js +101 -101
- package/dist/components/docs/integrations/IntegrationsPowensPage.js +121 -121
- package/dist/components/docs/integrations/IntegrationsQdrantPage.js +49 -49
- package/dist/components/docs/integrations/IntegrationsResendPage.js +45 -45
- package/dist/components/docs/integrations/IntegrationsS3Page.js +57 -57
- package/dist/components/docs/integrations/IntegrationsSlackPage.js +63 -63
- package/dist/components/docs/integrations/IntegrationsSpecModelPage.js +139 -139
- package/dist/components/docs/integrations/IntegrationsStripePage.js +159 -159
- package/dist/components/docs/integrations/IntegrationsTwilioPage.js +61 -61
- package/dist/components/docs/integrations/IntegrationsWhatsappMetaPage.js +63 -63
- package/dist/components/docs/integrations/IntegrationsWhatsappTwilioPage.js +65 -65
- package/dist/components/docs/integrations/index.js +1642 -1642
- package/dist/components/docs/intent/ContractFirstApiPage.js +51 -51
- package/dist/components/docs/intent/DeterministicCodegenPage.js +59 -59
- package/dist/components/docs/intent/GenerateClientFromSchemaPage.js +85 -85
- package/dist/components/docs/intent/OpenapiAlternativePage.js +91 -91
- package/dist/components/docs/intent/SchemaValidationTypescriptPage.js +59 -59
- package/dist/components/docs/intent/SpecDrivenDevelopmentPage.js +51 -51
- package/dist/components/docs/intent/index.js +396 -396
- package/dist/components/docs/knowledge/KnowledgeCategoriesPage.js +371 -371
- package/dist/components/docs/knowledge/KnowledgeExamplesPage.js +79 -79
- package/dist/components/docs/knowledge/KnowledgeOverviewPage.js +185 -185
- package/dist/components/docs/knowledge/KnowledgeSourcesPage.js +187 -187
- package/dist/components/docs/knowledge/KnowledgeSpacesPage.js +141 -141
- package/dist/components/docs/knowledge/index.js +963 -963
- package/dist/components/docs/libraries/LibrariesAccessibilityPage.js +85 -85
- package/dist/components/docs/libraries/LibrariesAiAgentPage.js +63 -63
- package/dist/components/docs/libraries/LibrariesAnalyticsPage.js +33 -33
- package/dist/components/docs/libraries/LibrariesContentGenPage.js +43 -43
- package/dist/components/docs/libraries/LibrariesContractsPage.js +125 -125
- package/dist/components/docs/libraries/LibrariesCostTrackingPage.js +45 -45
- package/dist/components/docs/libraries/LibrariesDataBackendPage.js +69 -69
- package/dist/components/docs/libraries/LibrariesDataViewsPage.js +79 -79
- package/dist/components/docs/libraries/LibrariesDesignSystemPage.js +129 -129
- package/dist/components/docs/libraries/LibrariesEvolutionPage.js +49 -49
- package/dist/components/docs/libraries/LibrariesGraphQLPage.js +73 -73
- package/dist/components/docs/libraries/LibrariesGrowthPage.js +35 -35
- package/dist/components/docs/libraries/LibrariesMultiTenancyPage.js +43 -43
- package/dist/components/docs/libraries/LibrariesObservabilityPage.js +53 -53
- package/dist/components/docs/libraries/LibrariesOverlayEnginePage.js +45 -45
- package/dist/components/docs/libraries/LibrariesOverviewPage.js +191 -191
- package/dist/components/docs/libraries/LibrariesPersonalizationPage.js +47 -47
- package/dist/components/docs/libraries/LibrariesProgressiveDeliveryPage.js +53 -53
- package/dist/components/docs/libraries/LibrariesResiliencePage.js +49 -49
- package/dist/components/docs/libraries/LibrariesRuntimePage.js +87 -87
- package/dist/components/docs/libraries/LibrariesSLOPage.js +47 -47
- package/dist/components/docs/libraries/LibrariesSchemaPage.js +139 -139
- package/dist/components/docs/libraries/LibrariesSupportBotPage.js +57 -57
- package/dist/components/docs/libraries/LibrariesTestingPage.js +49 -49
- package/dist/components/docs/libraries/LibrariesUIKitPage.js +107 -107
- package/dist/components/docs/libraries/LibrariesWorkflowComposerPage.js +35 -35
- package/dist/components/docs/libraries/LibrariesWorkflowsPage.js +89 -89
- package/dist/components/docs/libraries/index.js +1919 -1919
- package/dist/components/docs/manifesto/ManifestoPage.js +79 -79
- package/dist/components/docs/ops/AutoEvolutionOpsPage.js +59 -59
- package/dist/components/docs/ops/DistributedTracingOpsPage.js +33 -33
- package/dist/components/docs/ops/index.js +92 -92
- package/dist/components/docs/reference/DocsMarkdownContent.js +27 -27
- package/dist/components/docs/reference/DocsReferenceContent.js +34 -34
- package/dist/components/docs/reference/DocsReferenceIndexClient.js +23 -23
- package/dist/components/docs/reference/DocsReferenceIndexPage.js +26 -26
- package/dist/components/docs/reference/DocsReferencePage.js +37 -37
- package/dist/components/docs/reference/index.js +63 -63
- package/dist/components/docs/safety/SafetyAuditingPage.js +161 -161
- package/dist/components/docs/safety/SafetyMigrationsPage.js +169 -169
- package/dist/components/docs/safety/SafetyOverviewPage.js +99 -99
- package/dist/components/docs/safety/SafetyPDPPage.js +137 -137
- package/dist/components/docs/safety/SafetySecurityTrustPage.js +95 -95
- package/dist/components/docs/safety/SafetySigningPage.js +39 -39
- package/dist/components/docs/safety/SafetyTenantIsolationPage.js +33 -33
- package/dist/components/docs/safety/index.js +733 -733
- package/dist/components/docs/shared/StudioPrompt.js +9 -9
- package/dist/components/docs/specs/SpecsCapabilitiesPage.js +61 -61
- package/dist/components/docs/specs/SpecsDataViewsPage.js +119 -119
- package/dist/components/docs/specs/SpecsOverlaysPage.js +171 -171
- package/dist/components/docs/specs/SpecsOverviewPage.js +167 -167
- package/dist/components/docs/specs/SpecsPolicyPage.js +179 -179
- package/dist/components/docs/specs/SpecsWorkflowsPage.js +141 -141
- package/dist/components/docs/specs/index.js +838 -838
- package/dist/components/docs/studio/StudioBYOKPage.js +9 -9
- package/dist/components/docs/studio/StudioDeploymentsPage.js +9 -9
- package/dist/components/docs/studio/StudioGettingStartedPage.js +9 -9
- package/dist/components/docs/studio/StudioIntegrationsPage.js +9 -9
- package/dist/components/docs/studio/StudioOverviewPage.js +33 -33
- package/dist/components/docs/studio/StudioVisualBuilderPage.js +9 -9
- package/dist/components/docs/studio/index.js +78 -78
- package/dist/components/integrations/index.js +209 -209
- package/dist/components/integrations/molecules/IntegrationCard.js +33 -33
- package/dist/components/integrations/organisms/IntegrationMarketplace.js +71 -71
- package/dist/components/integrations/organisms/IntegrationSettings.js +98 -98
- package/dist/components/integrations/organisms/KnowledgeSourceList.js +40 -40
- package/dist/components/legal/PrivacyTemplate.js +477 -477
- package/dist/components/legal/TermsTemplate.js +421 -421
- package/dist/components/legal/index.js +898 -898
- package/dist/components/shared/FeatureGateNotice.js +13 -13
- package/dist/components/shared/index.js +13 -13
- package/dist/components/shell/WorkspaceHeader.js +37 -37
- package/dist/components/shell/WorkspaceProjectShellLayout.js +77 -77
- package/dist/components/shell/WorkspaceShellRenderer.d.ts +17 -0
- package/dist/components/shell/WorkspaceShellRenderer.js +229 -0
- package/dist/components/shell/WorkspaceSidebar.js +27 -27
- package/dist/components/shell/index.d.ts +1 -0
- package/dist/components/shell/index.js +140 -77
- package/dist/components/templates/index.js +272 -272
- package/dist/components/templates/messaging/ConversationList.js +27 -27
- package/dist/components/templates/messaging/MessageComposer.js +27 -27
- package/dist/components/templates/messaging/MessageThread.js +18 -18
- package/dist/components/templates/messaging/MessagingWorkspace.js +65 -65
- package/dist/components/templates/messaging/index.js +65 -65
- package/dist/components/templates/recipes/LanguageSwitcher.js +5 -5
- package/dist/components/templates/recipes/RecipeCard.js +26 -26
- package/dist/components/templates/recipes/RecipeDetail.js +33 -33
- package/dist/components/templates/recipes/RecipeList.js +80 -80
- package/dist/components/templates/recipes/index.js +80 -80
- package/dist/components/templates/todos/FilterBar.js +39 -39
- package/dist/components/templates/todos/TaskForm.js +43 -43
- package/dist/components/templates/todos/TaskItem.js +30 -30
- package/dist/components/templates/todos/TaskList.js +127 -127
- package/dist/components/templates/todos/index.js +127 -127
- package/dist/index.js +12323 -12260
- package/dist/infrastructure/elysia/index.js +8 -8
- package/dist/infrastructure/elysia/logger.js +8 -8
- package/dist/infrastructure/index.js +8 -8
- package/dist/libs/posthog/client.js +2 -2
- package/dist/node/application/index.js +8 -8
- package/dist/node/application/mcp/cliMcp.js +8 -8
- package/dist/node/application/mcp/contractsMcp.js +8 -8
- package/dist/node/application/mcp/docsMcp.js +8 -8
- package/dist/node/application/mcp/index.js +8 -8
- package/dist/node/application/mcp/internalMcp.js +8 -8
- package/dist/node/application/mcp/providerRankingMcp.js +8 -8
- package/dist/node/bundles/LibraryBundle.js +138 -0
- package/dist/node/bundles/index.js +138 -0
- package/dist/node/components/docs/DocsIndexPage.js +91 -91
- package/dist/node/components/docs/advanced/AdvancedMCPPage.js +125 -125
- package/dist/node/components/docs/advanced/AdvancedOverlayEditorPage.js +49 -49
- package/dist/node/components/docs/advanced/AdvancedRenderersPage.js +51 -51
- package/dist/node/components/docs/advanced/AdvancedSpecExperimentsPage.js +35 -35
- package/dist/node/components/docs/advanced/AdvancedTelemetryPage.js +177 -177
- package/dist/node/components/docs/advanced/AdvancedWorkflowMonitoringPage.js +45 -45
- package/dist/node/components/docs/advanced/index.js +482 -482
- package/dist/node/components/docs/architecture/ArchitectureAppConfigPage.js +107 -107
- package/dist/node/components/docs/architecture/ArchitectureControlPlanePage.js +73 -73
- package/dist/node/components/docs/architecture/ArchitectureIntegrationBindingPage.js +117 -117
- package/dist/node/components/docs/architecture/ArchitectureKnowledgeBindingPage.js +175 -175
- package/dist/node/components/docs/architecture/ArchitectureMultiTenancyPage.js +71 -71
- package/dist/node/components/docs/architecture/ArchitectureOverviewPage.js +205 -205
- package/dist/node/components/docs/architecture/index.js +748 -748
- package/dist/node/components/docs/comparison/ComparisonAutomationPlatformsPage.js +117 -117
- package/dist/node/components/docs/comparison/ComparisonEnterprisePlatformsPage.js +111 -111
- package/dist/node/components/docs/comparison/ComparisonInternalToolBuildersPage.js +117 -117
- package/dist/node/components/docs/comparison/ComparisonOverviewPage.js +97 -97
- package/dist/node/components/docs/comparison/ComparisonWindmillPage.js +125 -125
- package/dist/node/components/docs/comparison/ComparisonWorkflowEnginesPage.js +171 -171
- package/dist/node/components/docs/comparison/index.js +738 -738
- package/dist/node/components/docs/ecosystem/IntegrationsPage.js +45 -45
- package/dist/node/components/docs/ecosystem/PluginsPage.js +73 -73
- package/dist/node/components/docs/ecosystem/RegistryPage.js +37 -37
- package/dist/node/components/docs/ecosystem/TemplatesPage.js +56 -56
- package/dist/node/components/docs/ecosystem/index.js +211 -211
- package/dist/node/components/docs/examples/DocsExamplesPage.js +21 -21
- package/dist/node/components/docs/examples/index.js +21 -21
- package/dist/node/components/docs/getting-started/CLIPage.js +95 -95
- package/dist/node/components/docs/getting-started/CompatibilityPage.js +81 -81
- package/dist/node/components/docs/getting-started/DataViewTutorialPage.js +57 -57
- package/dist/node/components/docs/getting-started/DeveloperToolsPage.js +61 -61
- package/dist/node/components/docs/getting-started/HelloWorldPage.js +77 -77
- package/dist/node/components/docs/getting-started/InstallationPage.js +65 -65
- package/dist/node/components/docs/getting-started/StartHerePage.js +51 -51
- package/dist/node/components/docs/getting-started/TroubleshootingPage.js +73 -73
- package/dist/node/components/docs/getting-started/VSCodeExtensionPage.js +171 -171
- package/dist/node/components/docs/getting-started/index.js +731 -731
- package/dist/node/components/docs/guides/GuideCIDiffGatingPage.js +80 -80
- package/dist/node/components/docs/guides/GuideContractTypesPage.js +232 -232
- package/dist/node/components/docs/guides/GuideDocsPipelinePage.js +82 -82
- package/dist/node/components/docs/guides/GuideGenerateDocsClientsSchemasPage.js +84 -84
- package/dist/node/components/docs/guides/GuideImportExistingCodebasesPage.js +324 -324
- package/dist/node/components/docs/guides/GuideNextjsOneEndpointPage.js +106 -106
- package/dist/node/components/docs/guides/GuideSpecValidationTypingPage.js +78 -78
- package/dist/node/components/docs/guides/GuidesIndexPage.js +43 -43
- package/dist/node/components/docs/guides/index.js +975 -975
- package/dist/node/components/docs/index.js +10791 -10791
- package/dist/node/components/docs/integrations/IntegrationsCircuitBreakersPage.js +17 -17
- package/dist/node/components/docs/integrations/IntegrationsElevenLabsPage.js +47 -47
- package/dist/node/components/docs/integrations/IntegrationsGithubPage.js +61 -61
- package/dist/node/components/docs/integrations/IntegrationsGmailPage.js +49 -49
- package/dist/node/components/docs/integrations/IntegrationsGoogleCalendarPage.js +33 -33
- package/dist/node/components/docs/integrations/IntegrationsHealthRoutingPage.js +65 -65
- package/dist/node/components/docs/integrations/IntegrationsMistralPage.js +69 -69
- package/dist/node/components/docs/integrations/IntegrationsOpenAIPage.js +65 -65
- package/dist/node/components/docs/integrations/IntegrationsOverviewPage.js +313 -313
- package/dist/node/components/docs/integrations/IntegrationsPostmarkPage.js +101 -101
- package/dist/node/components/docs/integrations/IntegrationsPowensPage.js +121 -121
- package/dist/node/components/docs/integrations/IntegrationsQdrantPage.js +49 -49
- package/dist/node/components/docs/integrations/IntegrationsResendPage.js +45 -45
- package/dist/node/components/docs/integrations/IntegrationsS3Page.js +57 -57
- package/dist/node/components/docs/integrations/IntegrationsSlackPage.js +63 -63
- package/dist/node/components/docs/integrations/IntegrationsSpecModelPage.js +139 -139
- package/dist/node/components/docs/integrations/IntegrationsStripePage.js +159 -159
- package/dist/node/components/docs/integrations/IntegrationsTwilioPage.js +61 -61
- package/dist/node/components/docs/integrations/IntegrationsWhatsappMetaPage.js +63 -63
- package/dist/node/components/docs/integrations/IntegrationsWhatsappTwilioPage.js +65 -65
- package/dist/node/components/docs/integrations/index.js +1642 -1642
- package/dist/node/components/docs/intent/ContractFirstApiPage.js +51 -51
- package/dist/node/components/docs/intent/DeterministicCodegenPage.js +59 -59
- package/dist/node/components/docs/intent/GenerateClientFromSchemaPage.js +85 -85
- package/dist/node/components/docs/intent/OpenapiAlternativePage.js +91 -91
- package/dist/node/components/docs/intent/SchemaValidationTypescriptPage.js +59 -59
- package/dist/node/components/docs/intent/SpecDrivenDevelopmentPage.js +51 -51
- package/dist/node/components/docs/intent/index.js +396 -396
- package/dist/node/components/docs/knowledge/KnowledgeCategoriesPage.js +371 -371
- package/dist/node/components/docs/knowledge/KnowledgeExamplesPage.js +79 -79
- package/dist/node/components/docs/knowledge/KnowledgeOverviewPage.js +185 -185
- package/dist/node/components/docs/knowledge/KnowledgeSourcesPage.js +187 -187
- package/dist/node/components/docs/knowledge/KnowledgeSpacesPage.js +141 -141
- package/dist/node/components/docs/knowledge/index.js +963 -963
- package/dist/node/components/docs/libraries/LibrariesAccessibilityPage.js +85 -85
- package/dist/node/components/docs/libraries/LibrariesAiAgentPage.js +63 -63
- package/dist/node/components/docs/libraries/LibrariesAnalyticsPage.js +33 -33
- package/dist/node/components/docs/libraries/LibrariesContentGenPage.js +43 -43
- package/dist/node/components/docs/libraries/LibrariesContractsPage.js +125 -125
- package/dist/node/components/docs/libraries/LibrariesCostTrackingPage.js +45 -45
- package/dist/node/components/docs/libraries/LibrariesDataBackendPage.js +69 -69
- package/dist/node/components/docs/libraries/LibrariesDataViewsPage.js +79 -79
- package/dist/node/components/docs/libraries/LibrariesDesignSystemPage.js +129 -129
- package/dist/node/components/docs/libraries/LibrariesEvolutionPage.js +49 -49
- package/dist/node/components/docs/libraries/LibrariesGraphQLPage.js +73 -73
- package/dist/node/components/docs/libraries/LibrariesGrowthPage.js +35 -35
- package/dist/node/components/docs/libraries/LibrariesMultiTenancyPage.js +43 -43
- package/dist/node/components/docs/libraries/LibrariesObservabilityPage.js +53 -53
- package/dist/node/components/docs/libraries/LibrariesOverlayEnginePage.js +45 -45
- package/dist/node/components/docs/libraries/LibrariesOverviewPage.js +191 -191
- package/dist/node/components/docs/libraries/LibrariesPersonalizationPage.js +47 -47
- package/dist/node/components/docs/libraries/LibrariesProgressiveDeliveryPage.js +53 -53
- package/dist/node/components/docs/libraries/LibrariesResiliencePage.js +49 -49
- package/dist/node/components/docs/libraries/LibrariesRuntimePage.js +87 -87
- package/dist/node/components/docs/libraries/LibrariesSLOPage.js +47 -47
- package/dist/node/components/docs/libraries/LibrariesSchemaPage.js +139 -139
- package/dist/node/components/docs/libraries/LibrariesSupportBotPage.js +57 -57
- package/dist/node/components/docs/libraries/LibrariesTestingPage.js +49 -49
- package/dist/node/components/docs/libraries/LibrariesUIKitPage.js +107 -107
- package/dist/node/components/docs/libraries/LibrariesWorkflowComposerPage.js +35 -35
- package/dist/node/components/docs/libraries/LibrariesWorkflowsPage.js +89 -89
- package/dist/node/components/docs/libraries/index.js +1919 -1919
- package/dist/node/components/docs/manifesto/ManifestoPage.js +79 -79
- package/dist/node/components/docs/ops/AutoEvolutionOpsPage.js +59 -59
- package/dist/node/components/docs/ops/DistributedTracingOpsPage.js +33 -33
- package/dist/node/components/docs/ops/index.js +92 -92
- package/dist/node/components/docs/reference/DocsMarkdownContent.js +27 -27
- package/dist/node/components/docs/reference/DocsReferenceContent.js +34 -34
- package/dist/node/components/docs/reference/DocsReferenceIndexClient.js +23 -23
- package/dist/node/components/docs/reference/DocsReferenceIndexPage.js +26 -26
- package/dist/node/components/docs/reference/DocsReferencePage.js +37 -37
- package/dist/node/components/docs/reference/index.js +63 -63
- package/dist/node/components/docs/safety/SafetyAuditingPage.js +161 -161
- package/dist/node/components/docs/safety/SafetyMigrationsPage.js +169 -169
- package/dist/node/components/docs/safety/SafetyOverviewPage.js +99 -99
- package/dist/node/components/docs/safety/SafetyPDPPage.js +137 -137
- package/dist/node/components/docs/safety/SafetySecurityTrustPage.js +95 -95
- package/dist/node/components/docs/safety/SafetySigningPage.js +39 -39
- package/dist/node/components/docs/safety/SafetyTenantIsolationPage.js +33 -33
- package/dist/node/components/docs/safety/index.js +733 -733
- package/dist/node/components/docs/shared/StudioPrompt.js +9 -9
- package/dist/node/components/docs/specs/SpecsCapabilitiesPage.js +61 -61
- package/dist/node/components/docs/specs/SpecsDataViewsPage.js +119 -119
- package/dist/node/components/docs/specs/SpecsOverlaysPage.js +171 -171
- package/dist/node/components/docs/specs/SpecsOverviewPage.js +167 -167
- package/dist/node/components/docs/specs/SpecsPolicyPage.js +179 -179
- package/dist/node/components/docs/specs/SpecsWorkflowsPage.js +141 -141
- package/dist/node/components/docs/specs/index.js +838 -838
- package/dist/node/components/docs/studio/StudioBYOKPage.js +9 -9
- package/dist/node/components/docs/studio/StudioDeploymentsPage.js +9 -9
- package/dist/node/components/docs/studio/StudioGettingStartedPage.js +9 -9
- package/dist/node/components/docs/studio/StudioIntegrationsPage.js +9 -9
- package/dist/node/components/docs/studio/StudioOverviewPage.js +33 -33
- package/dist/node/components/docs/studio/StudioVisualBuilderPage.js +9 -9
- package/dist/node/components/docs/studio/index.js +78 -78
- package/dist/node/components/integrations/index.js +209 -209
- package/dist/node/components/integrations/molecules/IntegrationCard.js +33 -33
- package/dist/node/components/integrations/organisms/IntegrationMarketplace.js +71 -71
- package/dist/node/components/integrations/organisms/IntegrationSettings.js +98 -98
- package/dist/node/components/integrations/organisms/KnowledgeSourceList.js +40 -40
- package/dist/node/components/legal/PrivacyTemplate.js +477 -477
- package/dist/node/components/legal/TermsTemplate.js +421 -421
- package/dist/node/components/legal/index.js +898 -898
- package/dist/node/components/shared/FeatureGateNotice.js +13 -13
- package/dist/node/components/shared/index.js +13 -13
- package/dist/node/components/shell/WorkspaceHeader.js +37 -37
- package/dist/node/components/shell/WorkspaceProjectShellLayout.js +77 -77
- package/dist/node/components/shell/WorkspaceShellRenderer.js +228 -0
- package/dist/node/components/shell/WorkspaceSidebar.js +27 -27
- package/dist/node/components/shell/index.js +140 -77
- package/dist/node/components/templates/index.js +272 -272
- package/dist/node/components/templates/messaging/ConversationList.js +27 -27
- package/dist/node/components/templates/messaging/MessageComposer.js +27 -27
- package/dist/node/components/templates/messaging/MessageThread.js +18 -18
- package/dist/node/components/templates/messaging/MessagingWorkspace.js +65 -65
- package/dist/node/components/templates/messaging/index.js +65 -65
- package/dist/node/components/templates/recipes/LanguageSwitcher.js +5 -5
- package/dist/node/components/templates/recipes/RecipeCard.js +26 -26
- package/dist/node/components/templates/recipes/RecipeDetail.js +33 -33
- package/dist/node/components/templates/recipes/RecipeList.js +80 -80
- package/dist/node/components/templates/recipes/index.js +80 -80
- package/dist/node/components/templates/todos/FilterBar.js +39 -39
- package/dist/node/components/templates/todos/TaskForm.js +43 -43
- package/dist/node/components/templates/todos/TaskItem.js +30 -30
- package/dist/node/components/templates/todos/TaskList.js +127 -127
- package/dist/node/components/templates/todos/index.js +127 -127
- package/dist/node/index.js +12323 -12260
- package/dist/node/infrastructure/elysia/index.js +8 -8
- package/dist/node/infrastructure/elysia/logger.js +8 -8
- package/dist/node/infrastructure/index.js +8 -8
- package/dist/node/libs/posthog/client.js +2 -2
- package/dist/node/presentation/features/atoms/FeatureIcon/FeatureIcon.js +3 -3
- package/dist/node/presentation/features/atoms/FeatureIcon/index.js +3 -3
- package/dist/node/presentation/features/atoms/index.js +3 -3
- package/dist/node/presentation/features/index.js +915 -915
- package/dist/node/presentation/features/molecules/FeatureCard/FeatureCard.js +101 -101
- package/dist/node/presentation/features/molecules/FeatureCard/index.js +101 -101
- package/dist/node/presentation/features/molecules/FeatureCategoryHeader/FeatureCategoryHeader.js +15 -15
- package/dist/node/presentation/features/molecules/FeatureCategoryHeader/index.js +15 -15
- package/dist/node/presentation/features/molecules/FeatureFilters/FeatureFilters.js +23 -23
- package/dist/node/presentation/features/molecules/FeatureFilters/index.js +23 -23
- package/dist/node/presentation/features/molecules/FeatureHoverPreview/FeatureHoverPreview.js +67 -67
- package/dist/node/presentation/features/molecules/FeatureHoverPreview/index.js +67 -67
- package/dist/node/presentation/features/molecules/index.js +139 -139
- package/dist/node/presentation/features/organisms/FeatureDataViewsList.js +7 -7
- package/dist/node/presentation/features/organisms/FeatureDetail/FeatureDetail.js +57 -57
- package/dist/node/presentation/features/organisms/FeatureDetail/index.js +57 -57
- package/dist/node/presentation/features/organisms/FeatureDiscovery/FeatureDiscovery.js +183 -183
- package/dist/node/presentation/features/organisms/FeatureDiscovery/index.js +183 -183
- package/dist/node/presentation/features/organisms/FeatureEventsList.js +7 -7
- package/dist/node/presentation/features/organisms/FeatureFormsList.js +7 -7
- package/dist/node/presentation/features/organisms/FeatureOperationsList.js +7 -7
- package/dist/node/presentation/features/organisms/FeaturePresentationsList.js +7 -7
- package/dist/node/presentation/features/organisms/index.js +275 -275
- package/dist/node/presentation/features/templates/FeatureDataViewDetailTemplate/FeatureDataViewDetailTemplate.js +126 -126
- package/dist/node/presentation/features/templates/FeatureDataViewDetailTemplate/index.js +126 -126
- package/dist/node/presentation/features/templates/FeatureDataViewsTemplate/FeatureDataViewsTemplate.js +16 -16
- package/dist/node/presentation/features/templates/FeatureDataViewsTemplate/index.js +16 -16
- package/dist/node/presentation/features/templates/FeatureEventDetailTemplate/FeatureEventDetailTemplate.js +112 -112
- package/dist/node/presentation/features/templates/FeatureEventDetailTemplate/index.js +112 -112
- package/dist/node/presentation/features/templates/FeatureEventsTemplate/FeatureEventsTemplate.js +16 -16
- package/dist/node/presentation/features/templates/FeatureEventsTemplate/index.js +16 -16
- package/dist/node/presentation/features/templates/FeatureFormDetailTemplate/FeatureFormDetailTemplate.js +126 -126
- package/dist/node/presentation/features/templates/FeatureFormDetailTemplate/index.js +126 -126
- package/dist/node/presentation/features/templates/FeatureFormsTemplate/FeatureFormsTemplate.js +16 -16
- package/dist/node/presentation/features/templates/FeatureFormsTemplate/index.js +16 -16
- package/dist/node/presentation/features/templates/FeatureOperationDetailTemplate/FeatureOperationDetailTemplate.js +110 -110
- package/dist/node/presentation/features/templates/FeatureOperationDetailTemplate/index.js +110 -110
- package/dist/node/presentation/features/templates/FeatureOperationsTemplate/FeatureOperationsTemplate.js +16 -16
- package/dist/node/presentation/features/templates/FeatureOperationsTemplate/index.js +16 -16
- package/dist/node/presentation/features/templates/FeatureOverviewTemplate/FeatureOverviewTemplate.js +66 -66
- package/dist/node/presentation/features/templates/FeatureOverviewTemplate/index.js +66 -66
- package/dist/node/presentation/features/templates/FeaturePresentationDetailTemplate/FeaturePresentationDetailTemplate.js +112 -112
- package/dist/node/presentation/features/templates/FeaturePresentationDetailTemplate/index.js +112 -112
- package/dist/node/presentation/features/templates/FeaturePresentationsTemplate/FeaturePresentationsTemplate.js +16 -16
- package/dist/node/presentation/features/templates/FeaturePresentationsTemplate/index.js +16 -16
- package/dist/presentation/features/atoms/FeatureIcon/FeatureIcon.js +3 -3
- package/dist/presentation/features/atoms/FeatureIcon/index.js +3 -3
- package/dist/presentation/features/atoms/index.js +3 -3
- package/dist/presentation/features/index.js +915 -915
- package/dist/presentation/features/molecules/FeatureCard/FeatureCard.js +101 -101
- package/dist/presentation/features/molecules/FeatureCard/index.js +101 -101
- package/dist/presentation/features/molecules/FeatureCategoryHeader/FeatureCategoryHeader.js +15 -15
- package/dist/presentation/features/molecules/FeatureCategoryHeader/index.js +15 -15
- package/dist/presentation/features/molecules/FeatureFilters/FeatureFilters.js +23 -23
- package/dist/presentation/features/molecules/FeatureFilters/index.js +23 -23
- package/dist/presentation/features/molecules/FeatureHoverPreview/FeatureHoverPreview.js +67 -67
- package/dist/presentation/features/molecules/FeatureHoverPreview/index.js +67 -67
- package/dist/presentation/features/molecules/index.js +139 -139
- package/dist/presentation/features/organisms/FeatureDataViewsList.js +7 -7
- package/dist/presentation/features/organisms/FeatureDetail/FeatureDetail.js +57 -57
- package/dist/presentation/features/organisms/FeatureDetail/index.js +57 -57
- package/dist/presentation/features/organisms/FeatureDiscovery/FeatureDiscovery.js +183 -183
- package/dist/presentation/features/organisms/FeatureDiscovery/index.js +183 -183
- package/dist/presentation/features/organisms/FeatureEventsList.js +7 -7
- package/dist/presentation/features/organisms/FeatureFormsList.js +7 -7
- package/dist/presentation/features/organisms/FeatureOperationsList.js +7 -7
- package/dist/presentation/features/organisms/FeaturePresentationsList.js +7 -7
- package/dist/presentation/features/organisms/index.js +275 -275
- package/dist/presentation/features/templates/FeatureDataViewDetailTemplate/FeatureDataViewDetailTemplate.js +126 -126
- package/dist/presentation/features/templates/FeatureDataViewDetailTemplate/index.js +126 -126
- package/dist/presentation/features/templates/FeatureDataViewsTemplate/FeatureDataViewsTemplate.js +16 -16
- package/dist/presentation/features/templates/FeatureDataViewsTemplate/index.js +16 -16
- package/dist/presentation/features/templates/FeatureEventDetailTemplate/FeatureEventDetailTemplate.js +112 -112
- package/dist/presentation/features/templates/FeatureEventDetailTemplate/index.js +112 -112
- package/dist/presentation/features/templates/FeatureEventsTemplate/FeatureEventsTemplate.js +16 -16
- package/dist/presentation/features/templates/FeatureEventsTemplate/index.js +16 -16
- package/dist/presentation/features/templates/FeatureFormDetailTemplate/FeatureFormDetailTemplate.js +126 -126
- package/dist/presentation/features/templates/FeatureFormDetailTemplate/index.js +126 -126
- package/dist/presentation/features/templates/FeatureFormsTemplate/FeatureFormsTemplate.js +16 -16
- package/dist/presentation/features/templates/FeatureFormsTemplate/index.js +16 -16
- package/dist/presentation/features/templates/FeatureOperationDetailTemplate/FeatureOperationDetailTemplate.js +110 -110
- package/dist/presentation/features/templates/FeatureOperationDetailTemplate/index.js +110 -110
- package/dist/presentation/features/templates/FeatureOperationsTemplate/FeatureOperationsTemplate.js +16 -16
- package/dist/presentation/features/templates/FeatureOperationsTemplate/index.js +16 -16
- package/dist/presentation/features/templates/FeatureOverviewTemplate/FeatureOverviewTemplate.js +66 -66
- package/dist/presentation/features/templates/FeatureOverviewTemplate/index.js +66 -66
- package/dist/presentation/features/templates/FeaturePresentationDetailTemplate/FeaturePresentationDetailTemplate.js +112 -112
- package/dist/presentation/features/templates/FeaturePresentationDetailTemplate/index.js +112 -112
- package/dist/presentation/features/templates/FeaturePresentationsTemplate/FeaturePresentationsTemplate.js +16 -16
- package/dist/presentation/features/templates/FeaturePresentationsTemplate/index.js +16 -16
- package/package.json +71 -22
- package/src/bundles/LibraryBundle.ts +152 -0
- package/src/bundles/index.ts +1 -0
- package/src/components/shell/WorkspaceShellRenderer.tsx +90 -0
- package/src/components/shell/index.ts +1 -0
|
@@ -1,185 +1,185 @@
|
|
|
1
1
|
// src/components/docs/knowledge/KnowledgeOverviewPage.tsx
|
|
2
2
|
import Link from "@contractspec/lib.ui-link";
|
|
3
3
|
import { ChevronRight } from "lucide-react";
|
|
4
|
-
import {
|
|
4
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
function KnowledgeOverviewPage() {
|
|
6
|
-
return /* @__PURE__ */
|
|
6
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
7
7
|
className: "space-y-8",
|
|
8
8
|
children: [
|
|
9
|
-
/* @__PURE__ */
|
|
9
|
+
/* @__PURE__ */ jsxs("div", {
|
|
10
10
|
className: "space-y-4",
|
|
11
11
|
children: [
|
|
12
|
-
/* @__PURE__ */
|
|
12
|
+
/* @__PURE__ */ jsx("h1", {
|
|
13
13
|
className: "text-4xl font-bold",
|
|
14
14
|
children: "Knowledge & Context"
|
|
15
|
-
}
|
|
16
|
-
/* @__PURE__ */
|
|
15
|
+
}),
|
|
16
|
+
/* @__PURE__ */ jsx("p", {
|
|
17
17
|
className: "text-muted-foreground",
|
|
18
18
|
children: "ContractSpec provides first-class support for knowledge management, enabling semantic search, RAG (Retrieval-Augmented Generation), and context-aware decision-making. Knowledge is organized into typed spaces with different trust levels and access controls."
|
|
19
|
-
}
|
|
19
|
+
})
|
|
20
20
|
]
|
|
21
|
-
}
|
|
22
|
-
/* @__PURE__ */
|
|
21
|
+
}),
|
|
22
|
+
/* @__PURE__ */ jsxs("div", {
|
|
23
23
|
className: "space-y-4",
|
|
24
24
|
children: [
|
|
25
|
-
/* @__PURE__ */
|
|
25
|
+
/* @__PURE__ */ jsx("h2", {
|
|
26
26
|
className: "text-2xl font-bold",
|
|
27
27
|
children: "Why knowledge matters"
|
|
28
|
-
}
|
|
29
|
-
/* @__PURE__ */
|
|
28
|
+
}),
|
|
29
|
+
/* @__PURE__ */ jsx("p", {
|
|
30
30
|
className: "text-muted-foreground",
|
|
31
31
|
children: "Modern applications need to:"
|
|
32
|
-
}
|
|
33
|
-
/* @__PURE__ */
|
|
32
|
+
}),
|
|
33
|
+
/* @__PURE__ */ jsxs("ul", {
|
|
34
34
|
className: "text-muted-foreground list-inside list-disc space-y-2",
|
|
35
35
|
children: [
|
|
36
|
-
/* @__PURE__ */
|
|
36
|
+
/* @__PURE__ */ jsxs("li", {
|
|
37
37
|
children: [
|
|
38
|
-
/* @__PURE__ */
|
|
38
|
+
/* @__PURE__ */ jsx("strong", {
|
|
39
39
|
children: "Understand context"
|
|
40
|
-
}
|
|
40
|
+
}),
|
|
41
41
|
" - Access relevant information to make informed decisions"
|
|
42
42
|
]
|
|
43
|
-
}
|
|
44
|
-
/* @__PURE__ */
|
|
43
|
+
}),
|
|
44
|
+
/* @__PURE__ */ jsxs("li", {
|
|
45
45
|
children: [
|
|
46
|
-
/* @__PURE__ */
|
|
46
|
+
/* @__PURE__ */ jsx("strong", {
|
|
47
47
|
children: "Learn from history"
|
|
48
|
-
}
|
|
48
|
+
}),
|
|
49
49
|
" - Use past interactions to improve future responses"
|
|
50
50
|
]
|
|
51
|
-
}
|
|
52
|
-
/* @__PURE__ */
|
|
51
|
+
}),
|
|
52
|
+
/* @__PURE__ */ jsxs("li", {
|
|
53
53
|
children: [
|
|
54
|
-
/* @__PURE__ */
|
|
54
|
+
/* @__PURE__ */ jsx("strong", {
|
|
55
55
|
children: "Trust sources"
|
|
56
|
-
}
|
|
56
|
+
}),
|
|
57
57
|
" - Distinguish between authoritative and reference information"
|
|
58
58
|
]
|
|
59
|
-
}
|
|
60
|
-
/* @__PURE__ */
|
|
59
|
+
}),
|
|
60
|
+
/* @__PURE__ */ jsxs("li", {
|
|
61
61
|
children: [
|
|
62
|
-
/* @__PURE__ */
|
|
62
|
+
/* @__PURE__ */ jsx("strong", {
|
|
63
63
|
children: "Scale knowledge"
|
|
64
|
-
}
|
|
64
|
+
}),
|
|
65
65
|
" - Handle growing amounts of documentation and data"
|
|
66
66
|
]
|
|
67
|
-
}
|
|
68
|
-
/* @__PURE__ */
|
|
67
|
+
}),
|
|
68
|
+
/* @__PURE__ */ jsxs("li", {
|
|
69
69
|
children: [
|
|
70
|
-
/* @__PURE__ */
|
|
70
|
+
/* @__PURE__ */ jsx("strong", {
|
|
71
71
|
children: "Maintain privacy"
|
|
72
|
-
}
|
|
72
|
+
}),
|
|
73
73
|
" - Keep tenant knowledge isolated and secure"
|
|
74
74
|
]
|
|
75
|
-
}
|
|
75
|
+
})
|
|
76
76
|
]
|
|
77
|
-
}
|
|
77
|
+
})
|
|
78
78
|
]
|
|
79
|
-
}
|
|
80
|
-
/* @__PURE__ */
|
|
79
|
+
}),
|
|
80
|
+
/* @__PURE__ */ jsxs("div", {
|
|
81
81
|
className: "space-y-4",
|
|
82
82
|
children: [
|
|
83
|
-
/* @__PURE__ */
|
|
83
|
+
/* @__PURE__ */ jsx("h2", {
|
|
84
84
|
className: "text-2xl font-bold",
|
|
85
85
|
children: "Knowledge architecture"
|
|
86
|
-
}
|
|
87
|
-
/* @__PURE__ */
|
|
86
|
+
}),
|
|
87
|
+
/* @__PURE__ */ jsx("p", {
|
|
88
88
|
className: "text-muted-foreground",
|
|
89
89
|
children: "ContractSpec's knowledge system has three main components:"
|
|
90
|
-
}
|
|
91
|
-
/* @__PURE__ */
|
|
90
|
+
}),
|
|
91
|
+
/* @__PURE__ */ jsxs("div", {
|
|
92
92
|
className: "space-y-6",
|
|
93
93
|
children: [
|
|
94
|
-
/* @__PURE__ */
|
|
94
|
+
/* @__PURE__ */ jsxs("div", {
|
|
95
95
|
className: "card-subtle p-4",
|
|
96
96
|
children: [
|
|
97
|
-
/* @__PURE__ */
|
|
97
|
+
/* @__PURE__ */ jsx("h3", {
|
|
98
98
|
className: "mb-2 text-lg font-semibold",
|
|
99
99
|
children: "1. Knowledge Categories"
|
|
100
|
-
}
|
|
101
|
-
/* @__PURE__ */
|
|
100
|
+
}),
|
|
101
|
+
/* @__PURE__ */ jsx("p", {
|
|
102
102
|
className: "text-muted-foreground mb-3 text-sm",
|
|
103
103
|
children: "Four trust levels that determine how knowledge is used:"
|
|
104
|
-
}
|
|
105
|
-
/* @__PURE__ */
|
|
104
|
+
}),
|
|
105
|
+
/* @__PURE__ */ jsxs("div", {
|
|
106
106
|
className: "space-y-2 text-sm",
|
|
107
107
|
children: [
|
|
108
|
-
/* @__PURE__ */
|
|
108
|
+
/* @__PURE__ */ jsxs("div", {
|
|
109
109
|
className: "flex items-start gap-3",
|
|
110
110
|
children: [
|
|
111
|
-
/* @__PURE__ */
|
|
111
|
+
/* @__PURE__ */ jsx("code", {
|
|
112
112
|
className: "bg-background/50 rounded px-2 py-1 text-xs",
|
|
113
113
|
children: "canonical"
|
|
114
|
-
}
|
|
115
|
-
/* @__PURE__ */
|
|
114
|
+
}),
|
|
115
|
+
/* @__PURE__ */ jsx("span", {
|
|
116
116
|
className: "text-muted-foreground",
|
|
117
117
|
children: "Ground truth - product specs, schemas, official policies"
|
|
118
|
-
}
|
|
118
|
+
})
|
|
119
119
|
]
|
|
120
|
-
}
|
|
121
|
-
/* @__PURE__ */
|
|
120
|
+
}),
|
|
121
|
+
/* @__PURE__ */ jsxs("div", {
|
|
122
122
|
className: "flex items-start gap-3",
|
|
123
123
|
children: [
|
|
124
|
-
/* @__PURE__ */
|
|
124
|
+
/* @__PURE__ */ jsx("code", {
|
|
125
125
|
className: "bg-background/50 rounded px-2 py-1 text-xs",
|
|
126
126
|
children: "operational"
|
|
127
|
-
}
|
|
128
|
-
/* @__PURE__ */
|
|
127
|
+
}),
|
|
128
|
+
/* @__PURE__ */ jsx("span", {
|
|
129
129
|
className: "text-muted-foreground",
|
|
130
130
|
children: "Internal docs - support tickets, runbooks, sales materials"
|
|
131
|
-
}
|
|
131
|
+
})
|
|
132
132
|
]
|
|
133
|
-
}
|
|
134
|
-
/* @__PURE__ */
|
|
133
|
+
}),
|
|
134
|
+
/* @__PURE__ */ jsxs("div", {
|
|
135
135
|
className: "flex items-start gap-3",
|
|
136
136
|
children: [
|
|
137
|
-
/* @__PURE__ */
|
|
137
|
+
/* @__PURE__ */ jsx("code", {
|
|
138
138
|
className: "bg-background/50 rounded px-2 py-1 text-xs",
|
|
139
139
|
children: "external"
|
|
140
|
-
}
|
|
141
|
-
/* @__PURE__ */
|
|
140
|
+
}),
|
|
141
|
+
/* @__PURE__ */ jsx("span", {
|
|
142
142
|
className: "text-muted-foreground",
|
|
143
143
|
children: "Third-party - PSP docs, regulations, integration guides"
|
|
144
|
-
}
|
|
144
|
+
})
|
|
145
145
|
]
|
|
146
|
-
}
|
|
147
|
-
/* @__PURE__ */
|
|
146
|
+
}),
|
|
147
|
+
/* @__PURE__ */ jsxs("div", {
|
|
148
148
|
className: "flex items-start gap-3",
|
|
149
149
|
children: [
|
|
150
|
-
/* @__PURE__ */
|
|
150
|
+
/* @__PURE__ */ jsx("code", {
|
|
151
151
|
className: "bg-background/50 rounded px-2 py-1 text-xs",
|
|
152
152
|
children: "ephemeral"
|
|
153
|
-
}
|
|
154
|
-
/* @__PURE__ */
|
|
153
|
+
}),
|
|
154
|
+
/* @__PURE__ */ jsx("span", {
|
|
155
155
|
className: "text-muted-foreground",
|
|
156
156
|
children: "Temporary - agent scratchpads, session context, drafts"
|
|
157
|
-
}
|
|
157
|
+
})
|
|
158
158
|
]
|
|
159
|
-
}
|
|
159
|
+
})
|
|
160
160
|
]
|
|
161
|
-
}
|
|
162
|
-
/* @__PURE__ */
|
|
161
|
+
}),
|
|
162
|
+
/* @__PURE__ */ jsx(Link, {
|
|
163
163
|
href: "/docs/knowledge/categories",
|
|
164
164
|
className: "mt-3 inline-block text-sm text-violet-400 hover:text-violet-300",
|
|
165
165
|
children: "Learn more about categories →"
|
|
166
|
-
}
|
|
166
|
+
})
|
|
167
167
|
]
|
|
168
|
-
}
|
|
169
|
-
/* @__PURE__ */
|
|
168
|
+
}),
|
|
169
|
+
/* @__PURE__ */ jsxs("div", {
|
|
170
170
|
className: "card-subtle p-4",
|
|
171
171
|
children: [
|
|
172
|
-
/* @__PURE__ */
|
|
172
|
+
/* @__PURE__ */ jsx("h3", {
|
|
173
173
|
className: "mb-2 text-lg font-semibold",
|
|
174
174
|
children: "2. Knowledge Spaces"
|
|
175
|
-
}
|
|
176
|
-
/* @__PURE__ */
|
|
175
|
+
}),
|
|
176
|
+
/* @__PURE__ */ jsx("p", {
|
|
177
177
|
className: "text-muted-foreground mb-3 text-sm",
|
|
178
178
|
children: "Logical domains of knowledge defined globally:"
|
|
179
|
-
}
|
|
180
|
-
/* @__PURE__ */
|
|
179
|
+
}),
|
|
180
|
+
/* @__PURE__ */ jsx("div", {
|
|
181
181
|
className: "bg-background/50 border-border text-muted-foreground overflow-x-auto rounded border p-3 font-mono text-xs",
|
|
182
|
-
children: /* @__PURE__ */
|
|
182
|
+
children: /* @__PURE__ */ jsx("pre", {
|
|
183
183
|
children: `type KnowledgeSpaceSpec = {
|
|
184
184
|
id: string;
|
|
185
185
|
label: string;
|
|
@@ -189,29 +189,29 @@ function KnowledgeOverviewPage() {
|
|
|
189
189
|
retentionPolicy: { days?: number };
|
|
190
190
|
intendedAudience: "agents" | "humans" | "admin-only";
|
|
191
191
|
};`
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
/* @__PURE__ */
|
|
192
|
+
})
|
|
193
|
+
}),
|
|
194
|
+
/* @__PURE__ */ jsx(Link, {
|
|
195
195
|
href: "/docs/knowledge/spaces",
|
|
196
196
|
className: "mt-3 inline-block text-sm text-violet-400 hover:text-violet-300",
|
|
197
197
|
children: "Learn more about spaces →"
|
|
198
|
-
}
|
|
198
|
+
})
|
|
199
199
|
]
|
|
200
|
-
}
|
|
201
|
-
/* @__PURE__ */
|
|
200
|
+
}),
|
|
201
|
+
/* @__PURE__ */ jsxs("div", {
|
|
202
202
|
className: "card-subtle p-4",
|
|
203
203
|
children: [
|
|
204
|
-
/* @__PURE__ */
|
|
204
|
+
/* @__PURE__ */ jsx("h3", {
|
|
205
205
|
className: "mb-2 text-lg font-semibold",
|
|
206
206
|
children: "3. Knowledge Sources"
|
|
207
|
-
}
|
|
208
|
-
/* @__PURE__ */
|
|
207
|
+
}),
|
|
208
|
+
/* @__PURE__ */ jsx("p", {
|
|
209
209
|
className: "text-muted-foreground mb-3 text-sm",
|
|
210
210
|
children: "Per-tenant data sources that feed knowledge spaces:"
|
|
211
|
-
}
|
|
212
|
-
/* @__PURE__ */
|
|
211
|
+
}),
|
|
212
|
+
/* @__PURE__ */ jsx("div", {
|
|
213
213
|
className: "bg-background/50 border-border text-muted-foreground overflow-x-auto rounded border p-3 font-mono text-xs",
|
|
214
|
-
children: /* @__PURE__ */
|
|
214
|
+
children: /* @__PURE__ */ jsx("pre", {
|
|
215
215
|
children: `type KnowledgeSourceConfig = {
|
|
216
216
|
id: string;
|
|
217
217
|
tenantId: string;
|
|
@@ -222,149 +222,149 @@ function KnowledgeOverviewPage() {
|
|
|
222
222
|
syncPolicy: { interval?: string; webhook?: boolean };
|
|
223
223
|
lastSyncedAt?: string;
|
|
224
224
|
};`
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
/* @__PURE__ */
|
|
225
|
+
})
|
|
226
|
+
}),
|
|
227
|
+
/* @__PURE__ */ jsx(Link, {
|
|
228
228
|
href: "/docs/knowledge/sources",
|
|
229
229
|
className: "mt-3 inline-block text-sm text-violet-400 hover:text-violet-300",
|
|
230
230
|
children: "Learn more about sources →"
|
|
231
|
-
}
|
|
231
|
+
})
|
|
232
232
|
]
|
|
233
|
-
}
|
|
233
|
+
})
|
|
234
234
|
]
|
|
235
|
-
}
|
|
235
|
+
})
|
|
236
236
|
]
|
|
237
|
-
}
|
|
238
|
-
/* @__PURE__ */
|
|
237
|
+
}),
|
|
238
|
+
/* @__PURE__ */ jsxs("div", {
|
|
239
239
|
className: "space-y-4",
|
|
240
240
|
children: [
|
|
241
|
-
/* @__PURE__ */
|
|
241
|
+
/* @__PURE__ */ jsx("h2", {
|
|
242
242
|
className: "text-2xl font-bold",
|
|
243
243
|
children: "How it works"
|
|
244
|
-
}
|
|
245
|
-
/* @__PURE__ */
|
|
244
|
+
}),
|
|
245
|
+
/* @__PURE__ */ jsx("p", {
|
|
246
246
|
className: "text-muted-foreground",
|
|
247
247
|
children: "Knowledge flows through ContractSpec in four stages:"
|
|
248
|
-
}
|
|
249
|
-
/* @__PURE__ */
|
|
248
|
+
}),
|
|
249
|
+
/* @__PURE__ */ jsxs("ol", {
|
|
250
250
|
className: "text-muted-foreground list-inside list-decimal space-y-3",
|
|
251
251
|
children: [
|
|
252
|
-
/* @__PURE__ */
|
|
252
|
+
/* @__PURE__ */ jsxs("li", {
|
|
253
253
|
children: [
|
|
254
|
-
/* @__PURE__ */
|
|
254
|
+
/* @__PURE__ */ jsx("strong", {
|
|
255
255
|
children: "Define spaces"
|
|
256
|
-
}
|
|
256
|
+
}),
|
|
257
257
|
' - Create KnowledgeSpaceSpec for each logical domain (e.g., "Product Canon", "Support FAQ")'
|
|
258
258
|
]
|
|
259
|
-
}
|
|
260
|
-
/* @__PURE__ */
|
|
259
|
+
}),
|
|
260
|
+
/* @__PURE__ */ jsxs("li", {
|
|
261
261
|
children: [
|
|
262
|
-
/* @__PURE__ */
|
|
262
|
+
/* @__PURE__ */ jsx("strong", {
|
|
263
263
|
children: "Configure sources"
|
|
264
|
-
}
|
|
264
|
+
}),
|
|
265
265
|
" - Tenants connect their data sources (Notion, Gmail, uploads, etc.)"
|
|
266
266
|
]
|
|
267
|
-
}
|
|
268
|
-
/* @__PURE__ */
|
|
267
|
+
}),
|
|
268
|
+
/* @__PURE__ */ jsxs("li", {
|
|
269
269
|
children: [
|
|
270
|
-
/* @__PURE__ */
|
|
270
|
+
/* @__PURE__ */ jsx("strong", {
|
|
271
271
|
children: "Sync & index"
|
|
272
|
-
}
|
|
272
|
+
}),
|
|
273
273
|
" - Sources are synced, chunked, and indexed in vector databases"
|
|
274
274
|
]
|
|
275
|
-
}
|
|
276
|
-
/* @__PURE__ */
|
|
275
|
+
}),
|
|
276
|
+
/* @__PURE__ */ jsxs("li", {
|
|
277
277
|
children: [
|
|
278
|
-
/* @__PURE__ */
|
|
278
|
+
/* @__PURE__ */ jsx("strong", {
|
|
279
279
|
children: "Query & retrieve"
|
|
280
|
-
}
|
|
280
|
+
}),
|
|
281
281
|
" - Workflows and agents perform semantic search to find relevant context"
|
|
282
282
|
]
|
|
283
|
-
}
|
|
283
|
+
})
|
|
284
284
|
]
|
|
285
|
-
}
|
|
285
|
+
})
|
|
286
286
|
]
|
|
287
|
-
}
|
|
288
|
-
/* @__PURE__ */
|
|
287
|
+
}),
|
|
288
|
+
/* @__PURE__ */ jsxs("div", {
|
|
289
289
|
className: "space-y-4",
|
|
290
290
|
children: [
|
|
291
|
-
/* @__PURE__ */
|
|
291
|
+
/* @__PURE__ */ jsx("h2", {
|
|
292
292
|
className: "text-2xl font-bold",
|
|
293
293
|
children: "Use cases"
|
|
294
|
-
}
|
|
295
|
-
/* @__PURE__ */
|
|
294
|
+
}),
|
|
295
|
+
/* @__PURE__ */ jsxs("div", {
|
|
296
296
|
className: "grid gap-4 md:grid-cols-2",
|
|
297
297
|
children: [
|
|
298
|
-
/* @__PURE__ */
|
|
298
|
+
/* @__PURE__ */ jsxs("div", {
|
|
299
299
|
className: "card-subtle p-4",
|
|
300
300
|
children: [
|
|
301
|
-
/* @__PURE__ */
|
|
301
|
+
/* @__PURE__ */ jsx("h3", {
|
|
302
302
|
className: "mb-2 font-semibold",
|
|
303
303
|
children: "Support Agents"
|
|
304
|
-
}
|
|
305
|
-
/* @__PURE__ */
|
|
304
|
+
}),
|
|
305
|
+
/* @__PURE__ */ jsx("p", {
|
|
306
306
|
className: "text-muted-foreground text-sm",
|
|
307
307
|
children: "Answer customer questions using product documentation (canonical) and past support tickets (operational)."
|
|
308
|
-
}
|
|
308
|
+
})
|
|
309
309
|
]
|
|
310
|
-
}
|
|
311
|
-
/* @__PURE__ */
|
|
310
|
+
}),
|
|
311
|
+
/* @__PURE__ */ jsxs("div", {
|
|
312
312
|
className: "card-subtle p-4",
|
|
313
313
|
children: [
|
|
314
|
-
/* @__PURE__ */
|
|
314
|
+
/* @__PURE__ */ jsx("h3", {
|
|
315
315
|
className: "mb-2 font-semibold",
|
|
316
316
|
children: "Invoice Generation"
|
|
317
|
-
}
|
|
318
|
-
/* @__PURE__ */
|
|
317
|
+
}),
|
|
318
|
+
/* @__PURE__ */ jsx("p", {
|
|
319
319
|
className: "text-muted-foreground text-sm",
|
|
320
320
|
children: "Generate invoices using product catalog (canonical) and pricing rules (operational)."
|
|
321
|
-
}
|
|
321
|
+
})
|
|
322
322
|
]
|
|
323
|
-
}
|
|
324
|
-
/* @__PURE__ */
|
|
323
|
+
}),
|
|
324
|
+
/* @__PURE__ */ jsxs("div", {
|
|
325
325
|
className: "card-subtle p-4",
|
|
326
326
|
children: [
|
|
327
|
-
/* @__PURE__ */
|
|
327
|
+
/* @__PURE__ */ jsx("h3", {
|
|
328
328
|
className: "mb-2 font-semibold",
|
|
329
329
|
children: "Compliance Checking"
|
|
330
|
-
}
|
|
331
|
-
/* @__PURE__ */
|
|
330
|
+
}),
|
|
331
|
+
/* @__PURE__ */ jsx("p", {
|
|
332
332
|
className: "text-muted-foreground text-sm",
|
|
333
333
|
children: "Validate operations against regulatory requirements (external) and internal policies (canonical)."
|
|
334
|
-
}
|
|
334
|
+
})
|
|
335
335
|
]
|
|
336
|
-
}
|
|
337
|
-
/* @__PURE__ */
|
|
336
|
+
}),
|
|
337
|
+
/* @__PURE__ */ jsxs("div", {
|
|
338
338
|
className: "card-subtle p-4",
|
|
339
339
|
children: [
|
|
340
|
-
/* @__PURE__ */
|
|
340
|
+
/* @__PURE__ */ jsx("h3", {
|
|
341
341
|
className: "mb-2 font-semibold",
|
|
342
342
|
children: "Semantic Search"
|
|
343
|
-
}
|
|
344
|
-
/* @__PURE__ */
|
|
343
|
+
}),
|
|
344
|
+
/* @__PURE__ */ jsx("p", {
|
|
345
345
|
className: "text-muted-foreground text-sm",
|
|
346
346
|
children: "Find relevant documents, tickets, or records using natural language queries."
|
|
347
|
-
}
|
|
347
|
+
})
|
|
348
348
|
]
|
|
349
|
-
}
|
|
349
|
+
})
|
|
350
350
|
]
|
|
351
|
-
}
|
|
351
|
+
})
|
|
352
352
|
]
|
|
353
|
-
}
|
|
354
|
-
/* @__PURE__ */
|
|
353
|
+
}),
|
|
354
|
+
/* @__PURE__ */ jsxs("div", {
|
|
355
355
|
className: "space-y-4",
|
|
356
356
|
children: [
|
|
357
|
-
/* @__PURE__ */
|
|
357
|
+
/* @__PURE__ */ jsx("h2", {
|
|
358
358
|
className: "text-2xl font-bold",
|
|
359
359
|
children: "Integration with workflows"
|
|
360
|
-
}
|
|
361
|
-
/* @__PURE__ */
|
|
360
|
+
}),
|
|
361
|
+
/* @__PURE__ */ jsx("p", {
|
|
362
362
|
className: "text-muted-foreground",
|
|
363
363
|
children: "Knowledge spaces are consumed by workflows through standard capabilities:"
|
|
364
|
-
}
|
|
365
|
-
/* @__PURE__ */
|
|
364
|
+
}),
|
|
365
|
+
/* @__PURE__ */ jsx("div", {
|
|
366
366
|
className: "bg-background/50 border-border text-muted-foreground overflow-x-auto rounded-lg border p-4 font-mono text-sm",
|
|
367
|
-
children: /* @__PURE__ */
|
|
367
|
+
children: /* @__PURE__ */ jsx("pre", {
|
|
368
368
|
children: `import { defineWorkflow } from '@contractspec/lib.contracts-spec/workflow';
|
|
369
369
|
import { OpenAIEmbeddings, VectorSearch, OpenAIChat } from './specs';
|
|
370
370
|
|
|
@@ -409,55 +409,55 @@ export const AnswerSupportQuestion = defineWorkflow({
|
|
|
409
409
|
},
|
|
410
410
|
],
|
|
411
411
|
});`
|
|
412
|
-
}
|
|
413
|
-
}
|
|
412
|
+
})
|
|
413
|
+
})
|
|
414
414
|
]
|
|
415
|
-
}
|
|
416
|
-
/* @__PURE__ */
|
|
415
|
+
}),
|
|
416
|
+
/* @__PURE__ */ jsxs("div", {
|
|
417
417
|
className: "space-y-4",
|
|
418
418
|
children: [
|
|
419
|
-
/* @__PURE__ */
|
|
419
|
+
/* @__PURE__ */ jsx("h2", {
|
|
420
420
|
className: "text-2xl font-bold",
|
|
421
421
|
children: "Real-world examples"
|
|
422
|
-
}
|
|
423
|
-
/* @__PURE__ */
|
|
422
|
+
}),
|
|
423
|
+
/* @__PURE__ */ jsx("p", {
|
|
424
424
|
className: "text-muted-foreground",
|
|
425
425
|
children: "See how different applications use knowledge spaces:"
|
|
426
|
-
}
|
|
427
|
-
/* @__PURE__ */
|
|
426
|
+
}),
|
|
427
|
+
/* @__PURE__ */ jsxs(Link, {
|
|
428
428
|
href: "/docs/knowledge/examples",
|
|
429
429
|
className: "btn-primary inline-flex items-center gap-2",
|
|
430
430
|
children: [
|
|
431
431
|
"View Examples ",
|
|
432
|
-
/* @__PURE__ */
|
|
432
|
+
/* @__PURE__ */ jsx(ChevronRight, {
|
|
433
433
|
size: 16
|
|
434
|
-
}
|
|
434
|
+
})
|
|
435
435
|
]
|
|
436
|
-
}
|
|
436
|
+
})
|
|
437
437
|
]
|
|
438
|
-
}
|
|
439
|
-
/* @__PURE__ */
|
|
438
|
+
}),
|
|
439
|
+
/* @__PURE__ */ jsxs("div", {
|
|
440
440
|
className: "flex items-center gap-4 pt-4",
|
|
441
441
|
children: [
|
|
442
|
-
/* @__PURE__ */
|
|
442
|
+
/* @__PURE__ */ jsxs(Link, {
|
|
443
443
|
href: "/docs/knowledge/categories",
|
|
444
444
|
className: "btn-primary",
|
|
445
445
|
children: [
|
|
446
446
|
"Knowledge Categories ",
|
|
447
|
-
/* @__PURE__ */
|
|
447
|
+
/* @__PURE__ */ jsx(ChevronRight, {
|
|
448
448
|
size: 16
|
|
449
|
-
}
|
|
449
|
+
})
|
|
450
450
|
]
|
|
451
|
-
}
|
|
452
|
-
/* @__PURE__ */
|
|
451
|
+
}),
|
|
452
|
+
/* @__PURE__ */ jsx(Link, {
|
|
453
453
|
href: "/docs/knowledge/spaces",
|
|
454
454
|
className: "btn-ghost",
|
|
455
455
|
children: "Knowledge Spaces"
|
|
456
|
-
}
|
|
456
|
+
})
|
|
457
457
|
]
|
|
458
|
-
}
|
|
458
|
+
})
|
|
459
459
|
]
|
|
460
|
-
}
|
|
460
|
+
});
|
|
461
461
|
}
|
|
462
462
|
export {
|
|
463
463
|
KnowledgeOverviewPage
|