@tangle-network/agent-runtime 0.264.0 → 0.266.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 (58) hide show
  1. package/dist/{activation-DHFdvps3.js → activation-BERiJjx5.js} +2 -2
  2. package/dist/{activation-DHFdvps3.js.map → activation-BERiJjx5.js.map} +1 -1
  3. package/dist/{activation-Bx4kfVU3.d.ts → activation-VpxSbDKJ.d.ts} +2 -2
  4. package/dist/agent.d.ts +2 -2
  5. package/dist/agent.js +2 -2
  6. package/dist/{coordination-driver-Bz-H17bC.js → coordination-driver-DdZ-nh_4.js} +73 -39
  7. package/dist/coordination-driver-DdZ-nh_4.js.map +1 -0
  8. package/dist/{delegate-CwbWhX5W.js → delegate-Ajx_PVyu.js} +3 -3
  9. package/dist/delegate-Ajx_PVyu.js.map +1 -0
  10. package/dist/durable.d.ts +2 -2
  11. package/dist/durable.js +2 -2
  12. package/dist/{graph-5NrpTg0h.js → graph-CK50N9vG.js} +7 -5
  13. package/dist/graph-CK50N9vG.js.map +1 -0
  14. package/dist/{improvement-cycle-WRWcFyuO.js → improvement-cycle-GRPoHLm1.js} +3 -3
  15. package/dist/{improvement-cycle-WRWcFyuO.js.map → improvement-cycle-GRPoHLm1.js.map} +1 -1
  16. package/dist/{index-9wXpbjbX.d.ts → index-CU2mlMfc.d.ts} +59 -73
  17. package/dist/index.d.ts +6 -6
  18. package/dist/index.js +7 -7
  19. package/dist/intelligence.d.ts +3 -3
  20. package/dist/intelligence.js +3 -3
  21. package/dist/kernel.d.ts +4 -4
  22. package/dist/kernel.js +9 -9
  23. package/dist/{loop-runner-bin-DPewOZMn.d.ts → loop-runner-bin-XKZXM08Q.d.ts} +3 -3
  24. package/dist/{loop-runner-bin-DC1Lm0nM.js → loop-runner-bin-cC16EPUq.js} +3 -3
  25. package/dist/{loop-runner-bin-DC1Lm0nM.js.map → loop-runner-bin-cC16EPUq.js.map} +1 -1
  26. package/dist/loop-runner-bin.d.ts +1 -1
  27. package/dist/loop-runner-bin.js +1 -1
  28. package/dist/mcp/bin.js +3 -3
  29. package/dist/mcp/index.d.ts +5 -5
  30. package/dist/mcp/index.js +4 -4
  31. package/dist/{openai-tools-ByTMUJcD.d.ts → openai-tools-D3ajI_D2.d.ts} +2 -2
  32. package/dist/profiles.d.ts +2 -2
  33. package/dist/{provision-supervisor-BZ6_uBGR.js → provision-supervisor-Bf_bPaCv.js} +4 -4
  34. package/dist/{provision-supervisor-BZ6_uBGR.js.map → provision-supervisor-Bf_bPaCv.js.map} +1 -1
  35. package/dist/{runtime-CUZC75EX.js → runtime-hOLlAc1i.js} +938 -18
  36. package/dist/runtime-hOLlAc1i.js.map +1 -0
  37. package/dist/{server-KpdpN627.js → server-DOb67ohd.js} +3 -3
  38. package/dist/{server-KpdpN627.js.map → server-DOb67ohd.js.map} +1 -1
  39. package/dist/{stream-agent-turn-D1zelVx6.d.ts → stream-agent-turn-Gw9hLpBn.d.ts} +182 -3
  40. package/dist/{structural-rollout-D17I5CwF.js → structural-rollout-DV9YoQF6.js} +2 -2
  41. package/dist/{structural-rollout-D17I5CwF.js.map → structural-rollout-DV9YoQF6.js.map} +1 -1
  42. package/dist/{substrate-qQphD9f0.d.ts → substrate-CLt9S9ym.d.ts} +2 -2
  43. package/dist/{supervise-_DTVHXPC.js → supervise--njTtSL3.js} +77 -27
  44. package/dist/supervise--njTtSL3.js.map +1 -0
  45. package/dist/{supervisor-C26k7X5-.js → supervisor-B8UMAXya.js} +990 -401
  46. package/dist/supervisor-B8UMAXya.js.map +1 -0
  47. package/dist/testing.d.ts +2 -2
  48. package/dist/testing.js +12 -12
  49. package/dist/tui/index.d.ts +1 -1
  50. package/dist/tui/index.js +1 -1
  51. package/dist/{types-BV14WTyW.d.ts → types-CrnwLVYQ.d.ts} +204 -34
  52. package/package.json +2 -2
  53. package/dist/coordination-driver-Bz-H17bC.js.map +0 -1
  54. package/dist/delegate-CwbWhX5W.js.map +0 -1
  55. package/dist/graph-5NrpTg0h.js.map +0 -1
  56. package/dist/runtime-CUZC75EX.js.map +0 -1
  57. package/dist/supervise-_DTVHXPC.js.map +0 -1
  58. package/dist/supervisor-C26k7X5-.js.map +0 -1
@@ -1,8 +1,8 @@
1
- import { $ as SpawnJournal, A as NodeExecutionIdentity, B as ResultBlobStore, Bt as OtelExporter, Ci as AgentRunSpec, Di as Iteration, Dn as TraceSource, Dt as TraceContext, Ei as ExecCtx, Gi as MountRecorder, Gn as RetainedInteractiveRunHandle, Hi as LoopTraceEvent, Hn as RecoverRetainedInteractiveRunOptions, Hr as RecoverRetainedRunIntentOptions, I as ProviderModelExecutionEvidence, Ii as LoopResult, In as ExecutorProgress, J as RootStreamReceipt, Ji as SandboxClient, Ki as OutputAdapter, L as RecursiveReservationPolicy, M as NodeSnapshot, Ni as LoopLineageOptions, P as ProfileMaterializationReceipt, Q as SpawnEvent, Rn as WorkerProgress, Ti as Driver, Tr as AgentEvalError$1, Ui as LoopWinner, Ur as RecoverRetainedRunOptions, V as ResumedKeyState, Vi as LoopTraceEmitter, Vn as ReconnectRetainedInteractiveRunOptions, Vr as ReconnectRetainedRunOptions, W as RootHandle, Wi as MountManifestEntry, Wr as RecoverRetainedRunResult, X as Scope, Y as Runtime, Yi as SelectionReceipt, Yn as HarnessTranscriptCapture, Z as Settled, Zi as Validator, _r as DriverRetryPolicy, _t as WorkerInteractiveSession, ar as DriverAttemptRecord, at as SpendGap, b as ExecutorRegistry, br as OnUnmetContract, ct as Supervisor, di as BudgetPool, dt as TreeView, ei as RetainedRunEffect, et as SpawnOpts, fn as PendingWait, ft as UnconfirmedTeardown, g as ExecutorFactory, hi as LeakedReservation, hn as WaitProbeRegistry, hr as DriverRepromptPolicy, i as Budget, j as NodeId, jn as RetainedChildRecovery, k as NoWinnerError, l as ExecutionBindingReceipt, li as StartRetainedRunInEnvironmentOptions, lr as DriverContinuationRecord, mr as DriverReentry, n as AgentExecutionRef, o as BudgetViolation, ot as SteerableRootHandle, qn as StartRetainedInteractiveRunOptions, r as AgentSpec, ri as RetainedRunHandle, rt as Spend, s as DefaultVerdict, st as SupervisedResult, t as Agent, u as Executor, ui as StartRetainedRunOptions, vt as WorkerInteractiveUnavailableReason, w as FleetYield, x as ExecutorResult, xt as WorkerTraceResolver, yt as WorkerTraceEvidence, zt as OtelExportConfig } from "./types-BV14WTyW.js";
1
+ import { $ as SpawnJournal, $i as LoopWinner, A as NodeExecutionIdentity, B as ResultBlobStore, Cr as OnUnmetContract, Ct as WorkerTraceResolver, Fi as Driver, Gn as RecoverRetainedInteractiveRunOptions, Hr as SlotPermit, Ht as OtelExporter, I as ProviderModelExecutionEvidence, Ii as ExecCtx, J as RootStreamReceipt, Jn as RetainedInteractiveRunHandle, Jr as ReconnectRetainedRunOptions, Ki as LoopResult, L as RecursiveReservationPolicy, Li as Iteration, M as NodeSnapshot, Ni as AgentRunSpec, Nn as RetainedChildRecovery, P as ProfileMaterializationReceipt, Q as SpawnEvent, Qi as LoopTraceEvent, Qn as HarnessTranscriptCapture, Rn as ExecutorProgress, Si as LeakedReservation, Ui as LoopLineageOptions, Ur as WorkerSlots, V as ResumedKeyState, Vn as WorkerProgress, Vt as OtelExportConfig, W as RootHandle, Wn as ReconnectRetainedInteractiveRunOptions, X as Scope, Xn as StartRetainedInteractiveRunOptions, Xr as RecoverRetainedRunOptions, Y as Runtime, Yr as RecoverRetainedRunIntentOptions, Z as Settled, Zi as LoopTraceEmitter, Zr as RecoverRetainedRunResult, _i as StartRetainedRunOptions, _n as WaitProbeRegistry, _r as DriverReentry, aa as SelectionReceipt, at as SpendGap, b as ExecutorRegistry, br as DriverRetryPolicy, bt as WorkerInteractiveUnavailableReason, cr as DriverAttemptRecord, ct as SubtreeSummary, ea as MountManifestEntry, et as SpawnOpts, fr as DriverContinuationRecord, g as ExecutorFactory, gi as StartRetainedRunInEnvironmentOptions, i as Budget, ia as SandboxClient, j as NodeId, k as NoWinnerError, kn as TraceSource, kr as AgentEvalError$1, kt as TraceContext, l as ExecutionBindingReceipt, lt as SupervisedResult, mn as PendingWait, mt as UnconfirmedTeardown, n as AgentExecutionRef, na as OutputAdapter, o as BudgetViolation, ot as SteerableRootHandle, pt as TreeView, r as AgentSpec, rt as Spend, s as DefaultVerdict, sa as Validator, si as RetainedRunEffect, t as Agent, ta as MountRecorder, u as Executor, ui as RetainedRunHandle, ut as Supervisor, vi as BudgetPool, vr as DriverRepromptPolicy, w as FleetYield, x as ExecutorResult, xt as WorkerTraceEvidence, yt as WorkerInteractiveSession } from "./types-CrnwLVYQ.js";
2
2
  import { n as AnalystRegistryLike } from "./types-zWfqDjeL.js";
3
3
  import { l as RuntimeHooks } from "./runtime-hooks-Bj6wJHlH.js";
4
- import { $n as JsonRpcResponse, Bn as PeerMailLimits, D as Inbox, Dn as ToolSpec, En as RouterTransportConfig, Gn as PeerMailbox, P as KeyProvider, Qn as JsonRpcMessage, Rn as PeerMailEvent, Tn as runLocalHarness, cn as GitRunner, en as InPlaceHarnessResult, er as McpToolDescriptor$1, f as ExecutorConfig, h as RouterToolsSeam, jn as ToolLoopCompactionOptions, kn as ToolLoopChat, nr as Redactor, rn as WorktreeHarnessResult, tn as WorktreeCheckRunner, tr as McpTransport, yt as AgentEnvironmentProviderRegistry } from "./stream-agent-turn-D1zelVx6.js";
5
- import { _ as CoderTask, d as ResearchSource, o as UiLens, r as UiFinding } from "./substrate-qQphD9f0.js";
4
+ import { $n as PeerMailLimits, Bn as ToolSpec, D as Inbox, Hn as ToolLoopChat, Mt as AgentEnvironmentProviderRegistry, P as KeyProvider, Rn as runLocalHarness, Wn as ToolLoopCompactionOptions, Zn as PeerMailEvent, dr as JsonRpcMessage, f as ExecutorConfig, fr as JsonRpcResponse, gn as WorktreeHarnessResult, h as RouterToolsSeam, hr as Redactor, ir as PeerMailbox, mn as WorktreeCheckRunner, mr as McpTransport, pn as InPlaceHarnessResult, pr as McpToolDescriptor$1, xn as GitRunner, zn as RouterTransportConfig } from "./stream-agent-turn-Gw9hLpBn.js";
5
+ import { _ as CoderTask, d as ResearchSource, o as UiLens, r as UiFinding } from "./substrate-CLt9S9ym.js";
6
6
  import { AGENT_PROFILE_MATERIALIZATION_AXES, AgentCandidateWorkspaceManifestMaterial, AgentInteractiveSessionControlClaim, AgentInteractiveSessionRef, AgentProfile, AgentProfile as AgentProfile$2, AgentProfile as AgentProfile$3, AgentProfilePrompt, AgentProfileSecurityPolicy, CanonicalAgentProfileMaterializationAxis, Sha256Digest, profileMaterializationAxes as profileMaterializationAxes$1 } from "@tangle-network/agent-interface";
7
7
  import { AgentProfile as AgentProfile$1, AnalystFinding, AnalystFinding as AnalystFinding$1, AnalystFinding as AnalystFinding$2, AnalystRunInputs, ChatClient, CustomTokenPricing, DetectorSignal, HarnessType as HarnessType$1, MaximumCharge, PairedPromotionDecision, ProposalFinding, RankTestMethod, RegistryRunOpts, RunRecord, StreamingDetector, ToolSpan, TraceAnalysisEngine, TraceAnalysisStore, buildTrajectory, computeFindingId as computeFindingId$1, makeFinding as makeFinding$1 } from "@tangle-network/agent-eval";
8
8
  import { AgentRunOutcome } from "@tangle-network/sandbox/runtime";
