@contractspec/bundle.library 3.7.6 → 3.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (900) hide show
  1. package/.turbo/turbo-build.log +258 -252
  2. package/AGENTS.md +42 -24
  3. package/CHANGELOG.md +56 -0
  4. package/README.md +59 -37
  5. package/dist/application/index.d.ts +1 -1
  6. package/dist/application/index.js +842 -840
  7. package/dist/application/mcp/cliMcp.js +30 -30
  8. package/dist/application/mcp/common.d.ts +2 -2
  9. package/dist/application/mcp/common.js +2 -2
  10. package/dist/application/mcp/contractsMcp.d.ts +1 -1
  11. package/dist/application/mcp/contractsMcp.js +163 -163
  12. package/dist/application/mcp/docsMcp.js +31 -31
  13. package/dist/application/mcp/index.d.ts +2 -2
  14. package/dist/application/mcp/index.js +842 -840
  15. package/dist/application/mcp/internalMcp.js +30 -30
  16. package/dist/application/mcp/providerRankingMcp.js +35 -33
  17. package/dist/components/docs/DocsIndexPage.js +859 -212
  18. package/dist/components/docs/advanced/AdvancedMCPPage.js +15 -15
  19. package/dist/components/docs/advanced/AdvancedOverlayEditorPage.js +4 -4
  20. package/dist/components/docs/advanced/AdvancedRenderersPage.js +7 -7
  21. package/dist/components/docs/advanced/AdvancedSpecExperimentsPage.js +9 -9
  22. package/dist/components/docs/advanced/AdvancedTelemetryPage.js +16 -16
  23. package/dist/components/docs/advanced/AdvancedWorkflowMonitoringPage.js +6 -6
  24. package/dist/components/docs/advanced/index.d.ts +2 -2
  25. package/dist/components/docs/advanced/index.js +57 -57
  26. package/dist/components/docs/architecture/ArchitectureAppConfigPage.js +10 -10
  27. package/dist/components/docs/architecture/ArchitectureControlPlanePage.js +8 -8
  28. package/dist/components/docs/architecture/ArchitectureIntegrationBindingPage.js +14 -14
  29. package/dist/components/docs/architecture/ArchitectureKnowledgeBindingPage.js +16 -16
  30. package/dist/components/docs/architecture/ArchitectureMultiTenancyPage.js +7 -7
  31. package/dist/components/docs/architecture/ArchitectureOverviewPage.js +90 -411
  32. package/dist/components/docs/architecture/index.d.ts +3 -3
  33. package/dist/components/docs/architecture/index.js +145 -466
  34. package/dist/components/docs/comparison/ComparisonAutomationPlatformsPage.js +6 -6
  35. package/dist/components/docs/comparison/ComparisonEnterprisePlatformsPage.js +7 -7
  36. package/dist/components/docs/comparison/ComparisonInternalToolBuildersPage.js +6 -6
  37. package/dist/components/docs/comparison/ComparisonOverviewPage.js +4 -4
  38. package/dist/components/docs/comparison/ComparisonWindmillPage.js +6 -6
  39. package/dist/components/docs/comparison/ComparisonWorkflowEnginesPage.js +6 -6
  40. package/dist/components/docs/comparison/index.d.ts +2 -2
  41. package/dist/components/docs/comparison/index.js +35 -35
  42. package/dist/components/docs/docsManifest.d.ts +42 -0
  43. package/dist/components/docs/docsManifest.js +612 -0
  44. package/dist/components/docs/ecosystem/IntegrationsPage.js +5 -5
  45. package/dist/components/docs/ecosystem/PluginsPage.js +7 -7
  46. package/dist/components/docs/ecosystem/RegistryPage.js +4 -4
  47. package/dist/components/docs/ecosystem/TemplatesPage.js +11 -11
  48. package/dist/components/docs/ecosystem/index.d.ts +2 -2
  49. package/dist/components/docs/ecosystem/index.js +27 -27
  50. package/dist/components/docs/examples/DocsExamplesPage.js +59 -6
  51. package/dist/components/docs/examples/ExampleShowcasePage.d.ts +5 -0
  52. package/dist/components/docs/examples/ExampleShowcasePage.js +258 -0
  53. package/dist/components/docs/examples/exampleShowcaseData.d.ts +10 -0
  54. package/dist/components/docs/examples/exampleShowcaseData.js +53 -0
  55. package/dist/components/docs/examples/index.d.ts +1 -0
  56. package/dist/components/docs/examples/index.js +265 -6
  57. package/dist/components/docs/getting-started/CLIPage.js +9 -9
  58. package/dist/components/docs/getting-started/CompatibilityPage.js +12 -12
  59. package/dist/components/docs/getting-started/DataViewTutorialPage.js +7 -7
  60. package/dist/components/docs/getting-started/DeveloperToolsPage.js +10 -10
  61. package/dist/components/docs/getting-started/HelloWorldPage.js +8 -8
  62. package/dist/components/docs/getting-started/InstallationPage.js +10 -10
  63. package/dist/components/docs/getting-started/StartHerePage.js +8 -8
  64. package/dist/components/docs/getting-started/TroubleshootingPage.js +12 -12
  65. package/dist/components/docs/getting-started/VSCodeExtensionPage.js +13 -13
  66. package/dist/components/docs/getting-started/index.d.ts +5 -5
  67. package/dist/components/docs/getting-started/index.js +89 -89
  68. package/dist/components/docs/guides/GuideCIDiffGatingPage.js +13 -13
  69. package/dist/components/docs/guides/GuideContractTypesPage.js +33 -33
  70. package/dist/components/docs/guides/GuideDocsPipelinePage.js +13 -13
  71. package/dist/components/docs/guides/GuideGenerateDocsClientsSchemasPage.js +13 -13
  72. package/dist/components/docs/guides/GuideImportExistingCodebasesPage.js +35 -35
  73. package/dist/components/docs/guides/GuideNextjsOneEndpointPage.js +15 -15
  74. package/dist/components/docs/guides/GuideSpecValidationTypingPage.js +13 -13
  75. package/dist/components/docs/guides/GuidesIndexPage.js +69 -46
  76. package/dist/components/docs/guides/index.d.ts +4 -4
  77. package/dist/components/docs/guides/index.js +174 -151
  78. package/dist/components/docs/index.d.ts +13 -12
  79. package/dist/components/docs/index.js +15220 -16233
  80. package/dist/components/docs/integrations/IntegrationsCircuitBreakersPage.js +4 -4
  81. package/dist/components/docs/integrations/IntegrationsElevenLabsPage.js +7 -7
  82. package/dist/components/docs/integrations/IntegrationsGithubPage.js +11 -11
  83. package/dist/components/docs/integrations/IntegrationsGmailPage.js +7 -7
  84. package/dist/components/docs/integrations/IntegrationsGoogleCalendarPage.js +5 -5
  85. package/dist/components/docs/integrations/IntegrationsHealthRoutingPage.js +12 -12
  86. package/dist/components/docs/integrations/IntegrationsMistralPage.js +12 -12
  87. package/dist/components/docs/integrations/IntegrationsOpenAIPage.js +11 -11
  88. package/dist/components/docs/integrations/IntegrationsOverviewPage.js +119 -736
  89. package/dist/components/docs/integrations/IntegrationsPostmarkPage.js +12 -12
  90. package/dist/components/docs/integrations/IntegrationsPowensPage.js +24 -24
  91. package/dist/components/docs/integrations/IntegrationsQdrantPage.js +9 -9
  92. package/dist/components/docs/integrations/IntegrationsResendPage.js +7 -7
  93. package/dist/components/docs/integrations/IntegrationsS3Page.js +9 -9
  94. package/dist/components/docs/integrations/IntegrationsSlackPage.js +11 -11
  95. package/dist/components/docs/integrations/IntegrationsSpecModelPage.js +19 -19
  96. package/dist/components/docs/integrations/IntegrationsStripePage.js +25 -25
  97. package/dist/components/docs/integrations/IntegrationsTwilioPage.js +9 -9
  98. package/dist/components/docs/integrations/IntegrationsWhatsappMetaPage.js +12 -12
  99. package/dist/components/docs/integrations/IntegrationsWhatsappTwilioPage.js +13 -13
  100. package/dist/components/docs/integrations/index.d.ts +1 -1
  101. package/dist/components/docs/integrations/index.js +614 -1231
  102. package/dist/components/docs/intent/ContractFirstApiPage.js +8 -8
  103. package/dist/components/docs/intent/DeterministicCodegenPage.js +9 -9
  104. package/dist/components/docs/intent/GenerateClientFromSchemaPage.js +13 -13
  105. package/dist/components/docs/intent/OpenapiAlternativePage.js +13 -13
  106. package/dist/components/docs/intent/SchemaValidationTypescriptPage.js +9 -9
  107. package/dist/components/docs/intent/SpecDrivenDevelopmentPage.js +8 -8
  108. package/dist/components/docs/intent/index.d.ts +3 -3
  109. package/dist/components/docs/intent/index.js +766 -766
  110. package/dist/components/docs/knowledge/KnowledgeCategoriesPage.js +38 -38
  111. package/dist/components/docs/knowledge/KnowledgeExamplesPage.js +9 -9
  112. package/dist/components/docs/knowledge/KnowledgeOverviewPage.js +91 -439
  113. package/dist/components/docs/knowledge/KnowledgeSourcesPage.js +28 -28
  114. package/dist/components/docs/knowledge/KnowledgeSpacesPage.js +21 -21
  115. package/dist/components/docs/knowledge/index.d.ts +1 -1
  116. package/dist/components/docs/knowledge/index.js +437 -785
  117. package/dist/components/docs/libraries/LibrariesAccessibilityPage.js +16 -16
  118. package/dist/components/docs/libraries/LibrariesAiAgentPage.js +8 -8
  119. package/dist/components/docs/libraries/LibrariesAnalyticsPage.js +6 -6
  120. package/dist/components/docs/libraries/LibrariesContentGenPage.js +6 -6
  121. package/dist/components/docs/libraries/LibrariesContractsPage.js +16 -16
  122. package/dist/components/docs/libraries/LibrariesCostTrackingPage.js +6 -6
  123. package/dist/components/docs/libraries/LibrariesDataBackendPage.js +14 -14
  124. package/dist/components/docs/libraries/LibrariesDataViewsPage.js +7 -7
  125. package/dist/components/docs/libraries/LibrariesDesignSystemPage.js +13 -13
  126. package/dist/components/docs/libraries/LibrariesEvolutionPage.js +7 -7
  127. package/dist/components/docs/libraries/LibrariesGraphQLPage.js +13 -13
  128. package/dist/components/docs/libraries/LibrariesGrowthPage.js +5 -5
  129. package/dist/components/docs/libraries/LibrariesMultiTenancyPage.js +5 -5
  130. package/dist/components/docs/libraries/LibrariesObservabilityPage.js +7 -7
  131. package/dist/components/docs/libraries/LibrariesOverlayEnginePage.js +6 -6
  132. package/dist/components/docs/libraries/LibrariesOverviewPage.js +117 -430
  133. package/dist/components/docs/libraries/LibrariesPersonalizationPage.js +6 -6
  134. package/dist/components/docs/libraries/LibrariesProgressiveDeliveryPage.js +6 -6
  135. package/dist/components/docs/libraries/LibrariesResiliencePage.js +6 -6
  136. package/dist/components/docs/libraries/LibrariesRuntimePage.js +13 -13
  137. package/dist/components/docs/libraries/LibrariesSLOPage.js +6 -6
  138. package/dist/components/docs/libraries/LibrariesSchemaPage.js +16 -16
  139. package/dist/components/docs/libraries/LibrariesSupportBotPage.js +7 -7
  140. package/dist/components/docs/libraries/LibrariesTestingPage.js +7 -7
  141. package/dist/components/docs/libraries/LibrariesUIKitPage.js +10 -10
  142. package/dist/components/docs/libraries/LibrariesWorkflowComposerPage.js +5 -5
  143. package/dist/components/docs/libraries/LibrariesWorkflowsPage.js +8 -8
  144. package/dist/components/docs/libraries/index.d.ts +4 -4
  145. package/dist/components/docs/libraries/index.js +1308 -1621
  146. package/dist/components/docs/manifesto/ManifestoPage.js +33 -138
  147. package/dist/components/docs/ops/AutoEvolutionOpsPage.js +9 -9
  148. package/dist/components/docs/ops/DistributedTracingOpsPage.js +5 -5
  149. package/dist/components/docs/ops/index.js +14 -14
  150. package/dist/components/docs/reference/DocsMarkdownContent.js +1 -1
  151. package/dist/components/docs/reference/DocsReferenceContent.js +2 -2
  152. package/dist/components/docs/reference/DocsReferenceIndexClient.js +8 -8
  153. package/dist/components/docs/reference/DocsReferenceIndexPage.js +8 -8
  154. package/dist/components/docs/reference/DocsReferencePage.js +2 -2
  155. package/dist/components/docs/reference/index.js +10 -10
  156. package/dist/components/docs/safety/SafetyAuditingPage.js +16 -16
  157. package/dist/components/docs/safety/SafetyMigrationsPage.js +15 -15
  158. package/dist/components/docs/safety/SafetyOverviewPage.js +69 -206
  159. package/dist/components/docs/safety/SafetyPDPPage.js +12 -12
  160. package/dist/components/docs/safety/SafetySecurityTrustPage.js +11 -11
  161. package/dist/components/docs/safety/SafetySigningPage.js +7 -7
  162. package/dist/components/docs/safety/SafetyTenantIsolationPage.js +6 -6
  163. package/dist/components/docs/safety/index.d.ts +3 -3
  164. package/dist/components/docs/safety/index.js +616 -753
  165. package/dist/components/docs/shared/StudioPrompt.js +5 -5
  166. package/dist/components/docs/specs/SpecsCapabilitiesPage.js +12 -12
  167. package/dist/components/docs/specs/SpecsDataViewsPage.js +14 -14
  168. package/dist/components/docs/specs/SpecsOverlaysPage.js +14 -14
  169. package/dist/components/docs/specs/SpecsOverviewPage.js +135 -297
  170. package/dist/components/docs/specs/SpecsPolicyPage.js +29 -29
  171. package/dist/components/docs/specs/SpecsWorkflowsPage.js +18 -18
  172. package/dist/components/docs/specs/index.d.ts +3 -3
  173. package/dist/components/docs/specs/index.js +814 -976
  174. package/dist/components/docs/studio/StudioBYOKPage.js +1 -1
  175. package/dist/components/docs/studio/StudioDeploymentsPage.js +1 -1
  176. package/dist/components/docs/studio/StudioGettingStartedPage.js +1 -1
  177. package/dist/components/docs/studio/StudioIntegrationsPage.js +1 -1
  178. package/dist/components/docs/studio/StudioOverviewPage.js +109 -56
  179. package/dist/components/docs/studio/StudioVisualBuilderPage.js +1 -1
  180. package/dist/components/docs/studio/index.d.ts +4 -4
  181. package/dist/components/docs/studio/index.js +170 -117
  182. package/dist/components/integrations/index.js +25 -25
  183. package/dist/components/integrations/molecules/IntegrationCard.js +5 -5
  184. package/dist/components/integrations/organisms/IntegrationMarketplace.js +12 -12
  185. package/dist/components/integrations/organisms/IntegrationSettings.js +7 -7
  186. package/dist/components/integrations/organisms/KnowledgeSourceList.js +6 -6
  187. package/dist/components/legal/PrivacyTemplate.js +67 -67
  188. package/dist/components/legal/TermsTemplate.js +54 -54
  189. package/dist/components/legal/index.js +121 -121
  190. package/dist/components/shared/FeatureGateNotice.js +4 -4
  191. package/dist/components/shared/index.js +4 -4
  192. package/dist/components/shell/WorkspaceHeader.js +4 -4
  193. package/dist/components/shell/WorkspaceProjectShellLayout.d.ts +3 -3
  194. package/dist/components/shell/WorkspaceProjectShellLayout.js +10 -10
  195. package/dist/components/shell/WorkspaceShellRenderer.d.ts +4 -4
  196. package/dist/components/shell/WorkspaceShellRenderer.js +8 -8
  197. package/dist/components/shell/WorkspaceSidebar.js +2 -2
  198. package/dist/components/shell/index.d.ts +1 -1
  199. package/dist/components/shell/index.js +12 -12
  200. package/dist/components/templates/engine/index.d.ts +1 -1
  201. package/dist/components/templates/index.d.ts +1 -1
  202. package/dist/components/templates/index.js +835 -835
  203. package/dist/components/templates/messaging/ConversationList.js +11 -11
  204. package/dist/components/templates/messaging/MessageComposer.js +11 -11
  205. package/dist/components/templates/messaging/MessageThread.js +6 -6
  206. package/dist/components/templates/messaging/MessagingWorkspace.js +23 -23
  207. package/dist/components/templates/messaging/index.d.ts +1 -1
  208. package/dist/components/templates/messaging/index.js +23 -23
  209. package/dist/components/templates/recipes/LanguageSwitcher.js +1 -1
  210. package/dist/components/templates/recipes/RecipeCard.js +5 -5
  211. package/dist/components/templates/recipes/RecipeDetail.js +8 -8
  212. package/dist/components/templates/recipes/RecipeList.js +17 -17
  213. package/dist/components/templates/recipes/index.d.ts +2 -2
  214. package/dist/components/templates/recipes/index.js +17 -17
  215. package/dist/components/templates/todos/FilterBar.d.ts +1 -1
  216. package/dist/components/templates/todos/FilterBar.js +9 -9
  217. package/dist/components/templates/todos/TaskForm.js +14 -14
  218. package/dist/components/templates/todos/TaskItem.js +4 -4
  219. package/dist/components/templates/todos/TaskList.js +30 -30
  220. package/dist/components/templates/todos/index.d.ts +2 -2
  221. package/dist/components/templates/todos/index.js +30 -30
  222. package/dist/config/index.d.ts +2 -2
  223. package/dist/features/contracts-registry.d.ts +3 -3
  224. package/dist/features/contracts-registry.js +15 -15
  225. package/dist/features/docs/docs.contracts.d.ts +1 -1
  226. package/dist/features/docs/docs.contracts.js +2 -2
  227. package/dist/features/docs/index.d.ts +1 -1
  228. package/dist/features/docs/index.js +2 -2
  229. package/dist/features/index.d.ts +4 -4
  230. package/dist/features/index.js +18 -18
  231. package/dist/features/registry.js +1 -1
  232. package/dist/index.d.ts +2 -2
  233. package/dist/index.js +17034 -18047
  234. package/dist/libs/email/client.js +1 -1
  235. package/dist/libs/email/contact.js +1 -1
  236. package/dist/libs/email/newsletter.js +1 -1
  237. package/dist/libs/email/waitlist-application.js +1 -1
  238. package/dist/libs/email/waitlist.js +1 -1
  239. package/dist/libs/email.d.ts +1 -1
  240. package/dist/libs/email.js +1 -1
  241. package/dist/node/application/index.js +842 -840
  242. package/dist/node/application/mcp/cliMcp.js +30 -30
  243. package/dist/node/application/mcp/common.js +2 -2
  244. package/dist/node/application/mcp/contractsMcp.js +163 -163
  245. package/dist/node/application/mcp/docsMcp.js +31 -31
  246. package/dist/node/application/mcp/index.js +842 -840
  247. package/dist/node/application/mcp/internalMcp.js +30 -30
  248. package/dist/node/application/mcp/providerRankingMcp.js +35 -33
  249. package/dist/node/components/docs/DocsIndexPage.js +859 -212
  250. package/dist/node/components/docs/advanced/AdvancedMCPPage.js +15 -15
  251. package/dist/node/components/docs/advanced/AdvancedOverlayEditorPage.js +4 -4
  252. package/dist/node/components/docs/advanced/AdvancedRenderersPage.js +7 -7
  253. package/dist/node/components/docs/advanced/AdvancedSpecExperimentsPage.js +9 -9
  254. package/dist/node/components/docs/advanced/AdvancedTelemetryPage.js +16 -16
  255. package/dist/node/components/docs/advanced/AdvancedWorkflowMonitoringPage.js +6 -6
  256. package/dist/node/components/docs/advanced/index.js +57 -57
  257. package/dist/node/components/docs/architecture/ArchitectureAppConfigPage.js +10 -10
  258. package/dist/node/components/docs/architecture/ArchitectureControlPlanePage.js +8 -8
  259. package/dist/node/components/docs/architecture/ArchitectureIntegrationBindingPage.js +14 -14
  260. package/dist/node/components/docs/architecture/ArchitectureKnowledgeBindingPage.js +16 -16
  261. package/dist/node/components/docs/architecture/ArchitectureMultiTenancyPage.js +7 -7
  262. package/dist/node/components/docs/architecture/ArchitectureOverviewPage.js +90 -411
  263. package/dist/node/components/docs/architecture/index.js +145 -466
  264. package/dist/node/components/docs/comparison/ComparisonAutomationPlatformsPage.js +6 -6
  265. package/dist/node/components/docs/comparison/ComparisonEnterprisePlatformsPage.js +7 -7
  266. package/dist/node/components/docs/comparison/ComparisonInternalToolBuildersPage.js +6 -6
  267. package/dist/node/components/docs/comparison/ComparisonOverviewPage.js +4 -4
  268. package/dist/node/components/docs/comparison/ComparisonWindmillPage.js +6 -6
  269. package/dist/node/components/docs/comparison/ComparisonWorkflowEnginesPage.js +6 -6
  270. package/dist/node/components/docs/comparison/index.js +35 -35
  271. package/dist/node/components/docs/docsManifest.js +611 -0
  272. package/dist/node/components/docs/ecosystem/IntegrationsPage.js +5 -5
  273. package/dist/node/components/docs/ecosystem/PluginsPage.js +7 -7
  274. package/dist/node/components/docs/ecosystem/RegistryPage.js +4 -4
  275. package/dist/node/components/docs/ecosystem/TemplatesPage.js +11 -11
  276. package/dist/node/components/docs/ecosystem/index.js +27 -27
  277. package/dist/node/components/docs/examples/DocsExamplesPage.js +59 -6
  278. package/dist/node/components/docs/examples/ExampleShowcasePage.js +257 -0
  279. package/dist/node/components/docs/examples/exampleShowcaseData.js +52 -0
  280. package/dist/node/components/docs/examples/index.js +265 -6
  281. package/dist/node/components/docs/getting-started/CLIPage.js +9 -9
  282. package/dist/node/components/docs/getting-started/CompatibilityPage.js +12 -12
  283. package/dist/node/components/docs/getting-started/DataViewTutorialPage.js +7 -7
  284. package/dist/node/components/docs/getting-started/DeveloperToolsPage.js +10 -10
  285. package/dist/node/components/docs/getting-started/HelloWorldPage.js +8 -8
  286. package/dist/node/components/docs/getting-started/InstallationPage.js +10 -10
  287. package/dist/node/components/docs/getting-started/StartHerePage.js +8 -8
  288. package/dist/node/components/docs/getting-started/TroubleshootingPage.js +12 -12
  289. package/dist/node/components/docs/getting-started/VSCodeExtensionPage.js +13 -13
  290. package/dist/node/components/docs/getting-started/index.js +89 -89
  291. package/dist/node/components/docs/guides/GuideCIDiffGatingPage.js +13 -13
  292. package/dist/node/components/docs/guides/GuideContractTypesPage.js +33 -33
  293. package/dist/node/components/docs/guides/GuideDocsPipelinePage.js +13 -13
  294. package/dist/node/components/docs/guides/GuideGenerateDocsClientsSchemasPage.js +13 -13
  295. package/dist/node/components/docs/guides/GuideImportExistingCodebasesPage.js +35 -35
  296. package/dist/node/components/docs/guides/GuideNextjsOneEndpointPage.js +15 -15
  297. package/dist/node/components/docs/guides/GuideSpecValidationTypingPage.js +13 -13
  298. package/dist/node/components/docs/guides/GuidesIndexPage.js +69 -46
  299. package/dist/node/components/docs/guides/index.js +174 -151
  300. package/dist/node/components/docs/index.js +15220 -16233
  301. package/dist/node/components/docs/integrations/IntegrationsCircuitBreakersPage.js +4 -4
  302. package/dist/node/components/docs/integrations/IntegrationsElevenLabsPage.js +7 -7
  303. package/dist/node/components/docs/integrations/IntegrationsGithubPage.js +11 -11
  304. package/dist/node/components/docs/integrations/IntegrationsGmailPage.js +7 -7
  305. package/dist/node/components/docs/integrations/IntegrationsGoogleCalendarPage.js +5 -5
  306. package/dist/node/components/docs/integrations/IntegrationsHealthRoutingPage.js +12 -12
  307. package/dist/node/components/docs/integrations/IntegrationsMistralPage.js +12 -12
  308. package/dist/node/components/docs/integrations/IntegrationsOpenAIPage.js +11 -11
  309. package/dist/node/components/docs/integrations/IntegrationsOverviewPage.js +119 -736
  310. package/dist/node/components/docs/integrations/IntegrationsPostmarkPage.js +12 -12
  311. package/dist/node/components/docs/integrations/IntegrationsPowensPage.js +24 -24
  312. package/dist/node/components/docs/integrations/IntegrationsQdrantPage.js +9 -9
  313. package/dist/node/components/docs/integrations/IntegrationsResendPage.js +7 -7
  314. package/dist/node/components/docs/integrations/IntegrationsS3Page.js +9 -9
  315. package/dist/node/components/docs/integrations/IntegrationsSlackPage.js +11 -11
  316. package/dist/node/components/docs/integrations/IntegrationsSpecModelPage.js +19 -19
  317. package/dist/node/components/docs/integrations/IntegrationsStripePage.js +25 -25
  318. package/dist/node/components/docs/integrations/IntegrationsTwilioPage.js +9 -9
  319. package/dist/node/components/docs/integrations/IntegrationsWhatsappMetaPage.js +12 -12
  320. package/dist/node/components/docs/integrations/IntegrationsWhatsappTwilioPage.js +13 -13
  321. package/dist/node/components/docs/integrations/index.js +614 -1231
  322. package/dist/node/components/docs/intent/ContractFirstApiPage.js +8 -8
  323. package/dist/node/components/docs/intent/DeterministicCodegenPage.js +9 -9
  324. package/dist/node/components/docs/intent/GenerateClientFromSchemaPage.js +13 -13
  325. package/dist/node/components/docs/intent/OpenapiAlternativePage.js +13 -13
  326. package/dist/node/components/docs/intent/SchemaValidationTypescriptPage.js +9 -9
  327. package/dist/node/components/docs/intent/SpecDrivenDevelopmentPage.js +8 -8
  328. package/dist/node/components/docs/intent/index.js +766 -766
  329. package/dist/node/components/docs/knowledge/KnowledgeCategoriesPage.js +38 -38
  330. package/dist/node/components/docs/knowledge/KnowledgeExamplesPage.js +9 -9
  331. package/dist/node/components/docs/knowledge/KnowledgeOverviewPage.js +91 -439
  332. package/dist/node/components/docs/knowledge/KnowledgeSourcesPage.js +28 -28
  333. package/dist/node/components/docs/knowledge/KnowledgeSpacesPage.js +21 -21
  334. package/dist/node/components/docs/knowledge/index.js +437 -785
  335. package/dist/node/components/docs/libraries/LibrariesAccessibilityPage.js +16 -16
  336. package/dist/node/components/docs/libraries/LibrariesAiAgentPage.js +8 -8
  337. package/dist/node/components/docs/libraries/LibrariesAnalyticsPage.js +6 -6
  338. package/dist/node/components/docs/libraries/LibrariesContentGenPage.js +6 -6
  339. package/dist/node/components/docs/libraries/LibrariesContractsPage.js +16 -16
  340. package/dist/node/components/docs/libraries/LibrariesCostTrackingPage.js +6 -6
  341. package/dist/node/components/docs/libraries/LibrariesDataBackendPage.js +14 -14
  342. package/dist/node/components/docs/libraries/LibrariesDataViewsPage.js +7 -7
  343. package/dist/node/components/docs/libraries/LibrariesDesignSystemPage.js +13 -13
  344. package/dist/node/components/docs/libraries/LibrariesEvolutionPage.js +7 -7
  345. package/dist/node/components/docs/libraries/LibrariesGraphQLPage.js +13 -13
  346. package/dist/node/components/docs/libraries/LibrariesGrowthPage.js +5 -5
  347. package/dist/node/components/docs/libraries/LibrariesMultiTenancyPage.js +5 -5
  348. package/dist/node/components/docs/libraries/LibrariesObservabilityPage.js +7 -7
  349. package/dist/node/components/docs/libraries/LibrariesOverlayEnginePage.js +6 -6
  350. package/dist/node/components/docs/libraries/LibrariesOverviewPage.js +117 -430
  351. package/dist/node/components/docs/libraries/LibrariesPersonalizationPage.js +6 -6
  352. package/dist/node/components/docs/libraries/LibrariesProgressiveDeliveryPage.js +6 -6
  353. package/dist/node/components/docs/libraries/LibrariesResiliencePage.js +6 -6
  354. package/dist/node/components/docs/libraries/LibrariesRuntimePage.js +13 -13
  355. package/dist/node/components/docs/libraries/LibrariesSLOPage.js +6 -6
  356. package/dist/node/components/docs/libraries/LibrariesSchemaPage.js +16 -16
  357. package/dist/node/components/docs/libraries/LibrariesSupportBotPage.js +7 -7
  358. package/dist/node/components/docs/libraries/LibrariesTestingPage.js +7 -7
  359. package/dist/node/components/docs/libraries/LibrariesUIKitPage.js +10 -10
  360. package/dist/node/components/docs/libraries/LibrariesWorkflowComposerPage.js +5 -5
  361. package/dist/node/components/docs/libraries/LibrariesWorkflowsPage.js +8 -8
  362. package/dist/node/components/docs/libraries/index.js +1308 -1621
  363. package/dist/node/components/docs/manifesto/ManifestoPage.js +33 -138
  364. package/dist/node/components/docs/ops/AutoEvolutionOpsPage.js +9 -9
  365. package/dist/node/components/docs/ops/DistributedTracingOpsPage.js +5 -5
  366. package/dist/node/components/docs/ops/index.js +14 -14
  367. package/dist/node/components/docs/reference/DocsMarkdownContent.js +1 -1
  368. package/dist/node/components/docs/reference/DocsReferenceContent.js +2 -2
  369. package/dist/node/components/docs/reference/DocsReferenceIndexClient.js +8 -8
  370. package/dist/node/components/docs/reference/DocsReferenceIndexPage.js +8 -8
  371. package/dist/node/components/docs/reference/DocsReferencePage.js +2 -2
  372. package/dist/node/components/docs/reference/index.js +10 -10
  373. package/dist/node/components/docs/safety/SafetyAuditingPage.js +16 -16
  374. package/dist/node/components/docs/safety/SafetyMigrationsPage.js +15 -15
  375. package/dist/node/components/docs/safety/SafetyOverviewPage.js +69 -206
  376. package/dist/node/components/docs/safety/SafetyPDPPage.js +12 -12
  377. package/dist/node/components/docs/safety/SafetySecurityTrustPage.js +11 -11
  378. package/dist/node/components/docs/safety/SafetySigningPage.js +7 -7
  379. package/dist/node/components/docs/safety/SafetyTenantIsolationPage.js +6 -6
  380. package/dist/node/components/docs/safety/index.js +616 -753
  381. package/dist/node/components/docs/shared/StudioPrompt.js +5 -5
  382. package/dist/node/components/docs/specs/SpecsCapabilitiesPage.js +12 -12
  383. package/dist/node/components/docs/specs/SpecsDataViewsPage.js +14 -14
  384. package/dist/node/components/docs/specs/SpecsOverlaysPage.js +14 -14
  385. package/dist/node/components/docs/specs/SpecsOverviewPage.js +135 -297
  386. package/dist/node/components/docs/specs/SpecsPolicyPage.js +29 -29
  387. package/dist/node/components/docs/specs/SpecsWorkflowsPage.js +18 -18
  388. package/dist/node/components/docs/specs/index.js +814 -976
  389. package/dist/node/components/docs/studio/StudioBYOKPage.js +1 -1
  390. package/dist/node/components/docs/studio/StudioDeploymentsPage.js +1 -1
  391. package/dist/node/components/docs/studio/StudioGettingStartedPage.js +1 -1
  392. package/dist/node/components/docs/studio/StudioIntegrationsPage.js +1 -1
  393. package/dist/node/components/docs/studio/StudioOverviewPage.js +109 -56
  394. package/dist/node/components/docs/studio/StudioVisualBuilderPage.js +1 -1
  395. package/dist/node/components/docs/studio/index.js +170 -117
  396. package/dist/node/components/integrations/index.js +25 -25
  397. package/dist/node/components/integrations/molecules/IntegrationCard.js +5 -5
  398. package/dist/node/components/integrations/organisms/IntegrationMarketplace.js +12 -12
  399. package/dist/node/components/integrations/organisms/IntegrationSettings.js +7 -7
  400. package/dist/node/components/integrations/organisms/KnowledgeSourceList.js +6 -6
  401. package/dist/node/components/legal/PrivacyTemplate.js +67 -67
  402. package/dist/node/components/legal/TermsTemplate.js +54 -54
  403. package/dist/node/components/legal/index.js +121 -121
  404. package/dist/node/components/shared/FeatureGateNotice.js +4 -4
  405. package/dist/node/components/shared/index.js +4 -4
  406. package/dist/node/components/shell/WorkspaceHeader.js +4 -4
  407. package/dist/node/components/shell/WorkspaceProjectShellLayout.js +10 -10
  408. package/dist/node/components/shell/WorkspaceShellRenderer.js +8 -8
  409. package/dist/node/components/shell/WorkspaceSidebar.js +2 -2
  410. package/dist/node/components/shell/index.js +12 -12
  411. package/dist/node/components/templates/index.js +835 -835
  412. package/dist/node/components/templates/messaging/ConversationList.js +11 -11
  413. package/dist/node/components/templates/messaging/MessageComposer.js +11 -11
  414. package/dist/node/components/templates/messaging/MessageThread.js +6 -6
  415. package/dist/node/components/templates/messaging/MessagingWorkspace.js +23 -23
  416. package/dist/node/components/templates/messaging/index.js +23 -23
  417. package/dist/node/components/templates/recipes/LanguageSwitcher.js +1 -1
  418. package/dist/node/components/templates/recipes/RecipeCard.js +5 -5
  419. package/dist/node/components/templates/recipes/RecipeDetail.js +8 -8
  420. package/dist/node/components/templates/recipes/RecipeList.js +17 -17
  421. package/dist/node/components/templates/recipes/index.js +17 -17
  422. package/dist/node/components/templates/todos/FilterBar.js +9 -9
  423. package/dist/node/components/templates/todos/TaskForm.js +14 -14
  424. package/dist/node/components/templates/todos/TaskItem.js +4 -4
  425. package/dist/node/components/templates/todos/TaskList.js +30 -30
  426. package/dist/node/components/templates/todos/index.js +30 -30
  427. package/dist/node/features/contracts-registry.js +15 -15
  428. package/dist/node/features/docs/docs.contracts.js +2 -2
  429. package/dist/node/features/docs/index.js +2 -2
  430. package/dist/node/features/index.js +18 -18
  431. package/dist/node/features/registry.js +1 -1
  432. package/dist/node/index.js +17034 -18047
  433. package/dist/node/libs/email/client.js +1 -1
  434. package/dist/node/libs/email/contact.js +1 -1
  435. package/dist/node/libs/email/newsletter.js +1 -1
  436. package/dist/node/libs/email/waitlist-application.js +1 -1
  437. package/dist/node/libs/email/waitlist.js +1 -1
  438. package/dist/node/libs/email.js +1 -1
  439. package/dist/node/presentation/features/atoms/FeatureIcon/FeatureIcon.js +7 -7
  440. package/dist/node/presentation/features/atoms/FeatureIcon/index.js +7 -7
  441. package/dist/node/presentation/features/atoms/index.js +7 -7
  442. package/dist/node/presentation/features/hooks/index.js +56 -56
  443. package/dist/node/presentation/features/hooks/useContractsRegistry.js +18 -18
  444. package/dist/node/presentation/features/hooks/useFeatureFilters.js +1 -1
  445. package/dist/node/presentation/features/hooks/useFeatureRegistry.js +1 -1
  446. package/dist/node/presentation/features/hooks/useRelatedDocs.js +1 -1
  447. package/dist/node/presentation/features/index.js +1364 -1364
  448. package/dist/node/presentation/features/molecules/FeatureCard/FeatureCard.js +15 -15
  449. package/dist/node/presentation/features/molecules/FeatureCard/index.js +15 -15
  450. package/dist/node/presentation/features/molecules/FeatureCategoryHeader/FeatureCategoryHeader.js +7 -7
  451. package/dist/node/presentation/features/molecules/FeatureCategoryHeader/index.js +7 -7
  452. package/dist/node/presentation/features/molecules/FeatureFilters/FeatureFilters.js +1 -1
  453. package/dist/node/presentation/features/molecules/FeatureFilters/index.js +1 -1
  454. package/dist/node/presentation/features/molecules/FeatureHoverPreview/FeatureHoverPreview.js +5 -5
  455. package/dist/node/presentation/features/molecules/FeatureHoverPreview/index.js +5 -5
  456. package/dist/node/presentation/features/molecules/index.js +77 -77
  457. package/dist/node/presentation/features/organisms/FeatureDataViewsList.js +18 -18
  458. package/dist/node/presentation/features/organisms/FeatureDiscovery/FeatureDiscovery.js +121 -121
  459. package/dist/node/presentation/features/organisms/FeatureDiscovery/index.js +121 -121
  460. package/dist/node/presentation/features/organisms/FeatureEventsList.js +18 -18
  461. package/dist/node/presentation/features/organisms/FeatureFormsList.js +18 -18
  462. package/dist/node/presentation/features/organisms/FeatureOperationsList.js +15 -15
  463. package/dist/node/presentation/features/organisms/FeaturePresentationsList.js +18 -18
  464. package/dist/node/presentation/features/organisms/index.js +401 -401
  465. package/dist/node/presentation/features/templates/FeatureDataViewDetailTemplate/FeatureDataViewDetailTemplate.js +13 -13
  466. package/dist/node/presentation/features/templates/FeatureDataViewDetailTemplate/index.js +13 -13
  467. package/dist/node/presentation/features/templates/FeatureDataViewsTemplate/FeatureDataViewsTemplate.js +20 -20
  468. package/dist/node/presentation/features/templates/FeatureDataViewsTemplate/index.js +20 -20
  469. package/dist/node/presentation/features/templates/FeatureEventDetailTemplate/FeatureEventDetailTemplate.js +12 -12
  470. package/dist/node/presentation/features/templates/FeatureEventDetailTemplate/index.js +12 -12
  471. package/dist/node/presentation/features/templates/FeatureEventsTemplate/FeatureEventsTemplate.js +18 -18
  472. package/dist/node/presentation/features/templates/FeatureEventsTemplate/index.js +18 -18
  473. package/dist/node/presentation/features/templates/FeatureFormDetailTemplate/FeatureFormDetailTemplate.js +13 -13
  474. package/dist/node/presentation/features/templates/FeatureFormDetailTemplate/index.js +13 -13
  475. package/dist/node/presentation/features/templates/FeatureFormsTemplate/FeatureFormsTemplate.js +20 -20
  476. package/dist/node/presentation/features/templates/FeatureFormsTemplate/index.js +20 -20
  477. package/dist/node/presentation/features/templates/FeatureOperationDetailTemplate/FeatureOperationDetailTemplate.js +8 -8
  478. package/dist/node/presentation/features/templates/FeatureOperationDetailTemplate/index.js +8 -8
  479. package/dist/node/presentation/features/templates/FeatureOperationsTemplate/FeatureOperationsTemplate.js +15 -15
  480. package/dist/node/presentation/features/templates/FeatureOperationsTemplate/index.js +15 -15
  481. package/dist/node/presentation/features/templates/FeatureOverviewTemplate/FeatureOverviewTemplate.js +2 -2
  482. package/dist/node/presentation/features/templates/FeatureOverviewTemplate/index.js +2 -2
  483. package/dist/node/presentation/features/templates/FeaturePresentationDetailTemplate/FeaturePresentationDetailTemplate.js +12 -12
  484. package/dist/node/presentation/features/templates/FeaturePresentationDetailTemplate/index.js +12 -12
  485. package/dist/node/presentation/features/templates/FeaturePresentationsTemplate/FeaturePresentationsTemplate.js +18 -18
  486. package/dist/node/presentation/features/templates/FeaturePresentationsTemplate/index.js +18 -18
  487. package/dist/presentation/features/atoms/FeatureIcon/FeatureIcon.js +7 -7
  488. package/dist/presentation/features/atoms/FeatureIcon/index.d.ts +1 -1
  489. package/dist/presentation/features/atoms/FeatureIcon/index.js +7 -7
  490. package/dist/presentation/features/atoms/index.js +7 -7
  491. package/dist/presentation/features/hooks/index.d.ts +3 -3
  492. package/dist/presentation/features/hooks/index.js +56 -56
  493. package/dist/presentation/features/hooks/useContractsRegistry.js +18 -18
  494. package/dist/presentation/features/hooks/useFeatureFilters.js +1 -1
  495. package/dist/presentation/features/hooks/useFeatureRegistry.js +1 -1
  496. package/dist/presentation/features/hooks/useRelatedDocs.js +1 -1
  497. package/dist/presentation/features/index.d.ts +14 -14
  498. package/dist/presentation/features/index.js +1364 -1364
  499. package/dist/presentation/features/molecules/FeatureCard/FeatureCard.js +15 -15
  500. package/dist/presentation/features/molecules/FeatureCard/index.js +15 -15
  501. package/dist/presentation/features/molecules/FeatureCategoryHeader/FeatureCategoryHeader.js +7 -7
  502. package/dist/presentation/features/molecules/FeatureCategoryHeader/index.js +7 -7
  503. package/dist/presentation/features/molecules/FeatureFilters/FeatureFilters.js +1 -1
  504. package/dist/presentation/features/molecules/FeatureFilters/index.js +1 -1
  505. package/dist/presentation/features/molecules/FeatureHoverPreview/FeatureHoverPreview.js +5 -5
  506. package/dist/presentation/features/molecules/FeatureHoverPreview/index.js +5 -5
  507. package/dist/presentation/features/molecules/index.d.ts +1 -1
  508. package/dist/presentation/features/molecules/index.js +77 -77
  509. package/dist/presentation/features/organisms/FeatureDataViewsList.js +18 -18
  510. package/dist/presentation/features/organisms/FeatureDiscovery/FeatureDiscovery.js +121 -121
  511. package/dist/presentation/features/organisms/FeatureDiscovery/index.d.ts +1 -1
  512. package/dist/presentation/features/organisms/FeatureDiscovery/index.js +121 -121
  513. package/dist/presentation/features/organisms/FeatureEventsList.js +18 -18
  514. package/dist/presentation/features/organisms/FeatureFormsList.js +18 -18
  515. package/dist/presentation/features/organisms/FeatureOperationsList.js +15 -15
  516. package/dist/presentation/features/organisms/FeaturePresentationsList.js +18 -18
  517. package/dist/presentation/features/organisms/index.d.ts +4 -4
  518. package/dist/presentation/features/organisms/index.js +401 -401
  519. package/dist/presentation/features/templates/FeatureDataViewDetailTemplate/FeatureDataViewDetailTemplate.js +13 -13
  520. package/dist/presentation/features/templates/FeatureDataViewDetailTemplate/index.js +13 -13
  521. package/dist/presentation/features/templates/FeatureDataViewDetailTemplate/types.d.ts +1 -1
  522. package/dist/presentation/features/templates/FeatureDataViewsTemplate/FeatureDataViewsTemplate.js +20 -20
  523. package/dist/presentation/features/templates/FeatureDataViewsTemplate/index.js +20 -20
  524. package/dist/presentation/features/templates/FeatureEventDetailTemplate/FeatureEventDetailTemplate.js +12 -12
  525. package/dist/presentation/features/templates/FeatureEventDetailTemplate/index.js +12 -12
  526. package/dist/presentation/features/templates/FeatureEventsTemplate/FeatureEventsTemplate.js +18 -18
  527. package/dist/presentation/features/templates/FeatureEventsTemplate/index.js +18 -18
  528. package/dist/presentation/features/templates/FeatureFormDetailTemplate/FeatureFormDetailTemplate.js +13 -13
  529. package/dist/presentation/features/templates/FeatureFormDetailTemplate/index.js +13 -13
  530. package/dist/presentation/features/templates/FeatureFormsTemplate/FeatureFormsTemplate.js +20 -20
  531. package/dist/presentation/features/templates/FeatureFormsTemplate/index.js +20 -20
  532. package/dist/presentation/features/templates/FeatureOperationDetailTemplate/FeatureOperationDetailTemplate.js +8 -8
  533. package/dist/presentation/features/templates/FeatureOperationDetailTemplate/index.js +8 -8
  534. package/dist/presentation/features/templates/FeatureOperationsTemplate/FeatureOperationsTemplate.js +15 -15
  535. package/dist/presentation/features/templates/FeatureOperationsTemplate/index.js +15 -15
  536. package/dist/presentation/features/templates/FeatureOverviewTemplate/FeatureOverviewTemplate.js +2 -2
  537. package/dist/presentation/features/templates/FeatureOverviewTemplate/index.js +2 -2
  538. package/dist/presentation/features/templates/FeaturePresentationDetailTemplate/FeaturePresentationDetailTemplate.js +12 -12
  539. package/dist/presentation/features/templates/FeaturePresentationDetailTemplate/index.js +12 -12
  540. package/dist/presentation/features/templates/FeaturePresentationsTemplate/FeaturePresentationsTemplate.js +18 -18
  541. package/dist/presentation/features/templates/FeaturePresentationsTemplate/index.js +18 -18
  542. package/package.json +70 -32
  543. package/src/__tests__/env-setup.ts +1 -1
  544. package/src/__tests__/mocks/prisma.ts +78 -78
  545. package/src/__tests__/setup.ts +2 -2
  546. package/src/application/context-storage/index.ts +42 -42
  547. package/src/application/index.ts +1 -1
  548. package/src/application/mcp/cliMcp.ts +221 -221
  549. package/src/application/mcp/common.ts +210 -210
  550. package/src/application/mcp/contractsMcp.ts +15 -15
  551. package/src/application/mcp/contractsMcpResources.ts +119 -119
  552. package/src/application/mcp/contractsMcpTools.ts +218 -218
  553. package/src/application/mcp/contractsMcpTypes.ts +35 -35
  554. package/src/application/mcp/docsMcp.ts +173 -173
  555. package/src/application/mcp/index.ts +2 -2
  556. package/src/application/mcp/internalMcp.ts +204 -204
  557. package/src/application/mcp/providerRankingMcp.ts +346 -344
  558. package/src/bundles/LibraryBundle.ts +136 -136
  559. package/src/components/docs/DocsIndexPage.tsx +189 -241
  560. package/src/components/docs/advanced/AdvancedMCPPage.tsx +168 -168
  561. package/src/components/docs/advanced/AdvancedOverlayEditorPage.tsx +52 -52
  562. package/src/components/docs/advanced/AdvancedRenderersPage.tsx +53 -53
  563. package/src/components/docs/advanced/AdvancedSpecExperimentsPage.tsx +48 -48
  564. package/src/components/docs/advanced/AdvancedTelemetryPage.tsx +205 -205
  565. package/src/components/docs/advanced/AdvancedWorkflowMonitoringPage.tsx +42 -42
  566. package/src/components/docs/advanced/index.ts +2 -2
  567. package/src/components/docs/architecture/ArchitectureAppConfigPage.tsx +127 -127
  568. package/src/components/docs/architecture/ArchitectureControlPlanePage.tsx +79 -79
  569. package/src/components/docs/architecture/ArchitectureIntegrationBindingPage.tsx +147 -147
  570. package/src/components/docs/architecture/ArchitectureKnowledgeBindingPage.tsx +193 -193
  571. package/src/components/docs/architecture/ArchitectureMultiTenancyPage.tsx +73 -73
  572. package/src/components/docs/architecture/ArchitectureOverviewPage.tsx +98 -273
  573. package/src/components/docs/architecture/index.ts +3 -3
  574. package/src/components/docs/comparison/ComparisonAutomationPlatformsPage.tsx +137 -137
  575. package/src/components/docs/comparison/ComparisonEnterprisePlatformsPage.tsx +138 -138
  576. package/src/components/docs/comparison/ComparisonInternalToolBuildersPage.tsx +147 -147
  577. package/src/components/docs/comparison/ComparisonOverviewPage.tsx +106 -106
  578. package/src/components/docs/comparison/ComparisonWindmillPage.tsx +143 -143
  579. package/src/components/docs/comparison/ComparisonWorkflowEnginesPage.tsx +168 -168
  580. package/src/components/docs/comparison/index.ts +2 -2
  581. package/src/components/docs/docsManifest.ts +720 -0
  582. package/src/components/docs/ecosystem/IntegrationsPage.tsx +45 -45
  583. package/src/components/docs/ecosystem/PluginsPage.tsx +77 -77
  584. package/src/components/docs/ecosystem/RegistryPage.tsx +48 -48
  585. package/src/components/docs/ecosystem/TemplatesPage.tsx +52 -52
  586. package/src/components/docs/ecosystem/ecosystem.docblocks.ts +42 -42
  587. package/src/components/docs/ecosystem/index.ts +2 -2
  588. package/src/components/docs/examples/DocsExamplesPage.tsx +78 -66
  589. package/src/components/docs/examples/ExampleShowcasePage.tsx +122 -0
  590. package/src/components/docs/examples/exampleShowcaseData.ts +65 -0
  591. package/src/components/docs/examples/index.ts +1 -0
  592. package/src/components/docs/generated/docs-index._common.json +1757 -1757
  593. package/src/components/docs/generated/docs-index.agent-console.json +376 -376
  594. package/src/components/docs/generated/docs-index.ai-chat-assistant.json +8 -8
  595. package/src/components/docs/generated/docs-index.ai-chat.json +104 -104
  596. package/src/components/docs/generated/docs-index.ai-support-bot.json +8 -8
  597. package/src/components/docs/generated/docs-index.analytics-dashboard.json +168 -168
  598. package/src/components/docs/generated/docs-index.app-config.json +136 -136
  599. package/src/components/docs/generated/docs-index.audit-trail.json +48 -48
  600. package/src/components/docs/generated/docs-index.calendar-google.json +8 -8
  601. package/src/components/docs/generated/docs-index.content-generation.json +8 -8
  602. package/src/components/docs/generated/docs-index.crm-pipeline.json +160 -160
  603. package/src/components/docs/generated/docs-index.email-gmail.json +8 -8
  604. package/src/components/docs/generated/docs-index.feature-flags.json +216 -216
  605. package/src/components/docs/generated/docs-index.files.json +176 -176
  606. package/src/components/docs/generated/docs-index.generated.ts +19 -19
  607. package/src/components/docs/generated/docs-index.health.json +96 -96
  608. package/src/components/docs/generated/docs-index.identity-rbac.json +312 -312
  609. package/src/components/docs/generated/docs-index.in-app-docs.json +8 -8
  610. package/src/components/docs/generated/docs-index.integration-hub.json +264 -264
  611. package/src/components/docs/generated/docs-index.integration-posthog.json +8 -8
  612. package/src/components/docs/generated/docs-index.integration-stripe.json +8 -8
  613. package/src/components/docs/generated/docs-index.integration-supabase.json +8 -8
  614. package/src/components/docs/generated/docs-index.jobs.json +136 -136
  615. package/src/components/docs/generated/docs-index.kb-update-pipeline.json +128 -128
  616. package/src/components/docs/generated/docs-index.knowledge-canon.json +8 -8
  617. package/src/components/docs/generated/docs-index.learning-journey-ambient-coach.json +8 -8
  618. package/src/components/docs/generated/docs-index.learning-journey-crm-onboarding.json +48 -48
  619. package/src/components/docs/generated/docs-index.learning-journey-duo-drills.json +8 -8
  620. package/src/components/docs/generated/docs-index.learning-journey-platform-tour.json +48 -48
  621. package/src/components/docs/generated/docs-index.learning-journey-quest-challenges.json +8 -8
  622. package/src/components/docs/generated/docs-index.learning-journey-registry.json +32 -32
  623. package/src/components/docs/generated/docs-index.learning-journey-studio-onboarding.json +48 -48
  624. package/src/components/docs/generated/docs-index.learning-journey-ui-coaching.json +8 -8
  625. package/src/components/docs/generated/docs-index.learning-journey-ui-gamified.json +8 -8
  626. package/src/components/docs/generated/docs-index.learning-journey-ui-onboarding.json +8 -8
  627. package/src/components/docs/generated/docs-index.learning-journey-ui-shared.json +8 -8
  628. package/src/components/docs/generated/docs-index.learning-journey.json +216 -216
  629. package/src/components/docs/generated/docs-index.learning-patterns.json +8 -8
  630. package/src/components/docs/generated/docs-index.lifecycle-cli.json +8 -8
  631. package/src/components/docs/generated/docs-index.lifecycle-dashboard.json +8 -8
  632. package/src/components/docs/generated/docs-index.locale-jurisdiction-gate.json +48 -48
  633. package/src/components/docs/generated/docs-index.manifest.json +376 -376
  634. package/src/components/docs/generated/docs-index.marketplace.json +336 -336
  635. package/src/components/docs/generated/docs-index.meeting-recorder-providers.json +8 -8
  636. package/src/components/docs/generated/docs-index.meeting-recorder.json +48 -48
  637. package/src/components/docs/generated/docs-index.metrics.json +200 -200
  638. package/src/components/docs/generated/docs-index.minimal.json +16 -16
  639. package/src/components/docs/generated/docs-index.notifications.json +64 -64
  640. package/src/components/docs/generated/docs-index.openbanking-powens.json +8 -8
  641. package/src/components/docs/generated/docs-index.openbanking.json +64 -64
  642. package/src/components/docs/generated/docs-index.opencode-cli.json +16 -16
  643. package/src/components/docs/generated/docs-index.personalization.json +8 -8
  644. package/src/components/docs/generated/docs-index.platform-acp.json +72 -72
  645. package/src/components/docs/generated/docs-index.platform-agent.json +96 -96
  646. package/src/components/docs/generated/docs-index.platform-context.json +56 -56
  647. package/src/components/docs/generated/docs-index.platform-database.json +48 -48
  648. package/src/components/docs/generated/docs-index.platform-docs.json +88 -88
  649. package/src/components/docs/generated/docs-index.platform-integrations.json +320 -320
  650. package/src/components/docs/generated/docs-index.platform-knowledge.json +56 -56
  651. package/src/components/docs/generated/docs-index.platform-provider-ranking.json +96 -96
  652. package/src/components/docs/generated/docs-index.pocket-family-office.json +120 -120
  653. package/src/components/docs/generated/docs-index.policy-safe-knowledge-assistant.json +8 -8
  654. package/src/components/docs/generated/docs-index.product-intent.json +8 -8
  655. package/src/components/docs/generated/docs-index.project-management-sync.json +8 -8
  656. package/src/components/docs/generated/docs-index.saas-boilerplate.json +208 -208
  657. package/src/components/docs/generated/docs-index.service-business-os.json +192 -192
  658. package/src/components/docs/generated/docs-index.team-hub.json +184 -184
  659. package/src/components/docs/generated/docs-index.unknown.json +512 -512
  660. package/src/components/docs/generated/docs-index.versioned-knowledge-base.json +80 -80
  661. package/src/components/docs/generated/docs-index.video-api-showcase.json +32 -32
  662. package/src/components/docs/generated/docs-index.video-docs-terminal.json +8 -8
  663. package/src/components/docs/generated/docs-index.video-marketing-clip.json +8 -8
  664. package/src/components/docs/generated/docs-index.voice-providers.json +8 -8
  665. package/src/components/docs/generated/docs-index.wealth-snapshot.json +152 -152
  666. package/src/components/docs/generated/docs-index.workflow-system.json +432 -432
  667. package/src/components/docs/generated/docs-index.workspace-cli.json +8 -8
  668. package/src/components/docs/generated/index.ts +6 -6
  669. package/src/components/docs/generated/loader.ts +49 -49
  670. package/src/components/docs/getting-started/CLIPage.tsx +157 -157
  671. package/src/components/docs/getting-started/CompatibilityPage.tsx +69 -69
  672. package/src/components/docs/getting-started/DataViewTutorialPage.tsx +63 -63
  673. package/src/components/docs/getting-started/DeveloperToolsPage.tsx +141 -140
  674. package/src/components/docs/getting-started/HelloWorldPage.tsx +88 -88
  675. package/src/components/docs/getting-started/InstallationPage.tsx +78 -78
  676. package/src/components/docs/getting-started/StartHerePage.tsx +64 -64
  677. package/src/components/docs/getting-started/TroubleshootingPage.tsx +68 -68
  678. package/src/components/docs/getting-started/VSCodeExtensionPage.tsx +233 -233
  679. package/src/components/docs/getting-started/getting-started.docblocks.ts +30 -30
  680. package/src/components/docs/getting-started/index.ts +6 -5
  681. package/src/components/docs/guides/GuideCIDiffGatingPage.tsx +88 -88
  682. package/src/components/docs/guides/GuideContractTypesPage.tsx +266 -266
  683. package/src/components/docs/guides/GuideDocsPipelinePage.tsx +78 -78
  684. package/src/components/docs/guides/GuideGenerateDocsClientsSchemasPage.tsx +89 -89
  685. package/src/components/docs/guides/GuideImportExistingCodebasesPage.tsx +360 -360
  686. package/src/components/docs/guides/GuideNextjsOneEndpointPage.tsx +117 -117
  687. package/src/components/docs/guides/GuideSpecValidationTypingPage.tsx +82 -82
  688. package/src/components/docs/guides/GuidesIndexPage.tsx +109 -99
  689. package/src/components/docs/guides/guides.docblocks.ts +60 -60
  690. package/src/components/docs/guides/index.ts +4 -4
  691. package/src/components/docs/index.ts +26 -40
  692. package/src/components/docs/integrations/IntegrationsCircuitBreakersPage.tsx +22 -22
  693. package/src/components/docs/integrations/IntegrationsElevenLabsPage.tsx +41 -41
  694. package/src/components/docs/integrations/IntegrationsGithubPage.tsx +66 -66
  695. package/src/components/docs/integrations/IntegrationsGmailPage.tsx +44 -44
  696. package/src/components/docs/integrations/IntegrationsGoogleCalendarPage.tsx +31 -31
  697. package/src/components/docs/integrations/IntegrationsHealthRoutingPage.tsx +80 -80
  698. package/src/components/docs/integrations/IntegrationsMistralPage.tsx +65 -65
  699. package/src/components/docs/integrations/IntegrationsOpenAIPage.tsx +54 -54
  700. package/src/components/docs/integrations/IntegrationsOverviewPage.tsx +124 -529
  701. package/src/components/docs/integrations/IntegrationsPostmarkPage.tsx +97 -97
  702. package/src/components/docs/integrations/IntegrationsPowensPage.tsx +165 -165
  703. package/src/components/docs/integrations/IntegrationsQdrantPage.tsx +44 -44
  704. package/src/components/docs/integrations/IntegrationsResendPage.tsx +40 -40
  705. package/src/components/docs/integrations/IntegrationsS3Page.tsx +48 -48
  706. package/src/components/docs/integrations/IntegrationsSlackPage.tsx +70 -70
  707. package/src/components/docs/integrations/IntegrationsSpecModelPage.tsx +139 -139
  708. package/src/components/docs/integrations/IntegrationsStripePage.tsx +153 -153
  709. package/src/components/docs/integrations/IntegrationsTwilioPage.tsx +50 -50
  710. package/src/components/docs/integrations/IntegrationsWhatsappMetaPage.tsx +69 -69
  711. package/src/components/docs/integrations/IntegrationsWhatsappTwilioPage.tsx +73 -73
  712. package/src/components/docs/integrations/index.ts +1 -1
  713. package/src/components/docs/intent/ContractFirstApiPage.tsx +61 -61
  714. package/src/components/docs/intent/DeterministicCodegenPage.tsx +81 -80
  715. package/src/components/docs/intent/GenerateClientFromSchemaPage.tsx +108 -108
  716. package/src/components/docs/intent/OpenapiAlternativePage.tsx +98 -98
  717. package/src/components/docs/intent/SchemaValidationTypescriptPage.tsx +79 -79
  718. package/src/components/docs/intent/SpecDrivenDevelopmentPage.tsx +67 -67
  719. package/src/components/docs/intent/index.ts +3 -3
  720. package/src/components/docs/intent/intent-pages.docblocks.ts +186 -186
  721. package/src/components/docs/knowledge/KnowledgeCategoriesPage.tsx +304 -304
  722. package/src/components/docs/knowledge/KnowledgeExamplesPage.tsx +84 -84
  723. package/src/components/docs/knowledge/KnowledgeOverviewPage.tsx +76 -285
  724. package/src/components/docs/knowledge/KnowledgeSourcesPage.tsx +171 -171
  725. package/src/components/docs/knowledge/KnowledgeSpacesPage.tsx +132 -132
  726. package/src/components/docs/knowledge/index.ts +1 -1
  727. package/src/components/docs/libraries/LibrariesAccessibilityPage.tsx +95 -95
  728. package/src/components/docs/libraries/LibrariesAiAgentPage.tsx +58 -58
  729. package/src/components/docs/libraries/LibrariesAnalyticsPage.tsx +39 -39
  730. package/src/components/docs/libraries/LibrariesContentGenPage.tsx +41 -41
  731. package/src/components/docs/libraries/LibrariesContractsPage.tsx +132 -132
  732. package/src/components/docs/libraries/LibrariesCostTrackingPage.tsx +47 -47
  733. package/src/components/docs/libraries/LibrariesDataBackendPage.tsx +73 -73
  734. package/src/components/docs/libraries/LibrariesDataViewsPage.tsx +76 -76
  735. package/src/components/docs/libraries/LibrariesDesignSystemPage.tsx +115 -115
  736. package/src/components/docs/libraries/LibrariesEvolutionPage.tsx +64 -64
  737. package/src/components/docs/libraries/LibrariesGraphQLPage.tsx +92 -92
  738. package/src/components/docs/libraries/LibrariesGrowthPage.tsx +37 -37
  739. package/src/components/docs/libraries/LibrariesMultiTenancyPage.tsx +47 -47
  740. package/src/components/docs/libraries/LibrariesObservabilityPage.tsx +58 -58
  741. package/src/components/docs/libraries/LibrariesOverlayEnginePage.tsx +51 -51
  742. package/src/components/docs/libraries/LibrariesOverviewPage.tsx +137 -301
  743. package/src/components/docs/libraries/LibrariesPersonalizationPage.tsx +57 -57
  744. package/src/components/docs/libraries/LibrariesProgressiveDeliveryPage.tsx +51 -51
  745. package/src/components/docs/libraries/LibrariesResiliencePage.tsx +54 -54
  746. package/src/components/docs/libraries/LibrariesRuntimePage.tsx +96 -96
  747. package/src/components/docs/libraries/LibrariesSLOPage.tsx +52 -52
  748. package/src/components/docs/libraries/LibrariesSchemaPage.tsx +131 -131
  749. package/src/components/docs/libraries/LibrariesSupportBotPage.tsx +59 -59
  750. package/src/components/docs/libraries/LibrariesTestingPage.tsx +64 -64
  751. package/src/components/docs/libraries/LibrariesUIKitPage.tsx +85 -85
  752. package/src/components/docs/libraries/LibrariesWorkflowComposerPage.tsx +38 -38
  753. package/src/components/docs/libraries/LibrariesWorkflowsPage.tsx +79 -79
  754. package/src/components/docs/libraries/index.ts +4 -4
  755. package/src/components/docs/manifesto/ManifestoPage.tsx +61 -132
  756. package/src/components/docs/ops/AutoEvolutionOpsPage.tsx +81 -81
  757. package/src/components/docs/ops/DistributedTracingOpsPage.tsx +28 -28
  758. package/src/components/docs/ops/ops-lifecycle.docblocks.ts +32 -32
  759. package/src/components/docs/ops/ops-runbooks-a.docblocks.ts +60 -60
  760. package/src/components/docs/ops/ops-runbooks-b.docblocks.ts +60 -60
  761. package/src/components/docs/ops/ops-slo-tenant.docblocks.ts +61 -61
  762. package/src/components/docs/ops/ops-top.docs.ts +10 -10
  763. package/src/components/docs/ops/ops.docs.ts +6 -6
  764. package/src/components/docs/product/product.docblocks.ts +60 -60
  765. package/src/components/docs/reference/DocsMarkdownContent.tsx +74 -74
  766. package/src/components/docs/reference/DocsReferenceContent.tsx +51 -51
  767. package/src/components/docs/reference/DocsReferenceIndexClient.tsx +106 -105
  768. package/src/components/docs/reference/DocsReferenceIndexPage.tsx +2 -2
  769. package/src/components/docs/reference/DocsReferencePage.tsx +3 -3
  770. package/src/components/docs/reference/docsMarkdownParser.ts +90 -90
  771. package/src/components/docs/safety/SafetyAuditingPage.tsx +189 -189
  772. package/src/components/docs/safety/SafetyMigrationsPage.tsx +189 -189
  773. package/src/components/docs/safety/SafetyOverviewPage.tsx +70 -157
  774. package/src/components/docs/safety/SafetyPDPPage.tsx +163 -163
  775. package/src/components/docs/safety/SafetySecurityTrustPage.tsx +89 -89
  776. package/src/components/docs/safety/SafetySigningPage.tsx +38 -38
  777. package/src/components/docs/safety/SafetyTenantIsolationPage.tsx +39 -39
  778. package/src/components/docs/safety/index.ts +3 -3
  779. package/src/components/docs/shared/StudioPrompt.tsx +17 -17
  780. package/src/components/docs/specs/SpecsCapabilitiesPage.tsx +79 -79
  781. package/src/components/docs/specs/SpecsDataViewsPage.tsx +142 -142
  782. package/src/components/docs/specs/SpecsOverlaysPage.tsx +202 -202
  783. package/src/components/docs/specs/SpecsOverviewPage.tsx +118 -193
  784. package/src/components/docs/specs/SpecsPolicyPage.tsx +233 -233
  785. package/src/components/docs/specs/SpecsWorkflowsPage.tsx +156 -156
  786. package/src/components/docs/specs/index.ts +3 -3
  787. package/src/components/docs/studio/StudioBYOKPage.tsx +11 -11
  788. package/src/components/docs/studio/StudioDeploymentsPage.tsx +11 -11
  789. package/src/components/docs/studio/StudioGettingStartedPage.tsx +11 -11
  790. package/src/components/docs/studio/StudioIntegrationsPage.tsx +11 -11
  791. package/src/components/docs/studio/StudioOverviewPage.tsx +94 -73
  792. package/src/components/docs/studio/StudioVisualBuilderPage.tsx +11 -11
  793. package/src/components/docs/studio/index.ts +4 -4
  794. package/src/components/docs/tech/contracts/tech-docs.docblocks.ts +10 -10
  795. package/src/components/integrations/molecules/IntegrationCard.tsx +71 -72
  796. package/src/components/integrations/organisms/IntegrationMarketplace.tsx +116 -116
  797. package/src/components/integrations/organisms/IntegrationSettings.tsx +201 -201
  798. package/src/components/integrations/organisms/KnowledgeSourceList.tsx +93 -94
  799. package/src/components/legal/PrivacyTemplate.tsx +611 -611
  800. package/src/components/legal/TermsTemplate.tsx +675 -675
  801. package/src/components/shared/FeatureGateNotice.tsx +26 -27
  802. package/src/components/shell/WorkspaceHeader.tsx +80 -80
  803. package/src/components/shell/WorkspaceProjectShellLayout.tsx +59 -58
  804. package/src/components/shell/WorkspaceShellRenderer.tsx +69 -68
  805. package/src/components/shell/WorkspaceSidebar.tsx +58 -58
  806. package/src/components/shell/index.ts +1 -1
  807. package/src/components/templates/engine/index.ts +29 -28
  808. package/src/components/templates/index.ts +1 -1
  809. package/src/components/templates/messaging/ConversationList.tsx +68 -69
  810. package/src/components/templates/messaging/MessageComposer.tsx +59 -59
  811. package/src/components/templates/messaging/MessageThread.tsx +73 -74
  812. package/src/components/templates/messaging/MessagingWorkspace.tsx +18 -19
  813. package/src/components/templates/messaging/index.ts +1 -1
  814. package/src/components/templates/messaging/types.ts +17 -17
  815. package/src/components/templates/recipes/LanguageSwitcher.tsx +20 -20
  816. package/src/components/templates/recipes/RecipeCard.tsx +56 -56
  817. package/src/components/templates/recipes/RecipeDetail.tsx +43 -43
  818. package/src/components/templates/recipes/RecipeList.tsx +62 -63
  819. package/src/components/templates/recipes/index.ts +2 -2
  820. package/src/components/templates/recipes/types.ts +24 -24
  821. package/src/components/templates/todos/FilterBar.tsx +84 -84
  822. package/src/components/templates/todos/TaskForm.tsx +118 -119
  823. package/src/components/templates/todos/TaskItem.tsx +78 -78
  824. package/src/components/templates/todos/TaskList.tsx +106 -107
  825. package/src/components/templates/todos/index.ts +2 -2
  826. package/src/components/templates/todos/types.ts +11 -11
  827. package/src/config/contractspec-blueprint.ts +55 -55
  828. package/src/config/contractspec-branding.ts +37 -37
  829. package/src/config/contractspec-routes.ts +22 -22
  830. package/src/config/index.ts +14 -15
  831. package/src/features/contracts-registry.ts +118 -118
  832. package/src/features/docs/docs.contracts.ts +6 -6
  833. package/src/features/docs/index.ts +6 -6
  834. package/src/features/docs.feature.ts +27 -27
  835. package/src/features/index.ts +59 -63
  836. package/src/features/mcp.feature.ts +24 -24
  837. package/src/features/presentations.feature.ts +27 -27
  838. package/src/features/registry.ts +14 -14
  839. package/src/index.ts +2 -2
  840. package/src/infrastructure/elysia/logger.ts +21 -21
  841. package/src/libs/email/client.test.ts +81 -81
  842. package/src/libs/email/client.ts +111 -111
  843. package/src/libs/email/contact.ts +35 -35
  844. package/src/libs/email/newsletter.ts +46 -46
  845. package/src/libs/email/types.ts +29 -29
  846. package/src/libs/email/utils.ts +5 -5
  847. package/src/libs/email/waitlist-application.ts +69 -69
  848. package/src/libs/email/waitlist.ts +46 -46
  849. package/src/libs/email.ts +7 -7
  850. package/src/libs/posthog/client.ts +44 -44
  851. package/src/libs/posthog/native.ts +23 -22
  852. package/src/libs/posthog/server.ts +7 -7
  853. package/src/libs/pricing-examples.ts +12 -12
  854. package/src/presentation/features/atoms/FeatureIcon/FeatureIcon.tsx +90 -90
  855. package/src/presentation/features/atoms/FeatureIcon/index.ts +3 -3
  856. package/src/presentation/features/hooks/index.ts +9 -9
  857. package/src/presentation/features/hooks/useContractsRegistry.ts +23 -23
  858. package/src/presentation/features/hooks/useFeatureFilters.ts +117 -117
  859. package/src/presentation/features/hooks/useFeatureRegistry.ts +40 -40
  860. package/src/presentation/features/hooks/useRelatedDocs.ts +28 -28
  861. package/src/presentation/features/index.ts +50 -52
  862. package/src/presentation/features/molecules/FeatureCard/FeatureCard.tsx +80 -80
  863. package/src/presentation/features/molecules/FeatureCard/types.ts +6 -6
  864. package/src/presentation/features/molecules/FeatureCategoryHeader/FeatureCategoryHeader.tsx +54 -54
  865. package/src/presentation/features/molecules/FeatureCategoryHeader/index.ts +2 -2
  866. package/src/presentation/features/molecules/FeatureFilters/FeatureFilters.tsx +67 -67
  867. package/src/presentation/features/molecules/FeatureFilters/types.ts +20 -20
  868. package/src/presentation/features/molecules/FeatureHoverPreview/FeatureHoverPreview.tsx +120 -121
  869. package/src/presentation/features/molecules/FeatureHoverPreview/index.ts +2 -2
  870. package/src/presentation/features/molecules/index.ts +8 -8
  871. package/src/presentation/features/organisms/FeatureDataViewsList.tsx +21 -21
  872. package/src/presentation/features/organisms/FeatureDetail/FeatureDetail.tsx +86 -86
  873. package/src/presentation/features/organisms/FeatureDetail/types.ts +4 -4
  874. package/src/presentation/features/organisms/FeatureDiscovery/FeatureDiscovery.tsx +210 -210
  875. package/src/presentation/features/organisms/FeatureDiscovery/index.ts +3 -3
  876. package/src/presentation/features/organisms/FeatureDiscovery/types.ts +10 -10
  877. package/src/presentation/features/organisms/FeatureEventsList.tsx +19 -19
  878. package/src/presentation/features/organisms/FeatureFormsList.tsx +19 -19
  879. package/src/presentation/features/organisms/FeatureOperationsList.tsx +21 -21
  880. package/src/presentation/features/organisms/FeaturePresentationsList.tsx +21 -21
  881. package/src/presentation/features/organisms/index.ts +6 -6
  882. package/src/presentation/features/templates/FeatureDataViewDetailTemplate/FeatureDataViewDetailTemplate.tsx +219 -219
  883. package/src/presentation/features/templates/FeatureDataViewDetailTemplate/types.ts +7 -7
  884. package/src/presentation/features/templates/FeatureDataViewsTemplate/FeatureDataViewsTemplate.tsx +26 -26
  885. package/src/presentation/features/templates/FeatureEventDetailTemplate/FeatureEventDetailTemplate.tsx +195 -195
  886. package/src/presentation/features/templates/FeatureEventDetailTemplate/types.ts +7 -7
  887. package/src/presentation/features/templates/FeatureEventsTemplate/FeatureEventsTemplate.tsx +26 -26
  888. package/src/presentation/features/templates/FeatureFormDetailTemplate/FeatureFormDetailTemplate.tsx +216 -216
  889. package/src/presentation/features/templates/FeatureFormDetailTemplate/types.ts +7 -7
  890. package/src/presentation/features/templates/FeatureFormsTemplate/FeatureFormsTemplate.tsx +26 -26
  891. package/src/presentation/features/templates/FeatureOperationDetailTemplate/FeatureOperationDetailTemplate.tsx +228 -228
  892. package/src/presentation/features/templates/FeatureOperationDetailTemplate/types.ts +7 -7
  893. package/src/presentation/features/templates/FeatureOperationsTemplate/FeatureOperationsTemplate.tsx +26 -26
  894. package/src/presentation/features/templates/FeatureOverviewTemplate/FeatureOverviewTemplate.tsx +24 -24
  895. package/src/presentation/features/templates/FeaturePresentationDetailTemplate/FeaturePresentationDetailTemplate.tsx +201 -201
  896. package/src/presentation/features/templates/FeaturePresentationDetailTemplate/types.ts +8 -8
  897. package/src/presentation/features/templates/FeaturePresentationsTemplate/FeaturePresentationsTemplate.tsx +26 -26
  898. package/src/presentation/features/templates/types.ts +2 -2
  899. package/tsconfig.json +12 -12
  900. package/tsdown.config.js +5 -5
