@tangle-network/agent-runtime 0.288.0 → 0.289.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-BkV764Zd.d.ts → activation-BH2oPn09.d.ts} +2 -2
- package/dist/{activation-DxeYsJ_d.js → activation-LtjekQoy.js} +2 -2
- package/dist/{activation-DxeYsJ_d.js.map → activation-LtjekQoy.js.map} +1 -1
- package/dist/agent.d.ts +1 -1
- package/dist/agent.js +2 -2
- package/dist/{coordination-driver-DpdpPon7.js → coordination-driver-DyiP0EjT.js} +2 -2
- package/dist/{coordination-driver-DpdpPon7.js.map → coordination-driver-DyiP0EjT.js.map} +1 -1
- package/dist/{delegate-CKmKw7Jx.js → delegate-DG4mL_CP.js} +2 -2
- package/dist/{delegate-CKmKw7Jx.js.map → delegate-DG4mL_CP.js.map} +1 -1
- package/dist/durable.d.ts +1 -1
- package/dist/durable.js +2 -2
- package/dist/{graph-jaIFIblc.js → graph-C2s81zTq.js} +4 -4
- package/dist/{graph-jaIFIblc.js.map → graph-C2s81zTq.js.map} +1 -1
- package/dist/{improvement-cycle-AzMyQTUA.js → improvement-cycle-CQNxlLeK.js} +3 -3
- package/dist/{improvement-cycle-AzMyQTUA.js.map → improvement-cycle-CQNxlLeK.js.map} +1 -1
- package/dist/{index-Tzd4_vIu.d.ts → index-w7xjlAcL.d.ts} +2 -2
- package/dist/index.d.ts +4 -4
- package/dist/index.js +7 -7
- package/dist/intelligence.d.ts +2 -2
- package/dist/intelligence.js +4 -4
- package/dist/kernel.d.ts +2 -2
- package/dist/kernel.js +8 -8
- package/dist/{loop-runner-bin-CeVE_cd8.d.ts → loop-runner-bin-DxZdgqD5.d.ts} +2 -2
- package/dist/{loop-runner-bin-D8lRa440.js → loop-runner-bin-UhqEBk50.js} +3 -3
- package/dist/{loop-runner-bin-D8lRa440.js.map → loop-runner-bin-UhqEBk50.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 +2 -2
- package/dist/mcp/index.js +4 -4
- package/dist/{provision-supervisor-MoeFCVIJ.js → provision-supervisor-DxylNO_M.js} +3 -3
- package/dist/{provision-supervisor-MoeFCVIJ.js.map → provision-supervisor-DxylNO_M.js.map} +1 -1
- package/dist/{runtime-DBeE_6EE.js → runtime-CoIG3eqG.js} +8 -8
- package/dist/{runtime-DBeE_6EE.js.map → runtime-CoIG3eqG.js.map} +1 -1
- package/dist/{search-method-Bvvx_KS6.js → search-method-a40Q47iV.js} +2 -2
- package/dist/{search-method-Bvvx_KS6.js.map → search-method-a40Q47iV.js.map} +1 -1
- package/dist/{server-BJjYpmS8.js → server-CN3u3vEi.js} +3 -3
- package/dist/{server-BJjYpmS8.js.map → server-CN3u3vEi.js.map} +1 -1
- package/dist/{stream-agent-turn-DMoigo5H.d.ts → stream-agent-turn-DJqcRoxP.d.ts} +9 -2
- package/dist/{supervise-CvpJpknN.js → supervise-BnFVp7W-.js} +3 -3
- package/dist/{supervise-CvpJpknN.js.map → supervise-BnFVp7W-.js.map} +1 -1
- package/dist/{supervisor-D0-rYBEM.js → supervisor-CSLiRg5R.js} +79 -4
- package/dist/supervisor-CSLiRg5R.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/package.json +3 -3
- package/dist/supervisor-D0-rYBEM.js.map +0 -1
|
@@ -6738,12 +6738,15 @@ function assertProviderWorkspaceRetentionPort(port, context) {
|
|
|
6738
6738
|
/** Capture, require durable refs, and verify every returned manifest/archive byte. */
|
|
6739
6739
|
async function captureProviderWorkspaceSnapshot(port, context) {
|
|
6740
6740
|
assertProviderWorkspaceRetentionPort(port, "provider workspace retention");
|
|
6741
|
+
const controlRef = context.controlRef === void 0 ? void 0 : AgentExactRunControlRefSchema.parse(context.controlRef);
|
|
6742
|
+
if (controlRef !== void 0 && (controlRef.environmentId !== context.environment.id || controlRef.provider !== context.environment.provider || context.providerSessionId != null && controlRef.sessionId !== context.providerSessionId)) throw new Error("provider workspace retention control reference names another environment or session");
|
|
6741
6743
|
const controller = new AbortController();
|
|
6742
6744
|
const clearDeadline = armDeadlineTimer(port.timeoutMs, () => controller.abort(/* @__PURE__ */ new Error(`provider workspace retention timed out after ${port.timeoutMs}ms`)), true);
|
|
6743
6745
|
try {
|
|
6744
6746
|
return await runAbortable(async () => {
|
|
6745
6747
|
const result = detachedSnapshot(await port.capture({
|
|
6746
6748
|
...context,
|
|
6749
|
+
...controlRef === void 0 ? {} : { controlRef: Object.freeze({ ...controlRef }) },
|
|
6747
6750
|
signal: controller.signal
|
|
6748
6751
|
}), "provider workspace retention snapshot");
|
|
6749
6752
|
const snapshot = "snapshot" in result ? result.snapshot : result;
|
|
@@ -6754,7 +6757,12 @@ async function captureProviderWorkspaceSnapshot(port, context) {
|
|
|
6754
6757
|
if (!Array.isArray(provenance.missing) || !["reported", "unavailable"].includes(provenance.status)) throw new Error("provider workspace retention provenance is malformed");
|
|
6755
6758
|
if (provenance.status === "reported" && provenance.environmentId !== context.environment.id) throw new Error("provider workspace retention provenance names another environment");
|
|
6756
6759
|
if (provenance.executionId !== void 0 && provenance.executionId !== context.executionId) throw new Error("provider workspace retention provenance names another execution");
|
|
6760
|
+
if (provenance.controlRef !== void 0 && (controlRef === void 0 || !sameControlCoordinates(AgentExactRunControlRefSchema.parse(provenance.controlRef), controlRef))) throw new Error("provider workspace retention provenance names another admitted execution");
|
|
6757
6761
|
const coverageGaps = [...provenance.missing];
|
|
6762
|
+
if (controlRef !== void 0) {
|
|
6763
|
+
if (provenance.controlRef === void 0) coverageGaps.push("Exact admitted control reference missing");
|
|
6764
|
+
if (!provenance.sessions?.some((session) => session.id === controlRef.sessionId && session.executionIds?.includes(controlRef.executionId))) coverageGaps.push("Exact admitted provider execution missing from capture");
|
|
6765
|
+
}
|
|
6758
6766
|
if (provenance.status !== "reported") coverageGaps.push("Coverage metadata unavailable");
|
|
6759
6767
|
if (provenance.executionId !== context.executionId) coverageGaps.push("Exact execution identity missing");
|
|
6760
6768
|
if (provenance.workspace?.complete !== true) coverageGaps.push("Workspace inventory incomplete");
|
|
@@ -9962,11 +9970,13 @@ function classifyRetainedPendingCause(cause, phase = "execution") {
|
|
|
9962
9970
|
*/
|
|
9963
9971
|
var RetainedExecutionPendingError = class extends Error {
|
|
9964
9972
|
pendingCause;
|
|
9973
|
+
phase;
|
|
9965
9974
|
constructor(cause, pendingCause = "execution") {
|
|
9966
9975
|
const resolved = pendingCause === "admission" || pendingCause === "execution" ? classifyRetainedPendingCause(cause, pendingCause) : pendingCause;
|
|
9967
9976
|
super(causeMessages[resolved], { cause });
|
|
9968
9977
|
this.name = "RetainedExecutionPendingError";
|
|
9969
9978
|
this.pendingCause = resolved;
|
|
9979
|
+
this.phase = pendingCause === "admission" ? "admission" : "execution";
|
|
9970
9980
|
}
|
|
9971
9981
|
};
|
|
9972
9982
|
/** The execution id of a leaf's later invocation, derived from its `execution-input` sequence so
|
|
@@ -10603,6 +10613,7 @@ function createProviderExecutor(provider, profile, ctx, options, placement) {
|
|
|
10603
10613
|
let workspacePreservationRequired = false;
|
|
10604
10614
|
let workspaceRunActive = false;
|
|
10605
10615
|
let providerSessionId = null;
|
|
10616
|
+
let workspaceControlRef;
|
|
10606
10617
|
const runtime = options.runtime ?? provider.name;
|
|
10607
10618
|
const createProfile = options.profileForCreate?.(profile) ?? profile;
|
|
10608
10619
|
if (placement && canonicalAgentProfileDigest(createProfile) !== canonicalAgentProfileDigest(profile)) throw new ValidationError("provider placement: profileForCreate cannot change the selected profile");
|
|
@@ -10635,6 +10646,8 @@ function createProviderExecutor(provider, profile, ctx, options, placement) {
|
|
|
10635
10646
|
workspaceEnvironmentId = void 0;
|
|
10636
10647
|
}
|
|
10637
10648
|
workspaceRunActive = true;
|
|
10649
|
+
workspaceControlRef = void 0;
|
|
10650
|
+
providerSessionId = null;
|
|
10638
10651
|
workspaceSnapshot = void 0;
|
|
10639
10652
|
workspaceProvenance = void 0;
|
|
10640
10653
|
workspaceCoverageComplete = false;
|
|
@@ -10658,6 +10671,7 @@ function createProviderExecutor(provider, profile, ctx, options, placement) {
|
|
|
10658
10671
|
workspaceCapturePromise = captureProviderWorkspaceSnapshot(workspaceRetention, {
|
|
10659
10672
|
environment: next,
|
|
10660
10673
|
executionId,
|
|
10674
|
+
...workspaceControlRef === void 0 ? {} : { controlRef: workspaceControlRef },
|
|
10661
10675
|
...node === void 0 ? {} : { node },
|
|
10662
10676
|
providerSessionId,
|
|
10663
10677
|
nativeSessionId: null,
|
|
@@ -10817,6 +10831,8 @@ function createProviderExecutor(provider, profile, ctx, options, placement) {
|
|
|
10817
10831
|
mayContinue: options.unavailablePause !== false && options.workspaceRetention === void 0 && invocation.retention?.continueInvocation !== void 0,
|
|
10818
10832
|
onRetained: (handle) => {
|
|
10819
10833
|
retained = handle;
|
|
10834
|
+
workspaceControlRef = freezeControlRef(handle.controlRef);
|
|
10835
|
+
providerSessionId = workspaceControlRef.sessionId;
|
|
10820
10836
|
},
|
|
10821
10837
|
onPending: (value) => {
|
|
10822
10838
|
pending = value;
|
|
@@ -10854,6 +10870,7 @@ function createProviderExecutor(provider, profile, ctx, options, placement) {
|
|
|
10854
10870
|
workspacePublishedSnapshot = snapshot;
|
|
10855
10871
|
},
|
|
10856
10872
|
captureWorkspace,
|
|
10873
|
+
workspaceControlRef: () => workspaceControlRef,
|
|
10857
10874
|
workspaceProvenance: () => workspaceProvenance,
|
|
10858
10875
|
workspaceCoverage: () => ({
|
|
10859
10876
|
complete: workspaceCoverageComplete,
|
|
@@ -11013,12 +11030,14 @@ function admittedEnvironmentId(retention) {
|
|
|
11013
11030
|
function providerWorkspaceCaptureReceipt(args, environment, snapshot, fallbackSessionId) {
|
|
11014
11031
|
const provenance = args.workspaceProvenance();
|
|
11015
11032
|
const coverage = args.workspaceCoverage();
|
|
11033
|
+
const controlRef = args.workspaceControlRef();
|
|
11016
11034
|
return {
|
|
11017
11035
|
executionId: args.executionId,
|
|
11036
|
+
...controlRef === void 0 ? {} : { controlRef },
|
|
11018
11037
|
...args.node === void 0 ? {} : { node: args.node },
|
|
11019
11038
|
environmentId: environment.id,
|
|
11020
11039
|
profileDigest: canonicalAgentProfileDigest(args.profile),
|
|
11021
|
-
...capturedSessionIdentity(provenance, coverage.complete, args.executionId, fallbackSessionId),
|
|
11040
|
+
...capturedSessionIdentity(provenance, coverage.complete, args.executionId, controlRef?.sessionId ?? fallbackSessionId),
|
|
11022
11041
|
snapshot,
|
|
11023
11042
|
provenance: provenance ?? {
|
|
11024
11043
|
status: "unavailable",
|
|
@@ -11326,7 +11345,9 @@ async function providerExecutionSource(args, turn, signal) {
|
|
|
11326
11345
|
}
|
|
11327
11346
|
const retention = args.retention;
|
|
11328
11347
|
let admitted = args.recovering;
|
|
11348
|
+
let executionAdmitted = args.recovering && retention.admissions.some((admission) => admission.phase === "dispatched");
|
|
11329
11349
|
const onAdmission = async (admission) => {
|
|
11350
|
+
if (admission.phase === "dispatched") executionAdmitted = true;
|
|
11330
11351
|
await retention.onAdmission(admission);
|
|
11331
11352
|
admitted = true;
|
|
11332
11353
|
args.onPending(true);
|
|
@@ -11418,6 +11439,7 @@ async function providerExecutionSource(args, turn, signal) {
|
|
|
11418
11439
|
onAdmission
|
|
11419
11440
|
});
|
|
11420
11441
|
}
|
|
11442
|
+
executionAdmitted = true;
|
|
11421
11443
|
args.onRetained(handle);
|
|
11422
11444
|
args.onPending(true);
|
|
11423
11445
|
const environment = await args.provider.get?.(handle.controlRef.environmentId);
|
|
@@ -11515,7 +11537,7 @@ async function providerExecutionSource(args, turn, signal) {
|
|
|
11515
11537
|
retained: true
|
|
11516
11538
|
};
|
|
11517
11539
|
} catch (error) {
|
|
11518
|
-
if (admitted) throw new RetainedExecutionPendingError(error, "admission");
|
|
11540
|
+
if (admitted) throw new RetainedExecutionPendingError(error, executionAdmitted ? "execution" : "admission");
|
|
11519
11541
|
throw error;
|
|
11520
11542
|
}
|
|
11521
11543
|
}
|
|
@@ -11593,6 +11615,15 @@ async function sandboxProfileFromReference(profile, resolveProfile) {
|
|
|
11593
11615
|
}
|
|
11594
11616
|
function environmentAsSandboxInstance(environment, options) {
|
|
11595
11617
|
let providerSessionId = null;
|
|
11618
|
+
let controlRef;
|
|
11619
|
+
const noteControlRef = (candidate) => {
|
|
11620
|
+
if (options.workspaceRetention === void 0) return;
|
|
11621
|
+
const parsed = AgentExactRunControlRefSchema.safeParse(candidate);
|
|
11622
|
+
if (!parsed.success) return;
|
|
11623
|
+
if (parsed.data.environmentId !== environment.id || parsed.data.provider !== environment.provider) throw new ValidationError("providerAsSandboxClient: capture control reference names another environment");
|
|
11624
|
+
controlRef = freezeControlRef(parsed.data);
|
|
11625
|
+
providerSessionId = controlRef.sessionId;
|
|
11626
|
+
};
|
|
11596
11627
|
let capture;
|
|
11597
11628
|
let publication;
|
|
11598
11629
|
return {
|
|
@@ -11606,6 +11637,7 @@ function environmentAsSandboxInstance(environment, options) {
|
|
|
11606
11637
|
let terminal = false;
|
|
11607
11638
|
const input = turnInputFromPrompt(message, promptOptions);
|
|
11608
11639
|
providerSessionId = input.sessionId ?? null;
|
|
11640
|
+
noteControlRef(input.controlRef);
|
|
11609
11641
|
let cancellation;
|
|
11610
11642
|
let cancellationStarted = false;
|
|
11611
11643
|
let cancellationFailed = false;
|
|
@@ -11665,7 +11697,10 @@ function environmentAsSandboxInstance(environment, options) {
|
|
|
11665
11697
|
let usage;
|
|
11666
11698
|
let terminal = false;
|
|
11667
11699
|
const failures = createProviderFailureLedger();
|
|
11668
|
-
|
|
11700
|
+
const input = turnInputFromPrompt(message, promptOptions);
|
|
11701
|
+
providerSessionId = input.sessionId ?? null;
|
|
11702
|
+
noteControlRef(input.controlRef);
|
|
11703
|
+
for await (const event of environment.stream(input)) {
|
|
11669
11704
|
events.push(event);
|
|
11670
11705
|
if (isTerminalEnvironmentEvent(event)) terminal = true;
|
|
11671
11706
|
failures.observe(event, sandboxEventFromEnvironmentEvent(event));
|
|
@@ -11686,9 +11721,11 @@ function environmentAsSandboxInstance(environment, options) {
|
|
|
11686
11721
|
...environment.dispatch && environment.session ? { async dispatchPrompt(message, promptOptions) {
|
|
11687
11722
|
const session = await environment.dispatch?.(turnInputFromPrompt(message, promptOptions));
|
|
11688
11723
|
if (!session) throw new ValidationError("providerAsSandboxClient: dispatch returned no session");
|
|
11724
|
+
noteControlRef(session.controlRef);
|
|
11689
11725
|
return sandboxDispatchResultFromSessionRef(session);
|
|
11690
11726
|
} } : {},
|
|
11691
11727
|
...environment.session ? { session(id, sessionOptions) {
|
|
11728
|
+
noteControlRef(sessionOptions?.controlRef);
|
|
11692
11729
|
return sandboxSessionFromAgentSession(environment.session?.(id, sessionOptions), sessionOptions?.controlRef);
|
|
11693
11730
|
} } : {},
|
|
11694
11731
|
...environment.read ? { read: environment.read.bind(environment) } : {},
|
|
@@ -11713,12 +11750,14 @@ function environmentAsSandboxInstance(environment, options) {
|
|
|
11713
11750
|
capture ??= captureProviderWorkspaceSnapshot(options.workspaceRetention, {
|
|
11714
11751
|
environment,
|
|
11715
11752
|
executionId: identity.executionId,
|
|
11753
|
+
...controlRef === void 0 ? {} : { controlRef },
|
|
11716
11754
|
...identity.node === void 0 ? {} : { node: identity.node },
|
|
11717
11755
|
providerSessionId,
|
|
11718
11756
|
nativeSessionId: null,
|
|
11719
11757
|
profile: identity.profile
|
|
11720
11758
|
}).then(({ snapshot, provenance, coverageComplete, incompleteReason }) => ({
|
|
11721
11759
|
executionId: identity.executionId,
|
|
11760
|
+
...controlRef === void 0 ? {} : { controlRef },
|
|
11722
11761
|
...identity.node === void 0 ? {} : { node: identity.node },
|
|
11723
11762
|
environmentId: environment.id,
|
|
11724
11763
|
profileDigest: canonicalAgentProfileDigest(identity.profile),
|
|
@@ -27431,6 +27470,8 @@ var HarnessTurnFailedError = class extends Error {
|
|
|
27431
27470
|
* no structured field decided, because a harness CLI reports the router's refusal as text.
|
|
27432
27471
|
*/
|
|
27433
27472
|
function upstreamUnavailableSignal(error) {
|
|
27473
|
+
const admission = retainedAdmissionCause(error);
|
|
27474
|
+
if (admission !== void 0) return upstreamUnavailableSignal(admission);
|
|
27434
27475
|
if (!(error instanceof Error)) return void 0;
|
|
27435
27476
|
if (error instanceof CheckUnavailableError) return "check-unavailable";
|
|
27436
27477
|
if (error instanceof HarnessTurnFailedError) return unavailableSignalOfFailure({
|
|
@@ -27462,6 +27503,8 @@ function isUpstreamUnavailable(error) {
|
|
|
27462
27503
|
*/
|
|
27463
27504
|
function classifyDriverFailure(error, signal) {
|
|
27464
27505
|
if (signal?.aborted) return "terminal";
|
|
27506
|
+
const admission = retainedAdmissionCause(error);
|
|
27507
|
+
if (admission !== void 0) return classifyDriverFailure(admission, signal);
|
|
27465
27508
|
if (error instanceof Error && errorProperty(error, "name") === "AbortError") return "terminal";
|
|
27466
27509
|
if (error instanceof HarnessTurnFailedError) {
|
|
27467
27510
|
if (error.errorCode !== void 0 && DETERMINISTIC_BRIDGE_CODES.has(error.errorCode)) return "terminal";
|
|
@@ -27480,6 +27523,38 @@ function classifyDriverFailure(error, signal) {
|
|
|
27480
27523
|
if (isUpstreamUnavailable(error)) return "unavailable";
|
|
27481
27524
|
return foreignHttpStatusVerdict(error) ?? "transient";
|
|
27482
27525
|
}
|
|
27526
|
+
/** Admission refusals keep the original HTTP rules without interpreting failures after execution starts. */
|
|
27527
|
+
function retainedAdmissionCause(error) {
|
|
27528
|
+
if (!(error instanceof RetainedExecutionPendingError) || error.phase !== "admission" || error.pendingCause !== "request-rejected" && error.pendingCause !== "transport") return void 0;
|
|
27529
|
+
const queue = [];
|
|
27530
|
+
try {
|
|
27531
|
+
queue.push(error.cause);
|
|
27532
|
+
} catch {
|
|
27533
|
+
return;
|
|
27534
|
+
}
|
|
27535
|
+
const seen = /* @__PURE__ */ new Set();
|
|
27536
|
+
for (let steps = 0; queue.length > 0 && steps < 12; steps += 1) {
|
|
27537
|
+
const value = queue.shift();
|
|
27538
|
+
try {
|
|
27539
|
+
if (!(value instanceof Error) || seen.has(value)) continue;
|
|
27540
|
+
seen.add(value);
|
|
27541
|
+
if (value instanceof RetainedExecutionPendingError) {
|
|
27542
|
+
if (value.phase !== "admission" || value.pendingCause !== "request-rejected" && value.pendingCause !== "transport") return void 0;
|
|
27543
|
+
queue.push(value.cause);
|
|
27544
|
+
continue;
|
|
27545
|
+
}
|
|
27546
|
+
if (errorProperty(value, "name") === "RetainedRunProviderContractError") return void 0;
|
|
27547
|
+
const status = errorHttpStatus(value);
|
|
27548
|
+
if (status !== void 0 && status >= 400) return error.pendingCause === "request-rejected" || UNAVAILABLE_STATUSES.has(status) ? value : void 0;
|
|
27549
|
+
if (error.pendingCause === "request-rejected" && value instanceof AgentEvalError$1) return value;
|
|
27550
|
+
const members = Reflect.get(value, "errors");
|
|
27551
|
+
if (Array.isArray(members)) queue.push(...members.slice(0, 12 - steps));
|
|
27552
|
+
queue.push(value.cause);
|
|
27553
|
+
} catch {
|
|
27554
|
+
return;
|
|
27555
|
+
}
|
|
27556
|
+
}
|
|
27557
|
+
}
|
|
27483
27558
|
/**
|
|
27484
27559
|
* A foreign error that still carries an HTTP status is a refusal we can read.
|
|
27485
27560
|
*
|
|
@@ -28847,4 +28922,4 @@ function isNonEmptySpend(s) {
|
|
|
28847
28922
|
//#endregion
|
|
28848
28923
|
export { waitUntil as $, executableAgentProfileSnapshot as $i, materializeTreeView as $n, sanitizeAgentRuntimeEvent as $r, claimsAuthority as $t, driverExecutorFactory as A, withTimeout as Aa, worktreeCliProfileMaterialization as Ai, DEFAULT_SANDBOX_IDLE_TIMEOUT_SECONDS as An, persistHarnessTranscript as Ar, cliInPlaceExecutor as At, recordScopeOwnerDriverAttempt as B, teardownExecutor as Ba, knownExecutionBindingReceipt as Bi, decodeToolPart as Bn, buildLoopOtelSpans as Br, WORKER_TRACE_PROPAGATION as Bt, createContinuationKeeper as C, promptCacheTokenClasses as Ca, promptOnlyProfileMaterialization as Ci, captureBeforeDestroy as Cn, environmentGone as Cr, recoverRetainedInteractiveRun as Ct, passedItems as D, throwAbort as Da, sandboxActProfileMaterialization as Di, runBrainLoop as Dn, runAbortable as Dr, rollingDispatch as Dt, failedItems as E, stringifySafe as Ea, renderUnsupported as Ei, routerBrain as En, linkAbort as Er, queueOf as Et, beginScopeOwnerAttempt as F, decodeHarnessUsage as Fa, attestRuntimeOwnedPendingExecutor as Fi, resolveAgentEnvironmentProvider as Fn, readTraceContextFromEnv as Fr, createWorktreeCliExecutor as Ft, settledToIteration as G, runtimeOwnedDriveHarnessProviderEvidence as Gi, FileSpawnJournal as Gn, flatOtelSpan as Gr, taskToPrompt as Gt, recordScopeOwnerPause as H, promptFromAgentTurnInput as Ha, newExecutionAttemptId as Hi, registerRetainedExecutorPreparation as Hn, buildRuntimeEventOtelSpans as Hr, workerTraceEnv as Ht, createScope as I, abortError$2 as Ia, attestRuntimeOwnedScopeOwner as Ii, sandboxClientAsProvider as In, traceContextToEnv as Ir, DEFAULT_SANDBOX_STEERING_MAX_TURNS as It, createWaitProbes as J, runtimeOwnedExecutorProviderEvidence as Ji, SpawnEventIndex as Jn, padSpanId as Jr, readWorkerProgress as Jt, createWorkerSlots as K, runtimeOwnedExecutorExecutionBinding as Ki, InMemoryResultBlobStore as Kn, generateSpanId as Kr, DEFAULT_STALL_AFTER_MS as Kt, deriveNodeExecutionIdentity as L, awaitAbortable$1 as La, authoredProfileDigest as Li, unavailablePauseMs as Ln, defaultRedactor as Lr, createSteerableSandboxSession as Lt, withDriverExecutor as M, addResourceSpend as Ma, prepareJsonlAppend as Mi, createAgentEnvironmentProviderRegistry as Mn, contentAddress as Mr, createExecutor as Mt, SUBTREE_RESULT_LIMIT as N, resourceTelemetry as Na, readCommittedJsonLines as Ni, providerAsExecutor as Nn, createPropagatingTraceEmitter as Nr, createExecutorRegistry as Nt, verdictFromJudgeScore as O, throwIfAborted as Oa, unsupportedProfileDimensions as Oi, canonicalObservedModelParts as On, captureHarnessTranscript as Or, bindReusableExecutorExecutionId as Ot, assertRecursiveReservationPolicy as P, withBudgetResources as Pa, writeAllBytes as Pi, providerAsSandboxClient as Pn, mergeTraceEnv as Pr, snapshotExecutorConfig as Pt, validateWaitSpec as Q, unknownMaterializationReceipt as Qi, loadSpawnForest as Qn, createRuntimeStreamEventCollector as Qr, PEER_MAIL_WIRE_KEY as Qt, meterRuntimeOwnedAccounting as R, DEFAULT_SUCCESSFUL_SHUTDOWN_MS as Ra, finalizeRuntimeOwnedPendingExecutor as Ri, unavailableSignalOfFailure as Rn, defaultRedactorIdentityMaterial as Rr, createRouterTranscript as Rt, composeContinuationNote as S, isAbortError$2 as Sa, promptModelProfileMaterialization as Si, SandboxEvidenceRetentionError as Sn, destroyInteractiveEnvironment as Sr, reconnectRetainedInteractiveRun as St, expandQuestions as T, sleep as Ta, renderProfileMaterializationIssues as Ti, readPromptOptions as Tn, abortError as Tr, freeSlots as Tt, restoreScopeOwnerAcceptedExecution as U, promptOptionsFromAgentTurnInput as Ua, providerAttemptEvidence as Ui, retainedExecutorSeamKey as Un, createOpenInferenceFileExporter as Ur, workerTraceHeaders as Ut, recordScopeOwnerMaterialization as V, teardownSurfaces as Va, knownMaterializationReceipt as Vi, sandboxSessionTraceSource as Vn, buildLoopSpanNodes as Vr, readWorkerTraceContext as Vt, scopeOwnerExecutorNodeContext as W, providerMessageText as Wa, recordRuntimeOwnedDriveHarnessProviderEvidence as Wi, FileResultBlobStore as Wn, createOtelExporter as Wr, workerTraceSeamKey as Wt, pollFor as X, runtimeOwnedScopeOwnerRuntime as Xi, encodeResultBlob as Xn, toOtelAttributes as Xr, AUTHORITY_MARKERS as Xt, isWaitOutcome as Y, runtimeOwnedPendingExecutorMaterialization as Yi, assertContentAddress as Yn, padTraceId as Yr, createInbox as Yt, timerAt as Z, unknownExecutionBindingReceipt as Zi, insideCursorNamespace as Zn, createRuntimeEventCollector as Zr, DEFAULT_PEER_MAIL_LIMITS as Zt, CheckUnavailableError as _, addSpend as _a, controlProfileMaterialization as _i, isTerminalDecision as _n, reconnectRetainedRun as _r, workerInteractiveAdmissionFile as _t, collectDelivered as a, assertSandboxServedModel as aa, createWorktree as ai, isTerminalNodeStatus as an, parseWorkerToolTraceArtifact as ar, reconcileScopeRetainedOwnerEnvironment as at, bestComposite as b, deleteBoxSafe as ba, profileMaterializationAxes$1 as bi, probeSandboxCapabilities as bn, startRetainedRunInEnvironment as br, workerInteractiveBindingFile as bt, runTree as c, createSandboxUsageLedger as ca, LOCAL_HARNESSES as ci, addHarnessUsage as cn, BudgetReconcileFault as cr, scopeRetainedOwnerResourceReader as ct, classifyDriverFailure as d, mapSandboxEvent as da, localHarnessExecutable as di, readCodexRolloutSession as dn, createBudgetPool as dr, SPAWN_RESOURCE_PATH_MAX_BYTES as dt, executableAgentSpecSnapshot as ea, sanitizeKnowledgeReadinessReport as ei, createPeerMailbox as en, pendingWaits as er, bindScopeRetainedOwnerEnvironmentId as et, runDriverWithRetry as f, mapSandboxToolEvent as fa, parseCodexTokenUsage as fi, bridgeRuntimeAttachmentsKey as fn, meterUsageEvent as fr, environmentReader as ft, CONTINUATION_FACTS as g, sumSandboxUsage as ga, assertProfileMaterialization as gi, defaultSelectWinner as gn, errMessage as gr, readWorkerInteractiveAdmissions as gt, CONTINUATIONS_DIR as h, sandboxProgressEvents as ha, AGENT_PROFILE_MATERIALIZATION_AXES as hi, createSandboxForSpec as hn, spendFromUsageTotals as hr, interactiveAdmissionSeamKey as ht, bestDelivered as i, readSandboxOutcome as ia, captureWorktreeDiff as ii, isLiveNodeStatus as in, isTraceAnalysisStore as ir, prepareScopeRetainedOwnerTask as it, isDriverSpec as j, zeroSpend as ja, isNoEntError as ji, LEAF_CONTINUATION_TASK as jn, readHarnessTranscript as jr, cliWorktreeExecutor as jt, driverChild as k, unmeteredSpend as ka, validateProfileMaterialization as ki, observedModelMatchesDeclared as kn, harnessTranscriptArtifact as kr, captureReusableExecutorConfig as kt, DriverAttemptsExhaustedError as l, extractLlmCallEvent as la, harnessInvocation as li, createCodexRolloutStoreReader as ln, ReservationWaitRefused as lr, scopeRetainedOwnerRestorePoint as lt, upstreamUnavailableSignal as m, sandboxEventServedBackend as ma, terminateProcessTreeAndConfirm as mi, TERMINAL_DECISIONS as mn, spendFromUsageEvents as mr, resolveSpawnResourcePaths as mt, createRootHandle as n, detachedSnapshot as na, runSettledCommand as ni, peerMailTools as nn, WORKER_TOOL_TRACE_SCHEMA_VERSION as nr, consumeScopeRetainedOwnerResult as nt, pickBestDelivered as o, canonicalStreamEventFromSandboxEvent as oa, removeWorktree as oi, bridgeAdmissionRefusal as on, workerTraceAnalysisStore as or, scopeRetainedOwnerContext as ot, summarizeDriverAttempts as p, notifySandboxEventObserver as pa, CodexExecutionDiagnosticError as pi, bridgeStopSignalKey as pn, newUsageTotals as pr, hostDirectoryReader as pt, openSlotGroup as q, runtimeOwnedExecutorMaterialization as qi, InMemorySpawnJournal as qn, loopEventToOtelSpan as qr, createActivityLog as qt, createSupervisor as r, projectSandboxOutcome as ra, runWorktreeHarness as ri, peerMailVerbNames as rn, captureWorkerTraceEvidence as rr, noteScopeRetainedOwnerCoordination as rt, runFinalizer as s, createSandboxToolPartState as sa, DEFAULT_LOCAL_HARNESS as si, bridgeModelRouteRefusal as sn, executorFailure as sr, scopeRetainedOwnerPriorSpend as st, DEFAULT_MAX_DEPTH as t, detachedFrozen as ta, sanitizeRuntimeStreamEvent as ti, isPeerMailEnvelope as tn, replaySpawnTree as tr, bindScopeRetainedOwnerProvider as tt, HarnessTurnFailedError as u, isSandboxTerminalEvent as ua, harnessSupportsReasoningEffort as ui, harnessUsageIsEmpty as un, assertValidBudget as ur, scopeRetainedOwnerResult as ut, admitContinuationPolicy as v, chargedTokens as va, defineProfileMaterializationContract as vi, runAgentRounds as vn, recoverRetainedRun as vr, attachWorker as vt, distillFindings as w, randomSuffix as wa, promptResourceProfileMaterialization as wi, assertBoxlessPromptOptions as wn, RunCancellationReason as wr, startRetainedInteractiveRun as wt, checkVerdictOf as x, hasCompleteCacheBreakdown as xa, promptControlProfileMaterialization as xi, acquireSandbox as xn, retainedCreateMaterial as xr, workerInteractiveBindingsDir as xt, admitFinding as y, cloneSpend as ya, fullProfileMaterialization as yi, createSandboxLineage as yn, startRetainedRun as yr, readWorkerInteractiveBinding as yt, meterRuntimeOwnedProviderAttempt as z, armDeadlineTimer as za, inheritRuntimeOwnedExecutorAttestation as zi, createPushTraceSource as zn, resolveRedactor as zr, createInPlaceCliExecutor as zt };
|
|
28849
28924
|
|
|
28850
|
-
//# sourceMappingURL=supervisor-
|
|
28925
|
+
//# sourceMappingURL=supervisor-CSLiRg5R.js.map
|