@@ -1901,6 +1901,9 @@ interface SettledWorker {
1901
1901
  /** Epoch ms from the durable terminal record — the resolution a progress-based stop rule needs
1902
1902
  * to answer "how long since anything landed?" without inventing a timestamp at read time. */
1903
1903
  readonly settledAt?: number;
1904
+ /** Present when this worker led workers of its own: its team's counts and its own direct
1905
+ * children's results, each readable in full through `observe_agent({ outRef })`. */
1906
+ readonly subtree?: SubtreeSummary;
1904
1907
  }
1905
1908
  type QuestionLevel = 'worker' | 'driver' | 'loop';
1906
1909
  type QuestionUrgency = 'continue-without' | 'blocks-step' | 'blocks-run';
@@ -2484,13 +2487,6 @@ interface CoordinationToolsOptions {
2484
2487
  * the driver can still run lenses on demand via `run_analyst`). Lens routes require
2485
2488
  * `analysts`; agent routes do not. */
2486
2489
  readonly analyzeOnSettle?: ReadonlyArray<string | AnalyzeOnSettleRoute>;
2487
- /** Hard cap on how many workers may be LIVE (spawned but not yet settled) at once. `spawn_worker`
2488
- * counts the scope's non-terminal nodes and fails closed (`error: 'max-live-workers'`) BEFORE
2489
- * reserving from the pool when the cap is already met — a concurrency fence on top of the
2490
- * conserved-budget fence (the pool bounds total work; this bounds simultaneous work, e.g. live
2491
- * sandboxes/boxes). A tree-wide limit owned by `Scope` takes precedence when present; this field
2492
- * is the local form for a caller-owned scope. Omit or `<= 0` = no local cap. */
2493
- readonly maxLiveWorkers?: number;
2494
2490
  /** Max wall-clock ms a single `await_event` call may block waiting on a live worker to settle
2495
2491
  * before it returns a non-error `{ pending: true, live }` snapshot and lets the caller re-poll.
2496
2492
  * The underlying `scope.next()` blocks for the WHOLE (multi-minute) worker run; over a remote MCP
@@ -3515,9 +3511,9 @@ interface RunPersonifiedOptions<Task, D> {
3515
3511
  /** Forwarded to `SupervisorOpts.teardownConfirmMs`: how long settlement keeps retrying a child
3516
3512
  * teardown the executor has not confirmed. `0` makes one attempt only. Default: 300000. */
3517
3513
  readonly teardownConfirmMs?: number;
3518
- /** Forwarded to `SupervisorOpts.maxLiveWorkers`: the hard tree-wide cap on simultaneously
3519
- * executing spawned workers. Omit to leave the worker count uncapped. */
3520
- readonly maxLiveWorkers?: number;
3514
+ /** Forwarded to `SupervisorOpts.workerSlots`: the tree-wide bound on simultaneously working
3515
+ * agents; spawns past it queue. Omit to bound concurrency by the budget alone. */
3516
+ readonly workerSlots?: number | WorkerSlots;
3521
3517
  /**
3522
3518
  * Forwarded to `SupervisorOpts.resume`: replay the journaled tree for `runId` before beginning
3523
3519
  * fresh work (keyed spawns that already settled `done` return their committed result and spend
@@ -5176,9 +5172,6 @@ declare function serveCoordinationMcp(opts: CoordinationTransportOptions & {
5176
5172
  deliverable?: DeliverableSpec<unknown>;
5177
5173
  /** Called once when the external manager accepts a result or declares completion. */
5178
5174
  onStop?: (reason: string | undefined) => void;
5179
- /** Hard cap on simultaneously-LIVE workers — `spawn_worker` fails closed once this many are in
5180
- * flight (a concurrency fence on top of the conserved-pool fence). Omit/`<= 0` = no cap. */
5181
- maxLiveWorkers?: number;
5182
5175
  /** Max wall-clock ms a single `await_event` may block before returning a re-pollable
5183
5176
  * `{ pending, live }` snapshot instead of erroring on the client's request timeout. Omit =
5184
5177
  * the `coordinationResponseFenceMs` derived from the request timeout; `<= 0` = prior unbounded
@@ -5332,7 +5325,7 @@ type SupervisorNodeContextSeed = Omit<SupervisorNodeContext, 'nodeId' | 'profile
5332
5325
  *
5333
5326
  * Each verb dispatches by name to the live coordination descriptor's own handler, so a spawn made
5334
5327
  * here crosses the identical path the MCP verb crosses: `makeWorkerAgent` → `authorizeSpawn` /
5335
- * security / `allowedModels`, the conserved pool reservation, `maxLiveWorkers`, the journal, and
5328
+ * security / `allowedModels`, the conserved pool reservation, the worker-slot queue, the journal, and
5336
5329
  * the event bus. There is no second spawn path and no way to bypass a gate by calling in code.
5337
5330
  *
5338
5331
  * The set is deliberately the COORDINATION surface only. `submit_result`, `stop`, and `ask_parent`
@@ -5455,10 +5448,6 @@ interface SupervisorAgentDeps {
5455
5448
  readonly deliverable?: DeliverableSpec<unknown>;
5456
5449
  /** Receives a result only after this manager's completion check accepted it. */
5457
5450
  readonly onAcceptedSubmission?: (result: unknown) => void;
5458
- /** Hard cap on simultaneously-LIVE workers across both arms — `spawn_worker` fails closed once
5459
- * this many are in flight (a concurrency fence on top of the conserved-pool fence; bounds live
5460
- * boxes/sandboxes, not total work). Omit/`<= 0` = no cap. */
5461
- readonly maxLiveWorkers?: number;
5462
5451
  /** Router substrate for a router-brained supervisor (`harness` omitted or `cli-base`). The
5463
5452
  * profile's model wins. */
5464
5453
  readonly router?: RouterTransportConfig;
