@tangle-network/agent-runtime 0.324.0 → 0.325.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 (71) hide show
  1. package/dist/{activation-CB2npL7F.d.ts → activation-BMsOQxMD.d.ts} +2 -2
  2. package/dist/{activation-CmWGOW1x.js → activation-C1O2zCvn.js} +3 -3
  3. package/dist/{activation-CmWGOW1x.js.map → activation-C1O2zCvn.js.map} +1 -1
  4. package/dist/agent.d.ts +2 -2
  5. package/dist/agent.js +2 -2
  6. package/dist/{bundle-BJJmfEsw.js → bundle-KZGUQqRM.js} +2 -2
  7. package/dist/{bundle-BJJmfEsw.js.map → bundle-KZGUQqRM.js.map} +1 -1
  8. package/dist/candidate-execution/index.js +5 -5
  9. package/dist/{coordination-driver-CNEeqMoh.js → coordination-driver-Bx7nXmOs.js} +243 -140
  10. package/dist/coordination-driver-Bx7nXmOs.js.map +1 -0
  11. package/dist/{delegate-C6oOTFB6.js → delegate-BK-2bX4e.js} +2 -2
  12. package/dist/{delegate-C6oOTFB6.js.map → delegate-BK-2bX4e.js.map} +1 -1
  13. package/dist/durable.d.ts +2 -2
  14. package/dist/durable.js +62 -23
  15. package/dist/durable.js.map +1 -1
  16. package/dist/graph-C8Ot8__B.js +348 -0
  17. package/dist/graph-C8Ot8__B.js.map +1 -0
  18. package/dist/{improvement-cycle-U74a-YKi.js → improvement-cycle-IncBZK-W.js} +6 -6
  19. package/dist/{improvement-cycle-U74a-YKi.js.map → improvement-cycle-IncBZK-W.js.map} +1 -1
  20. package/dist/index.d.ts +4 -4
  21. package/dist/index.js +9 -9
  22. package/dist/intelligence.d.ts +2 -2
  23. package/dist/intelligence.js +7 -7
  24. package/dist/kernel.d.ts +2 -2
  25. package/dist/kernel.js +10 -10
  26. package/dist/{loop-runner-bin-BfcTX4-n.js → loop-runner-bin-Ch9FgmrJ.js} +3 -3
  27. package/dist/{loop-runner-bin-BfcTX4-n.js.map → loop-runner-bin-Ch9FgmrJ.js.map} +1 -1
  28. package/dist/{loop-runner-bin-CkchKbaB.d.ts → loop-runner-bin-ECJA--ZN.d.ts} +2 -2
  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 +3 -3
  33. package/dist/mcp/index.js +5 -5
  34. package/dist/{openai-tools-BR3rRmmC.d.ts → openai-tools-C_dJoluR.d.ts} +2 -2
  35. package/dist/placement.d.ts +1 -1
  36. package/dist/{prepare-DpavgJT8.js → prepare-BrgoOJmU.js} +8 -7
  37. package/dist/{prepare-DpavgJT8.js.map → prepare-BrgoOJmU.js.map} +1 -1
  38. package/dist/{profile-ZS7_KLwK.js → profile-ChWlsNCI.js} +30 -55
  39. package/dist/profile-ChWlsNCI.js.map +1 -0
  40. package/dist/{profile-materialization-C5-t3HJ7.d.ts → profile-materialization-BnoEf1co.d.ts} +3 -8
  41. package/dist/profiles.d.ts +1 -1
  42. package/dist/{protected-model-port-BLyyfL3l.js → protected-model-port-CJzC-FRs.js} +4 -4
  43. package/dist/{protected-model-port-BLyyfL3l.js.map → protected-model-port-CJzC-FRs.js.map} +1 -1
  44. package/dist/{provision-supervisor-DhPJqazM.js → provision-supervisor-GqVnQ_oy.js} +4 -4
  45. package/dist/{provision-supervisor-DhPJqazM.js.map → provision-supervisor-GqVnQ_oy.js.map} +1 -1
  46. package/dist/{runtime-B9-ZiYFa.js → runtime-9ZwTmnhQ.js} +10 -10
  47. package/dist/{runtime-B9-ZiYFa.js.map → runtime-9ZwTmnhQ.js.map} +1 -1
  48. package/dist/{workspace-streams-CcoARX4v.js → sandbox-profile-compat-Dq7ujONv.js} +40 -6
  49. package/dist/sandbox-profile-compat-Dq7ujONv.js.map +1 -0
  50. package/dist/{search-executor-CtNb_lIB.js → search-executor-CKIXXaiX.js} +3 -3
  51. package/dist/{search-executor-CtNb_lIB.js.map → search-executor-CKIXXaiX.js.map} +1 -1
  52. package/dist/{server-BLYiq6fK.js → server-BSWvux-R.js} +4 -4
  53. package/dist/{server-BLYiq6fK.js.map → server-BSWvux-R.js.map} +1 -1
  54. package/dist/{supervise-FOCAUADN.js → supervise-Dt_bZSVY.js} +736 -20
  55. package/dist/supervise-Dt_bZSVY.js.map +1 -0
  56. package/dist/{supervisor-DnKhkhKc.js → supervisor-CESg1FQx.js} +36 -18
  57. package/dist/supervisor-CESg1FQx.js.map +1 -0
  58. package/dist/testing.d.ts +1 -1
  59. package/dist/testing.js +14 -14
  60. package/dist/tui/index.d.ts +1 -1
  61. package/dist/tui/index.js +1 -1
  62. package/dist/{types-ytkoP4VV.d.ts → types-CTjiMrcF.d.ts} +578 -509
  63. package/package.json +9 -9
  64. package/skills/profile-authoring/SKILL.md +1 -1
  65. package/dist/coordination-driver-CNEeqMoh.js.map +0 -1
  66. package/dist/graph-BKmo7d42.js +0 -805
  67. package/dist/graph-BKmo7d42.js.map +0 -1
  68. package/dist/profile-ZS7_KLwK.js.map +0 -1
  69. package/dist/supervise-FOCAUADN.js.map +0 -1
  70. package/dist/supervisor-DnKhkhKc.js.map +0 -1
  71. package/dist/workspace-streams-CcoARX4v.js.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import { i as publishExclusiveDurableFile, n as assertNoSymlinkDescendant } from "./durable-file-B_eJr6Mb.js";
