@tangle-network/agent-runtime 0.309.0 → 0.312.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 (69) hide show
  1. package/dist/{activation-BNGcdwKv.js → activation-CE5vCzYS.js} +3 -3
  2. package/dist/{activation-BNGcdwKv.js.map → activation-CE5vCzYS.js.map} +1 -1
  3. package/dist/{activation-CPlj7oAq.d.ts → activation-K-k4BRp9.d.ts} +2 -3
  4. package/dist/agent.d.ts +1 -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-nxGtWmJm.js → coordination-driver-Cp2z1zz6.js} +15 -15
  10. package/dist/coordination-driver-Cp2z1zz6.js.map +1 -0
  11. package/dist/{delegate-BH1mMsM-.js → delegate-DPkyIx3C.js} +2 -2
  12. package/dist/{delegate-BH1mMsM-.js.map → delegate-DPkyIx3C.js.map} +1 -1
  13. package/dist/durable.d.ts +1 -2
  14. package/dist/durable.js +4 -4
  15. package/dist/{graph-DEbRy7GI.js → graph-DP0X2bVC.js} +6 -4
  16. package/dist/graph-DP0X2bVC.js.map +1 -0
  17. package/dist/{improvement-cycle-D-GFP8a-.js → improvement-cycle-D5r4auxT.js} +6 -6
  18. package/dist/{improvement-cycle-D-GFP8a-.js.map → improvement-cycle-D5r4auxT.js.map} +1 -1
  19. package/dist/{index-B-VvfcHa.d.ts → index-BdIi1eIV.d.ts} +11281 -2505
  20. package/dist/index.d.ts +4 -6
  21. package/dist/index.js +9 -9
  22. package/dist/intelligence.d.ts +2 -3
  23. package/dist/intelligence.js +7 -7
  24. package/dist/kernel.d.ts +2 -4
  25. package/dist/kernel.js +10 -9
  26. package/dist/{loop-runner-bin-DxH6LwIB.js → loop-runner-bin-Cn7244xv.js} +3 -3
  27. package/dist/{loop-runner-bin-DxH6LwIB.js.map → loop-runner-bin-Cn7244xv.js.map} +1 -1
  28. package/dist/{loop-runner-bin-Bvd0J2OR.d.ts → loop-runner-bin-CoKHGqxE.d.ts} +2 -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 +2 -5
  33. package/dist/mcp/index.js +5 -5
  34. package/dist/{openai-tools-CP1hPxJd.d.ts → openai-tools-C2GoLNjj.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-CLGUAePU.js → provision-supervisor-BahNK2L0.js} +4 -4
  43. package/dist/{provision-supervisor-CLGUAePU.js.map → provision-supervisor-BahNK2L0.js.map} +1 -1
  44. package/dist/{runtime-B0td3fc3.js → runtime-DRrpUP7n.js} +9 -9
  45. package/dist/{runtime-B0td3fc3.js.map → runtime-DRrpUP7n.js.map} +1 -1
  46. package/dist/{search-executor-DV-AfHq0.js → search-executor-BuwMU5TF.js} +3 -3
  47. package/dist/{search-executor-DV-AfHq0.js.map → search-executor-BuwMU5TF.js.map} +1 -1
  48. package/dist/{server-B5JWg4Oq.js → server-DMqPF86Y.js} +4 -4
  49. package/dist/{server-B5JWg4Oq.js.map → server-DMqPF86Y.js.map} +1 -1
  50. package/dist/{supervise-B5iHXeuw.js → supervise-CGMzXi_j.js} +64 -8
  51. package/dist/supervise-CGMzXi_j.js.map +1 -0
  52. package/dist/{supervisor-Cd39ZN4b.js → supervisor-DgcmBicU.js} +82 -5
  53. package/dist/supervisor-DgcmBicU.js.map +1 -0
  54. package/dist/testing.d.ts +1 -2
  55. package/dist/testing.js +14 -14
  56. package/dist/tui/index.d.ts +1 -1
  57. package/dist/tui/index.js +1 -1
  58. package/dist/{workspace-streams-DaQceg2p.js → workspace-streams-BEvSX97P.js} +13 -2
  59. package/dist/workspace-streams-BEvSX97P.js.map +1 -0
  60. package/package.json +2 -2
  61. package/skills/profile-authoring/SKILL.md +9 -13
  62. package/dist/coordination-driver-nxGtWmJm.js.map +0 -1
  63. package/dist/graph-DEbRy7GI.js.map +0 -1
  64. package/dist/stream-agent-turn-D-zmKgU2.d.ts +0 -2252
  65. package/dist/substrate-DQnwvsFT.d.ts +0 -284
  66. package/dist/supervise-B5iHXeuw.js.map +0 -1
  67. package/dist/supervisor-Cd39ZN4b.js.map +0 -1
  68. package/dist/types-CFGESVFO.d.ts +0 -6156
  69. 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