@@ -5881,6 +5870,17 @@ interface SuperviseOptions {
5881
5870
  * profile a manager spawns, before identity is fixed, so receipts bind the prompt that ran.
5882
5871
  * Omit to run profiles exactly as authored: Runtime selects no standing guidance by itself. */
5883
5872
  readonly profileGuidance?: 'profile-kb';
5873
+ /** Whether a spawned profile that declares no Runtime coordination tool receives its manager's
5874
+ * coordination grants (`spawn_worker`, `await_event`, and the rest, plus `submit_result` so it
5875
+ * can still deliver work it does itself), so every child can lead children of its own. Default
5876
+ * `true`. A child whose author wrote any coordination entry, true or false, keeps what was
5877
+ * written (a `false` entry is dropped once it has kept the child a leaf). A child this run
5878
+ * cannot drive as a manager (no driver for its harness, or no `router` for a harness-less one)
5879
+ * stays a leaf, and so does every child of a run with no completion check (`deliverable` or
5880
+ * `resolveDeliverable`), since a manager delivers its own work only through `submit_result`.
5881
+ * `false` runs every authored profile exactly as written. Applies to backend-derived workers;
5882
+ * a caller-owned `makeWorkerAgent` decides its own children. */
5883
+ readonly inheritSpawnRights?: boolean;
5884
5884
  /** Run an external-harness supervisor explicitly. Required for a remote sandbox; optional as a
5885
5885
  * caller-owned override for a local bridge. */
5886
5886
  readonly driveHarness?: DriveHarness;
@@ -5985,8 +5985,8 @@ interface SuperviseOptions {
5985
5985
  * context, including recursive parent and root cascades, plus `context.verbs` — that manager's
5986
5986
  * own coordination verbs, callable in code so a product tool can COMPOSE its children (fan out,
5987
5987
  * chain, join, retry) in one tool call instead of one model turn per verb. Every verb crosses
5988
- * the same authorizeSpawn / security / allowedModels gate, pool reservation, `maxLiveWorkers`
5989
- * cap, journal, and bus the MCP verb crosses, at every depth and on both arms. */
5988
+ * the same authorizeSpawn / security / allowedModels gate, pool reservation, worker-slot
5989
+ * queue, journal, and bus the MCP verb crosses, at every depth and on both arms. */
5990
5990
  readonly resolveSupervisorTools?: ResolveSupervisorTools;
5991
5991
  /**
5992
5992
  * Where an `ask_parent` question goes when it leaves a manager (see {@link EscalateQuestion}).
@@ -6010,14 +6010,20 @@ interface SuperviseOptions {
6010
6010
  }>;
6011
6011
  /** Runs an `extraTools` call; null/undefined falls through to the coordination dispatch. */
6012
6012
  readonly executeExtraTool?: (name: string, args: Record<string, unknown>) => Promise<string | null | undefined>;
6013
- /** Per-child budget reserved on each spawn. Defaults to a quarter of the pool's tokens. */
6013
+ /** The root's default slice for a child whose manager names no `budget`. Defaults to a quarter
6014
+ * of the part of the pool children may reserve (the pool less any owner share). A nested
6015
+ * manager always divides its own slice that way; `spawn_worker`'s `budget` overrides per spawn. */
6014
6016
  readonly perWorker?: Budget;
6015
- /** Opt-in owner inference share plus reserved live slots for descendants. Default: off. */
6017
+ /** Opt-in owner share: every manager, the root included, keeps this fraction of its own slice
6018
+ * free of its children's reservations, so its own turns keep budget. Default slices shrink to fit
6019
+ * beside it. Default: off. */
6016
6020
  readonly reservationPolicy?: RecursiveReservationPolicy;
6017
- /** Hard cap on simultaneously executing spawned workers across the WHOLE recursive tree. The
6018
- * root is excluded; nested drivers and leaves share one allocation, so recursion cannot multiply
6019
- * the cap. Omit/`<= 0` = no cap (the conserved pool stays the only bound). */
6020
- readonly maxLiveWorkers?: number;
6021
+ /** Bound on concurrently WORKING agents across the whole recursive tree: a number, or one
6022
+ * `createWorkerSlots` allocator that several runs in this process share. A spawn past it keeps
6023
+ * its budget slice and waits in a queue (deepest first) instead of being refused, and a manager
6024
+ * lends its slot to its first running child, so nested waits cannot deadlock. The root holds no
6025
+ * slot. Omit/`<= 0` = no bound (the conserved pool stays the only bound). */
6026
+ readonly workerSlots?: number | WorkerSlots;
6021
6027
  /** Analyst lenses available to the driver. Required for `analyzeOnSettle`. Unset → status quo
6022
6028
  * (the driver receives settled worker outputs, no analyst findings). A `string` names an entry in
6023
6029
  * `registry.analysts`. */
@@ -6109,6 +6115,9 @@ interface SuperviseOptions {
6109
6115
  /** One-shot notification of WHY a `stopRule` ended the run (BOTH arms) — so a caller records the
6110
6116
  * reason instead of inferring an early stop from an unexhausted budget. */
6111
6117
  readonly onProgressStop?: (reason: string) => void;
6118
+ /** Recursion ceiling for the tree (root = 0). The conserved pool is what bounds depth, since each
6119
+ * level's slice comes out of the level above; this only stops a runaway recursion. Omit =
6120
+ * `DEFAULT_MAX_DEPTH` (16). */
6112
6121
  readonly maxDepth?: number;
6113
6122
  /** Turn cap for the supervisor's OWN loop (BOTH arms). Router arm: inference turns of the
6114
6123
  * driver's tool loop. Harness arm: turns the harness reports, counted off its `iteration`
@@ -8273,9 +8282,6 @@ interface DriverAgentOptions {
8273
8282
  readonly deliverable?: DeliverableSpec<unknown>;
8274
8283
  /** Receives a result only after this manager's completion check accepted it. */
8275
8284
  readonly onAcceptedSubmission?: (result: unknown) => void;
8276
- /** Hard cap on simultaneously-LIVE workers — `spawn_worker` fails closed once this many are in
8277
- * flight (a concurrency fence on top of the conserved-pool fence). Omit/`<= 0` = no cap. */
8278
- readonly maxLiveWorkers?: number;
8279
8285
  /** The analyst lenses available to the driver. Required for `analyzeOnSettle` (and `run_analyst`).
8280
8286
  * Unset → no analyst feed (status quo: the driver gets settled outputs, no findings). */
8281
8287
  readonly analysts?: AnalystRegistry$1;
@@ -8502,8 +8508,7 @@ interface RollingDispatchOptions<Out> {
8502
8508
  /**
8503
8509
  * How many children to hold in flight. Must be a positive integer. This is a SIMULTANEITY fence
8504
8510
  * only — the conserved pool still bounds total work, and a `width` larger than the pool can
8505
- * afford simply hits `not-admitted` sooner. Derive it with `effectiveConcurrency` when the host
8506
- * also runs a fleet-level box governor.
8511
+ * afford simply hits `not-admitted` sooner.
8507
8512
  */
8508
8513
  readonly width: number;
8509
8514
  /**
@@ -8550,28 +8555,6 @@ declare function rollingDispatch<Out>(scope: Scope<Out>, opts: RollingDispatchOp
8550
8555
  * The one place the answer is computed, so the driver-facing tool payload and a dispatcher agree.
8551
8556
  */
8552
8557
  declare function freeSlots(liveCount: number, cap: number | undefined): number | null;
8553
- /** The caps a host can set on simultaneous work. See the ledger in this module's header for what
8554
- * each one actually bounds. */
8555
- interface ConcurrencyCaps {
8556
- /** Supervisor level: max spawned-but-unsettled workers. */
8557
- readonly maxLiveWorkers?: number;
8558
- /** Fleet level: max live sandboxes/boxes across the host process (a `ComputeGovernor`-style
8559
- * cap). Applies to the worker layer, so it participates in the minimum. */
8560
- readonly maxSandboxes?: number;
8561
- }
8562
- /**
8563
- * The ONE honest effective limit on simultaneous workers: the minimum of the caps that actually
8564
- * bound the worker layer. Ignores unset/non-positive caps; returns `undefined` when no cap applies
8565
- * (uncapped — the conserved pool remains the only fence).
8566
- *
8567
- * Deliberately does NOT fold in `SandboxLineage`'s fork concurrency: that bounds boxes inside ONE
8568
- * leaf's fork wave, a different unit. Folding it in would report a 4-worker ceiling for what is
8569
- * really a 4-box fanout inside a single worker.
8570
- *
8571
- * Use it once, at the top of a run, and pass the result to BOTH `maxLiveWorkers` and a
8572
- * dispatcher's `width` — that is what turns three unrelated numbers into one.
8573
- */
8574
- declare function effectiveConcurrency(caps: ConcurrencyCaps): number | undefined;
8575
8558
  /** Convenience: a `DispatchUnit` factory over a fixed array of tasks, for the common case where
8576
8559
  * the queue is known up front and only the refill behavior is wanted. */
8577
8560
  declare function queueOf<Out>(units: ReadonlyArray<{
@@ -8751,7 +8734,7 @@ declare class GraphEdgeCapError extends Error {
8751
8734
  * Forwarded to the root `supervise()` VERBATIM. Everything not owned, transformed, or refused
8752
8735
  * above belongs here — the default is "a graph honors it", not "someone remembered to add it".
8753
8736
  */
8754
- declare const GRAPH_FORWARDED_SUPERVISE_OPTIONS: readonly ["backend", "profileGuidance", "escalateQuestion", "rootHandle", "signal", "execution", "resolveDeliverable", "coordination", "peerMail", "driverBackend", "profileSecurity", "authorizeSpawn", "router", "driveHarness", "driverRetry", "onDriverAttempt", "workerRetry", "onWorkerRetry", "repromptOnUnmet", "onUnmetContract", "childSettleGraceMs", "teardownConfirmMs", "retainedAtSettlement", "resolveDriveHarness", "driveHarnessMaterialization", "resolveSupervisorTools", "extraTools", "executeExtraTool", "perWorker", "reservationPolicy", "maxLiveWorkers", "watchWorkers", "stallAfterMs", "awaitTimeoutMs", "runDir", "steerDir", "probes", "stopRule", "onProgressStop", "maxDepth", "maxTurns", "compaction", "now", "allowedModels", "finalizer", "otel"];
8737
+ declare const GRAPH_FORWARDED_SUPERVISE_OPTIONS: readonly ["backend", "profileGuidance", "escalateQuestion", "rootHandle", "signal", "execution", "resolveDeliverable", "coordination", "peerMail", "driverBackend", "profileSecurity", "authorizeSpawn", "router", "driveHarness", "driverRetry", "onDriverAttempt", "workerRetry", "onWorkerRetry", "repromptOnUnmet", "onUnmetContract", "childSettleGraceMs", "teardownConfirmMs", "retainedAtSettlement", "resolveDriveHarness", "driveHarnessMaterialization", "resolveSupervisorTools", "extraTools", "executeExtraTool", "perWorker", "reservationPolicy", "workerSlots", "watchWorkers", "stallAfterMs", "awaitTimeoutMs", "runDir", "steerDir", "probes", "stopRule", "onProgressStop", "maxDepth", "maxTurns", "compaction", "now", "allowedModels", "finalizer", "otel"];
8755
8738
  /** `backend` and `driverBackend` keep graph-specific documentation below.
8756
8739
  *
8757
8740
  * Do not inherit and redeclare them through an indexed access type.
@@ -9235,15 +9218,16 @@ interface ScopeArgs {
9235
9218
  readonly depth: number;
9236
9219
  /** Runtime recursion-depth ceiling — a spawn past it fails closed `depth-exceeded`. */
9237
9220
  readonly maxDepth?: number;
9238
- /** Root-owned limit on live spawned workers across this scope and every nested scope. */
9239
- readonly maxLiveWorkers?: number;
9240
- /** Optional policy that holds owner inference capacity and a path of descendant slots. */
9221
+ /** The allocator that bounds concurrently working agents across this scope, every nested scope,
9222
+ * and every other tree that shares it. Absent means no bound: only the budget limits concurrency. */
9223
+ readonly workerSlots?: WorkerSlots;
9224
+ /** @internal The slot this scope's own manager holds in its parent scope. A nested scope's first
9225
+ * running child works on it while the manager waits. Absent on a root scope. */
9226
+ readonly slotOwner?: SlotPermit;
9227
+ /** Optional policy that keeps part of each manager's budget for its own inference. */
9241
9228
  readonly reservationPolicy?: RecursiveReservationPolicy;
9242
9229
  /** The budget from which this scope's owner-share floor is derived. */
9243
9230
  readonly ownerBudget?: Budget;
9244
- /** @internal Shared counter inherited by nested scopes. Callers set `maxLiveWorkers`; the root
9245
- * scope creates this state once and passes the same object through its recursion seam. */
9246
- readonly liveWorkerCapacity?: LiveWorkerCapacityState;
9247
9231
  /** Abort signal for this scope; an abort cascades into every live child's executor. */
9248
9232
  readonly signal: AbortSignal;
9249
9233
  /** Injected clock — keeps the journal `at` timestamp deterministic in tests. */
@@ -9314,11 +9298,8 @@ interface ScopeArgs {
9314
9298
  };
9315
9299
  };
9316
9300
  }
9317
- /** Mutable only inside Scope admission/release. Every nested scope receives this exact object. */
9318
- interface LiveWorkerCapacityState {
9319
- readonly max: number | undefined;
9320
- live: number;
9321
- }
9301
+ /** How many of a manager's direct children its summary lists; the counts always cover all. */
9302
+ declare const SUBTREE_RESULT_LIMIT = 8;
9322
9303
  /** Create the reactive `Scope` a driver's `Agent.act` runs inside: spawn children on an atomically reserved conserved budget, settle via the `next()` cursor, journal for replay. */
9323
9304
  declare function createScope<Out>(args: ScopeArgs): Scope<Out>;
9324
9305
  /**
@@ -9335,6 +9316,11 @@ declare function createScope<Out>(args: ScopeArgs): Scope<Out>;
9335
9316
  declare function settledToIteration<Out>(settled: Settled<Out>): Iteration<unknown, Out>;
9336
9317
  //#endregion
9337
9318
  //#region src/runtime/supervise/supervisor.d.ts
9319
+ /** The default recursion-depth ceiling. The conserved pool is what bounds a tree's depth: every
9320
+ * level draws its slice from the level above, so a tree ends when its slices run out. This
9321
+ * ceiling only stops a runaway recursion that keeps spawning tiny slices, so it sits well above
9322
+ * any depth a budget can usefully pay for. */
9323
+ declare const DEFAULT_MAX_DEPTH = 16;
9338
9324
  /** Create a supervisor that owns one recursive agent execution tree. */
9339
9325
  declare function createSupervisor<Task, Out>(): Supervisor<Task, Out>;
9340
9326
  /**
@@ -9700,9 +9686,9 @@ interface SuperviseSurfaceOptions {
9700
9686
  readonly analysts?: AnalystRegistry$1 | null;
9701
9687
  /** The strategy each worker runs over the surface. Default `refine` (iterate-with-feedback). */
9702
9688
  readonly strategy?: Strategy;
9703
- /** Max workers live at once. Default 1 (serial — required when workers share a persistent artifact, so
9704
- * they continue each other instead of racing the file). */
9705
- readonly maxLiveWorkers?: number;
9689
+ /** Max workers working at once; later spawns queue. Default 1 (serial — required when workers share
9690
+ * a persistent artifact, so they continue each other instead of racing the file). */
9691
+ readonly workerSlots?: number;
9706
9692
  }
9707
9693
  /** The deployable outcome of a supervised surface run. */
9708
9694
  interface SuperviseSurfaceResult {
@@ -9855,5 +9841,5 @@ interface VerifierEnvironmentOptions {
9855
9841
  /** 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. */
9856
9842
  declare function createVerifierEnvironment(opts: VerifierEnvironmentOptions): Environment;
9857
9843
  //#endregion
9858
- export { WorkspaceRun as $, SuperviseTestOptions as $a, PanelSpec as $c, FeedbackStore as $d, DelegationError as $f, registryScopeAnalyst as $i, Interval as $l, RepairStop as $n, WriteWorkerSteerOptions as $o, SpawnForestMissingTree as $p, openSandboxRun as $r, bestDelivered as $s, runGraphWithTestBrain as $t, DownMessageEvent as $u, worktreeFanout as A, adaptiveRefine as Aa, ObserveOptions as Ac, ResolveSpawnResourcePathsResult as Ad, DelegationArgs as Af, equalKOnCost as Ai, ShapeContext as Al, unsafeInProcessRunner as An, supervisorAgentWithTestBrain as Ao, FileDelegationStoreOptions as Ap, runStrategyEvolution as Ar, PlateauOptions as As, createWorktreeCliExecutor as At, ANALYST_DEFINITION_BOUNDS as Au, VERIFY_TAIL_CHARS as B, LoopOptionsForDispatch as Ba, EqualKOnCost as Bc, McpServerOptions as Bd, hashIdempotencyInput as Bf, fanout as Bi, LeaderboardScore as Bl, ProfileRichness as Bn, CoordinationHttpAudit as Bo, defaultToolDetectors as Bp, McpSpawnFault as Br, createProgressTracker as Bs, createInPlaceCliExecutor as Bt, AuthorizeDownMessage as Bu, SurfaceWorkerConfig as C, Strategy as Ca, HarvestFailure as Cc, analystToolGroupNames as Cd, DriveTurnTick as Cf, PromotionGateOptions as Ci, Outcome as Cl, promptOnlyProfileMaterialization as Cm, delegate as Cn, SupervisorNodeContextSeed as Co, capDelegationTrace as Cp, EvolutionCandidate as Cr, workerSteerAcknowledgementsDir as Cs, ProvisionedSupervisor as Ct, bestSoFar as Cu, superviseSurface as D, StrategyResult as Da, ObservationAnalysis as Dc, normalizeAnalyzeOnSettle as Dd, formatDetachedSessionRef as Df, profileOptimizerModelCall as Di, RunPersonified as Dl, validateProfileMaterialization as Dm, CodeModeOptions as Dn, assertCoordinationBinding as Do, DelegationStateCorruptError as Dp, StrategyEvolutionConfig as Dr, writeWorkerSteer as Ds, patchDelivered as Dt, WaterfallReport as Du, failuresAnalyst as E, StrategyMessage as Ea, Observation as Ec, downMessageRefusalReasons as Ed, detachedTurnEvents as Ef, profileChatClient as Ei, PersonaExecutors as El, sandboxActProfileMaterialization as Em, finalizeBestDelivered as En, SupervisorToolInvocationContext as Eo, DelegationPersistenceError as Ep, ReproductionCheck as Er, workerSteersDir as Es, PatchDeliverableOptions as Et, WaterfallCollector as Eu, readWorkerInteractiveBinding as F, runAgentic as Fa, CombinatorShape as Fc, SpawnResourceReader as Fd, DelegationRunContext as Ff, definePersona as Fi, LeaderboardBenchmarkAdapter as Fl, ChatWorkerSeamOptions as Fn, CoordinationAuthentication as Fo, BusStats as Fp, authorStrategy as Fr, StopDecision as Fs, workerFromInteractiveProvider as Ft, AnalystRegistry$1 as Fu, CopyOptions as G, superviseDispatch as Ga, FanoutSynthesis as Gc, DELEGATE_TOOL_NAME as Gd, DelegateFeedbackResult as Gf, selectValidWinner as Gi, CompletionPolicy as Gl, profileRichnessFinding as Gn, FileCoordinationLog as Go, mapExecutorResult as Gp, materializeLocalMcp as Gr, SupervisorSpanOptions as Gs, GraphEdgeCapError as Gt, CoordinationStats as Gu, closingWorkerNote as H, SuperviseOptionsForDispatch as Ha, EqualKVerdict as Hc, createMcpServer as Hd, DelegateCodeConfig as Hf, loopUntil as Hi, defineLeaderboard as Hl, asAuthoredProfile as Hn, CoordinationDeliveryEvidence as Ho, DeliverableSpec as Hp, StdioMcpConnection as Hr, plateau as Hs, EdgeDeliveryOutcome as Ht, ContinuationInstruction as Hu, workerInteractiveBindingFile as I, sample as Ia, Corpus as Ic, environmentReader as Id, DelegationTaskQueue as If, runPersonified as Ii, LeaderboardFlagSpec as Il, chatTransportExecutor as In, CoordinationMcpHandle as Io, EventBus as Ip, strategyAuthorContract as Ir, StopRule as Is, WorkerInteractiveAdmission as It, AnalystToolGroupName as Iu, withUntrackedArtifacts as J, DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY as Ja, LoopUntil as Jc, DelegateHandlerOptions as Jd, DelegateResearchResult as Jf, CreateScopeAnalystOptions as Ji, deterministicCompletion as Jl, CheckOutcome as Jn, RunCancellation as Jo, InMemoryResultBlobStore as Jp, OpenSandboxRunOptions as Jr, createSupervisorSpanRecorder as Js, RunGraphOptions as Jt, DEFAULT_AWAIT_EVENT_TIMEOUT_MS as Ju, UntrackedCopyStats as K, AuthorizedSpawn as Ka, FanoutWinnerSelector as Kc, DelegateArgs as Kd, DelegateResearchArgs as Kf, verify as Ki, CompletionVerdict as Kl, supervisorInstructions as Kn, PriorCoordination as Ko, FileResultBlobStore as Kp, Deliverable as Kr, SupervisorSpanOutcome as Ks, GraphNode as Kt, CoordinationTools as Ku, workerInteractiveBindingsDir as L, sampleThenRefine as La, CorpusFilter as Lc, hostDirectoryReader as Ld, DelegationTaskQueueOptions as Lf, FileCorpus as Li, LeaderboardIterationInfo as Ll, chatWorkerSeam as Ln, CoordinationPublicAddress as Lo, PublishOptions as Lp, strategyAuthorSystemPrompt as Lr, allOf as Ls, readWorkerInteractiveAdmissions as Lt, AnalyzeOnSettleRoute as Lu, WorkerInteractiveBinding as M, defineStrategy as Ma, observe as Mc, SPAWN_RESOURCE_PATH_MAX_BYTES as Md, DelegationResumeContext as Mf, builtinShapes as Mi, DefinedLeaderboard as Ml, ChatSessionStore as Mn, ReentryTaskInput as Mo, CoderOutput as Mp, AuthorStrategyOptions as Mr, ProgressTracker as Ms, InteractiveWorkerKeyInput as Mt, AnalystFindingEvent as Mu, WorkerInteractiveProviderSource as N, depthStrategy as Na, renderReport as Nc, SpawnResourceBytes as Nd, DelegationResumeDriver as Nf, createShapeRegistry as Ni, LeaderboardBenchScore as Nl, ChatTransportExecutorOptions as Nn, UNPROVEN_CONTINUITY as No, BusEvent as Np, AuthoredStrategy as Nr, ProgressTrackerOptions as Ns, InteractiveWorkerOptions as Nt, AnalystKind as Nu, AuthoredHarness as O, StrategyShotResult as Oa, ObservationError as Oc, parseAuthoredAnalystDefinition as Od, parseDetachedSessionRef as Of, assertModelAllowed as Oi, RunPersonifiedOptions as Ol, worktreeCliProfileMaterialization as Om, CodeModeRunner as On, resolveSupervisorProfile as Oo, DelegationStore as Op, discriminatingMeans as Or, AllWorkersStalledOptions as Os, WorktreeCliExecutorOptions as Ot, WaterfallSpan as Ou, attachWorker as P, refine as Pa, AssertTraceDerivedFindings as Pc, SpawnResourceRead as Pd, DelegationResumeTick as Pf, registerShape as Pi, LeaderboardBenchTask as Pl, ChatTransportTool as Pn, composeReentryTask as Po, BusRecord as Pp, assertStrategyContract as Pr, ProgressView as Ps, InteractiveWorkerResult as Pt, AnalystLensOutput as Pu, WorkspaceCommit as Q, SuperviseRegistryTable as Qa, PanelJudge as Qc, FeedbackEvent as Qd, DelegateUiAuditRoute as Qf, createScopeAnalyst as Qi, GroupOf as Ql, CheckSourceCtx as Qn, WorkerSteerRequest as Qo, SpawnForestInDoubtNode as Qp, TurnResult as Qr, SupervisorFinalizer as Qs, runGraph as Qt, DownMessageDeliveryOutcome as Qu, EVIDENCE_MAX_CHARS as R, LoopCampaignDispatchOptions as Ra, CorpusRecord as Rc, resolveSpawnResourcePaths as Rd, SubmitInput as Rf, InMemoryCorpus as Ri, LeaderboardRunContext as Rl, createChatSessionStore as Rn, CoordinationTransportOptions as Ro, createEventBus as Rp, LocalMcpMaterialization as Rr, allWorkersStalled as Rs, workerInteractiveAdmissionFile as Rt, AuthoredAnalystDefinition as Ru, SuperviseSurfaceResult as S, ShotSpec as Sa, HarvestError as Sc, WorkerWatchOptions as Sd, DriveTurnCapableBox as Sf, resolveSandboxClient as Si, LoopShape as Sl, promptModelProfileMaterialization as Sm, defaultDelegateBudget as Sn, SupervisorNodeContext as So, buildDelegationTraceSpans as Sp, EvolutionBandInfo as Sr, workerSteerAcknowledgementFile as Ss, ProvisionSupervisorRequest as St, areaUnderCurve as Su, analystsFromRegistry as T, StrategyCtx as Ta, harvestCorpus as Tc, createCoordinationTools as Td, createDetachedTurnResumeDriver as Tf, promotionGate as Ti, PersonaContext as Tl, renderProfileMaterializationIssues as Tm, driverAgent as Tn, SupervisorToolDescriptor as To, createDelegationTraceCollector as Tp, EvolutionReport as Tr, workerSteerRequestsDir as Ts, provisionSupervisor as Tt, renderAnytimeTable as Tu, composeWorkerEvidence as U, loopCampaignDispatch as Ua, Fanout as Uc, DELEGATE_DESCRIPTION as Ud, DelegateCodeResult as Uf, panel as Ui, CompletionAnalyst as Ul, assessAuthoredProfile as Un, CoordinationLog as Uo, ExecutorResultMapping as Up, StdioMcpServerSpec as Ur, sampleFromSettled as Us, EdgeTraversal as Ut, ContinuityMode as Uu, WorkerEvidenceInput as V, SuperviseDispatchOptions as Va, EqualKOnCostOptions as Vc, createInProcessTransport as Vd, DelegateCodeArgs as Vf, flatWidenGate as Vi, LeaderboardSpec as Vl, ProfileRichnessThresholds as Vn, CoordinationHttpOptions as Vo, watchTrace as Vp, McpToolDescriptor as Vr, noProgressFor as Vs, AgentGraph as Vt, AuthorizedDownMessage as Vu, settledWorkerOut as W, loopDispatch as Wa, FanoutOptions as Wc, DELEGATE_INPUT_SCHEMA as Wd, DelegateFeedbackArgs as Wf, pipeline as Wi, CompletionEvidence as Wl, defaultProfileRichnessThresholds as Wn, CoordinationOwnerId as Wo, gateOnDeliverable as Wp, connectStdioMcp as Wr, SupervisorSpanAttributes as Ws, GraphEdge as Wt, CoordinationEvent as Wu, Shell as X, SuperviseOptions as Xa, LoopUntilState as Xc, createDelegateHandler as Xd, DelegateUiAuditConfig as Xf, assertTraceDerivedFindings as Xi, stopSentinel as Xl, CheckRunner as Xn, WorkerCancellation as Xo, SpawnForest as Xp, SandboxRun as Xr, FinalizeContext as Xs, TraversalContinuity as Xt, DownMessageAuthorizationInput as Xu, GitWorkspaceOptions as Y, DeliverableResolutionInput as Ya, LoopUntilSpec as Yc, DelegateResult as Yd, DelegateUiAuditArgs as Yf, RegistryAnalyzeProjection as Yi, sentinelCompletion as Yl, CheckRunContext as Yn, WorkerCancelRequest as Yo, InMemorySpawnJournal as Yp, OpenSandboxRunPromptOptions as Yr, DeliveredOutput as Ys, RunGraphTestOptions as Yt, DefinedAnalystRecord as Yu, Workspace as Z, SuperviseRegistry as Za, Panel as Zc, validateDelegateArgs as Zd, DelegateUiAuditResult as Zf, buildSteerContext as Zi, AxisScoresOf as Zl, CheckSource as Zn, WorkerSteerAcknowledgement as Zo, SpawnForestEvent as Zp, SandboxRunAbortError as Zr, FinalizerSettled as Zs, defaultEdgeTraversalCap as Zt, DownMessageDeliveryAttempt as Zu, boxSurfaceReader as _, AgenticTask as _a, InProcessOnPrompt as _c, SpawnRefusal as _d, createFleetWorkspaceExecutor as _f, claimRetainedInteractiveControl as _i, WidenLineage as _l, controlProfileMaterialization as _m, effectiveConcurrency as _n, ResolveDriveHarness as _o, DELEGATION_TRACE_MAX_BYTES as _p, visibleCheckScore as _r, workerCancellationFile as _s, InMemoryRunContextOptions as _t, defaultAuditorInstruction as _u, SandboxInstance$1 as a, BenchmarkCell as aa, TerminalDecision as ac, QuestionDecision as ad, DelegateRunCtx as af, SessionCapableBox as ai, ScopeAnalyst as al, replaySpawnTree as am, delegatesWorkerBriefPrompt as an, WorkerSpawnRetryHooks as ao, DelegationProgress as ap, canDisplace as ar, readRunCancellation as as, analyzeTrace as at, ProfileKeyOf as au, AnalystAuthoring as b, CorpusReadbackOptions as ba, inProcessSandboxClient as bc, WorkerResumeContext as bd, DetachedTurn as bf, startRetainedInteractiveRun as bi, DefinePersona as bl, profileMaterializationAxes$1 as bm, rollingDispatch as bn, SupervisorAgentDeps as bo, DelegationTraceCollector as bp, EvolutionArchiveNode as br, workerInboxFile as bs, createInMemoryRunContext as bt, AnytimeTaskCurve as bu, VerifierEnvironmentOptions as c, BenchmarkReport as ca, runAgentRounds as cc, QuestionEscalationTarget as cd, SettleDetachedCoderTurnOptions as cf, SandboxCapabilities as ci, SteerContext as cl, AgentProfileMaterializationAxis as cm, formatPromptHandle as cn, resolveWorkerSpawnRetry as co, DelegationStatusArgs as cp, defaultExtractCandidate as cr, readWorkerSteerAcknowledgement as cs, captureWorkerTraceEvidence as ct, pairwiseSignificance as cu, HarvestSurfaceDiffsOptions as d, Environment as da, IsolatedCheckBox as dc, QuestionPolicy as dd, detachedSessionDelegate as df, acquireSandbox as di, TrajectoryReportFn as dl, DefineProfileMaterializationContractOptions as dm, promptHandle as dn, CoordinationBinding as do, FeedbackRefersTo as dp, modelAuthoredChecks as dr, runCancellationFile as ds, createRootHandle as dt, renderLeaderboardSvg as du, observationFromRegistry as ea, collectDelivered as ec, EscalateQuestion as ed, InMemoryFeedbackStore as ef, BranchCapableBox as ei, PanelVerdict as el, SpawnForestNode as em, PromptHandle as en, supervise as eo, DelegationFeedbackSnapshot as ep, StructuralRolloutConfig as er, cancelRun as es, gitWorkspace as et, Leaderboard as eu, SurfaceDiff as f, printBenchmarkReport as fa, IsolatedCheckBoxEvidence as fc, QuestionRecord as fd, settleDetachedCoderTurn as ff, reconnectRetainedRun as fi, TrajectoryReportOptions as fl, KnownAgentProfileMaterializationAxis as fm, ConcurrencyCaps as fn, CoordinationToolFace as fo, ResearchOutputShape as fp, officialChecksFromMeta as fr, safeWorkerFile as fs, createSupervisor as ft, renderPairwiseMarkdown as fu, WatchedSurface as g, AgenticSurface as ga, inlineSandboxClient as gc, SpawnPreflightContext as gd, SiblingSandboxExecutorOptions as gf, ClaimRetainedInteractiveControlOptions as gi, WidenDecision as gl, assertProfileMaterialization as gm, RollingDispatchOptions as gn, ObserveSupervisorNodeEvent as go, CappedDelegationTrace as gp, structuralRollout as gr, workerCancelRequestsFile as gs, InMemoryRunContext as gt, auditIntent as gu, SurfaceReader as h, AgenticRunResult as ha, runIsolatedCheck as hc, SpawnPreflight as hd, FleetWorkspaceExecutorOptions as hf, startRetainedRunInEnvironment as hi, Widen as hl, ValidateProfileMaterializationOptions as hm, DispatchUnit as hn, DriveHarnessOwnerContext as ho, delegationProfiles as hp, selectBestIndex as hr, supervisorWorkersDir as hs, settledToIteration as ht, IntentAudit as hu, SandboxEvent$1 as i, sanitizeMcpToolSchema as ia, TERMINAL_DECISIONS as ic, Question as id, CoderReviewer as if, SandboxLineageHandle as ii, RenderCorpusToInstructionsOptions as il, pendingWaits as im, createPromptRegistry as in, WorkerSpawnRetryAttempt as io, DelegationProfile as ip, VisibleCheck as ir, readRunCancelRequest as is, TrajectoryAnalysis as it, PairwiseVerdict as iu, AttachWorkerOptions as j, breadthStrategy as ja, defaultAnalystInstruction as jc, ResolvedSpawnResourcePath as jd, DelegationRecord as jf, trajectoryReport as ji, ShapeRegistry as jl, ChatCompletionsTransport as jn, ReentryContinuity as jo, InMemoryDelegationStore as jp, selectChampion as jr, ProgressSample as js, InteractiveWorkerEnvironment as jt, AnalystDefinitionIssue as ju, WorktreeFanoutOptions as k, SurfaceScore as ka, ObserveInput as kc, questionEscalationTargets as kd, runDetachedTurn as kf, assertProfileModelsAllowed as ki, ShapeBudget as kl, codeModeSupervisorTools as kn, supervisorAgent as ko, FileDelegationStore as kp, pickChampion as kr, NoProgressForOptions as ks, WorktreePatchArtifact as kt, createWaterfallCollector as ku, createVerifierEnvironment as l, BenchmarkStrategySummary as la, LocalSandboxClientOptions as lc, QuestionLevel as ld, UiAuditorDelegate as lf, probeSandboxCapabilities as li, TrajectoryNode as ll, AssertProfileMaterializationOptions as lm, kernelPromptRegistry as ln, retryPreSpawnRefusals as lo, DelegationStatusResult as lp, defaultStructuralRolloutPolicy as lr, readWorkerSteerRequests as ls, parseWorkerToolTraceArtifact as lt, renderLeaderboardHtml as lu, SurfaceReadOutcome as m, AgenticOptions as ma, IsolatedCheckResult as mc, SettledWorker as md, FleetHandle as mf, startRetainedRun as mi, VerifySpec as ml, ProfileMaterializationIssue as mm, DispatchStopReason as mn, DriveHarness as mo, UiAuditorDelegationOutput as mp, sandboxCheckRunner as mr, supervisorRunsRoot as ms, createScope as mt, AuditIntentOptions as mu, AnalystFinding$1 as n, McpEnvironmentOptions as na, runFinalizer as nc, MakeWorkerAgent as nd, CoderDelegate as nf, ForkCapableBox as ni, PipelineStage as nl, loadSpawnForest as nm, RegisteredPrompt as nn, workerFromBackend as no, DelegationHistoryEntry as np, StructuralRolloutPolicy as nr, legacySupervisorRunDir as ns, localShell as nt, LeaderboardRow as nu, computeFindingId$1 as o, BenchmarkConfig as oa, defaultSelectWinner as oc, QuestionEscalationOutcome as od, DetachedSessionDelegateOptions as of, createSandboxLineage as oi, ScopeAnalyzeInput as ol, contentAddress as om, dumbContinuationFailPrompt as on, WorkerSpawnRetryPolicy as oo, DelegationResultPayload as op, compareCheckOutcomes as or, readWorkerCancelRequests as os, WORKER_TOOL_TRACE_SCHEMA_VERSION as ot, ScoreOf as ou, SurfaceReadBox as p, runBenchmark as pa, IsolatedCheckOptions as pc, QuestionUrgency as pd, DelegationExecutor as pf, recoverRetainedRun as pi, Verify as pl, ProfileMaterializationContract as pm, DispatchReport as pn, CoordinationVerbs as po, UiAuditLensFilter as pp, resolveEntrySymbol as pr, supervisorRunDir as ps, ScopeArgs as pt, AuditIntentInput as pu, copyUntrackedIntoClone as q, AuthorizedSpawnContext as qa, FlatWidenGate as qc, DelegateError as qd, DelegateResearchConfig as qf, widen as qi, completionAuthorizes as ql, CheckExecChannel as qn, RunCancelRequest as qo, FileSpawnJournal as qp, OpenSandboxRunBeforeStartContext as qr, SupervisorSpanRecorder as qs, GraphResult as qt, CoordinationToolsOptions as qu, CreateSandboxOptions$1 as r, createMcpEnvironment as ra, RunAgentRoundsOptions as rc, ManagerReentryState as rd, CoderReview as rf, SandboxLineage as ri, RenderCorpusToInstructions as rl, materializeTreeView as rm, analyzesFindingsReportPrompt as rn, ResolvedWorkerSpawnRetry as ro, DelegationHistoryResult as rp, StructuralRolloutResult as rr, legacySupervisorRunsRoot as rs, runInWorkspace as rt, PairwiseOptions as ru, makeFinding$1 as s, BenchmarkLift as sa, isTerminalDecision as sc, QuestionEscalationRecord as sd, DetachedWinnerSelection as sf, CriuCapableClient as si, ScopeWidenGate as sl, AGENT_PROFILE_MATERIALIZATION_AXES as sm, dumbContinuationPassPrompt as sn, isPreSpawnExecutorFailure as so, DelegationStatus as sp, composeCheckSources as sr, readWorkerCancellation as ss, WorkerToolTraceArtifact as st, leaderboard as su, AgentProfile$2 as t, McpEndpoint as ta, pickBestDelivered as tc, EventAcknowledgement as td, eventToSnapshot as tf, CheckpointCapableBox as ti, Pipeline as tl, SpawnForestTree as tm, PromptRegistry as tn, superviseWithTestBrain as to, DelegationHistoryArgs as tp, StructuralRolloutMessage as tr, cancelWorker as ts, jjWorkspace as tt, LeaderboardOptions as tu, BoxSurfaceReaderOptions as u, BenchmarkTaskRow as ua, localSandboxClient as uc, QuestionOption as ud, coderTaskFromArgs as uf, AcquireOptions as ui, TrajectoryReport as ul, CanonicalAgentProfileMaterializationAxis as um, naiveContinuationPrompt as un, withWorkerSpawnRetry as uo, FeedbackRating as up, filterAuthoredAsserts as ur, runCancelRequestFile as us, workerTraceAnalysisStore as ut, renderLeaderboardMarkdown as uu, fsSurfaceReader as v, AgenticTool as va, InProcessPromptCtx as vc, SpawnRefusalCause as vd, createSiblingSandboxExecutor as vf, reconnectRetainedInteractiveRun as vi, WidenSpec as vl, defineProfileMaterializationContract as vm, freeSlots as vn, ResolveSupervisorTools as vo, DELEGATION_TRACE_MAX_SPANS as vp, ChampionPick as vr, workerCancellationsDir as vs, RunContext as vt, AnytimeReport as vu, SurfaceWorkerOut as w, StrategyArtifacts as wa, HarvestReport as wc, canonicalFindingEvent as wd, RunDetachedTurnOptions as wf, PromotionVerdict as wi, Persona as wl, promptResourceProfileMaterialization as wm, DriverAgentOptions as wn, SupervisorProfile as wo, composeLoopTraceEmitters as wp, EvolutionGeneration as wr, workerSteerRequestFile as ws, SupervisorCleanupReceipt as wt, plateauLength as wu, SuperviseSurfaceOptions as x, RunAgenticOptions as xa, HarvestCorpusOptions as xc, WorkerSpawnContext as xd, DetachedTurnResumeDriverOptions as xf, ResolveSandboxClientOptions as xi, DefinePersonaInput as xl, promptControlProfileMaterialization as xm, DelegateOptions as xn, SupervisorAgentTestDeps as xo, DelegationTraceSpan as xp, EvolutionAuthor as xr, workerInboxFileFromEventDir as xs, ProvisionSupervisorConnection as xt, anytimeReport as xu, harvestSurfaceDiffs as y, ArtifactHandle as ya, InProcessSandboxClientOptions as yc, SuperviseProfileEntry as yd, DetachedSessionRefParts as yf, recoverRetainedInteractiveRun as yi, WinnerStrategy as yl, fullProfileMaterialization as ym, queueOf as yn, ResolvedSupervisorProfile as yo, DelegationTraceCaps as yp, ChampionPolicy as yr, workerControlLogFile as ys, createFileRunContext as yt, AnytimeStrategySummary as yu, NOTE_MAX_CHARS as z, LoopDispatchOptions as za, EqualKArm as zc, McpServer as zd, SubmitOutput as zf, renderCorpusToInstructions as zi, LeaderboardScenario as zl, AuthoredProfile as zn, serveCoordinationMcp as zo, WatchTraceOptions as zp, MaterializeLocalMcpOptions as zr, anyOf as zs, InPlaceCliExecutorOptions as zt, AuthoredAnalystLimits as zu };
9859
- //# sourceMappingURL=index-9wXpbjbX.d.ts.map
9844
+ export { WorkspaceRun as $, SuperviseTestOptions as $a, PanelSpec as $c, FeedbackStore as $d, DelegationError as $f, registryScopeAnalyst as $i, Interval as $l, RepairStop as $n, WriteWorkerSteerOptions as $o, SpawnForestMissingTree as $p, openSandboxRun as $r, bestDelivered as $s, defaultEdgeTraversalCap as $t, DownMessageEvent as $u, worktreeFanout as A, adaptiveRefine as Aa, ObserveOptions as Ac, ResolveSpawnResourcePathsResult as Ad, DelegationArgs as Af, equalKOnCost as Ai, ShapeContext as Al, unsafeInProcessRunner as An, supervisorAgentWithTestBrain as Ao, FileDelegationStoreOptions as Ap, runStrategyEvolution as Ar, PlateauOptions as As, WorktreeCliExecutorOptions as At, ANALYST_DEFINITION_BOUNDS as Au, VERIFY_TAIL_CHARS as B, LoopOptionsForDispatch as Ba, EqualKOnCost as Bc, McpServerOptions as Bd, hashIdempotencyInput as Bf, fanout as Bi, LeaderboardScore as Bl, ProfileRichness as Bn, CoordinationHttpAudit as Bo, defaultToolDetectors as Bp, McpSpawnFault as Br, createProgressTracker as Bs, workerInteractiveAdmissionFile as Bt, AuthorizeDownMessage as Bu, SurfaceWorkerConfig as C, Strategy as Ca, HarvestFailure as Cc, analystToolGroupNames as Cd, DriveTurnTick as Cf, PromotionGateOptions as Ci, Outcome as Cl, promptOnlyProfileMaterialization as Cm, delegate as Cn, SupervisorNodeContextSeed as Co, capDelegationTrace as Cp, EvolutionCandidate as Cr, workerSteerAcknowledgementsDir as Cs, ProvisionSupervisorConnection as Ct, bestSoFar as Cu, superviseSurface as D, StrategyResult as Da, ObservationAnalysis as Dc, normalizeAnalyzeOnSettle as Dd, formatDetachedSessionRef as Df, profileOptimizerModelCall as Di, RunPersonified as Dl, validateProfileMaterialization as Dm, CodeModeOptions as Dn, assertCoordinationBinding as Do, DelegationStateCorruptError as Dp, StrategyEvolutionConfig as Dr, writeWorkerSteer as Ds, provisionSupervisor as Dt, WaterfallReport as Du, failuresAnalyst as E, StrategyMessage as Ea, Observation as Ec, downMessageRefusalReasons as Ed, detachedTurnEvents as Ef, profileChatClient as Ei, PersonaExecutors as El, sandboxActProfileMaterialization as Em, finalizeBestDelivered as En, SupervisorToolInvocationContext as Eo, DelegationPersistenceError as Ep, ReproductionCheck as Er, workerSteersDir as Es, SupervisorCleanupReceipt as Et, WaterfallCollector as Eu, readWorkerInteractiveBinding as F, runAgentic as Fa, CombinatorShape as Fc, SpawnResourceReader as Fd, DelegationRunContext as Ff, definePersona as Fi, LeaderboardBenchmarkAdapter as Fl, ChatWorkerSeamOptions as Fn, CoordinationAuthentication as Fo, BusStats as Fp, authorStrategy as Fr, StopDecision as Fs, InteractiveWorkerOptions as Ft, AnalystRegistry$1 as Fu, CopyOptions as G, superviseDispatch as Ga, FanoutSynthesis as Gc, DELEGATE_TOOL_NAME as Gd, DelegateFeedbackResult as Gf, selectValidWinner as Gi, CompletionPolicy as Gl, profileRichnessFinding as Gn, FileCoordinationLog as Go, mapExecutorResult as Gp, materializeLocalMcp as Gr, SupervisorSpanOptions as Gs, EdgeTraversal as Gt, CoordinationStats as Gu, closingWorkerNote as H, SuperviseOptionsForDispatch as Ha, EqualKVerdict as Hc, createMcpServer as Hd, DelegateCodeConfig as Hf, loopUntil as Hi, defineLeaderboard as Hl, asAuthoredProfile as Hn, CoordinationDeliveryEvidence as Ho, DeliverableSpec as Hp, StdioMcpConnection as Hr, plateau as Hs, createInPlaceCliExecutor as Ht, ContinuationInstruction as Hu, workerInteractiveBindingFile as I, sample as Ia, Corpus as Ic, environmentReader as Id, DelegationTaskQueue as If, runPersonified as Ii, LeaderboardFlagSpec as Il, chatTransportExecutor as In, CoordinationMcpHandle as Io, EventBus as Ip, strategyAuthorContract as Ir, StopRule as Is, InteractiveWorkerResult as It, AnalystToolGroupName as Iu, withUntrackedArtifacts as J, DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY as Ja, LoopUntil as Jc, DelegateHandlerOptions as Jd, DelegateResearchResult as Jf, CreateScopeAnalystOptions as Ji, deterministicCompletion as Jl, CheckOutcome as Jn, RunCancellation as Jo, InMemoryResultBlobStore as Jp, OpenSandboxRunOptions as Jr, createSupervisorSpanRecorder as Js, GraphNode as Jt, DEFAULT_AWAIT_EVENT_TIMEOUT_MS as Ju, UntrackedCopyStats as K, AuthorizedSpawn as Ka, FanoutWinnerSelector as Kc, DelegateArgs as Kd, DelegateResearchArgs as Kf, verify as Ki, CompletionVerdict as Kl, supervisorInstructions as Kn, PriorCoordination as Ko, FileResultBlobStore as Kp, Deliverable as Kr, SupervisorSpanOutcome as Ks, GraphEdge as Kt, CoordinationTools as Ku, workerInteractiveBindingsDir as L, sampleThenRefine as La, CorpusFilter as Lc, hostDirectoryReader as Ld, DelegationTaskQueueOptions as Lf, FileCorpus as Li, LeaderboardIterationInfo as Ll, chatWorkerSeam as Ln, CoordinationPublicAddress as Lo, PublishOptions as Lp, strategyAuthorSystemPrompt as Lr, allOf as Ls, workerFromInteractiveProvider as Lt, AnalyzeOnSettleRoute as Lu, WorkerInteractiveBinding as M, defineStrategy as Ma, observe as Mc, SPAWN_RESOURCE_PATH_MAX_BYTES as Md, DelegationResumeContext as Mf, builtinShapes as Mi, DefinedLeaderboard as Ml, ChatSessionStore as Mn, ReentryTaskInput as Mo, CoderOutput as Mp, AuthorStrategyOptions as Mr, ProgressTracker as Ms, createWorktreeCliExecutor as Mt, AnalystFindingEvent as Mu, WorkerInteractiveProviderSource as N, depthStrategy as Na, renderReport as Nc, SpawnResourceBytes as Nd, DelegationResumeDriver as Nf, createShapeRegistry as Ni, LeaderboardBenchScore as Nl, ChatTransportExecutorOptions as Nn, UNPROVEN_CONTINUITY as No, BusEvent as Np, AuthoredStrategy as Nr, ProgressTrackerOptions as Ns, InteractiveWorkerEnvironment as Nt, AnalystKind as Nu, AuthoredHarness as O, StrategyShotResult as Oa, ObservationError as Oc, parseAuthoredAnalystDefinition as Od, parseDetachedSessionRef as Of, assertModelAllowed as Oi, RunPersonifiedOptions as Ol, worktreeCliProfileMaterialization as Om, CodeModeRunner as On, resolveSupervisorProfile as Oo, DelegationStore as Op, discriminatingMeans as Or, AllWorkersStalledOptions as Os, PatchDeliverableOptions as Ot, WaterfallSpan as Ou, attachWorker as P, refine as Pa, AssertTraceDerivedFindings as Pc, SpawnResourceRead as Pd, DelegationResumeTick as Pf, registerShape as Pi, LeaderboardBenchTask as Pl, ChatTransportTool as Pn, composeReentryTask as Po, BusRecord as Pp, assertStrategyContract as Pr, ProgressView as Ps, InteractiveWorkerKeyInput as Pt, AnalystLensOutput as Pu, WorkspaceCommit as Q, SuperviseRegistryTable as Qa, PanelJudge as Qc, FeedbackEvent as Qd, DelegateUiAuditRoute as Qf, createScopeAnalyst as Qi, GroupOf as Ql, CheckSourceCtx as Qn, WorkerSteerRequest as Qo, SpawnForestInDoubtNode as Qp, TurnResult as Qr, SupervisorFinalizer as Qs, TraversalContinuity as Qt, DownMessageDeliveryOutcome as Qu, EVIDENCE_MAX_CHARS as R, LoopCampaignDispatchOptions as Ra, CorpusRecord as Rc, resolveSpawnResourcePaths as Rd, SubmitInput as Rf, InMemoryCorpus as Ri, LeaderboardRunContext as Rl, createChatSessionStore as Rn, CoordinationTransportOptions as Ro, createEventBus as Rp, LocalMcpMaterialization as Rr, allWorkersStalled as Rs, WorkerInteractiveAdmission as Rt, AuthoredAnalystDefinition as Ru, SuperviseSurfaceResult as S, ShotSpec as Sa, HarvestError as Sc, WorkerWatchOptions as Sd, DriveTurnCapableBox as Sf, resolveSandboxClient as Si, LoopShape as Sl, promptModelProfileMaterialization as Sm, defaultDelegateBudget as Sn, SupervisorNodeContext as So, buildDelegationTraceSpans as Sp, EvolutionBandInfo as Sr, workerSteerAcknowledgementFile as Ss, createInMemoryRunContext as St, areaUnderCurve as Su, analystsFromRegistry as T, StrategyCtx as Ta, harvestCorpus as Tc, createCoordinationTools as Td, createDetachedTurnResumeDriver as Tf, promotionGate as Ti, PersonaContext as Tl, renderProfileMaterializationIssues as Tm, driverAgent as Tn, SupervisorToolDescriptor as To, createDelegationTraceCollector as Tp, EvolutionReport as Tr, workerSteerRequestsDir as Ts, ProvisionedSupervisor as Tt, renderAnytimeTable as Tu, composeWorkerEvidence as U, loopCampaignDispatch as Ua, Fanout as Uc, DELEGATE_DESCRIPTION as Ud, DelegateCodeResult as Uf, panel as Ui, CompletionAnalyst as Ul, assessAuthoredProfile as Un, CoordinationLog as Uo, ExecutorResultMapping as Up, StdioMcpServerSpec as Ur, sampleFromSettled as Us, AgentGraph as Ut, ContinuityMode as Uu, WorkerEvidenceInput as V, SuperviseDispatchOptions as Va, EqualKOnCostOptions as Vc, createInProcessTransport as Vd, DelegateCodeArgs as Vf, flatWidenGate as Vi, LeaderboardSpec as Vl, ProfileRichnessThresholds as Vn, CoordinationHttpOptions as Vo, watchTrace as Vp, McpToolDescriptor as Vr, noProgressFor as Vs, InPlaceCliExecutorOptions as Vt, AuthorizedDownMessage as Vu, settledWorkerOut as W, loopDispatch as Wa, FanoutOptions as Wc, DELEGATE_INPUT_SCHEMA as Wd, DelegateFeedbackArgs as Wf, pipeline as Wi, CompletionEvidence as Wl, defaultProfileRichnessThresholds as Wn, CoordinationOwnerId as Wo, gateOnDeliverable as Wp, connectStdioMcp as Wr, SupervisorSpanAttributes as Ws, EdgeDeliveryOutcome as Wt, CoordinationEvent as Wu, Shell as X, SuperviseOptions as Xa, LoopUntilState as Xc, createDelegateHandler as Xd, DelegateUiAuditConfig as Xf, assertTraceDerivedFindings as Xi, stopSentinel as Xl, CheckRunner as Xn, WorkerCancellation as Xo, SpawnForest as Xp, SandboxRun as Xr, FinalizeContext as Xs, RunGraphOptions as Xt, DownMessageAuthorizationInput as Xu, GitWorkspaceOptions as Y, DeliverableResolutionInput as Ya, LoopUntilSpec as Yc, DelegateResult as Yd, DelegateUiAuditArgs as Yf, RegistryAnalyzeProjection as Yi, sentinelCompletion as Yl, CheckRunContext as Yn, WorkerCancelRequest as Yo, InMemorySpawnJournal as Yp, OpenSandboxRunPromptOptions as Yr, DeliveredOutput as Ys, GraphResult as Yt, DefinedAnalystRecord as Yu, Workspace as Z, SuperviseRegistry as Za, Panel as Zc, validateDelegateArgs as Zd, DelegateUiAuditResult as Zf, buildSteerContext as Zi, AxisScoresOf as Zl, CheckSource as Zn, WorkerSteerAcknowledgement as Zo, SpawnForestEvent as Zp, SandboxRunAbortError as Zr, FinalizerSettled as Zs, RunGraphTestOptions as Zt, DownMessageDeliveryAttempt as Zu, boxSurfaceReader as _, AgenticTask as _a, InProcessOnPrompt as _c, SpawnRefusal as _d, createFleetWorkspaceExecutor as _f, claimRetainedInteractiveControl as _i, WidenLineage as _l, controlProfileMaterialization as _m, RollingDispatchOptions as _n, ResolveDriveHarness as _o, DELEGATION_TRACE_MAX_BYTES as _p, visibleCheckScore as _r, workerCancellationFile as _s, settledToIteration as _t, defaultAuditorInstruction as _u, SandboxInstance$1 as a, BenchmarkCell as aa, TerminalDecision as ac, QuestionDecision as ad, DelegateRunCtx as af, SessionCapableBox as ai, ScopeAnalyst as al, replaySpawnTree as am, analyzesFindingsReportPrompt as an, WorkerSpawnRetryHooks as ao, DelegationProgress as ap, canDisplace as ar, readRunCancellation as as, analyzeTrace as at, ProfileKeyOf as au, AnalystAuthoring as b, CorpusReadbackOptions as ba, inProcessSandboxClient as bc, WorkerResumeContext as bd, DetachedTurn as bf, startRetainedInteractiveRun as bi, DefinePersona as bl, profileMaterializationAxes$1 as bm, rollingDispatch as bn, SupervisorAgentDeps as bo, DelegationTraceCollector as bp, EvolutionArchiveNode as br, workerInboxFile as bs, RunContext as bt, AnytimeTaskCurve as bu, VerifierEnvironmentOptions as c, BenchmarkReport as ca, runAgentRounds as cc, QuestionEscalationTarget as cd, SettleDetachedCoderTurnOptions as cf, SandboxCapabilities as ci, SteerContext as cl, AgentProfileMaterializationAxis as cm, dumbContinuationFailPrompt as cn, resolveWorkerSpawnRetry as co, DelegationStatusArgs as cp, defaultExtractCandidate as cr, readWorkerSteerAcknowledgement as cs, captureWorkerTraceEvidence as ct, pairwiseSignificance as cu, HarvestSurfaceDiffsOptions as d, Environment as da, IsolatedCheckBox as dc, QuestionPolicy as dd, detachedSessionDelegate as df, acquireSandbox as di, TrajectoryReportFn as dl, DefineProfileMaterializationContractOptions as dm, kernelPromptRegistry as dn, CoordinationBinding as do, FeedbackRefersTo as dp, modelAuthoredChecks as dr, runCancellationFile as ds, DEFAULT_MAX_DEPTH as dt, renderLeaderboardSvg as du, observationFromRegistry as ea, collectDelivered as ec, EscalateQuestion as ed, InMemoryFeedbackStore as ef, BranchCapableBox as ei, PanelVerdict as el, SpawnForestNode as em, runGraph as en, supervise as eo, DelegationFeedbackSnapshot as ep, StructuralRolloutConfig as er, cancelRun as es, gitWorkspace as et, Leaderboard as eu, SurfaceDiff as f, printBenchmarkReport as fa, IsolatedCheckBoxEvidence as fc, QuestionRecord as fd, settleDetachedCoderTurn as ff, reconnectRetainedRun as fi, TrajectoryReportOptions as fl, KnownAgentProfileMaterializationAxis as fm, naiveContinuationPrompt as fn, CoordinationToolFace as fo, ResearchOutputShape as fp, officialChecksFromMeta as fr, safeWorkerFile as fs, createRootHandle as ft, renderPairwiseMarkdown as fu, WatchedSurface as g, AgenticSurface as ga, inlineSandboxClient as gc, SpawnPreflightContext as gd, SiblingSandboxExecutorOptions as gf, ClaimRetainedInteractiveControlOptions as gi, WidenDecision as gl, assertProfileMaterialization as gm, DispatchUnit as gn, ObserveSupervisorNodeEvent as go, CappedDelegationTrace as gp, structuralRollout as gr, workerCancelRequestsFile as gs, createScope as gt, auditIntent as gu, SurfaceReader as h, AgenticRunResult as ha, runIsolatedCheck as hc, SpawnPreflight as hd, FleetWorkspaceExecutorOptions as hf, startRetainedRunInEnvironment as hi, Widen as hl, ValidateProfileMaterializationOptions as hm, DispatchStopReason as hn, DriveHarnessOwnerContext as ho, delegationProfiles as hp, selectBestIndex as hr, supervisorWorkersDir as hs, ScopeArgs as ht, IntentAudit as hu, SandboxEvent$1 as i, sanitizeMcpToolSchema as ia, TERMINAL_DECISIONS as ic, Question as id, CoderReviewer as if, SandboxLineageHandle as ii, RenderCorpusToInstructionsOptions as il, pendingWaits as im, RegisteredPrompt as in, WorkerSpawnRetryAttempt as io, DelegationProfile as ip, VisibleCheck as ir, readRunCancelRequest as is, TrajectoryAnalysis as it, PairwiseVerdict as iu, AttachWorkerOptions as j, breadthStrategy as ja, defaultAnalystInstruction as jc, ResolvedSpawnResourcePath as jd, DelegationRecord as jf, trajectoryReport as ji, ShapeRegistry as jl, ChatCompletionsTransport as jn, ReentryContinuity as jo, InMemoryDelegationStore as jp, selectChampion as jr, ProgressSample as js, WorktreePatchArtifact as jt, AnalystDefinitionIssue as ju, WorktreeFanoutOptions as k, SurfaceScore as ka, ObserveInput as kc, questionEscalationTargets as kd, runDetachedTurn as kf, assertProfileModelsAllowed as ki, ShapeBudget as kl, codeModeSupervisorTools as kn, supervisorAgent as ko, FileDelegationStore as kp, pickChampion as kr, NoProgressForOptions as ks, patchDelivered as kt, createWaterfallCollector as ku, createVerifierEnvironment as l, BenchmarkStrategySummary as la, LocalSandboxClientOptions as lc, QuestionLevel as ld, UiAuditorDelegate as lf, probeSandboxCapabilities as li, TrajectoryNode as ll, AssertProfileMaterializationOptions as lm, dumbContinuationPassPrompt as ln, retryPreSpawnRefusals as lo, DelegationStatusResult as lp, defaultStructuralRolloutPolicy as lr, readWorkerSteerRequests as ls, parseWorkerToolTraceArtifact as lt, renderLeaderboardHtml as lu, SurfaceReadOutcome as m, AgenticOptions as ma, IsolatedCheckResult as mc, SettledWorker as md, FleetHandle as mf, startRetainedRun as mi, VerifySpec as ml, ProfileMaterializationIssue as mm, DispatchReport as mn, DriveHarness as mo, UiAuditorDelegationOutput as mp, sandboxCheckRunner as mr, supervisorRunsRoot as ms, SUBTREE_RESULT_LIMIT as mt, AuditIntentOptions as mu, AnalystFinding$1 as n, McpEnvironmentOptions as na, runFinalizer as nc, MakeWorkerAgent as nd, CoderDelegate as nf, ForkCapableBox as ni, PipelineStage as nl, loadSpawnForest as nm, PromptHandle as nn, workerFromBackend as no, DelegationHistoryEntry as np, StructuralRolloutPolicy as nr, legacySupervisorRunDir as ns, localShell as nt, LeaderboardRow as nu, computeFindingId$1 as o, BenchmarkConfig as oa, defaultSelectWinner as oc, QuestionEscalationOutcome as od, DetachedSessionDelegateOptions as of, createSandboxLineage as oi, ScopeAnalyzeInput as ol, contentAddress as om, createPromptRegistry as on, WorkerSpawnRetryPolicy as oo, DelegationResultPayload as op, compareCheckOutcomes as or, readWorkerCancelRequests as os, WORKER_TOOL_TRACE_SCHEMA_VERSION as ot, ScoreOf as ou, SurfaceReadBox as p, runBenchmark as pa, IsolatedCheckOptions as pc, QuestionUrgency as pd, DelegationExecutor as pf, recoverRetainedRun as pi, Verify as pl, ProfileMaterializationContract as pm, promptHandle as pn, CoordinationVerbs as po, UiAuditLensFilter as pp, resolveEntrySymbol as pr, supervisorRunDir as ps, createSupervisor as pt, AuditIntentInput as pu, copyUntrackedIntoClone as q, AuthorizedSpawnContext as qa, FlatWidenGate as qc, DelegateError as qd, DelegateResearchConfig as qf, widen as qi, completionAuthorizes as ql, CheckExecChannel as qn, RunCancelRequest as qo, FileSpawnJournal as qp, OpenSandboxRunBeforeStartContext as qr, SupervisorSpanRecorder as qs, GraphEdgeCapError as qt, CoordinationToolsOptions as qu, CreateSandboxOptions$1 as r, createMcpEnvironment as ra, RunAgentRoundsOptions as rc, ManagerReentryState as rd, CoderReview as rf, SandboxLineage as ri, RenderCorpusToInstructions as rl, materializeTreeView as rm, PromptRegistry as rn, ResolvedWorkerSpawnRetry as ro, DelegationHistoryResult as rp, StructuralRolloutResult as rr, legacySupervisorRunsRoot as rs, runInWorkspace as rt, PairwiseOptions as ru, makeFinding$1 as s, BenchmarkLift as sa, isTerminalDecision as sc, QuestionEscalationRecord as sd, DetachedWinnerSelection as sf, CriuCapableClient as si, ScopeWidenGate as sl, AGENT_PROFILE_MATERIALIZATION_AXES as sm, delegatesWorkerBriefPrompt as sn, isPreSpawnExecutorFailure as so, DelegationStatus as sp, composeCheckSources as sr, readWorkerCancellation as ss, WorkerToolTraceArtifact as st, leaderboard as su, AgentProfile$2 as t, McpEndpoint as ta, pickBestDelivered as tc, EventAcknowledgement as td, eventToSnapshot as tf, CheckpointCapableBox as ti, Pipeline as tl, SpawnForestTree as tm, runGraphWithTestBrain as tn, superviseWithTestBrain as to, DelegationHistoryArgs as tp, StructuralRolloutMessage as tr, cancelWorker as ts, jjWorkspace as tt, LeaderboardOptions as tu, BoxSurfaceReaderOptions as u, BenchmarkTaskRow as ua, localSandboxClient as uc, QuestionOption as ud, coderTaskFromArgs as uf, AcquireOptions as ui, TrajectoryReport as ul, CanonicalAgentProfileMaterializationAxis as um, formatPromptHandle as un, withWorkerSpawnRetry as uo, FeedbackRating as up, filterAuthoredAsserts as ur, runCancelRequestFile as us, workerTraceAnalysisStore as ut, renderLeaderboardMarkdown as uu, fsSurfaceReader as v, AgenticTool as va, InProcessPromptCtx as vc, SpawnRefusalCause as vd, createSiblingSandboxExecutor as vf, reconnectRetainedInteractiveRun as vi, WidenSpec as vl, defineProfileMaterializationContract as vm, freeSlots as vn, ResolveSupervisorTools as vo, DELEGATION_TRACE_MAX_SPANS as vp, ChampionPick as vr, workerCancellationsDir as vs, InMemoryRunContext as vt, AnytimeReport as vu, SurfaceWorkerOut as w, StrategyArtifacts as wa, HarvestReport as wc, canonicalFindingEvent as wd, RunDetachedTurnOptions as wf, PromotionVerdict as wi, Persona as wl, promptResourceProfileMaterialization as wm, DriverAgentOptions as wn, SupervisorProfile as wo, composeLoopTraceEmitters as wp, EvolutionGeneration as wr, workerSteerRequestFile as ws, ProvisionSupervisorRequest as wt, plateauLength as wu, SuperviseSurfaceOptions as x, RunAgenticOptions as xa, HarvestCorpusOptions as xc, WorkerSpawnContext as xd, DetachedTurnResumeDriverOptions as xf, ResolveSandboxClientOptions as xi, DefinePersonaInput as xl, promptControlProfileMaterialization as xm, DelegateOptions as xn, SupervisorAgentTestDeps as xo, DelegationTraceSpan as xp, EvolutionAuthor as xr, workerInboxFileFromEventDir as xs, createFileRunContext as xt, anytimeReport as xu, harvestSurfaceDiffs as y, ArtifactHandle as ya, InProcessSandboxClientOptions as yc, SuperviseProfileEntry as yd, DetachedSessionRefParts as yf, recoverRetainedInteractiveRun as yi, WinnerStrategy as yl, fullProfileMaterialization as ym, queueOf as yn, ResolvedSupervisorProfile as yo, DelegationTraceCaps as yp, ChampionPolicy as yr, workerControlLogFile as ys, InMemoryRunContextOptions as yt, AnytimeStrategySummary as yu, NOTE_MAX_CHARS as z, LoopDispatchOptions as za, EqualKArm as zc, McpServer as zd, SubmitOutput as zf, renderCorpusToInstructions as zi, LeaderboardScenario as zl, AuthoredProfile as zn, serveCoordinationMcp as zo, WatchTraceOptions as zp, MaterializeLocalMcpOptions as zr, anyOf as zs, readWorkerInteractiveAdmissions as zt, AuthoredAnalystLimits as zu };
9845
+ //# sourceMappingURL=index-CU2mlMfc.d.ts.map
package/dist/index.d.ts CHANGED
@@ -1,13 +1,13 @@
1
- import { $i as RuntimeRunCost, $t as toOtelAttributes, Ar as NotFoundError, Bt as OtelExporter, Ca as RunAgentTaskStreamOptions, Da as RuntimeStreamEvent, Dr as BackendTransportError, Ea as RuntimeSessionStore, Er as AgentEvalErrorCode, Fr as RetainedRunDispatchBindingError, Ft as EvalRunsExportResult, Gt as buildRuntimeEventOtelSpans, Ht as RuntimeEventOtelOptions, Ir as RuntimeRunStateError, It as INTELLIGENCE_WIRE_VERSION, Jt as exportEvalRuns, Kt as createOpenInferenceFileExporter, Lr as ValidationError, Lt as LoopSpanNode, Mr as RetainedInteractiveAdmissionError, Mt as EvalRunEvent, Nr as RetainedInteractiveBindingError, Nt as EvalRunGeneration, Or as ConfigError, Pr as RetainedRunAdmissionError, Pt as EvalRunsExportConfig, Qi as RuntimeRunCompleteInput, Qt as padTraceId, Rt as OtelAttribute, Sa as RunAgentTaskOptions, Ta as RuntimeSession, Tr as AgentEvalError, Ut as buildLoopOtelSpans, Vt as OtelSpan, Wt as buildLoopSpanNodes, Xt as loopEventToOtelSpan, Yt as generateSpanId, Zt as padSpanId, _a as BackendErrorDetail, aa as startRuntimeRun, an as SanitizedKnowledgeReadinessReport, ba as OpenAIChatTool, ca as AgentBackendInput, cn as createRuntimeStreamEventCollector, da as AgentRuntimeEvent, dn as sanitizeRuntimeStreamEvent, ea as RuntimeRunHandle, en as RuntimeEventCollector, fa as AgentRuntimeEventSink, g as ExecutorFactory, ga as AgentTaskStatus, ha as AgentTaskSpec, i as Budget, ia as RuntimeRunStatus, in as RuntimeTelemetryOptions, jr as PlannerError, kr as JudgeError, la as AgentExecutionBackend, ln as sanitizeAgentRuntimeEvent, ma as AgentTaskRunResult, na as RuntimeRunPersistenceAdapter, nn as RuntimeStreamEventSink, oa as AgentAdapter, on as SanitizedKnowledgeRequirement, pa as AgentTaskContext, qt as createOtelExporter, ra as RuntimeRunRow, rn as RuntimeStreamEventSummary, sa as AgentBackendContext, sn as createRuntimeEventCollector, st as SupervisedResult, ta as RuntimeRunOptions, tn as RuntimeStreamEventCollector, ua as AgentKnowledgeProvider, un as sanitizeKnowledgeReadinessReport, va as KnowledgeReadinessDecision, wa as RuntimeCanonicalStreamEvent, xa as OpenAIChatToolChoice, ya as OpenAIChatResponseFormat, zt as OtelExportConfig } from "./types-BV14WTyW.js";
1
+ import { $t as padSpanId, Aa as OpenAIChatTool, Ar as AgentEvalErrorCode, Br as RuntimeRunStateError, Bt as OtelAttribute, Ca as AgentTaskContext, Da as BackendErrorDetail, Ea as AgentTaskStatus, Fa as RuntimeSession, Fr as PlannerError, Ft as EvalRunGeneration, Gt as buildLoopOtelSpans, Ht as OtelExporter, Ia as RuntimeSessionStore, Ir as RetainedInteractiveAdmissionError, It as EvalRunsExportConfig, Jt as createOpenInferenceFileExporter, Kt as buildLoopSpanNodes, La as RuntimeStreamEvent, Lr as RetainedInteractiveBindingError, Lt as EvalRunsExportResult, Ma as RunAgentTaskOptions, Mr as ConfigError, Na as RunAgentTaskStreamOptions, Nr as JudgeError, Oa as KnowledgeReadinessDecision, Pa as RuntimeCanonicalStreamEvent, Pr as NotFoundError, Pt as EvalRunEvent, Qt as loopEventToOtelSpan, Rr as RetainedRunAdmissionError, Rt as INTELLIGENCE_WIRE_VERSION, Sa as AgentRuntimeEventSink, Ta as AgentTaskSpec, Ut as OtelSpan, Vr as ValidationError, Vt as OtelExportConfig, Wt as RuntimeEventOtelOptions, Xt as exportEvalRuns, Yt as createOtelExporter, Zt as generateSpanId, _a as AgentBackendContext, an as RuntimeStreamEventSummary, ba as AgentKnowledgeProvider, ca as RuntimeRunCompleteInput, cn as SanitizedKnowledgeRequirement, da as RuntimeRunOptions, dn as sanitizeAgentRuntimeEvent, en as padTraceId, fa as RuntimeRunPersistenceAdapter, fn as sanitizeKnowledgeReadinessReport, g as ExecutorFactory, ga as AgentAdapter, ha as startRuntimeRun, i as Budget, in as RuntimeStreamEventSink, ja as OpenAIChatToolChoice, jr as BackendTransportError, ka as OpenAIChatResponseFormat, kr as AgentEvalError, la as RuntimeRunCost, ln as createRuntimeEventCollector, lt as SupervisedResult, ma as RuntimeRunStatus, nn as RuntimeEventCollector, on as RuntimeTelemetryOptions, pa as RuntimeRunRow, pn as sanitizeRuntimeStreamEvent, qt as buildRuntimeEventOtelSpans, rn as RuntimeStreamEventCollector, sn as SanitizedKnowledgeReadinessReport, tn as toOtelAttributes, ua as RuntimeRunHandle, un as createRuntimeStreamEventCollector, va as AgentBackendInput, wa as AgentTaskRunResult, xa as AgentRuntimeEvent, ya as AgentExecutionBackend, zr as RetainedRunDispatchBindingError, zt as LoopSpanNode } from "./types-CrnwLVYQ.js";
2
2
  import { i as SurfaceImprovementEdit } from "./improvement-adapter-D5gwwoXQ.js";
3
3
  import { o as ImprovementProposalSource } from "./types-zWfqDjeL.js";
4
- import { Hp as DeliverableSpec, Xa as SuperviseOptions, nr as StructuralRolloutPolicy, wo as SupervisorProfile } from "./index-9wXpbjbX.js";
4
+ import { Hp as DeliverableSpec, Xa as SuperviseOptions, nr as StructuralRolloutPolicy, wo as SupervisorProfile } from "./index-CU2mlMfc.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 { f as ExecutorConfig, nr as Redactor, tn as WorktreeCheckRunner } from "./stream-agent-turn-D1zelVx6.js";
6
+ import { f as ExecutorConfig, hr as Redactor, mn as WorktreeCheckRunner } from "./stream-agent-turn-Gw9hLpBn.js";
7
7
  import { y as AgentCandidateOutputArtifactPort } from "./types-CuXu5zuS.js";
8
- import { $ as ImprovementMaterializedProfilePopulationCandidate, A as ImproveCodeResult, B as ImproveMethodSource, C as TrainingBoundaryResult, Ct as CandidateGenerator, D as ImproveCandidateValidator, E as ImproveCandidateValidationInput, F as ImproveMethodContext, G as ImproveProfileSurface, H as ImproveOptions, I as ImproveMethodFactory, J as ImproveScenarioPartitions, K as ImproveResult, L as ImproveMethodLineage, M as ImproveCost, N as ImproveCustomCodeGeneratorOptions, O as ImproveCodeBaseOptions, P as ImproveLineage, Q as ImprovementCodeCandidate, R as ImproveMethodOptions, S as ProfileTrainerRequest, St as defaultBuildPrompt, T as createCommandProfileTrainer, U as ImproveProfileAgent, V as ImproveOptimizationRunOptions, W as ImproveProfileComponents, X as ImproveSurface, Y as ImproveSkillsOptions, Z as ImprovementCandidate, _ as CheckpointServingPort, _t as AgenticGeneratorShotReceipt, at as ImprovementProfilePopulationCandidate, b as ImproveTrainingResult, bt as agenticGenerator, ct as ImprovementProfilePopulationLineageNode, dt as DeepReadonly, et as ImprovementProfileCandidate, ft as ReadonlyAgentProfile, g as improve, gt as AgenticGeneratorShotExecution, ht as AgenticGeneratorShotDisposition, i as AgentImprovementActivationTransition, it as ImprovementProfilePopulationArtifactSource, j as ImproveCodeRunOptions, k as ImproveCodeOptions, lt as ImprovementProfilePopulationObservationSource, mt as AgenticGeneratorOptions, n as AgentImprovementActivationResultStore, nt as ImprovementProfileCandidatePopulationAvailable, ot as ImprovementProfilePopulationCandidateSource, pt as AgenticGeneratorExecutorForWorktree, q as ImproveRuntimeCodeGeneratorOptions, rt as ImprovementProfileCandidatePopulationUnavailable, st as ImprovementProfilePopulationLineage, t as AgentImprovementActivationReconciliation, tt as ImprovementProfileCandidatePopulation, ut as ImprovementRefusedProfilePopulationCandidate, v as ControlledTrainingCommand, vt as Verifier, w as TrainingDatasetDocument, x as ProfileTrainer, xt as commandVerifier, y as ImproveTrainingOptions, yt as VerifyResult, z as ImproveMethodResult } from "./activation-Bx4kfVU3.js";
9
- 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-DPewOZMn.js";
10
- import { n as mcpToolsForRuntimeMcpSubset, t as mcpToolsForRuntimeMcp } from "./openai-tools-ByTMUJcD.js";
8
+ import { $ as ImprovementMaterializedProfilePopulationCandidate, A as ImproveCodeResult, B as ImproveMethodSource, C as TrainingBoundaryResult, Ct as CandidateGenerator, D as ImproveCandidateValidator, E as ImproveCandidateValidationInput, F as ImproveMethodContext, G as ImproveProfileSurface, H as ImproveOptions, I as ImproveMethodFactory, J as ImproveScenarioPartitions, K as ImproveResult, L as ImproveMethodLineage, M as ImproveCost, N as ImproveCustomCodeGeneratorOptions, O as ImproveCodeBaseOptions, P as ImproveLineage, Q as ImprovementCodeCandidate, R as ImproveMethodOptions, S as ProfileTrainerRequest, St as defaultBuildPrompt, T as createCommandProfileTrainer, U as ImproveProfileAgent, V as ImproveOptimizationRunOptions, W as ImproveProfileComponents, X as ImproveSurface, Y as ImproveSkillsOptions, Z as ImprovementCandidate, _ as CheckpointServingPort, _t as AgenticGeneratorShotReceipt, at as ImprovementProfilePopulationCandidate, b as ImproveTrainingResult, bt as agenticGenerator, ct as ImprovementProfilePopulationLineageNode, dt as DeepReadonly, et as ImprovementProfileCandidate, ft as ReadonlyAgentProfile, g as improve, gt as AgenticGeneratorShotExecution, ht as AgenticGeneratorShotDisposition, i as AgentImprovementActivationTransition, it as ImprovementProfilePopulationArtifactSource, j as ImproveCodeRunOptions, k as ImproveCodeOptions, lt as ImprovementProfilePopulationObservationSource, mt as AgenticGeneratorOptions, n as AgentImprovementActivationResultStore, nt as ImprovementProfileCandidatePopulationAvailable, ot as ImprovementProfilePopulationCandidateSource, pt as AgenticGeneratorExecutorForWorktree, q as ImproveRuntimeCodeGeneratorOptions, rt as ImprovementProfileCandidatePopulationUnavailable, st as ImprovementProfilePopulationLineage, t as AgentImprovementActivationReconciliation, tt as ImprovementProfileCandidatePopulation, ut as ImprovementRefusedProfilePopulationCandidate, v as ControlledTrainingCommand, vt as Verifier, w as TrainingDatasetDocument, x as ProfileTrainer, xt as commandVerifier, y as ImproveTrainingOptions, yt as VerifyResult, z as ImproveMethodResult } from "./activation-VpxSbDKJ.js";
9
+ 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-XKZXM08Q.js";
10
+ import { n as mcpToolsForRuntimeMcpSubset, t as mcpToolsForRuntimeMcp } from "./openai-tools-D3ajI_D2.js";
11
11
  import { AgentCandidateBundle, AgentCandidateCapturedArtifact, AgentCandidateKnowledge, AgentProfile, Sha256Digest } from "@tangle-network/agent-interface";
12
12
  import { AgentProfile as AgentProfile$1, ControlBudget, ControlDecision, ControlEvalResult, ControlEvalResult as ControlEvalResult$1, ControlRunResult, ControlStep, DataAcquisitionPlan, KnowledgeReadinessReport, KnowledgeReadinessReport as KnowledgeReadinessReport$1, KnowledgeRequirement, MaximumCharge, ProposalFinding, RunRecord, RunRecord as RunRecord$1 } from "@tangle-network/agent-eval";
13
13
  import { GepaOptimizationMethodConfig, ProfileDispatchFn, Scenario, SkillOptOptimizationMethodConfig } from "@tangle-network/agent-eval/campaign";
package/dist/index.js CHANGED
@@ -1,15 +1,15 @@
1
- import { Cr as toOtelAttributes, Dr as sanitizeKnowledgeReadinessReport, Ei as executableAgentProfileSnapshot, Er as sanitizeAgentRuntimeEvent, Or as sanitizeRuntimeStreamEvent, Sr as padTraceId, Tr as createRuntimeStreamEventCollector, _a as providerMessageText, _r as exportEvalRuns, ai as prepareJsonlAppend, br as loopEventToOtelSpan, dr as INTELLIGENCE_WIRE_VERSION, er as defaultRedactor, fr as buildLoopOtelSpans, gr as createOtelExporter, hr as createOpenInferenceFileExporter, mr as buildRuntimeEventOtelSpans, nr as resolveRedactor, oi as readCommittedJsonLines, pr as buildLoopSpanNodes, si as writeAllBytes, tr as defaultRedactorIdentityMaterial, wr as createRuntimeEventCollector, xr as padSpanId, yr as generateSpanId } from "./supervisor-C26k7X5-.js";
1
+ import { Ar as createRuntimeEventCollector, Cr as exportEvalRuns, Dr as padSpanId, Er as loopEventToOtelSpan, Mr as sanitizeAgentRuntimeEvent, Ni as executableAgentProfileSnapshot, Nr as sanitizeKnowledgeReadinessReport, Or as padTraceId, Pr as sanitizeRuntimeStreamEvent, Sr as createOtelExporter, Tr as generateSpanId, _r as INTELLIGENCE_WIRE_VERSION, br as buildRuntimeEventOtelSpans, cr as resolveRedactor, fi as prepareJsonlAppend, jr as createRuntimeStreamEventCollector, kr as toOtelAttributes, mi as writeAllBytes, or as defaultRedactor, pi as readCommittedJsonLines, sr as defaultRedactorIdentityMaterial, vr as buildLoopOtelSpans, wa as providerMessageText, xr as createOpenInferenceFileExporter, yr as buildLoopSpanNodes } from "./supervisor-B8UMAXya.js";
2
2
  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-DodWX-cb.js";
3
- import { F as InMemoryRuntimeSessionStore, I as newRuntimeSession, L as nowIso, M as createIterableBackend, N as createSandboxPromptBackend, O as optimizerMethod, P as normalizeBackendStreamEvent, R as startOrResumeRuntimeSession, j as streamAgentTurn, k as strategyAuthorMethod, z as touchSession } from "./structural-rollout-D17I5CwF.js";
3
+ import { F as InMemoryRuntimeSessionStore, I as newRuntimeSession, L as nowIso, M as createIterableBackend, N as createSandboxPromptBackend, O as optimizerMethod, P as normalizeBackendStreamEvent, R as startOrResumeRuntimeSession, j as streamAgentTurn, k as strategyAuthorMethod, z as touchSession } from "./structural-rollout-DV9YoQF6.js";
4
4
  import { t as assertExecutableAgentProfile } from "./model-policy-BbSCSak0.js";
5
- import { a as createRuntimeUsageTotals, i as addRuntimeUsage, o as isUsageAmount, t as createAgentImprovementActivationResult } from "./activation-DHFdvps3.js";
5
+ import { a as createRuntimeUsageTotals, i as addRuntimeUsage, o as isUsageAmount, t as createAgentImprovementActivationResult } from "./activation-BERiJjx5.js";
6
6
  import { C as canonicalCandidateDigest$1, D as immutableCandidateValue, E as embeddedCandidateArtifact, O as omitTopLevelDigest, S as canonicalCandidateBytes$1, a as persistCandidateOutputArtifact, t as captureAgentCandidateWorkspace } from "./workspace-archive-C9lgf77y.js";
7
- import { Lt as McpSpawnFault, Rt as connectStdioMcp } from "./runtime-CUZC75EX.js";
7
+ import { Ut as McpSpawnFault, Wt as connectStdioMcp } from "./runtime-hOLlAc1i.js";
8
8
  import { i as notifyRuntimeHookEvent, n as defineRuntimeHooks, r as notifyRuntimeDecisionPoint, t as composeRuntimeHooks } from "./runtime-hooks-tXpAarhW.js";
9
- import { B as assertCandidateValidator, G as applyRolloutPolicyToProfile, H as parseExecutionRef, J as serializeRolloutPolicy, K as normalizeRolloutPolicy, L as improve, Q as defaultBuildPrompt, R as createCommandProfileTrainer, U as rawTraceDistiller, W as ROLLOUT_POLICY_EXTENSION, X as agenticGenerator, Y as structuralRolloutPolicyFromProfile, Z as commandVerifier, q as parseRolloutPolicy, z as withMethodRuntimeControls } from "./improvement-cycle-WRWcFyuO.js";
9
+ import { B as assertCandidateValidator, G as applyRolloutPolicyToProfile, H as parseExecutionRef, J as serializeRolloutPolicy, K as normalizeRolloutPolicy, L as improve, Q as defaultBuildPrompt, R as createCommandProfileTrainer, U as rawTraceDistiller, W as ROLLOUT_POLICY_EXTENSION, X as agenticGenerator, Y as structuralRolloutPolicyFromProfile, Z as commandVerifier, q as parseRolloutPolicy, z as withMethodRuntimeControls } from "./improvement-cycle-GRPoHLm1.js";
10
10
  import { t as sealAgentCandidateBundle } from "./bundle-CvLGRVO-.js";
11
- import { r as supervise } from "./supervise-_DTVHXPC.js";
12
- 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-DC1Lm0nM.js";
11
+ import { r as supervise } from "./supervise--njTtSL3.js";
12
+ 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-cC16EPUq.js";
13
13
  import { n as mcpToolsForRuntimeMcpSubset, t as mcpToolsForRuntimeMcp } from "./openai-tools-DoQ32vpe.js";
14
14
  import { agentCandidateKnowledgeSchema, agentProfileSchema, canonicalAgentProfileDigest, sha256DigestSchema } from "@tangle-network/agent-interface";
15
15
  import { FAILURE_CLASSES, acquisitionPlansForKnowledgeGaps, blockingKnowledgeEval, canonicalJson, runAgentControlLoop, scoreKnowledgeReadiness, userQuestionsForKnowledgeGaps } from "@tangle-network/agent-eval";
@@ -1,9 +1,9 @@
1
- import { Da as RuntimeStreamEvent, Hi as LoopTraceEvent, in as RuntimeTelemetryOptions } from "./types-BV14WTyW.js";
1
+ import { La as RuntimeStreamEvent, Qi as LoopTraceEvent, on as RuntimeTelemetryOptions } from "./types-CrnwLVYQ.js";
2
2
  import { d as RunAnalystLoopOpts, f as RunAnalystLoopResult } from "./types-zWfqDjeL.js";
3
- import { Dn as ToolSpec, ir as resolveRedactor, nr as Redactor, rr as defaultRedactor, vt as AgentEnvironmentProviderRef, yt as AgentEnvironmentProviderRegistry } from "./stream-agent-turn-D1zelVx6.js";
3
+ import { Bn as ToolSpec, Mt as AgentEnvironmentProviderRegistry, _r as resolveRedactor, gr as defaultRedactor, hr as Redactor, jt as AgentEnvironmentProviderRef } from "./stream-agent-turn-Gw9hLpBn.js";
4
4
  import { D as AgentCandidateRunFinalization, O as AgentCandidateTaskExecution, a as AgentCandidateExecutionPorts, c as AgentCandidateExecutorPort, r as AgentCandidateBenchmarkGraderPort, y as AgentCandidateOutputArtifactPort } from "./types-CuXu5zuS.js";
5
5
  import { T as AgentCandidateExecutionClaimStore, _ as PrepareAgentCandidateExecutionOptions, o as CreateProtectedAgentCandidateModelPortOptions, p as parseAgentCandidateProfileActivation, y as ExecutePreparedAgentCandidateOptions } from "./protected-model-port-BlLP8ja6.js";
6
- import { H as ImproveOptions, J as ImproveScenarioPartitions, K as ImproveResult, R as ImproveMethodOptions, 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, z as ImproveMethodResult } from "./activation-Bx4kfVU3.js";
6
+ import { H as ImproveOptions, J as ImproveScenarioPartitions, K as ImproveResult, R as ImproveMethodOptions, 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, z as ImproveMethodResult } from "./activation-VpxSbDKJ.js";
7
7
  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";
8
8
  import { CostLedgerHandle, TraceStore } from "@tangle-network/agent-eval";
9
9
  import { ProposalFinding as ProposalFinding$1 } from "@tangle-network/agent-eval/analyst";
@@ -1,7 +1,7 @@
1
- import { In as resolveAgentEnvironmentProvider, er as defaultRedactor, fr as buildLoopOtelSpans, gr as createOtelExporter, mr as buildRuntimeEventOtelSpans, nr as resolveRedactor, vr as flatOtelSpan } from "./supervisor-C26k7X5-.js";
2
- import { a as createRuntimeUsageTotals, i as addRuntimeUsage, n as executeAgentImprovementActivation, o as isUsageAmount, r as verifyAgentImprovementActivationResult, t as createAgentImprovementActivationResult } from "./activation-DHFdvps3.js";
1
+ import { Sr as createOtelExporter, br as buildRuntimeEventOtelSpans, cr as resolveRedactor, or as defaultRedactor, vr as buildLoopOtelSpans, wr as flatOtelSpan, zn as resolveAgentEnvironmentProvider } from "./supervisor-B8UMAXya.js";
2
+ import { a as createRuntimeUsageTotals, i as addRuntimeUsage, n as executeAgentImprovementActivation, o as isUsageAmount, r as verifyAgentImprovementActivationResult, t as createAgentImprovementActivationResult } from "./activation-BERiJjx5.js";
3
3
  import { C as canonicalCandidateDigest$1, D as immutableCandidateValue } from "./workspace-archive-C9lgf77y.js";
4
- 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, V as assertProfileTrainingIsHeldOut, _ 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-WRWcFyuO.js";
4
+ 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, V as assertProfileTrainingIsHeldOut, _ 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-GRPoHLm1.js";
5
5
  import { a as AGENT_CANDIDATE_EXECUTION_SUPPORT } from "./prepare-oHUQdC5-.js";
6
6
  import { d as omitUndefinedObjectFields, f as parseAgentCandidateProfileActivation, i as applyExactAgentProfileDiff, p as parseExactAgentProfile } from "./profile-D3eXNBQV.js";
7
7
  import { n as exactProcessProviderAsCandidateExecutor, t as createProtectedAgentCandidateModelPort } from "./protected-model-port-DqF0qDU6.js";