@tangle-network/agent-runtime 0.138.0 → 0.139.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. package/dist/{activation-BHoMDzMv.js → activation-eLJ6uRlP.js} +3 -3
  2. package/dist/{activation-BHoMDzMv.js.map → activation-eLJ6uRlP.js.map} +1 -1
  3. package/dist/agent.d.ts +4 -4
  4. package/dist/agent.js +3 -3
  5. package/dist/{analyst-loop-Dk6_xfhI.js → analyst-loop-DtOEXGzR.js} +3 -3
  6. package/dist/{analyst-loop-Dk6_xfhI.js.map → analyst-loop-DtOEXGzR.js.map} +1 -1
  7. package/dist/analyst-loop.d.ts +1 -1
  8. package/dist/analyst-loop.js +1 -1
  9. package/dist/{authoring-rEOOEWn6.js → authoring-J93uFAwd.js} +3 -3
  10. package/dist/{authoring-rEOOEWn6.js.map → authoring-J93uFAwd.js.map} +1 -1
  11. package/dist/candidate-execution/index.d.ts +3 -3
  12. package/dist/candidate-execution/index.js +4 -4
  13. package/dist/{candidate-execution-CyCLYLfK.js → candidate-execution-uuUeFSc6.js} +5 -5
  14. package/dist/{candidate-execution-CyCLYLfK.js.map → candidate-execution-uuUeFSc6.js.map} +1 -1
  15. package/dist/{conversation-DIUtiLkC.js → conversation-C3eZCvLd.js} +8 -6
  16. package/dist/conversation-C3eZCvLd.js.map +1 -0
  17. package/dist/conversation.d.ts +1 -1
  18. package/dist/conversation.js +1 -1
  19. package/dist/durable.d.ts +34 -1
  20. package/dist/durable.js +82 -1
  21. package/dist/durable.js.map +1 -1
  22. package/dist/{environment-provider-CLNVqp6H.js → environment-provider-BAO8wt1_.js} +147 -48
  23. package/dist/environment-provider-BAO8wt1_.js.map +1 -0
  24. package/dist/{environment-provider-DA8LqBV-.d.ts → environment-provider-Bu3S3v78.d.ts} +3 -3
  25. package/dist/environment-provider.d.ts +1 -1
  26. package/dist/environment-provider.js +1 -1
  27. package/dist/{errors-CVIDr7GQ.js → errors-CDZ8XsVj.js} +34 -9
  28. package/dist/errors-CDZ8XsVj.js.map +1 -0
  29. package/dist/{graph-yaEG0ZiR.js → graph-BbMjq7-x.js} +5 -5
  30. package/dist/{graph-yaEG0ZiR.js.map → graph-BbMjq7-x.js.map} +1 -1
  31. package/dist/{improvement-cycle-BeVj-EGJ.js → improvement-cycle-D6rhMJR0.js} +67 -66
  32. package/dist/improvement-cycle-D6rhMJR0.js.map +1 -0
  33. package/dist/{index-Bdgpx2Dx.d.ts → index-C6yfz0QN.d.ts} +5 -5
  34. package/dist/{index-BOgzou1U.d.ts → index-COnuT0h7.d.ts} +263 -82
  35. package/dist/{index-CETQJlqT.d.ts → index-CTz17pH6.d.ts} +11 -11
  36. package/dist/{index-DQxQgKDs.d.ts → index-DQv7iCeE.d.ts} +6 -6
  37. package/dist/index.d.ts +85 -15
  38. package/dist/index.js +109 -18
  39. package/dist/index.js.map +1 -1
  40. package/dist/intelligence.d.ts +736 -681
  41. package/dist/intelligence.js +113 -8
  42. package/dist/intelligence.js.map +1 -1
  43. package/dist/jsonl-file-DtxhdAkZ.js +57 -0
  44. package/dist/jsonl-file-DtxhdAkZ.js.map +1 -0
  45. package/dist/kernel.d.ts +7 -7
  46. package/dist/kernel.js +12 -12
  47. package/dist/{knowledge-C1TcOBf6.js → knowledge-CD-_FbJT.js} +7 -7
  48. package/dist/{knowledge-C1TcOBf6.js.map → knowledge-CD-_FbJT.js.map} +1 -1
  49. package/dist/knowledge.d.ts +1 -1
  50. package/dist/knowledge.js +1 -1
  51. package/dist/{loop-runner-bin-DhUWzpNp.js → loop-runner-bin-BBz_ACfQ.js} +5 -5
  52. package/dist/{loop-runner-bin-DhUWzpNp.js.map → loop-runner-bin-BBz_ACfQ.js.map} +1 -1
  53. package/dist/{loop-runner-bin-OH61zEVw.d.ts → loop-runner-bin-DUNxyuaG.d.ts} +3 -3
  54. package/dist/loop-runner-bin.d.ts +1 -1
  55. package/dist/loop-runner-bin.js +1 -1
  56. package/dist/{materialization-BP5zspr2.js → materialization-CrdcfWXp.js} +4 -4
  57. package/dist/{materialization-BP5zspr2.js.map → materialization-CrdcfWXp.js.map} +1 -1
  58. package/dist/mcp/bin.js +4 -4
  59. package/dist/mcp/index.d.ts +5 -5
  60. package/dist/mcp/index.js +8 -8
  61. package/dist/mcp/memory-bin.js +1 -1
  62. package/dist/{memory-server-Cdpy7Uu8.js → memory-server-DsKOhzGf.js} +3 -3
  63. package/dist/{memory-server-Cdpy7Uu8.js.map → memory-server-DsKOhzGf.js.map} +1 -1
  64. package/dist/{model-policy-UTTc9Z-A.js → model-policy-DgRJIJse.js} +2 -2
  65. package/dist/{model-policy-UTTc9Z-A.js.map → model-policy-DgRJIJse.js.map} +1 -1
  66. package/dist/{openai-tools-K38wcStR.js → openai-tools-DIKr72_l.js} +2 -2
  67. package/dist/{openai-tools-K38wcStR.js.map → openai-tools-DIKr72_l.js.map} +1 -1
  68. package/dist/{openai-tools-DU3TZvFY.d.ts → openai-tools-yoRRzAUW.d.ts} +2 -2
  69. package/dist/{prepare-Czki1LBy.js → prepare-DK1qnk7-.js} +3 -3
  70. package/dist/{prepare-Czki1LBy.js.map → prepare-DK1qnk7-.js.map} +1 -1
  71. package/dist/primeintellect/index.d.ts +1 -1
  72. package/dist/profiles.d.ts +1 -1
  73. package/dist/profiles.js +1 -1
  74. package/dist/{protected-model-port-DEsTWOFs.d.ts → protected-model-port-B8ssMyUg.d.ts} +7 -7
  75. package/dist/{protected-model-port-OhS0l_6m.js → protected-model-port-DHeCm_UF.js} +2 -2
  76. package/dist/{protected-model-port-OhS0l_6m.js.map → protected-model-port-DHeCm_UF.js.map} +1 -1
  77. package/dist/{redact-BwEdhuVH.d.ts → redact-CLw2B7Qj.d.ts} +9 -9
  78. package/dist/{researcher-DBfKdnAz.js → researcher-CiSY6Wzb.js} +3 -3
  79. package/dist/{researcher-DBfKdnAz.js.map → researcher-CiSY6Wzb.js.map} +1 -1
  80. package/dist/retained-run-binding-Dp2e8xne.js +268 -0
  81. package/dist/retained-run-binding-Dp2e8xne.js.map +1 -0
  82. package/dist/{runtime-DhPCNvuH.d.ts → runtime-CVNWEw16.d.ts} +4 -4
  83. package/dist/{runtime-yCuqlhou.js → runtime-tTA2iCZQ.js} +650 -222
  84. package/dist/runtime-tTA2iCZQ.js.map +1 -0
  85. package/dist/{sandbox-events-CA2amHoA.js → sandbox-events-DPmXlcKw.js} +24 -2
  86. package/dist/sandbox-events-DPmXlcKw.js.map +1 -0
  87. package/dist/{snapshot-BOIprwBk.js → snapshot-cK9K420n.js} +2 -2
  88. package/dist/{snapshot-BOIprwBk.js.map → snapshot-cK9K420n.js.map} +1 -1
  89. package/dist/{spawn-journal-ZKEKel8N.js → spawn-journal-DGXei3xG.js} +5 -58
  90. package/dist/spawn-journal-DGXei3xG.js.map +1 -0
  91. package/dist/{stream-agent-turn-Q5ellSUu.js → stream-agent-turn-4kUH8Nnn.js} +77 -34
  92. package/dist/stream-agent-turn-4kUH8Nnn.js.map +1 -0
  93. package/dist/{stream-agent-turn-DhPlvHwp.d.ts → stream-agent-turn-RjrKGk6S.d.ts} +5 -8
  94. package/dist/{structural-rollout-2Z6J5ttt.js → structural-rollout-7LP9Ex0F.js} +9 -9
  95. package/dist/structural-rollout-7LP9Ex0F.js.map +1 -0
  96. package/dist/{supervise-to2ynnCG.js → supervise-Cx1QY_hj.js} +10 -9
  97. package/dist/{supervise-to2ynnCG.js.map → supervise-Cx1QY_hj.js.map} +1 -1
  98. package/dist/{supervisor-BfJNS2Z3.js → supervisor-BV72aDmP.js} +13 -9
  99. package/dist/supervisor-BV72aDmP.js.map +1 -0
  100. package/dist/testing.d.ts +2 -2
  101. package/dist/testing.js +12 -12
  102. package/dist/{tool-server-Dh-NcbHr.js → tool-server-DEmLr9YY.js} +2 -2
  103. package/dist/{tool-server-Dh-NcbHr.js.map → tool-server-DEmLr9YY.js.map} +1 -1
  104. package/dist/{types-CxU37Uzr.d.ts → types-19ZOddS3.d.ts} +2 -2
  105. package/dist/{types-BBwGSiAj.d.ts → types-C244Huc9.d.ts} +16 -7
  106. package/dist/{types-BCkweg3w.d.ts → types-D4arYjUl.d.ts} +6 -6
  107. package/dist/{workspace-archive-B_JDld25.js → workspace-archive-HYlsPhfm.js} +2 -2
  108. package/dist/{workspace-archive-B_JDld25.js.map → workspace-archive-HYlsPhfm.js.map} +1 -1
  109. package/package.json +4 -4
  110. package/dist/conversation-DIUtiLkC.js.map +0 -1
  111. package/dist/environment-provider-CLNVqp6H.js.map +0 -1
  112. package/dist/errors-CVIDr7GQ.js.map +0 -1
  113. package/dist/improvement-cycle-BeVj-EGJ.js.map +0 -1
  114. package/dist/runtime-yCuqlhou.js.map +0 -1
  115. package/dist/sandbox-events-CA2amHoA.js.map +0 -1
  116. package/dist/spawn-journal-ZKEKel8N.js.map +0 -1
  117. package/dist/stream-agent-turn-Q5ellSUu.js.map +0 -1
  118. package/dist/structural-rollout-2Z6J5ttt.js.map +0 -1
  119. package/dist/supervisor-BfJNS2Z3.js.map +0 -1
@@ -1,14 +1,14 @@
1
- import { C as MountRecorder, D as SelectionReceipt, E as SandboxClient, S as MountManifestEntry, a as Iteration, b as LoopTraceEvent, d as LoopLineageOptions, i as ExecCtx, it as RuntimeStreamEvent, k as Validator, m as LoopResult, r as Driver, t as AgentRunSpec, w as OutputAdapter, x as LoopWinner, y as LoopTraceEmitter } from "./types-BBwGSiAj.js";
1
+ import { C as MountRecorder, D as SelectionReceipt, E as SandboxClient, S as MountManifestEntry, a as Iteration, at as RuntimeStreamEvent, b as LoopTraceEvent, d as LoopLineageOptions, i as ExecCtx, k as Validator, m as LoopResult, r as Driver, t as AgentRunSpec, w as OutputAdapter, x as LoopWinner, y as LoopTraceEmitter } from "./types-C244Huc9.js";
2
2
  import { n as AnalystRegistryLike } from "./types-zWfqDjeL.js";
3
3
  import { l as RuntimeHooks } from "./runtime-hooks-sbRpjStq.js";
4
- import { B as SpawnOpts, E as ProviderModelExecutionEvidence, F as Runtime, G as SpendGap, I as Scope, J as Supervisor, Jt as PendingWait, K as SteerableRootHandle, L as Settled, O as ResultBlobStore, Q as UsageEvent, R as SpawnEvent, S as NodeSnapshot, St as OtelExporter, U as Spend, X as TreeView, Zt as WaitProbeRegistry, a as DefaultVerdict, b as NodeExecutionIdentity, d as ExecutorFactory, h as ExecutorResult, i as Budget, j as RootHandle, k as ResumedKeyState, ln as TraceSource, lt as TraceContext, m as ExecutorRegistry, n as AgentExecutionRef, o as ExecutionBindingReceipt, q as SupervisedResult, r as AgentSpec, rt as WorkerTraceResolver, s as Executor, t as Agent, tt as WorkerTraceEvidence, vn as WorkerProgress, w as ProfileMaterializationReceipt, x as NodeId, xt as OtelExportConfig, y as NoWinnerError, z as SpawnJournal } from "./types-BCkweg3w.js";
5
- import { At as JsonRpcResponse, M as WorktreeCheckRunner, Mt as McpTransport, P as WorktreeHarnessResult, St as PeerMailbox, T as KeyProvider, Z as GitRunner, _t as PeerMailLimits, ct as ToolLoopCompactionOptions, ht as PeerMailEvent, it as ToolSpec, jt as McpToolDescriptor$1, kt as JsonRpcMessage, l as RouterToolsSeam, o as ExecutorConfig, ot as ToolLoopChat, q as runLocalHarness, rt as RouterTransportConfig, x as Inbox } from "./runtime-DhPCNvuH.js";
4
+ import { B as SpawnOpts, E as ProviderModelExecutionEvidence, F as Runtime, G as SpendGap, I as Scope, J as Supervisor, Jt as PendingWait, K as SteerableRootHandle, L as Settled, O as ResultBlobStore, Q as UsageEvent, R as SpawnEvent, S as NodeSnapshot, St as OtelExporter, U as Spend, X as TreeView, Zt as WaitProbeRegistry, a as DefaultVerdict, b as NodeExecutionIdentity, d as ExecutorFactory, h as ExecutorResult, i as Budget, j as RootHandle, k as ResumedKeyState, ln as TraceSource, lt as TraceContext, m as ExecutorRegistry, n as AgentExecutionRef, o as ExecutionBindingReceipt, q as SupervisedResult, r as AgentSpec, rt as WorkerTraceResolver, s as Executor, t as Agent, tt as WorkerTraceEvidence, vn as WorkerProgress, w as ProfileMaterializationReceipt, x as NodeId, xt as OtelExportConfig, y as NoWinnerError, z as SpawnJournal } from "./types-D4arYjUl.js";
5
+ import { At as JsonRpcResponse, M as WorktreeCheckRunner, Mt as McpTransport, P as WorktreeHarnessResult, St as PeerMailbox, T as KeyProvider, Z as GitRunner, _t as PeerMailLimits, ct as ToolLoopCompactionOptions, ht as PeerMailEvent, it as ToolSpec, jt as McpToolDescriptor$1, kt as JsonRpcMessage, l as RouterToolsSeam, o as ExecutorConfig, ot as ToolLoopChat, q as runLocalHarness, rt as RouterTransportConfig, x as Inbox } from "./runtime-CVNWEw16.js";
6
6
  import { o as UiLens, r as UiFinding, s as CoderTask } from "./substrate-BcnuSHXm.js";
