@burdenoff/microfe-bigconsole 2026.930.1 → 2026.1001.1

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 (808) hide show
  1. package/dist/bigconsole/AdminRoot.d.ts +10 -0
  2. package/dist/bigconsole/AdminRoot.d.ts.map +1 -0
  3. package/dist/bigconsole/AdminRoutes.d.ts +7 -0
  4. package/dist/bigconsole/AdminRoutes.d.ts.map +1 -0
  5. package/dist/bigconsole/BigConsoleRoot.d.ts +29 -0
  6. package/dist/bigconsole/BigConsoleRoot.d.ts.map +1 -0
  7. package/dist/bigconsole/BigConsoleRoutes.d.ts +6 -0
  8. package/dist/bigconsole/BigConsoleRoutes.d.ts.map +1 -0
  9. package/dist/bigconsole/assistant/assistantApi.d.ts +91 -0
  10. package/dist/bigconsole/assistant/assistantApi.d.ts.map +1 -0
  11. package/dist/bigconsole/assistant/assistantProduct.d.ts +73 -0
  12. package/dist/bigconsole/assistant/assistantProduct.d.ts.map +1 -0
  13. package/dist/bigconsole/assistant/assistantPrompt.d.ts +48 -0
  14. package/dist/bigconsole/assistant/assistantPrompt.d.ts.map +1 -0
  15. package/dist/bigconsole/assistant/assistantRunPersistence.d.ts +30 -0
  16. package/dist/bigconsole/assistant/assistantRunPersistence.d.ts.map +1 -0
  17. package/dist/bigconsole/assistant/assistantRunPersistence.js +14 -11
  18. package/dist/bigconsole/assistant/assistantRunPersistence.js.map +1 -1
  19. package/dist/bigconsole/assistant/assistantRunStore.d.ts +75 -0
  20. package/dist/bigconsole/assistant/assistantRunStore.d.ts.map +1 -0
  21. package/dist/bigconsole/assistant/assistantRunStore.js +78 -47
  22. package/dist/bigconsole/assistant/assistantRunStore.js.map +1 -1
  23. package/dist/bigconsole/assistant/assistantRuntime.d.ts +52 -0
  24. package/dist/bigconsole/assistant/assistantRuntime.d.ts.map +1 -0
  25. package/dist/bigconsole/assistant/attachmentExtract.d.ts +49 -0
  26. package/dist/bigconsole/assistant/attachmentExtract.d.ts.map +1 -0
  27. package/dist/bigconsole/assistant/conversationHistoryApi.d.ts +38 -0
  28. package/dist/bigconsole/assistant/conversationHistoryApi.d.ts.map +1 -0
  29. package/dist/bigconsole/assistant/createSandboxAssistantTransport.d.ts +67 -0
  30. package/dist/bigconsole/assistant/createSandboxAssistantTransport.d.ts.map +1 -0
  31. package/dist/bigconsole/assistant/index.d.ts +33 -0
  32. package/dist/bigconsole/assistant/index.d.ts.map +1 -0
  33. package/dist/bigconsole/assistant/modes.d.ts +255 -0
  34. package/dist/bigconsole/assistant/modes.d.ts.map +1 -0
  35. package/dist/bigconsole/assistant/pageContext.d.ts +65 -0
  36. package/dist/bigconsole/assistant/pageContext.d.ts.map +1 -0
  37. package/dist/bigconsole/assistant/previewController.d.ts +33 -0
  38. package/dist/bigconsole/assistant/previewController.d.ts.map +1 -0
  39. package/dist/bigconsole/assistant/previewController.js +28 -19
  40. package/dist/bigconsole/assistant/previewController.js.map +1 -1
  41. package/dist/bigconsole/assistant/previewMutationResult.d.ts +11 -0
  42. package/dist/bigconsole/assistant/previewMutationResult.d.ts.map +1 -0
  43. package/dist/bigconsole/assistant/previewMutationResult.js +59 -0
  44. package/dist/bigconsole/assistant/previewMutationResult.js.map +1 -0
  45. package/dist/bigconsole/assistant/previewRunAction.d.ts +25 -0
  46. package/dist/bigconsole/assistant/previewRunAction.d.ts.map +1 -0
  47. package/dist/bigconsole/assistant/product.d.ts +28 -0
  48. package/dist/bigconsole/assistant/product.d.ts.map +1 -0
  49. package/dist/bigconsole/assistant/types.d.ts +57 -0
  50. package/dist/bigconsole/assistant/types.d.ts.map +1 -0
  51. package/dist/bigconsole/assistant/useAssistantRunWorkspace.d.ts +17 -0
  52. package/dist/bigconsole/assistant/useAssistantRunWorkspace.d.ts.map +1 -0
  53. package/dist/bigconsole/assistant/useAssistantRunWorkspace.js +11 -6
  54. package/dist/bigconsole/assistant/useAssistantRunWorkspace.js.map +1 -1
  55. package/dist/bigconsole/assistant/useWorkspaceWriteAccess.d.ts +36 -0
  56. package/dist/bigconsole/assistant/useWorkspaceWriteAccess.d.ts.map +1 -0
  57. package/dist/bigconsole/components/DrilldownDashboardRenderer.d.ts +13 -0
  58. package/dist/bigconsole/components/DrilldownDashboardRenderer.d.ts.map +1 -0
  59. package/dist/bigconsole/components/DrilldownDashboardRenderer.js +116 -72
  60. package/dist/bigconsole/components/DrilldownDashboardRenderer.js.map +1 -1
  61. package/dist/bigconsole/components/DrilldownModal.d.ts +11 -0
  62. package/dist/bigconsole/components/DrilldownModal.d.ts.map +1 -0
  63. package/dist/bigconsole/components/builder/BuilderCanvas.d.ts +17 -0
  64. package/dist/bigconsole/components/builder/BuilderCanvas.d.ts.map +1 -0
  65. package/dist/bigconsole/components/builder/BuilderTopbar.d.ts +17 -0
  66. package/dist/bigconsole/components/builder/BuilderTopbar.d.ts.map +1 -0
  67. package/dist/bigconsole/components/builder/DashboardEditorShell.d.ts +9 -0
  68. package/dist/bigconsole/components/builder/DashboardEditorShell.d.ts.map +1 -0
  69. package/dist/bigconsole/components/builder/WidgetInspector.d.ts +15 -0
  70. package/dist/bigconsole/components/builder/WidgetInspector.d.ts.map +1 -0
  71. package/dist/bigconsole/components/builder/index.d.ts +5 -0
  72. package/dist/bigconsole/components/builder/index.d.ts.map +1 -0
  73. package/dist/bigconsole/components/builder/inspector/AdvancedSection.d.ts +17 -0
  74. package/dist/bigconsole/components/builder/inspector/AdvancedSection.d.ts.map +1 -0
  75. package/dist/bigconsole/components/builder/inspector/AppearanceSection.d.ts +11 -0
  76. package/dist/bigconsole/components/builder/inspector/AppearanceSection.d.ts.map +1 -0
  77. package/dist/bigconsole/components/builder/inspector/DataBindingSection.d.ts +18 -0
  78. package/dist/bigconsole/components/builder/inspector/DataBindingSection.d.ts.map +1 -0
  79. package/dist/bigconsole/components/builder/inspector/GeneralSection.d.ts +18 -0
  80. package/dist/bigconsole/components/builder/inspector/GeneralSection.d.ts.map +1 -0
  81. package/dist/bigconsole/components/builder/inspector/LayoutSection.d.ts +28 -0
  82. package/dist/bigconsole/components/builder/inspector/LayoutSection.d.ts.map +1 -0
  83. package/dist/bigconsole/components/builder/inspector/index.d.ts +6 -0
  84. package/dist/bigconsole/components/builder/inspector/index.d.ts.map +1 -0
  85. package/dist/bigconsole/components/common/Section.d.ts +77 -0
  86. package/dist/bigconsole/components/common/Section.d.ts.map +1 -0
  87. package/dist/bigconsole/components/common/index.d.ts +4 -0
  88. package/dist/bigconsole/components/common/index.d.ts.map +1 -0
  89. package/dist/bigconsole/components/common/sectionStyles.d.ts +68 -0
  90. package/dist/bigconsole/components/common/sectionStyles.d.ts.map +1 -0
  91. package/dist/bigconsole/components/dashboard/CreateDashboardDialog.d.ts +28 -0
  92. package/dist/bigconsole/components/dashboard/CreateDashboardDialog.d.ts.map +1 -0
  93. package/dist/bigconsole/components/dashboard/DashboardCanvas.d.ts +45 -0
  94. package/dist/bigconsole/components/dashboard/DashboardCanvas.d.ts.map +1 -0
  95. package/dist/bigconsole/components/dashboard/DashboardGrid.d.ts +25 -0
  96. package/dist/bigconsole/components/dashboard/DashboardGrid.d.ts.map +1 -0
  97. package/dist/bigconsole/components/dashboard/DashboardStatusPill.d.ts +12 -0
  98. package/dist/bigconsole/components/dashboard/DashboardStatusPill.d.ts.map +1 -0
  99. package/dist/bigconsole/components/dashboard/DashboardToolbar.d.ts +35 -0
  100. package/dist/bigconsole/components/dashboard/DashboardToolbar.d.ts.map +1 -0
  101. package/dist/bigconsole/components/dashboard/DrilldownBreadcrumb.d.ts +26 -0
  102. package/dist/bigconsole/components/dashboard/DrilldownBreadcrumb.d.ts.map +1 -0
  103. package/dist/bigconsole/components/dashboard/DrilldownBreadcrumb.js +9 -4
  104. package/dist/bigconsole/components/dashboard/DrilldownBreadcrumb.js.map +1 -1
  105. package/dist/bigconsole/components/dashboard/ExportDashboardDialog.d.ts +17 -0
  106. package/dist/bigconsole/components/dashboard/ExportDashboardDialog.d.ts.map +1 -0
  107. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterChip.d.ts +13 -0
  108. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterChip.d.ts.map +1 -0
  109. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterEditor.d.ts +17 -0
  110. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterEditor.d.ts.map +1 -0
  111. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterPresetSelector.d.ts +14 -0
  112. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterPresetSelector.d.ts.map +1 -0
  113. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/GlobalFiltersBar.d.ts +15 -0
  114. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/GlobalFiltersBar.d.ts.map +1 -0
  115. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/index.d.ts +8 -0
  116. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/index.d.ts.map +1 -0
  117. package/dist/bigconsole/components/dashboard/ImportDashboardDialog.d.ts +10 -0
  118. package/dist/bigconsole/components/dashboard/ImportDashboardDialog.d.ts.map +1 -0
  119. package/dist/bigconsole/components/dashboard/LiveBoardBanner.d.ts +12 -0
  120. package/dist/bigconsole/components/dashboard/LiveBoardBanner.d.ts.map +1 -0
  121. package/dist/bigconsole/components/dashboard/LiveCanvasToggle.d.ts +11 -0
  122. package/dist/bigconsole/components/dashboard/LiveCanvasToggle.d.ts.map +1 -0
  123. package/dist/bigconsole/components/dashboard/PageTabsManager/PageTabsManager.d.ts +23 -0
  124. package/dist/bigconsole/components/dashboard/PageTabsManager/PageTabsManager.d.ts.map +1 -0
  125. package/dist/bigconsole/components/dashboard/PageTabsManager/index.d.ts +6 -0
  126. package/dist/bigconsole/components/dashboard/PageTabsManager/index.d.ts.map +1 -0
  127. package/dist/bigconsole/components/dashboard/PublishToStoreDialog.d.ts +14 -0
  128. package/dist/bigconsole/components/dashboard/PublishToStoreDialog.d.ts.map +1 -0
  129. package/dist/bigconsole/components/dashboard/SavedViewsDropdown/SavedViewsDropdown.d.ts +13 -0
  130. package/dist/bigconsole/components/dashboard/SavedViewsDropdown/SavedViewsDropdown.d.ts.map +1 -0
  131. package/dist/bigconsole/components/dashboard/SavedViewsDropdown/index.d.ts +6 -0
  132. package/dist/bigconsole/components/dashboard/SavedViewsDropdown/index.d.ts.map +1 -0
  133. package/dist/bigconsole/components/dashboard/ShareDialog/EmbedTab.d.ts +35 -0
  134. package/dist/bigconsole/components/dashboard/ShareDialog/EmbedTab.d.ts.map +1 -0
  135. package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.d.ts +23 -0
  136. package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.d.ts.map +1 -0
  137. package/dist/bigconsole/components/dashboard/ShareDialog/index.d.ts +6 -0
  138. package/dist/bigconsole/components/dashboard/ShareDialog/index.d.ts.map +1 -0
  139. package/dist/bigconsole/components/dashboard/StoreTemplatePicker.d.ts +13 -0
  140. package/dist/bigconsole/components/dashboard/StoreTemplatePicker.d.ts.map +1 -0
  141. package/dist/bigconsole/components/dashboard/TemplatePicker/TemplatePicker.d.ts +20 -0
  142. package/dist/bigconsole/components/dashboard/TemplatePicker/TemplatePicker.d.ts.map +1 -0
  143. package/dist/bigconsole/components/dashboard/TemplatePicker/index.d.ts +6 -0
  144. package/dist/bigconsole/components/dashboard/TemplatePicker/index.d.ts.map +1 -0
  145. package/dist/bigconsole/components/dashboard/TemplateSetupBanner.d.ts +13 -0
  146. package/dist/bigconsole/components/dashboard/TemplateSetupBanner.d.ts.map +1 -0
  147. package/dist/bigconsole/components/dashboard/WidgetPalette.d.ts +29 -0
  148. package/dist/bigconsole/components/dashboard/WidgetPalette.d.ts.map +1 -0
  149. package/dist/bigconsole/components/dashboard/index.d.ts +24 -0
  150. package/dist/bigconsole/components/dashboard/index.d.ts.map +1 -0
  151. package/dist/bigconsole/components/datasink/CacheTTLSelector.d.ts +24 -0
  152. package/dist/bigconsole/components/datasink/CacheTTLSelector.d.ts.map +1 -0
  153. package/dist/bigconsole/components/datasink/ConfigurationForm.d.ts +21 -0
  154. package/dist/bigconsole/components/datasink/ConfigurationForm.d.ts.map +1 -0
  155. package/dist/bigconsole/components/datasink/DataPreviewPanel.d.ts +20 -0
  156. package/dist/bigconsole/components/datasink/DataPreviewPanel.d.ts.map +1 -0
  157. package/dist/bigconsole/components/datasink/DataSinkCard.d.ts +29 -0
  158. package/dist/bigconsole/components/datasink/DataSinkCard.d.ts.map +1 -0
  159. package/dist/bigconsole/components/datasink/DataSinkDataViewer.d.ts +18 -0
  160. package/dist/bigconsole/components/datasink/DataSinkDataViewer.d.ts.map +1 -0
  161. package/dist/bigconsole/components/datasink/DataSinkDeleteDialog.d.ts +17 -0
  162. package/dist/bigconsole/components/datasink/DataSinkDeleteDialog.d.ts.map +1 -0
  163. package/dist/bigconsole/components/datasink/DataSinkRefreshConfig.d.ts +22 -0
  164. package/dist/bigconsole/components/datasink/DataSinkRefreshConfig.d.ts.map +1 -0
  165. package/dist/bigconsole/components/datasink/DataSinkRefreshDialog.d.ts +17 -0
  166. package/dist/bigconsole/components/datasink/DataSinkRefreshDialog.d.ts.map +1 -0
  167. package/dist/bigconsole/components/datasink/DataSinkStatusBadge.d.ts +13 -0
  168. package/dist/bigconsole/components/datasink/DataSinkStatusBadge.d.ts.map +1 -0
  169. package/dist/bigconsole/components/datasink/DataSinkTableViewer.d.ts +13 -0
  170. package/dist/bigconsole/components/datasink/DataSinkTableViewer.d.ts.map +1 -0
  171. package/dist/bigconsole/components/datasink/ExportDataSinkDialog.d.ts +17 -0
  172. package/dist/bigconsole/components/datasink/ExportDataSinkDialog.d.ts.map +1 -0
  173. package/dist/bigconsole/components/datasink/FluidGridsPanel.d.ts +31 -0
  174. package/dist/bigconsole/components/datasink/FluidGridsPanel.d.ts.map +1 -0
  175. package/dist/bigconsole/components/datasink/ImportDataGuideDialog.d.ts +23 -0
  176. package/dist/bigconsole/components/datasink/ImportDataGuideDialog.d.ts.map +1 -0
  177. package/dist/bigconsole/components/datasink/ImportDataSinkDialog.d.ts +10 -0
  178. package/dist/bigconsole/components/datasink/ImportDataSinkDialog.d.ts.map +1 -0
  179. package/dist/bigconsole/components/datasink/LinkedParsersPanel.d.ts +12 -0
  180. package/dist/bigconsole/components/datasink/LinkedParsersPanel.d.ts.map +1 -0
  181. package/dist/bigconsole/components/datasink/LinkedWorkflowsPanel.d.ts +11 -0
  182. package/dist/bigconsole/components/datasink/LinkedWorkflowsPanel.d.ts.map +1 -0
  183. package/dist/bigconsole/components/datasink/RefreshTypeSelector.d.ts +26 -0
  184. package/dist/bigconsole/components/datasink/RefreshTypeSelector.d.ts.map +1 -0
  185. package/dist/bigconsole/components/datasink/SetupStateBadge.d.ts +13 -0
  186. package/dist/bigconsole/components/datasink/SetupStateBadge.d.ts.map +1 -0
  187. package/dist/bigconsole/components/datasink/WorkflowStatusPanel.d.ts +30 -0
  188. package/dist/bigconsole/components/datasink/WorkflowStatusPanel.d.ts.map +1 -0
  189. package/dist/bigconsole/components/datasink/index.d.ts +24 -0
  190. package/dist/bigconsole/components/datasink/index.d.ts.map +1 -0
  191. package/dist/bigconsole/components/embed/EmbedErrorBoundary.d.ts +18 -0
  192. package/dist/bigconsole/components/embed/EmbedErrorBoundary.d.ts.map +1 -0
  193. package/dist/bigconsole/components/embed/EmbedWidgetRenderer.d.ts +6 -0
  194. package/dist/bigconsole/components/embed/EmbedWidgetRenderer.d.ts.map +1 -0
  195. package/dist/bigconsole/components/embed/ReadOnlyDashboardRenderer.d.ts +14 -0
  196. package/dist/bigconsole/components/embed/ReadOnlyDashboardRenderer.d.ts.map +1 -0
  197. package/dist/bigconsole/components/embed/ReadOnlyDashboardRenderer.js +68 -40
  198. package/dist/bigconsole/components/embed/ReadOnlyDashboardRenderer.js.map +1 -1
  199. package/dist/bigconsole/components/embed/drilldown.d.ts +5 -0
  200. package/dist/bigconsole/components/embed/drilldown.d.ts.map +1 -0
  201. package/dist/bigconsole/components/embed/drilldown.js +26 -0
  202. package/dist/bigconsole/components/embed/drilldown.js.map +1 -0
  203. package/dist/bigconsole/components/embed/index.d.ts +16 -0
  204. package/dist/bigconsole/components/embed/index.d.ts.map +1 -0
  205. package/dist/bigconsole/components/embed/index.js +4 -3
  206. package/dist/bigconsole/components/embed/renderer-manifest.d.ts +23 -0
  207. package/dist/bigconsole/components/embed/renderer-manifest.d.ts.map +1 -0
  208. package/dist/bigconsole/components/embed/types.d.ts +106 -0
  209. package/dist/bigconsole/components/embed/types.d.ts.map +1 -0
  210. package/dist/bigconsole/components/embed/types.js.map +1 -1
  211. package/dist/bigconsole/components/embed/validate.d.ts +4 -0
  212. package/dist/bigconsole/components/embed/validate.d.ts.map +1 -0
  213. package/dist/bigconsole/components/embed/widgetShim.d.ts +5 -0
  214. package/dist/bigconsole/components/embed/widgetShim.d.ts.map +1 -0
  215. package/dist/bigconsole/components/embed/widgets/CalendarEmbed.d.ts +4 -0
  216. package/dist/bigconsole/components/embed/widgets/CalendarEmbed.d.ts.map +1 -0
  217. package/dist/bigconsole/components/embed/widgets/ChartEmbed.d.ts +10 -0
  218. package/dist/bigconsole/components/embed/widgets/ChartEmbed.d.ts.map +1 -0
  219. package/dist/bigconsole/components/embed/widgets/EmbedFrame.d.ts +7 -0
  220. package/dist/bigconsole/components/embed/widgets/EmbedFrame.d.ts.map +1 -0
  221. package/dist/bigconsole/components/embed/widgets/FormEmbed.d.ts +4 -0
  222. package/dist/bigconsole/components/embed/widgets/FormEmbed.d.ts.map +1 -0
  223. package/dist/bigconsole/components/embed/widgets/GaugeEmbed.d.ts +4 -0
  224. package/dist/bigconsole/components/embed/widgets/GaugeEmbed.d.ts.map +1 -0
  225. package/dist/bigconsole/components/embed/widgets/HeatmapEmbed.d.ts +4 -0
  226. package/dist/bigconsole/components/embed/widgets/HeatmapEmbed.d.ts.map +1 -0
  227. package/dist/bigconsole/components/embed/widgets/KanbanEmbed.d.ts +4 -0
  228. package/dist/bigconsole/components/embed/widgets/KanbanEmbed.d.ts.map +1 -0
  229. package/dist/bigconsole/components/embed/widgets/KpiComparisonEmbed.d.ts +4 -0
  230. package/dist/bigconsole/components/embed/widgets/KpiComparisonEmbed.d.ts.map +1 -0
  231. package/dist/bigconsole/components/embed/widgets/ListEmbed.d.ts +4 -0
  232. package/dist/bigconsole/components/embed/widgets/ListEmbed.d.ts.map +1 -0
  233. package/dist/bigconsole/components/embed/widgets/MetricCardEmbed.d.ts +4 -0
  234. package/dist/bigconsole/components/embed/widgets/MetricCardEmbed.d.ts.map +1 -0
  235. package/dist/bigconsole/components/embed/widgets/PivotEmbed.d.ts +4 -0
  236. package/dist/bigconsole/components/embed/widgets/PivotEmbed.d.ts.map +1 -0
  237. package/dist/bigconsole/components/embed/widgets/ProgressEmbed.d.ts +4 -0
  238. package/dist/bigconsole/components/embed/widgets/ProgressEmbed.d.ts.map +1 -0
  239. package/dist/bigconsole/components/embed/widgets/RetentionEmbed.d.ts +4 -0
  240. package/dist/bigconsole/components/embed/widgets/RetentionEmbed.d.ts.map +1 -0
  241. package/dist/bigconsole/components/embed/widgets/TableEmbed.d.ts +4 -0
  242. package/dist/bigconsole/components/embed/widgets/TableEmbed.d.ts.map +1 -0
  243. package/dist/bigconsole/components/embed/widgets/TextEmbed.d.ts +4 -0
  244. package/dist/bigconsole/components/embed/widgets/TextEmbed.d.ts.map +1 -0
  245. package/dist/bigconsole/components/embed/widgets/TimelineEmbed.d.ts +4 -0
  246. package/dist/bigconsole/components/embed/widgets/TimelineEmbed.d.ts.map +1 -0
  247. package/dist/bigconsole/components/embed/widgets/shared.d.ts +37 -0
  248. package/dist/bigconsole/components/embed/widgets/shared.d.ts.map +1 -0
  249. package/dist/bigconsole/components/overview/DashboardGuide.d.ts +27 -0
  250. package/dist/bigconsole/components/overview/DashboardGuide.d.ts.map +1 -0
  251. package/dist/bigconsole/components/overview/DataHealthCard.d.ts +18 -0
  252. package/dist/bigconsole/components/overview/DataHealthCard.d.ts.map +1 -0
  253. package/dist/bigconsole/components/overview/OverviewQuickActions.d.ts +16 -0
  254. package/dist/bigconsole/components/overview/OverviewQuickActions.d.ts.map +1 -0
  255. package/dist/bigconsole/components/overview/OverviewStatCard.d.ts +18 -0
  256. package/dist/bigconsole/components/overview/OverviewStatCard.d.ts.map +1 -0
  257. package/dist/bigconsole/components/overview/RecentDashboardsPanel.d.ts +19 -0
  258. package/dist/bigconsole/components/overview/RecentDashboardsPanel.d.ts.map +1 -0
  259. package/dist/bigconsole/components/overview/dashboardGuideSteps.d.ts +79 -0
  260. package/dist/bigconsole/components/overview/dashboardGuideSteps.d.ts.map +1 -0
  261. package/dist/bigconsole/components/overview/index.d.ts +14 -0
  262. package/dist/bigconsole/components/overview/index.d.ts.map +1 -0
  263. package/dist/bigconsole/components/overview/overviewModel.d.ts +124 -0
  264. package/dist/bigconsole/components/overview/overviewModel.d.ts.map +1 -0
  265. package/dist/bigconsole/components/overview/useOverviewData.d.ts +22 -0
  266. package/dist/bigconsole/components/overview/useOverviewData.d.ts.map +1 -0
  267. package/dist/bigconsole/components/parser/DataSinkSelector.d.ts +21 -0
  268. package/dist/bigconsole/components/parser/DataSinkSelector.d.ts.map +1 -0
  269. package/dist/bigconsole/components/parser/ExportParserDialog.d.ts +17 -0
  270. package/dist/bigconsole/components/parser/ExportParserDialog.d.ts.map +1 -0
  271. package/dist/bigconsole/components/parser/ExpressionEditor.d.ts +25 -0
  272. package/dist/bigconsole/components/parser/ExpressionEditor.d.ts.map +1 -0
  273. package/dist/bigconsole/components/parser/ImportParserDialog.d.ts +12 -0
  274. package/dist/bigconsole/components/parser/ImportParserDialog.d.ts.map +1 -0
  275. package/dist/bigconsole/components/parser/ParserBuilder.d.ts +41 -0
  276. package/dist/bigconsole/components/parser/ParserBuilder.d.ts.map +1 -0
  277. package/dist/bigconsole/components/parser/ParserCard.d.ts +23 -0
  278. package/dist/bigconsole/components/parser/ParserCard.d.ts.map +1 -0
  279. package/dist/bigconsole/components/parser/ParserFormDialog.d.ts +42 -0
  280. package/dist/bigconsole/components/parser/ParserFormDialog.d.ts.map +1 -0
  281. package/dist/bigconsole/components/parser/ParserSelector.d.ts +27 -0
  282. package/dist/bigconsole/components/parser/ParserSelector.d.ts.map +1 -0
  283. package/dist/bigconsole/components/parser/ParserStatusBadge.d.ts +13 -0
  284. package/dist/bigconsole/components/parser/ParserStatusBadge.d.ts.map +1 -0
  285. package/dist/bigconsole/components/parser/ParserTypeBadge.d.ts +11 -0
  286. package/dist/bigconsole/components/parser/ParserTypeBadge.d.ts.map +1 -0
  287. package/dist/bigconsole/components/parser/TestPanel.d.ts +25 -0
  288. package/dist/bigconsole/components/parser/TestPanel.d.ts.map +1 -0
  289. package/dist/bigconsole/components/parser/index.d.ts +17 -0
  290. package/dist/bigconsole/components/parser/index.d.ts.map +1 -0
  291. package/dist/bigconsole/components/parser/parserFieldStyles.d.ts +17 -0
  292. package/dist/bigconsole/components/parser/parserFieldStyles.d.ts.map +1 -0
  293. package/dist/bigconsole/components/pipeline/PipelineCard.d.ts +12 -0
  294. package/dist/bigconsole/components/pipeline/PipelineCard.d.ts.map +1 -0
  295. package/dist/bigconsole/components/pipeline/PipelineDeleteDialog.d.ts +11 -0
  296. package/dist/bigconsole/components/pipeline/PipelineDeleteDialog.d.ts.map +1 -0
  297. package/dist/bigconsole/components/pipeline/PipelineStatusBadge.d.ts +9 -0
  298. package/dist/bigconsole/components/pipeline/PipelineStatusBadge.d.ts.map +1 -0
  299. package/dist/bigconsole/components/pipeline/index.d.ts +9 -0
  300. package/dist/bigconsole/components/pipeline/index.d.ts.map +1 -0
  301. package/dist/bigconsole/components/preview/AiPreviewContent.d.ts +30 -0
  302. package/dist/bigconsole/components/preview/AiPreviewContent.d.ts.map +1 -0
  303. package/dist/bigconsole/components/preview/AiPreviewContent.js +80 -69
  304. package/dist/bigconsole/components/preview/AiPreviewContent.js.map +1 -1
  305. package/dist/bigconsole/components/preview/AiPreviewMiniPanel.d.ts +11 -0
  306. package/dist/bigconsole/components/preview/AiPreviewMiniPanel.d.ts.map +1 -0
  307. package/dist/bigconsole/components/preview/AiPreviewPanel.d.ts +2 -0
  308. package/dist/bigconsole/components/preview/AiPreviewPanel.d.ts.map +1 -0
  309. package/dist/bigconsole/components/preview/AiPreviewPanel.js +4 -1
  310. package/dist/bigconsole/components/preview/AiPreviewPanel.js.map +1 -1
  311. package/dist/bigconsole/components/preview/previewShared.d.ts +134 -0
  312. package/dist/bigconsole/components/preview/previewShared.d.ts.map +1 -0
  313. package/dist/bigconsole/components/widgets/ActionConfigDialog.d.ts +20 -0
  314. package/dist/bigconsole/components/widgets/ActionConfigDialog.d.ts.map +1 -0
  315. package/dist/bigconsole/components/widgets/DrilldownConfigPanel.d.ts +26 -0
  316. package/dist/bigconsole/components/widgets/DrilldownConfigPanel.d.ts.map +1 -0
  317. package/dist/bigconsole/components/widgets/DrilldownConfigPanel.js +307 -233
  318. package/dist/bigconsole/components/widgets/DrilldownConfigPanel.js.map +1 -1
  319. package/dist/bigconsole/components/widgets/PropertiesPanel.d.ts +9 -0
  320. package/dist/bigconsole/components/widgets/PropertiesPanel.d.ts.map +1 -0
  321. package/dist/bigconsole/components/widgets/PropertiesPanel.js +230 -220
  322. package/dist/bigconsole/components/widgets/PropertiesPanel.js.map +1 -1
  323. package/dist/bigconsole/components/widgets/WidgetErrorBoundary.d.ts +23 -0
  324. package/dist/bigconsole/components/widgets/WidgetErrorBoundary.d.ts.map +1 -0
  325. package/dist/bigconsole/components/widgets/WidgetHeader.d.ts +43 -0
  326. package/dist/bigconsole/components/widgets/WidgetHeader.d.ts.map +1 -0
  327. package/dist/bigconsole/components/widgets/WidgetMenu.d.ts +18 -0
  328. package/dist/bigconsole/components/widgets/WidgetMenu.d.ts.map +1 -0
  329. package/dist/bigconsole/components/widgets/WidgetRegistry.d.ts +131 -0
  330. package/dist/bigconsole/components/widgets/WidgetRegistry.d.ts.map +1 -0
  331. package/dist/bigconsole/components/widgets/WidgetTypeSelector.d.ts +22 -0
  332. package/dist/bigconsole/components/widgets/WidgetTypeSelector.d.ts.map +1 -0
  333. package/dist/bigconsole/components/widgets/WidgetWrapper.d.ts +31 -0
  334. package/dist/bigconsole/components/widgets/WidgetWrapper.d.ts.map +1 -0
  335. package/dist/bigconsole/components/widgets/WidgetWrapper.js +18 -19
  336. package/dist/bigconsole/components/widgets/WidgetWrapper.js.map +1 -1
  337. package/dist/bigconsole/components/widgets/actionConfig.d.ts +36 -0
  338. package/dist/bigconsole/components/widgets/actionConfig.d.ts.map +1 -0
  339. package/dist/bigconsole/components/widgets/adaptive-card/AdaptiveCardWidget.d.ts +38 -0
  340. package/dist/bigconsole/components/widgets/adaptive-card/AdaptiveCardWidget.d.ts.map +1 -0
  341. package/dist/bigconsole/components/widgets/adaptive-card/index.d.ts +7 -0
  342. package/dist/bigconsole/components/widgets/adaptive-card/index.d.ts.map +1 -0
  343. package/dist/bigconsole/components/widgets/calendar/CalendarView.d.ts +43 -0
  344. package/dist/bigconsole/components/widgets/calendar/CalendarView.d.ts.map +1 -0
  345. package/dist/bigconsole/components/widgets/calendar/CalendarWidget.d.ts +7 -0
  346. package/dist/bigconsole/components/widgets/calendar/CalendarWidget.d.ts.map +1 -0
  347. package/dist/bigconsole/components/widgets/calendar/index.d.ts +3 -0
  348. package/dist/bigconsole/components/widgets/calendar/index.d.ts.map +1 -0
  349. package/dist/bigconsole/components/widgets/chart/ChartConfig.d.ts +12 -0
  350. package/dist/bigconsole/components/widgets/chart/ChartConfig.d.ts.map +1 -0
  351. package/dist/bigconsole/components/widgets/chart/ChartLegend.d.ts +25 -0
  352. package/dist/bigconsole/components/widgets/chart/ChartLegend.d.ts.map +1 -0
  353. package/dist/bigconsole/components/widgets/chart/ChartTooltip.d.ts +24 -0
  354. package/dist/bigconsole/components/widgets/chart/ChartTooltip.d.ts.map +1 -0
  355. package/dist/bigconsole/components/widgets/chart/ChartWidget.d.ts +17 -0
  356. package/dist/bigconsole/components/widgets/chart/ChartWidget.d.ts.map +1 -0
  357. package/dist/bigconsole/components/widgets/chart/charts/AreaChart.d.ts +16 -0
  358. package/dist/bigconsole/components/widgets/chart/charts/AreaChart.d.ts.map +1 -0
  359. package/dist/bigconsole/components/widgets/chart/charts/BarChart.d.ts +16 -0
  360. package/dist/bigconsole/components/widgets/chart/charts/BarChart.d.ts.map +1 -0
  361. package/dist/bigconsole/components/widgets/chart/charts/ComboChart.d.ts +12 -0
  362. package/dist/bigconsole/components/widgets/chart/charts/ComboChart.d.ts.map +1 -0
  363. package/dist/bigconsole/components/widgets/chart/charts/FunnelChart.d.ts +18 -0
  364. package/dist/bigconsole/components/widgets/chart/charts/FunnelChart.d.ts.map +1 -0
  365. package/dist/bigconsole/components/widgets/chart/charts/LineChart.d.ts +16 -0
  366. package/dist/bigconsole/components/widgets/chart/charts/LineChart.d.ts.map +1 -0
  367. package/dist/bigconsole/components/widgets/chart/charts/PieChart.d.ts +18 -0
  368. package/dist/bigconsole/components/widgets/chart/charts/PieChart.d.ts.map +1 -0
  369. package/dist/bigconsole/components/widgets/chart/charts/ScatterChart.d.ts +12 -0
  370. package/dist/bigconsole/components/widgets/chart/charts/ScatterChart.d.ts.map +1 -0
  371. package/dist/bigconsole/components/widgets/chart/charts/WaterfallChart.d.ts +12 -0
  372. package/dist/bigconsole/components/widgets/chart/charts/WaterfallChart.d.ts.map +1 -0
  373. package/dist/bigconsole/components/widgets/chart/charts/index.d.ts +16 -0
  374. package/dist/bigconsole/components/widgets/chart/charts/index.d.ts.map +1 -0
  375. package/dist/bigconsole/components/widgets/chart/charts/referenceElements.d.ts +19 -0
  376. package/dist/bigconsole/components/widgets/chart/charts/referenceElements.d.ts.map +1 -0
  377. package/dist/bigconsole/components/widgets/chart/charts/types.d.ts +89 -0
  378. package/dist/bigconsole/components/widgets/chart/charts/types.d.ts.map +1 -0
  379. package/dist/bigconsole/components/widgets/chart/index.d.ts +11 -0
  380. package/dist/bigconsole/components/widgets/chart/index.d.ts.map +1 -0
  381. package/dist/bigconsole/components/widgets/comments/WidgetComments.d.ts +10 -0
  382. package/dist/bigconsole/components/widgets/comments/WidgetComments.d.ts.map +1 -0
  383. package/dist/bigconsole/components/widgets/custom/CustomWidget.d.ts +13 -0
  384. package/dist/bigconsole/components/widgets/custom/CustomWidget.d.ts.map +1 -0
  385. package/dist/bigconsole/components/widgets/custom/config.d.ts +9 -0
  386. package/dist/bigconsole/components/widgets/custom/config.d.ts.map +1 -0
  387. package/dist/bigconsole/components/widgets/custom/index.d.ts +8 -0
  388. package/dist/bigconsole/components/widgets/custom/index.d.ts.map +1 -0
  389. package/dist/bigconsole/components/widgets/custom/utils.d.ts +4 -0
  390. package/dist/bigconsole/components/widgets/custom/utils.d.ts.map +1 -0
  391. package/dist/bigconsole/components/widgets/event-logs/EventLogViewer.d.ts +16 -0
  392. package/dist/bigconsole/components/widgets/event-logs/EventLogViewer.d.ts.map +1 -0
  393. package/dist/bigconsole/components/widgets/event-logs/index.d.ts +6 -0
  394. package/dist/bigconsole/components/widgets/event-logs/index.d.ts.map +1 -0
  395. package/dist/bigconsole/components/widgets/form/FormWidget.d.ts +46 -0
  396. package/dist/bigconsole/components/widgets/form/FormWidget.d.ts.map +1 -0
  397. package/dist/bigconsole/components/widgets/form/index.d.ts +6 -0
  398. package/dist/bigconsole/components/widgets/form/index.d.ts.map +1 -0
  399. package/dist/bigconsole/components/widgets/funnel/index.d.ts +12 -0
  400. package/dist/bigconsole/components/widgets/funnel/index.d.ts.map +1 -0
  401. package/dist/bigconsole/components/widgets/gauge/CircularGauge.d.ts +42 -0
  402. package/dist/bigconsole/components/widgets/gauge/CircularGauge.d.ts.map +1 -0
  403. package/dist/bigconsole/components/widgets/gauge/GaugeConfig.d.ts +12 -0
  404. package/dist/bigconsole/components/widgets/gauge/GaugeConfig.d.ts.map +1 -0
  405. package/dist/bigconsole/components/widgets/gauge/GaugeWidget.d.ts +22 -0
  406. package/dist/bigconsole/components/widgets/gauge/GaugeWidget.d.ts.map +1 -0
  407. package/dist/bigconsole/components/widgets/gauge/LinearGauge.d.ts +28 -0
  408. package/dist/bigconsole/components/widgets/gauge/LinearGauge.d.ts.map +1 -0
  409. package/dist/bigconsole/components/widgets/gauge/index.d.ts +10 -0
  410. package/dist/bigconsole/components/widgets/gauge/index.d.ts.map +1 -0
  411. package/dist/bigconsole/components/widgets/heatmap/HeatmapConfig.d.ts +12 -0
  412. package/dist/bigconsole/components/widgets/heatmap/HeatmapConfig.d.ts.map +1 -0
  413. package/dist/bigconsole/components/widgets/heatmap/HeatmapWidget.d.ts +38 -0
  414. package/dist/bigconsole/components/widgets/heatmap/HeatmapWidget.d.ts.map +1 -0
  415. package/dist/bigconsole/components/widgets/heatmap/index.d.ts +8 -0
  416. package/dist/bigconsole/components/widgets/heatmap/index.d.ts.map +1 -0
  417. package/dist/bigconsole/components/widgets/iframe-widget/IframeWidget.d.ts +31 -0
  418. package/dist/bigconsole/components/widgets/iframe-widget/IframeWidget.d.ts.map +1 -0
  419. package/dist/bigconsole/components/widgets/iframe-widget/index.d.ts +3 -0
  420. package/dist/bigconsole/components/widgets/iframe-widget/index.d.ts.map +1 -0
  421. package/dist/bigconsole/components/widgets/index.d.ts +35 -0
  422. package/dist/bigconsole/components/widgets/index.d.ts.map +1 -0
  423. package/dist/bigconsole/components/widgets/kanban/KanbanView.d.ts +34 -0
  424. package/dist/bigconsole/components/widgets/kanban/KanbanView.d.ts.map +1 -0
  425. package/dist/bigconsole/components/widgets/kanban/KanbanWidget.d.ts +7 -0
  426. package/dist/bigconsole/components/widgets/kanban/KanbanWidget.d.ts.map +1 -0
  427. package/dist/bigconsole/components/widgets/kanban/index.d.ts +3 -0
  428. package/dist/bigconsole/components/widgets/kanban/index.d.ts.map +1 -0
  429. package/dist/bigconsole/components/widgets/kpi/KPIWidget.d.ts +23 -0
  430. package/dist/bigconsole/components/widgets/kpi/KPIWidget.d.ts.map +1 -0
  431. package/dist/bigconsole/components/widgets/kpi/index.d.ts +7 -0
  432. package/dist/bigconsole/components/widgets/kpi/index.d.ts.map +1 -0
  433. package/dist/bigconsole/components/widgets/kpi-comparison/KPIComparisonWidget.d.ts +28 -0
  434. package/dist/bigconsole/components/widgets/kpi-comparison/KPIComparisonWidget.d.ts.map +1 -0
  435. package/dist/bigconsole/components/widgets/kpi-comparison/index.d.ts +3 -0
  436. package/dist/bigconsole/components/widgets/kpi-comparison/index.d.ts.map +1 -0
  437. package/dist/bigconsole/components/widgets/list/ListConfig.d.ts +12 -0
  438. package/dist/bigconsole/components/widgets/list/ListConfig.d.ts.map +1 -0
  439. package/dist/bigconsole/components/widgets/list/ListItem.d.ts +39 -0
  440. package/dist/bigconsole/components/widgets/list/ListItem.d.ts.map +1 -0
  441. package/dist/bigconsole/components/widgets/list/ListWidget.d.ts +17 -0
  442. package/dist/bigconsole/components/widgets/list/ListWidget.d.ts.map +1 -0
  443. package/dist/bigconsole/components/widgets/list/index.d.ts +9 -0
  444. package/dist/bigconsole/components/widgets/list/index.d.ts.map +1 -0
  445. package/dist/bigconsole/components/widgets/map-widget/MapWidget.d.ts +52 -0
  446. package/dist/bigconsole/components/widgets/map-widget/MapWidget.d.ts.map +1 -0
  447. package/dist/bigconsole/components/widgets/map-widget/index.d.ts +3 -0
  448. package/dist/bigconsole/components/widgets/map-widget/index.d.ts.map +1 -0
  449. package/dist/bigconsole/components/widgets/metric-card/ComparisonBadge.d.ts +15 -0
  450. package/dist/bigconsole/components/widgets/metric-card/ComparisonBadge.d.ts.map +1 -0
  451. package/dist/bigconsole/components/widgets/metric-card/MetricCardConfig.d.ts +12 -0
  452. package/dist/bigconsole/components/widgets/metric-card/MetricCardConfig.d.ts.map +1 -0
  453. package/dist/bigconsole/components/widgets/metric-card/MetricCardWidget.d.ts +36 -0
  454. package/dist/bigconsole/components/widgets/metric-card/MetricCardWidget.d.ts.map +1 -0
  455. package/dist/bigconsole/components/widgets/metric-card/SparklineChart.d.ts +23 -0
  456. package/dist/bigconsole/components/widgets/metric-card/SparklineChart.d.ts.map +1 -0
  457. package/dist/bigconsole/components/widgets/metric-card/TrendIndicator.d.ts +14 -0
  458. package/dist/bigconsole/components/widgets/metric-card/TrendIndicator.d.ts.map +1 -0
  459. package/dist/bigconsole/components/widgets/metric-card/index.d.ts +11 -0
  460. package/dist/bigconsole/components/widgets/metric-card/index.d.ts.map +1 -0
  461. package/dist/bigconsole/components/widgets/pivot-table/PivotTableWidget.d.ts +26 -0
  462. package/dist/bigconsole/components/widgets/pivot-table/PivotTableWidget.d.ts.map +1 -0
  463. package/dist/bigconsole/components/widgets/pivot-table/index.d.ts +6 -0
  464. package/dist/bigconsole/components/widgets/pivot-table/index.d.ts.map +1 -0
  465. package/dist/bigconsole/components/widgets/progress/ProgressBar.d.ts +29 -0
  466. package/dist/bigconsole/components/widgets/progress/ProgressBar.d.ts.map +1 -0
  467. package/dist/bigconsole/components/widgets/progress/ProgressConfig.d.ts +12 -0
  468. package/dist/bigconsole/components/widgets/progress/ProgressConfig.d.ts.map +1 -0
  469. package/dist/bigconsole/components/widgets/progress/ProgressWidget.d.ts +28 -0
  470. package/dist/bigconsole/components/widgets/progress/ProgressWidget.d.ts.map +1 -0
  471. package/dist/bigconsole/components/widgets/progress/index.d.ts +9 -0
  472. package/dist/bigconsole/components/widgets/progress/index.d.ts.map +1 -0
  473. package/dist/bigconsole/components/widgets/retention/RetentionWidget.d.ts +25 -0
  474. package/dist/bigconsole/components/widgets/retention/RetentionWidget.d.ts.map +1 -0
  475. package/dist/bigconsole/components/widgets/retention/index.d.ts +7 -0
  476. package/dist/bigconsole/components/widgets/retention/index.d.ts.map +1 -0
  477. package/dist/bigconsole/components/widgets/states/EmptyState.d.ts +20 -0
  478. package/dist/bigconsole/components/widgets/states/EmptyState.d.ts.map +1 -0
  479. package/dist/bigconsole/components/widgets/states/ErrorState.d.ts +11 -0
  480. package/dist/bigconsole/components/widgets/states/ErrorState.d.ts.map +1 -0
  481. package/dist/bigconsole/components/widgets/states/LoadingState.d.ts +9 -0
  482. package/dist/bigconsole/components/widgets/states/LoadingState.d.ts.map +1 -0
  483. package/dist/bigconsole/components/widgets/states/index.d.ts +9 -0
  484. package/dist/bigconsole/components/widgets/states/index.d.ts.map +1 -0
  485. package/dist/bigconsole/components/widgets/table/TableCell.d.ts +42 -0
  486. package/dist/bigconsole/components/widgets/table/TableCell.d.ts.map +1 -0
  487. package/dist/bigconsole/components/widgets/table/TableConfig.d.ts +12 -0
  488. package/dist/bigconsole/components/widgets/table/TableConfig.d.ts.map +1 -0
  489. package/dist/bigconsole/components/widgets/table/TableHeader.d.ts +42 -0
  490. package/dist/bigconsole/components/widgets/table/TableHeader.d.ts.map +1 -0
  491. package/dist/bigconsole/components/widgets/table/TablePagination.d.ts +23 -0
  492. package/dist/bigconsole/components/widgets/table/TablePagination.d.ts.map +1 -0
  493. package/dist/bigconsole/components/widgets/table/TableWidget.d.ts +16 -0
  494. package/dist/bigconsole/components/widgets/table/TableWidget.d.ts.map +1 -0
  495. package/dist/bigconsole/components/widgets/table/cellLink.d.ts +37 -0
  496. package/dist/bigconsole/components/widgets/table/cellLink.d.ts.map +1 -0
  497. package/dist/bigconsole/components/widgets/table/index.d.ts +11 -0
  498. package/dist/bigconsole/components/widgets/table/index.d.ts.map +1 -0
  499. package/dist/bigconsole/components/widgets/text-widget/TextWidget.d.ts +11 -0
  500. package/dist/bigconsole/components/widgets/text-widget/TextWidget.d.ts.map +1 -0
  501. package/dist/bigconsole/components/widgets/text-widget/index.d.ts +4 -0
  502. package/dist/bigconsole/components/widgets/text-widget/index.d.ts.map +1 -0
  503. package/dist/bigconsole/components/widgets/text-widget/textData.d.ts +32 -0
  504. package/dist/bigconsole/components/widgets/text-widget/textData.d.ts.map +1 -0
  505. package/dist/bigconsole/components/widgets/timeline/TimelineWidget.d.ts +42 -0
  506. package/dist/bigconsole/components/widgets/timeline/TimelineWidget.d.ts.map +1 -0
  507. package/dist/bigconsole/components/widgets/timeline/index.d.ts +3 -0
  508. package/dist/bigconsole/components/widgets/timeline/index.d.ts.map +1 -0
  509. package/dist/bigconsole/components/widgets/utils/conditionalFormat.d.ts +74 -0
  510. package/dist/bigconsole/components/widgets/utils/conditionalFormat.d.ts.map +1 -0
  511. package/dist/bigconsole/components/widgets/utils/inferFields.d.ts +45 -0
  512. package/dist/bigconsole/components/widgets/utils/inferFields.d.ts.map +1 -0
  513. package/dist/bigconsole/components/widgets/utils/targetProgress.d.ts +26 -0
  514. package/dist/bigconsole/components/widgets/utils/targetProgress.d.ts.map +1 -0
  515. package/dist/bigconsole/components/widgets/utils/translate.d.ts +14 -0
  516. package/dist/bigconsole/components/widgets/utils/translate.d.ts.map +1 -0
  517. package/dist/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.d.ts +16 -0
  518. package/dist/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.d.ts.map +1 -0
  519. package/dist/bigconsole/components/widgets/webhook-config/index.d.ts +6 -0
  520. package/dist/bigconsole/components/widgets/webhook-config/index.d.ts.map +1 -0
  521. package/dist/bigconsole/components/widgets/widget-actions/WidgetActions.d.ts +26 -0
  522. package/dist/bigconsole/components/widgets/widget-actions/WidgetActions.d.ts.map +1 -0
  523. package/dist/bigconsole/components/widgets/widget-actions/index.d.ts +8 -0
  524. package/dist/bigconsole/components/widgets/widget-actions/index.d.ts.map +1 -0
  525. package/dist/bigconsole/components/workflow/DataSinkMultiSelector.d.ts +24 -0
  526. package/dist/bigconsole/components/workflow/DataSinkMultiSelector.d.ts.map +1 -0
  527. package/dist/bigconsole/components/workflow/WorkflowCard.d.ts +18 -0
  528. package/dist/bigconsole/components/workflow/WorkflowCard.d.ts.map +1 -0
  529. package/dist/bigconsole/components/workflow/WorkflowDeleteDialog.d.ts +11 -0
  530. package/dist/bigconsole/components/workflow/WorkflowDeleteDialog.d.ts.map +1 -0
  531. package/dist/bigconsole/components/workflow/WorkflowStatusBadge.d.ts +13 -0
  532. package/dist/bigconsole/components/workflow/WorkflowStatusBadge.d.ts.map +1 -0
  533. package/dist/bigconsole/components/workflow/index.d.ts +10 -0
  534. package/dist/bigconsole/components/workflow/index.d.ts.map +1 -0
  535. package/dist/bigconsole/constants/backendErrors.d.ts +22 -0
  536. package/dist/bigconsole/constants/backendErrors.d.ts.map +1 -0
  537. package/dist/bigconsole/constants.d.ts +15 -0
  538. package/dist/bigconsole/constants.d.ts.map +1 -0
  539. package/dist/bigconsole/context/BigConsoleContext.d.ts +30 -0
  540. package/dist/bigconsole/context/BigConsoleContext.d.ts.map +1 -0
  541. package/dist/bigconsole/context/BigConsoleContext.js +4 -1
  542. package/dist/bigconsole/context/BigConsoleContext.js.map +1 -1
  543. package/dist/bigconsole/context/index.d.ts +2 -0
  544. package/dist/bigconsole/context/index.d.ts.map +1 -0
  545. package/dist/bigconsole/contexts/CrossFilterContext.d.ts +48 -0
  546. package/dist/bigconsole/contexts/CrossFilterContext.d.ts.map +1 -0
  547. package/dist/bigconsole/contexts/NavigationContext.d.ts +45 -0
  548. package/dist/bigconsole/contexts/NavigationContext.d.ts.map +1 -0
  549. package/dist/bigconsole/contexts/index.d.ts +8 -0
  550. package/dist/bigconsole/contexts/index.d.ts.map +1 -0
  551. package/dist/bigconsole/customWidget/CustomWidgetBuilderSheet.d.ts +14 -0
  552. package/dist/bigconsole/customWidget/CustomWidgetBuilderSheet.d.ts.map +1 -0
  553. package/dist/bigconsole/customWidget/CustomWidgetProposalPanel.d.ts +25 -0
  554. package/dist/bigconsole/customWidget/CustomWidgetProposalPanel.d.ts.map +1 -0
  555. package/dist/bigconsole/customWidget/index.d.ts +12 -0
  556. package/dist/bigconsole/customWidget/index.d.ts.map +1 -0
  557. package/dist/bigconsole/customWidget/proposalContract.d.ts +121 -0
  558. package/dist/bigconsole/customWidget/proposalContract.d.ts.map +1 -0
  559. package/dist/bigconsole/customWidget/proposalSource.d.ts +41 -0
  560. package/dist/bigconsole/customWidget/proposalSource.d.ts.map +1 -0
  561. package/dist/bigconsole/graphql/apollo-compat.d.ts +16 -0
  562. package/dist/bigconsole/graphql/apollo-compat.d.ts.map +1 -0
  563. package/dist/bigconsole/graphql/storeTemplates.d.ts +9 -0
  564. package/dist/bigconsole/graphql/storeTemplates.d.ts.map +1 -0
  565. package/dist/bigconsole/hooks/index.d.ts +41 -0
  566. package/dist/bigconsole/hooks/index.d.ts.map +1 -0
  567. package/dist/bigconsole/hooks/useActivePage.d.ts +37 -0
  568. package/dist/bigconsole/hooks/useActivePage.d.ts.map +1 -0
  569. package/dist/bigconsole/hooks/useActivePage.js +25 -0
  570. package/dist/bigconsole/hooks/useActivePage.js.map +1 -0
  571. package/dist/bigconsole/hooks/useAutoRefresh.d.ts +51 -0
  572. package/dist/bigconsole/hooks/useAutoRefresh.d.ts.map +1 -0
  573. package/dist/bigconsole/hooks/useBigConsoleAnalytics.d.ts +48 -0
  574. package/dist/bigconsole/hooks/useBigConsoleAnalytics.d.ts.map +1 -0
  575. package/dist/bigconsole/hooks/useCrossFilter.d.ts +79 -0
  576. package/dist/bigconsole/hooks/useCrossFilter.d.ts.map +1 -0
  577. package/dist/bigconsole/hooks/useDashboardEmbedPolicy.d.ts +72 -0
  578. package/dist/bigconsole/hooks/useDashboardEmbedPolicy.d.ts.map +1 -0
  579. package/dist/bigconsole/hooks/useDashboardImageExport.d.ts +18 -0
  580. package/dist/bigconsole/hooks/useDashboardImageExport.d.ts.map +1 -0
  581. package/dist/bigconsole/hooks/useDashboardOperations.d.ts +70 -0
  582. package/dist/bigconsole/hooks/useDashboardOperations.d.ts.map +1 -0
  583. package/dist/bigconsole/hooks/useDashboardSharing.d.ts +60 -0
  584. package/dist/bigconsole/hooks/useDashboardSharing.d.ts.map +1 -0
  585. package/dist/bigconsole/hooks/useDashboardTemplates.d.ts +135 -0
  586. package/dist/bigconsole/hooks/useDashboardTemplates.d.ts.map +1 -0
  587. package/dist/bigconsole/hooks/useDashboardViews.d.ts +58 -0
  588. package/dist/bigconsole/hooks/useDashboardViews.d.ts.map +1 -0
  589. package/dist/bigconsole/hooks/useDataSinkOperations.d.ts +66 -0
  590. package/dist/bigconsole/hooks/useDataSinkOperations.d.ts.map +1 -0
  591. package/dist/bigconsole/hooks/useDataSinkSubscription.d.ts +31 -0
  592. package/dist/bigconsole/hooks/useDataSinkSubscription.d.ts.map +1 -0
  593. package/dist/bigconsole/hooks/useDrilldown.d.ts +65 -0
  594. package/dist/bigconsole/hooks/useDrilldown.d.ts.map +1 -0
  595. package/dist/bigconsole/hooks/useDrilldown.js +118 -71
  596. package/dist/bigconsole/hooks/useDrilldown.js.map +1 -1
  597. package/dist/bigconsole/hooks/useDrilldownOperations.d.ts +42 -0
  598. package/dist/bigconsole/hooks/useDrilldownOperations.d.ts.map +1 -0
  599. package/dist/bigconsole/hooks/useDrilldownOperations.js +32 -26
  600. package/dist/bigconsole/hooks/useDrilldownOperations.js.map +1 -1
  601. package/dist/bigconsole/hooks/useEventLogs.d.ts +94 -0
  602. package/dist/bigconsole/hooks/useEventLogs.d.ts.map +1 -0
  603. package/dist/bigconsole/hooks/useEventWebhooks.d.ts +95 -0
  604. package/dist/bigconsole/hooks/useEventWebhooks.d.ts.map +1 -0
  605. package/dist/bigconsole/hooks/useExportDashboard.d.ts +28 -0
  606. package/dist/bigconsole/hooks/useExportDashboard.d.ts.map +1 -0
  607. package/dist/bigconsole/hooks/useExportDataSink.d.ts +27 -0
  608. package/dist/bigconsole/hooks/useExportDataSink.d.ts.map +1 -0
  609. package/dist/bigconsole/hooks/useExportParser.d.ts +25 -0
  610. package/dist/bigconsole/hooks/useExportParser.d.ts.map +1 -0
  611. package/dist/bigconsole/hooks/useFilterPresets.d.ts +47 -0
  612. package/dist/bigconsole/hooks/useFilterPresets.d.ts.map +1 -0
  613. package/dist/bigconsole/hooks/useFilterUrlSync.d.ts +46 -0
  614. package/dist/bigconsole/hooks/useFilterUrlSync.d.ts.map +1 -0
  615. package/dist/bigconsole/hooks/useFilterUrlSync.js +1 -1
  616. package/dist/bigconsole/hooks/useFilterUrlSync.js.map +1 -1
  617. package/dist/bigconsole/hooks/useGlobalFilters.d.ts +69 -0
  618. package/dist/bigconsole/hooks/useGlobalFilters.d.ts.map +1 -0
  619. package/dist/bigconsole/hooks/useImportDashboard.d.ts +88 -0
  620. package/dist/bigconsole/hooks/useImportDashboard.d.ts.map +1 -0
  621. package/dist/bigconsole/hooks/useImportDataSink.d.ts +74 -0
  622. package/dist/bigconsole/hooks/useImportDataSink.d.ts.map +1 -0
  623. package/dist/bigconsole/hooks/useImportParser.d.ts +77 -0
  624. package/dist/bigconsole/hooks/useImportParser.d.ts.map +1 -0
  625. package/dist/bigconsole/hooks/useInstalledWidgets.d.ts +15 -0
  626. package/dist/bigconsole/hooks/useInstalledWidgets.d.ts.map +1 -0
  627. package/dist/bigconsole/hooks/useModalFocusTrap.d.ts +24 -0
  628. package/dist/bigconsole/hooks/useModalFocusTrap.d.ts.map +1 -0
  629. package/dist/bigconsole/hooks/usePageOperations.d.ts +35 -0
  630. package/dist/bigconsole/hooks/usePageOperations.d.ts.map +1 -0
  631. package/dist/bigconsole/hooks/useParserOperations.d.ts +70 -0
  632. package/dist/bigconsole/hooks/useParserOperations.d.ts.map +1 -0
  633. package/dist/bigconsole/hooks/usePipelineOperations.d.ts +76 -0
  634. package/dist/bigconsole/hooks/usePipelineOperations.d.ts.map +1 -0
  635. package/dist/bigconsole/hooks/useStoreDashboardTemplates.d.ts +122 -0
  636. package/dist/bigconsole/hooks/useStoreDashboardTemplates.d.ts.map +1 -0
  637. package/dist/bigconsole/hooks/useWidgetActions.d.ts +69 -0
  638. package/dist/bigconsole/hooks/useWidgetActions.d.ts.map +1 -0
  639. package/dist/bigconsole/hooks/useWidgetCatalog.d.ts +20 -0
  640. package/dist/bigconsole/hooks/useWidgetCatalog.d.ts.map +1 -0
  641. package/dist/bigconsole/hooks/useWidgetComments.d.ts +24 -0
  642. package/dist/bigconsole/hooks/useWidgetComments.d.ts.map +1 -0
  643. package/dist/bigconsole/hooks/useWidgetConfigPersist.d.ts +14 -0
  644. package/dist/bigconsole/hooks/useWidgetConfigPersist.d.ts.map +1 -0
  645. package/dist/bigconsole/hooks/useWidgetData.d.ts +45 -0
  646. package/dist/bigconsole/hooks/useWidgetData.d.ts.map +1 -0
  647. package/dist/bigconsole/hooks/useWidgetEvents.d.ts +60 -0
  648. package/dist/bigconsole/hooks/useWidgetEvents.d.ts.map +1 -0
  649. package/dist/bigconsole/hooks/useWidgetExport.d.ts +19 -0
  650. package/dist/bigconsole/hooks/useWidgetExport.d.ts.map +1 -0
  651. package/dist/bigconsole/hooks/useWidgetOperations.d.ts +71 -0
  652. package/dist/bigconsole/hooks/useWidgetOperations.d.ts.map +1 -0
  653. package/dist/bigconsole/hooks/useWorkflowOperations.d.ts +54 -0
  654. package/dist/bigconsole/hooks/useWorkflowOperations.d.ts.map +1 -0
  655. package/dist/bigconsole/index.d.ts +32 -0
  656. package/dist/bigconsole/index.d.ts.map +1 -0
  657. package/dist/bigconsole/modules/dashboard/index.d.ts +15 -0
  658. package/dist/bigconsole/modules/dashboard/index.d.ts.map +1 -0
  659. package/dist/bigconsole/modules/index.d.ts +15 -0
  660. package/dist/bigconsole/modules/index.d.ts.map +1 -0
  661. package/dist/bigconsole/modules/renderer/index.d.ts +8 -0
  662. package/dist/bigconsole/modules/renderer/index.d.ts.map +1 -0
  663. package/dist/bigconsole/modules/widget/index.d.ts +19 -0
  664. package/dist/bigconsole/modules/widget/index.d.ts.map +1 -0
  665. package/dist/bigconsole/pages/AdminPage.d.ts +4 -0
  666. package/dist/bigconsole/pages/AdminPage.d.ts.map +1 -0
  667. package/dist/bigconsole/pages/DashboardBuilderPage.d.ts +5 -0
  668. package/dist/bigconsole/pages/DashboardBuilderPage.d.ts.map +1 -0
  669. package/dist/bigconsole/pages/DashboardBuilderPage.js +190 -185
  670. package/dist/bigconsole/pages/DashboardBuilderPage.js.map +1 -1
  671. package/dist/bigconsole/pages/DashboardViewPage.d.ts +5 -0
  672. package/dist/bigconsole/pages/DashboardViewPage.d.ts.map +1 -0
  673. package/dist/bigconsole/pages/DashboardViewPage.js +224 -217
  674. package/dist/bigconsole/pages/DashboardViewPage.js.map +1 -1
  675. package/dist/bigconsole/pages/DashboardsPage.d.ts +5 -0
  676. package/dist/bigconsole/pages/DashboardsPage.d.ts.map +1 -0
  677. package/dist/bigconsole/pages/DataParsersPage.d.ts +9 -0
  678. package/dist/bigconsole/pages/DataParsersPage.d.ts.map +1 -0
  679. package/dist/bigconsole/pages/DataSinkBuilderPage.d.ts +10 -0
  680. package/dist/bigconsole/pages/DataSinkBuilderPage.d.ts.map +1 -0
  681. package/dist/bigconsole/pages/DataSinkViewPage.d.ts +8 -0
  682. package/dist/bigconsole/pages/DataSinkViewPage.d.ts.map +1 -0
  683. package/dist/bigconsole/pages/DataSinksPage.d.ts +5 -0
  684. package/dist/bigconsole/pages/DataSinksPage.d.ts.map +1 -0
  685. package/dist/bigconsole/pages/DataSourcesPage.d.ts +10 -0
  686. package/dist/bigconsole/pages/DataSourcesPage.d.ts.map +1 -0
  687. package/dist/bigconsole/pages/InsightsPage.d.ts +5 -0
  688. package/dist/bigconsole/pages/InsightsPage.d.ts.map +1 -0
  689. package/dist/bigconsole/pages/OverviewPage.d.ts +5 -0
  690. package/dist/bigconsole/pages/OverviewPage.d.ts.map +1 -0
  691. package/dist/bigconsole/pages/ParserBuilderPage.d.ts +13 -0
  692. package/dist/bigconsole/pages/ParserBuilderPage.d.ts.map +1 -0
  693. package/dist/bigconsole/pages/ParserViewPage.d.ts +8 -0
  694. package/dist/bigconsole/pages/ParserViewPage.d.ts.map +1 -0
  695. package/dist/bigconsole/pages/PipelineBuilderPage.d.ts +21 -0
  696. package/dist/bigconsole/pages/PipelineBuilderPage.d.ts.map +1 -0
  697. package/dist/bigconsole/pages/PipelineViewPage.d.ts +20 -0
  698. package/dist/bigconsole/pages/PipelineViewPage.d.ts.map +1 -0
  699. package/dist/bigconsole/pages/PipelinesPage.d.ts +14 -0
  700. package/dist/bigconsole/pages/PipelinesPage.d.ts.map +1 -0
  701. package/dist/bigconsole/pages/SettingsPage.d.ts +5 -0
  702. package/dist/bigconsole/pages/SettingsPage.d.ts.map +1 -0
  703. package/dist/bigconsole/pages/WidgetDemoPage.d.ts +5 -0
  704. package/dist/bigconsole/pages/WidgetDemoPage.d.ts.map +1 -0
  705. package/dist/bigconsole/pages/WorkflowViewPage.d.ts +20 -0
  706. package/dist/bigconsole/pages/WorkflowViewPage.d.ts.map +1 -0
  707. package/dist/bigconsole/pages/WorkflowsPage.d.ts +16 -0
  708. package/dist/bigconsole/pages/WorkflowsPage.d.ts.map +1 -0
  709. package/dist/bigconsole/pages/index.d.ts +14 -0
  710. package/dist/bigconsole/pages/index.d.ts.map +1 -0
  711. package/dist/bigconsole/providers/BigConsoleQuotaProvider.d.ts +10 -0
  712. package/dist/bigconsole/providers/BigConsoleQuotaProvider.d.ts.map +1 -0
  713. package/dist/bigconsole/renderers/adapters/AdaptiveCardRenderer.d.ts +6 -0
  714. package/dist/bigconsole/renderers/adapters/AdaptiveCardRenderer.d.ts.map +1 -0
  715. package/dist/bigconsole/renderers/adapters/BigConsoleRenderer.d.ts +9 -0
  716. package/dist/bigconsole/renderers/adapters/BigConsoleRenderer.d.ts.map +1 -0
  717. package/dist/bigconsole/renderers/adapters/BlockKitRenderer.d.ts +6 -0
  718. package/dist/bigconsole/renderers/adapters/BlockKitRenderer.d.ts.map +1 -0
  719. package/dist/bigconsole/renderers/adapters/CustomRenderer.d.ts +46 -0
  720. package/dist/bigconsole/renderers/adapters/CustomRenderer.d.ts.map +1 -0
  721. package/dist/bigconsole/renderers/adapters/index.d.ts +10 -0
  722. package/dist/bigconsole/renderers/adapters/index.d.ts.map +1 -0
  723. package/dist/bigconsole/renderers/factory/WidgetRendererFactory.d.ts +46 -0
  724. package/dist/bigconsole/renderers/factory/WidgetRendererFactory.d.ts.map +1 -0
  725. package/dist/bigconsole/renderers/index.d.ts +10 -0
  726. package/dist/bigconsole/renderers/index.d.ts.map +1 -0
  727. package/dist/bigconsole/renderers/registry/RendererRegistry.d.ts +42 -0
  728. package/dist/bigconsole/renderers/registry/RendererRegistry.d.ts.map +1 -0
  729. package/dist/bigconsole/renderers/types/index.d.ts +7 -0
  730. package/dist/bigconsole/renderers/types/index.d.ts.map +1 -0
  731. package/dist/bigconsole/renderers/types/renderer.d.ts +228 -0
  732. package/dist/bigconsole/renderers/types/renderer.d.ts.map +1 -0
  733. package/dist/bigconsole/store/dashboardStore.d.ts +132 -0
  734. package/dist/bigconsole/store/dashboardStore.d.ts.map +1 -0
  735. package/dist/bigconsole/store/dataSinkStore.d.ts +94 -0
  736. package/dist/bigconsole/store/dataSinkStore.d.ts.map +1 -0
  737. package/dist/bigconsole/store/drilldownStore.d.ts +63 -0
  738. package/dist/bigconsole/store/drilldownStore.d.ts.map +1 -0
  739. package/dist/bigconsole/store/index.d.ts +13 -0
  740. package/dist/bigconsole/store/index.d.ts.map +1 -0
  741. package/dist/bigconsole/store/parserStore.d.ts +106 -0
  742. package/dist/bigconsole/store/parserStore.d.ts.map +1 -0
  743. package/dist/bigconsole/store/pipelineStore.d.ts +113 -0
  744. package/dist/bigconsole/store/pipelineStore.d.ts.map +1 -0
  745. package/dist/bigconsole/store/widgetStore.d.ts +106 -0
  746. package/dist/bigconsole/store/widgetStore.d.ts.map +1 -0
  747. package/dist/bigconsole/store/workflowStore.d.ts +120 -0
  748. package/dist/bigconsole/store/workflowStore.d.ts.map +1 -0
  749. package/dist/bigconsole/types/index.d.ts +1373 -0
  750. package/dist/bigconsole/types/index.d.ts.map +1 -0
  751. package/dist/bigconsole/utils/backendError.d.ts +4 -0
  752. package/dist/bigconsole/utils/backendError.d.ts.map +1 -0
  753. package/dist/bigconsole/utils/createDialogParam.d.ts +26 -0
  754. package/dist/bigconsole/utils/createDialogParam.d.ts.map +1 -0
  755. package/dist/bigconsole/utils/csv.d.ts +28 -0
  756. package/dist/bigconsole/utils/csv.d.ts.map +1 -0
  757. package/dist/bigconsole/utils/format.d.ts +17 -0
  758. package/dist/bigconsole/utils/format.d.ts.map +1 -0
  759. package/dist/bigconsole/utils/index.d.ts +11 -0
  760. package/dist/bigconsole/utils/index.d.ts.map +1 -0
  761. package/dist/bigconsole/utils/quota.d.ts +39 -0
  762. package/dist/bigconsole/utils/quota.d.ts.map +1 -0
  763. package/dist/bigconsole/utils/semanticTokens.d.ts +88 -0
  764. package/dist/bigconsole/utils/semanticTokens.d.ts.map +1 -0
  765. package/dist/bigconsole/utils/widgetBinding.d.ts +50 -0
  766. package/dist/bigconsole/utils/widgetBinding.d.ts.map +1 -0
  767. package/dist/bigconsole/utils/widgetPositioning.d.ts +97 -0
  768. package/dist/bigconsole/utils/widgetPositioning.d.ts.map +1 -0
  769. package/dist/bigconsole/utils/widgetTypeMapping.d.ts +34 -0
  770. package/dist/bigconsole/utils/widgetTypeMapping.d.ts.map +1 -0
  771. package/dist/constants/permissions.d.ts +118 -0
  772. package/dist/constants/permissions.d.ts.map +1 -0
  773. package/dist/generated/global-operations.d.ts +187 -0
  774. package/dist/generated/global-operations.d.ts.map +1 -0
  775. package/dist/generated/global-types.d.ts +23527 -0
  776. package/dist/generated/global-types.d.ts.map +1 -0
  777. package/dist/generated/wspace-operations.d.ts +10521 -0
  778. package/dist/generated/wspace-operations.d.ts.map +1 -0
  779. package/dist/generated/wspace-operations.js +132 -86
  780. package/dist/generated/wspace-operations.js.map +1 -1
  781. package/dist/generated/wspace-types.d.ts +58025 -0
  782. package/dist/generated/wspace-types.d.ts.map +1 -0
  783. package/dist/generated/wspace-types.js.map +1 -1
  784. package/dist/index.d.ts +6 -0
  785. package/dist/index.d.ts.map +1 -0
  786. package/dist/shared/hooks/useTr.d.ts +25 -0
  787. package/dist/shared/hooks/useTr.d.ts.map +1 -0
  788. package/dist/stories/DashboardGuide.stories.d.ts +15 -0
  789. package/dist/stories/DashboardGuide.stories.d.ts.map +1 -0
  790. package/dist/stories/DataSinkStatusBadge.stories.d.ts +12 -0
  791. package/dist/stories/DataSinkStatusBadge.stories.d.ts.map +1 -0
  792. package/dist/stories/GaugeWidget.stories.d.ts +58 -0
  793. package/dist/stories/GaugeWidget.stories.d.ts.map +1 -0
  794. package/dist/stories/KPIComparisonWidget.stories.d.ts +76 -0
  795. package/dist/stories/KPIComparisonWidget.stories.d.ts.map +1 -0
  796. package/dist/stories/LiveCanvasToggle.stories.d.ts +9 -0
  797. package/dist/stories/LiveCanvasToggle.stories.d.ts.map +1 -0
  798. package/dist/stories/MetricCardWidget.stories.d.ts +88 -0
  799. package/dist/stories/MetricCardWidget.stories.d.ts.map +1 -0
  800. package/dist/stories/ProgressWidget.stories.d.ts +48 -0
  801. package/dist/stories/ProgressWidget.stories.d.ts.map +1 -0
  802. package/dist/stories/SetupStateBadge.stories.d.ts +12 -0
  803. package/dist/stories/SetupStateBadge.stories.d.ts.map +1 -0
  804. package/dist/translations/en.d.ts +29 -0
  805. package/dist/translations/en.d.ts.map +1 -0
  806. package/dist/utils/nativeBridge.d.ts +3 -0
  807. package/dist/utils/nativeBridge.d.ts.map +1 -0
  808. package/package.json +3 -3
