@tangle-network/agent-runtime 0.291.0 → 0.292.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 (53) hide show
  1. package/dist/{activation-BPZL1WCG.js → activation-Cqj8VNEY.js} +2 -2
  2. package/dist/{activation-BPZL1WCG.js.map → activation-Cqj8VNEY.js.map} +1 -1
  3. package/dist/{activation-D8DOMMZc.d.ts → activation-CssIKm0J.d.ts} +3 -3
  4. package/dist/agent.d.ts +2 -2
  5. package/dist/agent.js +2 -2
  6. package/dist/{coordination-driver-CUnF7gfN.js → coordination-driver-B_eE1omm.js} +2 -2
  7. package/dist/{coordination-driver-CUnF7gfN.js.map → coordination-driver-B_eE1omm.js.map} +1 -1
  8. package/dist/{delegate-B0j4915d.js → delegate-DiBCqmRo.js} +2 -2
  9. package/dist/{delegate-B0j4915d.js.map → delegate-DiBCqmRo.js.map} +1 -1
  10. package/dist/durable.d.ts +2 -2
  11. package/dist/durable.js +2 -2
  12. package/dist/{graph-ByPZb_xc.js → graph-DRcWEeEZ.js} +4 -4
  13. package/dist/{graph-ByPZb_xc.js.map → graph-DRcWEeEZ.js.map} +1 -1
  14. package/dist/{improvement-cycle-DipoyAM3.js → improvement-cycle-Dm5zGHc3.js} +3 -3
  15. package/dist/{improvement-cycle-DipoyAM3.js.map → improvement-cycle-Dm5zGHc3.js.map} +1 -1
  16. package/dist/{index-D-5e8mss.d.ts → index-H2CGSpv6.d.ts} +4 -4
  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 +4 -4
  21. package/dist/kernel.d.ts +3 -3
  22. package/dist/kernel.js +8 -8
  23. package/dist/{loop-runner-bin-Bkw-_LkG.d.ts → loop-runner-bin-CsKO_N_m.d.ts} +3 -3
  24. package/dist/{loop-runner-bin-DhPBdCux.js → loop-runner-bin-DRkG5Zdm.js} +3 -3
  25. package/dist/{loop-runner-bin-DhPBdCux.js.map → loop-runner-bin-DRkG5Zdm.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-De6m7S4Y.d.ts → openai-tools-BoNA2t3H.d.ts} +2 -2
  32. package/dist/profiles.d.ts +2 -2
  33. package/dist/{provision-supervisor-DvEpuocs.js → provision-supervisor-mFkdGb6H.js} +3 -3
  34. package/dist/{provision-supervisor-DvEpuocs.js.map → provision-supervisor-mFkdGb6H.js.map} +1 -1
  35. package/dist/{runtime-Ba7oK4M1.js → runtime-CJLd9cvo.js} +8 -8
  36. package/dist/{runtime-Ba7oK4M1.js.map → runtime-CJLd9cvo.js.map} +1 -1
  37. package/dist/{search-method-Cs6SLt8I.js → search-method-DgaXNlJj.js} +2 -2
  38. package/dist/{search-method-Cs6SLt8I.js.map → search-method-DgaXNlJj.js.map} +1 -1
  39. package/dist/{server-CVRFM3ZF.js → server-BXSFNE1v.js} +3 -3
  40. package/dist/{server-CVRFM3ZF.js.map → server-BXSFNE1v.js.map} +1 -1
  41. package/dist/{stream-agent-turn-n3kOukD_.d.ts → stream-agent-turn-DnJkgxgW.d.ts} +5 -4
  42. package/dist/{substrate-DFWtsdNI.d.ts → substrate-DaVkSZLU.d.ts} +2 -2
  43. package/dist/{supervise-dYioyGT-.js → supervise-CrAbE9KL.js} +3 -3
  44. package/dist/{supervise-dYioyGT-.js.map → supervise-CrAbE9KL.js.map} +1 -1
  45. package/dist/{supervisor-DpUCJtKC.js → supervisor-B-LtKizU.js} +52 -28
  46. package/dist/supervisor-B-LtKizU.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-BFcLI8Ge.d.ts → types-Ci1QbSne.d.ts} +2 -1
  52. package/package.json +1 -1
  53. package/dist/supervisor-DpUCJtKC.js.map +0 -1
