agent-inspect 4.4.0 → 5.0.0

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.
@@ -739,4 +739,138 @@ declare function normalizeBundleOutputPath(out: string): string;
739
739
  */
740
740
  declare function defaultBundleOutputPath(runIds: readonly string[]): string;
741
741
 
742
- export { type ActivityEntry, type ActivitySummary, type BuildActivitySummaryOptions, type BuildSessionIndexOptions, type BundleCheckResults, type BundleCheckRunResult, type BundleMetadata, type BundlePlaceholderArtifact, type BundleRedactionProfile, type BundleRedactionReport, type BundleRedactionReportRun, type BundleResolveOptions, type BundleResolveResult, type BundleSafeStatus, type BundleSafeStatusMetadata, type CriticalPathStep, DEFAULT_TRACE_DIR_NAME, type DurationStats, type EnrichSessionSummaryOptions, ErrorInfo, type ExplainFact, type ExplainInference, type ExplainMode, type ExplainOptions, type ExplainResult, FALLBACK_TRACE_DIR, type GroupSessionCohortsOptions, type HandoffEdge, InspectRunTree, MAX_NAME_LENGTH, MAX_TERMINAL_DEPTH, MAX_TERMINAL_NAME_LENGTH, type ParseTraceJsonlOptions, type ParseTraceJsonlResult, type ParsedDurationFilter, RUNS_DIR_NAME, RedactionProfile, type RenderTimelineOptions, type RenderWhatOptions, type ResolvedRedactionProfile, type RetryLink, RunStatus, RunSummary, type RunTimeline, type RunWhatSummary, SESSION_WORKFLOW_KEYS, type SessionCheckSummary, type SessionCohort, type SessionCohortKind, type SessionConfidence, type SessionEdgeSource, type SessionGroup, type SessionIndex, type SessionLastError, type SessionRunRecord, type SessionScopeOptions, type SessionScopeResult, type SessionStatus, type SessionSummary, type SessionWarning, type SessionWorkflowKey, type SessionWorkflowMetadata, StepStatus, StepType, TERMINAL_INDENT, type TimelineEntry, type TimelineFocus, type TimelineOptions, TraceCorrelationMetadata, TraceDirectory, type TraceDirectoryOptions, TraceEvent, type TraceFilterOptions, type TraceJsonlFormat, TraceMetadata, TraceMetadataStatus, type TraceSearchOptions, type TraceSearchResult, type TraceSessionCheckResult, type TraceStats, type TraceStatsOptions, type TraceStatsRankedRun, type TraceStatsRankedStep, aggregateBundleSafeStatus, aggregateSessionCheckResults, buildActivitySummary, buildBundleMetadata, buildBundleSummaryMarkdown, buildLocalExplanation, buildPlaceholderArtifact, buildRunSummary, buildRunTimeline, buildRunWhatSummary, buildSessionIndex, buildTraceStats, bundleFailsOnSafety, createRunId, createStepId, defaultBundleOutputPath, deriveSessionStatus, enrichSessionRunRecord, enrichSessionSummary, ensureTraceDir, extractMetadata, extractSessionWorkflowMetadata, filterMetasBySessionScope, filterTraces, formatDuration, formatError, formatTerminalName, formatTimestamp, getDefaultTraceDir, getIndent, getRunIdFromTraceFileName, getTraceFilePath, groupSessionCohorts, initializeTraceFile, isAgentInspectTrace, listTraceFiles, loadSessionRunRecords, loadTraceMetadataList, normalizeBundleOutputPath, parseDuration, parseDurationFilter, parseTraceJsonl, printError, printFailedAt, printRunComplete, printRunStart, printStepComplete, printStepStart, readTraceEvents, readTraceFile, renderActivitySummaryHuman, renderErrorLine, renderRunSummary, renderRunWhat, renderStepLine, renderTimeline, renderTraceStats, resolveBundleRunIds, resolveRedactionProfile, resolveTraceDir, searchTraces, serializeEvent, sessionKeyForRun, toMetadataSafeStatus, traceMetasToSessionRunRecords, truncateName, unknownTraceFormatMessage, validateEvent, warn, writeTraceEvent };
742
+ type SuiteCaseStatus = "pass" | "fail" | "error" | "skipped";
743
+ type SuiteDiagnosticCode = "AI_SUITE_CONFIG_INVALID" | "AI_SUITE_CONFIG_LOAD_FAILED" | "AI_SUITE_CASE_TRACE_MISSING" | "AI_SUITE_CASE_CHECK_FAILED" | "AI_SUITE_CASE_EVAL_FAILED" | "AI_SUITE_CASE_OBSERVATION_FAILED" | "AI_SUITE_TRACE_UNREADABLE";
744
+ interface SuiteDiagnostic {
745
+ code: SuiteDiagnosticCode;
746
+ severity: "error" | "warning" | "info";
747
+ message: string;
748
+ caseId?: string;
749
+ }
750
+ interface SuiteCaseConfig {
751
+ id: string;
752
+ trace?: string;
753
+ runId?: string;
754
+ input?: string;
755
+ requireTools?: string[];
756
+ forbidTools?: string[];
757
+ maxDurationMs?: number;
758
+ expectedObservations?: string[];
759
+ }
760
+ interface SuiteChecksConfig {
761
+ select?: string[];
762
+ run?: {
763
+ maxDurationMs?: number;
764
+ maxDepth?: number;
765
+ };
766
+ tool?: {
767
+ required?: string[];
768
+ forbidden?: string[];
769
+ };
770
+ llm?: {
771
+ allowedModels?: string[];
772
+ maxTotalTokens?: number;
773
+ };
774
+ }
775
+ interface SuiteEvalConfig {
776
+ requireSuccess?: boolean;
777
+ requiredTools?: string[];
778
+ forbiddenTools?: string[];
779
+ maxDurationMs?: number;
780
+ maxDepth?: number;
781
+ maxRetries?: number;
782
+ maxTotalTokens?: number;
783
+ }
784
+ interface SuiteArtifactsConfig {
785
+ outputDir?: string;
786
+ }
787
+ interface SuiteConfig {
788
+ name: string;
789
+ traces: string;
790
+ cases: SuiteCaseConfig[];
791
+ checks?: SuiteChecksConfig;
792
+ eval?: SuiteEvalConfig;
793
+ redactionProfile?: RedactionProfile;
794
+ artifacts?: SuiteArtifactsConfig;
795
+ baseline?: string;
796
+ candidate?: string;
797
+ }
798
+ interface SuiteCaseResult {
799
+ id: string;
800
+ status: SuiteCaseStatus;
801
+ tracePath?: string;
802
+ runId?: string;
803
+ checkOk?: boolean;
804
+ evalOk?: boolean;
805
+ observationsOk?: boolean;
806
+ message?: string;
807
+ diagnostics: SuiteDiagnostic[];
808
+ }
809
+ interface SuiteRunSummary {
810
+ passed: number;
811
+ failed: number;
812
+ errors: number;
813
+ skipped: number;
814
+ }
815
+ interface SuiteRunResult {
816
+ ok: boolean;
817
+ status: "pass" | "fail" | "error";
818
+ suiteName: string;
819
+ configPath: string;
820
+ tracesDir: string;
821
+ startedAt: string;
822
+ finishedAt: string;
823
+ summary: SuiteRunSummary;
824
+ cases: SuiteCaseResult[];
825
+ diagnostics: SuiteDiagnostic[];
826
+ }
827
+ interface LoadSuiteConfigOptions {
828
+ configPath?: string;
829
+ cwd?: string;
830
+ }
831
+ interface ValidateSuiteConfigResult {
832
+ ok: boolean;
833
+ diagnostics: SuiteDiagnostic[];
834
+ }
835
+ interface RunSuiteOptions {
836
+ configPath?: string;
837
+ cwd?: string;
838
+ nowMs?: number;
839
+ }
840
+ interface RenderSuiteReportOptions {
841
+ format?: "markdown" | "json";
842
+ }
843
+ declare const DEFAULT_SUITE_CONFIG_NAMES: readonly ["agent-inspect.suite.json", "agent-inspect.suite.js", "agent-inspect.suite.mjs", "agent-inspect.suite.cjs"];
844
+ declare const DEFAULT_SUITE_ARTIFACTS_DIR = ".agent-inspect/suite-runs";
845
+
846
+ declare function resolveSuiteConfigPath(options?: LoadSuiteConfigOptions): Promise<string>;
847
+ declare function loadSuiteConfig(options?: LoadSuiteConfigOptions): Promise<{
848
+ config: SuiteConfig;
849
+ configPath: string;
850
+ configDir: string;
851
+ }>;
852
+ declare function defaultSuiteConfigTemplate(): SuiteConfig;
853
+
854
+ declare function normalizeSuiteConfig(value: unknown): SuiteConfig;
855
+ declare function validateSuiteConfig(config: SuiteConfig, options: {
856
+ configDir: string;
857
+ }): Promise<ValidateSuiteConfigResult>;
858
+
859
+ interface ResolvedSuiteCase {
860
+ caseId: string;
861
+ tracePath?: string;
862
+ runId?: string;
863
+ missing: boolean;
864
+ reason?: string;
865
+ }
866
+ declare function resolveSuiteCaseTrace(suiteCase: SuiteCaseConfig, options: {
867
+ configDir: string;
868
+ tracesDir: string;
869
+ }): Promise<ResolvedSuiteCase>;
870
+
871
+ declare function runSuite(options?: RunSuiteOptions): Promise<SuiteRunResult>;
872
+
873
+ declare function renderSuiteReportMarkdown(result: SuiteRunResult): string;
874
+ declare function renderSuiteReport(result: SuiteRunResult, options?: RenderSuiteReportOptions): string;
875
+
876
+ export { type ActivityEntry, type ActivitySummary, type BuildActivitySummaryOptions, type BuildSessionIndexOptions, type BundleCheckResults, type BundleCheckRunResult, type BundleMetadata, type BundlePlaceholderArtifact, type BundleRedactionProfile, type BundleRedactionReport, type BundleRedactionReportRun, type BundleResolveOptions, type BundleResolveResult, type BundleSafeStatus, type BundleSafeStatusMetadata, type CriticalPathStep, DEFAULT_SUITE_ARTIFACTS_DIR, DEFAULT_SUITE_CONFIG_NAMES, DEFAULT_TRACE_DIR_NAME, type DurationStats, type EnrichSessionSummaryOptions, ErrorInfo, type ExplainFact, type ExplainInference, type ExplainMode, type ExplainOptions, type ExplainResult, FALLBACK_TRACE_DIR, type GroupSessionCohortsOptions, type HandoffEdge, InspectRunTree, type LoadSuiteConfigOptions, MAX_NAME_LENGTH, MAX_TERMINAL_DEPTH, MAX_TERMINAL_NAME_LENGTH, type ParseTraceJsonlOptions, type ParseTraceJsonlResult, type ParsedDurationFilter, RUNS_DIR_NAME, RedactionProfile, type RenderSuiteReportOptions, type RenderTimelineOptions, type RenderWhatOptions, type ResolvedRedactionProfile, type ResolvedSuiteCase, type RetryLink, RunStatus, type RunSuiteOptions, RunSummary, type RunTimeline, type RunWhatSummary, SESSION_WORKFLOW_KEYS, type SessionCheckSummary, type SessionCohort, type SessionCohortKind, type SessionConfidence, type SessionEdgeSource, type SessionGroup, type SessionIndex, type SessionLastError, type SessionRunRecord, type SessionScopeOptions, type SessionScopeResult, type SessionStatus, type SessionSummary, type SessionWarning, type SessionWorkflowKey, type SessionWorkflowMetadata, StepStatus, StepType, type SuiteArtifactsConfig, type SuiteCaseConfig, type SuiteCaseResult, type SuiteCaseStatus, type SuiteChecksConfig, type SuiteConfig, type SuiteDiagnostic, type SuiteDiagnosticCode, type SuiteEvalConfig, type SuiteRunResult, type SuiteRunSummary, TERMINAL_INDENT, type TimelineEntry, type TimelineFocus, type TimelineOptions, TraceCorrelationMetadata, TraceDirectory, type TraceDirectoryOptions, TraceEvent, type TraceFilterOptions, type TraceJsonlFormat, TraceMetadata, TraceMetadataStatus, type TraceSearchOptions, type TraceSearchResult, type TraceSessionCheckResult, type TraceStats, type TraceStatsOptions, type TraceStatsRankedRun, type TraceStatsRankedStep, type ValidateSuiteConfigResult, aggregateBundleSafeStatus, aggregateSessionCheckResults, buildActivitySummary, buildBundleMetadata, buildBundleSummaryMarkdown, buildLocalExplanation, buildPlaceholderArtifact, buildRunSummary, buildRunTimeline, buildRunWhatSummary, buildSessionIndex, buildTraceStats, bundleFailsOnSafety, createRunId, createStepId, defaultBundleOutputPath, defaultSuiteConfigTemplate, deriveSessionStatus, enrichSessionRunRecord, enrichSessionSummary, ensureTraceDir, extractMetadata, extractSessionWorkflowMetadata, filterMetasBySessionScope, filterTraces, formatDuration, formatError, formatTerminalName, formatTimestamp, getDefaultTraceDir, getIndent, getRunIdFromTraceFileName, getTraceFilePath, groupSessionCohorts, initializeTraceFile, isAgentInspectTrace, listTraceFiles, loadSessionRunRecords, loadSuiteConfig, loadTraceMetadataList, normalizeBundleOutputPath, normalizeSuiteConfig, parseDuration, parseDurationFilter, parseTraceJsonl, printError, printFailedAt, printRunComplete, printRunStart, printStepComplete, printStepStart, readTraceEvents, readTraceFile, renderActivitySummaryHuman, renderErrorLine, renderRunSummary, renderRunWhat, renderStepLine, renderSuiteReport, renderSuiteReportMarkdown, renderTimeline, renderTraceStats, resolveBundleRunIds, resolveRedactionProfile, resolveSuiteCaseTrace, resolveSuiteConfigPath, resolveTraceDir, runSuite, searchTraces, serializeEvent, sessionKeyForRun, toMetadataSafeStatus, traceMetasToSessionRunRecords, truncateName, unknownTraceFormatMessage, validateEvent, validateSuiteConfig, warn, writeTraceEvent };
@@ -739,4 +739,138 @@ declare function normalizeBundleOutputPath(out: string): string;
739
739
  */
