@tangle-network/agent-runtime 0.223.0 → 0.225.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 (51) hide show
  1. package/dist/{activation-DQseYGj1.js → activation-CKlpXoDU.js} +2 -2
  2. package/dist/{activation-DQseYGj1.js.map → activation-CKlpXoDU.js.map} +1 -1
  3. package/dist/{activation-ojBkrqcl.d.ts → activation-CsfCkAdZ.d.ts} +3 -3
  4. package/dist/agent.d.ts +1 -1
  5. package/dist/agent.js +2 -2
  6. package/dist/{coordination-driver-9I9bvmU7.js → coordination-driver-GFI-HzJX.js} +4 -3
  7. package/dist/coordination-driver-GFI-HzJX.js.map +1 -0
  8. package/dist/{delegate-C6YK72Cu.js → delegate-DiH4-45Z.js} +2 -2
  9. package/dist/{delegate-C6YK72Cu.js.map → delegate-DiH4-45Z.js.map} +1 -1
  10. package/dist/durable.d.ts +2 -2
  11. package/dist/durable.js +2 -2
  12. package/dist/{graph-oFuyqROQ.js → graph-CiGsa580.js} +3 -3
  13. package/dist/{graph-oFuyqROQ.js.map → graph-CiGsa580.js.map} +1 -1
  14. package/dist/{improvement-cycle-o6XXAZ6L.js → improvement-cycle-BFdb4lCd.js} +4 -4
  15. package/dist/improvement-cycle-BFdb4lCd.js.map +1 -0
  16. package/dist/{index-C8i3o4mJ.d.ts → index-C2T1Z3jZ.d.ts} +2 -2
  17. package/dist/index.d.ts +4 -4
  18. package/dist/index.js +7 -7
  19. package/dist/intelligence.d.ts +2 -2
  20. package/dist/intelligence.js +3 -3
  21. package/dist/kernel.d.ts +2 -2
  22. package/dist/kernel.js +8 -8
  23. package/dist/{loop-runner-bin-DiAaRQud.js → loop-runner-bin-3ERWSHxx.js} +3 -3
  24. package/dist/{loop-runner-bin-DiAaRQud.js.map → loop-runner-bin-3ERWSHxx.js.map} +1 -1
  25. package/dist/{loop-runner-bin-zaiQXpVo.d.ts → loop-runner-bin-BMCpT2i0.d.ts} +3 -3
  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 +2 -2
  30. package/dist/mcp/index.js +4 -4
  31. package/dist/{provision-supervisor-BalCsZB7.js → provision-supervisor-DD9Xc1as.js} +3 -3
  32. package/dist/{provision-supervisor-BalCsZB7.js.map → provision-supervisor-DD9Xc1as.js.map} +1 -1
  33. package/dist/{runtime-C77tIYS6.js → runtime-CL6nVSEt.js} +8 -8
  34. package/dist/{runtime-C77tIYS6.js.map → runtime-CL6nVSEt.js.map} +1 -1
  35. package/dist/{server-Bk92H603.js → server-BWDo2UNM.js} +3 -3
  36. package/dist/{server-Bk92H603.js.map → server-BWDo2UNM.js.map} +1 -1
  37. package/dist/{stream-agent-turn-CKyDuKIj.d.ts → stream-agent-turn-wlsHQiUv.d.ts} +14 -5
  38. package/dist/{structural-rollout-Bb4Vstic.js → structural-rollout-Bs6IfZ8d.js} +2 -2
  39. package/dist/{structural-rollout-Bb4Vstic.js.map → structural-rollout-Bs6IfZ8d.js.map} +1 -1
  40. package/dist/{supervise-B1IioRQs.js → supervise-DYZVP44H.js} +3 -3
  41. package/dist/{supervise-B1IioRQs.js.map → supervise-DYZVP44H.js.map} +1 -1
  42. package/dist/{supervisor-CuBPrwGp.js → supervisor-DBzsb6Qt.js} +82 -14
  43. package/dist/supervisor-DBzsb6Qt.js.map +1 -0
  44. package/dist/testing.d.ts +2 -2
  45. package/dist/testing.js +12 -12
  46. package/dist/tui/index.d.ts +1 -1
  47. package/dist/tui/index.js +1 -1
  48. package/package.json +4 -4
  49. package/dist/coordination-driver-9I9bvmU7.js.map +0 -1
  50. package/dist/improvement-cycle-o6XXAZ6L.js.map +0 -1
  51. package/dist/supervisor-CuBPrwGp.js.map +0 -1
