@tangle-network/agent-runtime 0.237.0 → 0.238.0
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-B1Ioaoxu.js → activation-Br1FRlyB.js} +2 -2
- package/dist/{activation-B1Ioaoxu.js.map → activation-Br1FRlyB.js.map} +1 -1
- package/dist/{activation-CJqtz9SS.d.ts → activation-CRDZUoUE.d.ts} +2 -2
- package/dist/agent.d.ts +2 -2
- package/dist/agent.js +2 -2
- package/dist/{coordination-driver-DD8ffHLE.js → coordination-driver-DbiCH5be.js} +3 -24
- package/dist/{coordination-driver-DD8ffHLE.js.map → coordination-driver-DbiCH5be.js.map} +1 -1
- package/dist/{delegate-C0G0SOif.js → delegate-C4rLxuv8.js} +2 -2
- package/dist/{delegate-C0G0SOif.js.map → delegate-C4rLxuv8.js.map} +1 -1
- package/dist/durable.d.ts +2 -2
- package/dist/durable.js +26 -37
- package/dist/durable.js.map +1 -1
- package/dist/{graph-DBemtsCf.js → graph-BHU73FnA.js} +3 -3
- package/dist/{graph-DBemtsCf.js.map → graph-BHU73FnA.js.map} +1 -1
- package/dist/{improvement-cycle-Ac5z5H7M.js → improvement-cycle-DkzbEzS5.js} +3 -3
- package/dist/{improvement-cycle-Ac5z5H7M.js.map → improvement-cycle-DkzbEzS5.js.map} +1 -1
- package/dist/{index-BfUDevdx.d.ts → index-B8Fmz26p.d.ts} +4 -4
- package/dist/index.d.ts +6 -6
- package/dist/index.js +8 -16
- package/dist/index.js.map +1 -1
- 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-B3NW0VPt.js → loop-runner-bin-BaQIyvh-.js} +3 -3
- package/dist/{loop-runner-bin-B3NW0VPt.js.map → loop-runner-bin-BaQIyvh-.js.map} +1 -1
- package/dist/{loop-runner-bin-DNVhcUz2.d.ts → loop-runner-bin-vGFnPXLM.d.ts} +3 -3
- 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-C5SS8ngZ.d.ts → openai-tools-BPPAXxP2.d.ts} +2 -2
- package/dist/profiles.d.ts +2 -2
- package/dist/{provision-supervisor-Ch-vCAbq.js → provision-supervisor-Briw5tX4.js} +3 -3
- package/dist/{provision-supervisor-Ch-vCAbq.js.map → provision-supervisor-Briw5tX4.js.map} +1 -1
- package/dist/{runtime-BDwTXkDM.js → runtime-BzGKUqqY.js} +11 -20
- package/dist/runtime-BzGKUqqY.js.map +1 -0
- package/dist/{server-D4Ypvef9.js → server-CDn-i_GJ.js} +3 -3
- package/dist/{server-D4Ypvef9.js.map → server-CDn-i_GJ.js.map} +1 -1
- package/dist/{stream-agent-turn-DkiyfYi8.d.ts → stream-agent-turn-xgmm-M55.d.ts} +2 -2
- package/dist/{structural-rollout-D-Ougv7r.js → structural-rollout-B-EAO8C5.js} +2 -2
- package/dist/{structural-rollout-D-Ougv7r.js.map → structural-rollout-B-EAO8C5.js.map} +1 -1
- package/dist/{substrate-CfzWdBcq.d.ts → substrate-B_9stFWH.d.ts} +2 -2
- package/dist/{supervise-gSGndJJo.js → supervise-Dc2DjlZS.js} +30 -15
- package/dist/supervise-Dc2DjlZS.js.map +1 -0
- package/dist/{supervisor-B5wyKVRd.js → supervisor-BN3oMv_v.js} +135 -45
- package/dist/supervisor-BN3oMv_v.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-palY_bT_.d.ts → types-CE7ES_TD.d.ts} +10 -4
- package/package.json +1 -1
- package/dist/runtime-BDwTXkDM.js.map +0 -1
- package/dist/supervise-gSGndJJo.js.map +0 -1
- package/dist/supervisor-B5wyKVRd.js.map +0 -1
|
@@ -2365,22 +2365,66 @@ function providerAttemptEvidence(model) {
|
|
|
2365
2365
|
}
|
|
2366
2366
|
//#endregion
|
|
2367
2367
|
//#region src/durable/jsonl-file.ts
|
|
2368
|
-
/**
|
|
2369
|
-
* A
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
const
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2368
|
+
/** Read a fixed file prefix one record at a time, never allocating the whole journal as a string.
|
|
2369
|
+
* A reader cannot chase concurrent appends forever. Missing files are empty only when requested;
|
|
2370
|
+
* corruption, short reads, and other I/O errors remain failures. Closing the iterator closes the fd. */
|
|
2371
|
+
async function* readCommittedJsonLines(path, options = {}) {
|
|
2372
|
+
const fs = await import("node:fs/promises");
|
|
2373
|
+
let handle;
|
|
2374
|
+
try {
|
|
2375
|
+
handle = await fs.open(path, "r");
|
|
2376
|
+
} catch (error) {
|
|
2377
|
+
if (options.allowMissing && isNoEntError(error)) return;
|
|
2378
|
+
throw error;
|
|
2379
|
+
}
|
|
2380
|
+
try {
|
|
2381
|
+
const { size } = await handle.stat();
|
|
2382
|
+
if (size === 0) return;
|
|
2383
|
+
const { StringDecoder } = await import("node:string_decoder");
|
|
2384
|
+
const decoder = new StringDecoder("utf8");
|
|
2385
|
+
const stream = handle.createReadStream({
|
|
2386
|
+
autoClose: false,
|
|
2387
|
+
end: size - 1
|
|
2388
|
+
});
|
|
2389
|
+
const fragments = [];
|
|
2390
|
+
let lineNumber = 1;
|
|
2376
2391
|
try {
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2392
|
+
for await (const chunk of stream) {
|
|
2393
|
+
options.onBytes?.(chunk);
|
|
2394
|
+
const text = decoder.write(chunk);
|
|
2395
|
+
let start = 0;
|
|
2396
|
+
let end = text.indexOf("\n", start);
|
|
2397
|
+
while (end !== -1) {
|
|
2398
|
+
fragments.push(text.slice(start, end));
|
|
2399
|
+
const record = parseRecord(fragments.join(""), path, lineNumber++, true);
|
|
2400
|
+
fragments.length = 0;
|
|
2401
|
+
if (record !== void 0) yield record.value;
|
|
2402
|
+
start = end + 1;
|
|
2403
|
+
end = text.indexOf("\n", start);
|
|
2404
|
+
}
|
|
2405
|
+
if (start < text.length) fragments.push(text.slice(start));
|
|
2406
|
+
}
|
|
2407
|
+
if (stream.bytesRead !== size) throw new Error(`${path}: journal changed while reading its committed prefix`);
|
|
2408
|
+
fragments.push(decoder.end());
|
|
2409
|
+
const record = parseRecord(fragments.join(""), path, lineNumber, false);
|
|
2410
|
+
if (record !== void 0) yield record.value;
|
|
2411
|
+
} finally {
|
|
2412
|
+
stream.destroy();
|
|
2381
2413
|
}
|
|
2414
|
+
} finally {
|
|
2415
|
+
await handle.close();
|
|
2416
|
+
}
|
|
2417
|
+
}
|
|
2418
|
+
/** An invalid unterminated tail may be a torn write; other parse failures are not evidence of one. */
|
|
2419
|
+
function parseRecord(line, source, lineNumber, terminated) {
|
|
2420
|
+
if (line.length === 0) return void 0;
|
|
2421
|
+
try {
|
|
2422
|
+
return { value: JSON.parse(line) };
|
|
2423
|
+
} catch (cause) {
|
|
2424
|
+
if (!(cause instanceof SyntaxError)) throw cause;
|
|
2425
|
+
if (!terminated) return void 0;
|
|
2426
|
+
throw new Error(`${source}: malformed JSONL record at line ${lineNumber}`, { cause });
|
|
2382
2427
|
}
|
|
2383
|
-
return records;
|
|
2384
2428
|
}
|
|
2385
2429
|
/** FileHandle.write may legally make a short write. Loop until every byte is appended. */
|
|
2386
2430
|
async function writeAllBytes(handle, value) {
|
|
@@ -8083,7 +8127,8 @@ async function* streamProviderExecutor(args) {
|
|
|
8083
8127
|
settled = {
|
|
8084
8128
|
...result.outcome?.status === "failed" ? { outcome: {
|
|
8085
8129
|
success: false,
|
|
8086
|
-
...result.outcome.error ? { error: result.outcome.error } : {}
|
|
8130
|
+
...result.outcome.error ? { error: result.outcome.error } : {},
|
|
8131
|
+
...result.outcome.errorCode ? { errorCode: result.outcome.errorCode } : {}
|
|
8087
8132
|
} } : {},
|
|
8088
8133
|
outRef: contentRef$1(`provider:${args.provider.name}`, result),
|
|
8089
8134
|
out: result,
|
|
@@ -13292,12 +13337,20 @@ function priceUnreceiptedWork(work) {
|
|
|
13292
13337
|
const outcomeSchema = AgentTurnResultSchema.pick({
|
|
13293
13338
|
success: true,
|
|
13294
13339
|
error: true
|
|
13295
|
-
}).strict();
|
|
13340
|
+
}).extend({ errorCode: AgentTurnResultSchema.shape.error }).strict();
|
|
13296
13341
|
/** Read only the executor envelope; application output and grades are not execution status. */
|
|
13297
|
-
function
|
|
13342
|
+
function executorFailure(result) {
|
|
13298
13343
|
if (result.outcome === void 0) return void 0;
|
|
13299
13344
|
const outcome = outcomeSchema.parse(result.outcome);
|
|
13300
|
-
|
|
13345
|
+
if (outcome.success) return void 0;
|
|
13346
|
+
return {
|
|
13347
|
+
error: outcome.error ?? "Agent execution failed",
|
|
13348
|
+
...outcome.errorCode === void 0 ? {} : { errorCode: outcome.errorCode }
|
|
13349
|
+
};
|
|
13350
|
+
}
|
|
13351
|
+
/** The failure text alone, for callers that record a settlement reason. */
|
|
13352
|
+
function executorFailureReason(result) {
|
|
13353
|
+
return executorFailure(result)?.error;
|
|
13301
13354
|
}
|
|
13302
13355
|
/** Preserve deterministic result pointers across built-in executors and replay.
|
|
13303
13356
|
* FNV-1a is an identity convention here, not a cryptographic integrity check. */
|
|
@@ -15572,18 +15625,10 @@ var FileSpawnJournal = class {
|
|
|
15572
15625
|
this.path = path;
|
|
15573
15626
|
}
|
|
15574
15627
|
async loadTree(root) {
|
|
15575
|
-
const fs = await import("node:fs/promises");
|
|
15576
|
-
let text;
|
|
15577
|
-
try {
|
|
15578
|
-
text = await fs.readFile(this.path, "utf8");
|
|
15579
|
-
} catch (err) {
|
|
15580
|
-
if (isNoEntError(err)) return void 0;
|
|
15581
|
-
throw err;
|
|
15582
|
-
}
|
|
15583
15628
|
let begun = false;
|
|
15584
15629
|
const events = [];
|
|
15585
15630
|
const index = new SpawnEventIndex(root);
|
|
15586
|
-
for (const record of
|
|
15631
|
+
for await (const record of readCommittedJsonLines(this.path, { allowMissing: true })) {
|
|
15587
15632
|
if (record.root !== root) continue;
|
|
15588
15633
|
if (record.kind === "begin") begun = true;
|
|
15589
15634
|
else {
|
|
@@ -15630,26 +15675,22 @@ var FileSpawnJournal = class {
|
|
|
15630
15675
|
});
|
|
15631
15676
|
}
|
|
15632
15677
|
async validationIndex() {
|
|
15633
|
-
const fs = await import("node:fs/promises");
|
|
15634
15678
|
const stamp = await this.fileStamp();
|
|
15635
15679
|
if (this.appendIndex && this.appendIndex.stamp === stamp) return this.appendIndex;
|
|
15636
15680
|
this.appendIndex = void 0;
|
|
15637
15681
|
const trees = /* @__PURE__ */ new Map();
|
|
15638
|
-
if (stamp !== void 0) {
|
|
15639
|
-
|
|
15640
|
-
|
|
15641
|
-
|
|
15642
|
-
|
|
15643
|
-
|
|
15644
|
-
|
|
15645
|
-
|
|
15646
|
-
|
|
15647
|
-
|
|
15648
|
-
if (!tree) throw new Error(`spawn journal corrupted: event for tree '${record.root}' precedes its begin record`);
|
|
15649
|
-
tree.index.assert(record.event);
|
|
15650
|
-
tree.index.add(record.event);
|
|
15651
|
-
}
|
|
15682
|
+
if (stamp !== void 0) for await (const record of readCommittedJsonLines(this.path)) if (record.kind === "begin") {
|
|
15683
|
+
if (!trees.has(record.root)) trees.set(record.root, {
|
|
15684
|
+
begunAt: record.at,
|
|
15685
|
+
index: new SpawnEventIndex(record.root)
|
|
15686
|
+
});
|
|
15687
|
+
} else {
|
|
15688
|
+
const tree = trees.get(record.root);
|
|
15689
|
+
if (!tree) throw new Error(`spawn journal corrupted: event for tree '${record.root}' precedes its begin record`);
|
|
15690
|
+
tree.index.assert(record.event);
|
|
15691
|
+
tree.index.add(record.event);
|
|
15652
15692
|
}
|
|
15693
|
+
if (await this.fileStamp() !== stamp) throw new Error("spawn journal changed while rebuilding its append index");
|
|
15653
15694
|
this.appendIndex = {
|
|
15654
15695
|
stamp,
|
|
15655
15696
|
trees
|
|
@@ -19058,6 +19099,9 @@ function errorProperty(error, field) {
|
|
|
19058
19099
|
return `[unreadable error ${field}]`;
|
|
19059
19100
|
}
|
|
19060
19101
|
}
|
|
19102
|
+
/** An HTTP status carried on a thrown error, read without trusting its getter. Provider SDKs put
|
|
19103
|
+
* one on their own error classes, so this is how a refusal is recognised outside the transport
|
|
19104
|
+
* taxonomy — for the persisted message here, and for the driver's retry verdict. */
|
|
19061
19105
|
function errorHttpStatus(error) {
|
|
19062
19106
|
try {
|
|
19063
19107
|
const status = Reflect.get(error, "status");
|
|
@@ -23369,7 +23413,9 @@ function unreportedSpend(total, prior) {
|
|
|
23369
23413
|
* so retrying re-runs a decision rather than recovering from an accident. They fail immediately.
|
|
23370
23414
|
* - TRANSIENT failures are everything foreign: a harness process that exited without a reason, a
|
|
23371
23415
|
* stream that cut mid-turn, a 5xx, a socket reset. Those are accidents, and they are exactly
|
|
23372
|
-
* what a retry exists for.
|
|
23416
|
+
* what a retry exists for. A harness turn that RETURNED a failed outcome is the same accident
|
|
23417
|
+
* reported as a value rather than thrown, so the drive raises {@link HarnessTurnFailedError}
|
|
23418
|
+
* and it is classified here like any other failure.
|
|
23373
23419
|
*
|
|
23374
23420
|
* The one loop the budget alone cannot bound is a driver that dies INSTANTLY and repeatedly — a
|
|
23375
23421
|
* dead-on-arrival credential, a harness that refuses to start. Spending nothing, it would retry
|
|
@@ -23431,6 +23477,28 @@ const DETERMINISTIC_BRIDGE_CODES = /* @__PURE__ */ new Set([
|
|
|
23431
23477
|
"capability_denied"
|
|
23432
23478
|
]);
|
|
23433
23479
|
/**
|
|
23480
|
+
* A driver's harness turn ran to its terminal result, and that result reported failure.
|
|
23481
|
+
*
|
|
23482
|
+
* A provider executor reports a failed turn as a returned outcome, not a thrown error, so without
|
|
23483
|
+
* this error a failed turn reads as a completed drive and never reaches the retry decision.
|
|
23484
|
+
* Measured 2026-09-17 on a Discovery director placed on tangle-sandbox with the opencode harness:
|
|
23485
|
+
* a 53-minute turn ended `status code 524`, and another ended `Invalid API key` after a platform
|
|
23486
|
+
* key expired mid-turn. A new turn succeeds in both cases.
|
|
23487
|
+
*
|
|
23488
|
+
* `errorCode` is the provider's machine code when it reported one. The classifier reads the code
|
|
23489
|
+
* and never the text, because the text is written for people and changes without notice.
|
|
23490
|
+
*/
|
|
23491
|
+
var HarnessTurnFailedError = class extends Error {
|
|
23492
|
+
runtime;
|
|
23493
|
+
errorCode;
|
|
23494
|
+
constructor(runtime, failure) {
|
|
23495
|
+
super(`${runtime} harness turn ended with a failed outcome` + (failure.errorCode === void 0 ? "" : ` (${failure.errorCode})`) + `: ${failure.error}`);
|
|
23496
|
+
this.name = "HarnessTurnFailedError";
|
|
23497
|
+
this.runtime = runtime;
|
|
23498
|
+
if (failure.errorCode !== void 0) this.errorCode = failure.errorCode;
|
|
23499
|
+
}
|
|
23500
|
+
};
|
|
23501
|
+
/**
|
|
23434
23502
|
* Classify one driver failure. Runtime's own typed refusals are decisions and stay terminal;
|
|
23435
23503
|
* anything foreign is an accident and is retryable. A `BackendTransportError` is split by status
|
|
23436
23504
|
* because the taxonomy already promises consumers may branch on it: a 5xx/429/408 is the upstream
|
|
@@ -23440,6 +23508,7 @@ const DETERMINISTIC_BRIDGE_CODES = /* @__PURE__ */ new Set([
|
|
|
23440
23508
|
function classifyDriverFailure(error, signal) {
|
|
23441
23509
|
if (signal?.aborted) return "terminal";
|
|
23442
23510
|
if (error instanceof Error && errorProperty(error, "name") === "AbortError") return "terminal";
|
|
23511
|
+
if (error instanceof HarnessTurnFailedError) return error.errorCode !== void 0 && DETERMINISTIC_BRIDGE_CODES.has(error.errorCode) ? "terminal" : "transient";
|
|
23443
23512
|
if (error instanceof BackendTransportError) {
|
|
23444
23513
|
if (error.upstreamCode !== void 0 && DETERMINISTIC_BRIDGE_CODES.has(error.upstreamCode)) return "terminal";
|
|
23445
23514
|
const status = error.status;
|
|
@@ -23449,7 +23518,28 @@ function classifyDriverFailure(error, signal) {
|
|
|
23449
23518
|
}
|
|
23450
23519
|
if (error instanceof ValidationError$1 || error instanceof ConfigError || error instanceof RuntimeRunStateError) return "terminal";
|
|
23451
23520
|
if (error instanceof AgentEvalError$1) return "terminal";
|
|
23452
|
-
return "transient";
|
|
23521
|
+
return foreignHttpStatusVerdict(error) ?? "transient";
|
|
23522
|
+
}
|
|
23523
|
+
/**
|
|
23524
|
+
* A foreign error that still carries an HTTP status is a refusal we can read.
|
|
23525
|
+
*
|
|
23526
|
+
* A provider SDK throws its own error classes, so an environment `create` that the platform
|
|
23527
|
+
* refused arrives here as neither a `BackendTransportError` nor an `AgentEvalError`, and the
|
|
23528
|
+
* default sends it to `transient`. Measured 2026-09-16: a Tangle Sandbox create refused
|
|
23529
|
+
* `HTTP 400 {"code":"CONFIG_ERROR"}` for a key whose budget was fully reserved retried 14-22
|
|
23530
|
+
* times per node while the run showed a durable intent and no other event, so eleven of twelve
|
|
23531
|
+
* roots sat for 25 minutes with nothing to diagnose. The status was on the error the whole time.
|
|
23532
|
+
*
|
|
23533
|
+
* Reading it applies the same rule the transport branch already promises consumers: 408, 429 and
|
|
23534
|
+
* 5xx are the upstream having a bad moment, and any other 4xx is a request that will fail
|
|
23535
|
+
* identically forever. Anything without a plain numeric status keeps the historical default.
|
|
23536
|
+
*/
|
|
23537
|
+
function foreignHttpStatusVerdict(error) {
|
|
23538
|
+
if (!(error instanceof Error)) return void 0;
|
|
23539
|
+
const status = errorHttpStatus(error);
|
|
23540
|
+
if (status === void 0 || status < 400) return void 0;
|
|
23541
|
+
if (status === 408 || status === 429 || status >= 500) return "transient";
|
|
23542
|
+
return "terminal";
|
|
23453
23543
|
}
|
|
23454
23544
|
/** The budget's own verdict on whether another attempt may run at all. */
|
|
23455
23545
|
function budgetStop(budget, atMs) {
|
|
@@ -24570,6 +24660,6 @@ function isNonEmptySpend(s) {
|
|
|
24570
24660
|
return s.iterations > 0 || s.tokens.input > 0 || s.tokens.output > 0 || s.usd > 0 || s.ms > 0 || s.tokensKnown === false || s.usdKnown === false || Object.values(s.resources ?? {}).some((resource) => resource.amount > 0 || !resource.known);
|
|
24571
24661
|
}
|
|
24572
24662
|
//#endregion
|
|
24573
|
-
export {
|
|
24663
|
+
export { rollingDispatch as $, promptFromAgentTurnInput as $i, buildLoopOtelSpans as $n, knownMaterializationReceipt as $r, bridgeAdmissionRefusal as $t, validateWaitSpec as A, chargedTokens as Ai, registerRetainedExecutorPreparation as An, defineProfileMaterializationContract as Ar, spendFromUsageEvents as At, workerInteractiveAdmissionFile as B, throwIfAborted as Bi, retainedCreateMaterial as Bn, unsupportedProfileDimensions as Br, readWorkerProgress as Bt, restoreScopeOwnerAcceptedExecution as C, mapSandboxEvent as Ci, providerAsExecutor as Cn, harnessSupportsReasoningEffort as Cr, parseWorkerToolTraceArtifact as Ct, isWaitOutcome as D, sandboxProgressEvents as Di, createPushTraceSource as Dn, AGENT_PROFILE_MATERIALIZATION_AXES as Dr, createBudgetPool as Dt, createWaitProbes as E, sandboxEventServedBackend as Ei, sandboxClientAsProvider as En, CodexExecutionDiagnosticError as Er, assertValidBudget as Et, scopeRetainedOwnerContext as F, promptCacheTokenClasses as Fi, runAbortable as Fn, promptOnlyProfileMaterialization as Fr, workerTraceHeaders as Ft, reconnectRetainedInteractiveRun as G, resourceTelemetry as Gi, harnessTranscriptArtifact as Gn, readCommittedJsonLines as Gr, claimsAuthority as Gt, readWorkerInteractiveBinding as H, withTimeout as Hi, defaultRedactorIdentityMaterial as Hn, worktreeCliProfileMaterialization as Hr, AUTHORITY_MARKERS as Ht, scopeRetainedOwnerPriorSpend as I, randomSuffix as Ii, reconnectRetainedRun as In, promptResourceProfileMaterialization as Ir, workerTraceSeamKey as It, destroyInteractiveEnvironment as J, abortError$2 as Ji, createPropagatingTraceEmitter as Jn, attestRuntimeOwnedScopeOwner as Jr, peerMailTools as Jt, recoverRetainedInteractiveRun as K, withBudgetResources as Ki, persistHarnessTranscript as Kn, writeAllBytes as Kr, createPeerMailbox as Kt, scopeRetainedOwnerResult as L, sleep as Li, recoverRetainedRun as Ln, renderProfileMaterializationIssues as Lr, taskToPrompt as Lt, bindScopeRetainedOwnerProvider as M, deleteBoxSafe as Mi, RunCancellationReason as Mn, profileMaterializationAxes$1 as Mr, WORKER_TRACE_PROPAGATION as Mt, consumeScopeRetainedOwnerResult as N, hasCompleteCacheBreakdown as Ni, abortError as Nn, promptControlProfileMaterialization as Nr, readWorkerTraceContext as Nt, pollFor as O, sumSandboxUsage as Oi, decodeToolPart as On, assertProfileMaterialization as Or, meterUsageEvent as Ot, prepareScopeRetainedOwnerTask as P, isAbortError$2 as Pi, linkAbort as Pn, promptModelProfileMaterialization as Pr, workerTraceEnv as Pt, queueOf as Q, teardownExecutor as Qi, INTELLIGENCE_WIRE_VERSION as Qn, knownExecutionBindingReceipt as Qr, executorFailure as Qt, interactiveAdmissionSeamKey as R, stringifySafe as Ri, startRetainedRun as Rn, renderUnsupported as Rr, DEFAULT_STALL_AFTER_MS as Rt, recordScopeOwnerMaterialization as S, isSandboxTerminalEvent as Si, createAgentEnvironmentProviderRegistry as Sn, LOCAL_HARNESSES as Sr, isTraceAnalysisStore as St, settledToIteration as T, notifySandboxEventObserver as Ti, resolveAgentEnvironmentProvider as Tn, parseCodexTokenUsage as Tr, BudgetReconcileFault as Tt, workerInteractiveBindingFile as U, zeroSpend as Ui, resolveRedactor as Un, isNoEntError as Ur, DEFAULT_PEER_MAIL_LIMITS as Ut, attachWorker as V, unmeteredSpend as Vi, defaultRedactor as Vn, validateProfileMaterialization as Vr, createInbox as Vt, workerInteractiveBindingsDir as W, addResourceSpend as Wi, captureHarnessTranscript as Wn, prepareJsonlAppend as Wr, PEER_MAIL_WIRE_KEY as Wt, effectiveConcurrency as X, DEFAULT_SUCCESSFUL_SHUTDOWN_MS as Xi, readTraceContextFromEnv as Xn, finalizeRuntimeOwnedPendingExecutor as Xr, isLiveNodeStatus as Xt, errMessage as Y, awaitAbortable$1 as Yi, mergeTraceEnv as Yn, authoredProfileDigest as Yr, peerMailVerbNames as Yt, freeSlots as Z, armDeadlineTimer as Zi, traceContextToEnv as Zn, inheritRuntimeOwnedExecutorAttestation as Zr, isTerminalNodeStatus as Zt, beginScopeOwnerAttempt as _, assertSandboxServedModel as _i, routerBrain as _n, runWorktreeHarness as _r, materializeTreeView as _t, pickBestDelivered as a, runtimeOwnedExecutorMaterialization as ai, bridgeRuntimeAttachmentsKey as an, flatOtelSpan as ar, createExecutorRegistry as at, meterRuntimeOwnedAccounting as b, createSandboxUsageLedger as bi, observedModelMatchesDeclared as bn, removeWorktree as br, WORKER_TOOL_TRACE_SCHEMA_VERSION as bt, DriverAttemptsExhaustedError as c, runtimeOwnedScopeOwnerRuntime as ci, createSandboxForSpec as cn, padSpanId as cr, DEFAULT_SANDBOX_STEERING_MAX_TURNS as ct, defaultUnmetContractSteer as d, executableAgentProfileSnapshot as di, runAgentRounds as dn, createRuntimeEventCollector as dr, FileResultBlobStore as dt, promptOptionsFromAgentTurnInput as ea, newExecutionAttemptId as ei, bridgeModelRouteRefusal as en, buildLoopSpanNodes as er, bindReusableExecutorExecutionId as et, runDriverWithRetry as f, executableAgentSpecSnapshot as fi, createSandboxLineage as fn, createRuntimeStreamEventCollector as fr, FileSpawnJournal as ft, withDriverExecutor as g, readSandboxOutcome as gi, readPromptOptions as gn, runSettledCommand as gr, loadSpawnForest as gt, isDriverSpec as h, projectSandboxOutcome as hi, assertBoxlessPromptOptions as hn, sanitizeRuntimeStreamEvent as hr, insideCursorNamespace as ht, collectDelivered as i, runtimeOwnedExecutorExecutionBinding as ii, readCodexRolloutSession as in, exportEvalRuns as ir, createExecutor as it, waitUntil as j, cloneSpend as ji, retainedExecutorSeamKey as jn, fullProfileMaterialization as jr, spendFromUsageTotals as jt, timerAt as k, addSpend as ki, sandboxSessionTraceSource as kn, controlProfileMaterialization as kr, newUsageTotals as kt, HarnessTurnFailedError as l, unknownExecutionBindingReceipt as li, defaultSelectWinner as ln, padTraceId as lr, createSteerableSandboxSession as lt, driverExecutorFactory as m, detachedSnapshot as mi, acquireSandbox as mn, sanitizeKnowledgeReadinessReport as mr, InMemorySpawnJournal as mt, createSupervisor as n, recordRuntimeOwnedDriveHarnessProviderEvidence as ni, createCodexRolloutStoreReader as nn, createOpenInferenceFileExporter as nr, cliInPlaceExecutor as nt, runFinalizer as o, runtimeOwnedExecutorProviderEvidence as oi, bridgeStopSignalKey as on, generateSpanId as or, snapshotExecutorConfig as ot, driverChild as p, detachedFrozen as pi, probeSandboxCapabilities as pn, sanitizeAgentRuntimeEvent as pr, InMemoryResultBlobStore as pt, startRetainedInteractiveRun as q, decodeHarnessUsage as qi, contentAddress as qn, attestRuntimeOwnedPendingExecutor as qr, isPeerMailEnvelope as qt, bestDelivered as r, runtimeOwnedDriveHarnessProviderEvidence as ri, harnessUsageIsEmpty as rn, createOtelExporter as rr, cliWorktreeExecutor as rt, runTree as s, runtimeOwnedPendingExecutorMaterialization as si, TERMINAL_DECISIONS as sn, loopEventToOtelSpan as sr, createWorktreeCliExecutor as st, createRootHandle as t, providerMessageText as ta, providerAttemptEvidence as ti, addHarnessUsage as tn, buildRuntimeEventOtelSpans as tr, captureReusableExecutorConfig as tt, classifyDriverFailure as u, unknownMaterializationReceipt as ui, isTerminalDecision as un, toOtelAttributes as ur, createInPlaceCliExecutor as ut, createScope as v, canonicalStreamEventFromSandboxEvent as vi, runBrainLoop as vn, captureWorktreeDiff as vr, pendingWaits as vt, scopeOwnerExecutorNodeContext as w, mapSandboxToolEvent as wi, providerAsSandboxClient as wn, localHarnessExecutable as wr, workerTraceAnalysisStore as wt, meterRuntimeOwnedProviderAttempt as x, extractLlmCallEvent as xi, DEFAULT_SANDBOX_IDLE_TIMEOUT_SECONDS as xn, DEFAULT_LOCAL_HARNESS as xr, captureWorkerTraceEvidence as xt, deriveNodeExecutionIdentity as y, createSandboxToolPartState as yi, canonicalObservedModelParts as yn, createWorktree as yr, replaySpawnTree as yt, readWorkerInteractiveAdmissions as z, throwAbort as zi, startRetainedRunInEnvironment as zn, sandboxActProfileMaterialization as zr, createActivityLog as zt };
|
|
24574
24664
|
|
|
24575
|
-
//# sourceMappingURL=supervisor-
|
|
24665
|
+
//# sourceMappingURL=supervisor-BN3oMv_v.js.map
|