@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.
Files changed (412) hide show
  1. package/README.md +2 -0
  2. package/package.json +47 -58
  3. package/lib/_commonjsHelpers-DWwsNxpa.js +0 -9
  4. package/lib/_commonjsHelpers-DWwsNxpa.js.map +0 -1
  5. package/lib/chunk-DfAF0w94-Oj7OW_Zs.js +0 -9
  6. package/lib/chunk-DfAF0w94-Oj7OW_Zs.js.map +0 -1
  7. package/lib/e2e/app-navigation.spec.d.ts +0 -1
  8. package/lib/e2e/fixtures/app.d.ts +0 -7
  9. package/lib/e2e/fixtures/handlers.d.ts +0 -2
  10. package/lib/e2e/fixtures/test-data.d.ts +0 -14
  11. package/lib/e2e/scan.spec.d.ts +0 -1
  12. package/lib/e2e/scans.spec.d.ts +0 -1
  13. package/lib/e2e/transcript.spec.d.ts +0 -1
  14. package/lib/e2e/transcripts.spec.d.ts +0 -1
  15. package/lib/index.d.ts +0 -2
  16. package/lib/index.js +0 -161737
  17. package/lib/index.js.map +0 -1
  18. package/lib/lib-CBtriEt5-CU1RYBHb.js +0 -1070
  19. package/lib/lib-CBtriEt5-CU1RYBHb.js.map +0 -1
  20. package/lib/liteDOM-Cp0aN3bP-DXyQNx3e.js +0 -644
  21. package/lib/liteDOM-Cp0aN3bP-DXyQNx3e.js.map +0 -1
  22. package/lib/src/App.d.ts +0 -6
  23. package/lib/src/AppErrorBoundary.d.ts +0 -15
  24. package/lib/src/AppRouter.d.ts +0 -6
  25. package/lib/src/api/api-scout-server.d.ts +0 -8
  26. package/lib/src/api/api-vscode.d.ts +0 -3
  27. package/lib/src/api/api.d.ts +0 -44
  28. package/lib/src/api/attachmentsHelpers.d.ts +0 -1
  29. package/lib/src/api/expandInputEvents.d.ts +0 -6
  30. package/lib/src/api/jsonrpc-fetch.d.ts +0 -20
  31. package/lib/src/api/jsonrpc.d.ts +0 -50
  32. package/lib/src/api/request.d.ts +0 -34
  33. package/lib/src/api/vscode-storage.d.ts +0 -3
  34. package/lib/src/app/components/ActivityBar.d.ts +0 -23
  35. package/lib/src/app/components/ActivityBarLayout.d.ts +0 -11
  36. package/lib/src/app/components/AddFilterButton.d.ts +0 -37
  37. package/lib/src/app/components/BreadCrumbs.d.ts +0 -10
  38. package/lib/src/app/components/Chip.d.ts +0 -12
  39. package/lib/src/app/components/ChipGroup.d.ts +0 -7
  40. package/lib/src/app/components/ColumnHeader.d.ts +0 -11
  41. package/lib/src/app/components/ColumnPickerButton.d.ts +0 -19
  42. package/lib/src/app/components/ColumnsPopover.d.ts +0 -25
  43. package/lib/src/app/components/EditablePath.d.ts +0 -15
  44. package/lib/src/app/components/EditableText.d.ts +0 -16
  45. package/lib/src/app/components/Error.d.ts +0 -7
  46. package/lib/src/app/components/Explanation.d.ts +0 -12
  47. package/lib/src/app/components/FilterBar.d.ts +0 -35
  48. package/lib/src/app/components/Footer.d.ts +0 -21
  49. package/lib/src/app/components/HeadingGrid.d.ts +0 -15
  50. package/lib/src/app/components/Identifier.d.ts +0 -7
  51. package/lib/src/app/components/NavButtons.d.ts +0 -12
  52. package/lib/src/app/components/Navbar.d.ts +0 -11
  53. package/lib/src/app/components/NextPreviousNav.d.ts +0 -11
  54. package/lib/src/app/components/Pager.d.ts +0 -9
  55. package/lib/src/app/components/ProjectBar.d.ts +0 -7
  56. package/lib/src/app/components/ScansNavbar.d.ts +0 -10
  57. package/lib/src/app/components/ScoreValue.d.ts +0 -10
  58. package/lib/src/app/components/TaskName.d.ts +0 -8
  59. package/lib/src/app/components/TranscriptsNavbar.d.ts +0 -11
  60. package/lib/src/app/components/ValidationResult.d.ts +0 -9
  61. package/lib/src/app/components/Value.d.ts +0 -15
  62. package/lib/src/app/components/columnFilter/ColumnFilterButton.d.ts +0 -6
  63. package/lib/src/app/components/columnFilter/ColumnFilterControl.d.ts +0 -16
  64. package/lib/src/app/components/columnFilter/ColumnFilterEditor.d.ts +0 -32
  65. package/lib/src/app/components/columnFilter/DurationInput.d.ts +0 -9
  66. package/lib/src/app/components/columnFilter/index.d.ts +0 -12
  67. package/lib/src/app/components/columnFilter/useAddFilterPopover.d.ts +0 -36
  68. package/lib/src/app/components/columnFilter/useColumnFilter.d.ts +0 -27
  69. package/lib/src/app/components/columnFilter/useColumnFilterPopover.d.ts +0 -25
  70. package/lib/src/app/components/columnSizing/defaultStrategy.d.ts +0 -2
  71. package/lib/src/app/components/columnSizing/fitContentStrategy.d.ts +0 -2
  72. package/lib/src/app/components/columnSizing/index.d.ts +0 -5
  73. package/lib/src/app/components/columnSizing/strategies.d.ts +0 -10
  74. package/lib/src/app/components/columnSizing/types.d.ts +0 -60
  75. package/lib/src/app/components/columnTypes.d.ts +0 -46
  76. package/lib/src/app/components/dataGrid/DataGrid.d.ts +0 -8
  77. package/lib/src/app/components/dataGrid/index.d.ts +0 -2
  78. package/lib/src/app/components/dataGrid/types.d.ts +0 -70
  79. package/lib/src/app/components/useBreadcrumbTruncation.d.ts +0 -12
  80. package/lib/src/app/components/useFilterBarHandlers.d.ts +0 -41
  81. package/lib/src/app/hooks/useFilterConditions.d.ts +0 -6
  82. package/lib/src/app/hooks/useScanFilterConditions.d.ts +0 -6
  83. package/lib/src/app/hooks/useScanResultSummaries.d.ts +0 -6
  84. package/lib/src/app/hooks/useScanRoute.d.ts +0 -8
  85. package/lib/src/app/hooks/useScansFilterBarProps.d.ts +0 -13
  86. package/lib/src/app/hooks/useSelectedScan.d.ts +0 -3
  87. package/lib/src/app/hooks/useSelectedScanDataframe.d.ts +0 -3
  88. package/lib/src/app/hooks/useSelectedScanResultData.d.ts +0 -3
  89. package/lib/src/app/hooks/useSelectedScanResultInputData.d.ts +0 -3
  90. package/lib/src/app/hooks/useSelectedScanner.d.ts +0 -2
  91. package/lib/src/app/hooks/useTranscriptsFilterBarProps.d.ts +0 -18
  92. package/lib/src/app/project/ProjectPanel.d.ts +0 -7
  93. package/lib/src/app/project/SettingsContent.d.ts +0 -7
  94. package/lib/src/app/project/components/FormFields.d.ts +0 -73
  95. package/lib/src/app/project/configUtils.d.ts +0 -30
  96. package/lib/src/app/project/hooks/useNestedConfig.d.ts +0 -28
  97. package/lib/src/app/runScan/ActiveScanView.d.ts +0 -6
  98. package/lib/src/app/runScan/DefineScannerSection.d.ts +0 -6
  99. package/lib/src/app/runScan/LlmScannerParams.d.ts +0 -14
  100. package/lib/src/app/runScan/RunScanPanel.d.ts +0 -2
  101. package/lib/src/app/runScan/ScannerParamsPlaceholder.d.ts +0 -6
  102. package/lib/src/app/scan/ScanPanel.d.ts +0 -2
  103. package/lib/src/app/scan/ScanPanelBody.d.ts +0 -6
  104. package/lib/src/app/scan/ScanPanelTitle.d.ts +0 -6
  105. package/lib/src/app/scan/info/ScanInfo.d.ts +0 -5
  106. package/lib/src/app/scan/scanners/ScannerPanel.d.ts +0 -5
  107. package/lib/src/app/scan/scanners/ScannerSidebar.d.ts +0 -5
  108. package/lib/src/app/scan/scanners/dataframe/DataframeGridApiContext.d.ts +0 -7
  109. package/lib/src/app/scan/scanners/dataframe/ScannerDataframeCSVButtons.d.ts +0 -11
  110. package/lib/src/app/scan/scanners/dataframe/ScannerDataframeClearFiltersButton.d.ts +0 -2
  111. package/lib/src/app/scan/scanners/dataframe/ScannerDataframeColumnsPopover.d.ts +0 -5
  112. package/lib/src/app/scan/scanners/dataframe/ScannerDataframeFilterColumnsButton.d.ts +0 -1
  113. package/lib/src/app/scan/scanners/dataframe/ScannerDataframeWrapTextButton.d.ts +0 -2
  114. package/lib/src/app/scan/scanners/dataframe/useOperationStatus.d.ts +0 -7
  115. package/lib/src/app/scan/scanners/list/ScannerResultsGroup.d.ts +0 -6
  116. package/lib/src/app/scan/scanners/list/ScannerResultsHeader.d.ts +0 -7
  117. package/lib/src/app/scan/scanners/list/ScannerResultsList.d.ts +0 -14
  118. package/lib/src/app/scan/scanners/list/ScannerResultsRow.d.ts +0 -9
  119. package/lib/src/app/scan/scanners/results/ScannerResultsBody.d.ts +0 -12
  120. package/lib/src/app/scan/scanners/results/ScannerResultsFilter.d.ts +0 -4
  121. package/lib/src/app/scan/scanners/results/ScannerResultsGroup.d.ts +0 -7
  122. package/lib/src/app/scan/scanners/results/ScannerResultsSearch.d.ts +0 -2
  123. package/lib/src/app/scan/scanners/types.d.ts +0 -1
  124. package/lib/src/app/scannerResult/ScannerResultHeader.d.ts +0 -9
  125. package/lib/src/app/scannerResult/ScannerResultNav.d.ts +0 -2
  126. package/lib/src/app/scannerResult/ScannerResultPanel.d.ts +0 -2
  127. package/lib/src/app/scannerResult/error/ErrorPanel.d.ts +0 -7
  128. package/lib/src/app/scannerResult/info/InfoPanel.d.ts +0 -9
  129. package/lib/src/app/scannerResult/metadata/MetadataPanel.d.ts +0 -7
  130. package/lib/src/app/scannerResult/result/ResultBody.d.ts +0 -10
  131. package/lib/src/app/scannerResult/result/ResultPanel.d.ts +0 -11
  132. package/lib/src/app/scannerResult/result/ResultSidebar.d.ts +0 -9
  133. package/lib/src/app/scannerResult/transcript/TranscriptPanel.d.ts +0 -10
  134. package/lib/src/app/scans/ScansFilterBar.d.ts +0 -7
  135. package/lib/src/app/scans/ScansGrid.d.ts +0 -21
  136. package/lib/src/app/scans/ScansPanel.d.ts +0 -2
  137. package/lib/src/app/scans/columnSizing/index.d.ts +0 -3
  138. package/lib/src/app/scans/columnSizing/useColumnSizing.d.ts +0 -33
  139. package/lib/src/app/scans/columns.d.ts +0 -25
  140. package/lib/src/app/scans/constants.d.ts +0 -35
  141. package/lib/src/app/server/index.d.ts +0 -6
  142. package/lib/src/app/server/useActiveScan.d.ts +0 -3
  143. package/lib/src/app/server/useActiveScans.d.ts +0 -3
  144. package/lib/src/app/server/useAdjacentTranscriptIds.d.ts +0 -10
  145. package/lib/src/app/server/useAppConfig.d.ts +0 -20
  146. package/lib/src/app/server/useCode.d.ts +0 -4
  147. package/lib/src/app/server/useHasTranscript.d.ts +0 -8
  148. package/lib/src/app/server/useProjectConfig.d.ts +0 -30
  149. package/lib/src/app/server/useScan.d.ts +0 -9
  150. package/lib/src/app/server/useScanDataframe.d.ts +0 -10
  151. package/lib/src/app/server/useScanDataframeInput.d.ts +0 -11
  152. package/lib/src/app/server/useScanners.d.ts +0 -3
  153. package/lib/src/app/server/useScans.d.ts +0 -3
  154. package/lib/src/app/server/useScansColumnValues.d.ts +0 -11
  155. package/lib/src/app/server/useScansInfinite.d.ts +0 -6
  156. package/lib/src/app/server/useServerTranscripts.d.ts +0 -5
  157. package/lib/src/app/server/useServerTranscriptsInfinite.d.ts +0 -13
  158. package/lib/src/app/server/useStartScan.d.ts +0 -3
  159. package/lib/src/app/server/useTopicInvalidation.d.ts +0 -11
  160. package/lib/src/app/server/useTranscript.d.ts +0 -9
  161. package/lib/src/app/server/useTranscriptsColumnValues.d.ts +0 -11
  162. package/lib/src/app/server/useValidations.d.ts +0 -83
  163. package/lib/src/app/timeline/components/TimelineEventsView.d.ts +0 -41
  164. package/lib/src/app/timeline/components/TimelineMinimap.d.ts +0 -30
  165. package/lib/src/app/timeline/components/TimelineOptionsPopover.d.ts +0 -10
  166. package/lib/src/app/timeline/components/TimelineSelector.d.ts +0 -11
  167. package/lib/src/app/timeline/components/TimelineSwimLanes.d.ts +0 -62
  168. package/lib/src/app/timeline/contentItems.d.ts +0 -29
  169. package/lib/src/app/timeline/hooks/useActiveTimeline.d.ts +0 -12
  170. package/lib/src/app/timeline/hooks/useScrubberPercent.d.ts +0 -8
  171. package/lib/src/app/timeline/hooks/useTimeline.d.ts +0 -46
  172. package/lib/src/app/timeline/hooks/useTimelineConfig.d.ts +0 -22
  173. package/lib/src/app/timeline/hooks/useTranscriptTimeline.d.ts +0 -37
  174. package/lib/src/app/timeline/syntheticNodes.d.ts +0 -7
  175. package/lib/src/app/timeline/testHelpers.d.ts +0 -26
  176. package/lib/src/app/timeline/timelineEventNodes.d.ts +0 -93
  177. package/lib/src/app/timeline/utils/markers.d.ts +0 -41
  178. package/lib/src/app/timeline/utils/swimlaneLayout.d.ts +0 -96
  179. package/lib/src/app/timeline/utils/swimlaneRows.d.ts +0 -62
  180. package/lib/src/app/timeline/utils/timeMapping.d.ts +0 -41
  181. package/lib/src/app/transcript/TranscriptBody.d.ts +0 -17
  182. package/lib/src/app/transcript/TranscriptFilterPopover.d.ts +0 -7
  183. package/lib/src/app/transcript/TranscriptNav.d.ts +0 -10
  184. package/lib/src/app/transcript/TranscriptPanel.d.ts +0 -2
  185. package/lib/src/app/transcript/TranscriptTitle.d.ts +0 -7
  186. package/lib/src/app/transcript/debugEventTree.d.ts +0 -4
  187. package/lib/src/app/transcript/hooks/useTranscriptColumnFilter.d.ts +0 -11
  188. package/lib/src/app/transcript/hooks/useTranscriptNavigation.d.ts +0 -12
  189. package/lib/src/app/transcript/hooks/useTranscriptTimeline.d.ts +0 -1
  190. package/lib/src/app/transcripts/TranscriptFilterBar.d.ts +0 -8
  191. package/lib/src/app/transcripts/TranscriptsGrid.d.ts +0 -21
  192. package/lib/src/app/transcripts/TranscriptsPanel.d.ts +0 -2
  193. package/lib/src/app/transcripts/columnSizing/index.d.ts +0 -3
  194. package/lib/src/app/transcripts/columnSizing/types.d.ts +0 -22
  195. package/lib/src/app/transcripts/columnSizing/useColumnSizing.d.ts +0 -34
  196. package/lib/src/app/transcripts/columns.d.ts +0 -37
  197. package/lib/src/app/transcripts/constants.d.ts +0 -35
  198. package/lib/src/app/types.d.ts +0 -112
  199. package/lib/src/app/utils/arrow.d.ts +0 -2
  200. package/lib/src/app/utils/arrowHelpers.d.ts +0 -4
  201. package/lib/src/app/utils/expandEvents.d.ts +0 -8
  202. package/lib/src/app/utils/messages.d.ts +0 -7
  203. package/lib/src/app/utils/refs.d.ts +0 -6
  204. package/lib/src/app/utils/results.d.ts +0 -10
  205. package/lib/src/app/utils/router.d.ts +0 -1
  206. package/lib/src/app/utils/scan.d.ts +0 -12
  207. package/lib/src/app/utils/transcript.d.ts +0 -29
  208. package/lib/src/app/utils/useScansDir.d.ts +0 -8
  209. package/lib/src/app/utils/useTranscriptsDir.d.ts +0 -8
  210. package/lib/src/app/validation/ValidationPanel.d.ts +0 -2
  211. package/lib/src/app/validation/components/CopyMoveCasesModal.d.ts +0 -24
  212. package/lib/src/app/validation/components/ValidationBulkActions.d.ts +0 -16
  213. package/lib/src/app/validation/components/ValidationCaseCard.d.ts +0 -23
  214. package/lib/src/app/validation/components/ValidationCaseEditor.d.ts +0 -23
  215. package/lib/src/app/validation/components/ValidationCaseLabelsEditor.d.ts +0 -20
  216. package/lib/src/app/validation/components/ValidationCasePredicateSelector.d.ts +0 -19
  217. package/lib/src/app/validation/components/ValidationCaseTargetEditor.d.ts +0 -13
  218. package/lib/src/app/validation/components/ValidationCasesList.d.ts +0 -19
  219. package/lib/src/app/validation/components/ValidationFilterBar.d.ts +0 -14
  220. package/lib/src/app/validation/components/ValidationSetSelector.d.ts +0 -21
  221. package/lib/src/app/validation/components/ValidationSplitSelector.d.ts +0 -23
  222. package/lib/src/app/validation/components/ValidationSummary.d.ts +0 -11
  223. package/lib/src/app/validation/hooks/useTranscriptsByIds.d.ts +0 -13
  224. package/lib/src/app/validation/utils.d.ts +0 -55
  225. package/lib/src/components/AnsiDisplay.d.ts +0 -8
  226. package/lib/src/components/AsciinemaPlayer.d.ts +0 -19
  227. package/lib/src/components/AutocompleteInput.d.ts +0 -19
  228. package/lib/src/components/Card.d.ts +0 -32
  229. package/lib/src/components/ConfirmationDialog.d.ts +0 -15
  230. package/lib/src/components/CopyButton.d.ts +0 -12
  231. package/lib/src/components/DataframeView.d.ts +0 -17
  232. package/lib/src/components/DownloadScanButton.d.ts +0 -9
  233. package/lib/src/components/EmptyPanel.d.ts +0 -6
  234. package/lib/src/components/ErrorPanel.d.ts +0 -12
  235. package/lib/src/components/ExpandablePanel.d.ts +0 -12
  236. package/lib/src/components/ExtendedFindContext.d.ts +0 -7
  237. package/lib/src/components/ExtendedFindProvider.d.ts +0 -6
  238. package/lib/src/components/FindBand.d.ts +0 -6
  239. package/lib/src/components/HumanBaselineView.d.ts +0 -21
  240. package/lib/src/components/JsonPanel.d.ts +0 -11
  241. package/lib/src/components/LabeledValue.d.ts +0 -11
  242. package/lib/src/components/LightboxCarousel.d.ts +0 -14
  243. package/lib/src/components/LiveVirtualList.d.ts +0 -22
  244. package/lib/src/components/LoadingBar.d.ts +0 -6
  245. package/lib/src/components/MarkdownDiv.d.ts +0 -11
  246. package/lib/src/components/MarkdownDivWithReferences.d.ts +0 -18
  247. package/lib/src/components/MenuActionButton.d.ts +0 -15
  248. package/lib/src/components/Modal.d.ts +0 -11
  249. package/lib/src/components/NavPills.d.ts +0 -11
  250. package/lib/src/components/NoContentsPanel.d.ts +0 -7
  251. package/lib/src/components/NonIdealState.d.ts +0 -10
  252. package/lib/src/components/PopOver.d.ts +0 -23
  253. package/lib/src/components/Preformatted.d.ts +0 -7
  254. package/lib/src/components/ProgressBar.d.ts +0 -9
  255. package/lib/src/components/PulsingDots.d.ts +0 -10
  256. package/lib/src/components/SegmentedControl.d.ts +0 -14
  257. package/lib/src/components/SourceCodePanel.d.ts +0 -11
  258. package/lib/src/components/StickyScroll.d.ts +0 -18
  259. package/lib/src/components/TabSet.d.ts +0 -27
  260. package/lib/src/components/TextInput.d.ts +0 -10
  261. package/lib/src/components/ToolButton.d.ts +0 -10
  262. package/lib/src/components/ToolDropdownButton.d.ts +0 -11
  263. package/lib/src/components/chat/ChatMessage.d.ts +0 -13
  264. package/lib/src/components/chat/ChatMessageRenderer.d.ts +0 -15
  265. package/lib/src/components/chat/ChatMessageRow.d.ts +0 -22
  266. package/lib/src/components/chat/ChatView.d.ts +0 -21
  267. package/lib/src/components/chat/ChatViewVirtualList.d.ts +0 -30
  268. package/lib/src/components/chat/JsonMessageContent.d.ts +0 -7
  269. package/lib/src/components/chat/MessageCitations.d.ts +0 -6
  270. package/lib/src/components/chat/MessageContent.d.ts +0 -18
  271. package/lib/src/components/chat/MessageContents.d.ts +0 -15
  272. package/lib/src/components/chat/content-data/CompactionData.d.ts +0 -6
  273. package/lib/src/components/chat/content-data/ContentDataView.d.ts +0 -19
  274. package/lib/src/components/chat/content-data/WebSearch.d.ts +0 -4
  275. package/lib/src/components/chat/content-data/WebSearchResults.d.ts +0 -9
  276. package/lib/src/components/chat/documents/ContentDocumentView.d.ts +0 -8
  277. package/lib/src/components/chat/messageSearchText.d.ts +0 -5
  278. package/lib/src/components/chat/messages.d.ts +0 -8
  279. package/lib/src/components/chat/server-tools/ServerToolCall.d.ts +0 -12
  280. package/lib/src/components/chat/tools/ToolCallView.d.ts +0 -19
  281. package/lib/src/components/chat/tools/ToolInput.d.ts +0 -10
  282. package/lib/src/components/chat/tools/ToolOutput.d.ts +0 -11
  283. package/lib/src/components/chat/tools/ToolTitle.d.ts +0 -10
  284. package/lib/src/components/chat/tools/customToolRendering.d.ts +0 -2
  285. package/lib/src/components/chat/tools/tool-input/TodoWriteInput.d.ts +0 -5
  286. package/lib/src/components/chat/tools/tool.d.ts +0 -18
  287. package/lib/src/components/chat/types.d.ts +0 -8
  288. package/lib/src/components/content/DisplayModeContext.d.ts +0 -9
  289. package/lib/src/components/content/MetaDataGrid.d.ts +0 -20
  290. package/lib/src/components/content/RecordTree.d.ts +0 -24
  291. package/lib/src/components/content/RenderedContent.d.ts +0 -18
  292. package/lib/src/components/content/RenderedText.d.ts +0 -15
  293. package/lib/src/components/content/record_processors/store.d.ts +0 -2
  294. package/lib/src/components/content/record_processors/types.d.ts +0 -1
  295. package/lib/src/components/content/types.d.ts +0 -18
  296. package/lib/src/components/icons.d.ts +0 -151
  297. package/lib/src/components/prism.d.ts +0 -2
  298. package/lib/src/components/transcript/AgentCardView.d.ts +0 -8
  299. package/lib/src/components/transcript/ApprovalEventView.d.ts +0 -12
  300. package/lib/src/components/transcript/CompactionEventView.d.ts +0 -12
  301. package/lib/src/components/transcript/ErrorEventView.d.ts +0 -12
  302. package/lib/src/components/transcript/InfoEventView.d.ts +0 -12
  303. package/lib/src/components/transcript/InputEventView.d.ts +0 -12
  304. package/lib/src/components/transcript/LoggerEventView.d.ts +0 -12
  305. package/lib/src/components/transcript/ModelEventView.d.ts +0 -25
  306. package/lib/src/components/transcript/SampleInitEventView.d.ts +0 -12
  307. package/lib/src/components/transcript/SampleLimitEventView.d.ts +0 -12
  308. package/lib/src/components/transcript/SandboxEventView.d.ts +0 -12
  309. package/lib/src/components/transcript/ScoreEditEventView.d.ts +0 -12
  310. package/lib/src/components/transcript/ScoreEventView.d.ts +0 -12
  311. package/lib/src/components/transcript/SpanEventView.d.ts +0 -13
  312. package/lib/src/components/transcript/StepEventView.d.ts +0 -13
  313. package/lib/src/components/transcript/SubtaskEventView.d.ts +0 -13
  314. package/lib/src/components/transcript/TimelineSelectContext.d.ts +0 -7
  315. package/lib/src/components/transcript/ToolEventView.d.ts +0 -13
  316. package/lib/src/components/transcript/TranscriptView.d.ts +0 -13
  317. package/lib/src/components/transcript/TranscriptViewNodes.d.ts +0 -19
  318. package/lib/src/components/transcript/TranscriptVirtualList.d.ts +0 -31
  319. package/lib/src/components/transcript/TranscriptVirtualListComponent.d.ts +0 -18
  320. package/lib/src/components/transcript/event/EventNav.d.ts +0 -12
  321. package/lib/src/components/transcript/event/EventNavs.d.ts +0 -15
  322. package/lib/src/components/transcript/event/EventPanel.d.ts +0 -20
  323. package/lib/src/components/transcript/event/EventProgressPanel.d.ts +0 -6
  324. package/lib/src/components/transcript/event/EventRow.d.ts +0 -12
  325. package/lib/src/components/transcript/event/EventSection.d.ts +0 -12
  326. package/lib/src/components/transcript/event/EventTimingPanel.d.ts +0 -12
  327. package/lib/src/components/transcript/event/utils.d.ts +0 -2
  328. package/lib/src/components/transcript/eventSearchText.d.ts +0 -5
  329. package/lib/src/components/transcript/hooks/useCollapseTranscriptEvent.d.ts +0 -1
  330. package/lib/src/components/transcript/hooks/useEventNodes.d.ts +0 -7
  331. package/lib/src/components/transcript/outline/OutlineRow.d.ts +0 -19
  332. package/lib/src/components/transcript/outline/TranscriptOutline.d.ts +0 -22
  333. package/lib/src/components/transcript/outline/tree-visitors.d.ts +0 -13
  334. package/lib/src/components/transcript/outline/useOutlineWidth.d.ts +0 -9
  335. package/lib/src/components/transcript/resolveMessageToEvent.d.ts +0 -19
  336. package/lib/src/components/transcript/state/StateDiffView.d.ts +0 -11
  337. package/lib/src/components/transcript/state/StateEventRenderers.d.ts +0 -48
  338. package/lib/src/components/transcript/state/StateEventView.d.ts +0 -13
  339. package/lib/src/components/transcript/timeline.d.ts +0 -128
  340. package/lib/src/components/transcript/transform/fixups.d.ts +0 -291
  341. package/lib/src/components/transcript/transform/flatten.d.ts +0 -15
  342. package/lib/src/components/transcript/transform/transform.d.ts +0 -2
  343. package/lib/src/components/transcript/transform/treeify.d.ts +0 -3
  344. package/lib/src/components/transcript/transform/utils.d.ts +0 -18
  345. package/lib/src/components/transcript/types.d.ts +0 -28
  346. package/lib/src/components/usage/ModelTokenTable.d.ts +0 -8
  347. package/lib/src/components/usage/ModelUsagePanel.d.ts +0 -11
  348. package/lib/src/components/usage/TokenTable.d.ts +0 -14
  349. package/lib/src/components/usage/UsageCard.d.ts +0 -10
  350. package/lib/src/debugging/navigationDebugging.d.ts +0 -8
  351. package/lib/src/hooks/useDocumentTitle.d.ts +0 -26
  352. package/lib/src/hooks/useDropdownPosition.d.ts +0 -40
  353. package/lib/src/hooks/useMapAsyncData.d.ts +0 -27
  354. package/lib/src/hooks/usePreviousValue.d.ts +0 -25
  355. package/lib/src/hooks/useScrollDirection.d.ts +0 -43
  356. package/lib/src/hooks/useWindowMessaging.d.ts +0 -19
  357. package/lib/src/index.d.ts +0 -5
  358. package/lib/src/main.d.ts +0 -6
  359. package/lib/src/query/column.d.ts +0 -23
  360. package/lib/src/query/conditionBuilder.d.ts +0 -29
  361. package/lib/src/query/index.d.ts +0 -96
  362. package/lib/src/query/transcriptColumns.d.ts +0 -32
  363. package/lib/src/query/types.d.ts +0 -62
  364. package/lib/src/router/activities.d.ts +0 -11
  365. package/lib/src/router/url.d.ts +0 -76
  366. package/lib/src/state/hooks/useCollapsedState.d.ts +0 -1
  367. package/lib/src/state/hooks/useCollapsibleIds.d.ts +0 -1
  368. package/lib/src/state/hooks/useProperty.d.ts +0 -4
  369. package/lib/src/state/scrolling.d.ts +0 -27
  370. package/lib/src/state/store.d.ts +0 -277
  371. package/lib/src/state/userSettings.d.ts +0 -22
  372. package/lib/src/test/objectFactories.d.ts +0 -4
  373. package/lib/src/test/setup-msw.d.ts +0 -1
  374. package/lib/src/test/test-utils.d.ts +0 -2
  375. package/lib/src/types/api-types.d.ts +0 -97
  376. package/lib/src/types/generated.d.ts +0 -5031
  377. package/lib/src/types/json-value.d.ts +0 -12
  378. package/lib/src/utils/ansi.d.ts +0 -12
  379. package/lib/src/utils/array.d.ts +0 -1
  380. package/lib/src/utils/arrow.d.ts +0 -3
  381. package/lib/src/utils/asyncData.d.ts +0 -66
  382. package/lib/src/utils/asyncDataFromQuery.d.ts +0 -13
  383. package/lib/src/utils/base64.d.ts +0 -4
  384. package/lib/src/utils/base64url.d.ts +0 -38
  385. package/lib/src/utils/brand.d.ts +0 -70
  386. package/lib/src/utils/chatMessage.d.ts +0 -3
  387. package/lib/src/utils/date.d.ts +0 -34
  388. package/lib/src/utils/dom.d.ts +0 -1
  389. package/lib/src/utils/format.d.ts +0 -53
  390. package/lib/src/utils/html.d.ts +0 -5
  391. package/lib/src/utils/json-worker.d.ts +0 -2
  392. package/lib/src/utils/json.d.ts +0 -4
  393. package/lib/src/utils/logger.d.ts +0 -7
  394. package/lib/src/utils/mime.d.ts +0 -1
  395. package/lib/src/utils/object.d.ts +0 -1
  396. package/lib/src/utils/path.d.ts +0 -28
  397. package/lib/src/utils/python.d.ts +0 -11
  398. package/lib/src/utils/react-query.d.ts +0 -4
  399. package/lib/src/utils/react.d.ts +0 -6
  400. package/lib/src/utils/router.d.ts +0 -1
  401. package/lib/src/utils/sync.d.ts +0 -21
  402. package/lib/src/utils/type.d.ts +0 -15
  403. package/lib/src/utils/uri.d.ts +0 -19
  404. package/lib/src/utils/useDebouncedCallback.d.ts +0 -20
  405. package/lib/src/utils/vscode.d.ts +0 -20
  406. package/lib/styles/index.css +0 -9030
  407. package/lib/tex-svg-full-BI3fonbT-FZEHFXiJ.js +0 -27979
  408. package/lib/tex-svg-full-BI3fonbT-FZEHFXiJ.js.map +0 -1
  409. package/lib/wgxpath.install-node-Csk64Aj9-Ckau6iLd.js +0 -1081
  410. package/lib/wgxpath.install-node-Csk64Aj9-Ckau6iLd.js.map +0 -1
  411. package/lib/xypic-DrMJn58R-DRoJoooA.js +0 -9542
  412. package/lib/xypic-DrMJn58R-DRoJoooA.js.map +0 -1
