@tangle-network/agent-runtime 0.300.0 → 0.306.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 (88) hide show
  1. package/dist/{activation-DqWmWTyB.js → activation-C5wesfzd.js} +3 -3
  2. package/dist/{activation-DqWmWTyB.js.map → activation-C5wesfzd.js.map} +1 -1
  3. package/dist/{activation-Bhp8dYV5.d.ts → activation-wZ-8vOjV.d.ts} +88 -13
  4. package/dist/agent.d.ts +2 -2
  5. package/dist/agent.js +2 -2
  6. package/dist/{bundle-C9v5TH_H.js → bundle-C8EO05u3.js} +2 -2
  7. package/dist/{bundle-C9v5TH_H.js.map → bundle-C8EO05u3.js.map} +1 -1
  8. package/dist/candidate-execution/index.d.ts +3 -26
  9. package/dist/candidate-execution/index.js +6 -6
  10. package/dist/{coordination-driver-DzTvehd6.js → coordination-driver-yj9HPXef.js} +322 -223
  11. package/dist/coordination-driver-yj9HPXef.js.map +1 -0
  12. package/dist/{delegate-vJ2g76r6.js → delegate-KtrL9HWq.js} +5 -5
  13. package/dist/delegate-KtrL9HWq.js.map +1 -0
  14. package/dist/durable.d.ts +3 -15
  15. package/dist/durable.js +158 -124
  16. package/dist/durable.js.map +1 -1
  17. package/dist/{graph-BDQh3qry.js → graph-DcdyHbgf.js} +5 -6
  18. package/dist/graph-DcdyHbgf.js.map +1 -0
  19. package/dist/{improvement-cycle-D6cPLi6k.js → improvement-cycle-DsN-TVXR.js} +1129 -10
  20. package/dist/improvement-cycle-DsN-TVXR.js.map +1 -0
  21. package/dist/{index-sC6sl88d.d.ts → index-DflDZq_I.d.ts} +188 -748
  22. package/dist/index.d.ts +378 -12
  23. package/dist/index.js +223 -320
  24. package/dist/index.js.map +1 -1
  25. package/dist/intelligence.d.ts +5 -5
  26. package/dist/intelligence.js +7 -8
  27. package/dist/intelligence.js.map +1 -1
  28. package/dist/kernel.d.ts +4 -4
  29. package/dist/kernel.js +9 -9
  30. package/dist/{loop-runner-bin-DZglq4Cf.d.ts → loop-runner-bin-DZfRUVWy.d.ts} +3 -3
  31. package/dist/{loop-runner-bin-DQIHnCL0.js → loop-runner-bin-rVrSX5l1.js} +3 -3
  32. package/dist/{loop-runner-bin-DQIHnCL0.js.map → loop-runner-bin-rVrSX5l1.js.map} +1 -1
  33. package/dist/loop-runner-bin.d.ts +1 -1
  34. package/dist/loop-runner-bin.js +1 -1
  35. package/dist/mcp/bin.js +3 -3
  36. package/dist/mcp/index.d.ts +6 -35
  37. package/dist/mcp/index.js +311 -364
  38. package/dist/mcp/index.js.map +1 -1
  39. package/dist/model-policy-DydyWTQg.js.map +1 -1
  40. package/dist/{openai-tools-DvR82zEo.d.ts → openai-tools-YO30D2s3.d.ts} +2 -2
  41. package/dist/{prepare-CGVNMb1o.js → prepare--nWcazPr.js} +7 -13
  42. package/dist/prepare--nWcazPr.js.map +1 -0
  43. package/dist/{profile-BetOB4_Q.js → profile-h04LDjV6.js} +2 -2
  44. package/dist/{profile-BetOB4_Q.js.map → profile-h04LDjV6.js.map} +1 -1
  45. package/dist/profiles.d.ts +2 -94
  46. package/dist/profiles.js +2 -451
  47. package/dist/profiles.js.map +1 -1
  48. package/dist/{protected-model-port-CAa0t1MT.d.ts → protected-model-port-C9QtEf3y.d.ts} +2 -2
  49. package/dist/{protected-model-port-CuVHkhti.js → protected-model-port-wwalbyXM.js} +4 -4
  50. package/dist/{protected-model-port-CuVHkhti.js.map → protected-model-port-wwalbyXM.js.map} +1 -1
  51. package/dist/{provision-supervisor-IXBlLHE0.js → provision-supervisor-WxFEFQeJ.js} +14 -24
  52. package/dist/provision-supervisor-WxFEFQeJ.js.map +1 -0
  53. package/dist/{runtime-DpEt5v42.js → runtime-B9eBIyws.js} +86 -496
  54. package/dist/runtime-B9eBIyws.js.map +1 -0
  55. package/dist/{search-method-DvU-fc-f.js → search-executor-2tWr38Qw.js} +239 -1132
  56. package/dist/search-executor-2tWr38Qw.js.map +1 -0
  57. package/dist/{server-CIE8s4AN.js → server-CpKcrOPj.js} +5 -12
  58. package/dist/server-CpKcrOPj.js.map +1 -0
  59. package/dist/{stream-agent-turn-I3bb0eqF.d.ts → stream-agent-turn-B1giFgOg.d.ts} +4 -2
  60. package/dist/{substrate-UjsxukjZ.d.ts → substrate-L_sC7jCD.d.ts} +2 -2
  61. package/dist/{supervise-C5mktzrh.js → supervise-DllOHM4M.js} +206 -80
  62. package/dist/supervise-DllOHM4M.js.map +1 -0
  63. package/dist/{supervisor-CQSu5XGl.js → supervisor-gCfG6K1-.js} +1130 -1667
  64. package/dist/supervisor-gCfG6K1-.js.map +1 -0
  65. package/dist/testing.d.ts +2 -2
  66. package/dist/testing.js +14 -14
  67. package/dist/tui/index.d.ts +1 -1
  68. package/dist/tui/index.js +1 -1
  69. package/dist/{types-C73caP0U.d.ts → types-DeuEkBhI.d.ts} +167 -261
  70. package/dist/{workspace-archive-pz8YJ1fr.d.ts → workspace-streams-CpSmt3zx.d.ts} +67 -3
  71. package/dist/{workspace-streams-D5gHJdTb.js → workspace-streams-ILw0eWZ0.js} +694 -2
  72. package/dist/workspace-streams-ILw0eWZ0.js.map +1 -0
  73. package/package.json +8 -8
  74. package/skills/generate-eval/SKILL.md +1 -1
  75. package/skills/profile-authoring/SKILL.md +5 -5
  76. package/skills/supervise/SKILL.md +2 -2
  77. package/dist/coordination-driver-DzTvehd6.js.map +0 -1
  78. package/dist/delegate-vJ2g76r6.js.map +0 -1
  79. package/dist/graph-BDQh3qry.js.map +0 -1
  80. package/dist/improvement-cycle-D6cPLi6k.js.map +0 -1
  81. package/dist/prepare-CGVNMb1o.js.map +0 -1
  82. package/dist/provision-supervisor-IXBlLHE0.js.map +0 -1
  83. package/dist/runtime-DpEt5v42.js.map +0 -1
  84. package/dist/search-method-DvU-fc-f.js.map +0 -1
  85. package/dist/server-CIE8s4AN.js.map +0 -1
  86. package/dist/supervise-C5mktzrh.js.map +0 -1
  87. package/dist/supervisor-CQSu5XGl.js.map +0 -1
  88. package/dist/workspace-streams-D5gHJdTb.js.map +0 -1
@@ -1,9 +1,9 @@
1
- import { $ as SpawnJournal, $i as LeakedReservation, A as NodeExecutionIdentity, Aa as LoopWinner, An as RetainedPendingCause, At as TraceContext, B as ResultBlobStore, Bn as ReconnectRetainedInteractiveRunOptions, Ca as LoopResult, Di as RecoverRetainedRunOptions, Dr as DriverReentry, Ei as RecoverRetainedRunIntentOptions, Fa as SandboxClient, I as ProviderModelExecutionEvidence, Ia as SelectionReceipt, J as RootStreamReceipt, Ji as StartRetainedRunOptions, Jn as HarnessTranscriptCapture, Kn as StartRetainedInteractiveRunOptions, L as RecursiveReservationPolicy, Ln as WorkerProgress, Lr as CheckRead, Lt as OtelExportConfig, M as NodeSnapshot, Ma as MountRecorder, Na as OutputAdapter, Oa as LoopTraceEmitter, Oi as RecoverRetainedRunResult, P as ProfileMaterializationReceipt, Pn as ExecutorProgress, Q as SpawnEvent, Ra as Validator, Ri as RetainedRunEffect, Rt as OtelExportStats, Sr as DriverContinuationRecord, Ti as ReconnectRetainedRunOptions, Tn as TraceSource, U as RetainedExecutionState, V as ResumedKeyState, Vi as RetainedRunHandle, Vn as RecoverRetainedInteractiveRunOptions, W as RootHandle, Wn as RetainedInteractiveRunHandle, X as Scope, Xa as AgentExecutionBackend, Y as Runtime, Yi as BudgetPool, Yn as HarnessTranscriptEvidence, Z as Settled, at as SpendGap, b as ExecutorRegistry, ba as LoopLineageOptions, bi as WorkerSlots, bt as WorkerInteractiveUnavailableReason, ct as SubtreeSummary, et as SpawnOpts, fa as Driver, fr as ProviderWorkspaceCaptureProvenance, g as ExecutorFactory, i as Budget, j as NodeId, ja as MountManifestEntry, k as NoWinnerError, ka as LoopTraceEvent, kn as RetainedChildRecovery, kr as DriverRetryPolicy, l as ExecutionBindingReceipt, lt as SupervisedResult, ma as Iteration, mt as UnconfirmedTeardown, n as AgentExecutionRef, o as BudgetViolation, oi as AgentEvalError$1, ot as SteerableRootHandle, pa as ExecCtx, pn as WaitProbeRegistry, po as RuntimeSessionStore, pt as TreeView, qi as StartRetainedRunInEnvironmentOptions, qr as ContinuationPolicy, r as AgentSpec, rt as Spend, s as DefaultVerdict, t as Agent, u as Executor, ua as AgentRunSpec, un as PendingWait, ut as Supervisor, vr as DriverAttemptRecord, w as FleetYield, wt as WorkerTraceResolver, x as ExecutorResult, xt as WorkerTraceEvidence, yi as SlotPermit, yt as WorkerInteractiveSession, zr as CheckVerdict, zt as OtelExporter } from "./types-C73caP0U.js";
1
+ import { $ as SpawnJournal, $i as ExecCtx, A as NodeExecutionIdentity, B as ResultBlobStore, Ct as WorkerTraceResolver, Di as RetainedRunHandle, Dn as ReconnectRetainedInteractiveRunOptions, Er as CheckVerdict, Fi as BudgetPool, Fn as HarnessTranscriptCapture, I as ProviderModelExecutionEvidence, In as HarnessTranscriptEvidence, It as OtelExportConfig, J as RootStreamReceipt, Kr as AgentEvalError$1, L as RecursiveReservationPolicy, Lt as OtelExportStats, M as NodeSnapshot, Ni as StartRetainedRunInEnvironmentOptions, Nn as StartRetainedInteractiveRunOptions, On as RecoverRetainedInteractiveRunOptions, P as ProfileMaterializationReceipt, Pi as StartRetainedRunOptions, Pr as ContinuationPolicy, Q as SpawnEvent, Qi as Driver, Rt as OtelExporter, Sa as SelectionReceipt, U as RetainedExecutionState, V as ResumedKeyState, W as RootHandle, X as Scope, Xi as AgentRunSpec, Y as Runtime, Z as Settled, _a as MountManifestEntry, _n as RetainedPendingCause, _r as DriverRetryPolicy, ai as SlotPermit, at as SpendGap, b as ExecutorRegistry, bt as WorkerTraceEvidence, ct as SubtreeSummary, di as ReconnectRetainedRunOptions, ea as Iteration, er as ProviderWorkspaceCaptureProvenance, et as SpawnOpts, fi as RecoverRetainedRunIntentOptions, fn as TraceSource, g as ExecutorFactory, ga as LoopWinner, gn as RetainedChildRecovery, ha as LoopTraceEvent, hr as DriverReentry, i as Budget, j as NodeId, jn as RetainedInteractiveRunHandle, k as NoWinnerError, kt as TraceContext, l as ExecutionBindingReceipt, la as LoopResult, lt as SupervisedResult, ma as LoopTraceEmitter, mi as RecoverRetainedRunResult, mt as UnconfirmedTeardown, n as AgentExecutionRef, o as BudgetViolation, oa as LoopLineageOptions, oi as WorkerSlots, or as DriverAttemptRecord, ot as SteerableRootHandle, pi as RecoverRetainedRunOptions, pt as TreeView, r as AgentSpec, rt as Spend, s as DefaultVerdict, t as Agent, u as Executor, ur as DriverContinuationRecord, ut as Supervisor, va as MountRecorder, vt as WorkerInteractiveSession, w as FleetYield, wa as Validator, wi as RetainedRunEffect, wn as WorkerProgress, wr as CheckRead, x as ExecutorResult, xa as SandboxClient, xn as ExecutorProgress, ya as OutputAdapter, yt as WorkerInteractiveUnavailableReason, zi as LeakedReservation } from "./types-DeuEkBhI.js";
2
2
  import { n as AnalystRegistryLike } from "./types-zWfqDjeL.js";
3
3
  import { l as RuntimeHooks, o as RuntimeHookEvent, r as RuntimeDecisionPoint } from "./runtime-hooks-Bj6wJHlH.js";
4
- import { E as AgentCandidateOutputArtifactPort, c as AgentCandidateArtifactPort, t as AgentCandidateWorkspaceArchiveLimits } from "./workspace-archive-pz8YJ1fr.js";
5
- import { Bn as ToolLoopCompactionOptions, D as Inbox, Fn as RouterTransportConfig, Hn as ToolLoopToolCall, In as ToolSpec, Mt as AgentEnvironmentProviderRegistry, Nn as runLocalHarness, P as KeyProvider, Pn as RouterResponseReceipt, Rn as ToolLoopChat, Vn as ToolLoopMessageRecord, Yn as PeerMailLimits, cn as InPlaceHarnessResult, cr as JsonRpcResponse, dn as WorktreeHarnessResult, dr as McpTransport, er as PeerMailbox, f as ExecutorConfig, fr as Redactor, gn as GitRunner, h as RouterToolsSeam, ln as WorktreeCheckRunner, qn as PeerMailEvent, sr as JsonRpcMessage, ur as McpToolDescriptor$1 } from "./stream-agent-turn-I3bb0eqF.js";
6
- import { _ as CoderTask, d as ResearchSource, o as UiLens, r as UiFinding } from "./substrate-UjsxukjZ.js";
4
+ import { P as AgentCandidateOutputArtifactPort, g as AgentCandidateArtifactPort, l as AgentCandidateWorkspaceArchiveLimits } from "./workspace-streams-CpSmt3zx.js";
5
+ import { Bn as ToolLoopCompactionOptions, D as Inbox, Fn as RouterTransportConfig, Hn as ToolLoopToolCall, In as ToolSpec, Mt as AgentEnvironmentProviderRegistry, Nn as runLocalHarness, P as KeyProvider, Pn as RouterResponseReceipt, Rn as ToolLoopChat, Vn as ToolLoopMessageRecord, Yn as PeerMailLimits, cn as InPlaceHarnessResult, cr as JsonRpcResponse, dn as WorktreeHarnessResult, dr as McpTransport, er as PeerMailbox, f as ExecutorConfig, fr as Redactor, gn as GitRunner, h as RouterToolsSeam, ln as WorktreeCheckRunner, qn as PeerMailEvent, sr as JsonRpcMessage, ur as McpToolDescriptor$1 } from "./stream-agent-turn-B1giFgOg.js";
6
+ import { _ as CoderTask, d as ResearchSource, o as UiLens, r as UiFinding } from "./substrate-L_sC7jCD.js";
7
7
  import { AGENT_PROFILE_MATERIALIZATION_AXES, AgentCandidateWorkspaceManifestMaterial, AgentCandidateWorkspaceSnapshotEvidence, AgentInteractiveSessionControlClaim, AgentInteractiveSessionRef, AgentProfile, AgentProfile as AgentProfile$2, AgentProfile as AgentProfile$3, AgentProfileDiff, AgentProfilePrompt, AgentProfileSecurityPolicy, CanonicalAgentProfileMaterializationAxis, Sha256Digest, profileMaterializationAxes as profileMaterializationAxes$1 } from "@tangle-network/agent-interface";
8
8
  import { AgentProfile as AgentProfile$1, AnalystFinding, AnalystFinding as AnalystFinding$1, AnalystFinding as AnalystFinding$2, AnalystRunInputs, ChatClient, CustomTokenPricing, DetectorSignal, HarnessType as HarnessType$1, MaximumCharge, PairedPromotionDecision, ProposalFinding, RankTestMethod, RegistryRunOpts, RunRecord, StreamingDetector, ToolSpan, TraceAnalysisEngine, TraceAnalysisStore, buildTrajectory, computeFindingId as computeFindingId$1, makeFinding as makeFinding$1 } from "@tangle-network/agent-eval";
9
9
  import { AgentRunOutcome } from "@tangle-network/sandbox/runtime";
