@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,13 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { SpanBeginEvent } from '../../types/api-types';
|
|
3
|
-
import { EventNode, EventType } from './types';
|
|
4
|
-
interface SpanEventViewProps {
|
|
5
|
-
eventNode: EventNode<SpanBeginEvent>;
|
|
6
|
-
children: EventNode<EventType>[];
|
|
7
|
-
className?: string | string[];
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Renders the SpanEventView component.
|
|
11
|
-
*/
|
|
12
|
-
export declare const SpanEventView: FC<SpanEventViewProps>;
|
|
13
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { StepEvent } from '../../types/api-types';
|
|
3
|
-
import { EventNode, EventType } from './types';
|
|
4
|
-
interface StepEventViewProps {
|
|
5
|
-
eventNode: EventNode<StepEvent>;
|
|
6
|
-
children: EventNode<EventType>[];
|
|
7
|
-
className?: string | string[];
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Renders the StepEventView component.
|
|
11
|
-
*/
|
|
12
|
-
export declare const StepEventView: FC<StepEventViewProps>;
|
|
13
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { SubtaskEvent } from '../../types/api-types';
|
|
3
|
-
import { EventNode, EventType } from './types';
|
|
4
|
-
interface SubtaskEventViewProps {
|
|
5
|
-
eventNode: EventNode<SubtaskEvent>;
|
|
6
|
-
children: EventNode<EventType>[];
|
|
7
|
-
className?: string | string[];
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Renders the StateEventView component.
|
|
11
|
-
*/
|
|
12
|
-
export declare const SubtaskEventView: FC<SubtaskEventViewProps>;
|
|
13
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Selects a swimlane row by span ID. The provider maps the ID to the
|
|
3
|
-
* correct (name, spanIndex) pair needed by the timeline state.
|
|
4
|
-
*/
|
|
5
|
-
export type TimelineSelectByIdFn = (spanId: string) => void;
|
|
6
|
-
export declare const TimelineSelectContext: import('react').Context<TimelineSelectByIdFn | null>;
|
|
7
|
-
export declare function useTimelineSelect(): TimelineSelectByIdFn | null;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { ToolEvent } from '../../types/api-types';
|
|
3
|
-
import { EventNode, EventType } from './types';
|
|
4
|
-
interface ToolEventViewProps {
|
|
5
|
-
eventNode: EventNode<ToolEvent>;
|
|
6
|
-
children: EventNode<EventType>[];
|
|
7
|
-
className?: string | string[];
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Renders the ToolEventView component.
|
|
11
|
-
*/
|
|
12
|
-
export declare const ToolEventView: FC<ToolEventViewProps>;
|
|
13
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { Event } from '../../types/api-types';
|
|
3
|
-
import { EventNode, EventType } from './types';
|
|
4
|
-
interface TranscriptViewProps {
|
|
5
|
-
id: string;
|
|
6
|
-
events?: Event[];
|
|
7
|
-
nodeFilter?: (node: EventNode<EventType>[]) => EventNode<EventType>[];
|
|
8
|
-
scrollRef?: React.RefObject<HTMLDivElement | null>;
|
|
9
|
-
initialEventId?: string | null;
|
|
10
|
-
className?: string | string[];
|
|
11
|
-
}
|
|
12
|
-
export declare const TranscriptView: FC<TranscriptViewProps>;
|
|
13
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { EventNode, EventType } from './types';
|
|
2
|
-
interface TranscriptViewNodesProps {
|
|
3
|
-
id: string;
|
|
4
|
-
eventNodes: EventNode[];
|
|
5
|
-
defaultCollapsedIds: Record<string, boolean>;
|
|
6
|
-
nodeFilter?: (node: EventNode<EventType>[]) => EventNode<EventType>[];
|
|
7
|
-
scrollRef?: React.RefObject<HTMLDivElement | null>;
|
|
8
|
-
initialEventId?: string | null;
|
|
9
|
-
offsetTop?: number;
|
|
10
|
-
className?: string | string[];
|
|
11
|
-
}
|
|
12
|
-
export interface TranscriptViewNodesHandle {
|
|
13
|
-
/** Scroll to an event by its ID. */
|
|
14
|
-
scrollToEvent: (eventId: string) => void;
|
|
15
|
-
/** Scroll to a flattened-list index. */
|
|
16
|
-
scrollToIndex: (index: number) => void;
|
|
17
|
-
}
|
|
18
|
-
export declare const TranscriptViewNodes: import('react').ForwardRefExoticComponent<TranscriptViewNodesProps & import('react').RefAttributes<TranscriptViewNodesHandle>>;
|
|
19
|
-
export {};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { FC, RefObject } from 'react';
|
|
2
|
-
import { VirtuosoHandle } from 'react-virtuoso';
|
|
3
|
-
import { EventNode } from './types';
|
|
4
|
-
interface TranscriptVirtualListProps {
|
|
5
|
-
id: string;
|
|
6
|
-
eventNodes: EventNode[];
|
|
7
|
-
listHandle: RefObject<VirtuosoHandle | null>;
|
|
8
|
-
initialEventId?: string | null;
|
|
9
|
-
offsetTop?: number;
|
|
10
|
-
scrollRef?: RefObject<HTMLDivElement | null>;
|
|
11
|
-
running?: boolean;
|
|
12
|
-
className?: string | string[];
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Renders the Transcript Virtual List.
|
|
16
|
-
*/
|
|
17
|
-
export declare const TranscriptVirtualList: FC<TranscriptVirtualListProps>;
|
|
18
|
-
export interface EventNodeContext {
|
|
19
|
-
hasToolEvents?: boolean;
|
|
20
|
-
}
|
|
21
|
-
interface RenderedEventNodeProps {
|
|
22
|
-
node: EventNode;
|
|
23
|
-
next?: EventNode;
|
|
24
|
-
className?: string | string[];
|
|
25
|
-
context?: EventNodeContext;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Renders the event based on its type.
|
|
29
|
-
*/
|
|
30
|
-
export declare const RenderedEventNode: FC<RenderedEventNodeProps>;
|
|
31
|
-
export {};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { FC, RefObject } from 'react';
|
|
2
|
-
import { VirtuosoHandle } from 'react-virtuoso';
|
|
3
|
-
import { EventNode } from './types';
|
|
4
|
-
interface TranscriptVirtualListComponentProps {
|
|
5
|
-
id: string;
|
|
6
|
-
listHandle: RefObject<VirtuosoHandle | null>;
|
|
7
|
-
eventNodes: EventNode[];
|
|
8
|
-
initialEventId?: string | null;
|
|
9
|
-
offsetTop?: number;
|
|
10
|
-
scrollRef?: RefObject<HTMLDivElement | null>;
|
|
11
|
-
running?: boolean;
|
|
12
|
-
className?: string | string[];
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Renders the Transcript component.
|
|
16
|
-
*/
|
|
17
|
-
export declare const TranscriptVirtualListComponent: FC<TranscriptVirtualListComponentProps>;
|
|
18
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
interface EventNavProps {
|
|
3
|
-
target: string;
|
|
4
|
-
title: string;
|
|
5
|
-
selectedNav: string;
|
|
6
|
-
setSelectedNav: (nav: string) => void;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* Component to render a single navigation item.
|
|
10
|
-
*/
|
|
11
|
-
export declare const EventNav: FC<EventNavProps>;
|
|
12
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
interface EventNavsProps {
|
|
3
|
-
navs: Array<{
|
|
4
|
-
id: string;
|
|
5
|
-
title: string;
|
|
6
|
-
target: string;
|
|
7
|
-
}>;
|
|
8
|
-
selectedNav: string;
|
|
9
|
-
setSelectedNav: (target: string) => void;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Component to render navigation items.
|
|
13
|
-
*/
|
|
14
|
-
export declare const EventNavs: FC<EventNavsProps>;
|
|
15
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { FC, ReactNode } from 'react';
|
|
2
|
-
interface EventPanelProps {
|
|
3
|
-
eventNodeId: string;
|
|
4
|
-
className?: string | string[];
|
|
5
|
-
title?: string;
|
|
6
|
-
subTitle?: string;
|
|
7
|
-
text?: string;
|
|
8
|
-
icon?: string;
|
|
9
|
-
children?: ReactNode | ReactNode[];
|
|
10
|
-
childIds?: string[];
|
|
11
|
-
collapsibleContent?: boolean;
|
|
12
|
-
collapseControl?: "top" | "bottom";
|
|
13
|
-
/** Use the muted background style (for span/step collapsible regions). */
|
|
14
|
-
muted?: boolean;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Renders the StateEventView component.
|
|
18
|
-
*/
|
|
19
|
-
export declare const EventPanel: FC<EventPanelProps>;
|
|
20
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { FC, ReactNode } from 'react';
|
|
2
|
-
interface EventRowProps {
|
|
3
|
-
title: string;
|
|
4
|
-
icon: string;
|
|
5
|
-
className?: string | string[];
|
|
6
|
-
children?: ReactNode | ReactNode[];
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* Renders the EventRow component.
|
|
10
|
-
*/
|
|
11
|
-
export declare const EventRow: FC<EventRowProps>;
|
|
12
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { FC, ReactNode } from 'react';
|
|
2
|
-
interface EventSectionProps {
|
|
3
|
-
title: string;
|
|
4
|
-
children: ReactNode;
|
|
5
|
-
copyContent?: string;
|
|
6
|
-
className?: string | string[];
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* Renders the Event Section component.
|
|
10
|
-
*/
|
|
11
|
-
export declare const EventSection: FC<EventSectionProps>;
|
|
12
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
interface EventTimingPanelProps {
|
|
3
|
-
timestamp: string;
|
|
4
|
-
completed?: string | null;
|
|
5
|
-
working_start?: number | null;
|
|
6
|
-
working_time?: number | null;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* Renders the ModelUsagePanel component.
|
|
10
|
-
*/
|
|
11
|
-
export declare const EventTimingPanel: FC<EventTimingPanelProps>;
|
|
12
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useCollapseTranscriptEvent: (scope: string, id: string) => [boolean, (collapsed: boolean) => void];
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { TimelineSpan } from '../../../components/transcript/timeline';
|
|
2
|
-
import { Event } from '../../../types/api-types';
|
|
3
|
-
import { EventNode, EventType } from '../types';
|
|
4
|
-
export declare const useEventNodes: (events: Event[], running: boolean, sourceSpans?: ReadonlyMap<string, TimelineSpan>) => {
|
|
5
|
-
eventNodes: EventNode<EventType>[];
|
|
6
|
-
defaultCollapsedIds: Record<string, true>;
|
|
7
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { FC, ReactNode } from 'react';
|
|
2
|
-
import { EventNode } from '../types';
|
|
3
|
-
export interface OutlineRowProps {
|
|
4
|
-
node: EventNode;
|
|
5
|
-
collapseScope: string;
|
|
6
|
-
running?: boolean;
|
|
7
|
-
selected?: boolean;
|
|
8
|
-
getEventUrl?: (eventId: string) => string | undefined;
|
|
9
|
-
onSelect?: (nodeId: string) => void;
|
|
10
|
-
/** Called when a URL isn't available but the user clicks to navigate to an event. */
|
|
11
|
-
onNavigateToEvent?: (eventId: string) => void;
|
|
12
|
-
/** Depths that have at least one toggle chevron. Controls column reservation per-depth. */
|
|
13
|
-
depthsWithToggles?: ReadonlySet<number>;
|
|
14
|
-
/** Depths that have at least one icon. Controls column reservation per-depth. */
|
|
15
|
-
depthsWithIcons?: ReadonlySet<number>;
|
|
16
|
-
}
|
|
17
|
-
export declare const OutlineRow: FC<OutlineRowProps>;
|
|
18
|
-
export declare const iconForNode: (node: EventNode) => string | undefined;
|
|
19
|
-
export declare const summarizeNode: (node: EventNode) => ReactNode;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { CSSProperties, FC, RefObject } from 'react';
|
|
2
|
-
import { EventNode } from '../types';
|
|
3
|
-
interface TranscriptOutlineProps {
|
|
4
|
-
eventNodes: EventNode[];
|
|
5
|
-
defaultCollapsedIds: Record<string, boolean>;
|
|
6
|
-
running?: boolean;
|
|
7
|
-
className?: string | string[];
|
|
8
|
-
scrollRef?: RefObject<HTMLDivElement | null>;
|
|
9
|
-
style?: CSSProperties;
|
|
10
|
-
/** Name of the agent/subagent currently being displayed. Shown as a static header. */
|
|
11
|
-
agentName?: string;
|
|
12
|
-
/** Reports whether the outline has displayable nodes after filtering. */
|
|
13
|
-
onHasNodesChange?: (hasNodes: boolean) => void;
|
|
14
|
-
/** Reports the ideal width (in px) for the outline column. */
|
|
15
|
-
onWidthChange?: (width: number) => void;
|
|
16
|
-
/** Called when user clicks an outline item but URL-based navigation is unavailable. */
|
|
17
|
-
onNavigateToEvent?: (eventId: string) => void;
|
|
18
|
-
/** Offset from the top of the scroll container where visible content begins (e.g. sticky header height). */
|
|
19
|
-
scrollTrackOffset?: number;
|
|
20
|
-
}
|
|
21
|
-
export declare const TranscriptOutline: FC<TranscriptOutlineProps>;
|
|
22
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { EventNode } from '../types';
|
|
2
|
-
export declare const removeNodeVisitor: (event: string) => {
|
|
3
|
-
visit: (node: EventNode) => EventNode[];
|
|
4
|
-
};
|
|
5
|
-
export declare const removeStepSpanNameVisitor: (name: string) => {
|
|
6
|
-
visit: (node: EventNode) => EventNode[];
|
|
7
|
-
};
|
|
8
|
-
export declare const noScorerChildren: () => {
|
|
9
|
-
visit: (node: EventNode) => EventNode[];
|
|
10
|
-
};
|
|
11
|
-
export declare const makeTurns: (eventNodes: EventNode[]) => EventNode[];
|
|
12
|
-
export declare const collapseTurns: (eventNodes: EventNode[]) => EventNode[];
|
|
13
|
-
export declare const collapseScoring: (eventNodes: EventNode[]) => EventNode[];
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { EventNode } from '../types';
|
|
2
|
-
/**
|
|
3
|
-
* Computes the ideal outline column width by rendering labels into a hidden
|
|
4
|
-
* DOM container that mirrors the real outline structure (same CSS-module
|
|
5
|
-
* classes and inline styles), then reading its natural width.
|
|
6
|
-
*
|
|
7
|
-
* Result is clamped to [kMinWidth, kMaxWidth] px.
|
|
8
|
-
*/
|
|
9
|
-
export declare function useOutlineWidth(outlineNodes: EventNode[], _font?: string, agentName?: string, depthsWithToggles?: ReadonlySet<number>, depthsWithIcons?: ReadonlySet<number>): number;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { TimelineSpan } from './timeline';
|
|
2
|
-
export interface ResolvedMessageEvent {
|
|
3
|
-
/** The event/node ID to scroll to in the visible event list. */
|
|
4
|
-
eventId: string;
|
|
5
|
-
/**
|
|
6
|
-
* If non-null, the immediate child agent span that must be selected first.
|
|
7
|
-
* The UI selects this span's swimlane row (which changes the visible
|
|
8
|
-
* event list), then scrolls to `eventId` within it.
|
|
9
|
-
*/
|
|
10
|
-
agentSpanId: string | null;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Resolves a message ID to the best matching event in the timeline tree.
|
|
14
|
-
*
|
|
15
|
-
* Returns the event/node ID to scroll to and, if the match is inside a child
|
|
16
|
-
* agent span, the agent span ID to select first. Returns undefined if no
|
|
17
|
-
* match is found.
|
|
18
|
-
*/
|
|
19
|
-
export declare function resolveMessageToEvent(messageId: string, root: TimelineSpan): ResolvedMessageEvent | undefined;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
interface StateDiffViewProps {
|
|
3
|
-
before: object;
|
|
4
|
-
after: object;
|
|
5
|
-
className?: string | string[];
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* Renders a view displaying a list of state changes.
|
|
9
|
-
*/
|
|
10
|
-
export declare const StateDiffView: FC<StateDiffViewProps>;
|
|
11
|
-
export {};
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { FC, JSX } from 'react';
|
|
2
|
-
import { JsonChange } from '../../../types/api-types';
|
|
3
|
-
interface Signature {
|
|
4
|
-
remove: string[];
|
|
5
|
-
replace: string[];
|
|
6
|
-
add: string[];
|
|
7
|
-
}
|
|
8
|
-
interface ChangeType {
|
|
9
|
-
type: string;
|
|
10
|
-
signature?: Signature;
|
|
11
|
-
match?: (changes: JsonChange[]) => boolean;
|
|
12
|
-
render: (changes: JsonChange[], state: Record<string, unknown>) => JSX.Element;
|
|
13
|
-
}
|
|
14
|
-
export declare const RenderableChangeTypes: ChangeType[];
|
|
15
|
-
export declare const StoreSpecificRenderableTypes: ChangeType[];
|
|
16
|
-
interface ToolParameters {
|
|
17
|
-
type: string;
|
|
18
|
-
properties: {
|
|
19
|
-
code: ToolProperty;
|
|
20
|
-
};
|
|
21
|
-
required: string[];
|
|
22
|
-
}
|
|
23
|
-
interface ToolProperty {
|
|
24
|
-
type: string;
|
|
25
|
-
description: string;
|
|
26
|
-
}
|
|
27
|
-
interface ToolDefinition {
|
|
28
|
-
name: string;
|
|
29
|
-
description: string;
|
|
30
|
-
parameters?: ToolParameters;
|
|
31
|
-
}
|
|
32
|
-
interface ToolsProps {
|
|
33
|
-
toolDefinitions: ToolDefinition[];
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* Renders a list of tool components based on the provided tool definitions.
|
|
37
|
-
*/
|
|
38
|
-
export declare const Tools: FC<ToolsProps>;
|
|
39
|
-
interface ToolProps {
|
|
40
|
-
toolName: string;
|
|
41
|
-
toolArgs?: string[];
|
|
42
|
-
toolDesc?: string;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Renders a single tool component.
|
|
46
|
-
*/
|
|
47
|
-
export declare const Tool: FC<ToolProps>;
|
|
48
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { StateEvent, StoreEvent } from '../../../types/api-types';
|
|
3
|
-
import { EventNode } from '../types';
|
|
4
|
-
interface StateEventViewProps {
|
|
5
|
-
eventNode: EventNode<StateEvent | StoreEvent>;
|
|
6
|
-
isStore?: boolean;
|
|
7
|
-
className?: string | string[];
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Renders the StateEventView component.
|
|
11
|
-
*/
|
|
12
|
-
export declare const StateEventView: FC<StateEventViewProps>;
|
|
13
|
-
export {};
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
import { Event, ServerTimeline } from '../../types/api-types';
|
|
2
|
-
/**
|
|
3
|
-
* Base interface for computed properties on all timeline nodes.
|
|
4
|
-
*/
|
|
5
|
-
interface TimelineNode {
|
|
6
|
-
startTime: Date;
|
|
7
|
-
endTime: Date;
|
|
8
|
-
totalTokens: number;
|
|
9
|
-
idleTime: number;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Wraps a single Event with computed timing and token properties.
|
|
13
|
-
*/
|
|
14
|
-
export interface TimelineEvent extends TimelineNode {
|
|
15
|
-
type: "event";
|
|
16
|
-
event: Event;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* A span of execution — agent, scorer, tool, or root.
|
|
20
|
-
*/
|
|
21
|
-
export interface TimelineSpan extends TimelineNode {
|
|
22
|
-
type: "span";
|
|
23
|
-
id: string;
|
|
24
|
-
name: string;
|
|
25
|
-
spanType: string | null;
|
|
26
|
-
content: (TimelineEvent | TimelineSpan)[];
|
|
27
|
-
branches: TimelineBranch[];
|
|
28
|
-
description?: string;
|
|
29
|
-
utility: boolean;
|
|
30
|
-
agentResult?: string;
|
|
31
|
-
outline?: Outline;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* A discarded alternative path from a branch point.
|
|
35
|
-
*/
|
|
36
|
-
export interface TimelineBranch extends TimelineNode {
|
|
37
|
-
type: "branch";
|
|
38
|
-
forkedAt: string;
|
|
39
|
-
content: (TimelineEvent | TimelineSpan)[];
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* A node in an agent's outline, referencing an event by UUID.
|
|
43
|
-
*/
|
|
44
|
-
export interface OutlineNode {
|
|
45
|
-
event: string;
|
|
46
|
-
children?: OutlineNode[];
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* Hierarchical outline of events for an agent.
|
|
50
|
-
*/
|
|
51
|
-
export interface Outline {
|
|
52
|
-
nodes: OutlineNode[];
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* A named timeline view over a transcript.
|
|
56
|
-
*
|
|
57
|
-
* Multiple timelines allow different interpretations of the same event
|
|
58
|
-
* stream — e.g. a default agent-centric view alongside an alternative
|
|
59
|
-
* grouping or filtered view.
|
|
60
|
-
*/
|
|
61
|
-
export interface Timeline {
|
|
62
|
-
name: string;
|
|
63
|
-
description: string;
|
|
64
|
-
root: TimelineSpan;
|
|
65
|
-
}
|
|
66
|
-
/**
|
|
67
|
-
* Convert a server-provided Timeline (snake_case) to the client-side Timeline
|
|
68
|
-
* (camelCase with computed Date/token/idle properties).
|
|
69
|
-
*
|
|
70
|
-
* Server timelines store event references as UUID strings. The `events` array
|
|
71
|
-
* is used to resolve these references to full Event objects.
|
|
72
|
-
*/
|
|
73
|
-
export declare function convertServerTimeline(server: ServerTimeline, events: Event[]): Timeline;
|
|
74
|
-
/**
|
|
75
|
-
* Compute idle time using gap-based detection between children.
|
|
76
|
-
*
|
|
77
|
-
* Any gap > 5 min between consecutive children (sorted by startTime)
|
|
78
|
-
* is counted as idle. Children's own idleTime is summed recursively.
|
|
79
|
-
*/
|
|
80
|
-
export declare function computeIdleTime(content: TimelineNode[], startTime: Date, endTime: Date): number;
|
|
81
|
-
/**
|
|
82
|
-
* Build a Timeline from a flat event list.
|
|
83
|
-
*
|
|
84
|
-
* Transforms a flat event stream into a hierarchical Timeline tree
|
|
85
|
-
* with agent-centric interpretation. The pipeline has two phases:
|
|
86
|
-
*
|
|
87
|
-
* **Phase 1 — Structure extraction:**
|
|
88
|
-
*
|
|
89
|
-
* Parses span_begin/span_end events into a tree, then looks for
|
|
90
|
-
* top-level phase spans ("init", "solvers", "scorers"):
|
|
91
|
-
* - If present, partitions events into init (setup), agent (solvers),
|
|
92
|
-
* and scoring sections.
|
|
93
|
-
* - If absent, treats the entire event stream as the agent.
|
|
94
|
-
*
|
|
95
|
-
* **Phase 2 — Agent classification:**
|
|
96
|
-
*
|
|
97
|
-
* Within the agent section, spans are classified as agents or unrolled:
|
|
98
|
-
* - type="agent" → TimelineSpan (spanType="agent")
|
|
99
|
-
* - type="solver" → TimelineSpan (spanType="agent")
|
|
100
|
-
* - type="tool" + ModelEvents → TimelineSpan (spanType="agent")
|
|
101
|
-
* - ToolEvent with agent field → TimelineSpan (spanType="agent")
|
|
102
|
-
* - type="tool" (no models) → Unrolled into parent
|
|
103
|
-
* - Any other span type → Unrolled into parent
|
|
104
|
-
*
|
|
105
|
-
* "Unrolled" means the span wrapper is removed and its child events
|
|
106
|
-
* dissolve into the parent's content list.
|
|
107
|
-
*
|
|
108
|
-
* **Phase 3 — Post-processing passes:**
|
|
109
|
-
* - Utility event wrapping (bridge-based agents with foreign prompts)
|
|
110
|
-
* - Utility agent classification (single-turn, different system prompt)
|
|
111
|
-
* - Recursive branch classification
|
|
112
|
-
*/
|
|
113
|
-
/**
|
|
114
|
-
* Returns the pre-extracted agent result for a span.
|
|
115
|
-
* Results are extracted during timeline building by `extractAgentResults()`.
|
|
116
|
-
*/
|
|
117
|
-
export declare function getSpanToolResult(span: TimelineSpan): string | undefined;
|
|
118
|
-
/**
|
|
119
|
-
* Derive a display label for a utility agent span.
|
|
120
|
-
*
|
|
121
|
-
* Synthetic utility spans created by `wrapUtilityEvents` are named "utility"
|
|
122
|
-
* which is redundant when paired with a "utility:" prefix. For these, extract
|
|
123
|
-
* the model name from the inner model event. For classified utility agents
|
|
124
|
-
* (real spans with meaningful names like "explore"), keep the existing name.
|
|
125
|
-
*/
|
|
126
|
-
export declare function getUtilityAgentLabel(span: TimelineSpan): string;
|
|
127
|
-
export declare function buildTimeline(events: Event[]): Timeline;
|
|
128
|
-
export {};
|