@tangle-network/agent-runtime 0.273.5 → 0.277.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.
Files changed (57) hide show
  1. package/dist/{activation-Cx2dKA_l.js → activation-CbxhVtVV.js} +2 -2
  2. package/dist/{activation-Cx2dKA_l.js.map → activation-CbxhVtVV.js.map} +1 -1
  3. package/dist/{activation-IfDlhR3J.d.ts → activation-puw9_ahP.d.ts} +2 -2
  4. package/dist/agent.d.ts +2 -2
  5. package/dist/agent.js +2 -2
  6. package/dist/{coordination-driver-CkcW4dxU.js → coordination-driver-ZfUf-H4H.js} +95 -28
  7. package/dist/coordination-driver-ZfUf-H4H.js.map +1 -0
  8. package/dist/{delegate-Dvb1-mE-.js → delegate-DXOyzIq0.js} +2 -2
  9. package/dist/{delegate-Dvb1-mE-.js.map → delegate-DXOyzIq0.js.map} +1 -1
  10. package/dist/durable.d.ts +2 -2
  11. package/dist/durable.js +2 -2
  12. package/dist/{graph-C69Uxtzt.js → graph-sGWwXC6E.js} +4 -4
  13. package/dist/{graph-C69Uxtzt.js.map → graph-sGWwXC6E.js.map} +1 -1
  14. package/dist/{improvement-cycle-CO2HRCQq.js → improvement-cycle-DQyN0__A.js} +3 -3
  15. package/dist/{improvement-cycle-CO2HRCQq.js.map → improvement-cycle-DQyN0__A.js.map} +1 -1
  16. package/dist/{index-D2ipSqkP.d.ts → index-CmAFFnsd.d.ts} +46 -14
  17. package/dist/index.d.ts +6 -6
  18. package/dist/index.js +7 -7
  19. package/dist/intelligence.d.ts +3 -3
  20. package/dist/intelligence.js +4 -4
  21. package/dist/intelligence.js.map +1 -1
  22. package/dist/kernel.d.ts +4 -4
  23. package/dist/kernel.js +8 -8
  24. package/dist/{loop-runner-bin-B9MIq9O7.js → loop-runner-bin-BTnEDWj3.js} +3 -3
  25. package/dist/{loop-runner-bin-B9MIq9O7.js.map → loop-runner-bin-BTnEDWj3.js.map} +1 -1
  26. package/dist/{loop-runner-bin-ThlwVkvo.d.ts → loop-runner-bin-DGUASE9O.d.ts} +3 -3
  27. package/dist/loop-runner-bin.d.ts +1 -1
  28. package/dist/loop-runner-bin.js +1 -1
  29. package/dist/mcp/bin.js +3 -3
  30. package/dist/mcp/index.d.ts +5 -5
  31. package/dist/mcp/index.js +4 -4
  32. package/dist/{openai-tools-Bb0mAr5z.d.ts → openai-tools-Gc8p4PBq.d.ts} +2 -2
  33. package/dist/profiles.d.ts +2 -2
  34. package/dist/{provision-supervisor-BKAvsDtP.js → provision-supervisor-BgjtrTlv.js} +3 -3
  35. package/dist/{provision-supervisor-BKAvsDtP.js.map → provision-supervisor-BgjtrTlv.js.map} +1 -1
  36. package/dist/{runtime-CHxXrUeZ.js → runtime-DoFvrisL.js} +73 -26
  37. package/dist/runtime-DoFvrisL.js.map +1 -0
  38. package/dist/{server-2OeFrEVG.js → server-D2d83_iS.js} +3 -3
  39. package/dist/{server-2OeFrEVG.js.map → server-D2d83_iS.js.map} +1 -1
  40. package/dist/{stream-agent-turn-ewm3BZAp.d.ts → stream-agent-turn-BqU5Sfbw.d.ts} +2 -2
  41. package/dist/{structural-rollout-DCUprNpH.js → structural-rollout-VR-j5t9d.js} +2 -2
  42. package/dist/{structural-rollout-DCUprNpH.js.map → structural-rollout-VR-j5t9d.js.map} +1 -1
  43. package/dist/{substrate-VKjmrksz.d.ts → substrate-CfE3oUB9.d.ts} +2 -2
  44. package/dist/{supervise-Dej5aSDa.js → supervise-BoCOUAmr.js} +149 -5
  45. package/dist/supervise-BoCOUAmr.js.map +1 -0
  46. package/dist/{supervisor-DdKPGluv.js → supervisor-CjNbOcLO.js} +49 -14
  47. package/dist/supervisor-CjNbOcLO.js.map +1 -0
  48. package/dist/testing.d.ts +2 -2
  49. package/dist/testing.js +60 -60
  50. package/dist/tui/index.d.ts +1 -1
  51. package/dist/tui/index.js +1 -1
  52. package/dist/{types-DMRc3jru.d.ts → types-CI7ve2sA.d.ts} +25 -10
  53. package/package.json +5 -5
  54. package/dist/coordination-driver-CkcW4dxU.js.map +0 -1
  55. package/dist/runtime-CHxXrUeZ.js.map +0 -1
  56. package/dist/supervise-Dej5aSDa.js.map +0 -1
  57. package/dist/supervisor-DdKPGluv.js.map +0 -1
