@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.
- package/dist/{activation-Dvl9gE_g.js → activation-CE5vCzYS.js} +2 -2
- package/dist/{activation-Dvl9gE_g.js.map → activation-CE5vCzYS.js.map} +1 -1
- package/dist/{activation-BxR-Im_k.d.ts → activation-K-k4BRp9.d.ts} +2 -3
- package/dist/agent.d.ts +1 -2
- package/dist/agent.js +2 -2
- package/dist/{coordination-driver-CIfgl4Yj.js → coordination-driver-Cp2z1zz6.js} +14 -14
- package/dist/coordination-driver-Cp2z1zz6.js.map +1 -0
- package/dist/{delegate-05Ddb4_L.js → delegate-DPkyIx3C.js} +2 -2
- package/dist/{delegate-05Ddb4_L.js.map → delegate-DPkyIx3C.js.map} +1 -1
- package/dist/durable.d.ts +1 -2
- package/dist/durable.js +2 -2
- package/dist/{graph-BNVGyp1P.js → graph-DP0X2bVC.js} +5 -5
- package/dist/graph-DP0X2bVC.js.map +1 -0
- package/dist/{improvement-cycle-Ig1_rWAw.js → improvement-cycle-D5r4auxT.js} +3 -3
- package/dist/{improvement-cycle-Ig1_rWAw.js.map → improvement-cycle-D5r4auxT.js.map} +1 -1
- package/dist/{index-B0c5PmmO.d.ts → index-BdIi1eIV.d.ts} +11256 -2501
- package/dist/index.d.ts +4 -6
- package/dist/index.js +7 -7
- package/dist/intelligence.d.ts +2 -3
- package/dist/intelligence.js +3 -3
- package/dist/kernel.d.ts +2 -4
- package/dist/kernel.js +8 -8
- package/dist/{loop-runner-bin-Beh7PECB.js → loop-runner-bin-Cn7244xv.js} +3 -3
- package/dist/{loop-runner-bin-Beh7PECB.js.map → loop-runner-bin-Cn7244xv.js.map} +1 -1
- package/dist/{loop-runner-bin-drXESgaI.d.ts → loop-runner-bin-CoKHGqxE.d.ts} +2 -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 +2 -5
- package/dist/mcp/index.js +4 -4
- package/dist/{openai-tools-CJHfmFzg.d.ts → openai-tools-C2GoLNjj.d.ts} +2 -2
- package/dist/profiles.d.ts +1 -1
- package/dist/{provision-supervisor-CfKlAMTb.js → provision-supervisor-BahNK2L0.js} +3 -3
- package/dist/{provision-supervisor-CfKlAMTb.js.map → provision-supervisor-BahNK2L0.js.map} +1 -1
- package/dist/{runtime-DsnHqwNx.js → runtime-DRrpUP7n.js} +8 -8
- package/dist/{runtime-DsnHqwNx.js.map → runtime-DRrpUP7n.js.map} +1 -1
- package/dist/{search-executor-BNLvgp0X.js → search-executor-BuwMU5TF.js} +2 -2
- package/dist/{search-executor-BNLvgp0X.js.map → search-executor-BuwMU5TF.js.map} +1 -1
- package/dist/{server-Bx4d5imQ.js → server-DMqPF86Y.js} +3 -3
- package/dist/{server-Bx4d5imQ.js.map → server-DMqPF86Y.js.map} +1 -1
- package/dist/{supervise-D6MgxpMI.js → supervise-CGMzXi_j.js} +47 -20
- package/dist/supervise-CGMzXi_j.js.map +1 -0
- package/dist/{supervisor-WYRLsCp1.js → supervisor-DgcmBicU.js} +33 -23
- package/dist/supervisor-DgcmBicU.js.map +1 -0
- package/dist/testing.d.ts +1 -2
- package/dist/testing.js +12 -12
- package/dist/tui/index.d.ts +1 -1
- package/dist/tui/index.js +1 -1
- package/package.json +1 -1
- package/skills/profile-authoring/SKILL.md +1 -1
- package/dist/coordination-driver-CIfgl4Yj.js.map +0 -1
- package/dist/graph-BNVGyp1P.js.map +0 -1
- package/dist/stream-agent-turn-fd2XzrTv.d.ts +0 -2252
- package/dist/substrate-GW6LFx4A.d.ts +0 -284
- package/dist/supervise-D6MgxpMI.js.map +0 -1
- package/dist/supervisor-WYRLsCp1.js.map +0 -1
- 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-
|
|
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-
|
|
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
|
|
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" :
|
|
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
|
-
"
|
|
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
|
-
/**
|
|
4153
|
-
function
|
|
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
|
-
/**
|
|
4160
|
-
function
|
|
4161
|
-
if (typeof
|
|
4162
|
-
|
|
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
|
-
|
|
4168
|
-
...
|
|
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
|
-
|
|
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.
|
|
4625
|
-
|
|
4626
|
-
|
|
4627
|
-
|
|
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-
|
|
4747
|
+
//# sourceMappingURL=supervise-CGMzXi_j.js.map
|