@tangle-network/agent-runtime 0.308.0 → 0.311.2

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 (68) hide show
  1. package/dist/{activation-5Usfsfzr.d.ts → activation-BxR-Im_k.d.ts} +3 -3
  2. package/dist/{activation-DbnacUhI.js → activation-Dvl9gE_g.js} +3 -3
  3. package/dist/{activation-DbnacUhI.js.map → activation-Dvl9gE_g.js.map} +1 -1
  4. package/dist/agent.d.ts +2 -2
  5. package/dist/agent.js +2 -2
  6. package/dist/{bundle-E6mbRX2P.js → bundle-BK3XBY6q.js} +2 -2
  7. package/dist/{bundle-E6mbRX2P.js.map → bundle-BK3XBY6q.js.map} +1 -1
  8. package/dist/candidate-execution/index.js +5 -5
  9. package/dist/{coordination-driver-BYIjecHz.js → coordination-driver-CIfgl4Yj.js} +3 -3
  10. package/dist/{coordination-driver-BYIjecHz.js.map → coordination-driver-CIfgl4Yj.js.map} +1 -1
  11. package/dist/{delegate-KCK7WdZv.js → delegate-05Ddb4_L.js} +2 -2
  12. package/dist/{delegate-KCK7WdZv.js.map → delegate-05Ddb4_L.js.map} +1 -1
  13. package/dist/durable.d.ts +2 -2
  14. package/dist/durable.js +4 -4
  15. package/dist/{graph-BUu0KQVW.js → graph-BNVGyp1P.js} +6 -4
  16. package/dist/graph-BNVGyp1P.js.map +1 -0
  17. package/dist/{improvement-cycle-BylwWCcl.js → improvement-cycle-Ig1_rWAw.js} +6 -6
  18. package/dist/{improvement-cycle-BylwWCcl.js.map → improvement-cycle-Ig1_rWAw.js.map} +1 -1
  19. package/dist/{index-EibbsKsH.d.ts → index-B0c5PmmO.d.ts} +27 -6
  20. package/dist/index.d.ts +6 -6
  21. package/dist/index.js +9 -9
  22. package/dist/intelligence.d.ts +3 -3
  23. package/dist/intelligence.js +7 -7
  24. package/dist/kernel.d.ts +4 -4
  25. package/dist/kernel.js +10 -9
  26. package/dist/{loop-runner-bin-DcF6ZEWi.js → loop-runner-bin-Beh7PECB.js} +3 -3
  27. package/dist/{loop-runner-bin-DcF6ZEWi.js.map → loop-runner-bin-Beh7PECB.js.map} +1 -1
  28. package/dist/{loop-runner-bin-jST1hm-z.d.ts → loop-runner-bin-drXESgaI.d.ts} +3 -3
  29. package/dist/loop-runner-bin.d.ts +1 -1
  30. package/dist/loop-runner-bin.js +1 -1
  31. package/dist/mcp/bin.js +3 -3
  32. package/dist/mcp/index.d.ts +5 -5
  33. package/dist/mcp/index.js +5 -5
  34. package/dist/{openai-tools-BuFqhp5i.d.ts → openai-tools-CJHfmFzg.d.ts} +2 -2
  35. package/dist/{prepare-CulUz6Wm.js → prepare-8A1CAWG8.js} +3 -3
  36. package/dist/{prepare-CulUz6Wm.js.map → prepare-8A1CAWG8.js.map} +1 -1
  37. package/dist/{profile-DY9lT3gH.js → profile-BhQShsM1.js} +2 -2
  38. package/dist/{profile-DY9lT3gH.js.map → profile-BhQShsM1.js.map} +1 -1
  39. package/dist/profiles.d.ts +1 -1
  40. package/dist/{protected-model-port-BT2iYAsU.js → protected-model-port-ug52OmvB.js} +4 -4
  41. package/dist/{protected-model-port-BT2iYAsU.js.map → protected-model-port-ug52OmvB.js.map} +1 -1
  42. package/dist/{provision-supervisor-Cvp4Nm-y.js → provision-supervisor-CfKlAMTb.js} +4 -4
  43. package/dist/{provision-supervisor-Cvp4Nm-y.js.map → provision-supervisor-CfKlAMTb.js.map} +1 -1
  44. package/dist/{runtime-Y46Lwt_d.js → runtime-DsnHqwNx.js} +9 -9
  45. package/dist/{runtime-Y46Lwt_d.js.map → runtime-DsnHqwNx.js.map} +1 -1
  46. package/dist/{search-executor-BPpfxu9c.js → search-executor-BNLvgp0X.js} +3 -3
  47. package/dist/{search-executor-BPpfxu9c.js.map → search-executor-BNLvgp0X.js.map} +1 -1
  48. package/dist/{server-DIrQYUnn.js → server-Bx4d5imQ.js} +4 -4
  49. package/dist/{server-DIrQYUnn.js.map → server-Bx4d5imQ.js.map} +1 -1
  50. package/dist/{stream-agent-turn-op3m9IEY.d.ts → stream-agent-turn-fd2XzrTv.d.ts} +2 -2
  51. package/dist/{substrate-B1VzcyoB.d.ts → substrate-GW6LFx4A.d.ts} +2 -2
  52. package/dist/{supervise-CmeN8ipv.js → supervise-D6MgxpMI.js} +35 -6
  53. package/dist/supervise-D6MgxpMI.js.map +1 -0
  54. package/dist/{supervisor-CSMb8HBU.js → supervisor-WYRLsCp1.js} +75 -9
  55. package/dist/supervisor-WYRLsCp1.js.map +1 -0
  56. package/dist/testing.d.ts +2 -2
  57. package/dist/testing.js +14 -14
  58. package/dist/tui/index.d.ts +1 -1
  59. package/dist/tui/index.js +1 -1
  60. package/dist/{types-B2IOlN8R.d.ts → types-RlLmOHFR.d.ts} +59 -11
  61. package/dist/{workspace-streams-DaQceg2p.js → workspace-streams-BEvSX97P.js} +13 -2
  62. package/dist/workspace-streams-BEvSX97P.js.map +1 -0
  63. package/package.json +2 -2
  64. package/skills/profile-authoring/SKILL.md +8 -12
  65. package/dist/graph-BUu0KQVW.js.map +0 -1
  66. package/dist/supervise-CmeN8ipv.js.map +0 -1
  67. package/dist/supervisor-CSMb8HBU.js.map +0 -1
  68. package/dist/workspace-streams-DaQceg2p.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  import { c as RetainedInteractiveAdmissionError, d as RetainedRunDispatchBindingError, f as RuntimeRunStateError, i as ConfigError, l as RetainedInteractiveBindingError, m as ValidationError$1, r as BackendTransportError, t as AgentEvalError$1, u as RetainedRunAdmissionError } from "./errors-DodWX-cb.js";
