@meridianlabs/inspect-scout-viewer 0.4.21 → 0.4.38
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/README.md +2 -0
- package/package.json +47 -58
- package/lib/_commonjsHelpers-DWwsNxpa.js +0 -9
- package/lib/_commonjsHelpers-DWwsNxpa.js.map +0 -1
- package/lib/chunk-DfAF0w94-Oj7OW_Zs.js +0 -9
- package/lib/chunk-DfAF0w94-Oj7OW_Zs.js.map +0 -1
- package/lib/e2e/app-navigation.spec.d.ts +0 -1
- package/lib/e2e/fixtures/app.d.ts +0 -7
- package/lib/e2e/fixtures/handlers.d.ts +0 -2
- package/lib/e2e/fixtures/test-data.d.ts +0 -14
- package/lib/e2e/scan.spec.d.ts +0 -1
- package/lib/e2e/scans.spec.d.ts +0 -1
- package/lib/e2e/transcript.spec.d.ts +0 -1
- package/lib/e2e/transcripts.spec.d.ts +0 -1
- package/lib/index.d.ts +0 -2
- package/lib/index.js +0 -161737
- package/lib/index.js.map +0 -1
- package/lib/lib-CBtriEt5-CU1RYBHb.js +0 -1070
- package/lib/lib-CBtriEt5-CU1RYBHb.js.map +0 -1
- package/lib/liteDOM-Cp0aN3bP-DXyQNx3e.js +0 -644
- package/lib/liteDOM-Cp0aN3bP-DXyQNx3e.js.map +0 -1
- package/lib/src/App.d.ts +0 -6
- package/lib/src/AppErrorBoundary.d.ts +0 -15
- package/lib/src/AppRouter.d.ts +0 -6
- package/lib/src/api/api-scout-server.d.ts +0 -8
- package/lib/src/api/api-vscode.d.ts +0 -3
- package/lib/src/api/api.d.ts +0 -44
- package/lib/src/api/attachmentsHelpers.d.ts +0 -1
- package/lib/src/api/expandInputEvents.d.ts +0 -6
- package/lib/src/api/jsonrpc-fetch.d.ts +0 -20
- package/lib/src/api/jsonrpc.d.ts +0 -50
- package/lib/src/api/request.d.ts +0 -34
- package/lib/src/api/vscode-storage.d.ts +0 -3
- package/lib/src/app/components/ActivityBar.d.ts +0 -23
- package/lib/src/app/components/ActivityBarLayout.d.ts +0 -11
- package/lib/src/app/components/AddFilterButton.d.ts +0 -37
- package/lib/src/app/components/BreadCrumbs.d.ts +0 -10
- package/lib/src/app/components/Chip.d.ts +0 -12
- package/lib/src/app/components/ChipGroup.d.ts +0 -7
- package/lib/src/app/components/ColumnHeader.d.ts +0 -11
- package/lib/src/app/components/ColumnPickerButton.d.ts +0 -19
- package/lib/src/app/components/ColumnsPopover.d.ts +0 -25
- package/lib/src/app/components/EditablePath.d.ts +0 -15
- package/lib/src/app/components/EditableText.d.ts +0 -16
- package/lib/src/app/components/Error.d.ts +0 -7
- package/lib/src/app/components/Explanation.d.ts +0 -12
- package/lib/src/app/components/FilterBar.d.ts +0 -35
- package/lib/src/app/components/Footer.d.ts +0 -21
- package/lib/src/app/components/HeadingGrid.d.ts +0 -15
- package/lib/src/app/components/Identifier.d.ts +0 -7
- package/lib/src/app/components/NavButtons.d.ts +0 -12
- package/lib/src/app/components/Navbar.d.ts +0 -11
- package/lib/src/app/components/NextPreviousNav.d.ts +0 -11
- package/lib/src/app/components/Pager.d.ts +0 -9
- package/lib/src/app/components/ProjectBar.d.ts +0 -7
- package/lib/src/app/components/ScansNavbar.d.ts +0 -10
- package/lib/src/app/components/ScoreValue.d.ts +0 -10
- package/lib/src/app/components/TaskName.d.ts +0 -8
- package/lib/src/app/components/TranscriptsNavbar.d.ts +0 -11
- package/lib/src/app/components/ValidationResult.d.ts +0 -9
- package/lib/src/app/components/Value.d.ts +0 -15
- package/lib/src/app/components/columnFilter/ColumnFilterButton.d.ts +0 -6
- package/lib/src/app/components/columnFilter/ColumnFilterControl.d.ts +0 -16
- package/lib/src/app/components/columnFilter/ColumnFilterEditor.d.ts +0 -32
- package/lib/src/app/components/columnFilter/DurationInput.d.ts +0 -9
- package/lib/src/app/components/columnFilter/index.d.ts +0 -12
- package/lib/src/app/components/columnFilter/useAddFilterPopover.d.ts +0 -36
- package/lib/src/app/components/columnFilter/useColumnFilter.d.ts +0 -27
- package/lib/src/app/components/columnFilter/useColumnFilterPopover.d.ts +0 -25
- package/lib/src/app/components/columnSizing/defaultStrategy.d.ts +0 -2
- package/lib/src/app/components/columnSizing/fitContentStrategy.d.ts +0 -2
- package/lib/src/app/components/columnSizing/index.d.ts +0 -5
- package/lib/src/app/components/columnSizing/strategies.d.ts +0 -10
- package/lib/src/app/components/columnSizing/types.d.ts +0 -60
- package/lib/src/app/components/columnTypes.d.ts +0 -46
- package/lib/src/app/components/dataGrid/DataGrid.d.ts +0 -8
- package/lib/src/app/components/dataGrid/index.d.ts +0 -2
- package/lib/src/app/components/dataGrid/types.d.ts +0 -70
- package/lib/src/app/components/useBreadcrumbTruncation.d.ts +0 -12
- package/lib/src/app/components/useFilterBarHandlers.d.ts +0 -41
- package/lib/src/app/hooks/useFilterConditions.d.ts +0 -6
- package/lib/src/app/hooks/useScanFilterConditions.d.ts +0 -6
- package/lib/src/app/hooks/useScanResultSummaries.d.ts +0 -6
- package/lib/src/app/hooks/useScanRoute.d.ts +0 -8
- package/lib/src/app/hooks/useScansFilterBarProps.d.ts +0 -13
- package/lib/src/app/hooks/useSelectedScan.d.ts +0 -3
- package/lib/src/app/hooks/useSelectedScanDataframe.d.ts +0 -3
- package/lib/src/app/hooks/useSelectedScanResultData.d.ts +0 -3
- package/lib/src/app/hooks/useSelectedScanResultInputData.d.ts +0 -3
- package/lib/src/app/hooks/useSelectedScanner.d.ts +0 -2
- package/lib/src/app/hooks/useTranscriptsFilterBarProps.d.ts +0 -18
- package/lib/src/app/project/ProjectPanel.d.ts +0 -7
- package/lib/src/app/project/SettingsContent.d.ts +0 -7
- package/lib/src/app/project/components/FormFields.d.ts +0 -73
- package/lib/src/app/project/configUtils.d.ts +0 -30
- package/lib/src/app/project/hooks/useNestedConfig.d.ts +0 -28
- package/lib/src/app/runScan/ActiveScanView.d.ts +0 -6
- package/lib/src/app/runScan/DefineScannerSection.d.ts +0 -6
- package/lib/src/app/runScan/LlmScannerParams.d.ts +0 -14
- package/lib/src/app/runScan/RunScanPanel.d.ts +0 -2
- package/lib/src/app/runScan/ScannerParamsPlaceholder.d.ts +0 -6
- package/lib/src/app/scan/ScanPanel.d.ts +0 -2
- package/lib/src/app/scan/ScanPanelBody.d.ts +0 -6
- package/lib/src/app/scan/ScanPanelTitle.d.ts +0 -6
- package/lib/src/app/scan/info/ScanInfo.d.ts +0 -5
- package/lib/src/app/scan/scanners/ScannerPanel.d.ts +0 -5
- package/lib/src/app/scan/scanners/ScannerSidebar.d.ts +0 -5
- package/lib/src/app/scan/scanners/dataframe/DataframeGridApiContext.d.ts +0 -7
- package/lib/src/app/scan/scanners/dataframe/ScannerDataframeCSVButtons.d.ts +0 -11
- package/lib/src/app/scan/scanners/dataframe/ScannerDataframeClearFiltersButton.d.ts +0 -2
- package/lib/src/app/scan/scanners/dataframe/ScannerDataframeColumnsPopover.d.ts +0 -5
- package/lib/src/app/scan/scanners/dataframe/ScannerDataframeFilterColumnsButton.d.ts +0 -1
- package/lib/src/app/scan/scanners/dataframe/ScannerDataframeWrapTextButton.d.ts +0 -2
- package/lib/src/app/scan/scanners/dataframe/useOperationStatus.d.ts +0 -7
- package/lib/src/app/scan/scanners/list/ScannerResultsGroup.d.ts +0 -6
- package/lib/src/app/scan/scanners/list/ScannerResultsHeader.d.ts +0 -7
- package/lib/src/app/scan/scanners/list/ScannerResultsList.d.ts +0 -14
- package/lib/src/app/scan/scanners/list/ScannerResultsRow.d.ts +0 -9
- package/lib/src/app/scan/scanners/results/ScannerResultsBody.d.ts +0 -12
- package/lib/src/app/scan/scanners/results/ScannerResultsFilter.d.ts +0 -4
- package/lib/src/app/scan/scanners/results/ScannerResultsGroup.d.ts +0 -7
- package/lib/src/app/scan/scanners/results/ScannerResultsSearch.d.ts +0 -2
- package/lib/src/app/scan/scanners/types.d.ts +0 -1
- package/lib/src/app/scannerResult/ScannerResultHeader.d.ts +0 -9
- package/lib/src/app/scannerResult/ScannerResultNav.d.ts +0 -2
- package/lib/src/app/scannerResult/ScannerResultPanel.d.ts +0 -2
- package/lib/src/app/scannerResult/error/ErrorPanel.d.ts +0 -7
- package/lib/src/app/scannerResult/info/InfoPanel.d.ts +0 -9
- package/lib/src/app/scannerResult/metadata/MetadataPanel.d.ts +0 -7
- package/lib/src/app/scannerResult/result/ResultBody.d.ts +0 -10
- package/lib/src/app/scannerResult/result/ResultPanel.d.ts +0 -11
- package/lib/src/app/scannerResult/result/ResultSidebar.d.ts +0 -9
- package/lib/src/app/scannerResult/transcript/TranscriptPanel.d.ts +0 -10
- package/lib/src/app/scans/ScansFilterBar.d.ts +0 -7
- package/lib/src/app/scans/ScansGrid.d.ts +0 -21
- package/lib/src/app/scans/ScansPanel.d.ts +0 -2
- package/lib/src/app/scans/columnSizing/index.d.ts +0 -3
- package/lib/src/app/scans/columnSizing/useColumnSizing.d.ts +0 -33
- package/lib/src/app/scans/columns.d.ts +0 -25
- package/lib/src/app/scans/constants.d.ts +0 -35
- package/lib/src/app/server/index.d.ts +0 -6
- package/lib/src/app/server/useActiveScan.d.ts +0 -3
- package/lib/src/app/server/useActiveScans.d.ts +0 -3
- package/lib/src/app/server/useAdjacentTranscriptIds.d.ts +0 -10
- package/lib/src/app/server/useAppConfig.d.ts +0 -20
- package/lib/src/app/server/useCode.d.ts +0 -4
- package/lib/src/app/server/useHasTranscript.d.ts +0 -8
- package/lib/src/app/server/useProjectConfig.d.ts +0 -30
- package/lib/src/app/server/useScan.d.ts +0 -9
- package/lib/src/app/server/useScanDataframe.d.ts +0 -10
- package/lib/src/app/server/useScanDataframeInput.d.ts +0 -11
- package/lib/src/app/server/useScanners.d.ts +0 -3
- package/lib/src/app/server/useScans.d.ts +0 -3
- package/lib/src/app/server/useScansColumnValues.d.ts +0 -11
- package/lib/src/app/server/useScansInfinite.d.ts +0 -6
- package/lib/src/app/server/useServerTranscripts.d.ts +0 -5
- package/lib/src/app/server/useServerTranscriptsInfinite.d.ts +0 -13
- package/lib/src/app/server/useStartScan.d.ts +0 -3
- package/lib/src/app/server/useTopicInvalidation.d.ts +0 -11
- package/lib/src/app/server/useTranscript.d.ts +0 -9
- package/lib/src/app/server/useTranscriptsColumnValues.d.ts +0 -11
- package/lib/src/app/server/useValidations.d.ts +0 -83
- package/lib/src/app/timeline/components/TimelineEventsView.d.ts +0 -41
- package/lib/src/app/timeline/components/TimelineMinimap.d.ts +0 -30
- package/lib/src/app/timeline/components/TimelineOptionsPopover.d.ts +0 -10
- package/lib/src/app/timeline/components/TimelineSelector.d.ts +0 -11
- package/lib/src/app/timeline/components/TimelineSwimLanes.d.ts +0 -62
- package/lib/src/app/timeline/contentItems.d.ts +0 -29
- package/lib/src/app/timeline/hooks/useActiveTimeline.d.ts +0 -12
- package/lib/src/app/timeline/hooks/useScrubberPercent.d.ts +0 -8
- package/lib/src/app/timeline/hooks/useTimeline.d.ts +0 -46
- package/lib/src/app/timeline/hooks/useTimelineConfig.d.ts +0 -22
- package/lib/src/app/timeline/hooks/useTranscriptTimeline.d.ts +0 -37
- package/lib/src/app/timeline/syntheticNodes.d.ts +0 -7
- package/lib/src/app/timeline/testHelpers.d.ts +0 -26
- package/lib/src/app/timeline/timelineEventNodes.d.ts +0 -93
- package/lib/src/app/timeline/utils/markers.d.ts +0 -41
- package/lib/src/app/timeline/utils/swimlaneLayout.d.ts +0 -96
- package/lib/src/app/timeline/utils/swimlaneRows.d.ts +0 -62
- package/lib/src/app/timeline/utils/timeMapping.d.ts +0 -41
- package/lib/src/app/transcript/TranscriptBody.d.ts +0 -17
- package/lib/src/app/transcript/TranscriptFilterPopover.d.ts +0 -7
- package/lib/src/app/transcript/TranscriptNav.d.ts +0 -10
- package/lib/src/app/transcript/TranscriptPanel.d.ts +0 -2
- package/lib/src/app/transcript/TranscriptTitle.d.ts +0 -7
- package/lib/src/app/transcript/debugEventTree.d.ts +0 -4
- package/lib/src/app/transcript/hooks/useTranscriptColumnFilter.d.ts +0 -11
- package/lib/src/app/transcript/hooks/useTranscriptNavigation.d.ts +0 -12
- package/lib/src/app/transcript/hooks/useTranscriptTimeline.d.ts +0 -1
- package/lib/src/app/transcripts/TranscriptFilterBar.d.ts +0 -8
- package/lib/src/app/transcripts/TranscriptsGrid.d.ts +0 -21
- package/lib/src/app/transcripts/TranscriptsPanel.d.ts +0 -2
- package/lib/src/app/transcripts/columnSizing/index.d.ts +0 -3
- package/lib/src/app/transcripts/columnSizing/types.d.ts +0 -22
- package/lib/src/app/transcripts/columnSizing/useColumnSizing.d.ts +0 -34
- package/lib/src/app/transcripts/columns.d.ts +0 -37
- package/lib/src/app/transcripts/constants.d.ts +0 -35
- package/lib/src/app/types.d.ts +0 -112
- package/lib/src/app/utils/arrow.d.ts +0 -2
- package/lib/src/app/utils/arrowHelpers.d.ts +0 -4
- package/lib/src/app/utils/expandEvents.d.ts +0 -8
- package/lib/src/app/utils/messages.d.ts +0 -7
- package/lib/src/app/utils/refs.d.ts +0 -6
- package/lib/src/app/utils/results.d.ts +0 -10
- package/lib/src/app/utils/router.d.ts +0 -1
- package/lib/src/app/utils/scan.d.ts +0 -12
- package/lib/src/app/utils/transcript.d.ts +0 -29
- package/lib/src/app/utils/useScansDir.d.ts +0 -8
- package/lib/src/app/utils/useTranscriptsDir.d.ts +0 -8
- package/lib/src/app/validation/ValidationPanel.d.ts +0 -2
- package/lib/src/app/validation/components/CopyMoveCasesModal.d.ts +0 -24
- package/lib/src/app/validation/components/ValidationBulkActions.d.ts +0 -16
- package/lib/src/app/validation/components/ValidationCaseCard.d.ts +0 -23
- package/lib/src/app/validation/components/ValidationCaseEditor.d.ts +0 -23
- package/lib/src/app/validation/components/ValidationCaseLabelsEditor.d.ts +0 -20
- package/lib/src/app/validation/components/ValidationCasePredicateSelector.d.ts +0 -19
- package/lib/src/app/validation/components/ValidationCaseTargetEditor.d.ts +0 -13
- package/lib/src/app/validation/components/ValidationCasesList.d.ts +0 -19
- package/lib/src/app/validation/components/ValidationFilterBar.d.ts +0 -14
- package/lib/src/app/validation/components/ValidationSetSelector.d.ts +0 -21
- package/lib/src/app/validation/components/ValidationSplitSelector.d.ts +0 -23
- package/lib/src/app/validation/components/ValidationSummary.d.ts +0 -11
- package/lib/src/app/validation/hooks/useTranscriptsByIds.d.ts +0 -13
- package/lib/src/app/validation/utils.d.ts +0 -55
- package/lib/src/components/AnsiDisplay.d.ts +0 -8
- package/lib/src/components/AsciinemaPlayer.d.ts +0 -19
- package/lib/src/components/AutocompleteInput.d.ts +0 -19
- package/lib/src/components/Card.d.ts +0 -32
- package/lib/src/components/ConfirmationDialog.d.ts +0 -15
- package/lib/src/components/CopyButton.d.ts +0 -12
- package/lib/src/components/DataframeView.d.ts +0 -17
- package/lib/src/components/DownloadScanButton.d.ts +0 -9
- package/lib/src/components/EmptyPanel.d.ts +0 -6
- package/lib/src/components/ErrorPanel.d.ts +0 -12
- package/lib/src/components/ExpandablePanel.d.ts +0 -12
- package/lib/src/components/ExtendedFindContext.d.ts +0 -7
- package/lib/src/components/ExtendedFindProvider.d.ts +0 -6
- package/lib/src/components/FindBand.d.ts +0 -6
- package/lib/src/components/HumanBaselineView.d.ts +0 -21
- package/lib/src/components/JsonPanel.d.ts +0 -11
- package/lib/src/components/LabeledValue.d.ts +0 -11
- package/lib/src/components/LightboxCarousel.d.ts +0 -14
- package/lib/src/components/LiveVirtualList.d.ts +0 -22
- package/lib/src/components/LoadingBar.d.ts +0 -6
- package/lib/src/components/MarkdownDiv.d.ts +0 -11
- package/lib/src/components/MarkdownDivWithReferences.d.ts +0 -18
- package/lib/src/components/MenuActionButton.d.ts +0 -15
- package/lib/src/components/Modal.d.ts +0 -11
- package/lib/src/components/NavPills.d.ts +0 -11
- package/lib/src/components/NoContentsPanel.d.ts +0 -7
- package/lib/src/components/NonIdealState.d.ts +0 -10
- package/lib/src/components/PopOver.d.ts +0 -23
- package/lib/src/components/Preformatted.d.ts +0 -7
- package/lib/src/components/ProgressBar.d.ts +0 -9
- package/lib/src/components/PulsingDots.d.ts +0 -10
- package/lib/src/components/SegmentedControl.d.ts +0 -14
- package/lib/src/components/SourceCodePanel.d.ts +0 -11
- package/lib/src/components/StickyScroll.d.ts +0 -18
- package/lib/src/components/TabSet.d.ts +0 -27
- package/lib/src/components/TextInput.d.ts +0 -10
- package/lib/src/components/ToolButton.d.ts +0 -10
- package/lib/src/components/ToolDropdownButton.d.ts +0 -11
- package/lib/src/components/chat/ChatMessage.d.ts +0 -13
- package/lib/src/components/chat/ChatMessageRenderer.d.ts +0 -15
- package/lib/src/components/chat/ChatMessageRow.d.ts +0 -22
- package/lib/src/components/chat/ChatView.d.ts +0 -21
- package/lib/src/components/chat/ChatViewVirtualList.d.ts +0 -30
- package/lib/src/components/chat/JsonMessageContent.d.ts +0 -7
- package/lib/src/components/chat/MessageCitations.d.ts +0 -6
- package/lib/src/components/chat/MessageContent.d.ts +0 -18
- package/lib/src/components/chat/MessageContents.d.ts +0 -15
- package/lib/src/components/chat/content-data/CompactionData.d.ts +0 -6
- package/lib/src/components/chat/content-data/ContentDataView.d.ts +0 -19
- package/lib/src/components/chat/content-data/WebSearch.d.ts +0 -4
- package/lib/src/components/chat/content-data/WebSearchResults.d.ts +0 -9
- package/lib/src/components/chat/documents/ContentDocumentView.d.ts +0 -8
- package/lib/src/components/chat/messageSearchText.d.ts +0 -5
- package/lib/src/components/chat/messages.d.ts +0 -8
- package/lib/src/components/chat/server-tools/ServerToolCall.d.ts +0 -12
- package/lib/src/components/chat/tools/ToolCallView.d.ts +0 -19
- package/lib/src/components/chat/tools/ToolInput.d.ts +0 -10
- package/lib/src/components/chat/tools/ToolOutput.d.ts +0 -11
- package/lib/src/components/chat/tools/ToolTitle.d.ts +0 -10
- package/lib/src/components/chat/tools/customToolRendering.d.ts +0 -2
- package/lib/src/components/chat/tools/tool-input/TodoWriteInput.d.ts +0 -5
- package/lib/src/components/chat/tools/tool.d.ts +0 -18
- package/lib/src/components/chat/types.d.ts +0 -8
- package/lib/src/components/content/DisplayModeContext.d.ts +0 -9
- package/lib/src/components/content/MetaDataGrid.d.ts +0 -20
- package/lib/src/components/content/RecordTree.d.ts +0 -24
- package/lib/src/components/content/RenderedContent.d.ts +0 -18
- package/lib/src/components/content/RenderedText.d.ts +0 -15
- package/lib/src/components/content/record_processors/store.d.ts +0 -2
- package/lib/src/components/content/record_processors/types.d.ts +0 -1
- package/lib/src/components/content/types.d.ts +0 -18
- package/lib/src/components/icons.d.ts +0 -151
- package/lib/src/components/prism.d.ts +0 -2
- package/lib/src/components/transcript/AgentCardView.d.ts +0 -8
- package/lib/src/components/transcript/ApprovalEventView.d.ts +0 -12
- package/lib/src/components/transcript/CompactionEventView.d.ts +0 -12
- package/lib/src/components/transcript/ErrorEventView.d.ts +0 -12
- package/lib/src/components/transcript/InfoEventView.d.ts +0 -12
- package/lib/src/components/transcript/InputEventView.d.ts +0 -12
- package/lib/src/components/transcript/LoggerEventView.d.ts +0 -12
- package/lib/src/components/transcript/ModelEventView.d.ts +0 -25
- package/lib/src/components/transcript/SampleInitEventView.d.ts +0 -12
- package/lib/src/components/transcript/SampleLimitEventView.d.ts +0 -12
- package/lib/src/components/transcript/SandboxEventView.d.ts +0 -12
- package/lib/src/components/transcript/ScoreEditEventView.d.ts +0 -12
- package/lib/src/components/transcript/ScoreEventView.d.ts +0 -12
- package/lib/src/components/transcript/SpanEventView.d.ts +0 -13
- package/lib/src/components/transcript/StepEventView.d.ts +0 -13
- package/lib/src/components/transcript/SubtaskEventView.d.ts +0 -13
- package/lib/src/components/transcript/TimelineSelectContext.d.ts +0 -7
- package/lib/src/components/transcript/ToolEventView.d.ts +0 -13
- package/lib/src/components/transcript/TranscriptView.d.ts +0 -13
- package/lib/src/components/transcript/TranscriptViewNodes.d.ts +0 -19
- package/lib/src/components/transcript/TranscriptVirtualList.d.ts +0 -31
- package/lib/src/components/transcript/TranscriptVirtualListComponent.d.ts +0 -18
- package/lib/src/components/transcript/event/EventNav.d.ts +0 -12
- package/lib/src/components/transcript/event/EventNavs.d.ts +0 -15
- package/lib/src/components/transcript/event/EventPanel.d.ts +0 -20
- package/lib/src/components/transcript/event/EventProgressPanel.d.ts +0 -6
- package/lib/src/components/transcript/event/EventRow.d.ts +0 -12
- package/lib/src/components/transcript/event/EventSection.d.ts +0 -12
- package/lib/src/components/transcript/event/EventTimingPanel.d.ts +0 -12
- package/lib/src/components/transcript/event/utils.d.ts +0 -2
- package/lib/src/components/transcript/eventSearchText.d.ts +0 -5
- package/lib/src/components/transcript/hooks/useCollapseTranscriptEvent.d.ts +0 -1
- package/lib/src/components/transcript/hooks/useEventNodes.d.ts +0 -7
- package/lib/src/components/transcript/outline/OutlineRow.d.ts +0 -19
- package/lib/src/components/transcript/outline/TranscriptOutline.d.ts +0 -22
- package/lib/src/components/transcript/outline/tree-visitors.d.ts +0 -13
- package/lib/src/components/transcript/outline/useOutlineWidth.d.ts +0 -9
- package/lib/src/components/transcript/resolveMessageToEvent.d.ts +0 -19
- package/lib/src/components/transcript/state/StateDiffView.d.ts +0 -11
- package/lib/src/components/transcript/state/StateEventRenderers.d.ts +0 -48
- package/lib/src/components/transcript/state/StateEventView.d.ts +0 -13
- package/lib/src/components/transcript/timeline.d.ts +0 -128
- package/lib/src/components/transcript/transform/fixups.d.ts +0 -291
- package/lib/src/components/transcript/transform/flatten.d.ts +0 -15
- package/lib/src/components/transcript/transform/transform.d.ts +0 -2
- package/lib/src/components/transcript/transform/treeify.d.ts +0 -3
- package/lib/src/components/transcript/transform/utils.d.ts +0 -18
- package/lib/src/components/transcript/types.d.ts +0 -28
- package/lib/src/components/usage/ModelTokenTable.d.ts +0 -8
- package/lib/src/components/usage/ModelUsagePanel.d.ts +0 -11
- package/lib/src/components/usage/TokenTable.d.ts +0 -14
- package/lib/src/components/usage/UsageCard.d.ts +0 -10
- package/lib/src/debugging/navigationDebugging.d.ts +0 -8
- package/lib/src/hooks/useDocumentTitle.d.ts +0 -26
- package/lib/src/hooks/useDropdownPosition.d.ts +0 -40
- package/lib/src/hooks/useMapAsyncData.d.ts +0 -27
- package/lib/src/hooks/usePreviousValue.d.ts +0 -25
- package/lib/src/hooks/useScrollDirection.d.ts +0 -43
- package/lib/src/hooks/useWindowMessaging.d.ts +0 -19
- package/lib/src/index.d.ts +0 -5
- package/lib/src/main.d.ts +0 -6
- package/lib/src/query/column.d.ts +0 -23
- package/lib/src/query/conditionBuilder.d.ts +0 -29
- package/lib/src/query/index.d.ts +0 -96
- package/lib/src/query/transcriptColumns.d.ts +0 -32
- package/lib/src/query/types.d.ts +0 -62
- package/lib/src/router/activities.d.ts +0 -11
- package/lib/src/router/url.d.ts +0 -76
- package/lib/src/state/hooks/useCollapsedState.d.ts +0 -1
- package/lib/src/state/hooks/useCollapsibleIds.d.ts +0 -1
- package/lib/src/state/hooks/useProperty.d.ts +0 -4
- package/lib/src/state/scrolling.d.ts +0 -27
- package/lib/src/state/store.d.ts +0 -277
- package/lib/src/state/userSettings.d.ts +0 -22
- package/lib/src/test/objectFactories.d.ts +0 -4
- package/lib/src/test/setup-msw.d.ts +0 -1
- package/lib/src/test/test-utils.d.ts +0 -2
- package/lib/src/types/api-types.d.ts +0 -97
- package/lib/src/types/generated.d.ts +0 -5031
- package/lib/src/types/json-value.d.ts +0 -12
- package/lib/src/utils/ansi.d.ts +0 -12
- package/lib/src/utils/array.d.ts +0 -1
- package/lib/src/utils/arrow.d.ts +0 -3
- package/lib/src/utils/asyncData.d.ts +0 -66
- package/lib/src/utils/asyncDataFromQuery.d.ts +0 -13
- package/lib/src/utils/base64.d.ts +0 -4
- package/lib/src/utils/base64url.d.ts +0 -38
- package/lib/src/utils/brand.d.ts +0 -70
- package/lib/src/utils/chatMessage.d.ts +0 -3
- package/lib/src/utils/date.d.ts +0 -34
- package/lib/src/utils/dom.d.ts +0 -1
- package/lib/src/utils/format.d.ts +0 -53
- package/lib/src/utils/html.d.ts +0 -5
- package/lib/src/utils/json-worker.d.ts +0 -2
- package/lib/src/utils/json.d.ts +0 -4
- package/lib/src/utils/logger.d.ts +0 -7
- package/lib/src/utils/mime.d.ts +0 -1
- package/lib/src/utils/object.d.ts +0 -1
- package/lib/src/utils/path.d.ts +0 -28
- package/lib/src/utils/python.d.ts +0 -11
- package/lib/src/utils/react-query.d.ts +0 -4
- package/lib/src/utils/react.d.ts +0 -6
- package/lib/src/utils/router.d.ts +0 -1
- package/lib/src/utils/sync.d.ts +0 -21
- package/lib/src/utils/type.d.ts +0 -15
- package/lib/src/utils/uri.d.ts +0 -19
- package/lib/src/utils/useDebouncedCallback.d.ts +0 -20
- package/lib/src/utils/vscode.d.ts +0 -20
- package/lib/styles/index.css +0 -9030
- package/lib/tex-svg-full-BI3fonbT-FZEHFXiJ.js +0 -27979
- package/lib/tex-svg-full-BI3fonbT-FZEHFXiJ.js.map +0 -1
- package/lib/wgxpath.install-node-Csk64Aj9-Ckau6iLd.js +0 -1081
- package/lib/wgxpath.install-node-Csk64Aj9-Ckau6iLd.js.map +0 -1
- package/lib/xypic-DrMJn58R-DRoJoooA.js +0 -9542
- package/lib/xypic-DrMJn58R-DRoJoooA.js.map +0 -1
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Infinite Scroll Tuning
|
|
3
|
-
*
|
|
4
|
-
* Goal: user never hits bottom while waiting for next page.
|
|
5
|
-
*
|
|
6
|
-
* Formula: threshold >= scroll_speed × fetch_duration
|
|
7
|
-
*
|
|
8
|
-
* Assumptions:
|
|
9
|
-
* row_height = 29px
|
|
10
|
-
* fetch_duration = 300-1000ms (variable with fixed overhead)
|
|
11
|
-
* max_scroll_speed = 1500px/s (typical fast scroller)
|
|
12
|
-
*
|
|
13
|
-
* Check at typical speed (1500px/s):
|
|
14
|
-
* runway_time = 2000px / 1500px/s = 1333ms
|
|
15
|
-
* worst_case_fetch = 1000ms
|
|
16
|
-
* margin = 333ms ✓
|
|
17
|
-
*
|
|
18
|
-
* Check at extreme speed (5000px/s):
|
|
19
|
-
* runway_time = 2000px / 5000px/s = 400ms
|
|
20
|
-
* median_fetch = ~350ms
|
|
21
|
-
* margin = 50ms (tight but ok) ✓
|
|
22
|
-
*
|
|
23
|
-
* Why large pageSize? Fetch duration is mostly fixed overhead, so larger
|
|
24
|
-
* pages = fewer fetches = fewer stall opportunities. 500 rows gives ~9.7s
|
|
25
|
-
* of scrolling per page at 1500px/s.
|
|
26
|
-
*
|
|
27
|
-
* Note: If threshold > pageSize_px, the next page is prefetched immediately
|
|
28
|
-
* after the current page loads. This is fine for maximum smoothness.
|
|
29
|
-
*/
|
|
30
|
-
export declare const TRANSCRIPTS_INFINITE_SCROLL_CONFIG: {
|
|
31
|
-
/** Number of rows to fetch per page (500 rows = 14,500px at 29px/row) */
|
|
32
|
-
readonly pageSize: 500;
|
|
33
|
-
/** Distance from bottom (in px) at which to trigger fetch (~69 rows) */
|
|
34
|
-
readonly threshold: 2000;
|
|
35
|
-
};
|
package/lib/src/app/types.d.ts
DELETED
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import { EventType } from '../components/transcript/types';
|
|
2
|
-
import { ModelUsage, JsonValue, ChatMessageSystem, ChatMessageUser, ChatMessageAssistant, ChatMessageTool, Event, ChatMessage, Transcript, ScannerInputResponse } from '../types/api-types';
|
|
3
|
-
export type InputType = ScannerInputResponse["input_type"];
|
|
4
|
-
export interface ScanResultSummary {
|
|
5
|
-
identifier: string;
|
|
6
|
-
uuid?: string;
|
|
7
|
-
explanation?: string;
|
|
8
|
-
label?: string;
|
|
9
|
-
timestamp?: string;
|
|
10
|
-
inputType: InputType;
|
|
11
|
-
eventReferences: ScanResultReference[];
|
|
12
|
-
messageReferences: ScanResultReference[];
|
|
13
|
-
validationResult: boolean | Record<string, boolean>;
|
|
14
|
-
validationTarget: JsonValue;
|
|
15
|
-
value: string | boolean | number | null | unknown[] | object;
|
|
16
|
-
valueType: ValueType;
|
|
17
|
-
scanError?: string;
|
|
18
|
-
scanErrorRefusal?: boolean;
|
|
19
|
-
transcriptSourceId: string;
|
|
20
|
-
transcriptTaskSet?: string;
|
|
21
|
-
transcriptTaskId?: string | number;
|
|
22
|
-
transcriptTaskRepeat?: number;
|
|
23
|
-
transcriptModel?: string;
|
|
24
|
-
transcriptMetadata: Record<string, JsonValue>;
|
|
25
|
-
}
|
|
26
|
-
export interface ScanResultData extends ScanResultSummary {
|
|
27
|
-
answer?: string;
|
|
28
|
-
inputIds: string[];
|
|
29
|
-
metadata: Record<string, JsonValue>;
|
|
30
|
-
scanError?: string;
|
|
31
|
-
scanErrorTraceback?: string;
|
|
32
|
-
scanErrorRefusal?: boolean;
|
|
33
|
-
scanEvents: Event[];
|
|
34
|
-
scanId: string;
|
|
35
|
-
scanMetadata: Record<string, JsonValue>;
|
|
36
|
-
scanModelUsage: Record<string, ModelUsage>;
|
|
37
|
-
scanTags: string[];
|
|
38
|
-
scanTotalTokens: number;
|
|
39
|
-
scannerFile: string;
|
|
40
|
-
scannerKey: string;
|
|
41
|
-
scannerName: string;
|
|
42
|
-
scannerParams: Record<string, JsonValue>;
|
|
43
|
-
transcriptId: string;
|
|
44
|
-
transcriptSourceUri: string;
|
|
45
|
-
transcriptDate?: string;
|
|
46
|
-
transcriptAgent?: string;
|
|
47
|
-
transcriptAgentArgs?: Record<string, unknown>;
|
|
48
|
-
transcriptScore?: JsonValue;
|
|
49
|
-
transcriptSuccess?: boolean;
|
|
50
|
-
transcriptMessageCount?: number;
|
|
51
|
-
transcriptTotalTime?: number;
|
|
52
|
-
transcriptTotalTokens?: number;
|
|
53
|
-
transcriptError?: string;
|
|
54
|
-
transcriptLimit?: string;
|
|
55
|
-
}
|
|
56
|
-
export interface ScanResultReference {
|
|
57
|
-
type: "message" | "event";
|
|
58
|
-
id: string;
|
|
59
|
-
cite?: string;
|
|
60
|
-
}
|
|
61
|
-
export type MessageType = ChatMessageSystem | ChatMessageUser | ChatMessageAssistant | ChatMessageTool;
|
|
62
|
-
export interface SortColumn {
|
|
63
|
-
column: string;
|
|
64
|
-
direction: "asc" | "desc";
|
|
65
|
-
}
|
|
66
|
-
export type ErrorScope = "scans" | "scanner" | "dataframe" | "dataframe_input" | "transcripts";
|
|
67
|
-
export type ResultGroup = "source" | "label" | "id" | "epoch" | "model" | "none";
|
|
68
|
-
export type ValueType = "boolean" | "number" | "string" | "array" | "object" | "null";
|
|
69
|
-
export declare function isStringValue(result: ScanResultSummary): result is ScanResultSummary & {
|
|
70
|
-
valueType: "string";
|
|
71
|
-
value: string;
|
|
72
|
-
};
|
|
73
|
-
export declare function isNumberValue(result: ScanResultSummary): result is ScanResultSummary & {
|
|
74
|
-
valueType: "number";
|
|
75
|
-
value: number;
|
|
76
|
-
};
|
|
77
|
-
export declare function isBooleanValue(result: ScanResultSummary): result is ScanResultSummary & {
|
|
78
|
-
valueType: "boolean";
|
|
79
|
-
value: boolean;
|
|
80
|
-
};
|
|
81
|
-
export declare function isNullValue(result: ScanResultSummary): result is ScanResultSummary & {
|
|
82
|
-
valueType: "null";
|
|
83
|
-
value: null;
|
|
84
|
-
};
|
|
85
|
-
export declare function isArrayValue(result: ScanResultSummary): result is ScanResultSummary & {
|
|
86
|
-
valueType: "array";
|
|
87
|
-
value: unknown[];
|
|
88
|
-
};
|
|
89
|
-
export declare function isObjectValue(result: ScanResultSummary): result is ScanResultSummary & {
|
|
90
|
-
valueType: "object";
|
|
91
|
-
value: object;
|
|
92
|
-
};
|
|
93
|
-
export declare function isTranscriptInput(input: ScannerInputResponse): input is ScannerInputResponse & {
|
|
94
|
-
inputType: "transcript";
|
|
95
|
-
input: Transcript;
|
|
96
|
-
};
|
|
97
|
-
export declare function isMessageInput(input: ScannerInputResponse): input is ScannerInputResponse & {
|
|
98
|
-
inputType: "message";
|
|
99
|
-
input: MessageType;
|
|
100
|
-
};
|
|
101
|
-
export declare function isMessagesInput(input: ScannerInputResponse): input is ScannerInputResponse & {
|
|
102
|
-
inputType: "messages";
|
|
103
|
-
input: ChatMessage[];
|
|
104
|
-
};
|
|
105
|
-
export declare function isEventInput(input: ScannerInputResponse): input is ScannerInputResponse & {
|
|
106
|
-
inputType: "event";
|
|
107
|
-
input: EventType;
|
|
108
|
-
};
|
|
109
|
-
export declare function isEventsInput(input: ScannerInputResponse): input is ScannerInputResponse & {
|
|
110
|
-
inputType: "events";
|
|
111
|
-
input: Event[];
|
|
112
|
-
};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ColumnTable } from 'arquero';
|
|
2
|
-
import { ScanResultData, ScanResultSummary } from '../types';
|
|
3
|
-
export declare const parseScanResultData: (filtered: ColumnTable) => Promise<ScanResultData>;
|
|
4
|
-
export declare const parseScanResultSummaries: (rowData: object[]) => Promise<ScanResultSummary[]>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Event, EventsData } from '../../types/api-types';
|
|
2
|
-
/**
|
|
3
|
-
* Expand condensed ModelEvent input/call refs back to inline data.
|
|
4
|
-
*
|
|
5
|
-
* Pure function — returns a new array; input is not mutated.
|
|
6
|
-
* Non-ModelEvents and ModelEvents without refs pass through unchanged.
|
|
7
|
-
*/
|
|
8
|
-
export declare function expandEvents(events: Event[], eventsData: EventsData | null): Event[];
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ChatMessage } from '../../types/api-types';
|
|
2
|
-
export interface MessagesToStrOptions {
|
|
3
|
-
excludeSystem?: boolean;
|
|
4
|
-
excludeToolUsage?: boolean;
|
|
5
|
-
excludeReasoning?: boolean;
|
|
6
|
-
}
|
|
7
|
-
export declare const messagesToStr: (messages: ChatMessage[], options?: MessagesToStrOptions) => string;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { MarkdownReference } from '../../components/MarkdownDivWithReferences';
|
|
2
|
-
import { ScannerInput } from '../../types/api-types';
|
|
3
|
-
import { ScanResultSummary } from '../types';
|
|
4
|
-
export type MakeReferenceUrl = (ref: string, type: "message" | "event") => string | undefined;
|
|
5
|
-
export declare const useMarkdownRefs: (summary?: ScanResultSummary, inputData?: ScannerInput) => MarkdownReference[];
|
|
6
|
-
export declare const toMarkdownRefs: (summary: ScanResultSummary, makeReferenceUrl: MakeReferenceUrl, inputData?: ScannerInput) => MarkdownReference[];
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ScanResultSummary } from '../types';
|
|
2
|
-
export interface IdentifierInfo {
|
|
3
|
-
taskSet?: string;
|
|
4
|
-
id: string | number;
|
|
5
|
-
secondaryId?: string | number;
|
|
6
|
-
epoch?: number;
|
|
7
|
-
}
|
|
8
|
-
export declare const resultIdentifierStr: (summary?: ScanResultSummary) => string | undefined;
|
|
9
|
-
export declare const resultIdentifier: (summary?: ScanResultSummary) => IdentifierInfo;
|
|
10
|
-
export declare const resultLog: (summary: ScanResultSummary) => string | undefined;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useTranscriptDirParams: () => string | undefined;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Status } from '../../types/api-types';
|
|
2
|
-
/**
|
|
3
|
-
* Gets the display name for a scan.
|
|
4
|
-
*
|
|
5
|
-
* Uses the relative path from the scans directory when available,
|
|
6
|
-
* providing a more informative title that includes the directory structure.
|
|
7
|
-
*
|
|
8
|
-
* @param scan - The scan status object, or undefined if loading
|
|
9
|
-
* @param scansDir - The base scans directory for computing relative paths
|
|
10
|
-
* @returns The scan display name, or undefined if scan is undefined
|
|
11
|
-
*/
|
|
12
|
-
export declare function getScanDisplayName(scan: Status | undefined, scansDir: string | undefined): string | undefined;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { Transcript } from '../../types/api-types';
|
|
2
|
-
interface TaskNameParts {
|
|
3
|
-
taskSet?: string | null;
|
|
4
|
-
taskId?: string | number | null;
|
|
5
|
-
taskRepeat?: number | null;
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* Formats task name parts into a display string.
|
|
9
|
-
*
|
|
10
|
-
* Produces a string like "taskSet/taskId (taskRepeat)" with optional parts:
|
|
11
|
-
* - If only taskSet: "taskSet"
|
|
12
|
-
* - If only taskId: "taskId"
|
|
13
|
-
* - If both: "taskSet/taskId"
|
|
14
|
-
* - With repeat: "taskSet/taskId (1)"
|
|
15
|
-
*
|
|
16
|
-
* @param parts - Object containing taskSet, taskId, and taskRepeat
|
|
17
|
-
* @returns Formatted task name string, or undefined if no parts are available
|
|
18
|
-
*/
|
|
19
|
-
export declare function formatTaskName(parts: TaskNameParts): string | undefined;
|
|
20
|
-
/**
|
|
21
|
-
* Gets the display name for a transcript.
|
|
22
|
-
*
|
|
23
|
-
* Uses taskSet/taskId/taskRepeat when available, falls back to task_id.
|
|
24
|
-
*
|
|
25
|
-
* @param transcript - The transcript object, or undefined if loading
|
|
26
|
-
* @returns The transcript display name, or undefined if transcript is undefined
|
|
27
|
-
*/
|
|
28
|
-
export declare function getTranscriptDisplayName(transcript: Transcript | undefined): string | undefined;
|
|
29
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
interface UseScansDirResult {
|
|
2
|
-
displayScansDir: string;
|
|
3
|
-
resolvedScansDir: string;
|
|
4
|
-
resolvedScansDirSource: "route" | "user" | "project" | "cli";
|
|
5
|
-
setScansDir: (path: string) => void;
|
|
6
|
-
}
|
|
7
|
-
export declare function useScansDir(useRouteParam?: boolean): UseScansDirResult;
|
|
8
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
interface UseTranscriptsDirResult {
|
|
2
|
-
displayTranscriptsDir: string;
|
|
3
|
-
resolvedTranscriptsDir: string;
|
|
4
|
-
resolvedTranscriptsDirSource: "route" | "user" | "project" | "cli";
|
|
5
|
-
setTranscriptsDir: (path: string) => void;
|
|
6
|
-
}
|
|
7
|
-
export declare function useTranscriptsDir(useRouteParam?: boolean): UseTranscriptsDirResult;
|
|
8
|
-
export {};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { ValidationCase } from '../../../types/api-types';
|
|
3
|
-
interface CopyMoveCasesModalProps {
|
|
4
|
-
/** Whether to show the modal */
|
|
5
|
-
show: boolean;
|
|
6
|
-
/** Copy or move mode */
|
|
7
|
-
mode: "copy" | "move";
|
|
8
|
-
/** Source validation set URI */
|
|
9
|
-
sourceUri: string;
|
|
10
|
-
/** Selected case IDs */
|
|
11
|
-
selectedIds: string[];
|
|
12
|
-
/** Full case data for selected cases */
|
|
13
|
-
selectedCases: ValidationCase[];
|
|
14
|
-
/** Callback when modal is closed */
|
|
15
|
-
onHide: () => void;
|
|
16
|
-
/** Callback on successful operation (used to clear selection) */
|
|
17
|
-
onSuccess: () => void;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Modal for copying or moving validation cases to another validation set.
|
|
21
|
-
* Supports selecting an existing set or creating a new one.
|
|
22
|
-
*/
|
|
23
|
-
export declare const CopyMoveCasesModal: FC<CopyMoveCasesModalProps>;
|
|
24
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { ValidationCase } from '../../../types/api-types';
|
|
3
|
-
interface ValidationBulkActionsProps {
|
|
4
|
-
cases: ValidationCase[];
|
|
5
|
-
selectedIds: string[];
|
|
6
|
-
onBulkSplitChange: (ids: string[], split: string | null) => void;
|
|
7
|
-
onBulkDelete: (ids: string[]) => void;
|
|
8
|
-
isUpdating?: boolean;
|
|
9
|
-
isDeleting?: boolean;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Bulk actions for selected validation cases.
|
|
13
|
-
* Includes split assignment and delete functionality.
|
|
14
|
-
*/
|
|
15
|
-
export declare const ValidationBulkActions: FC<ValidationBulkActionsProps>;
|
|
16
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { CSSProperties, FC } from 'react';
|
|
2
|
-
import { TranscriptInfo, ValidationCase } from '../../../types/api-types';
|
|
3
|
-
interface ValidationCaseCardProps {
|
|
4
|
-
validationCase: ValidationCase;
|
|
5
|
-
transcript?: TranscriptInfo;
|
|
6
|
-
transcriptsDir: string | undefined;
|
|
7
|
-
validationSetUri?: string;
|
|
8
|
-
isSelected: boolean;
|
|
9
|
-
onSelectionChange: (selected: boolean) => void;
|
|
10
|
-
existingSplits: string[];
|
|
11
|
-
onSplitChange?: (split: string | null) => void;
|
|
12
|
-
onDelete?: () => void;
|
|
13
|
-
isUpdating?: boolean;
|
|
14
|
-
isDeleting?: boolean;
|
|
15
|
-
showLabels?: boolean;
|
|
16
|
-
showTarget?: boolean;
|
|
17
|
-
gridStyle?: CSSProperties;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Card component for displaying a single validation case.
|
|
21
|
-
*/
|
|
22
|
-
export declare const ValidationCaseCard: FC<ValidationCaseCardProps>;
|
|
23
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { default as React, FC } from 'react';
|
|
2
|
-
interface ValidationCaseEditorProps {
|
|
3
|
-
transcriptId: string;
|
|
4
|
-
className?: string | string[];
|
|
5
|
-
}
|
|
6
|
-
export declare const ValidationCaseEditor: FC<ValidationCaseEditorProps>;
|
|
7
|
-
interface SidebarPanelProps {
|
|
8
|
-
children: React.ReactNode;
|
|
9
|
-
}
|
|
10
|
-
export declare const SidebarPanel: FC<SidebarPanelProps>;
|
|
11
|
-
interface SidebarHeaderProps {
|
|
12
|
-
icon?: string;
|
|
13
|
-
title?: string;
|
|
14
|
-
secondary?: string;
|
|
15
|
-
actions?: React.ReactNode;
|
|
16
|
-
onClose?: () => void;
|
|
17
|
-
}
|
|
18
|
-
export declare const SidebarHeader: FC<SidebarHeaderProps>;
|
|
19
|
-
export declare const SecondaryDisplayValue: FC<{
|
|
20
|
-
label: string;
|
|
21
|
-
value: string;
|
|
22
|
-
}>;
|
|
23
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
interface ValidationCaseLabelsEditorProps {
|
|
3
|
-
/** Current labels for the validation case (null means no labels set) */
|
|
4
|
-
labels: {
|
|
5
|
-
[key: string]: boolean;
|
|
6
|
-
} | null;
|
|
7
|
-
/** Unique label keys from other cases for autocomplete suggestions */
|
|
8
|
-
availableLabels: string[];
|
|
9
|
-
/** Callback when labels change */
|
|
10
|
-
onChange: (labels: {
|
|
11
|
-
[key: string]: boolean;
|
|
12
|
-
} | null) => void;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Editor component for managing labels on a validation case.
|
|
16
|
-
* Displays existing labels as chips with remove buttons,
|
|
17
|
-
* and provides an "Add" chip to add new labels via popover.
|
|
18
|
-
*/
|
|
19
|
-
export declare const ValidationCaseLabelsEditor: FC<ValidationCaseLabelsEditorProps>;
|
|
20
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { ValidationCase } from '../../../types/api-types';
|
|
3
|
-
type Predicate = "gt" | "gte" | "lt" | "lte" | "eq" | "ne" | "contains" | "startswith" | "endswith" | "icontains" | "iequals";
|
|
4
|
-
interface ValidationCasePredicateSelectorProps {
|
|
5
|
-
value: Predicate | null;
|
|
6
|
-
onChange: (predicate: Predicate) => void;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
existingPredicates?: Predicate[];
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Dropdown component for selecting a validation case predicate.
|
|
12
|
-
*/
|
|
13
|
-
export declare const ValidationCasePredicateSelector: FC<ValidationCasePredicateSelectorProps>;
|
|
14
|
-
/**
|
|
15
|
-
* Extracts unique predicate values from a list of validation cases.
|
|
16
|
-
* Returns sorted array of non-empty split values.
|
|
17
|
-
*/
|
|
18
|
-
export declare const extractUniquePredicates: (cases: ValidationCase[]) => Predicate[];
|
|
19
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { JsonValue } from '../../../types/api-types';
|
|
3
|
-
interface ValidationCaseTargetEditorProps {
|
|
4
|
-
target?: JsonValue;
|
|
5
|
-
onChange: (newTarget: string) => void;
|
|
6
|
-
/** Called when the mode changes (e.g., user selects "other" radio) */
|
|
7
|
-
onModeChange?: (isOtherMode: boolean) => void;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Editor component for modifying the target of a validation case.
|
|
11
|
-
*/
|
|
12
|
-
export declare const ValidationCaseTargetEditor: FC<ValidationCaseTargetEditorProps>;
|
|
13
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { ValidationCase } from '../../../types/api-types';
|
|
3
|
-
interface ValidationCasesListProps {
|
|
4
|
-
cases: ValidationCase[];
|
|
5
|
-
transcriptsDir: string | undefined;
|
|
6
|
-
sourceUri: string | undefined;
|
|
7
|
-
onBulkSplitChange?: (ids: string[], split: string | null) => void;
|
|
8
|
-
onBulkDelete?: (ids: string[]) => void;
|
|
9
|
-
onSingleSplitChange?: (caseId: string, split: string | null) => void;
|
|
10
|
-
onSingleDelete?: (caseId: string) => void;
|
|
11
|
-
isUpdating?: boolean;
|
|
12
|
-
isDeleting?: boolean;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* List component for displaying and managing validation cases.
|
|
16
|
-
* Includes filtering, selection, and individual case cards.
|
|
17
|
-
*/
|
|
18
|
-
export declare const ValidationCasesList: FC<ValidationCasesListProps>;
|
|
19
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { ValidationCase } from '../../../types/api-types';
|
|
3
|
-
interface ValidationFilterBarProps {
|
|
4
|
-
cases: ValidationCase[];
|
|
5
|
-
splitFilter: string | undefined;
|
|
6
|
-
onSplitFilterChange: (split: string | undefined) => void;
|
|
7
|
-
searchText: string | undefined;
|
|
8
|
-
onSearchTextChange: (text: string | undefined) => void;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Filter bar with split dropdown and ID search.
|
|
12
|
-
*/
|
|
13
|
-
export declare const ValidationFilterBar: FC<ValidationFilterBarProps>;
|
|
14
|
-
export {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { AppConfig } from '../../../types/api-types';
|
|
3
|
-
interface ValidationSetSelectorProps {
|
|
4
|
-
validationSets: string[];
|
|
5
|
-
selectedUri: string | undefined;
|
|
6
|
-
onSelect: (uri: string | undefined) => void;
|
|
7
|
-
/** Size trigger to fit longest option (default: false) */
|
|
8
|
-
autoSize?: boolean;
|
|
9
|
-
/** Adds a create new option the dropown */
|
|
10
|
-
allowCreate?: boolean;
|
|
11
|
-
onCreate?: (name: string) => void;
|
|
12
|
-
/** Project directory path for displaying full file path in create modal */
|
|
13
|
-
appConfig?: AppConfig;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Select-box component for selecting validation sets.
|
|
17
|
-
* Shows collapsed trigger with 2-line display (filename + path).
|
|
18
|
-
* Opens dropdown on click with keyboard navigation support.
|
|
19
|
-
*/
|
|
20
|
-
export declare const ValidationSetSelector: FC<ValidationSetSelectorProps>;
|
|
21
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
interface ValidationSplitSelectorProps {
|
|
3
|
-
/** Current split value (null means no split) */
|
|
4
|
-
value: string | null;
|
|
5
|
-
/** Available splits for the dropdown */
|
|
6
|
-
existingSplits: string[];
|
|
7
|
-
/** Callback when split changes */
|
|
8
|
-
onChange: (split: string | null) => void;
|
|
9
|
-
/** Disable the selector */
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
/** Additional className for the select element */
|
|
12
|
-
className?: string;
|
|
13
|
-
/** Label for "no split" option */
|
|
14
|
-
noSplitLabel?: string;
|
|
15
|
-
/** Label for "new split" option */
|
|
16
|
-
newSplitLabel?: string;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Reusable split selector component with built-in "New Split" modal.
|
|
20
|
-
* Style-agnostic: consumers control styling via className prop.
|
|
21
|
-
*/
|
|
22
|
-
export declare const ValidationSplitSelector: FC<ValidationSplitSelectorProps>;
|
|
23
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { ValidationCase } from '../../../types/api-types';
|
|
3
|
-
interface ValidationSummaryProps {
|
|
4
|
-
cases: ValidationCase[];
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* Displays summary statistics for a validation set in a compact inline format:
|
|
8
|
-
* N cases | splits: [badge] [badge]
|
|
9
|
-
*/
|
|
10
|
-
export declare const ValidationSummary: FC<ValidationSummaryProps>;
|
|
11
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { TranscriptInfo } from '../../../types/api-types';
|
|
2
|
-
/**
|
|
3
|
-
* Hook to fetch transcripts by their IDs using an IN query.
|
|
4
|
-
* Returns a map of transcript_id -> TranscriptInfo for quick lookups.
|
|
5
|
-
* Also returns sourceIds for staleness detection - consumers should only
|
|
6
|
-
* trust lookups when the requested ID was in the sourceIds set.
|
|
7
|
-
*/
|
|
8
|
-
export declare const useTranscriptsByIds: (transcriptsDir: string | undefined, ids: string[]) => {
|
|
9
|
-
data: Map<string, TranscriptInfo> | undefined;
|
|
10
|
-
sourceIds: Set<string> | undefined;
|
|
11
|
-
loading: boolean;
|
|
12
|
-
error: Error | null;
|
|
13
|
-
};
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { ValidationCase } from '../../types/api-types';
|
|
2
|
-
/** Valid file extensions for validation set files */
|
|
3
|
-
export declare const VALIDATION_SET_EXTENSIONS: string[];
|
|
4
|
-
/**
|
|
5
|
-
* Check if a filename has a valid validation set extension.
|
|
6
|
-
*/
|
|
7
|
-
export declare const hasValidationSetExtension: (name: string) => boolean;
|
|
8
|
-
/**
|
|
9
|
-
* Converts a validation case ID to a display string.
|
|
10
|
-
* Handles both single string IDs and composite (array) IDs.
|
|
11
|
-
*/
|
|
12
|
-
export declare const getIdText: (id: string | string[]) => string;
|
|
13
|
-
/**
|
|
14
|
-
* Converts a validation case ID to a unique key for use in Maps/Sets.
|
|
15
|
-
* Uses "|" as separator for composite IDs.
|
|
16
|
-
*/
|
|
17
|
-
export declare const getCaseKey: (id: string | string[]) => string;
|
|
18
|
-
/**
|
|
19
|
-
* Extracts unique label keys from a list of validation cases.
|
|
20
|
-
* Returns sorted array of label key names.
|
|
21
|
-
*/
|
|
22
|
-
export declare const extractUniqueLabels: (cases: ValidationCase[]) => string[];
|
|
23
|
-
/**
|
|
24
|
-
* Extracts unique split values from a list of validation cases.
|
|
25
|
-
* Returns sorted array of non-empty split values.
|
|
26
|
-
*/
|
|
27
|
-
export declare const extractUniqueSplits: (cases: ValidationCase[]) => string[];
|
|
28
|
-
/**
|
|
29
|
-
* Extracts the filename from a URI/path.
|
|
30
|
-
* @param uri - The full URI or path
|
|
31
|
-
* @param stripExtension - If true, removes common validation file extensions
|
|
32
|
-
*/
|
|
33
|
-
export declare const getFilenameFromUri: (uri: string, stripExtension?: boolean) => string;
|
|
34
|
-
/**
|
|
35
|
-
* Extracts the directory portion of a URI (everything before the filename).
|
|
36
|
-
* @param uri - The full URI (e.g., "file:///path/to/file.csv")
|
|
37
|
-
* @returns The directory URI without trailing slash
|
|
38
|
-
*/
|
|
39
|
-
export declare const getDirFromUri: (uri: string) => string;
|
|
40
|
-
/**
|
|
41
|
-
* Generates a new file URI in the same directory as the source with given name.
|
|
42
|
-
* @param sourceUri - The source file URI
|
|
43
|
-
* @param newName - The new filename (without extension)
|
|
44
|
-
* @returns New file URI with .csv extension
|
|
45
|
-
*/
|
|
46
|
-
export declare const generateNewSetUri: (sourceUri: string, newName: string) => string;
|
|
47
|
-
/**
|
|
48
|
-
* Validates a filename for invalid characters.
|
|
49
|
-
* @param name - The filename to validate (without extension)
|
|
50
|
-
* @returns Object with isValid and optional error message
|
|
51
|
-
*/
|
|
52
|
-
export declare const isValidFilename: (name: string) => {
|
|
53
|
-
isValid: boolean;
|
|
54
|
-
error?: string;
|
|
55
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { CSSProperties, FC } from 'react';
|
|
2
|
-
interface AsciinemaPlayerProps {
|
|
3
|
-
id?: string;
|
|
4
|
-
inputUrl: string;
|
|
5
|
-
outputUrl: string;
|
|
6
|
-
timingUrl: string;
|
|
7
|
-
rows?: number;
|
|
8
|
-
cols?: number;
|
|
9
|
-
fit?: string;
|
|
10
|
-
style?: CSSProperties;
|
|
11
|
-
speed?: number;
|
|
12
|
-
autoPlay?: boolean;
|
|
13
|
-
loop?: boolean;
|
|
14
|
-
theme?: string;
|
|
15
|
-
idleTimeLimit?: number;
|
|
16
|
-
className?: string;
|
|
17
|
-
}
|
|
18
|
-
export declare const AsciinemaPlayer: FC<AsciinemaPlayerProps>;
|
|
19
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
export interface AutocompleteInputProps {
|
|
3
|
-
id: string;
|
|
4
|
-
value: string;
|
|
5
|
-
onChange: (value: string) => void;
|
|
6
|
-
onCommit?: () => void;
|
|
7
|
-
onCancel?: () => void;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
placeholder?: string;
|
|
10
|
-
suggestions: Array<string | number | boolean | null>;
|
|
11
|
-
autoFocus?: boolean;
|
|
12
|
-
maxSuggestions?: number;
|
|
13
|
-
charactersBeforeSuggesting?: number;
|
|
14
|
-
maxSuggestionWidth?: number;
|
|
15
|
-
className?: string;
|
|
16
|
-
/** When true, shows a dropdown toggle icon to browse all options */
|
|
17
|
-
allowBrowse?: boolean;
|
|
18
|
-
}
|
|
19
|
-
export declare const AutocompleteInput: FC<AutocompleteInputProps>;
|