@tangle-network/agent-runtime 0.292.0 → 0.292.4
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/README.md +6 -0
- package/dist/{activation-Cqj8VNEY.js → activation-DduAWlO4.js} +2 -2
- package/dist/{activation-Cqj8VNEY.js.map → activation-DduAWlO4.js.map} +1 -1
- package/dist/agent.js +2 -2
- package/dist/{coordination-driver-B_eE1omm.js → coordination-driver-BxKWN9p3.js} +2 -2
- package/dist/{coordination-driver-B_eE1omm.js.map → coordination-driver-BxKWN9p3.js.map} +1 -1
- package/dist/{delegate-DiBCqmRo.js → delegate-B0i2bLAX.js} +2 -2
- package/dist/{delegate-DiBCqmRo.js.map → delegate-B0i2bLAX.js.map} +1 -1
- package/dist/durable.js +2 -2
- package/dist/{graph-DRcWEeEZ.js → graph-Dywdsnvg.js} +4 -4
- package/dist/{graph-DRcWEeEZ.js.map → graph-Dywdsnvg.js.map} +1 -1
- package/dist/{improvement-cycle-Dm5zGHc3.js → improvement-cycle-DeJwXvDJ.js} +3 -3
- package/dist/{improvement-cycle-Dm5zGHc3.js.map → improvement-cycle-DeJwXvDJ.js.map} +1 -1
- package/dist/index.js +7 -7
- package/dist/intelligence.js +4 -4
- package/dist/kernel.js +8 -8
- package/dist/{loop-runner-bin-DRkG5Zdm.js → loop-runner-bin-n5Y28zdy.js} +3 -3
- package/dist/{loop-runner-bin-DRkG5Zdm.js.map → loop-runner-bin-n5Y28zdy.js.map} +1 -1
- package/dist/loop-runner-bin.js +1 -1
- package/dist/mcp/bin.js +3 -3
- package/dist/mcp/index.js +4 -4
- package/dist/{provision-supervisor-mFkdGb6H.js → provision-supervisor-sRNHUHo7.js} +3 -3
- package/dist/{provision-supervisor-mFkdGb6H.js.map → provision-supervisor-sRNHUHo7.js.map} +1 -1
- package/dist/{runtime-CJLd9cvo.js → runtime-DudqdOqC.js} +8 -8
- package/dist/{runtime-CJLd9cvo.js.map → runtime-DudqdOqC.js.map} +1 -1
- package/dist/{search-method-DgaXNlJj.js → search-method-DOQPDDDi.js} +2 -2
- package/dist/{search-method-DgaXNlJj.js.map → search-method-DOQPDDDi.js.map} +1 -1
- package/dist/{server-BXSFNE1v.js → server-BtxFscfN.js} +3 -3
- package/dist/{server-BXSFNE1v.js.map → server-BtxFscfN.js.map} +1 -1
- package/dist/{supervise-CrAbE9KL.js → supervise-B4xMCqJk.js} +3 -3
- package/dist/{supervise-CrAbE9KL.js.map → supervise-B4xMCqJk.js.map} +1 -1
- package/dist/{supervisor-B-LtKizU.js → supervisor-BnL7JHEI.js} +115 -16
- package/dist/supervisor-BnL7JHEI.js.map +1 -0
- package/dist/testing.js +12 -12
- package/dist/tui/index.js +1 -1
- package/package.json +2 -1
- package/dist/supervisor-B-LtKizU.js.map +0 -1
|
@@ -11167,7 +11167,8 @@ async function* streamProviderExecutor(args) {
|
|
|
11167
11167
|
workspaceCapture: providerWorkspaceCaptureReceipt(args, environment, retainedWorkspace, turn.sessionId ?? null)
|
|
11168
11168
|
});
|
|
11169
11169
|
} catch (captureError) {
|
|
11170
|
-
failure = captureError
|
|
11170
|
+
if (captureError instanceof Error && captureError !== error) failure = captureError.cause === void 0 ? Object.assign(captureError, { cause: failure }) : new AggregateError([captureError, failure], captureError.message, { cause: captureError });
|
|
11171
|
+
else failure = captureError;
|
|
11171
11172
|
}
|
|
11172
11173
|
args.onHarnessTranscript(await captureHarnessTranscript(environment, args.profile.harness, linked));
|
|
11173
11174
|
} finally {
|
|
@@ -11279,8 +11280,25 @@ async function* streamProviderExecutor(args) {
|
|
|
11279
11280
|
} else if (input > 0 || output > 0 || receipt.tokensKnown === false) pendingUnpricedWork = true;
|
|
11280
11281
|
}
|
|
11281
11282
|
}
|
|
11283
|
+
/** Subscription selection needs the same complete profile on creation and every new turn. */
|
|
11284
|
+
function subscriptionTurnProfile(turn, profile) {
|
|
11285
|
+
if (profile.model?.metadata?.credentialSource !== "subscription") return turn;
|
|
11286
|
+
const backend = promptOptionsFromAgentTurnInput(turn).backend ?? {};
|
|
11287
|
+
if (backend.profile !== void 0 && canonicalAgentProfileDigest(backend.profile) !== canonicalAgentProfileDigest(profile)) throw new ValidationError("provider subscription turn cannot replace its exact AgentProfile");
|
|
11288
|
+
return {
|
|
11289
|
+
...turn,
|
|
11290
|
+
providerOptions: {
|
|
11291
|
+
...turn.providerOptions,
|
|
11292
|
+
backend: {
|
|
11293
|
+
...backend,
|
|
11294
|
+
profile
|
|
11295
|
+
}
|
|
11296
|
+
}
|
|
11297
|
+
};
|
|
11298
|
+
}
|
|
11282
11299
|
/** One retained dispatch owns creation, replay, result identity, and cancellation. */
|
|
11283
11300
|
async function providerExecutionSource(args, turn, signal) {
|
|
11301
|
+
const selectedTurn = subscriptionTurnProfile(turn, args.profile);
|
|
11284
11302
|
const capabilities = args.retention ? await args.provider.capabilities() : void 0;
|
|
11285
11303
|
if (!(args.retention !== void 0 && capabilities?.retainedControl !== void 0)) {
|
|
11286
11304
|
if (args.recovering) throw new Error(`provider ${args.provider.name} cannot recover retained executions`);
|
|
@@ -11291,7 +11309,7 @@ async function providerExecutionSource(args, turn, signal) {
|
|
|
11291
11309
|
});
|
|
11292
11310
|
return {
|
|
11293
11311
|
environment,
|
|
11294
|
-
events: environment.stream(
|
|
11312
|
+
events: environment.stream(selectedTurn),
|
|
11295
11313
|
retained: false
|
|
11296
11314
|
};
|
|
11297
11315
|
}
|
|
@@ -11320,7 +11338,7 @@ async function providerExecutionSource(args, turn, signal) {
|
|
|
11320
11338
|
signal
|
|
11321
11339
|
},
|
|
11322
11340
|
turn: {
|
|
11323
|
-
...
|
|
11341
|
+
...selectedTurn,
|
|
11324
11342
|
turnId
|
|
11325
11343
|
},
|
|
11326
11344
|
...priorSession === void 0 ? {} : {
|
|
@@ -11338,7 +11356,20 @@ async function providerExecutionSource(args, turn, signal) {
|
|
|
11338
11356
|
const environmentAdmission = admissions.find((admission) => admission.phase === "environment");
|
|
11339
11357
|
if (args.recovering && admissions.length > 0) {
|
|
11340
11358
|
if (!intent) throw new Error("retained provider execution has no original intent");
|
|
11341
|
-
|
|
11359
|
+
try {
|
|
11360
|
+
assertRetainedRunReplayMaterial(args.provider, material, intent);
|
|
11361
|
+
} catch (error) {
|
|
11362
|
+
if (selectedTurn === turn) throw error;
|
|
11363
|
+
const original = {
|
|
11364
|
+
...material,
|
|
11365
|
+
turn: {
|
|
11366
|
+
...turn,
|
|
11367
|
+
turnId
|
|
11368
|
+
}
|
|
11369
|
+
};
|
|
11370
|
+
assertRetainedRunReplayMaterial(args.provider, original, intent);
|
|
11371
|
+
material.turn = original.turn;
|
|
11372
|
+
}
|
|
11342
11373
|
}
|
|
11343
11374
|
let handle;
|
|
11344
11375
|
if (args.recovering && dispatched?.phase === "dispatched") {
|
|
@@ -23407,6 +23438,7 @@ const pauseRecorders = /* @__PURE__ */ new WeakMap();
|
|
|
23407
23438
|
const driverAttemptRecorders = /* @__PURE__ */ new WeakMap();
|
|
23408
23439
|
const recoveryStarters = /* @__PURE__ */ new WeakMap();
|
|
23409
23440
|
const retainedReleasers = /* @__PURE__ */ new WeakMap();
|
|
23441
|
+
const childDrains = /* @__PURE__ */ new WeakMap();
|
|
23410
23442
|
const retainedSlotClosers = /* @__PURE__ */ new WeakMap();
|
|
23411
23443
|
const teardownRetriers = /* @__PURE__ */ new WeakMap();
|
|
23412
23444
|
const teardownRetriable = /* @__PURE__ */ new WeakMap();
|
|
@@ -23575,6 +23607,10 @@ function hasRetriableTeardowns(scope, release) {
|
|
|
23575
23607
|
function closeScopeAdmission(scope) {
|
|
23576
23608
|
admissionSeals.get(scope)?.();
|
|
23577
23609
|
}
|
|
23610
|
+
/** Join local observers after abort without requiring a writable settlement journal. */
|
|
23611
|
+
async function waitForScopeChildren(scope) {
|
|
23612
|
+
await childDrains.get(scope)?.();
|
|
23613
|
+
}
|
|
23578
23614
|
/** Fail before execution when a reservation policy is malformed. */
|
|
23579
23615
|
function assertRecursiveReservationPolicy(policy) {
|
|
23580
23616
|
if (policy === void 0) return;
|
|
@@ -23794,9 +23830,9 @@ function createScope(args) {
|
|
|
23794
23830
|
...assignment === void 0 ? {} : { assignment },
|
|
23795
23831
|
label: opts.label,
|
|
23796
23832
|
stage: "admitted"
|
|
23797
|
-
},
|
|
23833
|
+
}, {
|
|
23798
23834
|
wait: true,
|
|
23799
|
-
|
|
23835
|
+
...!recovery && ownerFloor ? { keep: ownerFloor } : {}
|
|
23800
23836
|
});
|
|
23801
23837
|
if (!reservation.ok) return {
|
|
23802
23838
|
ok: false,
|
|
@@ -23828,7 +23864,7 @@ function createScope(args) {
|
|
|
23828
23864
|
throw error;
|
|
23829
23865
|
}
|
|
23830
23866
|
const budgetGranted = reservation.granted;
|
|
23831
|
-
const permit = budgetGranted === void 0 ? slotGroup.acquire(args.depth + 1, { force: recovery !== void 0 }) : deferSlot(budgetGranted, () => slotGroup.acquire(args.depth + 1));
|
|
23867
|
+
const permit = budgetGranted === void 0 ? slotGroup.acquire(args.depth + 1, { force: recovery !== void 0 }) : deferSlot(budgetGranted, () => slotGroup.acquire(args.depth + 1, { force: recovery !== void 0 }));
|
|
23832
23868
|
let cascadeAbort;
|
|
23833
23869
|
let clearChildDeadline;
|
|
23834
23870
|
try {
|
|
@@ -23850,7 +23886,7 @@ function createScope(args) {
|
|
|
23850
23886
|
const deferredOwner = {};
|
|
23851
23887
|
const workerTrace = args.workerTrace?.(args.parentId);
|
|
23852
23888
|
let markRecoveryReady;
|
|
23853
|
-
const recoveryReady = recovery?.spawned.ownedTreeRoot === void 0 ? void 0 : new Promise((resolve) => {
|
|
23889
|
+
const recoveryReady = recovery?.spawned.ownedTreeRoot === void 0 || budgetGranted !== void 0 ? void 0 : new Promise((resolve) => {
|
|
23854
23890
|
markRecoveryReady = resolve;
|
|
23855
23891
|
});
|
|
23856
23892
|
const retainedWrites = /* @__PURE__ */ new Set();
|
|
@@ -24248,7 +24284,7 @@ function createScope(args) {
|
|
|
24248
24284
|
const ready = await readInteractiveReadyUntilWorkerEnds(live.readInteractiveReady, childRun, controller.signal);
|
|
24249
24285
|
if (ready !== void 0 && (ready.status === "available" || ready.reason !== "interactive-session-not-started")) writeWorkerInteractiveBinding(args.interactiveBindingDir, id, opts.label, args.root, ready, now);
|
|
24250
24286
|
});
|
|
24251
|
-
|
|
24287
|
+
const settled = childRun.then(async (s) => {
|
|
24252
24288
|
let resolution = s;
|
|
24253
24289
|
try {
|
|
24254
24290
|
await interactiveBindingCommitted;
|
|
@@ -24262,6 +24298,8 @@ function createScope(args) {
|
|
|
24262
24298
|
clearChildDeadline?.();
|
|
24263
24299
|
if (cascadeAbort) args.signal.removeEventListener("abort", cascadeAbort);
|
|
24264
24300
|
});
|
|
24301
|
+
settled.catch(() => void 0);
|
|
24302
|
+
live.settled = settled;
|
|
24265
24303
|
return {
|
|
24266
24304
|
ok: true,
|
|
24267
24305
|
handle,
|
|
@@ -24610,6 +24648,14 @@ function createScope(args) {
|
|
|
24610
24648
|
};
|
|
24611
24649
|
}
|
|
24612
24650
|
};
|
|
24651
|
+
childDrains.set(scope, async () => {
|
|
24652
|
+
await Promise.allSettled([...children.values()].map((child) => child.settled));
|
|
24653
|
+
await Promise.allSettled([...settlementWrites]);
|
|
24654
|
+
await Promise.all([...children.values()].map(async (child) => {
|
|
24655
|
+
const nested = child.readNestedScope?.();
|
|
24656
|
+
if (nested !== void 0) await waitForScopeChildren(nested);
|
|
24657
|
+
}));
|
|
24658
|
+
});
|
|
24613
24659
|
admissionSeals.set(scope, () => {
|
|
24614
24660
|
admissionClosed = true;
|
|
24615
24661
|
});
|
|
@@ -27477,6 +27523,51 @@ async function runFinalizer(finalizer, args) {
|
|
|
27477
27523
|
return await accepted(candidate) ? candidate : void 0;
|
|
27478
27524
|
}
|
|
27479
27525
|
//#endregion
|
|
27526
|
+
//#region src/runtime/supervise/run-persistence.ts
|
|
27527
|
+
/** One failed store operation revokes this controller's writes, never its retained executions. */
|
|
27528
|
+
function guardRunPersistence(journal, blobs, interrupt) {
|
|
27529
|
+
let failure;
|
|
27530
|
+
const pending = /* @__PURE__ */ new Set();
|
|
27531
|
+
const operation = (perform) => {
|
|
27532
|
+
const result = Promise.resolve().then(async () => {
|
|
27533
|
+
if (failure !== void 0) throw failure;
|
|
27534
|
+
try {
|
|
27535
|
+
return await perform();
|
|
27536
|
+
} catch (cause) {
|
|
27537
|
+
if (failure === void 0) {
|
|
27538
|
+
failure = new RuntimeRunStateError(`supervisor: durable state unavailable; restore storage and resume the same run (${cause instanceof Error ? cause.message : String(cause)})`, { cause });
|
|
27539
|
+
interrupt(failure);
|
|
27540
|
+
}
|
|
27541
|
+
throw failure;
|
|
27542
|
+
}
|
|
27543
|
+
});
|
|
27544
|
+
pending.add(result);
|
|
27545
|
+
result.then(() => pending.delete(result), () => pending.delete(result));
|
|
27546
|
+
return result;
|
|
27547
|
+
};
|
|
27548
|
+
return {
|
|
27549
|
+
journal: {
|
|
27550
|
+
loadTree: (root) => operation(() => journal.loadTree(root)),
|
|
27551
|
+
beginTree: (root, at) => operation(() => journal.beginTree(root, at)),
|
|
27552
|
+
appendEvent: (root, event) => operation(() => journal.appendEvent(root, event)),
|
|
27553
|
+
...journal.appendEvents === void 0 ? {} : { appendEvents: (root, events) => operation(() => journal.appendEvents(root, events)) }
|
|
27554
|
+
},
|
|
27555
|
+
blobs: {
|
|
27556
|
+
get: (ref) => operation(() => blobs.get(ref)),
|
|
27557
|
+
put: (ref, artifact) => operation(() => blobs.put(ref, artifact))
|
|
27558
|
+
},
|
|
27559
|
+
get failed() {
|
|
27560
|
+
return failure !== void 0;
|
|
27561
|
+
},
|
|
27562
|
+
async drain() {
|
|
27563
|
+
await Promise.allSettled([...pending]);
|
|
27564
|
+
},
|
|
27565
|
+
assertAvailable() {
|
|
27566
|
+
if (failure !== void 0) throw failure;
|
|
27567
|
+
}
|
|
27568
|
+
};
|
|
27569
|
+
}
|
|
27570
|
+
//#endregion
|
|
27480
27571
|
//#region src/runtime/supervise/supervisor.ts
|
|
27481
27572
|
/**
|
|
27482
27573
|
*
|
|
@@ -27673,10 +27764,14 @@ function createSupervisor() {
|
|
|
27673
27764
|
const slots = resolveWorkerSlots(workerSlots);
|
|
27674
27765
|
if (teardownConfirmMs !== void 0 && (typeof teardownConfirmMs !== "number" || !Number.isFinite(teardownConfirmMs) || teardownConfirmMs < 0)) throw new ValidationError$1(`supervisor: teardownConfirmMs must be a nonnegative finite number of milliseconds, got ${JSON.stringify(teardownConfirmMs)}`);
|
|
27675
27766
|
if (requestedRetainedAtSettlement !== void 0 && requestedRetainedAtSettlement !== "release" && requestedRetainedAtSettlement !== "keep") throw new ValidationError$1(`supervisor: retainedAtSettlement must be 'release' or 'keep', got ${JSON.stringify(requestedRetainedAtSettlement)}`);
|
|
27767
|
+
const controller = new AbortController();
|
|
27768
|
+
const persistence = guardRunPersistence(journalStore, blobStore, (error) => {
|
|
27769
|
+
controller.abort(error);
|
|
27770
|
+
});
|
|
27676
27771
|
opts = Object.freeze({
|
|
27677
27772
|
...input.options,
|
|
27678
|
-
journal:
|
|
27679
|
-
blobs:
|
|
27773
|
+
journal: persistence.journal,
|
|
27774
|
+
blobs: persistence.blobs,
|
|
27680
27775
|
executors: executorRegistry,
|
|
27681
27776
|
...recoverExecutor ? { recoverExecutor } : {},
|
|
27682
27777
|
...probes === void 0 ? {} : { probes },
|
|
@@ -27755,7 +27850,6 @@ function createSupervisor() {
|
|
|
27755
27850
|
at: runStartedAt
|
|
27756
27851
|
});
|
|
27757
27852
|
}
|
|
27758
|
-
const controller = new AbortController();
|
|
27759
27853
|
let cascadeAborted = false;
|
|
27760
27854
|
const cascadeAbort = (reason) => {
|
|
27761
27855
|
if (controller.signal.aborted) return false;
|
|
@@ -27845,9 +27939,9 @@ function createSupervisor() {
|
|
|
27845
27939
|
const settleGraceMs = !controller.signal.aborted ? boundedSettleGrace(opts.childSettleGraceMs, rootDeadlineAtMs, now) : 0;
|
|
27846
27940
|
try {
|
|
27847
27941
|
teardownUnconfirmed = await drainLiveChildren(openScope, controller, settleGraceMs);
|
|
27848
|
-
if (retainedAtSettlement === "release") teardownUnconfirmed = await releaseRetainedEnvironments(openScope);
|
|
27942
|
+
if (!persistence.failed && retainedAtSettlement === "release") teardownUnconfirmed = await releaseRetainedEnvironments(openScope);
|
|
27849
27943
|
const confirmWindowMs = opts.teardownConfirmMs ?? DEFAULT_TEARDOWN_CONFIRM_MS;
|
|
27850
|
-
const releasing = retainedAtSettlement === "release";
|
|
27944
|
+
const releasing = !persistence.failed && retainedAtSettlement === "release";
|
|
27851
27945
|
if (teardownUnconfirmed.length > 0 && confirmWindowMs > 0 && hasRetriableTeardowns(openScope, releasing)) {
|
|
27852
27946
|
const pending = teardownUnconfirmed;
|
|
27853
27947
|
for (const node of pending) await opts.journal.appendEvent(opts.runId, {
|
|
@@ -27907,7 +28001,7 @@ function createSupervisor() {
|
|
|
27907
28001
|
error
|
|
27908
28002
|
};
|
|
27909
28003
|
}
|
|
27910
|
-
try {
|
|
28004
|
+
if (!persistence.failed) try {
|
|
27911
28005
|
await finalizeScopeOwnerMaterialization(openScope);
|
|
27912
28006
|
} catch (error) {
|
|
27913
28007
|
if (actOutcome?.ok !== false) actOutcome = {
|
|
@@ -27915,10 +28009,15 @@ function createSupervisor() {
|
|
|
27915
28009
|
error
|
|
27916
28010
|
};
|
|
27917
28011
|
}
|
|
28012
|
+
if (persistence.failed) {
|
|
28013
|
+
await waitForScopeChildren(openScope);
|
|
28014
|
+
await persistence.drain();
|
|
28015
|
+
}
|
|
27918
28016
|
executionAborted ||= cascadeAborted;
|
|
27919
28017
|
if (opts.signal) opts.signal.removeEventListener("abort", onCallerAbort);
|
|
27920
28018
|
rootLease?.release();
|
|
27921
28019
|
}
|
|
28020
|
+
persistence.assertAvailable();
|
|
27922
28021
|
const tree = runTree(scope);
|
|
27923
28022
|
const leakedReservations = pool.openReservations();
|
|
27924
28023
|
if (controller.signal.reason instanceof RunCancellationReason) return noWinner();
|
|
@@ -28413,4 +28512,4 @@ function isNonEmptySpend(s) {
|
|
|
28413
28512
|
//#endregion
|
|
28414
28513
|
export { waitUntil as $, projectSandboxOutcome as $i, captureWorkerTraceEvidence as $n, runWorktreeHarness as $r, claimsAuthority as $t, driverExecutorFactory as A, withBudgetResources as Aa, writeAllBytes as Ai, providerAsExecutor as An, mergeTraceEnv as Ar, cliInPlaceExecutor as At, recordScopeOwnerDriverAttempt as B, providerMessageText as Ba, recordRuntimeOwnedDriveHarnessProviderEvidence as Bi, FileResultBlobStore as Bn, createOtelExporter as Br, WORKER_TRACE_PROPAGATION as Bt, createContinuationKeeper as C, throwAbort as Ca, sandboxActProfileMaterialization as Ci, captureBeforeDestroy as Cn, runAbortable as Cr, recoverRetainedInteractiveRun as Ct, passedItems as D, zeroSpend as Da, isNoEntError as Di, runBrainLoop as Dn, readHarnessTranscript as Dr, rollingDispatch as Dt, failedItems as E, withTimeout as Ea, worktreeCliProfileMaterialization as Ei, routerBrain as En, persistHarnessTranscript as Er, queueOf as Et, beginScopeOwnerAttempt as F, armDeadlineTimer as Fa, inheritRuntimeOwnedExecutorAttestation as Fi, createPushTraceSource as Fn, resolveRedactor as Fr, createWorktreeCliExecutor as Ft, settledToIteration as G, runtimeOwnedPendingExecutorMaterialization as Gi, assertContentAddress as Gn, padTraceId as Gr, taskToPrompt as Gt, recordScopeOwnerPause as H, runtimeOwnedExecutorExecutionBinding as Hi, InMemoryResultBlobStore as Hn, generateSpanId as Hr, workerTraceEnv as Ht, createScope as I, teardownExecutor as Ia, knownExecutionBindingReceipt as Ii, decodeToolPart as In, buildLoopOtelSpans as Ir, DEFAULT_SANDBOX_STEERING_MAX_TURNS as It, createWaitProbes as J, unknownMaterializationReceipt as Ji, loadSpawnForest as Jn, createRuntimeStreamEventCollector as Jr, readWorkerProgress as Jt, createWorkerSlots as K, runtimeOwnedScopeOwnerRuntime as Ki, encodeResultBlob as Kn, toOtelAttributes as Kr, DEFAULT_STALL_AFTER_MS as Kt, deriveNodeExecutionIdentity as L, teardownSurfaces as La, knownMaterializationReceipt as Li, sandboxSessionTraceSource as Ln, buildLoopSpanNodes as Lr, createSteerableSandboxSession as Lt, withDriverExecutor as M, abortError$2 as Ma, attestRuntimeOwnedScopeOwner as Mi, resolveAgentEnvironmentProvider as Mn, traceContextToEnv as Mr, createExecutor as Mt, SUBTREE_RESULT_LIMIT as N, awaitAbortable$1 as Na, authoredProfileDigest as Ni, unavailablePauseMs as Nn, defaultRedactor as Nr, createExecutorRegistry as Nt, verdictFromJudgeScore as O, addResourceSpend as Oa, prepareJsonlAppend as Oi, LEAF_CONTINUATION_TASK as On, contentAddress as Or, bindReusableExecutorExecutionId as Ot, assertRecursiveReservationPolicy as P, DEFAULT_SUCCESSFUL_SHUTDOWN_MS as Pa, finalizeRuntimeOwnedPendingExecutor as Pi, unavailableSignalOfFailure as Pn, defaultRedactorIdentityMaterial as Pr, snapshotExecutorConfig as Pt, validateWaitSpec as Q, detachedSnapshot as Qi, WORKER_TOOL_TRACE_SCHEMA_VERSION as Qn, runSettledCommand as Qr, PEER_MAIL_WIRE_KEY as Qt, meterRuntimeOwnedAccounting as R, promptFromAgentTurnInput as Ra, newExecutionAttemptId as Ri, registerRetainedExecutorPreparation as Rn, buildRuntimeEventOtelSpans as Rr, createRouterTranscript as Rt, composeContinuationNote as S, stringifySafe as Sa, renderUnsupported as Si, SandboxEvidenceRetentionError as Sn, linkAbort as Sr, reconnectRetainedInteractiveRun as St, expandQuestions as T, unmeteredSpend as Ta, validateProfileMaterialization as Ti, readPromptOptions as Tn, harnessTranscriptArtifact as Tr, freeSlots as Tt, restoreScopeOwnerAcceptedExecution as U, runtimeOwnedExecutorMaterialization as Ui, InMemorySpawnJournal as Un, loopEventToOtelSpan as Ur, workerTraceHeaders as Ut, recordScopeOwnerMaterialization as V, runtimeOwnedDriveHarnessProviderEvidence as Vi, FileSpawnJournal as Vn, flatOtelSpan as Vr, readWorkerTraceContext as Vt, scopeOwnerExecutorNodeContext as W, runtimeOwnedExecutorProviderEvidence as Wi, SpawnEventIndex as Wn, padSpanId as Wr, workerTraceSeamKey as Wt, pollFor as X, executableAgentSpecSnapshot as Xi, pendingWaits as Xn, sanitizeKnowledgeReadinessReport as Xr, AUTHORITY_MARKERS as Xt, isWaitOutcome as Y, executableAgentProfileSnapshot as Yi, materializeTreeView as Yn, sanitizeAgentRuntimeEvent as Yr, createInbox as Yt, timerAt as Z, detachedFrozen as Zi, replaySpawnTree as Zn, sanitizeRuntimeStreamEvent as Zr, DEFAULT_PEER_MAIL_LIMITS as Zt, CheckUnavailableError as _, hasCompleteCacheBreakdown as _a, promptControlProfileMaterialization as _i, isTerminalDecision as _n, retainedCreateMaterial as _r, workerInteractiveAdmissionFile as _t, collectDelivered as a, extractLlmCallEvent as aa, harnessInvocation as ai, isTerminalNodeStatus as an, ReservationWaitRefused as ar, reconcileScopeRetainedOwnerEnvironment as at, bestComposite as b, randomSuffix as ba, promptResourceProfileMaterialization as bi, probeSandboxCapabilities as bn, RunCancellationReason as br, workerInteractiveBindingFile as bt, runTree as c, mapSandboxToolEvent as ca, parseCodexTokenUsage as ci, addHarnessUsage as cn, meterUsageEvent as cr, scopeRetainedOwnerResourceReader as ct, classifyDriverFailure as d, sandboxProgressEvents as da, AGENT_PROFILE_MATERIALIZATION_AXES as di, readCodexRolloutSession as dn, spendFromUsageTotals as dr, SPAWN_RESOURCE_PATH_MAX_BYTES as dt, readSandboxOutcome as ea, captureWorktreeDiff as ei, createPeerMailbox as en, isTraceAnalysisStore as er, bindScopeRetainedOwnerEnvironmentId as et, runDriverWithRetry as f, sumSandboxUsage as fa, assertProfileMaterialization as fi, bridgeRuntimeAttachmentsKey as fn, errMessage as fr, environmentReader as ft, CONTINUATION_FACTS as g, deleteBoxSafe as ga, profileMaterializationAxes$1 as gi, defaultSelectWinner as gn, startRetainedRunInEnvironment as gr, readWorkerInteractiveAdmissions as gt, CONTINUATIONS_DIR as h, cloneSpend as ha, fullProfileMaterialization as hi, createSandboxForSpec as hn, startRetainedRun as hr, interactiveAdmissionSeamKey as ht, bestDelivered as i, createSandboxUsageLedger as ia, LOCAL_HARNESSES as ii, isLiveNodeStatus as in, BudgetReconcileFault as ir, prepareScopeRetainedOwnerTask as it, isDriverSpec as j, decodeHarnessUsage as ja, attestRuntimeOwnedPendingExecutor as ji, providerAsSandboxClient as jn, readTraceContextFromEnv as jr, cliWorktreeExecutor as jt, driverChild as k, resourceTelemetry as ka, readCommittedJsonLines as ki, createAgentEnvironmentProviderRegistry as kn, createPropagatingTraceEmitter as kr, captureReusableExecutorConfig as kt, DriverAttemptsExhaustedError as l, notifySandboxEventObserver as la, CodexExecutionDiagnosticError as li, createCodexRolloutStoreReader as ln, newUsageTotals as lr, scopeRetainedOwnerRestorePoint as lt, upstreamUnavailableSignal as m, chargedTokens as ma, defineProfileMaterializationContract as mi, TERMINAL_DECISIONS as mn, recoverRetainedRun as mr, resolveSpawnResourcePaths as mt, createRootHandle as n, canonicalStreamEventFromSandboxEvent as na, removeWorktree as ni, peerMailTools as nn, workerTraceAnalysisStore as nr, consumeScopeRetainedOwnerResult as nt, pickBestDelivered as o, isSandboxTerminalEvent as oa, harnessSupportsReasoningEffort as oi, bridgeAdmissionRefusal as on, assertValidBudget as or, scopeRetainedOwnerContext as ot, summarizeDriverAttempts as p, addSpend as pa, controlProfileMaterialization as pi, bridgeStopSignalKey as pn, reconnectRetainedRun as pr, hostDirectoryReader as pt, openSlotGroup as q, unknownExecutionBindingReceipt as qi, insideCursorNamespace as qn, createRuntimeEventCollector as qr, createActivityLog as qt, createSupervisor as r, createSandboxToolPartState as ra, DEFAULT_LOCAL_HARNESS as ri, peerMailVerbNames as rn, executorFailure as rr, noteScopeRetainedOwnerCoordination as rt, runFinalizer as s, mapSandboxEvent as sa, localHarnessExecutable as si, bridgeModelRouteRefusal as sn, createBudgetPool as sr, scopeRetainedOwnerPriorSpend as st, DEFAULT_MAX_DEPTH as t, assertSandboxServedModel as ta, createWorktree as ti, isPeerMailEnvelope as tn, parseWorkerToolTraceArtifact as tr, bindScopeRetainedOwnerProvider as tt, HarnessTurnFailedError as u, sandboxEventServedBackend as ua, terminateProcessTreeAndConfirm as ui, harnessUsageIsEmpty as un, spendFromUsageEvents as ur, scopeRetainedOwnerResult as ut, admitContinuationPolicy as v, isAbortError$2 as va, promptModelProfileMaterialization as vi, runAgentRounds as vn, destroyInteractiveEnvironment as vr, attachWorker as vt, distillFindings as w, throwIfAborted as wa, unsupportedProfileDimensions as wi, assertBoxlessPromptOptions as wn, captureHarnessTranscript as wr, startRetainedInteractiveRun as wt, checkVerdictOf as x, sleep as xa, renderProfileMaterializationIssues as xi, acquireSandbox as xn, abortError as xr, workerInteractiveBindingsDir as xt, admitFinding as y, promptCacheTokenClasses as ya, promptOnlyProfileMaterialization as yi, createSandboxLineage as yn, environmentGone as yr, readWorkerInteractiveBinding as yt, meterRuntimeOwnedProviderAttempt as z, promptOptionsFromAgentTurnInput as za, providerAttemptEvidence as zi, retainedExecutorSeamKey as zn, createOpenInferenceFileExporter as zr, createInPlaceCliExecutor as zt };
|
|
28415
28514
|
|
|
28416
|
-
//# sourceMappingURL=supervisor-
|
|
28515
|
+
//# sourceMappingURL=supervisor-BnL7JHEI.js.map
|