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