2
2
  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";
3
- import { $ as promptCacheTokenClasses, Ct as checkInIdleMs, Dt as teardownSurfaces, Et as teardownExecutor, F as deepFreezeCandidate, G as cloneTokenUsage, H as addTokenUsage, J as fnv1a32Hex, K as deleteBoxSafe, Q as mapWithConcurrency, St as boundedChildDeadlineAt, Tt as singleFlightTeardown, U as chargedTokens, V as addSpend, W as cloneSpend, Y as hasCompleteCacheBreakdown, Z as isAsyncIterable$1, a as verifyAgentCandidateWorkspaceArtifacts, at as throwAbort, bt as ROOT_DEADLINE_REASON, ct as withTimeout, dt as addResourceSpend, et as randomSuffix, ft as assertResources, gt as CHILD_DEADLINE_REASON, ht as ACCEPTED_RESULT_GRACE_MS, i as readAgentCandidateWorkspaceArtifactFiles, it as stringifySafe, j as verifiedArtifactChunks, k as verifyWorkspaceSnapshotArtifacts, lt as zeroSpend, mt as withBudgetResources, nt as roundBoxMinutes, o as verifyAgentCandidateWorkspaceTree, ot as throwIfAborted, pt as resourceTelemetry, q as errorMessage, rt as sleep, st as unmeteredSpend, tt as randomUuid, u as verifyAgentCandidateWorkspaceArchive, ut as zeroTokenUsage, wt as isDeadlineAbortReason, xt as armDeadlineTimer } from "./workspace-streams-CcoARX4v.js";
3
+ import { $ as isAsyncIterable$1, Ct as armDeadlineTimer, Dt as singleFlightTeardown, Et as isDeadlineAbortReason, G as chargedTokens, J as deleteBoxSafe, K as cloneSpend, L as deepFreezeCandidate, N as verifiedArtifactChunks, Ot as teardownExecutor, St as ROOT_DEADLINE_REASON, Tt as checkInIdleMs, U as addSpend, W as addTokenUsage, X as fnv1a32Hex, Y as errorMessage, Z as hasCompleteCacheBreakdown, _t as ACCEPTED_RESULT_GRACE_MS, at as sleep, c as verifyAgentCandidateWorkspaceTree, ct as throwIfAborted, dt as zeroSpend, et as mapWithConcurrency, f as verifyAgentCandidateWorkspaceArchive, ft as zeroTokenUsage, gt as withBudgetResources, ht as resourceTelemetry, it as roundBoxMinutes, j as verifyWorkspaceSnapshotArtifacts, kt as teardownSurfaces, lt as unmeteredSpend, mt as assertResources, nt as randomSuffix, o as readAgentCandidateWorkspaceArtifactFiles, ot as stringifySafe, pt as addResourceSpend, q as cloneTokenUsage, rt as randomUuid, s as verifyAgentCandidateWorkspaceArtifacts, st as throwAbort, t as assertSandboxProfileCompatibility, tt as promptCacheTokenClasses, ut as withTimeout, vt as CHILD_DEADLINE_REASON, wt as boundedChildDeadlineAt } from "./sandbox-profile-compat-Dq7ujONv.js";
4
4
  import { runTaskQueue } from "./task-queue.js";
5
5
  import { a as readCommittedJsonLines, n as isNoEntError, t as appendCommittedJsonLine } from "./jsonl-file-DBv31uPi.js";
6
6
  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-CyCUwHed.js";
@@ -4848,18 +4848,18 @@ const promptControlProfileMaterialization = defineProfileMaterializationContract
4848
4848
  "metadata"
4849
4849
  ]
