@tangle-network/agent-runtime 0.216.0 → 0.217.1

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 (48) hide show
  1. package/dist/{activation-DKYeOZqa.js → activation-CmjhbLOU.js} +2 -2
  2. package/dist/{activation-DKYeOZqa.js.map → activation-CmjhbLOU.js.map} +1 -1
  3. package/dist/{activation-B5ssx8dt.d.ts → activation-D5bSCvRA.d.ts} +2 -2
  4. package/dist/agent.d.ts +1 -1
  5. package/dist/agent.js +2 -2
  6. package/dist/{coordination-driver-C2FneHgw.js → coordination-driver-TV8PUtix.js} +2 -2
  7. package/dist/{coordination-driver-C2FneHgw.js.map → coordination-driver-TV8PUtix.js.map} +1 -1
  8. package/dist/{delegate-DpF6PLb3.js → delegate-DY7LDk6i.js} +2 -2
  9. package/dist/{delegate-DpF6PLb3.js.map → delegate-DY7LDk6i.js.map} +1 -1
  10. package/dist/durable.d.ts +2 -2
  11. package/dist/durable.js +2 -2
  12. package/dist/{graph-BMJ-hMOB.js → graph-Dq8M69Wl.js} +3 -3
  13. package/dist/{graph-BMJ-hMOB.js.map → graph-Dq8M69Wl.js.map} +1 -1
  14. package/dist/{improvement-cycle-BbGmeW9g.js → improvement-cycle-CtzDO04H.js} +3 -3
  15. package/dist/{improvement-cycle-BbGmeW9g.js.map → improvement-cycle-CtzDO04H.js.map} +1 -1
  16. package/dist/{index-BIW3SWog.d.ts → index-XlvRo6ys.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-kAFDA0CY.d.ts → loop-runner-bin-C4hZxGiX.d.ts} +3 -3
  24. package/dist/{loop-runner-bin-DB10tHvj.js → loop-runner-bin-C8fsTTl4.js} +3 -3
  25. package/dist/{loop-runner-bin-DB10tHvj.js.map → loop-runner-bin-C8fsTTl4.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 +2 -2
  30. package/dist/mcp/index.js +4 -4
  31. package/dist/{provision-supervisor-B8ViAmnR.js → provision-supervisor-iQXK22cP.js} +3 -3
  32. package/dist/{provision-supervisor-B8ViAmnR.js.map → provision-supervisor-iQXK22cP.js.map} +1 -1
  33. package/dist/{redact-DyckXHLF.js → redact-BaQMqbqi.js} +90 -35
  34. package/dist/{redact-DyckXHLF.js.map → redact-BaQMqbqi.js.map} +1 -1
  35. package/dist/{runtime-DU3-YfpU.js → runtime-yar7Fays.js} +8 -8
  36. package/dist/{runtime-DU3-YfpU.js.map → runtime-yar7Fays.js.map} +1 -1
  37. package/dist/{server-CrvRwD6b.js → server-BU0NZQ9c.js} +3 -3
  38. package/dist/{server-CrvRwD6b.js.map → server-BU0NZQ9c.js.map} +1 -1
  39. package/dist/{stream-agent-turn-uwQd_pqM.d.ts → stream-agent-turn-DPv9w25U.d.ts} +14 -1
  40. package/dist/{structural-rollout-BlIso-lM.js → structural-rollout-CtZzP2lH.js} +2 -2
  41. package/dist/{structural-rollout-BlIso-lM.js.map → structural-rollout-CtZzP2lH.js.map} +1 -1
  42. package/dist/{supervise-DVM_yQyh.js → supervise-BvVk6npK.js} +3 -3
  43. package/dist/{supervise-DVM_yQyh.js.map → supervise-BvVk6npK.js.map} +1 -1
  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 +1 -1
@@ -15011,6 +15011,7 @@ const outsideKinds = /* @__PURE__ */ new Set([
15011
15011
  "execution-admitted",
15012
15012
  "execution-result",
15013
15013
  "progress",
15014
+ "reconciled",
15014
15015
  "edge",
15015
15016
  "teardown-unconfirmed",
15016
15017
  "trace-unpropagated",
@@ -15075,6 +15076,7 @@ async function replaySpawnTree(journal, blobs, root) {
15075
15076
  if (ev.kind === "waiting") continue;
15076
15077
  if (ev.kind === "metered") continue;
15077
15078
  if (ev.kind === "progress") continue;
15079
+ if (ev.kind === "reconciled") continue;
15078
15080
  if (ev.kind === "materialized") continue;
15079
15081
  if (ev.kind === "execution-bound") continue;
15080
15082
  if (ev.kind === "execution-input" || ev.kind === "execution-admitted" || ev.kind === "execution-result") continue;
@@ -15278,6 +15280,10 @@ function materializeTreeView(events) {
15278
15280
  node.executionBindings ??= [];
15279
15281
  node.executionBindings.push(ev.binding);
15280
15282
  }
15283
+ for (const ev of [...events].filter((event) => event.kind === "reconciled").sort((a, b) => a.seq - b.seq)) {
15284
+ const node = requireNode(nodes, ev.id);
15285
+ if (node.status === "pending") node.spent = cloneSpend(ev.spent);
15286
+ }
15281
15287
  for (const ev of events) {
15282
15288
  if (ev.kind !== "metered") continue;
15283
15289
  const node = requireNode(nodes, ev.id);
@@ -16989,7 +16995,11 @@ async function* streamCliLeaf(args) {
16989
16995
  args.signal.addEventListener("abort", onAbort, { once: true });
16990
16996
  args.controller.signal.addEventListener("abort", onAbort, { once: true });
16991
16997
  }
16998
+ let deliveryError;
16992
16999
  if (proc.stdin) {
17000
+ proc.stdin.on("error", (error) => {
17001
+ if (error.code !== "EPIPE") deliveryError ??= error;
17002
+ });
16993
17003
  proc.stdin.write(prompt);
16994
17004
  proc.stdin.end();
16995
17005
  }
@@ -17008,6 +17018,7 @@ async function* streamCliLeaf(args) {
17008
17018
  args.controller.signal.removeEventListener("abort", onAbort);
17009
17019
  if (exit.error) throw new ValidationError$1(`cliExecutor: spawn failed: ${exit.error.message}`, { cause: exit.error });
17010
17020
  if (exit.code !== 0) throw new ValidationError$1(`cliExecutor: ${args.seam.bin} exited ${exit.code}: ${errChunks.join("").slice(0, 200)}`);
17021
+ if (deliveryError) throw new ValidationError$1(`cliExecutor: could not deliver the task to ${args.seam.bin}: ${deliveryError.message}`, { cause: deliveryError });
17011
17022
  const out = { content: chunks.join("") };
17012
17023
  args.onArtifact({
17013
17024
  outRef: contentRef("cli", out),
@@ -19004,10 +19015,15 @@ function keyedAssignments(events, settled) {
19004
19015
  }
19005
19016
  return keys;
19006
19017
  }
19007
- /** Child reservations whose spawn was durable but whose terminal record never landed. */
19018
+ /** Child reservations whose spawn was durable, whose terminal record never landed, and whose
19019
+ * reservation was never reconciled: the process died with them in flight, so nothing observed
19020
+ * their spend and the ceiling is the only sound charge. An open node with a `reconciled` record is
19021
+ * not uncertain in that sense — its floor is measured evidence and is charged by
19022
+ * {@link sumMeasuredSpendFromEvents}, never here, so the two readers cannot charge one node twice. */
19008
19023
  function uncertainSpawnBudgets(events, recovered = /* @__PURE__ */ new Set()) {
19009
19024
  const terminal = new Set(events.filter(closesCursorSlot).map((event) => event.id));
19010
- return events.filter((event) => event.kind === "spawned" && event.parent !== void 0 && !terminal.has(event.id) && !recovered.has(event.id) && event.runtime !== "inline").map((event) => event.budget);
19025
+ const reconciled = new Set(events.flatMap((event) => event.kind === "reconciled" ? [event.id] : []));
19026
+ return events.filter((event) => event.kind === "spawned" && event.parent !== void 0 && !terminal.has(event.id) && !reconciled.has(event.id) && !recovered.has(event.id) && event.runtime !== "inline").map((event) => event.budget);
19011
19027
  }
19012
19028
  /** Highest `seq` among events matching `pred`, or `-1` when none match (so a resumed scope's
19013
19029
  * first new ordinal/seq is 0 — the same start a fresh scope uses). */
@@ -19016,9 +19032,12 @@ function maxSeqOf(events, pred) {
19016
19032
  for (const ev of events) if (pred(ev) && ev.seq > max) max = ev.seq;
19017
19033
  return max;
19018
19034
  }
19019
- /** Per-channel sum over a journaled event list: `settled` = spawned-child work (reconciled);
19020
- * `metered` = driver inference (re-homed up the tree, so a single root-tree pass already
19021
- * includes every nested driver's inference). */
19035
+ /** Per-channel sum over a journaled event list: `settled` = spawned-child work (reconciled), plus
19036
+ * the reconciled floor of every node still open, plus the declared ceiling of every open node
19037
+ * nothing reconciled; `metered` = driver inference (re-homed up the tree, so a single root-tree
19038
+ * pass already includes every nested driver's inference). The pool commits exactly these amounts
19039
+ * — a floor where a reconcile ran, a ceiling where the process died first — so this sum is the
19040
+ * same ledger the pool holds, read from the journal. */
19022
19041
  function sumSpendFromEvents(events) {
19023
19042
  const totals = sumMeasuredSpendFromEvents(events);
19024
19043
  const rootBudget = events.find((event) => event.kind === "spawned" && event.parent === void 0)?.budget;
@@ -19041,12 +19060,19 @@ function sumMeasuredSpendFromEvents(events) {
19041
19060
  let childWork = zeroSpend();
19042
19061
  let driverInference = zeroSpend();
19043
19062
  const owners = /* @__PURE__ */ new Map();
19063
+ const terminal = new Set(events.filter(closesCursorSlot).map((event) => event.id));
19064
+ const floors = /* @__PURE__ */ new Map();
19044
19065
  for (const ev of events) if (ev.kind === "settled" || ev.kind === "cancelled") childWork = addSpend(childWork, withBudgetResources(ev.spent ?? {
19045
19066
  ...zeroSpend(),
19046
19067
  tokensKnown: false,
19047
19068
  usdKnown: false
19048
19069
  }, budgets.get(ev.id) ?? {}));
19049
19070
  else if (ev.kind === "metered") owners.set(ev.id, addSpend(owners.get(ev.id) ?? zeroSpend(), ev.spend));
19071
+ else if (ev.kind === "reconciled" && !terminal.has(ev.id)) {
19072
+ const prior = floors.get(ev.id);
19073
+ if (prior === void 0 || ev.seq > prior.seq) floors.set(ev.id, ev);
19074
+ }
19075
+ for (const [id, floor] of floors) childWork = addSpend(childWork, withBudgetResources(floor.spent, budgets.get(id) ?? {}));
19050
19076
  for (const [id, spend] of owners) driverInference = addSpend(driverInference, withBudgetResources(spend, budgets.get(id) ?? {}));
19051
19077
  return {
19052
19078
  childWork,
@@ -19058,9 +19084,9 @@ async function prepareScopeResume(opts, events, signal, now, parentId = opts.run
19058
19084
  const prepared = await prepareInterruptedExecutors(opts, events, signal, now, parentId);
19059
19085
  const prior = prepared.events;
19060
19086
  const recovering = new Set(prepared.recoveries.map((item) => item.spawned.id));
19061
- const measuredEvents = prior.filter((event) => event.kind !== "metered" || !recovering.has(event.id));
19087
+ const measuredEvents = prior.filter((event) => event.kind !== "metered" && event.kind !== "reconciled" || !recovering.has(event.id));
19062
19088
  const measured = sumMeasuredSpendFromEvents(measuredEvents);
19063
- const hasCommittedEvidence = measuredEvents.some((event) => event.kind === "metered" || event.kind === "settled" || event.kind === "cancelled");
19089
+ const hasCommittedEvidence = measuredEvents.some((event) => event.kind === "metered" || event.kind === "reconciled" || event.kind === "settled" || event.kind === "cancelled");
19064
19090
  const settled = await replaySpawnTree(opts.journal, opts.blobs, opts.runId);
19065
19091
  signal.throwIfAborted();
19066
19092
  return {
@@ -20677,17 +20703,34 @@ async function raceFirstSettled(pending) {
20677
20703
  }
20678
20704
  /** Rehomed inference has its own per-child sequence, independent of terminal cursors. */
20679
20705
  async function appendSettlementMetering(journal, root, id, spend, at) {
20680
- const event = {
20706
+ await appendAcknowledged(journal, root, {
20681
20707
  kind: "metered",
20682
20708
  id,
20683
20709
  spend,
20684
- seq: (await journal.loadTree(root) ?? []).reduce((max, event) => event.kind === "metered" && event.id === id ? Math.max(max, event.seq) : max, -1) + 1,
20710
+ seq: await nextPerNodeSeq(journal, root, "metered", id),
20685
20711
  at
20686
- };
20712
+ });
20713
+ }
20714
+ /** An open node's reconciled floor has the same per-child sequence discipline as its metering:
20715
+ * outside the cursor namespace, monotonic per node, so a node reconciled once per process (a
20716
+ * retained failure, a recovery, a second retained failure) keeps its records ordered. */
20717
+ async function appendReconciledFloor(journal, root, id, spent, at) {
20718
+ await appendAcknowledged(journal, root, {
20719
+ kind: "reconciled",
20720
+ id,
20721
+ spent,
20722
+ seq: await nextPerNodeSeq(journal, root, "reconciled", id),
20723
+ at
20724
+ });
20725
+ }
20726
+ async function nextPerNodeSeq(journal, root, kind, id) {
20727
+ return (await journal.loadTree(root) ?? []).reduce((max, event) => event.kind === kind && event.id === id ? Math.max(max, event.seq) : max, -1) + 1;
20728
+ }
20729
+ async function appendAcknowledged(journal, root, event) {
20687
20730
  try {
20688
20731
  await journal.appendEvent(root, event);
20689
20732
  } catch (error) {
20690
- if (!(await journal.loadTree(root))?.some((record) => record.kind === "metered" && contentAddress(record) === contentAddress(event))) throw error;
20733
+ if (!(await journal.loadTree(root))?.some((record) => record.kind === event.kind && contentAddress(record) === contentAddress(event))) throw error;
20691
20734
  }
20692
20735
  }
20693
20736
  /** Stamp the cursor `seq`, write the `settled` journal record, and project the
@@ -20722,6 +20765,7 @@ async function finalizeSettlement(child, settlement, seq, args, now) {
20722
20765
  seq,
20723
20766
  at
20724
20767
  });
20768
+ else if (settlement.reconciled !== void 0) await appendReconciledFloor(args.journal, args.root, child.id, settlement.reconciled, at);
20725
20769
  notifyRuntimeHookEvent(args.hooks, {
20726
20770
  id: `${child.id}:settled`,
20727
20771
  runId: args.root,
@@ -21049,19 +21093,22 @@ async function runChild(live, executor, childAbort, task, opts, pool, ticket, bl
21049
21093
  live.executorDone = true;
21050
21094
  const trace = await captureTraceOnce();
21051
21095
  await teardownOnce(opts.shutdown ?? "brutalKill").catch(() => void 0);
21052
- const metered = executor.metered?.();
21053
- reconcileOnce({
21054
- iterations: metered?.iterations ?? opts.budget.maxIterations,
21055
- tokens: metered?.tokens ?? {
21056
- input: opts.budget.maxTokens,
21057
- output: 0
21058
- },
21059
- tokensKnown: false,
21060
- usd: metered?.usd ?? opts.budget.maxUsd ?? 0,
21061
- usdKnown: false,
21062
- ms: Math.max(0, now() - live.startedAt)
21063
- });
21064
- return downRecord(errMessage(err), true, trace, metered);
21096
+ if (!reconciled) {
21097
+ const accounting = executor.accounting?.();
21098
+ const ms = Math.max(0, now() - live.startedAt);
21099
+ live.spent = {
21100
+ ...unknownFloor(accounting?.reported ?? live.spent),
21101
+ ms
21102
+ };
21103
+ reconcileOnce({
21104
+ ...unknownFloor(accounting?.reservation ?? live.spent),
21105
+ ms
21106
+ });
21107
+ }
21108
+ return {
21109
+ ...downRecord(errMessage(err), true, trace, executor.metered?.()),
21110
+ reconciled: live.spent
21111
+ };
21065
21112
  }
21066
21113
  live.executorDone = true;
21067
21114
  let evidenceError;
@@ -21081,15 +21128,7 @@ async function runChild(live, executor, childAbort, task, opts, pool, ticket, bl
21081
21128
  if (accounting) live.spent = accounting.reported;
21082
21129
  const providerModel = runtimeOwnedExecutorProviderEvidence(executor);
21083
21130
  const aborted = childAbort.signal.aborted || isAbortError(err);
21084
- if (started && !terminalTelemetryCaptured && accounting === void 0) live.spent = {
21085
- ...live.spent,
21086
- tokensKnown: false,
21087
- usdKnown: false,
21088
- ...live.spent.resources === void 0 ? {} : { resources: Object.fromEntries(Object.entries(live.spent.resources).map(([name, value]) => [name, {
21089
- ...value,
21090
- known: false
21091
- }])) }
21092
- };
21131
+ if (started && !terminalTelemetryCaptured && accounting === void 0) live.spent = unknownFloor(live.spent);
21093
21132
  const reconcileError = reconcileOnce(accounting?.reservation ?? live.spent);
21094
21133
  return downRecord(errMessage(err), evidenceError !== void 0 || teardownError !== void 0 || reconcileError !== void 0 || aborted || isInfraError(err), trace, executor.metered?.(), providerModel);
21095
21134
  } finally {
@@ -21315,6 +21354,19 @@ async function awaitAbortable(work, signal) {
21315
21354
  });
21316
21355
  });
21317
21356
  }
21357
+ /** Observed partial counts as a lower bound on every channel: the work happened, its remainder went
21358
+ * unreported, and no reader may take the counts for a measurement. */
21359
+ function unknownFloor(spend) {
21360
+ return {
21361
+ ...spend,
21362
+ tokensKnown: false,
21363
+ usdKnown: false,
21364
+ ...spend.resources === void 0 ? {} : { resources: Object.fromEntries(Object.entries(spend.resources).map(([name, value]) => [name, {
21365
+ ...value,
21366
+ known: false
21367
+ }])) }
21368
+ };
21369
+ }
21318
21370
  function downRecord(reason, infra, trace, metered, providerModel) {
21319
21371
  return {
21320
21372
  kind: "down",
@@ -22124,7 +22176,10 @@ function createSupervisor() {
22124
22176
  controller.abort(reason);
22125
22177
  return true;
22126
22178
  };
22127
- const onCallerAbort = () => cascadeAbort(opts.signal?.reason instanceof RunCancellationReason ? opts.signal.reason : new RunCancellationReason("signal", typeof opts.signal?.reason === "string" ? opts.signal.reason : "caller signal aborted"));
22179
+ const onCallerAbort = () => {
22180
+ const reason = opts.signal ? abortReason(opts.signal, "caller signal aborted") : "caller signal aborted";
22181
+ cascadeAbort(reason instanceof RunCancellationReason ? reason : new RunCancellationReason("signal", typeof reason === "string" ? reason : "caller signal aborted"));
22182
+ };
22128
22183
  if (opts.signal) if (opts.signal.aborted) onCallerAbort();
22129
22184
  else opts.signal.addEventListener("abort", onCallerAbort, { once: true });
22130
22185
  const breaker = createIntensityBreaker(opts, () => cascadeAbort("intensity breaker tripped"));
@@ -22677,4 +22732,4 @@ function resolveRedactor(redact) {
22677
22732
  //#endregion
22678
22733
  export { captureReusableExecutorConfig as $, traceContextToEnv as $n, inheritRuntimeOwnedExecutorAttestation as $r, bridgeRuntimeAttachmentsKey as $t, consumeScopeRetainedOwnerResult as A, sumSandboxUsage as Ai, throwAbort as An, assertProfileMaterialization as Ar, workerTraceHeaders as At, workerInteractiveBindingFile as B, registerRetainedExecutorPreparation as Bn, renderUnsupported as Br, claimsAuthority as Bt, settledToIteration as C, extractLlmCallEvent as Ci, deleteBoxSafe as Cn, DEFAULT_LOCAL_HARNESS as Cr, contentAddress as Ct, timerAt as D, notifySandboxEventObserver as Di, randomSuffix as Dn, parseCodexTokenUsage as Dr, WORKER_TRACE_PROPAGATION as Dt, pollFor as E, mapSandboxToolEvent as Ei, promptCacheTokenClasses as En, localHarnessExecutable as Er, spendFromUsageEvents as Et, interactiveAdmissionSeamKey as F, promptOptionsFromAgentTurnInput as Fi, resourceTelemetry as Fn, promptControlProfileMaterialization as Fr, readWorkerProgress as Ft, destroyInteractiveEnvironment as G, reconnectRetainedRun as Gn, isNoEntError as Gr, isLiveNodeStatus as Gt, reconnectRetainedInteractiveRun as H, RunCancellationReason as Hn, unsupportedProfileDimensions as Hr, isPeerMailEnvelope as Ht, readWorkerInteractiveAdmissions as I, providerMessageText as Ii, withBudgetResources as In, promptModelProfileMaterialization as Ir, createInbox as It, queueOf as J, startRetainedRunInEnvironment as Jn, writeAllBytes as Jr, bridgeModelRouteRefusal as Jt, effectiveConcurrency as K, recoverRetainedRun as Kn, parseCommittedJsonLines as Kr, isTerminalNodeStatus as Kt, workerInteractiveAdmissionFile as L, createPushTraceSource as Ln, promptOnlyProfileMaterialization as Lr, AUTHORITY_MARKERS as Lt, scopeRetainedOwnerContext as M, abortError$2 as Mi, unmeteredSpend as Mn, defineProfileMaterializationContract as Mr, taskToPrompt as Mt, scopeRetainedOwnerPriorSpend as N, awaitAbortable$1 as Ni, zeroSpend as Nn, fullProfileMaterialization as Nr, DEFAULT_STALL_AFTER_MS as Nt, validateWaitSpec as O, sandboxEventServedBackend as Oi, sleep as On, CodexExecutionDiagnosticError as Or, readWorkerTraceContext as Ot, scopeRetainedOwnerResult as P, promptFromAgentTurnInput as Pi, addResourceSpend as Pn, profileMaterializationAxes$1 as Pr, createActivityLog as Pt, bindReusableExecutorExecutionId as Q, readTraceContextFromEnv as Qn, finalizeRuntimeOwnedPendingExecutor as Qr, readCodexRolloutSession as Qt, attachWorker as R, decodeToolPart as Rn, promptResourceProfileMaterialization as Rr, DEFAULT_PEER_MAIL_LIMITS as Rt, scopeOwnerExecutorNodeContext as S, createSandboxUsageLedger as Si, cloneSpend as Sn, removeWorktree as Sr, workerTraceAnalysisStore as St, isWaitOutcome as T, mapSandboxEvent as Ti, isAbortError$2 as Tn, harnessSupportsReasoningEffort as Tr, createBudgetPool as Tt, recoverRetainedInteractiveRun as U, abortError$1 as Un, validateProfileMaterialization as Ur, peerMailTools as Ut, workerInteractiveBindingsDir as V, retainedExecutorSeamKey as Vn, sandboxActProfileMaterialization as Vr, createPeerMailbox as Vt, startRetainedInteractiveRun as W, linkAbort as Wn, worktreeCliProfileMaterialization as Wr, peerMailVerbNames as Wt, DEFAULT_SUCCESSFUL_SHUTDOWN_MS as X, createPropagatingTraceEmitter as Xn, attestRuntimeOwnedScopeOwner as Xr, createCodexRolloutStoreReader as Xt, rollingDispatch as Y, retainedCreateMaterial as Yn, attestRuntimeOwnedPendingExecutor as Yr, addHarnessUsage as Yt, teardownExecutor as Z, mergeTraceEnv as Zn, authoredProfileDigest as Zr, harnessUsageIsEmpty as Zt, deriveNodeExecutionIdentity as _, projectSandboxOutcome as _i, providerAsSandboxClient as _n, sanitizeRuntimeStreamEvent as _r, replaySpawnTree as _t, createSupervisor as a, runtimeOwnedDriveHarnessProviderEvidence as ai, runAgentRounds as an, createOtelExporter as ar, createWorktreeCliExecutor as at, recordScopeOwnerMaterialization as b, canonicalStreamEventFromSandboxEvent as bi, addSpend as bn, captureWorktreeDiff as br, isTraceAnalysisStore as bt, pickBestDelivered as c, runtimeOwnedExecutorProviderEvidence as ci, acquireSandbox as cn, generateSpanId as cr, createInPlaceCliExecutor as ct, driverChild as d, unknownExecutionBindingReceipt as di, routerBrain as dn, padTraceId as dr, InMemoryResultBlobStore as dt, knownExecutionBindingReceipt as ei, bridgeStopSignalKey as en, INTELLIGENCE_WIRE_VERSION as er, cliInPlaceExecutor as et, driverExecutorFactory as f, unknownMaterializationReceipt as fi, runBrainLoop as fn, toOtelAttributes as fr, InMemorySpawnJournal as ft, createScope as g, detachedSnapshot as gi, providerAsExecutor as gn, sanitizeKnowledgeReadinessReport as gr, pendingWaits as gt, beginScopeOwnerAttempt as h, detachedFrozen as hi, createAgentEnvironmentProviderRegistry as hn, sanitizeAgentRuntimeEvent as hr, materializeTreeView as ht, createRootHandle as i, recordRuntimeOwnedDriveHarnessProviderEvidence as ii, isTerminalDecision as in, createOpenInferenceFileExporter as ir, snapshotExecutorConfig as it, prepareScopeRetainedOwnerTask as j, decodeHarnessUsage as ji, throwIfAborted as jn, controlProfileMaterialization as jr, workerTraceSeamKey as jt, waitUntil as k, sandboxProgressEvents as ki, stringifySafe as kn, AGENT_PROFILE_MATERIALIZATION_AXES as kr, workerTraceEnv as kt, runFinalizer as l, runtimeOwnedPendingExecutorMaterialization as li, assertBoxlessPromptOptions as ln, loopEventToOtelSpan as lr, FileResultBlobStore as lt, withDriverExecutor as m, executableAgentSpecSnapshot as mi, observedModelMatchesDeclared as mn, createRuntimeStreamEventCollector as mr, loadSpawnForest as mt, defaultRedactorIdentityMaterial as n, newExecutionAttemptId as ni, createSandboxForSpec as nn, buildLoopSpanNodes as nr, createExecutor as nt, bestDelivered as o, runtimeOwnedExecutorExecutionBinding as oi, createSandboxLineage as on, exportEvalRuns as or, DEFAULT_SANDBOX_STEERING_MAX_TURNS as ot, isDriverSpec as p, executableAgentProfileSnapshot as pi, canonicalObservedModelParts as pn, createRuntimeEventCollector as pr, insideCursorNamespace as pt, freeSlots as q, startRetainedRun as qn, prepareJsonlAppend as qr, bridgeAdmissionRefusal as qt, resolveRedactor as r, providerAttemptEvidence as ri, defaultSelectWinner as rn, buildRuntimeEventOtelSpans as rr, createExecutorRegistry as rt, collectDelivered as s, runtimeOwnedExecutorMaterialization as si, probeSandboxCapabilities as sn, flatOtelSpan as sr, createSteerableSandboxSession as st, defaultRedactor as t, knownMaterializationReceipt as ti, TERMINAL_DECISIONS as tn, buildLoopOtelSpans as tr, cliWorktreeExecutor as tt, runTree as u, runtimeOwnedScopeOwnerRuntime as ui, readPromptOptions as un, padSpanId as ur, FileSpawnJournal as ut, meterRuntimeOwnedAccounting as v, readSandboxOutcome as vi, resolveAgentEnvironmentProvider as vn, runSettledCommand as vr, WORKER_TOOL_TRACE_SCHEMA_VERSION as vt, createWaitProbes as w, isSandboxTerminalEvent as wi, hasCompleteCacheBreakdown as wn, LOCAL_HARNESSES as wr, assertValidBudget as wt, restoreScopeOwnerAcceptedExecution as x, createSandboxToolPartState as xi, chargedTokens as xn, createWorktree as xr, parseWorkerToolTraceArtifact as xt, meterRuntimeOwnedProviderAttempt as y, assertSandboxServedModel as yi, sandboxClientAsProvider as yn, runWorktreeHarness as yr, captureWorkerTraceEvidence as yt, readWorkerInteractiveBinding as z, sandboxSessionTraceSource as zn, renderProfileMaterializationIssues as zr, PEER_MAIL_WIRE_KEY as zt };
22679
22734
 
22680
- //# sourceMappingURL=redact-DyckXHLF.js.map
22735
+ //# sourceMappingURL=redact-BaQMqbqi.js.map