2
- import { $ as randomUuid, B as addTokenUsage, G as errorMessage, H as cloneSpend, K as fnv1a32Hex, N as deepFreezeCandidate, O as verifyWorkspaceSnapshotArtifacts, Q as randomSuffix, St as teardownSurfaces, U as cloneTokenUsage, V as chargedTokens, W as deleteBoxSafe, X as mapWithConcurrency, Y as isAsyncIterable$1, Z as promptCacheTokenClasses, _t as armDeadlineTimer, a as verifyAgentCandidateWorkspaceArtifacts, at as unmeteredSpend, bt as singleFlightTeardown, ct as zeroTokenUsage, dt as resourceTelemetry, et as roundBoxMinutes, ft as withBudgetResources, gt as ROOT_DEADLINE_REASON, i as readAgentCandidateWorkspaceArtifactFiles, it as throwIfAborted, k as verifiedArtifactChunks, lt as addResourceSpend, mt as CHILD_DEADLINE_REASON, nt as stringifySafe, o as verifyAgentCandidateWorkspaceTree, ot as withTimeout, pt as ACCEPTED_RESULT_GRACE_MS, q as hasCompleteCacheBreakdown, rt as throwAbort, st as zeroSpend, tt as sleep, u as verifyAgentCandidateWorkspaceArchive, ut as assertResources, vt as boundedChildDeadlineAt, xt as teardownExecutor, yt as isDeadlineAbortReason, z as addSpend } from "./workspace-streams-DaQceg2p.js";
2
+ import { $ as randomUuid, B as addTokenUsage, Ct as singleFlightTeardown, G as errorMessage, H as cloneSpend, K as fnv1a32Hex, N as deepFreezeCandidate, O as verifyWorkspaceSnapshotArtifacts, Q as randomSuffix, St as isDeadlineAbortReason, Tt as teardownSurfaces, U as cloneTokenUsage, V as chargedTokens, W as deleteBoxSafe, X as mapWithConcurrency, Y as isAsyncIterable$1, Z as promptCacheTokenClasses, a as verifyAgentCandidateWorkspaceArtifacts, at as unmeteredSpend, bt as boundedChildDeadlineAt, ct as zeroTokenUsage, dt as resourceTelemetry, et as roundBoxMinutes, ft as withBudgetResources, i as readAgentCandidateWorkspaceArtifactFiles, it as throwIfAborted, k as verifiedArtifactChunks, lt as addResourceSpend, mt as CHILD_DEADLINE_REASON, nt as stringifySafe, o as verifyAgentCandidateWorkspaceTree, ot as withTimeout, pt as ACCEPTED_RESULT_GRACE_MS, q as hasCompleteCacheBreakdown, rt as throwAbort, st as zeroSpend, tt as sleep, u as verifyAgentCandidateWorkspaceArchive, ut as assertResources, vt as ROOT_DEADLINE_REASON, wt as teardownExecutor, xt as checkInIdleMs, yt as armDeadlineTimer, z as addSpend } from "./workspace-streams-BEvSX97P.js";
3
3
  import { runTaskQueue } from "./task-queue.js";