+ "root-segment",
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 === "root-segment") 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;
@@ -24594,6 +24596,8 @@ async function prepareScopeRetainedOwnerTask(scope, task) {
24594
24596
  const latestSeat = segmentStarts.at(-1);
24595
24597
  const previousSeat = segmentStarts.at(-2);
24596
24598
  if (latestSeat && previousSeat && latestSeat.provider !== previousSeat.provider && owned.indexOf(latestSeat) > owned.indexOf(latestInput)) state.forceNewSession = true;
24599
+ const rootSegment = owned.filter((event) => event.kind === "root-segment").at(-1);
24600
+ if (rootSegment?.from !== void 0 && rootSegment.from.harness !== rootSegment.to.harness && owned.indexOf(rootSegment) > owned.indexOf(latestInput)) state.forceNewSession = true;
24597
24601
  if (state.forceNewSession) {
24598
24602
  delete state.priorSession;
24599
24603
  delete state.forceNewSession;
@@ -25175,6 +25179,7 @@ function makeNestedScopeSeam(args, workerSlots, childSlot, childNodeId, childBud
25175
25179
  reservationPolicy: args.reservationPolicy,
25176
25180
  ownerBudget: nestedBudget
25177
25181
  } : {},
25182
+ ...args.deadlineCheckIn === void 0 ? {} : { deadlineCheckIn: args.deadlineCheckIn },
25178
25183
  signal,
25179
25184
  ...restored ? { resumeFrom: restored.resumeFrom } : {},
25180
25185
  ...args.now ? { now: args.now } : {},
@@ -25205,6 +25210,7 @@ function makeNestedScopeSeam(args, workerSlots, childSlot, childNodeId, childBud
25205
25210
  }
25206
25211
  /** 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
25212
  function createScope(args) {
25213
+ checkInIdleMs(args.deadlineCheckIn);
25208
25214
  const children = /* @__PURE__ */ new Map();
25209
25215
  const settlementWrites = /* @__PURE__ */ new Set();
25210
25216
  let admissionClosed = false;
@@ -25406,7 +25412,19 @@ function createScope(args) {
25406
25412
  cascadeAbort = () => controller.abort(args.signal.reason);
25407
25413
  if (args.signal.aborted) controller.abort(args.signal.reason);
25408
25414
  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));
25415
+ if (childDeadlineAtMs !== void 0) {
25416
+ const runDeadlineAtMs = args.depth === 0 ? args.pool.readout().deadlineMs : 0;
25417
+ const timeBox = !(runDeadlineAtMs > 0 && childDeadlineAtMs >= runDeadlineAtMs);
25418
+ let clearCheckIn;
25419
+ const clearTimer = armDeadlineTimer(Math.max(0, childDeadlineAtMs - now()), () => {
25420
+ clearCheckIn = timeBox ? checkInAtTimeBox(id, controller) : void 0;
25421
+ if (clearCheckIn === void 0) controller.abort(CHILD_DEADLINE_REASON);
25422
+ });
25423
+ clearChildDeadline = () => {
25424
+ clearTimer();
25425
+ clearCheckIn?.();
25426
+ };
25427
+ }
25410
25428
  const deferredOwner = {};
25411
25429
  const workerTrace = args.workerTrace?.(args.parentId);
25412
25430
  let markRecoveryReady;
@@ -25889,6 +25907,33 @@ function createScope(args) {
25889
25907
  return await commitSettlement(pick, settlement, cursorSeq++);
25890
25908
  }
25891
25909
  }
