@contractspec/bundle.library 3.7.6 → 3.7.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (889) hide show
  1. package/.turbo/turbo-build.log +144 -142
  2. package/AGENTS.md +42 -24
  3. package/README.md +59 -37
  4. package/dist/application/index.d.ts +1 -1
  5. package/dist/application/index.js +842 -840
  6. package/dist/application/mcp/cliMcp.js +30 -30
  7. package/dist/application/mcp/common.d.ts +2 -2
  8. package/dist/application/mcp/common.js +2 -2
  9. package/dist/application/mcp/contractsMcp.d.ts +1 -1
  10. package/dist/application/mcp/contractsMcp.js +163 -163
  11. package/dist/application/mcp/docsMcp.js +31 -31
  12. package/dist/application/mcp/index.d.ts +2 -2
  13. package/dist/application/mcp/index.js +842 -840
  14. package/dist/application/mcp/internalMcp.js +30 -30
  15. package/dist/application/mcp/providerRankingMcp.js +35 -33
  16. package/dist/components/docs/DocsIndexPage.js +859 -212
  17. package/dist/components/docs/advanced/AdvancedMCPPage.js +15 -15
  18. package/dist/components/docs/advanced/AdvancedOverlayEditorPage.js +4 -4
  19. package/dist/components/docs/advanced/AdvancedRenderersPage.js +7 -7
  20. package/dist/components/docs/advanced/AdvancedSpecExperimentsPage.js +9 -9
  21. package/dist/components/docs/advanced/AdvancedTelemetryPage.js +16 -16
  22. package/dist/components/docs/advanced/AdvancedWorkflowMonitoringPage.js +6 -6
  23. package/dist/components/docs/advanced/index.d.ts +2 -2
  24. package/dist/components/docs/advanced/index.js +57 -57
  25. package/dist/components/docs/architecture/ArchitectureAppConfigPage.js +10 -10
  26. package/dist/components/docs/architecture/ArchitectureControlPlanePage.js +8 -8
  27. package/dist/components/docs/architecture/ArchitectureIntegrationBindingPage.js +14 -14
  28. package/dist/components/docs/architecture/ArchitectureKnowledgeBindingPage.js +16 -16
  29. package/dist/components/docs/architecture/ArchitectureMultiTenancyPage.js +7 -7
  30. package/dist/components/docs/architecture/ArchitectureOverviewPage.js +90 -411
  31. package/dist/components/docs/architecture/index.d.ts +3 -3
  32. package/dist/components/docs/architecture/index.js +145 -466
  33. package/dist/components/docs/comparison/ComparisonAutomationPlatformsPage.js +6 -6
  34. package/dist/components/docs/comparison/ComparisonEnterprisePlatformsPage.js +7 -7
  35. package/dist/components/docs/comparison/ComparisonInternalToolBuildersPage.js +6 -6
  36. package/dist/components/docs/comparison/ComparisonOverviewPage.js +4 -4
  37. package/dist/components/docs/comparison/ComparisonWindmillPage.js +6 -6
  38. package/dist/components/docs/comparison/ComparisonWorkflowEnginesPage.js +6 -6
  39. package/dist/components/docs/comparison/index.d.ts +2 -2
  40. package/dist/components/docs/comparison/index.js +35 -35
  41. package/dist/components/docs/docsManifest.d.ts +42 -0
  42. package/dist/components/docs/docsManifest.js +612 -0
  43. package/dist/components/docs/ecosystem/IntegrationsPage.js +5 -5
  44. package/dist/components/docs/ecosystem/PluginsPage.js +7 -7
  45. package/dist/components/docs/ecosystem/RegistryPage.js +4 -4
  46. package/dist/components/docs/ecosystem/TemplatesPage.js +11 -11
  47. package/dist/components/docs/ecosystem/index.d.ts +2 -2
  48. package/dist/components/docs/ecosystem/index.js +27 -27
  49. package/dist/components/docs/examples/DocsExamplesPage.js +4 -4
  50. package/dist/components/docs/examples/index.js +4 -4
  51. package/dist/components/docs/getting-started/CLIPage.js +9 -9
  52. package/dist/components/docs/getting-started/CompatibilityPage.js +12 -12
  53. package/dist/components/docs/getting-started/DataViewTutorialPage.js +7 -7
  54. package/dist/components/docs/getting-started/DeveloperToolsPage.js +10 -10
  55. package/dist/components/docs/getting-started/HelloWorldPage.js +8 -8
  56. package/dist/components/docs/getting-started/InstallationPage.js +10 -10
  57. package/dist/components/docs/getting-started/StartHerePage.js +8 -8
  58. package/dist/components/docs/getting-started/TroubleshootingPage.js +12 -12
  59. package/dist/components/docs/getting-started/VSCodeExtensionPage.js +13 -13
  60. package/dist/components/docs/getting-started/index.d.ts +5 -5
  61. package/dist/components/docs/getting-started/index.js +89 -89
  62. package/dist/components/docs/guides/GuideCIDiffGatingPage.js +13 -13
  63. package/dist/components/docs/guides/GuideContractTypesPage.js +33 -33
  64. package/dist/components/docs/guides/GuideDocsPipelinePage.js +13 -13
  65. package/dist/components/docs/guides/GuideGenerateDocsClientsSchemasPage.js +13 -13
  66. package/dist/components/docs/guides/GuideImportExistingCodebasesPage.js +35 -35
  67. package/dist/components/docs/guides/GuideNextjsOneEndpointPage.js +15 -15
  68. package/dist/components/docs/guides/GuideSpecValidationTypingPage.js +13 -13
  69. package/dist/components/docs/guides/GuidesIndexPage.js +69 -46
  70. package/dist/components/docs/guides/index.d.ts +4 -4
  71. package/dist/components/docs/guides/index.js +174 -151
  72. package/dist/components/docs/index.d.ts +13 -12
  73. package/dist/components/docs/index.js +14060 -15332
  74. package/dist/components/docs/integrations/IntegrationsCircuitBreakersPage.js +4 -4
  75. package/dist/components/docs/integrations/IntegrationsElevenLabsPage.js +7 -7
  76. package/dist/components/docs/integrations/IntegrationsGithubPage.js +11 -11
  77. package/dist/components/docs/integrations/IntegrationsGmailPage.js +7 -7
  78. package/dist/components/docs/integrations/IntegrationsGoogleCalendarPage.js +5 -5
  79. package/dist/components/docs/integrations/IntegrationsHealthRoutingPage.js +12 -12
  80. package/dist/components/docs/integrations/IntegrationsMistralPage.js +12 -12
  81. package/dist/components/docs/integrations/IntegrationsOpenAIPage.js +11 -11
  82. package/dist/components/docs/integrations/IntegrationsOverviewPage.js +119 -736
  83. package/dist/components/docs/integrations/IntegrationsPostmarkPage.js +12 -12
  84. package/dist/components/docs/integrations/IntegrationsPowensPage.js +24 -24
  85. package/dist/components/docs/integrations/IntegrationsQdrantPage.js +9 -9
  86. package/dist/components/docs/integrations/IntegrationsResendPage.js +7 -7
  87. package/dist/components/docs/integrations/IntegrationsS3Page.js +9 -9
  88. package/dist/components/docs/integrations/IntegrationsSlackPage.js +11 -11
  89. package/dist/components/docs/integrations/IntegrationsSpecModelPage.js +19 -19
  90. package/dist/components/docs/integrations/IntegrationsStripePage.js +25 -25
  91. package/dist/components/docs/integrations/IntegrationsTwilioPage.js +9 -9
  92. package/dist/components/docs/integrations/IntegrationsWhatsappMetaPage.js +12 -12
  93. package/dist/components/docs/integrations/IntegrationsWhatsappTwilioPage.js +13 -13
  94. package/dist/components/docs/integrations/index.d.ts +1 -1
  95. package/dist/components/docs/integrations/index.js +614 -1231
  96. package/dist/components/docs/intent/ContractFirstApiPage.js +8 -8
  97. package/dist/components/docs/intent/DeterministicCodegenPage.js +9 -9
  98. package/dist/components/docs/intent/GenerateClientFromSchemaPage.js +13 -13
  99. package/dist/components/docs/intent/OpenapiAlternativePage.js +13 -13
  100. package/dist/components/docs/intent/SchemaValidationTypescriptPage.js +9 -9
  101. package/dist/components/docs/intent/SpecDrivenDevelopmentPage.js +8 -8
  102. package/dist/components/docs/intent/index.d.ts +3 -3
  103. package/dist/components/docs/intent/index.js +766 -766
  104. package/dist/components/docs/knowledge/KnowledgeCategoriesPage.js +38 -38
  105. package/dist/components/docs/knowledge/KnowledgeExamplesPage.js +9 -9
  106. package/dist/components/docs/knowledge/KnowledgeOverviewPage.js +91 -439
  107. package/dist/components/docs/knowledge/KnowledgeSourcesPage.js +28 -28
  108. package/dist/components/docs/knowledge/KnowledgeSpacesPage.js +21 -21
  109. package/dist/components/docs/knowledge/index.d.ts +1 -1
  110. package/dist/components/docs/knowledge/index.js +437 -785
  111. package/dist/components/docs/libraries/LibrariesAccessibilityPage.js +16 -16
  112. package/dist/components/docs/libraries/LibrariesAiAgentPage.js +8 -8
  113. package/dist/components/docs/libraries/LibrariesAnalyticsPage.js +6 -6
  114. package/dist/components/docs/libraries/LibrariesContentGenPage.js +6 -6
  115. package/dist/components/docs/libraries/LibrariesContractsPage.js +16 -16
  116. package/dist/components/docs/libraries/LibrariesCostTrackingPage.js +6 -6
  117. package/dist/components/docs/libraries/LibrariesDataBackendPage.js +14 -14
  118. package/dist/components/docs/libraries/LibrariesDataViewsPage.js +7 -7
  119. package/dist/components/docs/libraries/LibrariesDesignSystemPage.js +13 -13
  120. package/dist/components/docs/libraries/LibrariesEvolutionPage.js +7 -7
  121. package/dist/components/docs/libraries/LibrariesGraphQLPage.js +13 -13
  122. package/dist/components/docs/libraries/LibrariesGrowthPage.js +5 -5
  123. package/dist/components/docs/libraries/LibrariesMultiTenancyPage.js +5 -5
  124. package/dist/components/docs/libraries/LibrariesObservabilityPage.js +7 -7
  125. package/dist/components/docs/libraries/LibrariesOverlayEnginePage.js +6 -6
  126. package/dist/components/docs/libraries/LibrariesOverviewPage.js +117 -430
  127. package/dist/components/docs/libraries/LibrariesPersonalizationPage.js +6 -6
  128. package/dist/components/docs/libraries/LibrariesProgressiveDeliveryPage.js +6 -6
  129. package/dist/components/docs/libraries/LibrariesResiliencePage.js +6 -6
  130. package/dist/components/docs/libraries/LibrariesRuntimePage.js +13 -13
  131. package/dist/components/docs/libraries/LibrariesSLOPage.js +6 -6
  132. package/dist/components/docs/libraries/LibrariesSchemaPage.js +16 -16
  133. package/dist/components/docs/libraries/LibrariesSupportBotPage.js +7 -7
  134. package/dist/components/docs/libraries/LibrariesTestingPage.js +7 -7
  135. package/dist/components/docs/libraries/LibrariesUIKitPage.js +10 -10
  136. package/dist/components/docs/libraries/LibrariesWorkflowComposerPage.js +5 -5
  137. package/dist/components/docs/libraries/LibrariesWorkflowsPage.js +8 -8
  138. package/dist/components/docs/libraries/index.d.ts +4 -4
  139. package/dist/components/docs/libraries/index.js +1308 -1621
  140. package/dist/components/docs/manifesto/ManifestoPage.js +33 -138
  141. package/dist/components/docs/ops/AutoEvolutionOpsPage.js +9 -9
  142. package/dist/components/docs/ops/DistributedTracingOpsPage.js +5 -5
  143. package/dist/components/docs/ops/index.js +14 -14
  144. package/dist/components/docs/reference/DocsMarkdownContent.js +1 -1
  145. package/dist/components/docs/reference/DocsReferenceContent.js +2 -2
  146. package/dist/components/docs/reference/DocsReferenceIndexClient.js +8 -8
  147. package/dist/components/docs/reference/DocsReferenceIndexPage.js +8 -8
  148. package/dist/components/docs/reference/DocsReferencePage.js +2 -2
  149. package/dist/components/docs/reference/index.js +10 -10
  150. package/dist/components/docs/safety/SafetyAuditingPage.js +16 -16
  151. package/dist/components/docs/safety/SafetyMigrationsPage.js +15 -15
  152. package/dist/components/docs/safety/SafetyOverviewPage.js +69 -206
  153. package/dist/components/docs/safety/SafetyPDPPage.js +12 -12
  154. package/dist/components/docs/safety/SafetySecurityTrustPage.js +11 -11
  155. package/dist/components/docs/safety/SafetySigningPage.js +7 -7
  156. package/dist/components/docs/safety/SafetyTenantIsolationPage.js +6 -6
  157. package/dist/components/docs/safety/index.d.ts +3 -3
  158. package/dist/components/docs/safety/index.js +616 -753
  159. package/dist/components/docs/shared/StudioPrompt.js +5 -5
  160. package/dist/components/docs/specs/SpecsCapabilitiesPage.js +12 -12
  161. package/dist/components/docs/specs/SpecsDataViewsPage.js +14 -14
  162. package/dist/components/docs/specs/SpecsOverlaysPage.js +14 -14
  163. package/dist/components/docs/specs/SpecsOverviewPage.js +135 -297
  164. package/dist/components/docs/specs/SpecsPolicyPage.js +29 -29
  165. package/dist/components/docs/specs/SpecsWorkflowsPage.js +18 -18
  166. package/dist/components/docs/specs/index.d.ts +3 -3
  167. package/dist/components/docs/specs/index.js +814 -976
  168. package/dist/components/docs/studio/StudioBYOKPage.js +1 -1
  169. package/dist/components/docs/studio/StudioDeploymentsPage.js +1 -1
  170. package/dist/components/docs/studio/StudioGettingStartedPage.js +1 -1
  171. package/dist/components/docs/studio/StudioIntegrationsPage.js +1 -1
  172. package/dist/components/docs/studio/StudioOverviewPage.js +109 -56
  173. package/dist/components/docs/studio/StudioVisualBuilderPage.js +1 -1
  174. package/dist/components/docs/studio/index.d.ts +4 -4
  175. package/dist/components/docs/studio/index.js +170 -117
  176. package/dist/components/integrations/index.js +25 -25
  177. package/dist/components/integrations/molecules/IntegrationCard.js +5 -5
  178. package/dist/components/integrations/organisms/IntegrationMarketplace.js +12 -12
  179. package/dist/components/integrations/organisms/IntegrationSettings.js +7 -7
  180. package/dist/components/integrations/organisms/KnowledgeSourceList.js +6 -6
  181. package/dist/components/legal/PrivacyTemplate.js +67 -67
  182. package/dist/components/legal/TermsTemplate.js +54 -54
  183. package/dist/components/legal/index.js +121 -121
  184. package/dist/components/shared/FeatureGateNotice.js +4 -4
  185. package/dist/components/shared/index.js +4 -4
  186. package/dist/components/shell/WorkspaceHeader.js +4 -4
  187. package/dist/components/shell/WorkspaceProjectShellLayout.d.ts +3 -3
  188. package/dist/components/shell/WorkspaceProjectShellLayout.js +10 -10
  189. package/dist/components/shell/WorkspaceShellRenderer.d.ts +4 -4
  190. package/dist/components/shell/WorkspaceShellRenderer.js +8 -8
  191. package/dist/components/shell/WorkspaceSidebar.js +2 -2
  192. package/dist/components/shell/index.d.ts +1 -1
  193. package/dist/components/shell/index.js +12 -12
  194. package/dist/components/templates/engine/index.d.ts +1 -1
  195. package/dist/components/templates/index.d.ts +1 -1
  196. package/dist/components/templates/index.js +835 -835
  197. package/dist/components/templates/messaging/ConversationList.js +11 -11
  198. package/dist/components/templates/messaging/MessageComposer.js +11 -11
  199. package/dist/components/templates/messaging/MessageThread.js +6 -6
  200. package/dist/components/templates/messaging/MessagingWorkspace.js +23 -23
  201. package/dist/components/templates/messaging/index.d.ts +1 -1
  202. package/dist/components/templates/messaging/index.js +23 -23
  203. package/dist/components/templates/recipes/LanguageSwitcher.js +1 -1
  204. package/dist/components/templates/recipes/RecipeCard.js +5 -5
  205. package/dist/components/templates/recipes/RecipeDetail.js +8 -8
  206. package/dist/components/templates/recipes/RecipeList.js +17 -17
  207. package/dist/components/templates/recipes/index.d.ts +2 -2
  208. package/dist/components/templates/recipes/index.js +17 -17
  209. package/dist/components/templates/todos/FilterBar.d.ts +1 -1
  210. package/dist/components/templates/todos/FilterBar.js +9 -9
  211. package/dist/components/templates/todos/TaskForm.js +14 -14
  212. package/dist/components/templates/todos/TaskItem.js +4 -4
  213. package/dist/components/templates/todos/TaskList.js +30 -30
  214. package/dist/components/templates/todos/index.d.ts +2 -2
  215. package/dist/components/templates/todos/index.js +30 -30
  216. package/dist/config/index.d.ts +2 -2
  217. package/dist/features/contracts-registry.d.ts +3 -3
  218. package/dist/features/contracts-registry.js +15 -15
  219. package/dist/features/docs/docs.contracts.d.ts +1 -1
  220. package/dist/features/docs/docs.contracts.js +2 -2
  221. package/dist/features/docs/index.d.ts +1 -1
  222. package/dist/features/docs/index.js +2 -2
  223. package/dist/features/index.d.ts +4 -4
  224. package/dist/features/index.js +18 -18
  225. package/dist/features/registry.js +1 -1
  226. package/dist/index.d.ts +2 -2
  227. package/dist/index.js +14982 -16254
  228. package/dist/libs/email/client.js +1 -1
  229. package/dist/libs/email/contact.js +1 -1
  230. package/dist/libs/email/newsletter.js +1 -1
  231. package/dist/libs/email/waitlist-application.js +1 -1
  232. package/dist/libs/email/waitlist.js +1 -1
  233. package/dist/libs/email.d.ts +1 -1
  234. package/dist/libs/email.js +1 -1
  235. package/dist/node/application/index.js +842 -840
  236. package/dist/node/application/mcp/cliMcp.js +30 -30
  237. package/dist/node/application/mcp/common.js +2 -2
  238. package/dist/node/application/mcp/contractsMcp.js +163 -163
  239. package/dist/node/application/mcp/docsMcp.js +31 -31
  240. package/dist/node/application/mcp/index.js +842 -840
  241. package/dist/node/application/mcp/internalMcp.js +30 -30
  242. package/dist/node/application/mcp/providerRankingMcp.js +35 -33
  243. package/dist/node/components/docs/DocsIndexPage.js +859 -212
  244. package/dist/node/components/docs/advanced/AdvancedMCPPage.js +15 -15
  245. package/dist/node/components/docs/advanced/AdvancedOverlayEditorPage.js +4 -4
  246. package/dist/node/components/docs/advanced/AdvancedRenderersPage.js +7 -7
  247. package/dist/node/components/docs/advanced/AdvancedSpecExperimentsPage.js +9 -9
  248. package/dist/node/components/docs/advanced/AdvancedTelemetryPage.js +16 -16
  249. package/dist/node/components/docs/advanced/AdvancedWorkflowMonitoringPage.js +6 -6
  250. package/dist/node/components/docs/advanced/index.js +57 -57
  251. package/dist/node/components/docs/architecture/ArchitectureAppConfigPage.js +10 -10
  252. package/dist/node/components/docs/architecture/ArchitectureControlPlanePage.js +8 -8
  253. package/dist/node/components/docs/architecture/ArchitectureIntegrationBindingPage.js +14 -14
  254. package/dist/node/components/docs/architecture/ArchitectureKnowledgeBindingPage.js +16 -16
  255. package/dist/node/components/docs/architecture/ArchitectureMultiTenancyPage.js +7 -7
  256. package/dist/node/components/docs/architecture/ArchitectureOverviewPage.js +90 -411
  257. package/dist/node/components/docs/architecture/index.js +145 -466
  258. package/dist/node/components/docs/comparison/ComparisonAutomationPlatformsPage.js +6 -6
  259. package/dist/node/components/docs/comparison/ComparisonEnterprisePlatformsPage.js +7 -7
  260. package/dist/node/components/docs/comparison/ComparisonInternalToolBuildersPage.js +6 -6
  261. package/dist/node/components/docs/comparison/ComparisonOverviewPage.js +4 -4
  262. package/dist/node/components/docs/comparison/ComparisonWindmillPage.js +6 -6
  263. package/dist/node/components/docs/comparison/ComparisonWorkflowEnginesPage.js +6 -6
  264. package/dist/node/components/docs/comparison/index.js +35 -35
  265. package/dist/node/components/docs/docsManifest.js +611 -0
  266. package/dist/node/components/docs/ecosystem/IntegrationsPage.js +5 -5
  267. package/dist/node/components/docs/ecosystem/PluginsPage.js +7 -7
  268. package/dist/node/components/docs/ecosystem/RegistryPage.js +4 -4
  269. package/dist/node/components/docs/ecosystem/TemplatesPage.js +11 -11
  270. package/dist/node/components/docs/ecosystem/index.js +27 -27
  271. package/dist/node/components/docs/examples/DocsExamplesPage.js +4 -4
  272. package/dist/node/components/docs/examples/index.js +4 -4
  273. package/dist/node/components/docs/getting-started/CLIPage.js +9 -9
  274. package/dist/node/components/docs/getting-started/CompatibilityPage.js +12 -12
  275. package/dist/node/components/docs/getting-started/DataViewTutorialPage.js +7 -7
  276. package/dist/node/components/docs/getting-started/DeveloperToolsPage.js +10 -10
  277. package/dist/node/components/docs/getting-started/HelloWorldPage.js +8 -8
  278. package/dist/node/components/docs/getting-started/InstallationPage.js +10 -10
  279. package/dist/node/components/docs/getting-started/StartHerePage.js +8 -8
  280. package/dist/node/components/docs/getting-started/TroubleshootingPage.js +12 -12
  281. package/dist/node/components/docs/getting-started/VSCodeExtensionPage.js +13 -13
  282. package/dist/node/components/docs/getting-started/index.js +89 -89
  283. package/dist/node/components/docs/guides/GuideCIDiffGatingPage.js +13 -13
  284. package/dist/node/components/docs/guides/GuideContractTypesPage.js +33 -33
  285. package/dist/node/components/docs/guides/GuideDocsPipelinePage.js +13 -13
  286. package/dist/node/components/docs/guides/GuideGenerateDocsClientsSchemasPage.js +13 -13
  287. package/dist/node/components/docs/guides/GuideImportExistingCodebasesPage.js +35 -35
  288. package/dist/node/components/docs/guides/GuideNextjsOneEndpointPage.js +15 -15
  289. package/dist/node/components/docs/guides/GuideSpecValidationTypingPage.js +13 -13
  290. package/dist/node/components/docs/guides/GuidesIndexPage.js +69 -46
  291. package/dist/node/components/docs/guides/index.js +174 -151
  292. package/dist/node/components/docs/index.js +14060 -15332
  293. package/dist/node/components/docs/integrations/IntegrationsCircuitBreakersPage.js +4 -4
  294. package/dist/node/components/docs/integrations/IntegrationsElevenLabsPage.js +7 -7
  295. package/dist/node/components/docs/integrations/IntegrationsGithubPage.js +11 -11
  296. package/dist/node/components/docs/integrations/IntegrationsGmailPage.js +7 -7
  297. package/dist/node/components/docs/integrations/IntegrationsGoogleCalendarPage.js +5 -5
  298. package/dist/node/components/docs/integrations/IntegrationsHealthRoutingPage.js +12 -12
  299. package/dist/node/components/docs/integrations/IntegrationsMistralPage.js +12 -12
  300. package/dist/node/components/docs/integrations/IntegrationsOpenAIPage.js +11 -11
  301. package/dist/node/components/docs/integrations/IntegrationsOverviewPage.js +119 -736
  302. package/dist/node/components/docs/integrations/IntegrationsPostmarkPage.js +12 -12
  303. package/dist/node/components/docs/integrations/IntegrationsPowensPage.js +24 -24
  304. package/dist/node/components/docs/integrations/IntegrationsQdrantPage.js +9 -9
  305. package/dist/node/components/docs/integrations/IntegrationsResendPage.js +7 -7
  306. package/dist/node/components/docs/integrations/IntegrationsS3Page.js +9 -9
  307. package/dist/node/components/docs/integrations/IntegrationsSlackPage.js +11 -11
  308. package/dist/node/components/docs/integrations/IntegrationsSpecModelPage.js +19 -19
  309. package/dist/node/components/docs/integrations/IntegrationsStripePage.js +25 -25
  310. package/dist/node/components/docs/integrations/IntegrationsTwilioPage.js +9 -9
  311. package/dist/node/components/docs/integrations/IntegrationsWhatsappMetaPage.js +12 -12
  312. package/dist/node/components/docs/integrations/IntegrationsWhatsappTwilioPage.js +13 -13
  313. package/dist/node/components/docs/integrations/index.js +614 -1231
  314. package/dist/node/components/docs/intent/ContractFirstApiPage.js +8 -8
  315. package/dist/node/components/docs/intent/DeterministicCodegenPage.js +9 -9
  316. package/dist/node/components/docs/intent/GenerateClientFromSchemaPage.js +13 -13
  317. package/dist/node/components/docs/intent/OpenapiAlternativePage.js +13 -13
  318. package/dist/node/components/docs/intent/SchemaValidationTypescriptPage.js +9 -9
  319. package/dist/node/components/docs/intent/SpecDrivenDevelopmentPage.js +8 -8
  320. package/dist/node/components/docs/intent/index.js +766 -766
  321. package/dist/node/components/docs/knowledge/KnowledgeCategoriesPage.js +38 -38
  322. package/dist/node/components/docs/knowledge/KnowledgeExamplesPage.js +9 -9
  323. package/dist/node/components/docs/knowledge/KnowledgeOverviewPage.js +91 -439
  324. package/dist/node/components/docs/knowledge/KnowledgeSourcesPage.js +28 -28
  325. package/dist/node/components/docs/knowledge/KnowledgeSpacesPage.js +21 -21
  326. package/dist/node/components/docs/knowledge/index.js +437 -785
  327. package/dist/node/components/docs/libraries/LibrariesAccessibilityPage.js +16 -16
  328. package/dist/node/components/docs/libraries/LibrariesAiAgentPage.js +8 -8
  329. package/dist/node/components/docs/libraries/LibrariesAnalyticsPage.js +6 -6
  330. package/dist/node/components/docs/libraries/LibrariesContentGenPage.js +6 -6
  331. package/dist/node/components/docs/libraries/LibrariesContractsPage.js +16 -16
  332. package/dist/node/components/docs/libraries/LibrariesCostTrackingPage.js +6 -6
  333. package/dist/node/components/docs/libraries/LibrariesDataBackendPage.js +14 -14
  334. package/dist/node/components/docs/libraries/LibrariesDataViewsPage.js +7 -7
  335. package/dist/node/components/docs/libraries/LibrariesDesignSystemPage.js +13 -13
  336. package/dist/node/components/docs/libraries/LibrariesEvolutionPage.js +7 -7
  337. package/dist/node/components/docs/libraries/LibrariesGraphQLPage.js +13 -13
  338. package/dist/node/components/docs/libraries/LibrariesGrowthPage.js +5 -5
  339. package/dist/node/components/docs/libraries/LibrariesMultiTenancyPage.js +5 -5
  340. package/dist/node/components/docs/libraries/LibrariesObservabilityPage.js +7 -7
  341. package/dist/node/components/docs/libraries/LibrariesOverlayEnginePage.js +6 -6
  342. package/dist/node/components/docs/libraries/LibrariesOverviewPage.js +117 -430
  343. package/dist/node/components/docs/libraries/LibrariesPersonalizationPage.js +6 -6
  344. package/dist/node/components/docs/libraries/LibrariesProgressiveDeliveryPage.js +6 -6
  345. package/dist/node/components/docs/libraries/LibrariesResiliencePage.js +6 -6
  346. package/dist/node/components/docs/libraries/LibrariesRuntimePage.js +13 -13
  347. package/dist/node/components/docs/libraries/LibrariesSLOPage.js +6 -6
  348. package/dist/node/components/docs/libraries/LibrariesSchemaPage.js +16 -16
  349. package/dist/node/components/docs/libraries/LibrariesSupportBotPage.js +7 -7
  350. package/dist/node/components/docs/libraries/LibrariesTestingPage.js +7 -7
  351. package/dist/node/components/docs/libraries/LibrariesUIKitPage.js +10 -10
  352. package/dist/node/components/docs/libraries/LibrariesWorkflowComposerPage.js +5 -5
  353. package/dist/node/components/docs/libraries/LibrariesWorkflowsPage.js +8 -8
  354. package/dist/node/components/docs/libraries/index.js +1308 -1621
  355. package/dist/node/components/docs/manifesto/ManifestoPage.js +33 -138
  356. package/dist/node/components/docs/ops/AutoEvolutionOpsPage.js +9 -9
  357. package/dist/node/components/docs/ops/DistributedTracingOpsPage.js +5 -5
  358. package/dist/node/components/docs/ops/index.js +14 -14
  359. package/dist/node/components/docs/reference/DocsMarkdownContent.js +1 -1
  360. package/dist/node/components/docs/reference/DocsReferenceContent.js +2 -2
  361. package/dist/node/components/docs/reference/DocsReferenceIndexClient.js +8 -8
  362. package/dist/node/components/docs/reference/DocsReferenceIndexPage.js +8 -8
  363. package/dist/node/components/docs/reference/DocsReferencePage.js +2 -2
  364. package/dist/node/components/docs/reference/index.js +10 -10
  365. package/dist/node/components/docs/safety/SafetyAuditingPage.js +16 -16
  366. package/dist/node/components/docs/safety/SafetyMigrationsPage.js +15 -15
  367. package/dist/node/components/docs/safety/SafetyOverviewPage.js +69 -206
  368. package/dist/node/components/docs/safety/SafetyPDPPage.js +12 -12
  369. package/dist/node/components/docs/safety/SafetySecurityTrustPage.js +11 -11
  370. package/dist/node/components/docs/safety/SafetySigningPage.js +7 -7
  371. package/dist/node/components/docs/safety/SafetyTenantIsolationPage.js +6 -6
  372. package/dist/node/components/docs/safety/index.js +616 -753
  373. package/dist/node/components/docs/shared/StudioPrompt.js +5 -5
  374. package/dist/node/components/docs/specs/SpecsCapabilitiesPage.js +12 -12
  375. package/dist/node/components/docs/specs/SpecsDataViewsPage.js +14 -14
  376. package/dist/node/components/docs/specs/SpecsOverlaysPage.js +14 -14
  377. package/dist/node/components/docs/specs/SpecsOverviewPage.js +135 -297
  378. package/dist/node/components/docs/specs/SpecsPolicyPage.js +29 -29
  379. package/dist/node/components/docs/specs/SpecsWorkflowsPage.js +18 -18
  380. package/dist/node/components/docs/specs/index.js +814 -976
  381. package/dist/node/components/docs/studio/StudioBYOKPage.js +1 -1
  382. package/dist/node/components/docs/studio/StudioDeploymentsPage.js +1 -1
  383. package/dist/node/components/docs/studio/StudioGettingStartedPage.js +1 -1
  384. package/dist/node/components/docs/studio/StudioIntegrationsPage.js +1 -1
  385. package/dist/node/components/docs/studio/StudioOverviewPage.js +109 -56
  386. package/dist/node/components/docs/studio/StudioVisualBuilderPage.js +1 -1
  387. package/dist/node/components/docs/studio/index.js +170 -117
  388. package/dist/node/components/integrations/index.js +25 -25
  389. package/dist/node/components/integrations/molecules/IntegrationCard.js +5 -5
  390. package/dist/node/components/integrations/organisms/IntegrationMarketplace.js +12 -12
  391. package/dist/node/components/integrations/organisms/IntegrationSettings.js +7 -7
  392. package/dist/node/components/integrations/organisms/KnowledgeSourceList.js +6 -6
  393. package/dist/node/components/legal/PrivacyTemplate.js +67 -67
  394. package/dist/node/components/legal/TermsTemplate.js +54 -54
  395. package/dist/node/components/legal/index.js +121 -121
  396. package/dist/node/components/shared/FeatureGateNotice.js +4 -4
  397. package/dist/node/components/shared/index.js +4 -4
  398. package/dist/node/components/shell/WorkspaceHeader.js +4 -4
  399. package/dist/node/components/shell/WorkspaceProjectShellLayout.js +10 -10
  400. package/dist/node/components/shell/WorkspaceShellRenderer.js +8 -8
  401. package/dist/node/components/shell/WorkspaceSidebar.js +2 -2
  402. package/dist/node/components/shell/index.js +12 -12
  403. package/dist/node/components/templates/index.js +835 -835
  404. package/dist/node/components/templates/messaging/ConversationList.js +11 -11
  405. package/dist/node/components/templates/messaging/MessageComposer.js +11 -11
  406. package/dist/node/components/templates/messaging/MessageThread.js +6 -6
  407. package/dist/node/components/templates/messaging/MessagingWorkspace.js +23 -23
  408. package/dist/node/components/templates/messaging/index.js +23 -23
  409. package/dist/node/components/templates/recipes/LanguageSwitcher.js +1 -1
  410. package/dist/node/components/templates/recipes/RecipeCard.js +5 -5
  411. package/dist/node/components/templates/recipes/RecipeDetail.js +8 -8
  412. package/dist/node/components/templates/recipes/RecipeList.js +17 -17
  413. package/dist/node/components/templates/recipes/index.js +17 -17
  414. package/dist/node/components/templates/todos/FilterBar.js +9 -9
  415. package/dist/node/components/templates/todos/TaskForm.js +14 -14
  416. package/dist/node/components/templates/todos/TaskItem.js +4 -4
  417. package/dist/node/components/templates/todos/TaskList.js +30 -30
  418. package/dist/node/components/templates/todos/index.js +30 -30
  419. package/dist/node/features/contracts-registry.js +15 -15
  420. package/dist/node/features/docs/docs.contracts.js +2 -2
  421. package/dist/node/features/docs/index.js +2 -2
  422. package/dist/node/features/index.js +18 -18
  423. package/dist/node/features/registry.js +1 -1
  424. package/dist/node/index.js +14982 -16254
  425. package/dist/node/libs/email/client.js +1 -1
  426. package/dist/node/libs/email/contact.js +1 -1
  427. package/dist/node/libs/email/newsletter.js +1 -1
  428. package/dist/node/libs/email/waitlist-application.js +1 -1
  429. package/dist/node/libs/email/waitlist.js +1 -1
  430. package/dist/node/libs/email.js +1 -1
  431. package/dist/node/presentation/features/atoms/FeatureIcon/FeatureIcon.js +7 -7
  432. package/dist/node/presentation/features/atoms/FeatureIcon/index.js +7 -7
  433. package/dist/node/presentation/features/atoms/index.js +7 -7
  434. package/dist/node/presentation/features/hooks/index.js +56 -56
  435. package/dist/node/presentation/features/hooks/useContractsRegistry.js +18 -18
  436. package/dist/node/presentation/features/hooks/useFeatureFilters.js +1 -1
  437. package/dist/node/presentation/features/hooks/useFeatureRegistry.js +1 -1
  438. package/dist/node/presentation/features/hooks/useRelatedDocs.js +1 -1
  439. package/dist/node/presentation/features/index.js +1364 -1364
  440. package/dist/node/presentation/features/molecules/FeatureCard/FeatureCard.js +15 -15
  441. package/dist/node/presentation/features/molecules/FeatureCard/index.js +15 -15
  442. package/dist/node/presentation/features/molecules/FeatureCategoryHeader/FeatureCategoryHeader.js +7 -7
  443. package/dist/node/presentation/features/molecules/FeatureCategoryHeader/index.js +7 -7
  444. package/dist/node/presentation/features/molecules/FeatureFilters/FeatureFilters.js +1 -1
  445. package/dist/node/presentation/features/molecules/FeatureFilters/index.js +1 -1
  446. package/dist/node/presentation/features/molecules/FeatureHoverPreview/FeatureHoverPreview.js +5 -5
  447. package/dist/node/presentation/features/molecules/FeatureHoverPreview/index.js +5 -5
  448. package/dist/node/presentation/features/molecules/index.js +77 -77
  449. package/dist/node/presentation/features/organisms/FeatureDataViewsList.js +18 -18
  450. package/dist/node/presentation/features/organisms/FeatureDiscovery/FeatureDiscovery.js +121 -121
  451. package/dist/node/presentation/features/organisms/FeatureDiscovery/index.js +121 -121
  452. package/dist/node/presentation/features/organisms/FeatureEventsList.js +18 -18
  453. package/dist/node/presentation/features/organisms/FeatureFormsList.js +18 -18
  454. package/dist/node/presentation/features/organisms/FeatureOperationsList.js +15 -15
  455. package/dist/node/presentation/features/organisms/FeaturePresentationsList.js +18 -18
  456. package/dist/node/presentation/features/organisms/index.js +401 -401
  457. package/dist/node/presentation/features/templates/FeatureDataViewDetailTemplate/FeatureDataViewDetailTemplate.js +13 -13
  458. package/dist/node/presentation/features/templates/FeatureDataViewDetailTemplate/index.js +13 -13
  459. package/dist/node/presentation/features/templates/FeatureDataViewsTemplate/FeatureDataViewsTemplate.js +20 -20
  460. package/dist/node/presentation/features/templates/FeatureDataViewsTemplate/index.js +20 -20
  461. package/dist/node/presentation/features/templates/FeatureEventDetailTemplate/FeatureEventDetailTemplate.js +12 -12
  462. package/dist/node/presentation/features/templates/FeatureEventDetailTemplate/index.js +12 -12
  463. package/dist/node/presentation/features/templates/FeatureEventsTemplate/FeatureEventsTemplate.js +18 -18
  464. package/dist/node/presentation/features/templates/FeatureEventsTemplate/index.js +18 -18
  465. package/dist/node/presentation/features/templates/FeatureFormDetailTemplate/FeatureFormDetailTemplate.js +13 -13
  466. package/dist/node/presentation/features/templates/FeatureFormDetailTemplate/index.js +13 -13
  467. package/dist/node/presentation/features/templates/FeatureFormsTemplate/FeatureFormsTemplate.js +20 -20
  468. package/dist/node/presentation/features/templates/FeatureFormsTemplate/index.js +20 -20
  469. package/dist/node/presentation/features/templates/FeatureOperationDetailTemplate/FeatureOperationDetailTemplate.js +8 -8
  470. package/dist/node/presentation/features/templates/FeatureOperationDetailTemplate/index.js +8 -8
  471. package/dist/node/presentation/features/templates/FeatureOperationsTemplate/FeatureOperationsTemplate.js +15 -15
  472. package/dist/node/presentation/features/templates/FeatureOperationsTemplate/index.js +15 -15
  473. package/dist/node/presentation/features/templates/FeatureOverviewTemplate/FeatureOverviewTemplate.js +2 -2
  474. package/dist/node/presentation/features/templates/FeatureOverviewTemplate/index.js +2 -2
  475. package/dist/node/presentation/features/templates/FeaturePresentationDetailTemplate/FeaturePresentationDetailTemplate.js +12 -12
  476. package/dist/node/presentation/features/templates/FeaturePresentationDetailTemplate/index.js +12 -12
  477. package/dist/node/presentation/features/templates/FeaturePresentationsTemplate/FeaturePresentationsTemplate.js +18 -18
  478. package/dist/node/presentation/features/templates/FeaturePresentationsTemplate/index.js +18 -18
  479. package/dist/presentation/features/atoms/FeatureIcon/FeatureIcon.js +7 -7
  480. package/dist/presentation/features/atoms/FeatureIcon/index.d.ts +1 -1
  481. package/dist/presentation/features/atoms/FeatureIcon/index.js +7 -7
  482. package/dist/presentation/features/atoms/index.js +7 -7
  483. package/dist/presentation/features/hooks/index.d.ts +3 -3
  484. package/dist/presentation/features/hooks/index.js +56 -56
  485. package/dist/presentation/features/hooks/useContractsRegistry.js +18 -18
  486. package/dist/presentation/features/hooks/useFeatureFilters.js +1 -1
  487. package/dist/presentation/features/hooks/useFeatureRegistry.js +1 -1
  488. package/dist/presentation/features/hooks/useRelatedDocs.js +1 -1
  489. package/dist/presentation/features/index.d.ts +14 -14
  490. package/dist/presentation/features/index.js +1364 -1364
  491. package/dist/presentation/features/molecules/FeatureCard/FeatureCard.js +15 -15
  492. package/dist/presentation/features/molecules/FeatureCard/index.js +15 -15
  493. package/dist/presentation/features/molecules/FeatureCategoryHeader/FeatureCategoryHeader.js +7 -7
  494. package/dist/presentation/features/molecules/FeatureCategoryHeader/index.js +7 -7
  495. package/dist/presentation/features/molecules/FeatureFilters/FeatureFilters.js +1 -1
  496. package/dist/presentation/features/molecules/FeatureFilters/index.js +1 -1
  497. package/dist/presentation/features/molecules/FeatureHoverPreview/FeatureHoverPreview.js +5 -5
  498. package/dist/presentation/features/molecules/FeatureHoverPreview/index.js +5 -5
  499. package/dist/presentation/features/molecules/index.d.ts +1 -1
  500. package/dist/presentation/features/molecules/index.js +77 -77
  501. package/dist/presentation/features/organisms/FeatureDataViewsList.js +18 -18
  502. package/dist/presentation/features/organisms/FeatureDiscovery/FeatureDiscovery.js +121 -121
  503. package/dist/presentation/features/organisms/FeatureDiscovery/index.d.ts +1 -1
  504. package/dist/presentation/features/organisms/FeatureDiscovery/index.js +121 -121
  505. package/dist/presentation/features/organisms/FeatureEventsList.js +18 -18
  506. package/dist/presentation/features/organisms/FeatureFormsList.js +18 -18
  507. package/dist/presentation/features/organisms/FeatureOperationsList.js +15 -15
  508. package/dist/presentation/features/organisms/FeaturePresentationsList.js +18 -18
  509. package/dist/presentation/features/organisms/index.d.ts +4 -4
  510. package/dist/presentation/features/organisms/index.js +401 -401
  511. package/dist/presentation/features/templates/FeatureDataViewDetailTemplate/FeatureDataViewDetailTemplate.js +13 -13
  512. package/dist/presentation/features/templates/FeatureDataViewDetailTemplate/index.js +13 -13
  513. package/dist/presentation/features/templates/FeatureDataViewDetailTemplate/types.d.ts +1 -1
  514. package/dist/presentation/features/templates/FeatureDataViewsTemplate/FeatureDataViewsTemplate.js +20 -20
  515. package/dist/presentation/features/templates/FeatureDataViewsTemplate/index.js +20 -20
  516. package/dist/presentation/features/templates/FeatureEventDetailTemplate/FeatureEventDetailTemplate.js +12 -12
  517. package/dist/presentation/features/templates/FeatureEventDetailTemplate/index.js +12 -12
  518. package/dist/presentation/features/templates/FeatureEventsTemplate/FeatureEventsTemplate.js +18 -18
  519. package/dist/presentation/features/templates/FeatureEventsTemplate/index.js +18 -18
  520. package/dist/presentation/features/templates/FeatureFormDetailTemplate/FeatureFormDetailTemplate.js +13 -13
  521. package/dist/presentation/features/templates/FeatureFormDetailTemplate/index.js +13 -13
  522. package/dist/presentation/features/templates/FeatureFormsTemplate/FeatureFormsTemplate.js +20 -20
  523. package/dist/presentation/features/templates/FeatureFormsTemplate/index.js +20 -20
  524. package/dist/presentation/features/templates/FeatureOperationDetailTemplate/FeatureOperationDetailTemplate.js +8 -8
  525. package/dist/presentation/features/templates/FeatureOperationDetailTemplate/index.js +8 -8
  526. package/dist/presentation/features/templates/FeatureOperationsTemplate/FeatureOperationsTemplate.js +15 -15
  527. package/dist/presentation/features/templates/FeatureOperationsTemplate/index.js +15 -15
  528. package/dist/presentation/features/templates/FeatureOverviewTemplate/FeatureOverviewTemplate.js +2 -2
  529. package/dist/presentation/features/templates/FeatureOverviewTemplate/index.js +2 -2
  530. package/dist/presentation/features/templates/FeaturePresentationDetailTemplate/FeaturePresentationDetailTemplate.js +12 -12
  531. package/dist/presentation/features/templates/FeaturePresentationDetailTemplate/index.js +12 -12
  532. package/dist/presentation/features/templates/FeaturePresentationsTemplate/FeaturePresentationsTemplate.js +18 -18
  533. package/dist/presentation/features/templates/FeaturePresentationsTemplate/index.js +18 -18
  534. package/package.json +38 -24
  535. package/src/__tests__/env-setup.ts +1 -1
  536. package/src/__tests__/mocks/prisma.ts +78 -78
  537. package/src/__tests__/setup.ts +2 -2
  538. package/src/application/context-storage/index.ts +42 -42
  539. package/src/application/index.ts +1 -1
  540. package/src/application/mcp/cliMcp.ts +221 -221
  541. package/src/application/mcp/common.ts +210 -210
  542. package/src/application/mcp/contractsMcp.ts +15 -15
  543. package/src/application/mcp/contractsMcpResources.ts +119 -119
  544. package/src/application/mcp/contractsMcpTools.ts +218 -218
  545. package/src/application/mcp/contractsMcpTypes.ts +35 -35
  546. package/src/application/mcp/docsMcp.ts +173 -173
  547. package/src/application/mcp/index.ts +2 -2
  548. package/src/application/mcp/internalMcp.ts +204 -204
  549. package/src/application/mcp/providerRankingMcp.ts +346 -344
  550. package/src/bundles/LibraryBundle.ts +136 -136
  551. package/src/components/docs/DocsIndexPage.tsx +189 -241
  552. package/src/components/docs/advanced/AdvancedMCPPage.tsx +168 -168
  553. package/src/components/docs/advanced/AdvancedOverlayEditorPage.tsx +52 -52
  554. package/src/components/docs/advanced/AdvancedRenderersPage.tsx +53 -53
  555. package/src/components/docs/advanced/AdvancedSpecExperimentsPage.tsx +48 -48
  556. package/src/components/docs/advanced/AdvancedTelemetryPage.tsx +205 -205
  557. package/src/components/docs/advanced/AdvancedWorkflowMonitoringPage.tsx +42 -42
  558. package/src/components/docs/advanced/index.ts +2 -2
  559. package/src/components/docs/architecture/ArchitectureAppConfigPage.tsx +127 -127
  560. package/src/components/docs/architecture/ArchitectureControlPlanePage.tsx +79 -79
  561. package/src/components/docs/architecture/ArchitectureIntegrationBindingPage.tsx +147 -147
  562. package/src/components/docs/architecture/ArchitectureKnowledgeBindingPage.tsx +193 -193
  563. package/src/components/docs/architecture/ArchitectureMultiTenancyPage.tsx +73 -73
  564. package/src/components/docs/architecture/ArchitectureOverviewPage.tsx +98 -273
  565. package/src/components/docs/architecture/index.ts +3 -3
  566. package/src/components/docs/comparison/ComparisonAutomationPlatformsPage.tsx +137 -137
  567. package/src/components/docs/comparison/ComparisonEnterprisePlatformsPage.tsx +138 -138
  568. package/src/components/docs/comparison/ComparisonInternalToolBuildersPage.tsx +147 -147
  569. package/src/components/docs/comparison/ComparisonOverviewPage.tsx +106 -106
  570. package/src/components/docs/comparison/ComparisonWindmillPage.tsx +143 -143
  571. package/src/components/docs/comparison/ComparisonWorkflowEnginesPage.tsx +168 -168
  572. package/src/components/docs/comparison/index.ts +2 -2
  573. package/src/components/docs/docsManifest.ts +720 -0
  574. package/src/components/docs/ecosystem/IntegrationsPage.tsx +45 -45
  575. package/src/components/docs/ecosystem/PluginsPage.tsx +77 -77
  576. package/src/components/docs/ecosystem/RegistryPage.tsx +48 -48
  577. package/src/components/docs/ecosystem/TemplatesPage.tsx +52 -52
  578. package/src/components/docs/ecosystem/ecosystem.docblocks.ts +42 -42
  579. package/src/components/docs/ecosystem/index.ts +2 -2
  580. package/src/components/docs/examples/DocsExamplesPage.tsx +67 -66
  581. package/src/components/docs/generated/docs-index._common.json +1757 -1757
  582. package/src/components/docs/generated/docs-index.agent-console.json +376 -376
  583. package/src/components/docs/generated/docs-index.ai-chat-assistant.json +8 -8
  584. package/src/components/docs/generated/docs-index.ai-chat.json +104 -104
  585. package/src/components/docs/generated/docs-index.ai-support-bot.json +8 -8
  586. package/src/components/docs/generated/docs-index.analytics-dashboard.json +168 -168
  587. package/src/components/docs/generated/docs-index.app-config.json +136 -136
  588. package/src/components/docs/generated/docs-index.audit-trail.json +48 -48
  589. package/src/components/docs/generated/docs-index.calendar-google.json +8 -8
  590. package/src/components/docs/generated/docs-index.content-generation.json +8 -8
  591. package/src/components/docs/generated/docs-index.crm-pipeline.json +160 -160
  592. package/src/components/docs/generated/docs-index.email-gmail.json +8 -8
  593. package/src/components/docs/generated/docs-index.feature-flags.json +216 -216
  594. package/src/components/docs/generated/docs-index.files.json +176 -176
  595. package/src/components/docs/generated/docs-index.generated.ts +19 -19
  596. package/src/components/docs/generated/docs-index.health.json +96 -96
  597. package/src/components/docs/generated/docs-index.identity-rbac.json +312 -312
  598. package/src/components/docs/generated/docs-index.in-app-docs.json +8 -8
  599. package/src/components/docs/generated/docs-index.integration-hub.json +264 -264
  600. package/src/components/docs/generated/docs-index.integration-posthog.json +8 -8
  601. package/src/components/docs/generated/docs-index.integration-stripe.json +8 -8
  602. package/src/components/docs/generated/docs-index.integration-supabase.json +8 -8
  603. package/src/components/docs/generated/docs-index.jobs.json +136 -136
  604. package/src/components/docs/generated/docs-index.kb-update-pipeline.json +128 -128
  605. package/src/components/docs/generated/docs-index.knowledge-canon.json +8 -8
  606. package/src/components/docs/generated/docs-index.learning-journey-ambient-coach.json +8 -8
  607. package/src/components/docs/generated/docs-index.learning-journey-crm-onboarding.json +48 -48
  608. package/src/components/docs/generated/docs-index.learning-journey-duo-drills.json +8 -8
  609. package/src/components/docs/generated/docs-index.learning-journey-platform-tour.json +48 -48
  610. package/src/components/docs/generated/docs-index.learning-journey-quest-challenges.json +8 -8
  611. package/src/components/docs/generated/docs-index.learning-journey-registry.json +32 -32
  612. package/src/components/docs/generated/docs-index.learning-journey-studio-onboarding.json +48 -48
  613. package/src/components/docs/generated/docs-index.learning-journey-ui-coaching.json +8 -8
  614. package/src/components/docs/generated/docs-index.learning-journey-ui-gamified.json +8 -8
  615. package/src/components/docs/generated/docs-index.learning-journey-ui-onboarding.json +8 -8
  616. package/src/components/docs/generated/docs-index.learning-journey-ui-shared.json +8 -8
  617. package/src/components/docs/generated/docs-index.learning-journey.json +216 -216
  618. package/src/components/docs/generated/docs-index.learning-patterns.json +8 -8
  619. package/src/components/docs/generated/docs-index.lifecycle-cli.json +8 -8
  620. package/src/components/docs/generated/docs-index.lifecycle-dashboard.json +8 -8
  621. package/src/components/docs/generated/docs-index.locale-jurisdiction-gate.json +48 -48
  622. package/src/components/docs/generated/docs-index.manifest.json +376 -376
  623. package/src/components/docs/generated/docs-index.marketplace.json +336 -336
  624. package/src/components/docs/generated/docs-index.meeting-recorder-providers.json +8 -8
  625. package/src/components/docs/generated/docs-index.meeting-recorder.json +48 -48
  626. package/src/components/docs/generated/docs-index.metrics.json +200 -200
  627. package/src/components/docs/generated/docs-index.minimal.json +16 -16
  628. package/src/components/docs/generated/docs-index.notifications.json +64 -64
  629. package/src/components/docs/generated/docs-index.openbanking-powens.json +8 -8
  630. package/src/components/docs/generated/docs-index.openbanking.json +64 -64
  631. package/src/components/docs/generated/docs-index.opencode-cli.json +16 -16
  632. package/src/components/docs/generated/docs-index.personalization.json +8 -8
  633. package/src/components/docs/generated/docs-index.platform-acp.json +72 -72
  634. package/src/components/docs/generated/docs-index.platform-agent.json +96 -96
  635. package/src/components/docs/generated/docs-index.platform-context.json +56 -56
  636. package/src/components/docs/generated/docs-index.platform-database.json +48 -48
  637. package/src/components/docs/generated/docs-index.platform-docs.json +88 -88
  638. package/src/components/docs/generated/docs-index.platform-integrations.json +320 -320
  639. package/src/components/docs/generated/docs-index.platform-knowledge.json +56 -56
  640. package/src/components/docs/generated/docs-index.platform-provider-ranking.json +96 -96
  641. package/src/components/docs/generated/docs-index.pocket-family-office.json +120 -120
  642. package/src/components/docs/generated/docs-index.policy-safe-knowledge-assistant.json +8 -8
  643. package/src/components/docs/generated/docs-index.product-intent.json +8 -8
  644. package/src/components/docs/generated/docs-index.project-management-sync.json +8 -8
  645. package/src/components/docs/generated/docs-index.saas-boilerplate.json +208 -208
  646. package/src/components/docs/generated/docs-index.service-business-os.json +192 -192
  647. package/src/components/docs/generated/docs-index.team-hub.json +184 -184
  648. package/src/components/docs/generated/docs-index.unknown.json +512 -512
  649. package/src/components/docs/generated/docs-index.versioned-knowledge-base.json +80 -80
  650. package/src/components/docs/generated/docs-index.video-api-showcase.json +32 -32
  651. package/src/components/docs/generated/docs-index.video-docs-terminal.json +8 -8
  652. package/src/components/docs/generated/docs-index.video-marketing-clip.json +8 -8
  653. package/src/components/docs/generated/docs-index.voice-providers.json +8 -8
  654. package/src/components/docs/generated/docs-index.wealth-snapshot.json +152 -152
  655. package/src/components/docs/generated/docs-index.workflow-system.json +432 -432
  656. package/src/components/docs/generated/docs-index.workspace-cli.json +8 -8
  657. package/src/components/docs/generated/index.ts +6 -6
  658. package/src/components/docs/generated/loader.ts +49 -49
  659. package/src/components/docs/getting-started/CLIPage.tsx +157 -157
  660. package/src/components/docs/getting-started/CompatibilityPage.tsx +69 -69
  661. package/src/components/docs/getting-started/DataViewTutorialPage.tsx +63 -63
  662. package/src/components/docs/getting-started/DeveloperToolsPage.tsx +141 -140
  663. package/src/components/docs/getting-started/HelloWorldPage.tsx +88 -88
  664. package/src/components/docs/getting-started/InstallationPage.tsx +78 -78
  665. package/src/components/docs/getting-started/StartHerePage.tsx +64 -64
  666. package/src/components/docs/getting-started/TroubleshootingPage.tsx +68 -68
  667. package/src/components/docs/getting-started/VSCodeExtensionPage.tsx +233 -233
  668. package/src/components/docs/getting-started/getting-started.docblocks.ts +30 -30
  669. package/src/components/docs/getting-started/index.ts +6 -5
  670. package/src/components/docs/guides/GuideCIDiffGatingPage.tsx +88 -88
  671. package/src/components/docs/guides/GuideContractTypesPage.tsx +266 -266
  672. package/src/components/docs/guides/GuideDocsPipelinePage.tsx +78 -78
  673. package/src/components/docs/guides/GuideGenerateDocsClientsSchemasPage.tsx +89 -89
  674. package/src/components/docs/guides/GuideImportExistingCodebasesPage.tsx +360 -360
  675. package/src/components/docs/guides/GuideNextjsOneEndpointPage.tsx +117 -117
  676. package/src/components/docs/guides/GuideSpecValidationTypingPage.tsx +82 -82
  677. package/src/components/docs/guides/GuidesIndexPage.tsx +109 -99
  678. package/src/components/docs/guides/guides.docblocks.ts +60 -60
  679. package/src/components/docs/guides/index.ts +4 -4
  680. package/src/components/docs/index.ts +26 -40
  681. package/src/components/docs/integrations/IntegrationsCircuitBreakersPage.tsx +22 -22
  682. package/src/components/docs/integrations/IntegrationsElevenLabsPage.tsx +41 -41
  683. package/src/components/docs/integrations/IntegrationsGithubPage.tsx +66 -66
  684. package/src/components/docs/integrations/IntegrationsGmailPage.tsx +44 -44
  685. package/src/components/docs/integrations/IntegrationsGoogleCalendarPage.tsx +31 -31
  686. package/src/components/docs/integrations/IntegrationsHealthRoutingPage.tsx +80 -80
  687. package/src/components/docs/integrations/IntegrationsMistralPage.tsx +65 -65
  688. package/src/components/docs/integrations/IntegrationsOpenAIPage.tsx +54 -54
  689. package/src/components/docs/integrations/IntegrationsOverviewPage.tsx +124 -529
  690. package/src/components/docs/integrations/IntegrationsPostmarkPage.tsx +97 -97
  691. package/src/components/docs/integrations/IntegrationsPowensPage.tsx +165 -165
  692. package/src/components/docs/integrations/IntegrationsQdrantPage.tsx +44 -44
  693. package/src/components/docs/integrations/IntegrationsResendPage.tsx +40 -40
  694. package/src/components/docs/integrations/IntegrationsS3Page.tsx +48 -48
  695. package/src/components/docs/integrations/IntegrationsSlackPage.tsx +70 -70
  696. package/src/components/docs/integrations/IntegrationsSpecModelPage.tsx +139 -139
  697. package/src/components/docs/integrations/IntegrationsStripePage.tsx +153 -153
  698. package/src/components/docs/integrations/IntegrationsTwilioPage.tsx +50 -50
  699. package/src/components/docs/integrations/IntegrationsWhatsappMetaPage.tsx +69 -69
  700. package/src/components/docs/integrations/IntegrationsWhatsappTwilioPage.tsx +73 -73
  701. package/src/components/docs/integrations/index.ts +1 -1
  702. package/src/components/docs/intent/ContractFirstApiPage.tsx +61 -61
  703. package/src/components/docs/intent/DeterministicCodegenPage.tsx +81 -80
  704. package/src/components/docs/intent/GenerateClientFromSchemaPage.tsx +108 -108
  705. package/src/components/docs/intent/OpenapiAlternativePage.tsx +98 -98
  706. package/src/components/docs/intent/SchemaValidationTypescriptPage.tsx +79 -79
  707. package/src/components/docs/intent/SpecDrivenDevelopmentPage.tsx +67 -67
  708. package/src/components/docs/intent/index.ts +3 -3
  709. package/src/components/docs/intent/intent-pages.docblocks.ts +186 -186
  710. package/src/components/docs/knowledge/KnowledgeCategoriesPage.tsx +304 -304
  711. package/src/components/docs/knowledge/KnowledgeExamplesPage.tsx +84 -84
  712. package/src/components/docs/knowledge/KnowledgeOverviewPage.tsx +76 -285
  713. package/src/components/docs/knowledge/KnowledgeSourcesPage.tsx +171 -171
  714. package/src/components/docs/knowledge/KnowledgeSpacesPage.tsx +132 -132
  715. package/src/components/docs/knowledge/index.ts +1 -1
  716. package/src/components/docs/libraries/LibrariesAccessibilityPage.tsx +95 -95
  717. package/src/components/docs/libraries/LibrariesAiAgentPage.tsx +58 -58
  718. package/src/components/docs/libraries/LibrariesAnalyticsPage.tsx +39 -39
  719. package/src/components/docs/libraries/LibrariesContentGenPage.tsx +41 -41
  720. package/src/components/docs/libraries/LibrariesContractsPage.tsx +132 -132
  721. package/src/components/docs/libraries/LibrariesCostTrackingPage.tsx +47 -47
  722. package/src/components/docs/libraries/LibrariesDataBackendPage.tsx +73 -73
  723. package/src/components/docs/libraries/LibrariesDataViewsPage.tsx +76 -76
  724. package/src/components/docs/libraries/LibrariesDesignSystemPage.tsx +115 -115
  725. package/src/components/docs/libraries/LibrariesEvolutionPage.tsx +64 -64
  726. package/src/components/docs/libraries/LibrariesGraphQLPage.tsx +92 -92
  727. package/src/components/docs/libraries/LibrariesGrowthPage.tsx +37 -37
  728. package/src/components/docs/libraries/LibrariesMultiTenancyPage.tsx +47 -47
  729. package/src/components/docs/libraries/LibrariesObservabilityPage.tsx +58 -58
  730. package/src/components/docs/libraries/LibrariesOverlayEnginePage.tsx +51 -51
  731. package/src/components/docs/libraries/LibrariesOverviewPage.tsx +137 -301
  732. package/src/components/docs/libraries/LibrariesPersonalizationPage.tsx +57 -57
  733. package/src/components/docs/libraries/LibrariesProgressiveDeliveryPage.tsx +51 -51
  734. package/src/components/docs/libraries/LibrariesResiliencePage.tsx +54 -54
  735. package/src/components/docs/libraries/LibrariesRuntimePage.tsx +96 -96
  736. package/src/components/docs/libraries/LibrariesSLOPage.tsx +52 -52
  737. package/src/components/docs/libraries/LibrariesSchemaPage.tsx +131 -131
  738. package/src/components/docs/libraries/LibrariesSupportBotPage.tsx +59 -59
  739. package/src/components/docs/libraries/LibrariesTestingPage.tsx +64 -64
  740. package/src/components/docs/libraries/LibrariesUIKitPage.tsx +85 -85
  741. package/src/components/docs/libraries/LibrariesWorkflowComposerPage.tsx +38 -38
  742. package/src/components/docs/libraries/LibrariesWorkflowsPage.tsx +79 -79
  743. package/src/components/docs/libraries/index.ts +4 -4
  744. package/src/components/docs/manifesto/ManifestoPage.tsx +61 -132
  745. package/src/components/docs/ops/AutoEvolutionOpsPage.tsx +81 -81
  746. package/src/components/docs/ops/DistributedTracingOpsPage.tsx +28 -28
  747. package/src/components/docs/ops/ops-lifecycle.docblocks.ts +32 -32
  748. package/src/components/docs/ops/ops-runbooks-a.docblocks.ts +60 -60
  749. package/src/components/docs/ops/ops-runbooks-b.docblocks.ts +60 -60
  750. package/src/components/docs/ops/ops-slo-tenant.docblocks.ts +61 -61
  751. package/src/components/docs/ops/ops-top.docs.ts +10 -10
  752. package/src/components/docs/ops/ops.docs.ts +6 -6
  753. package/src/components/docs/product/product.docblocks.ts +60 -60
  754. package/src/components/docs/reference/DocsMarkdownContent.tsx +74 -74
  755. package/src/components/docs/reference/DocsReferenceContent.tsx +51 -51
  756. package/src/components/docs/reference/DocsReferenceIndexClient.tsx +106 -105
  757. package/src/components/docs/reference/DocsReferenceIndexPage.tsx +2 -2
  758. package/src/components/docs/reference/DocsReferencePage.tsx +3 -3
  759. package/src/components/docs/reference/docsMarkdownParser.ts +90 -90
  760. package/src/components/docs/safety/SafetyAuditingPage.tsx +189 -189
  761. package/src/components/docs/safety/SafetyMigrationsPage.tsx +189 -189
  762. package/src/components/docs/safety/SafetyOverviewPage.tsx +70 -157
  763. package/src/components/docs/safety/SafetyPDPPage.tsx +163 -163
  764. package/src/components/docs/safety/SafetySecurityTrustPage.tsx +89 -89
  765. package/src/components/docs/safety/SafetySigningPage.tsx +38 -38
  766. package/src/components/docs/safety/SafetyTenantIsolationPage.tsx +39 -39
  767. package/src/components/docs/safety/index.ts +3 -3
  768. package/src/components/docs/shared/StudioPrompt.tsx +17 -17
  769. package/src/components/docs/specs/SpecsCapabilitiesPage.tsx +79 -79
  770. package/src/components/docs/specs/SpecsDataViewsPage.tsx +142 -142
  771. package/src/components/docs/specs/SpecsOverlaysPage.tsx +202 -202
  772. package/src/components/docs/specs/SpecsOverviewPage.tsx +118 -193
  773. package/src/components/docs/specs/SpecsPolicyPage.tsx +233 -233
  774. package/src/components/docs/specs/SpecsWorkflowsPage.tsx +156 -156
  775. package/src/components/docs/specs/index.ts +3 -3
  776. package/src/components/docs/studio/StudioBYOKPage.tsx +11 -11
  777. package/src/components/docs/studio/StudioDeploymentsPage.tsx +11 -11
  778. package/src/components/docs/studio/StudioGettingStartedPage.tsx +11 -11
  779. package/src/components/docs/studio/StudioIntegrationsPage.tsx +11 -11
  780. package/src/components/docs/studio/StudioOverviewPage.tsx +94 -73
  781. package/src/components/docs/studio/StudioVisualBuilderPage.tsx +11 -11
  782. package/src/components/docs/studio/index.ts +4 -4
  783. package/src/components/docs/tech/contracts/tech-docs.docblocks.ts +10 -10
  784. package/src/components/integrations/molecules/IntegrationCard.tsx +71 -72
  785. package/src/components/integrations/organisms/IntegrationMarketplace.tsx +116 -116
  786. package/src/components/integrations/organisms/IntegrationSettings.tsx +201 -201
  787. package/src/components/integrations/organisms/KnowledgeSourceList.tsx +93 -94
  788. package/src/components/legal/PrivacyTemplate.tsx +611 -611
  789. package/src/components/legal/TermsTemplate.tsx +675 -675
  790. package/src/components/shared/FeatureGateNotice.tsx +26 -27
  791. package/src/components/shell/WorkspaceHeader.tsx +80 -80
  792. package/src/components/shell/WorkspaceProjectShellLayout.tsx +59 -58
  793. package/src/components/shell/WorkspaceShellRenderer.tsx +69 -68
  794. package/src/components/shell/WorkspaceSidebar.tsx +58 -58
  795. package/src/components/shell/index.ts +1 -1
  796. package/src/components/templates/engine/index.ts +29 -28
  797. package/src/components/templates/index.ts +1 -1
  798. package/src/components/templates/messaging/ConversationList.tsx +68 -69
  799. package/src/components/templates/messaging/MessageComposer.tsx +59 -59
  800. package/src/components/templates/messaging/MessageThread.tsx +73 -74
  801. package/src/components/templates/messaging/MessagingWorkspace.tsx +18 -19
  802. package/src/components/templates/messaging/index.ts +1 -1
  803. package/src/components/templates/messaging/types.ts +17 -17
  804. package/src/components/templates/recipes/LanguageSwitcher.tsx +20 -20
  805. package/src/components/templates/recipes/RecipeCard.tsx +56 -56
  806. package/src/components/templates/recipes/RecipeDetail.tsx +43 -43
  807. package/src/components/templates/recipes/RecipeList.tsx +62 -63
  808. package/src/components/templates/recipes/index.ts +2 -2
  809. package/src/components/templates/recipes/types.ts +24 -24
  810. package/src/components/templates/todos/FilterBar.tsx +84 -84
  811. package/src/components/templates/todos/TaskForm.tsx +118 -119
  812. package/src/components/templates/todos/TaskItem.tsx +78 -78
  813. package/src/components/templates/todos/TaskList.tsx +106 -107
  814. package/src/components/templates/todos/index.ts +2 -2
  815. package/src/components/templates/todos/types.ts +11 -11
  816. package/src/config/contractspec-blueprint.ts +55 -55
  817. package/src/config/contractspec-branding.ts +37 -37
  818. package/src/config/contractspec-routes.ts +22 -22
  819. package/src/config/index.ts +14 -15
  820. package/src/features/contracts-registry.ts +118 -118
  821. package/src/features/docs/docs.contracts.ts +6 -6
  822. package/src/features/docs/index.ts +6 -6
  823. package/src/features/docs.feature.ts +27 -27
  824. package/src/features/index.ts +59 -63
  825. package/src/features/mcp.feature.ts +24 -24
  826. package/src/features/presentations.feature.ts +27 -27
  827. package/src/features/registry.ts +14 -14
  828. package/src/index.ts +2 -2
  829. package/src/infrastructure/elysia/logger.ts +21 -21
  830. package/src/libs/email/client.test.ts +81 -81
  831. package/src/libs/email/client.ts +111 -111
  832. package/src/libs/email/contact.ts +35 -35
  833. package/src/libs/email/newsletter.ts +46 -46
  834. package/src/libs/email/types.ts +29 -29
  835. package/src/libs/email/utils.ts +5 -5
  836. package/src/libs/email/waitlist-application.ts +69 -69
  837. package/src/libs/email/waitlist.ts +46 -46
  838. package/src/libs/email.ts +7 -7
  839. package/src/libs/posthog/client.ts +44 -44
  840. package/src/libs/posthog/native.ts +23 -22
  841. package/src/libs/posthog/server.ts +7 -7
  842. package/src/libs/pricing-examples.ts +12 -12
  843. package/src/presentation/features/atoms/FeatureIcon/FeatureIcon.tsx +90 -90
  844. package/src/presentation/features/atoms/FeatureIcon/index.ts +3 -3
  845. package/src/presentation/features/hooks/index.ts +9 -9
  846. package/src/presentation/features/hooks/useContractsRegistry.ts +23 -23
  847. package/src/presentation/features/hooks/useFeatureFilters.ts +117 -117
  848. package/src/presentation/features/hooks/useFeatureRegistry.ts +40 -40
  849. package/src/presentation/features/hooks/useRelatedDocs.ts +28 -28
  850. package/src/presentation/features/index.ts +50 -52
  851. package/src/presentation/features/molecules/FeatureCard/FeatureCard.tsx +80 -80
  852. package/src/presentation/features/molecules/FeatureCard/types.ts +6 -6
  853. package/src/presentation/features/molecules/FeatureCategoryHeader/FeatureCategoryHeader.tsx +54 -54
  854. package/src/presentation/features/molecules/FeatureCategoryHeader/index.ts +2 -2
  855. package/src/presentation/features/molecules/FeatureFilters/FeatureFilters.tsx +67 -67
  856. package/src/presentation/features/molecules/FeatureFilters/types.ts +20 -20
  857. package/src/presentation/features/molecules/FeatureHoverPreview/FeatureHoverPreview.tsx +120 -121
  858. package/src/presentation/features/molecules/FeatureHoverPreview/index.ts +2 -2
  859. package/src/presentation/features/molecules/index.ts +8 -8
  860. package/src/presentation/features/organisms/FeatureDataViewsList.tsx +21 -21
  861. package/src/presentation/features/organisms/FeatureDetail/FeatureDetail.tsx +86 -86
  862. package/src/presentation/features/organisms/FeatureDetail/types.ts +4 -4
  863. package/src/presentation/features/organisms/FeatureDiscovery/FeatureDiscovery.tsx +210 -210
  864. package/src/presentation/features/organisms/FeatureDiscovery/index.ts +3 -3
  865. package/src/presentation/features/organisms/FeatureDiscovery/types.ts +10 -10
  866. package/src/presentation/features/organisms/FeatureEventsList.tsx +19 -19
  867. package/src/presentation/features/organisms/FeatureFormsList.tsx +19 -19
  868. package/src/presentation/features/organisms/FeatureOperationsList.tsx +21 -21
  869. package/src/presentation/features/organisms/FeaturePresentationsList.tsx +21 -21
  870. package/src/presentation/features/organisms/index.ts +6 -6
  871. package/src/presentation/features/templates/FeatureDataViewDetailTemplate/FeatureDataViewDetailTemplate.tsx +219 -219
  872. package/src/presentation/features/templates/FeatureDataViewDetailTemplate/types.ts +7 -7
  873. package/src/presentation/features/templates/FeatureDataViewsTemplate/FeatureDataViewsTemplate.tsx +26 -26
  874. package/src/presentation/features/templates/FeatureEventDetailTemplate/FeatureEventDetailTemplate.tsx +195 -195
  875. package/src/presentation/features/templates/FeatureEventDetailTemplate/types.ts +7 -7
  876. package/src/presentation/features/templates/FeatureEventsTemplate/FeatureEventsTemplate.tsx +26 -26
  877. package/src/presentation/features/templates/FeatureFormDetailTemplate/FeatureFormDetailTemplate.tsx +216 -216
  878. package/src/presentation/features/templates/FeatureFormDetailTemplate/types.ts +7 -7
  879. package/src/presentation/features/templates/FeatureFormsTemplate/FeatureFormsTemplate.tsx +26 -26
  880. package/src/presentation/features/templates/FeatureOperationDetailTemplate/FeatureOperationDetailTemplate.tsx +228 -228
  881. package/src/presentation/features/templates/FeatureOperationDetailTemplate/types.ts +7 -7
  882. package/src/presentation/features/templates/FeatureOperationsTemplate/FeatureOperationsTemplate.tsx +26 -26
  883. package/src/presentation/features/templates/FeatureOverviewTemplate/FeatureOverviewTemplate.tsx +24 -24
  884. package/src/presentation/features/templates/FeaturePresentationDetailTemplate/FeaturePresentationDetailTemplate.tsx +201 -201
  885. package/src/presentation/features/templates/FeaturePresentationDetailTemplate/types.ts +8 -8
  886. package/src/presentation/features/templates/FeaturePresentationsTemplate/FeaturePresentationsTemplate.tsx +26 -26
  887. package/src/presentation/features/templates/types.ts +2 -2
  888. package/tsconfig.json +12 -12
  889. package/tsdown.config.js +5 -5
