@contractspec/bundle.library 3.7.6 → 3.8.2

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