@tangle-network/agent-runtime 0.311.2 → 0.312.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-Dvl9gE_g.js → activation-CE5vCzYS.js} +2 -2
  2. package/dist/{activation-Dvl9gE_g.js.map → activation-CE5vCzYS.js.map} +1 -1
  3. package/dist/{activation-BxR-Im_k.d.ts → activation-K-k4BRp9.d.ts} +2 -3
  4. package/dist/agent.d.ts +1 -2
  5. package/dist/agent.js +2 -2
  6. package/dist/{coordination-driver-CIfgl4Yj.js → coordination-driver-Cp2z1zz6.js} +14 -14
  7. package/dist/coordination-driver-Cp2z1zz6.js.map +1 -0
  8. package/dist/{delegate-05Ddb4_L.js → delegate-DPkyIx3C.js} +2 -2
  9. package/dist/{delegate-05Ddb4_L.js.map → delegate-DPkyIx3C.js.map} +1 -1
  10. package/dist/durable.d.ts +1 -2
  11. package/dist/durable.js +2 -2
  12. package/dist/{graph-BNVGyp1P.js → graph-DP0X2bVC.js} +5 -5
  13. package/dist/graph-DP0X2bVC.js.map +1 -0
  14. package/dist/{improvement-cycle-Ig1_rWAw.js → improvement-cycle-D5r4auxT.js} +3 -3
  15. package/dist/{improvement-cycle-Ig1_rWAw.js.map → improvement-cycle-D5r4auxT.js.map} +1 -1
  16. package/dist/{index-B0c5PmmO.d.ts → index-BdIi1eIV.d.ts} +11256 -2501
  17. package/dist/index.d.ts +4 -6
  18. package/dist/index.js +7 -7
  19. package/dist/intelligence.d.ts +2 -3
  20. package/dist/intelligence.js +3 -3
  21. package/dist/kernel.d.ts +2 -4
  22. package/dist/kernel.js +8 -8
  23. package/dist/{loop-runner-bin-Beh7PECB.js → loop-runner-bin-Cn7244xv.js} +3 -3
  24. package/dist/{loop-runner-bin-Beh7PECB.js.map → loop-runner-bin-Cn7244xv.js.map} +1 -1
  25. package/dist/{loop-runner-bin-drXESgaI.d.ts → loop-runner-bin-CoKHGqxE.d.ts} +2 -3
  26. package/dist/loop-runner-bin.d.ts +1 -1
  27. package/dist/loop-runner-bin.js +1 -1
  28. package/dist/mcp/bin.js +3 -3
  29. package/dist/mcp/index.d.ts +2 -5
  30. package/dist/mcp/index.js +4 -4
  31. package/dist/{openai-tools-CJHfmFzg.d.ts → openai-tools-C2GoLNjj.d.ts} +2 -2
  32. package/dist/profiles.d.ts +1 -1
  33. package/dist/{provision-supervisor-CfKlAMTb.js → provision-supervisor-BahNK2L0.js} +3 -3
  34. package/dist/{provision-supervisor-CfKlAMTb.js.map → provision-supervisor-BahNK2L0.js.map} +1 -1
  35. package/dist/{runtime-DsnHqwNx.js → runtime-DRrpUP7n.js} +8 -8
  36. package/dist/{runtime-DsnHqwNx.js.map → runtime-DRrpUP7n.js.map} +1 -1
  37. package/dist/{search-executor-BNLvgp0X.js → search-executor-BuwMU5TF.js} +2 -2
  38. package/dist/{search-executor-BNLvgp0X.js.map → search-executor-BuwMU5TF.js.map} +1 -1
  39. package/dist/{server-Bx4d5imQ.js → server-DMqPF86Y.js} +3 -3
  40. package/dist/{server-Bx4d5imQ.js.map → server-DMqPF86Y.js.map} +1 -1
  41. package/dist/{supervise-D6MgxpMI.js → supervise-CGMzXi_j.js} +47 -20
  42. package/dist/supervise-CGMzXi_j.js.map +1 -0
  43. package/dist/{supervisor-WYRLsCp1.js → supervisor-DgcmBicU.js} +33 -23
  44. package/dist/supervisor-DgcmBicU.js.map +1 -0
  45. package/dist/testing.d.ts +1 -2
  46. package/dist/testing.js +12 -12
  47. package/dist/tui/index.d.ts +1 -1
  48. package/dist/tui/index.js +1 -1
  49. package/package.json +1 -1
  50. package/skills/profile-authoring/SKILL.md +1 -1
  51. package/dist/coordination-driver-CIfgl4Yj.js.map +0 -1
  52. package/dist/graph-BNVGyp1P.js.map +0 -1
  53. package/dist/stream-agent-turn-fd2XzrTv.d.ts +0 -2252
  54. package/dist/substrate-GW6LFx4A.d.ts +0 -284
  55. package/dist/supervise-D6MgxpMI.js.map +0 -1
  56. package/dist/supervisor-WYRLsCp1.js.map +0 -1
  57. package/dist/types-RlLmOHFR.d.ts +0 -6210
