@contractspec/bundle.library 3.7.6 → 3.7.7
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 +144 -142
- package/AGENTS.md +42 -24
- 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 +4 -4
- package/dist/components/docs/examples/index.js +4 -4
- 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 +14060 -15332
- 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 +14982 -16254
- 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 +4 -4
- package/dist/node/components/docs/examples/index.js +4 -4
- 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 +14060 -15332
- 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 +14982 -16254
- 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 +38 -24
- 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 +67 -66
- 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
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
// src/components/docs/knowledge/
|
|
2
|
+
// src/components/docs/knowledge/KnowledgeCategoriesPage.tsx
|
|
3
3
|
import Link from "@contractspec/lib.ui-link";
|
|
4
4
|
import { ChevronRight } from "lucide-react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
-
function
|
|
6
|
+
function KnowledgeCategoriesPage() {
|
|
7
7
|
return /* @__PURE__ */ jsxs("div", {
|
|
8
8
|
className: "space-y-8",
|
|
9
9
|
children: [
|
|
@@ -11,344 +11,12 @@ function KnowledgeOverviewPage() {
|
|
|
11
11
|
className: "space-y-4",
|
|
12
12
|
children: [
|
|
13
13
|
/* @__PURE__ */ jsx("h1", {
|
|
14
|
-
className: "text-4xl
|
|
15
|
-
children: "Knowledge
|
|
16
|
-
}),
|
|
17
|
-
/* @__PURE__ */ jsx("p", {
|
|
18
|
-
className: "text-muted-foreground",
|
|
19
|
-
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."
|
|
20
|
-
})
|
|
21
|
-
]
|
|
22
|
-
}),
|
|
23
|
-
/* @__PURE__ */ jsxs("div", {
|
|
24
|
-
className: "space-y-4",
|
|
25
|
-
children: [
|
|
26
|
-
/* @__PURE__ */ jsx("h2", {
|
|
27
|
-
className: "text-2xl font-bold",
|
|
28
|
-
children: "Why knowledge matters"
|
|
29
|
-
}),
|
|
30
|
-
/* @__PURE__ */ jsx("p", {
|
|
31
|
-
className: "text-muted-foreground",
|
|
32
|
-
children: "Modern applications need to:"
|
|
33
|
-
}),
|
|
34
|
-
/* @__PURE__ */ jsxs("ul", {
|
|
35
|
-
className: "text-muted-foreground list-inside list-disc space-y-2",
|
|
36
|
-
children: [
|
|
37
|
-
/* @__PURE__ */ jsxs("li", {
|
|
38
|
-
children: [
|
|
39
|
-
/* @__PURE__ */ jsx("strong", {
|
|
40
|
-
children: "Understand context"
|
|
41
|
-
}),
|
|
42
|
-
" - Access relevant information to make informed decisions"
|
|
43
|
-
]
|
|
44
|
-
}),
|
|
45
|
-
/* @__PURE__ */ jsxs("li", {
|
|
46
|
-
children: [
|
|
47
|
-
/* @__PURE__ */ jsx("strong", {
|
|
48
|
-
children: "Learn from history"
|
|
49
|
-
}),
|
|
50
|
-
" - Use past interactions to improve future responses"
|
|
51
|
-
]
|
|
52
|
-
}),
|
|
53
|
-
/* @__PURE__ */ jsxs("li", {
|
|
54
|
-
children: [
|
|
55
|
-
/* @__PURE__ */ jsx("strong", {
|
|
56
|
-
children: "Trust sources"
|
|
57
|
-
}),
|
|
58
|
-
" - Distinguish between authoritative and reference information"
|
|
59
|
-
]
|
|
60
|
-
}),
|
|
61
|
-
/* @__PURE__ */ jsxs("li", {
|
|
62
|
-
children: [
|
|
63
|
-
/* @__PURE__ */ jsx("strong", {
|
|
64
|
-
children: "Scale knowledge"
|
|
65
|
-
}),
|
|
66
|
-
" - Handle growing amounts of documentation and data"
|
|
67
|
-
]
|
|
68
|
-
}),
|
|
69
|
-
/* @__PURE__ */ jsxs("li", {
|
|
70
|
-
children: [
|
|
71
|
-
/* @__PURE__ */ jsx("strong", {
|
|
72
|
-
children: "Maintain privacy"
|
|
73
|
-
}),
|
|
74
|
-
" - Keep tenant knowledge isolated and secure"
|
|
75
|
-
]
|
|
76
|
-
})
|
|
77
|
-
]
|
|
78
|
-
})
|
|
79
|
-
]
|
|
80
|
-
}),
|
|
81
|
-
/* @__PURE__ */ jsxs("div", {
|
|
82
|
-
className: "space-y-4",
|
|
83
|
-
children: [
|
|
84
|
-
/* @__PURE__ */ jsx("h2", {
|
|
85
|
-
className: "text-2xl font-bold",
|
|
86
|
-
children: "Knowledge architecture"
|
|
87
|
-
}),
|
|
88
|
-
/* @__PURE__ */ jsx("p", {
|
|
89
|
-
className: "text-muted-foreground",
|
|
90
|
-
children: "ContractSpec's knowledge system has three main components:"
|
|
91
|
-
}),
|
|
92
|
-
/* @__PURE__ */ jsxs("div", {
|
|
93
|
-
className: "space-y-6",
|
|
94
|
-
children: [
|
|
95
|
-
/* @__PURE__ */ jsxs("div", {
|
|
96
|
-
className: "card-subtle p-4",
|
|
97
|
-
children: [
|
|
98
|
-
/* @__PURE__ */ jsx("h3", {
|
|
99
|
-
className: "mb-2 text-lg font-semibold",
|
|
100
|
-
children: "1. Knowledge Categories"
|
|
101
|
-
}),
|
|
102
|
-
/* @__PURE__ */ jsx("p", {
|
|
103
|
-
className: "text-muted-foreground mb-3 text-sm",
|
|
104
|
-
children: "Four trust levels that determine how knowledge is used:"
|
|
105
|
-
}),
|
|
106
|
-
/* @__PURE__ */ jsxs("div", {
|
|
107
|
-
className: "space-y-2 text-sm",
|
|
108
|
-
children: [
|
|
109
|
-
/* @__PURE__ */ jsxs("div", {
|
|
110
|
-
className: "flex items-start gap-3",
|
|
111
|
-
children: [
|
|
112
|
-
/* @__PURE__ */ jsx("code", {
|
|
113
|
-
className: "bg-background/50 rounded px-2 py-1 text-xs",
|
|
114
|
-
children: "canonical"
|
|
115
|
-
}),
|
|
116
|
-
/* @__PURE__ */ jsx("span", {
|
|
117
|
-
className: "text-muted-foreground",
|
|
118
|
-
children: "Ground truth - product specs, schemas, official policies"
|
|
119
|
-
})
|
|
120
|
-
]
|
|
121
|
-
}),
|
|
122
|
-
/* @__PURE__ */ jsxs("div", {
|
|
123
|
-
className: "flex items-start gap-3",
|
|
124
|
-
children: [
|
|
125
|
-
/* @__PURE__ */ jsx("code", {
|
|
126
|
-
className: "bg-background/50 rounded px-2 py-1 text-xs",
|
|
127
|
-
children: "operational"
|
|
128
|
-
}),
|
|
129
|
-
/* @__PURE__ */ jsx("span", {
|
|
130
|
-
className: "text-muted-foreground",
|
|
131
|
-
children: "Internal docs - support tickets, runbooks, sales materials"
|
|
132
|
-
})
|
|
133
|
-
]
|
|
134
|
-
}),
|
|
135
|
-
/* @__PURE__ */ jsxs("div", {
|
|
136
|
-
className: "flex items-start gap-3",
|
|
137
|
-
children: [
|
|
138
|
-
/* @__PURE__ */ jsx("code", {
|
|
139
|
-
className: "bg-background/50 rounded px-2 py-1 text-xs",
|
|
140
|
-
children: "external"
|
|
141
|
-
}),
|
|
142
|
-
/* @__PURE__ */ jsx("span", {
|
|
143
|
-
className: "text-muted-foreground",
|
|
144
|
-
children: "Third-party - PSP docs, regulations, integration guides"
|
|
145
|
-
})
|
|
146
|
-
]
|
|
147
|
-
}),
|
|
148
|
-
/* @__PURE__ */ jsxs("div", {
|
|
149
|
-
className: "flex items-start gap-3",
|
|
150
|
-
children: [
|
|
151
|
-
/* @__PURE__ */ jsx("code", {
|
|
152
|
-
className: "bg-background/50 rounded px-2 py-1 text-xs",
|
|
153
|
-
children: "ephemeral"
|
|
154
|
-
}),
|
|
155
|
-
/* @__PURE__ */ jsx("span", {
|
|
156
|
-
className: "text-muted-foreground",
|
|
157
|
-
children: "Temporary - agent scratchpads, session context, drafts"
|
|
158
|
-
})
|
|
159
|
-
]
|
|
160
|
-
})
|
|
161
|
-
]
|
|
162
|
-
}),
|
|
163
|
-
/* @__PURE__ */ jsx(Link, {
|
|
164
|
-
href: "/docs/knowledge/categories",
|
|
165
|
-
className: "mt-3 inline-block text-sm text-violet-400 hover:text-violet-300",
|
|
166
|
-
children: "Learn more about categories \u2192"
|
|
167
|
-
})
|
|
168
|
-
]
|
|
169
|
-
}),
|
|
170
|
-
/* @__PURE__ */ jsxs("div", {
|
|
171
|
-
className: "card-subtle p-4",
|
|
172
|
-
children: [
|
|
173
|
-
/* @__PURE__ */ jsx("h3", {
|
|
174
|
-
className: "mb-2 text-lg font-semibold",
|
|
175
|
-
children: "2. Knowledge Spaces"
|
|
176
|
-
}),
|
|
177
|
-
/* @__PURE__ */ jsx("p", {
|
|
178
|
-
className: "text-muted-foreground mb-3 text-sm",
|
|
179
|
-
children: "Logical domains of knowledge defined globally:"
|
|
180
|
-
}),
|
|
181
|
-
/* @__PURE__ */ jsx("div", {
|
|
182
|
-
className: "bg-background/50 border-border text-muted-foreground overflow-x-auto rounded border p-3 font-mono text-xs",
|
|
183
|
-
children: /* @__PURE__ */ jsx("pre", {
|
|
184
|
-
children: `type KnowledgeSpaceSpec = {
|
|
185
|
-
id: string;
|
|
186
|
-
label: string;
|
|
187
|
-
category: KnowledgeCategory;
|
|
188
|
-
storageStrategy: "vector" | "search" | "hybrid";
|
|
189
|
-
indexProvider: string; // e.g., "qdrant"
|
|
190
|
-
retentionPolicy: { days?: number };
|
|
191
|
-
intendedAudience: "agents" | "humans" | "admin-only";
|
|
192
|
-
};`
|
|
193
|
-
})
|
|
194
|
-
}),
|
|
195
|
-
/* @__PURE__ */ jsx(Link, {
|
|
196
|
-
href: "/docs/knowledge/spaces",
|
|
197
|
-
className: "mt-3 inline-block text-sm text-violet-400 hover:text-violet-300",
|
|
198
|
-
children: "Learn more about spaces \u2192"
|
|
199
|
-
})
|
|
200
|
-
]
|
|
201
|
-
}),
|
|
202
|
-
/* @__PURE__ */ jsxs("div", {
|
|
203
|
-
className: "card-subtle p-4",
|
|
204
|
-
children: [
|
|
205
|
-
/* @__PURE__ */ jsx("h3", {
|
|
206
|
-
className: "mb-2 text-lg font-semibold",
|
|
207
|
-
children: "3. Knowledge Sources"
|
|
208
|
-
}),
|
|
209
|
-
/* @__PURE__ */ jsx("p", {
|
|
210
|
-
className: "text-muted-foreground mb-3 text-sm",
|
|
211
|
-
children: "Per-tenant data sources that feed knowledge spaces:"
|
|
212
|
-
}),
|
|
213
|
-
/* @__PURE__ */ jsx("div", {
|
|
214
|
-
className: "bg-background/50 border-border text-muted-foreground overflow-x-auto rounded border p-3 font-mono text-xs",
|
|
215
|
-
children: /* @__PURE__ */ jsx("pre", {
|
|
216
|
-
children: `type KnowledgeSourceConfig = {
|
|
217
|
-
id: string;
|
|
218
|
-
tenantId: string;
|
|
219
|
-
spaceId: string;
|
|
220
|
-
kind: "uploaded-document" | "url" | "email"
|
|
221
|
-
| "notion" | "database-query" | "raw-text";
|
|
222
|
-
location: string;
|
|
223
|
-
syncPolicy: { interval?: string; webhook?: boolean };
|
|
224
|
-
lastSyncedAt?: string;
|
|
225
|
-
};`
|
|
226
|
-
})
|
|
227
|
-
}),
|
|
228
|
-
/* @__PURE__ */ jsx(Link, {
|
|
229
|
-
href: "/docs/knowledge/sources",
|
|
230
|
-
className: "mt-3 inline-block text-sm text-violet-400 hover:text-violet-300",
|
|
231
|
-
children: "Learn more about sources \u2192"
|
|
232
|
-
})
|
|
233
|
-
]
|
|
234
|
-
})
|
|
235
|
-
]
|
|
236
|
-
})
|
|
237
|
-
]
|
|
238
|
-
}),
|
|
239
|
-
/* @__PURE__ */ jsxs("div", {
|
|
240
|
-
className: "space-y-4",
|
|
241
|
-
children: [
|
|
242
|
-
/* @__PURE__ */ jsx("h2", {
|
|
243
|
-
className: "text-2xl font-bold",
|
|
244
|
-
children: "How it works"
|
|
14
|
+
className: "font-bold text-4xl",
|
|
15
|
+
children: "Knowledge Categories"
|
|
245
16
|
}),
|
|
246
17
|
/* @__PURE__ */ jsx("p", {
|
|
247
18
|
className: "text-muted-foreground",
|
|
248
|
-
children: "
|
|
249
|
-
}),
|
|
250
|
-
/* @__PURE__ */ jsxs("ol", {
|
|
251
|
-
className: "text-muted-foreground list-inside list-decimal space-y-3",
|
|
252
|
-
children: [
|
|
253
|
-
/* @__PURE__ */ jsxs("li", {
|
|
254
|
-
children: [
|
|
255
|
-
/* @__PURE__ */ jsx("strong", {
|
|
256
|
-
children: "Define spaces"
|
|
257
|
-
}),
|
|
258
|
-
' - Create KnowledgeSpaceSpec for each logical domain (e.g., "Product Canon", "Support FAQ")'
|
|
259
|
-
]
|
|
260
|
-
}),
|
|
261
|
-
/* @__PURE__ */ jsxs("li", {
|
|
262
|
-
children: [
|
|
263
|
-
/* @__PURE__ */ jsx("strong", {
|
|
264
|
-
children: "Configure sources"
|
|
265
|
-
}),
|
|
266
|
-
" - Tenants connect their data sources (Notion, Gmail, uploads, etc.)"
|
|
267
|
-
]
|
|
268
|
-
}),
|
|
269
|
-
/* @__PURE__ */ jsxs("li", {
|
|
270
|
-
children: [
|
|
271
|
-
/* @__PURE__ */ jsx("strong", {
|
|
272
|
-
children: "Sync & index"
|
|
273
|
-
}),
|
|
274
|
-
" - Sources are synced, chunked, and indexed in vector databases"
|
|
275
|
-
]
|
|
276
|
-
}),
|
|
277
|
-
/* @__PURE__ */ jsxs("li", {
|
|
278
|
-
children: [
|
|
279
|
-
/* @__PURE__ */ jsx("strong", {
|
|
280
|
-
children: "Query & retrieve"
|
|
281
|
-
}),
|
|
282
|
-
" - Workflows and agents perform semantic search to find relevant context"
|
|
283
|
-
]
|
|
284
|
-
})
|
|
285
|
-
]
|
|
286
|
-
})
|
|
287
|
-
]
|
|
288
|
-
}),
|
|
289
|
-
/* @__PURE__ */ jsxs("div", {
|
|
290
|
-
className: "space-y-4",
|
|
291
|
-
children: [
|
|
292
|
-
/* @__PURE__ */ jsx("h2", {
|
|
293
|
-
className: "text-2xl font-bold",
|
|
294
|
-
children: "Use cases"
|
|
295
|
-
}),
|
|
296
|
-
/* @__PURE__ */ jsxs("div", {
|
|
297
|
-
className: "grid gap-4 md:grid-cols-2",
|
|
298
|
-
children: [
|
|
299
|
-
/* @__PURE__ */ jsxs("div", {
|
|
300
|
-
className: "card-subtle p-4",
|
|
301
|
-
children: [
|
|
302
|
-
/* @__PURE__ */ jsx("h3", {
|
|
303
|
-
className: "mb-2 font-semibold",
|
|
304
|
-
children: "Support Agents"
|
|
305
|
-
}),
|
|
306
|
-
/* @__PURE__ */ jsx("p", {
|
|
307
|
-
className: "text-muted-foreground text-sm",
|
|
308
|
-
children: "Answer customer questions using product documentation (canonical) and past support tickets (operational)."
|
|
309
|
-
})
|
|
310
|
-
]
|
|
311
|
-
}),
|
|
312
|
-
/* @__PURE__ */ jsxs("div", {
|
|
313
|
-
className: "card-subtle p-4",
|
|
314
|
-
children: [
|
|
315
|
-
/* @__PURE__ */ jsx("h3", {
|
|
316
|
-
className: "mb-2 font-semibold",
|
|
317
|
-
children: "Invoice Generation"
|
|
318
|
-
}),
|
|
319
|
-
/* @__PURE__ */ jsx("p", {
|
|
320
|
-
className: "text-muted-foreground text-sm",
|
|
321
|
-
children: "Generate invoices using product catalog (canonical) and pricing rules (operational)."
|
|
322
|
-
})
|
|
323
|
-
]
|
|
324
|
-
}),
|
|
325
|
-
/* @__PURE__ */ jsxs("div", {
|
|
326
|
-
className: "card-subtle p-4",
|
|
327
|
-
children: [
|
|
328
|
-
/* @__PURE__ */ jsx("h3", {
|
|
329
|
-
className: "mb-2 font-semibold",
|
|
330
|
-
children: "Compliance Checking"
|
|
331
|
-
}),
|
|
332
|
-
/* @__PURE__ */ jsx("p", {
|
|
333
|
-
className: "text-muted-foreground text-sm",
|
|
334
|
-
children: "Validate operations against regulatory requirements (external) and internal policies (canonical)."
|
|
335
|
-
})
|
|
336
|
-
]
|
|
337
|
-
}),
|
|
338
|
-
/* @__PURE__ */ jsxs("div", {
|
|
339
|
-
className: "card-subtle p-4",
|
|
340
|
-
children: [
|
|
341
|
-
/* @__PURE__ */ jsx("h3", {
|
|
342
|
-
className: "mb-2 font-semibold",
|
|
343
|
-
children: "Semantic Search"
|
|
344
|
-
}),
|
|
345
|
-
/* @__PURE__ */ jsx("p", {
|
|
346
|
-
className: "text-muted-foreground text-sm",
|
|
347
|
-
children: "Find relevant documents, tickets, or records using natural language queries."
|
|
348
|
-
})
|
|
349
|
-
]
|
|
350
|
-
})
|
|
351
|
-
]
|
|
19
|
+
children: "ContractSpec classifies knowledge into four categories based on trust level, source authority, and intended use. This classification determines how knowledge can be used in workflows, policy decisions, and agent responses."
|
|
352
20
|
})
|
|
353
21
|
]
|
|
354
22
|
}),
|
|
@@ -356,142 +24,12 @@ function KnowledgeOverviewPage() {
|
|
|
356
24
|
className: "space-y-4",
|
|
357
25
|
children: [
|
|
358
26
|
/* @__PURE__ */ jsx("h2", {
|
|
359
|
-
className: "text-2xl
|
|
360
|
-
children: "
|
|
361
|
-
}),
|
|
362
|
-
/* @__PURE__ */ jsx("p", {
|
|
363
|
-
className: "text-muted-foreground",
|
|
364
|
-
children: "Knowledge spaces are consumed by workflows through standard capabilities:"
|
|
27
|
+
className: "font-bold text-2xl",
|
|
28
|
+
children: "The four categories"
|
|
365
29
|
}),
|
|
366
30
|
/* @__PURE__ */ jsx("div", {
|
|
367
|
-
className: "
|
|
31
|
+
className: "overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",
|
|
368
32
|
children: /* @__PURE__ */ jsx("pre", {
|
|
369
|
-
children: `import { defineWorkflow } from '@contractspec/lib.contracts-spec/workflow';
|
|
370
|
-
import { OpenAIEmbeddings, VectorSearch, OpenAIChat } from './specs';
|
|
371
|
-
|
|
372
|
-
export const AnswerSupportQuestion = defineWorkflow({
|
|
373
|
-
meta: {
|
|
374
|
-
key: 'support.answerQuestion',
|
|
375
|
-
version: '1.0.0',
|
|
376
|
-
description: 'Answer support questions using RAG',
|
|
377
|
-
owners: ['team-support'],
|
|
378
|
-
tags: ['ai', 'support'],
|
|
379
|
-
stability: 'stable',
|
|
380
|
-
},
|
|
381
|
-
steps: [
|
|
382
|
-
{
|
|
383
|
-
id: 'embed-question',
|
|
384
|
-
operation: OpenAIEmbeddings,
|
|
385
|
-
inputs: (ctx, input) => ({
|
|
386
|
-
text: input.question,
|
|
387
|
-
}),
|
|
388
|
-
},
|
|
389
|
-
{
|
|
390
|
-
id: 'search-knowledge',
|
|
391
|
-
operation: VectorSearch,
|
|
392
|
-
inputs: (ctx, input, steps) => ({
|
|
393
|
-
collection: 'product-canon', // KnowledgeSpace
|
|
394
|
-
vector: steps['embed-question'].output.embedding,
|
|
395
|
-
limit: 5,
|
|
396
|
-
}),
|
|
397
|
-
},
|
|
398
|
-
{
|
|
399
|
-
id: 'generate-answer',
|
|
400
|
-
operation: OpenAIChat,
|
|
401
|
-
inputs: (ctx, input, steps) => ({
|
|
402
|
-
messages: [
|
|
403
|
-
{ role: 'system', content: 'Answer using the provided context' },
|
|
404
|
-
{
|
|
405
|
-
role: 'user',
|
|
406
|
-
content: \`Context: \${steps['search-knowledge'].output.results}\\nQuestion: \${input.question}\`
|
|
407
|
-
},
|
|
408
|
-
],
|
|
409
|
-
}),
|
|
410
|
-
},
|
|
411
|
-
],
|
|
412
|
-
});`
|
|
413
|
-
})
|
|
414
|
-
})
|
|
415
|
-
]
|
|
416
|
-
}),
|
|
417
|
-
/* @__PURE__ */ jsxs("div", {
|
|
418
|
-
className: "space-y-4",
|
|
419
|
-
children: [
|
|
420
|
-
/* @__PURE__ */ jsx("h2", {
|
|
421
|
-
className: "text-2xl font-bold",
|
|
422
|
-
children: "Real-world examples"
|
|
423
|
-
}),
|
|
424
|
-
/* @__PURE__ */ jsx("p", {
|
|
425
|
-
className: "text-muted-foreground",
|
|
426
|
-
children: "See how different applications use knowledge spaces:"
|
|
427
|
-
}),
|
|
428
|
-
/* @__PURE__ */ jsxs(Link, {
|
|
429
|
-
href: "/docs/knowledge/examples",
|
|
430
|
-
className: "btn-primary inline-flex items-center gap-2",
|
|
431
|
-
children: [
|
|
432
|
-
"View Examples ",
|
|
433
|
-
/* @__PURE__ */ jsx(ChevronRight, {
|
|
434
|
-
size: 16
|
|
435
|
-
})
|
|
436
|
-
]
|
|
437
|
-
})
|
|
438
|
-
]
|
|
439
|
-
}),
|
|
440
|
-
/* @__PURE__ */ jsxs("div", {
|
|
441
|
-
className: "flex items-center gap-4 pt-4",
|
|
442
|
-
children: [
|
|
443
|
-
/* @__PURE__ */ jsxs(Link, {
|
|
444
|
-
href: "/docs/knowledge/categories",
|
|
445
|
-
className: "btn-primary",
|
|
446
|
-
children: [
|
|
447
|
-
"Knowledge Categories ",
|
|
448
|
-
/* @__PURE__ */ jsx(ChevronRight, {
|
|
449
|
-
size: 16
|
|
450
|
-
})
|
|
451
|
-
]
|
|
452
|
-
}),
|
|
453
|
-
/* @__PURE__ */ jsx(Link, {
|
|
454
|
-
href: "/docs/knowledge/spaces",
|
|
455
|
-
className: "btn-ghost",
|
|
456
|
-
children: "Knowledge Spaces"
|
|
457
|
-
})
|
|
458
|
-
]
|
|
459
|
-
})
|
|
460
|
-
]
|
|
461
|
-
});
|
|
462
|
-
}
|
|
463
|
-
|
|
464
|
-
// src/components/docs/knowledge/KnowledgeCategoriesPage.tsx
|
|
465
|
-
import Link2 from "@contractspec/lib.ui-link";
|
|
466
|
-
import { ChevronRight as ChevronRight2 } from "lucide-react";
|
|
467
|
-
import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
468
|
-
function KnowledgeCategoriesPage() {
|
|
469
|
-
return /* @__PURE__ */ jsxs2("div", {
|
|
470
|
-
className: "space-y-8",
|
|
471
|
-
children: [
|
|
472
|
-
/* @__PURE__ */ jsxs2("div", {
|
|
473
|
-
className: "space-y-4",
|
|
474
|
-
children: [
|
|
475
|
-
/* @__PURE__ */ jsx2("h1", {
|
|
476
|
-
className: "text-4xl font-bold",
|
|
477
|
-
children: "Knowledge Categories"
|
|
478
|
-
}),
|
|
479
|
-
/* @__PURE__ */ jsx2("p", {
|
|
480
|
-
className: "text-muted-foreground",
|
|
481
|
-
children: "ContractSpec classifies knowledge into four categories based on trust level, source authority, and intended use. This classification determines how knowledge can be used in workflows, policy decisions, and agent responses."
|
|
482
|
-
})
|
|
483
|
-
]
|
|
484
|
-
}),
|
|
485
|
-
/* @__PURE__ */ jsxs2("div", {
|
|
486
|
-
className: "space-y-4",
|
|
487
|
-
children: [
|
|
488
|
-
/* @__PURE__ */ jsx2("h2", {
|
|
489
|
-
className: "text-2xl font-bold",
|
|
490
|
-
children: "The four categories"
|
|
491
|
-
}),
|
|
492
|
-
/* @__PURE__ */ jsx2("div", {
|
|
493
|
-
className: "bg-background/50 border-border text-muted-foreground overflow-x-auto rounded-lg border p-4 font-mono text-sm",
|
|
494
|
-
children: /* @__PURE__ */ jsx2("pre", {
|
|
495
33
|
children: `type KnowledgeCategory =
|
|
496
34
|
| "canonical" // Internal ground truth
|
|
497
35
|
| "operational" // Internal operational docs
|
|
@@ -501,92 +39,92 @@ function KnowledgeCategoriesPage() {
|
|
|
501
39
|
})
|
|
502
40
|
]
|
|
503
41
|
}),
|
|
504
|
-
/* @__PURE__ */
|
|
42
|
+
/* @__PURE__ */ jsxs("div", {
|
|
505
43
|
className: "space-y-6",
|
|
506
44
|
children: [
|
|
507
|
-
/* @__PURE__ */
|
|
45
|
+
/* @__PURE__ */ jsxs("div", {
|
|
508
46
|
className: "space-y-4",
|
|
509
47
|
children: [
|
|
510
|
-
/* @__PURE__ */
|
|
511
|
-
className: "text-xl
|
|
48
|
+
/* @__PURE__ */ jsx("h3", {
|
|
49
|
+
className: "font-semibold text-xl",
|
|
512
50
|
children: "1. Canonical"
|
|
513
51
|
}),
|
|
514
|
-
/* @__PURE__ */
|
|
52
|
+
/* @__PURE__ */ jsxs("p", {
|
|
515
53
|
className: "text-muted-foreground",
|
|
516
54
|
children: [
|
|
517
|
-
/* @__PURE__ */
|
|
55
|
+
/* @__PURE__ */ jsx("strong", {
|
|
518
56
|
children: "Trust level:"
|
|
519
57
|
}),
|
|
520
58
|
" Highest - Authoritative ground truth"
|
|
521
59
|
]
|
|
522
60
|
}),
|
|
523
|
-
/* @__PURE__ */
|
|
61
|
+
/* @__PURE__ */ jsxs("div", {
|
|
524
62
|
className: "space-y-3",
|
|
525
63
|
children: [
|
|
526
|
-
/* @__PURE__ */
|
|
64
|
+
/* @__PURE__ */ jsxs("div", {
|
|
527
65
|
children: [
|
|
528
|
-
/* @__PURE__ */
|
|
529
|
-
className: "mb-2 text-sm
|
|
66
|
+
/* @__PURE__ */ jsx("h4", {
|
|
67
|
+
className: "mb-2 font-semibold text-sm",
|
|
530
68
|
children: "What it contains:"
|
|
531
69
|
}),
|
|
532
|
-
/* @__PURE__ */
|
|
533
|
-
className: "
|
|
70
|
+
/* @__PURE__ */ jsxs("ul", {
|
|
71
|
+
className: "ml-4 list-inside list-disc space-y-1 text-muted-foreground text-sm",
|
|
534
72
|
children: [
|
|
535
|
-
/* @__PURE__ */
|
|
73
|
+
/* @__PURE__ */ jsx("li", {
|
|
536
74
|
children: "Official product specifications and schemas"
|
|
537
75
|
}),
|
|
538
|
-
/* @__PURE__ */
|
|
76
|
+
/* @__PURE__ */ jsx("li", {
|
|
539
77
|
children: "Company policies and procedures"
|
|
540
78
|
}),
|
|
541
|
-
/* @__PURE__ */
|
|
79
|
+
/* @__PURE__ */ jsx("li", {
|
|
542
80
|
children: "Legal terms and compliance requirements"
|
|
543
81
|
}),
|
|
544
|
-
/* @__PURE__ */
|
|
82
|
+
/* @__PURE__ */ jsx("li", {
|
|
545
83
|
children: "Pricing rules and business logic"
|
|
546
84
|
}),
|
|
547
|
-
/* @__PURE__ */
|
|
85
|
+
/* @__PURE__ */ jsx("li", {
|
|
548
86
|
children: "Data classification and security policies"
|
|
549
87
|
})
|
|
550
88
|
]
|
|
551
89
|
})
|
|
552
90
|
]
|
|
553
91
|
}),
|
|
554
|
-
/* @__PURE__ */
|
|
92
|
+
/* @__PURE__ */ jsxs("div", {
|
|
555
93
|
children: [
|
|
556
|
-
/* @__PURE__ */
|
|
557
|
-
className: "mb-2 text-sm
|
|
94
|
+
/* @__PURE__ */ jsx("h4", {
|
|
95
|
+
className: "mb-2 font-semibold text-sm",
|
|
558
96
|
children: "How it's used:"
|
|
559
97
|
}),
|
|
560
|
-
/* @__PURE__ */
|
|
561
|
-
className: "
|
|
98
|
+
/* @__PURE__ */ jsxs("ul", {
|
|
99
|
+
className: "ml-4 list-inside list-disc space-y-1 text-muted-foreground text-sm",
|
|
562
100
|
children: [
|
|
563
|
-
/* @__PURE__ */
|
|
101
|
+
/* @__PURE__ */ jsxs("li", {
|
|
564
102
|
children: [
|
|
565
|
-
/* @__PURE__ */
|
|
103
|
+
/* @__PURE__ */ jsx("strong", {
|
|
566
104
|
children: "Policy decisions"
|
|
567
105
|
}),
|
|
568
106
|
" - Can drive PDP decisions"
|
|
569
107
|
]
|
|
570
108
|
}),
|
|
571
|
-
/* @__PURE__ */
|
|
109
|
+
/* @__PURE__ */ jsxs("li", {
|
|
572
110
|
children: [
|
|
573
|
-
/* @__PURE__ */
|
|
111
|
+
/* @__PURE__ */ jsx("strong", {
|
|
574
112
|
children: "Validation"
|
|
575
113
|
}),
|
|
576
114
|
" - Used to validate user inputs and operations"
|
|
577
115
|
]
|
|
578
116
|
}),
|
|
579
|
-
/* @__PURE__ */
|
|
117
|
+
/* @__PURE__ */ jsxs("li", {
|
|
580
118
|
children: [
|
|
581
|
-
/* @__PURE__ */
|
|
119
|
+
/* @__PURE__ */ jsx("strong", {
|
|
582
120
|
children: "Code generation"
|
|
583
121
|
}),
|
|
584
122
|
" - Source of truth for generated code"
|
|
585
123
|
]
|
|
586
124
|
}),
|
|
587
|
-
/* @__PURE__ */
|
|
125
|
+
/* @__PURE__ */ jsxs("li", {
|
|
588
126
|
children: [
|
|
589
|
-
/* @__PURE__ */
|
|
127
|
+
/* @__PURE__ */ jsx("strong", {
|
|
590
128
|
children: "Compliance"
|
|
591
129
|
}),
|
|
592
130
|
" - Reference for audit and regulatory checks"
|
|
@@ -596,15 +134,15 @@ function KnowledgeCategoriesPage() {
|
|
|
596
134
|
})
|
|
597
135
|
]
|
|
598
136
|
}),
|
|
599
|
-
/* @__PURE__ */
|
|
137
|
+
/* @__PURE__ */ jsxs("div", {
|
|
600
138
|
children: [
|
|
601
|
-
/* @__PURE__ */
|
|
602
|
-
className: "mb-2 text-sm
|
|
139
|
+
/* @__PURE__ */ jsx("h4", {
|
|
140
|
+
className: "mb-2 font-semibold text-sm",
|
|
603
141
|
children: "Examples:"
|
|
604
142
|
}),
|
|
605
|
-
/* @__PURE__ */
|
|
606
|
-
className: "
|
|
607
|
-
children: /* @__PURE__ */
|
|
143
|
+
/* @__PURE__ */ jsx("div", {
|
|
144
|
+
className: "overflow-x-auto rounded border border-border bg-background/50 p-3 font-mono text-muted-foreground text-xs",
|
|
145
|
+
children: /* @__PURE__ */ jsx("pre", {
|
|
608
146
|
children: `// Product Canon space
|
|
609
147
|
{
|
|
610
148
|
id: "product-canon",
|
|
@@ -630,12 +168,12 @@ function KnowledgeCategoriesPage() {
|
|
|
630
168
|
})
|
|
631
169
|
]
|
|
632
170
|
}),
|
|
633
|
-
/* @__PURE__ */
|
|
171
|
+
/* @__PURE__ */ jsx("div", {
|
|
634
172
|
className: "card-subtle border-violet-500/30 bg-violet-500/10 p-3",
|
|
635
|
-
children: /* @__PURE__ */
|
|
173
|
+
children: /* @__PURE__ */ jsxs("p", {
|
|
636
174
|
className: "text-sm text-violet-300",
|
|
637
175
|
children: [
|
|
638
|
-
/* @__PURE__ */
|
|
176
|
+
/* @__PURE__ */ jsx("strong", {
|
|
639
177
|
children: "\u26A0\uFE0F Important:"
|
|
640
178
|
}),
|
|
641
179
|
" Canonical knowledge is immutable once indexed. Changes require re-sync and versioning."
|
|
@@ -646,89 +184,89 @@ function KnowledgeCategoriesPage() {
|
|
|
646
184
|
})
|
|
647
185
|
]
|
|
648
186
|
}),
|
|
649
|
-
/* @__PURE__ */
|
|
187
|
+
/* @__PURE__ */ jsxs("div", {
|
|
650
188
|
className: "space-y-4",
|
|
651
189
|
children: [
|
|
652
|
-
/* @__PURE__ */
|
|
653
|
-
className: "text-xl
|
|
190
|
+
/* @__PURE__ */ jsx("h3", {
|
|
191
|
+
className: "font-semibold text-xl",
|
|
654
192
|
children: "2. Operational"
|
|
655
193
|
}),
|
|
656
|
-
/* @__PURE__ */
|
|
194
|
+
/* @__PURE__ */ jsxs("p", {
|
|
657
195
|
className: "text-muted-foreground",
|
|
658
196
|
children: [
|
|
659
|
-
/* @__PURE__ */
|
|
197
|
+
/* @__PURE__ */ jsx("strong", {
|
|
660
198
|
children: "Trust level:"
|
|
661
199
|
}),
|
|
662
200
|
" High - Internal but not authoritative"
|
|
663
201
|
]
|
|
664
202
|
}),
|
|
665
|
-
/* @__PURE__ */
|
|
203
|
+
/* @__PURE__ */ jsxs("div", {
|
|
666
204
|
className: "space-y-3",
|
|
667
205
|
children: [
|
|
668
|
-
/* @__PURE__ */
|
|
206
|
+
/* @__PURE__ */ jsxs("div", {
|
|
669
207
|
children: [
|
|
670
|
-
/* @__PURE__ */
|
|
671
|
-
className: "mb-2 text-sm
|
|
208
|
+
/* @__PURE__ */ jsx("h4", {
|
|
209
|
+
className: "mb-2 font-semibold text-sm",
|
|
672
210
|
children: "What it contains:"
|
|
673
211
|
}),
|
|
674
|
-
/* @__PURE__ */
|
|
675
|
-
className: "
|
|
212
|
+
/* @__PURE__ */ jsxs("ul", {
|
|
213
|
+
className: "ml-4 list-inside list-disc space-y-1 text-muted-foreground text-sm",
|
|
676
214
|
children: [
|
|
677
|
-
/* @__PURE__ */
|
|
215
|
+
/* @__PURE__ */ jsx("li", {
|
|
678
216
|
children: "Support ticket history and resolutions"
|
|
679
217
|
}),
|
|
680
|
-
/* @__PURE__ */
|
|
218
|
+
/* @__PURE__ */ jsx("li", {
|
|
681
219
|
children: "Internal runbooks and playbooks"
|
|
682
220
|
}),
|
|
683
|
-
/* @__PURE__ */
|
|
221
|
+
/* @__PURE__ */ jsx("li", {
|
|
684
222
|
children: "Sales materials and customer communications"
|
|
685
223
|
}),
|
|
686
|
-
/* @__PURE__ */
|
|
224
|
+
/* @__PURE__ */ jsx("li", {
|
|
687
225
|
children: "Product management docs and roadmaps"
|
|
688
226
|
}),
|
|
689
|
-
/* @__PURE__ */
|
|
227
|
+
/* @__PURE__ */ jsx("li", {
|
|
690
228
|
children: "Team wikis and knowledge bases"
|
|
691
229
|
})
|
|
692
230
|
]
|
|
693
231
|
})
|
|
694
232
|
]
|
|
695
233
|
}),
|
|
696
|
-
/* @__PURE__ */
|
|
234
|
+
/* @__PURE__ */ jsxs("div", {
|
|
697
235
|
children: [
|
|
698
|
-
/* @__PURE__ */
|
|
699
|
-
className: "mb-2 text-sm
|
|
236
|
+
/* @__PURE__ */ jsx("h4", {
|
|
237
|
+
className: "mb-2 font-semibold text-sm",
|
|
700
238
|
children: "How it's used:"
|
|
701
239
|
}),
|
|
702
|
-
/* @__PURE__ */
|
|
703
|
-
className: "
|
|
240
|
+
/* @__PURE__ */ jsxs("ul", {
|
|
241
|
+
className: "ml-4 list-inside list-disc space-y-1 text-muted-foreground text-sm",
|
|
704
242
|
children: [
|
|
705
|
-
/* @__PURE__ */
|
|
243
|
+
/* @__PURE__ */ jsxs("li", {
|
|
706
244
|
children: [
|
|
707
|
-
/* @__PURE__ */
|
|
245
|
+
/* @__PURE__ */ jsx("strong", {
|
|
708
246
|
children: "Context"
|
|
709
247
|
}),
|
|
710
248
|
" - Provides helpful context for decisions"
|
|
711
249
|
]
|
|
712
250
|
}),
|
|
713
|
-
/* @__PURE__ */
|
|
251
|
+
/* @__PURE__ */ jsxs("li", {
|
|
714
252
|
children: [
|
|
715
|
-
/* @__PURE__ */
|
|
253
|
+
/* @__PURE__ */ jsx("strong", {
|
|
716
254
|
children: "Suggestions"
|
|
717
255
|
}),
|
|
718
256
|
" - Informs recommendations, not requirements"
|
|
719
257
|
]
|
|
720
258
|
}),
|
|
721
|
-
/* @__PURE__ */
|
|
259
|
+
/* @__PURE__ */ jsxs("li", {
|
|
722
260
|
children: [
|
|
723
|
-
/* @__PURE__ */
|
|
261
|
+
/* @__PURE__ */ jsx("strong", {
|
|
724
262
|
children: "Learning"
|
|
725
263
|
}),
|
|
726
264
|
" - Helps agents learn from past interactions"
|
|
727
265
|
]
|
|
728
266
|
}),
|
|
729
|
-
/* @__PURE__ */
|
|
267
|
+
/* @__PURE__ */ jsxs("li", {
|
|
730
268
|
children: [
|
|
731
|
-
/* @__PURE__ */
|
|
269
|
+
/* @__PURE__ */ jsx("strong", {
|
|
732
270
|
children: "Troubleshooting"
|
|
733
271
|
}),
|
|
734
272
|
" - Guides problem-solving workflows"
|
|
@@ -738,15 +276,15 @@ function KnowledgeCategoriesPage() {
|
|
|
738
276
|
})
|
|
739
277
|
]
|
|
740
278
|
}),
|
|
741
|
-
/* @__PURE__ */
|
|
279
|
+
/* @__PURE__ */ jsxs("div", {
|
|
742
280
|
children: [
|
|
743
|
-
/* @__PURE__ */
|
|
744
|
-
className: "mb-2 text-sm
|
|
281
|
+
/* @__PURE__ */ jsx("h4", {
|
|
282
|
+
className: "mb-2 font-semibold text-sm",
|
|
745
283
|
children: "Examples:"
|
|
746
284
|
}),
|
|
747
|
-
/* @__PURE__ */
|
|
748
|
-
className: "
|
|
749
|
-
children: /* @__PURE__ */
|
|
285
|
+
/* @__PURE__ */ jsx("div", {
|
|
286
|
+
className: "overflow-x-auto rounded border border-border bg-background/50 p-3 font-mono text-muted-foreground text-xs",
|
|
287
|
+
children: /* @__PURE__ */ jsx("pre", {
|
|
750
288
|
children: `// Support History space
|
|
751
289
|
{
|
|
752
290
|
id: "support-history",
|
|
@@ -776,89 +314,89 @@ function KnowledgeCategoriesPage() {
|
|
|
776
314
|
})
|
|
777
315
|
]
|
|
778
316
|
}),
|
|
779
|
-
/* @__PURE__ */
|
|
317
|
+
/* @__PURE__ */ jsxs("div", {
|
|
780
318
|
className: "space-y-4",
|
|
781
319
|
children: [
|
|
782
|
-
/* @__PURE__ */
|
|
783
|
-
className: "text-xl
|
|
320
|
+
/* @__PURE__ */ jsx("h3", {
|
|
321
|
+
className: "font-semibold text-xl",
|
|
784
322
|
children: "3. External"
|
|
785
323
|
}),
|
|
786
|
-
/* @__PURE__ */
|
|
324
|
+
/* @__PURE__ */ jsxs("p", {
|
|
787
325
|
className: "text-muted-foreground",
|
|
788
326
|
children: [
|
|
789
|
-
/* @__PURE__ */
|
|
327
|
+
/* @__PURE__ */ jsx("strong", {
|
|
790
328
|
children: "Trust level:"
|
|
791
329
|
}),
|
|
792
330
|
" Medium - Reference only"
|
|
793
331
|
]
|
|
794
332
|
}),
|
|
795
|
-
/* @__PURE__ */
|
|
333
|
+
/* @__PURE__ */ jsxs("div", {
|
|
796
334
|
className: "space-y-3",
|
|
797
335
|
children: [
|
|
798
|
-
/* @__PURE__ */
|
|
336
|
+
/* @__PURE__ */ jsxs("div", {
|
|
799
337
|
children: [
|
|
800
|
-
/* @__PURE__ */
|
|
801
|
-
className: "mb-2 text-sm
|
|
338
|
+
/* @__PURE__ */ jsx("h4", {
|
|
339
|
+
className: "mb-2 font-semibold text-sm",
|
|
802
340
|
children: "What it contains:"
|
|
803
341
|
}),
|
|
804
|
-
/* @__PURE__ */
|
|
805
|
-
className: "
|
|
342
|
+
/* @__PURE__ */ jsxs("ul", {
|
|
343
|
+
className: "ml-4 list-inside list-disc space-y-1 text-muted-foreground text-sm",
|
|
806
344
|
children: [
|
|
807
|
-
/* @__PURE__ */
|
|
345
|
+
/* @__PURE__ */ jsx("li", {
|
|
808
346
|
children: "Third-party integration documentation (Stripe, Twilio)"
|
|
809
347
|
}),
|
|
810
|
-
/* @__PURE__ */
|
|
348
|
+
/* @__PURE__ */ jsx("li", {
|
|
811
349
|
children: "Regulatory and compliance documents"
|
|
812
350
|
}),
|
|
813
|
-
/* @__PURE__ */
|
|
351
|
+
/* @__PURE__ */ jsx("li", {
|
|
814
352
|
children: "Industry standards and best practices"
|
|
815
353
|
}),
|
|
816
|
-
/* @__PURE__ */
|
|
354
|
+
/* @__PURE__ */ jsx("li", {
|
|
817
355
|
children: "Public API documentation"
|
|
818
356
|
}),
|
|
819
|
-
/* @__PURE__ */
|
|
357
|
+
/* @__PURE__ */ jsx("li", {
|
|
820
358
|
children: "External knowledge bases"
|
|
821
359
|
})
|
|
822
360
|
]
|
|
823
361
|
})
|
|
824
362
|
]
|
|
825
363
|
}),
|
|
826
|
-
/* @__PURE__ */
|
|
364
|
+
/* @__PURE__ */ jsxs("div", {
|
|
827
365
|
children: [
|
|
828
|
-
/* @__PURE__ */
|
|
829
|
-
className: "mb-2 text-sm
|
|
366
|
+
/* @__PURE__ */ jsx("h4", {
|
|
367
|
+
className: "mb-2 font-semibold text-sm",
|
|
830
368
|
children: "How it's used:"
|
|
831
369
|
}),
|
|
832
|
-
/* @__PURE__ */
|
|
833
|
-
className: "
|
|
370
|
+
/* @__PURE__ */ jsxs("ul", {
|
|
371
|
+
className: "ml-4 list-inside list-disc space-y-1 text-muted-foreground text-sm",
|
|
834
372
|
children: [
|
|
835
|
-
/* @__PURE__ */
|
|
373
|
+
/* @__PURE__ */ jsxs("li", {
|
|
836
374
|
children: [
|
|
837
|
-
/* @__PURE__ */
|
|
375
|
+
/* @__PURE__ */ jsx("strong", {
|
|
838
376
|
children: "Reference"
|
|
839
377
|
}),
|
|
840
378
|
" - Consulted but not authoritative"
|
|
841
379
|
]
|
|
842
380
|
}),
|
|
843
|
-
/* @__PURE__ */
|
|
381
|
+
/* @__PURE__ */ jsxs("li", {
|
|
844
382
|
children: [
|
|
845
|
-
/* @__PURE__ */
|
|
383
|
+
/* @__PURE__ */ jsx("strong", {
|
|
846
384
|
children: "Integration help"
|
|
847
385
|
}),
|
|
848
386
|
" - Guides external API usage"
|
|
849
387
|
]
|
|
850
388
|
}),
|
|
851
|
-
/* @__PURE__ */
|
|
389
|
+
/* @__PURE__ */ jsxs("li", {
|
|
852
390
|
children: [
|
|
853
|
-
/* @__PURE__ */
|
|
391
|
+
/* @__PURE__ */ jsx("strong", {
|
|
854
392
|
children: "Compliance context"
|
|
855
393
|
}),
|
|
856
394
|
" - Provides regulatory background"
|
|
857
395
|
]
|
|
858
396
|
}),
|
|
859
|
-
/* @__PURE__ */
|
|
397
|
+
/* @__PURE__ */ jsxs("li", {
|
|
860
398
|
children: [
|
|
861
|
-
/* @__PURE__ */
|
|
399
|
+
/* @__PURE__ */ jsx("strong", {
|
|
862
400
|
children: "Never for policy"
|
|
863
401
|
}),
|
|
864
402
|
" - Cannot drive policy decisions"
|
|
@@ -868,15 +406,15 @@ function KnowledgeCategoriesPage() {
|
|
|
868
406
|
})
|
|
869
407
|
]
|
|
870
408
|
}),
|
|
871
|
-
/* @__PURE__ */
|
|
409
|
+
/* @__PURE__ */ jsxs("div", {
|
|
872
410
|
children: [
|
|
873
|
-
/* @__PURE__ */
|
|
874
|
-
className: "mb-2 text-sm
|
|
411
|
+
/* @__PURE__ */ jsx("h4", {
|
|
412
|
+
className: "mb-2 font-semibold text-sm",
|
|
875
413
|
children: "Examples:"
|
|
876
414
|
}),
|
|
877
|
-
/* @__PURE__ */
|
|
878
|
-
className: "
|
|
879
|
-
children: /* @__PURE__ */
|
|
415
|
+
/* @__PURE__ */ jsx("div", {
|
|
416
|
+
className: "overflow-x-auto rounded border border-border bg-background/50 p-3 font-mono text-muted-foreground text-xs",
|
|
417
|
+
children: /* @__PURE__ */ jsx("pre", {
|
|
880
418
|
children: `// External Provider Docs space
|
|
881
419
|
{
|
|
882
420
|
id: "provider-docs",
|
|
@@ -902,12 +440,12 @@ function KnowledgeCategoriesPage() {
|
|
|
902
440
|
})
|
|
903
441
|
]
|
|
904
442
|
}),
|
|
905
|
-
/* @__PURE__ */
|
|
443
|
+
/* @__PURE__ */ jsx("div", {
|
|
906
444
|
className: "card-subtle border-amber-500/30 bg-amber-500/10 p-3",
|
|
907
|
-
children: /* @__PURE__ */
|
|
908
|
-
className: "text-
|
|
445
|
+
children: /* @__PURE__ */ jsxs("p", {
|
|
446
|
+
className: "text-amber-300 text-sm",
|
|
909
447
|
children: [
|
|
910
|
-
/* @__PURE__ */
|
|
448
|
+
/* @__PURE__ */ jsx("strong", {
|
|
911
449
|
children: "\u26A0\uFE0F Note:"
|
|
912
450
|
}),
|
|
913
451
|
` External knowledge should be clearly marked in agent responses as "according to [source]" to indicate it's not internal authority.`
|
|
@@ -918,89 +456,89 @@ function KnowledgeCategoriesPage() {
|
|
|
918
456
|
})
|
|
919
457
|
]
|
|
920
458
|
}),
|
|
921
|
-
/* @__PURE__ */
|
|
459
|
+
/* @__PURE__ */ jsxs("div", {
|
|
922
460
|
className: "space-y-4",
|
|
923
461
|
children: [
|
|
924
|
-
/* @__PURE__ */
|
|
925
|
-
className: "text-xl
|
|
462
|
+
/* @__PURE__ */ jsx("h3", {
|
|
463
|
+
className: "font-semibold text-xl",
|
|
926
464
|
children: "4. Ephemeral"
|
|
927
465
|
}),
|
|
928
|
-
/* @__PURE__ */
|
|
466
|
+
/* @__PURE__ */ jsxs("p", {
|
|
929
467
|
className: "text-muted-foreground",
|
|
930
468
|
children: [
|
|
931
|
-
/* @__PURE__ */
|
|
469
|
+
/* @__PURE__ */ jsx("strong", {
|
|
932
470
|
children: "Trust level:"
|
|
933
471
|
}),
|
|
934
472
|
" Low - Temporary context only"
|
|
935
473
|
]
|
|
936
474
|
}),
|
|
937
|
-
/* @__PURE__ */
|
|
475
|
+
/* @__PURE__ */ jsxs("div", {
|
|
938
476
|
className: "space-y-3",
|
|
939
477
|
children: [
|
|
940
|
-
/* @__PURE__ */
|
|
478
|
+
/* @__PURE__ */ jsxs("div", {
|
|
941
479
|
children: [
|
|
942
|
-
/* @__PURE__ */
|
|
943
|
-
className: "mb-2 text-sm
|
|
480
|
+
/* @__PURE__ */ jsx("h4", {
|
|
481
|
+
className: "mb-2 font-semibold text-sm",
|
|
944
482
|
children: "What it contains:"
|
|
945
483
|
}),
|
|
946
|
-
/* @__PURE__ */
|
|
947
|
-
className: "
|
|
484
|
+
/* @__PURE__ */ jsxs("ul", {
|
|
485
|
+
className: "ml-4 list-inside list-disc space-y-1 text-muted-foreground text-sm",
|
|
948
486
|
children: [
|
|
949
|
-
/* @__PURE__ */
|
|
487
|
+
/* @__PURE__ */ jsx("li", {
|
|
950
488
|
children: "Agent conversation history and scratchpads"
|
|
951
489
|
}),
|
|
952
|
-
/* @__PURE__ */
|
|
490
|
+
/* @__PURE__ */ jsx("li", {
|
|
953
491
|
children: "Session-specific context and state"
|
|
954
492
|
}),
|
|
955
|
-
/* @__PURE__ */
|
|
493
|
+
/* @__PURE__ */ jsx("li", {
|
|
956
494
|
children: "Draft documents and work-in-progress"
|
|
957
495
|
}),
|
|
958
|
-
/* @__PURE__ */
|
|
496
|
+
/* @__PURE__ */ jsx("li", {
|
|
959
497
|
children: "Temporary calculations and intermediate results"
|
|
960
498
|
}),
|
|
961
|
-
/* @__PURE__ */
|
|
499
|
+
/* @__PURE__ */ jsx("li", {
|
|
962
500
|
children: "User-provided context for current task"
|
|
963
501
|
})
|
|
964
502
|
]
|
|
965
503
|
})
|
|
966
504
|
]
|
|
967
505
|
}),
|
|
968
|
-
/* @__PURE__ */
|
|
506
|
+
/* @__PURE__ */ jsxs("div", {
|
|
969
507
|
children: [
|
|
970
|
-
/* @__PURE__ */
|
|
971
|
-
className: "mb-2 text-sm
|
|
508
|
+
/* @__PURE__ */ jsx("h4", {
|
|
509
|
+
className: "mb-2 font-semibold text-sm",
|
|
972
510
|
children: "How it's used:"
|
|
973
511
|
}),
|
|
974
|
-
/* @__PURE__ */
|
|
975
|
-
className: "
|
|
512
|
+
/* @__PURE__ */ jsxs("ul", {
|
|
513
|
+
className: "ml-4 list-inside list-disc space-y-1 text-muted-foreground text-sm",
|
|
976
514
|
children: [
|
|
977
|
-
/* @__PURE__ */
|
|
515
|
+
/* @__PURE__ */ jsxs("li", {
|
|
978
516
|
children: [
|
|
979
|
-
/* @__PURE__ */
|
|
517
|
+
/* @__PURE__ */ jsx("strong", {
|
|
980
518
|
children: "Session continuity"
|
|
981
519
|
}),
|
|
982
520
|
" - Maintains conversation context"
|
|
983
521
|
]
|
|
984
522
|
}),
|
|
985
|
-
/* @__PURE__ */
|
|
523
|
+
/* @__PURE__ */ jsxs("li", {
|
|
986
524
|
children: [
|
|
987
|
-
/* @__PURE__ */
|
|
525
|
+
/* @__PURE__ */ jsx("strong", {
|
|
988
526
|
children: "Working memory"
|
|
989
527
|
}),
|
|
990
528
|
" - Stores intermediate results"
|
|
991
529
|
]
|
|
992
530
|
}),
|
|
993
|
-
/* @__PURE__ */
|
|
531
|
+
/* @__PURE__ */ jsxs("li", {
|
|
994
532
|
children: [
|
|
995
|
-
/* @__PURE__ */
|
|
533
|
+
/* @__PURE__ */ jsx("strong", {
|
|
996
534
|
children: "Never persisted long-term"
|
|
997
535
|
}),
|
|
998
536
|
" - Auto-purged after session"
|
|
999
537
|
]
|
|
1000
538
|
}),
|
|
1001
|
-
/* @__PURE__ */
|
|
539
|
+
/* @__PURE__ */ jsxs("li", {
|
|
1002
540
|
children: [
|
|
1003
|
-
/* @__PURE__ */
|
|
541
|
+
/* @__PURE__ */ jsx("strong", {
|
|
1004
542
|
children: "Never for decisions"
|
|
1005
543
|
}),
|
|
1006
544
|
" - Cannot influence policy or validation"
|
|
@@ -1010,15 +548,15 @@ function KnowledgeCategoriesPage() {
|
|
|
1010
548
|
})
|
|
1011
549
|
]
|
|
1012
550
|
}),
|
|
1013
|
-
/* @__PURE__ */
|
|
551
|
+
/* @__PURE__ */ jsxs("div", {
|
|
1014
552
|
children: [
|
|
1015
|
-
/* @__PURE__ */
|
|
1016
|
-
className: "mb-2 text-sm
|
|
553
|
+
/* @__PURE__ */ jsx("h4", {
|
|
554
|
+
className: "mb-2 font-semibold text-sm",
|
|
1017
555
|
children: "Examples:"
|
|
1018
556
|
}),
|
|
1019
|
-
/* @__PURE__ */
|
|
1020
|
-
className: "
|
|
1021
|
-
children: /* @__PURE__ */
|
|
557
|
+
/* @__PURE__ */ jsx("div", {
|
|
558
|
+
className: "overflow-x-auto rounded border border-border bg-background/50 p-3 font-mono text-muted-foreground text-xs",
|
|
559
|
+
children: /* @__PURE__ */ jsx("pre", {
|
|
1022
560
|
children: `// Agent Scratchpad space
|
|
1023
561
|
{
|
|
1024
562
|
id: "agent-scratchpad",
|
|
@@ -1044,12 +582,12 @@ function KnowledgeCategoriesPage() {
|
|
|
1044
582
|
})
|
|
1045
583
|
]
|
|
1046
584
|
}),
|
|
1047
|
-
/* @__PURE__ */
|
|
585
|
+
/* @__PURE__ */ jsx("div", {
|
|
1048
586
|
className: "card-subtle border-red-500/30 bg-red-500/10 p-3",
|
|
1049
|
-
children: /* @__PURE__ */
|
|
1050
|
-
className: "text-
|
|
587
|
+
children: /* @__PURE__ */ jsxs("p", {
|
|
588
|
+
className: "text-red-300 text-sm",
|
|
1051
589
|
children: [
|
|
1052
|
-
/* @__PURE__ */
|
|
590
|
+
/* @__PURE__ */ jsx("strong", {
|
|
1053
591
|
children: "\u26A0\uFE0F Critical:"
|
|
1054
592
|
}),
|
|
1055
593
|
" Ephemeral knowledge is never used for policy decisions, compliance checks, or any authoritative purpose."
|
|
@@ -1062,164 +600,164 @@ function KnowledgeCategoriesPage() {
|
|
|
1062
600
|
})
|
|
1063
601
|
]
|
|
1064
602
|
}),
|
|
1065
|
-
/* @__PURE__ */
|
|
603
|
+
/* @__PURE__ */ jsxs("div", {
|
|
1066
604
|
className: "space-y-4",
|
|
1067
605
|
children: [
|
|
1068
|
-
/* @__PURE__ */
|
|
1069
|
-
className: "text-2xl
|
|
606
|
+
/* @__PURE__ */ jsx("h2", {
|
|
607
|
+
className: "font-bold text-2xl",
|
|
1070
608
|
children: "Category comparison"
|
|
1071
609
|
}),
|
|
1072
|
-
/* @__PURE__ */
|
|
1073
|
-
className: "
|
|
1074
|
-
children: /* @__PURE__ */
|
|
610
|
+
/* @__PURE__ */ jsx("div", {
|
|
611
|
+
className: "overflow-x-auto rounded-lg border border-border/50",
|
|
612
|
+
children: /* @__PURE__ */ jsxs("table", {
|
|
1075
613
|
className: "w-full text-left text-sm",
|
|
1076
614
|
children: [
|
|
1077
|
-
/* @__PURE__ */
|
|
615
|
+
/* @__PURE__ */ jsx("thead", {
|
|
1078
616
|
className: "bg-card/50",
|
|
1079
|
-
children: /* @__PURE__ */
|
|
617
|
+
children: /* @__PURE__ */ jsxs("tr", {
|
|
1080
618
|
className: "border-border/50 border-b",
|
|
1081
619
|
children: [
|
|
1082
|
-
/* @__PURE__ */
|
|
620
|
+
/* @__PURE__ */ jsx("th", {
|
|
1083
621
|
className: "px-4 py-3 font-semibold",
|
|
1084
622
|
children: "Feature"
|
|
1085
623
|
}),
|
|
1086
|
-
/* @__PURE__ */
|
|
624
|
+
/* @__PURE__ */ jsx("th", {
|
|
1087
625
|
className: "px-4 py-3 font-semibold",
|
|
1088
626
|
children: "Canonical"
|
|
1089
627
|
}),
|
|
1090
|
-
/* @__PURE__ */
|
|
628
|
+
/* @__PURE__ */ jsx("th", {
|
|
1091
629
|
className: "px-4 py-3 font-semibold",
|
|
1092
630
|
children: "Operational"
|
|
1093
631
|
}),
|
|
1094
|
-
/* @__PURE__ */
|
|
632
|
+
/* @__PURE__ */ jsx("th", {
|
|
1095
633
|
className: "px-4 py-3 font-semibold",
|
|
1096
634
|
children: "External"
|
|
1097
635
|
}),
|
|
1098
|
-
/* @__PURE__ */
|
|
636
|
+
/* @__PURE__ */ jsx("th", {
|
|
1099
637
|
className: "px-4 py-3 font-semibold",
|
|
1100
638
|
children: "Ephemeral"
|
|
1101
639
|
})
|
|
1102
640
|
]
|
|
1103
641
|
})
|
|
1104
642
|
}),
|
|
1105
|
-
/* @__PURE__ */
|
|
1106
|
-
className: "divide-border/50
|
|
643
|
+
/* @__PURE__ */ jsxs("tbody", {
|
|
644
|
+
className: "divide-y divide-border/50",
|
|
1107
645
|
children: [
|
|
1108
|
-
/* @__PURE__ */
|
|
646
|
+
/* @__PURE__ */ jsxs("tr", {
|
|
1109
647
|
children: [
|
|
1110
|
-
/* @__PURE__ */
|
|
648
|
+
/* @__PURE__ */ jsx("td", {
|
|
1111
649
|
className: "px-4 py-3 font-semibold",
|
|
1112
650
|
children: "Trust Level"
|
|
1113
651
|
}),
|
|
1114
|
-
/* @__PURE__ */
|
|
652
|
+
/* @__PURE__ */ jsx("td", {
|
|
1115
653
|
className: "px-4 py-3",
|
|
1116
654
|
children: "Highest"
|
|
1117
655
|
}),
|
|
1118
|
-
/* @__PURE__ */
|
|
656
|
+
/* @__PURE__ */ jsx("td", {
|
|
1119
657
|
className: "px-4 py-3",
|
|
1120
658
|
children: "High"
|
|
1121
659
|
}),
|
|
1122
|
-
/* @__PURE__ */
|
|
660
|
+
/* @__PURE__ */ jsx("td", {
|
|
1123
661
|
className: "px-4 py-3",
|
|
1124
662
|
children: "Medium"
|
|
1125
663
|
}),
|
|
1126
|
-
/* @__PURE__ */
|
|
664
|
+
/* @__PURE__ */ jsx("td", {
|
|
1127
665
|
className: "px-4 py-3",
|
|
1128
666
|
children: "Low"
|
|
1129
667
|
})
|
|
1130
668
|
]
|
|
1131
669
|
}),
|
|
1132
|
-
/* @__PURE__ */
|
|
670
|
+
/* @__PURE__ */ jsxs("tr", {
|
|
1133
671
|
children: [
|
|
1134
|
-
/* @__PURE__ */
|
|
672
|
+
/* @__PURE__ */ jsx("td", {
|
|
1135
673
|
className: "px-4 py-3 font-semibold",
|
|
1136
674
|
children: "Policy Impact"
|
|
1137
675
|
}),
|
|
1138
|
-
/* @__PURE__ */
|
|
676
|
+
/* @__PURE__ */ jsx("td", {
|
|
1139
677
|
className: "px-4 py-3",
|
|
1140
678
|
children: "\u2705 Can drive decisions"
|
|
1141
679
|
}),
|
|
1142
|
-
/* @__PURE__ */
|
|
680
|
+
/* @__PURE__ */ jsx("td", {
|
|
1143
681
|
className: "px-4 py-3",
|
|
1144
682
|
children: "\u26A0\uFE0F Can inform"
|
|
1145
683
|
}),
|
|
1146
|
-
/* @__PURE__ */
|
|
684
|
+
/* @__PURE__ */ jsx("td", {
|
|
1147
685
|
className: "px-4 py-3",
|
|
1148
686
|
children: "\u274C Reference only"
|
|
1149
687
|
}),
|
|
1150
|
-
/* @__PURE__ */
|
|
688
|
+
/* @__PURE__ */ jsx("td", {
|
|
1151
689
|
className: "px-4 py-3",
|
|
1152
690
|
children: "\u274C Never used"
|
|
1153
691
|
})
|
|
1154
692
|
]
|
|
1155
693
|
}),
|
|
1156
|
-
/* @__PURE__ */
|
|
694
|
+
/* @__PURE__ */ jsxs("tr", {
|
|
1157
695
|
children: [
|
|
1158
|
-
/* @__PURE__ */
|
|
696
|
+
/* @__PURE__ */ jsx("td", {
|
|
1159
697
|
className: "px-4 py-3 font-semibold",
|
|
1160
698
|
children: "Mutability"
|
|
1161
699
|
}),
|
|
1162
|
-
/* @__PURE__ */
|
|
700
|
+
/* @__PURE__ */ jsx("td", {
|
|
1163
701
|
className: "px-4 py-3",
|
|
1164
702
|
children: "Immutable"
|
|
1165
703
|
}),
|
|
1166
|
-
/* @__PURE__ */
|
|
704
|
+
/* @__PURE__ */ jsx("td", {
|
|
1167
705
|
className: "px-4 py-3",
|
|
1168
706
|
children: "Mutable"
|
|
1169
707
|
}),
|
|
1170
|
-
/* @__PURE__ */
|
|
708
|
+
/* @__PURE__ */ jsx("td", {
|
|
1171
709
|
className: "px-4 py-3",
|
|
1172
710
|
children: "Mutable"
|
|
1173
711
|
}),
|
|
1174
|
-
/* @__PURE__ */
|
|
712
|
+
/* @__PURE__ */ jsx("td", {
|
|
1175
713
|
className: "px-4 py-3",
|
|
1176
714
|
children: "Temporary"
|
|
1177
715
|
})
|
|
1178
716
|
]
|
|
1179
717
|
}),
|
|
1180
|
-
/* @__PURE__ */
|
|
718
|
+
/* @__PURE__ */ jsxs("tr", {
|
|
1181
719
|
children: [
|
|
1182
|
-
/* @__PURE__ */
|
|
720
|
+
/* @__PURE__ */ jsx("td", {
|
|
1183
721
|
className: "px-4 py-3 font-semibold",
|
|
1184
722
|
children: "Retention"
|
|
1185
723
|
}),
|
|
1186
|
-
/* @__PURE__ */
|
|
724
|
+
/* @__PURE__ */ jsx("td", {
|
|
1187
725
|
className: "px-4 py-3",
|
|
1188
726
|
children: "Permanent"
|
|
1189
727
|
}),
|
|
1190
|
-
/* @__PURE__ */
|
|
728
|
+
/* @__PURE__ */ jsx("td", {
|
|
1191
729
|
className: "px-4 py-3",
|
|
1192
730
|
children: "Long-term"
|
|
1193
731
|
}),
|
|
1194
|
-
/* @__PURE__ */
|
|
732
|
+
/* @__PURE__ */ jsx("td", {
|
|
1195
733
|
className: "px-4 py-3",
|
|
1196
734
|
children: "Long-term"
|
|
1197
735
|
}),
|
|
1198
|
-
/* @__PURE__ */
|
|
736
|
+
/* @__PURE__ */ jsx("td", {
|
|
1199
737
|
className: "px-4 py-3",
|
|
1200
738
|
children: "Short-term"
|
|
1201
739
|
})
|
|
1202
740
|
]
|
|
1203
741
|
}),
|
|
1204
|
-
/* @__PURE__ */
|
|
742
|
+
/* @__PURE__ */ jsxs("tr", {
|
|
1205
743
|
children: [
|
|
1206
|
-
/* @__PURE__ */
|
|
744
|
+
/* @__PURE__ */ jsx("td", {
|
|
1207
745
|
className: "px-4 py-3 font-semibold",
|
|
1208
746
|
children: "Audit Level"
|
|
1209
747
|
}),
|
|
1210
|
-
/* @__PURE__ */
|
|
748
|
+
/* @__PURE__ */ jsx("td", {
|
|
1211
749
|
className: "px-4 py-3",
|
|
1212
750
|
children: "Full audit"
|
|
1213
751
|
}),
|
|
1214
|
-
/* @__PURE__ */
|
|
752
|
+
/* @__PURE__ */ jsx("td", {
|
|
1215
753
|
className: "px-4 py-3",
|
|
1216
754
|
children: "Full audit"
|
|
1217
755
|
}),
|
|
1218
|
-
/* @__PURE__ */
|
|
756
|
+
/* @__PURE__ */ jsx("td", {
|
|
1219
757
|
className: "px-4 py-3",
|
|
1220
758
|
children: "Basic audit"
|
|
1221
759
|
}),
|
|
1222
|
-
/* @__PURE__ */
|
|
760
|
+
/* @__PURE__ */ jsx("td", {
|
|
1223
761
|
className: "px-4 py-3",
|
|
1224
762
|
children: "Minimal audit"
|
|
1225
763
|
})
|
|
@@ -1232,52 +770,52 @@ function KnowledgeCategoriesPage() {
|
|
|
1232
770
|
})
|
|
1233
771
|
]
|
|
1234
772
|
}),
|
|
1235
|
-
/* @__PURE__ */
|
|
773
|
+
/* @__PURE__ */ jsxs("div", {
|
|
1236
774
|
className: "space-y-4",
|
|
1237
775
|
children: [
|
|
1238
|
-
/* @__PURE__ */
|
|
1239
|
-
className: "text-2xl
|
|
776
|
+
/* @__PURE__ */ jsx("h2", {
|
|
777
|
+
className: "font-bold text-2xl",
|
|
1240
778
|
children: "Best practices"
|
|
1241
779
|
}),
|
|
1242
|
-
/* @__PURE__ */
|
|
1243
|
-
className: "
|
|
780
|
+
/* @__PURE__ */ jsxs("ul", {
|
|
781
|
+
className: "list-inside list-disc space-y-2 text-muted-foreground",
|
|
1244
782
|
children: [
|
|
1245
|
-
/* @__PURE__ */
|
|
783
|
+
/* @__PURE__ */ jsx("li", {
|
|
1246
784
|
children: "Use canonical for anything that affects policy, pricing, or compliance"
|
|
1247
785
|
}),
|
|
1248
|
-
/* @__PURE__ */
|
|
786
|
+
/* @__PURE__ */ jsx("li", {
|
|
1249
787
|
children: "Use operational for context that helps but doesn't dictate decisions"
|
|
1250
788
|
}),
|
|
1251
|
-
/* @__PURE__ */
|
|
789
|
+
/* @__PURE__ */ jsx("li", {
|
|
1252
790
|
children: "Use external for reference material that's helpful but not authoritative"
|
|
1253
791
|
}),
|
|
1254
|
-
/* @__PURE__ */
|
|
792
|
+
/* @__PURE__ */ jsx("li", {
|
|
1255
793
|
children: "Use ephemeral for temporary working memory that shouldn't persist"
|
|
1256
794
|
}),
|
|
1257
|
-
/* @__PURE__ */
|
|
795
|
+
/* @__PURE__ */ jsx("li", {
|
|
1258
796
|
children: "Never mix categories in a single knowledge space - keep them separate"
|
|
1259
797
|
}),
|
|
1260
|
-
/* @__PURE__ */
|
|
798
|
+
/* @__PURE__ */ jsx("li", {
|
|
1261
799
|
children: "Document the category and purpose of each knowledge space clearly"
|
|
1262
800
|
})
|
|
1263
801
|
]
|
|
1264
802
|
})
|
|
1265
803
|
]
|
|
1266
804
|
}),
|
|
1267
|
-
/* @__PURE__ */
|
|
805
|
+
/* @__PURE__ */ jsxs("div", {
|
|
1268
806
|
className: "flex items-center gap-4 pt-4",
|
|
1269
807
|
children: [
|
|
1270
|
-
/* @__PURE__ */
|
|
808
|
+
/* @__PURE__ */ jsx(Link, {
|
|
1271
809
|
href: "/docs/knowledge",
|
|
1272
810
|
className: "btn-ghost",
|
|
1273
811
|
children: "Back to Knowledge"
|
|
1274
812
|
}),
|
|
1275
|
-
/* @__PURE__ */
|
|
813
|
+
/* @__PURE__ */ jsxs(Link, {
|
|
1276
814
|
href: "/docs/knowledge/spaces",
|
|
1277
815
|
className: "btn-primary",
|
|
1278
816
|
children: [
|
|
1279
817
|
"Knowledge Spaces ",
|
|
1280
|
-
/* @__PURE__ */
|
|
818
|
+
/* @__PURE__ */ jsx(ChevronRight, {
|
|
1281
819
|
size: 16
|
|
1282
820
|
})
|
|
1283
821
|
]
|
|
@@ -1289,47 +827,47 @@ function KnowledgeCategoriesPage() {
|
|
|
1289
827
|
}
|
|
1290
828
|
|
|
1291
829
|
// src/components/docs/knowledge/KnowledgeExamplesPage.tsx
|
|
1292
|
-
import
|
|
1293
|
-
import { jsx as
|
|
830
|
+
import Link2 from "@contractspec/lib.ui-link";
|
|
831
|
+
import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
1294
832
|
function KnowledgeExamplesPage() {
|
|
1295
|
-
return /* @__PURE__ */
|
|
833
|
+
return /* @__PURE__ */ jsxs2("div", {
|
|
1296
834
|
className: "space-y-8",
|
|
1297
835
|
children: [
|
|
1298
|
-
/* @__PURE__ */
|
|
836
|
+
/* @__PURE__ */ jsxs2("div", {
|
|
1299
837
|
className: "space-y-4",
|
|
1300
838
|
children: [
|
|
1301
|
-
/* @__PURE__ */
|
|
1302
|
-
className: "text-4xl
|
|
839
|
+
/* @__PURE__ */ jsx2("h1", {
|
|
840
|
+
className: "font-bold text-4xl",
|
|
1303
841
|
children: "Knowledge Examples"
|
|
1304
842
|
}),
|
|
1305
|
-
/* @__PURE__ */
|
|
843
|
+
/* @__PURE__ */ jsx2("p", {
|
|
1306
844
|
className: "text-muted-foreground",
|
|
1307
845
|
children: "Real-world examples of how different applications use knowledge spaces to power intelligent workflows and agents."
|
|
1308
846
|
})
|
|
1309
847
|
]
|
|
1310
848
|
}),
|
|
1311
|
-
/* @__PURE__ */
|
|
849
|
+
/* @__PURE__ */ jsxs2("div", {
|
|
1312
850
|
className: "space-y-6",
|
|
1313
851
|
children: [
|
|
1314
|
-
/* @__PURE__ */
|
|
852
|
+
/* @__PURE__ */ jsxs2("div", {
|
|
1315
853
|
className: "space-y-4",
|
|
1316
854
|
children: [
|
|
1317
|
-
/* @__PURE__ */
|
|
1318
|
-
className: "text-2xl
|
|
855
|
+
/* @__PURE__ */ jsx2("h2", {
|
|
856
|
+
className: "font-bold text-2xl",
|
|
1319
857
|
children: "Example 1: ArtisanOS Support Agent"
|
|
1320
858
|
}),
|
|
1321
|
-
/* @__PURE__ */
|
|
859
|
+
/* @__PURE__ */ jsxs2("p", {
|
|
1322
860
|
className: "text-muted-foreground",
|
|
1323
861
|
children: [
|
|
1324
|
-
/* @__PURE__ */
|
|
862
|
+
/* @__PURE__ */ jsx2("strong", {
|
|
1325
863
|
children: "Context:"
|
|
1326
864
|
}),
|
|
1327
865
|
" ArtisanOS needs a support agent that can answer product questions using official documentation and learn from past support tickets."
|
|
1328
866
|
]
|
|
1329
867
|
}),
|
|
1330
|
-
/* @__PURE__ */
|
|
1331
|
-
className: "
|
|
1332
|
-
children: /* @__PURE__ */
|
|
868
|
+
/* @__PURE__ */ jsx2("div", {
|
|
869
|
+
className: "overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",
|
|
870
|
+
children: /* @__PURE__ */ jsx2("pre", {
|
|
1333
871
|
children: `// Knowledge spaces
|
|
1334
872
|
knowledgeSpaces: [
|
|
1335
873
|
{
|
|
@@ -1389,25 +927,25 @@ steps:
|
|
|
1389
927
|
})
|
|
1390
928
|
]
|
|
1391
929
|
}),
|
|
1392
|
-
/* @__PURE__ */
|
|
930
|
+
/* @__PURE__ */ jsxs2("div", {
|
|
1393
931
|
className: "space-y-4",
|
|
1394
932
|
children: [
|
|
1395
|
-
/* @__PURE__ */
|
|
1396
|
-
className: "text-2xl
|
|
933
|
+
/* @__PURE__ */ jsx2("h2", {
|
|
934
|
+
className: "font-bold text-2xl",
|
|
1397
935
|
children: "Example 2: HCircle Invoice Generation"
|
|
1398
936
|
}),
|
|
1399
|
-
/* @__PURE__ */
|
|
937
|
+
/* @__PURE__ */ jsxs2("p", {
|
|
1400
938
|
className: "text-muted-foreground",
|
|
1401
939
|
children: [
|
|
1402
|
-
/* @__PURE__ */
|
|
940
|
+
/* @__PURE__ */ jsx2("strong", {
|
|
1403
941
|
children: "Context:"
|
|
1404
942
|
}),
|
|
1405
943
|
" HCircle needs to generate invoices using house playbook rules and resident service history."
|
|
1406
944
|
]
|
|
1407
945
|
}),
|
|
1408
|
-
/* @__PURE__ */
|
|
1409
|
-
className: "
|
|
1410
|
-
children: /* @__PURE__ */
|
|
946
|
+
/* @__PURE__ */ jsx2("div", {
|
|
947
|
+
className: "overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",
|
|
948
|
+
children: /* @__PURE__ */ jsx2("pre", {
|
|
1411
949
|
children: `// Knowledge spaces
|
|
1412
950
|
knowledgeSpaces: [
|
|
1413
951
|
{
|
|
@@ -1459,25 +997,25 @@ steps:
|
|
|
1459
997
|
})
|
|
1460
998
|
]
|
|
1461
999
|
}),
|
|
1462
|
-
/* @__PURE__ */
|
|
1000
|
+
/* @__PURE__ */ jsxs2("div", {
|
|
1463
1001
|
className: "space-y-4",
|
|
1464
1002
|
children: [
|
|
1465
|
-
/* @__PURE__ */
|
|
1466
|
-
className: "text-2xl
|
|
1003
|
+
/* @__PURE__ */ jsx2("h2", {
|
|
1004
|
+
className: "font-bold text-2xl",
|
|
1467
1005
|
children: "Example 3: Multi-tenant SaaS with External Docs"
|
|
1468
1006
|
}),
|
|
1469
|
-
/* @__PURE__ */
|
|
1007
|
+
/* @__PURE__ */ jsxs2("p", {
|
|
1470
1008
|
className: "text-muted-foreground",
|
|
1471
1009
|
children: [
|
|
1472
|
-
/* @__PURE__ */
|
|
1010
|
+
/* @__PURE__ */ jsx2("strong", {
|
|
1473
1011
|
children: "Context:"
|
|
1474
1012
|
}),
|
|
1475
1013
|
" A SaaS platform needs to help users integrate with Stripe, using both internal guides and Stripe's official documentation."
|
|
1476
1014
|
]
|
|
1477
1015
|
}),
|
|
1478
|
-
/* @__PURE__ */
|
|
1479
|
-
className: "
|
|
1480
|
-
children: /* @__PURE__ */
|
|
1016
|
+
/* @__PURE__ */ jsx2("div", {
|
|
1017
|
+
className: "overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",
|
|
1018
|
+
children: /* @__PURE__ */ jsx2("pre", {
|
|
1481
1019
|
children: `// Knowledge spaces
|
|
1482
1020
|
knowledgeSpaces: [
|
|
1483
1021
|
{
|
|
@@ -1553,51 +1091,51 @@ steps:
|
|
|
1553
1091
|
})
|
|
1554
1092
|
]
|
|
1555
1093
|
}),
|
|
1556
|
-
/* @__PURE__ */
|
|
1094
|
+
/* @__PURE__ */ jsxs2("div", {
|
|
1557
1095
|
className: "space-y-4",
|
|
1558
1096
|
children: [
|
|
1559
|
-
/* @__PURE__ */
|
|
1560
|
-
className: "text-2xl
|
|
1097
|
+
/* @__PURE__ */ jsx2("h2", {
|
|
1098
|
+
className: "font-bold text-2xl",
|
|
1561
1099
|
children: "Key patterns"
|
|
1562
1100
|
}),
|
|
1563
|
-
/* @__PURE__ */
|
|
1564
|
-
className: "
|
|
1101
|
+
/* @__PURE__ */ jsxs2("ul", {
|
|
1102
|
+
className: "list-inside list-disc space-y-2 text-muted-foreground",
|
|
1565
1103
|
children: [
|
|
1566
|
-
/* @__PURE__ */
|
|
1104
|
+
/* @__PURE__ */ jsxs2("li", {
|
|
1567
1105
|
children: [
|
|
1568
|
-
/* @__PURE__ */
|
|
1106
|
+
/* @__PURE__ */ jsx2("strong", {
|
|
1569
1107
|
children: "Canonical first"
|
|
1570
1108
|
}),
|
|
1571
1109
|
" - Always search canonical spaces before operational or external"
|
|
1572
1110
|
]
|
|
1573
1111
|
}),
|
|
1574
|
-
/* @__PURE__ */
|
|
1112
|
+
/* @__PURE__ */ jsxs2("li", {
|
|
1575
1113
|
children: [
|
|
1576
|
-
/* @__PURE__ */
|
|
1114
|
+
/* @__PURE__ */ jsx2("strong", {
|
|
1577
1115
|
children: "Category-aware prompts"
|
|
1578
1116
|
}),
|
|
1579
1117
|
" - Tell the LLM which sources are authoritative vs reference"
|
|
1580
1118
|
]
|
|
1581
1119
|
}),
|
|
1582
|
-
/* @__PURE__ */
|
|
1120
|
+
/* @__PURE__ */ jsxs2("li", {
|
|
1583
1121
|
children: [
|
|
1584
|
-
/* @__PURE__ */
|
|
1122
|
+
/* @__PURE__ */ jsx2("strong", {
|
|
1585
1123
|
children: "Multi-space queries"
|
|
1586
1124
|
}),
|
|
1587
1125
|
" - Combine results from multiple spaces for richer context"
|
|
1588
1126
|
]
|
|
1589
1127
|
}),
|
|
1590
|
-
/* @__PURE__ */
|
|
1128
|
+
/* @__PURE__ */ jsxs2("li", {
|
|
1591
1129
|
children: [
|
|
1592
|
-
/* @__PURE__ */
|
|
1130
|
+
/* @__PURE__ */ jsx2("strong", {
|
|
1593
1131
|
children: "Limit results"
|
|
1594
1132
|
}),
|
|
1595
1133
|
" - Use appropriate limits (3-5) to avoid token overflow"
|
|
1596
1134
|
]
|
|
1597
1135
|
}),
|
|
1598
|
-
/* @__PURE__ */
|
|
1136
|
+
/* @__PURE__ */ jsxs2("li", {
|
|
1599
1137
|
children: [
|
|
1600
|
-
/* @__PURE__ */
|
|
1138
|
+
/* @__PURE__ */ jsx2("strong", {
|
|
1601
1139
|
children: "Audit everything"
|
|
1602
1140
|
}),
|
|
1603
1141
|
" - Log all knowledge queries for debugging and compliance"
|
|
@@ -1607,15 +1145,15 @@ steps:
|
|
|
1607
1145
|
})
|
|
1608
1146
|
]
|
|
1609
1147
|
}),
|
|
1610
|
-
/* @__PURE__ */
|
|
1148
|
+
/* @__PURE__ */ jsxs2("div", {
|
|
1611
1149
|
className: "flex items-center gap-4 pt-4",
|
|
1612
1150
|
children: [
|
|
1613
|
-
/* @__PURE__ */
|
|
1151
|
+
/* @__PURE__ */ jsx2(Link2, {
|
|
1614
1152
|
href: "/docs/knowledge/sources",
|
|
1615
1153
|
className: "btn-ghost",
|
|
1616
1154
|
children: "Previous: Sources"
|
|
1617
1155
|
}),
|
|
1618
|
-
/* @__PURE__ */
|
|
1156
|
+
/* @__PURE__ */ jsx2(Link2, {
|
|
1619
1157
|
href: "/docs/architecture/knowledge-binding",
|
|
1620
1158
|
className: "btn-ghost",
|
|
1621
1159
|
children: "Knowledge Binding"
|
|
@@ -1626,9 +1164,123 @@ steps:
|
|
|
1626
1164
|
});
|
|
1627
1165
|
}
|
|
1628
1166
|
|
|
1167
|
+
// src/components/docs/knowledge/KnowledgeOverviewPage.tsx
|
|
1168
|
+
import Link3 from "@contractspec/lib.ui-link";
|
|
1169
|
+
import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
1170
|
+
var knowledgeTracks = [
|
|
1171
|
+
{
|
|
1172
|
+
title: "Categories",
|
|
1173
|
+
body: "Separate canonical truth from operational notes, external material, and ephemeral working context.",
|
|
1174
|
+
href: "/docs/knowledge/categories"
|
|
1175
|
+
},
|
|
1176
|
+
{
|
|
1177
|
+
title: "Spaces",
|
|
1178
|
+
body: "Define the storage and retrieval boundary for each knowledge domain.",
|
|
1179
|
+
href: "/docs/knowledge/spaces"
|
|
1180
|
+
},
|
|
1181
|
+
{
|
|
1182
|
+
title: "Sources",
|
|
1183
|
+
body: "Connect tenant-owned sources explicitly instead of letting context leak in through prompts alone.",
|
|
1184
|
+
href: "/docs/knowledge/sources"
|
|
1185
|
+
},
|
|
1186
|
+
{
|
|
1187
|
+
title: "Examples",
|
|
1188
|
+
body: "See how support, compliance, and product systems consume trusted knowledge at runtime.",
|
|
1189
|
+
href: "/docs/knowledge/examples"
|
|
1190
|
+
}
|
|
1191
|
+
];
|
|
1192
|
+
function KnowledgeOverviewPage() {
|
|
1193
|
+
return /* @__PURE__ */ jsxs3("div", {
|
|
1194
|
+
className: "space-y-10",
|
|
1195
|
+
children: [
|
|
1196
|
+
/* @__PURE__ */ jsxs3("div", {
|
|
1197
|
+
className: "space-y-3",
|
|
1198
|
+
children: [
|
|
1199
|
+
/* @__PURE__ */ jsx3("p", {
|
|
1200
|
+
className: "editorial-kicker",
|
|
1201
|
+
children: "Operate"
|
|
1202
|
+
}),
|
|
1203
|
+
/* @__PURE__ */ jsx3("h1", {
|
|
1204
|
+
className: "font-serif text-4xl tracking-[-0.04em] md:text-5xl",
|
|
1205
|
+
children: "Knowledge is part of the runtime, not a sidecar prompt hack."
|
|
1206
|
+
}),
|
|
1207
|
+
/* @__PURE__ */ jsx3("p", {
|
|
1208
|
+
className: "max-w-3xl text-lg text-muted-foreground leading-8",
|
|
1209
|
+
children: "When AI-native systems depend on external context, the context needs the same discipline as the rest of the stack. ContractSpec treats knowledge as typed, bounded, and governable so teams can reason about trust, isolation, and retrieval behavior."
|
|
1210
|
+
})
|
|
1211
|
+
]
|
|
1212
|
+
}),
|
|
1213
|
+
/* @__PURE__ */ jsx3("section", {
|
|
1214
|
+
className: "editorial-panel space-y-5",
|
|
1215
|
+
children: /* @__PURE__ */ jsxs3("div", {
|
|
1216
|
+
className: "space-y-2",
|
|
1217
|
+
children: [
|
|
1218
|
+
/* @__PURE__ */ jsx3("h2", {
|
|
1219
|
+
className: "font-serif text-3xl tracking-[-0.03em]",
|
|
1220
|
+
children: "How knowledge enters the system"
|
|
1221
|
+
}),
|
|
1222
|
+
/* @__PURE__ */ jsxs3("ul", {
|
|
1223
|
+
className: "editorial-list",
|
|
1224
|
+
children: [
|
|
1225
|
+
/* @__PURE__ */ jsxs3("li", {
|
|
1226
|
+
children: [
|
|
1227
|
+
/* @__PURE__ */ jsx3("span", {
|
|
1228
|
+
className: "editorial-list-marker"
|
|
1229
|
+
}),
|
|
1230
|
+
/* @__PURE__ */ jsx3("span", {
|
|
1231
|
+
children: "Define the trust category and retrieval expectations first."
|
|
1232
|
+
})
|
|
1233
|
+
]
|
|
1234
|
+
}),
|
|
1235
|
+
/* @__PURE__ */ jsxs3("li", {
|
|
1236
|
+
children: [
|
|
1237
|
+
/* @__PURE__ */ jsx3("span", {
|
|
1238
|
+
className: "editorial-list-marker"
|
|
1239
|
+
}),
|
|
1240
|
+
/* @__PURE__ */ jsx3("span", {
|
|
1241
|
+
children: "Bind tenant-owned sources explicitly to those knowledge spaces."
|
|
1242
|
+
})
|
|
1243
|
+
]
|
|
1244
|
+
}),
|
|
1245
|
+
/* @__PURE__ */ jsxs3("li", {
|
|
1246
|
+
children: [
|
|
1247
|
+
/* @__PURE__ */ jsx3("span", {
|
|
1248
|
+
className: "editorial-list-marker"
|
|
1249
|
+
}),
|
|
1250
|
+
/* @__PURE__ */ jsx3("span", {
|
|
1251
|
+
children: "Consume knowledge through capabilities and workflows, not through invisible prompt assumptions."
|
|
1252
|
+
})
|
|
1253
|
+
]
|
|
1254
|
+
})
|
|
1255
|
+
]
|
|
1256
|
+
})
|
|
1257
|
+
]
|
|
1258
|
+
})
|
|
1259
|
+
}),
|
|
1260
|
+
/* @__PURE__ */ jsx3("div", {
|
|
1261
|
+
className: "grid gap-4 md:grid-cols-2",
|
|
1262
|
+
children: knowledgeTracks.map((item) => /* @__PURE__ */ jsxs3(Link3, {
|
|
1263
|
+
href: item.href,
|
|
1264
|
+
className: "editorial-panel",
|
|
1265
|
+
children: [
|
|
1266
|
+
/* @__PURE__ */ jsx3("h2", {
|
|
1267
|
+
className: "font-semibold text-xl",
|
|
1268
|
+
children: item.title
|
|
1269
|
+
}),
|
|
1270
|
+
/* @__PURE__ */ jsx3("p", {
|
|
1271
|
+
className: "mt-2 text-muted-foreground text-sm leading-7",
|
|
1272
|
+
children: item.body
|
|
1273
|
+
})
|
|
1274
|
+
]
|
|
1275
|
+
}, item.href))
|
|
1276
|
+
})
|
|
1277
|
+
]
|
|
1278
|
+
});
|
|
1279
|
+
}
|
|
1280
|
+
|
|
1629
1281
|
// src/components/docs/knowledge/KnowledgeSourcesPage.tsx
|
|
1630
1282
|
import Link4 from "@contractspec/lib.ui-link";
|
|
1631
|
-
import { ChevronRight as
|
|
1283
|
+
import { ChevronRight as ChevronRight2 } from "lucide-react";
|
|
1632
1284
|
import { jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
1633
1285
|
function KnowledgeSourcesPage() {
|
|
1634
1286
|
return /* @__PURE__ */ jsxs4("div", {
|
|
@@ -1638,7 +1290,7 @@ function KnowledgeSourcesPage() {
|
|
|
1638
1290
|
className: "space-y-4",
|
|
1639
1291
|
children: [
|
|
1640
1292
|
/* @__PURE__ */ jsx4("h1", {
|
|
1641
|
-
className: "text-4xl
|
|
1293
|
+
className: "font-bold text-4xl",
|
|
1642
1294
|
children: "Knowledge Sources"
|
|
1643
1295
|
}),
|
|
1644
1296
|
/* @__PURE__ */ jsxs4("p", {
|
|
@@ -1657,11 +1309,11 @@ function KnowledgeSourcesPage() {
|
|
|
1657
1309
|
className: "space-y-4",
|
|
1658
1310
|
children: [
|
|
1659
1311
|
/* @__PURE__ */ jsx4("h2", {
|
|
1660
|
-
className: "text-2xl
|
|
1312
|
+
className: "font-bold text-2xl",
|
|
1661
1313
|
children: "KnowledgeSourceConfig"
|
|
1662
1314
|
}),
|
|
1663
1315
|
/* @__PURE__ */ jsx4("div", {
|
|
1664
|
-
className: "
|
|
1316
|
+
className: "overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",
|
|
1665
1317
|
children: /* @__PURE__ */ jsx4("pre", {
|
|
1666
1318
|
children: `type KnowledgeSourceConfig = {
|
|
1667
1319
|
id: string;
|
|
@@ -1699,7 +1351,7 @@ function KnowledgeSourcesPage() {
|
|
|
1699
1351
|
className: "space-y-4",
|
|
1700
1352
|
children: [
|
|
1701
1353
|
/* @__PURE__ */ jsx4("h2", {
|
|
1702
|
-
className: "text-2xl
|
|
1354
|
+
className: "font-bold text-2xl",
|
|
1703
1355
|
children: "Source types"
|
|
1704
1356
|
}),
|
|
1705
1357
|
/* @__PURE__ */ jsxs4("div", {
|
|
@@ -1709,11 +1361,11 @@ function KnowledgeSourcesPage() {
|
|
|
1709
1361
|
className: "card-subtle p-4",
|
|
1710
1362
|
children: [
|
|
1711
1363
|
/* @__PURE__ */ jsx4("h3", {
|
|
1712
|
-
className: "mb-2 text-lg
|
|
1364
|
+
className: "mb-2 font-semibold text-lg",
|
|
1713
1365
|
children: "Uploaded Documents"
|
|
1714
1366
|
}),
|
|
1715
1367
|
/* @__PURE__ */ jsx4("div", {
|
|
1716
|
-
className: "
|
|
1368
|
+
className: "overflow-x-auto rounded border border-border bg-background/50 p-3 font-mono text-muted-foreground text-xs",
|
|
1717
1369
|
children: /* @__PURE__ */ jsx4("pre", {
|
|
1718
1370
|
children: `{
|
|
1719
1371
|
kind: "uploaded-document",
|
|
@@ -1723,7 +1375,7 @@ function KnowledgeSourcesPage() {
|
|
|
1723
1375
|
})
|
|
1724
1376
|
}),
|
|
1725
1377
|
/* @__PURE__ */ jsx4("p", {
|
|
1726
|
-
className: "text-muted-foreground
|
|
1378
|
+
className: "mt-2 text-muted-foreground text-sm",
|
|
1727
1379
|
children: "PDFs, Word docs, presentations uploaded by users"
|
|
1728
1380
|
})
|
|
1729
1381
|
]
|
|
@@ -1732,11 +1384,11 @@ function KnowledgeSourcesPage() {
|
|
|
1732
1384
|
className: "card-subtle p-4",
|
|
1733
1385
|
children: [
|
|
1734
1386
|
/* @__PURE__ */ jsx4("h3", {
|
|
1735
|
-
className: "mb-2 text-lg
|
|
1387
|
+
className: "mb-2 font-semibold text-lg",
|
|
1736
1388
|
children: "Notion"
|
|
1737
1389
|
}),
|
|
1738
1390
|
/* @__PURE__ */ jsx4("div", {
|
|
1739
|
-
className: "
|
|
1391
|
+
className: "overflow-x-auto rounded border border-border bg-background/50 p-3 font-mono text-muted-foreground text-xs",
|
|
1740
1392
|
children: /* @__PURE__ */ jsx4("pre", {
|
|
1741
1393
|
children: `{
|
|
1742
1394
|
kind: "notion",
|
|
@@ -1746,7 +1398,7 @@ function KnowledgeSourcesPage() {
|
|
|
1746
1398
|
})
|
|
1747
1399
|
}),
|
|
1748
1400
|
/* @__PURE__ */ jsx4("p", {
|
|
1749
|
-
className: "text-muted-foreground
|
|
1401
|
+
className: "mt-2 text-muted-foreground text-sm",
|
|
1750
1402
|
children: "Notion pages and databases with real-time webhook updates"
|
|
1751
1403
|
})
|
|
1752
1404
|
]
|
|
@@ -1755,11 +1407,11 @@ function KnowledgeSourcesPage() {
|
|
|
1755
1407
|
className: "card-subtle p-4",
|
|
1756
1408
|
children: [
|
|
1757
1409
|
/* @__PURE__ */ jsx4("h3", {
|
|
1758
|
-
className: "mb-2 text-lg
|
|
1410
|
+
className: "mb-2 font-semibold text-lg",
|
|
1759
1411
|
children: "Gmail / Email"
|
|
1760
1412
|
}),
|
|
1761
1413
|
/* @__PURE__ */ jsx4("div", {
|
|
1762
|
-
className: "
|
|
1414
|
+
className: "overflow-x-auto rounded border border-border bg-background/50 p-3 font-mono text-muted-foreground text-xs",
|
|
1763
1415
|
children: /* @__PURE__ */ jsx4("pre", {
|
|
1764
1416
|
children: `{
|
|
1765
1417
|
kind: "email",
|
|
@@ -1769,7 +1421,7 @@ function KnowledgeSourcesPage() {
|
|
|
1769
1421
|
})
|
|
1770
1422
|
}),
|
|
1771
1423
|
/* @__PURE__ */ jsx4("p", {
|
|
1772
|
-
className: "text-muted-foreground
|
|
1424
|
+
className: "mt-2 text-muted-foreground text-sm",
|
|
1773
1425
|
children: "Email threads from Gmail or other providers"
|
|
1774
1426
|
})
|
|
1775
1427
|
]
|
|
@@ -1778,11 +1430,11 @@ function KnowledgeSourcesPage() {
|
|
|
1778
1430
|
className: "card-subtle p-4",
|
|
1779
1431
|
children: [
|
|
1780
1432
|
/* @__PURE__ */ jsx4("h3", {
|
|
1781
|
-
className: "mb-2 text-lg
|
|
1433
|
+
className: "mb-2 font-semibold text-lg",
|
|
1782
1434
|
children: "Database Query"
|
|
1783
1435
|
}),
|
|
1784
1436
|
/* @__PURE__ */ jsx4("div", {
|
|
1785
|
-
className: "
|
|
1437
|
+
className: "overflow-x-auto rounded border border-border bg-background/50 p-3 font-mono text-muted-foreground text-xs",
|
|
1786
1438
|
children: /* @__PURE__ */ jsx4("pre", {
|
|
1787
1439
|
children: `{
|
|
1788
1440
|
kind: "database-query",
|
|
@@ -1792,7 +1444,7 @@ function KnowledgeSourcesPage() {
|
|
|
1792
1444
|
})
|
|
1793
1445
|
}),
|
|
1794
1446
|
/* @__PURE__ */ jsx4("p", {
|
|
1795
|
-
className: "text-muted-foreground
|
|
1447
|
+
className: "mt-2 text-muted-foreground text-sm",
|
|
1796
1448
|
children: "Structured data from application databases"
|
|
1797
1449
|
})
|
|
1798
1450
|
]
|
|
@@ -1801,11 +1453,11 @@ function KnowledgeSourcesPage() {
|
|
|
1801
1453
|
className: "card-subtle p-4",
|
|
1802
1454
|
children: [
|
|
1803
1455
|
/* @__PURE__ */ jsx4("h3", {
|
|
1804
|
-
className: "mb-2 text-lg
|
|
1456
|
+
className: "mb-2 font-semibold text-lg",
|
|
1805
1457
|
children: "URL / Web Scraping"
|
|
1806
1458
|
}),
|
|
1807
1459
|
/* @__PURE__ */ jsx4("div", {
|
|
1808
|
-
className: "
|
|
1460
|
+
className: "overflow-x-auto rounded border border-border bg-background/50 p-3 font-mono text-muted-foreground text-xs",
|
|
1809
1461
|
children: /* @__PURE__ */ jsx4("pre", {
|
|
1810
1462
|
children: `{
|
|
1811
1463
|
kind: "url",
|
|
@@ -1815,7 +1467,7 @@ function KnowledgeSourcesPage() {
|
|
|
1815
1467
|
})
|
|
1816
1468
|
}),
|
|
1817
1469
|
/* @__PURE__ */ jsx4("p", {
|
|
1818
|
-
className: "text-muted-foreground
|
|
1470
|
+
className: "mt-2 text-muted-foreground text-sm",
|
|
1819
1471
|
children: "External documentation and web content"
|
|
1820
1472
|
})
|
|
1821
1473
|
]
|
|
@@ -1828,11 +1480,11 @@ function KnowledgeSourcesPage() {
|
|
|
1828
1480
|
className: "space-y-4",
|
|
1829
1481
|
children: [
|
|
1830
1482
|
/* @__PURE__ */ jsx4("h2", {
|
|
1831
|
-
className: "text-2xl
|
|
1483
|
+
className: "font-bold text-2xl",
|
|
1832
1484
|
children: "Sync strategies"
|
|
1833
1485
|
}),
|
|
1834
1486
|
/* @__PURE__ */ jsx4("div", {
|
|
1835
|
-
className: "
|
|
1487
|
+
className: "overflow-x-auto rounded-lg border border-border/50",
|
|
1836
1488
|
children: /* @__PURE__ */ jsxs4("table", {
|
|
1837
1489
|
className: "w-full text-left text-sm",
|
|
1838
1490
|
children: [
|
|
@@ -1857,7 +1509,7 @@ function KnowledgeSourcesPage() {
|
|
|
1857
1509
|
})
|
|
1858
1510
|
}),
|
|
1859
1511
|
/* @__PURE__ */ jsxs4("tbody", {
|
|
1860
|
-
className: "divide-border/50
|
|
1512
|
+
className: "divide-y divide-border/50",
|
|
1861
1513
|
children: [
|
|
1862
1514
|
/* @__PURE__ */ jsxs4("tr", {
|
|
1863
1515
|
children: [
|
|
@@ -1918,7 +1570,7 @@ function KnowledgeSourcesPage() {
|
|
|
1918
1570
|
className: "space-y-4",
|
|
1919
1571
|
children: [
|
|
1920
1572
|
/* @__PURE__ */ jsx4("h2", {
|
|
1921
|
-
className: "text-2xl
|
|
1573
|
+
className: "font-bold text-2xl",
|
|
1922
1574
|
children: "Example: Multi-source space"
|
|
1923
1575
|
}),
|
|
1924
1576
|
/* @__PURE__ */ jsx4("p", {
|
|
@@ -1926,7 +1578,7 @@ function KnowledgeSourcesPage() {
|
|
|
1926
1578
|
children: "A single knowledge space can be fed by multiple sources:"
|
|
1927
1579
|
}),
|
|
1928
1580
|
/* @__PURE__ */ jsx4("div", {
|
|
1929
|
-
className: "
|
|
1581
|
+
className: "overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",
|
|
1930
1582
|
children: /* @__PURE__ */ jsx4("pre", {
|
|
1931
1583
|
children: `// Product Canon space with multiple sources
|
|
1932
1584
|
{
|
|
@@ -1960,7 +1612,7 @@ function KnowledgeSourcesPage() {
|
|
|
1960
1612
|
className: "space-y-4",
|
|
1961
1613
|
children: [
|
|
1962
1614
|
/* @__PURE__ */ jsx4("h2", {
|
|
1963
|
-
className: "text-2xl
|
|
1615
|
+
className: "font-bold text-2xl",
|
|
1964
1616
|
children: "Processing pipeline"
|
|
1965
1617
|
}),
|
|
1966
1618
|
/* @__PURE__ */ jsx4("p", {
|
|
@@ -1968,7 +1620,7 @@ function KnowledgeSourcesPage() {
|
|
|
1968
1620
|
children: "When a source is synced, ContractSpec processes it through several stages:"
|
|
1969
1621
|
}),
|
|
1970
1622
|
/* @__PURE__ */ jsxs4("ol", {
|
|
1971
|
-
className: "
|
|
1623
|
+
className: "list-inside list-decimal space-y-3 text-muted-foreground",
|
|
1972
1624
|
children: [
|
|
1973
1625
|
/* @__PURE__ */ jsxs4("li", {
|
|
1974
1626
|
children: [
|
|
@@ -2026,11 +1678,11 @@ function KnowledgeSourcesPage() {
|
|
|
2026
1678
|
className: "space-y-4",
|
|
2027
1679
|
children: [
|
|
2028
1680
|
/* @__PURE__ */ jsx4("h2", {
|
|
2029
|
-
className: "text-2xl
|
|
1681
|
+
className: "font-bold text-2xl",
|
|
2030
1682
|
children: "Best practices"
|
|
2031
1683
|
}),
|
|
2032
1684
|
/* @__PURE__ */ jsxs4("ul", {
|
|
2033
|
-
className: "
|
|
1685
|
+
className: "list-inside list-disc space-y-2 text-muted-foreground",
|
|
2034
1686
|
children: [
|
|
2035
1687
|
/* @__PURE__ */ jsx4("li", {
|
|
2036
1688
|
children: "Use webhooks for real-time sources (Notion, Gmail) to minimize latency"
|
|
@@ -2067,7 +1719,7 @@ function KnowledgeSourcesPage() {
|
|
|
2067
1719
|
className: "btn-primary",
|
|
2068
1720
|
children: [
|
|
2069
1721
|
"Examples ",
|
|
2070
|
-
/* @__PURE__ */ jsx4(
|
|
1722
|
+
/* @__PURE__ */ jsx4(ChevronRight2, {
|
|
2071
1723
|
size: 16
|
|
2072
1724
|
})
|
|
2073
1725
|
]
|
|
@@ -2080,7 +1732,7 @@ function KnowledgeSourcesPage() {
|
|
|
2080
1732
|
|
|
2081
1733
|
// src/components/docs/knowledge/KnowledgeSpacesPage.tsx
|
|
2082
1734
|
import Link5 from "@contractspec/lib.ui-link";
|
|
2083
|
-
import { ChevronRight as
|
|
1735
|
+
import { ChevronRight as ChevronRight3 } from "lucide-react";
|
|
2084
1736
|
import { jsx as jsx5, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
2085
1737
|
function KnowledgeSpacesPage() {
|
|
2086
1738
|
return /* @__PURE__ */ jsxs5("div", {
|
|
@@ -2090,7 +1742,7 @@ function KnowledgeSpacesPage() {
|
|
|
2090
1742
|
className: "space-y-4",
|
|
2091
1743
|
children: [
|
|
2092
1744
|
/* @__PURE__ */ jsx5("h1", {
|
|
2093
|
-
className: "text-4xl
|
|
1745
|
+
className: "font-bold text-4xl",
|
|
2094
1746
|
children: "Knowledge Spaces"
|
|
2095
1747
|
}),
|
|
2096
1748
|
/* @__PURE__ */ jsxs5("p", {
|
|
@@ -2109,11 +1761,11 @@ function KnowledgeSpacesPage() {
|
|
|
2109
1761
|
className: "space-y-4",
|
|
2110
1762
|
children: [
|
|
2111
1763
|
/* @__PURE__ */ jsx5("h2", {
|
|
2112
|
-
className: "text-2xl
|
|
1764
|
+
className: "font-bold text-2xl",
|
|
2113
1765
|
children: "KnowledgeSpaceSpec"
|
|
2114
1766
|
}),
|
|
2115
1767
|
/* @__PURE__ */ jsx5("div", {
|
|
2116
|
-
className: "
|
|
1768
|
+
className: "overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",
|
|
2117
1769
|
children: /* @__PURE__ */ jsx5("pre", {
|
|
2118
1770
|
children: `type KnowledgeSpaceSpec = {
|
|
2119
1771
|
id: string;
|
|
@@ -2149,7 +1801,7 @@ function KnowledgeSpacesPage() {
|
|
|
2149
1801
|
className: "space-y-4",
|
|
2150
1802
|
children: [
|
|
2151
1803
|
/* @__PURE__ */ jsx5("h2", {
|
|
2152
|
-
className: "text-2xl
|
|
1804
|
+
className: "font-bold text-2xl",
|
|
2153
1805
|
children: "Common knowledge spaces"
|
|
2154
1806
|
}),
|
|
2155
1807
|
/* @__PURE__ */ jsxs5("div", {
|
|
@@ -2159,11 +1811,11 @@ function KnowledgeSpacesPage() {
|
|
|
2159
1811
|
className: "card-subtle p-4",
|
|
2160
1812
|
children: [
|
|
2161
1813
|
/* @__PURE__ */ jsx5("h3", {
|
|
2162
|
-
className: "mb-2 text-lg
|
|
1814
|
+
className: "mb-2 font-semibold text-lg",
|
|
2163
1815
|
children: "Product Canon"
|
|
2164
1816
|
}),
|
|
2165
1817
|
/* @__PURE__ */ jsx5("div", {
|
|
2166
|
-
className: "
|
|
1818
|
+
className: "overflow-x-auto rounded border border-border bg-background/50 p-3 font-mono text-muted-foreground text-xs",
|
|
2167
1819
|
children: /* @__PURE__ */ jsx5("pre", {
|
|
2168
1820
|
children: `{
|
|
2169
1821
|
id: "product-canon",
|
|
@@ -2179,7 +1831,7 @@ function KnowledgeSpacesPage() {
|
|
|
2179
1831
|
})
|
|
2180
1832
|
}),
|
|
2181
1833
|
/* @__PURE__ */ jsxs5("p", {
|
|
2182
|
-
className: "text-muted-foreground
|
|
1834
|
+
className: "mt-2 text-muted-foreground text-sm",
|
|
2183
1835
|
children: [
|
|
2184
1836
|
/* @__PURE__ */ jsx5("strong", {
|
|
2185
1837
|
children: "Use cases:"
|
|
@@ -2193,11 +1845,11 @@ function KnowledgeSpacesPage() {
|
|
|
2193
1845
|
className: "card-subtle p-4",
|
|
2194
1846
|
children: [
|
|
2195
1847
|
/* @__PURE__ */ jsx5("h3", {
|
|
2196
|
-
className: "mb-2 text-lg
|
|
1848
|
+
className: "mb-2 font-semibold text-lg",
|
|
2197
1849
|
children: "Support History"
|
|
2198
1850
|
}),
|
|
2199
1851
|
/* @__PURE__ */ jsx5("div", {
|
|
2200
|
-
className: "
|
|
1852
|
+
className: "overflow-x-auto rounded border border-border bg-background/50 p-3 font-mono text-muted-foreground text-xs",
|
|
2201
1853
|
children: /* @__PURE__ */ jsx5("pre", {
|
|
2202
1854
|
children: `{
|
|
2203
1855
|
id: "support-history",
|
|
@@ -2213,7 +1865,7 @@ function KnowledgeSpacesPage() {
|
|
|
2213
1865
|
})
|
|
2214
1866
|
}),
|
|
2215
1867
|
/* @__PURE__ */ jsxs5("p", {
|
|
2216
|
-
className: "text-muted-foreground
|
|
1868
|
+
className: "mt-2 text-muted-foreground text-sm",
|
|
2217
1869
|
children: [
|
|
2218
1870
|
/* @__PURE__ */ jsx5("strong", {
|
|
2219
1871
|
children: "Use cases:"
|
|
@@ -2227,11 +1879,11 @@ function KnowledgeSpacesPage() {
|
|
|
2227
1879
|
className: "card-subtle p-4",
|
|
2228
1880
|
children: [
|
|
2229
1881
|
/* @__PURE__ */ jsx5("h3", {
|
|
2230
|
-
className: "mb-2 text-lg
|
|
1882
|
+
className: "mb-2 font-semibold text-lg",
|
|
2231
1883
|
children: "External Provider Docs"
|
|
2232
1884
|
}),
|
|
2233
1885
|
/* @__PURE__ */ jsx5("div", {
|
|
2234
|
-
className: "
|
|
1886
|
+
className: "overflow-x-auto rounded border border-border bg-background/50 p-3 font-mono text-muted-foreground text-xs",
|
|
2235
1887
|
children: /* @__PURE__ */ jsx5("pre", {
|
|
2236
1888
|
children: `{
|
|
2237
1889
|
id: "provider-docs",
|
|
@@ -2246,7 +1898,7 @@ function KnowledgeSpacesPage() {
|
|
|
2246
1898
|
})
|
|
2247
1899
|
}),
|
|
2248
1900
|
/* @__PURE__ */ jsxs5("p", {
|
|
2249
|
-
className: "text-muted-foreground
|
|
1901
|
+
className: "mt-2 text-muted-foreground text-sm",
|
|
2250
1902
|
children: [
|
|
2251
1903
|
/* @__PURE__ */ jsx5("strong", {
|
|
2252
1904
|
children: "Use cases:"
|
|
@@ -2260,11 +1912,11 @@ function KnowledgeSpacesPage() {
|
|
|
2260
1912
|
className: "card-subtle p-4",
|
|
2261
1913
|
children: [
|
|
2262
1914
|
/* @__PURE__ */ jsx5("h3", {
|
|
2263
|
-
className: "mb-2 text-lg
|
|
1915
|
+
className: "mb-2 font-semibold text-lg",
|
|
2264
1916
|
children: "Agent Scratchpad"
|
|
2265
1917
|
}),
|
|
2266
1918
|
/* @__PURE__ */ jsx5("div", {
|
|
2267
|
-
className: "
|
|
1919
|
+
className: "overflow-x-auto rounded border border-border bg-background/50 p-3 font-mono text-muted-foreground text-xs",
|
|
2268
1920
|
children: /* @__PURE__ */ jsx5("pre", {
|
|
2269
1921
|
children: `{
|
|
2270
1922
|
id: "agent-scratchpad",
|
|
@@ -2280,7 +1932,7 @@ function KnowledgeSpacesPage() {
|
|
|
2280
1932
|
})
|
|
2281
1933
|
}),
|
|
2282
1934
|
/* @__PURE__ */ jsxs5("p", {
|
|
2283
|
-
className: "text-muted-foreground
|
|
1935
|
+
className: "mt-2 text-muted-foreground text-sm",
|
|
2284
1936
|
children: [
|
|
2285
1937
|
/* @__PURE__ */ jsx5("strong", {
|
|
2286
1938
|
children: "Use cases:"
|
|
@@ -2298,11 +1950,11 @@ function KnowledgeSpacesPage() {
|
|
|
2298
1950
|
className: "space-y-4",
|
|
2299
1951
|
children: [
|
|
2300
1952
|
/* @__PURE__ */ jsx5("h2", {
|
|
2301
|
-
className: "text-2xl
|
|
1953
|
+
className: "font-bold text-2xl",
|
|
2302
1954
|
children: "Storage strategies"
|
|
2303
1955
|
}),
|
|
2304
1956
|
/* @__PURE__ */ jsx5("div", {
|
|
2305
|
-
className: "
|
|
1957
|
+
className: "overflow-x-auto rounded-lg border border-border/50",
|
|
2306
1958
|
children: /* @__PURE__ */ jsxs5("table", {
|
|
2307
1959
|
className: "w-full text-left text-sm",
|
|
2308
1960
|
children: [
|
|
@@ -2327,7 +1979,7 @@ function KnowledgeSpacesPage() {
|
|
|
2327
1979
|
})
|
|
2328
1980
|
}),
|
|
2329
1981
|
/* @__PURE__ */ jsxs5("tbody", {
|
|
2330
|
-
className: "divide-border/50
|
|
1982
|
+
className: "divide-y divide-border/50",
|
|
2331
1983
|
children: [
|
|
2332
1984
|
/* @__PURE__ */ jsxs5("tr", {
|
|
2333
1985
|
children: [
|
|
@@ -2388,11 +2040,11 @@ function KnowledgeSpacesPage() {
|
|
|
2388
2040
|
className: "space-y-4",
|
|
2389
2041
|
children: [
|
|
2390
2042
|
/* @__PURE__ */ jsx5("h2", {
|
|
2391
|
-
className: "text-2xl
|
|
2043
|
+
className: "font-bold text-2xl",
|
|
2392
2044
|
children: "Best practices"
|
|
2393
2045
|
}),
|
|
2394
2046
|
/* @__PURE__ */ jsxs5("ul", {
|
|
2395
|
-
className: "
|
|
2047
|
+
className: "list-inside list-disc space-y-2 text-muted-foreground",
|
|
2396
2048
|
children: [
|
|
2397
2049
|
/* @__PURE__ */ jsx5("li", {
|
|
2398
2050
|
children: "Choose storage strategy based on query patterns - use vector for semantic, search for exact"
|
|
@@ -2426,7 +2078,7 @@ function KnowledgeSpacesPage() {
|
|
|
2426
2078
|
className: "btn-primary",
|
|
2427
2079
|
children: [
|
|
2428
2080
|
"Knowledge Sources ",
|
|
2429
|
-
/* @__PURE__ */ jsx5(
|
|
2081
|
+
/* @__PURE__ */ jsx5(ChevronRight3, {
|
|
2430
2082
|
size: 16
|
|
2431
2083
|
})
|
|
2432
2084
|
]
|