@@ -764,7 +764,8 @@ function cloneSpend(spend) {
764
764
  ...spend.usdKnown === false ? { usdKnown: false } : {},
765
765
  ...spend.usdEstimated !== void 0 ? { usdEstimated: spend.usdEstimated } : {},
766
766
  ms: spend.ms,
767
- ...boxMinutesOf(spend)
767
+ ...boxMinutesOf(spend),
768
+ ...spend.tokensProvenance === void 0 ? {} : { tokensProvenance: spend.tokensProvenance }
768
769
  };
769
770
  }
770
771
  /**
@@ -15505,6 +15506,7 @@ async function replaySpawnTree(journal, blobs, root) {
15505
15506
  kind: "down",
15506
15507
  handle: handleFor(ev.id, "cancelled"),
15507
15508
  reason: ev.reason,
15509
+ ...ev.outRef === void 0 ? {} : { outRef: ev.outRef },
15508
15510
  infra: ev.infra === true,
15509
15511
  ...ev.providerModel === void 0 ? {} : { providerModel: copyProviderModelEvidence(ev.providerModel) },
15510
15512
  ...budgetViolationOf(ev),
@@ -15524,6 +15526,7 @@ async function replaySpawnTree(journal, blobs, root) {
15524
15526
  kind: "down",
15525
15527
  handle: handleFor(ev.id, "failed"),
15526
15528
  reason: ev.reason ?? ev.verdict?.notes ?? "child down",
15529
+ ...ev.outRef === void 0 ? {} : { outRef: ev.outRef },
15527
15530
  infra: ev.infra === true,
15528
15531
  ...ev.providerModel === void 0 ? {} : { providerModel: copyProviderModelEvidence(ev.providerModel) },
15529
15532
  ...budgetViolationOf(ev),
@@ -19932,6 +19935,7 @@ function defaultSleep$1(ms, signal) {
19932
19935
  const runtimeOwnedProviderMeters = /* @__PURE__ */ new WeakMap();
19933
19936
  const recoveryStarters = /* @__PURE__ */ new WeakMap();
19934
19937
  const retainedReleasers = /* @__PURE__ */ new WeakMap();
19938
+ const admissionSeals = /* @__PURE__ */ new WeakMap();
19935
19939
  /** Per-child bound on a retained release: one remote destroy, answered or abandoned. */
19936
19940
  const RETAINED_RELEASE_TIMEOUT_MS = 3e4;
19937
19941
  /** @internal Admit original children before the parent acts; do not wait for their results. */
@@ -19958,6 +19962,29 @@ async function releaseRetainedEnvironments(scope) {
19958
19962
  if (release) await release();
19959
19963
  }
