@tangle-network/agent-runtime 0.193.1 → 0.194.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 (113) hide show
  1. package/dist/{activation-BismttgN.js → activation-BQFIiyUG.js} +3 -3
  2. package/dist/{activation-BismttgN.js.map → activation-BQFIiyUG.js.map} +1 -1
  3. package/dist/agent.d.ts +1 -1
  4. package/dist/agent.js +2 -2
  5. package/dist/candidate-execution/index.js +4 -4
  6. package/dist/{candidate-execution-BSkZErxD.js → candidate-execution-B6CDW-fp.js} +4 -4
  7. package/dist/{candidate-execution-BSkZErxD.js.map → candidate-execution-B6CDW-fp.js.map} +1 -1
  8. package/dist/{conversation-DILnmy84.js → conversation-BXPWMOSd.js} +4 -5
  9. package/dist/{conversation-DILnmy84.js.map → conversation-BXPWMOSd.js.map} +1 -1
  10. package/dist/conversation.d.ts +1 -1
  11. package/dist/conversation.js +1 -1
  12. package/dist/{coordination-driver-DujHiIGa.js → coordination-driver-iSN-m3VX.js} +281 -244
  13. package/dist/coordination-driver-iSN-m3VX.js.map +1 -0
  14. package/dist/{authoring-DWiqKSDY.js → delegate-DCC2muUd.js} +56 -13
  15. package/dist/delegate-DCC2muUd.js.map +1 -0
  16. package/dist/delegation-status-BlsbSeOB.js +358 -0
  17. package/dist/delegation-status-BlsbSeOB.js.map +1 -0
  18. package/dist/durable.d.ts +2 -2
  19. package/dist/durable.js +3 -3
  20. package/dist/{environment-provider-DEwsolvi.js → environment-provider-Dr-wfnHg.js} +422 -8
  21. package/dist/environment-provider-Dr-wfnHg.js.map +1 -0
  22. package/dist/{environment-provider-DpPGJfK-.d.ts → environment-provider-adVa6X7a.d.ts} +2 -2
  23. package/dist/environment-provider.d.ts +1 -1
  24. package/dist/environment-provider.js +1 -1
  25. package/dist/{graph-DORfp9WX.js → graph-DghidDx5.js} +138 -5
  26. package/dist/graph-DghidDx5.js.map +1 -0
  27. package/dist/graph.d.ts +3 -3
  28. package/dist/graph.js +4 -5
  29. package/dist/graph.js.map +1 -1
  30. package/dist/{improve-Bn1zpWHF.d.ts → improve-COGzLCiY.d.ts} +3 -3
  31. package/dist/{improvement-cycle-BbsiYcpH.js → improvement-cycle-DeS1ZC5B.js} +6 -6
  32. package/dist/{improvement-cycle-BbsiYcpH.js.map → improvement-cycle-DeS1ZC5B.js.map} +1 -1
  33. package/dist/{index-DV1lzp9p.d.ts → index-BEPjOPwH.d.ts} +49 -50
  34. package/dist/{index-Vz-13VZq.d.ts → index-CrBgLCIf.d.ts} +4 -4
  35. package/dist/{index-RM2oRI9s.d.ts → index-DO6DHgRP.d.ts} +2 -2
  36. package/dist/index.d.ts +8 -8
  37. package/dist/index.js +13 -13
  38. package/dist/intelligence.d.ts +5 -5
  39. package/dist/intelligence.js +6 -6
  40. package/dist/{executable-spec-DxuiDFAU.js → jsonl-file-Bh1Q9nt0.js} +59 -3
  41. package/dist/jsonl-file-Bh1Q9nt0.js.map +1 -0
  42. package/dist/kernel.d.ts +6 -6
  43. package/dist/kernel.js +11 -12
  44. package/dist/{knowledge-RW1pbZCH.js → knowledge-B5okOzBQ.js} +6 -6
  45. package/dist/{knowledge-RW1pbZCH.js.map → knowledge-B5okOzBQ.js.map} +1 -1
  46. package/dist/knowledge.d.ts +1 -1
  47. package/dist/knowledge.js +1 -1
  48. package/dist/{loop-runner-bin-CGraqNiA.d.ts → loop-runner-bin-Clc5IAwu.d.ts} +3 -3
  49. package/dist/{loop-runner-bin-sBwcyQTc.js → loop-runner-bin-U1J6x_UF.js} +3 -3
  50. package/dist/{loop-runner-bin-sBwcyQTc.js.map → loop-runner-bin-U1J6x_UF.js.map} +1 -1
  51. package/dist/loop-runner-bin.d.ts +1 -1
  52. package/dist/loop-runner-bin.js +1 -1
  53. package/dist/{materialization-CekWK6OO.js → materialization-vZssF9Nx.js} +28 -3
  54. package/dist/materialization-vZssF9Nx.js.map +1 -0
  55. package/dist/mcp/bin.js +3 -3
  56. package/dist/mcp/index.d.ts +4 -4
  57. package/dist/mcp/index.js +8 -8
  58. package/dist/mcp/index.js.map +1 -1
  59. package/dist/{openai-tools-6jUqkGG7.js → openai-tools-DmvmaG0a.js} +2 -2
  60. package/dist/{openai-tools-6jUqkGG7.js.map → openai-tools-DmvmaG0a.js.map} +1 -1
  61. package/dist/{prepare-B5fJ7mLS.js → prepare-C29kNAon.js} +9 -14
  62. package/dist/prepare-C29kNAon.js.map +1 -0
  63. package/dist/primeintellect/index.d.ts +1 -1
  64. package/dist/profiles.js +1 -1
  65. package/dist/{protected-model-port-B0xFSAjt.js → protected-model-port-CKYND416.js} +2 -2
  66. package/dist/{protected-model-port-B0xFSAjt.js.map → protected-model-port-CKYND416.js.map} +1 -1
  67. package/dist/{provision-supervisor-CddfH9mg.js → provision-supervisor-CRPbnJiB.js} +6 -8
  68. package/dist/{provision-supervisor-CddfH9mg.js.map → provision-supervisor-CRPbnJiB.js.map} +1 -1
  69. package/dist/{redact-D0OzQsyt.js → redact-BOU77QfQ.js} +1013 -24
  70. package/dist/redact-BOU77QfQ.js.map +1 -0
  71. package/dist/{researcher-hgPa5p9i.js → researcher-Cp4JRbFp.js} +2 -2
  72. package/dist/researcher-Cp4JRbFp.js.map +1 -0
  73. package/dist/{runtime-V91N6sPc.d.ts → runtime-B8x43nGP.d.ts} +5 -4
  74. package/dist/{runtime-ZM4i-jEF.js → runtime-BVrqSu0-.js} +22 -21
  75. package/dist/{runtime-ZM4i-jEF.js.map → runtime-BVrqSu0-.js.map} +1 -1
  76. package/dist/server-D6XmE1Du.js +1311 -0
  77. package/dist/server-D6XmE1Du.js.map +1 -0
  78. package/dist/{stream-agent-turn-1ahpdeIo.d.ts → stream-agent-turn-B-gtBlOy.d.ts} +2 -2
  79. package/dist/{stream-agent-turn-DWWe_7bh.js → stream-agent-turn-DOtEsvCV.js} +3 -3
  80. package/dist/{stream-agent-turn-DWWe_7bh.js.map → stream-agent-turn-DOtEsvCV.js.map} +1 -1
  81. package/dist/{structural-rollout-CktnUTCC.js → structural-rollout-BcPXFzVb.js} +16 -43
  82. package/dist/structural-rollout-BcPXFzVb.js.map +1 -0
  83. package/dist/{supervise-Dj6zd2C7.js → supervise-C0V3pZXK.js} +154 -1961
  84. package/dist/supervise-C0V3pZXK.js.map +1 -0
  85. package/dist/testing.d.ts +2 -2
  86. package/dist/testing.js +13 -13
  87. package/dist/tui/index.d.ts +1 -1
  88. package/dist/tui/index.js +1 -1
  89. package/dist/{types-CGez_ZHQ.d.ts → types-B_pNTBjK.d.ts} +5 -2
  90. package/dist/{workspace-archive-yAPDklLV.js → workspace-archive-BCezkeIk.js} +2 -2
  91. package/dist/{workspace-archive-yAPDklLV.js.map → workspace-archive-BCezkeIk.js.map} +1 -1
  92. package/package.json +1 -1
  93. package/skills/codemode/SKILL.md +2 -2
  94. package/skills/supervise/SKILL.md +24 -6
  95. package/dist/authoring-DWiqKSDY.js.map +0 -1
  96. package/dist/coordination-driver-DujHiIGa.js.map +0 -1
  97. package/dist/environment-provider-DEwsolvi.js.map +0 -1
  98. package/dist/executable-spec-DxuiDFAU.js.map +0 -1
  99. package/dist/graph-DORfp9WX.js.map +0 -1
  100. package/dist/jsonl-file-CDfsCI5s.js +0 -59
  101. package/dist/jsonl-file-CDfsCI5s.js.map +0 -1
  102. package/dist/materialization-CekWK6OO.js.map +0 -1
  103. package/dist/prepare-B5fJ7mLS.js.map +0 -1
  104. package/dist/redact-D0OzQsyt.js.map +0 -1
  105. package/dist/researcher-hgPa5p9i.js.map +0 -1
  106. package/dist/snapshot-CTAf4uuA.js +0 -26
  107. package/dist/snapshot-CTAf4uuA.js.map +0 -1
  108. package/dist/spawn-journal-B9eTmVAn.js +0 -999
  109. package/dist/spawn-journal-B9eTmVAn.js.map +0 -1
  110. package/dist/structural-rollout-CktnUTCC.js.map +0 -1
  111. package/dist/supervise-Dj6zd2C7.js.map +0 -1
  112. package/dist/util-mCNUeboW.js +0 -419
  113. package/dist/util-mCNUeboW.js.map +0 -1
@@ -1,11 +1,11 @@
1
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, k as Validator, m as LoopResult, r as Driver, t as AgentRunSpec, w as OutputAdapter, x as LoopWinner, y as LoopTraceEmitter } from "./types-BdolQ6Zi.js";
2
2
  import { n as AnalystRegistryLike } from "./types-zWfqDjeL.js";
3
3
  import { l as RuntimeHooks } from "./runtime-hooks-Bj6wJHlH.js";
4
- import { An as RecoverRetainedInteractiveRunOptions, At as OtelExporter, B as Scope, Bn as RecoverRetainedRunIntentOptions, D as NodeSnapshot, E as NodeId, En as WorkerProgress, F as RootHandle, Fn as StartRetainedInteractiveRunOptions, H as SpawnEvent, Hn as RecoverRetainedRunResult, M as ResultBlobStore, N as ResumedKeyState, Nn as RetainedInteractiveRunHandle, Q as Supervisor, Qn as RetainedRunEffect, T as NodeExecutionIdentity, U as SpawnJournal, Un as RetainedInteractiveAdmission, V as Settled, Vn as RecoverRetainedRunOptions, W as SpawnOpts, X as SteerableRootHandle, Y as SpendGap, Z as SupervisedResult, _ as ExecutorRegistry, _n as TraceSource, _t as TraceContext, a as DefaultVerdict, an as WaitProbeRegistry, cr as StartRetainedRunOptions, ct as WorkerInteractiveUnavailableReason, dt as WorkerTraceResolver, i as Budget, it as UsageEvent, j as ProviderModelExecutionEvidence, k as ProfileMaterializationReceipt, kn as ReconnectRetainedInteractiveRunOptions, kt as OtelExportConfig, lt as WorkerTraceEvidence, n as AgentExecutionRef, nn as PendingWait, nt as UnconfirmedTeardown, o as ExecutionBindingReceipt, p as ExecutorFactory, q as Spend, qn as RetainedRunAdmission, r as AgentSpec, s as Executor, sr as StartRetainedRunInEnvironmentOptions, st as WorkerInteractiveSession, t as Agent, tr as RetainedRunHandle, tt as TreeView, v as ExecutorResult, w as NoWinnerError, z as Runtime, zn as ReconnectRetainedRunOptions } from "./types-CGez_ZHQ.js";
5
- import { c as Redactor } from "./stream-agent-turn-1ahpdeIo.js";
6
- import { C as Inbox, Gt as PeerMailEvent, It as ToolLoopChat, Mt as runLocalHarness, Nt as RouterTransportConfig, Pt as ToolSpec, Qt as PeerMailbox, Rt as ToolLoopCompactionOptions, V as KeyProvider, an as JsonRpcMessage, c as ExecutorConfig, cn as McpTransport, ct as WorktreeCheckRunner, d as RouterToolsSeam, ht as GitRunner, on as JsonRpcResponse, qt as PeerMailLimits, sn as McpToolDescriptor$1, st as InPlaceHarnessResult, ut as WorktreeHarnessResult } from "./runtime-V91N6sPc.js";
4
+ import { An as RecoverRetainedInteractiveRunOptions, At as OtelExporter, B as Scope, Bn as RecoverRetainedRunIntentOptions, D as NodeSnapshot, E as NodeId, En as WorkerProgress, F as RootHandle, Fn as StartRetainedInteractiveRunOptions, H as SpawnEvent, Hn as RecoverRetainedRunResult, M as ResultBlobStore, N as ResumedKeyState, Nn as RetainedInteractiveRunHandle, Q as Supervisor, Qn as RetainedRunEffect, T as NodeExecutionIdentity, U as SpawnJournal, Un as RetainedInteractiveAdmission, V as Settled, Vn as RecoverRetainedRunOptions, W as SpawnOpts, X as SteerableRootHandle, Y as SpendGap, Z as SupervisedResult, _ as ExecutorRegistry, _n as TraceSource, _t as TraceContext, a as DefaultVerdict, an as WaitProbeRegistry, cr as StartRetainedRunOptions, ct as WorkerInteractiveUnavailableReason, dt as WorkerTraceResolver, i as Budget, it as UsageEvent, j as ProviderModelExecutionEvidence, k as ProfileMaterializationReceipt, kn as ReconnectRetainedInteractiveRunOptions, kt as OtelExportConfig, lt as WorkerTraceEvidence, n as AgentExecutionRef, nn as PendingWait, nt as UnconfirmedTeardown, o as ExecutionBindingReceipt, p as ExecutorFactory, q as Spend, qn as RetainedRunAdmission, r as AgentSpec, s as Executor, sr as StartRetainedRunInEnvironmentOptions, st as WorkerInteractiveSession, t as Agent, tr as RetainedRunHandle, tt as TreeView, v as ExecutorResult, w as NoWinnerError, z as Runtime, zn as ReconnectRetainedRunOptions } from "./types-B_pNTBjK.js";
5
+ import { c as Redactor } from "./stream-agent-turn-B-gtBlOy.js";
6
+ import { C as Inbox, Gt as PeerMailEvent, It as ToolLoopChat, Mt as runLocalHarness, Nt as RouterTransportConfig, Pt as ToolSpec, Qt as PeerMailbox, Rt as ToolLoopCompactionOptions, V as KeyProvider, an as JsonRpcMessage, c as ExecutorConfig, cn as McpTransport, ct as WorktreeCheckRunner, d as RouterToolsSeam, ht as GitRunner, on as JsonRpcResponse, qt as PeerMailLimits, sn as McpToolDescriptor$1, st as InPlaceHarnessResult, ut as WorktreeHarnessResult } from "./runtime-B8x43nGP.js";
7
7
  import { _ as CoderTask, d as ResearchSource, o as UiLens, r as UiFinding } from "./substrate-qLePHqvH.js";
8
- import { o as AgentEnvironmentProviderRegistry } from "./environment-provider-DpPGJfK-.js";
8
+ import { o as AgentEnvironmentProviderRegistry } from "./environment-provider-adVa6X7a.js";
9
9
  import { AGENT_PROFILE_MATERIALIZATION_AXES, AgentInteractiveSessionControlClaim, AgentInteractiveSessionRef, AgentInteractiveSessionStart, AgentInteractiveSessionStatus, AgentProfile, AgentProfile as AgentProfile$2, AgentProfile as AgentProfile$3, AgentProfilePrompt, AgentProfileSecurityPolicy, CanonicalAgentProfileMaterializationAxis, Sha256Digest, profileMaterializationAxes as profileMaterializationAxes$1 } from "@tangle-network/agent-interface";
10
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, RegistryRunOpts, RunRecord, StreamingDetector, ToolSpan, TraceAnalysisEngine, TraceAnalysisStore, ValidationError, buildTrajectory, computeFindingId as computeFindingId$1, makeFinding as makeFinding$1 } from "@tangle-network/agent-eval";
11
11
  import { DispatchFn, ExternalOptimizerModelCall, JudgeConfig, ProfileDispatchFn, RunProfileMatrixOptions, RunProfileMatrixResult, Scenario } from "@tangle-network/agent-eval/campaign";