25910
+ /**
25911
+ * A child's own time box: tell it to save its state and submit what it has, and keep it running
25912
+ * while it makes progress (`deadline.ts` `DeadlineCheckIn`). Returns the watch's stop, or
25913
+ * undefined when the child cannot be told (no inbox, already settled, or check-ins are off), in
25914
+ * which case the caller stops it as before.
25915
+ */
25916
+ function checkInAtTimeBox(nodeId, controller) {
25917
+ const idleMs = checkInIdleMs(args.deadlineCheckIn);
25918
+ if (idleMs === void 0 || controller.signal.aborted) return void 0;
25919
+ if (!send(nodeId, {
25920
+ 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.",
25921
+ interrupt: false
25922
+ })) return void 0;
25923
+ const watch = setInterval(() => {
25924
+ const read = progress(nodeId, { stallAfterMs: idleMs });
25925
+ if (read === void 0 || !read.live || controller.signal.aborted) {
25926
+ clearInterval(watch);
25927
+ return;
25928
+ }
25929
+ if (read.stalled) {
25930
+ clearInterval(watch);
25931
+ controller.abort(CHILD_DEADLINE_REASON);
25932
+ }
25933
+ }, Math.min(idleMs, 6e4));
25934
+ if (typeof watch.unref === "function") watch.unref();
25935
+ return () => clearInterval(watch);
25936
+ }
25892
25937
  function send(nodeId, msg) {
25893
25938
  if (args.signal.aborted) return false;
25894
25939
  const child = children.get(nodeId);
@@ -28673,6 +28718,33 @@ function rootExecutionBindingReceipt(opts, materialization, attemptId) {
28673
28718
  throw new RuntimeRunStateError(`supervisor: run '${opts.runId}' has invalid root execution binding`, { cause: error });
28674
28719
  }
28675
28720
  }
28721
+ /** Whether a segment changes what the recorded profile runs, apart from the caller's stack. */
28722
+ function changesRootProfile(entry) {
28723
+ const { stack: _stack, ...current } = entry.current;
28724
+ return contentAddress(current) !== contentAddress(entry.registered);
28725
+ }
28726
+ /**
28727
+ * Append one `root-segment` record when the root enters a segment that differs from the one it
28728
+ * last ran. The last record's `to` is what it last ran; a resumed run with no record last ran its
28729
+ * recorded profile, and a fresh run ran nothing. Every later entry on the same segment appends
28730
+ * nothing, so a resume after a dead supervisor or a lost stream is a boundary, not a segment.
28731
+ */
28732
+ async function recordRootSegment(opts, events, at, fresh) {
28733
+ const entry = opts.rootSegment;
28734
+ if (entry === void 0) return;
28735
+ const records = events.filter((event) => event.kind === "root-segment" && event.id === opts.runId);
28736
+ const last = records.at(-1)?.to ?? (fresh ? void 0 : entry.registered);
28737
+ if (last !== void 0 && contentAddress(last) === contentAddress(entry.current)) return;
28738
+ await opts.journal.appendEvent(opts.runId, {
28739
+ kind: "root-segment",
28740
+ id: opts.runId,
28741
+ ...last === void 0 ? {} : { from: last },
28742
+ to: entry.current,
28743
+ reason: entry.reason,
28744
+ seq: records.length,
28745
+ at
28746
+ });
28747
+ }
28676
28748
  function sameOptionalIdentity(recorded, requested) {
28677
28749
  if (recorded === void 0 || requested === void 0) return recorded === requested;
28678
28750
  return contentAddress(recorded) === contentAddress(requested);
@@ -28703,7 +28775,7 @@ function describeIdentityMismatch(recorded, requested) {
28703
28775
  "correlation"
28704
28776
  ].filter((field) => contentAddress(recorded[field]) !== contentAddress(requested[field])).map((field) => `${field} recorded ${short(recorded[field])} but resumed with ${short(requested[field])}`);
28705
28777
  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`;
28778
+ return `${differing.join("; ")} — a different task or root profile is a new run; a resume may change the root's model, reasoning effort and harness as a new segment of this run (segment)`;
28707
28779
  }