@@ -1622,7 +1622,8 @@ function buildLlmCall(data, agentRunName) {
1622
1622
  const promptCache = readPromptCacheUsage(data);
1623
1623
  const tokensKnown = explicitTokensKnown !== false && tokensIn !== void 0 && outputTokens !== void 0;
1624
1624
  const usdKnown = explicitCostKnown !== false && costUsd !== void 0 && (costProvenance === void 0 || costProvenance === "provider-receipt" || costProvenance === "billing-receipt");
1625
- if (tokensIn === void 0 && tokensOut === void 0 && costUsd === void 0 && catalogEstimate === void 0 && promptCache === void 0 && explicitTokensKnown !== false && explicitCostKnown !== false) return;
1625
+ const tools = readOfferedTools(data.tools);
1626
+ if (tokensIn === void 0 && tokensOut === void 0 && costUsd === void 0 && catalogEstimate === void 0 && promptCache === void 0 && tools === void 0 && explicitTokensKnown !== false && explicitCostKnown !== false) return;
1626
1627
  const event = {
1627
1628
  type: "llm_call",
1628
1629
  model: typeof data.model === "string" && data.model.length > 0 ? data.model : agentRunName
@@ -1634,8 +1635,17 @@ function buildLlmCall(data, agentRunName) {
1634
1635
  if (!usdKnown) event.usdKnown = false;
1635
1636
  if (catalogEstimate !== void 0) event.estimatedCostUsd = catalogEstimate;
1636
1637
  if (promptCache !== void 0) event.promptCache = promptCache;
1638
+ if (tools !== void 0) event.tools = tools;
1637
1639
  return event;
1638
1640
  }
1641
+ /** `data.tools`, when it is a non-empty array of non-empty tool-name strings. Anything else
1642
+ * (absent, empty, wrong element type) is treated as "the producer did not report its offered
1643
+ * set" — never a placeholder empty list, which would read as "offered zero tools" downstream. */
1644
+ function readOfferedTools(value) {
1645
+ if (!Array.isArray(value) || value.length === 0) return void 0;
1646
+ const names = value.filter((v) => typeof v === "string" && v.length > 0);
1647
+ return names.length === value.length ? names : void 0;
1648
+ }
1639
1649
  /**
1640
1650
  * Every wire spelling of a prompt-cache READ counter, in precedence order: the canonical name
1641
1651
  * first, then the spellings observed on the paths that reach this extractor — the sandbox terminal
@@ -5142,6 +5152,10 @@ function createRuntimeStreamEventCollector(options = {}) {
5142
5152
  * The exporter accepts both raw OtelSpan objects and LoopTraceEvents
5143
5153
  * (which get converted to OTLP spans automatically).
5144
5154
  */
5155
+ /** OTel GenAI: the tool definitions offered to the model. Matches the constant agent-eval and
5156
+ * traces each define locally for the same external convention (there is no shared semconv
5157
+ * package to import it from). */
5158
+ const TOOL_DEFINITIONS_ATTR = "gen_ai.tool.definitions";
5145
5159
  const SCOPE = {
5146
5160
  name: "@tangle-network/agent-runtime",
5147
5161
  version: "0.83.0"
@@ -5502,7 +5516,7 @@ function buildRuntimeEventOtelSpans(events, traceId, parentSpanId, options = {})
5502
5516
  if (parentSpanId) attrs[ATTR.parentConfidence] = "explicit";
5503
5517
  if (event.type === "tool_call" || event.type === "tool_result") {
5504
5518
  name = `agent.${event.type}`;
5505
- if (event.type === "tool_call") attrs[ATTR.spanKind] = "TOOL";
5519
+ attrs[ATTR.spanKind] = event.type === "tool_call" ? "TOOL" : "UNKNOWN";
5506
5520
  attrs["tool.name"] = event.toolName;
5507
5521
  if (event.toolCallId) attrs["tool.call_id"] = event.toolCallId;
5508
5522
  const mcp = mcpIdentity(event.toolName);
@@ -5519,6 +5533,10 @@ function buildRuntimeEventOtelSpans(events, traceId, parentSpanId, options = {})
5519
5533
  if (event.costUsd !== void 0) attrs["tangle.cost.usd"] = event.costUsd;
5520
5534
  if (event.latencyMs !== void 0) attrs["tangle.latency_ms"] = event.latencyMs;
5521
5535
  if (event.finishReason !== void 0) attrs["gen_ai.response.finish_reasons"] = event.finishReason;
5536
+ if (event.tools !== void 0 && event.tools.length > 0) attrs[TOOL_DEFINITIONS_ATTR] = JSON.stringify(event.tools.map((toolName) => ({
5537
+ type: "function",
5538
+ name: toolName
5539
+ })));
5522
5540
  } else if (event.type === "backend_error") {
5523
5541
  attrs["error.type"] = event.error?.kind ?? "backend";
5524
5542
  attrs["error.message"] = event.message;
@@ -5556,9 +5574,9 @@ function buildRuntimeEventOtelSpans(events, traceId, parentSpanId, options = {})
5556
5574
  * verdict / placement / cost (not yet standardized). Pure: feed it a buffered
5557
5575
  * per-runId event array (e.g. flushed on `loop.ended`) and export the result.
5558
5576
  */
5559
- function buildLoopOtelSpans(events, traceId, rootParentSpanId) {
5577
+ function buildLoopOtelSpans(events, traceId, rootParentSpanId, redact) {
5560
5578
  const tid = padTraceId(traceId);
5561
- return buildLoopSpanNodes(events).map((node) => ({
5579
+ return buildLoopSpanNodes(events, redact).map((node) => ({
5562
5580
  traceId: tid,
5563
5581
  spanId: node.spanId,
5564
5582
  parentSpanId: node.parentSpanId ? padSpanId(node.parentSpanId) : rootParentSpanId ? padSpanId(rootParentSpanId) : void 0,
@@ -5592,11 +5610,18 @@ const LOOP_SPAN_KIND = {
5592
5610
  * Tolerates partial streams (a run that never reached `loop.ended` closes
5593
5611
  * at the last observed event's timestamp).
5594
5612
  */
5595
- function buildLoopSpanNodes(events) {
5613
+ function buildLoopSpanNodes(events, redact) {
5596
5614
  if (events.length === 0) return [];
5597
5615
  const out = [];
5598
5616
  const num = (v) => typeof v === "number" && Number.isFinite(v) ? v : void 0;
5599
5617
  const str = (v) => typeof v === "string" && v.length > 0 ? v : void 0;
5618
+ const strRedacted = (v) => {
5619
+ const s = str(v);
5620
+ if (s === void 0) return void 0;
5621
+ if (!redact) return s;
5622
+ const safe = redact(s);
5623
+ return typeof safe === "string" ? safe : JSON.stringify(safe);
5624
+ };
5600
5625
  const rec = (v) => v && typeof v === "object" ? v : {};
5601
5626
  const started = events.find((e) => e.kind === "loop.started");
5602
5627
  const ended = events.find((e) => e.kind === "loop.ended");
@@ -5665,7 +5690,7 @@ function buildLoopSpanNodes(events) {
5665
5690
  "tangle.loop.move.round": roundIdx,
5666
5691
  "tangle.loop.move.width": num(p.plannedCount) ?? 0
5667
5692
  };
5668
- const r = str(p.rationale);
5693
+ const r = strRedacted(p.rationale);
5669
5694
  if (r) attrs["tangle.loop.move.rationale"] = r;
5670
5695
  const parent = num(p.parentIndex);
5671
5696
  if (parent !== void 0) attrs["tangle.loop.move.parent_index"] = parent;
@@ -5702,7 +5727,7 @@ function buildLoopSpanNodes(events) {
5702
5727
  case "loop.iteration.ended": {
5703
5728
  const idx = num(p.iterationIndex) ?? 0;
5704
5729
  const start = iterStartTs.get(idx) ?? e.timestamp;
5705
- const err = str(p.error);
5730
+ const err = strRedacted(p.error);
5706
5731
  const attrs = {
5707
5732
  [GEN_AI.operation]: "invoke_agent",
5708
5733
  "tangle.loop.iteration.index": idx
@@ -5729,7 +5754,7 @@ function buildLoopSpanNodes(events) {
5729
5754
  if (par !== void 0) attrs["tangle.loop.iteration.parent_index"] = par;
5730
5755
  const dur = num(p.durationMs);
5731
5756
  if (dur !== void 0) attrs["tangle.loop.iteration.duration_ms"] = dur;
5732
- const preview = str(p.outputPreview);
5757
+ const preview = strRedacted(p.outputPreview);
5733
5758
  if (preview) attrs["tangle.loop.iteration.output_preview"] = preview;
5734
5759
  Object.assign(attrs, placementByIdx.get(idx) ?? {});
5735
5760
  out.push(make(generateSpanId(), recordedRoundId ?? currentRoundId ?? rootId, "loop.iteration", "branch", start, e.timestamp, attrs, err !== void 0));
@@ -5737,7 +5762,7 @@ function buildLoopSpanNodes(events) {
5737
5762
  }
5738
5763
  case "loop.decision":
5739
5764
  if (pendingRound) {
5740
- const dec = str(p.decision);
5765
+ const dec = strRedacted(p.decision);
5741
5766
  if (dec) pendingRound.attrs["tangle.loop.decision"] = dec;
5742
5767
  flushRound(e.timestamp);
5743
5768
  }
@@ -26308,14 +26333,23 @@ function createContinuationKeeper(input) {
26308
26333
  const questions = expandQuestions(policy.profile.questions ?? [], failing, workers);
26309
26334
  const left = policy.panelUsd.perRun - panelUsd;
26310
26335
  const usdCap = Math.min(policy.panelUsd.perContinuation, left);
26311
- if (questions.length > 0 && usdCap > 0 && panelUsdKnown) {
26336
+ const asking = questions.length > 0 && usdCap > 0 && panelUsdKnown;
26337
+ let traces;
26338
+ let unavailable;
26339
+ if (asking) try {
26340
+ traces = await input.traces?.();
26341
+ if (traces === void 0) unavailable = "the run has recorded no trace yet";
26342
+ } catch (error) {
26343
+ unavailable = `the run's traces could not be read: ${error instanceof Error ? error.message : String(error)}`;
26344
+ }
26345
+ if (asking && traces !== void 0) {
26312
26346
  const result = await policy.runPanel({
26313
26347
  continuation,
26314
26348
  task: input.task,
26315
26349
  ...verdict === void 0 ? {} : { verdict },
26316
26350
  reads: input.reads(),
26317
26351
  questions,
26318
- ...input.rootStreamPath === void 0 ? {} : { rootStreamPath: input.rootStreamPath },
26352
+ traces,
26319
26353
  workers,
26320
26354
  ...policy.best === void 0 ? {} : { bar: policy.best },
26321
26355
  ...policy.reference === void 0 ? {} : { reference: policy.reference },
@@ -26343,7 +26377,8 @@ function createContinuationKeeper(input) {
26343
26377
  asked: 0,
26344
26378
  proposed: 0,
26345
26379
  admitted: 0,
26346
- usd: 0
26380
+ usd: 0,
26381
+ ...unavailable === void 0 ? {} : { unavailable }
26347
26382
  };
26348
26383
  }
26349
26384
  const appended = policy.append ? await policy.append({
@@ -26494,7 +26529,7 @@ function createContinuationKeeper(input) {
26494
26529
  * them) and each run's budget and 8-hour deadline were almost untouched.
26495
26530
  */
26496
26531
  const DEFAULT_MAX_CONSECUTIVE_FAILURES = 3;
26497
- const DEFAULT_MAX_ATTEMPTS = 8;
26532
+ const DEFAULT_MAX_ATTEMPTS = Number.POSITIVE_INFINITY;
26498
26533
  const DEFAULT_INITIAL_BACKOFF_MS = 2e3;
26499
26534
  const DEFAULT_MAX_BACKOFF_MS = 3e4;
26500
26535
  /**
@@ -27932,4 +27967,4 @@ function isNonEmptySpend(s) {
27932
27967
  //#endregion
27933
27968
  export { bindScopeRetainedOwnerProvider as $, detachedSnapshot as $i, providerAsExecutor as $n, runWorktreeHarness as $r, BudgetReconcileFault as $t, driverExecutorFactory as A, resourceTelemetry as Aa, readCommittedJsonLines as Ai, addHarnessUsage as An, createPropagatingTraceEmitter as Ar, snapshotExecutorConfig as At, recordScopeOwnerMaterialization as B, promptOptionsFromAgentTurnInput as Ba, providerAttemptEvidence as Bi, runAgentRounds as Bn, exportEvalRuns as Br, SpawnEventIndex as Bt, createContinuationKeeper as C, stringifySafe as Ca, sandboxActProfileMaterialization as Ci, peerMailTools as Cn, defaultRedactorIdentityMaterial as Cr, rollingDispatch as Ct, passedItems as D, withTimeout as Da, isNoEntError as Di, executorFailure as Dn, persistHarnessTranscript as Dr, cliWorktreeExecutor as Dt, failedItems as E, unmeteredSpend as Ea, worktreeCliProfileMaterialization as Ei, isTerminalNodeStatus as En, harnessTranscriptArtifact as Er, cliInPlaceExecutor as Et, beginScopeOwnerAttempt as F, DEFAULT_SUCCESSFUL_SHUTDOWN_MS as Fa, finalizeRuntimeOwnedPendingExecutor as Fi, bridgeStopSignalKey as Fn, buildLoopOtelSpans as Fr, createInPlaceCliExecutor as Ft, createWorkerSlots as G, runtimeOwnedExecutorProviderEvidence as Gi, readPromptOptions as Gn, padTraceId as Gr, materializeTreeView as Gt, restoreScopeOwnerAcceptedExecution as H, runtimeOwnedDriveHarnessProviderEvidence as Hi, probeSandboxCapabilities as Hn, generateSpanId as Hr, encodeResultBlob as Ht, createScope as I, armDeadlineTimer as Ia, inheritRuntimeOwnedExecutorAttestation as Ii, TERMINAL_DECISIONS as In, buildLoopSpanNodes as Ir, FileResultBlobStore as It, pollFor as J, unknownExecutionBindingReceipt as Ji, canonicalObservedModelParts as Jn, createRuntimeStreamEventCollector as Jr, WORKER_TOOL_TRACE_SCHEMA_VERSION as Jt, createWaitProbes as K, runtimeOwnedPendingExecutorMaterialization as Ki, routerBrain as Kn, toOtelAttributes as Kr, pendingWaits as Kt, deriveNodeExecutionIdentity as L, teardownExecutor as La, knownExecutionBindingReceipt as Li, createSandboxForSpec as Ln, buildRuntimeEventOtelSpans as Lr, FileSpawnJournal as Lt, withDriverExecutor as M, decodeHarnessUsage as Ma, attestRuntimeOwnedPendingExecutor as Mi, harnessUsageIsEmpty as Mn, readTraceContextFromEnv as Mr, DEFAULT_SANDBOX_STEERING_MAX_TURNS as Mt, SUBTREE_RESULT_LIMIT as N, abortError$2 as Na, attestRuntimeOwnedScopeOwner as Ni, readCodexRolloutSession as Nn, traceContextToEnv as Nr, createSteerableSandboxSession as Nt, verdictFromJudgeScore as O, zeroSpend as Oa, parseCommittedJsonLines as Oi, bridgeAdmissionRefusal as On, readHarnessTranscript as Or, createExecutor as Ot, assertRecursiveReservationPolicy as P, awaitAbortable$1 as Pa, authoredProfileDigest as Pi, bridgeRuntimeAttachmentsKey as Pn, INTELLIGENCE_WIRE_VERSION as Pr, createRouterTranscript as Pt, bindScopeRetainedOwnerEnvironmentId as Q, detachedFrozen as Qi, createAgentEnvironmentProviderRegistry as Qn, runSettledCommand as Qr, workerTraceAnalysisStore as Qt, meterRuntimeOwnedAccounting as R, teardownSurfaces as Ra, knownMaterializationReceipt as Ri, defaultSelectWinner as Rn, createOpenInferenceFileExporter as Rr, InMemoryResultBlobStore as Rt, composeContinuationNote as S, sleep as Sa, renderUnsupported as Si, isPeerMailEnvelope as Sn, defaultRedactor as Sr, queueOf as St, expandQuestions as T, throwIfAborted as Ta, validateProfileMaterialization as Ti, isLiveNodeStatus as Tn, captureHarnessTranscript as Tr, captureReusableExecutorConfig as Tt, scopeOwnerExecutorNodeContext as U, runtimeOwnedExecutorExecutionBinding as Ui, acquireSandbox as Un, loopEventToOtelSpan as Ur, insideCursorNamespace as Ut, recordScopeOwnerPause as V, providerMessageText as Va, recordRuntimeOwnedDriveHarnessProviderEvidence as Vi, createSandboxLineage as Vn, flatOtelSpan as Vr, assertContentAddress as Vt, settledToIteration as W, runtimeOwnedExecutorMaterialization as Wi, assertBoxlessPromptOptions as Wn, padSpanId as Wr, loadSpawnForest as Wt, validateWaitSpec as X, executableAgentProfileSnapshot as Xi, DEFAULT_SANDBOX_IDLE_TIMEOUT_SECONDS as Xn, sanitizeKnowledgeReadinessReport as Xr, isTraceAnalysisStore as Xt, timerAt as Y, unknownMaterializationReceipt as Yi, observedModelMatchesDeclared as Yn, sanitizeAgentRuntimeEvent as Yr, captureWorkerTraceEvidence as Yt, waitUntil as Z, executableAgentSpecSnapshot as Zi, LEAF_CONTINUATION_TASK as Zn, sanitizeRuntimeStreamEvent as Zr, parseWorkerToolTraceArtifact as Zt, CheckUnavailableError as _, deleteBoxSafe as _a, promptControlProfileMaterialization as _i, AUTHORITY_MARKERS as _n, environmentGone as _r, workerInteractiveBindingsDir as _t, collectDelivered as a, createSandboxUsageLedger as aa, harnessInvocation as ai, spendFromUsageEvents as an, createPushTraceSource as ar, scopeRetainedOwnerResourceReader as at, bestComposite as b, promptCacheTokenClasses as ba, promptResourceProfileMaterialization as bi, claimsAuthority as bn, linkAbort as br, startRetainedInteractiveRun as bt, runTree as c, mapSandboxEvent as ca, parseCodexTokenUsage as ci, readWorkerTraceContext as cn, registerRetainedExecutorPreparation as cr, environmentReader as ct, classifyDriverFailure as d, sandboxEventServedBackend as da, AGENT_PROFILE_MATERIALIZATION_AXES as di, workerTraceSeamKey as dn, reconnectRetainedRun as dr, interactiveAdmissionSeamKey as dt, projectSandboxOutcome as ea, captureWorktreeDiff as ei, ReservationWaitRefused as en, providerAsSandboxClient as er, consumeScopeRetainedOwnerResult as et, runDriverWithRetry as f, sandboxProgressEvents as fa, assertProfileMaterialization as fi, taskToPrompt as fn, recoverRetainedRun as fr, readWorkerInteractiveAdmissions as ft, CONTINUATION_FACTS as g, cloneSpend as ga, profileMaterializationAxes$1 as gi, createInbox as gn, destroyInteractiveEnvironment as gr, workerInteractiveBindingFile as gt, CONTINUATIONS_DIR as h, chargedTokens as ha, fullProfileMaterialization as hi, readWorkerProgress as hn, retainedCreateMaterial as hr, readWorkerInteractiveBinding as ht, bestDelivered as i, createSandboxToolPartState as ia, LOCAL_HARNESSES as ii, newUsageTotals as in, unavailableSignalOfFailure as ir, scopeRetainedOwnerPriorSpend as it, isDriverSpec as j, withBudgetResources as ja, writeAllBytes as ji, createCodexRolloutStoreReader as jn, mergeTraceEnv as jr, createWorktreeCliExecutor as jt, driverChild as k, addResourceSpend as ka, prepareJsonlAppend as ki, bridgeModelRouteRefusal as kn, contentAddress as kr, createExecutorRegistry as kt, DriverAttemptsExhaustedError as l, mapSandboxToolEvent as la, CodexExecutionDiagnosticError as li, workerTraceEnv as ln, retainedExecutorSeamKey as lr, hostDirectoryReader as lt, upstreamUnavailableSignal as m, addSpend as ma, defineProfileMaterializationContract as mi, createActivityLog as mn, startRetainedRunInEnvironment as mr, attachWorker as mt, createRootHandle as n, assertSandboxServedModel as na, removeWorktree as ni, createBudgetPool as nn, sandboxClientAsProvider as nr, reconcileScopeRetainedOwnerEnvironment as nt, pickBestDelivered as o, extractLlmCallEvent as oa, harnessSupportsReasoningEffort as oi, spendFromUsageTotals as on, decodeToolPart as or, scopeRetainedOwnerResult as ot, summarizeDriverAttempts as p, sumSandboxUsage as pa, controlProfileMaterialization as pi, DEFAULT_STALL_AFTER_MS as pn, startRetainedRun as pr, workerInteractiveAdmissionFile as pt, isWaitOutcome as q, runtimeOwnedScopeOwnerRuntime as qi, runBrainLoop as qn, createRuntimeEventCollector as qr, replaySpawnTree as qt, createSupervisor as r, canonicalStreamEventFromSandboxEvent as ra, DEFAULT_LOCAL_HARNESS as ri, meterUsageEvent as rn, unavailablePauseMs as rr, scopeRetainedOwnerContext as rt, runFinalizer as s, isSandboxTerminalEvent as sa, localHarnessExecutable as si, WORKER_TRACE_PROPAGATION as sn, sandboxSessionTraceSource as sr, SPAWN_RESOURCE_PATH_MAX_BYTES as st, DEFAULT_MAX_DEPTH as t, readSandboxOutcome as ta, createWorktree as ti, assertValidBudget as tn, resolveAgentEnvironmentProvider as tr, prepareScopeRetainedOwnerTask as tt, HarnessTurnFailedError as u, notifySandboxEventObserver as ua, terminateProcessTreeAndConfirm as ui, workerTraceHeaders as un, errMessage as ur, resolveSpawnResourcePaths as ut, admitContinuationPolicy as v, hasCompleteCacheBreakdown as va, promptModelProfileMaterialization as vi, DEFAULT_PEER_MAIL_LIMITS as vn, RunCancellationReason as vr, reconnectRetainedInteractiveRun as vt, distillFindings as w, throwAbort as wa, unsupportedProfileDimensions as wi, peerMailVerbNames as wn, resolveRedactor as wr, bindReusableExecutorExecutionId as wt, checkVerdictOf as x, randomSuffix as xa, renderProfileMaterializationIssues as xi, createPeerMailbox as xn, runAbortable as xr, freeSlots as xt, admitFinding as y, isAbortError$2 as ya, promptOnlyProfileMaterialization as yi, PEER_MAIL_WIRE_KEY as yn, abortError as yr, recoverRetainedInteractiveRun as yt, meterRuntimeOwnedProviderAttempt as z, promptFromAgentTurnInput as za, newExecutionAttemptId as zi, isTerminalDecision as zn, createOtelExporter as zr, InMemorySpawnJournal as zt };
27934
27969
 
27935
- //# sourceMappingURL=supervisor-DdKPGluv.js.map
27970
+ //# sourceMappingURL=supervisor-CjNbOcLO.js.map