7
- import "./environment-provider-DA8LqBV-.js";
8
- import "./stream-agent-turn-DhPlvHwp.js";
9
- import { AgentEvalError, AgentEvalError as AgentEvalError$1, AgentEvalErrorCode, AgentProfile, AnalystFinding, AnalystFinding as AnalystFinding$1, AnalystFinding as AnalystFinding$2, AnalystRunInputs, ChatClient, ConfigError, CustomTokenPricing, DetectorSignal, HarnessType, JudgeError, MaximumCharge, NotFoundError, ProposalFinding, RankTestMethod, RunRecord, StreamingDetector, ToolSpan, TraceAnalysisStore, ValidationError, buildTrajectory, computeFindingId as computeFindingId$1, makeFinding as makeFinding$1 } from "@tangle-network/agent-eval";
7
+ import "./environment-provider-Bu3S3v78.js";
8
+ import "./stream-agent-turn-RjrKGk6S.js";
9
+ import { AGENT_PROFILE_MATERIALIZATION_AXES, AgentExactRunControlRef, AgentInteractiveSession, AgentInteractiveSessionControlClaim, AgentInteractiveSessionPromptAcknowledgement, AgentInteractiveSessionPromptCommand, AgentInteractiveSessionRef, AgentInteractiveSessionStart, AgentInteractiveSessionStatus, AgentNativeContextContinuationOptions, AgentNativeContextContinuationResult, AgentProfile, AgentProfile as AgentProfile$2, AgentProfile as AgentProfile$3, AgentProfilePrompt, AgentProfileSecurityPolicy, AgentSessionStatus, CanonicalAgentProfileMaterializationAxis, InteractionAcknowledgement, InteractionResponseCommand, NativeContextBoundaryProof, NativeContextContinuationRequest, NativeContextContinuationTurn, RuntimeEventEnvelope, Sha256Digest, StreamEvent, profileMaterializationAxes as profileMaterializationAxes$1 } from "@tangle-network/agent-interface";
10
+ import { AgentEvalError, AgentEvalError as AgentEvalError$1, AgentEvalErrorCode, AgentProfile as AgentProfile$1, AnalystFinding, AnalystFinding as AnalystFinding$1, AnalystFinding as AnalystFinding$2, AnalystRunInputs, ChatClient, ConfigError, CustomTokenPricing, DetectorSignal, HarnessType as HarnessType$1, JudgeError, MaximumCharge, NotFoundError, ProposalFinding, RankTestMethod, RunRecord, StreamingDetector, ToolSpan, TraceAnalysisStore, ValidationError, buildTrajectory, computeFindingId as computeFindingId$1, makeFinding as makeFinding$1 } from "@tangle-network/agent-eval";
10
11
  import { DispatchFn, ExternalOptimizerModelCall, JudgeConfig, ProfileDispatchFn, RunProfileMatrixOptions, RunProfileMatrixResult, Scenario } from "@tangle-network/agent-eval/campaign";
11
- import { AGENT_PROFILE_MATERIALIZATION_AXES, AgentExactRunControlRef, AgentNativeContextContinuationOptions, AgentNativeContextContinuationResult, AgentProfile as AgentProfile$1, AgentProfile as AgentProfile$2, AgentProfile as AgentProfile$3, AgentProfilePrompt, AgentProfileSecurityPolicy, AgentSessionStatus, CanonicalAgentProfileMaterializationAxis, InteractionAcknowledgement, InteractionResponseCommand, NativeContextBoundaryProof, NativeContextContinuationRequest, NativeContextContinuationTurn, RuntimeEventEnvelope, Sha256Digest, profileMaterializationAxes as profileMaterializationAxes$1 } from "@tangle-network/agent-interface";
12
12
  import { BackendType, BranchOptions, CreateSandboxOptions, CreateSandboxOptions as CreateSandboxOptions$1, PromptOptions, SandboxEvent, SandboxEvent as SandboxEvent$1, SandboxInstance, SandboxInstance as SandboxInstance$1 } from "@tangle-network/sandbox";
13
13
  import { stuckLoopView, toolWasteView } from "@tangle-network/agent-eval/pipelines";
14
14
  import { AgentEnvironment, AgentEnvironmentCapabilities, AgentEnvironmentProvider, AgentTurnInput, AgentTurnResult, CreateAgentEnvironmentInput } from "@tangle-network/agent-interface/environment-provider";
@@ -461,6 +461,8 @@ type NativeContextContinuationExecution = AgentNativeContextContinuationResult;
461
461
  /** Reconstructable control of one provider-retained run. @stable */