@@ -1,37 +0,0 @@
1
- import { Timeline, TimelineSpan } from '../../../components/transcript/timeline';
2
- import { Event, ServerTimeline } from '../../../types/api-types';
3
- import { MinimapSelection } from '../components/TimelineMinimap';
4
- import { MarkerConfig } from '../utils/markers';
5
- import { RowLayout } from '../utils/swimlaneLayout';
6
- import { TimeMapping } from '../utils/timeMapping';
7
- import { TimelineOptions, TimelineState } from './useTimeline';
8
- interface TranscriptTimelineResult {
9
- /** The built Timeline. Always present (even for root-only timelines). */
10
- timeline: Timeline;
11
- /** Full useTimeline state (node, rows, navigation). */
12
- state: TimelineState;
13
- /** Computed row layouts for the swimlane UI. */
14
- layouts: RowLayout[];
15
- /** Time mapping for the current node (may compress gaps). */
16
- timeMapping: TimeMapping;
17
- /** Time mapping for the root node (for minimap). */
18
- rootTimeMapping: TimeMapping;
19
- /** Events scoped to the selected swimlane row (or all events if no child selected). */
20
- selectedEvents: Event[];
21
- /** Agent spans keyed by span ID, for attaching to EventNodes. */
22
- sourceSpans: ReadonlyMap<string, TimelineSpan>;
23
- /** Minimap selection for the breadcrumb row. */
24
- minimapSelection: MinimapSelection | undefined;
25
- /** Whether the timeline has meaningful structure (non-empty root with children). */
26
- hasTimeline: boolean;
27
- /** All available timelines (may be 1 or more). */
28
- timelines: Timeline[];
29
- /** Index of the currently active timeline. */
30
- activeTimelineIndex: number;
31
- /** Switch the active timeline by index. Resets selection. */
32
- setActiveTimeline: (index: number) => void;
33
- /** Map from row key → number of compaction regions (only for rows with compactions). */
34
- regionCounts: ReadonlyMap<string, number>;
35
- }
36
- export declare function useTranscriptTimeline(events: Event[], markerConfig?: MarkerConfig, timelineOptions?: TimelineOptions, serverTimelines?: ServerTimeline[]): TranscriptTimelineResult;
37
- export {};
@@ -1,7 +0,0 @@
1
- import { Timeline } from '../../components/transcript/timeline';
2
- export interface TimelineScenario {
3
- name: string;
4
- description: string;
5
- timeline: Timeline;
6
- }
7
- export declare const timelineScenarios: TimelineScenario[];
@@ -1,26 +0,0 @@
1
- import { Timeline, TimelineBranch, TimelineSpan } from '../../components/transcript/timeline';
2
- import { timelineScenarios } from './syntheticNodes';
3
- export { timelineScenarios };
4
- /** Creates a Date offset from a fixed base time by the given number of seconds. */
5
- export declare function ts(offsetSeconds: number): Date;
6
- interface MakeSpanOptions {
7
- utility?: boolean;
8
- spanType?: string | null;
9
- branches?: TimelineBranch[];
10
- }
11
- /** Minimal TimelineSpan builder for edge-case tests. */
12
- export declare function makeSpan(name: string, startSec: number, endSec: number, tokens: number, content?: TimelineSpan["content"], options?: MakeSpanOptions): TimelineSpan;
13
- export declare const S1_SEQUENTIAL = 0;
14
- export declare const S2_ITERATIVE = 1;
15
- export declare const S3_DEEP = 2;
16
- export declare const S4_PARALLEL = 3;
17
- export declare const S5_MARKERS = 4;
18
- export declare const S7_FLAT = 5;
19
- export declare const S8_MANY = 6;
20
- export declare const S10_UTILITY = 7;
21
- export declare const S11A_BRANCHES = 8;
22
- export declare const S11B_BRANCHES_MULTI = 9;
23
- /** Returns the root TimelineSpan for a scenario by index. */
24
- export declare function getScenarioRoot(index: number): TimelineSpan;
25
- /** Returns the full Timeline for a scenario by index. */
26
- export declare function getTimeline(index: number): Timeline;
@@ -1,93 +0,0 @@
1
- import { TimelineEvent, TimelineSpan } from '../../components/transcript/timeline';
2
- import { EventNode } from '../../components/transcript/types';
3
- import { Event } from '../../types/api-types';
4
- import { MinimapSelection } from './components/TimelineMinimap';
5
- import { SwimlaneRow } from './utils/swimlaneRows';
6
- /**
7
- * Parsed selection: a row key with optional span index and region index.
8
- *
9
- * Format: `"rowKey"` selects the whole row, `"rowKey:N"` selects
10
- * span index N (0-based) within an iterative row, `"rowKey@R"` selects
11
- * compaction region R, and `"rowKey:N@R"` selects region R of span N.
12
- */
13
- export interface ParsedSelection {
14
- rowKey: string;
15
- spanIndex: number | null;
16
- regionIndex: number | null;
17
- }
18
- /**
19
- * Parses a selection string into row key + optional span index + optional region index.
20
- * Returns null for null/empty input.
21
- *
22
- * Parse order: extract `@R` from end first, then `:N` from what remains.
23
- */
24
- export declare function parseSelection(selected: string | null): ParsedSelection | null;
25
- /**
26
- * Builds a selection string from row key + optional span index + optional region index.
27
- */
28
- export declare function buildSelectionKey(rowKey: string, spanIndex?: number, regionIndex?: number): string;
29
- /**
30
- * Resolves the selected swimlane row key to TimelineSpan(s).
31
- *
32
- * When the selection includes a span index (e.g. `"explore:1"`), returns
33
- * only that specific span. Otherwise returns all spans from the row.
34
- */
35
- export declare function getSelectedSpans(rows: SwimlaneRow[], selected: string | null): TimelineSpan[];
36
- /**
37
- * Computes the minimap selection for the currently selected swimlane row.
38
- *
39
- * When a span index is present, shows just that span's range.
40
- * When a region index is present, narrows to the region's time range.
41
- * Otherwise shows the full row's range.
42
- */
43
- export declare function computeMinimapSelection(rows: SwimlaneRow[], selected: string | null): MinimapSelection | undefined;
44
- /**
45
- * Partitions a content array into regions separated by compaction events.
46
- *
47
- * Returns an array of content slices. If no compaction events exist, returns
48
- * a single-element array containing the full content.
49
- */
50
- export declare function computeCompactionRegions(content: ReadonlyArray<TimelineEvent | TimelineSpan>): ReadonlyArray<TimelineEvent | TimelineSpan>[];
51
- export interface CollectedEvents {
52
- events: Event[];
53
- /** Agent spans keyed by span ID, for attaching to EventNodes after tree construction. */
54
- sourceSpans: Map<string, TimelineSpan>;
55
- }
56
- /**
57
- * Collects raw Event[] from TimelineSpan content trees.
58
- *
59
- * When a single span is provided, walks its content directly (the span itself
60
- * is the implicit context). When multiple spans are provided, each is wrapped
61
- * in synthetic span_begin/span_end events so treeifyEvents can reconstruct
62
- * the grouping (e.g. parallel agents shown as collapsible sections).
63
- *
64
- * Agent spans (spanType === "agent") are emitted as empty span_begin/span_end
65
- * pairs with no child events — their content is accessed by selecting the
66
- * swimlane row. The returned sourceSpans map allows attaching the original
67
- * TimelineSpan to the resulting EventNodes for rich rendering.
68
- *
69
- * When `regionIndex` is set, only events from that compaction region are emitted.
70
- */
71
- export declare function collectRawEvents(spans: TimelineSpan[], options?: {
72
- includeUtility?: boolean;
73
- regionIndex?: number | null;
74
- }): CollectedEvents;
75
- export interface SpanSelectKey {
76
- /** The row key to select. */
77
- key: string;
78
- }
79
- /**
80
- * Builds a lookup from span ID to the selection key needed to select that span
81
- * in the swimlane UI.
82
- *
83
- * For rows with multiple spans (iterative), each span ID maps to a key with
84
- * the span index suffix (e.g. `"explore:0"`). For single-span rows, the key
85
- * is just the row key.
86
- */
87
- export declare function buildSpanSelectKeys(rows: SwimlaneRow[]): ReadonlyMap<string, SpanSelectKey>;
88
- /**
89
- * Walks the EventNode tree and attaches sourceSpan to any span_begin node
90
- * whose span_id matches an entry in the map. This links synthetic span events
91
- * back to their original TimelineSpan for rich rendering.
92
- */
93
- export declare function attachSourceSpans(nodes: EventNode[], spanMap: ReadonlyMap<string, TimelineSpan>): void;
@@ -1,41 +0,0 @@
1
- import { TimelineSpan } from '../../../components/transcript/timeline';
2
- import { Event } from '../../../types/api-types';
3
- export type MarkerKind = "error" | "compaction" | "branch";
4
- export interface TimelineMarker {
5
- kind: MarkerKind;
6
- timestamp: Date;
7
- reference: string;
8
- /** Human-readable detail for tooltip display. */
9
- tooltip: string;
10
- }
11
- export type MarkerDepth = "direct" | "children" | "recursive";
12
- export interface MarkerConfig {
13
- kinds: MarkerKind[];
14
- depth: MarkerDepth;
15
- }
16
- export declare const defaultMarkerConfig: MarkerConfig;
17
- /**
18
- * Returns true if the event is an error event.
19
- *
20
- * An event is an error if:
21
- * - It's a ToolEvent with `.error !== null`
22
- * - It's a ModelEvent with `.error !== null` or `.output.error !== null`
23
- */
24
- export declare function isErrorEvent(event: Event): boolean;
25
- /**
26
- * Returns true if the event is a compaction event.
27
- */
28
- export declare function isCompactionEvent(event: Event): boolean;
29
- /**
30
- * Collects timeline markers from a TimelineSpan at the specified depth.
31
- *
32
- * - `"direct"`: Only markers from the span's own TimelineEvent content.
33
- * - `"children"`: Own events + events from direct child spans.
34
- * - `"recursive"`: Full subtree traversal.
35
- *
36
- * Branch markers are always collected from the span's own branches
37
- * (not from child spans), regardless of depth.
38
- *
39
- * Results are sorted by timestamp.
40
- */
41
- export declare function collectMarkers(node: TimelineSpan, depth: MarkerDepth): TimelineMarker[];
@@ -1,96 +0,0 @@
1
- import { TimelineSpan } from '../../../components/transcript/timeline';
2
- import { MarkerDepth, MarkerKind } from './markers';
3
- import { RowSpan, SwimlaneRow } from './swimlaneRows';
4
- import { TimeMapping } from './timeMapping';
5
- /** Position of a single bar fill within the bar area, in percentages (0-100). */
6
- export interface BarPosition {
7
- left: number;
8
- width: number;
9
- }
10
- /** Positioned span with bar position and metadata for rendering. */
11
- export interface PositionedSpan {
12
- /** Bar position as percentage within the view range. */
13
- bar: BarPosition;
14
- /** Whether this span can be drilled into. */
15
- drillable: boolean;
16
- /** Number of child spans (for drill-down label). 0 if not drillable. */
17
- childCount: number;
18
- /** For ParallelSpan, the number of agents. Null for SingleSpan. */
19
- parallelCount: number | null;
20
- /** Task description for tooltip, if available. */
21
- description: string | null;
22
- }
23
- /** Positioned marker within the bar area. */
24
- export interface PositionedMarker {
25
- /** Percentage offset from left edge (0-100). */
26
- left: number;
27
- /** The marker kind for rendering the correct glyph. */
28
- kind: MarkerKind;
29
- /** Reference identifier (forkedAt UUID for branches, event UUID for others). */
30
- reference: string;
31
- /** Human-readable detail for tooltip display. */
32
- tooltip: string;
33
- /** For compaction markers: 0-based index among compaction markers in this row. */
34
- compactionIndex?: number;
35
- }
36
- /** Complete layout data for a single swimlane row. */
37
- export interface RowLayout {
38
- /** Unique key for the row (tree-path based). */
39
- key: string;
40
- /** Row name (for label column). */
41
- name: string;
42
- /** Whether this is the parent row (depth 0). */
43
- isParent: boolean;
44
- /** Depth in the span tree (0 = root). */
45
- depth: number;
46
- /** Positioned spans (fills). */
47
- spans: PositionedSpan[];
48
- /** Positioned markers. */
49
- markers: PositionedMarker[];
50
- /** Total tokens for the token column. */
51
- totalTokens: number;
52
- /** Parallel agent count for label display, or null if not parallel. */
53
- parallelCount: number | null;
54
- }
55
- /**
56
- * Computes a single percentage position for a timestamp within a view range.
57
- * Result is clamped to [0, 100]. Returns 0 for zero-duration view ranges.
58
- */
59
- export declare function timestampToPercent(timestamp: Date, viewStart: Date, viewEnd: Date): number;
60
- /**
61
- * Computes the bar position (left + width) for a time range within a view range.
62
- * Both left and width are clamped so the bar stays within [0, 100].
63
- */
64
- export declare function computeBarPosition(spanStart: Date, spanEnd: Date, viewStart: Date, viewEnd: Date): BarPosition;
65
- interface HasTimeRange {
66
- startTime: Date;
67
- endTime: Date;
68
- }
69
- /**
70
- * Computes the time envelope (earliest start, latest end) of a non-empty array.
71
- * Useful for computing the bounding range of parallel agents or branches.
72
- */
73
- export declare function computeTimeEnvelope<T extends HasTimeRange>(items: T[]): {
74
- startTime: Date;
75
- endTime: Date;
76
- };
77
- /**
78
- * Formats a token count for compact display: "48.5k", "1.2M", etc.
79
- * Uses rounding thresholds so values like 999,950 display as "1.0M" not "1000.0k".
80
- */
81
- export declare function formatTokenCount(tokens: number): string;
82
- /**
83
- * Computes the full layout for all swimlane rows.
84
- *
85
- * The TimeMapping defines how timestamps map to percentage positions. When
86
- * gap compression is active, idle gaps are compressed into narrow regions.
87
- * Markers are collected at the specified depth for each row's spans.
88
- */
89
- export declare function computeRowLayouts(rows: SwimlaneRow[], mapping: TimeMapping, markerDepth: MarkerDepth, markerKinds?: MarkerKind[]): RowLayout[];
90
- /** Returns true if a TimelineSpan has any TimelineEvent items in its content tree. */
91
- export declare function spanHasEvents(span: TimelineSpan): boolean;
92
- /** Returns true if any agent across all spans in a row has events. */
93
- export declare function rowHasEvents(row: SwimlaneRow): boolean;
94
- /** Pretty-print a RowSpan tree for debugging. Paste output to share context. */
95
- export declare function debugRowSpan(span: RowSpan): string;
96
- export {};
@@ -1,62 +0,0 @@
1
- import { TimelineSpan } from '../../../components/transcript/timeline';
2
- /** Compare spans by start time, with end time as tiebreaker. */
3
- export declare function compareByTime(a: {
4
- startTime: Date;
5
- endTime: Date;
6
- }, b: {
7
- startTime: Date;
8
- endTime: Date;
9
- }): number;
10
- export interface SingleSpan {
11
- agent: TimelineSpan;
12
- }
13
- export interface ParallelSpan {
14
- agents: TimelineSpan[];
15
- }
16
- export type RowSpan = SingleSpan | ParallelSpan;
17
- export interface SwimlaneRow {
18
- /** Unique key encoding tree position (e.g. "transcript/build/test"). */
19
- key: string;
20
- name: string;
21
- /** Depth in the span tree. 0 = root, 1 = direct child, etc. */
22
- depth: number;
23
- spans: RowSpan[];
24
- totalTokens: number;
25
- startTime: Date;
26
- endTime: Date;
27
- }
28
- export declare function isSingleSpan(span: RowSpan): span is SingleSpan;
29
- export declare function isParallelSpan(span: RowSpan): span is ParallelSpan;
30
- /** Unwrap a RowSpan to a flat array of TimelineSpan agents. */
31
- export declare function getAgents(span: RowSpan): TimelineSpan[];
32
- /**
33
- * Computes swimlane rows from a TimelineSpan's children.
34
- *
35
- * @returns Array of SwimlaneRow, with the parent row always first,
36
- * followed by child rows ordered by earliest start time.
37
- */
38
- export declare function computeSwimlaneRows(node: TimelineSpan, options?: {
39
- includeUtility?: boolean;
40
- }): SwimlaneRow[];
41
- /**
42
- * Assigns time-sorted spans to lanes using greedy bin-packing.
43
- *
44
- * Each lane contains non-overlapping spans. The number of lanes equals
45
- * the maximum parallelism level (minimum possible).
46
- * Input must be sorted by start time.
47
- */
48
- export declare function assignToLanes(sorted: TimelineSpan[]): TimelineSpan[][];
49
- /**
50
- * Computes a fully expanded flat list of swimlane rows from the entire span tree.
51
- *
52
- * Unlike `computeSwimlaneRows` (which only shows direct children), this function
53
- * recursively walks all descendant spans in depth-first pre-order. Each row carries
54
- * a `depth` for indentation and a unique `key` for selection.
55
- *
56
- * Same-name non-overlapping spans (iterative) are collapsed onto a single row
57
- * with multiple bars. Same-name overlapping spans (parallel) are expanded into
58
- * separate numbered rows.
59
- */
60
- export declare function computeFlatSwimlaneRows(root: TimelineSpan, options?: {
61
- includeUtility?: boolean;
62
- }): SwimlaneRow[];
@@ -1,41 +0,0 @@
1
- import { TimelineSpan } from '../../../components/transcript/timeline';
2
- /** A detected gap region that gets compressed in the mapping. */
3
- export interface GapRegion {
4
- /** Gap start in epoch ms. */
5
- startMs: number;
6
- /** Gap end in epoch ms. */
7
- endMs: number;
8
- /** Gap duration in ms. */
9
- durationMs: number;
10
- /** Compressed position range start in the mapping (0-100). */
11
- percentStart: number;
12
- /** Compressed position range end in the mapping (0-100). */
13
- percentEnd: number;
14
- }
15
- /** A time-to-percent mapping that may compress idle gaps. */
16
- export interface TimeMapping {
17
- /** Convert a timestamp to a percentage position (0-100). */
18
- toPercent(timestamp: Date): number;
19
- /** Whether this mapping has any compressed gaps. */
20
- hasCompression: boolean;
21
- /** The detected gap regions (empty if no compression). */
22
- gaps: GapRegion[];
23
- }
24
- /**
25
- * Creates an identity (linear) time mapping with no compression.
26
- * Useful as a fallback or for timelines without idle gaps.
27
- */
28
- export declare function createIdentityMapping(viewStart: Date, viewEnd: Date): TimeMapping;
29
- /**
30
- * Computes a TimeMapping for a timeline node.
31
- *
32
- * If the node has no idle time (idleTime === 0), returns an identity mapping
33
- * with zero overhead. Otherwise, detects gaps between content items and
34
- * compresses them into small fixed-width regions.
35
- */
36
- export declare function computeTimeMapping(node: TimelineSpan): TimeMapping;
37
- /**
38
- * Compute active time (seconds) within [startMs, endMs] by subtracting
39
- * overlapping gap durations from the mapping.
40
- */
41
- export declare function computeActiveTime(mapping: TimeMapping, startMs: number, endMs: number): number;
@@ -1,17 +0,0 @@
1
- import { FC, RefObject } from 'react';
2
- import { Transcript } from '../../types/api-types';
3
- export declare const kTranscriptMessagesTabId = "transcript-messages";
4
- export declare const kTranscriptEventsTabId = "transcript-events";
5
- export declare const kTranscriptMetadataTabId = "transcript-metadata";
6
- export declare const kTranscriptInfoTabId = "transcript-info";
7
- interface TranscriptBodyProps {
8
- transcript: Transcript;
9
- scrollRef: RefObject<HTMLDivElement | null>;
10
- /** Headroom direction signal: true = scrolling down (hide). */
11
- headroomHidden?: boolean;
12
- /** Reset the headroom anchor before a layout shift or programmatic scroll.
13
- * Pass `true` to debounce (keeps lock alive while scrolling continues). */
14
- onHeadroomResetAnchor?: (debounce?: boolean) => void;
15
- }
16
- export declare const TranscriptBody: FC<TranscriptBodyProps>;
17
- export {};
@@ -1,7 +0,0 @@
1
- import { FC } from 'react';
2
- export interface TranscriptFilterProps {
3
- showing: boolean;
4
- setShowing: (showing: boolean) => void;
5
- positionEl: HTMLElement | null;
6
- }
7
- export declare const TranscriptFilterPopover: FC<TranscriptFilterProps>;
@@ -1,10 +0,0 @@
1
- import { FC } from 'react';
2
- import { Transcript } from '../../types/api-types';
3
- interface TranscriptNavProps {
4
- transcriptsDir: string;
5
- transcript?: Transcript;
6
- prevId?: string;
7
- nextId?: string;
8
- }
9
- export declare const TranscriptNav: FC<TranscriptNavProps>;
10
- export {};
@@ -1,2 +0,0 @@
1
- import { FC } from 'react';
2
- export declare const TranscriptPanel: FC;
@@ -1,7 +0,0 @@
1
- import { FC } from 'react';
2
- import { Transcript } from '../../types/api-types';
3
- interface TranscriptTitleProps {
4
- transcript: Transcript;
5
- }
6
- export declare const TranscriptTitle: FC<TranscriptTitleProps>;
7
- export {};
@@ -1,4 +0,0 @@
1
- import { EventNode } from '../../components/transcript/types';
2
- import { Event } from '../../types/api-types';
3
- export declare function eventTree(events: ReadonlyArray<Event>): string;
4
- export declare function eventNodeTree(nodes: ReadonlyArray<EventNode>): string;
@@ -1,11 +0,0 @@
1
- import { EventTypeValue } from '../../../components/transcript/types';
2
- export declare const kDefaultExcludedEventTypes: EventTypeValue[];
3
- export declare const useTranscriptColumnFilter: () => {
4
- excludedEventTypes: string[];
5
- isDefaultFilter: boolean;
6
- isDebugFilter: boolean;
7
- setDefaultFilter: () => void;
8
- setDebugFilter: () => void;
9
- toggleEventType: (type: EventTypeValue, isCurrentlyExcluded: boolean) => void;
10
- arrangedEventTypes: (columns?: number) => ("sandbox" | "info" | "error" | "approval" | "input" | "tool" | "compaction" | "logger" | "model" | "sample_init" | "sample_limit" | "score_edit" | "score" | "span_begin" | "span_end" | "state" | "step" | "store" | "subtask")[];
11
- };
@@ -1,12 +0,0 @@
1
- /**
2
- * Hook for generating deep link URLs to specific events or messages
3
- * within a transcript.
4
- *
5
- * @returns Functions to generate URLs for event and message deep links
6
- */
7
- export declare const useTranscriptNavigation: () => {
8
- getEventUrl: (eventId: string, selectedKey?: string) => string | undefined;
9
- getMessageUrl: (messageId: string) => string | undefined;
10
- getFullEventUrl: (eventId: string) => string | undefined;
11
- getFullMessageUrl: (messageId: string) => string | undefined;
12
- };
@@ -1 +0,0 @@
1
- export { useTranscriptTimeline } from '../../timeline/hooks/useTranscriptTimeline';
@@ -1,8 +0,0 @@
1
- import { FC } from 'react';
2
- import { ScalarValue } from '../../api/api';
3
- export declare const TranscriptFilterBar: FC<{
4
- filterCodeValues?: Record<string, string>;
5
- filterSuggestions?: ScalarValue[];
6
- onFilterColumnChange?: (columnId: string | null) => void;
7
- includeColumnPicker?: boolean;
8
- }>;
@@ -1,21 +0,0 @@
1
- import { FC } from 'react';
2
- import { ScalarValue } from '../../api/api';
3
- import { TranscriptInfo } from '../../types/api-types';
4
- interface TranscriptGridProps {
5
- transcripts: TranscriptInfo[];
6
- transcriptsDir?: string | null;
7
- className?: string | string[];
8
- /** Called when scroll position nears end; receives distance from bottom in px. */
9
- onScrollNearEnd: (distanceFromBottom: number) => void;
10
- /** Whether more data is available to fetch. */
11
- hasMore: boolean;
12
- /** Distance from bottom (in px) at which to trigger callback. */
13
- fetchThreshold: number;
14
- loading?: boolean;
15
- /** Autocomplete suggestions for the currently editing filter column */
16
- filterSuggestions?: ScalarValue[];
17
- /** Called when a filter column starts/stops being edited */
18
- onFilterColumnChange?: (columnId: string | null) => void;
19
- }
20
- export declare const TranscriptsGrid: FC<TranscriptGridProps>;
21
- export {};
@@ -1,2 +0,0 @@
1
- import { FC } from 'react';
2
- export declare const TranscriptsPanel: FC;
@@ -1,3 +0,0 @@
1
- export * from './types';
2
- export * from './useColumnSizing';
3
- export { clampSize, getColumnConstraints, getColumnId, getSizingStrategy, sizingStrategies, } from '../../components/columnSizing';
@@ -1,22 +0,0 @@
1
- import { TranscriptInfo } from '../../../types/api-types';
2
- import { SizingStrategy as GenericSizingStrategy, SizingStrategyContext as GenericSizingStrategyContext } from '../../components/columnSizing';
3
- import { TranscriptColumn } from '../columns';
4
- /**
5
- * Column sizing types for TranscriptsGrid.
6
- * Re-exports shared types and provides transcript-specific type aliases.
7
- */
8
- export { DEFAULT_MAX_SIZE, DEFAULT_MIN_SIZE, DEFAULT_SIZE, } from '../../components/columnSizing';
9
- export type { ColumnSizeConstraints, ColumnSizingStrategyKey, } from '../../components/columnSizing';
10
- /**
11
- * Context provided to sizing strategies for computing column sizes.
12
- * Uses transcript-specific column and data types.
13
- */
14
- export interface SizingStrategyContext extends Omit<GenericSizingStrategyContext<TranscriptInfo>, "columns"> {
15
- /** Column definitions */
16
- columns: TranscriptColumn[];
17
- }
18
- /**
19
- * Interface for column sizing strategies.
20
- * Each strategy computes column sizes differently.
21
- */
22
- export type SizingStrategy = GenericSizingStrategy<TranscriptInfo>;
@@ -1,34 +0,0 @@
1
- import { ColumnSizingState, OnChangeFn } from '@tanstack/react-table';
2
- import { TranscriptInfo } from '../../../types/api-types';
3
- import { ColumnSizingStrategyKey } from '../../components/columnSizing';
4
- import { TranscriptColumn } from '../columns';
5
- interface UseColumnSizingOptions {
6
- /** Column definitions */
7
- columns: TranscriptColumn[];
8
- /** Reference to the table element for DOM measurement */
9
- tableRef: React.RefObject<HTMLTableElement | null>;
10
- /** Current data for content measurement */
11
- data: TranscriptInfo[];
12
- }
13
- interface UseColumnSizingResult {
14
- /** Current column sizing state */
15
- columnSizing: ColumnSizingState;
16
- /** Handler for column sizing changes with min/max enforcement */
17
- handleColumnSizingChange: OnChangeFn<ColumnSizingState>;
18
- /** Current sizing strategy key */
19
- sizingStrategy: ColumnSizingStrategyKey;
20
- /** Set the sizing strategy */
21
- setSizingStrategy: (strategy: ColumnSizingStrategyKey) => void;
22
- /** Apply auto-sizing based on current strategy (preserves manually resized columns) */
23
- applyAutoSizing: () => void;
24
- /** Reset a single column to its auto-calculated size */
25
- resetColumnSize: (columnId: string) => void;
26
- /** Reset all column sizing and clear manual resize tracking */
27
- clearColumnSizing: () => void;
28
- }
29
- /**
30
- * Hook for managing column sizing with min/max constraints and auto-sizing.
31
- * Manually resized columns are preserved during auto-sizing operations.
32
- */
33
- export declare function useColumnSizing({ columns, tableRef, data, }: UseColumnSizingOptions): UseColumnSizingResult;
34
- export {};
@@ -1,37 +0,0 @@
1
- import { ColumnDef } from '@tanstack/react-table';
2
- import { FilterType } from '../../state/store';
3
- import { TranscriptInfo } from '../../types/api-types';
4
- import { AvailableColumn } from '../components/columnFilter';
5
- export declare const COLUMN_LABELS: Record<keyof TranscriptInfo, string>;
6
- export declare const COLUMN_HEADER_TITLES: Record<keyof TranscriptInfo, string>;
7
- export type TranscriptColumn = ColumnDef<TranscriptInfo> & {
8
- meta?: {
9
- align?: "left" | "center" | "right";
10
- filterable?: boolean;
11
- filterType?: FilterType;
12
- };
13
- /** Returns string for tooltip display */
14
- titleValue?: (value: unknown) => string;
15
- /** Returns string representation for column width measurement. Return null to skip content measurement. */
16
- textValue?: (value: unknown) => string | null;
17
- /** Minimum column width in pixels */
18
- minSize?: number;
19
- /** Maximum column width in pixels */
20
- maxSize?: number;
21
- /** Tooltip text for the column header */
22
- headerTitle?: string;
23
- };
24
- export declare const ALL_COLUMNS: Record<keyof TranscriptInfo, TranscriptColumn>;
25
- export declare const DEFAULT_COLUMN_ORDER: Array<keyof TranscriptInfo>;
26
- export declare const DEFAULT_VISIBLE_COLUMNS: Array<keyof TranscriptInfo>;
27
- /**
28
- * Get columns for the TranscriptsGrid.
29
- * @param visibleColumnKeys - Optional list of column keys to display. If not provided, returns all columns in default order.
30
- * @returns Array of column definitions in the order specified or default order.
31
- */
32
- export declare function getTranscriptColumns(visibleColumnKeys?: Array<keyof TranscriptInfo>): TranscriptColumn[];
33
- /**
34
- * Extract title value for tooltip from a cell.
35
- */
36
- export declare function getCellTitleValue(cell: any, columnDef: TranscriptColumn): string;
37
- export declare const FILTER_COLUMNS: AvailableColumn[];