@tangle-network/agent-runtime 0.325.16 → 0.325.17-1
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-BZz9_4us.d.ts → activation-BBW-m71u.d.ts} +2 -2
- package/dist/{activation-BC_sG5Vt.js → activation-D96mexEy.js} +3 -3
- package/dist/{activation-BC_sG5Vt.js.map → activation-D96mexEy.js.map} +1 -1
- package/dist/agent.d.ts +2 -2
- package/dist/agent.js +2 -2
- package/dist/{bundle-DqvlwhKP.js → bundle-BJJmfEsw.js} +2 -2
- package/dist/{bundle-DqvlwhKP.js.map → bundle-BJJmfEsw.js.map} +1 -1
- package/dist/candidate-execution/index.js +5 -5
- package/dist/{coordination-driver-BbX61_O3.js → coordination-driver-BDW2BD3B.js} +5 -12
- package/dist/{coordination-driver-BbX61_O3.js.map → coordination-driver-BDW2BD3B.js.map} +1 -1
- package/dist/{delegate-BzlYG0rC.js → delegate-DfLfoyqH.js} +2 -2
- package/dist/{delegate-BzlYG0rC.js.map → delegate-DfLfoyqH.js.map} +1 -1
- package/dist/durable.d.ts +1 -1
- package/dist/durable.js +5 -5
- package/dist/{graph-DLRi2Eu0.js → graph-Db0mn91l.js} +4 -4
- package/dist/{graph-DLRi2Eu0.js.map → graph-Db0mn91l.js.map} +1 -1
- package/dist/{improvement-cycle-BWy2LAfd.js → improvement-cycle-vIlvNX1K.js} +6 -6
- package/dist/{improvement-cycle-BWy2LAfd.js.map → improvement-cycle-vIlvNX1K.js.map} +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +9 -9
- package/dist/intelligence.d.ts +2 -2
- package/dist/intelligence.js +7 -7
- package/dist/kernel.d.ts +2 -2
- package/dist/kernel.js +9 -9
- package/dist/{loop-runner-bin-Cmo6nly8.js → loop-runner-bin-CGo7AZ5o.js} +3 -3
- package/dist/{loop-runner-bin-Cmo6nly8.js.map → loop-runner-bin-CGo7AZ5o.js.map} +1 -1
- package/dist/{loop-runner-bin-UpYsI0iM.d.ts → loop-runner-bin-cUBz2dI3.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 +5 -5
- package/dist/{openai-tools-BoHnTyO2.d.ts → openai-tools-B_iSLxRt.d.ts} +2 -2
- package/dist/placement.d.ts +1 -1
- package/dist/{prepare-0kTqt9qn.js → prepare-DpavgJT8.js} +7 -8
- package/dist/{prepare-0kTqt9qn.js.map → prepare-DpavgJT8.js.map} +1 -1
- package/dist/{profile-DhZvQngF.js → profile-ZS7_KLwK.js} +55 -30
- package/dist/profile-ZS7_KLwK.js.map +1 -0
- package/dist/{profile-materialization-BnoEf1co.d.ts → profile-materialization-C5-t3HJ7.d.ts} +8 -3
- package/dist/profiles.d.ts +1 -1
- package/dist/{protected-model-port-CFQj32Lt.js → protected-model-port-BLyyfL3l.js} +4 -4
- package/dist/{protected-model-port-CFQj32Lt.js.map → protected-model-port-BLyyfL3l.js.map} +1 -1
- package/dist/{provision-supervisor-CyQfHdRp.js → provision-supervisor-BZx-pDF2.js} +4 -4
- package/dist/{provision-supervisor-CyQfHdRp.js.map → provision-supervisor-BZx-pDF2.js.map} +1 -1
- package/dist/{runtime-CcRx5_Vj.js → runtime-Agdr28lx.js} +111 -177
- package/dist/runtime-Agdr28lx.js.map +1 -0
- package/dist/{search-executor-D-fj_D5B.js → search-executor-DkxGFYh8.js} +3 -3
- package/dist/{search-executor-D-fj_D5B.js.map → search-executor-DkxGFYh8.js.map} +1 -1
- package/dist/{server-_lleZFlY.js → server-DRvmdqAe.js} +4 -4
- package/dist/{server-_lleZFlY.js.map → server-DRvmdqAe.js.map} +1 -1
- package/dist/{supervise-D1Zs0u8D.js → supervise-Hn5Bkl4x.js} +11 -50
- package/dist/supervise-Hn5Bkl4x.js.map +1 -0
- package/dist/{supervisor-BBhhuv4v.js → supervisor-Cwnf_e8V.js} +97 -84
- package/dist/supervisor-Cwnf_e8V.js.map +1 -0
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +14 -14
- package/dist/tui/index.d.ts +1 -1
- package/dist/tui/index.js +1 -1
- package/dist/{types-Ca5R4QXR.d.ts → types-D3un8JfP.d.ts} +4 -5
- package/dist/{sandbox-profile-compat-CVgQWb7T.js → workspace-streams-CcoARX4v.js} +12 -49
- package/dist/workspace-streams-CcoARX4v.js.map +1 -0
- package/package.json +9 -9
- package/dist/profile-DhZvQngF.js.map +0 -1
- package/dist/runtime-CcRx5_Vj.js.map +0 -1
- package/dist/sandbox-profile-compat-CVgQWb7T.js.map +0 -1
- package/dist/supervise-D1Zs0u8D.js.map +0 -1
- package/dist/supervisor-BBhhuv4v.js.map +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { n as assertNoSymlinkDescendant } from "./durable-file-B_eJr6Mb.js";
|
|
2
|
-
import { $n as readHarnessTranscript, $r as renderUnsupported, A as scopeOwnerExecutorNodeContext, At as bindReusableExecutorExecutionId, B as consumeScopeRetainedOwnerResult, Bt as createRouterTranscript, C as deriveNodeExecutionIdentity, Ct as checkVerdictOf, D as recordScopeOwnerMaterialization, E as recordScopeOwnerDriverAttempt, F as seatExecutionProfile, Fn as bridgeRuntimeAttachmentsKey, G as scopeRetainedOwnerContext, Gr as defineProfileMaterializationContract, H as prepareScopeRetainedOwnerSeatSwitch, Hr as assertProfileMaterialization, Ht as WORKER_TRACE_PROPAGATION, I as abandonScopeRetainedOwnerInvocation, In as bridgeStopSignalKey, It as snapshotExecutorConfig, J as scopeRetainedOwnerResourceReader, Jn as linkAbort, Jr as promptControlProfileMaterialization, K as scopeRetainedOwnerJournalRoot, Kn as RunCancellationReason, Kr as fullProfileMaterialization, L as beginScopeRetainedOwnerDrive, M as SeatChain, Mi as
|
|
2
|
+
import { $n as readHarnessTranscript, $r as renderUnsupported, A as scopeOwnerExecutorNodeContext, At as bindReusableExecutorExecutionId, B as consumeScopeRetainedOwnerResult, Bt as createRouterTranscript, C as deriveNodeExecutionIdentity, Ct as checkVerdictOf, D as recordScopeOwnerMaterialization, E as recordScopeOwnerDriverAttempt, F as seatExecutionProfile, Fn as bridgeRuntimeAttachmentsKey, G as scopeRetainedOwnerContext, Gr as defineProfileMaterializationContract, H as prepareScopeRetainedOwnerSeatSwitch, Hr as assertProfileMaterialization, Ht as WORKER_TRACE_PROPAGATION, I as abandonScopeRetainedOwnerInvocation, In as bridgeStopSignalKey, It as snapshotExecutorConfig, J as scopeRetainedOwnerResourceReader, Jn as linkAbort, Jr as promptControlProfileMaterialization, K as scopeRetainedOwnerJournalRoot, Kn as RunCancellationReason, Kr as fullProfileMaterialization, L as beginScopeRetainedOwnerDrive, M as SeatChain, Mi as retainedExecutorSeamKey, N as SeatChainExhaustedError, O as recordScopeOwnerPause, P as authoredSeatStages, Pt as createExecutor, Qn as persistHarnessTranscript, R as bindScopeRetainedOwnerEnvironmentId, Sa as spendFromUsageTotals, Sr as toOtelAttributes, St as bestComposite, T as meterRuntimeOwnedProviderAttempt, Tn as routerBrain, U as prepareScopeRetainedOwnerTask, V as noteScopeRetainedOwnerCoordination, W as reconcileScopeRetainedOwnerEnvironment, Wr as controlProfileMaterialization, X as scopeRetainedOwnerResult, Y as scopeRetainedOwnerRestorePoint, Yn as runAbortable, Yr as promptModelProfileMaterialization, Yt as createActivityLog, Z as scopeRetainedOwnerTurnEnded, Zt as createInbox, _ as isDriverSpec, _a as assertValidBudget, _i as runtimeOwnedExecutorMaterialization, _t as CONTINUATIONS_DIR, ai as attestRuntimeOwnedScopeOwner, at as runtimeGraphMetadataKey, b as assertRecursiveReservationPolicy, ba as newUsageTotals, bi as runtimeOwnedScopeOwnerRuntime, bt as admitContinuationPolicy, c as runTree, ca as parseWorkerToolTraceArtifact, cn as bridgeAdmissionRefusal, en as PEER_MAIL_WIRE_KEY, f as runDriverWithRetry, fa as detachedSnapshot, g as driverExecutorFactory, gi as runtimeOwnedExecutorExecutionBinding, gr as createOtelExporter, h as driverChild, hi as runtimeOwnedDriveHarnessProviderEvidence, ht as gateOnDeliverable, i as bestDelivered, it as providerVisibleProfile, ji as registerRetainedExecutorPreparation, jn as resolveAgentEnvironmentProvider, jt as captureReusableExecutorConfig, k as restoreScopeOwnerAcceptedExecution, li as inheritRuntimeOwnedExecutorAttestation, ln as bridgeModelRouteRefusal, ma as errMessage, mi as recordRuntimeOwnedDriveHarnessProviderEvidence, n as createRootHandle, nt as coordinationMcpAlias, oi as authoredAgentIdentity, on as isLiveNodeStatus, p as summarizeDriverAttempts, pa as executorFailure, pi as providerAttemptEvidence, q as scopeRetainedOwnerPriorSpend, qr as profileMaterializationAxes$1, r as createSupervisor, ri as worktreeCliProfileMaterialization, rn as isPeerMailEnvelope, rt as coordinationProfileToolPrefix, s as runFinalizer, ti as unsupportedProfileDimensions, u as HarnessTurnFailedError, ua as contentAddress, vi as runtimeOwnedExecutorProviderEvidence, vr as generateSpanId, w as meterRuntimeOwnedAccounting, wt as createContinuationKeeper, x as beginScopeOwnerAttempt, ya as meterUsageEvent, yi as runtimeOwnedPendingExecutorMaterialization, yt as CheckUnavailableError, z as bindScopeRetainedOwnerProvider } from "./supervisor-Cwnf_e8V.js";
|
|
3
3
|
import { f as RuntimeRunStateError, i as ConfigError, m as ValidationError } from "./errors-DodWX-cb.js";
|
|
4
|
-
import {
|
|
4
|
+
import { Dt as teardownSurfaces, Et as teardownExecutor, V as addSpend, Z as isAsyncIterable$1, ct as withTimeout, dt as addResourceSpend, lt as zeroSpend, mt as withBudgetResources, pt as resourceTelemetry, q as errorMessage, rt as sleep, st as unmeteredSpend, yt as DEFAULT_SUCCESSFUL_SHUTDOWN_MS } from "./workspace-streams-CcoARX4v.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, 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-BDW2BD3B.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";
|
|
@@ -2365,23 +2365,6 @@ function observeWorkerControls(options) {
|
|
|
2365
2365
|
* Both arms spawn children through the SAME `makeWorkerAgent` seam and apply the SAME independent
|
|
2366
2366
|
* deliverable check to direct submissions. Raw driver prose is never quality-accepted.
|
|
2367
2367
|
*/
|
|
2368
|
-
/**
|
|
2369
|
-
* The completion check of a managed child that no `resolveDeliverable` gave a check of its own, a
|
|
2370
|
-
* `run_graph` node included: its accepted submission settles it, and the result goes to the manager
|
|
2371
|
-
* that assigned the task. The run's own check judges the run's result, never a child's narrower
|
|
2372
|
-
* assignment. Held to the run's check, a child's submission is refused for as long as the run's
|
|
2373
|
-
* is: every node of test-canary-graph-tools-20261017a, and the `delay` child of
|
|
2374
|
-
* test-retained-root-wake-20261018b (2026-10-18: "Expected: the canary runs to its deadline"), was
|
|
2375
|
-
* refused at submit_result, never settled, and its manager was never woken with it.
|
|
2376
|
-
*
|
|
2377
|
-
* It is the one check a harness manager may hold without a continuation policy: it accepts every
|
|
2378
|
-
* submission, so there is nothing to send the child back for. test-canary-graph-tools-20261018c and
|
|
2379
|
-
* -d (2026-10-18) had every harness-run graph lead refused at spawn until this exemption.
|
|
2380
|
-
*/
|
|
2381
|
-
const ownSubmissionDeliverable = Object.freeze({
|
|
2382
|
-
describe: "the result your task asks for; it goes to the manager that assigned the task, and the run's own check judges that manager's result",
|
|
2383
|
-
check: () => true
|
|
2384
|
-
});
|
|
2385
2368
|
const coordinationVerbNameSet$1 = new Set(coordinationVerbNames);
|
|
2386
2369
|
/** Bare Runtime tool names explicitly enabled by one exact profile. */
|
|
2387
2370
|
function declaredRuntimeToolNames(profile) {
|
|
@@ -2558,7 +2541,7 @@ function buildSupervisorAgent(profile, deps, testBrain) {
|
|
|
2558
2541
|
if (harness !== null && deps.compaction) throw new ValidationError("supervisorAgent: compaction is only supported for router-brained supervisors (profile.harness omitted or cli-base)");
|
|
2559
2542
|
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.");
|
|
2560
2543
|
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");
|
|
2561
|
-
if (harness !== null && deps.deliverable !== void 0 && deps.
|
|
2544
|
+
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");
|
|
2562
2545
|
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`);
|
|
2563
2546
|
const continuationDeadlineMs = deps.continuation === void 0 ? void 0 : admitContinuationPolicy(deps.continuation, "supervisorAgent");
|
|
2564
2547
|
if (harness === null) {
|
|
@@ -3600,8 +3583,8 @@ function workerTraceUnpropagatedDeclaration(backend) {
|
|
|
3600
3583
|
function backendProfileMaterialization(backend) {
|
|
3601
3584
|
switch (backend.backend) {
|
|
3602
3585
|
case "bridge":
|
|
3586
|
+
case "sandbox":
|
|
3603
3587
|
case "provider": return fullProfileMaterialization;
|
|
3604
|
-
case "sandbox": return sandboxProfileMaterialization;
|
|
3605
3588
|
case "cli-worktree": return backend.bridge ? fullProfileMaterialization : worktreeCliProfileMaterialization;
|
|
3606
3589
|
case "cli-in-place": return worktreeCliProfileMaterialization;
|
|
3607
3590
|
case "router":
|
|
@@ -4847,6 +4830,7 @@ function recordRunCancellationOutcome(runDir, result, now) {
|
|
|
4847
4830
|
detail: `run settled ${result.kind === "winner" ? "winner" : result.reason} despite the abort request; nothing was terminated`
|
|
4848
4831
|
});
|
|
4849
4832
|
}
|
|
4833
|
+
/** A quarter of token and optional dollar capacity per worker; nested managers partition again. */
|
|
4850
4834
|
/** A per-child budget may not exceed the conserved pool it is reserved from. */
|
|
4851
4835
|
function assertPerWorkerWithinPool(perWorker, pool) {
|
|
4852
4836
|
const over = (child, total, field) => child > total ? `supervise perWorker.${field} (${child}) exceeds budget.${field} (${total})` : null;
|
|
@@ -4865,26 +4849,6 @@ function assertPerWorkerWithinPool(perWorker, pool) {
|
|
|
4865
4849
|
].filter((x) => x !== null);
|
|
4866
4850
|
if (problems.length > 0) throw new ValidationError(`${problems.join("; ")} — a per-child ceiling cannot exceed the pool it draws from, and accepting it silently leaves the caller believing a knob is in effect when the reservation still clamps the child.`);
|
|
4867
4851
|
}
|
|
4868
|
-
/** A caller's per-child budget must fit the part of the pool children may reserve: the pool less
|
|
4869
|
-
* the owner's kept share per channel (`reservationPolicy.ownerShare`, the floor scope admission
|
|
4870
|
-
* keeps). Larger, and not even one child is ever admitted. Without a kept share, a token or
|
|
4871
|
-
* iteration ceiling equal to the whole pool lets the first child take every unit, so the owner's
|
|
4872
|
-
* next turn is refused as budget-exhausted while the child still holds the rest. */
|
|
4873
|
-
function assertPerWorkerAdmittable(perWorker, pool, ownerShare) {
|
|
4874
|
-
const unreservable = (child, total, kept, field) => {
|
|
4875
|
-
if (ownerShare > 0) {
|
|
4876
|
-
const reservable = total - kept;
|
|
4877
|
-
return child > reservable ? `supervise perWorker.${field} (${child}) exceeds the reservable budget.${field} (${reservable}: ${total} less the owner's kept ${kept} at reservationPolicy.ownerShare ${ownerShare})` : null;
|
|
4878
|
-
}
|
|
4879
|
-
return child >= total ? `supervise perWorker.${field} (${child}) equals the whole budget.${field} (${total}), so the first child takes every unit and the owner has none left for its next turn` : null;
|
|
4880
|
-
};
|
|
4881
|
-
const unadmittable = [
|
|
4882
|
-
unreservable(perWorker.maxTokens, pool.maxTokens, Math.ceil(pool.maxTokens * ownerShare), "maxTokens"),
|
|
4883
|
-
unreservable(perWorker.maxIterations, pool.maxIterations, Math.ceil(pool.maxIterations * ownerShare), "maxIterations"),
|
|
4884
|
-
perWorker.maxUsd !== void 0 && pool.maxUsd !== void 0 && ownerShare > 0 ? unreservable(perWorker.maxUsd, pool.maxUsd, pool.maxUsd * ownerShare, "maxUsd") : null
|
|
4885
|
-
].filter((x) => x !== null);
|
|
4886
|
-
if (unadmittable.length > 0) throw new ValidationError(`${unadmittable.join("; ")} — lower perWorker on that channel so a child fits beside the owner's own turns; otherwise children are refused or starve at spawn hours into the run.`);
|
|
4887
|
-
}
|
|
4888
4852
|
/** The slice a child gets when its manager names none: a quarter of the part of the manager's
|
|
4889
4853
|
* budget its children may reserve, so four default children fill that part and the manager's
|
|
4890
4854
|
* own share stays free for its turns. Each nested manager divides its own slice the same way. */
|
|
@@ -5181,7 +5145,6 @@ function superviseInternal(profile, task, opts, testBrain) {
|
|
|
5181
5145
|
const perWorker = options.perWorker ?? defaultPerWorker(options.budget, ownerShare);
|
|
5182
5146
|
assertValidBudget(perWorker, "supervise perWorker");
|
|
5183
5147
|
assertPerWorkerWithinPool(perWorker, options.budget);
|
|
5184
|
-
if (options.perWorker !== void 0) assertPerWorkerAdmittable(perWorker, options.budget, ownerShare);
|
|
5185
5148
|
const journal = options.journal ?? ctx.journal;
|
|
5186
5149
|
const runId = options.runId ?? ctx.runId ?? "supervise";
|
|
5187
5150
|
const runNamespace = ctx.namespace ?? supervisionRunNamespace(options.runDir, runId);
|
|
@@ -5392,8 +5355,6 @@ function superviseInternal(profile, task, opts, testBrain) {
|
|
|
5392
5355
|
if (subtask !== void 0 && graph !== void 0) throw new ValidationError("supervise: a node of a graph cannot start another graph; add the work as nodes");
|
|
5393
5356
|
const ownGraph = subtask === void 0 ? void 0 : graphOverlayFor(subtask);
|
|
5394
5357
|
const subtreeGraph = ownGraph ?? graph;
|
|
5395
|
-
const ownSubmission = selectedDeliverable === void 0 && (subtreeGraph !== void 0 || deliverable !== void 0);
|
|
5396
|
-
const managerDeliverable = ownSubmission ? ownSubmissionDeliverable : childDeliverable;
|
|
5397
5358
|
const nestedDriveHarness = isExternalSupervisor(authorized) ? driveHarnessForOwner(freezeDetached({
|
|
5398
5359
|
runId,
|
|
5399
5360
|
runNamespace,
|
|
@@ -5476,11 +5437,11 @@ function superviseInternal(profile, task, opts, testBrain) {
|
|
|
5476
5437
|
...options.compaction ? { compaction: options.compaction } : {},
|
|
5477
5438
|
...options.driverRetry ? { driverRetry: options.driverRetry } : {},
|
|
5478
5439
|
...options.onDriverAttempt ? { onDriverAttempt: options.onDriverAttempt } : {},
|
|
5479
|
-
...
|
|
5480
|
-
...
|
|
5440
|
+
...childDeliverable && !seatManagedLeaf ? { deliverable: childDeliverable } : {},
|
|
5441
|
+
...childDeliverable && !seatManagedLeaf ? { onAcceptedSubmission: () => {
|
|
5481
5442
|
acceptedSubmission = true;
|
|
5482
5443
|
} } : {},
|
|
5483
|
-
...
|
|
5444
|
+
...childDeliverable && !seatManagedLeaf && options.continuation && isExternalSupervisor(authorized) ? {
|
|
5484
5445
|
continuation: options.continuation,
|
|
5485
5446
|
...options.runDir === void 0 ? {} : { continuationDir: resolve(options.runDir, CONTINUATIONS_DIR, "managers", encodeURIComponent(ownerId)) }
|
|
5486
5447
|
} : {},
|
|
@@ -5495,7 +5456,7 @@ function superviseInternal(profile, task, opts, testBrain) {
|
|
|
5495
5456
|
},
|
|
5496
5457
|
...options.steerDir === void 0 ? {} : { steerDir: resolve(options.steerDir) },
|
|
5497
5458
|
...options.runDir === void 0 && options.steerDir === void 0 ? {} : { controlScope: "subtree" }
|
|
5498
|
-
}), journal, childExecution.ref, () => acceptedSubmission, recoveryFactories.get(childFactory), () => unassessedOutput, seatManagedLeaf ?
|
|
5459
|
+
}), journal, childExecution.ref, () => acceptedSubmission, recoveryFactories.get(childFactory), () => unassessedOutput, seatManagedLeaf ? childDeliverable : void 0, ownGraph ? (out) => graphSubtaskOutput(ownGraph, out) : void 0);
|
|
5499
5460
|
};
|
|
5500
5461
|
if (options.makeLeafAgent === void 0 && options.backend?.backend === "provider" && !options.backend.steering) {
|
|
5501
5462
|
const factory = registerRetainedExecutorPreparation(createExecutor(options.backend), ({ spawned, profile, task }) => {
|
|
@@ -5756,4 +5717,4 @@ function rootProviderModelEvidenceFromExecution(evidence) {
|
|
|
5756
5717
|
//#endregion
|
|
5757
5718
|
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 };
|
|
5758
5719
|
|
|
5759
|
-
//# sourceMappingURL=supervise-
|
|
5720
|
+
//# sourceMappingURL=supervise-Hn5Bkl4x.js.map
|