@contractspec/bundle.library 3.8.12 → 3.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (683) hide show
  1. package/.turbo/turbo-build.log +614 -602
  2. package/CHANGELOG.md +97 -0
  3. package/dist/application/context-storage/index.js +1 -1
  4. package/dist/application/index.js +11 -11
  5. package/dist/application/mcp/cliMcp.js +6 -6
  6. package/dist/application/mcp/cliMcp.onboarding.d.ts +4 -0
  7. package/dist/application/mcp/cliMcp.onboarding.js +2 -0
  8. package/dist/application/mcp/cliMcp.test.d.ts +1 -0
  9. package/dist/application/mcp/common.js +1 -1
  10. package/dist/application/mcp/contractsMcp.js +2 -2
  11. package/dist/application/mcp/contractsMcp.test.d.ts +1 -0
  12. package/dist/application/mcp/contractsMcpAdoptionTools.d.ts +3 -0
  13. package/dist/application/mcp/contractsMcpAdoptionTools.js +2 -0
  14. package/dist/application/mcp/contractsMcpResources.js +2 -2
  15. package/dist/application/mcp/contractsMcpTools.js +1 -1
  16. package/dist/application/mcp/contractsMcpTypes.d.ts +16 -0
  17. package/dist/application/mcp/docsMcp.catalog.js +2 -2
  18. package/dist/application/mcp/docsMcp.data.js +1 -1
  19. package/dist/application/mcp/docsMcp.js +3 -3
  20. package/dist/application/mcp/docsMcp.prompts.js +3 -3
  21. package/dist/application/mcp/docsMcp.reference.js +2 -2
  22. package/dist/application/mcp/docsMcp.resources.js +2 -2
  23. package/dist/application/mcp/docsMcp.tools.js +2 -2
  24. package/dist/application/mcp/index.js +11 -11
  25. package/dist/application/mcp/internalMcp.js +2 -2
  26. package/dist/application/mcp/normalizeMcpRequest.js +1 -1
  27. package/dist/application/mcp/providerRankingMcp.js +1 -1
  28. package/dist/bundles/LibraryBundle.d.ts +19 -111
  29. package/dist/bundles/LibraryBundle.js +1 -1
  30. package/dist/bundles/index.js +1 -1
  31. package/dist/components/docs/DocsIndexPage.js +2 -2
  32. package/dist/components/docs/advanced/AdvancedMCPPage.js +3 -3
  33. package/dist/components/docs/advanced/AdvancedOverlayEditorPage.js +1 -1
  34. package/dist/components/docs/advanced/AdvancedRenderersPage.js +2 -2
  35. package/dist/components/docs/advanced/AdvancedSpecExperimentsPage.js +4 -4
  36. package/dist/components/docs/advanced/AdvancedTelemetryPage.js +2 -2
  37. package/dist/components/docs/advanced/AdvancedWorkflowMonitoringPage.js +2 -2
  38. package/dist/components/docs/advanced/index.js +9 -9
  39. package/dist/components/docs/architecture/ArchitectureAppConfigPage.js +6 -6
  40. package/dist/components/docs/architecture/ArchitectureControlPlanePage.js +3 -3
  41. package/dist/components/docs/architecture/ArchitectureIntegrationBindingPage.js +7 -7
  42. package/dist/components/docs/architecture/ArchitectureKnowledgeBindingPage.js +6 -6
  43. package/dist/components/docs/architecture/ArchitectureMultiTenancyPage.js +2 -2
  44. package/dist/components/docs/architecture/ArchitectureOverviewPage.js +1 -1
  45. package/dist/components/docs/architecture/index.js +20 -20
  46. package/dist/components/docs/comparison/ComparisonAutomationPlatformsPage.js +1 -1
  47. package/dist/components/docs/comparison/ComparisonEnterprisePlatformsPage.js +1 -1
  48. package/dist/components/docs/comparison/ComparisonInternalToolBuildersPage.js +1 -1
  49. package/dist/components/docs/comparison/ComparisonOverviewPage.js +1 -1
  50. package/dist/components/docs/comparison/ComparisonWindmillPage.js +1 -1
  51. package/dist/components/docs/comparison/ComparisonWorkflowEnginesPage.js +1 -1
  52. package/dist/components/docs/comparison/index.js +1 -1
  53. package/dist/components/docs/docsManifest.js +1 -1
  54. package/dist/components/docs/ecosystem/IntegrationsPage.js +2 -2
  55. package/dist/components/docs/ecosystem/PluginsPage.js +4 -4
  56. package/dist/components/docs/ecosystem/RegistryPage.js +4 -4
  57. package/dist/components/docs/ecosystem/TemplatesPage.js +3 -3
  58. package/dist/components/docs/ecosystem/index.js +11 -11
  59. package/dist/components/docs/examples/DocsExamplesPage.js +1 -17
  60. package/dist/components/docs/examples/ExampleShowcasePage.d.ts +1 -1
  61. package/dist/components/docs/examples/ExampleShowcasePage.js +2 -17
  62. package/dist/components/docs/examples/exampleShowcaseData.d.ts +2 -2
  63. package/dist/components/docs/examples/exampleShowcaseData.js +2 -17
  64. package/dist/components/docs/examples/exampleShowcaseData.test.d.ts +1 -0
  65. package/dist/components/docs/examples/index.js +2 -17
  66. package/dist/components/docs/generated/docs-index.generated.js +1 -1
  67. package/dist/components/docs/generated/index.d.ts +7 -1
  68. package/dist/components/docs/generated/index.js +1 -1
  69. package/dist/components/docs/generated/loader.js +1 -1
  70. package/dist/components/docs/getting-started/CLIPage.js +6 -5
  71. package/dist/components/docs/getting-started/CompatibilityPage.js +1 -1
  72. package/dist/components/docs/getting-started/DataViewTutorialPage.js +44 -67
  73. package/dist/components/docs/getting-started/DeveloperToolsPage.js +1 -1
  74. package/dist/components/docs/getting-started/HelloWorldPage.js +5 -5
  75. package/dist/components/docs/getting-started/InstallationPage.js +3 -3
  76. package/dist/components/docs/getting-started/StartHerePage.js +4 -2
  77. package/dist/components/docs/getting-started/TroubleshootingPage.js +2 -2
  78. package/dist/components/docs/getting-started/VSCodeExtensionPage.js +1 -1
  79. package/dist/components/docs/getting-started/getting-started.docblocks.js +2 -2
  80. package/dist/components/docs/getting-started/index.js +60 -80
  81. package/dist/components/docs/guides/GuideCIDiffGatingPage.js +2 -2
  82. package/dist/components/docs/guides/GuideConnectInRepoPage.js +30 -5
  83. package/dist/components/docs/guides/GuideContractTypesPage.js +6 -6
  84. package/dist/components/docs/guides/GuideDocsPipelinePage.js +3 -3
  85. package/dist/components/docs/guides/GuideFirstModuleBundlePage.js +4 -4
  86. package/dist/components/docs/guides/GuideGenerateDocsClientsSchemasPage.js +2 -2
  87. package/dist/components/docs/guides/GuideHostBuilderWorkbenchPage.js +21 -6
  88. package/dist/components/docs/guides/GuideImportExistingCodebasesPage.js +8 -8
  89. package/dist/components/docs/guides/GuideNextjsOneEndpointPage.js +6 -6
  90. package/dist/components/docs/guides/GuideReleaseCapsulesPage.d.ts +1 -0
  91. package/dist/components/docs/guides/GuideReleaseCapsulesPage.js +16 -0
  92. package/dist/components/docs/guides/GuideSpecValidationTypingPage.js +4 -4
  93. package/dist/components/docs/guides/GuidesIndexPage.js +2 -2
  94. package/dist/components/docs/guides/index.d.ts +1 -0
  95. package/dist/components/docs/guides/index.js +93 -39
  96. package/dist/components/docs/index.js +690 -419
  97. package/dist/components/docs/integrations/IntegrationsCircuitBreakersPage.js +2 -2
  98. package/dist/components/docs/integrations/IntegrationsElevenLabsPage.js +3 -3
  99. package/dist/components/docs/integrations/IntegrationsGithubPage.js +2 -2
  100. package/dist/components/docs/integrations/IntegrationsGmailPage.js +3 -3
  101. package/dist/components/docs/integrations/IntegrationsGoogleCalendarPage.js +3 -3
  102. package/dist/components/docs/integrations/IntegrationsHealthRoutingPage.js +2 -2
  103. package/dist/components/docs/integrations/IntegrationsMistralPage.js +2 -2
  104. package/dist/components/docs/integrations/IntegrationsOpenAIPage.js +2 -2
  105. package/dist/components/docs/integrations/IntegrationsOverviewPage.js +1 -1
  106. package/dist/components/docs/integrations/IntegrationsPostmarkPage.js +2 -2
  107. package/dist/components/docs/integrations/IntegrationsPowensPage.js +2 -2
  108. package/dist/components/docs/integrations/IntegrationsQdrantPage.js +5 -5
  109. package/dist/components/docs/integrations/IntegrationsResendPage.js +3 -3
  110. package/dist/components/docs/integrations/IntegrationsS3Page.js +4 -4
  111. package/dist/components/docs/integrations/IntegrationsSlackPage.js +2 -2
  112. package/dist/components/docs/integrations/IntegrationsSpecModelPage.js +2 -2
  113. package/dist/components/docs/integrations/IntegrationsStripePage.js +2 -2
  114. package/dist/components/docs/integrations/IntegrationsTwilioPage.js +3 -3
  115. package/dist/components/docs/integrations/IntegrationsWhatsappMetaPage.js +2 -2
  116. package/dist/components/docs/integrations/IntegrationsWhatsappTwilioPage.js +2 -2
  117. package/dist/components/docs/integrations/index.js +39 -39
  118. package/dist/components/docs/intent/ContractFirstApiPage.js +2 -2
  119. package/dist/components/docs/intent/DeterministicCodegenPage.js +2 -2
  120. package/dist/components/docs/intent/GenerateClientFromSchemaPage.js +7 -7
  121. package/dist/components/docs/intent/OpenapiAlternativePage.js +3 -3
  122. package/dist/components/docs/intent/SchemaValidationTypescriptPage.js +4 -4
  123. package/dist/components/docs/intent/SpecDrivenDevelopmentPage.js +2 -2
  124. package/dist/components/docs/intent/index.js +15 -15
  125. package/dist/components/docs/intent/intent-pages.docblocks.js +1 -1
  126. package/dist/components/docs/knowledge/KnowledgeCategoriesPage.js +2 -2
  127. package/dist/components/docs/knowledge/KnowledgeExamplesPage.js +2 -2
  128. package/dist/components/docs/knowledge/KnowledgeOverviewPage.js +1 -1
  129. package/dist/components/docs/knowledge/KnowledgeSourcesPage.js +2 -2
  130. package/dist/components/docs/knowledge/KnowledgeSpacesPage.js +2 -2
  131. package/dist/components/docs/knowledge/index.js +5 -5
  132. package/dist/components/docs/libraries/LibrariesAccessibilityPage.js +3 -3
  133. package/dist/components/docs/libraries/LibrariesAiAgentPage.js +3 -3
  134. package/dist/components/docs/libraries/LibrariesAnalyticsPage.js +4 -4
  135. package/dist/components/docs/libraries/LibrariesContentGenPage.js +2 -2
  136. package/dist/components/docs/libraries/LibrariesContractsPage.js +43 -18
  137. package/dist/components/docs/libraries/LibrariesCostTrackingPage.js +3 -3
  138. package/dist/components/docs/libraries/LibrariesCrossPlatformUIPage.content.d.ts +67 -0
  139. package/dist/components/docs/libraries/LibrariesCrossPlatformUIPage.content.js +86 -0
  140. package/dist/components/docs/libraries/LibrariesCrossPlatformUIPage.d.ts +1 -0
  141. package/dist/components/docs/libraries/LibrariesCrossPlatformUIPage.js +86 -0
  142. package/dist/components/docs/libraries/LibrariesDataBackendPage.js +2 -2
  143. package/dist/components/docs/libraries/LibrariesDataViewsPage.js +3 -3
  144. package/dist/components/docs/libraries/LibrariesDesignSystemPage.js +77 -29
  145. package/dist/components/docs/libraries/LibrariesEvolutionPage.js +4 -4
  146. package/dist/components/docs/libraries/LibrariesGraphQLPage.js +2 -2
  147. package/dist/components/docs/libraries/LibrariesGrowthPage.js +3 -3
  148. package/dist/components/docs/libraries/LibrariesMultiTenancyPage.js +3 -3
  149. package/dist/components/docs/libraries/LibrariesObservabilityPage.js +5 -5
  150. package/dist/components/docs/libraries/LibrariesOverlayEnginePage.js +4 -4
  151. package/dist/components/docs/libraries/LibrariesOverviewPage.js +1 -1
  152. package/dist/components/docs/libraries/LibrariesPersonalizationPage.js +4 -4
  153. package/dist/components/docs/libraries/LibrariesProgressiveDeliveryPage.js +3 -3
  154. package/dist/components/docs/libraries/LibrariesResiliencePage.js +4 -4
  155. package/dist/components/docs/libraries/LibrariesRuntimePage.js +2 -2
  156. package/dist/components/docs/libraries/LibrariesSLOPage.js +3 -3
  157. package/dist/components/docs/libraries/LibrariesSchemaPage.js +3 -3
  158. package/dist/components/docs/libraries/LibrariesSupportBotPage.js +3 -3
  159. package/dist/components/docs/libraries/LibrariesTestingPage.js +3 -3
  160. package/dist/components/docs/libraries/LibrariesUIKitPage.js +42 -16
  161. package/dist/components/docs/libraries/LibrariesUIKitWebPage.d.ts +1 -0
  162. package/dist/components/docs/libraries/LibrariesUIKitWebPage.js +47 -0
  163. package/dist/components/docs/libraries/LibrariesWorkflowComposerPage.js +3 -3
  164. package/dist/components/docs/libraries/LibrariesWorkflowsPage.js +2 -2
  165. package/dist/components/docs/libraries/index.d.ts +2 -0
  166. package/dist/components/docs/libraries/index.js +338 -110
  167. package/dist/components/docs/manifesto/ManifestoPage.js +1 -1
  168. package/dist/components/docs/ops/AutoEvolutionOpsPage.js +2 -2
  169. package/dist/components/docs/ops/DistributedTracingOpsPage.js +2 -2
  170. package/dist/components/docs/ops/index.js +3 -3
  171. package/dist/components/docs/ops/ops-lifecycle.docblocks.js +2 -2
  172. package/dist/components/docs/ops/ops-runbooks-a.docblocks.js +2 -2
  173. package/dist/components/docs/ops/ops-runbooks-b.docblocks.js +2 -2
  174. package/dist/components/docs/ops/ops-slo-tenant.docblocks.js +2 -2
  175. package/dist/components/docs/ops/ops-top.docs.js +2 -2
  176. package/dist/components/docs/ops/ops.docs.js +6 -6
  177. package/dist/components/docs/product/product.docblocks.js +2 -2
  178. package/dist/components/docs/reference/DocsMarkdownContent.js +2 -2
  179. package/dist/components/docs/reference/DocsReferenceContent.js +3 -3
  180. package/dist/components/docs/reference/DocsReferenceIndexClient.js +2 -2
  181. package/dist/components/docs/reference/DocsReferenceIndexPage.js +2 -2
  182. package/dist/components/docs/reference/DocsReferencePage.js +3 -3
  183. package/dist/components/docs/reference/docsMarkdownParser.js +2 -2
  184. package/dist/components/docs/reference/index.js +4 -4
  185. package/dist/components/docs/safety/SafetyAuditingPage.js +2 -2
  186. package/dist/components/docs/safety/SafetyMigrationsPage.js +2 -2
  187. package/dist/components/docs/safety/SafetyOverviewPage.js +1 -1
  188. package/dist/components/docs/safety/SafetyPDPPage.js +2 -2
  189. package/dist/components/docs/safety/SafetySecurityTrustPage.js +1 -1
  190. package/dist/components/docs/safety/SafetySigningPage.js +3 -3
  191. package/dist/components/docs/safety/SafetyTenantIsolationPage.js +2 -2
  192. package/dist/components/docs/safety/index.js +7 -7
  193. package/dist/components/docs/shared/StudioPrompt.js +1 -1
  194. package/dist/components/docs/specs/SpecsBuilderControlPlanePage.js +18 -3
  195. package/dist/components/docs/specs/SpecsCapabilitiesPage.js +2 -2
  196. package/dist/components/docs/specs/SpecsConnectPage.js +4 -2
  197. package/dist/components/docs/specs/SpecsDataViewsPage.js +39 -32
  198. package/dist/components/docs/specs/SpecsModuleBundlesPage.js +3 -3
  199. package/dist/components/docs/specs/SpecsOverlaysPage.js +2 -2
  200. package/dist/components/docs/specs/SpecsOverviewPage.js +1 -1
  201. package/dist/components/docs/specs/SpecsPolicyPage.js +3 -3
  202. package/dist/components/docs/specs/SpecsWorkflowsPage.js +2 -2
  203. package/dist/components/docs/specs/index.js +66 -42
  204. package/dist/components/docs/studio/StudioBYOKPage.js +1 -1
  205. package/dist/components/docs/studio/StudioDeploymentsPage.js +1 -1
  206. package/dist/components/docs/studio/StudioGettingStartedPage.js +1 -1
  207. package/dist/components/docs/studio/StudioIntegrationsPage.js +1 -1
  208. package/dist/components/docs/studio/StudioOverviewPage.js +1 -1
  209. package/dist/components/docs/studio/StudioVisualBuilderPage.js +1 -1
  210. package/dist/components/docs/studio/index.js +1 -1
  211. package/dist/components/docs/tech/contracts/tech-docs.docblocks.js +2 -2
  212. package/dist/components/integrations/index.js +2 -2
  213. package/dist/components/integrations/molecules/IntegrationCard.js +1 -1
  214. package/dist/components/integrations/organisms/IntegrationMarketplace.js +1 -1
  215. package/dist/components/integrations/organisms/IntegrationSettings.js +2 -2
  216. package/dist/components/integrations/organisms/KnowledgeSourceList.js +1 -1
  217. package/dist/components/legal/PrivacyTemplate.js +1 -1
  218. package/dist/components/legal/TermsTemplate.js +1 -1
  219. package/dist/components/legal/index.js +1 -1
  220. package/dist/components/shared/FeatureGateNotice.js +1 -1
  221. package/dist/components/shared/index.js +1 -1
  222. package/dist/components/shell/WorkspaceHeader.js +1 -1
  223. package/dist/components/shell/WorkspaceProjectShellLayout.js +1 -1
  224. package/dist/components/shell/WorkspaceShellRenderer.js +1 -1
  225. package/dist/components/shell/WorkspaceSidebar.js +1 -1
  226. package/dist/components/shell/index.js +1 -1
  227. package/dist/components/templates/engine/index.js +1 -1
  228. package/dist/components/templates/index.js +11 -11
  229. package/dist/components/templates/messaging/ConversationList.js +2 -2
  230. package/dist/components/templates/messaging/MessageComposer.js +4 -4
  231. package/dist/components/templates/messaging/MessageThread.js +3 -3
  232. package/dist/components/templates/messaging/MessagingWorkspace.js +5 -5
  233. package/dist/components/templates/messaging/index.js +5 -5
  234. package/dist/components/templates/recipes/LanguageSwitcher.js +1 -1
  235. package/dist/components/templates/recipes/RecipeCard.js +1 -1
  236. package/dist/components/templates/recipes/RecipeDetail.js +1 -1
  237. package/dist/components/templates/recipes/RecipeList.js +3 -3
  238. package/dist/components/templates/recipes/index.js +3 -3
  239. package/dist/components/templates/todos/FilterBar.js +1 -1
  240. package/dist/components/templates/todos/TaskForm.js +2 -2
  241. package/dist/components/templates/todos/TaskItem.js +1 -1
  242. package/dist/components/templates/todos/TaskList.js +5 -5
  243. package/dist/components/templates/todos/index.js +5 -5
  244. package/dist/config/contractspec-blueprint.js +1 -1
  245. package/dist/config/contractspec-branding.js +1 -1
  246. package/dist/config/contractspec-routes.js +1 -1
  247. package/dist/config/index.js +1 -1
  248. package/dist/features/contracts-registry.js +1 -1
  249. package/dist/features/docs/docs.contracts.js +1 -1
  250. package/dist/features/docs/index.js +1 -1
  251. package/dist/features/docs.feature.js +1 -1
  252. package/dist/features/index.js +1 -1
  253. package/dist/features/mcp.feature.js +1 -1
  254. package/dist/features/presentations.feature.js +1 -1
  255. package/dist/features/registry.js +1 -1
  256. package/dist/index.d.ts +1 -0
  257. package/dist/index.js +701 -430
  258. package/dist/infrastructure/elysia/index.js +1 -1
  259. package/dist/infrastructure/elysia/logger.js +1 -1
  260. package/dist/infrastructure/index.js +1 -1
  261. package/dist/libs/email/client.js +1 -1
  262. package/dist/libs/email/contact.js +3 -3
  263. package/dist/libs/email/newsletter.js +3 -3
  264. package/dist/libs/email/utils.js +2 -2
  265. package/dist/libs/email/waitlist-application.js +3 -3
  266. package/dist/libs/email/waitlist.js +3 -3
  267. package/dist/libs/email.js +6 -6
  268. package/dist/libs/posthog/client.js +1 -1
  269. package/dist/libs/posthog/native.js +1 -1
  270. package/dist/libs/posthog/server.js +1 -1
  271. package/dist/libs/pricing-examples.js +1 -1
  272. package/dist/node/application/context-storage/index.js +1 -1
  273. package/dist/node/application/index.js +11 -11
  274. package/dist/node/application/mcp/cliMcp.js +6 -6
  275. package/dist/node/application/mcp/cliMcp.onboarding.js +1 -0
  276. package/dist/node/application/mcp/common.js +1 -1
  277. package/dist/node/application/mcp/contractsMcp.js +2 -2
  278. package/dist/node/application/mcp/contractsMcpAdoptionTools.js +1 -0
  279. package/dist/node/application/mcp/contractsMcpResources.js +2 -2
  280. package/dist/node/application/mcp/contractsMcpTools.js +1 -1
  281. package/dist/node/application/mcp/docsMcp.catalog.js +2 -2
  282. package/dist/node/application/mcp/docsMcp.data.js +1 -1
  283. package/dist/node/application/mcp/docsMcp.js +3 -3
  284. package/dist/node/application/mcp/docsMcp.prompts.js +3 -3
  285. package/dist/node/application/mcp/docsMcp.reference.js +2 -2
  286. package/dist/node/application/mcp/docsMcp.resources.js +2 -2
  287. package/dist/node/application/mcp/docsMcp.tools.js +2 -2
  288. package/dist/node/application/mcp/index.js +11 -11
  289. package/dist/node/application/mcp/internalMcp.js +2 -2
  290. package/dist/node/application/mcp/normalizeMcpRequest.js +1 -1
  291. package/dist/node/application/mcp/providerRankingMcp.js +1 -1
  292. package/dist/node/bundles/LibraryBundle.js +1 -1
  293. package/dist/node/bundles/index.js +1 -1
  294. package/dist/node/components/docs/DocsIndexPage.js +2 -2
  295. package/dist/node/components/docs/advanced/AdvancedMCPPage.js +3 -3
  296. package/dist/node/components/docs/advanced/AdvancedOverlayEditorPage.js +1 -1
  297. package/dist/node/components/docs/advanced/AdvancedRenderersPage.js +2 -2
  298. package/dist/node/components/docs/advanced/AdvancedSpecExperimentsPage.js +4 -4
  299. package/dist/node/components/docs/advanced/AdvancedTelemetryPage.js +2 -2
  300. package/dist/node/components/docs/advanced/AdvancedWorkflowMonitoringPage.js +2 -2
  301. package/dist/node/components/docs/advanced/index.js +9 -9
  302. package/dist/node/components/docs/architecture/ArchitectureAppConfigPage.js +6 -6
  303. package/dist/node/components/docs/architecture/ArchitectureControlPlanePage.js +3 -3
  304. package/dist/node/components/docs/architecture/ArchitectureIntegrationBindingPage.js +7 -7
  305. package/dist/node/components/docs/architecture/ArchitectureKnowledgeBindingPage.js +6 -6
  306. package/dist/node/components/docs/architecture/ArchitectureMultiTenancyPage.js +2 -2
  307. package/dist/node/components/docs/architecture/ArchitectureOverviewPage.js +1 -1
  308. package/dist/node/components/docs/architecture/index.js +20 -20
  309. package/dist/node/components/docs/comparison/ComparisonAutomationPlatformsPage.js +1 -1
  310. package/dist/node/components/docs/comparison/ComparisonEnterprisePlatformsPage.js +1 -1
  311. package/dist/node/components/docs/comparison/ComparisonInternalToolBuildersPage.js +1 -1
  312. package/dist/node/components/docs/comparison/ComparisonOverviewPage.js +1 -1
  313. package/dist/node/components/docs/comparison/ComparisonWindmillPage.js +1 -1
  314. package/dist/node/components/docs/comparison/ComparisonWorkflowEnginesPage.js +1 -1
  315. package/dist/node/components/docs/comparison/index.js +1 -1
  316. package/dist/node/components/docs/docsManifest.js +1 -1
  317. package/dist/node/components/docs/ecosystem/IntegrationsPage.js +2 -2
  318. package/dist/node/components/docs/ecosystem/PluginsPage.js +4 -4
  319. package/dist/node/components/docs/ecosystem/RegistryPage.js +4 -4
  320. package/dist/node/components/docs/ecosystem/TemplatesPage.js +3 -3
  321. package/dist/node/components/docs/ecosystem/index.js +11 -11
  322. package/dist/node/components/docs/examples/DocsExamplesPage.js +1 -17
  323. package/dist/node/components/docs/examples/ExampleShowcasePage.js +2 -17
  324. package/dist/node/components/docs/examples/exampleShowcaseData.js +2 -17
  325. package/dist/node/components/docs/examples/index.js +2 -17
  326. package/dist/node/components/docs/generated/docs-index.generated.js +1 -1
  327. package/dist/node/components/docs/generated/index.js +1 -1
  328. package/dist/node/components/docs/generated/loader.js +1 -1
  329. package/dist/node/components/docs/getting-started/CLIPage.js +6 -5
  330. package/dist/node/components/docs/getting-started/CompatibilityPage.js +1 -1
  331. package/dist/node/components/docs/getting-started/DataViewTutorialPage.js +44 -67
  332. package/dist/node/components/docs/getting-started/DeveloperToolsPage.js +1 -1
  333. package/dist/node/components/docs/getting-started/HelloWorldPage.js +5 -5
  334. package/dist/node/components/docs/getting-started/InstallationPage.js +3 -3
  335. package/dist/node/components/docs/getting-started/StartHerePage.js +4 -2
  336. package/dist/node/components/docs/getting-started/TroubleshootingPage.js +2 -2
  337. package/dist/node/components/docs/getting-started/VSCodeExtensionPage.js +1 -1
  338. package/dist/node/components/docs/getting-started/getting-started.docblocks.js +2 -2
  339. package/dist/node/components/docs/getting-started/index.js +60 -80
  340. package/dist/node/components/docs/guides/GuideCIDiffGatingPage.js +2 -2
  341. package/dist/node/components/docs/guides/GuideConnectInRepoPage.js +30 -5
  342. package/dist/node/components/docs/guides/GuideContractTypesPage.js +6 -6
  343. package/dist/node/components/docs/guides/GuideDocsPipelinePage.js +3 -3
  344. package/dist/node/components/docs/guides/GuideFirstModuleBundlePage.js +4 -4
  345. package/dist/node/components/docs/guides/GuideGenerateDocsClientsSchemasPage.js +2 -2
  346. package/dist/node/components/docs/guides/GuideHostBuilderWorkbenchPage.js +21 -6
  347. package/dist/node/components/docs/guides/GuideImportExistingCodebasesPage.js +8 -8
  348. package/dist/node/components/docs/guides/GuideNextjsOneEndpointPage.js +6 -6
  349. package/dist/node/components/docs/guides/GuideReleaseCapsulesPage.js +15 -0
  350. package/dist/node/components/docs/guides/GuideSpecValidationTypingPage.js +4 -4
  351. package/dist/node/components/docs/guides/GuidesIndexPage.js +2 -2
  352. package/dist/node/components/docs/guides/index.js +93 -39
  353. package/dist/node/components/docs/index.js +690 -419
  354. package/dist/node/components/docs/integrations/IntegrationsCircuitBreakersPage.js +2 -2
  355. package/dist/node/components/docs/integrations/IntegrationsElevenLabsPage.js +3 -3
  356. package/dist/node/components/docs/integrations/IntegrationsGithubPage.js +2 -2
  357. package/dist/node/components/docs/integrations/IntegrationsGmailPage.js +3 -3
  358. package/dist/node/components/docs/integrations/IntegrationsGoogleCalendarPage.js +3 -3
  359. package/dist/node/components/docs/integrations/IntegrationsHealthRoutingPage.js +2 -2
  360. package/dist/node/components/docs/integrations/IntegrationsMistralPage.js +2 -2
  361. package/dist/node/components/docs/integrations/IntegrationsOpenAIPage.js +2 -2
  362. package/dist/node/components/docs/integrations/IntegrationsOverviewPage.js +1 -1
  363. package/dist/node/components/docs/integrations/IntegrationsPostmarkPage.js +2 -2
  364. package/dist/node/components/docs/integrations/IntegrationsPowensPage.js +2 -2
  365. package/dist/node/components/docs/integrations/IntegrationsQdrantPage.js +5 -5
  366. package/dist/node/components/docs/integrations/IntegrationsResendPage.js +3 -3
  367. package/dist/node/components/docs/integrations/IntegrationsS3Page.js +4 -4
  368. package/dist/node/components/docs/integrations/IntegrationsSlackPage.js +2 -2
  369. package/dist/node/components/docs/integrations/IntegrationsSpecModelPage.js +2 -2
  370. package/dist/node/components/docs/integrations/IntegrationsStripePage.js +2 -2
  371. package/dist/node/components/docs/integrations/IntegrationsTwilioPage.js +3 -3
  372. package/dist/node/components/docs/integrations/IntegrationsWhatsappMetaPage.js +2 -2
  373. package/dist/node/components/docs/integrations/IntegrationsWhatsappTwilioPage.js +2 -2
  374. package/dist/node/components/docs/integrations/index.js +39 -39
  375. package/dist/node/components/docs/intent/ContractFirstApiPage.js +2 -2
  376. package/dist/node/components/docs/intent/DeterministicCodegenPage.js +2 -2
  377. package/dist/node/components/docs/intent/GenerateClientFromSchemaPage.js +7 -7
  378. package/dist/node/components/docs/intent/OpenapiAlternativePage.js +3 -3
  379. package/dist/node/components/docs/intent/SchemaValidationTypescriptPage.js +4 -4
  380. package/dist/node/components/docs/intent/SpecDrivenDevelopmentPage.js +2 -2
  381. package/dist/node/components/docs/intent/index.js +15 -15
  382. package/dist/node/components/docs/intent/intent-pages.docblocks.js +1 -1
  383. package/dist/node/components/docs/knowledge/KnowledgeCategoriesPage.js +2 -2
  384. package/dist/node/components/docs/knowledge/KnowledgeExamplesPage.js +2 -2
  385. package/dist/node/components/docs/knowledge/KnowledgeOverviewPage.js +1 -1
  386. package/dist/node/components/docs/knowledge/KnowledgeSourcesPage.js +2 -2
  387. package/dist/node/components/docs/knowledge/KnowledgeSpacesPage.js +2 -2
  388. package/dist/node/components/docs/knowledge/index.js +5 -5
  389. package/dist/node/components/docs/libraries/LibrariesAccessibilityPage.js +3 -3
  390. package/dist/node/components/docs/libraries/LibrariesAiAgentPage.js +3 -3
  391. package/dist/node/components/docs/libraries/LibrariesAnalyticsPage.js +4 -4
  392. package/dist/node/components/docs/libraries/LibrariesContentGenPage.js +2 -2
  393. package/dist/node/components/docs/libraries/LibrariesContractsPage.js +43 -18
  394. package/dist/node/components/docs/libraries/LibrariesCostTrackingPage.js +3 -3
  395. package/dist/node/components/docs/libraries/LibrariesCrossPlatformUIPage.content.js +85 -0
  396. package/dist/node/components/docs/libraries/LibrariesCrossPlatformUIPage.js +85 -0
  397. package/dist/node/components/docs/libraries/LibrariesDataBackendPage.js +2 -2
  398. package/dist/node/components/docs/libraries/LibrariesDataViewsPage.js +3 -3
  399. package/dist/node/components/docs/libraries/LibrariesDesignSystemPage.js +77 -29
  400. package/dist/node/components/docs/libraries/LibrariesEvolutionPage.js +4 -4
  401. package/dist/node/components/docs/libraries/LibrariesGraphQLPage.js +2 -2
  402. package/dist/node/components/docs/libraries/LibrariesGrowthPage.js +3 -3
  403. package/dist/node/components/docs/libraries/LibrariesMultiTenancyPage.js +3 -3
  404. package/dist/node/components/docs/libraries/LibrariesObservabilityPage.js +5 -5
  405. package/dist/node/components/docs/libraries/LibrariesOverlayEnginePage.js +4 -4
  406. package/dist/node/components/docs/libraries/LibrariesOverviewPage.js +1 -1
  407. package/dist/node/components/docs/libraries/LibrariesPersonalizationPage.js +4 -4
  408. package/dist/node/components/docs/libraries/LibrariesProgressiveDeliveryPage.js +3 -3
  409. package/dist/node/components/docs/libraries/LibrariesResiliencePage.js +4 -4
  410. package/dist/node/components/docs/libraries/LibrariesRuntimePage.js +2 -2
  411. package/dist/node/components/docs/libraries/LibrariesSLOPage.js +3 -3
  412. package/dist/node/components/docs/libraries/LibrariesSchemaPage.js +3 -3
  413. package/dist/node/components/docs/libraries/LibrariesSupportBotPage.js +3 -3
  414. package/dist/node/components/docs/libraries/LibrariesTestingPage.js +3 -3
  415. package/dist/node/components/docs/libraries/LibrariesUIKitPage.js +42 -16
  416. package/dist/node/components/docs/libraries/LibrariesUIKitWebPage.js +46 -0
  417. package/dist/node/components/docs/libraries/LibrariesWorkflowComposerPage.js +3 -3
  418. package/dist/node/components/docs/libraries/LibrariesWorkflowsPage.js +2 -2
  419. package/dist/node/components/docs/libraries/index.js +338 -110
  420. package/dist/node/components/docs/manifesto/ManifestoPage.js +1 -1
  421. package/dist/node/components/docs/ops/AutoEvolutionOpsPage.js +2 -2
  422. package/dist/node/components/docs/ops/DistributedTracingOpsPage.js +2 -2
  423. package/dist/node/components/docs/ops/index.js +3 -3
  424. package/dist/node/components/docs/ops/ops-lifecycle.docblocks.js +2 -2
  425. package/dist/node/components/docs/ops/ops-runbooks-a.docblocks.js +2 -2
  426. package/dist/node/components/docs/ops/ops-runbooks-b.docblocks.js +2 -2
  427. package/dist/node/components/docs/ops/ops-slo-tenant.docblocks.js +2 -2
  428. package/dist/node/components/docs/ops/ops-top.docs.js +2 -2
  429. package/dist/node/components/docs/ops/ops.docs.js +6 -6
  430. package/dist/node/components/docs/product/product.docblocks.js +2 -2
  431. package/dist/node/components/docs/reference/DocsMarkdownContent.js +2 -2
  432. package/dist/node/components/docs/reference/DocsReferenceContent.js +3 -3
  433. package/dist/node/components/docs/reference/DocsReferenceIndexClient.js +2 -2
  434. package/dist/node/components/docs/reference/DocsReferenceIndexPage.js +2 -2
  435. package/dist/node/components/docs/reference/DocsReferencePage.js +3 -3
  436. package/dist/node/components/docs/reference/docsMarkdownParser.js +2 -2
  437. package/dist/node/components/docs/reference/index.js +4 -4
  438. package/dist/node/components/docs/safety/SafetyAuditingPage.js +2 -2
  439. package/dist/node/components/docs/safety/SafetyMigrationsPage.js +2 -2
  440. package/dist/node/components/docs/safety/SafetyOverviewPage.js +1 -1
  441. package/dist/node/components/docs/safety/SafetyPDPPage.js +2 -2
  442. package/dist/node/components/docs/safety/SafetySecurityTrustPage.js +1 -1
  443. package/dist/node/components/docs/safety/SafetySigningPage.js +3 -3
  444. package/dist/node/components/docs/safety/SafetyTenantIsolationPage.js +2 -2
  445. package/dist/node/components/docs/safety/index.js +7 -7
  446. package/dist/node/components/docs/shared/StudioPrompt.js +1 -1
  447. package/dist/node/components/docs/specs/SpecsBuilderControlPlanePage.js +18 -3
  448. package/dist/node/components/docs/specs/SpecsCapabilitiesPage.js +2 -2
  449. package/dist/node/components/docs/specs/SpecsConnectPage.js +4 -2
  450. package/dist/node/components/docs/specs/SpecsDataViewsPage.js +39 -32
  451. package/dist/node/components/docs/specs/SpecsModuleBundlesPage.js +3 -3
  452. package/dist/node/components/docs/specs/SpecsOverlaysPage.js +2 -2
  453. package/dist/node/components/docs/specs/SpecsOverviewPage.js +1 -1
  454. package/dist/node/components/docs/specs/SpecsPolicyPage.js +3 -3
  455. package/dist/node/components/docs/specs/SpecsWorkflowsPage.js +2 -2
  456. package/dist/node/components/docs/specs/index.js +66 -42
  457. package/dist/node/components/docs/studio/StudioBYOKPage.js +1 -1
  458. package/dist/node/components/docs/studio/StudioDeploymentsPage.js +1 -1
  459. package/dist/node/components/docs/studio/StudioGettingStartedPage.js +1 -1
  460. package/dist/node/components/docs/studio/StudioIntegrationsPage.js +1 -1
  461. package/dist/node/components/docs/studio/StudioOverviewPage.js +1 -1
  462. package/dist/node/components/docs/studio/StudioVisualBuilderPage.js +1 -1
  463. package/dist/node/components/docs/studio/index.js +1 -1
  464. package/dist/node/components/docs/tech/contracts/tech-docs.docblocks.js +2 -2
  465. package/dist/node/components/integrations/index.js +2 -2
  466. package/dist/node/components/integrations/molecules/IntegrationCard.js +1 -1
  467. package/dist/node/components/integrations/organisms/IntegrationMarketplace.js +1 -1
  468. package/dist/node/components/integrations/organisms/IntegrationSettings.js +2 -2
  469. package/dist/node/components/integrations/organisms/KnowledgeSourceList.js +1 -1
  470. package/dist/node/components/legal/PrivacyTemplate.js +1 -1
  471. package/dist/node/components/legal/TermsTemplate.js +1 -1
  472. package/dist/node/components/legal/index.js +1 -1
  473. package/dist/node/components/shared/FeatureGateNotice.js +1 -1
  474. package/dist/node/components/shared/index.js +1 -1
  475. package/dist/node/components/shell/WorkspaceHeader.js +1 -1
  476. package/dist/node/components/shell/WorkspaceProjectShellLayout.js +1 -1
  477. package/dist/node/components/shell/WorkspaceShellRenderer.js +1 -1
  478. package/dist/node/components/shell/WorkspaceSidebar.js +1 -1
  479. package/dist/node/components/shell/index.js +1 -1
  480. package/dist/node/components/templates/engine/index.js +1 -1
  481. package/dist/node/components/templates/index.js +11 -11
  482. package/dist/node/components/templates/messaging/ConversationList.js +2 -2
  483. package/dist/node/components/templates/messaging/MessageComposer.js +4 -4
  484. package/dist/node/components/templates/messaging/MessageThread.js +3 -3
  485. package/dist/node/components/templates/messaging/MessagingWorkspace.js +5 -5
  486. package/dist/node/components/templates/messaging/index.js +5 -5
  487. package/dist/node/components/templates/recipes/LanguageSwitcher.js +1 -1
  488. package/dist/node/components/templates/recipes/RecipeCard.js +1 -1
  489. package/dist/node/components/templates/recipes/RecipeDetail.js +1 -1
  490. package/dist/node/components/templates/recipes/RecipeList.js +3 -3
  491. package/dist/node/components/templates/recipes/index.js +3 -3
  492. package/dist/node/components/templates/todos/FilterBar.js +1 -1
  493. package/dist/node/components/templates/todos/TaskForm.js +2 -2
  494. package/dist/node/components/templates/todos/TaskItem.js +1 -1
  495. package/dist/node/components/templates/todos/TaskList.js +5 -5
  496. package/dist/node/components/templates/todos/index.js +5 -5
  497. package/dist/node/config/contractspec-blueprint.js +1 -1
  498. package/dist/node/config/contractspec-branding.js +1 -1
  499. package/dist/node/config/contractspec-routes.js +1 -1
  500. package/dist/node/config/index.js +1 -1
  501. package/dist/node/features/contracts-registry.js +1 -1
  502. package/dist/node/features/docs/docs.contracts.js +1 -1
  503. package/dist/node/features/docs/index.js +1 -1
  504. package/dist/node/features/docs.feature.js +1 -1
  505. package/dist/node/features/index.js +1 -1
  506. package/dist/node/features/mcp.feature.js +1 -1
  507. package/dist/node/features/presentations.feature.js +1 -1
  508. package/dist/node/features/registry.js +1 -1
  509. package/dist/node/index.js +701 -430
  510. package/dist/node/infrastructure/elysia/index.js +1 -1
  511. package/dist/node/infrastructure/elysia/logger.js +1 -1
  512. package/dist/node/infrastructure/index.js +1 -1
  513. package/dist/node/libs/email/client.js +1 -1
  514. package/dist/node/libs/email/contact.js +3 -3
  515. package/dist/node/libs/email/newsletter.js +3 -3
  516. package/dist/node/libs/email/utils.js +2 -2
  517. package/dist/node/libs/email/waitlist-application.js +3 -3
  518. package/dist/node/libs/email/waitlist.js +3 -3
  519. package/dist/node/libs/email.js +6 -6
  520. package/dist/node/libs/posthog/client.js +1 -1
  521. package/dist/node/libs/posthog/native.js +1 -1
  522. package/dist/node/libs/posthog/server.js +1 -1
  523. package/dist/node/libs/pricing-examples.js +1 -1
  524. package/dist/node/presentation/features/atoms/FeatureIcon/FeatureIcon.js +1 -1
  525. package/dist/node/presentation/features/atoms/FeatureIcon/index.js +1 -1
  526. package/dist/node/presentation/features/atoms/index.js +1 -1
  527. package/dist/node/presentation/features/hooks/index.js +1 -1
  528. package/dist/node/presentation/features/hooks/useContractsRegistry.js +1 -1
  529. package/dist/node/presentation/features/hooks/useFeatureFilters.js +1 -1
  530. package/dist/node/presentation/features/hooks/useFeatureRegistry.js +1 -1
  531. package/dist/node/presentation/features/hooks/useRelatedDocs.js +1 -1
  532. package/dist/node/presentation/features/index.js +1 -1
  533. package/dist/node/presentation/features/molecules/FeatureCard/FeatureCard.js +1 -1
  534. package/dist/node/presentation/features/molecules/FeatureCard/index.js +1 -1
  535. package/dist/node/presentation/features/molecules/FeatureCategoryHeader/FeatureCategoryHeader.js +1 -1
  536. package/dist/node/presentation/features/molecules/FeatureCategoryHeader/index.js +1 -1
  537. package/dist/node/presentation/features/molecules/FeatureFilters/FeatureFilters.js +1 -1
  538. package/dist/node/presentation/features/molecules/FeatureFilters/index.js +1 -1
  539. package/dist/node/presentation/features/molecules/FeatureHoverPreview/FeatureHoverPreview.js +1 -1
  540. package/dist/node/presentation/features/molecules/FeatureHoverPreview/index.js +1 -1
  541. package/dist/node/presentation/features/molecules/index.js +1 -1
  542. package/dist/node/presentation/features/organisms/FeatureDataViewsList.js +1 -1
  543. package/dist/node/presentation/features/organisms/FeatureDetail/FeatureDetail.js +1 -1
  544. package/dist/node/presentation/features/organisms/FeatureDetail/index.js +1 -1
  545. package/dist/node/presentation/features/organisms/FeatureDiscovery/FeatureDiscovery.js +1 -1
  546. package/dist/node/presentation/features/organisms/FeatureDiscovery/index.js +1 -1
  547. package/dist/node/presentation/features/organisms/FeatureEventsList.js +1 -1
  548. package/dist/node/presentation/features/organisms/FeatureFormsList.js +1 -1
  549. package/dist/node/presentation/features/organisms/FeatureOperationsList.js +1 -1
  550. package/dist/node/presentation/features/organisms/FeaturePresentationsList.js +1 -1
  551. package/dist/node/presentation/features/organisms/index.js +1 -1
  552. package/dist/node/presentation/features/templates/FeatureDataViewDetailTemplate/FeatureDataViewDetailTemplate.js +1 -1
  553. package/dist/node/presentation/features/templates/FeatureDataViewDetailTemplate/index.js +1 -1
  554. package/dist/node/presentation/features/templates/FeatureDataViewsTemplate/FeatureDataViewsTemplate.js +1 -1
  555. package/dist/node/presentation/features/templates/FeatureDataViewsTemplate/index.js +1 -1
  556. package/dist/node/presentation/features/templates/FeatureEventDetailTemplate/FeatureEventDetailTemplate.js +1 -1
  557. package/dist/node/presentation/features/templates/FeatureEventDetailTemplate/index.js +1 -1
  558. package/dist/node/presentation/features/templates/FeatureEventsTemplate/FeatureEventsTemplate.js +1 -1
  559. package/dist/node/presentation/features/templates/FeatureEventsTemplate/index.js +1 -1
  560. package/dist/node/presentation/features/templates/FeatureFormDetailTemplate/FeatureFormDetailTemplate.js +1 -1
  561. package/dist/node/presentation/features/templates/FeatureFormDetailTemplate/index.js +1 -1
  562. package/dist/node/presentation/features/templates/FeatureFormsTemplate/FeatureFormsTemplate.js +1 -1
  563. package/dist/node/presentation/features/templates/FeatureFormsTemplate/index.js +1 -1
  564. package/dist/node/presentation/features/templates/FeatureOperationDetailTemplate/FeatureOperationDetailTemplate.js +1 -1
  565. package/dist/node/presentation/features/templates/FeatureOperationDetailTemplate/index.js +1 -1
  566. package/dist/node/presentation/features/templates/FeatureOperationsTemplate/FeatureOperationsTemplate.js +1 -1
  567. package/dist/node/presentation/features/templates/FeatureOperationsTemplate/index.js +1 -1
  568. package/dist/node/presentation/features/templates/FeatureOverviewTemplate/FeatureOverviewTemplate.js +1 -1
  569. package/dist/node/presentation/features/templates/FeatureOverviewTemplate/index.js +1 -1
  570. package/dist/node/presentation/features/templates/FeaturePresentationDetailTemplate/FeaturePresentationDetailTemplate.js +1 -1
  571. package/dist/node/presentation/features/templates/FeaturePresentationDetailTemplate/index.js +1 -1
  572. package/dist/node/presentation/features/templates/FeaturePresentationsTemplate/FeaturePresentationsTemplate.js +1 -1
  573. package/dist/node/presentation/features/templates/FeaturePresentationsTemplate/index.js +1 -1
  574. package/dist/presentation/features/atoms/FeatureIcon/FeatureIcon.js +1 -1
  575. package/dist/presentation/features/atoms/FeatureIcon/index.js +1 -1
  576. package/dist/presentation/features/atoms/index.js +1 -1
  577. package/dist/presentation/features/hooks/index.js +1 -1
  578. package/dist/presentation/features/hooks/useContractsRegistry.js +1 -1
  579. package/dist/presentation/features/hooks/useFeatureFilters.js +1 -1
  580. package/dist/presentation/features/hooks/useFeatureRegistry.js +1 -1
  581. package/dist/presentation/features/hooks/useRelatedDocs.js +1 -1
  582. package/dist/presentation/features/index.js +1 -1
  583. package/dist/presentation/features/molecules/FeatureCard/FeatureCard.js +1 -1
  584. package/dist/presentation/features/molecules/FeatureCard/index.js +1 -1
  585. package/dist/presentation/features/molecules/FeatureCategoryHeader/FeatureCategoryHeader.js +1 -1
  586. package/dist/presentation/features/molecules/FeatureCategoryHeader/index.js +1 -1
  587. package/dist/presentation/features/molecules/FeatureFilters/FeatureFilters.js +1 -1
  588. package/dist/presentation/features/molecules/FeatureFilters/index.js +1 -1
  589. package/dist/presentation/features/molecules/FeatureHoverPreview/FeatureHoverPreview.js +1 -1
  590. package/dist/presentation/features/molecules/FeatureHoverPreview/index.js +1 -1
  591. package/dist/presentation/features/molecules/index.js +1 -1
  592. package/dist/presentation/features/organisms/FeatureDataViewsList.js +1 -1
  593. package/dist/presentation/features/organisms/FeatureDetail/FeatureDetail.js +1 -1
  594. package/dist/presentation/features/organisms/FeatureDetail/index.js +1 -1
  595. package/dist/presentation/features/organisms/FeatureDiscovery/FeatureDiscovery.js +1 -1
  596. package/dist/presentation/features/organisms/FeatureDiscovery/index.js +1 -1
  597. package/dist/presentation/features/organisms/FeatureEventsList.js +1 -1
  598. package/dist/presentation/features/organisms/FeatureFormsList.js +1 -1
  599. package/dist/presentation/features/organisms/FeatureOperationsList.js +1 -1
  600. package/dist/presentation/features/organisms/FeaturePresentationsList.js +1 -1
  601. package/dist/presentation/features/organisms/index.js +1 -1
  602. package/dist/presentation/features/templates/FeatureDataViewDetailTemplate/FeatureDataViewDetailTemplate.js +1 -1
  603. package/dist/presentation/features/templates/FeatureDataViewDetailTemplate/index.js +1 -1
  604. package/dist/presentation/features/templates/FeatureDataViewsTemplate/FeatureDataViewsTemplate.js +1 -1
  605. package/dist/presentation/features/templates/FeatureDataViewsTemplate/index.js +1 -1
  606. package/dist/presentation/features/templates/FeatureEventDetailTemplate/FeatureEventDetailTemplate.js +1 -1
  607. package/dist/presentation/features/templates/FeatureEventDetailTemplate/index.js +1 -1
  608. package/dist/presentation/features/templates/FeatureEventsTemplate/FeatureEventsTemplate.js +1 -1
  609. package/dist/presentation/features/templates/FeatureEventsTemplate/index.js +1 -1
  610. package/dist/presentation/features/templates/FeatureFormDetailTemplate/FeatureFormDetailTemplate.js +1 -1
  611. package/dist/presentation/features/templates/FeatureFormDetailTemplate/index.js +1 -1
  612. package/dist/presentation/features/templates/FeatureFormsTemplate/FeatureFormsTemplate.js +1 -1
  613. package/dist/presentation/features/templates/FeatureFormsTemplate/index.js +1 -1
  614. package/dist/presentation/features/templates/FeatureOperationDetailTemplate/FeatureOperationDetailTemplate.js +1 -1
  615. package/dist/presentation/features/templates/FeatureOperationDetailTemplate/index.js +1 -1
  616. package/dist/presentation/features/templates/FeatureOperationsTemplate/FeatureOperationsTemplate.js +1 -1
  617. package/dist/presentation/features/templates/FeatureOperationsTemplate/index.js +1 -1
  618. package/dist/presentation/features/templates/FeatureOverviewTemplate/FeatureOverviewTemplate.js +1 -1
  619. package/dist/presentation/features/templates/FeatureOverviewTemplate/index.js +1 -1
  620. package/dist/presentation/features/templates/FeaturePresentationDetailTemplate/FeaturePresentationDetailTemplate.js +1 -1
  621. package/dist/presentation/features/templates/FeaturePresentationDetailTemplate/index.js +1 -1
  622. package/dist/presentation/features/templates/FeaturePresentationsTemplate/FeaturePresentationsTemplate.js +1 -1
  623. package/dist/presentation/features/templates/FeaturePresentationsTemplate/index.js +1 -1
  624. package/package.json +96 -23
  625. package/src/application/mcp/cliMcp.onboarding.ts +297 -0
  626. package/src/application/mcp/cliMcp.test.ts +99 -0
  627. package/src/application/mcp/cliMcp.ts +30 -3
  628. package/src/application/mcp/contractsMcp.test.ts +65 -0
  629. package/src/application/mcp/contractsMcpAdoptionTools.ts +131 -0
  630. package/src/application/mcp/contractsMcpResources.ts +49 -0
  631. package/src/application/mcp/contractsMcpTools.ts +2 -0
  632. package/src/application/mcp/contractsMcpTypes.ts +16 -0
  633. package/src/bundles/LibraryBundle.ts +19 -130
  634. package/src/components/docs/docsManifest.test.ts +14 -0
  635. package/src/components/docs/docsManifest.ts +22 -0
  636. package/src/components/docs/examples/DocsExamplesPage.tsx +6 -14
  637. package/src/components/docs/examples/ExampleShowcasePage.tsx +22 -18
  638. package/src/components/docs/examples/exampleShowcaseData.test.ts +22 -0
  639. package/src/components/docs/examples/exampleShowcaseData.ts +75 -50
  640. package/src/components/docs/generated/docs-index._common.json +9 -1
  641. package/src/components/docs/generated/docs-index.ai-chat.json +1 -1
  642. package/src/components/docs/generated/docs-index.app-config.json +4 -4
  643. package/src/components/docs/generated/docs-index.data-grid-showcase.json +9 -1
  644. package/src/components/docs/generated/docs-index.jobs.json +1 -1
  645. package/src/components/docs/generated/docs-index.kb-update-pipeline.json +5 -5
  646. package/src/components/docs/generated/docs-index.learning-journey-crm-onboarding.json +1 -1
  647. package/src/components/docs/generated/docs-index.learning-journey-platform-tour.json +1 -1
  648. package/src/components/docs/generated/docs-index.learning-journey-registry.json +1 -1
  649. package/src/components/docs/generated/docs-index.learning-journey.json +27 -3
  650. package/src/components/docs/generated/docs-index.locale-jurisdiction-gate.json +8 -0
  651. package/src/components/docs/generated/docs-index.manifest.json +13 -13
  652. package/src/components/docs/generated/docs-index.mobile-demo-landing.json +42 -0
  653. package/src/components/docs/generated/docs-index.platform-agent.json +18 -2
  654. package/src/components/docs/generated/docs-index.platform-context.json +16 -0
  655. package/src/components/docs/generated/docs-index.platform-docs.json +9 -1
  656. package/src/components/docs/generated/docs-index.platform-provider-ranking.json +32 -0
  657. package/src/components/docs/generated/docs-index.wealth-snapshot.json +4 -4
  658. package/src/components/docs/generated/index.ts +20 -5
  659. package/src/components/docs/generated/loader.ts +15 -8
  660. package/src/components/docs/getting-started/CLIPage.tsx +10 -2
  661. package/src/components/docs/getting-started/CompatibilityPage.tsx +14 -0
  662. package/src/components/docs/getting-started/DataViewTutorialPage.tsx +63 -70
  663. package/src/components/docs/getting-started/StartHerePage.tsx +10 -9
  664. package/src/components/docs/guides/GuideConnectInRepoPage.tsx +52 -3
  665. package/src/components/docs/guides/GuideHostBuilderWorkbenchPage.tsx +55 -6
  666. package/src/components/docs/guides/GuideReleaseCapsulesPage.tsx +147 -0
  667. package/src/components/docs/guides/GuidesIndexPage.tsx +7 -0
  668. package/src/components/docs/guides/index.ts +1 -0
  669. package/src/components/docs/libraries/LibrariesContractsPage.tsx +72 -27
  670. package/src/components/docs/libraries/LibrariesCrossPlatformUIPage.content.ts +252 -0
  671. package/src/components/docs/libraries/LibrariesCrossPlatformUIPage.tsx +232 -0
  672. package/src/components/docs/libraries/LibrariesDesignSystemPage.tsx +140 -55
  673. package/src/components/docs/libraries/LibrariesOverviewPage.tsx +13 -1
  674. package/src/components/docs/libraries/LibrariesRuntimePage.tsx +15 -0
  675. package/src/components/docs/libraries/LibrariesUIKitPage.tsx +78 -25
  676. package/src/components/docs/libraries/LibrariesUIKitWebPage.tsx +129 -0
  677. package/src/components/docs/libraries/index.ts +2 -0
  678. package/src/components/docs/reference/DocsReferenceIndexPage.tsx +1 -1
  679. package/src/components/docs/specs/SpecsBuilderControlPlanePage.tsx +58 -3
  680. package/src/components/docs/specs/SpecsConnectPage.tsx +30 -0
  681. package/src/components/docs/specs/SpecsDataViewsPage.tsx +63 -42
  682. package/src/index.ts +1 -1
  683. package/src/components/docs/generated/docs-index.mobile-demo-tasks.json +0 -34
