@tangle-network/agent-runtime 0.252.0 → 0.252.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.
- package/dist/{activation-BykUtuec.d.ts → activation-CVMjsBM2.d.ts} +2 -2
- package/dist/{activation-BSLatbiJ.js → activation-CXrrtB5m.js} +2 -2
- package/dist/{activation-BSLatbiJ.js.map → activation-CXrrtB5m.js.map} +1 -1
- package/dist/agent.d.ts +2 -2
- package/dist/agent.js +2 -2
- package/dist/{coordination-driver-QxitIuva.js → coordination-driver-D_LHrYiF.js} +2 -2
- package/dist/{coordination-driver-QxitIuva.js.map → coordination-driver-D_LHrYiF.js.map} +1 -1
- package/dist/{delegate-BB90iDo7.js → delegate-C8qzIpfB.js} +2 -2
- package/dist/{delegate-BB90iDo7.js.map → delegate-C8qzIpfB.js.map} +1 -1
- package/dist/durable.d.ts +2 -2
- package/dist/durable.js +2 -2
- package/dist/{graph-yC6wqOIt.js → graph-xWtpPhOj.js} +3 -3
- package/dist/{graph-yC6wqOIt.js.map → graph-xWtpPhOj.js.map} +1 -1
- package/dist/{improvement-cycle-on_u94aK.js → improvement-cycle-blUuLwtN.js} +3 -3
- package/dist/{improvement-cycle-on_u94aK.js.map → improvement-cycle-blUuLwtN.js.map} +1 -1
- package/dist/{index-DGWG7wSS.d.ts → index-BOyxiPdv.d.ts} +4 -4
- package/dist/index.d.ts +6 -6
- package/dist/index.js +7 -7
- package/dist/intelligence.d.ts +3 -3
- package/dist/intelligence.js +3 -3
- package/dist/kernel.d.ts +3 -3
- package/dist/kernel.js +8 -8
- package/dist/{loop-runner-bin-CsVNUclF.d.ts → loop-runner-bin-CEjfP-9b.d.ts} +3 -3
- package/dist/{loop-runner-bin-PL0dItet.js → loop-runner-bin-HOQO-Bc5.js} +3 -3
- package/dist/{loop-runner-bin-PL0dItet.js.map → loop-runner-bin-HOQO-Bc5.js.map} +1 -1
- package/dist/loop-runner-bin.d.ts +1 -1
- package/dist/loop-runner-bin.js +1 -1
- package/dist/mcp/bin.js +3 -3
- package/dist/mcp/index.d.ts +5 -5
- package/dist/mcp/index.js +4 -4
- package/dist/{openai-tools-zrajPyXe.d.ts → openai-tools-8E1xkqPd.d.ts} +2 -2
- package/dist/profiles.d.ts +2 -2
- package/dist/{provision-supervisor-DsAhgOpn.js → provision-supervisor-D72s82K_.js} +3 -3
- package/dist/{provision-supervisor-DsAhgOpn.js.map → provision-supervisor-D72s82K_.js.map} +1 -1
- package/dist/{runtime-CMNTa7Rw.js → runtime-DuE9T9fQ.js} +8 -8
- package/dist/{runtime-CMNTa7Rw.js.map → runtime-DuE9T9fQ.js.map} +1 -1
- package/dist/{server-2fL_QElQ.js → server-BRcoetaI.js} +3 -3
- package/dist/{server-2fL_QElQ.js.map → server-BRcoetaI.js.map} +1 -1
- package/dist/{stream-agent-turn-oeWkjxMi.d.ts → stream-agent-turn-vHFw9Cjl.d.ts} +2 -2
- package/dist/{structural-rollout-DRD-WnV-.js → structural-rollout-DwklJEOU.js} +2 -2
- package/dist/{structural-rollout-DRD-WnV-.js.map → structural-rollout-DwklJEOU.js.map} +1 -1
- package/dist/{substrate-Ctmos75o.d.ts → substrate-Dtw3KmTi.d.ts} +2 -2
- package/dist/{supervise-BXzkqfTE.js → supervise-IBkXPk1z.js} +4 -3
- package/dist/{supervise-BXzkqfTE.js.map → supervise-IBkXPk1z.js.map} +1 -1
- package/dist/{supervisor-OJwKAnFd.js → supervisor-BlDW3u0y.js} +71 -6
- package/dist/supervisor-BlDW3u0y.js.map +1 -0
- package/dist/testing.d.ts +2 -2
- package/dist/testing.js +12 -12
- package/dist/tui/index.d.ts +1 -1
- package/dist/tui/index.js +1 -1
- package/dist/{types-BmxS-W-f.d.ts → types-DKeaex8Q.d.ts} +5 -1
- package/package.json +1 -1
- package/dist/supervisor-OJwKAnFd.js.map +0 -1
|
@@ -3,7 +3,7 @@ import { a as concreteProfileModel, c as profileModelExecutionSettings, d as age
|
|
|
3
3
|
import { b as verifyWorkspaceSnapshotArtifacts, i as verifyAgentCandidateWorkspaceArchive } from "./workspace-archive-DQGFwvM6.js";
|
|
4
4
|
import { i as notifyRuntimeHookEvent } from "./runtime-hooks-tXpAarhW.js";
|
|
5
5
|
import { n as assertNoSymlinkDescendant, r as publishExclusiveDurableFile } from "./durable-file-DWQA4ooo.js";
|
|
6
|
-
import { AGENT_PROFILE_MATERIALIZATION_AXES, AgentEnvironmentCapabilitiesSchema, AgentExactRunControlRefSchema, AgentInteractiveSessionControlClaimAcknowledgementSchema, AgentInteractiveSessionControlClaimSchema, AgentInteractiveSessionPromptAcknowledgementSchema, AgentInteractiveSessionRefSchema, AgentInteractiveSessionStartSchema, AgentInteractiveSessionStatusSchema, AgentInteractiveSessionStopAcknowledgementSchema, AgentNativeContextContinuationResultSchema, AgentRunCancellationAcknowledgementSchema, AgentRunCancellationRequestSchema, AgentTurnInputSchema, AgentTurnResultSchema, CanonicalStreamEventSchema, ContextTransferRequestSchema, InteractionAcknowledgementSchema, InteractionResponseCommandSchema, NativeContextBoundaryProofSchema, NativeContextContinuationRequestSchema, REASONING_EFFORTS, RuntimeEventEnvelopeSchema, TerminalReplayWindowSchema, TerminalSessionRefSchema, WorkspaceRequestSchema, agentInteractiveSessionControlClaimAcknowledgementMatchesRequest, agentInteractiveSessionControlClaimMatchesRef, agentInteractiveSessionPromptAcknowledgementMatchesCommand, agentInteractiveSessionRefMatchesStart, agentInteractiveSessionRunRef, agentInteractiveSessionStatusMatchesRef, agentInteractiveSessionStopAcknowledgementMatchesCommand, agentNativeContextContinuationResultMatchesRequest, agentProfileSchema, agentRunCancellationAcknowledgementMatchesRequest, agentRunCancellationRequestDigest, canonicalAgentProfileDigest, canonicalCandidateDigest, canonicalWorkspaceCwd, exactAgentInteractiveSessionStart, harnessSystemPromptIntents, harnessTypeSchema, nativeContextContinuationTurnDigest, nativeReasoningControl, profileMaterializationAxes, profileMaterializationAxes as profileMaterializationAxes$1, renderInputPartsAsText, sha256DigestSchema, workspaceCwdPathForBase } from "@tangle-network/agent-interface";
|
|
6
|
+
import { AGENT_PROFILE_MATERIALIZATION_AXES, AgentEnvironmentCapabilitiesSchema, AgentExactRunControlRefSchema, AgentInteractiveSessionControlClaimAcknowledgementSchema, AgentInteractiveSessionControlClaimSchema, AgentInteractiveSessionPromptAcknowledgementSchema, AgentInteractiveSessionRefSchema, AgentInteractiveSessionStartSchema, AgentInteractiveSessionStatusSchema, AgentInteractiveSessionStopAcknowledgementSchema, AgentNativeContextContinuationResultSchema, AgentRunCancellationAcknowledgementSchema, AgentRunCancellationRequestSchema, AgentTurnInputSchema, AgentTurnResultSchema, CanonicalStreamEventSchema, ContextTransferRequestSchema, InteractionAcknowledgementSchema, InteractionResponseCommandSchema, NativeContextBoundaryProofSchema, NativeContextContinuationRequestSchema, REASONING_EFFORTS, RuntimeEventEnvelopeSchema, TerminalReplayWindowSchema, TerminalSessionRefSchema, WorkspaceRequestSchema, agentCandidateWorkspaceSnapshotEvidenceSchema, agentInteractiveSessionControlClaimAcknowledgementMatchesRequest, agentInteractiveSessionControlClaimMatchesRef, agentInteractiveSessionPromptAcknowledgementMatchesCommand, agentInteractiveSessionRefMatchesStart, agentInteractiveSessionRunRef, agentInteractiveSessionStatusMatchesRef, agentInteractiveSessionStopAcknowledgementMatchesCommand, agentNativeContextContinuationResultMatchesRequest, agentProfileSchema, agentRunCancellationAcknowledgementMatchesRequest, agentRunCancellationRequestDigest, canonicalAgentProfileDigest, canonicalCandidateDigest, canonicalWorkspaceCwd, exactAgentInteractiveSessionStart, harnessSystemPromptIntents, harnessTypeSchema, nativeContextContinuationTurnDigest, nativeReasoningControl, profileMaterializationAxes, profileMaterializationAxes as profileMaterializationAxes$1, renderInputPartsAsText, sha256DigestSchema, workspaceCwdPathForBase } from "@tangle-network/agent-interface";
|
|
7
7
|
import { estimateCost, isModelPriced, isToolSpan, toolSpansToTraceAnalysisStore } from "@tangle-network/agent-eval";
|
|
8
8
|
import { createAgentRunOutcomeTracker } from "@tangle-network/sandbox/runtime";
|
|
9
9
|
import { createHash, randomBytes, randomUUID } from "node:crypto";
|
|
@@ -8053,7 +8053,6 @@ function createProviderExecutor(provider, profile, ctx, options, placement) {
|
|
|
8053
8053
|
if (options.workspaceRetention !== void 0) {
|
|
8054
8054
|
workspaceSnapshot = void 0;
|
|
8055
8055
|
workspaceCapturePromise = void 0;
|
|
8056
|
-
workspaceOutcome = void 0;
|
|
8057
8056
|
}
|
|
8058
8057
|
workspaceCleanupPromise = void 0;
|
|
8059
8058
|
}
|
|
@@ -21133,6 +21132,8 @@ async function resolveSpawnResourcePaths(profile, source) {
|
|
|
21133
21132
|
//#endregion
|
|
21134
21133
|
//#region src/runtime/supervise/retained-scope-owner.ts
|
|
21135
21134
|
const owners = /* @__PURE__ */ new WeakMap();
|
|
21135
|
+
/** @internal Scope construction carries this private policy to every nested owner scope. */
|
|
21136
|
+
const retainedOwnerWorkspaceRetentionSeamKey = "runtime.retainedOwnerWorkspaceRetention";
|
|
21136
21137
|
/** The scope owns these writers; provider adapters receive only the restricted context. */
|
|
21137
21138
|
function registerScopeRetainedOwner(scope, args) {
|
|
21138
21139
|
const events = args.priorEvents.filter((event) => "id" in event && event.id === args.nodeId);
|
|
@@ -21150,6 +21151,7 @@ function registerScopeRetainedOwner(scope, args) {
|
|
|
21150
21151
|
const state = {
|
|
21151
21152
|
args,
|
|
21152
21153
|
admissions,
|
|
21154
|
+
workspaceRetention: false,
|
|
21153
21155
|
nextSequence: () => ++sequence,
|
|
21154
21156
|
...taskEvent?.kind === "execution-input" ? {
|
|
21155
21157
|
taskRef: taskEvent.taskRef,
|
|
@@ -21218,6 +21220,11 @@ function bindScopeRetainedOwnerProvider(scope, provider) {
|
|
|
21218
21220
|
const state = owners.get(scope);
|
|
21219
21221
|
if (state) state.provider = provider;
|
|
21220
21222
|
}
|
|
21223
|
+
/** Bind the owner cleanup policy selected by its provider executor. */
|
|
21224
|
+
function bindScopeRetainedOwnerWorkspaceRetention(scope, enabled) {
|
|
21225
|
+
const state = owners.get(scope);
|
|
21226
|
+
if (state) state.workspaceRetention = enabled;
|
|
21227
|
+
}
|
|
21221
21228
|
/**
|
|
21222
21229
|
* Bind where the owner's CURRENT environment id can be read from. The drive harness supplies a
|
|
21223
21230
|
* resolver over its active executor's materialization receipt, which every provider path
|
|
@@ -21304,12 +21311,16 @@ async function releaseScopeRetainedOwnerEnvironment(scope) {
|
|
|
21304
21311
|
const events = await args.journal.loadTree(args.rootId) ?? [];
|
|
21305
21312
|
const released = new Set(events.flatMap((event) => event.kind === "environment-teardown" && event.id === args.nodeId && event.provider === provider.name && event.destroyed ? [event.environmentId] : []));
|
|
21306
21313
|
const environments = new Set(events.flatMap((event) => event.id === args.nodeId && event.kind === "execution-admitted" && event.admission.phase === "environment" ? [event.admission.environmentId] : []));
|
|
21314
|
+
const retentionFailures = state.workspaceRetention || events.some((event) => event.kind === "execution-input" && event.id === args.nodeId && event.workspaceRetention === true) ? await ownerWorkspaceRetentionFailures(events, args.nodeId, args.blobs) : /* @__PURE__ */ new Set();
|
|
21307
21315
|
let unconfirmed = false;
|
|
21308
21316
|
for (const environmentId of environments) {
|
|
21309
21317
|
if (released.has(environmentId)) continue;
|
|
21310
21318
|
let destroyed = false;
|
|
21311
21319
|
let detail;
|
|
21312
|
-
|
|
21320
|
+
if (retentionFailures.has(environmentId)) {
|
|
21321
|
+
detail = "provider workspace retention: source preserved because the owner execution has no verified workspace receipt";
|
|
21322
|
+
unconfirmed = true;
|
|
21323
|
+
} else try {
|
|
21313
21324
|
await runAbortable(async () => {
|
|
21314
21325
|
if (!provider.get) throw new Error("provider cannot reconstruct the retained environment");
|
|
21315
21326
|
const environment = await provider.get(environmentId);
|
|
@@ -21341,6 +21352,57 @@ async function releaseScopeRetainedOwnerEnvironment(scope) {
|
|
|
21341
21352
|
status: "done"
|
|
21342
21353
|
}] : [];
|
|
21343
21354
|
}
|
|
21355
|
+
/** Group owner admissions by input and require a verified workspace receipt before deletion. */
|
|
21356
|
+
async function ownerWorkspaceRetentionFailures(events, nodeId, blobs) {
|
|
21357
|
+
const attempts = [];
|
|
21358
|
+
let current;
|
|
21359
|
+
const flush = () => {
|
|
21360
|
+
if (current !== void 0) attempts.push(current);
|
|
21361
|
+
current = void 0;
|
|
21362
|
+
};
|
|
21363
|
+
for (const event of events) {
|
|
21364
|
+
if (!("id" in event) || event.id !== nodeId) continue;
|
|
21365
|
+
if (event.kind === "execution-input") {
|
|
21366
|
+
flush();
|
|
21367
|
+
current = { environmentIds: /* @__PURE__ */ new Set() };
|
|
21368
|
+
} else if (event.kind === "execution-admitted" && event.admission.phase === "environment") {
|
|
21369
|
+
if (current?.result !== void 0) flush();
|
|
21370
|
+
current ??= { environmentIds: /* @__PURE__ */ new Set() };
|
|
21371
|
+
current.environmentIds.add(event.admission.environmentId);
|
|
21372
|
+
} else if (event.kind === "execution-result") {
|
|
21373
|
+
current ??= { environmentIds: /* @__PURE__ */ new Set() };
|
|
21374
|
+
current.result = event;
|
|
21375
|
+
}
|
|
21376
|
+
}
|
|
21377
|
+
flush();
|
|
21378
|
+
const failures = /* @__PURE__ */ new Set();
|
|
21379
|
+
for (const attempt of attempts) {
|
|
21380
|
+
if (attempt.environmentIds.size === 0) continue;
|
|
21381
|
+
if (attempt.environmentIds.size > 1) {
|
|
21382
|
+
for (const environmentId of attempt.environmentIds) failures.add(environmentId);
|
|
21383
|
+
continue;
|
|
21384
|
+
}
|
|
21385
|
+
const result = attempt.result;
|
|
21386
|
+
if (result === void 0) {
|
|
21387
|
+
for (const environmentId of attempt.environmentIds) failures.add(environmentId);
|
|
21388
|
+
continue;
|
|
21389
|
+
}
|
|
21390
|
+
let output;
|
|
21391
|
+
try {
|
|
21392
|
+
output = await blobs.get(result.outRef);
|
|
21393
|
+
if (output === void 0 || contentAddress(output) !== result.outRef) throw new Error();
|
|
21394
|
+
} catch {
|
|
21395
|
+
output = void 0;
|
|
21396
|
+
}
|
|
21397
|
+
if (!hasDurableWorkspaceSnapshot(output !== null && typeof output === "object" ? output.workspaceSnapshot : void 0)) for (const environmentId of attempt.environmentIds) failures.add(environmentId);
|
|
21398
|
+
}
|
|
21399
|
+
return failures;
|
|
21400
|
+
}
|
|
21401
|
+
/** A stored result is deletion authority only when it names the durable archive capture wrote. */
|
|
21402
|
+
function hasDurableWorkspaceSnapshot(value) {
|
|
21403
|
+
const parsed = agentCandidateWorkspaceSnapshotEvidenceSchema.safeParse(value);
|
|
21404
|
+
return parsed.success && "locator" in parsed.data.manifest && "locator" in parsed.data.archive;
|
|
21405
|
+
}
|
|
21344
21406
|
/** Resume the original backend prompt; rebuilt coordination observations cannot replace it. */
|
|
21345
21407
|
async function prepareScopeRetainedOwnerTask(scope, task) {
|
|
21346
21408
|
const state = owners.get(scope);
|
|
@@ -21382,6 +21444,7 @@ async function prepareScopeRetainedOwnerTask(scope, task) {
|
|
|
21382
21444
|
kind: "execution-input",
|
|
21383
21445
|
id: args.nodeId,
|
|
21384
21446
|
taskRef,
|
|
21447
|
+
...state.workspaceRetention ? { workspaceRetention: true } : {},
|
|
21385
21448
|
seq: inputSequence,
|
|
21386
21449
|
at: new Date(args.now()).toISOString()
|
|
21387
21450
|
});
|
|
@@ -22733,6 +22796,7 @@ function createScope(args) {
|
|
|
22733
22796
|
priorEvents: args.resumeFrom?.events ?? [],
|
|
22734
22797
|
now
|
|
22735
22798
|
});
|
|
22799
|
+
bindScopeRetainedOwnerWorkspaceRetention(scope, args.seams[retainedOwnerWorkspaceRetentionSeamKey] === true);
|
|
22736
22800
|
return scope;
|
|
22737
22801
|
}
|
|
22738
22802
|
/** @internal Meter one Runtime-owned provider attempt into the durable scope journal. */
|
|
@@ -24797,7 +24861,7 @@ function describeRejection(error) {
|
|
|
24797
24861
|
function createSupervisor() {
|
|
24798
24862
|
let attached;
|
|
24799
24863
|
async function run(root, task, opts) {
|
|
24800
|
-
const { budget, rootIdentity, rootMaterialization, runId, journal: journalStore, blobs: blobStore, executors: executorRegistry, recoverExecutor, probes, maxDepth, maxLiveWorkers, maxRestarts, withinMs, childSettleGraceMs, resume, retainedAtSettlement: requestedRetainedAtSettlement, now: suppliedNow, signal, hooks, workerTrace, workerTraceUnpropagated, interactiveBindingDir } = opts;
|
|
24864
|
+
const { budget, rootIdentity, rootMaterialization, runId, journal: journalStore, blobs: blobStore, executors: executorRegistry, recoverExecutor, probes, maxDepth, maxLiveWorkers, maxRestarts, withinMs, childSettleGraceMs, resume, retainedAtSettlement: requestedRetainedAtSettlement, ownerWorkspaceRetention, now: suppliedNow, signal, hooks, workerTrace, workerTraceUnpropagated, interactiveBindingDir } = opts;
|
|
24801
24865
|
const input = detachedSnapshot({
|
|
24802
24866
|
task,
|
|
24803
24867
|
options: {
|
|
@@ -24812,6 +24876,7 @@ function createSupervisor() {
|
|
|
24812
24876
|
...childSettleGraceMs === void 0 ? {} : { childSettleGraceMs },
|
|
24813
24877
|
...resume === void 0 ? {} : { resume },
|
|
24814
24878
|
...requestedRetainedAtSettlement === void 0 ? {} : { retainedAtSettlement: requestedRetainedAtSettlement },
|
|
24879
|
+
...ownerWorkspaceRetention === void 0 ? {} : { ownerWorkspaceRetention },
|
|
24815
24880
|
...interactiveBindingDir === void 0 ? {} : { interactiveBindingDir }
|
|
24816
24881
|
}
|
|
24817
24882
|
}, "supervisor.run");
|
|
@@ -24923,7 +24988,7 @@ function createSupervisor() {
|
|
|
24923
24988
|
journal,
|
|
24924
24989
|
blobs: opts.blobs,
|
|
24925
24990
|
executors: opts.executors,
|
|
24926
|
-
seams: {},
|
|
24991
|
+
seams: { [retainedOwnerWorkspaceRetentionSeamKey]: ownerWorkspaceRetention === true },
|
|
24927
24992
|
depth: 0,
|
|
24928
24993
|
maxDepth: opts.maxDepth ?? defaultMaxDepth,
|
|
24929
24994
|
...opts.maxLiveWorkers !== void 0 ? { maxLiveWorkers: opts.maxLiveWorkers } : {},
|
|
@@ -25428,4 +25493,4 @@ function isNonEmptySpend(s) {
|
|
|
25428
25493
|
//#endregion
|
|
25429
25494
|
export { startRetainedInteractiveRun as $, withBudgetResources as $i, contentAddress as $n, writeAllBytes as $r, isPeerMailEnvelope as $t, validateWaitSpec as A, mapSandboxEvent as Ai, providerAsSandboxClient as An, localHarnessExecutable as Ar, workerTraceAnalysisStore as At, SPAWN_RESOURCE_PATH_MAX_BYTES as B, hasCompleteCacheBreakdown as Bi, startRetainedRun as Bn, promptControlProfileMaterialization as Br, workerTraceEnv as Bt, restoreScopeOwnerAcceptedExecution as C, readSandboxOutcome as Ci, routerBrain as Cn, runWorktreeHarness as Cr, materializeTreeView as Ct, isWaitOutcome as D, createSandboxUsageLedger as Di, DEFAULT_SANDBOX_IDLE_TIMEOUT_SECONDS as Dn, DEFAULT_LOCAL_HARNESS as Dr, captureWorkerTraceEvidence as Dt, createWaitProbes as E, createSandboxToolPartState as Ei, observedModelMatchesDeclared as En, removeWorktree as Er, WORKER_TOOL_TRACE_SCHEMA_VERSION as Et, prepareScopeRetainedOwnerTask as F, sumSandboxUsage as Fi, sandboxSessionTraceSource as Fn, assertProfileMaterialization as Fr, newUsageTotals as Ft, readWorkerInteractiveAdmissions as G, stringifySafe as Gi, linkAbort as Gn, renderUnsupported as Gr, createActivityLog as Gt, hostDirectoryReader as H, promptCacheTokenClasses as Hi, retainedCreateMaterial as Hn, promptOnlyProfileMaterialization as Hr, workerTraceSeamKey as Ht, scopeRetainedOwnerContext as I, addSpend as Ii, registerRetainedExecutorPreparation as In, controlProfileMaterialization as Ir, spendFromUsageEvents as It, readWorkerInteractiveBinding as J, unmeteredSpend as Ji, defaultRedactorIdentityMaterial as Jn, validateProfileMaterialization as Jr, AUTHORITY_MARKERS as Jt, workerInteractiveAdmissionFile as K, throwAbort as Ki, runAbortable as Kn, sandboxActProfileMaterialization as Kr, readWorkerProgress as Kt, scopeRetainedOwnerPriorSpend as L, chargedTokens as Li, retainedExecutorSeamKey as Ln, defineProfileMaterializationContract as Lr, spendFromUsageTotals as Lt, bindScopeRetainedOwnerEnvironmentId as M, notifySandboxEventObserver as Mi, sandboxClientAsProvider as Mn, CodexExecutionDiagnosticError as Mr, assertValidBudget as Mt, bindScopeRetainedOwnerProvider as N, sandboxEventServedBackend as Ni, createPushTraceSource as Nn, terminateProcessTreeAndConfirm as Nr, createBudgetPool as Nt, pollFor as O, extractLlmCallEvent as Oi, createAgentEnvironmentProviderRegistry as On, LOCAL_HARNESSES as Or, isTraceAnalysisStore as Ot, consumeScopeRetainedOwnerResult as P, sandboxProgressEvents as Pi, decodeToolPart as Pn, AGENT_PROFILE_MATERIALIZATION_AXES as Pr, meterUsageEvent as Pt, recoverRetainedInteractiveRun as Q, resourceTelemetry as Qi, persistHarnessTranscript as Qn, readCommittedJsonLines as Qr, createPeerMailbox as Qt, scopeRetainedOwnerResourceReader as R, cloneSpend as Ri, reconnectRetainedRun as Rn, fullProfileMaterialization as Rr, WORKER_TRACE_PROPAGATION as Rt, recordScopeOwnerMaterialization as S, projectSandboxOutcome as Si, readPromptOptions as Sn, runSettledCommand as Sr, loadSpawnForest as St, settledToIteration as T, canonicalStreamEventFromSandboxEvent as Ti, canonicalObservedModelParts as Tn, createWorktree as Tr, replaySpawnTree as Tt, resolveSpawnResourcePaths as U, randomSuffix as Ui, RunCancellationReason as Un, promptResourceProfileMaterialization as Ur, taskToPrompt as Ut, environmentReader as V, isAbortError$2 as Vi, startRetainedRunInEnvironment as Vn, promptModelProfileMaterialization as Vr, workerTraceHeaders as Vt, interactiveAdmissionSeamKey as W, sleep as Wi, abortError as Wn, renderProfileMaterializationIssues as Wr, DEFAULT_STALL_AFTER_MS as Wt, workerInteractiveBindingsDir as X, zeroSpend as Xi, captureHarnessTranscript as Xn, isNoEntError as Xr, PEER_MAIL_WIRE_KEY as Xt, workerInteractiveBindingFile as Y, withTimeout as Yi, resolveRedactor as Yn, worktreeCliProfileMaterialization as Yr, DEFAULT_PEER_MAIL_LIMITS as Yt, reconnectRetainedInteractiveRun as Z, addResourceSpend as Zi, harnessTranscriptArtifact as Zn, prepareJsonlAppend as Zr, claimsAuthority as Zt, beginScopeOwnerAttempt as _, unknownMaterializationReceipt as _i, runAgentRounds as _n, createRuntimeEventCollector as _r, FileResultBlobStore as _t, pickBestDelivered as a, teardownExecutor as aa, knownExecutionBindingReceipt as ai, bridgeAdmissionRefusal as an, buildLoopOtelSpans as ar, rollingDispatch as at, meterRuntimeOwnedAccounting as b, detachedFrozen as bi, acquireSandbox as bn, sanitizeKnowledgeReadinessReport as br, InMemorySpawnJournal as bt, DriverAttemptsExhaustedError as c, providerMessageText as ca, providerAttemptEvidence as ci, createCodexRolloutStoreReader as cn, createOpenInferenceFileExporter as cr, cliInPlaceExecutor as ct, defaultUnmetContractSteer as d, runtimeOwnedExecutorExecutionBinding as di, bridgeRuntimeAttachmentsKey as dn, flatOtelSpan as dr, createExecutorRegistry as dt, decodeHarnessUsage as ea, attestRuntimeOwnedPendingExecutor as ei, peerMailTools as en, createPropagatingTraceEmitter as er, destroyInteractiveEnvironment as et, runDriverWithRetry as f, runtimeOwnedExecutorMaterialization as fi, bridgeStopSignalKey as fn, generateSpanId as fr, snapshotExecutorConfig as ft, withDriverExecutor as g, unknownExecutionBindingReceipt as gi, isTerminalDecision as gn, toOtelAttributes as gr, createInPlaceCliExecutor as gt, isDriverSpec as h, runtimeOwnedScopeOwnerRuntime as hi, defaultSelectWinner as hn, padTraceId as hr, createSteerableSandboxSession as ht, collectDelivered as i, armDeadlineTimer as ia, inheritRuntimeOwnedExecutorAttestation as ii, executorFailure as in, INTELLIGENCE_WIRE_VERSION as ir, queueOf as it, waitUntil as j, mapSandboxToolEvent as ji, resolveAgentEnvironmentProvider as jn, parseCodexTokenUsage as jr, BudgetReconcileFault as jt, timerAt as k, isSandboxTerminalEvent as ki, providerAsExecutor as kn, harnessSupportsReasoningEffort as kr, parseWorkerToolTraceArtifact as kt, HarnessTurnFailedError as l, recordRuntimeOwnedDriveHarnessProviderEvidence as li, harnessUsageIsEmpty as ln, createOtelExporter as lr, cliWorktreeExecutor as lt, driverExecutorFactory as m, runtimeOwnedPendingExecutorMaterialization as mi, createSandboxForSpec as mn, padSpanId as mr, DEFAULT_SANDBOX_STEERING_MAX_TURNS as mt, createSupervisor as n, awaitAbortable$1 as na, authoredProfileDigest as ni, isLiveNodeStatus as nn, readTraceContextFromEnv as nr, effectiveConcurrency as nt, runFinalizer as o, promptFromAgentTurnInput as oa, knownMaterializationReceipt as oi, bridgeModelRouteRefusal as on, buildLoopSpanNodes as or, bindReusableExecutorExecutionId as ot, driverChild as p, runtimeOwnedExecutorProviderEvidence as pi, TERMINAL_DECISIONS as pn, loopEventToOtelSpan as pr, createWorktreeCliExecutor as pt, attachWorker as q, throwIfAborted as qi, defaultRedactor as qn, unsupportedProfileDimensions as qr, createInbox as qt, bestDelivered as r, DEFAULT_SUCCESSFUL_SHUTDOWN_MS as ra, finalizeRuntimeOwnedPendingExecutor as ri, isTerminalNodeStatus as rn, traceContextToEnv as rr, freeSlots as rt, runTree as s, promptOptionsFromAgentTurnInput as sa, newExecutionAttemptId as si, addHarnessUsage as sn, buildRuntimeEventOtelSpans as sr, captureReusableExecutorConfig as st, createRootHandle as t, abortError$2 as ta, attestRuntimeOwnedScopeOwner as ti, peerMailVerbNames as tn, mergeTraceEnv as tr, errMessage as tt, classifyDriverFailure as u, runtimeOwnedDriveHarnessProviderEvidence as ui, readCodexRolloutSession as un, exportEvalRuns as ur, createExecutor as ut, createScope as v, executableAgentProfileSnapshot as vi, createSandboxLineage as vn, createRuntimeStreamEventCollector as vr, FileSpawnJournal as vt, scopeOwnerExecutorNodeContext as w, assertSandboxServedModel as wi, runBrainLoop as wn, captureWorktreeDiff as wr, pendingWaits as wt, meterRuntimeOwnedProviderAttempt as x, detachedSnapshot as xi, assertBoxlessPromptOptions as xn, sanitizeRuntimeStreamEvent as xr, insideCursorNamespace as xt, deriveNodeExecutionIdentity as y, executableAgentSpecSnapshot as yi, probeSandboxCapabilities as yn, sanitizeAgentRuntimeEvent as yr, InMemoryResultBlobStore as yt, scopeRetainedOwnerResult as z, deleteBoxSafe as zi, recoverRetainedRun as zn, profileMaterializationAxes$1 as zr, readWorkerTraceContext as zt };
|
|
25430
25495
|
|
|
25431
|
-
//# sourceMappingURL=supervisor-
|
|
25496
|
+
//# sourceMappingURL=supervisor-BlDW3u0y.js.map
|