@contractspec/bundle.library 3.4.3 → 3.5.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 (556) hide show
  1. package/.turbo/turbo-build.log +494 -488
  2. package/CHANGELOG.md +91 -0
  3. package/dist/application/index.js +8 -8
  4. package/dist/application/mcp/cliMcp.js +8 -8
  5. package/dist/application/mcp/contractsMcp.js +8 -8
  6. package/dist/application/mcp/docsMcp.js +8 -8
  7. package/dist/application/mcp/index.js +8 -8
  8. package/dist/application/mcp/internalMcp.js +8 -8
  9. package/dist/application/mcp/providerRankingMcp.js +8 -8
  10. package/dist/bundles/LibraryBundle.d.ts +126 -0
  11. package/dist/bundles/LibraryBundle.js +139 -0
  12. package/dist/bundles/index.d.ts +1 -0
  13. package/dist/bundles/index.js +139 -0
  14. package/dist/components/docs/DocsIndexPage.js +91 -91
  15. package/dist/components/docs/advanced/AdvancedMCPPage.js +125 -125
  16. package/dist/components/docs/advanced/AdvancedOverlayEditorPage.js +49 -49
  17. package/dist/components/docs/advanced/AdvancedRenderersPage.js +51 -51
  18. package/dist/components/docs/advanced/AdvancedSpecExperimentsPage.js +35 -35
  19. package/dist/components/docs/advanced/AdvancedTelemetryPage.js +177 -177
  20. package/dist/components/docs/advanced/AdvancedWorkflowMonitoringPage.js +45 -45
  21. package/dist/components/docs/advanced/index.js +482 -482
  22. package/dist/components/docs/architecture/ArchitectureAppConfigPage.js +107 -107
  23. package/dist/components/docs/architecture/ArchitectureControlPlanePage.js +73 -73
  24. package/dist/components/docs/architecture/ArchitectureIntegrationBindingPage.js +117 -117
  25. package/dist/components/docs/architecture/ArchitectureKnowledgeBindingPage.js +175 -175
  26. package/dist/components/docs/architecture/ArchitectureMultiTenancyPage.js +71 -71
  27. package/dist/components/docs/architecture/ArchitectureOverviewPage.js +205 -205
  28. package/dist/components/docs/architecture/index.js +748 -748
  29. package/dist/components/docs/comparison/ComparisonAutomationPlatformsPage.js +117 -117
  30. package/dist/components/docs/comparison/ComparisonEnterprisePlatformsPage.js +111 -111
  31. package/dist/components/docs/comparison/ComparisonInternalToolBuildersPage.js +117 -117
  32. package/dist/components/docs/comparison/ComparisonOverviewPage.js +97 -97
  33. package/dist/components/docs/comparison/ComparisonWindmillPage.js +125 -125
  34. package/dist/components/docs/comparison/ComparisonWorkflowEnginesPage.js +171 -171
  35. package/dist/components/docs/comparison/index.js +738 -738
  36. package/dist/components/docs/ecosystem/IntegrationsPage.js +45 -45
  37. package/dist/components/docs/ecosystem/PluginsPage.js +73 -73
  38. package/dist/components/docs/ecosystem/RegistryPage.js +37 -37
  39. package/dist/components/docs/ecosystem/TemplatesPage.js +56 -56
  40. package/dist/components/docs/ecosystem/index.js +211 -211
  41. package/dist/components/docs/examples/DocsExamplesPage.js +21 -21
  42. package/dist/components/docs/examples/index.js +21 -21
  43. package/dist/components/docs/generated/docs-index.generated.d.ts +6 -6
  44. package/dist/components/docs/getting-started/CLIPage.js +95 -95
  45. package/dist/components/docs/getting-started/CompatibilityPage.js +81 -81
  46. package/dist/components/docs/getting-started/DataViewTutorialPage.js +57 -57
  47. package/dist/components/docs/getting-started/DeveloperToolsPage.js +61 -61
  48. package/dist/components/docs/getting-started/HelloWorldPage.js +77 -77
  49. package/dist/components/docs/getting-started/InstallationPage.js +65 -65
  50. package/dist/components/docs/getting-started/StartHerePage.js +51 -51
  51. package/dist/components/docs/getting-started/TroubleshootingPage.js +73 -73
  52. package/dist/components/docs/getting-started/VSCodeExtensionPage.js +171 -171
  53. package/dist/components/docs/getting-started/index.js +731 -731
  54. package/dist/components/docs/guides/GuideCIDiffGatingPage.js +80 -80
  55. package/dist/components/docs/guides/GuideContractTypesPage.js +232 -232
  56. package/dist/components/docs/guides/GuideDocsPipelinePage.js +82 -82
  57. package/dist/components/docs/guides/GuideGenerateDocsClientsSchemasPage.js +84 -84
  58. package/dist/components/docs/guides/GuideImportExistingCodebasesPage.js +324 -324
  59. package/dist/components/docs/guides/GuideNextjsOneEndpointPage.js +107 -107
  60. package/dist/components/docs/guides/GuideSpecValidationTypingPage.js +78 -78
  61. package/dist/components/docs/guides/GuidesIndexPage.js +43 -43
  62. package/dist/components/docs/guides/index.js +976 -976
  63. package/dist/components/docs/index.js +10792 -10792
  64. package/dist/components/docs/integrations/IntegrationsCircuitBreakersPage.js +17 -17
  65. package/dist/components/docs/integrations/IntegrationsElevenLabsPage.js +47 -47
  66. package/dist/components/docs/integrations/IntegrationsGithubPage.js +61 -61
  67. package/dist/components/docs/integrations/IntegrationsGmailPage.js +49 -49
  68. package/dist/components/docs/integrations/IntegrationsGoogleCalendarPage.js +33 -33
  69. package/dist/components/docs/integrations/IntegrationsHealthRoutingPage.js +65 -65
  70. package/dist/components/docs/integrations/IntegrationsMistralPage.js +69 -69
  71. package/dist/components/docs/integrations/IntegrationsOpenAIPage.js +65 -65
  72. package/dist/components/docs/integrations/IntegrationsOverviewPage.js +313 -313
  73. package/dist/components/docs/integrations/IntegrationsPostmarkPage.js +101 -101
  74. package/dist/components/docs/integrations/IntegrationsPowensPage.js +121 -121
  75. package/dist/components/docs/integrations/IntegrationsQdrantPage.js +49 -49
  76. package/dist/components/docs/integrations/IntegrationsResendPage.js +45 -45
  77. package/dist/components/docs/integrations/IntegrationsS3Page.js +57 -57
  78. package/dist/components/docs/integrations/IntegrationsSlackPage.js +63 -63
  79. package/dist/components/docs/integrations/IntegrationsSpecModelPage.js +139 -139
  80. package/dist/components/docs/integrations/IntegrationsStripePage.js +159 -159
  81. package/dist/components/docs/integrations/IntegrationsTwilioPage.js +61 -61
  82. package/dist/components/docs/integrations/IntegrationsWhatsappMetaPage.js +63 -63
  83. package/dist/components/docs/integrations/IntegrationsWhatsappTwilioPage.js +65 -65
  84. package/dist/components/docs/integrations/index.js +1642 -1642
  85. package/dist/components/docs/intent/ContractFirstApiPage.js +51 -51
  86. package/dist/components/docs/intent/DeterministicCodegenPage.js +59 -59
  87. package/dist/components/docs/intent/GenerateClientFromSchemaPage.js +85 -85
  88. package/dist/components/docs/intent/OpenapiAlternativePage.js +91 -91
  89. package/dist/components/docs/intent/SchemaValidationTypescriptPage.js +59 -59
  90. package/dist/components/docs/intent/SpecDrivenDevelopmentPage.js +51 -51
  91. package/dist/components/docs/intent/index.js +396 -396
  92. package/dist/components/docs/knowledge/KnowledgeCategoriesPage.js +371 -371
  93. package/dist/components/docs/knowledge/KnowledgeExamplesPage.js +79 -79
  94. package/dist/components/docs/knowledge/KnowledgeOverviewPage.js +185 -185
  95. package/dist/components/docs/knowledge/KnowledgeSourcesPage.js +187 -187
  96. package/dist/components/docs/knowledge/KnowledgeSpacesPage.js +141 -141
  97. package/dist/components/docs/knowledge/index.js +963 -963
  98. package/dist/components/docs/libraries/LibrariesAccessibilityPage.js +85 -85
  99. package/dist/components/docs/libraries/LibrariesAiAgentPage.js +63 -63
  100. package/dist/components/docs/libraries/LibrariesAnalyticsPage.js +33 -33
  101. package/dist/components/docs/libraries/LibrariesContentGenPage.js +43 -43
  102. package/dist/components/docs/libraries/LibrariesContractsPage.js +125 -125
  103. package/dist/components/docs/libraries/LibrariesCostTrackingPage.js +45 -45
  104. package/dist/components/docs/libraries/LibrariesDataBackendPage.js +69 -69
  105. package/dist/components/docs/libraries/LibrariesDataViewsPage.js +79 -79
  106. package/dist/components/docs/libraries/LibrariesDesignSystemPage.js +129 -129
  107. package/dist/components/docs/libraries/LibrariesEvolutionPage.js +49 -49
  108. package/dist/components/docs/libraries/LibrariesGraphQLPage.js +73 -73
  109. package/dist/components/docs/libraries/LibrariesGrowthPage.js +35 -35
  110. package/dist/components/docs/libraries/LibrariesMultiTenancyPage.js +43 -43
  111. package/dist/components/docs/libraries/LibrariesObservabilityPage.js +53 -53
  112. package/dist/components/docs/libraries/LibrariesOverlayEnginePage.js +45 -45
  113. package/dist/components/docs/libraries/LibrariesOverviewPage.js +191 -191
  114. package/dist/components/docs/libraries/LibrariesPersonalizationPage.js +47 -47
  115. package/dist/components/docs/libraries/LibrariesProgressiveDeliveryPage.js +53 -53
  116. package/dist/components/docs/libraries/LibrariesResiliencePage.js +49 -49
  117. package/dist/components/docs/libraries/LibrariesRuntimePage.js +87 -87
  118. package/dist/components/docs/libraries/LibrariesSLOPage.js +47 -47
  119. package/dist/components/docs/libraries/LibrariesSchemaPage.js +139 -139
  120. package/dist/components/docs/libraries/LibrariesSupportBotPage.js +57 -57
  121. package/dist/components/docs/libraries/LibrariesTestingPage.js +49 -49
  122. package/dist/components/docs/libraries/LibrariesUIKitPage.js +107 -107
  123. package/dist/components/docs/libraries/LibrariesWorkflowComposerPage.js +35 -35
  124. package/dist/components/docs/libraries/LibrariesWorkflowsPage.js +89 -89
  125. package/dist/components/docs/libraries/index.js +1919 -1919
  126. package/dist/components/docs/manifesto/ManifestoPage.js +79 -79
  127. package/dist/components/docs/ops/AutoEvolutionOpsPage.js +59 -59
  128. package/dist/components/docs/ops/DistributedTracingOpsPage.js +33 -33
  129. package/dist/components/docs/ops/index.js +92 -92
  130. package/dist/components/docs/reference/DocsMarkdownContent.js +27 -27
  131. package/dist/components/docs/reference/DocsReferenceContent.js +34 -34
  132. package/dist/components/docs/reference/DocsReferenceIndexClient.js +23 -23
  133. package/dist/components/docs/reference/DocsReferenceIndexPage.js +26 -26
  134. package/dist/components/docs/reference/DocsReferencePage.js +37 -37
  135. package/dist/components/docs/reference/index.js +63 -63
  136. package/dist/components/docs/safety/SafetyAuditingPage.js +161 -161
  137. package/dist/components/docs/safety/SafetyMigrationsPage.js +169 -169
  138. package/dist/components/docs/safety/SafetyOverviewPage.js +99 -99
  139. package/dist/components/docs/safety/SafetyPDPPage.js +137 -137
  140. package/dist/components/docs/safety/SafetySecurityTrustPage.js +95 -95
  141. package/dist/components/docs/safety/SafetySigningPage.js +39 -39
  142. package/dist/components/docs/safety/SafetyTenantIsolationPage.js +33 -33
  143. package/dist/components/docs/safety/index.js +733 -733
  144. package/dist/components/docs/shared/StudioPrompt.js +9 -9
  145. package/dist/components/docs/specs/SpecsCapabilitiesPage.js +61 -61
  146. package/dist/components/docs/specs/SpecsDataViewsPage.js +119 -119
  147. package/dist/components/docs/specs/SpecsOverlaysPage.js +171 -171
  148. package/dist/components/docs/specs/SpecsOverviewPage.js +167 -167
  149. package/dist/components/docs/specs/SpecsPolicyPage.js +179 -179
  150. package/dist/components/docs/specs/SpecsWorkflowsPage.js +141 -141
  151. package/dist/components/docs/specs/index.js +838 -838
  152. package/dist/components/docs/studio/StudioBYOKPage.js +9 -9
  153. package/dist/components/docs/studio/StudioDeploymentsPage.js +9 -9
  154. package/dist/components/docs/studio/StudioGettingStartedPage.js +9 -9
  155. package/dist/components/docs/studio/StudioIntegrationsPage.js +9 -9
  156. package/dist/components/docs/studio/StudioOverviewPage.js +33 -33
  157. package/dist/components/docs/studio/StudioVisualBuilderPage.js +9 -9
  158. package/dist/components/docs/studio/index.js +78 -78
  159. package/dist/components/integrations/index.js +209 -209
  160. package/dist/components/integrations/molecules/IntegrationCard.js +33 -33
  161. package/dist/components/integrations/organisms/IntegrationMarketplace.js +71 -71
  162. package/dist/components/integrations/organisms/IntegrationSettings.js +98 -98
  163. package/dist/components/integrations/organisms/KnowledgeSourceList.js +40 -40
  164. package/dist/components/legal/PrivacyTemplate.js +477 -477
  165. package/dist/components/legal/TermsTemplate.js +421 -421
  166. package/dist/components/legal/index.js +898 -898
  167. package/dist/components/shared/FeatureGateNotice.js +13 -13
  168. package/dist/components/shared/index.js +13 -13
  169. package/dist/components/shell/WorkspaceHeader.js +37 -37
  170. package/dist/components/shell/WorkspaceProjectShellLayout.js +77 -77
  171. package/dist/components/shell/WorkspaceShellRenderer.d.ts +17 -0
  172. package/dist/components/shell/WorkspaceShellRenderer.js +229 -0
  173. package/dist/components/shell/WorkspaceSidebar.js +27 -27
  174. package/dist/components/shell/index.d.ts +1 -0
  175. package/dist/components/shell/index.js +140 -77
  176. package/dist/components/templates/index.js +272 -272
  177. package/dist/components/templates/messaging/ConversationList.js +27 -27
  178. package/dist/components/templates/messaging/MessageComposer.js +27 -27
  179. package/dist/components/templates/messaging/MessageThread.js +18 -18
  180. package/dist/components/templates/messaging/MessagingWorkspace.js +65 -65
  181. package/dist/components/templates/messaging/index.js +65 -65
  182. package/dist/components/templates/recipes/LanguageSwitcher.js +5 -5
  183. package/dist/components/templates/recipes/RecipeCard.js +26 -26
  184. package/dist/components/templates/recipes/RecipeDetail.js +33 -33
  185. package/dist/components/templates/recipes/RecipeList.js +80 -80
  186. package/dist/components/templates/recipes/index.js +80 -80
  187. package/dist/components/templates/todos/FilterBar.js +39 -39
  188. package/dist/components/templates/todos/TaskForm.js +43 -43
  189. package/dist/components/templates/todos/TaskItem.js +30 -30
  190. package/dist/components/templates/todos/TaskList.js +127 -127
  191. package/dist/components/templates/todos/index.js +127 -127
  192. package/dist/index.js +12324 -12261
  193. package/dist/infrastructure/elysia/index.js +8 -8
  194. package/dist/infrastructure/elysia/logger.js +8 -8
  195. package/dist/infrastructure/index.js +8 -8
  196. package/dist/libs/posthog/client.js +2 -2
  197. package/dist/node/application/index.js +8 -8
  198. package/dist/node/application/mcp/cliMcp.js +8 -8
  199. package/dist/node/application/mcp/contractsMcp.js +8 -8
  200. package/dist/node/application/mcp/docsMcp.js +8 -8
  201. package/dist/node/application/mcp/index.js +8 -8
  202. package/dist/node/application/mcp/internalMcp.js +8 -8
  203. package/dist/node/application/mcp/providerRankingMcp.js +8 -8
  204. package/dist/node/bundles/LibraryBundle.js +138 -0
  205. package/dist/node/bundles/index.js +138 -0
  206. package/dist/node/components/docs/DocsIndexPage.js +91 -91
  207. package/dist/node/components/docs/advanced/AdvancedMCPPage.js +125 -125
  208. package/dist/node/components/docs/advanced/AdvancedOverlayEditorPage.js +49 -49
  209. package/dist/node/components/docs/advanced/AdvancedRenderersPage.js +51 -51
  210. package/dist/node/components/docs/advanced/AdvancedSpecExperimentsPage.js +35 -35
  211. package/dist/node/components/docs/advanced/AdvancedTelemetryPage.js +177 -177
  212. package/dist/node/components/docs/advanced/AdvancedWorkflowMonitoringPage.js +45 -45
  213. package/dist/node/components/docs/advanced/index.js +482 -482
  214. package/dist/node/components/docs/architecture/ArchitectureAppConfigPage.js +107 -107
  215. package/dist/node/components/docs/architecture/ArchitectureControlPlanePage.js +73 -73
  216. package/dist/node/components/docs/architecture/ArchitectureIntegrationBindingPage.js +117 -117
  217. package/dist/node/components/docs/architecture/ArchitectureKnowledgeBindingPage.js +175 -175
  218. package/dist/node/components/docs/architecture/ArchitectureMultiTenancyPage.js +71 -71
  219. package/dist/node/components/docs/architecture/ArchitectureOverviewPage.js +205 -205
  220. package/dist/node/components/docs/architecture/index.js +748 -748
  221. package/dist/node/components/docs/comparison/ComparisonAutomationPlatformsPage.js +117 -117
  222. package/dist/node/components/docs/comparison/ComparisonEnterprisePlatformsPage.js +111 -111
  223. package/dist/node/components/docs/comparison/ComparisonInternalToolBuildersPage.js +117 -117
  224. package/dist/node/components/docs/comparison/ComparisonOverviewPage.js +97 -97
  225. package/dist/node/components/docs/comparison/ComparisonWindmillPage.js +125 -125
  226. package/dist/node/components/docs/comparison/ComparisonWorkflowEnginesPage.js +171 -171
  227. package/dist/node/components/docs/comparison/index.js +738 -738
  228. package/dist/node/components/docs/ecosystem/IntegrationsPage.js +45 -45
  229. package/dist/node/components/docs/ecosystem/PluginsPage.js +73 -73
  230. package/dist/node/components/docs/ecosystem/RegistryPage.js +37 -37
  231. package/dist/node/components/docs/ecosystem/TemplatesPage.js +56 -56
  232. package/dist/node/components/docs/ecosystem/index.js +211 -211
  233. package/dist/node/components/docs/examples/DocsExamplesPage.js +21 -21
  234. package/dist/node/components/docs/examples/index.js +21 -21
  235. package/dist/node/components/docs/getting-started/CLIPage.js +95 -95
  236. package/dist/node/components/docs/getting-started/CompatibilityPage.js +81 -81
  237. package/dist/node/components/docs/getting-started/DataViewTutorialPage.js +57 -57
  238. package/dist/node/components/docs/getting-started/DeveloperToolsPage.js +61 -61
  239. package/dist/node/components/docs/getting-started/HelloWorldPage.js +77 -77
  240. package/dist/node/components/docs/getting-started/InstallationPage.js +65 -65
  241. package/dist/node/components/docs/getting-started/StartHerePage.js +51 -51
  242. package/dist/node/components/docs/getting-started/TroubleshootingPage.js +73 -73
  243. package/dist/node/components/docs/getting-started/VSCodeExtensionPage.js +171 -171
  244. package/dist/node/components/docs/getting-started/index.js +731 -731
  245. package/dist/node/components/docs/guides/GuideCIDiffGatingPage.js +80 -80
  246. package/dist/node/components/docs/guides/GuideContractTypesPage.js +232 -232
  247. package/dist/node/components/docs/guides/GuideDocsPipelinePage.js +82 -82
  248. package/dist/node/components/docs/guides/GuideGenerateDocsClientsSchemasPage.js +84 -84
  249. package/dist/node/components/docs/guides/GuideImportExistingCodebasesPage.js +324 -324
  250. package/dist/node/components/docs/guides/GuideNextjsOneEndpointPage.js +107 -107
  251. package/dist/node/components/docs/guides/GuideSpecValidationTypingPage.js +78 -78
  252. package/dist/node/components/docs/guides/GuidesIndexPage.js +43 -43
  253. package/dist/node/components/docs/guides/index.js +976 -976
  254. package/dist/node/components/docs/index.js +10792 -10792
  255. package/dist/node/components/docs/integrations/IntegrationsCircuitBreakersPage.js +17 -17
  256. package/dist/node/components/docs/integrations/IntegrationsElevenLabsPage.js +47 -47
  257. package/dist/node/components/docs/integrations/IntegrationsGithubPage.js +61 -61
  258. package/dist/node/components/docs/integrations/IntegrationsGmailPage.js +49 -49
  259. package/dist/node/components/docs/integrations/IntegrationsGoogleCalendarPage.js +33 -33
  260. package/dist/node/components/docs/integrations/IntegrationsHealthRoutingPage.js +65 -65
  261. package/dist/node/components/docs/integrations/IntegrationsMistralPage.js +69 -69
  262. package/dist/node/components/docs/integrations/IntegrationsOpenAIPage.js +65 -65
  263. package/dist/node/components/docs/integrations/IntegrationsOverviewPage.js +313 -313
  264. package/dist/node/components/docs/integrations/IntegrationsPostmarkPage.js +101 -101
  265. package/dist/node/components/docs/integrations/IntegrationsPowensPage.js +121 -121
  266. package/dist/node/components/docs/integrations/IntegrationsQdrantPage.js +49 -49
  267. package/dist/node/components/docs/integrations/IntegrationsResendPage.js +45 -45
  268. package/dist/node/components/docs/integrations/IntegrationsS3Page.js +57 -57
  269. package/dist/node/components/docs/integrations/IntegrationsSlackPage.js +63 -63
  270. package/dist/node/components/docs/integrations/IntegrationsSpecModelPage.js +139 -139
  271. package/dist/node/components/docs/integrations/IntegrationsStripePage.js +159 -159
  272. package/dist/node/components/docs/integrations/IntegrationsTwilioPage.js +61 -61
  273. package/dist/node/components/docs/integrations/IntegrationsWhatsappMetaPage.js +63 -63
  274. package/dist/node/components/docs/integrations/IntegrationsWhatsappTwilioPage.js +65 -65
  275. package/dist/node/components/docs/integrations/index.js +1642 -1642
  276. package/dist/node/components/docs/intent/ContractFirstApiPage.js +51 -51
  277. package/dist/node/components/docs/intent/DeterministicCodegenPage.js +59 -59
  278. package/dist/node/components/docs/intent/GenerateClientFromSchemaPage.js +85 -85
  279. package/dist/node/components/docs/intent/OpenapiAlternativePage.js +91 -91
  280. package/dist/node/components/docs/intent/SchemaValidationTypescriptPage.js +59 -59
  281. package/dist/node/components/docs/intent/SpecDrivenDevelopmentPage.js +51 -51
  282. package/dist/node/components/docs/intent/index.js +396 -396
  283. package/dist/node/components/docs/knowledge/KnowledgeCategoriesPage.js +371 -371
  284. package/dist/node/components/docs/knowledge/KnowledgeExamplesPage.js +79 -79
  285. package/dist/node/components/docs/knowledge/KnowledgeOverviewPage.js +185 -185
  286. package/dist/node/components/docs/knowledge/KnowledgeSourcesPage.js +187 -187
  287. package/dist/node/components/docs/knowledge/KnowledgeSpacesPage.js +141 -141
  288. package/dist/node/components/docs/knowledge/index.js +963 -963
  289. package/dist/node/components/docs/libraries/LibrariesAccessibilityPage.js +85 -85
  290. package/dist/node/components/docs/libraries/LibrariesAiAgentPage.js +63 -63
  291. package/dist/node/components/docs/libraries/LibrariesAnalyticsPage.js +33 -33
  292. package/dist/node/components/docs/libraries/LibrariesContentGenPage.js +43 -43
  293. package/dist/node/components/docs/libraries/LibrariesContractsPage.js +125 -125
  294. package/dist/node/components/docs/libraries/LibrariesCostTrackingPage.js +45 -45
  295. package/dist/node/components/docs/libraries/LibrariesDataBackendPage.js +69 -69
  296. package/dist/node/components/docs/libraries/LibrariesDataViewsPage.js +79 -79
  297. package/dist/node/components/docs/libraries/LibrariesDesignSystemPage.js +129 -129
  298. package/dist/node/components/docs/libraries/LibrariesEvolutionPage.js +49 -49
  299. package/dist/node/components/docs/libraries/LibrariesGraphQLPage.js +73 -73
  300. package/dist/node/components/docs/libraries/LibrariesGrowthPage.js +35 -35
  301. package/dist/node/components/docs/libraries/LibrariesMultiTenancyPage.js +43 -43
  302. package/dist/node/components/docs/libraries/LibrariesObservabilityPage.js +53 -53
  303. package/dist/node/components/docs/libraries/LibrariesOverlayEnginePage.js +45 -45
  304. package/dist/node/components/docs/libraries/LibrariesOverviewPage.js +191 -191
  305. package/dist/node/components/docs/libraries/LibrariesPersonalizationPage.js +47 -47
  306. package/dist/node/components/docs/libraries/LibrariesProgressiveDeliveryPage.js +53 -53
  307. package/dist/node/components/docs/libraries/LibrariesResiliencePage.js +49 -49
  308. package/dist/node/components/docs/libraries/LibrariesRuntimePage.js +87 -87
  309. package/dist/node/components/docs/libraries/LibrariesSLOPage.js +47 -47
  310. package/dist/node/components/docs/libraries/LibrariesSchemaPage.js +139 -139
  311. package/dist/node/components/docs/libraries/LibrariesSupportBotPage.js +57 -57
  312. package/dist/node/components/docs/libraries/LibrariesTestingPage.js +49 -49
  313. package/dist/node/components/docs/libraries/LibrariesUIKitPage.js +107 -107
  314. package/dist/node/components/docs/libraries/LibrariesWorkflowComposerPage.js +35 -35
  315. package/dist/node/components/docs/libraries/LibrariesWorkflowsPage.js +89 -89
  316. package/dist/node/components/docs/libraries/index.js +1919 -1919
  317. package/dist/node/components/docs/manifesto/ManifestoPage.js +79 -79
  318. package/dist/node/components/docs/ops/AutoEvolutionOpsPage.js +59 -59
  319. package/dist/node/components/docs/ops/DistributedTracingOpsPage.js +33 -33
  320. package/dist/node/components/docs/ops/index.js +92 -92
  321. package/dist/node/components/docs/reference/DocsMarkdownContent.js +27 -27
  322. package/dist/node/components/docs/reference/DocsReferenceContent.js +34 -34
  323. package/dist/node/components/docs/reference/DocsReferenceIndexClient.js +23 -23
  324. package/dist/node/components/docs/reference/DocsReferenceIndexPage.js +26 -26
  325. package/dist/node/components/docs/reference/DocsReferencePage.js +37 -37
  326. package/dist/node/components/docs/reference/index.js +63 -63
  327. package/dist/node/components/docs/safety/SafetyAuditingPage.js +161 -161
  328. package/dist/node/components/docs/safety/SafetyMigrationsPage.js +169 -169
  329. package/dist/node/components/docs/safety/SafetyOverviewPage.js +99 -99
  330. package/dist/node/components/docs/safety/SafetyPDPPage.js +137 -137
  331. package/dist/node/components/docs/safety/SafetySecurityTrustPage.js +95 -95
  332. package/dist/node/components/docs/safety/SafetySigningPage.js +39 -39
  333. package/dist/node/components/docs/safety/SafetyTenantIsolationPage.js +33 -33
  334. package/dist/node/components/docs/safety/index.js +733 -733
  335. package/dist/node/components/docs/shared/StudioPrompt.js +9 -9
  336. package/dist/node/components/docs/specs/SpecsCapabilitiesPage.js +61 -61
  337. package/dist/node/components/docs/specs/SpecsDataViewsPage.js +119 -119
  338. package/dist/node/components/docs/specs/SpecsOverlaysPage.js +171 -171
  339. package/dist/node/components/docs/specs/SpecsOverviewPage.js +167 -167
  340. package/dist/node/components/docs/specs/SpecsPolicyPage.js +179 -179
  341. package/dist/node/components/docs/specs/SpecsWorkflowsPage.js +141 -141
  342. package/dist/node/components/docs/specs/index.js +838 -838
  343. package/dist/node/components/docs/studio/StudioBYOKPage.js +9 -9
  344. package/dist/node/components/docs/studio/StudioDeploymentsPage.js +9 -9
  345. package/dist/node/components/docs/studio/StudioGettingStartedPage.js +9 -9
  346. package/dist/node/components/docs/studio/StudioIntegrationsPage.js +9 -9
  347. package/dist/node/components/docs/studio/StudioOverviewPage.js +33 -33
  348. package/dist/node/components/docs/studio/StudioVisualBuilderPage.js +9 -9
  349. package/dist/node/components/docs/studio/index.js +78 -78
  350. package/dist/node/components/integrations/index.js +209 -209
  351. package/dist/node/components/integrations/molecules/IntegrationCard.js +33 -33
  352. package/dist/node/components/integrations/organisms/IntegrationMarketplace.js +71 -71
  353. package/dist/node/components/integrations/organisms/IntegrationSettings.js +98 -98
  354. package/dist/node/components/integrations/organisms/KnowledgeSourceList.js +40 -40
  355. package/dist/node/components/legal/PrivacyTemplate.js +477 -477
  356. package/dist/node/components/legal/TermsTemplate.js +421 -421
  357. package/dist/node/components/legal/index.js +898 -898
  358. package/dist/node/components/shared/FeatureGateNotice.js +13 -13
  359. package/dist/node/components/shared/index.js +13 -13
  360. package/dist/node/components/shell/WorkspaceHeader.js +37 -37
  361. package/dist/node/components/shell/WorkspaceProjectShellLayout.js +77 -77
  362. package/dist/node/components/shell/WorkspaceShellRenderer.js +228 -0
  363. package/dist/node/components/shell/WorkspaceSidebar.js +27 -27
  364. package/dist/node/components/shell/index.js +140 -77
  365. package/dist/node/components/templates/index.js +272 -272
  366. package/dist/node/components/templates/messaging/ConversationList.js +27 -27
  367. package/dist/node/components/templates/messaging/MessageComposer.js +27 -27
  368. package/dist/node/components/templates/messaging/MessageThread.js +18 -18
  369. package/dist/node/components/templates/messaging/MessagingWorkspace.js +65 -65
  370. package/dist/node/components/templates/messaging/index.js +65 -65
  371. package/dist/node/components/templates/recipes/LanguageSwitcher.js +5 -5
  372. package/dist/node/components/templates/recipes/RecipeCard.js +26 -26
  373. package/dist/node/components/templates/recipes/RecipeDetail.js +33 -33
  374. package/dist/node/components/templates/recipes/RecipeList.js +80 -80
  375. package/dist/node/components/templates/recipes/index.js +80 -80
  376. package/dist/node/components/templates/todos/FilterBar.js +39 -39
  377. package/dist/node/components/templates/todos/TaskForm.js +43 -43
  378. package/dist/node/components/templates/todos/TaskItem.js +30 -30
  379. package/dist/node/components/templates/todos/TaskList.js +127 -127
  380. package/dist/node/components/templates/todos/index.js +127 -127
  381. package/dist/node/index.js +12324 -12261
  382. package/dist/node/infrastructure/elysia/index.js +8 -8
  383. package/dist/node/infrastructure/elysia/logger.js +8 -8
  384. package/dist/node/infrastructure/index.js +8 -8
  385. package/dist/node/libs/posthog/client.js +2 -2
  386. package/dist/node/presentation/features/atoms/FeatureIcon/FeatureIcon.js +3 -3
  387. package/dist/node/presentation/features/atoms/FeatureIcon/index.js +3 -3
  388. package/dist/node/presentation/features/atoms/index.js +3 -3
  389. package/dist/node/presentation/features/index.js +915 -915
  390. package/dist/node/presentation/features/molecules/FeatureCard/FeatureCard.js +101 -101
  391. package/dist/node/presentation/features/molecules/FeatureCard/index.js +101 -101
  392. package/dist/node/presentation/features/molecules/FeatureCategoryHeader/FeatureCategoryHeader.js +15 -15
  393. package/dist/node/presentation/features/molecules/FeatureCategoryHeader/index.js +15 -15
  394. package/dist/node/presentation/features/molecules/FeatureFilters/FeatureFilters.js +23 -23
  395. package/dist/node/presentation/features/molecules/FeatureFilters/index.js +23 -23
  396. package/dist/node/presentation/features/molecules/FeatureHoverPreview/FeatureHoverPreview.js +67 -67
  397. package/dist/node/presentation/features/molecules/FeatureHoverPreview/index.js +67 -67
  398. package/dist/node/presentation/features/molecules/index.js +139 -139
  399. package/dist/node/presentation/features/organisms/FeatureDataViewsList.js +7 -7
  400. package/dist/node/presentation/features/organisms/FeatureDetail/FeatureDetail.js +57 -57
  401. package/dist/node/presentation/features/organisms/FeatureDetail/index.js +57 -57
  402. package/dist/node/presentation/features/organisms/FeatureDiscovery/FeatureDiscovery.js +183 -183
  403. package/dist/node/presentation/features/organisms/FeatureDiscovery/index.js +183 -183
  404. package/dist/node/presentation/features/organisms/FeatureEventsList.js +7 -7
  405. package/dist/node/presentation/features/organisms/FeatureFormsList.js +7 -7
  406. package/dist/node/presentation/features/organisms/FeatureOperationsList.js +7 -7
  407. package/dist/node/presentation/features/organisms/FeaturePresentationsList.js +7 -7
  408. package/dist/node/presentation/features/organisms/index.js +275 -275
  409. package/dist/node/presentation/features/templates/FeatureDataViewDetailTemplate/FeatureDataViewDetailTemplate.js +126 -126
  410. package/dist/node/presentation/features/templates/FeatureDataViewDetailTemplate/index.js +126 -126
  411. package/dist/node/presentation/features/templates/FeatureDataViewsTemplate/FeatureDataViewsTemplate.js +16 -16
  412. package/dist/node/presentation/features/templates/FeatureDataViewsTemplate/index.js +16 -16
  413. package/dist/node/presentation/features/templates/FeatureEventDetailTemplate/FeatureEventDetailTemplate.js +112 -112
  414. package/dist/node/presentation/features/templates/FeatureEventDetailTemplate/index.js +112 -112
  415. package/dist/node/presentation/features/templates/FeatureEventsTemplate/FeatureEventsTemplate.js +16 -16
  416. package/dist/node/presentation/features/templates/FeatureEventsTemplate/index.js +16 -16
  417. package/dist/node/presentation/features/templates/FeatureFormDetailTemplate/FeatureFormDetailTemplate.js +126 -126
  418. package/dist/node/presentation/features/templates/FeatureFormDetailTemplate/index.js +126 -126
  419. package/dist/node/presentation/features/templates/FeatureFormsTemplate/FeatureFormsTemplate.js +16 -16
  420. package/dist/node/presentation/features/templates/FeatureFormsTemplate/index.js +16 -16
  421. package/dist/node/presentation/features/templates/FeatureOperationDetailTemplate/FeatureOperationDetailTemplate.js +110 -110
  422. package/dist/node/presentation/features/templates/FeatureOperationDetailTemplate/index.js +110 -110
  423. package/dist/node/presentation/features/templates/FeatureOperationsTemplate/FeatureOperationsTemplate.js +16 -16
  424. package/dist/node/presentation/features/templates/FeatureOperationsTemplate/index.js +16 -16
  425. package/dist/node/presentation/features/templates/FeatureOverviewTemplate/FeatureOverviewTemplate.js +66 -66
  426. package/dist/node/presentation/features/templates/FeatureOverviewTemplate/index.js +66 -66
  427. package/dist/node/presentation/features/templates/FeaturePresentationDetailTemplate/FeaturePresentationDetailTemplate.js +112 -112
  428. package/dist/node/presentation/features/templates/FeaturePresentationDetailTemplate/index.js +112 -112
  429. package/dist/node/presentation/features/templates/FeaturePresentationsTemplate/FeaturePresentationsTemplate.js +16 -16
  430. package/dist/node/presentation/features/templates/FeaturePresentationsTemplate/index.js +16 -16
  431. package/dist/presentation/features/atoms/FeatureIcon/FeatureIcon.js +3 -3
  432. package/dist/presentation/features/atoms/FeatureIcon/index.js +3 -3
  433. package/dist/presentation/features/atoms/index.js +3 -3
  434. package/dist/presentation/features/index.js +915 -915
  435. package/dist/presentation/features/molecules/FeatureCard/FeatureCard.js +101 -101
  436. package/dist/presentation/features/molecules/FeatureCard/index.js +101 -101
  437. package/dist/presentation/features/molecules/FeatureCategoryHeader/FeatureCategoryHeader.js +15 -15
  438. package/dist/presentation/features/molecules/FeatureCategoryHeader/index.js +15 -15
  439. package/dist/presentation/features/molecules/FeatureFilters/FeatureFilters.js +23 -23
  440. package/dist/presentation/features/molecules/FeatureFilters/index.js +23 -23
  441. package/dist/presentation/features/molecules/FeatureHoverPreview/FeatureHoverPreview.js +67 -67
  442. package/dist/presentation/features/molecules/FeatureHoverPreview/index.js +67 -67
  443. package/dist/presentation/features/molecules/index.js +139 -139
  444. package/dist/presentation/features/organisms/FeatureDataViewsList.js +7 -7
  445. package/dist/presentation/features/organisms/FeatureDetail/FeatureDetail.js +57 -57
  446. package/dist/presentation/features/organisms/FeatureDetail/index.js +57 -57
  447. package/dist/presentation/features/organisms/FeatureDiscovery/FeatureDiscovery.js +183 -183
  448. package/dist/presentation/features/organisms/FeatureDiscovery/index.js +183 -183
  449. package/dist/presentation/features/organisms/FeatureEventsList.js +7 -7
  450. package/dist/presentation/features/organisms/FeatureFormsList.js +7 -7
  451. package/dist/presentation/features/organisms/FeatureOperationsList.js +7 -7
  452. package/dist/presentation/features/organisms/FeaturePresentationsList.js +7 -7
  453. package/dist/presentation/features/organisms/index.js +275 -275
  454. package/dist/presentation/features/templates/FeatureDataViewDetailTemplate/FeatureDataViewDetailTemplate.js +126 -126
  455. package/dist/presentation/features/templates/FeatureDataViewDetailTemplate/index.js +126 -126
  456. package/dist/presentation/features/templates/FeatureDataViewsTemplate/FeatureDataViewsTemplate.js +16 -16
  457. package/dist/presentation/features/templates/FeatureDataViewsTemplate/index.js +16 -16
  458. package/dist/presentation/features/templates/FeatureEventDetailTemplate/FeatureEventDetailTemplate.js +112 -112
  459. package/dist/presentation/features/templates/FeatureEventDetailTemplate/index.js +112 -112
  460. package/dist/presentation/features/templates/FeatureEventsTemplate/FeatureEventsTemplate.js +16 -16
  461. package/dist/presentation/features/templates/FeatureEventsTemplate/index.js +16 -16
  462. package/dist/presentation/features/templates/FeatureFormDetailTemplate/FeatureFormDetailTemplate.js +126 -126
  463. package/dist/presentation/features/templates/FeatureFormDetailTemplate/index.js +126 -126
  464. package/dist/presentation/features/templates/FeatureFormsTemplate/FeatureFormsTemplate.js +16 -16
  465. package/dist/presentation/features/templates/FeatureFormsTemplate/index.js +16 -16
  466. package/dist/presentation/features/templates/FeatureOperationDetailTemplate/FeatureOperationDetailTemplate.js +110 -110
  467. package/dist/presentation/features/templates/FeatureOperationDetailTemplate/index.js +110 -110
  468. package/dist/presentation/features/templates/FeatureOperationsTemplate/FeatureOperationsTemplate.js +16 -16
  469. package/dist/presentation/features/templates/FeatureOperationsTemplate/index.js +16 -16
  470. package/dist/presentation/features/templates/FeatureOverviewTemplate/FeatureOverviewTemplate.js +66 -66
  471. package/dist/presentation/features/templates/FeatureOverviewTemplate/index.js +66 -66
  472. package/dist/presentation/features/templates/FeaturePresentationDetailTemplate/FeaturePresentationDetailTemplate.js +112 -112
  473. package/dist/presentation/features/templates/FeaturePresentationDetailTemplate/index.js +112 -112
  474. package/dist/presentation/features/templates/FeaturePresentationsTemplate/FeaturePresentationsTemplate.js +16 -16
  475. package/dist/presentation/features/templates/FeaturePresentationsTemplate/index.js +16 -16
  476. package/package.json +71 -22
  477. package/src/bundles/LibraryBundle.ts +152 -0
  478. package/src/bundles/index.ts +1 -0
  479. package/src/components/docs/generated/docs-index._common.json +441 -90
  480. package/src/components/docs/generated/docs-index.agent-console.json +1 -1
  481. package/src/components/docs/generated/docs-index.ai-chat.json +1 -1
  482. package/src/components/docs/generated/docs-index.ai-support-bot.json +1 -1
  483. package/src/components/docs/generated/docs-index.analytics-dashboard.json +1 -1
  484. package/src/components/docs/generated/docs-index.app-config.json +1 -1
  485. package/src/components/docs/generated/docs-index.audit-trail.json +1 -1
  486. package/src/components/docs/generated/docs-index.calendar-google.json +1 -1
  487. package/src/components/docs/generated/docs-index.content-generation.json +1 -1
  488. package/src/components/docs/generated/docs-index.crm-pipeline.json +1 -1
  489. package/src/components/docs/generated/docs-index.email-gmail.json +1 -1
  490. package/src/components/docs/generated/docs-index.feature-flags.json +1 -1
  491. package/src/components/docs/generated/docs-index.files.json +1 -1
  492. package/src/components/docs/generated/docs-index.generated.ts +7 -7
  493. package/src/components/docs/generated/docs-index.health.json +1 -1
  494. package/src/components/docs/generated/docs-index.identity-rbac.json +1 -1
  495. package/src/components/docs/generated/docs-index.in-app-docs.json +1 -1
  496. package/src/components/docs/generated/docs-index.integration-hub.json +1 -1
  497. package/src/components/docs/generated/docs-index.integration-posthog.json +1 -1
  498. package/src/components/docs/generated/docs-index.integration-stripe.json +1 -1
  499. package/src/components/docs/generated/docs-index.integration-supabase.json +1 -1
  500. package/src/components/docs/generated/docs-index.jobs.json +1 -1
  501. package/src/components/docs/generated/docs-index.kb-update-pipeline.json +1 -1
  502. package/src/components/docs/generated/docs-index.knowledge-canon.json +1 -1
  503. package/src/components/docs/generated/docs-index.learning-journey-ambient-coach.json +1 -1
  504. package/src/components/docs/generated/docs-index.learning-journey-crm-onboarding.json +1 -1
  505. package/src/components/docs/generated/docs-index.learning-journey-duo-drills.json +1 -1
  506. package/src/components/docs/generated/docs-index.learning-journey-platform-tour.json +1 -1
  507. package/src/components/docs/generated/docs-index.learning-journey-quest-challenges.json +1 -1
  508. package/src/components/docs/generated/docs-index.learning-journey-registry.json +1 -1
  509. package/src/components/docs/generated/docs-index.learning-journey-studio-onboarding.json +1 -1
  510. package/src/components/docs/generated/docs-index.learning-journey-ui-coaching.json +1 -1
  511. package/src/components/docs/generated/docs-index.learning-journey-ui-gamified.json +1 -1
  512. package/src/components/docs/generated/docs-index.learning-journey-ui-onboarding.json +1 -1
  513. package/src/components/docs/generated/docs-index.learning-journey-ui-shared.json +1 -1
  514. package/src/components/docs/generated/docs-index.learning-journey.json +1 -1
  515. package/src/components/docs/generated/docs-index.learning-patterns.json +1 -1
  516. package/src/components/docs/generated/docs-index.lifecycle-cli.json +1 -1
  517. package/src/components/docs/generated/docs-index.lifecycle-dashboard.json +1 -1
  518. package/src/components/docs/generated/docs-index.locale-jurisdiction-gate.json +1 -1
  519. package/src/components/docs/generated/docs-index.manifest.json +2 -2
  520. package/src/components/docs/generated/docs-index.marketplace.json +1 -1
  521. package/src/components/docs/generated/docs-index.meeting-recorder-providers.json +1 -1
  522. package/src/components/docs/generated/docs-index.meeting-recorder.json +1 -1
  523. package/src/components/docs/generated/docs-index.metrics.json +1 -1
  524. package/src/components/docs/generated/docs-index.minimal.json +1 -1
  525. package/src/components/docs/generated/docs-index.notifications.json +1 -1
  526. package/src/components/docs/generated/docs-index.openbanking-powens.json +1 -1
  527. package/src/components/docs/generated/docs-index.openbanking.json +1 -1
  528. package/src/components/docs/generated/docs-index.opencode-cli.json +1 -1
  529. package/src/components/docs/generated/docs-index.personalization.json +1 -1
  530. package/src/components/docs/generated/docs-index.platform-acp.json +1 -1
  531. package/src/components/docs/generated/docs-index.platform-agent.json +1 -1
  532. package/src/components/docs/generated/docs-index.platform-context.json +1 -1
  533. package/src/components/docs/generated/docs-index.platform-database.json +1 -1
  534. package/src/components/docs/generated/docs-index.platform-docs.json +1 -1
  535. package/src/components/docs/generated/docs-index.platform-integrations.json +1 -1
  536. package/src/components/docs/generated/docs-index.platform-knowledge.json +1 -1
  537. package/src/components/docs/generated/docs-index.platform-provider-ranking.json +1 -1
  538. package/src/components/docs/generated/docs-index.pocket-family-office.json +1 -1
  539. package/src/components/docs/generated/docs-index.policy-safe-knowledge-assistant.json +1 -1
  540. package/src/components/docs/generated/docs-index.product-intent.json +1 -1
  541. package/src/components/docs/generated/docs-index.project-management-sync.json +1 -1
  542. package/src/components/docs/generated/docs-index.saas-boilerplate.json +1 -1
  543. package/src/components/docs/generated/docs-index.service-business-os.json +1 -1
  544. package/src/components/docs/generated/docs-index.team-hub.json +1 -1
  545. package/src/components/docs/generated/docs-index.unknown.json +1 -1
  546. package/src/components/docs/generated/docs-index.versioned-knowledge-base.json +1 -1
  547. package/src/components/docs/generated/docs-index.video-api-showcase.json +1 -1
  548. package/src/components/docs/generated/docs-index.video-docs-terminal.json +1 -1
  549. package/src/components/docs/generated/docs-index.video-marketing-clip.json +1 -1
  550. package/src/components/docs/generated/docs-index.voice-providers.json +1 -1
  551. package/src/components/docs/generated/docs-index.wealth-snapshot.json +1 -1
  552. package/src/components/docs/generated/docs-index.workflow-system.json +1 -1
  553. package/src/components/docs/generated/docs-index.workspace-cli.json +1 -1
  554. package/src/components/docs/guides/GuideNextjsOneEndpointPage.tsx +1 -1
  555. package/src/components/shell/WorkspaceShellRenderer.tsx +90 -0
  556. package/src/components/shell/index.ts +1 -0
