@contractspec/bundle.library 3.7.6 → 3.8.2

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