@@ -1,22 +1,23 @@
1
- import { readPersistedRun as e, removePersistedRun as t, writePersistedRun as n } from "./assistantRunPersistence.js";
2
- import { create as r } from "zustand";
3
- import { getActorId as i } from "@burdenoff/fe-libs/shared/assistant/context";
1
+ import { previewMutationEntities as e } from "./previewMutationResult.js";
2
+ import { readPersistedRun as t, removePersistedRun as n, writePersistedRun as r } from "./assistantRunPersistence.js";
3
+ import { create as i } from "zustand";
4
+ import { getActorId as a } from "@burdenoff/fe-libs/shared/assistant/context";
4
5
  //#region src/bigconsole/assistant/assistantRunStore.ts
5
- var a = [
6
+ var o = [
6
7
  "datasink",
7
8
  "dashboard",
8
9
  "parser",
9
10
  "widget"
10
- ], o = {
11
+ ], s = {
11
12
  datasink: "pending",
12
13
  dashboard: "pending",
13
14
  parser: "pending",
14
15
  widget: "pending"
15
- }, s = /\/bigconsole\/(datasinks|dashboards|parsers)\/([A-Za-z0-9_-]+)/g, c = /widget\s+(added|created)/i, l = /^⏳\s*(.+?)…?$/, u = {
16
+ }, c = /\/bigconsole\/(datasinks|dashboards|parsers)\/([A-Za-z0-9_-]+)/g, l = /widget\s+(added|created)/i, u = /^⏳\s*(.+?)…?$/, d = {
16
17
  datasinks: "datasink",
17
18
  dashboards: "dashboard",
18
19
  parsers: "parser"
19
- }, d = [
20
+ }, f = [
20
21
  {
21
22
  step: "datasink",
22
23
  re: /"createDataSink"\s*:\s*\{[^{}]*?"id"\s*:\s*"([A-Za-z0-9_-]+)"/
@@ -29,8 +30,8 @@ var a = [
29
30
  step: "parser",
30
31
  re: /"createParser"\s*:\s*\{[^{}]*?"id"\s*:\s*"([A-Za-z0-9_-]+)"/
31
32
  }
32
- ], f = /"createBigConsoleWidget"\s*:\s*\{/;
33
- function p(e, t) {
33
+ ], p = /"createBigConsoleWidget"\s*:\s*\{/;
34
+ function m(e, t) {
34
35
  let n = {
35
36
  pending: 0,
36
37
  running: 1,
@@ -39,106 +40,136 @@ function p(e, t) {
39
40
  };
40
41
  return n[t] > n[e] ? t : e;
41
42
  }
42
- function m() {
43
+ function h() {
43
44
  return {
45
+ conversationId: null,
46
+ contentRevision: 0,
47
+ completedResultIds: [],
48
+ entityResultOrder: {},
44
49
  isRunning: !1,
45
50
  previewOpen: !1,
46
51
  hasRun: !1,
47
52
  prompt: "",
48
- steps: { ...o },
53
+ steps: { ...s },
49
54
  entityIds: {},
50
55
  caption: "",
51
56
  error: null,
52
57
  updatedAt: null
53
58
  };
54
59
  }
55
- function h(e, t) {
60
+ function g(e, t) {
56
61
  return e === null || t === null || e === t;
57
62
  }
58
- var g = r()((n, r) => ({
59
- ...m(),
63
+ var _ = i()((r, i) => ({
64
+ ...h(),
60
65
  richMounted: !1,
61
66
  workspaceId: null,
62
67
  actorId: null,
63
- startRun: (e) => n((t) => {
64
- let n = { ...t.steps };
65
- for (let e of a) n[e] === "running" && (n[e] = "pending");
66
- let r = a.find((e) => n[e] === "pending");
67
- return r && (n[r] = "running"), {
68
+ startRun: (e, t) => r((n) => {
69
+ let r = t && n.hasRun && n.conversationId !== t ? {
70
+ ...n,
71
+ ...h()
72
+ } : n, i = { ...r.steps };
73
+ for (let e of o) i[e] === "running" && (i[e] = "pending");
74
+ let a = o.find((e) => i[e] === "pending");
75
+ return a && (i[a] = "running"), {
76
+ ...r,
77
+ conversationId: t ?? r.conversationId,
68
78
  isRunning: !0,
69
79
  previewOpen: !0,
70
80
  hasRun: !0,
71
81
  prompt: e,
72
- steps: n,
82
+ steps: i,
73
83
  caption: "",
74
84
  error: null,
75
85
  updatedAt: Date.now()
76
86
  };
77
87
  }),
78
- applyProgress: (e) => n((t) => {
88
+ applyProgress: (e) => r((t) => {
79
89
  let n = { ...t.steps }, r = { ...t.entityIds }, i = (e, t) => {
80
- n[e] = p(n[e], "done"), t && e !== "widget" && (r[e] = t);
90
+ n[e] = m(n[e], "done"), t && e !== "widget" && (r[e] = t);
81
91
  };
82
- for (let t of e.matchAll(s)) {
83
- let e = u[t[1] ?? ""];
92
+ for (let t of e.matchAll(c)) {
93
+ let e = d[t[1] ?? ""];
84
94
  e && t[2] && i(e, t[2]);
85
95
  }
86
- for (let { step: t, re: n } of d) {
96
+ for (let { step: t, re: n } of f) {
87
97
  let r = n.exec(e);
88
98
  r?.[1] && i(t, r[1]);
89
99
  }
90
- (f.test(e) || c.test(e)) && (n.widget = p(n.widget, "done"), n.parser !== "done" && (n.parser = p(n.parser, "skipped")));
91
- let o = a.find((e) => n[e] === "pending" || n[e] === "running");
92
- return o && (n[o] = p(n[o], "running")), {
100
+ (p.test(e) || l.test(e)) && (n.widget = m(n.widget, "done"));
101
+ let a = o.find((e) => n[e] === "pending" || n[e] === "running");
102
+ return a && (n[a] = m(n[a], "running")), {
93
103
  steps: n,
94
104
  entityIds: r,
95
- caption: e.split("\n").map((e) => e.trim()).reverse().map((e) => l.exec(e)?.[1]).find((e) => !!e) ?? t.caption,
105
+ caption: e.split("\n").map((e) => e.trim()).reverse().map((e) => u.exec(e)?.[1]).find((e) => !!e) ?? t.caption,
96
106
  updatedAt: Date.now()
97
107
  };
98
108
  }),
99
- finishRun: (e) => n((t) => {
109
+ applyResult: (t, n, i) => r((r) => {
110
+ if (r.completedResultIds.includes(t)) return r;
111
+ let a = e(n);
112
+ if (a.length === 0) return r;
113
+ let o = { ...r.steps }, s = { ...r.entityIds }, c = { ...r.entityResultOrder }, l = !1, u = (e, t) => {
114
+ let n = c[e];
115
+ i !== void 0 && n !== void 0 && i < n || (i !== void 0 && (c[e] = i), o[e] = "done", e !== "widget" && (s[e] = t), l = !0);
116
+ };
117
+ for (let e of a) u(e.step, e.id), e.dashboardId && u("dashboard", e.dashboardId), e.parserId && u("parser", e.parserId);
118
+ let d = [...r.completedResultIds, t];
119
+ return l ? {
120
+ steps: o,
121
+ entityIds: s,
122
+ entityResultOrder: c,
123
+ completedResultIds: d,
124
+ contentRevision: r.contentRevision + 1,
125
+ updatedAt: Date.now()
126
+ } : { completedResultIds: d };
127
+ }),
128
+ finishRun: (e) => r((t) => {
100
129
  let n = { ...t.steps };
101
- for (let e of a) n[e] === "running" && (n[e] = "pending");
130
+ for (let e of o) n[e] === "running" && (n[e] = "pending");
102
131
  return {
103
132
  isRunning: !1,
104
133
  error: e,
105
134
  steps: n,
106
135
  caption: "",
136
+ contentRevision: t.contentRevision + 1,
107
137
  updatedAt: Date.now()
108
138
  };
109
139
  }),
110
- openPreview: () => n({ previewOpen: !0 }),
111
- closePreview: () => n({ previewOpen: !1 }),
112
- setRichMounted: (e) => n({ richMounted: e }),
113
- bindWorkspace: (a) => {
114
- let o = r().workspaceId;
115
- if (o === a) return;
116
- o !== null && t(o);
117
- let s = a === null ? null : i(), c = a === null ? null : e(a, s);
118
- n({
119
- ...m(),
140
+ openPreview: () => r({ previewOpen: !0 }),
141
+ closePreview: () => r({ previewOpen: !1 }),
142
+ setRichMounted: (e) => r({ richMounted: e }),
143
+ bindWorkspace: (e) => {
144
+ let o = i().workspaceId, s = e === null ? null : a();
145
+ if (o === e && i().actorId === s) return;
146
+ o !== null && o !== e && n(o);
147
+ let c = e === null ? null : t(e, s);
148
+ r({
149
+ ...h(),
120
150
  ...c,
121
- workspaceId: a,
151
+ workspaceId: e,
122
152
  actorId: s
123
153
  });
124
154
  }
125
155
  }));
126
- g.subscribe((e, r) => {
127
- if (e.workspaceId === null || e.workspaceId === r.workspaceId && e.hasRun === r.hasRun && e.previewOpen === r.previewOpen && e.steps === r.steps && e.entityIds === r.entityIds && e.updatedAt === r.updatedAt) return;
156
+ _.subscribe((e, t) => {
157
+ if (e.workspaceId === null || e.workspaceId === t.workspaceId && e.actorId === t.actorId && e.hasRun === t.hasRun && e.previewOpen === t.previewOpen && e.steps === t.steps && e.entityIds === t.entityIds && e.updatedAt === t.updatedAt) return;
128
158
  if (!e.hasRun) {
129
- t(e.workspaceId);
159
+ n(e.workspaceId);
130
160
  return;
131
161
  }
132
162
  let i = {
133
163
  hasRun: !0,
164
+ ...e.conversationId ? { conversationId: e.conversationId } : {},
134
165
  previewOpen: e.previewOpen,
135
166
  steps: e.steps,
136
167
  entityIds: e.entityIds,
137
168
  updatedAt: e.updatedAt
138
169
  };
139
- n(e.workspaceId, e.actorId, i);
170
+ r(e.workspaceId, e.actorId, i);
140
171
  });
141
172
  //#endregion
142
- export { a as PREVIEW_STEPS, h as runBelongsToWorkspace, g as useAssistantRunStore };
173
+ export { o as PREVIEW_STEPS, g as runBelongsToWorkspace, _ as useAssistantRunStore };
143
174
 
144
175
  //# sourceMappingURL=assistantRunStore.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"assistantRunStore.js","names":[],"sources":["../../../src/bigconsole/assistant/assistantRunStore.ts"],"sourcesContent":["/**\n * What the assistant is building, right now.\n *\n * The agent's narration is the only live signal the frontend gets — there is no\n * event stream — so this store turns it into something a UI can render: a\n * monotone DataSink → Dashboard → Parser → Widget rail, plus the id of each\n * entity as it appears.\n *\n * Three rules make the parsing survive a model that phrases things differently:\n *\n * 1. Read the id from BOTH the link path (`/bigconsole/datasinks/<id>`) AND the\n * raw mutation JSON (`{ \"createDataSink\": { \"id\": \"<uuid>\", … } }`). The agent\n * freely prints one, the other, or both — if we only watched for the link a\n * turn that printed just JSON would leave the tab stuck on \"Waiting…\".\n * 2. Never regress. `progress.content` is REPLACED on every poll (not appended),\n * so a shorter string arriving later must not rewind the rail.\n * 3. Accumulate across an incremental conversation. Each prompt builds one piece;\n * a new prompt must NOT wipe the pieces already built, or the earlier tabs go\n * blank. `startRun` preserves prior steps/ids and only lights up the next one.\n *\n * ★★ It belongs to ONE workspace (BOFF-7799). The page surfaces bind the active\n * workspace (`bindWorkspace`); switching clears the run, and the slice the page\n * preview draws is kept in `sessionStorage` per workspace, so a reload in the\n * same tab brings the preview back beside the restored conversation. See\n * `assistantRunPersistence.ts` for what is kept and why.\n */\nimport { getActorId } from '@burdenoff/fe-libs/shared/assistant/context';\nimport { create } from 'zustand';\n\nimport { readPersistedRun, removePersistedRun, writePersistedRun, type PersistedRun } from './assistantRunPersistence';\n\nexport type PreviewStepKey = 'datasink' | 'dashboard' | 'parser' | 'widget';\nexport type PreviewStepStatus = 'pending' | 'running' | 'done' | 'skipped';\n\nexport const PREVIEW_STEPS: readonly PreviewStepKey[] = ['datasink', 'dashboard', 'parser', 'widget'];\n\ninterface AssistantRunState {\n /** A turn is in flight. */\n isRunning: boolean;\n /** The panel is on screen. Auto-opens when a turn starts; the user can close it. */\n previewOpen: boolean;\n /** True once any turn has run — gates the \"Preview\" button. */\n hasRun: boolean;\n /**\n * The full, context-rich panel (mounted inside BigConsoleRoot, with live entity\n * tabs) is on screen right now. The lightweight app-shell panel reads this and\n * steps aside so the two never render at once. It flips false the instant you\n * leave a /bigconsole page — that is what lets the mini panel take over and keep\n * the build visible on whatever screen you moved to.\n */\n richMounted: boolean;\n prompt: string;\n steps: Record<PreviewStepKey, PreviewStepStatus>;\n /** Ids harvested from the agent's links. A widget has no link of its own. */\n entityIds: { datasink?: string; dashboard?: string; parser?: string };\n /** Newest \"⏳ …\" line — what the agent says it is doing this second. */\n caption: string;\n /** Set when the turn fails, so the panel can stop pretending to be live. */\n error: string | null;\n /** Epoch ms of the last progress tick — drives the \"updated 3s ago\" strip. */\n updatedAt: number | null;\n /**\n * The workspace this run belongs to, and the one its kept copy is filed\n * under. Null until a page surface binds the active workspace.\n */\n workspaceId: string | null;\n /** The actor the kept copy is written for, read once when the workspace is bound. */\n actorId: string | null;\n\n startRun: (prompt: string) => void;\n applyProgress: (content: string) => void;\n finishRun: (error: string | null) => void;\n openPreview: () => void;\n closePreview: () => void;\n setRichMounted: (mounted: boolean) => void;\n /**\n * Point the store at the active workspace. A change CLEARS the run and forgets\n * the previous workspace's kept copy, then restores this workspace's copy, if\n * this tab kept one for this actor. Binding the same workspace is a no-op, so\n * every surface may call it.\n */\n bindWorkspace: (workspaceId: string | null) => void;\n}\n\nconst IDLE_STEPS: Record<PreviewStepKey, PreviewStepStatus> = {\n datasink: 'pending',\n dashboard: 'pending',\n parser: 'pending',\n widget: 'pending',\n};\n\n/** `/bigconsole/datasinks/<id>` — the trustworthy part of the narration. */\nconst ENTITY_LINK = /\\/bigconsole\\/(datasinks|dashboards|parsers)\\/([A-Za-z0-9_-]+)/g;\n/** The widget links to its dashboard, so it can only be detected from the prose. */\nconst WIDGET_DONE = /widget\\s+(added|created)/i;\nconst RUNNING_LINE = /^⏳\\s*(.+?)…?$/;\n\nconst LINK_TO_STEP: Record<string, PreviewStepKey> = {\n datasinks: 'datasink',\n dashboards: 'dashboard',\n parsers: 'parser',\n};\n\n/**\n * The id straight out of a raw mutation response the agent printed instead of\n * (or as well as) a link, e.g. `{ \"createDataSink\": { \"id\": \"<uuid>\", … } }`.\n * `[^{}]` keeps each match inside its own object so we grab that mutation's id,\n * not a neighbour's. This is what stops \"Waiting…\" when no link is narrated.\n */\nconst JSON_ID_STEPS: ReadonlyArray<{ step: Exclude<PreviewStepKey, 'widget'>; re: RegExp }> = [\n { step: 'datasink', re: /\"createDataSink\"\\s*:\\s*\\{[^{}]*?\"id\"\\s*:\\s*\"([A-Za-z0-9_-]+)\"/ },\n { step: 'dashboard', re: /\"createBigConsoleDashboard\"\\s*:\\s*\\{[^{}]*?\"id\"\\s*:\\s*\"([A-Za-z0-9_-]+)\"/ },\n { step: 'parser', re: /\"createParser\"\\s*:\\s*\\{[^{}]*?\"id\"\\s*:\\s*\"([A-Za-z0-9_-]+)\"/ },\n];\n/** The widget has no page of its own; its create response is enough to mark it done. */\nconst WIDGET_CREATE_JSON = /\"createBigConsoleWidget\"\\s*:\\s*\\{/;\n\n/** Only ever moves a step forward. */\nfunction advance(current: PreviewStepStatus, next: PreviewStepStatus): PreviewStepStatus {\n const rank: Record<PreviewStepStatus, number> = { pending: 0, running: 1, skipped: 2, done: 3 };\n return rank[next] > rank[current] ? next : current;\n}\n\ntype RunFields = Pick<\n AssistantRunState,\n 'isRunning' | 'previewOpen' | 'hasRun' | 'prompt' | 'steps' | 'entityIds' | 'caption' | 'error' | 'updatedAt'\n>;\n\n/** A run that has not started. `richMounted` is a mount flag, not run state, so it is not here. */\nfunction idleRun(): RunFields {\n return {\n isRunning: false,\n previewOpen: false,\n hasRun: false,\n prompt: '',\n steps: { ...IDLE_STEPS },\n entityIds: {},\n caption: '',\n error: null,\n updatedAt: null,\n };\n}\n\n/**\n * May a run that started in `runWorkspaceId` drive a store bound to\n * `boundWorkspaceId`?\n *\n * ★★ WHY IT EXISTS. A workspace switch clears the store, but a turn started in\n * the previous workspace keeps streaming. Without this its next snapshot would\n * refill the cleared store, and the refill would be kept under the NEW\n * workspace's key, which is the leak the switch exists to prevent.\n *\n * ★ Lenient on null, deliberately: fe-libs reports `null` when it cannot read\n * the workspace, and an unbound store has nothing to protect. Refusing either\n * would silently stop every preview rather than guard one.\n */\nexport function runBelongsToWorkspace(runWorkspaceId: string | null, boundWorkspaceId: string | null): boolean {\n return runWorkspaceId === null || boundWorkspaceId === null || runWorkspaceId === boundWorkspaceId;\n}\n\nexport const useAssistantRunStore = create<AssistantRunState>()((set, get) => ({\n ...idleRun(),\n richMounted: false,\n workspaceId: null,\n actorId: null,\n\n startRun: (prompt) =>\n set((state) => {\n // A new prompt CONTINUES the same use case (incremental flow) — keep every\n // step and id already built. Clear any stale spinner from the prior turn,\n // then light up the earliest step that has not landed yet so the \"working\n // on it\" indicator sits on the right tab.\n const steps = { ...state.steps };\n for (const key of PREVIEW_STEPS) {\n if (steps[key] === 'running') steps[key] = 'pending';\n }\n const next = PREVIEW_STEPS.find((key) => steps[key] === 'pending');\n if (next) steps[next] = 'running';\n return {\n isRunning: true,\n // Auto-open: the whole point is that you SEE the build happen without\n // having to go looking for it.\n previewOpen: true,\n hasRun: true,\n prompt,\n steps,\n // entityIds intentionally preserved (merged) so earlier tabs keep content.\n caption: '',\n error: null,\n updatedAt: Date.now(),\n };\n }),\n\n applyProgress: (content) =>\n set((state) => {\n const steps = { ...state.steps };\n const entityIds = { ...state.entityIds };\n\n const markDone = (step: PreviewStepKey, id?: string) => {\n steps[step] = advance(steps[step], 'done');\n // Always record the freshest id seen this turn (never \"first wins\"): an\n // incremental prompt that rebuilds a piece must point the tab at the new\n // one. `step !== 'widget'` narrows to the keys entityIds actually holds.\n if (id && step !== 'widget') entityIds[step] = id;\n };\n\n // 1) Markdown link paths.\n for (const match of content.matchAll(ENTITY_LINK)) {\n const step = LINK_TO_STEP[match[1] ?? ''];\n if (step && match[2]) markDone(step, match[2]);\n }\n // 2) Raw mutation JSON (the agent often prints this instead of a link).\n for (const { step, re } of JSON_ID_STEPS) {\n const match = re.exec(content);\n if (match?.[1]) markDone(step, match[1]);\n }\n\n if (WIDGET_CREATE_JSON.test(content) || WIDGET_DONE.test(content)) {\n steps.widget = advance(steps.widget, 'done');\n // The parser is optional — the agent skips it when the rows are already\n // shaped. If the widget landed and the parser was never built, it was\n // skipped, not stuck.\n if (steps.parser !== 'done') steps.parser = advance(steps.parser, 'skipped');\n }\n\n // The first step that has not finished is the one being worked on.\n const active = PREVIEW_STEPS.find((key) => steps[key] === 'pending' || steps[key] === 'running');\n if (active) steps[active] = advance(steps[active], 'running');\n\n const caption =\n content\n .split('\\n')\n .map((line) => line.trim())\n .reverse()\n .map((line) => RUNNING_LINE.exec(line)?.[1])\n .find((label): label is string => Boolean(label)) ?? state.caption;\n\n return { steps, entityIds, caption, updatedAt: Date.now() };\n }),\n\n finishRun: (error) =>\n set((state) => {\n // The turn is over — stop the live spinner. A step still 'running' didn't\n // land this turn, so drop it back to 'pending' (a later prompt can pick it\n // up). NEVER blanket-skip pending steps: in the incremental flow the later\n // steps simply have not been asked for yet, and 'done' steps must stay done.\n const steps = { ...state.steps };\n for (const key of PREVIEW_STEPS) {\n if (steps[key] === 'running') steps[key] = 'pending';\n }\n return { isRunning: false, error, steps, caption: '', updatedAt: Date.now() };\n }),\n\n openPreview: () => set({ previewOpen: true }),\n closePreview: () => set({ previewOpen: false }),\n setRichMounted: (mounted) => set({ richMounted: mounted }),\n\n bindWorkspace: (workspaceId) => {\n const previous = get().workspaceId;\n if (previous === workspaceId) return;\n if (previous !== null) removePersistedRun(previous);\n\n const actorId = workspaceId === null ? null : getActorId();\n const restored = workspaceId === null ? null : readPersistedRun(workspaceId, actorId);\n set({ ...idleRun(), ...restored, workspaceId, actorId });\n },\n}));\n\n/**\n * Keep the page preview's slice for the bound workspace on every change to it.\n *\n * ★ A subscription rather than a write in each action: five actions change the\n * slice, and a write missed in any one of them would restore a stale preview.\n * `bindWorkspace` also lands here, which is harmless: it rewrites what it read.\n */\nuseAssistantRunStore.subscribe((state, previous) => {\n if (state.workspaceId === null) return;\n if (\n state.workspaceId === previous.workspaceId &&\n state.hasRun === previous.hasRun &&\n state.previewOpen === previous.previewOpen &&\n state.steps === previous.steps &&\n state.entityIds === previous.entityIds &&\n state.updatedAt === previous.updatedAt\n ) {\n return;\n }\n if (!state.hasRun) {\n removePersistedRun(state.workspaceId);\n return;\n }\n const run: PersistedRun = {\n hasRun: true,\n previewOpen: state.previewOpen,\n steps: state.steps,\n entityIds: state.entityIds,\n updatedAt: state.updatedAt,\n };\n writePersistedRun(state.workspaceId, state.actorId, run);\n});\n"],"mappings":";;;;AAkCA,IAAa,IAA2C;CAAC;CAAY;CAAa;CAAU;CAAS,EAkD/F,IAAwD;CAC5D,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AO,CAAC;CAC/C,iBAAiB,MAAY,EAAI,EAAE,aAAa,GAAS,CAAC;CAE1D,gBAAgB,MAAgB;EAC9B,IAAM,IAAW,GAAK,CAAC;AACvB,MAAI,MAAa,EAAa;AAC9B,EAAI,MAAa,QAAM,EAAmB,EAAS;EAEnD,IAAM,IAAU,MAAgB,OAAO,OAAO,GAAY,EACpD,IAAW,MAAgB,OAAO,OAAO,EAAiB,GAAa,EAAQ;AACrF,IAAI;GAAE,GAAG,GAAS;GAAE,GAAG;GAAU;GAAa;GAAS,CAAC;;CAE3D,EAAE;AASH,EAAqB,WAAW,GAAO,MAAa;AAElD,KADI,EAAM,gBAAgB,QAExB,EAAM,gBAAgB,EAAS,eAC/B,EAAM,WAAW,EAAS,UAC1B,EAAM,gBAAgB,EAAS,eAC/B,EAAM,UAAU,EAAS,SACzB,EAAM,cAAc,EAAS,aAC7B,EAAM,cAAc,EAAS,UAE7B;AAEF,KAAI,CAAC,EAAM,QAAQ;AACjB,IAAmB,EAAM,YAAY;AACrC;;CAEF,IAAM,IAAoB;EACxB,QAAQ;EACR,aAAa,EAAM;EACnB,OAAO,EAAM;EACb,WAAW,EAAM;EACjB,WAAW,EAAM;EAClB;AACD,GAAkB,EAAM,aAAa,EAAM,SAAS,EAAI;EACxD"}
1
+ {"version":3,"file":"assistantRunStore.js","names":[],"sources":["../../../src/bigconsole/assistant/assistantRunStore.ts"],"sourcesContent":["/**\n * What the assistant is building, right now.\n *\n * Confirmed write results and narration drive this store into a UI-visible\n * monotone DataSink → Dashboard → Parser → Widget rail, plus the id of each\n * entity as it appears.\n *\n * Three rules make the parsing survive a model that phrases things differently:\n *\n * 1. Read the id from BOTH the link path (`/bigconsole/datasinks/<id>`) AND the\n * raw mutation JSON (`{ \"createDataSink\": { \"id\": \"<uuid>\", … } }`). The agent\n * freely prints one, the other, or both — if we only watched for the link a\n * turn that printed just JSON would leave the tab stuck on \"Waiting…\".\n * 2. Never regress. `progress.content` is REPLACED on every poll (not appended),\n * so a shorter string arriving later must not rewind the rail.\n * 3. Accumulate across an incremental conversation. Each prompt builds one piece;\n * a new prompt must NOT wipe the pieces already built, or the earlier tabs go\n * blank. `startRun` preserves prior steps/ids and only lights up the next one.\n *\n * ★★ It belongs to ONE workspace (BOFF-7799). The page surfaces bind the active\n * workspace (`bindWorkspace`); switching clears the run, and the slice the page\n * preview draws is kept in `sessionStorage` per workspace, so a reload in the\n * same tab brings the preview back beside the restored conversation. See\n * `assistantRunPersistence.ts` for what is kept and why.\n */\nimport { getActorId } from '@burdenoff/fe-libs/shared/assistant/context';\nimport { create } from 'zustand';\nimport { previewMutationEntities } from './previewMutationResult';\n\nimport { readPersistedRun, removePersistedRun, writePersistedRun, type PersistedRun } from './assistantRunPersistence';\n\nexport type PreviewStepKey = 'datasink' | 'dashboard' | 'parser' | 'widget';\nexport type PreviewStepStatus = 'pending' | 'running' | 'done' | 'skipped';\n\nexport const PREVIEW_STEPS: readonly PreviewStepKey[] = ['datasink', 'dashboard', 'parser', 'widget'];\n\ninterface AssistantRunState {\n /** A turn is in flight. */\n isRunning: boolean;\n /** The panel is on screen. Auto-opens when a turn starts; the user can close it. */\n previewOpen: boolean;\n /** True once any turn has run — gates the \"Preview\" button. */\n hasRun: boolean;\n /**\n * The full, context-rich panel (mounted inside BigConsoleRoot, with live entity\n * tabs) is on screen right now. The lightweight app-shell panel reads this and\n * steps aside so the two never render at once. It flips false the instant you\n * leave a /bigconsole page — that is what lets the mini panel take over and keep\n * the build visible on whatever screen you moved to.\n */\n richMounted: boolean;\n prompt: string;\n steps: Record<PreviewStepKey, PreviewStepStatus>;\n /** Ids harvested from the agent's links. A widget has no link of its own. */\n entityIds: { datasink?: string; dashboard?: string; parser?: string };\n /** Newest \"⏳ …\" line — what the agent says it is doing this second. */\n caption: string;\n /** Set when the turn fails, so the panel can stop pretending to be live. */\n error: string | null;\n /** Epoch ms of the last progress tick — drives the \"updated 3s ago\" strip. */\n updatedAt: number | null;\n /**\n * The workspace this run belongs to, and the one its kept copy is filed\n * under. Null until a page surface binds the active workspace.\n */\n workspaceId: string | null;\n /** The actor the kept copy is written for, read once when the workspace is bound. */\n actorId: string | null;\n\n conversationId: string | null;\n contentRevision: number;\n completedResultIds: string[];\n entityResultOrder: Partial<Record<PreviewStepKey, number>>;\n startRun: (prompt: string, conversationId?: string) => void;\n applyResult: (id: string, output: unknown, messageOrder?: number) => void;\n applyProgress: (content: string) => void;\n finishRun: (error: string | null) => void;\n openPreview: () => void;\n closePreview: () => void;\n setRichMounted: (mounted: boolean) => void;\n /**\n * Point the store at the active workspace. A change CLEARS the run and forgets\n * the previous workspace's kept copy, then restores this workspace's copy, if\n * this tab kept one for this actor. Binding the same workspace is a no-op, so\n * every surface may call it.\n */\n bindWorkspace: (workspaceId: string | null) => void;\n}\n\nconst IDLE_STEPS: Record<PreviewStepKey, PreviewStepStatus> = {\n datasink: 'pending',\n dashboard: 'pending',\n parser: 'pending',\n widget: 'pending',\n};\n\n/** `/bigconsole/datasinks/<id>` — the trustworthy part of the narration. */\nconst ENTITY_LINK = /\\/bigconsole\\/(datasinks|dashboards|parsers)\\/([A-Za-z0-9_-]+)/g;\n/** The widget links to its dashboard, so it can only be detected from the prose. */\nconst WIDGET_DONE = /widget\\s+(added|created)/i;\nconst RUNNING_LINE = /^⏳\\s*(.+?)…?$/;\n\nconst LINK_TO_STEP: Record<string, PreviewStepKey> = {\n datasinks: 'datasink',\n dashboards: 'dashboard',\n parsers: 'parser',\n};\n\n/**\n * The id straight out of a raw mutation response the agent printed instead of\n * (or as well as) a link, e.g. `{ \"createDataSink\": { \"id\": \"<uuid>\", … } }`.\n * `[^{}]` keeps each match inside its own object so we grab that mutation's id,\n * not a neighbour's. This is what stops \"Waiting…\" when no link is narrated.\n */\nconst JSON_ID_STEPS: ReadonlyArray<{ step: Exclude<PreviewStepKey, 'widget'>; re: RegExp }> = [\n { step: 'datasink', re: /\"createDataSink\"\\s*:\\s*\\{[^{}]*?\"id\"\\s*:\\s*\"([A-Za-z0-9_-]+)\"/ },\n { step: 'dashboard', re: /\"createBigConsoleDashboard\"\\s*:\\s*\\{[^{}]*?\"id\"\\s*:\\s*\"([A-Za-z0-9_-]+)\"/ },\n { step: 'parser', re: /\"createParser\"\\s*:\\s*\\{[^{}]*?\"id\"\\s*:\\s*\"([A-Za-z0-9_-]+)\"/ },\n];\n/** The widget has no page of its own; its create response is enough to mark it done. */\nconst WIDGET_CREATE_JSON = /\"createBigConsoleWidget\"\\s*:\\s*\\{/;\n\n/** Only ever moves a step forward. */\nfunction advance(current: PreviewStepStatus, next: PreviewStepStatus): PreviewStepStatus {\n const rank: Record<PreviewStepStatus, number> = { pending: 0, running: 1, skipped: 2, done: 3 };\n return rank[next] > rank[current] ? next : current;\n}\n\ntype RunFields = Pick<\n AssistantRunState,\n | 'isRunning'\n | 'previewOpen'\n | 'hasRun'\n | 'prompt'\n | 'steps'\n | 'entityIds'\n | 'caption'\n | 'error'\n | 'updatedAt'\n | 'conversationId'\n | 'contentRevision'\n | 'completedResultIds'\n | 'entityResultOrder'\n>;\n\n/** A run that has not started. `richMounted` is a mount flag, not run state, so it is not here. */\nfunction idleRun(): RunFields {\n return {\n conversationId: null,\n contentRevision: 0,\n completedResultIds: [],\n entityResultOrder: {},\n isRunning: false,\n previewOpen: false,\n hasRun: false,\n prompt: '',\n steps: { ...IDLE_STEPS },\n entityIds: {},\n caption: '',\n error: null,\n updatedAt: null,\n };\n}\n\n/**\n * May a run that started in `runWorkspaceId` drive a store bound to\n * `boundWorkspaceId`?\n *\n * ★★ WHY IT EXISTS. A workspace switch clears the store, but a turn started in\n * the previous workspace keeps streaming. Without this its next snapshot would\n * refill the cleared store, and the refill would be kept under the NEW\n * workspace's key, which is the leak the switch exists to prevent.\n *\n * ★ Lenient on null, deliberately: fe-libs reports `null` when it cannot read\n * the workspace, and an unbound store has nothing to protect. Refusing either\n * would silently stop every preview rather than guard one.\n */\nexport function runBelongsToWorkspace(runWorkspaceId: string | null, boundWorkspaceId: string | null): boolean {\n return runWorkspaceId === null || boundWorkspaceId === null || runWorkspaceId === boundWorkspaceId;\n}\n\nexport const useAssistantRunStore = create<AssistantRunState>()((set, get) => ({\n ...idleRun(),\n richMounted: false,\n workspaceId: null,\n actorId: null,\n\n startRun: (prompt, conversationId) =>\n set((previous) => {\n const state =\n conversationId && previous.hasRun && previous.conversationId !== conversationId\n ? { ...previous, ...idleRun() }\n : previous;\n // A new prompt CONTINUES the same use case (incremental flow) — keep every\n // step and id already built. Clear any stale spinner from the prior turn,\n // then light up the earliest step that has not landed yet so the \"working\n // on it\" indicator sits on the right tab.\n const steps = { ...state.steps };\n for (const key of PREVIEW_STEPS) {\n if (steps[key] === 'running') steps[key] = 'pending';\n }\n const next = PREVIEW_STEPS.find((key) => steps[key] === 'pending');\n if (next) steps[next] = 'running';\n return {\n ...state,\n conversationId: conversationId ?? state.conversationId,\n isRunning: true,\n // Auto-open: the whole point is that you SEE the build happen without\n // having to go looking for it.\n previewOpen: true,\n hasRun: true,\n prompt,\n steps,\n // entityIds intentionally preserved (merged) so earlier tabs keep content.\n caption: '',\n error: null,\n updatedAt: Date.now(),\n };\n }),\n\n applyProgress: (content) =>\n set((state) => {\n const steps = { ...state.steps };\n const entityIds = { ...state.entityIds };\n\n const markDone = (step: PreviewStepKey, id?: string) => {\n steps[step] = advance(steps[step], 'done');\n // Always record the freshest id seen this turn (never \"first wins\"): an\n // incremental prompt that rebuilds a piece must point the tab at the new\n // one. `step !== 'widget'` narrows to the keys entityIds actually holds.\n if (id && step !== 'widget') entityIds[step] = id;\n };\n\n // 1) Markdown link paths.\n for (const match of content.matchAll(ENTITY_LINK)) {\n const step = LINK_TO_STEP[match[1] ?? ''];\n if (step && match[2]) markDone(step, match[2]);\n }\n // 2) Raw mutation JSON (the agent often prints this instead of a link).\n for (const { step, re } of JSON_ID_STEPS) {\n const match = re.exec(content);\n if (match?.[1]) markDone(step, match[1]);\n }\n\n if (WIDGET_CREATE_JSON.test(content) || WIDGET_DONE.test(content)) {\n steps.widget = advance(steps.widget, 'done');\n }\n\n // The first step that has not finished is the one being worked on.\n const active = PREVIEW_STEPS.find((key) => steps[key] === 'pending' || steps[key] === 'running');\n if (active) steps[active] = advance(steps[active], 'running');\n\n const caption =\n content\n .split('\\n')\n .map((line) => line.trim())\n .reverse()\n .map((line) => RUNNING_LINE.exec(line)?.[1])\n .find((label): label is string => Boolean(label)) ?? state.caption;\n\n return { steps, entityIds, caption, updatedAt: Date.now() };\n }),\n\n applyResult: (id, output, messageOrder) =>\n set((state) => {\n if (state.completedResultIds.includes(id)) return state;\n const entities = previewMutationEntities(output);\n if (entities.length === 0) return state;\n const steps = { ...state.steps };\n const entityIds = { ...state.entityIds };\n const entityResultOrder = { ...state.entityResultOrder };\n let applied = false;\n const applyEntity = (step: PreviewStepKey, entityId: string) => {\n const previousOrder = entityResultOrder[step];\n // Separate issuing sessions are read concurrently. An older message's\n // successful write must not replace the selected conversation's newer\n // entity. Equal orders allow several approved actions in the same turn.\n if (messageOrder !== undefined && previousOrder !== undefined && messageOrder < previousOrder) return;\n if (messageOrder !== undefined) entityResultOrder[step] = messageOrder;\n steps[step] = 'done';\n if (step !== 'widget') entityIds[step] = entityId;\n applied = true;\n };\n for (const entity of entities) {\n applyEntity(entity.step, entity.id);\n if (entity.dashboardId) applyEntity('dashboard', entity.dashboardId);\n if (entity.parserId) applyEntity('parser', entity.parserId);\n }\n const completedResultIds = [...state.completedResultIds, id];\n if (!applied) return { completedResultIds };\n return {\n steps,\n entityIds,\n entityResultOrder,\n completedResultIds,\n contentRevision: state.contentRevision + 1,\n updatedAt: Date.now(),\n };\n }),\n\n finishRun: (error) =>\n set((state) => {\n // The turn is over — stop the live spinner. A step still 'running' didn't\n // land this turn, so drop it back to 'pending' (a later prompt can pick it\n // up). NEVER blanket-skip pending steps: in the incremental flow the later\n // steps simply have not been asked for yet, and 'done' steps must stay done.\n const steps = { ...state.steps };\n for (const key of PREVIEW_STEPS) {\n if (steps[key] === 'running') steps[key] = 'pending';\n }\n return {\n isRunning: false,\n error,\n steps,\n caption: '',\n contentRevision: state.contentRevision + 1,\n updatedAt: Date.now(),\n };\n }),\n\n openPreview: () => set({ previewOpen: true }),\n closePreview: () => set({ previewOpen: false }),\n setRichMounted: (mounted) => set({ richMounted: mounted }),\n\n bindWorkspace: (workspaceId) => {\n const previous = get().workspaceId;\n const actorId = workspaceId === null ? null : getActorId();\n if (previous === workspaceId && get().actorId === actorId) return;\n if (previous !== null && previous !== workspaceId) removePersistedRun(previous);\n const restored = workspaceId === null ? null : readPersistedRun(workspaceId, actorId);\n set({ ...idleRun(), ...restored, workspaceId, actorId });\n },\n}));\n\n/**\n * Keep the page preview's slice for the bound workspace on every change to it.\n *\n * ★ A subscription rather than a write in each action: five actions change the\n * slice, and a write missed in any one of them would restore a stale preview.\n * `bindWorkspace` also lands here, which is harmless: it rewrites what it read.\n */\nuseAssistantRunStore.subscribe((state, previous) => {\n if (state.workspaceId === null) return;\n if (\n state.workspaceId === previous.workspaceId &&\n state.actorId === previous.actorId &&\n state.hasRun === previous.hasRun &&\n state.previewOpen === previous.previewOpen &&\n state.steps === previous.steps &&\n state.entityIds === previous.entityIds &&\n state.updatedAt === previous.updatedAt\n ) {\n return;\n }\n if (!state.hasRun) {\n removePersistedRun(state.workspaceId);\n return;\n }\n const run: PersistedRun = {\n hasRun: true,\n ...(state.conversationId ? { conversationId: state.conversationId } : {}),\n previewOpen: state.previewOpen,\n steps: state.steps,\n entityIds: state.entityIds,\n updatedAt: state.updatedAt,\n };\n writePersistedRun(state.workspaceId, state.actorId, run);\n});\n"],"mappings":";;;;;AAkCA,IAAa,IAA2C;CAAC;CAAY;CAAa;CAAU;CAAS,EAuD/F,IAAwD;CAC5D,UAAU;CACV,WAAW;CACX,QAAQ;CACR,QAAQ;CACT,EAGK,IAAc,mEAEd,IAAc,6BACd,IAAe,iBAEf,IAA+C;CACnD,WAAW;CACX,YAAY;CACZ,SAAS;CACV,EAQK,IAAwF;CAC5F;EAAE,MAAM;EAAY,IAAI;E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AO,MAAa;AAElD,KADI,EAAM,gBAAgB,QAExB,EAAM,gBAAgB,EAAS,eAC/B,EAAM,YAAY,EAAS,WAC3B,EAAM,WAAW,EAAS,UAC1B,EAAM,gBAAgB,EAAS,eAC/B,EAAM,UAAU,EAAS,SACzB,EAAM,cAAc,EAAS,aAC7B,EAAM,cAAc,EAAS,UAE7B;AAEF,KAAI,CAAC,EAAM,QAAQ;AACjB,IAAmB,EAAM,YAAY;AACrC;;CAEF,IAAM,IAAoB;EACxB,QAAQ;EACR,GAAI,EAAM,iBAAiB,EAAE,gBAAgB,EAAM,gBAAgB,GAAG,EAAE;EACxE,aAAa,EAAM;EACnB,OAAO,EAAM;EACb,WAAW,EAAM;EACjB,WAAW,EAAM;EAClB;AACD,GAAkB,EAAM,aAAa,EAAM,SAAS,EAAI;EACxD"}
@@ -0,0 +1,52 @@
1
+ import { AssistantMode, AssistantSandboxAuthContext } from './types';
2
+
3
+ /**
4
+ * sessionStorage keys for the warm sandbox + agent session. Versioned: the
5
+ * unversioned keys were written by builds that adopted foreign and unstamped
6
+ * sandboxes, so they are ignored (and cleared) rather than read. Re-validation
7
+ * below is what actually guards adoption; the rename just means a pre-rollout
8
+ * cache never even gets that far.
9
+ */
10
+ export declare const ASSISTANT_SANDBOX_ID_KEY = "bc-assistant-sandbox-id-v2";
11
+ export declare const ASSISTANT_SESSION_ID_KEY = "bc-assistant-session-id-v2";
12
+ export declare const LEGACY_ASSISTANT_RUNTIME_KEYS: readonly string[];
13
+ /** The sandbox operations runtime resolution needs (the `assistantApi` functions). */
14
+ export interface AssistantRuntimeApi {
15
+ isCachedAssistantSandboxReusable: (sandboxId: string, workspaceId: string, mode: AssistantMode, authContext?: AssistantSandboxAuthContext) => Promise<boolean>;
16
+ findExistingSandbox: (workspaceId: string, mode: AssistantMode, authContext?: AssistantSandboxAuthContext) => Promise<string | null>;
17
+ createAssistantSandbox: (mode: AssistantMode, workspaceId: string, authContext?: AssistantSandboxAuthContext) => Promise<string>;
18
+ waitForSandboxReady: (sandboxId: string, workspaceId: string, authContext?: AssistantSandboxAuthContext) => Promise<void>;
19
+ waitForAssistantServiceReady: (sandboxId: string, workspaceId: string, mode: AssistantMode, authContext?: AssistantSandboxAuthContext) => Promise<void>;
20
+ createAssistantSession: (sandboxId: string, workspaceId: string, mode: AssistantMode, authContext?: AssistantSandboxAuthContext) => Promise<{
21
+ sessionId: string;
22
+ }>;
23
+ }
24
+ /** The hook's refs. Setters persist to sessionStorage; `verified*` is memory only. */
25
+ export interface AssistantRuntimeStore {
26
+ getSandboxId: () => string | null;
27
+ setSandboxId: (id: string | null) => void;
28
+ getSessionId: () => string | null;
29
+ setSessionId: (id: string | null) => void;
30
+ getVerifiedSandboxKey: () => string | null;
31
+ setVerifiedSandboxKey: (key: string | null) => void;
32
+ }
33
+ /**
34
+ * Identity of a proof that `sandboxId` may be driven by `userId`. Keyed on the
35
+ * user too, so an identity change in the same tab re-validates. A missing user
36
+ * id is part of the key rather than a reason to skip the key: a sandbox created
37
+ * in this lifecycle before the id loaded must not be re-validated (it would fail
38
+ * the fail-closed owner check) and replaced on every turn.
39
+ */
40
+ export declare function verifiedSandboxKey(sandboxId: string, userId: string | null | undefined): string;
41
+ export declare function resolveAssistantRuntime(params: {
42
+ workspaceId: string;
43
+ mode: AssistantMode;
44
+ authContext: AssistantSandboxAuthContext;
45
+ store: AssistantRuntimeStore;
46
+ api: AssistantRuntimeApi;
47
+ hasAccessToken: () => boolean;
48
+ }): Promise<{
49
+ sandboxId: string;
50
+ sessionId: string;
51
+ }>;
52
+ //# sourceMappingURL=assistantRuntime.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"assistantRuntime.d.ts","sourceRoot":"","sources":["../../../src/bigconsole/assistant/assistantRuntime.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,2BAA2B,EAAE,MAAM,SAAS,CAAC;AAE1E;;;;;;GAMG;AACH,eAAO,MAAM,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,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAC1C,YAAY,EAAE,MAAM,MAAM,GAAG,IAAI,CAAC;IAClC,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAC1C,qBAAqB,EAAE,MAAM,MAAM,GAAG,IAAI,CAAC;IAC3C,qBAAqB,EAAE,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CACrD;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,CAE/F;AAID,wBAAsB,uBAAuB,CAAC,MAAM,EAAE;IACpD,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,aAAa,CAAC;IACpB,WAAW,EAAE,2BAA2B,CAAC;IACzC,KAAK,EAAE,qBAAqB,CAAC;IAC7B,GAAG,EAAE,mBAAmB,CAAC;IACzB,cAAc,EAAE,MAAM,OAAO,CAAC;CAC/B,GAAG,OAAO,CAAC;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC,CAsEpD"}
@@ -0,0 +1,49 @@
1
+ /**
2
+ * Client-side extraction of an uploaded data file into a capped text/rows
3
+ * preview that gets folded into the assistant prompt.
4
+ *
5
+ * Lives in the BigConsole product layer (not fe-libs) because it pulls in the
6
+ * xlsx / pdfjs parsers — fe-libs stays parsing-free and only carries the raw
7
+ * `File`s through `AssistantSendArgs.attachments`. Heavy parsers are loaded via
8
+ * dynamic `import()` so they code-split and only download when a file is
9
+ * actually attached.
10
+ *
11
+ * The agent receives a CAPPED preview — enough to design a DataSink schema from,
12
+ * not the whole file — because the payload rides the `proxySandboxRequest`
13
+ * gateway call (bounded execution budget) and the model has a context limit.
14
+ */
15
+ /**
16
+ * Characters of ONE file's text this widget folds into the prompt: ~100 KB.
17
+ *
18
+ * ★★ A CEILING THAT ALMOST NEVER BINDS, and exported so the seam can say so
19
+ * out loud. `MAX_ROWS` is applied FIRST and wins for anything row-oriented: a
20
+ * 200-row slice of a CSV is a few KB, so what this widget has actually been
21
+ * sending is nowhere near 100,000 characters. Only a file with very long lines
22
+ * — one-line JSON, a wide log — ever reaches this number.
23
+ *
24
+ * ★★ So `modes.ts` DELIBERATELY DOES NOT MATCH IT. The shared panel has no row
25
+ * cap, and fe-libs spends a turn's inline budget greedily in attachment order,
26
+ * so asking for 100,000 a file there would let two files eat the whole turn and
27
+ * drop the third (BOFF-7532). `Build` asks for 15,155 instead — derived from
28
+ * the BYTE envelope fe-libs enforces, not from this ceiling — which still
29
+ * delivers MORE rows of a CSV than `MAX_ROWS` below.
30
+ * `tests/assistantSeam.test.ts` guards that direction in rows actually served,
31
+ * measured against the installed fe-libs; when this legacy transport goes,
32
+ * delete the guard with it.
33
+ */
34
+ export declare const MAX_INLINE_CHARS_PER_FILE = 100000;
35
+ /**
36
+ * Rows of ONE row-oriented file this widget folds into the prompt.
37
+ *
38
+ * ★★ THE CAP THAT ACTUALLY BOUND, which is why it is exported: it, not
39
+ * `MAX_INLINE_CHARS_PER_FILE`, is what the seam's parity guard compares
40
+ * against. 200 rows of a CSV is a few KB, nowhere near 100,000 characters.
41
+ */
42
+ export declare const MAX_ROWS = 200;
43
+ /**
44
+ * Extract every attachment and format them as fenced "Attached data source"
45
+ * blocks the agent can read and turn into a DataSink. Files that fail to parse
46
+ * (e.g. a scanned PDF) produce a short note rather than aborting the send.
47
+ */
48
+ export declare function buildAttachmentBlock(files: File[]): Promise<string>;
49
+ //# sourceMappingURL=attachmentExtract.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attachmentExtract.d.ts","sourceRoot":"","sources":["../../../src/bigconsole/assistant/attachmentExtract.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,yBAAyB,SAAU,CAAC;AAEjD;;;;;;GAMG;AACH,eAAO,MAAM,QAAQ,MAAM,CAAC;AAuE5B;;;;GAIG;AACH,wBAAsB,oBAAoB,CAAC,KAAK,EAAE,IAAI,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAqBzE"}
@@ -0,0 +1,38 @@
1
+ import { AssistantSandboxAuthContext } from './types';
2
+
3
+ /**
4
+ * Every conversation written from here belongs to BigConsole.
5
+ *
6
+ * ★ Same value as `assistantApi`'s `ASSISTANT_PRODUCT`, and now literally the
7
+ * same source. These were two independent string literals under two different
8
+ * names — history rows are tagged with this one while sandboxes are stamped with
9
+ * that one, so a divergence would have hidden a product's whole transcript from
10
+ * its own panel without failing anything.
11
+ */
12
+ export declare const ASSISTANT_PRODUCT_ID = "bigconsole";
13
+ export interface AssistantConversationSummary {
14
+ id: string;
15
+ title: string | null;
16
+ agentSessionId: string | null;
17
+ updatedAt: string;
18
+ }
19
+ export interface AssistantHistoryTurnMessage {
20
+ id: string;
21
+ role: 'USER' | 'ASSISTANT';
22
+ content: string;
23
+ createdAt: string;
24
+ }
25
+ export declare function listAssistantConversations(workspaceId: string, authContext?: AssistantSandboxAuthContext, first?: number): Promise<AssistantConversationSummary[]>;
26
+ export declare function getAssistantConversationMessages(conversationId: string, workspaceId: string, authContext?: AssistantSandboxAuthContext, first?: number): Promise<AssistantHistoryTurnMessage[]>;
27
+ /**
28
+ * Persist one completed turn. Creates the conversation on the first turn and
29
+ * returns it, so the caller can hold on to the id.
30
+ */
31
+ export declare function saveAssistantTurn(params: {
32
+ conversationId: string | null;
33
+ prompt: string;
34
+ reply: string;
35
+ agentSessionId: string | null;
36
+ }, workspaceId: string, authContext?: AssistantSandboxAuthContext): Promise<AssistantConversationSummary>;
37
+ export declare function deleteAssistantConversation(conversationId: string, workspaceId: string, authContext?: AssistantSandboxAuthContext): Promise<void>;
38
+ //# sourceMappingURL=conversationHistoryApi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"conversationHistoryApi.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EACnB,WAAW,CAAC,EAAE,2BAA2B,GACxC,OAAO,CAAC,IAAI,CAAC,CAQf"}
@@ -0,0 +1,67 @@
1
+ /**
2
+ * BigConsole adapter for the shared fe-libs AssistantWidget.
3
+ *
4
+ * The floating widget (fe-libs, Layer 1) is backend-agnostic — it calls an
5
+ * injected `AssistantTransport`. This hook builds a transport that drives the
6
+ * sandbox AI assistant (combined `assistant` mode = docs Q&A + api-calls): it
7
+ * provisions/reuses a sandbox, opens a session, dispatches the prompt async,
8
+ * then polls for the streamed answer. The agent introspects the GraphQL schema
9
+ * and performs API calls on the user's behalf using their workspace token,
10
+ * contextual to the current screen (via `gatherPageContext`).
11
+ *
12
+ * This is a faithful port of microfe-vibecontrols'
13
+ * `services/createSandboxAssistantTransport.ts`; the only product-specific
14
+ * difference lives in `assistantApi.createAssistantSandbox`
15
+ * (`AI_ASSISTANT_PRODUCT=bigconsole`).
16
+ */
17
+ /**
18
+ * Locally-defined mirror of the fe-libs `AssistantTransport` contract.
19
+ *
20
+ * Intentionally NOT imported from `@burdenoff/fe-libs`: microfe's tsconfig maps
21
+ * `@burdenoff/fe-libs/*` to fe-libs *source*, so vite-plugin-dts would rewrite a
22
+ * cross-package type used in this hook's public signature to a broken
23
+ * source-relative path in the emitted `.d.ts`. Structural typing makes this
24
+ * shape assignable to fe-libs' `AssistantTransport` at the call site
25
+ * (bigconsole-app's AppShell), which is where compatibility is enforced.
26
+ */
27
+ interface AssistantSendArgs {
28
+ prompt: string;
29
+ /** Files attached via the widget's upload button (fe-libs carries the raw
30
+ * File[]; we extract + fold a capped preview into the agent prompt here). */
31
+ attachments?: File[];
32
+ onProgress: (partialText: string) => void;
33
+ signal: AbortSignal;
34
+ }
35
+ /** Mirror of fe-libs' `AssistantWidgetMessage` (see note above on why). */
36
+ interface AssistantHistoryMessage {
37
+ id: string;
38
+ role: 'user' | 'assistant';
39
+ content: string;
40
+ pending?: boolean;
41
+ error?: boolean;
42
+ }
43
+ /** Mirror of fe-libs' `AssistantSessionSummary` (see note above on why). */
44
+ interface AssistantSessionSummaryLocal {
45
+ id: string;
46
+ title: string;
47
+ updatedAt?: number;
48
+ active?: boolean;
49
+ }
50
+ export interface AssistantTransport {
51
+ sendPrompt: (args: AssistantSendArgs) => Promise<{
52
+ text: string;
53
+ }>;
54
+ loadHistory: () => Promise<AssistantHistoryMessage[]>;
55
+ listSessions: () => Promise<AssistantSessionSummaryLocal[]>;
56
+ newSession: () => Promise<void>;
57
+ deleteSession: (sessionId: string) => Promise<void>;
58
+ selectSession: (sessionId: string) => Promise<AssistantHistoryMessage[]>;
59
+ }
60
+ /**
61
+ * Returns a memoized `AssistantTransport` wired to the BigConsole sandbox
62
+ * assistant agent. The sandbox + session are cached in refs so follow-up turns
63
+ * reuse the warm environment for the lifetime of the host shell.
64
+ */
65
+ export declare function useSandboxAssistantTransport(): AssistantTransport;
66
+ export {};
67
+ //# sourceMappingURL=createSandboxAssistantTransport.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createSandboxAssistantTransport.d.ts","sourceRoot":"","sources":["../../../src/bigconsole/assistant/createSandboxAssistantTransport.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAmCH;;;;;;;;;GASG;AACH,UAAU,iBAAiB;IACzB,MAAM,EAAE,MAAM,CAAC;IACf;kFAC8E;IAC9E,WAAW,CAAC,EAAE,IAAI,EAAE,CAAC;IACrB,UAAU,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,MAAM,EAAE,WAAW,CAAC;CACrB;AAED,2EAA2E;AAC3E,UAAU,uBAAuB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,GAAG,WAAW,CAAC;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,4EAA4E;AAC5E,UAAU,4BAA4B;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,kBAAkB;IACjC,UAAU,EAAE,CAAC,IAAI,EAAE,iBAAiB,KAAK,OAAO,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACnE,WAAW,EAAE,MAAM,OAAO,CAAC,uBAAuB,EAAE,CAAC,CAAC;IACtD,YAAY,EAAE,MAAM,OAAO,CAAC,4BAA4B,EAAE,CAAC,CAAC;IAC5D,UAAU,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAChC,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpD,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,uBAAuB,EAAE,CAAC,CAAC;CAC1E;AAuVD;;;;GAIG;AACH,wBAAgB,4BAA4B,IAAI,kBAAkB,CAudjE"}
@@ -0,0 +1,33 @@
1
+ /**
2
+ * BigConsole AI Assistant module.
3
+ *
4
+ * Public surface: the `useSandboxAssistantTransport` hook, which the host app
5
+ * shell (bigconsole-app) feeds to the shared fe-libs `AssistantWidget`.
6
+ */
7
+ export { useSandboxAssistantTransport } from './createSandboxAssistantTransport';
8
+ export type { AssistantTransport } from './createSandboxAssistantTransport';
9
+ export { AiPreviewMiniPanel } from '../components/preview/AiPreviewMiniPanel';
10
+ export { describeCurrentPage, gatherPageContext, resolveBigConsoleConversationContext } from './pageContext';
11
+ export type { PageContext } from './pageContext';
12
+ export type { AssistantMode } from './types';
13
+ /**
14
+ * The shared-assistant product seam (BC3, BOFF-7336).
15
+ *
16
+ * ★ Value exports only, never `export *`: this barrel is a curated surface that
17
+ * the host shell imports from a deep subpath (`@burdenoff/microfe-bigconsole/
18
+ * assistant`), and each public export must survive the Rollup entry that backs
19
+ * it. A re-export barrel folded into the main entry emits bare side-effect
20
+ * imports instead of named exports — see the note in `vite.config.ts`.
21
+ *
22
+ * ★★ The seam is DELIBERATELY INERT until BC4. `BigConsoleAssistant.tsx` still
23
+ * renders the legacy `AssistantWidget`; exporting the seam first is what lets
24
+ * BC4 be a mount change rather than a mount-and-write change — the same
25
+ * sequencing FluidGrids used for FG1 → FG2.
26
+ */
27
+ export { BIGCONSOLE_ASSISTANT_PRODUCT, STORAGE_FOLDERS, type BigConsoleAssistantProduct } from './assistantProduct';
28
+ export { ASK, BIGCONSOLE_ASSISTANT_MODES, BUILD } from './modes';
29
+ export { BIGCONSOLE_PRODUCT } from './product';
30
+ export { API_CALLS_CONFIRM_PREAMBLE, API_CALLS_PROPOSAL_PREAMBLE, USER_REQUEST_DELIMITER, buildPromptForMode, } from './assistantPrompt';
31
+ export { PROBE_RESOURCES, useWorkspaceWriteAccess, type WorkspaceWriteAccess } from './useWorkspaceWriteAccess';
32
+ export { useBigConsoleAssistantPreview } from './previewController';
33
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/bigconsole/assistant/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,YAAY,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAG5E,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,oCAAoC,EAAE,MAAM,eAAe,CAAC;AAC7G,YAAY,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C;;;;;;;;;;;;;GAaG;AACH,OAAO,EAAE,4BAA4B,EAAE,eAAe,EAAE,KAAK,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AACpH,OAAO,EAAE,GAAG,EAAE,0BAA0B,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EACL,0BAA0B,EAC1B,2BAA2B,EAC3B,sBAAsB,EACtB,kBAAkB,GACnB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,eAAe,EAAE,uBAAuB,EAAE,KAAK,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAChH,OAAO,EAAE,6BAA6B,EAAE,MAAM,qBAAqB,CAAC"}