4
4
  import { _ as agentHarness, a as concreteProfileModel, c as profileModelExecutionSettings, d as assertRouterAutoDeclaration, f as assertRouterAutoResponse, g as observedModelMatchesDeclared, h as observedModelHasSnapshot, l as profileProviderModel, m as mergeObservedModelIdentity, o as enforceTokenLimits, s as profileBridgeWireModel, t as assertExecutableAgentProfile, u as resolveRouterRetryPolicy } from "./model-policy-DydyWTQg.js";
5
5
  import { n as assertNoSymlinkDescendant, r as publishExclusiveDurableFile } from "./durable-file-DWQA4ooo.js";
@@ -9904,6 +9904,7 @@ const outsideKinds = /* @__PURE__ */ new Set([
9904
9904
  "seat-segment",
9905
9905
  "seat-materialized",
9906
9906
  "seat-paused",
9907
+ "model-changed",
9907
9908
  "paused",
9908
9909
  "driver-attempt",
9909
9910
  "node-inputs-resolved",
@@ -9985,6 +9986,7 @@ async function replaySpawnTree(journal, blobs, root) {
9985
9986
  if (ev.kind === "workspace-capture") continue;
9986
9987
  if (ev.kind === "trace-unpropagated") continue;
9987
9988
  if (ev.kind === "seat-segment" || ev.kind === "seat-materialized" || ev.kind === "seat-paused") continue;
9989
+ if (ev.kind === "model-changed") continue;
9988
9990
  if (ev.kind === "paused") continue;
9989
9991
  if (ev.kind === "driver-attempt") continue;
9990
9992
  if (ev.kind === "node-inputs-resolved") continue;
@@ -25175,6 +25177,7 @@ function makeNestedScopeSeam(args, workerSlots, childSlot, childNodeId, childBud
25175
25177
  reservationPolicy: args.reservationPolicy,
25176
25178
  ownerBudget: nestedBudget
25177
25179
  } : {},
25180
+ ...args.deadlineCheckIn === void 0 ? {} : { deadlineCheckIn: args.deadlineCheckIn },
25178
25181
  signal,
25179
25182
  ...restored ? { resumeFrom: restored.resumeFrom } : {},
25180
25183
  ...args.now ? { now: args.now } : {},
@@ -25205,6 +25208,7 @@ function makeNestedScopeSeam(args, workerSlots, childSlot, childNodeId, childBud
25205
25208
  }
25206
25209
  /** Create the reactive `Scope` a driver's `Agent.act` runs inside: spawn children on an atomically reserved conserved budget, settle via the `next()` cursor, journal for replay. */
25207
25210
  function createScope(args) {
25211
+ checkInIdleMs(args.deadlineCheckIn);
25208
25212
  const children = /* @__PURE__ */ new Map();
25209
25213
  const settlementWrites = /* @__PURE__ */ new Set();
25210
25214
  let admissionClosed = false;
@@ -25406,7 +25410,19 @@ function createScope(args) {
25406
25410
  cascadeAbort = () => controller.abort(args.signal.reason);
25407
25411
  if (args.signal.aborted) controller.abort(args.signal.reason);
25408
25412
  else args.signal.addEventListener("abort", cascadeAbort, { once: true });
25409
- if (childDeadlineAtMs !== void 0) clearChildDeadline = armDeadlineTimer(Math.max(0, childDeadlineAtMs - now()), () => controller.abort(CHILD_DEADLINE_REASON));
25413
+ if (childDeadlineAtMs !== void 0) {
25414
+ const runDeadlineAtMs = args.depth === 0 ? args.pool.readout().deadlineMs : 0;
25415
+ const timeBox = !(runDeadlineAtMs > 0 && childDeadlineAtMs >= runDeadlineAtMs);
25416
+ let clearCheckIn;
25417
+ const clearTimer = armDeadlineTimer(Math.max(0, childDeadlineAtMs - now()), () => {
25418
+ clearCheckIn = timeBox ? checkInAtTimeBox(id, controller) : void 0;
25419
+ if (clearCheckIn === void 0) controller.abort(CHILD_DEADLINE_REASON);
25420
+ });
25421
+ clearChildDeadline = () => {
25422
+ clearTimer();
25423
+ clearCheckIn?.();
25424
+ };
25425
+ }
25410
25426
  const deferredOwner = {};
25411
25427
  const workerTrace = args.workerTrace?.(args.parentId);
25412
25428
  let markRecoveryReady;
@@ -25889,6 +25905,33 @@ function createScope(args) {
25889
25905
  return await commitSettlement(pick, settlement, cursorSeq++);
25890
25906
  }
25891
25907
  }
25908
+ /**
25909
+ * A child's own time box: tell it to save its state and submit what it has, and keep it running
25910
+ * while it makes progress (`deadline.ts` `DeadlineCheckIn`). Returns the watch's stop, or
25911
+ * undefined when the child cannot be told (no inbox, already settled, or check-ins are off), in
25912
+ * which case the caller stops it as before.
25913
+ */
25914
+ function checkInAtTimeBox(nodeId, controller) {
25915
+ const idleMs = checkInIdleMs(args.deadlineCheckIn);
25916
+ if (idleMs === void 0 || controller.signal.aborted) return void 0;
25917
+ if (!send(nodeId, {
25918
+ steer: "Check-in: your time box has ended. This is not a stop. Finish the step you are on and start nothing new. Record your current state and every result you have not recorded yet, then call submit_result with what you have now; if the work is not done, mark it incomplete and name what remains. Your lead decides whether to continue you or hand the work on. You keep running while you make progress.",
25919
+ interrupt: false
25920
+ })) return void 0;
25921
+ const watch = setInterval(() => {
25922
+ const read = progress(nodeId, { stallAfterMs: idleMs });
25923
+ if (read === void 0 || !read.live || controller.signal.aborted) {
25924
+ clearInterval(watch);
25925
+ return;
25926
+ }
25927
+ if (read.stalled) {
25928
+ clearInterval(watch);
25929
+ controller.abort(CHILD_DEADLINE_REASON);
25930
+ }
25931
+ }, Math.min(idleMs, 6e4));
25932
+ if (typeof watch.unref === "function") watch.unref();
25933
+ return () => clearInterval(watch);
25934
+ }
25892
25935
  function send(nodeId, msg) {
25893
25936
  if (args.signal.aborted) return false;
25894
25937
  const child = children.get(nodeId);
@@ -28673,6 +28716,26 @@ function rootExecutionBindingReceipt(opts, materialization, attemptId) {
28673
28716
  throw new RuntimeRunStateError(`supervisor: run '${opts.runId}' has invalid root execution binding`, { cause: error });
28674
28717
  }
28675
28718
  }
28719
+ /** Append one `model-changed` record when the root's model differs from the one it last ran. The
28720
+ * last record's `to`, or the recorded profile's model when there is none, is what it last ran, so
28721
+ * every later entry on the same model appends nothing. */
28722
+ async function recordRootModelChange(opts, events, at) {
28723
+ const change = opts.rootModelChange;
28724
+ if (change === void 0) return;
28725
+ if (typeof change.reason !== "string" || change.reason.trim().length === 0) throw new ValidationError$1(`supervisor: run '${opts.runId}' model change needs a reason`);
28726
+ const changes = events.filter((event) => event.kind === "model-changed" && event.id === opts.runId);
28727
+ const last = changes.at(-1)?.to ?? change.from;
28728
+ if (contentAddress(last) === contentAddress(change.to)) return;
28729
+ await opts.journal.appendEvent(opts.runId, {
28730
+ kind: "model-changed",
28731
+ id: opts.runId,
28732
+ from: last,
28733
+ to: change.to,
28734
+ reason: change.reason,
28735
+ seq: changes.length,
28736
+ at
28737
+ });
28738
+ }
28676
28739
  function sameOptionalIdentity(recorded, requested) {
28677
28740
  if (recorded === void 0 || requested === void 0) return recorded === requested;
28678
28741
  return contentAddress(recorded) === contentAddress(requested);
@@ -28703,7 +28766,7 @@ function describeIdentityMismatch(recorded, requested) {
28703
28766
  "correlation"
28704
28767
  ].filter((field) => contentAddress(recorded[field]) !== contentAddress(requested[field])).map((field) => `${field} recorded ${short(recorded[field])} but resumed with ${short(requested[field])}`);
28705
28768
  if (differing.length === 0) return "the identity objects differ in shape while every known field matches";
28706
- return `${differing.join("; ")} — use a new runId to change any of these`;
28769
+ return `${differing.join("; ")} — use a new runId to change any of these; a resume may change only the root model (modelChange)`;
28707
28770
  }
28708
28771
  /** Validate caller-supplied root identity before any journal access. Fresh runs may omit identity,
28709
28772
  * but once supplied it is trusted durable evidence and therefore must be complete and canonical;
@@ -28756,13 +28819,14 @@ function describeRejection(error) {
28756
28819
  function createSupervisor() {
28757
28820
  let attached;
28758
28821
  async function run(root, task, opts) {
28759
- const { budget, rootIdentity, rootMaterialization, runId, journal: journalStore, blobs: blobStore, executors: executorRegistry, recoverExecutor, maxDepth, workerSlots, reservationPolicy, maxRestarts, withinMs, childSettleGraceMs, teardownConfirmMs, resume, retainedAtSettlement: requestedRetainedAtSettlement, ownerWorkspaceRetention, now: suppliedNow, signal, hooks, workerTrace, workerTraceUnpropagated, interactiveBindingDir } = opts;
28822
+ const { budget, rootIdentity, rootModelChange, rootMaterialization, runId, journal: journalStore, blobs: blobStore, executors: executorRegistry, recoverExecutor, maxDepth, workerSlots, reservationPolicy, deadlineCheckIn, maxRestarts, withinMs, childSettleGraceMs, teardownConfirmMs, resume, retainedAtSettlement: requestedRetainedAtSettlement, ownerWorkspaceRetention, now: suppliedNow, signal, hooks, workerTrace, workerTraceUnpropagated, interactiveBindingDir } = opts;
28760
28823
  const input = detachedSnapshot({
28761
28824
  task,
28762
28825
  options: {
28763
28826
  budget,
28764
28827
  runId,
28765
28828
  ...rootIdentity === void 0 ? {} : { rootIdentity },
28829
+ ...rootModelChange === void 0 ? {} : { rootModelChange },
28766
28830
  ...rootMaterialization === void 0 ? {} : { rootMaterialization },
28767
28831
  ...maxDepth === void 0 ? {} : { maxDepth },
28768
28832
  ...typeof workerSlots === "number" ? { workerSlots } : {},
@@ -28831,7 +28895,9 @@ function createSupervisor() {
28831
28895
  resumeFrom = restored.resumeFrom;
28832
28896
  prior = [...resumeFrom.events];
28833
28897
  pool = createBudgetPool(opts.budget, runEpochMs, restored.poolRestore);
28898
+ if (opts.rootModelChange !== void 0) await recordRootModelChange(opts, prior, runStartedAt);
28834
28899
  } else {
28900
+ if (opts.rootModelChange !== void 0) throw new RuntimeRunStateError(`supervisor: run '${opts.runId}' has no recorded root to change the model of; a new run takes its model from its profile`);
28835
28901
  pool = createBudgetPool(opts.budget, runStartedAtMs);
28836
28902
  if (existing === void 0) await opts.journal.beginTree(opts.runId, runStartedAt);
28837
28903
  const rootReceipt = rootMaterializationReceipt(opts);
@@ -28898,6 +28964,7 @@ function createSupervisor() {
28898
28964
  reservationPolicy: opts.reservationPolicy,
28899
28965
  ownerBudget: opts.budget
28900
28966
  } : {},
28967
+ ...deadlineCheckIn === void 0 ? {} : { deadlineCheckIn },
28901
28968
  signal: controller.signal,
28902
28969
  now,
28903
28970
  hooks: opts.hooks,
@@ -29185,12 +29252,11 @@ function createRootHandle() {
29185
29252
  } });
29186
29253
  return handle;
29187
29254
  }
29188
- /** A `RootSignal` sink: `cancel` cascades an abort; pause/resume/ask are observability
29189
- * signals the substrate accepts but does not act on here (the chat/pi-viz client owns
29190
- * pause semantics — building them now would be mechanism ahead of the gate). */
29255
+ /** Reject unsupported signals from JavaScript or older declarations before changing the run. */
29191
29256
  function pushRootSignal(cascadeAbort) {
29192
29257
  return (msg) => {
29193
- if (msg.kind === "cancel") cascadeAbort(new RunCancellationReason("root-signal", msg.reason ?? "root signal: cancel"));
29258
+ if (msg.kind !== "cancel") throw new ValidationError$1("RootHandle.signal only supports cancellation");
29259
+ cascadeAbort(new RunCancellationReason("root-signal", msg.reason ?? "root signal: cancel"));
29194
29260
  };
29195
29261
  }
29196
29262
  function createIntensityBreaker(opts, trip) {
@@ -29538,4 +29604,4 @@ function isNonEmptySpend(s) {
29538
29604
  //#endregion
29539
29605
  export { environmentReader as $, projectSandboxOutcome as $i, parseWorkerToolTraceArtifact as $n, sanitizeAgentRuntimeEvent as $r, PEER_MAIL_WIRE_KEY as $t, scopeOwnerExecutorNodeContext as A, worktreeCliProfileMaterialization as Ai, resolveAgentEnvironmentProvider as An, resolveHarnessTranscriptCapture as Ar, captureReusableExecutorConfig as At, consumeScopeRetainedOwnerResult as B, recordRuntimeOwnedDriveHarnessProviderEvidence as Bi, InMemoryResultBlobStore as Bn, buildLoopOtelSpans as Br, createInPlaceCliExecutor as Bt, deriveNodeExecutionIdentity as C, promptOnlyProfileMaterialization as Ci, readPromptOptions as Cn, abortError as Cr, createContinuationKeeper as Ct, recordScopeOwnerMaterialization as D, sandboxActProfileMaterialization as Di, createAgentEnvironmentProviderRegistry as Dn, harnessTranscriptArtifact as Dr, passedItems as Dt, recordScopeOwnerDriverAttempt as E, renderUnsupported as Ei, LEAF_CONTINUATION_TASK as En, captureHarnessTranscript as Er, failedItems as Et, seatExecutionProfile as F, inheritRuntimeOwnedExecutorAttestation as Fi, retainedExecutorSeamKey as Fn, readTraceContextFromEnv as Fr, snapshotExecutorConfig as Ft, scopeRetainedOwnerContext as G, runtimeOwnedPendingExecutorMaterialization as Gi, replaySpawnTree as Gn, flatOtelSpan as Gr, workerTraceSeamKey as Gt, prepareScopeRetainedOwnerSeatSwitch as H, runtimeOwnedExecutorExecutionBinding as Hi, insideCursorNamespace as Hn, buildRuntimeEventOtelSpans as Hr, readWorkerTraceContext as Ht, abandonScopeRetainedOwnerInvocation as I, knownExecutionBindingReceipt as Ii, unavailablePauseMs as In, traceContextToEnv as Ir, createWorktreeCliExecutor as It, scopeRetainedOwnerResourceReader as J, unknownMaterializationReceipt as Ji, readCommittedJsonLines as Jn, padSpanId as Jr, createActivityLog as Jt, scopeRetainedOwnerJournalRoot as K, runtimeOwnedScopeOwnerRuntime as Ki, isNoEntError as Kn, generateSpanId as Kr, taskToPrompt as Kt, beginScopeRetainedOwnerDrive as L, knownMaterializationReceipt as Li, unavailableSignalOfFailure as Ln, defaultRedactor as Lr, DEFAULT_SANDBOX_STEERING_MAX_TURNS as Lt, SeatChain as M, attestRuntimeOwnedScopeOwner as Mi, decodeToolPart as Mn, contentAddress as Mr, cliWorktreeExecutor as Mt, SeatChainExhaustedError as N, authoredProfileDigest as Ni, sandboxSessionTraceSource as Nn, createPropagatingTraceEmitter as Nr, createExecutor as Nt, recordScopeOwnerPause as O, unsupportedProfileDimensions as Oi, providerAsExecutor as On, persistHarnessTranscript as Or, verdictFromJudgeScore as Ot, authoredSeatStages as P, finalizeRuntimeOwnedPendingExecutor as Pi, registerRetainedExecutorPreparation as Pn, mergeTraceEnv as Pr, createExecutorRegistry as Pt, SPAWN_RESOURCE_PATH_MAX_BYTES as Q, detachedSnapshot as Qi, isTraceAnalysisStore as Qn, createRuntimeStreamEventCollector as Qr, DEFAULT_PEER_MAIL_LIMITS as Qt, bindScopeRetainedOwnerEnvironmentId as R, newExecutionAttemptId as Ri, FileResultBlobStore as Rn, defaultRedactorIdentityMaterial as Rr, createSteerableSandboxSession as Rt, createScope as S, promptModelProfileMaterialization as Si, assertBoxlessPromptOptions as Sn, RunCancellationReason as Sr, checkVerdictOf as St, meterRuntimeOwnedProviderAttempt as T, renderProfileMaterializationIssues as Ti, runBrainLoop as Tn, runAbortable as Tr, expandQuestions as Tt, prepareScopeRetainedOwnerTask as U, runtimeOwnedExecutorMaterialization as Ui, loadSpawnForest as Un, createOpenInferenceFileExporter as Ur, workerTraceEnv as Ut, noteScopeRetainedOwnerCoordination as V, runtimeOwnedDriveHarnessProviderEvidence as Vi, InMemorySpawnJournal as Vn, buildLoopSpanNodes as Vr, WORKER_TRACE_PROPAGATION as Vt, reconcileScopeRetainedOwnerEnvironment as W, runtimeOwnedExecutorProviderEvidence as Wi, materializeTreeView as Wn, createOtelExporter as Wr, workerTraceHeaders as Wt, scopeRetainedOwnerResult as X, executableAgentSpecSnapshot as Xi, WORKER_TOOL_TRACE_SCHEMA_VERSION as Xn, toOtelAttributes as Xr, createInbox as Xt, scopeRetainedOwnerRestorePoint as Y, executableAgentProfileSnapshot as Yi, writeAllBytes as Yn, padTraceId as Yr, readWorkerProgress as Yt, scopeRetainedOwnerTurnEnded as Z, detachedFrozen as Zi, captureWorkerTraceEvidence as Zn, createRuntimeEventCollector as Zr, AUTHORITY_MARKERS as Zt, isDriverSpec as _, promptOptionsFromAgentTurnInput as _a, controlProfileMaterialization as _i, runAgentRounds as _n, retainedCreateMaterial as _r, CONTINUATION_FACTS as _t, collectDelivered as a, extractLlmCallEvent as aa, createWorktree as ai, isLiveNodeStatus as an, createBudgetPool as ar, interactiveAdmissionSeamKey as at, assertRecursiveReservationPolicy as b, profileMaterializationAxes$1 as bi, SandboxEvidenceRetentionError as bn, createWorkerSlots as br, admitFinding as bt, runTree as c, mapSandboxToolEvent as ca, LOCAL_HARNESSES as ci, bridgeModelRouteRefusal as cn, spendFromUsageEvents as cr, reconnectRetainedInteractiveRun as ct, classifyDriverFailure as d, sandboxProgressEvents as da, localHarnessExecutable as di, harnessUsageIsEmpty as dn, bridgeStopSignalKey as dr, freeSlots as dt, readSandboxOutcome as ea, sanitizeKnowledgeReadinessReport as ei, claimsAuthority as en, workerTraceAnalysisStore as er, hostDirectoryReader as et, runDriverWithRetry as f, sumSandboxUsage as fa, parseCodexTokenUsage as fi, readCodexRolloutSession as fn, errMessage as fr, queueOf as ft, driverExecutorFactory as g, promptFromAgentTurnInput as ga, assertProfileMaterialization as gi, isTerminalDecision as gn, startRetainedRunInEnvironment as gr, CONTINUATIONS_DIR as gt, driverChild as h, awaitAbortable$1 as ha, AGENT_PROFILE_MATERIALIZATION_AXES as hi, defaultSelectWinner as hn, startRetainedRun as hr, mapExecutorResult as ht, bestDelivered as i, createSandboxUsageLedger as ia, captureWorktreeDiff as ii, peerMailVerbNames as in, assertValidBudget as ir, providerVisibleProfile as it, settledToIteration as j, attestRuntimeOwnedPendingExecutor as ji, createPushTraceSource as jn, retainHarnessTranscript as jr, cliInPlaceExecutor as jt, restoreScopeOwnerAcceptedExecution as k, validateProfileMaterialization as ki, providerAsSandboxClient as kn, readHarnessTranscript as kr, bindReusableExecutorExecutionId as kt, DriverAttemptsExhaustedError as l, notifySandboxEventObserver as la, harnessInvocation as li, addHarnessUsage as ln, spendFromUsageTotals as lr, recoverRetainedInteractiveRun as lt, upstreamUnavailableSignal as m, abortError$1 as ma, terminateProcessTreeAndConfirm as mi, createSandboxForSpec as mn, recoverRetainedRun as mr, gateOnDeliverable as mt, createRootHandle as n, canonicalStreamEventFromSandboxEvent as na, runSettledCommand as ni, isPeerMailEnvelope as nn, BudgetReconcileFault as nr, coordinationMcpAlias as nt, pickBestDelivered as o, isSandboxTerminalEvent as oa, removeWorktree as oi, isTerminalNodeStatus as on, meterUsageEvent as or, attachWorker as ot, summarizeDriverAttempts as p, decodeHarnessUsage as pa, CodexExecutionDiagnosticError as pi, TERMINAL_DECISIONS as pn, reconnectRetainedRun as pr, rollingDispatch as pt, scopeRetainedOwnerPriorSpend as q, unknownExecutionBindingReceipt as qi, prepareJsonlAppend as qn, loopEventToOtelSpan as qr, DEFAULT_STALL_AFTER_MS as qt, createSupervisor as r, createSandboxToolPartState as ra, runWorktreeHarness as ri, peerMailTools as rn, ReservationWaitRefused as rr, coordinationProfileToolPrefix as rt, runFinalizer as s, mapSandboxEvent as sa, DEFAULT_LOCAL_HARNESS as si, bridgeAdmissionRefusal as sn, newUsageTotals as sr, readWorkerInteractiveBinding as st, DEFAULT_MAX_DEPTH as t, assertSandboxServedModel as ta, sanitizeRuntimeStreamEvent as ti, createPeerMailbox as tn, executorFailure as tr, resolveSpawnResourcePaths as tt, HarnessTurnFailedError as u, sandboxEventServedBackend as ua, harnessSupportsReasoningEffort as ui, createCodexRolloutStoreReader as un, bridgeRuntimeAttachmentsKey as ur, startRetainedInteractiveRun as ut, withDriverExecutor as v, providerMessageText as va, defineProfileMaterializationContract as vi, createSandboxLineage as vn, destroyInteractiveEnvironment as vr, CheckUnavailableError as vt, meterRuntimeOwnedAccounting as w, promptResourceProfileMaterialization as wi, routerBrain as wn, linkAbort as wr, distillFindings as wt, beginScopeOwnerAttempt as x, promptControlProfileMaterialization as xi, captureBeforeDestroy as xn, openSlotGroup as xr, bestComposite as xt, SUBTREE_RESULT_LIMIT as y, fullProfileMaterialization as yi, acquireSandbox as yn, environmentGone as yr, admitContinuationPolicy as yt, bindScopeRetainedOwnerProvider as z, providerAttemptEvidence as zi, FileSpawnJournal as zn, resolveRedactor as zr, createRouterTranscript as zt };
29540
29606
 
29541
- //# sourceMappingURL=supervisor-CSMb8HBU.js.map
29607
+ //# sourceMappingURL=supervisor-WYRLsCp1.js.map