28708
28780
  /** Validate caller-supplied root identity before any journal access. Fresh runs may omit identity,
28709
28781
  * but once supplied it is trusted durable evidence and therefore must be complete and canonical;
@@ -28756,13 +28828,14 @@ function describeRejection(error) {
28756
28828
  function createSupervisor() {
28757
28829
  let attached;
28758
28830
  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;
28831
+ const { budget, rootIdentity, rootSegment, 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
28832
  const input = detachedSnapshot({
28761
28833
  task,
28762
28834
  options: {
28763
28835
  budget,
28764
28836
  runId,
28765
28837
  ...rootIdentity === void 0 ? {} : { rootIdentity },
28838
+ ...rootSegment === void 0 ? {} : { rootSegment },
28766
28839
  ...rootMaterialization === void 0 ? {} : { rootMaterialization },
28767
28840
  ...maxDepth === void 0 ? {} : { maxDepth },
28768
28841
  ...typeof workerSlots === "number" ? { workerSlots } : {},
@@ -28831,7 +28904,9 @@ function createSupervisor() {
28831
28904
  resumeFrom = restored.resumeFrom;
28832
28905
  prior = [...resumeFrom.events];
28833
28906
  pool = createBudgetPool(opts.budget, runEpochMs, restored.poolRestore);
28907
+ await recordRootSegment(opts, prior, runStartedAt, false);
28834
28908
  } else {
28909
+ if (opts.rootSegment !== void 0 && changesRootProfile(opts.rootSegment)) throw new RuntimeRunStateError(`supervisor: run '${opts.runId}' has no recorded root to change the model or harness of; a new run takes them from its profile`);
28835
28910
  pool = createBudgetPool(opts.budget, runStartedAtMs);
28836
28911
  if (existing === void 0) await opts.journal.beginTree(opts.runId, runStartedAt);
28837
28912
  const rootReceipt = rootMaterializationReceipt(opts);
@@ -28855,6 +28930,7 @@ function createSupervisor() {
28855
28930
  at: runStartedAt
28856
28931
  });
28857
28932
  await appendSpawnEvents(opts.journal, opts.runId, rootEvents);
28933
+ await recordRootSegment(opts, [], runStartedAt, true);
28858
28934
  }
28859
28935
  const stableRootReceipt = resuming ? prior?.find((event) => event.kind === "materialized" && event.id === opts.runId)?.receipt : rootMaterializationReceipt(opts);
28860
28936
  if (stableRootReceipt !== void 0) {
@@ -28898,6 +28974,7 @@ function createSupervisor() {
28898
28974
  reservationPolicy: opts.reservationPolicy,
28899
28975
  ownerBudget: opts.budget
28900
28976
  } : {},
28977
+ ...deadlineCheckIn === void 0 ? {} : { deadlineCheckIn },
28901
28978
  signal: controller.signal,
28902
28979
  now,
28903
28980
  hooks: opts.hooks,
@@ -29537,4 +29614,4 @@ function isNonEmptySpend(s) {
29537
29614
  //#endregion
29538
29615
  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 };
29539
29616
 
29540
- //# sourceMappingURL=supervisor-Cd39ZN4b.js.map
29617
+ //# sourceMappingURL=supervisor-DgcmBicU.js.map