@tangle-network/agent-runtime 8.0.1 → 9.0.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 (85) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/dist/{activation-8AdN-3r4.js → activation-BrBDs0Yj.js} +3 -3
  3. package/dist/{activation-8AdN-3r4.js.map → activation-BrBDs0Yj.js.map} +1 -1
  4. package/dist/{activation-xxvLF1-1.d.ts → activation-Cvw_7nrn.d.ts} +2 -2
  5. package/dist/agent.d.ts +3 -3
  6. package/dist/agent.js +2 -2
  7. package/dist/agent.js.map +1 -1
  8. package/dist/candidate-execution/index.js +2 -2
  9. package/dist/{continuation-CIyKnS1Q.js → continuation-DDPfLw2w.js} +2 -2
  10. package/dist/{continuation-CIyKnS1Q.js.map → continuation-DDPfLw2w.js.map} +1 -1
  11. package/dist/{coordination-manager-DAGPerJy.js → coordination-manager-DKmQGzBB.js} +9 -10
  12. package/dist/coordination-manager-DKmQGzBB.js.map +1 -0
  13. package/dist/{delegate-CoaNr0hO.js → delegate-eayHBLHB.js} +2 -2
  14. package/dist/{delegate-CoaNr0hO.js.map → delegate-eayHBLHB.js.map} +1 -1
  15. package/dist/durable.d.ts +33 -2
  16. package/dist/durable.js +75 -14
  17. package/dist/durable.js.map +1 -1
  18. package/dist/{graph-pFTeNZ-G.js → graph-Cdhyxi8E.js} +10 -10
  19. package/dist/graph-Cdhyxi8E.js.map +1 -0
  20. package/dist/{graph-registry-czAwYwNj.js → graph-registry-D3cY0BJU.js} +3 -3
  21. package/dist/{graph-registry-czAwYwNj.js.map → graph-registry-D3cY0BJU.js.map} +1 -1
  22. package/dist/{graph-registry-uTIyyy7A.js → graph-registry-DTeb6qhB.js} +1 -1
  23. package/dist/{improve-I43jex8v.js → improve-CnTEGkF6.js} +6 -6
  24. package/dist/{improve-I43jex8v.js.map → improve-CnTEGkF6.js.map} +1 -1
  25. package/dist/index.d.ts +5 -5
  26. package/dist/index.js +12 -12
  27. package/dist/intelligence.d.ts +4 -4
  28. package/dist/intelligence.js +6 -6
  29. package/dist/kernel.d.ts +2 -2
  30. package/dist/kernel.js +15 -15
  31. package/dist/{loop-runner-BGwhcn1p.d.ts → loop-runner-Bd9Ieh5w.d.ts} +2 -2
  32. package/dist/{loop-runner-BN4KozR0.js → loop-runner-CGt9nTw7.js} +3 -3
  33. package/dist/{loop-runner-BN4KozR0.js.map → loop-runner-CGt9nTw7.js.map} +1 -1
  34. package/dist/loop-runner-bin.d.ts +1 -1
  35. package/dist/loop-runner-bin.js +1 -1
  36. package/dist/mcp/bin.js +3 -3
  37. package/dist/mcp/index.d.ts +1 -1
  38. package/dist/mcp/index.js +6 -6
  39. package/dist/{prepare-BnF8nGIg.js → prepare-D7WwIddG.js} +2 -2
  40. package/dist/{prepare-BnF8nGIg.js.map → prepare-D7WwIddG.js.map} +1 -1
  41. package/dist/{profile-CD25rTJF.js → profile-BT0X-dm5.js} +2 -2
  42. package/dist/{profile-CD25rTJF.js.map → profile-BT0X-dm5.js.map} +1 -1
  43. package/dist/profiles.d.ts +1 -1
  44. package/dist/{provision-supervisor-DvzayGpe.js → provision-supervisor-B-ULubUf.js} +6 -6
  45. package/dist/{provision-supervisor-DvzayGpe.js.map → provision-supervisor-B-ULubUf.js.map} +1 -1
  46. package/dist/{run-cancellation-C5__aBKW.js → run-cancellation-DZn4OSl8.js} +2 -2
  47. package/dist/{run-cancellation-C5__aBKW.js.map → run-cancellation-DZn4OSl8.js.map} +1 -1
  48. package/dist/{run-state-CJAaxqfp.js → run-state-nbF5NNGy.js} +6 -6
  49. package/dist/{run-state-CJAaxqfp.js.map → run-state-nbF5NNGy.js.map} +1 -1
  50. package/dist/{runtime-CuwHe8_K.js → runtime-CPL2lhgf.js} +98 -30
  51. package/dist/runtime-CPL2lhgf.js.map +1 -0
  52. package/dist/{search-executor-DAjm-NlG.js → search-executor-2xqDTDNO.js} +3 -3
  53. package/dist/{search-executor-DAjm-NlG.js.map → search-executor-2xqDTDNO.js.map} +1 -1
  54. package/dist/{server-BUpNUn5D.js → server-DHZq2AG7.js} +3 -3
  55. package/dist/{server-BUpNUn5D.js.map → server-DHZq2AG7.js.map} +1 -1
  56. package/dist/{settle-record-CeBdBuxP.js → settle-record-B95oiypS.js} +3 -3
  57. package/dist/{settle-record-CeBdBuxP.js.map → settle-record-B95oiypS.js.map} +1 -1
  58. package/dist/{structural-rollout-CqxBKxKY.js → structural-rollout-BHNqBUV0.js} +8 -5
  59. package/dist/structural-rollout-BHNqBUV0.js.map +1 -0
  60. package/dist/{supervise-Cdqj_oe4.js → supervise-DkhIZyD_.js} +16 -16
  61. package/dist/supervise-DkhIZyD_.js.map +1 -0
  62. package/dist/{supervision-discovery-CW-ildZ-.js → supervision-discovery-DUpm_6nQ.js} +2 -2
  63. package/dist/{supervision-discovery-CW-ildZ-.js.map → supervision-discovery-DUpm_6nQ.js.map} +1 -1
  64. package/dist/{supervisor-D-eT-6Tu.js → supervisor-BhcXPxAk.js} +180 -95
  65. package/dist/supervisor-BhcXPxAk.js.map +1 -0
  66. package/dist/{supervisor-accounting-Ow6CChpB.js → supervisor-accounting-BB22j3hu.js} +46 -31
  67. package/dist/supervisor-accounting-BB22j3hu.js.map +1 -0
  68. package/dist/testing.d.ts +1 -1
  69. package/dist/testing.js +12 -12
  70. package/dist/{top-web-BuYMkJN4.js → top-web-DsFGyUlS.js} +5 -5
  71. package/dist/{top-web-BuYMkJN4.js.map → top-web-DsFGyUlS.js.map} +1 -1
  72. package/dist/tui/bin.js +3 -3
  73. package/dist/tui/index.d.ts +1 -1
  74. package/dist/tui/index.js +2 -2
  75. package/dist/{types-C_qbnw9N.d.ts → types-CwGD-823.d.ts} +43 -32
  76. package/dist/viewer/styles.css +29 -237
  77. package/dist/viewer/workspace-viewer.js +2 -2
  78. package/package.json +11 -11
  79. package/dist/coordination-manager-DAGPerJy.js.map +0 -1
  80. package/dist/graph-pFTeNZ-G.js.map +0 -1
  81. package/dist/runtime-CuwHe8_K.js.map +0 -1
  82. package/dist/structural-rollout-CqxBKxKY.js.map +0 -1
  83. package/dist/supervise-Cdqj_oe4.js.map +0 -1
  84. package/dist/supervisor-D-eT-6Tu.js.map +0 -1
  85. package/dist/supervisor-accounting-Ow6CChpB.js.map +0 -1