@@ -11,7 +11,7 @@ function ArchitectureAppConfigPage() {
11
11
  className: "space-y-4",
12
12
  children: [
13
13
  /* @__PURE__ */ jsx("h1", {
14
- className: "text-4xl font-bold",
14
+ className: "font-bold text-4xl",
15
15
  children: "App Configuration"
16
16
  }),
17
17
  /* @__PURE__ */ jsx("p", {
@@ -24,7 +24,7 @@ function ArchitectureAppConfigPage() {
24
24
  className: "space-y-4",
25
25
  children: [
26
26
  /* @__PURE__ */ jsx("h2", {
27
- className: "text-2xl font-bold",
27
+ className: "font-bold text-2xl",
28
28
  children: "AppBlueprintSpec"
29
29
  }),
30
30
  /* @__PURE__ */ jsxs("p", {
@@ -84,7 +84,7 @@ function ArchitectureAppConfigPage() {
84
84
  className: "space-y-4",
85
85
  children: [
86
86
  /* @__PURE__ */ jsx("h2", {
87
- className: "text-2xl font-bold",
87
+ className: "font-bold text-2xl",
88
88
  children: "TenantAppConfig"
89
89
  }),
90
90
  /* @__PURE__ */ jsxs("p", {
@@ -138,7 +138,7 @@ function ArchitectureAppConfigPage() {
138
138
  className: "space-y-4",
139
139
  children: [
140
140
  /* @__PURE__ */ jsx("h2", {
141
- className: "text-2xl font-bold",
141
+ className: "font-bold text-2xl",
142
142
  children: "AppIntegrationBinding"
143
143
  }),
144
144
  /* @__PURE__ */ jsx("p", {
@@ -175,7 +175,7 @@ function ArchitectureAppConfigPage() {
175
175
  className: "space-y-4",
176
176
  children: [
177
177
  /* @__PURE__ */ jsx("h2", {
178
- className: "text-2xl font-bold",
178
+ className: "font-bold text-2xl",
179
179
  children: "AppKnowledgeBinding"
180
180
  }),
181
181
  /* @__PURE__ */ jsx("p", {
@@ -222,7 +222,7 @@ function ArchitectureAppConfigPage() {
222
222
  className: "space-y-4",
223
223
  children: [
224
224
  /* @__PURE__ */ jsx("h2", {
225
- className: "text-2xl font-bold",
225
+ className: "font-bold text-2xl",
226
226
  children: "ResolvedAppConfig"
227
227
  }),
228
228
  /* @__PURE__ */ jsxs("p", {
@@ -272,7 +272,7 @@ function ArchitectureAppConfigPage() {
272
272
  className: "space-y-4",
273
273
  children: [
274
274
  /* @__PURE__ */ jsx("h2", {
275
- className: "text-2xl font-bold",
275
+ className: "font-bold text-2xl",
276
276
  children: "Configuration flow"
277
277
  }),
278
278
  /* @__PURE__ */ jsx("p", {
@@ -280,7 +280,7 @@ function ArchitectureAppConfigPage() {
280
280
  children: "Here's how configuration flows from definition to runtime:"
281
281
  }),
282
282
  /* @__PURE__ */ jsxs("ol", {
283
- className: "text-muted-foreground list-inside list-decimal space-y-3",
283
+ className: "list-inside list-decimal space-y-3 text-muted-foreground",
284
284
  children: [
285
285
  /* @__PURE__ */ jsxs("li", {
286
286
  children: [
@@ -330,11 +330,11 @@ function ArchitectureAppConfigPage() {
330
330
  className: "space-y-4",
331
331
  children: [
332
332
  /* @__PURE__ */ jsx("h2", {
333
- className: "text-2xl font-bold",
333
+ className: "font-bold text-2xl",
334
334
  children: "Best practices"
335
335
  }),
336
336
  /* @__PURE__ */ jsxs("ul", {
337
- className: "text-muted-foreground list-inside list-disc space-y-2",
337
+ className: "list-inside list-disc space-y-2 text-muted-foreground",
338
338
  children: [
339
339
  /* @__PURE__ */ jsx("li", {
340
340
  children: "Keep AppBlueprintSpec environment-agnostic - no secrets or tenant-specific data"
@@ -392,7 +392,7 @@ function ArchitectureControlPlanePage() {
392
392
  className: "space-y-4",
393
393
  children: [
394
394
  /* @__PURE__ */ jsx2("h1", {
395
- className: "text-4xl font-bold",
395
+ className: "font-bold text-4xl",
396
396
  children: "Control Plane Runtime"
397
397
  }),
398
398
  /* @__PURE__ */ jsx2("p", {
@@ -405,11 +405,11 @@ function ArchitectureControlPlanePage() {
405
405
  className: "space-y-4",
406
406
  children: [
407
407
  /* @__PURE__ */ jsx2("h2", {
408
- className: "text-2xl font-bold",
408
+ className: "font-bold text-2xl",
409
409
  children: "Canonical execution loop"
410
410
  }),
411
411
  /* @__PURE__ */ jsxs2("ol", {
412
- className: "text-muted-foreground list-inside list-decimal space-y-2",
412
+ className: "list-inside list-decimal space-y-2 text-muted-foreground",
413
413
  children: [
414
414
  /* @__PURE__ */ jsx2("li", {
415
415
  children: "Accept intent and create execution identity + trace context."
@@ -437,7 +437,7 @@ function ArchitectureControlPlanePage() {
437
437
  className: "space-y-4",
438
438
  children: [
439
439
  /* @__PURE__ */ jsx2("h2", {
440
- className: "text-2xl font-bold",
440
+ className: "font-bold text-2xl",
441
441
  children: "Contract surfaces (v1 baseline)"
442
442
  }),
443
443
  /* @__PURE__ */ jsxs2("p", {
@@ -496,11 +496,11 @@ Capabilities
496
496
  className: "space-y-4",
497
497
  children: [
498
498
  /* @__PURE__ */ jsx2("h2", {
499
- className: "text-2xl font-bold",
499
+ className: "font-bold text-2xl",
500
500
  children: "Policy and safety posture"
501
501
  }),
502
502
  /* @__PURE__ */ jsxs2("ul", {
503
- className: "text-muted-foreground list-inside list-disc space-y-2",
503
+ className: "list-inside list-disc space-y-2 text-muted-foreground",
504
504
  children: [
505
505
  /* @__PURE__ */ jsx2("li", {
506
506
  children: "No side-effect action executes unless it comes from a compiled plan."
@@ -525,7 +525,7 @@ Capabilities
525
525
  className: "space-y-4",
526
526
  children: [
527
527
  /* @__PURE__ */ jsx2("h2", {
528
- className: "text-2xl font-bold",
528
+ className: "font-bold text-2xl",
529
529
  children: "Implementation map"
530
530
  }),
531
531
  /* @__PURE__ */ jsx2(CodeBlock2, {
@@ -547,7 +547,7 @@ implementation_plan_controle_plane.md`
547
547
  className: "space-y-4",
548
548
  children: [
549
549
  /* @__PURE__ */ jsx2("h2", {
550
- className: "text-2xl font-bold",
550
+ className: "font-bold text-2xl",
551
551
  children: "What comes next"
552
552
  }),
553
553
  /* @__PURE__ */ jsx2("p", {
@@ -593,7 +593,7 @@ function ArchitectureIntegrationBindingPage() {
593
593
  className: "space-y-4",
594
594
  children: [
595
595
  /* @__PURE__ */ jsx3("h1", {
596
- className: "text-4xl font-bold",
596
+ className: "font-bold text-4xl",
597
597
  children: "Integration Binding"
598
598
  }),
599
599
  /* @__PURE__ */ jsx3("p", {
@@ -606,7 +606,7 @@ function ArchitectureIntegrationBindingPage() {
606
606
  className: "space-y-4",
607
607
  children: [
608
608
  /* @__PURE__ */ jsx3("h2", {
609
- className: "text-2xl font-bold",
609
+ className: "font-bold text-2xl",
610
610
  children: "How it works"
611
611
  }),
612
612
  /* @__PURE__ */ jsx3("p", {
@@ -614,7 +614,7 @@ function ArchitectureIntegrationBindingPage() {
614
614
  children: "Integration binding follows a three-layer model:"
615
615
  }),
616
616
  /* @__PURE__ */ jsxs3("ol", {
617
- className: "text-muted-foreground list-inside list-decimal space-y-3",
617
+ className: "list-inside list-decimal space-y-3 text-muted-foreground",
618
618
  children: [
619
619
  /* @__PURE__ */ jsxs3("li", {
620
620
  children: [
@@ -648,7 +648,7 @@ function ArchitectureIntegrationBindingPage() {
648
648
  className: "space-y-4",
649
649
  children: [
650
650
  /* @__PURE__ */ jsx3("h2", {
651
- className: "text-2xl font-bold",
651
+ className: "font-bold text-2xl",
652
652
  children: "Example: Payment processing"
653
653
  }),
654
654
  /* @__PURE__ */ jsx3("p", {
@@ -659,7 +659,7 @@ function ArchitectureIntegrationBindingPage() {
659
659
  className: "space-y-3",
660
660
  children: [
661
661
  /* @__PURE__ */ jsx3("h3", {
662
- className: "text-lg font-semibold",
662
+ className: "font-semibold text-lg",
663
663
  children: "Step 1: Blueprint declares requirement"
664
664
  }),
665
665
  /* @__PURE__ */ jsx3(CodeBlock3, {
@@ -696,7 +696,7 @@ function ArchitectureIntegrationBindingPage() {
696
696
  className: "space-y-3",
697
697
  children: [
698
698
  /* @__PURE__ */ jsx3("h3", {
699
- className: "text-lg font-semibold",
699
+ className: "font-semibold text-lg",
700
700
  children: "Step 2: Tenant creates connection"
701
701
  }),
702
702
  /* @__PURE__ */ jsx3(CodeBlock3, {
@@ -729,7 +729,7 @@ function ArchitectureIntegrationBindingPage() {
729
729
  className: "space-y-3",
730
730
  children: [
731
731
  /* @__PURE__ */ jsx3("h3", {
732
- className: "text-lg font-semibold",
732
+ className: "font-semibold text-lg",
733
733
  children: "Step 3: TenantAppConfig binds connection"
734
734
  }),
735
735
  /* @__PURE__ */ jsx3(CodeBlock3, {
@@ -768,7 +768,7 @@ function ArchitectureIntegrationBindingPage() {
768
768
  className: "space-y-3",
769
769
  children: [
770
770
  /* @__PURE__ */ jsx3("h3", {
771
- className: "text-lg font-semibold",
771
+ className: "font-semibold text-lg",
772
772
  children: "Step 4: Runtime resolves and executes"
773
773
  }),
774
774
  /* @__PURE__ */ jsx3(CodeBlock3, {
@@ -800,7 +800,7 @@ const result = await executeCapability(
800
800
  className: "space-y-4",
801
801
  children: [
802
802
  /* @__PURE__ */ jsx3("h2", {
803
- className: "text-2xl font-bold",
803
+ className: "font-bold text-2xl",
804
804
  children: "Multi-integration scenarios"
805
805
  }),
806
806
  /* @__PURE__ */ jsx3("p", {
@@ -843,7 +843,7 @@ const result = await executeCapability(
843
843
  className: "space-y-4",
844
844
  children: [
845
845
  /* @__PURE__ */ jsx3("h2", {
846
- className: "text-2xl font-bold",
846
+ className: "font-bold text-2xl",
847
847
  children: "Sandbox vs Production"
848
848
  }),
849
849
  /* @__PURE__ */ jsx3("p", {
@@ -880,11 +880,11 @@ const result = await executeCapability(
880
880
  className: "space-y-4",
881
881
  children: [
882
882
  /* @__PURE__ */ jsx3("h2", {
883
- className: "text-2xl font-bold",
883
+ className: "font-bold text-2xl",
884
884
  children: "Security & validation"
885
885
  }),
886
886
  /* @__PURE__ */ jsxs3("ul", {
887
- className: "text-muted-foreground list-inside list-disc space-y-2",
887
+ className: "list-inside list-disc space-y-2 text-muted-foreground",
888
888
  children: [
889
889
  /* @__PURE__ */ jsx3("li", {
890
890
  children: "Integration connections are validated before binding - health checks ensure connectivity"
@@ -909,11 +909,11 @@ const result = await executeCapability(
909
909
  className: "space-y-4",
910
910
  children: [
911
911
  /* @__PURE__ */ jsx3("h2", {
912
- className: "text-2xl font-bold",
912
+ className: "font-bold text-2xl",
913
913
  children: "Best practices"
914
914
  }),
915
915
  /* @__PURE__ */ jsxs3("ul", {
916
- className: "text-muted-foreground list-inside list-disc space-y-2",
916
+ className: "list-inside list-disc space-y-2 text-muted-foreground",
917
917
  children: [
918
918
  /* @__PURE__ */ jsxs3("li", {
919
919
  children: [
@@ -977,7 +977,7 @@ function ArchitectureKnowledgeBindingPage() {
977
977
  className: "space-y-4",
978
978
  children: [
979
979
  /* @__PURE__ */ jsx4("h1", {
980
- className: "text-4xl font-bold",
980
+ className: "font-bold text-4xl",
981
981
  children: "Knowledge Binding"
982
982
  }),
983
983
  /* @__PURE__ */ jsx4("p", {
@@ -990,7 +990,7 @@ function ArchitectureKnowledgeBindingPage() {
990
990
  className: "space-y-4",
991
991
  children: [
992
992
  /* @__PURE__ */ jsx4("h2", {
993
- className: "text-2xl font-bold",
993
+ className: "font-bold text-2xl",
994
994
  children: "How it works"
995
995
  }),
996
996
  /* @__PURE__ */ jsx4("p", {
@@ -998,7 +998,7 @@ function ArchitectureKnowledgeBindingPage() {
998
998
  children: "Knowledge binding follows a three-layer model:"
999
999
  }),
1000
1000
  /* @__PURE__ */ jsxs4("ol", {
1001
- className: "text-muted-foreground list-inside list-decimal space-y-3",
1001
+ className: "list-inside list-decimal space-y-3 text-muted-foreground",
1002
1002
  children: [
1003
1003
  /* @__PURE__ */ jsxs4("li", {
1004
1004
  children: [
@@ -1032,7 +1032,7 @@ function ArchitectureKnowledgeBindingPage() {
1032
1032
  className: "space-y-4",
1033
1033
  children: [
1034
1034
  /* @__PURE__ */ jsx4("h2", {
1035
- className: "text-2xl font-bold",
1035
+ className: "font-bold text-2xl",
1036
1036
  children: "Example: Support agent with RAG"
1037
1037
  }),
1038
1038
  /* @__PURE__ */ jsx4("p", {
@@ -1043,7 +1043,7 @@ function ArchitectureKnowledgeBindingPage() {
1043
1043
  className: "space-y-3",
1044
1044
  children: [
1045
1045
  /* @__PURE__ */ jsx4("h3", {
1046
- className: "text-lg font-semibold",
1046
+ className: "font-semibold text-lg",
1047
1047
  children: "Step 1: Blueprint declares knowledge needs"
1048
1048
  }),
1049
1049
  /* @__PURE__ */ jsx4(CodeBlock4, {
@@ -1080,7 +1080,7 @@ function ArchitectureKnowledgeBindingPage() {
1080
1080
  className: "space-y-3",
1081
1081
  children: [
1082
1082
  /* @__PURE__ */ jsx4("h3", {
1083
- className: "text-lg font-semibold",
1083
+ className: "font-semibold text-lg",
1084
1084
  children: "Step 2: Tenant configures sources"
1085
1085
  }),
1086
1086
  /* @__PURE__ */ jsx4(CodeBlock4, {
@@ -1122,7 +1122,7 @@ function ArchitectureKnowledgeBindingPage() {
1122
1122
  className: "space-y-3",
1123
1123
  children: [
1124
1124
  /* @__PURE__ */ jsx4("h3", {
1125
- className: "text-lg font-semibold",
1125
+ className: "font-semibold text-lg",
1126
1126
  children: "Step 3: TenantAppConfig binds spaces"
1127
1127
  }),
1128
1128
  /* @__PURE__ */ jsx4(CodeBlock4, {
@@ -1171,7 +1171,7 @@ function ArchitectureKnowledgeBindingPage() {
1171
1171
  className: "space-y-3",
1172
1172
  children: [
1173
1173
  /* @__PURE__ */ jsx4("h3", {
1174
- className: "text-lg font-semibold",
1174
+ className: "font-semibold text-lg",
1175
1175
  children: "Step 4: Workflow uses knowledge"
1176
1176
  }),
1177
1177
  /* @__PURE__ */ jsx4(CodeBlock4, {
@@ -1228,7 +1228,7 @@ steps:
1228
1228
  className: "space-y-4",
1229
1229
  children: [
1230
1230
  /* @__PURE__ */ jsx4("h2", {
1231
- className: "text-2xl font-bold",
1231
+ className: "font-bold text-2xl",
1232
1232
  children: "Category-based access control"
1233
1233
  }),
1234
1234
  /* @__PURE__ */ jsx4("p", {
@@ -1236,7 +1236,7 @@ steps:
1236
1236
  children: "Different knowledge categories have different trust levels and access patterns:"
1237
1237
  }),
1238
1238
  /* @__PURE__ */ jsx4("div", {
1239
- className: "border-border/50 overflow-x-auto rounded-lg border",
1239
+ className: "overflow-x-auto rounded-lg border border-border/50",
1240
1240
  children: /* @__PURE__ */ jsxs4("table", {
1241
1241
  className: "w-full text-left text-sm",
1242
1242
  children: [
@@ -1265,7 +1265,7 @@ steps:
1265
1265
  })
1266
1266
  }),
1267
1267
  /* @__PURE__ */ jsxs4("tbody", {
1268
- className: "divide-border/50 divide-y",
1268
+ className: "divide-y divide-border/50",
1269
1269
  children: [
1270
1270
  /* @__PURE__ */ jsxs4("tr", {
1271
1271
  children: [
@@ -1358,7 +1358,7 @@ steps:
1358
1358
  className: "space-y-4",
1359
1359
  children: [
1360
1360
  /* @__PURE__ */ jsx4("h2", {
1361
- className: "text-2xl font-bold",
1361
+ className: "font-bold text-2xl",
1362
1362
  children: "Multi-space workflows"
1363
1363
  }),
1364
1364
  /* @__PURE__ */ jsx4("p", {
@@ -1403,11 +1403,11 @@ steps:
1403
1403
  className: "space-y-4",
1404
1404
  children: [
1405
1405
  /* @__PURE__ */ jsx4("h2", {
1406
- className: "text-2xl font-bold",
1406
+ className: "font-bold text-2xl",
1407
1407
  children: "Security & validation"
1408
1408
  }),
1409
1409
  /* @__PURE__ */ jsxs4("ul", {
1410
- className: "text-muted-foreground list-inside list-disc space-y-2",
1410
+ className: "list-inside list-disc space-y-2 text-muted-foreground",
1411
1411
  children: [
1412
1412
  /* @__PURE__ */ jsx4("li", {
1413
1413
  children: "Knowledge sources are validated before sync - credentials and permissions checked"
@@ -1432,11 +1432,11 @@ steps:
1432
1432
  className: "space-y-4",
1433
1433
  children: [
1434
1434
  /* @__PURE__ */ jsx4("h2", {
1435
- className: "text-2xl font-bold",
1435
+ className: "font-bold text-2xl",
1436
1436
  children: "Best practices"
1437
1437
  }),
1438
1438
  /* @__PURE__ */ jsxs4("ul", {
1439
- className: "text-muted-foreground list-inside list-disc space-y-2",
1439
+ className: "list-inside list-disc space-y-2 text-muted-foreground",
1440
1440
  children: [
1441
1441
  /* @__PURE__ */ jsx4("li", {
1442
1442
  children: "Use canonical spaces for policy-critical decisions, operational for suggestions"
@@ -1503,7 +1503,7 @@ function ArchitectureMultiTenancyPage() {
1503
1503
  className: "space-y-4",
1504
1504
  children: [
1505
1505
  /* @__PURE__ */ jsx5("h1", {
1506
- className: "text-4xl font-bold",
1506
+ className: "font-bold text-4xl",
1507
1507
  children: "Multi-Tenancy"
1508
1508
  }),
1509
1509
  /* @__PURE__ */ jsx5("p", {
@@ -1516,11 +1516,11 @@ function ArchitectureMultiTenancyPage() {
1516
1516
  className: "space-y-4",
1517
1517
  children: [
1518
1518
  /* @__PURE__ */ jsx5("h2", {
1519
- className: "text-2xl font-bold",
1519
+ className: "font-bold text-2xl",
1520
1520
  children: "Core Concepts"
1521
1521
  }),
1522
1522
  /* @__PURE__ */ jsxs5("ul", {
1523
- className: "text-muted-foreground list-inside list-disc space-y-2",
1523
+ className: "list-inside list-disc space-y-2 text-muted-foreground",
1524
1524
  children: [
1525
1525
  /* @__PURE__ */ jsxs5("li", {
1526
1526
  children: [
@@ -1558,7 +1558,7 @@ function ArchitectureMultiTenancyPage() {
1558
1558
  className: "space-y-4",
1559
1559
  children: [
1560
1560
  /* @__PURE__ */ jsx5("h2", {
1561
- className: "text-2xl font-bold",
1561
+ className: "font-bold text-2xl",
1562
1562
  children: "Tenant Resolution"
1563
1563
  }),
1564
1564
  /* @__PURE__ */ jsx5("p", {
@@ -1566,7 +1566,7 @@ function ArchitectureMultiTenancyPage() {
1566
1566
  children: "The runtime automatically resolves the tenant context for every request based on:"
1567
1567
  }),
1568
1568
  /* @__PURE__ */ jsxs5("ul", {
1569
- className: "text-muted-foreground list-inside list-disc space-y-2",
1569
+ className: "list-inside list-disc space-y-2 text-muted-foreground",
1570
1570
  children: [
1571
1571
  /* @__PURE__ */ jsxs5("li", {
1572
1572
  children: [
@@ -1606,7 +1606,7 @@ function ArchitectureMultiTenancyPage() {
1606
1606
  className: "space-y-4",
1607
1607
  children: [
1608
1608
  /* @__PURE__ */ jsx5("h2", {
1609
- className: "text-2xl font-bold",
1609
+ className: "font-bold text-2xl",
1610
1610
  children: "Configuration Isolation"
1611
1611
  }),
1612
1612
  /* @__PURE__ */ jsxs5("p", {
@@ -1631,7 +1631,7 @@ function ArchitectureMultiTenancyPage() {
1631
1631
  };`
1632
1632
  }),
1633
1633
  /* @__PURE__ */ jsx5("p", {
1634
- className: "text-muted-foreground mt-2",
1634
+ className: "mt-2 text-muted-foreground",
1635
1635
  children: "This allows you to customize feature flags, integration connections, and knowledge sources per tenant without changing the application code."
1636
1636
  })
1637
1637
  ]
@@ -1662,461 +1662,140 @@ function ArchitectureMultiTenancyPage() {
1662
1662
 
1663
1663
  // src/components/docs/architecture/ArchitectureOverviewPage.tsx
1664
1664
  import Link6 from "@contractspec/lib.ui-link";
1665
- import { ChevronRight as ChevronRight6 } from "lucide-react";
1666
1665
  import { jsx as jsx6, jsxs as jsxs6 } from "react/jsx-runtime";
1666
+ var layers = [
1667
+ {
1668
+ title: "Contracts and schemas",
1669
+ body: "Explicit specs define the durable boundary for behavior, data, and governance."
1670
+ },
1671
+ {
1672
+ title: "Bindings and configuration",
1673
+ body: "Apps, tenants, integrations, and knowledge sources are wired through explicit configuration instead of hidden glue."
1674
+ },
1675
+ {
1676
+ title: "Runtimes and generators",
1677
+ body: "Serve or generate aligned surfaces for API, UI, workflows, docs, and agent-facing interfaces."
1678
+ },
1679
+ {
1680
+ title: "Operate and observe",
1681
+ body: "Carry auditability, policy, tracing, migrations, and tenant isolation through the same model."
1682
+ }
1683
+ ];
1667
1684
  function ArchitectureOverviewPage() {
1668
1685
  return /* @__PURE__ */ jsxs6("div", {
1669
- className: "space-y-8",
1686
+ className: "space-y-10",
1670
1687
  children: [
1671
1688
  /* @__PURE__ */ jsxs6("div", {
1672
- className: "space-y-4",
1689
+ className: "space-y-3",
1673
1690
  children: [
1691
+ /* @__PURE__ */ jsx6("p", {
1692
+ className: "editorial-kicker",
1693
+ children: "Build"
1694
+ }),
1674
1695
  /* @__PURE__ */ jsx6("h1", {
1675
- className: "text-4xl font-bold",
1676
- children: "Architecture"
1696
+ className: "font-serif text-4xl tracking-[-0.04em] md:text-5xl",
1697
+ children: "The architecture keeps contracts, runtime behavior, and operations in the same system."
1677
1698
  }),
1678
1699
  /* @__PURE__ */ jsx6("p", {
1679
- className: "text-muted-foreground",
1680
- children: "ContractSpec's architecture is built on a foundation of typed specifications served by runtime adapters. This section covers the core architectural concepts: app configuration, integration binding, control-plane governance, and knowledge management."
1700
+ className: "max-w-3xl text-lg text-muted-foreground leading-8",
1701
+ children: "ContractSpec is not a single runtime. It is a layered system that lets you define explicit boundaries, bind real-world configuration, and then serve or generate aligned surfaces without losing control of the output."
1681
1702
  })
1682
1703
  ]
1683
1704
  }),
1684
- /* @__PURE__ */ jsxs6("div", {
1685
- className: "space-y-4",
1705
+ /* @__PURE__ */ jsx6("div", {
1706
+ className: "grid gap-4 md:grid-cols-2",
1707
+ children: layers.map((layer) => /* @__PURE__ */ jsxs6("article", {
1708
+ className: "editorial-panel space-y-3",
1709
+ children: [
1710
+ /* @__PURE__ */ jsx6("h2", {
1711
+ className: "font-semibold text-xl",
1712
+ children: layer.title
1713
+ }),
1714
+ /* @__PURE__ */ jsx6("p", {
1715
+ className: "text-muted-foreground text-sm leading-7",
1716
+ children: layer.body
1717
+ })
1718
+ ]
1719
+ }, layer.title))
1720
+ }),
1721
+ /* @__PURE__ */ jsxs6("section", {
1722
+ className: "editorial-panel space-y-5",
1686
1723
  children: [
1687
- /* @__PURE__ */ jsx6("h2", {
1688
- className: "text-2xl font-bold",
1689
- children: "Core layers"
1724
+ /* @__PURE__ */ jsxs6("div", {
1725
+ className: "space-y-2",
1726
+ children: [
1727
+ /* @__PURE__ */ jsx6("h2", {
1728
+ className: "font-serif text-3xl tracking-[-0.03em]",
1729
+ children: "Follow the architecture by responsibility"
1730
+ }),
1731
+ /* @__PURE__ */ jsx6("p", {
1732
+ className: "text-muted-foreground text-sm leading-7",
1733
+ children: "Use the architecture pages when you need to understand how the pieces snap together in a real deployment."
1734
+ })
1735
+ ]
1690
1736
  }),
1691
1737
  /* @__PURE__ */ jsxs6("div", {
1692
- className: "space-y-6",
1738
+ className: "grid gap-4 md:grid-cols-2",
1693
1739
  children: [
1694
- /* @__PURE__ */ jsxs6("div", {
1695
- className: "space-y-3",
1740
+ /* @__PURE__ */ jsxs6(Link6, {
1741
+ href: "/docs/architecture/app-config",
1742
+ className: "docs-footer-link",
1696
1743
  children: [
1697
1744
  /* @__PURE__ */ jsx6("h3", {
1698
- className: "text-xl font-semibold",
1699
- children: "1. Specification Layer"
1745
+ className: "font-semibold text-lg",
1746
+ children: "App configuration"
1700
1747
  }),
1701
1748
  /* @__PURE__ */ jsx6("p", {
1702
- className: "text-muted-foreground",
1703
- children: "The foundation of ContractSpec. Typed specifications define what your application can do:"
1704
- }),
1705
- /* @__PURE__ */ jsxs6("ul", {
1706
- className: "text-muted-foreground ml-4 list-inside list-disc space-y-2",
1707
- children: [
1708
- /* @__PURE__ */ jsxs6("li", {
1709
- children: [
1710
- /* @__PURE__ */ jsx6(Link6, {
1711
- href: "/docs/specs/capabilities",
1712
- className: "text-violet-400 hover:text-violet-300",
1713
- children: "CapabilitySpec"
1714
- }),
1715
- " ",
1716
- "- Operations and their inputs/outputs"
1717
- ]
1718
- }),
1719
- /* @__PURE__ */ jsxs6("li", {
1720
- children: [
1721
- /* @__PURE__ */ jsx6(Link6, {
1722
- href: "/docs/specs/dataviews",
1723
- className: "text-violet-400 hover:text-violet-300",
1724
- children: "DataViewSpec"
1725
- }),
1726
- " ",
1727
- "- Data queries and presentation"
1728
- ]
1729
- }),
1730
- /* @__PURE__ */ jsxs6("li", {
1731
- children: [
1732
- /* @__PURE__ */ jsx6(Link6, {
1733
- href: "/docs/specs/workflows",
1734
- className: "text-violet-400 hover:text-violet-300",
1735
- children: "WorkflowSpec"
1736
- }),
1737
- " ",
1738
- "- Multi-step processes"
1739
- ]
1740
- }),
1741
- /* @__PURE__ */ jsxs6("li", {
1742
- children: [
1743
- /* @__PURE__ */ jsx6(Link6, {
1744
- href: "/docs/specs/policy",
1745
- className: "text-violet-400 hover:text-violet-300",
1746
- children: "PolicySpec"
1747
- }),
1748
- " ",
1749
- "- Access control and data protection"
1750
- ]
1751
- }),
1752
- /* @__PURE__ */ jsxs6("li", {
1753
- children: [
1754
- /* @__PURE__ */ jsx6(Link6, {
1755
- href: "/docs/integrations/spec-model",
1756
- className: "text-violet-400 hover:text-violet-300",
1757
- children: "IntegrationSpec"
1758
- }),
1759
- " ",
1760
- "- External service providers"
1761
- ]
1762
- }),
1763
- /* @__PURE__ */ jsxs6("li", {
1764
- children: [
1765
- /* @__PURE__ */ jsx6(Link6, {
1766
- href: "/docs/knowledge/spaces",
1767
- className: "text-violet-400 hover:text-violet-300",
1768
- children: "KnowledgeSpaceSpec"
1769
- }),
1770
- " ",
1771
- "- Knowledge and context management"
1772
- ]
1773
- })
1774
- ]
1749
+ className: "text-muted-foreground text-sm leading-7",
1750
+ children: "How blueprint-level and tenant-level config stay explicit and merge safely."
1775
1751
  })
1776
1752
  ]
1777
1753
  }),
1778
- /* @__PURE__ */ jsxs6("div", {
1779
- className: "space-y-3",
1754
+ /* @__PURE__ */ jsxs6(Link6, {
1755
+ href: "/docs/architecture/integration-binding",
1756
+ className: "docs-footer-link",
1780
1757
  children: [
1781
1758
  /* @__PURE__ */ jsx6("h3", {
1782
- className: "text-xl font-semibold",
1783
- children: "2. Configuration Layer"
1759
+ className: "font-semibold text-lg",
1760
+ children: "Integration binding"
1784
1761
  }),
1785
1762
  /* @__PURE__ */ jsx6("p", {
1786
- className: "text-muted-foreground",
1787
- children: "How applications are configured and customized:"
1788
- }),
1789
- /* @__PURE__ */ jsxs6("ul", {
1790
- className: "text-muted-foreground ml-4 list-inside list-disc space-y-2",
1791
- children: [
1792
- /* @__PURE__ */ jsxs6("li", {
1793
- children: [
1794
- /* @__PURE__ */ jsx6(Link6, {
1795
- href: "/docs/architecture/app-config",
1796
- className: "text-violet-400 hover:text-violet-300",
1797
- children: "AppBlueprintSpec"
1798
- }),
1799
- " ",
1800
- "- Global, versioned app definition"
1801
- ]
1802
- }),
1803
- /* @__PURE__ */ jsxs6("li", {
1804
- children: [
1805
- /* @__PURE__ */ jsx6(Link6, {
1806
- href: "/docs/architecture/app-config",
1807
- className: "text-violet-400 hover:text-violet-300",
1808
- children: "TenantAppConfig"
1809
- }),
1810
- " ",
1811
- "- Per-tenant, per-environment configuration"
1812
- ]
1813
- }),
1814
- /* @__PURE__ */ jsxs6("li", {
1815
- children: [
1816
- /* @__PURE__ */ jsx6(Link6, {
1817
- href: "/docs/architecture/integration-binding",
1818
- className: "text-violet-400 hover:text-violet-300",
1819
- children: "AppIntegrationBinding"
1820
- }),
1821
- " ",
1822
- "- How apps use integrations"
1823
- ]
1824
- }),
1825
- /* @__PURE__ */ jsxs6("li", {
1826
- children: [
1827
- /* @__PURE__ */ jsx6(Link6, {
1828
- href: "/docs/architecture/knowledge-binding",
1829
- className: "text-violet-400 hover:text-violet-300",
1830
- children: "AppKnowledgeBinding"
1831
- }),
1832
- " ",
1833
- "- How apps access knowledge"
1834
- ]
1835
- })
1836
- ]
1763
+ className: "text-muted-foreground text-sm leading-7",
1764
+ children: "How apps connect to tenant-owned integrations without leaking provider logic everywhere."
1837
1765
  })
1838
1766
  ]
1839
1767
  }),
1840
- /* @__PURE__ */ jsxs6("div", {
1841
- className: "space-y-3",
1768
+ /* @__PURE__ */ jsxs6(Link6, {
1769
+ href: "/docs/architecture/knowledge-binding",
1770
+ className: "docs-footer-link",
1842
1771
  children: [
1843
1772
  /* @__PURE__ */ jsx6("h3", {
1844
- className: "text-xl font-semibold",
1845
- children: "3. Runtime Layer"
1773
+ className: "font-semibold text-lg",
1774
+ children: "Knowledge binding"
1846
1775
  }),
1847
1776
  /* @__PURE__ */ jsx6("p", {
1848
- className: "text-muted-foreground",
1849
- children: "How specifications are executed at runtime:"
1850
- }),
1851
- /* @__PURE__ */ jsxs6("ul", {
1852
- className: "text-muted-foreground ml-4 list-inside list-disc space-y-2",
1853
- children: [
1854
- /* @__PURE__ */ jsxs6("li", {
1855
- children: [
1856
- /* @__PURE__ */ jsx6("strong", {
1857
- children: "ResolvedAppConfig"
1858
- }),
1859
- " - Merged blueprint + tenant config"
1860
- ]
1861
- }),
1862
- /* @__PURE__ */ jsxs6("li", {
1863
- children: [
1864
- /* @__PURE__ */ jsx6("strong", {
1865
- children: "Policy Decision Point (PDP)"
1866
- }),
1867
- " - Enforces policies on every operation"
1868
- ]
1869
- }),
1870
- /* @__PURE__ */ jsxs6("li", {
1871
- children: [
1872
- /* @__PURE__ */ jsx6(Link6, {
1873
- href: "/docs/architecture/control-plane",
1874
- className: "text-violet-400 hover:text-violet-300",
1875
- children: "Control Plane Runtime"
1876
- }),
1877
- " ",
1878
- "- Deterministic intent to plan to policy to execution loop"
1879
- ]
1880
- }),
1881
- /* @__PURE__ */ jsxs6("li", {
1882
- children: [
1883
- /* @__PURE__ */ jsx6("strong", {
1884
- children: "Presentation Runtime"
1885
- }),
1886
- " - React and React Native renderers"
1887
- ]
1888
- }),
1889
- /* @__PURE__ */ jsxs6("li", {
1890
- children: [
1891
- /* @__PURE__ */ jsx6("strong", {
1892
- children: "Integration Connectors"
1893
- }),
1894
- " - Execute external API calls"
1895
- ]
1896
- }),
1897
- /* @__PURE__ */ jsxs6("li", {
1898
- children: [
1899
- /* @__PURE__ */ jsx6("strong", {
1900
- children: "Knowledge Retrieval"
1901
- }),
1902
- " - Query vector databases and knowledge sources"
1903
- ]
1904
- })
1905
- ]
1777
+ className: "text-muted-foreground text-sm leading-7",
1778
+ children: "How trusted knowledge enters the system and stays isolated by context and tenant."
1906
1779
  })
1907
1780
  ]
1908
- })
1909
- ]
1910
- })
1911
- ]
1912
- }),
1913
- /* @__PURE__ */ jsxs6("div", {
1914
- className: "space-y-4",
1915
- children: [
1916
- /* @__PURE__ */ jsx6("h2", {
1917
- className: "text-2xl font-bold",
1918
- children: "Configuration model"
1919
- }),
1920
- /* @__PURE__ */ jsx6("p", {
1921
- className: "text-muted-foreground",
1922
- children: "ContractSpec uses a three-tier configuration model:"
1923
- }),
1924
- /* @__PURE__ */ jsx6("div", {
1925
- className: "border-border/50 overflow-x-auto rounded-lg border",
1926
- children: /* @__PURE__ */ jsxs6("table", {
1927
- className: "w-full text-left text-sm",
1928
- children: [
1929
- /* @__PURE__ */ jsx6("thead", {
1930
- className: "bg-card/50",
1931
- children: /* @__PURE__ */ jsxs6("tr", {
1932
- className: "border-border/50 border-b",
1933
- children: [
1934
- /* @__PURE__ */ jsx6("th", {
1935
- className: "px-4 py-3 font-semibold",
1936
- children: "Layer"
1937
- }),
1938
- /* @__PURE__ */ jsx6("th", {
1939
- className: "px-4 py-3 font-semibold",
1940
- children: "Type"
1941
- }),
1942
- /* @__PURE__ */ jsx6("th", {
1943
- className: "px-4 py-3 font-semibold",
1944
- children: "Scope"
1945
- }),
1946
- /* @__PURE__ */ jsx6("th", {
1947
- className: "px-4 py-3 font-semibold",
1948
- children: "Storage"
1949
- })
1950
- ]
1951
- })
1952
- }),
1953
- /* @__PURE__ */ jsxs6("tbody", {
1954
- className: "divide-border/50 divide-y",
1955
- children: [
1956
- /* @__PURE__ */ jsxs6("tr", {
1957
- children: [
1958
- /* @__PURE__ */ jsx6("td", {
1959
- className: "px-4 py-3 align-top",
1960
- children: /* @__PURE__ */ jsx6("strong", {
1961
- children: "Blueprint"
1962
- })
1963
- }),
1964
- /* @__PURE__ */ jsx6("td", {
1965
- className: "px-4 py-3 align-top font-mono text-xs",
1966
- children: "AppBlueprintSpec"
1967
- }),
1968
- /* @__PURE__ */ jsx6("td", {
1969
- className: "px-4 py-3 align-top",
1970
- children: "Global, versioned, no tenant info"
1971
- }),
1972
- /* @__PURE__ */ jsx6("td", {
1973
- className: "px-4 py-3 align-top",
1974
- children: "Version control, immutable"
1975
- })
1976
- ]
1977
- }),
1978
- /* @__PURE__ */ jsxs6("tr", {
1979
- children: [
1980
- /* @__PURE__ */ jsx6("td", {
1981
- className: "px-4 py-3 align-top",
1982
- children: /* @__PURE__ */ jsx6("strong", {
1983
- children: "Tenant Config"
1984
- })
1985
- }),
1986
- /* @__PURE__ */ jsx6("td", {
1987
- className: "px-4 py-3 align-top font-mono text-xs",
1988
- children: "TenantAppConfig"
1989
- }),
1990
- /* @__PURE__ */ jsx6("td", {
1991
- className: "px-4 py-3 align-top",
1992
- children: "Per-tenant, per-environment"
1993
- }),
1994
- /* @__PURE__ */ jsx6("td", {
1995
- className: "px-4 py-3 align-top",
1996
- children: "Database, mutable"
1997
- })
1998
- ]
1999
- }),
2000
- /* @__PURE__ */ jsxs6("tr", {
2001
- children: [
2002
- /* @__PURE__ */ jsx6("td", {
2003
- className: "px-4 py-3 align-top",
2004
- children: /* @__PURE__ */ jsx6("strong", {
2005
- children: "Resolved Config"
2006
- })
2007
- }),
2008
- /* @__PURE__ */ jsx6("td", {
2009
- className: "px-4 py-3 align-top font-mono text-xs",
2010
- children: "ResolvedAppConfig"
2011
- }),
2012
- /* @__PURE__ */ jsx6("td", {
2013
- className: "px-4 py-3 align-top",
2014
- children: "Runtime, ephemeral"
2015
- }),
2016
- /* @__PURE__ */ jsx6("td", {
2017
- className: "px-4 py-3 align-top",
2018
- children: "In-memory, not persisted"
2019
- })
2020
- ]
2021
- })
2022
- ]
2023
- })
2024
- ]
2025
- })
2026
- })
2027
- ]
2028
- }),
2029
- /* @__PURE__ */ jsxs6("div", {
2030
- className: "space-y-4",
2031
- children: [
2032
- /* @__PURE__ */ jsx6("h2", {
2033
- className: "text-2xl font-bold",
2034
- children: "Key architectural principles"
2035
- }),
2036
- /* @__PURE__ */ jsxs6("ul", {
2037
- className: "text-muted-foreground list-inside list-disc space-y-2",
2038
- children: [
2039
- /* @__PURE__ */ jsxs6("li", {
2040
- children: [
2041
- /* @__PURE__ */ jsx6("strong", {
2042
- children: "Spec-first"
2043
- }),
2044
- " - Everything is defined declaratively before code generation"
2045
- ]
2046
1781
  }),
2047
- /* @__PURE__ */ jsxs6("li", {
1782
+ /* @__PURE__ */ jsxs6(Link6, {
1783
+ href: "/docs/architecture/control-plane",
1784
+ className: "docs-footer-link",
2048
1785
  children: [
2049
- /* @__PURE__ */ jsx6("strong", {
2050
- children: "Type-safe"
2051
- }),
2052
- " - All specifications are strongly typed and validated at compile time"
2053
- ]
2054
- }),
2055
- /* @__PURE__ */ jsxs6("li", {
2056
- children: [
2057
- /* @__PURE__ */ jsx6("strong", {
2058
- children: "Policy-enforced"
2059
- }),
2060
- " - Every operation passes through the PDP"
2061
- ]
2062
- }),
2063
- /* @__PURE__ */ jsxs6("li", {
2064
- children: [
2065
- /* @__PURE__ */ jsx6("strong", {
2066
- children: "Multi-tenant by default"
2067
- }),
2068
- " - Tenant isolation is built-in, not bolted on"
2069
- ]
2070
- }),
2071
- /* @__PURE__ */ jsxs6("li", {
2072
- children: [
2073
- /* @__PURE__ */ jsx6("strong", {
2074
- children: "Environment-aware"
2075
- }),
2076
- " - Separate configurations for sandbox, staging, production"
2077
- ]
2078
- }),
2079
- /* @__PURE__ */ jsxs6("li", {
2080
- children: [
2081
- /* @__PURE__ */ jsx6("strong", {
2082
- children: "Auditable"
1786
+ /* @__PURE__ */ jsx6("h3", {
1787
+ className: "font-semibold text-lg",
1788
+ children: "Control plane runtime"
2083
1789
  }),
2084
- " - All operations are logged for compliance and debugging"
1790
+ /* @__PURE__ */ jsx6("p", {
1791
+ className: "text-muted-foreground text-sm leading-7",
1792
+ children: "How intent, policy, planning, and execution flow through the system runtime."
1793
+ })
2085
1794
  ]
2086
1795
  })
2087
1796
  ]
2088
1797
  })
2089
1798
  ]
2090
- }),
2091
- /* @__PURE__ */ jsxs6("div", {
2092
- className: "flex items-center gap-4 pt-4",
2093
- children: [
2094
- /* @__PURE__ */ jsxs6(Link6, {
2095
- href: "/docs/architecture/app-config",
2096
- className: "btn-primary",
2097
- children: [
2098
- "App Configuration ",
2099
- /* @__PURE__ */ jsx6(ChevronRight6, {
2100
- size: 16
2101
- })
2102
- ]
2103
- }),
2104
- /* @__PURE__ */ jsx6(Link6, {
2105
- href: "/docs/architecture/control-plane",
2106
- className: "btn-ghost",
2107
- children: "Control Plane Runtime"
2108
- }),
2109
- /* @__PURE__ */ jsx6(Link6, {
2110
- href: "/docs/integrations",
2111
- className: "btn-ghost",
2112
- children: "Integrations"
2113
- }),
2114
- /* @__PURE__ */ jsx6(Link6, {
2115
- href: "/docs/knowledge",
2116
- className: "btn-ghost",
2117
- children: "Knowledge & Context"
2118
- })
2119
- ]
2120
1799
  })
2121
1800
  ]
2122
1801
  });