@tangle-network/agent-runtime 0.132.0 → 0.132.3
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 -2
- package/dist/{activation-BTcytBme.js → activation-DFJBEC62.js} +2 -2
- package/dist/{activation-BTcytBme.js.map → activation-DFJBEC62.js.map} +1 -1
- package/dist/agent.d.ts +1 -1
- package/dist/agent.js +2 -2
- package/dist/{authoring-D0wM2FaY.js → authoring-WS1l0lU1.js} +2 -2
- package/dist/{authoring-D0wM2FaY.js.map → authoring-WS1l0lU1.js.map} +1 -1
- package/dist/conversation.d.ts +1 -1
- package/dist/{environment-provider-BDwgo2pu.d.ts → environment-provider-DlYw_pjo.d.ts} +2 -2
- package/dist/environment-provider.d.ts +1 -1
- package/dist/{graph-DyWVymtQ.js → graph-B9hFN-zX.js} +2 -2
- package/dist/{graph-DyWVymtQ.js.map → graph-B9hFN-zX.js.map} +1 -1
- package/dist/{improvement-cycle-0H8-10KE.js → improvement-cycle-DgZtiPDT.js} +139 -5
- package/dist/improvement-cycle-DgZtiPDT.js.map +1 -0
- package/dist/{index-D3SUI9Fc.d.ts → index-CcpNgmQY.d.ts} +4 -4
- package/dist/{index-BLIEkf7Y.d.ts → index-D9dVsozT.d.ts} +6 -6
- package/dist/{index-qKm5g7mI.d.ts → index-iwZ0at5o.d.ts} +2 -2
- package/dist/index.d.ts +8 -8
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/dist/intelligence.d.ts +4 -4
- package/dist/intelligence.js +3 -3
- package/dist/kernel.d.ts +6 -6
- package/dist/kernel.js +7 -7
- package/dist/{knowledge-DOpOk7f5.js → knowledge-By_lZ80W.js} +3 -3
- package/dist/{knowledge-DOpOk7f5.js.map → knowledge-By_lZ80W.js.map} +1 -1
- package/dist/knowledge.d.ts +1 -1
- package/dist/knowledge.js +1 -1
- package/dist/{loop-runner-bin-D38yZAyS.js → loop-runner-bin-CjsTZUVS.js} +3 -3
- package/dist/{loop-runner-bin-D38yZAyS.js.map → loop-runner-bin-CjsTZUVS.js.map} +1 -1
- package/dist/{loop-runner-bin-DHjRAhLD.d.ts → loop-runner-bin-D9OAFkP_.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 +3 -3
- package/dist/mcp/index.js +4 -4
- package/dist/{openai-tools-CMrN2Ik_.js → openai-tools-BATxru3h.js} +2 -2
- package/dist/{openai-tools-CMrN2Ik_.js.map → openai-tools-BATxru3h.js.map} +1 -1
- package/dist/primeintellect/index.d.ts +1 -1
- package/dist/{redact-C49ag0R2.d.ts → redact-mWj5eu4X.d.ts} +102 -5
- package/dist/{runtime-D5GueIHH.js → runtime-YuPbrgG1.js} +6 -6
- package/dist/{runtime-D5GueIHH.js.map → runtime-YuPbrgG1.js.map} +1 -1
- package/dist/{runtime-B0rxwNg7.d.ts → runtime-aXvRThzL.d.ts} +3 -3
- package/dist/{stream-agent-turn-DcDznEnq.d.ts → stream-agent-turn-BXiMHdCf.d.ts} +2 -2
- package/dist/{structural-rollout-9jcaIsxA.js → structural-rollout-Dq0j-JHl.js} +2 -2
- package/dist/{structural-rollout-9jcaIsxA.js.map → structural-rollout-Dq0j-JHl.js.map} +1 -1
- package/dist/{supervise-C9iPh1y6.js → supervise-BDj-uFfb.js} +4 -4
- package/dist/{supervise-C9iPh1y6.js.map → supervise-BDj-uFfb.js.map} +1 -1
- package/dist/{supervisor-DAHeTMAT.js → supervisor-DlVTwwJb.js} +125 -26
- package/dist/supervisor-DlVTwwJb.js.map +1 -0
- package/dist/testing.d.ts +2 -2
- package/dist/testing.js +11 -11
- package/dist/{types-CIg5DBNF.d.ts → types-B9KAen_0.d.ts} +51 -5
- package/package.json +4 -4
- package/dist/improvement-cycle-0H8-10KE.js.map +0 -1
- package/dist/supervisor-DAHeTMAT.js.map +0 -1
|
@@ -5599,17 +5599,19 @@ function readPromptOptions(loopCtx) {
|
|
|
5599
5599
|
* (feed them from `readTraceContextFromEnv()`), which makes the recorder's own ids the outer ones
|
|
5600
5600
|
* and so makes every stamped child inherit them too.
|
|
5601
5601
|
*
|
|
5602
|
-
* WHICH BACKENDS PROPAGATE. Only a backend with a real
|
|
5603
|
-
*
|
|
5602
|
+
* WHICH BACKENDS PROPAGATE. Only a backend with a real channel to the worker can carry this, and
|
|
5603
|
+
* the ones that have none say so here rather than dropping it silently:
|
|
5604
5604
|
* - `cli` YES — `CliSeam.env` → the spawned subprocess.
|
|
5605
5605
|
* - `sandbox` YES — `CreateSandboxOptions.env` on the box the worker runs in (single-shot
|
|
5606
5606
|
* and steerable). This is the cross-MACHINE case the feature exists for.
|
|
5607
|
+
* - `bridge` YES — request headers on the bridge POST (`traceparent` plus the legacy
|
|
5608
|
+
* `x-trace-id` / `x-parent-span-id` pair, {@link workerTraceHeaders}); the
|
|
5609
|
+
* bridge stamps them into the harness child's environment at spawn.
|
|
5607
5610
|
* - `router`,
|
|
5608
5611
|
* `router-tools` NO — a direct model HTTP call. There is no worker process to inherit anything.
|
|
5609
|
-
* - `
|
|
5610
|
-
*
|
|
5611
|
-
*
|
|
5612
|
-
* channel to the transport first; until then they are honestly unpropagated.
|
|
5612
|
+
* - `cli-worktree` NO — the work is dispatched through a local harness transport that exposes
|
|
5613
|
+
* no environment channel. Wiring it means adding that channel to the transport
|
|
5614
|
+
* first; until then it is honestly unpropagated.
|
|
5613
5615
|
* - `provider` NO — `AgentEnvironmentProvider` has no environment field on its port.
|
|
5614
5616
|
*/
|
|
5615
5617
|
/**
|
|
@@ -5617,15 +5619,16 @@ function readPromptOptions(loopCtx) {
|
|
|
5617
5619
|
* discriminant means an EIGHTH backend arm cannot be added without classifying it here — the prose
|
|
5618
5620
|
* alone could go stale silently, which is the failure this table exists to prevent.
|
|
5619
5621
|
*
|
|
5620
|
-
* `true` = the arm has a real
|
|
5621
|
-
* `false` = it has none today; it is honestly unpropagated rather than silently
|
|
5622
|
+
* `true` = the arm has a real channel to the worker (environment or transport headers) and stamps
|
|
5623
|
+
* the context. `false` = it has none today; it is honestly unpropagated rather than silently
|
|
5624
|
+
* dropping.
|
|
5622
5625
|
*/
|
|
5623
5626
|
const WORKER_TRACE_PROPAGATION = {
|
|
5624
5627
|
cli: true,
|
|
5625
5628
|
sandbox: true,
|
|
5626
5629
|
router: false,
|
|
5627
5630
|
"router-tools": false,
|
|
5628
|
-
bridge:
|
|
5631
|
+
bridge: true,
|
|
5629
5632
|
"cli-worktree": false,
|
|
5630
5633
|
provider: false
|
|
5631
5634
|
};
|
|
@@ -5660,6 +5663,22 @@ function workerTraceEnv(ctx) {
|
|
|
5660
5663
|
const traceContext = readWorkerTraceContext(ctx);
|
|
5661
5664
|
return traceContext ? traceContextToEnv(traceContext) : {};
|
|
5662
5665
|
}
|
|
5666
|
+
/**
|
|
5667
|
+
* The trace request headers for a worker dispatched over the cli-bridge HTTP transport — W3C
|
|
5668
|
+
* `traceparent` plus the legacy `x-trace-id` / `x-parent-span-id` pair the bridge also reads —
|
|
5669
|
+
* EMPTY when the run records no spans, which keeps the untraced request byte-identical. Derived
|
|
5670
|
+
* from the same dual-write the env channel uses ({@link workerTraceEnv}), so the header and env
|
|
5671
|
+
* spellings can never name different traces. `traceparent` is present only when a parent span id
|
|
5672
|
+
* exists (the W3C grammar requires one); the legacy pair still carries a lone trace id.
|
|
5673
|
+
*/
|
|
5674
|
+
function workerTraceHeaders(ctx) {
|
|
5675
|
+
const env = workerTraceEnv(ctx);
|
|
5676
|
+
return {
|
|
5677
|
+
...env.TRACEPARENT !== void 0 ? { traceparent: env.TRACEPARENT } : {},
|
|
5678
|
+
...env.TRACE_ID !== void 0 ? { "x-trace-id": env.TRACE_ID } : {},
|
|
5679
|
+
...env.PARENT_SPAN_ID !== void 0 ? { "x-parent-span-id": env.PARENT_SPAN_ID } : {}
|
|
5680
|
+
};
|
|
5681
|
+
}
|
|
5663
5682
|
//#endregion
|
|
5664
5683
|
//#region src/runtime/supervise/worktree-cli-executor.ts
|
|
5665
5684
|
/**
|
|
@@ -6873,6 +6892,7 @@ const bridgeExecutor = (spec, ctx) => {
|
|
|
6873
6892
|
const maxReconnects = seam.maxReconnects ?? 3;
|
|
6874
6893
|
const sessionId = seam.sessionId ?? `bridge-${spec.profile.name ?? "worker"}-${randomUUID()}`;
|
|
6875
6894
|
const attemptId = ctx.node?.attemptId ?? newExecutionAttemptId(sessionId);
|
|
6895
|
+
const traceHeaders = workerTraceHeaders(ctx);
|
|
6876
6896
|
const controller = new AbortController();
|
|
6877
6897
|
const abortIfSignalled = () => {
|
|
6878
6898
|
if (ctx.signal.aborted) controller.abort();
|
|
@@ -6966,6 +6986,7 @@ const bridgeExecutor = (spec, ctx) => {
|
|
|
6966
6986
|
sessionId,
|
|
6967
6987
|
maxTurns,
|
|
6968
6988
|
maxReconnects,
|
|
6989
|
+
traceHeaders,
|
|
6969
6990
|
inbox,
|
|
6970
6991
|
controller,
|
|
6971
6992
|
activeRuns,
|
|
@@ -7200,7 +7221,8 @@ async function* streamBridgeSession(args) {
|
|
|
7200
7221
|
body: requestBody,
|
|
7201
7222
|
signal: turnController.signal,
|
|
7202
7223
|
run: activeRun,
|
|
7203
|
-
maxReconnects: args.maxReconnects
|
|
7224
|
+
maxReconnects: args.maxReconnects,
|
|
7225
|
+
traceHeaders: args.traceHeaders
|
|
7204
7226
|
})) {
|
|
7205
7227
|
if (chunk.content) turnText += chunk.content;
|
|
7206
7228
|
for (const step of chunk.toolCalls ?? []) {
|
|
@@ -7338,7 +7360,8 @@ async function* streamDurableBridgeRun(args) {
|
|
|
7338
7360
|
runId: args.run.id,
|
|
7339
7361
|
afterEventId: args.run.lastEventId,
|
|
7340
7362
|
body: args.body,
|
|
7341
|
-
signal: args.signal
|
|
7363
|
+
signal: args.signal,
|
|
7364
|
+
traceHeaders: args.traceHeaders
|
|
7342
7365
|
});
|
|
7343
7366
|
} catch (error) {
|
|
7344
7367
|
if (args.signal.aborted) throw error;
|
|
@@ -7462,6 +7485,7 @@ function bridgeStreamPost(url, args) {
|
|
|
7462
7485
|
const req = requestFn(target, {
|
|
7463
7486
|
method: "POST",
|
|
7464
7487
|
headers: {
|
|
7488
|
+
...args.traceHeaders,
|
|
7465
7489
|
"content-type": "application/json",
|
|
7466
7490
|
authorization: `Bearer ${args.bearer}`,
|
|
7467
7491
|
"x-session-id": args.sessionId,
|
|
@@ -11444,10 +11468,16 @@ function assertRootIdentity(opts) {
|
|
|
11444
11468
|
const validCorrelation = correlation === void 0 || typeof correlation === "object" && correlation !== null && !Array.isArray(correlation) && Object.entries(correlation).every(([key, value]) => key.length > 0 && typeof value === "string" && value.length > 0);
|
|
11445
11469
|
if (unknownFields.length > 0 || !sha256DigestSchema.safeParse(identity.profileDigest).success || !sha256DigestSchema.safeParse(identity.taskDigest).success || identity.candidateDigest !== void 0 && !sha256DigestSchema.safeParse(identity.candidateDigest).success || !validCorrelation) throw new RuntimeRunStateError(`supervisor: run '${opts.runId}' requires an exact rootIdentity with valid profileDigest, taskDigest, candidateDigest, and correlation`);
|
|
11446
11470
|
}
|
|
11447
|
-
|
|
11471
|
+
/** The instant the run's root was journaled — the anchor for both the absolute deadline and the
|
|
11472
|
+
* terminal wall-clock `ms`, so a resumed run measures from its ORIGINAL start, not this
|
|
11473
|
+
* process's. */
|
|
11474
|
+
function rootStartedAtMs(root) {
|
|
11448
11475
|
const startedAt = Date.parse(root.at);
|
|
11449
11476
|
if (!Number.isFinite(startedAt)) throw new RuntimeRunStateError(`supervisor: root event for '${root.id}' has an invalid timestamp '${root.at}'`);
|
|
11450
|
-
return startedAt
|
|
11477
|
+
return startedAt;
|
|
11478
|
+
}
|
|
11479
|
+
function rootDeadline(root) {
|
|
11480
|
+
return rootStartedAtMs(root) + (root.budget.deadlineMs ?? 0);
|
|
11451
11481
|
}
|
|
11452
11482
|
/** Child reservations whose spawn was durable but whose terminal record never landed. */
|
|
11453
11483
|
function uncertainSpawnBudgets(events) {
|
|
@@ -11535,8 +11565,10 @@ function createSupervisor() {
|
|
|
11535
11565
|
const resuming = prior !== void 0 && prior.length > 0;
|
|
11536
11566
|
let resumeFrom;
|
|
11537
11567
|
let pool;
|
|
11568
|
+
let runEpochMs = runStartedAtMs;
|
|
11538
11569
|
if (resuming) {
|
|
11539
11570
|
const rootEvent = assertResumeContract(prior, opts);
|
|
11571
|
+
runEpochMs = rootStartedAtMs(rootEvent);
|
|
11540
11572
|
const measured = sumMeasuredSpendFromEvents(prior);
|
|
11541
11573
|
const uncertainReservations = uncertainSpawnBudgets(prior);
|
|
11542
11574
|
pool = createBudgetPool(opts.budget, now, {
|
|
@@ -11691,13 +11723,14 @@ function createSupervisor() {
|
|
|
11691
11723
|
if (out !== void 0) {
|
|
11692
11724
|
const outRef = contentAddress(out);
|
|
11693
11725
|
await opts.blobs.put(outRef, out);
|
|
11694
|
-
const { childWork, driverInference } = await
|
|
11726
|
+
const { spentTotal, childWork, driverInference, gaps } = await terminalAccounting(journal, opts.runId, now() - runEpochMs);
|
|
11695
11727
|
return {
|
|
11696
11728
|
kind: "winner",
|
|
11697
11729
|
out,
|
|
11698
11730
|
outRef,
|
|
11699
11731
|
tree,
|
|
11700
|
-
spentTotal
|
|
11732
|
+
spentTotal,
|
|
11733
|
+
...gaps.length > 0 ? { spendGaps: gaps } : {},
|
|
11701
11734
|
...isNonEmptySpend(driverInference) ? { spentBreakdown: {
|
|
11702
11735
|
driverInference,
|
|
11703
11736
|
childWork
|
|
@@ -11708,12 +11741,13 @@ function createSupervisor() {
|
|
|
11708
11741
|
}
|
|
11709
11742
|
return noWinner({ error: actOutcome.error });
|
|
11710
11743
|
async function noWinner(rejection) {
|
|
11711
|
-
const {
|
|
11744
|
+
const { spentTotal, gaps } = await terminalAccounting(journal, opts.runId, now() - runEpochMs);
|
|
11712
11745
|
const common = {
|
|
11713
11746
|
kind: "no-winner",
|
|
11714
11747
|
tree,
|
|
11715
11748
|
downCount: breaker.downCount(),
|
|
11716
|
-
spentTotal
|
|
11749
|
+
spentTotal,
|
|
11750
|
+
...gaps.length > 0 ? { spendGaps: gaps } : {}
|
|
11717
11751
|
};
|
|
11718
11752
|
const lifecycle = classifyNoWinner(executionAborted, pool, opts, breaker, deadlineExceeded, allChildrenDownAtSettle, downCountAtSettle);
|
|
11719
11753
|
if (lifecycle !== void 0) return {
|
|
@@ -11954,16 +11988,81 @@ function poolExhausted(pool, opts) {
|
|
|
11954
11988
|
return false;
|
|
11955
11989
|
}
|
|
11956
11990
|
/**
|
|
11957
|
-
*
|
|
11958
|
-
*
|
|
11959
|
-
*
|
|
11960
|
-
* loud if the tree was never journaled (the supervisor always
|
|
11961
|
-
* tree is a corrupted journal, not a normal path).
|
|
11991
|
+
* The run's terminal accounting, read off the one journal ledger — the honest per-channel
|
|
11992
|
+
* sums (input/output/usd/iterations all preserved), the named usage gaps, and the wall-clock
|
|
11993
|
+
* duration stamped onto `spentTotal.ms`. Computed AFTER the join barrier so every child's
|
|
11994
|
+
* settlement is recorded. Fails loud if the tree was never journaled (the supervisor always
|
|
11995
|
+
* `beginTree`s, so a missing tree is a corrupted journal, not a normal path).
|
|
11996
|
+
*
|
|
11997
|
+
* `spentTotal.ms` is `elapsedMs`, never the per-event sum: executors under-report their own
|
|
11998
|
+
* `ms` (most stamp 0) and parallel children overlap, so the sum cannot state the run's real
|
|
11999
|
+
* duration. The breakdown keeps the executor-reported sums.
|
|
12000
|
+
*
|
|
12001
|
+
* `tokensKnown`/`usdKnown` are stamped explicitly on the terminal total: `true` is a checked
|
|
12002
|
+
* claim (every spawn reached a terminal record AND every settled/metered record carried a
|
|
12003
|
+
* complete receipt on that channel), never the absence of bad news. The conjunction with the
|
|
12004
|
+
* summed flags is deliberately redundant — a future divergence between the sum and the gap
|
|
12005
|
+
* scan can only make the claim more conservative, never falsely `true`.
|
|
11962
12006
|
*/
|
|
11963
|
-
async function
|
|
12007
|
+
async function terminalAccounting(journal, root, elapsedMs) {
|
|
11964
12008
|
const events = await journal.loadTree(root);
|
|
11965
12009
|
if (events === void 0) throw new RuntimeRunStateError(`supervisor: spawn tree '${root}' is missing from the journal after run (corrupted log)`);
|
|
11966
|
-
|
|
12010
|
+
const { childWork, driverInference } = sumSpendFromEvents(events);
|
|
12011
|
+
const gaps = spendGapsFromEvents(events);
|
|
12012
|
+
const summed = addSpend(childWork, driverInference);
|
|
12013
|
+
return {
|
|
12014
|
+
spentTotal: {
|
|
12015
|
+
...summed,
|
|
12016
|
+
ms: Math.max(0, elapsedMs),
|
|
12017
|
+
tokensKnown: summed.tokensKnown !== false && !gaps.some((gap) => gap.channels.includes("tokens")),
|
|
12018
|
+
usdKnown: summed.usdKnown !== false && !gaps.some((gap) => gap.channels.includes("usd"))
|
|
12019
|
+
},
|
|
12020
|
+
childWork,
|
|
12021
|
+
driverInference,
|
|
12022
|
+
gaps
|
|
12023
|
+
};
|
|
12024
|
+
}
|
|
12025
|
+
/** The journaled nodes whose usage accounting is incomplete — one `SpendGap` per node+kind,
|
|
12026
|
+
* channels merged. A spawn with no terminal record (`settled`/`cancelled`/`woken`) is
|
|
12027
|
+
* unaccounted on every channel; a settled or metered record that flags a channel unknown is
|
|
12028
|
+
* a floor on that channel. The root's own spawned event is exempt: its terminal state is the
|
|
12029
|
+
* result this list rides on. */
|
|
12030
|
+
function spendGapsFromEvents(events) {
|
|
12031
|
+
const labels = /* @__PURE__ */ new Map();
|
|
12032
|
+
const terminal = /* @__PURE__ */ new Set();
|
|
12033
|
+
for (const ev of events) if (ev.kind === "spawned") labels.set(ev.id, ev.label);
|
|
12034
|
+
else if (ev.kind === "settled" || ev.kind === "cancelled" || ev.kind === "woken") terminal.add(ev.id);
|
|
12035
|
+
const gaps = /* @__PURE__ */ new Map();
|
|
12036
|
+
const record = (id, kind, channels) => {
|
|
12037
|
+
if (channels.length === 0) return;
|
|
12038
|
+
const key = `${kind}:${id}`;
|
|
12039
|
+
const existing = gaps.get(key);
|
|
12040
|
+
if (existing !== void 0) for (const channel of channels) existing.channels.add(channel);
|
|
12041
|
+
else gaps.set(key, {
|
|
12042
|
+
id,
|
|
12043
|
+
kind,
|
|
12044
|
+
channels: new Set(channels)
|
|
12045
|
+
});
|
|
12046
|
+
};
|
|
12047
|
+
for (const ev of events) if (ev.kind === "spawned" && ev.parent !== void 0 && !terminal.has(ev.id)) record(ev.id, "never-settled", ["tokens", "usd"]);
|
|
12048
|
+
else if (ev.kind === "settled") record(ev.id, "unreported", unknownChannels(ev.spent));
|
|
12049
|
+
else if (ev.kind === "metered") record(ev.id, "unreported", unknownChannels(ev.spend));
|
|
12050
|
+
return [...gaps.values()].map((gap) => {
|
|
12051
|
+
const label = labels.get(gap.id);
|
|
12052
|
+
return {
|
|
12053
|
+
id: gap.id,
|
|
12054
|
+
...label !== void 0 ? { label } : {},
|
|
12055
|
+
kind: gap.kind,
|
|
12056
|
+
channels: [...gap.channels]
|
|
12057
|
+
};
|
|
12058
|
+
});
|
|
12059
|
+
}
|
|
12060
|
+
/** The channels a single spend record explicitly marks incomplete. */
|
|
12061
|
+
function unknownChannels(spend) {
|
|
12062
|
+
const channels = [];
|
|
12063
|
+
if (spend.tokensKnown === false) channels.push("tokens");
|
|
12064
|
+
if (spend.usdKnown === false) channels.push("usd");
|
|
12065
|
+
return channels;
|
|
11967
12066
|
}
|
|
11968
12067
|
/** Per-channel sum over a journaled event list: `settled` = spawned-child work (reconciled);
|
|
11969
12068
|
* `metered` = driver inference (re-homed up the tree, so a single root-tree pass already
|
|
@@ -12035,6 +12134,6 @@ function isNonEmptySpend(s) {
|
|
|
12035
12134
|
return s.iterations > 0 || s.tokens.input > 0 || s.tokens.output > 0 || s.usd > 0 || s.ms > 0 || s.tokensKnown === false || s.usdKnown === false;
|
|
12036
12135
|
}
|
|
12037
12136
|
//#endregion
|
|
12038
|
-
export {
|
|
12137
|
+
export { runAgentRounds as $, bindReusableExecutorExecutionId as A, createWorktree as At, workerTraceHeaders as B, controlProfileMaterialization as Bt, queueOf as C, createRuntimeStreamEventCollector as Ct, assertValidBudget as D, runSettledCommand as Dt, teardownExecutor as E, sanitizeRuntimeStreamEvent as Et, snapshotExecutorConfig as F, localHarnessExecutable as Ft, decodeToolPart as G, promptModelProfileMaterialization as Gt, DEFAULT_SANDBOX_STEERING_MAX_TURNS as H, fullProfileMaterialization as Ht, createWorktreeCliExecutor as I, parseCodexTokenUsage as It, createActivityLog as J, renderProfileMaterializationIssues as Jt, sandboxSessionTraceSource as K, promptOnlyProfileMaterialization as Kt, WORKER_TRACE_PROPAGATION as L, CodexExecutionDiagnosticError as Lt, cliWorktreeExecutor as M, DEFAULT_LOCAL_HARNESS as Mt, createExecutor as N, LOCAL_HARNESSES as Nt, createBudgetPool as O, runWorktreeHarness as Ot, createExecutorRegistry as P, harnessSupportsReasoningEffort as Pt, defaultSelectWinner as Q, readWorkerTraceContext as R, AGENT_PROFILE_MATERIALIZATION_AXES as Rt, freeSlots as S, createRuntimeEventCollector as St, DEFAULT_SUCCESSFUL_SHUTDOWN_MS as T, sanitizeKnowledgeReadinessReport as Tt, createSteerableSandboxSession as U, profileMaterializationAxes$1 as Ut, workerTraceSeamKey as V, defineProfileMaterializationContract as Vt, createPushTraceSource as W, promptControlProfileMaterialization as Wt, createInbox as X, validateProfileMaterialization as Xt, readWorkerProgress as Y, sandboxActProfileMaterialization as Yt, createSandboxForSpec as Z, worktreeCliProfileMaterialization as Zt, pollFor as _, generateSpanId as _t, pickBestDelivered as a, createPropagatingTraceEmitter as at, waitUntil as b, padTraceId as bt, driverChild as c, traceContextToEnv as ct, deriveNodeExecutionIdentity as d, buildLoopSpanNodes as dt, createSandboxLineage as et, recordScopeOwnerMaterialization as f, buildRuntimeEventOtelSpans as ft, isWaitOutcome as g, flatOtelSpan as gt, createWaitProbes as h, exportEvalRuns as ht, collectDelivered as i, runBrainLoop as it, captureReusableExecutorConfig as j, removeWorktree as jt, spendFromUsageEvents as k, captureWorktreeDiff as kt, withDriverExecutor as l, INTELLIGENCE_WIRE_VERSION as lt, settledToIteration as m, createOtelExporter as mt, createSupervisor as n, acquireSandbox as nt, runFinalizer as o, mergeTraceEnv as ot, scopeOwnerExecutorNodeContext as p, createOpenInferenceFileExporter as pt, DEFAULT_STALL_AFTER_MS as q, promptResourceProfileMaterialization as qt, bestDelivered as r, routerBrain as rt, runTree as s, readTraceContextFromEnv as st, createRootHandle as t, probeSandboxCapabilities as tt, createScope as u, buildLoopOtelSpans as ut, timerAt as v, loopEventToOtelSpan as vt, rollingDispatch as w, sanitizeAgentRuntimeEvent as wt, effectiveConcurrency as x, toOtelAttributes as xt, validateWaitSpec as y, padSpanId as yt, workerTraceEnv as z, assertProfileMaterialization as zt };
|
|
12039
12138
|
|
|
12040
|
-
//# sourceMappingURL=supervisor-
|
|
12139
|
+
//# sourceMappingURL=supervisor-DlVTwwJb.js.map
|