@@ -2,152 +2,152 @@
2
2
  // src/components/docs/safety/SafetyMigrationsPage.tsx
3
3
  import Link from "@contractspec/lib.ui-link";
4
4
  import { ChevronRight } from "lucide-react";
5
- import { jsxDEV } from "react/jsx-dev-runtime";
5
+ import { jsx, jsxs } from "react/jsx-runtime";
6
6
  function SafetyMigrationsPage() {
7
- return /* @__PURE__ */ jsxDEV("div", {
7
+ return /* @__PURE__ */ jsxs("div", {
8
8
  className: "space-y-8",
9
9
  children: [
10
- /* @__PURE__ */ jsxDEV("div", {
10
+ /* @__PURE__ */ jsxs("div", {
11
11
  className: "space-y-4",
12
12
  children: [
13
- /* @__PURE__ */ jsxDEV("h1", {
13
+ /* @__PURE__ */ jsx("h1", {
14
14
  className: "text-4xl font-bold",
15
15
  children: "Migrations"
16
- }, undefined, false, undefined, this),
17
- /* @__PURE__ */ jsxDEV("p", {
16
+ }),
17
+ /* @__PURE__ */ jsxs("p", {
18
18
  className: "text-muted-foreground",
19
19
  children: [
20
20
  "A ",
21
- /* @__PURE__ */ jsxDEV("strong", {
21
+ /* @__PURE__ */ jsx("strong", {
22
22
  children: "schema migration"
23
- }, undefined, false, undefined, this),
23
+ }),
24
24
  " (also called a database migration) is a set of incremental, reversible changes to a database schema. According to",
25
25
  " ",
26
- /* @__PURE__ */ jsxDEV("a", {
26
+ /* @__PURE__ */ jsx("a", {
27
27
  href: "https://en.wikipedia.org/wiki/Schema_migration",
28
28
  target: "_blank",
29
29
  rel: "noopener noreferrer",
30
30
  className: "text-violet-400 hover:text-violet-300",
31
31
  children: "Wikipedia"
32
- }, undefined, false, undefined, this),
32
+ }),
33
33
  `, schema migrations "allow the database schema to evolve as the application's requirements change, while preserving existing data."`
34
34
  ]
35
- }, undefined, true, undefined, this)
35
+ })
36
36
  ]
37
- }, undefined, true, undefined, this),
38
- /* @__PURE__ */ jsxDEV("div", {
37
+ }),
38
+ /* @__PURE__ */ jsxs("div", {
39
39
  className: "space-y-4",
40
40
  children: [
41
- /* @__PURE__ */ jsxDEV("h2", {
41
+ /* @__PURE__ */ jsx("h2", {
42
42
  className: "text-2xl font-bold",
43
43
  children: "Why migrations matter"
44
- }, undefined, false, undefined, this),
45
- /* @__PURE__ */ jsxDEV("p", {
44
+ }),
45
+ /* @__PURE__ */ jsx("p", {
46
46
  className: "text-muted-foreground",
47
47
  children: "As your application evolves, you'll need to change your data model\u2014adding new fields, renaming tables, changing data types, or restructuring relationships. Without a disciplined approach, these changes can lead to:"
48
- }, undefined, false, undefined, this),
49
- /* @__PURE__ */ jsxDEV("ul", {
48
+ }),
49
+ /* @__PURE__ */ jsxs("ul", {
50
50
  className: "text-muted-foreground list-inside list-disc space-y-2",
51
51
  children: [
52
- /* @__PURE__ */ jsxDEV("li", {
52
+ /* @__PURE__ */ jsx("li", {
53
53
  children: "Data loss or corruption"
54
- }, undefined, false, undefined, this),
55
- /* @__PURE__ */ jsxDEV("li", {
54
+ }),
55
+ /* @__PURE__ */ jsx("li", {
56
56
  children: "Downtime during deployments"
57
- }, undefined, false, undefined, this),
58
- /* @__PURE__ */ jsxDEV("li", {
57
+ }),
58
+ /* @__PURE__ */ jsx("li", {
59
59
  children: "Inconsistencies between environments (dev, staging, production)"
60
- }, undefined, false, undefined, this),
61
- /* @__PURE__ */ jsxDEV("li", {
60
+ }),
61
+ /* @__PURE__ */ jsx("li", {
62
62
  children: "Difficulty rolling back failed changes"
63
- }, undefined, false, undefined, this)
63
+ })
64
64
  ]
65
- }, undefined, true, undefined, this),
66
- /* @__PURE__ */ jsxDEV("p", {
65
+ }),
66
+ /* @__PURE__ */ jsx("p", {
67
67
  className: "text-muted-foreground",
68
68
  children: "Migrations solve these problems by treating schema changes as versioned, tested, and reversible operations."
69
- }, undefined, false, undefined, this)
69
+ })
70
70
  ]
71
- }, undefined, true, undefined, this),
72
- /* @__PURE__ */ jsxDEV("div", {
71
+ }),
72
+ /* @__PURE__ */ jsxs("div", {
73
73
  className: "space-y-4",
74
74
  children: [
75
- /* @__PURE__ */ jsxDEV("h2", {
75
+ /* @__PURE__ */ jsx("h2", {
76
76
  className: "text-2xl font-bold",
77
77
  children: "How MigrationSpec works"
78
- }, undefined, false, undefined, this),
79
- /* @__PURE__ */ jsxDEV("p", {
78
+ }),
79
+ /* @__PURE__ */ jsxs("p", {
80
80
  className: "text-muted-foreground",
81
81
  children: [
82
82
  "In ContractSpec, migrations are defined using",
83
83
  " ",
84
- /* @__PURE__ */ jsxDEV("strong", {
84
+ /* @__PURE__ */ jsx("strong", {
85
85
  children: "MigrationSpec"
86
- }, undefined, false, undefined, this),
86
+ }),
87
87
  ". Each migration has:"
88
88
  ]
89
- }, undefined, true, undefined, this),
90
- /* @__PURE__ */ jsxDEV("ul", {
89
+ }),
90
+ /* @__PURE__ */ jsxs("ul", {
91
91
  className: "text-muted-foreground list-inside list-disc space-y-2",
92
92
  children: [
93
- /* @__PURE__ */ jsxDEV("li", {
93
+ /* @__PURE__ */ jsxs("li", {
94
94
  children: [
95
- /* @__PURE__ */ jsxDEV("strong", {
95
+ /* @__PURE__ */ jsx("strong", {
96
96
  children: "Version"
97
- }, undefined, false, undefined, this),
97
+ }),
98
98
  ' \u2013 A unique identifier (e.g., "2025-11-13-001") that determines the order of execution.'
99
99
  ]
100
- }, undefined, true, undefined, this),
101
- /* @__PURE__ */ jsxDEV("li", {
100
+ }),
101
+ /* @__PURE__ */ jsxs("li", {
102
102
  children: [
103
- /* @__PURE__ */ jsxDEV("strong", {
103
+ /* @__PURE__ */ jsx("strong", {
104
104
  children: "Up function"
105
- }, undefined, false, undefined, this),
105
+ }),
106
106
  ` \u2013 The forward migration that applies the change (e.g., "add column 'email_verified'").`
107
107
  ]
108
- }, undefined, true, undefined, this),
109
- /* @__PURE__ */ jsxDEV("li", {
108
+ }),
109
+ /* @__PURE__ */ jsxs("li", {
110
110
  children: [
111
- /* @__PURE__ */ jsxDEV("strong", {
111
+ /* @__PURE__ */ jsx("strong", {
112
112
  children: "Down function"
113
- }, undefined, false, undefined, this),
113
+ }),
114
114
  ` \u2013 The reverse migration that undoes the change (e.g., "drop column 'email_verified'").`
115
115
  ]
116
- }, undefined, true, undefined, this),
117
- /* @__PURE__ */ jsxDEV("li", {
116
+ }),
117
+ /* @__PURE__ */ jsxs("li", {
118
118
  children: [
119
- /* @__PURE__ */ jsxDEV("strong", {
119
+ /* @__PURE__ */ jsx("strong", {
120
120
  children: "Dependencies"
121
- }, undefined, false, undefined, this),
121
+ }),
122
122
  " \u2013 Other migrations that must run before this one."
123
123
  ]
124
- }, undefined, true, undefined, this),
125
- /* @__PURE__ */ jsxDEV("li", {
124
+ }),
125
+ /* @__PURE__ */ jsxs("li", {
126
126
  children: [
127
- /* @__PURE__ */ jsxDEV("strong", {
127
+ /* @__PURE__ */ jsx("strong", {
128
128
  children: "Validation"
129
- }, undefined, false, undefined, this),
129
+ }),
130
130
  ' \u2013 Optional checks to ensure the migration succeeded (e.g., "verify all users have an email address").'
131
131
  ]
132
- }, undefined, true, undefined, this)
132
+ })
133
133
  ]
134
- }, undefined, true, undefined, this)
134
+ })
135
135
  ]
136
- }, undefined, true, undefined, this),
137
- /* @__PURE__ */ jsxDEV("div", {
136
+ }),
137
+ /* @__PURE__ */ jsxs("div", {
138
138
  className: "space-y-4",
139
139
  children: [
140
- /* @__PURE__ */ jsxDEV("h2", {
140
+ /* @__PURE__ */ jsx("h2", {
141
141
  className: "text-2xl font-bold",
142
142
  children: "Example MigrationSpec"
143
- }, undefined, false, undefined, this),
144
- /* @__PURE__ */ jsxDEV("p", {
143
+ }),
144
+ /* @__PURE__ */ jsx("p", {
145
145
  className: "text-muted-foreground",
146
146
  children: "Here's a migration that adds an email verification field to the users table:"
147
- }, undefined, false, undefined, this),
148
- /* @__PURE__ */ jsxDEV("div", {
147
+ }),
148
+ /* @__PURE__ */ jsx("div", {
149
149
  className: "bg-background/50 border-border text-muted-foreground overflow-x-auto rounded-lg border p-4 font-mono text-sm",
150
- children: /* @__PURE__ */ jsxDEV("pre", {
150
+ children: /* @__PURE__ */ jsx("pre", {
151
151
  children: `migrationId: add-email-verified
152
152
  version: 2025-11-13-001
153
153
  dependencies: []
@@ -172,210 +172,210 @@ validation:
172
172
  SELECT COUNT(*) FROM users
173
173
  WHERE email_verified IS NULL;
174
174
  expectZeroRows: true`
175
- }, undefined, false, undefined, this)
176
- }, undefined, false, undefined, this)
175
+ })
176
+ })
177
177
  ]
178
- }, undefined, true, undefined, this),
179
- /* @__PURE__ */ jsxDEV("div", {
178
+ }),
179
+ /* @__PURE__ */ jsxs("div", {
180
180
  className: "space-y-4",
181
181
  children: [
182
- /* @__PURE__ */ jsxDEV("h2", {
182
+ /* @__PURE__ */ jsx("h2", {
183
183
  className: "text-2xl font-bold",
184
184
  children: "Running migrations"
185
- }, undefined, false, undefined, this),
186
- /* @__PURE__ */ jsxDEV("p", {
185
+ }),
186
+ /* @__PURE__ */ jsx("p", {
187
187
  className: "text-muted-foreground",
188
188
  children: "Migrations are applied automatically during deployment. The ContractSpec runtime:"
189
- }, undefined, false, undefined, this),
190
- /* @__PURE__ */ jsxDEV("ol", {
189
+ }),
190
+ /* @__PURE__ */ jsxs("ol", {
191
191
  className: "text-muted-foreground list-inside list-decimal space-y-2",
192
192
  children: [
193
- /* @__PURE__ */ jsxDEV("li", {
193
+ /* @__PURE__ */ jsx("li", {
194
194
  children: "Checks which migrations have already been applied (stored in a migrations table)."
195
- }, undefined, false, undefined, this),
196
- /* @__PURE__ */ jsxDEV("li", {
195
+ }),
196
+ /* @__PURE__ */ jsx("li", {
197
197
  children: "Identifies new migrations that need to run."
198
- }, undefined, false, undefined, this),
199
- /* @__PURE__ */ jsxDEV("li", {
198
+ }),
199
+ /* @__PURE__ */ jsx("li", {
200
200
  children: "Executes them in order, respecting dependencies."
201
- }, undefined, false, undefined, this),
202
- /* @__PURE__ */ jsxDEV("li", {
201
+ }),
202
+ /* @__PURE__ */ jsx("li", {
203
203
  children: "Runs validation checks to ensure success."
204
- }, undefined, false, undefined, this),
205
- /* @__PURE__ */ jsxDEV("li", {
204
+ }),
205
+ /* @__PURE__ */ jsx("li", {
206
206
  children: "Records the migration as applied."
207
- }, undefined, false, undefined, this)
207
+ })
208
208
  ]
209
- }, undefined, true, undefined, this),
210
- /* @__PURE__ */ jsxDEV("p", {
209
+ }),
210
+ /* @__PURE__ */ jsx("p", {
211
211
  className: "text-muted-foreground",
212
212
  children: "If a migration fails, the deployment is aborted, and the system remains in its previous state. You can then fix the migration and redeploy."
213
- }, undefined, false, undefined, this)
213
+ })
214
214
  ]
215
- }, undefined, true, undefined, this),
216
- /* @__PURE__ */ jsxDEV("div", {
215
+ }),
216
+ /* @__PURE__ */ jsxs("div", {
217
217
  className: "space-y-4",
218
218
  children: [
219
- /* @__PURE__ */ jsxDEV("h2", {
219
+ /* @__PURE__ */ jsx("h2", {
220
220
  className: "text-2xl font-bold",
221
221
  children: "Rolling back migrations"
222
- }, undefined, false, undefined, this),
223
- /* @__PURE__ */ jsxDEV("p", {
222
+ }),
223
+ /* @__PURE__ */ jsxs("p", {
224
224
  className: "text-muted-foreground",
225
225
  children: [
226
226
  "If you need to roll back a deployment, ContractSpec automatically runs the ",
227
- /* @__PURE__ */ jsxDEV("strong", {
227
+ /* @__PURE__ */ jsx("strong", {
228
228
  children: "down"
229
- }, undefined, false, undefined, this),
229
+ }),
230
230
  " functions of any migrations that were applied. This restores the database to its previous state."
231
231
  ]
232
- }, undefined, true, undefined, this),
233
- /* @__PURE__ */ jsxDEV("p", {
232
+ }),
233
+ /* @__PURE__ */ jsx("p", {
234
234
  className: "text-muted-foreground",
235
235
  children: "Note that rollbacks are not always possible\u2014for example, if you've deleted a column, you cannot recover the data unless you have a backup. For destructive changes, it's best to use a multi-step migration:"
236
- }, undefined, false, undefined, this),
237
- /* @__PURE__ */ jsxDEV("ol", {
236
+ }),
237
+ /* @__PURE__ */ jsxs("ol", {
238
238
  className: "text-muted-foreground list-inside list-decimal space-y-2",
239
239
  children: [
240
- /* @__PURE__ */ jsxDEV("li", {
240
+ /* @__PURE__ */ jsx("li", {
241
241
  children: "Add the new column (reversible)."
242
- }, undefined, false, undefined, this),
243
- /* @__PURE__ */ jsxDEV("li", {
242
+ }),
243
+ /* @__PURE__ */ jsx("li", {
244
244
  children: "Backfill data from the old column to the new column (reversible)."
245
- }, undefined, false, undefined, this),
246
- /* @__PURE__ */ jsxDEV("li", {
245
+ }),
246
+ /* @__PURE__ */ jsx("li", {
247
247
  children: "Update application code to use the new column (reversible)."
248
- }, undefined, false, undefined, this),
249
- /* @__PURE__ */ jsxDEV("li", {
248
+ }),
249
+ /* @__PURE__ */ jsx("li", {
250
250
  children: "Drop the old column (irreversible\u2014only do this after confirming the new column works)."
251
- }, undefined, false, undefined, this)
251
+ })
252
252
  ]
253
- }, undefined, true, undefined, this)
253
+ })
254
254
  ]
255
- }, undefined, true, undefined, this),
256
- /* @__PURE__ */ jsxDEV("div", {
255
+ }),
256
+ /* @__PURE__ */ jsxs("div", {
257
257
  className: "space-y-4",
258
258
  children: [
259
- /* @__PURE__ */ jsxDEV("h2", {
259
+ /* @__PURE__ */ jsx("h2", {
260
260
  className: "text-2xl font-bold",
261
261
  children: "Best practices"
262
- }, undefined, false, undefined, this),
263
- /* @__PURE__ */ jsxDEV("ul", {
262
+ }),
263
+ /* @__PURE__ */ jsxs("ul", {
264
264
  className: "text-muted-foreground list-inside list-disc space-y-2",
265
265
  children: [
266
- /* @__PURE__ */ jsxDEV("li", {
266
+ /* @__PURE__ */ jsxs("li", {
267
267
  children: [
268
- /* @__PURE__ */ jsxDEV("strong", {
268
+ /* @__PURE__ */ jsx("strong", {
269
269
  children: "Test migrations locally"
270
- }, undefined, false, undefined, this),
270
+ }),
271
271
  " \u2013 Run them against a copy of production data to catch issues before deploying."
272
272
  ]
273
- }, undefined, true, undefined, this),
274
- /* @__PURE__ */ jsxDEV("li", {
273
+ }),
274
+ /* @__PURE__ */ jsxs("li", {
275
275
  children: [
276
- /* @__PURE__ */ jsxDEV("strong", {
276
+ /* @__PURE__ */ jsx("strong", {
277
277
  children: "Keep migrations small"
278
- }, undefined, false, undefined, this),
278
+ }),
279
279
  " \u2013 Each migration should do one thing. This makes them easier to understand and roll back."
280
280
  ]
281
- }, undefined, true, undefined, this),
282
- /* @__PURE__ */ jsxDEV("li", {
281
+ }),
282
+ /* @__PURE__ */ jsxs("li", {
283
283
  children: [
284
- /* @__PURE__ */ jsxDEV("strong", {
284
+ /* @__PURE__ */ jsx("strong", {
285
285
  children: "Write reversible migrations"
286
- }, undefined, false, undefined, this),
286
+ }),
287
287
  " \u2013 Always provide a down function, even if you don't plan to roll back."
288
288
  ]
289
- }, undefined, true, undefined, this),
290
- /* @__PURE__ */ jsxDEV("li", {
289
+ }),
290
+ /* @__PURE__ */ jsxs("li", {
291
291
  children: [
292
- /* @__PURE__ */ jsxDEV("strong", {
292
+ /* @__PURE__ */ jsx("strong", {
293
293
  children: "Use transactions"
294
- }, undefined, false, undefined, this),
294
+ }),
295
295
  " \u2013 Wrap migrations in database transactions so they either fully succeed or fully fail."
296
296
  ]
297
- }, undefined, true, undefined, this),
298
- /* @__PURE__ */ jsxDEV("li", {
297
+ }),
298
+ /* @__PURE__ */ jsxs("li", {
299
299
  children: [
300
- /* @__PURE__ */ jsxDEV("strong", {
300
+ /* @__PURE__ */ jsx("strong", {
301
301
  children: "Avoid destructive changes"
302
- }, undefined, false, undefined, this),
302
+ }),
303
303
  " \u2013 Prefer additive changes (adding columns) over destructive ones (dropping columns). If you must delete data, archive it first."
304
304
  ]
305
- }, undefined, true, undefined, this),
306
- /* @__PURE__ */ jsxDEV("li", {
305
+ }),
306
+ /* @__PURE__ */ jsxs("li", {
307
307
  children: [
308
- /* @__PURE__ */ jsxDEV("strong", {
308
+ /* @__PURE__ */ jsx("strong", {
309
309
  children: "Version your migrations"
310
- }, undefined, false, undefined, this),
310
+ }),
311
311
  " \u2013 Use timestamps or sequential numbers to ensure migrations run in the correct order."
312
312
  ]
313
- }, undefined, true, undefined, this),
314
- /* @__PURE__ */ jsxDEV("li", {
313
+ }),
314
+ /* @__PURE__ */ jsxs("li", {
315
315
  children: [
316
- /* @__PURE__ */ jsxDEV("strong", {
316
+ /* @__PURE__ */ jsx("strong", {
317
317
  children: "Document breaking changes"
318
- }, undefined, false, undefined, this),
318
+ }),
319
319
  " \u2013 If a migration requires application code changes, note this in the migration description."
320
320
  ]
321
- }, undefined, true, undefined, this)
321
+ })
322
322
  ]
323
- }, undefined, true, undefined, this)
323
+ })
324
324
  ]
325
- }, undefined, true, undefined, this),
326
- /* @__PURE__ */ jsxDEV("div", {
325
+ }),
326
+ /* @__PURE__ */ jsxs("div", {
327
327
  className: "space-y-4",
328
328
  children: [
329
- /* @__PURE__ */ jsxDEV("h2", {
329
+ /* @__PURE__ */ jsx("h2", {
330
330
  className: "text-2xl font-bold",
331
331
  children: "Zero-downtime migrations"
332
- }, undefined, false, undefined, this),
333
- /* @__PURE__ */ jsxDEV("p", {
332
+ }),
333
+ /* @__PURE__ */ jsx("p", {
334
334
  className: "text-muted-foreground",
335
335
  children: "Some migrations can cause downtime if not handled carefully. For example, adding a NOT NULL column to a large table can lock the table for minutes. To avoid this, use a multi-step approach:"
336
- }, undefined, false, undefined, this),
337
- /* @__PURE__ */ jsxDEV("ol", {
336
+ }),
337
+ /* @__PURE__ */ jsxs("ol", {
338
338
  className: "text-muted-foreground list-inside list-decimal space-y-2",
339
339
  children: [
340
- /* @__PURE__ */ jsxDEV("li", {
340
+ /* @__PURE__ */ jsx("li", {
341
341
  children: "Add the column as nullable."
342
- }, undefined, false, undefined, this),
343
- /* @__PURE__ */ jsxDEV("li", {
342
+ }),
343
+ /* @__PURE__ */ jsx("li", {
344
344
  children: "Backfill the column in batches (without locking the table)."
345
- }, undefined, false, undefined, this),
346
- /* @__PURE__ */ jsxDEV("li", {
345
+ }),
346
+ /* @__PURE__ */ jsx("li", {
347
347
  children: "Add the NOT NULL constraint once all rows are populated."
348
- }, undefined, false, undefined, this)
348
+ })
349
349
  ]
350
- }, undefined, true, undefined, this),
351
- /* @__PURE__ */ jsxDEV("p", {
350
+ }),
351
+ /* @__PURE__ */ jsx("p", {
352
352
  className: "text-muted-foreground",
353
353
  children: "ContractSpec's migration system supports this pattern by allowing you to split a logical change into multiple versioned migrations."
354
- }, undefined, false, undefined, this)
354
+ })
355
355
  ]
356
- }, undefined, true, undefined, this),
357
- /* @__PURE__ */ jsxDEV("div", {
356
+ }),
357
+ /* @__PURE__ */ jsxs("div", {
358
358
  className: "flex items-center gap-4 pt-4",
359
359
  children: [
360
- /* @__PURE__ */ jsxDEV(Link, {
360
+ /* @__PURE__ */ jsx(Link, {
361
361
  href: "/docs/safety/auditing",
362
362
  className: "btn-ghost",
363
363
  children: "Previous: Audit Logs"
364
- }, undefined, false, undefined, this),
365
- /* @__PURE__ */ jsxDEV(Link, {
364
+ }),
365
+ /* @__PURE__ */ jsxs(Link, {
366
366
  href: "/docs/advanced/renderers",
367
367
  className: "btn-primary",
368
368
  children: [
369
369
  "Next: Advanced Topics ",
370
- /* @__PURE__ */ jsxDEV(ChevronRight, {
370
+ /* @__PURE__ */ jsx(ChevronRight, {
371
371
  size: 16
372
- }, undefined, false, undefined, this)
372
+ })
373
373
  ]
374
- }, undefined, true, undefined, this)
374
+ })
375
375
  ]
376
- }, undefined, true, undefined, this)
376
+ })
377
377
  ]
378
- }, undefined, true, undefined, this);
378
+ });
379
379
  }
380
380
  export {
381
381
  SafetyMigrationsPage