@@ -1,10 +1,10 @@
1
- import { $n as parseWorkerToolTraceArtifact, A as scopeOwnerExecutorNodeContext, Ai as worktreeCliProfileMaterialization, An as resolveAgentEnvironmentProvider, At as captureReusableExecutorConfig, B as consumeScopeRetainedOwnerResult, Bi as recordRuntimeOwnedDriveHarnessProviderEvidence, C as deriveNodeExecutionIdentity, Ct as createContinuationKeeper, D as recordScopeOwnerMaterialization, E as recordScopeOwnerDriverAttempt, Ei as renderUnsupported, F as seatExecutionProfile, Fi as inheritRuntimeOwnedExecutorAttestation, Fn as retainedExecutorSeamKey, Ft as snapshotExecutorConfig, G as scopeRetainedOwnerContext, Gi as runtimeOwnedPendingExecutorMaterialization, H as prepareScopeRetainedOwnerSeatSwitch, Hi as runtimeOwnedExecutorExecutionBinding, I as abandonScopeRetainedOwnerInvocation, J as scopeRetainedOwnerResourceReader, Jn as readCommittedJsonLines, Jt as createActivityLog, K as scopeRetainedOwnerJournalRoot, Ki as runtimeOwnedScopeOwnerRuntime, Kn as isNoEntError, Kr as generateSpanId, L as beginScopeRetainedOwnerDrive, M as SeatChain, Mi as attestRuntimeOwnedScopeOwner, Mr as contentAddress, N as SeatChainExhaustedError, Nt as createExecutor, O as recordScopeOwnerPause, Oi as unsupportedProfileDimensions, Or as persistHarnessTranscript, P as authoredSeatStages, Pn as registerRetainedExecutorPreparation, Qi as detachedSnapshot, R as bindScopeRetainedOwnerEnvironmentId, Si as promptModelProfileMaterialization, Sr as RunCancellationReason, St as checkVerdictOf, T as meterRuntimeOwnedProviderAttempt, Tr as runAbortable, U as prepareScopeRetainedOwnerTask, Ui as runtimeOwnedExecutorMaterialization, V as noteScopeRetainedOwnerCoordination, Vi as runtimeOwnedDriveHarnessProviderEvidence, Vt as WORKER_TRACE_PROPAGATION, W as reconcileScopeRetainedOwnerEnvironment, Wi as runtimeOwnedExecutorProviderEvidence, Wr as createOtelExporter, X as scopeRetainedOwnerResult, Xr as toOtelAttributes, Xt as createInbox, Y as scopeRetainedOwnerRestorePoint, Z as scopeRetainedOwnerTurnEnded, _ as isDriverSpec, _i as controlProfileMaterialization, an as isLiveNodeStatus, b as assertRecursiveReservationPolicy, bi as profileMaterializationAxes$1, c as runTree, cn as bridgeModelRouteRefusal, dr as bridgeStopSignalKey, f as runDriverWithRetry, fr as errMessage, g as driverExecutorFactory, gi as assertProfileMaterialization, gt as CONTINUATIONS_DIR, h as driverChild, i as bestDelivered, ir as assertValidBudget, it as providerVisibleProfile, k as restoreScopeOwnerAcceptedExecution, kr as readHarnessTranscript, kt as bindReusableExecutorExecutionId, lr as spendFromUsageTotals, mt as gateOnDeliverable, n as createRootHandle, nt as coordinationMcpAlias, or as meterUsageEvent, p as summarizeDriverAttempts, q as scopeRetainedOwnerPriorSpend, qn as prepareJsonlAppend, r as createSupervisor, rt as coordinationProfileToolPrefix, s as runFinalizer, sn as bridgeAdmissionRefusal, sr as newUsageTotals, tr as executorFailure, u as HarnessTurnFailedError, ur as bridgeRuntimeAttachmentsKey, vi as defineProfileMaterializationContract, vt as CheckUnavailableError, w as meterRuntimeOwnedAccounting, wn as routerBrain, wr as linkAbort, x as beginScopeOwnerAttempt, xi as promptControlProfileMaterialization, xt as bestComposite, yi as fullProfileMaterialization, yt as admitContinuationPolicy, z as bindScopeRetainedOwnerProvider, zi as providerAttemptEvidence, zt as createRouterTranscript } from "./supervisor-WYRLsCp1.js";
1
+ import { $n as parseWorkerToolTraceArtifact, A as scopeOwnerExecutorNodeContext, Ai as worktreeCliProfileMaterialization, An as resolveAgentEnvironmentProvider, At as captureReusableExecutorConfig, B as consumeScopeRetainedOwnerResult, Bi as recordRuntimeOwnedDriveHarnessProviderEvidence, C as deriveNodeExecutionIdentity, Ct as createContinuationKeeper, D as recordScopeOwnerMaterialization, E as recordScopeOwnerDriverAttempt, Ei as renderUnsupported, F as seatExecutionProfile, Fi as inheritRuntimeOwnedExecutorAttestation, Fn as retainedExecutorSeamKey, Ft as snapshotExecutorConfig, G as scopeRetainedOwnerContext, Gi as runtimeOwnedPendingExecutorMaterialization, H as prepareScopeRetainedOwnerSeatSwitch, Hi as runtimeOwnedExecutorExecutionBinding, I as abandonScopeRetainedOwnerInvocation, J as scopeRetainedOwnerResourceReader, Jn as readCommittedJsonLines, Jt as createActivityLog, K as scopeRetainedOwnerJournalRoot, Ki as runtimeOwnedScopeOwnerRuntime, Kn as isNoEntError, Kr as generateSpanId, L as beginScopeRetainedOwnerDrive, M as SeatChain, Mi as attestRuntimeOwnedScopeOwner, Mr as contentAddress, N as SeatChainExhaustedError, Nt as createExecutor, O as recordScopeOwnerPause, Oi as unsupportedProfileDimensions, Or as persistHarnessTranscript, P as authoredSeatStages, Pn as registerRetainedExecutorPreparation, Qi as detachedSnapshot, R as bindScopeRetainedOwnerEnvironmentId, Si as promptModelProfileMaterialization, Sr as RunCancellationReason, St as checkVerdictOf, T as meterRuntimeOwnedProviderAttempt, Tr as runAbortable, U as prepareScopeRetainedOwnerTask, Ui as runtimeOwnedExecutorMaterialization, V as noteScopeRetainedOwnerCoordination, Vi as runtimeOwnedDriveHarnessProviderEvidence, Vt as WORKER_TRACE_PROPAGATION, W as reconcileScopeRetainedOwnerEnvironment, Wi as runtimeOwnedExecutorProviderEvidence, Wr as createOtelExporter, X as scopeRetainedOwnerResult, Xr as toOtelAttributes, Xt as createInbox, Y as scopeRetainedOwnerRestorePoint, Z as scopeRetainedOwnerTurnEnded, _ as isDriverSpec, _i as controlProfileMaterialization, an as isLiveNodeStatus, b as assertRecursiveReservationPolicy, bi as profileMaterializationAxes$1, c as runTree, cn as bridgeModelRouteRefusal, dr as bridgeStopSignalKey, f as runDriverWithRetry, fr as errMessage, g as driverExecutorFactory, gi as assertProfileMaterialization, gt as CONTINUATIONS_DIR, h as driverChild, i as bestDelivered, ir as assertValidBudget, it as providerVisibleProfile, k as restoreScopeOwnerAcceptedExecution, kr as readHarnessTranscript, kt as bindReusableExecutorExecutionId, lr as spendFromUsageTotals, mt as gateOnDeliverable, n as createRootHandle, nt as coordinationMcpAlias, or as meterUsageEvent, p as summarizeDriverAttempts, q as scopeRetainedOwnerPriorSpend, qn as prepareJsonlAppend, r as createSupervisor, rt as coordinationProfileToolPrefix, s as runFinalizer, sn as bridgeAdmissionRefusal, sr as newUsageTotals, tr as executorFailure, u as HarnessTurnFailedError, ur as bridgeRuntimeAttachmentsKey, vi as defineProfileMaterializationContract, vt as CheckUnavailableError, w as meterRuntimeOwnedAccounting, wn as routerBrain, wr as linkAbort, x as beginScopeOwnerAttempt, xi as promptControlProfileMaterialization, xt as bestComposite, yi as fullProfileMaterialization, yt as admitContinuationPolicy, z as bindScopeRetainedOwnerProvider, zi as providerAttemptEvidence, zt as createRouterTranscript } from "./supervisor-DgcmBicU.js";
2
2
  import { f as RuntimeRunStateError, i as ConfigError, m as ValidationError } from "./errors-DodWX-cb.js";
