@contractspec/bundle.library 3.4.2 → 3.5.0

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 (479) hide show
  1. package/.turbo/turbo-build.log +494 -488
  2. package/CHANGELOG.md +61 -0
  3. package/dist/application/index.js +8 -8
  4. package/dist/application/mcp/cliMcp.js +8 -8
  5. package/dist/application/mcp/contractsMcp.js +8 -8
  6. package/dist/application/mcp/docsMcp.js +8 -8
  7. package/dist/application/mcp/index.js +8 -8
  8. package/dist/application/mcp/internalMcp.js +8 -8
  9. package/dist/application/mcp/providerRankingMcp.js +8 -8
  10. package/dist/bundles/LibraryBundle.d.ts +126 -0
  11. package/dist/bundles/LibraryBundle.js +139 -0
  12. package/dist/bundles/index.d.ts +1 -0
  13. package/dist/bundles/index.js +139 -0
  14. package/dist/components/docs/DocsIndexPage.js +91 -91
  15. package/dist/components/docs/advanced/AdvancedMCPPage.js +125 -125
  16. package/dist/components/docs/advanced/AdvancedOverlayEditorPage.js +49 -49
  17. package/dist/components/docs/advanced/AdvancedRenderersPage.js +51 -51
  18. package/dist/components/docs/advanced/AdvancedSpecExperimentsPage.js +35 -35
  19. package/dist/components/docs/advanced/AdvancedTelemetryPage.js +177 -177
  20. package/dist/components/docs/advanced/AdvancedWorkflowMonitoringPage.js +45 -45
  21. package/dist/components/docs/advanced/index.js +482 -482
  22. package/dist/components/docs/architecture/ArchitectureAppConfigPage.js +107 -107
  23. package/dist/components/docs/architecture/ArchitectureControlPlanePage.js +73 -73
  24. package/dist/components/docs/architecture/ArchitectureIntegrationBindingPage.js +117 -117
  25. package/dist/components/docs/architecture/ArchitectureKnowledgeBindingPage.js +175 -175
  26. package/dist/components/docs/architecture/ArchitectureMultiTenancyPage.js +71 -71
  27. package/dist/components/docs/architecture/ArchitectureOverviewPage.js +205 -205
  28. package/dist/components/docs/architecture/index.js +748 -748
  29. package/dist/components/docs/comparison/ComparisonAutomationPlatformsPage.js +117 -117
  30. package/dist/components/docs/comparison/ComparisonEnterprisePlatformsPage.js +111 -111
  31. package/dist/components/docs/comparison/ComparisonInternalToolBuildersPage.js +117 -117
  32. package/dist/components/docs/comparison/ComparisonOverviewPage.js +97 -97
  33. package/dist/components/docs/comparison/ComparisonWindmillPage.js +125 -125
  34. package/dist/components/docs/comparison/ComparisonWorkflowEnginesPage.js +171 -171
  35. package/dist/components/docs/comparison/index.js +738 -738
  36. package/dist/components/docs/ecosystem/IntegrationsPage.js +45 -45
  37. package/dist/components/docs/ecosystem/PluginsPage.js +73 -73
  38. package/dist/components/docs/ecosystem/RegistryPage.js +37 -37
  39. package/dist/components/docs/ecosystem/TemplatesPage.js +56 -56
  40. package/dist/components/docs/ecosystem/index.js +211 -211
  41. package/dist/components/docs/examples/DocsExamplesPage.js +21 -21
  42. package/dist/components/docs/examples/index.js +21 -21
  43. package/dist/components/docs/getting-started/CLIPage.js +95 -95
  44. package/dist/components/docs/getting-started/CompatibilityPage.js +81 -81
  45. package/dist/components/docs/getting-started/DataViewTutorialPage.js +57 -57
  46. package/dist/components/docs/getting-started/DeveloperToolsPage.js +61 -61
  47. package/dist/components/docs/getting-started/HelloWorldPage.js +77 -77
  48. package/dist/components/docs/getting-started/InstallationPage.js +65 -65
  49. package/dist/components/docs/getting-started/StartHerePage.js +51 -51
  50. package/dist/components/docs/getting-started/TroubleshootingPage.js +73 -73
  51. package/dist/components/docs/getting-started/VSCodeExtensionPage.js +171 -171
  52. package/dist/components/docs/getting-started/index.js +731 -731
  53. package/dist/components/docs/guides/GuideCIDiffGatingPage.js +80 -80
  54. package/dist/components/docs/guides/GuideContractTypesPage.js +232 -232
  55. package/dist/components/docs/guides/GuideDocsPipelinePage.js +82 -82
  56. package/dist/components/docs/guides/GuideGenerateDocsClientsSchemasPage.js +84 -84
  57. package/dist/components/docs/guides/GuideImportExistingCodebasesPage.js +324 -324
  58. package/dist/components/docs/guides/GuideNextjsOneEndpointPage.js +106 -106
  59. package/dist/components/docs/guides/GuideSpecValidationTypingPage.js +78 -78
  60. package/dist/components/docs/guides/GuidesIndexPage.js +43 -43
  61. package/dist/components/docs/guides/index.js +975 -975
  62. package/dist/components/docs/index.js +10791 -10791
  63. package/dist/components/docs/integrations/IntegrationsCircuitBreakersPage.js +17 -17
  64. package/dist/components/docs/integrations/IntegrationsElevenLabsPage.js +47 -47
  65. package/dist/components/docs/integrations/IntegrationsGithubPage.js +61 -61
  66. package/dist/components/docs/integrations/IntegrationsGmailPage.js +49 -49
  67. package/dist/components/docs/integrations/IntegrationsGoogleCalendarPage.js +33 -33
  68. package/dist/components/docs/integrations/IntegrationsHealthRoutingPage.js +65 -65
  69. package/dist/components/docs/integrations/IntegrationsMistralPage.js +69 -69
  70. package/dist/components/docs/integrations/IntegrationsOpenAIPage.js +65 -65
  71. package/dist/components/docs/integrations/IntegrationsOverviewPage.js +313 -313
  72. package/dist/components/docs/integrations/IntegrationsPostmarkPage.js +101 -101
  73. package/dist/components/docs/integrations/IntegrationsPowensPage.js +121 -121
  74. package/dist/components/docs/integrations/IntegrationsQdrantPage.js +49 -49
  75. package/dist/components/docs/integrations/IntegrationsResendPage.js +45 -45
  76. package/dist/components/docs/integrations/IntegrationsS3Page.js +57 -57
  77. package/dist/components/docs/integrations/IntegrationsSlackPage.js +63 -63
  78. package/dist/components/docs/integrations/IntegrationsSpecModelPage.js +139 -139
  79. package/dist/components/docs/integrations/IntegrationsStripePage.js +159 -159
  80. package/dist/components/docs/integrations/IntegrationsTwilioPage.js +61 -61
  81. package/dist/components/docs/integrations/IntegrationsWhatsappMetaPage.js +63 -63
  82. package/dist/components/docs/integrations/IntegrationsWhatsappTwilioPage.js +65 -65
  83. package/dist/components/docs/integrations/index.js +1642 -1642
  84. package/dist/components/docs/intent/ContractFirstApiPage.js +51 -51
  85. package/dist/components/docs/intent/DeterministicCodegenPage.js +59 -59
  86. package/dist/components/docs/intent/GenerateClientFromSchemaPage.js +85 -85
  87. package/dist/components/docs/intent/OpenapiAlternativePage.js +91 -91
  88. package/dist/components/docs/intent/SchemaValidationTypescriptPage.js +59 -59
  89. package/dist/components/docs/intent/SpecDrivenDevelopmentPage.js +51 -51
  90. package/dist/components/docs/intent/index.js +396 -396
  91. package/dist/components/docs/knowledge/KnowledgeCategoriesPage.js +371 -371
  92. package/dist/components/docs/knowledge/KnowledgeExamplesPage.js +79 -79
  93. package/dist/components/docs/knowledge/KnowledgeOverviewPage.js +185 -185
  94. package/dist/components/docs/knowledge/KnowledgeSourcesPage.js +187 -187
  95. package/dist/components/docs/knowledge/KnowledgeSpacesPage.js +141 -141
  96. package/dist/components/docs/knowledge/index.js +963 -963
  97. package/dist/components/docs/libraries/LibrariesAccessibilityPage.js +85 -85
  98. package/dist/components/docs/libraries/LibrariesAiAgentPage.js +63 -63
  99. package/dist/components/docs/libraries/LibrariesAnalyticsPage.js +33 -33
  100. package/dist/components/docs/libraries/LibrariesContentGenPage.js +43 -43
  101. package/dist/components/docs/libraries/LibrariesContractsPage.js +125 -125
  102. package/dist/components/docs/libraries/LibrariesCostTrackingPage.js +45 -45
  103. package/dist/components/docs/libraries/LibrariesDataBackendPage.js +69 -69
  104. package/dist/components/docs/libraries/LibrariesDataViewsPage.js +79 -79
  105. package/dist/components/docs/libraries/LibrariesDesignSystemPage.js +129 -129
  106. package/dist/components/docs/libraries/LibrariesEvolutionPage.js +49 -49
  107. package/dist/components/docs/libraries/LibrariesGraphQLPage.js +73 -73
  108. package/dist/components/docs/libraries/LibrariesGrowthPage.js +35 -35
  109. package/dist/components/docs/libraries/LibrariesMultiTenancyPage.js +43 -43
  110. package/dist/components/docs/libraries/LibrariesObservabilityPage.js +53 -53
  111. package/dist/components/docs/libraries/LibrariesOverlayEnginePage.js +45 -45
  112. package/dist/components/docs/libraries/LibrariesOverviewPage.js +191 -191
  113. package/dist/components/docs/libraries/LibrariesPersonalizationPage.js +47 -47
  114. package/dist/components/docs/libraries/LibrariesProgressiveDeliveryPage.js +53 -53
  115. package/dist/components/docs/libraries/LibrariesResiliencePage.js +49 -49
  116. package/dist/components/docs/libraries/LibrariesRuntimePage.js +87 -87
  117. package/dist/components/docs/libraries/LibrariesSLOPage.js +47 -47
  118. package/dist/components/docs/libraries/LibrariesSchemaPage.js +139 -139
  119. package/dist/components/docs/libraries/LibrariesSupportBotPage.js +57 -57
  120. package/dist/components/docs/libraries/LibrariesTestingPage.js +49 -49
  121. package/dist/components/docs/libraries/LibrariesUIKitPage.js +107 -107
  122. package/dist/components/docs/libraries/LibrariesWorkflowComposerPage.js +35 -35
  123. package/dist/components/docs/libraries/LibrariesWorkflowsPage.js +89 -89
  124. package/dist/components/docs/libraries/index.js +1919 -1919
  125. package/dist/components/docs/manifesto/ManifestoPage.js +79 -79
  126. package/dist/components/docs/ops/AutoEvolutionOpsPage.js +59 -59
  127. package/dist/components/docs/ops/DistributedTracingOpsPage.js +33 -33
  128. package/dist/components/docs/ops/index.js +92 -92
  129. package/dist/components/docs/reference/DocsMarkdownContent.js +27 -27
  130. package/dist/components/docs/reference/DocsReferenceContent.js +34 -34
  131. package/dist/components/docs/reference/DocsReferenceIndexClient.js +23 -23
  132. package/dist/components/docs/reference/DocsReferenceIndexPage.js +26 -26
  133. package/dist/components/docs/reference/DocsReferencePage.js +37 -37
  134. package/dist/components/docs/reference/index.js +63 -63
  135. package/dist/components/docs/safety/SafetyAuditingPage.js +161 -161
  136. package/dist/components/docs/safety/SafetyMigrationsPage.js +169 -169
  137. package/dist/components/docs/safety/SafetyOverviewPage.js +99 -99
  138. package/dist/components/docs/safety/SafetyPDPPage.js +137 -137
  139. package/dist/components/docs/safety/SafetySecurityTrustPage.js +95 -95
  140. package/dist/components/docs/safety/SafetySigningPage.js +39 -39
  141. package/dist/components/docs/safety/SafetyTenantIsolationPage.js +33 -33
  142. package/dist/components/docs/safety/index.js +733 -733
  143. package/dist/components/docs/shared/StudioPrompt.js +9 -9
  144. package/dist/components/docs/specs/SpecsCapabilitiesPage.js +61 -61
  145. package/dist/components/docs/specs/SpecsDataViewsPage.js +119 -119
  146. package/dist/components/docs/specs/SpecsOverlaysPage.js +171 -171
  147. package/dist/components/docs/specs/SpecsOverviewPage.js +167 -167
  148. package/dist/components/docs/specs/SpecsPolicyPage.js +179 -179
  149. package/dist/components/docs/specs/SpecsWorkflowsPage.js +141 -141
  150. package/dist/components/docs/specs/index.js +838 -838
  151. package/dist/components/docs/studio/StudioBYOKPage.js +9 -9
  152. package/dist/components/docs/studio/StudioDeploymentsPage.js +9 -9
  153. package/dist/components/docs/studio/StudioGettingStartedPage.js +9 -9
  154. package/dist/components/docs/studio/StudioIntegrationsPage.js +9 -9
  155. package/dist/components/docs/studio/StudioOverviewPage.js +33 -33
  156. package/dist/components/docs/studio/StudioVisualBuilderPage.js +9 -9
  157. package/dist/components/docs/studio/index.js +78 -78
  158. package/dist/components/integrations/index.js +209 -209
  159. package/dist/components/integrations/molecules/IntegrationCard.js +33 -33
  160. package/dist/components/integrations/organisms/IntegrationMarketplace.js +71 -71
  161. package/dist/components/integrations/organisms/IntegrationSettings.js +98 -98
  162. package/dist/components/integrations/organisms/KnowledgeSourceList.js +40 -40
  163. package/dist/components/legal/PrivacyTemplate.js +477 -477
  164. package/dist/components/legal/TermsTemplate.js +421 -421
  165. package/dist/components/legal/index.js +898 -898
  166. package/dist/components/shared/FeatureGateNotice.js +13 -13
  167. package/dist/components/shared/index.js +13 -13
  168. package/dist/components/shell/WorkspaceHeader.js +37 -37
  169. package/dist/components/shell/WorkspaceProjectShellLayout.js +77 -77
  170. package/dist/components/shell/WorkspaceShellRenderer.d.ts +17 -0
  171. package/dist/components/shell/WorkspaceShellRenderer.js +229 -0
  172. package/dist/components/shell/WorkspaceSidebar.js +27 -27
  173. package/dist/components/shell/index.d.ts +1 -0
  174. package/dist/components/shell/index.js +140 -77
  175. package/dist/components/templates/index.js +272 -272
  176. package/dist/components/templates/messaging/ConversationList.js +27 -27
  177. package/dist/components/templates/messaging/MessageComposer.js +27 -27
  178. package/dist/components/templates/messaging/MessageThread.js +18 -18
  179. package/dist/components/templates/messaging/MessagingWorkspace.js +65 -65
  180. package/dist/components/templates/messaging/index.js +65 -65
  181. package/dist/components/templates/recipes/LanguageSwitcher.js +5 -5
  182. package/dist/components/templates/recipes/RecipeCard.js +26 -26
  183. package/dist/components/templates/recipes/RecipeDetail.js +33 -33
  184. package/dist/components/templates/recipes/RecipeList.js +80 -80
  185. package/dist/components/templates/recipes/index.js +80 -80
  186. package/dist/components/templates/todos/FilterBar.js +39 -39
  187. package/dist/components/templates/todos/TaskForm.js +43 -43
  188. package/dist/components/templates/todos/TaskItem.js +30 -30
  189. package/dist/components/templates/todos/TaskList.js +127 -127
  190. package/dist/components/templates/todos/index.js +127 -127
  191. package/dist/index.js +12323 -12260
  192. package/dist/infrastructure/elysia/index.js +8 -8
  193. package/dist/infrastructure/elysia/logger.js +8 -8
  194. package/dist/infrastructure/index.js +8 -8
  195. package/dist/libs/posthog/client.js +2 -2
  196. package/dist/node/application/index.js +8 -8
  197. package/dist/node/application/mcp/cliMcp.js +8 -8
  198. package/dist/node/application/mcp/contractsMcp.js +8 -8
  199. package/dist/node/application/mcp/docsMcp.js +8 -8
  200. package/dist/node/application/mcp/index.js +8 -8
  201. package/dist/node/application/mcp/internalMcp.js +8 -8
  202. package/dist/node/application/mcp/providerRankingMcp.js +8 -8
  203. package/dist/node/bundles/LibraryBundle.js +138 -0
  204. package/dist/node/bundles/index.js +138 -0
  205. package/dist/node/components/docs/DocsIndexPage.js +91 -91
  206. package/dist/node/components/docs/advanced/AdvancedMCPPage.js +125 -125
  207. package/dist/node/components/docs/advanced/AdvancedOverlayEditorPage.js +49 -49
  208. package/dist/node/components/docs/advanced/AdvancedRenderersPage.js +51 -51
  209. package/dist/node/components/docs/advanced/AdvancedSpecExperimentsPage.js +35 -35
  210. package/dist/node/components/docs/advanced/AdvancedTelemetryPage.js +177 -177
  211. package/dist/node/components/docs/advanced/AdvancedWorkflowMonitoringPage.js +45 -45
  212. package/dist/node/components/docs/advanced/index.js +482 -482
  213. package/dist/node/components/docs/architecture/ArchitectureAppConfigPage.js +107 -107
  214. package/dist/node/components/docs/architecture/ArchitectureControlPlanePage.js +73 -73
  215. package/dist/node/components/docs/architecture/ArchitectureIntegrationBindingPage.js +117 -117
  216. package/dist/node/components/docs/architecture/ArchitectureKnowledgeBindingPage.js +175 -175
  217. package/dist/node/components/docs/architecture/ArchitectureMultiTenancyPage.js +71 -71
  218. package/dist/node/components/docs/architecture/ArchitectureOverviewPage.js +205 -205
  219. package/dist/node/components/docs/architecture/index.js +748 -748
  220. package/dist/node/components/docs/comparison/ComparisonAutomationPlatformsPage.js +117 -117
  221. package/dist/node/components/docs/comparison/ComparisonEnterprisePlatformsPage.js +111 -111
  222. package/dist/node/components/docs/comparison/ComparisonInternalToolBuildersPage.js +117 -117
  223. package/dist/node/components/docs/comparison/ComparisonOverviewPage.js +97 -97
  224. package/dist/node/components/docs/comparison/ComparisonWindmillPage.js +125 -125
  225. package/dist/node/components/docs/comparison/ComparisonWorkflowEnginesPage.js +171 -171
  226. package/dist/node/components/docs/comparison/index.js +738 -738
  227. package/dist/node/components/docs/ecosystem/IntegrationsPage.js +45 -45
  228. package/dist/node/components/docs/ecosystem/PluginsPage.js +73 -73
  229. package/dist/node/components/docs/ecosystem/RegistryPage.js +37 -37
  230. package/dist/node/components/docs/ecosystem/TemplatesPage.js +56 -56
  231. package/dist/node/components/docs/ecosystem/index.js +211 -211
  232. package/dist/node/components/docs/examples/DocsExamplesPage.js +21 -21
  233. package/dist/node/components/docs/examples/index.js +21 -21
  234. package/dist/node/components/docs/getting-started/CLIPage.js +95 -95
  235. package/dist/node/components/docs/getting-started/CompatibilityPage.js +81 -81
  236. package/dist/node/components/docs/getting-started/DataViewTutorialPage.js +57 -57
  237. package/dist/node/components/docs/getting-started/DeveloperToolsPage.js +61 -61
  238. package/dist/node/components/docs/getting-started/HelloWorldPage.js +77 -77
  239. package/dist/node/components/docs/getting-started/InstallationPage.js +65 -65
  240. package/dist/node/components/docs/getting-started/StartHerePage.js +51 -51
  241. package/dist/node/components/docs/getting-started/TroubleshootingPage.js +73 -73
  242. package/dist/node/components/docs/getting-started/VSCodeExtensionPage.js +171 -171
  243. package/dist/node/components/docs/getting-started/index.js +731 -731
  244. package/dist/node/components/docs/guides/GuideCIDiffGatingPage.js +80 -80
  245. package/dist/node/components/docs/guides/GuideContractTypesPage.js +232 -232
  246. package/dist/node/components/docs/guides/GuideDocsPipelinePage.js +82 -82
  247. package/dist/node/components/docs/guides/GuideGenerateDocsClientsSchemasPage.js +84 -84
  248. package/dist/node/components/docs/guides/GuideImportExistingCodebasesPage.js +324 -324
  249. package/dist/node/components/docs/guides/GuideNextjsOneEndpointPage.js +106 -106
  250. package/dist/node/components/docs/guides/GuideSpecValidationTypingPage.js +78 -78
  251. package/dist/node/components/docs/guides/GuidesIndexPage.js +43 -43
  252. package/dist/node/components/docs/guides/index.js +975 -975
  253. package/dist/node/components/docs/index.js +10791 -10791
  254. package/dist/node/components/docs/integrations/IntegrationsCircuitBreakersPage.js +17 -17
  255. package/dist/node/components/docs/integrations/IntegrationsElevenLabsPage.js +47 -47
  256. package/dist/node/components/docs/integrations/IntegrationsGithubPage.js +61 -61
  257. package/dist/node/components/docs/integrations/IntegrationsGmailPage.js +49 -49
  258. package/dist/node/components/docs/integrations/IntegrationsGoogleCalendarPage.js +33 -33
  259. package/dist/node/components/docs/integrations/IntegrationsHealthRoutingPage.js +65 -65
  260. package/dist/node/components/docs/integrations/IntegrationsMistralPage.js +69 -69
  261. package/dist/node/components/docs/integrations/IntegrationsOpenAIPage.js +65 -65
  262. package/dist/node/components/docs/integrations/IntegrationsOverviewPage.js +313 -313
  263. package/dist/node/components/docs/integrations/IntegrationsPostmarkPage.js +101 -101
  264. package/dist/node/components/docs/integrations/IntegrationsPowensPage.js +121 -121
  265. package/dist/node/components/docs/integrations/IntegrationsQdrantPage.js +49 -49
  266. package/dist/node/components/docs/integrations/IntegrationsResendPage.js +45 -45
  267. package/dist/node/components/docs/integrations/IntegrationsS3Page.js +57 -57
  268. package/dist/node/components/docs/integrations/IntegrationsSlackPage.js +63 -63
  269. package/dist/node/components/docs/integrations/IntegrationsSpecModelPage.js +139 -139
  270. package/dist/node/components/docs/integrations/IntegrationsStripePage.js +159 -159
  271. package/dist/node/components/docs/integrations/IntegrationsTwilioPage.js +61 -61
  272. package/dist/node/components/docs/integrations/IntegrationsWhatsappMetaPage.js +63 -63
  273. package/dist/node/components/docs/integrations/IntegrationsWhatsappTwilioPage.js +65 -65
  274. package/dist/node/components/docs/integrations/index.js +1642 -1642
  275. package/dist/node/components/docs/intent/ContractFirstApiPage.js +51 -51
  276. package/dist/node/components/docs/intent/DeterministicCodegenPage.js +59 -59
  277. package/dist/node/components/docs/intent/GenerateClientFromSchemaPage.js +85 -85
  278. package/dist/node/components/docs/intent/OpenapiAlternativePage.js +91 -91
  279. package/dist/node/components/docs/intent/SchemaValidationTypescriptPage.js +59 -59
  280. package/dist/node/components/docs/intent/SpecDrivenDevelopmentPage.js +51 -51
  281. package/dist/node/components/docs/intent/index.js +396 -396
  282. package/dist/node/components/docs/knowledge/KnowledgeCategoriesPage.js +371 -371
  283. package/dist/node/components/docs/knowledge/KnowledgeExamplesPage.js +79 -79
  284. package/dist/node/components/docs/knowledge/KnowledgeOverviewPage.js +185 -185
  285. package/dist/node/components/docs/knowledge/KnowledgeSourcesPage.js +187 -187
  286. package/dist/node/components/docs/knowledge/KnowledgeSpacesPage.js +141 -141
  287. package/dist/node/components/docs/knowledge/index.js +963 -963
  288. package/dist/node/components/docs/libraries/LibrariesAccessibilityPage.js +85 -85
  289. package/dist/node/components/docs/libraries/LibrariesAiAgentPage.js +63 -63
  290. package/dist/node/components/docs/libraries/LibrariesAnalyticsPage.js +33 -33
  291. package/dist/node/components/docs/libraries/LibrariesContentGenPage.js +43 -43
  292. package/dist/node/components/docs/libraries/LibrariesContractsPage.js +125 -125
  293. package/dist/node/components/docs/libraries/LibrariesCostTrackingPage.js +45 -45
  294. package/dist/node/components/docs/libraries/LibrariesDataBackendPage.js +69 -69
  295. package/dist/node/components/docs/libraries/LibrariesDataViewsPage.js +79 -79
  296. package/dist/node/components/docs/libraries/LibrariesDesignSystemPage.js +129 -129
  297. package/dist/node/components/docs/libraries/LibrariesEvolutionPage.js +49 -49
  298. package/dist/node/components/docs/libraries/LibrariesGraphQLPage.js +73 -73
  299. package/dist/node/components/docs/libraries/LibrariesGrowthPage.js +35 -35
  300. package/dist/node/components/docs/libraries/LibrariesMultiTenancyPage.js +43 -43
  301. package/dist/node/components/docs/libraries/LibrariesObservabilityPage.js +53 -53
  302. package/dist/node/components/docs/libraries/LibrariesOverlayEnginePage.js +45 -45
  303. package/dist/node/components/docs/libraries/LibrariesOverviewPage.js +191 -191
  304. package/dist/node/components/docs/libraries/LibrariesPersonalizationPage.js +47 -47
  305. package/dist/node/components/docs/libraries/LibrariesProgressiveDeliveryPage.js +53 -53
  306. package/dist/node/components/docs/libraries/LibrariesResiliencePage.js +49 -49
  307. package/dist/node/components/docs/libraries/LibrariesRuntimePage.js +87 -87
  308. package/dist/node/components/docs/libraries/LibrariesSLOPage.js +47 -47
  309. package/dist/node/components/docs/libraries/LibrariesSchemaPage.js +139 -139
  310. package/dist/node/components/docs/libraries/LibrariesSupportBotPage.js +57 -57
  311. package/dist/node/components/docs/libraries/LibrariesTestingPage.js +49 -49
  312. package/dist/node/components/docs/libraries/LibrariesUIKitPage.js +107 -107
  313. package/dist/node/components/docs/libraries/LibrariesWorkflowComposerPage.js +35 -35
  314. package/dist/node/components/docs/libraries/LibrariesWorkflowsPage.js +89 -89
  315. package/dist/node/components/docs/libraries/index.js +1919 -1919
  316. package/dist/node/components/docs/manifesto/ManifestoPage.js +79 -79
  317. package/dist/node/components/docs/ops/AutoEvolutionOpsPage.js +59 -59
  318. package/dist/node/components/docs/ops/DistributedTracingOpsPage.js +33 -33
  319. package/dist/node/components/docs/ops/index.js +92 -92
  320. package/dist/node/components/docs/reference/DocsMarkdownContent.js +27 -27
  321. package/dist/node/components/docs/reference/DocsReferenceContent.js +34 -34
  322. package/dist/node/components/docs/reference/DocsReferenceIndexClient.js +23 -23
  323. package/dist/node/components/docs/reference/DocsReferenceIndexPage.js +26 -26
  324. package/dist/node/components/docs/reference/DocsReferencePage.js +37 -37
  325. package/dist/node/components/docs/reference/index.js +63 -63
  326. package/dist/node/components/docs/safety/SafetyAuditingPage.js +161 -161
  327. package/dist/node/components/docs/safety/SafetyMigrationsPage.js +169 -169
  328. package/dist/node/components/docs/safety/SafetyOverviewPage.js +99 -99
  329. package/dist/node/components/docs/safety/SafetyPDPPage.js +137 -137
  330. package/dist/node/components/docs/safety/SafetySecurityTrustPage.js +95 -95
  331. package/dist/node/components/docs/safety/SafetySigningPage.js +39 -39
  332. package/dist/node/components/docs/safety/SafetyTenantIsolationPage.js +33 -33
  333. package/dist/node/components/docs/safety/index.js +733 -733
  334. package/dist/node/components/docs/shared/StudioPrompt.js +9 -9
  335. package/dist/node/components/docs/specs/SpecsCapabilitiesPage.js +61 -61
  336. package/dist/node/components/docs/specs/SpecsDataViewsPage.js +119 -119
  337. package/dist/node/components/docs/specs/SpecsOverlaysPage.js +171 -171
  338. package/dist/node/components/docs/specs/SpecsOverviewPage.js +167 -167
  339. package/dist/node/components/docs/specs/SpecsPolicyPage.js +179 -179
  340. package/dist/node/components/docs/specs/SpecsWorkflowsPage.js +141 -141
  341. package/dist/node/components/docs/specs/index.js +838 -838
  342. package/dist/node/components/docs/studio/StudioBYOKPage.js +9 -9
  343. package/dist/node/components/docs/studio/StudioDeploymentsPage.js +9 -9
  344. package/dist/node/components/docs/studio/StudioGettingStartedPage.js +9 -9
  345. package/dist/node/components/docs/studio/StudioIntegrationsPage.js +9 -9
  346. package/dist/node/components/docs/studio/StudioOverviewPage.js +33 -33
  347. package/dist/node/components/docs/studio/StudioVisualBuilderPage.js +9 -9
  348. package/dist/node/components/docs/studio/index.js +78 -78
  349. package/dist/node/components/integrations/index.js +209 -209
  350. package/dist/node/components/integrations/molecules/IntegrationCard.js +33 -33
  351. package/dist/node/components/integrations/organisms/IntegrationMarketplace.js +71 -71
  352. package/dist/node/components/integrations/organisms/IntegrationSettings.js +98 -98
  353. package/dist/node/components/integrations/organisms/KnowledgeSourceList.js +40 -40
  354. package/dist/node/components/legal/PrivacyTemplate.js +477 -477
  355. package/dist/node/components/legal/TermsTemplate.js +421 -421
  356. package/dist/node/components/legal/index.js +898 -898
  357. package/dist/node/components/shared/FeatureGateNotice.js +13 -13
  358. package/dist/node/components/shared/index.js +13 -13
  359. package/dist/node/components/shell/WorkspaceHeader.js +37 -37
  360. package/dist/node/components/shell/WorkspaceProjectShellLayout.js +77 -77
  361. package/dist/node/components/shell/WorkspaceShellRenderer.js +228 -0
  362. package/dist/node/components/shell/WorkspaceSidebar.js +27 -27
  363. package/dist/node/components/shell/index.js +140 -77
  364. package/dist/node/components/templates/index.js +272 -272
  365. package/dist/node/components/templates/messaging/ConversationList.js +27 -27
  366. package/dist/node/components/templates/messaging/MessageComposer.js +27 -27
  367. package/dist/node/components/templates/messaging/MessageThread.js +18 -18
  368. package/dist/node/components/templates/messaging/MessagingWorkspace.js +65 -65
  369. package/dist/node/components/templates/messaging/index.js +65 -65
  370. package/dist/node/components/templates/recipes/LanguageSwitcher.js +5 -5
  371. package/dist/node/components/templates/recipes/RecipeCard.js +26 -26
  372. package/dist/node/components/templates/recipes/RecipeDetail.js +33 -33
  373. package/dist/node/components/templates/recipes/RecipeList.js +80 -80
  374. package/dist/node/components/templates/recipes/index.js +80 -80
  375. package/dist/node/components/templates/todos/FilterBar.js +39 -39
  376. package/dist/node/components/templates/todos/TaskForm.js +43 -43
  377. package/dist/node/components/templates/todos/TaskItem.js +30 -30
  378. package/dist/node/components/templates/todos/TaskList.js +127 -127
  379. package/dist/node/components/templates/todos/index.js +127 -127
  380. package/dist/node/index.js +12323 -12260
  381. package/dist/node/infrastructure/elysia/index.js +8 -8
  382. package/dist/node/infrastructure/elysia/logger.js +8 -8
  383. package/dist/node/infrastructure/index.js +8 -8
  384. package/dist/node/libs/posthog/client.js +2 -2
  385. package/dist/node/presentation/features/atoms/FeatureIcon/FeatureIcon.js +3 -3
  386. package/dist/node/presentation/features/atoms/FeatureIcon/index.js +3 -3
  387. package/dist/node/presentation/features/atoms/index.js +3 -3
  388. package/dist/node/presentation/features/index.js +915 -915
  389. package/dist/node/presentation/features/molecules/FeatureCard/FeatureCard.js +101 -101
  390. package/dist/node/presentation/features/molecules/FeatureCard/index.js +101 -101
  391. package/dist/node/presentation/features/molecules/FeatureCategoryHeader/FeatureCategoryHeader.js +15 -15
  392. package/dist/node/presentation/features/molecules/FeatureCategoryHeader/index.js +15 -15
  393. package/dist/node/presentation/features/molecules/FeatureFilters/FeatureFilters.js +23 -23
  394. package/dist/node/presentation/features/molecules/FeatureFilters/index.js +23 -23
  395. package/dist/node/presentation/features/molecules/FeatureHoverPreview/FeatureHoverPreview.js +67 -67
  396. package/dist/node/presentation/features/molecules/FeatureHoverPreview/index.js +67 -67
  397. package/dist/node/presentation/features/molecules/index.js +139 -139
  398. package/dist/node/presentation/features/organisms/FeatureDataViewsList.js +7 -7
  399. package/dist/node/presentation/features/organisms/FeatureDetail/FeatureDetail.js +57 -57
  400. package/dist/node/presentation/features/organisms/FeatureDetail/index.js +57 -57
  401. package/dist/node/presentation/features/organisms/FeatureDiscovery/FeatureDiscovery.js +183 -183
  402. package/dist/node/presentation/features/organisms/FeatureDiscovery/index.js +183 -183
  403. package/dist/node/presentation/features/organisms/FeatureEventsList.js +7 -7
  404. package/dist/node/presentation/features/organisms/FeatureFormsList.js +7 -7
  405. package/dist/node/presentation/features/organisms/FeatureOperationsList.js +7 -7
  406. package/dist/node/presentation/features/organisms/FeaturePresentationsList.js +7 -7
  407. package/dist/node/presentation/features/organisms/index.js +275 -275
  408. package/dist/node/presentation/features/templates/FeatureDataViewDetailTemplate/FeatureDataViewDetailTemplate.js +126 -126
  409. package/dist/node/presentation/features/templates/FeatureDataViewDetailTemplate/index.js +126 -126
  410. package/dist/node/presentation/features/templates/FeatureDataViewsTemplate/FeatureDataViewsTemplate.js +16 -16
  411. package/dist/node/presentation/features/templates/FeatureDataViewsTemplate/index.js +16 -16
  412. package/dist/node/presentation/features/templates/FeatureEventDetailTemplate/FeatureEventDetailTemplate.js +112 -112
  413. package/dist/node/presentation/features/templates/FeatureEventDetailTemplate/index.js +112 -112
  414. package/dist/node/presentation/features/templates/FeatureEventsTemplate/FeatureEventsTemplate.js +16 -16
  415. package/dist/node/presentation/features/templates/FeatureEventsTemplate/index.js +16 -16
  416. package/dist/node/presentation/features/templates/FeatureFormDetailTemplate/FeatureFormDetailTemplate.js +126 -126
  417. package/dist/node/presentation/features/templates/FeatureFormDetailTemplate/index.js +126 -126
  418. package/dist/node/presentation/features/templates/FeatureFormsTemplate/FeatureFormsTemplate.js +16 -16
  419. package/dist/node/presentation/features/templates/FeatureFormsTemplate/index.js +16 -16
  420. package/dist/node/presentation/features/templates/FeatureOperationDetailTemplate/FeatureOperationDetailTemplate.js +110 -110
  421. package/dist/node/presentation/features/templates/FeatureOperationDetailTemplate/index.js +110 -110
  422. package/dist/node/presentation/features/templates/FeatureOperationsTemplate/FeatureOperationsTemplate.js +16 -16
  423. package/dist/node/presentation/features/templates/FeatureOperationsTemplate/index.js +16 -16
  424. package/dist/node/presentation/features/templates/FeatureOverviewTemplate/FeatureOverviewTemplate.js +66 -66
  425. package/dist/node/presentation/features/templates/FeatureOverviewTemplate/index.js +66 -66
  426. package/dist/node/presentation/features/templates/FeaturePresentationDetailTemplate/FeaturePresentationDetailTemplate.js +112 -112
  427. package/dist/node/presentation/features/templates/FeaturePresentationDetailTemplate/index.js +112 -112
  428. package/dist/node/presentation/features/templates/FeaturePresentationsTemplate/FeaturePresentationsTemplate.js +16 -16
  429. package/dist/node/presentation/features/templates/FeaturePresentationsTemplate/index.js +16 -16
  430. package/dist/presentation/features/atoms/FeatureIcon/FeatureIcon.js +3 -3
  431. package/dist/presentation/features/atoms/FeatureIcon/index.js +3 -3
  432. package/dist/presentation/features/atoms/index.js +3 -3
  433. package/dist/presentation/features/index.js +915 -915
  434. package/dist/presentation/features/molecules/FeatureCard/FeatureCard.js +101 -101
  435. package/dist/presentation/features/molecules/FeatureCard/index.js +101 -101
  436. package/dist/presentation/features/molecules/FeatureCategoryHeader/FeatureCategoryHeader.js +15 -15
  437. package/dist/presentation/features/molecules/FeatureCategoryHeader/index.js +15 -15
  438. package/dist/presentation/features/molecules/FeatureFilters/FeatureFilters.js +23 -23
  439. package/dist/presentation/features/molecules/FeatureFilters/index.js +23 -23
  440. package/dist/presentation/features/molecules/FeatureHoverPreview/FeatureHoverPreview.js +67 -67
  441. package/dist/presentation/features/molecules/FeatureHoverPreview/index.js +67 -67
  442. package/dist/presentation/features/molecules/index.js +139 -139
  443. package/dist/presentation/features/organisms/FeatureDataViewsList.js +7 -7
  444. package/dist/presentation/features/organisms/FeatureDetail/FeatureDetail.js +57 -57
  445. package/dist/presentation/features/organisms/FeatureDetail/index.js +57 -57
  446. package/dist/presentation/features/organisms/FeatureDiscovery/FeatureDiscovery.js +183 -183
  447. package/dist/presentation/features/organisms/FeatureDiscovery/index.js +183 -183
  448. package/dist/presentation/features/organisms/FeatureEventsList.js +7 -7
  449. package/dist/presentation/features/organisms/FeatureFormsList.js +7 -7
  450. package/dist/presentation/features/organisms/FeatureOperationsList.js +7 -7
  451. package/dist/presentation/features/organisms/FeaturePresentationsList.js +7 -7
  452. package/dist/presentation/features/organisms/index.js +275 -275
  453. package/dist/presentation/features/templates/FeatureDataViewDetailTemplate/FeatureDataViewDetailTemplate.js +126 -126
  454. package/dist/presentation/features/templates/FeatureDataViewDetailTemplate/index.js +126 -126
  455. package/dist/presentation/features/templates/FeatureDataViewsTemplate/FeatureDataViewsTemplate.js +16 -16
  456. package/dist/presentation/features/templates/FeatureDataViewsTemplate/index.js +16 -16
  457. package/dist/presentation/features/templates/FeatureEventDetailTemplate/FeatureEventDetailTemplate.js +112 -112
  458. package/dist/presentation/features/templates/FeatureEventDetailTemplate/index.js +112 -112
  459. package/dist/presentation/features/templates/FeatureEventsTemplate/FeatureEventsTemplate.js +16 -16
  460. package/dist/presentation/features/templates/FeatureEventsTemplate/index.js +16 -16
  461. package/dist/presentation/features/templates/FeatureFormDetailTemplate/FeatureFormDetailTemplate.js +126 -126
  462. package/dist/presentation/features/templates/FeatureFormDetailTemplate/index.js +126 -126
  463. package/dist/presentation/features/templates/FeatureFormsTemplate/FeatureFormsTemplate.js +16 -16
  464. package/dist/presentation/features/templates/FeatureFormsTemplate/index.js +16 -16
  465. package/dist/presentation/features/templates/FeatureOperationDetailTemplate/FeatureOperationDetailTemplate.js +110 -110
  466. package/dist/presentation/features/templates/FeatureOperationDetailTemplate/index.js +110 -110
  467. package/dist/presentation/features/templates/FeatureOperationsTemplate/FeatureOperationsTemplate.js +16 -16
  468. package/dist/presentation/features/templates/FeatureOperationsTemplate/index.js +16 -16
  469. package/dist/presentation/features/templates/FeatureOverviewTemplate/FeatureOverviewTemplate.js +66 -66
  470. package/dist/presentation/features/templates/FeatureOverviewTemplate/index.js +66 -66
  471. package/dist/presentation/features/templates/FeaturePresentationDetailTemplate/FeaturePresentationDetailTemplate.js +112 -112
  472. package/dist/presentation/features/templates/FeaturePresentationDetailTemplate/index.js +112 -112
  473. package/dist/presentation/features/templates/FeaturePresentationsTemplate/FeaturePresentationsTemplate.js +16 -16
  474. package/dist/presentation/features/templates/FeaturePresentationsTemplate/index.js +16 -16
  475. package/package.json +71 -22
  476. package/src/bundles/LibraryBundle.ts +152 -0
  477. package/src/bundles/index.ts +1 -0
  478. package/src/components/shell/WorkspaceShellRenderer.tsx +90 -0
  479. package/src/components/shell/index.ts +1 -0