4850
4850
  });
4851
+ /** Sandbox carries every canonical profile leaf except proxySecrets until its Interface does. */
4852
+ const sandboxProfileMaterialization = defineProfileMaterializationContract({
4853
+ name: "sandbox-profile-execution",
4854
+ axes: AGENT_PROFILE_MATERIALIZATION_AXES.filter((axis) => axis !== "proxySecrets")
4855
+ });
4851
4856
  /**
4852
- * Materialization contract for `createSandboxAct`.
4853
- *
4854
- * `createSandboxAct` hands the whole `AgentProfile` to the sandbox as `backend.profile`, so every
4855
- * profile leaf crosses the boundary. `buildBackendOptions` resolves the runner only from
4856
- * `profile.harness`; an explicit `sandboxOverrides.backend.type` may confirm that choice but cannot
4857
- * replace it. A candidate declaring a harness the sandbox cannot run throws rather than running
4858
- * elsewhere and reporting success.
4857
+ * `createSandboxAct` sends the profile as `backend.profile`; its contract must match Sandbox.
4858
+ * `buildBackendOptions` also refuses unsupported secret fields before creating a box.
4859
4859
  */
4860
4860
  const sandboxActProfileMaterialization = defineProfileMaterializationContract({
4861
4861
  name: "createSandboxAct",
4862
- axes: fullProfileMaterialization.axes
4862
+ axes: sandboxProfileMaterialization.axes
4863
4863
  });
4864
4864
  /** Materialization contract for a run path that only injects prompt text. */
