@tangle-network/agent-runtime 0.333.1 → 0.334.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-BiJHZQ7_.js → activation-CVW7l4F3.js} +2 -2
- package/dist/{activation-BiJHZQ7_.js.map → activation-CVW7l4F3.js.map} +1 -1
- package/dist/{activation-BGZ0rVuv.d.ts → activation-D64x9f07.d.ts} +2 -2
- package/dist/agent.d.ts +1 -1
- package/dist/agent.js +2 -2
- package/dist/{coordination-driver-NpDEfkvT.js → coordination-driver-D36spfRN.js} +22 -11
- package/dist/coordination-driver-D36spfRN.js.map +1 -0
- package/dist/{delegate-D8fWCoxb.js → delegate-DGPYLJLx.js} +2 -2
- package/dist/{delegate-D8fWCoxb.js.map → delegate-DGPYLJLx.js.map} +1 -1
- package/dist/durable.d.ts +1 -1
- package/dist/durable.js +3 -3
- package/dist/{graph-BWg5yNC7.js → graph-CnjWiqlB.js} +4 -4
- package/dist/{graph-BWg5yNC7.js.map → graph-CnjWiqlB.js.map} +1 -1
- package/dist/{improvement-cycle-CL2GGCQq.js → improvement-cycle-BC6GXcYl.js} +3 -3
- package/dist/{improvement-cycle-CL2GGCQq.js.map → improvement-cycle-BC6GXcYl.js.map} +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +7 -7
- package/dist/intelligence.d.ts +2 -2
- package/dist/intelligence.js +3 -3
- package/dist/kernel.d.ts +1 -1
- package/dist/kernel.js +8 -8
- package/dist/{loop-runner-bin-Cx6nXmMP.js → loop-runner-bin-D3nU-Wp0.js} +3 -3
- package/dist/{loop-runner-bin-Cx6nXmMP.js.map → loop-runner-bin-D3nU-Wp0.js.map} +1 -1
- package/dist/{loop-runner-bin-CaH_49Ts.d.ts → loop-runner-bin-DpH55EFc.d.ts} +2 -2
- 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 -2
- package/dist/mcp/index.js +4 -4
- package/dist/{openai-tools-BhO6-5ff.d.ts → openai-tools-D8eHMvNr.d.ts} +2 -2
- package/dist/profiles.d.ts +1 -1
- package/dist/{provision-supervisor-Csm4ZzSd.js → provision-supervisor-C1FQ2uIe.js} +3 -3
- package/dist/{provision-supervisor-Csm4ZzSd.js.map → provision-supervisor-C1FQ2uIe.js.map} +1 -1
- package/dist/{runtime-BeuNt-n3.js → runtime-Cff0UnPw.js} +66 -16
- package/dist/runtime-Cff0UnPw.js.map +1 -0
- package/dist/{search-executor-wqvqoJZS.js → search-executor-CFqHN4Dt.js} +2 -2
- package/dist/{search-executor-wqvqoJZS.js.map → search-executor-CFqHN4Dt.js.map} +1 -1
- package/dist/{server-DheSbIyd.js → server-CFIzBMYb.js} +3 -3
- package/dist/{server-DheSbIyd.js.map → server-CFIzBMYb.js.map} +1 -1
- package/dist/{supervise-C8oeQwrk.js → supervise-Dl2rTArD.js} +53 -8
- package/dist/supervise-Dl2rTArD.js.map +1 -0
- package/dist/{supervisor-B4sM2Xu2.js → supervisor-BObk9STz.js} +135 -14
- package/dist/supervisor-BObk9STz.js.map +1 -0
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +12 -12
- package/dist/tui/index.d.ts +1 -1
- package/dist/tui/index.js +1 -1
- package/dist/{types-CsDKtdE3.d.ts → types-Dkx4dbaX.d.ts} +15 -3
- package/package.json +3 -3
- package/dist/coordination-driver-NpDEfkvT.js.map +0 -1
- package/dist/runtime-BeuNt-n3.js.map +0 -1
- package/dist/supervise-C8oeQwrk.js.map +0 -1
- package/dist/supervisor-B4sM2Xu2.js.map +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { n as assertNoSymlinkDescendant } from "./durable-file-B_eJr6Mb.js";
|
|
2
|
-
import { $n as persistHarnessTranscript, $t as admitContinuationPolicy, A as bindScopeRetainedOwnerProvider, B as scopeRetainedOwnerRestorePoint, C as recordScopeOwnerPause, Ca as spendFromUsageTotals, Cr as toOtelAttributes, D as abandonScopeRetainedOwnerInvocation, Dt as createActivityLog, En as routerBrain, F as reconcileScopeRetainedOwnerEnvironment, Ft as isPeerMailEnvelope, Gr as controlProfileMaterialization, H as scopeRetainedOwnerTurnEnded, I as scopeRetainedOwnerContext, In as bridgeRuntimeAttachmentsKey, J as coordinationProfileToolPrefix, Jr as profileMaterializationAxes$1, Jt as authoredSeatStages, Kr as defineProfileMaterializationContract, Kt as SeatChain, L as scopeRetainedOwnerJournalRoot, Ln as bridgeStopSignalKey, M as noteScopeRetainedOwnerCoordination, Mn as resolveAgentEnvironmentProvider, Mt as PEER_MAIL_WIRE_KEY, N as prepareScopeRetainedOwnerSeatSwitch, Ni as registerRetainedExecutorPreparation, O as beginScopeRetainedOwnerDrive, P as prepareScopeRetainedOwnerTask, Pi as retainedExecutorSeamKey, Qt as CheckUnavailableError, R as scopeRetainedOwnerPriorSpend, Rt as isLiveNodeStatus, S as recordScopeOwnerMaterialization, Si as runtimeOwnedScopeOwnerRuntime, T as scopeOwnerExecutorNodeContext, Ur as assertProfileMaterialization, Ut as runDriverWithRetry, V as scopeRetainedOwnerResult, Vt as HarnessTurnFailedError, Wt as summarizeDriverAttempts, X as runtimeGraphMetadataKey, Xn as runAbortable, Xr as promptModelProfileMaterialization, Xt as CONTINUATIONS_DIR, Y as providerVisibleProfile, Yn as linkAbort, Yr as promptControlProfileMaterialization, Yt as seatExecutionProfile, _ as deriveNodeExecutionIdentity, _i as runtimeOwnedDriveHarnessProviderEvidence, _r as createOtelExporter, ai as worktreeCliProfileMaterialization, b as noteScopeOwnerPlannedExecution, ba as meterUsageEvent, bi as runtimeOwnedExecutorProviderEvidence, bt as WORKER_TRACE_PROPAGATION, c as runTree, ci as authoredAgentIdentity, ct as bindReusableExecutorExecutionId, d as isDriverSpec, da as contentAddress, di as inheritRuntimeOwnedExecutorAttestation, ei as renderUnsupported, er as readHarnessTranscript, ft as createExecutor, gi as recordRuntimeOwnedDriveHarnessProviderEvidence, h as beginScopeOwnerAttempt, ha as errMessage, hi as providerAttemptEvidence, i as bestDelivered, j as consumeScopeRetainedOwnerResult, k as bindScopeRetainedOwnerEnvironmentId, kt as createInbox, l as driverChild, la as parseWorkerToolTraceArtifact, ln as bridgeAdmissionRefusal, lt as captureReusableExecutorConfig, m as assertRecursiveReservationPolicy, ma as executorFailure, mt as snapshotExecutorConfig, n as createRootHandle, ni as sandboxProfileMaterialization, nn as checkVerdictOf, ot as gateOnDeliverable, pa as detachedSnapshot, q as coordinationMcpAlias, qn as RunCancellationReason, qr as fullProfileMaterialization, qt as SeatChainExhaustedError, r as createSupervisor, ri as unsupportedProfileDimensions, rn as createContinuationKeeper, s as runFinalizer, si as attestRuntimeOwnedScopeOwner, tn as bestComposite, u as driverExecutorFactory, un as bridgeModelRouteRefusal, v as meterRuntimeOwnedAccounting, va as assertValidBudget, vi as runtimeOwnedExecutorExecutionBinding, vt as createRouterTranscript, w as restoreScopeOwnerAcceptedExecution, x as recordScopeOwnerDriverAttempt, xa as newUsageTotals, xi as runtimeOwnedPendingExecutorMaterialization, y as meterRuntimeOwnedProviderAttempt, yi as runtimeOwnedExecutorMaterialization, yr as generateSpanId, z as scopeRetainedOwnerResourceReader } from "./supervisor-
|
|
2
|
+
import { $n as persistHarnessTranscript, $t as admitContinuationPolicy, A as bindScopeRetainedOwnerProvider, B as scopeRetainedOwnerRestorePoint, C as recordScopeOwnerPause, Ca as spendFromUsageTotals, Cr as toOtelAttributes, D as abandonScopeRetainedOwnerInvocation, Dt as createActivityLog, En as routerBrain, F as reconcileScopeRetainedOwnerEnvironment, Ft as isPeerMailEnvelope, Gr as controlProfileMaterialization, H as scopeRetainedOwnerTurnEnded, I as scopeRetainedOwnerContext, In as bridgeRuntimeAttachmentsKey, J as coordinationProfileToolPrefix, Jr as profileMaterializationAxes$1, Jt as authoredSeatStages, Kr as defineProfileMaterializationContract, Kt as SeatChain, L as scopeRetainedOwnerJournalRoot, Ln as bridgeStopSignalKey, M as noteScopeRetainedOwnerCoordination, Mn as resolveAgentEnvironmentProvider, Mt as PEER_MAIL_WIRE_KEY, N as prepareScopeRetainedOwnerSeatSwitch, Ni as registerRetainedExecutorPreparation, O as beginScopeRetainedOwnerDrive, P as prepareScopeRetainedOwnerTask, Pi as retainedExecutorSeamKey, Qt as CheckUnavailableError, R as scopeRetainedOwnerPriorSpend, Rt as isLiveNodeStatus, S as recordScopeOwnerMaterialization, Si as runtimeOwnedScopeOwnerRuntime, T as scopeOwnerExecutorNodeContext, Ur as assertProfileMaterialization, Ut as runDriverWithRetry, V as scopeRetainedOwnerResult, Vt as HarnessTurnFailedError, Wt as summarizeDriverAttempts, X as runtimeGraphMetadataKey, Xn as runAbortable, Xr as promptModelProfileMaterialization, Xt as CONTINUATIONS_DIR, Y as providerVisibleProfile, Yn as linkAbort, Yr as promptControlProfileMaterialization, Yt as seatExecutionProfile, _ as deriveNodeExecutionIdentity, _i as runtimeOwnedDriveHarnessProviderEvidence, _r as createOtelExporter, ai as worktreeCliProfileMaterialization, b as noteScopeOwnerPlannedExecution, ba as meterUsageEvent, bi as runtimeOwnedExecutorProviderEvidence, bt as WORKER_TRACE_PROPAGATION, c as runTree, ci as authoredAgentIdentity, ct as bindReusableExecutorExecutionId, d as isDriverSpec, da as contentAddress, di as inheritRuntimeOwnedExecutorAttestation, ei as renderUnsupported, er as readHarnessTranscript, ft as createExecutor, gi as recordRuntimeOwnedDriveHarnessProviderEvidence, h as beginScopeOwnerAttempt, ha as errMessage, hi as providerAttemptEvidence, i as bestDelivered, j as consumeScopeRetainedOwnerResult, k as bindScopeRetainedOwnerEnvironmentId, kt as createInbox, l as driverChild, la as parseWorkerToolTraceArtifact, ln as bridgeAdmissionRefusal, lt as captureReusableExecutorConfig, m as assertRecursiveReservationPolicy, ma as executorFailure, mt as snapshotExecutorConfig, n as createRootHandle, ni as sandboxProfileMaterialization, nn as checkVerdictOf, ot as gateOnDeliverable, pa as detachedSnapshot, q as coordinationMcpAlias, qn as RunCancellationReason, qr as fullProfileMaterialization, qt as SeatChainExhaustedError, r as createSupervisor, ri as unsupportedProfileDimensions, rn as createContinuationKeeper, s as runFinalizer, si as attestRuntimeOwnedScopeOwner, tn as bestComposite, u as driverExecutorFactory, un as bridgeModelRouteRefusal, v as meterRuntimeOwnedAccounting, va as assertValidBudget, vi as runtimeOwnedExecutorExecutionBinding, vt as createRouterTranscript, w as restoreScopeOwnerAcceptedExecution, x as recordScopeOwnerDriverAttempt, xa as newUsageTotals, xi as runtimeOwnedPendingExecutorMaterialization, y as meterRuntimeOwnedProviderAttempt, yi as runtimeOwnedExecutorMaterialization, yr as generateSpanId, z as scopeRetainedOwnerResourceReader } from "./supervisor-BObk9STz.js";
|
|
3
3
|
import { f as RuntimeRunStateError, i as ConfigError, m as ValidationError } from "./errors-DodWX-cb.js";
|
|
4
4
|
import { $ as isAsyncIterable$1, Ot as teardownExecutor, U as addSpend, Y as errorMessage, at as sleep, dt as zeroSpend, gt as withBudgetResources, ht as resourceTelemetry, kt as teardownSurfaces, lt as unmeteredSpend, pt as addResourceSpend, ut as withTimeout, xt as DEFAULT_SUCCESSFUL_SHUTDOWN_MS } from "./sandbox-profile-compat-CVgQWb7T.js";
|
|
5
5
|
import { a as readCommittedJsonLines, n as isNoEntError, r as prepareJsonlAppend } from "./jsonl-file-DBv31uPi.js";
|
|
6
6
|
import { _ as agentHarness, a as concreteProfileModel, c as profileModelExecutionSettings, l as profileProviderModel, n as assertModelAllowed, o as enforceTokenLimits, r as assertProfileModelsAllowed, s as profileBridgeWireModel, t as assertExecutableAgentProfile, v as harnessRunsAgent } from "./model-policy-CyCUwHed.js";
|
|
7
7
|
import { t as composeRuntimeHooks } from "./runtime-hooks-tXpAarhW.js";
|
|
8
|
-
import { C as createFileRunContext, F as createCoordinationToolsForManager, N as coordinationVerbNames, O as applyRunCancellation, T as withRunContext, c as refreshedWake, g as progressStop, h as plateau, k as watchRunCancellation, l as resolveWakePolicy, n as createSteerAcknowledger, o as composeWakeInput, p as createProgressTracker, r as driverAgent, s as deadlineWarningAt, t as createCancelAcknowledger, w as createInMemoryRunContext } from "./coordination-driver-
|
|
8
|
+
import { C as createFileRunContext, F as createCoordinationToolsForManager, N as coordinationVerbNames, O as applyRunCancellation, T as withRunContext, c as refreshedWake, g as progressStop, h as plateau, k as watchRunCancellation, l as resolveWakePolicy, n as createSteerAcknowledger, o as composeWakeInput, p as createProgressTracker, r as driverAgent, s as deadlineWarningAt, t as createCancelAcknowledger, w as createInMemoryRunContext } from "./coordination-driver-D36spfRN.js";
|
|
9
9
|
import { r as createStdioToolServer, t as PROTOCOL_VERSION } from "./tool-server-Dqer2M4_.js";
|
|
10
10
|
import { c as loadGraph, i as graphRegistry } from "./graph-registry-DAI6KNXB.js";
|
|
11
11
|
import { k as writeRunCancellation, o as readRunCancelRequest, s as readRunCancellation } from "./run-layout-Cu8H7aeh.js";
|
|
@@ -3912,6 +3912,20 @@ const routerSupervisorProfileMaterialization = defineProfileMaterializationContr
|
|
|
3912
3912
|
]
|
|
3913
3913
|
});
|
|
3914
3914
|
/**
|
|
3915
|
+
* Which of a driver's budget channels are spent, with their numbers, or `undefined` while none is.
|
|
3916
|
+
* The bare 'supervisor budget exhausted' named no channel: on queens21-h22-capture-root-2-20261019c
|
|
3917
|
+
* workers capped at 42,000 tokens metered 7,324,356 to 13,190,478 in one turn, and nothing said so.
|
|
3918
|
+
*/
|
|
3919
|
+
function exhaustedBudgetChannels(budget, nowMs) {
|
|
3920
|
+
const spent = [];
|
|
3921
|
+
if (budget.tokensLeft <= 0) spent.push(`tokens: ${-budget.tokensLeft} over the cap`);
|
|
3922
|
+
if (budget.usdCapped && budget.usdLeft <= 0) spent.push(`usd: ${(-budget.usdLeft).toFixed(4)} over the cap`);
|
|
3923
|
+
for (const [name, resource] of Object.entries(budget.resources ?? {})) if (!resource.known) spent.push(`resource ${name}: unmetered`);
|
|
3924
|
+
else if (resource.remaining <= 0) spent.push(`resource ${name}: ${-resource.remaining} ${resource.unit} over the cap`);
|
|
3925
|
+
if (budget.deadlineMs > 0 && nowMs >= budget.deadlineMs) spent.push(`deadline: passed ${Math.round((nowMs - budget.deadlineMs) / 1e3)} s ago`);
|
|
3926
|
+
return spent.length === 0 ? void 0 : spent.join("; ");
|
|
3927
|
+
}
|
|
3928
|
+
/**
|
|
3915
3929
|
* The pre-flight `supervise` installs for a bridge backend. No new knob: the backend already says
|
|
3916
3930
|
* where the bridge is, and these are the questions only the bridge can answer.
|
|
3917
3931
|
*
|
|
@@ -3944,6 +3958,28 @@ function bridgeSpawnPreflight(seam) {
|
|
|
3944
3958
|
};
|
|
3945
3959
|
};
|
|
3946
3960
|
}
|
|
3961
|
+
/**
|
|
3962
|
+
* The pre-flight for a provider backend: the provider's own `validateProfile`, before any box
|
|
3963
|
+
* exists. A profile the provider could never provision is refused here, and the refusal reaches
|
|
3964
|
+
* the manager's `spawn_worker` call naming each error's code and path, so the manager fixes the
|
|
3965
|
+
* profile instead of losing the worker. On Discovery run queens21-h22-capture-root-1-20261019c the
|
|
3966
|
+
* root wrote child profiles that mounted `/work/queens21_count.c` on a read-only root filesystem,
|
|
3967
|
+
* and 154 attempts across 4 workers each provisioned a box that could not take the mount.
|
|
3968
|
+
*/
|
|
3969
|
+
function providerSpawnPreflight(provider) {
|
|
3970
|
+
const validate = provider.validateProfile?.bind(provider);
|
|
3971
|
+
if (validate === void 0) return void 0;
|
|
3972
|
+
return async (profile) => {
|
|
3973
|
+
const result = await validate(profile);
|
|
3974
|
+
const errors = result.issues.filter((issue) => issue.level === "error");
|
|
3975
|
+
if (result.ok && errors.length === 0) return void 0;
|
|
3976
|
+
const named = errors.map((issue) => `${issue.code}${issue.path === void 0 ? "" : ` at ${issue.path}`}: ${issue.message}`);
|
|
3977
|
+
return {
|
|
3978
|
+
cause: "unprovisionable-profile",
|
|
3979
|
+
detail: `provider ${provider.name} cannot provision this profile: ${named.length > 0 ? named.join("; ") : "validation failed without a named error"}`
|
|
3980
|
+
};
|
|
3981
|
+
};
|
|
3982
|
+
}
|
|
3947
3983
|
/** Refuse a Runtime-managed child whose declared tools cannot exist on its execution path. */
|
|
3948
3984
|
function profileToolSpawnPreflight(runtimeOwnsManager, canResolveProductTools) {
|
|
3949
3985
|
return async (profile) => {
|
|
@@ -4203,7 +4239,10 @@ function driveHarnessFromBackend(backend, executionId, now = Date.now, maxTurns,
|
|
|
4203
4239
|
return;
|
|
4204
4240
|
}
|
|
4205
4241
|
const initialBudget = scope.budget;
|
|
4206
|
-
if (!(scope.view.inFlight > 0)
|
|
4242
|
+
if (!(scope.view.inFlight > 0)) {
|
|
4243
|
+
const spent = [exhaustedBudgetChannels(initialBudget, now()), initialBudget.iterationsLeft <= 0 ? "iterations: none left" : void 0].filter((channel) => channel !== void 0).join("; ");
|
|
4244
|
+
if (spent !== "") throw new ValidationError(`driveHarnessFromBackend: supervisor budget exhausted (${spent})`);
|
|
4245
|
+
}
|
|
4207
4246
|
const canonicalDriverProfile = agentProfileSchema.parse(authoredProfile);
|
|
4208
4247
|
assertNoReservedCoordinationMcpAlias(canonicalDriverProfile, "driveHarnessFromBackend");
|
|
4209
4248
|
const stableCoordinationTools = detachedSnapshot(coordinationTools, "driveHarnessFromBackend coordination tools");
|
|
@@ -4220,7 +4259,12 @@ function driveHarnessFromBackend(backend, executionId, now = Date.now, maxTurns,
|
|
|
4220
4259
|
harness: boundBackend.backend === "sandbox" ? providerDriverProfile.harness : null
|
|
4221
4260
|
};
|
|
4222
4261
|
const turnStop = turnCap > 0 ? new AbortController() : void 0;
|
|
4223
|
-
const
|
|
4262
|
+
const budgetStop = new AbortController();
|
|
4263
|
+
const effectiveStopSignal = AbortSignal.any([
|
|
4264
|
+
stopSignal,
|
|
4265
|
+
turnStop?.signal,
|
|
4266
|
+
budgetStop.signal
|
|
4267
|
+
].filter((signal) => signal !== void 0));
|
|
4224
4268
|
const peerMailAttachment = peerMailRuntimeAttachment(authoredProfile, boundBackend, { peerMailUrl });
|
|
4225
4269
|
const attachment = {
|
|
4226
4270
|
transport: "http",
|
|
@@ -4372,8 +4416,9 @@ function driveHarnessFromBackend(backend, executionId, now = Date.now, maxTurns,
|
|
|
4372
4416
|
});
|
|
4373
4417
|
if (retainedOwner) committedOwnerSpend = addSpend(committedOwnerSpend, charge);
|
|
4374
4418
|
if (effectiveStopSignal?.aborted === true) return;
|
|
4375
|
-
const
|
|
4376
|
-
if (
|
|
4419
|
+
const spent = exhaustedBudgetChannels(scope.budget, now());
|
|
4420
|
+
if (spent === void 0) return;
|
|
4421
|
+
budgetStop.abort(`supervise: budget exhausted (${spent})`);
|
|
4377
4422
|
};
|
|
4378
4423
|
const pending = runtimeOwnedPendingExecutorMaterialization(executor);
|
|
4379
4424
|
let failed = false;
|
|
@@ -5388,7 +5433,7 @@ function superviseInternal(profile, task, opts, testBrain) {
|
|
|
5388
5433
|
if (options.driveHarness && options.resolveDriveHarness) throw new ValidationError("supervise: provide driveHarness or resolveDriveHarness, not both");
|
|
5389
5434
|
const hasCustomDriveHarness = Boolean(options.driveHarness || options.resolveDriveHarness);
|
|
5390
5435
|
const spawnResourceRoot = hasCustomDriveHarness ? void 0 : rootSpawnResourceRoot(managerBackend);
|
|
5391
|
-
const spawnPreflight = composeSpawnPreflights(profileToolSpawnPreflight(options.makeWorkerAgent === void 0, options.resolveSupervisorTools !== void 0), coordinationChannelSpawnPreflight(options.makeWorkerAgent === void 0, hasCustomDriveHarness, managerBackend, options.coordination), options.backend?.backend === "bridge" ? bridgeSpawnPreflight(options.backend) : void 0);
|
|
5436
|
+
const spawnPreflight = composeSpawnPreflights(profileToolSpawnPreflight(options.makeWorkerAgent === void 0, options.resolveSupervisorTools !== void 0), coordinationChannelSpawnPreflight(options.makeWorkerAgent === void 0, hasCustomDriveHarness, managerBackend, options.coordination), options.backend?.backend === "bridge" ? bridgeSpawnPreflight(options.backend) : void 0, options.backend?.backend === "provider" && typeof options.backend.provider === "object" ? providerSpawnPreflight(options.backend.provider) : void 0);
|
|
5392
5437
|
const driverMaterialization = hasCustomDriveHarness ? options.driveHarnessMaterialization ?? fullProfileMaterialization : managerBackend && automaticDriverBackendSupported(managerBackend, options.coordination) ? backendProfileMaterialization(managerBackend) : void 0;
|
|
5393
5438
|
if (isExternalSupervisor(canonicalProfile) && !options.driveHarness && !options.resolveDriveHarness && (!managerBackend || !automaticDriverBackendSupported(managerBackend, options.coordination))) throw new ValidationError(`supervise: external supervisor profile.harness=${JSON.stringify(canonicalProfile.harness)} requires a local bridge, a provider with authenticated coordination.publicUrl and runtime MCP attachments, or an explicit driveHarness with reachable coordination transport`);
|
|
5394
5439
|
const externalManagersAvailable = hasCustomDriveHarness || managerBackend !== void 0 && automaticDriverBackendSupported(managerBackend, options.coordination);
|
|
@@ -5988,4 +6033,4 @@ function withModelSubstitution(agent, substitution) {
|
|
|
5988
6033
|
//#endregion
|
|
5989
6034
|
export { dumbContinuationPassPrompt as A, defaultEdgeTraversalCap as C, createPromptRegistry as D, analyzesFindingsReportPrompt as E, serveCoordinationMcp as F, kernelPromptRegistry as M, naiveContinuationPrompt as N, delegatesWorkerBriefPrompt as O, promptHandle as P, createGraphOverlay as S, validateGraphTopology as T, readRootStream as _, superviseRootProfile as a, composeReentryTask as b, isPreSpawnExecutorFailure as c, withWorkerSpawnRetry as d, assertCoordinationBinding as f, ROOT_STREAM_FILE as g, supervisorAgentWithTestBrain as h, superviseFleetCapabilities as i, formatPromptHandle as j, dumbContinuationFailPrompt as k, resolveWorkerSpawnRetry as l, supervisorAgent as m, profileGuidanceComposer as n, superviseWithTestBrain as o, resolveSupervisorProfile as p, supervise as r, workerFromBackend as s, DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY as t, retryPreSpawnRefusals as u, readRootStreamReceipt as v, graphRootProfile as w, createSupervisorSpanRecorder as x, UNPROVEN_CONTINUITY as y };
|
|
5990
6035
|
|
|
5991
|
-
//# sourceMappingURL=supervise-
|
|
6036
|
+
//# sourceMappingURL=supervise-Dl2rTArD.js.map
|