@tangle-network/agent-runtime 0.320.1 → 0.322.1

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 (62) hide show
  1. package/dist/{activation-BKglRwjB.js → activation-CBv_0LUh.js} +2 -2
  2. package/dist/{activation-BKglRwjB.js.map → activation-CBv_0LUh.js.map} +1 -1
  3. package/dist/{activation-BSwcsNSQ.d.ts → activation-CZGz2kuu.d.ts} +2 -2
  4. package/dist/agent.d.ts +1 -1
  5. package/dist/agent.js +2 -2
  6. package/dist/candidate-execution/index.js +3 -3
  7. package/dist/{coordination-driver-D85RWATT.js → coordination-driver-C2Zm5lU4.js} +71 -3
  8. package/dist/coordination-driver-C2Zm5lU4.js.map +1 -0
  9. package/dist/{delegate-BHRR-4hh.js → delegate-BV7AVmbB.js} +2 -2
  10. package/dist/{delegate-BHRR-4hh.js.map → delegate-BV7AVmbB.js.map} +1 -1
  11. package/dist/durable.d.ts +1 -1
  12. package/dist/durable.js +3 -3
  13. package/dist/{graph-BGMcJJP1.js → graph-CH3YiPog.js} +4 -4
  14. package/dist/{graph-BGMcJJP1.js.map → graph-CH3YiPog.js.map} +1 -1
  15. package/dist/{improvement-cycle-0cnwWPFY.js → improvement-cycle-CD1h5GSM.js} +5 -5
  16. package/dist/{improvement-cycle-0cnwWPFY.js.map → improvement-cycle-CD1h5GSM.js.map} +1 -1
  17. package/dist/{index-t672ISFX.d.ts → index-CGNQWpge.d.ts} +877 -551
  18. package/dist/index.d.ts +4 -4
  19. package/dist/index.js +7 -7
  20. package/dist/intelligence.d.ts +2 -2
  21. package/dist/intelligence.js +6 -6
  22. package/dist/kernel.d.ts +2 -2
  23. package/dist/kernel.js +9 -9
  24. package/dist/{loop-runner-bin-CFudOt5T.js → loop-runner-bin-CFxE376A.js} +3 -3
  25. package/dist/{loop-runner-bin-CFudOt5T.js.map → loop-runner-bin-CFxE376A.js.map} +1 -1
  26. package/dist/{loop-runner-bin-Fgmf_PQU.d.ts → loop-runner-bin-C_jaLCUO.d.ts} +2 -2
  27. package/dist/loop-runner-bin.d.ts +1 -1
  28. package/dist/loop-runner-bin.js +1 -1
  29. package/dist/mcp/bin.js +3 -3
  30. package/dist/mcp/index.d.ts +2 -2
  31. package/dist/mcp/index.js +4 -4
  32. package/dist/{openai-tools-DCfdg0UD.d.ts → openai-tools-D1PDoBOz.d.ts} +2 -2
  33. package/dist/{prepare-DjCLEN-q.js → prepare-CFQLx9e3.js} +2 -2
  34. package/dist/{prepare-DjCLEN-q.js.map → prepare-CFQLx9e3.js.map} +1 -1
  35. package/dist/{profile-DmVM4Gxb.js → profile-BTbpdL9h.js} +40 -4
  36. package/dist/profile-BTbpdL9h.js.map +1 -0
  37. package/dist/profiles.d.ts +1 -1
  38. package/dist/{protected-model-port-D1fcnYdj.js → protected-model-port-f1N2f0Uq.js} +3 -3
  39. package/dist/{protected-model-port-D1fcnYdj.js.map → protected-model-port-f1N2f0Uq.js.map} +1 -1
  40. package/dist/{provision-supervisor-BUMhF1yb.js → provision-supervisor-ftJZhqBU.js} +3 -3
  41. package/dist/{provision-supervisor-BUMhF1yb.js.map → provision-supervisor-ftJZhqBU.js.map} +1 -1
  42. package/dist/{runtime-B47V5Omi.js → runtime-EiTCboO2.js} +465 -12
  43. package/dist/runtime-EiTCboO2.js.map +1 -0
  44. package/dist/{search-executor-DjKdQluM.js → search-executor-ECJ2TmC-.js} +2 -2
  45. package/dist/{search-executor-DjKdQluM.js.map → search-executor-ECJ2TmC-.js.map} +1 -1
  46. package/dist/{server-Gpgr0WP-.js → server-C2k5wX4k.js} +3 -3
  47. package/dist/{server-Gpgr0WP-.js.map → server-C2k5wX4k.js.map} +1 -1
  48. package/dist/{supervise-C2ThvLgZ.js → supervise-BjrRk-AN.js} +194 -133
  49. package/dist/supervise-BjrRk-AN.js.map +1 -0
  50. package/dist/{supervisor-CCtmmmOz.js → supervisor-BMMdI4T-.js} +606 -81
  51. package/dist/supervisor-BMMdI4T-.js.map +1 -0
  52. package/dist/testing.d.ts +1 -1
  53. package/dist/testing.js +13 -13
  54. package/dist/tui/index.d.ts +1 -1
  55. package/dist/tui/index.js +1 -1
  56. package/package.json +6 -6
  57. package/skills/profile-authoring/SKILL.md +1 -0
  58. package/dist/coordination-driver-D85RWATT.js.map +0 -1
  59. package/dist/profile-DmVM4Gxb.js.map +0 -1
  60. package/dist/runtime-B47V5Omi.js.map +0 -1
  61. package/dist/supervise-C2ThvLgZ.js.map +0 -1
  62. package/dist/supervisor-CCtmmmOz.js.map +0 -1
@@ -2,7 +2,7 @@ import { n as AnalystRegistryLike } from "./types-zWfqDjeL.js";
2
2
  import { s as ProfileMaterializationContract } from "./profile-materialization-C5-t3HJ7.js";
3
3
  import { l as RuntimeHooks, o as RuntimeHookEvent, r as RuntimeDecisionPoint } from "./runtime-hooks-Bj6wJHlH.js";
4
4
  import { P as AgentCandidateOutputArtifactPort, g as AgentCandidateArtifactPort, l as AgentCandidateWorkspaceArchiveLimits, n as AgentCandidateWorkspaceTree } from "./workspace-streams-U6_UfOXu.js";
5
- import { AgentCandidateArtifactRef, AgentCandidateWorkspaceManifestMaterial, AgentCandidateWorkspaceSnapshotEvidence, AgentExactRunControlRef, AgentInteractiveSession, AgentInteractiveSessionControlClaim, AgentInteractiveSessionPromptAcknowledgement, AgentInteractiveSessionPromptCommand, AgentInteractiveSessionRef, AgentInteractiveSessionStart, AgentInteractiveSessionStatus, AgentNativeContextContinuationOptions, AgentNativeContextContinuationResult, AgentProfile, AgentProfile as AgentProfile$2, AgentProfile as AgentProfile$3, AgentProfileDiff, AgentProfileMcpServer, AgentProfilePrompt, AgentProfileSecurityPolicy, AgentSessionStatus, AgentTurnResult, ChildTaskEvent, ContextTransferReceipt, ContextTransferRequest, HarnessType, InputPart, InteractionAcknowledgement, InteractionRequest, InteractionResponseCommand, NativeContextBoundaryProof, NativeContextContinuationRequest, NativeContextContinuationTurn, ReasoningEffort, RequestedInteractions, RuntimeEventEnvelope, Sha256Digest, StreamEvent, WorkspaceCheckpointRef, WorkspaceCheckpointRequest } from "@tangle-network/agent-interface";
5
+ import { AgentCandidateArtifactRef, AgentCandidateWorkspaceManifestMaterial, AgentCandidateWorkspaceSnapshotEvidence, AgentExactRunControlRef, AgentInteractiveSession, AgentInteractiveSessionControlClaim, AgentInteractiveSessionPromptAcknowledgement, AgentInteractiveSessionPromptCommand, AgentInteractiveSessionRef, AgentInteractiveSessionStart, AgentInteractiveSessionStatus, AgentNativeContextContinuationOptions, AgentNativeContextContinuationResult, AgentProfile, AgentProfile as AgentProfile$2, AgentProfile as AgentProfile$3, AgentProfileDiff, AgentProfileMcpServer, AgentProfilePrompt, AgentProfileSecurityPolicy, AgentSessionStatus, AgentTurnResult, ChildTaskEvent, ContextTransferReceipt, ContextTransferRequest, HarnessType, InputPart, InteractionAcknowledgement, InteractionRequest, InteractionResponseCommand, NativeContextBoundaryProof, NativeContextContinuationRequest, NativeContextContinuationTurn, ReasoningEffort, RequestedInteractions, RuntimeEventEnvelope, Sha256Digest, StreamEvent, TokenUsage, WorkspaceCheckpointRef, WorkspaceCheckpointRequest } from "@tangle-network/agent-interface";
6
6
  import { AgentEvalError, AgentEvalError as AgentEvalError$1, AgentEvalErrorCode, AgentProfile as AgentProfile$1, AnalystFinding, AnalystFinding as AnalystFinding$1, AnalystFinding as AnalystFinding$2, AnalystRunInputs, ChatClient, ConfigError, ControlBudget, ControlDecision, ControlEvalResult, ControlRunResult, ControlStep, CustomTokenPricing, DataAcquisitionPlan, DefaultVerdict, DefaultVerdict as DefaultVerdict$1, DetectorSignal, HarnessType as HarnessType$1, JudgeError, KnowledgeReadinessReport, KnowledgeRequirement, MaximumCharge, NotFoundError, PairedPromotionDecision, ProposalFinding, RankTestMethod, RegistryRunOpts, RunRecord, StreamingDetector, ToolSpan, TraceAnalysisEngine, TraceAnalysisStore, TraceStore, UserQuestion, ValidationError, buildTrajectory, computeFindingId as computeFindingId$1, makeFinding as makeFinding$1 } from "@tangle-network/agent-eval";
7
7
  import { AgentRunOutcome } from "@tangle-network/sandbox/runtime";
8
8
  import { ChildProcess } from "node:child_process";
@@ -542,6 +542,30 @@ interface KnowledgeReadinessDecision {
542
542
  nonBlockingGapIds: string[];
543
543
  }
544
544
  //#endregion
545
+ //#region src/runtime/supervise/worker-events.d.ts
546
+ /** Live observation is bounded and process-local. A reconnect explicitly reports expired history. */
547
+ interface WorkerEventCursor {
548
+ readonly epoch: string;
549
+ readonly next: number;
550
+ }
551
+ interface WorkerEventEntry {
552
+ readonly sequence: number;
553
+ readonly at: number;
554
+ readonly event: unknown;
555
+ readonly omitted?: 'event-too-large' | 'event-not-serializable';
556
+ }
557
+ type WorkerEventPage = {
558
+ readonly status: 'unavailable';
559
+ readonly reason: 'unknown-worker' | 'not-captured';
560
+ } | {
561
+ readonly status: 'available';
562
+ readonly entries: readonly WorkerEventEntry[];
563
+ readonly cursor: WorkerEventCursor;
564
+ readonly reset: boolean;
565
+ readonly historyExpired: boolean;
566
+ readonly remaining: number;
567
+ };
568
+ //#endregion
545
569
  //#region src/runtime-usage.d.ts
546
570
  /** Observed subtotals, with missing measurements kept separate from measured zeroes. */
547
571
  interface RuntimeUsageTotals {
@@ -2183,6 +2207,19 @@ interface ContinuationPolicy {
2183
2207
  readonly runPanel?: ContinuationPanel;
2184
2208
  /** A play's own section, appended after Runtime's sections. It cannot remove or rewrite one. */
2185
2209
  readonly append?: ContinuationAppend;
2210
+ /**
2211
+ * What a re-entered manager's harness session is. `native` (the default) sends the next turn
2212
+ * into the same harness session wherever the backend proves it, with the unmet items and what
2213
+ * changed. `fresh` starts a new harness session on every re-entry (a continuation, a wake, a
2214
+ * failure retry, a pause) whose only input is the full re-entry task: the original task, the
2215
+ * check's description and the coordinator's run state. The environment and its files are kept
2216
+ * while the provider holds them; only the conversation is new, so whatever the next turn needs
2217
+ * must be in the journal, the workspace or Knowledge, never in an earlier turn.
2218
+ *
2219
+ * Runtime's own drive harnesses (bridge and provider) honor it; a caller's `driveHarness`
2220
+ * receives it as `session` and must start a new session on each drive that carries `reentry`.
2221
+ */
2222
+ readonly session?: 'native' | 'fresh';
2186
2223
  }
2187
2224
  /** Resolve and check a policy before any compute. Returns the deadline in epoch ms. */
2188
2225
  declare function admitContinuationPolicy(policy: ContinuationPolicy, context: string): number;
@@ -5639,6 +5676,8 @@ interface ProviderAsSandboxClientOptions {
5639
5676
  };
5640
5677
  /** Called after verification and before deletion so the run result can retain the exact join. */
5641
5678
  onWorkspaceCaptured?: (receipt: ProviderWorkspaceCaptureReceipt) => void | Promise<void>;
5679
+ /** Translate Sandbox-specific controls that have no neutral representation. Without this
5680
+ * callback, unsupported fields are refused before any environment is created. */
5642
5681
  mapCreateOptions?: (options: CreateSandboxOptions | undefined) => Partial<CreateAgentEnvironmentInput>;
5643
5682
  }
5644
5683
  /** Adapt a neutral environment provider to the `SandboxClient` interface used by existing loop paths.
@@ -5840,6 +5879,10 @@ declare function extractLlmCallEvent(event: SandboxEvent, agentRunName: string):
5840
5879
  interface SandboxUsageLedger {
5841
5880
  /** Cumulative worker tokens, including cache classifications reported after the prompt total. */
5842
5881
  tokenUsage(): LoopTokenUsage;
5882
+ /** Read a detached snapshot of the latest settled turn, without settling the active turn.
5883
+ * Absent/incomplete usage stays absent; cost is the reported number, not a billing-completeness
5884
+ * claim or a catalog estimate. A later empty settlement replaces the snapshot with undefined. */
5885
+ settledUsage(): TokenUsage | undefined;
5843
5886
  /** Account one event. Returns the canonical usage receipt to credit now, if the event is one. */
