@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,291 +0,0 @@
|
|
|
1
|
-
import { Event } from '../../../types/api-types';
|
|
2
|
-
export declare const kSandboxSignalName = "53787D8A-D3FC-426D-B383-9F880B70E4AA";
|
|
3
|
-
/**
|
|
4
|
-
* Normalizes event content
|
|
5
|
-
*/
|
|
6
|
-
export declare const fixupEventStream: (events: Event[], filterPending?: boolean) => ({
|
|
7
|
-
approver: string;
|
|
8
|
-
call: import('../../../types/generated').components["schemas"]["ToolCall"];
|
|
9
|
-
decision: "approve" | "modify" | "reject" | "escalate" | "terminate";
|
|
10
|
-
event: "approval";
|
|
11
|
-
explanation: string | null;
|
|
12
|
-
message: string;
|
|
13
|
-
metadata: {
|
|
14
|
-
[key: string]: unknown;
|
|
15
|
-
} | null;
|
|
16
|
-
modified: import('../../../types/generated').components["schemas"]["ToolCall"] | null;
|
|
17
|
-
pending: boolean | null;
|
|
18
|
-
span_id: string | null;
|
|
19
|
-
timestamp: string;
|
|
20
|
-
uuid: string | null;
|
|
21
|
-
view: import('../../../types/generated').components["schemas"]["ToolCallView"] | null;
|
|
22
|
-
working_start: number;
|
|
23
|
-
} | {
|
|
24
|
-
event: "compaction";
|
|
25
|
-
metadata: {
|
|
26
|
-
[key: string]: unknown;
|
|
27
|
-
} | null;
|
|
28
|
-
pending: boolean | null;
|
|
29
|
-
source: string | null;
|
|
30
|
-
span_id: string | null;
|
|
31
|
-
timestamp: string;
|
|
32
|
-
tokens_after: number | null;
|
|
33
|
-
tokens_before: number | null;
|
|
34
|
-
type: "summary" | "edit" | "trim";
|
|
35
|
-
uuid: string | null;
|
|
36
|
-
working_start: number;
|
|
37
|
-
} | {
|
|
38
|
-
error: import('../../../types/generated').components["schemas"]["EvalError"];
|
|
39
|
-
event: "error";
|
|
40
|
-
metadata: {
|
|
41
|
-
[key: string]: unknown;
|
|
42
|
-
} | null;
|
|
43
|
-
pending: boolean | null;
|
|
44
|
-
span_id: string | null;
|
|
45
|
-
timestamp: string;
|
|
46
|
-
uuid: string | null;
|
|
47
|
-
working_start: number;
|
|
48
|
-
} | {
|
|
49
|
-
event: "sample_init";
|
|
50
|
-
metadata: {
|
|
51
|
-
[key: string]: unknown;
|
|
52
|
-
} | null;
|
|
53
|
-
pending: boolean | null;
|
|
54
|
-
sample: import('../../../types/generated').components["schemas"]["Sample"];
|
|
55
|
-
span_id: string | null;
|
|
56
|
-
state: import('../../../types/generated').components["schemas"]["JsonValue"];
|
|
57
|
-
timestamp: string;
|
|
58
|
-
uuid: string | null;
|
|
59
|
-
working_start: number;
|
|
60
|
-
} | {
|
|
61
|
-
event: "sample_limit";
|
|
62
|
-
limit: number | null;
|
|
63
|
-
message: string;
|
|
64
|
-
metadata: {
|
|
65
|
-
[key: string]: unknown;
|
|
66
|
-
} | null;
|
|
67
|
-
pending: boolean | null;
|
|
68
|
-
span_id: string | null;
|
|
69
|
-
timestamp: string;
|
|
70
|
-
type: "message" | "time" | "working" | "token" | "cost" | "operator" | "custom";
|
|
71
|
-
uuid: string | null;
|
|
72
|
-
working_start: number;
|
|
73
|
-
} | {
|
|
74
|
-
action: "exec" | "read_file" | "write_file";
|
|
75
|
-
cmd: string | null;
|
|
76
|
-
completed: string | null;
|
|
77
|
-
event: "sandbox";
|
|
78
|
-
file: string | null;
|
|
79
|
-
input: string | null;
|
|
80
|
-
metadata: {
|
|
81
|
-
[key: string]: unknown;
|
|
82
|
-
} | null;
|
|
83
|
-
options: {
|
|
84
|
-
[key: string]: import('../../../types/generated').components["schemas"]["JsonValue"];
|
|
85
|
-
} | null;
|
|
86
|
-
output: string | null;
|
|
87
|
-
pending: boolean | null;
|
|
88
|
-
result: number | null;
|
|
89
|
-
span_id: string | null;
|
|
90
|
-
timestamp: string;
|
|
91
|
-
uuid: string | null;
|
|
92
|
-
working_start: number;
|
|
93
|
-
} | {
|
|
94
|
-
changes: import('../../../types/generated').components["schemas"]["JsonChange"][];
|
|
95
|
-
event: "state";
|
|
96
|
-
metadata: {
|
|
97
|
-
[key: string]: unknown;
|
|
98
|
-
} | null;
|
|
99
|
-
pending: boolean | null;
|
|
100
|
-
span_id: string | null;
|
|
101
|
-
timestamp: string;
|
|
102
|
-
uuid: string | null;
|
|
103
|
-
working_start: number;
|
|
104
|
-
} | {
|
|
105
|
-
changes: import('../../../types/generated').components["schemas"]["JsonChange"][];
|
|
106
|
-
event: "store";
|
|
107
|
-
metadata: {
|
|
108
|
-
[key: string]: unknown;
|
|
109
|
-
} | null;
|
|
110
|
-
pending: boolean | null;
|
|
111
|
-
span_id: string | null;
|
|
112
|
-
timestamp: string;
|
|
113
|
-
uuid: string | null;
|
|
114
|
-
working_start: number;
|
|
115
|
-
} | {
|
|
116
|
-
cache: ("read" | "write") | null;
|
|
117
|
-
call: import('../../../types/generated').components["schemas"]["ModelCall"] | null;
|
|
118
|
-
completed: string | null;
|
|
119
|
-
config: import('../../../types/generated').components["schemas"]["GenerateConfig"];
|
|
120
|
-
error: string | null;
|
|
121
|
-
event: "model";
|
|
122
|
-
input: (import('../../../types/generated').components["schemas"]["ChatMessageSystem"] | import('../../../types/generated').components["schemas"]["ChatMessageUser"] | import('../../../types/generated').components["schemas"]["ChatMessageAssistant"] | import('../../../types/generated').components["schemas"]["ChatMessageTool"])[];
|
|
123
|
-
input_refs: [number, number][] | null;
|
|
124
|
-
metadata: {
|
|
125
|
-
[key: string]: unknown;
|
|
126
|
-
} | null;
|
|
127
|
-
model: string;
|
|
128
|
-
output: import('../../../types/generated').components["schemas"]["ModelOutput"];
|
|
129
|
-
pending: boolean | null;
|
|
130
|
-
retries: number | null;
|
|
131
|
-
role: string | null;
|
|
132
|
-
span_id: string | null;
|
|
133
|
-
timestamp: string;
|
|
134
|
-
tool_choice: ("auto" | "any" | "none") | import('../../../types/generated').components["schemas"]["ToolFunction"];
|
|
135
|
-
tools: import('../../../types/generated').components["schemas"]["ToolInfo"][];
|
|
136
|
-
traceback: string | null;
|
|
137
|
-
traceback_ansi: string | null;
|
|
138
|
-
uuid: string | null;
|
|
139
|
-
working_start: number;
|
|
140
|
-
working_time: number | null;
|
|
141
|
-
} | {
|
|
142
|
-
agent: string | null;
|
|
143
|
-
agent_span_id: string | null;
|
|
144
|
-
arguments: {
|
|
145
|
-
[key: string]: import('../../../types/generated').components["schemas"]["JsonValue"];
|
|
146
|
-
};
|
|
147
|
-
completed: string | null;
|
|
148
|
-
error: import('../../../types/generated').components["schemas"]["ToolCallError"] | null;
|
|
149
|
-
event: "tool";
|
|
150
|
-
events: unknown[];
|
|
151
|
-
failed: boolean | null;
|
|
152
|
-
function: string;
|
|
153
|
-
id: string;
|
|
154
|
-
message_id: string | null;
|
|
155
|
-
metadata: {
|
|
156
|
-
[key: string]: unknown;
|
|
157
|
-
} | null;
|
|
158
|
-
pending: boolean | null;
|
|
159
|
-
result: string | number | boolean | import('../../../types/generated').components["schemas"]["ContentText"] | import('../../../types/generated').components["schemas"]["ContentImage"] | import('../../../types/generated').components["schemas"]["ContentAudio"] | import('../../../types/generated').components["schemas"]["ContentVideo"] | import('../../../types/generated').components["schemas"]["ContentDocument"] | (import('../../../types/generated').components["schemas"]["ContentText"] | import('../../../types/generated').components["schemas"]["ContentImage"] | import('../../../types/generated').components["schemas"]["ContentAudio"] | import('../../../types/generated').components["schemas"]["ContentVideo"] | import('../../../types/generated').components["schemas"]["ContentDocument"])[];
|
|
160
|
-
span_id: string | null;
|
|
161
|
-
timestamp: string;
|
|
162
|
-
truncated: [number, number] | null;
|
|
163
|
-
type: "function";
|
|
164
|
-
uuid: string | null;
|
|
165
|
-
view: import('../../../types/generated').components["schemas"]["ToolCallContent"] | null;
|
|
166
|
-
working_start: number;
|
|
167
|
-
working_time: number | null;
|
|
168
|
-
} | {
|
|
169
|
-
event: "input";
|
|
170
|
-
input: string;
|
|
171
|
-
input_ansi: string;
|
|
172
|
-
metadata: {
|
|
173
|
-
[key: string]: unknown;
|
|
174
|
-
} | null;
|
|
175
|
-
pending: boolean | null;
|
|
176
|
-
span_id: string | null;
|
|
177
|
-
timestamp: string;
|
|
178
|
-
uuid: string | null;
|
|
179
|
-
working_start: number;
|
|
180
|
-
} | {
|
|
181
|
-
event: "score";
|
|
182
|
-
intermediate: boolean;
|
|
183
|
-
metadata: {
|
|
184
|
-
[key: string]: unknown;
|
|
185
|
-
} | null;
|
|
186
|
-
model_usage: {
|
|
187
|
-
[key: string]: import('../../../types/generated').components["schemas"]["ModelUsage"];
|
|
188
|
-
} | null;
|
|
189
|
-
pending: boolean | null;
|
|
190
|
-
role_usage: {
|
|
191
|
-
[key: string]: import('../../../types/generated').components["schemas"]["ModelUsage"];
|
|
192
|
-
} | null;
|
|
193
|
-
score: import('../../../types/generated').components["schemas"]["Score"];
|
|
194
|
-
span_id: string | null;
|
|
195
|
-
target: string | string[] | null;
|
|
196
|
-
timestamp: string;
|
|
197
|
-
uuid: string | null;
|
|
198
|
-
working_start: number;
|
|
199
|
-
} | {
|
|
200
|
-
edit: import('../../../types/generated').components["schemas"]["ScoreEdit"];
|
|
201
|
-
event: "score_edit";
|
|
202
|
-
metadata: {
|
|
203
|
-
[key: string]: unknown;
|
|
204
|
-
} | null;
|
|
205
|
-
pending: boolean | null;
|
|
206
|
-
score_name: string;
|
|
207
|
-
span_id: string | null;
|
|
208
|
-
timestamp: string;
|
|
209
|
-
uuid: string | null;
|
|
210
|
-
working_start: number;
|
|
211
|
-
} | {
|
|
212
|
-
event: "logger";
|
|
213
|
-
message: import('../../../types/generated').components["schemas"]["LoggingMessage"];
|
|
214
|
-
metadata: {
|
|
215
|
-
[key: string]: unknown;
|
|
216
|
-
} | null;
|
|
217
|
-
pending: boolean | null;
|
|
218
|
-
span_id: string | null;
|
|
219
|
-
timestamp: string;
|
|
220
|
-
uuid: string | null;
|
|
221
|
-
working_start: number;
|
|
222
|
-
} | {
|
|
223
|
-
data: import('../../../types/generated').components["schemas"]["JsonValue"];
|
|
224
|
-
event: "info";
|
|
225
|
-
metadata: {
|
|
226
|
-
[key: string]: unknown;
|
|
227
|
-
} | null;
|
|
228
|
-
pending: boolean | null;
|
|
229
|
-
source: string | null;
|
|
230
|
-
span_id: string | null;
|
|
231
|
-
timestamp: string;
|
|
232
|
-
uuid: string | null;
|
|
233
|
-
working_start: number;
|
|
234
|
-
} | {
|
|
235
|
-
event: "span_begin";
|
|
236
|
-
id: string;
|
|
237
|
-
metadata: {
|
|
238
|
-
[key: string]: unknown;
|
|
239
|
-
} | null;
|
|
240
|
-
name: string;
|
|
241
|
-
parent_id: string | null;
|
|
242
|
-
pending: boolean | null;
|
|
243
|
-
span_id: string | null;
|
|
244
|
-
timestamp: string;
|
|
245
|
-
type: string | null;
|
|
246
|
-
uuid: string | null;
|
|
247
|
-
working_start: number;
|
|
248
|
-
} | {
|
|
249
|
-
event: "span_end";
|
|
250
|
-
id: string;
|
|
251
|
-
metadata: {
|
|
252
|
-
[key: string]: unknown;
|
|
253
|
-
} | null;
|
|
254
|
-
pending: boolean | null;
|
|
255
|
-
span_id: string | null;
|
|
256
|
-
timestamp: string;
|
|
257
|
-
uuid: string | null;
|
|
258
|
-
working_start: number;
|
|
259
|
-
} | {
|
|
260
|
-
action: "begin" | "end";
|
|
261
|
-
event: "step";
|
|
262
|
-
metadata: {
|
|
263
|
-
[key: string]: unknown;
|
|
264
|
-
} | null;
|
|
265
|
-
name: string;
|
|
266
|
-
pending: boolean | null;
|
|
267
|
-
span_id: string | null;
|
|
268
|
-
timestamp: string;
|
|
269
|
-
type: string | null;
|
|
270
|
-
uuid: string | null;
|
|
271
|
-
working_start: number;
|
|
272
|
-
} | {
|
|
273
|
-
completed: string | null;
|
|
274
|
-
event: "subtask";
|
|
275
|
-
events: unknown[];
|
|
276
|
-
input: {
|
|
277
|
-
[key: string]: unknown;
|
|
278
|
-
};
|
|
279
|
-
metadata: {
|
|
280
|
-
[key: string]: unknown;
|
|
281
|
-
} | null;
|
|
282
|
-
name: string;
|
|
283
|
-
pending: boolean | null;
|
|
284
|
-
result: unknown;
|
|
285
|
-
span_id: string | null;
|
|
286
|
-
timestamp: string;
|
|
287
|
-
type: string | null;
|
|
288
|
-
uuid: string | null;
|
|
289
|
-
working_start: number;
|
|
290
|
-
working_time: number | null;
|
|
291
|
-
})[];
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { EventNode } from '../types';
|
|
2
|
-
export interface TreeNodeVisitor {
|
|
3
|
-
visit: (node: EventNode, parent?: EventNode) => EventNode[];
|
|
4
|
-
flush?: () => EventNode[];
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* Flatten the tree structure into a flat array of EventNode objects
|
|
8
|
-
* Each node in the result will have its children set properly
|
|
9
|
-
* @param eventNodes - The event nodes to flatten
|
|
10
|
-
* @param collapsed - Record indicating which nodes are collapsed
|
|
11
|
-
* @param visitors - Array of visitors to apply to each node
|
|
12
|
-
* @param parentNode - The parent node of the current nodes being processed
|
|
13
|
-
* @returns An array of EventNode objects
|
|
14
|
-
*/
|
|
15
|
-
export declare const flatTree: (eventNodes: EventNode[], collapsed: Record<string, boolean> | null, visitors?: TreeNodeVisitor[], parentNode?: EventNode) => EventNode[];
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { EventType } from '../types';
|
|
2
|
-
export declare const STEP = "step";
|
|
3
|
-
export declare const ACTION_BEGIN = "begin";
|
|
4
|
-
export declare const SPAN_BEGIN = "span_begin";
|
|
5
|
-
export declare const SPAN_END = "span_end";
|
|
6
|
-
export declare const TOOL = "tool";
|
|
7
|
-
export declare const SUBTASK = "subtask";
|
|
8
|
-
export declare const STORE = "store";
|
|
9
|
-
export declare const STATE = "state";
|
|
10
|
-
export declare const TYPE_TOOL = "tool";
|
|
11
|
-
export declare const TYPE_SUBTASK = "subtask";
|
|
12
|
-
export declare const TYPE_SOLVER = "solver";
|
|
13
|
-
export declare const TYPE_SOLVERS = "solvers";
|
|
14
|
-
export declare const TYPE_AGENT = "agent";
|
|
15
|
-
export declare const TYPE_HANDOFF = "handoff";
|
|
16
|
-
export declare const TYPE_SCORERS = "scorers";
|
|
17
|
-
export declare const TYPE_SCORER = "scorer";
|
|
18
|
-
export declare const hasSpans: (events: EventType[]) => boolean;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { ApprovalEvent, CompactionEvent, JsonChange, ErrorEvent, InfoEvent, InputEvent, LoggerEvent, ModelEvent, SampleInitEvent, SampleLimitEvent, SandboxEvent, ScoreEvent, ScoreEditEvent, SpanBeginEvent, SpanEndEvent, StateEvent, StepEvent, StoreEvent, SubtaskEvent, ToolEvent } from '../../types/api-types';
|
|
2
|
-
import { TimelineSpan } from './timeline';
|
|
3
|
-
export interface StateManager {
|
|
4
|
-
scope: string;
|
|
5
|
-
getState(): object;
|
|
6
|
-
initializeState(state: object): void;
|
|
7
|
-
applyChanges(changes: JsonChange[]): object;
|
|
8
|
-
}
|
|
9
|
-
export declare const kTranscriptCollapseScope = "transcript-collapse";
|
|
10
|
-
export declare const kTranscriptOutlineCollapseScope = "transcript-outline";
|
|
11
|
-
export declare const kCollapsibleEventTypes: string[];
|
|
12
|
-
export type EventType = SampleInitEvent | SampleLimitEvent | StateEvent | StoreEvent | ModelEvent | LoggerEvent | InfoEvent | StepEvent | SubtaskEvent | ScoreEvent | ScoreEditEvent | ToolEvent | InputEvent | ErrorEvent | ApprovalEvent | CompactionEvent | SandboxEvent | SpanBeginEvent | SpanEndEvent;
|
|
13
|
-
export declare const eventTypeValues: readonly ["sample_init", "sample_limit", "state", "store", "model", "logger", "info", "step", "subtask", "score", "score_edit", "tool", "input", "error", "approval", "compaction", "sandbox", "span_begin", "span_end"];
|
|
14
|
-
export type EventTypeValue = (typeof eventTypeValues)[number];
|
|
15
|
-
export declare class EventNode<T extends EventType = EventType> {
|
|
16
|
-
id: string;
|
|
17
|
-
event: T;
|
|
18
|
-
children: EventNode<EventType>[];
|
|
19
|
-
depth: number;
|
|
20
|
-
/** The TimelineSpan this node was synthesized from, if any. */
|
|
21
|
-
sourceSpan?: TimelineSpan;
|
|
22
|
-
constructor(id: string, event: T, depth: number);
|
|
23
|
-
}
|
|
24
|
-
export interface TranscriptEventState {
|
|
25
|
-
selectedNav?: string;
|
|
26
|
-
collapsed?: boolean;
|
|
27
|
-
}
|
|
28
|
-
export type TranscriptState = Record<string, TranscriptEventState>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { ModelUsage } from '../../types/api-types';
|
|
3
|
-
interface ModelUsageProps {
|
|
4
|
-
usage: ModelUsage;
|
|
5
|
-
className?: string | string[];
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* Renders the ModelUsagePanel component.
|
|
9
|
-
*/
|
|
10
|
-
export declare const ModelUsagePanel: FC<ModelUsageProps>;
|
|
11
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { FC, ReactNode } from 'react';
|
|
2
|
-
import { ModelUsage } from '../../types/api-types';
|
|
3
|
-
interface TokenTableProps {
|
|
4
|
-
className?: string | string[];
|
|
5
|
-
children?: ReactNode;
|
|
6
|
-
}
|
|
7
|
-
export declare const TokenTable: FC<TokenTableProps>;
|
|
8
|
-
export declare const TokenHeader: () => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
interface TokenRowProps {
|
|
10
|
-
model: string;
|
|
11
|
-
usage: ModelUsage;
|
|
12
|
-
}
|
|
13
|
-
export declare const TokenRow: FC<TokenRowProps>;
|
|
14
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { NavigateProps, NavigateFunction } from 'react-router-dom';
|
|
2
|
-
export declare const navigationLog: (description: string) => void;
|
|
3
|
-
type LoggingNavigateProps = NavigateProps & {
|
|
4
|
-
reason: string;
|
|
5
|
-
};
|
|
6
|
-
export declare const LoggingNavigate: ({ reason, ...props }: LoggingNavigateProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export declare const useLoggingNavigate: (description: string) => NavigateFunction;
|
|
8
|
-
export {};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Sets the document title based on provided segments.
|
|
3
|
-
*
|
|
4
|
-
* Title segments are joined with " - " and the app name is appended.
|
|
5
|
-
* Falsy values (undefined, null, empty string) are filtered out automatically,
|
|
6
|
-
* making it easy to handle loading states.
|
|
7
|
-
*
|
|
8
|
-
* @param segments - Array of title segments, from most specific to least specific.
|
|
9
|
-
* Falsy values are filtered out.
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* ```tsx
|
|
13
|
-
* // Top-level activity: "Scans - Inspect Scout"
|
|
14
|
-
* useDocumentTitle("Scans");
|
|
15
|
-
*
|
|
16
|
-
* // Detail view: "my-scan - Scans - Inspect Scout"
|
|
17
|
-
* useDocumentTitle(scanName, "Scans");
|
|
18
|
-
*
|
|
19
|
-
* // Nested detail: "task-123 - my-scan - Scans - Inspect Scout"
|
|
20
|
-
* useDocumentTitle(taskName, scanName, "Scans");
|
|
21
|
-
*
|
|
22
|
-
* // Loading state: undefined is filtered out → "Scans - Inspect Scout"
|
|
23
|
-
* useDocumentTitle(loadingScanName, "Scans"); // loadingScanName is undefined
|
|
24
|
-
* ```
|
|
25
|
-
*/
|
|
26
|
-
export declare function useDocumentTitle(...segments: Array<string | undefined | null>): void;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { RefCallback } from 'react';
|
|
2
|
-
type DropdownPosition = "above" | "below";
|
|
3
|
-
interface UseDropdownPositionOptions {
|
|
4
|
-
/** Number of options in the dropdown */
|
|
5
|
-
optionCount: number;
|
|
6
|
-
/** Height of each option in pixels (default: 22, from vscode-elements) */
|
|
7
|
-
optionHeight?: number;
|
|
8
|
-
/** Maximum number of visible options before scrolling (default: 10, from vscode-elements) */
|
|
9
|
-
maxVisibleOptions?: number;
|
|
10
|
-
/** Additional padding for the dropdown (default: 8) */
|
|
11
|
-
padding?: number;
|
|
12
|
-
}
|
|
13
|
-
interface UseDropdownPositionResult {
|
|
14
|
-
/** Ref callback to attach to the dropdown container element */
|
|
15
|
-
ref: RefCallback<HTMLElement>;
|
|
16
|
-
/** Computed position for the dropdown: 'above' or 'below' */
|
|
17
|
-
position: DropdownPosition;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Hook that determines optimal dropdown position based on available viewport space.
|
|
21
|
-
*
|
|
22
|
-
* Calculates whether a dropdown should open above or below its trigger element
|
|
23
|
-
* by measuring available space and estimated dropdown height. Updates on window
|
|
24
|
-
* resize and scroll events.
|
|
25
|
-
*
|
|
26
|
-
* @param options - Configuration for dropdown sizing
|
|
27
|
-
* @returns Object containing ref callback and computed position
|
|
28
|
-
*
|
|
29
|
-
* @example
|
|
30
|
-
* ```tsx
|
|
31
|
-
* const { ref, position } = useDropdownPosition({ optionCount: 10 });
|
|
32
|
-
* return (
|
|
33
|
-
* <div ref={ref}>
|
|
34
|
-
* <Dropdown position={position} />
|
|
35
|
-
* </div>
|
|
36
|
-
* );
|
|
37
|
-
* ```
|
|
38
|
-
*/
|
|
39
|
-
export declare function useDropdownPosition(options: UseDropdownPositionOptions): UseDropdownPositionResult;
|
|
40
|
-
export {};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { AsyncData } from '../utils/asyncData';
|
|
2
|
-
/**
|
|
3
|
-
* The `useMapAsyncData` function is a custom React hook that transforms the data
|
|
4
|
-
* in an `AsyncData` object or an array of `AsyncData` objects. It uses the `useMemo`
|
|
5
|
-
* hook to avoid unnecessary recalculations.
|
|
6
|
-
*
|
|
7
|
-
* @template TBefore - The type of the data before the transformation
|
|
8
|
-
* @template TAfter - The type of the data after the transformation
|
|
9
|
-
* @param {AsyncData<TBefore> | AsyncData<TBefore>[]} input - The `AsyncData` object(s)
|
|
10
|
-
* to transform
|
|
11
|
-
* @param {(before: TBefore) => TAfter} transform - The function to transform the
|
|
12
|
-
* data
|
|
13
|
-
* @param {(err: Error) => Error} [errorTransform] - The function to transform any
|
|
14
|
-
* errors (optional)
|
|
15
|
-
* @returns {AsyncData<TAfter> | AsyncData<TAfter>[]} - The transformed `AsyncData`
|
|
16
|
-
* object(s)
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* ```typescript
|
|
20
|
-
* const asyncData = { loading: false, data: 5 };
|
|
21
|
-
* const transform = (num: number) => num * 2;
|
|
22
|
-
* const result = useMapAsyncData(asyncData, transform);
|
|
23
|
-
* console.log(result); // { loading: false, data: 10 }
|
|
24
|
-
* ```
|
|
25
|
-
*/
|
|
26
|
-
export declare function useMapAsyncData<TBefore, TAfter>(input: AsyncData<TBefore>, transform: (before: TBefore) => TAfter, errorTransform?: (err: Error) => Error): AsyncData<TAfter>;
|
|
27
|
-
export declare function useMapAsyncData<TBefore, TAfter>(input: AsyncData<TBefore>[], transform: (before: TBefore) => TAfter, errorTransform?: (err: Error) => Error): AsyncData<TAfter>[];
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Custom hook that tracks the previous value of a given input.
|
|
3
|
-
*
|
|
4
|
-
* This hook stores the previous value of the input parameter across renders,
|
|
5
|
-
* making it useful for comparing current and previous states, detecting changes,
|
|
6
|
-
* or implementing undo functionality.
|
|
7
|
-
*
|
|
8
|
-
* @template T - The type of the value being tracked
|
|
9
|
-
* @param value - The current value to track
|
|
10
|
-
* @returns The previous value, or undefined if this is the first render
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```tsx
|
|
14
|
-
* const MyComponent = ({ count }: { count: number }) => {
|
|
15
|
-
* const previousCount = usePreviousValue(count);
|
|
16
|
-
*
|
|
17
|
-
* return (
|
|
18
|
-
* <div>
|
|
19
|
-
* Current: {count}, Previous: {previousCount ?? 'none'}
|
|
20
|
-
* </div>
|
|
21
|
-
* );
|
|
22
|
-
* };
|
|
23
|
-
* ```
|
|
24
|
-
*/
|
|
25
|
-
export declare const usePreviousValue: <T>(value: T) => T | undefined;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { RefObject } from 'react';
|
|
2
|
-
interface UseScrollDirectionOptions {
|
|
3
|
-
/** Minimum px delta before recognizing a direction change. Default: 15 */
|
|
4
|
-
threshold?: number;
|
|
5
|
-
/** Lock duration (ms) after a state change, matching the CSS transition.
|
|
6
|
-
* Prevents the height change from the collapse/expand animation from
|
|
7
|
-
* immediately triggering the opposite direction. Default: 250 */
|
|
8
|
-
transitionLockMs?: number;
|
|
9
|
-
/** When current value is true, all scroll events are ignored and the
|
|
10
|
-
* direction anchor is reset when suppression ends. Useful for
|
|
11
|
-
* programmatic scrolls (e.g. outline click → scrollToEvent). */
|
|
12
|
-
suppressRef?: React.RefObject<boolean>;
|
|
13
|
-
}
|
|
14
|
-
interface UseScrollDirectionResult {
|
|
15
|
-
/** True when scrolling down past threshold while scrollTop > 10px */
|
|
16
|
-
hidden: boolean;
|
|
17
|
-
/** Call before a programmatic scroll or layout change that will shift
|
|
18
|
-
* scrollTop without the user actually scrolling. Resets the direction
|
|
19
|
-
* anchor to the current scrollTop and engages the transition lock so
|
|
20
|
-
* the resulting scroll-position shift is ignored.
|
|
21
|
-
*
|
|
22
|
-
* @param debounce When true, each scroll event that arrives during the
|
|
23
|
-
* lock resets the expiry timer so the lock stays active until scrolling
|
|
24
|
-
* stops (useful for Virtuoso multi-pass settling). When false (default),
|
|
25
|
-
* the lock uses a fixed timeout matching the CSS transition duration. */
|
|
26
|
-
resetAnchor: (debounce?: boolean) => void;
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Tracks scroll direction on a container element with hysteresis to prevent
|
|
30
|
-
* jitter. Returns a `hidden` boolean suitable for driving headroom-style
|
|
31
|
-
* show/hide behaviors.
|
|
32
|
-
*
|
|
33
|
-
* Uses an anchor-based threshold: the direction only changes after the user
|
|
34
|
-
* scrolls at least `threshold` px from the last recognized change point.
|
|
35
|
-
* After each state change, updates are suppressed for `transitionLockMs` to
|
|
36
|
-
* let CSS animations settle without triggering feedback loops.
|
|
37
|
-
*
|
|
38
|
-
* The scroll container may be conditionally rendered (ref starts as null).
|
|
39
|
-
* An internal MutationObserver on `document.body` detects when the element
|
|
40
|
-
* appears so the scroll listener is attached promptly.
|
|
41
|
-
*/
|
|
42
|
-
export declare function useScrollDirection(scrollRef: RefObject<HTMLElement | null>, options?: UseScrollDirectionOptions): UseScrollDirectionResult;
|
|
43
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export interface UpdateStateMessage {
|
|
2
|
-
type: "updateState";
|
|
3
|
-
url: string;
|
|
4
|
-
scanner?: string;
|
|
5
|
-
extensionProtocolVersion?: number;
|
|
6
|
-
}
|
|
7
|
-
export interface UpdateRouteMessage {
|
|
8
|
-
type: "updateRoute";
|
|
9
|
-
route: string;
|
|
10
|
-
mode: "full" | "single-file";
|
|
11
|
-
extensionProtocolVersion?: number;
|
|
12
|
-
}
|
|
13
|
-
export type AppMessage = UpdateStateMessage | UpdateRouteMessage;
|
|
14
|
-
/**
|
|
15
|
-
* Checks for embedded state in the HTML document and parses it.
|
|
16
|
-
* Returns scan directory and name if embedded state exists and is valid.
|
|
17
|
-
*/
|
|
18
|
-
export declare function getEmbeddedAppMessage(): AppMessage | null;
|
|
19
|
-
export declare const useWindowMessaging: () => void;
|
package/lib/src/index.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { App } from './App';
|
|
2
|
-
export { apiScoutServer } from './api/api-scout-server';
|
|
3
|
-
export type { HeaderProvider } from './api/api-scout-server';
|
|
4
|
-
export type { ScoutApiV2 } from './api/api';
|
|
5
|
-
export { ApiProvider, StoreProvider, createStore } from './state/store';
|
package/lib/src/main.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Condition, OrderByModel, ScalarValue } from './types';
|
|
2
|
-
export declare class Column {
|
|
3
|
-
private readonly name;
|
|
4
|
-
constructor(name: string);
|
|
5
|
-
eq(value: ScalarValue): Condition;
|
|
6
|
-
ne(value: ScalarValue): Condition;
|
|
7
|
-
lt(value: ScalarValue): Condition;
|
|
8
|
-
lte(value: ScalarValue): Condition;
|
|
9
|
-
gt(value: ScalarValue): Condition;
|
|
10
|
-
gte(value: ScalarValue): Condition;
|
|
11
|
-
in(values: ScalarValue[]): Condition;
|
|
12
|
-
notIn(values: ScalarValue[]): Condition;
|
|
13
|
-
like(pattern: string): Condition;
|
|
14
|
-
notLike(pattern: string): Condition;
|
|
15
|
-
ilike(pattern: string): Condition;
|
|
16
|
-
notIlike(pattern: string): Condition;
|
|
17
|
-
isNull(): Condition;
|
|
18
|
-
isNotNull(): Condition;
|
|
19
|
-
between(low: ScalarValue, high: ScalarValue): Condition;
|
|
20
|
-
notBetween(low: ScalarValue, high: ScalarValue): Condition;
|
|
21
|
-
asc(): OrderByModel;
|
|
22
|
-
desc(): OrderByModel;
|
|
23
|
-
}
|