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