@@ -1,265 +1,912 @@
1
1
  // @bun
2
+ // src/components/docs/docsManifest.ts
3
+ var DOCS_PRIMARY_SECTIONS = [
4
+ {
5
+ key: "start",
6
+ title: "Start",
7
+ description: "Install ContractSpec, wire a first contract, and adopt it into an existing codebase."
8
+ },
9
+ {
10
+ key: "core-model",
11
+ title: "Core Model",
12
+ description: "Learn how contracts, generated surfaces, policies, overlays, and safe regeneration fit together."
13
+ },
14
+ {
15
+ key: "build",
16
+ title: "Build",
17
+ description: "Use practical guides, libraries, architecture patterns, and examples to ship real surfaces."
18
+ },
19
+ {
20
+ key: "operate",
21
+ title: "Operate",
22
+ description: "Run the system safely with governance, auditability, tracing, and operator-grade controls."
23
+ },
24
+ {
25
+ key: "integrations",
26
+ title: "Integrations",
27
+ description: "Connect models, messaging, storage, payments, search, and external systems through typed bindings."
28
+ },
29
+ {
30
+ key: "reference",
31
+ title: "Reference",
32
+ description: "Search generated contract docs, inspect example packages, and navigate the system as source of truth."
33
+ },
34
+ {
35
+ key: "studio",
36
+ title: "Studio",
37
+ description: "Understand what Studio adds on top of the open system and when to adopt it."
38
+ }
39
+ ];
40
+ var DOCS_PAGES = [
41
+ {
42
+ href: "/docs",
43
+ title: "Documentation",
44
+ description: "OSS-first documentation for ContractSpec, the open spec system for AI-native software.",
45
+ audience: "oss",
46
+ ctaMode: "oss-next"
47
+ },
48
+ {
49
+ href: "/docs/getting-started/start-here",
50
+ title: "Start here",
51
+ description: "The fastest path from install to your first contract and generated surface.",
52
+ section: "start",
53
+ order: 10,
54
+ primaryNav: true,
55
+ audience: "oss",
56
+ ctaMode: "oss-next"
57
+ },
58
+ {
59
+ href: "/docs/getting-started/installation",
60
+ title: "Installation",
61
+ description: "Install the CLI and core packages, then prepare a workspace for incremental adoption.",
62
+ section: "start",
63
+ order: 20,
64
+ primaryNav: true,
65
+ audience: "oss",
66
+ ctaMode: "oss-next"
67
+ },
68
+ {
69
+ href: "/docs/getting-started/hello-world",
70
+ title: "Hello world",
71
+ description: "Define a first operation, generate the surface, and verify the end-to-end loop.",
72
+ section: "start",
73
+ order: 30,
74
+ primaryNav: true,
75
+ audience: "oss",
76
+ ctaMode: "oss-next"
77
+ },
78
+ {
79
+ href: "/docs/getting-started/compatibility",
80
+ title: "Compatibility",
81
+ description: "Check the supported runtimes, package managers, and adoption assumptions before rollout.",
82
+ section: "start",
83
+ order: 40,
84
+ primaryNav: true,
85
+ audience: "oss",
86
+ ctaMode: "oss-next"
87
+ },
88
+ {
89
+ href: "/docs/getting-started/tools",
90
+ title: "Developer tools",
91
+ description: "Use the CLI, editors, and helper tooling that make the OSS workflow practical day to day.",
92
+ section: "start",
93
+ order: 50,
94
+ primaryNav: true,
95
+ audience: "oss",
96
+ ctaMode: "oss-next"
97
+ },
98
+ {
99
+ href: "/docs/getting-started/troubleshooting",
100
+ title: "Troubleshooting",
101
+ description: "Resolve the common installation, validation, and runtime mistakes you hit during first adoption.",
102
+ section: "start",
103
+ order: 60,
104
+ primaryNav: true,
105
+ audience: "oss",
106
+ ctaMode: "oss-next"
107
+ },
108
+ {
109
+ href: "/docs/specs",
110
+ title: "Contracts and specs",
111
+ description: "Understand the spec model that drives generated surfaces, validation, policy, and safe regeneration.",
112
+ section: "core-model",
113
+ order: 10,
114
+ primaryNav: true,
115
+ audience: "oss",
116
+ ctaMode: "oss-next"
117
+ },
118
+ {
119
+ href: "/docs/specs/capabilities",
120
+ title: "Capabilities",
121
+ description: "Model commands, queries, presentations, and events as explicit contract surfaces.",
122
+ section: "core-model",
123
+ order: 20,
124
+ primaryNav: true,
125
+ audience: "oss",
126
+ ctaMode: "oss-next"
127
+ },
128
+ {
129
+ href: "/docs/specs/dataviews",
130
+ title: "Data views",
131
+ description: "Define queryable, presentable views that stay aligned with the rest of the system.",
132
+ section: "core-model",
133
+ order: 30,
134
+ primaryNav: true,
135
+ audience: "oss",
136
+ ctaMode: "oss-next"
137
+ },
138
+ {
139
+ href: "/docs/specs/workflows",
140
+ title: "Workflows",
141
+ description: "Compose multi-step behavior from typed contracts, policies, and runtime orchestration.",
142
+ section: "core-model",
143
+ order: 40,
144
+ primaryNav: true,
145
+ audience: "oss",
146
+ ctaMode: "oss-next"
147
+ },
148
+ {
149
+ href: "/docs/specs/policy",
150
+ title: "Policy",
151
+ description: "Apply consistent governance, access rules, and risk controls across every surface.",
152
+ section: "core-model",
153
+ order: 50,
154
+ primaryNav: true,
155
+ audience: "operator",
156
+ ctaMode: "oss-next"
157
+ },
158
+ {
159
+ href: "/docs/specs/overlays",
160
+ title: "Overlays",
161
+ description: "Customize generated surfaces safely without forking the system or breaking regeneration.",
162
+ section: "core-model",
163
+ order: 60,
164
+ primaryNav: true,
165
+ audience: "oss",
166
+ ctaMode: "oss-next"
167
+ },
168
+ {
169
+ href: "/docs/guides/contract-types",
170
+ title: "Contract types",
171
+ description: "Choose the right contract surface for the behavior you want to make explicit.",
172
+ section: "core-model",
173
+ order: 70,
174
+ primaryNav: true,
175
+ audience: "oss",
176
+ ctaMode: "oss-next"
177
+ },
178
+ {
179
+ href: "/docs/guides",
180
+ title: "Guides",
181
+ description: "Follow concrete adoption paths for existing apps, generated docs, CI gating, and typed surfaces.",
182
+ section: "build",
183
+ order: 10,
184
+ primaryNav: true,
185
+ audience: "oss",
186
+ ctaMode: "oss-next"
187
+ },
188
+ {
189
+ href: "/docs/guides/nextjs-one-endpoint",
190
+ title: "Adopt one endpoint in Next.js",
191
+ description: "Start with one endpoint, one contract, and one generated surface in an existing Next.js app.",
192
+ section: "build",
193
+ order: 20,
194
+ navTitle: "Next.js endpoint",
195
+ primaryNav: true,
196
+ audience: "oss",
197
+ ctaMode: "oss-next"
198
+ },
199
+ {
200
+ href: "/docs/guides/import-existing-codebases",
201
+ title: "Import an existing codebase",
202
+ description: "Stabilize a live codebase incrementally instead of rewriting it from scratch.",
203
+ section: "build",
204
+ order: 30,
205
+ navTitle: "Import existing code",
206
+ primaryNav: true,
207
+ audience: "oss",
208
+ ctaMode: "oss-next"
209
+ },
210
+ {
211
+ href: "/docs/guides/spec-validation-and-typing",
212
+ title: "Validation and typing",
213
+ description: "Keep runtime validation and TypeScript types aligned from the same source definitions.",
214
+ section: "build",
215
+ order: 40,
216
+ navTitle: "Validation and typing",
217
+ primaryNav: true,
218
+ audience: "oss",
219
+ ctaMode: "oss-next"
220
+ },
221
+ {
222
+ href: "/docs/guides/generate-docs-clients-schemas",
223
+ title: "Generate docs, clients, and schemas",
224
+ description: "Export stable docs and client-facing artifacts from the same contract layer.",
225
+ section: "build",
226
+ order: 50,
227
+ navTitle: "Generate docs and clients",
228
+ primaryNav: true,
229
+ audience: "oss",
230
+ ctaMode: "reference"
231
+ },
232
+ {
233
+ href: "/docs/guides/docs-generation-pipeline",
234
+ title: "Docs generation pipeline",
235
+ description: "Feed generated docs into the public docs site without breaking source-of-truth ownership.",
236
+ section: "build",
237
+ order: 60,
238
+ navTitle: "Docs pipeline",
239
+ primaryNav: true,
240
+ audience: "oss",
241
+ ctaMode: "reference"
242
+ },
243
+ {
244
+ href: "/docs/libraries",
245
+ title: "Libraries overview",
246
+ description: "Navigate the core libraries, runtimes, and system packages that make up the open foundation.",
247
+ section: "build",
248
+ order: 70,
249
+ primaryNav: true,
250
+ audience: "oss",
251
+ ctaMode: "oss-next"
252
+ },
253
+ {
254
+ href: "/docs/architecture",
255
+ title: "Architecture",
256
+ description: "See how the spec layer, runtimes, integrations, and multi-surface outputs fit together.",
257
+ section: "build",
258
+ order: 80,
259
+ primaryNav: true,
260
+ audience: "oss",
261
+ ctaMode: "oss-next"
262
+ },
263
+ {
264
+ href: "/docs/safety",
265
+ title: "Operate safely",
266
+ description: "Add auditability, migrations, policy controls, and trustworthy release behavior from the start.",
267
+ section: "operate",
268
+ order: 10,
269
+ navTitle: "Safety overview",
270
+ primaryNav: true,
271
+ audience: "operator",
272
+ ctaMode: "oss-next"
273
+ },
274
+ {
275
+ href: "/docs/guides/ci-contract-diff-gating",
276
+ title: "CI diff gating",
277
+ description: "Use deterministic checks to block drift and risky changes before they reach production.",
278
+ section: "operate",
279
+ order: 20,
280
+ primaryNav: true,
281
+ audience: "operator",
282
+ ctaMode: "oss-next"
283
+ },
284
+ {
285
+ href: "/docs/safety/security-trust",
286
+ title: "Security and trust",
287
+ description: "Understand the trust model, artifact validation expectations, and operational boundaries.",
288
+ section: "operate",
289
+ order: 30,
290
+ primaryNav: true,
291
+ audience: "operator",
292
+ ctaMode: "oss-next"
293
+ },
294
+ {
295
+ href: "/docs/safety/auditing",
296
+ title: "Audit trails",
297
+ description: "Track changes, policy decisions, and operational actions with a clear evidence trail.",
298
+ section: "operate",
299
+ order: 40,
300
+ primaryNav: true,
301
+ audience: "operator",
302
+ ctaMode: "oss-next"
303
+ },
304
+ {
305
+ href: "/docs/safety/migrations",
306
+ title: "Migrations",
307
+ description: "Evolve schemas and data safely without abandoning the contract layer.",
308
+ section: "operate",
309
+ order: 50,
310
+ primaryNav: true,
311
+ audience: "operator",
312
+ ctaMode: "oss-next"
313
+ },
314
+ {
315
+ href: "/docs/safety/tenant-isolation",
316
+ title: "Tenant isolation",
317
+ description: "Keep tenant data, config, policies, and integrations separated at runtime.",
318
+ section: "operate",
319
+ order: 60,
320
+ primaryNav: true,
321
+ audience: "operator",
322
+ ctaMode: "oss-next"
323
+ },
324
+ {
325
+ href: "/docs/knowledge",
326
+ title: "Knowledge and context",
327
+ description: "Bind trusted knowledge sources to the system without losing governance or isolation.",
328
+ section: "operate",
329
+ order: 70,
330
+ primaryNav: true,
331
+ audience: "operator",
332
+ ctaMode: "oss-next"
333
+ },
334
+ {
335
+ href: "/docs/advanced/telemetry",
336
+ title: "Telemetry",
337
+ description: "Instrument surfaces, collect evidence, and keep observability aligned with the contract model.",
338
+ section: "operate",
339
+ order: 80,
340
+ primaryNav: true,
341
+ audience: "operator",
342
+ ctaMode: "oss-next"
343
+ },
344
+ {
345
+ href: "/docs/advanced/workflow-monitoring",
346
+ title: "Workflow monitoring",
347
+ description: "Observe multi-step execution with enough context to understand failures and regressions.",
348
+ section: "operate",
349
+ order: 90,
350
+ primaryNav: true,
351
+ audience: "operator",
352
+ ctaMode: "oss-next"
353
+ },
354
+ {
355
+ href: "/docs/ops/distributed-tracing",
356
+ title: "Distributed tracing",
357
+ description: "Trace contract execution across integrations, workflows, and generated surfaces.",
358
+ section: "operate",
359
+ order: 100,
360
+ primaryNav: true,
361
+ audience: "operator",
362
+ ctaMode: "oss-next"
363
+ },
364
+ {
365
+ href: "/docs/integrations",
366
+ title: "Integrations overview",
367
+ description: "Understand the binding model for external services, providers, and tenant-owned connections.",
368
+ section: "integrations",
369
+ order: 10,
370
+ primaryNav: true,
371
+ audience: "oss",
372
+ ctaMode: "oss-next"
373
+ },
374
+ {
375
+ href: "/docs/integrations/spec-model",
376
+ title: "Integration spec model",
377
+ description: "Define what an integration provides before wiring it into an app or runtime.",
378
+ section: "integrations",
379
+ order: 20,
380
+ primaryNav: true,
381
+ audience: "oss",
382
+ ctaMode: "oss-next"
383
+ },
384
+ {
385
+ href: "/docs/integrations/openai",
386
+ title: "OpenAI integration",
387
+ description: "Connect OpenAI through typed capabilities, explicit provider config, and governed runtime usage.",
388
+ section: "integrations",
389
+ order: 30,
390
+ primaryNav: true,
391
+ audience: "oss",
392
+ ctaMode: "oss-next"
393
+ },
394
+ {
395
+ href: "/docs/integrations/mistral",
396
+ title: "Mistral integration",
397
+ description: "Use Mistral through the same provider contract model and runtime guardrails.",
398
+ section: "integrations",
399
+ order: 40,
400
+ primaryNav: true,
401
+ audience: "oss",
402
+ ctaMode: "oss-next"
403
+ },
404
+ {
405
+ href: "/docs/integrations/qdrant",
406
+ title: "Qdrant integration",
407
+ description: "Store and retrieve knowledge embeddings with explicit provider configuration and ownership.",
408
+ section: "integrations",
409
+ order: 50,
410
+ primaryNav: true,
411
+ audience: "operator",
412
+ ctaMode: "oss-next"
413
+ },
414
+ {
415
+ href: "/docs/integrations/stripe",
416
+ title: "Stripe integration",
417
+ description: "Bind payments and billing behavior without smearing provider logic across the codebase.",
418
+ section: "integrations",
419
+ order: 60,
420
+ primaryNav: true,
421
+ audience: "oss",
422
+ ctaMode: "oss-next"
423
+ },
424
+ {
425
+ href: "/docs/integrations/twilio",
426
+ title: "Twilio integration",
427
+ description: "Handle messaging and telephony through typed transport boundaries and explicit configuration.",
428
+ section: "integrations",
429
+ order: 70,
430
+ primaryNav: true,
431
+ audience: "oss",
432
+ ctaMode: "oss-next"
433
+ },
434
+ {
435
+ href: "/docs/integrations/github",
436
+ title: "GitHub integration",
437
+ description: "Push execution context into GitHub workflows and automation surfaces without hidden glue.",
438
+ section: "integrations",
439
+ order: 80,
440
+ primaryNav: true,
441
+ audience: "oss",
442
+ ctaMode: "oss-next"
443
+ },
444
+ {
445
+ href: "/docs/reference",
446
+ title: "Contract reference",
447
+ description: "Browse the generated reference index for public contract surfaces, versions, and examples.",
448
+ section: "reference",
449
+ order: 10,
450
+ primaryNav: true,
451
+ audience: "reference",
452
+ ctaMode: "reference"
453
+ },
454
+ {
455
+ href: "/docs/examples",
456
+ title: "Examples",
457
+ description: "Explore runnable examples and use them as reference implementations for new systems.",
458
+ section: "reference",
459
+ order: 20,
460
+ primaryNav: true,
461
+ audience: "reference",
462
+ ctaMode: "reference"
463
+ },
464
+ {
465
+ href: "/docs/studio",
466
+ title: "Studio overview",
467
+ description: "See what Studio adds on top of OSS ContractSpec and when a team should adopt the operating layer.",
468
+ section: "studio",
469
+ order: 10,
470
+ primaryNav: true,
471
+ audience: "studio-bridge",
472
+ ctaMode: "studio-bridge"
473
+ },
474
+ {
475
+ href: "/docs/manifesto",
476
+ title: "Manifesto",
477
+ description: "Why ContractSpec is built as an open system, how incremental adoption works, and why Studio stays additive.",
478
+ audience: "secondary"
479
+ },
480
+ {
481
+ href: "/docs/intent/contract-first-api",
482
+ title: "Contract-first API",
483
+ description: "Use contracts as the durable source of truth for API behavior and generated surfaces.",
484
+ audience: "secondary"
485
+ },
486
+ {
487
+ href: "/docs/intent/spec-driven-development",
488
+ title: "Spec-driven development",
489
+ description: "See how explicit specs stabilize change across APIs, UI, data, and agent-facing surfaces.",
490
+ audience: "secondary"
491
+ },
492
+ {
493
+ href: "/docs/intent/deterministic-codegen",
494
+ title: "Deterministic regeneration",
495
+ description: "Understand safe regeneration, conflict boundaries, and why teams keep control of the output.",
496
+ audience: "secondary"
497
+ },
498
+ {
499
+ href: "/docs/intent/schema-validation-typescript",
500
+ title: "Schema validation and TypeScript",
501
+ description: "Keep schema, runtime validation, and TypeScript behavior aligned without duplicate work.",
502
+ audience: "secondary"
503
+ },
504
+ {
505
+ href: "/docs/intent/openapi-alternative",
506
+ title: "OpenAPI alternative",
507
+ description: "Compare a multi-surface contract system with API-only description tooling.",
508
+ audience: "secondary"
509
+ },
510
+ {
511
+ href: "/docs/intent/generate-client-from-schema",
512
+ title: "Generate client from schema",
513
+ description: "Generate client-facing artifacts from the same source that drives runtime behavior.",
514
+ audience: "secondary"
515
+ },
516
+ {
517
+ href: "/docs/comparison",
518
+ title: "Comparison overview",
519
+ description: "Compare ContractSpec with workflow engines, internal-tool builders, and enterprise orchestration products.",
520
+ audience: "secondary"
521
+ },
522
+ {
523
+ href: "/docs/comparison/workflow-engines",
524
+ title: "Workflow engines",
525
+ description: "Contrast a contract system with workflow-only orchestration approaches.",
526
+ audience: "secondary"
527
+ },
528
+ {
529
+ href: "/docs/comparison/internal-tool-builders",
530
+ title: "Internal-tool builders",
531
+ description: "Compare ContractSpec with builders that optimize for screens instead of durable system contracts.",
532
+ audience: "secondary"
533
+ },
534
+ {
535
+ href: "/docs/comparison/automation-platforms",
536
+ title: "Automation platforms",
537
+ description: "Compare automation-first tools with a system that owns explicit contracts and generated surfaces.",
538
+ audience: "secondary"
539
+ },
540
+ {
541
+ href: "/docs/comparison/windmill",
542
+ title: "Windmill comparison",
543
+ description: "Understand where Windmill fits and where ContractSpec solves a different class of system problem.",
544
+ audience: "secondary"
545
+ },
546
+ {
547
+ href: "/docs/comparison/enterprise-platforms",
548
+ title: "Enterprise orchestrators",
549
+ description: "Compare ContractSpec with enterprise platforms that centralize execution in a closed operating surface.",
550
+ audience: "secondary"
551
+ },
552
+ {
553
+ href: "/docs/ecosystem/templates",
554
+ title: "Templates",
555
+ description: "Use templates and starter systems as proof points and accelerators for OSS adoption.",
556
+ audience: "secondary"
557
+ },
558
+ {
559
+ href: "/docs/ecosystem/plugins",
560
+ title: "Plugins",
561
+ description: "Explore marketplace and editor integrations that support the OSS workflow.",
562
+ audience: "secondary"
563
+ },
564
+ {
565
+ href: "/docs/ecosystem/registry",
566
+ title: "Registry",
567
+ description: "Inspect registry and manifest concepts that help package reusable capability surfaces.",
568
+ audience: "secondary"
569
+ }
570
+ ];
571
+ function getDocsPageByHref(href) {
572
+ return DOCS_PAGES.find((page) => page.href === href);
573
+ }
574
+ function getPrimaryDocsSections() {
575
+ return DOCS_PRIMARY_SECTIONS.map((section) => ({
576
+ ...section,
577
+ items: DOCS_PAGES.filter((page) => page.section === section.key && page.primaryNav).sort((a, b) => (a.order ?? 0) - (b.order ?? 0))
578
+ }));
579
+ }
580
+ function getPrimaryDocsTraversal() {
581
+ return DOCS_PAGES.filter((page) => page.primaryNav).sort((a, b) => DOCS_PRIMARY_SECTIONS.findIndex((section) => section.key === a.section) - DOCS_PRIMARY_SECTIONS.findIndex((section) => section.key === b.section) || (a.order ?? 0) - (b.order ?? 0));
582
+ }
583
+ function getDocsNextPrevious(href) {
584
+ const traversal = getPrimaryDocsTraversal();
585
+ const index = traversal.findIndex((page) => page.href === href);
586
+ if (index < 0) {
587
+ return { previous: null, next: null };
588
+ }
589
+ return {
590
+ previous: traversal[index - 1] ?? null,
591
+ next: traversal[index + 1] ?? null
592
+ };
593
+ }
594
+ function getSecondaryDocsPages() {
595
+ return DOCS_PAGES.filter((page) => page.audience === "secondary");
596
+ }
597
+ function getDocsHomeSections() {
598
+ return getPrimaryDocsSections().map((section) => ({
599
+ ...section,
600
+ featured: section.items.slice(0, 3)
601
+ }));
602
+ }
603
+
2
604
  // src/components/docs/DocsIndexPage.tsx