19960
19964
  /**
19965
+ * @internal Close this scope to NEW children. Idempotent, synchronous, and irreversible.
19966
+ *
19967
+ * The supervisor calls it the instant the root `act` has settled, before the join barrier drains.
19968
+ * A driver's `act` returning does not stop everything that holds its scope: a supervisor tool
19969
+ * whose handler outran its response fence keeps running detached (`single-flight-tools`
19970
+ * `background()`) with the coordination verbs still bound, and a verb call reaches `spawn`
19971
+ * in-process — closing the MCP listener does not reach it. Measured 2026-09-14: such a handler
19972
+ * spawned `distill:all` 309 ms after the barrier had drained and released. The child was
19973
+ * admitted, took a conserved reservation, built a sandbox, ran 12.4 s of provider work, and
19974
+ * journaled its settlement 19 s after the run had already written its failure — while the live
19975
+ * reservation it legitimately held was read back at the barrier as a conserved-pool leak and
19976
+ * threw away 63 settled children.
19977
+ *
19978
+ * Nothing admitted here could reach the result anyway: the driver has already selected over the
19979
+ * settled ledger. Sealing is total because `spawn` never suspends between this gate and the
19980
+ * point the child is registered and its ticket marked `executing`, so no spawn can straddle it.
19981
+ *
19982
+ * Not a `Scope` method: an Agent must not be able to close its own siblings out of the run.
19983
+ */
19984
+ function closeScopeAdmission(scope) {
19985
+ admissionSeals.get(scope)?.();
19986
+ }
19987
+ /**
19961
19988
  * The recursion seam key. A `Scope` seeds a value of this on each child's
19962
19989
  * `ExecutorContext.seams` so a child whose executor is a DRIVER can mount a NESTED `Scope`
19963
19990
  * over the driver's reserved child allocation at `depth+1`. A leaf executor never reads it. Single-sourced
@@ -20015,6 +20042,7 @@ function makeNestedScopeSeam(args, liveWorkerCapacity, childNodeId, childBudget,
20015
20042
  function createScope(args) {
20016
20043
  const children = /* @__PURE__ */ new Map();
20017
20044
  const settlementWrites = /* @__PURE__ */ new Set();
20045
+ let admissionClosed = false;
20018
20046
  const interactiveBindingDir = args.interactiveBindingDir;
20019
20047
  const liveWorkerCapacity = args.liveWorkerCapacity ?? {
20020
20048
  max: normalizeLiveWorkerLimit(args.maxLiveWorkers),
@@ -20077,6 +20105,10 @@ function createScope(args) {
20077
20105
  ok: false,
20078
20106
  reason: "scope-aborted"
20079
20107
  };
20108
+ if (admissionClosed) return {
20109
+ ok: false,
20110
+ reason: "scope-settled"
20111
+ };
20080
20112
  const task = detachedSnapshot(rawTask, "scope.spawn task");
20081
20113
  const opts = detachedSnapshot(rawOpts, "scope.spawn options");
20082
20114
  let prior;
@@ -20535,7 +20567,7 @@ function createScope(args) {
20535
20567
  try {
20536
20568
  await interactiveBindingCommitted;
20537
20569
  } catch {
20538
- resolution = downRecord("interactive worker binding persistence failed", true, s.trace, s.metered, s.providerModel);
20570
+ resolution = downRecord("interactive worker binding persistence failed", true, s.trace, s.metered, s.providerModel, s.outRef);
20539
20571
  }
20540
20572
  live.resolved = resolution;
20541
20573
  return resolution;
@@ -20891,6 +20923,9 @@ function createScope(args) {
20891
20923
  };
20892
20924
  }
20893
20925
  };
20926
+ admissionSeals.set(scope, () => {
20927
+ admissionClosed = true;
20928
+ });
20894
20929
  runtimeOwnedProviderMeters.set(scope, async (spend, providerModel, detail, accountingOnly) => meterInternal(spend, detail, providerModel, accountingOnly));
