@burdenoff/microfe-bigconsole 2026.930.2 → 2026.1001.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bigconsole/AdminRoot.d.ts +10 -0
- package/dist/bigconsole/AdminRoot.d.ts.map +1 -0
- package/dist/bigconsole/AdminRoutes.d.ts +7 -0
- package/dist/bigconsole/AdminRoutes.d.ts.map +1 -0
- package/dist/bigconsole/BigConsoleRoot.d.ts +29 -0
- package/dist/bigconsole/BigConsoleRoot.d.ts.map +1 -0
- package/dist/bigconsole/BigConsoleRoutes.d.ts +6 -0
- package/dist/bigconsole/BigConsoleRoutes.d.ts.map +1 -0
- package/dist/bigconsole/assistant/assistantApi.d.ts +91 -0
- package/dist/bigconsole/assistant/assistantApi.d.ts.map +1 -0
- package/dist/bigconsole/assistant/assistantProduct.d.ts +73 -0
- package/dist/bigconsole/assistant/assistantProduct.d.ts.map +1 -0
- package/dist/bigconsole/assistant/assistantPrompt.d.ts +48 -0
- package/dist/bigconsole/assistant/assistantPrompt.d.ts.map +1 -0
- package/dist/bigconsole/assistant/assistantRunPersistence.d.ts +30 -0
- package/dist/bigconsole/assistant/assistantRunPersistence.d.ts.map +1 -0
- package/dist/bigconsole/assistant/assistantRunPersistence.js +14 -11
- package/dist/bigconsole/assistant/assistantRunPersistence.js.map +1 -1
- package/dist/bigconsole/assistant/assistantRunStore.d.ts +75 -0
- package/dist/bigconsole/assistant/assistantRunStore.d.ts.map +1 -0
- package/dist/bigconsole/assistant/assistantRunStore.js +78 -47
- package/dist/bigconsole/assistant/assistantRunStore.js.map +1 -1
- package/dist/bigconsole/assistant/assistantRuntime.d.ts +52 -0
- package/dist/bigconsole/assistant/assistantRuntime.d.ts.map +1 -0
- package/dist/bigconsole/assistant/attachmentExtract.d.ts +49 -0
- package/dist/bigconsole/assistant/attachmentExtract.d.ts.map +1 -0
- package/dist/bigconsole/assistant/conversationHistoryApi.d.ts +38 -0
- package/dist/bigconsole/assistant/conversationHistoryApi.d.ts.map +1 -0
- package/dist/bigconsole/assistant/createSandboxAssistantTransport.d.ts +67 -0
- package/dist/bigconsole/assistant/createSandboxAssistantTransport.d.ts.map +1 -0
- package/dist/bigconsole/assistant/index.d.ts +33 -0
- package/dist/bigconsole/assistant/index.d.ts.map +1 -0
- package/dist/bigconsole/assistant/modes.d.ts +255 -0
- package/dist/bigconsole/assistant/modes.d.ts.map +1 -0
- package/dist/bigconsole/assistant/pageContext.d.ts +65 -0
- package/dist/bigconsole/assistant/pageContext.d.ts.map +1 -0
- package/dist/bigconsole/assistant/previewController.d.ts +33 -0
- package/dist/bigconsole/assistant/previewController.d.ts.map +1 -0
- package/dist/bigconsole/assistant/previewController.js +28 -19
- package/dist/bigconsole/assistant/previewController.js.map +1 -1
- package/dist/bigconsole/assistant/previewMutationResult.d.ts +11 -0
- package/dist/bigconsole/assistant/previewMutationResult.d.ts.map +1 -0
- package/dist/bigconsole/assistant/previewMutationResult.js +59 -0
- package/dist/bigconsole/assistant/previewMutationResult.js.map +1 -0
- package/dist/bigconsole/assistant/previewRunAction.d.ts +25 -0
- package/dist/bigconsole/assistant/previewRunAction.d.ts.map +1 -0
- package/dist/bigconsole/assistant/product.d.ts +28 -0
- package/dist/bigconsole/assistant/product.d.ts.map +1 -0
- package/dist/bigconsole/assistant/types.d.ts +57 -0
- package/dist/bigconsole/assistant/types.d.ts.map +1 -0
- package/dist/bigconsole/assistant/useAssistantRunWorkspace.d.ts +17 -0
- package/dist/bigconsole/assistant/useAssistantRunWorkspace.d.ts.map +1 -0
- package/dist/bigconsole/assistant/useAssistantRunWorkspace.js +11 -6
- package/dist/bigconsole/assistant/useAssistantRunWorkspace.js.map +1 -1
- package/dist/bigconsole/assistant/useWorkspaceWriteAccess.d.ts +36 -0
- package/dist/bigconsole/assistant/useWorkspaceWriteAccess.d.ts.map +1 -0
- package/dist/bigconsole/components/DrilldownDashboardRenderer.d.ts +13 -0
- package/dist/bigconsole/components/DrilldownDashboardRenderer.d.ts.map +1 -0
- package/dist/bigconsole/components/DrilldownDashboardRenderer.js +67 -47
- package/dist/bigconsole/components/DrilldownDashboardRenderer.js.map +1 -1
- package/dist/bigconsole/components/DrilldownModal.d.ts +11 -0
- package/dist/bigconsole/components/DrilldownModal.d.ts.map +1 -0
- package/dist/bigconsole/components/builder/BuilderCanvas.d.ts +17 -0
- package/dist/bigconsole/components/builder/BuilderCanvas.d.ts.map +1 -0
- package/dist/bigconsole/components/builder/BuilderTopbar.d.ts +17 -0
- package/dist/bigconsole/components/builder/BuilderTopbar.d.ts.map +1 -0
- package/dist/bigconsole/components/builder/DashboardEditorShell.d.ts +9 -0
- package/dist/bigconsole/components/builder/DashboardEditorShell.d.ts.map +1 -0
- package/dist/bigconsole/components/builder/WidgetInspector.d.ts +15 -0
- package/dist/bigconsole/components/builder/WidgetInspector.d.ts.map +1 -0
- package/dist/bigconsole/components/builder/index.d.ts +5 -0
- package/dist/bigconsole/components/builder/index.d.ts.map +1 -0
- package/dist/bigconsole/components/builder/inspector/AdvancedSection.d.ts +17 -0
- package/dist/bigconsole/components/builder/inspector/AdvancedSection.d.ts.map +1 -0
- package/dist/bigconsole/components/builder/inspector/AppearanceSection.d.ts +11 -0
- package/dist/bigconsole/components/builder/inspector/AppearanceSection.d.ts.map +1 -0
- package/dist/bigconsole/components/builder/inspector/DataBindingSection.d.ts +18 -0
- package/dist/bigconsole/components/builder/inspector/DataBindingSection.d.ts.map +1 -0
- package/dist/bigconsole/components/builder/inspector/GeneralSection.d.ts +18 -0
- package/dist/bigconsole/components/builder/inspector/GeneralSection.d.ts.map +1 -0
- package/dist/bigconsole/components/builder/inspector/LayoutSection.d.ts +28 -0
- package/dist/bigconsole/components/builder/inspector/LayoutSection.d.ts.map +1 -0
- package/dist/bigconsole/components/builder/inspector/index.d.ts +6 -0
- package/dist/bigconsole/components/builder/inspector/index.d.ts.map +1 -0
- package/dist/bigconsole/components/common/Section.d.ts +77 -0
- package/dist/bigconsole/components/common/Section.d.ts.map +1 -0
- package/dist/bigconsole/components/common/index.d.ts +4 -0
- package/dist/bigconsole/components/common/index.d.ts.map +1 -0
- package/dist/bigconsole/components/common/sectionStyles.d.ts +68 -0
- package/dist/bigconsole/components/common/sectionStyles.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/CreateDashboardDialog.d.ts +28 -0
- package/dist/bigconsole/components/dashboard/CreateDashboardDialog.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/DashboardCanvas.d.ts +45 -0
- package/dist/bigconsole/components/dashboard/DashboardCanvas.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/DashboardGrid.d.ts +25 -0
- package/dist/bigconsole/components/dashboard/DashboardGrid.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/DashboardStatusPill.d.ts +12 -0
- package/dist/bigconsole/components/dashboard/DashboardStatusPill.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/DashboardToolbar.d.ts +35 -0
- package/dist/bigconsole/components/dashboard/DashboardToolbar.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/DrilldownBreadcrumb.d.ts +26 -0
- package/dist/bigconsole/components/dashboard/DrilldownBreadcrumb.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/ExportDashboardDialog.d.ts +17 -0
- package/dist/bigconsole/components/dashboard/ExportDashboardDialog.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterChip.d.ts +13 -0
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterChip.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterEditor.d.ts +17 -0
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterEditor.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterPresetSelector.d.ts +14 -0
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterPresetSelector.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/GlobalFiltersBar.d.ts +15 -0
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/GlobalFiltersBar.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/index.d.ts +8 -0
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/index.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/ImportDashboardDialog.d.ts +10 -0
- package/dist/bigconsole/components/dashboard/ImportDashboardDialog.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/LiveBoardBanner.d.ts +12 -0
- package/dist/bigconsole/components/dashboard/LiveBoardBanner.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/LiveCanvasToggle.d.ts +11 -0
- package/dist/bigconsole/components/dashboard/LiveCanvasToggle.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/PageTabsManager/PageTabsManager.d.ts +23 -0
- package/dist/bigconsole/components/dashboard/PageTabsManager/PageTabsManager.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/PageTabsManager/index.d.ts +6 -0
- package/dist/bigconsole/components/dashboard/PageTabsManager/index.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/PublishToStoreDialog.d.ts +14 -0
- package/dist/bigconsole/components/dashboard/PublishToStoreDialog.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/SavedViewsDropdown/SavedViewsDropdown.d.ts +13 -0
- package/dist/bigconsole/components/dashboard/SavedViewsDropdown/SavedViewsDropdown.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/SavedViewsDropdown/index.d.ts +6 -0
- package/dist/bigconsole/components/dashboard/SavedViewsDropdown/index.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/ShareDialog/EmbedTab.d.ts +35 -0
- package/dist/bigconsole/components/dashboard/ShareDialog/EmbedTab.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.d.ts +23 -0
- package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/ShareDialog/index.d.ts +6 -0
- package/dist/bigconsole/components/dashboard/ShareDialog/index.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/StoreTemplatePicker.d.ts +13 -0
- package/dist/bigconsole/components/dashboard/StoreTemplatePicker.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/TemplatePicker/TemplatePicker.d.ts +20 -0
- package/dist/bigconsole/components/dashboard/TemplatePicker/TemplatePicker.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/TemplatePicker/index.d.ts +6 -0
- package/dist/bigconsole/components/dashboard/TemplatePicker/index.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/TemplateSetupBanner.d.ts +13 -0
- package/dist/bigconsole/components/dashboard/TemplateSetupBanner.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/WidgetPalette.d.ts +29 -0
- package/dist/bigconsole/components/dashboard/WidgetPalette.d.ts.map +1 -0
- package/dist/bigconsole/components/dashboard/index.d.ts +24 -0
- package/dist/bigconsole/components/dashboard/index.d.ts.map +1 -0
- package/dist/bigconsole/components/datasink/CacheTTLSelector.d.ts +24 -0
- package/dist/bigconsole/components/datasink/CacheTTLSelector.d.ts.map +1 -0
- package/dist/bigconsole/components/datasink/ConfigurationForm.d.ts +21 -0
- package/dist/bigconsole/components/datasink/ConfigurationForm.d.ts.map +1 -0
- package/dist/bigconsole/components/datasink/DataPreviewPanel.d.ts +20 -0
- package/dist/bigconsole/components/datasink/DataPreviewPanel.d.ts.map +1 -0
- package/dist/bigconsole/components/datasink/DataSinkCard.d.ts +29 -0
- package/dist/bigconsole/components/datasink/DataSinkCard.d.ts.map +1 -0
- package/dist/bigconsole/components/datasink/DataSinkDataViewer.d.ts +18 -0
- package/dist/bigconsole/components/datasink/DataSinkDataViewer.d.ts.map +1 -0
- package/dist/bigconsole/components/datasink/DataSinkDeleteDialog.d.ts +17 -0
- package/dist/bigconsole/components/datasink/DataSinkDeleteDialog.d.ts.map +1 -0
- package/dist/bigconsole/components/datasink/DataSinkRefreshConfig.d.ts +22 -0
- package/dist/bigconsole/components/datasink/DataSinkRefreshConfig.d.ts.map +1 -0
- package/dist/bigconsole/components/datasink/DataSinkRefreshDialog.d.ts +17 -0
- package/dist/bigconsole/components/datasink/DataSinkRefreshDialog.d.ts.map +1 -0
- package/dist/bigconsole/components/datasink/DataSinkStatusBadge.d.ts +13 -0
- package/dist/bigconsole/components/datasink/DataSinkStatusBadge.d.ts.map +1 -0
- package/dist/bigconsole/components/datasink/DataSinkTableViewer.d.ts +13 -0
- package/dist/bigconsole/components/datasink/DataSinkTableViewer.d.ts.map +1 -0
- package/dist/bigconsole/components/datasink/ExportDataSinkDialog.d.ts +17 -0
- package/dist/bigconsole/components/datasink/ExportDataSinkDialog.d.ts.map +1 -0
- package/dist/bigconsole/components/datasink/FluidGridsPanel.d.ts +31 -0
- package/dist/bigconsole/components/datasink/FluidGridsPanel.d.ts.map +1 -0
- package/dist/bigconsole/components/datasink/ImportDataGuideDialog.d.ts +23 -0
- package/dist/bigconsole/components/datasink/ImportDataGuideDialog.d.ts.map +1 -0
- package/dist/bigconsole/components/datasink/ImportDataSinkDialog.d.ts +10 -0
- package/dist/bigconsole/components/datasink/ImportDataSinkDialog.d.ts.map +1 -0
- package/dist/bigconsole/components/datasink/LinkedParsersPanel.d.ts +12 -0
- package/dist/bigconsole/components/datasink/LinkedParsersPanel.d.ts.map +1 -0
- package/dist/bigconsole/components/datasink/LinkedWorkflowsPanel.d.ts +11 -0
- package/dist/bigconsole/components/datasink/LinkedWorkflowsPanel.d.ts.map +1 -0
- package/dist/bigconsole/components/datasink/RefreshTypeSelector.d.ts +26 -0
- package/dist/bigconsole/components/datasink/RefreshTypeSelector.d.ts.map +1 -0
- package/dist/bigconsole/components/datasink/SetupStateBadge.d.ts +13 -0
- package/dist/bigconsole/components/datasink/SetupStateBadge.d.ts.map +1 -0
- package/dist/bigconsole/components/datasink/WorkflowStatusPanel.d.ts +30 -0
- package/dist/bigconsole/components/datasink/WorkflowStatusPanel.d.ts.map +1 -0
- package/dist/bigconsole/components/datasink/index.d.ts +24 -0
- package/dist/bigconsole/components/datasink/index.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/EmbedErrorBoundary.d.ts +18 -0
- package/dist/bigconsole/components/embed/EmbedErrorBoundary.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/EmbedWidgetRenderer.d.ts +6 -0
- package/dist/bigconsole/components/embed/EmbedWidgetRenderer.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/ReadOnlyDashboardRenderer.d.ts +14 -0
- package/dist/bigconsole/components/embed/ReadOnlyDashboardRenderer.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/drilldown.d.ts +5 -0
- package/dist/bigconsole/components/embed/drilldown.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/index.d.ts +16 -0
- package/dist/bigconsole/components/embed/index.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/renderer-manifest.d.ts +23 -0
- package/dist/bigconsole/components/embed/renderer-manifest.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/types.d.ts +106 -0
- package/dist/bigconsole/components/embed/types.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/validate.d.ts +4 -0
- package/dist/bigconsole/components/embed/validate.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/widgetShim.d.ts +5 -0
- package/dist/bigconsole/components/embed/widgetShim.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/widgets/CalendarEmbed.d.ts +4 -0
- package/dist/bigconsole/components/embed/widgets/CalendarEmbed.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/widgets/ChartEmbed.d.ts +10 -0
- package/dist/bigconsole/components/embed/widgets/ChartEmbed.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/widgets/EmbedFrame.d.ts +7 -0
- package/dist/bigconsole/components/embed/widgets/EmbedFrame.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/widgets/FormEmbed.d.ts +4 -0
- package/dist/bigconsole/components/embed/widgets/FormEmbed.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/widgets/GaugeEmbed.d.ts +4 -0
- package/dist/bigconsole/components/embed/widgets/GaugeEmbed.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/widgets/HeatmapEmbed.d.ts +4 -0
- package/dist/bigconsole/components/embed/widgets/HeatmapEmbed.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/widgets/KanbanEmbed.d.ts +4 -0
- package/dist/bigconsole/components/embed/widgets/KanbanEmbed.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/widgets/KpiComparisonEmbed.d.ts +4 -0
- package/dist/bigconsole/components/embed/widgets/KpiComparisonEmbed.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/widgets/ListEmbed.d.ts +4 -0
- package/dist/bigconsole/components/embed/widgets/ListEmbed.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/widgets/MetricCardEmbed.d.ts +4 -0
- package/dist/bigconsole/components/embed/widgets/MetricCardEmbed.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/widgets/PivotEmbed.d.ts +4 -0
- package/dist/bigconsole/components/embed/widgets/PivotEmbed.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/widgets/ProgressEmbed.d.ts +4 -0
- package/dist/bigconsole/components/embed/widgets/ProgressEmbed.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/widgets/RetentionEmbed.d.ts +4 -0
- package/dist/bigconsole/components/embed/widgets/RetentionEmbed.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/widgets/TableEmbed.d.ts +4 -0
- package/dist/bigconsole/components/embed/widgets/TableEmbed.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/widgets/TextEmbed.d.ts +4 -0
- package/dist/bigconsole/components/embed/widgets/TextEmbed.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/widgets/TimelineEmbed.d.ts +4 -0
- package/dist/bigconsole/components/embed/widgets/TimelineEmbed.d.ts.map +1 -0
- package/dist/bigconsole/components/embed/widgets/shared.d.ts +37 -0
- package/dist/bigconsole/components/embed/widgets/shared.d.ts.map +1 -0
- package/dist/bigconsole/components/overview/DashboardGuide.d.ts +27 -0
- package/dist/bigconsole/components/overview/DashboardGuide.d.ts.map +1 -0
- package/dist/bigconsole/components/overview/DataHealthCard.d.ts +18 -0
- package/dist/bigconsole/components/overview/DataHealthCard.d.ts.map +1 -0
- package/dist/bigconsole/components/overview/OverviewQuickActions.d.ts +16 -0
- package/dist/bigconsole/components/overview/OverviewQuickActions.d.ts.map +1 -0
- package/dist/bigconsole/components/overview/OverviewStatCard.d.ts +18 -0
- package/dist/bigconsole/components/overview/OverviewStatCard.d.ts.map +1 -0
- package/dist/bigconsole/components/overview/RecentDashboardsPanel.d.ts +19 -0
- package/dist/bigconsole/components/overview/RecentDashboardsPanel.d.ts.map +1 -0
- package/dist/bigconsole/components/overview/dashboardGuideSteps.d.ts +79 -0
- package/dist/bigconsole/components/overview/dashboardGuideSteps.d.ts.map +1 -0
- package/dist/bigconsole/components/overview/index.d.ts +14 -0
- package/dist/bigconsole/components/overview/index.d.ts.map +1 -0
- package/dist/bigconsole/components/overview/overviewModel.d.ts +124 -0
- package/dist/bigconsole/components/overview/overviewModel.d.ts.map +1 -0
- package/dist/bigconsole/components/overview/useOverviewData.d.ts +22 -0
- package/dist/bigconsole/components/overview/useOverviewData.d.ts.map +1 -0
- package/dist/bigconsole/components/parser/DataSinkSelector.d.ts +21 -0
- package/dist/bigconsole/components/parser/DataSinkSelector.d.ts.map +1 -0
- package/dist/bigconsole/components/parser/ExportParserDialog.d.ts +17 -0
- package/dist/bigconsole/components/parser/ExportParserDialog.d.ts.map +1 -0
- package/dist/bigconsole/components/parser/ExpressionEditor.d.ts +25 -0
- package/dist/bigconsole/components/parser/ExpressionEditor.d.ts.map +1 -0
- package/dist/bigconsole/components/parser/ImportParserDialog.d.ts +12 -0
- package/dist/bigconsole/components/parser/ImportParserDialog.d.ts.map +1 -0
- package/dist/bigconsole/components/parser/ParserBuilder.d.ts +41 -0
- package/dist/bigconsole/components/parser/ParserBuilder.d.ts.map +1 -0
- package/dist/bigconsole/components/parser/ParserCard.d.ts +23 -0
- package/dist/bigconsole/components/parser/ParserCard.d.ts.map +1 -0
- package/dist/bigconsole/components/parser/ParserFormDialog.d.ts +42 -0
- package/dist/bigconsole/components/parser/ParserFormDialog.d.ts.map +1 -0
- package/dist/bigconsole/components/parser/ParserSelector.d.ts +27 -0
- package/dist/bigconsole/components/parser/ParserSelector.d.ts.map +1 -0
- package/dist/bigconsole/components/parser/ParserStatusBadge.d.ts +13 -0
- package/dist/bigconsole/components/parser/ParserStatusBadge.d.ts.map +1 -0
- package/dist/bigconsole/components/parser/ParserTypeBadge.d.ts +11 -0
- package/dist/bigconsole/components/parser/ParserTypeBadge.d.ts.map +1 -0
- package/dist/bigconsole/components/parser/TestPanel.d.ts +25 -0
- package/dist/bigconsole/components/parser/TestPanel.d.ts.map +1 -0
- package/dist/bigconsole/components/parser/index.d.ts +17 -0
- package/dist/bigconsole/components/parser/index.d.ts.map +1 -0
- package/dist/bigconsole/components/parser/parserFieldStyles.d.ts +17 -0
- package/dist/bigconsole/components/parser/parserFieldStyles.d.ts.map +1 -0
- package/dist/bigconsole/components/pipeline/PipelineCard.d.ts +12 -0
- package/dist/bigconsole/components/pipeline/PipelineCard.d.ts.map +1 -0
- package/dist/bigconsole/components/pipeline/PipelineDeleteDialog.d.ts +11 -0
- package/dist/bigconsole/components/pipeline/PipelineDeleteDialog.d.ts.map +1 -0
- package/dist/bigconsole/components/pipeline/PipelineStatusBadge.d.ts +9 -0
- package/dist/bigconsole/components/pipeline/PipelineStatusBadge.d.ts.map +1 -0
- package/dist/bigconsole/components/pipeline/index.d.ts +9 -0
- package/dist/bigconsole/components/pipeline/index.d.ts.map +1 -0
- package/dist/bigconsole/components/preview/AiPreviewContent.d.ts +22 -0
- package/dist/bigconsole/components/preview/AiPreviewContent.d.ts.map +1 -0
- package/dist/bigconsole/components/preview/AiPreviewContent.js +95 -89
- package/dist/bigconsole/components/preview/AiPreviewContent.js.map +1 -1
- package/dist/bigconsole/components/preview/AiPreviewMiniPanel.d.ts +11 -0
- package/dist/bigconsole/components/preview/AiPreviewMiniPanel.d.ts.map +1 -0
- package/dist/bigconsole/components/preview/AiPreviewPanel.d.ts +2 -0
- package/dist/bigconsole/components/preview/AiPreviewPanel.d.ts.map +1 -0
- package/dist/bigconsole/components/preview/AiPreviewPanel.js +4 -1
- package/dist/bigconsole/components/preview/AiPreviewPanel.js.map +1 -1
- package/dist/bigconsole/components/preview/parserPreview.d.ts +19 -0
- package/dist/bigconsole/components/preview/parserPreview.d.ts.map +1 -0
- package/dist/bigconsole/components/preview/parserPreview.js +31 -0
- package/dist/bigconsole/components/preview/parserPreview.js.map +1 -0
- package/dist/bigconsole/components/preview/previewShared.d.ts +134 -0
- package/dist/bigconsole/components/preview/previewShared.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/ActionConfigDialog.d.ts +20 -0
- package/dist/bigconsole/components/widgets/ActionConfigDialog.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/DrilldownConfigPanel.d.ts +26 -0
- package/dist/bigconsole/components/widgets/DrilldownConfigPanel.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/PropertiesPanel.d.ts +9 -0
- package/dist/bigconsole/components/widgets/PropertiesPanel.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/WidgetErrorBoundary.d.ts +23 -0
- package/dist/bigconsole/components/widgets/WidgetErrorBoundary.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/WidgetHeader.d.ts +43 -0
- package/dist/bigconsole/components/widgets/WidgetHeader.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/WidgetMenu.d.ts +18 -0
- package/dist/bigconsole/components/widgets/WidgetMenu.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/WidgetRegistry.d.ts +131 -0
- package/dist/bigconsole/components/widgets/WidgetRegistry.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/WidgetTypeSelector.d.ts +22 -0
- package/dist/bigconsole/components/widgets/WidgetTypeSelector.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/WidgetWrapper.d.ts +31 -0
- package/dist/bigconsole/components/widgets/WidgetWrapper.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/actionConfig.d.ts +36 -0
- package/dist/bigconsole/components/widgets/actionConfig.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/adaptive-card/AdaptiveCardWidget.d.ts +38 -0
- package/dist/bigconsole/components/widgets/adaptive-card/AdaptiveCardWidget.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/adaptive-card/index.d.ts +7 -0
- package/dist/bigconsole/components/widgets/adaptive-card/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/calendar/CalendarView.d.ts +43 -0
- package/dist/bigconsole/components/widgets/calendar/CalendarView.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/calendar/CalendarWidget.d.ts +7 -0
- package/dist/bigconsole/components/widgets/calendar/CalendarWidget.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/calendar/index.d.ts +3 -0
- package/dist/bigconsole/components/widgets/calendar/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/chart/ChartConfig.d.ts +12 -0
- package/dist/bigconsole/components/widgets/chart/ChartConfig.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/chart/ChartLegend.d.ts +25 -0
- package/dist/bigconsole/components/widgets/chart/ChartLegend.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/chart/ChartTooltip.d.ts +24 -0
- package/dist/bigconsole/components/widgets/chart/ChartTooltip.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/chart/ChartWidget.d.ts +17 -0
- package/dist/bigconsole/components/widgets/chart/ChartWidget.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/chart/charts/AreaChart.d.ts +16 -0
- package/dist/bigconsole/components/widgets/chart/charts/AreaChart.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/chart/charts/BarChart.d.ts +16 -0
- package/dist/bigconsole/components/widgets/chart/charts/BarChart.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/chart/charts/ComboChart.d.ts +12 -0
- package/dist/bigconsole/components/widgets/chart/charts/ComboChart.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/chart/charts/FunnelChart.d.ts +18 -0
- package/dist/bigconsole/components/widgets/chart/charts/FunnelChart.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/chart/charts/LineChart.d.ts +16 -0
- package/dist/bigconsole/components/widgets/chart/charts/LineChart.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/chart/charts/PieChart.d.ts +18 -0
- package/dist/bigconsole/components/widgets/chart/charts/PieChart.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/chart/charts/ScatterChart.d.ts +12 -0
- package/dist/bigconsole/components/widgets/chart/charts/ScatterChart.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/chart/charts/WaterfallChart.d.ts +12 -0
- package/dist/bigconsole/components/widgets/chart/charts/WaterfallChart.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/chart/charts/index.d.ts +16 -0
- package/dist/bigconsole/components/widgets/chart/charts/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/chart/charts/referenceElements.d.ts +19 -0
- package/dist/bigconsole/components/widgets/chart/charts/referenceElements.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/chart/charts/types.d.ts +89 -0
- package/dist/bigconsole/components/widgets/chart/charts/types.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/chart/index.d.ts +11 -0
- package/dist/bigconsole/components/widgets/chart/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/comments/WidgetComments.d.ts +10 -0
- package/dist/bigconsole/components/widgets/comments/WidgetComments.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/custom/CustomWidget.d.ts +13 -0
- package/dist/bigconsole/components/widgets/custom/CustomWidget.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/custom/config.d.ts +9 -0
- package/dist/bigconsole/components/widgets/custom/config.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/custom/index.d.ts +8 -0
- package/dist/bigconsole/components/widgets/custom/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/custom/utils.d.ts +4 -0
- package/dist/bigconsole/components/widgets/custom/utils.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/event-logs/EventLogViewer.d.ts +16 -0
- package/dist/bigconsole/components/widgets/event-logs/EventLogViewer.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/event-logs/index.d.ts +6 -0
- package/dist/bigconsole/components/widgets/event-logs/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/form/FormWidget.d.ts +46 -0
- package/dist/bigconsole/components/widgets/form/FormWidget.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/form/index.d.ts +6 -0
- package/dist/bigconsole/components/widgets/form/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/funnel/index.d.ts +12 -0
- package/dist/bigconsole/components/widgets/funnel/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/gauge/CircularGauge.d.ts +42 -0
- package/dist/bigconsole/components/widgets/gauge/CircularGauge.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/gauge/GaugeConfig.d.ts +12 -0
- package/dist/bigconsole/components/widgets/gauge/GaugeConfig.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/gauge/GaugeWidget.d.ts +22 -0
- package/dist/bigconsole/components/widgets/gauge/GaugeWidget.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/gauge/LinearGauge.d.ts +28 -0
- package/dist/bigconsole/components/widgets/gauge/LinearGauge.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/gauge/index.d.ts +10 -0
- package/dist/bigconsole/components/widgets/gauge/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/heatmap/HeatmapConfig.d.ts +12 -0
- package/dist/bigconsole/components/widgets/heatmap/HeatmapConfig.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/heatmap/HeatmapWidget.d.ts +38 -0
- package/dist/bigconsole/components/widgets/heatmap/HeatmapWidget.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/heatmap/index.d.ts +8 -0
- package/dist/bigconsole/components/widgets/heatmap/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/iframe-widget/IframeWidget.d.ts +31 -0
- package/dist/bigconsole/components/widgets/iframe-widget/IframeWidget.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/iframe-widget/index.d.ts +3 -0
- package/dist/bigconsole/components/widgets/iframe-widget/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/index.d.ts +35 -0
- package/dist/bigconsole/components/widgets/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/kanban/KanbanView.d.ts +34 -0
- package/dist/bigconsole/components/widgets/kanban/KanbanView.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/kanban/KanbanWidget.d.ts +7 -0
- package/dist/bigconsole/components/widgets/kanban/KanbanWidget.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/kanban/index.d.ts +3 -0
- package/dist/bigconsole/components/widgets/kanban/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/kpi/KPIWidget.d.ts +23 -0
- package/dist/bigconsole/components/widgets/kpi/KPIWidget.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/kpi/index.d.ts +7 -0
- package/dist/bigconsole/components/widgets/kpi/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/kpi-comparison/KPIComparisonWidget.d.ts +28 -0
- package/dist/bigconsole/components/widgets/kpi-comparison/KPIComparisonWidget.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/kpi-comparison/index.d.ts +3 -0
- package/dist/bigconsole/components/widgets/kpi-comparison/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/list/ListConfig.d.ts +12 -0
- package/dist/bigconsole/components/widgets/list/ListConfig.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/list/ListItem.d.ts +39 -0
- package/dist/bigconsole/components/widgets/list/ListItem.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/list/ListWidget.d.ts +17 -0
- package/dist/bigconsole/components/widgets/list/ListWidget.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/list/index.d.ts +9 -0
- package/dist/bigconsole/components/widgets/list/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/map-widget/MapWidget.d.ts +52 -0
- package/dist/bigconsole/components/widgets/map-widget/MapWidget.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/map-widget/index.d.ts +3 -0
- package/dist/bigconsole/components/widgets/map-widget/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/metric-card/ComparisonBadge.d.ts +15 -0
- package/dist/bigconsole/components/widgets/metric-card/ComparisonBadge.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/metric-card/MetricCardConfig.d.ts +12 -0
- package/dist/bigconsole/components/widgets/metric-card/MetricCardConfig.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/metric-card/MetricCardWidget.d.ts +36 -0
- package/dist/bigconsole/components/widgets/metric-card/MetricCardWidget.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/metric-card/SparklineChart.d.ts +23 -0
- package/dist/bigconsole/components/widgets/metric-card/SparklineChart.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/metric-card/TrendIndicator.d.ts +14 -0
- package/dist/bigconsole/components/widgets/metric-card/TrendIndicator.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/metric-card/index.d.ts +11 -0
- package/dist/bigconsole/components/widgets/metric-card/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/pivot-table/PivotTableWidget.d.ts +26 -0
- package/dist/bigconsole/components/widgets/pivot-table/PivotTableWidget.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/pivot-table/index.d.ts +6 -0
- package/dist/bigconsole/components/widgets/pivot-table/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/progress/ProgressBar.d.ts +29 -0
- package/dist/bigconsole/components/widgets/progress/ProgressBar.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/progress/ProgressConfig.d.ts +12 -0
- package/dist/bigconsole/components/widgets/progress/ProgressConfig.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/progress/ProgressWidget.d.ts +28 -0
- package/dist/bigconsole/components/widgets/progress/ProgressWidget.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/progress/index.d.ts +9 -0
- package/dist/bigconsole/components/widgets/progress/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/retention/RetentionWidget.d.ts +25 -0
- package/dist/bigconsole/components/widgets/retention/RetentionWidget.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/retention/index.d.ts +7 -0
- package/dist/bigconsole/components/widgets/retention/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/states/EmptyState.d.ts +20 -0
- package/dist/bigconsole/components/widgets/states/EmptyState.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/states/ErrorState.d.ts +11 -0
- package/dist/bigconsole/components/widgets/states/ErrorState.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/states/LoadingState.d.ts +9 -0
- package/dist/bigconsole/components/widgets/states/LoadingState.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/states/index.d.ts +9 -0
- package/dist/bigconsole/components/widgets/states/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/table/TableCell.d.ts +42 -0
- package/dist/bigconsole/components/widgets/table/TableCell.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/table/TableConfig.d.ts +12 -0
- package/dist/bigconsole/components/widgets/table/TableConfig.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/table/TableHeader.d.ts +42 -0
- package/dist/bigconsole/components/widgets/table/TableHeader.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/table/TablePagination.d.ts +23 -0
- package/dist/bigconsole/components/widgets/table/TablePagination.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/table/TableWidget.d.ts +16 -0
- package/dist/bigconsole/components/widgets/table/TableWidget.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/table/cellLink.d.ts +37 -0
- package/dist/bigconsole/components/widgets/table/cellLink.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/table/index.d.ts +11 -0
- package/dist/bigconsole/components/widgets/table/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/text-widget/TextWidget.d.ts +11 -0
- package/dist/bigconsole/components/widgets/text-widget/TextWidget.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/text-widget/index.d.ts +4 -0
- package/dist/bigconsole/components/widgets/text-widget/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/text-widget/textData.d.ts +32 -0
- package/dist/bigconsole/components/widgets/text-widget/textData.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/timeline/TimelineWidget.d.ts +42 -0
- package/dist/bigconsole/components/widgets/timeline/TimelineWidget.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/timeline/index.d.ts +3 -0
- package/dist/bigconsole/components/widgets/timeline/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/utils/conditionalFormat.d.ts +74 -0
- package/dist/bigconsole/components/widgets/utils/conditionalFormat.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/utils/inferFields.d.ts +45 -0
- package/dist/bigconsole/components/widgets/utils/inferFields.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/utils/targetProgress.d.ts +26 -0
- package/dist/bigconsole/components/widgets/utils/targetProgress.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/utils/translate.d.ts +14 -0
- package/dist/bigconsole/components/widgets/utils/translate.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.d.ts +16 -0
- package/dist/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/webhook-config/index.d.ts +6 -0
- package/dist/bigconsole/components/widgets/webhook-config/index.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/widget-actions/WidgetActions.d.ts +26 -0
- package/dist/bigconsole/components/widgets/widget-actions/WidgetActions.d.ts.map +1 -0
- package/dist/bigconsole/components/widgets/widget-actions/index.d.ts +8 -0
- package/dist/bigconsole/components/widgets/widget-actions/index.d.ts.map +1 -0
- package/dist/bigconsole/components/workflow/DataSinkMultiSelector.d.ts +24 -0
- package/dist/bigconsole/components/workflow/DataSinkMultiSelector.d.ts.map +1 -0
- package/dist/bigconsole/components/workflow/WorkflowCard.d.ts +18 -0
- package/dist/bigconsole/components/workflow/WorkflowCard.d.ts.map +1 -0
- package/dist/bigconsole/components/workflow/WorkflowDeleteDialog.d.ts +11 -0
- package/dist/bigconsole/components/workflow/WorkflowDeleteDialog.d.ts.map +1 -0
- package/dist/bigconsole/components/workflow/WorkflowStatusBadge.d.ts +13 -0
- package/dist/bigconsole/components/workflow/WorkflowStatusBadge.d.ts.map +1 -0
- package/dist/bigconsole/components/workflow/index.d.ts +10 -0
- package/dist/bigconsole/components/workflow/index.d.ts.map +1 -0
- package/dist/bigconsole/constants/backendErrors.d.ts +22 -0
- package/dist/bigconsole/constants/backendErrors.d.ts.map +1 -0
- package/dist/bigconsole/constants.d.ts +15 -0
- package/dist/bigconsole/constants.d.ts.map +1 -0
- package/dist/bigconsole/context/BigConsoleContext.d.ts +30 -0
- package/dist/bigconsole/context/BigConsoleContext.d.ts.map +1 -0
- package/dist/bigconsole/context/index.d.ts +2 -0
- package/dist/bigconsole/context/index.d.ts.map +1 -0
- package/dist/bigconsole/contexts/CrossFilterContext.d.ts +48 -0
- package/dist/bigconsole/contexts/CrossFilterContext.d.ts.map +1 -0
- package/dist/bigconsole/contexts/NavigationContext.d.ts +45 -0
- package/dist/bigconsole/contexts/NavigationContext.d.ts.map +1 -0
- package/dist/bigconsole/contexts/index.d.ts +8 -0
- package/dist/bigconsole/contexts/index.d.ts.map +1 -0
- package/dist/bigconsole/customWidget/CustomWidgetBuilderSheet.d.ts +14 -0
- package/dist/bigconsole/customWidget/CustomWidgetBuilderSheet.d.ts.map +1 -0
- package/dist/bigconsole/customWidget/CustomWidgetProposalPanel.d.ts +25 -0
- package/dist/bigconsole/customWidget/CustomWidgetProposalPanel.d.ts.map +1 -0
- package/dist/bigconsole/customWidget/index.d.ts +12 -0
- package/dist/bigconsole/customWidget/index.d.ts.map +1 -0
- package/dist/bigconsole/customWidget/proposalContract.d.ts +121 -0
- package/dist/bigconsole/customWidget/proposalContract.d.ts.map +1 -0
- package/dist/bigconsole/customWidget/proposalSource.d.ts +41 -0
- package/dist/bigconsole/customWidget/proposalSource.d.ts.map +1 -0
- package/dist/bigconsole/graphql/apollo-compat.d.ts +16 -0
- package/dist/bigconsole/graphql/apollo-compat.d.ts.map +1 -0
- package/dist/bigconsole/graphql/storeTemplates.d.ts +9 -0
- package/dist/bigconsole/graphql/storeTemplates.d.ts.map +1 -0
- package/dist/bigconsole/hooks/index.d.ts +41 -0
- package/dist/bigconsole/hooks/index.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useActivePage.d.ts +37 -0
- package/dist/bigconsole/hooks/useActivePage.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useAutoRefresh.d.ts +51 -0
- package/dist/bigconsole/hooks/useAutoRefresh.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useBigConsoleAnalytics.d.ts +48 -0
- package/dist/bigconsole/hooks/useBigConsoleAnalytics.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useCrossFilter.d.ts +79 -0
- package/dist/bigconsole/hooks/useCrossFilter.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useDashboardEmbedPolicy.d.ts +72 -0
- package/dist/bigconsole/hooks/useDashboardEmbedPolicy.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useDashboardImageExport.d.ts +18 -0
- package/dist/bigconsole/hooks/useDashboardImageExport.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useDashboardOperations.d.ts +70 -0
- package/dist/bigconsole/hooks/useDashboardOperations.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useDashboardSharing.d.ts +60 -0
- package/dist/bigconsole/hooks/useDashboardSharing.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useDashboardTemplates.d.ts +135 -0
- package/dist/bigconsole/hooks/useDashboardTemplates.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useDashboardViews.d.ts +58 -0
- package/dist/bigconsole/hooks/useDashboardViews.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useDataSinkOperations.d.ts +66 -0
- package/dist/bigconsole/hooks/useDataSinkOperations.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useDataSinkSubscription.d.ts +31 -0
- package/dist/bigconsole/hooks/useDataSinkSubscription.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useDrilldown.d.ts +65 -0
- package/dist/bigconsole/hooks/useDrilldown.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useDrilldownOperations.d.ts +42 -0
- package/dist/bigconsole/hooks/useDrilldownOperations.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useEventLogs.d.ts +94 -0
- package/dist/bigconsole/hooks/useEventLogs.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useEventWebhooks.d.ts +95 -0
- package/dist/bigconsole/hooks/useEventWebhooks.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useExportDashboard.d.ts +28 -0
- package/dist/bigconsole/hooks/useExportDashboard.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useExportDataSink.d.ts +27 -0
- package/dist/bigconsole/hooks/useExportDataSink.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useExportParser.d.ts +25 -0
- package/dist/bigconsole/hooks/useExportParser.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useFilterPresets.d.ts +47 -0
- package/dist/bigconsole/hooks/useFilterPresets.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useFilterUrlSync.d.ts +46 -0
- package/dist/bigconsole/hooks/useFilterUrlSync.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useGlobalFilters.d.ts +69 -0
- package/dist/bigconsole/hooks/useGlobalFilters.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useImportDashboard.d.ts +88 -0
- package/dist/bigconsole/hooks/useImportDashboard.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useImportDataSink.d.ts +74 -0
- package/dist/bigconsole/hooks/useImportDataSink.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useImportParser.d.ts +77 -0
- package/dist/bigconsole/hooks/useImportParser.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useInstalledWidgets.d.ts +15 -0
- package/dist/bigconsole/hooks/useInstalledWidgets.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useModalFocusTrap.d.ts +24 -0
- package/dist/bigconsole/hooks/useModalFocusTrap.d.ts.map +1 -0
- package/dist/bigconsole/hooks/usePageOperations.d.ts +35 -0
- package/dist/bigconsole/hooks/usePageOperations.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useParserOperations.d.ts +70 -0
- package/dist/bigconsole/hooks/useParserOperations.d.ts.map +1 -0
- package/dist/bigconsole/hooks/usePipelineOperations.d.ts +76 -0
- package/dist/bigconsole/hooks/usePipelineOperations.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useStoreDashboardTemplates.d.ts +122 -0
- package/dist/bigconsole/hooks/useStoreDashboardTemplates.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useWidgetActions.d.ts +69 -0
- package/dist/bigconsole/hooks/useWidgetActions.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useWidgetCatalog.d.ts +20 -0
- package/dist/bigconsole/hooks/useWidgetCatalog.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useWidgetComments.d.ts +24 -0
- package/dist/bigconsole/hooks/useWidgetComments.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useWidgetConfigPersist.d.ts +14 -0
- package/dist/bigconsole/hooks/useWidgetConfigPersist.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useWidgetData.d.ts +45 -0
- package/dist/bigconsole/hooks/useWidgetData.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useWidgetEvents.d.ts +60 -0
- package/dist/bigconsole/hooks/useWidgetEvents.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useWidgetExport.d.ts +19 -0
- package/dist/bigconsole/hooks/useWidgetExport.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useWidgetOperations.d.ts +71 -0
- package/dist/bigconsole/hooks/useWidgetOperations.d.ts.map +1 -0
- package/dist/bigconsole/hooks/useWorkflowOperations.d.ts +54 -0
- package/dist/bigconsole/hooks/useWorkflowOperations.d.ts.map +1 -0
- package/dist/bigconsole/index.d.ts +32 -0
- package/dist/bigconsole/index.d.ts.map +1 -0
- package/dist/bigconsole/modules/dashboard/index.d.ts +15 -0
- package/dist/bigconsole/modules/dashboard/index.d.ts.map +1 -0
- package/dist/bigconsole/modules/index.d.ts +15 -0
- package/dist/bigconsole/modules/index.d.ts.map +1 -0
- package/dist/bigconsole/modules/renderer/index.d.ts +8 -0
- package/dist/bigconsole/modules/renderer/index.d.ts.map +1 -0
- package/dist/bigconsole/modules/widget/index.d.ts +19 -0
- package/dist/bigconsole/modules/widget/index.d.ts.map +1 -0
- package/dist/bigconsole/pages/AdminPage.d.ts +4 -0
- package/dist/bigconsole/pages/AdminPage.d.ts.map +1 -0
- package/dist/bigconsole/pages/DashboardBuilderPage.d.ts +5 -0
- package/dist/bigconsole/pages/DashboardBuilderPage.d.ts.map +1 -0
- package/dist/bigconsole/pages/DashboardViewPage.d.ts +5 -0
- package/dist/bigconsole/pages/DashboardViewPage.d.ts.map +1 -0
- package/dist/bigconsole/pages/DashboardsPage.d.ts +5 -0
- package/dist/bigconsole/pages/DashboardsPage.d.ts.map +1 -0
- package/dist/bigconsole/pages/DataParsersPage.d.ts +9 -0
- package/dist/bigconsole/pages/DataParsersPage.d.ts.map +1 -0
- package/dist/bigconsole/pages/DataSinkBuilderPage.d.ts +10 -0
- package/dist/bigconsole/pages/DataSinkBuilderPage.d.ts.map +1 -0
- package/dist/bigconsole/pages/DataSinkViewPage.d.ts +8 -0
- package/dist/bigconsole/pages/DataSinkViewPage.d.ts.map +1 -0
- package/dist/bigconsole/pages/DataSinksPage.d.ts +5 -0
- package/dist/bigconsole/pages/DataSinksPage.d.ts.map +1 -0
- package/dist/bigconsole/pages/DataSourcesPage.d.ts +10 -0
- package/dist/bigconsole/pages/DataSourcesPage.d.ts.map +1 -0
- package/dist/bigconsole/pages/InsightsPage.d.ts +5 -0
- package/dist/bigconsole/pages/InsightsPage.d.ts.map +1 -0
- package/dist/bigconsole/pages/OverviewPage.d.ts +5 -0
- package/dist/bigconsole/pages/OverviewPage.d.ts.map +1 -0
- package/dist/bigconsole/pages/ParserBuilderPage.d.ts +13 -0
- package/dist/bigconsole/pages/ParserBuilderPage.d.ts.map +1 -0
- package/dist/bigconsole/pages/ParserViewPage.d.ts +8 -0
- package/dist/bigconsole/pages/ParserViewPage.d.ts.map +1 -0
- package/dist/bigconsole/pages/PipelineBuilderPage.d.ts +21 -0
- package/dist/bigconsole/pages/PipelineBuilderPage.d.ts.map +1 -0
- package/dist/bigconsole/pages/PipelineViewPage.d.ts +20 -0
- package/dist/bigconsole/pages/PipelineViewPage.d.ts.map +1 -0
- package/dist/bigconsole/pages/PipelinesPage.d.ts +14 -0
- package/dist/bigconsole/pages/PipelinesPage.d.ts.map +1 -0
- package/dist/bigconsole/pages/SettingsPage.d.ts +5 -0
- package/dist/bigconsole/pages/SettingsPage.d.ts.map +1 -0
- package/dist/bigconsole/pages/WidgetDemoPage.d.ts +5 -0
- package/dist/bigconsole/pages/WidgetDemoPage.d.ts.map +1 -0
- package/dist/bigconsole/pages/WorkflowViewPage.d.ts +20 -0
- package/dist/bigconsole/pages/WorkflowViewPage.d.ts.map +1 -0
- package/dist/bigconsole/pages/WorkflowsPage.d.ts +16 -0
- package/dist/bigconsole/pages/WorkflowsPage.d.ts.map +1 -0
- package/dist/bigconsole/pages/index.d.ts +14 -0
- package/dist/bigconsole/pages/index.d.ts.map +1 -0
- package/dist/bigconsole/providers/BigConsoleQuotaProvider.d.ts +10 -0
- package/dist/bigconsole/providers/BigConsoleQuotaProvider.d.ts.map +1 -0
- package/dist/bigconsole/renderers/adapters/AdaptiveCardRenderer.d.ts +6 -0
- package/dist/bigconsole/renderers/adapters/AdaptiveCardRenderer.d.ts.map +1 -0
- package/dist/bigconsole/renderers/adapters/BigConsoleRenderer.d.ts +9 -0
- package/dist/bigconsole/renderers/adapters/BigConsoleRenderer.d.ts.map +1 -0
- package/dist/bigconsole/renderers/adapters/BlockKitRenderer.d.ts +6 -0
- package/dist/bigconsole/renderers/adapters/BlockKitRenderer.d.ts.map +1 -0
- package/dist/bigconsole/renderers/adapters/CustomRenderer.d.ts +46 -0
- package/dist/bigconsole/renderers/adapters/CustomRenderer.d.ts.map +1 -0
- package/dist/bigconsole/renderers/adapters/index.d.ts +10 -0
- package/dist/bigconsole/renderers/adapters/index.d.ts.map +1 -0
- package/dist/bigconsole/renderers/factory/WidgetRendererFactory.d.ts +46 -0
- package/dist/bigconsole/renderers/factory/WidgetRendererFactory.d.ts.map +1 -0
- package/dist/bigconsole/renderers/index.d.ts +10 -0
- package/dist/bigconsole/renderers/index.d.ts.map +1 -0
- package/dist/bigconsole/renderers/registry/RendererRegistry.d.ts +42 -0
- package/dist/bigconsole/renderers/registry/RendererRegistry.d.ts.map +1 -0
- package/dist/bigconsole/renderers/types/index.d.ts +7 -0
- package/dist/bigconsole/renderers/types/index.d.ts.map +1 -0
- package/dist/bigconsole/renderers/types/renderer.d.ts +228 -0
- package/dist/bigconsole/renderers/types/renderer.d.ts.map +1 -0
- package/dist/bigconsole/store/dashboardStore.d.ts +132 -0
- package/dist/bigconsole/store/dashboardStore.d.ts.map +1 -0
- package/dist/bigconsole/store/dataSinkStore.d.ts +94 -0
- package/dist/bigconsole/store/dataSinkStore.d.ts.map +1 -0
- package/dist/bigconsole/store/drilldownStore.d.ts +63 -0
- package/dist/bigconsole/store/drilldownStore.d.ts.map +1 -0
- package/dist/bigconsole/store/index.d.ts +13 -0
- package/dist/bigconsole/store/index.d.ts.map +1 -0
- package/dist/bigconsole/store/parserStore.d.ts +106 -0
- package/dist/bigconsole/store/parserStore.d.ts.map +1 -0
- package/dist/bigconsole/store/pipelineStore.d.ts +113 -0
- package/dist/bigconsole/store/pipelineStore.d.ts.map +1 -0
- package/dist/bigconsole/store/widgetStore.d.ts +106 -0
- package/dist/bigconsole/store/widgetStore.d.ts.map +1 -0
- package/dist/bigconsole/store/workflowStore.d.ts +120 -0
- package/dist/bigconsole/store/workflowStore.d.ts.map +1 -0
- package/dist/bigconsole/types/index.d.ts +1373 -0
- package/dist/bigconsole/types/index.d.ts.map +1 -0
- package/dist/bigconsole/utils/backendError.d.ts +4 -0
- package/dist/bigconsole/utils/backendError.d.ts.map +1 -0
- package/dist/bigconsole/utils/createDialogParam.d.ts +26 -0
- package/dist/bigconsole/utils/createDialogParam.d.ts.map +1 -0
- package/dist/bigconsole/utils/csv.d.ts +28 -0
- package/dist/bigconsole/utils/csv.d.ts.map +1 -0
- package/dist/bigconsole/utils/format.d.ts +17 -0
- package/dist/bigconsole/utils/format.d.ts.map +1 -0
- package/dist/bigconsole/utils/index.d.ts +11 -0
- package/dist/bigconsole/utils/index.d.ts.map +1 -0
- package/dist/bigconsole/utils/quota.d.ts +39 -0
- package/dist/bigconsole/utils/quota.d.ts.map +1 -0
- package/dist/bigconsole/utils/semanticTokens.d.ts +88 -0
- package/dist/bigconsole/utils/semanticTokens.d.ts.map +1 -0
- package/dist/bigconsole/utils/widgetBinding.d.ts +50 -0
- package/dist/bigconsole/utils/widgetBinding.d.ts.map +1 -0
- package/dist/bigconsole/utils/widgetPositioning.d.ts +97 -0
- package/dist/bigconsole/utils/widgetPositioning.d.ts.map +1 -0
- package/dist/bigconsole/utils/widgetTypeMapping.d.ts +34 -0
- package/dist/bigconsole/utils/widgetTypeMapping.d.ts.map +1 -0
- package/dist/constants/permissions.d.ts +118 -0
- package/dist/constants/permissions.d.ts.map +1 -0
- package/dist/generated/global-operations.d.ts +187 -0
- package/dist/generated/global-operations.d.ts.map +1 -0
- package/dist/generated/global-types.d.ts +23527 -0
- package/dist/generated/global-types.d.ts.map +1 -0
- package/dist/generated/wspace-operations.d.ts +10521 -0
- package/dist/generated/wspace-operations.d.ts.map +1 -0
- package/dist/generated/wspace-types.d.ts +58025 -0
- package/dist/generated/wspace-types.d.ts.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/shared/hooks/useTr.d.ts +25 -0
- package/dist/shared/hooks/useTr.d.ts.map +1 -0
- package/dist/stories/DashboardGuide.stories.d.ts +15 -0
- package/dist/stories/DashboardGuide.stories.d.ts.map +1 -0
- package/dist/stories/DataSinkStatusBadge.stories.d.ts +12 -0
- package/dist/stories/DataSinkStatusBadge.stories.d.ts.map +1 -0
- package/dist/stories/GaugeWidget.stories.d.ts +58 -0
- package/dist/stories/GaugeWidget.stories.d.ts.map +1 -0
- package/dist/stories/KPIComparisonWidget.stories.d.ts +76 -0
- package/dist/stories/KPIComparisonWidget.stories.d.ts.map +1 -0
- package/dist/stories/LiveCanvasToggle.stories.d.ts +9 -0
- package/dist/stories/LiveCanvasToggle.stories.d.ts.map +1 -0
- package/dist/stories/MetricCardWidget.stories.d.ts +88 -0
- package/dist/stories/MetricCardWidget.stories.d.ts.map +1 -0
- package/dist/stories/ProgressWidget.stories.d.ts +48 -0
- package/dist/stories/ProgressWidget.stories.d.ts.map +1 -0
- package/dist/stories/SetupStateBadge.stories.d.ts +12 -0
- package/dist/stories/SetupStateBadge.stories.d.ts.map +1 -0
- package/dist/translations/en.d.ts +29 -0
- package/dist/translations/en.d.ts.map +1 -0
- package/dist/utils/nativeBridge.d.ts +3 -0
- package/dist/utils/nativeBridge.d.ts.map +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
import { AssistantModeConfig } from '@burdenoff/fe-libs/shared/assistant/conversation';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Read-only. The ONLY mode fe-libs ever forwards the user's tokens to, and the
|
|
5
|
+
* only one whose sandbox boots with `AI_ASSISTANT_READONLY=1`.
|
|
6
|
+
*
|
|
7
|
+
* ★ This is the user-visible point of the migration. Today BigConsole's
|
|
8
|
+
* assistant is Owner/Admin-only in its entirety, because the legacy
|
|
9
|
+
* `AssistantWidget` has exactly one mode and that mode writes. A member who
|
|
10
|
+
* previously saw NO assistant at all gets read-only Ask, while `Build` stays
|
|
11
|
+
* hidden from them — fe-libs does that filtering itself
|
|
12
|
+
* (`AssistantChatArea` keeps `!mode.requiresAdmin || canUseAdminModes`).
|
|
13
|
+
*/
|
|
14
|
+
declare const ASK: {
|
|
15
|
+
readonly id: "assistant";
|
|
16
|
+
readonly label: "Ask";
|
|
17
|
+
readonly description: string;
|
|
18
|
+
readonly suggestions: readonly ["What can I do on this screen?", "What is in this data sink?", "Which widgets are on this dashboard?", "Why is my parser returning no rows?"];
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* The write mode. `api-calls` is the only id whose sandbox boots with
|
|
22
|
+
* `AI_ASSISTANT_CONFIRM_WRITES=1`, which is why the label may change and the id
|
|
23
|
+
* may not.
|
|
24
|
+
*/
|
|
25
|
+
declare const BUILD: {
|
|
26
|
+
readonly id: "api-calls";
|
|
27
|
+
readonly label: "Build";
|
|
28
|
+
readonly description: string;
|
|
29
|
+
readonly suggestions: readonly ["Build a school attendance dashboard from this CSV", "Add a bar chart of monthly totals to this dashboard", "Create a parser that splits the address column", "Show me what this data sink contains"];
|
|
30
|
+
readonly writeCapable: true;
|
|
31
|
+
/**
|
|
32
|
+
* 420s, matching the legacy transport's `STREAM_BUDGET_MS` exactly, so this
|
|
33
|
+
* introduces no behavioural change.
|
|
34
|
+
*
|
|
35
|
+
* ★★ NOT cosmetic, and not a round number picked for comfort. The default is
|
|
36
|
+
* 180s, which was SHORTER THAN THE WORK: a full build — data sink → dashboard
|
|
37
|
+
* → parser → widget, each a separate gateway call preceded by a model
|
|
38
|
+
* round-trip — measured 229s in prod. The agent finished, the dashboard
|
|
39
|
+
* genuinely existed, and the user was told the assistant timed out. People
|
|
40
|
+
* then retried and ended up with duplicate dashboards.
|
|
41
|
+
*
|
|
42
|
+
* Finite, positive and under `MAX_ASSISTANT_STREAM_BUDGET_MS`, so fe-libs
|
|
43
|
+
* honours it (`resolveAssistantModeCapabilities`) instead of silently falling
|
|
44
|
+
* back to 180_000 — which is why this seam needs fe-libs >= 2026.916.1.
|
|
45
|
+
*/
|
|
46
|
+
readonly streamBudgetMs: 420000;
|
|
47
|
+
/**
|
|
48
|
+
* Report the WHOLE run's narration, joined oldest first, instead of only the
|
|
49
|
+
* newest sandbox message (BC1, BOFF-7334).
|
|
50
|
+
*
|
|
51
|
+
* ★★ Legacy PARITY, not a new behaviour. `createSandboxAssistantTransport`'s
|
|
52
|
+
* `buildProgress` already joins every assistant message of the run — its own
|
|
53
|
+
* comment reads "ACCUMULATE the run, don't just show its last line" — and it
|
|
54
|
+
* does so for a reason that has not changed: the agent opens a NEW message per
|
|
55
|
+
* step and prints a link the moment a create lands ("✅ Data sink created —
|
|
56
|
+
* [Open …](/…)"). Rendering only the newest message threw all of that away on
|
|
57
|
+
* the following poll; the user saw a lone "Thinking…" and none of the links
|
|
58
|
+
* they had been promised. Without this flag the shared panel would reintroduce
|
|
59
|
+
* the bug BigConsole already fixed.
|
|
60
|
+
*
|
|
61
|
+
* ★★ It changes what is STORED, not only what is displayed: the completed turn
|
|
62
|
+
* persists the joined account as its answer, so Copy, Export and read-aloud
|
|
63
|
+
* carry it too. That is correct HERE — the build log IS the answer, and it is
|
|
64
|
+
* where the links to the new data sink and dashboard live — and wrong for Ask,
|
|
65
|
+
* which is why Ask does not set it.
|
|
66
|
+
*
|
|
67
|
+
* Honoured by `resolveAssistantModeCapabilities`, which defaults it to `false`
|
|
68
|
+
* for every mode including the built-ins, so this seam needs fe-libs
|
|
69
|
+
* >= 2026.917.2 (fe-libs #233).
|
|
70
|
+
*/
|
|
71
|
+
readonly accumulatesNarration: true;
|
|
72
|
+
/**
|
|
73
|
+
* 15,155 characters of ONE attached file's text, against fe-libs' 8,000
|
|
74
|
+
* default (BOFF-7334; fe-libs #242, so this seam needs >= 2026.920.2).
|
|
75
|
+
*
|
|
76
|
+
* ★★★ DERIVED FROM THE BYTE ENVELOPE, BECAUSE THAT IS THE ONE THAT BINDS:
|
|
77
|
+
*
|
|
78
|
+
* floor((MAX_INLINE_TURN_BODY_BYTES - PROMPT_ENVELOPE_RESERVE_BYTES)
|
|
79
|
+
* / MAX_UTF8_BYTES_PER_JS_CHAR / MAX_ATTACHMENTS)
|
|
80
|
+
* = floor(227,328 / 3 / 5) = 15,155
|
|
81
|
+
*
|
|
82
|
+
* and 5 x 15,155 x 3 = 227,325 <= 227,328, so this is the LARGEST value that
|
|
83
|
+
* derivation allows — three bytes of slack. Two properties follow, and
|
|
84
|
+
* `tests/assistantSeam.test.ts` guards both rather than the literal:
|
|
85
|
+
* 1. the attachment TEXT can never exhaust the CHARACTER total
|
|
86
|
+
* (5 x 15,155 = 75,775 <= MAX_CONFIGURABLE_INLINE_CHARS), and
|
|
87
|
+
* 2. its RAW UTF-8 BYTES can never exhaust the envelope `capTextToBody`
|
|
88
|
+
* cuts to (5 x 15,155 x 3 = 227,325 <= 227,328), whatever script the
|
|
89
|
+
* files are written in.
|
|
90
|
+
*
|
|
91
|
+
* ★★★ (2) BOUNDS THE PAYLOAD, NOT THE RENDERED TURN. An earlier revision of
|
|
92
|
+
* this docblock claimed the stronger thing — "it can never exhaust the BYTE
|
|
93
|
+
* envelope, whatever script the files are written in" — and that is FALSE.
|
|
94
|
+
* `capTextToBody` weighs `JSON.stringify({prompt, parts})` over the RENDERED
|
|
95
|
+
* block, and that block indents every line by four spaces, writes every
|
|
96
|
+
* newline as a two-byte escape, and adds an `[n] file — mime, size` header, a
|
|
97
|
+
* `Contents (...)` line and a pair of fences per file plus one
|
|
98
|
+
* `--- Attachments (N) ---` frame per turn. Where the lines are short and
|
|
99
|
+
* multibyte that is over 4 bytes per attachment character, not 3, so the
|
|
100
|
+
* envelope CAN still bind and fe-libs then cuts the turn total until it
|
|
101
|
+
* fits. Measured through `buildPromptWithAttachments` on the installed
|
|
102
|
+
* 2026.920.4, over the fixture the test carries — five 120 K-character
|
|
103
|
+
* all-CJK files of 1-3 characters a line — characters of each file that
|
|
104
|
+
* reached the agent:
|
|
105
|
+
*
|
|
106
|
+
* 15,155/200,000 15,151 15,151 15,151 11,179 3
|
|
107
|
+
* 8k/20k (today) 7,996 7,996 4,006 2 omitted
|
|
108
|
+
*
|
|
109
|
+
* 56,635 characters served for 227,326 of the 227,328 bytes, i.e. 4.01 bytes
|
|
110
|
+
* a character where the derivation budgets 3, and the fifth file arrives as
|
|
111
|
+
* a THREE-CHARACTER sliver announced as a sample.
|
|
112
|
+
* That is NOT a reason to lower this number, and the alternative is worse:
|
|
113
|
+
* on that same turn it still serves at least as much of every file as the
|
|
114
|
+
* shared default it raises (the second row IS the comparison); on the
|
|
115
|
+
* ordinary Build turn — three CJK fact tables and two Devanagari lookups —
|
|
116
|
+
* it hands BOTH lookups over WHOLE where the default cuts them to 77 and 3
|
|
117
|
+
* characters; and no per-file value can repair a slice fe-libs spends IN
|
|
118
|
+
* ATTACHMENT ORDER out of a total it has already cut. That last part is fe-libs' to fix — BOFF-7532 — and the
|
|
119
|
+
* residual is pinned by the test named "the byte envelope STILL binds".
|
|
120
|
+
*
|
|
121
|
+
* ★★★ WHY 3 IS A BOUND, NOT A GUESS. fe-libs budgets in JS string LENGTH and
|
|
122
|
+
* enforces in UTF-8 BYTES. Every UTF-16 code unit encodes to at most 3 bytes:
|
|
123
|
+
* <= U+007F is 1, <= U+07FF is 2, the rest of the BMP is 3, and an astral
|
|
124
|
+
* character is 4 bytes across TWO units — 2 bytes a unit. So
|
|
125
|
+
* `utf8Bytes(s) <= 3 * s.length` holds for every string, with equality from
|
|
126
|
+
* U+0800 (CJK, Devanagari, Thai). The test proves that over the whole BMP
|
|
127
|
+
* instead of asserting it.
|
|
128
|
+
*
|
|
129
|
+
* ★★★ THIS SEAM'S FIRST TWO ANSWERS WERE BOTH WRONG, and the second was wrong
|
|
130
|
+
* in a way ASCII tests could not see. 100,000 let two files eat the turn.
|
|
131
|
+
* 40,000 — `MAX_CONFIGURABLE_INLINE_CHARS / MAX_ATTACHMENTS` — was defended
|
|
132
|
+
* here as "the largest per-file limit that cannot starve a later attachment";
|
|
133
|
+
* that claim was FALSE for any non-ASCII file, because the character total is
|
|
134
|
+
* not what binds. `capTextToBody` lowers the turn total until the prompt fits
|
|
135
|
+
* 227,328 BYTES, and `applyInlineBudget` then still spends
|
|
136
|
+
* `min(remainingTotal, perFileChars)` IN ATTACHMENT ORDER. Measured against
|
|
137
|
+
* the installed 2026.920.4 dist with the fixtures the tests now carry — a
|
|
138
|
+
* 2,000-row all-CJK fact CSV (186 K characters, 506 KB, 2.78 bytes a
|
|
139
|
+
* character) and a 40-row Devanagari dimension CSV — rows of each file that
|
|
140
|
+
* reached the agent:
|
|
141
|
+
*
|
|
142
|
+
* 8k/20k (today) 40k/200k 15,155/200,000
|
|
143
|
+
* 2 big + 1 small 85, 85, 40w 429, 429, 0 162, 162, 40w
|
|
144
|
+
* 3 big + 2 small 85, 85, 43, 1, 0 429, 427, 0, 0, 0 162 x3, 40w, 40w
|
|
145
|
+
* 5 big 85, 85, 43, 1, — 429, 427, 0, 0, — 162 x5
|
|
146
|
+
*
|
|
147
|
+
* ("w" is a table that arrived WHOLE; "—" is the honest `contents omitted`
|
|
148
|
+
* note; every other zero is a header fragment announced as a truncation.) At
|
|
149
|
+
* 40,000 the dimension tables arrive as SLIVERS ANNOUNCED AS SAMPLES —
|
|
150
|
+
* "Contents (first 50 characters of 5.7 KB; truncated)" — which is the
|
|
151
|
+
* failure this mode's docblocks keep naming: the agent believes it sampled
|
|
152
|
+
* the dimension, joins against values it never saw, and the dashboard it then
|
|
153
|
+
* builds looks right. Worse, on the ordinary two-fact-tables-and-a-lookup
|
|
154
|
+
* turn 40,000 was BEATEN BY THE SHARED DEFAULT it replaces, which hands that
|
|
155
|
+
* lookup table over WHOLE.
|
|
156
|
+
*
|
|
157
|
+
* ★★ WHAT THE DERIVATION COSTS, in the ASCII case where 40,000 was safe —
|
|
158
|
+
* same measurement, a 2,200-row / 144 KB fact CSV and a 40-row dimension CSV:
|
|
159
|
+
*
|
|
160
|
+
* 8k/20k (today) 40k/200k 15,155/200,000
|
|
161
|
+
* 1 big 118 596 225
|
|
162
|
+
* 3 big + 2 small 118, 118, 59, 0, 0 596 x3, 40w, 40w 225 x3, 40w, 40w
|
|
163
|
+
*
|
|
164
|
+
* 225 rows of a fact table instead of 596. Still 1.9x fe-libs' default, and
|
|
165
|
+
* still more than the legacy widget ever sent: `attachmentExtract.ts` cuts at
|
|
166
|
+
* `MAX_ROWS` = 200 rows *or* `MAX_INLINE_CHARS_PER_FILE` = 100,000, whichever
|
|
167
|
+
* comes first, and for a row-oriented CSV the row cap almost always wins — so
|
|
168
|
+
* its 100,000 was a ceiling that never bound. Build stays a strict
|
|
169
|
+
* improvement on both paths it replaces, in every script, which matching a
|
|
170
|
+
* ceiling was never worth breaking.
|
|
171
|
+
*
|
|
172
|
+
* ★ What this does NOT fix, because it cannot be fixed from a mode config:
|
|
173
|
+
* the user's own message shares that same 227,328-byte envelope, and opting
|
|
174
|
+
* above fe-libs' defaults is what turns `capTextToBody` on at all. See
|
|
175
|
+
* `maxInlineCharsTotal` below for the measured window. The real fix is a
|
|
176
|
+
* per-attachment floor or a smallest-first spending pass IN FE-LIBS —
|
|
177
|
+
* BOFF-7532. Raise this number only once that lands.
|
|
178
|
+
*/
|
|
179
|
+
readonly maxInlineCharsPerFile: 15155;
|
|
180
|
+
/**
|
|
181
|
+
* 200,000 characters of attached text across the whole turn — fe-libs'
|
|
182
|
+
* `MAX_CONFIGURABLE_INLINE_CHARS`, i.e. "as much as a 256 KB body can carry".
|
|
183
|
+
*
|
|
184
|
+
* ★★★ SET EXPLICITLY BECAUSE LEAVING IT OUT IS NOT NEUTRAL. fe-libs raises
|
|
185
|
+
* the turn total to match the per-file limit only when that is LARGER, so
|
|
186
|
+
* omitting this resolves `{perFileChars: 15_155, totalChars: 20_000}` — the
|
|
187
|
+
* 8,000/20,000 default's total, one and a third files' worth of budget for a
|
|
188
|
+
* five-file turn, spent GREEDILY IN ATTACHMENT ORDER. At 200,000 the
|
|
189
|
+
* character total never binds before the per-file limit does
|
|
190
|
+
* (5 x 15,155 = 75,775), which is the point: the per-file limit is the only
|
|
191
|
+
* thing rationing the turn, and it is derived from the envelope.
|
|
192
|
+
*
|
|
193
|
+
* ★★ RAISING EITHER FIELD ABOVE fe-libs' DEFAULTS ARMS A SECOND, TIGHTER
|
|
194
|
+
* CEILING, and that is a measured cost rather than a theoretical one.
|
|
195
|
+
* `buildInlineBudget` runs `capTextToBody` only when
|
|
196
|
+
* `perFileChars > 8,000 || totalChars > 20,000`, and `capTextToBody` fits the
|
|
197
|
+
* prompt into `MAX_INLINE_TURN_BODY_BYTES - PROMPT_ENVELOPE_RESERVE_BYTES` =
|
|
198
|
+
* 227,328 bytes. The un-opted path has no such pass — its only ceiling is
|
|
199
|
+
* `buildBoundedAttachmentTurn`'s `MAX_TURN_BODY_BYTES` = 262,144, roughly
|
|
200
|
+
* 35 KB more room — so for a very large USER MESSAGE this mode delivers less
|
|
201
|
+
* than it would have unconfigured. Measured, 3 big + 2 small ASCII CSVs, rows
|
|
202
|
+
* that reached the agent:
|
|
203
|
+
*
|
|
204
|
+
* user message chars this mode fe-libs defaults
|
|
205
|
+
* <= 189,000 225, 225, 225, 40, 40 118, 118, 59, 0, 0
|
|
206
|
+
* 190,000 225, 225, 53, 1, 0 118, 118, 59, 0, 0
|
|
207
|
+
* 210,000 222, 0, 0, 0, 0 118, 118, 59, 0, 0
|
|
208
|
+
* >= 226,000 nothing at all 118, 118, 59, 0, 0
|
|
209
|
+
*
|
|
210
|
+
* The threshold is 190,000 characters TYPED OR PASTED INTO THE COMPOSER, so
|
|
211
|
+
* the window is narrow — but it is reachable (a pasted CSV under "build me a
|
|
212
|
+
* dashboard from this"), it is pinned by a test, and it is one more reason
|
|
213
|
+
* the per-file limit is not raised: at 40,000 the same crossover sat at
|
|
214
|
+
* 137,000 characters, and by 150,000 it had already lost three of the five
|
|
215
|
+
* files this value still serves whole. BOFF-7532 asks fe-libs to measure
|
|
216
|
+
* `capTextToBody` against the envelope the send path actually enforces, and
|
|
217
|
+
* to spend the remainder fairly instead of in attachment order.
|
|
218
|
+
*
|
|
219
|
+
* ★★ AND IT IS NOT "cut, never rejected", which an earlier draft of this
|
|
220
|
+
* docblock claimed. `buildBoundedAttachmentTurn` cuts the attachment TEXT,
|
|
221
|
+
* then drops the attachment block entirely with an explicit disclosure ("N
|
|
222
|
+
* attachment(s) omitted from this turn to fit the request-size limit"), and
|
|
223
|
+
* if even that text-only turn still exceeds `MAX_TURN_BODY_BYTES` it ends in
|
|
224
|
+
* `throw new Error(REQUEST_TOO_LARGE_REFUSAL)`. The path is narrow — the
|
|
225
|
+
* user's own message has to overflow a 256 KB body on its own — but it is
|
|
226
|
+
* real, and it is the one case where nothing is sent at all.
|
|
227
|
+
*
|
|
228
|
+
* ★ Read at PREPARE time as well as at send time: fe-libs keeps
|
|
229
|
+
* `largestInlineCharsPerFile(modes)` characters of a file when it is attached,
|
|
230
|
+
* so a CSV attached while in Ask is not already cut to 8,000 by the time the
|
|
231
|
+
* user switches to Build. The send then cuts to the SENDING mode's limits.
|
|
232
|
+
*
|
|
233
|
+
* ★★★ NONE OF THIS RUNS UNTIL THE APP MOVES ITS OWN fe-libs PIN. fe-libs is
|
|
234
|
+
* `external` in this package's Vite build, so the HOST APP's copy is what
|
|
235
|
+
* executes here, and `bigconsole-app` pins it in `dependencies` AND in
|
|
236
|
+
* `overrides` — an `overrides` entry is not satisfied by this package's
|
|
237
|
+
* `peerDependencies`. At the app's `2026.917.2`, `resolveAssistantInlineLimits`
|
|
238
|
+
* does not exist at all, so both fields above are read by nobody, with no
|
|
239
|
+
* error and no warning, and the panel keeps the fixed 8,000/20,000 path.
|
|
240
|
+
* `accumulatesNarration` DOES exist there, so half of BOFF-7334 would ship
|
|
241
|
+
* and half would not. Bump the app's fe-libs to >= 2026.920.2 in both places
|
|
242
|
+
* in the same PR as the microfe bump — BOFF-7533.
|
|
243
|
+
*/
|
|
244
|
+
readonly maxInlineCharsTotal: 200000;
|
|
245
|
+
};
|
|
246
|
+
/**
|
|
247
|
+
* The list handed to `AssistantProductProvider`, in display order.
|
|
248
|
+
*
|
|
249
|
+
* ★ Exported as ONE array and consumed by identity. The seam guard asserts
|
|
250
|
+
* `toBe`, not deep equality, because any `.map()` or rebuild on the way to the
|
|
251
|
+
* provider is exactly how `requiresAdmin` and `writeCapable` get dropped.
|
|
252
|
+
*/
|
|
253
|
+
export declare const BIGCONSOLE_ASSISTANT_MODES: readonly AssistantModeConfig[];
|
|
254
|
+
export { ASK, BUILD };
|
|
255
|
+
//# sourceMappingURL=modes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modes.d.ts","sourceRoot":"","sources":["../../../src/bigconsole/assistant/modes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kDAAkD,CAAC;AAE5F;;;;;;;;;;GAUG;AACH,QAAA,MAAM,GAAG;;;;;CAc+B,CAAC;AAEzC;;;;GAIG;AACH,QAAA,MAAM,KAAK;;;;;;IAqBT;;;;;;;;;;;;;;OAcG;;IAEH;;;;;;;;;;;;;;;;;;;;;;;OAuBG;;IAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA0GG;;IAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+DG;;CAEmC,CAAC;AAEzC;;;;;;GAMG;AACH,eAAO,MAAM,0BAA0B,EAAE,SAAS,mBAAmB,EAAiB,CAAC;AAEvF,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Page context gathering for BigConsole — captures the user's current browser
|
|
3
|
+
* context to be sent alongside every assistant prompt for better AI awareness.
|
|
4
|
+
*
|
|
5
|
+
* Mirrors microfe-vibecontrols' `utils/pageContext.ts`. The agent filters the
|
|
6
|
+
* payload to an allow-list (`ai-assistant/src/context-loader.ts` →
|
|
7
|
+
* `ALLOWED_CONTEXT_KEYS`), so the keys MUST be `currentUrl` (NOT `activeUrl`)
|
|
8
|
+
* and the generic `entityType` / `entityId`, or the value is silently dropped.
|
|
9
|
+
*/
|
|
10
|
+
interface ConversationContextShape {
|
|
11
|
+
entityType?: string;
|
|
12
|
+
entityId?: string;
|
|
13
|
+
activeTab?: string;
|
|
14
|
+
metadata?: Record<string, unknown>;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* ★★ A `type`, NOT an `interface`, and the difference is load-bearing.
|
|
18
|
+
*
|
|
19
|
+
* fe-libs' product seam declares `gatherPageContext?: () => PageContext` against
|
|
20
|
+
* ITS OWN `PageContext`, which carries an index signature
|
|
21
|
+
* (`[key: string]: unknown`) so a product may add keys of its own. TypeScript
|
|
22
|
+
* gives a type alias an IMPLICIT index signature and an interface NONE —
|
|
23
|
+
* an interface stays open to declaration merging, so the compiler cannot know
|
|
24
|
+
* its full set of keys and refuses the assignment.
|
|
25
|
+
*
|
|
26
|
+
* So this exact shape, written as an interface, is not assignable to fe-libs'
|
|
27
|
+
* parameter: `assistantProduct.ts` fails with TS2322 while the runtime value is
|
|
28
|
+
* perfectly correct. Changing this back to `interface` re-breaks the seam.
|
|
29
|
+
*/
|
|
30
|
+
export type PageContext = {
|
|
31
|
+
currentUrl: string;
|
|
32
|
+
currentPage: string;
|
|
33
|
+
entityType?: string;
|
|
34
|
+
entityId?: string;
|
|
35
|
+
platform: string;
|
|
36
|
+
version: string;
|
|
37
|
+
viewportSize: string;
|
|
38
|
+
userAgent: string;
|
|
39
|
+
timestamp: string;
|
|
40
|
+
};
|
|
41
|
+
export declare function gatherPageContext(): PageContext;
|
|
42
|
+
/**
|
|
43
|
+
* A human label for where the user is right now, for the shared panel.
|
|
44
|
+
*
|
|
45
|
+
* ★★ The `/bigconsole` MOUNT SEGMENT IS SKIPPED. This MFE mounts under
|
|
46
|
+
* `/bigconsole` in the host shell, so the first segment is the product name on
|
|
47
|
+
* every single page — without this, every location would be described as
|
|
48
|
+
* "Bigconsole", which is both useless and wrong.
|
|
49
|
+
*
|
|
50
|
+
* ★ Derived from `gatherPageContext().currentPage` rather than reading
|
|
51
|
+
* `window.location` a second time, so the label and the agent's structured
|
|
52
|
+
* context can never disagree about which page they describe.
|
|
53
|
+
*/
|
|
54
|
+
export declare function describeCurrentPage(): string;
|
|
55
|
+
/**
|
|
56
|
+
* Maps the current BigConsole route to `{ entityType, entityId }`. The BigConsole
|
|
57
|
+
* MFE mounts under the `/bigconsole` base path in the host shell, so detail
|
|
58
|
+
* routes are matched as `/bigconsole/<collection>/:id`.
|
|
59
|
+
*
|
|
60
|
+
* More specific routes (e.g. dashboard-scoped parsers, builder/edit sub-routes)
|
|
61
|
+
* are matched before their parent so the most relevant entity wins.
|
|
62
|
+
*/
|
|
63
|
+
export declare function resolveBigConsoleConversationContext(pathname: string, search: string): ConversationContextShape;
|
|
64
|
+
export {};
|
|
65
|
+
//# sourceMappingURL=pageContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pageContext.d.ts","sourceRoot":"","sources":["../../../src/bigconsole/assistant/pageContext.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,UAAU,wBAAwB;IAChC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACpC;AAED;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,WAAW,GAAG;IAGxB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IAGpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,wBAAgB,iBAAiB,IAAI,WAAW,CAiB/C;AAsBD;;;;;;;;;;;GAWG;AACH,wBAAgB,mBAAmB,IAAI,MAAM,CAY5C;AAMD;;;;;;;GAOG;AACH,wBAAgB,oCAAoC,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,wBAAwB,CA4C/G"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { AssistantPreviewController } from '@burdenoff/fe-libs/shared/assistant';
|
|
2
|
+
import { previewRunAction, PreviewRunAction } from './previewRunAction';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* ★ Re-exported so consumers keep ONE import path, while the RULE itself lives
|
|
6
|
+
* in a module that loads without a DOM. Importing THIS file pulls fe-libs'
|
|
7
|
+
* assistant barrel, which touches `document` at load time — so the decision had
|
|
8
|
+
* to move out before it could be tested. See `previewRunAction.ts`.
|
|
9
|
+
*
|
|
10
|
+
* ★ Local bindings, not `export … from`: a bare re-export creates no local name,
|
|
11
|
+
* so `applyPreviewEvent` below would be calling something this module does not
|
|
12
|
+
* actually have.
|
|
13
|
+
*/
|
|
14
|
+
export { previewRunAction };
|
|
15
|
+
export type { PreviewRunAction };
|
|
16
|
+
/**
|
|
17
|
+
* BigConsole's preview controller, stable across renders.
|
|
18
|
+
*
|
|
19
|
+
* ★★★ THE MEMO IS LOAD-BEARING, not tidiness. fe-libs' bridge deliberately does
|
|
20
|
+
* NOT reset its run state when the controller identity changes — precisely so
|
|
21
|
+
* that the natural `preview={{ render, onEvent }}` object literal does not
|
|
22
|
+
* re-announce `start` on every poll tick. The cost of that choice is that
|
|
23
|
+
* REPLACING a controller mid-run leaves the newcomer without a `start` for the
|
|
24
|
+
* run already in flight. An empty dependency list is what guarantees one
|
|
25
|
+
* controller for the life of the mount.
|
|
26
|
+
*
|
|
27
|
+
* ★★ NO `render` AND NO `label`, and never add them back conditionally.
|
|
28
|
+
* fe-libs asks a product to decide once whether its controller is headless:
|
|
29
|
+
* adding `render` later swaps the panel's hook layout mid-mount. A `label`
|
|
30
|
+
* would be dead weight, because a headless controller has no toggle to name.
|
|
31
|
+
*/
|
|
32
|
+
export declare function useBigConsoleAssistantPreview(): AssistantPreviewController;
|
|
33
|
+
//# sourceMappingURL=previewController.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"previewController.d.ts","sourceRoot":"","sources":["../../../src/bigconsole/assistant/previewController.tsx"],"names":[],"mappings":"AAkCA,OAAO,EAEL,KAAK,0BAA0B,EAEhC,MAAM,qCAAqC,CAAC;AAG7C,OAAO,EAAE,gBAAgB,EAAE,KAAK,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAG7E;;;;;;;;;GASG;AACH,OAAO,EAAE,gBAAgB,EAAE,CAAC;AAC5B,YAAY,EAAE,gBAAgB,EAAE,CAAC;AAuHjC;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,6BAA6B,IAAI,0BAA0B,CAE1E"}
|
|
@@ -1,29 +1,38 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { normalizePreviewActionResult as e } from "./previewMutationResult.js";
|
|
2
|
+
import { runBelongsToWorkspace as t, useAssistantRunStore as n } from "./assistantRunStore.js";
|
|
3
|
+
import { previewRunAction as r } from "./previewRunAction.js";
|
|
4
|
+
import { useMemo as i } from "react";
|
|
5
|
+
import { useAssistantStore as a } from "@burdenoff/fe-libs/shared/assistant";
|
|
5
6
|
//#region src/bigconsole/assistant/previewController.tsx
|
|
6
|
-
var
|
|
7
|
-
function
|
|
8
|
-
let
|
|
9
|
-
if (
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
a.
|
|
7
|
+
var o = /* @__PURE__ */ new Set();
|
|
8
|
+
function s(i) {
|
|
9
|
+
let s = a.getState(), c = s.conversations.find((e) => e.id === i.run.conversationId)?.mode ?? s.mode;
|
|
10
|
+
if (i.kind === "action-result") {
|
|
11
|
+
let r = n.getState();
|
|
12
|
+
if (!t(i.run.workspaceId, r.workspaceId) || i.run.actorId !== null && r.actorId !== null && i.run.actorId !== r.actorId || s.activeConversationId !== i.run.conversationId) return;
|
|
13
|
+
r.conversationId !== i.run.conversationId && (r.startRun("", i.run.conversationId), n.getState().finishRun(null));
|
|
14
|
+
let a = s.conversations.find((e) => e.id === i.run.conversationId)?.messages.findIndex((e) => e.id === i.run.messageId);
|
|
15
|
+
r.applyResult(i.action.id, e(i.action.operation, i.action.responseKey, i.action.result, i.action.arguments), a !== void 0 && a >= 0 ? a : void 0);
|
|
14
16
|
return;
|
|
15
17
|
}
|
|
16
|
-
if (r.kind === "
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
if (r(i.kind, i.run.runId, c, o) === "ignore") return;
|
|
19
|
+
let l = n.getState(), u = t(i.run.workspaceId, l.workspaceId);
|
|
20
|
+
if (i.kind === "start") {
|
|
21
|
+
if (!u || s.activeConversationId !== i.run.conversationId) return;
|
|
22
|
+
o.add(i.run.runId), l.startRun("", i.run.conversationId);
|
|
19
23
|
return;
|
|
20
24
|
}
|
|
21
|
-
|
|
25
|
+
if (i.kind === "snapshot") {
|
|
26
|
+
if (!u || l.conversationId !== i.run.conversationId) return;
|
|
27
|
+
l.applyProgress(i.content);
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
o.delete(i.run.runId), !(!u || l.conversationId !== i.run.conversationId) && l.finishRun(i.outcome === "error" ? i.error ?? "The build stopped." : null);
|
|
22
31
|
}
|
|
23
|
-
function
|
|
24
|
-
return
|
|
32
|
+
function c() {
|
|
33
|
+
return i(() => ({ onEvent: s }), []);
|
|
25
34
|
}
|
|
26
35
|
//#endregion
|
|
27
|
-
export {
|
|
36
|
+
export { c as useBigConsoleAssistantPreview };
|
|
28
37
|
|
|
29
38
|
//# sourceMappingURL=previewController.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"previewController.js","names":[],"sources":["../../../src/bigconsole/assistant/previewController.tsx"],"sourcesContent":["/**\n * BigConsole's preview capability for the shared assistant panel (BC3).\n *\n * ★★★ THIS IS WHAT REPLACES THE TRANSPORT AS THE RUN STORE'S DRIVER.\n *\n * Today `createSandboxAssistantTransport` calls `startRun` / `applyProgress` /\n * `finishRun` itself, because it owns the turn. The shared panel consumes NO\n * transport at all — `AssistantChatArea` calls fe-libs' own `assistant/api`\n * directly — so once BC4 mounts the panel there is nothing left to drive the\n * store, and the live build preview would simply stop moving.\n *\n * fe-libs' preview capability is that missing wire: the bridge announces\n * `start` / `snapshot` / `end` for the run in flight, and this controller\n * forwards them to the same three store actions the transport used to call. The\n * store, both preview panels, and everything downstream are untouched.\n *\n * ★★★ HEADLESS (BOFF-7799). The controller carries `onEvent` and nothing else.\n * It used to also `render` a copy of the preview INSIDE the panel, behind a\n * \"Build preview\" toggle. That copy was offered even with no run in the tab\n * (an empty rail captioned \"Done\"), and opening it made the page preview under\n * the breadcrumb stand down, so users saw the build only as an overlay in the\n * chat. fe-libs 2026.930.3 made `render` optional: with no `render` the panel\n * shows no toggle, never opens the overlay and never publishes\n * `data-assistant-overlay=\"preview\"`, while the bridge still delivers `start`,\n * `snapshot` and `end`. The page surfaces (`AiPreviewPanel`,\n * `AiPreviewMiniPanel`) are now the only surfaces, and they stay beside the\n * chat by reading `DOCK_CLEARANCE`.\n *\n * ★★ ABSENCE IS STILL THE OFF-SWITCH for the events. A product that supplies no\n * controller gets no events; there is deliberately no second `enablePreview`\n * flag. So this hook always returns a controller — gating belongs at the mount\n * site (BC4), not here.\n */\nimport { useMemo } from 'react';\nimport {\n useAssistantStore,\n type AssistantPreviewController,\n type AssistantPreviewEvent,\n} from '@burdenoff/fe-libs/shared/assistant';\n\nimport { runBelongsToWorkspace, useAssistantRunStore } from './assistantRunStore';\nimport { previewRunAction, type PreviewRunAction } from './previewRunAction';\n\n/**\n * ★ Re-exported so consumers keep ONE import path, while the RULE itself lives\n * in a module that loads without a DOM. Importing THIS file pulls fe-libs'\n * assistant barrel, which touches `document` at load time — so the decision had\n * to move out before it could be tested. See `previewRunAction.ts`.\n *\n * ★ Local bindings, not `export … from`: a bare re-export creates no local name,\n * so `applyPreviewEvent` below would be calling something this module does not\n * actually have.\n */\nexport { previewRunAction };\nexport type { PreviewRunAction };\n\n/**\n * The runs this controller has adopted — Build runs only.\n *\n * ★ Module-level, like the handler itself: it must outlive the controller memo\n * and every re-render, and nothing renders it.\n */\nconst adoptedRuns = new Set<string>();\n\n/**\n * Forward one bridge event to the run store.\n *\n * ★ Module-level and imperative (`getState()`), NOT a hook: the bridge calls\n * this from an effect, and reading the store through a selector here would make\n * the controller depend on state it never renders.\n */\nfunction applyPreviewEvent(event: AssistantPreviewEvent): void {\n /**\n * ★ The mode of THIS RUN's conversation, never the panel's. The panel's `mode`\n * is whatever the user last selected, which need not be the mode the run in\n * flight was started in. Falls back to the panel mode only when the\n * conversation is gone.\n */\n const assistant = useAssistantStore.getState();\n const modeOfRun = assistant.conversations.find((c) => c.id === event.run.conversationId)?.mode ?? assistant.mode;\n\n if (previewRunAction(event.kind, event.run.runId, modeOfRun, adoptedRuns) === 'ignore') {\n return;\n }\n\n const store = useAssistantRunStore.getState();\n /**\n * ★★ A run drives only the workspace it started in. A workspace switch clears\n * the store (`bindWorkspace`), but the previous workspace's turn keeps\n * streaming; its snapshots must not refill the cleared store, or the refill\n * is kept under the new workspace's key.\n */\n const belongs = runBelongsToWorkspace(event.run.workspaceId, store.workspaceId);\n\n if (event.kind === 'start') {\n if (!belongs) return;\n adoptedRuns.add(event.run.runId);\n /**\n * ★★ THE PROMPT IS NOT AVAILABLE, and that is a real gap rather than an\n * oversight. `AssistantPreviewRun` carries `runId`, `conversationId`,\n * `messageId`, `workspaceId` and `actorId` — no turn text — so the store's\n * `prompt` (which only feeds an informational line) is left empty. The\n * transport could pass it because it owned the turn; the bridge cannot,\n * because it observes one. Everything the preview actually draws comes from\n * `applyProgress`, so nothing visible depends on this.\n */\n store.startRun('');\n return;\n }\n\n if (event.kind === 'snapshot') {\n if (!belongs) return;\n /**\n * ★ `content` is the PROSE with the tool-activity lines already removed by\n * fe-libs. That is what this store wants: it harvests entity links, raw\n * mutation ids and the newest `⏳ …` caption out of the agent's narration,\n * all of which live in the prose. The structured `event.steps` describe TOOL\n * calls, which are a different rail from BigConsole's four build steps.\n */\n store.applyProgress(event.content);\n return;\n }\n\n /**\n * ★★ `abandoned` is neither success nor failure — it is a run the bridge can\n * no longer follow (cancelled, superseded, or navigated away from mid-turn),\n * and the turn may well still be executing. Passing its text as an error would\n * paint a red \"Build stopped\" banner over a build that is very likely still\n * running; passing nothing at all would leave the spinner going forever. So it\n * ends the run WITHOUT an error, which stops the spinner and leaves every step\n * already marked `done` exactly as it was.\n */\n /**\n * ★ Released here, and only here. Run ids are `conversationId:messageId`, so\n * they are never reused and this is a leak rather than a correctness bug — but\n * an unbounded set that grows for the life of the tab is still a leak, and\n * `end` is the one event guaranteed to arrive for every adopted run\n * (`abandoned` included — that outcome exists precisely so a run the bridge\n * can no longer follow still terminates).\n */\n adoptedRuns.delete(event.run.runId);\n if (!belongs) return;\n store.finishRun(event.outcome === 'error' ? (event.error ?? 'The build stopped.') : null);\n}\n\n/**\n * BigConsole's preview controller, stable across renders.\n *\n * ★★★ THE MEMO IS LOAD-BEARING, not tidiness. fe-libs' bridge deliberately does\n * NOT reset its run state when the controller identity changes — precisely so\n * that the natural `preview={{ render, onEvent }}` object literal does not\n * re-announce `start` on every poll tick. The cost of that choice is that\n * REPLACING a controller mid-run leaves the newcomer without a `start` for the\n * run already in flight. An empty dependency list is what guarantees one\n * controller for the life of the mount.\n *\n * ★★ NO `render` AND NO `label`, and never add them back conditionally.\n * fe-libs asks a product to decide once whether its controller is headless:\n * adding `render` later swaps the panel's hook layout mid-mount. A `label`\n * would be dead weight, because a headless controller has no toggle to name.\n */\nexport function useBigConsoleAssistantPreview(): AssistantPreviewController {\n return useMemo<AssistantPreviewController>(() => ({ onEvent: applyPreviewEvent }), []);\n}\n"],"mappings":";;;;;AA8DA,IAAM,oBAAc,IAAI,KAAa;AASrC,SAAS,EAAkB,GAAoC;CAO7D,IAAM,IAAY,EAAkB,UAAU,EACxC,IAAY,EAAU,cAAc,MAAM,MAAM,EAAE,OAAO,EAAM,IAAI,eAAe,EAAE,QAAQ,EAAU;AAE5G,KAAI,EAAiB,EAAM,MAAM,EAAM,IAAI,OAAO,GAAW,EAAY,KAAK,SAC5E;CAGF,IAAM,IAAQ,EAAqB,UAAU,EAOvC,IAAU,EAAsB,EAAM,IAAI,aAAa,EAAM,YAAY;AAE/E,KAAI,EAAM,SAAS,SAAS;AAC1B,MAAI,CAAC,EAAS;AAWd,EAVA,EAAY,IAAI,EAAM,IAAI,MAAM,EAUhC,EAAM,SAAS,GAAG;AAClB;;AAGF,KAAI,EAAM,SAAS,YAAY;AAC7B,MAAI,CAAC,EAAS;AAQd,IAAM,cAAc,EAAM,QAAQ;AAClC;;AAoBF,GAAY,OAAO,EAAM,IAAI,MAAM,EAC9B,KACL,EAAM,UAAU,EAAM,YAAY,UAAW,EAAM,SAAS,uBAAwB,KAAK;;AAmB3F,SAAgB,IAA4D;AAC1E,QAAO,SAA2C,EAAE,SAAS,GAAmB,GAAG,EAAE,CAAC"}
|
|
1
|
+
{"version":3,"file":"previewController.js","names":[],"sources":["../../../src/bigconsole/assistant/previewController.tsx"],"sourcesContent":["/**\n * BigConsole's preview capability for the shared assistant panel (BC3).\n *\n * ★★★ THIS IS WHAT REPLACES THE TRANSPORT AS THE RUN STORE'S DRIVER.\n *\n * Today `createSandboxAssistantTransport` calls `startRun` / `applyProgress` /\n * `finishRun` itself, because it owns the turn. The shared panel consumes NO\n * transport at all — `AssistantChatArea` calls fe-libs' own `assistant/api`\n * directly — so once BC4 mounts the panel there is nothing left to drive the\n * store, and the live build preview would simply stop moving.\n *\n * fe-libs' preview capability is that missing wire: the bridge announces\n * `start` / `snapshot` / `end` for the run in flight, and this controller\n * forwards them to the same three store actions the transport used to call. The\n * store, both preview panels, and everything downstream are untouched.\n *\n * ★★★ HEADLESS (BOFF-7799). The controller carries `onEvent` and nothing else.\n * It used to also `render` a copy of the preview INSIDE the panel, behind a\n * \"Build preview\" toggle. That copy was offered even with no run in the tab\n * (an empty rail captioned \"Done\"), and opening it made the page preview under\n * the breadcrumb stand down, so users saw the build only as an overlay in the\n * chat. fe-libs 2026.930.3 made `render` optional: with no `render` the panel\n * shows no toggle, never opens the overlay and never publishes\n * `data-assistant-overlay=\"preview\"`, while the bridge still delivers `start`,\n * `snapshot` and `end`. The page surfaces (`AiPreviewPanel`,\n * `AiPreviewMiniPanel`) are now the only surfaces, and they stay beside the\n * chat by reading `DOCK_CLEARANCE`.\n *\n * ★★ ABSENCE IS STILL THE OFF-SWITCH for the events. A product that supplies no\n * controller gets no events; there is deliberately no second `enablePreview`\n * flag. So this hook always returns a controller — gating belongs at the mount\n * site (BC4), not here.\n */\nimport { useMemo } from 'react';\nimport {\n useAssistantStore,\n type AssistantPreviewController,\n type AssistantPreviewEvent,\n} from '@burdenoff/fe-libs/shared/assistant';\n\nimport { runBelongsToWorkspace, useAssistantRunStore } from './assistantRunStore';\nimport { previewRunAction, type PreviewRunAction } from './previewRunAction';\nimport { normalizePreviewActionResult } from './previewMutationResult';\n\n/**\n * ★ Re-exported so consumers keep ONE import path, while the RULE itself lives\n * in a module that loads without a DOM. Importing THIS file pulls fe-libs'\n * assistant barrel, which touches `document` at load time — so the decision had\n * to move out before it could be tested. See `previewRunAction.ts`.\n *\n * ★ Local bindings, not `export … from`: a bare re-export creates no local name,\n * so `applyPreviewEvent` below would be calling something this module does not\n * actually have.\n */\nexport { previewRunAction };\nexport type { PreviewRunAction };\n\n/**\n * The runs this controller has adopted — Build runs only.\n *\n * ★ Module-level, like the handler itself: it must outlive the controller memo\n * and every re-render, and nothing renders it.\n */\nconst adoptedRuns = new Set<string>();\n\n/**\n * Forward one bridge event to the run store.\n *\n * ★ Module-level and imperative (`getState()`), NOT a hook: the bridge calls\n * this from an effect, and reading the store through a selector here would make\n * the controller depend on state it never renders.\n */\nfunction applyPreviewEvent(event: AssistantPreviewEvent): void {\n /**\n * ★ The mode of THIS RUN's conversation, never the panel's. The panel's `mode`\n * is whatever the user last selected, which need not be the mode the run in\n * flight was started in. Falls back to the panel mode only when the\n * conversation is gone.\n */\n const assistant = useAssistantStore.getState();\n const modeOfRun = assistant.conversations.find((c) => c.id === event.run.conversationId)?.mode ?? assistant.mode;\n\n if (event.kind === 'action-result') {\n const store = useAssistantRunStore.getState();\n if (!runBelongsToWorkspace(event.run.workspaceId, store.workspaceId)) return;\n if (event.run.actorId !== null && store.actorId !== null && event.run.actorId !== store.actorId) return;\n // Approved writes can finish after the model turn settles. They remain real\n // results. Replayed history restores the selected conversation, while\n // inactive background results cannot replace its preview.\n if (assistant.activeConversationId !== event.run.conversationId) return;\n if (store.conversationId !== event.run.conversationId) {\n store.startRun('', event.run.conversationId);\n useAssistantRunStore.getState().finishRun(null);\n }\n const messageOrder = assistant.conversations\n .find((conversation) => conversation.id === event.run.conversationId)\n ?.messages.findIndex((message) => message.id === event.run.messageId);\n store.applyResult(\n event.action.id,\n normalizePreviewActionResult(\n event.action.operation,\n event.action.responseKey,\n event.action.result,\n event.action.arguments\n ),\n messageOrder !== undefined && messageOrder >= 0 ? messageOrder : undefined\n );\n return;\n }\n\n if (previewRunAction(event.kind, event.run.runId, modeOfRun, adoptedRuns) === 'ignore') {\n return;\n }\n\n const store = useAssistantRunStore.getState();\n /**\n * ★★ A run drives only the workspace it started in. A workspace switch clears\n * the store (`bindWorkspace`), but the previous workspace's turn keeps\n * streaming; its snapshots must not refill the cleared store, or the refill\n * is kept under the new workspace's key.\n */\n const belongs = runBelongsToWorkspace(event.run.workspaceId, store.workspaceId);\n\n if (event.kind === 'start') {\n if (!belongs || assistant.activeConversationId !== event.run.conversationId) return;\n adoptedRuns.add(event.run.runId);\n /**\n * ★★ THE PROMPT IS NOT AVAILABLE, and that is a real gap rather than an\n * oversight. `AssistantPreviewRun` carries `runId`, `conversationId`,\n * `messageId`, `workspaceId` and `actorId` — no turn text — so the store's\n * `prompt` (which only feeds an informational line) is left empty. The\n * transport could pass it because it owned the turn; the bridge cannot,\n * because it observes one. Everything the preview actually draws comes from\n * `applyProgress`, so nothing visible depends on this.\n */\n store.startRun('', event.run.conversationId);\n return;\n }\n\n if (event.kind === 'snapshot') {\n if (!belongs || store.conversationId !== event.run.conversationId) return;\n /**\n * ★ `content` is the PROSE with the tool-activity lines already removed by\n * fe-libs. That is what this store wants: it harvests entity links, raw\n * mutation ids and the newest `⏳ …` caption out of the agent's narration,\n * all of which live in the prose. The structured `event.steps` describe TOOL\n * calls, which are a different rail from BigConsole's four build steps.\n */\n store.applyProgress(event.content);\n return;\n }\n\n /**\n * ★★ `abandoned` is neither success nor failure — it is a run the bridge can\n * no longer follow (cancelled, superseded, or navigated away from mid-turn),\n * and the turn may well still be executing. Passing its text as an error would\n * paint a red \"Build stopped\" banner over a build that is very likely still\n * running; passing nothing at all would leave the spinner going forever. So it\n * ends the run WITHOUT an error, which stops the spinner and leaves every step\n * already marked `done` exactly as it was.\n */\n /**\n * ★ Released here, and only here. Run ids are `conversationId:messageId`, so\n * they are never reused and this is a leak rather than a correctness bug — but\n * an unbounded set that grows for the life of the tab is still a leak, and\n * `end` is the one event guaranteed to arrive for every adopted run\n * (`abandoned` included — that outcome exists precisely so a run the bridge\n * can no longer follow still terminates).\n */\n adoptedRuns.delete(event.run.runId);\n if (!belongs || store.conversationId !== event.run.conversationId) return;\n store.finishRun(event.outcome === 'error' ? (event.error ?? 'The build stopped.') : null);\n}\n\n/**\n * BigConsole's preview controller, stable across renders.\n *\n * ★★★ THE MEMO IS LOAD-BEARING, not tidiness. fe-libs' bridge deliberately does\n * NOT reset its run state when the controller identity changes — precisely so\n * that the natural `preview={{ render, onEvent }}` object literal does not\n * re-announce `start` on every poll tick. The cost of that choice is that\n * REPLACING a controller mid-run leaves the newcomer without a `start` for the\n * run already in flight. An empty dependency list is what guarantees one\n * controller for the life of the mount.\n *\n * ★★ NO `render` AND NO `label`, and never add them back conditionally.\n * fe-libs asks a product to decide once whether its controller is headless:\n * adding `render` later swaps the panel's hook layout mid-mount. A `label`\n * would be dead weight, because a headless controller has no toggle to name.\n */\nexport function useBigConsoleAssistantPreview(): AssistantPreviewController {\n return useMemo<AssistantPreviewController>(() => ({ onEvent: applyPreviewEvent }), []);\n}\n"],"mappings":";;;;;;AA+DA,IAAM,oBAAc,IAAI,KAAa;AASrC,SAAS,EAAkB,GAAoC;CAO7D,IAAM,IAAY,EAAkB,UAAU,EACxC,IAAY,EAAU,cAAc,MAAM,MAAM,EAAE,OAAO,EAAM,IAAI,eAAe,EAAE,QAAQ,EAAU;AAE5G,KAAI,EAAM,SAAS,iBAAiB;EAClC,IAAM,IAAQ,EAAqB,UAAU;AAM7C,MALI,CAAC,EAAsB,EAAM,IAAI,aAAa,EAAM,YAAY,IAChE,EAAM,IAAI,YAAY,QAAQ,EAAM,YAAY,QAAQ,EAAM,IAAI,YAAY,EAAM,WAIpF,EAAU,yBAAyB,EAAM,IAAI,eAAgB;AACjE,EAAI,EAAM,mBAAmB,EAAM,IAAI,mBACrC,EAAM,SAAS,IAAI,EAAM,IAAI,eAAe,EAC5C,EAAqB,UAAU,CAAC,UAAU,KAAK;EAEjD,IAAM,IAAe,EAAU,cAC5B,MAAM,MAAiB,EAAa,OAAO,EAAM,IAAI,eAAe,EACnE,SAAS,WAAW,MAAY,EAAQ,OAAO,EAAM,IAAI,UAAU;AACvE,IAAM,YACJ,EAAM,OAAO,IACb,EACE,EAAM,OAAO,WACb,EAAM,OAAO,aACb,EAAM,OAAO,QACb,EAAM,OAAO,UACd,EACD,MAAiB,KAAA,KAAa,KAAgB,IAAI,IAAe,KAAA,EAClE;AACD;;AAGF,KAAI,EAAiB,EAAM,MAAM,EAAM,IAAI,OAAO,GAAW,EAAY,KAAK,SAC5E;CAGF,IAAM,IAAQ,EAAqB,UAAU,EAOvC,IAAU,EAAsB,EAAM,IAAI,aAAa,EAAM,YAAY;AAE/E,KAAI,EAAM,SAAS,SAAS;AAC1B,MAAI,CAAC,KAAW,EAAU,yBAAyB,EAAM,IAAI,eAAgB;AAW7E,EAVA,EAAY,IAAI,EAAM,IAAI,MAAM,EAUhC,EAAM,SAAS,IAAI,EAAM,IAAI,eAAe;AAC5C;;AAGF,KAAI,EAAM,SAAS,YAAY;AAC7B,MAAI,CAAC,KAAW,EAAM,mBAAmB,EAAM,IAAI,eAAgB;AAQnE,IAAM,cAAc,EAAM,QAAQ;AAClC;;AAoBF,GAAY,OAAO,EAAM,IAAI,MAAM,EAC/B,GAAC,KAAW,EAAM,mBAAmB,EAAM,IAAI,mBACnD,EAAM,UAAU,EAAM,YAAY,UAAW,EAAM,SAAS,uBAAwB,KAAK;;AAmB3F,SAAgB,IAA4D;AAC1E,QAAO,SAA2C,EAAE,SAAS,GAAmB,GAAG,EAAE,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** Entity identities from successful GraphQL responses, independent of narration. */
|
|
2
|
+
export interface PreviewMutationEntity {
|
|
3
|
+
step: 'datasink' | 'dashboard' | 'parser' | 'widget';
|
|
4
|
+
id: string;
|
|
5
|
+
dashboardId?: string;
|
|
6
|
+
parserId?: string;
|
|
7
|
+
}
|
|
8
|
+
/** Accept a parsed response or tool output containing a JSON response. Never read request input. */
|
|
9
|
+
export declare function normalizePreviewActionResult(operation: string, responseKey: string, result: unknown, args?: Readonly<Record<string, unknown>>): unknown;
|
|
10
|
+
export declare function previewMutationEntities(output: unknown): PreviewMutationEntity[];
|
|
11
|
+
//# sourceMappingURL=previewMutationResult.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"previewMutationResult.d.ts","sourceRoot":"","sources":["../../../src/bigconsole/assistant/previewMutationResult.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,UAAU,GAAG,WAAW,GAAG,QAAQ,GAAG,QAAQ,CAAC;IACrD,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAqBD,oGAAoG;AACpG,wBAAgB,4BAA4B,CAC1C,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,OAAO,EACf,IAAI,GAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAM,GAC3C,OAAO,CAYT;AAED,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,OAAO,GAAG,qBAAqB,EAAE,CA6ChF"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
//#region src/bigconsole/assistant/previewMutationResult.ts
|
|
2
|
+
var e = {
|
|
3
|
+
createDataSink: "datasink",
|
|
4
|
+
createBigConsoleDashboard: "dashboard",
|
|
5
|
+
createParser: "parser",
|
|
6
|
+
createBigConsoleWidget: "widget",
|
|
7
|
+
updateDataSink: "datasink",
|
|
8
|
+
updateBigConsoleDashboard: "dashboard",
|
|
9
|
+
updateParser: "parser",
|
|
10
|
+
updateBigConsoleWidget: "widget"
|
|
11
|
+
}, t = /^[A-Za-z0-9_-]{1,128}$/;
|
|
12
|
+
function n(e) {
|
|
13
|
+
return typeof e == "object" && e && !Array.isArray(e) ? e : null;
|
|
14
|
+
}
|
|
15
|
+
function r(e, t, r, i = {}) {
|
|
16
|
+
let a = n(r);
|
|
17
|
+
if (Array.isArray(a?.errors) && a.errors.length > 0) return r;
|
|
18
|
+
let o = n(a?.data) ?? a, s = n(o?.[t] ?? o?.[e]);
|
|
19
|
+
if (e === "executeParser" && s?.success === !0) return { executeParser: s };
|
|
20
|
+
if (!s || typeof s.id != "string") return r;
|
|
21
|
+
let c = n(i.input) ?? n(i.i) ?? i;
|
|
22
|
+
return { [e]: {
|
|
23
|
+
...c,
|
|
24
|
+
...s
|
|
25
|
+
} };
|
|
26
|
+
}
|
|
27
|
+
function i(r) {
|
|
28
|
+
if (typeof r == "string") try {
|
|
29
|
+
return i(JSON.parse(r));
|
|
30
|
+
} catch {
|
|
31
|
+
let e = r.indexOf("{"), t = r.lastIndexOf("}");
|
|
32
|
+
if (e < 0 || t <= e) return [];
|
|
33
|
+
try {
|
|
34
|
+
return i(JSON.parse(r.slice(e, t + 1)));
|
|
35
|
+
} catch {
|
|
36
|
+
return [];
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
let a = n(r);
|
|
40
|
+
if (!a || Array.isArray(a.errors) && a.errors.length > 0) return [];
|
|
41
|
+
let o = [];
|
|
42
|
+
for (let [r, s] of Object.entries(a)) {
|
|
43
|
+
let a = e[r], c = n(s);
|
|
44
|
+
r === "executeParser" && c?.success === !0 && typeof c.parserId == "string" && t.test(c.parserId) ? o.push({
|
|
45
|
+
step: "parser",
|
|
46
|
+
id: c.parserId
|
|
47
|
+
}) : a && c && typeof c.id == "string" && t.test(c.id) ? o.push({
|
|
48
|
+
step: a,
|
|
49
|
+
id: c.id,
|
|
50
|
+
...typeof c.dashboardId == "string" && t.test(c.dashboardId) ? { dashboardId: c.dashboardId } : {},
|
|
51
|
+
...typeof c.parserId == "string" && t.test(c.parserId) ? { parserId: c.parserId } : {}
|
|
52
|
+
}) : (r === "data" || r === "result" || r === "output" || r === "body") && o.push(...i(s));
|
|
53
|
+
}
|
|
54
|
+
return o;
|
|
55
|
+
}
|
|
56
|
+
//#endregion
|
|
57
|
+
export { r as normalizePreviewActionResult, i as previewMutationEntities };
|
|
58
|
+
|
|
59
|
+
//# sourceMappingURL=previewMutationResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"previewMutationResult.js","names":[],"sources":["../../../src/bigconsole/assistant/previewMutationResult.ts"],"sourcesContent":["/** Entity identities from successful GraphQL responses, independent of narration. */\nexport interface PreviewMutationEntity {\n step: 'datasink' | 'dashboard' | 'parser' | 'widget';\n id: string;\n dashboardId?: string;\n parserId?: string;\n}\n\nconst OPERATIONS: Record<string, PreviewMutationEntity['step']> = {\n createDataSink: 'datasink',\n createBigConsoleDashboard: 'dashboard',\n createParser: 'parser',\n createBigConsoleWidget: 'widget',\n updateDataSink: 'datasink',\n updateBigConsoleDashboard: 'dashboard',\n updateParser: 'parser',\n updateBigConsoleWidget: 'widget',\n};\n\nconst ENTITY_ID = /^[A-Za-z0-9_-]{1,128}$/;\n\nfunction record(value: unknown): Record<string, unknown> | null {\n return typeof value === 'object' && value !== null && !Array.isArray(value)\n ? (value as Record<string, unknown>)\n : null;\n}\n\n/** Accept a parsed response or tool output containing a JSON response. Never read request input. */\nexport function normalizePreviewActionResult(\n operation: string,\n responseKey: string,\n result: unknown,\n args: Readonly<Record<string, unknown>> = {}\n): unknown {\n const envelope = record(result);\n if (Array.isArray(envelope?.errors) && envelope.errors.length > 0) return result;\n const data = record(envelope?.data) ?? envelope;\n const entity = data?.[responseKey] ?? data?.[operation];\n const confirmed = record(entity);\n if (operation === 'executeParser' && confirmed?.success === true) return { executeParser: confirmed };\n if (!confirmed || typeof confirmed.id !== 'string') return result;\n // Relationships may be omitted from the selection. Approved arguments are\n // usable only once the response confirms that an entity actually exists.\n const input = record(args.input) ?? record(args.i) ?? args;\n return { [operation]: { ...input, ...confirmed } };\n}\n\nexport function previewMutationEntities(output: unknown): PreviewMutationEntity[] {\n if (typeof output === 'string') {\n try {\n return previewMutationEntities(JSON.parse(output));\n } catch {\n // Tool output can wrap the response in status lines or a fenced code block.\n const first = output.indexOf('{');\n const last = output.lastIndexOf('}');\n if (first < 0 || last <= first) return [];\n try {\n return previewMutationEntities(JSON.parse(output.slice(first, last + 1)));\n } catch {\n return [];\n }\n }\n }\n const envelope = record(output);\n if (!envelope || (Array.isArray(envelope.errors) && envelope.errors.length > 0)) return [];\n const result: PreviewMutationEntity[] = [];\n for (const [key, value] of Object.entries(envelope)) {\n const step = OPERATIONS[key];\n const entity = record(value);\n if (\n key === 'executeParser' &&\n entity?.success === true &&\n typeof entity.parserId === 'string' &&\n ENTITY_ID.test(entity.parserId)\n ) {\n result.push({ step: 'parser', id: entity.parserId });\n } else if (step && entity && typeof entity.id === 'string' && ENTITY_ID.test(entity.id)) {\n result.push({\n step,\n id: entity.id,\n ...(typeof entity.dashboardId === 'string' && ENTITY_ID.test(entity.dashboardId)\n ? { dashboardId: entity.dashboardId }\n : {}),\n ...(typeof entity.parserId === 'string' && ENTITY_ID.test(entity.parserId)\n ? { parserId: entity.parserId }\n : {}),\n });\n } else if (key === 'data' || key === 'result' || key === 'output' || key === 'body') {\n result.push(...previewMutationEntities(value));\n }\n }\n return result;\n}\n"],"mappings":";AAQA,IAAM,IAA4D;CAChE,gBAAgB;CAChB,2BAA2B;CAC3B,cAAc;CACd,wBAAwB;CACxB,gBAAgB;CAChB,2BAA2B;CAC3B,cAAc;CACd,wBAAwB;CACzB,EAEK,IAAY;AAElB,SAAS,EAAO,GAAgD;AAC9D,QAAO,OAAO,KAAU,YAAY,KAAkB,CAAC,MAAM,QAAQ,EAAM,GACtE,IACD;;AAIN,SAAgB,EACd,GACA,GACA,GACA,IAA0C,EAAE,EACnC;CACT,IAAM,IAAW,EAAO,EAAO;AAC/B,KAAI,MAAM,QAAQ,GAAU,OAAO,IAAI,EAAS,OAAO,SAAS,EAAG,QAAO;CAC1E,IAAM,IAAO,EAAO,GAAU,KAAK,IAAI,GAEjC,IAAY,EADH,IAAO,MAAgB,IAAO,GACb;AAChC,KAAI,MAAc,mBAAmB,GAAW,YAAY,GAAM,QAAO,EAAE,eAAe,GAAW;AACrG,KAAI,CAAC,KAAa,OAAO,EAAU,MAAO,SAAU,QAAO;CAG3D,IAAM,IAAQ,EAAO,EAAK,MAAM,IAAI,EAAO,EAAK,EAAE,IAAI;AACtD,QAAO,GAAG,IAAY;EAAE,GAAG;EAAO,GAAG;EAAW,EAAE;;AAGpD,SAAgB,EAAwB,GAA0C;AAChF,KAAI,OAAO,KAAW,SACpB,KAAI;AACF,SAAO,EAAwB,KAAK,MAAM,EAAO,CAAC;SAC5C;EAEN,IAAM,IAAQ,EAAO,QAAQ,IAAI,EAC3B,IAAO,EAAO,YAAY,IAAI;AACpC,MAAI,IAAQ,KAAK,KAAQ,EAAO,QAAO,EAAE;AACzC,MAAI;AACF,UAAO,EAAwB,KAAK,MAAM,EAAO,MAAM,GAAO,IAAO,EAAE,CAAC,CAAC;UACnE;AACN,UAAO,EAAE;;;CAIf,IAAM,IAAW,EAAO,EAAO;AAC/B,KAAI,CAAC,KAAa,MAAM,QAAQ,EAAS,OAAO,IAAI,EAAS,OAAO,SAAS,EAAI,QAAO,EAAE;CAC1F,IAAM,IAAkC,EAAE;AAC1C,MAAK,IAAM,CAAC,GAAK,MAAU,OAAO,QAAQ,EAAS,EAAE;EACnD,IAAM,IAAO,EAAW,IAClB,IAAS,EAAO,EAAM;AAC5B,EACE,MAAQ,mBACR,GAAQ,YAAY,MACpB,OAAO,EAAO,YAAa,YAC3B,EAAU,KAAK,EAAO,SAAS,GAE/B,EAAO,KAAK;GAAE,MAAM;GAAU,IAAI,EAAO;GAAU,CAAC,GAC3C,KAAQ,KAAU,OAAO,EAAO,MAAO,YAAY,EAAU,KAAK,EAAO,GAAG,GACrF,EAAO,KAAK;GACV;GACA,IAAI,EAAO;GACX,GAAI,OAAO,EAAO,eAAgB,YAAY,EAAU,KAAK,EAAO,YAAY,GAC5E,EAAE,aAAa,EAAO,aAAa,GACnC,EAAE;GACN,GAAI,OAAO,EAAO,YAAa,YAAY,EAAU,KAAK,EAAO,SAAS,GACtE,EAAE,UAAU,EAAO,UAAU,GAC7B,EAAE;GACP,CAAC,IACO,MAAQ,UAAU,MAAQ,YAAY,MAAQ,YAAY,MAAQ,WAC3E,EAAO,KAAK,GAAG,EAAwB,EAAM,CAAC;;AAGlD,QAAO"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { AssistantPreviewEvent } from '@burdenoff/fe-libs/shared/assistant';
|
|
2
|
+
|
|
3
|
+
/** What, if anything, a bridge event should do to the run store. */
|
|
4
|
+
export type PreviewRunAction = 'start' | 'progress' | 'end' | 'ignore';
|
|
5
|
+
/**
|
|
6
|
+
* ★★★ ASK TURNS MUST NOT DRIVE THE BUILD PREVIEW (Codex review, PR #154).
|
|
7
|
+
*
|
|
8
|
+
* BC3 is what introduces a second mode. Before it, `api-calls` was the ONLY mode
|
|
9
|
+
* BigConsole offered, so forwarding every event unconditionally was correct.
|
|
10
|
+
* Now the controller is registered panel-wide while Ask is read-only, and an
|
|
11
|
+
* unfiltered `start` would mark the build store running, open the preview and
|
|
12
|
+
* light the DataSink step for an ordinary question. Worse, `applyProgress`
|
|
13
|
+
* harvests entity links out of PROSE — so an Ask answer that merely mentions
|
|
14
|
+
* `/bigconsole/dashboards/abc` would be recorded as an entity a build had just
|
|
15
|
+
* created. Every member who only has Ask would see that, on every question.
|
|
16
|
+
*
|
|
17
|
+
* ★★ ADOPTION IS KEYED ON THE RUN, and that is the subtle half. Re-checking "is
|
|
18
|
+
* the mode Build right now?" on every event looks equivalent and is not: a run
|
|
19
|
+
* that STARTS in Build whose conversation is switched to Ask mid-run would have
|
|
20
|
+
* its `end` filtered out, leaving the store spinning on a build that had already
|
|
21
|
+
* finished. The mode is consulted ONCE, at `start`; after that the run is
|
|
22
|
+
* followed to its end — the same way fe-libs' own bridge keys runs.
|
|
23
|
+
*/
|
|
24
|
+
export declare function previewRunAction(kind: AssistantPreviewEvent['kind'], runId: string, modeOfRun: string, adoptedRuns: ReadonlySet<string>): PreviewRunAction;
|
|
25
|
+
//# sourceMappingURL=previewRunAction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"previewRunAction.d.ts","sourceRoot":"","sources":["../../../src/bigconsole/assistant/previewRunAction.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAIjF,oEAAoE;AACpE,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,UAAU,GAAG,KAAK,GAAG,QAAQ,CAAC;AAEvE;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,qBAAqB,CAAC,MAAM,CAAC,EACnC,KAAK,EAAE,MAAM,EACb,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,WAAW,CAAC,MAAM,CAAC,GAC/B,gBAAgB,CAIlB"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BigConsole's product id, in one place.
|
|
3
|
+
*
|
|
4
|
+
* ★★ This single string answers three different questions, and they must never
|
|
5
|
+
* be allowed to drift apart:
|
|
6
|
+
*
|
|
7
|
+
* 1. `AI_ASSISTANT_PRODUCT` — the env the sandbox is created with, which
|
|
8
|
+
* selects the agent's product guide.
|
|
9
|
+
* 2. `metadata.assistantProduct` — the reuse stamp (BOFF-7312). A sandbox
|
|
10
|
+
* stamped with another product's id is never reused for this one. That is
|
|
11
|
+
* not bookkeeping: adopting another product's container inherits its
|
|
12
|
+
* persona and docs corpus, which is the production incident pinned in
|
|
13
|
+
* fe-libs' `sandboxProductIsolation.test.ts` — a HealthyBowl user greeted
|
|
14
|
+
* by "I am the AI assistant for the Burdenoff platform".
|
|
15
|
+
* 3. The i18n namespace prefix: every shared-panel string resolves as
|
|
16
|
+
* `bigconsole.assistant.<relative key>`.
|
|
17
|
+
*
|
|
18
|
+
* A second literal spelled the same way would satisfy all three today and
|
|
19
|
+
* silently stop doing so the moment one of them is edited.
|
|
20
|
+
* `assistantSeamWiring.test.ts` asserts that no other production file in this
|
|
21
|
+
* folder contains the bare quoted literal.
|
|
22
|
+
*
|
|
23
|
+
* ★ Deliberately a module with NO other imports: the id is read by the seam, by
|
|
24
|
+
* the i18n namespace and by the sandbox stamp, and none of them should have to
|
|
25
|
+
* load anything else to get it.
|
|
26
|
+
*/
|
|
27
|
+
export declare const BIGCONSOLE_PRODUCT = "bigconsole";
|
|
28
|
+
//# sourceMappingURL=product.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product.d.ts","sourceRoot":"","sources":["../../../src/bigconsole/assistant/product.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,kBAAkB,eAAe,CAAC"}
|