3
605
  import { CodeBlock } from "@contractspec/lib.design-system";
4
606
  import Link from "@contractspec/lib.ui-link";
5
- import { BookOpen, ChevronRight, Shield, Zap } from "lucide-react";
607
+ import {
608
+ ArrowRight,
609
+ Boxes,
610
+ FileSearch,
611
+ ShieldCheck,
612
+ Waypoints
613
+ } from "lucide-react";
6
614
  import { jsx, jsxs } from "react/jsx-runtime";
615
+ var proofPoints = [
616
+ {
617
+ title: "One system, many surfaces",
618
+ body: "Define explicit contracts once, then keep APIs, UI, data, events, and agent-facing surfaces aligned.",
619
+ icon: Boxes
620
+ },
621
+ {
622
+ title: "Incremental adoption",
623
+ body: "Start with one endpoint, one workflow, or one unsafe module. You do not need a rewrite to begin.",
624
+ icon: Waypoints
625
+ },
626
+ {
627
+ title: "Operator-grade controls",
628
+ body: "Carry policy, auditability, migrations, tracing, and integration boundaries forward with the same system model.",
629
+ icon: ShieldCheck
630
+ }
631
+ ];
7
632
  function DocsIndexPage() {
633
+ const sections = getDocsHomeSections();
634
+ const secondary = getSecondaryDocsPages().slice(0, 6);
8
635
  return /* @__PURE__ */ jsxs("div", {
9
636
  className: "space-y-12",
10
637
  children: [
11
- /* @__PURE__ */ jsxs("div", {
12
- className: "space-y-4",
638
+ /* @__PURE__ */ jsxs("section", {
639
+ className: "space-y-6",
13
640
  children: [
641
+ /* @__PURE__ */ jsx("p", {
642
+ className: "editorial-kicker",
643
+ children: "OSS documentation"
644
+ }),
14
645
  /* @__PURE__ */ jsx("h1", {
15
- className: "text-4xl font-bold md:text-5xl",
16
- children: "Documentation"
646
+ className: "editorial-title max-w-5xl",
647
+ children: "Build AI-native systems on explicit contracts, then add Studio when you want the operating layer."
17
648
  }),
18
649
  /* @__PURE__ */ jsx("p", {
19
- className: "text-muted-foreground max-w-2xl text-lg",
20
- children: "Stabilize your AI-generated code. Define contracts once, generate consistent code across all surfaces, regenerate safely anytime."
650
+ className: "editorial-subtitle",
651
+ children: "These docs are optimized for OSS adopters first. Learn the contract model, generate and govern surfaces safely, wire integrations, and run the system in production without giving up ownership of your code."
652
+ }),
653
+ /* @__PURE__ */ jsxs("div", {
654
+ className: "flex flex-wrap gap-3",
655
+ children: [
656
+ /* @__PURE__ */ jsxs(Link, {
657
+ href: "/docs/getting-started/start-here",
658
+ className: "btn-primary text-sm",
659
+ children: [
660
+ "Start with OSS ",
661
+ /* @__PURE__ */ jsx(ArrowRight, {
662
+ size: 16
663
+ })
664
+ ]
665
+ }),
666
+ /* @__PURE__ */ jsx(Link, {
667
+ href: "/docs/studio",
668
+ className: "btn-ghost text-sm",
669
+ children: "See what Studio adds"
670
+ })
671
+ ]
21
672
  })
22
673
  ]
23
674
  }),
24
- /* @__PURE__ */ jsxs("div", {
25
- className: "grid gap-6 md:grid-cols-3",
26
- children: [
27
- /* @__PURE__ */ jsx(Link, {
28
- href: "/docs/getting-started/installation",
29
- className: "card-subtle group space-y-3 p-6 transition-colors hover:border-violet-500/50",
30
- children: /* @__PURE__ */ jsxs("div", {
31
- className: "flex items-start justify-between",
32
- children: [
33
- /* @__PURE__ */ jsxs("div", {
34
- children: [
35
- /* @__PURE__ */ jsx("h3", {
36
- className: "text-lg font-bold transition-colors group-hover:text-violet-400",
37
- children: "Get started"
38
- }),
39
- /* @__PURE__ */ jsx("p", {
40
- className: "text-muted-foreground mt-1 text-sm",
41
- children: "Install ContractSpec and define your first contract in minutes."
675
+ /* @__PURE__ */ jsx("section", {
676
+ className: "grid gap-5 md:grid-cols-3",
677
+ children: proofPoints.map((item) => {
678
+ const Icon = item.icon;
679
+ return /* @__PURE__ */ jsxs("article", {
680
+ className: "editorial-panel space-y-3",
681
+ children: [
682
+ /* @__PURE__ */ jsxs("div", {
683
+ className: "flex items-center gap-3",
684
+ children: [
685
+ /* @__PURE__ */ jsx("div", {
686
+ className: "rounded-full border border-border/80 bg-background/85 p-2",
687
+ children: /* @__PURE__ */ jsx(Icon, {
688
+ size: 18
42
689
  })
43
- ]
44
- }),
45
- /* @__PURE__ */ jsx(Zap, {
46
- size: 20,
47
- className: "shrink-0 text-violet-400"
48
- })
49
- ]
50
- })
690
+ }),
691
+ /* @__PURE__ */ jsx("h2", {
692
+ className: "font-semibold text-xl",
693
+ children: item.title
694
+ })
695
+ ]
696
+ }),
697
+ /* @__PURE__ */ jsx("p", {
698
+ className: "editorial-copy text-sm",
699
+ children: item.body
700
+ })
701
+ ]
702
+ }, item.title);
703
+ })
704
+ }),
705
+ /* @__PURE__ */ jsxs("section", {
706
+ className: "editorial-panel space-y-5",
707
+ children: [
708
+ /* @__PURE__ */ jsxs("div", {
709
+ className: "space-y-2",
710
+ children: [
711
+ /* @__PURE__ */ jsx("p", {
712
+ className: "editorial-kicker",
713
+ children: "Quick start"
714
+ }),
715
+ /* @__PURE__ */ jsx("h2", {
716
+ className: "editorial-panel-title",
717
+ children: "Start with one contract"
718
+ }),
719
+ /* @__PURE__ */ jsx("p", {
720
+ className: "editorial-copy text-sm",
721
+ children: "Use the CLI and core libraries to define one explicit capability, generate the surface, and validate the contract boundary before you expand."
722
+ })
723
+ ]
51
724
  }),
52
- /* @__PURE__ */ jsx(Link, {
53
- href: "/docs/specs/capabilities",
54
- className: "card-subtle group space-y-3 p-6 transition-colors hover:border-violet-500/50",
55
- children: /* @__PURE__ */ jsxs("div", {
56
- className: "flex items-start justify-between",
57
- children: [
58
- /* @__PURE__ */ jsxs("div", {
59
- children: [
60
- /* @__PURE__ */ jsx("h3", {
61
- className: "text-lg font-bold transition-colors group-hover:text-violet-400",
62
- children: "Core contracts"
63
- }),
64
- /* @__PURE__ */ jsx("p", {
65
- className: "text-muted-foreground mt-1 text-sm",
66
- children: "Commands, queries, events, and presentations. The building blocks."
67
- })
68
- ]
69
- }),
70
- /* @__PURE__ */ jsx(BookOpen, {
71
- size: 20,
72
- className: "shrink-0 text-violet-400"
73
- })
74
- ]
75
- })
725
+ /* @__PURE__ */ jsx(CodeBlock, {
726
+ language: "bash",
727
+ filename: "docs-quick-start",
728
+ code: `bun add -D contractspec
729
+ bun add @contractspec/lib.contracts-spec @contractspec/lib.schema
730
+
731
+ contractspec init
732
+ contractspec create --type operation
733
+ contractspec build src/contracts/mySpec.ts
734
+ contractspec validate src/contracts/mySpec.ts`
735
+ })
736
+ ]
737
+ }),
738
+ /* @__PURE__ */ jsxs("section", {
739
+ className: "space-y-5",
740
+ children: [
741
+ /* @__PURE__ */ jsxs("div", {
742
+ className: "space-y-2",
743
+ children: [
744
+ /* @__PURE__ */ jsx("p", {
745
+ className: "editorial-kicker",
746
+ children: "Primary path"
747
+ }),
748
+ /* @__PURE__ */ jsx("h2", {
749
+ className: "editorial-panel-title",
750
+ children: "Move through the system in the right order"
751
+ }),
752
+ /* @__PURE__ */ jsx("p", {
753
+ className: "editorial-copy text-sm",
754
+ children: "Start with onboarding, then learn the model, then build and operate with confidence. The primary docs path is intentionally shorter than the full route inventory."
755
+ })
756
+ ]
76
757
  }),
77
- /* @__PURE__ */ jsx(Link, {
78
- href: "/docs/safety/signing",
79
- className: "card-subtle group space-y-3 p-6 transition-colors hover:border-violet-500/50",
80
- children: /* @__PURE__ */ jsxs("div", {
81
- className: "flex items-start justify-between",
758
+ /* @__PURE__ */ jsx("div", {
759
+ className: "grid gap-5 lg:grid-cols-2",
760
+ children: sections.map((section) => /* @__PURE__ */ jsxs("article", {
761
+ className: "editorial-panel space-y-4",
82
762
  children: [
83
763
  /* @__PURE__ */ jsxs("div", {
84
764
  children: [
85
- /* @__PURE__ */ jsx("h3", {
86
- className: "text-lg font-bold transition-colors group-hover:text-violet-400",
87
- children: "Safe regeneration"
88
- }),
89
765
  /* @__PURE__ */ jsx("p", {
90
- className: "text-muted-foreground mt-1 text-sm",
91
- children: "Golden tests, migrations, signing, and audit trails."
92
- })
93
- ]
94
- }),
95
- /* @__PURE__ */ jsx(Shield, {
96
- size: 20,
97
- className: "shrink-0 text-violet-400"
98
- })
99
- ]
100
- })
101
- }),
102
- /* @__PURE__ */ jsx(Link, {
103
- href: "/docs/studio",
104
- className: "card-subtle group space-y-3 p-6 transition-colors hover:border-violet-500/50",
105
- children: /* @__PURE__ */ jsxs("div", {
106
- className: "flex items-start justify-between",
107
- children: [
108
- /* @__PURE__ */ jsxs("div", {
109
- children: [
766
+ className: "editorial-kicker",
767
+ children: section.title
768
+ }),
110
769
  /* @__PURE__ */ jsx("h3", {
111
- className: "text-lg font-bold transition-colors group-hover:text-violet-400",
112
- children: "Studio"
770
+ className: "mt-2 font-serif text-3xl tracking-[-0.03em]",
771
+ children: section.title
113
772
  }),
114
773
  /* @__PURE__ */ jsx("p", {
115
- className: "text-muted-foreground mt-1 text-sm",
116
- children: "AI-powered product decision engine for spec-first teams."
774
+ className: "mt-3 text-muted-foreground text-sm leading-7",
775
+ children: section.description
117
776
  })
118
777
  ]
119
778
  }),
120
- /* @__PURE__ */ jsx(Zap, {
121
- size: 20,
122
- className: "shrink-0 text-violet-400"
779
+ /* @__PURE__ */ jsx("div", {
780
+ className: "space-y-3",
781
+ children: section.featured.map((page) => /* @__PURE__ */ jsxs(Link, {
782
+ href: page.href,
783
+ className: "flex items-start justify-between gap-4 rounded-[22px] border border-border/70 bg-background/70 p-4 transition-colors hover:border-[color:rgb(162_79_42_/_0.45)]",
784
+ children: [
785
+ /* @__PURE__ */ jsxs("div", {
786
+ children: [
787
+ /* @__PURE__ */ jsx("h4", {
788
+ className: "font-semibold text-base",
789
+ children: page.title
790
+ }),
791
+ /* @__PURE__ */ jsx("p", {
792
+ className: "mt-1 text-muted-foreground text-sm leading-6",
793
+ children: page.description
794
+ })
795
+ ]
796
+ }),
797
+ /* @__PURE__ */ jsx(ArrowRight, {
798
+ className: "mt-1 shrink-0",
799
+ size: 16
800
+ })
801
+ ]
802
+ }, page.href))
123
803
  })
124
804
  ]
125
- })
805
+ }, section.key))
126
806
  })
127
807
  ]
128
808
  }),
129
- /* @__PURE__ */ jsxs("div", {
130
- className: "space-y-4",
809
+ /* @__PURE__ */ jsxs("section", {
810
+ className: "grid gap-5 lg:grid-cols-[1.2fr_0.8fr]",
131
811
  children: [
132
- /* @__PURE__ */ jsx("h2", {
133
- className: "text-2xl font-bold",
134
- children: "Quick start"
135
- }),
136
- /* @__PURE__ */ jsxs("div", {
137
- className: "card-subtle space-y-4 p-6",
812
+ /* @__PURE__ */ jsxs("article", {
813
+ className: "editorial-panel space-y-4",
138
814
  children: [
139
- /* @__PURE__ */ jsx("p", {
140
- className: "text-muted-foreground",
141
- children: "Add ContractSpec to your project and define your first contract:"
142
- }),
143
- /* @__PURE__ */ jsx(CodeBlock, {
144
- language: "bash",
145
- filename: "docs-quick-start",
146
- code: `# Install the CLI and core libraries
147
- bun add -D contractspec
148
- bun add @contractspec/lib.contracts-spec @contractspec/lib.schema
149
-
150
- # Create your first contract
151
- bun contractspec create --type operation
152
-
153
- # Generate implementation
154
- bun contractspec build src/contracts/mySpec.ts`
815
+ /* @__PURE__ */ jsxs("div", {
816
+ className: "space-y-2",
817
+ children: [
818
+ /* @__PURE__ */ jsx("p", {
819
+ className: "editorial-kicker",
820
+ children: "Reference and evidence"
821
+ }),
822
+ /* @__PURE__ */ jsx("h2", {
823
+ className: "editorial-panel-title",
824
+ children: "Use generated docs and examples as proof, not just narrative copy"
825
+ }),
826
+ /* @__PURE__ */ jsx("p", {
827
+ className: "editorial-copy text-sm",
828
+ children: "The reference index and example catalog stay close to the repo truth. Use them when you need exact public surfaces, not just the explanatory layer."
829
+ })
830
+ ]
155
831
  }),
156
832
  /* @__PURE__ */ jsxs("div", {
157
- className: "flex flex-wrap gap-2",
833
+ className: "grid gap-4 md:grid-cols-2",
158
834
  children: [
159
835
  /* @__PURE__ */ jsxs(Link, {
160
- href: "/docs/getting-started/installation",
161
- className: "btn-primary text-sm",
836
+ href: "/docs/reference",
837
+ className: "docs-footer-link",
162
838
  children: [
163
- "Installation guide ",
164
- /* @__PURE__ */ jsx(ChevronRight, {
165
- size: 16
839
+ /* @__PURE__ */ jsxs("div", {
840
+ className: "flex items-center gap-2 text-muted-foreground text-sm",
841
+ children: [
842
+ /* @__PURE__ */ jsx(FileSearch, {
843
+ size: 16
844
+ }),
845
+ /* @__PURE__ */ jsx("span", {
846
+ children: "Reference index"
847
+ })
848
+ ]
849
+ }),
850
+ /* @__PURE__ */ jsx("p", {
851
+ className: "text-muted-foreground text-sm",
852
+ children: "Search generated contract docs, versions, tags, and visibility metadata."
166
853
  })
167
854
  ]
168
855
  }),
169
- /* @__PURE__ */ jsx(Link, {
170
- href: "/docs/getting-started/hello-world",
171
- className: "btn-ghost text-sm",
172
- children: "First contract tutorial"
856
+ /* @__PURE__ */ jsxs(Link, {
857
+ href: "/docs/examples",
858
+ className: "docs-footer-link",
859
+ children: [
860
+ /* @__PURE__ */ jsxs("div", {
861
+ className: "flex items-center gap-2 text-muted-foreground text-sm",
862
+ children: [
863
+ /* @__PURE__ */ jsx(Boxes, {
864
+ size: 16
865
+ }),
866
+ /* @__PURE__ */ jsx("span", {
867
+ children: "Examples"
868
+ })
869
+ ]
870
+ }),
871
+ /* @__PURE__ */ jsx("p", {
872
+ className: "text-muted-foreground text-sm",
873
+ children: "Browse runnable examples and follow the reference routes back to their source artifacts."
874
+ })
875
+ ]
173
876
  })
174
877
  ]
175
878
  })
176
879
  ]
177
- })
178
- ]
179
- }),
180
- /* @__PURE__ */ jsxs("div", {
181
- className: "space-y-4",
182
- children: [
183
- /* @__PURE__ */ jsx("h2", {
184
- className: "text-2xl font-bold",
185
- children: "Browse all documentation"
186
- }),
187
- /* @__PURE__ */ jsx("p", {
188
- className: "text-muted-foreground",
189
- children: "Use the sidebar or choose a topic to explore spec-first development."
190
880
  }),
191
- /* @__PURE__ */ jsx("div", {
192
- className: "mt-6 grid gap-4 md:grid-cols-2",
881
+ /* @__PURE__ */ jsxs("article", {
882
+ className: "editorial-panel space-y-4",
193
883
  children: [
194
- {
195
- title: "Getting Started",
196
- description: "Installation, first contract, and CLI usage",
197
- href: "/docs/getting-started/installation"
198
- },
199
- {
200
- title: "Guides",
201
- description: "Runnable adoption scenarios with examples",
202
- href: "/docs/guides"
203
- },
204
- {
205
- title: "Intent Pages",
206
- description: "SEO-optimized pages for specific developer needs",
207
- href: "/docs/intent"
208
- },
209
- {
210
- title: "Ecosystem",
211
- description: "Cursor marketplace plugins, templates, manifest, and integrations",
212
- href: "/docs/ecosystem/plugins"
213
- },
214
- {
215
- title: "Core Contracts",
216
- description: "Commands, queries, events, presentations, workflows",
217
- href: "/docs/specs/capabilities"
218
- },
219
- {
220
- title: "Safe Regeneration",
221
- description: "Signing, migrations, golden tests, compliance",
222
- href: "/docs/safety/signing"
223
- },
224
- {
225
- title: "Multi-Surface Output",
226
- description: "REST, GraphQL, Prisma, MCP tools, React",
227
- href: "/docs/advanced/renderers"
228
- },
229
- {
230
- title: "Libraries",
231
- description: "Core runtime libraries and utilities",
232
- href: "/docs/libraries"
233
- },
234
- {
235
- title: "AI Governance",
236
- description: "Agents, contract enforcement, approval workflows",
237
- href: "/docs/libraries/ai-agent"
238
- },
239
- {
240
- title: "Architecture",
241
- description: "Multi-tenancy, integrations, knowledge sources",
242
- href: "/docs/architecture"
243
- },
244
- {
245
- title: "Manifesto",
246
- description: "Our philosophy: compiler not prison",
247
- href: "/docs/manifesto"
248
- }
249
- ].map((topic, i) => /* @__PURE__ */ jsxs(Link, {
250
- href: topic.href,
251
- className: "card-subtle group p-4 transition-colors hover:border-violet-500/50",
252
- children: [
253
- /* @__PURE__ */ jsx("h3", {
254
- className: "font-bold transition-colors group-hover:text-violet-400",
255
- children: topic.title
256
- }),
257
- /* @__PURE__ */ jsx("p", {
258
- className: "text-muted-foreground mt-1 text-sm",
259
- children: topic.description
260
- })
261
- ]
262
- }, i))
884
+ /* @__PURE__ */ jsxs("div", {
885
+ className: "space-y-2",
886
+ children: [
887
+ /* @__PURE__ */ jsx("p", {
888
+ className: "editorial-kicker",
889
+ children: "Secondary reading"
890
+ }),
891
+ /* @__PURE__ */ jsx("h2", {
892
+ className: "editorial-panel-title",
893
+ children: "Why ContractSpec"
894
+ }),
895
+ /* @__PURE__ */ jsx("p", {
896
+ className: "editorial-copy text-sm",
897
+ children: "Positioning, comparisons, and philosophy remain available, but they no longer define the main docs path."
898
+ })
899
+ ]
900
+ }),
901
+ /* @__PURE__ */ jsx("div", {
902
+ className: "flex flex-wrap gap-2",
903
+ children: secondary.map((page) => /* @__PURE__ */ jsx(Link, {
904
+ href: page.href,
905
+ className: "docs-chip-link",
906
+ children: page.title
907
+ }, page.href))
908
+ })
909
+ ]
263
910
  })
264
911
  ]
265
912
  })