@contractspec/bundle.library 3.8.12 → 3.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (683) hide show
  1. package/.turbo/turbo-build.log +614 -602
  2. package/CHANGELOG.md +97 -0
  3. package/dist/application/context-storage/index.js +1 -1
  4. package/dist/application/index.js +11 -11
  5. package/dist/application/mcp/cliMcp.js +6 -6
  6. package/dist/application/mcp/cliMcp.onboarding.d.ts +4 -0
  7. package/dist/application/mcp/cliMcp.onboarding.js +2 -0
  8. package/dist/application/mcp/cliMcp.test.d.ts +1 -0
  9. package/dist/application/mcp/common.js +1 -1
  10. package/dist/application/mcp/contractsMcp.js +2 -2
  11. package/dist/application/mcp/contractsMcp.test.d.ts +1 -0
  12. package/dist/application/mcp/contractsMcpAdoptionTools.d.ts +3 -0
  13. package/dist/application/mcp/contractsMcpAdoptionTools.js +2 -0
  14. package/dist/application/mcp/contractsMcpResources.js +2 -2
  15. package/dist/application/mcp/contractsMcpTools.js +1 -1
  16. package/dist/application/mcp/contractsMcpTypes.d.ts +16 -0
  17. package/dist/application/mcp/docsMcp.catalog.js +2 -2
  18. package/dist/application/mcp/docsMcp.data.js +1 -1
  19. package/dist/application/mcp/docsMcp.js +3 -3
  20. package/dist/application/mcp/docsMcp.prompts.js +3 -3
  21. package/dist/application/mcp/docsMcp.reference.js +2 -2
  22. package/dist/application/mcp/docsMcp.resources.js +2 -2
  23. package/dist/application/mcp/docsMcp.tools.js +2 -2
  24. package/dist/application/mcp/index.js +11 -11
  25. package/dist/application/mcp/internalMcp.js +2 -2
  26. package/dist/application/mcp/normalizeMcpRequest.js +1 -1
  27. package/dist/application/mcp/providerRankingMcp.js +1 -1
  28. package/dist/bundles/LibraryBundle.d.ts +19 -111
  29. package/dist/bundles/LibraryBundle.js +1 -1
  30. package/dist/bundles/index.js +1 -1
  31. package/dist/components/docs/DocsIndexPage.js +2 -2
  32. package/dist/components/docs/advanced/AdvancedMCPPage.js +3 -3
  33. package/dist/components/docs/advanced/AdvancedOverlayEditorPage.js +1 -1
  34. package/dist/components/docs/advanced/AdvancedRenderersPage.js +2 -2
  35. package/dist/components/docs/advanced/AdvancedSpecExperimentsPage.js +4 -4
  36. package/dist/components/docs/advanced/AdvancedTelemetryPage.js +2 -2
  37. package/dist/components/docs/advanced/AdvancedWorkflowMonitoringPage.js +2 -2
  38. package/dist/components/docs/advanced/index.js +9 -9
  39. package/dist/components/docs/architecture/ArchitectureAppConfigPage.js +6 -6
  40. package/dist/components/docs/architecture/ArchitectureControlPlanePage.js +3 -3
  41. package/dist/components/docs/architecture/ArchitectureIntegrationBindingPage.js +7 -7
  42. package/dist/components/docs/architecture/ArchitectureKnowledgeBindingPage.js +6 -6
  43. package/dist/components/docs/architecture/ArchitectureMultiTenancyPage.js +2 -2
  44. package/dist/components/docs/architecture/ArchitectureOverviewPage.js +1 -1
  45. package/dist/components/docs/architecture/index.js +20 -20
  46. package/dist/components/docs/comparison/ComparisonAutomationPlatformsPage.js +1 -1
  47. package/dist/components/docs/comparison/ComparisonEnterprisePlatformsPage.js +1 -1
  48. package/dist/components/docs/comparison/ComparisonInternalToolBuildersPage.js +1 -1
  49. package/dist/components/docs/comparison/ComparisonOverviewPage.js +1 -1
  50. package/dist/components/docs/comparison/ComparisonWindmillPage.js +1 -1
  51. package/dist/components/docs/comparison/ComparisonWorkflowEnginesPage.js +1 -1
  52. package/dist/components/docs/comparison/index.js +1 -1
  53. package/dist/components/docs/docsManifest.js +1 -1
  54. package/dist/components/docs/ecosystem/IntegrationsPage.js +2 -2
  55. package/dist/components/docs/ecosystem/PluginsPage.js +4 -4
  56. package/dist/components/docs/ecosystem/RegistryPage.js +4 -4
  57. package/dist/components/docs/ecosystem/TemplatesPage.js +3 -3
  58. package/dist/components/docs/ecosystem/index.js +11 -11
  59. package/dist/components/docs/examples/DocsExamplesPage.js +1 -17
  60. package/dist/components/docs/examples/ExampleShowcasePage.d.ts +1 -1
  61. package/dist/components/docs/examples/ExampleShowcasePage.js +2 -17
  62. package/dist/components/docs/examples/exampleShowcaseData.d.ts +2 -2
  63. package/dist/components/docs/examples/exampleShowcaseData.js +2 -17
  64. package/dist/components/docs/examples/exampleShowcaseData.test.d.ts +1 -0
  65. package/dist/components/docs/examples/index.js +2 -17
  66. package/dist/components/docs/generated/docs-index.generated.js +1 -1
  67. package/dist/components/docs/generated/index.d.ts +7 -1
  68. package/dist/components/docs/generated/index.js +1 -1
  69. package/dist/components/docs/generated/loader.js +1 -1
  70. package/dist/components/docs/getting-started/CLIPage.js +6 -5
  71. package/dist/components/docs/getting-started/CompatibilityPage.js +1 -1
  72. package/dist/components/docs/getting-started/DataViewTutorialPage.js +44 -67
  73. package/dist/components/docs/getting-started/DeveloperToolsPage.js +1 -1
  74. package/dist/components/docs/getting-started/HelloWorldPage.js +5 -5
  75. package/dist/components/docs/getting-started/InstallationPage.js +3 -3
  76. package/dist/components/docs/getting-started/StartHerePage.js +4 -2
  77. package/dist/components/docs/getting-started/TroubleshootingPage.js +2 -2
  78. package/dist/components/docs/getting-started/VSCodeExtensionPage.js +1 -1
  79. package/dist/components/docs/getting-started/getting-started.docblocks.js +2 -2
  80. package/dist/components/docs/getting-started/index.js +60 -80
  81. package/dist/components/docs/guides/GuideCIDiffGatingPage.js +2 -2
  82. package/dist/components/docs/guides/GuideConnectInRepoPage.js +30 -5
  83. package/dist/components/docs/guides/GuideContractTypesPage.js +6 -6
  84. package/dist/components/docs/guides/GuideDocsPipelinePage.js +3 -3
  85. package/dist/components/docs/guides/GuideFirstModuleBundlePage.js +4 -4
  86. package/dist/components/docs/guides/GuideGenerateDocsClientsSchemasPage.js +2 -2
  87. package/dist/components/docs/guides/GuideHostBuilderWorkbenchPage.js +21 -6
  88. package/dist/components/docs/guides/GuideImportExistingCodebasesPage.js +8 -8
  89. package/dist/components/docs/guides/GuideNextjsOneEndpointPage.js +6 -6
  90. package/dist/components/docs/guides/GuideReleaseCapsulesPage.d.ts +1 -0
  91. package/dist/components/docs/guides/GuideReleaseCapsulesPage.js +16 -0
  92. package/dist/components/docs/guides/GuideSpecValidationTypingPage.js +4 -4
  93. package/dist/components/docs/guides/GuidesIndexPage.js +2 -2
  94. package/dist/components/docs/guides/index.d.ts +1 -0
  95. package/dist/components/docs/guides/index.js +93 -39
  96. package/dist/components/docs/index.js +690 -419
  97. package/dist/components/docs/integrations/IntegrationsCircuitBreakersPage.js +2 -2
  98. package/dist/components/docs/integrations/IntegrationsElevenLabsPage.js +3 -3
  99. package/dist/components/docs/integrations/IntegrationsGithubPage.js +2 -2
  100. package/dist/components/docs/integrations/IntegrationsGmailPage.js +3 -3
  101. package/dist/components/docs/integrations/IntegrationsGoogleCalendarPage.js +3 -3
  102. package/dist/components/docs/integrations/IntegrationsHealthRoutingPage.js +2 -2
  103. package/dist/components/docs/integrations/IntegrationsMistralPage.js +2 -2
  104. package/dist/components/docs/integrations/IntegrationsOpenAIPage.js +2 -2
  105. package/dist/components/docs/integrations/IntegrationsOverviewPage.js +1 -1
  106. package/dist/components/docs/integrations/IntegrationsPostmarkPage.js +2 -2
  107. package/dist/components/docs/integrations/IntegrationsPowensPage.js +2 -2
  108. package/dist/components/docs/integrations/IntegrationsQdrantPage.js +5 -5
  109. package/dist/components/docs/integrations/IntegrationsResendPage.js +3 -3
  110. package/dist/components/docs/integrations/IntegrationsS3Page.js +4 -4
  111. package/dist/components/docs/integrations/IntegrationsSlackPage.js +2 -2
  112. package/dist/components/docs/integrations/IntegrationsSpecModelPage.js +2 -2
  113. package/dist/components/docs/integrations/IntegrationsStripePage.js +2 -2
  114. package/dist/components/docs/integrations/IntegrationsTwilioPage.js +3 -3
  115. package/dist/components/docs/integrations/IntegrationsWhatsappMetaPage.js +2 -2
  116. package/dist/components/docs/integrations/IntegrationsWhatsappTwilioPage.js +2 -2
  117. package/dist/components/docs/integrations/index.js +39 -39
  118. package/dist/components/docs/intent/ContractFirstApiPage.js +2 -2
  119. package/dist/components/docs/intent/DeterministicCodegenPage.js +2 -2
  120. package/dist/components/docs/intent/GenerateClientFromSchemaPage.js +7 -7
  121. package/dist/components/docs/intent/OpenapiAlternativePage.js +3 -3
  122. package/dist/components/docs/intent/SchemaValidationTypescriptPage.js +4 -4
  123. package/dist/components/docs/intent/SpecDrivenDevelopmentPage.js +2 -2
  124. package/dist/components/docs/intent/index.js +15 -15
  125. package/dist/components/docs/intent/intent-pages.docblocks.js +1 -1
  126. package/dist/components/docs/knowledge/KnowledgeCategoriesPage.js +2 -2
  127. package/dist/components/docs/knowledge/KnowledgeExamplesPage.js +2 -2
  128. package/dist/components/docs/knowledge/KnowledgeOverviewPage.js +1 -1
  129. package/dist/components/docs/knowledge/KnowledgeSourcesPage.js +2 -2
  130. package/dist/components/docs/knowledge/KnowledgeSpacesPage.js +2 -2
  131. package/dist/components/docs/knowledge/index.js +5 -5
  132. package/dist/components/docs/libraries/LibrariesAccessibilityPage.js +3 -3
  133. package/dist/components/docs/libraries/LibrariesAiAgentPage.js +3 -3
  134. package/dist/components/docs/libraries/LibrariesAnalyticsPage.js +4 -4
  135. package/dist/components/docs/libraries/LibrariesContentGenPage.js +2 -2
  136. package/dist/components/docs/libraries/LibrariesContractsPage.js +43 -18
  137. package/dist/components/docs/libraries/LibrariesCostTrackingPage.js +3 -3
  138. package/dist/components/docs/libraries/LibrariesCrossPlatformUIPage.content.d.ts +67 -0
  139. package/dist/components/docs/libraries/LibrariesCrossPlatformUIPage.content.js +86 -0
  140. package/dist/components/docs/libraries/LibrariesCrossPlatformUIPage.d.ts +1 -0
  141. package/dist/components/docs/libraries/LibrariesCrossPlatformUIPage.js +86 -0
  142. package/dist/components/docs/libraries/LibrariesDataBackendPage.js +2 -2
  143. package/dist/components/docs/libraries/LibrariesDataViewsPage.js +3 -3
  144. package/dist/components/docs/libraries/LibrariesDesignSystemPage.js +77 -29
  145. package/dist/components/docs/libraries/LibrariesEvolutionPage.js +4 -4
  146. package/dist/components/docs/libraries/LibrariesGraphQLPage.js +2 -2
  147. package/dist/components/docs/libraries/LibrariesGrowthPage.js +3 -3
  148. package/dist/components/docs/libraries/LibrariesMultiTenancyPage.js +3 -3
  149. package/dist/components/docs/libraries/LibrariesObservabilityPage.js +5 -5
  150. package/dist/components/docs/libraries/LibrariesOverlayEnginePage.js +4 -4
  151. package/dist/components/docs/libraries/LibrariesOverviewPage.js +1 -1
  152. package/dist/components/docs/libraries/LibrariesPersonalizationPage.js +4 -4
  153. package/dist/components/docs/libraries/LibrariesProgressiveDeliveryPage.js +3 -3
  154. package/dist/components/docs/libraries/LibrariesResiliencePage.js +4 -4
  155. package/dist/components/docs/libraries/LibrariesRuntimePage.js +2 -2
  156. package/dist/components/docs/libraries/LibrariesSLOPage.js +3 -3
  157. package/dist/components/docs/libraries/LibrariesSchemaPage.js +3 -3
  158. package/dist/components/docs/libraries/LibrariesSupportBotPage.js +3 -3
  159. package/dist/components/docs/libraries/LibrariesTestingPage.js +3 -3
  160. package/dist/components/docs/libraries/LibrariesUIKitPage.js +42 -16
  161. package/dist/components/docs/libraries/LibrariesUIKitWebPage.d.ts +1 -0
  162. package/dist/components/docs/libraries/LibrariesUIKitWebPage.js +47 -0
  163. package/dist/components/docs/libraries/LibrariesWorkflowComposerPage.js +3 -3
  164. package/dist/components/docs/libraries/LibrariesWorkflowsPage.js +2 -2
  165. package/dist/components/docs/libraries/index.d.ts +2 -0
  166. package/dist/components/docs/libraries/index.js +338 -110
  167. package/dist/components/docs/manifesto/ManifestoPage.js +1 -1
  168. package/dist/components/docs/ops/AutoEvolutionOpsPage.js +2 -2
  169. package/dist/components/docs/ops/DistributedTracingOpsPage.js +2 -2
  170. package/dist/components/docs/ops/index.js +3 -3
  171. package/dist/components/docs/ops/ops-lifecycle.docblocks.js +2 -2
  172. package/dist/components/docs/ops/ops-runbooks-a.docblocks.js +2 -2
  173. package/dist/components/docs/ops/ops-runbooks-b.docblocks.js +2 -2
  174. package/dist/components/docs/ops/ops-slo-tenant.docblocks.js +2 -2
  175. package/dist/components/docs/ops/ops-top.docs.js +2 -2
  176. package/dist/components/docs/ops/ops.docs.js +6 -6
  177. package/dist/components/docs/product/product.docblocks.js +2 -2
  178. package/dist/components/docs/reference/DocsMarkdownContent.js +2 -2
  179. package/dist/components/docs/reference/DocsReferenceContent.js +3 -3
  180. package/dist/components/docs/reference/DocsReferenceIndexClient.js +2 -2
  181. package/dist/components/docs/reference/DocsReferenceIndexPage.js +2 -2
  182. package/dist/components/docs/reference/DocsReferencePage.js +3 -3
  183. package/dist/components/docs/reference/docsMarkdownParser.js +2 -2
  184. package/dist/components/docs/reference/index.js +4 -4
  185. package/dist/components/docs/safety/SafetyAuditingPage.js +2 -2
  186. package/dist/components/docs/safety/SafetyMigrationsPage.js +2 -2
  187. package/dist/components/docs/safety/SafetyOverviewPage.js +1 -1
  188. package/dist/components/docs/safety/SafetyPDPPage.js +2 -2
  189. package/dist/components/docs/safety/SafetySecurityTrustPage.js +1 -1
  190. package/dist/components/docs/safety/SafetySigningPage.js +3 -3
  191. package/dist/components/docs/safety/SafetyTenantIsolationPage.js +2 -2
  192. package/dist/components/docs/safety/index.js +7 -7
  193. package/dist/components/docs/shared/StudioPrompt.js +1 -1
  194. package/dist/components/docs/specs/SpecsBuilderControlPlanePage.js +18 -3
  195. package/dist/components/docs/specs/SpecsCapabilitiesPage.js +2 -2
  196. package/dist/components/docs/specs/SpecsConnectPage.js +4 -2
  197. package/dist/components/docs/specs/SpecsDataViewsPage.js +39 -32
  198. package/dist/components/docs/specs/SpecsModuleBundlesPage.js +3 -3
  199. package/dist/components/docs/specs/SpecsOverlaysPage.js +2 -2
  200. package/dist/components/docs/specs/SpecsOverviewPage.js +1 -1
  201. package/dist/components/docs/specs/SpecsPolicyPage.js +3 -3
  202. package/dist/components/docs/specs/SpecsWorkflowsPage.js +2 -2
  203. package/dist/components/docs/specs/index.js +66 -42
  204. package/dist/components/docs/studio/StudioBYOKPage.js +1 -1
  205. package/dist/components/docs/studio/StudioDeploymentsPage.js +1 -1
  206. package/dist/components/docs/studio/StudioGettingStartedPage.js +1 -1
  207. package/dist/components/docs/studio/StudioIntegrationsPage.js +1 -1
  208. package/dist/components/docs/studio/StudioOverviewPage.js +1 -1
  209. package/dist/components/docs/studio/StudioVisualBuilderPage.js +1 -1
  210. package/dist/components/docs/studio/index.js +1 -1
  211. package/dist/components/docs/tech/contracts/tech-docs.docblocks.js +2 -2
  212. package/dist/components/integrations/index.js +2 -2
  213. package/dist/components/integrations/molecules/IntegrationCard.js +1 -1
  214. package/dist/components/integrations/organisms/IntegrationMarketplace.js +1 -1
  215. package/dist/components/integrations/organisms/IntegrationSettings.js +2 -2
  216. package/dist/components/integrations/organisms/KnowledgeSourceList.js +1 -1
  217. package/dist/components/legal/PrivacyTemplate.js +1 -1
  218. package/dist/components/legal/TermsTemplate.js +1 -1
  219. package/dist/components/legal/index.js +1 -1
  220. package/dist/components/shared/FeatureGateNotice.js +1 -1
  221. package/dist/components/shared/index.js +1 -1
  222. package/dist/components/shell/WorkspaceHeader.js +1 -1
  223. package/dist/components/shell/WorkspaceProjectShellLayout.js +1 -1
  224. package/dist/components/shell/WorkspaceShellRenderer.js +1 -1
  225. package/dist/components/shell/WorkspaceSidebar.js +1 -1
  226. package/dist/components/shell/index.js +1 -1
  227. package/dist/components/templates/engine/index.js +1 -1
  228. package/dist/components/templates/index.js +11 -11
  229. package/dist/components/templates/messaging/ConversationList.js +2 -2
  230. package/dist/components/templates/messaging/MessageComposer.js +4 -4
  231. package/dist/components/templates/messaging/MessageThread.js +3 -3
  232. package/dist/components/templates/messaging/MessagingWorkspace.js +5 -5
  233. package/dist/components/templates/messaging/index.js +5 -5
  234. package/dist/components/templates/recipes/LanguageSwitcher.js +1 -1
  235. package/dist/components/templates/recipes/RecipeCard.js +1 -1
  236. package/dist/components/templates/recipes/RecipeDetail.js +1 -1
  237. package/dist/components/templates/recipes/RecipeList.js +3 -3
  238. package/dist/components/templates/recipes/index.js +3 -3
  239. package/dist/components/templates/todos/FilterBar.js +1 -1
  240. package/dist/components/templates/todos/TaskForm.js +2 -2
  241. package/dist/components/templates/todos/TaskItem.js +1 -1
  242. package/dist/components/templates/todos/TaskList.js +5 -5
  243. package/dist/components/templates/todos/index.js +5 -5
  244. package/dist/config/contractspec-blueprint.js +1 -1
  245. package/dist/config/contractspec-branding.js +1 -1
  246. package/dist/config/contractspec-routes.js +1 -1
  247. package/dist/config/index.js +1 -1
  248. package/dist/features/contracts-registry.js +1 -1
  249. package/dist/features/docs/docs.contracts.js +1 -1
  250. package/dist/features/docs/index.js +1 -1
  251. package/dist/features/docs.feature.js +1 -1
  252. package/dist/features/index.js +1 -1
  253. package/dist/features/mcp.feature.js +1 -1
  254. package/dist/features/presentations.feature.js +1 -1
  255. package/dist/features/registry.js +1 -1
  256. package/dist/index.d.ts +1 -0
  257. package/dist/index.js +701 -430
  258. package/dist/infrastructure/elysia/index.js +1 -1
  259. package/dist/infrastructure/elysia/logger.js +1 -1
  260. package/dist/infrastructure/index.js +1 -1
  261. package/dist/libs/email/client.js +1 -1
  262. package/dist/libs/email/contact.js +3 -3
  263. package/dist/libs/email/newsletter.js +3 -3
  264. package/dist/libs/email/utils.js +2 -2
  265. package/dist/libs/email/waitlist-application.js +3 -3
  266. package/dist/libs/email/waitlist.js +3 -3
  267. package/dist/libs/email.js +6 -6
  268. package/dist/libs/posthog/client.js +1 -1
  269. package/dist/libs/posthog/native.js +1 -1
  270. package/dist/libs/posthog/server.js +1 -1
  271. package/dist/libs/pricing-examples.js +1 -1
  272. package/dist/node/application/context-storage/index.js +1 -1
  273. package/dist/node/application/index.js +11 -11
  274. package/dist/node/application/mcp/cliMcp.js +6 -6
  275. package/dist/node/application/mcp/cliMcp.onboarding.js +1 -0
  276. package/dist/node/application/mcp/common.js +1 -1
  277. package/dist/node/application/mcp/contractsMcp.js +2 -2
  278. package/dist/node/application/mcp/contractsMcpAdoptionTools.js +1 -0
  279. package/dist/node/application/mcp/contractsMcpResources.js +2 -2
  280. package/dist/node/application/mcp/contractsMcpTools.js +1 -1
  281. package/dist/node/application/mcp/docsMcp.catalog.js +2 -2
  282. package/dist/node/application/mcp/docsMcp.data.js +1 -1
  283. package/dist/node/application/mcp/docsMcp.js +3 -3
  284. package/dist/node/application/mcp/docsMcp.prompts.js +3 -3
  285. package/dist/node/application/mcp/docsMcp.reference.js +2 -2
  286. package/dist/node/application/mcp/docsMcp.resources.js +2 -2
  287. package/dist/node/application/mcp/docsMcp.tools.js +2 -2
  288. package/dist/node/application/mcp/index.js +11 -11
  289. package/dist/node/application/mcp/internalMcp.js +2 -2
  290. package/dist/node/application/mcp/normalizeMcpRequest.js +1 -1
  291. package/dist/node/application/mcp/providerRankingMcp.js +1 -1
  292. package/dist/node/bundles/LibraryBundle.js +1 -1
  293. package/dist/node/bundles/index.js +1 -1
  294. package/dist/node/components/docs/DocsIndexPage.js +2 -2
  295. package/dist/node/components/docs/advanced/AdvancedMCPPage.js +3 -3
  296. package/dist/node/components/docs/advanced/AdvancedOverlayEditorPage.js +1 -1
  297. package/dist/node/components/docs/advanced/AdvancedRenderersPage.js +2 -2
  298. package/dist/node/components/docs/advanced/AdvancedSpecExperimentsPage.js +4 -4
  299. package/dist/node/components/docs/advanced/AdvancedTelemetryPage.js +2 -2
  300. package/dist/node/components/docs/advanced/AdvancedWorkflowMonitoringPage.js +2 -2
  301. package/dist/node/components/docs/advanced/index.js +9 -9
  302. package/dist/node/components/docs/architecture/ArchitectureAppConfigPage.js +6 -6
  303. package/dist/node/components/docs/architecture/ArchitectureControlPlanePage.js +3 -3
  304. package/dist/node/components/docs/architecture/ArchitectureIntegrationBindingPage.js +7 -7
  305. package/dist/node/components/docs/architecture/ArchitectureKnowledgeBindingPage.js +6 -6
  306. package/dist/node/components/docs/architecture/ArchitectureMultiTenancyPage.js +2 -2
  307. package/dist/node/components/docs/architecture/ArchitectureOverviewPage.js +1 -1
  308. package/dist/node/components/docs/architecture/index.js +20 -20
  309. package/dist/node/components/docs/comparison/ComparisonAutomationPlatformsPage.js +1 -1
  310. package/dist/node/components/docs/comparison/ComparisonEnterprisePlatformsPage.js +1 -1
  311. package/dist/node/components/docs/comparison/ComparisonInternalToolBuildersPage.js +1 -1
  312. package/dist/node/components/docs/comparison/ComparisonOverviewPage.js +1 -1
  313. package/dist/node/components/docs/comparison/ComparisonWindmillPage.js +1 -1
  314. package/dist/node/components/docs/comparison/ComparisonWorkflowEnginesPage.js +1 -1
  315. package/dist/node/components/docs/comparison/index.js +1 -1
  316. package/dist/node/components/docs/docsManifest.js +1 -1
  317. package/dist/node/components/docs/ecosystem/IntegrationsPage.js +2 -2
  318. package/dist/node/components/docs/ecosystem/PluginsPage.js +4 -4
  319. package/dist/node/components/docs/ecosystem/RegistryPage.js +4 -4
  320. package/dist/node/components/docs/ecosystem/TemplatesPage.js +3 -3
  321. package/dist/node/components/docs/ecosystem/index.js +11 -11
  322. package/dist/node/components/docs/examples/DocsExamplesPage.js +1 -17
  323. package/dist/node/components/docs/examples/ExampleShowcasePage.js +2 -17
  324. package/dist/node/components/docs/examples/exampleShowcaseData.js +2 -17
  325. package/dist/node/components/docs/examples/index.js +2 -17
  326. package/dist/node/components/docs/generated/docs-index.generated.js +1 -1
  327. package/dist/node/components/docs/generated/index.js +1 -1
  328. package/dist/node/components/docs/generated/loader.js +1 -1
  329. package/dist/node/components/docs/getting-started/CLIPage.js +6 -5
  330. package/dist/node/components/docs/getting-started/CompatibilityPage.js +1 -1
  331. package/dist/node/components/docs/getting-started/DataViewTutorialPage.js +44 -67
  332. package/dist/node/components/docs/getting-started/DeveloperToolsPage.js +1 -1
  333. package/dist/node/components/docs/getting-started/HelloWorldPage.js +5 -5
  334. package/dist/node/components/docs/getting-started/InstallationPage.js +3 -3
  335. package/dist/node/components/docs/getting-started/StartHerePage.js +4 -2
  336. package/dist/node/components/docs/getting-started/TroubleshootingPage.js +2 -2
  337. package/dist/node/components/docs/getting-started/VSCodeExtensionPage.js +1 -1
  338. package/dist/node/components/docs/getting-started/getting-started.docblocks.js +2 -2
  339. package/dist/node/components/docs/getting-started/index.js +60 -80
  340. package/dist/node/components/docs/guides/GuideCIDiffGatingPage.js +2 -2
  341. package/dist/node/components/docs/guides/GuideConnectInRepoPage.js +30 -5
  342. package/dist/node/components/docs/guides/GuideContractTypesPage.js +6 -6
  343. package/dist/node/components/docs/guides/GuideDocsPipelinePage.js +3 -3
  344. package/dist/node/components/docs/guides/GuideFirstModuleBundlePage.js +4 -4
  345. package/dist/node/components/docs/guides/GuideGenerateDocsClientsSchemasPage.js +2 -2
  346. package/dist/node/components/docs/guides/GuideHostBuilderWorkbenchPage.js +21 -6
  347. package/dist/node/components/docs/guides/GuideImportExistingCodebasesPage.js +8 -8
  348. package/dist/node/components/docs/guides/GuideNextjsOneEndpointPage.js +6 -6
  349. package/dist/node/components/docs/guides/GuideReleaseCapsulesPage.js +15 -0
  350. package/dist/node/components/docs/guides/GuideSpecValidationTypingPage.js +4 -4
  351. package/dist/node/components/docs/guides/GuidesIndexPage.js +2 -2
  352. package/dist/node/components/docs/guides/index.js +93 -39
  353. package/dist/node/components/docs/index.js +690 -419
  354. package/dist/node/components/docs/integrations/IntegrationsCircuitBreakersPage.js +2 -2
  355. package/dist/node/components/docs/integrations/IntegrationsElevenLabsPage.js +3 -3
  356. package/dist/node/components/docs/integrations/IntegrationsGithubPage.js +2 -2
  357. package/dist/node/components/docs/integrations/IntegrationsGmailPage.js +3 -3
  358. package/dist/node/components/docs/integrations/IntegrationsGoogleCalendarPage.js +3 -3
  359. package/dist/node/components/docs/integrations/IntegrationsHealthRoutingPage.js +2 -2
  360. package/dist/node/components/docs/integrations/IntegrationsMistralPage.js +2 -2
  361. package/dist/node/components/docs/integrations/IntegrationsOpenAIPage.js +2 -2
  362. package/dist/node/components/docs/integrations/IntegrationsOverviewPage.js +1 -1
  363. package/dist/node/components/docs/integrations/IntegrationsPostmarkPage.js +2 -2
  364. package/dist/node/components/docs/integrations/IntegrationsPowensPage.js +2 -2
  365. package/dist/node/components/docs/integrations/IntegrationsQdrantPage.js +5 -5
  366. package/dist/node/components/docs/integrations/IntegrationsResendPage.js +3 -3
  367. package/dist/node/components/docs/integrations/IntegrationsS3Page.js +4 -4
  368. package/dist/node/components/docs/integrations/IntegrationsSlackPage.js +2 -2
  369. package/dist/node/components/docs/integrations/IntegrationsSpecModelPage.js +2 -2
  370. package/dist/node/components/docs/integrations/IntegrationsStripePage.js +2 -2
  371. package/dist/node/components/docs/integrations/IntegrationsTwilioPage.js +3 -3
  372. package/dist/node/components/docs/integrations/IntegrationsWhatsappMetaPage.js +2 -2
  373. package/dist/node/components/docs/integrations/IntegrationsWhatsappTwilioPage.js +2 -2
  374. package/dist/node/components/docs/integrations/index.js +39 -39
  375. package/dist/node/components/docs/intent/ContractFirstApiPage.js +2 -2
  376. package/dist/node/components/docs/intent/DeterministicCodegenPage.js +2 -2
  377. package/dist/node/components/docs/intent/GenerateClientFromSchemaPage.js +7 -7
  378. package/dist/node/components/docs/intent/OpenapiAlternativePage.js +3 -3
  379. package/dist/node/components/docs/intent/SchemaValidationTypescriptPage.js +4 -4
  380. package/dist/node/components/docs/intent/SpecDrivenDevelopmentPage.js +2 -2
  381. package/dist/node/components/docs/intent/index.js +15 -15
  382. package/dist/node/components/docs/intent/intent-pages.docblocks.js +1 -1
  383. package/dist/node/components/docs/knowledge/KnowledgeCategoriesPage.js +2 -2
  384. package/dist/node/components/docs/knowledge/KnowledgeExamplesPage.js +2 -2
  385. package/dist/node/components/docs/knowledge/KnowledgeOverviewPage.js +1 -1
  386. package/dist/node/components/docs/knowledge/KnowledgeSourcesPage.js +2 -2
  387. package/dist/node/components/docs/knowledge/KnowledgeSpacesPage.js +2 -2
  388. package/dist/node/components/docs/knowledge/index.js +5 -5
  389. package/dist/node/components/docs/libraries/LibrariesAccessibilityPage.js +3 -3
  390. package/dist/node/components/docs/libraries/LibrariesAiAgentPage.js +3 -3
  391. package/dist/node/components/docs/libraries/LibrariesAnalyticsPage.js +4 -4
  392. package/dist/node/components/docs/libraries/LibrariesContentGenPage.js +2 -2
  393. package/dist/node/components/docs/libraries/LibrariesContractsPage.js +43 -18
  394. package/dist/node/components/docs/libraries/LibrariesCostTrackingPage.js +3 -3
  395. package/dist/node/components/docs/libraries/LibrariesCrossPlatformUIPage.content.js +85 -0
  396. package/dist/node/components/docs/libraries/LibrariesCrossPlatformUIPage.js +85 -0
  397. package/dist/node/components/docs/libraries/LibrariesDataBackendPage.js +2 -2
  398. package/dist/node/components/docs/libraries/LibrariesDataViewsPage.js +3 -3
  399. package/dist/node/components/docs/libraries/LibrariesDesignSystemPage.js +77 -29
  400. package/dist/node/components/docs/libraries/LibrariesEvolutionPage.js +4 -4
  401. package/dist/node/components/docs/libraries/LibrariesGraphQLPage.js +2 -2
  402. package/dist/node/components/docs/libraries/LibrariesGrowthPage.js +3 -3
  403. package/dist/node/components/docs/libraries/LibrariesMultiTenancyPage.js +3 -3
  404. package/dist/node/components/docs/libraries/LibrariesObservabilityPage.js +5 -5
  405. package/dist/node/components/docs/libraries/LibrariesOverlayEnginePage.js +4 -4
  406. package/dist/node/components/docs/libraries/LibrariesOverviewPage.js +1 -1
  407. package/dist/node/components/docs/libraries/LibrariesPersonalizationPage.js +4 -4
  408. package/dist/node/components/docs/libraries/LibrariesProgressiveDeliveryPage.js +3 -3
  409. package/dist/node/components/docs/libraries/LibrariesResiliencePage.js +4 -4
  410. package/dist/node/components/docs/libraries/LibrariesRuntimePage.js +2 -2
  411. package/dist/node/components/docs/libraries/LibrariesSLOPage.js +3 -3
  412. package/dist/node/components/docs/libraries/LibrariesSchemaPage.js +3 -3
  413. package/dist/node/components/docs/libraries/LibrariesSupportBotPage.js +3 -3
  414. package/dist/node/components/docs/libraries/LibrariesTestingPage.js +3 -3
  415. package/dist/node/components/docs/libraries/LibrariesUIKitPage.js +42 -16
  416. package/dist/node/components/docs/libraries/LibrariesUIKitWebPage.js +46 -0
  417. package/dist/node/components/docs/libraries/LibrariesWorkflowComposerPage.js +3 -3
  418. package/dist/node/components/docs/libraries/LibrariesWorkflowsPage.js +2 -2
  419. package/dist/node/components/docs/libraries/index.js +338 -110
  420. package/dist/node/components/docs/manifesto/ManifestoPage.js +1 -1
  421. package/dist/node/components/docs/ops/AutoEvolutionOpsPage.js +2 -2
  422. package/dist/node/components/docs/ops/DistributedTracingOpsPage.js +2 -2
  423. package/dist/node/components/docs/ops/index.js +3 -3
  424. package/dist/node/components/docs/ops/ops-lifecycle.docblocks.js +2 -2
  425. package/dist/node/components/docs/ops/ops-runbooks-a.docblocks.js +2 -2
  426. package/dist/node/components/docs/ops/ops-runbooks-b.docblocks.js +2 -2
  427. package/dist/node/components/docs/ops/ops-slo-tenant.docblocks.js +2 -2
  428. package/dist/node/components/docs/ops/ops-top.docs.js +2 -2
  429. package/dist/node/components/docs/ops/ops.docs.js +6 -6
  430. package/dist/node/components/docs/product/product.docblocks.js +2 -2
  431. package/dist/node/components/docs/reference/DocsMarkdownContent.js +2 -2
  432. package/dist/node/components/docs/reference/DocsReferenceContent.js +3 -3
  433. package/dist/node/components/docs/reference/DocsReferenceIndexClient.js +2 -2
  434. package/dist/node/components/docs/reference/DocsReferenceIndexPage.js +2 -2
  435. package/dist/node/components/docs/reference/DocsReferencePage.js +3 -3
  436. package/dist/node/components/docs/reference/docsMarkdownParser.js +2 -2
  437. package/dist/node/components/docs/reference/index.js +4 -4
  438. package/dist/node/components/docs/safety/SafetyAuditingPage.js +2 -2
  439. package/dist/node/components/docs/safety/SafetyMigrationsPage.js +2 -2
  440. package/dist/node/components/docs/safety/SafetyOverviewPage.js +1 -1
  441. package/dist/node/components/docs/safety/SafetyPDPPage.js +2 -2
  442. package/dist/node/components/docs/safety/SafetySecurityTrustPage.js +1 -1
  443. package/dist/node/components/docs/safety/SafetySigningPage.js +3 -3
  444. package/dist/node/components/docs/safety/SafetyTenantIsolationPage.js +2 -2
  445. package/dist/node/components/docs/safety/index.js +7 -7
  446. package/dist/node/components/docs/shared/StudioPrompt.js +1 -1
  447. package/dist/node/components/docs/specs/SpecsBuilderControlPlanePage.js +18 -3
  448. package/dist/node/components/docs/specs/SpecsCapabilitiesPage.js +2 -2
  449. package/dist/node/components/docs/specs/SpecsConnectPage.js +4 -2
  450. package/dist/node/components/docs/specs/SpecsDataViewsPage.js +39 -32
  451. package/dist/node/components/docs/specs/SpecsModuleBundlesPage.js +3 -3
  452. package/dist/node/components/docs/specs/SpecsOverlaysPage.js +2 -2
  453. package/dist/node/components/docs/specs/SpecsOverviewPage.js +1 -1
  454. package/dist/node/components/docs/specs/SpecsPolicyPage.js +3 -3
  455. package/dist/node/components/docs/specs/SpecsWorkflowsPage.js +2 -2
  456. package/dist/node/components/docs/specs/index.js +66 -42
  457. package/dist/node/components/docs/studio/StudioBYOKPage.js +1 -1
  458. package/dist/node/components/docs/studio/StudioDeploymentsPage.js +1 -1
  459. package/dist/node/components/docs/studio/StudioGettingStartedPage.js +1 -1
  460. package/dist/node/components/docs/studio/StudioIntegrationsPage.js +1 -1
  461. package/dist/node/components/docs/studio/StudioOverviewPage.js +1 -1
  462. package/dist/node/components/docs/studio/StudioVisualBuilderPage.js +1 -1
  463. package/dist/node/components/docs/studio/index.js +1 -1
  464. package/dist/node/components/docs/tech/contracts/tech-docs.docblocks.js +2 -2
  465. package/dist/node/components/integrations/index.js +2 -2
  466. package/dist/node/components/integrations/molecules/IntegrationCard.js +1 -1
  467. package/dist/node/components/integrations/organisms/IntegrationMarketplace.js +1 -1
  468. package/dist/node/components/integrations/organisms/IntegrationSettings.js +2 -2
  469. package/dist/node/components/integrations/organisms/KnowledgeSourceList.js +1 -1
  470. package/dist/node/components/legal/PrivacyTemplate.js +1 -1
  471. package/dist/node/components/legal/TermsTemplate.js +1 -1
  472. package/dist/node/components/legal/index.js +1 -1
  473. package/dist/node/components/shared/FeatureGateNotice.js +1 -1
  474. package/dist/node/components/shared/index.js +1 -1
  475. package/dist/node/components/shell/WorkspaceHeader.js +1 -1
  476. package/dist/node/components/shell/WorkspaceProjectShellLayout.js +1 -1
  477. package/dist/node/components/shell/WorkspaceShellRenderer.js +1 -1
  478. package/dist/node/components/shell/WorkspaceSidebar.js +1 -1
  479. package/dist/node/components/shell/index.js +1 -1
  480. package/dist/node/components/templates/engine/index.js +1 -1
  481. package/dist/node/components/templates/index.js +11 -11
  482. package/dist/node/components/templates/messaging/ConversationList.js +2 -2
  483. package/dist/node/components/templates/messaging/MessageComposer.js +4 -4
  484. package/dist/node/components/templates/messaging/MessageThread.js +3 -3
  485. package/dist/node/components/templates/messaging/MessagingWorkspace.js +5 -5
  486. package/dist/node/components/templates/messaging/index.js +5 -5
  487. package/dist/node/components/templates/recipes/LanguageSwitcher.js +1 -1
  488. package/dist/node/components/templates/recipes/RecipeCard.js +1 -1
  489. package/dist/node/components/templates/recipes/RecipeDetail.js +1 -1
  490. package/dist/node/components/templates/recipes/RecipeList.js +3 -3
  491. package/dist/node/components/templates/recipes/index.js +3 -3
  492. package/dist/node/components/templates/todos/FilterBar.js +1 -1
  493. package/dist/node/components/templates/todos/TaskForm.js +2 -2
  494. package/dist/node/components/templates/todos/TaskItem.js +1 -1
  495. package/dist/node/components/templates/todos/TaskList.js +5 -5
  496. package/dist/node/components/templates/todos/index.js +5 -5
  497. package/dist/node/config/contractspec-blueprint.js +1 -1
  498. package/dist/node/config/contractspec-branding.js +1 -1
  499. package/dist/node/config/contractspec-routes.js +1 -1
  500. package/dist/node/config/index.js +1 -1
  501. package/dist/node/features/contracts-registry.js +1 -1
  502. package/dist/node/features/docs/docs.contracts.js +1 -1
  503. package/dist/node/features/docs/index.js +1 -1
  504. package/dist/node/features/docs.feature.js +1 -1
  505. package/dist/node/features/index.js +1 -1
  506. package/dist/node/features/mcp.feature.js +1 -1
  507. package/dist/node/features/presentations.feature.js +1 -1
  508. package/dist/node/features/registry.js +1 -1
  509. package/dist/node/index.js +701 -430
  510. package/dist/node/infrastructure/elysia/index.js +1 -1
  511. package/dist/node/infrastructure/elysia/logger.js +1 -1
  512. package/dist/node/infrastructure/index.js +1 -1
  513. package/dist/node/libs/email/client.js +1 -1
  514. package/dist/node/libs/email/contact.js +3 -3
  515. package/dist/node/libs/email/newsletter.js +3 -3
  516. package/dist/node/libs/email/utils.js +2 -2
  517. package/dist/node/libs/email/waitlist-application.js +3 -3
  518. package/dist/node/libs/email/waitlist.js +3 -3
  519. package/dist/node/libs/email.js +6 -6
  520. package/dist/node/libs/posthog/client.js +1 -1
  521. package/dist/node/libs/posthog/native.js +1 -1
  522. package/dist/node/libs/posthog/server.js +1 -1
  523. package/dist/node/libs/pricing-examples.js +1 -1
  524. package/dist/node/presentation/features/atoms/FeatureIcon/FeatureIcon.js +1 -1
  525. package/dist/node/presentation/features/atoms/FeatureIcon/index.js +1 -1
  526. package/dist/node/presentation/features/atoms/index.js +1 -1
  527. package/dist/node/presentation/features/hooks/index.js +1 -1
  528. package/dist/node/presentation/features/hooks/useContractsRegistry.js +1 -1
  529. package/dist/node/presentation/features/hooks/useFeatureFilters.js +1 -1
  530. package/dist/node/presentation/features/hooks/useFeatureRegistry.js +1 -1
  531. package/dist/node/presentation/features/hooks/useRelatedDocs.js +1 -1
  532. package/dist/node/presentation/features/index.js +1 -1
  533. package/dist/node/presentation/features/molecules/FeatureCard/FeatureCard.js +1 -1
  534. package/dist/node/presentation/features/molecules/FeatureCard/index.js +1 -1
  535. package/dist/node/presentation/features/molecules/FeatureCategoryHeader/FeatureCategoryHeader.js +1 -1
  536. package/dist/node/presentation/features/molecules/FeatureCategoryHeader/index.js +1 -1
  537. package/dist/node/presentation/features/molecules/FeatureFilters/FeatureFilters.js +1 -1
  538. package/dist/node/presentation/features/molecules/FeatureFilters/index.js +1 -1
  539. package/dist/node/presentation/features/molecules/FeatureHoverPreview/FeatureHoverPreview.js +1 -1
  540. package/dist/node/presentation/features/molecules/FeatureHoverPreview/index.js +1 -1
  541. package/dist/node/presentation/features/molecules/index.js +1 -1
  542. package/dist/node/presentation/features/organisms/FeatureDataViewsList.js +1 -1
  543. package/dist/node/presentation/features/organisms/FeatureDetail/FeatureDetail.js +1 -1
  544. package/dist/node/presentation/features/organisms/FeatureDetail/index.js +1 -1
  545. package/dist/node/presentation/features/organisms/FeatureDiscovery/FeatureDiscovery.js +1 -1
  546. package/dist/node/presentation/features/organisms/FeatureDiscovery/index.js +1 -1
  547. package/dist/node/presentation/features/organisms/FeatureEventsList.js +1 -1
  548. package/dist/node/presentation/features/organisms/FeatureFormsList.js +1 -1
  549. package/dist/node/presentation/features/organisms/FeatureOperationsList.js +1 -1
  550. package/dist/node/presentation/features/organisms/FeaturePresentationsList.js +1 -1
  551. package/dist/node/presentation/features/organisms/index.js +1 -1
  552. package/dist/node/presentation/features/templates/FeatureDataViewDetailTemplate/FeatureDataViewDetailTemplate.js +1 -1
  553. package/dist/node/presentation/features/templates/FeatureDataViewDetailTemplate/index.js +1 -1
  554. package/dist/node/presentation/features/templates/FeatureDataViewsTemplate/FeatureDataViewsTemplate.js +1 -1
  555. package/dist/node/presentation/features/templates/FeatureDataViewsTemplate/index.js +1 -1
  556. package/dist/node/presentation/features/templates/FeatureEventDetailTemplate/FeatureEventDetailTemplate.js +1 -1
  557. package/dist/node/presentation/features/templates/FeatureEventDetailTemplate/index.js +1 -1
  558. package/dist/node/presentation/features/templates/FeatureEventsTemplate/FeatureEventsTemplate.js +1 -1
  559. package/dist/node/presentation/features/templates/FeatureEventsTemplate/index.js +1 -1
  560. package/dist/node/presentation/features/templates/FeatureFormDetailTemplate/FeatureFormDetailTemplate.js +1 -1
  561. package/dist/node/presentation/features/templates/FeatureFormDetailTemplate/index.js +1 -1
  562. package/dist/node/presentation/features/templates/FeatureFormsTemplate/FeatureFormsTemplate.js +1 -1
  563. package/dist/node/presentation/features/templates/FeatureFormsTemplate/index.js +1 -1
  564. package/dist/node/presentation/features/templates/FeatureOperationDetailTemplate/FeatureOperationDetailTemplate.js +1 -1
  565. package/dist/node/presentation/features/templates/FeatureOperationDetailTemplate/index.js +1 -1
  566. package/dist/node/presentation/features/templates/FeatureOperationsTemplate/FeatureOperationsTemplate.js +1 -1
  567. package/dist/node/presentation/features/templates/FeatureOperationsTemplate/index.js +1 -1
  568. package/dist/node/presentation/features/templates/FeatureOverviewTemplate/FeatureOverviewTemplate.js +1 -1
  569. package/dist/node/presentation/features/templates/FeatureOverviewTemplate/index.js +1 -1
  570. package/dist/node/presentation/features/templates/FeaturePresentationDetailTemplate/FeaturePresentationDetailTemplate.js +1 -1
  571. package/dist/node/presentation/features/templates/FeaturePresentationDetailTemplate/index.js +1 -1
  572. package/dist/node/presentation/features/templates/FeaturePresentationsTemplate/FeaturePresentationsTemplate.js +1 -1
  573. package/dist/node/presentation/features/templates/FeaturePresentationsTemplate/index.js +1 -1
  574. package/dist/presentation/features/atoms/FeatureIcon/FeatureIcon.js +1 -1
  575. package/dist/presentation/features/atoms/FeatureIcon/index.js +1 -1
  576. package/dist/presentation/features/atoms/index.js +1 -1
  577. package/dist/presentation/features/hooks/index.js +1 -1
  578. package/dist/presentation/features/hooks/useContractsRegistry.js +1 -1
  579. package/dist/presentation/features/hooks/useFeatureFilters.js +1 -1
  580. package/dist/presentation/features/hooks/useFeatureRegistry.js +1 -1
  581. package/dist/presentation/features/hooks/useRelatedDocs.js +1 -1
  582. package/dist/presentation/features/index.js +1 -1
  583. package/dist/presentation/features/molecules/FeatureCard/FeatureCard.js +1 -1
  584. package/dist/presentation/features/molecules/FeatureCard/index.js +1 -1
  585. package/dist/presentation/features/molecules/FeatureCategoryHeader/FeatureCategoryHeader.js +1 -1
  586. package/dist/presentation/features/molecules/FeatureCategoryHeader/index.js +1 -1
  587. package/dist/presentation/features/molecules/FeatureFilters/FeatureFilters.js +1 -1
  588. package/dist/presentation/features/molecules/FeatureFilters/index.js +1 -1
  589. package/dist/presentation/features/molecules/FeatureHoverPreview/FeatureHoverPreview.js +1 -1
  590. package/dist/presentation/features/molecules/FeatureHoverPreview/index.js +1 -1
  591. package/dist/presentation/features/molecules/index.js +1 -1
  592. package/dist/presentation/features/organisms/FeatureDataViewsList.js +1 -1
  593. package/dist/presentation/features/organisms/FeatureDetail/FeatureDetail.js +1 -1
  594. package/dist/presentation/features/organisms/FeatureDetail/index.js +1 -1
  595. package/dist/presentation/features/organisms/FeatureDiscovery/FeatureDiscovery.js +1 -1
  596. package/dist/presentation/features/organisms/FeatureDiscovery/index.js +1 -1
  597. package/dist/presentation/features/organisms/FeatureEventsList.js +1 -1
  598. package/dist/presentation/features/organisms/FeatureFormsList.js +1 -1
  599. package/dist/presentation/features/organisms/FeatureOperationsList.js +1 -1
  600. package/dist/presentation/features/organisms/FeaturePresentationsList.js +1 -1
  601. package/dist/presentation/features/organisms/index.js +1 -1
  602. package/dist/presentation/features/templates/FeatureDataViewDetailTemplate/FeatureDataViewDetailTemplate.js +1 -1
  603. package/dist/presentation/features/templates/FeatureDataViewDetailTemplate/index.js +1 -1
  604. package/dist/presentation/features/templates/FeatureDataViewsTemplate/FeatureDataViewsTemplate.js +1 -1
  605. package/dist/presentation/features/templates/FeatureDataViewsTemplate/index.js +1 -1
  606. package/dist/presentation/features/templates/FeatureEventDetailTemplate/FeatureEventDetailTemplate.js +1 -1
  607. package/dist/presentation/features/templates/FeatureEventDetailTemplate/index.js +1 -1
  608. package/dist/presentation/features/templates/FeatureEventsTemplate/FeatureEventsTemplate.js +1 -1
  609. package/dist/presentation/features/templates/FeatureEventsTemplate/index.js +1 -1
  610. package/dist/presentation/features/templates/FeatureFormDetailTemplate/FeatureFormDetailTemplate.js +1 -1
  611. package/dist/presentation/features/templates/FeatureFormDetailTemplate/index.js +1 -1
  612. package/dist/presentation/features/templates/FeatureFormsTemplate/FeatureFormsTemplate.js +1 -1
  613. package/dist/presentation/features/templates/FeatureFormsTemplate/index.js +1 -1
  614. package/dist/presentation/features/templates/FeatureOperationDetailTemplate/FeatureOperationDetailTemplate.js +1 -1
  615. package/dist/presentation/features/templates/FeatureOperationDetailTemplate/index.js +1 -1
  616. package/dist/presentation/features/templates/FeatureOperationsTemplate/FeatureOperationsTemplate.js +1 -1
  617. package/dist/presentation/features/templates/FeatureOperationsTemplate/index.js +1 -1
  618. package/dist/presentation/features/templates/FeatureOverviewTemplate/FeatureOverviewTemplate.js +1 -1
  619. package/dist/presentation/features/templates/FeatureOverviewTemplate/index.js +1 -1
  620. package/dist/presentation/features/templates/FeaturePresentationDetailTemplate/FeaturePresentationDetailTemplate.js +1 -1
  621. package/dist/presentation/features/templates/FeaturePresentationDetailTemplate/index.js +1 -1
  622. package/dist/presentation/features/templates/FeaturePresentationsTemplate/FeaturePresentationsTemplate.js +1 -1
  623. package/dist/presentation/features/templates/FeaturePresentationsTemplate/index.js +1 -1
  624. package/package.json +96 -23
  625. package/src/application/mcp/cliMcp.onboarding.ts +297 -0
  626. package/src/application/mcp/cliMcp.test.ts +99 -0
  627. package/src/application/mcp/cliMcp.ts +30 -3
  628. package/src/application/mcp/contractsMcp.test.ts +65 -0
  629. package/src/application/mcp/contractsMcpAdoptionTools.ts +131 -0
  630. package/src/application/mcp/contractsMcpResources.ts +49 -0
  631. package/src/application/mcp/contractsMcpTools.ts +2 -0
  632. package/src/application/mcp/contractsMcpTypes.ts +16 -0
  633. package/src/bundles/LibraryBundle.ts +19 -130
  634. package/src/components/docs/docsManifest.test.ts +14 -0
  635. package/src/components/docs/docsManifest.ts +22 -0
  636. package/src/components/docs/examples/DocsExamplesPage.tsx +6 -14
  637. package/src/components/docs/examples/ExampleShowcasePage.tsx +22 -18
  638. package/src/components/docs/examples/exampleShowcaseData.test.ts +22 -0
  639. package/src/components/docs/examples/exampleShowcaseData.ts +75 -50
  640. package/src/components/docs/generated/docs-index._common.json +9 -1
  641. package/src/components/docs/generated/docs-index.ai-chat.json +1 -1
  642. package/src/components/docs/generated/docs-index.app-config.json +4 -4
  643. package/src/components/docs/generated/docs-index.data-grid-showcase.json +9 -1
  644. package/src/components/docs/generated/docs-index.jobs.json +1 -1
  645. package/src/components/docs/generated/docs-index.kb-update-pipeline.json +5 -5
  646. package/src/components/docs/generated/docs-index.learning-journey-crm-onboarding.json +1 -1
  647. package/src/components/docs/generated/docs-index.learning-journey-platform-tour.json +1 -1
  648. package/src/components/docs/generated/docs-index.learning-journey-registry.json +1 -1
  649. package/src/components/docs/generated/docs-index.learning-journey.json +27 -3
  650. package/src/components/docs/generated/docs-index.locale-jurisdiction-gate.json +8 -0
  651. package/src/components/docs/generated/docs-index.manifest.json +13 -13
  652. package/src/components/docs/generated/docs-index.mobile-demo-landing.json +42 -0
  653. package/src/components/docs/generated/docs-index.platform-agent.json +18 -2
  654. package/src/components/docs/generated/docs-index.platform-context.json +16 -0
  655. package/src/components/docs/generated/docs-index.platform-docs.json +9 -1
  656. package/src/components/docs/generated/docs-index.platform-provider-ranking.json +32 -0
  657. package/src/components/docs/generated/docs-index.wealth-snapshot.json +4 -4
  658. package/src/components/docs/generated/index.ts +20 -5
  659. package/src/components/docs/generated/loader.ts +15 -8
  660. package/src/components/docs/getting-started/CLIPage.tsx +10 -2
  661. package/src/components/docs/getting-started/CompatibilityPage.tsx +14 -0
  662. package/src/components/docs/getting-started/DataViewTutorialPage.tsx +63 -70
  663. package/src/components/docs/getting-started/StartHerePage.tsx +10 -9
  664. package/src/components/docs/guides/GuideConnectInRepoPage.tsx +52 -3
  665. package/src/components/docs/guides/GuideHostBuilderWorkbenchPage.tsx +55 -6
  666. package/src/components/docs/guides/GuideReleaseCapsulesPage.tsx +147 -0
  667. package/src/components/docs/guides/GuidesIndexPage.tsx +7 -0
  668. package/src/components/docs/guides/index.ts +1 -0
  669. package/src/components/docs/libraries/LibrariesContractsPage.tsx +72 -27
  670. package/src/components/docs/libraries/LibrariesCrossPlatformUIPage.content.ts +252 -0
  671. package/src/components/docs/libraries/LibrariesCrossPlatformUIPage.tsx +232 -0
  672. package/src/components/docs/libraries/LibrariesDesignSystemPage.tsx +140 -55
  673. package/src/components/docs/libraries/LibrariesOverviewPage.tsx +13 -1
  674. package/src/components/docs/libraries/LibrariesRuntimePage.tsx +15 -0
  675. package/src/components/docs/libraries/LibrariesUIKitPage.tsx +78 -25
  676. package/src/components/docs/libraries/LibrariesUIKitWebPage.tsx +129 -0
  677. package/src/components/docs/libraries/index.ts +2 -0
  678. package/src/components/docs/reference/DocsReferenceIndexPage.tsx +1 -1
  679. package/src/components/docs/specs/SpecsBuilderControlPlanePage.tsx +58 -3
  680. package/src/components/docs/specs/SpecsConnectPage.tsx +30 -0
  681. package/src/components/docs/specs/SpecsDataViewsPage.tsx +63 -42
  682. package/src/index.ts +1 -1
  683. package/src/components/docs/generated/docs-index.mobile-demo-tasks.json +0 -34
