@tangle-network/agent-runtime 0.292.3 → 0.292.6
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 +12 -0
- package/dist/{activation-Cer3QjGB.js → activation-BZ-umWjG.js} +2 -2
- package/dist/{activation-Cer3QjGB.js.map → activation-BZ-umWjG.js.map} +1 -1
- package/dist/agent.js +2 -2
- package/dist/{coordination-driver-CoTfoTNv.js → coordination-driver-CqiRHR2l.js} +2 -2
- package/dist/{coordination-driver-CoTfoTNv.js.map → coordination-driver-CqiRHR2l.js.map} +1 -1
- package/dist/{delegate-CaeK1_xI.js → delegate-DJCE2ZhK.js} +2 -2
- package/dist/{delegate-CaeK1_xI.js.map → delegate-DJCE2ZhK.js.map} +1 -1
- package/dist/durable.js +2 -2
- package/dist/{graph-tfXugm_A.js → graph-CG7-lOIo.js} +4 -4
- package/dist/{graph-tfXugm_A.js.map → graph-CG7-lOIo.js.map} +1 -1
- package/dist/{improvement-cycle-CeX2I_TB.js → improvement-cycle-B3b8Oae0.js} +3 -3
- package/dist/{improvement-cycle-CeX2I_TB.js.map → improvement-cycle-B3b8Oae0.js.map} +1 -1
- package/dist/index.js +7 -7
- package/dist/intelligence.js +4 -4
- package/dist/kernel.d.ts +2 -1
- package/dist/kernel.js +10 -9
- package/dist/{loop-runner-bin-BI2JSnjR.js → loop-runner-bin-CcncMO2l.js} +3 -3
- package/dist/{loop-runner-bin-BI2JSnjR.js.map → loop-runner-bin-CcncMO2l.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-DBIKsI2A.js → provision-supervisor-BTrCvYKM.js} +3 -3
- package/dist/{provision-supervisor-DBIKsI2A.js.map → provision-supervisor-BTrCvYKM.js.map} +1 -1
- package/dist/{runtime-DDSzPHdr.js → runtime-BfM4ejI3.js} +8 -8
- package/dist/{runtime-DDSzPHdr.js.map → runtime-BfM4ejI3.js.map} +1 -1
- package/dist/{search-method-BbplGQmw.js → search-method-DeoVugYO.js} +2 -2
- package/dist/{search-method-BbplGQmw.js.map → search-method-DeoVugYO.js.map} +1 -1
- package/dist/{server-D3WeSX4C.js → server-DI9zFi9V.js} +3 -3
- package/dist/{server-D3WeSX4C.js.map → server-DI9zFi9V.js.map} +1 -1
- package/dist/{supervise-SCAuJ1Pj.js → supervise-Cap1EaUi.js} +3 -3
- package/dist/{supervise-SCAuJ1Pj.js.map → supervise-Cap1EaUi.js.map} +1 -1
- package/dist/{supervisor-B8uT95S1.js → supervisor-CbD8mnKd.js} +92 -58
- package/dist/supervisor-CbD8mnKd.js.map +1 -0
- package/dist/task-queue-0fKkoweu.d.ts +35 -0
- package/dist/task-queue.d.ts +2 -0
- package/dist/task-queue.js +50 -0
- package/dist/task-queue.js.map +1 -0
- package/dist/testing.js +12 -12
- package/dist/tui/index.js +1 -1
- package/package.json +9 -4
- package/dist/supervisor-B8uT95S1.js.map +0 -1
|
@@ -1,4 +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 { runTaskQueue } from "./task-queue.js";
|
|
2
3
|
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";
|
|
3
4
|
import { S as verifyWorkspaceSnapshotArtifacts, i as verifyAgentCandidateWorkspaceArchive } from "./workspace-archive-MhowMCmp.js";
|
|
4
5
|
import { n as assertNoSymlinkDescendant, r as publishExclusiveDurableFile } from "./durable-file-DWQA4ooo.js";
|
|
@@ -35,6 +36,7 @@ function freshTurnInput(input, runtime) {
|
|
|
35
36
|
...input.prompt === void 0 ? {} : { prompt: input.prompt },
|
|
36
37
|
...input.parts === void 0 ? {} : { parts: input.parts },
|
|
37
38
|
...input.model === void 0 ? {} : { model: input.model },
|
|
39
|
+
...input.profile === void 0 ? {} : { profile: input.profile },
|
|
38
40
|
...input.timeoutMs === void 0 ? {} : { timeoutMs: input.timeoutMs },
|
|
39
41
|
...input.context === void 0 ? {} : { context: input.context },
|
|
40
42
|
...input.interactions === void 0 ? {} : { interactions: input.interactions },
|
|
@@ -54,8 +56,11 @@ function promptFromAgentTurnInput(input) {
|
|
|
54
56
|
}
|
|
55
57
|
/** Project canonical turn controls onto the Sandbox prompt options once. */
|
|
56
58
|
function promptOptionsFromAgentTurnInput(input) {
|
|
59
|
+
const providerBackend = input.providerOptions?.backend && typeof input.providerOptions.backend === "object" && !Array.isArray(input.providerOptions.backend) ? input.providerOptions.backend : void 0;
|
|
60
|
+
if (input.profile !== void 0 && providerBackend?.profile !== void 0 && canonicalAgentProfileDigest(input.profile) !== canonicalAgentProfileDigest(providerBackend.profile)) throw Object.assign(/* @__PURE__ */ new Error("provider turn contains conflicting AgentProfiles"), { name: "ValidationError" });
|
|
57
61
|
const backend = {
|
|
58
|
-
...
|
|
62
|
+
...providerBackend ?? {},
|
|
63
|
+
...input.profile === void 0 ? {} : { profile: input.profile },
|
|
59
64
|
...input.interactions === void 0 ? {} : { interactions: input.interactions }
|
|
60
65
|
};
|
|
61
66
|
const runControlRef = input.controlRef === void 0 ? void 0 : AgentExactRunControlRefSchema.parse(input.controlRef);
|
|
@@ -1093,25 +1098,22 @@ function addTokenUsage(acc, delta) {
|
|
|
1093
1098
|
* the loop's concurrency bound instead of firing all N at once.
|
|
1094
1099
|
*/
|
|
1095
1100
|
async function mapWithConcurrency(items, limit, fn) {
|
|
1096
|
-
const bound = Math.max(1, Math.floor(limit));
|
|
1097
1101
|
const results = new Array(items.length);
|
|
1098
1102
|
let next = 0;
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
const
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
}
|
|
1113
|
-
const workerCount = Math.min(bound, items.length);
|
|
1114
|
-
await Promise.all(Array.from({ length: workerCount }, () => worker()));
|
|
1103
|
+
for await (const settled of runTaskQueue({
|
|
1104
|
+
concurrency: Math.max(1, Math.min(Math.floor(limit), items.length)),
|
|
1105
|
+
take: () => {
|
|
1106
|
+
const index = next++;
|
|
1107
|
+
return index < items.length ? {
|
|
1108
|
+
id: String(index),
|
|
1109
|
+
value: index
|
|
1110
|
+
} : void 0;
|
|
1111
|
+
},
|
|
1112
|
+
execute: ({ value: index }) => fn(items[index], index)
|
|
1113
|
+
})) {
|
|
1114
|
+
if (settled.status === "rejected") throw settled.reason;
|
|
1115
|
+
results[settled.task.value] = settled.value;
|
|
1116
|
+
}
|
|
1115
1117
|
return results;
|
|
1116
1118
|
}
|
|
1117
1119
|
//#endregion
|
|
@@ -7462,6 +7464,7 @@ function retainedTurnMaterial(input, contextTransfer) {
|
|
|
7462
7464
|
...input.prompt === void 0 ? {} : { prompt: input.prompt },
|
|
7463
7465
|
...input.parts === void 0 ? {} : { parts: input.parts },
|
|
7464
7466
|
...input.model === void 0 ? {} : { model: input.model },
|
|
7467
|
+
...input.profile === void 0 ? {} : { profileDigest: canonicalAgentProfileDigest(input.profile) },
|
|
7465
7468
|
...input.timeoutMs === void 0 ? {} : { timeoutMs: input.timeoutMs },
|
|
7466
7469
|
...input.context === void 0 ? {} : { context: input.context },
|
|
7467
7470
|
...input.interactions === void 0 ? {} : { interactions: input.interactions },
|
|
@@ -7511,6 +7514,12 @@ async function startRetainedRun(options) {
|
|
|
7511
7514
|
assertStableText(identity.sessionId, "retained session id");
|
|
7512
7515
|
assertStableText(identity.executionId, "retained execution id");
|
|
7513
7516
|
const contextTransfer = retainedContextTransfer(options.turn.contextTransfer);
|
|
7517
|
+
AgentTurnInputSchema.parse(freshTurnInput(options.turn, {
|
|
7518
|
+
turnId: options.turn.turnId,
|
|
7519
|
+
detach: true,
|
|
7520
|
+
...identity,
|
|
7521
|
+
contextTransfer
|
|
7522
|
+
}));
|
|
7514
7523
|
if (!options.provider.get) throw new Error(`provider "${options.provider.name}" cannot reconstruct an environment by id`);
|
|
7515
7524
|
const intent = retainedRunIntent(options, identity, contextTransfer);
|
|
7516
7525
|
if (options.intent === void 0) await admitDurably(options.onAdmission, intent);
|
|
@@ -7586,6 +7595,12 @@ async function startRetainedRunInEnvironment(options) {
|
|
|
7586
7595
|
if (typeof options.onAdmission !== "function") throw new Error("startRetainedRunInEnvironment requires an awaited onAdmission durability hook");
|
|
7587
7596
|
const identity = options.identity ?? mintRetainedIdentity(options.environment.idempotencyKey, options.turn.turnId);
|
|
7588
7597
|
const contextTransfer = retainedContextTransfer(options.turn.contextTransfer);
|
|
7598
|
+
AgentTurnInputSchema.parse(freshTurnInput(options.turn, {
|
|
7599
|
+
turnId: options.turn.turnId,
|
|
7600
|
+
detach: true,
|
|
7601
|
+
...identity,
|
|
7602
|
+
contextTransfer
|
|
7603
|
+
}));
|
|
7589
7604
|
const providerCapabilities = await assertRetainedCapabilities(options.provider);
|
|
7590
7605
|
if (!options.provider.get) throw new Error(`provider "${options.provider.name}" cannot reconstruct an environment by id`);
|
|
7591
7606
|
const environment = await options.provider.get(options.environment.id);
|
|
@@ -11280,8 +11295,21 @@ async function* streamProviderExecutor(args) {
|
|
|
11280
11295
|
} else if (input > 0 || output > 0 || receipt.tokensKnown === false) pendingUnpricedWork = true;
|
|
11281
11296
|
}
|
|
11282
11297
|
}
|
|
11298
|
+
/** Subscription selection needs the same complete profile on creation and every new turn. */
|
|
11299
|
+
function subscriptionTurnProfile(turn, profile) {
|
|
11300
|
+
if (profile.model?.metadata?.credentialSource !== "subscription") return turn;
|
|
11301
|
+
const backend = promptOptionsFromAgentTurnInput(turn).backend ?? {};
|
|
11302
|
+
const digest = canonicalAgentProfileDigest(profile);
|
|
11303
|
+
if (turn.profile !== void 0 && canonicalAgentProfileDigest(turn.profile) !== digest || backend.profile !== void 0 && canonicalAgentProfileDigest(backend.profile) !== digest) throw new ValidationError("provider subscription turn cannot replace its exact AgentProfile");
|
|
11304
|
+
return {
|
|
11305
|
+
...turn,
|
|
11306
|
+
profile
|
|
11307
|
+
};
|
|
11308
|
+
}
|
|
11283
11309
|
/** One retained dispatch owns creation, replay, result identity, and cancellation. */
|
|
11284
11310
|
async function providerExecutionSource(args, turn, signal) {
|
|
11311
|
+
const selectedTurn = subscriptionTurnProfile(turn, args.profile);
|
|
11312
|
+
AgentTurnInputSchema.parse(selectedTurn);
|
|
11285
11313
|
const capabilities = args.retention ? await args.provider.capabilities() : void 0;
|
|
11286
11314
|
if (!(args.retention !== void 0 && capabilities?.retainedControl !== void 0)) {
|
|
11287
11315
|
if (args.recovering) throw new Error(`provider ${args.provider.name} cannot recover retained executions`);
|
|
@@ -11292,7 +11320,7 @@ async function providerExecutionSource(args, turn, signal) {
|
|
|
11292
11320
|
});
|
|
11293
11321
|
return {
|
|
11294
11322
|
environment,
|
|
11295
|
-
events: environment.stream(
|
|
11323
|
+
events: environment.stream(selectedTurn),
|
|
11296
11324
|
retained: false
|
|
11297
11325
|
};
|
|
11298
11326
|
}
|
|
@@ -11321,7 +11349,7 @@ async function providerExecutionSource(args, turn, signal) {
|
|
|
11321
11349
|
signal
|
|
11322
11350
|
},
|
|
11323
11351
|
turn: {
|
|
11324
|
-
...
|
|
11352
|
+
...selectedTurn,
|
|
11325
11353
|
turnId
|
|
11326
11354
|
},
|
|
11327
11355
|
...priorSession === void 0 ? {} : {
|
|
@@ -11339,7 +11367,20 @@ async function providerExecutionSource(args, turn, signal) {
|
|
|
11339
11367
|
const environmentAdmission = admissions.find((admission) => admission.phase === "environment");
|
|
11340
11368
|
if (args.recovering && admissions.length > 0) {
|
|
11341
11369
|
if (!intent) throw new Error("retained provider execution has no original intent");
|
|
11342
|
-
|
|
11370
|
+
try {
|
|
11371
|
+
assertRetainedRunReplayMaterial(args.provider, material, intent);
|
|
11372
|
+
} catch (error) {
|
|
11373
|
+
if (selectedTurn === turn) throw error;
|
|
11374
|
+
const original = {
|
|
11375
|
+
...material,
|
|
11376
|
+
turn: {
|
|
11377
|
+
...turn,
|
|
11378
|
+
turnId
|
|
11379
|
+
}
|
|
11380
|
+
};
|
|
11381
|
+
assertRetainedRunReplayMaterial(args.provider, original, intent);
|
|
11382
|
+
material.turn = original.turn;
|
|
11383
|
+
}
|
|
11343
11384
|
}
|
|
11344
11385
|
let handle;
|
|
11345
11386
|
if (args.recovering && dispatched?.phase === "dispatched") {
|
|
@@ -14033,37 +14074,20 @@ async function runBatch(args) {
|
|
|
14033
14074
|
task,
|
|
14034
14075
|
index: args.baseIndex + offset
|
|
14035
14076
|
}));
|
|
14036
|
-
|
|
14037
|
-
|
|
14038
|
-
|
|
14039
|
-
|
|
14040
|
-
|
|
14041
|
-
|
|
14042
|
-
|
|
14043
|
-
|
|
14044
|
-
|
|
14045
|
-
|
|
14046
|
-
|
|
14047
|
-
|
|
14048
|
-
|
|
14049
|
-
|
|
14050
|
-
if (inflight.size === 0) break;
|
|
14051
|
-
try {
|
|
14052
|
-
await Promise.race(inflight);
|
|
14053
|
-
} catch (err) {
|
|
14054
|
-
if (firstError === void 0) firstError = err;
|
|
14055
|
-
queue.length = 0;
|
|
14056
|
-
break;
|
|
14057
|
-
}
|
|
14058
|
-
}
|
|
14059
|
-
} finally {
|
|
14060
|
-
const settled = await Promise.allSettled(started);
|
|
14061
|
-
if (firstError === void 0) {
|
|
14062
|
-
const rejected = settled.find((s) => s.status === "rejected");
|
|
14063
|
-
if (rejected && rejected.status === "rejected") firstError = rejected.reason;
|
|
14064
|
-
}
|
|
14065
|
-
}
|
|
14066
|
-
if (firstError !== void 0) throw firstError;
|
|
14077
|
+
for await (const settled of runTaskQueue({
|
|
14078
|
+
concurrency: Math.max(1, Math.min(Math.ceil(args.maxConcurrency), queue.length)),
|
|
14079
|
+
take: () => {
|
|
14080
|
+
const item = queue.shift();
|
|
14081
|
+
return item === void 0 ? void 0 : {
|
|
14082
|
+
id: String(item.index),
|
|
14083
|
+
value: item
|
|
14084
|
+
};
|
|
14085
|
+
},
|
|
14086
|
+
execute: ({ value: item }) => executeIteration({
|
|
14087
|
+
...args,
|
|
14088
|
+
item
|
|
14089
|
+
})
|
|
14090
|
+
})) if (settled.status === "rejected") throw settled.reason;
|
|
14067
14091
|
}
|
|
14068
14092
|
async function executeIteration(args) {
|
|
14069
14093
|
const slot = args.iterations[args.item.index];
|
|
@@ -23800,9 +23824,9 @@ function createScope(args) {
|
|
|
23800
23824
|
...assignment === void 0 ? {} : { assignment },
|
|
23801
23825
|
label: opts.label,
|
|
23802
23826
|
stage: "admitted"
|
|
23803
|
-
},
|
|
23827
|
+
}, {
|
|
23804
23828
|
wait: true,
|
|
23805
|
-
|
|
23829
|
+
...!recovery && ownerFloor ? { keep: ownerFloor } : {}
|
|
23806
23830
|
});
|
|
23807
23831
|
if (!reservation.ok) return {
|
|
23808
23832
|
ok: false,
|
|
@@ -23834,7 +23858,7 @@ function createScope(args) {
|
|
|
23834
23858
|
throw error;
|
|
23835
23859
|
}
|
|
23836
23860
|
const budgetGranted = reservation.granted;
|
|
23837
|
-
const permit = budgetGranted === void 0 ? slotGroup.acquire(args.depth + 1, { force: recovery !== void 0 }) : deferSlot(budgetGranted, () => slotGroup.acquire(args.depth + 1));
|
|
23861
|
+
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 }));
|
|
23838
23862
|
let cascadeAbort;
|
|
23839
23863
|
let clearChildDeadline;
|
|
23840
23864
|
try {
|
|
@@ -23856,7 +23880,7 @@ function createScope(args) {
|
|
|
23856
23880
|
const deferredOwner = {};
|
|
23857
23881
|
const workerTrace = args.workerTrace?.(args.parentId);
|
|
23858
23882
|
let markRecoveryReady;
|
|
23859
|
-
const recoveryReady = recovery?.spawned.ownedTreeRoot === void 0 ? void 0 : new Promise((resolve) => {
|
|
23883
|
+
const recoveryReady = recovery?.spawned.ownedTreeRoot === void 0 || budgetGranted !== void 0 ? void 0 : new Promise((resolve) => {
|
|
23860
23884
|
markRecoveryReady = resolve;
|
|
23861
23885
|
});
|
|
23862
23886
|
const retainedWrites = /* @__PURE__ */ new Set();
|
|
@@ -26967,6 +26991,14 @@ var HarnessTurnFailedError = class extends Error {
|
|
|
26967
26991
|
}
|
|
26968
26992
|
}
|
|
26969
26993
|
};
|
|
26994
|
+
/** Provider schemas and JSON bounds reject the request deterministically. */
|
|
26995
|
+
function isProviderSchemaRejection(error) {
|
|
26996
|
+
try {
|
|
26997
|
+
return error.name === "ZodError" || error.name === "ValidationError" || Reflect.get(error, "code") === "JSON_BOUND_VIOLATION" || Array.isArray(Reflect.get(error, "issues"));
|
|
26998
|
+
} catch {
|
|
26999
|
+
return false;
|
|
27000
|
+
}
|
|
27001
|
+
}
|
|
26970
27002
|
/**
|
|
26971
27003
|
* The code or status that marks `error` as an upstream capacity refusal, or `undefined`.
|
|
26972
27004
|
*
|
|
@@ -26978,6 +27010,7 @@ function upstreamUnavailableSignal(error) {
|
|
|
26978
27010
|
const admission = retainedAdmissionCause(error);
|
|
26979
27011
|
if (admission !== void 0) return upstreamUnavailableSignal(admission);
|
|
26980
27012
|
if (!(error instanceof Error)) return void 0;
|
|
27013
|
+
if (isProviderSchemaRejection(error)) return void 0;
|
|
26981
27014
|
if (error instanceof CheckUnavailableError) return "check-unavailable";
|
|
26982
27015
|
if (error instanceof HarnessTurnFailedError) return unavailableSignalOfFailure({
|
|
26983
27016
|
error: error.message,
|
|
@@ -27012,6 +27045,7 @@ function classifyDriverFailure(error, signal) {
|
|
|
27012
27045
|
const admission = retainedAdmissionCause(error);
|
|
27013
27046
|
if (admission !== void 0) return classifyDriverFailure(admission, signal);
|
|
27014
27047
|
if (error instanceof Error && errorProperty(error, "name") === "AbortError") return "terminal";
|
|
27048
|
+
if (error instanceof Error && isProviderSchemaRejection(error)) return "terminal";
|
|
27015
27049
|
if (error instanceof HarnessTurnFailedError) {
|
|
27016
27050
|
if (error.errorCode !== void 0 && DETERMINISTIC_BRIDGE_CODES.has(error.errorCode)) return "terminal";
|
|
27017
27051
|
if (isUpstreamUnavailable(error)) return "unavailable";
|
|
@@ -27053,7 +27087,7 @@ function retainedAdmissionCause(error) {
|
|
|
27053
27087
|
if (errorProperty(value, "name") === "RetainedRunProviderContractError") return void 0;
|
|
27054
27088
|
const status = errorHttpStatus(value);
|
|
27055
27089
|
if (status !== void 0 && status >= 400) return error.pendingCause === "request-rejected" || UNAVAILABLE_STATUSES.has(status) ? value : void 0;
|
|
27056
|
-
if (error.pendingCause === "request-rejected" && value instanceof AgentEvalError$1) return value;
|
|
27090
|
+
if (error.pendingCause === "request-rejected" && (value instanceof AgentEvalError$1 || isProviderSchemaRejection(value))) return value;
|
|
27057
27091
|
const members = Reflect.get(value, "errors");
|
|
27058
27092
|
if (Array.isArray(members)) queue.push(...members.slice(0, 12 - steps));
|
|
27059
27093
|
queue.push(value.cause);
|
|
@@ -28482,4 +28516,4 @@ function isNonEmptySpend(s) {
|
|
|
28482
28516
|
//#endregion
|
|
28483
28517
|
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 };
|
|
28484
28518
|
|
|
28485
|
-
//# sourceMappingURL=supervisor-
|
|
28519
|
+
//# sourceMappingURL=supervisor-CbD8mnKd.js.map
|