3
3
  import { G as errorMessage, Tt as teardownSurfaces, Y as isAsyncIterable$1, _t as DEFAULT_SUCCESSFUL_SHUTDOWN_MS, at as unmeteredSpend, dt as resourceTelemetry, ft as withBudgetResources, lt as addResourceSpend, ot as withTimeout, st as zeroSpend, tt as sleep, wt as teardownExecutor, z as addSpend } from "./workspace-streams-BEvSX97P.js";
4
4
  import { _ as agentHarness, a as concreteProfileModel, c as profileModelExecutionSettings, n as assertModelAllowed, o as enforceTokenLimits, r as assertProfileModelsAllowed, s as profileBridgeWireModel, t as assertExecutableAgentProfile, v as harnessRunsAgent } from "./model-policy-DydyWTQg.js";
5
5
  import { n as assertNoSymlinkDescendant } from "./durable-file-DWQA4ooo.js";
6
6
  import { t as composeRuntimeHooks } from "./runtime-hooks-tXpAarhW.js";
7
- import { C as createInMemoryRunContext, D as applyRunCancellation, M as coordinationVerbNames, O as watchRunCancellation, P as createCoordinationToolsForManager, S as createFileRunContext, c as resolveWakePolicy, f as createProgressTracker, h as progressStop, m as plateau, n as createSteerAcknowledger, o as composeWakeInput, r as driverAgent, s as deadlineWarningAt, t as createCancelAcknowledger, w as withRunContext } from "./coordination-driver-CIfgl4Yj.js";
7
+ import { C as createInMemoryRunContext, D as applyRunCancellation, M as coordinationVerbNames, O as watchRunCancellation, P as createCoordinationToolsForManager, S as createFileRunContext, c as resolveWakePolicy, f as createProgressTracker, h as progressStop, m as plateau, n as createSteerAcknowledger, o as composeWakeInput, r as driverAgent, s as deadlineWarningAt, t as createCancelAcknowledger, w as withRunContext } from "./coordination-driver-Cp2z1zz6.js";
8
8
  import { r as createStdioToolServer, t as PROTOCOL_VERSION } from "./tool-server-Dqer2M4_.js";