@@ -258,434 +258,16 @@ declare function replaySpawnTree(journal: SpawnJournal, blobs: ResultBlobStore,
258
258
  * matches the recorded cursor. It does not recover live executors or driver state after restart.
259
259
  */
260
260
  declare function materializeTreeView(events: SpawnEvent[]): TreeView;
261
- /**
262
- * The waits a journaled tree shows as ARMED but never woken — what a resumed run re-arms with the
263
- * ORIGINAL absolute deadline. Reading it from the journal (rather than from any live state) is
264
- * what makes "SIGKILL a waiting tree, a new process keeps waiting to the same instant" true.
265
- */
266
- declare function pendingWaits(events: SpawnEvent[]): PendingWait[];
267
- //#endregion
268
- //#region src/durable/spawn-journal-sql.d.ts
269
- /** The minimal statement seam; structurally the same shape `SqlConversationJournal` accepts. */
270
- interface SqlStatements {
271
- /** Execute a write statement (INSERT/UPDATE/DELETE/DDL). */
272
- exec(sql: string, params?: readonly unknown[]): Promise<{
273
- rowsAffected: number;
274
- }>;
275
- /** Execute a read statement (SELECT). Returns rows as plain objects. */
276
- query<TRow = Record<string, unknown>>(sql: string, params?: readonly unknown[]): Promise<TRow[]>;
277
- }
278
- /** SQL-backed `SpawnJournal`. One row per event; insertion order is replay order. */
279
- declare class SqlSpawnJournal implements SpawnJournal {
280
- private readonly db;
281
- private readonly table;
282
- private readonly cache;
283
- private appendTail;
284
- constructor(db: SqlStatements, table?: string);
285
- /** Create the journal's tables if absent. Idempotent. */
286
- migrate(): Promise<void>;
287
- loadTree(root: NodeId): Promise<SpawnEvent[] | undefined>;
288
- beginTree(root: NodeId, at: string): Promise<void>;
289
- appendEvent(root: NodeId, ev: SpawnEvent): Promise<void>;
290
- private validationIndex;
291
- private maxEventId;
292
- private migrated;
293
- private ensureMigrated;
294
- private serializeAppend;
295
- }
296
- /** SQL-backed `ResultBlobStore`. One content-addressed row per settled result. */
297
- declare class SqlResultBlobStore implements ResultBlobStore {
298
- private readonly db;
299
- private readonly table;
300
- private migrated;
301
- constructor(db: SqlStatements, table?: string);
302
- migrate(): Promise<void>;
303
- put(outRef: string, artifact: unknown): Promise<void>;
304
- get(outRef: string): Promise<unknown | undefined>;
305
- private ensureMigrated;
306
- }
307
261
  //#endregion
308
- //#region src/conversation/call-policy.d.ts
262
+ //#region src/durable/sql-adapter.d.ts
309
263
  /**
310
- *
311
- * Per-call resilience policy for participant backends: deadline, retry with
312
- * backoff, and a circuit breaker. Each policy is applied *around* a single
313
- * turn's backend invocation, not across the whole conversation — the
314
- * conversation-level credit cap and `maxTurns` bound the broader run.
315
- *
316
- * Deadlines abort the underlying backend stream via `AbortSignal` linkage so
317
- * the OpenAI/SDK clients tear down their HTTP request cleanly instead of
318
- * leaking sockets. Retries replay the same logical turn (same `turnId`) so
319
- * any caching gateway can dedupe. Circuit breakers are *per participant*: A's
320
- * failures don't open B's breaker.
264
+ * SQL seam for Runtime's shared-SQL run persistence (`openSqlRunStore`,
265
+ * `createFencedSqlRunContext`). Callers wire a `SqlAdapter` against the driver
266
+ * their deployment already uses (D1, postgres, sqlite, libSQL); Runtime takes
267
+ * no native database dependency.
321
268
  *
322
269
  * @stable
323
270
  */
324
- /** Pure judgment of whether an error is worth retrying. Defaults: TimeoutError, AbortError, fetch-level network errors. */
325
- type RetryableErrorPredicate = (err: unknown) => boolean;
326
- /** Backoff between attempts. Constant ms, or `(attempt: 1-indexed) => ms`. */
327
- type RetryBackoff = number | ((attempt: number) => number);
328
- /** Circuit-breaker tuning. `failuresToOpen` consecutive failures opens it; closed only after `cooldownMs`. */
329
- interface CircuitBreakerConfig {
330
- failuresToOpen: number;
331
- cooldownMs: number;
332
- }
333
- interface BackendCallPolicy {
334
- /** Per-attempt wall clock limit. Exceeding fires an AbortSignal and is treated as a retryable failure. */
335
- perAttemptDeadlineMs?: number;
336
- /** Number of retries after the first attempt; total attempts = 1 + maxRetries. Default 0. */
337
- maxRetries?: number;
338
- /** Backoff between attempts. Default 250ms with jitter. */
339
- retryBackoffMs?: RetryBackoff;
340
- /** Custom retry classifier. Defaults to retrying transport failures and retryable HTTP statuses. */
341
- isRetryable?: RetryableErrorPredicate;
342
- /** Circuit breaker that opens after N consecutive failures per participant. */
343
- circuitBreaker?: CircuitBreakerConfig;
344
- }
345
- //#endregion
346
- //#region src/conversation/headers.d.ts
347
- /**
348
- * Header bag carried through `AgentBackendContext.propagatedHeaders` so
349
- * backends that opt in can merge them into their outbound HTTP requests.
350
- * Distinct from `buildForwardHeaders` so callers can attach extra
351
- * non-protocol headers (e.g. tracing) without colliding.
352
- */
353
- type PropagatedHeaders = Readonly<Record<string, string>>;
354
- //#endregion
355
- //#region src/conversation/types.d.ts
356
- /** @stable */
357
- interface ConversationParticipant {
358
- /**
359
- * Stable name used as the speaker label in the transcript. Must be unique
360
- * within a `Conversation`.
361
- */
362
- name: string;
363
- /**
364
- * Backend that runs this participant's turn. Reuses the existing
365
- * `AgentExecutionBackend` contract from `runAgentTaskStream`, so an iterable,
366
- * sandbox, or profile-backed Runtime executor works through the same runner.
367
- */
368
- backend: AgentExecutionBackend;
369
- /**
370
- * Optional human label for traces / dashboards. Distinct from `name`, which
371
- * is the addressing key.
372
- */
373
- label?: string;
374
- /**
375
- * Optional per-participant override of the conversation's default
376
- * `callPolicy`. Use to tighten the deadline or raise the retry budget for
377
- * a participant known to be slow or flaky.
378
- */
379
- callPolicy?: BackendCallPolicy;
380
- /**
381
- * Who pays for THIS participant's outbound calls?
382
- *
383
- * - `'forward-user'` (default) — propagate the caller's
384
- * `X-Tangle-Forwarded-Authorization` so the downstream gateway bills the
385
- * original user. Right for pass-through agents that aggregate/route
386
- * without taking economic risk.
387
- * - `'agent-owned'` — DO NOT forward the user's auth; the participant's
388
- * backend uses its own credentials (typically a sk-tan-AGENT or x402
389
- * wallet baked into the backend at construction). Downstream charges
390
- * land on the agent, not the user. Right for resold-bundle agents that
391
- * take margin between their inbound price and their sub-agent costs.
392
- * - `(state) => AuthSource` — per-turn / per-condition decision, e.g. base
393
- * sub-services are agent-owned but premium add-ons forward the user.
394
- *
395
- * The agent's own credentials live on its caller-owned backend or
396
- * profile-bound Runtime executor; this field is purely about *whether to
397
- * also forward the user's identity downstream*.
398
- */
399
- authSource?: AuthSource;
400
- }
401
- /** @stable */
402
- type AuthSource = 'forward-user' | 'agent-owned' | ((state: ConversationDriveState) => 'forward-user' | 'agent-owned');
403
- /** @stable */
404
- type TurnOrder = 'alternate' | 'round-robin' | ((state: ConversationDriveState) => number);
405
- /** @stable */
406
- interface ConversationDriveState {
407
- transcript: readonly ConversationTurn[];
408
- turnIndex: number;
409
- spentCreditsCents: number;
410
- }
411
- /** @stable */
412
- interface HaltContext extends ConversationDriveState {
413
- lastTurn: ConversationTurn;
414
- }
415
- /** @stable */
416
- interface HaltSignal {
417
- halted: true;
418
- reason: string;
419
- }
420
- /** @stable */
421
- type HaltPredicate = (ctx: HaltContext) => boolean | HaltSignal | Promise<boolean | HaltSignal>;
422
- /** @stable */
423
- type HaltReason = {
424
- kind: 'max_turns';
425
- turns: number;
426
- } | {
427
- kind: 'max_credits';
428
- spentCents: number;
429
- capCents: number;
430
- } | {
431
- kind: 'predicate';
432
- reason: string;
433
- } | {
434
- kind: 'abort';
435
- } | {
436
- kind: 'participant_error';
437
- participant: string;
438
- message: string;
439
- };
440
- /** @stable */
441
- interface ConversationPolicy {
442
- /** Hard cap on speaker-turns. Each call into a participant's backend counts as 1. */
443
- maxTurns: number;
444
- /**
445
- * Hard cap on aggregate credit spend across all participants, in cents.
446
- * Computed by summing `llm_call.costUsd` from every participant's stream.
447
- * Unset (`undefined`) means no credit ceiling — the run is bounded only by
448
- * `maxTurns` and `haltOn`.
449
- */
450
- maxCreditsCents?: number;
451
- /**
452
- * Speaker selection. Defaults to `'alternate'` for two-participant
453
- * conversations and `'round-robin'` for any other arity.
454
- */
455
- turnOrder?: TurnOrder;
456
- /**
457
- * Optional convergence / content-based halt. Called after every turn ends;
458
- * returning truthy stops the loop with `{ kind: 'predicate', ... }`.
459
- */
460
- haltOn?: HaltPredicate;
461
- /**
462
- * Default per-turn resilience policy applied to every participant call
463
- * (deadline, retries, circuit breaker). Individual participants may
464
- * override via `ConversationParticipant.callPolicy`.
465
- */
466
- defaultCallPolicy?: BackendCallPolicy;
467
- }
468
- /** @stable */
469
- interface ConversationTurn {
470
- index: number;
471
- speaker: string;
472
- /**
473
- * Deterministic turn identifier — stable across retries of the same logical
474
- * turn so caching gateways and trace backends can dedupe. Shape:
475
- * `${runId}.t${index}.${speakerSlug}`.
476
- */
477
- turnId: string;
478
- /** Backend session used for this turn. Present on turns recorded by session-aware runners. */
479
- sessionId?: string;
480
- text: string;
481
- /**
482
- * Aggregated backend usage for this turn alone. Populated from any
483
- * `llm_call` stream events the backend emitted; `undefined` when the
484
- * backend reports no usage.
485
- */
486
- usage?: {
487
- tokensIn?: number;
488
- tokensOut?: number;
489
- costUsd?: number;
490
- latencyMs?: number;
491
- model?: string;
492
- };
493
- /**
494
- * Number of attempts that ran before this turn committed. `1` is the
495
- * common case; higher means the call policy retried after transient
496
- * failures.
497
- */
498
- attempts: number;
499
- startedAt: string;
500
- endedAt: string;
501
- }
502
- /** @stable */
503
- interface Conversation {
504
- participants: readonly ConversationParticipant[];
505
- policy: ConversationPolicy;
506
- }
507
- /** @stable */
508
- interface RunConversationOptions {
509
- /** First message kicking off the conversation. Routes to the first speaker. */
510
- seed: string;
511
- /**
512
- * Optional run identifier for cross-participant trace correlation. Auto-
513
- * generated when omitted. Reusing a runId against the same `journal`
514
- * resumes the prior run — the runner replays the persisted transcript and
515
- * continues from the first un-recorded turn.
516
- */
517
- runId?: string;
518
- /** Cancellation signal — aborts mid-stream and halts with `{ kind: 'abort' }`. */
519
- signal?: AbortSignal;
520
- /**
521
- * Event sink for per-turn micro-events. Distinct from the result transcript:
522
- * the sink fires for every text-delta, every turn-start/end, and the
523
- * conversation-start/end markers. Used to drive SSE / dashboard updates
524
- * without waiting for the conversation to finish.
525
- */
526
- onEvent?: (event: ConversationStreamEvent) => void | Promise<void>;
527
- /**
528
- * Optional durable transcript. When set, the runner persists every
529
- * committed turn before yielding `turn_end`. Reusing the same `runId`
530
- * against the same journal resumes from the last committed turn — so a
531
- * driver process crash mid-run loses zero acknowledged turns.
532
- */
533
- journal?: ConversationJournal;
534
- /**
535
- * Stores each participant's backend session. The runner keeps an in-memory
536
- * store for one invocation when omitted. Reuse a durable store with the same
537
- * `runId` and journal after a process restart. Backends implementing `resume`
538
- * continue their provider session; other backends receive the full transcript.
539
- */
540
- sessionStore?: RuntimeSessionStore;
541
- /**
542
- * Headers to forward verbatim to every participant backend call (gateway
543
- * propagation: `X-Tangle-Forwarded-Authorization`, run/turn correlation,
544
- * depth counter). Backends opt in by reading `propagatedHeaders` from
545
- * their `AgentBackendContext`; backends that ignore the field still work.
546
- */
547
- propagatedHeaders?: PropagatedHeaders;
548
- /**
549
- * Inbound depth at the point this driver was invoked. The runner
550
- * increments it on every outbound participant call; gateways refuse at
551
- * `DEFAULT_MAX_DEPTH`. Default 0 (origin caller).
552
- */
553
- inboundDepth?: number;
554
- /**
555
- * Parent turn id when this conversation is *inside* another turn (i.e. the
556
- * driver is itself a participant via `createConversationBackend`). The
557
- * runner stamps each outbound call with this as `X-Tangle-Parent-TurnId`
558
- * so trace stitching survives nested orchestration.
559
- */
560
- parentTurnId?: string;
561
- }
562
- /** @stable */
563
- interface ConversationResult {
564
- runId: string;
565
- transcript: ConversationTurn[];
566
- turns: number;
567
- spentCreditsCents: number;
568
- halted: HaltReason;
569
- durationMs: number;
570
- startedAt: string;
571
- endedAt: string;
572
- }
573
- /** @stable */
574
- type ConversationStreamEvent = {
575
- type: 'conversation_start';
576
- runId: string;
577
- participants: readonly string[];
578
- seed: string;
579
- timestamp: string;
580
- } | {
581
- type: 'conversation_resumed';
582
- runId: string;
583
- participants: readonly string[];
584
- transcript: readonly ConversationTurn[];
585
- timestamp: string;
586
- } | {
587
- type: 'turn_start';
588
- runId: string;
589
- index: number;
590
- speaker: string;
591
- turnId: string;
592
- attempt: number;
593
- timestamp: string;
594
- } | {
595
- type: 'turn_text_delta';
596
- runId: string;
597
- index: number;
598
- speaker: string;
599
- turnId: string;
600
- text: string;
601
- timestamp?: string;
602
- } | {
603
- type: 'turn_retry';
604
- runId: string;
605
- index: number;
606
- speaker: string;
607
- turnId: string;
608
- attempt: number;
609
- reason: string;
610
- timestamp: string;
611
- } | {
612
- type: 'turn_end';
613
- runId: string;
614
- turn: ConversationTurn;
615
- timestamp: string;
616
- } | {
617
- type: 'conversation_end';
618
- runId: string;
619
- result: ConversationResult;
620
- timestamp: string;
621
- };
622
- //#endregion
623
- //#region src/conversation/journal.d.ts
624
- interface ConversationJournalEntry {
625
- runId: string;
626
- startedAt: string;
627
- /** Set when the run reaches a terminal state. */
628
- halted?: HaltReason;
629
- endedAt?: string;
630
- turns: ConversationTurn[];
631
- }
632
- interface ConversationJournal {
633
- /**
634
- * Load any prior state for `runId`. Returns `undefined` for a fresh run.
635
- * Implementations MUST NOT mutate the returned object — the runner clones
636
- * before continuing — but the runtime treats absence and emptiness
637
- * identically, so a journal with zero turns is equivalent to "fresh."
638
- */
639
- loadRun(runId: string): Promise<ConversationJournalEntry | undefined>;
640
- /**
641
- * Initialise journal state for a fresh run. Called once per run, before any
642
- * `appendTurn`. Idempotent: calling with an existing runId is a no-op if
643
- * the entry already exists with the same `startedAt`.
644
- */
645
- beginRun(runId: string, startedAt: string): Promise<void>;
646
- /**
647
- * Append a committed turn. The runner only calls this AFTER the turn's
648
- * backend stream completed and the credit total has been updated, so an
649
- * appended turn is observed-committed and never speculative.
650
- */
651
- appendTurn(runId: string, turn: ConversationTurn): Promise<void>;
652
- /**
653
- * Record the run's terminal halt reason + end time. Once called, the run
654
- * is observed-final; subsequent `loadRun` returns the same halt.
655
- */
656
- recordHalt(runId: string, halt: HaltReason, endedAt: string): Promise<void>;
657
- }
658
- /** In-memory `ConversationJournal` — suitable for testing and single-process runs. */
659
- declare class InMemoryConversationJournal implements ConversationJournal {
660
- private readonly entries;
661
- loadRun(runId: string): Promise<ConversationJournalEntry | undefined>;
662
- beginRun(runId: string, startedAt: string): Promise<void>;
663
- appendTurn(runId: string, turn: ConversationTurn): Promise<void>;
664
- recordHalt(runId: string, halt: HaltReason, endedAt: string): Promise<void>;
665
- }
666
- /**
667
- * JSONL on disk. One line per record; first line is the `begin`, subsequent
668
- * lines are `turn` records, terminal line is `halt`. Replays the whole file
669
- * on `loadRun` — cheap for the conversation sizes this is designed for
670
- * (thousands of turns, not millions). For huge runs, plug in a real DB
671
- * adapter; the interface is small.
672
- *
673
- * Reads and appends over the shared append-only spine (`durable/jsonl-file`): each
674
- * `appendTurn` / `recordHalt` finishes a short write and calls `fsync`, so a process
675
- * crash between writes never loses an acknowledged turn, and a crash DURING one leaves
676
- * an uncommitted final line that the next read skips and the next append truncates.
677
- */
678
- declare class FileConversationJournal implements ConversationJournal {
679
- private readonly path;
680
- constructor(path: string);
681
- loadRun(runId: string): Promise<ConversationJournalEntry | undefined>;
682
- beginRun(runId: string, startedAt: string): Promise<void>;
683
- appendTurn(runId: string, turn: ConversationTurn): Promise<void>;
684
- recordHalt(runId: string, halt: HaltReason, endedAt: string): Promise<void>;
685
- private appendRecord;
686
- }
687
- //#endregion
688
- //#region src/conversation/journal-sql.d.ts
689
271
  /**
690
272
  * Minimal SQL driver shape. Implementations forward to whichever client the
691
273
  * deployment already uses; agent-runtime takes no opinion on which.
@@ -722,32 +304,6 @@ interface D1StmtLike {
722
304
  results?: TRow[];
723
305
  }>;
724
306
  }
725
- /**
726
- * SQL-backed ConversationJournal. Two tables — runs (one row per runId, holds
727
- * start/halt timestamps + halt reason) and turns (one row per committed turn,
728
- * payload is the ConversationTurn JSON). Replays the turns table on
729
- * `loadRun` and writes append-only per `appendTurn`.
730
- */
731
- declare class SqlConversationJournal implements ConversationJournal {
732
- private readonly db;
733
- private readonly table;
734
- /**
735
- * @param db SQL adapter (D1, postgres, sqlite, libSQL — all work)
736
- * @param table Table-name prefix; the journal creates `${table}_runs` and
737
- * `${table}_turns`. Lets multiple journals share a database
738
- * without colliding (e.g. one per product surface).
739
- */
740
- constructor(db: SqlAdapter, table?: string);
741
- /**
742
- * Create the journal's tables if absent. Idempotent. Call once at deploy
743
- * (or at app boot) — running on every request is harmless but adds latency.
744
- */
745
- migrate(): Promise<void>;
746
- loadRun(runId: string): Promise<ConversationJournalEntry | undefined>;
747
- beginRun(runId: string, startedAt: string): Promise<void>;
748
- appendTurn(runId: string, turn: ConversationTurn): Promise<void>;
749
- recordHalt(runId: string, halt: HaltReason, endedAt: string): Promise<void>;
750
- }
751
307
  //#endregion
752
308
  //#region src/durable/sql-run-store.d.ts
753
309
  /** @internal The SQL run context owns the payload schema; this store owns publication. */
@@ -927,6 +483,9 @@ interface EventBus<E extends BusEvent> {
927
483
  /** Register a pass-through handler; it receives the stamped record of every event published after
928
484
  * registration. Returns an unsubscribe fn. */
929
485
  subscribe(handler: (record: BusRecord<E>) => void | Promise<void>): () => void;
486
+ /** Register a handler called once an event has entered the pull queue, after every subscriber
487
+ * acknowledged it — the moment a waiting consumer can pull it. Returns an unsubscribe fn. */
488
+ onQueued(handler: (record: BusRecord<E>) => void): () => void;
930
489
  /** Count of queued, not-yet-pulled events (filtered by `kinds` when given). */
931
490
  pending(kinds?: ReadonlyArray<E['type']>): number;
932
491
  /** The full ordered log of every event published in this process (audit evidence, not replay). */
@@ -2408,7 +1967,7 @@ type ResolveSpawnResourcePathsResult = {
2408
1967
  declare function resolveSpawnResourcePaths(profile: unknown, source: string | SpawnResourceReader | undefined): Promise<ResolveSpawnResourcePathsResult>;
2409
1968
  //#endregion
2410
1969
  //#region src/mcp/tools/coordination.d.ts
2411
- /** A worker the driver has drained via `await_event`. */
1970
+ /** A worker whose settlement reached the manager's inbox. */
2412
1971
  interface SettledWorker {
2413
1972
  readonly id: string;
2414
1973
  readonly status: 'done' | 'down';
@@ -2886,18 +2445,31 @@ type CoordinationEvent = {
2886
2445
  readonly type: 'analyst-assignment';
2887
2446
  readonly assignment: AnalystAssignmentRecord;
2888
2447
  } |
2889
- /** The manager processed events `await_event` delivered to it. Record-only, and separate from
2448
+ /** The manager processed events a wake delivered to it. Record-only, and separate from
2890
2449
  * delivery on purpose: an event delivered to a turn that then FAILED stays unacknowledged, and
2891
2450
  * the manager's next re-entry names it again instead of losing it with the dead turn. */
2892
2451
  {
2893
2452
  readonly type: 'acknowledgement';
2894
2453
  readonly acknowledgement: EventAcknowledgement;
2454
+ } |
2455
+ /** A tool call that outlived its response fence settled. Queued: the manager's next wake
2456
+ * carries it, so the caller never re-calls to collect it. */
2457
+ {
2458
+ readonly type: 'tool-outcome';
2459
+ readonly outcome: ToolOutcomeEvent;
2460
+ } |
2461
+ /** This manager's lead (its parent manager, or the operator for a root) sent it a steer or an
2462
+ * answer. Queued: a manager's harness has no live inbox between turns, so the message is the
2463
+ * input of its next wake instead of a refused delivery. */
2464
+ {
2465
+ readonly type: 'lead-message';
2466
+ readonly message: LeadMessage;
2895
2467
  };
2896
2468
  /** One acknowledgement record: which delivered events are now processed, and on whose word. */
2897
2469
  interface EventAcknowledgement {
2898
2470
  /** Bus `seq` of each acknowledged event, in this process's sequence space. */
2899
2471
  readonly seqs: ReadonlyArray<number>;
2900
- /** `manager`: the manager named them in `await_event`'s `acknowledge`. `turn-completed`: the
2472
+ /** `manager`: legacy rows from a manager that named them. `turn-completed`: the
2901
2473
  * driver turn that received them ended normally. `result-accepted`: a submission passed the
2902
2474
  * completion check after they were delivered. */
2903
2475
  readonly by: 'manager' | 'turn-completed' | 'result-accepted';
@@ -2917,14 +2489,14 @@ interface ManagerReentryState {
2917
2489
  readonly label: string;
2918
2490
  readonly status: string;
2919
2491
  }>;
2920
- /** Workers that settled, with whether their settlement reached the manager through `await_event`. */
2492
+ /** Workers that settled, with whether their settlement reached the manager in a wake. */
2921
2493
  readonly settled: ReadonlyArray<{
2922
2494
  readonly id: string;
2923
2495
  readonly status: 'done' | 'down';
2924
2496
  readonly valid?: boolean;
2925
2497
  readonly delivered: boolean;
2926
2498
  }>;
2927
- /** Events queued for `await_event` and not yet delivered, including settlements the coordinator
2499
+ /** Events queued for the next wake and not yet delivered, including settlements the coordinator
2928
2500
  * holds but has not queued yet. */
2929
2501
  readonly waiting: ReadonlyArray<{
2930
2502
  readonly type: string;
@@ -3049,7 +2621,7 @@ interface CoordinationToolsOptions {
3049
2621
  readonly questionPolicy?: QuestionPolicy;
3050
2622
  /** Analyst lenses run AUTOMATICALLY when a worker settles `done` (the analyst-on-settle hook).
3051
2623
  * A bare string names a lens whose findings go to THE DRIVER: published as a `finding` event on
3052
- * the bus — pass-through to subscribers and queued for `await_event`. An
2624
+ * the bus — pass-through to subscribers and queued for the driver's next wake. An
3053
2625
  * {@link AnalyzeOnSettleRoute} generalizes the DESTINATION: findings can be delivered to a
3054
2626
  * named live WORKER (wrapped in the route's directive, through the same authorized steer
3055
2627
  * machinery a driver steer uses) instead of being hardwired to the spawning driver, and `over`
@@ -3059,20 +2631,10 @@ interface CoordinationToolsOptions {
3059
2631
  * the driver can still run lenses on demand via `run_analyst`). Lens routes require
3060
2632
  * `analysts`; agent routes do not. */
3061
2633
  readonly analyzeOnSettle?: ReadonlyArray<string | AnalyzeOnSettleRoute>;
3062
- /** Max wall-clock ms a single `await_event` call may block waiting on a live worker to settle
3063
- * before it returns a non-error `{ pending: true, live }` snapshot and lets the caller re-poll.
3064
- * The underlying `scope.next()` blocks for the WHOLE (multi-minute) worker run; over a remote MCP
3065
- * transport that block outlives the client's per-request timeout, so an unbounded await surfaces
3066
- * to the supervisor as a hard tool ERROR on every call — the exact failure that leaves it flying
3067
- * blind. Bounding the wait converts that error into a re-pollable liveness signal. The background
3068
- * drain keeps running, so a settlement that lands after the bound is published to the bus and
3069
- * pulled by the next call — nothing is lost. Omit = {@link DEFAULT_AWAIT_EVENT_TIMEOUT_MS}; `<= 0`
3070
- * restores the prior UNBOUNDED block (only safe for in-process drivers with no transport timeout). */
3071
- readonly awaitTimeoutMs?: number;
3072
2634
  /**
3073
2635
  * OPT-IN: run the ONLINE detector panel over each spawned worker's live tool trace and raise a
3074
2636
  * `finding` on the bus the moment a detector fires — so the driver learns "this worker is
3075
- * looping" mid-run, from `await_event`, instead of at settle.
2637
+ * looping" mid-run, in its next wake, instead of at settle.
3076
2638
  *
3077
2639
  * This closes the `watchTrace` → `raiseFinding` wire whose own docstring already described it
3078
2640
  * ("the seam an ONLINE detector uses to tell the driver 'this worker is looping/erroring' the
@@ -3257,13 +2819,58 @@ interface WorkerWatchOptions {
3257
2819
  * driver's inbox with the same signal every span. Default 3; `<= 0` = unlimited. */
3258
2820
  readonly maxFindingsPerWorker?: number;
3259
2821
  }
3260
- /** Default ceiling for a single `await_event` block (ms). Every `pending` return costs the driver an
3261
- * inference turn, so the ceiling is as long as the harness clients allow: Claude Code 2.1.287 and
3262
- * Codex both time out an MCP tool call at 60 s by default (measured 2026-10-03: a 150 s HTTP MCP
3263
- * call failed at about 60 s and passed with `MCP_TOOL_TIMEOUT=300000`), and the Sandbox edge held
3264
- * a 200 s response. 45 s leaves 15 s of that minute for transfer and the driver's own latency. At
3265
- * 15 s a Discovery root director spent 303 of its 401 native tool calls (76%) re-polling. */
3266
- declare const DEFAULT_AWAIT_EVENT_TIMEOUT_MS = 45000;
2822
+ /** What a manager waits for, from `awaitWake`. */
2823
+ interface AwaitWakeInput {
2824
+ /** The driver attempt the wake will start: its deliveries are acknowledged when that turn
2825
+ * completes, and named again on re-entry when it fails. Omit for the current attempt. */
2826
+ readonly attempt?: number;
2827
+ readonly signal: AbortSignal;
2828
+ /** Wake with no event after this long, so a waiting manager can reconsider. */
2829
+ readonly heartbeatMs: number;
2830
+ /** After the first event, wait this long for more and deliver them together. */
2831
+ readonly debounceMs: number;
2832
+ /** Epoch ms of a deadline warning: wake once then, with or without an event. */
2833
+ readonly deadlineAt?: number;
2834
+ /** Something outside the bus that also ends the wait, such as a delivery to the manager's own
2835
+ * inbox. */
2836
+ readonly alsoWakeOn?: Promise<unknown>;
2837
+ }
2838
+ /** One wake of a manager that ended its turn with work open. */
2839
+ interface ManagerWake {
2840
+ /** `events`: something reached the inbox. `heartbeat`: the heartbeat elapsed with nothing new.
2841
+ * `deadline`: the deadline warning came due. */
2842
+ readonly reason: 'events' | 'heartbeat' | 'deadline';
2843
+ /** Everything that reached the inbox since the last turn, in bus order. */
2844
+ readonly events: ReadonlyArray<Record<string, unknown> & {
2845
+ readonly eventSeq: number;
2846
+ }>;
2847
+ /** Workers still running. */
2848
+ readonly live: ReadonlyArray<Record<string, unknown>>;
2849
+ /** How many more workers can start now; `null` when uncapped. */
2850
+ readonly freeSlots: number | null;
2851
+ /** How long the manager waited, with no model turn, before this wake. */
2852
+ readonly idleMs: number;
2853
+ }
2854
+ /** A steer or an answer this manager received from its lead. */
2855
+ interface LeadMessage {
2856
+ readonly kind: 'steer' | 'answer';
2857
+ readonly text: string;
2858
+ readonly questionId?: string;
2859
+ /** The lead asked for the message to interrupt; it is delivered at the next wake either way. */
2860
+ readonly interrupt: boolean;
2861
+ }
2862
+ /** A tool call that outlived its response fence, and its outcome once it settled. */
2863
+ interface ToolOutcomeEvent {
2864
+ /** The receipt the caller was given when the fence elapsed. */
2865
+ readonly receipt: string;
2866
+ readonly tool: string;
2867
+ readonly ok: boolean;
2868
+ /** The tool's result, when it succeeded. */
2869
+ readonly value?: unknown;
2870
+ /** The tool's error message, when it failed. */
2871
+ readonly error?: string;
2872
+ readonly elapsedMs: number;
2873
+ }
3267
2874
  /**
3268
2875
  * The supervisor-side toolbox returned by {@link createCoordinationTools}: the MCP tool
3269
2876
  * descriptors a driver `AgentProfile` calls to spawn, steer, observe, and settle workers
@@ -3304,7 +2911,7 @@ interface CoordinationTools {
3304
2911
  readonly peerMail?: PeerMailbox;
3305
2912
  /** Raise a `finding` on the bus from outside the settle hook — the seam an ONLINE detector
3306
2913
  * (mid-run, on the worker pipe) uses to tell the driver "this worker is looping/erroring" the
3307
- * moment it happens, instead of only at settle. Queued for `await_event` + pass-through. */
2914
+ * moment it happens, instead of only at settle. Queued for the next wake + pass-through. */
3308
2915
  raiseFinding(finding: AnalystFindingEvent): Promise<void>;
3309
2916
  /** Authorize, durably record, and attempt one external steer through the same down-leg used by
3310
2917
  * `steer_agent`. The returned outcome is exact and is never inferred from queue admission. */
@@ -3344,6 +2951,32 @@ interface CoordinationTools {
3344
2951
  /** Mark the end of the current driver attempt. A completed turn acknowledges what it received;
3345
2952
  * a failed one leaves its deliveries unacknowledged for the next re-entry to name. */
3346
2953
  endDriverAttempt(outcome: 'completed' | 'failed'): Promise<void>;
2954
+ /** True while this manager has work it must hear back about: a worker running, a result or
2955
+ * question not yet delivered, or a tool call still running past its response fence. A turn
2956
+ * that ends with open work is a wait, not a completion. */
2957
+ hasOpenWork(): boolean;
2958
+ /** Wait, with no model turn, until something reaches this manager's inbox, the heartbeat
2959
+ * elapses, or the deadline warning comes due; then deliver everything that arrived. Undefined
2960
+ * when no work is open or the signal aborted. */
2961
+ awaitWake(input: AwaitWakeInput): Promise<ManagerWake | undefined>;
2962
+ /** Wait in code, with no model turn, until at least one of `workerIds` has settled into this
2963
+ * manager's ledger; returns the ids that have. Nothing is taken from the inbox: the manager
2964
+ * still receives each settlement in its own wake. Empty when none of them is live or settled. */
2965
+ awaitSettlement(workerIds: ReadonlyArray<string>, signal?: AbortSignal): Promise<ReadonlyArray<string>>;
2966
+ /** Queue a steer or answer from this manager's lead for its next wake. False when the message
2967
+ * is neither. The publish is in-process; a durable subscriber records it. */
2968
+ receiveLeadMessage(message: unknown): boolean;
2969
+ /** Register a tool call that outlived its response fence; returns the receipt its caller is
2970
+ * given. The call is open work until {@link CoordinationTools.settleToolReceipt}. */
2971
+ openToolReceipt(tool: string): string;
2972
+ /** Publish the outcome of a receipted tool call to the inbox, where the next wake delivers it. */
2973
+ settleToolReceipt(receipt: string, outcome: {
2974
+ readonly ok: true;
2975
+ readonly value: unknown;
2976
+ } | {
2977
+ readonly ok: false;
2978
+ readonly error: unknown;
2979
+ }): Promise<void>;
3347
2980
  /** The run state a re-entered manager is told, read from this coordinator's own records. */
3348
2981
  reentryState(): ManagerReentryState;
3349
2982
  /** Every time this manager's completion check ran, oldest first: each `submit_result`, and each
@@ -3493,45 +3126,6 @@ declare function anytimeReport(spans: WaterfallSpan[], opts?: {
3493
3126
  /** One row per (strategy, satisficing target): the shareable time-to-satisfactory table. */
3494
3127
  declare function renderAnytimeTable(report: AnytimeReport): string;
3495
3128
  //#endregion
3496
- //#region src/runtime/audit-intent.d.ts
3497
- interface AuditIntentInput {
3498
- /** The declared intent: the task text / acceptance criteria the agent was given. */
3499
- declaredIntent: string;
3500
- /** The trajectory so far — tool calls + results + assistant turns (any event shapes). */
3501
- trace: ReadonlyArray<unknown>;
3502
- /** The principal's actual intent when it differs from the literal task (the contract). */
3503
- userIntent?: string;
3504
- /** The loop-level purpose (meta-intent): what the WHOLE run is for — lets the auditor
3505
- * flag locally-sensible work that serves the wrong larger objective. */
3506
- metaIntent?: string;
3507
- runId?: string;
3508
- }
3509
- interface AuditIntentOptions {
3510
- /** Exact auditor identity. */
3511
- profile: AgentProfile;
3512
- /** Execution substrate. All behavior comes from the profile. */
3513
- executor: ExecutorConfig;
3514
- /** Cap trace lines fed to the auditor. Default 80. */
3515
- maxTraceLines?: number;
3516
- signal?: AbortSignal;
3517
- }
3518
- interface IntentAudit {
3519
- /** What the agent's actions reveal it is actually optimizing — one sentence. */
3520
- revealedIntent: string;
3521
- verdict: 'aligned' | 'drifting' | 'diverged';
3522
- /** Trajectory-grounded evidence for the verdict (specific calls/patterns). */
3523
- evidence: string;
3524
- /** The single recommended intervention. */
3525
- recommendation: 'continue' | 'steer' | 'abort';
3526
- /** When recommendation is 'steer': the corrective instruction to inject. */
3527
- steer?: string;
3528
- confidence: number;
3529
- }
3530
- /** Default system instruction for intent-auditor agents: diagnose diverged/drifting trajectories. */
3531
- declare const defaultAuditorInstruction: string;
3532
- /** The route-rigor analyst: compare declared vs revealed vs user intent over a trajectory and return aligned / drifting / diverged with evidence and one recommended intervention. */
3533
- declare function auditIntent(input: AuditIntentInput, opts: AuditIntentOptions): Promise<IntentAudit>;
3534
- //#endregion
3535
3129
  //#region src/runtime/benchmark-report.d.ts
3536
3130
  /** Pull the headline score in [0,1] from a record. Default: the held-out split, else the search split,
3537
3131
  * else a `composite`/`passed`/`score` entry in the raw bag. Override to score a domain differently. */
@@ -4163,18 +3757,13 @@ declare function serveCoordinationMcp(opts: CoordinationTransportOptions & {
4163
3757
  perWorker: Budget;
4164
3758
  /** Independent completion check exposed to the driver as `submit_result`. The check runs
4165
3759
  * inside that call, so the call is served single-flight and fenced like `nodeTools`: a check
4166
- * still running at the fence returns a pending result, and an identical resubmission joins
4167
- * that check and returns its verdict. */
3760
+ * still running at the fence returns a receipt, and the verdict reaches the manager in its
3761
+ * next wake. */
4168
3762
  deliverable?: DeliverableSpec<unknown>;
4169
3763
  /** Serve `read_continuation` from the manager's continuation records. */
4170
3764
  readContinuation?: (continuation: number | undefined) => unknown;
4171
3765
  /** Called once when the external manager accepts a result or declares completion. */
4172
3766
  onStop?: (reason: string | undefined) => void;
4173
- /** Max wall-clock ms a single `await_event` may block before returning a re-pollable
4174
- * `{ pending, live }` snapshot instead of erroring on the client's request timeout. Omit =
4175
- * the `coordinationResponseFenceMs` derived from the request timeout; `<= 0` = prior unbounded
4176
- * block (in-process only). */
4177
- awaitTimeoutMs?: number;
4178
3767
  /** Trace-analyst lenses the driver can run (`run_analyst`) or auto-fire on settle. */
4179
3768
  analysts?: AnalystRegistry$1;
4180
3769
  /** Analyst kinds to auto-run when a worker settles `done` — findings flow up the bus. */
@@ -4208,7 +3797,8 @@ declare function serveCoordinationMcp(opts: CoordinationTransportOptions & {
4208
3797
  /** Product-selected tools already bound to this exact supervisor node. They share this server
4209
3798
  * with the coordination verbs, so the existing MCP duplicate-name guard applies before listen.
4210
3799
  * Each is served single-flight and fenced (`./single-flight-tools`): an identical call joins
4211
- * the unreturned run, and a call still running at the fence returns a pending result. */
3800
+ * the running call, and a call still running at the fence returns a receipt whose outcome
3801
+ * reaches the manager in its next wake. */
4212
3802
  nodeTools?: ReadonlyArray<McpToolDescriptor$1>;
4213
3803
  /** Exact bare tool names to expose from the coordination and node-tool set. Runtime never
4214
3804
  * grants an implicit complete tool set. An unknown name fails before the listener opens. */
@@ -4250,7 +3840,7 @@ declare function serveCoordinationMcp(opts: CoordinationTransportOptions & {
4250
3840
  /** Called with this server's exact MCP tool descriptors once they exist and BEFORE the listener
4251
3841
  * opens — the seam a caller uses to give an already-bound node tool a way to call the same
4252
3842
  * verbs in code (`SupervisorToolInvocationContext.verbs`). */
4253
- onCoordinationTools?: (tools: ReadonlyArray<McpToolDescriptor$1>) => void;
3843
+ onCoordinationTools?: (tools: ReadonlyArray<McpToolDescriptor$1>, coordination: Pick<CoordinationTools, 'awaitSettlement'>) => void;
4254
3844
  }): Promise<CoordinationMcpHandle>;
4255
3845
  //#endregion
4256
3846
  //#region src/runtime/supervise/finalizer.d.ts
@@ -4389,9 +3979,6 @@ interface ProgressView {
4389
3979
  readonly workers: ReadonlyArray<WorkerProgress>;
4390
3980
  /** Nodes running or acquiring. */
4391
3981
  readonly inFlight: number;
4392
- /** Armed wait-state nodes — deliberately separate from `inFlight`: a tree whose only remaining
4393
- * nodes are waits is NOT stalled, it is waiting on the world. */
4394
- readonly waiting: number;
4395
3982
  }
4396
3983
  /** A stop rule's answer. `reason` is required when stopping — a run that ends must be able to say
4397
3984
  * why in the result, and an unexplained early stop is indistinguishable from a bug. */
@@ -4499,6 +4086,19 @@ declare function anyOf(...rules: ReadonlyArray<StopRule>): StopRule;
4499
4086
  /** Stop only when EVERY rule stops — for a conservative gate that needs corroboration. */
4500
4087
  declare function allOf(...rules: ReadonlyArray<StopRule>): StopRule;
4501
4088
  //#endregion
4089
+ //#region src/runtime/supervise/wake.d.ts
4090
+ /** How Runtime wakes a manager that ended its turn with work open. */
4091
+ interface ManagerWakePolicy {
4092
+ /** Wake with no event after this long, so a waiting manager can reconsider. Default 15 min. */
4093
+ readonly heartbeatMs?: number;
4094
+ /** After the first event, wait this long for more and deliver them together. Default 2 s. */
4095
+ readonly debounceMs?: number;
4096
+ /** Wake once this long before the deadline and ask for the best result now. Default 15 min. */
4097
+ readonly deadlineWarningMs?: number;
4098
+ }
4099
+ /** How long before its deadline a manager is woken once to submit its best result: 15 min. */
4100
+ declare const DEFAULT_DEADLINE_WARNING_MS: number;
4101
+ //#endregion
4502
4102
  //#region src/runtime/supervise/supervisor-agent.d.ts
4503
4103
  /** A supervisor is an exact canonical AgentProfile; no looser model/prompt shape exists. */
4504
4104
  type SupervisorProfile = AgentProfile;
@@ -4552,7 +4152,9 @@ type SupervisorNodeContextSeed = Omit<SupervisorNodeContext, 'nodeId' | 'profile
4552
4152
  */
4553
4153
  interface CoordinationVerbs {
4554
4154
  spawnAgent(args: unknown): Promise<unknown>;
4555
- awaitEvent(args: unknown): Promise<unknown>;
4155
+ /** Wait in code until at least one of `{ workerIds }` has settled; returns `{ settled: ids }`.
4156
+ * Takes nothing from the manager's inbox, so the manager still hears of each settlement. */
4157
+ awaitSettlement(args: unknown): Promise<unknown>;
4556
4158
  steerAgent(args: unknown): Promise<unknown>;
4557
4159
  observeAgent(args: unknown): Promise<unknown>;
4558
4160
  listQuestions(args: unknown): Promise<unknown>;
@@ -4598,7 +4200,7 @@ type ObserveSupervisorNodeEvent = (context: SupervisorNodeContext, event: Coordi
4598
4200
  /** How to run an external harness as the DRIVER, with the coordination verbs mounted — the substrate
4599
4201
  * seam the caller supplies (mirrors `makeWorkerAgent` for spawned children). It runs `profile` on
4600
4202
  * `task` in its backend (remote sandbox or local CLI bridge) with `coordinationMcpUrl` mounted as an MCP server,
4601
- * so the harness calls spawn_worker / await_event / stop as native tools over the live scope. */
4203
+ * so the harness calls spawn_worker / observe_agent / submit_result as native tools over the live scope. */
4602
4204
  interface DriveHarness {
4603
4205
  (args: {
4604
4206
  /** The exact provider-visible projection. Runtime-owned coordination tool declarations are
@@ -4734,9 +4336,9 @@ interface SupervisorAgentDeps {
4734
4336
  readonly watchWorkers?: WorkerWatchOptions;
4735
4337
  /** Idle time after which `observe_agent` reports a worker as stalled. Omit = runtime default. */
4736
4338
  readonly stallAfterMs?: number;
4737
- /** Router-driver arm only: max ms one `await_event` blocks before returning `{ pending }`. The
4738
- * harness arm keeps the fence derived from its MCP request timeout. Omit = runtime default. */
4739
- readonly awaitTimeoutMs?: number;
4339
+ /** How Runtime wakes this manager after it ends a turn with work open (both arms). Omit = the
4340
+ * defaults in `./wake`. */
4341
+ readonly wake?: ManagerWakePolicy;
4740
4342
  /** Default continuity per worker PROFILE NAME (both arms) — `'resume'` re-attaches spawns of
4741
4343
  * that name to the node's latest settled worker; `spawn_worker`'s per-call `continuity`
4742
4344
  * overrides. Omit = every spawn fresh (status quo). */
@@ -5094,21 +4696,21 @@ declare function workerFromBackend(backend: ExecutorConfig, deliverable?: Delive
5094
4696
  /** Manager-authored profiles are untrusted until product policy says otherwise. Remote MCP and
5095
4697
  * ambient connection grants therefore fail closed by default, in addition to local MCP and hooks. */
5096
4698
  declare const DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY: AgentProfileSecurityPolicy;
5097
- /** A name→value table, in this package's resolver-port shape (the same one `WaitProbeRegistry`
5098
- * uses): construction stays the caller's, lookup stays lazy, and a table backed by a file, a
5099
- * plugin loader, or a plain object all satisfy one interface. */
4699
+ /** A name→value table in this package's resolver-port shape: construction stays the caller's,
4700
+ * lookup stays lazy, and a table backed by a file, a plugin loader, or a plain object all
4701
+ * satisfy one interface. */
5100
4702
  interface SuperviseRegistryTable<T> {
5101
4703
  resolve(name: string): T | undefined;
5102
- /** The names the table holds. The four code-valued tables may omit it, because a caller names
4704
+ /** The names the table holds. The three code-valued tables may omit it, because a caller names
5103
4705
  * their entries from data it already has. The profiles table must list them, because a
5104
4706
  * director can choose only from a menu it can read. */
5105
4707
  names?(): readonly string[];
5106
4708
  }
5107
4709
  /**
5108
- * The name→value tables that make the four CODE-valued options expressible as run DATA, and the
4710
+ * The name→value tables that make the three CODE-valued options expressible as run DATA, and the
5109
4711
  * profiles a director may spawn by name.
5110
4712
  *
5111
- * `deliverable` / `finalizer` / `analysts` / `probes` are functions and registries, so a recorded
4713
+ * `deliverable` / `finalizer` / `analysts` are functions and registries, so a recorded
5112
4714
  * run configuration (a JSON row, a campaign spec, a resumed run's options) cannot carry them — and
5113
4715
  * a run with no `deliverable` cannot return a `winner` at all outside the sandbox backend, because
5114
4716
  * the finalizer keeps only children whose oracle passed and nothing else writes that verdict. A
@@ -5125,7 +4727,6 @@ interface SuperviseRegistry {
5125
4727
  readonly deliverables?: SuperviseRegistryTable<DeliverableSpec<unknown>>;
5126
4728
  readonly finalizers?: SuperviseRegistryTable<SupervisorFinalizer>;
5127
4729
  readonly analysts?: SuperviseRegistryTable<AnalystRegistry$1>;
5128
- readonly probes?: SuperviseRegistryTable<WaitProbeRegistry>;
5129
4730
  readonly profiles?: SuperviseRegistryTable<SuperviseProfileEntry> & {
5130
4731
  names(): readonly string[];
5131
4732
  };
@@ -5266,7 +4867,7 @@ interface SuperviseOptions {
5266
4867
  * Omit to run profiles exactly as authored: Runtime selects no standing guidance by itself. */
5267
4868
  readonly profileGuidance?: 'profile-kb';
5268
4869
  /** Whether a spawned profile that declares no Runtime coordination tool receives its manager's
5269
- * coordination grants (`spawn_worker`, `await_event`, and the rest, plus `submit_result` so it
4870
+ * coordination grants (`spawn_worker`, `observe_agent`, and the rest, plus `submit_result` so it
5270
4871
  * can still deliver work it does itself), so every child can lead children of its own. Default
5271
4872
  * `true`. A child whose author wrote any coordination entry, true or false, keeps what was
5272
4873
  * written (a `false` entry is dropped once it has kept the child a leaf). A child this run
@@ -5422,13 +5023,13 @@ interface SuperviseOptions {
5422
5023
  * `registry.analysts`. */
5423
5024
  readonly analysts?: AnalystRegistry$1 | string;
5424
5025
  /** Analyst kind ids run AUTOMATICALLY when a worker settles `done` — each re-enters as a `finding`
5425
- * the driver pulls (`await_event`) and composes its next steer from. The self-improving UP-leg,
5026
+ * the driver receives in its next wake and composes its next steer from. The self-improving UP-leg,
5426
5027
  * threaded to the driver at this level (propagate to sub-drivers via a recursive `makeWorkerAgent`).
5427
5028
  * Omit/empty = status quo (no analyst feed). Requires `analysts`. */
5428
5029
  readonly analyzeOnSettle?: ReadonlyArray<string | AnalyzeOnSettleRoute>;
5429
5030
  /**
5430
5031
  * Watch every worker's LIVE tool trace with the online detector panel and raise a `finding` the
5431
- * moment one loops or error-storms — so the supervisor learns it mid-run (via `await_event`)
5032
+ * moment one loops or error-storms — so the supervisor learns it mid-run (in its next wake)
5432
5033
  * instead of at settle. Pairs with a steerable worker: the finding is the evidence, `steer_agent`
5433
5034
  * is the correction. Requires a backend whose executor exposes a trace source (the steerable
5434
5035
  * sandbox worker and the pi wrapper do); other runtimes are simply not watched.
@@ -5439,11 +5040,10 @@ interface SuperviseOptions {
5439
5040
  /** Idle time after which `observe_agent` reports a running worker as `stalled`. A derived read
5440
5041
  * at observation time — nothing is killed or retried. Omit = the runtime default. */
5441
5042
  readonly stallAfterMs?: number;
5442
- /** Max wall-clock ms one `await_event` of an in-process Router driver blocks before it returns a
5443
- * re-pollable `{ pending, live }` snapshot. Each return costs the driver a turn, so a run whose
5444
- * workers take hours needs either a large `maxTurns` or a longer wait. A harness-driven
5445
- * supervisor keeps the fence derived from its MCP request timeout. Omit = the runtime default. */
5446
- readonly awaitTimeoutMs?: number;
5043
+ /** How Runtime wakes a manager that ended its turn with work open: the heartbeat, the debounce
5044
+ * that coalesces events into one wake, and the deadline warning. Omit = the defaults in
5045
+ * `./wake` (15 min, 2 s, 15 min). */
5046
+ readonly wake?: ManagerWakePolicy;
5447
5047
  /** Default continuity per worker PROFILE NAME: `'resume'` makes each spawn of that name after
5448
5048
  * the first re-attach to the node's most recent SETTLED worker — a NEW live worker whose spawn
5449
5049
  * context carries the prior worker's identity (`WorkerSpawnContext.resume`), which the executor
@@ -5479,8 +5079,9 @@ interface SuperviseOptions {
5479
5079
  * resumable run per directory but collides across concurrent runs sharing one `runDir`.
5480
5080
  */
5481
5081
  readonly runDir?: string;
5482
- /** Opt into resume-first explicitly when the durable stores are caller-supplied (`journal` +
5483
- * `blobs`, e.g. `createSqlRunContext`) instead of derived from `runDir`. Exactly what the file
5082
+ /** Advanced test seam: opt into resume-first when the durable stores are caller-supplied
5083
+ * (`journal` + `blobs` / `runContext`) instead of derived from `runDir`. The normal durable path
5084
+ * is `runDir` or a `runContext` (see `docs/durability.md`). Exactly what the file
5484
5085
  * context sets automatically: load the prior tree for `runId` before starting fresh, refuse a
5485
5086
  * reused id without it. Ignored when `runDir` is also set — the file context owns the flag. */
5486
5087
  readonly resume?: boolean;
@@ -5489,11 +5090,6 @@ interface SuperviseOptions {
5489
5090
  /** Override the spawn journal directly (advanced; `runDir` is the ordinary durable path). Pair
5490
5091
  * with `blobs` — a journal whose result payloads live in a different store cannot replay. */
5491
5092
  readonly journal?: SpawnJournal;
5492
- /** Predicate registry for `poll` wait-states (`Scope.wait`). A `poll` names its predicate so the
5493
- * wait survives a restart; this is what the name resolves against. Unset ⇒ `poll` waits are
5494
- * refused `unknown-probe` and `timer` waits still work. A `string` names an entry in
5495
- * `registry.probes`. */
5496
- readonly probes?: WaitProbeRegistry | string;
5497
5093
  /**
5498
5094
  * PROGRESS-derived stop rule (BOTH arms). Ends a run that has stopped LEARNING before it
5499
5095
  * exhausts a ceiling — the answer to "a run should end because it is done or stuck, not because
@@ -5801,11 +5397,6 @@ declare class FileObserverJournal implements ObserverJournal {
5801
5397
  declare function verifyObserverRecords(records: readonly ObserverRecord[], pursuitId?: string): readonly ObserverRecord[];
5802
5398
  /** Compute the canonical SHA-256 digest for an unsigned observer record. */
5803
5399
  declare function observerRecordDigest(record: Omit<ObserverRecord, 'digest'>): string;
5804
- /** Build the canonical durable observer hook in one call. */
5805
- declare function createFileObserverHooks(path: string, pursuitId: string): {
5806
- readonly journal: FileObserverJournal;
5807
- readonly hooks: RuntimeHooks;
5808
- };
5809
5400
  //#endregion
5810
5401
  //#region src/durable/observer-projection.d.ts
5811
5402
  /**
@@ -5992,7 +5583,6 @@ interface PursuitNodeProjection {
5992
5583
  /** Each channel on which the settled spend exceeded the node's reservation. The status is the
5993
5584
  * node's own outcome: a `done` node that overspent still delivered its output. */
5994
5585
  readonly budgetViolation?: BudgetViolation;
5995
- readonly wait?: unknown;
5996
5586
  readonly firstSequence: number;
5997
5587
  readonly lastSequence: number;
5998
5588
  readonly firstObservedAt: number;
@@ -6062,19 +5652,6 @@ interface PursuitObserverDelivery {
6062
5652
  readonly timeoutMs?: number;
6063
5653
  readonly fetch?: typeof fetch;
6064
5654
  }
6065
- /** The execution state Runtime reports. It never claims the pursuit's semantic success. */
6066
- type PursuitObserverState = 'running' | 'done' | 'failed';
6067
- type PursuitObserverDeliveryOutcome = {
6068
- readonly succeeded: true;
6069
- readonly status: number;
6070
- } | {
6071
- readonly succeeded: false;
6072
- readonly reason: string;
6073
- };
6074
- /** The Intelligence route that persists a delivered projection on its run spine. */
6075
- declare const PURSUIT_OBSERVER_DELIVERY_PATH = "/v1/ingest/pursuit-observer";
6076
- /** POST one projection. Never throws; the outcome says whether Intelligence accepted it. */
6077
- declare function deliverPursuitObserver(delivery: PursuitObserverDelivery, state: PursuitObserverState, projection: PursuitProjection): Promise<PursuitObserverDeliveryOutcome>;
6078
5655
  //#endregion
6079
5656
  //#region src/durable/run-fork.d.ts
6080
5657
  /**
@@ -6105,8 +5682,6 @@ interface PursuitFork {
6105
5682
  * spend of every version of one lineage groups under one id.
6106
5683
  */
6107
5684
  declare const RUN_FORK_CORRELATION_KEYS: readonly ["forkParentRunId", "forkParentSettleDigest", "forkProfileDiffId", "lineageRootRunId"];
6108
- /** The correlation key an accepted uncertain parent adds: its uncertain node ids, comma-joined. */
6109
- declare const FORK_PARENT_UNCERTAIN_NODES_KEY = "forkParentUncertainNodes";
6110
5685
  //#endregion
6111
5686
  //#region src/durable/supervise-pursuit.d.ts
6112
5687
  interface SupervisePursuitOptions extends SuperviseOptions {
@@ -6228,6 +5803,13 @@ interface PursuitVersionStop {
6228
5803
  /** A version takes the lead when its score beats the kept version's by more than this.
6229
5804
  * Default 0. */
6230
5805
  readonly minImprovement?: number;
5806
+ /**
5807
+ * Stop after this many versions in a row failed identically: each run ended `driver-failed`
5808
+ * with the same error, or the judge could not score it. Such a failure repeats whatever the
5809
+ * next change is (a refused workspace file, a broken credential), so neither patience nor a
5810
+ * version cap should be what stops it. Default 3.
5811
+ */
5812
+ readonly identicalFailures?: number;
6231
5813
  }
6232
5814
  /** An outside judge. Runtime calls it after a version's settle record exists, never inside the
6233
5815
  * version's tree, and gives it no handle into that tree. Place it where you like, such as its own
@@ -6292,6 +5874,12 @@ interface PursuitVersionChain {
6292
5874
  /** Why the chain stopped: the kernel's close reason (`patience`, `max-nodes`, `budget`,
6293
5875
  * `deadline` or `converged`). */
6294
5876
  readonly reason: SearchCloseReason;
5877
+ /** Present when the chain stopped because its last `versions` versions failed identically
5878
+ * (`stop.identicalFailures`); `reason` is then `converged`. */
5879
+ readonly identicalFailures?: {
5880
+ readonly versions: number;
5881
+ readonly failure: string;
5882
+ };
6295
5883
  /** The kept version's number: the kernel's leader when the chain closed. */
6296
5884
  readonly best: number;
6297
5885
  /** Every judged version, first first. */
@@ -6301,11 +5889,6 @@ interface PursuitVersionChain {
6301
5889
  /** A bounded receipt over the exact ledger bytes. */
6302
5890
  readonly receipt: SearchHistoryReceipt;
6303
5891
  }
6304
- /** Where `'review-of-best'` mounts a review: `inputs/review/version-<n>.md`. One review lives in
6305
- * a profile at a time. */
6306
- declare const REVIEW_DIR = "inputs/review/";
6307
- /** The chain's directory beside the first version's: the ledger and its content blobs. */
6308
- declare function pursuitVersionsLedgerPath(runDir: string): string;
6309
5892
  /**
6310
5893
  * Validate a `versions` option before any compute. The same check runs inside `supervisePursuit`;
6311
5894
  * a caller that records the option as data can run it at preflight.
@@ -6473,7 +6056,7 @@ interface DeclaredCheckPlacement {
6473
6056
  type DeclaredCheckStateCapture = (into: string) => Promise<void>;
6474
6057
  /** Refuse a malformed declaration before any compute. */
6475
6058
  declare function assertDeclaredCheck(check: DeclaredCheck, context: string): void;
6476
- /** The canonical digest of a directory's files: the digest a record names a program by. */
6059
+ /** The canonical digest of a check program's files: the digest a record names a program by. */
6477
6060
  declare function checkProgramDigest(dir: string): Promise<Sha256Digest>;
6478
6061
  /** The digest a version judge records: the program, the sealed cases, and how they are run. */
6479
6062
  declare function declaredCheckDigest(check: DeclaredCheck): Sha256Digest;
@@ -7339,9 +6922,8 @@ interface TrajectoryNode {
7339
6922
  readonly children: ReadonlyArray<NodeId>;
7340
6923
  readonly label: string;
7341
6924
  readonly runtime: string;
7342
- /** Terminal status the journal recorded for this node. `'waiting'` is a wait-state node that was
7343
- * armed and never woken — the journal's record of a run that died mid-wait. */
7344
- readonly status: 'done' | 'failed' | 'cancelled' | 'pending' | 'waiting';
6925
+ /** Terminal status the journal recorded for this node. */
6926
+ readonly status: 'done' | 'failed' | 'cancelled' | 'pending';
7345
6927
  /** This node's OWN conserved spend (from its `settled` event). */
7346
6928
  readonly ownSpend: Spend;
7347
6929
  /** This node's spend PLUS every descendant's — the rolled-up subtree cost. The cost a parent
@@ -8680,7 +8262,13 @@ declare function resolveSandboxClient(opts: ResolveSandboxClientOptions): Sandbo
8680
8262
  * @stable
8681
8263
  */
8682
8264
  declare function startRetainedInteractiveRun(options: StartRetainedInteractiveRunOptions): Promise<RetainedInteractiveRunHandle>;
8683
- /** Retry one exact start after its provider response may have been lost. @stable */
8265
+ /**
8266
+ * Retry one exact start after its provider response may have been lost.
8267
+ *
8268
+ * Resolves to the handle of the admitted process (resumed through the exact,
8269
+ * idempotent start request), or `null` when the provider no longer holds the
8270
+ * environment (not found; nothing remains to stop). @stable
8271
+ */
8684
8272
  declare function recoverRetainedInteractiveRun(options: RecoverRetainedInteractiveRunOptions): Promise<RetainedInteractiveRunHandle | null>;
8685
8273
  /** Rebuild controls for one exact provider-owned coding-agent process. @stable */
8686
8274
  declare function reconnectRetainedInteractiveRun(options: ReconnectRetainedInteractiveRunOptions): Promise<RetainedInteractiveRunHandle | null>;
@@ -8829,44 +8417,6 @@ interface AcquireOptions {
8829
8417
  */
8830
8418
  declare function acquireSandbox(client: SandboxClient, options: CreateSandboxOptions, acquire?: AcquireOptions): Promise<SandboxInstance>;
8831
8419
  //#endregion
8832
- //#region src/runtime/sandbox-capabilities.d.ts
8833
- /**
8834
- * What the loop kernel is allowed to know about a sandbox backend: a single
8835
- * capability bit, never the backend's identity. `canFork` gates the legacy
8836
- * checkpoint+fork fanout path; current live branching is detected on the box.
8837
- *
8838
- * @experimental
8839
- */
8840
- interface SandboxCapabilities {
8841
- /**
8842
- * True only when `client.criuStatus()` returned `{ available: true }`.
8843
- * Current live `branch(count)` boxes do not need this bit. When both paths
8844
- * are absent, a fork-enabled fanout degrades to independent fresh boxes.
8845
- */
8846
- canFork: boolean;
8847
- }
8848
- /**
8849
- * Probe (and memoize per client) what the loop may rely on. A client without a
8850
- * `criuStatus` method, or whose probe rejects, yields `canFork = false` — a
8851
- * failed probe must never claim a capability the platform may not have. The
8852
- * promise is cached so concurrent fanout branches share one round-trip.
8853
- *
8854
- * @experimental
8855
- */
8856
- declare function probeSandboxCapabilities(client: SandboxClient): Promise<SandboxCapabilities>;
8857
- /**
8858
- * Narrowed view of the optional CRIU probe. The loop-side `SandboxClient`
8859
- * does not require `criuStatus`; this widens it optionally so the probe can be
8860
- * read without importing sandbox-backend specifics. @experimental
8861
- */
8862
- interface CriuCapableClient {
8863
- criuStatus?: () => Promise<{
8864
- available: boolean;
8865
- criuVersion?: string;
8866
- reason?: string;
8867
- }>;
8868
- }
8869
- //#endregion
8870
8420
  //#region src/runtime/sandbox-lineage.d.ts
8871
8421
  /**
8872
8422
  * A live box plus the session that threads its iterations together. Handed back
@@ -8882,8 +8432,7 @@ interface SandboxLineageHandle {
8882
8432
  * Stable session id threaded through this box's `streamPrompt` calls. Minted
8883
8433
  * by the lineage on `start`; reused on `continue` so the server continues the
8884
8434
  * same conversation. A forked handle starts a fresh session on its new box —
8885
- * the shared context comes from the live branch or legacy checkpoint, not a
8886
- * shared session id.
8435
+ * the shared context comes from the live branch, not a shared session id.
8887
8436
  */
8888
8437
  sessionId: string;
8889
8438
  }
@@ -8916,8 +8465,8 @@ interface SandboxLineage {
8916
8465
  * the parent's IMAGE and PROFILE: under a real fork `specs[i]` does NOT
8917
8466
  * re-select a per-branch
8918
8467
  * profile (the SDK forks the running box, it can't swap the image). `specs[i]`
8919
- * picks the per-branch profile ONLY on the degraded fresh-box path (no branch
8920
- * or legacy fork support).
8468
+ * picks the per-branch profile ONLY on the degraded fresh-box path (no live
8469
+ * branch support).
8921
8470
  * A heterogeneous-profile fanout therefore homogenizes to the parent's profile
8922
8471
  * when fork is available — pass a single shared spec for forked fanouts, or
8923
8472
  * use `random@k` (no fork) when branches must differ. Each child's first turn
@@ -8942,13 +8491,11 @@ interface SandboxLineage {
8942
8491
  teardown(): Promise<void>;
8943
8492
  }
8944
8493
  /**
8945
- * Build a lineage bound to one client + its probed capabilities. The
8946
- * capabilities are passed in (not re-probed) so the kernel probes once per run
8947
- * and the lineage stays a pure function of "what this platform can do".
8494
+ * Build a lineage bound to one client. Branching is read from each box.
8948
8495
  *
8949
8496
  * @experimental
8950
8497
  */
8951
- declare function createSandboxLineage(client: SandboxClient, capabilities: SandboxCapabilities, options?: {
8498
+ declare function createSandboxLineage(client: SandboxClient, options?: {
8952
8499
  maxConcurrency?: number;
8953
8500
  streaming?: 'sse' | 'poll';
8954
8501
  /** Run provenance recorder forwarded to every `prepareBox` the lineage runs
@@ -8961,30 +8508,10 @@ declare function createSandboxLineage(client: SandboxClient, capabilities: Sandb
8961
8508
  beforeDelete?: (box: SandboxInstance) => Promise<void>;
8962
8509
  onAcquire?: (box: SandboxInstance, profile: AgentProfile) => void;
8963
8510
  }): SandboxLineage;
8964
- /**
8965
- * Loop-side widening of the box's optional checkpoint method. The
8966
- * `SandboxClient`/`SandboxInstance` surface the kernel relies on does not
8967
- * require checkpointing; this reads it optionally so the lineage can probe-gate
8968
- * without importing sandbox-backend specifics. @experimental
8969
- */
8970
- interface CheckpointCapableBox {
8971
- checkpoint?: (options?: {
8972
- leaveRunning?: boolean;
8973
- tags?: string[];
8974
- }) => Promise<{
8975
- checkpointId: string;
8976
- }>;
8977
- }
8978
8511
  /** Loop-side view of the current Sandbox SDK's live branch method. @experimental */
8979
8512
  interface BranchCapableBox {
8980
8513
  branch?: (count: number, options?: BranchOptions) => Promise<SandboxInstance[]>;
8981
8514
  }
8982
- /** Loop-side widening of the legacy checkpoint fork method. @experimental */
8983
- interface ForkCapableBox {
8984
- fork?: (checkpointId: string, options?: {
8985
- name?: string;
8986
- }) => Promise<SandboxInstance>;
8987
- }
8988
8515
  /**
8989
8516
  * Loop-side widening of the box's optional session accessor. The real
8990
8517
  * `SandboxInstance` exposes `session(id).status()`; the loop reads it optionally
@@ -9771,11 +9298,9 @@ interface DriverAgentOptions {
9771
9298
  /** Idle time after which `observe_agent` reports a worker as stalled (a derived read; nothing is
9772
9299
  * killed). Omit = the runtime default. */
9773
9300
  readonly stallAfterMs?: number;
9774
- /** Max wall-clock ms one `await_event` blocks before it returns a re-pollable `{ pending, live }`
9775
- * snapshot. Every return is one driver turn, so a driver whose workers run for hours spends a
9776
- * turn per interval. This driver runs in process with no transport timeout; a larger value
9777
- * trades liveness reads for fewer turns. Omit = `DEFAULT_AWAIT_EVENT_TIMEOUT_MS`. */
9778
- readonly awaitTimeoutMs?: number;
9301
+ /** How Runtime wakes this driver after a turn that ends with work open. Omit = the defaults in
9302
+ * `./wake`. */
9303
+ readonly wake?: ManagerWakePolicy;
9779
9304
  /** Default continuity per worker PROFILE NAME — `'resume'` makes spawns of that name re-attach
9780
9305
  * to the node's latest settled worker (see
9781
9306
  * `CoordinationToolsOptions.continuityByProfile`); `spawn_worker`'s per-call `continuity`
@@ -9906,7 +9431,7 @@ interface DriverAgentOptions {
9906
9431
  /** Called with this driver's coordination tool descriptors once they exist and before the brain
9907
9432
  * loop starts — the seam a node tool uses to call the same verbs in code
9908
9433
  * (`SupervisorToolInvocationContext.verbs`). */
9909
- readonly onCoordinationTools?: (tools: ReadonlyArray<McpToolDescriptor$1>) => void;
9434
+ readonly onCoordinationTools?: (tools: ReadonlyArray<McpToolDescriptor$1>, coordination: Pick<CoordinationTools, 'awaitSettlement'>) => void;
9910
9435
  readonly controlScope?: 'run' | 'subtree';
9911
9436
  /**
9912
9437
  * Abort the WHOLE run — the seam a run-scoped cancel request (`cancelRun`) is applied through.
@@ -10214,7 +9739,7 @@ declare class GraphEdgeCapError extends Error {
10214
9739
  * Forwarded to the root `supervise()` VERBATIM. Everything not owned, transformed, or refused
10215
9740
  * above belongs here — the default is "a graph honors it", not "someone remembered to add it".
10216
9741
  */
10217
- declare const GRAPH_FORWARDED_SUPERVISE_OPTIONS: readonly ["backend", "profileGuidance", "escalateQuestion", "rootHandle", "signal", "execution", "resolveDeliverable", "coordination", "peerMail", "driverBackend", "profileSecurity", "authorizeSpawn", "router", "driveHarness", "driverRetry", "onDriverAttempt", "workerRetry", "onWorkerRetry", "continuation", "childSettleGraceMs", "teardownConfirmMs", "retainedAtSettlement", "resolveDriveHarness", "driveHarnessMaterialization", "resolveSupervisorTools", "extraTools", "executeExtraTool", "recoverExecutor", "perWorker", "reservationPolicy", "workerSlots", "watchWorkers", "stallAfterMs", "awaitTimeoutMs", "runDir", "resume", "runContext", "steerDir", "probes", "stopRule", "onProgressStop", "maxDepth", "maxTurns", "compaction", "now", "allowedModels", "finalizer", "otel"];
9742
+ declare const GRAPH_FORWARDED_SUPERVISE_OPTIONS: readonly ["backend", "profileGuidance", "escalateQuestion", "rootHandle", "signal", "execution", "resolveDeliverable", "coordination", "peerMail", "driverBackend", "profileSecurity", "authorizeSpawn", "router", "driveHarness", "driverRetry", "onDriverAttempt", "workerRetry", "onWorkerRetry", "continuation", "childSettleGraceMs", "teardownConfirmMs", "retainedAtSettlement", "resolveDriveHarness", "driveHarnessMaterialization", "resolveSupervisorTools", "extraTools", "executeExtraTool", "recoverExecutor", "perWorker", "reservationPolicy", "workerSlots", "watchWorkers", "stallAfterMs", "wake", "runDir", "resume", "runContext", "steerDir", "stopRule", "onProgressStop", "maxDepth", "maxTurns", "compaction", "now", "allowedModels", "finalizer", "otel"];
10218
9743
  /** `backend` and `driverBackend` keep graph-specific documentation below.
10219
9744
  *
10220
9745
  * Do not inherit and redeclare them through an indexed access type.
@@ -10386,10 +9911,6 @@ type WorkerInteractiveAdmission = {
10386
9911
  readonly ref: AgentInteractiveSessionRef;
10387
9912
  readonly refDigest: `sha256:${string}`;
10388
9913
  };
10389
- /** Return the exact credential-free admission file for one worker and phase. */
10390
- declare function workerInteractiveAdmissionFile(eventDir: string, workerId: string, phase: WorkerInteractiveAdmission['phase']): string;
10391
- /** Read all durable admissions for one worker, oldest phase first. */
10392
- declare function readWorkerInteractiveAdmissions(eventDir: string, workerId: string): ReadonlyArray<WorkerInteractiveAdmission>;
10393
9914
  //#endregion
10394
9915
  //#region src/runtime/supervise/interactive-worker.d.ts
10395
9916
  /** Environment fields supplied to every interactive worker after Runtime adds the exact profile. */
@@ -10601,17 +10122,6 @@ interface ProvisionedSupervisor {
10601
10122
  */
10602
10123
  declare function provisionSupervisor(request: ProvisionSupervisorRequest): Promise<ProvisionedSupervisor>;
10603
10124
  //#endregion
10604
- //#region src/runtime/supervise/run-context-sql.d.ts
10605
- interface SqlRunContext {
10606
- readonly journal: SpawnJournal;
10607
- readonly blobs: ResultBlobStore;
10608
- readonly executors: ExecutorRegistry;
10609
- /** Always `true` — a SQL context is durable by construction, so runs resume-first. */
10610
- readonly resume: true;
10611
- }
10612
- /** Build a durable run context over one SQL statement seam. Tables are created on first use. */
10613
- declare function createSqlRunContext(db: SqlStatements): SqlRunContext;
10614
- //#endregion
10615
10125
  //#region src/runtime/supervise/scope.d.ts
10616
10126
  /** Construction args for `createScope`. The supervisor threads the shared pool, journal,
10617
10127
  * blob store, and executor registry through; `depth`/`maxDepth` pair the runtime
@@ -10629,11 +10139,6 @@ interface ScopeArgs {
10629
10139
  readonly blobs: ResultBlobStore;
10630
10140
  /** The open executor resolver (BYO → router/inline → registered harness factory). */
10631
10141
  readonly executors: ExecutorRegistry;
10632
- /** Predicate resolver for `poll` wait-states. Absent ⇒ `wait` refuses a `poll` with
10633
- * `unknown-probe`; `timer` waits never touch it. */
10634
- readonly probes?: WaitProbeRegistry;
10635
- /** Injected sleeper for wait-states — a test drives a week-long timer in microseconds. */
10636
- readonly waitSleep?: (ms: number, signal: AbortSignal) => Promise<void>;
10637
10142
  /** Per-spawn executor-construction seams (sandbox client, router config, cli bin). */
10638
10143
  readonly seams: Readonly<Record<string, unknown>>;
10639
10144
  /** This scope's recursion depth (root = 0). */
@@ -10706,11 +10211,6 @@ interface ScopeArgs {
10706
10211
  readonly maxSpawnOrdinal: number;
10707
10212
  /** Highest cursor `seq` already journaled; new settlements start at `+1`. */
10708
10213
  readonly maxCursorSeq: number;
10709
- /** Highest `waiting` ordinal already journaled; new waits start at `+1`. */
10710
- readonly maxWaitOrdinal: number;
10711
- /** Waits journaled as armed but never woken — re-armed (same node id, same absolute deadline)
10712
- * when `wait` is called again with the SAME label. */
10713
- readonly waits: ReadonlyArray<PendingWait>;
10714
10214
  /** Keyed assignments from the prior journal — what a keyed re-spawn resolves against. */
10715
10215
  readonly keys: ReadonlyMap<string, ResumedKeyState<unknown>>;
10716
10216
  /** Prior committed spend summed off the journal (settled child work + metered inference). */
@@ -10973,10 +10473,6 @@ interface AttachWorkerOptions {
10973
10473
  readonly providers: WorkerInteractiveProviderSource;
10974
10474
  readonly signal?: AbortSignal;
10975
10475
  }
10976
- /** Directory containing exact per-worker interactive binding records. @stable */
10977
- declare function workerInteractiveBindingsDir(eventDir: string): string;
10978
- /** Exact durable binding file for one worker id. @stable */
10979
- declare function workerInteractiveBindingFile(eventDir: string, workerId: string): string;
10980
10476
  /** Read and validate one exact durable worker binding. @stable */
10981
10477
  declare function readWorkerInteractiveBinding(eventDir: string, workerId: string): WorkerInteractiveBinding | undefined;
10982
10478
  /**
@@ -11042,17 +10538,7 @@ interface WorktreeFanoutOptions extends PatchDeliverableOptions {
11042
10538
  */
11043
10539
  declare function worktreeFanout<Task>(options: WorktreeFanoutOptions): CombinatorShape<Task, WorktreePatchArtifact>;
11044
10540
  //#endregion
11045
- //#region src/runtime/supervise-surface.d.ts
11046
- /** What a surface worker settles with — the surface verdict the driver + deliverable read. `resolved` is
11047
- * the surface check's pass/fail (settled ⟺ resolved); `score` is the partial-credit fraction; `failing`
11048
- * carries the tests this worker left red (so the analyst can target them). */
11049
- interface SurfaceWorkerOut {
11050
- readonly resolved: boolean;
11051
- readonly score: number;
11052
- readonly shots: number;
11053
- readonly summary: string;
11054
- readonly failing?: readonly string[];
11055
- }
10541
+ //#region src/runtime/supervise-analysts.d.ts
11056
10542
  /**
11057
10543
  * Adapt an `agent-eval` `AnalystRegistry` into the lens shape `supervise({ analysts })` takes.
11058
10544
  *
@@ -11102,52 +10588,6 @@ interface AnalystAuthoring {
11102
10588
  * the driver the still-FAILING tests (not just a score), so the next spawn targets the persistently-hard
11103
10589
  * cases. Swap `analysts` to change what the driver improves from — that's the one knob. */
11104
10590
  declare function failuresAnalyst(): AnalystRegistry$1;
11105
- /** How a worker runs the surface task (its router substrate + per-attempt bounds). */
11106
- interface SurfaceWorkerConfig {
11107
- readonly routerBaseUrl: string;
11108
- readonly routerKey: string;
11109
- /** Exact worker behavior, tools, and model. */
11110
- readonly profile: AgentProfile;
11111
- readonly analystProfile?: AgentProfile;
11112
- readonly innerTurns?: number;
11113
- /** Refine-shot budget for ONE worker attempt (max steered shots). Default 1. */
11114
- readonly budget?: number;
11115
- }
11116
- interface SuperviseSurfaceOptions {
11117
- /** The graded surface workers solve (open/tools/call/score/close). */
11118
- readonly surface: AgenticSurface;
11119
- /** Where/how each worker runs the surface task. */
11120
- readonly worker: SurfaceWorkerConfig;
11121
- /** The conserved compute pool for the whole supervised run. Default: sized off the worker's inner-loop
11122
- * bounds for a handful of worker spawns — raise it to let the driver try more. */
11123
- readonly budget?: Budget;
11124
- /** The driver brain's Router endpoint/auth. Model and behavior remain owned by `profile`. */
11125
- readonly router?: RouterTransportConfig;
11126
- /** The self-improvement lens fed to the driver on each settled worker. Default `failuresAnalyst()`
11127
- * (target the still-failing tests). Pass a custom registry to change it, or `null` to turn the
11128
- * within-run self-improvement OFF (the driver sees raw settled outputs). */
11129
- readonly analysts?: AnalystRegistry$1 | null;
11130
- /** The strategy each worker runs over the surface. Default `refine` (iterate-with-feedback). */
11131
- readonly strategy?: Strategy;
11132
- /** Max workers working at once; later spawns queue. Default 1 (serial — required when workers share
11133
- * a persistent artifact, so they continue each other instead of racing the file). */
11134
- readonly workerSlots?: number;
11135
- }
11136
- /** The deployable outcome of a supervised surface run. */
11137
- interface SuperviseSurfaceResult {
11138
- readonly resolved: boolean;
11139
- readonly score: number;
11140
- readonly usd: number;
11141
- readonly tokensIn: number;
11142
- readonly tokensOut: number;
11143
- readonly ms: number;
11144
- /** Total conserved-pool iterations = the driver + worker LLM rounds the run actually spent. */
11145
- readonly completions: number;
11146
- }
11147
- /** Drive a team of agents (spawned + steered by `profile`) to solve a graded `AgenticSurface` task, and
11148
- * report the deployable outcome + the full conserved spend. This is `supervise()` configured for surfaces
11149
- * — there is no other entrypoint to learn. */
11150
- declare function superviseSurface(profile: SupervisorProfile, task: AgenticTask, opts: SuperviseSurfaceOptions): Promise<SuperviseSurfaceResult>;
11151
10591
  //#endregion
11152
10592
  //#region src/runtime/surface-diff.d.ts
11153
10593
  /** Outcome of reading one surface back at settle. `missing: true` means the path no longer exists
@@ -11284,5 +10724,5 @@ interface VerifierEnvironmentOptions {
11284
10724
  /** 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. */
11285
10725
  declare function createVerifierEnvironment(opts: VerifierEnvironmentOptions): Environment;
11286
10726
  //#endregion
11287
- export { WorkspaceRun as $, SandboxEvidenceReceipt as $a, withWorkerSpawnRetry as $c, ContinuationInstruction as $d, createMcpServer as $f, AgentProfileMaterializationAxis as $h, registryScopeAnalyst as $i, FinalizeContext as $l, DeliverableSpec as $m, RepairStop as $n, TrajectoryReport as $o, DelegateCodeConfig as $p, SandboxLineageHandle as $r, SettledPursuitVersion as $s, defaultEdgeTraversalCap as $t, CompletionAnalyst as $u, worktreeFanout as A, adaptiveRefine as Aa, ObserverRecord as Ac, AnytimeTaskCurve as Ad, SuperviseProfileEntry as Af, BackendCallPolicy as Ah, equalKOnCost as Ai, supervisorAgent as Al, DelegationTraceCaps as Am, unsafeInProcessRunner as An, EqualKOnCostOptions as Ao, DetachedSessionRefParts as Ap, authorStrategy as Ar, LeaderboardSpec as As, WorktreeCliExecutorOptions as At, readRunCancellation as Au, VERIFY_TAIL_CHARS as B, LoopOptionsForDispatch as Ba, SuperviseRegistry as Bc, ANALYST_DEFINITION_BOUNDS as Bd, questionEscalationTargets as Bf, InMemorySpawnJournal as Bh, fanout as Bi, StopRule as Bl, FileDelegationStore as Bm, ProfileRichness as Bn, Panel as Bo, runDetachedTurn as Bp, materializeLocalMcp as Br, readDeclaredCheck as Bs, workerInteractiveAdmissionFile as Bt, supervisorWorkersDir as Bu, SurfaceWorkerConfig as C, Strategy as Ca, PursuitProjection as Cc, AuditIntentInput as Cd, QuestionRecord as Cf, ConversationTurn as Ch, assertModelAllowed as Ci, SupervisorNodeContext as Cl, ResearchOutputShape as Cm, delegate as Cn, AssertTraceDerivedFindings as Co, settleDetachedCoderTurn as Cp, TournamentCell as Cr, LeaderboardBenchTask as Cs, ProvisionSupervisorConnection as Ct, WorkerSteerRequest as Cu, superviseSurface as D, StrategyResult as Da, projectPursuit as Dc, defaultAuditorInstruction as Dd, SpawnPreflightContext as Df, HaltSignal as Dh, PrivateCasOffloadReport as Di, SupervisorToolInvocationContext as Dl, CappedDelegationTrace as Dm, CodeModeOptions as Dn, CorpusRecord as Do, SiblingSandboxExecutorOptions as Dp, AuthorStrategyOptions as Dr, LeaderboardRunContext as Ds, provisionSupervisor as Dt, legacySupervisorRunDir as Du, failuresAnalyst as E, StrategyMessage as Ea, PursuitStatus as Ec, auditIntent as Ed, SpawnPreflight as Ef, HaltReason as Eh, PrivateCasDurableStore as Ei, SupervisorToolDescriptor as El, delegationProfiles as Em, finalizeBestDelivered as En, CorpusFilter as Eo, FleetWorkspaceExecutorOptions as Ep, strategyTournament as Er, LeaderboardIterationInfo as Es, SupervisorCleanupReceipt as Et, cancelWorker as Eu, readWorkerInteractiveBinding as F, runAgentic as Fa, AuthorizedSpawn as Fc, renderAnytimeTable as Fd, canonicalFindingEvent as Ff, SqlSpawnJournal as Fh, definePersona as Fi, ProgressSample as Fl, composeLoopTraceEmitters as Fm, ChatWorkerSeamOptions as Fn, FanoutWinnerSelector as Fo, RunDetachedTurnOptions as Fp, McpSpawnFault as Fr, assertDeclaredCheck as Fs, InteractiveWorkerOptions as Ft, runCancelRequestFile as Fu, CopyOptions as G, superviseDispatch as Ga, workerFromBackend as Gc, AnalystLensOutput as Gd, SpawnResourceRead as Gf, SpawnForestNode as Gh, selectValidWinner as Gi, noProgressFor as Gl, BusRecord as Gm, profileRichnessFinding as Gn, PipelineStage as Go, DelegationResumeTick as Gp, SandboxRun as Gr, runIsolatedCheck as Gs, EdgeTraversal as Gt, workerInboxFile as Gu, closingWorkerNote as H, SuperviseOptionsForDispatch as Ha, SuperviseTestOptions as Hc, AnalystDefinitionIssue as Hd, ResolvedSpawnResourcePath as Hf, SpawnForestEvent as Hh, loopUntil as Hi, allWorkersStalled as Hl, InMemoryDelegationStore as Hm, asAuthoredProfile as Hn, PanelSpec as Ho, DelegationRecord as Hp, OpenSandboxRunBeforeStartContext as Hr, IsolatedCheckBoxEvidence as Hs, createInPlaceCliExecutor as Ht, workerCancellationFile as Hu, workerInteractiveBindingFile as I, sample as Ia, AuthorizedSpawnContext as Ic, WaterfallCollector as Id, createCoordinationTools as If, SqlStatements as Ih, runPersonified as Ii, ProgressTracker as Il, createDelegationTraceCollector as Im, chatTransportExecutor as In, FlatWidenGate as Io, createDetachedTurnResumeDriver as Ip, McpToolDescriptor as Ir, checkProgramDigest as Is, InteractiveWorkerResult as It, runCancellationFile as Iu, withUntrackedArtifacts as J, TerminalDecision as Ja, WorkerSpawnRetryHooks as Jc, AnalyzeOnSettleRoute as Jd, hostDirectoryReader as Jf, materializeTreeView as Jh, CreateScopeAnalystOptions as Ji, ReentryContinuity as Jl, PublishOptions as Jm, CheckOutcome as Jn, ScopeAnalyst as Jo, DelegationTaskQueueOptions as Jp, openSandboxRun as Jr, NextPursuitVersionInput as Js, GraphNode as Jt, workerSteerAcknowledgementsDir as Ju, UntrackedCopyStats as K, RunAgentRoundsOptions as Ka, ResolvedWorkerSpawnRetry as Kc, AnalystRegistry$1 as Kd, SpawnResourceReader as Kf, SpawnForestTree as Kh, verify as Ki, plateau as Kl, BusStats as Km, supervisorInstructions as Kn, RenderCorpusToInstructions as Ko, DelegationRunContext as Kp, SandboxRunAbortError as Kr, JudgedPursuitVersion as Ks, GraphEdge as Kt, workerInboxFileFromEventDir as Ku, workerInteractiveBindingsDir as L, sampleThenRefine as La, DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY as Lc, WaterfallReport as Ld, downMessageRefusalReasons as Lf, FileResultBlobStore as Lh, FileCorpus as Li, ProgressTrackerOptions as Ll, DelegationPersistenceError as Lm, chatWorkerSeam as Ln, LoopUntil as Lo, detachedTurnEvents as Lp, StdioMcpConnection as Lr, declaredCheckDeliverable as Ls, workerFromInteractiveProvider as Lt, safeWorkerFile as Lu, WorkerInteractiveBinding as M, defineStrategy as Ma, createFileObserverHooks as Mc, areaUnderCurve as Md, WorkerSpawnContext as Mf, RetryBackoff as Mh, builtinShapes as Mi, AllWorkersStalledOptions as Ml, DelegationTraceSpan as Mm, ChatSessionStore as Mn, Fanout as Mo, DetachedTurnResumeDriverOptions as Mp, strategyAuthorSystemPrompt as Mr, DeclaredCheck as Ms, createWorktreeCliExecutor as Mt, readWorkerCancellation as Mu, WorkerInteractiveProviderSource as N, depthStrategy as Na, observerRecordDigest as Nc, bestSoFar as Nd, WorkerWatchOptions as Nf, RetryableErrorPredicate as Nh, createShapeRegistry as Ni, NoProgressForOptions as Nl, buildDelegationTraceSpans as Nm, ChatTransportExecutorOptions as Nn, FanoutOptions as No, DriveTurnCapableBox as Np, LocalMcpMaterialization as Nr, DeclaredCheckPlacement as Ns, InteractiveWorkerEnvironment as Nt, readWorkerSteerAcknowledgement as Nu, AuthoredHarness as O, StrategyShotResult as Oa, FileObserverJournal as Oc, AnytimeReport as Od, SpawnRefusal as Of, RunConversationOptions as Oh, PrivateCasOptions as Oi, assertCoordinationBinding as Ol, DELEGATION_TRACE_MAX_BYTES as Om, CodeModeRunner as On, EqualKArm as Oo, createFleetWorkspaceExecutor as Op, AuthoredStrategy as Or, LeaderboardScenario as Os, PatchDeliverableOptions as Ot, legacySupervisorRunsRoot as Ou, attachWorker as P, refine as Pa, verifyObserverRecords as Pc, plateauLength as Pd, analystToolGroupNames as Pf, SqlResultBlobStore as Ph, registerShape as Pi, PlateauOptions as Pl, capDelegationTrace as Pm, ChatTransportTool as Pn, FanoutSynthesis as Po, DriveTurnTick as Pp, MaterializeLocalMcpOptions as Pr, DeclaredCheckStateCapture as Ps, InteractiveWorkerKeyInput as Pt, readWorkerSteerRequests as Pu, WorkspaceCommit as Q, SandboxEvidenceContext as Qa, retryPreSpawnRefusals as Qc, AuthorizedDownMessage as Qd, createInProcessTransport as Qf, AGENT_PROFILE_MATERIALIZATION_AXES as Qh, createScopeAnalyst as Qi, DeliveredOutput as Ql, watchTrace as Qm, CheckSourceCtx as Qn, TrajectoryNode as Qo, DelegateCodeArgs as Qp, SandboxLineage as Qr, REVIEW_DIR as Qs, TraversalContinuity as Qt, writeWorkerSteer as Qu, EVIDENCE_MAX_CHARS as R, LoopCampaignDispatchOptions as Ra, DeliverableResolutionInput as Rc, WaterfallSpan as Rd, normalizeAnalyzeOnSettle as Rf, FileSpawnJournal as Rh, InMemoryCorpus as Ri, ProgressView as Rl, DelegationStateCorruptError as Rm, createChatSessionStore as Rn, LoopUntilSpec as Ro, formatDetachedSessionRef as Rp, StdioMcpServerSpec as Rr, declaredCheckDigest as Rs, WorkerInteractiveAdmission as Rt, supervisorRunDir as Ru, SuperviseSurfaceResult as S, ShotSpec as Sa, PursuitNodeUsage as Sc, renderPairwiseMarkdown as Sd, QuestionPolicy as Sf, ConversationStreamEvent as Sh, profileOptimizerModelCall as Si, SupervisorAgentTestDeps as Sl, FeedbackRefersTo as Sm, defaultDelegateBudget as Sn, renderReport as So, detachedSessionDelegate as Sp, StrategyTournament as Sr, LeaderboardBenchScore as Ss, createSqlRunContext as St, WorkerSteerAcknowledgement as Su, analystsFromRegistry as T, StrategyCtx as Ta, PursuitRunTotals as Tc, IntentAudit as Td, SettledWorker as Tf, HaltPredicate as Th, PrivateCasArtifactPort as Ti, SupervisorProfile as Tl, UiAuditorDelegationOutput as Tm, driverAgent as Tn, Corpus as To, FleetHandle as Tp, runStrategyEvolution as Tr, LeaderboardFlagSpec as Ts, ProvisionedSupervisor as Tt, cancelRun as Tu, composeWorkerEvidence as U, loopCampaignDispatch as Ua, supervise as Uc, AnalystFindingEvent as Ud, SPAWN_RESOURCE_PATH_MAX_BYTES as Uf, SpawnForestInDoubtNode as Uh, panel as Ui, anyOf as Ul, CoderOutput as Um, assessAuthoredProfile as Un, PanelVerdict as Uo, DelegationResumeContext as Up, OpenSandboxRunOptions as Ur, IsolatedCheckOptions as Us, AgentGraph as Ut, workerCancellationsDir as Uu, WorkerEvidenceInput as V, SuperviseDispatchOptions as Va, SuperviseRegistryTable as Vc, AnalystAssignmentRecord as Vd, ResolveSpawnResourcePathsResult as Vf, SpawnForest as Vh, flatWidenGate as Vi, allOf as Vl, FileDelegationStoreOptions as Vm, ProfileRichnessThresholds as Vn, PanelJudge as Vo, DelegationArgs as Vp, Deliverable as Vr, IsolatedCheckBox as Vs, InPlaceCliExecutorOptions as Vt, workerCancelRequestsFile as Vu, settledWorkerOut as W, loopDispatch as Wa, superviseWithTestBrain as Wc, AnalystKind as Wd, SpawnResourceBytes as Wf, SpawnForestMissingTree as Wh, pipeline as Wi, createProgressTracker as Wl, BusEvent as Wm, defaultProfileRichnessThresholds as Wn, Pipeline as Wo, DelegationResumeDriver as Wp, OpenSandboxRunPromptOptions as Wr, IsolatedCheckResult as Ws, EdgeDeliveryOutcome as Wt, workerControlLogFile as Wu, Shell as X, isTerminalDecision as Xa, isPreSpawnExecutorFailure as Xc, AuthoredAnalystLimits as Xd, McpServer as Xf, replaySpawnTree as Xh, assertTraceDerivedFindings as Xi, UNPROVEN_CONTINUITY as Xl, WatchTraceOptions as Xm, CheckRunner as Xn, ScopeWidenGate as Xo, SubmitOutput as Xp, CheckpointCapableBox as Xr, PursuitVersionStop as Xs, RunGraphOptions as Xt, workerSteerRequestsDir as Xu, GitWorkspaceOptions as Y, defaultSelectWinner as Ya, WorkerSpawnRetryPolicy as Yc, AuthoredAnalystDefinition as Yd, resolveSpawnResourcePaths as Yf, pendingWaits as Yh, RegistryAnalyzeProjection as Yi, ReentryTaskInput as Yl, createEventBus as Ym, CheckRunContext as Yn, ScopeAnalyzeInput as Yo, SubmitInput as Yp, BranchCapableBox as Yr, PursuitVersionChain as Ys, GraphResult as Yt, workerSteerRequestFile as Yu, Workspace as Z, runAgentRounds as Za, resolveWorkerSpawnRetry as Zc, AuthorizeDownMessage as Zd, McpServerOptions as Zf, contentAddress as Zh, buildSteerContext as Zi, composeReentryTask as Zl, defaultToolDetectors as Zm, CheckSource as Zn, SteerContext as Zo, hashIdempotencyInput as Zp, ForkCapableBox as Zr, PursuitVersions as Zs, RunGraphTestOptions as Zt, workerSteersDir as Zu, boxSurfaceReader as _, AgenticTask as _a, PursuitNodeCost as _c, leaderboard as _d, QuestionEscalationOutcome as _f, sandboxActProfileMaterialization as _g, Conversation as _h, recoverRetainedInteractiveRun as _i, ObserveSupervisorNodeEvent as _l, DelegationResultPayload as _m, RollingDispatchOptions as _n, ObservationError as _o, DetachedSessionDelegateOptions as _p, visibleCheckScore as _r, RunPersonifiedOptions as _s, SUBTREE_RESULT_LIMIT as _t, PriorCoordination as _u, SandboxInstance$1 as a, BenchmarkCell as aa, SupervisePursuitOptions as ac, sentinelCompletion as ad, DEFAULT_AWAIT_EVENT_TIMEOUT_MS as af, ProfileMaterializationIssue as ag, SqlRunStoreOptions as ah, AcquireOptions as ai, createInMemoryRunContext as al, DelegateResearchResult as am, analyzesFindingsReportPrompt as an, inlineSandboxClient as ao, DelegateHandlerOptions as ap, canDisplace as ar, WidenDecision as as, analyzeTrace as at, runFinalizer as au, AnalystAuthoring as b, CorpusReadbackOptions as ba, PursuitNodeProjection as bc, renderLeaderboardMarkdown as bd, QuestionLevel as bf, ConversationPolicy as bh, resolveSandboxClient as bi, ResolvedSupervisorProfile as bl, DelegationStatusResult as bm, rollingDispatch as bn, defaultAnalystInstruction as bo, UiAuditorDelegate as bp, EvolutionStrategy as br, ShapeRegistry as bs, settledToIteration as bt, WorkerCancelRequest as bu, VerifierEnvironmentOptions as c, BenchmarkReport as ca, FORK_PARENT_UNCERTAIN_NODES_KEY as cc, GroupOf as cd, DownMessageDeliveryAttempt as cf, controlProfileMaterialization as cg, D1StmtLike as ch, S3PrivateCasStoreOptions as ci, SupervisorSpanOptions as cl, DelegateUiAuditResult as cm, dumbContinuationFailPrompt as cn, InProcessSandboxClientOptions as co, validateDelegateArgs as cp, defaultExtractCandidate as cr, WinnerStrategy as cs, captureWorkerTraceEvidence as ct, CoordinationPublicAddress as cu, HarvestSurfaceDiffsOptions as d, Environment as da, PURSUIT_OBSERVER_DELIVERY_PATH as dc, LeaderboardOptions as dd, EscalateQuestion as df, profileMaterializationAxes$1 as dg, d1ToSqlAdapter as dh, recoverRetainedRun as di, createSupervisorSpanRecorder as dl, DelegationFeedbackSnapshot as dm, kernelPromptRegistry as dn, HarvestError as do, InMemoryFeedbackStore as dp, modelAuthoredChecks as dr, LoopShape as ds, DEFAULT_MAX_DEPTH as dt, CoordinationHttpAudit as du, observationFromRegistry as ea, VersionJudge as ec, CompletionEvidence as ed, ContinuityMode as ef, AssertProfileMaterializationOptions as eg, ExecutorResultMapping as eh, SessionCapableBox as ei, InMemoryRunContext as el, DelegateCodeResult as em, runGraph as en, SandboxEvidenceRetentionError as eo, DELEGATE_DESCRIPTION as ep, StructuralRolloutConfig as er, TrajectoryReportFn as es, gitWorkspace as et, FinalizerSettled as eu, SurfaceDiff as f, printBenchmarkReport as fa, PursuitObserverDelivery as fc, LeaderboardRow as fd, EventAcknowledgement as ff, promptControlProfileMaterialization as fg, ConversationJournal as fh, startRetainedRun as fi, CoordinationBinding as fl, DelegationHistoryArgs as fm, naiveContinuationPrompt as fn, HarvestFailure as fo, eventToSnapshot as fp, officialChecksFromMeta as fr, Outcome as fs, createRootHandle as ft, CoordinationHttpOptions as fu, WatchedSurface as g, AgenticSurface as ga, PursuitCostProvenance as gc, ScoreOf as gd, QuestionDecision as gf, renderProfileMaterializationIssues as gg, AuthSource as gh, reconnectRetainedInteractiveRun as gi, DriveHarnessOwnerContext as gl, DelegationProgress as gm, DispatchUnit as gn, ObservationAnalysis as go, DelegateRunCtx as gp, structuralRollout as gr, RunPersonified as gs, createFencedSqlRunContext as gt, FileCoordinationLog as gu, SurfaceReader as h, AgenticRunResult as ha, deliverPursuitObserver as hc, ProfileKeyOf as hd, Question as hf, promptResourceProfileMaterialization as hg, InMemoryConversationJournal as hh, claimRetainedInteractiveControl as hi, DriveHarness as hl, DelegationProfile as hm, DispatchStopReason as hn, Observation as ho, CoderReviewer as hp, selectBestIndex as hr, PersonaExecutors as hs, SqlRunContextOptions as ht, CoordinationOwnerId as hu, SandboxEvent$1 as i, sanitizeMcpToolSchema as ia, SupervisePursuitError as ic, deterministicCompletion as id, CoordinationToolsOptions as if, ProfileMaterializationContract as ig, SqlRunOwnershipError as ih, probeSandboxCapabilities as ii, createFileRunContext as il, DelegateResearchConfig as im, RegisteredPrompt as in, localSandboxClient as io, DelegateError as ip, VisibleCheck as ir, Widen as is, TrajectoryAnalysis as it, pickBestDelivered as iu, AttachWorkerOptions as j, breadthStrategy as ja, ObserverRecordKind as jc, anytimeReport as jd, WorkerResumeContext as jf, CircuitBreakerConfig as jh, trajectoryReport as ji, supervisorAgentWithTestBrain as jl, DelegationTraceCollector as jm, ChatCompletionsTransport as jn, EqualKVerdict as jo, DetachedTurn as jp, strategyAuthorContract as jr, defineLeaderboard as js, WorktreePatchArtifact as jt, readWorkerCancelRequests as ju, WorktreeFanoutOptions as k, SurfaceScore as ka, ObserverJournal as kc, AnytimeStrategySummary as kd, SpawnRefusalCause as kf, TurnOrder as kh, createPrivateCasArtifactPort as ki, resolveSupervisorProfile as kl, DELEGATION_TRACE_MAX_SPANS as km, codeModeSupervisorTools as kn, EqualKOnCost as ko, createSiblingSandboxExecutor as kp, assertStrategyContract as kr, LeaderboardScore as ks, patchDelivered as kt, readRunCancelRequest as ku, createVerifierEnvironment as l, BenchmarkStrategySummary as la, PursuitFork as lc, Interval as ld, DownMessageDeliveryOutcome as lf, defineProfileMaterializationContract as lg, SqlAdapter as lh, createS3PrivateCasStore as li, SupervisorSpanOutcome as ll, DelegateUiAuditRoute as lm, dumbContinuationPassPrompt as ln, inProcessSandboxClient as lo, FeedbackEvent as lp, defaultStructuralRolloutPolicy as lr, DefinePersona as ls, parseWorkerToolTraceArtifact as lt, CoordinationTransportOptions as lu, SurfaceReadOutcome as m, AgenticOptions as ma, PursuitObserverState as mc, PairwiseVerdict as md, ManagerReentryState as mf, promptOnlyProfileMaterialization as mg, FileConversationJournal as mh, ClaimRetainedInteractiveControlOptions as mi, CoordinationVerbs as ml, DelegationHistoryResult as mm, DispatchReport as mn, harvestCorpus as mo, CoderReview as mp, sandboxCheckRunner as mr, PersonaContext as ms, FencedSqlRunContext as mt, CoordinationLog as mu, AnalystFinding$1 as n, McpEnvironmentOptions as na, assertPursuitVersions as nc, CompletionVerdict as nd, CoordinationStats as nf, DefineProfileMaterializationContractOptions as ng, mapExecutorResult as nh, CriuCapableClient as ni, RunContext as nl, DelegateFeedbackResult as nm, PromptHandle as nn, captureBeforeDestroy as no, DELEGATE_TOOL_NAME as np, StructuralRolloutPolicy as nr, Verify as ns, localShell as nt, bestDelivered as nu, computeFindingId$1 as o, BenchmarkConfig as oa, SupervisedPursuitResult as oc, stopSentinel as od, DefinedAnalystRecord as of, ValidateProfileMaterializationOptions as og, openSqlRunStore as oh, acquireSandbox as oi, withRunContext as ol, DelegateUiAuditArgs as om, createPromptRegistry as on, InProcessOnPrompt as oo, DelegateResult as op, compareCheckOutcomes as or, WidenLineage as os, WORKER_TOOL_TRACE_SCHEMA_VERSION as ot, CoordinationAuthentication as ou, SurfaceReadBox as p, runBenchmark as pa, PursuitObserverDeliveryOutcome as pc, PairwiseOptions as pd, MakeWorkerAgent as pf, promptModelProfileMaterialization as pg, ConversationJournalEntry as ph, startRetainedRunInEnvironment as pi, CoordinationToolFace as pl, DelegationHistoryEntry as pm, promptHandle as pn, HarvestReport as po, CoderDelegate as pp, resolveEntrySymbol as pr, Persona as ps, createSupervisor as pt, CoordinationDeliveryEvidence as pu, copyUntrackedIntoClone as q, TERMINAL_DECISIONS as qa, WorkerSpawnRetryAttempt as qc, AnalystToolGroupName as qd, environmentReader as qf, loadSpawnForest as qh, widen as qi, sampleFromSettled as ql, EventBus as qm, CheckExecChannel as qn, RenderCorpusToInstructionsOptions as qo, DelegationTaskQueue as qp, TurnResult as qr, NextPursuitVersion as qs, GraphEdgeCapError as qt, workerSteerAcknowledgementFile as qu, CreateSandboxOptions$1 as r, createMcpEnvironment as ra, pursuitVersionsLedgerPath as rc, completionAuthorizes as rd, CoordinationTools as rf, KnownAgentProfileMaterializationAxis as rg, SqlRunLease as rh, SandboxCapabilities as ri, RunContextLease as rl, DelegateResearchArgs as rm, PromptRegistry as rn, LocalSandboxClientOptions as ro, DelegateArgs as rp, StructuralRolloutResult as rr, VerifySpec as rs, runInWorkspace as rt, collectDelivered as ru, makeFinding$1 as s, BenchmarkLift as sa, supervisePursuit as sc, AxisScoresOf as sd, DownMessageAuthorizationInput as sf, assertProfileMaterialization as sg, D1DatabaseLike as sh, S3PrivateCasStore as si, SupervisorSpanAttributes as sl, DelegateUiAuditConfig as sm, delegatesWorkerBriefPrompt as sn, InProcessPromptCtx as so, createDelegateHandler as sp, composeCheckSources as sr, WidenSpec as ss, WorkerToolTraceArtifact as st, CoordinationMcpHandle as su, AgentProfile$2 as t, McpEndpoint as ta, VersionVerdict as tc, CompletionPolicy as td, CoordinationEvent as tf, CanonicalAgentProfileMaterializationAxis as tg, gateOnDeliverable as th, createSandboxLineage as ti, InMemoryRunContextOptions as tl, DelegateFeedbackArgs as tm, runGraphWithTestBrain as tn, SandboxEvidenceRetentionPort as to, DELEGATE_INPUT_SCHEMA as tp, StructuralRolloutMessage as tr, TrajectoryReportOptions as ts, jjWorkspace as tt, SupervisorFinalizer as tu, BoxSurfaceReaderOptions as u, BenchmarkTaskRow as ua, RUN_FORK_CORRELATION_KEYS as uc, Leaderboard as ud, DownMessageEvent as uf, fullProfileMaterialization as ug, SqlConversationJournal as uh, reconnectRetainedRun as ui, SupervisorSpanRecorder as ul, DelegationError as um, formatPromptHandle as un, HarvestCorpusOptions as uo, FeedbackStore as up, filterAuthoredAsserts as ur, DefinePersonaInput as us, workerTraceAnalysisStore as ut, serveCoordinationMcp as uu, fsSurfaceReader as v, AgenticTool as va, PursuitNodePlacement as vc, pairwiseSignificance as vd, QuestionEscalationRecord as vf, validateProfileMaterialization as vg, ConversationDriveState as vh, startRetainedInteractiveRun as vi, ResolveDriveHarness as vl, DelegationStatus as vm, freeSlots as vn, ObserveInput as vo, DetachedWinnerSelection as vp, EvolutionAuthor as vr, ShapeBudget as vs, ScopeArgs as vt, RunCancelRequest as vu, SurfaceWorkerOut as w, StrategyArtifacts as wa, PursuitRunProjection as wc, AuditIntentOptions as wd, QuestionUrgency as wf, HaltContext as wh, assertProfileModelsAllowed as wi, SupervisorNodeContextSeed as wl, UiAuditLensFilter as wm, DriverAgentOptions as wn, CombinatorShape as wo, DelegationExecutor as wp, TournamentRow as wr, LeaderboardBenchmarkAdapter as ws, ProvisionSupervisorRequest as wt, WriteWorkerSteerOptions as wu, SuperviseSurfaceOptions as x, RunAgenticOptions as xa, PursuitNodeTiming as xc, renderLeaderboardSvg as xd, QuestionOption as xf, ConversationResult as xh, profileChatClient as xi, SupervisorAgentDeps as xl, FeedbackRating as xm, DelegateOptions as xn, observe as xo, coderTaskFromArgs as xp, StrategyEvolutionConfig as xr, DefinedLeaderboard as xs, SqlRunContext as xt, WorkerCancellation as xu, harvestSurfaceDiffs as y, ArtifactHandle as ya, PursuitNodePlatform as yc, renderLeaderboardHtml as yd, QuestionEscalationTarget as yf, worktreeCliProfileMaterialization as yg, ConversationParticipant as yh, ResolveSandboxClientOptions as yi, ResolveSupervisorTools as yl, DelegationStatusArgs as ym, queueOf as yn, ObserveOptions as yo, SettleDetachedCoderTurnOptions as yp, EvolutionReport as yr, ShapeContext as ys, createScope as yt, RunCancellation as yu, NOTE_MAX_CHARS as z, LoopDispatchOptions as za, SuperviseOptions as zc, createWaterfallCollector as zd, parseAuthoredAnalystDefinition as zf, InMemoryResultBlobStore as zh, renderCorpusToInstructions as zi, StopDecision as zl, DelegationStore as zm, AuthoredProfile as zn, LoopUntilState as zo, parseDetachedSessionRef as zp, connectStdioMcp as zr, declaredCheckJudge as zs, readWorkerInteractiveAdmissions as zt, supervisorRunsRoot as zu };
11288
- //# sourceMappingURL=index-sC6sl88d.d.ts.map
10727
+ export { WORKER_TOOL_TRACE_SCHEMA_VERSION as $, Observation as $a, SupervisorNodeContext as $c, QuestionUrgency as $d, settleDetachedCoderTurn as $f, AgenticRunResult as $i, WorkerCancellation as $l, replaySpawnTree as $m, filterAuthoredAsserts as $n, PersonaExecutors as $o, ResearchOutputShape as $p, claimRetainedInteractiveControl as $r, PursuitNodeUsage as $s, formatPromptHandle as $t, renderLeaderboardSvg as $u, readWorkerInteractiveBinding as A, RunAgentRoundsOptions as Aa, InMemoryRunContext as Ac, CoordinationStats as Ad, DELEGATE_DESCRIPTION as Af, verify as Ai, DeliveredOutput as Al, ExecutorResultMapping as Am, ProfileRichnessThresholds as An, RenderCorpusToInstructions as Ao, DelegateCodeResult as Ap, Deliverable as Ar, JudgedPursuitVersion as As, InPlaceCliExecutorOptions as At, writeWorkerSteer as Au, copyUntrackedIntoClone as B, captureBeforeDestroy as Ba, SupervisorSpanRecorder as Bc, LeadMessage as Bd, FeedbackStore as Bf, McpEnvironmentOptions as Bi, CoordinationPublicAddress as Bl, d1ToSqlAdapter as Bm, CheckSource as Bn, Verify as Bo, DelegationError as Bp, SandboxLineageHandle as Br, SupervisePursuitError as Bs, RunGraphTestOptions as Bt, GroupOf as Bu, AuthoredHarness as C, LoopDispatchOptions as Ca, WorkerSpawnRetryAttempt as Cc, AuthoredAnalystLimits as Cd, environmentReader as Cf, renderCorpusToInstructions as Ci, noProgressFor as Cl, EventBus as Cm, ChatTransportTool as Cn, LoopUntilState as Co, DelegationTaskQueue as Cp, MaterializeLocalMcpOptions as Cr, declaredCheckJudge as Cs, createWorktreeCliExecutor as Ct, workerInboxFile as Cu, WorkerInteractiveBinding as D, loopCampaignDispatch as Da, resolveWorkerSpawnRetry as Dc, ContinuationInstruction as Dd, McpServerOptions as Df, panel as Di, ReentryTaskInput as Dl, defaultToolDetectors as Dm, createChatSessionStore as Dn, PanelVerdict as Do, hashIdempotencyInput as Dp, StdioMcpServerSpec as Dr, IsolatedCheckOptions as Ds, InteractiveWorkerResult as Dt, workerSteerRequestFile as Du, AttachWorkerOptions as E, SuperviseOptionsForDispatch as Ea, isPreSpawnExecutorFailure as Ec, AwaitWakeInput as Ed, McpServer as Ef, loopUntil as Ei, ReentryContinuity as El, WatchTraceOptions as Em, chatWorkerSeam as En, PanelSpec as Eo, SubmitOutput as Ep, StdioMcpConnection as Er, IsolatedCheckBoxEvidence as Es, InteractiveWorkerOptions as Et, workerSteerAcknowledgementsDir as Eu, closingWorkerNote as F, runAgentRounds as Fa, createInMemoryRunContext as Fc, DownMessageDeliveryAttempt as Fd, DelegateHandlerOptions as Ff, buildSteerContext as Fi, collectDelivered as Fl, SqlRunStoreOptions as Fm, supervisorInstructions as Fn, SteerContext as Fo, DelegateResearchResult as Fp, SandboxRunAbortError as Fr, PursuitVersions as Fs, GraphEdge as Ft, completionAuthorizes as Fu, WorkspaceCommit as G, InProcessPromptCtx as Ga, DriveHarness as Gc, QuestionDecision as Gd, CoderReviewer as Gf, BenchmarkLift as Gi, CoordinationDeliveryEvidence as Gl, SpawnForest as Gm, StructuralRolloutPolicy as Gn, WidenSpec as Go, DelegationProfile as Gp, S3PrivateCasStore as Gr, RUN_FORK_CORRELATION_KEYS as Gs, PromptHandle as Gt, PairwiseOptions as Gu, GitWorkspaceOptions as H, localSandboxClient as Ha, CoordinationBinding as Hc, ManagerReentryState as Hd, eventToSnapshot as Hf, sanitizeMcpToolSchema as Hi, serveCoordinationMcp as Hl, FileSpawnJournal as Hm, RepairStop as Hn, Widen as Ho, DelegationHistoryArgs as Hp, createSandboxLineage as Hr, SupervisedPursuitResult as Hs, defaultEdgeTraversalCap as Ht, Leaderboard as Hu, composeWorkerEvidence as I, SandboxEvidenceContext as Ia, withRunContext as Ic, DownMessageDeliveryOutcome as Id, DelegateResult as If, createScopeAnalyst as Ii, pickBestDelivered as Il, openSqlRunStore as Im, CheckExecChannel as In, TrajectoryNode as Io, DelegateUiAuditArgs as Ip, TurnResult as Ir, SettledPursuitVersion as Is, GraphEdgeCapError as It, deterministicCompletion as Iu, jjWorkspace as J, HarvestCorpusOptions as Ja, ResolveDriveHarness as Jc, QuestionEscalationTarget as Jd, DetachedWinnerSelection as Jf, BenchmarkTaskRow as Ji, FileCoordinationLog as Jl, SpawnForestMissingTree as Jm, canDisplace as Jn, DefinePersonaInput as Jo, DelegationStatus as Jp, reconnectRetainedRun as Jr, PursuitNodeCost as Js, analyzesFindingsReportPrompt as Jt, ScoreOf as Ju, WorkspaceRun as K, InProcessSandboxClientOptions as Ka, DriveHarnessOwnerContext as Kc, QuestionEscalationOutcome as Kd, DelegateRunCtx as Kf, BenchmarkReport as Ki, CoordinationLog as Kl, SpawnForestEvent as Km, StructuralRolloutResult as Kn, WinnerStrategy as Ko, DelegationProgress as Kp, S3PrivateCasStoreOptions as Kr, PursuitObserverDelivery as Ks, PromptRegistry as Kt, PairwiseVerdict as Ku, settledWorkerOut as L, SandboxEvidenceReceipt as La, SupervisorSpanAttributes as Lc, DownMessageEvent as Ld, createDelegateHandler as Lf, registryScopeAnalyst as Li, runFinalizer as Ll, D1DatabaseLike as Lm, CheckOutcome as Ln, TrajectoryReport as Lo, DelegateUiAuditConfig as Lp, openSandboxRun as Lr, VersionJudge as Ls, GraphNode as Lt, sentinelCompletion as Lu, NOTE_MAX_CHARS as M, TerminalDecision as Ma, RunContext as Mc, CoordinationToolsOptions as Md, DELEGATE_TOOL_NAME as Mf, CreateScopeAnalystOptions as Mi, FinalizerSettled as Ml, mapExecutorResult as Mm, assessAuthoredProfile as Mn, ScopeAnalyst as Mo, DelegateFeedbackResult as Mp, OpenSandboxRunOptions as Mr, NextPursuitVersionInput as Ms, AgentGraph as Mt, CompletionEvidence as Mu, VERIFY_TAIL_CHARS as N, defaultSelectWinner as Na, RunContextLease as Nc, DefinedAnalystRecord as Nd, DelegateArgs as Nf, RegistryAnalyzeProjection as Ni, SupervisorFinalizer as Nl, SqlRunLease as Nm, defaultProfileRichnessThresholds as Nn, ScopeAnalyzeInput as No, DelegateResearchArgs as Np, OpenSandboxRunPromptOptions as Nr, PursuitVersionChain as Ns, EdgeDeliveryOutcome as Nt, CompletionPolicy as Nu, WorkerInteractiveProviderSource as O, loopDispatch as Oa, retryPreSpawnRefusals as Oc, ContinuityMode as Od, createInProcessTransport as Of, pipeline as Oi, UNPROVEN_CONTINUITY as Ol, watchTrace as Om, AuthoredProfile as On, Pipeline as Oo, DelegateCodeArgs as Op, connectStdioMcp as Or, IsolatedCheckResult as Os, workerFromInteractiveProvider as Ot, workerSteerRequestsDir as Ou, WorkerEvidenceInput as P, isTerminalDecision as Pa, createFileRunContext as Pc, DownMessageAuthorizationInput as Pd, DelegateError as Pf, assertTraceDerivedFindings as Pi, bestDelivered as Pl, SqlRunOwnershipError as Pm, profileRichnessFinding as Pn, ScopeWidenGate as Po, DelegateResearchConfig as Pp, SandboxRun as Pr, PursuitVersionStop as Ps, EdgeTraversal as Pt, CompletionVerdict as Pu, analyzeTrace as Q, harvestCorpus as Qa, SupervisorAgentTestDeps as Qc, QuestionRecord as Qd, detachedSessionDelegate as Qf, AgenticOptions as Qi, WorkerCancelRequest as Ql, materializeTreeView as Qm, defaultStructuralRolloutPolicy as Qn, PersonaContext as Qo, FeedbackRefersTo as Qp, ClaimRetainedInteractiveControlOptions as Qr, PursuitNodeTiming as Qs, dumbContinuationPassPrompt as Qt, renderLeaderboardMarkdown as Qu, CopyOptions as R, SandboxEvidenceRetentionError as Ra, SupervisorSpanOptions as Rc, EscalateQuestion as Rd, validateDelegateArgs as Rf, observationFromRegistry as Ri, CoordinationAuthentication as Rl, D1StmtLike as Rm, CheckRunContext as Rn, TrajectoryReportFn as Ro, DelegateUiAuditResult as Rp, BranchCapableBox as Rr, VersionVerdict as Rs, GraphResult as Rt, stopSentinel as Ru, failuresAnalyst as S, LoopCampaignDispatchOptions as Sa, ResolvedWorkerSpawnRetry as Sc, AuthoredAnalystDefinition as Sd, SpawnResourceReader as Sf, worktreeCliProfileMaterialization as Sh, InMemoryCorpus as Si, createProgressTracker as Sl, BusStats as Sm, ChatTransportExecutorOptions as Sn, LoopUntilSpec as So, DelegationRunContext as Sp, LocalMcpMaterialization as Sr, declaredCheckDigest as Ss, WorktreePatchArtifact as St, workerControlLogFile as Su, worktreeFanout as T, SuperviseDispatchOptions as Ta, WorkerSpawnRetryPolicy as Tc, AuthorizedDownMessage as Td, resolveSpawnResourcePaths as Tf, flatWidenGate as Ti, sampleFromSettled as Tl, createEventBus as Tm, chatTransportExecutor as Tn, PanelJudge as To, SubmitInput as Tp, McpToolDescriptor as Tr, IsolatedCheckBox as Ts, InteractiveWorkerKeyInput as Tt, workerSteerAcknowledgementFile as Tu, Shell as U, inlineSandboxClient as Ua, CoordinationToolFace as Uc, ManagerWake as Ud, CoderDelegate as Uf, BenchmarkCell as Ui, CoordinationHttpAudit as Ul, InMemoryResultBlobStore as Um, StructuralRolloutConfig as Un, WidenDecision as Uo, DelegationHistoryEntry as Up, AcquireOptions as Ur, supervisePursuit as Us, runGraph as Ut, LeaderboardOptions as Uu, withUntrackedArtifacts as V, LocalSandboxClientOptions as Va, createSupervisorSpanRecorder as Vc, MakeWorkerAgent as Vd, InMemoryFeedbackStore as Vf, createMcpEnvironment as Vi, CoordinationTransportOptions as Vl, FileResultBlobStore as Vm, CheckSourceCtx as Vn, VerifySpec as Vo, DelegationFeedbackSnapshot as Vp, SessionCapableBox as Vr, SupervisePursuitOptions as Vs, TraversalContinuity as Vt, Interval as Vu, Workspace as W, InProcessOnPrompt as Wa, CoordinationVerbs as Wc, Question as Wd, CoderReview as Wf, BenchmarkConfig as Wi, CoordinationHttpOptions as Wl, InMemorySpawnJournal as Wm, StructuralRolloutMessage as Wn, WidenLineage as Wo, DelegationHistoryResult as Wp, acquireSandbox as Wr, PursuitFork as Ws, runGraphWithTestBrain as Wt, LeaderboardRow as Wu, runInWorkspace as X, HarvestFailure as Xa, ResolvedSupervisorProfile as Xc, QuestionOption as Xd, UiAuditorDelegate as Xf, printBenchmarkReport as Xi, RunCancelRequest as Xl, SpawnForestTree as Xm, composeCheckSources as Xn, Outcome as Xo, DelegationStatusResult as Xp, startRetainedRun as Xr, PursuitNodePlatform as Xs, delegatesWorkerBriefPrompt as Xt, pairwiseSignificance as Xu, localShell as Y, HarvestError as Ya, ResolveSupervisorTools as Yc, QuestionLevel as Yd, SettleDetachedCoderTurnOptions as Yf, Environment as Yi, PriorCoordination as Yl, SpawnForestNode as Ym, compareCheckOutcomes as Yn, LoopShape as Yo, DelegationStatusArgs as Yp, recoverRetainedRun as Yr, PursuitNodePlacement as Ys, createPromptRegistry as Yt, leaderboard as Yu, TrajectoryAnalysis as Z, HarvestReport as Za, SupervisorAgentDeps as Zc, QuestionPolicy as Zd, coderTaskFromArgs as Zf, runBenchmark as Zi, RunCancellation as Zl, loadSpawnForest as Zm, defaultExtractCandidate as Zn, Persona as Zo, FeedbackRating as Zp, startRetainedRunInEnvironment as Zr, PursuitNodeProjection as Zs, dumbContinuationFailPrompt as Zt, renderLeaderboardHtml as Zu, boxSurfaceReader as _, depthStrategy as _a, SuperviseRegistryTable as _c, AnalystKind as _d, ResolveSpawnResourcePathsResult as _f, promptOnlyProfileMaterialization as _h, createShapeRegistry as _i, StopDecision as _l, FileDelegationStoreOptions as _m, CodeModeRunner as _n, FanoutOptions as _o, DelegationArgs as _p, AuthoredStrategy as _r, DeclaredCheckPlacement as _s, SupervisorCleanupReceipt as _t, supervisorRunsRoot as _u, SandboxInstance$1 as a, RunAgenticOptions as aa, FileObserverJournal as ac, areaUnderCurve as ad, SuperviseProfileEntry as af, DefineProfileMaterializationContractOptions as ah, profileChatClient as ai, resolveSupervisorProfile as al, DELEGATION_TRACE_MAX_SPANS as am, DispatchUnit as an, observe as ao, createSiblingSandboxExecutor as ap, structuralRollout as ar, DefinedLeaderboard as as, createRootHandle as at, legacySupervisorRunDir as au, AnalystAuthoring as b, sample as ba, superviseWithTestBrain as bc, AnalystToolGroupName as bd, SpawnResourceBytes as bf, sandboxActProfileMaterialization as bh, runPersonified as bi, allWorkersStalled as bl, BusEvent as bm, ChatCompletionsTransport as bn, FlatWidenGate as bo, DelegationResumeDriver as bp, strategyAuthorContract as br, checkProgramDigest as bs, patchDelivered as bt, workerCancellationFile as bu, VerifierEnvironmentOptions as c, StrategyArtifacts as ca, ObserverRecordKind as cc, renderAnytimeTable as cd, WorkerSpawnContext as cf, ProfileMaterializationIssue as ch, assertProfileModelsAllowed as ci, DEFAULT_DEADLINE_WARNING_MS as cl, DelegationTraceSpan as cm, queueOf as cn, CombinatorShape as co, DetachedTurnResumeDriverOptions as cp, EvolutionReport as cr, LeaderboardBenchmarkAdapter as cs, SqlRunContextOptions as ct, readRunCancellation as cu, HarvestSurfaceDiffsOptions as d, StrategyResult as da, AuthorizedSpawn as dc, WaterfallSpan as dd, canonicalFindingEvent as df, controlProfileMaterialization as dh, PrivateCasOffloadReport as di, NoProgressForOptions as dl, composeLoopTraceEmitters as dm, defaultDelegateBudget as dn, CorpusRecord as do, RunDetachedTurnOptions as dp, StrategyTournament as dr, LeaderboardRunContext as ds, ScopeArgs as dt, readWorkerSteerAcknowledgement as du, AgenticSurface as ea, PursuitProjection as ec, renderPairwiseMarkdown as ed, SettledWorker as ef, contentAddress as eh, reconnectRetainedInteractiveRun as ei, SupervisorNodeContextSeed as el, UiAuditLensFilter as em, kernelPromptRegistry as en, ObservationAnalysis as eo, DelegationExecutor as ep, modelAuthoredChecks as er, RunPersonified as es, WorkerToolTraceArtifact as et, WorkerSteerAcknowledgement as eu, SurfaceDiff as f, StrategyShotResult as fa, AuthorizedSpawnContext as fc, createWaterfallCollector as fd, createCoordinationTools as ff, defineProfileMaterializationContract as fh, PrivateCasOptions as fi, PlateauOptions as fl, createDelegationTraceCollector as fm, delegate as fn, EqualKArm as fo, createDetachedTurnResumeDriver as fp, TournamentCell as fr, LeaderboardScenario as fs, createScope as ft, readWorkerSteerRequests as fu, WatchedSurface as g, defineStrategy as ga, SuperviseRegistry as gc, AnalystFindingEvent as gd, questionEscalationTargets as gf, promptModelProfileMaterialization as gh, builtinShapes as gi, ProgressView as gl, FileDelegationStore as gm, CodeModeOptions as gn, Fanout as go, runDetachedTurn as gp, AuthorStrategyOptions as gr, DeclaredCheck as gs, ProvisionedSupervisor as gt, supervisorRunDir as gu, SurfaceReader as h, breadthStrategy as ha, SuperviseOptions as hc, AnalystDefinitionIssue as hd, parseAuthoredAnalystDefinition as hf, promptControlProfileMaterialization as hh, trajectoryReport as hi, ProgressTrackerOptions as hl, DelegationStore as hm, finalizeBestDelivered as hn, EqualKVerdict as ho, parseDetachedSessionRef as hp, strategyTournament as hr, defineLeaderboard as hs, ProvisionSupervisorRequest as ht, safeWorkerFile as hu, SandboxEvent$1 as i, CorpusReadbackOptions as ia, projectPursuit as ic, anytimeReport as id, SpawnRefusalCause as if, CanonicalAgentProfileMaterializationAxis as ih, resolveSandboxClient as ii, assertCoordinationBinding as il, DELEGATION_TRACE_MAX_BYTES as im, DispatchStopReason as in, defaultAnalystInstruction as io, createFleetWorkspaceExecutor as ip, selectBestIndex as ir, ShapeRegistry as is, DEFAULT_MAX_DEPTH as it, cancelWorker as iu, EVIDENCE_MAX_CHARS as j, TERMINAL_DECISIONS as ja, InMemoryRunContextOptions as jc, CoordinationTools as jd, DELEGATE_INPUT_SCHEMA as jf, widen as ji, FinalizeContext as jl, gateOnDeliverable as jm, asAuthoredProfile as jn, RenderCorpusToInstructionsOptions as jo, DelegateFeedbackArgs as jp, OpenSandboxRunBeforeStartContext as jr, NextPursuitVersion as js, createInPlaceCliExecutor as jt, CompletionAnalyst as ju, attachWorker as k, superviseDispatch as ka, withWorkerSpawnRetry as kc, CoordinationEvent as kd, createMcpServer as kf, selectValidWinner as ki, composeReentryTask as kl, DeliverableSpec as km, ProfileRichness as kn, PipelineStage as ko, DelegateCodeConfig as kp, materializeLocalMcp as kr, runIsolatedCheck as ks, WorkerInteractiveAdmission as kt, workerSteersDir as ku, createVerifierEnvironment as l, StrategyCtx as la, observerRecordDigest as lc, WaterfallCollector as ld, WorkerWatchOptions as lf, ValidateProfileMaterializationOptions as lh, PrivateCasArtifactPort as li, ManagerWakePolicy as ll, buildDelegationTraceSpans as lm, rollingDispatch as ln, Corpus as lo, DriveTurnCapableBox as lp, EvolutionStrategy as lr, LeaderboardFlagSpec as ls, createFencedSqlRunContext as lt, readWorkerCancelRequests as lu, SurfaceReadOutcome as m, adaptiveRefine as ma, DeliverableResolutionInput as mc, AnalystAssignmentRecord as md, normalizeAnalyzeOnSettle as mf, profileMaterializationAxes$1 as mh, equalKOnCost as mi, ProgressTracker as ml, DelegationStateCorruptError as mm, driverAgent as mn, EqualKOnCostOptions as mo, formatDetachedSessionRef as mp, runStrategyEvolution as mr, LeaderboardSpec as ms, ProvisionSupervisorConnection as mt, runCancellationFile as mu, AnalystFinding$1 as n, AgenticTool as na, PursuitRunTotals as nc, AnytimeStrategySummary as nd, SpawnPreflightContext as nf, AgentProfileMaterializationAxis as nh, startRetainedInteractiveRun as ni, SupervisorToolDescriptor as nl, delegationProfiles as nm, promptHandle as nn, ObserveInput as no, FleetWorkspaceExecutorOptions as np, resolveEntrySymbol as nr, ShapeBudget as ns, parseWorkerToolTraceArtifact as nt, WriteWorkerSteerOptions as nu, computeFindingId$1 as o, ShotSpec as oa, ObserverJournal as oc, bestSoFar as od, ToolOutcomeEvent as of, KnownAgentProfileMaterializationAxis as oh, profileOptimizerModelCall as oi, supervisorAgent as ol, DelegationTraceCaps as om, RollingDispatchOptions as on, renderReport as oo, DetachedSessionRefParts as op, visibleCheckScore as or, LeaderboardBenchScore as os, createSupervisor as ot, legacySupervisorRunsRoot as ou, SurfaceReadBox as p, SurfaceScore as pa, DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY as pc, ANALYST_DEFINITION_BOUNDS as pd, downMessageRefusalReasons as pf, fullProfileMaterialization as ph, createPrivateCasArtifactPort as pi, ProgressSample as pl, DelegationPersistenceError as pm, DriverAgentOptions as pn, EqualKOnCost as po, detachedTurnEvents as pp, TournamentRow as pr, LeaderboardScore as ps, settledToIteration as pt, runCancelRequestFile as pu, gitWorkspace as q, inProcessSandboxClient as qa, ObserveSupervisorNodeEvent as qc, QuestionEscalationRecord as qd, DetachedSessionDelegateOptions as qf, BenchmarkStrategySummary as qi, CoordinationOwnerId as ql, SpawnForestInDoubtNode as qm, VisibleCheck as qn, DefinePersona as qo, DelegationResultPayload as qp, createS3PrivateCasStore as qr, PursuitCostProvenance as qs, RegisteredPrompt as qt, ProfileKeyOf as qu, CreateSandboxOptions$1 as r, ArtifactHandle as ra, PursuitStatus as rc, AnytimeTaskCurve as rd, SpawnRefusal as rf, AssertProfileMaterializationOptions as rh, ResolveSandboxClientOptions as ri, SupervisorToolInvocationContext as rl, CappedDelegationTrace as rm, DispatchReport as rn, ObserveOptions as ro, SiblingSandboxExecutorOptions as rp, sandboxCheckRunner as rr, ShapeContext as rs, workerTraceAnalysisStore as rt, cancelRun as ru, makeFinding$1 as s, Strategy as sa, ObserverRecord as sc, plateauLength as sd, WorkerResumeContext as sf, ProfileMaterializationContract as sh, assertModelAllowed as si, supervisorAgentWithTestBrain as sl, DelegationTraceCollector as sm, freeSlots as sn, AssertTraceDerivedFindings as so, DetachedTurn as sp, EvolutionAuthor as sr, LeaderboardBenchTask as ss, FencedSqlRunContext as st, readRunCancelRequest as su, AgentProfile$2 as t, AgenticTask as ta, PursuitRunProjection as tc, AnytimeReport as td, SpawnPreflight as tf, AGENT_PROFILE_MATERIALIZATION_AXES as th, recoverRetainedInteractiveRun as ti, SupervisorProfile as tl, UiAuditorDelegationOutput as tm, naiveContinuationPrompt as tn, ObservationError as to, FleetHandle as tp, officialChecksFromMeta as tr, RunPersonifiedOptions as ts, captureWorkerTraceEvidence as tt, WorkerSteerRequest as tu, BoxSurfaceReaderOptions as u, StrategyMessage as ua, verifyObserverRecords as uc, WaterfallReport as ud, analystToolGroupNames as uf, assertProfileMaterialization as uh, PrivateCasDurableStore as ui, AllWorkersStalledOptions as ul, capDelegationTrace as um, DelegateOptions as un, CorpusFilter as uo, DriveTurnTick as up, StrategyEvolutionConfig as ur, LeaderboardIterationInfo as us, SUBTREE_RESULT_LIMIT as ut, readWorkerCancellation as uu, fsSurfaceReader as v, refine as va, SuperviseTestOptions as vc, AnalystLensOutput as vd, ResolvedSpawnResourcePath as vf, promptResourceProfileMaterialization as vh, registerShape as vi, StopRule as vl, InMemoryDelegationStore as vm, codeModeSupervisorTools as vn, FanoutSynthesis as vo, DelegationRecord as vp, assertStrategyContract as vr, DeclaredCheckStateCapture as vs, provisionSupervisor as vt, supervisorWorkersDir as vu, WorktreeFanoutOptions as w, LoopOptionsForDispatch as wa, WorkerSpawnRetryHooks as wc, AuthorizeDownMessage as wd, hostDirectoryReader as wf, fanout as wi, plateau as wl, PublishOptions as wm, ChatWorkerSeamOptions as wn, Panel as wo, DelegationTaskQueueOptions as wp, McpSpawnFault as wr, readDeclaredCheck as ws, InteractiveWorkerEnvironment as wt, workerInboxFileFromEventDir as wu, analystsFromRegistry as x, sampleThenRefine as xa, workerFromBackend as xc, AnalyzeOnSettleRoute as xd, SpawnResourceRead as xf, validateProfileMaterialization as xh, FileCorpus as xi, anyOf as xl, BusRecord as xm, ChatSessionStore as xn, LoopUntil as xo, DelegationResumeTick as xp, strategyAuthorSystemPrompt as xr, declaredCheckDeliverable as xs, WorktreeCliExecutorOptions as xt, workerCancellationsDir as xu, harvestSurfaceDiffs as y, runAgentic as ya, supervise as yc, AnalystRegistry$1 as yd, SPAWN_RESOURCE_PATH_MAX_BYTES as yf, renderProfileMaterializationIssues as yh, definePersona as yi, allOf as yl, CoderOutput as ym, unsafeInProcessRunner as yn, FanoutWinnerSelector as yo, DelegationResumeContext as yp, authorStrategy as yr, assertDeclaredCheck as ys, PatchDeliverableOptions as yt, workerCancelRequestsFile as yu, UntrackedCopyStats as z, SandboxEvidenceRetentionPort as za, SupervisorSpanOutcome as zc, EventAcknowledgement as zd, FeedbackEvent as zf, McpEndpoint as zi, CoordinationMcpHandle as zl, SqlAdapter as zm, CheckRunner as zn, TrajectoryReportOptions as zo, DelegateUiAuditRoute as zp, SandboxLineage as zr, assertPursuitVersions as zs, RunGraphOptions as zt, AxisScoresOf as zu };
10728
+ //# sourceMappingURL=index-DflDZq_I.d.ts.map