@@ -1,17 +1,2 @@
1
- var m={"agent-console":{key:"agent-console",lead:"Primary meetup path for autonomous agents: typed tools, agent configs, run history, and execution logs in one regenerable surface.",sandboxHref:"/sandbox?template=agent-console",referenceHref:"/docs/reference/agent-console/agent-console",llmsHref:"/llms/example.agent-console",repoHref:"https://github.com/lssm-tech/contractspec/tree/main/packages/examples/agent-console",localCommands:`bun run --cwd packages/examples/agent-console build
2
- bun run --cwd packages/examples/agent-console test
3
- bun run --cwd packages/apps/web-landing dev
4
-
5
- # Open in the browser
6
- # http://localhost:3000/sandbox?template=agent-console`},"ai-chat-assistant":{key:"ai-chat-assistant",lead:"Secondary meetup path for MCP-aware assistants: reasoning, sources, suggestions, and a minimal contract-backed search tool.",sandboxHref:"/sandbox?template=ai-chat-assistant",referenceHref:"/docs/reference/ai-chat-assistant/assistant.search",llmsHref:"/llms/example.ai-chat-assistant",repoHref:"https://github.com/lssm-tech/contractspec/tree/main/packages/examples/ai-chat-assistant",localCommands:`bun run --cwd packages/examples/ai-chat-assistant build
7
- bun run --cwd packages/examples/ai-chat-assistant test
8
- bun run --cwd packages/apps/web-landing dev
9
-
10
- # Open in the browser
11
- # http://localhost:3000/sandbox?template=ai-chat-assistant`},"messaging-agent-actions":{key:"messaging-agent-actions",lead:"Live messaging lane for the meetup: inbound Slack, WhatsApp, or Telegram messages route through fixed intents, allowlisted actions, and deterministic confirmations.",sandboxHref:"/sandbox?template=messaging-agent-actions",referenceHref:"/docs/reference/messaging-agent-actions/messaging.agentActions.process",llmsHref:"/llms/example.messaging-agent-actions",repoHref:"https://github.com/lssm-tech/contractspec/tree/main/packages/examples/messaging-agent-actions",localCommands:`bun run --cwd packages/examples/messaging-agent-actions build
12
- bun run --cwd packages/examples/messaging-agent-actions test
13
- bun run --cwd packages/examples/messaging-agent-actions proof
14
- bun run --cwd packages/apps/web-landing dev
15
-
16
- # Open in the browser
17
- # http://localhost:3000/sandbox?template=messaging-agent-actions`}};function r(o){return m[o]}import{ButtonLink as n,CodeBlock as p}from"@contractspec/lib.design-system";import d from"@contractspec/lib.ui-link";import{getExample as g}from"@contractspec/module.examples";import{FileCode2 as u,Play as f,TerminalSquare as h}from"lucide-react";import{jsx as e,jsxs as a}from"react/jsx-runtime";function y({exampleKey:o}){let t=r(o),s=g(o);if(!t||!s)return null;let i=s.meta.title??s.meta.key,c=s.meta.summary??s.meta.description??"",l=s.entrypoints.packageName;return a("div",{className:"space-y-10",children:[a("section",{className:"space-y-5",children:[e("p",{className:"editorial-kicker",children:"Meetup-ready example"}),e("h1",{className:"editorial-title max-w-5xl",children:i}),e("p",{className:"editorial-subtitle",children:t.lead}),e("p",{className:"editorial-copy max-w-4xl",children:c}),a("div",{className:"flex flex-wrap gap-3",children:[e(n,{href:t.sandboxHref,children:"Open sandbox"}),e(n,{href:t.referenceHref,variant:"outline",children:"Generated reference"})]})]}),a("section",{className:"grid gap-5 lg:grid-cols-3",children:[a("article",{className:"editorial-panel space-y-4",children:[a("div",{className:"flex items-center gap-3",children:[e("div",{className:"rounded-full border border-border/80 bg-background/85 p-2",children:e(f,{size:18})}),e("h2",{className:"font-semibold text-xl",children:"Sandbox preview"})]}),e("p",{className:"editorial-copy text-sm",children:"Load the same public browser surface used for the prepared live demo."}),e(n,{href:t.sandboxHref,size:"sm",children:"Open preview"})]}),a("article",{className:"editorial-panel space-y-4",children:[a("div",{className:"flex items-center gap-3",children:[e("div",{className:"rounded-full border border-border/80 bg-background/85 p-2",children:e(u,{size:18})}),e("h2",{className:"font-semibold text-xl",children:"Reference docs"})]}),e("p",{className:"editorial-copy text-sm",children:"Inspect the generated contract-facing material instead of relying on marketing summaries."}),e(n,{href:t.referenceHref,size:"sm",variant:"outline",children:"Open reference"})]}),a("article",{className:"editorial-panel space-y-4",children:[a("div",{className:"flex items-center gap-3",children:[e("div",{className:"rounded-full border border-border/80 bg-background/85 p-2",children:e(h,{size:18})}),e("h2",{className:"font-semibold text-xl",children:"Package context"})]}),e("p",{className:"editorial-copy text-sm",children:"Use the agent-facing package page for fast repo orientation, then jump to the source directory."}),e("p",{className:"rounded-[18px] border border-border/70 bg-background/75 px-4 py-3 font-mono text-sm",children:l}),a("div",{className:"flex flex-wrap gap-2",children:[e(n,{href:t.llmsHref,size:"sm",variant:"outline",children:"LLMS page"}),e(n,{href:t.repoHref,size:"sm",variant:"outline",children:"GitHub source"})]})]})]}),a("section",{className:"editorial-panel space-y-5",children:[a("div",{className:"space-y-2",children:[e("p",{className:"editorial-kicker",children:"Talk commands"}),e("h2",{className:"editorial-panel-title",children:"Exact local commands for the meetup lane"}),e("p",{className:"editorial-copy text-sm",children:"Use the package build and test first, then launch the web shell and open the prepared sandbox route."})]}),e(p,{language:"bash",filename:`${o}-meetup-runbook`,code:t.localCommands}),a("p",{className:"text-muted-foreground text-sm",children:["For the full fallback order and safe live-edit workflow, use"," ",e(d,{href:"https://github.com/lssm-tech/contractspec/blob/main/docs/meetup-agent-examples-runbook.md",children:"the meetup runbook"}),"."]})]})]})}export{y as ExampleShowcasePage};
1
+ var m=Object.defineProperty;var p=(t)=>t;function d(t,e){this[t]=p.bind(null,e)}var S=(t,e)=>{for(var r in e)m(t,r,{get:e[r],enumerable:!0,configurable:!0,set:d.bind(e,r)})};var L=(t,e)=>()=>(t&&(e=t(t=0)),e);import{buildExampleDocsHref as g,buildExampleReferenceHref as f,getDiscoverableExample as u,getExamplePreviewHref as h}from"@contractspec/module.examples";var b={"agent-console":"Primary meetup path for autonomous agents: typed tools, agent configs, run history, and execution logs in one regenerable surface.","ai-chat-assistant":"Secondary meetup path for MCP-aware assistants: reasoning, sources, suggestions, and a minimal contract-backed search tool.","data-grid-showcase":"Canonical table example for the full ContractSpec stack: declarative DataView contract, shared controller, raw web primitive, native-first primitive, and the composed design-system wrapper.","messaging-agent-actions":"Live messaging lane for the meetup: inbound Slack, WhatsApp, or Telegram messages route through fixed intents, allowlisted actions, and deterministic confirmations."},v={"agent-console":"/docs/reference/agent-console/agent-console","ai-chat-assistant":"/docs/reference/ai-chat-assistant/assistant.search","data-grid-showcase":"/docs/reference/data-grid-showcase/data-grid-showcase","messaging-agent-actions":"/docs/reference/messaging-agent-actions/messaging.agentActions.process"};function c(t){let e=u(t);if(!e)return;let r=e.entrypoints.packageName.replace("@contractspec/example.",""),n=g(t),i=h(t);return{key:t,lead:b[t]??e.meta.summary??e.meta.description??"Public ContractSpec reference example.",sandboxHref:i,referenceHref:v[t]??f(t),llmsHref:`/llms/${e.entrypoints.packageName.replace("@contractspec/","")}`,repoHref:`https://github.com/lssm-tech/contractspec/tree/main/packages/examples/${r}`,localCommands:N(r,n,i)}}function N(t,e,r){let n=[`bun run --cwd packages/examples/${t} build`,"bun run --cwd packages/apps/web-landing dev","","# Open in the browser",`# http://localhost:3000${e}`];if(r)n.push(`# http://localhost:3000${r}`);return n.join(`
2
+ `)}import{ButtonLink as s,CodeBlock as k}from"@contractspec/lib.design-system";import w from"@contractspec/lib.ui-link";import{getExample as y}from"@contractspec/module.examples";import{FileCode2 as E,Play as H,TerminalSquare as x}from"lucide-react";import{jsx as a,jsxs as o}from"react/jsx-runtime";function F({exampleKey:t}){let e=c(t),r=y(t);if(!e||!r)return null;let n=r.meta.title??r.meta.key,i=r.meta.summary??r.meta.description??"",l=r.entrypoints.packageName;return o("div",{className:"space-y-10",children:[o("section",{className:"space-y-5",children:[a("p",{className:"editorial-kicker",children:"Meetup-ready example"}),a("h1",{className:"editorial-title max-w-5xl",children:n}),a("p",{className:"editorial-subtitle",children:e.lead}),a("p",{className:"editorial-copy max-w-4xl",children:i}),o("div",{className:"flex flex-wrap gap-3",children:[e.sandboxHref?a(s,{href:e.sandboxHref,children:"Open sandbox"}):null,a(s,{href:e.referenceHref,variant:"outline",children:"Generated reference"})]})]}),o("section",{className:"grid gap-5 lg:grid-cols-3",children:[e.sandboxHref?o("article",{className:"editorial-panel space-y-4",children:[o("div",{className:"flex items-center gap-3",children:[a("div",{className:"rounded-full border border-border/80 bg-background/85 p-2",children:a(H,{size:18})}),a("h2",{className:"font-semibold text-xl",children:"Sandbox preview"})]}),a("p",{className:"editorial-copy text-sm",children:"Load the same public browser surface used for the prepared live demo."}),a(s,{href:e.sandboxHref,size:"sm",children:"Open preview"})]}):null,o("article",{className:"editorial-panel space-y-4",children:[o("div",{className:"flex items-center gap-3",children:[a("div",{className:"rounded-full border border-border/80 bg-background/85 p-2",children:a(E,{size:18})}),a("h2",{className:"font-semibold text-xl",children:"Reference docs"})]}),a("p",{className:"editorial-copy text-sm",children:"Inspect the generated contract-facing material instead of relying on marketing summaries."}),a(s,{href:e.referenceHref,size:"sm",variant:"outline",children:"Open reference"})]}),o("article",{className:"editorial-panel space-y-4",children:[o("div",{className:"flex items-center gap-3",children:[a("div",{className:"rounded-full border border-border/80 bg-background/85 p-2",children:a(x,{size:18})}),a("h2",{className:"font-semibold text-xl",children:"Package context"})]}),a("p",{className:"editorial-copy text-sm",children:"Use the agent-facing package page for fast repo orientation, then jump to the source directory."}),a("p",{className:"rounded-[18px] border border-border/70 bg-background/75 px-4 py-3 font-mono text-sm",children:l}),o("div",{className:"flex flex-wrap gap-2",children:[a(s,{href:e.llmsHref,size:"sm",variant:"outline",children:"LLMS page"}),a(s,{href:e.repoHref,size:"sm",variant:"outline",children:"GitHub source"})]})]})]}),o("section",{className:"editorial-panel space-y-5",children:[o("div",{className:"space-y-2",children:[a("p",{className:"editorial-kicker",children:"Talk commands"}),a("h2",{className:"editorial-panel-title",children:"Exact local commands for the meetup lane"}),a("p",{className:"editorial-copy text-sm",children:"Build the example package, then launch the web shell and open the prepared docs or sandbox route."})]}),a(k,{language:"bash",filename:`${t}-meetup-runbook`,code:e.localCommands}),o("p",{className:"text-muted-foreground text-sm",children:["For the full fallback order and safe live-edit workflow, use"," ",a(w,{href:"https://github.com/lssm-tech/contractspec/blob/main/docs/meetup-agent-examples-runbook.md",children:"the meetup runbook"}),"."]})]})]})}export{F as ExampleShowcasePage};
@@ -1,17 +1,2 @@
1
- var a={"agent-console":{key:"agent-console",lead:"Primary meetup path for autonomous agents: typed tools, agent configs, run history, and execution logs in one regenerable surface.",sandboxHref:"/sandbox?template=agent-console",referenceHref:"/docs/reference/agent-console/agent-console",llmsHref:"/llms/example.agent-console",repoHref:"https://github.com/lssm-tech/contractspec/tree/main/packages/examples/agent-console",localCommands:`bun run --cwd packages/examples/agent-console build
2
- bun run --cwd packages/examples/agent-console test
3
- bun run --cwd packages/apps/web-landing dev
4
-
5
- # Open in the browser
6
- # http://localhost:3000/sandbox?template=agent-console`},"ai-chat-assistant":{key:"ai-chat-assistant",lead:"Secondary meetup path for MCP-aware assistants: reasoning, sources, suggestions, and a minimal contract-backed search tool.",sandboxHref:"/sandbox?template=ai-chat-assistant",referenceHref:"/docs/reference/ai-chat-assistant/assistant.search",llmsHref:"/llms/example.ai-chat-assistant",repoHref:"https://github.com/lssm-tech/contractspec/tree/main/packages/examples/ai-chat-assistant",localCommands:`bun run --cwd packages/examples/ai-chat-assistant build
7
- bun run --cwd packages/examples/ai-chat-assistant test
8
- bun run --cwd packages/apps/web-landing dev
9
-
10
- # Open in the browser
11
- # http://localhost:3000/sandbox?template=ai-chat-assistant`},"messaging-agent-actions":{key:"messaging-agent-actions",lead:"Live messaging lane for the meetup: inbound Slack, WhatsApp, or Telegram messages route through fixed intents, allowlisted actions, and deterministic confirmations.",sandboxHref:"/sandbox?template=messaging-agent-actions",referenceHref:"/docs/reference/messaging-agent-actions/messaging.agentActions.process",llmsHref:"/llms/example.messaging-agent-actions",repoHref:"https://github.com/lssm-tech/contractspec/tree/main/packages/examples/messaging-agent-actions",localCommands:`bun run --cwd packages/examples/messaging-agent-actions build
12
- bun run --cwd packages/examples/messaging-agent-actions test
13
- bun run --cwd packages/examples/messaging-agent-actions proof
14
- bun run --cwd packages/apps/web-landing dev
15
-
16
- # Open in the browser
17
- # http://localhost:3000/sandbox?template=messaging-agent-actions`}};function s(e){return a[e]}export{s as getExampleShowcaseData};
1
+ var r=Object.defineProperty;var o=(e)=>e;function c(e,a){this[e]=o.bind(null,a)}var u=(e,a)=>{for(var t in a)r(e,t,{get:a[t],enumerable:!0,configurable:!0,set:c.bind(a,t)})};var h=(e,a)=>()=>(e&&(a=e(e=0)),a);import{buildExampleDocsHref as i,buildExampleReferenceHref as l,getDiscoverableExample as g,getExamplePreviewHref as p}from"@contractspec/module.examples";var m={"agent-console":"Primary meetup path for autonomous agents: typed tools, agent configs, run history, and execution logs in one regenerable surface.","ai-chat-assistant":"Secondary meetup path for MCP-aware assistants: reasoning, sources, suggestions, and a minimal contract-backed search tool.","data-grid-showcase":"Canonical table example for the full ContractSpec stack: declarative DataView contract, shared controller, raw web primitive, native-first primitive, and the composed design-system wrapper.","messaging-agent-actions":"Live messaging lane for the meetup: inbound Slack, WhatsApp, or Telegram messages route through fixed intents, allowlisted actions, and deterministic confirmations."},d={"agent-console":"/docs/reference/agent-console/agent-console","ai-chat-assistant":"/docs/reference/ai-chat-assistant/assistant.search","data-grid-showcase":"/docs/reference/data-grid-showcase/data-grid-showcase","messaging-agent-actions":"/docs/reference/messaging-agent-actions/messaging.agentActions.process"};function b(e){let a=g(e);if(!a)return;let t=a.entrypoints.packageName.replace("@contractspec/example.",""),s=i(e),n=p(e);return{key:e,lead:m[e]??a.meta.summary??a.meta.description??"Public ContractSpec reference example.",sandboxHref:n,referenceHref:d[e]??l(e),llmsHref:`/llms/${a.entrypoints.packageName.replace("@contractspec/","")}`,repoHref:`https://github.com/lssm-tech/contractspec/tree/main/packages/examples/${t}`,localCommands:f(t,s,n)}}function f(e,a,t){let s=[`bun run --cwd packages/examples/${e} build`,"bun run --cwd packages/apps/web-landing dev","","# Open in the browser",`# http://localhost:3000${a}`];if(t)s.push(`# http://localhost:3000${t}`);return s.join(`
2
+ `)}export{b as getExampleShowcaseData};
@@ -1,17 +1,2 @@
1
- var h={"agent-console":{key:"agent-console",lead:"Primary meetup path for autonomous agents: typed tools, agent configs, run history, and execution logs in one regenerable surface.",sandboxHref:"/sandbox?template=agent-console",referenceHref:"/docs/reference/agent-console/agent-console",llmsHref:"/llms/example.agent-console",repoHref:"https://github.com/lssm-tech/contractspec/tree/main/packages/examples/agent-console",localCommands:`bun run --cwd packages/examples/agent-console build
2
- bun run --cwd packages/examples/agent-console test
3
- bun run --cwd packages/apps/web-landing dev
4
-
5
- # Open in the browser
6
- # http://localhost:3000/sandbox?template=agent-console`},"ai-chat-assistant":{key:"ai-chat-assistant",lead:"Secondary meetup path for MCP-aware assistants: reasoning, sources, suggestions, and a minimal contract-backed search tool.",sandboxHref:"/sandbox?template=ai-chat-assistant",referenceHref:"/docs/reference/ai-chat-assistant/assistant.search",llmsHref:"/llms/example.ai-chat-assistant",repoHref:"https://github.com/lssm-tech/contractspec/tree/main/packages/examples/ai-chat-assistant",localCommands:`bun run --cwd packages/examples/ai-chat-assistant build
7
- bun run --cwd packages/examples/ai-chat-assistant test
8
- bun run --cwd packages/apps/web-landing dev
9
-
10
- # Open in the browser
11
- # http://localhost:3000/sandbox?template=ai-chat-assistant`},"messaging-agent-actions":{key:"messaging-agent-actions",lead:"Live messaging lane for the meetup: inbound Slack, WhatsApp, or Telegram messages route through fixed intents, allowlisted actions, and deterministic confirmations.",sandboxHref:"/sandbox?template=messaging-agent-actions",referenceHref:"/docs/reference/messaging-agent-actions/messaging.agentActions.process",llmsHref:"/llms/example.messaging-agent-actions",repoHref:"https://github.com/lssm-tech/contractspec/tree/main/packages/examples/messaging-agent-actions",localCommands:`bun run --cwd packages/examples/messaging-agent-actions build
12
- bun run --cwd packages/examples/messaging-agent-actions test
13
- bun run --cwd packages/examples/messaging-agent-actions proof
14
- bun run --cwd packages/apps/web-landing dev
15
-
16
- # Open in the browser
17
- # http://localhost:3000/sandbox?template=messaging-agent-actions`}};function i(t){return h[t]}import{ExampleCatalogDataView as d}from"@contractspec/lib.contracts-spec/docs";import{ButtonLink as m,DataViewList as b,StatusChip as k}from"@contractspec/lib.design-system";import{HStack as N,VStack as p}from"@contractspec/lib.ui-kit-web/ui/stack";import{H1 as v,Muted as g}from"@contractspec/lib.ui-kit-web/ui/typography";import{listExamples as w}from"@contractspec/module.examples";import{jsx as o,jsxs as l}from"react/jsx-runtime";function H(t){return`/docs/reference/${t}/${t}`}function y(t){return i(t)?.sandboxHref?`/docs/examples/${t}`:H(t)}function P(){let t=w().map((a)=>{let c=a.meta.title??a.meta.key;return{id:a.meta.key,title:c,summary:a.meta.summary??a.meta.description,route:y(a.meta.key),tags:a.meta.tags,sandboxEnabled:a.surfaces.sandbox.enabled}}).sort((a,c)=>a.title.localeCompare(c.title)),s={...d,view:{...d.view,kind:"list"}};return l(p,{gap:"xl",children:[l(p,{gap:"sm",children:[o(v,{children:"Examples"}),o(g,{children:"Reference implementations for real ContractSpec surfaces. Use them to study adoption patterns, inspect generated artifacts, and validate the OSS workflow against runnable systems."})]}),o(b,{spec:s,items:t,emptyState:o(g,{children:"No examples available."}),renderActions:(a)=>{return l(N,{gap:"xs",justify:"end",children:[a.sandboxEnabled?o(m,{href:`/sandbox?template=${a.id}`,size:"sm",variant:"outline",children:"Sandbox"}):null,o(m,{href:a.route,size:"sm",children:"Reference"}),a.tags?.[0]?o(k,{size:"sm",label:a.tags[0]}):null]})}})]})}import{ButtonLink as r,CodeBlock as E}from"@contractspec/lib.design-system";import L from"@contractspec/lib.ui-link";import{getExample as S}from"@contractspec/module.examples";import{FileCode2 as z,Play as O,TerminalSquare as B}from"lucide-react";import{jsx as e,jsxs as n}from"react/jsx-runtime";function C({exampleKey:t}){let s=i(t),a=S(t);if(!s||!a)return null;let c=a.meta.title??a.meta.key,f=a.meta.summary??a.meta.description??"",u=a.entrypoints.packageName;return n("div",{className:"space-y-10",children:[n("section",{className:"space-y-5",children:[e("p",{className:"editorial-kicker",children:"Meetup-ready example"}),e("h1",{className:"editorial-title max-w-5xl",children:c}),e("p",{className:"editorial-subtitle",children:s.lead}),e("p",{className:"editorial-copy max-w-4xl",children:f}),n("div",{className:"flex flex-wrap gap-3",children:[e(r,{href:s.sandboxHref,children:"Open sandbox"}),e(r,{href:s.referenceHref,variant:"outline",children:"Generated reference"})]})]}),n("section",{className:"grid gap-5 lg:grid-cols-3",children:[n("article",{className:"editorial-panel space-y-4",children:[n("div",{className:"flex items-center gap-3",children:[e("div",{className:"rounded-full border border-border/80 bg-background/85 p-2",children:e(O,{size:18})}),e("h2",{className:"font-semibold text-xl",children:"Sandbox preview"})]}),e("p",{className:"editorial-copy text-sm",children:"Load the same public browser surface used for the prepared live demo."}),e(r,{href:s.sandboxHref,size:"sm",children:"Open preview"})]}),n("article",{className:"editorial-panel space-y-4",children:[n("div",{className:"flex items-center gap-3",children:[e("div",{className:"rounded-full border border-border/80 bg-background/85 p-2",children:e(z,{size:18})}),e("h2",{className:"font-semibold text-xl",children:"Reference docs"})]}),e("p",{className:"editorial-copy text-sm",children:"Inspect the generated contract-facing material instead of relying on marketing summaries."}),e(r,{href:s.referenceHref,size:"sm",variant:"outline",children:"Open reference"})]}),n("article",{className:"editorial-panel space-y-4",children:[n("div",{className:"flex items-center gap-3",children:[e("div",{className:"rounded-full border border-border/80 bg-background/85 p-2",children:e(B,{size:18})}),e("h2",{className:"font-semibold text-xl",children:"Package context"})]}),e("p",{className:"editorial-copy text-sm",children:"Use the agent-facing package page for fast repo orientation, then jump to the source directory."}),e("p",{className:"rounded-[18px] border border-border/70 bg-background/75 px-4 py-3 font-mono text-sm",children:u}),n("div",{className:"flex flex-wrap gap-2",children:[e(r,{href:s.llmsHref,size:"sm",variant:"outline",children:"LLMS page"}),e(r,{href:s.repoHref,size:"sm",variant:"outline",children:"GitHub source"})]})]})]}),n("section",{className:"editorial-panel space-y-5",children:[n("div",{className:"space-y-2",children:[e("p",{className:"editorial-kicker",children:"Talk commands"}),e("h2",{className:"editorial-panel-title",children:"Exact local commands for the meetup lane"}),e("p",{className:"editorial-copy text-sm",children:"Use the package build and test first, then launch the web shell and open the prepared sandbox route."})]}),e(E,{language:"bash",filename:`${t}-meetup-runbook`,code:s.localCommands}),n("p",{className:"text-muted-foreground text-sm",children:["For the full fallback order and safe live-edit workflow, use"," ",e(L,{href:"https://github.com/lssm-tech/contractspec/blob/main/docs/meetup-agent-examples-runbook.md",children:"the meetup runbook"}),"."]})]})]})}export{C as ExampleShowcasePage,P as DocsExamplesPage};
1
+ var h=Object.defineProperty;var b=(r)=>r;function N(r,a){this[r]=b.bind(null,a)}var G=(r,a)=>{for(var e in a)h(r,e,{get:a[e],enumerable:!0,configurable:!0,set:N.bind(a,e)})};var q=(r,a)=>()=>(r&&(a=r(r=0)),a);import{ExampleCatalogDataView as d}from"@contractspec/lib.contracts-spec/docs";import{ButtonLink as m,DataViewList as v,StatusChip as w}from"@contractspec/lib.design-system";import{HStack as k,VStack as p}from"@contractspec/lib.ui-kit-web/ui/stack";import{H1 as y,Muted as g}from"@contractspec/lib.ui-kit-web/ui/typography";import{buildExampleDocsHref as E,listDiscoverableExamples as H}from"@contractspec/module.examples";import{jsx as i,jsxs as l}from"react/jsx-runtime";function P(){let r=H().map((e)=>{let n=e.meta.title??e.meta.key;return{id:e.meta.key,title:n,summary:e.meta.summary??e.meta.description,route:E(e.meta.key),tags:e.meta.tags,sandboxEnabled:e.surfaces.sandbox.enabled}}).sort((e,n)=>e.title.localeCompare(n.title)),a={...d,view:{...d.view,kind:"list"}};return l(p,{gap:"xl",children:[l(p,{gap:"sm",children:[i(y,{children:"Examples"}),i(g,{children:"Reference implementations for real ContractSpec surfaces. Use them to study adoption patterns, inspect generated artifacts, and validate the OSS workflow against runnable systems."})]}),i(v,{spec:a,items:r,emptyState:i(g,{children:"No examples available."}),renderActions:(e)=>{return l(k,{gap:"xs",justify:"end",children:[e.sandboxEnabled?i(m,{href:`/sandbox?template=${e.id}`,size:"sm",variant:"outline",children:"Sandbox"}):null,i(m,{href:e.route,size:"sm",children:"Reference"}),e.tags?.[0]?i(w,{size:"sm",label:e.tags[0]}):null]})}})]})}import{buildExampleDocsHref as L,buildExampleReferenceHref as S,getDiscoverableExample as R,getExamplePreviewHref as C}from"@contractspec/module.examples";var z={"agent-console":"Primary meetup path for autonomous agents: typed tools, agent configs, run history, and execution logs in one regenerable surface.","ai-chat-assistant":"Secondary meetup path for MCP-aware assistants: reasoning, sources, suggestions, and a minimal contract-backed search tool.","data-grid-showcase":"Canonical table example for the full ContractSpec stack: declarative DataView contract, shared controller, raw web primitive, native-first primitive, and the composed design-system wrapper.","messaging-agent-actions":"Live messaging lane for the meetup: inbound Slack, WhatsApp, or Telegram messages route through fixed intents, allowlisted actions, and deterministic confirmations."},B={"agent-console":"/docs/reference/agent-console/agent-console","ai-chat-assistant":"/docs/reference/ai-chat-assistant/assistant.search","data-grid-showcase":"/docs/reference/data-grid-showcase/data-grid-showcase","messaging-agent-actions":"/docs/reference/messaging-agent-actions/messaging.agentActions.process"};function f(r){let a=R(r);if(!a)return;let e=a.entrypoints.packageName.replace("@contractspec/example.",""),n=L(r),c=C(r);return{key:r,lead:z[r]??a.meta.summary??a.meta.description??"Public ContractSpec reference example.",sandboxHref:c,referenceHref:B[r]??S(r),llmsHref:`/llms/${a.entrypoints.packageName.replace("@contractspec/","")}`,repoHref:`https://github.com/lssm-tech/contractspec/tree/main/packages/examples/${e}`,localCommands:D(e,n,c)}}function D(r,a,e){let n=[`bun run --cwd packages/examples/${r} build`,"bun run --cwd packages/apps/web-landing dev","","# Open in the browser",`# http://localhost:3000${a}`];if(e)n.push(`# http://localhost:3000${e}`);return n.join(`
2
+ `)}import{ButtonLink as s,CodeBlock as O}from"@contractspec/lib.design-system";import $ from"@contractspec/lib.ui-link";import{getExample as F}from"@contractspec/module.examples";import{FileCode2 as A,Play as I,TerminalSquare as T}from"lucide-react";import{jsx as t,jsxs as o}from"react/jsx-runtime";function _({exampleKey:r}){let a=f(r),e=F(r);if(!a||!e)return null;let n=e.meta.title??e.meta.key,c=e.meta.summary??e.meta.description??"",u=e.entrypoints.packageName;return o("div",{className:"space-y-10",children:[o("section",{className:"space-y-5",children:[t("p",{className:"editorial-kicker",children:"Meetup-ready example"}),t("h1",{className:"editorial-title max-w-5xl",children:n}),t("p",{className:"editorial-subtitle",children:a.lead}),t("p",{className:"editorial-copy max-w-4xl",children:c}),o("div",{className:"flex flex-wrap gap-3",children:[a.sandboxHref?t(s,{href:a.sandboxHref,children:"Open sandbox"}):null,t(s,{href:a.referenceHref,variant:"outline",children:"Generated reference"})]})]}),o("section",{className:"grid gap-5 lg:grid-cols-3",children:[a.sandboxHref?o("article",{className:"editorial-panel space-y-4",children:[o("div",{className:"flex items-center gap-3",children:[t("div",{className:"rounded-full border border-border/80 bg-background/85 p-2",children:t(I,{size:18})}),t("h2",{className:"font-semibold text-xl",children:"Sandbox preview"})]}),t("p",{className:"editorial-copy text-sm",children:"Load the same public browser surface used for the prepared live demo."}),t(s,{href:a.sandboxHref,size:"sm",children:"Open preview"})]}):null,o("article",{className:"editorial-panel space-y-4",children:[o("div",{className:"flex items-center gap-3",children:[t("div",{className:"rounded-full border border-border/80 bg-background/85 p-2",children:t(A,{size:18})}),t("h2",{className:"font-semibold text-xl",children:"Reference docs"})]}),t("p",{className:"editorial-copy text-sm",children:"Inspect the generated contract-facing material instead of relying on marketing summaries."}),t(s,{href:a.referenceHref,size:"sm",variant:"outline",children:"Open reference"})]}),o("article",{className:"editorial-panel space-y-4",children:[o("div",{className:"flex items-center gap-3",children:[t("div",{className:"rounded-full border border-border/80 bg-background/85 p-2",children:t(T,{size:18})}),t("h2",{className:"font-semibold text-xl",children:"Package context"})]}),t("p",{className:"editorial-copy text-sm",children:"Use the agent-facing package page for fast repo orientation, then jump to the source directory."}),t("p",{className:"rounded-[18px] border border-border/70 bg-background/75 px-4 py-3 font-mono text-sm",children:u}),o("div",{className:"flex flex-wrap gap-2",children:[t(s,{href:a.llmsHref,size:"sm",variant:"outline",children:"LLMS page"}),t(s,{href:a.repoHref,size:"sm",variant:"outline",children:"GitHub source"})]})]})]}),o("section",{className:"editorial-panel space-y-5",children:[o("div",{className:"space-y-2",children:[t("p",{className:"editorial-kicker",children:"Talk commands"}),t("h2",{className:"editorial-panel-title",children:"Exact local commands for the meetup lane"}),t("p",{className:"editorial-copy text-sm",children:"Build the example package, then launch the web shell and open the prepared docs or sandbox route."})]}),t(O,{language:"bash",filename:`${r}-meetup-runbook`,code:a.localCommands}),o("p",{className:"text-muted-foreground text-sm",children:["For the full fallback order and safe live-edit workflow, use"," ",t($,{href:"https://github.com/lssm-tech/contractspec/blob/main/docs/meetup-agent-examples-runbook.md",children:"the meetup runbook"}),"."]})]})]})}export{_ as ExampleShowcasePage,P as DocsExamplesPage};
@@ -1 +1 @@
1
- var t="docs-index.manifest.json";export{t as DOCS_INDEX_MANIFEST};
1
+ var s=Object.defineProperty;var r=(t)=>t;function o(t,n){this[t]=r.bind(null,n)}var g=(t,n)=>{for(var e in n)s(t,e,{get:n[e],enumerable:!0,configurable:!0,set:o.bind(n,e)})};var c=(t,n)=>()=>(t&&(n=t(t=0)),n);var u="docs-index.manifest.json";export{u as DOCS_INDEX_MANIFEST};
@@ -1 +1 @@
1
- var l="docs-index.manifest.json";import{readFile as u}from"node:fs/promises";import{dirname as D,join as i}from"node:path";import{fileURLToPath as g}from"node:url";var d=D(g(import.meta.url)),c=null,a=null,m=new Map;function I(n){if(!n)return"_common";if(n.includes("/")){let[t]=n.split("/");return t||"_common"}return"_common"}async function f(){if(!c)c=u(i(d,l),"utf8").then((n)=>JSON.parse(n));return c}function p(n){let t=n.contentRoot??".";return i(d,t)}async function x(n){let t=m.get(n);if(t)return t;let e=u(i(d,n),"utf8").then((r)=>JSON.parse(r));return m.set(n,e),e}async function h(){if(!a)a=(async()=>{let n=await f();return(await Promise.all(n.chunks.map((e)=>x(e.file)))).flat()})();return a}async function k(){return f()}async function P(n){let t=await f(),e=I(n),r=t.chunks.find((o)=>o.key===e);if(!r)return null;let s=(await x(r.file)).find((o)=>o.id===n);if(!s||!s.contentPath)return null;let y=i(p(t),s.contentPath);try{let o=await u(y,"utf8");return{entry:s,content:o}}catch{return null}}export{h as listGeneratedDocs,P as getGeneratedDocById,k as getDocsIndexManifest};
1
+ var g=Object.defineProperty;var I=(n)=>n;function h(n,t){this[n]=I.bind(null,t)}var P=(n,t)=>{for(var e in t)g(n,e,{get:t[e],enumerable:!0,configurable:!0,set:h.bind(t,e)})};var M=(n,t)=>()=>(n&&(t=n(n=0)),t);var m="docs-index.manifest.json";var a={};P(a,{listGeneratedDocs:()=>_,getGeneratedDocById:()=>G,getDocsIndexManifest:()=>j});import{readFile as l}from"node:fs/promises";import*as o from"node:path";import{fileURLToPath as E}from"node:url";function S(n){if(!n)return"_common";if(n.includes("/")){let[t]=n.split("/");return t||"_common"}return"_common"}async function x(){if(!u)u=l(o.join(c,m),"utf8").then((n)=>JSON.parse(n));return u}function C(n){let t=n.contentRoot??".";if(t==="../../../../../../../generated/docs")return w;return o.join(c,t)}async function y(n){let t=D.get(n);if(t)return t;let e=l(o.join(c,n),"utf8").then((s)=>JSON.parse(s));return D.set(n,e),e}async function _(){if(!f)f=(async()=>{let n=await x();return(await Promise.all(n.chunks.map((e)=>y(e.file)))).flat()})();return f}async function j(){return x()}async function G(n){let t=await x(),e=S(n),s=t.chunks.find((r)=>r.key===e);if(!s)return null;let i=(await y(s.file)).find((r)=>r.id===n);if(!i||!i.contentPath)return null;let p=o.join(C(t),i.contentPath);try{let r=await l(p,"utf8");return{entry:i,content:r}}catch{return null}}var c,w,u=null,f=null,D;var d=M(()=>{c=o.dirname(E(import.meta.url)),w=o.join(c,"../../../../../../../generated/docs"),D=new Map});async function A(){let{getDocsIndexManifest:n}=await Promise.resolve().then(() => (d(),a));return n()}async function B(){let{listGeneratedDocs:n}=await Promise.resolve().then(() => (d(),a));return n()}async function T(n){let{getGeneratedDocById:t}=await Promise.resolve().then(() => (d(),a));return t(n)}export{B as listGeneratedDocs,T as getGeneratedDocById,A as getDocsIndexManifest};
@@ -1 +1 @@
1
- var f="docs-index.manifest.json";import{readFile as u}from"node:fs/promises";import{dirname as g,join as i}from"node:path";import{fileURLToPath as D}from"node:url";var d=g(D(import.meta.url)),c=null,a=null,m=new Map;function I(n){if(!n)return"_common";if(n.includes("/")){let[t]=n.split("/");return t||"_common"}return"_common"}async function l(){if(!c)c=u(i(d,f),"utf8").then((n)=>JSON.parse(n));return c}function p(n){let t=n.contentRoot??".";return i(d,t)}async function x(n){let t=m.get(n);if(t)return t;let e=u(i(d,n),"utf8").then((r)=>JSON.parse(r));return m.set(n,e),e}async function w(){if(!a)a=(async()=>{let n=await l();return(await Promise.all(n.chunks.map((e)=>x(e.file)))).flat()})();return a}async function C(){return l()}async function _(n){let t=await l(),e=I(n),r=t.chunks.find((o)=>o.key===e);if(!r)return null;let s=(await x(r.file)).find((o)=>o.id===n);if(!s||!s.contentPath)return null;let y=i(p(t),s.contentPath);try{let o=await u(y,"utf8");return{entry:s,content:o}}catch{return null}}export{w as listGeneratedDocs,_ as getGeneratedDocById,C as getDocsIndexManifest};
1
+ var x=Object.defineProperty;var y=(n)=>n;function h(n,t){this[n]=y.bind(null,t)}var D=(n,t)=>{for(var e in t)x(n,e,{get:t[e],enumerable:!0,configurable:!0,set:h.bind(t,e)})};var I=(n,t)=>()=>(n&&(t=n(n=0)),t);var l="docs-index.manifest.json";var j={};D(j,{listGeneratedDocs:()=>S,getGeneratedDocById:()=>_,getDocsIndexManifest:()=>w});import{readFile as d}from"node:fs/promises";import*as o from"node:path";import{fileURLToPath as P}from"node:url";function M(n){if(!n)return"_common";if(n.includes("/")){let[t]=n.split("/");return t||"_common"}return"_common"}async function f(){if(!a)a=d(o.join(c,l),"utf8").then((n)=>JSON.parse(n));return a}function C(n){let t=n.contentRoot??".";if(t==="../../../../../../../generated/docs")return E;return o.join(c,t)}async function g(n){let t=m.get(n);if(t)return t;let e=d(o.join(c,n),"utf8").then((s)=>JSON.parse(s));return m.set(n,e),e}async function S(){if(!u)u=(async()=>{let n=await f();return(await Promise.all(n.chunks.map((e)=>g(e.file)))).flat()})();return u}async function w(){return f()}async function _(n){let t=await f(),e=M(n),s=t.chunks.find((r)=>r.key===e);if(!s)return null;let i=(await g(s.file)).find((r)=>r.id===n);if(!i||!i.contentPath)return null;let p=o.join(C(t),i.contentPath);try{let r=await d(p,"utf8");return{entry:i,content:r}}catch{return null}}var c,E,a=null,u=null,m;var b=I(()=>{c=o.dirname(P(import.meta.url)),E=o.join(c,"../../../../../../../generated/docs"),m=new Map});b();export{S as listGeneratedDocs,_ as getGeneratedDocById,w as getDocsIndexManifest};
@@ -1,20 +1,21 @@
1
- import{CodeBlock as c,InstallCommand as i}from"@contractspec/lib.design-system";import o from"@contractspec/lib.ui-link";import{ChevronRight as n}from"lucide-react";import{jsx as e,jsxs as a}from"react/jsx-runtime";function p(){return a("div",{className:"space-y-8",children:[a("div",{className:"space-y-2",children:[e("h1",{className:"font-bold text-4xl",children:"ContractSpec CLI"}),e("p",{className:"text-lg text-muted-foreground",children:"Command-line interface for creating, building, and validating contract specifications with AI-powered code generation."})]}),a("div",{className:"space-y-6",children:[a("div",{className:"space-y-3",children:[e("h2",{className:"font-bold text-2xl",children:"Installation"}),e(i,{package:"contractspec",dev:!0})]}),a("div",{className:"space-y-3",children:[e("h2",{className:"font-bold text-2xl",children:"Quick Start"}),e(c,{language:"bash",code:`# Initialize project
1
+ var s=Object.defineProperty;var r=(c)=>c;function d(c,t){this[c]=r.bind(null,t)}var m=(c,t)=>{for(var n in t)s(c,n,{get:t[n],enumerable:!0,configurable:!0,set:d.bind(t,n)})};var u=(c,t)=>()=>(c&&(t=c(c=0)),t);import{CodeBlock as o,InstallCommand as l}from"@contractspec/lib.design-system";import i from"@contractspec/lib.ui-link";import{ChevronRight as p}from"lucide-react";import{jsx as e,jsxs as a}from"react/jsx-runtime";function N(){return a("div",{className:"space-y-8",children:[a("div",{className:"space-y-2",children:[e("h1",{className:"font-bold text-4xl",children:"ContractSpec CLI"}),e("p",{className:"text-lg text-muted-foreground",children:"Command-line interface for creating, building, and validating contract specifications with AI-powered code generation."})]}),a("div",{className:"space-y-6",children:[a("div",{className:"space-y-3",children:[e("h2",{className:"font-bold text-2xl",children:"Installation"}),e(l,{package:"contractspec",dev:!0})]}),a("div",{className:"space-y-3",children:[e("h2",{className:"font-bold text-2xl",children:"Quick Start"}),e(o,{language:"bash",code:`# Initialize project
2
+ contractspec onboard
2
3
  bunx contractspec init
3
4
 
4
5
  # Create a spec
5
6
  contractspec create --type operation
6
7
 
7
8
  # Generate code
8
- contractspec build src/contracts/mySpec.ts
9
+ contractspec generate
9
10
 
10
11
  # Validate
11
- contractspec validate src/contracts/mySpec.ts`})]}),a("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"Commands"}),e("div",{className:"grid gap-4",children:[{name:"create",description:"Interactive wizard to create contract specifications",usage:"contractspec create [--type operation] [--ai]"},{name:"build",description:"Generate implementation code from contract specs using AI agents",usage:"contractspec build <spec-file> [--agent-mode claude-code]"},{name:"validate",description:"Validate contract specifications and implementations",usage:"contractspec validate <spec-file> [--check-implementation]"},{name:"list",description:"List all contract specifications in the project",usage:"contractspec list [--type operation] [--json]"},{name:"watch",description:"Watch specs and auto-regenerate on changes",usage:"contractspec watch [--build] [--validate]"},{name:"sync",description:"Sync contracts by building all discovered specs",usage:"contractspec sync [--dry-run]"},{name:"ci",description:"Run all validation checks for CI/CD pipelines",usage:"contractspec ci [--format sarif] [--output results.sarif]"},{name:"deps",description:"Analyze contract dependencies and relationships",usage:"contractspec deps [--circular] [--format dot]"},{name:"diff",description:"Compare contract specifications and show differences",usage:"contractspec diff <spec1> <spec2> [--breaking]"}].map((t)=>a("div",{className:"card-subtle space-y-2 p-4",children:[e("h3",{className:"font-bold font-mono text-violet-400",children:t.name}),e("p",{className:"text-muted-foreground text-sm",children:t.description}),e(c,{language:"bash",code:t.usage,showCopyButton:!1})]},t.name))})]}),a("div",{className:"space-y-3",children:[e("h2",{className:"font-bold text-2xl",children:"AI Agent Modes"}),e("p",{className:"text-muted-foreground",children:"The CLI supports multiple AI agent modes for different use cases:"}),a("div",{className:"grid gap-3 md:grid-cols-2",children:[a("div",{className:"card-subtle p-4",children:[e("h4",{className:"font-bold",children:"simple"}),e("p",{className:"text-muted-foreground text-sm",children:"Direct LLM API calls, fast and straightforward. Best for rapid prototyping."})]}),a("div",{className:"card-subtle p-4",children:[e("h4",{className:"font-bold",children:"claude-code"}),e("p",{className:"text-muted-foreground text-sm",children:"Extended thinking with Claude. Best for production-quality code."})]}),a("div",{className:"card-subtle p-4",children:[e("h4",{className:"font-bold",children:"openai-codex"}),e("p",{className:"text-muted-foreground text-sm",children:"GPT-4o/o1 models. Excellent for algorithms and optimization."})]}),a("div",{className:"card-subtle p-4",children:[e("h4",{className:"font-bold",children:"cursor"}),e("p",{className:"text-muted-foreground text-sm",children:"Leverages Cursor agentic capabilities. Requires Cursor environment."})]})]})]}),a("div",{className:"space-y-3",children:[e("h2",{className:"font-bold text-2xl",children:"CI/CD Integration"}),e("p",{className:"text-muted-foreground",children:"Run all validation checks in CI/CD with machine-readable output:"}),e(c,{language:"yaml",filename:".github/workflows/validate.yml",code:`- name: Validate Contracts
12
+ contractspec validate`})]}),a("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"Commands"}),e("div",{className:"grid gap-4",children:[{name:"onboard",description:"Primary OSS onboarding flow that recommends tracks, examples, and repo-local guides",usage:"contractspec onboard [track...] [--example <key>] [--dry-run] [--json]"},{name:"create",description:"Interactive wizard to create contract specifications",usage:"contractspec create [--type operation] [--ai]"},{name:"build",description:"Generate implementation code from contract specs using AI agents",usage:"contractspec build <spec-file> [--agent-mode claude-code]"},{name:"validate",description:"Validate contract specifications and implementations",usage:"contractspec validate <spec-file> [--check-implementation]"},{name:"list",description:"List all contract specifications in the project",usage:"contractspec list [--type operation] [--json]"},{name:"watch",description:"Watch specs and auto-regenerate on changes",usage:"contractspec watch [--build] [--validate]"},{name:"sync",description:"Sync contracts by building all discovered specs",usage:"contractspec sync [--dry-run]"},{name:"ci",description:"Run all validation checks for CI/CD pipelines",usage:"contractspec ci [--format sarif] [--output results.sarif]"},{name:"deps",description:"Analyze contract dependencies and relationships",usage:"contractspec deps [--circular] [--format dot]"},{name:"diff",description:"Compare contract specifications and show differences",usage:"contractspec diff <spec1> <spec2> [--breaking]"}].map((t)=>a("div",{className:"card-subtle space-y-2 p-4",children:[e("h3",{className:"font-bold font-mono text-violet-400",children:t.name}),e("p",{className:"text-muted-foreground text-sm",children:t.description}),e(o,{language:"bash",code:t.usage,showCopyButton:!1})]},t.name))})]}),a("div",{className:"space-y-3",children:[e("h2",{className:"font-bold text-2xl",children:"AI Agent Modes"}),e("p",{className:"text-muted-foreground",children:"The CLI supports multiple AI agent modes for different use cases:"}),a("div",{className:"grid gap-3 md:grid-cols-2",children:[a("div",{className:"card-subtle p-4",children:[e("h4",{className:"font-bold",children:"simple"}),e("p",{className:"text-muted-foreground text-sm",children:"Direct LLM API calls, fast and straightforward. Best for rapid prototyping."})]}),a("div",{className:"card-subtle p-4",children:[e("h4",{className:"font-bold",children:"claude-code"}),e("p",{className:"text-muted-foreground text-sm",children:"Extended thinking with Claude. Best for production-quality code."})]}),a("div",{className:"card-subtle p-4",children:[e("h4",{className:"font-bold",children:"openai-codex"}),e("p",{className:"text-muted-foreground text-sm",children:"GPT-4o/o1 models. Excellent for algorithms and optimization."})]}),a("div",{className:"card-subtle p-4",children:[e("h4",{className:"font-bold",children:"cursor"}),e("p",{className:"text-muted-foreground text-sm",children:"Leverages Cursor agentic capabilities. Requires Cursor environment."})]})]})]}),a("div",{className:"space-y-3",children:[e("h2",{className:"font-bold text-2xl",children:"CI/CD Integration"}),e("p",{className:"text-muted-foreground",children:"Run all validation checks in CI/CD with machine-readable output:"}),e(o,{language:"yaml",filename:".github/workflows/validate.yml",code:`- name: Validate Contracts
12
13
  run: contractspec ci --format sarif --output results.sarif
13
14
 
14
15
  - name: Upload SARIF
15
16
  uses: github/codeql-action/upload-sarif@v3
16
17
  with:
17
- sarif_file: results.sarif`})]}),a("div",{className:"card-subtle space-y-4 p-6",children:[e("h3",{className:"font-bold",children:"Configuration"}),a("p",{className:"text-muted-foreground text-sm",children:["Create a ",e("code",{children:".contractsrc.json"})," file in your project root:"]}),e(c,{language:"json",filename:".contractsrc.json",code:`{
18
+ sarif_file: results.sarif`})]}),a("div",{className:"card-subtle space-y-4 p-6",children:[e("h3",{className:"font-bold",children:"Configuration"}),a("p",{className:"text-muted-foreground text-sm",children:["Create a ",e("code",{children:".contractsrc.json"})," file in your project root:"]}),e(o,{language:"json",filename:".contractsrc.json",code:`{
18
19
  "aiProvider": "claude",
19
20
  "agentMode": "claude-code",
20
21
  "outputDir": "./src",
@@ -22,4 +23,4 @@ contractspec validate src/contracts/mySpec.ts`})]}),a("div",{className:"space-y-
22
23
  "operations": "interactions/commands|queries",
23
24
  "events": "events"
24
25
  }
25
- }`})]})]}),a("div",{className:"flex items-center gap-4 pt-4",children:[a(o,{href:"/docs/getting-started/tools/vscode",className:"btn-primary",children:["Next: VS Code Extension ",e(n,{size:16})]}),e(o,{href:"/docs/getting-started/tools",className:"btn-ghost",children:"Back to Tools"})]})]})}export{p as CLIPage};
26
+ }`})]})]}),a("div",{className:"flex items-center gap-4 pt-4",children:[a(i,{href:"/docs/getting-started/tools/vscode",className:"btn-primary",children:["Next: VS Code Extension ",e(p,{size:16})]}),e(i,{href:"/docs/getting-started/tools",className:"btn-ghost",children:"Back to Tools"})]})]})}export{N as CLIPage};
@@ -1 +1 @@
1
- import a from"@contractspec/lib.ui-link";import{ChevronRight as l}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function r(){return t("div",{className:"space-y-8",children:[t("div",{className:"space-y-2",children:[e("h1",{className:"font-bold text-4xl",children:"Compatibility"}),e("p",{className:"text-lg text-muted-foreground",children:"Supported runtimes, frameworks, and agent modes for ContractSpec."})]}),t("div",{className:"space-y-6",children:[t("div",{className:"card-subtle space-y-3 p-6",children:[e("h2",{className:"font-bold text-2xl",children:"Runtimes"}),t("ul",{className:"space-y-2 text-muted-foreground",children:[e("li",{children:"Node.js 20+"}),e("li",{children:"Bun 1.0+"})]})]}),t("div",{className:"card-subtle space-y-3 p-6",children:[e("h2",{className:"font-bold text-2xl",children:"Frameworks"}),t("ul",{className:"space-y-2 text-muted-foreground",children:[e("li",{children:"Next.js 14+ (App Router preferred)"}),e("li",{children:"Bun + Elysia or compatible HTTP servers"})]})]}),t("div",{className:"card-subtle space-y-3 p-6",children:[e("h2",{className:"font-bold text-2xl",children:"Package managers"}),t("ul",{className:"space-y-2 text-muted-foreground",children:[e("li",{children:"bun (recommended)"}),e("li",{children:"npm"}),e("li",{children:"pnpm"})]})]}),t("div",{className:"card-subtle space-y-3 p-6",children:[e("h2",{className:"font-bold text-2xl",children:"AI agent modes"}),t("ul",{className:"space-y-2 text-muted-foreground",children:[e("li",{children:"claude-code"}),e("li",{children:"openai-codex"}),e("li",{children:"cursor"}),e("li",{children:"opencode"}),e("li",{children:"simple (direct LLM)"})]})]}),t("div",{className:"card-subtle space-y-3 p-6",children:[e("h2",{className:"font-bold text-2xl",children:"Datastores"}),e("p",{className:"text-muted-foreground",children:"ContractSpec ships with Prisma-friendly defaults and can integrate with custom adapters for other databases."}),t("ul",{className:"space-y-2 text-muted-foreground",children:[e("li",{children:"PostgreSQL via Prisma"}),e("li",{children:"Custom adapters for other SQL/NoSQL stores"})]})]})]}),t("div",{className:"flex flex-wrap items-center gap-3 pt-2",children:[e(a,{href:"/docs/getting-started/start-here",className:"btn-ghost",children:"Start here"}),e(a,{href:"/docs/getting-started/troubleshooting",className:"btn-ghost",children:"Troubleshooting"}),t(a,{href:"/docs/getting-started/installation",className:"btn-primary",children:["Next: Installation ",e(l,{size:16})]})]})]})}export{r as CompatibilityPage};
1
+ var o=Object.defineProperty;var d=(a)=>a;function c(a,l){this[a]=d.bind(null,l)}var m=(a,l)=>{for(var r in l)o(a,r,{get:l[r],enumerable:!0,configurable:!0,set:c.bind(l,r)})};var n=(a,l)=>()=>(a&&(l=a(a=0)),l);import i from"@contractspec/lib.ui-link";import{ChevronRight as s}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function N(){return t("div",{className:"space-y-8",children:[t("div",{className:"space-y-2",children:[e("h1",{className:"font-bold text-4xl",children:"Compatibility"}),e("p",{className:"text-lg text-muted-foreground",children:"Supported runtimes, frameworks, and agent modes for ContractSpec."})]}),t("div",{className:"space-y-6",children:[t("div",{className:"card-subtle space-y-3 p-6",children:[e("h2",{className:"font-bold text-2xl",children:"Runtimes"}),t("ul",{className:"space-y-2 text-muted-foreground",children:[e("li",{children:"Node.js 20+"}),e("li",{children:"Bun 1.0+"})]})]}),t("div",{className:"card-subtle space-y-3 p-6",children:[e("h2",{className:"font-bold text-2xl",children:"Frameworks"}),t("ul",{className:"space-y-2 text-muted-foreground",children:[e("li",{children:"Next.js 14+ (App Router preferred)"}),e("li",{children:"Bun + Elysia or compatible HTTP servers"})]})]}),t("div",{className:"card-subtle space-y-3 p-6",children:[e("h2",{className:"font-bold text-2xl",children:"Package managers"}),t("ul",{className:"space-y-2 text-muted-foreground",children:[e("li",{children:"bun (recommended)"}),e("li",{children:"npm"}),e("li",{children:"pnpm"})]})]}),t("div",{className:"card-subtle space-y-3 p-6",children:[e("h2",{className:"font-bold text-2xl",children:"AI agent modes"}),t("ul",{className:"space-y-2 text-muted-foreground",children:[e("li",{children:"claude-code"}),e("li",{children:"openai-codex"}),e("li",{children:"cursor"}),e("li",{children:"opencode"}),e("li",{children:"simple (direct LLM)"})]})]}),t("div",{className:"card-subtle space-y-3 p-6",children:[e("h2",{className:"font-bold text-2xl",children:"Datastores"}),e("p",{className:"text-muted-foreground",children:"ContractSpec ships with Prisma-friendly defaults and can integrate with custom adapters for other databases."}),t("ul",{className:"space-y-2 text-muted-foreground",children:[e("li",{children:"PostgreSQL via Prisma"}),e("li",{children:"Custom adapters for other SQL/NoSQL stores"})]})]}),t("div",{className:"card-subtle space-y-3 p-6",children:[e("h2",{className:"font-bold text-2xl",children:"Cross-platform UI architecture"}),t("p",{className:"text-muted-foreground",children:["Need the React and React Native component compatibility story? Read"," ",e(i,{href:"/docs/libraries/cross-platform-ui",className:"text-[color:var(--rust)] underline underline-offset-4",children:"Cross-platform UI"})," ","for the runtime and UI-layer split."]})]})]}),t("div",{className:"flex flex-wrap items-center gap-3 pt-2",children:[e(i,{href:"/docs/getting-started/start-here",className:"btn-ghost",children:"Start here"}),e(i,{href:"/docs/getting-started/troubleshooting",className:"btn-ghost",children:"Troubleshooting"}),t(i,{href:"/docs/getting-started/installation",className:"btn-primary",children:["Next: Installation ",e(s,{size:16})]})]})]})}export{N as CompatibilityPage};
@@ -1,17 +1,4 @@
1
- import{CodeBlock as a}from"@contractspec/lib.design-system";import i from"@contractspec/lib.ui-link";import{ChevronRight as s}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function l(){return t("div",{className:"space-y-8",children:[t("div",{className:"space-y-4",children:[e("h1",{className:"font-bold text-4xl",children:"Display Data with DataViews"}),e("p",{className:"text-lg text-muted-foreground",children:"Define a filterable, sortable transaction history view that works across web and mobile without duplicating UI code."})]}),t("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"1. Define the underlying query"}),e("p",{className:"text-muted-foreground",children:"First, create a query operation to fetch the data:"}),e(a,{language:"typescript",filename:"lib/specs/billing/list-transactions.ts",code:`import { defineQuery } from '@contractspec/lib.contracts-spec';
2
-
3
- export const ListTransactions = defineQuery({
4
- meta: {
5
- key: 'billing.listTransactions',
6
- version: '1.0.0',
7
- description: 'Fetch customer transaction history',
8
- },
9
- io: {
10
- input: /* pagination + filters */,
11
- output: /* array of transactions */,
12
- },
13
- policy: { auth: 'user' },
14
- });`})]}),t("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"2. Define the DataView spec"}),e("p",{className:"text-muted-foreground",children:"Wrap your query with presentation metadata:"}),e(a,{language:"typescript",filename:"lib/specs/billing/transaction-history.data-view.ts",code:`import { defineDataView } from '@contractspec/lib.contracts-spec';
1
+ var r=Object.defineProperty;var l=(a)=>a;function c(a,i){this[a]=l.bind(null,i)}var m=(a,i)=>{for(var n in i)r(a,n,{get:i[n],enumerable:!0,configurable:!0,set:c.bind(i,n)})};var u=(a,i)=>()=>(a&&(i=a(a=0)),i);import{CodeBlock as s}from"@contractspec/lib.design-system";import o from"@contractspec/lib.ui-link";import{ChevronRight as d}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";var p=`import { defineDataView } from '@contractspec/lib.contracts-spec/data-views';
15
2
  import { ListTransactions } from './list-transactions';
16
3
 
17
4
  export const TransactionHistory = defineDataView({
@@ -19,68 +6,58 @@ export const TransactionHistory = defineDataView({
19
6
  key: 'billing.transactionHistory',
20
7
  version: '1.0.0',
21
8
  entity: 'transaction',
9
+ title: 'Transaction History',
22
10
  description: 'Customer payment history',
23
- goal: 'Help customers track spending',
24
- context: 'Account dashboard',
11
+ domain: 'billing',
25
12
  owners: ['team-billing'],
26
- stability: 'stable',
27
13
  tags: ['payments'],
14
+ stability: 'stable',
28
15
  },
29
16
  source: {
30
- primary: ListTransactions,
17
+ primary: {
18
+ key: ListTransactions.meta.key,
19
+ version: ListTransactions.meta.version,
20
+ },
31
21
  },
32
22
  view: {
33
- kind: 'list',
34
- fields: [
35
- {
36
- key: 'date',
37
- label: 'Date',
38
- dataPath: 'createdAt',
39
- format: 'date',
40
- sortable: true
41
- },
42
- {
43
- key: 'description',
44
- label: 'Description',
45
- dataPath: 'description'
46
- },
47
- {
48
- key: 'amount',
49
- label: 'Amount',
50
- dataPath: 'amount',
51
- format: 'currency',
52
- sortable: true
53
- },
54
- {
55
- key: 'status',
56
- label: 'Status',
57
- dataPath: 'status',
58
- format: 'badge'
59
- },
60
- ],
61
- filters: [
62
- {
63
- key: 'status',
64
- label: 'Status',
65
- field: 'status',
66
- type: 'enum',
67
- options: [
68
- { value: 'succeeded', label: 'Paid' },
69
- { value: 'pending', label: 'Pending' },
70
- { value: 'failed', label: 'Failed' },
71
- ],
72
- },
73
- {
74
- key: 'dateRange',
75
- label: 'Date Range',
76
- field: 'createdAt',
77
- type: 'dateRange',
23
+ kind: 'table',
24
+ executionMode: 'client',
25
+ selection: 'multiple',
26
+ columnVisibility: true,
27
+ columnResizing: true,
28
+ columnPinning: true,
29
+ rowExpansion: {
30
+ fields: ['notes', 'renewalDate', 'lastActivityAt'],
31
+ },
32
+ initialState: {
33
+ pageSize: 4,
34
+ hiddenColumns: ['notes'],
35
+ pinnedColumns: {
36
+ left: ['account'],
78
37
  },
38
+ sorting: [{ field: 'arr', desc: true }],
39
+ },
40
+ fields: [
41
+ { key: 'account', label: 'Account', dataPath: 'account', sortable: true },
42
+ { key: 'owner', label: 'Owner', dataPath: 'owner', sortable: true },
43
+ { key: 'status', label: 'Status', dataPath: 'status', sortable: true },
44
+ { key: 'notes', label: 'Notes', dataPath: 'notes' },
79
45
  ],
80
- defaultSort: { field: 'date', direction: 'desc' },
81
- pagination: { pageSize: 25 },
82
46
  },
83
- });`})]}),t("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"3. Render on the frontend"}),e("p",{className:"text-muted-foreground",children:"Use the runtime renderer in your React or React Native app:"}),e(a,{language:"tsx",filename:"app/dashboard/transactions/page.tsx",code:`'use client';
47
+ });`;function b(){return t("div",{className:"space-y-8",children:[t("div",{className:"space-y-4",children:[e("h1",{className:"font-bold text-4xl",children:"Display Data with DataViews"}),e("p",{className:"text-lg text-muted-foreground",children:"Define a filterable, sortable transaction history view that works across web and mobile without duplicating UI code."})]}),t("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"1. Define the underlying query"}),e("p",{className:"text-muted-foreground",children:"First, create a query operation to fetch the data:"}),e(s,{language:"typescript",filename:"lib/specs/billing/list-transactions.ts",code:`import { defineQuery } from '@contractspec/lib.contracts-spec';
48
+
49
+ export const ListTransactions = defineQuery({
50
+ meta: {
51
+ key: 'billing.listTransactions',
52
+ version: '1.0.0',
53
+ description: 'Fetch customer transaction history',
54
+ },
55
+ io: {
56
+ input: /* pagination + filters */,
57
+ output: /* array of transactions */,
58
+ },
59
+ policy: { auth: 'user' },
60
+ });`})]}),t("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"2. Define the DataView spec"}),e("p",{className:"text-muted-foreground",children:"Wrap your query with presentation metadata:"}),e(s,{language:"typescript",filename:"lib/specs/billing/transaction-history.data-view.ts",code:p}),t("p",{className:"text-muted-foreground text-sm",children:["The live version of this pattern is available in the canonical"," ",e(o,{href:"/docs/examples/data-grid-showcase",className:"text-[color:var(--rust)] underline underline-offset-4",children:"Data Grid Showcase"}),"."]})]}),t("div",{className:"space-y-4",children:[e("h2",{className:"font-bold text-2xl",children:"3. Render on the frontend"}),e("p",{className:"text-muted-foreground",children:"Use the runtime renderer in your React or React Native app:"}),e(s,{language:"tsx",filename:"app/dashboard/transactions/page.tsx",code:`'use client';
84
61
 
85
62
  import { DataViewRenderer } from '@contractspec/lib.design-system';
86
63
  import { TransactionHistory } from '@/lib/specs/billing/transaction-history.data-view';
@@ -105,4 +82,4 @@ export function TransactionsPage() {
105
82
  />
106
83
  </div>
107
84
  );
108
- }`})]}),t("div",{className:"card-subtle space-y-4 p-6",children:[e("h3",{className:"font-bold",children:"Why DataViews?"}),t("ul",{className:"space-y-2 text-muted-foreground text-sm",children:[e("li",{children:"Same spec renders on web (React) and mobile (React Native)"}),e("li",{children:"Filters, sorting, and pagination handled automatically"}),e("li",{children:"Format rules (currency, dates, badges) applied consistently"}),e("li",{children:"Export to CSV/PDF using the same spec"}),e("li",{children:"A/B test different layouts without touching the backend"})]})]}),t("div",{className:"flex items-center gap-4 pt-4",children:[t(i,{href:"/docs/libraries/data-views",className:"btn-primary",children:["DataView API Reference ",e(s,{size:16})]}),e(i,{href:"/docs/specs/workflows",className:"btn-ghost",children:"Next: Workflows"})]})]})}export{l as DataViewTutorialPage};
85
+ }`})]}),t("div",{className:"card-subtle space-y-4 p-6",children:[e("h3",{className:"font-bold",children:"Why DataViews?"}),t("ul",{className:"space-y-2 text-muted-foreground text-sm",children:[e("li",{children:"Same spec renders on web (React) and mobile (React Native)"}),e("li",{children:"Filters, sorting, and pagination handled automatically"}),e("li",{children:"Column visibility, pinning, resizing, and row expansion stay contract-driven"}),e("li",{children:"Format rules (currency, dates, badges) applied consistently"}),e("li",{children:"Export to CSV/PDF using the same spec"}),e("li",{children:"A/B test different layouts without touching the backend"})]})]}),t("div",{className:"flex items-center gap-4 pt-4",children:[t(o,{href:"/docs/libraries/data-views",className:"btn-primary",children:["DataView API Reference ",e(d,{size:16})]}),e(o,{href:"/docs/specs/workflows",className:"btn-ghost",children:"Next: Workflows"})]})]})}export{b as DataViewTutorialPage};
@@ -1 +1 @@
1
- import{CodeBlock as d,InstallCommand as l}from"@contractspec/lib.design-system";import i from"@contractspec/lib.ui-link";import{ChevronRight as s,Code2 as r,Cpu as m,Layers as p,Terminal as g}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function N(){return t("div",{className:"space-y-8",children:[t("div",{className:"space-y-2",children:[e("h1",{className:"font-bold text-4xl",children:"Developer Tools"}),e("p",{className:"text-lg text-muted-foreground",children:"Use the OSS toolchain to define contracts, validate changes, inspect generated surfaces, and adopt the system incrementally across different environments."})]}),e("div",{className:"grid gap-6 md:grid-cols-2",children:[{name:"CLI",href:"/docs/getting-started/tools/cli",description:"Command-line interface for spec creation, building, validation, and CI/CD integration.",icon:g,status:"available",highlights:["AI-powered code generation","Multiple agent modes","SARIF/JSON output"]},{name:"VS Code Extension",href:"/docs/getting-started/tools/vscode",description:"Real-time validation, scaffolding, and navigation directly in your editor.",icon:r,status:"available",highlights:["Specs Explorer sidebar","Watch mode","Interactive walkthroughs"]},{name:"ContractSpec Studio",href:"https://www.contractspec.studio",description:"The operating layer on top of OSS ContractSpec for teams that want evidence-backed decisions, workflow automation, and managed delivery loops.",icon:p,status:"available",highlights:["Evidence-to-decision loop","Compiled spec diffs and task packs","Exports to Linear, Jira, Notion, and GitHub"]},{name:"JetBrains Plugin",href:"#",description:"Full ContractSpec support for IntelliJ, WebStorm, and other JetBrains IDEs.",icon:m,status:"coming-soon",highlights:["Code navigation","Inline validation","Refactoring support"]}].map((a)=>{let c=a.icon,o=a.status==="coming-soon";return t("div",{className:`card-subtle relative space-y-4 p-6 ${o?"opacity-75":""}`,children:[o&&e("span",{className:"absolute -top-2 right-4 rounded-full bg-violet-500/20 px-2 py-0.5 font-medium text-violet-400 text-xs",children:"Coming Soon"}),t("div",{className:"flex items-center gap-3",children:[e("div",{className:"flex h-10 w-10 items-center justify-center rounded-lg bg-violet-500/10",children:e(c,{className:"h-5 w-5 text-violet-400"})}),e("h3",{className:"font-bold text-lg",children:a.name})]}),e("p",{className:"text-muted-foreground text-sm",children:a.description}),e("ul",{className:"space-y-1",children:a.highlights.map((n)=>t("li",{className:"flex items-center gap-2 text-muted-foreground text-sm",children:[e("span",{className:"text-violet-400",children:"-"}),n]},n))}),!o&&t(i,{href:a.href,className:"btn-ghost inline-flex items-center gap-1 text-sm",children:["Learn more ",e(s,{size:14})]})]},a.name)})}),t("div",{className:"card-subtle space-y-4 p-6",children:[e("h3",{className:"font-bold",children:"Quick Install"}),t("div",{className:"space-y-3",children:[t("div",{children:[e("p",{className:"mb-2 font-medium text-muted-foreground text-xs",children:"CLI"}),e(l,{package:"contractspec",dev:!0})]}),t("div",{children:[e("p",{className:"mb-2 font-medium text-muted-foreground text-xs",children:"VS Code Extension"}),e(d,{language:"bash",code:"code --install-extension lssm.vscode-contractspec"})]})]})]}),t("div",{className:"flex items-center gap-4 pt-4",children:[t(i,{href:"/docs/getting-started/tools/cli",className:"btn-primary",children:["Get Started with CLI ",e(s,{size:16})]}),e(i,{href:"/docs/getting-started/tools/vscode",className:"btn-ghost",children:"VS Code Extension"})]})]})}export{N as DeveloperToolsPage};
1
+ var l=Object.defineProperty;var r=(o)=>o;function m(o,t){this[o]=r.bind(null,t)}var N=(o,t)=>{for(var i in t)l(o,i,{get:t[i],enumerable:!0,configurable:!0,set:m.bind(t,i)})};var b=(o,t)=>()=>(o&&(t=o(o=0)),t);import{CodeBlock as p,InstallCommand as g}from"@contractspec/lib.design-system";import s from"@contractspec/lib.ui-link";import{ChevronRight as d,Code2 as v,Cpu as u,Layers as h,Terminal as f}from"lucide-react";import{jsx as e,jsxs as a}from"react/jsx-runtime";function I(){return a("div",{className:"space-y-8",children:[a("div",{className:"space-y-2",children:[e("h1",{className:"font-bold text-4xl",children:"Developer Tools"}),e("p",{className:"text-lg text-muted-foreground",children:"Use the OSS toolchain to define contracts, validate changes, inspect generated surfaces, and adopt the system incrementally across different environments."})]}),e("div",{className:"grid gap-6 md:grid-cols-2",children:[{name:"CLI",href:"/docs/getting-started/tools/cli",description:"Command-line interface for spec creation, building, validation, and CI/CD integration.",icon:f,status:"available",highlights:["AI-powered code generation","Multiple agent modes","SARIF/JSON output"]},{name:"VS Code Extension",href:"/docs/getting-started/tools/vscode",description:"Real-time validation, scaffolding, and navigation directly in your editor.",icon:v,status:"available",highlights:["Specs Explorer sidebar","Watch mode","Interactive walkthroughs"]},{name:"ContractSpec Studio",href:"https://www.contractspec.studio",description:"The operating layer on top of OSS ContractSpec for teams that want evidence-backed decisions, workflow automation, and managed delivery loops.",icon:h,status:"available",highlights:["Evidence-to-decision loop","Compiled spec diffs and task packs","Exports to Linear, Jira, Notion, and GitHub"]},{name:"JetBrains Plugin",href:"#",description:"Full ContractSpec support for IntelliJ, WebStorm, and other JetBrains IDEs.",icon:u,status:"coming-soon",highlights:["Code navigation","Inline validation","Refactoring support"]}].map((t)=>{let i=t.icon,n=t.status==="coming-soon";return a("div",{className:`card-subtle relative space-y-4 p-6 ${n?"opacity-75":""}`,children:[n&&e("span",{className:"absolute -top-2 right-4 rounded-full bg-violet-500/20 px-2 py-0.5 font-medium text-violet-400 text-xs",children:"Coming Soon"}),a("div",{className:"flex items-center gap-3",children:[e("div",{className:"flex h-10 w-10 items-center justify-center rounded-lg bg-violet-500/10",children:e(i,{className:"h-5 w-5 text-violet-400"})}),e("h3",{className:"font-bold text-lg",children:t.name})]}),e("p",{className:"text-muted-foreground text-sm",children:t.description}),e("ul",{className:"space-y-1",children:t.highlights.map((c)=>a("li",{className:"flex items-center gap-2 text-muted-foreground text-sm",children:[e("span",{className:"text-violet-400",children:"-"}),c]},c))}),!n&&a(s,{href:t.href,className:"btn-ghost inline-flex items-center gap-1 text-sm",children:["Learn more ",e(d,{size:14})]})]},t.name)})}),a("div",{className:"card-subtle space-y-4 p-6",children:[e("h3",{className:"font-bold",children:"Quick Install"}),a("div",{className:"space-y-3",children:[a("div",{children:[e("p",{className:"mb-2 font-medium text-muted-foreground text-xs",children:"CLI"}),e(g,{package:"contractspec",dev:!0})]}),a("div",{children:[e("p",{className:"mb-2 font-medium text-muted-foreground text-xs",children:"VS Code Extension"}),e(p,{language:"bash",code:"code --install-extension lssm.vscode-contractspec"})]})]})]}),a("div",{className:"flex items-center gap-4 pt-4",children:[a(s,{href:"/docs/getting-started/tools/cli",className:"btn-primary",children:["Get Started with CLI ",e(d,{size:16})]}),e(s,{href:"/docs/getting-started/tools/vscode",className:"btn-ghost",children:"VS Code Extension"})]})]})}export{I as DeveloperToolsPage};
@@ -1,4 +1,4 @@
1
- import{CodeBlock as a}from"@contractspec/lib.design-system";import i from"@contractspec/lib.ui-link";import{ChevronRight as n}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function s(){return t("div",{className:"space-y-8",children:[t("div",{className:"space-y-2",children:[e("h1",{className:"font-bold text-4xl",children:"Your First Operation"}),e("p",{className:"text-lg text-muted-foreground",children:"Build a payment capture operation with policy enforcement in under 10 minutes."})]}),t("div",{className:"space-y-6",children:[t("div",{className:"space-y-3",children:[e("h2",{className:"font-bold text-2xl",children:"What you'll build"}),e("p",{className:"text-muted-foreground",children:"A real-world payment processing operation that validates input, enforces business rules, integrates with Stripe, and audits every transaction. This is production-ready code, not a toy example."})]}),t("div",{className:"space-y-3",children:[e("h2",{className:"font-bold text-2xl",children:"1. Define the operation spec"}),t("p",{className:"text-muted-foreground",children:["Create ",e("code",{children:"lib/specs/billing/capture-payment.ts"}),":"]}),e(a,{language:"typescript",filename:"lib/specs/billing/capture-payment.ts",code:`import { defineCommand } from '@contractspec/lib.contracts-spec';
1
+ var o=Object.defineProperty;var p=(a)=>a;function s(a,i){this[a]=p.bind(null,i)}var m=(a,i)=>{for(var r in i)o(a,r,{get:i[r],enumerable:!0,configurable:!0,set:s.bind(i,r)})};var d=(a,i)=>()=>(a&&(i=a(a=0)),i);import{CodeBlock as n}from"@contractspec/lib.design-system";import c from"@contractspec/lib.ui-link";import{ChevronRight as l}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function g(){return t("div",{className:"space-y-8",children:[t("div",{className:"space-y-2",children:[e("h1",{className:"font-bold text-4xl",children:"Your First Operation"}),e("p",{className:"text-lg text-muted-foreground",children:"Build a payment capture operation with policy enforcement in under 10 minutes."})]}),t("div",{className:"space-y-6",children:[t("div",{className:"space-y-3",children:[e("h2",{className:"font-bold text-2xl",children:"What you'll build"}),e("p",{className:"text-muted-foreground",children:"A real-world payment processing operation that validates input, enforces business rules, integrates with Stripe, and audits every transaction. This is production-ready code, not a toy example."})]}),t("div",{className:"space-y-3",children:[e("h2",{className:"font-bold text-2xl",children:"1. Define the operation spec"}),t("p",{className:"text-muted-foreground",children:["Create ",e("code",{children:"lib/specs/billing/capture-payment.ts"}),":"]}),e(n,{language:"typescript",filename:"lib/specs/billing/capture-payment.ts",code:`import { defineCommand } from '@contractspec/lib.contracts-spec';
2
2
  import { SchemaModel, ScalarTypeEnum } from '@contractspec/lib.schema';
3
3
 
4
4
  const CapturePaymentInput = new SchemaModel({
@@ -41,7 +41,7 @@ export const CapturePayment = defineCommand({
41
41
  { resource: 'invoice', action: 'pay', condition: 'owner' },
42
42
  ],
43
43
  },
44
- });`})]}),t("div",{className:"space-y-3",children:[e("h2",{className:"font-bold text-2xl",children:"2. Implement the handler"}),t("p",{className:"text-muted-foreground",children:["Create ",e("code",{children:"lib/handlers/billing/capture-payment.ts"}),":"]}),e(a,{language:"typescript",filename:"lib/handlers/billing/capture-payment.ts",code:`import { CapturePayment } from '@/lib/specs/billing/capture-payment';
44
+ });`})]}),t("div",{className:"space-y-3",children:[e("h2",{className:"font-bold text-2xl",children:"2. Implement the handler"}),t("p",{className:"text-muted-foreground",children:["Create ",e("code",{children:"lib/handlers/billing/capture-payment.ts"}),":"]}),e(n,{language:"typescript",filename:"lib/handlers/billing/capture-payment.ts",code:`import { CapturePayment } from '@/lib/specs/billing/capture-payment';
45
45
  import { stripe } from '@/lib/integrations/stripe';
46
46
  import { db } from '@/lib/db';
47
47
 
@@ -78,12 +78,12 @@ export async function handleCapturePayment(input, ctx) {
78
78
  status: paymentIntent.status,
79
79
  receiptUrl: paymentIntent.charges.data[0]?.receipt_url,
80
80
  };
81
- }`})]}),t("div",{className:"space-y-3",children:[e("h2",{className:"font-bold text-2xl",children:"3. Register and serve"}),t("p",{className:"text-muted-foreground",children:["Wire it up in ",e("code",{children:"lib/registry.ts"})," and"," ",e("code",{children:"app/api/ops/[...route]/route.ts"}),":"]}),e(a,{language:"typescript",filename:"lib/registry.ts",code:`import { OperationSpecRegistry, installOp } from '@contractspec/lib.contracts-spec';
81
+ }`})]}),t("div",{className:"space-y-3",children:[e("h2",{className:"font-bold text-2xl",children:"3. Register and serve"}),t("p",{className:"text-muted-foreground",children:["Wire it up in ",e("code",{children:"lib/registry.ts"})," and"," ",e("code",{children:"app/api/ops/[...route]/route.ts"}),":"]}),e(n,{language:"typescript",filename:"lib/registry.ts",code:`import { OperationSpecRegistry, installOp } from '@contractspec/lib.contracts-spec';
82
82
  import { CapturePayment } from './specs/billing/capture-payment';
83
83
  import { handleCapturePayment } from './handlers/billing/capture-payment';
84
84
 
85
85
  export const registry = new OperationSpecRegistry();
86
- installOp(registry, CapturePayment, handleCapturePayment);`}),e(a,{language:"typescript",filename:"app/api/ops/[...route]/route.ts",code:`import { makeNextAppHandler } from '@contractspec/lib.contracts-runtime-server-rest/rest-next-app';
86
+ installOp(registry, CapturePayment, handleCapturePayment);`}),e(n,{language:"typescript",filename:"app/api/ops/[...route]/route.ts",code:`import { makeNextAppHandler } from '@contractspec/lib.contracts-runtime-server-rest/rest-next-app';
87
87
  import { registry } from '@/lib/registry';
88
88
  import { auth } from '@/lib/auth';
89
89
 
@@ -92,4 +92,4 @@ const handler = makeNextAppHandler(registry, async (req) => {
92
92
  return { actor: 'user', userId: session.userId, tenantId: session.tenantId };
93
93
  });
94
94
 
95
- export { handler as GET, handler as POST };`})]}),t("div",{className:"card-subtle space-y-4 p-6",children:[e("h3",{className:"font-bold",children:"What you just built:"}),t("ul",{className:"space-y-2 text-muted-foreground text-sm",children:[t("li",{children:["Type-safe API endpoint at"," ",e("code",{children:"/api/ops/billing.capturePayment"})]}),e("li",{children:"Automatic input validation (amount must be positive, IDs required)"}),e("li",{children:"Policy enforcement—only invoice owner can pay"}),e("li",{children:"Stripe integration with error handling"}),e("li",{children:"Database transaction with audit trail"}),e("li",{children:"Same spec works with GraphQL, MCP, or webhooks"})]})]}),e("div",{className:"flex items-center gap-4 pt-4",children:t(i,{href:"/docs/getting-started/dataviews",className:"btn-primary",children:["Next: Display Data with DataViews ",e(n,{size:16})]})})]})]})}export{s as HelloWorldPage};
95
+ export { handler as GET, handler as POST };`})]}),t("div",{className:"card-subtle space-y-4 p-6",children:[e("h3",{className:"font-bold",children:"What you just built:"}),t("ul",{className:"space-y-2 text-muted-foreground text-sm",children:[t("li",{children:["Type-safe API endpoint at"," ",e("code",{children:"/api/ops/billing.capturePayment"})]}),e("li",{children:"Automatic input validation (amount must be positive, IDs required)"}),e("li",{children:"Policy enforcement—only invoice owner can pay"}),e("li",{children:"Stripe integration with error handling"}),e("li",{children:"Database transaction with audit trail"}),e("li",{children:"Same spec works with GraphQL, MCP, or webhooks"})]})]}),e("div",{className:"flex items-center gap-4 pt-4",children:t(c,{href:"/docs/getting-started/dataviews",className:"btn-primary",children:["Next: Display Data with DataViews ",e(l,{size:16})]})})]})]})}export{g as HelloWorldPage};
@@ -1,5 +1,5 @@
1
- import{CodeBlock as i,InstallCommand as t}from"@contractspec/lib.design-system";import o from"@contractspec/lib.ui-link";import{ChevronRight as c}from"lucide-react";import{jsx as e,jsxs as a}from"react/jsx-runtime";function s(){return a("div",{className:"space-y-8",children:[a("div",{className:"space-y-2",children:[e("h1",{className:"font-bold text-4xl",children:"Installation"}),e("p",{className:"text-lg text-muted-foreground",children:"Add ContractSpec to your existing Next.js or Bun project, or start fresh."})]}),a("div",{className:"space-y-6",children:[a("div",{className:"space-y-3",children:[e("h2",{className:"font-bold text-2xl",children:"Prerequisites"}),a("ul",{className:"space-y-2 text-muted-foreground",children:[e("li",{children:"Node.js 20+ (or Bun 1.0+)"}),e("li",{children:"Existing Next.js app or Bun HTTP server"}),e("li",{children:"PostgreSQL database (for persistence)"})]})]}),a("div",{className:"space-y-3",children:[e("h2",{className:"font-bold text-2xl",children:"Install Core Libraries"}),e("p",{className:"text-muted-foreground",children:"Add the contracts runtime and your choice of adapter:"}),e(t,{package:["@contractspec/lib.contracts-spec","@contractspec/lib.schema"]})]}),a("div",{className:"space-y-3",children:[e("h2",{className:"font-bold text-2xl",children:"For Next.js projects"}),e(t,{package:"@contractspec/lib.contracts-spec"})]}),a("div",{className:"space-y-3",children:[e("h2",{className:"font-bold text-2xl",children:"For database models"}),e(t,{package:["@contractspec/app.cli-database","prisma","@prisma/client"]})]}),a("div",{className:"space-y-3",children:[e("h2",{className:"font-bold text-2xl",children:"Set up your project"}),e("p",{className:"text-muted-foreground",children:"Initialize a new ContractSpec project structure:"}),e(i,{language:"bash",filename:"installation-init",code:`bunx contractspec init
2
- # Follow the interactive prompts to configure your project`})]}),a("div",{className:"space-y-3",children:[e("h2",{className:"font-bold text-2xl",children:"Initialize the database"}),e("p",{className:"text-muted-foreground",children:"If using Prisma, set up your schema and generate the client:"}),e(i,{language:"bash",filename:"installation-prisma",code:`bunx prisma init
1
+ var l=Object.defineProperty;var n=(t)=>t;function s(t,i){this[t]=n.bind(null,i)}var m=(t,i)=>{for(var o in i)l(t,o,{get:i[o],enumerable:!0,configurable:!0,set:s.bind(i,o)})};var u=(t,i)=>()=>(t&&(i=t(t=0)),i);import{CodeBlock as r,InstallCommand as c}from"@contractspec/lib.design-system";import p from"@contractspec/lib.ui-link";import{ChevronRight as d}from"lucide-react";import{jsx as e,jsxs as a}from"react/jsx-runtime";function v(){return a("div",{className:"space-y-8",children:[a("div",{className:"space-y-2",children:[e("h1",{className:"font-bold text-4xl",children:"Installation"}),e("p",{className:"text-lg text-muted-foreground",children:"Add ContractSpec to your existing Next.js or Bun project, or start fresh."})]}),a("div",{className:"space-y-6",children:[a("div",{className:"space-y-3",children:[e("h2",{className:"font-bold text-2xl",children:"Prerequisites"}),a("ul",{className:"space-y-2 text-muted-foreground",children:[e("li",{children:"Node.js 20+ (or Bun 1.0+)"}),e("li",{children:"Existing Next.js app or Bun HTTP server"}),e("li",{children:"PostgreSQL database (for persistence)"})]})]}),a("div",{className:"space-y-3",children:[e("h2",{className:"font-bold text-2xl",children:"Install Core Libraries"}),e("p",{className:"text-muted-foreground",children:"Add the contracts runtime and your choice of adapter:"}),e(c,{package:["@contractspec/lib.contracts-spec","@contractspec/lib.schema"]})]}),a("div",{className:"space-y-3",children:[e("h2",{className:"font-bold text-2xl",children:"For Next.js projects"}),e(c,{package:"@contractspec/lib.contracts-spec"})]}),a("div",{className:"space-y-3",children:[e("h2",{className:"font-bold text-2xl",children:"For database models"}),e(c,{package:["@contractspec/app.cli-database","prisma","@prisma/client"]})]}),a("div",{className:"space-y-3",children:[e("h2",{className:"font-bold text-2xl",children:"Set up your project"}),e("p",{className:"text-muted-foreground",children:"Initialize a new ContractSpec project structure:"}),e(r,{language:"bash",filename:"installation-init",code:`bunx contractspec init
2
+ # Follow the interactive prompts to configure your project`})]}),a("div",{className:"space-y-3",children:[e("h2",{className:"font-bold text-2xl",children:"Initialize the database"}),e("p",{className:"text-muted-foreground",children:"If using Prisma, set up your schema and generate the client:"}),e(r,{language:"bash",filename:"installation-prisma",code:`bunx prisma init
3
3
  # Edit prisma/schema.prisma with your models
4
4
  bunx prisma generate
5
- bunx prisma migrate dev --name init`})]}),e("div",{className:"flex items-center gap-4 pt-4",children:a(o,{href:"/docs/getting-started/hello-world",className:"btn-primary",children:["Next: First Operation ",e(c,{size:16})]})})]})]})}export{s as InstallationPage};
5
+ bunx prisma migrate dev --name init`})]}),e("div",{className:"flex items-center gap-4 pt-4",children:a(p,{href:"/docs/getting-started/hello-world",className:"btn-primary",children:["Next: First Operation ",e(d,{size:16})]})})]})]})}export{v as InstallationPage};
@@ -1,2 +1,4 @@
1
- import{CodeBlock as a,InstallCommand as o}from"@contractspec/lib.design-system";import c from"@contractspec/lib.ui-link";import{ChevronRight as l}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function s(){return t("div",{className:"space-y-8",children:[t("div",{className:"space-y-2",children:[e("h1",{className:"font-bold text-4xl",children:"Start here"}),e("p",{className:"text-lg text-muted-foreground",children:"A fast onboarding path from install to your first generated contract."})]}),t("div",{className:"space-y-6",children:[t("div",{className:"space-y-3",children:[e("h2",{className:"font-bold text-2xl",children:"Install the CLI"}),e(o,{package:"contractspec",dev:!0})]}),t("div",{className:"space-y-3",children:[e("h2",{className:"font-bold text-2xl",children:"Add core libraries"}),e(o,{package:["@contractspec/lib.contracts-spec","@contractspec/lib.schema"]})]}),t("div",{className:"space-y-3",children:[e("h2",{className:"font-bold text-2xl",children:"Initialize your project"}),e(a,{language:"bash",filename:"start-here-init",code:"bunx contractspec init"})]}),t("div",{className:"space-y-3",children:[e("h2",{className:"font-bold text-2xl",children:"Create your first contract"}),e(a,{language:"bash",filename:"start-here-create",code:"contractspec create --type operation"})]}),t("div",{className:"space-y-3",children:[e("h2",{className:"font-bold text-2xl",children:"Generate implementation"}),e(a,{language:"bash",filename:"start-here-build",code:`contractspec build src/contracts/mySpec.ts
2
- contractspec validate src/contracts/mySpec.ts`})]})]}),t("div",{className:"flex flex-wrap items-center gap-3 pt-2",children:[t(c,{href:"/docs/getting-started/hello-world",className:"btn-primary",children:["Next: Hello World ",e(l,{size:16})]}),e(c,{href:"/docs/getting-started/troubleshooting",className:"btn-ghost",children:"Troubleshooting"}),e(c,{href:"/docs/getting-started/compatibility",className:"btn-ghost",children:"Compatibility"})]})]})}export{s as StartHerePage};
1
+ var r=Object.defineProperty;var i=(t)=>t;function d(t,o){this[t]=i.bind(null,o)}var p=(t,o)=>{for(var l in o)r(t,l,{get:o[l],enumerable:!0,configurable:!0,set:d.bind(o,l)})};var h=(t,o)=>()=>(t&&(o=t(t=0)),o);import{CodeBlock as c,InstallCommand as s}from"@contractspec/lib.design-system";import n from"@contractspec/lib.ui-link";import{ChevronRight as m}from"lucide-react";import{jsx as e,jsxs as a}from"react/jsx-runtime";function N(){return a("div",{className:"space-y-8",children:[a("div",{className:"space-y-2",children:[e("h1",{className:"font-bold text-4xl",children:"Start here"}),e("p",{className:"text-lg text-muted-foreground",children:"A fast onboarding path from install to your first generated contract."})]}),a("div",{className:"space-y-6",children:[a("div",{className:"space-y-3",children:[e("h2",{className:"font-bold text-2xl",children:"Install the CLI"}),e(s,{package:"contractspec",dev:!0})]}),a("div",{className:"space-y-3",children:[e("h2",{className:"font-bold text-2xl",children:"Generate repo-local guidance"}),e(c,{language:"bash",filename:"start-here-onboard",code:`contractspec onboard
2
+ # optional focused track
3
+ contractspec onboard knowledge --example knowledge-canon`})]}),a("div",{className:"space-y-3",children:[e("h2",{className:"font-bold text-2xl",children:"Initialize your project"}),e(c,{language:"bash",filename:"start-here-init",code:"bunx contractspec init"})]}),a("div",{className:"space-y-3",children:[e("h2",{className:"font-bold text-2xl",children:"Author your first contract"}),e(c,{language:"bash",filename:"start-here-create",code:"contractspec create --type operation"})]}),a("div",{className:"space-y-3",children:[e("h2",{className:"font-bold text-2xl",children:"Generate implementation"}),e(c,{language:"bash",filename:"start-here-build",code:`contractspec generate
4
+ contractspec validate`})]})]}),a("div",{className:"flex flex-wrap items-center gap-3 pt-2",children:[a(n,{href:"/docs/getting-started/hello-world",className:"btn-primary",children:["Next: Hello World ",e(m,{size:16})]}),e(n,{href:"/docs/getting-started/troubleshooting",className:"btn-ghost",children:"Troubleshooting"}),e(n,{href:"/docs/getting-started/compatibility",className:"btn-ghost",children:"Compatibility"})]})]})}export{N as StartHerePage};
@@ -1,3 +1,3 @@
1
- import{CodeBlock as i}from"@contractspec/lib.design-system";import a from"@contractspec/lib.ui-link";import{ChevronRight as l}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function r(){return t("div",{className:"space-y-8",children:[t("div",{className:"space-y-2",children:[e("h1",{className:"font-bold text-4xl",children:"Troubleshooting"}),e("p",{className:"text-lg text-muted-foreground",children:"Common issues and fixes when installing or generating with ContractSpec."})]}),t("div",{className:"space-y-6",children:[t("div",{className:"card-subtle space-y-3 p-6",children:[e("h2",{className:"font-bold text-2xl",children:"Command not found"}),t("ul",{className:"space-y-2 text-muted-foreground",children:[e("li",{children:"Reinstall the CLI and ensure it is in your PATH."}),e("li",{children:"Confirm Node.js 20+ or Bun 1.0+ is installed."})]})]}),t("div",{className:"card-subtle space-y-3 p-6",children:[e("h2",{className:"font-bold text-2xl",children:"Specs not discovered"}),t("ul",{className:"space-y-2 text-muted-foreground",children:[t("li",{children:["Run ",e("code",{children:"contractspec list"})," to see discovered specs."]}),e("li",{children:"Verify your spec path conventions in .contractsrc.json."})]})]}),t("div",{className:"card-subtle space-y-3 p-6",children:[e("h2",{className:"font-bold text-2xl",children:"Build or validate fails"}),t("ul",{className:"space-y-2 text-muted-foreground",children:[t("li",{children:["Run ",e("code",{children:"contractspec validate"})," to surface schema errors."]}),e("li",{children:"Check that generated files were not manually edited."})]})]}),t("div",{className:"space-y-3",children:[e("h2",{className:"font-bold text-2xl",children:"Diagnostics"}),e(i,{language:"bash",filename:"troubleshooting-diagnostics",code:`contractspec --version
1
+ var c=Object.defineProperty;var n=(a)=>a;function r(a,i){this[a]=n.bind(null,i)}var m=(a,i)=>{for(var l in i)c(a,l,{get:i[l],enumerable:!0,configurable:!0,set:r.bind(i,l)})};var p=(a,i)=>()=>(a&&(i=a(a=0)),i);import{CodeBlock as d}from"@contractspec/lib.design-system";import o from"@contractspec/lib.ui-link";import{ChevronRight as s}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function v(){return t("div",{className:"space-y-8",children:[t("div",{className:"space-y-2",children:[e("h1",{className:"font-bold text-4xl",children:"Troubleshooting"}),e("p",{className:"text-lg text-muted-foreground",children:"Common issues and fixes when installing or generating with ContractSpec."})]}),t("div",{className:"space-y-6",children:[t("div",{className:"card-subtle space-y-3 p-6",children:[e("h2",{className:"font-bold text-2xl",children:"Command not found"}),t("ul",{className:"space-y-2 text-muted-foreground",children:[e("li",{children:"Reinstall the CLI and ensure it is in your PATH."}),e("li",{children:"Confirm Node.js 20+ or Bun 1.0+ is installed."})]})]}),t("div",{className:"card-subtle space-y-3 p-6",children:[e("h2",{className:"font-bold text-2xl",children:"Specs not discovered"}),t("ul",{className:"space-y-2 text-muted-foreground",children:[t("li",{children:["Run ",e("code",{children:"contractspec list"})," to see discovered specs."]}),e("li",{children:"Verify your spec path conventions in .contractsrc.json."})]})]}),t("div",{className:"card-subtle space-y-3 p-6",children:[e("h2",{className:"font-bold text-2xl",children:"Build or validate fails"}),t("ul",{className:"space-y-2 text-muted-foreground",children:[t("li",{children:["Run ",e("code",{children:"contractspec validate"})," to surface schema errors."]}),e("li",{children:"Check that generated files were not manually edited."})]})]}),t("div",{className:"space-y-3",children:[e("h2",{className:"font-bold text-2xl",children:"Diagnostics"}),e(d,{language:"bash",filename:"troubleshooting-diagnostics",code:`contractspec --version
2
2
  contractspec list
3
- contractspec validate src/contracts/mySpec.ts`})]}),t("div",{className:"card-subtle space-y-3 p-6",children:[e("h2",{className:"font-bold text-2xl",children:"Still blocked?"}),t("ul",{className:"space-y-2 text-muted-foreground",children:[e("li",{children:"Confirm compatibility requirements for runtime and framework."}),e("li",{children:"Re-run builds on a clean branch to isolate changes."}),e("li",{children:"Use a new spec and minimal adapter to validate setup."})]})]})]}),t("div",{className:"flex flex-wrap items-center gap-3 pt-2",children:[e(a,{href:"/docs/getting-started/start-here",className:"btn-ghost",children:"Start here"}),e(a,{href:"/docs/getting-started/compatibility",className:"btn-ghost",children:"Compatibility"}),t(a,{href:"/docs/getting-started/installation",className:"btn-primary",children:["Next: Installation ",e(l,{size:16})]})]})]})}export{r as TroubleshootingPage};
3
+ contractspec validate src/contracts/mySpec.ts`})]}),t("div",{className:"card-subtle space-y-3 p-6",children:[e("h2",{className:"font-bold text-2xl",children:"Still blocked?"}),t("ul",{className:"space-y-2 text-muted-foreground",children:[e("li",{children:"Confirm compatibility requirements for runtime and framework."}),e("li",{children:"Re-run builds on a clean branch to isolate changes."}),e("li",{children:"Use a new spec and minimal adapter to validate setup."})]})]})]}),t("div",{className:"flex flex-wrap items-center gap-3 pt-2",children:[e(o,{href:"/docs/getting-started/start-here",className:"btn-ghost",children:"Start here"}),e(o,{href:"/docs/getting-started/compatibility",className:"btn-ghost",children:"Compatibility"}),t(o,{href:"/docs/getting-started/installation",className:"btn-primary",children:["Next: Installation ",e(s,{size:16})]})]})]})}export{v as TroubleshootingPage};