9
9
  import { k as writeRunCancellation, o as readRunCancelRequest, s as readRunCancellation } from "./run-layout-DSCWdbX2.js";
10
10
  import { agentProfileSchema, canonicalAgentProfileDigest, canonicalCandidateDigest, canonicalCandidateJson, validateAgentProfileSecurity } from "@tangle-network/agent-interface";
@@ -1808,7 +1808,7 @@ function buildSupervisorAgent(profile, deps, testBrain) {
1808
1808
  if (harness === null && deps.continuation !== void 0) throw new ValidationError("supervisorAgent: continuation applies to an EXTERNAL-harness supervisor only (profile.harness set). A router-brained supervisor runs its own turn loop in process, so the policy would be silently ignored.");
1809
1809
  if (deps.continuation !== void 0 && deps.deliverable === void 0) throw new ValidationError("supervisorAgent: continuation needs a `deliverable` completion check — with no check there is no contract that can be unmet");
1810
1810
  if (harness !== null && deps.deliverable !== void 0 && deps.continuation === void 0) throw new ValidationError("supervisorAgent: a manager with a completion check needs a continuation policy (deadline, maxBarren, the note profile and switches). Runtime supplies no default: how long to send a director back, and what to tell it, is the record's decision");
1811
- if (deps.deliverable !== void 0 && runtimeToolNames.includes("stop")) throw new ValidationError(`supervisorAgent: the profile grants ${coordinationProfileToolPrefix}stop to a manager with a completion check. Such a manager ends only through submit_result (the check passes) or report_blocked (a failed probe); remove stop from its tools`);
1811
+ if (deps.deliverable !== void 0 && runtimeToolNames.includes("stop")) throw new ValidationError(`supervisorAgent: the profile grants ${coordinationProfileToolPrefix}stop to a manager with a completion check. Such a manager ends only through submit_result (the check passes) or a bound (deadline, budget, cancellation, no progress); remove stop from its tools`);
1812
1812
  const continuationDeadlineMs = deps.continuation === void 0 ? void 0 : admitContinuationPolicy(deps.continuation, "supervisorAgent");
1813
1813
  if (harness === null) {
1814
1814
  assertRouterArmResourcePolicy(stableProfile);
@@ -2119,12 +2119,14 @@ function buildSupervisorAgent(profile, deps, testBrain) {
2119
2119
  const describe = deps.deliverable?.describe;
2120
2120
  const settleLoop = () => {
2121
2121
  const stopReason = controls.stopReason() ?? progressStopReason;
2122
- const closedBy = mcp.submittedResult() ? "result-accepted" : controls.blocked() !== void 0 ? "blocked" : mcp.isStopped() ? "stop" : progressStopReason !== void 0 ? "stop-rule" : void 0;
2122
+ const closedBy = mcp.submittedResult() ? "result-accepted" : mcp.isStopped() ? "stop" : progressStopReason !== void 0 ? "stop-rule" : void 0;
2123
+ const blocked = controls.blocked();
2123
2124
  deps.onDriverLoopSettled?.({
2124
2125
  ...summarizeDriverAttempts(loopRecords),
2125
2126
  environmentReplacements,
2126
2127
  workspaceRestores,
2127
2128
  ...closedBy === void 0 ? {} : { closedBy },
2129
+ ...blocked.length === 0 ? {} : { blocked },
2128
2130
  ...stopReason === void 0 ? {} : { stopReason },
2129
2131
  continuations: keeper?.entries() ?? []
2130
2132
  });
@@ -3740,7 +3742,7 @@ const superviseOptionKeySet = /* @__PURE__ */ new Set([
3740
3742
  "router",
3741
3743
  "runDir",
3742
3744
  "resume",
3743
- "modelChange",
3745
+ "segment",
3744
3746
  "runContext",
3745
3747
  "runId",
3746
3748
  "signal",
@@ -4149,23 +4151,44 @@ function superviseRootProfile(profile, profileGuidance) {
4149
4151
  const compose = profileGuidanceComposer(profileGuidance);
4150
4152
  return freezeDetachedProfile(compose ? compose(parsedProfile.data) : parsedProfile.data);
4151
4153
  }
4152
- /** The model a root runs on, as a `model-changed` record names it. */
4153
- function rootModelOf(profile) {
4154
+ /** What a root profile runs on, as a `root-segment` record names it. */
4155
+ function rootSegmentOf(profile) {
4154
4156
  return {
4157
+ ...profile.model?.provider === void 0 ? {} : { provider: profile.model.provider },
4155
4158
  ...profile.model?.default === void 0 ? {} : { model: profile.model.default },
4156
- ...profile.model?.reasoningEffort === void 0 ? {} : { reasoningEffort: profile.model.reasoningEffort }
4159
+ ...profile.model?.reasoningEffort === void 0 ? {} : { reasoningEffort: profile.model.reasoningEffort },
4160
+ ...profile.harness === void 0 ? {} : { harness: profile.harness }
4157
4161
  };
4158
4162
  }
4159
- /** The recorded root profile with only its model, and its reasoning effort when given, replaced. */
4160
- function withRootModel(profile, change) {
4161
- if (typeof change.model !== "string" || change.model.trim().length === 0) throw new ValidationError("supervise: modelChange.model must name a model");
4162
- if (typeof change.reason !== "string" || change.reason.trim().length === 0) throw new ValidationError("supervise: modelChange.reason must say why the model changed");
4163
+ /** Refuse a segment that names nothing usable before any compute. */
4164
+ function admitSegment(segment) {
4165
+ if (typeof segment !== "object" || segment === null) throw new ValidationError("supervise: segment must be an object");
4166
+ for (const key of [
4167
+ "provider",
4168
+ "model",
4169
+ "harness"
4170
+ ]) {
4171
+ const value = segment[key];
4172
+ if (value !== void 0 && (typeof value !== "string" || value.trim().length === 0)) throw new ValidationError(`supervise: segment.${key} must name a ${key}`);
4173
+ }
4174
+ if (typeof segment.reason !== "string" || segment.reason.trim().length === 0) throw new ValidationError("supervise: segment.reason must say why the segment starts");
4175
+ if (segment.stack !== void 0) {
4176
+ if (typeof segment.stack !== "object" || segment.stack === null || Array.isArray(segment.stack)) throw new ValidationError("supervise: segment.stack must map package names to versions");
4177
+ for (const [name, version] of Object.entries(segment.stack)) if (typeof version !== "string" || version.length === 0) throw new ValidationError(`supervise: segment.stack.${name} must be a version string`);
4178
+ }
4179
+ }
4180
+ /** The recorded root profile with only its provider, model, reasoning effort and harness replaced
4181
+ * where the segment names them. */
4182
+ function withRootSegment(profile, segment) {
4183
+ if (segment.provider === void 0 && segment.model === void 0 && segment.reasoningEffort === void 0 && segment.harness === void 0) return profile;
4163
4184
  return superviseRootProfile({
4164
4185
  ...profile,
4186
+ ...segment.harness === void 0 ? {} : { harness: segment.harness },
4165
4187
  model: {
4166
4188
  ...profile.model,
4167
- default: change.model,
4168
- ...change.reasoningEffort === void 0 ? {} : { reasoningEffort: change.reasoningEffort }
4189
+ ...segment.provider === void 0 ? {} : { provider: segment.provider },
4190
+ ...segment.model === void 0 ? {} : { default: segment.model },
4191
+ ...segment.reasoningEffort === void 0 ? {} : { reasoningEffort: segment.reasoningEffort }
4169
4192
  }
4170
4193
  }, void 0);
4171
4194
  }
@@ -4189,7 +4212,8 @@ function superviseInternal(profile, task, opts, testBrain) {
4189
4212
  assertValidBudget(options.budget, "supervise budget");
4190
4213
  const composeSpawnProfile = profileGuidanceComposer(options.profileGuidance);
4191
4214
  const registeredProfile = superviseRootProfile(profile, options.profileGuidance);
4192
- const canonicalProfile = options.modelChange === void 0 ? registeredProfile : withRootModel(registeredProfile, options.modelChange);
4215
+ if (options.segment !== void 0) admitSegment(options.segment);
4216
+ const canonicalProfile = options.segment === void 0 ? registeredProfile : withRootSegment(registeredProfile, options.segment);
4193
4217
  assertExecutableAgentProfile(canonicalProfile, "supervise root");
4194
4218
  if (authoredSeatStages(canonicalProfile) !== void 0 && options.selectSeat === void 0) throw new ValidationError("supervise: AgentProfile.seats requires selectSeat before execution");
4195
4219
  const canonicalTask = freezeDetached(task);
@@ -4621,10 +4645,13 @@ function superviseInternal(profile, task, opts, testBrain) {
4621
4645
  executors: ctx.executors,
4622
4646
  ...options.recoverExecutor ?? recoveryFactories.get(workerFactory) ? { recoverExecutor: options.recoverExecutor ?? recoveryFactories.get(workerFactory) } : {},
4623
4647
  rootIdentity: rootExecution.identity,
4624
- ...options.modelChange === void 0 ? {} : { rootModelChange: {
4625
- from: rootModelOf(registeredProfile),
4626
- to: rootModelOf(canonicalProfile),
4627
- reason: options.modelChange.reason
4648
+ ...options.segment === void 0 ? {} : { rootSegment: {
4649
+ registered: rootSegmentOf(registeredProfile),
4650
+ current: {
4651
+ ...rootSegmentOf(canonicalProfile),
4652
+ ...options.segment.stack === void 0 ? {} : { stack: { ...options.segment.stack } }
4653
+ },
4654
+ reason: options.segment.reason
4628
4655
  } },
4629
4656
  ...rootOwnerRuntime === void 0 ? {} : { rootMaterialization: {
4630
4657
  runtime: rootOwnerRuntime,
@@ -4717,4 +4744,4 @@ function rootProviderModelEvidenceFromExecution(evidence) {
4717
4744
  //#endregion
4718
4745
  export { readRootStreamReceipt as _, superviseWithTestBrain as a, createSupervisorSpanRecorder as b, resolveWorkerSpawnRetry as c, assertCoordinationBinding as d, resolveSupervisorProfile as f, readRootStream as g, ROOT_STREAM_FILE as h, superviseRootProfile as i, retryPreSpawnRefusals as l, supervisorAgentWithTestBrain as m, profileGuidanceComposer as n, workerFromBackend as o, supervisorAgent as p, supervise as r, isPreSpawnExecutorFailure as s, DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY as t, withWorkerSpawnRetry as u, UNPROVEN_CONTINUITY as v, serveCoordinationMcp as x, composeReentryTask as y };
4719
4746
 
4720
- //# sourceMappingURL=supervise-D6MgxpMI.js.map
4747
+ //# sourceMappingURL=supervise-CGMzXi_j.js.map