462
462
  interface RetainedRunHandle {
463
463
  readonly controlRef: AgentExactRunControlRef;
464
+ /** Capabilities measured from the exact environment that owns this run. */
465
+ readonly capabilities: AgentEnvironmentCapabilities;
464
466
  status(options?: {
465
467
  waitMs?: number;
466
468
  signal?: AbortSignal;
@@ -476,6 +478,25 @@ interface RetainedRunHandle {
476
478
  continueNative(request: NativeContextContinuationRequest, turn: NativeContextContinuationInput): Promise<NativeContextContinuationExecution>;
477
479
  cancel(options: RetainedRunCancelOptions): Promise<RetainedRunCancellation>;
478
480
  }
481
+ /**
482
+ * Sanitized headless intent durable before environment creation.
483
+ *
484
+ * The request digest binds the public create and turn material without
485
+ * retaining secret values. The original start material is required to replay
486
+ * this record after a process crash.
487
+ * @stable
488
+ */
489
+ interface RetainedRunIntentAdmission {
490
+ readonly phase: 'intent';
491
+ readonly provider: string;
492
+ readonly idempotencyKey: string;
493
+ readonly turnId: string;
494
+ readonly sessionId: string;
495
+ readonly executionId: string;
496
+ readonly runId: string;
497
+ readonly requestedProfileDigest: Sha256Digest;
498
+ readonly requestDigest: Sha256Digest;
499
+ }
479
500
  /** Recovery coordinates durable after environment creation and before dispatch. @stable */
480
501
  interface RetainedRunEnvironmentAdmission {
481
502
  readonly phase: 'environment';
@@ -495,22 +516,58 @@ interface RetainedRunDispatchedAdmission {
495
516
  readonly idempotencyKey: string;
496
517
  readonly turnId: string;
497
518
  }
498
- /** One admission record the runtime persists through the caller before proceeding. @stable */
499
- type RetainedRunAdmission = RetainedRunEnvironmentAdmission | RetainedRunDispatchedAdmission;
519
+ /**
520
+ * Sanitized intent durable before an interactive environment create begins.
521
+ *
522
+ * The digest covers the public start and create material without retaining that
523
+ * material. It never carries environment variables, secret values, or provider
524
+ * options. The replay input supplies private values after this check.
525
+ * @stable
526
+ */
527
+ interface RetainedInteractiveIntentAdmission {
528
+ readonly phase: 'interactive_intent';
529
+ readonly provider: string;
530
+ readonly idempotencyKey: string;
531
+ readonly interactiveIdempotencyKey: string;
532
+ readonly sessionId: string;
533
+ readonly executionId: string;
534
+ readonly runId: string;
535
+ readonly requestedProfileDigest: Sha256Digest;
536
+ readonly requestDigest: Sha256Digest;
537
+ }
538
+ /** Exact interactive start request durable after environment creation. @stable */
539
+ interface RetainedInteractiveEnvironmentAdmission {
540
+ readonly phase: 'interactive_environment';
541
+ readonly provider: string;
542
+ readonly environmentId: string;
543
+ readonly idempotencyKey: string;
544
+ readonly interactiveIdempotencyKey: string;
545
+ readonly request: AgentInteractiveSessionStart;
546
+ }
547
+ /** Provider-issued interactive process reference durable before start returns. @stable */
548
+ interface RetainedInteractiveStartedAdmission {
549
+ readonly phase: 'interactive_started';
550
+ readonly idempotencyKey: string;
551
+ readonly interactiveIdempotencyKey: string;
552
+ readonly ref: AgentInteractiveSessionRef;
553
+ }
554
+ /** Durable records for one exact native coding-agent process. @stable */
555
+ type RetainedInteractiveAdmission = RetainedInteractiveIntentAdmission | RetainedInteractiveEnvironmentAdmission | RetainedInteractiveStartedAdmission;
556
+ /** One detached-run admission record the runtime persists before creation or dispatch proceeds. @stable */
557
+ type RetainedRunAdmission = RetainedRunIntentAdmission | RetainedRunEnvironmentAdmission | RetainedRunDispatchedAdmission;
500
558
  /**
501
559
  * Awaited durability hook for retained admission records.
502
560
  *
503
- * The runtime blocks after environment creation and again after dispatch until
504
- * the hook resolves, so no retained run becomes caller-visible before its
505
- * recovery record is durable. A rejection fails the start without destroying
506
- * the environment; the persisted record or provider state is the recovery path.
561
+ * The runtime blocks after the pre-create intent, environment creation, and
562
+ * provider work until the hook resolves. No retained run becomes caller-visible
563
+ * before its exact recovery record is durable. A rejection keeps provider state
564
+ * for recovery when provider work has already started.
507
565
  *
508
566
  * @stable
509
567
  */
510
568
  type RetainedRunAdmissionHook = (admission: RetainedRunAdmission) => Promise<void>;
511
- /** A retained start is retry-safe only when environment and turn keys are explicit. @stable */
512
- interface StartRetainedRunOptions {
513
- readonly provider: AgentEnvironmentProvider;
569
+ /** Environment, turn, and optional identity needed to replay one retained start. @stable */
570
+ interface RetainedRunStartMaterial {
514
571
  readonly environment: CreateAgentEnvironmentInput & {
515
572
  idempotencyKey: string;
516
573
  };
@@ -526,6 +583,12 @@ interface StartRetainedRunOptions {
526
583
  readonly sessionId: string;
527
584
  readonly executionId: string;
528
585
  };
586
+ }
587
+ /** A retained start is retry-safe only when environment and turn keys are explicit. @stable */
588
+ interface StartRetainedRunOptions extends RetainedRunStartMaterial {
589
+ readonly provider: AgentEnvironmentProvider;
590
+ /** A previously persisted intent used to replay the exact create operation. */
591
+ readonly intent?: RetainedRunIntentAdmission;
529
592
  readonly onAdmission: RetainedRunAdmissionHook;
530
593
  readonly now?: () => number;
531
594
  }
@@ -558,6 +621,15 @@ interface ReconnectRetainedRunOptions {
558
621
  readonly controlRef: AgentExactRunControlRef;
559
622
  readonly now?: () => number;
560
623
  }
624
+ /** Recover a headless start after its pre-create intent was persisted. @stable */
625
+ interface RecoverRetainedRunIntentOptions {
626
+ readonly provider: AgentEnvironmentProvider;
627
+ readonly admission: RetainedRunIntentAdmission;
628
+ /** The exact original environment, turn, and optional identity material. */
629
+ readonly replay: RetainedRunStartMaterial;
630
+ readonly onAdmission: RetainedRunAdmissionHook;
631
+ readonly now?: () => number;
632
+ }
561
633
  /**
562
634
  * Pre-dispatch admission coordinates for one recovery attempt.
563
635
  *
@@ -662,19 +734,44 @@ declare class PlannerError extends AgentEvalError {
662
734
  /**
663
735
  *
664
736
  * The caller's `onAdmission` durability hook rejected, so a retained run's
665
- * admission record is not durable while provider work may already be live.
666
- * Distinct from a provider failure: the provider call succeeded, and the
667
- * environment is intentionally kept so `recoverRetainedRun` (or a provider
668
- * metadata lookup) can rebuild or disprove the run. Carries `capture_integrity`
669
- * because the durable record a later recovery requires was not written.
737
+ * admission record is not durable. For a pre-create intent, no provider work
738
+ * has started. For a later record, provider state may already be live and the
739
+ * environment remains available for recovery. Carries `capture_integrity`
740
+ * because the required recovery record was not written.
670
741
  *
671
742
  * @stable
672
743
  */
673
- declare class RetainedRunAdmissionError extends AgentEvalError {
674
- readonly phase: RetainedRunAdmission['phase'];
744
+ declare abstract class RetainedAdmissionError<TAdmission extends RetainedRunAdmission | RetainedInteractiveAdmission> extends AgentEvalError {
745
+ readonly phase: TAdmission['phase'];
675
746
  /** The exact record the hook failed to persist, for direct recovery. */
676
- readonly admission: RetainedRunAdmission;
677
- constructor(admission: RetainedRunAdmission, options?: {
747
+ readonly admission: TAdmission;
748
+ constructor(admission: TAdmission, options?: {
749
+ cause?: unknown;
750
+ });
751
+ }
752
+ /** The caller could not persist one detached-run recovery record. @stable */
753
+ declare class RetainedRunAdmissionError extends RetainedAdmissionError<RetainedRunAdmission> {}
754
+ /** The caller could not persist one exact interactive-process recovery record. @stable */
755
+ declare class RetainedInteractiveAdmissionError extends RetainedAdmissionError<RetainedInteractiveAdmission> {}
756
+ /**
757
+ * A provider returned a valid interactive reference that does not bind to the
758
+ * exact start request, or returned data that could not be parsed as one.
759
+ *
760
+ * The requested start and any valid provider reference are detached snapshots.
761
+ * Malformed provider data is never copied into the error, so the error remains
762
+ * safe to persist while the environment remains available for orphan cleanup.
763
+ *
764
+ * @stable
765
+ */
766
+ declare class RetainedInteractiveBindingError extends AgentEvalError {
767
+ /** The exact native-process start request sent to the provider. */
768
+ readonly requested: AgentInteractiveSessionStart;
769
+ /** The valid provider data, when the provider returned a parseable value. */
770
+ readonly returned: {
771
+ readonly ref?: AgentInteractiveSessionRef;
772
+ readonly status?: AgentInteractiveSessionStatus;
773
+ };
774
+ constructor(requested: AgentInteractiveSessionStart, returned: RetainedInteractiveBindingError['returned'], options?: {
678
775
  cause?: unknown;
679
776
  });
680
777
  }
@@ -1778,9 +1875,9 @@ interface DetachedSessionDelegateOptions {
1778
1875
  * harness/provider/model/prompt authority for the single-coder path and the default identity for
1779
1876
  * repeated fanout shots.
1780
1877
  */
1781
- workerProfile: AgentProfile$1;
1878
+ workerProfile: AgentProfile;
1782
1879
  /** Optional exact identities for heterogeneous fanout. Omit to repeat `workerProfile`. */
1783
- fanoutProfiles?: ReadonlyArray<AgentProfile$1>;
1880
+ fanoutProfiles?: ReadonlyArray<AgentProfile>;
1784
1881
  /** Hard cap on the kernel's per-batch concurrency. Default 4. */
1785
1882
  maxConcurrency?: number;
1786
1883
  /**
@@ -1955,7 +2052,7 @@ interface DelegateHandlerOptions {
1955
2052
  /** The supervisor brain's router substrate (REQUIRED — the default supervisor is router-brained). */
1956
2053
  router: RouterTransportConfig;
1957
2054
  /** Exact executable supervisor identity selected by the trusted composition root. */
1958
- supervisorProfile: AgentProfile$1;
2055
+ supervisorProfile: AgentProfile;
1959
2056
  /** WHERE the authored workers run. Required for `supervise()` to spawn anything. */
1960
2057
  backend: ExecutorConfig;
1961
2058
  /** The completion oracle the authored workers settle against (settled ⟺ delivered). */
@@ -2153,7 +2250,7 @@ interface AnalyzeOnSettleRoute {
2153
2250
  * analyst's settlement never enters the settled-worker ledger, never feeds the finalizer, and
2154
2251
  * never re-fires the analyst-on-settle hook (no analyst-on-analyst cascade by construction).
2155
2252
  */
2156
- readonly agent?: AgentProfile$1;
2253
+ readonly agent?: AgentProfile;
2157
2254
  /** Deliver the findings to this live worker, named by its PROFILE NAME (the stable node
2158
2255
  * identity a graph pins) or its spawn label. Omit = the driver (bus only). Delivery goes
2159
2256
  * through the same authorization + steer machinery a driver-authored steer uses and is
@@ -2321,7 +2418,7 @@ interface WorkerSpawnContext {
2321
2418
  */
2322
2419
  readonly peerMailUrl?: string;
2323
2420
  }
2324
- type MakeWorkerAgent = (profile: AgentProfile$1, context?: WorkerSpawnContext) => Agent<unknown, unknown>;
2421
+ type MakeWorkerAgent = (profile: AgentProfile, context?: WorkerSpawnContext) => Agent<unknown, unknown>;
2325
2422
  interface CoordinationToolsOptions {
2326
2423
  readonly scope: Scope<unknown>;
2327
2424
  readonly blobs: ResultBlobStore;
@@ -2635,7 +2732,7 @@ interface AuditIntentInput {
2635
2732
  }
2636
2733
  interface AuditIntentOptions {
2637
2734
  /** Exact auditor identity. */
2638
- profile: AgentProfile$1;
2735
+ profile: AgentProfile;
2639
2736
  /** Execution substrate. All behavior comes from the profile. */
2640
2737
  executor: ExecutorConfig;
2641
2738
  /** Cap trace lines fed to the auditor. Default 80. */
@@ -2880,7 +2977,7 @@ interface LeaderboardRunContext {
2880
2977
  exportDir: string;
2881
2978
  /** Every parsed flag (standard + `spec.flags`), by name without `--`. */
2882
2979
  args: Record<string, string | undefined>;
2883
- harnesses: readonly HarnessType[];
2980
+ harnesses: readonly HarnessType$1[];
2884
2981
  /** Snapshot-stamped model ids (`name@snapshot`) — the eval identity models. */
2885
2982
  models: readonly string[];
2886
2983
  caseIds: readonly string[];
@@ -2954,13 +3051,13 @@ interface LeaderboardSpec<TCase, TArtifact = string> {
2954
3051
  * `CODING_HARNESSES` × the base profile's `model.default`. `--harnesses` /
2955
3052
  * `--models` override per run. */
2956
3053
  axis?: {
2957
- harnesses?: readonly HarnessType[];
3054
+ harnesses?: readonly HarnessType$1[];
2958
3055
  models?: readonly string[];
2959
3056
  };
2960
3057
  /** Exact base profile the axes expand over (prompt/tools/skills held fixed).
2961
3058
  * Its provider remains authoritative while each axis cell replaces the
2962
3059
  * harness and concrete model. */
2963
- baseProfile: AgentProfile;
3060
+ baseProfile: AgentProfile$1;
2964
3061
  /**
2965
3062
  * Execution-backend registry: `--backend <name>` picks the factory that
2966
3063
  * yields the `SandboxClient` every cell runs on. Merged over the defaults:
@@ -3010,7 +3107,7 @@ interface LeaderboardSpec<TCase, TArtifact = string> {
3010
3107
  reps?: number;
3011
3108
  /** Provider- or executor-enforced maximum for one cell dispatch. Required
3012
3109
  * before execution when `matrix.costCeiling` is configured. */
3013
- maximumCharge?: MaximumCharge | ((profile: AgentProfile, scenario: LeaderboardScenario<TCase>) => MaximumCharge | undefined);
3110
+ maximumCharge?: MaximumCharge | ((profile: AgentProfile$1, scenario: LeaderboardScenario<TCase>) => MaximumCharge | undefined);
3014
3111
  /** Passthrough overrides spread onto the final `runProfileMatrix` call
3015
3112
  * (e.g. `maxConcurrency`, `costCeiling`, `integrity`, `storage`) — spread
3016
3113
  * LAST, so anything the facade wired can be overridden. */
@@ -3169,7 +3266,7 @@ interface ShapeContext<D = unknown> {
3169
3266
  spawnChild(name: string, spec: AgentSpec): Agent<unknown, Outcome<D>>;
3170
3267
  /** Derive a child `AgentSpec` from the persona's root spec with an overridden profile —
3171
3268
  * the seam a shape uses to give a worker a narrower role/prompt than the root persona. */
3172
- childSpec(profile: AgentProfile$1, harness?: BackendType | null): AgentSpec;
3269
+ childSpec(profile: AgentProfile, harness?: BackendType | null): AgentSpec;
3173
3270
  /** The scope analyst (selector≠judge firewall) the combinator steers from. Absent ⇒ the
3174
3271
  * dormant default (empty findings → gates read deliverables/state only). */
3175
3272
  readonly analyst?: ScopeAnalyst<D>;
@@ -3769,7 +3866,7 @@ interface ObserveInput {
3769
3866
  }
3770
3867
  interface ObserveOptions {
3771
3868
  /** Exact analyst identity. */
3772
- profile: AgentProfile$1;
3869
+ profile: AgentProfile;
3773
3870
  /** Execution substrate. All behavior comes from the profile. */
3774
3871
  executor: ExecutorConfig;
3775
3872
  /** When set, learned facts are appended (idempotent) for the next run to read. */
@@ -3806,7 +3903,7 @@ interface HarvestCorpusOptions {
3806
3903
  /** The completed runs to analyze — map your store's rows to `ObserveInput`. */
3807
3904
  runs: AsyncIterable<ObserveInput> | Iterable<ObserveInput>;
3808
3905
  /** Exact analyst identity. */
3809
- profile: AgentProfile$1;
3906
+ profile: AgentProfile;
3810
3907
  /** Execution substrate. All behavior comes from the profile. */
3811
3908
  executor: ExecutorConfig;
3812
3909
  /** The durable corpus the facts accrete into. */
@@ -3896,7 +3993,7 @@ declare function inProcessSandboxClient(options: InProcessSandboxClientOptions):
3896
3993
  * run once on the prompt, emit the terminal result event, tear down.
3897
3994
  */
3898
3995
  declare function inlineSandboxClient(factory: ExecutorFactory<unknown>, defaults?: {
3899
- profile?: AgentProfile$1;
3996
+ profile?: AgentProfile;
3900
3997
  }): SandboxClient;
3901
3998
  //#endregion
3902
3999
  //#region src/runtime/local-sandbox-client.d.ts
@@ -3907,7 +4004,7 @@ interface LocalSandboxClientOptions {
3907
4004
  key: string;
3908
4005
  };
3909
4006
  /** Fallback profile when `create(options)` carries none on `backend.profile`. */
3910
- profile?: AgentProfile$1;
4007
+ profile?: AgentProfile;
3911
4008
  /** Resolves profile-declared MCP secret names at child-process spawn time. */
3912
4009
  keys?: KeyProvider;
3913
4010
  /** Explicit trust decision for the exact `profile` bytes supplied here.
@@ -4413,7 +4510,7 @@ declare class FileCoordinationLog implements CoordinationLog {
4413
4510
  //#endregion
4414
4511
  //#region src/runtime/supervise/supervisor-agent.d.ts
4415
4512
  /** A supervisor is an exact canonical AgentProfile; no looser model/prompt shape exists. */
4416
- type SupervisorProfile = AgentProfile$1;
4513
+ type SupervisorProfile = AgentProfile;
4417
4514
  /** The exact profile fields consumed by supervisor materialization. */
4418
4515
  interface ResolvedSupervisorProfile {
4419
4516
  readonly name: string;
@@ -4716,8 +4813,8 @@ interface SuperviseOptions {
4716
4813
  * authorize a different task. Return the exact allowed profile (which may be narrowed) plus
4717
4814
  * trusted candidate/pursuit attribution, or throw to refuse the whole spawn before reservation. */
4718
4815
  readonly authorizeSpawn?: (input: {
4719
- readonly profile: AgentProfile$1;
4720
- readonly parent: AgentProfile$1;
4816
+ readonly profile: AgentProfile;
4817
+ readonly parent: AgentProfile;
4721
4818
  /** Trusted identity of the manager authorizing this exact child. */
4722
4819
  readonly parentIdentity: NodeExecutionIdentity;
4723
4820
  /** Concrete manager node; never accepted from model-authored tool arguments. */
@@ -4734,7 +4831,7 @@ interface SuperviseOptions {
4734
4831
  * enabled, omitting this refuses steer/answer instructions instead of silently extending the
4735
4832
  * authorized task. The exact worker identity and detached bytes are recorded before delivery. */
4736
4833
  readonly authorizeMessage?: (input: DownMessageAuthorizationInput & {
4737
- readonly parent: AgentProfile$1;
4834
+ readonly parent: AgentProfile;
4738
4835
  readonly depth: number;
4739
4836
  }) => AuthorizedDownMessage;
4740
4837
  /** Decide whether an authorized child becomes another supervisor. By default only
@@ -4923,13 +5020,13 @@ interface SuperviseOptions {
4923
5020
  /** The product-authorized result for one complete spawn request. Attribution is never accepted
4924
5021
  * from the manager itself; it enters only through this trusted callback. */
4925
5022
  interface AuthorizedSpawn {
4926
- readonly profile: AgentProfile$1;
5023
+ readonly profile: AgentProfile;
4927
5024
  readonly execution?: AgentExecutionRef;
4928
5025
  }
4929
5026
  /** Exact trusted context after a manager-authored spawn has passed product authorization. */
4930
5027
  interface AuthorizedSpawnContext {
4931
- readonly profile: AgentProfile$1;
4932
- readonly parent: AgentProfile$1;
5028
+ readonly profile: AgentProfile;
5029
+ readonly parent: AgentProfile;
4933
5030
  readonly parentIdentity: NodeExecutionIdentity;
4934
5031
  readonly execution: NodeExecutionIdentity;
4935
5032
  readonly parentNodeId: string;
@@ -5027,7 +5124,7 @@ interface LoopDispatchOptions<Task, Output, Decision, TScenario extends Scenario
5027
5124
  sandboxClient: SandboxClient;
5028
5125
  /** Build the per-cell runAgentRounds options from the scenario (+ profile, when
5029
5126
  * used with `runProfileMatrix`). */
5030
- toLoopOptions: (scenario: TScenario, profile: AgentProfile) => LoopOptionsForDispatch<Task, Output, Decision>;
5127
+ toLoopOptions: (scenario: TScenario, profile: AgentProfile$1) => LoopOptionsForDispatch<Task, Output, Decision>;
5031
5128
  /** Map the finished loop to the artifact the judges score. Default:
5032
5129
  * `result.winner?.output`. A loop with no winner yields `undefined` (judges
5033
5130
  * skip the cell) — but the loop's token usage is STILL reported, so the
@@ -5040,9 +5137,9 @@ interface LoopDispatchOptions<Task, Output, Decision, TScenario extends Scenario
5040
5137
  costSource?: string;
5041
5138
  /** Provider- or executor-enforced maximum for this whole cell dispatch.
5042
5139
  * Required by agent-eval before execution when the campaign is cost-capped. */
5043
- maximumCharge?: MaximumCharge | ((scenario: TScenario, profile: AgentProfile) => MaximumCharge | undefined);
5140
+ maximumCharge?: MaximumCharge | ((scenario: TScenario, profile: AgentProfile$1) => MaximumCharge | undefined);
5044
5141
  /** Resolve the model actually served from the completed loop. */
5045
- resolveCostModel?: (result: LoopResult<Task, Output, Decision>, scenario: TScenario, profile: AgentProfile) => string | undefined;
5142
+ resolveCostModel?: (result: LoopResult<Task, Output, Decision>, scenario: TScenario, profile: AgentProfile$1) => string | undefined;
5046
5143
  }
5047
5144
  /** `supervise` options minus Eval-owned cancellation. */
5048
5145
  type SuperviseOptionsForDispatch = Omit<SuperviseOptions, 'signal'>;
@@ -5055,15 +5152,15 @@ type SuperviseOptionsForDispatch = Omit<SuperviseOptions, 'signal'>;
5055
5152
  */
5056
5153
  interface SuperviseDispatchOptions<TScenario extends Scenario, TArtifact> {
5057
5154
  /** Build the task passed to the root supervisor for this profile/scenario cell. */
5058
- toTask: (scenario: TScenario, profile: AgentProfile) => unknown;
5155
+ toTask: (scenario: TScenario, profile: AgentProfile$1) => unknown;
5059
5156
  /** Build the Runtime-owned recursive-run options for this profile/scenario cell. */
5060
- toSuperviseOptions: (scenario: TScenario, profile: AgentProfile) => SuperviseOptionsForDispatch;
5157
+ toSuperviseOptions: (scenario: TScenario, profile: AgentProfile$1) => SuperviseOptionsForDispatch;
5061
5158
  /** Map the terminal tree result to the artifact judges score. Default: winner output. */
5062
5159
  toArtifact?: (result: SupervisedResult<unknown>) => TArtifact;
5063
5160
  /** Cost-meter source label. Default `'supervise'`. */
5064
5161
  costSource?: string;
5065
5162
  /** Provider- or executor-enforced maximum for the complete supervised tree. */
5066
- maximumCharge?: MaximumCharge | ((scenario: TScenario, profile: AgentProfile) => MaximumCharge | undefined);
5163
+ maximumCharge?: MaximumCharge | ((scenario: TScenario, profile: AgentProfile$1) => MaximumCharge | undefined);
5067
5164
  }
5068
5165
  /** Run one recursive supervised tree inside Eval's pre-execution paid-call lifecycle. */
5069
5166
  declare function superviseDispatch<TScenario extends Scenario, TArtifact>(opts: SuperviseDispatchOptions<TScenario, TArtifact>): ProfileDispatchFn<TScenario, TArtifact>;
@@ -5138,7 +5235,7 @@ interface AgenticOptions {
5138
5235
  routerBaseUrl: string;
5139
5236
  routerKey: string;
5140
5237
  /** Exact worker identity. Model and standing instructions are read only from this profile. */
5141
- workerProfile: AgentProfile$1;
5238
+ workerProfile: AgentProfile;
5142
5239
  /** Optional completion transport (see `RouterConfig.complete`): when set, BOTH legs of an
5143
5240
  * offline run use it instead of `fetch`-ing the router — the worker's tool loop (threaded into
5144
5241
  * its `routerToolLoop` cfg) AND the analyst's critic (its `ChatClient` is bound to this same
@@ -5146,7 +5243,7 @@ interface AgenticOptions {
5146
5243
  * the live router fetch path (the default). */
5147
5244
  complete?: (body: Record<string, unknown>) => Promise<unknown>;
5148
5245
  /** Exact critic identity. Omitted means the exact worker profile also runs the critic. */
5149
- analystProfile?: AgentProfile$1;
5246
+ analystProfile?: AgentProfile;
5150
5247
  /** Across-run learning: when set, the analyst's observe() pass appends trace-derived
5151
5248
  * facts here (the flywheel write side). Read-back is opt-in via `corpusReadback`
5152
5249
  * because unconditional priming can pollute context on some domains. */
@@ -5232,7 +5329,7 @@ interface ShotSpec {
5232
5329
  messages?: StrategyMessage[];
5233
5330
  steer?: string;
5234
5331
  /** Exact profile for this shot. Omitted means `AgenticOptions.workerProfile`. */
5235
- profile?: AgentProfile$1;
5332
+ profile?: AgentProfile;
5236
5333
  /** Restrict THIS shot to a subset of the domain's tools (by name) — focus a shot on
5237
5334
  * the relevant capabilities. Restriction-only; unknown names throw. Omitted ⇒ all. */
5238
5335
  tools?: string[];
@@ -5671,7 +5768,7 @@ declare class FileCorpus implements Corpus {
5671
5768
  * An empty query result returns a fresh COPY of the profile with no instruction change (a valid
5672
5769
  * "nothing learned yet" read, not an error).
5673
5770
  */
5674
- declare function renderCorpusToInstructions(opts: RenderCorpusToInstructionsOptions): Promise<AgentProfile$1>;
5771
+ declare function renderCorpusToInstructions(opts: RenderCorpusToInstructionsOptions): Promise<AgentProfile>;
5675
5772
  //#endregion
5676
5773
  //#region src/runtime/personify/persona.d.ts
5677
5774
  /**
@@ -5738,14 +5835,14 @@ declare function equalKOnCost(arms: ReadonlyArray<EqualKArm>, options?: EqualKOn
5738
5835
  declare function assertModelAllowed(model: string | undefined, allowed: readonly string[] | undefined): void;
5739
5836
  /** Check every canonical model-bearing field in a complete profile, including the models a
5740
5837
  * backend may select for cheap work, named subagents, or modes. */
5741
- declare function assertProfileModelsAllowed(profile: AgentProfile$1, allowed: readonly string[] | undefined): void;
5838
+ declare function assertProfileModelsAllowed(profile: AgentProfile, allowed: readonly string[] | undefined): void;
5742
5839
  //#endregion
5743
5840
  //#region src/runtime/profile-chat-client.d.ts
5744
5841
  /** Profile-exact adapter for packages that consume agent-eval's ChatClient contract.
5745
5842
  * Every call still enters Runtime through createExecutor -> streamAgentTurn, and every
5746
5843
  * behavioral field is checked against the exact AgentProfile before any transport runs. */
5747
5844
  declare function profileChatClient(args: {
5748
- profile: AgentProfile$1;
5845
+ profile: AgentProfile;
5749
5846
  executor: ExecutorConfig;
5750
5847
  context: string;
5751
5848
  }): ChatClient;
@@ -5753,7 +5850,7 @@ declare function profileChatClient(args: {
5753
5850
  * Eval validates and freezes the provider-neutral request; Runtime owns the exact
5754
5851
  * AgentProfile, execution route, retries, usage, and finite execution evidence. */
5755
5852
  declare function profileOptimizerModelCall(args: {
5756
- profile: AgentProfile$1;
5853
+ profile: AgentProfile;
5757
5854
  executor: ExecutorConfig;
5758
5855
  context: string;
5759
5856
  pricing?: CustomTokenPricing;
@@ -5850,16 +5947,96 @@ interface ResolveSandboxClientOptions {
5850
5947
  */
5851
5948
  declare function resolveSandboxClient(opts: ResolveSandboxClientOptions): SandboxClient;
5852
5949
  //#endregion
5950
+ //#region src/runtime/retained-interactive-types.d.ts
5951
+ /** Environment and exact AgentProfile used to start one native coding-agent process. @stable */
5952
+ type RetainedInteractiveEnvironmentInput = Omit<CreateAgentEnvironmentInput, 'idempotencyKey' | 'profile' | 'signal'> & {
5953
+ readonly idempotencyKey: string;
5954
+ readonly profile: AgentProfile;
5955
+ };
5956
+ /** Material used to create and start one native coding-agent TUI. @stable */
5957
+ interface RetainedInteractiveStartMaterial {
5958
+ readonly environment: RetainedInteractiveEnvironmentInput;
5959
+ readonly interactiveIdempotencyKey: string;
5960
+ readonly initialPrompt?: string;
5961
+ readonly cwd?: string;
5962
+ readonly cols?: number;
5963
+ readonly rows?: number;
5964
+ }
5965
+ /** Start one retry-safe native coding-agent TUI in a new environment. @stable */
5966
+ interface StartRetainedInteractiveRunOptions extends RetainedInteractiveStartMaterial {
5967
+ readonly provider: AgentEnvironmentProvider;
5968
+ /** A previously persisted intent used to replay the exact create operation. */
5969
+ readonly intent?: RetainedInteractiveIntentAdmission;
5970
+ readonly onAdmission: RetainedInteractiveAdmissionHook;
5971
+ readonly signal?: AbortSignal;
5972
+ }
5973
+ /** Persist each exact interactive record before the runtime proceeds. @stable */
5974
+ type RetainedInteractiveAdmissionHook = (admission: RetainedInteractiveAdmission) => Promise<void>;
5975
+ /** Reconstruct one exact provider-owned native coding-agent process. @stable */
5976
+ interface ReconnectRetainedInteractiveRunOptions {
5977
+ readonly provider: AgentEnvironmentProvider;
5978
+ readonly ref: AgentInteractiveSessionRef;
5979
+ readonly signal?: AbortSignal;
5980
+ }
5981
+ /** Recover a start after a pre-create crash or a lost provider response. @stable */
5982
+ interface RecoverRetainedInteractiveRunOptions {
5983
+ readonly provider: AgentEnvironmentProvider;
5984
+ readonly admission: RetainedInteractiveIntentAdmission | RetainedInteractiveEnvironmentAdmission;
5985
+ /** Required when recovering from an intent before an environment existed. */
5986
+ readonly replay?: RetainedInteractiveStartMaterial;
5987
+ readonly onAdmission: RetainedInteractiveAdmissionHook;
5988
+ readonly signal?: AbortSignal;
5989
+ }
5990
+ /** Exact interactive process controls plus measured environment capabilities. @stable */
5991
+ interface RetainedInteractiveRunHandle extends AgentInteractiveSession {
5992
+ readonly capabilities: AgentEnvironmentCapabilities;
5993
+ sendPrompt(command: AgentInteractiveSessionPromptCommand, options?: {
5994
+ signal?: AbortSignal;
5995
+ }): Promise<AgentInteractiveSessionPromptAcknowledgement>;
5996
+ }
5997
+ //#endregion
5998
+ //#region src/runtime/retained-interactive.d.ts
5999
+ /**
6000
+ * Start one retry-safe native coding-agent TUI without dispatching a headless turn.
6001
+ * The intent admission is durable before provider.create; the environment and
6002
+ * process admissions follow only after their exact provider coordinates exist.
6003
+ * @stable
6004
+ */
6005
+ declare function startRetainedInteractiveRun(options: StartRetainedInteractiveRunOptions): Promise<RetainedInteractiveRunHandle>;
6006
+ /** Retry one exact start after its provider response may have been lost. @stable */
6007
+ declare function recoverRetainedInteractiveRun(options: RecoverRetainedInteractiveRunOptions): Promise<RetainedInteractiveRunHandle | null>;
6008
+ /** Rebuild controls for one exact provider-owned coding-agent process. @stable */
6009
+ declare function reconnectRetainedInteractiveRun(options: ReconnectRetainedInteractiveRunOptions): Promise<RetainedInteractiveRunHandle | null>;
6010
+ //#endregion
6011
+ //#region src/runtime/retained-interactive-control.d.ts
6012
+ /** Input for acquiring write authority over one exact interactive process. @stable */
6013
+ interface ClaimRetainedInteractiveControlOptions {
6014
+ readonly handle: RetainedInteractiveRunHandle;
6015
+ readonly holderId: string;
6016
+ /** Last known provider generation. Zero discovers the current generation safely. */
6017
+ readonly expectedGeneration?: number;
6018
+ readonly signal?: AbortSignal;
6019
+ }
6020
+ /**
6021
+ * Acquire provider-issued write authority without reading authority from status.
6022
+ *
6023
+ * A new coordinator starts at generation zero. If another claim already exists,
6024
+ * the provider returns its public generation and this helper retries one new
6025
+ * compare-and-swap operation. Every generation has a deterministic operation
6026
+ * identifier, so retrying after an ambiguous response cannot create two claims.
6027
+ * @stable
6028
+ */
6029
+ declare function claimRetainedInteractiveControl(options: ClaimRetainedInteractiveControlOptions): Promise<AgentInteractiveSessionControlClaim>;
6030
+ //#endregion
5853
6031
  //#region src/runtime/retained-run-start.d.ts
5854
6032
  /**
5855
6033
  * Dispatch one detached, replayable run and return only after exact durable
5856
6034
  * coordinates are confirmed by the provider and persisted by the caller.
5857
6035
  *
5858
- * The required `onAdmission` hook is awaited twice: with the recovery
5859
- * coordinates after environment creation, and with the verified exact control
5860
- * reference after dispatch. The returned promise resolves only after the
5861
- * dispatched admission is durable, so no caller can observe a successful start
5862
- * whose exact reference a crash would lose.
6036
+ * The required `onAdmission` hook first records a digest-only intent before
6037
+ * creation, then records recovery coordinates and the verified exact control
6038
+ * reference. The returned promise resolves only after the dispatched admission
6039
+ * is durable, so a crash cannot lose a successful start's exact reference.
5863
6040
  *
5864
6041
  * @stable
5865
6042
  */
@@ -5875,8 +6052,11 @@ declare function startRetainedRun(options: StartRetainedRunOptions): Promise<Ret
5875
6052
  */
5876
6053
  declare function startRetainedRunInEnvironment(options: StartRetainedRunInEnvironmentOptions): Promise<RetainedRunHandle>;
5877
6054
  /**
5878
- * Rebuild the exact run named by pre-dispatch admission coordinates, or
5879
- * report why the provider cannot prove it.
6055
+ * Rebuild the exact run named by a persisted pre-create intent or pre-dispatch
6056
+ * admission coordinates, or report why the provider cannot prove it.
6057
+ *
6058
+ * An intent recovery replays the exact original start material through
6059
+ * `startRetainedRun`; a changed replay is rejected before provider creation.
5880
6060
  *
5881
6061
  * `not_found`: the provider no longer holds the environment, so nothing
5882
6062
  * remains to destroy. `recovered`: the provider self-identified the session
@@ -5891,6 +6071,7 @@ declare function startRetainedRunInEnvironment(options: StartRetainedRunInEnviro
5891
6071
  *
5892
6072
  * @stable
5893
6073
  */
6074
+ declare function recoverRetainedRun(options: RecoverRetainedRunIntentOptions): Promise<RecoverRetainedRunResult>;
5894
6075
  declare function recoverRetainedRun(options: RecoverRetainedRunOptions): Promise<RecoverRetainedRunResult>;
5895
6076
  /** Rebuild a retained-run client without retaining any object from the starter. @stable */
5896
6077
  declare function reconnectRetainedRun(options: ReconnectRetainedRunOptions): Promise<RetainedRunHandle | null>;
@@ -6389,21 +6570,21 @@ interface LocalMcpMaterialization {
6389
6570
  * child and expose its tools under `<server>__<tool>` names. The default policy
6390
6571
  * refuses local processes. A profile with no MCP surface returns zero tools.
6391
6572
  */
6392
- declare function materializeLocalMcp(profile: AgentProfile$1, opts?: MaterializeLocalMcpOptions): Promise<LocalMcpMaterialization>;
6573
+ declare function materializeLocalMcp(profile: AgentProfile, opts?: MaterializeLocalMcpOptions): Promise<LocalMcpMaterialization>;
6393
6574
  //#endregion
6394
6575
  //#region src/runtime/strategy-author.d.ts
6395
6576
  /** The compressed consumable a skill carries: everything an author needs to emit a loop. */
6396
6577
  declare const strategyAuthorContract = "\nYou author an OPTIMIZATION STRATEGY for an agentic loop system. A strategy decides how to\nspend a compute budget to beat a task's deployable check. You compose exactly two steps:\n\n shot(spec?: { handle?, messages?, steer?, persona?, tools? }): Promise<ShotResult | null>\n Runs ONE worker attempt (a bounded tool loop) over an artifact.\n - omit handle => the shot opens its OWN fresh artifact and closes it after (a sample).\n - pass handle => the shot CONTINUES that artifact (state accumulates across shots).\n - messages => the carried conversation (pass the previous ShotResult.messages to continue).\n - steer => a corrective instruction injected before the shot.\n - persona => { systemPrompt?, model? } — give THIS shot its own role and/or model\n (multi-agent strategies: a researcher shot then an engineer shot, a panel of k\n personas over one budget). On a fresh shot the systemPrompt replaces the task's; on\n a carried conversation it arrives as a hand-off message. Same conserved budget.\n - tools => string[] — restrict THIS shot to a subset of the task's tools by\n name (focus an explore shot on read-only tools, an execute shot on write tools).\n Restriction-only; unknown names make the shot fail. ALWAYS select from\n await listTools(handle) — never hardcode. Omitted => the shot sees every tool.\n ShotResult = { messages, score (0..1 on the task's check), passes, total, completions, toolErrors }\n Returns null if the attempt failed infra-wise.\n\n critique(messages): Promise<string | null>\n A firewalled trace-analyst reads the attempt's trajectory and returns ONE corrective\n instruction (or null when it judges the work complete). Costs ~1 completion.\n\n consult(messages, instruction): Promise<string | null>\n The RAW analyst channel: the same firewalled critic answers YOUR instruction over the\n trajectory verbatim (no reformatting) — use it when you need a specific reply format\n (a decision, a prediction). Costs ~1 completion.\n\n surface.open(task) / surface.close(handle)\n Open a persistent artifact you manage yourself (remember to close in a finally).\n close is idempotent — closing an already-closed handle is a safe no-op.\n\n listTools(handle): Promise<Array<{ name, description? }>>\n The tools THIS task actually offers. TOOL SETS VARY PER TASK — if you restrict a\n shot with `tools`, you MUST pick names from await listTools(handle); hardcoding\n names from an example kills your shots on every task whose tools differ.\n\nRules:\n- ALWAYS await every shot/critique/surface call — a floating promise that rejects\n crashes the whole benchmark run.\n- Stay within ~budget total shots; every shot/critique spends from a conserved pool.\n- For a FRESH attempt OMIT `messages` entirely (never pass `[]` — an empty array is a\n fresh conversation too, but be explicit). To CONTINUE, pass the previous\n ShotResult.messages unchanged.\n- Return { score, resolved, completions, progression, shots } — score = the BEST checkpoint\n you reached (keep-best, never final-state), progression = score after each shot.\n- The module must be EXACTLY this shape (no other imports, no commentary outside code):\n\nimport { defineStrategy } from '@tangle-network/agent-runtime/kernel'\nexport default defineStrategy('your-strategy-name', async ({ surface, task, budget, shot, critique, listTools }) => {\n // your composition (listTools comes from the destructured context — it is NOT a global)\n})\n";
6397
6578
  interface AuthorStrategyOptions {
6398
6579
  /** Exact author identity. Runtime binds it to every authoring turn. */
6399
- profile: AgentProfile$1;
6580
+ profile: AgentProfile;
6400
6581
  /** Execution substrate for the author. Behavioral settings are forbidden here. */
6401
6582
  executor: ExecutorConfig;
6402
6583
  /** An exact fallback author tried once when the primary call fails or returns no code
6403
6584
  * block (thinking models time out at the edge on long authoring prompts, or return
6404
6585
  * empty content without `maxTokens`). Opt-in — absent means the primary's failure
6405
6586
  * propagates. */
6406
- fallbackProfile?: AgentProfile$1;
6587
+ fallbackProfile?: AgentProfile;
6407
6588
  /** The contract text shown to the author. Default `strategyAuthorContract`. The
6408
6589
  * meta-optimization coordinate: a GEPA/skill loop can evolve this text and gate each
6409
6590
  * variant on the same frozen holdout as any strategy. */
@@ -6443,11 +6624,11 @@ declare function authorStrategy(opts: AuthorStrategyOptions): Promise<AuthoredSt
6443
6624
  //#region src/runtime/strategy-evolution.d.ts
6444
6625
  interface EvolutionAuthor {
6445
6626
  /** Exact author identity. */
6446
- profile: AgentProfile$1;
6627
+ profile: AgentProfile;
6447
6628
  /** Execution substrate. All behavior comes from the profile. */
6448
6629
  executor: ExecutorConfig;
6449
6630
  /** Optional exact fallback identity. */
6450
- fallbackProfile?: AgentProfile$1;
6631
+ fallbackProfile?: AgentProfile;
6451
6632
  }
6452
6633
  type ChampionPolicy = 'score' | 'costAware';
6453
6634
  interface StrategyEvolutionConfig {
@@ -6821,7 +7002,7 @@ declare function structuralRollout(config?: StructuralRolloutConfig): Strategy<S
6821
7002
  //#region src/runtime/supervise/authoring.d.ts
6822
7003
  /** What the supervisor AUTHORS per sub-task: one complete canonical profile whose name and
6823
7004
  * task-specific system prompt are present. Every other `AgentProfile` axis is preserved exactly. */
6824
- type AuthoredProfile = AgentProfile$1 & {
7005
+ type AuthoredProfile = AgentProfile & {
6825
7006
  readonly name: string;
6826
7007
  readonly prompt: AgentProfilePrompt & {
6827
7008
  readonly systemPrompt: string;
@@ -6872,7 +7053,7 @@ interface ProfileRichness {
6872
7053
  }
6873
7054
  /** OBSERVE one authored `AgentProfile` and score its richness (no judge verdict is read). The task
6874
7055
  * context (`needsMcp`) lets a domain say "this work needs a data/tool MCP" so a missing MCP counts. */
6875
- declare function assessAuthoredProfile(profile: AgentProfile$1, opts?: {
7056
+ declare function assessAuthoredProfile(profile: AgentProfile, opts?: {
6876
7057
  needsMcp?: boolean;
6877
7058
  thresholds?: Partial<ProfileRichnessThresholds>;
6878
7059
  }): ProfileRichness;
@@ -7026,7 +7207,7 @@ interface ChatTransportTool {
7026
7207
  * Behavioral controls belong only in `profile.model.metadata`.
7027
7208
  */
7028
7209
  interface ChatTransportExecutorOptions {
7029
- readonly profile: AgentProfile$1;
7210
+ readonly profile: AgentProfile;
7030
7211
  readonly url?: string;
7031
7212
  readonly bearer?: string;
7032
7213
  readonly tools?: ReadonlyArray<ChatTransportTool>;
@@ -7516,7 +7697,7 @@ declare function kernelPromptRegistry(): PromptRegistry;
7516
7697
  * never a legacy top-level-only reduction), its tools/mcp/resources are its capabilities. */
7517
7698
  interface GraphNode {
7518
7699
  readonly id: NodeId;
7519
- readonly profile: AgentProfile$1;
7700
+ readonly profile: AgentProfile;
7520
7701
  }
7521
7702
  type GraphEdge =
7522
7703
  /** Work flows down. The delegation directive is DATA → versionable, sweepable, optimizable.
@@ -7718,7 +7899,7 @@ interface WorktreeCliExecutorOptions {
7718
7899
  * provider extensions, and `resources.failOnError` fail before execution because this path
7719
7900
  * cannot honor them. Harness-specific values the materializer cannot preserve also fail closed.
7720
7901
  */
7721
- profile: AgentProfile$1;
7902
+ profile: AgentProfile;
7722
7903
  /** Default instruction for direct `execute(undefined, signal)` calls. An execution-time task
7723
7904
  * is authoritative. Omit when the caller always supplies the task to `execute`. */
7724
7905
  taskPrompt?: string;
@@ -8302,7 +8483,7 @@ interface AuthoredHarness {
8302
8483
  /** A short label for the worktree branch + trace node. */
8303
8484
  name: string;
8304
8485
  /** The supervisor-authored `AgentProfile` (systemPrompt + model reach the harness via §1.5). */
8305
- profile: AgentProfile$1;
8486
+ profile: AgentProfile;
8306
8487
  /** Require measured usage from this leaf. Budgeted supervision refuses the default unmetered
8307
8488
  * local-CLI mode; set false only when the selected runner actually returns token usage. */
8308
8489
  budgetExempt?: WorktreeCliExecutorOptions['budgetExempt'];
@@ -8371,8 +8552,8 @@ interface SurfaceWorkerConfig {
8371
8552
  readonly routerBaseUrl: string;
8372
8553
  readonly routerKey: string;
8373
8554
  /** Exact worker behavior, tools, and model. */
8374
- readonly profile: AgentProfile$1;
8375
- readonly analystProfile?: AgentProfile$1;
8555
+ readonly profile: AgentProfile;
8556
+ readonly analystProfile?: AgentProfile;
8376
8557
  readonly innerTurns?: number;
8377
8558
  /** Refine-shot budget for ONE worker attempt (max steered shots). Default 1. */
8378
8559
  readonly budget?: number;
@@ -8548,5 +8729,5 @@ interface VerifierEnvironmentOptions {
8548
8729
  /** 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. */
8549
8730
  declare function createVerifierEnvironment(opts: VerifierEnvironmentOptions): Environment;
8550
8731
  //#endregion
8551
- export { captureWorkerTraceEvidence as $, SuperviseRegistry as $a, LeaderboardOptions as $c, BackendTransportError as $d, replaySpawnTree as $f, assertTraceDerivedFindings as $i, WorkerSpawnContext as $l, CheckSource as $n, bestDelivered as $o, SandboxRunAbortError as $r, Pipeline as $s, analyzesFindingsReportPrompt as $t, DelegationResumeTick as $u, NOTE_MAX_CHARS as A, StrategyShotResult as Aa, DefinedLeaderboard as Ac, FeedbackRefersTo as Ad, EventBus as Af, profileOptimizerModelCall as Ai, AnalyzeOnSettleRoute as Al, ChatWorkerSeamOptions as An, PlateauOptions as Ao, discriminatingMeans as Ar, observe as As, createFileRunContext as At, detachedSessionDelegate as Au, GitWorkspaceOptions as B, LoopCampaignDispatchOptions as Ba, defineLeaderboard as Bc, DelegationTraceSpan as Bd, FileResultBlobStore as Bf, FileCorpus as Bi, DownMessageDeliveryAttempt as Bl, spendFromUsageEvents as Bn, createProgressTracker as Bo, LocalMcpMaterialization as Br, EqualKVerdict as Bs, GraphEdge as Bt, DetachedTurnResumeDriverOptions as Bu, SurfaceWorkerOut as C, RunAgenticOptions as Ca, PersonaContext as Cc, DelegationProfile as Cd, RetainedRunSnapshot as Cf, startRetainedRunInEnvironment as Ci, renderAnytimeTable as Cl, DriverAgentOptions as Cn, CoordinationDeliveryEvidence as Co, EvolutionAuthor as Cr, HarvestFailure as Cs, workerControlLogFile as Ct, CoderReviewer as Cu, WorktreeFanoutOptions as D, StrategyCtx as Da, ShapeBudget as Dc, DelegationStatusArgs as Dd, BusEvent as Df, PromotionVerdict as Di, createWaterfallCollector as Dl, ChatSessionStore as Dn, PriorCoordination as Do, EvolutionReport as Dr, ObserveInput as Ds, InMemoryRunContext as Dt, SettleDetachedCoderTurnOptions as Du, AuthoredHarness as E, StrategyArtifacts as Ea, RunPersonifiedOptions as Ec, DelegationStatus as Ed, CoderOutput as Ef, PromotionGateOptions as Ei, WaterfallSpan as El, ChatCompletionsTransport as En, FileCoordinationLog as Eo, EvolutionGeneration as Er, Observation as Es, writeWorkerSteer as Et, DetachedWinnerSelection as Eu, settledWorkerOut as F, depthStrategy as Fa, LeaderboardIterationInfo as Fc, CappedDelegationTrace as Fd, watchTrace as Ff, builtinShapes as Fi, CoordinationEvent as Fl, BudgetPoolRestore as Fn, StopDecision as Fo, AuthoredStrategy as Fr, CorpusFilter as Fs, WorktreePatchArtifact as Ft, SiblingSandboxExecutorOptions as Fu, gitWorkspace as G, loopCampaignDispatch as Ga, completionAuthorizes as Gc, DelegationPersistenceError as Gd, SpawnForestEvent as Gf, loopUntil as Gi, QuestionDecision as Gl, assessAuthoredProfile as Gn, SupervisorSpanOptions as Go, StdioMcpServerSpec as Gr, FlatWidenGate as Gs, RunGraphTestOptions as Gt, detachedTurnEvents as Gu, Workspace as H, LoopOptionsForDispatch as Ha, CompletionEvidence as Hc, capDelegationTrace as Hd, InMemoryResultBlobStore as Hf, renderCorpusToInstructions as Hi, DownMessageEvent as Hl, ProfileRichness as Hn, plateau as Ho, McpSpawnFault as Hr, FanoutOptions as Hs, GraphNode as Ht, DriveTurnTick as Hu, CopyOptions as I, refine as Ia, LeaderboardRunContext as Ic, DELEGATION_TRACE_MAX_BYTES as Id, DeliverableSpec as If, createShapeRegistry as Ii, CoordinationTools as Il, BudgetReadout as In, StopRule as Io, assertStrategyContract as Ir, CorpusRecord as Is, createWorktreeCliExecutor as It, createFleetWorkspaceExecutor as Iu, runInWorkspace as J, AuthorizedSpawn as Ja, stopSentinel as Jc, FileDelegationStore as Jd, SpawnForestNode as Jf, selectValidWinner as Ji, QuestionPolicy as Jl, supervisorInstructions as Jn, createSupervisorSpanRecorder as Jo, Deliverable as Jr, LoopUntilState as Js, runGraph as Jt, runDetachedTurn as Ju, jjWorkspace as K, loopDispatch as Ka, deterministicCompletion as Kc, DelegationStateCorruptError as Kd, SpawnForestInDoubtNode as Kf, panel as Ki, QuestionLevel as Kl, defaultProfileRichnessThresholds as Kn, SupervisorSpanOutcome as Ko, connectStdioMcp as Kr, LoopUntil as Ks, TraversalContinuity as Kt, formatDetachedSessionRef as Ku, UntrackedCopyStats as L, runAgentic as La, LeaderboardScenario as Lc, DELEGATION_TRACE_MAX_SPANS as Ld, ExecutorResultMapping as Lf, registerShape as Li, CoordinationToolsOptions as Ll, ReservationRejection as Ln, allOf as Lo, authorStrategy as Lr, EqualKArm as Ls, AgentGraph as Lt, createSiblingSandboxExecutor as Lu, WorkerEvidenceInput as M, adaptiveRefine as Ma, LeaderboardBenchTask as Mc, ResearchSource as Md, createEventBus as Mf, assertProfileModelsAllowed as Mi, AuthorizedDownMessage as Ml, chatWorkerSeam as Mn, ProgressTracker as Mo, runStrategyEvolution as Mr, AssertTraceDerivedFindings as Ms, PatchDeliverableOptions as Mt, DelegationExecutor as Mu, closingWorkerNote as N, breadthStrategy as Na, LeaderboardBenchmarkAdapter as Nc, UiAuditLensFilter as Nd, WatchTraceOptions as Nf, equalKOnCost as Ni, ContinuationInstruction as Nl, createChatSessionStore as Nn, ProgressTrackerOptions as No, selectChampion as Nr, CombinatorShape as Ns, patchDelivered as Nt, FleetHandle as Nu, worktreeFanout as O, StrategyMessage as Oa, ShapeContext as Oc, DelegationStatusResult as Od, BusRecord as Of, promotionGate as Oi, AnalystFindingEvent as Ol, ChatTransportExecutorOptions as On, AllWorkersStalledOptions as Oo, ReproductionCheck as Or, ObserveOptions as Os, InMemoryRunContextOptions as Ot, UiAuditorDelegate as Ou, composeWorkerEvidence as P, defineStrategy as Pa, LeaderboardFlagSpec as Pc, UiAuditorDelegationOutput as Pd, defaultToolDetectors as Pf, trajectoryReport as Pi, ContinuityMode as Pl, BudgetPool as Pn, ProgressView as Po, AuthorStrategyOptions as Pr, Corpus as Ps, WorktreeCliExecutorOptions as Pt, FleetWorkspaceExecutorOptions as Pu, WorkerToolTraceArtifact as Q, SuperviseOptions as Qa, Leaderboard as Qc, AgentEvalErrorCode as Qd, pendingWaits as Qf, RegistryAnalyzeProjection as Qi, WorkerResumeContext as Ql, CheckRunner as Qn, SupervisorFinalizer as Qo, SandboxRun as Qr, PanelVerdict as Qs, RegisteredPrompt as Qt, DelegationResumeDriver as Qu, copyUntrackedIntoClone as R, sample as Ra, LeaderboardScore as Rc, DelegationTraceCaps as Rd, gateOnDeliverable as Rf, definePersona as Ri, DEFAULT_AWAIT_EVENT_TIMEOUT_MS as Rl, ReservationTicket as Rn, allWorkersStalled as Ro, strategyAuthorContract as Rr, EqualKOnCost as Rs, EdgeDeliveryOutcome as Rt, DetachedSessionRefParts as Ru, SurfaceWorkerConfig as S, CorpusReadbackOptions as Sa, Persona as Sc, DelegationHistoryResult as Sd, RetainedRunReplayPoint as Sf, startRetainedRun as Si, plateauLength as Sl, serveCoordinationMcp as Sn, supervisorAgentWithTestBrain as So, worktreeCliProfileMaterialization as Sp, EvolutionArchiveNode as Sr, HarvestCorpusOptions as Ss, workerCancellationsDir as St, CoderReview as Su, superviseSurface as T, Strategy as Ta, RunPersonified as Tc, DelegationResultPayload as Td, StartRetainedRunOptions as Tf, resolveSandboxClient as Ti, WaterfallReport as Tl, finalizeBestDelivered as Tn, CoordinationOwnerId as To, EvolutionCandidate as Tr, harvestCorpus as Ts, workerInboxFileFromEventDir as Tt, DetachedSessionDelegateOptions as Tu, WorkspaceCommit as U, SuperviseDispatchOptions as Ua, CompletionPolicy as Uc, composeLoopTraceEmitters as Ud, InMemorySpawnJournal as Uf, fanout as Ui, MakeWorkerAgent as Ul, ProfileRichnessThresholds as Un, sampleFromSettled as Uo, McpToolDescriptor as Ur, FanoutSynthesis as Us, GraphResult as Ut, RunDetachedTurnOptions as Uu, Shell as V, LoopDispatchOptions as Va, CompletionAnalyst as Vc, buildDelegationTraceSpans as Vd, FileSpawnJournal as Vf, InMemoryCorpus as Vi, DownMessageDeliveryOutcome as Vl, AuthoredProfile as Vn, noProgressFor as Vo, MaterializeLocalMcpOptions as Vr, Fanout as Vs, GraphEdgeCapError as Vt, DriveTurnCapableBox as Vu, WorkspaceRun as W, SuperviseOptionsForDispatch as Wa, CompletionVerdict as Wc, createDelegationTraceCollector as Wd, SpawnForest as Wf, flatWidenGate as Wi, Question as Wl, asAuthoredProfile as Wn, SupervisorSpanAttributes as Wo, StdioMcpConnection as Wr, FanoutWinnerSelector as Ws, RunGraphOptions as Wt, createDetachedTurnResumeDriver as Wu, analyzeTrace as X, DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY as Xa, GroupOf as Xc, InMemoryDelegationStore as Xd, loadSpawnForest as Xf, widen as Xi, QuestionUrgency as Xl, CheckOutcome as Xn, FinalizeContext as Xo, OpenSandboxRunOptions as Xr, PanelJudge as Xs, PromptHandle as Xt, DelegationRecord as Xu, TrajectoryAnalysis as Y, AuthorizedSpawnContext as Ya, AxisScoresOf as Yc, FileDelegationStoreOptions as Yd, SpawnForestTree as Yf, verify as Yi, QuestionRecord as Yl, CheckExecChannel as Yn, DeliveredOutput as Yo, OpenSandboxRunBeforeStartContext as Yr, Panel as Ys, runGraphWithTestBrain as Yt, DelegationArgs as Yu, WORKER_TOOL_TRACE_SCHEMA_VERSION as Z, DeliverableResolutionInput as Za, Interval as Zc, AgentEvalError$1 as Zd, materializeTreeView as Zf, CreateScopeAnalystOptions as Zi, SettledWorker as Zl, CheckRunContext as Zn, FinalizerSettled as Zo, OpenSandboxRunPromptOptions as Zr, PanelSpec as Zs, PromptRegistry as Zt, DelegationResumeContext as Zu, boxSurfaceReader as _, AgenticRunResult as _a, WinnerStrategy as _c, DelegateUiAuditRoute as _d, RetainedRunDispatchedAdmission as _f, probeSandboxCapabilities as _i, AnytimeStrategySummary as _l, rollingDispatch as _n, SupervisorToolDescriptor as _o, promptOnlyProfileMaterialization as _p, selectBestIndex as _r, inlineSandboxClient as _s, supervisorRunDir as _t, FeedbackEvent as _u, SandboxInstance$1 as a, createMcpEnvironment as aa, ScopeWidenGate as ac, hashIdempotencyInput as ad, RetainedRunDispatchBindingError as af, SandboxLineage as ai, leaderboard as al, kernelPromptRegistry as an, CoordinationBinding as ao, DefineProfileMaterializationContractOptions as ap, StructuralRolloutResult as ar, DriverAttemptsExhaustedError as as, createScope as at, McpServerOptions as au, SuperviseSurfaceOptions as b, AgenticTool as ba, LoopShape as bc, DelegationHistoryArgs as bd, RetainedRunEventOptions as bf, reconnectRetainedRun as bi, areaUnderCurve as bl, delegate as bn, resolveSupervisorProfile as bo, sandboxActProfileMaterialization as bp, ChampionPick as br, InProcessSandboxClientOptions as bs, workerCancelRequestsFile as bt, eventToSnapshot as bu, VerifierEnvironmentOptions as c, BenchmarkConfig as ca, TrajectoryReport as cc, DelegateCodeResult as cd, NativeContextContinuationExecution as cf, createSandboxLineage as ci, renderLeaderboardMarkdown as cl, supervisorPolicyPrompt as cn, ObserveSupervisorNodeEvent as co, ProfileMaterializationIssue as cp, compareCheckOutcomes as cr, classifyDriverFailure as cs, WorkerCancellation as ct, DELEGATE_DESCRIPTION as cu, HarvestSurfaceDiffsOptions as d, BenchmarkStrategySummary as da, Verify as dc, DelegateResearchArgs as dd, RecoverRetainedRunOptions as df, extractLlmCallEvent as di, AuditIntentInput as dl, DispatchStopReason as dn, ResolvedSupervisorProfile as do, controlProfileMaterialization as dp, defaultStructuralRolloutPolicy as dr, TerminalDecision as ds, legacySupervisorRunDir as dt, DelegateArgs as du, buildSteerContext as ea, PipelineStage as ec, DelegationRunContext as ed, ConfigError as ef, TurnResult as ei, LeaderboardRow as el, createPromptRegistry as en, SuperviseRegistryTable as eo, contentAddress as ep, CheckSourceCtx as er, collectDelivered as es, parseWorkerToolTraceArtifact as et, WorkerWatchOptions as eu, SurfaceDiff as f, BenchmarkTaskRow as fa, VerifySpec as fc, DelegateResearchConfig as fd, RecoverRetainedRunResult as ff, mapSandboxEvent as fi, AuditIntentOptions as fl, DispatchUnit as fn, SupervisorAgentDeps as fo, defineProfileMaterializationContract as fp, filterAuthoredAsserts as fr, defaultSelectWinner as fs, legacySupervisorRunsRoot as ft, DelegateError as fu, WatchedSurface as g, AgenticOptions as ga, WidenSpec as gc, DelegateUiAuditResult as gd, RetainedRunCancellation as gf, SandboxCapabilities as gi, AnytimeReport as gl, queueOf as gn, SupervisorProfile as go, promptModelProfileMaterialization as gp, sandboxCheckRunner as gr, localSandboxClient as gs, safeWorkerFile as gt, validateDelegateArgs as gu, SurfaceReader as h, runBenchmark as ha, WidenLineage as hc, DelegateUiAuditConfig as hd, RetainedRunCancelOptions as hf, CriuCapableClient as hi, defaultAuditorInstruction as hl, freeSlots as hn, SupervisorNodeContextSeed as ho, promptControlProfileMaterialization as hp, resolveEntrySymbol as hr, LocalSandboxClientOptions as hs, readWorkerSteerRequests as ht, createDelegateHandler as hu, SandboxEvent$1 as i, McpEnvironmentOptions as ia, ScopeAnalyzeInput as ic, SubmitOutput as id, RetainedRunAdmissionError as if, ForkCapableBox as ii, ScoreOf as il, formatPromptHandle as in, workerFromBackend as io, CanonicalAgentProfileMaterializationAxis as ip, StructuralRolloutPolicy as ir, DriverAttemptStop as is, ScopeArgs as it, McpServer as iu, VERIFY_TAIL_CHARS as j, SurfaceScore as ja, LeaderboardBenchScore as jc, ResearchOutputShape as jd, PublishOptions as jf, assertModelAllowed as ji, AuthorizeDownMessage as jl, chatTransportExecutor as jn, ProgressSample as jo, pickChampion as jr, renderReport as js, createInMemoryRunContext as jt, settleDetachedCoderTurn as ju, EVIDENCE_MAX_CHARS as k, StrategyResult as ka, ShapeRegistry as kc, FeedbackRating as kd, BusStats as kf, profileChatClient as ki, AnalystRegistry as kl, ChatTransportTool as kn, NoProgressForOptions as ko, StrategyEvolutionConfig as kr, defaultAnalystInstruction as ks, RunContext as kt, coderTaskFromArgs as ku, createVerifierEnvironment as l, BenchmarkLift as la, TrajectoryReportFn as lc, DelegateFeedbackArgs as ld, NativeContextContinuationInput as lf, SandboxToolPartState as li, renderLeaderboardSvg as ll, ConcurrencyCaps as ln, ResolveDriveHarness as lo, ValidateProfileMaterializationOptions as lp, composeCheckSources as lr, RunAgentRoundsOptions as ls, WorkerSteerRequest as lt, DELEGATE_INPUT_SCHEMA as lu, SurfaceReadOutcome as m, printBenchmarkReport as ma, WidenDecision as mc, DelegateUiAuditArgs as md, RetainedRunAdmissionHook as mf, sumSandboxUsage as mi, auditIntent as ml, effectiveConcurrency as mn, SupervisorNodeContext as mo, profileMaterializationAxes$1 as mp, officialChecksFromMeta as mr, runAgentRounds as ms, readWorkerCancellation as mt, DelegateResult as mu, AnalystFinding$1 as n, registryScopeAnalyst as na, RenderCorpusToInstructionsOptions as nc, DelegationTaskQueueOptions as nd, NotFoundError as nf, BranchCapableBox as ni, PairwiseVerdict as nl, dumbContinuationFailPrompt as nn, supervise as no, AgentProfileMaterializationAxis as np, StructuralRolloutConfig as nr, runFinalizer as ns, createRootHandle as nt, createCoordinationTools as nu, computeFindingId$1 as o, sanitizeMcpToolSchema as oa, SteerContext as oc, DelegateCodeArgs as od, RuntimeRunStateError as of, SandboxLineageHandle as oi, pairwiseSignificance as ol, naiveContinuationPrompt as on, DriveHarness as oo, KnownAgentProfileMaterializationAxis as op, VisibleCheck as or, DriverProgressMark as os, settledToIteration as ot, createInProcessTransport as ou, SurfaceReadBox as p, Environment as pa, Widen as pc, DelegateResearchResult as pd, RetainedRunAdmission as pf, mapSandboxToolEvent as pi, IntentAudit as pl, RollingDispatchOptions as pn, SupervisorAgentTestDeps as po, fullProfileMaterialization as pp, modelAuthoredChecks as pr, isTerminalDecision as ps, readWorkerCancelRequests as pt, DelegateHandlerOptions as pu, localShell as q, superviseDispatch as qa, sentinelCompletion as qc, DelegationStore as qd, SpawnForestMissingTree as qf, pipeline as qi, QuestionOption as ql, profileRichnessFinding as qn, SupervisorSpanRecorder as qo, materializeLocalMcp as qr, LoopUntilSpec as qs, defaultEdgeTraversalCap as qt, parseDetachedSessionRef as qu, CreateSandboxOptions$1 as r, McpEndpoint as ra, ScopeAnalyst as rc, SubmitInput as rd, PlannerError as rf, CheckpointCapableBox as ri, ProfileKeyOf as rl, dumbContinuationPassPrompt as rn, superviseWithTestBrain as ro, AssertProfileMaterializationOptions as rp, StructuralRolloutMessage as rr, DriverAttemptRecord as rs, createSupervisor as rt, normalizeAnalyzeOnSettle as ru, makeFinding$1 as s, BenchmarkCell as sa, TrajectoryNode as sc, DelegateCodeConfig as sd, ValidationError as sf, SessionCapableBox as si, renderLeaderboardHtml as sl, promptHandle as sn, DriveHarnessOwnerContext as so, ProfileMaterializationContract as sp, canDisplace as sr, DriverRetryPolicy as ss, WorkerCancelRequest as st, createMcpServer as su, AgentProfile$2 as t, createScopeAnalyst as ta, RenderCorpusToInstructions as tc, DelegationTaskQueue as td, JudgeError as tf, openSandboxRun as ti, PairwiseOptions as tl, delegatesWorkerBriefPrompt as tn, SuperviseTestOptions as to, AGENT_PROFILE_MATERIALIZATION_AXES as tp, RepairStop as tr, pickBestDelivered as ts, workerTraceAnalysisStore as tt, canonicalFindingEvent as tu, BoxSurfaceReaderOptions as u, BenchmarkReport as ua, TrajectoryReportOptions as uc, DelegateFeedbackResult as ud, ReconnectRetainedRunOptions as uf, createSandboxToolPartState as ui, renderPairwiseMarkdown as ul, DispatchReport as un, ResolveSupervisorTools as uo, assertProfileMaterialization as up, defaultExtractCandidate as ur, TERMINAL_DECISIONS as us, cancelWorker as ut, DELEGATE_TOOL_NAME as uu, fsSurfaceReader as v, AgenticSurface as va, DefinePersona as vc, DelegationError as vd, RetainedRunEffect as vf, AcquireOptions as vi, AnytimeTaskCurve as vl, DelegateOptions as vn, SupervisorToolInvocationContext as vo, promptResourceProfileMaterialization as vp, structuralRollout as vr, InProcessOnPrompt as vs, supervisorRunsRoot as vt, FeedbackStore as vu, failuresAnalyst as w, ShotSpec as wa, PersonaExecutors as wc, DelegationProgress as wd, StartRetainedRunInEnvironmentOptions as wf, ResolveSandboxClientOptions as wi, WaterfallCollector as wl, driverAgent as wn, CoordinationLog as wo, EvolutionBandInfo as wr, HarvestReport as ws, workerInboxFile as wt, DelegateRunCtx as wu, SuperviseSurfaceResult as x, ArtifactHandle as xa, Outcome as xc, DelegationHistoryEntry as xd, RetainedRunHandle as xf, recoverRetainedRun as xi, bestSoFar as xl, CoordinationMcpHandle as xn, supervisorAgent as xo, validateProfileMaterialization as xp, ChampionPolicy as xr, inProcessSandboxClient as xs, workerCancellationFile as xt, CoderDelegate as xu, harvestSurfaceDiffs as y, AgenticTask as ya, DefinePersonaInput as yc, DelegationFeedbackSnapshot as yd, RetainedRunEnvironmentAdmission as yf, acquireSandbox as yi, anytimeReport as yl, defaultDelegateBudget as yn, assertCoordinationBinding as yo, renderProfileMaterializationIssues as yp, visibleCheckScore as yr, InProcessPromptCtx as ys, supervisorWorkersDir as yt, InMemoryFeedbackStore as yu, withUntrackedArtifacts as z, sampleThenRefine as za, LeaderboardSpec as zc, DelegationTraceCollector as zd, mapExecutorResult as zf, runPersonified as zi, DownMessageAuthorizationInput as zl, createBudgetPool as zn, anyOf as zo, strategyAuthorSystemPrompt as zr, EqualKOnCostOptions as zs, EdgeTraversal as zt, DetachedTurn as zu };
8552
- //# sourceMappingURL=index-BOgzou1U.d.ts.map
8732
+ export { captureWorkerTraceEvidence as $, LoopDispatchOptions as $a, CompletionAnalyst as $c, buildDelegationTraceSpans as $d, createEventBus as $f, InMemoryCorpus as $i, DownMessageDeliveryOutcome as $l, CheckSource as $n, noProgressFor as $o, SandboxRunAbortError as $r, Fanout as $s, analyzesFindingsReportPrompt as $t, DriveTurnCapableBox as $u, NOTE_MAX_CHARS as A, AgenticSurface as Aa, DefinePersona as Ac, DelegationError as Ad, RetainedInteractiveIntentAdmission as Af, RecoverRetainedInteractiveRunOptions as Ai, AnytimeTaskCurve as Al, ChatWorkerSeamOptions as An, SupervisorToolInvocationContext as Ao, ValidateProfileMaterializationOptions as Ap, discriminatingMeans as Ar, InProcessOnPrompt as As, createFileRunContext as At, FeedbackStore as Au, GitWorkspaceOptions as B, StrategyMessage as Ba, ShapeContext as Bc, DelegationStatusResult as Bd, RetainedRunHandle as Bf, promotionGate as Bi, AnalystFindingEvent as Bl, spendFromUsageEvents as Bn, AllWorkersStalledOptions as Bo, renderProfileMaterializationIssues as Bp, LocalMcpMaterialization as Br, ObserveOptions as Bs, GraphEdge as Bt, UiAuditorDelegate as Bu, SurfaceWorkerOut as C, BenchmarkStrategySummary as Ca, Verify as Cc, DelegateResearchArgs as Cd, NativeContextContinuationInput as Cf, startRetainedRunInEnvironment as Ci, AuditIntentInput as Cl, DriverAgentOptions as Cn, ResolvedSupervisorProfile as Co, AgentProfileMaterializationAxis as Cp, EvolutionAuthor as Cr, TerminalDecision as Cs, workerControlLogFile as Ct, DelegateArgs as Cu, WorktreeFanoutOptions as D, runBenchmark as Da, WidenLineage as Dc, DelegateUiAuditConfig as Dd, RecoverRetainedRunResult as Df, recoverRetainedInteractiveRun as Di, defaultAuditorInstruction as Dl, ChatSessionStore as Dn, SupervisorNodeContextSeed as Do, KnownAgentProfileMaterializationAxis as Dp, EvolutionReport as Dr, LocalSandboxClientOptions as Ds, InMemoryRunContext as Dt, createDelegateHandler as Du, AuthoredHarness as E, printBenchmarkReport as Ea, WidenDecision as Ec, DelegateUiAuditArgs as Ed, RecoverRetainedRunOptions as Ef, reconnectRetainedInteractiveRun as Ei, auditIntent as El, ChatCompletionsTransport as En, SupervisorNodeContext as Eo, DefineProfileMaterializationContractOptions as Ep, EvolutionGeneration as Er, runAgentRounds as Es, writeWorkerSteer as Et, DelegateResult as Eu, settledWorkerOut as F, RunAgenticOptions as Fa, PersonaContext as Fc, DelegationProfile as Fd, RetainedRunCancellation as Ff, StartRetainedInteractiveRunOptions as Fi, renderAnytimeTable as Fl, BudgetPoolRestore as Fn, CoordinationDeliveryEvidence as Fo, profileMaterializationAxes$1 as Fp, AuthoredStrategy as Fr, HarvestFailure as Fs, WorktreePatchArtifact as Ft, CoderReviewer as Fu, gitWorkspace as G, breadthStrategy as Ga, LeaderboardBenchmarkAdapter as Gc, UiAuditLensFilter as Gd, StartRetainedRunInEnvironmentOptions as Gf, equalKOnCost as Gi, ContinuationInstruction as Gl, assessAuthoredProfile as Gn, ProgressTrackerOptions as Go, StdioMcpServerSpec as Gr, CombinatorShape as Gs, RunGraphTestOptions as Gt, FleetHandle as Gu, Workspace as H, StrategyShotResult as Ha, DefinedLeaderboard as Hc, FeedbackRefersTo as Hd, RetainedRunReplayPoint as Hf, profileOptimizerModelCall as Hi, AnalyzeOnSettleRoute as Hl, ProfileRichness as Hn, PlateauOptions as Ho, validateProfileMaterialization as Hp, McpSpawnFault as Hr, observe as Hs, GraphNode as Ht, detachedSessionDelegate as Hu, CopyOptions as I, ShotSpec as Ia, PersonaExecutors as Ic, DelegationProgress as Id, RetainedRunDispatchedAdmission as If, ResolveSandboxClientOptions as Ii, WaterfallCollector as Il, BudgetReadout as In, CoordinationLog as Io, promptControlProfileMaterialization as Ip, assertStrategyContract as Ir, HarvestReport as Is, createWorktreeCliExecutor as It, DelegateRunCtx as Iu, runInWorkspace as J, refine as Ja, LeaderboardRunContext as Jc, DELEGATION_TRACE_MAX_BYTES as Jd, BusEvent as Jf, createShapeRegistry as Ji, CoordinationTools as Jl, supervisorInstructions as Jn, StopRule as Jo, Deliverable as Jr, CorpusRecord as Js, runGraph as Jt, createFleetWorkspaceExecutor as Ju, jjWorkspace as K, defineStrategy as Ka, LeaderboardFlagSpec as Kc, UiAuditorDelegationOutput as Kd, StartRetainedRunOptions as Kf, trajectoryReport as Ki, ContinuityMode as Kl, defaultProfileRichnessThresholds as Kn, ProgressView as Ko, connectStdioMcp as Kr, Corpus as Ks, TraversalContinuity as Kt, FleetWorkspaceExecutorOptions as Ku, UntrackedCopyStats as L, Strategy as La, RunPersonified as Lc, DelegationResultPayload as Ld, RetainedRunEffect as Lf, resolveSandboxClient as Li, WaterfallReport as Ll, ReservationRejection as Ln, CoordinationOwnerId as Lo, promptModelProfileMaterialization as Lp, authorStrategy as Lr, harvestCorpus as Ls, AgentGraph as Lt, DetachedSessionDelegateOptions as Lu, WorkerEvidenceInput as M, AgenticTool as Ma, LoopShape as Mc, DelegationHistoryArgs as Md, RetainedRunAdmission as Mf, RetainedInteractiveEnvironmentInput as Mi, areaUnderCurve as Ml, chatWorkerSeam as Mn, resolveSupervisorProfile as Mo, controlProfileMaterialization as Mp, runStrategyEvolution as Mr, InProcessSandboxClientOptions as Ms, PatchDeliverableOptions as Mt, eventToSnapshot as Mu, closingWorkerNote as N, ArtifactHandle as Na, Outcome as Nc, DelegationHistoryEntry as Nd, RetainedRunAdmissionHook as Nf, RetainedInteractiveRunHandle as Ni, bestSoFar as Nl, createChatSessionStore as Nn, supervisorAgent as No, defineProfileMaterializationContract as Np, selectChampion as Nr, inProcessSandboxClient as Ns, patchDelivered as Nt, CoderDelegate as Nu, worktreeFanout as O, AgenticOptions as Oa, WidenSpec as Oc, DelegateUiAuditResult as Od, RetainedInteractiveAdmission as Of, startRetainedInteractiveRun as Oi, AnytimeReport as Ol, ChatTransportExecutorOptions as On, SupervisorProfile as Oo, ProfileMaterializationContract as Op, ReproductionCheck as Or, localSandboxClient as Os, InMemoryRunContextOptions as Ot, validateDelegateArgs as Ou, composeWorkerEvidence as P, CorpusReadbackOptions as Pa, Persona as Pc, DelegationHistoryResult as Pd, RetainedRunCancelOptions as Pf, RetainedInteractiveStartMaterial as Pi, plateauLength as Pl, BudgetPool as Pn, supervisorAgentWithTestBrain as Po, fullProfileMaterialization as Pp, AuthorStrategyOptions as Pr, HarvestCorpusOptions as Ps, WorktreeCliExecutorOptions as Pt, CoderReview as Pu, WorkerToolTraceArtifact as Q, LoopCampaignDispatchOptions as Qa, defineLeaderboard as Qc, DelegationTraceSpan as Qd, PublishOptions as Qf, FileCorpus as Qi, DownMessageDeliveryAttempt as Ql, CheckRunner as Qn, createProgressTracker as Qo, SandboxRun as Qr, EqualKVerdict as Qs, RegisteredPrompt as Qt, DetachedTurnResumeDriverOptions as Qu, copyUntrackedIntoClone as R, StrategyArtifacts as Ra, RunPersonifiedOptions as Rc, DelegationStatus as Rd, RetainedRunEnvironmentAdmission as Rf, PromotionGateOptions as Ri, WaterfallSpan as Rl, ReservationTicket as Rn, FileCoordinationLog as Ro, promptOnlyProfileMaterialization as Rp, strategyAuthorContract as Rr, Observation as Rs, EdgeDeliveryOutcome as Rt, DetachedWinnerSelection as Ru, SurfaceWorkerConfig as S, BenchmarkReport as Sa, TrajectoryReportOptions as Sc, DelegateFeedbackResult as Sd, NativeContextContinuationExecution as Sf, startRetainedRun as Si, renderPairwiseMarkdown as Sl, serveCoordinationMcp as Sn, ResolveSupervisorTools as So, AGENT_PROFILE_MATERIALIZATION_AXES as Sp, EvolutionArchiveNode as Sr, TERMINAL_DECISIONS as Ss, workerCancellationsDir as St, DELEGATE_TOOL_NAME as Su, superviseSurface as T, Environment as Ta, Widen as Tc, DelegateResearchResult as Td, RecoverRetainedRunIntentOptions as Tf, claimRetainedInteractiveControl as Ti, IntentAudit as Tl, finalizeBestDelivered as Tn, SupervisorAgentTestDeps as To, CanonicalAgentProfileMaterializationAxis as Tp, EvolutionCandidate as Tr, isTerminalDecision as Ts, workerInboxFileFromEventDir as Tt, DelegateHandlerOptions as Tu, WorkspaceCommit as U, SurfaceScore as Ua, LeaderboardBenchScore as Uc, ResearchOutputShape as Ud, RetainedRunSnapshot as Uf, assertModelAllowed as Ui, AuthorizeDownMessage as Ul, ProfileRichnessThresholds as Un, ProgressSample as Uo, worktreeCliProfileMaterialization as Up, McpToolDescriptor as Ur, renderReport as Us, GraphResult as Ut, settleDetachedCoderTurn as Uu, Shell as V, StrategyResult as Va, ShapeRegistry as Vc, FeedbackRating as Vd, RetainedRunIntentAdmission as Vf, profileChatClient as Vi, AnalystRegistry as Vl, AuthoredProfile as Vn, NoProgressForOptions as Vo, sandboxActProfileMaterialization as Vp, MaterializeLocalMcpOptions as Vr, defaultAnalystInstruction as Vs, GraphEdgeCapError as Vt, coderTaskFromArgs as Vu, WorkspaceRun as W, adaptiveRefine as Wa, LeaderboardBenchTask as Wc, ResearchSource as Wd, RetainedRunStartMaterial as Wf, assertProfileModelsAllowed as Wi, AuthorizedDownMessage as Wl, asAuthoredProfile as Wn, ProgressTracker as Wo, StdioMcpConnection as Wr, AssertTraceDerivedFindings as Ws, RunGraphOptions as Wt, DelegationExecutor as Wu, analyzeTrace as X, sample as Xa, LeaderboardScore as Xc, DelegationTraceCaps as Xd, BusStats as Xf, definePersona as Xi, DEFAULT_AWAIT_EVENT_TIMEOUT_MS as Xl, CheckOutcome as Xn, allWorkersStalled as Xo, OpenSandboxRunOptions as Xr, EqualKOnCost as Xs, PromptHandle as Xt, DetachedSessionRefParts as Xu, TrajectoryAnalysis as Y, runAgentic as Ya, LeaderboardScenario as Yc, DELEGATION_TRACE_MAX_SPANS as Yd, BusRecord as Yf, registerShape as Yi, CoordinationToolsOptions as Yl, CheckExecChannel as Yn, allOf as Yo, OpenSandboxRunBeforeStartContext as Yr, EqualKArm as Ys, runGraphWithTestBrain as Yt, createSiblingSandboxExecutor as Yu, WORKER_TOOL_TRACE_SCHEMA_VERSION as Z, sampleThenRefine as Za, LeaderboardSpec as Zc, DelegationTraceCollector as Zd, EventBus as Zf, runPersonified as Zi, DownMessageAuthorizationInput as Zl, CheckRunContext as Zn, anyOf as Zo, OpenSandboxRunPromptOptions as Zr, EqualKOnCostOptions as Zs, PromptRegistry as Zt, DetachedTurn as Zu, boxSurfaceReader as _, createMcpEnvironment as _a, ScopeWidenGate as _c, hashIdempotencyInput as _d, RetainedInteractiveBindingError as _f, probeSandboxCapabilities as _i, leaderboard as _l, rollingDispatch as _n, CoordinationBinding as _o, loadSpawnForest as _p, selectBestIndex as _r, DriverAttemptsExhaustedError as _s, supervisorRunDir as _t, McpServerOptions as _u, SandboxInstance$1 as a, pipeline as aa, LoopUntilSpec as ac, parseDetachedSessionRef as ad, DelegationStore as af, SandboxLineage as ai, sentinelCompletion as al, kernelPromptRegistry as an, superviseDispatch as ao, gateOnDeliverable as ap, StructuralRolloutResult as ar, SupervisorSpanRecorder as as, createScope as at, QuestionOption as au, SuperviseSurfaceOptions as b, BenchmarkConfig as ba, TrajectoryReport as bc, DelegateCodeResult as bd, RuntimeRunStateError as bf, reconnectRetainedRun as bi, renderLeaderboardMarkdown as bl, delegate as bn, ObserveSupervisorNodeEvent as bo, replaySpawnTree as bp, ChampionPick as br, classifyDriverFailure as bs, workerCancelRequestsFile as bt, DELEGATE_DESCRIPTION as bu, VerifierEnvironmentOptions as c, widen as ca, PanelJudge as cc, DelegationRecord as cd, InMemoryDelegationStore as cf, createSandboxLineage as ci, GroupOf as cl, supervisorPolicyPrompt as cn, DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY as co, FileSpawnJournal as cp, compareCheckOutcomes as cr, FinalizeContext as cs, WorkerCancellation as ct, QuestionUrgency as cu, HarvestSurfaceDiffsOptions as d, assertTraceDerivedFindings as da, Pipeline as dc, DelegationResumeTick as dd, BackendTransportError as df, extractLlmCallEvent as di, LeaderboardOptions as dl, DispatchStopReason as dn, SuperviseRegistry as do, SpawnForest as dp, defaultStructuralRolloutPolicy as dr, bestDelivered as ds, legacySupervisorRunDir as dt, WorkerSpawnContext as du, renderCorpusToInstructions as ea, FanoutOptions as ec, DriveTurnTick as ed, capDelegationTrace as ef, TurnResult as ei, CompletionEvidence as el, createPromptRegistry as en, LoopOptionsForDispatch as eo, WatchTraceOptions as ep, CheckSourceCtx as er, plateau as es, parseWorkerToolTraceArtifact as et, DownMessageEvent as eu, SurfaceDiff as f, buildSteerContext as fa, PipelineStage as fc, DelegationRunContext as fd, ConfigError as ff, mapSandboxEvent as fi, LeaderboardRow as fl, DispatchUnit as fn, SuperviseRegistryTable as fo, SpawnForestEvent as fp, filterAuthoredAsserts as fr, collectDelivered as fs, legacySupervisorRunsRoot as ft, WorkerWatchOptions as fu, WatchedSurface as g, McpEnvironmentOptions as ga, ScopeAnalyzeInput as gc, SubmitOutput as gd, RetainedInteractiveAdmissionError as gf, SandboxCapabilities as gi, ScoreOf as gl, queueOf as gn, workerFromBackend as go, SpawnForestTree as gp, sandboxCheckRunner as gr, DriverAttemptStop as gs, safeWorkerFile as gt, McpServer as gu, SurfaceReader as h, McpEndpoint as ha, ScopeAnalyst as hc, SubmitInput as hd, PlannerError as hf, CriuCapableClient as hi, ProfileKeyOf as hl, freeSlots as hn, superviseWithTestBrain as ho, SpawnForestNode as hp, resolveEntrySymbol as hr, DriverAttemptRecord as hs, readWorkerSteerRequests as ht, normalizeAnalyzeOnSettle as hu, SandboxEvent$1 as i, panel as ia, LoopUntil as ic, formatDetachedSessionRef as id, DelegationStateCorruptError as if, ForkCapableBox as ii, deterministicCompletion as il, formatPromptHandle as in, loopDispatch as io, ExecutorResultMapping as ip, StructuralRolloutPolicy as ir, SupervisorSpanOutcome as is, ScopeArgs as it, QuestionLevel as iu, VERIFY_TAIL_CHARS as j, AgenticTask as ja, DefinePersonaInput as jc, DelegationFeedbackSnapshot as jd, RetainedInteractiveStartedAdmission as jf, RetainedInteractiveAdmissionHook as ji, anytimeReport as jl, chatTransportExecutor as jn, assertCoordinationBinding as jo, assertProfileMaterialization as jp, pickChampion as jr, InProcessPromptCtx as js, createInMemoryRunContext as jt, InMemoryFeedbackStore as ju, EVIDENCE_MAX_CHARS as k, AgenticRunResult as ka, WinnerStrategy as kc, DelegateUiAuditRoute as kd, RetainedInteractiveEnvironmentAdmission as kf, ReconnectRetainedInteractiveRunOptions as ki, AnytimeStrategySummary as kl, ChatTransportTool as kn, SupervisorToolDescriptor as ko, ProfileMaterializationIssue as kp, StrategyEvolutionConfig as kr, inlineSandboxClient as ks, RunContext as kt, FeedbackEvent as ku, createVerifierEnvironment as l, CreateScopeAnalystOptions as la, PanelSpec as lc, DelegationResumeContext as ld, AgentEvalError$1 as lf, SandboxToolPartState as li, Interval as ll, ConcurrencyCaps as ln, DeliverableResolutionInput as lo, InMemoryResultBlobStore as lp, composeCheckSources as lr, FinalizerSettled as ls, WorkerSteerRequest as lt, SettledWorker as lu, SurfaceReadOutcome as m, registryScopeAnalyst as ma, RenderCorpusToInstructionsOptions as mc, DelegationTaskQueueOptions as md, NotFoundError as mf, sumSandboxUsage as mi, PairwiseVerdict as ml, effectiveConcurrency as mn, supervise as mo, SpawnForestMissingTree as mp, officialChecksFromMeta as mr, runFinalizer as ms, readWorkerCancellation as mt, createCoordinationTools as mu, AnalystFinding$1 as n, flatWidenGate as na, FanoutWinnerSelector as nc, createDetachedTurnResumeDriver as nd, createDelegationTraceCollector as nf, BranchCapableBox as ni, CompletionVerdict as nl, dumbContinuationFailPrompt as nn, SuperviseOptionsForDispatch as no, watchTrace as np, StructuralRolloutConfig as nr, SupervisorSpanAttributes as ns, createRootHandle as nt, Question as nu, computeFindingId$1 as o, selectValidWinner as oa, LoopUntilState as oc, runDetachedTurn as od, FileDelegationStore as of, SandboxLineageHandle as oi, stopSentinel as ol, naiveContinuationPrompt as on, AuthorizedSpawn as oo, mapExecutorResult as op, VisibleCheck as or, createSupervisorSpanRecorder as os, settledToIteration as ot, QuestionPolicy as ou, SurfaceReadBox as p, createScopeAnalyst as pa, RenderCorpusToInstructions as pc, DelegationTaskQueue as pd, JudgeError as pf, mapSandboxToolEvent as pi, PairwiseOptions as pl, RollingDispatchOptions as pn, SuperviseTestOptions as po, SpawnForestInDoubtNode as pp, modelAuthoredChecks as pr, pickBestDelivered as ps, readWorkerCancelRequests as pt, canonicalFindingEvent as pu, localShell as q, depthStrategy as qa, LeaderboardIterationInfo as qc, CappedDelegationTrace as qd, CoderOutput as qf, builtinShapes as qi, CoordinationEvent as ql, profileRichnessFinding as qn, StopDecision as qo, materializeLocalMcp as qr, CorpusFilter as qs, defaultEdgeTraversalCap as qt, SiblingSandboxExecutorOptions as qu, CreateSandboxOptions$1 as r, loopUntil as ra, FlatWidenGate as rc, detachedTurnEvents as rd, DelegationPersistenceError as rf, CheckpointCapableBox as ri, completionAuthorizes as rl, dumbContinuationPassPrompt as rn, loopCampaignDispatch as ro, DeliverableSpec as rp, StructuralRolloutMessage as rr, SupervisorSpanOptions as rs, createSupervisor as rt, QuestionDecision as ru, makeFinding$1 as s, verify as sa, Panel as sc, DelegationArgs as sd, FileDelegationStoreOptions as sf, SessionCapableBox as si, AxisScoresOf as sl, promptHandle as sn, AuthorizedSpawnContext as so, FileResultBlobStore as sp, canDisplace as sr, DeliveredOutput as ss, WorkerCancelRequest as st, QuestionRecord as su, AgentProfile$2 as t, fanout as ta, FanoutSynthesis as tc, RunDetachedTurnOptions as td, composeLoopTraceEmitters as tf, openSandboxRun as ti, CompletionPolicy as tl, delegatesWorkerBriefPrompt as tn, SuperviseDispatchOptions as to, defaultToolDetectors as tp, RepairStop as tr, sampleFromSettled as ts, workerTraceAnalysisStore as tt, MakeWorkerAgent as tu, BoxSurfaceReaderOptions as u, RegistryAnalyzeProjection as ua, PanelVerdict as uc, DelegationResumeDriver as ud, AgentEvalErrorCode as uf, createSandboxToolPartState as ui, Leaderboard as ul, DispatchReport as un, SuperviseOptions as uo, InMemorySpawnJournal as up, defaultExtractCandidate as ur, SupervisorFinalizer as us, cancelWorker as ut, WorkerResumeContext as uu, fsSurfaceReader as v, sanitizeMcpToolSchema as va, SteerContext as vc, DelegateCodeArgs as vd, RetainedRunAdmissionError as vf, AcquireOptions as vi, pairwiseSignificance as vl, DelegateOptions as vn, DriveHarness as vo, materializeTreeView as vp, structuralRollout as vr, DriverProgressMark as vs, supervisorRunsRoot as vt, createInProcessTransport as vu, failuresAnalyst as w, BenchmarkTaskRow as wa, VerifySpec as wc, DelegateResearchConfig as wd, ReconnectRetainedRunOptions as wf, ClaimRetainedInteractiveControlOptions as wi, AuditIntentOptions as wl, driverAgent as wn, SupervisorAgentDeps as wo, AssertProfileMaterializationOptions as wp, EvolutionBandInfo as wr, defaultSelectWinner as ws, workerInboxFile as wt, DelegateError as wu, SuperviseSurfaceResult as x, BenchmarkLift as xa, TrajectoryReportFn as xc, DelegateFeedbackArgs as xd, ValidationError as xf, recoverRetainedRun as xi, renderLeaderboardSvg as xl, CoordinationMcpHandle as xn, ResolveDriveHarness as xo, contentAddress as xp, ChampionPolicy as xr, RunAgentRoundsOptions as xs, workerCancellationFile as xt, DELEGATE_INPUT_SCHEMA as xu, harvestSurfaceDiffs as y, BenchmarkCell as ya, TrajectoryNode as yc, DelegateCodeConfig as yd, RetainedRunDispatchBindingError as yf, acquireSandbox as yi, renderLeaderboardHtml as yl, defaultDelegateBudget as yn, DriveHarnessOwnerContext as yo, pendingWaits as yp, visibleCheckScore as yr, DriverRetryPolicy as ys, supervisorWorkersDir as yt, createMcpServer as yu, withUntrackedArtifacts as z, StrategyCtx as za, ShapeBudget as zc, DelegationStatusArgs as zd, RetainedRunEventOptions as zf, PromotionVerdict as zi, createWaterfallCollector as zl, createBudgetPool as zn, PriorCoordination as zo, promptResourceProfileMaterialization as zp, strategyAuthorSystemPrompt as zr, ObserveInput as zs, EdgeTraversal as zt, SettleDetachedCoderTurnOptions as zu };
8733
+ //# sourceMappingURL=index-COnuT0h7.d.ts.map