@@ -5309,7 +5309,7 @@ function createOtelExporter(config) {
5309
5309
  body: JSON.stringify(body),
5310
5310
  signal: AbortSignal.timeout(timeoutMs)
5311
5311
  });
5312
- const text = await response.text().catch(() => "");
5312
+ const text = await response.text();
5313
5313
  if (!response.ok) {
5314
5314
  const detail = text ? `: ${text.slice(0, 200)}` : "";
5315
5315
  drop(batch.length, `HTTP ${response.status} from ${url}${detail}`);
@@ -5324,6 +5324,7 @@ function createOtelExporter(config) {
5324
5324
  }
5325
5325
  /** The single sender: it drains the queue batch by batch until the queue is empty. */
5326
5326
  function drain() {
5327
+ if (sending === void 0 && queue.length === 0) return Promise.resolve();
5327
5328
  sending ??= (async () => {
5328
5329
  try {
5329
5330
  while (queue.length > 0) {
@@ -8097,15 +8098,18 @@ function spendFromUsageEvents(events) {
8097
8098
  for (const ev of events) meterUsageEvent(totals, ev);
8098
8099
  return spendFromUsageTotals(totals);
8099
8100
  }
8100
- /** Fresh zeroed {@link UsageTotals}. */
8101
- function newUsageTotals() {
8101
+ /** Fresh accounting totals, optionally restored from verified committed spend. */
8102
+ function newUsageTotals(priorSpent) {
8103
+ if (priorSpent !== void 0) assertValidSpend(priorSpent, "prior committed usage");
8102
8104
  return {
8103
- tokens: zeroTokenUsage(),
8104
- tokensKnown: true,
8105
- usd: 0,
8106
- usdEstimated: 0,
8107
- usdKnown: true,
8108
- iterations: 0
8105
+ ...addResourceSpend(priorSpent?.resources),
8106
+ tokens: priorSpent === void 0 ? zeroTokenUsage() : cloneTokenUsage(priorSpent.tokens),
8107
+ tokensKnown: priorSpent?.tokensKnown !== false,
8108
+ ...priorSpent?.tokensProvenance === void 0 ? {} : { tokensProvenance: priorSpent.tokensProvenance },
8109
+ usd: priorSpent?.usd ?? 0,
8110
+ usdEstimated: priorSpent?.usdEstimated ?? 0,
8111
+ usdKnown: priorSpent?.usdKnown !== false,
8112
+ iterations: priorSpent?.iterations ?? 0
8109
8113
  };
8110
8114
  }
8111
8115
  /**
@@ -10555,9 +10559,11 @@ function createProviderExecutor(provider, profile, ctx, options, placement) {
10555
10559
  const createProfile = options.profileForCreate?.(profile) ?? profile;
10556
10560
  if (placement && canonicalAgentProfileDigest(createProfile) !== canonicalAgentProfileDigest(profile)) throw new ValidationError("provider placement: profileForCreate cannot change the selected profile");
10557
10561
  const executionId = retention?.executionId ?? node?.nodeId ?? `provider-run-${randomUUID()}`;
10558
- const resetWorkspaceState = (next) => {
10559
- if (workspaceEnvironmentId === next.id) return;
10562
+ let workspaceExecutionId = executionId;
10563
+ const resetWorkspaceState = (next, invocationId = workspaceExecutionId) => {
10564
+ if (workspaceEnvironmentId === next.id && workspaceExecutionId === invocationId) return;
10560
10565
  workspaceEnvironmentId = next.id;
10566
+ workspaceExecutionId = invocationId;
10561
10567
  workspaceSnapshot = void 0;
10562
10568
  workspaceProvenance = void 0;
10563
10569
  workspaceCoverageComplete = false;
@@ -10607,7 +10613,7 @@ function createProviderExecutor(provider, profile, ctx, options, placement) {
10607
10613
  workspaceOutcome = outcome;
10608
10614
  workspaceCapturePromise = captureProviderWorkspaceSnapshot(workspaceRetention, {
10609
10615
  environment: next,
10610
- executionId,
10616
+ executionId: workspaceExecutionId,
10611
10617
  ...workspaceControlRef === void 0 ? {} : { controlRef: workspaceControlRef },
10612
10618
  ...node === void 0 ? {} : { node },
10613
10619
  providerSessionId,
@@ -10740,17 +10746,23 @@ function createProviderExecutor(provider, profile, ctx, options, placement) {
10740
10746
  beginWorkspaceExecution();
10741
10747
  const linked = linkAbort(ctx.signal, signal, controller.signal);
10742
10748
  try {
10743
- const executionStartedAt = Date.now();
10749
+ const executionStartedAt = Date.now() - (retention?.priorSpent?.ms ?? 0);
10744
10750
  let invocation = {
10745
10751
  task,
10746
10752
  retention,
10747
10753
  executionId,
10748
10754
  recovering
10749
10755
  };
10750
- let carried;
10756
+ let carried = retention?.priorSpent;
10751
10757
  let refusalsInARow = 0;
10752
10758
  for (let attempt = 1;; attempt += 1) {
10753
- const continued = carried !== void 0;
10759
+ const continued = attempt > 1;
10760
+ if (continued && environment !== void 0) {
10761
+ resetWorkspaceState(environment, invocation.executionId);
10762
+ workspaceControlRef = void 0;
10763
+ providerSessionId = null;
10764
+ workspacePreservationRequired = options.workspaceRetention !== void 0;
10765
+ }
10754
10766
  const ended = yield* streamProviderExecutor({
10755
10767
  provider,
10756
10768
  profile,
@@ -10765,7 +10777,7 @@ function createProviderExecutor(provider, profile, ctx, options, placement) {
10765
10777
  recovering: invocation.recovering,
10766
10778
  ...carried === void 0 ? {} : { carried },
10767
10779
  executionStartedAt,
10768
- mayContinue: options.unavailablePause !== false && options.workspaceRetention === void 0 && invocation.retention?.continueInvocation !== void 0,
10780
+ mayContinue: options.unavailablePause !== false && invocation.retention?.continueInvocation !== void 0,
10769
10781
  onRetained: (handle) => {
10770
10782
  retained = handle;
10771
10783
  workspaceControlRef = freezeControlRef(handle.controlRef);
@@ -10805,6 +10817,7 @@ function createProviderExecutor(provider, profile, ctx, options, placement) {
10805
10817
  },
10806
10818
  onPublishedSnapshot: (snapshot) => {
10807
10819
  workspacePublishedSnapshot = snapshot;
10820
+ if (continued && snapshot !== void 0 && (!options.workspaceRetention?.requireCompleteProvenance || workspaceCoverageComplete)) workspacePreservationRequired = false;
10808
10821
  },
10809
10822
  captureWorkspace,
10810
10823
  workspaceControlRef: () => workspaceControlRef,
@@ -10817,7 +10830,7 @@ function createProviderExecutor(provider, profile, ctx, options, placement) {
10817
10830
  });
10818
10831
  const refusal = ended.unavailable;
10819
10832
  const continueInvocation = invocation.retention?.continueInvocation;
10820
- if (refusal === void 0 || continueInvocation === void 0) return;
10833
+ if (refusal === void 0 || continueInvocation === void 0 || workspacePreservationRequired || workspaceCaptureFailure !== void 0) return;
10821
10834
  refusalsInARow = ended.madeProgress ? 1 : refusalsInARow + 1;
10822
10835
  const pauseMs = unavailablePauseMs(refusalsInARow, options.unavailablePause || {});
10823
10836
  await invocation.retention?.onPause?.({
@@ -21704,15 +21717,20 @@ async function prepareInterruptedExecutors(opts, events, signal, now, parentId =
21704
21717
  * derived from the input sequence exactly as the live scope derived it.
21705
21718
  */
21706
21719
  async function leafContinuation(node, owned, latestInput, opts) {
21707
- const priorSession = [...owned.slice(0, owned.indexOf(latestInput))].reverse().flatMap((event) => event.kind === "execution-admitted" && event.admission.phase === "environment" ? [event.admission] : [])[0];
21720
+ const before = owned.slice(0, owned.indexOf(latestInput));
21721
+ const priorSession = [...before].reverse().flatMap((event) => event.kind === "execution-admitted" && event.admission.phase === "environment" ? [event.admission] : [])[0];
21708
21722
  if (priorSession === void 0) throw new RuntimeRunStateError(`cannot recover '${node.id}': its continuation names no environment it continued in`);
21723
+ const priorResult = [...before].reverse().find((event) => event.kind === "execution-result");
21724
+ if (priorResult === void 0) throw new RuntimeRunStateError(`cannot recover '${node.id}': its continuation has no committed predecessor result`);
21725
+ await assertRecordedResult(node, priorResult, owned, opts);
21709
21726
  const task = await opts.blobs.get(latestInput.taskRef);
21710
21727
  if (task === void 0 || contentAddress(task) !== latestInput.taskRef) throw new RuntimeRunStateError(`continuation task for '${node.id}' is missing or corrupt`);
21711
21728
  return {
21712
21729
  task,
21713
21730
  inputSeq: latestInput.seq,
21714
21731
  executionId: leafContinuationExecutionId(node.id, latestInput.seq),
21715
- priorSession
21732
+ priorSession,
21733
+ priorSpent: priorResult.spent
21716
21734
  };
21717
21735
  }
21718
21736
  async function assertRecordedResult(node, result, events, opts) {
@@ -23907,7 +23925,8 @@ function createScope(args) {
23907
23925
  const retainedContext = (continuing) => ({
23908
23926
  ...continuing === void 0 ? {} : {
23909
23927
  executionId: continuing.executionId,
23910
- priorSession: continuing.priorSession
23928
+ priorSession: continuing.priorSession,
23929
+ ...continuing.priorSpent === void 0 ? {} : { priorSpent: continuing.priorSpent }
23911
23930
  },
23912
23931
  admissions,
23913
23932
  ...markRecoveryReady && continuing === void 0 ? { onReady: markRecoveryReady } : {},
@@ -23943,10 +23962,12 @@ function createScope(args) {
23943
23962
  });
23944
23963
  inputSeq = nextSeq;
23945
23964
  admissions = [];
23965
+ const priorSpent = live.acceptedResult.spent;
23946
23966
  live.acceptedResult = void 0;
23947
23967
  return retainedContext({
23948
23968
  executionId: leafContinuationExecutionId(id, nextSeq),
23949
- priorSession: environment
23969
+ priorSession: environment,
23970
+ priorSpent
23950
23971
  });
23951
23972
  }
23952
23973
  });
@@ -23964,7 +23985,8 @@ function createScope(args) {
23964
23985
  ...args.seams,
23965
23986
  [retainedExecutorSeamKey]: retainedContext(recovery?.continuation === void 0 ? void 0 : {
23966
23987
  executionId: recovery.continuation.executionId,
23967
- priorSession: recovery.continuation.priorSession
23988
+ priorSession: recovery.continuation.priorSession,
23989
+ priorSpent: recovery.continuation.priorSpent
23968
23990
  }),
23969
23991
  [nestedScopeSeamKey]: makeNestedScopeSeam(args, workerSlots, permit, id, opts.budget, childDeadlineAtMs, deferredOwner),
23970
23992
  ...workerTrace ? { [workerTraceSeamKey]: workerTrace } : {},
@@ -24214,7 +24236,7 @@ function createScope(args) {
24214
24236
  const childRun = runChild(live, executor, controller, recovery?.continuation?.task ?? task, opts, args.pool, reservation.ticket, args.blobs, now, args.journal, args.root, () => progressSeq++, materializationCommitted, {
24215
24237
  complete: async () => pendingEvidence?.complete(),
24216
24238
  fail: async () => pendingEvidence?.fail()
24217
- }, childDeadlineAtMs, recovery !== void 0, closeRetainedWrites, budgetGranted, permit.ready);
24239
+ }, childDeadlineAtMs, recovery !== void 0, closeRetainedWrites, budgetGranted, permit.ready, recovery?.continuation?.priorSpent);
24218
24240
  args.pool.attribute(reservation.ticket, { stage: "executing" });
24219
24241
  const interactiveBindingCommitted = spawnCommitted.then(async () => {
24220
24242
  if (args.interactiveBindingDir === void 0) return;
@@ -25316,7 +25338,8 @@ async function finalizeWait(child, settlement, seq, args, now, handle) {
25316
25338
  * applied per child). The reservation is reconciled on EVERY path (success, abort, throw)
25317
25339
  * so the conserved pool can never leak a reservation.
25318
25340
  */
25319
- async function runChild(live, executor, childAbort, task, opts, pool, ticket, blobs, now, journal, journalRoot, nextProgressSeq, executionReady, executionEvidence, deadlineAtMs, recovering = false, closeRetainedWrites = async () => {}, budgetReady = void 0, slotReady = Promise.resolve()) {
25341
+ async function runChild(live, executor, childAbort, task, opts, pool, ticket, blobs, now, journal, journalRoot, nextProgressSeq, executionReady, executionEvidence, deadlineAtMs, recovering = false, closeRetainedWrites = async () => {}, budgetReady = void 0, slotReady = Promise.resolve(), priorSpent) {
25342
+ if (priorSpent !== void 0) live.spent = detachedSnapshot(priorSpent, "prior committed usage");
25320
25343
  let reconciled = false;
25321
25344
  let reconciliationError;
25322
25345
  let teardownFailure;
@@ -25418,7 +25441,7 @@ async function runChild(live, executor, childAbort, task, opts, pool, ticket, bl
25418
25441
  seq: nextProgressSeq(),
25419
25442
  at: new Date(now()).toISOString()
25420
25443
  });
25421
- }, childAbort.signal);
25444
+ }, childAbort.signal, priorSpent);
25422
25445
  live.spent = spend;
25423
25446
  const reported = executor.resultArtifact();
25424
25447
  artifact = await retainOutput(reported, preserveUnknownTelemetry(spend, reported.spent));
@@ -25786,8 +25809,8 @@ function freezeCorrelation(value) {
25786
25809
  * turns deep from one that had produced nothing. It also means a worker that THROWS mid-stream
25787
25810
  * now reconciles its real partial spend instead of refunding work the provider already billed.
25788
25811
  */
25789
- async function foldStream(stream, onProgress, signal) {
25790
- const totals = newUsageTotals();
25812
+ async function foldStream(stream, onProgress, signal, priorSpent) {
25813
+ const totals = newUsageTotals(priorSpent);
25791
25814
  const iterator = stream[Symbol.asyncIterator]();
25792
25815
  try {
25793
25816
  for (;;) {
@@ -25801,6 +25824,7 @@ async function foldStream(stream, onProgress, signal) {
25801
25824
  tokens: cloneTokenUsage(totals.tokens),
25802
25825
  ...totals.tokensKnown ? {} : { tokensKnown: false },
25803
25826
  usd: totals.usd,
25827
+ ...totals.usdEstimated > 0 ? { usdEstimated: totals.usdEstimated } : {},
25804
25828
  ...totals.usdKnown ? {} : { usdKnown: false },
25805
25829
  ...totals.tokensProvenance === void 0 || totals.tokensProvenance === "stream-receipt" ? {} : { tokensProvenance: totals.tokensProvenance },
25806
25830
  ms: 0
@@ -28389,4 +28413,4 @@ function isNonEmptySpend(s) {
28389
28413
  //#endregion
28390
28414
  export { waitUntil as $, projectSandboxOutcome as $i, captureWorkerTraceEvidence as $n, runWorktreeHarness as $r, claimsAuthority as $t, driverExecutorFactory as A, withBudgetResources as Aa, writeAllBytes as Ai, providerAsExecutor as An, mergeTraceEnv as Ar, cliInPlaceExecutor as At, recordScopeOwnerDriverAttempt as B, providerMessageText as Ba, recordRuntimeOwnedDriveHarnessProviderEvidence as Bi, FileResultBlobStore as Bn, createOtelExporter as Br, WORKER_TRACE_PROPAGATION as Bt, createContinuationKeeper as C, throwAbort as Ca, sandboxActProfileMaterialization as Ci, captureBeforeDestroy as Cn, runAbortable as Cr, recoverRetainedInteractiveRun as Ct, passedItems as D, zeroSpend as Da, isNoEntError as Di, runBrainLoop as Dn, readHarnessTranscript as Dr, rollingDispatch as Dt, failedItems as E, withTimeout as Ea, worktreeCliProfileMaterialization as Ei, routerBrain as En, persistHarnessTranscript as Er, queueOf as Et, beginScopeOwnerAttempt as F, armDeadlineTimer as Fa, inheritRuntimeOwnedExecutorAttestation as Fi, createPushTraceSource as Fn, resolveRedactor as Fr, createWorktreeCliExecutor as Ft, settledToIteration as G, runtimeOwnedPendingExecutorMaterialization as Gi, assertContentAddress as Gn, padTraceId as Gr, taskToPrompt as Gt, recordScopeOwnerPause as H, runtimeOwnedExecutorExecutionBinding as Hi, InMemoryResultBlobStore as Hn, generateSpanId as Hr, workerTraceEnv as Ht, createScope as I, teardownExecutor as Ia, knownExecutionBindingReceipt as Ii, decodeToolPart as In, buildLoopOtelSpans as Ir, DEFAULT_SANDBOX_STEERING_MAX_TURNS as It, createWaitProbes as J, unknownMaterializationReceipt as Ji, loadSpawnForest as Jn, createRuntimeStreamEventCollector as Jr, readWorkerProgress as Jt, createWorkerSlots as K, runtimeOwnedScopeOwnerRuntime as Ki, encodeResultBlob as Kn, toOtelAttributes as Kr, DEFAULT_STALL_AFTER_MS as Kt, deriveNodeExecutionIdentity as L, teardownSurfaces as La, knownMaterializationReceipt as Li, sandboxSessionTraceSource as Ln, buildLoopSpanNodes as Lr, createSteerableSandboxSession as Lt, withDriverExecutor as M, abortError$2 as Ma, attestRuntimeOwnedScopeOwner as Mi, resolveAgentEnvironmentProvider as Mn, traceContextToEnv as Mr, createExecutor as Mt, SUBTREE_RESULT_LIMIT as N, awaitAbortable$1 as Na, authoredProfileDigest as Ni, unavailablePauseMs as Nn, defaultRedactor as Nr, createExecutorRegistry as Nt, verdictFromJudgeScore as O, addResourceSpend as Oa, prepareJsonlAppend as Oi, LEAF_CONTINUATION_TASK as On, contentAddress as Or, bindReusableExecutorExecutionId as Ot, assertRecursiveReservationPolicy as P, DEFAULT_SUCCESSFUL_SHUTDOWN_MS as Pa, finalizeRuntimeOwnedPendingExecutor as Pi, unavailableSignalOfFailure as Pn, defaultRedactorIdentityMaterial as Pr, snapshotExecutorConfig as Pt, validateWaitSpec as Q, detachedSnapshot as Qi, WORKER_TOOL_TRACE_SCHEMA_VERSION as Qn, runSettledCommand as Qr, PEER_MAIL_WIRE_KEY as Qt, meterRuntimeOwnedAccounting as R, promptFromAgentTurnInput as Ra, newExecutionAttemptId as Ri, registerRetainedExecutorPreparation as Rn, buildRuntimeEventOtelSpans as Rr, createRouterTranscript as Rt, composeContinuationNote as S, stringifySafe as Sa, renderUnsupported as Si, SandboxEvidenceRetentionError as Sn, linkAbort as Sr, reconnectRetainedInteractiveRun as St, expandQuestions as T, unmeteredSpend as Ta, validateProfileMaterialization as Ti, readPromptOptions as Tn, harnessTranscriptArtifact as Tr, freeSlots as Tt, restoreScopeOwnerAcceptedExecution as U, runtimeOwnedExecutorMaterialization as Ui, InMemorySpawnJournal as Un, loopEventToOtelSpan as Ur, workerTraceHeaders as Ut, recordScopeOwnerMaterialization as V, runtimeOwnedDriveHarnessProviderEvidence as Vi, FileSpawnJournal as Vn, flatOtelSpan as Vr, readWorkerTraceContext as Vt, scopeOwnerExecutorNodeContext as W, runtimeOwnedExecutorProviderEvidence as Wi, SpawnEventIndex as Wn, padSpanId as Wr, workerTraceSeamKey as Wt, pollFor as X, executableAgentSpecSnapshot as Xi, pendingWaits as Xn, sanitizeKnowledgeReadinessReport as Xr, AUTHORITY_MARKERS as Xt, isWaitOutcome as Y, executableAgentProfileSnapshot as Yi, materializeTreeView as Yn, sanitizeAgentRuntimeEvent as Yr, createInbox as Yt, timerAt as Z, detachedFrozen as Zi, replaySpawnTree as Zn, sanitizeRuntimeStreamEvent as Zr, DEFAULT_PEER_MAIL_LIMITS as Zt, CheckUnavailableError as _, hasCompleteCacheBreakdown as _a, promptControlProfileMaterialization as _i, isTerminalDecision as _n, retainedCreateMaterial as _r, workerInteractiveAdmissionFile as _t, collectDelivered as a, extractLlmCallEvent as aa, harnessInvocation as ai, isTerminalNodeStatus as an, ReservationWaitRefused as ar, reconcileScopeRetainedOwnerEnvironment as at, bestComposite as b, randomSuffix as ba, promptResourceProfileMaterialization as bi, probeSandboxCapabilities as bn, RunCancellationReason as br, workerInteractiveBindingFile as bt, runTree as c, mapSandboxToolEvent as ca, parseCodexTokenUsage as ci, addHarnessUsage as cn, meterUsageEvent as cr, scopeRetainedOwnerResourceReader as ct, classifyDriverFailure as d, sandboxProgressEvents as da, AGENT_PROFILE_MATERIALIZATION_AXES as di, readCodexRolloutSession as dn, spendFromUsageTotals as dr, SPAWN_RESOURCE_PATH_MAX_BYTES as dt, readSandboxOutcome as ea, captureWorktreeDiff as ei, createPeerMailbox as en, isTraceAnalysisStore as er, bindScopeRetainedOwnerEnvironmentId as et, runDriverWithRetry as f, sumSandboxUsage as fa, assertProfileMaterialization as fi, bridgeRuntimeAttachmentsKey as fn, errMessage as fr, environmentReader as ft, CONTINUATION_FACTS as g, deleteBoxSafe as ga, profileMaterializationAxes$1 as gi, defaultSelectWinner as gn, startRetainedRunInEnvironment as gr, readWorkerInteractiveAdmissions as gt, CONTINUATIONS_DIR as h, cloneSpend as ha, fullProfileMaterialization as hi, createSandboxForSpec as hn, startRetainedRun as hr, interactiveAdmissionSeamKey as ht, bestDelivered as i, createSandboxUsageLedger as ia, LOCAL_HARNESSES as ii, isLiveNodeStatus as in, BudgetReconcileFault as ir, prepareScopeRetainedOwnerTask as it, isDriverSpec as j, decodeHarnessUsage as ja, attestRuntimeOwnedPendingExecutor as ji, providerAsSandboxClient as jn, readTraceContextFromEnv as jr, cliWorktreeExecutor as jt, driverChild as k, resourceTelemetry as ka, readCommittedJsonLines as ki, createAgentEnvironmentProviderRegistry as kn, createPropagatingTraceEmitter as kr, captureReusableExecutorConfig as kt, DriverAttemptsExhaustedError as l, notifySandboxEventObserver as la, CodexExecutionDiagnosticError as li, createCodexRolloutStoreReader as ln, newUsageTotals as lr, scopeRetainedOwnerRestorePoint as lt, upstreamUnavailableSignal as m, chargedTokens as ma, defineProfileMaterializationContract as mi, TERMINAL_DECISIONS as mn, recoverRetainedRun as mr, resolveSpawnResourcePaths as mt, createRootHandle as n, canonicalStreamEventFromSandboxEvent as na, removeWorktree as ni, peerMailTools as nn, workerTraceAnalysisStore as nr, consumeScopeRetainedOwnerResult as nt, pickBestDelivered as o, isSandboxTerminalEvent as oa, harnessSupportsReasoningEffort as oi, bridgeAdmissionRefusal as on, assertValidBudget as or, scopeRetainedOwnerContext as ot, summarizeDriverAttempts as p, addSpend as pa, controlProfileMaterialization as pi, bridgeStopSignalKey as pn, reconnectRetainedRun as pr, hostDirectoryReader as pt, openSlotGroup as q, unknownExecutionBindingReceipt as qi, insideCursorNamespace as qn, createRuntimeEventCollector as qr, createActivityLog as qt, createSupervisor as r, createSandboxToolPartState as ra, DEFAULT_LOCAL_HARNESS as ri, peerMailVerbNames as rn, executorFailure as rr, noteScopeRetainedOwnerCoordination as rt, runFinalizer as s, mapSandboxEvent as sa, localHarnessExecutable as si, bridgeModelRouteRefusal as sn, createBudgetPool as sr, scopeRetainedOwnerPriorSpend as st, DEFAULT_MAX_DEPTH as t, assertSandboxServedModel as ta, createWorktree as ti, isPeerMailEnvelope as tn, parseWorkerToolTraceArtifact as tr, bindScopeRetainedOwnerProvider as tt, HarnessTurnFailedError as u, sandboxEventServedBackend as ua, terminateProcessTreeAndConfirm as ui, harnessUsageIsEmpty as un, spendFromUsageEvents as ur, scopeRetainedOwnerResult as ut, admitContinuationPolicy as v, isAbortError$2 as va, promptModelProfileMaterialization as vi, runAgentRounds as vn, destroyInteractiveEnvironment as vr, attachWorker as vt, distillFindings as w, throwIfAborted as wa, unsupportedProfileDimensions as wi, assertBoxlessPromptOptions as wn, captureHarnessTranscript as wr, startRetainedInteractiveRun as wt, checkVerdictOf as x, sleep as xa, renderProfileMaterializationIssues as xi, acquireSandbox as xn, abortError as xr, workerInteractiveBindingsDir as xt, admitFinding as y, promptCacheTokenClasses as ya, promptOnlyProfileMaterialization as yi, createSandboxLineage as yn, environmentGone as yr, readWorkerInteractiveBinding as yt, meterRuntimeOwnedProviderAttempt as z, promptOptionsFromAgentTurnInput as za, providerAttemptEvidence as zi, retainedExecutorSeamKey as zn, createOpenInferenceFileExporter as zr, createInPlaceCliExecutor as zt };
28391
28415
 
28392
- //# sourceMappingURL=supervisor-DpUCJtKC.js.map
28416
+ //# sourceMappingURL=supervisor-B-LtKizU.js.map