@@ -2294,6 +2294,13 @@ type CoordinationEvent = {
2294
2294
  } | {
2295
2295
  readonly type: 'finding';
2296
2296
  readonly finding: AnalystFindingEvent;
2297
+ } |
2298
+ /** A direct manager result that passed its injected completion check. Record-only: the caller
2299
+ * already received the tool response, and a restarted manager restores this exact accepted
2300
+ * result instead of running the check or its harness again. */
2301
+ {
2302
+ readonly type: 'submission';
2303
+ readonly result: unknown;
2297
2304
  } | {
2298
2305
  readonly type: 'steer';
2299
2306
  readonly down: DownMessageEvent;
@@ -4795,10 +4802,12 @@ type ObserveSupervisorNodeEvent = (context: SupervisorNodeContext, event: Coordi
4795
4802
  * so the harness calls spawn_worker / await_event / stop as native tools over the live scope. */
4796
4803
  interface DriveHarness {
4797
4804
  (args: {
4798
- /** The caller's profile, EXACTLY as passed to `supervisorAgent` — never rewritten. A canonical
4799
- * `AgentProfile` stays schema-valid here (the canonical schema rejects unknown top-level keys,
4800
- * so hoisting a resolved prompt onto it would make a profile its own validator refuses). */
4805
+ /** The exact provider-visible projection. Runtime-owned coordination tool declarations are
4806
+ * removed only when their descriptors are actually mounted; send this profile to the provider. */
4801
4807
  readonly profile: SupervisorProfile;
4808
+ /** The immutable canonical profile Runtime admitted. Use it only to bind receipts or audit
4809
+ * authority; never send it to a provider, because it contains Runtime-owned declarations. */
4810
+ readonly authoredProfile: SupervisorProfile;
4802
4811
  /** The standing instruction assembled from the profile: its system prompt in either spelling,
4803
4812
  * plus the `prompt.instructions` and `resources.instructions` lines. Absent when the profile
4804
4813
  * names none — the harness's own default then applies. This, not `profile.systemPrompt`, is
@@ -4834,6 +4843,8 @@ interface SupervisorAgentDeps {
4834
4843
  readonly onProviderModel?: (model: string | undefined) => void;
4835
4844
  /** Independent completion check for direct driver work (`submit_result`). */
4836
4845
  readonly deliverable?: DeliverableSpec<unknown>;
4846
+ /** Receives a result only after this manager's completion check accepted it. */
4847
+ readonly onAcceptedSubmission?: (result: unknown) => void;
4837
4848
  /** Hard cap on simultaneously-LIVE workers across both arms — `spawn_worker` fails closed once
4838
4849
  * this many are in flight (a concurrency fence on top of the conserved-pool fence; bounds live
4839
4850
  * boxes/sandboxes, not total work). Omit/`<= 0` = no cap. */
@@ -5124,9 +5135,9 @@ interface SuperviseOptions {
5124
5135
  * backend-derived workers fall back to their own validity signal. A `string` names an entry in
5125
5136
  * `registry.deliverables`. */
5126
5137
  readonly deliverable?: DeliverableSpec<unknown> | string;
5127
- /** Resolve the completion check for one exact authorized backend-derived leaf. The callback runs
5128
- * after spawn authorization and driver classification, receives a detached immutable context,
5129
- * and may return `undefined` to use the run-wide `deliverable`. Driver profiles never call it. */
5138
+ /** Resolve the completion check for one exact authorized backend-derived child. The callback runs
5139
+ * after spawn authorization and receives a detached immutable context. It may return `undefined`
5140
+ * to use the run-wide `deliverable`; a managed child receives its selected check for direct work. */
5130
5141
  readonly resolveDeliverable?: (input: DeliverableResolutionInput) => DeliverableSpec<unknown> | undefined;
5131
5142
  /** Name→value tables for the four code-valued options, so a recorded run configuration can name
5132
5143
  * them instead of carrying closures. See {@link SuperviseRegistry}. */
@@ -5206,11 +5217,6 @@ interface SuperviseOptions {
5206
5217
  readonly parent: AgentProfile;
5207
5218
  readonly depth: number;
5208
5219
  }) => AuthorizedDownMessage;
5209
- /** Decide whether an authorized child becomes another supervisor. By default only
5210
- * `metadata.role === 'driver'` does. Products receive the same frozen post-authorization
5211
- * context as `resolveDeliverable`, so trusted execution/assignment authority can override
5212
- * model-authored metadata without a side channel. */
5213
- readonly isDriverProfile?: (input: AuthorizedSpawnContext) => boolean;
5214
5220
  /** The supervisor's router substrate (`profile.harness` omitted or `cli-base`). The profile's
5215
5221
  * model wins. */
5216
5222
  readonly router?: RouterTransportConfig;
@@ -5282,9 +5288,9 @@ interface SuperviseOptions {
5282
5288
  * live children, and the same budget, deadline, abort, and `driverRetry.maxAttempts` bounds. A
5283
5289
  * run the coordination server already stopped is never re-prompted — that stop was a decision.
5284
5290
  *
5285
- * Requires `deliverable`, and applies to the ROOT manager the one that declares the run's
5286
- * completion check. A recursive manager declares none of its own, so it is left unchanged.
5287
- * Refused for a router-brained root, which runs its turn loop in process. Omit/`0` = never.
5291
+ * Requires `deliverable`, and applies to every external manager with a completion check. A
5292
+ * recursive manager receives the check selected for its exact assignment. Refused for a
5293
+ * router-brained manager, which runs its turn loop in process. Omit/`0` = never.
5288
5294
  */
5289
5295
  readonly repromptOnUnmet?: number;
5290
5296
  /** Compose the re-entry instruction for an unmet contract, or return `'stop'` to end the run.
@@ -7344,13 +7350,8 @@ type AuthoredProfile = AgentProfile & {
7344
7350
  /** Narrow an untyped `spawn_worker` profile argument to an `AuthoredProfile`, or null if the
7345
7351
  * supervisor failed to author one (empty/placeholder profile — a skill violation worth catching). */
7346
7352
  declare function asAuthoredProfile(raw: unknown): AuthoredProfile | null;
7347
- /** The supervisor SKILL the how-to the supervisor reads (its system prompt). THE optimizable
7348
- * surface: editing this changes how the supervisor designs every agent it spawns.
7349
- *
7350
- * The POLICY paragraph is the registry's one `supervisor/policy` entry — the same stance
7351
- * `defaultSupervisorPrompt` carries — so both front doors run the same work-vs-delegate rule;
7352
- * this function ADDS the profile-authoring skill (how to WRITE the workers it spawns), which is
7353
- * additive craft, not a different policy. */
7353
+ /** The supervisor skill: an explicit profile-authoring instruction, never an implicit Runtime
7354
+ * policy. Editing this text changes how a profile designs the descendants it spawns. */
7354
7355
  declare function supervisorInstructions(opts?: {
7355
7356
  goal?: string;
7356
7357
  }): string;
@@ -7632,6 +7633,8 @@ interface DriverAgentOptions {
7632
7633
  /** Independent completion check for work the driver performs itself. When present, the driver
7633
7634
  * receives `submit_result`; the first passing submission ends the loop and becomes the output. */
7634
7635
  readonly deliverable?: DeliverableSpec<unknown>;
7636
+ /** Receives a result only after this manager's completion check accepted it. */
7637
+ readonly onAcceptedSubmission?: (result: unknown) => void;
7635
7638
  /** Hard cap on simultaneously-LIVE workers — `spawn_worker` fails closed once this many are in
7636
7639
  * flight (a concurrency fence on top of the conserved-pool fence). Omit/`<= 0` = no cap. */
7637
7640
  readonly maxLiveWorkers?: number;
@@ -7668,6 +7671,9 @@ interface DriverAgentOptions {
7668
7671
  /** Product-selected tools already bound to this exact supervisor node. The same descriptors are
7669
7672
  * served over MCP for external supervisors; this arm projects them into router ToolSpecs. */
7670
7673
  readonly nodeTools?: ReadonlyArray<McpToolDescriptor$1>;
7674
+ /** Exact bare names to expose from the coordination, node-tool, and direct-work-tool set.
7675
+ * Runtime never grants an implicit complete tool set. */
7676
+ readonly toolNames: ReadonlyArray<string>;
7671
7677
  /** WORK tools the driver may call DIRECTLY (alongside the coordination verbs) — so the driver is
7672
7678
  * not a pure manager but a full agent that can ACT (do simple work itself) OR SPAWN (delegate).
7673
7679
  * Each is a router tool spec; their names must not collide with the coordination verbs. Pair with
@@ -7875,6 +7881,9 @@ declare function serveCoordinationMcp(opts: {
7875
7881
  /** Product-selected tools already bound to this exact supervisor node. They share this server
7876
7882
  * with the coordination verbs, so the existing MCP duplicate-name guard applies before listen. */
7877
7883
  nodeTools?: ReadonlyArray<McpToolDescriptor$1>;
7884
+ /** Exact bare tool names to expose from the coordination and node-tool set. Runtime never
7885
+ * grants an implicit complete tool set. An unknown name fails before the listener opens. */
7886
+ toolNames: ReadonlyArray<string>;
7878
7887
  /**
7879
7888
  * OPT-IN peer mail: let this manager's workers message each other directly, bounded and audited
7880
7889
  * (`runtime/supervise/peer-mail`). Each spawn receives a capability URL on
@@ -8048,11 +8057,8 @@ declare function queueOf<Out>(units: ReadonlyArray<{
8048
8057
  * optimizer names a handle and the TEXT is swappable, sweepable, and diffable without a code
8049
8058
  * change. Graph edges (`runGraph`) carry handles, never inline prose.
8050
8059
  *
8051
- * ONE policy per role, whichever front door builds it: the seeded `supervisor/policy` entry is the
8052
- * single supervisor stance. The package previously shipped two contradictory defaults — the router
8053
- * arm's "do small work YOURSELF" (`defaultSupervisorPrompt`) versus the delegate front door's "you
8054
- * do NOT do the work yourself" (`supervisorInstructions`) — selected by entry point. Both now
8055
- * derive from the one entry here; which door you enter no longer decides the policy.
8060
+ * A profile or graph may opt into one of these versioned texts. Runtime does not select a standing
8061
+ * supervisor policy when the profile omits one.
8056
8062
  *
8057
8063
  * @experimental
8058
8064
  */
@@ -8087,17 +8093,9 @@ declare function promptHandle(ref: string): PromptHandle;
8087
8093
  declare function formatPromptHandle(handle: PromptHandle): string;
8088
8094
  /** Create a registry, optionally seeded. Entries are copied; the registry never aliases caller state. */
8089
8095
  declare function createPromptRegistry(seed?: ReadonlyArray<RegisteredPrompt>): PromptRegistry;
8090
- /**
8091
- * THE supervisor policy — one stance, both front doors. The work-vs-delegate rule is conditional
8092
- * on capability (work tools present or not), which is what dissolves the old contradiction: "do
8093
- * small work yourself" was written for a supervisor WITH work tools, "you do not do the work" for
8094
- * one WITHOUT — one policy states both branches explicitly.
8095
- */
8096
- declare const supervisorPolicyPrompt: RegisteredPrompt;
8097
8096
  /**
8098
8097
  * Default DELEGATES-edge directive: the standing instruction a worker receives with every
8099
- * traversal of a delegates edge that names this surface. Seeded from the bounded-brief knowledge
8100
- * in the supervisor policy, phrased for the RECEIVING side of the edge.
8098
+ * traversal of a delegates edge that names this surface.
8101
8099
  */
8102
8100
  declare const delegatesWorkerBriefPrompt: RegisteredPrompt;
8103
8101
  /**
@@ -8218,7 +8216,7 @@ declare class GraphEdgeCapError extends Error {
8218
8216
  * Forwarded to the root `supervise()` VERBATIM. Everything not owned, transformed, or refused
8219
8217
  * above belongs here — the default is "a graph honors it", not "someone remembered to add it".
8220
8218
  */
8221
- declare const GRAPH_FORWARDED_SUPERVISE_OPTIONS: readonly ["backend", "escalateQuestion", "rootHandle", "signal", "execution", "resolveDeliverable", "coordination", "peerMail", "driverBackend", "profileSecurity", "authorizeSpawn", "isDriverProfile", "router", "driveHarness", "driverRetry", "onDriverAttempt", "workerRetry", "onWorkerRetry", "repromptOnUnmet", "onUnmetContract", "childSettleGraceMs", "resolveDriveHarness", "driveHarnessMaterialization", "resolveSupervisorTools", "extraTools", "executeExtraTool", "perWorker", "maxLiveWorkers", "watchWorkers", "stallAfterMs", "runDir", "probes", "stopRule", "onProgressStop", "maxDepth", "maxTurns", "compaction", "now", "allowedModels", "finalizer", "otel"];
8219
+ declare const GRAPH_FORWARDED_SUPERVISE_OPTIONS: readonly ["backend", "escalateQuestion", "rootHandle", "signal", "execution", "resolveDeliverable", "coordination", "peerMail", "driverBackend", "profileSecurity", "authorizeSpawn", "router", "driveHarness", "driverRetry", "onDriverAttempt", "workerRetry", "onWorkerRetry", "repromptOnUnmet", "onUnmetContract", "childSettleGraceMs", "resolveDriveHarness", "driveHarnessMaterialization", "resolveSupervisorTools", "extraTools", "executeExtraTool", "perWorker", "maxLiveWorkers", "watchWorkers", "stallAfterMs", "runDir", "probes", "stopRule", "onProgressStop", "maxDepth", "maxTurns", "compaction", "now", "allowedModels", "finalizer", "otel"];
8222
8220
  /** `backend` and `driverBackend` keep graph-specific documentation below.
8223
8221
  *
8224
8222
  * Do not inherit and redeclare them through an indexed access type.
@@ -8236,8 +8234,9 @@ type GraphInheritedSuperviseOption = Exclude<(typeof GRAPH_FORWARDED_SUPERVISE_O
8236
8234
  */
8237
8235
  interface RunGraphOptions extends Pick<SuperviseOptions, GraphInheritedSuperviseOption> {
8238
8236
  /** WHERE worker nodes run — the executor backend. Provide this OR `makeLeafAgent`. Forwarded to
8239
- * `supervise()`, which derives every authorized LEAF from it; a node declared `role: 'driver'`
8240
- * becomes a nested supervisor instead, whose own leaves are derived the same way. */
8237
+ * `supervise()`, which derives every authorized leaf from it. A node that declares
8238
+ * `agent_runtime_coordination_spawn_worker` becomes a nested supervisor instead, whose own
8239
+ * leaves are derived the same way. */
8241
8240
  readonly backend?: Exclude<SuperviseOptions['backend'], undefined>;
8242
8241
  /** WHERE the ROOT node's harness brain runs — forwarded to `supervise()` verbatim (see
8243
8242
  * `SuperviseOptions.driverBackend`). Needed when the root node's profile declares an external
@@ -8249,8 +8248,8 @@ interface RunGraphOptions extends Pick<SuperviseOptions, GraphInheritedSupervise
8249
8248
  readonly driverBackend?: Exclude<SuperviseOptions['driverBackend'], undefined>;
8250
8249
  /** Leaf-execution override (offline tests / advanced). `runGraph` still owns node pinning,
8251
8250
  * directive delivery, and the edge ledger AROUND this seam — only the leaf `act` is yours.
8252
- * Slots INSIDE the kernel's authorized path (`SuperviseOptions.makeLeafAgent`), so a node
8253
- * declared `role: 'driver'` still becomes a nested supervisor even under an offline leaf. */
8251
+ * Slots INSIDE the kernel's authorized path (`SuperviseOptions.makeLeafAgent`), so a node that
8252
+ * declares the spawn tool still becomes a nested supervisor even under an offline leaf. */
8254
8253
  readonly makeLeafAgent?: MakeWorkerAgent;
8255
8254
  /** The ROOT driver's inference seam — a caller-owned `ToolLoopChat` that makes every root
8256
8255
  * model call. Use it when the root's decisions must be caller-owned orchestration (a
@@ -8333,7 +8332,7 @@ interface InPlaceCliExecutorOptions {
8333
8332
  /** Default instruction for direct `execute(undefined, signal)` calls. An execution-time task
8334
8333
  * is authoritative. Omit when the caller always supplies the task to `execute`. */
8335
8334
  taskPrompt?: string;
8336
- /** Wall-clock cap per harness subprocess (ms). Default 5 min (the `runLocalHarness` default). */
8335
+ /** Optional wall-clock cap per harness subprocess (ms). Omit it for no timer. */
8337
8336
  harnessTimeoutMs?: number;
8338
8337
  /** Test seam — inject the harness runner so unit tests script a `LocalHarnessResult`. */
8339
8338
  runHarness?: typeof runLocalHarness;
@@ -8480,7 +8479,7 @@ interface WorktreeCliExecutorOptions {
8480
8479
  runId?: string;
8481
8480
  /** Override the base ref the worktree is cut from (default `HEAD`). */
8482
8481
  baseRef?: string;
8483
- /** Wall-clock cap per harness subprocess (ms). Default 5 min (the `runLocalHarness` default). */
8482
+ /** Optional wall-clock cap per harness subprocess (ms). Omit it for no timer. */
8484
8483
  harnessTimeoutMs?: number;
8485
8484
  /** Run Codex with an ephemeral session, isolated config/instructions, network disabled, and
8486
8485
  * JSONL usage capture. Requires `profile.harness: 'codex'`; metered by default. */
@@ -8618,8 +8617,8 @@ declare function provisionSupervisor(request: ProvisionSupervisorRequest): Promi
8618
8617
  /** Options for a supervised run context. */
8619
8618
  interface InMemoryRunContextOptions {
8620
8619
  /**
8621
- * Wrap the executor registry with `withDriverExecutor` so a spawned child marked
8622
- * `role: 'driver'` resolves to the recursive driver-executor (agents driving agents
8620
+ * Wrap the executor registry with `withDriverExecutor` so a child constructed by `driverChild`
8621
+ * resolves to the recursive driver-executor (agents driving agents
8623
8622
  * over a nested `Scope` on the same conserved pool). Leave `false` for a flat tree of
8624
8623
  * leaf workers. Default `false`.
8625
8624
  */
@@ -9585,5 +9584,5 @@ interface VerifierEnvironmentOptions {
9585
9584
  /** 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. */
9586
9585
  declare function createVerifierEnvironment(opts: VerifierEnvironmentOptions): Environment;
9587
9586
  //#endregion
9588
- export { WorkspaceRun as $, BenchmarkStrategySummary as $a, LoopUntil as $c, DetachedSessionDelegateOptions as $d, DelegationResultPayload as $f, SandboxCapabilities as $i, deterministicCompletion as $l, effectiveConcurrency as $n, retryPreSpawnRefusals as $o, FileSpawnJournal as $p, defaultExtractCandidate as $r, pickBestDelivered as $s, RunContext as $t, DEFAULT_AWAIT_EVENT_TIMEOUT_MS as $u, worktreeFanout as A, renderCorpusToInstructions as Aa, HarvestFailure as Ac, parseAuthoredAnalystDefinition as Ad, DelegationTaskQueueOptions as Af, MaterializeLocalMcpOptions as Ai, PersonaContext as Al, promptResourceProfileMaterialization as Am, RunGraphTestOptions as An, LoopOptionsForDispatch as Ao, NotFoundError as Ap, AuthoredProfile as Ar, ProgressTracker as As, readWorkerCancellation as At, renderAnytimeTable as Au, VERIFY_TAIL_CHARS as B, RegistryAnalyzeProjection as Ba, CombinatorShape as Bc, DelegateError as Bd, DelegateResearchConfig as Bf, OpenSandboxRunPromptOptions as Bi, LeaderboardBenchmarkAdapter as Bl, delegatesWorkerBriefPrompt as Bn, SuperviseOptions as Bo, BusRecord as Bp, CheckRunContext as Br, plateau as Bs, workerCancellationFile as Bt, AnalystRegistry as Bu, SurfaceWorkerConfig as C, builtinShapes as Ca, localSandboxClient as Cc, WorkerSpawnContext as Cd, DelegationArgs as Cf, AuthorStrategyOptions as Ci, WidenSpec as Cl, controlProfileMaterialization as Cm, EdgeDeliveryOutcome as Cn, depthStrategy as Co, FileDelegationStoreOptions as Cp, BudgetPool as Cr, CoordinationOwnerId as Cs, cancelRun as Ct, AnytimeReport as Cu, superviseSurface as D, runPersonified as Da, InProcessSandboxClientOptions as Dc, createCoordinationTools as Dd, DelegationResumeTick as Df, strategyAuthorContract as Di, LoopShape as Dl, promptControlProfileMaterialization as Dm, GraphNode as Dn, sampleThenRefine as Do, BackendTransportError as Dp, ReservationTicket as Dr, NoProgressForOptions as Ds, readRunCancelRequest as Dt, areaUnderCurve as Du, failuresAnalyst as E, definePersona as Ea, InProcessPromptCtx as Ec, canonicalFindingEvent as Ed, DelegationResumeDriver as Ef, authorStrategy as Ei, DefinePersonaInput as El, profileMaterializationAxes$1 as Em, GraphEdgeCapError as En, sample as Eo, AgentEvalErrorCode as Ep, ReservationRejection as Er, AllWorkersStalledOptions as Es, legacySupervisorRunsRoot as Et, anytimeReport as Eu, readWorkerInteractiveBinding as F, pipeline as Fa, ObserveOptions as Fc, createMcpServer as Fd, DelegateCodeConfig as Ff, connectStdioMcp as Fi, ShapeContext as Fl, PromptHandle as Fn, superviseDispatch as Fo, RetainedRunDispatchBindingError as Fp, defaultProfileRichnessThresholds as Fr, allOf as Fs, safeWorkerFile as Ft, ANALYST_DEFINITION_BOUNDS as Fu, CopyOptions as G, McpEndpoint as Ga, EqualKOnCost as Gc, FeedbackEvent as Gd, DelegateUiAuditRoute as Gf, BranchCapableBox as Gi, LeaderboardScore as Gl, naiveContinuationPrompt as Gn, superviseWithTestBrain as Go, WatchTraceOptions as Gp, StructuralRolloutConfig as Gr, SupervisorSpanRecorder as Gs, workerSteerAcknowledgementFile as Gt, AuthorizeDownMessage as Gu, closingWorkerNote as H, buildSteerContext as Ha, CorpusFilter as Hc, DelegateResult as Hd, DelegateUiAuditArgs as Hf, SandboxRunAbortError as Hi, LeaderboardIterationInfo as Hl, dumbContinuationPassPrompt as Hn, SuperviseRegistryTable as Ho, EventBus as Hp, CheckSource as Hr, SupervisorSpanAttributes as Hs, workerControlLogFile as Ht, AnalyzeOnSettleRoute as Hu, workerInteractiveBindingFile as I, selectValidWinner as Ia, defaultAnalystInstruction as Ic, DELEGATE_DESCRIPTION as Id, DelegateCodeResult as If, materializeLocalMcp as Ii, ShapeRegistry as Il, PromptRegistry as In, AuthorizedSpawn as Io, RuntimeRunStateError as Ip, profileRichnessFinding as Ir, allWorkersStalled as Is, supervisorRunDir as It, AnalystDefinitionIssue as Iu, withUntrackedArtifacts as J, sanitizeMcpToolSchema as Ja, Fanout as Jc, eventToSnapshot as Jd, DelegationHistoryArgs as Jf, SandboxLineage as Ji, CompletionAnalyst as Jl, ConcurrencyCaps as Jn, WorkerSpawnRetryAttempt as Jo, DeliverableSpec as Jp, StructuralRolloutResult as Jr, FinalizeContext as Js, workerSteerRequestsDir as Jt, ContinuityMode as Ju, UntrackedCopyStats as K, McpEnvironmentOptions as Ka, EqualKOnCostOptions as Kc, FeedbackStore as Kd, DelegationError as Kf, CheckpointCapableBox as Ki, LeaderboardSpec as Kl, promptHandle as Kn, workerFromBackend as Ko, defaultToolDetectors as Kp, StructuralRolloutMessage as Kr, createSupervisorSpanRecorder as Ks, workerSteerAcknowledgementsDir as Kt, AuthorizedDownMessage as Ku, workerInteractiveBindingsDir as L, verify as La, observe as Lc, DELEGATE_INPUT_SCHEMA as Ld, DelegateFeedbackArgs as Lf, Deliverable as Li, DefinedLeaderboard as Ll, RegisteredPrompt as Ln, AuthorizedSpawnContext as Lo, ValidationError as Lp, supervisorInstructions as Lr, anyOf as Ls, supervisorRunsRoot as Lt, AnalystFindingEvent as Lu, WorkerInteractiveBinding as M, flatWidenGate as Ma, harvestCorpus as Mc, McpServer as Md, SubmitOutput as Mf, McpToolDescriptor as Mi, RunPersonified as Ml, sandboxActProfileMaterialization as Mm, defaultEdgeTraversalCap as Mn, SuperviseOptionsForDispatch as Mo, RetainedInteractiveAdmissionError as Mp, ProfileRichnessThresholds as Mr, ProgressView as Ms, readWorkerSteerRequests as Mt, WaterfallReport as Mu, WorkerInteractiveProviderSource as N, loopUntil as Na, Observation as Nc, McpServerOptions as Nd, hashIdempotencyInput as Nf, StdioMcpConnection as Ni, RunPersonifiedOptions as Nl, validateProfileMaterialization as Nm, runGraph as Nn, loopCampaignDispatch as No, RetainedInteractiveBindingError as Np, asAuthoredProfile as Nr, StopDecision as Ns, runCancelRequestFile as Nt, WaterfallSpan as Nu, AuthoredHarness as O, FileCorpus as Oa, inProcessSandboxClient as Oc, downMessageRefusalReasons as Od, DelegationRunContext as Of, strategyAuthorSystemPrompt as Oi, Outcome as Ol, promptModelProfileMaterialization as Om, GraphResult as On, LoopCampaignDispatchOptions as Oo, ConfigError as Op, createBudgetPool as Or, PlateauOptions as Os, readRunCancellation as Ot, bestSoFar as Ou, attachWorker as P, panel as Pa, ObserveInput as Pc, createInProcessTransport as Pd, DelegateCodeArgs as Pf, StdioMcpServerSpec as Pi, ShapeBudget as Pl, worktreeCliProfileMaterialization as Pm, runGraphWithTestBrain as Pn, loopDispatch as Po, RetainedRunAdmissionError as Pp, assessAuthoredProfile as Pr, StopRule as Ps, runCancellationFile as Pt, createWaterfallCollector as Pu, WorkspaceCommit as Q, BenchmarkReport as Qa, FlatWidenGate as Qc, DelegateRunCtx as Qd, DelegationProgress as Qf, CriuCapableClient as Qi, completionAuthorizes as Ql, RollingDispatchOptions as Qn, resolveWorkerSpawnRetry as Qo, FileResultBlobStore as Qp, composeCheckSources as Qr, collectDelivered as Qs, InMemoryRunContextOptions as Qt, CoordinationToolsOptions as Qu, EVIDENCE_MAX_CHARS as R, widen as Ra, renderReport as Rc, DELEGATE_TOOL_NAME as Rd, DelegateFeedbackResult as Rf, OpenSandboxRunBeforeStartContext as Ri, LeaderboardBenchScore as Rl, analyzesFindingsReportPrompt as Rn, DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY as Ro, CoderOutput as Rp, CheckExecChannel as Rr, createProgressTracker as Rs, supervisorWorkersDir as Rt, AnalystKind as Ru, SuperviseSurfaceResult as S, trajectoryReport as Sa, LocalSandboxClientOptions as Sc, WorkerResumeContext as Sd, runDetachedTurn as Sf, selectChampion as Si, WidenLineage as Sl, assertProfileMaterialization as Sm, AgentGraph as Sn, defineStrategy as So, FileDelegationStore as Sp, createChatSessionStore as Sr, CoordinationLog as Ss, WriteWorkerSteerOptions as St, defaultAuditorInstruction as Su, analystsFromRegistry as T, registerShape as Ta, InProcessOnPrompt as Tc, analystToolGroupNames as Td, DelegationResumeContext as Tf, assertStrategyContract as Ti, DefinePersona as Tl, fullProfileMaterialization as Tm, GraphEdge as Tn, runAgentic as To, AgentEvalError$1 as Tp, BudgetReadout as Tr, PriorCoordination as Ts, legacySupervisorRunDir as Tt, AnytimeTaskCurve as Tu, composeWorkerEvidence as U, createScopeAnalyst as Ua, CorpusRecord as Uc, createDelegateHandler as Ud, DelegateUiAuditConfig as Uf, TurnResult as Ui, LeaderboardRunContext as Ul, formatPromptHandle as Un, SuperviseTestOptions as Uo, PublishOptions as Up, CheckSourceCtx as Ur, SupervisorSpanOptions as Us, workerInboxFile as Ut, AuthoredAnalystDefinition as Uu, WorkerEvidenceInput as V, assertTraceDerivedFindings as Va, Corpus as Vc, DelegateHandlerOptions as Vd, DelegateResearchResult as Vf, SandboxRun as Vi, LeaderboardFlagSpec as Vl, dumbContinuationFailPrompt as Vn, SuperviseRegistry as Vo, BusStats as Vp, CheckRunner as Vr, sampleFromSettled as Vs, workerCancellationsDir as Vt, AnalystToolGroupName as Vu, settledWorkerOut as W, registryScopeAnalyst as Wa, EqualKArm as Wc, validateDelegateArgs as Wd, DelegateUiAuditResult as Wf, openSandboxRun as Wi, LeaderboardScenario as Wl, kernelPromptRegistry as Wn, supervise as Wo, createEventBus as Wp, RepairStop as Wr, SupervisorSpanOutcome as Ws, workerInboxFileFromEventDir as Wt, AuthoredAnalystLimits as Wu, Shell as X, BenchmarkConfig as Xa, FanoutSynthesis as Xc, CoderReview as Xd, DelegationHistoryResult as Xf, SessionCapableBox as Xi, CompletionPolicy as Xl, DispatchStopReason as Xn, WorkerSpawnRetryPolicy as Xo, gateOnDeliverable as Xp, canDisplace as Xr, SupervisorFinalizer as Xs, writeWorkerSteer as Xt, CoordinationStats as Xu, GitWorkspaceOptions as Y, BenchmarkCell as Ya, FanoutOptions as Yc, CoderDelegate as Yd, DelegationHistoryEntry as Yf, SandboxLineageHandle as Yi, CompletionEvidence as Yl, DispatchReport as Yn, WorkerSpawnRetryHooks as Yo, ExecutorResultMapping as Yp, VisibleCheck as Yr, FinalizerSettled as Ys, workerSteersDir as Yt, CoordinationEvent as Yu, Workspace as Z, BenchmarkLift as Za, FanoutWinnerSelector as Zc, CoderReviewer as Zd, DelegationProfile as Zf, createSandboxLineage as Zi, CompletionVerdict as Zl, DispatchUnit as Zn, isPreSpawnExecutorFailure as Zo, mapExecutorResult as Zp, compareCheckOutcomes as Zr, bestDelivered as Zs, InMemoryRunContext as Zt, CoordinationTools as Zu, boxSurfaceReader as _, profileChatClient as _a, TERMINAL_DECISIONS as _c, SettledWorker as _d, RunDetachedTurnOptions as _f, ReproductionCheck as _i, TrajectoryReportOptions as _l, DefineProfileMaterializationContractOptions as _m, WorkerInteractiveAdmission as _n, StrategyResult as _o, composeLoopTraceEmitters as _p, ChatTransportExecutorOptions as _r, assertCoordinationBinding as _s, RunCancellation as _t, renderPairwiseMarkdown as _u, SandboxInstance$1 as a, startRetainedRun as aa, DriverContractState as ac, EscalateQuestion as ad, settleDetachedCoderTurn as af, sandboxCheckRunner as ai, PanelVerdict as al, SpawnForestMissingTree as am, SupervisorCleanupReceipt as an, AgenticRunResult as ao, ResearchOutputShape as ap, delegate as ar, DriveHarnessOwnerContext as as, analyzeTrace as at, Leaderboard as au, AnalystAuthoring as b, assertProfileModelsAllowed as ba, isTerminalDecision as bc, SpawnRefusal as bd, formatDetachedSessionRef as bf, pickChampion as bi, Widen as bl, ProfileMaterializationIssue as bm, InPlaceCliExecutorOptions as bn, adaptiveRefine as bo, DelegationStateCorruptError as bp, chatTransportExecutor as br, supervisorAgentWithTestBrain as bs, WorkerSteerAcknowledgement as bt, IntentAudit as bu, VerifierEnvironmentOptions as c, claimRetainedInteractiveControl as ca, DriverRepromptPolicy as cc, QuestionDecision as cd, FleetWorkspaceExecutorOptions as cf, visibleCheckScore as ci, RenderCorpusToInstructions as cl, loadSpawnForest as cm, patchDelivered as cn, AgenticTool as co, delegationProfiles as cp, DriverAgentOptions as cr, ResolveSupervisorTools as cs, captureWorkerTraceEvidence as ct, PairwiseOptions as cu, HarvestSurfaceDiffsOptions as d, startRetainedInteractiveRun as da, DriverUnmetContractContext as dc, QuestionEscalationTarget as dd, createSiblingSandboxExecutor as df, EvolutionArchiveNode as di, ScopeAnalyzeInput as dl, replaySpawnTree as dm, createWorktreeCliExecutor as dn, RunAgenticOptions as do, DELEGATION_TRACE_MAX_SPANS as dp, CodeModeOptions as dr, SupervisorAgentTestDeps as ds, createRootHandle as dt, ScoreOf as du, probeSandboxCapabilities as ea, runFinalizer as ec, DefinedAnalystRecord as ed, DetachedWinnerSelection as ef, defaultStructuralRolloutPolicy as ei, LoopUntilSpec as el, InMemoryResultBlobStore as em, createFileRunContext as en, BenchmarkTaskRow as eo, DelegationStatus as ep, freeSlots as er, withWorkerSpawnRetry as es, gitWorkspace as et, sentinelCompletion as eu, SurfaceDiff as f, ResolveSandboxClientOptions as fa, DriverUnmetContractDecision as fc, QuestionLevel as fd, DetachedSessionRefParts as ff, EvolutionAuthor as fi, ScopeWidenGate as fl, contentAddress as fm, InteractiveWorkerEnvironment as fn, ShotSpec as fo, DelegationTraceCaps as fp, CodeModeRunner as fr, SupervisorNodeContext as fs, createSupervisor as ft, leaderboard as fu, WatchedSurface as g, promotionGate as ga, RunAgentRoundsOptions as gc, QuestionUrgency as gd, DriveTurnTick as gf, EvolutionReport as gi, TrajectoryReportFn as gl, CanonicalAgentProfileMaterializationAxis as gm, workerFromInteractiveProvider as gn, StrategyMessage as go, capDelegationTrace as gp, ChatSessionStore as gr, SupervisorToolInvocationContext as gs, RunCancelRequest as gt, renderLeaderboardSvg as gu, SurfaceReader as h, PromotionVerdict as ha, defaultUnmetContractSteer as hc, QuestionRecord as hd, DriveTurnCapableBox as hf, EvolutionGeneration as hi, TrajectoryReport as hl, AssertProfileMaterializationOptions as hm, InteractiveWorkerResult as hn, StrategyCtx as ho, buildDelegationTraceSpans as hp, ChatCompletionsTransport as hr, SupervisorToolDescriptor as hs, settledToIteration as ht, renderLeaderboardMarkdown as hu, SandboxEvent$1 as i, recoverRetainedRun as ia, DriverBudgetReadout as ic, DownMessageEvent as id, detachedSessionDelegate as if, resolveEntrySymbol as ii, PanelSpec as il, SpawnForestInDoubtNode as im, ProvisionedSupervisor as in, AgenticOptions as io, FeedbackRefersTo as ip, defaultDelegateBudget as ir, DriveHarness as is, TrajectoryAnalysis as it, Interval as iu, AttachWorkerOptions as j, fanout as ja, HarvestReport as jc, questionEscalationTargets as jd, SubmitInput as jf, McpSpawnFault as ji, PersonaExecutors as jl, renderProfileMaterializationIssues as jm, TraversalContinuity as jn, SuperviseDispatchOptions as jo, PlannerError as jp, ProfileRichness as jr, ProgressTrackerOptions as js, readWorkerSteerAcknowledgement as jt, WaterfallCollector as ju, WorktreeFanoutOptions as k, InMemoryCorpus as ka, HarvestCorpusOptions as kc, normalizeAnalyzeOnSettle as kd, DelegationTaskQueue as kf, LocalMcpMaterialization as ki, Persona as kl, promptOnlyProfileMaterialization as km, RunGraphOptions as kn, LoopDispatchOptions as ko, JudgeError as kp, spendFromUsageEvents as kr, ProgressSample as ks, readWorkerCancelRequests as kt, plateauLength as ku, createVerifierEnvironment as l, reconnectRetainedInteractiveRun as la, DriverRepromptRefusal as lc, QuestionEscalationOutcome as ld, SiblingSandboxExecutorOptions as lf, ChampionPick as li, RenderCorpusToInstructionsOptions as ll, materializeTreeView as lm, WorktreeCliExecutorOptions as ln, ArtifactHandle as lo, CappedDelegationTrace as lp, driverAgent as lr, ResolvedSupervisorProfile as ls, parseWorkerToolTraceArtifact as lt, PairwiseVerdict as lu, SurfaceReadOutcome as m, PromotionGateOptions as ma, classifyDriverFailure as mc, QuestionPolicy as md, DetachedTurnResumeDriverOptions as mf, EvolutionCandidate as mi, TrajectoryNode as ml, AgentProfileMaterializationAxis as mm, InteractiveWorkerOptions as mn, StrategyArtifacts as mo, DelegationTraceSpan as mp, unsafeInProcessRunner as mr, SupervisorProfile as ms, createScope as mt, renderLeaderboardHtml as mu, AnalystFinding$1 as n, acquireSandbox as na, DriverAttemptStop as nc, DownMessageDeliveryAttempt as nd, UiAuditorDelegate as nf, modelAuthoredChecks as ni, Panel as nl, SpawnForest as nm, ProvisionSupervisorConnection as nn, printBenchmarkReport as no, DelegationStatusResult as np, rollingDispatch as nr, CoordinationToolFace as ns, localShell as nt, AxisScoresOf as nu, computeFindingId$1 as o, startRetainedRunInEnvironment as oa, DriverProgressMark as oc, MakeWorkerAgent as od, DelegationExecutor as of, selectBestIndex as oi, Pipeline as ol, SpawnForestNode as om, provisionSupervisor as on, AgenticSurface as oo, UiAuditLensFilter as op, CoordinationMcpHandle as or, ObserveSupervisorNodeEvent as os, WORKER_TOOL_TRACE_SCHEMA_VERSION as ot, LeaderboardOptions as ou, SurfaceReadBox as p, resolveSandboxClient as pa, OnUnmetContract as pc, QuestionOption as pd, DetachedTurn as pf, EvolutionBandInfo as pi, SteerContext as pl, AGENT_PROFILE_MATERIALIZATION_AXES as pm, InteractiveWorkerKeyInput as pn, Strategy as po, DelegationTraceCollector as pp, codeModeSupervisorTools as pr, SupervisorNodeContextSeed as ps, ScopeArgs as pt, pairwiseSignificance as pu, copyUntrackedIntoClone as q, createMcpEnvironment as qa, EqualKVerdict as qc, InMemoryFeedbackStore as qd, DelegationFeedbackSnapshot as qf, ForkCapableBox as qi, defineLeaderboard as ql, supervisorPolicyPrompt as qn, ResolvedWorkerSpawnRetry as qo, watchTrace as qp, StructuralRolloutPolicy as qr, DeliveredOutput as qs, workerSteerRequestFile as qt, ContinuationInstruction as qu, CreateSandboxOptions$1 as r, reconnectRetainedRun as ra, DriverAttemptsExhaustedError as rc, DownMessageDeliveryOutcome as rd, coderTaskFromArgs as rf, officialChecksFromMeta as ri, PanelJudge as rl, SpawnForestEvent as rm, ProvisionSupervisorRequest as rn, runBenchmark as ro, FeedbackRating as rp, DelegateOptions as rr, CoordinationVerbs as rs, runInWorkspace as rt, GroupOf as ru, makeFinding$1 as s, ClaimRetainedInteractiveControlOptions as sa, DriverReentry as sc, Question as sd, FleetHandle as sf, structuralRollout as si, PipelineStage as sl, SpawnForestTree as sm, PatchDeliverableOptions as sn, AgenticTask as so, UiAuditorDelegationOutput as sp, serveCoordinationMcp as sr, ResolveDriveHarness as ss, WorkerToolTraceArtifact as st, LeaderboardRow as su, AgentProfile$2 as t, AcquireOptions as ta, DriverAttemptRecord as tc, DownMessageAuthorizationInput as td, SettleDetachedCoderTurnOptions as tf, filterAuthoredAsserts as ti, LoopUntilState as tl, InMemorySpawnJournal as tm, createInMemoryRunContext as tn, Environment as to, DelegationStatusArgs as tp, queueOf as tr, CoordinationBinding as ts, jjWorkspace as tt, stopSentinel as tu, BoxSurfaceReaderOptions as u, recoverRetainedInteractiveRun as ua, DriverRetryPolicy as uc, QuestionEscalationRecord as ud, createFleetWorkspaceExecutor as uf, ChampionPolicy as ui, ScopeAnalyst as ul, pendingWaits as um, WorktreePatchArtifact as un, CorpusReadbackOptions as uo, DELEGATION_TRACE_MAX_BYTES as up, finalizeBestDelivered as ur, SupervisorAgentDeps as us, workerTraceAnalysisStore as ut, ProfileKeyOf as uu, fsSurfaceReader as v, profileOptimizerModelCall as va, TerminalDecision as vc, SpawnPreflight as vd, createDetachedTurnResumeDriver as vf, StrategyEvolutionConfig as vi, Verify as vl, KnownAgentProfileMaterializationAxis as vm, readWorkerInteractiveAdmissions as vn, StrategyShotResult as vo, createDelegationTraceCollector as vp, ChatTransportTool as vr, resolveSupervisorProfile as vs, WorkerCancelRequest as vt, AuditIntentInput as vu, SurfaceWorkerOut as w, createShapeRegistry as wa, inlineSandboxClient as wc, WorkerWatchOptions as wd, DelegationRecord as wf, AuthoredStrategy as wi, WinnerStrategy as wl, defineProfileMaterializationContract as wm, EdgeTraversal as wn, refine as wo, InMemoryDelegationStore as wp, BudgetPoolRestore as wr, FileCoordinationLog as ws, cancelWorker as wt, AnytimeStrategySummary as wu, SuperviseSurfaceOptions as x, equalKOnCost as xa, runAgentRounds as xc, SpawnRefusalCause as xd, parseDetachedSessionRef as xf, runStrategyEvolution as xi, WidenDecision as xl, ValidateProfileMaterializationOptions as xm, createInPlaceCliExecutor as xn, breadthStrategy as xo, DelegationStore as xp, chatWorkerSeam as xr, CoordinationDeliveryEvidence as xs, WorkerSteerRequest as xt, auditIntent as xu, harvestSurfaceDiffs as y, assertModelAllowed as ya, defaultSelectWinner as yc, SpawnPreflightContext as yd, detachedTurnEvents as yf, discriminatingMeans as yi, VerifySpec as yl, ProfileMaterializationContract as ym, workerInteractiveAdmissionFile as yn, SurfaceScore as yo, DelegationPersistenceError as yp, ChatWorkerSeamOptions as yr, supervisorAgent as ys, WorkerCancellation as yt, AuditIntentOptions as yu, NOTE_MAX_CHARS as z, CreateScopeAnalystOptions as za, AssertTraceDerivedFindings as zc, DelegateArgs as zd, DelegateResearchArgs as zf, OpenSandboxRunOptions as zi, LeaderboardBenchTask as zl, createPromptRegistry as zn, DeliverableResolutionInput as zo, BusEvent as zp, CheckOutcome as zr, noProgressFor as zs, workerCancelRequestsFile as zt, AnalystLensOutput as zu };
9589
- //# sourceMappingURL=index-DV1lzp9p.d.ts.map
9587
+ export { WorkspaceRun as $, BenchmarkTaskRow as $a, LoopUntilSpec as $c, DetachedWinnerSelection as $d, DelegationStatus as $f, probeSandboxCapabilities as $i, sentinelCompletion as $l, freeSlots as $n, withWorkerSpawnRetry as $o, InMemoryResultBlobStore as $p, defaultStructuralRolloutPolicy as $r, runFinalizer as $s, RunContext as $t, DefinedAnalystRecord as $u, worktreeFanout as A, fanout as Aa, HarvestReport as Ac, questionEscalationTargets as Ad, SubmitInput as Af, McpSpawnFault as Ai, PersonaExecutors as Al, renderProfileMaterializationIssues as Am, RunGraphTestOptions as An, SuperviseDispatchOptions as Ao, PlannerError as Ap, ProfileRichness as Ar, ProgressTrackerOptions as As, readWorkerCancellation as At, WaterfallCollector as Au, VERIFY_TAIL_CHARS as B, assertTraceDerivedFindings as Ba, Corpus as Bc, DelegateHandlerOptions as Bd, DelegateResearchResult as Bf, SandboxRun as Bi, LeaderboardFlagSpec as Bl, delegatesWorkerBriefPrompt as Bn, SuperviseRegistry as Bo, BusStats as Bp, CheckRunner as Br, sampleFromSettled as Bs, workerCancellationFile as Bt, AnalystToolGroupName as Bu, SurfaceWorkerConfig as C, createShapeRegistry as Ca, inlineSandboxClient as Cc, WorkerWatchOptions as Cd, DelegationRecord as Cf, AuthoredStrategy as Ci, WinnerStrategy as Cl, defineProfileMaterializationContract as Cm, EdgeDeliveryOutcome as Cn, refine as Co, InMemoryDelegationStore as Cp, BudgetPoolRestore as Cr, FileCoordinationLog as Cs, cancelRun as Ct, AnytimeStrategySummary as Cu, superviseSurface as D, FileCorpus as Da, inProcessSandboxClient as Dc, downMessageRefusalReasons as Dd, DelegationRunContext as Df, strategyAuthorSystemPrompt as Di, Outcome as Dl, promptModelProfileMaterialization as Dm, GraphNode as Dn, LoopCampaignDispatchOptions as Do, ConfigError as Dp, createBudgetPool as Dr, PlateauOptions as Ds, readRunCancelRequest as Dt, bestSoFar as Du, failuresAnalyst as E, runPersonified as Ea, InProcessSandboxClientOptions as Ec, createCoordinationTools as Ed, DelegationResumeTick as Ef, strategyAuthorContract as Ei, LoopShape as El, promptControlProfileMaterialization as Em, GraphEdgeCapError as En, sampleThenRefine as Eo, BackendTransportError as Ep, ReservationTicket as Er, NoProgressForOptions as Es, legacySupervisorRunsRoot as Et, areaUnderCurve as Eu, readWorkerInteractiveBinding as F, selectValidWinner as Fa, defaultAnalystInstruction as Fc, DELEGATE_DESCRIPTION as Fd, DelegateCodeResult as Ff, materializeLocalMcp as Fi, ShapeRegistry as Fl, PromptHandle as Fn, AuthorizedSpawn as Fo, RuntimeRunStateError as Fp, profileRichnessFinding as Fr, allWorkersStalled as Fs, safeWorkerFile as Ft, AnalystDefinitionIssue as Fu, CopyOptions as G, McpEnvironmentOptions as Ga, EqualKOnCostOptions as Gc, FeedbackStore as Gd, DelegationError as Gf, CheckpointCapableBox as Gi, LeaderboardSpec as Gl, naiveContinuationPrompt as Gn, workerFromBackend as Go, defaultToolDetectors as Gp, StructuralRolloutMessage as Gr, createSupervisorSpanRecorder as Gs, workerSteerAcknowledgementFile as Gt, AuthorizedDownMessage as Gu, closingWorkerNote as H, createScopeAnalyst as Ha, CorpusRecord as Hc, createDelegateHandler as Hd, DelegateUiAuditConfig as Hf, TurnResult as Hi, LeaderboardRunContext as Hl, dumbContinuationPassPrompt as Hn, SuperviseTestOptions as Ho, PublishOptions as Hp, CheckSourceCtx as Hr, SupervisorSpanOptions as Hs, workerControlLogFile as Ht, AuthoredAnalystDefinition as Hu, workerInteractiveBindingFile as I, verify as Ia, observe as Ic, DELEGATE_INPUT_SCHEMA as Id, DelegateFeedbackArgs as If, Deliverable as Ii, DefinedLeaderboard as Il, PromptRegistry as In, AuthorizedSpawnContext as Io, ValidationError as Ip, supervisorInstructions as Ir, anyOf as Is, supervisorRunDir as It, AnalystFindingEvent as Iu, withUntrackedArtifacts as J, BenchmarkCell as Ja, FanoutOptions as Jc, CoderDelegate as Jd, DelegationHistoryEntry as Jf, SandboxLineageHandle as Ji, CompletionEvidence as Jl, DispatchReport as Jn, WorkerSpawnRetryHooks as Jo, ExecutorResultMapping as Jp, VisibleCheck as Jr, FinalizerSettled as Js, workerSteerRequestsDir as Jt, CoordinationEvent as Ju, UntrackedCopyStats as K, createMcpEnvironment as Ka, EqualKVerdict as Kc, InMemoryFeedbackStore as Kd, DelegationFeedbackSnapshot as Kf, ForkCapableBox as Ki, defineLeaderboard as Kl, promptHandle as Kn, ResolvedWorkerSpawnRetry as Ko, watchTrace as Kp, StructuralRolloutPolicy as Kr, DeliveredOutput as Ks, workerSteerAcknowledgementsDir as Kt, ContinuationInstruction as Ku, workerInteractiveBindingsDir as L, widen as La, renderReport as Lc, DELEGATE_TOOL_NAME as Ld, DelegateFeedbackResult as Lf, OpenSandboxRunBeforeStartContext as Li, LeaderboardBenchScore as Ll, RegisteredPrompt as Ln, DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY as Lo, CoderOutput as Lp, CheckExecChannel as Lr, createProgressTracker as Ls, supervisorRunsRoot as Lt, AnalystKind as Lu, WorkerInteractiveBinding as M, loopUntil as Ma, Observation as Mc, McpServerOptions as Md, hashIdempotencyInput as Mf, StdioMcpConnection as Mi, RunPersonifiedOptions as Ml, validateProfileMaterialization as Mm, defaultEdgeTraversalCap as Mn, loopCampaignDispatch as Mo, RetainedInteractiveBindingError as Mp, asAuthoredProfile as Mr, StopDecision as Ms, readWorkerSteerRequests as Mt, WaterfallSpan as Mu, WorkerInteractiveProviderSource as N, panel as Na, ObserveInput as Nc, createInProcessTransport as Nd, DelegateCodeArgs as Nf, StdioMcpServerSpec as Ni, ShapeBudget as Nl, worktreeCliProfileMaterialization as Nm, runGraph as Nn, loopDispatch as No, RetainedRunAdmissionError as Np, assessAuthoredProfile as Nr, StopRule as Ns, runCancelRequestFile as Nt, createWaterfallCollector as Nu, AuthoredHarness as O, InMemoryCorpus as Oa, HarvestCorpusOptions as Oc, normalizeAnalyzeOnSettle as Od, DelegationTaskQueue as Of, LocalMcpMaterialization as Oi, Persona as Ol, promptOnlyProfileMaterialization as Om, GraphResult as On, LoopDispatchOptions as Oo, JudgeError as Op, spendFromUsageEvents as Or, ProgressSample as Os, readRunCancellation as Ot, plateauLength as Ou, attachWorker as P, pipeline as Pa, ObserveOptions as Pc, createMcpServer as Pd, DelegateCodeConfig as Pf, connectStdioMcp as Pi, ShapeContext as Pl, runGraphWithTestBrain as Pn, superviseDispatch as Po, RetainedRunDispatchBindingError as Pp, defaultProfileRichnessThresholds as Pr, allOf as Ps, runCancellationFile as Pt, ANALYST_DEFINITION_BOUNDS as Pu, WorkspaceCommit as Q, BenchmarkStrategySummary as Qa, LoopUntil as Qc, DetachedSessionDelegateOptions as Qd, DelegationResultPayload as Qf, SandboxCapabilities as Qi, deterministicCompletion as Ql, effectiveConcurrency as Qn, retryPreSpawnRefusals as Qo, FileSpawnJournal as Qp, defaultExtractCandidate as Qr, pickBestDelivered as Qs, InMemoryRunContextOptions as Qt, DEFAULT_AWAIT_EVENT_TIMEOUT_MS as Qu, EVIDENCE_MAX_CHARS as R, CreateScopeAnalystOptions as Ra, AssertTraceDerivedFindings as Rc, DelegateArgs as Rd, DelegateResearchArgs as Rf, OpenSandboxRunOptions as Ri, LeaderboardBenchTask as Rl, analyzesFindingsReportPrompt as Rn, DeliverableResolutionInput as Ro, BusEvent as Rp, CheckOutcome as Rr, noProgressFor as Rs, supervisorWorkersDir as Rt, AnalystLensOutput as Ru, SuperviseSurfaceResult as S, builtinShapes as Sa, localSandboxClient as Sc, WorkerSpawnContext as Sd, DelegationArgs as Sf, AuthorStrategyOptions as Si, WidenSpec as Sl, controlProfileMaterialization as Sm, AgentGraph as Sn, depthStrategy as So, FileDelegationStoreOptions as Sp, BudgetPool as Sr, CoordinationOwnerId as Ss, WriteWorkerSteerOptions as St, AnytimeReport as Su, analystsFromRegistry as T, definePersona as Ta, InProcessPromptCtx as Tc, canonicalFindingEvent as Td, DelegationResumeDriver as Tf, authorStrategy as Ti, DefinePersonaInput as Tl, profileMaterializationAxes$1 as Tm, GraphEdge as Tn, sample as To, AgentEvalErrorCode as Tp, ReservationRejection as Tr, AllWorkersStalledOptions as Ts, legacySupervisorRunDir as Tt, anytimeReport as Tu, composeWorkerEvidence as U, registryScopeAnalyst as Ua, EqualKArm as Uc, validateDelegateArgs as Ud, DelegateUiAuditResult as Uf, openSandboxRun as Ui, LeaderboardScenario as Ul, formatPromptHandle as Un, supervise as Uo, createEventBus as Up, RepairStop as Ur, SupervisorSpanOutcome as Us, workerInboxFile as Ut, AuthoredAnalystLimits as Uu, WorkerEvidenceInput as V, buildSteerContext as Va, CorpusFilter as Vc, DelegateResult as Vd, DelegateUiAuditArgs as Vf, SandboxRunAbortError as Vi, LeaderboardIterationInfo as Vl, dumbContinuationFailPrompt as Vn, SuperviseRegistryTable as Vo, EventBus as Vp, CheckSource as Vr, SupervisorSpanAttributes as Vs, workerCancellationsDir as Vt, AnalyzeOnSettleRoute as Vu, settledWorkerOut as W, McpEndpoint as Wa, EqualKOnCost as Wc, FeedbackEvent as Wd, DelegateUiAuditRoute as Wf, BranchCapableBox as Wi, LeaderboardScore as Wl, kernelPromptRegistry as Wn, superviseWithTestBrain as Wo, WatchTraceOptions as Wp, StructuralRolloutConfig as Wr, SupervisorSpanRecorder as Ws, workerInboxFileFromEventDir as Wt, AuthorizeDownMessage as Wu, Shell as X, BenchmarkLift as Xa, FanoutWinnerSelector as Xc, CoderReviewer as Xd, DelegationProfile as Xf, createSandboxLineage as Xi, CompletionVerdict as Xl, DispatchUnit as Xn, isPreSpawnExecutorFailure as Xo, mapExecutorResult as Xp, compareCheckOutcomes as Xr, bestDelivered as Xs, writeWorkerSteer as Xt, CoordinationTools as Xu, GitWorkspaceOptions as Y, BenchmarkConfig as Ya, FanoutSynthesis as Yc, CoderReview as Yd, DelegationHistoryResult as Yf, SessionCapableBox as Yi, CompletionPolicy as Yl, DispatchStopReason as Yn, WorkerSpawnRetryPolicy as Yo, gateOnDeliverable as Yp, canDisplace as Yr, SupervisorFinalizer as Ys, workerSteersDir as Yt, CoordinationStats as Yu, Workspace as Z, BenchmarkReport as Za, FlatWidenGate as Zc, DelegateRunCtx as Zd, DelegationProgress as Zf, CriuCapableClient as Zi, completionAuthorizes as Zl, RollingDispatchOptions as Zn, resolveWorkerSpawnRetry as Zo, FileResultBlobStore as Zp, composeCheckSources as Zr, collectDelivered as Zs, InMemoryRunContext as Zt, CoordinationToolsOptions as Zu, boxSurfaceReader as _, profileOptimizerModelCall as _a, TerminalDecision as _c, SpawnPreflight as _d, createDetachedTurnResumeDriver as _f, StrategyEvolutionConfig as _i, Verify as _l, KnownAgentProfileMaterializationAxis as _m, WorkerInteractiveAdmission as _n, StrategyShotResult as _o, createDelegationTraceCollector as _p, ChatTransportTool as _r, resolveSupervisorProfile as _s, RunCancellation as _t, AuditIntentInput as _u, SandboxInstance$1 as a, startRetainedRunInEnvironment as aa, DriverProgressMark as ac, MakeWorkerAgent as ad, DelegationExecutor as af, selectBestIndex as ai, Pipeline as al, SpawnForestNode as am, SupervisorCleanupReceipt as an, AgenticSurface as ao, UiAuditLensFilter as ap, CoordinationMcpHandle as ar, ObserveSupervisorNodeEvent as as, analyzeTrace as at, LeaderboardOptions as au, AnalystAuthoring as b, equalKOnCost as ba, runAgentRounds as bc, SpawnRefusalCause as bd, parseDetachedSessionRef as bf, runStrategyEvolution as bi, WidenDecision as bl, ValidateProfileMaterializationOptions as bm, InPlaceCliExecutorOptions as bn, breadthStrategy as bo, DelegationStore as bp, chatWorkerSeam as br, CoordinationDeliveryEvidence as bs, WorkerSteerAcknowledgement as bt, auditIntent as bu, VerifierEnvironmentOptions as c, reconnectRetainedInteractiveRun as ca, DriverRepromptRefusal as cc, QuestionEscalationOutcome as cd, SiblingSandboxExecutorOptions as cf, ChampionPick as ci, RenderCorpusToInstructionsOptions as cl, materializeTreeView as cm, patchDelivered as cn, ArtifactHandle as co, CappedDelegationTrace as cp, driverAgent as cr, ResolvedSupervisorProfile as cs, captureWorkerTraceEvidence as ct, PairwiseVerdict as cu, HarvestSurfaceDiffsOptions as d, ResolveSandboxClientOptions as da, DriverUnmetContractDecision as dc, QuestionLevel as dd, DetachedSessionRefParts as df, EvolutionAuthor as di, ScopeWidenGate as dl, contentAddress as dm, createWorktreeCliExecutor as dn, ShotSpec as do, DelegationTraceCaps as dp, CodeModeRunner as dr, SupervisorNodeContext as ds, createRootHandle as dt, leaderboard as du, AcquireOptions as ea, DriverAttemptRecord as ec, DownMessageAuthorizationInput as ed, SettleDetachedCoderTurnOptions as ef, filterAuthoredAsserts as ei, LoopUntilState as el, InMemorySpawnJournal as em, createFileRunContext as en, Environment as eo, DelegationStatusArgs as ep, queueOf as er, CoordinationBinding as es, gitWorkspace as et, stopSentinel as eu, SurfaceDiff as f, resolveSandboxClient as fa, OnUnmetContract as fc, QuestionOption as fd, DetachedTurn as ff, EvolutionBandInfo as fi, SteerContext as fl, AGENT_PROFILE_MATERIALIZATION_AXES as fm, InteractiveWorkerEnvironment as fn, Strategy as fo, DelegationTraceCollector as fp, codeModeSupervisorTools as fr, SupervisorNodeContextSeed as fs, createSupervisor as ft, pairwiseSignificance as fu, WatchedSurface as g, profileChatClient as ga, TERMINAL_DECISIONS as gc, SettledWorker as gd, RunDetachedTurnOptions as gf, ReproductionCheck as gi, TrajectoryReportOptions as gl, DefineProfileMaterializationContractOptions as gm, workerFromInteractiveProvider as gn, StrategyResult as go, composeLoopTraceEmitters as gp, ChatTransportExecutorOptions as gr, assertCoordinationBinding as gs, RunCancelRequest as gt, renderPairwiseMarkdown as gu, SurfaceReader as h, promotionGate as ha, RunAgentRoundsOptions as hc, QuestionUrgency as hd, DriveTurnTick as hf, EvolutionReport as hi, TrajectoryReportFn as hl, CanonicalAgentProfileMaterializationAxis as hm, InteractiveWorkerResult as hn, StrategyMessage as ho, capDelegationTrace as hp, ChatSessionStore as hr, SupervisorToolInvocationContext as hs, settledToIteration as ht, renderLeaderboardSvg as hu, SandboxEvent$1 as i, startRetainedRun as ia, DriverContractState as ic, EscalateQuestion as id, settleDetachedCoderTurn as if, sandboxCheckRunner as ii, PanelVerdict as il, SpawnForestMissingTree as im, ProvisionedSupervisor as in, AgenticRunResult as io, ResearchOutputShape as ip, delegate as ir, DriveHarnessOwnerContext as is, TrajectoryAnalysis as it, Leaderboard as iu, AttachWorkerOptions as j, flatWidenGate as ja, harvestCorpus as jc, McpServer as jd, SubmitOutput as jf, McpToolDescriptor as ji, RunPersonified as jl, sandboxActProfileMaterialization as jm, TraversalContinuity as jn, SuperviseOptionsForDispatch as jo, RetainedInteractiveAdmissionError as jp, ProfileRichnessThresholds as jr, ProgressView as js, readWorkerSteerAcknowledgement as jt, WaterfallReport as ju, WorktreeFanoutOptions as k, renderCorpusToInstructions as ka, HarvestFailure as kc, parseAuthoredAnalystDefinition as kd, DelegationTaskQueueOptions as kf, MaterializeLocalMcpOptions as ki, PersonaContext as kl, promptResourceProfileMaterialization as km, RunGraphOptions as kn, LoopOptionsForDispatch as ko, NotFoundError as kp, AuthoredProfile as kr, ProgressTracker as ks, readWorkerCancelRequests as kt, renderAnytimeTable as ku, createVerifierEnvironment as l, recoverRetainedInteractiveRun as la, DriverRetryPolicy as lc, QuestionEscalationRecord as ld, createFleetWorkspaceExecutor as lf, ChampionPolicy as li, ScopeAnalyst as ll, pendingWaits as lm, WorktreeCliExecutorOptions as ln, CorpusReadbackOptions as lo, DELEGATION_TRACE_MAX_BYTES as lp, finalizeBestDelivered as lr, SupervisorAgentDeps as ls, parseWorkerToolTraceArtifact as lt, ProfileKeyOf as lu, SurfaceReadOutcome as m, PromotionVerdict as ma, defaultUnmetContractSteer as mc, QuestionRecord as md, DriveTurnCapableBox as mf, EvolutionGeneration as mi, TrajectoryReport as ml, AssertProfileMaterializationOptions as mm, InteractiveWorkerOptions as mn, StrategyCtx as mo, buildDelegationTraceSpans as mp, ChatCompletionsTransport as mr, SupervisorToolDescriptor as ms, createScope as mt, renderLeaderboardMarkdown as mu, AnalystFinding$1 as n, reconnectRetainedRun as na, DriverAttemptsExhaustedError as nc, DownMessageDeliveryOutcome as nd, coderTaskFromArgs as nf, officialChecksFromMeta as ni, PanelJudge as nl, SpawnForestEvent as nm, ProvisionSupervisorConnection as nn, runBenchmark as no, FeedbackRating as np, DelegateOptions as nr, CoordinationVerbs as ns, localShell as nt, GroupOf as nu, computeFindingId$1 as o, ClaimRetainedInteractiveControlOptions as oa, DriverReentry as oc, Question as od, FleetHandle as of, structuralRollout as oi, PipelineStage as ol, SpawnForestTree as om, provisionSupervisor as on, AgenticTask as oo, UiAuditorDelegationOutput as op, serveCoordinationMcp as or, ResolveDriveHarness as os, WORKER_TOOL_TRACE_SCHEMA_VERSION as ot, LeaderboardRow as ou, SurfaceReadBox as p, PromotionGateOptions as pa, classifyDriverFailure as pc, QuestionPolicy as pd, DetachedTurnResumeDriverOptions as pf, EvolutionCandidate as pi, TrajectoryNode as pl, AgentProfileMaterializationAxis as pm, InteractiveWorkerKeyInput as pn, StrategyArtifacts as po, DelegationTraceSpan as pp, unsafeInProcessRunner as pr, SupervisorProfile as ps, ScopeArgs as pt, renderLeaderboardHtml as pu, copyUntrackedIntoClone as q, sanitizeMcpToolSchema as qa, Fanout as qc, eventToSnapshot as qd, DelegationHistoryArgs as qf, SandboxLineage as qi, CompletionAnalyst as ql, ConcurrencyCaps as qn, WorkerSpawnRetryAttempt as qo, DeliverableSpec as qp, StructuralRolloutResult as qr, FinalizeContext as qs, workerSteerRequestFile as qt, ContinuityMode as qu, CreateSandboxOptions$1 as r, recoverRetainedRun as ra, DriverBudgetReadout as rc, DownMessageEvent as rd, detachedSessionDelegate as rf, resolveEntrySymbol as ri, PanelSpec as rl, SpawnForestInDoubtNode as rm, ProvisionSupervisorRequest as rn, AgenticOptions as ro, FeedbackRefersTo as rp, defaultDelegateBudget as rr, DriveHarness as rs, runInWorkspace as rt, Interval as ru, makeFinding$1 as s, claimRetainedInteractiveControl as sa, DriverRepromptPolicy as sc, QuestionDecision as sd, FleetWorkspaceExecutorOptions as sf, visibleCheckScore as si, RenderCorpusToInstructions as sl, loadSpawnForest as sm, PatchDeliverableOptions as sn, AgenticTool as so, delegationProfiles as sp, DriverAgentOptions as sr, ResolveSupervisorTools as ss, WorkerToolTraceArtifact as st, PairwiseOptions as su, AgentProfile$2 as t, acquireSandbox as ta, DriverAttemptStop as tc, DownMessageDeliveryAttempt as td, UiAuditorDelegate as tf, modelAuthoredChecks as ti, Panel as tl, SpawnForest as tm, createInMemoryRunContext as tn, printBenchmarkReport as to, DelegationStatusResult as tp, rollingDispatch as tr, CoordinationToolFace as ts, jjWorkspace as tt, AxisScoresOf as tu, BoxSurfaceReaderOptions as u, startRetainedInteractiveRun as ua, DriverUnmetContractContext as uc, QuestionEscalationTarget as ud, createSiblingSandboxExecutor as uf, EvolutionArchiveNode as ui, ScopeAnalyzeInput as ul, replaySpawnTree as um, WorktreePatchArtifact as un, RunAgenticOptions as uo, DELEGATION_TRACE_MAX_SPANS as up, CodeModeOptions as ur, SupervisorAgentTestDeps as us, workerTraceAnalysisStore as ut, ScoreOf as uu, fsSurfaceReader as v, assertModelAllowed as va, defaultSelectWinner as vc, SpawnPreflightContext as vd, detachedTurnEvents as vf, discriminatingMeans as vi, VerifySpec as vl, ProfileMaterializationContract as vm, readWorkerInteractiveAdmissions as vn, SurfaceScore as vo, DelegationPersistenceError as vp, ChatWorkerSeamOptions as vr, supervisorAgent as vs, WorkerCancelRequest as vt, AuditIntentOptions as vu, SurfaceWorkerOut as w, registerShape as wa, InProcessOnPrompt as wc, analystToolGroupNames as wd, DelegationResumeContext as wf, assertStrategyContract as wi, DefinePersona as wl, fullProfileMaterialization as wm, EdgeTraversal as wn, runAgentic as wo, AgentEvalError$1 as wp, BudgetReadout as wr, PriorCoordination as ws, cancelWorker as wt, AnytimeTaskCurve as wu, SuperviseSurfaceOptions as x, trajectoryReport as xa, LocalSandboxClientOptions as xc, WorkerResumeContext as xd, runDetachedTurn as xf, selectChampion as xi, WidenLineage as xl, assertProfileMaterialization as xm, createInPlaceCliExecutor as xn, defineStrategy as xo, FileDelegationStore as xp, createChatSessionStore as xr, CoordinationLog as xs, WorkerSteerRequest as xt, defaultAuditorInstruction as xu, harvestSurfaceDiffs as y, assertProfileModelsAllowed as ya, isTerminalDecision as yc, SpawnRefusal as yd, formatDetachedSessionRef as yf, pickChampion as yi, Widen as yl, ProfileMaterializationIssue as ym, workerInteractiveAdmissionFile as yn, adaptiveRefine as yo, DelegationStateCorruptError as yp, chatTransportExecutor as yr, supervisorAgentWithTestBrain as ys, WorkerCancellation as yt, IntentAudit as yu, NOTE_MAX_CHARS as z, RegistryAnalyzeProjection as za, CombinatorShape as zc, DelegateError as zd, DelegateResearchConfig as zf, OpenSandboxRunPromptOptions as zi, LeaderboardBenchmarkAdapter as zl, createPromptRegistry as zn, SuperviseOptions as zo, BusRecord as zp, CheckRunContext as zr, plateau as zs, workerCancelRequestsFile as zt, AnalystRegistry as zu };
9588
+ //# sourceMappingURL=index-BEPjOPwH.d.ts.map
@@ -1,6 +1,6 @@
1
- import { Bo as SuperviseOptions, Jp as DeliverableSpec, ms as SupervisorProfile } from "./index-DV1lzp9p.js";
2
- import { Z as SupervisedResult, i as Budget } from "./types-CGez_ZHQ.js";
3
- import { c as ExecutorConfig } from "./runtime-V91N6sPc.js";
1
+ import { ps as SupervisorProfile, qp as DeliverableSpec, zo as SuperviseOptions } from "./index-BEPjOPwH.js";
2
+ import { Z as SupervisedResult, i as Budget } from "./types-B_pNTBjK.js";
3
+ import { c as ExecutorConfig } from "./runtime-B8x43nGP.js";
4
4
  import { y as AgentCandidateOutputArtifactPort } from "./types-1s_29INY.js";
5
5
  import { i as AgentImprovementActivationTransition, n as AgentImprovementActivationResultStore, t as AgentImprovementActivationReconciliation } from "./activation-DyWB0K6E.js";
6
6
  import { AgentCandidateBundle, AgentCandidateCapturedArtifact, AgentCandidateKnowledge } from "@tangle-network/agent-interface";
@@ -135,4 +135,4 @@ declare function runKnowledgeImprovementJob(options: RunKnowledgeImprovementJobO
135
135
  declare function buildKnowledgeImprovementExperimentBundles(bundle: AgentCandidateBundle, knowledge: KnowledgeImprovementCandidatePair): KnowledgeImprovementExperimentBundles;
136
136
  //#endregion
137
137
  export { KnowledgeImprovementActivationExecutor as C, CreateKnowledgeImprovementActivationExecutorOptions as S, SupervisedKnowledgeUpdater as _, KnowledgeImprovementJobResult as a, knowledgeReadinessDeliverable as b, createAgentKnowledgeReadinessCheck as c, KnowledgeReadinessCheckInput as d, KnowledgeReadinessCheckResult as f, SupervisedKnowledgeUpdateResult as g, SupervisedKnowledgeUpdateOptions as h, KnowledgeImprovementJobMeasurement as i, runKnowledgeImprovementJob as l, SupervisedKnowledgeUpdateInput as m, KnowledgeImprovementCandidatePair as n, RunKnowledgeImprovementJobOptions as o, RESEARCH_SUPERVISOR_SYSTEM_PROMPT as p, KnowledgeImprovementExperimentBundles as r, buildKnowledgeImprovementExperimentBundles as s, AgentKnowledgeReadinessCheckOptions as t, KnowledgeReadinessCheck as u, createSupervisedKnowledgeUpdater as v, createKnowledgeImprovementActivationExecutor as w, runSupervisedKnowledgeUpdate as x, formatSupervisedKnowledgeTask as y };
138
- //# sourceMappingURL=index-Vz-13VZq.d.ts.map
138
+ //# sourceMappingURL=index-CrBgLCIf.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { V as AgentExecutionBackend, it as RuntimeSessionStore } from "./types-BdolQ6Zi.js";
2
- import { p as ExecutorFactory } from "./types-CGez_ZHQ.js";
2
+ import { p as ExecutorFactory } from "./types-B_pNTBjK.js";
3
3
  import { AgentProfile } from "@tangle-network/agent-interface";
4
4
  import { AgentProfile as AgentProfile$1, MaximumCharge } from "@tangle-network/agent-eval";
5
5
  import { ProfileDispatchFn, Scenario } from "@tangle-network/agent-eval/campaign";
@@ -688,4 +688,4 @@ declare function turnId(runId: string, index: number, speaker: string): string;
688
688
  declare function slugifySpeaker(speaker: string): string;
689
689
  //#endregion
690
690
  export { sleep as $, RunConversationOptions as A, buildForwardHeaders as B, ConversationResult as C, HaltPredicate as D, HaltContext as E, InMemoryConversationJournal as F, CircuitBreakerState as G, readDepth as H, DEFAULT_MAX_DEPTH as I, RetryBackoff as J, CircuitOpenError as K, FORWARD_HEADERS as L, ConversationJournal as M, ConversationJournalEntry as N, HaltReason as O, FileConversationJournal as P, makePerAttemptSignal as Q, ForwardHeaderName as R, ConversationPolicy as S, ConversationTurn as T, BackendCallPolicy as U, isDepthExceeded as V, CircuitBreakerConfig as W, computeBackoff as X, RetryableErrorPredicate as Y, defaultIsRetryable as Z, createConversationBackend as _, RunPersonaConfig as a, ConversationDriveState as b, runPersonaDispatch as c, D1DatabaseLike as d, createProfileExecutionBackend as et, D1StmtLike as f, defineConversation as g, d1ToSqlAdapter as h, PersonaDriver as i, TurnOrder as j, HaltSignal as k, runConversation as l, SqlConversationJournal as m, turnId as n, RunPersonaConversationOptions as o, SqlAdapter as p, DeadlineExceededError as q, PersonaConversationResult as r, runPersonaConversation as s, slugifySpeaker as t, runConversationStream as u, AuthSource as v, ConversationStreamEvent as w, ConversationParticipant as x, Conversation as y, PropagatedHeaders as z };
691
- //# sourceMappingURL=index-RM2oRI9s.d.ts.map
691
+ //# sourceMappingURL=index-DO6DHgRP.d.ts.map
package/dist/index.d.ts CHANGED
@@ -1,18 +1,18 @@
1
1
  import { $ as OpenAIChatToolChoice, A as RuntimeRunCompleteInput, B as AgentBackendInput, F as RuntimeRunRow, G as AgentTaskContext, H as AgentKnowledgeProvider, I as RuntimeRunStatus, J as AgentTaskStatus, K as AgentTaskRunResult, L as startRuntimeRun, M as RuntimeRunHandle, N as RuntimeRunOptions, P as RuntimeRunPersistenceAdapter, Q as OpenAIChatTool, R as AgentAdapter, U as AgentRuntimeEvent, V as AgentExecutionBackend, W as AgentRuntimeEventSink, X as KnowledgeReadinessDecision, Y as BackendErrorDetail, Z as OpenAIChatResponseFormat, at as RuntimeStreamEvent, et as RunAgentTaskOptions, it as RuntimeSessionStore, j as RuntimeRunCost, m as LoopResult, nt as RuntimeCanonicalStreamEvent, q as AgentTaskSpec, r as Driver, rt as RuntimeSession, tt as RunAgentTaskStreamOptions, z as AgentBackendContext } from "./types-BdolQ6Zi.js";
2
2
  import { i as SurfaceImprovementEdit } from "./improvement-adapter-D5gwwoXQ.js";
3
3
  import { o as ImprovementProposalSource } from "./types-zWfqDjeL.js";
4
- import { Ap as NotFoundError, Bu as AnalystRegistry, Dp as BackendTransportError, Ep as AgentEvalErrorCode, Fp as RetainedRunDispatchBindingError, Ip as RuntimeRunStateError, Js as FinalizeContext, Lp as ValidationError, Mp as RetainedInteractiveAdmissionError, Np as RetainedInteractiveBindingError, Op as ConfigError, Pp as RetainedRunAdmissionError, Ru as AnalystKind, Tp as AgentEvalError, Uu as AuthoredAnalystDefinition, Xs as SupervisorFinalizer, Yu as CoordinationEvent, jp as PlannerError, kp as JudgeError, qr as StructuralRolloutPolicy } from "./index-DV1lzp9p.js";
4
+ import { Ap as PlannerError, Dp as ConfigError, Ep as BackendTransportError, Fp as RuntimeRunStateError, Hu as AuthoredAnalystDefinition, Ip as ValidationError, Ju as CoordinationEvent, Kr as StructuralRolloutPolicy, Lu as AnalystKind, Mp as RetainedInteractiveBindingError, Np as RetainedRunAdmissionError, Op as JudgeError, Pp as RetainedRunDispatchBindingError, Tp as AgentEvalErrorCode, Ys as SupervisorFinalizer, jp as RetainedInteractiveAdmissionError, kp as NotFoundError, qs as FinalizeContext, wp as AgentEvalError, zu as AnalystRegistry } from "./index-BEPjOPwH.js";
5
5
  import { a as RuntimeHookErrorContext, c as RuntimeHookTarget, d as defineRuntimeHooks, f as notifyRuntimeDecisionPoint, i as RuntimeHookContext, l as RuntimeHooks, n as RuntimeDecisionKind, o as RuntimeHookEvent, p as notifyRuntimeHookEvent, r as RuntimeDecisionPoint, s as RuntimeHookPhase, t as RuntimeDecisionEvidenceRef, u as composeRuntimeHooks } from "./runtime-hooks-Bj6wJHlH.js";
6
- import { $t as sanitizeAgentRuntimeEvent, A as ProviderModelAttemptEvidence, At as OtelExporter, B as Scope, Bt as loopEventToOtelSpan, Ct as EvalRunGeneration, Dt as LoopSpanNode, Et as INTELLIGENCE_WIRE_VERSION, Ft as buildRuntimeEventOtelSpans, Gt as RuntimeStreamEventCollector, Ht as padTraceId, It as createOpenInferenceFileExporter, J as SpendChannel, Jt as RuntimeTelemetryOptions, Kt as RuntimeStreamEventSink, L as RootProviderModelEvidence, Lt as createOtelExporter, Mt as RuntimeEventOtelOptions, Nt as buildLoopOtelSpans, Ot as OtelAttribute, Pt as buildLoopSpanNodes, Q as Supervisor, Qt as createRuntimeStreamEventCollector, Rt as exportEvalRuns, St as EvalRunEvent, Tt as EvalRunsExportResult, Ut as toOtelAttributes, V as Settled, Vt as padSpanId, Wt as RuntimeEventCollector, Xt as SanitizedKnowledgeRequirement, Y as SpendGap, Yt as SanitizedKnowledgeReadinessReport, Z as SupervisedResult, Zt as createRuntimeEventCollector, _ as ExecutorRegistry, en as sanitizeKnowledgeReadinessReport, et as TokenUsageProvenance, i as Budget, j as ProviderModelExecutionEvidence, jt as OtelSpan, kt as OtelExportConfig, lt as WorkerTraceEvidence, q as Spend, qt as RuntimeStreamEventSummary, r as AgentSpec, s as Executor, tn as sanitizeRuntimeStreamEvent, ut as WorkerTraceUnavailableReason, wt as EvalRunsExportConfig, zt as generateSpanId } from "./types-CGez_ZHQ.js";
7
- import { c as Redactor } from "./stream-agent-turn-1ahpdeIo.js";
8
- import { ct as WorktreeCheckRunner } from "./runtime-V91N6sPc.js";
6
+ import { $t as sanitizeAgentRuntimeEvent, A as ProviderModelAttemptEvidence, At as OtelExporter, B as Scope, Bt as loopEventToOtelSpan, Ct as EvalRunGeneration, Dt as LoopSpanNode, Et as INTELLIGENCE_WIRE_VERSION, Ft as buildRuntimeEventOtelSpans, Gt as RuntimeStreamEventCollector, Ht as padTraceId, It as createOpenInferenceFileExporter, J as SpendChannel, Jt as RuntimeTelemetryOptions, Kt as RuntimeStreamEventSink, L as RootProviderModelEvidence, Lt as createOtelExporter, Mt as RuntimeEventOtelOptions, Nt as buildLoopOtelSpans, Ot as OtelAttribute, Pt as buildLoopSpanNodes, Q as Supervisor, Qt as createRuntimeStreamEventCollector, Rt as exportEvalRuns, St as EvalRunEvent, Tt as EvalRunsExportResult, Ut as toOtelAttributes, V as Settled, Vt as padSpanId, Wt as RuntimeEventCollector, Xt as SanitizedKnowledgeRequirement, Y as SpendGap, Yt as SanitizedKnowledgeReadinessReport, Z as SupervisedResult, Zt as createRuntimeEventCollector, _ as ExecutorRegistry, en as sanitizeKnowledgeReadinessReport, et as TokenUsageProvenance, i as Budget, j as ProviderModelExecutionEvidence, jt as OtelSpan, kt as OtelExportConfig, lt as WorkerTraceEvidence, q as Spend, qt as RuntimeStreamEventSummary, r as AgentSpec, s as Executor, tn as sanitizeRuntimeStreamEvent, ut as WorkerTraceUnavailableReason, wt as EvalRunsExportConfig, zt as generateSpanId } from "./types-B_pNTBjK.js";
7
+ import { c as Redactor } from "./stream-agent-turn-B-gtBlOy.js";
8
+ import { ct as WorktreeCheckRunner } from "./runtime-B8x43nGP.js";
9
9
  import { A as AgentCandidateWorkspacePort, B as ResolvedAgentCandidateContainer, C as AgentCandidateProtectedModelSettlement, D as AgentCandidateRunFinalization, E as AgentCandidateRepositoryPort, F as PreparedAgentCandidateExecution, H as VerifiedAgentCandidateTaskOutcome, I as PreparedAgentCandidateInstruction, L as PreparedAgentCandidateKnowledge, M as CANDIDATE_TRACE_TAGS, N as CanonicalCandidateDocument, O as AgentCandidateTaskExecution, P as PersistedTaskOutcomeEvidence, R as PreparedAgentCandidateLaunch, S as AgentCandidateProtectedModelReservation, T as AgentCandidateProtectedRunCapture, U as AgentCandidateExecutionRoots, V as VerifiedAgentCandidate, _ as AgentCandidateModelLimits, a as AgentCandidateExecutionPorts, b as AgentCandidateOutputPurpose, c as AgentCandidateExecutorPort, d as AgentCandidateExecutorStopRequest, f as AgentCandidateExecutorTaskOutcomeCapture, g as AgentCandidateMemoryResetResult, h as AgentCandidateMemoryPort, i as AgentCandidateContainerPort, j as CANDIDATE_TRACE_ENV, k as AgentCandidateVerificationPorts, l as AgentCandidateExecutorProfileFile, m as AgentCandidateExecutorWorkspaceInput, n as AgentCandidateBenchmarkGraderIdentity, o as AgentCandidateExecutorFinalCapture, p as AgentCandidateExecutorWorkspaceFile, r as AgentCandidateBenchmarkGraderPort, s as AgentCandidateExecutorMemoryCapture, t as AgentCandidateArtifactPort, u as AgentCandidateExecutorRequest, v as AgentCandidateModelPort, w as AgentCandidateProtectedModelSettlementCall, x as AgentCandidateProtectedModelActivation, y as AgentCandidateOutputArtifactPort, z as PreparedAgentCandidateTrace } from "./types-1s_29INY.js";
10
10
  import { A as ExactProcessCandidateExecutorOptions, B as buildAgentCandidateBundle, C as RunProtectedAgentCandidateModelGrantOptions, D as CANDIDATE_KNOWLEDGE_RETRIEVAL_CONFIG_ENV, E as persistCandidateOutputArtifact, F as FileAgentCandidateExecutionClaimStoreOptions, G as candidateWorkspaceManifest, H as sealAgentCandidateBundle, I as AgentCandidateCodeSource, K as scanMaterializedWorkspaceManifest, L as AgentCandidateCodeSurfaceSource, M as DisposePreparedAgentCandidateOptions, N as disposePreparedAgentCandidateExecution, O as CANDIDATE_KNOWLEDGE_ROOT_ENV, P as FileAgentCandidateExecutionClaimStore, R as AgentCandidateProfileSource, S as ProtectedAgentCandidateModelGrantContext, T as runProtectedAgentCandidateModelGrant, U as WorkspaceScanLimits, V as AgentCandidateBundleInput, W as WorkspaceScanOptions, _ as AGENT_CANDIDATE_EXECUTION_SUPPORT, a as WorkspaceTreeEntryPolicy, b as recoverExpiredAgentCandidateExecution, c as describeWorkspaceTree, d as CaptureAgentCandidateWorkspaceOptions, f as CapturedAgentCandidateWorkspace, g as createAgentCandidateWorkspacePort, h as captureAgentCandidateWorkspaceFiles, i as WorkspaceTreeDescriptor, j as exactProcessProviderAsCandidateExecutor, k as candidateKnowledgeExecutionPaths, l as seedWorkspaceTree, m as captureAgentCandidateWorkspace, n as SeedWorkspaceTreeInput, o as WorkspaceTreeExclusion, p as CreateAgentCandidateWorkspacePortOptions, q as verifyMaterializedWorkspace, r as WorkspaceTreeAlgorithm, s as WorkspaceTreeExclusionReason, t as DescribeWorkspaceTreeOptions, u as AgentCandidateWorkspaceArchiveLimits, v as verifyAgentCandidateBundle, w as RunProtectedAgentCandidateModelGrantResult, x as AgentCandidateModelGrantRunReservationInput, y as RecoverExpiredAgentCandidateOptions, z as BuildAgentCandidateBundleInput } from "./index-CUosKU4N.js";
11
11
  import { A as AgentCandidateExecutionPhase, B as AgentCandidatePreparationEvidence, C as AgentCandidateExecutionClaim, D as AgentCandidateExecutionFailureClass, E as AgentCandidateExecutionCleanupHandles, F as AgentCandidateExecutionTerminalResult, I as AgentCandidateRetryRejection, L as InMemoryAgentCandidateExecutionClaimStore, M as AgentCandidateExecutionRecoveryEvidence, N as AgentCandidateExecutionStageResult, O as AgentCandidateExecutionFinishResult, P as AgentCandidateExecutionTerminalRecord, R as InMemoryAgentCandidateExecutionClaimStoreOptions, S as AgentCandidateExecutionAttemptRef, T as AgentCandidateExecutionClaimStore, _ as PrepareAgentCandidateExecutionOptions, a as AgentCandidateModelGrantSettleInput, b as executePreparedAgentCandidate, c as agentCandidateProfileAsAgentProfile, d as freezeGenericAgentCandidateProfile, f as omitUndefinedObjectFields, g as parseExactCandidateProfile, h as parseExactAgentProfileDiff, i as AgentCandidateModelGrantReserveInput, j as AgentCandidateExecutionPhaseResult, k as AgentCandidateExecutionLease, l as applyExactAgentProfileDiff, m as parseExactAgentProfile, n as AgentCandidateModelGrantClient, o as CreateProtectedAgentCandidateModelPortOptions, r as AgentCandidateModelGrantReservation, s as createProtectedAgentCandidateModelPort, t as AgentCandidateModelGrantActivateInput, u as assertCandidateProfileBinding, v as prepareAgentCandidateExecution, w as AgentCandidateExecutionClaimResult, x as AgentCandidateExecutionAttemptRecord, y as ExecutePreparedAgentCandidateOptions, z as candidateExecutionClaim } from "./protected-model-port-BtXp2dUY.js";
12
- import { $ as sleep, A as RunConversationOptions, B as buildForwardHeaders, C as ConversationResult, D as HaltPredicate, E as HaltContext, F as InMemoryConversationJournal, G as CircuitBreakerState, H as readDepth, I as DEFAULT_MAX_DEPTH, J as RetryBackoff, K as CircuitOpenError, L as FORWARD_HEADERS, M as ConversationJournal, N as ConversationJournalEntry, O as HaltReason, P as FileConversationJournal, Q as makePerAttemptSignal, R as ForwardHeaderName, S as ConversationPolicy, T as ConversationTurn, U as BackendCallPolicy, V as isDepthExceeded, W as CircuitBreakerConfig, X as computeBackoff, Y as RetryableErrorPredicate, Z as defaultIsRetryable, _ as createConversationBackend, a as RunPersonaConfig, b as ConversationDriveState, c as runPersonaDispatch, d as D1DatabaseLike, et as createProfileExecutionBackend, f as D1StmtLike, g as defineConversation, h as d1ToSqlAdapter, i as PersonaDriver, j as TurnOrder, k as HaltSignal, l as runConversation, m as SqlConversationJournal, n as turnId, o as RunPersonaConversationOptions, p as SqlAdapter, q as DeadlineExceededError, r as PersonaConversationResult, s as runPersonaConversation, t as slugifySpeaker, u as runConversationStream, v as AuthSource, w as ConversationStreamEvent, x as ConversationParticipant, y as Conversation, z as PropagatedHeaders } from "./index-RM2oRI9s.js";
13
- import { $ as CandidateGenerator, A as ImprovementProfileCandidate, B as ImprovementRefusedProfilePopulationCandidate, C as ImproveRuntimeCodeGeneratorOptions, D as ImprovementCandidate, E as ImproveSurface, F as ImprovementProfilePopulationCandidate, G as AgenticGeneratorShotDisposition, H as ReadonlyAgentProfile, I as ImprovementProfilePopulationCandidateSource, J as Verifier, K as AgenticGeneratorShotExecution, L as ImprovementProfilePopulationLineage, M as ImprovementProfileCandidatePopulationAvailable, N as ImprovementProfileCandidatePopulationUnavailable, O as ImprovementCodeCandidate, P as ImprovementProfilePopulationArtifactSource, Q as defaultBuildPrompt, R as ImprovementProfilePopulationLineageNode, S as ImproveResult, T as ImproveSkillsOptions, U as AgenticGeneratorExecutorForWorktree, V as DeepReadonly, W as AgenticGeneratorOptions, X as agenticGenerator, Y as VerifyResult, Z as commandVerifier, _ as ImproveOptimizationRunOptions, a as ImproveCodeOptions, b as ImproveProfileComponents, c as ImproveCost, d as ImproveMethodContext, f as ImproveMethodFactory, g as ImproveMethodSource, h as ImproveMethodResult, i as ImproveCodeBaseOptions, j as ImprovementProfileCandidatePopulation, k as ImprovementMaterializedProfilePopulationCandidate, l as ImproveCustomCodeGeneratorOptions, m as ImproveMethodOptions, n as ImproveCandidateValidationInput, o as ImproveCodeResult, p as ImproveMethodLineage, q as AgenticGeneratorShotReceipt, r as ImproveCandidateValidator, s as ImproveCodeRunOptions, t as improve, u as ImproveLineage, v as ImproveOptions, w as ImproveScenarioPartitions, x as ImproveProfileSurface, y as ImproveProfileAgent, z as ImprovementProfilePopulationObservationSource } from "./improve-Bn1zpWHF.js";
14
- import { C as KnowledgeImprovementActivationExecutor, S as CreateKnowledgeImprovementActivationExecutorOptions, _ as SupervisedKnowledgeUpdater, a as KnowledgeImprovementJobResult, b as knowledgeReadinessDeliverable, c as createAgentKnowledgeReadinessCheck, d as KnowledgeReadinessCheckInput, f as KnowledgeReadinessCheckResult, g as SupervisedKnowledgeUpdateResult, h as SupervisedKnowledgeUpdateOptions, i as KnowledgeImprovementJobMeasurement, l as runKnowledgeImprovementJob, m as SupervisedKnowledgeUpdateInput, n as KnowledgeImprovementCandidatePair, o as RunKnowledgeImprovementJobOptions, p as RESEARCH_SUPERVISOR_SYSTEM_PROMPT, r as KnowledgeImprovementExperimentBundles, s as buildKnowledgeImprovementExperimentBundles, t as AgentKnowledgeReadinessCheckOptions, u as KnowledgeReadinessCheck, v as createSupervisedKnowledgeUpdater, w as createKnowledgeImprovementActivationExecutor, x as runSupervisedKnowledgeUpdate, y as formatSupervisedKnowledgeTask } from "./index-Vz-13VZq.js";
15
- import { _ as researchLoopRunner, a as DELEGATED_LOOP_MODES, c as DelegatedLoopResult, d as ResearchLoopRunnerOptions, f as RunDelegatedLoopOptions, g as isDelegatedLoopMode, h as auditLoopRunner, i as runLoopRunnerCli, l as DelegatedLoopRunner, m as WorktreeLoopRunnerOptions, n as LoopRunnerCliResult, o as DelegatedLoopMode, p as VetoedFact, r as parseLoopRunnerArgv, s as DelegatedLoopRegistry, t as LoopRunnerCliArgs, u as ResearchLoopResult, v as runDelegatedLoop, y as worktreeLoopRunner } from "./loop-runner-bin-CGraqNiA.js";
12
+ import { $ as sleep, A as RunConversationOptions, B as buildForwardHeaders, C as ConversationResult, D as HaltPredicate, E as HaltContext, F as InMemoryConversationJournal, G as CircuitBreakerState, H as readDepth, I as DEFAULT_MAX_DEPTH, J as RetryBackoff, K as CircuitOpenError, L as FORWARD_HEADERS, M as ConversationJournal, N as ConversationJournalEntry, O as HaltReason, P as FileConversationJournal, Q as makePerAttemptSignal, R as ForwardHeaderName, S as ConversationPolicy, T as ConversationTurn, U as BackendCallPolicy, V as isDepthExceeded, W as CircuitBreakerConfig, X as computeBackoff, Y as RetryableErrorPredicate, Z as defaultIsRetryable, _ as createConversationBackend, a as RunPersonaConfig, b as ConversationDriveState, c as runPersonaDispatch, d as D1DatabaseLike, et as createProfileExecutionBackend, f as D1StmtLike, g as defineConversation, h as d1ToSqlAdapter, i as PersonaDriver, j as TurnOrder, k as HaltSignal, l as runConversation, m as SqlConversationJournal, n as turnId, o as RunPersonaConversationOptions, p as SqlAdapter, q as DeadlineExceededError, r as PersonaConversationResult, s as runPersonaConversation, t as slugifySpeaker, u as runConversationStream, v as AuthSource, w as ConversationStreamEvent, x as ConversationParticipant, y as Conversation, z as PropagatedHeaders } from "./index-DO6DHgRP.js";
13
+ import { $ as CandidateGenerator, A as ImprovementProfileCandidate, B as ImprovementRefusedProfilePopulationCandidate, C as ImproveRuntimeCodeGeneratorOptions, D as ImprovementCandidate, E as ImproveSurface, F as ImprovementProfilePopulationCandidate, G as AgenticGeneratorShotDisposition, H as ReadonlyAgentProfile, I as ImprovementProfilePopulationCandidateSource, J as Verifier, K as AgenticGeneratorShotExecution, L as ImprovementProfilePopulationLineage, M as ImprovementProfileCandidatePopulationAvailable, N as ImprovementProfileCandidatePopulationUnavailable, O as ImprovementCodeCandidate, P as ImprovementProfilePopulationArtifactSource, Q as defaultBuildPrompt, R as ImprovementProfilePopulationLineageNode, S as ImproveResult, T as ImproveSkillsOptions, U as AgenticGeneratorExecutorForWorktree, V as DeepReadonly, W as AgenticGeneratorOptions, X as agenticGenerator, Y as VerifyResult, Z as commandVerifier, _ as ImproveOptimizationRunOptions, a as ImproveCodeOptions, b as ImproveProfileComponents, c as ImproveCost, d as ImproveMethodContext, f as ImproveMethodFactory, g as ImproveMethodSource, h as ImproveMethodResult, i as ImproveCodeBaseOptions, j as ImprovementProfileCandidatePopulation, k as ImprovementMaterializedProfilePopulationCandidate, l as ImproveCustomCodeGeneratorOptions, m as ImproveMethodOptions, n as ImproveCandidateValidationInput, o as ImproveCodeResult, p as ImproveMethodLineage, q as AgenticGeneratorShotReceipt, r as ImproveCandidateValidator, s as ImproveCodeRunOptions, t as improve, u as ImproveLineage, v as ImproveOptions, w as ImproveScenarioPartitions, x as ImproveProfileSurface, y as ImproveProfileAgent, z as ImprovementProfilePopulationObservationSource } from "./improve-COGzLCiY.js";
14
+ import { C as KnowledgeImprovementActivationExecutor, S as CreateKnowledgeImprovementActivationExecutorOptions, _ as SupervisedKnowledgeUpdater, a as KnowledgeImprovementJobResult, b as knowledgeReadinessDeliverable, c as createAgentKnowledgeReadinessCheck, d as KnowledgeReadinessCheckInput, f as KnowledgeReadinessCheckResult, g as SupervisedKnowledgeUpdateResult, h as SupervisedKnowledgeUpdateOptions, i as KnowledgeImprovementJobMeasurement, l as runKnowledgeImprovementJob, m as SupervisedKnowledgeUpdateInput, n as KnowledgeImprovementCandidatePair, o as RunKnowledgeImprovementJobOptions, p as RESEARCH_SUPERVISOR_SYSTEM_PROMPT, r as KnowledgeImprovementExperimentBundles, s as buildKnowledgeImprovementExperimentBundles, t as AgentKnowledgeReadinessCheckOptions, u as KnowledgeReadinessCheck, v as createSupervisedKnowledgeUpdater, w as createKnowledgeImprovementActivationExecutor, x as runSupervisedKnowledgeUpdate, y as formatSupervisedKnowledgeTask } from "./index-CrBgLCIf.js";
15
+ import { _ as researchLoopRunner, a as DELEGATED_LOOP_MODES, c as DelegatedLoopResult, d as ResearchLoopRunnerOptions, f as RunDelegatedLoopOptions, g as isDelegatedLoopMode, h as auditLoopRunner, i as runLoopRunnerCli, l as DelegatedLoopRunner, m as WorktreeLoopRunnerOptions, n as LoopRunnerCliResult, o as DelegatedLoopMode, p as VetoedFact, r as parseLoopRunnerArgv, s as DelegatedLoopRegistry, t as LoopRunnerCliArgs, u as ResearchLoopResult, v as runDelegatedLoop, y as worktreeLoopRunner } from "./loop-runner-bin-Clc5IAwu.js";
16
16
  import { n as mcpToolsForRuntimeMcpSubset, t as mcpToolsForRuntimeMcp } from "./openai-tools-BDwAdxk5.js";
17
17
  import { AgentProfile, Sha256Digest } from "@tangle-network/agent-interface";
18
18
  import { ControlBudget, ControlDecision, ControlEvalResult, ControlEvalResult as ControlEvalResult$1, ControlRunResult, ControlStep, DataAcquisitionPlan, KnowledgeReadinessReport, KnowledgeReadinessReport as KnowledgeReadinessReport$1, KnowledgeRequirement, ProposalFinding, RunRecord, RunRecord as RunRecord$1 } from "@tangle-network/agent-eval";
package/dist/index.js CHANGED
@@ -1,18 +1,18 @@
1
1
  import { a as JudgeError, c as RetainedInteractiveAdmissionError, d as RetainedRunDispatchBindingError, f as RuntimeRunStateError, i as ConfigError, l as RetainedInteractiveBindingError, m as ValidationError, o as NotFoundError, r as BackendTransportError, s as PlannerError, t as AgentEvalError, u as RetainedRunAdmissionError } from "./errors-CDZ8XsVj.js";
2
- import { a as normalizeBackendStreamEvent, c as nowIso, i as createSandboxPromptBackend, l as startOrResumeRuntimeSession, o as InMemoryRuntimeSessionStore, r as createIterableBackend, u as touchSession } from "./stream-agent-turn-DWWe_7bh.js";
3
- import { $ as parseExactAgentProfile, G as applyExactAgentProfileDiff, K as assertCandidateProfileBinding, S as CANDIDATE_TRACE_TAGS, W as agentCandidateProfileAsAgentProfile, Y as freezeGenericAgentCandidateProfile, Z as omitUndefinedObjectFields, _ as candidateExecutionClaim, a as persistCandidateOutputArtifact, at as scanMaterializedWorkspaceManifest, c as CANDIDATE_KNOWLEDGE_ROOT_ENV, et as parseExactAgentProfileDiff, f as verifyAgentCandidateBundle, h as InMemoryAgentCandidateExecutionClaimStore, l as candidateKnowledgeExecutionPaths, lt as canonicalCandidateDigest$1, n as executePreparedAgentCandidate, nt as candidateWorkspaceManifest, pt as immutableCandidateValue, s as CANDIDATE_KNOWLEDGE_RETRIEVAL_CONFIG_ENV, st as verifyMaterializedWorkspace, t as prepareAgentCandidateExecution, tt as parseExactCandidateProfile, u as AGENT_CANDIDATE_EXECUTION_SUPPORT, x as CANDIDATE_TRACE_ENV } from "./prepare-B5fJ7mLS.js";
4
- import { i as sealAgentCandidateBundle, n as captureAgentCandidateWorkspaceFiles, r as createAgentCandidateWorkspacePort, t as captureAgentCandidateWorkspace } from "./workspace-archive-yAPDklLV.js";
5
- import { a as disposePreparedAgentCandidateExecution, i as runProtectedAgentCandidateModelGrant, n as seedWorkspaceTree, o as FileAgentCandidateExecutionClaimStore, r as recoverExpiredAgentCandidateExecution, s as buildAgentCandidateBundle, t as describeWorkspaceTree } from "./candidate-execution-BSkZErxD.js";
6
- import { n as exactProcessProviderAsCandidateExecutor, t as createProtectedAgentCandidateModelPort } from "./protected-model-port-B0xFSAjt.js";
7
- import { C as makePerAttemptSignal, S as defaultIsRetryable, T as createProfileExecutionBackend, _ as readDepth, a as FileConversationJournal, b as DeadlineExceededError, c as createConversationBackend, d as slugifySpeaker, f as turnId, g as isDepthExceeded, h as buildForwardHeaders, i as d1ToSqlAdapter, l as runConversation, m as FORWARD_HEADERS, n as runPersonaDispatch, o as InMemoryConversationJournal, p as DEFAULT_MAX_DEPTH, r as SqlConversationJournal, s as defineConversation, t as runPersonaConversation, u as runConversationStream, v as CircuitBreakerState, w as sleep, x as computeBackoff, y as CircuitOpenError } from "./conversation-DILnmy84.js";
8
- import { Cn as sanitizeKnowledgeReadinessReport, Sn as sanitizeAgentRuntimeEvent, _n as padSpanId, bn as createRuntimeEventCollector, cn as buildLoopOtelSpans, dn as createOpenInferenceFileExporter, fn as createOtelExporter, gn as loopEventToOtelSpan, hn as generateSpanId, ln as buildLoopSpanNodes, n as defaultRedactorIdentityMaterial, pn as exportEvalRuns, r as resolveRedactor, sn as INTELLIGENCE_WIRE_VERSION, t as defaultRedactor, un as buildRuntimeEventOtelSpans, vn as padTraceId, wn as sanitizeRuntimeStreamEvent, xn as createRuntimeStreamEventCollector, yn as toOtelAttributes } from "./redact-D0OzQsyt.js";
2
+ import { a as normalizeBackendStreamEvent, c as nowIso, i as createSandboxPromptBackend, l as startOrResumeRuntimeSession, o as InMemoryRuntimeSessionStore, r as createIterableBackend, u as touchSession } from "./stream-agent-turn-DOtEsvCV.js";
3
+ import { $ as parseExactAgentProfile, G as applyExactAgentProfileDiff, K as assertCandidateProfileBinding, S as CANDIDATE_TRACE_TAGS, W as agentCandidateProfileAsAgentProfile, Y as freezeGenericAgentCandidateProfile, Z as omitUndefinedObjectFields, _ as candidateExecutionClaim, a as persistCandidateOutputArtifact, at as scanMaterializedWorkspaceManifest, c as CANDIDATE_KNOWLEDGE_ROOT_ENV, et as parseExactAgentProfileDiff, f as verifyAgentCandidateBundle, h as InMemoryAgentCandidateExecutionClaimStore, l as candidateKnowledgeExecutionPaths, lt as canonicalCandidateDigest$1, n as executePreparedAgentCandidate, nt as candidateWorkspaceManifest, pt as immutableCandidateValue, s as CANDIDATE_KNOWLEDGE_RETRIEVAL_CONFIG_ENV, st as verifyMaterializedWorkspace, t as prepareAgentCandidateExecution, tt as parseExactCandidateProfile, u as AGENT_CANDIDATE_EXECUTION_SUPPORT, x as CANDIDATE_TRACE_ENV } from "./prepare-C29kNAon.js";
4
+ import { i as sealAgentCandidateBundle, n as captureAgentCandidateWorkspaceFiles, r as createAgentCandidateWorkspacePort, t as captureAgentCandidateWorkspace } from "./workspace-archive-BCezkeIk.js";
5
+ import { a as disposePreparedAgentCandidateExecution, i as runProtectedAgentCandidateModelGrant, n as seedWorkspaceTree, o as FileAgentCandidateExecutionClaimStore, r as recoverExpiredAgentCandidateExecution, s as buildAgentCandidateBundle, t as describeWorkspaceTree } from "./candidate-execution-B6CDW-fp.js";
6
+ import { n as exactProcessProviderAsCandidateExecutor, t as createProtectedAgentCandidateModelPort } from "./protected-model-port-CKYND416.js";
7
+ import { C as makePerAttemptSignal, S as defaultIsRetryable, T as createProfileExecutionBackend, _ as readDepth, a as FileConversationJournal, b as DeadlineExceededError, c as createConversationBackend, d as slugifySpeaker, f as turnId, g as isDepthExceeded, h as buildForwardHeaders, i as d1ToSqlAdapter, l as runConversation, m as FORWARD_HEADERS, n as runPersonaDispatch, o as InMemoryConversationJournal, p as DEFAULT_MAX_DEPTH, r as SqlConversationJournal, s as defineConversation, t as runPersonaConversation, u as runConversationStream, v as CircuitBreakerState, w as sleep, x as computeBackoff, y as CircuitOpenError } from "./conversation-BXPWMOSd.js";
8
+ import { Bn as sanitizeRuntimeStreamEvent, Cn as INTELLIGENCE_WIRE_VERSION, Dn as createOpenInferenceFileExporter, En as buildRuntimeEventOtelSpans, Fn as toOtelAttributes, In as createRuntimeEventCollector, Ln as createRuntimeStreamEventCollector, Mn as loopEventToOtelSpan, Nn as padSpanId, On as createOtelExporter, Pn as padTraceId, Rn as sanitizeAgentRuntimeEvent, Tn as buildLoopSpanNodes, jn as generateSpanId, kn as exportEvalRuns, n as defaultRedactorIdentityMaterial, r as resolveRedactor, t as defaultRedactor, wn as buildLoopOtelSpans, zn as sanitizeKnowledgeReadinessReport } from "./redact-BOU77QfQ.js";
9
9
  import { i as notifyRuntimeHookEvent, n as defineRuntimeHooks, r as notifyRuntimeDecisionPoint, t as composeRuntimeHooks } from "./runtime-hooks-tXpAarhW.js";
10
- import { D as optimizerMethod, O as strategyAuthorMethod } from "./structural-rollout-CktnUTCC.js";
11
- import { B as ROLLOUT_POLICY_EXTENSION, G as structuralRolloutPolicyFromProfile, H as normalizeRolloutPolicy, J as defaultBuildPrompt, K as agenticGenerator, L as improve, R as withMethodRuntimeControls, U as parseRolloutPolicy, V as applyRolloutPolicyToProfile, W as serializeRolloutPolicy, q as commandVerifier, z as rawTraceDistiller } from "./improvement-cycle-BbsiYcpH.js";
12
- import { Ft as connectStdioMcp, Pt as McpSpawnFault } from "./runtime-ZM4i-jEF.js";
13
- import { a as createSupervisedKnowledgeUpdater, c as runSupervisedKnowledgeUpdate, i as RESEARCH_SUPERVISOR_SYSTEM_PROMPT, l as createKnowledgeImprovementActivationExecutor, n as createAgentKnowledgeReadinessCheck, o as formatSupervisedKnowledgeTask, r as runKnowledgeImprovementJob, s as knowledgeReadinessDeliverable, t as buildKnowledgeImprovementExperimentBundles } from "./knowledge-RW1pbZCH.js";
14
- import { a as isDelegatedLoopMode, c as worktreeLoopRunner, i as auditLoopRunner, n as runLoopRunnerCli, o as researchLoopRunner, r as DELEGATED_LOOP_MODES, s as runDelegatedLoop, t as parseLoopRunnerArgv } from "./loop-runner-bin-sBwcyQTc.js";
15
- import { n as mcpToolsForRuntimeMcpSubset, t as mcpToolsForRuntimeMcp } from "./openai-tools-6jUqkGG7.js";
10
+ import { D as optimizerMethod, O as strategyAuthorMethod } from "./structural-rollout-BcPXFzVb.js";
11
+ import { B as ROLLOUT_POLICY_EXTENSION, G as structuralRolloutPolicyFromProfile, H as normalizeRolloutPolicy, J as defaultBuildPrompt, K as agenticGenerator, L as improve, R as withMethodRuntimeControls, U as parseRolloutPolicy, V as applyRolloutPolicyToProfile, W as serializeRolloutPolicy, q as commandVerifier, z as rawTraceDistiller } from "./improvement-cycle-DeS1ZC5B.js";
12
+ import { Ft as connectStdioMcp, Pt as McpSpawnFault } from "./runtime-BVrqSu0-.js";
13
+ import { a as createSupervisedKnowledgeUpdater, c as runSupervisedKnowledgeUpdate, i as RESEARCH_SUPERVISOR_SYSTEM_PROMPT, l as createKnowledgeImprovementActivationExecutor, n as createAgentKnowledgeReadinessCheck, o as formatSupervisedKnowledgeTask, r as runKnowledgeImprovementJob, s as knowledgeReadinessDeliverable, t as buildKnowledgeImprovementExperimentBundles } from "./knowledge-B5okOzBQ.js";
14
+ import { a as isDelegatedLoopMode, c as worktreeLoopRunner, i as auditLoopRunner, n as runLoopRunnerCli, o as researchLoopRunner, r as DELEGATED_LOOP_MODES, s as runDelegatedLoop, t as parseLoopRunnerArgv } from "./loop-runner-bin-U1J6x_UF.js";
15
+ import { n as mcpToolsForRuntimeMcpSubset, t as mcpToolsForRuntimeMcp } from "./openai-tools-DmvmaG0a.js";
16
16
  import { agentProfileSchema, canonicalAgentProfileDigest } from "@tangle-network/agent-interface";
17
17
  import { FAILURE_CLASSES, acquisitionPlansForKnowledgeGaps, blockingKnowledgeEval, canonicalJson, runAgentControlLoop, scoreKnowledgeReadiness, userQuestionsForKnowledgeGaps } from "@tangle-network/agent-eval";
18
18
  import { gepaOptimizationMethod, skillOptOptimizationMethod } from "@tangle-network/agent-eval/campaign";
@@ -1,12 +1,12 @@
1
1
  import { at as RuntimeStreamEvent, b as LoopTraceEvent } from "./types-BdolQ6Zi.js";
2
2
  import { d as RunAnalystLoopOpts, f as RunAnalystLoopResult } from "./types-zWfqDjeL.js";
3
- import { Jt as RuntimeTelemetryOptions } from "./types-CGez_ZHQ.js";
4
- import { c as Redactor, l as defaultRedactor, u as resolveRedactor } from "./stream-agent-turn-1ahpdeIo.js";
5
- import { Pt as ToolSpec } from "./runtime-V91N6sPc.js";
6
- import { a as AgentEnvironmentProviderRef, o as AgentEnvironmentProviderRegistry } from "./environment-provider-DpPGJfK-.js";
3
+ import { Jt as RuntimeTelemetryOptions } from "./types-B_pNTBjK.js";
4
+ import { c as Redactor, l as defaultRedactor, u as resolveRedactor } from "./stream-agent-turn-B-gtBlOy.js";
5
+ import { Pt as ToolSpec } from "./runtime-B8x43nGP.js";
6
+ import { a as AgentEnvironmentProviderRef, o as AgentEnvironmentProviderRegistry } from "./environment-provider-adVa6X7a.js";
7
7
  import { D as AgentCandidateRunFinalization, O as AgentCandidateTaskExecution, a as AgentCandidateExecutionPorts, c as AgentCandidateExecutorPort, r as AgentCandidateBenchmarkGraderPort, y as AgentCandidateOutputArtifactPort } from "./types-1s_29INY.js";
8
8
  import { T as AgentCandidateExecutionClaimStore, _ as PrepareAgentCandidateExecutionOptions, o as CreateProtectedAgentCandidateModelPortOptions, p as parseAgentCandidateProfileActivation, y as ExecutePreparedAgentCandidateOptions } from "./protected-model-port-BtXp2dUY.js";
9
- import { S as ImproveResult, h as ImproveMethodResult, m as ImproveMethodOptions, v as ImproveOptions, w as ImproveScenarioPartitions } from "./improve-Bn1zpWHF.js";
9
+ import { S as ImproveResult, h as ImproveMethodResult, m as ImproveMethodOptions, v as ImproveOptions, w as ImproveScenarioPartitions } from "./improve-COGzLCiY.js";
10
10
  import { a as AgentImprovementActivationTransitionInput, c as CreateAgentImprovementActivationResultOptions, d as ProfileImprovementActivationTransitionInput, f as SealedCandidateActivationTransitionInput, h as verifyAgentImprovementActivationResult, i as AgentImprovementActivationTransition, l as ExecuteAgentImprovementActivationInput, m as executeAgentImprovementActivation, n as AgentImprovementActivationResultStore, o as AgentProfileImprovementActivationOperation, p as createAgentImprovementActivationResult, r as AgentImprovementActivationTargetPlan, s as AgentProfileImprovementActivationTargetPlan, t as AgentImprovementActivationReconciliation, u as ExecuteAgentImprovementActivationOptions } from "./activation-DyWB0K6E.js";
11
11
  import { AgentCandidateBenchmarkCellRef, AgentCandidateBundle, AgentCandidateEvaluationPolicy, AgentCandidateExperiment, AgentCandidateExperimentMaterial, AgentCandidateExperimentMeasurement, AgentCandidateLineage, AgentCandidateProfileActivation as CandidateProfileMaterialization, AgentImprovementActivation, AgentImprovementActivation as AgentImprovementActivation$1, AgentImprovementActivationIntent, AgentImprovementActivationIntent as AgentImprovementActivationIntent$1, AgentImprovementActivationOutcome, AgentImprovementActivationResult, AgentImprovementActivationTarget, AgentImprovementActivationTargetState, AgentImprovementActivationTargetTransition, AgentImprovementEvaluation, AgentImprovementEvaluation as AgentImprovementEvaluation$1, AgentImprovementMeasuredComparison, AgentImprovementMeasuredComparison as AgentImprovementMeasuredComparison$1, AgentImprovementProposal, AgentImprovementProposal as AgentImprovementProposal$1, AgentImprovementReview, AgentImprovementReview as AgentImprovementReview$1, AgentImprovementReviewDecision, AgentImprovementReviewDecision as AgentImprovementReviewDecision$1, AgentImprovementSource, AgentImprovementSurface, AgentProfile, AgentProfileDiff, AgentProfileImprovementChange, AgentProfileImprovementExecutionRef, AgentProfileImprovementExperiment, AgentProfileImprovementMeasuredComparison, AgentProfileImprovementMeasurement, AgentProfileImprovementRunReceipt, AgentProfileImprovementTaskMaterial, AgentProfileMcpServer, CandidateExecutionEvidence, CandidateExecutionEvidence as CandidateExecutionEvidence$1, Sha256Digest } from "@tangle-network/agent-interface";
12
12
  import { CostLedgerHandle, TraceStore } from "@tangle-network/agent-eval";
@@ -1,9 +1,9 @@
1
- import { $ as parseExactAgentProfile, G as applyExactAgentProfileDiff, Q as parseAgentCandidateProfileActivation, Z as omitUndefinedObjectFields, lt as canonicalCandidateDigest$1, pt as immutableCandidateValue, u as AGENT_CANDIDATE_EXECUTION_SUPPORT } from "./prepare-B5fJ7mLS.js";
2
- import { n as exactProcessProviderAsCandidateExecutor, t as createProtectedAgentCandidateModelPort } from "./protected-model-port-B0xFSAjt.js";
3
- import { cn as buildLoopOtelSpans, fn as createOtelExporter, mn as flatOtelSpan, r as resolveRedactor, t as defaultRedactor, un as buildRuntimeEventOtelSpans } from "./redact-D0OzQsyt.js";
4
- import { i as resolveAgentEnvironmentProvider } from "./environment-provider-DEwsolvi.js";
5
- import { C as optimizationActivationReceiptFromMetadata, D as agentImprovementProfileSurfaceDigest, E as agentImprovementProfileDiffs, F as isAgentImprovementProfileSurface, I as isAgentProfileMeasuredSurface, N as assertProfileImprovementTargetsShareIdentity, O as agentImprovementProfileSurfaceInput, P as buildAgentImprovementActivationTargets, S as createOptimizationActivationReceipt, T as AGENT_PROFILE_MEASURED_SURFACES, _ as profilePolicyWithBudget, a as executeAgentCandidateExperimentCell, b as profileTaskScenarioIdentity, d as verifyAgentImprovementActivation, f as verifyAgentImprovementProposal, g as profileImprovementMetadata, h as createProfileImprovementCostLedger, i as createAgentImprovementProposal, j as agentImprovementTargetProfileDiffs, l as reviewAgentImprovementProposal, m as verifyCandidateExecutionEvidence, n as createAgentImprovementActivation, o as proposeAgentImprovement, p as verifyAgentImprovementReview, r as createAgentImprovementMeasuredComparison, s as proposeAgentProfileImprovement, t as AgentCandidateExperimentCellExecutionError, u as runAgentCandidateExperiment, v as profilePreparationAccounting, w as AGENT_IMPROVEMENT_PROFILE_SURFACES, x as sealProfileImprovementBenchmark, y as profileStateDigest$1 } from "./improvement-cycle-BbsiYcpH.js";
6
- import { n as executeAgentImprovementActivation, r as verifyAgentImprovementActivationResult, t as createAgentImprovementActivationResult } from "./activation-BismttgN.js";
1
+ import { $ as parseExactAgentProfile, G as applyExactAgentProfileDiff, Q as parseAgentCandidateProfileActivation, Z as omitUndefinedObjectFields, lt as canonicalCandidateDigest$1, pt as immutableCandidateValue, u as AGENT_CANDIDATE_EXECUTION_SUPPORT } from "./prepare-C29kNAon.js";
2
+ import { n as exactProcessProviderAsCandidateExecutor, t as createProtectedAgentCandidateModelPort } from "./protected-model-port-CKYND416.js";
3
+ import { An as flatOtelSpan, En as buildRuntimeEventOtelSpans, On as createOtelExporter, r as resolveRedactor, t as defaultRedactor, wn as buildLoopOtelSpans } from "./redact-BOU77QfQ.js";
4
+ import { i as resolveAgentEnvironmentProvider } from "./environment-provider-Dr-wfnHg.js";
5
+ import { C as optimizationActivationReceiptFromMetadata, D as agentImprovementProfileSurfaceDigest, E as agentImprovementProfileDiffs, F as isAgentImprovementProfileSurface, I as isAgentProfileMeasuredSurface, N as assertProfileImprovementTargetsShareIdentity, O as agentImprovementProfileSurfaceInput, P as buildAgentImprovementActivationTargets, S as createOptimizationActivationReceipt, T as AGENT_PROFILE_MEASURED_SURFACES, _ as profilePolicyWithBudget, a as executeAgentCandidateExperimentCell, b as profileTaskScenarioIdentity, d as verifyAgentImprovementActivation, f as verifyAgentImprovementProposal, g as profileImprovementMetadata, h as createProfileImprovementCostLedger, i as createAgentImprovementProposal, j as agentImprovementTargetProfileDiffs, l as reviewAgentImprovementProposal, m as verifyCandidateExecutionEvidence, n as createAgentImprovementActivation, o as proposeAgentImprovement, p as verifyAgentImprovementReview, r as createAgentImprovementMeasuredComparison, s as proposeAgentProfileImprovement, t as AgentCandidateExperimentCellExecutionError, u as runAgentCandidateExperiment, v as profilePreparationAccounting, w as AGENT_IMPROVEMENT_PROFILE_SURFACES, x as sealProfileImprovementBenchmark, y as profileStateDigest$1 } from "./improvement-cycle-DeS1ZC5B.js";
6
+ import { n as executeAgentImprovementActivation, r as verifyAgentImprovementActivationResult, t as createAgentImprovementActivationResult } from "./activation-BQFIiyUG.js";
7
7
  import { agentImprovementSourceSchema, agentProfileImprovementArmSchema, applyAgentProfileDiff, defineAgentProfilePublicConfig } from "@tangle-network/agent-interface";
8
8
  import { contentHash } from "@tangle-network/agent-eval";
9
9
  import { assertProposalFindings } from "@tangle-network/agent-eval/analyst";