@@ -2,7 +2,7 @@
2
2
  // src/components/integrations/molecules/IntegrationCard.tsx
3
3
  import { PlugZap, ToggleRight } from "lucide-react";
4
4
  import { Button } from "@contractspec/lib.design-system";
5
- import { jsxDEV } from "react/jsx-dev-runtime";
5
+ import { jsx, jsxs } from "react/jsx-runtime";
6
6
  function IntegrationCard({
7
7
  id,
8
8
  provider,
@@ -15,86 +15,86 @@ function IntegrationCard({
15
15
  onConfigure
16
16
  }) {
17
17
  const tone = status === "connected" ? "text-emerald-500 bg-emerald-500/10 border-emerald-500/30" : status === "error" ? "text-red-500 bg-red-500/10 border-red-500/30" : "text-gray-500 bg-gray-500/10 border-gray-500/30";
18
- return /* @__PURE__ */ jsxDEV("div", {
18
+ return /* @__PURE__ */ jsxs("div", {
19
19
  className: "border-border bg-card flex flex-col gap-4 rounded-2xl border p-4 shadow-sm",
20
20
  children: [
21
- /* @__PURE__ */ jsxDEV("header", {
21
+ /* @__PURE__ */ jsxs("header", {
22
22
  className: "flex items-center justify-between",
23
23
  children: [
24
- /* @__PURE__ */ jsxDEV("div", {
24
+ /* @__PURE__ */ jsxs("div", {
25
25
  children: [
26
- /* @__PURE__ */ jsxDEV("p", {
26
+ /* @__PURE__ */ jsx("p", {
27
27
  className: "text-xl font-semibold",
28
28
  children: name
29
- }, undefined, false, undefined, this),
30
- /* @__PURE__ */ jsxDEV("p", {
29
+ }),
30
+ /* @__PURE__ */ jsx("p", {
31
31
  className: "text-muted-foreground text-sm",
32
32
  children: provider
33
- }, undefined, false, undefined, this)
33
+ })
34
34
  ]
35
- }, undefined, true, undefined, this),
36
- /* @__PURE__ */ jsxDEV(Button, {
35
+ }),
36
+ /* @__PURE__ */ jsxs(Button, {
37
37
  variant: "outline",
38
38
  size: "sm",
39
39
  className: `inline-flex items-center gap-2 rounded-full border px-3 py-1 text-xs font-semibold tracking-wide uppercase ${tone}`,
40
40
  onPress: () => onToggle?.(id, !enabled),
41
41
  children: [
42
- /* @__PURE__ */ jsxDEV(ToggleRight, {
42
+ /* @__PURE__ */ jsx(ToggleRight, {
43
43
  className: "h-3.5 w-3.5"
44
- }, undefined, false, undefined, this),
44
+ }),
45
45
  enabled ? "Enabled" : "Disabled"
46
46
  ]
47
- }, undefined, true, undefined, this)
47
+ })
48
48
  ]
49
- }, undefined, true, undefined, this),
50
- /* @__PURE__ */ jsxDEV("div", {
49
+ }),
50
+ /* @__PURE__ */ jsxs("div", {
51
51
  className: "text-muted-foreground text-sm",
52
52
  children: [
53
- category && /* @__PURE__ */ jsxDEV("span", {
53
+ category && /* @__PURE__ */ jsx("span", {
54
54
  className: "font-medium",
55
55
  children: category
56
- }, undefined, false, undefined, this),
57
- /* @__PURE__ */ jsxDEV("div", {
56
+ }),
57
+ /* @__PURE__ */ jsxs("div", {
58
58
  className: "mt-2 flex flex-wrap items-center gap-3 text-xs tracking-wide uppercase",
59
59
  children: [
60
- /* @__PURE__ */ jsxDEV("span", {
60
+ /* @__PURE__ */ jsxs("span", {
61
61
  className: "inline-flex items-center gap-1",
62
62
  children: [
63
- /* @__PURE__ */ jsxDEV(PlugZap, {
63
+ /* @__PURE__ */ jsx(PlugZap, {
64
64
  className: "h-3 w-3"
65
- }, undefined, false, undefined, this),
65
+ }),
66
66
  status
67
67
  ]
68
- }, undefined, true, undefined, this),
69
- /* @__PURE__ */ jsxDEV("span", {
68
+ }),
69
+ /* @__PURE__ */ jsxs("span", {
70
70
  children: [
71
71
  "Last sync:",
72
72
  " ",
73
73
  lastSyncAt ? new Date(lastSyncAt).toLocaleString() : "Not synced yet"
74
74
  ]
75
- }, undefined, true, undefined, this)
75
+ })
76
76
  ]
77
- }, undefined, true, undefined, this)
77
+ })
78
78
  ]
79
- }, undefined, true, undefined, this),
80
- /* @__PURE__ */ jsxDEV("footer", {
79
+ }),
80
+ /* @__PURE__ */ jsxs("footer", {
81
81
  className: "flex items-center gap-2",
82
82
  children: [
83
- /* @__PURE__ */ jsxDEV(Button, {
83
+ /* @__PURE__ */ jsx(Button, {
84
84
  className: "flex-1",
85
85
  onPress: () => onConfigure?.(id),
86
86
  children: "Configure"
87
- }, undefined, false, undefined, this),
88
- /* @__PURE__ */ jsxDEV(Button, {
87
+ }),
88
+ /* @__PURE__ */ jsx(Button, {
89
89
  variant: "ghost",
90
90
  className: "flex-1",
91
91
  onPress: () => onToggle?.(id, !enabled),
92
92
  children: enabled ? "Disconnect" : "Connect"
93
- }, undefined, false, undefined, this)
93
+ })
94
94
  ]
95
- }, undefined, true, undefined, this)
95
+ })
96
96
  ]
97
- }, undefined, true, undefined, this);
97
+ });
98
98
  }
99
99
 
100
100
  // src/components/integrations/organisms/IntegrationMarketplace.tsx
@@ -108,7 +108,7 @@ import {
108
108
  SelectTrigger,
109
109
  SelectValue
110
110
  } from "@contractspec/lib.ui-kit-web/ui/select";
111
- import { jsxDEV as jsxDEV2 } from "react/jsx-dev-runtime";
111
+ import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
112
112
  function IntegrationMarketplace({
113
113
  integrations,
114
114
  onToggle,
@@ -122,77 +122,77 @@ function IntegrationMarketplace({
122
122
  const matchesCategory = category === "all" ? true : integration.category === category;
123
123
  return matchesSearch && matchesCategory;
124
124
  });
125
- return /* @__PURE__ */ jsxDEV2("div", {
125
+ return /* @__PURE__ */ jsxs2("div", {
126
126
  className: "border-border bg-card space-y-4 rounded-2xl border p-4",
127
127
  children: [
128
- /* @__PURE__ */ jsxDEV2("header", {
128
+ /* @__PURE__ */ jsxs2("header", {
129
129
  className: "flex flex-wrap items-center justify-between gap-3",
130
130
  children: [
131
- /* @__PURE__ */ jsxDEV2("div", {
131
+ /* @__PURE__ */ jsxs2("div", {
132
132
  children: [
133
- /* @__PURE__ */ jsxDEV2("p", {
133
+ /* @__PURE__ */ jsx2("p", {
134
134
  className: "text-sm font-semibold tracking-wide uppercase",
135
135
  children: "Integration marketplace"
136
- }, undefined, false, undefined, this),
137
- /* @__PURE__ */ jsxDEV2("p", {
136
+ }),
137
+ /* @__PURE__ */ jsx2("p", {
138
138
  className: "text-muted-foreground text-sm",
139
139
  children: "Connect AI providers, payments, analytics, and internal tools with BYOK controls."
140
- }, undefined, false, undefined, this)
140
+ })
141
141
  ]
142
- }, undefined, true, undefined, this),
143
- /* @__PURE__ */ jsxDEV2(Boxes, {
142
+ }),
143
+ /* @__PURE__ */ jsx2(Boxes, {
144
144
  className: "text-muted-foreground h-5 w-5"
145
- }, undefined, false, undefined, this)
145
+ })
146
146
  ]
147
- }, undefined, true, undefined, this),
148
- /* @__PURE__ */ jsxDEV2("div", {
147
+ }),
148
+ /* @__PURE__ */ jsxs2("div", {
149
149
  className: "flex flex-wrap gap-3",
150
150
  children: [
151
- /* @__PURE__ */ jsxDEV2("div", {
151
+ /* @__PURE__ */ jsxs2("div", {
152
152
  className: "relative min-w-[200px] flex-1",
153
153
  children: [
154
- /* @__PURE__ */ jsxDEV2(Search, {
154
+ /* @__PURE__ */ jsx2(Search, {
155
155
  className: "text-muted-foreground pointer-events-none absolute top-1/2 left-3 h-4 w-4 -translate-y-1/2"
156
- }, undefined, false, undefined, this),
157
- /* @__PURE__ */ jsxDEV2(Input, {
156
+ }),
157
+ /* @__PURE__ */ jsx2(Input, {
158
158
  type: "search",
159
159
  "aria-label": "Search providers",
160
160
  className: "w-full py-2 pr-3 pl-9 text-sm",
161
161
  value: search,
162
162
  onChange: (event) => setSearch(event.target.value),
163
163
  placeholder: "Search providers"
164
- }, undefined, false, undefined, this)
164
+ })
165
165
  ]
166
- }, undefined, true, undefined, this),
167
- /* @__PURE__ */ jsxDEV2(Select, {
166
+ }),
167
+ /* @__PURE__ */ jsxs2(Select, {
168
168
  value: category,
169
169
  onValueChange: setCategory,
170
170
  children: [
171
- /* @__PURE__ */ jsxDEV2(SelectTrigger, {
171
+ /* @__PURE__ */ jsx2(SelectTrigger, {
172
172
  className: "w-[200px]",
173
- children: /* @__PURE__ */ jsxDEV2(SelectValue, {
173
+ children: /* @__PURE__ */ jsx2(SelectValue, {
174
174
  placeholder: "All categories"
175
- }, undefined, false, undefined, this)
176
- }, undefined, false, undefined, this),
177
- /* @__PURE__ */ jsxDEV2(SelectContent, {
175
+ })
176
+ }),
177
+ /* @__PURE__ */ jsxs2(SelectContent, {
178
178
  children: [
179
- /* @__PURE__ */ jsxDEV2(SelectItem, {
179
+ /* @__PURE__ */ jsx2(SelectItem, {
180
180
  value: "all",
181
181
  children: "All categories"
182
- }, undefined, false, undefined, this),
183
- categories.map((item) => /* @__PURE__ */ jsxDEV2(SelectItem, {
182
+ }),
183
+ categories.map((item) => /* @__PURE__ */ jsx2(SelectItem, {
184
184
  value: item,
185
185
  children: item
186
- }, item, false, undefined, this))
186
+ }, item))
187
187
  ]
188
- }, undefined, true, undefined, this)
188
+ })
189
189
  ]
190
- }, undefined, true, undefined, this)
190
+ })
191
191
  ]
192
- }, undefined, true, undefined, this),
193
- /* @__PURE__ */ jsxDEV2("div", {
192
+ }),
193
+ /* @__PURE__ */ jsx2("div", {
194
194
  className: "grid gap-4 md:grid-cols-2",
195
- children: filtered.length ? filtered.map((integration) => /* @__PURE__ */ jsxDEV2(IntegrationCard, {
195
+ children: filtered.length ? filtered.map((integration) => /* @__PURE__ */ jsx2(IntegrationCard, {
196
196
  id: integration.id,
197
197
  provider: integration.provider,
198
198
  name: integration.name,
@@ -202,13 +202,13 @@ function IntegrationMarketplace({
202
202
  lastSyncAt: integration.lastSyncAt,
203
203
  onToggle,
204
204
  onConfigure
205
- }, integration.id, false, undefined, this)) : /* @__PURE__ */ jsxDEV2("div", {
205
+ }, integration.id)) : /* @__PURE__ */ jsx2("div", {
206
206
  className: "text-muted-foreground border-border rounded-xl border border-dashed p-6 text-center text-sm md:col-span-2",
207
207
  children: "No integrations match your filters."
208
- }, undefined, false, undefined, this)
209
- }, undefined, false, undefined, this)
208
+ })
209
+ })
210
210
  ]
211
- }, undefined, true, undefined, this);
211
+ });
212
212
  }
213
213
 
214
214
  // src/components/integrations/organisms/IntegrationSettings.tsx
@@ -224,7 +224,7 @@ import {
224
224
  SelectTrigger as SelectTrigger2,
225
225
  SelectValue as SelectValue2
226
226
  } from "@contractspec/lib.ui-kit-web/ui/select";
227
- import { jsxDEV as jsxDEV3 } from "react/jsx-dev-runtime";
227
+ import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
228
228
  function IntegrationSettings({
229
229
  provider,
230
230
  initialValues,
@@ -251,88 +251,88 @@ function IntegrationSettings({
251
251
  [name]: value
252
252
  }));
253
253
  };
254
- return /* @__PURE__ */ jsxDEV3("div", {
254
+ return /* @__PURE__ */ jsxs3("div", {
255
255
  className: "border-border bg-card space-y-4 rounded-2xl border p-4",
256
256
  children: [
257
- /* @__PURE__ */ jsxDEV3("header", {
257
+ /* @__PURE__ */ jsxs3("header", {
258
258
  className: "flex flex-wrap items-center justify-between gap-3",
259
259
  children: [
260
- /* @__PURE__ */ jsxDEV3("div", {
260
+ /* @__PURE__ */ jsxs3("div", {
261
261
  children: [
262
- /* @__PURE__ */ jsxDEV3("p", {
262
+ /* @__PURE__ */ jsxs3("p", {
263
263
  className: "text-sm font-semibold tracking-wide uppercase",
264
264
  children: [
265
265
  provider,
266
266
  " credentials"
267
267
  ]
268
- }, undefined, true, undefined, this),
269
- /* @__PURE__ */ jsxDEV3("p", {
268
+ }),
269
+ /* @__PURE__ */ jsx3("p", {
270
270
  className: "text-muted-foreground text-sm",
271
271
  children: "Store encrypted keys with BYOK and run safe connection tests."
272
- }, undefined, false, undefined, this)
272
+ })
273
273
  ]
274
- }, undefined, true, undefined, this),
275
- /* @__PURE__ */ jsxDEV3(ShieldCheck, {
274
+ }),
275
+ /* @__PURE__ */ jsx3(ShieldCheck, {
276
276
  className: "text-muted-foreground h-5 w-5"
277
- }, undefined, false, undefined, this)
277
+ })
278
278
  ]
279
- }, undefined, true, undefined, this),
280
- /* @__PURE__ */ jsxDEV3("div", {
279
+ }),
280
+ /* @__PURE__ */ jsx3("div", {
281
281
  className: "grid gap-4 md:grid-cols-2",
282
- children: /* @__PURE__ */ jsxDEV3("div", {
282
+ children: /* @__PURE__ */ jsxs3("div", {
283
283
  className: "space-y-2",
284
284
  children: [
285
- /* @__PURE__ */ jsxDEV3(Label, {
285
+ /* @__PURE__ */ jsx3(Label, {
286
286
  htmlFor: "ownershipMode",
287
287
  children: "Ownership"
288
- }, undefined, false, undefined, this),
289
- /* @__PURE__ */ jsxDEV3(Select2, {
288
+ }),
289
+ /* @__PURE__ */ jsxs3(Select2, {
290
290
  value: values.ownershipMode ?? "managed",
291
291
  onValueChange: (next) => setValues((prev) => ({
292
292
  ...prev,
293
293
  ownershipMode: next
294
294
  })),
295
295
  children: [
296
- /* @__PURE__ */ jsxDEV3(SelectTrigger2, {
296
+ /* @__PURE__ */ jsx3(SelectTrigger2, {
297
297
  id: "ownershipMode",
298
298
  className: "w-full",
299
- children: /* @__PURE__ */ jsxDEV3(SelectValue2, {}, undefined, false, undefined, this)
300
- }, undefined, false, undefined, this),
301
- /* @__PURE__ */ jsxDEV3(SelectContent2, {
299
+ children: /* @__PURE__ */ jsx3(SelectValue2, {})
300
+ }),
301
+ /* @__PURE__ */ jsxs3(SelectContent2, {
302
302
  children: [
303
- /* @__PURE__ */ jsxDEV3(SelectItem2, {
303
+ /* @__PURE__ */ jsx3(SelectItem2, {
304
304
  value: "managed",
305
305
  children: "Managed (store encrypted)"
306
- }, undefined, false, undefined, this),
307
- /* @__PURE__ */ jsxDEV3(SelectItem2, {
306
+ }),
307
+ /* @__PURE__ */ jsx3(SelectItem2, {
308
308
  value: "byok",
309
309
  children: "BYOK (store secret reference)"
310
- }, undefined, false, undefined, this)
310
+ })
311
311
  ]
312
- }, undefined, true, undefined, this)
312
+ })
313
313
  ]
314
- }, undefined, true, undefined, this)
314
+ })
315
315
  ]
316
- }, undefined, true, undefined, this)
317
- }, undefined, false, undefined, this),
318
- /* @__PURE__ */ jsxDEV3("div", {
316
+ })
317
+ }),
318
+ /* @__PURE__ */ jsxs3("div", {
319
319
  className: "grid gap-4 md:grid-cols-2",
320
320
  children: [
321
- /* @__PURE__ */ jsxDEV3("div", {
321
+ /* @__PURE__ */ jsxs3("div", {
322
322
  className: "space-y-1 text-sm",
323
323
  children: [
324
- /* @__PURE__ */ jsxDEV3(Label, {
324
+ /* @__PURE__ */ jsx3(Label, {
325
325
  htmlFor: "apiKey",
326
326
  className: "font-semibold",
327
327
  children: "API key"
328
- }, undefined, false, undefined, this),
329
- /* @__PURE__ */ jsxDEV3("div", {
328
+ }),
329
+ /* @__PURE__ */ jsxs3("div", {
330
330
  className: "relative",
331
331
  children: [
332
- /* @__PURE__ */ jsxDEV3(Key, {
332
+ /* @__PURE__ */ jsx3(Key, {
333
333
  className: "text-muted-foreground pointer-events-none absolute top-1/2 left-3 h-4 w-4 -translate-y-1/2"
334
- }, undefined, false, undefined, this),
335
- /* @__PURE__ */ jsxDEV3(Input2, {
334
+ }),
335
+ /* @__PURE__ */ jsx3(Input2, {
336
336
  type: "text",
337
337
  name: "apiKey",
338
338
  id: "apiKey",
@@ -340,259 +340,259 @@ function IntegrationSettings({
340
340
  value: values.apiKey,
341
341
  onChange: handleChange,
342
342
  required: true
343
- }, undefined, false, undefined, this)
343
+ })
344
344
  ]
345
- }, undefined, true, undefined, this)
345
+ })
346
346
  ]
347
- }, undefined, true, undefined, this),
348
- /* @__PURE__ */ jsxDEV3("div", {
347
+ }),
348
+ /* @__PURE__ */ jsxs3("div", {
349
349
  className: "space-y-1 text-sm",
350
350
  children: [
351
- /* @__PURE__ */ jsxDEV3(Label, {
351
+ /* @__PURE__ */ jsx3(Label, {
352
352
  htmlFor: "secret",
353
353
  className: "font-semibold",
354
354
  children: "Secret"
355
- }, undefined, false, undefined, this),
356
- /* @__PURE__ */ jsxDEV3(Input2, {
355
+ }),
356
+ /* @__PURE__ */ jsx3(Input2, {
357
357
  type: "password",
358
358
  id: "secret",
359
359
  name: "secret",
360
360
  className: "w-full px-3 py-2",
361
361
  value: values.secret,
362
362
  onChange: handleChange
363
- }, undefined, false, undefined, this)
363
+ })
364
364
  ]
365
- }, undefined, true, undefined, this)
365
+ })
366
366
  ]
367
- }, undefined, true, undefined, this),
368
- values.ownershipMode === "byok" ? /* @__PURE__ */ jsxDEV3("div", {
367
+ }),
368
+ values.ownershipMode === "byok" ? /* @__PURE__ */ jsxs3("div", {
369
369
  className: "space-y-4 rounded-xl border border-blue-500/20 bg-blue-500/5 p-4",
370
370
  children: [
371
- /* @__PURE__ */ jsxDEV3("p", {
371
+ /* @__PURE__ */ jsx3("p", {
372
372
  className: "text-sm font-semibold",
373
373
  children: "BYOK secret reference"
374
- }, undefined, false, undefined, this),
375
- /* @__PURE__ */ jsxDEV3("div", {
374
+ }),
375
+ /* @__PURE__ */ jsxs3("div", {
376
376
  className: "grid gap-4 md:grid-cols-2",
377
377
  children: [
378
- /* @__PURE__ */ jsxDEV3("div", {
378
+ /* @__PURE__ */ jsxs3("div", {
379
379
  className: "space-y-2",
380
380
  children: [
381
- /* @__PURE__ */ jsxDEV3(Label, {
381
+ /* @__PURE__ */ jsx3(Label, {
382
382
  htmlFor: "secretProvider",
383
383
  children: "Secret provider"
384
- }, undefined, false, undefined, this),
385
- /* @__PURE__ */ jsxDEV3(Select2, {
384
+ }),
385
+ /* @__PURE__ */ jsxs3(Select2, {
386
386
  value: values.secretProvider ?? "env",
387
387
  onValueChange: (next) => setValues((prev) => ({
388
388
  ...prev,
389
389
  secretProvider: next
390
390
  })),
391
391
  children: [
392
- /* @__PURE__ */ jsxDEV3(SelectTrigger2, {
392
+ /* @__PURE__ */ jsx3(SelectTrigger2, {
393
393
  id: "secretProvider",
394
394
  className: "w-full",
395
- children: /* @__PURE__ */ jsxDEV3(SelectValue2, {}, undefined, false, undefined, this)
396
- }, undefined, false, undefined, this),
397
- /* @__PURE__ */ jsxDEV3(SelectContent2, {
395
+ children: /* @__PURE__ */ jsx3(SelectValue2, {})
396
+ }),
397
+ /* @__PURE__ */ jsxs3(SelectContent2, {
398
398
  children: [
399
- /* @__PURE__ */ jsxDEV3(SelectItem2, {
399
+ /* @__PURE__ */ jsx3(SelectItem2, {
400
400
  value: "env",
401
401
  children: "Environment"
402
- }, undefined, false, undefined, this),
403
- /* @__PURE__ */ jsxDEV3(SelectItem2, {
402
+ }),
403
+ /* @__PURE__ */ jsx3(SelectItem2, {
404
404
  value: "gcp",
405
405
  children: "GCP Secret Manager"
406
- }, undefined, false, undefined, this)
406
+ })
407
407
  ]
408
- }, undefined, true, undefined, this)
408
+ })
409
409
  ]
410
- }, undefined, true, undefined, this)
410
+ })
411
411
  ]
412
- }, undefined, true, undefined, this),
413
- /* @__PURE__ */ jsxDEV3("div", {
412
+ }),
413
+ /* @__PURE__ */ jsxs3("div", {
414
414
  className: "space-y-2",
415
415
  children: [
416
- /* @__PURE__ */ jsxDEV3(Label, {
416
+ /* @__PURE__ */ jsx3(Label, {
417
417
  htmlFor: "secretRef",
418
418
  children: "Secret reference"
419
- }, undefined, false, undefined, this),
420
- /* @__PURE__ */ jsxDEV3(Input2, {
419
+ }),
420
+ /* @__PURE__ */ jsx3(Input2, {
421
421
  id: "secretRef",
422
422
  name: "secretRef",
423
423
  placeholder: values.secretProvider === "gcp" ? "gcp://projects/.../secrets/..." : "env://MY_TOKEN_ENV_VAR",
424
424
  value: values.secretRef ?? "",
425
425
  onChange: handleChange
426
- }, undefined, false, undefined, this)
426
+ })
427
427
  ]
428
- }, undefined, true, undefined, this)
428
+ })
429
429
  ]
430
- }, undefined, true, undefined, this)
430
+ })
431
431
  ]
432
- }, undefined, true, undefined, this) : /* @__PURE__ */ jsxDEV3("div", {
432
+ }) : /* @__PURE__ */ jsxs3("div", {
433
433
  className: "flex items-center gap-3 rounded-xl border border-emerald-500/20 bg-emerald-500/5 p-4 text-sm",
434
434
  children: [
435
- /* @__PURE__ */ jsxDEV3(Checkbox, {
435
+ /* @__PURE__ */ jsx3(Checkbox, {
436
436
  checked: true,
437
437
  onCheckedChange: () => {},
438
438
  "aria-label": "Managed"
439
- }, undefined, false, undefined, this),
440
- /* @__PURE__ */ jsxDEV3("div", {
439
+ }),
440
+ /* @__PURE__ */ jsxs3("div", {
441
441
  children: [
442
- /* @__PURE__ */ jsxDEV3("p", {
442
+ /* @__PURE__ */ jsx3("p", {
443
443
  className: "font-semibold",
444
444
  children: "Managed encryption enabled"
445
- }, undefined, false, undefined, this),
446
- /* @__PURE__ */ jsxDEV3("p", {
445
+ }),
446
+ /* @__PURE__ */ jsx3("p", {
447
447
  className: "text-muted-foreground",
448
448
  children: "Secrets are encrypted server-side for this tenant."
449
- }, undefined, false, undefined, this)
449
+ })
450
450
  ]
451
- }, undefined, true, undefined, this)
451
+ })
452
452
  ]
453
- }, undefined, true, undefined, this),
454
- /* @__PURE__ */ jsxDEV3("div", {
453
+ }),
454
+ /* @__PURE__ */ jsxs3("div", {
455
455
  className: "space-y-1 text-sm",
456
456
  children: [
457
- /* @__PURE__ */ jsxDEV3(Label, {
457
+ /* @__PURE__ */ jsx3(Label, {
458
458
  htmlFor: "config",
459
459
  className: "font-semibold",
460
460
  children: "Configuration (JSON)"
461
- }, undefined, false, undefined, this),
462
- /* @__PURE__ */ jsxDEV3(Textarea, {
461
+ }),
462
+ /* @__PURE__ */ jsx3(Textarea, {
463
463
  id: "config",
464
464
  name: "config",
465
465
  className: "min-h-[140px] w-full font-mono text-sm",
466
466
  value: values.config,
467
467
  onChange: handleChange
468
- }, undefined, false, undefined, this)
468
+ })
469
469
  ]
470
- }, undefined, true, undefined, this),
471
- /* @__PURE__ */ jsxDEV3("div", {
470
+ }),
471
+ /* @__PURE__ */ jsxs3("div", {
472
472
  className: "flex flex-wrap items-center gap-3",
473
473
  children: [
474
- /* @__PURE__ */ jsxDEV3(Button2, {
474
+ /* @__PURE__ */ jsxs3(Button2, {
475
475
  variant: "ghost",
476
476
  onPress: () => onTestConnection?.(values),
477
477
  disabled: isTesting,
478
478
  children: [
479
- /* @__PURE__ */ jsxDEV3(TestTube2, {
479
+ /* @__PURE__ */ jsx3(TestTube2, {
480
480
  className: "h-4 w-4"
481
- }, undefined, false, undefined, this),
481
+ }),
482
482
  "Test connection"
483
483
  ]
484
- }, undefined, true, undefined, this),
485
- /* @__PURE__ */ jsxDEV3(Button2, {
484
+ }),
485
+ /* @__PURE__ */ jsx3(Button2, {
486
486
  variant: "default",
487
487
  onPress: () => onSave?.(values),
488
488
  disabled: isSaving,
489
489
  children: "Save settings"
490
- }, undefined, false, undefined, this)
490
+ })
491
491
  ]
492
- }, undefined, true, undefined, this)
492
+ })
493
493
  ]
494
- }, undefined, true, undefined, this);
494
+ });
495
495
  }
496
496
 
497
497
  // src/components/integrations/organisms/KnowledgeSourceList.tsx
498
498
  import { BookCopy, Plus, RefreshCcw } from "lucide-react";
499
- import { jsxDEV as jsxDEV4 } from "react/jsx-dev-runtime";
499
+ import { jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
500
500
  function KnowledgeSourceList({
501
501
  sources,
502
502
  onRefresh,
503
503
  onDelete,
504
504
  onAdd
505
505
  }) {
506
- return /* @__PURE__ */ jsxDEV4("div", {
506
+ return /* @__PURE__ */ jsxs4("div", {
507
507
  className: "border-border bg-card space-y-4 rounded-2xl border p-4",
508
508
  children: [
509
- /* @__PURE__ */ jsxDEV4("header", {
509
+ /* @__PURE__ */ jsxs4("header", {
510
510
  className: "flex flex-wrap items-center justify-between gap-3",
511
511
  children: [
512
- /* @__PURE__ */ jsxDEV4("div", {
512
+ /* @__PURE__ */ jsxs4("div", {
513
513
  children: [
514
- /* @__PURE__ */ jsxDEV4("p", {
514
+ /* @__PURE__ */ jsx4("p", {
515
515
  className: "text-sm font-semibold tracking-wide uppercase",
516
516
  children: "Knowledge sources"
517
- }, undefined, false, undefined, this),
518
- /* @__PURE__ */ jsxDEV4("p", {
517
+ }),
518
+ /* @__PURE__ */ jsx4("p", {
519
519
  className: "text-muted-foreground text-sm",
520
520
  children: "Manage documentation, specs, and repos powering Studio RAG flows."
521
- }, undefined, false, undefined, this)
521
+ })
522
522
  ]
523
- }, undefined, true, undefined, this),
524
- /* @__PURE__ */ jsxDEV4("button", {
523
+ }),
524
+ /* @__PURE__ */ jsxs4("button", {
525
525
  type: "button",
526
526
  className: "btn-primary inline-flex items-center gap-2",
527
527
  onClick: onAdd,
528
528
  children: [
529
- /* @__PURE__ */ jsxDEV4(Plus, {
529
+ /* @__PURE__ */ jsx4(Plus, {
530
530
  className: "h-4 w-4"
531
- }, undefined, false, undefined, this),
531
+ }),
532
532
  "Add source"
533
533
  ]
534
- }, undefined, true, undefined, this)
534
+ })
535
535
  ]
536
- }, undefined, true, undefined, this),
537
- /* @__PURE__ */ jsxDEV4("div", {
536
+ }),
537
+ /* @__PURE__ */ jsx4("div", {
538
538
  className: "space-y-3",
539
- children: sources.length ? sources.map((source) => /* @__PURE__ */ jsxDEV4("div", {
539
+ children: sources.length ? sources.map((source) => /* @__PURE__ */ jsxs4("div", {
540
540
  className: "border-border bg-background flex flex-wrap items-center justify-between gap-3 rounded-xl border p-4",
541
541
  children: [
542
- /* @__PURE__ */ jsxDEV4("div", {
542
+ /* @__PURE__ */ jsxs4("div", {
543
543
  className: "flex items-center gap-3",
544
544
  children: [
545
- /* @__PURE__ */ jsxDEV4(BookCopy, {
545
+ /* @__PURE__ */ jsx4(BookCopy, {
546
546
  className: "text-muted-foreground h-8 w-8"
547
- }, undefined, false, undefined, this),
548
- /* @__PURE__ */ jsxDEV4("div", {
547
+ }),
548
+ /* @__PURE__ */ jsxs4("div", {
549
549
  children: [
550
- /* @__PURE__ */ jsxDEV4("p", {
550
+ /* @__PURE__ */ jsx4("p", {
551
551
  className: "text-base font-semibold",
552
552
  children: source.name
553
- }, undefined, false, undefined, this),
554
- /* @__PURE__ */ jsxDEV4("p", {
553
+ }),
554
+ /* @__PURE__ */ jsx4("p", {
555
555
  className: "text-muted-foreground text-sm",
556
556
  children: source.type
557
- }, undefined, false, undefined, this),
558
- /* @__PURE__ */ jsxDEV4("p", {
557
+ }),
558
+ /* @__PURE__ */ jsx4("p", {
559
559
  className: "text-muted-foreground text-xs",
560
560
  children: source.indexed ? `Indexed ${source.lastIndexed ? new Date(source.lastIndexed).toLocaleString() : ""}` : "Pending indexing"
561
- }, undefined, false, undefined, this)
561
+ })
562
562
  ]
563
- }, undefined, true, undefined, this)
563
+ })
564
564
  ]
565
- }, undefined, true, undefined, this),
566
- /* @__PURE__ */ jsxDEV4("div", {
565
+ }),
566
+ /* @__PURE__ */ jsxs4("div", {
567
567
  className: "flex items-center gap-2",
568
568
  children: [
569
- /* @__PURE__ */ jsxDEV4("button", {
569
+ /* @__PURE__ */ jsxs4("button", {
570
570
  type: "button",
571
571
  className: "btn-ghost inline-flex items-center gap-1 text-sm",
572
572
  onClick: () => onRefresh?.(source.id),
573
573
  children: [
574
- /* @__PURE__ */ jsxDEV4(RefreshCcw, {
574
+ /* @__PURE__ */ jsx4(RefreshCcw, {
575
575
  className: "h-3.5 w-3.5"
576
- }, undefined, false, undefined, this),
576
+ }),
577
577
  "Reindex"
578
578
  ]
579
- }, undefined, true, undefined, this),
580
- /* @__PURE__ */ jsxDEV4("button", {
579
+ }),
580
+ /* @__PURE__ */ jsx4("button", {
581
581
  type: "button",
582
582
  className: "btn-ghost text-destructive text-sm",
583
583
  onClick: () => onDelete?.(source.id),
584
584
  children: "Remove"
585
- }, undefined, false, undefined, this)
585
+ })
586
586
  ]
587
- }, undefined, true, undefined, this)
587
+ })
588
588
  ]
589
- }, source.id, true, undefined, this)) : /* @__PURE__ */ jsxDEV4("div", {
589
+ }, source.id)) : /* @__PURE__ */ jsx4("div", {
590
590
  className: "text-muted-foreground border-border rounded-xl border border-dashed p-6 text-center text-sm",
591
591
  children: "No knowledge sources added yet."
592
- }, undefined, false, undefined, this)
593
- }, undefined, false, undefined, this)
592
+ })
593
+ })
594
594
  ]
595
- }, undefined, true, undefined, this);
595
+ });
596
596
  }
597
597
  export {
598
598
  KnowledgeSourceList,