@contractspec/bundle.library 3.7.6 → 3.7.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (889) hide show
  1. package/.turbo/turbo-build.log +144 -142
  2. package/AGENTS.md +42 -24
  3. package/README.md +59 -37
  4. package/dist/application/index.d.ts +1 -1
  5. package/dist/application/index.js +842 -840
  6. package/dist/application/mcp/cliMcp.js +30 -30
  7. package/dist/application/mcp/common.d.ts +2 -2
  8. package/dist/application/mcp/common.js +2 -2
  9. package/dist/application/mcp/contractsMcp.d.ts +1 -1
  10. package/dist/application/mcp/contractsMcp.js +163 -163
  11. package/dist/application/mcp/docsMcp.js +31 -31
  12. package/dist/application/mcp/index.d.ts +2 -2
  13. package/dist/application/mcp/index.js +842 -840
  14. package/dist/application/mcp/internalMcp.js +30 -30
  15. package/dist/application/mcp/providerRankingMcp.js +35 -33
  16. package/dist/components/docs/DocsIndexPage.js +859 -212
  17. package/dist/components/docs/advanced/AdvancedMCPPage.js +15 -15
  18. package/dist/components/docs/advanced/AdvancedOverlayEditorPage.js +4 -4
  19. package/dist/components/docs/advanced/AdvancedRenderersPage.js +7 -7
  20. package/dist/components/docs/advanced/AdvancedSpecExperimentsPage.js +9 -9
  21. package/dist/components/docs/advanced/AdvancedTelemetryPage.js +16 -16
  22. package/dist/components/docs/advanced/AdvancedWorkflowMonitoringPage.js +6 -6
  23. package/dist/components/docs/advanced/index.d.ts +2 -2
  24. package/dist/components/docs/advanced/index.js +57 -57
  25. package/dist/components/docs/architecture/ArchitectureAppConfigPage.js +10 -10
  26. package/dist/components/docs/architecture/ArchitectureControlPlanePage.js +8 -8
  27. package/dist/components/docs/architecture/ArchitectureIntegrationBindingPage.js +14 -14
  28. package/dist/components/docs/architecture/ArchitectureKnowledgeBindingPage.js +16 -16
  29. package/dist/components/docs/architecture/ArchitectureMultiTenancyPage.js +7 -7
  30. package/dist/components/docs/architecture/ArchitectureOverviewPage.js +90 -411
  31. package/dist/components/docs/architecture/index.d.ts +3 -3
  32. package/dist/components/docs/architecture/index.js +145 -466
  33. package/dist/components/docs/comparison/ComparisonAutomationPlatformsPage.js +6 -6
  34. package/dist/components/docs/comparison/ComparisonEnterprisePlatformsPage.js +7 -7
  35. package/dist/components/docs/comparison/ComparisonInternalToolBuildersPage.js +6 -6
  36. package/dist/components/docs/comparison/ComparisonOverviewPage.js +4 -4
  37. package/dist/components/docs/comparison/ComparisonWindmillPage.js +6 -6
  38. package/dist/components/docs/comparison/ComparisonWorkflowEnginesPage.js +6 -6
  39. package/dist/components/docs/comparison/index.d.ts +2 -2
  40. package/dist/components/docs/comparison/index.js +35 -35
  41. package/dist/components/docs/docsManifest.d.ts +42 -0
  42. package/dist/components/docs/docsManifest.js +612 -0
  43. package/dist/components/docs/ecosystem/IntegrationsPage.js +5 -5
  44. package/dist/components/docs/ecosystem/PluginsPage.js +7 -7
  45. package/dist/components/docs/ecosystem/RegistryPage.js +4 -4
  46. package/dist/components/docs/ecosystem/TemplatesPage.js +11 -11
  47. package/dist/components/docs/ecosystem/index.d.ts +2 -2
  48. package/dist/components/docs/ecosystem/index.js +27 -27
  49. package/dist/components/docs/examples/DocsExamplesPage.js +4 -4
  50. package/dist/components/docs/examples/index.js +4 -4
  51. package/dist/components/docs/getting-started/CLIPage.js +9 -9
  52. package/dist/components/docs/getting-started/CompatibilityPage.js +12 -12
  53. package/dist/components/docs/getting-started/DataViewTutorialPage.js +7 -7
  54. package/dist/components/docs/getting-started/DeveloperToolsPage.js +10 -10
  55. package/dist/components/docs/getting-started/HelloWorldPage.js +8 -8
  56. package/dist/components/docs/getting-started/InstallationPage.js +10 -10
  57. package/dist/components/docs/getting-started/StartHerePage.js +8 -8
  58. package/dist/components/docs/getting-started/TroubleshootingPage.js +12 -12
  59. package/dist/components/docs/getting-started/VSCodeExtensionPage.js +13 -13
  60. package/dist/components/docs/getting-started/index.d.ts +5 -5
  61. package/dist/components/docs/getting-started/index.js +89 -89
  62. package/dist/components/docs/guides/GuideCIDiffGatingPage.js +13 -13
  63. package/dist/components/docs/guides/GuideContractTypesPage.js +33 -33
  64. package/dist/components/docs/guides/GuideDocsPipelinePage.js +13 -13
  65. package/dist/components/docs/guides/GuideGenerateDocsClientsSchemasPage.js +13 -13
  66. package/dist/components/docs/guides/GuideImportExistingCodebasesPage.js +35 -35
  67. package/dist/components/docs/guides/GuideNextjsOneEndpointPage.js +15 -15
  68. package/dist/components/docs/guides/GuideSpecValidationTypingPage.js +13 -13
  69. package/dist/components/docs/guides/GuidesIndexPage.js +69 -46
  70. package/dist/components/docs/guides/index.d.ts +4 -4
  71. package/dist/components/docs/guides/index.js +174 -151
  72. package/dist/components/docs/index.d.ts +13 -12
  73. package/dist/components/docs/index.js +14060 -15332
  74. package/dist/components/docs/integrations/IntegrationsCircuitBreakersPage.js +4 -4
  75. package/dist/components/docs/integrations/IntegrationsElevenLabsPage.js +7 -7
  76. package/dist/components/docs/integrations/IntegrationsGithubPage.js +11 -11
  77. package/dist/components/docs/integrations/IntegrationsGmailPage.js +7 -7
  78. package/dist/components/docs/integrations/IntegrationsGoogleCalendarPage.js +5 -5
  79. package/dist/components/docs/integrations/IntegrationsHealthRoutingPage.js +12 -12
  80. package/dist/components/docs/integrations/IntegrationsMistralPage.js +12 -12
  81. package/dist/components/docs/integrations/IntegrationsOpenAIPage.js +11 -11
  82. package/dist/components/docs/integrations/IntegrationsOverviewPage.js +119 -736
  83. package/dist/components/docs/integrations/IntegrationsPostmarkPage.js +12 -12
  84. package/dist/components/docs/integrations/IntegrationsPowensPage.js +24 -24
  85. package/dist/components/docs/integrations/IntegrationsQdrantPage.js +9 -9
  86. package/dist/components/docs/integrations/IntegrationsResendPage.js +7 -7
  87. package/dist/components/docs/integrations/IntegrationsS3Page.js +9 -9
  88. package/dist/components/docs/integrations/IntegrationsSlackPage.js +11 -11
  89. package/dist/components/docs/integrations/IntegrationsSpecModelPage.js +19 -19
  90. package/dist/components/docs/integrations/IntegrationsStripePage.js +25 -25
  91. package/dist/components/docs/integrations/IntegrationsTwilioPage.js +9 -9
  92. package/dist/components/docs/integrations/IntegrationsWhatsappMetaPage.js +12 -12
  93. package/dist/components/docs/integrations/IntegrationsWhatsappTwilioPage.js +13 -13
  94. package/dist/components/docs/integrations/index.d.ts +1 -1
  95. package/dist/components/docs/integrations/index.js +614 -1231
  96. package/dist/components/docs/intent/ContractFirstApiPage.js +8 -8
  97. package/dist/components/docs/intent/DeterministicCodegenPage.js +9 -9
  98. package/dist/components/docs/intent/GenerateClientFromSchemaPage.js +13 -13
  99. package/dist/components/docs/intent/OpenapiAlternativePage.js +13 -13
  100. package/dist/components/docs/intent/SchemaValidationTypescriptPage.js +9 -9
  101. package/dist/components/docs/intent/SpecDrivenDevelopmentPage.js +8 -8
  102. package/dist/components/docs/intent/index.d.ts +3 -3
  103. package/dist/components/docs/intent/index.js +766 -766
  104. package/dist/components/docs/knowledge/KnowledgeCategoriesPage.js +38 -38
  105. package/dist/components/docs/knowledge/KnowledgeExamplesPage.js +9 -9
  106. package/dist/components/docs/knowledge/KnowledgeOverviewPage.js +91 -439
  107. package/dist/components/docs/knowledge/KnowledgeSourcesPage.js +28 -28
  108. package/dist/components/docs/knowledge/KnowledgeSpacesPage.js +21 -21
  109. package/dist/components/docs/knowledge/index.d.ts +1 -1
  110. package/dist/components/docs/knowledge/index.js +437 -785
  111. package/dist/components/docs/libraries/LibrariesAccessibilityPage.js +16 -16
  112. package/dist/components/docs/libraries/LibrariesAiAgentPage.js +8 -8
  113. package/dist/components/docs/libraries/LibrariesAnalyticsPage.js +6 -6
  114. package/dist/components/docs/libraries/LibrariesContentGenPage.js +6 -6
  115. package/dist/components/docs/libraries/LibrariesContractsPage.js +16 -16
  116. package/dist/components/docs/libraries/LibrariesCostTrackingPage.js +6 -6
  117. package/dist/components/docs/libraries/LibrariesDataBackendPage.js +14 -14
  118. package/dist/components/docs/libraries/LibrariesDataViewsPage.js +7 -7
  119. package/dist/components/docs/libraries/LibrariesDesignSystemPage.js +13 -13
  120. package/dist/components/docs/libraries/LibrariesEvolutionPage.js +7 -7
  121. package/dist/components/docs/libraries/LibrariesGraphQLPage.js +13 -13
  122. package/dist/components/docs/libraries/LibrariesGrowthPage.js +5 -5
  123. package/dist/components/docs/libraries/LibrariesMultiTenancyPage.js +5 -5
  124. package/dist/components/docs/libraries/LibrariesObservabilityPage.js +7 -7
  125. package/dist/components/docs/libraries/LibrariesOverlayEnginePage.js +6 -6
  126. package/dist/components/docs/libraries/LibrariesOverviewPage.js +117 -430
  127. package/dist/components/docs/libraries/LibrariesPersonalizationPage.js +6 -6
  128. package/dist/components/docs/libraries/LibrariesProgressiveDeliveryPage.js +6 -6
  129. package/dist/components/docs/libraries/LibrariesResiliencePage.js +6 -6
  130. package/dist/components/docs/libraries/LibrariesRuntimePage.js +13 -13
  131. package/dist/components/docs/libraries/LibrariesSLOPage.js +6 -6
  132. package/dist/components/docs/libraries/LibrariesSchemaPage.js +16 -16
  133. package/dist/components/docs/libraries/LibrariesSupportBotPage.js +7 -7
  134. package/dist/components/docs/libraries/LibrariesTestingPage.js +7 -7
  135. package/dist/components/docs/libraries/LibrariesUIKitPage.js +10 -10
  136. package/dist/components/docs/libraries/LibrariesWorkflowComposerPage.js +5 -5
  137. package/dist/components/docs/libraries/LibrariesWorkflowsPage.js +8 -8
  138. package/dist/components/docs/libraries/index.d.ts +4 -4
  139. package/dist/components/docs/libraries/index.js +1308 -1621
  140. package/dist/components/docs/manifesto/ManifestoPage.js +33 -138
  141. package/dist/components/docs/ops/AutoEvolutionOpsPage.js +9 -9
  142. package/dist/components/docs/ops/DistributedTracingOpsPage.js +5 -5
  143. package/dist/components/docs/ops/index.js +14 -14
  144. package/dist/components/docs/reference/DocsMarkdownContent.js +1 -1
  145. package/dist/components/docs/reference/DocsReferenceContent.js +2 -2
  146. package/dist/components/docs/reference/DocsReferenceIndexClient.js +8 -8
  147. package/dist/components/docs/reference/DocsReferenceIndexPage.js +8 -8
  148. package/dist/components/docs/reference/DocsReferencePage.js +2 -2
  149. package/dist/components/docs/reference/index.js +10 -10
  150. package/dist/components/docs/safety/SafetyAuditingPage.js +16 -16
  151. package/dist/components/docs/safety/SafetyMigrationsPage.js +15 -15
  152. package/dist/components/docs/safety/SafetyOverviewPage.js +69 -206
  153. package/dist/components/docs/safety/SafetyPDPPage.js +12 -12
  154. package/dist/components/docs/safety/SafetySecurityTrustPage.js +11 -11
  155. package/dist/components/docs/safety/SafetySigningPage.js +7 -7
  156. package/dist/components/docs/safety/SafetyTenantIsolationPage.js +6 -6
  157. package/dist/components/docs/safety/index.d.ts +3 -3
  158. package/dist/components/docs/safety/index.js +616 -753
  159. package/dist/components/docs/shared/StudioPrompt.js +5 -5
  160. package/dist/components/docs/specs/SpecsCapabilitiesPage.js +12 -12
  161. package/dist/components/docs/specs/SpecsDataViewsPage.js +14 -14
  162. package/dist/components/docs/specs/SpecsOverlaysPage.js +14 -14
  163. package/dist/components/docs/specs/SpecsOverviewPage.js +135 -297
  164. package/dist/components/docs/specs/SpecsPolicyPage.js +29 -29
  165. package/dist/components/docs/specs/SpecsWorkflowsPage.js +18 -18
  166. package/dist/components/docs/specs/index.d.ts +3 -3
  167. package/dist/components/docs/specs/index.js +814 -976
  168. package/dist/components/docs/studio/StudioBYOKPage.js +1 -1
  169. package/dist/components/docs/studio/StudioDeploymentsPage.js +1 -1
  170. package/dist/components/docs/studio/StudioGettingStartedPage.js +1 -1
  171. package/dist/components/docs/studio/StudioIntegrationsPage.js +1 -1
  172. package/dist/components/docs/studio/StudioOverviewPage.js +109 -56
  173. package/dist/components/docs/studio/StudioVisualBuilderPage.js +1 -1
  174. package/dist/components/docs/studio/index.d.ts +4 -4
  175. package/dist/components/docs/studio/index.js +170 -117
  176. package/dist/components/integrations/index.js +25 -25
  177. package/dist/components/integrations/molecules/IntegrationCard.js +5 -5
  178. package/dist/components/integrations/organisms/IntegrationMarketplace.js +12 -12
  179. package/dist/components/integrations/organisms/IntegrationSettings.js +7 -7
  180. package/dist/components/integrations/organisms/KnowledgeSourceList.js +6 -6
  181. package/dist/components/legal/PrivacyTemplate.js +67 -67
  182. package/dist/components/legal/TermsTemplate.js +54 -54
  183. package/dist/components/legal/index.js +121 -121
  184. package/dist/components/shared/FeatureGateNotice.js +4 -4
  185. package/dist/components/shared/index.js +4 -4
  186. package/dist/components/shell/WorkspaceHeader.js +4 -4
  187. package/dist/components/shell/WorkspaceProjectShellLayout.d.ts +3 -3
  188. package/dist/components/shell/WorkspaceProjectShellLayout.js +10 -10
  189. package/dist/components/shell/WorkspaceShellRenderer.d.ts +4 -4
  190. package/dist/components/shell/WorkspaceShellRenderer.js +8 -8
  191. package/dist/components/shell/WorkspaceSidebar.js +2 -2
  192. package/dist/components/shell/index.d.ts +1 -1
  193. package/dist/components/shell/index.js +12 -12
  194. package/dist/components/templates/engine/index.d.ts +1 -1
  195. package/dist/components/templates/index.d.ts +1 -1
  196. package/dist/components/templates/index.js +835 -835
  197. package/dist/components/templates/messaging/ConversationList.js +11 -11
  198. package/dist/components/templates/messaging/MessageComposer.js +11 -11
  199. package/dist/components/templates/messaging/MessageThread.js +6 -6
  200. package/dist/components/templates/messaging/MessagingWorkspace.js +23 -23
  201. package/dist/components/templates/messaging/index.d.ts +1 -1
  202. package/dist/components/templates/messaging/index.js +23 -23
  203. package/dist/components/templates/recipes/LanguageSwitcher.js +1 -1
  204. package/dist/components/templates/recipes/RecipeCard.js +5 -5
  205. package/dist/components/templates/recipes/RecipeDetail.js +8 -8
  206. package/dist/components/templates/recipes/RecipeList.js +17 -17
  207. package/dist/components/templates/recipes/index.d.ts +2 -2
  208. package/dist/components/templates/recipes/index.js +17 -17
  209. package/dist/components/templates/todos/FilterBar.d.ts +1 -1
  210. package/dist/components/templates/todos/FilterBar.js +9 -9
  211. package/dist/components/templates/todos/TaskForm.js +14 -14
  212. package/dist/components/templates/todos/TaskItem.js +4 -4
  213. package/dist/components/templates/todos/TaskList.js +30 -30
  214. package/dist/components/templates/todos/index.d.ts +2 -2
  215. package/dist/components/templates/todos/index.js +30 -30
  216. package/dist/config/index.d.ts +2 -2
  217. package/dist/features/contracts-registry.d.ts +3 -3
  218. package/dist/features/contracts-registry.js +15 -15
  219. package/dist/features/docs/docs.contracts.d.ts +1 -1
  220. package/dist/features/docs/docs.contracts.js +2 -2
  221. package/dist/features/docs/index.d.ts +1 -1
  222. package/dist/features/docs/index.js +2 -2
  223. package/dist/features/index.d.ts +4 -4
  224. package/dist/features/index.js +18 -18
  225. package/dist/features/registry.js +1 -1
  226. package/dist/index.d.ts +2 -2
  227. package/dist/index.js +14982 -16254
  228. package/dist/libs/email/client.js +1 -1
  229. package/dist/libs/email/contact.js +1 -1
  230. package/dist/libs/email/newsletter.js +1 -1
  231. package/dist/libs/email/waitlist-application.js +1 -1
  232. package/dist/libs/email/waitlist.js +1 -1
  233. package/dist/libs/email.d.ts +1 -1
  234. package/dist/libs/email.js +1 -1
  235. package/dist/node/application/index.js +842 -840
  236. package/dist/node/application/mcp/cliMcp.js +30 -30
  237. package/dist/node/application/mcp/common.js +2 -2
  238. package/dist/node/application/mcp/contractsMcp.js +163 -163
  239. package/dist/node/application/mcp/docsMcp.js +31 -31
  240. package/dist/node/application/mcp/index.js +842 -840
  241. package/dist/node/application/mcp/internalMcp.js +30 -30
  242. package/dist/node/application/mcp/providerRankingMcp.js +35 -33
  243. package/dist/node/components/docs/DocsIndexPage.js +859 -212
  244. package/dist/node/components/docs/advanced/AdvancedMCPPage.js +15 -15
  245. package/dist/node/components/docs/advanced/AdvancedOverlayEditorPage.js +4 -4
  246. package/dist/node/components/docs/advanced/AdvancedRenderersPage.js +7 -7
  247. package/dist/node/components/docs/advanced/AdvancedSpecExperimentsPage.js +9 -9
  248. package/dist/node/components/docs/advanced/AdvancedTelemetryPage.js +16 -16
  249. package/dist/node/components/docs/advanced/AdvancedWorkflowMonitoringPage.js +6 -6
  250. package/dist/node/components/docs/advanced/index.js +57 -57
  251. package/dist/node/components/docs/architecture/ArchitectureAppConfigPage.js +10 -10
  252. package/dist/node/components/docs/architecture/ArchitectureControlPlanePage.js +8 -8
  253. package/dist/node/components/docs/architecture/ArchitectureIntegrationBindingPage.js +14 -14
  254. package/dist/node/components/docs/architecture/ArchitectureKnowledgeBindingPage.js +16 -16
  255. package/dist/node/components/docs/architecture/ArchitectureMultiTenancyPage.js +7 -7
  256. package/dist/node/components/docs/architecture/ArchitectureOverviewPage.js +90 -411
  257. package/dist/node/components/docs/architecture/index.js +145 -466
  258. package/dist/node/components/docs/comparison/ComparisonAutomationPlatformsPage.js +6 -6
  259. package/dist/node/components/docs/comparison/ComparisonEnterprisePlatformsPage.js +7 -7
  260. package/dist/node/components/docs/comparison/ComparisonInternalToolBuildersPage.js +6 -6
  261. package/dist/node/components/docs/comparison/ComparisonOverviewPage.js +4 -4
  262. package/dist/node/components/docs/comparison/ComparisonWindmillPage.js +6 -6
  263. package/dist/node/components/docs/comparison/ComparisonWorkflowEnginesPage.js +6 -6
  264. package/dist/node/components/docs/comparison/index.js +35 -35
  265. package/dist/node/components/docs/docsManifest.js +611 -0
  266. package/dist/node/components/docs/ecosystem/IntegrationsPage.js +5 -5
  267. package/dist/node/components/docs/ecosystem/PluginsPage.js +7 -7
  268. package/dist/node/components/docs/ecosystem/RegistryPage.js +4 -4
  269. package/dist/node/components/docs/ecosystem/TemplatesPage.js +11 -11
  270. package/dist/node/components/docs/ecosystem/index.js +27 -27
  271. package/dist/node/components/docs/examples/DocsExamplesPage.js +4 -4
  272. package/dist/node/components/docs/examples/index.js +4 -4
  273. package/dist/node/components/docs/getting-started/CLIPage.js +9 -9
  274. package/dist/node/components/docs/getting-started/CompatibilityPage.js +12 -12
  275. package/dist/node/components/docs/getting-started/DataViewTutorialPage.js +7 -7
  276. package/dist/node/components/docs/getting-started/DeveloperToolsPage.js +10 -10
  277. package/dist/node/components/docs/getting-started/HelloWorldPage.js +8 -8
  278. package/dist/node/components/docs/getting-started/InstallationPage.js +10 -10
  279. package/dist/node/components/docs/getting-started/StartHerePage.js +8 -8
  280. package/dist/node/components/docs/getting-started/TroubleshootingPage.js +12 -12
  281. package/dist/node/components/docs/getting-started/VSCodeExtensionPage.js +13 -13
  282. package/dist/node/components/docs/getting-started/index.js +89 -89
  283. package/dist/node/components/docs/guides/GuideCIDiffGatingPage.js +13 -13
  284. package/dist/node/components/docs/guides/GuideContractTypesPage.js +33 -33
  285. package/dist/node/components/docs/guides/GuideDocsPipelinePage.js +13 -13
  286. package/dist/node/components/docs/guides/GuideGenerateDocsClientsSchemasPage.js +13 -13
  287. package/dist/node/components/docs/guides/GuideImportExistingCodebasesPage.js +35 -35
  288. package/dist/node/components/docs/guides/GuideNextjsOneEndpointPage.js +15 -15
  289. package/dist/node/components/docs/guides/GuideSpecValidationTypingPage.js +13 -13
  290. package/dist/node/components/docs/guides/GuidesIndexPage.js +69 -46
  291. package/dist/node/components/docs/guides/index.js +174 -151
  292. package/dist/node/components/docs/index.js +14060 -15332
  293. package/dist/node/components/docs/integrations/IntegrationsCircuitBreakersPage.js +4 -4
  294. package/dist/node/components/docs/integrations/IntegrationsElevenLabsPage.js +7 -7
  295. package/dist/node/components/docs/integrations/IntegrationsGithubPage.js +11 -11
  296. package/dist/node/components/docs/integrations/IntegrationsGmailPage.js +7 -7
  297. package/dist/node/components/docs/integrations/IntegrationsGoogleCalendarPage.js +5 -5
  298. package/dist/node/components/docs/integrations/IntegrationsHealthRoutingPage.js +12 -12
  299. package/dist/node/components/docs/integrations/IntegrationsMistralPage.js +12 -12
  300. package/dist/node/components/docs/integrations/IntegrationsOpenAIPage.js +11 -11
  301. package/dist/node/components/docs/integrations/IntegrationsOverviewPage.js +119 -736
  302. package/dist/node/components/docs/integrations/IntegrationsPostmarkPage.js +12 -12
  303. package/dist/node/components/docs/integrations/IntegrationsPowensPage.js +24 -24
  304. package/dist/node/components/docs/integrations/IntegrationsQdrantPage.js +9 -9
  305. package/dist/node/components/docs/integrations/IntegrationsResendPage.js +7 -7
  306. package/dist/node/components/docs/integrations/IntegrationsS3Page.js +9 -9
  307. package/dist/node/components/docs/integrations/IntegrationsSlackPage.js +11 -11
  308. package/dist/node/components/docs/integrations/IntegrationsSpecModelPage.js +19 -19
  309. package/dist/node/components/docs/integrations/IntegrationsStripePage.js +25 -25
  310. package/dist/node/components/docs/integrations/IntegrationsTwilioPage.js +9 -9
  311. package/dist/node/components/docs/integrations/IntegrationsWhatsappMetaPage.js +12 -12
  312. package/dist/node/components/docs/integrations/IntegrationsWhatsappTwilioPage.js +13 -13
  313. package/dist/node/components/docs/integrations/index.js +614 -1231
  314. package/dist/node/components/docs/intent/ContractFirstApiPage.js +8 -8
  315. package/dist/node/components/docs/intent/DeterministicCodegenPage.js +9 -9
  316. package/dist/node/components/docs/intent/GenerateClientFromSchemaPage.js +13 -13
  317. package/dist/node/components/docs/intent/OpenapiAlternativePage.js +13 -13
  318. package/dist/node/components/docs/intent/SchemaValidationTypescriptPage.js +9 -9
  319. package/dist/node/components/docs/intent/SpecDrivenDevelopmentPage.js +8 -8
  320. package/dist/node/components/docs/intent/index.js +766 -766
  321. package/dist/node/components/docs/knowledge/KnowledgeCategoriesPage.js +38 -38
  322. package/dist/node/components/docs/knowledge/KnowledgeExamplesPage.js +9 -9
  323. package/dist/node/components/docs/knowledge/KnowledgeOverviewPage.js +91 -439
  324. package/dist/node/components/docs/knowledge/KnowledgeSourcesPage.js +28 -28
  325. package/dist/node/components/docs/knowledge/KnowledgeSpacesPage.js +21 -21
  326. package/dist/node/components/docs/knowledge/index.js +437 -785
  327. package/dist/node/components/docs/libraries/LibrariesAccessibilityPage.js +16 -16
  328. package/dist/node/components/docs/libraries/LibrariesAiAgentPage.js +8 -8
  329. package/dist/node/components/docs/libraries/LibrariesAnalyticsPage.js +6 -6
  330. package/dist/node/components/docs/libraries/LibrariesContentGenPage.js +6 -6
  331. package/dist/node/components/docs/libraries/LibrariesContractsPage.js +16 -16
  332. package/dist/node/components/docs/libraries/LibrariesCostTrackingPage.js +6 -6
  333. package/dist/node/components/docs/libraries/LibrariesDataBackendPage.js +14 -14
  334. package/dist/node/components/docs/libraries/LibrariesDataViewsPage.js +7 -7
  335. package/dist/node/components/docs/libraries/LibrariesDesignSystemPage.js +13 -13
  336. package/dist/node/components/docs/libraries/LibrariesEvolutionPage.js +7 -7
  337. package/dist/node/components/docs/libraries/LibrariesGraphQLPage.js +13 -13
  338. package/dist/node/components/docs/libraries/LibrariesGrowthPage.js +5 -5
  339. package/dist/node/components/docs/libraries/LibrariesMultiTenancyPage.js +5 -5
  340. package/dist/node/components/docs/libraries/LibrariesObservabilityPage.js +7 -7
  341. package/dist/node/components/docs/libraries/LibrariesOverlayEnginePage.js +6 -6
  342. package/dist/node/components/docs/libraries/LibrariesOverviewPage.js +117 -430
  343. package/dist/node/components/docs/libraries/LibrariesPersonalizationPage.js +6 -6
  344. package/dist/node/components/docs/libraries/LibrariesProgressiveDeliveryPage.js +6 -6
  345. package/dist/node/components/docs/libraries/LibrariesResiliencePage.js +6 -6
  346. package/dist/node/components/docs/libraries/LibrariesRuntimePage.js +13 -13
  347. package/dist/node/components/docs/libraries/LibrariesSLOPage.js +6 -6
  348. package/dist/node/components/docs/libraries/LibrariesSchemaPage.js +16 -16
  349. package/dist/node/components/docs/libraries/LibrariesSupportBotPage.js +7 -7
  350. package/dist/node/components/docs/libraries/LibrariesTestingPage.js +7 -7
  351. package/dist/node/components/docs/libraries/LibrariesUIKitPage.js +10 -10
  352. package/dist/node/components/docs/libraries/LibrariesWorkflowComposerPage.js +5 -5
  353. package/dist/node/components/docs/libraries/LibrariesWorkflowsPage.js +8 -8
  354. package/dist/node/components/docs/libraries/index.js +1308 -1621
  355. package/dist/node/components/docs/manifesto/ManifestoPage.js +33 -138
  356. package/dist/node/components/docs/ops/AutoEvolutionOpsPage.js +9 -9
  357. package/dist/node/components/docs/ops/DistributedTracingOpsPage.js +5 -5
  358. package/dist/node/components/docs/ops/index.js +14 -14
  359. package/dist/node/components/docs/reference/DocsMarkdownContent.js +1 -1
  360. package/dist/node/components/docs/reference/DocsReferenceContent.js +2 -2
  361. package/dist/node/components/docs/reference/DocsReferenceIndexClient.js +8 -8
  362. package/dist/node/components/docs/reference/DocsReferenceIndexPage.js +8 -8
  363. package/dist/node/components/docs/reference/DocsReferencePage.js +2 -2
  364. package/dist/node/components/docs/reference/index.js +10 -10
  365. package/dist/node/components/docs/safety/SafetyAuditingPage.js +16 -16
  366. package/dist/node/components/docs/safety/SafetyMigrationsPage.js +15 -15
  367. package/dist/node/components/docs/safety/SafetyOverviewPage.js +69 -206
  368. package/dist/node/components/docs/safety/SafetyPDPPage.js +12 -12
  369. package/dist/node/components/docs/safety/SafetySecurityTrustPage.js +11 -11
  370. package/dist/node/components/docs/safety/SafetySigningPage.js +7 -7
  371. package/dist/node/components/docs/safety/SafetyTenantIsolationPage.js +6 -6
  372. package/dist/node/components/docs/safety/index.js +616 -753
  373. package/dist/node/components/docs/shared/StudioPrompt.js +5 -5
  374. package/dist/node/components/docs/specs/SpecsCapabilitiesPage.js +12 -12
  375. package/dist/node/components/docs/specs/SpecsDataViewsPage.js +14 -14
  376. package/dist/node/components/docs/specs/SpecsOverlaysPage.js +14 -14
  377. package/dist/node/components/docs/specs/SpecsOverviewPage.js +135 -297
  378. package/dist/node/components/docs/specs/SpecsPolicyPage.js +29 -29
  379. package/dist/node/components/docs/specs/SpecsWorkflowsPage.js +18 -18
  380. package/dist/node/components/docs/specs/index.js +814 -976
  381. package/dist/node/components/docs/studio/StudioBYOKPage.js +1 -1
  382. package/dist/node/components/docs/studio/StudioDeploymentsPage.js +1 -1
  383. package/dist/node/components/docs/studio/StudioGettingStartedPage.js +1 -1
  384. package/dist/node/components/docs/studio/StudioIntegrationsPage.js +1 -1
  385. package/dist/node/components/docs/studio/StudioOverviewPage.js +109 -56
  386. package/dist/node/components/docs/studio/StudioVisualBuilderPage.js +1 -1
  387. package/dist/node/components/docs/studio/index.js +170 -117
  388. package/dist/node/components/integrations/index.js +25 -25
  389. package/dist/node/components/integrations/molecules/IntegrationCard.js +5 -5
  390. package/dist/node/components/integrations/organisms/IntegrationMarketplace.js +12 -12
  391. package/dist/node/components/integrations/organisms/IntegrationSettings.js +7 -7
  392. package/dist/node/components/integrations/organisms/KnowledgeSourceList.js +6 -6
  393. package/dist/node/components/legal/PrivacyTemplate.js +67 -67
  394. package/dist/node/components/legal/TermsTemplate.js +54 -54
  395. package/dist/node/components/legal/index.js +121 -121
  396. package/dist/node/components/shared/FeatureGateNotice.js +4 -4
  397. package/dist/node/components/shared/index.js +4 -4
  398. package/dist/node/components/shell/WorkspaceHeader.js +4 -4
  399. package/dist/node/components/shell/WorkspaceProjectShellLayout.js +10 -10
  400. package/dist/node/components/shell/WorkspaceShellRenderer.js +8 -8
  401. package/dist/node/components/shell/WorkspaceSidebar.js +2 -2
  402. package/dist/node/components/shell/index.js +12 -12
  403. package/dist/node/components/templates/index.js +835 -835
  404. package/dist/node/components/templates/messaging/ConversationList.js +11 -11
  405. package/dist/node/components/templates/messaging/MessageComposer.js +11 -11
  406. package/dist/node/components/templates/messaging/MessageThread.js +6 -6
  407. package/dist/node/components/templates/messaging/MessagingWorkspace.js +23 -23
  408. package/dist/node/components/templates/messaging/index.js +23 -23
  409. package/dist/node/components/templates/recipes/LanguageSwitcher.js +1 -1
  410. package/dist/node/components/templates/recipes/RecipeCard.js +5 -5
  411. package/dist/node/components/templates/recipes/RecipeDetail.js +8 -8
  412. package/dist/node/components/templates/recipes/RecipeList.js +17 -17
  413. package/dist/node/components/templates/recipes/index.js +17 -17
  414. package/dist/node/components/templates/todos/FilterBar.js +9 -9
  415. package/dist/node/components/templates/todos/TaskForm.js +14 -14
  416. package/dist/node/components/templates/todos/TaskItem.js +4 -4
  417. package/dist/node/components/templates/todos/TaskList.js +30 -30
  418. package/dist/node/components/templates/todos/index.js +30 -30
  419. package/dist/node/features/contracts-registry.js +15 -15
  420. package/dist/node/features/docs/docs.contracts.js +2 -2
  421. package/dist/node/features/docs/index.js +2 -2
  422. package/dist/node/features/index.js +18 -18
  423. package/dist/node/features/registry.js +1 -1
  424. package/dist/node/index.js +14982 -16254
  425. package/dist/node/libs/email/client.js +1 -1
  426. package/dist/node/libs/email/contact.js +1 -1
  427. package/dist/node/libs/email/newsletter.js +1 -1
  428. package/dist/node/libs/email/waitlist-application.js +1 -1
  429. package/dist/node/libs/email/waitlist.js +1 -1
  430. package/dist/node/libs/email.js +1 -1
  431. package/dist/node/presentation/features/atoms/FeatureIcon/FeatureIcon.js +7 -7
  432. package/dist/node/presentation/features/atoms/FeatureIcon/index.js +7 -7
  433. package/dist/node/presentation/features/atoms/index.js +7 -7
  434. package/dist/node/presentation/features/hooks/index.js +56 -56
  435. package/dist/node/presentation/features/hooks/useContractsRegistry.js +18 -18
  436. package/dist/node/presentation/features/hooks/useFeatureFilters.js +1 -1
  437. package/dist/node/presentation/features/hooks/useFeatureRegistry.js +1 -1
  438. package/dist/node/presentation/features/hooks/useRelatedDocs.js +1 -1
  439. package/dist/node/presentation/features/index.js +1364 -1364
  440. package/dist/node/presentation/features/molecules/FeatureCard/FeatureCard.js +15 -15
  441. package/dist/node/presentation/features/molecules/FeatureCard/index.js +15 -15
  442. package/dist/node/presentation/features/molecules/FeatureCategoryHeader/FeatureCategoryHeader.js +7 -7
  443. package/dist/node/presentation/features/molecules/FeatureCategoryHeader/index.js +7 -7
  444. package/dist/node/presentation/features/molecules/FeatureFilters/FeatureFilters.js +1 -1
  445. package/dist/node/presentation/features/molecules/FeatureFilters/index.js +1 -1
  446. package/dist/node/presentation/features/molecules/FeatureHoverPreview/FeatureHoverPreview.js +5 -5
  447. package/dist/node/presentation/features/molecules/FeatureHoverPreview/index.js +5 -5
  448. package/dist/node/presentation/features/molecules/index.js +77 -77
  449. package/dist/node/presentation/features/organisms/FeatureDataViewsList.js +18 -18
  450. package/dist/node/presentation/features/organisms/FeatureDiscovery/FeatureDiscovery.js +121 -121
  451. package/dist/node/presentation/features/organisms/FeatureDiscovery/index.js +121 -121
  452. package/dist/node/presentation/features/organisms/FeatureEventsList.js +18 -18
  453. package/dist/node/presentation/features/organisms/FeatureFormsList.js +18 -18
  454. package/dist/node/presentation/features/organisms/FeatureOperationsList.js +15 -15
  455. package/dist/node/presentation/features/organisms/FeaturePresentationsList.js +18 -18
  456. package/dist/node/presentation/features/organisms/index.js +401 -401
  457. package/dist/node/presentation/features/templates/FeatureDataViewDetailTemplate/FeatureDataViewDetailTemplate.js +13 -13
  458. package/dist/node/presentation/features/templates/FeatureDataViewDetailTemplate/index.js +13 -13
  459. package/dist/node/presentation/features/templates/FeatureDataViewsTemplate/FeatureDataViewsTemplate.js +20 -20
  460. package/dist/node/presentation/features/templates/FeatureDataViewsTemplate/index.js +20 -20
  461. package/dist/node/presentation/features/templates/FeatureEventDetailTemplate/FeatureEventDetailTemplate.js +12 -12
  462. package/dist/node/presentation/features/templates/FeatureEventDetailTemplate/index.js +12 -12
  463. package/dist/node/presentation/features/templates/FeatureEventsTemplate/FeatureEventsTemplate.js +18 -18
  464. package/dist/node/presentation/features/templates/FeatureEventsTemplate/index.js +18 -18
  465. package/dist/node/presentation/features/templates/FeatureFormDetailTemplate/FeatureFormDetailTemplate.js +13 -13
  466. package/dist/node/presentation/features/templates/FeatureFormDetailTemplate/index.js +13 -13
  467. package/dist/node/presentation/features/templates/FeatureFormsTemplate/FeatureFormsTemplate.js +20 -20
  468. package/dist/node/presentation/features/templates/FeatureFormsTemplate/index.js +20 -20
  469. package/dist/node/presentation/features/templates/FeatureOperationDetailTemplate/FeatureOperationDetailTemplate.js +8 -8
  470. package/dist/node/presentation/features/templates/FeatureOperationDetailTemplate/index.js +8 -8
  471. package/dist/node/presentation/features/templates/FeatureOperationsTemplate/FeatureOperationsTemplate.js +15 -15
  472. package/dist/node/presentation/features/templates/FeatureOperationsTemplate/index.js +15 -15
  473. package/dist/node/presentation/features/templates/FeatureOverviewTemplate/FeatureOverviewTemplate.js +2 -2
  474. package/dist/node/presentation/features/templates/FeatureOverviewTemplate/index.js +2 -2
  475. package/dist/node/presentation/features/templates/FeaturePresentationDetailTemplate/FeaturePresentationDetailTemplate.js +12 -12
  476. package/dist/node/presentation/features/templates/FeaturePresentationDetailTemplate/index.js +12 -12
  477. package/dist/node/presentation/features/templates/FeaturePresentationsTemplate/FeaturePresentationsTemplate.js +18 -18
  478. package/dist/node/presentation/features/templates/FeaturePresentationsTemplate/index.js +18 -18
  479. package/dist/presentation/features/atoms/FeatureIcon/FeatureIcon.js +7 -7
  480. package/dist/presentation/features/atoms/FeatureIcon/index.d.ts +1 -1
  481. package/dist/presentation/features/atoms/FeatureIcon/index.js +7 -7
  482. package/dist/presentation/features/atoms/index.js +7 -7
  483. package/dist/presentation/features/hooks/index.d.ts +3 -3
  484. package/dist/presentation/features/hooks/index.js +56 -56
  485. package/dist/presentation/features/hooks/useContractsRegistry.js +18 -18
  486. package/dist/presentation/features/hooks/useFeatureFilters.js +1 -1
  487. package/dist/presentation/features/hooks/useFeatureRegistry.js +1 -1
  488. package/dist/presentation/features/hooks/useRelatedDocs.js +1 -1
  489. package/dist/presentation/features/index.d.ts +14 -14
  490. package/dist/presentation/features/index.js +1364 -1364
  491. package/dist/presentation/features/molecules/FeatureCard/FeatureCard.js +15 -15
  492. package/dist/presentation/features/molecules/FeatureCard/index.js +15 -15
  493. package/dist/presentation/features/molecules/FeatureCategoryHeader/FeatureCategoryHeader.js +7 -7
  494. package/dist/presentation/features/molecules/FeatureCategoryHeader/index.js +7 -7
  495. package/dist/presentation/features/molecules/FeatureFilters/FeatureFilters.js +1 -1
  496. package/dist/presentation/features/molecules/FeatureFilters/index.js +1 -1
  497. package/dist/presentation/features/molecules/FeatureHoverPreview/FeatureHoverPreview.js +5 -5
  498. package/dist/presentation/features/molecules/FeatureHoverPreview/index.js +5 -5
  499. package/dist/presentation/features/molecules/index.d.ts +1 -1
  500. package/dist/presentation/features/molecules/index.js +77 -77
  501. package/dist/presentation/features/organisms/FeatureDataViewsList.js +18 -18
  502. package/dist/presentation/features/organisms/FeatureDiscovery/FeatureDiscovery.js +121 -121
  503. package/dist/presentation/features/organisms/FeatureDiscovery/index.d.ts +1 -1
  504. package/dist/presentation/features/organisms/FeatureDiscovery/index.js +121 -121
  505. package/dist/presentation/features/organisms/FeatureEventsList.js +18 -18
  506. package/dist/presentation/features/organisms/FeatureFormsList.js +18 -18
  507. package/dist/presentation/features/organisms/FeatureOperationsList.js +15 -15
  508. package/dist/presentation/features/organisms/FeaturePresentationsList.js +18 -18
  509. package/dist/presentation/features/organisms/index.d.ts +4 -4
  510. package/dist/presentation/features/organisms/index.js +401 -401
  511. package/dist/presentation/features/templates/FeatureDataViewDetailTemplate/FeatureDataViewDetailTemplate.js +13 -13
  512. package/dist/presentation/features/templates/FeatureDataViewDetailTemplate/index.js +13 -13
  513. package/dist/presentation/features/templates/FeatureDataViewDetailTemplate/types.d.ts +1 -1
  514. package/dist/presentation/features/templates/FeatureDataViewsTemplate/FeatureDataViewsTemplate.js +20 -20
  515. package/dist/presentation/features/templates/FeatureDataViewsTemplate/index.js +20 -20
  516. package/dist/presentation/features/templates/FeatureEventDetailTemplate/FeatureEventDetailTemplate.js +12 -12
  517. package/dist/presentation/features/templates/FeatureEventDetailTemplate/index.js +12 -12
  518. package/dist/presentation/features/templates/FeatureEventsTemplate/FeatureEventsTemplate.js +18 -18
  519. package/dist/presentation/features/templates/FeatureEventsTemplate/index.js +18 -18
  520. package/dist/presentation/features/templates/FeatureFormDetailTemplate/FeatureFormDetailTemplate.js +13 -13
  521. package/dist/presentation/features/templates/FeatureFormDetailTemplate/index.js +13 -13
  522. package/dist/presentation/features/templates/FeatureFormsTemplate/FeatureFormsTemplate.js +20 -20
  523. package/dist/presentation/features/templates/FeatureFormsTemplate/index.js +20 -20
  524. package/dist/presentation/features/templates/FeatureOperationDetailTemplate/FeatureOperationDetailTemplate.js +8 -8
  525. package/dist/presentation/features/templates/FeatureOperationDetailTemplate/index.js +8 -8
  526. package/dist/presentation/features/templates/FeatureOperationsTemplate/FeatureOperationsTemplate.js +15 -15
  527. package/dist/presentation/features/templates/FeatureOperationsTemplate/index.js +15 -15
  528. package/dist/presentation/features/templates/FeatureOverviewTemplate/FeatureOverviewTemplate.js +2 -2
  529. package/dist/presentation/features/templates/FeatureOverviewTemplate/index.js +2 -2
  530. package/dist/presentation/features/templates/FeaturePresentationDetailTemplate/FeaturePresentationDetailTemplate.js +12 -12
  531. package/dist/presentation/features/templates/FeaturePresentationDetailTemplate/index.js +12 -12
  532. package/dist/presentation/features/templates/FeaturePresentationsTemplate/FeaturePresentationsTemplate.js +18 -18
  533. package/dist/presentation/features/templates/FeaturePresentationsTemplate/index.js +18 -18
  534. package/package.json +38 -24
  535. package/src/__tests__/env-setup.ts +1 -1
  536. package/src/__tests__/mocks/prisma.ts +78 -78
  537. package/src/__tests__/setup.ts +2 -2
  538. package/src/application/context-storage/index.ts +42 -42
  539. package/src/application/index.ts +1 -1
  540. package/src/application/mcp/cliMcp.ts +221 -221
  541. package/src/application/mcp/common.ts +210 -210
  542. package/src/application/mcp/contractsMcp.ts +15 -15
  543. package/src/application/mcp/contractsMcpResources.ts +119 -119
  544. package/src/application/mcp/contractsMcpTools.ts +218 -218
  545. package/src/application/mcp/contractsMcpTypes.ts +35 -35
  546. package/src/application/mcp/docsMcp.ts +173 -173
  547. package/src/application/mcp/index.ts +2 -2
  548. package/src/application/mcp/internalMcp.ts +204 -204
  549. package/src/application/mcp/providerRankingMcp.ts +346 -344
  550. package/src/bundles/LibraryBundle.ts +136 -136
  551. package/src/components/docs/DocsIndexPage.tsx +189 -241
  552. package/src/components/docs/advanced/AdvancedMCPPage.tsx +168 -168
  553. package/src/components/docs/advanced/AdvancedOverlayEditorPage.tsx +52 -52
  554. package/src/components/docs/advanced/AdvancedRenderersPage.tsx +53 -53
  555. package/src/components/docs/advanced/AdvancedSpecExperimentsPage.tsx +48 -48
  556. package/src/components/docs/advanced/AdvancedTelemetryPage.tsx +205 -205
  557. package/src/components/docs/advanced/AdvancedWorkflowMonitoringPage.tsx +42 -42
  558. package/src/components/docs/advanced/index.ts +2 -2
  559. package/src/components/docs/architecture/ArchitectureAppConfigPage.tsx +127 -127
  560. package/src/components/docs/architecture/ArchitectureControlPlanePage.tsx +79 -79
  561. package/src/components/docs/architecture/ArchitectureIntegrationBindingPage.tsx +147 -147
  562. package/src/components/docs/architecture/ArchitectureKnowledgeBindingPage.tsx +193 -193
  563. package/src/components/docs/architecture/ArchitectureMultiTenancyPage.tsx +73 -73
  564. package/src/components/docs/architecture/ArchitectureOverviewPage.tsx +98 -273
  565. package/src/components/docs/architecture/index.ts +3 -3
  566. package/src/components/docs/comparison/ComparisonAutomationPlatformsPage.tsx +137 -137
  567. package/src/components/docs/comparison/ComparisonEnterprisePlatformsPage.tsx +138 -138
  568. package/src/components/docs/comparison/ComparisonInternalToolBuildersPage.tsx +147 -147
  569. package/src/components/docs/comparison/ComparisonOverviewPage.tsx +106 -106
  570. package/src/components/docs/comparison/ComparisonWindmillPage.tsx +143 -143
  571. package/src/components/docs/comparison/ComparisonWorkflowEnginesPage.tsx +168 -168
  572. package/src/components/docs/comparison/index.ts +2 -2
  573. package/src/components/docs/docsManifest.ts +720 -0
  574. package/src/components/docs/ecosystem/IntegrationsPage.tsx +45 -45
  575. package/src/components/docs/ecosystem/PluginsPage.tsx +77 -77
  576. package/src/components/docs/ecosystem/RegistryPage.tsx +48 -48
  577. package/src/components/docs/ecosystem/TemplatesPage.tsx +52 -52
  578. package/src/components/docs/ecosystem/ecosystem.docblocks.ts +42 -42
  579. package/src/components/docs/ecosystem/index.ts +2 -2
  580. package/src/components/docs/examples/DocsExamplesPage.tsx +67 -66
  581. package/src/components/docs/generated/docs-index._common.json +1757 -1757
  582. package/src/components/docs/generated/docs-index.agent-console.json +376 -376
  583. package/src/components/docs/generated/docs-index.ai-chat-assistant.json +8 -8
  584. package/src/components/docs/generated/docs-index.ai-chat.json +104 -104
  585. package/src/components/docs/generated/docs-index.ai-support-bot.json +8 -8
  586. package/src/components/docs/generated/docs-index.analytics-dashboard.json +168 -168
  587. package/src/components/docs/generated/docs-index.app-config.json +136 -136
  588. package/src/components/docs/generated/docs-index.audit-trail.json +48 -48
  589. package/src/components/docs/generated/docs-index.calendar-google.json +8 -8
  590. package/src/components/docs/generated/docs-index.content-generation.json +8 -8
  591. package/src/components/docs/generated/docs-index.crm-pipeline.json +160 -160
  592. package/src/components/docs/generated/docs-index.email-gmail.json +8 -8
  593. package/src/components/docs/generated/docs-index.feature-flags.json +216 -216
  594. package/src/components/docs/generated/docs-index.files.json +176 -176
  595. package/src/components/docs/generated/docs-index.generated.ts +19 -19
  596. package/src/components/docs/generated/docs-index.health.json +96 -96
  597. package/src/components/docs/generated/docs-index.identity-rbac.json +312 -312
  598. package/src/components/docs/generated/docs-index.in-app-docs.json +8 -8
  599. package/src/components/docs/generated/docs-index.integration-hub.json +264 -264
  600. package/src/components/docs/generated/docs-index.integration-posthog.json +8 -8
  601. package/src/components/docs/generated/docs-index.integration-stripe.json +8 -8
  602. package/src/components/docs/generated/docs-index.integration-supabase.json +8 -8
  603. package/src/components/docs/generated/docs-index.jobs.json +136 -136
  604. package/src/components/docs/generated/docs-index.kb-update-pipeline.json +128 -128
  605. package/src/components/docs/generated/docs-index.knowledge-canon.json +8 -8
  606. package/src/components/docs/generated/docs-index.learning-journey-ambient-coach.json +8 -8
  607. package/src/components/docs/generated/docs-index.learning-journey-crm-onboarding.json +48 -48
  608. package/src/components/docs/generated/docs-index.learning-journey-duo-drills.json +8 -8
  609. package/src/components/docs/generated/docs-index.learning-journey-platform-tour.json +48 -48
  610. package/src/components/docs/generated/docs-index.learning-journey-quest-challenges.json +8 -8
  611. package/src/components/docs/generated/docs-index.learning-journey-registry.json +32 -32
  612. package/src/components/docs/generated/docs-index.learning-journey-studio-onboarding.json +48 -48
  613. package/src/components/docs/generated/docs-index.learning-journey-ui-coaching.json +8 -8
  614. package/src/components/docs/generated/docs-index.learning-journey-ui-gamified.json +8 -8
  615. package/src/components/docs/generated/docs-index.learning-journey-ui-onboarding.json +8 -8
  616. package/src/components/docs/generated/docs-index.learning-journey-ui-shared.json +8 -8
  617. package/src/components/docs/generated/docs-index.learning-journey.json +216 -216
  618. package/src/components/docs/generated/docs-index.learning-patterns.json +8 -8
  619. package/src/components/docs/generated/docs-index.lifecycle-cli.json +8 -8
  620. package/src/components/docs/generated/docs-index.lifecycle-dashboard.json +8 -8
  621. package/src/components/docs/generated/docs-index.locale-jurisdiction-gate.json +48 -48
  622. package/src/components/docs/generated/docs-index.manifest.json +376 -376
  623. package/src/components/docs/generated/docs-index.marketplace.json +336 -336
  624. package/src/components/docs/generated/docs-index.meeting-recorder-providers.json +8 -8
  625. package/src/components/docs/generated/docs-index.meeting-recorder.json +48 -48
  626. package/src/components/docs/generated/docs-index.metrics.json +200 -200
  627. package/src/components/docs/generated/docs-index.minimal.json +16 -16
  628. package/src/components/docs/generated/docs-index.notifications.json +64 -64
  629. package/src/components/docs/generated/docs-index.openbanking-powens.json +8 -8
  630. package/src/components/docs/generated/docs-index.openbanking.json +64 -64
  631. package/src/components/docs/generated/docs-index.opencode-cli.json +16 -16
  632. package/src/components/docs/generated/docs-index.personalization.json +8 -8
  633. package/src/components/docs/generated/docs-index.platform-acp.json +72 -72
  634. package/src/components/docs/generated/docs-index.platform-agent.json +96 -96
  635. package/src/components/docs/generated/docs-index.platform-context.json +56 -56
  636. package/src/components/docs/generated/docs-index.platform-database.json +48 -48
  637. package/src/components/docs/generated/docs-index.platform-docs.json +88 -88
  638. package/src/components/docs/generated/docs-index.platform-integrations.json +320 -320
  639. package/src/components/docs/generated/docs-index.platform-knowledge.json +56 -56
  640. package/src/components/docs/generated/docs-index.platform-provider-ranking.json +96 -96
  641. package/src/components/docs/generated/docs-index.pocket-family-office.json +120 -120
  642. package/src/components/docs/generated/docs-index.policy-safe-knowledge-assistant.json +8 -8
  643. package/src/components/docs/generated/docs-index.product-intent.json +8 -8
  644. package/src/components/docs/generated/docs-index.project-management-sync.json +8 -8
  645. package/src/components/docs/generated/docs-index.saas-boilerplate.json +208 -208
  646. package/src/components/docs/generated/docs-index.service-business-os.json +192 -192
  647. package/src/components/docs/generated/docs-index.team-hub.json +184 -184
  648. package/src/components/docs/generated/docs-index.unknown.json +512 -512
  649. package/src/components/docs/generated/docs-index.versioned-knowledge-base.json +80 -80
  650. package/src/components/docs/generated/docs-index.video-api-showcase.json +32 -32
  651. package/src/components/docs/generated/docs-index.video-docs-terminal.json +8 -8
  652. package/src/components/docs/generated/docs-index.video-marketing-clip.json +8 -8
  653. package/src/components/docs/generated/docs-index.voice-providers.json +8 -8
  654. package/src/components/docs/generated/docs-index.wealth-snapshot.json +152 -152
  655. package/src/components/docs/generated/docs-index.workflow-system.json +432 -432
  656. package/src/components/docs/generated/docs-index.workspace-cli.json +8 -8
  657. package/src/components/docs/generated/index.ts +6 -6
  658. package/src/components/docs/generated/loader.ts +49 -49
  659. package/src/components/docs/getting-started/CLIPage.tsx +157 -157
  660. package/src/components/docs/getting-started/CompatibilityPage.tsx +69 -69
  661. package/src/components/docs/getting-started/DataViewTutorialPage.tsx +63 -63
  662. package/src/components/docs/getting-started/DeveloperToolsPage.tsx +141 -140
  663. package/src/components/docs/getting-started/HelloWorldPage.tsx +88 -88
  664. package/src/components/docs/getting-started/InstallationPage.tsx +78 -78
  665. package/src/components/docs/getting-started/StartHerePage.tsx +64 -64
  666. package/src/components/docs/getting-started/TroubleshootingPage.tsx +68 -68
  667. package/src/components/docs/getting-started/VSCodeExtensionPage.tsx +233 -233
  668. package/src/components/docs/getting-started/getting-started.docblocks.ts +30 -30
  669. package/src/components/docs/getting-started/index.ts +6 -5
  670. package/src/components/docs/guides/GuideCIDiffGatingPage.tsx +88 -88
  671. package/src/components/docs/guides/GuideContractTypesPage.tsx +266 -266
  672. package/src/components/docs/guides/GuideDocsPipelinePage.tsx +78 -78
  673. package/src/components/docs/guides/GuideGenerateDocsClientsSchemasPage.tsx +89 -89
  674. package/src/components/docs/guides/GuideImportExistingCodebasesPage.tsx +360 -360
  675. package/src/components/docs/guides/GuideNextjsOneEndpointPage.tsx +117 -117
  676. package/src/components/docs/guides/GuideSpecValidationTypingPage.tsx +82 -82
  677. package/src/components/docs/guides/GuidesIndexPage.tsx +109 -99
  678. package/src/components/docs/guides/guides.docblocks.ts +60 -60
  679. package/src/components/docs/guides/index.ts +4 -4
  680. package/src/components/docs/index.ts +26 -40
  681. package/src/components/docs/integrations/IntegrationsCircuitBreakersPage.tsx +22 -22
  682. package/src/components/docs/integrations/IntegrationsElevenLabsPage.tsx +41 -41
  683. package/src/components/docs/integrations/IntegrationsGithubPage.tsx +66 -66
  684. package/src/components/docs/integrations/IntegrationsGmailPage.tsx +44 -44
  685. package/src/components/docs/integrations/IntegrationsGoogleCalendarPage.tsx +31 -31
  686. package/src/components/docs/integrations/IntegrationsHealthRoutingPage.tsx +80 -80
  687. package/src/components/docs/integrations/IntegrationsMistralPage.tsx +65 -65
  688. package/src/components/docs/integrations/IntegrationsOpenAIPage.tsx +54 -54
  689. package/src/components/docs/integrations/IntegrationsOverviewPage.tsx +124 -529
  690. package/src/components/docs/integrations/IntegrationsPostmarkPage.tsx +97 -97
  691. package/src/components/docs/integrations/IntegrationsPowensPage.tsx +165 -165
  692. package/src/components/docs/integrations/IntegrationsQdrantPage.tsx +44 -44
  693. package/src/components/docs/integrations/IntegrationsResendPage.tsx +40 -40
  694. package/src/components/docs/integrations/IntegrationsS3Page.tsx +48 -48
  695. package/src/components/docs/integrations/IntegrationsSlackPage.tsx +70 -70
  696. package/src/components/docs/integrations/IntegrationsSpecModelPage.tsx +139 -139
  697. package/src/components/docs/integrations/IntegrationsStripePage.tsx +153 -153
  698. package/src/components/docs/integrations/IntegrationsTwilioPage.tsx +50 -50
  699. package/src/components/docs/integrations/IntegrationsWhatsappMetaPage.tsx +69 -69
  700. package/src/components/docs/integrations/IntegrationsWhatsappTwilioPage.tsx +73 -73
  701. package/src/components/docs/integrations/index.ts +1 -1
  702. package/src/components/docs/intent/ContractFirstApiPage.tsx +61 -61
  703. package/src/components/docs/intent/DeterministicCodegenPage.tsx +81 -80
  704. package/src/components/docs/intent/GenerateClientFromSchemaPage.tsx +108 -108
  705. package/src/components/docs/intent/OpenapiAlternativePage.tsx +98 -98
  706. package/src/components/docs/intent/SchemaValidationTypescriptPage.tsx +79 -79
  707. package/src/components/docs/intent/SpecDrivenDevelopmentPage.tsx +67 -67
  708. package/src/components/docs/intent/index.ts +3 -3
  709. package/src/components/docs/intent/intent-pages.docblocks.ts +186 -186
  710. package/src/components/docs/knowledge/KnowledgeCategoriesPage.tsx +304 -304
  711. package/src/components/docs/knowledge/KnowledgeExamplesPage.tsx +84 -84
  712. package/src/components/docs/knowledge/KnowledgeOverviewPage.tsx +76 -285
  713. package/src/components/docs/knowledge/KnowledgeSourcesPage.tsx +171 -171
  714. package/src/components/docs/knowledge/KnowledgeSpacesPage.tsx +132 -132
  715. package/src/components/docs/knowledge/index.ts +1 -1
  716. package/src/components/docs/libraries/LibrariesAccessibilityPage.tsx +95 -95
  717. package/src/components/docs/libraries/LibrariesAiAgentPage.tsx +58 -58
  718. package/src/components/docs/libraries/LibrariesAnalyticsPage.tsx +39 -39
  719. package/src/components/docs/libraries/LibrariesContentGenPage.tsx +41 -41
  720. package/src/components/docs/libraries/LibrariesContractsPage.tsx +132 -132
  721. package/src/components/docs/libraries/LibrariesCostTrackingPage.tsx +47 -47
  722. package/src/components/docs/libraries/LibrariesDataBackendPage.tsx +73 -73
  723. package/src/components/docs/libraries/LibrariesDataViewsPage.tsx +76 -76
  724. package/src/components/docs/libraries/LibrariesDesignSystemPage.tsx +115 -115
  725. package/src/components/docs/libraries/LibrariesEvolutionPage.tsx +64 -64
  726. package/src/components/docs/libraries/LibrariesGraphQLPage.tsx +92 -92
  727. package/src/components/docs/libraries/LibrariesGrowthPage.tsx +37 -37
  728. package/src/components/docs/libraries/LibrariesMultiTenancyPage.tsx +47 -47
  729. package/src/components/docs/libraries/LibrariesObservabilityPage.tsx +58 -58
  730. package/src/components/docs/libraries/LibrariesOverlayEnginePage.tsx +51 -51
  731. package/src/components/docs/libraries/LibrariesOverviewPage.tsx +137 -301
  732. package/src/components/docs/libraries/LibrariesPersonalizationPage.tsx +57 -57
  733. package/src/components/docs/libraries/LibrariesProgressiveDeliveryPage.tsx +51 -51
  734. package/src/components/docs/libraries/LibrariesResiliencePage.tsx +54 -54
  735. package/src/components/docs/libraries/LibrariesRuntimePage.tsx +96 -96
  736. package/src/components/docs/libraries/LibrariesSLOPage.tsx +52 -52
  737. package/src/components/docs/libraries/LibrariesSchemaPage.tsx +131 -131
  738. package/src/components/docs/libraries/LibrariesSupportBotPage.tsx +59 -59
  739. package/src/components/docs/libraries/LibrariesTestingPage.tsx +64 -64
  740. package/src/components/docs/libraries/LibrariesUIKitPage.tsx +85 -85
  741. package/src/components/docs/libraries/LibrariesWorkflowComposerPage.tsx +38 -38
  742. package/src/components/docs/libraries/LibrariesWorkflowsPage.tsx +79 -79
  743. package/src/components/docs/libraries/index.ts +4 -4
  744. package/src/components/docs/manifesto/ManifestoPage.tsx +61 -132
  745. package/src/components/docs/ops/AutoEvolutionOpsPage.tsx +81 -81
  746. package/src/components/docs/ops/DistributedTracingOpsPage.tsx +28 -28
  747. package/src/components/docs/ops/ops-lifecycle.docblocks.ts +32 -32
  748. package/src/components/docs/ops/ops-runbooks-a.docblocks.ts +60 -60
  749. package/src/components/docs/ops/ops-runbooks-b.docblocks.ts +60 -60
  750. package/src/components/docs/ops/ops-slo-tenant.docblocks.ts +61 -61
  751. package/src/components/docs/ops/ops-top.docs.ts +10 -10
  752. package/src/components/docs/ops/ops.docs.ts +6 -6
  753. package/src/components/docs/product/product.docblocks.ts +60 -60
  754. package/src/components/docs/reference/DocsMarkdownContent.tsx +74 -74
  755. package/src/components/docs/reference/DocsReferenceContent.tsx +51 -51
  756. package/src/components/docs/reference/DocsReferenceIndexClient.tsx +106 -105
  757. package/src/components/docs/reference/DocsReferenceIndexPage.tsx +2 -2
  758. package/src/components/docs/reference/DocsReferencePage.tsx +3 -3
  759. package/src/components/docs/reference/docsMarkdownParser.ts +90 -90
  760. package/src/components/docs/safety/SafetyAuditingPage.tsx +189 -189
  761. package/src/components/docs/safety/SafetyMigrationsPage.tsx +189 -189
  762. package/src/components/docs/safety/SafetyOverviewPage.tsx +70 -157
  763. package/src/components/docs/safety/SafetyPDPPage.tsx +163 -163
  764. package/src/components/docs/safety/SafetySecurityTrustPage.tsx +89 -89
  765. package/src/components/docs/safety/SafetySigningPage.tsx +38 -38
  766. package/src/components/docs/safety/SafetyTenantIsolationPage.tsx +39 -39
  767. package/src/components/docs/safety/index.ts +3 -3
  768. package/src/components/docs/shared/StudioPrompt.tsx +17 -17
  769. package/src/components/docs/specs/SpecsCapabilitiesPage.tsx +79 -79
  770. package/src/components/docs/specs/SpecsDataViewsPage.tsx +142 -142
  771. package/src/components/docs/specs/SpecsOverlaysPage.tsx +202 -202
  772. package/src/components/docs/specs/SpecsOverviewPage.tsx +118 -193
  773. package/src/components/docs/specs/SpecsPolicyPage.tsx +233 -233
  774. package/src/components/docs/specs/SpecsWorkflowsPage.tsx +156 -156
  775. package/src/components/docs/specs/index.ts +3 -3
  776. package/src/components/docs/studio/StudioBYOKPage.tsx +11 -11
  777. package/src/components/docs/studio/StudioDeploymentsPage.tsx +11 -11
  778. package/src/components/docs/studio/StudioGettingStartedPage.tsx +11 -11
  779. package/src/components/docs/studio/StudioIntegrationsPage.tsx +11 -11
  780. package/src/components/docs/studio/StudioOverviewPage.tsx +94 -73
  781. package/src/components/docs/studio/StudioVisualBuilderPage.tsx +11 -11
  782. package/src/components/docs/studio/index.ts +4 -4
  783. package/src/components/docs/tech/contracts/tech-docs.docblocks.ts +10 -10
  784. package/src/components/integrations/molecules/IntegrationCard.tsx +71 -72
  785. package/src/components/integrations/organisms/IntegrationMarketplace.tsx +116 -116
  786. package/src/components/integrations/organisms/IntegrationSettings.tsx +201 -201
  787. package/src/components/integrations/organisms/KnowledgeSourceList.tsx +93 -94
  788. package/src/components/legal/PrivacyTemplate.tsx +611 -611
  789. package/src/components/legal/TermsTemplate.tsx +675 -675
  790. package/src/components/shared/FeatureGateNotice.tsx +26 -27
  791. package/src/components/shell/WorkspaceHeader.tsx +80 -80
  792. package/src/components/shell/WorkspaceProjectShellLayout.tsx +59 -58
  793. package/src/components/shell/WorkspaceShellRenderer.tsx +69 -68
  794. package/src/components/shell/WorkspaceSidebar.tsx +58 -58
  795. package/src/components/shell/index.ts +1 -1
  796. package/src/components/templates/engine/index.ts +29 -28
  797. package/src/components/templates/index.ts +1 -1
  798. package/src/components/templates/messaging/ConversationList.tsx +68 -69
  799. package/src/components/templates/messaging/MessageComposer.tsx +59 -59
  800. package/src/components/templates/messaging/MessageThread.tsx +73 -74
  801. package/src/components/templates/messaging/MessagingWorkspace.tsx +18 -19
  802. package/src/components/templates/messaging/index.ts +1 -1
  803. package/src/components/templates/messaging/types.ts +17 -17
  804. package/src/components/templates/recipes/LanguageSwitcher.tsx +20 -20
  805. package/src/components/templates/recipes/RecipeCard.tsx +56 -56
  806. package/src/components/templates/recipes/RecipeDetail.tsx +43 -43
  807. package/src/components/templates/recipes/RecipeList.tsx +62 -63
  808. package/src/components/templates/recipes/index.ts +2 -2
  809. package/src/components/templates/recipes/types.ts +24 -24
  810. package/src/components/templates/todos/FilterBar.tsx +84 -84
  811. package/src/components/templates/todos/TaskForm.tsx +118 -119
  812. package/src/components/templates/todos/TaskItem.tsx +78 -78
  813. package/src/components/templates/todos/TaskList.tsx +106 -107
  814. package/src/components/templates/todos/index.ts +2 -2
  815. package/src/components/templates/todos/types.ts +11 -11
  816. package/src/config/contractspec-blueprint.ts +55 -55
  817. package/src/config/contractspec-branding.ts +37 -37
  818. package/src/config/contractspec-routes.ts +22 -22
  819. package/src/config/index.ts +14 -15
  820. package/src/features/contracts-registry.ts +118 -118
  821. package/src/features/docs/docs.contracts.ts +6 -6
  822. package/src/features/docs/index.ts +6 -6
  823. package/src/features/docs.feature.ts +27 -27
  824. package/src/features/index.ts +59 -63
  825. package/src/features/mcp.feature.ts +24 -24
  826. package/src/features/presentations.feature.ts +27 -27
  827. package/src/features/registry.ts +14 -14
  828. package/src/index.ts +2 -2
  829. package/src/infrastructure/elysia/logger.ts +21 -21
  830. package/src/libs/email/client.test.ts +81 -81
  831. package/src/libs/email/client.ts +111 -111
  832. package/src/libs/email/contact.ts +35 -35
  833. package/src/libs/email/newsletter.ts +46 -46
  834. package/src/libs/email/types.ts +29 -29
  835. package/src/libs/email/utils.ts +5 -5
  836. package/src/libs/email/waitlist-application.ts +69 -69
  837. package/src/libs/email/waitlist.ts +46 -46
  838. package/src/libs/email.ts +7 -7
  839. package/src/libs/posthog/client.ts +44 -44
  840. package/src/libs/posthog/native.ts +23 -22
  841. package/src/libs/posthog/server.ts +7 -7
  842. package/src/libs/pricing-examples.ts +12 -12
  843. package/src/presentation/features/atoms/FeatureIcon/FeatureIcon.tsx +90 -90
  844. package/src/presentation/features/atoms/FeatureIcon/index.ts +3 -3
  845. package/src/presentation/features/hooks/index.ts +9 -9
  846. package/src/presentation/features/hooks/useContractsRegistry.ts +23 -23
  847. package/src/presentation/features/hooks/useFeatureFilters.ts +117 -117
  848. package/src/presentation/features/hooks/useFeatureRegistry.ts +40 -40
  849. package/src/presentation/features/hooks/useRelatedDocs.ts +28 -28
  850. package/src/presentation/features/index.ts +50 -52
  851. package/src/presentation/features/molecules/FeatureCard/FeatureCard.tsx +80 -80
  852. package/src/presentation/features/molecules/FeatureCard/types.ts +6 -6
  853. package/src/presentation/features/molecules/FeatureCategoryHeader/FeatureCategoryHeader.tsx +54 -54
  854. package/src/presentation/features/molecules/FeatureCategoryHeader/index.ts +2 -2
  855. package/src/presentation/features/molecules/FeatureFilters/FeatureFilters.tsx +67 -67
  856. package/src/presentation/features/molecules/FeatureFilters/types.ts +20 -20
  857. package/src/presentation/features/molecules/FeatureHoverPreview/FeatureHoverPreview.tsx +120 -121
  858. package/src/presentation/features/molecules/FeatureHoverPreview/index.ts +2 -2
  859. package/src/presentation/features/molecules/index.ts +8 -8
  860. package/src/presentation/features/organisms/FeatureDataViewsList.tsx +21 -21
  861. package/src/presentation/features/organisms/FeatureDetail/FeatureDetail.tsx +86 -86
  862. package/src/presentation/features/organisms/FeatureDetail/types.ts +4 -4
  863. package/src/presentation/features/organisms/FeatureDiscovery/FeatureDiscovery.tsx +210 -210
  864. package/src/presentation/features/organisms/FeatureDiscovery/index.ts +3 -3
  865. package/src/presentation/features/organisms/FeatureDiscovery/types.ts +10 -10
  866. package/src/presentation/features/organisms/FeatureEventsList.tsx +19 -19
  867. package/src/presentation/features/organisms/FeatureFormsList.tsx +19 -19
  868. package/src/presentation/features/organisms/FeatureOperationsList.tsx +21 -21
  869. package/src/presentation/features/organisms/FeaturePresentationsList.tsx +21 -21
  870. package/src/presentation/features/organisms/index.ts +6 -6
  871. package/src/presentation/features/templates/FeatureDataViewDetailTemplate/FeatureDataViewDetailTemplate.tsx +219 -219
  872. package/src/presentation/features/templates/FeatureDataViewDetailTemplate/types.ts +7 -7
  873. package/src/presentation/features/templates/FeatureDataViewsTemplate/FeatureDataViewsTemplate.tsx +26 -26
  874. package/src/presentation/features/templates/FeatureEventDetailTemplate/FeatureEventDetailTemplate.tsx +195 -195
  875. package/src/presentation/features/templates/FeatureEventDetailTemplate/types.ts +7 -7
  876. package/src/presentation/features/templates/FeatureEventsTemplate/FeatureEventsTemplate.tsx +26 -26
  877. package/src/presentation/features/templates/FeatureFormDetailTemplate/FeatureFormDetailTemplate.tsx +216 -216
  878. package/src/presentation/features/templates/FeatureFormDetailTemplate/types.ts +7 -7
  879. package/src/presentation/features/templates/FeatureFormsTemplate/FeatureFormsTemplate.tsx +26 -26
  880. package/src/presentation/features/templates/FeatureOperationDetailTemplate/FeatureOperationDetailTemplate.tsx +228 -228
  881. package/src/presentation/features/templates/FeatureOperationDetailTemplate/types.ts +7 -7
  882. package/src/presentation/features/templates/FeatureOperationsTemplate/FeatureOperationsTemplate.tsx +26 -26
  883. package/src/presentation/features/templates/FeatureOverviewTemplate/FeatureOverviewTemplate.tsx +24 -24
  884. package/src/presentation/features/templates/FeaturePresentationDetailTemplate/FeaturePresentationDetailTemplate.tsx +201 -201
  885. package/src/presentation/features/templates/FeaturePresentationDetailTemplate/types.ts +8 -8
  886. package/src/presentation/features/templates/FeaturePresentationsTemplate/FeaturePresentationsTemplate.tsx +26 -26
  887. package/src/presentation/features/templates/types.ts +2 -2
  888. package/tsconfig.json +12 -12
  889. package/tsdown.config.js +5 -5