4865
4865
  const promptOnlyProfileMaterialization = defineProfileMaterializationContract({
@@ -15738,6 +15738,7 @@ function resolveBackendType(profile, override) {
15738
15738
  */
15739
15739
  function buildBackendOptions(profile, overrides) {
15740
15740
  assertExecutableAgentProfile(profile, "buildBackendOptions");
15741
+ assertSandboxProfileCompatibility(profile, "sandbox backend profile");
15741
15742
  const base = overrides ?? {};
15742
15743
  const overrideBackend = base.backend;
15743
15744
  const overrideProvider = overrideBackend?.model?.provider;
@@ -24314,19 +24315,34 @@ function stableText(value, label) {
24314
24315
  const coordinationMcpAlias = "agent-runtime-coordination";
24315
24316
  /** A profile declares Runtime-owned tools with this provider-neutral prefix. */
24316
24317
  const coordinationProfileToolPrefix = `${coordinationMcpAlias.replaceAll("-", "_")}_`;
24317
- /** Remove Runtime-only grants and seat policy from the provider-facing profile. */
24318
+ /** The metadata key under which the root of a `run_graph` subtask carries its graph's topology.
24319
+ * Runtime writes it; `spawn_worker` refuses a profile that carries it. */
24320
+ const runtimeGraphMetadataKey = "agentRuntimeGraph";
24321
+ /** Remove Runtime-only grants, seat policy and graph topology from the provider-facing profile. */
24318
24322
  function providerVisibleProfile(profile) {
24319
24323
  const { seats: _seats, ...withoutSeats } = profile;
24320
- if (profile.tools === void 0) return withoutSeats;
24324
+ const visible = withoutRuntimeGraph(withoutSeats);
24325
+ if (profile.tools === void 0) return visible;
24321
24326
  const providerTools = Object.fromEntries(Object.entries(profile.tools).filter(([name]) => !name.startsWith(coordinationProfileToolPrefix)));
24322
- if (Object.keys(providerTools).length === Object.keys(profile.tools).length) return withoutSeats;
24327
+ if (Object.keys(providerTools).length === Object.keys(profile.tools).length) return visible;
24323
24328
  if (Object.keys(providerTools).length > 0) return {
24324
- ...withoutSeats,
24329
+ ...visible,
24325
24330
  tools: providerTools
24326
24331
  };
24327
- const { tools: _runtimeTools, ...withoutTools } = withoutSeats;
24332
+ const { tools: _runtimeTools, ...withoutTools } = visible;
24328
24333
  return withoutTools;
24329
24334
  }
24335
+ function withoutRuntimeGraph(profile) {
24336
+ const source = profile.metadata;
24337
+ if (source === void 0 || source["agentRuntimeGraph"] === void 0) return profile;
24338
+ const { [runtimeGraphMetadataKey]: _graph, ...metadata } = source;
24339
+ if (Object.keys(metadata).length > 0) return {
24340
+ ...profile,
24341
+ metadata
24342
+ };
24343
+ const { metadata: _metadata, ...withoutMetadata } = profile;
24344
+ return withoutMetadata;
24345
+ }
24330
24346
  //#endregion
24331
24347
  //#region src/runtime/supervise/terminal-record.ts
24332
24348
  /** The settlement fields every writer copies, in the terminal record's key order. The
@@ -29515,7 +29531,7 @@ function isInfraError(err) {
29515
29531
  * journal so the executor can run its `act` inside a nested scope. `act` fails loud if
29516
29532
  * called directly — a driver child runs THROUGH its nested-scope executor, never as a root.
29517
29533
  */
29518
- function driverChild(profile, driver, journal, execution, acceptedSubmission, recoverExecutor, unassessedOutput, leafDeliverable) {
29534
+ function driverChild(profile, driver, journal, execution, acceptedSubmission, recoverExecutor, unassessedOutput, leafDeliverable, finishOutput) {
29519
29535
  const name = profile.name ?? driver.name;
29520
29536
  const traceSource = driver.traceSource;
29521
29537
  const progress = driver.progress;
@@ -29531,6 +29547,7 @@ function driverChild(profile, driver, journal, execution, acceptedSubmission, re
29531
29547
  ...acceptedSubmission ? { acceptedSubmission } : {},
29532
29548
  ...unassessedOutput ? { unassessedOutput } : {},
29533
29549
  ...leafDeliverable ? { leafDeliverable } : {},
29550
+ ...finishOutput ? { finishOutput } : {},
29534
29551
  ...recoverExecutor ? { recoverExecutor } : {},
29535
29552
  ...traceSource ? { traceSource } : {},
29536
29553
  ...progress ? { progress } : {},
@@ -29667,9 +29684,10 @@ const driverExecutorFactory = (rawSpec, ctx) => {
29667
29684
  };
29668
29685
  const acceptedSubmission = spec.acceptedSubmission?.() === true;
29669
29686
  const verdict = !acceptedSubmission && spec.unassessedOutput?.() === true ? void 0 : deriveDeliveryVerdict(events.filter((event) => event.kind === "settled"), out, acceptedSubmission);
29687
+ const finished = spec.finishOutput ? await spec.finishOutput(out) : out;
29670
29688
  artifact = {
29671
29689
  outRef: `${driverRuntime}:${nestedRoot}`,
29672
- out: out === void 0 ? null : out,
29690
+ out: finished === void 0 ? null : finished,
29673
29691
  spent: childWork,
29674
29692
  ...verdict ? { verdict } : {}
29675
29693
  };
@@ -31692,6 +31710,6 @@ function isNonEmptySpend(s) {
31692
31710
  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);
31693
31711
  }
31694
31712
  //#endregion
31695
- export { environmentReader as $, insideCursorNamespace as $i, resolveHarnessTranscriptCapture as $n, sandboxActProfileMaterialization as $r, PEER_MAIL_WIRE_KEY as $t, scopeOwnerExecutorNodeContext as A, registerRetainedExecutorPreparation as Ai, resolveAgentEnvironmentProvider as An, createWorktree as Ar, captureReusableExecutorConfig as At, consumeScopeRetainedOwnerResult as B, extractLlmCallEvent as Bi, retainedCreateMaterial as Bn, AGENT_PROFILE_MATERIALIZATION_AXES as Br, createInPlaceCliExecutor as Bt, deriveNodeExecutionIdentity as C, resolveRedactor as Ca, executableAgentSpecSnapshot as Ci, readPromptOptions as Cn, createRuntimeStreamEventCollector as Cr, createContinuationKeeper as Ct, recordScopeOwnerMaterialization as D, awaitAbortable$1 as Di, createAgentEnvironmentProviderRegistry as Dn, runSettledCommand as Dr, passedItems as Dt, recordScopeOwnerDriverAttempt as E, providerMessageText as Ea, abortError$1 as Ei, LEAF_CONTINUATION_TASK as En, sanitizeRuntimeStreamEvent as Er, failedItems as Et, seatExecutionProfile as F, TRACE_SUMMARY_SCHEMA as Fi, bridgeStopSignalKey as Fn, harnessSupportsReasoningEffort as Fr, snapshotExecutorConfig as Ft, scopeRetainedOwnerContext as G, sandboxEventServedBackend as Gi, RunCancellationReason as Gn, fullProfileMaterialization as Gr, workerTraceSeamKey as Gt, prepareScopeRetainedOwnerSeatSwitch as H, mapSandboxEvent as Hi, environmentGone as Hn, assertProfileMaterializes as Hr, readWorkerTraceContext as Ht, abandonScopeRetainedOwnerInvocation as I, assertSandboxServedModel as Ii, reconnectRetainedRun as In, localHarnessExecutable as Ir, createWorktreeCliExecutor as It, scopeRetainedOwnerResourceReader as J, decodeHarnessUsage as Ji, runAbortable as Jn, promptModelProfileMaterialization as Jr, createActivityLog as Jt, scopeRetainedOwnerJournalRoot as K, sandboxProgressEvents as Ki, abortError as Kn, profileMaterializationAxes$1 as Kr, taskToPrompt as Kt, beginScopeRetainedOwnerDrive as L, canonicalStreamEventFromSandboxEvent as Li, recoverRetainedRun as Ln, parseCodexTokenUsage as Lr, DEFAULT_SANDBOX_STEERING_MAX_TURNS as Lt, SeatChain as M, unavailablePauseMs as Mi, decodeToolPart as Mn, DEFAULT_LOCAL_HARNESS as Mr, cliWorktreeExecutor as Mt, SeatChainExhaustedError as N, unavailableSignalOfFailure as Ni, sandboxSessionTraceSource as Nn, LOCAL_HARNESSES as Nr, createExecutor as Nt, recordScopeOwnerPause as O, runtimeFailureCause as Oi, providerAsExecutor as On, runWorktreeHarness as Or, verdictFromJudgeScore as Ot, authoredSeatStages as P, TRACE_ROOT_SCHEMA as Pi, bridgeRuntimeAttachmentsKey as Pn, harnessInvocation as Pr, createExecutorRegistry as Pt, SPAWN_RESOURCE_PATH_MAX_BYTES as Q, InMemorySpawnJournal as Qi, readHarnessTranscript as Qn, renderUnsupported as Qr, DEFAULT_PEER_MAIL_LIMITS as Qt, bindScopeRetainedOwnerEnvironmentId as R, createSandboxToolPartState as Ri, startRetainedRun as Rn, CodexExecutionDiagnosticError as Rr, createSteerableSandboxSession as Rt, createScope as S, defaultRedactorIdentityMaterial as Sa, executableAgentProfileSnapshot as Si, assertBoxlessPromptOptions as Sn, createRuntimeEventCollector as Sr, checkVerdictOf as St, meterRuntimeOwnedProviderAttempt as T, promptOptionsFromAgentTurnInput as Ta, readSandboxOutcome as Ti, runBrainLoop as Tn, sanitizeKnowledgeReadinessReport as Tr, expandQuestions as Tt, prepareScopeRetainedOwnerTask as U, mapSandboxToolEvent as Ui, createWorkerSlots as Un, controlProfileMaterialization as Ur, workerTraceEnv as Ut, noteScopeRetainedOwnerCoordination as V, isSandboxTerminalEvent as Vi, destroyInteractiveEnvironment as Vn, assertProfileMaterialization as Vr, WORKER_TRACE_PROPAGATION as Vt, reconcileScopeRetainedOwnerEnvironment as W, notifySandboxEventObserver as Wi, openSlotGroup as Wn, defineProfileMaterializationContract as Wr, workerTraceHeaders as Wt, scopeRetainedOwnerResult as X, FileSpawnJournal as Xi, harnessTranscriptArtifact as Xn, promptResourceProfileMaterialization as Xr, createInbox as Xt, scopeRetainedOwnerRestorePoint as Y, FileResultBlobStore as Yi, captureHarnessTranscript as Yn, promptOnlyProfileMaterialization as Yr, readWorkerProgress as Yt, scopeRetainedOwnerTurnEnded as Z, InMemoryResultBlobStore as Zi, persistHarnessTranscript as Zn, renderProfileMaterializationIssues as Zr, AUTHORITY_MARKERS as Zt, isDriverSpec as _, meterUsageEvent as _a, runtimeOwnedExecutorProviderEvidence as _i, runAgentRounds as _n, generateSpanId as _r, CONTINUATION_FACTS as _t, collectDelivered as a, isTraceAnalysisStore as aa, authoredAgentIdentity as ai, isLiveNodeStatus as an, routerTokenPrice as ar, interactiveAdmissionSeamKey as at, assertRecursiveReservationPolicy as b, spendFromUsageTotals as ba, unknownExecutionBindingReceipt as bi, SandboxEvidenceRetentionError as bn, padTraceId as br, admitFinding as bt, runTree as c, contentAddress as ca, inheritRuntimeOwnedExecutorAttestation as ci, bridgeModelRouteRefusal as cn, mergeTraceEnv as cr, reconnectRetainedInteractiveRun as ct, classifyDriverFailure as d, executorFailure as da, newExecutionAttemptId as di, harnessUsageIsEmpty as dn, buildLoopOtelSpans as dr, freeSlots as dt, loadSpawnForest as ea, unsupportedProfileDimensions as ei, claimsAuthority as en, retainHarnessTranscript as er, hostDirectoryReader as et, runDriverWithRetry as f, errMessage as fa, providerAttemptEvidence as fi, readCodexRolloutSession as fn, buildLoopSpanNodes as fr, queueOf as ft, driverExecutorFactory as g, createBudgetPool as ga, runtimeOwnedExecutorMaterialization as gi, isTerminalDecision as gn, flatOtelSpan as gr, CONTINUATIONS_DIR as gt, driverChild as h, assertValidBudget as ha, runtimeOwnedExecutorExecutionBinding as hi, defaultSelectWinner as hn, createOtelExporter as hr, mapExecutorResult as ht, bestDelivered as i, captureWorkerTraceEvidence as ia, attestRuntimeOwnedScopeOwner as ii, peerMailVerbNames as in, priceTokens as ir, providerVisibleProfile as it, settledToIteration as j, retainedExecutorSeamKey as ji, createPushTraceSource as jn, removeWorktree as jr, cliInPlaceExecutor as jt, restoreScopeOwnerAcceptedExecution as k, settlementFailureCause as ki, providerAsSandboxClient as kn, captureWorktreeDiff as kr, bindReusableExecutorExecutionId as kt, DriverAttemptsExhaustedError as l, detachedFrozen as la, knownExecutionBindingReceipt as li, addHarnessUsage as ln, readTraceContextFromEnv as lr, recoverRetainedInteractiveRun as lt, upstreamUnavailableSignal as m, ReservationWaitRefused as ma, runtimeOwnedDriveHarnessProviderEvidence as mi, createSandboxForSpec as mn, createOpenInferenceFileExporter as mr, gateOnDeliverable as mt, createRootHandle as n, replaySpawnTree as na, worktreeCliProfileMaterialization as ni, isPeerMailEnvelope as nn, describeCodeModeTools as nr, coordinationMcpAlias as nt, pickBestDelivered as o, parseWorkerToolTraceArtifact as oa, authoredProfileDigest as oi, isTerminalNodeStatus as on, ROUTER_PRICE_SOURCE as or, attachWorker as ot, summarizeDriverAttempts as p, BudgetReconcileFault as pa, recordRuntimeOwnedDriveHarnessProviderEvidence as pi, TERMINAL_DECISIONS as pn, buildRuntimeEventOtelSpans as pr, rollingDispatch as pt, scopeRetainedOwnerPriorSpend as q, sumSandboxUsage as qi, linkAbort as qn, promptControlProfileMaterialization as qr, DEFAULT_STALL_AFTER_MS as qt, createSupervisor as r, WORKER_TOOL_TRACE_SCHEMA_VERSION as ra, attestRuntimeOwnedPendingExecutor as ri, peerMailTools as rn, runCodeMode as rr, coordinationProfileToolPrefix as rt, runFinalizer as s, workerTraceAnalysisStore as sa, finalizeRuntimeOwnedPendingExecutor as si, bridgeAdmissionRefusal as sn, createPropagatingTraceEmitter as sr, readWorkerInteractiveBinding as st, DEFAULT_MAX_DEPTH as t, materializeTreeView as ta, validateProfileMaterialization as ti, createPeerMailbox as tn, createCodeModeTools as tr, resolveSpawnResourcePaths as tt, HarnessTurnFailedError as u, detachedSnapshot as ua, knownMaterializationReceipt as ui, createCodexRolloutStoreReader as un, traceContextToEnv as ur, startRetainedInteractiveRun as ut, withDriverExecutor as v, newUsageTotals as va, runtimeOwnedPendingExecutorMaterialization as vi, createSandboxLineage as vn, loopEventToOtelSpan as vr, CheckUnavailableError as vt, meterRuntimeOwnedAccounting as w, promptFromAgentTurnInput as wa, projectSandboxOutcome as wi, routerBrain as wn, sanitizeAgentRuntimeEvent as wr, distillFindings as wt, beginScopeOwnerAttempt as x, defaultRedactor as xa, unknownMaterializationReceipt as xi, captureBeforeDestroy as xn, toOtelAttributes as xr, bestComposite as xt, SUBTREE_RESULT_LIMIT as y, spendFromUsageEvents as ya, runtimeOwnedScopeOwnerRuntime as yi, acquireSandbox as yn, padSpanId as yr, admitContinuationPolicy as yt, bindScopeRetainedOwnerProvider as z, createSandboxUsageLedger as zi, startRetainedRunInEnvironment as zn, terminateProcessTreeAndConfirm as zr, createRouterTranscript as zt };
31713
+ export { environmentReader as $, InMemoryResultBlobStore as $i, readHarnessTranscript as $n, renderUnsupported as $r, DEFAULT_PEER_MAIL_LIMITS as $t, scopeOwnerExecutorNodeContext as A, runtimeFailureCause as Ai, providerAsSandboxClient as An, captureWorktreeDiff as Ar, bindReusableExecutorExecutionId as At, consumeScopeRetainedOwnerResult as B, createSandboxToolPartState as Bi, startRetainedRunInEnvironment as Bn, terminateProcessTreeAndConfirm as Br, createRouterTranscript as Bt, deriveNodeExecutionIdentity as C, defaultRedactor as Ca, unknownMaterializationReceipt as Ci, assertBoxlessPromptOptions as Cn, createRuntimeEventCollector as Cr, checkVerdictOf as Ct, recordScopeOwnerMaterialization as D, promptOptionsFromAgentTurnInput as Da, readSandboxOutcome as Di, LEAF_CONTINUATION_TASK as Dn, sanitizeRuntimeStreamEvent as Dr, failedItems as Dt, recordScopeOwnerDriverAttempt as E, promptFromAgentTurnInput as Ea, projectSandboxOutcome as Ei, runBrainLoop as En, sanitizeKnowledgeReadinessReport as Er, expandQuestions as Et, seatExecutionProfile as F, unavailableSignalOfFailure as Fi, bridgeRuntimeAttachmentsKey as Fn, harnessInvocation as Fr, createExecutorRegistry as Ft, scopeRetainedOwnerContext as G, mapSandboxToolEvent as Gi, openSlotGroup as Gn, defineProfileMaterializationContract as Gr, workerTraceHeaders as Gt, prepareScopeRetainedOwnerSeatSwitch as H, extractLlmCallEvent as Hi, destroyInteractiveEnvironment as Hn, assertProfileMaterialization as Hr, WORKER_TRACE_PROPAGATION as Ht, abandonScopeRetainedOwnerInvocation as I, TRACE_ROOT_SCHEMA as Ii, bridgeStopSignalKey as In, harnessSupportsReasoningEffort as Ir, snapshotExecutorConfig as It, scopeRetainedOwnerResourceReader as J, sandboxProgressEvents as Ji, linkAbort as Jn, promptControlProfileMaterialization as Jr, DEFAULT_STALL_AFTER_MS as Jt, scopeRetainedOwnerJournalRoot as K, notifySandboxEventObserver as Ki, RunCancellationReason as Kn, fullProfileMaterialization as Kr, workerTraceSeamKey as Kt, beginScopeRetainedOwnerDrive as L, TRACE_SUMMARY_SCHEMA as Li, reconnectRetainedRun as Ln, localHarnessExecutable as Lr, createWorktreeCliExecutor as Lt, SeatChain as M, registerRetainedExecutorPreparation as Mi, createPushTraceSource as Mn, removeWorktree as Mr, cliInPlaceExecutor as Mt, SeatChainExhaustedError as N, retainedExecutorSeamKey as Ni, decodeToolPart as Nn, DEFAULT_LOCAL_HARNESS as Nr, cliWorktreeExecutor as Nt, recordScopeOwnerPause as O, providerMessageText as Oa, abortError$1 as Oi, createAgentEnvironmentProviderRegistry as On, runSettledCommand as Or, passedItems as Ot, authoredSeatStages as P, unavailablePauseMs as Pi, sandboxSessionTraceSource as Pn, LOCAL_HARNESSES as Pr, createExecutor as Pt, SPAWN_RESOURCE_PATH_MAX_BYTES as Q, FileSpawnJournal as Qi, persistHarnessTranscript as Qn, renderProfileMaterializationIssues as Qr, AUTHORITY_MARKERS as Qt, bindScopeRetainedOwnerEnvironmentId as R, assertSandboxServedModel as Ri, recoverRetainedRun as Rn, parseCodexTokenUsage as Rr, DEFAULT_SANDBOX_STEERING_MAX_TURNS as Rt, createScope as S, spendFromUsageTotals as Sa, unknownExecutionBindingReceipt as Si, captureBeforeDestroy as Sn, toOtelAttributes as Sr, bestComposite as St, meterRuntimeOwnedProviderAttempt as T, resolveRedactor as Ta, executableAgentSpecSnapshot as Ti, routerBrain as Tn, sanitizeAgentRuntimeEvent as Tr, distillFindings as Tt, prepareScopeRetainedOwnerTask as U, isSandboxTerminalEvent as Ui, environmentGone as Un, assertProfileMaterializes as Ur, readWorkerTraceContext as Ut, noteScopeRetainedOwnerCoordination as V, createSandboxUsageLedger as Vi, retainedCreateMaterial as Vn, AGENT_PROFILE_MATERIALIZATION_AXES as Vr, createInPlaceCliExecutor as Vt, reconcileScopeRetainedOwnerEnvironment as W, mapSandboxEvent as Wi, createWorkerSlots as Wn, controlProfileMaterialization as Wr, workerTraceEnv as Wt, scopeRetainedOwnerResult as X, decodeHarnessUsage as Xi, captureHarnessTranscript as Xn, promptOnlyProfileMaterialization as Xr, readWorkerProgress as Xt, scopeRetainedOwnerRestorePoint as Y, sumSandboxUsage as Yi, runAbortable as Yn, promptModelProfileMaterialization as Yr, createActivityLog as Yt, scopeRetainedOwnerTurnEnded as Z, FileResultBlobStore as Zi, harnessTranscriptArtifact as Zn, promptResourceProfileMaterialization as Zr, createInbox as Zt, isDriverSpec as _, assertValidBudget as _a, runtimeOwnedExecutorExecutionBinding as _i, isTerminalDecision as _n, flatOtelSpan as _r, CONTINUATIONS_DIR as _t, collectDelivered as a, WORKER_TOOL_TRACE_SCHEMA_VERSION as aa, attestRuntimeOwnedPendingExecutor as ai, peerMailVerbNames as an, priceTokens as ar, runtimeGraphMetadataKey as at, assertRecursiveReservationPolicy as b, newUsageTotals as ba, runtimeOwnedPendingExecutorMaterialization as bi, acquireSandbox as bn, padSpanId as br, admitContinuationPolicy as bt, runTree as c, parseWorkerToolTraceArtifact as ca, authoredProfileDigest as ci, bridgeAdmissionRefusal as cn, createPropagatingTraceEmitter as cr, readWorkerInteractiveBinding as ct, classifyDriverFailure as d, detachedFrozen as da, knownExecutionBindingReceipt as di, createCodexRolloutStoreReader as dn, traceContextToEnv as dr, startRetainedInteractiveRun as dt, InMemorySpawnJournal as ea, sandboxActProfileMaterialization as ei, PEER_MAIL_WIRE_KEY as en, resolveHarnessTranscriptCapture as er, hostDirectoryReader as et, runDriverWithRetry as f, detachedSnapshot as fa, knownMaterializationReceipt as fi, harnessUsageIsEmpty as fn, buildLoopOtelSpans as fr, freeSlots as ft, driverExecutorFactory as g, ReservationWaitRefused as ga, runtimeOwnedDriveHarnessProviderEvidence as gi, defaultSelectWinner as gn, createOtelExporter as gr, mapExecutorResult as gt, driverChild as h, BudgetReconcileFault as ha, recordRuntimeOwnedDriveHarnessProviderEvidence as hi, createSandboxForSpec as hn, createOpenInferenceFileExporter as hr, gateOnDeliverable as ht, bestDelivered as i, replaySpawnTree as ia, worktreeCliProfileMaterialization as ii, peerMailTools as in, runCodeMode as ir, providerVisibleProfile as it, settledToIteration as j, settlementFailureCause as ji, resolveAgentEnvironmentProvider as jn, createWorktree as jr, captureReusableExecutorConfig as jt, restoreScopeOwnerAcceptedExecution as k, awaitAbortable$1 as ki, providerAsExecutor as kn, runWorktreeHarness as kr, verdictFromJudgeScore as kt, DriverAttemptsExhaustedError as l, workerTraceAnalysisStore as la, finalizeRuntimeOwnedPendingExecutor as li, bridgeModelRouteRefusal as ln, mergeTraceEnv as lr, reconnectRetainedInteractiveRun as lt, upstreamUnavailableSignal as m, errMessage as ma, providerAttemptEvidence as mi, TERMINAL_DECISIONS as mn, buildRuntimeEventOtelSpans as mr, rollingDispatch as mt, createRootHandle as n, loadSpawnForest as na, unsupportedProfileDimensions as ni, createPeerMailbox as nn, createCodeModeTools as nr, coordinationMcpAlias as nt, pickBestDelivered as o, captureWorkerTraceEvidence as oa, attestRuntimeOwnedScopeOwner as oi, isLiveNodeStatus as on, routerTokenPrice as or, interactiveAdmissionSeamKey as ot, summarizeDriverAttempts as p, executorFailure as pa, newExecutionAttemptId as pi, readCodexRolloutSession as pn, buildLoopSpanNodes as pr, queueOf as pt, scopeRetainedOwnerPriorSpend as q, sandboxEventServedBackend as qi, abortError as qn, profileMaterializationAxes$1 as qr, taskToPrompt as qt, createSupervisor as r, materializeTreeView as ra, validateProfileMaterialization as ri, isPeerMailEnvelope as rn, describeCodeModeTools as rr, coordinationProfileToolPrefix as rt, runFinalizer as s, isTraceAnalysisStore as sa, authoredAgentIdentity as si, isTerminalNodeStatus as sn, ROUTER_PRICE_SOURCE as sr, attachWorker as st, DEFAULT_MAX_DEPTH as t, insideCursorNamespace as ta, sandboxProfileMaterialization as ti, claimsAuthority as tn, retainHarnessTranscript as tr, resolveSpawnResourcePaths as tt, HarnessTurnFailedError as u, contentAddress as ua, inheritRuntimeOwnedExecutorAttestation as ui, addHarnessUsage as un, readTraceContextFromEnv as ur, recoverRetainedInteractiveRun as ut, withDriverExecutor as v, createBudgetPool as va, runtimeOwnedExecutorMaterialization as vi, runAgentRounds as vn, generateSpanId as vr, CONTINUATION_FACTS as vt, meterRuntimeOwnedAccounting as w, defaultRedactorIdentityMaterial as wa, executableAgentProfileSnapshot as wi, readPromptOptions as wn, createRuntimeStreamEventCollector as wr, createContinuationKeeper as wt, beginScopeOwnerAttempt as x, spendFromUsageEvents as xa, runtimeOwnedScopeOwnerRuntime as xi, SandboxEvidenceRetentionError as xn, padTraceId as xr, admitFinding as xt, SUBTREE_RESULT_LIMIT as y, meterUsageEvent as ya, runtimeOwnedExecutorProviderEvidence as yi, createSandboxLineage as yn, loopEventToOtelSpan as yr, CheckUnavailableError as yt, bindScopeRetainedOwnerProvider as z, canonicalStreamEventFromSandboxEvent as zi, startRetainedRun as zn, CodexExecutionDiagnosticError as zr, createSteerableSandboxSession as zt };
31696
31714
 
31697
- //# sourceMappingURL=supervisor-DnKhkhKc.js.map
31715
+ //# sourceMappingURL=supervisor-CESg1FQx.js.map