740
740
  declare function defaultBundleOutputPath(runIds: readonly string[]): string;
741
741
 
742
- export { type ActivityEntry, type ActivitySummary, type BuildActivitySummaryOptions, type BuildSessionIndexOptions, type BundleCheckResults, type BundleCheckRunResult, type BundleMetadata, type BundlePlaceholderArtifact, type BundleRedactionProfile, type BundleRedactionReport, type BundleRedactionReportRun, type BundleResolveOptions, type BundleResolveResult, type BundleSafeStatus, type BundleSafeStatusMetadata, type CriticalPathStep, DEFAULT_TRACE_DIR_NAME, type DurationStats, type EnrichSessionSummaryOptions, ErrorInfo, type ExplainFact, type ExplainInference, type ExplainMode, type ExplainOptions, type ExplainResult, FALLBACK_TRACE_DIR, type GroupSessionCohortsOptions, type HandoffEdge, InspectRunTree, MAX_NAME_LENGTH, MAX_TERMINAL_DEPTH, MAX_TERMINAL_NAME_LENGTH, type ParseTraceJsonlOptions, type ParseTraceJsonlResult, type ParsedDurationFilter, RUNS_DIR_NAME, RedactionProfile, type RenderTimelineOptions, type RenderWhatOptions, type ResolvedRedactionProfile, type RetryLink, RunStatus, RunSummary, type RunTimeline, type RunWhatSummary, SESSION_WORKFLOW_KEYS, type SessionCheckSummary, type SessionCohort, type SessionCohortKind, type SessionConfidence, type SessionEdgeSource, type SessionGroup, type SessionIndex, type SessionLastError, type SessionRunRecord, type SessionScopeOptions, type SessionScopeResult, type SessionStatus, type SessionSummary, type SessionWarning, type SessionWorkflowKey, type SessionWorkflowMetadata, StepStatus, StepType, TERMINAL_INDENT, type TimelineEntry, type TimelineFocus, type TimelineOptions, TraceCorrelationMetadata, TraceDirectory, type TraceDirectoryOptions, TraceEvent, type TraceFilterOptions, type TraceJsonlFormat, TraceMetadata, TraceMetadataStatus, type TraceSearchOptions, type TraceSearchResult, type TraceSessionCheckResult, type TraceStats, type TraceStatsOptions, type TraceStatsRankedRun, type TraceStatsRankedStep, aggregateBundleSafeStatus, aggregateSessionCheckResults, buildActivitySummary, buildBundleMetadata, buildBundleSummaryMarkdown, buildLocalExplanation, buildPlaceholderArtifact, buildRunSummary, buildRunTimeline, buildRunWhatSummary, buildSessionIndex, buildTraceStats, bundleFailsOnSafety, createRunId, createStepId, defaultBundleOutputPath, deriveSessionStatus, enrichSessionRunRecord, enrichSessionSummary, ensureTraceDir, extractMetadata, extractSessionWorkflowMetadata, filterMetasBySessionScope, filterTraces, formatDuration, formatError, formatTerminalName, formatTimestamp, getDefaultTraceDir, getIndent, getRunIdFromTraceFileName, getTraceFilePath, groupSessionCohorts, initializeTraceFile, isAgentInspectTrace, listTraceFiles, loadSessionRunRecords, loadTraceMetadataList, normalizeBundleOutputPath, parseDuration, parseDurationFilter, parseTraceJsonl, printError, printFailedAt, printRunComplete, printRunStart, printStepComplete, printStepStart, readTraceEvents, readTraceFile, renderActivitySummaryHuman, renderErrorLine, renderRunSummary, renderRunWhat, renderStepLine, renderTimeline, renderTraceStats, resolveBundleRunIds, resolveRedactionProfile, resolveTraceDir, searchTraces, serializeEvent, sessionKeyForRun, toMetadataSafeStatus, traceMetasToSessionRunRecords, truncateName, unknownTraceFormatMessage, validateEvent, warn, writeTraceEvent };
742
+ type SuiteCaseStatus = "pass" | "fail" | "error" | "skipped";
743
+ type SuiteDiagnosticCode = "AI_SUITE_CONFIG_INVALID" | "AI_SUITE_CONFIG_LOAD_FAILED" | "AI_SUITE_CASE_TRACE_MISSING" | "AI_SUITE_CASE_CHECK_FAILED" | "AI_SUITE_CASE_EVAL_FAILED" | "AI_SUITE_CASE_OBSERVATION_FAILED" | "AI_SUITE_TRACE_UNREADABLE";
744
+ interface SuiteDiagnostic {
745
+ code: SuiteDiagnosticCode;
746
+ severity: "error" | "warning" | "info";
747
+ message: string;
748
+ caseId?: string;
749
+ }
750
+ interface SuiteCaseConfig {
751
+ id: string;
752
+ trace?: string;
753
+ runId?: string;
754
+ input?: string;
755
+ requireTools?: string[];
756
+ forbidTools?: string[];
757
+ maxDurationMs?: number;
758
+ expectedObservations?: string[];
759
+ }
760
+ interface SuiteChecksConfig {
761
+ select?: string[];
762
+ run?: {
763
+ maxDurationMs?: number;
764
+ maxDepth?: number;
765
+ };
766
+ tool?: {
767
+ required?: string[];
768
+ forbidden?: string[];
769
+ };
770
+ llm?: {
771
+ allowedModels?: string[];
772
+ maxTotalTokens?: number;
773
+ };
774
+ }
775
+ interface SuiteEvalConfig {
776
+ requireSuccess?: boolean;
777
+ requiredTools?: string[];
778
+ forbiddenTools?: string[];
779
+ maxDurationMs?: number;
780
+ maxDepth?: number;
781
+ maxRetries?: number;
782
+ maxTotalTokens?: number;
783
+ }
784
+ interface SuiteArtifactsConfig {
785
+ outputDir?: string;
786
+ }
787
+ interface SuiteConfig {
788
+ name: string;
789
+ traces: string;
790
+ cases: SuiteCaseConfig[];
791
+ checks?: SuiteChecksConfig;
792
+ eval?: SuiteEvalConfig;
793
+ redactionProfile?: RedactionProfile;
794
+ artifacts?: SuiteArtifactsConfig;
795
+ baseline?: string;
796
+ candidate?: string;
797
+ }
798
+ interface SuiteCaseResult {
799
+ id: string;
800
+ status: SuiteCaseStatus;
801
+ tracePath?: string;
802
+ runId?: string;
803
+ checkOk?: boolean;
804
+ evalOk?: boolean;
805
+ observationsOk?: boolean;
806
+ message?: string;
807
+ diagnostics: SuiteDiagnostic[];
808
+ }
809
+ interface SuiteRunSummary {
810
+ passed: number;
811
+ failed: number;
812
+ errors: number;
813
+ skipped: number;
814
+ }
815
+ interface SuiteRunResult {
816
+ ok: boolean;
817
+ status: "pass" | "fail" | "error";
818
+ suiteName: string;
819
+ configPath: string;
820
+ tracesDir: string;
821
+ startedAt: string;
822
+ finishedAt: string;
823
+ summary: SuiteRunSummary;
824
+ cases: SuiteCaseResult[];
825
+ diagnostics: SuiteDiagnostic[];
826
+ }
827
+ interface LoadSuiteConfigOptions {
828
+ configPath?: string;
829
+ cwd?: string;
830
+ }
831
+ interface ValidateSuiteConfigResult {
832
+ ok: boolean;
833
+ diagnostics: SuiteDiagnostic[];
834
+ }
835
+ interface RunSuiteOptions {
836
+ configPath?: string;
837
+ cwd?: string;
838
+ nowMs?: number;
839
+ }
840
+ interface RenderSuiteReportOptions {
841
+ format?: "markdown" | "json";
842
+ }
843
+ declare const DEFAULT_SUITE_CONFIG_NAMES: readonly ["agent-inspect.suite.json", "agent-inspect.suite.js", "agent-inspect.suite.mjs", "agent-inspect.suite.cjs"];
844
+ declare const DEFAULT_SUITE_ARTIFACTS_DIR = ".agent-inspect/suite-runs";
845
+
846
+ declare function resolveSuiteConfigPath(options?: LoadSuiteConfigOptions): Promise<string>;
847
+ declare function loadSuiteConfig(options?: LoadSuiteConfigOptions): Promise<{
848
+ config: SuiteConfig;
849
+ configPath: string;
850
+ configDir: string;
851
+ }>;
852
+ declare function defaultSuiteConfigTemplate(): SuiteConfig;
853
+
854
+ declare function normalizeSuiteConfig(value: unknown): SuiteConfig;
855
+ declare function validateSuiteConfig(config: SuiteConfig, options: {
856
+ configDir: string;
857
+ }): Promise<ValidateSuiteConfigResult>;
858
+
859
+ interface ResolvedSuiteCase {
860
+ caseId: string;
861
+ tracePath?: string;
862
+ runId?: string;
863
+ missing: boolean;
864
+ reason?: string;
865
+ }
866
+ declare function resolveSuiteCaseTrace(suiteCase: SuiteCaseConfig, options: {
867
+ configDir: string;
868
+ tracesDir: string;
869
+ }): Promise<ResolvedSuiteCase>;
870
+
871
+ declare function runSuite(options?: RunSuiteOptions): Promise<SuiteRunResult>;
872
+
873
+ declare function renderSuiteReportMarkdown(result: SuiteRunResult): string;
874
+ declare function renderSuiteReport(result: SuiteRunResult, options?: RenderSuiteReportOptions): string;
875
+
876
+ export { type ActivityEntry, type ActivitySummary, type BuildActivitySummaryOptions, type BuildSessionIndexOptions, type BundleCheckResults, type BundleCheckRunResult, type BundleMetadata, type BundlePlaceholderArtifact, type BundleRedactionProfile, type BundleRedactionReport, type BundleRedactionReportRun, type BundleResolveOptions, type BundleResolveResult, type BundleSafeStatus, type BundleSafeStatusMetadata, type CriticalPathStep, DEFAULT_SUITE_ARTIFACTS_DIR, DEFAULT_SUITE_CONFIG_NAMES, DEFAULT_TRACE_DIR_NAME, type DurationStats, type EnrichSessionSummaryOptions, ErrorInfo, type ExplainFact, type ExplainInference, type ExplainMode, type ExplainOptions, type ExplainResult, FALLBACK_TRACE_DIR, type GroupSessionCohortsOptions, type HandoffEdge, InspectRunTree, type LoadSuiteConfigOptions, MAX_NAME_LENGTH, MAX_TERMINAL_DEPTH, MAX_TERMINAL_NAME_LENGTH, type ParseTraceJsonlOptions, type ParseTraceJsonlResult, type ParsedDurationFilter, RUNS_DIR_NAME, RedactionProfile, type RenderSuiteReportOptions, type RenderTimelineOptions, type RenderWhatOptions, type ResolvedRedactionProfile, type ResolvedSuiteCase, type RetryLink, RunStatus, type RunSuiteOptions, RunSummary, type RunTimeline, type RunWhatSummary, SESSION_WORKFLOW_KEYS, type SessionCheckSummary, type SessionCohort, type SessionCohortKind, type SessionConfidence, type SessionEdgeSource, type SessionGroup, type SessionIndex, type SessionLastError, type SessionRunRecord, type SessionScopeOptions, type SessionScopeResult, type SessionStatus, type SessionSummary, type SessionWarning, type SessionWorkflowKey, type SessionWorkflowMetadata, StepStatus, StepType, type SuiteArtifactsConfig, type SuiteCaseConfig, type SuiteCaseResult, type SuiteCaseStatus, type SuiteChecksConfig, type SuiteConfig, type SuiteDiagnostic, type SuiteDiagnosticCode, type SuiteEvalConfig, type SuiteRunResult, type SuiteRunSummary, TERMINAL_INDENT, type TimelineEntry, type TimelineFocus, type TimelineOptions, TraceCorrelationMetadata, TraceDirectory, type TraceDirectoryOptions, TraceEvent, type TraceFilterOptions, type TraceJsonlFormat, TraceMetadata, TraceMetadataStatus, type TraceSearchOptions, type TraceSearchResult, type TraceSessionCheckResult, type TraceStats, type TraceStatsOptions, type TraceStatsRankedRun, type TraceStatsRankedStep, type ValidateSuiteConfigResult, aggregateBundleSafeStatus, aggregateSessionCheckResults, buildActivitySummary, buildBundleMetadata, buildBundleSummaryMarkdown, buildLocalExplanation, buildPlaceholderArtifact, buildRunSummary, buildRunTimeline, buildRunWhatSummary, buildSessionIndex, buildTraceStats, bundleFailsOnSafety, createRunId, createStepId, defaultBundleOutputPath, defaultSuiteConfigTemplate, deriveSessionStatus, enrichSessionRunRecord, enrichSessionSummary, ensureTraceDir, extractMetadata, extractSessionWorkflowMetadata, filterMetasBySessionScope, filterTraces, formatDuration, formatError, formatTerminalName, formatTimestamp, getDefaultTraceDir, getIndent, getRunIdFromTraceFileName, getTraceFilePath, groupSessionCohorts, initializeTraceFile, isAgentInspectTrace, listTraceFiles, loadSessionRunRecords, loadSuiteConfig, loadTraceMetadataList, normalizeBundleOutputPath, normalizeSuiteConfig, parseDuration, parseDurationFilter, parseTraceJsonl, printError, printFailedAt, printRunComplete, printRunStart, printStepComplete, printStepStart, readTraceEvents, readTraceFile, renderActivitySummaryHuman, renderErrorLine, renderRunSummary, renderRunWhat, renderStepLine, renderSuiteReport, renderSuiteReportMarkdown, renderTimeline, renderTraceStats, resolveBundleRunIds, resolveRedactionProfile, resolveSuiteCaseTrace, resolveSuiteConfigPath, resolveTraceDir, runSuite, searchTraces, serializeEvent, sessionKeyForRun, toMetadataSafeStatus, traceMetasToSessionRunRecords, truncateName, unknownTraceFormatMessage, validateEvent, validateSuiteConfig, warn, writeTraceEvent };