@sixb/app 0.1.11 → 0.1.12
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/LICENSE +2 -0
- package/README.md +25 -19
- package/assets/connector-icons/README.md +29 -0
- package/assets/connector-icons/ace-iot.ico +0 -0
- package/assets/connector-icons/companycam.png +0 -0
- package/assets/connector-icons/exa.png +0 -0
- package/assets/connector-icons/github.svg +1 -0
- package/assets/connector-icons/google.ico +0 -0
- package/assets/connector-icons/googleads.svg +29 -0
- package/assets/connector-icons/linkedin.svg +1 -0
- package/assets/connector-icons/mercury.svg +1 -0
- package/assets/connector-icons/meta.svg +1 -0
- package/assets/connector-icons/microsoft.ico +0 -0
- package/assets/connector-icons/notion.svg +1 -0
- package/assets/connector-icons/pandadoc.png +0 -0
- package/assets/connector-icons/pennylane.ico +0 -0
- package/assets/connector-icons/pipedrive.png +0 -0
- package/assets/connector-icons/plaud.png +0 -0
- package/assets/connector-icons/quickbooks.svg +1 -0
- package/assets/connector-icons/stripe.svg +1 -0
- package/assets/connector-icons/teamleader.ico +0 -0
- package/assets/connector-icons/tiktok.svg +1 -0
- package/assets/connector-icons/unipile.png +0 -0
- package/dist/agent/activity-label.d.ts +5 -0
- package/dist/agent/activity-label.d.ts.map +1 -0
- package/dist/agent/agent-chat.d.ts +24 -0
- package/dist/agent/agent-chat.d.ts.map +1 -0
- package/dist/agent/agent-context-provider.d.ts +9 -0
- package/dist/agent/agent-context-provider.d.ts.map +1 -0
- package/dist/agent/agent-execution-trace.d.ts +9 -0
- package/dist/agent/agent-execution-trace.d.ts.map +1 -0
- package/dist/agent/agent-panel.d.ts +27 -0
- package/dist/agent/agent-panel.d.ts.map +1 -0
- package/dist/agent/agent-surface-state.d.ts +22 -0
- package/dist/agent/agent-surface-state.d.ts.map +1 -0
- package/dist/agent/agent-surface.d.ts +46 -0
- package/dist/agent/agent-surface.d.ts.map +1 -0
- package/dist/agent/bash/bash-tool-view.d.ts +17 -0
- package/dist/agent/bash/bash-tool-view.d.ts.map +1 -0
- package/dist/agent/bash/data.d.ts +35 -0
- package/dist/agent/bash/data.d.ts.map +1 -0
- package/dist/agent/bash/interpret.d.ts +84 -0
- package/dist/agent/bash/interpret.d.ts.map +1 -0
- package/dist/agent/bash/renderers.d.ts +31 -0
- package/dist/agent/bash/renderers.d.ts.map +1 -0
- package/dist/agent/bash/shell.d.ts +16 -0
- package/dist/agent/bash/shell.d.ts.map +1 -0
- package/dist/agent/components/activity-status.d.ts +13 -0
- package/dist/agent/components/activity-status.d.ts.map +1 -0
- package/dist/agent/components/agent-thread-switcher.d.ts +16 -0
- package/dist/agent/components/agent-thread-switcher.d.ts.map +1 -0
- package/dist/agent/components/composer.d.ts +47 -0
- package/dist/agent/components/composer.d.ts.map +1 -0
- package/dist/agent/components/context-chips.d.ts +7 -0
- package/dist/agent/components/context-chips.d.ts.map +1 -0
- package/dist/agent/components/context-picker.d.ts +16 -0
- package/dist/agent/components/context-picker.d.ts.map +1 -0
- package/dist/agent/components/conversation-panel.d.ts +82 -0
- package/dist/agent/components/conversation-panel.d.ts.map +1 -0
- package/dist/agent/components/file-attachment-card.d.ts +8 -0
- package/dist/agent/components/file-attachment-card.d.ts.map +1 -0
- package/dist/agent/components/message-parts.d.ts +13 -0
- package/dist/agent/components/message-parts.d.ts.map +1 -0
- package/dist/agent/components/message-view.d.ts +58 -0
- package/dist/agent/components/message-view.d.ts.map +1 -0
- package/dist/agent/components/model-controls.d.ts +20 -0
- package/dist/agent/components/model-controls.d.ts.map +1 -0
- package/dist/agent/components/model-picker-row.d.ts +8 -0
- package/dist/agent/components/model-picker-row.d.ts.map +1 -0
- package/dist/agent/components/provider-logo.d.ts +6 -0
- package/dist/agent/components/provider-logo.d.ts.map +1 -0
- package/dist/agent/components/provider-logos.d.ts +3 -0
- package/dist/agent/components/provider-logos.d.ts.map +1 -0
- package/dist/agent/components/reasoning-effort-slider.d.ts +11 -0
- package/dist/agent/components/reasoning-effort-slider.d.ts.map +1 -0
- package/dist/agent/components/sandbox-recovery.d.ts +6 -0
- package/dist/agent/components/sandbox-recovery.d.ts.map +1 -0
- package/dist/agent/components/transcript.d.ts +36 -0
- package/dist/agent/components/transcript.d.ts.map +1 -0
- package/dist/agent/components/web-fetch-tool-view.d.ts +5 -0
- package/dist/agent/components/web-fetch-tool-view.d.ts.map +1 -0
- package/dist/agent/components/web-search-tool-view.d.ts +5 -0
- package/dist/agent/components/web-search-tool-view.d.ts.map +1 -0
- package/dist/agent/components/web-sources.d.ts +9 -0
- package/dist/agent/components/web-sources.d.ts.map +1 -0
- package/dist/agent/document-preview/classify.d.ts +4 -0
- package/dist/agent/document-preview/classify.d.ts.map +1 -0
- package/dist/agent/document-preview/content-policy.d.ts +10 -0
- package/dist/agent/document-preview/content-policy.d.ts.map +1 -0
- package/dist/agent/document-preview/content.d.ts +26 -0
- package/dist/agent/document-preview/content.d.ts.map +1 -0
- package/dist/agent/document-preview/delimited.d.ts +19 -0
- package/dist/agent/document-preview/delimited.d.ts.map +1 -0
- package/dist/agent/document-preview/document-preview-root.d.ts +24 -0
- package/dist/agent/document-preview/document-preview-root.d.ts.map +1 -0
- package/dist/agent/document-preview/file-size.d.ts +3 -0
- package/dist/agent/document-preview/file-size.d.ts.map +1 -0
- package/dist/agent/document-preview/html.d.ts +9 -0
- package/dist/agent/document-preview/html.d.ts.map +1 -0
- package/dist/agent/document-preview/persistence.d.ts +6 -0
- package/dist/agent/document-preview/persistence.d.ts.map +1 -0
- package/dist/agent/document-preview/presentation.d.ts +3 -0
- package/dist/agent/document-preview/presentation.d.ts.map +1 -0
- package/dist/agent/document-preview/rendering.d.ts +14 -0
- package/dist/agent/document-preview/rendering.d.ts.map +1 -0
- package/dist/agent/document-preview/source.d.ts +13 -0
- package/dist/agent/document-preview/source.d.ts.map +1 -0
- package/dist/agent/document-preview/state.d.ts +27 -0
- package/dist/agent/document-preview/state.d.ts.map +1 -0
- package/dist/agent/document-preview/types.d.ts +33 -0
- package/dist/agent/document-preview/types.d.ts.map +1 -0
- package/dist/agent/format.d.ts +12 -0
- package/dist/agent/format.d.ts.map +1 -0
- package/dist/agent/hooks/use-agent-conversation.d.ts +338 -0
- package/dist/agent/hooks/use-agent-conversation.d.ts.map +1 -0
- package/dist/agent/hooks/use-thread-stream.d.ts +22 -0
- package/dist/agent/hooks/use-thread-stream.d.ts.map +1 -0
- package/dist/agent/i18n/en.d.ts +589 -0
- package/dist/agent/i18n/en.d.ts.map +1 -0
- package/dist/agent/i18n/fr.d.ts +4 -0
- package/dist/agent/i18n/fr.d.ts.map +1 -0
- package/dist/agent/i18n/index.d.ts +1161 -0
- package/dist/agent/i18n/index.d.ts.map +1 -0
- package/dist/agent/live-run.d.ts +48 -0
- package/dist/agent/live-run.d.ts.map +1 -0
- package/dist/agent/model-selection.d.ts +33 -0
- package/dist/agent/model-selection.d.ts.map +1 -0
- package/dist/agent/object-context-title.d.ts +22 -0
- package/dist/agent/object-context-title.d.ts.map +1 -0
- package/dist/agent/parts.d.ts +42 -0
- package/dist/agent/parts.d.ts.map +1 -0
- package/dist/agent/react-router.d.ts +8 -0
- package/dist/agent/react-router.d.ts.map +1 -0
- package/dist/agent/read/interpret.d.ts +24 -0
- package/dist/agent/read/interpret.d.ts.map +1 -0
- package/dist/agent/read/read-tool-view.d.ts +5 -0
- package/dist/agent/read/read-tool-view.d.ts.map +1 -0
- package/dist/agent/requester-settings.d.ts +15 -0
- package/dist/agent/requester-settings.d.ts.map +1 -0
- package/dist/agent/run-presentation.d.ts +70 -0
- package/dist/agent/run-presentation.d.ts.map +1 -0
- package/dist/agent/thread-navigation.d.ts +5 -0
- package/dist/agent/thread-navigation.d.ts.map +1 -0
- package/dist/agent/types.d.ts +22 -0
- package/dist/agent/types.d.ts.map +1 -0
- package/dist/agent/utils/context-display.d.ts +5 -0
- package/dist/agent/utils/context-display.d.ts.map +1 -0
- package/dist/agent/utils/context-mention.d.ts +12 -0
- package/dist/agent/utils/context-mention.d.ts.map +1 -0
- package/dist/agent/utils/web-fetch.d.ts +4 -0
- package/dist/agent/utils/web-fetch.d.ts.map +1 -0
- package/dist/agent/utils/web-search.d.ts +20 -0
- package/dist/agent/utils/web-search.d.ts.map +1 -0
- package/dist/agent/view-file/interpret.d.ts +9 -0
- package/dist/agent/view-file/interpret.d.ts.map +1 -0
- package/dist/agent/view-file/view-file-tool-view.d.ts +9 -0
- package/dist/agent/view-file/view-file-tool-view.d.ts.map +1 -0
- package/dist/agent/workspace.d.ts +11 -0
- package/dist/agent/workspace.d.ts.map +1 -0
- package/dist/chunk-3a99tmwg.js +176 -0
- package/dist/chunk-3a99tmwg.js.map +10 -0
- package/dist/chunk-48pkffj6.js +20 -0
- package/dist/chunk-48pkffj6.js.map +10 -0
- package/dist/chunk-6n5pdqp0.js +115 -0
- package/dist/chunk-6n5pdqp0.js.map +11 -0
- package/dist/chunk-j97e06rg.js +10668 -0
- package/dist/chunk-j97e06rg.js.map +80 -0
- package/dist/chunk-md3p7qdt.js +379 -0
- package/dist/chunk-md3p7qdt.js.map +10 -0
- package/dist/chunk-shmw3f8t.js +251 -0
- package/dist/chunk-shmw3f8t.js.map +10 -0
- package/dist/chunk-yvhzn4ye.js +98 -0
- package/dist/chunk-yvhzn4ye.js.map +10 -0
- package/dist/chunk-zcxrt24m.js +148 -0
- package/dist/chunk-zcxrt24m.js.map +10 -0
- package/dist/codegen.d.ts +6 -4
- package/dist/codegen.d.ts.map +1 -1
- package/dist/createCustomApp.d.ts +14 -7
- package/dist/createCustomApp.d.ts.map +1 -1
- package/dist/index.d.ts +33 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +958 -2890
- package/dist/index.js.map +14 -13
- package/dist/locale-messages.d.ts +72 -6
- package/dist/locale-messages.d.ts.map +1 -1
- package/dist/locale.d.ts +73 -8
- package/dist/locale.d.ts.map +1 -1
- package/dist/locale.js +10 -19
- package/dist/locale.js.map +3 -4
- package/dist/metadata.d.ts.map +1 -1
- package/dist/pages/data/connectors.d.ts +5 -0
- package/dist/pages/data/connectors.d.ts.map +1 -0
- package/dist/pages/data/datasets.d.ts +30 -0
- package/dist/pages/data/datasets.d.ts.map +1 -0
- package/dist/pages/data/live-updates.d.ts +13 -0
- package/dist/pages/data/live-updates.d.ts.map +1 -0
- package/dist/pages/data/messages.d.ts +354 -0
- package/dist/pages/data/messages.d.ts.map +1 -0
- package/dist/pages/data/pipeline-canvas.d.ts +34 -0
- package/dist/pages/data/pipeline-canvas.d.ts.map +1 -0
- package/dist/pages/data/pipelines.d.ts +9 -0
- package/dist/pages/data/pipelines.d.ts.map +1 -0
- package/dist/pages/data/projections.d.ts +10 -0
- package/dist/pages/data/projections.d.ts.map +1 -0
- package/dist/pages/data/schema.d.ts +20 -0
- package/dist/pages/data/schema.d.ts.map +1 -0
- package/dist/pages/data/shared.d.ts +13 -0
- package/dist/pages/data/shared.d.ts.map +1 -0
- package/dist/pages/data/sync-button.d.ts +15 -0
- package/dist/pages/data/sync-button.d.ts.map +1 -0
- package/dist/pages/data/syncs.d.ts +5 -0
- package/dist/pages/data/syncs.d.ts.map +1 -0
- package/dist/pages/home.d.ts +6 -0
- package/dist/pages/home.d.ts.map +1 -0
- package/dist/pages/mosaic.d.ts +5 -0
- package/dist/pages/mosaic.d.ts.map +1 -0
- package/dist/pages/observability/action-run.d.ts +19 -0
- package/dist/pages/observability/action-run.d.ts.map +1 -0
- package/dist/pages/observability/ai-usage/calls.d.ts +27 -0
- package/dist/pages/observability/ai-usage/calls.d.ts.map +1 -0
- package/dist/pages/observability/ai-usage/charts.d.ts +23 -0
- package/dist/pages/observability/ai-usage/charts.d.ts.map +1 -0
- package/dist/pages/observability/ai-usage/format.d.ts +101 -0
- package/dist/pages/observability/ai-usage/format.d.ts.map +1 -0
- package/dist/pages/observability/ai-usage/limits.d.ts +12 -0
- package/dist/pages/observability/ai-usage/limits.d.ts.map +1 -0
- package/dist/pages/observability/ai-usage/messages.d.ts +431 -0
- package/dist/pages/observability/ai-usage/messages.d.ts.map +1 -0
- package/dist/pages/observability/ai-usage/page.d.ts +6 -0
- package/dist/pages/observability/ai-usage/page.d.ts.map +1 -0
- package/dist/pages/observability/live-updates.d.ts +3 -0
- package/dist/pages/observability/live-updates.d.ts.map +1 -0
- package/dist/pages/observability/logs.d.ts +11 -0
- package/dist/pages/observability/logs.d.ts.map +1 -0
- package/dist/pages/observability/messages.d.ts +329 -0
- package/dist/pages/observability/messages.d.ts.map +1 -0
- package/dist/pages/observability/runs.d.ts +7 -0
- package/dist/pages/observability/runs.d.ts.map +1 -0
- package/dist/pages/observability/workflow-run.d.ts +6 -0
- package/dist/pages/observability/workflow-run.d.ts.map +1 -0
- package/dist/pages/ontology/actions.d.ts +3 -0
- package/dist/pages/ontology/actions.d.ts.map +1 -0
- package/dist/pages/ontology/components/action-button.d.ts +12 -0
- package/dist/pages/ontology/components/action-button.d.ts.map +1 -0
- package/dist/pages/ontology/components/action-param-null-control.d.ts +7 -0
- package/dist/pages/ontology/components/action-param-null-control.d.ts.map +1 -0
- package/dist/pages/ontology/components/collection-toolbar.d.ts +21 -0
- package/dist/pages/ontology/components/collection-toolbar.d.ts.map +1 -0
- package/dist/pages/ontology/components/common.d.ts +16 -0
- package/dist/pages/ontology/components/common.d.ts.map +1 -0
- package/dist/pages/ontology/components/file-ref-upload-field.d.ts +13 -0
- package/dist/pages/ontology/components/file-ref-upload-field.d.ts.map +1 -0
- package/dist/pages/ontology/components/object-filter-popover.d.ts +9 -0
- package/dist/pages/ontology/components/object-filter-popover.d.ts.map +1 -0
- package/dist/pages/ontology/components/object-icon.d.ts +7 -0
- package/dist/pages/ontology/components/object-icon.d.ts.map +1 -0
- package/dist/pages/ontology/components/object-query-bar.d.ts +21 -0
- package/dist/pages/ontology/components/object-query-bar.d.ts.map +1 -0
- package/dist/pages/ontology/components/telemetry-chart.d.ts +18 -0
- package/dist/pages/ontology/components/telemetry-chart.d.ts.map +1 -0
- package/dist/pages/ontology/components/telemetry-grid.d.ts +19 -0
- package/dist/pages/ontology/components/telemetry-grid.d.ts.map +1 -0
- package/dist/pages/ontology/components/telemetry-tile.d.ts +18 -0
- package/dist/pages/ontology/components/telemetry-tile.d.ts.map +1 -0
- package/dist/pages/ontology/components/telemetry-value.d.ts +10 -0
- package/dist/pages/ontology/components/telemetry-value.d.ts.map +1 -0
- package/dist/pages/ontology/components/usage-bar.d.ts +12 -0
- package/dist/pages/ontology/components/usage-bar.d.ts.map +1 -0
- package/dist/pages/ontology/graph.d.ts +6 -0
- package/dist/pages/ontology/graph.d.ts.map +1 -0
- package/dist/pages/ontology/hooks/object-live-updates.d.ts +5 -0
- package/dist/pages/ontology/hooks/object-live-updates.d.ts.map +1 -0
- package/dist/pages/ontology/hooks/object-telemetry-updates.d.ts +8 -0
- package/dist/pages/ontology/hooks/object-telemetry-updates.d.ts.map +1 -0
- package/dist/pages/ontology/hooks/object-type-counts.d.ts +5 -0
- package/dist/pages/ontology/hooks/object-type-counts.d.ts.map +1 -0
- package/dist/pages/ontology/hooks/rule-live-updates.d.ts +9 -0
- package/dist/pages/ontology/hooks/rule-live-updates.d.ts.map +1 -0
- package/dist/pages/ontology/hooks/workflow-live-updates.d.ts +6 -0
- package/dist/pages/ontology/hooks/workflow-live-updates.d.ts.map +1 -0
- package/dist/pages/ontology/lib/action-params.d.ts +55 -0
- package/dist/pages/ontology/lib/action-params.d.ts.map +1 -0
- package/dist/pages/ontology/lib/format-value.d.ts +3 -0
- package/dist/pages/ontology/lib/format-value.d.ts.map +1 -0
- package/dist/pages/ontology/lib/labels.d.ts +3 -0
- package/dist/pages/ontology/lib/labels.d.ts.map +1 -0
- package/dist/pages/ontology/lib/live-update-keys.d.ts +15 -0
- package/dist/pages/ontology/lib/live-update-keys.d.ts.map +1 -0
- package/dist/pages/ontology/lib/object-query.d.ts +72 -0
- package/dist/pages/ontology/lib/object-query.d.ts.map +1 -0
- package/dist/pages/ontology/lib/ontology-graph-layout.d.ts +68 -0
- package/dist/pages/ontology/lib/ontology-graph-layout.d.ts.map +1 -0
- package/dist/pages/ontology/lib/ontology-graph-links.d.ts +4 -0
- package/dist/pages/ontology/lib/ontology-graph-links.d.ts.map +1 -0
- package/dist/pages/ontology/lib/telemetry-history.d.ts +10 -0
- package/dist/pages/ontology/lib/telemetry-history.d.ts.map +1 -0
- package/dist/pages/ontology/lib/time.d.ts +3 -0
- package/dist/pages/ontology/lib/time.d.ts.map +1 -0
- package/dist/pages/ontology/lib/user-preferences.d.ts +8 -0
- package/dist/pages/ontology/lib/user-preferences.d.ts.map +1 -0
- package/dist/pages/ontology/object-page.d.ts +7 -0
- package/dist/pages/ontology/object-page.d.ts.map +1 -0
- package/dist/pages/ontology/object-type.d.ts +3 -0
- package/dist/pages/ontology/object-type.d.ts.map +1 -0
- package/dist/pages/ontology/object-types.d.ts +7 -0
- package/dist/pages/ontology/object-types.d.ts.map +1 -0
- package/dist/pages/ontology/objects.d.ts +6 -0
- package/dist/pages/ontology/objects.d.ts.map +1 -0
- package/dist/pages/ontology/rules.d.ts +32 -0
- package/dist/pages/ontology/rules.d.ts.map +1 -0
- package/dist/pages/ontology/workflow.d.ts +6 -0
- package/dist/pages/ontology/workflow.d.ts.map +1 -0
- package/dist/pages/ontology/workflows/agent-execution-panel.d.ts +17 -0
- package/dist/pages/ontology/workflows/agent-execution-panel.d.ts.map +1 -0
- package/dist/pages/ontology/workflows/intervention-panel.d.ts +5 -0
- package/dist/pages/ontology/workflows/intervention-panel.d.ts.map +1 -0
- package/dist/pages/ontology/workflows/node-execution-panel.d.ts +11 -0
- package/dist/pages/ontology/workflows/node-execution-panel.d.ts.map +1 -0
- package/dist/pages/ontology/workflows/request-run-dialog.d.ts +5 -0
- package/dist/pages/ontology/workflows/request-run-dialog.d.ts.map +1 -0
- package/dist/pages/ontology/workflows/run-debug-section.d.ts +11 -0
- package/dist/pages/ontology/workflows/run-debug-section.d.ts.map +1 -0
- package/dist/pages/ontology/workflows/run-input-form.d.ts +18 -0
- package/dist/pages/ontology/workflows/run-input-form.d.ts.map +1 -0
- package/dist/pages/ontology/workflows/run-progress.d.ts +15 -0
- package/dist/pages/ontology/workflows/run-progress.d.ts.map +1 -0
- package/dist/pages/ontology/workflows/schema-shape.d.ts +10 -0
- package/dist/pages/ontology/workflows/schema-shape.d.ts.map +1 -0
- package/dist/pages/ontology/workflows/status-badge.d.ts +5 -0
- package/dist/pages/ontology/workflows/status-badge.d.ts.map +1 -0
- package/dist/pages/ontology/workflows/utils.d.ts +29 -0
- package/dist/pages/ontology/workflows/utils.d.ts.map +1 -0
- package/dist/pages/ontology/workflows/workflow-card.d.ts +5 -0
- package/dist/pages/ontology/workflows/workflow-card.d.ts.map +1 -0
- package/dist/pages/ontology/workflows.d.ts +3 -0
- package/dist/pages/ontology/workflows.d.ts.map +1 -0
- package/dist/pages/routes.d.ts +19 -0
- package/dist/pages/routes.d.ts.map +1 -0
- package/dist/pages/section-page.d.ts +91 -0
- package/dist/pages/section-page.d.ts.map +1 -0
- package/dist/pages/section-ui.d.ts +211 -0
- package/dist/pages/section-ui.d.ts.map +1 -0
- package/dist/pages/settings/controls.d.ts +94 -0
- package/dist/pages/settings/controls.d.ts.map +1 -0
- package/dist/pages/settings/developers.d.ts +3 -0
- package/dist/pages/settings/developers.d.ts.map +1 -0
- package/dist/pages/settings/members.d.ts +3 -0
- package/dist/pages/settings/members.d.ts.map +1 -0
- package/dist/pages/settings/messages.d.ts +538 -0
- package/dist/pages/settings/messages.d.ts.map +1 -0
- package/dist/pages/settings/personal.d.ts +6 -0
- package/dist/pages/settings/personal.d.ts.map +1 -0
- package/dist/pages/settings/service-accounts.d.ts +3 -0
- package/dist/pages/settings/service-accounts.d.ts.map +1 -0
- package/dist/pages/settings/sessions.d.ts +3 -0
- package/dist/pages/settings/sessions.d.ts.map +1 -0
- package/dist/pages/values.d.ts +77 -0
- package/dist/pages/values.d.ts.map +1 -0
- package/dist/pages.d.ts +42 -0
- package/dist/pages.d.ts.map +1 -0
- package/dist/pages.js +23931 -0
- package/dist/pages.js.map +85 -0
- package/dist/runtime.d.ts +0 -2
- package/dist/runtime.d.ts.map +1 -1
- package/dist/sections/catalog.d.ts +37 -0
- package/dist/sections/catalog.d.ts.map +1 -0
- package/dist/sections/counts.d.ts +7 -0
- package/dist/sections/counts.d.ts.map +1 -0
- package/dist/sections/sections.d.ts +67 -0
- package/dist/sections/sections.d.ts.map +1 -0
- package/dist/server.d.ts +8 -0
- package/dist/server.d.ts.map +1 -0
- package/dist/server.js +2983 -0
- package/dist/server.js.map +19 -0
- package/dist/session.d.ts +18 -0
- package/dist/session.d.ts.map +1 -0
- package/dist/shell/agent-dock.d.ts +7 -0
- package/dist/shell/agent-dock.d.ts.map +1 -0
- package/dist/shell/app-shell.d.ts +42 -0
- package/dist/shell/app-shell.d.ts.map +1 -0
- package/dist/shell/brand.d.ts +15 -0
- package/dist/shell/brand.d.ts.map +1 -0
- package/dist/shell/nav-items.d.ts +34 -0
- package/dist/shell/nav-items.d.ts.map +1 -0
- package/dist/shell/search-command.d.ts +12 -0
- package/dist/shell/search-command.d.ts.map +1 -0
- package/dist/shell/section-nav.d.ts +13 -0
- package/dist/shell/section-nav.d.ts.map +1 -0
- package/dist/shell/user-menu.d.ts +25 -0
- package/dist/shell/user-menu.d.ts.map +1 -0
- package/dist/tailwind.d.ts +4 -4
- package/dist/tailwind.d.ts.map +1 -1
- package/package.json +24 -21
- package/src/agent/activity-label.ts +63 -0
- package/src/agent/agent-chat.tsx +237 -0
- package/src/agent/agent-context-provider.tsx +92 -0
- package/src/agent/agent-execution-trace.tsx +316 -0
- package/src/agent/agent-panel.tsx +79 -0
- package/src/agent/agent-surface-state.ts +113 -0
- package/src/agent/agent-surface.tsx +363 -0
- package/src/agent/agent.css +231 -0
- package/src/agent/bash/bash-tool-view.tsx +288 -0
- package/src/agent/bash/data.ts +137 -0
- package/src/agent/bash/interpret.ts +769 -0
- package/src/agent/bash/renderers.tsx +503 -0
- package/src/agent/bash/shell.ts +195 -0
- package/src/agent/components/activity-status.tsx +86 -0
- package/src/agent/components/agent-thread-switcher.tsx +346 -0
- package/src/agent/components/composer.tsx +870 -0
- package/src/agent/components/context-chips.tsx +63 -0
- package/src/agent/components/context-picker.tsx +88 -0
- package/src/agent/components/conversation-panel.tsx +352 -0
- package/src/agent/components/file-attachment-card.tsx +137 -0
- package/src/agent/components/message-parts.tsx +280 -0
- package/src/agent/components/message-view.tsx +428 -0
- package/src/agent/components/model-controls.tsx +204 -0
- package/src/agent/components/model-picker-row.tsx +136 -0
- package/src/agent/components/provider-logo.tsx +31 -0
- package/src/agent/components/provider-logos.ts +24 -0
- package/src/agent/components/reasoning-effort-slider.tsx +121 -0
- package/src/agent/components/sandbox-recovery.tsx +49 -0
- package/src/agent/components/transcript.tsx +239 -0
- package/src/agent/components/web-fetch-tool-view.tsx +69 -0
- package/src/agent/components/web-search-tool-view.tsx +37 -0
- package/src/agent/components/web-sources.tsx +159 -0
- package/src/agent/document-preview/classify.ts +55 -0
- package/src/agent/document-preview/content-policy.ts +37 -0
- package/src/agent/document-preview/content.ts +82 -0
- package/src/agent/document-preview/delimited.ts +118 -0
- package/src/agent/document-preview/document-preview-root.tsx +1017 -0
- package/src/agent/document-preview/file-size.ts +26 -0
- package/src/agent/document-preview/html.ts +67 -0
- package/src/agent/document-preview/persistence.ts +115 -0
- package/src/agent/document-preview/presentation.ts +13 -0
- package/src/agent/document-preview/rendering.ts +48 -0
- package/src/agent/document-preview/source.ts +48 -0
- package/src/agent/document-preview/state.ts +77 -0
- package/src/agent/document-preview/types.ts +36 -0
- package/src/agent/format.ts +60 -0
- package/src/agent/hooks/use-agent-conversation.ts +536 -0
- package/src/agent/hooks/use-thread-stream.ts +121 -0
- package/src/agent/i18n/en.ts +542 -0
- package/src/agent/i18n/fr.ts +574 -0
- package/src/agent/i18n/index.ts +14 -0
- package/src/agent/live-run.ts +257 -0
- package/src/agent/model-selection.ts +88 -0
- package/src/agent/object-context-title.ts +57 -0
- package/src/agent/parts.ts +119 -0
- package/src/agent/react-router.tsx +84 -0
- package/src/agent/read/interpret.ts +101 -0
- package/src/agent/read/read-tool-view.tsx +92 -0
- package/src/agent/requester-settings.ts +55 -0
- package/src/agent/run-presentation.ts +211 -0
- package/src/agent/thread-navigation.ts +11 -0
- package/src/agent/types.ts +37 -0
- package/src/agent/utils/context-display.ts +72 -0
- package/src/agent/utils/context-mention.ts +28 -0
- package/src/agent/utils/web-fetch.ts +20 -0
- package/src/agent/utils/web-search.ts +106 -0
- package/src/agent/view-file/interpret.ts +22 -0
- package/src/agent/view-file/view-file-tool-view.tsx +120 -0
- package/src/{agents.ts → agent/workspace.ts} +4 -19
- package/src/codegen.ts +61 -79
- package/src/createCustomApp.ts +155 -67
- package/src/index.ts +52 -16
- package/src/locale-messages.ts +121 -12
- package/src/locale.ts +1 -2
- package/src/metadata.ts +35 -1
- package/src/pages/canvas.css +43 -0
- package/src/pages/data/connectors.tsx +317 -0
- package/src/pages/data/datasets.tsx +731 -0
- package/src/pages/data/live-updates.ts +71 -0
- package/src/pages/data/messages.ts +349 -0
- package/src/pages/data/pipeline-canvas.tsx +288 -0
- package/src/pages/data/pipelines.tsx +710 -0
- package/src/pages/data/projections.tsx +482 -0
- package/src/pages/data/schema.tsx +62 -0
- package/src/pages/data/shared.tsx +78 -0
- package/src/pages/data/sync-button.tsx +103 -0
- package/src/pages/data/syncs.tsx +326 -0
- package/src/pages/home.tsx +64 -0
- package/src/pages/mosaic.tsx +97 -0
- package/src/pages/observability/action-run.tsx +229 -0
- package/src/pages/observability/ai-usage/calls.tsx +541 -0
- package/src/pages/observability/ai-usage/charts.tsx +126 -0
- package/src/pages/observability/ai-usage/format.ts +276 -0
- package/src/pages/observability/ai-usage/limits.tsx +629 -0
- package/src/pages/observability/ai-usage/messages.ts +446 -0
- package/src/pages/observability/ai-usage/page.tsx +814 -0
- package/src/pages/observability/live-updates.ts +19 -0
- package/src/pages/observability/logs.tsx +617 -0
- package/src/pages/observability/messages.ts +336 -0
- package/src/pages/observability/runs.tsx +732 -0
- package/src/pages/observability/workflow-run.tsx +323 -0
- package/src/pages/ontology/actions.tsx +749 -0
- package/src/pages/ontology/components/action-button.tsx +355 -0
- package/src/pages/ontology/components/action-param-null-control.tsx +35 -0
- package/src/pages/ontology/components/collection-toolbar.tsx +61 -0
- package/src/pages/ontology/components/common.tsx +60 -0
- package/src/pages/ontology/components/file-ref-upload-field.tsx +279 -0
- package/src/pages/ontology/components/object-filter-popover.tsx +311 -0
- package/src/pages/ontology/components/object-icon.tsx +133 -0
- package/src/pages/ontology/components/object-query-bar.tsx +217 -0
- package/src/pages/ontology/components/telemetry-chart.tsx +392 -0
- package/src/pages/ontology/components/telemetry-grid.tsx +137 -0
- package/src/pages/ontology/components/telemetry-tile.tsx +164 -0
- package/src/pages/ontology/components/telemetry-value.tsx +91 -0
- package/src/pages/ontology/components/usage-bar.tsx +64 -0
- package/src/pages/ontology/graph.tsx +1283 -0
- package/src/pages/ontology/hooks/object-live-updates.ts +53 -0
- package/src/pages/ontology/hooks/object-telemetry-updates.ts +45 -0
- package/src/pages/ontology/hooks/object-type-counts.ts +27 -0
- package/src/pages/ontology/hooks/rule-live-updates.ts +28 -0
- package/src/pages/ontology/hooks/workflow-live-updates.ts +20 -0
- package/src/pages/ontology/lib/action-params.ts +231 -0
- package/src/pages/ontology/lib/format-value.ts +34 -0
- package/src/pages/ontology/lib/labels.ts +50 -0
- package/src/pages/ontology/lib/live-update-keys.ts +62 -0
- package/src/pages/ontology/lib/object-query.ts +372 -0
- package/src/pages/ontology/lib/ontology-graph-layout.ts +1004 -0
- package/src/pages/ontology/lib/ontology-graph-links.ts +15 -0
- package/src/pages/ontology/lib/telemetry-history.ts +56 -0
- package/src/pages/ontology/lib/time.ts +23 -0
- package/src/pages/ontology/lib/user-preferences.ts +52 -0
- package/src/pages/ontology/object-page.tsx +1029 -0
- package/src/pages/ontology/object-type.tsx +910 -0
- package/src/pages/ontology/object-types.tsx +240 -0
- package/src/pages/ontology/objects.tsx +938 -0
- package/src/pages/ontology/rules.tsx +805 -0
- package/src/pages/ontology/workflow.tsx +1485 -0
- package/src/pages/ontology/workflows/agent-execution-panel.tsx +340 -0
- package/src/pages/ontology/workflows/intervention-panel.tsx +261 -0
- package/src/pages/ontology/workflows/node-execution-panel.tsx +86 -0
- package/src/pages/ontology/workflows/request-run-dialog.tsx +197 -0
- package/src/pages/ontology/workflows/run-debug-section.tsx +54 -0
- package/src/pages/ontology/workflows/run-input-form.tsx +900 -0
- package/src/pages/ontology/workflows/run-progress.tsx +83 -0
- package/src/pages/ontology/workflows/schema-shape.tsx +206 -0
- package/src/pages/ontology/workflows/status-badge.tsx +15 -0
- package/src/pages/ontology/workflows/utils.ts +107 -0
- package/src/pages/ontology/workflows/workflow-card.tsx +48 -0
- package/src/pages/ontology/workflows.tsx +143 -0
- package/src/pages/routes.ts +48 -0
- package/src/pages/section-page.tsx +272 -0
- package/src/pages/section-ui.tsx +771 -0
- package/src/pages/settings/controls.tsx +721 -0
- package/src/pages/settings/developers.tsx +163 -0
- package/src/pages/settings/members.tsx +1018 -0
- package/src/pages/settings/messages.ts +551 -0
- package/src/pages/settings/personal.tsx +97 -0
- package/src/pages/settings/service-accounts.tsx +623 -0
- package/src/pages/settings/sessions.tsx +183 -0
- package/src/pages/values.tsx +700 -0
- package/src/pages.ts +56 -0
- package/src/runtime.ts +0 -3
- package/src/sections/catalog.ts +181 -0
- package/src/sections/counts.ts +33 -0
- package/src/sections/sections.tsx +257 -0
- package/src/server.ts +19 -0
- package/src/session.ts +29 -0
- package/src/shell/agent-dock.tsx +32 -0
- package/src/shell/app-shell.tsx +142 -0
- package/src/shell/brand.tsx +47 -0
- package/src/shell/nav-items.tsx +136 -0
- package/src/shell/search-command.tsx +158 -0
- package/src/shell/section-nav.tsx +61 -0
- package/src/shell/user-menu.tsx +206 -0
- package/src/tailwind.ts +4 -4
- package/dist/agents.d.ts +0 -11
- package/dist/agents.d.ts.map +0 -1
- package/dist/agents.js +0 -41
- package/dist/agents.js.map +0 -10
- package/dist/auth.js +0 -3
- package/dist/auth.js.map +0 -9
- package/dist/browser.d.ts +0 -3
- package/dist/browser.d.ts.map +0 -1
- package/dist/browser.js +0 -9
- package/dist/browser.js.map +0 -9
- package/dist/chunk-cftmy40z.js +0 -70
- package/dist/chunk-cftmy40z.js.map +0 -10
- package/dist/chunk-e1gj8c1a.js +0 -8
- package/dist/chunk-e1gj8c1a.js.map +0 -10
- package/src/browser.ts +0 -2
|
@@ -0,0 +1,732 @@
|
|
|
1
|
+
import {
|
|
2
|
+
listActionRunsInfiniteOptions,
|
|
3
|
+
listActionsOptions,
|
|
4
|
+
listConnectorsOptions,
|
|
5
|
+
listPipelineRunsInfiniteOptions,
|
|
6
|
+
listPipelinesOptions,
|
|
7
|
+
listProjectionRunsInfiniteOptions,
|
|
8
|
+
listProjectionsOptions,
|
|
9
|
+
listSyncRunsInfiniteOptions,
|
|
10
|
+
listSyncsOptions,
|
|
11
|
+
listWebhookRunsInfiniteOptions,
|
|
12
|
+
listWorkflowRunsInfiniteOptions,
|
|
13
|
+
listWorkflowsOptions,
|
|
14
|
+
} from "@sixb/client/hooks"
|
|
15
|
+
import {
|
|
16
|
+
Button,
|
|
17
|
+
Select,
|
|
18
|
+
SelectContent,
|
|
19
|
+
SelectItem,
|
|
20
|
+
SelectTrigger,
|
|
21
|
+
SelectValue,
|
|
22
|
+
} from "@sixb/ui/components"
|
|
23
|
+
import { type InfiniteData, useInfiniteQuery, useQuery } from "@tanstack/react-query"
|
|
24
|
+
import { ChevronRight, Layers, Loader2, RefreshCw, Webhook, Workflow, Zap } from "lucide-react"
|
|
25
|
+
import type { ComponentType, ReactNode } from "react"
|
|
26
|
+
import { useSearchParams } from "react-router-dom"
|
|
27
|
+
import { usePipelineLiveUpdates, useSyncLiveUpdates } from "../data/live-updates"
|
|
28
|
+
import { actionRunHref, workflowRunHref } from "../routes"
|
|
29
|
+
import { SectionPage } from "../section-page"
|
|
30
|
+
import {
|
|
31
|
+
formatDuration,
|
|
32
|
+
humanize,
|
|
33
|
+
IconTile,
|
|
34
|
+
isUnrecorded,
|
|
35
|
+
MetaDot,
|
|
36
|
+
Panel,
|
|
37
|
+
PanelEmpty,
|
|
38
|
+
PanelRow,
|
|
39
|
+
PanelSkeleton,
|
|
40
|
+
type RunStatus,
|
|
41
|
+
RunStatusPill,
|
|
42
|
+
ToolbarTabs,
|
|
43
|
+
UnrecordedHistory,
|
|
44
|
+
useFormat,
|
|
45
|
+
useLoadFailure,
|
|
46
|
+
useNumbers,
|
|
47
|
+
useRunStatusLabels,
|
|
48
|
+
} from "../section-ui"
|
|
49
|
+
import { useWorkflowRunLiveUpdates } from "./live-updates"
|
|
50
|
+
import { useObservabilityMessages } from "./messages"
|
|
51
|
+
|
|
52
|
+
type Icon = ComponentType<{ readonly className?: string }>
|
|
53
|
+
|
|
54
|
+
const kinds = ["workflows", "actions", "syncs", "pipelines", "projections", "webhooks"] as const
|
|
55
|
+
type Kind = (typeof kinds)[number]
|
|
56
|
+
|
|
57
|
+
/** Each kind's filter in the URL, named after what it picks: `?kind=syncs&sync=crm-deals`. */
|
|
58
|
+
const definitionParams: Record<Kind, string> = {
|
|
59
|
+
workflows: "workflow",
|
|
60
|
+
actions: "action",
|
|
61
|
+
syncs: "sync",
|
|
62
|
+
pipelines: "pipeline",
|
|
63
|
+
projections: "projection",
|
|
64
|
+
webhooks: "connector",
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
const pageSize = 20
|
|
68
|
+
// Runs that publish no events are read again while their list is open, every loaded page with them.
|
|
69
|
+
const pollMs = 10_000
|
|
70
|
+
|
|
71
|
+
const workflowStatuses = [
|
|
72
|
+
"queued",
|
|
73
|
+
"running",
|
|
74
|
+
"waiting",
|
|
75
|
+
"succeeded",
|
|
76
|
+
"failed",
|
|
77
|
+
"cancelled",
|
|
78
|
+
] as const
|
|
79
|
+
const dataStatuses = ["queued", "running", "succeeded", "failed", "cancelled"] as const
|
|
80
|
+
const projectionStatuses = [...dataStatuses, "superseded"] as const
|
|
81
|
+
const actionStatuses = ["succeeded", "failed"] as const
|
|
82
|
+
const webhookStatuses = ["running", "succeeded", "failed"] as const
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Observability › Runs: every run the project records, a tab per kind, newest first, filtered by
|
|
86
|
+
* what ran and how it went. Workflow and action runs open their own pages; a sync, pipeline,
|
|
87
|
+
* projection or webhook run opens the Data page that shows it.
|
|
88
|
+
*/
|
|
89
|
+
export function ObservabilityRunsPage() {
|
|
90
|
+
const messages = useObservabilityMessages().runs
|
|
91
|
+
const [searchParams, setSearchParams] = useSearchParams()
|
|
92
|
+
const kind = pick(kinds, searchParams.get("kind")) ?? "workflows"
|
|
93
|
+
|
|
94
|
+
// One update per change: separate calls in one event would each start from the same URL.
|
|
95
|
+
const setFilter = (changes: Readonly<Record<string, string | null>>) =>
|
|
96
|
+
setSearchParams(
|
|
97
|
+
(params) => {
|
|
98
|
+
for (const [name, value] of Object.entries(changes)) {
|
|
99
|
+
if (value) params.set(name, value)
|
|
100
|
+
else params.delete(name)
|
|
101
|
+
}
|
|
102
|
+
return params
|
|
103
|
+
},
|
|
104
|
+
{ replace: true }
|
|
105
|
+
)
|
|
106
|
+
const props: RunListProps = {
|
|
107
|
+
definition: searchParams.get(definitionParams[kind]),
|
|
108
|
+
status: searchParams.get("status"),
|
|
109
|
+
onDefinition: (value) => setFilter({ [definitionParams[kind]]: value }),
|
|
110
|
+
onStatus: (value) => setFilter({ status: value }),
|
|
111
|
+
tabs: (
|
|
112
|
+
<ToolbarTabs
|
|
113
|
+
value={kind}
|
|
114
|
+
// Each kind has its own definitions and statuses, so its filters start clear.
|
|
115
|
+
onChange={(next) =>
|
|
116
|
+
setFilter({
|
|
117
|
+
kind: next === "workflows" ? null : next,
|
|
118
|
+
status: null,
|
|
119
|
+
...Object.fromEntries(Object.values(definitionParams).map((name) => [name, null])),
|
|
120
|
+
})
|
|
121
|
+
}
|
|
122
|
+
tabs={kinds.map((id) => ({ id, label: messages.kinds[id] }))}
|
|
123
|
+
/>
|
|
124
|
+
),
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
return (
|
|
128
|
+
<SectionPage
|
|
129
|
+
section="observability"
|
|
130
|
+
page="runs"
|
|
131
|
+
width="wide"
|
|
132
|
+
title={messages.title}
|
|
133
|
+
description={messages.description}
|
|
134
|
+
>
|
|
135
|
+
{kind === "workflows" ? (
|
|
136
|
+
<WorkflowRuns {...props} />
|
|
137
|
+
) : kind === "actions" ? (
|
|
138
|
+
<ActionRuns {...props} />
|
|
139
|
+
) : kind === "syncs" ? (
|
|
140
|
+
<SyncRuns {...props} />
|
|
141
|
+
) : kind === "pipelines" ? (
|
|
142
|
+
<PipelineRuns {...props} />
|
|
143
|
+
) : kind === "projections" ? (
|
|
144
|
+
<ProjectionRuns {...props} />
|
|
145
|
+
) : (
|
|
146
|
+
<WebhookRuns {...props} />
|
|
147
|
+
)}
|
|
148
|
+
</SectionPage>
|
|
149
|
+
)
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
interface RunListProps {
|
|
153
|
+
readonly definition: string | null
|
|
154
|
+
readonly status: string | null
|
|
155
|
+
readonly onDefinition: (value: string | null) => void
|
|
156
|
+
readonly onStatus: (value: string | null) => void
|
|
157
|
+
/** The kind tabs, shown in the list's toolbar. */
|
|
158
|
+
readonly tabs: ReactNode
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
/** A list's filters, newest first, a page at a time. */
|
|
162
|
+
function listQuery<TStatus extends string>(
|
|
163
|
+
definitionKey: string,
|
|
164
|
+
definition: string | null,
|
|
165
|
+
status: TStatus | null
|
|
166
|
+
) {
|
|
167
|
+
return {
|
|
168
|
+
limit: String(pageSize),
|
|
169
|
+
order: "desc" as const,
|
|
170
|
+
...(definition ? { [definitionKey]: definition } : {}),
|
|
171
|
+
...(status ? { status } : {}),
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
// Each next page starts where the loaded runs end.
|
|
176
|
+
const paging = {
|
|
177
|
+
initialPageParam: "0",
|
|
178
|
+
getNextPageParam: (
|
|
179
|
+
lastPage: { readonly hasMore: boolean },
|
|
180
|
+
pages: readonly { readonly runs: readonly unknown[] }[]
|
|
181
|
+
) =>
|
|
182
|
+
lastPage.hasMore ? String(pages.reduce((sum, page) => sum + page.runs.length, 0)) : undefined,
|
|
183
|
+
retry: false,
|
|
184
|
+
} as const
|
|
185
|
+
|
|
186
|
+
function pick<T extends string>(values: readonly T[], value: string | null): T | null {
|
|
187
|
+
return values.find((candidate) => candidate === value) ?? null
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
function WorkflowRuns({ definition, status, onDefinition, onStatus, tabs }: RunListProps) {
|
|
191
|
+
const messages = useObservabilityMessages().runs
|
|
192
|
+
useWorkflowRunLiveUpdates()
|
|
193
|
+
const workflows = useQuery({ ...listWorkflowsOptions(), retry: false }).data ?? []
|
|
194
|
+
const shownStatus = pick(workflowStatuses, status)
|
|
195
|
+
const query = useInfiniteQuery({
|
|
196
|
+
...listWorkflowRunsInfiniteOptions({
|
|
197
|
+
query: listQuery("workflowId", definition, shownStatus),
|
|
198
|
+
}),
|
|
199
|
+
...paging,
|
|
200
|
+
})
|
|
201
|
+
return (
|
|
202
|
+
<RunList
|
|
203
|
+
tabs={tabs}
|
|
204
|
+
filters={
|
|
205
|
+
<Filters
|
|
206
|
+
definitions={workflows.map((workflow) => workflow.id)}
|
|
207
|
+
definition={definition}
|
|
208
|
+
allDefinitions={messages.all.workflows}
|
|
209
|
+
onDefinition={onDefinition}
|
|
210
|
+
statuses={workflowStatuses}
|
|
211
|
+
status={shownStatus}
|
|
212
|
+
onStatus={onStatus}
|
|
213
|
+
/>
|
|
214
|
+
}
|
|
215
|
+
query={query}
|
|
216
|
+
filtered={Boolean(definition || shownStatus)}
|
|
217
|
+
empty={messages.empty.workflows}
|
|
218
|
+
unrecorded={messages.unrecorded.workflows}
|
|
219
|
+
icon={Workflow}
|
|
220
|
+
row={(run) => (
|
|
221
|
+
<RunRow
|
|
222
|
+
key={run.id}
|
|
223
|
+
href={workflowRunHref(run.id)}
|
|
224
|
+
icon={Workflow}
|
|
225
|
+
title={humanize(run.workflowId)}
|
|
226
|
+
at={run.startedAt ?? run.queuedAt}
|
|
227
|
+
run={run}
|
|
228
|
+
/>
|
|
229
|
+
)}
|
|
230
|
+
/>
|
|
231
|
+
)
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
function ActionRuns({ definition, status, onDefinition, onStatus, tabs }: RunListProps) {
|
|
235
|
+
const messages = useObservabilityMessages().runs
|
|
236
|
+
const actions = useQuery({ ...listActionsOptions(), retry: false }).data ?? []
|
|
237
|
+
const shownStatus = pick(actionStatuses, status)
|
|
238
|
+
const query = useInfiniteQuery({
|
|
239
|
+
...listActionRunsInfiniteOptions({ query: listQuery("actionId", definition, shownStatus) }),
|
|
240
|
+
...paging,
|
|
241
|
+
refetchInterval: pollMs,
|
|
242
|
+
})
|
|
243
|
+
return (
|
|
244
|
+
<RunList
|
|
245
|
+
tabs={tabs}
|
|
246
|
+
filters={
|
|
247
|
+
<Filters
|
|
248
|
+
definitions={actions.map((action) => action.id)}
|
|
249
|
+
definition={definition}
|
|
250
|
+
allDefinitions={messages.all.actions}
|
|
251
|
+
onDefinition={onDefinition}
|
|
252
|
+
statuses={actionStatuses}
|
|
253
|
+
status={shownStatus}
|
|
254
|
+
onStatus={onStatus}
|
|
255
|
+
/>
|
|
256
|
+
}
|
|
257
|
+
query={query}
|
|
258
|
+
filtered={Boolean(definition || shownStatus)}
|
|
259
|
+
empty={messages.empty.actions}
|
|
260
|
+
unrecorded={messages.unrecorded.actions}
|
|
261
|
+
icon={Zap}
|
|
262
|
+
row={(run) => (
|
|
263
|
+
<RunRow
|
|
264
|
+
key={run.id}
|
|
265
|
+
href={actionRunHref(run.id)}
|
|
266
|
+
icon={Zap}
|
|
267
|
+
title={humanize(run.actionId)}
|
|
268
|
+
at={run.startedAt}
|
|
269
|
+
run={run}
|
|
270
|
+
detail={
|
|
271
|
+
run.subject.kind === "none" ? (
|
|
272
|
+
<span>{messages.noSubject}</span>
|
|
273
|
+
) : (
|
|
274
|
+
<span className="min-w-0 truncate font-mono text-xs">
|
|
275
|
+
{run.subject.objectTypeId} · {run.subject.primaryId}
|
|
276
|
+
</span>
|
|
277
|
+
)
|
|
278
|
+
}
|
|
279
|
+
/>
|
|
280
|
+
)}
|
|
281
|
+
/>
|
|
282
|
+
)
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
function SyncRuns({ definition, status, onDefinition, onStatus, tabs }: RunListProps) {
|
|
286
|
+
const messages = useObservabilityMessages().runs
|
|
287
|
+
const numbers = useNumbers()
|
|
288
|
+
useSyncLiveUpdates()
|
|
289
|
+
const syncs = useQuery({ ...listSyncsOptions(), retry: false }).data ?? []
|
|
290
|
+
const shownStatus = pick(dataStatuses, status)
|
|
291
|
+
const query = useInfiniteQuery({
|
|
292
|
+
...listSyncRunsInfiniteOptions({ query: listQuery("syncId", definition, shownStatus) }),
|
|
293
|
+
...paging,
|
|
294
|
+
})
|
|
295
|
+
return (
|
|
296
|
+
<RunList
|
|
297
|
+
tabs={tabs}
|
|
298
|
+
filters={
|
|
299
|
+
<Filters
|
|
300
|
+
definitions={syncs.map((sync) => sync.id)}
|
|
301
|
+
definition={definition}
|
|
302
|
+
allDefinitions={messages.all.syncs}
|
|
303
|
+
onDefinition={onDefinition}
|
|
304
|
+
statuses={dataStatuses}
|
|
305
|
+
status={shownStatus}
|
|
306
|
+
onStatus={onStatus}
|
|
307
|
+
/>
|
|
308
|
+
}
|
|
309
|
+
query={query}
|
|
310
|
+
filtered={Boolean(definition || shownStatus)}
|
|
311
|
+
empty={messages.empty.syncs}
|
|
312
|
+
unrecorded={messages.unrecorded.syncs}
|
|
313
|
+
icon={RefreshCw}
|
|
314
|
+
row={(run) => (
|
|
315
|
+
<RunRow
|
|
316
|
+
key={run.id}
|
|
317
|
+
href={`/data/syncs/${encodeURIComponent(run.syncId)}`}
|
|
318
|
+
icon={RefreshCw}
|
|
319
|
+
title={humanize(run.syncId)}
|
|
320
|
+
at={run.startedAt ?? run.queuedAt}
|
|
321
|
+
run={run}
|
|
322
|
+
detail={
|
|
323
|
+
run.rowsRead === undefined ? null : (
|
|
324
|
+
<span className="tabular-nums">
|
|
325
|
+
{messages.rowsRead(run.rowsRead, numbers.count(run.rowsRead))}
|
|
326
|
+
</span>
|
|
327
|
+
)
|
|
328
|
+
}
|
|
329
|
+
/>
|
|
330
|
+
)}
|
|
331
|
+
/>
|
|
332
|
+
)
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
function PipelineRuns({ definition, status, onDefinition, onStatus, tabs }: RunListProps) {
|
|
336
|
+
const messages = useObservabilityMessages().runs
|
|
337
|
+
usePipelineLiveUpdates()
|
|
338
|
+
const pipelines = useQuery({ ...listPipelinesOptions(), retry: false }).data ?? []
|
|
339
|
+
const shownStatus = pick(dataStatuses, status)
|
|
340
|
+
const query = useInfiniteQuery({
|
|
341
|
+
...listPipelineRunsInfiniteOptions({
|
|
342
|
+
query: listQuery("pipelineId", definition, shownStatus),
|
|
343
|
+
}),
|
|
344
|
+
...paging,
|
|
345
|
+
})
|
|
346
|
+
return (
|
|
347
|
+
<RunList
|
|
348
|
+
tabs={tabs}
|
|
349
|
+
filters={
|
|
350
|
+
<Filters
|
|
351
|
+
definitions={pipelines.map((pipeline) => pipeline.id)}
|
|
352
|
+
definition={definition}
|
|
353
|
+
allDefinitions={messages.all.pipelines}
|
|
354
|
+
onDefinition={onDefinition}
|
|
355
|
+
statuses={dataStatuses}
|
|
356
|
+
status={shownStatus}
|
|
357
|
+
onStatus={onStatus}
|
|
358
|
+
/>
|
|
359
|
+
}
|
|
360
|
+
query={query}
|
|
361
|
+
filtered={Boolean(definition || shownStatus)}
|
|
362
|
+
empty={messages.empty.pipelines}
|
|
363
|
+
unrecorded={messages.unrecorded.pipelines}
|
|
364
|
+
icon={Workflow}
|
|
365
|
+
row={(run) => (
|
|
366
|
+
<RunRow
|
|
367
|
+
key={run.id}
|
|
368
|
+
// The pipeline's page opens on this run, its steps coloured by how they went.
|
|
369
|
+
href={`/data/pipelines/${encodeURIComponent(run.pipelineId)}?run=${encodeURIComponent(run.id)}`}
|
|
370
|
+
icon={Workflow}
|
|
371
|
+
title={humanize(run.pipelineId)}
|
|
372
|
+
at={run.startedAt ?? run.queuedAt}
|
|
373
|
+
run={run}
|
|
374
|
+
/>
|
|
375
|
+
)}
|
|
376
|
+
/>
|
|
377
|
+
)
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
function ProjectionRuns({ definition, status, onDefinition, onStatus, tabs }: RunListProps) {
|
|
381
|
+
const messages = useObservabilityMessages().runs
|
|
382
|
+
const numbers = useNumbers()
|
|
383
|
+
const data = useQuery({ ...listProjectionsOptions(), retry: false }).data
|
|
384
|
+
const projections = data
|
|
385
|
+
? [...data.objectProjections, ...data.linkProjections, ...data.telemetryProjections]
|
|
386
|
+
: []
|
|
387
|
+
const shownStatus = pick(projectionStatuses, status)
|
|
388
|
+
const query = useInfiniteQuery({
|
|
389
|
+
...listProjectionRunsInfiniteOptions({
|
|
390
|
+
query: listQuery("projectionId", definition, shownStatus),
|
|
391
|
+
}),
|
|
392
|
+
...paging,
|
|
393
|
+
refetchInterval: pollMs,
|
|
394
|
+
})
|
|
395
|
+
return (
|
|
396
|
+
<RunList
|
|
397
|
+
tabs={tabs}
|
|
398
|
+
filters={
|
|
399
|
+
<Filters
|
|
400
|
+
definitions={projections.map((projection) => projection.id)}
|
|
401
|
+
definition={definition}
|
|
402
|
+
allDefinitions={messages.all.projections}
|
|
403
|
+
onDefinition={onDefinition}
|
|
404
|
+
statuses={projectionStatuses}
|
|
405
|
+
status={shownStatus}
|
|
406
|
+
onStatus={onStatus}
|
|
407
|
+
/>
|
|
408
|
+
}
|
|
409
|
+
query={query}
|
|
410
|
+
filtered={Boolean(definition || shownStatus)}
|
|
411
|
+
empty={messages.empty.projections}
|
|
412
|
+
unrecorded={messages.unrecorded.projections}
|
|
413
|
+
icon={Layers}
|
|
414
|
+
row={(run) => (
|
|
415
|
+
<RunRow
|
|
416
|
+
key={run.id}
|
|
417
|
+
href={`/data/projections/${encodeURIComponent(run.identity.projectionId)}`}
|
|
418
|
+
icon={Layers}
|
|
419
|
+
title={humanize(run.identity.projectionId)}
|
|
420
|
+
at={run.startedAt ?? run.queuedAt}
|
|
421
|
+
run={run}
|
|
422
|
+
detail={
|
|
423
|
+
<span className="tabular-nums">
|
|
424
|
+
{messages.rowsRead(
|
|
425
|
+
run.progress.sourceRowsRead,
|
|
426
|
+
numbers.count(run.progress.sourceRowsRead)
|
|
427
|
+
)}
|
|
428
|
+
</span>
|
|
429
|
+
}
|
|
430
|
+
/>
|
|
431
|
+
)}
|
|
432
|
+
/>
|
|
433
|
+
)
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
function WebhookRuns({ definition, status, onDefinition, onStatus, tabs }: RunListProps) {
|
|
437
|
+
const messages = useObservabilityMessages().runs
|
|
438
|
+
const connectors = useQuery({ ...listConnectorsOptions(), retry: false }).data ?? []
|
|
439
|
+
const shownStatus = pick(webhookStatuses, status)
|
|
440
|
+
const query = useInfiniteQuery({
|
|
441
|
+
...listWebhookRunsInfiniteOptions({
|
|
442
|
+
query: listQuery("connectorId", definition, shownStatus),
|
|
443
|
+
}),
|
|
444
|
+
...paging,
|
|
445
|
+
refetchInterval: pollMs,
|
|
446
|
+
})
|
|
447
|
+
return (
|
|
448
|
+
<RunList
|
|
449
|
+
tabs={tabs}
|
|
450
|
+
filters={
|
|
451
|
+
<Filters
|
|
452
|
+
definitions={connectors
|
|
453
|
+
.filter((connector) => connector.webhooks.length > 0)
|
|
454
|
+
.map((connector) => connector.id)}
|
|
455
|
+
definition={definition}
|
|
456
|
+
allDefinitions={messages.all.webhooks}
|
|
457
|
+
onDefinition={onDefinition}
|
|
458
|
+
statuses={webhookStatuses}
|
|
459
|
+
status={shownStatus}
|
|
460
|
+
onStatus={onStatus}
|
|
461
|
+
/>
|
|
462
|
+
}
|
|
463
|
+
query={query}
|
|
464
|
+
filtered={Boolean(definition || shownStatus)}
|
|
465
|
+
empty={messages.empty.webhooks}
|
|
466
|
+
unrecorded={messages.unrecorded.webhooks}
|
|
467
|
+
icon={Webhook}
|
|
468
|
+
row={(run) => (
|
|
469
|
+
<RunRow
|
|
470
|
+
key={run.id}
|
|
471
|
+
href={`/data/connectors/${encodeURIComponent(run.connectorId)}`}
|
|
472
|
+
icon={Webhook}
|
|
473
|
+
title={humanize(run.webhookId)}
|
|
474
|
+
at={run.startedAt}
|
|
475
|
+
run={run}
|
|
476
|
+
detail={
|
|
477
|
+
<>
|
|
478
|
+
<span>{humanize(run.connectorId)}</span>
|
|
479
|
+
{run.responseStatus === undefined ? null : (
|
|
480
|
+
<>
|
|
481
|
+
<MetaDot />
|
|
482
|
+
<span className="tabular-nums">{messages.responded(run.responseStatus)}</span>
|
|
483
|
+
</>
|
|
484
|
+
)}
|
|
485
|
+
</>
|
|
486
|
+
}
|
|
487
|
+
/>
|
|
488
|
+
)}
|
|
489
|
+
/>
|
|
490
|
+
)
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
/** One run: what ran, when, for how long, what went wrong, and how it ended. */
|
|
494
|
+
function RunRow({
|
|
495
|
+
href,
|
|
496
|
+
icon,
|
|
497
|
+
title,
|
|
498
|
+
at,
|
|
499
|
+
run,
|
|
500
|
+
detail,
|
|
501
|
+
}: {
|
|
502
|
+
readonly href: string
|
|
503
|
+
readonly icon: Icon
|
|
504
|
+
readonly title: string
|
|
505
|
+
/** When it started, or when it was queued if it has not. */
|
|
506
|
+
readonly at: string | undefined
|
|
507
|
+
readonly run: {
|
|
508
|
+
readonly status: RunStatus
|
|
509
|
+
readonly startedAt?: string
|
|
510
|
+
readonly finishedAt?: string
|
|
511
|
+
readonly error?: { readonly message: string }
|
|
512
|
+
}
|
|
513
|
+
/** Facts of this kind of run, first on the second line. */
|
|
514
|
+
readonly detail?: ReactNode
|
|
515
|
+
}) {
|
|
516
|
+
const format = useFormat()
|
|
517
|
+
return (
|
|
518
|
+
<PanelRow
|
|
519
|
+
href={href}
|
|
520
|
+
leading={<IconTile icon={icon} />}
|
|
521
|
+
title={<span className="truncate">{title}</span>}
|
|
522
|
+
meta={
|
|
523
|
+
<>
|
|
524
|
+
{detail ? (
|
|
525
|
+
<>
|
|
526
|
+
{detail}
|
|
527
|
+
<MetaDot />
|
|
528
|
+
</>
|
|
529
|
+
) : null}
|
|
530
|
+
{at ? <span>{format.relative(at)}</span> : null}
|
|
531
|
+
{run.finishedAt ? (
|
|
532
|
+
<>
|
|
533
|
+
<MetaDot />
|
|
534
|
+
<span className="tabular-nums">{formatDuration(run.startedAt, run.finishedAt)}</span>
|
|
535
|
+
</>
|
|
536
|
+
) : null}
|
|
537
|
+
{run.error ? (
|
|
538
|
+
<>
|
|
539
|
+
<MetaDot />
|
|
540
|
+
<span className="min-w-0 truncate text-red-600 dark:text-red-400">
|
|
541
|
+
{run.error.message}
|
|
542
|
+
</span>
|
|
543
|
+
</>
|
|
544
|
+
) : null}
|
|
545
|
+
</>
|
|
546
|
+
}
|
|
547
|
+
trailing={
|
|
548
|
+
<>
|
|
549
|
+
<RunStatusPill status={run.status} />
|
|
550
|
+
<ChevronRight className="size-4 text-muted-foreground/60" />
|
|
551
|
+
</>
|
|
552
|
+
}
|
|
553
|
+
/>
|
|
554
|
+
)
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
function Filters({
|
|
558
|
+
definitions,
|
|
559
|
+
definition,
|
|
560
|
+
allDefinitions,
|
|
561
|
+
onDefinition,
|
|
562
|
+
statuses,
|
|
563
|
+
status,
|
|
564
|
+
onStatus,
|
|
565
|
+
}: {
|
|
566
|
+
readonly definitions: readonly string[]
|
|
567
|
+
readonly definition: string | null
|
|
568
|
+
readonly allDefinitions: string
|
|
569
|
+
readonly onDefinition: (value: string | null) => void
|
|
570
|
+
readonly statuses: readonly RunStatus[]
|
|
571
|
+
readonly status: string | null
|
|
572
|
+
readonly onStatus: (value: string | null) => void
|
|
573
|
+
}) {
|
|
574
|
+
const messages = useObservabilityMessages().runs
|
|
575
|
+
const statusLabels = useRunStatusLabels()
|
|
576
|
+
return (
|
|
577
|
+
<div className="flex items-center gap-2">
|
|
578
|
+
<Select
|
|
579
|
+
value={definition ?? "all"}
|
|
580
|
+
onValueChange={(value) => onDefinition(value === "all" ? null : value)}
|
|
581
|
+
>
|
|
582
|
+
<SelectTrigger size="sm" className="h-7 w-40 text-xs" aria-label={allDefinitions}>
|
|
583
|
+
<SelectValue />
|
|
584
|
+
</SelectTrigger>
|
|
585
|
+
<SelectContent position="popper" align="end">
|
|
586
|
+
<SelectItem value="all" className="text-xs">
|
|
587
|
+
{allDefinitions}
|
|
588
|
+
</SelectItem>
|
|
589
|
+
{/* A link can name one the project no longer defines; it still shows as chosen. */}
|
|
590
|
+
{definition && !definitions.includes(definition) ? (
|
|
591
|
+
<SelectItem value={definition} className="text-xs">
|
|
592
|
+
{humanize(definition)}
|
|
593
|
+
</SelectItem>
|
|
594
|
+
) : null}
|
|
595
|
+
{definitions.map((id) => (
|
|
596
|
+
<SelectItem key={id} value={id} className="text-xs">
|
|
597
|
+
{humanize(id)}
|
|
598
|
+
</SelectItem>
|
|
599
|
+
))}
|
|
600
|
+
</SelectContent>
|
|
601
|
+
</Select>
|
|
602
|
+
<Select
|
|
603
|
+
value={status ?? "all"}
|
|
604
|
+
onValueChange={(value) => onStatus(value === "all" ? null : value)}
|
|
605
|
+
>
|
|
606
|
+
<SelectTrigger size="sm" className="h-7 w-32 text-xs" aria-label={messages.allStatuses}>
|
|
607
|
+
<SelectValue />
|
|
608
|
+
</SelectTrigger>
|
|
609
|
+
<SelectContent position="popper" align="end">
|
|
610
|
+
<SelectItem value="all" className="text-xs">
|
|
611
|
+
{messages.allStatuses}
|
|
612
|
+
</SelectItem>
|
|
613
|
+
{statuses.map((value) => (
|
|
614
|
+
<SelectItem key={value} value={value} className="text-xs">
|
|
615
|
+
{statusLabels[value]}
|
|
616
|
+
</SelectItem>
|
|
617
|
+
))}
|
|
618
|
+
</SelectContent>
|
|
619
|
+
</Select>
|
|
620
|
+
</div>
|
|
621
|
+
)
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
interface RunPage<TRun> {
|
|
625
|
+
readonly runs: readonly TRun[]
|
|
626
|
+
readonly hasMore: boolean
|
|
627
|
+
readonly total: number
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
function RunList<TRun extends { readonly id: string }>({
|
|
631
|
+
tabs,
|
|
632
|
+
filters,
|
|
633
|
+
query,
|
|
634
|
+
filtered,
|
|
635
|
+
empty,
|
|
636
|
+
unrecorded,
|
|
637
|
+
icon,
|
|
638
|
+
row,
|
|
639
|
+
}: {
|
|
640
|
+
readonly tabs: ReactNode
|
|
641
|
+
readonly filters: ReactNode
|
|
642
|
+
readonly query: {
|
|
643
|
+
readonly data: InfiniteData<RunPage<TRun>> | undefined
|
|
644
|
+
readonly isPending: boolean
|
|
645
|
+
readonly isError: boolean
|
|
646
|
+
readonly error: unknown
|
|
647
|
+
readonly isFetchNextPageError: boolean
|
|
648
|
+
readonly hasNextPage: boolean
|
|
649
|
+
readonly isFetchingNextPage: boolean
|
|
650
|
+
readonly fetchNextPage: () => unknown
|
|
651
|
+
}
|
|
652
|
+
readonly filtered: boolean
|
|
653
|
+
readonly empty: string
|
|
654
|
+
/** What the history is called when nothing records it, such as "Sync runs". */
|
|
655
|
+
readonly unrecorded: string
|
|
656
|
+
readonly icon: Icon
|
|
657
|
+
readonly row: (run: TRun) => ReactNode
|
|
658
|
+
}) {
|
|
659
|
+
const messages = useObservabilityMessages().runs
|
|
660
|
+
const numbers = useNumbers()
|
|
661
|
+
const failure = useLoadFailure(query.error, { fallback: messages.loadFailed })
|
|
662
|
+
// Pages are read by offset from the newest, so runs that start between two reads shift the next
|
|
663
|
+
// page onto runs already shown; each run is listed once.
|
|
664
|
+
const runs = [
|
|
665
|
+
...new Map(
|
|
666
|
+
(query.data?.pages.flatMap((page) => page.runs) ?? []).map((run) => [run.id, run])
|
|
667
|
+
).values(),
|
|
668
|
+
]
|
|
669
|
+
const total = query.data?.pages[0]?.total ?? 0
|
|
670
|
+
|
|
671
|
+
return (
|
|
672
|
+
<Panel
|
|
673
|
+
toolbar={
|
|
674
|
+
<div className="flex w-full flex-wrap items-center justify-between gap-2">
|
|
675
|
+
{tabs}
|
|
676
|
+
{filters}
|
|
677
|
+
</div>
|
|
678
|
+
}
|
|
679
|
+
footer={
|
|
680
|
+
runs.length > 0 && total > 0 ? (
|
|
681
|
+
<div className="flex items-center justify-between gap-3">
|
|
682
|
+
<span className="tabular-nums">
|
|
683
|
+
{query.isError ? (
|
|
684
|
+
<span className="text-red-600 dark:text-red-400">
|
|
685
|
+
{query.isFetchNextPageError ? messages.moreFailed : messages.refreshFailed}
|
|
686
|
+
</span>
|
|
687
|
+
) : (
|
|
688
|
+
messages.shown(numbers.count(runs.length), numbers.count(total))
|
|
689
|
+
)}
|
|
690
|
+
</span>
|
|
691
|
+
{query.hasNextPage ? (
|
|
692
|
+
<Button
|
|
693
|
+
type="button"
|
|
694
|
+
variant="ghost"
|
|
695
|
+
size="sm"
|
|
696
|
+
className="-my-1"
|
|
697
|
+
disabled={query.isFetchingNextPage}
|
|
698
|
+
onClick={() => query.fetchNextPage()}
|
|
699
|
+
>
|
|
700
|
+
{query.isFetchingNextPage ? <Loader2 className="animate-spin" /> : null}
|
|
701
|
+
{messages.loadMore}
|
|
702
|
+
</Button>
|
|
703
|
+
) : null}
|
|
704
|
+
</div>
|
|
705
|
+
) : undefined
|
|
706
|
+
}
|
|
707
|
+
>
|
|
708
|
+
{query.isPending ? (
|
|
709
|
+
<PanelSkeleton rows={4} />
|
|
710
|
+
) : query.isError && runs.length === 0 ? (
|
|
711
|
+
isUnrecorded(query.error) ? (
|
|
712
|
+
<UnrecordedHistory what={unrecorded} />
|
|
713
|
+
) : (
|
|
714
|
+
<PanelEmpty
|
|
715
|
+
tone="error"
|
|
716
|
+
icon={icon}
|
|
717
|
+
title={failure.title}
|
|
718
|
+
description={failure.description}
|
|
719
|
+
/>
|
|
720
|
+
)
|
|
721
|
+
) : runs.length === 0 ? (
|
|
722
|
+
<PanelEmpty
|
|
723
|
+
icon={icon}
|
|
724
|
+
title={filtered ? messages.noMatchTitle : messages.emptyTitle}
|
|
725
|
+
description={filtered ? messages.noMatch : empty}
|
|
726
|
+
/>
|
|
727
|
+
) : (
|
|
728
|
+
runs.map(row)
|
|
729
|
+
)}
|
|
730
|
+
</Panel>
|
|
731
|
+
)
|
|
732
|
+
}
|