@tangle-network/traces 0.19.1 → 0.21.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.
package/dist/cli.js CHANGED
@@ -2,8 +2,11 @@
2
2
  import {
3
3
  DEFAULT_ANALYST_MODEL,
4
4
  DEFAULT_QUESTION_MAX_COST_USD,
5
+ DEFAULT_QUESTION_TIMEOUT_MS,
5
6
  DEFAULT_SANDBOX_BASE_URL,
7
+ DEFAULT_SWEEP_THRESHOLD,
6
8
  MAX_TRACE_QUESTION_CHARS,
9
+ SkillUsageStore,
7
10
  analysisEngineFromEnv,
8
11
  appendAll,
9
12
  assembleSessionBundle,
@@ -12,12 +15,14 @@ import {
12
15
  buildPolicyEvidenceRecord,
13
16
  buildSessionFactsReport,
14
17
  buildSessionIndexFromRows,
18
+ buildSkillUsageReport,
15
19
  cmdReplayVerify,
16
20
  cmdReplayVerifyBatch,
17
21
  cmdVerifyFindings,
18
22
  collectSessionSelection,
19
23
  commandAnalyzer,
20
24
  commandRedactor,
25
+ defaultSkillUsageStorePath,
21
26
  diffRuns,
22
27
  executeUpload,
23
28
  exportTraceEvidenceFile,
@@ -45,6 +50,7 @@ import {
45
50
  planUpload,
46
51
  primeAnalyzer,
47
52
  projectSessionBundle,
53
+ readInstalledSkills,
48
54
  readJsonl,
49
55
  readOtlpInput,
50
56
  readSessionIndexFile,
@@ -52,6 +58,7 @@ import {
52
58
  renderInspectionReport,
53
59
  renderRunDiff,
54
60
  renderSessionFacts,
61
+ renderSkillUsage,
55
62
  renderValidation,
56
63
  resolveAdapter,
57
64
  resolveRunWatchTarget,
@@ -83,7 +90,7 @@ import {
83
90
  writeSessionIndexFile,
84
91
  writeTraceEvidenceExportFile,
85
92
  writeTraceQuestionsArtifacts
86
- } from "./chunk-YVCHWHCA.js";
93
+ } from "./chunk-KEB25UHZ.js";
87
94
 
88
95
  // src/cli.ts
89
96
  import { readFileSync } from "fs";
@@ -584,6 +591,9 @@ function parseArgs(argv) {
584
591
  case "--question-budget":
585
592
  a.questionBudget = Number(next());
586
593
  break;
594
+ case "--question-timeout":
595
+ a.questionTimeout = Number(next());
596
+ break;
587
597
  case "--redactor":
588
598
  a.redactorCmd = next();
589
599
  break;
@@ -1517,9 +1527,14 @@ async function cmdAsk(args) {
1517
1527
  if (args.budget !== void 0 && (!Number.isFinite(args.budget) || args.budget <= 0)) {
1518
1528
  throw new Error("--budget must be a positive number of USD");
1519
1529
  }
1530
+ const questionTimeoutMs = args.questionTimeout === void 0 ? void 0 : Math.round(args.questionTimeout * 1e3);
1531
+ if (questionTimeoutMs !== void 0 && (!Number.isSafeInteger(questionTimeoutMs) || questionTimeoutMs < 1e3)) {
1532
+ throw new Error("--question-timeout must be a number of seconds, at least 1");
1533
+ }
1520
1534
  const engine = analysisEngineFromEnv({
1521
1535
  model: analystModelFor(args),
1522
1536
  maxCostUsd: args.questionBudget ?? Math.min(args.budget ?? Infinity, DEFAULT_QUESTION_MAX_COST_USD),
1537
+ ...questionTimeoutMs !== void 0 ? { timeoutMs: questionTimeoutMs } : {},
1523
1538
  log: analystLog
1524
1539
  });
1525
1540
  const collected = await collectSpans(args);
@@ -1840,6 +1855,65 @@ async function cmdVerifySafe(argv) {
1840
1855
  `);
1841
1856
  process.exitCode = verdictExitCode(result);
1842
1857
  }
1858
+ async function cmdSkills(argv) {
1859
+ let since;
1860
+ let format = "text";
1861
+ let unusedOnly = false;
1862
+ let refresh = true;
1863
+ let storePath = defaultSkillUsageStorePath();
1864
+ let sweepThreshold = DEFAULT_SWEEP_THRESHOLD;
1865
+ for (let i = 0; i < argv.length; i++) {
1866
+ const arg = argv[i];
1867
+ if (arg === "--since") since = parseSince(argv[++i] ?? "");
1868
+ else if (arg === "--format") format = argv[++i] ?? "";
1869
+ else if (arg === "--unused") unusedOnly = true;
1870
+ else if (arg === "--no-refresh") refresh = false;
1871
+ else if (arg === "--store") storePath = argv[++i] ?? "";
1872
+ else if (arg === "--sweep") sweepThreshold = Number(argv[++i]);
1873
+ else if (arg === "--help" || arg === "-h") {
1874
+ usageSkills();
1875
+ return;
1876
+ } else throw new Error(`skills: unknown argument ${arg}`);
1877
+ }
1878
+ if (format !== "json" && format !== "text") throw new Error(`skills: --format must be json or text, got "${format}"`);
1879
+ if (!storePath) throw new Error("skills: --store needs a path");
1880
+ if (!Number.isInteger(sweepThreshold) || sweepThreshold < 1) throw new Error("skills: --sweep must be a positive integer");
1881
+ const store = await SkillUsageStore.load(storePath);
1882
+ const refreshed = refresh ? await store.refresh() : null;
1883
+ if (refreshed) await store.save();
1884
+ const report = buildSkillUsageReport(store.list(), await readInstalledSkills(), storePath, { since, sweepThreshold, refresh: refreshed });
1885
+ if (unusedOnly) {
1886
+ if (format === "json") process.stdout.write(`${JSON.stringify(report.unused, null, 2)}
1887
+ `);
1888
+ else for (const skill of report.unused) process.stdout.write(`${skill.skill} ${skill.installedIn.join(",")}
1889
+ `);
1890
+ return;
1891
+ }
1892
+ process.stdout.write(format === "json" ? `${JSON.stringify(report, null, 2)}
1893
+ ` : `${renderSkillUsage(report)}
1894
+ `);
1895
+ }
1896
+ function usageSkills() {
1897
+ console.log(`traces skills [--since 30d|ISO] [--format text|json] [--unused] [--no-refresh] [--store PATH] [--sweep N]
1898
+
1899
+ Count skill use across Claude Code, Codex, and Kimi Code sessions on this machine, with no
1900
+ model call. Each run reads only transcript bytes appended since the previous run and
1901
+ keeps the events in a store (default ${defaultSkillUsageStorePath()}), so counts
1902
+ survive a harness deleting old transcripts.
1903
+
1904
+ model Claude Code Skill tool calls that loaded a skill
1905
+ slash Claude Code /name commands that expanded to a skill or prompt
1906
+ read Codex or Kimi commands that successfully read <skill>/SKILL.md
1907
+
1908
+ --since count events at or after 30m / 2h / 7d or an ISO date (default: all stored)
1909
+ --unused print only installed skills with no use in the window
1910
+ --no-refresh answer from the store without reading transcripts
1911
+ --store store path
1912
+ --sweep one Codex or Kimi command reading N or more skills is a catalog sweep, not use;
1913
+ its reads are excluded and counted separately (default ${DEFAULT_SWEEP_THRESHOLD})
1914
+
1915
+ OpenCode, Pi, Gemini and other harnesses are not indexed.`);
1916
+ }
1843
1917
  function usageVerifySafe() {
1844
1918
  console.log(`traces verify-safe <file|dir> [--profile default|share|strict] [--known-secret-env NAME]... [--format text|json]
1845
1919
 
@@ -1980,6 +2054,10 @@ Commands:
1980
2054
  No model call, no budget, $0. Every fact names the span ids it came
1981
2055
  from; a fact the spans cannot support is null with its reason.
1982
2056
  --format json (default) or text (exit 1 when a session cannot be read)
2057
+ skills Count skill use across Claude Code, Codex, and Kimi Code sessions on this
2058
+ machine, and list installed skills with no use in the window.
2059
+ Incremental: a run reads only transcript bytes appended since the
2060
+ last run. No model call. traces skills --help
1983
2061
  convert Emit OTLP-JSONL only, to --otlp-out (HALO: use analyze --analyzer halo)
1984
2062
  index Emit a reusable session index JSON for later investigation
1985
2063
  bundle Assemble one session's durable evidence directory: transcript +
@@ -2092,6 +2170,9 @@ Options:
2092
2170
  --question-budget <usd>
2093
2171
  ask: provider ceiling for one question (default: the smaller
2094
2172
  of --budget and $${DEFAULT_QUESTION_MAX_COST_USD})
2173
+ --question-timeout <seconds>
2174
+ ask: wall-clock deadline for one question's investigation
2175
+ (default: ${DEFAULT_QUESTION_TIMEOUT_MS / 1e3})
2095
2176
  --concurrency <n> ask: questions running at once (default 4);
2096
2177
  import-codetracebench: trajectories imported at once
2097
2178
  --analyzer <id> analyze: also run halo, hodoscope, prime, or an installed command (repeatable);
@@ -2167,6 +2248,10 @@ async function main() {
2167
2248
  await cmdVerifySafe(rawArgs.slice(1));
2168
2249
  return;
2169
2250
  }
2251
+ if (rawArgs[0] === "skills") {
2252
+ await cmdSkills(rawArgs.slice(1));
2253
+ return;
2254
+ }
2170
2255
  const parsedArgs = parseArgs(rawArgs);
2171
2256
  if (parsedArgs.help) {
2172
2257
  if (parsedArgs.command === "import-codetracebench" || parsedArgs.command === "help" && parsedArgs.input === "import-codetracebench") usageImportCodeTraceBench();
package/dist/index.d.ts CHANGED
@@ -1313,6 +1313,17 @@ declare class CodexAdapter implements HarnessTraceAdapter {
1313
1313
  * user prompt. Callers select it explicitly with `--session`; event order is
1314
1314
  * preserved with `step`, and missing timestamps use the source file mtime
1315
1315
  * without inventing durations.
1316
+ *
1317
+ * The same events also arrive wrapped in a Tangle Sandbox live stream
1318
+ * (`retained-execution-*.jsonl`): `{ id, type: 'raw', data: { backend:
1319
+ * 'codex', event }, at }` beside the sandbox's own status, heartbeat, and
1320
+ * message events. The adapter reads `data.event` from Codex raw envelopes,
1321
+ * ignores every other envelope, and uses `at` (the sandbox's receipt time)
1322
+ * when the Codex event has no timestamp of its own.
1323
+ *
1324
+ * A stream that is still being written ends inside a turn. That turn, and any
1325
+ * item it started without completing, are emitted with status UNSET and an
1326
+ * `in_progress` marker, so a live session can be analyzed before it settles.
1316
1327
  */
1317
1328
 
1318
1329
  declare class CodexExecStreamError extends Error {
@@ -1451,6 +1462,26 @@ declare class PiAdapter implements HarnessTraceAdapter {
1451
1462
  parse(ref: SessionRef, options?: ParseOptions): Promise<OtlpSpan[]>;
1452
1463
  }
1453
1464
 
1465
+ type SupportedHarness = 'claude-code' | 'codex' | 'opencode' | 'pi' | 'kimi-code' | 'factory-droids';
1466
+ /** The compatibility boundary between traces' session selection and the shared native reader. */
1467
+ declare class HarnessSessionsAdapter implements HarnessTraceAdapter {
1468
+ readonly nativeHarness: SupportedHarness;
1469
+ readonly harness: string;
1470
+ readonly aliases: readonly string[];
1471
+ private readonly reader;
1472
+ private readonly refs;
1473
+ private readonly legacyOpencode;
1474
+ private readonly scopedAdapter;
1475
+ constructor(nativeHarness: SupportedHarness, displayHarness?: string, aliases?: readonly string[]);
1476
+ locate(opts?: LocateOptions): Promise<SessionRef[]>;
1477
+ locateBySessionId(sessionId: string, opts?: LocateOptions): Promise<SessionRef[]>;
1478
+ sourcePaths(ref: SessionRef): Promise<readonly string[]>;
1479
+ private resolveNativeRef;
1480
+ parse(ref: SessionRef, options?: ParseOptions): Promise<OtlpSpan[]>;
1481
+ resolveParentTask(ref: SessionRef, childSessionId: string, options?: Pick<ParseOptions, 'corruptionMode' | 'signal'>): Promise<ParentTaskResolution>;
1482
+ locateSpawnedChildren(parentSessionId: string, agentPaths: readonly string[], options?: LocateOptions & Pick<ParseOptions, 'corruptionMode' | 'signal'>): Promise<readonly SpawnedChildResolution[]>;
1483
+ }
1484
+
1454
1485
  /**
1455
1486
  * Sourcegraph Amp adapter — `${XDG_DATA_HOME:-~/.local/share}/amp/threads/T-*.json`.
1456
1487
  *
@@ -1884,6 +1915,142 @@ declare function computeAdoption(spans: readonly OtlpSpan[]): AdoptionReport;
1884
1915
  /** Add only explicitly requested repository history to the same span measurements. */
1885
1916
  declare function analyzeAdoption(spans: readonly OtlpSpan[], opts?: AdoptionOptions): Promise<AdoptionReport>;
1886
1917
 
1918
+ /**
1919
+ * Skill usage across coding-agent session stores: deterministic, incremental, no model call.
1920
+ *
1921
+ * `analyze` parses whole sessions into spans. That costs seconds per few dozen
1922
+ * sessions and stops on one malformed transcript, while skill usage is a
1923
+ * question over every session on the machine (tens of gigabytes). This module
1924
+ * reads raw session bytes, parses only the lines that carry a skill record, and
1925
+ * keeps a byte cursor per file. A refresh reads only bytes appended since the
1926
+ * previous refresh; a query reads the stored events, never the transcripts.
1927
+ *
1928
+ * What counts:
1929
+ * - Claude Code `model`: a Skill tool result that loaded a skill. A main session records
1930
+ * `toolUseResult.commandName`; subagent and workflow transcripts carry only the result
1931
+ * text (`Launching skill: <name>`, or `Skill "<name>" launched (forked execution…`).
1932
+ * - Claude Code `slash`: a user `/name` command whose next record is its expanded
1933
+ * prompt (`isMeta`). Built-in commands such as /clear expand to nothing and are skipped.
1934
+ * - Codex `read`: a completed shell command that reads `<skill>/SKILL.md`. Codex has
1935
+ * no dedicated skill event, so reading the document is the closest observable act;
1936
+ * a read is not evidence that the skill shaped the outcome. One command that reads
1937
+ * several skills at once is a catalog sweep (an audit or a survey), counted apart.
1938
+ * - Kimi Code `read`: a successful ReadFile call or shell command that reads a skill
1939
+ * document. Kimi streams tool arguments, so a call is counted after its result.
1940
+ *
1941
+ * Each event is keyed by its record ID, so a resumed session that copies earlier
1942
+ * records, or a file reread after truncation, never counts an event twice. The
1943
+ * store keeps events after a harness deletes old transcripts.
1944
+ */
1945
+ type SkillUsageHarness = 'claude-code' | 'codex' | 'kimi-code';
1946
+ type SkillUsageKind = 'model' | 'slash' | 'read';
1947
+ interface SkillUsageEvent {
1948
+ harness: SkillUsageHarness;
1949
+ kind: SkillUsageKind;
1950
+ skill: string;
1951
+ /** Directory holding the skill folder, when the record names it. */
1952
+ root: string | null;
1953
+ /** Record timestamp; null when the record carries none. */
1954
+ ts: string | null;
1955
+ session: string;
1956
+ /** Record identity that keeps each event counted once. */
1957
+ id: string;
1958
+ }
1959
+ interface SkillUsageSources {
1960
+ /** Claude Code projects directory (`~/.claude/projects`). */
1961
+ claudeProjects: string;
1962
+ /** Codex session directories (`~/.codex/sessions`, `~/.codex/archived_sessions`). */
1963
+ codexSessions: readonly string[];
1964
+ /** Kimi session directory (`~/.kimi/sessions`); only wire.jsonl is scanned. */
1965
+ kimiSessions?: string;
1966
+ }
1967
+ interface SkillUsageRefresh {
1968
+ harness: SkillUsageHarness;
1969
+ files: number;
1970
+ filesRead: number;
1971
+ bytesRead: number;
1972
+ eventsAdded: number;
1973
+ }
1974
+ declare function defaultSkillUsageSources(): SkillUsageSources;
1975
+ declare function defaultSkillUsageStorePath(): string;
1976
+ /** The stored events and per-file cursors. Load, refresh, then query. */
1977
+ declare class SkillUsageStore {
1978
+ readonly path: string;
1979
+ private readonly events;
1980
+ private files;
1981
+ private constructor();
1982
+ static load(path: string): Promise<SkillUsageStore>;
1983
+ get size(): number;
1984
+ list(): SkillUsageEvent[];
1985
+ private add;
1986
+ private setRoot;
1987
+ save(): Promise<void>;
1988
+ /** Read bytes appended since the previous refresh. Cost is proportional to new bytes. */
1989
+ refresh(sources?: SkillUsageSources): Promise<SkillUsageRefresh[]>;
1990
+ private refreshHarness;
1991
+ private refreshFile;
1992
+ private scanClaude;
1993
+ /** Confirm a slash command by its expansion: the first later record whose parent it is. */
1994
+ private resolveSlash;
1995
+ private scanCodex;
1996
+ private scanKimi;
1997
+ }
1998
+ interface InstalledSkill {
1999
+ name: string;
2000
+ harness: SkillUsageHarness;
2001
+ /** Folder holding SKILL.md, as installed (links not resolved). */
2002
+ path: string;
2003
+ }
2004
+ interface SkillCatalogRoots {
2005
+ /** Claude Code home (`~/.claude`): `skills/` plus enabled plugins' skills. */
2006
+ claudeHome: string;
2007
+ /** Folders Codex lists skills from (`~/.codex/skills`, its `.system`, `~/.agents/skills`). */
2008
+ codexSkillDirs: readonly string[];
2009
+ }
2010
+ declare function defaultSkillCatalogRoots(): SkillCatalogRoots;
2011
+ /** Skills each harness would list now. Claude plugin skills are named `<plugin>:<skill>`. */
2012
+ declare function readInstalledSkills(roots?: SkillCatalogRoots): Promise<InstalledSkill[]>;
2013
+ interface SkillUsageRow {
2014
+ skill: string;
2015
+ model: number;
2016
+ slash: number;
2017
+ read: number;
2018
+ sessions: number;
2019
+ firstUsed: string | null;
2020
+ lastUsed: string | null;
2021
+ /** Harnesses whose catalog lists this skill now; empty for built-in or removed skills. */
2022
+ installedIn: SkillUsageHarness[];
2023
+ }
2024
+ interface SkillUsageReport {
2025
+ since: string | null;
2026
+ storePath: string;
2027
+ refresh: SkillUsageRefresh[] | null;
2028
+ storedEvents: number;
2029
+ firstEvent: string | null;
2030
+ lastEvent: string | null;
2031
+ rows: SkillUsageRow[];
2032
+ /** Installed skills with no counted event in the window, by name. */
2033
+ unused: Array<{
2034
+ skill: string;
2035
+ installedIn: SkillUsageHarness[];
2036
+ }>;
2037
+ /** One Codex or Kimi command reading at least `sweepThreshold` skills is a catalog sweep, not use. */
2038
+ sweepThreshold: number;
2039
+ sweepCommands: number;
2040
+ sweepReadsExcluded: number;
2041
+ /** Harnesses whose skill records this command does not read. */
2042
+ notIndexed: string[];
2043
+ }
2044
+ interface SkillUsageReportOptions {
2045
+ /** Epoch ms; events before it are excluded. Events without a timestamp are excluded from a window. */
2046
+ since?: number;
2047
+ sweepThreshold?: number;
2048
+ refresh?: SkillUsageRefresh[] | null;
2049
+ }
2050
+ declare const DEFAULT_SWEEP_THRESHOLD = 3;
2051
+ declare function buildSkillUsageReport(events: readonly SkillUsageEvent[], installed: readonly InstalledSkill[], storePath: string, options?: SkillUsageReportOptions): SkillUsageReport;
2052
+ declare function renderSkillUsage(report: SkillUsageReport): string;
2053
+
1887
2054
  type TraceAgenticRouteReasonCode = 'requested-baseline' | 'execution-failures' | 'repeated-tool-loops' | 'corrective-human-feedback';
1888
2055
  interface TraceAgenticRouteReason {
1889
2056
  readonly code: TraceAgenticRouteReasonCode;
@@ -3426,6 +3593,8 @@ interface TraceQuestionsResult {
3426
3593
  readonly budgetUsd: number | null;
3427
3594
  /** The engine's own ceiling for one question, when it declares one. */
3428
3595
  readonly questionBudgetUsd: number | null;
3596
+ /** The engine's wall-clock deadline for one question, when it declares one. */
3597
+ readonly questionTimeoutMs: number | null;
3429
3598
  readonly spanCount: number;
3430
3599
  readonly otlpPath: string;
3431
3600
  readonly traces: readonly TraceQuestionTrace[];
@@ -3987,6 +4156,8 @@ interface AnalysisEngineFromEnvOptions {
3987
4156
  * cap here and the total to the ledger.
3988
4157
  */
3989
4158
  maxCostUsd?: number;
4159
+ /** Wall-clock deadline for ONE investigation. Default: {@link DEFAULT_QUESTION_TIMEOUT_MS}. */
4160
+ timeoutMs?: number;
3990
4161
  /** Receives one line per model call, in the CLI's analyst log format. */
3991
4162
  log?: (msg: string, fields?: Record<string, unknown>) => void;
3992
4163
  /** Environment to read credentials and the Python interpreter from. Default: process.env. */
@@ -4222,6 +4393,8 @@ interface RunContextJournal {
4222
4393
  /** Node ids that appear as some spawn's `parent` — the exact supervisor set. */
4223
4394
  readonly supervisorIds: ReadonlySet<string>;
4224
4395
  readonly invalidRows: number;
4396
+ /** Readable `waiting`/`woken` rows from a Runtime that still had wait-state nodes. */
4397
+ readonly retiredWaitRows: number;
4225
4398
  readonly partialTail: boolean;
4226
4399
  readonly present: boolean;
4227
4400
  }
@@ -4359,6 +4532,8 @@ interface RunContextSnapshot {
4359
4532
  readonly terminal: boolean;
4360
4533
  /** Rows that were present and unreadable, per artifact. */
4361
4534
  readonly invalidJournalRows: number;
4535
+ /** Wait-state rows from a pre-0.305 Runtime, left out of the tree. */
4536
+ readonly retiredWaitRows: number;
4362
4537
  readonly invalidCoordinationRows: number;
4363
4538
  /** True when an artifact's last line was still being written. */
4364
4539
  readonly partialTail: boolean;
@@ -4973,4 +5148,4 @@ declare function parseRetainedSession(input: {
4973
5148
  readonly signal?: AbortSignal;
4974
5149
  }): Promise<RetainedSessionSelection>;
4975
5150
 
4976
- export { ACTOR_ATTR, ATTR, type Actor, type AdoptionOptions, type AdoptionReport, AmpAdapter, type AnalysisEngineFromEnvOptions, type AnalyzeOptions, type AnalyzeResult, type AnswerSchema, type AssembleSessionBundleOptions, BLOBS_DIR, type BuildPolicyEvidenceOptions, type BuildSessionIndexOptions, type BuildTraceFindingPacketOptions, CHANGED_FILE_LIST_CAP, CITATION_NORMALIZATION_VERSION, CONTENT_CAP, COORDINATION_LOG_FILE, CORRECTIVE_REACTIONS, type ChangedFileFact, type ChatTrajectory, type ChatTrajectoryMessage, type ChatTrajectoryOptions, ClaudeAdapter, type CodeTraceBenchFileRef, type CodeTraceBenchImportOptions, type CodeTraceBenchImportReceipt, type CodeTraceBenchImportResult, type CodeTraceBenchImportedTrace, type CodeTraceBenchStep, CodexAdapter, CodexExecAdapter, CodexExecStreamError, CodexTaskScopeError, type CollectOptions, type CollectPolicyEvidenceOptions, type CollectSessionIndexOptions, type CollectSessionSelectionOptions, type CollectSessionWorkflowOptions, type CompactionMeasurement, type ConformanceRenderOptions, type ContentFootprint, type CoordinationLog, type CoordinationQuestion, type CoordinationSteer, CopilotAdapter, type CorruptionMode, type CoveredMeasurement, DEFAULT_ANALYST_MODEL, DEFAULT_ASK_CONCURRENCY, DEFAULT_HARNESS, DEFAULT_SANDBOX_BASE_URL, EMPTY_SPAN_RUN_SNAPSHOT, EXPORT_RULE, EmptySessionError, type EvidenceOnlyVerdict, type ExcludedTurnFact, type ExecuteOptions, type ExportRule, type ExternalAnalysisKind, type ExternalAnalysisPayload, type ExternalAnalysisResult, type ExternalAnalyzer, type ExternalAnalyzerOptions, type ExternalDiscoveryCandidate, FACT_LIST_CAP, FACT_TEXT_CAP, FactoryAdapter, type FailureFollowUp, type FailureFollowUpReport, type FileRunContextReaderOptions, type FinalMessageFact, type FindSessionTextLeaksOptions, type FindingRejectionCounts, type FindingRejectionReasons, type FindingRejectionTally, type FindingsFileOutcome, type FollowUpKind, ForgeAdapter, GeminiAdapter, type HaloAnalyzerOptions, type HaloReasoningEffort, type HarnessTraceAdapter, type HodoscopeAnalyzerOptions, type HodoscopeInput, type HodoscopeMessage, type HodoscopeSourceMapEntry, type HodoscopeTrajectory, INGEST_SOURCE_CLI, INHERITED_SOURCE_ATTR, INHERITED_SPANS_OMITTED_ATTR, INHERITED_SPAN_ATTR, INHERITED_SPAN_COUNT_ATTR, type InheritedSpanSource, type InspectSessionIndexOptions, JsonSourceError, type JsonlCorruptionReceipt, JsonlParseError, type JsonlReadOptions, type LiveBatchOptions, type LocateOptions, type LoopConvergence, type LoopConvergenceReport, type LoopIteration, type LoopTrend, type LoopTrendBasis, MAX_SHELL_DEPTH, MAX_TRACE_QUESTION_CHARS, type ObservedLoop, type ObserverOptions, OpencodeAdapter, type OtlpIngestIssue, type OtlpIngestIssueKind, type OtlpInput, type OtlpInputFile, type OtlpRowConversion, type OtlpSpan, type OtlpSpanKind, type OtlpSpanLink, type OtlpStatusCode, POLICY_EVIDENCE_NOTE, PREPARED_CONTEXT_BYTE_CEILING, type ParentTaskResolution, type ParseOptions, PartialUploadError, PiAdapter, type PiAdapterOptions, type PipelineOptions, type PipelineReport, type PlanOptions, type PolicyEvidenceLoopSummary, type PolicyEvidenceRecord, type PolicyEvidenceToolSummary, type PrimeAnalyzerOptions, type PrimeTransport, type PrimeTransportRequest, type PrimeTransportResponse, type ProjectSessionBundleOptions, type ProjectSessionBundleResult, type PullRequestFact, type PullRequestFacts, type PullRequestReading, QwenAdapter, REACTIONS, RESULT_FILE, RETAINED_SESSION_READER_VERSION, RULE, type Reaction, type ReactionReport, type ReactionSessionReport, type RedactSpansOptions, type Redactor, type RefusedSession, type RepoAttrs, type RepoResolution, type RepoResolutionSource, type ResolvedOtlpInput, type RetainedSessionFile, type RetainedSessionSelection, type RunContextJournal, type RunContextNode, type RunContextResult, type RunContextSnapshot, type RunDiffOptions, type RunDiffReport, type RunDiffSide, type RunResult, type RunWatchSnapshot, type RunWatchTarget, type RuntimeTrace, SESSION_FACTS_MEASUREMENT_VERSION, SESSION_FACTS_VERSION_SUFFIX, SESSION_TOKEN_TOTAL_ATTR, SOURCE_ATTRIBUTE_PREFIX, SPAN_SYNTHESIZED_ATTR, SPAWN_JOURNAL_FILE, STATUS_MARK, SYNTHESIZED_SOURCE_ATTR, SYNTHESIZED_SPAN_ATTR, type SandboxReplayBackendOptions, type ScanOptions, type ScannedSession, type SessionBatch, type SessionBundleAbsence, type SessionBundleCarriedSignatures, type SessionBundleExclusion, type SessionBundleExclusionRule, type SessionBundleFile, type SessionBundleIssue, type SessionBundleIssueKind, type SessionBundleLeakCheck, type SessionBundleLedgerSlice, type SessionBundleManifest, type SessionBundleProjection, type SessionBundleResult, type SessionBundleSliceRule, type SessionBundleVerification, type SessionBundleView, type SessionCorruptionReceipt, type SessionEnvironment, type SessionFact, type SessionFacts, type SessionFactsOptions, type SessionFactsReport, type SessionIdentityConflict, type SessionIdentityIndex, type SessionIntegrity, type SessionMeasurements, type SessionRef, type SessionRelationship, type SessionRole, type SessionSeedGroup, type SessionSelection, type SessionSelectionRow, type SessionSourceFile, type SessionTextLeak, type SessionTextLeakReport, type SessionTurnFact, type SessionWorkflow, SessionWorkflowError, type SessionWorkflowErrorCode, type SessionWorkflowIssue, type SessionWorkflowSession, type SessionWorkflowSummary, type SkippedAnalysis, type SkippedInputFile, type SourceRecordReference, type SpanInput, type SpanNodeStatus, type SpanRedaction, type SpanRunNode, type SpanRunSnapshot, type SpanStructure, type SpawnedChildResolution, type SpendRoll, type SteeringChainReport, type SteeringEdge, type SubagentSpawnFact, TRACE_QUESTION_PREVIEW_HEAD_CHARS, type ToolMeasurement, type TraceAgenticRoute, type TraceAgenticRouteReason, type TraceAgenticRouteReasonCode, type TraceContextIndex, type TraceContextRoot, type TraceEvidenceExportOptions, type TraceEvidenceExportResult, type TraceEvidenceFormatOption, type TraceEvidenceInputFormat, type TraceEvidenceRow, type TraceExecutionOptions, type TraceFindingPacket, type TraceImprovementArtifacts, type TraceImprovementOptions, type TraceImprovementResult, type TraceIndexedFile, type TraceInspectionArea, type TraceInspectionFinding, type TraceInspectionReport, type TraceInspectionSeverity, type TraceInvestigationOptions, type TraceInvestigationResult, type TraceLiveAction, type TraceLiveActionKind, type TraceLiveAnalysisContext, type TraceLiveAnalyst, type TraceLiveBatch, type TraceLiveEvidence, type TraceLiveFinding, type TraceLiveLoop, type TraceLiveSeverity, type TraceQuestion, type TraceQuestionAnswer, type TraceQuestionCitation, type TraceQuestionFailureKind, type TraceQuestionTrace, type TraceQuestionsArtifacts, type TraceQuestionsOptions, type TraceQuestionsResult, type TraceQuestionsTotals, type TraceSessionIndex, type TraceSessionIndexRow, type TraceStoreInvestigationOptions, type TraceStoreInvestigationResult, type TraceStreamEvent, type TraceStreamOptions, type TraceStreamReplayOptions, type TraceStreamSession, type TracesConfig, type TriggerPair, type TurnActorCount, type UnavailableCapabilities, type UploadBackend, type UploadIdentity, type UploadItem, type UploadPlan, type UploadRecord, type UploadResult, type UploadState, type UserPromptInput, type VerifySafeOptions, type VerifySafeResult, type WatchRunTargetOptions, ZERO_ROLL, type ZaiChatCallerOptions, addSpend, alreadyUploaded, analysisEngineFromEnv, analyzeAdoption, analyzeLiveBatch, analyzeLoopConvergence, analyzeReactions, analyzeSpans, analyzeSteeringChain, answerSchemaErrors, applyRedactor, assembleSessionBundle, assertAnswerSchema, assertSandboxReachable, assessSpans, buildPolicyEvidenceRecord, buildSessionFactsReport, buildSessionIndex, buildSessionIndexFromRows, buildSpanRunTree, buildTraceFindingPacket, capText, chatTrajectoryToSpans, classifyEvidenceOnlyPath, classifyFailureFollowUps, classifyLiveActions, classifyReaction, claudeActor, codexActor, collectPolicyEvidence, collectSessionIndex, collectSessionSelection, collectSessionWorkflow, collectSessions, commandAnalyzer, commandRedactor, commandTextFromInput, computeAdoption, computeSessionFacts, conformanceOfSpans, connectors, countSkillRunsJsonl, createBundleSourceReader, createFindingRejectionTally, cwdMatchesSelection, cwdMatchesSelectionResolved, defaultTraceLiveAnalysts, describeSessionRelationship, diffRuns, engineCallReservationFloorUsd, environmentAttributes, environmentFromSpanAttributes, equivalentGitCwds, executeUpload, exportTraceEvidenceFile, exportTraceEvidenceRows, exportTraceEvidenceText, externalFailureMessage, fileRunContextSupervisorRunReader, fileSha256, findContextRoot, findSessionTextLeaks, findSpanSourceFiles, findingRejection, findingRejectionDetail, forEachTreeNode, formatFindingRejections, formatVerdict, haloAnalyzer, hashSessionBundleFiles, hodoscopeAnalyzer, httpJsonTransport, importCodeTraceBench, incompleteInputsNote, indexSessionIdsByTrace, inferRole, inferSpanKind, inspectSessionIndex, int, isBridgeMismatchError, isChatTrajectory, isChatTrajectoryMessage, isFileRunContextDir, isInheritedSpan, isSynthesizedSpan, iterSerializedSpans, knownHarnesses, listAdapters, listSessionBundleFiles, loadState, loadTraceQuestionsFile, loadTracesConfig, locateSessions, looksLikeAgentPrompt, mergeRolls, mergeTracesConfig, ms, normalizeAnalystCitations, normalizeRemote, normalizeTraceQuestions, otlpRowToSpan, outboundHash, parseIsoToEpochMs, parseJsonAnswer, parseRetainedSession, parseSession, parseSince, planTraceAgenticRoute, planUpload, primeAnalyzer, projectSessionBundle, readCoordinationLog, readFileRunContext, readJsonFile, readJsonl, readOtlpInput, readPullRequests, readRunContextJournal, readRunContextSnapshot, readRunSide, readRunWatchSnapshot, readSessionBundleManifest, readSessionIndexFile, readSpanRunSnapshot, recordSessionCorruption, redactSpans, renderConformance, renderInspectionReport, renderRunContextSnapshot, renderRunDiff, renderRunWatchSnapshot, renderSessionFacts, renderSessionFactsContext, renderSpanRunSnapshot, renderTraceQuestionInstructions, renderTraceQuestionPrompt, renderTraceQuestionsReport, renderValidation, resolveAdapter, resolveOtlpInputFiles, resolveRepoAttrs, resolveRunContextDir, resolveRunWatchTarget, resolveSessionRepoAttrs, runCommand, runExternalAnalyzers, runPipelines, runTotals, runTraceImprovement, runTraceInvestigation, runTraceQuestions, runTraceStoreInvestigation, sandboxReplayBackend, saveReport, saveState, scanSessions, selectAdapters, serializeInspectionReport, serializePolicyEvidence, serializeSessionIndex, serializeSpans, serializeTraceStreamEvent, sessionFactsContext, sessionHash, sessionIdFromAttributes, sessionIntegrityAttributes, sessionTextSignatures, shellCommands, skippedAnalyses, span, spanRunTotals, stampEnvironmentAttrs, stampRepoAttrs, stampSessionIdentity, stampSessionIntegrity, stampSpanWorkdirRepoAttrs, streamSessions, summarizeOtlpExecution, summarizeSpanExecution, summarizeSpanStructure, takeJsonl, textIsSynthetic, toOpenInferenceSpan, toRuntimeStore, toTraceSpanEvents, tokens, totalAgenticFailureMessage, totalFindingRejections, traceAgenticKinds, traceCitationsInText, traceStreamEventsFromSpans, unavailableCapabilities, uploadKey, usd, userPromptSpan, validateOtlpSpans, validationExitCode, verdictExitCode, verifyFindingsInSandbox, verifySafe, verifySessionBundle, watchRunTarget, watchSessions, withSessionFactsContext, wrap, writeHodoscopeInput, writeInspectionReportFile, writeOtlpFile, writePolicyEvidenceFile, writeSessionBundleManifest, writeSessionIndexFile, writeTraceEvidenceExportFile, writeTraceImprovementArtifacts, writeTraceQuestionsArtifacts, zaiChatCaller, zeroPricedCost };
5151
+ export { ACTOR_ATTR, ATTR, type Actor, type AdoptionOptions, type AdoptionReport, AmpAdapter, type AnalysisEngineFromEnvOptions, type AnalyzeOptions, type AnalyzeResult, type AnswerSchema, type AssembleSessionBundleOptions, BLOBS_DIR, type BuildPolicyEvidenceOptions, type BuildSessionIndexOptions, type BuildTraceFindingPacketOptions, CHANGED_FILE_LIST_CAP, CITATION_NORMALIZATION_VERSION, CONTENT_CAP, COORDINATION_LOG_FILE, CORRECTIVE_REACTIONS, type ChangedFileFact, type ChatTrajectory, type ChatTrajectoryMessage, type ChatTrajectoryOptions, ClaudeAdapter, type CodeTraceBenchFileRef, type CodeTraceBenchImportOptions, type CodeTraceBenchImportReceipt, type CodeTraceBenchImportResult, type CodeTraceBenchImportedTrace, type CodeTraceBenchStep, CodexAdapter, CodexExecAdapter, CodexExecStreamError, CodexTaskScopeError, type CollectOptions, type CollectPolicyEvidenceOptions, type CollectSessionIndexOptions, type CollectSessionSelectionOptions, type CollectSessionWorkflowOptions, type CompactionMeasurement, type ConformanceRenderOptions, type ContentFootprint, type CoordinationLog, type CoordinationQuestion, type CoordinationSteer, CopilotAdapter, type CorruptionMode, type CoveredMeasurement, DEFAULT_ANALYST_MODEL, DEFAULT_ASK_CONCURRENCY, DEFAULT_HARNESS, DEFAULT_SANDBOX_BASE_URL, DEFAULT_SWEEP_THRESHOLD, EMPTY_SPAN_RUN_SNAPSHOT, EXPORT_RULE, EmptySessionError, type EvidenceOnlyVerdict, type ExcludedTurnFact, type ExecuteOptions, type ExportRule, type ExternalAnalysisKind, type ExternalAnalysisPayload, type ExternalAnalysisResult, type ExternalAnalyzer, type ExternalAnalyzerOptions, type ExternalDiscoveryCandidate, FACT_LIST_CAP, FACT_TEXT_CAP, FactoryAdapter, type FailureFollowUp, type FailureFollowUpReport, type FileRunContextReaderOptions, type FinalMessageFact, type FindSessionTextLeaksOptions, type FindingRejectionCounts, type FindingRejectionReasons, type FindingRejectionTally, type FindingsFileOutcome, type FollowUpKind, ForgeAdapter, GeminiAdapter, type HaloAnalyzerOptions, type HaloReasoningEffort, HarnessSessionsAdapter, type HarnessTraceAdapter, type HodoscopeAnalyzerOptions, type HodoscopeInput, type HodoscopeMessage, type HodoscopeSourceMapEntry, type HodoscopeTrajectory, INGEST_SOURCE_CLI, INHERITED_SOURCE_ATTR, INHERITED_SPANS_OMITTED_ATTR, INHERITED_SPAN_ATTR, INHERITED_SPAN_COUNT_ATTR, type InheritedSpanSource, type InspectSessionIndexOptions, type InstalledSkill, JsonSourceError, type JsonlCorruptionReceipt, JsonlParseError, type JsonlReadOptions, type LiveBatchOptions, type LocateOptions, type LoopConvergence, type LoopConvergenceReport, type LoopIteration, type LoopTrend, type LoopTrendBasis, MAX_SHELL_DEPTH, MAX_TRACE_QUESTION_CHARS, type ObservedLoop, type ObserverOptions, OpencodeAdapter, type OtlpIngestIssue, type OtlpIngestIssueKind, type OtlpInput, type OtlpInputFile, type OtlpRowConversion, type OtlpSpan, type OtlpSpanKind, type OtlpSpanLink, type OtlpStatusCode, POLICY_EVIDENCE_NOTE, PREPARED_CONTEXT_BYTE_CEILING, type ParentTaskResolution, type ParseOptions, PartialUploadError, PiAdapter, type PiAdapterOptions, type PipelineOptions, type PipelineReport, type PlanOptions, type PolicyEvidenceLoopSummary, type PolicyEvidenceRecord, type PolicyEvidenceToolSummary, type PrimeAnalyzerOptions, type PrimeTransport, type PrimeTransportRequest, type PrimeTransportResponse, type ProjectSessionBundleOptions, type ProjectSessionBundleResult, type PullRequestFact, type PullRequestFacts, type PullRequestReading, QwenAdapter, REACTIONS, RESULT_FILE, RETAINED_SESSION_READER_VERSION, RULE, type Reaction, type ReactionReport, type ReactionSessionReport, type RedactSpansOptions, type Redactor, type RefusedSession, type RepoAttrs, type RepoResolution, type RepoResolutionSource, type ResolvedOtlpInput, type RetainedSessionFile, type RetainedSessionSelection, type RunContextJournal, type RunContextNode, type RunContextResult, type RunContextSnapshot, type RunDiffOptions, type RunDiffReport, type RunDiffSide, type RunResult, type RunWatchSnapshot, type RunWatchTarget, type RuntimeTrace, SESSION_FACTS_MEASUREMENT_VERSION, SESSION_FACTS_VERSION_SUFFIX, SESSION_TOKEN_TOTAL_ATTR, SOURCE_ATTRIBUTE_PREFIX, SPAN_SYNTHESIZED_ATTR, SPAWN_JOURNAL_FILE, STATUS_MARK, SYNTHESIZED_SOURCE_ATTR, SYNTHESIZED_SPAN_ATTR, type SandboxReplayBackendOptions, type ScanOptions, type ScannedSession, type SessionBatch, type SessionBundleAbsence, type SessionBundleCarriedSignatures, type SessionBundleExclusion, type SessionBundleExclusionRule, type SessionBundleFile, type SessionBundleIssue, type SessionBundleIssueKind, type SessionBundleLeakCheck, type SessionBundleLedgerSlice, type SessionBundleManifest, type SessionBundleProjection, type SessionBundleResult, type SessionBundleSliceRule, type SessionBundleVerification, type SessionBundleView, type SessionCorruptionReceipt, type SessionEnvironment, type SessionFact, type SessionFacts, type SessionFactsOptions, type SessionFactsReport, type SessionIdentityConflict, type SessionIdentityIndex, type SessionIntegrity, type SessionMeasurements, type SessionRef, type SessionRelationship, type SessionRole, type SessionSeedGroup, type SessionSelection, type SessionSelectionRow, type SessionSourceFile, type SessionTextLeak, type SessionTextLeakReport, type SessionTurnFact, type SessionWorkflow, SessionWorkflowError, type SessionWorkflowErrorCode, type SessionWorkflowIssue, type SessionWorkflowSession, type SessionWorkflowSummary, type SkillCatalogRoots, type SkillUsageEvent, type SkillUsageHarness, type SkillUsageKind, type SkillUsageRefresh, type SkillUsageReport, type SkillUsageReportOptions, type SkillUsageRow, type SkillUsageSources, SkillUsageStore, type SkippedAnalysis, type SkippedInputFile, type SourceRecordReference, type SpanInput, type SpanNodeStatus, type SpanRedaction, type SpanRunNode, type SpanRunSnapshot, type SpanStructure, type SpawnedChildResolution, type SpendRoll, type SteeringChainReport, type SteeringEdge, type SubagentSpawnFact, TRACE_QUESTION_PREVIEW_HEAD_CHARS, type ToolMeasurement, type TraceAgenticRoute, type TraceAgenticRouteReason, type TraceAgenticRouteReasonCode, type TraceContextIndex, type TraceContextRoot, type TraceEvidenceExportOptions, type TraceEvidenceExportResult, type TraceEvidenceFormatOption, type TraceEvidenceInputFormat, type TraceEvidenceRow, type TraceExecutionOptions, type TraceFindingPacket, type TraceImprovementArtifacts, type TraceImprovementOptions, type TraceImprovementResult, type TraceIndexedFile, type TraceInspectionArea, type TraceInspectionFinding, type TraceInspectionReport, type TraceInspectionSeverity, type TraceInvestigationOptions, type TraceInvestigationResult, type TraceLiveAction, type TraceLiveActionKind, type TraceLiveAnalysisContext, type TraceLiveAnalyst, type TraceLiveBatch, type TraceLiveEvidence, type TraceLiveFinding, type TraceLiveLoop, type TraceLiveSeverity, type TraceQuestion, type TraceQuestionAnswer, type TraceQuestionCitation, type TraceQuestionFailureKind, type TraceQuestionTrace, type TraceQuestionsArtifacts, type TraceQuestionsOptions, type TraceQuestionsResult, type TraceQuestionsTotals, type TraceSessionIndex, type TraceSessionIndexRow, type TraceStoreInvestigationOptions, type TraceStoreInvestigationResult, type TraceStreamEvent, type TraceStreamOptions, type TraceStreamReplayOptions, type TraceStreamSession, type TracesConfig, type TriggerPair, type TurnActorCount, type UnavailableCapabilities, type UploadBackend, type UploadIdentity, type UploadItem, type UploadPlan, type UploadRecord, type UploadResult, type UploadState, type UserPromptInput, type VerifySafeOptions, type VerifySafeResult, type WatchRunTargetOptions, ZERO_ROLL, type ZaiChatCallerOptions, addSpend, alreadyUploaded, analysisEngineFromEnv, analyzeAdoption, analyzeLiveBatch, analyzeLoopConvergence, analyzeReactions, analyzeSpans, analyzeSteeringChain, answerSchemaErrors, applyRedactor, assembleSessionBundle, assertAnswerSchema, assertSandboxReachable, assessSpans, buildPolicyEvidenceRecord, buildSessionFactsReport, buildSessionIndex, buildSessionIndexFromRows, buildSkillUsageReport, buildSpanRunTree, buildTraceFindingPacket, capText, chatTrajectoryToSpans, classifyEvidenceOnlyPath, classifyFailureFollowUps, classifyLiveActions, classifyReaction, claudeActor, codexActor, collectPolicyEvidence, collectSessionIndex, collectSessionSelection, collectSessionWorkflow, collectSessions, commandAnalyzer, commandRedactor, commandTextFromInput, computeAdoption, computeSessionFacts, conformanceOfSpans, connectors, countSkillRunsJsonl, createBundleSourceReader, createFindingRejectionTally, cwdMatchesSelection, cwdMatchesSelectionResolved, defaultSkillCatalogRoots, defaultSkillUsageSources, defaultSkillUsageStorePath, defaultTraceLiveAnalysts, describeSessionRelationship, diffRuns, engineCallReservationFloorUsd, environmentAttributes, environmentFromSpanAttributes, equivalentGitCwds, executeUpload, exportTraceEvidenceFile, exportTraceEvidenceRows, exportTraceEvidenceText, externalFailureMessage, fileRunContextSupervisorRunReader, fileSha256, findContextRoot, findSessionTextLeaks, findSpanSourceFiles, findingRejection, findingRejectionDetail, forEachTreeNode, formatFindingRejections, formatVerdict, haloAnalyzer, hashSessionBundleFiles, hodoscopeAnalyzer, httpJsonTransport, importCodeTraceBench, incompleteInputsNote, indexSessionIdsByTrace, inferRole, inferSpanKind, inspectSessionIndex, int, isBridgeMismatchError, isChatTrajectory, isChatTrajectoryMessage, isFileRunContextDir, isInheritedSpan, isSynthesizedSpan, iterSerializedSpans, knownHarnesses, listAdapters, listSessionBundleFiles, loadState, loadTraceQuestionsFile, loadTracesConfig, locateSessions, looksLikeAgentPrompt, mergeRolls, mergeTracesConfig, ms, normalizeAnalystCitations, normalizeRemote, normalizeTraceQuestions, otlpRowToSpan, outboundHash, parseIsoToEpochMs, parseJsonAnswer, parseRetainedSession, parseSession, parseSince, planTraceAgenticRoute, planUpload, primeAnalyzer, projectSessionBundle, readCoordinationLog, readFileRunContext, readInstalledSkills, readJsonFile, readJsonl, readOtlpInput, readPullRequests, readRunContextJournal, readRunContextSnapshot, readRunSide, readRunWatchSnapshot, readSessionBundleManifest, readSessionIndexFile, readSpanRunSnapshot, recordSessionCorruption, redactSpans, renderConformance, renderInspectionReport, renderRunContextSnapshot, renderRunDiff, renderRunWatchSnapshot, renderSessionFacts, renderSessionFactsContext, renderSkillUsage, renderSpanRunSnapshot, renderTraceQuestionInstructions, renderTraceQuestionPrompt, renderTraceQuestionsReport, renderValidation, resolveAdapter, resolveOtlpInputFiles, resolveRepoAttrs, resolveRunContextDir, resolveRunWatchTarget, resolveSessionRepoAttrs, runCommand, runExternalAnalyzers, runPipelines, runTotals, runTraceImprovement, runTraceInvestigation, runTraceQuestions, runTraceStoreInvestigation, sandboxReplayBackend, saveReport, saveState, scanSessions, selectAdapters, serializeInspectionReport, serializePolicyEvidence, serializeSessionIndex, serializeSpans, serializeTraceStreamEvent, sessionFactsContext, sessionHash, sessionIdFromAttributes, sessionIntegrityAttributes, sessionTextSignatures, shellCommands, skippedAnalyses, span, spanRunTotals, stampEnvironmentAttrs, stampRepoAttrs, stampSessionIdentity, stampSessionIntegrity, stampSpanWorkdirRepoAttrs, streamSessions, summarizeOtlpExecution, summarizeSpanExecution, summarizeSpanStructure, takeJsonl, textIsSynthetic, toOpenInferenceSpan, toRuntimeStore, toTraceSpanEvents, tokens, totalAgenticFailureMessage, totalFindingRejections, traceAgenticKinds, traceCitationsInText, traceStreamEventsFromSpans, unavailableCapabilities, uploadKey, usd, userPromptSpan, validateOtlpSpans, validationExitCode, verdictExitCode, verifyFindingsInSandbox, verifySafe, verifySessionBundle, watchRunTarget, watchSessions, withSessionFactsContext, wrap, writeHodoscopeInput, writeInspectionReportFile, writeOtlpFile, writePolicyEvidenceFile, writeSessionBundleManifest, writeSessionIndexFile, writeTraceEvidenceExportFile, writeTraceImprovementArtifacts, writeTraceQuestionsArtifacts, zaiChatCaller, zeroPricedCost };