@@ -6599,13 +6599,14 @@ async function publishOwnerMaterialization(state, runtime, declaration, bindingI
6599
6599
  }
6600
6600
  }
6601
6601
  if (state.prior !== void 0 && state.receipt === void 0) {
6602
- if (canonicalCandidateDigest(state.prior) !== canonicalCandidateDigest(receipt)) {
6602
+ if (changedRunIdentityFields(state.prior, receipt, false).length > 0) {
6603
6603
  await rejectOwnerMaterialization(state);
6604
6604
  throw new ValidationError("scope owner materialization changed across resume; backend, model, execution identity, and plan must match");
6605
6605
  }
6606
6606
  state.receipt = state.prior;
6607
- await appendOwnerBinding(state, binding);
6608
- state.onReceipt?.(state.prior, binding);
6607
+ const boundToPrior = knownExecutionBindingReceipt(state.prior, bindingInput);
6608
+ await appendOwnerBinding(state, boundToPrior);
6609
+ state.onReceipt?.(state.prior, boundToPrior);
6609
6610
  state.publishedThisProcess = true;
6610
6611
  return;
6611
6612
  }
@@ -6744,10 +6745,9 @@ async function rejectOwnerMaterialization(state) {
6744
6745
  state.onReceipt?.(receipt, binding);
6745
6746
  }
6746
6747
  /**
6747
- * The fields two known receipts disagree on, ignoring which execution instance served the attempt.
6748
- * Empty means only the instance moved, which a re-prompted attempt is allowed to do: Runtime asks
6749
- * the provider for a new environment when it re-prompts an unmet completion check, and a retained
6750
- * environment can be replaced between attempts.
6748
+ * The fields two known receipts disagree on, ignoring each attempt's applied resources (an
6749
+ * observation: `observedAt` always moves) and, unless `ignoreInstance` is false, which execution
6750
+ * instance served it: a re-prompt or a replaced retained environment gets a new one.
6751
6751
  *
6752
6752
  * This answers WHICH field moved, not just THAT one did. The guard used to return a boolean, so a
6753
6753
  * production rejection named four candidate fields and identified none of them. Measured on
@@ -6755,17 +6755,16 @@ async function rejectOwnerMaterialization(state) {
6755
6755
  * the receipt that was rejected is not journalled, so no operator could tell from the record which
6756
6756
  * field had changed. A guard that refuses a live run owes the reason.
6757
6757
  */
6758
- function changedRunIdentityFields(prior, next) {
6758
+ function changedRunIdentityFields(prior, next, ignoreInstance = true) {
6759
6759
  if (prior.status !== "known" || next.status !== "known") return ["status"];
6760
- const withoutInstance = (receipt) => {
6761
- const { execution, ...rest } = receipt;
6760
+ const runIdentity = (receipt) => {
6761
+ const { execution, resources: _applied, ...rest } = receipt;
6762
6762
  return {
6763
6763
  ...rest,
6764
- execution: { kind: execution.kind }
6764
+ execution: ignoreInstance ? { kind: execution.kind } : execution
6765
6765
  };
6766
6766
  };
6767
- const before = withoutInstance(prior);
6768
- const after = withoutInstance(next);
6767
+ const [before, after] = [runIdentity(prior), runIdentity(next)];
6769
6768
  return [.../* @__PURE__ */ new Set([...Object.keys(before), ...Object.keys(after)])].sort().filter((name) => canonicalCandidateDigest(before[name]) !== canonicalCandidateDigest(after[name]));
6770
6769
  }
6771
6770
  async function appendOwnerMaterialization(state, receipt, binding) {
@@ -12735,15 +12734,14 @@ async function resolveChildSettlement(live, ran, interactiveBindingCommitted, ho
12735
12734
  }
12736
12735
  // src/runtime/supervise/scope-key-registry.ts
12737
12736
  /**
12738
- * The semantic-key registry (`SpawnOpts.key`): every keyed assignment's current state, seeded
12739
- * from the prior journal on resume and updated live as keyed children spawn and settle. This is
12740
- * what makes a keyed spawn idempotent per key across process lifetimes: `done` returns the
12741
- * committed result, `live` refuses a concurrent duplicate, `down` retries after a terminal
12742
- * receipt, and `in-doubt` refuses until the exact prior execution is recovered.
12737
+ * The semantic-key registry (`SpawnOpts.key`), seeded from the journal on resume and updated as
12738
+ * keyed children spawn and settle: `done` returns the committed result, `live` refuses a duplicate
12739
+ * once a resume's recovered child is claimed, `down` retries, `in-doubt` refuses until recovered.
12743
12740
  */
12744
12741
  var ScopeKeyRegistry = class {
12745
12742
  children;
12746
12743
  keyed = /* @__PURE__ */ new Map();
12744
+ unclaimed = /* @__PURE__ */ new Map();
12747
12745
  constructor(resumeFrom, children) {
12748
12746
  this.children = children;
12749
12747
  for (const [key, prior] of resumeFrom?.keys ?? []) if (prior.identity !== void 0) this.keyed.set(key, resumedKeyState(prior, prior.identity));
@@ -12751,18 +12749,26 @@ var ScopeKeyRegistry = class {
12751
12749
  get(key) {
12752
12750
  return this.keyed.get(key);
12753
12751
  }
12754
- markLive(key, id, identity) {
12752
+ markLive(key, id, identity, recovered) {
12755
12753
  this.keyed.set(key, {
12756
12754
  state: "live",
12757
12755
  id,
12758
12756
  identity
12759
12757
  });
12758
+ if (recovered !== void 0) this.unclaimed.set(key, recovered);
12759
+ }
12760
+ /** The child `id` this scope's resume recovered under `key`, for that key's first spawn only. */
12761
+ claimRecovered(key, id) {
12762
+ const handle = this.unclaimed.get(key);
12763
+ this.unclaimed.delete(key);
12764
+ return handle?.id === id ? handle : void 0;
12760
12765
  }
12761
12766
  /** Fold a keyed child's terminal settlement back into the registry, so a later spawn with the
12762
12767
  * same key resolves to it (done → committed result; down → explicit retry). */
12763
12768
  recordSettlement = (key, settled) => {
12764
12769
  const identity = settled.handle.identity;
12765
12770
  if (identity === void 0) throw new ValidationError(`scope: keyed settlement '${key}' lost its execution identity`);
12771
+ this.unclaimed.delete(key);
12766
12772
  if (this.children.get(settled.handle.id)?.recoveryPending) this.keyed.set(key, {
12767
12773
  state: "in-doubt",
12768
12774
  id: settled.handle.id,
@@ -12864,11 +12870,9 @@ var ScopeSpawner = class {
12864
12870
  const permit = budgetGranted === void 0 ? acquire() : deferSlot(budgetGranted, acquire);
12865
12871
  return this.start(request, reuse, reservation.ticket, budgetGranted, resolved, permit);
12866
12872
  };
12867
- /**
12868
- * A key is an identity claim, not a cache label. An in-doubt start has no terminal receipt, so
12869
- * it refuses before touching a lazy factory; every other reuse compares the prepared agent's
12870
- * identity with the journal. The completed path resolves, reserves and runs nothing.
12871
- */
12873
+ /** A key is an identity claim: an in-doubt start refuses before touching a lazy factory, and
12874
+ * every other reuse compares the prepared identity with the journal; completed or recovered
12875
+ * keys run nothing. */
12872
12876
  resolveKeyedReuse(request) {
12873
12877
  const { opts, recovery } = request;
12874
12878
  if (opts.key === void 0) return {};
@@ -12887,10 +12891,21 @@ var ScopeSpawner = class {
12887
12891
  ok: false,
12888
12892
  reason: "key-conflict"
12889
12893
  };
12890
- if (existing.state === "live") return {
12891
- ok: false,
12892
- reason: "duplicate-key"
12893
- };
12894
+ if (existing.state === "live") {
12895
+ const handle = this.keys.claimRecovered(opts.key, existing.id);
12896
+ if (handle === void 0) return {
12897
+ ok: false,
12898
+ reason: "duplicate-key"
12899
+ };
12900
+ return {
12901
+ ok: true,
12902
+ handle,
12903
+ prior: {
12904
+ state: "recovered",
12905
+ priorId: existing.id
12906
+ }
12907
+ };
12908
+ }
12894
12909
  if (existing.state === "down") return { prior: {
12895
12910
  state: "retried",
12896
12911
  priorId: existing.id,
@@ -13035,7 +13050,7 @@ var ScopeSpawner = class {
13035
13050
  live.status = status;
13036
13051
  };
13037
13052
  children.set(id, live);
13038
- if (opts.key !== void 0) this.keys.markLive(opts.key, id, child.identity);
13053
+ if (opts.key !== void 0) this.keys.markLive(opts.key, id, child.identity, recovery && handle);
13039
13054
  const spawnCommitted = recovery ? Promise.resolve() : commitSpawnRecord(args, child, executor, ownedTreeRoot, workerTrace, now);
13040
13055
  const materialization = createChildMaterialization({
13041
13056
  args,
@@ -14064,6 +14079,6 @@ function unknownChannels(spend) {
14064
14079
  function isNonEmptySpend(s) {
14065
14080
  return s.iterations > 0 || s.tokens.input > 0 || s.tokens.output > 0 || s.usd > 0 || s.ms > 0 || s.tokensKnown === false || s.usdKnown === false || Object.values(s.resources ?? {}).some((resource) => resource.amount > 0 || !resource.known);
14066
14081
  }
14067
- export { queueOf as $, harnessTranscriptFromLines as $n, awaitAbortable$1 as $r, ownedTreeRootSpawn as $t, openSlotGroup as A, environmentGone as An, providerAttemptEvidence as Ar, noteScopeOwnerPlannedExecution as At, readWorkerInteractiveBinding as B, createOpenInferenceFileExporter as Bn, runtimeOwnedPendingExecutorMaterialization as Br, scopeRetainedOwnerSettled as Bt, workerCancellationsDir as C, offerInteractiveControl as Cn, authoredAgentIdentity as Cr, abandonScopeRetainedOwnerInvocation as Ct, writeWorkerSteer as D, observerRecordDigest as Dn, knownExecutionBindingReceipt as Dr, scopeRetainedOwnerResult as Dt, writeWorkerCancellation as E, createFileObserverHooks as En, inheritRuntimeOwnedExecutorAttestation as Er, scopeRetainedOwnerPriorSpend as Et, parseWorkerToolTraceArtifact as F, mergeTraceEnv as Fn, recordRuntimeOwnedProviderModel as Fr, coordinationMcpAlias as Ft, appendSpawnEvents as G, createRuntimeEventCollector as Gn, executableAgentProfileSnapshot as Gr, noteScopeRetainedOwnerCoordination as Gt, recoverRetainedInteractiveRun as H, flatOtelSpan as Hn, runtimeOwnedScopeOwnerRuntime as Hr, assertRetainedOwnerCoordinationRekey as Ht, workerTraceAnalysisStore as I, readTraceContextFromEnv as In, runtimeOwnedDriveHarnessProviderEvidence as Ir, coordinationProfileToolPrefix as It, reenteredWorkers as J, sanitizeRuntimeStreamEvent as Jn, runtimeCheckFactory as Jr, bindScopeRetainedOwnerProvider as Jt, spawnJournalRecordEvents as K, createRuntimeStreamEventCollector as Kn, executableAgentSpecSnapshot as Kr, scopeRetainedOwnerCheckpointing as Kt, nestedScopeSeamKey as L, buildLoopOtelSpans as Ln, runtimeOwnedExecutorExecutionBinding as Lr, providerVisibleProfile as Lt, prepareScopeResume as M, workerTraceEnv as Mn, recordRuntimeOwnedProviderAttemptStart as Mr, restoreScopeOwnerAcceptedExecution as Mt, replaySpawnTree as N, workerTraceHeaders as Nn, recordRuntimeOwnedProviderDispatchNotStarted as Nr, scopeOwnerExecutionObservation as Nt, writeWorkerSteerAcknowledgement as O, verifyObserverRecords as On, knownMaterializationReceipt as Or, beginScopeOwnerAttempt as Ot, isTraceAnalysisStore as P, createPropagatingTraceEmitter as Pn, recordRuntimeOwnedProviderIdentityConflict as Pr, scopeOwnerExecutorNodeContext as Pt, freeSlots as Q, harnessTranscriptArtifact as Qn, assertEventBinding as Qr, loadSpawnForest as Qt, interactiveAdmissionSeamKey as R, buildLoopSpanNodes as Rn, runtimeOwnedExecutorMaterialization as Rr, runtimeGraphMetadataKey as Rt, workerCancelRequestsFile as S, acceptedInteractiveControl as Sn, attestRuntimeOwnedScopeOwner as Sr, resolveSpawnResourcePaths as St, workerSteerRequestsDir as T, FileObserverJournal as Tn, finalizeRuntimeOwnedPendingExecutor as Tr, prepareScopeRetainedOwnerTask as Tt, startRetainedInteractiveRun as U, generateSpanId as Un, unknownExecutionBindingReceipt as Ur, reconcileScopeRetainedOwnerEnvironment as Ut, reconnectRetainedInteractiveRun as V, createOtelExporter as Vn, runtimeOwnedScopeOwnerControl as Vr, scopeRetainedOwnerTurnEnded as Vt, FileSpawnJournal as W, loopEventToOtelSpan as Wn, unknownMaterializationReceipt as Wr, scopeRetainedOwnerRestorePoint as Wt, assertRecursiveReservationPolicy as X, captureBoundHarnessTranscript as Xn, runtimeFlowBrain as Xr, scopeRetainedOwnerContext as Xt, settledToIteration as Y, HARNESS_TRANSCRIPT_SETTLE_TIMEOUT_MS as Yn, runtimeFlowAgent as Yr, owners as Yt, deriveNodeExecutionIdentity as Z, captureHarnessTranscript as Zn, RetainedRunProviderContractError as Zr, scopeRetainedOwnerJournalRoot as Zt, readWorkerSteerAcknowledgement as _, reconnectRetainedRun as _n, seatExecutionProfile as _r, waitForScopeChildren as _t, createRootStreamSink as a, abortReason as ai, encodeResultBlob as an, resolveHarnessTranscriptCapture as ar, meterRuntimeOwnedProviderAttempt as at, supervisorRunDir as b, startRetainedRunInEnvironment as bn, attestRuntimeOwnedExecutor as br, scopeRetainedOwnerResourceReader as bt, readRootStreamReceipt as c, signalAbortError as ci, executorObservation as cn, createActivityLog as cr, recordScopeOwnerDriverAttempt as ct, claimWorkerSteerDelivery as d, providerMessageText as di, describeRetainedNativeStops as dn, isLiveNodeStatus as dr, releaseHeldEnvironments as dt, exactSession as ei, materializeTreeView as en, harnessTranscriptUnavailable as er, rollingDispatch as et, fileEscalateQuestion as f, stopRetainedNativeExecution as fn, isTerminalNodeStatus as fr, releaseRetainedEnvironments as ft, readWorkerCancellation as g, mintRetainedIdentity as gn, authoredSeatStages as gr, unconfirmedTeardowns as gt, readWorkerCancelRequests as h, assertRetainedRunReplayMaterial as hn, SeatPauseError as hr, startScopeRecoveries as ht, ROOT_STREAM_FILE as i, RunCancellationReason as ii, FileResultBlobStore as in, readBoundHarnessSessions as ir, meterRuntimeOwnedAccounting as it, resolveWorkerSlots as j, WORKER_TRACE_PROPAGATION as jn, recordRuntimeOwnedDriveHarnessProviderEvidence as jr, recordScopeOwnerMaterialization as jt, createWorkerSlots as k, destroyInteractiveEnvironment as kn, newExecutionAttemptId as kr, finalizeScopeOwnerMaterialization as kt, appendWorkerControlEvent as l, promptFromAgentTurnInput as li, executorObservationSeamKey as ln, describeToolArgs as lr, recordScopeOwnerPause as lt, legacySupervisorRunsRoot as m, RetainedMaterializationTimeoutError as mn, SeatChain as mr, settleManagerWork as mt, terminalAccounting as n, retainedSessionReplaced as ni, driverRuntime as nn, readHarnessTranscript as nr, closeScopeAdmission as nt, nodeStreamFile as o, linkAbort as oi, SpawnEventIndex as on, retainHarnessTranscript as or, pauseScopeSeatAdmission as ot, legacySupervisorRunDir as p, verifyWorkspaceMarker as pn, SEAT_RECHECK_MS as pr, retryUnconfirmedTeardowns as pt, appendTeardownConfirmation as q, sanitizeKnowledgeReadinessReport as qn, isRuntimeFlowBrain as qr, bindScopeRetainedOwnerEnvironmentId as qt, createScope as r, sameControlCoordinates as ri, nestedDriverTreeRoot as rn, HARNESS_TRANSCRIPT_READ_LIMITS as rr, hasRetriableTeardowns as rt, readRootStream as s, runAbortable as si, insideCursorNamespace as sn, DEFAULT_STALL_AFTER_MS as sr, recordScopeOwnerBarrenPause as st, isNonEmptySpend as t, freezeControlRef as ti, attestNestedDriverTreeOwner as tn, persistHarnessTranscript as tr, closeRetainedSlots as tt, cancelWorker as u, promptOptionsFromAgentTurnInput as ui, observeModelRequest as un, readWorkerProgress as ur, registerNestedTeardownScope as ut, readWorkerSteerRequests as v, recoverRetainedRun as vn, subscriptionUsageLimitSignal as vr, prepareScopeRetainedOwnerSeatSwitch as vt, workerInboxFileFromEventDir as w, prepareInteractiveDelegation as wn, authoredProfileDigest as wr, consumeScopeRetainedOwnerResult as wt, supervisorRunsRoot as x, retainedCreateMaterial as xn, attestRuntimeOwnedPendingExecutor as xr, environmentReader as xt, safeWorkerFile as y, startRetainedRun as yn, attestRuntimeOwnedDeferredExecutor as yr, releaseScopeRetainedOwnerForSeatPause as yt, attachWorker as z, buildRuntimeEventOtelSpans as zn, runtimeOwnedExecutorProviderEvidence as zr, beginScopeRetainedOwnerDrive as zt };
14082
+ export { queueOf as $, harnessTranscriptArtifact as $n, assertEventBinding as $r, loadSpawnForest as $t, openSlotGroup as A, destroyInteractiveEnvironment as An, newExecutionAttemptId as Ar, noteScopeOwnerPlannedExecution as At, readWorkerInteractiveBinding as B, buildRuntimeEventOtelSpans as Bn, runtimeOwnedExecutorProviderEvidence as Br, scopeRetainedOwnerSettled as Bt, workerCancellationsDir as C, acceptedInteractiveControl as Cn, attestRuntimeOwnedScopeOwner as Cr, abandonScopeRetainedOwnerInvocation as Ct, writeWorkerSteer as D, createFileObserverHooks as Dn, inheritRuntimeOwnedExecutorAttestation as Dr, scopeRetainedOwnerResult as Dt, writeWorkerCancellation as E, FileObserverJournal as En, finalizeRuntimeOwnedPendingExecutor as Er, scopeRetainedOwnerPriorSpend as Et, parseWorkerToolTraceArtifact as F, createPropagatingTraceEmitter as Fn, recordRuntimeOwnedProviderIdentityConflict as Fr, coordinationMcpAlias as Ft, appendSpawnEvents as G, loopEventToOtelSpan as Gn, unknownMaterializationReceipt as Gr, noteScopeRetainedOwnerCoordination as Gt, recoverRetainedInteractiveRun as H, createOtelExporter as Hn, runtimeOwnedScopeOwnerControl as Hr, assertRetainedOwnerCoordinationRekey as Ht, workerTraceAnalysisStore as I, mergeTraceEnv as In, recordRuntimeOwnedProviderModel as Ir, coordinationProfileToolPrefix as It, reenteredWorkers as J, sanitizeKnowledgeReadinessReport as Jn, isRuntimeFlowBrain as Jr, bindScopeRetainedOwnerProvider as Jt, spawnJournalRecordEvents as K, createRuntimeEventCollector as Kn, executableAgentProfileSnapshot as Kr, scopeRetainedOwnerCheckpointing as Kt, nestedScopeSeamKey as L, readTraceContextFromEnv as Ln, runtimeOwnedDriveHarnessProviderEvidence as Lr, providerVisibleProfile as Lt, prepareScopeResume as M, WORKER_TRACE_PROPAGATION as Mn, recordRuntimeOwnedDriveHarnessProviderEvidence as Mr, restoreScopeOwnerAcceptedExecution as Mt, replaySpawnTree as N, workerTraceEnv as Nn, recordRuntimeOwnedProviderAttemptStart as Nr, scopeOwnerExecutionObservation as Nt, writeWorkerSteerAcknowledgement as O, observerRecordDigest as On, knownExecutionBindingReceipt as Or, beginScopeOwnerAttempt as Ot, isTraceAnalysisStore as P, workerTraceHeaders as Pn, recordRuntimeOwnedProviderDispatchNotStarted as Pr, scopeOwnerExecutorNodeContext as Pt, freeSlots as Q, captureHarnessTranscript as Qn, RetainedRunProviderContractError as Qr, scopeRetainedOwnerJournalRoot as Qt, interactiveAdmissionSeamKey as R, buildLoopOtelSpans as Rn, runtimeOwnedExecutorExecutionBinding as Rr, runtimeGraphMetadataKey as Rt, workerCancelRequestsFile as S, retainedCreateMaterial as Sn, attestRuntimeOwnedPendingExecutor as Sr, resolveSpawnResourcePaths as St, workerSteerRequestsDir as T, prepareInteractiveDelegation as Tn, authoredProfileDigest as Tr, prepareScopeRetainedOwnerTask as Tt, startRetainedInteractiveRun as U, flatOtelSpan as Un, runtimeOwnedScopeOwnerRuntime as Ur, reconcileScopeRetainedOwnerEnvironment as Ut, reconnectRetainedInteractiveRun as V, createOpenInferenceFileExporter as Vn, runtimeOwnedPendingExecutorMaterialization as Vr, scopeRetainedOwnerTurnEnded as Vt, FileSpawnJournal as W, generateSpanId as Wn, unknownExecutionBindingReceipt as Wr, scopeRetainedOwnerRestorePoint as Wt, assertRecursiveReservationPolicy as X, HARNESS_TRANSCRIPT_SETTLE_TIMEOUT_MS as Xn, runtimeFlowAgent as Xr, scopeOwnerLiabilities as Xt, settledToIteration as Y, sanitizeRuntimeStreamEvent as Yn, runtimeCheckFactory as Yr, owners as Yt, deriveNodeExecutionIdentity as Z, captureBoundHarnessTranscript as Zn, runtimeFlowBrain as Zr, scopeRetainedOwnerContext as Zt, readWorkerSteerAcknowledgement as _, mintRetainedIdentity as _n, authoredSeatStages as _r, waitForScopeChildren as _t, createRootStreamSink as a, RunCancellationReason as ai, FileResultBlobStore as an, readBoundHarnessSessions as ar, meterRuntimeOwnedProviderAttempt as at, supervisorRunDir as b, startRetainedRun as bn, attestRuntimeOwnedDeferredExecutor as br, scopeRetainedOwnerResourceReader as bt, readRootStreamReceipt as c, runAbortable as ci, insideCursorNamespace as cn, DEFAULT_STALL_AFTER_MS as cr, recordScopeOwnerDriverAttempt as ct, claimWorkerSteerDelivery as d, promptOptionsFromAgentTurnInput as di, observeModelRequest as dn, readWorkerProgress as dr, releaseHeldEnvironments as dt, awaitAbortable$1 as ei, ownedTreeRootSpawn as en, harnessTranscriptFromLines as er, rollingDispatch as et, fileEscalateQuestion as f, providerMessageText as fi, describeRetainedNativeStops as fn, isLiveNodeStatus as fr, releaseRetainedEnvironments as ft, readWorkerCancellation as g, assertRetainedRunReplayMaterial as gn, SeatPauseError as gr, unconfirmedTeardowns as gt, readWorkerCancelRequests as h, RetainedMaterializationTimeoutError as hn, SeatChain as hr, startScopeRecoveries as ht, ROOT_STREAM_FILE as i, sameControlCoordinates as ii, nestedDriverTreeRoot as in, HARNESS_TRANSCRIPT_READ_LIMITS as ir, meterRuntimeOwnedAccounting as it, resolveWorkerSlots as j, environmentGone as jn, providerAttemptEvidence as jr, recordScopeOwnerMaterialization as jt, createWorkerSlots as k, verifyObserverRecords as kn, knownMaterializationReceipt as kr, finalizeScopeOwnerMaterialization as kt, appendWorkerControlEvent as l, signalAbortError as li, executorObservation as ln, createActivityLog as lr, recordScopeOwnerPause as lt, legacySupervisorRunsRoot as m, verifyWorkspaceMarker as mn, SEAT_RECHECK_MS as mr, settleManagerWork as mt, terminalAccounting as n, freezeControlRef as ni, attestNestedDriverTreeOwner as nn, persistHarnessTranscript as nr, closeScopeAdmission as nt, nodeStreamFile as o, abortReason as oi, encodeResultBlob as on, resolveHarnessTranscriptCapture as or, pauseScopeSeatAdmission as ot, legacySupervisorRunDir as p, stopRetainedNativeExecution as pn, isTerminalNodeStatus as pr, retryUnconfirmedTeardowns as pt, appendTeardownConfirmation as q, createRuntimeStreamEventCollector as qn, executableAgentSpecSnapshot as qr, bindScopeRetainedOwnerEnvironmentId as qt, createScope as r, retainedSessionReplaced as ri, driverRuntime as rn, readHarnessTranscript as rr, hasRetriableTeardowns as rt, readRootStream as s, linkAbort as si, SpawnEventIndex as sn, retainHarnessTranscript as sr, recordScopeOwnerBarrenPause as st, isNonEmptySpend as t, exactSession as ti, materializeTreeView as tn, harnessTranscriptUnavailable as tr, closeRetainedSlots as tt, cancelWorker as u, promptFromAgentTurnInput as ui, executorObservationSeamKey as un, describeToolArgs as ur, registerNestedTeardownScope as ut, readWorkerSteerRequests as v, reconnectRetainedRun as vn, seatExecutionProfile as vr, prepareScopeRetainedOwnerSeatSwitch as vt, workerInboxFileFromEventDir as w, offerInteractiveControl as wn, authoredAgentIdentity as wr, consumeScopeRetainedOwnerResult as wt, supervisorRunsRoot as x, startRetainedRunInEnvironment as xn, attestRuntimeOwnedExecutor as xr, environmentReader as xt, safeWorkerFile as y, recoverRetainedRun as yn, subscriptionUsageLimitSignal as yr, releaseScopeRetainedOwnerForSeatPause as yt, attachWorker as z, buildLoopSpanNodes as zn, runtimeOwnedExecutorMaterialization as zr, beginScopeRetainedOwnerDrive as zt };
14068
14083
 
14069
- //# sourceMappingURL=supervisor-accounting-Ow6CChpB.js.map
14084
+ //# sourceMappingURL=supervisor-accounting-BB22j3hu.js.map