@@ -1,774 +1,157 @@
1
1
  // @bun
2
2
  // src/components/docs/integrations/IntegrationsOverviewPage.tsx
3
3
  import Link from "@contractspec/lib.ui-link";
4
- import { ChevronRight } from "lucide-react";
5
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
+ var groups = [
6
+ {
7
+ title: "Models and voice",
8
+ items: [
9
+ { title: "OpenAI", href: "/docs/integrations/openai" },
10
+ { title: "Mistral", href: "/docs/integrations/mistral" },
11
+ { title: "ElevenLabs", href: "/docs/integrations/elevenlabs" }
12
+ ]
13
+ },
14
+ {
15
+ title: "Messaging and product operations",
16
+ items: [
17
+ { title: "GitHub", href: "/docs/integrations/github" },
18
+ { title: "Slack", href: "/docs/integrations/slack" },
19
+ { title: "Twilio", href: "/docs/integrations/twilio" },
20
+ { title: "Postmark", href: "/docs/integrations/postmark" }
21
+ ]
22
+ },
23
+ {
24
+ title: "Data, storage, and retrieval",
25
+ items: [
26
+ { title: "Qdrant", href: "/docs/integrations/qdrant" },
27
+ { title: "S3 storage", href: "/docs/integrations/s3" },
28
+ { title: "Gmail", href: "/docs/integrations/gmail" },
29
+ { title: "Google Calendar", href: "/docs/integrations/google-calendar" }
30
+ ]
31
+ },
32
+ {
33
+ title: "Payments and external workflows",
34
+ items: [
35
+ { title: "Stripe", href: "/docs/integrations/stripe" },
36
+ { title: "Powens", href: "/docs/integrations/powens" },
37
+ {
38
+ title: "Circuit breakers",
39
+ href: "/docs/integrations/circuit-breakers"
40
+ },
41
+ {
42
+ title: "Health routing",
43
+ href: "/docs/integrations/health-routing"
44
+ }
45
+ ]
46
+ }
47
+ ];
6
48
  function IntegrationsOverviewPage() {
7
49
  return /* @__PURE__ */ jsxs("div", {
8
- className: "space-y-8",
50
+ className: "space-y-10",
9
51
  children: [
10
52
  /* @__PURE__ */ jsxs("div", {
11
- className: "space-y-4",
53
+ className: "space-y-3",
12
54
  children: [
13
- /* @__PURE__ */ jsx("h1", {
14
- className: "text-4xl font-bold",
55
+ /* @__PURE__ */ jsx("p", {
56
+ className: "editorial-kicker",
15
57
  children: "Integrations"
16
58
  }),
17
- /* @__PURE__ */ jsx("p", {
18
- className: "text-muted-foreground",
19
- children: "ContractSpec provides first-class integration support through a spec-first architecture. Integrations are defined globally, connected per-tenant, and bound to apps through typed specifications, ensuring type-safe, policy-enforced access to external services."
20
- })
21
- ]
22
- }),
23
- /* @__PURE__ */ jsxs("div", {
24
- className: "space-y-4",
25
- children: [
26
- /* @__PURE__ */ jsx("h2", {
27
- className: "text-2xl font-bold",
28
- children: "Spec-first architecture"
59
+ /* @__PURE__ */ jsx("h1", {
60
+ className: "font-serif text-4xl tracking-[-0.04em] md:text-5xl",
61
+ children: "Integrations stay explicit: spec what a provider offers, then bind it per tenant and per app."
29
62
  }),
30
63
  /* @__PURE__ */ jsx("p", {
31
- className: "text-muted-foreground",
32
- children: "Integrations in ContractSpec follow a three-layer model:"
33
- }),
34
- /* @__PURE__ */ jsxs("div", {
35
- className: "space-y-3",
36
- children: [
37
- /* @__PURE__ */ jsxs("div", {
38
- className: "card-subtle p-4",
39
- children: [
40
- /* @__PURE__ */ jsx("h3", {
41
- className: "mb-2 font-semibold",
42
- children: "1. IntegrationSpec (Global)"
43
- }),
44
- /* @__PURE__ */ jsx("p", {
45
- className: "text-muted-foreground text-sm",
46
- children: "Defines what an integration provides: capabilities, configuration schema, secrets, webhooks, and requirements."
47
- }),
48
- /* @__PURE__ */ jsx(Link, {
49
- href: "/docs/integrations/spec-model",
50
- className: "mt-2 inline-block text-sm text-violet-400 hover:text-violet-300",
51
- children: "Learn more \u2192"
52
- })
53
- ]
54
- }),
55
- /* @__PURE__ */ jsxs("div", {
56
- className: "card-subtle p-4",
57
- children: [
58
- /* @__PURE__ */ jsx("h3", {
59
- className: "mb-2 font-semibold",
60
- children: "2. IntegrationConnection (Per-Tenant)"
61
- }),
62
- /* @__PURE__ */ jsx("p", {
63
- className: "text-muted-foreground text-sm",
64
- children: "A tenant's configured connection with credentials, environment (sandbox/production), and health status."
65
- }),
66
- /* @__PURE__ */ jsx(Link, {
67
- href: "/docs/architecture/integration-binding",
68
- className: "mt-2 inline-block text-sm text-violet-400 hover:text-violet-300",
69
- children: "Learn more \u2192"
70
- })
71
- ]
72
- }),
73
- /* @__PURE__ */ jsxs("div", {
74
- className: "card-subtle p-4",
75
- children: [
76
- /* @__PURE__ */ jsx("h3", {
77
- className: "mb-2 font-semibold",
78
- children: "3. AppIntegrationBinding (Per-App)"
79
- }),
80
- /* @__PURE__ */ jsx("p", {
81
- className: "text-muted-foreground text-sm",
82
- children: "Maps tenant connections to app capabilities and workflows, defining which operations can use which integrations."
83
- }),
84
- /* @__PURE__ */ jsx(Link, {
85
- href: "/docs/architecture/integration-binding",
86
- className: "mt-2 inline-block text-sm text-violet-400 hover:text-violet-300",
87
- children: "Learn more \u2192"
88
- })
89
- ]
90
- })
91
- ]
64
+ className: "max-w-3xl text-lg text-muted-foreground leading-8",
65
+ children: "The integration model keeps provider behavior out of ad hoc glue code. Define the capability contract first, configure the provider connection explicitly, then bind the integration into app workflows and runtime surfaces with clear ownership."
92
66
  })
93
67
  ]
94
68
  }),
95
69
  /* @__PURE__ */ jsxs("div", {
96
- className: "space-y-4",
70
+ className: "editorial-proof-strip",
97
71
  children: [
98
- /* @__PURE__ */ jsx("h2", {
99
- className: "text-2xl font-bold",
100
- children: "Integration categories"
101
- }),
102
- /* @__PURE__ */ jsx("div", {
103
- className: "bg-background/50 border-border text-muted-foreground overflow-x-auto rounded-lg border p-4 font-mono text-sm",
104
- children: /* @__PURE__ */ jsx("pre", {
105
- children: `type IntegrationCategory =
106
- | "payments" // Stripe
107
- | "open-banking" // Powens
108
- | "email" // Postmark, Resend, Gmail
109
- | "calendar" // Google Calendar
110
- | "sms" // Twilio
111
- | "messaging" // Slack, GitHub, WhatsApp
112
- | "health" // Whoop, Oura, Strava, Fitbit
113
- | "ai-llm" // OpenAI, Mistral
114
- | "ai-voice-tts" // ElevenLabs
115
- | "ai-voice-stt" // OpenAI Whisper, Mistral Voxtral
116
- | "ai-voice-conversational" // OpenAI Realtime, Mistral Voice
117
- | "ai-image" // OpenAI Image, Fal
118
- | "vector-db" // Qdrant
119
- | "database" // Supabase Postgres
120
- | "storage" // S3-compatible
121
- | "meeting-recorder" // Fireflies, tl;dv
122
- | "project-management" // Linear, Jira, Notion
123
- | "accounting" // Coming soon
124
- | "crm" // Coming soon
125
- | "helpdesk" // Coming soon
126
- | "custom"; // User-defined`
127
- })
128
- })
129
- ]
130
- }),
131
- /* @__PURE__ */ jsxs("div", {
132
- className: "space-y-4",
133
- children: [
134
- /* @__PURE__ */ jsx("h2", {
135
- className: "text-2xl font-bold",
136
- children: "Available integrations"
137
- }),
138
72
  /* @__PURE__ */ jsxs("div", {
139
- className: "space-y-6",
73
+ className: "editorial-stat",
140
74
  children: [
141
- /* @__PURE__ */ jsxs("div", {
142
- className: "space-y-3",
143
- children: [
144
- /* @__PURE__ */ jsx("h3", {
145
- className: "text-xl font-semibold",
146
- children: "Payments"
147
- }),
148
- /* @__PURE__ */ jsx("div", {
149
- className: "grid gap-4 md:grid-cols-2",
150
- children: /* @__PURE__ */ jsxs(Link, {
151
- href: "/docs/integrations/stripe",
152
- className: "card-subtle group p-4 transition-colors hover:border-violet-500/50",
153
- children: [
154
- /* @__PURE__ */ jsx("h4", {
155
- className: "font-bold transition-colors group-hover:text-violet-400",
156
- children: "Stripe"
157
- }),
158
- /* @__PURE__ */ jsx("p", {
159
- className: "text-muted-foreground mt-1 text-sm",
160
- children: "Payment processing, subscriptions, and invoicing"
161
- })
162
- ]
163
- })
164
- })
165
- ]
166
- }),
167
- /* @__PURE__ */ jsxs("div", {
168
- className: "space-y-3",
169
- children: [
170
- /* @__PURE__ */ jsx("h3", {
171
- className: "text-xl font-semibold",
172
- children: "Open Banking"
173
- }),
174
- /* @__PURE__ */ jsx("div", {
175
- className: "grid gap-4 md:grid-cols-2",
176
- children: /* @__PURE__ */ jsxs(Link, {
177
- href: "/docs/integrations/powens",
178
- className: "card-subtle group p-4 transition-colors hover:border-violet-500/50",
179
- children: [
180
- /* @__PURE__ */ jsx("h4", {
181
- className: "font-bold transition-colors group-hover:text-violet-400",
182
- children: "Powens (Read-Only)"
183
- }),
184
- /* @__PURE__ */ jsx("p", {
185
- className: "text-muted-foreground mt-1 text-sm",
186
- children: "Account, transaction, and balance synchronisation via Powens with tenant-owned credentials."
187
- })
188
- ]
189
- })
190
- })
191
- ]
192
- }),
193
- /* @__PURE__ */ jsxs("div", {
194
- className: "space-y-3",
195
- children: [
196
- /* @__PURE__ */ jsx("h3", {
197
- className: "text-xl font-semibold",
198
- children: "Email"
199
- }),
200
- /* @__PURE__ */ jsxs("div", {
201
- className: "grid gap-4 md:grid-cols-2",
202
- children: [
203
- /* @__PURE__ */ jsxs(Link, {
204
- href: "/docs/integrations/postmark",
205
- className: "card-subtle group p-4 transition-colors hover:border-violet-500/50",
206
- children: [
207
- /* @__PURE__ */ jsx("h4", {
208
- className: "font-bold transition-colors group-hover:text-violet-400",
209
- children: "Postmark"
210
- }),
211
- /* @__PURE__ */ jsx("p", {
212
- className: "text-muted-foreground mt-1 text-sm",
213
- children: "Transactional email delivery with high deliverability"
214
- })
215
- ]
216
- }),
217
- /* @__PURE__ */ jsxs(Link, {
218
- href: "/docs/integrations/resend",
219
- className: "card-subtle group p-4 transition-colors hover:border-violet-500/50",
220
- children: [
221
- /* @__PURE__ */ jsx("h4", {
222
- className: "font-bold transition-colors group-hover:text-violet-400",
223
- children: "Resend"
224
- }),
225
- /* @__PURE__ */ jsx("p", {
226
- className: "text-muted-foreground mt-1 text-sm",
227
- children: "Modern email API for developers"
228
- })
229
- ]
230
- }),
231
- /* @__PURE__ */ jsxs(Link, {
232
- href: "/docs/integrations/gmail",
233
- className: "card-subtle group p-4 transition-colors hover:border-violet-500/50",
234
- children: [
235
- /* @__PURE__ */ jsx("h4", {
236
- className: "font-bold transition-colors group-hover:text-violet-400",
237
- children: "Gmail API"
238
- }),
239
- /* @__PURE__ */ jsx("p", {
240
- className: "text-muted-foreground mt-1 text-sm",
241
- children: "Inbound email processing and thread management"
242
- })
243
- ]
244
- })
245
- ]
246
- })
247
- ]
248
- }),
249
- /* @__PURE__ */ jsxs("div", {
250
- className: "space-y-3",
251
- children: [
252
- /* @__PURE__ */ jsx("h3", {
253
- className: "text-xl font-semibold",
254
- children: "Calendar & Scheduling"
255
- }),
256
- /* @__PURE__ */ jsx("div", {
257
- className: "grid gap-4 md:grid-cols-2",
258
- children: /* @__PURE__ */ jsxs(Link, {
259
- href: "/docs/integrations/google-calendar",
260
- className: "card-subtle group p-4 transition-colors hover:border-violet-500/50",
261
- children: [
262
- /* @__PURE__ */ jsx("h4", {
263
- className: "font-bold transition-colors group-hover:text-violet-400",
264
- children: "Google Calendar"
265
- }),
266
- /* @__PURE__ */ jsx("p", {
267
- className: "text-muted-foreground mt-1 text-sm",
268
- children: "Event scheduling and calendar management"
269
- })
270
- ]
271
- })
272
- })
273
- ]
274
- }),
275
- /* @__PURE__ */ jsxs("div", {
276
- className: "space-y-3",
277
- children: [
278
- /* @__PURE__ */ jsx("h3", {
279
- className: "text-xl font-semibold",
280
- children: "AI & Machine Learning"
281
- }),
282
- /* @__PURE__ */ jsxs("div", {
283
- className: "grid gap-4 md:grid-cols-2",
284
- children: [
285
- /* @__PURE__ */ jsxs(Link, {
286
- href: "/docs/integrations/openai",
287
- className: "card-subtle group p-4 transition-colors hover:border-violet-500/50",
288
- children: [
289
- /* @__PURE__ */ jsx("h4", {
290
- className: "font-bold transition-colors group-hover:text-violet-400",
291
- children: "OpenAI"
292
- }),
293
- /* @__PURE__ */ jsx("p", {
294
- className: "text-muted-foreground mt-1 text-sm",
295
- children: "LLMs, embeddings, and Whisper speech-to-text"
296
- })
297
- ]
298
- }),
299
- /* @__PURE__ */ jsxs(Link, {
300
- href: "/docs/integrations/mistral",
301
- className: "card-subtle group p-4 transition-colors hover:border-violet-500/50",
302
- children: [
303
- /* @__PURE__ */ jsx("h4", {
304
- className: "font-bold transition-colors group-hover:text-violet-400",
305
- children: "Mistral"
306
- }),
307
- /* @__PURE__ */ jsx("p", {
308
- className: "text-muted-foreground mt-1 text-sm",
309
- children: "LLMs, embeddings, Voxtral STT, and conversational voice"
310
- })
311
- ]
312
- }),
313
- /* @__PURE__ */ jsxs(Link, {
314
- href: "/docs/integrations/elevenlabs",
315
- className: "card-subtle group p-4 transition-colors hover:border-violet-500/50",
316
- children: [
317
- /* @__PURE__ */ jsx("h4", {
318
- className: "font-bold transition-colors group-hover:text-violet-400",
319
- children: "ElevenLabs"
320
- }),
321
- /* @__PURE__ */ jsx("p", {
322
- className: "text-muted-foreground mt-1 text-sm",
323
- children: "Text-to-speech and voice synthesis"
324
- })
325
- ]
326
- }),
327
- /* @__PURE__ */ jsxs(Link, {
328
- href: "/docs/integrations/qdrant",
329
- className: "card-subtle group p-4 transition-colors hover:border-violet-500/50",
330
- children: [
331
- /* @__PURE__ */ jsx("h4", {
332
- className: "font-bold transition-colors group-hover:text-violet-400",
333
- children: "Qdrant"
334
- }),
335
- /* @__PURE__ */ jsx("p", {
336
- className: "text-muted-foreground mt-1 text-sm",
337
- children: "Vector database for semantic search and RAG"
338
- })
339
- ]
340
- })
341
- ]
342
- })
343
- ]
344
- }),
345
- /* @__PURE__ */ jsxs("div", {
346
- className: "space-y-3",
347
- children: [
348
- /* @__PURE__ */ jsx("h3", {
349
- className: "text-xl font-semibold",
350
- children: "Storage"
351
- }),
352
- /* @__PURE__ */ jsx("div", {
353
- className: "grid gap-4 md:grid-cols-2",
354
- children: /* @__PURE__ */ jsxs(Link, {
355
- href: "/docs/integrations/s3",
356
- className: "card-subtle group p-4 transition-colors hover:border-violet-500/50",
357
- children: [
358
- /* @__PURE__ */ jsx("h4", {
359
- className: "font-bold transition-colors group-hover:text-violet-400",
360
- children: "S3-Compatible Storage"
361
- }),
362
- /* @__PURE__ */ jsx("p", {
363
- className: "text-muted-foreground mt-1 text-sm",
364
- children: "Object storage (AWS S3, Scaleway, MinIO, etc.)"
365
- })
366
- ]
367
- })
368
- })
369
- ]
370
- }),
371
- /* @__PURE__ */ jsxs("div", {
372
- className: "space-y-3",
373
- children: [
374
- /* @__PURE__ */ jsx("h3", {
375
- className: "text-xl font-semibold",
376
- children: "SMS"
377
- }),
378
- /* @__PURE__ */ jsx("div", {
379
- className: "grid gap-4 md:grid-cols-2",
380
- children: /* @__PURE__ */ jsxs(Link, {
381
- href: "/docs/integrations/twilio",
382
- className: "card-subtle group p-4 transition-colors hover:border-violet-500/50",
383
- children: [
384
- /* @__PURE__ */ jsx("h4", {
385
- className: "font-bold transition-colors group-hover:text-violet-400",
386
- children: "Twilio"
387
- }),
388
- /* @__PURE__ */ jsx("p", {
389
- className: "text-muted-foreground mt-1 text-sm",
390
- children: "SMS notifications and transactional messaging"
391
- })
392
- ]
393
- })
394
- })
395
- ]
75
+ /* @__PURE__ */ jsx("span", {
76
+ className: "editorial-label",
77
+ children: "Binding model"
396
78
  }),
397
- /* @__PURE__ */ jsxs("div", {
398
- className: "space-y-3",
399
- children: [
400
- /* @__PURE__ */ jsx("h3", {
401
- className: "text-xl font-semibold",
402
- children: "Messaging channels"
403
- }),
404
- /* @__PURE__ */ jsxs("div", {
405
- className: "grid gap-4 md:grid-cols-2",
406
- children: [
407
- /* @__PURE__ */ jsxs(Link, {
408
- href: "/docs/integrations/slack",
409
- className: "card-subtle group p-4 transition-colors hover:border-violet-500/50",
410
- children: [
411
- /* @__PURE__ */ jsx("h4", {
412
- className: "font-bold transition-colors group-hover:text-violet-400",
413
- children: "Slack"
414
- }),
415
- /* @__PURE__ */ jsx("p", {
416
- className: "text-muted-foreground mt-1 text-sm",
417
- children: "Signed event ingestion and outbox-backed replies"
418
- })
419
- ]
420
- }),
421
- /* @__PURE__ */ jsxs(Link, {
422
- href: "/docs/integrations/github",
423
- className: "card-subtle group p-4 transition-colors hover:border-violet-500/50",
424
- children: [
425
- /* @__PURE__ */ jsx("h4", {
426
- className: "font-bold transition-colors group-hover:text-violet-400",
427
- children: "GitHub"
428
- }),
429
- /* @__PURE__ */ jsx("p", {
430
- className: "text-muted-foreground mt-1 text-sm",
431
- children: "Issue and PR comment workflows with webhook verification"
432
- })
433
- ]
434
- }),
435
- /* @__PURE__ */ jsxs(Link, {
436
- href: "/docs/integrations/whatsapp-meta",
437
- className: "card-subtle group p-4 transition-colors hover:border-violet-500/50",
438
- children: [
439
- /* @__PURE__ */ jsx("h4", {
440
- className: "font-bold transition-colors group-hover:text-violet-400",
441
- children: "WhatsApp Meta"
442
- }),
443
- /* @__PURE__ */ jsx("p", {
444
- className: "text-muted-foreground mt-1 text-sm",
445
- children: "Primary WhatsApp Business API transport for inbound and outbound"
446
- })
447
- ]
448
- }),
449
- /* @__PURE__ */ jsxs(Link, {
450
- href: "/docs/integrations/whatsapp-twilio",
451
- className: "card-subtle group p-4 transition-colors hover:border-violet-500/50",
452
- children: [
453
- /* @__PURE__ */ jsx("h4", {
454
- className: "font-bold transition-colors group-hover:text-violet-400",
455
- children: "WhatsApp Twilio"
456
- }),
457
- /* @__PURE__ */ jsx("p", {
458
- className: "text-muted-foreground mt-1 text-sm",
459
- children: "Fallback WhatsApp route with Twilio signature validation"
460
- })
461
- ]
462
- })
463
- ]
464
- })
465
- ]
466
- }),
467
- /* @__PURE__ */ jsxs("div", {
468
- className: "space-y-3",
469
- children: [
470
- /* @__PURE__ */ jsx("h3", {
471
- className: "text-xl font-semibold",
472
- children: "Health & wearables"
473
- }),
474
- /* @__PURE__ */ jsx("div", {
475
- className: "grid gap-4 md:grid-cols-2",
476
- children: /* @__PURE__ */ jsxs(Link, {
477
- href: "/docs/integrations/health-routing",
478
- className: "card-subtle group p-4 transition-colors hover:border-violet-500/50",
479
- children: [
480
- /* @__PURE__ */ jsx("h4", {
481
- className: "font-bold transition-colors group-hover:text-violet-400",
482
- children: "Health routing strategy"
483
- }),
484
- /* @__PURE__ */ jsx("p", {
485
- className: "text-muted-foreground mt-1 text-sm",
486
- children: "Official vs aggregator transport order, unofficial gating, and OAuth refresh config"
487
- })
488
- ]
489
- })
490
- })
491
- ]
79
+ /* @__PURE__ */ jsx("span", {
80
+ className: "editorial-stat-value",
81
+ children: "Integration spec \u2192 tenant connection \u2192 app binding"
492
82
  })
493
83
  ]
494
- })
495
- ]
496
- }),
497
- /* @__PURE__ */ jsxs("div", {
498
- className: "space-y-4",
499
- children: [
500
- /* @__PURE__ */ jsx("h2", {
501
- className: "text-2xl font-bold",
502
- children: "How integrations work"
503
- }),
504
- /* @__PURE__ */ jsxs("p", {
505
- className: "text-muted-foreground",
506
- children: [
507
- "ContractSpec integrations are implemented as",
508
- " ",
509
- /* @__PURE__ */ jsx(Link, {
510
- href: "/docs/specs/capabilities",
511
- className: "text-violet-400 hover:text-violet-300",
512
- children: "capability providers"
513
- }),
514
- ". This means:"
515
- ]
516
84
  }),
517
- /* @__PURE__ */ jsxs("ul", {
518
- className: "text-muted-foreground list-inside list-disc space-y-2",
519
- children: [
520
- /* @__PURE__ */ jsxs("li", {
521
- children: [
522
- /* @__PURE__ */ jsx("strong", {
523
- children: "Type safety"
524
- }),
525
- " \u2013 All API calls are type-checked by TypeScript and validated at runtime via Zod"
526
- ]
527
- }),
528
- /* @__PURE__ */ jsxs("li", {
529
- children: [
530
- /* @__PURE__ */ jsx("strong", {
531
- children: "Policy enforcement"
532
- }),
533
- " \u2013 Access to external services is governed by your",
534
- " ",
535
- /* @__PURE__ */ jsx(Link, {
536
- href: "/docs/specs/policy",
537
- className: "text-violet-400 hover:text-violet-300",
538
- children: "PolicySpecs"
539
- })
540
- ]
541
- }),
542
- /* @__PURE__ */ jsxs("li", {
543
- children: [
544
- /* @__PURE__ */ jsx("strong", {
545
- children: "Audit logging"
546
- }),
547
- " \u2013 All integration calls are automatically logged"
548
- ]
549
- }),
550
- /* @__PURE__ */ jsxs("li", {
551
- children: [
552
- /* @__PURE__ */ jsx("strong", {
553
- children: "Error handling"
554
- }),
555
- " \u2013 Built-in retries and fallback strategies"
556
- ]
557
- }),
558
- /* @__PURE__ */ jsxs("li", {
559
- children: [
560
- /* @__PURE__ */ jsx("strong", {
561
- children: "Environment-based config"
562
- }),
563
- " \u2013 API keys and secrets are managed through environment variables"
564
- ]
565
- })
566
- ]
85
+ /* @__PURE__ */ jsx("p", {
86
+ className: "max-w-2xl text-muted-foreground text-sm leading-7",
87
+ children: "That separation is what makes reuse, tenant isolation, and provider swaps practical without rewriting every surface."
567
88
  })
568
89
  ]
569
90
  }),
570
- /* @__PURE__ */ jsxs("div", {
571
- className: "space-y-4",
572
- children: [
573
- /* @__PURE__ */ jsx("h2", {
574
- className: "text-2xl font-bold",
575
- children: "Secret management"
576
- }),
577
- /* @__PURE__ */ jsx("p", {
578
- className: "text-muted-foreground",
579
- children: "Secrets are resolved through a layered secret provider manager. It checks lightweight environment overrides first, then falls back to a managed vault (Google Cloud Secret Manager) for production."
580
- }),
581
- /* @__PURE__ */ jsxs("div", {
582
- className: "grid gap-4 md:grid-cols-2",
583
- children: [
584
- /* @__PURE__ */ jsxs("div", {
585
- className: "card-subtle p-4",
586
- children: [
587
- /* @__PURE__ */ jsx("h3", {
588
- className: "text-xl font-semibold",
589
- children: "Environment variables"
590
- }),
591
- /* @__PURE__ */ jsxs("p", {
592
- className: "text-muted-foreground mt-2 text-sm",
593
- children: [
594
- "Perfect for local development and secure staging overrides. Use the ",
595
- /* @__PURE__ */ jsx("code", {
596
- children: "env://"
597
- }),
598
- " scheme or append ",
599
- /* @__PURE__ */ jsx("code", {
600
- children: "?env="
601
- }),
602
- " to another reference to map an explicit variable."
603
- ]
604
- }),
605
- /* @__PURE__ */ jsx("div", {
606
- className: "bg-background/60 border-border mt-3 overflow-auto rounded-lg border p-3 font-mono text-xs",
607
- children: /* @__PURE__ */ jsx("pre", {
608
- className: "whitespace-pre-wrap",
609
- children: `# Override a production secret locally
610
- CONTRACTSPEC__SECRET__STRIPE=sk_test_123
611
-
612
- # Reference
613
- env://CONTRACTSPEC__SECRET__STRIPE`
91
+ /* @__PURE__ */ jsx("section", {
92
+ className: "editorial-panel space-y-5",
93
+ children: /* @__PURE__ */ jsxs("div", {
94
+ className: "space-y-2",
95
+ children: [
96
+ /* @__PURE__ */ jsx("h2", {
97
+ className: "font-serif text-3xl tracking-[-0.03em]",
98
+ children: "Start with the model, then pick a provider"
99
+ }),
100
+ /* @__PURE__ */ jsxs("div", {
101
+ className: "grid gap-4 md:grid-cols-2",
102
+ children: [
103
+ /* @__PURE__ */ jsxs(Link, {
104
+ href: "/docs/integrations/spec-model",
105
+ className: "docs-footer-link",
106
+ children: [
107
+ /* @__PURE__ */ jsx("h3", {
108
+ className: "font-semibold text-lg",
109
+ children: "Integration spec model"
110
+ }),
111
+ /* @__PURE__ */ jsx("p", {
112
+ className: "text-muted-foreground text-sm leading-7",
113
+ children: "Define what the provider offers, what configuration it needs, and how the runtime should treat it."
614
114
  })
615
- })
616
- ]
617
- }),
618
- /* @__PURE__ */ jsxs("div", {
619
- className: "card-subtle p-4",
620
- children: [
621
- /* @__PURE__ */ jsx("h3", {
622
- className: "text-xl font-semibold",
623
- children: "GCP Secret Manager"
624
- }),
625
- /* @__PURE__ */ jsxs("p", {
626
- className: "text-muted-foreground mt-2 text-sm",
627
- children: [
628
- "Used in production to store versioned credentials with rotation support. References follow the",
629
- " ",
630
- /* @__PURE__ */ jsx("code", {
631
- children: "gcp://projects/.../secrets/.../versions/latest"
632
- }),
633
- " ",
634
- "format."
635
- ]
636
- }),
637
- /* @__PURE__ */ jsx("div", {
638
- className: "bg-background/60 border-border mt-3 overflow-auto rounded-lg border p-3 font-mono text-xs",
639
- children: /* @__PURE__ */ jsx("pre", {
640
- className: "whitespace-pre-wrap",
641
- children: `# Production reference
642
- gcp://projects/tenant/secrets/stripe-secret-key/versions/latest`
115
+ ]
116
+ }),
117
+ /* @__PURE__ */ jsxs(Link, {
118
+ href: "/docs/architecture/integration-binding",
119
+ className: "docs-footer-link",
120
+ children: [
121
+ /* @__PURE__ */ jsx("h3", {
122
+ className: "font-semibold text-lg",
123
+ children: "Integration binding"
124
+ }),
125
+ /* @__PURE__ */ jsx("p", {
126
+ className: "text-muted-foreground text-sm leading-7",
127
+ children: "Understand how tenant connections get mapped into concrete app surfaces and workflows."
643
128
  })
644
- })
645
- ]
646
- })
647
- ]
648
- }),
649
- /* @__PURE__ */ jsx("p", {
650
- className: "text-muted-foreground text-sm",
651
- children: "The secret manager chooses the first provider that can resolve a reference, so local environment variables can override the managed vault without changing blueprints or tenant configs."
652
- })
653
- ]
654
- }),
655
- /* @__PURE__ */ jsxs("div", {
656
- className: "space-y-4",
657
- children: [
658
- /* @__PURE__ */ jsx("h2", {
659
- className: "text-2xl font-bold",
660
- children: "Configuration"
661
- }),
662
- /* @__PURE__ */ jsx("p", {
663
- className: "text-muted-foreground",
664
- children: "Integrations are configured through environment variables and secret references. Here's a typical setup:"
665
- }),
666
- /* @__PURE__ */ jsx("div", {
667
- className: "bg-background/50 border-border text-muted-foreground overflow-x-auto rounded-lg border p-4 font-mono text-sm",
668
- children: /* @__PURE__ */ jsx("pre", {
669
- children: `# .env
670
- STRIPE_SECRET_KEY=sk_test_...
671
- STRIPE_WEBHOOK_SECRET=whsec_...
672
-
673
- POSTMARK_API_TOKEN=...
674
- POSTMARK_FROM_EMAIL=noreply@example.com
675
-
676
- OPENAI_API_KEY=sk-...
677
- OPENAI_ORGANIZATION=org-...
678
-
679
- MISTRAL_API_KEY=...
680
-
681
- QDRANT_URL=https://...
682
- QDRANT_API_KEY=...
683
-
684
- S3_ENDPOINT=https://s3.fr-par.scw.cloud
685
- S3_ACCESS_KEY_ID=...
686
- S3_SECRET_ACCESS_KEY=...
687
- S3_BUCKET=my-bucket
688
- S3_REGION=fr-par
689
-
690
- # Secret references
691
- STRIPE_SECRET_REF=gcp://projects/tenant/secrets/stripe-secret-key/versions/latest
692
- STRIPE_SECRET_OVERRIDE=env://STRIPE_SECRET_KEY`
129
+ ]
130
+ })
131
+ ]
693
132
  })
694
- })
695
- ]
696
- }),
697
- /* @__PURE__ */ jsxs("div", {
698
- className: "space-y-4",
699
- children: [
700
- /* @__PURE__ */ jsx("h2", {
701
- className: "text-2xl font-bold",
702
- children: "Integration categories"
703
- }),
704
- /* @__PURE__ */ jsx("p", {
705
- className: "text-muted-foreground",
706
- children: "ContractSpec supports the following integration categories:"
707
- }),
708
- /* @__PURE__ */ jsx("div", {
709
- className: "bg-background/50 border-border text-muted-foreground overflow-x-auto rounded-lg border p-4 font-mono text-sm",
710
- children: /* @__PURE__ */ jsx("pre", {
711
- children: `type IntegrationCategory =
712
- | "payments" // Stripe, PayPal, etc.
713
- | "open-banking" // Powens and open banking providers
714
- | "email" // Postmark, Resend, Gmail
715
- | "calendar" // Google Calendar, Outlook
716
- | "sms" // Twilio, MessageBird
717
- | "messaging" // Slack, GitHub, WhatsApp
718
- | "health" // Whoop, Oura, Strava, Fitbit
719
- | "ai-llm" // OpenAI, Anthropic, Cohere, Mistral
720
- | "ai-voice-tts" // ElevenLabs, Google TTS
721
- | "ai-voice-stt" // OpenAI Whisper, Google STT, Mistral Voxtral
722
- | "ai-voice-conversational" // OpenAI Realtime, Mistral Voice
723
- | "ai-image" // OpenAI Image, Fal
724
- | "vector-db" // Qdrant, Pinecone, Weaviate
725
- | "database" // Supabase, Postgres
726
- | "storage" // S3, GCS, Azure Blob
727
- | "meeting-recorder" // Fireflies, tl;dv, Granola
728
- | "project-management" // Linear, Jira, Notion
729
- | "accounting" // QuickBooks, Xero (coming soon)
730
- | "crm" // Salesforce, HubSpot (coming soon)
731
- | "helpdesk" // Zendesk, Intercom (coming soon)
732
- | "custom"; // Your own integrations`
733
- })
734
- })
735
- ]
736
- }),
737
- /* @__PURE__ */ jsxs("div", {
738
- className: "space-y-4",
739
- children: [
740
- /* @__PURE__ */ jsx("h2", {
741
- className: "text-2xl font-bold",
742
- children: "Custom integrations"
743
- }),
744
- /* @__PURE__ */ jsxs("p", {
745
- className: "text-muted-foreground",
746
- children: [
747
- "You can create custom integrations by implementing a capability provider. See the",
748
- " ",
749
- /* @__PURE__ */ jsx(Link, {
750
- href: "/docs/advanced/custom-providers",
751
- className: "text-violet-400 hover:text-violet-300",
752
- children: "Custom Providers"
753
- }),
754
- " ",
755
- "guide for details."
756
- ]
757
- })
758
- ]
133
+ ]
134
+ })
759
135
  }),
760
136
  /* @__PURE__ */ jsx("div", {
761
- className: "flex items-center gap-4 pt-4",
762
- children: /* @__PURE__ */ jsxs(Link, {
763
- href: "/docs/integrations/stripe",
764
- className: "btn-primary",
137
+ className: "grid gap-5 md:grid-cols-2",
138
+ children: groups.map((group) => /* @__PURE__ */ jsxs("section", {
139
+ className: "editorial-panel space-y-4",
765
140
  children: [
766
- "Get Started with Stripe ",
767
- /* @__PURE__ */ jsx(ChevronRight, {
768
- size: 16
141
+ /* @__PURE__ */ jsx("h2", {
142
+ className: "font-serif text-2xl tracking-[-0.03em]",
143
+ children: group.title
144
+ }),
145
+ /* @__PURE__ */ jsx("div", {
146
+ className: "space-y-3",
147
+ children: group.items.map((item) => /* @__PURE__ */ jsx(Link, {
148
+ href: item.href,
149
+ className: "docs-chip-link",
150
+ children: item.title
151
+ }, item.href))
769
152
  })
770
153
  ]
771
- })
154
+ }, group.title))
772
155
  })
773
156
  ]
774
157
  });