20895
20930
  if (args.ownerMaterialization !== void 0) {
20896
20931
  const authoredProfile = args.ownerMaterialization.authoredProfile === void 0 ? void 0 : detachedSnapshot(args.ownerMaterialization.authoredProfile, "scope owner authored profile");
@@ -21268,6 +21303,7 @@ async function finalizeSettlement(child, settlement, seq, args, now) {
21268
21303
  if (settlement.kind === "down") {
21269
21304
  const cancellation = child.cancellationReason;
21270
21305
  child.status = cancellation === void 0 ? "failed" : "cancelled";
21306
+ child.outRef = settlement.outRef;
21271
21307
  child.trace = settlement.trace;
21272
21308
  child.providerModel = settlement.providerModel;
21273
21309
  if (!child.recoveryPending) await args.journal.appendEvent(args.root, {
@@ -21301,6 +21337,7 @@ async function finalizeSettlement(child, settlement, seq, args, now) {
21301
21337
  payload: {
21302
21338
  childId: child.id,
21303
21339
  status: "down",
21340
+ ...settlement.outRef === void 0 ? {} : { outRef: settlement.outRef },
21304
21341
  reason: settlement.reason,
21305
21342
  infra: settlement.infra,
21306
21343
  spent: child.spent,
@@ -21312,6 +21349,7 @@ async function finalizeSettlement(child, settlement, seq, args, now) {
21312
21349
  handle,
21313
21350
  reason: settlement.reason,
21314
21351
  infra: settlement.infra,
21352
+ ...settlement.outRef === void 0 ? {} : { outRef: settlement.outRef },
21315
21353
  ...settlement.providerModel ? { providerModel: settlement.providerModel } : {},
21316
21354
  ...child.budgetViolation ? { budgetViolation: child.budgetViolation } : {},
21317
21355
  trace: settlement.trace,
@@ -21471,6 +21509,28 @@ async function runChild(live, executor, childAbort, task, opts, pool, ticket, bl
21471
21509
  let terminalTelemetryCaptured = false;
21472
21510
  let teardownStarted = false;
21473
21511
  let traceEvidence;
21512
+ let retainedOutputRef;
21513
+ const retainOutput = async (result, measured = result.spent) => {
21514
+ let usageError;
21515
+ try {
21516
+ assertReportedSpend(result.spent, `scope.spawn ${live.id}`);
21517
+ live.spent = executor.accounting?.()?.reported ?? measured;
21518
+ terminalTelemetryCaptured = true;
21519
+ live.executorDone = true;
21520
+ } catch (error) {
21521
+ usageError = error;
21522
+ }
21523
+ const out = detachedSnapshot(result.out, "scope child output");
21524
+ const outRef = contentAddress(out);
21525
+ await blobs.put(outRef, out);
21526
+ retainedOutputRef = outRef;
21527
+ if (usageError !== void 0) throw usageError;
21528
+ return {
21529
+ ...result,
21530
+ out,
21531
+ outRef
21532
+ };
21533
+ };
21474
21534
  const captureTraceOnce = async () => {
21475
21535
  traceEvidence ??= await captureWorkerTraceEvidence(live.readTraceSource, blobs, started);
21476
21536
  return traceEvidence;
@@ -21537,9 +21597,9 @@ async function runChild(live, executor, childAbort, task, opts, pool, ticket, bl
21537
21597
  });
21538
21598
  }, childAbort.signal);
21539
21599
  live.spent = spend;
21600
+ const reported = executor.resultArtifact();
21601
+ artifact = await retainOutput(reported, preserveUnknownTelemetry(spend, reported.spent));
21540
21602
  await executionEvidence.complete();
21541
- artifact = executor.resultArtifact();
21542
- assertReportedSpend(artifact.spent, `scope.spawn ${live.id}`);
21543
21603
  const accounting = executor.accounting?.();
21544
21604
  const terminalSpend = preserveUnknownTelemetry(spend, artifact.spent);
21545
21605
  live.spent = accounting?.reported ?? terminalSpend;
@@ -21548,8 +21608,7 @@ async function runChild(live, executor, childAbort, task, opts, pool, ticket, bl
21548
21608
  const reconcileError = reconcileOnce(accounting?.reservation ?? terminalSpend);
21549
21609
  if (reconcileError !== void 0) throw reconcileError;
21550
21610
  } else {
21551
- const terminal = await awaitAbortable(Promise.resolve(ran), childAbort.signal);
21552
- assertReportedSpend(terminal.spent, `scope.spawn ${live.id}`);
21611
+ const terminal = await retainOutput(await awaitAbortable(Promise.resolve(ran), childAbort.signal));
21553
21612
  await executionEvidence.complete();
21554
21613
  const accounting = executor.accounting?.();
21555
21614
  live.spent = accounting?.reported ?? terminal.spent;
@@ -21564,10 +21623,9 @@ async function runChild(live, executor, childAbort, task, opts, pool, ticket, bl
21564
21623
  const trace = await captureTraceOnce();
21565
21624
  if (childAbort.signal.aborted && live.acceptedResult === void 0) {
21566
21625
  await teardownOnce(opts.shutdown ?? "brutalKill");
21567
- return downRecord("aborted before settle", true, trace, ownMetered, runtimeOwnedExecutorProviderEvidence(executor));
21626
+ return downRecord("aborted before settle", true, trace, ownMetered, runtimeOwnedExecutorProviderEvidence(executor), retainedOutputRef);
21568
21627
  }
21569
- const outRef = contentAddress(artifact.out);
21570
- await blobs.put(outRef, artifact.out);
21628
+ const outRef = artifact.outRef;
21571
21629
  const failureReason = executorFailureReason(artifact);
21572
21630
  if (failureReason !== void 0) {
21573
21631
  await teardownOnce(opts.shutdown ?? 5e3).catch(() => void 0);
@@ -21638,7 +21696,7 @@ async function runChild(live, executor, childAbort, task, opts, pool, ticket, bl
21638
21696
  }
21639
21697
  live.budgetViolation = void 0;
21640
21698
  return {
21641
- ...downRecord(errMessage(err), true, trace, executor.metered?.()),
21699
+ ...downRecord(errMessage(err), true, trace, executor.metered?.(), void 0, retainedOutputRef),
21642
21700
  reconciled: live.spent
21643
21701
  };
21644
21702
  }
@@ -21662,7 +21720,7 @@ async function runChild(live, executor, childAbort, task, opts, pool, ticket, bl
21662
21720
  const aborted = childAbort.signal.aborted || isAbortError(err);
21663
21721
  if (started && !terminalTelemetryCaptured && accounting === void 0) live.spent = unknownFloor(live.spent);
21664
21722
  const reconcileError = reconcileOnce(accounting?.reservation ?? live.spent);
21665
- return downRecord(errMessage(err), evidenceError !== void 0 || teardownError !== void 0 || reconcileError !== void 0 || aborted || isInfraError(err), trace, executor.metered?.(), providerModel);
21723
+ return downRecord(errMessage(err), evidenceError !== void 0 || teardownError !== void 0 || reconcileError !== void 0 || aborted || isInfraError(err), trace, executor.metered?.(), providerModel, retainedOutputRef);
21666
21724
  } finally {
21667
21725
  await closeRetainedWrites();
21668
21726
  }
@@ -21900,14 +21958,15 @@ function unknownFloor(spend) {
21900
21958
  }])) }
21901
21959
  };
21902
21960
  }
21903
- function downRecord(reason, infra, trace, metered, providerModel) {
21961
+ function downRecord(reason, infra, trace, metered, providerModel, outRef) {
21904
21962
  return {
21905
21963
  kind: "down",
21906
21964
  reason,
21907
21965
  infra,
21908
21966
  trace,
21909
21967
  ...providerModel ? { providerModel } : {},
21910
- ...metered ? { metered } : {}
21968
+ ...metered ? { metered } : {},
21969
+ ...outRef === void 0 ? {} : { outRef }
21911
21970
  };
21912
21971
  }
21913
21972
  /** The one place an absent interactive process is spelled, so every refusal reads the same. */
@@ -22525,6 +22584,9 @@ async function runDriverWithRetry(run) {
22525
22584
  };
22526
22585
  const decision = await run.reprompt?.onUnmetContract?.(context) ?? { steer: defaultUnmetContractSteer(context) };
22527
22586
  if (decision === "stop") return { refusedBy: "caller-stop" };
22587
+ if (run.signal.aborted) return { refusedBy: "aborted" };
22588
+ const afterHook = budgetStop(run.budget(), now());
22589
+ if (afterHook === "deadline" || afterHook === "budget-exhausted") return { refusedBy: afterHook };
22528
22590
  const steer = typeof decision.steer === "string" ? decision.steer.trim() : "";
22529
22591
  if (steer.length === 0) throw new ValidationError$1("runDriverWithRetry: onUnmetContract returned an empty steer — return a non-empty instruction or 'stop'");
22530
22592
  return { steer };
@@ -22532,6 +22594,11 @@ async function runDriverWithRetry(run) {
22532
22594
  for (let attempt = 1;; attempt += 1) {
22533
22595
  const before = run.progress();
22534
22596
  const startedAt = now();
22597
+ const admissionStop = run.signal.aborted ? "aborted" : budgetStop(run.budget(), now());
22598
+ if (admissionStop !== void 0) {
22599
+ if (reentry !== void 0) return;
22600
+ throw new DriverAttemptsExhaustedError(run.signal.aborted ? run.signal.reason : new ValidationError$1(`driver admission: ${admissionStop}`), attempts, admissionStop);
22601
+ }
22535
22602
  try {
22536
22603
  await run.drive(attempt, reentry);
22537
22604
  } catch (error) {
@@ -23069,6 +23136,7 @@ function createSupervisor() {
23069
23136
  error
23070
23137
  };
23071
23138
  } finally {
23139
+ closeScopeAdmission(openScope);
23072
23140
  executionAborted = controller.signal.aborted;
23073
23141
  allChildrenDownAtSettle = allSpawnedChildrenDown(runTree(openScope));
23074
23142
  downCountAtSettle = breaker.downCount();
@@ -23476,4 +23544,4 @@ function isNonEmptySpend(s) {
23476
23544
  //#endregion
23477
23545
  export { bindReusableExecutorExecutionId as $, exportEvalRuns as $n, runtimeOwnedExecutorExecutionBinding as $r, bridgeModelRouteRefusal as $t, waitUntil as A, promptCacheTokenClasses as Ai, retainedExecutorSeamKey as An, promptOnlyProfileMaterialization as Ar, spendFromUsageEvents as At, readWorkerInteractiveBinding as B, resourceTelemetry as Bi, defaultRedactor as Bn, prepareJsonlAppend as Br, readWorkerProgress as Bt, scopeOwnerExecutorNodeContext as C, sumSandboxUsage as Ci, providerAsSandboxClient as Cn, assertProfileMaterialization as Cr, workerTraceAnalysisStore as Ct, pollFor as D, deleteBoxSafe as Di, decodeToolPart as Dn, profileMaterializationAxes$1 as Dr, createBudgetPool as Dt, isWaitOutcome as E, cloneSpend as Ei, createPushTraceSource as En, fullProfileMaterialization as Er, assertValidBudget as Et, scopeRetainedOwnerResult as F, throwIfAborted as Fi, reconnectRetainedRun as Fn, unsupportedProfileDimensions as Fr, workerTraceHeaders as Ft, startRetainedInteractiveRun as G, promptFromAgentTurnInput as Gi, readTraceContextFromEnv as Gn, finalizeRuntimeOwnedPendingExecutor as Gr, claimsAuthority as Gt, workerInteractiveBindingsDir as H, decodeHarnessUsage as Hi, resolveRedactor as Hn, attestRuntimeOwnedPendingExecutor as Hr, AUTHORITY_MARKERS as Ht, interactiveAdmissionSeamKey as I, unmeteredSpend as Ii, recoverRetainedRun as In, validateProfileMaterialization as Ir, workerTraceSeamKey as It, freeSlots as J, buildLoopOtelSpans as Jn, knownMaterializationReceipt as Jr, peerMailTools as Jt, destroyInteractiveEnvironment as K, promptOptionsFromAgentTurnInput as Ki, traceContextToEnv as Kn, inheritRuntimeOwnedExecutorAttestation as Kr, createPeerMailbox as Kt, readWorkerInteractiveAdmissions as L, withTimeout as Li, startRetainedRun as Ln, worktreeCliProfileMaterialization as Lr, taskToPrompt as Lt, prepareScopeRetainedOwnerTask as M, sleep as Mi, abortError as Mn, renderProfileMaterializationIssues as Mr, WORKER_TRACE_PROPAGATION as Mt, scopeRetainedOwnerContext as N, stringifySafe as Ni, linkAbort as Nn, renderUnsupported as Nr, readWorkerTraceContext as Nt, timerAt as O, hasCompleteCacheBreakdown as Oi, sandboxSessionTraceSource as On, promptControlProfileMaterialization as Or, meterUsageEvent as Ot, scopeRetainedOwnerPriorSpend as P, throwAbort as Pi, runAbortable as Pn, sandboxActProfileMaterialization as Pr, workerTraceEnv as Pt, teardownExecutor as Q, createOtelExporter as Qn, runtimeOwnedDriveHarnessProviderEvidence as Qr, bridgeAdmissionRefusal as Qt, workerInteractiveAdmissionFile as R, zeroSpend as Ri, startRetainedRunInEnvironment as Rn, isNoEntError as Rr, DEFAULT_STALL_AFTER_MS as Rt, restoreScopeOwnerAcceptedExecution as S, sandboxProgressEvents as Si, providerAsExecutor as Sn, AGENT_PROFILE_MATERIALIZATION_AXES as Sr, parseWorkerToolTraceArtifact as St, createWaitProbes as T, chargedTokens as Ti, sandboxClientAsProvider as Tn, defineProfileMaterializationContract as Tr, BudgetReconcileFault as Tt, reconnectRetainedInteractiveRun as U, abortError$2 as Ui, createPropagatingTraceEmitter as Un, attestRuntimeOwnedScopeOwner as Ur, DEFAULT_PEER_MAIL_LIMITS as Ut, workerInteractiveBindingFile as V, withBudgetResources as Vi, defaultRedactorIdentityMaterial as Vn, writeAllBytes as Vr, createInbox as Vt, recoverRetainedInteractiveRun as W, awaitAbortable$1 as Wi, mergeTraceEnv as Wn, authoredProfileDigest as Wr, PEER_MAIL_WIRE_KEY as Wt, rollingDispatch as X, buildRuntimeEventOtelSpans as Xn, providerAttemptEvidence as Xr, isLiveNodeStatus as Xt, queueOf as Y, buildLoopSpanNodes as Yn, newExecutionAttemptId as Yr, peerMailVerbNames as Yt, DEFAULT_SUCCESSFUL_SHUTDOWN_MS as Z, createOpenInferenceFileExporter as Zn, recordRuntimeOwnedDriveHarnessProviderEvidence as Zr, isTerminalNodeStatus as Zt, createScope as _, isSandboxTerminalEvent as _i, runBrainLoop as _n, LOCAL_HARNESSES as _r, pendingWaits as _t, pickBestDelivered as a, unknownMaterializationReceipt as ai, bridgeStopSignalKey as an, toOtelAttributes as ar, snapshotExecutorConfig as at, meterRuntimeOwnedProviderAttempt as b, notifySandboxEventObserver as bi, DEFAULT_SANDBOX_IDLE_TIMEOUT_SECONDS as bn, parseCodexTokenUsage as br, captureWorkerTraceEvidence as bt, DriverAttemptsExhaustedError as c, detachedFrozen as ci, defaultSelectWinner as cn, sanitizeAgentRuntimeEvent as cr, createSteerableSandboxSession as ct, runDriverWithRetry as d, readSandboxOutcome as di, createSandboxLineage as dn, runSettledCommand as dr, FileSpawnJournal as dt, runtimeOwnedExecutorMaterialization as ei, addHarnessUsage as en, flatOtelSpan as er, captureReusableExecutorConfig as et, driverChild as f, assertSandboxServedModel as fi, probeSandboxCapabilities as fn, runWorktreeHarness as fr, InMemoryResultBlobStore as ft, beginScopeOwnerAttempt as g, extractLlmCallEvent as gi, routerBrain as gn, DEFAULT_LOCAL_HARNESS as gr, materializeTreeView as gt, withDriverExecutor as h, createSandboxUsageLedger as hi, readPromptOptions as hn, removeWorktree as hr, loadSpawnForest as ht, collectDelivered as i, unknownExecutionBindingReceipt as ii, bridgeRuntimeAttachmentsKey as in, padTraceId as ir, createExecutorRegistry as it, consumeScopeRetainedOwnerResult as j, randomSuffix as ji, RunCancellationReason as jn, promptResourceProfileMaterialization as jr, spendFromUsageTotals as jt, validateWaitSpec as k, isAbortError$2 as ki, registerRetainedExecutorPreparation as kn, promptModelProfileMaterialization as kr, newUsageTotals as kt, classifyDriverFailure as l, detachedSnapshot as li, isTerminalDecision as ln, sanitizeKnowledgeReadinessReport as lr, createInPlaceCliExecutor as lt, isDriverSpec as m, createSandboxToolPartState as mi, assertBoxlessPromptOptions as mn, createWorktree as mr, insideCursorNamespace as mt, createSupervisor as n, runtimeOwnedPendingExecutorMaterialization as ni, harnessUsageIsEmpty as nn, loopEventToOtelSpan as nr, cliWorktreeExecutor as nt, runFinalizer as o, executableAgentProfileSnapshot as oi, TERMINAL_DECISIONS as on, createRuntimeEventCollector as or, createWorktreeCliExecutor as ot, driverExecutorFactory as p, canonicalStreamEventFromSandboxEvent as pi, acquireSandbox as pn, captureWorktreeDiff as pr, InMemorySpawnJournal as pt, effectiveConcurrency as q, providerMessageText as qi, INTELLIGENCE_WIRE_VERSION as qn, knownExecutionBindingReceipt as qr, isPeerMailEnvelope as qt, bestDelivered as r, runtimeOwnedScopeOwnerRuntime as ri, readCodexRolloutSession as rn, padSpanId as rr, createExecutor as rt, runTree as s, executableAgentSpecSnapshot as si, createSandboxForSpec as sn, createRuntimeStreamEventCollector as sr, DEFAULT_SANDBOX_STEERING_MAX_TURNS as st, createRootHandle as t, runtimeOwnedExecutorProviderEvidence as ti, createCodexRolloutStoreReader as tn, generateSpanId as tr, cliInPlaceExecutor as tt, defaultUnmetContractSteer as u, projectSandboxOutcome as ui, runAgentRounds as un, sanitizeRuntimeStreamEvent as ur, FileResultBlobStore as ut, deriveNodeExecutionIdentity as v, mapSandboxEvent as vi, canonicalObservedModelParts as vn, harnessSupportsReasoningEffort as vr, replaySpawnTree as vt, settledToIteration as w, addSpend as wi, resolveAgentEnvironmentProvider as wn, controlProfileMaterialization as wr, contentAddress as wt, recordScopeOwnerMaterialization as x, sandboxEventServedBackend as xi, createAgentEnvironmentProviderRegistry as xn, CodexExecutionDiagnosticError as xr, isTraceAnalysisStore as xt, meterRuntimeOwnedAccounting as y, mapSandboxToolEvent as yi, observedModelMatchesDeclared as yn, localHarnessExecutable as yr, WORKER_TOOL_TRACE_SCHEMA_VERSION as yt, attachWorker as z, addResourceSpend as zi, retainedCreateMaterial as zn, parseCommittedJsonLines as zr, createActivityLog as zt };
23478
23546
 
23479
- //# sourceMappingURL=supervisor-CuBPrwGp.js.map
23547
+ //# sourceMappingURL=supervisor-DBzsb6Qt.js.map