@@ -1,4 +1,4 @@
1
- import{jsx as e,jsxs as r}from"react/jsx-runtime";function t(){return r("div",{className:"space-y-8",children:[r("div",{className:"space-y-4",children:[e("h1",{className:"font-bold text-4xl",children:"Integration Circuit Breakers"}),e("p",{className:"text-lg text-muted-foreground",children:"External APIs are the most common source of instability. Wrap every integration call in a circuit breaker to protect your system."})]}),r("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"Pattern"}),e("p",{children:"Create a dedicated circuit breaker instance for each external service. This ensures that a failure in Stripe doesn't trigger the circuit breaker for Twilio."}),e("pre",{className:"rounded-lg border bg-muted p-4 text-sm",children:`// integrations/stripe.ts
1
+ var c=Object.defineProperty;var o=(e)=>e;function n(e,r){this[e]=o.bind(null,r)}var s=(e,r)=>{for(var a in r)c(e,a,{get:r[a],enumerable:!0,configurable:!0,set:n.bind(r,a)})};var u=(e,r)=>()=>(e&&(r=e(e=0)),r);import{jsx as t,jsxs as i}from"react/jsx-runtime";function p(){return i("div",{className:"space-y-8",children:[i("div",{className:"space-y-4",children:[t("h1",{className:"font-bold text-4xl",children:"Integration Circuit Breakers"}),t("p",{className:"text-lg text-muted-foreground",children:"External APIs are the most common source of instability. Wrap every integration call in a circuit breaker to protect your system."})]}),i("div",{className:"space-y-4",children:[t("h2",{className:"font-bold text-2xl",children:"Pattern"}),t("p",{children:"Create a dedicated circuit breaker instance for each external service. This ensures that a failure in Stripe doesn't trigger the circuit breaker for Twilio."}),t("pre",{className:"rounded-lg border bg-muted p-4 text-sm",children:`// integrations/stripe.ts
2
2
  import { CircuitBreaker } from '@contractspec/lib.resilience/circuit-breaker';
3
3
 
4
4
  const stripeBreaker = new CircuitBreaker({
@@ -8,4 +8,4 @@ const stripeBreaker = new CircuitBreaker({
8
8
 
9
9
  export async function createCharge(amount: number) {
10
10
  return stripeBreaker.execute(() => stripe.charges.create({ amount }));
11
- }`})]})]})}export{t as IntegrationsCircuitBreakersPage};
11
+ }`})]})]})}export{p as IntegrationsCircuitBreakersPage};
@@ -1,5 +1,5 @@
1
- import y from"@contractspec/lib.ui-link";import{ChevronRight as z}from"lucide-react";import{jsx as f,jsxs as q}from"react/jsx-runtime";function D(){return q("div",{className:"space-y-8",children:[q("div",{className:"space-y-4",children:[f("h1",{className:"font-bold text-4xl",children:"ElevenLabs"}),f("p",{className:"text-muted-foreground",children:"ElevenLabs provides state-of-the-art text-to-speech and voice cloning technology. Create natural-sounding voiceovers, audiobooks, and voice assistants."})]}),q("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Setup"}),f("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:f("pre",{children:`# .env
2
- ELEVENLABS_API_KEY=...`})})]}),q("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Text-to-Speech"}),f("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:f("pre",{children:`capabilityId: elevenlabs-tts
1
+ var D=Object.defineProperty;var F=(q)=>q;function H(q,y){this[q]=F.bind(null,y)}var J=(q,y)=>{for(var A in y)D(q,A,{get:y[A],enumerable:!0,configurable:!0,set:H.bind(y,A)})};var K=(q,y)=>()=>(q&&(y=q(q=0)),y);import B from"@contractspec/lib.ui-link";import{ChevronRight as I}from"lucide-react";import{jsx as f,jsxs as z}from"react/jsx-runtime";function P(){return z("div",{className:"space-y-8",children:[z("div",{className:"space-y-4",children:[f("h1",{className:"font-bold text-4xl",children:"ElevenLabs"}),f("p",{className:"text-muted-foreground",children:"ElevenLabs provides state-of-the-art text-to-speech and voice cloning technology. Create natural-sounding voiceovers, audiobooks, and voice assistants."})]}),z("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Setup"}),f("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:f("pre",{children:`# .env
2
+ ELEVENLABS_API_KEY=...`})})]}),z("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Text-to-Speech"}),f("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:f("pre",{children:`capabilityId: elevenlabs-tts
3
3
  provider:
4
4
  type: elevenlabs
5
5
  operation: textToSpeech
@@ -18,4 +18,4 @@ outputs:
18
18
  audioUrl:
19
19
  type: string
20
20
  audioData:
21
- type: buffer`})})]}),q("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Use cases"}),q("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[f("li",{children:"Generate voiceovers for videos"}),f("li",{children:"Create audio versions of articles"}),f("li",{children:"Build voice assistants"}),f("li",{children:"Produce audiobooks"})]})]}),q("div",{className:"flex items-center gap-4 pt-4",children:[f(y,{href:"/docs/integrations/mistral",className:"btn-ghost",children:"Previous: Mistral"}),q(y,{href:"/docs/integrations/qdrant",className:"btn-primary",children:["Next: Qdrant ",f(z,{size:16})]})]})]})}export{D as IntegrationsElevenLabsPage};
21
+ type: buffer`})})]}),z("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Use cases"}),z("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[f("li",{children:"Generate voiceovers for videos"}),f("li",{children:"Create audio versions of articles"}),f("li",{children:"Build voice assistants"}),f("li",{children:"Produce audiobooks"})]})]}),z("div",{className:"flex items-center gap-4 pt-4",children:[f(B,{href:"/docs/integrations/mistral",className:"btn-ghost",children:"Previous: Mistral"}),z(B,{href:"/docs/integrations/qdrant",className:"btn-primary",children:["Next: Qdrant ",f(I,{size:16})]})]})]})}export{P as IntegrationsElevenLabsPage};
@@ -1,4 +1,4 @@
1
- import o from"@contractspec/lib.ui-link";import{ChevronRight as a}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function c(){return t("div",{className:"space-y-8",children:[t("div",{className:"space-y-4",children:[e("h1",{className:"font-bold text-4xl",children:"GitHub Messaging"}),e("p",{className:"text-muted-foreground",children:"Use GitHub issue and pull request comments as an AI-native messaging channel with webhook verification, policy checks, and reliable outbound dispatch."})]}),t("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"Required secrets and config"}),e("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:e("pre",{children:`// secret payload
1
+ var c=Object.defineProperty;var r=(o)=>o;function d(o,a){this[o]=r.bind(null,a)}var l=(o,a)=>{for(var i in a)c(o,i,{get:a[i],enumerable:!0,configurable:!0,set:d.bind(a,i)})};var p=(o,a)=>()=>(o&&(a=o(o=0)),a);import n from"@contractspec/lib.ui-link";import{ChevronRight as s}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function b(){return t("div",{className:"space-y-8",children:[t("div",{className:"space-y-4",children:[e("h1",{className:"font-bold text-4xl",children:"GitHub Messaging"}),e("p",{className:"text-muted-foreground",children:"Use GitHub issue and pull request comments as an AI-native messaging channel with webhook verification, policy checks, and reliable outbound dispatch."})]}),t("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"Required secrets and config"}),e("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:e("pre",{children:`// secret payload
2
2
  {
3
3
  "token": "ghp_...",
4
4
  "webhookSecret": "..."
@@ -12,4 +12,4 @@ import o from"@contractspec/lib.ui-link";import{ChevronRight as a}from"lucide-re
12
12
  }`})})]}),t("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"Webhook ingress"}),t("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[t("li",{children:["Inbound GitHub events are accepted on"," ",e("code",{className:"rounded bg-background/50 px-2 py-1",children:"/webhooks/github/events"}),"."]}),t("li",{children:["Signatures are checked using"," ",e("code",{className:"rounded bg-background/50 px-2 py-1",children:"x-hub-signature-256"})," ","and the configured webhook secret."]}),e("li",{children:"Current normalization focuses on issue comment workflows and durable comment dispatch."})]})]}),t("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"Workspace mapping"}),e("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:e("pre",{children:`CHANNEL_WORKSPACE_MAP_GITHUB={"lssm-tech/contractspec":"workspace-acme"}
13
13
 
14
14
  # Optional dev fallback (off by default)
15
- CHANNEL_ALLOW_UNMAPPED_WORKSPACE=0`})})]}),t("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"Best practices"}),t("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[e("li",{children:"Use a least-privileged token scoped for comment operations."}),e("li",{children:"Route repositories explicitly with workspace maps in multi-tenant environments."}),e("li",{children:"Keep dispatch endpoints protected with token or bearer auth."})]})]}),t("div",{className:"flex items-center gap-4 pt-4",children:[e(o,{href:"/docs/integrations/slack",className:"btn-ghost",children:"Previous: Slack Messaging"}),t(o,{href:"/docs/integrations/whatsapp-meta",className:"btn-primary",children:["Next: WhatsApp Meta ",e(a,{size:16})]})]})]})}export{c as IntegrationsGithubPage};
15
+ CHANNEL_ALLOW_UNMAPPED_WORKSPACE=0`})})]}),t("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"Best practices"}),t("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[e("li",{children:"Use a least-privileged token scoped for comment operations."}),e("li",{children:"Route repositories explicitly with workspace maps in multi-tenant environments."}),e("li",{children:"Keep dispatch endpoints protected with token or bearer auth."})]})]}),t("div",{className:"flex items-center gap-4 pt-4",children:[e(n,{href:"/docs/integrations/slack",className:"btn-ghost",children:"Previous: Slack Messaging"}),t(n,{href:"/docs/integrations/whatsapp-meta",className:"btn-primary",children:["Next: WhatsApp Meta ",e(s,{size:16})]})]})]})}export{b as IntegrationsGithubPage};
@@ -1,7 +1,7 @@
1
- import y from"@contractspec/lib.ui-link";import{ChevronRight as z}from"lucide-react";import{jsx as f,jsxs as q}from"react/jsx-runtime";function E(){return q("div",{className:"space-y-8",children:[q("div",{className:"space-y-4",children:[f("h1",{className:"font-bold text-4xl",children:"Gmail API"}),f("p",{className:"text-muted-foreground",children:"The Gmail API integration allows you to read inbound emails, manage threads, and build email-based workflows. Perfect for support tickets, email parsing, and automated responses."})]}),q("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Setup"}),f("p",{className:"text-muted-foreground",children:"Configure OAuth 2.0 credentials in Google Cloud Console:"}),f("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:f("pre",{children:`# .env
1
+ var E=Object.defineProperty;var F=(q)=>q;function H(q,y){this[q]=F.bind(null,y)}var K=(q,y)=>{for(var B in y)E(q,B,{get:y[B],enumerable:!0,configurable:!0,set:H.bind(y,B)})};var M=(q,y)=>()=>(q&&(y=q(q=0)),y);import D from"@contractspec/lib.ui-link";import{ChevronRight as J}from"lucide-react";import{jsx as f,jsxs as z}from"react/jsx-runtime";function T(){return z("div",{className:"space-y-8",children:[z("div",{className:"space-y-4",children:[f("h1",{className:"font-bold text-4xl",children:"Gmail API"}),f("p",{className:"text-muted-foreground",children:"The Gmail API integration allows you to read inbound emails, manage threads, and build email-based workflows. Perfect for support tickets, email parsing, and automated responses."})]}),z("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Setup"}),f("p",{className:"text-muted-foreground",children:"Configure OAuth 2.0 credentials in Google Cloud Console:"}),f("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:f("pre",{children:`# .env
2
2
  GOOGLE_CLIENT_ID=...
3
3
  GOOGLE_CLIENT_SECRET=...
4
- GOOGLE_REDIRECT_URI=https://your-app.com/auth/google/callback`})})]}),q("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Reading emails"}),f("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:f("pre",{children:`capabilityId: gmail-list-messages
4
+ GOOGLE_REDIRECT_URI=https://your-app.com/auth/google/callback`})})]}),z("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Reading emails"}),f("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:f("pre",{children:`capabilityId: gmail-list-messages
5
5
  provider:
6
6
  type: gmail
7
7
  operation: listMessages
@@ -22,4 +22,4 @@ outputs:
22
22
  properties:
23
23
  id: string
24
24
  threadId: string
25
- snippet: string`})})]}),q("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Use cases"}),q("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[f("li",{children:"Parse support emails and create tickets"}),f("li",{children:"Extract attachments and process them"}),f("li",{children:"Build email-to-task workflows"}),f("li",{children:"Monitor specific email threads"})]})]}),q("div",{className:"flex items-center gap-4 pt-4",children:[f(y,{href:"/docs/integrations/resend",className:"btn-ghost",children:"Previous: Resend"}),q(y,{href:"/docs/integrations/google-calendar",className:"btn-primary",children:["Next: Google Calendar ",f(z,{size:16})]})]})]})}export{E as IntegrationsGmailPage};
25
+ snippet: string`})})]}),z("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Use cases"}),z("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[f("li",{children:"Parse support emails and create tickets"}),f("li",{children:"Extract attachments and process them"}),f("li",{children:"Build email-to-task workflows"}),f("li",{children:"Monitor specific email threads"})]})]}),z("div",{className:"flex items-center gap-4 pt-4",children:[f(D,{href:"/docs/integrations/resend",className:"btn-ghost",children:"Previous: Resend"}),z(D,{href:"/docs/integrations/google-calendar",className:"btn-primary",children:["Next: Google Calendar ",f(J,{size:16})]})]})]})}export{T as IntegrationsGmailPage};
@@ -1,7 +1,7 @@
1
- import y from"@contractspec/lib.ui-link";import{ChevronRight as z}from"lucide-react";import{jsx as f,jsxs as q}from"react/jsx-runtime";function E(){return q("div",{className:"space-y-8",children:[q("div",{className:"space-y-4",children:[f("h1",{className:"font-bold text-4xl",children:"Google Calendar"}),f("p",{className:"text-muted-foreground",children:"Integrate Google Calendar to schedule appointments, manage availability, and sync events with your application."})]}),q("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Setup"}),f("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:f("pre",{children:`# .env
1
+ var E=Object.defineProperty;var F=(q)=>q;function H(q,y){this[q]=F.bind(null,y)}var K=(q,y)=>{for(var B in y)E(q,B,{get:y[B],enumerable:!0,configurable:!0,set:H.bind(y,B)})};var M=(q,y)=>()=>(q&&(y=q(q=0)),y);import D from"@contractspec/lib.ui-link";import{ChevronRight as J}from"lucide-react";import{jsx as f,jsxs as z}from"react/jsx-runtime";function T(){return z("div",{className:"space-y-8",children:[z("div",{className:"space-y-4",children:[f("h1",{className:"font-bold text-4xl",children:"Google Calendar"}),f("p",{className:"text-muted-foreground",children:"Integrate Google Calendar to schedule appointments, manage availability, and sync events with your application."})]}),z("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Setup"}),f("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:f("pre",{children:`# .env
2
2
  GOOGLE_CLIENT_ID=...
3
3
  GOOGLE_CLIENT_SECRET=...
4
- GOOGLE_CALENDAR_ID=primary`})})]}),q("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Creating events"}),f("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:f("pre",{children:`capabilityId: calendar-create-event
4
+ GOOGLE_CALENDAR_ID=primary`})})]}),z("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Creating events"}),f("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:f("pre",{children:`capabilityId: calendar-create-event
5
5
  provider:
6
6
  type: google-calendar
7
7
  operation: createEvent
@@ -25,4 +25,4 @@ outputs:
25
25
  eventId:
26
26
  type: string
27
27
  htmlLink:
28
- type: string`})})]}),q("div",{className:"flex items-center gap-4 pt-4",children:[f(y,{href:"/docs/integrations/gmail",className:"btn-ghost",children:"Previous: Gmail API"}),q(y,{href:"/docs/integrations/openai",className:"btn-primary",children:["Next: OpenAI ",f(z,{size:16})]})]})]})}export{E as IntegrationsGoogleCalendarPage};
28
+ type: string`})})]}),z("div",{className:"flex items-center gap-4 pt-4",children:[f(D,{href:"/docs/integrations/gmail",className:"btn-ghost",children:"Previous: Gmail API"}),z(D,{href:"/docs/integrations/openai",className:"btn-primary",children:["Next: OpenAI ",f(J,{size:16})]})]})]})}export{T as IntegrationsGoogleCalendarPage};
@@ -1,4 +1,4 @@
1
- import a from"@contractspec/lib.ui-link";import{jsx as e,jsxs as i}from"react/jsx-runtime";function t(){return i("div",{className:"space-y-8",children:[i("div",{className:"space-y-4",children:[e("h1",{className:"font-bold text-4xl",children:"Health Routing Strategy"}),e("p",{className:"text-muted-foreground",children:"Health integrations resolve providers through deterministic transport strategy order with explicit capability gating and unofficial-route controls."})]}),i("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"Connection config fields"}),e("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:e("pre",{children:`{
1
+ var r=Object.defineProperty;var n=(a)=>a;function d(a,o){this[a]=n.bind(null,o)}var c=(a,o)=>{for(var t in o)r(a,t,{get:o[t],enumerable:!0,configurable:!0,set:d.bind(o,t)})};var s=(a,o)=>()=>(a&&(o=a(a=0)),o);import l from"@contractspec/lib.ui-link";import{jsx as e,jsxs as i}from"react/jsx-runtime";function u(){return i("div",{className:"space-y-8",children:[i("div",{className:"space-y-4",children:[e("h1",{className:"font-bold text-4xl",children:"Health Routing Strategy"}),e("p",{className:"text-muted-foreground",children:"Health integrations resolve providers through deterministic transport strategy order with explicit capability gating and unofficial-route controls."})]}),i("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"Connection config fields"}),e("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:e("pre",{children:`{
2
2
  "defaultTransport": "official-api",
3
3
  "strategyOrder": [
4
4
  "official-api",
@@ -21,4 +21,4 @@ import a from"@contractspec/lib.ui-link";import{jsx as e,jsxs as i}from"react/js
21
21
  "tokenExpiresAt": "2026-02-01T00:00:00.000Z",
22
22
  "mcpAccessToken": "...",
23
23
  "webhookSecret": "..."
24
- }`})})]}),i("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"Routing behavior"}),i("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[e("li",{children:"Unsupported strategies are skipped per provider capability matrix."}),e("li",{children:"Missing credentials fail closed and fall through only when a later strategy is valid."}),i("li",{children:["Unofficial routes are disabled unless",e("code",{className:"ml-1 rounded bg-background/50 px-2 py-1",children:"allowUnofficial"}),"is true."]}),i("li",{children:["When",e("code",{className:"ml-1 rounded bg-background/50 px-2 py-1",children:"unofficialAllowList"}),"is set, only listed provider keys can route unofficially."]}),i("li",{children:["OAuth refresh uses",e("code",{className:"ml-1 rounded bg-background/50 px-2 py-1",children:"oauthTokenUrl"}),"with refresh/client credentials when APIs return 401."]})]})]}),i("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"Provider guidance"}),i("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[e("li",{children:"Use official APIs when available (Whoop, Oura, Strava, Fitbit)."}),e("li",{children:"Use aggregator routing for providers without stable official APIs (Garmin, MyFitnessPal, Eight Sleep, Peloton)."}),e("li",{children:"Keep unofficial automation opt-in and auditable for production."})]})]}),i("div",{className:"flex items-center gap-4 pt-4",children:[e(a,{href:"/docs/integrations/whatsapp-twilio",className:"btn-ghost",children:"Previous: WhatsApp Twilio"}),e(a,{href:"/docs/integrations",className:"btn-primary",children:"Back to Integrations"})]})]})}export{t as IntegrationsHealthRoutingPage};
24
+ }`})})]}),i("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"Routing behavior"}),i("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[e("li",{children:"Unsupported strategies are skipped per provider capability matrix."}),e("li",{children:"Missing credentials fail closed and fall through only when a later strategy is valid."}),i("li",{children:["Unofficial routes are disabled unless",e("code",{className:"ml-1 rounded bg-background/50 px-2 py-1",children:"allowUnofficial"}),"is true."]}),i("li",{children:["When",e("code",{className:"ml-1 rounded bg-background/50 px-2 py-1",children:"unofficialAllowList"}),"is set, only listed provider keys can route unofficially."]}),i("li",{children:["OAuth refresh uses",e("code",{className:"ml-1 rounded bg-background/50 px-2 py-1",children:"oauthTokenUrl"}),"with refresh/client credentials when APIs return 401."]})]})]}),i("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"Provider guidance"}),i("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[e("li",{children:"Use official APIs when available (Whoop, Oura, Strava, Fitbit)."}),e("li",{children:"Use aggregator routing for providers without stable official APIs (Garmin, MyFitnessPal, Eight Sleep, Peloton)."}),e("li",{children:"Keep unofficial automation opt-in and auditable for production."})]})]}),i("div",{className:"flex items-center gap-4 pt-4",children:[e(l,{href:"/docs/integrations/whatsapp-twilio",className:"btn-ghost",children:"Previous: WhatsApp Twilio"}),e(l,{href:"/docs/integrations",className:"btn-primary",children:"Back to Integrations"})]})]})}export{u as IntegrationsHealthRoutingPage};
@@ -1,4 +1,4 @@
1
- import r from"@contractspec/lib.ui-link";import{ChevronRight as a}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function n(){return t("div",{className:"space-y-8",children:[t("div",{className:"space-y-4",children:[e("h1",{className:"font-bold text-4xl",children:"Mistral"}),e("p",{className:"text-muted-foreground",children:"Integrate Mistral models for chat, reasoning, embeddings, speech-to-text, and conversational voice workflows. ContractSpec ships first-class Mistral support across contracts, provider runtime wiring, and CLI provider selection."})]}),t("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"Setup"}),e("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:e("pre",{children:`# .env
1
+ var n=Object.defineProperty;var s=(r)=>r;function d(r,a){this[r]=s.bind(null,a)}var p=(r,a)=>{for(var o in a)n(r,o,{get:a[o],enumerable:!0,configurable:!0,set:d.bind(a,o)})};var m=(r,a)=>()=>(r&&(a=r(r=0)),a);import i from"@contractspec/lib.ui-link";import{ChevronRight as l}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function v(){return t("div",{className:"space-y-8",children:[t("div",{className:"space-y-4",children:[e("h1",{className:"font-bold text-4xl",children:"Mistral"}),e("p",{className:"text-muted-foreground",children:"Integrate Mistral models for chat, reasoning, embeddings, speech-to-text, and conversational voice workflows. ContractSpec ships first-class Mistral support across contracts, provider runtime wiring, and CLI provider selection."})]}),t("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"Setup"}),e("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:e("pre",{children:`# .env
2
2
  MISTRAL_API_KEY=...`})})]}),t("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"Chat and reasoning"}),e("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:e("pre",{children:`capabilityId: mistral-chat
3
3
  provider:
4
4
  type: mistral
@@ -54,4 +54,4 @@ outputs:
54
54
  segments:
55
55
  type: array
56
56
  language:
57
- type: string`})})]}),t("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"Conversational voice sessions"}),e("p",{className:"text-muted-foreground",children:"Use the conversational provider for session-based realtime voice flows (turn handling, events, and interruption-safe streaming)."})]}),t("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"Best practices"}),t("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[e("li",{children:"Choose model families by workload: coding, reasoning, or speech"}),e("li",{children:"Persist session IDs for conversational continuity across turns"}),e("li",{children:"Capture token and latency telemetry for provider-level tuning"}),e("li",{children:"Set explicit fallbacks for network and rate-limit failures"})]})]}),t("div",{className:"flex items-center gap-4 pt-4",children:[e(r,{href:"/docs/integrations/openai",className:"btn-ghost",children:"Previous: OpenAI"}),t(r,{href:"/docs/integrations/elevenlabs",className:"btn-primary",children:["Next: ElevenLabs ",e(a,{size:16})]})]})]})}export{n as IntegrationsMistralPage};
57
+ type: string`})})]}),t("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"Conversational voice sessions"}),e("p",{className:"text-muted-foreground",children:"Use the conversational provider for session-based realtime voice flows (turn handling, events, and interruption-safe streaming)."})]}),t("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"Best practices"}),t("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[e("li",{children:"Choose model families by workload: coding, reasoning, or speech"}),e("li",{children:"Persist session IDs for conversational continuity across turns"}),e("li",{children:"Capture token and latency telemetry for provider-level tuning"}),e("li",{children:"Set explicit fallbacks for network and rate-limit failures"})]})]}),t("div",{className:"flex items-center gap-4 pt-4",children:[e(i,{href:"/docs/integrations/openai",className:"btn-ghost",children:"Previous: OpenAI"}),t(i,{href:"/docs/integrations/elevenlabs",className:"btn-primary",children:["Next: ElevenLabs ",e(l,{size:16})]})]})]})}export{v as IntegrationsMistralPage};
@@ -1,4 +1,4 @@
1
- import y from"@contractspec/lib.ui-link";import{ChevronRight as z}from"lucide-react";import{jsx as f,jsxs as q}from"react/jsx-runtime";function E(){return q("div",{className:"space-y-8",children:[q("div",{className:"space-y-4",children:[f("h1",{className:"font-bold text-4xl",children:"OpenAI"}),f("p",{className:"text-muted-foreground",children:"Integrate OpenAI's powerful AI models for chat completion, embeddings, and speech-to-text. Build intelligent features with GPT-4, generate embeddings for semantic search, and transcribe audio with Whisper."})]}),q("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Setup"}),f("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:f("pre",{children:`# .env
1
+ var E=Object.defineProperty;var F=(y)=>y;function H(y,z){this[y]=F.bind(null,z)}var K=(y,z)=>{for(var B in z)E(y,B,{get:z[B],enumerable:!0,configurable:!0,set:H.bind(z,B)})};var M=(y,z)=>()=>(y&&(z=y(y=0)),z);import D from"@contractspec/lib.ui-link";import{ChevronRight as J}from"lucide-react";import{jsx as f,jsxs as q}from"react/jsx-runtime";function X(){return q("div",{className:"space-y-8",children:[q("div",{className:"space-y-4",children:[f("h1",{className:"font-bold text-4xl",children:"OpenAI"}),f("p",{className:"text-muted-foreground",children:"Integrate OpenAI's powerful AI models for chat completion, embeddings, and speech-to-text. Build intelligent features with GPT-4, generate embeddings for semantic search, and transcribe audio with Whisper."})]}),q("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Setup"}),f("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:f("pre",{children:`# .env
2
2
  OPENAI_API_KEY=sk-...
3
3
  OPENAI_ORGANIZATION=org-...`})})]}),q("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Chat completions"}),f("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:f("pre",{children:`capabilityId: openai-chat
4
4
  provider:
@@ -57,4 +57,4 @@ outputs:
57
57
  text:
58
58
  type: string
59
59
  language:
60
- type: string`})})]}),q("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Best practices"}),q("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[f("li",{children:"Use streaming for real-time chat responses"}),f("li",{children:"Cache embeddings to reduce API costs"}),f("li",{children:"Implement rate limiting to avoid quota issues"}),f("li",{children:"Store conversation history for context"}),f("li",{children:"Monitor token usage and costs"})]})]}),q("div",{className:"flex items-center gap-4 pt-4",children:[f(y,{href:"/docs/integrations/google-calendar",className:"btn-ghost",children:"Previous: Google Calendar"}),q(y,{href:"/docs/integrations/mistral",className:"btn-primary",children:["Next: Mistral ",f(z,{size:16})]})]})]})}export{E as IntegrationsOpenAIPage};
60
+ type: string`})})]}),q("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Best practices"}),q("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[f("li",{children:"Use streaming for real-time chat responses"}),f("li",{children:"Cache embeddings to reduce API costs"}),f("li",{children:"Implement rate limiting to avoid quota issues"}),f("li",{children:"Store conversation history for context"}),f("li",{children:"Monitor token usage and costs"})]})]}),q("div",{className:"flex items-center gap-4 pt-4",children:[f(D,{href:"/docs/integrations/google-calendar",className:"btn-ghost",children:"Previous: Google Calendar"}),q(D,{href:"/docs/integrations/mistral",className:"btn-primary",children:["Next: Mistral ",f(J,{size:16})]})]})]})}export{X as IntegrationsOpenAIPage};
@@ -1 +1 @@
1
- import n from"@contractspec/lib.ui-link";import{jsx as e,jsxs as t}from"react/jsx-runtime";var o=[{title:"Models and voice",items:[{title:"OpenAI",href:"/docs/integrations/openai"},{title:"Mistral",href:"/docs/integrations/mistral"},{title:"ElevenLabs",href:"/docs/integrations/elevenlabs"}]},{title:"Messaging and product operations",items:[{title:"GitHub",href:"/docs/integrations/github"},{title:"Slack",href:"/docs/integrations/slack"},{title:"Twilio",href:"/docs/integrations/twilio"},{title:"Postmark",href:"/docs/integrations/postmark"}]},{title:"Data, storage, and retrieval",items:[{title:"Qdrant",href:"/docs/integrations/qdrant"},{title:"S3 storage",href:"/docs/integrations/s3"},{title:"Gmail",href:"/docs/integrations/gmail"},{title:"Google Calendar",href:"/docs/integrations/google-calendar"}]},{title:"Payments and external workflows",items:[{title:"Stripe",href:"/docs/integrations/stripe"},{title:"Powens",href:"/docs/integrations/powens"},{title:"Circuit breakers",href:"/docs/integrations/circuit-breakers"},{title:"Health routing",href:"/docs/integrations/health-routing"}]}];function s(){return t("div",{className:"space-y-10",children:[t("div",{className:"space-y-3",children:[e("p",{className:"editorial-kicker",children:"Integrations"}),e("h1",{className:"font-serif text-4xl tracking-[-0.04em] md:text-5xl",children:"Integrations stay explicit: spec what a provider offers, then bind it per tenant and per app."}),e("p",{className:"max-w-3xl text-lg text-muted-foreground leading-8",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."})]}),t("div",{className:"editorial-proof-strip",children:[t("div",{className:"editorial-stat",children:[e("span",{className:"editorial-label",children:"Binding model"}),e("span",{className:"editorial-stat-value",children:"Integration spec → tenant connection → app binding"})]}),e("p",{className:"max-w-2xl text-muted-foreground text-sm leading-7",children:"That separation is what makes reuse, tenant isolation, and provider swaps practical without rewriting every surface."})]}),e("section",{className:"editorial-panel space-y-5",children:t("div",{className:"space-y-2",children:[e("h2",{className:"font-serif text-3xl tracking-[-0.03em]",children:"Start with the model, then pick a provider"}),t("div",{className:"grid gap-4 md:grid-cols-2",children:[t(n,{href:"/docs/integrations/spec-model",className:"docs-footer-link",children:[e("h3",{className:"font-semibold text-lg",children:"Integration spec model"}),e("p",{className:"text-muted-foreground text-sm leading-7",children:"Define what the provider offers, what configuration it needs, and how the runtime should treat it."})]}),t(n,{href:"/docs/architecture/integration-binding",className:"docs-footer-link",children:[e("h3",{className:"font-semibold text-lg",children:"Integration binding"}),e("p",{className:"text-muted-foreground text-sm leading-7",children:"Understand how tenant connections get mapped into concrete app surfaces and workflows."})]})]})]})}),e("div",{className:"grid gap-5 md:grid-cols-2",children:o.map((i)=>t("section",{className:"editorial-panel space-y-4",children:[e("h2",{className:"font-serif text-2xl tracking-[-0.03em]",children:i.title}),e("div",{className:"space-y-3",children:i.items.map((a)=>e(n,{href:a.href,className:"docs-chip-link",children:a.title},a.href))})]},i.title))})]})}export{s as IntegrationsOverviewPage};
1
+ var r=Object.defineProperty;var s=(t)=>t;function l(t,i){this[t]=s.bind(null,i)}var c=(t,i)=>{for(var n in i)r(t,n,{get:i[n],enumerable:!0,configurable:!0,set:l.bind(i,n)})};var p=(t,i)=>()=>(t&&(i=t(t=0)),i);import o from"@contractspec/lib.ui-link";import{jsx as e,jsxs as a}from"react/jsx-runtime";var d=[{title:"Models and voice",items:[{title:"OpenAI",href:"/docs/integrations/openai"},{title:"Mistral",href:"/docs/integrations/mistral"},{title:"ElevenLabs",href:"/docs/integrations/elevenlabs"}]},{title:"Messaging and product operations",items:[{title:"GitHub",href:"/docs/integrations/github"},{title:"Slack",href:"/docs/integrations/slack"},{title:"Twilio",href:"/docs/integrations/twilio"},{title:"Postmark",href:"/docs/integrations/postmark"}]},{title:"Data, storage, and retrieval",items:[{title:"Qdrant",href:"/docs/integrations/qdrant"},{title:"S3 storage",href:"/docs/integrations/s3"},{title:"Gmail",href:"/docs/integrations/gmail"},{title:"Google Calendar",href:"/docs/integrations/google-calendar"}]},{title:"Payments and external workflows",items:[{title:"Stripe",href:"/docs/integrations/stripe"},{title:"Powens",href:"/docs/integrations/powens"},{title:"Circuit breakers",href:"/docs/integrations/circuit-breakers"},{title:"Health routing",href:"/docs/integrations/health-routing"}]}];function h(){return a("div",{className:"space-y-10",children:[a("div",{className:"space-y-3",children:[e("p",{className:"editorial-kicker",children:"Integrations"}),e("h1",{className:"font-serif text-4xl tracking-[-0.04em] md:text-5xl",children:"Integrations stay explicit: spec what a provider offers, then bind it per tenant and per app."}),e("p",{className:"max-w-3xl text-lg text-muted-foreground leading-8",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."})]}),a("div",{className:"editorial-proof-strip",children:[a("div",{className:"editorial-stat",children:[e("span",{className:"editorial-label",children:"Binding model"}),e("span",{className:"editorial-stat-value",children:"Integration spec → tenant connection → app binding"})]}),e("p",{className:"max-w-2xl text-muted-foreground text-sm leading-7",children:"That separation is what makes reuse, tenant isolation, and provider swaps practical without rewriting every surface."})]}),e("section",{className:"editorial-panel space-y-5",children:a("div",{className:"space-y-2",children:[e("h2",{className:"font-serif text-3xl tracking-[-0.03em]",children:"Start with the model, then pick a provider"}),a("div",{className:"grid gap-4 md:grid-cols-2",children:[a(o,{href:"/docs/integrations/spec-model",className:"docs-footer-link",children:[e("h3",{className:"font-semibold text-lg",children:"Integration spec model"}),e("p",{className:"text-muted-foreground text-sm leading-7",children:"Define what the provider offers, what configuration it needs, and how the runtime should treat it."})]}),a(o,{href:"/docs/architecture/integration-binding",className:"docs-footer-link",children:[e("h3",{className:"font-semibold text-lg",children:"Integration binding"}),e("p",{className:"text-muted-foreground text-sm leading-7",children:"Understand how tenant connections get mapped into concrete app surfaces and workflows."})]})]})]})}),e("div",{className:"grid gap-5 md:grid-cols-2",children:d.map((t)=>a("section",{className:"editorial-panel space-y-4",children:[e("h2",{className:"font-serif text-2xl tracking-[-0.03em]",children:t.title}),e("div",{className:"space-y-3",children:t.items.map((i)=>e(o,{href:i.href,className:"docs-chip-link",children:i.title},i.href))})]},t.title))})]})}export{h as IntegrationsOverviewPage};
@@ -1,4 +1,4 @@
1
- import z from"@contractspec/lib.ui-link";import{ChevronRight as A}from"lucide-react";import{jsx as f,jsxs as q}from"react/jsx-runtime";function E(){return q("div",{className:"space-y-8",children:[q("div",{className:"space-y-4",children:[f("h1",{className:"font-bold text-4xl",children:"Postmark"}),f("p",{className:"text-muted-foreground",children:"Postmark is a transactional email service with industry-leading deliverability. Use it to send order confirmations, password resets, notifications, and other critical emails."})]}),q("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Setup"}),f("p",{className:"text-muted-foreground",children:"Add your Postmark credentials to your environment variables:"}),f("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:f("pre",{children:`# .env
1
+ var E=Object.defineProperty;var F=(z)=>z;function G(z,A){this[z]=F.bind(null,A)}var I=(z,A)=>{for(var B in A)E(z,B,{get:A[B],enumerable:!0,configurable:!0,set:G.bind(A,B)})};var J=(z,A)=>()=>(z&&(A=z(z=0)),A);import D from"@contractspec/lib.ui-link";import{ChevronRight as H}from"lucide-react";import{jsx as f,jsxs as q}from"react/jsx-runtime";function O(){return q("div",{className:"space-y-8",children:[q("div",{className:"space-y-4",children:[f("h1",{className:"font-bold text-4xl",children:"Postmark"}),f("p",{className:"text-muted-foreground",children:"Postmark is a transactional email service with industry-leading deliverability. Use it to send order confirmations, password resets, notifications, and other critical emails."})]}),q("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Setup"}),f("p",{className:"text-muted-foreground",children:"Add your Postmark credentials to your environment variables:"}),f("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:f("pre",{children:`# .env
2
2
  POSTMARK_API_TOKEN=...
3
3
  POSTMARK_FROM_EMAIL=noreply@example.com
4
4
  POSTMARK_FROM_NAME="Your App Name"`})}),q("p",{className:"text-muted-foreground text-sm",children:["Get your API token from the"," ",f("a",{href:"https://account.postmarkapp.com/servers",target:"_blank",rel:"noopener noreferrer",className:"text-violet-400 hover:text-violet-300",children:"Postmark Dashboard"}),"."]})]}),q("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Sending emails"}),f("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:f("pre",{children:`capabilityId: send-email
@@ -44,4 +44,4 @@ config:
44
44
  templateId: "welcome-email"
45
45
  templateData:
46
46
  user_name: \${input.userName}
47
- login_url: "https://app.example.com/login"`})})]}),q("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Webhooks"}),f("p",{className:"text-muted-foreground",children:"Postmark can notify your app about delivery, bounces, and opens:"}),f("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:f("pre",{children:"https://your-app.com/api/webhooks/postmark"})}),f("p",{className:"text-muted-foreground",children:"ContractSpec automatically processes these webhook events:"}),q("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[q("li",{children:[f("strong",{children:"Delivery"})," – Email was successfully delivered"]}),q("li",{children:[f("strong",{children:"Bounce"})," – Email bounced (hard or soft)"]}),q("li",{children:[f("strong",{children:"SpamComplaint"})," – Recipient marked email as spam"]}),q("li",{children:[f("strong",{children:"Open"})," – Recipient opened the email"]}),q("li",{children:[f("strong",{children:"Click"})," – Recipient clicked a link"]})]})]}),q("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Best practices"}),q("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[f("li",{children:"Use templates for consistent branding"}),f("li",{children:"Always provide both HTML and plain text versions"}),f("li",{children:"Monitor bounce rates and remove invalid addresses"}),f("li",{children:"Use message streams to separate different email types"}),f("li",{children:"Test emails in the Postmark sandbox before going live"}),f("li",{children:"Set up DKIM and SPF records for your domain"})]})]}),q("div",{className:"flex items-center gap-4 pt-4",children:[f(z,{href:"/docs/integrations/stripe",className:"btn-ghost",children:"Previous: Stripe"}),q(z,{href:"/docs/integrations/resend",className:"btn-primary",children:["Next: Resend ",f(A,{size:16})]})]})]})}export{E as IntegrationsPostmarkPage};
47
+ login_url: "https://app.example.com/login"`})})]}),q("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Webhooks"}),f("p",{className:"text-muted-foreground",children:"Postmark can notify your app about delivery, bounces, and opens:"}),f("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:f("pre",{children:"https://your-app.com/api/webhooks/postmark"})}),f("p",{className:"text-muted-foreground",children:"ContractSpec automatically processes these webhook events:"}),q("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[q("li",{children:[f("strong",{children:"Delivery"})," – Email was successfully delivered"]}),q("li",{children:[f("strong",{children:"Bounce"})," – Email bounced (hard or soft)"]}),q("li",{children:[f("strong",{children:"SpamComplaint"})," – Recipient marked email as spam"]}),q("li",{children:[f("strong",{children:"Open"})," – Recipient opened the email"]}),q("li",{children:[f("strong",{children:"Click"})," – Recipient clicked a link"]})]})]}),q("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Best practices"}),q("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[f("li",{children:"Use templates for consistent branding"}),f("li",{children:"Always provide both HTML and plain text versions"}),f("li",{children:"Monitor bounce rates and remove invalid addresses"}),f("li",{children:"Use message streams to separate different email types"}),f("li",{children:"Test emails in the Postmark sandbox before going live"}),f("li",{children:"Set up DKIM and SPF records for your domain"})]})]}),q("div",{className:"flex items-center gap-4 pt-4",children:[f(D,{href:"/docs/integrations/stripe",className:"btn-ghost",children:"Previous: Stripe"}),q(D,{href:"/docs/integrations/resend",className:"btn-primary",children:["Next: Resend ",f(H,{size:16})]})]})]})}export{O as IntegrationsPostmarkPage};
@@ -1,4 +1,4 @@
1
- import A from"@contractspec/lib.ui-link";import{ChevronRight as B}from"lucide-react";import{jsx as q,jsxs as z}from"react/jsx-runtime";function G(){return z("div",{className:"space-y-8",children:[z("div",{className:"space-y-4",children:[q("h1",{className:"font-bold text-4xl",children:"Powens Open Banking"}),q("p",{className:"text-muted-foreground",children:"Powens provides read-only open banking connectivity for ContractSpec applications. The reference integration powers Pocket Family Office by synchronising household bank accounts, transactions, and balances while keeping all raw PII protected."})]}),z("div",{className:"space-y-4",children:[q("h2",{className:"font-bold text-2xl",children:"Setup"}),q("p",{className:"text-muted-foreground",children:"Create a Powens BYOK project, then store the credentials in your secret manager. The ContractSpec integration expects the following fields:"}),q("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:q("pre",{children:`{
1
+ var G=Object.defineProperty;var H=(A)=>A;function I(A,B){this[A]=H.bind(null,B)}var K=(A,B)=>{for(var D in B)G(A,D,{get:B[D],enumerable:!0,configurable:!0,set:I.bind(B,D)})};var M=(A,B)=>()=>(A&&(B=A(A=0)),B);import E from"@contractspec/lib.ui-link";import{ChevronRight as J}from"lucide-react";import{jsx as q,jsxs as z}from"react/jsx-runtime";function U(){return z("div",{className:"space-y-8",children:[z("div",{className:"space-y-4",children:[q("h1",{className:"font-bold text-4xl",children:"Powens Open Banking"}),q("p",{className:"text-muted-foreground",children:"Powens provides read-only open banking connectivity for ContractSpec applications. The reference integration powers Pocket Family Office by synchronising household bank accounts, transactions, and balances while keeping all raw PII protected."})]}),z("div",{className:"space-y-4",children:[q("h2",{className:"font-bold text-2xl",children:"Setup"}),q("p",{className:"text-muted-foreground",children:"Create a Powens BYOK project, then store the credentials in your secret manager. The ContractSpec integration expects the following fields:"}),q("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:q("pre",{children:`{
2
2
  "clientId": "powens-client-id",
3
3
  "clientSecret": "powens-client-secret",
4
4
  "apiKey": "optional-api-key",
@@ -53,4 +53,4 @@ inputs:
53
53
  outputs:
54
54
  balances:
55
55
  type: AccountBalanceRecord[]
56
- description: "Current/available balances with timestamps"`})})]}),z("div",{className:"space-y-4",children:[q("h2",{className:"font-bold text-2xl",children:"Primary workflows"}),z("div",{className:"space-y-3",children:[q("h3",{className:"font-semibold text-lg",children:"Account sync"}),z("p",{className:"text-muted-foreground",children:["The workflow"," ",q("code",{className:"rounded bg-background/50 px-2 py-1",children:"pfo.workflow.sync-openbanking-accounts"})," ","refreshes account metadata, then surfaces canonical records to other automations."]})]}),z("div",{className:"space-y-3",children:[q("h3",{className:"font-semibold text-lg",children:"Transaction sync"}),z("p",{className:"text-muted-foreground",children:[q("code",{className:"rounded bg-background/50 px-2 py-1",children:"pfo.workflow.sync-openbanking-transactions"})," ","ingests incremental transactions for each linked account and stores them in the canonical ledger."]})]}),z("div",{className:"space-y-3",children:[q("h3",{className:"font-semibold text-lg",children:"Balance refresh"}),z("p",{className:"text-muted-foreground",children:[q("code",{className:"rounded bg-background/50 px-2 py-1",children:"pfo.workflow.refresh-openbanking-balances"})," ","retrieves current and available balances to power dashboards and anomaly detection."]})]}),z("div",{className:"space-y-3",children:[q("h3",{className:"font-semibold text-lg",children:"Derived financial overview"}),z("p",{className:"text-muted-foreground",children:[q("code",{className:"rounded bg-background/50 px-2 py-1",children:"pfo.workflow.generate-openbanking-overview"})," ","aggregates balances, category breakdowns, and cashflow trends into the ",q("code",{children:"knowledge.financial-overview"})," space. Only derived summaries are exposed to LLMs."]})]})]}),z("div",{className:"space-y-4",children:[q("h2",{className:"font-bold text-2xl",children:"Telemetry & guardrails"}),z("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[z("li",{children:["Telemetry events such as"," ",q("code",{className:"rounded bg-background/50 px-2 py-1",children:"openbanking.accounts.synced"})," ","and"," ",q("code",{className:"rounded bg-background/50 px-2 py-1",children:"openbanking.transactions.synced"})," ","are emitted automatically with tenant, slot, and config metadata."]}),z("li",{children:["Guard helpers ensure the"," ",q("code",{className:"rounded bg-background/50 px-2 py-1",children:"primaryOpenBanking"})," ","slot is bound and healthy before workflows execute."]}),z("li",{children:["PII fields (IBAN, counterparty names, descriptions) are redacted via"," ",q("code",{className:"rounded bg-background/50 px-2 py-1",children:"redactOpenBankingTelemetryPayload"})," ","before logging or sending telemetry."]})]})]}),z("div",{className:"space-y-4",children:[q("h2",{className:"font-bold text-2xl",children:"Best practices"}),z("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[q("li",{children:"Use BYOK credentials per tenant to avoid cross-tenant exposure."}),q("li",{children:"Store only canonical entities (BankAccountRecord, BankTransactionRecord). Never persist raw Powens payloads or customer PII in logs."}),q("li",{children:"Run the transaction sync on a schedule appropriate for banking SLAs (e.g. every 15 minutes for cashflow dashboards)."}),q("li",{children:"Pair ledger updates with derived summaries to feed the knowledge layer instead of exposing raw transactions to agents."}),z("li",{children:["Monitor telemetry for"," ",q("code",{className:"rounded bg-background/50 px-2 py-1",children:"openbanking.*.sync_failed"})," ","events to detect credential issues early."]})]})]}),z("div",{className:"flex items-center gap-4 pt-4",children:[q(A,{href:"/docs/integrations",className:"btn-ghost",children:"Back to Integrations"}),z(A,{href:"/docs/integrations/stripe",className:"btn-primary",children:["Next: Stripe ",q(B,{size:16})]})]})]})}export{G as IntegrationsPowensPage};
56
+ description: "Current/available balances with timestamps"`})})]}),z("div",{className:"space-y-4",children:[q("h2",{className:"font-bold text-2xl",children:"Primary workflows"}),z("div",{className:"space-y-3",children:[q("h3",{className:"font-semibold text-lg",children:"Account sync"}),z("p",{className:"text-muted-foreground",children:["The workflow"," ",q("code",{className:"rounded bg-background/50 px-2 py-1",children:"pfo.workflow.sync-openbanking-accounts"})," ","refreshes account metadata, then surfaces canonical records to other automations."]})]}),z("div",{className:"space-y-3",children:[q("h3",{className:"font-semibold text-lg",children:"Transaction sync"}),z("p",{className:"text-muted-foreground",children:[q("code",{className:"rounded bg-background/50 px-2 py-1",children:"pfo.workflow.sync-openbanking-transactions"})," ","ingests incremental transactions for each linked account and stores them in the canonical ledger."]})]}),z("div",{className:"space-y-3",children:[q("h3",{className:"font-semibold text-lg",children:"Balance refresh"}),z("p",{className:"text-muted-foreground",children:[q("code",{className:"rounded bg-background/50 px-2 py-1",children:"pfo.workflow.refresh-openbanking-balances"})," ","retrieves current and available balances to power dashboards and anomaly detection."]})]}),z("div",{className:"space-y-3",children:[q("h3",{className:"font-semibold text-lg",children:"Derived financial overview"}),z("p",{className:"text-muted-foreground",children:[q("code",{className:"rounded bg-background/50 px-2 py-1",children:"pfo.workflow.generate-openbanking-overview"})," ","aggregates balances, category breakdowns, and cashflow trends into the ",q("code",{children:"knowledge.financial-overview"})," space. Only derived summaries are exposed to LLMs."]})]})]}),z("div",{className:"space-y-4",children:[q("h2",{className:"font-bold text-2xl",children:"Telemetry & guardrails"}),z("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[z("li",{children:["Telemetry events such as"," ",q("code",{className:"rounded bg-background/50 px-2 py-1",children:"openbanking.accounts.synced"})," ","and"," ",q("code",{className:"rounded bg-background/50 px-2 py-1",children:"openbanking.transactions.synced"})," ","are emitted automatically with tenant, slot, and config metadata."]}),z("li",{children:["Guard helpers ensure the"," ",q("code",{className:"rounded bg-background/50 px-2 py-1",children:"primaryOpenBanking"})," ","slot is bound and healthy before workflows execute."]}),z("li",{children:["PII fields (IBAN, counterparty names, descriptions) are redacted via"," ",q("code",{className:"rounded bg-background/50 px-2 py-1",children:"redactOpenBankingTelemetryPayload"})," ","before logging or sending telemetry."]})]})]}),z("div",{className:"space-y-4",children:[q("h2",{className:"font-bold text-2xl",children:"Best practices"}),z("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[q("li",{children:"Use BYOK credentials per tenant to avoid cross-tenant exposure."}),q("li",{children:"Store only canonical entities (BankAccountRecord, BankTransactionRecord). Never persist raw Powens payloads or customer PII in logs."}),q("li",{children:"Run the transaction sync on a schedule appropriate for banking SLAs (e.g. every 15 minutes for cashflow dashboards)."}),q("li",{children:"Pair ledger updates with derived summaries to feed the knowledge layer instead of exposing raw transactions to agents."}),z("li",{children:["Monitor telemetry for"," ",q("code",{className:"rounded bg-background/50 px-2 py-1",children:"openbanking.*.sync_failed"})," ","events to detect credential issues early."]})]})]}),z("div",{className:"flex items-center gap-4 pt-4",children:[q(E,{href:"/docs/integrations",className:"btn-ghost",children:"Back to Integrations"}),z(E,{href:"/docs/integrations/stripe",className:"btn-primary",children:["Next: Stripe ",q(J,{size:16})]})]})]})}export{U as IntegrationsPowensPage};
@@ -1,7 +1,7 @@
1
- import y from"@contractspec/lib.ui-link";import{ChevronRight as z}from"lucide-react";import{jsx as f,jsxs as q}from"react/jsx-runtime";function F(){return q("div",{className:"space-y-8",children:[q("div",{className:"space-y-4",children:[f("h1",{className:"font-bold text-4xl",children:"Qdrant"}),f("p",{className:"text-muted-foreground",children:"Qdrant is a high-performance vector database for semantic search, recommendations, and RAG (Retrieval-Augmented Generation) applications."})]}),q("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Setup"}),f("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:f("pre",{children:`# .env
1
+ var F=Object.defineProperty;var H=(q)=>q;function I(q,y){this[q]=H.bind(null,y)}var K=(q,y)=>{for(var D in y)F(q,D,{get:y[D],enumerable:!0,configurable:!0,set:I.bind(y,D)})};var M=(q,y)=>()=>(q&&(y=q(q=0)),y);import E from"@contractspec/lib.ui-link";import{ChevronRight as J}from"lucide-react";import{jsx as f,jsxs as z}from"react/jsx-runtime";function T(){return z("div",{className:"space-y-8",children:[z("div",{className:"space-y-4",children:[f("h1",{className:"font-bold text-4xl",children:"Qdrant"}),f("p",{className:"text-muted-foreground",children:"Qdrant is a high-performance vector database for semantic search, recommendations, and RAG (Retrieval-Augmented Generation) applications."})]}),z("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Setup"}),f("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:f("pre",{children:`# .env
2
2
  QDRANT_URL=https://...
3
3
  QDRANT_API_KEY=...
4
- QDRANT_COLLECTION=documents`})})]}),q("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Storing vectors"}),f("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:f("pre",{children:`capabilityId: qdrant-upsert
4
+ QDRANT_COLLECTION=documents`})})]}),z("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Storing vectors"}),f("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:f("pre",{children:`capabilityId: qdrant-upsert
5
5
  provider:
6
6
  type: qdrant
7
7
  operation: upsert
@@ -20,7 +20,7 @@ inputs:
20
20
 
21
21
  outputs:
22
22
  status:
23
- type: string`})})]}),q("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Semantic search"}),f("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:f("pre",{children:`capabilityId: qdrant-search
23
+ type: string`})})]}),z("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Semantic search"}),f("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:f("pre",{children:`capabilityId: qdrant-search
24
24
  provider:
25
25
  type: qdrant
26
26
  operation: search
@@ -44,7 +44,7 @@ outputs:
44
44
  properties:
45
45
  id: string
46
46
  score: number
47
- payload: object`})})]}),q("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"RAG workflow example"}),f("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:f("pre",{children:`workflowId: rag-query
47
+ payload: object`})})]}),z("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"RAG workflow example"}),f("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:f("pre",{children:`workflowId: rag-query
48
48
  version: '1.0.0'.0.0
49
49
 
50
50
  steps:
@@ -69,4 +69,4 @@ steps:
69
69
  - role: "user"
70
70
  content: |
71
71
  Context: \${steps.search-documents.output.results}
72
- Question: \${input.query}`})})]}),q("div",{className:"flex items-center gap-4 pt-4",children:[f(y,{href:"/docs/integrations/elevenlabs",className:"btn-ghost",children:"Previous: ElevenLabs"}),q(y,{href:"/docs/integrations/s3",className:"btn-primary",children:["Next: S3 Storage ",f(z,{size:16})]})]})]})}export{F as IntegrationsQdrantPage};
72
+ Question: \${input.query}`})})]}),z("div",{className:"flex items-center gap-4 pt-4",children:[f(E,{href:"/docs/integrations/elevenlabs",className:"btn-ghost",children:"Previous: ElevenLabs"}),z(E,{href:"/docs/integrations/s3",className:"btn-primary",children:["Next: S3 Storage ",f(J,{size:16})]})]})]})}export{T as IntegrationsQdrantPage};
@@ -1,6 +1,6 @@
1
- import y from"@contractspec/lib.ui-link";import{ChevronRight as z}from"lucide-react";import{jsx as f,jsxs as q}from"react/jsx-runtime";function E(){return q("div",{className:"space-y-8",children:[q("div",{className:"space-y-4",children:[f("h1",{className:"font-bold text-4xl",children:"Resend"}),f("p",{className:"text-muted-foreground",children:"Resend is a modern email API built for developers. It provides a simple, reliable way to send transactional emails with React Email templates."})]}),q("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Setup"}),f("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:f("pre",{children:`# .env
1
+ var E=Object.defineProperty;var F=(q)=>q;function G(q,y){this[q]=F.bind(null,y)}var J=(q,y)=>{for(var B in y)E(q,B,{get:y[B],enumerable:!0,configurable:!0,set:G.bind(y,B)})};var K=(q,y)=>()=>(q&&(y=q(q=0)),y);import D from"@contractspec/lib.ui-link";import{ChevronRight as H}from"lucide-react";import{jsx as f,jsxs as z}from"react/jsx-runtime";function Q(){return z("div",{className:"space-y-8",children:[z("div",{className:"space-y-4",children:[f("h1",{className:"font-bold text-4xl",children:"Resend"}),f("p",{className:"text-muted-foreground",children:"Resend is a modern email API built for developers. It provides a simple, reliable way to send transactional emails with React Email templates."})]}),z("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Setup"}),f("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:f("pre",{children:`# .env
2
2
  RESEND_API_KEY=re_...
3
- RESEND_FROM_EMAIL=onboarding@resend.dev`})})]}),q("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Sending emails"}),f("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:f("pre",{children:`capabilityId: resend-send-email
3
+ RESEND_FROM_EMAIL=onboarding@resend.dev`})})]}),z("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Sending emails"}),f("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:f("pre",{children:`capabilityId: resend-send-email
4
4
  provider:
5
5
  type: resend
6
6
  operation: sendEmail
@@ -21,4 +21,4 @@ inputs:
21
21
 
22
22
  outputs:
23
23
  id:
24
- type: string`})})]}),q("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Best practices"}),q("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[f("li",{children:"Use React Email for type-safe templates"}),f("li",{children:"Verify your domain for better deliverability"}),f("li",{children:"Monitor email analytics in the Resend dashboard"})]})]}),q("div",{className:"flex items-center gap-4 pt-4",children:[f(y,{href:"/docs/integrations/postmark",className:"btn-ghost",children:"Previous: Postmark"}),q(y,{href:"/docs/integrations/gmail",className:"btn-primary",children:["Next: Gmail API ",f(z,{size:16})]})]})]})}export{E as IntegrationsResendPage};
24
+ type: string`})})]}),z("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Best practices"}),z("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[f("li",{children:"Use React Email for type-safe templates"}),f("li",{children:"Verify your domain for better deliverability"}),f("li",{children:"Monitor email analytics in the Resend dashboard"})]})]}),z("div",{className:"flex items-center gap-4 pt-4",children:[f(D,{href:"/docs/integrations/postmark",className:"btn-ghost",children:"Previous: Postmark"}),z(D,{href:"/docs/integrations/gmail",className:"btn-primary",children:["Next: Gmail API ",f(H,{size:16})]})]})]})}export{Q as IntegrationsResendPage};
@@ -1,9 +1,9 @@
1
- import z from"@contractspec/lib.ui-link";import{ChevronRight as A}from"lucide-react";import{jsx as q,jsxs as y}from"react/jsx-runtime";function E(){return y("div",{className:"space-y-8",children:[y("div",{className:"space-y-4",children:[q("h1",{className:"font-bold text-4xl",children:"S3-Compatible Storage"}),q("p",{className:"text-muted-foreground",children:"Store files, images, and documents using any S3-compatible object storage service including AWS S3, Scaleway Object Storage, MinIO, DigitalOcean Spaces, and more."})]}),y("div",{className:"space-y-4",children:[q("h2",{className:"font-bold text-2xl",children:"Setup"}),q("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:q("pre",{children:`# .env
1
+ var E=Object.defineProperty;var F=(y)=>y;function G(y,A){this[y]=F.bind(null,A)}var I=(y,A)=>{for(var B in A)E(y,B,{get:A[B],enumerable:!0,configurable:!0,set:G.bind(A,B)})};var J=(y,A)=>()=>(y&&(A=y(y=0)),A);import D from"@contractspec/lib.ui-link";import{ChevronRight as H}from"lucide-react";import{jsx as q,jsxs as z}from"react/jsx-runtime";function O(){return z("div",{className:"space-y-8",children:[z("div",{className:"space-y-4",children:[q("h1",{className:"font-bold text-4xl",children:"S3-Compatible Storage"}),q("p",{className:"text-muted-foreground",children:"Store files, images, and documents using any S3-compatible object storage service including AWS S3, Scaleway Object Storage, MinIO, DigitalOcean Spaces, and more."})]}),z("div",{className:"space-y-4",children:[q("h2",{className:"font-bold text-2xl",children:"Setup"}),q("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:q("pre",{children:`# .env
2
2
  S3_ENDPOINT=https://s3.fr-par.scw.cloud
3
3
  S3_ACCESS_KEY_ID=...
4
4
  S3_SECRET_ACCESS_KEY=...
5
5
  S3_BUCKET=my-bucket
6
- S3_REGION=fr-par`})})]}),y("div",{className:"space-y-4",children:[q("h2",{className:"font-bold text-2xl",children:"Uploading files"}),q("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:q("pre",{children:`capabilityId: s3-upload
6
+ S3_REGION=fr-par`})})]}),z("div",{className:"space-y-4",children:[q("h2",{className:"font-bold text-2xl",children:"Uploading files"}),q("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:q("pre",{children:`capabilityId: s3-upload
7
7
  provider:
8
8
  type: s3
9
9
  operation: upload
@@ -25,7 +25,7 @@ outputs:
25
25
  url:
26
26
  type: string
27
27
  etag:
28
- type: string`})})]}),y("div",{className:"space-y-4",children:[q("h2",{className:"font-bold text-2xl",children:"Generating presigned URLs"}),q("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:q("pre",{children:`capabilityId: s3-presigned-url
28
+ type: string`})})]}),z("div",{className:"space-y-4",children:[q("h2",{className:"font-bold text-2xl",children:"Generating presigned URLs"}),q("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:q("pre",{children:`capabilityId: s3-presigned-url
29
29
  provider:
30
30
  type: s3
31
31
  operation: getPresignedUrl
@@ -40,4 +40,4 @@ inputs:
40
40
 
41
41
  outputs:
42
42
  url:
43
- type: string`})})]}),y("div",{className:"space-y-4",children:[q("h2",{className:"font-bold text-2xl",children:"Best practices"}),y("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[q("li",{children:"Use presigned URLs for secure, temporary access"}),q("li",{children:"Set appropriate CORS policies for browser uploads"}),q("li",{children:"Enable versioning for important files"}),q("li",{children:"Use lifecycle policies to archive old files"}),q("li",{children:"Organize files with a clear key structure"})]})]}),y("div",{className:"flex items-center gap-4 pt-4",children:[q(z,{href:"/docs/integrations/qdrant",className:"btn-ghost",children:"Previous: Qdrant"}),y(z,{href:"/docs/integrations/twilio",className:"btn-primary",children:["Next: Twilio ",q(A,{size:16})]})]})]})}export{E as IntegrationsS3Page};
43
+ type: string`})})]}),z("div",{className:"space-y-4",children:[q("h2",{className:"font-bold text-2xl",children:"Best practices"}),z("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[q("li",{children:"Use presigned URLs for secure, temporary access"}),q("li",{children:"Set appropriate CORS policies for browser uploads"}),q("li",{children:"Enable versioning for important files"}),q("li",{children:"Use lifecycle policies to archive old files"}),q("li",{children:"Organize files with a clear key structure"})]})]}),z("div",{className:"flex items-center gap-4 pt-4",children:[q(D,{href:"/docs/integrations/qdrant",className:"btn-ghost",children:"Previous: Qdrant"}),z(D,{href:"/docs/integrations/twilio",className:"btn-primary",children:["Next: Twilio ",q(H,{size:16})]})]})]})}export{O as IntegrationsS3Page};
@@ -1,4 +1,4 @@
1
- import t from"@contractspec/lib.ui-link";import{ChevronRight as o}from"lucide-react";import{jsx as e,jsxs as a}from"react/jsx-runtime";function d(){return a("div",{className:"space-y-8",children:[a("div",{className:"space-y-4",children:[e("h1",{className:"font-bold text-4xl",children:"Slack Messaging"}),e("p",{className:"text-muted-foreground",children:"ContractSpec supports signed Slack event ingestion and outbox-backed outbound replies through the channel runtime."})]}),a("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"Required secrets and config"}),e("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:e("pre",{children:`// secret payload
1
+ var d=Object.defineProperty;var r=(t)=>t;function s(t,o){this[t]=r.bind(null,o)}var l=(t,o)=>{for(var i in o)d(t,i,{get:o[i],enumerable:!0,configurable:!0,set:s.bind(o,i)})};var p=(t,o)=>()=>(t&&(o=t(t=0)),o);import n from"@contractspec/lib.ui-link";import{ChevronRight as c}from"lucide-react";import{jsx as e,jsxs as a}from"react/jsx-runtime";function b(){return a("div",{className:"space-y-8",children:[a("div",{className:"space-y-4",children:[e("h1",{className:"font-bold text-4xl",children:"Slack Messaging"}),e("p",{className:"text-muted-foreground",children:"ContractSpec supports signed Slack event ingestion and outbox-backed outbound replies through the channel runtime."})]}),a("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"Required secrets and config"}),e("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:e("pre",{children:`// secret payload
2
2
  {
3
3
  "botToken": "xoxb-...",
4
4
  "signingSecret": "..."
@@ -16,4 +16,4 @@ CHANNEL_DISPATCH_TOKEN=...
16
16
 
17
17
  # Optional scheduler
18
18
  CHANNEL_DISPATCH_INTERVAL_MS=120000
19
- CHANNEL_DISPATCH_RUN_ON_START=1`})})]}),a("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"Best practices"}),a("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[e("li",{children:"Keep bot tokens and signing secrets in a managed secret provider."}),e("li",{children:"Use workspace mapping to prevent cross-tenant event leakage."}),e("li",{children:"Keep dispatch asynchronous so webhook handlers stay fast and reliable."}),e("li",{children:"Monitor telemetry for ingest, decision, outbox, and dispatch stages."})]})]}),a("div",{className:"flex items-center gap-4 pt-4",children:[e(t,{href:"/docs/integrations/twilio",className:"btn-ghost",children:"Previous: Twilio SMS"}),a(t,{href:"/docs/integrations/github",className:"btn-primary",children:["Next: GitHub Messaging ",e(o,{size:16})]})]})]})}export{d as IntegrationsSlackPage};
19
+ CHANNEL_DISPATCH_RUN_ON_START=1`})})]}),a("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"Best practices"}),a("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[e("li",{children:"Keep bot tokens and signing secrets in a managed secret provider."}),e("li",{children:"Use workspace mapping to prevent cross-tenant event leakage."}),e("li",{children:"Keep dispatch asynchronous so webhook handlers stay fast and reliable."}),e("li",{children:"Monitor telemetry for ingest, decision, outbox, and dispatch stages."})]})]}),a("div",{className:"flex items-center gap-4 pt-4",children:[e(n,{href:"/docs/integrations/twilio",className:"btn-ghost",children:"Previous: Twilio SMS"}),a(n,{href:"/docs/integrations/github",className:"btn-primary",children:["Next: GitHub Messaging ",e(c,{size:16})]})]})]})}export{b as IntegrationsSlackPage};
@@ -1,4 +1,4 @@
1
- import w from"@contractspec/lib.ui-link";import{ChevronRight as y}from"lucide-react";import{jsx as f,jsxs as q}from"react/jsx-runtime";function B(){return q("div",{className:"space-y-8",children:[q("div",{className:"space-y-4",children:[f("h1",{className:"font-bold text-4xl",children:"Integration Spec Model"}),f("p",{className:"text-muted-foreground",children:"Integrations in ContractSpec are defined through typed specifications that declare capabilities, configuration requirements, and connection details. This page covers IntegrationSpec and IntegrationConnection."})]}),q("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"IntegrationSpec"}),q("p",{className:"text-muted-foreground",children:["The ",f("strong",{children:"IntegrationSpec"})," is a global definition of an integration provider. It declares what the integration provides and what it requires."]}),f("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:f("pre",{children:`type IntegrationSpec = {
1
+ var B=Object.defineProperty;var D=(w)=>w;function E(w,y){this[w]=D.bind(null,y)}var G=(w,y)=>{for(var z in y)B(w,z,{get:y[z],enumerable:!0,configurable:!0,set:E.bind(y,z)})};var H=(w,y)=>()=>(w&&(y=w(w=0)),y);import A from"@contractspec/lib.ui-link";import{ChevronRight as F}from"lucide-react";import{jsx as f,jsxs as q}from"react/jsx-runtime";function N(){return q("div",{className:"space-y-8",children:[q("div",{className:"space-y-4",children:[f("h1",{className:"font-bold text-4xl",children:"Integration Spec Model"}),f("p",{className:"text-muted-foreground",children:"Integrations in ContractSpec are defined through typed specifications that declare capabilities, configuration requirements, and connection details. This page covers IntegrationSpec and IntegrationConnection."})]}),q("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"IntegrationSpec"}),q("p",{className:"text-muted-foreground",children:["The ",f("strong",{children:"IntegrationSpec"})," is a global definition of an integration provider. It declares what the integration provides and what it requires."]}),f("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:f("pre",{children:`type IntegrationSpec = {
2
2
  id: string;
3
3
  label: string;
4
4
  description: string;
@@ -208,4 +208,4 @@ import w from"@contractspec/lib.ui-link";import{ChevronRight as y}from"lucide-re
208
208
  "clientSecret": "...",
209
209
  "tokenExpiresAt": "2026-02-01T00:00:00.000Z",
210
210
  "mcpAccessToken": "..."
211
- }`})})]}),q("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Health checks"}),f("p",{className:"text-muted-foreground",children:"IntegrationConnections are periodically health-checked to ensure they remain valid:"}),q("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[q("li",{children:[f("strong",{children:"API key validation"})," - Test that credentials are still valid"]}),q("li",{children:[f("strong",{children:"Connectivity check"})," - Verify network access to the provider"]}),q("li",{children:[f("strong",{children:"Permission verification"})," - Ensure required scopes are granted"]}),q("li",{children:[f("strong",{children:"Webhook validation"})," - Test webhook endpoint reachability"]})]}),f("p",{className:"text-muted-foreground",children:'Failed health checks update the connection status to "error" and trigger alerts.'})]}),q("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Secret management"}),f("p",{className:"text-muted-foreground",children:"Secrets (API keys, tokens) are never stored in plaintext:"}),q("ol",{className:"list-inside list-decimal space-y-2 text-muted-foreground",children:[f("li",{children:"User provides secrets through secure UI or API"}),f("li",{children:"Secrets are encrypted using tenant-specific keys"}),f("li",{children:"Encrypted secrets are stored in secure vault (e.g., AWS Secrets Manager)"}),f("li",{children:"IntegrationConnection stores only a reference (secretRef)"}),f("li",{children:"At runtime, secrets are decrypted on-demand and never logged"})]})]}),q("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Best practices"}),q("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[f("li",{children:"Always maintain separate sandbox and production connections"}),f("li",{children:"Use descriptive connection IDs that include tenant and environment"}),f("li",{children:"Monitor health check status and set up alerts for failures"}),f("li",{children:"Rotate secrets regularly and update secretRef accordingly"}),f("li",{children:"Document the purpose and ownership of each connection"}),f("li",{children:"Test connections in sandbox before enabling in production"})]})]}),q("div",{className:"flex items-center gap-4 pt-4",children:[f(w,{href:"/docs/integrations",className:"btn-ghost",children:"Back to Integrations"}),q(w,{href:"/docs/architecture/integration-binding",className:"btn-primary",children:["Integration Binding ",f(y,{size:16})]})]})]})}export{B as IntegrationsSpecModelPage};
211
+ }`})})]}),q("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Health checks"}),f("p",{className:"text-muted-foreground",children:"IntegrationConnections are periodically health-checked to ensure they remain valid:"}),q("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[q("li",{children:[f("strong",{children:"API key validation"})," - Test that credentials are still valid"]}),q("li",{children:[f("strong",{children:"Connectivity check"})," - Verify network access to the provider"]}),q("li",{children:[f("strong",{children:"Permission verification"})," - Ensure required scopes are granted"]}),q("li",{children:[f("strong",{children:"Webhook validation"})," - Test webhook endpoint reachability"]})]}),f("p",{className:"text-muted-foreground",children:'Failed health checks update the connection status to "error" and trigger alerts.'})]}),q("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Secret management"}),f("p",{className:"text-muted-foreground",children:"Secrets (API keys, tokens) are never stored in plaintext:"}),q("ol",{className:"list-inside list-decimal space-y-2 text-muted-foreground",children:[f("li",{children:"User provides secrets through secure UI or API"}),f("li",{children:"Secrets are encrypted using tenant-specific keys"}),f("li",{children:"Encrypted secrets are stored in secure vault (e.g., AWS Secrets Manager)"}),f("li",{children:"IntegrationConnection stores only a reference (secretRef)"}),f("li",{children:"At runtime, secrets are decrypted on-demand and never logged"})]})]}),q("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Best practices"}),q("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[f("li",{children:"Always maintain separate sandbox and production connections"}),f("li",{children:"Use descriptive connection IDs that include tenant and environment"}),f("li",{children:"Monitor health check status and set up alerts for failures"}),f("li",{children:"Rotate secrets regularly and update secretRef accordingly"}),f("li",{children:"Document the purpose and ownership of each connection"}),f("li",{children:"Test connections in sandbox before enabling in production"})]})]}),q("div",{className:"flex items-center gap-4 pt-4",children:[f(A,{href:"/docs/integrations",className:"btn-ghost",children:"Back to Integrations"}),q(A,{href:"/docs/architecture/integration-binding",className:"btn-primary",children:["Integration Binding ",f(F,{size:16})]})]})]})}export{N as IntegrationsSpecModelPage};
@@ -1,4 +1,4 @@
1
- import z from"@contractspec/lib.ui-link";import{ChevronRight as B}from"lucide-react";import{jsx as f,jsxs as q}from"react/jsx-runtime";function F(){return q("div",{className:"space-y-8",children:[q("div",{className:"space-y-4",children:[f("h1",{className:"font-bold text-4xl",children:"Stripe"}),f("p",{className:"text-muted-foreground",children:"The Stripe integration enables payment processing, subscription management, and invoicing in your ContractSpec applications. All Stripe operations are type-safe, policy-enforced, and automatically logged."})]}),q("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Setup"}),f("p",{className:"text-muted-foreground",children:"Add your Stripe credentials to your environment variables:"}),f("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:f("pre",{children:`# .env
1
+ var F=Object.defineProperty;var G=(z)=>z;function H(z,B){this[z]=G.bind(null,B)}var J=(z,B)=>{for(var D in B)F(z,D,{get:B[D],enumerable:!0,configurable:!0,set:H.bind(B,D)})};var K=(z,B)=>()=>(z&&(B=z(z=0)),B);import E from"@contractspec/lib.ui-link";import{ChevronRight as I}from"lucide-react";import{jsx as f,jsxs as q}from"react/jsx-runtime";function P(){return q("div",{className:"space-y-8",children:[q("div",{className:"space-y-4",children:[f("h1",{className:"font-bold text-4xl",children:"Stripe"}),f("p",{className:"text-muted-foreground",children:"The Stripe integration enables payment processing, subscription management, and invoicing in your ContractSpec applications. All Stripe operations are type-safe, policy-enforced, and automatically logged."})]}),q("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Setup"}),f("p",{className:"text-muted-foreground",children:"Add your Stripe credentials to your environment variables:"}),f("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:f("pre",{children:`# .env
2
2
  STRIPE_SECRET_KEY=sk_test_...
3
3
  STRIPE_PUBLISHABLE_KEY=pk_test_...
4
4
  STRIPE_WEBHOOK_SECRET=whsec_...`})}),q("p",{className:"text-muted-foreground text-sm",children:["Get your API keys from the"," ",f("a",{href:"https://dashboard.stripe.com/apikeys",target:"_blank",rel:"noopener noreferrer",className:"text-violet-400 hover:text-violet-300",children:"Stripe Dashboard"}),"."]})]}),q("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Available capabilities"}),q("div",{className:"space-y-3",children:[f("h3",{className:"font-semibold text-lg",children:"Payment Intents"}),f("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:f("pre",{children:`capabilityId: stripe-create-payment-intent
@@ -101,4 +101,4 @@ steps:
101
101
  to: "admin@example.com"
102
102
  template: "payment-error"
103
103
  data:
104
- error: \${error.message}`})})]}),q("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Testing"}),f("p",{className:"text-muted-foreground",children:"Use Stripe's test cards for development:"}),f("div",{className:"overflow-x-auto rounded-lg border border-border/50",children:q("table",{className:"w-full text-left text-sm",children:[f("thead",{className:"bg-card/50",children:q("tr",{className:"border-border/50 border-b",children:[f("th",{className:"px-4 py-3 font-semibold",children:"Card Number"}),f("th",{className:"px-4 py-3 font-semibold",children:"Scenario"})]})}),q("tbody",{className:"divide-y divide-border/50",children:[q("tr",{children:[f("td",{className:"px-4 py-3 font-mono",children:"4242 4242 4242 4242"}),f("td",{className:"px-4 py-3",children:"Successful payment"})]}),q("tr",{children:[f("td",{className:"px-4 py-3 font-mono",children:"4000 0000 0000 9995"}),f("td",{className:"px-4 py-3",children:"Insufficient funds"})]}),q("tr",{children:[f("td",{className:"px-4 py-3 font-mono",children:"4000 0000 0000 0002"}),f("td",{className:"px-4 py-3",children:"Card declined"})]})]})]})})]}),q("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Best practices"}),q("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[f("li",{children:"Always use test mode during development"}),f("li",{children:"Verify webhook signatures to prevent fraud"}),f("li",{children:"Handle idempotency for payment operations"}),f("li",{children:"Store customer IDs for recurring payments"}),f("li",{children:"Use metadata to link Stripe objects to your application records"}),f("li",{children:"Monitor failed payments and retry logic"})]})]}),q("div",{className:"flex items-center gap-4 pt-4",children:[f(z,{href:"/docs/integrations",className:"btn-ghost",children:"Back to Integrations"}),q(z,{href:"/docs/integrations/postmark",className:"btn-primary",children:["Next: Postmark ",f(B,{size:16})]})]})]})}export{F as IntegrationsStripePage};
104
+ error: \${error.message}`})})]}),q("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Testing"}),f("p",{className:"text-muted-foreground",children:"Use Stripe's test cards for development:"}),f("div",{className:"overflow-x-auto rounded-lg border border-border/50",children:q("table",{className:"w-full text-left text-sm",children:[f("thead",{className:"bg-card/50",children:q("tr",{className:"border-border/50 border-b",children:[f("th",{className:"px-4 py-3 font-semibold",children:"Card Number"}),f("th",{className:"px-4 py-3 font-semibold",children:"Scenario"})]})}),q("tbody",{className:"divide-y divide-border/50",children:[q("tr",{children:[f("td",{className:"px-4 py-3 font-mono",children:"4242 4242 4242 4242"}),f("td",{className:"px-4 py-3",children:"Successful payment"})]}),q("tr",{children:[f("td",{className:"px-4 py-3 font-mono",children:"4000 0000 0000 9995"}),f("td",{className:"px-4 py-3",children:"Insufficient funds"})]}),q("tr",{children:[f("td",{className:"px-4 py-3 font-mono",children:"4000 0000 0000 0002"}),f("td",{className:"px-4 py-3",children:"Card declined"})]})]})]})})]}),q("div",{className:"space-y-4",children:[f("h2",{className:"font-bold text-2xl",children:"Best practices"}),q("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[f("li",{children:"Always use test mode during development"}),f("li",{children:"Verify webhook signatures to prevent fraud"}),f("li",{children:"Handle idempotency for payment operations"}),f("li",{children:"Store customer IDs for recurring payments"}),f("li",{children:"Use metadata to link Stripe objects to your application records"}),f("li",{children:"Monitor failed payments and retry logic"})]})]}),q("div",{className:"flex items-center gap-4 pt-4",children:[f(E,{href:"/docs/integrations",className:"btn-ghost",children:"Back to Integrations"}),q(E,{href:"/docs/integrations/postmark",className:"btn-primary",children:["Next: Postmark ",f(I,{size:16})]})]})]})}export{P as IntegrationsStripePage};
@@ -1,7 +1,7 @@
1
- import y from"@contractspec/lib.ui-link";import{jsx as q,jsxs as v}from"react/jsx-runtime";function A(){return v("div",{className:"space-y-8",children:[v("div",{className:"space-y-4",children:[q("h1",{className:"font-bold text-4xl",children:"Twilio"}),q("p",{className:"text-muted-foreground",children:"Send SMS notifications, alerts, and two-factor authentication codes using Twilio's reliable messaging platform."})]}),v("div",{className:"space-y-4",children:[q("h2",{className:"font-bold text-2xl",children:"Setup"}),q("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:q("pre",{children:`# .env
1
+ var D=Object.defineProperty;var E=(v)=>v;function F(v,z){this[v]=E.bind(null,z)}var G=(v,z)=>{for(var A in z)D(v,A,{get:z[A],enumerable:!0,configurable:!0,set:F.bind(z,A)})};var H=(v,z)=>()=>(v&&(z=v(v=0)),z);import B from"@contractspec/lib.ui-link";import{jsx as q,jsxs as y}from"react/jsx-runtime";function K(){return y("div",{className:"space-y-8",children:[y("div",{className:"space-y-4",children:[q("h1",{className:"font-bold text-4xl",children:"Twilio"}),q("p",{className:"text-muted-foreground",children:"Send SMS notifications, alerts, and two-factor authentication codes using Twilio's reliable messaging platform."})]}),y("div",{className:"space-y-4",children:[q("h2",{className:"font-bold text-2xl",children:"Setup"}),q("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:q("pre",{children:`# .env
2
2
  TWILIO_ACCOUNT_SID=...
3
3
  TWILIO_AUTH_TOKEN=...
4
- TWILIO_PHONE_NUMBER=+1234567890`})})]}),v("div",{className:"space-y-4",children:[q("h2",{className:"font-bold text-2xl",children:"Sending SMS"}),q("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:q("pre",{children:`capabilityId: twilio-send-sms
4
+ TWILIO_PHONE_NUMBER=+1234567890`})})]}),y("div",{className:"space-y-4",children:[q("h2",{className:"font-bold text-2xl",children:"Sending SMS"}),q("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:q("pre",{children:`capabilityId: twilio-send-sms
5
5
  provider:
6
6
  type: twilio
7
7
  operation: sendSMS
@@ -18,4 +18,4 @@ outputs:
18
18
  messageSid:
19
19
  type: string
20
20
  status:
21
- type: string`})})]}),v("div",{className:"space-y-4",children:[q("h2",{className:"font-bold text-2xl",children:"Use cases"}),v("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[q("li",{children:"Order confirmations and shipping updates"}),q("li",{children:"Two-factor authentication codes"}),q("li",{children:"Appointment reminders"}),q("li",{children:"Alert notifications"})]})]}),v("div",{className:"space-y-4",children:[q("h2",{className:"font-bold text-2xl",children:"Best practices"}),v("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[q("li",{children:"Always use E.164 format for phone numbers (+1234567890)"}),q("li",{children:"Keep messages under 160 characters to avoid splitting"}),q("li",{children:"Implement rate limiting to prevent spam"}),q("li",{children:"Handle delivery failures gracefully"}),q("li",{children:"Respect opt-out requests"})]})]}),v("div",{className:"flex items-center gap-4 pt-4",children:[q(y,{href:"/docs/integrations/s3",className:"btn-ghost",children:"Previous: S3 Storage"}),q(y,{href:"/docs/integrations/slack",className:"btn-primary",children:"Next: Slack Messaging"})]})]})}export{A as IntegrationsTwilioPage};
21
+ type: string`})})]}),y("div",{className:"space-y-4",children:[q("h2",{className:"font-bold text-2xl",children:"Use cases"}),y("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[q("li",{children:"Order confirmations and shipping updates"}),q("li",{children:"Two-factor authentication codes"}),q("li",{children:"Appointment reminders"}),q("li",{children:"Alert notifications"})]})]}),y("div",{className:"space-y-4",children:[q("h2",{className:"font-bold text-2xl",children:"Best practices"}),y("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[q("li",{children:"Always use E.164 format for phone numbers (+1234567890)"}),q("li",{children:"Keep messages under 160 characters to avoid splitting"}),q("li",{children:"Implement rate limiting to prevent spam"}),q("li",{children:"Handle delivery failures gracefully"}),q("li",{children:"Respect opt-out requests"})]})]}),y("div",{className:"flex items-center gap-4 pt-4",children:[q(B,{href:"/docs/integrations/s3",className:"btn-ghost",children:"Previous: S3 Storage"}),q(B,{href:"/docs/integrations/slack",className:"btn-primary",children:"Next: Slack Messaging"})]})]})}export{K as IntegrationsTwilioPage};
@@ -1,4 +1,4 @@
1
- import o from"@contractspec/lib.ui-link";import{ChevronRight as t}from"lucide-react";import{jsx as e,jsxs as a}from"react/jsx-runtime";function d(){return a("div",{className:"space-y-8",children:[a("div",{className:"space-y-4",children:[e("h1",{className:"font-bold text-4xl",children:"WhatsApp Meta"}),e("p",{className:"text-muted-foreground",children:"Meta WhatsApp is the primary WhatsApp channel for ContractSpec's messaging runtime, with signed webhook verification and reliable outbound delivery."})]}),a("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"Required secrets and config"}),e("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:e("pre",{children:`// secret payload
1
+ var d=Object.defineProperty;var n=(o)=>o;function c(o,t){this[o]=n.bind(null,t)}var l=(o,t)=>{for(var i in t)d(o,i,{get:t[i],enumerable:!0,configurable:!0,set:c.bind(t,i)})};var p=(o,t)=>()=>(o&&(t=o(o=0)),t);import r from"@contractspec/lib.ui-link";import{ChevronRight as s}from"lucide-react";import{jsx as e,jsxs as a}from"react/jsx-runtime";function h(){return a("div",{className:"space-y-8",children:[a("div",{className:"space-y-4",children:[e("h1",{className:"font-bold text-4xl",children:"WhatsApp Meta"}),e("p",{className:"text-muted-foreground",children:"Meta WhatsApp is the primary WhatsApp channel for ContractSpec's messaging runtime, with signed webhook verification and reliable outbound delivery."})]}),a("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"Required secrets and config"}),e("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:e("pre",{children:`// secret payload
2
2
  {
3
3
  "accessToken": "...",
4
4
  "appSecret": "...",
@@ -9,4 +9,4 @@ import o from"@contractspec/lib.ui-link";import{ChevronRight as t}from"lucide-re
9
9
  {
10
10
  "phoneNumberId": "120000000001",
11
11
  "apiVersion": "v22.0"
12
- }`})})]}),a("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"Webhook endpoints"}),a("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[a("li",{children:["Verification challenge:"," ",e("code",{className:"rounded bg-background/50 px-2 py-1",children:"GET /webhooks/whatsapp/meta"})]}),a("li",{children:["Inbound messages:"," ",e("code",{className:"rounded bg-background/50 px-2 py-1",children:"POST /webhooks/whatsapp/meta"})]}),a("li",{children:["Signatures are validated with"," ",e("code",{className:"rounded bg-background/50 px-2 py-1",children:"x-hub-signature-256"}),"."]})]})]}),a("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"Workspace mapping"}),e("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:e("pre",{children:'CHANNEL_WORKSPACE_MAP_WHATSAPP_META={"120000000001":"workspace-acme"}'})})]}),a("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"Best practices"}),a("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[e("li",{children:"Keep verify and app secrets separate from access tokens."}),e("li",{children:"Map each phone number ID to a workspace for strict tenant routing."}),e("li",{children:"Use Twilio WhatsApp only as fallback when you need active-passive routing."})]})]}),a("div",{className:"flex items-center gap-4 pt-4",children:[e(o,{href:"/docs/integrations/github",className:"btn-ghost",children:"Previous: GitHub Messaging"}),a(o,{href:"/docs/integrations/whatsapp-twilio",className:"btn-primary",children:["Next: WhatsApp Twilio ",e(t,{size:16})]})]})]})}export{d as IntegrationsWhatsappMetaPage};
12
+ }`})})]}),a("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"Webhook endpoints"}),a("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[a("li",{children:["Verification challenge:"," ",e("code",{className:"rounded bg-background/50 px-2 py-1",children:"GET /webhooks/whatsapp/meta"})]}),a("li",{children:["Inbound messages:"," ",e("code",{className:"rounded bg-background/50 px-2 py-1",children:"POST /webhooks/whatsapp/meta"})]}),a("li",{children:["Signatures are validated with"," ",e("code",{className:"rounded bg-background/50 px-2 py-1",children:"x-hub-signature-256"}),"."]})]})]}),a("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"Workspace mapping"}),e("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:e("pre",{children:'CHANNEL_WORKSPACE_MAP_WHATSAPP_META={"120000000001":"workspace-acme"}'})})]}),a("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"Best practices"}),a("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[e("li",{children:"Keep verify and app secrets separate from access tokens."}),e("li",{children:"Map each phone number ID to a workspace for strict tenant routing."}),e("li",{children:"Use Twilio WhatsApp only as fallback when you need active-passive routing."})]})]}),a("div",{className:"flex items-center gap-4 pt-4",children:[e(r,{href:"/docs/integrations/github",className:"btn-ghost",children:"Previous: GitHub Messaging"}),a(r,{href:"/docs/integrations/whatsapp-twilio",className:"btn-primary",children:["Next: WhatsApp Twilio ",e(s,{size:16})]})]})]})}export{h as IntegrationsWhatsappMetaPage};
@@ -1,4 +1,4 @@
1
- import o from"@contractspec/lib.ui-link";import{ChevronRight as t}from"lucide-react";import{jsx as e,jsxs as a}from"react/jsx-runtime";function r(){return a("div",{className:"space-y-8",children:[a("div",{className:"space-y-4",children:[e("h1",{className:"font-bold text-4xl",children:"WhatsApp Twilio"}),e("p",{className:"text-muted-foreground",children:"Twilio WhatsApp support provides a durable fallback channel with signature verification and outbox-backed outbound dispatch."})]}),a("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"Required secrets and config"}),e("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:e("pre",{children:`// secret payload
1
+ var r=Object.defineProperty;var n=(o)=>o;function c(o,t){this[o]=n.bind(null,t)}var p=(o,t)=>{for(var i in t)r(o,i,{get:t[i],enumerable:!0,configurable:!0,set:c.bind(t,i)})};var s=(o,t)=>()=>(o&&(t=o(o=0)),t);import d from"@contractspec/lib.ui-link";import{ChevronRight as l}from"lucide-react";import{jsx as e,jsxs as a}from"react/jsx-runtime";function g(){return a("div",{className:"space-y-8",children:[a("div",{className:"space-y-4",children:[e("h1",{className:"font-bold text-4xl",children:"WhatsApp Twilio"}),e("p",{className:"text-muted-foreground",children:"Twilio WhatsApp support provides a durable fallback channel with signature verification and outbox-backed outbound dispatch."})]}),a("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"Required secrets and config"}),e("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:e("pre",{children:`// secret payload
2
2
  {
3
3
  "accountSid": "AC123",
4
4
  "authToken": "..."
@@ -7,4 +7,4 @@ import o from"@contractspec/lib.ui-link";import{ChevronRight as t}from"lucide-re
7
7
  // optional connection config
8
8
  {
9
9
  "fromNumber": "whatsapp:+15550002"
10
- }`})})]}),a("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"Webhook ingress"}),a("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[a("li",{children:["Inbound Twilio form payloads are accepted on"," ",e("code",{className:"rounded bg-background/50 px-2 py-1",children:"/webhooks/whatsapp/twilio"}),"."]}),a("li",{children:["Signatures are validated with"," ",e("code",{className:"rounded bg-background/50 px-2 py-1",children:"x-twilio-signature"})," ","and the configured auth token."]}),a("li",{children:["For deterministic verification, set the exact public webhook URL in"," ",e("code",{className:"rounded bg-background/50 px-2 py-1",children:"WHATSAPP_TWILIO_WEBHOOK_URL"}),"."]})]})]}),a("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"Workspace mapping"}),e("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:e("pre",{children:'CHANNEL_WORKSPACE_MAP_WHATSAPP_TWILIO={"AC123":"workspace-acme"}'})})]}),a("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"Best practices"}),a("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[e("li",{children:"Use Twilio as fallback when Meta WhatsApp is your primary route."}),e("li",{children:"Keep account SID mapping explicit to avoid tenant misrouting."}),a("li",{children:["Protect internal dispatch endpoints with",e("code",{className:"ml-1 rounded bg-background/50 px-2 py-1",children:"CHANNEL_DISPATCH_TOKEN"}),"."]})]})]}),a("div",{className:"flex items-center gap-4 pt-4",children:[e(o,{href:"/docs/integrations/whatsapp-meta",className:"btn-ghost",children:"Previous: WhatsApp Meta"}),a(o,{href:"/docs/integrations/health-routing",className:"btn-primary",children:["Next: Health Routing ",e(t,{size:16})]})]})]})}export{r as IntegrationsWhatsappTwilioPage};
10
+ }`})})]}),a("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"Webhook ingress"}),a("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[a("li",{children:["Inbound Twilio form payloads are accepted on"," ",e("code",{className:"rounded bg-background/50 px-2 py-1",children:"/webhooks/whatsapp/twilio"}),"."]}),a("li",{children:["Signatures are validated with"," ",e("code",{className:"rounded bg-background/50 px-2 py-1",children:"x-twilio-signature"})," ","and the configured auth token."]}),a("li",{children:["For deterministic verification, set the exact public webhook URL in"," ",e("code",{className:"rounded bg-background/50 px-2 py-1",children:"WHATSAPP_TWILIO_WEBHOOK_URL"}),"."]})]})]}),a("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"Workspace mapping"}),e("div",{className:"overflow-x-auto rounded-lg border border-border bg-background/50 p-4 font-mono text-muted-foreground text-sm",children:e("pre",{children:'CHANNEL_WORKSPACE_MAP_WHATSAPP_TWILIO={"AC123":"workspace-acme"}'})})]}),a("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"Best practices"}),a("ul",{className:"list-inside list-disc space-y-2 text-muted-foreground",children:[e("li",{children:"Use Twilio as fallback when Meta WhatsApp is your primary route."}),e("li",{children:"Keep account SID mapping explicit to avoid tenant misrouting."}),a("li",{children:["Protect internal dispatch endpoints with",e("code",{className:"ml-1 rounded bg-background/50 px-2 py-1",children:"CHANNEL_DISPATCH_TOKEN"}),"."]})]})]}),a("div",{className:"flex items-center gap-4 pt-4",children:[e(d,{href:"/docs/integrations/whatsapp-meta",className:"btn-ghost",children:"Previous: WhatsApp Meta"}),a(d,{href:"/docs/integrations/health-routing",className:"btn-primary",children:["Next: Health Routing ",e(l,{size:16})]})]})]})}export{g as IntegrationsWhatsappTwilioPage};