5844
5887
  observe(event: SandboxEvent, agentRunName: string): (RuntimeStreamEvent & {
5845
5888
  type: 'llm_call';
@@ -5926,6 +5969,10 @@ declare function createSandboxToolPartState(): SandboxToolPartState;
5926
5969
  * surfaced in-band, never dropped).
5927
5970
  * - bare `tool*` event types (`tool.call`, `tool_result`, …) — stateless:
5928
5971
  * `*result*` types project to `tool_result`, the rest to `tool_call`.
5972
+ * - codex `raw` events whose inner `item.started` / `item.updated` /
5973
+ * `item.completed` carries a command, MCP, collaboration, web search or
5974
+ * file change item — stateful on the item id, like a tool part. Other raw
5975
+ * events, including opencode's raw `tool_use` echoes, project nothing.
5929
5976
  *
5930
5977
  * Returns `[]` for every non-tool event.
5931
5978
  *
@@ -8309,6 +8356,31 @@ interface BlockedToolReport {
8309
8356
  /** Build the driver's MCP tools over a live scope. */
8310
8357
  declare function createCoordinationTools(opts: CoordinationToolsOptions): CoordinationTools;
8311
8358
  //#endregion
8359
+ //#region src/runtime/supervise/trace-root.d.ts
8360
+ /** Schema identifier of a stored {@link TraceRootArtifact}. */
8361
+ declare const TRACE_ROOT_SCHEMA = "agent-runtime.trace-root.v1";
8362
+ /** Schema identifier of the {@link TraceSummary} carried by a trace root's last leaf. */
8363
+ declare const TRACE_SUMMARY_SCHEMA = "agent-runtime.trace-summary.v1";
8364
+ /** The last leaf of a trace root: how many events the archive holds and the tool calls among them,
8365
+ * one per distinct call id, by tool name. An absence or count claim is checked against it. */
8366
+ interface TraceSummary {
8367
+ readonly schema: typeof TRACE_SUMMARY_SCHEMA;
8368
+ readonly events: number;
8369
+ readonly toolCalls: Readonly<Record<string, number>>;
8370
+ }
8371
+ /** The stored trace-root artifact. `leaves[i]` and `salts[i]` belong to `events[i]` of the
8372
+ * `outRef` blob for `i < summary.events`; the final entry belongs to `summary`. */
8373
+ interface TraceRootArtifact {
8374
+ readonly schema: typeof TRACE_ROOT_SCHEMA;
8375
+ readonly nodeId: string;
8376
+ readonly outRef: string;
8377
+ readonly root: string;
8378
+ readonly leafCount: number;
8379
+ readonly salts: readonly string[];
8380
+ readonly leaves: readonly string[];
8381
+ readonly summary: TraceSummary;
8382
+ }
8383
+ //#endregion
8312
8384
  //#region src/runtime/supervise/retained-executor.d.ts
8313
8385
  /**
8314
8386
  * Why a retained execution has no accepted terminal result, classified where the cause is still
@@ -8330,7 +8402,8 @@ declare function createCoordinationTools(opts: CoordinationToolsOptions): Coordi
8330
8402
  * - `'request-rejected'`: the request itself was refused BEFORE it ran — a schema violation
8331
8403
  * (`ZodError`), an HTTP 4xx at admission, a capacity refusal at admission that carries an
8332
8404
  * upstream capacity `code` and no HTTP status (the account owner's credential command refused a
8333
- * fresh dispatch before the dispatch request existed), or a dispatch that Sandbox did not admit
8405
+ * fresh dispatch before the dispatch request existed), an unsupported credential route, or a
8406
+ * dispatch that Sandbox did not admit
8334
8407
  * because another execution owns the session or turn. Never named after admission.
8335
8408
  * - `'transport'`: the provider or a gateway in front of it failed — an HTTP 5xx, a socket
8336
8409
  * error, a platform service answering with a server error. Status is in doubt only because
@@ -9971,6 +10044,10 @@ interface Scope<Out> {
9971
10044
  now?: number;
9972
10045
  stallAfterMs?: number;
9973
10046
  }): WorkerProgress | undefined;
10047
+ /** The complete owned tree, including nested managers and resumed nodes. */
10048
+ observeTree?(): TreeView;
10049
+ /** Bounded live output; unavailable or expired history is reported explicitly. */
10050
+ observeEvents?(nodeId: NodeId, cursor?: WorkerEventCursor): WorkerEventPage;
9974
10051
  /** The live tool-call trace of one child when its executor exposes one (`Executor.traceSource`),
9975
10052
  * for running the online detector panel over a RUNNING worker. `undefined` otherwise. */
9976
10053
  traceSource(nodeId: NodeId): TraceSource | undefined;
@@ -10170,6 +10247,17 @@ interface WorkspaceCheckpointMarker {
10170
10247
  readonly path: string;
10171
10248
  readonly content: string;
10172
10249
  }
10250
+ /**
10251
+ * The Merkle root over the events an output archived, as a journal record carries it beside that
10252
+ * output's `outRef`. `ref` is the content address of the stored `TraceRootArtifact`; `leafCount` is
10253
+ * the archived event count plus the summary leaf. Absent where the output archived no events, and
10254
+ * on records written before trace roots existed.
10255
+ */
10256
+ interface TraceRootReceipt {
10257
+ readonly root: string;
10258
+ readonly ref: string;
10259
+ readonly leafCount: number;
10260
+ }
10173
10261
  type SpawnEvent = {
10174
10262
  kind: 'spawned';
10175
10263
  id: NodeId;
@@ -10228,6 +10316,7 @@ type SpawnEvent = {
10228
10316
  };
10229
10317
  id: NodeId;
10230
10318
  outRef: string;
10319
+ traceRoot?: TraceRootReceipt;
10231
10320
  spent: Spend;
10232
10321
  verdict?: DefaultVerdict;
10233
10322
  seq: number;
@@ -10270,6 +10359,7 @@ type SpawnEvent = {
10270
10359
  kind: 'execution-evidence';
10271
10360
  id: NodeId;
10272
10361
  outRef: string;
10362
+ traceRoot?: TraceRootReceipt;
10273
10363
  seq: number;
10274
10364
  at: string;
10275
10365
  } | {
@@ -10293,6 +10383,8 @@ type SpawnEvent = {
10293
10383
  status: 'done' | 'down';
10294
10384
  /** Content-addressed result pointer; rehydrates `out` from `ResultBlobStore`. */
10295
10385
  outRef?: string;
10386
+ /** The trace root of the output at `outRef`, when this process stored it. */
10387
+ traceRoot?: TraceRootReceipt;
10296
10388
  verdict?: DefaultVerdict;
10297
10389
  spent: Spend;
10298
10390
  /** Provider model evidence is independent from the planned materialization receipt. */
@@ -10345,6 +10437,7 @@ type SpawnEvent = {
10345
10437
  * cancel. The settle path writes it on this record exactly as on `settled`. */
10346
10438
  harnessTranscript?: HarnessTranscriptEvidence;
10347
10439
  outRef?: string;
10440
+ traceRoot?: TraceRootReceipt;
10348
10441
  budgetViolation?: BudgetViolation;
10349
10442
  /** As on `settled`: a retained child that was cancelled settles `cancelled`, and the one
10350
10443
  * builder writes whichever kind the settlement had. */
@@ -10460,6 +10553,7 @@ type SpawnEvent = {
10460
10553
  infra?: boolean;
10461
10554
  trace?: WorkerTraceEvidence;
10462
10555
  outRef?: string;
10556
+ traceRoot?: TraceRootReceipt;
10463
10557
  providerModel?: ProviderModelExecutionEvidence;
10464
10558
  /** The overspend the RETAINED reconcile returned, which the open-slot surfaces withhold
10465
10559
  * (`materializeTreeView` folds only `spent` from this record); journaled so the released
@@ -11209,6 +11303,9 @@ type SupervisedResult<Out> = {
11209
11303
  * environment replacements, why the loop ended, and how the root closed the run. Absent for
11210
11304
  * a router-brained root, which runs no driver loop. */
11211
11305
  readonly continuation?: DriverContinuationRecord;
11306
+ /** The root's caller-supplied attribution as it registered (`SuperviseOptions.execution`):
11307
+ * a fork's lineage keys, a SearchSpec's `searchSpecDigest`. Absent when the caller set none. */
11308
+ readonly execution?: AgentExecutionRef;
11212
11309
  /** Runtime-owned provider evidence reduced across the complete journal forest. */
11213
11310
  readonly providerModel?: ProviderModelExecutionEvidence;
11214
11311
  /** Settled children whose teardown stayed unconfirmed after the settlement retry window
@@ -11260,6 +11357,9 @@ type SupervisedResult<Out> = {
11260
11357
  * environment replacements, why the loop ended, and how the root closed the run. Absent for
11261
11358
  * a router-brained root, which runs no driver loop. */
11262
11359
  readonly continuation?: DriverContinuationRecord;
11360
+ /** The root's caller-supplied attribution as it registered (`SuperviseOptions.execution`):
11361
+ * a fork's lineage keys, a SearchSpec's `searchSpecDigest`. Absent when the caller set none. */
11362
+ readonly execution?: AgentExecutionRef;
11263
11363
  /** Runtime-owned provider evidence reduced across the complete journal forest. */
11264
11364
  readonly providerModel?: ProviderModelExecutionEvidence;
11265
11365
  /** Settled children whose teardown stayed unconfirmed after the settlement retry window
@@ -11334,6 +11434,9 @@ type SupervisedResult<Out> = {
11334
11434
  * environment replacements, why the loop ended, and how the root closed the run. Absent for
11335
11435
  * a router-brained root, which runs no driver loop. */
11336
11436
  readonly continuation?: DriverContinuationRecord;
11437
+ /** The root's caller-supplied attribution as it registered (`SuperviseOptions.execution`):
11438
+ * a fork's lineage keys, a SearchSpec's `searchSpecDigest`. Absent when the caller set none. */
11439
+ readonly execution?: AgentExecutionRef;
11337
11440
  /** Runtime-owned provider evidence reduced across the complete journal forest. */
11338
11441
  readonly providerModel?: ProviderModelExecutionEvidence;
11339
11442
  /** Settled children whose teardown stayed unconfirmed after the settlement retry window
@@ -12337,6 +12440,11 @@ interface CoordinationMcpHandle {
12337
12440
  /** The URL an in-box harness mounts as `mcp.mcpServers.coordination.url`. */
12338
12441
  readonly url: string;
12339
12442
  readonly port: number;
12443
+ /** A separately authenticated read-only endpoint. Never persist its protected headers. */
12444
+ readonly readOnly: {
12445
+ readonly url: string;
12446
+ readonly headers: Readonly<Record<string, string>>;
12447
+ };
12340
12448
  /** Runtime-only credentials. Never put these headers in canonical profiles or journals. */
12341
12449
  readonly headers: Readonly<Record<string, string>>;
12342
12450
  /** The current credential's expiry under `authentication.ttlMs`; undefined when it lives as long
@@ -12384,7 +12492,17 @@ interface CoordinationPublicAddress {
12384
12492
  /** Listener lifetime: aborts on close, failed setup, manager cancellation, or deadline. */
12385
12493
  readonly signal: AbortSignal;
12386
12494
  }
12495
+ /** Runtime-only read capability delivered to an operator client, never to the canonical profile. */
12496
+ interface CoordinationReadAccess {
12497
+ readonly url: string;
12498
+ readonly headers: Readonly<Record<string, string>>;
12499
+ }
12387
12500
  interface CoordinationTransportOptions extends CoordinationHttpOptions {
12501
+ /** Publish the read capability before dispatch, so a remote client can observe the first worker. */
12502
+ readonly onReadReady?: (access: CoordinationReadAccess & {
12503
+ readonly runId: string;
12504
+ readonly actorId: string;
12505
+ }) => void | Promise<void>;
12388
12506
  readonly host?: string;
12389
12507
  readonly port?: number;
12390
12508
  /** Required for remote binds. Each server mints a distinct run/actor credential. */
@@ -12457,11 +12575,9 @@ declare function serveCoordinationMcp(opts: CoordinationTransportOptions & {
12457
12575
  * (`runtime/supervise/peer-mail`). Each spawn receives a capability URL on
12458
12576
  * `WorkerSpawnContext.peerMailUrl`.
12459
12577
  *
12460
- * It is a SEPARATE listener on its own port, not another tool on this server, and that is the
12461
- * whole point: this server grants spawn_worker / steer_agent / stop to its manager, so a
12462
- * worker handed its URL could send a REAL `[SUPERVISOR]` instruction to a sibling and the peer
12463
- * channel's authority marking would mean nothing. The mail listener serves `send_mail` and
12464
- * `read_mail` and no other verb, on a per-worker secret path bound to that worker's identity.
12578
+ * It uses a separate capability path on the coordination listener. The manager endpoint
12579
+ * grants spawn, steer and stop; the mail path serves only `send_mail` and `read_mail`,
12580
+ * bound to one worker identity. A mail capability cannot authorize a manager request.
12465
12581
  *
12466
12582
  * The residual, stated plainly: the boundary is between AGENTS, not between processes. A worker
12467
12583
  * that can read another worker's environment or process memory still holds that worker's
@@ -12877,6 +12993,11 @@ interface DriveHarness {
12877
12993
  /** Data-only product tool surface mounted on the coordination MCP. Runtime-owned drivers include
12878
12994
  * this in their materialization evidence without persisting executable handlers. */
12879
12995
  readonly coordinationTools: ReadonlyArray<Omit<McpToolDescriptor$1, 'handler'>>;
12996
+ /** The manager's `continuation.session` on every drive, re-entered or not. `fresh`: each drive
12997
+ * that carries `reentry` starts a new harness session, keeping the environment and its files;
12998
+ * `compose` then always writes the full re-entry task. Absent or `native`: today's
12999
+ * same-session continuation where the backend proves it. */
13000
+ readonly session?: 'native' | 'fresh';
12880
13001
  /** Present when this drive re-enters the run. `task` then carries the original objective and
12881
13002
  * the coordinator's run state, which is right for any backend. A harness that can prove what
12882
13003
  * the next turn continues composes the task from that proof instead, and reports it. */
@@ -13497,7 +13618,7 @@ interface SuperviseOptions {
13497
13618
  * receives its coordination MCP: out of band on the bridge's `runtime_attachments`, so the
13498
13619
  * authored profile digest never moves, and inside the leaf factory, so `authorizeSpawn` has
13499
13620
  * already decided the profile. A `bridge` worker therefore calls `send_mail` / `read_mail` as
13500
- * native tools. `router`, `router-tools` and `provider` workers run no MCP client, so the URL
13621
+ * native tools. `provider` workers mount it through their runtime MCP attachment capability. `router` and `router-tools` workers run no MCP client, so the URL
13501
13622
  * stays the caller's to use; every other backend refuses the spawn rather than mint a
13502
13623
  * capability it can never reach. A caller-owned `makeWorkerAgent` owns its own mount.
13503
13624
  *
@@ -13948,6 +14069,7 @@ interface SuperviseTestOptions extends SuperviseOptions {
13948
14069
  }
13949
14070
  /** One-call supervisor: build + run a supervisor from its exact profile. @stable */
13950
14071
  declare function supervise(profile: SupervisorProfile, task: unknown, opts: SuperviseOptions): Promise<{
14072
+ execution?: AgentExecutionRef;
13951
14073
  continuation?: DriverContinuationRecord;
13952
14074
  rootHarnessTranscript?: HarnessTranscriptEvidence;
13953
14075
  rootStream?: RootStreamReceipt;
@@ -13964,6 +14086,7 @@ declare function supervise(profile: SupervisorProfile, task: unknown, opts: Supe
13964
14086
  error?: never;
13965
14087
  reason: "all-children-down" | "no-children-spawned" | "no-result-selected" | "budget-exhausted" | "aborted";
13966
14088
  } | {
14089
+ execution?: AgentExecutionRef;
13967
14090
  continuation?: DriverContinuationRecord;
13968
14091
  rootHarnessTranscript?: HarnessTranscriptEvidence;
13969
14092
  rootStream?: RootStreamReceipt;
@@ -13983,6 +14106,7 @@ declare function supervise(profile: SupervisorProfile, task: unknown, opts: Supe
13983
14106
  cancellationReason: string;
13984
14107
  operationId?: string;
13985
14108
  } | {
14109
+ execution?: AgentExecutionRef;
13986
14110
  continuation?: DriverContinuationRecord;
13987
14111
  rootHarnessTranscript?: HarnessTranscriptEvidence;
13988
14112
  rootStream?: RootStreamReceipt;
@@ -13999,6 +14123,7 @@ declare function supervise(profile: SupervisorProfile, task: unknown, opts: Supe
13999
14123
  fleetYield: FleetYield;
14000
14124
  error: NoWinnerError;
14001
14125
  } | {
14126
+ execution?: AgentExecutionRef;
14002
14127
  continuation?: DriverContinuationRecord;
14003
14128
  rootHarnessTranscript?: HarnessTranscriptEvidence;
14004
14129
  rootStream?: RootStreamReceipt;
@@ -14020,6 +14145,7 @@ declare function supervise(profile: SupervisorProfile, task: unknown, opts: Supe
14020
14145
  }>;
14021
14146
  /** Deterministic scripted-brain path for tests. Not exported from Runtime's main entry. */
14022
14147
  declare function superviseWithTestBrain(profile: SupervisorProfile, task: unknown, opts: SuperviseTestOptions): Promise<{
14148
+ execution?: AgentExecutionRef;
14023
14149
  continuation?: DriverContinuationRecord;
14024
14150
  rootHarnessTranscript?: HarnessTranscriptEvidence;
14025
14151
  rootStream?: RootStreamReceipt;
@@ -14036,6 +14162,7 @@ declare function superviseWithTestBrain(profile: SupervisorProfile, task: unknow
14036
14162
  error?: never;
14037
14163
  reason: "all-children-down" | "no-children-spawned" | "no-result-selected" | "budget-exhausted" | "aborted";
14038
14164
  } | {
14165
+ execution?: AgentExecutionRef;
14039
14166
  continuation?: DriverContinuationRecord;
14040
14167
  rootHarnessTranscript?: HarnessTranscriptEvidence;
14041
14168
  rootStream?: RootStreamReceipt;
@@ -14055,6 +14182,7 @@ declare function superviseWithTestBrain(profile: SupervisorProfile, task: unknow
14055
14182
  cancellationReason: string;
14056
14183
  operationId?: string;
14057
14184
  } | {
14185
+ execution?: AgentExecutionRef;
14058
14186
  continuation?: DriverContinuationRecord;
14059
14187
  rootHarnessTranscript?: HarnessTranscriptEvidence;
14060
14188
  rootStream?: RootStreamReceipt;
@@ -14071,6 +14199,7 @@ declare function superviseWithTestBrain(profile: SupervisorProfile, task: unknow
14071
14199
  fleetYield: FleetYield;
14072
14200
  error: NoWinnerError;
14073
14201
  } | {
14202
+ execution?: AgentExecutionRef;
14074
14203
  continuation?: DriverContinuationRecord;
14075
14204
  rootHarnessTranscript?: HarnessTranscriptEvidence;
14076
14205
  rootStream?: RootStreamReceipt;
@@ -15880,176 +16009,489 @@ declare class HarvestError extends Error {
15880
16009
  /** Batch the selected observation implementation over completed runs and retain its findings. */
15881
16010
  declare function harvestCorpus(opts: HarvestCorpusOptions): Promise<HarvestReport>;
15882
16011
  //#endregion
15883
- //#region src/runtime/in-process-sandbox-client.d.ts
15884
- /** Context handed to each `onPrompt` call. */
15885
- interface InProcessPromptCtx {
15886
- /** 0-based round index — increments per `streamPrompt` on the same box.
15887
- * Fresh boxes start at 0. */
15888
- round: number;
15889
- /** Absolute path of this box's workspace, when a `workdir` was configured.
15890
- * Write the deliverable / fixtures here; `fs.read`/`fs.write`/`exec` operate
15891
- * over it. `undefined` for pure event-only boxes. */
15892
- workdir?: string;
15893
- /** Cooperative cancellation channel for this turn. */
15894
- signal: AbortSignal;
15895
- /** The verbatim per-call options the caller passed to the box verb (minus
15896
- * `signal`, surfaced above) — lets an offline test assert an options
15897
- * passthrough (`model`, `sessionId`, …) actually arrived. */
15898
- options?: Record<string, unknown>;
16012
+ //#region src/runtime/strategy.d.ts
16013
+ interface AgenticTask {
16014
+ readonly id: string;
16015
+ readonly userPrompt: string;
16016
+ /** Opaque domain payload the surface reads (EOPS: servers/verifiers/tools). Drivers never read it. */
16017
+ readonly meta?: Record<string, unknown>;
15899
16018
  }
15900
- /**
15901
- * The user callback: given a prompt and its round, produce the box's event
15902
- * stream for that turn. Return a plain `SandboxEvent[]` (the common case) or an
15903
- * async iterable for streaming. The callback may also write files into
15904
- * `ctx.workdir` (read back via `fs.read` or graded by `exec`).
15905
- */
15906
- type InProcessOnPrompt = (prompt: string, ctx: InProcessPromptCtx) => SandboxEvent[] | AsyncIterable<SandboxEvent> | Promise<SandboxEvent[]>;
15907
- /** @experimental */
15908
- interface InProcessSandboxClientOptions {
15909
- /** The per-turn behavior — see {@link InProcessOnPrompt}. */
15910
- onPrompt: InProcessOnPrompt;
15911
- /**
15912
- * Opt in to a REAL filesystem-backed box. When set, each `create()` mints a
15913
- * fresh temp directory (prefixed `<workdir>-`) and the box exposes
15914
- * `fs.read`/`fs.write` and `exec` over it; `delete()` removes the dir. Omit
15915
- * for a pure event-only box (no `fs`/`exec` members), which is all a driver
15916
- * or fanout loop needs.
15917
- */
15918
- workdir?: string;
15919
- /**
15920
- * Override the box `id`. A string is used verbatim; a function receives the
15921
- * 0-based create-sequence and returns the id (e.g. machine-keyed placement
15922
- * demos). Default `in-process-<seq>`. The id is the value `describePlacement`
15923
- * tags, so set it when a demo's output reads on a meaningful sandbox id.
15924
- */
15925
- id?: string | ((seq: number) => string);
16019
+ interface ArtifactHandle {
16020
+ readonly id: string;
16021
+ readonly surface: string;
16022
+ /** Opaque per-artifact context the surface stashes (EOPS: the seeded gym server + db id). */
16023
+ readonly ctx?: unknown;
15926
16024
  }
15927
- /**
15928
- * Adapt a single `onPrompt(prompt, ctx)` callback into a `SandboxClient` for
15929
- * `runAgentRounds` / `openSandboxRun`. Returns a PROPERLY-TYPED `SandboxClient`: the
15930
- * lone `SandboxInstance` cast (object literal → `declare class`) lives inside
15931
- * this function, so call sites stay cast-free.
15932
- *
15933
- * There is no box, so a per-prompt `backend` override is refused rather than dropped. A per-turn
15934
- * `model` IS delivered, because `onPrompt` receives the verbatim options and is free to honor it.
15935
- * Other per-prompt options (`timeoutMs`, `context`) are accepted and ignored.
15936
- *
15937
- * @experimental
15938
- */
15939
- declare function inProcessSandboxClient(options: InProcessSandboxClientOptions): SandboxClient;
15940
- //#endregion
15941
- //#region src/runtime/inline-sandbox-client.d.ts
15942
- /**
15943
- * Adapt an `ExecutorFactory` into a `SandboxClient` for `runAgentRounds`. The factory is
15944
- * instantiated fresh per `streamPrompt` (mirrors the per-spawn executor lifecycle):
15945
- * run once on the prompt, emit the terminal result event, tear down.
15946
- *
15947
- * There is no box, so a per-prompt `backend` or `model` override is refused rather than dropped;
15948
- * other per-prompt options (`timeoutMs`, `context`) are accepted and ignored.
15949
- */
15950
- declare function inlineSandboxClient(factory: ExecutorFactory<unknown>, defaults?: {
15951
- profile?: AgentProfile;
15952
- }): SandboxClient;
15953
- //#endregion
15954
- //#region src/runtime/local-sandbox-client.d.ts
15955
- interface LocalSandboxClientOptions {
15956
- /** Optional code-mode presentation over the same explicitly trusted MCP tools. */
15957
- codeMode?: true | CodeModeToolsOptions;
15958
- /** Router endpoint/auth. The exact per-create profile owns model and loop behavior. */
15959
- router: {
15960
- baseUrl: string;
15961
- key: string;
16025
+ interface AgenticTool {
16026
+ readonly type: 'function';
16027
+ readonly function: {
16028
+ name: string;
16029
+ description?: string;
16030
+ parameters: Record<string, unknown>;
15962
16031
  };
15963
- /** Fallback profile when `create(options)` carries none on `backend.profile`. */
15964
- profile?: AgentProfile;
15965
- /** Resolves profile-declared MCP secret names at child-process spawn time. */
15966
- keys?: KeyProvider;
15967
- /** Explicit trust decision for the exact `profile` bytes supplied here.
15968
- * Omit to refuse local processes. A permissive policy never transfers to a
15969
- * different per-create profile and provides no host isolation. */
15970
- profileSecurityPolicy?: AgentProfileSecurityPolicy;
15971
16032
  }
15972
- /** A same-host `SandboxClient` adapter with no process isolation. Local MCP is
15973
- * refused unless the caller explicitly supplies a policy that allows it.
15974
- *
15975
- * There is no box, so a per-prompt `backend` or `model` override is refused rather than dropped;
15976
- * other per-prompt options (`timeoutMs`, `context`) are accepted and ignored. */
15977
- declare function localSandboxClient(opts: LocalSandboxClientOptions): SandboxClient;
15978
- //#endregion
15979
- //#region src/runtime/sandbox-evidence-retention.d.ts
15980
- /** One durable capture before a Sandbox box is removed. */
15981
- interface SandboxEvidenceRetentionPort {
15982
- readonly timeoutMs: number;
15983
- readonly limits?: Partial<AgentCandidateWorkspaceArchiveLimits>;
15984
- readonly artifacts: AgentCandidateArtifactPort;
15985
- capture(context: SandboxEvidenceContext & {
15986
- readonly signal: AbortSignal;
15987
- }): Promise<{
15988
- readonly snapshot: AgentCandidateWorkspaceSnapshotEvidence;
15989
- readonly provenance: ProviderWorkspaceCaptureProvenance;
15990
- }>;
15991
- /** Must durably record this exact verified receipt before returning. */
15992
- record(receipt: SandboxEvidenceReceipt): Promise<void>;
16033
+ interface SurfaceScore {
16034
+ passes: number;
16035
+ total: number;
16036
+ /** Checks excluded as malformed (data defect, not the agent). `total === 0` ⇒ unscoreable. */
16037
+ errored: number;
15993
16038
  }
15994
- interface SandboxEvidenceContext {
15995
- readonly box: SandboxInstance;
15996
- readonly executionId: string;
15997
- readonly profile: AgentProfile;
15998
- readonly sandboxSessionIds: ReadonlyArray<string>;
15999
- readonly nativeSessionIds?: ReadonlyArray<string>;
16000
- readonly sessionExecutionIds: Readonly<Record<string, ReadonlyArray<string>>>;
16039
+ /** A stateful, checkable environment an agent operates over with tools. Open behind one interface. */
16040
+ interface AgenticSurface {
16041
+ readonly name: string;
16042
+ open(task: AgenticTask): Promise<ArtifactHandle>;
16043
+ tools(task: AgenticTask, handle: ArtifactHandle): Promise<AgenticTool[]>;
16044
+ call(handle: ArtifactHandle, name: string, args: Record<string, unknown>): Promise<string>;
16045
+ score(task: AgenticTask, handle: ArtifactHandle): Promise<SurfaceScore>;
16046
+ close(handle: ArtifactHandle): Promise<void>;
16001
16047
  }
16002
- interface SandboxEvidenceReceipt {
16003
- readonly boxId: string;
16004
- readonly executionId: string;
16005
- /** Exact authored profile identity without copying credentials into the receipt. */
16006
- readonly profileDigest: string;
16007
- readonly scope: 'box';
16008
- readonly sandboxSessionIds: ReadonlyArray<string>;
16009
- readonly nativeSessionIds?: ReadonlyArray<string>;
16010
- readonly sessionExecutionIds: Readonly<Record<string, ReadonlyArray<string>>>;
16011
- readonly snapshot: AgentCandidateWorkspaceSnapshotEvidence;
16012
- readonly provenance: ProviderWorkspaceCaptureProvenance;
16013
- readonly coverageComplete: boolean;
16014
- readonly incompleteReason?: string;
16048
+ interface AgenticOptions {
16049
+ routerBaseUrl: string;
16050
+ routerKey: string;
16051
+ /** Exact worker identity. Model and standing instructions are read only from this profile. */
16052
+ workerProfile: AgentProfile;
16053
+ /** Optional completion transport (see `RouterConfig.complete`): when set, BOTH legs of an
16054
+ * offline run use it instead of `fetch`-ing the router — the worker's tool loop (threaded into
16055
+ * its `routerToolLoop` cfg) AND the analyst's critic (its `ChatClient` is bound to this same
16056
+ * transport). One injected responder serves both, as a localhost mock endpoint would. Absent ⇒
16057
+ * the live router fetch path (the default). */
16058
+ complete?: (body: Record<string, unknown>) => Promise<unknown>;
16059
+ /** Exact critic identity. Omitted means the exact worker profile also runs the critic. */
16060
+ analystProfile?: AgentProfile;
16061
+ /** Across-run learning: when set, the analyst's observe() pass appends trace-derived
16062
+ * facts here (the flywheel write side). Read-back is opt-in via `corpusReadback`
16063
+ * because unconditional priming can pollute context on some domains. */
16064
+ corpus?: Corpus;
16065
+ /** Tags written onto learned facts (and used by the caller's priming query). */
16066
+ corpusTags?: string[];
16067
+ /** In-context learning: when set, query `corpus` before each depth shot and inject
16068
+ * the top trace-derived facts as guidance for the active run. No corpus means no read-back. */
16069
+ corpusReadback?: CorpusReadbackOptions;
16015
16070
  }
16016
- /** A failed capture keeps the live source handle available for an explicit retry. */
16017
- declare class SandboxEvidenceRetentionError extends Error {
16018
- readonly box: SandboxInstance;
16019
- constructor(box: SandboxInstance, cause: unknown);
16071
+ interface CorpusReadbackOptions {
16072
+ /** Minimum confidence for a fact to be injected. Default 0.7. */
16073
+ minConfidence?: number;
16074
+ /** Extra tags a fact must carry, in addition to `corpusTags`. */
16075
+ tags?: ReadonlyArray<string>;
16076
+ /** Max facts injected per shot. Default 3. */
16077
+ maxFacts?: number;
16078
+ /** Default false: only facts tagged `audience:agent` are injected into the worker. */
16079
+ includeOperatorFacts?: boolean;
16020
16080
  }
16021
- /** Capture, verify, durably record, then destroy. A failure leaves the source intact. */
16022
- declare function captureBeforeDestroy(port: SandboxEvidenceRetentionPort, context: SandboxEvidenceContext, destroy: () => Promise<void>): Promise<SandboxEvidenceReceipt>;
16023
- //#endregion
16024
- //#region src/runtime/run-loop.d.ts
16025
- /** @stable */
16026
- interface RunAgentRoundsOptions<Task, Output, Decision> {
16027
- driver: Driver<Task, Output, Decision>;
16028
- /**
16029
- * Single agent spec — every iteration uses this profile. Mutually
16030
- * exclusive with `agentRuns`.
16031
- */
16032
- agentRun?: AgentRunSpec<Task>;
16033
- /**
16034
- * Multiple specs for heterogeneous fanout. The kernel round-robins
16035
- * through them when the driver plans N tasks. Mutually exclusive with
16036
- * `agentRun`.
16037
- */
16038
- agentRuns?: AgentRunSpec<Task>[];
16039
- output: OutputAdapter<Output>;
16040
- validator?: Validator<Output>;
16041
- task: Task;
16042
- ctx: ExecCtx;
16043
- /** Durable Sandbox evidence capture required before any worker box cleanup. */
16044
- evidenceRetention?: SandboxEvidenceRetentionPort;
16045
- /** Default 10. Hard cap on total iterations across all `plan()` rounds. */
16046
- maxIterations?: number;
16047
- /** Default 4. In-flight worker cap within a single `plan()` batch. */
16048
- maxConcurrency?: number;
16049
- /**
16050
- * Pre-allocated id for trace correlation. Default = `loop-${random}`.
16051
- * Surfaces as `runId` on every emitted `LoopTraceEvent`.
16052
- */
16081
+ /** One provider-neutral conversation record carried between strategy shots. */
16082
+ type StrategyMessage = Record<string, unknown>;
16083
+ /** Measured result of one strategy shot. */
16084
+ interface StrategyShotResult {
16085
+ messages: StrategyMessage[];
16086
+ score: number;
16087
+ passes: number;
16088
+ total: number;
16089
+ completions: number;
16090
+ toolErrors: number;
16091
+ }
16092
+ interface AgenticRunResult {
16093
+ /** The strategy name (built-in 'depth'/'breadth' or a custom strategy's name). */
16094
+ mode: string;
16095
+ score: number;
16096
+ resolved: boolean;
16097
+ completions: number;
16098
+ /** DEPTH: score after each shot — the progress-over-rounds curve. BREADTH: best-so-far per rollout. */
16099
+ progression: number[];
16100
+ shots: number;
16101
+ /** Observed billed subtotal. `usdKnown:false` means it is incomplete, never a measured zero. */
16102
+ usd: number;
16103
+ usdKnown: boolean;
16104
+ ms: number;
16105
+ tokens: {
16106
+ input: number;
16107
+ output: number;
16108
+ };
16109
+ tokensKnown: boolean;
16110
+ }
16111
+ /** DEPTH: one persistent artifact, carried across analyst-steered shots. */
16112
+ declare function depthStrategy(surface: AgenticSurface, task: AgenticTask, opts: AgenticOptions, cfg: {
16113
+ maxShots: number;
16114
+ }): Agent<unknown, Outcome<unknown>>;
16115
+ /** BREADTH: K independent rollouts (each own artifact), verifier picks the best. */
16116
+ declare function breadthStrategy(_surface: AgenticSurface, task: AgenticTask, opts: AgenticOptions, cfg: {
16117
+ width: number;
16118
+ }): Agent<unknown, Outcome<unknown>>;
16119
+ /**
16120
+ * A Strategy is HOW you spend the compute budget to beat the Environment's check — it
16121
+ * builds the driver `Agent` the Supervisor runs. This is the OPEN extension point: a dev
16122
+ * authors their own by implementing `driver()` to return an Agent whose `act()` spawns
16123
+ * shots/analysts via `scope.spawn` / `scope.next` / `scope.send`. The two built-ins are
16124
+ * the reference implementations to copy:
16125
+ * sample — K INDEPENDENT attempts, keep the best-verifying (best-of-N / resample).
16126
+ * refine — attempt → observe() reads the trace → steer the next → repeat (iterate).
16127
+ * (A multi-agent "team" is just a Strategy whose driver spawns several different agents.)
16128
+ */
16129
+ declare const strategyResult: unique symbol;
16130
+ interface Strategy<Result extends StrategyResult = StrategyResult> {
16131
+ readonly name: string;
16132
+ /** @internal Associates a strategy with its typed result without adding a runtime field. */
16133
+ readonly [strategyResult]?: Result;
16134
+ driver(surface: AgenticSurface, task: AgenticTask, opts: AgenticOptions, budget: number): Agent<unknown, Outcome<unknown>>;
16135
+ }
16136
+ /** Built-in `Strategy`: K independent attempts, keep the best-verifying (best-of-N / resample). */
16137
+ declare const sample: Strategy;
16138
+ /** Built-in `Strategy`: attempt → `observe()` reads the trace → steer the next attempt → repeat (deepen one lineage). */
16139
+ declare const refine: Strategy;
16140
+ interface ShotSpec {
16141
+ /** present ⇒ continue this artifact (depth); absent ⇒ the shot opens a fresh one (sample/restart). */
16142
+ handle?: ArtifactHandle;
16143
+ messages?: StrategyMessage[];
16144
+ steer?: string;
16145
+ /** Exact profile for this shot. Omitted means `AgenticOptions.workerProfile`. */
16146
+ profile?: AgentProfile;
16147
+ /** Restrict THIS shot to a subset of the domain's tools (by name) — focus a shot on
16148
+ * the relevant capabilities. Restriction-only; unknown names throw. Omitted ⇒ all. */
16149
+ tools?: string[];
16150
+ }
16151
+ interface StrategyResult {
16152
+ score: number;
16153
+ resolved: boolean;
16154
+ completions: number;
16155
+ progression: number[];
16156
+ shots: number;
16157
+ }
16158
+ /** Artifact lifecycle a strategy may manage itself — open/close ONLY. Raw `call`/`score`
16159
+ * are withheld: scores reach the body solely through `shot()`'s StrategyShotResult (the
16160
+ * harness-verified channel), so a body cannot peek the check or fabricate around it. */
16161
+ interface StrategyArtifacts {
16162
+ readonly name: string;
16163
+ open(task: AgenticTask): Promise<ArtifactHandle>;
16164
+ close(handle: ArtifactHandle): Promise<void>;
16165
+ }
16166
+ /** What a strategy body composes with: the artifact lifecycle, the budget, and the two steps. */
16167
+ interface StrategyCtx {
16168
+ /** Open/close artifacts the body manages itself (e.g. one persistent handle for depth). */
16169
+ readonly surface: StrategyArtifacts;
16170
+ readonly task: AgenticTask;
16171
+ readonly opts: AgenticOptions;
16172
+ readonly budget: number;
16173
+ readonly scope: Scope<Outcome<unknown>>;
16174
+ /** Run ONE worker shot; its harness-scored result, or null if it went down. */
16175
+ shot(spec?: ShotSpec): Promise<StrategyShotResult | null>;
16176
+ /** The firewalled critic reads the trajectory → a steer string, or null on COMPLETE/down. */
16177
+ critique(messages: StrategyMessage[]): Promise<string | null>;
16178
+ /** The RAW analyst channel: the firewalled critic answers `instruction` over the
16179
+ * trajectory verbatim — no findings extraction, so verdict-shaped formats
16180
+ * (CONTINUE/STOP decisions, calibrated predictions) survive. Same firewall:
16181
+ * trajectory in, never scores. Null when the analyst went down. */
16182
+ consult(messages: StrategyMessage[], instruction: string): Promise<string | null>;
16183
+ /** The tools THIS artifact's task actually offers (names + descriptions only — never
16184
+ * the implementations). Tool sets vary per task on heterogeneous domains; a strategy
16185
+ * that restricts shots MUST select from this list, never from hardcoded names. */
16186
+ listTools(handle: ArtifactHandle): Promise<Array<{
16187
+ name: string;
16188
+ description?: string;
16189
+ }>>;
16190
+ }
16191
+ /** Author a Strategy from the composable steps — the open, compact way. */
16192
+ declare function defineStrategy<Result extends StrategyResult>(name: string, run: (ctx: StrategyCtx) => Promise<Result>): Strategy<Result>;
16193
+ /** A NEW strategy, authored from the steps (~20 lines): refine, but when a steered shot
16194
+ * fails to improve the score it ABANDONS that line and restarts fresh (branch-when-stuck)
16195
+ * — the widen/MCTS idea the depth-stuck failure motivated. Scored keep-best (the best
16196
+ * checkpoint across all lines), the deployable metric. This is the "experts build BETTER
16197
+ * optimizations" path: a new technique, compact, with zero Supervisor ceremony. */
16198
+ declare const adaptiveRefine: Strategy<{
16199
+ score: number;
16200
+ resolved: boolean;
16201
+ completions: number;
16202
+ progression: number[];
16203
+ shots: number;
16204
+ }>;
16205
+ /** The explore-then-exploit MIX: spend ⌈budget/2⌉ on independent samples (kept open),
16206
+ * then refine the best-verifying line with the remaining budget. Sample's basin escape +
16207
+ * refine's accumulation — the third built-in, authored from the public steps. */
16208
+ declare const sampleThenRefine: Strategy<{
16209
+ score: number;
16210
+ resolved: boolean;
16211
+ completions: number;
16212
+ progression: number[];
16213
+ shots: number;
16214
+ }>;
16215
+ interface RunAgenticOptions<Result extends StrategyResult = StrategyResult> extends AgenticOptions {
16216
+ surface: AgenticSurface;
16217
+ task: AgenticTask;
16218
+ /** Lifecycle observability — every spawn/settle (shots, analysts) streams here live.
16219
+ * The seam online watchdogs/route-auditors subscribe to. */
16220
+ hooks?: RuntimeHooks;
16221
+ /** A Strategy (the open way) — author/pass your own. Overrides `mode` when present. */
16222
+ strategy?: Strategy<Result>;
16223
+ /** Built-in shorthand: 'depth'→refine, 'breadth'→sample. Default 'depth'. */
16224
+ mode?: 'depth' | 'breadth';
16225
+ /** budget: refine→max shots; sample→rollout width. */
16226
+ budget: number;
16227
+ rootBudget?: Budget;
16228
+ /** Forwarded to `SupervisorOpts.teardownConfirmMs`: how long settlement keeps retrying a child
16229
+ * teardown the executor has not confirmed. `0` makes one attempt only. Default: 300000. */
16230
+ teardownConfirmMs?: number;
16231
+ }
16232
+ /** Run a Strategy through the keystone Supervisor — `Agent.act` over a conserved-budget Scope. */
16233
+ declare function runAgentic<Result extends StrategyResult = StrategyResult>(opts: RunAgenticOptions<Result>): Promise<AgenticRunResult & Result>;
16234
+ //#endregion
16235
+ //#region src/runtime/stdio-mcp-client.d.ts
16236
+ interface StdioMcpServerSpec {
16237
+ /** Command that starts the MCP server (stdio transport). */
16238
+ command: string;
16239
+ args?: string[];
16240
+ /** Working directory the server starts in (a built candidate's worktree, typically). */
16241
+ cwd?: string;
16242
+ /** Declared public env for the server process. Only a minimal non-sensitive
16243
+ * subset of the parent env is inherited. */
16244
+ env?: Record<string, string>;
16245
+ /** Sensitive env for the server process. These values override `env` and are
16246
+ * redacted from child-supplied errors, tool metadata, and tool results. */
16247
+ protectedEnv?: Record<string, string>;
16248
+ /** Handshake AND per-request timeout (ms). Default 30s. */
16249
+ timeoutMs?: number;
16250
+ }
16251
+ /** A missing start binary / spawn fault: a SETUP bug, never a failed candidate.
16252
+ * Graders (the serve verifier) must rethrow this instead of scoring it. */
16253
+ declare class McpSpawnFault extends Error {}
16254
+ interface McpToolDescriptor {
16255
+ name: string;
16256
+ description?: string;
16257
+ inputSchema?: unknown;
16258
+ }
16259
+ interface StdioMcpConnection {
16260
+ /** The tools the server exposed at connect time (`tools/list`). */
16261
+ readonly tools: readonly McpToolDescriptor[];
16262
+ /** `tools/call` → the result's text content. A JSON-RPC error / `isError`
16263
+ * result becomes an `ERROR: …` string (the agent's outcome); a dead
16264
+ * transport or timeout throws (an infra fault). */
16265
+ callTool(name: string, args: Record<string, unknown>): Promise<string>;
16266
+ /** Kill the server child. Idempotent. */
16267
+ close(): Promise<void>;
16268
+ }
16269
+ /** Spawn a trusted host command, complete the stdio MCP handshake, and return
16270
+ * the live connection. This low-level function provides no process isolation. */
16271
+ declare function connectStdioMcp(spec: StdioMcpServerSpec): Promise<StdioMcpConnection>;
16272
+ interface MaterializeLocalMcpOptions {
16273
+ /** Handshake / per-request timeout per server (ms). Default 30s. */
16274
+ timeoutMs?: number;
16275
+ /** Cap on a tool result's text fed back to the worker. Default 2000 chars. */
16276
+ maxResultChars?: number;
16277
+ /** Resolves a server's DECLARED secrets at spawn time — env entries of kind
16278
+ * `secret-ref` (interface ≥0.40) and the legacy `metadata.secretEnv` map
16279
+ * (env var name → provider key name). The resolved values reach ONLY the
16280
+ * child process env — never the profile, the logs, or an error message.
16281
+ * Fail-closed: a server declaring secrets without a provider (or with a
16282
+ * missing key) throws instead of booting keyless. */
16283
+ keys?: KeyProvider;
16284
+ /** Required trust decision for profiles that declare local MCP processes.
16285
+ * Omit to refuse all profile-controlled host execution. Passing
16286
+ * `allowLocalMcp: true` is only safe for an author-controlled profile: the
16287
+ * process receives this Runtime's filesystem and network privileges. */
16288
+ profileSecurityPolicy?: AgentProfileSecurityPolicy;
16289
+ }
16290
+ /** The live same-host materialization of a profile's `mcp` surface. */
16291
+ interface LocalMcpMaterialization {
16292
+ /** Worker-facing tool specs: namespaced `<server>__<tool>`, provider-safe schemas. */
16293
+ tools: AgenticTool[];
16294
+ /** Whether `name` is one of this materialization's namespaced tools. */
16295
+ owns(name: string): boolean;
16296
+ /** Route a namespaced call to its server's live stdio child. */
16297
+ call(name: string, args: Record<string, unknown>): Promise<string>;
16298
+ /** Kill every spawned server. Idempotent. */
16299
+ close(): Promise<void>;
16300
+ }
16301
+ /**
16302
+ * Spawn every enabled stdio server in `profile.mcp` and expose their tools as
16303
+ * `<server>__<tool>` behind one route and close facade.
16304
+ *
16305
+ * Fails closed: a declared server that cannot boot throws, so a profile is never
16306
+ * scored as if it had no MCP surface.
16307
+ */
16308
+ declare function materializeLocalMcp(profile: AgentProfile, opts?: MaterializeLocalMcpOptions): Promise<LocalMcpMaterialization>;
16309
+ //#endregion
16310
+ //#region src/runtime/http-mcp-client.d.ts
16311
+ interface HttpMcpServerSpec {
16312
+ /** The MCP endpoint URL, e.g. `https://host/mcp`. */
16313
+ url: string;
16314
+ /** Public request headers (e.g. `{'x-client': 'agent-runtime'}`). */
16315
+ headers?: Record<string, string>;
16316
+ /** Sensitive request headers (e.g. `authorization`). Sent, never surfaced:
16317
+ * errors and tool results are redacted against these exact values. */
16318
+ protectedHeaders?: Record<string, string>;
16319
+ /** Per-request timeout (ms). Default 30s. */
16320
+ timeoutMs?: number;
16321
+ /** Override fetch (tests + constrained runtimes). */
16322
+ fetchImpl?: typeof fetch;
16323
+ }
16324
+ //#endregion
16325
+ //#region src/runtime/in-process-sandbox-client.d.ts
16326
+ /** Context handed to each `onPrompt` call. */
16327
+ interface InProcessPromptCtx {
16328
+ /** 0-based round index — increments per `streamPrompt` on the same box.
16329
+ * Fresh boxes start at 0. */
16330
+ round: number;
16331
+ /** Absolute path of this box's workspace, when a `workdir` was configured.
16332
+ * Write the deliverable / fixtures here; `fs.read`/`fs.write`/`exec` operate
16333
+ * over it. `undefined` for pure event-only boxes. */
16334
+ workdir?: string;
16335
+ /** Cooperative cancellation channel for this turn. */
16336
+ signal: AbortSignal;
16337
+ /** The verbatim per-call options the caller passed to the box verb (minus
16338
+ * `signal`, surfaced above) — lets an offline test assert an options
16339
+ * passthrough (`model`, `sessionId`, …) actually arrived. */
16340
+ options?: Record<string, unknown>;
16341
+ }
16342
+ /**
16343
+ * The user callback: given a prompt and its round, produce the box's event
16344
+ * stream for that turn. Return a plain `SandboxEvent[]` (the common case) or an
16345
+ * async iterable for streaming. The callback may also write files into
16346
+ * `ctx.workdir` (read back via `fs.read` or graded by `exec`).
16347
+ */
16348
+ type InProcessOnPrompt = (prompt: string, ctx: InProcessPromptCtx) => SandboxEvent[] | AsyncIterable<SandboxEvent> | Promise<SandboxEvent[]>;
16349
+ /** @experimental */
16350
+ interface InProcessSandboxClientOptions {
16351
+ /** The per-turn behavior — see {@link InProcessOnPrompt}. */
16352
+ onPrompt: InProcessOnPrompt;
16353
+ /**
16354
+ * Opt in to a REAL filesystem-backed box. When set, each `create()` mints a
16355
+ * fresh temp directory (prefixed `<workdir>-`) and the box exposes
16356
+ * `fs.read`/`fs.write` and `exec` over it; `delete()` removes the dir. Omit
16357
+ * for a pure event-only box (no `fs`/`exec` members), which is all a driver
16358
+ * or fanout loop needs.
16359
+ */
16360
+ workdir?: string;
16361
+ /**
16362
+ * Override the box `id`. A string is used verbatim; a function receives the
16363
+ * 0-based create-sequence and returns the id (e.g. machine-keyed placement
16364
+ * demos). Default `in-process-<seq>`. The id is the value `describePlacement`
16365
+ * tags, so set it when a demo's output reads on a meaningful sandbox id.
16366
+ */
16367
+ id?: string | ((seq: number) => string);
16368
+ }
16369
+ /**
16370
+ * Adapt a single `onPrompt(prompt, ctx)` callback into a `SandboxClient` for
16371
+ * `runAgentRounds` / `openSandboxRun`. Returns a PROPERLY-TYPED `SandboxClient`: the
16372
+ * lone `SandboxInstance` cast (object literal → `declare class`) lives inside
16373
+ * this function, so call sites stay cast-free.
16374
+ *
16375
+ * There is no box, so a per-prompt `backend` override is refused rather than dropped. A per-turn
16376
+ * `model` IS delivered, because `onPrompt` receives the verbatim options and is free to honor it.
16377
+ * Other per-prompt options (`timeoutMs`, `context`) are accepted and ignored.
16378
+ *
16379
+ * @experimental
16380
+ */
16381
+ declare function inProcessSandboxClient(options: InProcessSandboxClientOptions): SandboxClient;
16382
+ //#endregion
16383
+ //#region src/runtime/inline-sandbox-client.d.ts
16384
+ /**
16385
+ * Adapt an `ExecutorFactory` into a `SandboxClient` for `runAgentRounds`. The factory is
16386
+ * instantiated fresh per `streamPrompt` (mirrors the per-spawn executor lifecycle):
16387
+ * run once on the prompt, emit the terminal result event, tear down.
16388
+ *
16389
+ * There is no box, so a per-prompt `backend` or `model` override is refused rather than dropped;
16390
+ * other per-prompt options (`timeoutMs`, `context`) are accepted and ignored.
16391
+ */
16392
+ declare function inlineSandboxClient(factory: ExecutorFactory<unknown>, defaults?: {
16393
+ profile?: AgentProfile;
16394
+ }): SandboxClient;
16395
+ //#endregion
16396
+ //#region src/runtime/local-sandbox-client.d.ts
16397
+ interface LocalSandboxClientOptions {
16398
+ /** Optional code-mode presentation over the same explicitly trusted MCP tools. */
16399
+ codeMode?: true | CodeModeToolsOptions;
16400
+ /** Router endpoint/auth. The exact per-create profile owns model and loop behavior. */
16401
+ router: {
16402
+ baseUrl: string;
16403
+ key: string;
16404
+ };
16405
+ /** Fallback profile when `create(options)` carries none on `backend.profile`. */
16406
+ profile?: AgentProfile;
16407
+ /** Resolves profile-declared MCP secret names at child-process spawn time. */
16408
+ keys?: KeyProvider;
16409
+ /** Explicit trust decision for the exact `profile` bytes supplied here.
16410
+ * Omit to refuse local processes. A permissive policy never transfers to a
16411
+ * different per-create profile and provides no host isolation. */
16412
+ profileSecurityPolicy?: AgentProfileSecurityPolicy;
16413
+ }
16414
+ /** A same-host `SandboxClient` adapter with no process isolation. Local MCP is
16415
+ * refused unless the caller explicitly supplies a policy that allows it.
16416
+ *
16417
+ * There is no box, so a per-prompt `backend` or `model` override is refused rather than dropped;
16418
+ * other per-prompt options (`timeoutMs`, `context`) are accepted and ignored. */
16419
+ declare function localSandboxClient(opts: LocalSandboxClientOptions): SandboxClient;
16420
+ //#endregion
16421
+ //#region src/runtime/sandbox-evidence-retention.d.ts
16422
+ /** One durable capture before a Sandbox box is removed. */
16423
+ interface SandboxEvidenceRetentionPort {
16424
+ readonly timeoutMs: number;
16425
+ readonly limits?: Partial<AgentCandidateWorkspaceArchiveLimits>;
16426
+ readonly artifacts: AgentCandidateArtifactPort;
16427
+ capture(context: SandboxEvidenceContext & {
16428
+ readonly signal: AbortSignal;
16429
+ }): Promise<{
16430
+ readonly snapshot: AgentCandidateWorkspaceSnapshotEvidence;
16431
+ readonly provenance: ProviderWorkspaceCaptureProvenance;
16432
+ }>;
16433
+ /** Must durably record this exact verified receipt before returning. */
16434
+ record(receipt: SandboxEvidenceReceipt): Promise<void>;
16435
+ }
16436
+ interface SandboxEvidenceContext {
16437
+ readonly box: SandboxInstance;
16438
+ readonly executionId: string;
16439
+ readonly profile: AgentProfile;
16440
+ readonly sandboxSessionIds: ReadonlyArray<string>;
16441
+ readonly nativeSessionIds?: ReadonlyArray<string>;
16442
+ readonly sessionExecutionIds: Readonly<Record<string, ReadonlyArray<string>>>;
16443
+ }
16444
+ interface SandboxEvidenceReceipt {
16445
+ readonly boxId: string;
16446
+ readonly executionId: string;
16447
+ /** Exact authored profile identity without copying credentials into the receipt. */
16448
+ readonly profileDigest: string;
16449
+ readonly scope: 'box';
16450
+ readonly sandboxSessionIds: ReadonlyArray<string>;
16451
+ readonly nativeSessionIds?: ReadonlyArray<string>;
16452
+ readonly sessionExecutionIds: Readonly<Record<string, ReadonlyArray<string>>>;
16453
+ readonly snapshot: AgentCandidateWorkspaceSnapshotEvidence;
16454
+ readonly provenance: ProviderWorkspaceCaptureProvenance;
16455
+ readonly coverageComplete: boolean;
16456
+ readonly incompleteReason?: string;
16457
+ }
16458
+ /** A failed capture keeps the live source handle available for an explicit retry. */
16459
+ declare class SandboxEvidenceRetentionError extends Error {
16460
+ readonly box: SandboxInstance;
16461
+ constructor(box: SandboxInstance, cause: unknown);
16462
+ }
16463
+ /** Capture, verify, durably record, then destroy. A failure leaves the source intact. */
16464
+ declare function captureBeforeDestroy(port: SandboxEvidenceRetentionPort, context: SandboxEvidenceContext, destroy: () => Promise<void>): Promise<SandboxEvidenceReceipt>;
16465
+ //#endregion
16466
+ //#region src/runtime/run-loop.d.ts
16467
+ /** @stable */
16468
+ interface RunAgentRoundsOptions<Task, Output, Decision> {
16469
+ driver: Driver<Task, Output, Decision>;
16470
+ /**
16471
+ * Single agent spec — every iteration uses this profile. Mutually
16472
+ * exclusive with `agentRuns`.
16473
+ */
16474
+ agentRun?: AgentRunSpec<Task>;
16475
+ /**
16476
+ * Multiple specs for heterogeneous fanout. The kernel round-robins
16477
+ * through them when the driver plans N tasks. Mutually exclusive with
16478
+ * `agentRun`.
16479
+ */
16480
+ agentRuns?: AgentRunSpec<Task>[];
16481
+ output: OutputAdapter<Output>;
16482
+ validator?: Validator<Output>;
16483
+ task: Task;
16484
+ ctx: ExecCtx;
16485
+ /** Durable Sandbox evidence capture required before any worker box cleanup. */
16486
+ evidenceRetention?: SandboxEvidenceRetentionPort;
16487
+ /** Default 10. Hard cap on total iterations across all `plan()` rounds. */
16488
+ maxIterations?: number;
16489
+ /** Default 4. In-flight worker cap within a single `plan()` batch. */
16490
+ maxConcurrency?: number;
16491
+ /**
16492
+ * Pre-allocated id for trace correlation. Default = `loop-${random}`.
16493
+ * Surfaces as `runId` on every emitted `LoopTraceEvent`.
16494
+ */
16053
16495
  runId?: string;
16054
16496
  /**
16055
16497
  * Clock override; default `Date.now`. Deterministic tests pass a
@@ -16136,313 +16578,90 @@ interface LoopDispatchOptions<Task, Output, Decision, TScenario extends Scenario
16136
16578
  * of every iteration the dispatch runs. The kernel owns `sessionId` and `signal`: both are
16137
16579
  * removed from the supplied value and applied last. A value that is present but is not an
16138
16580
  * object is a `ValidationError`, raised before any box is created.
16139
- *
16140
- * Typical use: `backend.model` credentials (`authMode` / `authFiles`) so every cell runs on a
16141
- * caller-supplied subscription credential, `timeoutMs`, and `context`.
16142
- */
16143
- promptOptions?: Omit<PromptOptions, 'signal' | 'sessionId'>;
16144
- /** Build the per-cell runAgentRounds options from the scenario (+ profile, when
16145
- * used with `runProfileMatrix`). */
16146
- toLoopOptions: (scenario: TScenario, profile: AgentProfile$1) => LoopOptionsForDispatch<Task, Output, Decision>;
16147
- /** Map the finished loop to the artifact the judges score. Default:
16148
- * `result.winner?.output`. A loop with no winner yields `undefined` (judges
16149
- * skip the cell) — but the loop's token usage is STILL reported, so the
16150
- * integrity guard sees real activity. */
16151
- toArtifact?: (result: LoopResult<Task, Output, Decision>) => TArtifact;
16152
- /** Forward `loop.*` trace events into the campaign's scoped trace so loop
16153
- * spans correlate with the cell. Default true. */
16154
- forwardTrace?: boolean;
16155
- /** Cost-meter source label for the loop's spend. Default `'loop'`. */
16156
- costSource?: string;
16157
- /** Provider- or executor-enforced maximum for this whole cell dispatch.
16158
- * Required by agent-eval before execution when the campaign is cost-capped. */
16159
- maximumCharge?: MaximumCharge | ((scenario: TScenario, profile: AgentProfile$1) => MaximumCharge | undefined);
16160
- /** Resolve the model actually served from the completed loop. */
16161
- resolveCostModel?: (result: LoopResult<Task, Output, Decision>, scenario: TScenario, profile: AgentProfile$1) => string | undefined;
16162
- }
16163
- /** `supervise` options minus Eval-owned cancellation. */
16164
- type SuperviseOptionsForDispatch = Omit<SuperviseOptions, 'signal'>;
16165
- /**
16166
- * Adapt a recursive Runtime `supervise()` tree to one Agent Eval profile-matrix cell.
16167
- *
16168
- * The adapter starts Eval's paid-call record before the tree starts. Runtime remains the sole
16169
- * owner of recursive execution, budgets, and the journal; Eval remains the sole owner of the
16170
- * paid-call admission and resulting receipt.
16171
- */
16172
- interface SuperviseDispatchOptions<TScenario extends Scenario, TArtifact> {
16173
- /** Build the task passed to the root supervisor for this profile/scenario cell. */
16174
- toTask: (scenario: TScenario, profile: AgentProfile$1) => unknown;
16175
- /** Build the Runtime-owned recursive-run options for this profile/scenario cell. */
16176
- toSuperviseOptions: (scenario: TScenario, profile: AgentProfile$1) => SuperviseOptionsForDispatch;
16177
- /** Map the terminal tree result to the artifact judges score. Default: winner output. */
16178
- toArtifact?: (result: SupervisedResult<unknown>) => TArtifact;
16179
- /** Cost-meter source label. Default `'supervise'`. */
16180
- costSource?: string;
16181
- /** Provider- or executor-enforced maximum for the complete supervised tree. */
16182
- maximumCharge?: MaximumCharge | ((scenario: TScenario, profile: AgentProfile$1) => MaximumCharge | undefined);
16183
- }
16184
- /** Run one recursive supervised tree inside Eval's pre-execution paid-call lifecycle. */
16185
- declare function superviseDispatch<TScenario extends Scenario, TArtifact>(opts: SuperviseDispatchOptions<TScenario, TArtifact>): ProfileDispatchFn<TScenario, TArtifact>;
16186
- /** Options for adapting plain agent-eval campaign scenarios into Runtime cells. */
16187
- interface LoopCampaignDispatchOptions<Task, Output, Decision, TScenario extends Scenario, TArtifact> {
16188
- /** Sandbox client used for every campaign cell's `runAgentRounds`. */
16189
- sandboxClient: SandboxClient;
16190
- /**
16191
- * Per-prompt sandbox SDK options for every cell, forwarded verbatim into EVERY `streamPrompt`
16192
- * of every iteration the dispatch runs. The kernel owns `sessionId` and `signal`: both are
16193
- * removed from the supplied value and applied last. A value that is present but is not an
16194
- * object is a `ValidationError`, raised before any box is created.
16195
- */
16196
- promptOptions?: Omit<PromptOptions, 'signal' | 'sessionId'>;
16197
- /** Build the per-cell runAgentRounds options from the campaign scenario. */
16198
- toLoopOptions: (scenario: TScenario) => LoopOptionsForDispatch<Task, Output, Decision>;
16199
- /** Map the finished loop to the artifact the campaign judges score. */
16200
- toArtifact?: (result: LoopResult<Task, Output, Decision>) => TArtifact;
16201
- /** Forward `loop.*` trace events into the campaign's scoped trace. Default true. */
16202
- forwardTrace?: boolean;
16203
- /** Cost-meter source label for the loop's spend. Default `'loop'`. */
16204
- costSource?: string;
16205
- /** Provider- or executor-enforced maximum for this whole cell dispatch. */
16206
- maximumCharge?: MaximumCharge | ((scenario: TScenario) => MaximumCharge | undefined);
16207
- /** Resolve the model actually served from the completed loop. */
16208
- resolveCostModel?: (result: LoopResult<Task, Output, Decision>, scenario: TScenario) => string | undefined;
16209
- }
16210
- /**
16211
- * Adapter for plain `runCampaign` scenarios. This is the Runtime-side pair for
16212
- * agent-eval fixture scenarios: load fixtures in `agent-eval/campaign`, build
16213
- * the Runtime cell here, and keep paid-call admission, receipts, and traces
16214
- * automatic.
16215
- */
16216
- declare function loopCampaignDispatch<Task, Output, Decision, TScenario extends Scenario, TArtifact>(opts: LoopCampaignDispatchOptions<Task, Output, Decision, TScenario, TArtifact>): DispatchFn<TScenario, TArtifact>;
16217
- /**
16218
- * Adapter for `runProfileMatrix` (profile is an axis). Returns a
16219
- * `ProfileDispatchFn` that runs `runAgentRounds` per (profile, scenario) cell
16220
- * inside Eval's paid-call lifecycle.
16221
- */
16222
- declare function loopDispatch<Task, Output, Decision, TScenario extends Scenario, TArtifact>(opts: LoopDispatchOptions<Task, Output, Decision, TScenario, TArtifact>): ProfileDispatchFn<TScenario, TArtifact>;
16223
- //#endregion
16224
- //#region src/runtime/strategy.d.ts
16225
- interface AgenticTask {
16226
- readonly id: string;
16227
- readonly userPrompt: string;
16228
- /** Opaque domain payload the surface reads (EOPS: servers/verifiers/tools). Drivers never read it. */
16229
- readonly meta?: Record<string, unknown>;
16230
- }
16231
- interface ArtifactHandle {
16232
- readonly id: string;
16233
- readonly surface: string;
16234
- /** Opaque per-artifact context the surface stashes (EOPS: the seeded gym server + db id). */
16235
- readonly ctx?: unknown;
16236
- }
16237
- interface AgenticTool {
16238
- readonly type: 'function';
16239
- readonly function: {
16240
- name: string;
16241
- description?: string;
16242
- parameters: Record<string, unknown>;
16243
- };
16244
- }
16245
- interface SurfaceScore {
16246
- passes: number;
16247
- total: number;
16248
- /** Checks excluded as malformed (data defect, not the agent). `total === 0` ⇒ unscoreable. */
16249
- errored: number;
16250
- }
16251
- /** A stateful, checkable environment an agent operates over with tools. Open behind one interface. */
16252
- interface AgenticSurface {
16253
- readonly name: string;
16254
- open(task: AgenticTask): Promise<ArtifactHandle>;
16255
- tools(task: AgenticTask, handle: ArtifactHandle): Promise<AgenticTool[]>;
16256
- call(handle: ArtifactHandle, name: string, args: Record<string, unknown>): Promise<string>;
16257
- score(task: AgenticTask, handle: ArtifactHandle): Promise<SurfaceScore>;
16258
- close(handle: ArtifactHandle): Promise<void>;
16259
- }
16260
- interface AgenticOptions {
16261
- routerBaseUrl: string;
16262
- routerKey: string;
16263
- /** Exact worker identity. Model and standing instructions are read only from this profile. */
16264
- workerProfile: AgentProfile;
16265
- /** Optional completion transport (see `RouterConfig.complete`): when set, BOTH legs of an
16266
- * offline run use it instead of `fetch`-ing the router — the worker's tool loop (threaded into
16267
- * its `routerToolLoop` cfg) AND the analyst's critic (its `ChatClient` is bound to this same
16268
- * transport). One injected responder serves both, as a localhost mock endpoint would. Absent ⇒
16269
- * the live router fetch path (the default). */
16270
- complete?: (body: Record<string, unknown>) => Promise<unknown>;
16271
- /** Exact critic identity. Omitted means the exact worker profile also runs the critic. */
16272
- analystProfile?: AgentProfile;
16273
- /** Across-run learning: when set, the analyst's observe() pass appends trace-derived
16274
- * facts here (the flywheel write side). Read-back is opt-in via `corpusReadback`
16275
- * because unconditional priming can pollute context on some domains. */
16276
- corpus?: Corpus;
16277
- /** Tags written onto learned facts (and used by the caller's priming query). */
16278
- corpusTags?: string[];
16279
- /** In-context learning: when set, query `corpus` before each depth shot and inject
16280
- * the top trace-derived facts as guidance for the active run. No corpus means no read-back. */
16281
- corpusReadback?: CorpusReadbackOptions;
16282
- }
16283
- interface CorpusReadbackOptions {
16284
- /** Minimum confidence for a fact to be injected. Default 0.7. */
16285
- minConfidence?: number;
16286
- /** Extra tags a fact must carry, in addition to `corpusTags`. */
16287
- tags?: ReadonlyArray<string>;
16288
- /** Max facts injected per shot. Default 3. */
16289
- maxFacts?: number;
16290
- /** Default false: only facts tagged `audience:agent` are injected into the worker. */
16291
- includeOperatorFacts?: boolean;
16292
- }
16293
- /** One provider-neutral conversation record carried between strategy shots. */
16294
- type StrategyMessage = Record<string, unknown>;
16295
- /** Measured result of one strategy shot. */
16296
- interface StrategyShotResult {
16297
- messages: StrategyMessage[];
16298
- score: number;
16299
- passes: number;
16300
- total: number;
16301
- completions: number;
16302
- toolErrors: number;
16303
- }
16304
- interface AgenticRunResult {
16305
- /** The strategy name (built-in 'depth'/'breadth' or a custom strategy's name). */
16306
- mode: string;
16307
- score: number;
16308
- resolved: boolean;
16309
- completions: number;
16310
- /** DEPTH: score after each shot — the progress-over-rounds curve. BREADTH: best-so-far per rollout. */
16311
- progression: number[];
16312
- shots: number;
16313
- /** Observed billed subtotal. `usdKnown:false` means it is incomplete, never a measured zero. */
16314
- usd: number;
16315
- usdKnown: boolean;
16316
- ms: number;
16317
- tokens: {
16318
- input: number;
16319
- output: number;
16320
- };
16321
- tokensKnown: boolean;
16322
- }
16323
- /** DEPTH: one persistent artifact, carried across analyst-steered shots. */
16324
- declare function depthStrategy(surface: AgenticSurface, task: AgenticTask, opts: AgenticOptions, cfg: {
16325
- maxShots: number;
16326
- }): Agent<unknown, Outcome<unknown>>;
16327
- /** BREADTH: K independent rollouts (each own artifact), verifier picks the best. */
16328
- declare function breadthStrategy(_surface: AgenticSurface, task: AgenticTask, opts: AgenticOptions, cfg: {
16329
- width: number;
16330
- }): Agent<unknown, Outcome<unknown>>;
16331
- /**
16332
- * A Strategy is HOW you spend the compute budget to beat the Environment's check — it
16333
- * builds the driver `Agent` the Supervisor runs. This is the OPEN extension point: a dev
16334
- * authors their own by implementing `driver()` to return an Agent whose `act()` spawns
16335
- * shots/analysts via `scope.spawn` / `scope.next` / `scope.send`. The two built-ins are
16336
- * the reference implementations to copy:
16337
- * sample — K INDEPENDENT attempts, keep the best-verifying (best-of-N / resample).
16338
- * refine — attempt → observe() reads the trace → steer the next → repeat (iterate).
16339
- * (A multi-agent "team" is just a Strategy whose driver spawns several different agents.)
16340
- */
16341
- declare const strategyResult: unique symbol;
16342
- interface Strategy<Result extends StrategyResult = StrategyResult> {
16343
- readonly name: string;
16344
- /** @internal Associates a strategy with its typed result without adding a runtime field. */
16345
- readonly [strategyResult]?: Result;
16346
- driver(surface: AgenticSurface, task: AgenticTask, opts: AgenticOptions, budget: number): Agent<unknown, Outcome<unknown>>;
16347
- }
16348
- /** Built-in `Strategy`: K independent attempts, keep the best-verifying (best-of-N / resample). */
16349
- declare const sample: Strategy;
16350
- /** Built-in `Strategy`: attempt → `observe()` reads the trace → steer the next attempt → repeat (deepen one lineage). */
16351
- declare const refine: Strategy;
16352
- interface ShotSpec {
16353
- /** present ⇒ continue this artifact (depth); absent ⇒ the shot opens a fresh one (sample/restart). */
16354
- handle?: ArtifactHandle;
16355
- messages?: StrategyMessage[];
16356
- steer?: string;
16357
- /** Exact profile for this shot. Omitted means `AgenticOptions.workerProfile`. */
16358
- profile?: AgentProfile;
16359
- /** Restrict THIS shot to a subset of the domain's tools (by name) — focus a shot on
16360
- * the relevant capabilities. Restriction-only; unknown names throw. Omitted ⇒ all. */
16361
- tools?: string[];
16362
- }
16363
- interface StrategyResult {
16364
- score: number;
16365
- resolved: boolean;
16366
- completions: number;
16367
- progression: number[];
16368
- shots: number;
16369
- }
16370
- /** Artifact lifecycle a strategy may manage itself — open/close ONLY. Raw `call`/`score`
16371
- * are withheld: scores reach the body solely through `shot()`'s StrategyShotResult (the
16372
- * harness-verified channel), so a body cannot peek the check or fabricate around it. */
16373
- interface StrategyArtifacts {
16374
- readonly name: string;
16375
- open(task: AgenticTask): Promise<ArtifactHandle>;
16376
- close(handle: ArtifactHandle): Promise<void>;
16581
+ *
16582
+ * Typical use: `backend.model` credentials (`authMode` / `authFiles`) so every cell runs on a
16583
+ * caller-supplied subscription credential, `timeoutMs`, and `context`.
16584
+ */
16585
+ promptOptions?: Omit<PromptOptions, 'signal' | 'sessionId'>;
16586
+ /** Build the per-cell runAgentRounds options from the scenario (+ profile, when
16587
+ * used with `runProfileMatrix`). */
16588
+ toLoopOptions: (scenario: TScenario, profile: AgentProfile$1) => LoopOptionsForDispatch<Task, Output, Decision>;
16589
+ /** Map the finished loop to the artifact the judges score. Default:
16590
+ * `result.winner?.output`. A loop with no winner yields `undefined` (judges
16591
+ * skip the cell) — but the loop's token usage is STILL reported, so the
16592
+ * integrity guard sees real activity. */
16593
+ toArtifact?: (result: LoopResult<Task, Output, Decision>) => TArtifact;
16594
+ /** Forward `loop.*` trace events into the campaign's scoped trace so loop
16595
+ * spans correlate with the cell. Default true. */
16596
+ forwardTrace?: boolean;
16597
+ /** Cost-meter source label for the loop's spend. Default `'loop'`. */
16598
+ costSource?: string;
16599
+ /** Provider- or executor-enforced maximum for this whole cell dispatch.
16600
+ * Required by agent-eval before execution when the campaign is cost-capped. */
16601
+ maximumCharge?: MaximumCharge | ((scenario: TScenario, profile: AgentProfile$1) => MaximumCharge | undefined);
16602
+ /** Resolve the model actually served from the completed loop. */
16603
+ resolveCostModel?: (result: LoopResult<Task, Output, Decision>, scenario: TScenario, profile: AgentProfile$1) => string | undefined;
16377
16604
  }
16378
- /** What a strategy body composes with: the artifact lifecycle, the budget, and the two steps. */
16379
- interface StrategyCtx {
16380
- /** Open/close artifacts the body manages itself (e.g. one persistent handle for depth). */
16381
- readonly surface: StrategyArtifacts;
16382
- readonly task: AgenticTask;
16383
- readonly opts: AgenticOptions;
16384
- readonly budget: number;
16385
- readonly scope: Scope<Outcome<unknown>>;
16386
- /** Run ONE worker shot; its harness-scored result, or null if it went down. */
16387
- shot(spec?: ShotSpec): Promise<StrategyShotResult | null>;
16388
- /** The firewalled critic reads the trajectory → a steer string, or null on COMPLETE/down. */
16389
- critique(messages: StrategyMessage[]): Promise<string | null>;
16390
- /** The RAW analyst channel: the firewalled critic answers `instruction` over the
16391
- * trajectory verbatim — no findings extraction, so verdict-shaped formats
16392
- * (CONTINUE/STOP decisions, calibrated predictions) survive. Same firewall:
16393
- * trajectory in, never scores. Null when the analyst went down. */
16394
- consult(messages: StrategyMessage[], instruction: string): Promise<string | null>;
16395
- /** The tools THIS artifact's task actually offers (names + descriptions only — never
16396
- * the implementations). Tool sets vary per task on heterogeneous domains; a strategy
16397
- * that restricts shots MUST select from this list, never from hardcoded names. */
16398
- listTools(handle: ArtifactHandle): Promise<Array<{
16399
- name: string;
16400
- description?: string;
16401
- }>>;
16605
+ /** `supervise` options minus Eval-owned cancellation. */
16606
+ type SuperviseOptionsForDispatch = Omit<SuperviseOptions, 'signal'>;
16607
+ /**
16608
+ * Adapt a recursive Runtime `supervise()` tree to one Agent Eval profile-matrix cell.
16609
+ *
16610
+ * The adapter starts Eval's paid-call record before the tree starts. Runtime remains the sole
16611
+ * owner of recursive execution, budgets, and the journal; Eval remains the sole owner of the
16612
+ * paid-call admission and resulting receipt.
16613
+ */
16614
+ interface SuperviseDispatchOptions<TScenario extends Scenario, TArtifact> {
16615
+ /** Build the task passed to the root supervisor for this profile/scenario cell. */
16616
+ toTask: (scenario: TScenario, profile: AgentProfile$1) => unknown;
16617
+ /** Build the Runtime-owned recursive-run options for this profile/scenario cell. */
16618
+ toSuperviseOptions: (scenario: TScenario, profile: AgentProfile$1) => SuperviseOptionsForDispatch;
16619
+ /** Map the terminal tree result to the artifact judges score. Default: winner output. */
16620
+ toArtifact?: (result: SupervisedResult<unknown>) => TArtifact;
16621
+ /** Cost-meter source label. Default `'supervise'`. */
16622
+ costSource?: string;
16623
+ /** Provider- or executor-enforced maximum for the complete supervised tree. */
16624
+ maximumCharge?: MaximumCharge | ((scenario: TScenario, profile: AgentProfile$1) => MaximumCharge | undefined);
16402
16625
  }
16403
- /** Author a Strategy from the composable steps — the open, compact way. */
16404
- declare function defineStrategy<Result extends StrategyResult>(name: string, run: (ctx: StrategyCtx) => Promise<Result>): Strategy<Result>;
16405
- /** A NEW strategy, authored from the steps (~20 lines): refine, but when a steered shot
16406
- * fails to improve the score it ABANDONS that line and restarts fresh (branch-when-stuck)
16407
- * — the widen/MCTS idea the depth-stuck failure motivated. Scored keep-best (the best
16408
- * checkpoint across all lines), the deployable metric. This is the "experts build BETTER
16409
- * optimizations" path: a new technique, compact, with zero Supervisor ceremony. */
16410
- declare const adaptiveRefine: Strategy<{
16411
- score: number;
16412
- resolved: boolean;
16413
- completions: number;
16414
- progression: number[];
16415
- shots: number;
16416
- }>;
16417
- /** The explore-then-exploit MIX: spend ⌈budget/2⌉ on independent samples (kept open),
16418
- * then refine the best-verifying line with the remaining budget. Sample's basin escape +
16419
- * refine's accumulation — the third built-in, authored from the public steps. */
16420
- declare const sampleThenRefine: Strategy<{
16421
- score: number;
16422
- resolved: boolean;
16423
- completions: number;
16424
- progression: number[];
16425
- shots: number;
16426
- }>;
16427
- interface RunAgenticOptions<Result extends StrategyResult = StrategyResult> extends AgenticOptions {
16428
- surface: AgenticSurface;
16429
- task: AgenticTask;
16430
- /** Lifecycle observability — every spawn/settle (shots, analysts) streams here live.
16431
- * The seam online watchdogs/route-auditors subscribe to. */
16432
- hooks?: RuntimeHooks;
16433
- /** A Strategy (the open way) — author/pass your own. Overrides `mode` when present. */
16434
- strategy?: Strategy<Result>;
16435
- /** Built-in shorthand: 'depth'→refine, 'breadth'→sample. Default 'depth'. */
16436
- mode?: 'depth' | 'breadth';
16437
- /** budget: refine→max shots; sample→rollout width. */
16438
- budget: number;
16439
- rootBudget?: Budget;
16440
- /** Forwarded to `SupervisorOpts.teardownConfirmMs`: how long settlement keeps retrying a child
16441
- * teardown the executor has not confirmed. `0` makes one attempt only. Default: 300000. */
16442
- teardownConfirmMs?: number;
16626
+ /** Run one recursive supervised tree inside Eval's pre-execution paid-call lifecycle. */
16627
+ declare function superviseDispatch<TScenario extends Scenario, TArtifact>(opts: SuperviseDispatchOptions<TScenario, TArtifact>): ProfileDispatchFn<TScenario, TArtifact>;
16628
+ /** Options for adapting plain agent-eval campaign scenarios into Runtime cells. */
16629
+ interface LoopCampaignDispatchOptions<Task, Output, Decision, TScenario extends Scenario, TArtifact> {
16630
+ /** Sandbox client used for every campaign cell's `runAgentRounds`. */
16631
+ sandboxClient: SandboxClient;
16632
+ /**
16633
+ * Per-prompt sandbox SDK options for every cell, forwarded verbatim into EVERY `streamPrompt`
16634
+ * of every iteration the dispatch runs. The kernel owns `sessionId` and `signal`: both are
16635
+ * removed from the supplied value and applied last. A value that is present but is not an
16636
+ * object is a `ValidationError`, raised before any box is created.
16637
+ */
16638
+ promptOptions?: Omit<PromptOptions, 'signal' | 'sessionId'>;
16639
+ /** Build the per-cell runAgentRounds options from the campaign scenario. */
16640
+ toLoopOptions: (scenario: TScenario) => LoopOptionsForDispatch<Task, Output, Decision>;
16641
+ /** Map the finished loop to the artifact the campaign judges score. */
16642
+ toArtifact?: (result: LoopResult<Task, Output, Decision>) => TArtifact;
16643
+ /** Forward `loop.*` trace events into the campaign's scoped trace. Default true. */
16644
+ forwardTrace?: boolean;
16645
+ /** Cost-meter source label for the loop's spend. Default `'loop'`. */
16646
+ costSource?: string;
16647
+ /** Provider- or executor-enforced maximum for this whole cell dispatch. */
16648
+ maximumCharge?: MaximumCharge | ((scenario: TScenario) => MaximumCharge | undefined);
16649
+ /** Resolve the model actually served from the completed loop. */
16650
+ resolveCostModel?: (result: LoopResult<Task, Output, Decision>, scenario: TScenario) => string | undefined;
16443
16651
  }
16444
- /** Run a Strategy through the keystone Supervisor — `Agent.act` over a conserved-budget Scope. */
16445
- declare function runAgentic<Result extends StrategyResult = StrategyResult>(opts: RunAgenticOptions<Result>): Promise<AgenticRunResult & Result>;
16652
+ /**
16653
+ * Adapter for plain `runCampaign` scenarios. This is the Runtime-side pair for
16654
+ * agent-eval fixture scenarios: load fixtures in `agent-eval/campaign`, build
16655
+ * the Runtime cell here, and keep paid-call admission, receipts, and traces
16656
+ * automatic.
16657
+ */
16658
+ declare function loopCampaignDispatch<Task, Output, Decision, TScenario extends Scenario, TArtifact>(opts: LoopCampaignDispatchOptions<Task, Output, Decision, TScenario, TArtifact>): DispatchFn<TScenario, TArtifact>;
16659
+ /**
16660
+ * Adapter for `runProfileMatrix` (profile is an axis). Returns a
16661
+ * `ProfileDispatchFn` that runs `runAgentRounds` per (profile, scenario) cell
16662
+ * inside Eval's paid-call lifecycle.
16663
+ */
16664
+ declare function loopDispatch<Task, Output, Decision, TScenario extends Scenario, TArtifact>(opts: LoopDispatchOptions<Task, Output, Decision, TScenario, TArtifact>): ProfileDispatchFn<TScenario, TArtifact>;
16446
16665
  //#endregion
16447
16666
  //#region src/runtime/run-benchmark.d.ts
16448
16667
  /** A checkable task domain — implement these 5 hooks and the suite does the rest. The
@@ -17524,81 +17743,6 @@ interface OpenSandboxRunOptions {
17524
17743
  */
17525
17744
  declare function openSandboxRun<Out>(client: SandboxClient, options: OpenSandboxRunOptions, deliverable: Deliverable<Out>): Promise<SandboxRun<Out>>;
17526
17745
  //#endregion
17527
- //#region src/runtime/stdio-mcp-client.d.ts
17528
- interface StdioMcpServerSpec {
17529
- /** Command that starts the MCP server (stdio transport). */
17530
- command: string;
17531
- args?: string[];
17532
- /** Working directory the server starts in (a built candidate's worktree, typically). */
17533
- cwd?: string;
17534
- /** Declared public env for the server process. Only a minimal non-sensitive
17535
- * subset of the parent env is inherited. */
17536
- env?: Record<string, string>;
17537
- /** Sensitive env for the server process. These values override `env` and are
17538
- * redacted from child-supplied errors, tool metadata, and tool results. */
17539
- protectedEnv?: Record<string, string>;
17540
- /** Handshake AND per-request timeout (ms). Default 30s. */
17541
- timeoutMs?: number;
17542
- }
17543
- /** A missing start binary / spawn fault: a SETUP bug, never a failed candidate.
17544
- * Graders (the serve verifier) must rethrow this instead of scoring it. */
17545
- declare class McpSpawnFault extends Error {}
17546
- interface McpToolDescriptor {
17547
- name: string;
17548
- description?: string;
17549
- inputSchema?: unknown;
17550
- }
17551
- interface StdioMcpConnection {
17552
- /** The tools the server exposed at connect time (`tools/list`). */
17553
- readonly tools: readonly McpToolDescriptor[];
17554
- /** `tools/call` → the result's text content. A JSON-RPC error / `isError`
17555
- * result becomes an `ERROR: …` string (the agent's outcome); a dead
17556
- * transport or timeout throws (an infra fault). */
17557
- callTool(name: string, args: Record<string, unknown>): Promise<string>;
17558
- /** Kill the server child. Idempotent. */
17559
- close(): Promise<void>;
17560
- }
17561
- /** Spawn a trusted host command, complete the stdio MCP handshake, and return
17562
- * the live connection. This low-level function provides no process isolation. */
17563
- declare function connectStdioMcp(spec: StdioMcpServerSpec): Promise<StdioMcpConnection>;
17564
- interface MaterializeLocalMcpOptions {
17565
- /** Handshake / per-request timeout per server (ms). Default 30s. */
17566
- timeoutMs?: number;
17567
- /** Cap on a tool result's text fed back to the worker. Default 2000 chars. */
17568
- maxResultChars?: number;
17569
- /** Resolves a server's DECLARED secrets at spawn time — env entries of kind
17570
- * `secret-ref` (interface ≥0.40) and the legacy `metadata.secretEnv` map
17571
- * (env var name → provider key name). The resolved values reach ONLY the
17572
- * child process env — never the profile, the logs, or an error message.
17573
- * Fail-closed: a server declaring secrets without a provider (or with a
17574
- * missing key) throws instead of booting keyless. */
17575
- keys?: KeyProvider;
17576
- /** Required trust decision for profiles that declare local MCP processes.
17577
- * Omit to refuse all profile-controlled host execution. Passing
17578
- * `allowLocalMcp: true` is only safe for an author-controlled profile: the
17579
- * process receives this Runtime's filesystem and network privileges. */
17580
- profileSecurityPolicy?: AgentProfileSecurityPolicy;
17581
- }
17582
- /** The live same-host materialization of a profile's `mcp` surface. */
17583
- interface LocalMcpMaterialization {
17584
- /** Worker-facing tool specs: namespaced `<server>__<tool>`, provider-safe schemas. */
17585
- tools: AgenticTool[];
17586
- /** Whether `name` is one of this materialization's namespaced tools. */
17587
- owns(name: string): boolean;
17588
- /** Route a namespaced call to its server's live stdio child. */
17589
- call(name: string, args: Record<string, unknown>): Promise<string>;
17590
- /** Kill every spawned server. Idempotent. */
17591
- close(): Promise<void>;
17592
- }
17593
- /**
17594
- * Spawn every enabled stdio server in `profile.mcp` and expose their tools as
17595
- * `<server>__<tool>` behind one route and close facade.
17596
- *
17597
- * Fails closed: a declared server that cannot boot throws, so a profile is never
17598
- * scored as if it had no MCP surface.
17599
- */
17600
- declare function materializeLocalMcp(profile: AgentProfile, opts?: MaterializeLocalMcpOptions): Promise<LocalMcpMaterialization>;
17601
- //#endregion
17602
17746
  //#region src/runtime/strategy-author.d.ts
17603
17747
  /** The compressed consumable a skill carries: everything an author needs to emit a loop. */
17604
17748
  declare const strategyAuthorContract = "\nYou author an OPTIMIZATION STRATEGY for an agentic loop system. A strategy decides how to\nspend a compute budget to beat a task's deployable check. You compose exactly two steps:\n\n shot(spec?: { handle?, messages?, steer?, profile?, tools? }): Promise<ShotResult | null>\n Runs ONE worker attempt (a bounded tool loop) over an artifact.\n - omit handle => the shot opens its OWN fresh artifact and closes it after (a sample).\n - pass handle => the shot CONTINUES that artifact (state accumulates across shots).\n - messages => the carried conversation (pass the previous ShotResult.messages to continue).\n - steer => a corrective instruction injected before the shot.\n - profile => a complete AgentProfile — give THIS shot its own instructions,\n model, skills, tools, hooks, and subagents. Include name, harness, and\n model: { provider, default }; put standing instructions in prompt.systemPrompt.\n For example: { ...opts.workerProfile, name: 'researcher',\n prompt: { ...opts.workerProfile.prompt,\n systemPrompt: 'Inspect the evidence before proposing a change.' } }.\n Choose an available model from the current execution setup. Omit profile to use\n the worker's exact profile. Every shot spends from the same conserved budget.\n - tools => string[] — restrict THIS shot to a subset of the task's tools by\n name (focus an explore shot on read-only tools, an execute shot on write tools).\n Restriction-only; unknown names make the shot fail. ALWAYS select from\n await listTools(handle) — never hardcode. Omitted => the shot sees every tool.\n ShotResult = { messages, score (0..1 on the task's check), passes, total, completions, toolErrors }\n Returns null if the attempt failed infra-wise.\n\n critique(messages): Promise<string | null>\n A firewalled trace-analyst reads the attempt's trajectory and returns ONE corrective\n instruction (or null when it judges the work complete). Costs ~1 completion.\n\n consult(messages, instruction): Promise<string | null>\n The RAW analyst channel: the same firewalled critic answers YOUR instruction over the\n trajectory verbatim (no reformatting) — use it when you need a specific reply format\n (a decision, a prediction). Costs ~1 completion.\n\n surface.open(task) / surface.close(handle)\n Open a persistent artifact you manage yourself (remember to close in a finally).\n close is idempotent — closing an already-closed handle is a safe no-op.\n\n listTools(handle): Promise<Array<{ name, description? }>>\n The tools THIS task actually offers. TOOL SETS VARY PER TASK — if you restrict a\n shot with `tools`, you MUST pick names from await listTools(handle); hardcoding\n names from an example kills your shots on every task whose tools differ.\n\nRules:\n- ALWAYS await every shot/critique/surface call — a floating promise that rejects\n crashes the whole benchmark run.\n- Stay within ~budget total shots; every shot/critique spends from a conserved pool.\n- For a FRESH attempt OMIT `messages` entirely (never pass `[]` — an empty array is a\n fresh conversation too, but be explicit). To CONTINUE, pass the previous\n ShotResult.messages unchanged.\n- Return { score, resolved, completions, progression, shots } — score = the BEST checkpoint\n you reached (keep-best, never final-state), progression = score after each shot.\n- The module must be EXACTLY this shape (no other imports, no commentary outside code):\n\nimport { defineStrategy } from '@tangle-network/agent-runtime/kernel'\nexport default defineStrategy('your-strategy-name', async ({ surface, task, opts, budget, shot, critique, listTools }) => {\n // your composition (listTools comes from the destructured context — it is NOT a global)\n})\n";
@@ -19119,6 +19263,35 @@ interface ProvisionedSupervisor {
19119
19263
  */
19120
19264
  declare function provisionSupervisor(request: ProvisionSupervisorRequest): Promise<ProvisionedSupervisor>;
19121
19265
  //#endregion
19266
+ //#region src/runtime/supervise/remote-supervisor.d.ts
19267
+ /** Minimal agent identity and topology returned by the protected reader. */
19268
+ interface RemoteSupervisorAgent {
19269
+ readonly id: string;
19270
+ readonly parent?: string;
19271
+ readonly label: string;
19272
+ readonly status: string;
19273
+ readonly runtime: string;
19274
+ }
19275
+ /** Current owned tree, including nested managers and resumed nodes. */
19276
+ interface RemoteSupervisorTree {
19277
+ readonly root: string;
19278
+ readonly nodes: readonly RemoteSupervisorAgent[];
19279
+ readonly inFlight: number;
19280
+ }
19281
+ /** The same bounded event page served by Scope's live observation owner. */
19282
+ type RemoteWorkerEvents = WorkerEventPage;
19283
+ /** The existing coordination transport, restricted to reading the owned tree and worker output. */
19284
+ interface RemoteSupervisorReader {
19285
+ tree(): Promise<RemoteSupervisorTree>;
19286
+ observe(workerId: string, cursor?: WorkerEventCursor): Promise<{
19287
+ agent: Record<string, unknown>;
19288
+ events: RemoteWorkerEvents;
19289
+ }>;
19290
+ close(): Promise<void>;
19291
+ }
19292
+ /** Connect with the server's readOnly URL and protected headers; credentials never enter a profile. */
19293
+ declare function connectRemoteSupervisor(spec: HttpMcpServerSpec): Promise<RemoteSupervisorReader>;
19294
+ //#endregion
19122
19295
  //#region src/runtime/supervise/scope.d.ts
19123
19296
  /** Construction args for `createScope`. The supervisor threads the shared pool, journal,
19124
19297
  * blob store, and executor registry through; `depth`/`maxDepth` pair the runtime
@@ -19237,6 +19410,159 @@ declare function createScope<Out>(args: ScopeArgs): Scope<Out>;
19237
19410
  */
19238
19411
  declare function settledToIteration<Out>(settled: Settled<Out>): Iteration<unknown, Out>;
19239
19412
  //#endregion
19413
+ //#region src/runtime/supervise/search-spec.d.ts
19414
+ /**
19415
+ * One multi-agent research configuration: seven orthogonal axes, all data.
19416
+ *
19417
+ * | Axis | Compiles to |
19418
+ * |---|---|
19419
+ * | `state` | always `harness`: the journal, Knowledge and checkpoints hold research state |
19420
+ * | `context` | `continuation.session` |
19421
+ * | `select` | the call: `lead`, `advisor`, `self` → `supervise`; `code` → `runGraph({ brain })`; `fixed` → `runGraph` |
19422
+ * | `workers` | `workerSlots`, `allowedModels`, the worker backend's shared placement |
19423
+ * | `comms` | `peerMail` for `messages` |
19424
+ * | `evaluate` | `continuation.failures`, `continuation.bar`, `analysts` + `analyzeOnSettle` |
19425
+ * | `stop` | `continuation.maxBarren`, `stopRule` |
19426
+ */
19427
+ interface SearchSpec {
19428
+ /** Where research state lives. `harness` is the only value: memory that lives only in a harness
19429
+ * conversation cannot be checkpointed, inspected or ablated. */
19430
+ readonly state: 'harness';
19431
+ /** What a re-entered root's harness session holds. `fresh`: a new session per re-entry whose only
19432
+ * input is Runtime's full re-entry task. `native`: the same session wherever the backend proves it. */
19433
+ readonly context: 'fresh' | 'native';
19434
+ /**
19435
+ * Who decides the next work. `lead`: the root does work and may spawn. `advisor`: the root only
19436
+ * assigns, sees each epoch fresh, and its workers are leaves. `self`: a convener starts the peers
19437
+ * and the peers divide the work by messages. `code`: the caller's brain drives the root in
19438
+ * process. `fixed`: a static graph.
19439
+ */
19440
+ readonly select: 'lead' | 'advisor' | 'code' | 'self' | 'fixed';
19441
+ readonly workers: {
19442
+ /** Agents working at once below the root (`workerSlots`); 0 runs the root alone. For `self`,
19443
+ * the number of peers. */
19444
+ readonly count: number;
19445
+ /** Model ids the run may use (`allowedModels`); the root's model must be among them. */
19446
+ readonly models?: ReadonlyArray<string>;
19447
+ /** `isolated`: every worker has its own environment. `shared`: workers may share boxes
19448
+ * through the provider backend's shared placement. */
19449
+ readonly isolation: 'isolated' | 'shared';
19450
+ };
19451
+ /** Channels between agents. `none`: no workers. `assignments`: briefs down and results up.
19452
+ * `messages`: assignments plus worker-to-worker peer mail. */
19453
+ readonly comms: 'none' | 'assignments' | 'messages';
19454
+ readonly evaluate: {
19455
+ /** Whether a continuation note carries the check's FAIL lines (`continuation.failures`). */
19456
+ readonly feedback: 'verbatim' | 'off';
19457
+ /** Whether a continuation note states the bar (`continuation.bar`). */
19458
+ readonly bar: 'on' | 'off';
19459
+ /** Analyst kinds run on every settled worker (`analyzeOnSettle`). */
19460
+ readonly analysts?: ReadonlyArray<string>;
19461
+ };
19462
+ readonly stop: {
19463
+ /** Re-entered turns in a row without progress before the run ends (`continuation.maxBarren`). */
19464
+ readonly maxBarren: number;
19465
+ /** End the run when a window of settlements lifts the best score by no more than `minDelta`. */
19466
+ readonly plateau?: {
19467
+ readonly window: number;
19468
+ readonly minDelta: number;
19469
+ };
19470
+ };
19471
+ }
19472
+ /** The correlation key the compiled call records the spec's digest under. Runtime writes it; a
19473
+ * caller that supplies it is refused. */
19474
+ declare const SEARCH_SPEC_CORRELATION_KEY = "searchSpecDigest";
19475
+ /**
19476
+ * Check a spec and return its canonical frozen form: every axis present, no unknown key, no
19477
+ * contradictory pair of values. Lists are sorted, so two specs that mean the same digest the same.
19478
+ */
19479
+ declare function assertSearchSpec(spec: unknown): SearchSpec;
19480
+ /** The canonical digest of a spec: equal for two specs that mean the same, different otherwise. */
19481
+ declare function searchSpecDigest(spec: SearchSpec): Sha256Digest;
19482
+ /**
19483
+ * The five configurations Runtime ships, as specs. Each is an ordinary spec: its digest is its
19484
+ * value's, and a consumer that changes any axis passes an inline spec with its own digest.
19485
+ */
19486
+ declare const searchPresets: Readonly<{
19487
+ /** One root alone in one session. */
19488
+ solo: () => SearchSpec;
19489
+ /** A doing lead with up to `width` workers at once, each in its own environment; any of them
19490
+ * may lead its own team within the same bound. */
19491
+ tree: (width: number) => SearchSpec;
19492
+ /** A doing lead with up to `width` workers at once that may share boxes. */
19493
+ swarm: (width: number) => SearchSpec;
19494
+ /** `count` peers started by a convener, dividing the work by peer mail. */
19495
+ peers: (count: number) => SearchSpec;
19496
+ /** Stateless Language Agents (arXiv 2610.07625): an assign-only advisor re-entered fresh every
19497
+ * epoch from the coordinator's projection, over `width` isolated leaf workers. */
19498
+ sla: (width: number) => SearchSpec;
19499
+ }>;
19500
+ /** A `SuperviseOptions` key that an axis or a typed input decides. */
19501
+ type SearchSpecOwnedOption = 'budget' | 'deliverable' | 'continuation' | 'workerSlots' | 'allowedModels' | 'peerMail' | 'analysts' | 'analyzeOnSettle' | 'stopRule' | 'maxDepth' | 'inheritSpawnRights';
19502
+ /** Everything a compiled call needs besides the spec: the problem, its bounds, and the call's
19503
+ * other options. */
19504
+ interface SearchSpecInputs {
19505
+ /** The root, for select `lead`, `advisor` and `self`: the lead, the advisor, or the convener
19506
+ * that starts the peers. A graph's root is its own node. */
19507
+ readonly profile?: AgentProfile;
19508
+ /** The root's task, for the same three selects. A graph's task is its deliverable's description. */
19509
+ readonly task?: unknown;
19510
+ /** select `code` and `fixed`: the graph's nodes and edges. The compiler adds the deliverable and
19511
+ * the budget. */
19512
+ readonly graph?: Pick<AgentGraph, 'nodes' | 'edges'>;
19513
+ /** select `code`: the caller's brain that makes every root call (`RunGraphOptions.brain`). */
19514
+ readonly brain?: ToolLoopChat;
19515
+ readonly budget: Budget;
19516
+ /** The completion check. Every spec's run has one: the continuation is sent back by it. */
19517
+ readonly deliverable: DeliverableSpec<unknown>;
19518
+ /** No re-entry starts at or after this instant (epoch ms or ISO 8601). It is the run's time
19519
+ * bound, not design, so two runs of one spec share a digest. */
19520
+ readonly deadline: number | string;
19521
+ /** The continuation note's words, and the problem's reference result for `evaluate.bar: 'on'`. */
19522
+ readonly continuation: Pick<ContinuationPolicy, 'profile' | 'reference' | 'append'>;
19523
+ /** Profiles the root spawns by name (`registry.profiles`). For select `self`, the peers:
19524
+ * exactly `workers.count` of them. */
19525
+ readonly workers?: ReadonlyArray<AgentProfile | SuperviseProfileEntry>;
19526
+ /** The registry `evaluate.analysts` names kinds in; a graph's lens analysts resolve against it. */
19527
+ readonly analysts?: AnalystRegistry$1;
19528
+ /** `workers.isolation: 'shared'`: the shared-box pool the provider backend places workers in. */
19529
+ readonly sharedPlacement?: SharedBoxPlacement;
19530
+ /** select `code` and `fixed`: the directive registry the graph's edges name
19531
+ * (`RunGraphOptions.registry`). */
19532
+ readonly directives?: PromptRegistry;
19533
+ /** Every other option of the call, unchanged: `backend`, `driverBackend`, `coordination`,
19534
+ * `runDir`, `journal`, `runId`, `makeLeafAgent`, `driveHarness`, and the rest. */
19535
+ readonly options?: Omit<SuperviseOptions, SearchSpecOwnedOption>;
19536
+ }
19537
+ /** The one call a spec compiles to, with every option inspectable before spend. */
19538
+ type CompiledSearchSpec = {
19539
+ readonly call: 'supervise';
19540
+ readonly spec: SearchSpec;
19541
+ readonly digest: Sha256Digest;
19542
+ readonly profile: AgentProfile;
19543
+ readonly task: unknown;
19544
+ readonly options: SuperviseOptions;
19545
+ } | {
19546
+ readonly call: 'runGraph';
19547
+ readonly spec: SearchSpec;
19548
+ readonly digest: Sha256Digest;
19549
+ readonly graph: AgentGraph;
19550
+ readonly options: RunGraphOptions;
19551
+ };
19552
+ /**
19553
+ * Compile a spec onto exactly one existing call. Every refusal names the axis or input and what
19554
+ * would have gone wrong, and happens before any compute.
19555
+ *
19556
+ * ```ts
19557
+ * const compiled = compileSearchSpec(searchPresets.sla(3), { profile, task, budget, deliverable,
19558
+ * deadline, continuation: { profile: words }, workers, options: { backend, coordination, runDir } })
19559
+ * const result = compiled.call === 'supervise'
19560
+ * ? await supervise(compiled.profile, compiled.task, compiled.options)
19561
+ * : (await runGraph(compiled.graph, compiled.options)).result
19562
+ * ```
19563
+ */
19564
+ declare function compileSearchSpec(raw: SearchSpec, inputs: SearchSpecInputs): CompiledSearchSpec;
19565
+ //#endregion
19240
19566
  //#region src/runtime/supervise/sql-run-context.d.ts
19241
19567
  interface SqlRunContextOptions extends SqlRunStoreOptions, InMemoryRunContextOptions {}
19242
19568
  /** SQL stores are read-only outside an acquired ownership capability. runGraph acquires it. */
@@ -19724,5 +20050,5 @@ interface VerifierEnvironmentOptions {
19724
20050
  /** Any checkable task as an `Environment`, no tool surface required: the artifact is the worker's answer and the domain is one deployable `check` over it. */
19725
20051
  declare function createVerifierEnvironment(opts: VerifierEnvironmentOptions): Environment;
19726
20052
  //#endregion
19727
- export { WORKER_TOOL_TRACE_SCHEMA_VERSION as $, RetainedRunStartMaterial as $C, PanelFinding as $S, ForkRequest as $_, LoopCampaignDispatchOptions as $a, mergeTraceEnv as $b, ResolvedWorkerSpawnRetry as $c, openSqlRunStore as $d, RecursiveReservationPolicy as $f, CodexRolloutTurn as $g, DELEGATE_TOOL_NAME as $h, InMemoryCorpus as $i, StopDecision as $l, CoordinationToolsOptions as $m, ProfileRichness as $n, LoopUntilSpec as $o, StartRetainedInteractiveRunOptions as $p, materializeLocalMcp as $r, declaredCheckDigest as $s, recordGraphRun as $t, supervisorRunDir as $u, ToolSpec as $v, RuntimeRunStatus as $w, PeerMailEnvelope as $x, DelegationResumeTick as $y, readWorkerInteractiveBinding as A, NativeContextContinuationExecution as AC, ToolStepInput as AS, mapSandboxToolEvent as A_, AgenticRunResult as Aa, FeedbackRefersTo as Ab, PursuitNodeUsage as Ac, ProfileKeyOf as Ad, ExecutorContext as Af, WorkerProgress as Ag, WorkerWatchOptions as Ah, profileOptimizerModelCall as Ai, ResolveDriveHarness as Al, summarizeDriverAttempts as Am, createPromptRegistry as An, Observation as Ao, TokenUsageProvenance as Ap, visibleCheckScore as Ar, PersonaExecutors as As, WorktreePatchArtifact as At, CoordinationOwnerId as Au, CreateWorktreeOptions as Av, LoopPlanPayload as Aw, sanitizeRuntimeStreamEvent as Ax, detachedSessionDelegate as Ay, copyUntrackedIntoClone as B, RetainedInteractiveStartedAdmission as BC, CONTINUATION_FACTS as BS, AgentEnvironmentQuery as B_, StrategyCtx as Ba, UiLens as Bb, observerRecordDigest as Bc, AnytimeTaskCurve as Bd, FleetYield as Bf, BridgeSeam as Bg, SPAWN_RESOURCE_PATH_MAX_BYTES as Bh, PrivateCasArtifactPort as Bi, assertCoordinationBinding as Bl, AnalystToolGroupName as Bm, delegate as Bn, Corpus as Bo, WorkspaceCheckpointMarker as Bp, AuthorStrategyOptions as Br, LeaderboardFlagSpec as Bs, GraphRegistryDir as Bt, cancelRun as Bu, CodexExecutionPolicy as Bv, MountRecorder as Bw, createDelegationTraceCollector as Bx, DetachedTurnResumeDriverOptions as By, AuthoredHarness as C, RuntimeRunStateError as CC, PublishOptions as CS, SandboxToolPartState as C_, BenchmarkReport as Ca, DelegationProfile as Cb, PursuitObserverDelivery as Cc, GroupOf as Cd, BudgetViolation as Cf, createSteerableSandboxSession as Cg, SpawnPreflightContext as Ch, claimRetainedInteractiveControl as Ci, createSupervisorSpanRecorder as Cl, DriverFailureClass as Cm, defaultEdgeTraversalCap as Cn, InProcessSandboxClientOptions as Co, SpendGap as Cp, filterAuthoredAsserts as Cr, WinnerStrategy as Cs, pickBestProfile as Ct, CoordinationTransportOptions as Cu, ProviderWorkspaceRetentionPort as Cv, LoopDecisionPayload as Cw, RuntimeTelemetryOptions as Cx, CoderReviewer as Cy, WorkerInteractiveBinding as D, DeadlineCheckIn as DC, watchTrace as DS, createSandboxUsageLedger as D_, printBenchmarkReport as Da, DelegationStatusArgs as Db, PursuitNodePlatform as Dc, LeaderboardRow as Dd, ExecutorAccounting as Df, ExecutorProgress as Dg, ToolOutcomeEvent as Dh, ResolveSandboxClientOptions as Di, DriveHarness as Dl, DriverRepromptRefusal as Dm, PromptRegistry as Dn, HarvestFailure as Do, SupervisedResult as Dp, sandboxCheckRunner as Dr, Outcome as Ds, PatchDeliverableOptions as Dt, CoordinationRejectReason as Du, WorktreeCommandResult as Dv, LoopIterationStartedPayload as Dw, createRuntimeStreamEventCollector as Dx, SettleDetachedCoderTurnOptions as Dy, AttachWorkerOptions as E, DEFAULT_CHECK_IN_IDLE_MS as EC, defaultToolDetectors as ES, createSandboxToolPartState as E_, Environment as Ea, DelegationStatus as Eb, PursuitNodePlacement as Ec, LeaderboardOptions as Ed, Executor as Ef, DEFAULT_STALL_AFTER_MS as Eg, SuperviseProfileEntry as Eh, startRetainedInteractiveRun as Ei, CoordinationVerbs as El, DriverReentry as Em, PromptHandle as En, HarvestError as Eo, SubtreeSummary as Ep, resolveEntrySymbol as Er, LoopShape as Es, recordProfileRun as Et, CoordinationHttpOptions as Eu, WorktreeCheckRunner as Ev, LoopIterationEndedPayload as Ew, createRuntimeEventCollector as Ex, DetachedWinnerSelection as Ey, closingWorkerNote as F, RecoverRetainedRunOptions as FC, DeliverableSpec as FS, AgentEnvironmentCapabilities$1 as F_, CorpusReadbackOptions as Fa, UI_FINDING_SEVERITIES as Fb, projectPursuit as Fc, renderLeaderboardMarkdown as Fd, ExecutorProgressEvent as Ff, InboxMessage as Fg, normalizeAnalyzeOnSettle as Fh, AgentTurnUsage as Fi, SupervisorNodeContext as Fl, AnalystDefinitionIssue as Fm, kernelPromptRegistry as Fn, defaultAnalystInstruction as Fo, WidenGate as Fp, StrategyTournament as Fr, ShapeRegistry as Fs, InteractiveWorkerResult as Ft, WorkerCancelRequest as Fu, WorktreeHandle as Fv, LoopTokenUsage as Fw, DelegationTraceCollector as Fx, SiblingSandboxExecutorOptions as Fy, WorkspaceCommit as G, RetainedRunDispatchedAdmission as GC, ContinuationContext as GS, AgentSessionRef as G_, adaptiveRefine as Ga, ResearchSource as Gb, DeliverableResolutionInput as Gc, renderAnytimeTable as Gd, NoWinnerError as Gf, resolveMcpServerLaunch as Gg, hostDirectoryReader as Gh, equalKOnCost as Gi, ManagerWakePolicy as Gl, AuthorizedDownMessage as Gm, ChatSessionStore as Gn, EqualKOnCostOptions as Go, workerTraceHeaders as Gp, strategyAuthorSystemPrompt as Gr, LeaderboardSpec as Gs, graphDigest as Gt, readRunCancellation as Gu, LocalHarnessResult as Gv, ValidationCtx as Gw, FileDelegationStoreOptions as Gx, detachedTurnEvents as Gy, GitWorkspaceOptions as H, RetainedRunAdmissionHook as HC, CheckUnavailableError as HS, AgentEnvironmentSummary as H_, StrategyResult as Ha, KnowledgeUpdate as Hb, AuthorizedSpawn as Hc, areaUnderCurve as Hd, HeldEnvironment as Hf, ResolvedMcpServerLaunch as Hg, SpawnResourceRead as Hh, PrivateCasOffloadReport as Hi, supervisorAgent as Hl, AuthoredAnalystDefinition as Hm, driverAgent as Hn, CorpusRecord as Ho, WorkerTraceSeamCarrier as Hp, assertStrategyContract as Hr, LeaderboardRunContext as Hs, GraphSelection as Ht, legacySupervisorRunDir as Hu, DEFAULT_LOCAL_HARNESS as Hv, RunProvenance as Hw, DelegationStateCorruptError as Hx, DriveTurnTick as Hy, composeWorkerEvidence as I, RecoverRetainedRunResult as IC, ExecutorResultMapping as IS, AgentEnvironmentEvent$1 as I_, RunAgenticOptions as Ia, UI_LENSES as Ib, FileObserverJournal as Ic, renderLeaderboardSvg as Id, ExecutorRegistry as If, PeerInboxMessage as Ig, parseAuthoredAnalystDefinition as Ih, CollectedAgentTurn as Ii, SupervisorNodeContextSeed as Il, AnalystFindingEvent as Im, naiveContinuationPrompt as In, observe as Io, WorkerInteractiveSession as Ip, TournamentCell as Ir, DefinedLeaderboard as Is, workerFromInteractiveProvider as It, WorkerCancellation as Iu, captureWorktreeDiff as Iv, LoopTraceEmitter as Iw, DelegationTraceSpan as Ix, createFleetWorkspaceExecutor as Iy, jjWorkspace as J, RetainedRunEventOptions as JC, ContinuationPanel as JS, CheckpointRef as J_, depthStrategy as Ja, createResearcherValidator as Jb, SuperviseRegistryTable as Jc, WaterfallSpan as Jd, NodeSnapshot as Jf, CodexForkBoundary as Jg, McpServerOptions as Jh, createShapeRegistry as Ji, PlateauOptions as Jl, ContinuationInstruction as Jm, ChatWorkerSeamOptions as Jn, FanoutOptions as Jo, RecoverRetainedInteractiveRunOptions as Jp, McpSpawnFault as Jr, DeclaredCheckPlacement as Js, graphRunsFor as Jt, readWorkerSteerAcknowledgement as Ju, localHarnessExecutable as Jv, RuntimeRunCost as Jw, CoderTask as Jx, runDetachedTurn as Jy, WorkspaceRun as K, RetainedRunEffect as KC, ContinuationEntry as KS, AgentSessionStatus$1 as K_, breadthStrategy as Ka, ResearchTask as Kb, SuperviseOptions as Kc, WaterfallCollector as Kd, NodeExecutionIdentity as Kf, resolveSecretEnv as Kg, resolveSpawnResourcePaths as Kh, trajectoryReport as Ki, AllWorkersStalledOptions as Kl, AwaitWakeInput as Km, ChatTransportExecutorOptions as Kn, EqualKVerdict as Ko, workerTraceSeamKey as Kp, LocalMcpMaterialization as Kr, defineLeaderboard as Ks, graphFromStored as Kt, readWorkerCancelRequests as Ku, RunLocalHarnessOptions as Kv, Validator as Kw, InMemoryDelegationStore as Kx, formatDetachedSessionRef as Ky, settledWorkerOut as L, RetainedInteractiveAdmission as LC, gateOnDeliverable as LS, AgentEnvironmentProvider$1 as L_, ShotSpec as La, UiFinding as Lb, ObserverJournal as Lc, renderPairwiseMarkdown as Ld, ExecutorResult as Lf, createInbox as Lg, questionEscalationTargets as Lh, StreamAgentTurnOptions as Li, SupervisorProfile as Ll, AnalystKind as Lm, promptHandle as Ln, renderReport as Lo, WorkerInteractiveUnavailableReason as Lp, TournamentRow as Lr, LeaderboardBenchScore as Ls, WorkerInteractiveAdmission as Lt, WorkerSteerAcknowledgement as Lu, createWorktree as Lv, LoopTraceEvent as Lw, buildDelegationTraceSpans as Lx, createSiblingSandboxExecutor as Ly, NOTE_MAX_CHARS as M, NativeContextContinuationInput as MC, createPushTraceSource as MS, sandboxProgressEvents as M_, AgenticTask as Ma, UiAuditLensFilter as Mb, PursuitRunProjection as Mc, leaderboard as Md, ExecutorFactory as Mf, readWorkerProgress as Mg, canonicalFindingEvent as Mh, assertProfileModelsAllowed as Mi, ResolvedSupervisorProfile as Ml, RetainedPendingCause as Mm, dumbContinuationFailPrompt as Mn, ObservationError as Mo, UnconfirmedTeardown as Mp, EvolutionReport as Mr, RunPersonifiedOptions as Ms, InteractiveWorkerEnvironment as Mt, PriorCoordination as Mu, DiffResult as Mv, LoopSandboxPlacement as Mw, DELEGATION_TRACE_MAX_BYTES as Mx, DelegationExecutor as My, VERIFY_TAIL_CHARS as N, ReconnectRetainedRunOptions as NC, decodeToolPart as NS, sumSandboxUsage as N_, AgenticTool as Na, UiAuditorDelegationOutput as Nb, PursuitRunTotals as Nc, pairwiseSignificance as Nd, ExecutorMaterialization as Nf, AuthorityInboxMessage as Ng, createCoordinationTools as Nh, AgentTurnBackend as Ni, SupervisorAgentDeps as Nl, ANALYST_DEFINITION_BOUNDS as Nm, dumbContinuationPassPrompt as Nn, ObserveInput as No, UnknownMaterializationReason as Np, EvolutionStrategy as Nr, ShapeBudget as Ns, InteractiveWorkerKeyInput as Nt, RunCancelRequest as Nu, GitRunner as Nv, LoopStartedPayload as Nw, DELEGATION_TRACE_MAX_SPANS as Nx, FleetHandle as Ny, WorkerInteractiveProviderSource as O, WorkerSlots as OC, SessionMessageLike as OS, extractLlmCallEvent as O_, runBenchmark as Oa, DelegationStatusResult as Ob, PursuitNodeProjection as Oc, PairwiseOptions as Od, ExecutorCancellation as Of, ScopeProgressInput as Og, WorkerResumeContext as Oh, resolveSandboxClient as Oi, DriveHarnessOwnerContext as Ol, DriverRetryPolicy as Om, RegisteredPrompt as On, HarvestReport as Oo, Supervisor as Op, selectBestIndex as Or, Persona as Os, patchDelivered as Ot, CoordinationDeliveryEvidence as Ou, WorktreeHarnessResult as Ov, LoopLineageOptions as Ow, sanitizeAgentRuntimeEvent as Ox, UiAuditorDelegate as Oy, WorkerEvidenceInput as P, RecoverRetainedRunIntentOptions as PC, sandboxSessionTraceSource as PS, AgentEnvironment$1 as P_, ArtifactHandle as Pa, delegationProfiles as Pb, PursuitStatus as Pc, renderLeaderboardHtml as Pd, ExecutorNodeContext as Pf, Inbox as Pg, downMessageRefusalReasons as Ph, AgentTurnInput$1 as Pi, SupervisorAgentTestDeps as Pl, AnalystAssignmentRecord as Pm, formatPromptHandle as Pn, ObserveOptions as Po, UsageEvent as Pp, StrategyEvolutionConfig as Pr, ShapeContext as Ps, InteractiveWorkerOptions as Pt, RunCancellation as Pu, RemoveWorktreeOptions as Pv, LoopTeardownFailedPayload as Pw, DelegationTraceCaps as Px, FleetWorkspaceExecutorOptions as Py, analyzeTrace as Q, RetainedRunSnapshot as QC, ContinuationProfile as QS, ExecResult as Q_, sampleThenRefine as Qa, createPropagatingTraceEmitter as Qb, workerFromBackend as Qc, SqlRunStoreOptions as Qd, ProviderModelExecutionEvidence as Qf, CodexRolloutStoreRef as Qg, DELEGATE_INPUT_SCHEMA as Qh, FileCorpus as Qi, ProgressView as Ql, CoordinationTools as Qm, AuthoredProfile as Qn, LoopUntil as Qo, RetainedInteractiveStartMaterial as Qp, connectStdioMcp as Qr, declaredCheckDeliverable as Qs, pickBestGraph as Qt, safeWorkerFile as Qu, RouterTransportConfig as Qv, RuntimeRunRow as Qw, PEER_MAIL_WIRE_KEY as Qx, DelegationResumeDriver as Qy, CopyOptions as R, RetainedInteractiveEnvironmentAdmission as RC, mapExecutorResult as RS, AgentEnvironmentProviderRef as R_, Strategy as Ra, UiFindingScreenshot as Rb, ObserverRecord as Rc, AnytimeReport as Rd, ExecutorTeardownWarning as Rf, BridgeHarnessStore as Rg, ResolveSpawnResourcePathsResult as Rh, collectAgentTurn as Ri, SupervisorToolDescriptor as Rl, AnalystLensOutput as Rm, DelegateOptions as Rn, AssertTraceDerivedFindings as Ro, WorkerTraceEvidence as Rp, runStrategyEvolution as Rr, LeaderboardBenchTask as Rs, InPlaceCliExecutorOptions as Rt, WorkerSteerRequest as Ru, removeWorktree as Rv, LoopWinner as Rw, capDelegationTrace as Rx, DetachedSessionRefParts as Ry, failuresAnalyst as S, RetainedRunDispatchBindingError as SC, EventBus as SS, RuntimeStreamEvent as ST, SandboxServedBackend as S_, BenchmarkLift as Sa, DelegationHistoryResult as Sb, RUN_FORK_CORRELATION_KEYS as Sc, AxisScoresOf as Sd, BudgetOverspend as Sf, SteerableSandboxSession as Sg, SpawnPreflight as Sh, ClaimRetainedInteractiveControlOptions as Si, SupervisorSpanRecorder as Sl, DriverContractState as Sm, TraversalContinuity as Sn, InProcessPromptCtx as So, SpendChannel as Sp, defaultStructuralRolloutPolicy as Sr, WidenSpec as Ss, loadProfile as St, CoordinationPublicAddress as Su, ProviderWorkspaceRetentionContext as Sv, Iteration as Sw, RuntimeStreamEventSummary as Sx, CoderReview as Sy, worktreeFanout as T, DEADLINE_CHECK_IN_MESSAGE as TC, WatchTraceOptions as TS, assertSandboxServedModel as T_, BenchmarkTaskRow as Ta, DelegationResultPayload as Tb, PursuitNodeCost as Tc, Leaderboard as Td, ExecutionBindingReceipt as Tf, ActivityNote as Tg, SpawnRefusalCause as Th, recoverRetainedInteractiveRun as Ti, CoordinationToolFace as Tl, DriverProgressMark as Tm, runGraphWithTestBrain as Tn, HarvestCorpusOptions as To, SubtreeResult as Tp, officialChecksFromMeta as Tr, DefinePersonaInput as Ts, profileRunsForName as Tt, CoordinationHttpAudit as Tu, InPlaceHarnessResult as Tv, LoopIterationDispatchPayload as Tw, SanitizedKnowledgeRequirement as Tx, DetachedSessionDelegateOptions as Ty, Shell as U, RetainedRunCancelOptions as UC, CheckVerdict as US, AgentProfileRef as U_, StrategyShotResult as Ua, MultiHarnessResearcherFanoutOptions as Ub, AuthorizedSpawnContext as Uc, bestSoFar as Ud, MaterializedExecutionIdentity as Uf, envKeyProvider as Ug, SpawnResourceReader as Uh, PrivateCasOptions as Ui, supervisorAgentWithTestBrain as Ul, AuthoredAnalystLimits as Um, finalizeBestDelivered as Un, EqualKArm as Uo, readWorkerTraceContext as Up, authorStrategy as Ur, LeaderboardScenario as Us, StoredGraph as Ut, legacySupervisorRunsRoot as Uu, LOCAL_HARNESSES as Uv, SandboxClient as Uw, DelegationStore as Ux, RunDetachedTurnOptions as Uy, withUntrackedArtifacts as V, RetainedRunAdmission as VC, CheckRead as VS, AgentEnvironmentStatus as V_, StrategyMessage as Va, KnowledgeItem as Vb, verifyObserverRecords as Vc, anytimeReport as Vd, Handle as Vf, KeyProvider as Vg, SpawnResourceBytes as Vh, PrivateCasDurableStore as Vi, resolveSupervisorProfile as Vl, AnalyzeOnSettleRoute as Vm, DriverAgentOptions as Vn, CorpusFilter as Vo, WorkerTraceResolver as Vp, AuthoredStrategy as Vr, LeaderboardIterationInfo as Vs, GraphRunRecord as Vt, cancelWorker as Vu, CodexTokenUsage as Vv, OutputAdapter as Vw, DelegationPersistenceError as Vx, DriveTurnCapableBox as Vy, Workspace as W, RetainedRunCancellation as WC, ContinuationAppend as WS, AgentSession as W_, SurfaceScore as Wa, ResearchOutput as Wb, DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY as Wc, plateauLength as Wd, MaterializedModelIdentity as Wf, mcpSecretEnvMetadataKey as Wg, environmentReader as Wh, createPrivateCasArtifactPort as Wi, DEFAULT_DEADLINE_WARNING_MS as Wl, AuthorizeDownMessage as Wm, ChatCompletionsTransport as Wn, EqualKOnCost as Wo, workerTraceEnv as Wp, strategyAuthorContract as Wr, LeaderboardScore as Ws, digestOfGraph as Wt, readRunCancelRequest as Wu, LocalHarness as Wv, SelectionReceipt as Ww, FileDelegationStore as Wx, createDetachedTurnResumeDriver as Wy, runInWorkspace as X, RetainedRunIntentAdmission as XC, ContinuationPanelResult as XS, CreateAgentEnvironmentInput$1 as X_, runAgentic as Xa, researcherProfile as Xb, supervise as Xc, SqlRunLease as Xd, ProfileMaterializationReceipt as Xf, CodexRolloutSession as Xg, createMcpServer as Xh, definePersona as Xi, ProgressTracker as Xl, CoordinationEvent as Xm, chatWorkerSeam as Xn, FanoutWinnerSelector as Xo, RetainedInteractiveEnvironmentInput as Xp, StdioMcpConnection as Xr, assertDeclaredCheck as Xs, loadGraph as Xt, runCancelRequestFile as Xu, runLocalHarness as Xv, RuntimeRunOptions as Xw, AUTHORITY_MARKERS as Xx, DelegationRecord as Xy, localShell as Y, RetainedRunHandle as YC, ContinuationPanelInput as YS, CheckpointRequest as Y_, refine as Ya, multiHarnessResearcherFanout as Yb, SuperviseTestOptions as Yc, createWaterfallCollector as Yd, NodeStatus as Yf, CodexRolloutIdentity as Yg, createInProcessTransport as Yh, registerShape as Yi, ProgressSample as Yl, ContinuityMode as Ym, chatTransportExecutor as Yn, FanoutSynthesis as Yo, RetainedInteractiveAdmissionHook as Yp, McpToolDescriptor as Yr, DeclaredCheckStateCapture as Ys, listGraphRuns as Yt, readWorkerSteerRequests as Yu, parseCodexTokenUsage as Yv, RuntimeRunHandle as Yw, coderTaskToPrompt as Yx, DelegationArgs as Yy, TrajectoryAnalysis as Z, RetainedRunReplayPoint as ZC, ContinuationPolicy as ZS, ExecRequest as Z_, sample as Za, TraceContext as Zb, superviseWithTestBrain as Zc, SqlRunOwnershipError as Zd, ProviderModelAttemptEvidence as Zf, CodexRolloutStoreReader as Zg, DELEGATE_DESCRIPTION as Zh, runPersonified as Zi, ProgressTrackerOptions as Zl, CoordinationStats as Zm, createChatSessionStore as Zn, FlatWidenGate as Zo, RetainedInteractiveRunHandle as Zp, StdioMcpServerSpec as Zr, checkProgramDigest as Zs, lookupGraph as Zt, runCancellationFile as Zu, RouterResponseReceipt as Zv, RuntimeRunPersistenceAdapter as Zw, DEFAULT_PEER_MAIL_LIMITS as Zx, DelegationResumeContext as Zy, boxSurfaceReader as _, NotFoundError as _C, McpToolDescriptor$1 as _S, RunAgentTaskOptions as _T, sharedBoxPlacement as __, McpEnvironmentOptions as _a, DelegateUiAuditRoute as _b, SupervisePursuitError as _c, CompletionVerdict as _d, contentAddress as _f, createExecutor as _g, QuestionOption as _h, createS3PrivateCasStore as _i, createInMemoryRunContext as _l, DriverAttemptRecord as _m, GraphEdgeCapError as _n, captureBeforeDestroy as _o, SpawnJournal as _p, VisibleCheck as _r, Verify as _s, SupervisorCleanupReceipt as _t, collectDelivered as _u, ProviderWorkspaceAttemptProvenance as _v, spendFromUsageEvents as _w, padTraceId as _x, FeedbackEvent as _y, SandboxInstance$1 as a, expandQuestions as aC, PeerMailRefusal as aS, AgentKnowledgeProvider as aT, HarnessUsage as a_, pipeline as aa, hashIdempotencyInput as ab, IsolatedCheckResult as ac, workerControlLogFile as ad, FileSpawnJournal as af, validateDelegateArgs as ag, EscalateQuestion as ah, SandboxRunAbortError as ai, retryPreSpawnRefusals as al, HarnessTranscriptUnavailableReason as am, RollingDispatchOptions as an, loopDispatch as ao, RetainedExecutionState as ap, supervisorInstructions as ar, Pipeline as as, createRootHandle as at, noProgressFor as au, ResourceRequest as av, BudgetReadout as aw, OtelExportStats as ax, ToolLoopToolCall as ay, AnalystAuthoring as b, RetainedInteractiveBindingError as bC, BusRecord as bS, RuntimeSession as bT, SandboxLeafOut as b_, BenchmarkCell as ba, DelegationHistoryArgs as bb, supervisePursuit as bc, sentinelCompletion as bd, AgentSpec as bf, SandboxSteeringOptions as bg, QuestionUrgency as bh, startRetainedRun as bi, SupervisorSpanOptions as bl, DriverBudgetReadout as bm, RunGraphOptions as bn, inlineSandboxClient as bo, SpawnRejection as bp, composeCheckSources as br, WidenDecision as bs, ProfileRunRecord as bt, CoordinationAuthentication as bu, ProviderWorkspaceCaptureResult as bv, Driver as bw, RuntimeStreamEventCollector as bx, eventToSnapshot as by, VerifierEnvironmentOptions as c, verdictFromJudgeScore as cC, PeerMailboxOptions as cS, AgentTaskContext as cT, DEFAULT_SHARED_BOX_WORKERS as c_, widen as ca, DelegateCodeResult as cb, NextPursuitVersion as cc, workerSteerAcknowledgementFile as cd, SpawnForest as cf, CliWorktreeBridgeSeam as cg, MakeWorkerAgent as ch, BranchCapableBox as ci, SeatSelection as cl, harnessTranscriptArtifact as cm, rollingDispatch as cn, TERMINAL_DECISIONS as co, RootProviderModelEvidence as cp, CheckRunContext as cr, RenderCorpusToInstructionsOptions as cs, SqlRunContextOptions as ct, ReentryContinuity as cu, providerAsExecutor as cv, ReservationFloor as cw, RuntimeEventOtelOptions as cx, CodeModeStore as cy, HarvestSurfaceDiffsOptions as d, resolveRedactor as dC, isPeerMailEnvelope as dS, AgentTaskStatus as dT, SharedBoxHandle as d_, assertTraceDerivedFindings as da, DelegateResearchArgs as db, PursuitVersionStop as dc, workerSteerRequestsDir as dd, SpawnForestMissingTree as df, ProviderSeam as dg, Question as dh, SessionCapableBox as di, SelectSeat as dl, HarnessTranscriptReadLimits as dm, GraphDesignerExtraTools as dn, isTerminalDecision as do, RootSignal as dp, CheckSourceCtx as dr, ScopeWidenGate as ds, ScopeArgs as dt, composeReentryTask as du, CreateTangleSandboxExactProcessProviderOptions as dv, ReservationShortfall as dw, buildRuntimeEventOtelSpans as dx, CodeModeToolsOptions as dy, VerdictSummary as eC, PeerMailEvent as eS, startRuntimeRun as eT, CodexStoreDelta as e_, renderCorpusToInstructions as ea, DelegationRunContext as eb, declaredCheckJudge as ec, supervisorRunsRoot as ed, D1DatabaseLike as ef, DelegateArgs as eg, DefinedAnalystRecord as eh, Deliverable as ei, WorkerSpawnRetryAttempt as el, HarnessTranscriptArtifact as em, storedGraphDigests as en, LoopDispatchOptions as eo, ResourceLimit as ep, ProfileRichnessThresholds as er, LoopUntilState as es, WorkerToolTraceArtifact as et, StopRule as eu, PlacementInfo as ev, RetainedRunTurnInput as ew, readTraceContextFromEnv as ex, ToolLoopCallContext as ey, SurfaceDiff as f, AgentEvalError$1 as fC, peerMailTools as fS, BackendErrorDetail as fT, SharedBoxPlacement as f_, buildSteerContext as fa, DelegateResearchConfig as fb, PursuitVersions as fc, workerSteersDir as fd, SpawnForestNode as ff, RouterSeam as fg, QuestionDecision as fh, createSandboxLineage as fi, InMemoryRunContext as fl, HarnessTranscriptReadOptions as fm, graphDesignerExtraTools as fn, runAgentRounds as fo, RootStreamReceipt as fp, RepairStop as fr, SteerContext as fs, createScope as ft, DeliveredOutput as fu, SandboxControlClient as fv, ReservationStage as fw, createOpenInferenceFileExporter as fx, CodeModeToolset as fy, WatchedSurface as g, JudgeError as gC, McpToolAnnotations as gS, OpenAIChatToolChoice as gT, SharedWorkerIdentity as g_, McpEndpoint as ga, DelegateUiAuditResult as gb, assertPursuitVersions as gc, CompletionPolicy as gd, replaySpawnTree as gf, cliWorktreeExecutor as gg, QuestionLevel as gh, S3PrivateCasStoreOptions as gi, createFileRunContext as gl, retainHarnessTranscript as gm, GraphEdge as gn, SandboxEvidenceRetentionPort as go, SpawnEvent as gp, StructuralRolloutResult as gr, TrajectoryReportOptions as gs, ProvisionedSupervisor as gt, bestDelivered as gu, ProviderNativeCapturePhase as gv, createBudgetPool as gw, padSpanId as gx, runCodeMode as gy, SurfaceReader as h, ConfigError as hC, JsonRpcResponse as hS, OpenAIChatTool as hT, SharedBoxStats as h_, observationFromRegistry as ha, DelegateUiAuditConfig as hb, VersionVerdict as hc, CompletionEvidence as hd, materializeTreeView as hf, cliInPlaceExecutor as hg, QuestionEscalationTarget as hh, S3PrivateCasStore as hi, RunContextLease as hl, resolveHarnessTranscriptCapture as hm, EdgeTraversal as hn, SandboxEvidenceRetentionError as ho, Settled as hp, StructuralRolloutPolicy as hr, TrajectoryReportFn as hs, ProvisionSupervisorRequest as ht, SupervisorFinalizer as hu, ProviderCheckpointCaptureContext as hv, ReserveOptions as hw, loopEventToOtelSpan as hx, describeCodeModeTools as hy, SandboxEvent$1 as i, distillFindings as iC, PeerMailReadout as iS, AgentExecutionBackend as iT, readCodexRolloutSession as i_, panel as ia, SubmitOutput as ib, IsolatedCheckOptions as ic, workerCancellationsDir as id, FileResultBlobStore as if, createDelegateHandler as ig, DownMessageEvent as ih, SandboxRun as ii, resolveWorkerSpawnRetry as il, HarnessTranscriptUnavailable as im, DispatchUnit as in, loopCampaignDispatch as io, ResumedWork as ip, profileRichnessFinding as ir, PanelVerdict as is, DEFAULT_MAX_DEPTH as it, createProgressTracker as iu, ProviderPromptOptions as iv, BudgetPoolRestore as iw, OtelExportConfig as ix, ToolLoopMessageRecord as iy, EVIDENCE_MAX_CHARS as j, NativeContextContinuationHandle as jC, TraceSource as jS, sandboxEventServedBackend as j_, AgenticSurface as ja, ResearchOutputShape as jb, PursuitProjection as jc, ScoreOf as jd, ExecutorExecutionBinding as jf, createActivityLog as jg, analystToolGroupNames as jh, assertModelAllowed as ji, ResolveSupervisorTools as jl, upstreamUnavailableSignal as jm, delegatesWorkerBriefPrompt as jn, ObservationAnalysis as jo, TreeView as jp, EvolutionAuthor as jr, RunPersonified as js, createWorktreeCliExecutor as jt, FileCoordinationLog as ju, DiffOptions as jv, LoopResult as jw, CappedDelegationTrace as jx, settleDetachedCoderTurn as jy, attachWorker as k, createWorkerSlots as kC, SessionTraceBox as kS, mapSandboxEvent as k_, AgenticOptions as ka, FeedbackRating as kb, PursuitNodeTiming as kc, PairwiseVerdict as kd, ExecutorCancellationRequest as kf, TeamProgress as kg, WorkerSpawnContext as kh, profileChatClient as ki, ObserveSupervisorNodeEvent as kl, classifyDriverFailure as km, analyzesFindingsReportPrompt as kn, harvestCorpus as ko, SupervisorOpts as kp, structuralRollout as kr, PersonaContext as ks, WorktreeCliExecutorOptions as kt, CoordinationLog as ku, WorktreeProfileMaterializationReceipt as kv, LoopPlanDescription as kw, sanitizeKnowledgeReadinessReport as kx, coderTaskFromArgs as ky, createVerifierEnvironment as l, Redactor as lC, claimsAuthority as lS, AgentTaskRunResult as lT, ROUTER_CLIENT_HEADER as l_, CreateScopeAnalystOptions as la, DelegateFeedbackArgs as lb, NextPursuitVersionInput as lc, workerSteerAcknowledgementsDir as ld, SpawnForestEvent as lf, CliWorktreeSeam as lg, ManagerReentryState as lh, SandboxLineage as li, SeatSelectionInput as ll, persistHarnessTranscript as lm, DesignerRunGraphEnv as ln, TerminalDecision as lo, RootSegment as lp, CheckRunner as lr, ScopeAnalyst as ls, createFencedSqlRunContext as lt, ReentryTaskInput as lu, providerAsSandboxClient as lv, ReservationHolder as lw, buildLoopOtelSpans as lx, CodeModeTool as ly, SurfaceReadOutcome as m, BackendTransportError as mC, JsonRpcMessage as mS, OpenAIChatResponseFormat as mT, SharedBoxProcess as m_, registryScopeAnalyst as ma, DelegateUiAuditArgs as mb, VersionJudge as mc, CompletionAnalyst as md, loadSpawnForest as mf, SandboxSeam as mg, QuestionEscalationRecord as mh, acquireSandbox as mi, RunContext as ml, RetainedHarnessTranscriptDescriptor as mm, EdgeDeliveryOutcome as mn, SandboxEvidenceReceipt as mo, Scope as mp, StructuralRolloutMessage as mr, TrajectoryReport as ms, ProvisionSupervisorConnection as mt, FinalizerSettled as mu, UnavailablePausePolicy as mv, ReservationWaitRefused as mw, generateSpanId as mx, createCodeModeTools as my, AnalystFinding$1 as n, admitFinding as nC, PeerMailLimits as nS, AgentBackendContext as nT, createCodexRolloutStoreReader as n_, flatWidenGate as na, DelegationTaskQueueOptions as nb, IsolatedCheckBox as nc, workerCancelRequestsFile as nd, SqlAdapter as nf, DelegateHandlerOptions as ng, DownMessageDeliveryAttempt as nh, OpenSandboxRunOptions as ni, WorkerSpawnRetryPolicy as nl, HarnessTranscriptEvidence as nm, DispatchReport as nn, SuperviseDispatchOptions as no, ResultBlobStore as np, assessAuthoredProfile as nr, PanelJudge as ns, parseWorkerToolTraceArtifact as nt, allWorkersStalled as nu, ProviderExecutorOptions as nv, StartRetainedRunOptions as nw, LoopSpanNode as nx, ToolLoopCompaction as ny, computeFindingId$1 as o, failedItems as oC, PeerMailSendInput as oS, AgentRuntimeEvent as oT, decodeHarnessUsage as o_, selectValidWinner as oa, DelegateCodeArgs as ob, runIsolatedCheck as oc, workerInboxFile as od, InMemoryResultBlobStore as of, CliInPlaceSeam as og, EventAcknowledgement as oh, TurnResult as oi, withWorkerSpawnRetry as ol, ReadableEnvironment as om, freeSlots as on, superviseDispatch as oo, RootHandle as op, CheckExecChannel as or, PipelineStage as os, createSupervisor as ot, plateau as ou, WorkspaceRequest as ov, BudgetReconcileFault as ow, OtelExporter as ox, CodeModeOptions as oy, SurfaceReadBox as p, AgentEvalErrorCode as pC, peerMailVerbNames as pS, KnowledgeReadinessDecision as pT, SharedBoxPlacementOptions as p_, createScopeAnalyst as pa, DelegateResearchResult as pb, SettledPursuitVersion as pc, writeWorkerSteer as pd, SpawnForestTree as pf, RouterToolsSeam as pg, QuestionEscalationOutcome as ph, AcquireOptions as pi, InMemoryRunContextOptions as pl, RetainedHarnessTranscriptCapture as pm, AgentGraph as pn, SandboxEvidenceContext as po, Runtime as pp, StructuralRolloutConfig as pr, TrajectoryNode as ps, settledToIteration as pt, FinalizeContext as pu, createTangleSandboxExactProcessProvider as pv, ReservationTicket as pw, createOtelExporter as px, RunCodeModeOptions as py, gitWorkspace as q, RetainedRunEnvironmentAdmission as qC, ContinuationNoteInput as qS, AgentTurnResult$2 as q_, defineStrategy as qa, ResearcherProfileOptions as qb, SuperviseRegistry as qc, WaterfallReport as qd, NodeId as qf, secretEnvOfMcpServer as qg, McpServer as qh, builtinShapes as qi, NoProgressForOptions as ql, BlockedToolReport as qm, ChatTransportTool as qn, Fanout as qo, ReconnectRetainedInteractiveRunOptions as qp, MaterializeLocalMcpOptions as qr, DeclaredCheck as qs, graphRegistry as qt, readWorkerCancellation as qu, harnessSupportsReasoningEffort as qv, RuntimeRunCompleteInput as qw, CoderOutput as qx, parseDetachedSessionRef as qy, CreateSandboxOptions$1 as r, checkVerdictOf as rC, PeerMailOutcome as rS, AgentBackendInput as rT, harnessUsageIsEmpty as r_, loopUntil as ra, SubmitInput as rb, IsolatedCheckBoxEvidence as rc, workerCancellationFile as rd, d1ToSqlAdapter as rf, DelegateResult as rg, DownMessageDeliveryOutcome as rh, OpenSandboxRunPromptOptions as ri, isPreSpawnExecutorFailure as rl, HarnessTranscriptFile as rm, DispatchStopReason as rn, SuperviseOptionsForDispatch as ro, ResumedKeyState as rp, defaultProfileRichnessThresholds as rr, PanelSpec as rs, workerTraceAnalysisStore as rt, anyOf as ru, ProviderLeafOut as rv, BudgetPool as rw, OtelAttribute as rx, ToolLoopCompactionOptions as ry, makeFinding$1 as s, passedItems as sC, PeerMailbox as sS, AgentRuntimeEventSink as sT, DEFAULT_SHARED_BOX_RESOURCES as s_, verify as sa, DelegateCodeConfig as sb, JudgedPursuitVersion as sc, workerInboxFileFromEventDir as sd, InMemorySpawnJournal as sf, CliSeam as sg, LeadMessage as sh, openSandboxRun as si, SeatSegment as sl, captureHarnessTranscript as sm, queueOf as sn, RunAgentRoundsOptions as so, RootMaterialization as sp, CheckOutcome as sr, RenderCorpusToInstructions as ss, FencedSqlRunContext as st, sampleFromSettled as su, createAgentEnvironmentProviderRegistry as sv, LeakedReservation as sw, OtelSpan as sx, CodeModeResult as sy, AgentProfile$2 as t, admitContinuationPolicy as tC, PeerMailKind as tS, AgentAdapter as tT, addHarnessUsage as t_, fanout as ta, DelegationTaskQueue as tb, readDeclaredCheck as tc, supervisorWorkersDir as td, D1StmtLike as tf, DelegateError as tg, DownMessageAuthorizationInput as th, OpenSandboxRunBeforeStartContext as ti, WorkerSpawnRetryHooks as tl, HarnessTranscriptCapture as tm, taskShapeDigest as tn, LoopOptionsForDispatch as to, ResourceSpend as tp, asAuthoredProfile as tr, Panel as ts, captureWorkerTraceEvidence as tt, allOf as tu, ProviderAsSandboxClientOptions as tv, StartRetainedRunInEnvironmentOptions as tw, traceContextToEnv as tx, ToolLoopChat as ty, BoxSurfaceReaderOptions as u, defaultRedactor as uC, createPeerMailbox as uS, AgentTaskSpec as uT, SharedBoxCloseReceipt as u_, RegistryAnalyzeProjection as ua, DelegateFeedbackResult as ub, PursuitVersionChain as uc, workerSteerRequestFile as ud, SpawnForestInDoubtNode as uf, ExecutorConfig as ug, ManagerWake as uh, SandboxLineageHandle as ui, SeatStage as ul, HarnessTranscriptMetadata as um, DesignerToolsEnv as un, defaultSelectWinner as uo, RootSegmentEntry as up, CheckSource as ur, ScopeAnalyzeInput as us, SUBTREE_RESULT_LIMIT as ut, UNPROVEN_CONTINUITY as uu, resolveAgentEnvironmentProvider as uv, ReservationRejection as uw, buildLoopSpanNodes as ux, CodeModeToolContext as uy, fsSurfaceReader as v, PlannerError as vC, McpTransport as vS, RunAgentTaskStreamOptions as vT, sharedBoxRefusal as v_, createMcpEnvironment as va, DelegationError as vb, SupervisePursuitOptions as vc, completionAuthorizes as vd, Agent as vf, createExecutorRegistry as vg, QuestionPolicy as vh, reconnectRetainedRun as vi, withRunContext as vl, DriverAttemptStop as vm, GraphNode as vn, LocalSandboxClientOptions as vo, SpawnOpts as vp, canDisplace as vr, VerifySpec as vs, provisionSupervisor as vt, pickBestDelivered as vu, ProviderWorkspaceCaptureProvenance as vv, AgentRunSpec as vw, toOtelAttributes as vx, FeedbackStore as vy, WorktreeFanoutOptions as w, ValidationError as wC, createEventBus as wS, SandboxUsageLedger as w_, BenchmarkStrategySummary as wa, DelegationProgress as wb, PursuitCostProvenance as wc, Interval as wd, EnvironmentTeardownReceipt as wf, ActivityLog as wg, SpawnRefusal as wh, reconnectRetainedInteractiveRun as wi, CoordinationBinding as wl, DriverLoopRecord as wm, runGraph as wn, inProcessSandboxClient as wo, SteerableRootHandle as wp, modelAuthoredChecks as wr, DefinePersona as ws, profileRegistry as wt, serveCoordinationMcp as wu, ProviderPlacement as wv, LoopEndedPayload as ww, SanitizedKnowledgeReadinessReport as wx, DelegateRunCtx as wy, analystsFromRegistry as x, RetainedRunAdmissionError as xC, BusStats as xS, RuntimeSessionStore as xT, SandboxOutputMarker as x_, BenchmarkConfig as xa, DelegationHistoryEntry as xb, PursuitFork as xc, stopSentinel as xd, Budget as xf, SteerableSandboxArgs as xg, SettledWorker as xh, startRetainedRunInEnvironment as xi, SupervisorSpanOutcome as xl, DriverContinuationRecord as xm, RunGraphTestOptions as xn, InProcessOnPrompt as xo, Spend as xp, defaultExtractCandidate as xr, WidenLineage as xs, bestProfileFor as xt, CoordinationMcpHandle as xu, ProviderWorkspaceEntryMetadata as xv, ExecCtx as xw, RuntimeStreamEventSink as xx, CoderDelegate as xy, harvestSurfaceDiffs as y, RetainedInteractiveAdmissionError as yC, BusEvent as yS, RuntimeCanonicalStreamEvent as yT, sharedWorkerClientName as y_, sanitizeMcpToolSchema as ya, DelegationFeedbackSnapshot as yb, SupervisedPursuitResult as yc, deterministicCompletion as yd, AgentExecutionRef as yf, DEFAULT_SANDBOX_STEERING_MAX_TURNS as yg, QuestionRecord as yh, recoverRetainedRun as yi, SupervisorSpanAttributes as yl, DriverAttemptsExhaustedError as ym, GraphResult as yn, localSandboxClient as yo, SpawnPrior as yp, compareCheckOutcomes as yr, Widen as ys, ProfileRegistryDir as yt, runFinalizer as yu, ProviderWorkspaceCaptureReceipt as yv, DefaultVerdict$1 as yw, RuntimeEventCollector as yx, InMemoryFeedbackStore as yy, UntrackedCopyStats as z, RetainedInteractiveIntentAdmission as zC, AdmittedFinding as zS, AgentEnvironmentProviderRegistry as z_, StrategyArtifacts as za, UiFindingSeverity as zb, ObserverRecordKind as zc, AnytimeStrategySummary as zd, ExecutorToolCall as zf, BridgeModelCredential as zg, ResolvedSpawnResourcePath as zh, streamAgentTurn as zi, SupervisorToolInvocationContext as zl, AnalystRegistry$1 as zm, defaultDelegateBudget as zn, CombinatorShape as zo, WorkerTraceUnavailableReason as zp, strategyTournament as zr, LeaderboardBenchmarkAdapter as zs, createInPlaceCliExecutor as zt, WriteWorkerSteerOptions as zu, CodexExecutionEvidence as zv, MountManifestEntry as zw, composeLoopTraceEmitters as zx, DetachedTurn as zy };
19728
- //# sourceMappingURL=index-t672ISFX.d.ts.map
20053
+ export { WORKER_TOOL_TRACE_SCHEMA_VERSION as $, NativeContextContinuationInput as $C, createPushTraceSource as $S, sandboxProgressEvents as $_, captureBeforeDestroy as $a, UiAuditLensFilter as $b, ObserverRecord as $c, renderPairwiseMarkdown as $d, ExecutorResult as $f, readWorkerProgress as $g, canonicalFindingEvent as $h, builtinShapes as $i, SupervisorToolDescriptor as $l, TraceSummary as $m, defaultDelegateBudget as $n, AssertTraceDerivedFindings as $o, WorkerInteractiveSession as $p, strategyTournament as $r, LeaderboardBenchTask as $s, createInPlaceCliExecutor as $t, WorkerSteerAcknowledgement as $u, DiffResult as $v, LoopSandboxPlacement as $w, DELEGATION_TRACE_MAX_BYTES as $x, DelegationExecutor as $y, readWorkerInteractiveBinding as A, Redactor as AC, claimsAuthority as AS, AgentRuntimeEvent as AT, ROUTER_CLIENT_HEADER as A_, BenchmarkStrategySummary as Aa, DelegateFeedbackArgs as Ab, VersionVerdict as Ac, CompletionAnalyst as Ad, loadSpawnForest as Af, CliWorktreeSeam as Ag, ManagerReentryState as Ah, reconnectRetainedInteractiveRun as Ai, RunContextLease as Al, RetainedHarnessTranscriptCapture as Am, GraphEdge as An, StrategyShotResult as Ao, Scope as Ap, StructuralRolloutResult as Ar, TrajectoryReportFn as As, ProvisionedSupervisor as At, SupervisorFinalizer as Au, providerAsSandboxClient as Av, ReservationHolder as Aw, buildLoopOtelSpans as Ax, CodeModeTool as Ay, copyUntrackedIntoClone as B, RetainedInteractiveAdmissionError as BC, BusEvent as BS, OpenAIChatToolChoice as BT, sharedWorkerClientName as B_, loopCampaignDispatch as Ba, DelegationFeedbackSnapshot as Bb, PursuitNodeCost as Bc, Interval as Bd, EnvironmentTeardownReceipt as Bf, DEFAULT_SANDBOX_STEERING_MAX_TURNS as Bg, QuestionRecord as Bh, AgentTurnInput$1 as Bi, CoordinationToolFace as Bl, DriverFailureClass as Bm, PromptHandle as Bn, HarvestCorpusOptions as Bo, SteerableRootHandle as Bp, resolveEntrySymbol as Br, DefinePersonaInput as Bs, recordProfileRun as Bt, serveCoordinationMcp as Bu, ProviderWorkspaceCaptureReceipt as Bv, DefaultVerdict$1 as Bw, RuntimeEventCollector as Bx, InMemoryFeedbackStore as By, AuthoredHarness as C, admitFinding as CC, PeerMailLimits as CS, WorkerEventEntry as CT, createCodexRolloutStoreReader as C_, McpEnvironmentOptions as Ca, DelegationTaskQueueOptions as Cb, NextPursuitVersion as Cc, workerInboxFileFromEventDir as Cd, InMemorySpawnJournal as Cf, DelegateHandlerOptions as Cg, DownMessageDeliveryAttempt as Ch, createS3PrivateCasStore as Ci, SeatSelection as Cl, ReadableEnvironment as Cm, DesignerRunGraphEnv as Cn, RunAgenticOptions as Co, RootMaterialization as Cp, CheckRunner as Cr, RenderCorpusToInstructionsOptions as Cs, RemoteSupervisorAgent as Ct, ReentryContinuity as Cu, ProviderExecutorOptions as Cv, StartRetainedRunOptions as Cw, LoopSpanNode as Cx, ToolLoopCompaction as Cy, WorkerInteractiveBinding as D, failedItems as DC, PeerMailSendInput as DS, AgentBackendInput as DT, decodeHarnessUsage as D_, BenchmarkConfig as Da, DelegateCodeArgs as Db, PursuitVersions as Dc, workerSteerRequestsDir as Dd, SpawnForestMissingTree as Df, CliInPlaceSeam as Dg, EventAcknowledgement as Dh, startRetainedRunInEnvironment as Di, InMemoryRunContext as Dl, HarnessTranscriptMetadata as Dm, AgentGraph as Dn, StrategyCtx as Do, RootSignal as Dp, StructuralRolloutConfig as Dr, SteerContext as Ds, connectRemoteSupervisor as Dt, DeliveredOutput as Du, WorkspaceRequest as Dv, BudgetReconcileFault as Dw, OtelExporter as Dx, CodeModeOptions as Dy, AttachWorkerOptions as E, expandQuestions as EC, PeerMailRefusal as ES, AgentBackendContext as ET, HarnessUsage as E_, BenchmarkCell as Ea, hashIdempotencyInput as Eb, PursuitVersionStop as Ec, workerSteerRequestFile as Ed, SpawnForestInDoubtNode as Ef, validateDelegateArgs as Eg, EscalateQuestion as Eh, startRetainedRun as Ei, SelectSeat as El, persistHarnessTranscript as Em, graphDesignerExtraTools as En, StrategyArtifacts as Eo, RootSegmentEntry as Ep, RepairStop as Er, ScopeWidenGate as Es, RemoteWorkerEvents as Et, composeReentryTask as Eu, ResourceRequest as Ev, BudgetReadout as Ew, OtelExportStats as Ex, ToolLoopToolCall as Ey, closingWorkerNote as F, BackendTransportError as FC, JsonRpcMessage as FS, AgentTaskStatus as FT, SharedBoxProcess as F_, LoopCampaignDispatchOptions as Fa, DelegateUiAuditArgs as Fb, supervisePursuit as Fc, deterministicCompletion as Fd, AgentExecutionRef as Ff, SandboxSeam as Fg, QuestionEscalationRecord as Fh, profileChatClient as Fi, SupervisorSpanOptions as Fl, DriverAttemptStop as Fm, RunGraphTestOptions as Fn, depthStrategy as Fo, SpawnPrior as Fp, defaultExtractCandidate as Fr, WidenDecision as Fs, bestProfileFor as Ft, CoordinationAuthentication as Fu, UnavailablePausePolicy as Fv, ReservationWaitRefused as Fw, generateSpanId as Fx, createCodeModeTools as Fy, WorkspaceCommit as G, ValidationError as GC, createEventBus as GS, RuntimeSessionStore as GT, SandboxUsageLedger as G_, TerminalDecision as Ga, DelegationProgress as Gb, PursuitNodeUsage as Gc, PairwiseVerdict as Gd, ExecutorCancellationRequest as Gf, ActivityLog as Gg, SpawnRefusal as Gh, streamAgentTurn as Gi, ResolveDriveHarness as Gl, DriverRetryPolicy as Gm, delegatesWorkerBriefPrompt as Gn, Observation as Go, SupervisorOpts as Gp, EvolutionAuthor as Gr, PersonaExecutors as Gs, createWorktreeCliExecutor as Gt, CoordinationLog as Gu, ProviderPlacement as Gv, LoopEndedPayload as Gw, SanitizedKnowledgeReadinessReport as Gx, DelegateRunCtx as Gy, GitWorkspaceOptions as H, RetainedRunAdmissionError as HC, BusStats as HS, RunAgentTaskStreamOptions as HT, SandboxOutputMarker as H_, superviseDispatch as Ha, DelegationHistoryEntry as Hb, PursuitNodePlatform as Hc, LeaderboardOptions as Hd, Executor as Hf, SteerableSandboxArgs as Hg, SettledWorker as Hh, CollectedAgentTurn as Hi, DriveHarness as Hl, DriverProgressMark as Hm, RegisteredPrompt as Hn, HarvestFailure as Ho, SubtreeSummary as Hp, selectBestIndex as Hr, Outcome as Hs, patchDelivered as Ht, CoordinationHttpOptions as Hu, ProviderWorkspaceEntryMetadata as Hv, ExecCtx as Hw, RuntimeStreamEventSink as Hx, CoderDelegate as Hy, composeWorkerEvidence as I, ConfigError as IC, JsonRpcResponse as IS, BackendErrorDetail as IT, SharedBoxStats as I_, LoopDispatchOptions as Ia, DelegateUiAuditConfig as Ib, PursuitFork as Ic, sentinelCompletion as Id, AgentSpec as If, cliInPlaceExecutor as Ig, QuestionEscalationTarget as Ih, profileOptimizerModelCall as Ii, SupervisorSpanOutcome as Il, DriverAttemptsExhaustedError as Im, TraversalContinuity as In, refine as Io, SpawnRejection as Ip, defaultStructuralRolloutPolicy as Ir, WidenLineage as Is, loadProfile as It, CoordinationMcpHandle as Iu, ProviderCheckpointCaptureContext as Iv, ReserveOptions as Iw, loopEventToOtelSpan as Ix, describeCodeModeTools as Iy, jjWorkspace as J, DeadlineCheckIn as JC, watchTrace as JS, createSandboxUsageLedger as J_, runAgentRounds as Ja, DelegationStatusArgs as Jb, PursuitRunTotals as Jc, leaderboard as Jd, ExecutorFactory as Jf, ExecutorProgress as Jg, ToolOutcomeEvent as Jh, PrivateCasOffloadReport as Ji, SupervisorAgentDeps as Jl, upstreamUnavailableSignal as Jm, formatPromptHandle as Jn, ObserveInput as Jo, TreeView as Jp, StrategyEvolutionConfig as Jr, ShapeBudget as Js, InteractiveWorkerOptions as Jt, PriorCoordination as Ju, WorktreeCommandResult as Jv, LoopIterationStartedPayload as Jw, createRuntimeStreamEventCollector as Jx, SettleDetachedCoderTurnOptions as Jy, WorkspaceRun as K, DEADLINE_CHECK_IN_MESSAGE as KC, WatchTraceOptions as KS, RuntimeStreamEvent as KT, assertSandboxServedModel as K_, defaultSelectWinner as Ka, DelegationResultPayload as Kb, PursuitProjection as Kc, ProfileKeyOf as Kd, ExecutorContext as Kf, ActivityNote as Kg, SpawnRefusalCause as Kh, PrivateCasArtifactPort as Ki, ResolveSupervisorTools as Kl, classifyDriverFailure as Km, dumbContinuationFailPrompt as Kn, ObservationAnalysis as Ko, TokenUsageProvenance as Kp, EvolutionReport as Kr, RunPersonified as Ks, InteractiveWorkerEnvironment as Kt, CoordinationOwnerId as Ku, InPlaceHarnessResult as Kv, LoopIterationDispatchPayload as Kw, SanitizedKnowledgeRequirement as Kx, DetachedSessionDelegateOptions as Ky, settledWorkerOut as L, JudgeError as LC, McpToolAnnotations as LS, KnowledgeReadinessDecision as LT, SharedWorkerIdentity as L_, LoopOptionsForDispatch as La, DelegateUiAuditResult as Lb, RUN_FORK_CORRELATION_KEYS as Lc, stopSentinel as Ld, Budget as Lf, cliWorktreeExecutor as Lg, QuestionLevel as Lh, assertModelAllowed as Li, SupervisorSpanRecorder as Ll, DriverBudgetReadout as Lm, defaultEdgeTraversalCap as Ln, runAgentic as Lo, Spend as Lp, filterAuthoredAsserts as Lr, WidenSpec as Ls, pickBestProfile as Lt, CoordinationPublicAddress as Lu, ProviderNativeCapturePhase as Lv, createBudgetPool as Lw, padSpanId as Lx, runCodeMode as Ly, NOTE_MAX_CHARS as M, resolveRedactor as MC, isPeerMailEnvelope as MS, AgentTaskContext as MT, SharedBoxHandle as M_, Environment as Ma, DelegateResearchArgs as Mb, SupervisePursuitError as Mc, CompletionPolicy as Md, replaySpawnTree as Mf, ProviderSeam as Mg, Question as Mh, startRetainedInteractiveRun as Mi, createInMemoryRunContext as Ml, resolveHarnessTranscriptCapture as Mm, GraphNode as Mn, adaptiveRefine as Mo, SpawnEvent as Mp, canDisplace as Mr, Verify as Ms, provisionSupervisor as Mt, collectDelivered as Mu, CreateTangleSandboxExactProcessProviderOptions as Mv, ReservationShortfall as Mw, buildRuntimeEventOtelSpans as Mx, CodeModeToolsOptions as My, VERIFY_TAIL_CHARS as N, AgentEvalError$1 as NC, peerMailTools as NS, AgentTaskRunResult as NT, SharedBoxPlacement as N_, printBenchmarkReport as Na, DelegateResearchConfig as Nb, SupervisePursuitOptions as Nc, CompletionVerdict as Nd, contentAddress as Nf, RouterSeam as Ng, QuestionDecision as Nh, ResolveSandboxClientOptions as Ni, withRunContext as Nl, retainHarnessTranscript as Nm, GraphResult as Nn, breadthStrategy as No, SpawnJournal as Np, compareCheckOutcomes as Nr, VerifySpec as Ns, ProfileRegistryDir as Nt, pickBestDelivered as Nu, SandboxControlClient as Nv, ReservationStage as Nw, createOpenInferenceFileExporter as Nx, CodeModeToolset as Ny, WorkerInteractiveProviderSource as O, passedItems as OC, PeerMailbox as OS, AgentExecutionBackend as OT, DEFAULT_SHARED_BOX_RESOURCES as O_, BenchmarkLift as Oa, DelegateCodeConfig as Ob, SettledPursuitVersion as Oc, workerSteersDir as Od, SpawnForestNode as Of, CliSeam as Og, LeadMessage as Oh, ClaimRetainedInteractiveControlOptions as Oi, InMemoryRunContextOptions as Ol, HarnessTranscriptReadLimits as Om, EdgeDeliveryOutcome as On, StrategyMessage as Oo, RootStreamReceipt as Op, StructuralRolloutMessage as Or, TrajectoryNode as Os, ProvisionSupervisorConnection as Ot, FinalizeContext as Ou, createAgentEnvironmentProviderRegistry as Ov, LeakedReservation as Ow, OtelSpan as Ox, CodeModeResult as Oy, WorkerEvidenceInput as P, AgentEvalErrorCode as PC, peerMailVerbNames as PS, AgentTaskSpec as PT, SharedBoxPlacementOptions as P_, runBenchmark as Pa, DelegateResearchResult as Pb, SupervisedPursuitResult as Pc, completionAuthorizes as Pd, Agent as Pf, RouterToolsSeam as Pg, QuestionEscalationOutcome as Ph, resolveSandboxClient as Pi, SupervisorSpanAttributes as Pl, DriverAttemptRecord as Pm, RunGraphOptions as Pn, defineStrategy as Po, SpawnOpts as Pp, composeCheckSources as Pr, Widen as Ps, ProfileRunRecord as Pt, runFinalizer as Pu, createTangleSandboxExactProcessProvider as Pv, ReservationTicket as Pw, createOtelExporter as Px, RunCodeModeOptions as Py, analyzeTrace as Q, NativeContextContinuationHandle as QC, TraceSource as QS, sandboxEventServedBackend as Q_, SandboxEvidenceRetentionPort as Qa, ResearchOutputShape as Qb, ObserverJournal as Qc, renderLeaderboardSvg as Qd, ExecutorRegistry as Qf, createActivityLog as Qg, analystToolGroupNames as Qh, trajectoryReport as Qi, SupervisorProfile as Ql, TraceRootArtifact as Qm, DelegateOptions as Qn, renderReport as Qo, WidenGate as Qp, runStrategyEvolution as Qr, LeaderboardBenchScore as Qs, InPlaceCliExecutorOptions as Qt, WorkerCancellation as Qu, DiffOptions as Qv, LoopResult as Qw, CappedDelegationTrace as Qx, settleDetachedCoderTurn as Qy, CopyOptions as R, NotFoundError as RC, McpToolDescriptor$1 as RS, OpenAIChatResponseFormat as RT, sharedBoxPlacement as R_, SuperviseDispatchOptions as Ra, DelegateUiAuditRoute as Rb, PursuitObserverDelivery as Rc, AxisScoresOf as Rd, BudgetOverspend as Rf, createExecutor as Rg, QuestionOption as Rh, assertProfileModelsAllowed as Ri, createSupervisorSpanRecorder as Rl, DriverContinuationRecord as Rm, runGraph as Rn, sample as Ro, SpendChannel as Rp, modelAuthoredChecks as Rr, WinnerStrategy as Rs, profileRegistry as Rt, CoordinationReadAccess as Ru, ProviderWorkspaceAttemptProvenance as Rv, spendFromUsageEvents as Rw, padTraceId as Rx, FeedbackEvent as Ry, failuresAnalyst as S, admitContinuationPolicy as SC, PeerMailKind as SS, WorkerEventCursor as ST, addHarnessUsage as S_, McpEndpoint as Sa, DelegationTaskQueue as Sb, JudgedPursuitVersion as Sc, workerInboxFile as Sd, InMemoryResultBlobStore as Sf, DelegateError as Sg, DownMessageAuthorizationInput as Sh, S3PrivateCasStoreOptions as Si, SeatSegment as Sl, HarnessTranscriptUnavailableReason as Sm, rollingDispatch as Sn, CorpusReadbackOptions as So, RootHandle as Sp, CheckRunContext as Sr, RenderCorpusToInstructions as Ss, settledToIteration as St, sampleFromSettled as Su, ProviderAsSandboxClientOptions as Sv, StartRetainedRunInEnvironmentOptions as Sw, traceContextToEnv as Sx, ToolLoopChat as Sy, worktreeFanout as T, distillFindings as TC, PeerMailReadout as TS, AgentAdapter as TT, readCodexRolloutSession as T_, sanitizeMcpToolSchema as Ta, SubmitOutput as Tb, PursuitVersionChain as Tc, workerSteerAcknowledgementsDir as Td, SpawnForestEvent as Tf, createDelegateHandler as Tg, DownMessageEvent as Th, recoverRetainedRun as Ti, SeatStage as Tl, harnessTranscriptArtifact as Tm, GraphDesignerExtraTools as Tn, Strategy as To, RootSegment as Tp, CheckSourceCtx as Tr, ScopeAnalyzeInput as Ts, RemoteSupervisorTree as Tt, UNPROVEN_CONTINUITY as Tu, ProviderPromptOptions as Tv, BudgetPoolRestore as Tw, OtelExportConfig as Tx, ToolLoopMessageRecord as Ty, Shell as U, RetainedRunDispatchBindingError as UC, EventBus as US, RuntimeCanonicalStreamEvent as UT, SandboxServedBackend as U_, RunAgentRoundsOptions as Ua, DelegationHistoryResult as Ub, PursuitNodeProjection as Uc, LeaderboardRow as Ud, ExecutorAccounting as Uf, SteerableSandboxSession as Ug, SpawnPreflight as Uh, StreamAgentTurnOptions as Ui, DriveHarnessOwnerContext as Ul, DriverReentry as Um, analyzesFindingsReportPrompt as Un, HarvestReport as Uo, SupervisedResult as Up, structuralRollout as Ur, Persona as Us, WorktreeCliExecutorOptions as Ut, CoordinationRejectReason as Uu, ProviderWorkspaceRetentionContext as Uv, Iteration as Uw, RuntimeStreamEventSummary as Ux, CoderReview as Uy, withUntrackedArtifacts as V, RetainedInteractiveBindingError as VC, BusRecord as VS, RunAgentTaskOptions as VT, SandboxLeafOut as V_, loopDispatch as Va, DelegationHistoryArgs as Vb, PursuitNodePlacement as Vc, Leaderboard as Vd, ExecutionBindingReceipt as Vf, SandboxSteeringOptions as Vg, QuestionUrgency as Vh, AgentTurnUsage as Vi, CoordinationVerbs as Vl, DriverLoopRecord as Vm, PromptRegistry as Vn, HarvestError as Vo, SubtreeResult as Vp, sandboxCheckRunner as Vr, LoopShape as Vs, PatchDeliverableOptions as Vt, CoordinationHttpAudit as Vu, ProviderWorkspaceCaptureResult as Vv, Driver as Vw, RuntimeStreamEventCollector as Vx, eventToSnapshot as Vy, Workspace as W, RuntimeRunStateError as WC, PublishOptions as WS, RuntimeSession as WT, SandboxToolPartState as W_, TERMINAL_DECISIONS as Wa, DelegationProfile as Wb, PursuitNodeTiming as Wc, PairwiseOptions as Wd, ExecutorCancellation as Wf, createSteerableSandboxSession as Wg, SpawnPreflightContext as Wh, collectAgentTurn as Wi, ObserveSupervisorNodeEvent as Wl, DriverRepromptRefusal as Wm, createPromptRegistry as Wn, harvestCorpus as Wo, Supervisor as Wp, visibleCheckScore as Wr, PersonaContext as Ws, WorktreePatchArtifact as Wt, CoordinationDeliveryEvidence as Wu, ProviderWorkspaceRetentionPort as Wv, LoopDecisionPayload as Ww, RuntimeTelemetryOptions as Wx, CoderReviewer as Wy, runInWorkspace as X, createWorkerSlots as XC, SessionTraceBox as XS, mapSandboxEvent as X_, SandboxEvidenceReceipt as Xa, FeedbackRating as Xb, projectPursuit as Xc, renderLeaderboardHtml as Xd, ExecutorNodeContext as Xf, TeamProgress as Xg, WorkerSpawnContext as Xh, createPrivateCasArtifactPort as Xi, SupervisorNodeContext as Xl, TRACE_ROOT_SCHEMA as Xm, naiveContinuationPrompt as Xn, defaultAnalystInstruction as Xo, UnknownMaterializationReason as Xp, TournamentCell as Xr, ShapeRegistry as Xs, workerFromInteractiveProvider as Xt, RunCancellation as Xu, WorktreeProfileMaterializationReceipt as Xv, LoopPlanDescription as Xw, sanitizeKnowledgeReadinessReport as Xx, coderTaskFromArgs as Xy, localShell as Y, WorkerSlots as YC, SessionMessageLike as YS, extractLlmCallEvent as Y_, SandboxEvidenceContext as Ya, DelegationStatusResult as Yb, PursuitStatus as Yc, pairwiseSignificance as Yd, ExecutorMaterialization as Yf, ScopeProgressInput as Yg, WorkerResumeContext as Yh, PrivateCasOptions as Yi, SupervisorAgentTestDeps as Yl, RetainedPendingCause as Ym, kernelPromptRegistry as Yn, ObserveOptions as Yo, UnconfirmedTeardown as Yp, StrategyTournament as Yr, ShapeContext as Ys, InteractiveWorkerResult as Yt, RunCancelRequest as Yu, WorktreeHarnessResult as Yv, LoopLineageOptions as Yw, sanitizeAgentRuntimeEvent as Yx, UiAuditorDelegate as Yy, TrajectoryAnalysis as Z, NativeContextContinuationExecution as ZC, ToolStepInput as ZS, mapSandboxToolEvent as Z_, SandboxEvidenceRetentionError as Za, FeedbackRefersTo as Zb, FileObserverJournal as Zc, renderLeaderboardMarkdown as Zd, ExecutorProgressEvent as Zf, WorkerProgress as Zg, WorkerWatchOptions as Zh, equalKOnCost as Zi, SupervisorNodeContextSeed as Zl, TRACE_SUMMARY_SCHEMA as Zm, promptHandle as Zn, observe as Zo, UsageEvent as Zp, TournamentRow as Zr, DefinedLeaderboard as Zs, WorkerInteractiveAdmission as Zt, WorkerCancelRequest as Zu, CreateWorktreeOptions as Zv, LoopPlanPayload as Zw, sanitizeRuntimeStreamEvent as Zx, detachedSessionDelegate as Zy, boxSurfaceReader as _, ContinuationPanelResult as _C, AUTHORITY_MARKERS as _S, RuntimeRunOptions as _T, CodexRolloutSession as __, assertTraceDerivedFindings as _a, DelegationRecord as _b, IsolatedCheckBox as _c, supervisorWorkersDir as _d, D1StmtLike as _f, createMcpServer as _g, CoordinationEvent as _h, SessionCapableBox as _i, WorkerSpawnRetryPolicy as _l, HarnessTranscriptArtifact as _m, DispatchStopReason as _n, AgenticRunResult as _o, ResourceSpend as _p, defaultProfileRichnessThresholds as _r, PanelJudge as _s, searchPresets as _t, allWorkersStalled as _u, CreateAgentEnvironmentInput$1 as _v, RetainedRunIntentAdmission as _w, researcherProfile as _x, runLocalHarness as _y, SandboxInstance$1 as a, mapExecutorResult as aC, capDelegationTrace as aS, LoopWinner as aT, BridgeHarnessStore as a_, InMemoryCorpus as aa, DetachedSessionRefParts as ab, LeaderboardScore as ac, legacySupervisorRunsRoot as ad, bestSoFar as af, ResolveSpawnResourcePathsResult as ag, AnalystLensOutput as ah, strategyAuthorSystemPrompt as ai, DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY as al, WorkerTraceSeamCarrier as am, graphDigest as an, InProcessSandboxClientOptions as ao, MaterializedExecutionIdentity as ap, ChatSessionStore as ar, EqualKOnCost as as, createRootHandle as at, DEFAULT_DEADLINE_WARNING_MS as au, AgentEnvironmentProviderRef as av, RetainedInteractiveEnvironmentAdmission as aw, UiFindingScreenshot as ax, removeWorktree as ay, AnalystAuthoring as b, PanelFinding as bC, PeerMailEnvelope as bS, RuntimeRunStatus as bT, CodexRolloutTurn as b_, registryScopeAnalyst as ba, DelegationResumeTick as bb, IsolatedCheckResult as bc, workerCancellationsDir as bd, FileResultBlobStore as bf, DELEGATE_TOOL_NAME as bg, CoordinationToolsOptions as bh, acquireSandbox as bi, retryPreSpawnRefusals as bl, HarnessTranscriptFile as bm, freeSlots as bn, AgenticTool as bo, ResumedWork as bp, CheckExecChannel as br, Pipeline as bs, ScopeArgs as bt, noProgressFor as bu, ForkRequest as bv, RetainedRunStartMaterial as bw, mergeTraceEnv as bx, ToolSpec as by, VerifierEnvironmentOptions as c, CheckRead as cC, DelegationPersistenceError as cS, OutputAdapter as cT, KeyProvider as c_, flatWidenGate as ca, DriveTurnCapableBox as cb, DeclaredCheck as cc, readWorkerCancelRequests as cd, WaterfallCollector as cf, SpawnResourceBytes as cg, AnalyzeOnSettleRoute as ch, OpenSandboxRunOptions as ci, SuperviseRegistry as cl, workerTraceHeaders as cm, graphRunsFor as cn, LocalMcpMaterialization as co, NodeExecutionIdentity as cp, ChatWorkerSeamOptions as cr, Fanout as cs, SqlRunContextOptions as ct, NoProgressForOptions as cu, AgentEnvironmentStatus as cv, RetainedRunAdmission as cw, KnowledgeItem as cx, CodexTokenUsage as cy, HarvestSurfaceDiffsOptions as d, ContinuationAppend as dC, FileDelegationStore as dS, SelectionReceipt as dT, mcpSecretEnvMetadataKey as d_, pipeline as da, createDetachedTurnResumeDriver as db, assertDeclaredCheck as dc, readWorkerSteerRequests as dd, createWaterfallCollector as df, environmentReader as dg, AuthorizeDownMessage as dh, SandboxRunAbortError as di, supervise as dl, RecoverRetainedInteractiveRunOptions as dm, lookupGraph as dn, McpToolDescriptor as do, NodeStatus as dp, createChatSessionStore as dr, FanoutWinnerSelector as ds, SEARCH_SPEC_CORRELATION_KEY as dt, ProgressTracker as du, AgentSession as dv, RetainedRunCancellation as dw, ResearchOutput as dx, LocalHarness as dy, decodeToolPart as eC, DELEGATION_TRACE_MAX_SPANS as eS, LoopStartedPayload as eT, AuthorityInboxMessage as e_, createShapeRegistry as ea, FleetHandle as eb, LeaderboardBenchmarkAdapter as ec, WorkerSteerRequest as ed, AnytimeReport as ef, createCoordinationTools as eg, ANALYST_DEFINITION_BOUNDS as eh, AuthorStrategyOptions as ei, ObserverRecordKind as el, WorkerInteractiveUnavailableReason as em, GraphRegistryDir as en, LocalSandboxClientOptions as eo, ExecutorTeardownWarning as ep, delegate as er, CombinatorShape as es, WorkerToolTraceArtifact as et, SupervisorToolInvocationContext as eu, sumSandboxUsage as ev, ReconnectRetainedRunOptions as ew, UiAuditorDelegationOutput as ex, GitRunner as ey, SurfaceDiff as f, ContinuationContext as fC, FileDelegationStoreOptions as fS, ValidationCtx as fT, resolveMcpServerLaunch as f_, selectValidWinner as fa, detachedTurnEvents as fb, checkProgramDigest as fc, runCancelRequestFile as fd, SqlRunLease as ff, hostDirectoryReader as fg, AuthorizedDownMessage as fh, TurnResult as fi, superviseWithTestBrain as fl, RetainedInteractiveAdmissionHook as fm, pickBestGraph as fn, StdioMcpConnection as fo, ProfileMaterializationReceipt as fp, AuthoredProfile as fr, FlatWidenGate as fs, SearchSpec as ft, ProgressTrackerOptions as fu, AgentSessionRef as fv, RetainedRunDispatchedAdmission as fw, ResearchSource as fx, LocalHarnessResult as fy, WatchedSurface as g, ContinuationPanelInput as gC, coderTaskToPrompt as gS, RuntimeRunHandle as gT, CodexRolloutIdentity as g_, RegistryAnalyzeProjection as ga, DelegationArgs as gb, readDeclaredCheck as gc, supervisorRunsRoot as gd, D1DatabaseLike as gf, createInProcessTransport as gg, ContinuityMode as gh, SandboxLineageHandle as gi, WorkerSpawnRetryHooks as gl, StartRetainedInteractiveRunOptions as gm, DispatchReport as gn, AgenticOptions as go, ResourceLimit as gp, assessAuthoredProfile as gr, Panel as gs, compileSearchSpec as gt, allOf as gu, CheckpointRequest as gv, RetainedRunHandle as gw, multiHarnessResearcherFanout as gx, parseCodexTokenUsage as gy, SurfaceReader as h, ContinuationPanel as hC, CoderTask as hS, RuntimeRunCost as hT, CodexForkBoundary as h_, CreateScopeAnalystOptions as ha, runDetachedTurn as hb, declaredCheckJudge as hc, supervisorRunDir as hd, openSqlRunStore as hf, McpServerOptions as hg, ContinuationInstruction as hh, SandboxLineage as hi, WorkerSpawnRetryAttempt as hl, RetainedInteractiveStartMaterial as hm, taskShapeDigest as hn, materializeLocalMcp as ho, RecursiveReservationPolicy as hp, asAuthoredProfile as hr, LoopUntilState as hs, assertSearchSpec as ht, StopRule as hu, CheckpointRef as hv, RetainedRunEventOptions as hw, createResearcherValidator as hx, localHarnessExecutable as hy, SandboxEvent$1 as i, gateOnDeliverable as iC, buildDelegationTraceSpans as iS, LoopTraceEvent as iT, createInbox as i_, FileCorpus as ia, createSiblingSandboxExecutor as ib, LeaderboardScenario as ic, legacySupervisorRunDir as id, areaUnderCurve as if, questionEscalationTargets as ig, AnalystKind as ih, strategyAuthorContract as ii, AuthorizedSpawnContext as il, WorkerTraceResolver as im, digestOfGraph as in, InProcessPromptCtx as io, HeldEnvironment as ip, ChatCompletionsTransport as ir, EqualKArm as is, DEFAULT_MAX_DEPTH as it, supervisorAgentWithTestBrain as iu, AgentEnvironmentProvider$1 as iv, RetainedInteractiveAdmission as iw, UiFinding as ix, createWorktree as iy, EVIDENCE_MAX_CHARS as j, defaultRedactor as jC, createPeerMailbox as jS, AgentRuntimeEventSink as jT, SharedBoxCloseReceipt as j_, BenchmarkTaskRow as ja, DelegateFeedbackResult as jb, assertPursuitVersions as jc, CompletionEvidence as jd, materializeTreeView as jf, ExecutorConfig as jg, ManagerWake as jh, recoverRetainedInteractiveRun as ji, createFileRunContext as jl, RetainedHarnessTranscriptDescriptor as jm, GraphEdgeCapError as jn, SurfaceScore as jo, Settled as jp, VisibleCheck as jr, TrajectoryReportOptions as js, SupervisorCleanupReceipt as jt, bestDelivered as ju, resolveAgentEnvironmentProvider as jv, ReservationRejection as jw, buildLoopSpanNodes as jx, CodeModeToolContext as jy, attachWorker as k, verdictFromJudgeScore as kC, PeerMailboxOptions as kS, AgentKnowledgeProvider as kT, DEFAULT_SHARED_BOX_WORKERS as k_, BenchmarkReport as ka, DelegateCodeResult as kb, VersionJudge as kc, writeWorkerSteer as kd, SpawnForestTree as kf, CliWorktreeBridgeSeam as kg, MakeWorkerAgent as kh, claimRetainedInteractiveControl as ki, RunContext as kl, HarnessTranscriptReadOptions as km, EdgeTraversal as kn, StrategyResult as ko, Runtime as kp, StructuralRolloutPolicy as kr, TrajectoryReport as ks, ProvisionSupervisorRequest as kt, FinalizerSettled as ku, providerAsExecutor as kv, ReservationFloor as kw, RuntimeEventOtelOptions as kx, CodeModeStore as ky, createVerifierEnvironment as l, CheckUnavailableError as lC, DelegationStateCorruptError as lS, RunProvenance as lT, ResolvedMcpServerLaunch as l_, loopUntil as la, DriveTurnTick as lb, DeclaredCheckPlacement as lc, readWorkerCancellation as ld, WaterfallReport as lf, SpawnResourceRead as lg, AuthoredAnalystDefinition as lh, OpenSandboxRunPromptOptions as li, SuperviseRegistryTable as ll, workerTraceSeamKey as lm, listGraphRuns as ln, MaterializeLocalMcpOptions as lo, NodeId as lp, chatTransportExecutor as lr, FanoutOptions as ls, createFencedSqlRunContext as lt, PlateauOptions as lu, AgentEnvironmentSummary as lv, RetainedRunAdmissionHook as lw, KnowledgeUpdate as lx, DEFAULT_LOCAL_HARNESS as ly, SurfaceReadOutcome as m, ContinuationNoteInput as mC, CoderOutput as mS, RuntimeRunCompleteInput as mT, secretEnvOfMcpServer as m_, widen as ma, parseDetachedSessionRef as mb, declaredCheckDigest as mc, safeWorkerFile as md, SqlRunStoreOptions as mf, McpServer as mg, BlockedToolReport as mh, BranchCapableBox as mi, ResolvedWorkerSpawnRetry as ml, RetainedInteractiveRunHandle as mm, storedGraphDigests as mn, connectStdioMcp as mo, ProviderModelExecutionEvidence as mp, ProfileRichnessThresholds as mr, LoopUntilSpec as ms, SearchSpecOwnedOption as mt, StopDecision as mu, AgentTurnResult$2 as mv, RetainedRunEnvironmentAdmission as mw, ResearcherProfileOptions as mx, harnessSupportsReasoningEffort as my, AnalystFinding$1 as n, DeliverableSpec as nC, DelegationTraceCollector as nS, LoopTokenUsage as nT, InboxMessage as n_, definePersona as na, SiblingSandboxExecutorOptions as nb, LeaderboardIterationInfo as nc, cancelRun as nd, AnytimeTaskCurve as nf, normalizeAnalyzeOnSettle as ng, AnalystDefinitionIssue as nh, assertStrategyContract as ni, verifyObserverRecords as nl, WorkerTraceUnavailableReason as nm, GraphSelection as nn, inlineSandboxClient as no, FleetYield as np, driverAgent as nr, CorpusFilter as ns, parseWorkerToolTraceArtifact as nt, resolveSupervisorProfile as nu, AgentEnvironmentCapabilities$1 as nv, RecoverRetainedRunOptions as nw, UI_FINDING_SEVERITIES as nx, WorktreeHandle as ny, computeFindingId$1 as o, AdmittedFinding as oC, composeLoopTraceEmitters as oS, MountManifestEntry as oT, BridgeModelCredential as o_, renderCorpusToInstructions as oa, DetachedTurn as ob, LeaderboardSpec as oc, readRunCancelRequest as od, plateauLength as of, ResolvedSpawnResourcePath as og, AnalystRegistry$1 as oh, Deliverable as oi, DeliverableResolutionInput as ol, readWorkerTraceContext as om, graphFromStored as on, inProcessSandboxClient as oo, MaterializedModelIdentity as op, ChatTransportExecutorOptions as or, EqualKOnCostOptions as os, createSupervisor as ot, ManagerWakePolicy as ou, AgentEnvironmentProviderRegistry as ov, RetainedInteractiveIntentAdmission as ow, UiFindingSeverity as ox, CodexExecutionEvidence as oy, SurfaceReadBox as p, ContinuationEntry as pC, InMemoryDelegationStore as pS, Validator as pT, resolveSecretEnv as p_, verify as pa, formatDetachedSessionRef as pb, declaredCheckDeliverable as pc, runCancellationFile as pd, SqlRunOwnershipError as pf, resolveSpawnResourcePaths as pg, AwaitWakeInput as ph, openSandboxRun as pi, workerFromBackend as pl, RetainedInteractiveEnvironmentInput as pm, recordGraphRun as pn, StdioMcpServerSpec as po, ProviderModelAttemptEvidence as pp, ProfileRichness as pr, LoopUntil as ps, SearchSpecInputs as pt, ProgressView as pu, AgentSessionStatus$1 as pv, RetainedRunEffect as pw, ResearchTask as px, RunLocalHarnessOptions as py, gitWorkspace as q, DEFAULT_CHECK_IN_IDLE_MS as qC, defaultToolDetectors as qS, createSandboxToolPartState as q_, isTerminalDecision as qa, DelegationStatus as qb, PursuitRunProjection as qc, ScoreOf as qd, ExecutorExecutionBinding as qf, DEFAULT_STALL_AFTER_MS as qg, SuperviseProfileEntry as qh, PrivateCasDurableStore as qi, ResolvedSupervisorProfile as ql, summarizeDriverAttempts as qm, dumbContinuationPassPrompt as qn, ObservationError as qo, TraceRootReceipt as qp, EvolutionStrategy as qr, RunPersonifiedOptions as qs, InteractiveWorkerKeyInput as qt, FileCoordinationLog as qu, WorktreeCheckRunner as qv, LoopIterationEndedPayload as qw, createRuntimeEventCollector as qx, DetachedWinnerSelection as qy, CreateSandboxOptions$1 as r, ExecutorResultMapping as rC, DelegationTraceSpan as rS, LoopTraceEmitter as rT, PeerInboxMessage as r_, runPersonified as ra, createFleetWorkspaceExecutor as rb, LeaderboardRunContext as rc, cancelWorker as rd, anytimeReport as rf, parseAuthoredAnalystDefinition as rg, AnalystFindingEvent as rh, authorStrategy as ri, AuthorizedSpawn as rl, WorkspaceCheckpointMarker as rm, StoredGraph as rn, InProcessOnPrompt as ro, Handle as rp, finalizeBestDelivered as rr, CorpusRecord as rs, workerTraceAnalysisStore as rt, supervisorAgent as ru, AgentEnvironmentEvent$1 as rv, RecoverRetainedRunResult as rw, UI_LENSES as rx, captureWorktreeDiff as ry, makeFinding$1 as s, CONTINUATION_FACTS as sC, createDelegationTraceCollector as sS, MountRecorder as sT, BridgeSeam as s_, fanout as sa, DetachedTurnResumeDriverOptions as sb, defineLeaderboard as sc, readRunCancellation as sd, renderAnytimeTable as sf, SPAWN_RESOURCE_PATH_MAX_BYTES as sg, AnalystToolGroupName as sh, OpenSandboxRunBeforeStartContext as si, SuperviseOptions as sl, workerTraceEnv as sm, graphRegistry as sn, HttpMcpServerSpec as so, NoWinnerError as sp, ChatTransportTool as sr, EqualKVerdict as ss, FencedSqlRunContext as st, AllWorkersStalledOptions as su, AgentEnvironmentQuery as sv, RetainedInteractiveStartedAdmission as sw, UiLens as sx, CodexExecutionPolicy as sy, AgentProfile$2 as t, sandboxSessionTraceSource as tC, DelegationTraceCaps as tS, LoopTeardownFailedPayload as tT, Inbox as t_, registerShape as ta, FleetWorkspaceExecutorOptions as tb, LeaderboardFlagSpec as tc, WriteWorkerSteerOptions as td, AnytimeStrategySummary as tf, downMessageRefusalReasons as tg, AnalystAssignmentRecord as th, AuthoredStrategy as ti, observerRecordDigest as tl, WorkerTraceEvidence as tm, GraphRunRecord as tn, localSandboxClient as to, ExecutorToolCall as tp, DriverAgentOptions as tr, Corpus as ts, captureWorkerTraceEvidence as tt, assertCoordinationBinding as tu, AgentEnvironment$1 as tv, RecoverRetainedRunIntentOptions as tw, delegationProfiles as tx, RemoveWorktreeOptions as ty, BoxSurfaceReaderOptions as u, CheckVerdict as uC, DelegationStore as uS, SandboxClient as uT, envKeyProvider as u_, panel as ua, RunDetachedTurnOptions as ub, DeclaredCheckStateCapture as uc, readWorkerSteerAcknowledgement as ud, WaterfallSpan as uf, SpawnResourceReader as ug, AuthoredAnalystLimits as uh, SandboxRun as ui, SuperviseTestOptions as ul, ReconnectRetainedInteractiveRunOptions as um, loadGraph as un, McpSpawnFault as uo, NodeSnapshot as up, chatWorkerSeam as ur, FanoutSynthesis as us, CompiledSearchSpec as ut, ProgressSample as uu, AgentProfileRef as uv, RetainedRunCancelOptions as uw, MultiHarnessResearcherFanoutOptions as ux, LOCAL_HARNESSES as uy, fsSurfaceReader as v, ContinuationPolicy as vC, DEFAULT_PEER_MAIL_LIMITS as vS, RuntimeRunPersistenceAdapter as vT, CodexRolloutStoreReader as v_, buildSteerContext as va, DelegationResumeContext as vb, IsolatedCheckBoxEvidence as vc, workerCancelRequestsFile as vd, SqlAdapter as vf, DELEGATE_DESCRIPTION as vg, CoordinationStats as vh, createSandboxLineage as vi, isPreSpawnExecutorFailure as vl, HarnessTranscriptCapture as vm, DispatchUnit as vn, AgenticSurface as vo, ResultBlobStore as vp, profileRichnessFinding as vr, PanelSpec as vs, searchSpecDigest as vt, anyOf as vu, ExecRequest as vv, RetainedRunReplayPoint as vw, TraceContext as vx, RouterResponseReceipt as vy, WorktreeFanoutOptions as w, checkVerdictOf as wC, PeerMailOutcome as wS, WorkerEventPage as wT, harnessUsageIsEmpty as w_, createMcpEnvironment as wa, SubmitInput as wb, NextPursuitVersionInput as wc, workerSteerAcknowledgementFile as wd, SpawnForest as wf, DelegateResult as wg, DownMessageDeliveryOutcome as wh, reconnectRetainedRun as wi, SeatSelectionInput as wl, captureHarnessTranscript as wm, DesignerToolsEnv as wn, ShotSpec as wo, RootProviderModelEvidence as wp, CheckSource as wr, ScopeAnalyst as ws, RemoteSupervisorReader as wt, ReentryTaskInput as wu, ProviderLeafOut as wv, BudgetPool as ww, OtelAttribute as wx, ToolLoopCompactionOptions as wy, analystsFromRegistry as x, VerdictSummary as xC, PeerMailEvent as xS, startRuntimeRun as xT, CodexStoreDelta as x_, observationFromRegistry as xa, DelegationRunContext as xb, runIsolatedCheck as xc, workerControlLogFile as xd, FileSpawnJournal as xf, DelegateArgs as xg, DefinedAnalystRecord as xh, S3PrivateCasStore as xi, withWorkerSpawnRetry as xl, HarnessTranscriptUnavailable as xm, queueOf as xn, ArtifactHandle as xo, RetainedExecutionState as xp, CheckOutcome as xr, PipelineStage as xs, createScope as xt, plateau as xu, PlacementInfo as xv, RetainedRunTurnInput as xw, readTraceContextFromEnv as xx, ToolLoopCallContext as xy, harvestSurfaceDiffs as y, ContinuationProfile as yC, PEER_MAIL_WIRE_KEY as yS, RuntimeRunRow as yT, CodexRolloutStoreRef as y_, createScopeAnalyst as ya, DelegationResumeDriver as yb, IsolatedCheckOptions as yc, workerCancellationFile as yd, d1ToSqlAdapter as yf, DELEGATE_INPUT_SCHEMA as yg, CoordinationTools as yh, AcquireOptions as yi, resolveWorkerSpawnRetry as yl, HarnessTranscriptEvidence as ym, RollingDispatchOptions as yn, AgenticTask as yo, ResumedKeyState as yp, supervisorInstructions as yr, PanelVerdict as ys, SUBTREE_RESULT_LIMIT as yt, createProgressTracker as yu, ExecResult as yv, RetainedRunSnapshot as yw, createPropagatingTraceEmitter as yx, RouterTransportConfig as yy, UntrackedCopyStats as z, PlannerError as zC, McpTransport as zS, OpenAIChatTool as zT, sharedBoxRefusal as z_, SuperviseOptionsForDispatch as za, DelegationError as zb, PursuitCostProvenance as zc, GroupOf as zd, BudgetViolation as zf, createExecutorRegistry as zg, QuestionPolicy as zh, AgentTurnBackend as zi, CoordinationBinding as zl, DriverContractState as zm, runGraphWithTestBrain as zn, sampleThenRefine as zo, SpendGap as zp, officialChecksFromMeta as zr, DefinePersona as zs, profileRunsForName as zt, CoordinationTransportOptions as zu, ProviderWorkspaceCaptureProvenance as zv, AgentRunSpec as zw, toOtelAttributes as zx, FeedbackStore as zy };
20054
+ //# sourceMappingURL=index-CGNQWpge.d.ts.map