@tangle-network/agent-runtime 0.319.10 → 0.321.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-OColGsfd.d.ts → activation-BxOOvwjo.d.ts} +2 -2
- package/dist/{activation-BKglRwjB.js → activation-CXFl5YVE.js} +2 -2
- package/dist/{activation-BKglRwjB.js.map → activation-CXFl5YVE.js.map} +1 -1
- package/dist/agent.d.ts +1 -1
- package/dist/agent.js +2 -2
- package/dist/candidate-execution/index.js +3 -3
- package/dist/{coordination-driver-CE01_us_.js → coordination-driver-Bpn05N-Y.js} +21 -4
- package/dist/coordination-driver-Bpn05N-Y.js.map +1 -0
- package/dist/{delegate-BptW384t.js → delegate-BHlcTOdK.js} +2 -2
- package/dist/{delegate-BptW384t.js.map → delegate-BHlcTOdK.js.map} +1 -1
- package/dist/durable.d.ts +1 -1
- package/dist/durable.js +3 -3
- package/dist/{graph-Bkcora6P.js → graph-DE2dLhDI.js} +4 -4
- package/dist/{graph-Bkcora6P.js.map → graph-DE2dLhDI.js.map} +1 -1
- package/dist/{improvement-cycle-0cnwWPFY.js → improvement-cycle-CyChbojL.js} +5 -5
- package/dist/{improvement-cycle-0cnwWPFY.js.map → improvement-cycle-CyChbojL.js.map} +1 -1
- package/dist/{index-Da7w2H86.d.ts → index-BxiHetnG.d.ts} +244 -3
- package/dist/index.d.ts +4 -4
- package/dist/index.js +7 -7
- package/dist/intelligence.d.ts +2 -2
- package/dist/intelligence.js +6 -6
- package/dist/kernel.d.ts +2 -2
- package/dist/kernel.js +9 -9
- package/dist/{loop-runner-bin-DRw76sWb.js → loop-runner-bin-CT02Vzco.js} +3 -3
- package/dist/{loop-runner-bin-DRw76sWb.js.map → loop-runner-bin-CT02Vzco.js.map} +1 -1
- package/dist/{loop-runner-bin-CbBoLC9D.d.ts → loop-runner-bin-DInJZNgs.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-Cu9E1Bda.d.ts → openai-tools-DLTw576v.d.ts} +2 -2
- package/dist/{prepare-DjCLEN-q.js → prepare-CFQLx9e3.js} +2 -2
- package/dist/{prepare-DjCLEN-q.js.map → prepare-CFQLx9e3.js.map} +1 -1
- package/dist/{profile-DmVM4Gxb.js → profile-BTbpdL9h.js} +40 -4
- package/dist/profile-BTbpdL9h.js.map +1 -0
- package/dist/profiles.d.ts +1 -1
- package/dist/{protected-model-port-D1fcnYdj.js → protected-model-port-f1N2f0Uq.js} +3 -3
- package/dist/{protected-model-port-D1fcnYdj.js.map → protected-model-port-f1N2f0Uq.js.map} +1 -1
- package/dist/{provision-supervisor-Bs698TqJ.js → provision-supervisor-DvgBNtoJ.js} +3 -3
- package/dist/{provision-supervisor-Bs698TqJ.js.map → provision-supervisor-DvgBNtoJ.js.map} +1 -1
- package/dist/{runtime-SioKh3r_.js → runtime-wLgjMOaj.js} +399 -11
- package/dist/runtime-wLgjMOaj.js.map +1 -0
- package/dist/{search-executor-DjKdQluM.js → search-executor-TEKWC579.js} +2 -2
- package/dist/{search-executor-DjKdQluM.js.map → search-executor-TEKWC579.js.map} +1 -1
- package/dist/{server-BfEwCD55.js → server-qYhzITTm.js} +3 -3
- package/dist/{server-BfEwCD55.js.map → server-qYhzITTm.js.map} +1 -1
- package/dist/{supervise-Bj8U345y.js → supervise-C4bLIU7J.js} +68 -16
- package/dist/supervise-C4bLIU7J.js.map +1 -0
- package/dist/{supervisor-CCtmmmOz.js → supervisor-bkq2b8k-.js} +383 -43
- package/dist/supervisor-bkq2b8k-.js.map +1 -0
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +13 -13
- package/dist/tui/index.d.ts +1 -1
- package/dist/tui/index.js +1 -1
- package/package.json +4 -4
- package/skills/profile-authoring/SKILL.md +1 -1
- package/dist/coordination-driver-CE01_us_.js.map +0 -1
- package/dist/profile-DmVM4Gxb.js.map +0 -1
- package/dist/runtime-SioKh3r_.js.map +0 -1
- package/dist/supervise-Bj8U345y.js.map +0 -1
- package/dist/supervisor-CCtmmmOz.js.map +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { $i as
|
|
1
|
+
import { $i as runtimeOwnedExecutorProviderEvidence, A as scopeOwnerExecutorNodeContext, Ai as promptControlProfileMaterialization, An as resolveAgentEnvironmentProvider, Ar as persistHarnessTranscript, At as captureReusableExecutorConfig, B as consumeScopeRetainedOwnerResult, C as deriveNodeExecutionIdentity, Ct as createContinuationKeeper, D as recordScopeOwnerMaterialization, Di as defineProfileMaterializationContract, Dr as runAbortable, E as recordScopeOwnerDriverAttempt, Ei as controlProfileMaterialization, Er as linkAbort, F as seatExecutionProfile, Fi as renderUnsupported, Fn as retainedExecutorSeamKey, Ft as snapshotExecutorConfig, G as scopeRetainedOwnerContext, H as prepareScopeRetainedOwnerSeatSwitch, I as abandonScopeRetainedOwnerInvocation, J as scopeRetainedOwnerResourceReader, Ji as providerAttemptEvidence, Jn as isNoEntError, Jt as createActivityLog, K as scopeRetainedOwnerJournalRoot, L as beginScopeRetainedOwnerDrive, Li as unsupportedProfileDimensions, M as SeatChain, N as SeatChainExhaustedError, Nt as createExecutor, O as recordScopeOwnerPause, Oi as fullProfileMaterialization, P as authoredSeatStages, Pn as registerRetainedExecutorPreparation, Pr as contentAddress, Qi as runtimeOwnedExecutorMaterialization, Qr as createOtelExporter, R as bindScopeRetainedOwnerEnvironmentId, St as checkVerdictOf, T as meterRuntimeOwnedProviderAttempt, U as prepareScopeRetainedOwnerTask, V as noteScopeRetainedOwnerCoordination, Vi as attestRuntimeOwnedScopeOwner, Vt as WORKER_TRACE_PROPAGATION, W as reconcileScopeRetainedOwnerEnvironment, Wi as inheritRuntimeOwnedExecutorAttestation, X as scopeRetainedOwnerResult, Xi as runtimeOwnedDriveHarnessProviderEvidence, Xn as readCommittedJsonLines, Xt as createInbox, Y as scopeRetainedOwnerRestorePoint, Yi as recordRuntimeOwnedDriveHarnessProviderEvidence, Yn as prepareJsonlAppend, Z as scopeRetainedOwnerTurnEnded, Zi as runtimeOwnedExecutorExecutionBinding, _ as isDriverSpec, an as isLiveNodeStatus, b as assertRecursiveReservationPolicy, c as runTree, cn as bridgeModelRouteRefusal, cr as meterUsageEvent, dr as spendFromUsageTotals, ea as runtimeOwnedPendingExecutorMaterialization, ei as generateSpanId, f as runDriverWithRetry, fr as bridgeRuntimeAttachmentsKey, g as driverExecutorFactory, gt as CONTINUATIONS_DIR, h as driverChild, i as bestDelivered, ii as toOtelAttributes, it as providerVisibleProfile, ji as promptModelProfileMaterialization, jr as readHarnessTranscript, k as restoreScopeOwnerAcceptedExecution, ki as profileMaterializationAxes$1, kt as bindReusableExecutorExecutionId, lr as newUsageTotals, mr as errMessage, mt as gateOnDeliverable, n as createRootHandle, nt as coordinationMcpAlias, or as assertValidBudget, p as summarizeDriverAttempts, pr as bridgeStopSignalKey, q as scopeRetainedOwnerPriorSpend, r as createSupervisor, rr as executorFailure, rt as coordinationProfileToolPrefix, s as runFinalizer, sa as detachedSnapshot, sn as bridgeAdmissionRefusal, ta as runtimeOwnedScopeOwnerRuntime, tr as parseWorkerToolTraceArtifact, u as HarnessTurnFailedError, vt as CheckUnavailableError, w as meterRuntimeOwnedAccounting, wi as assertProfileMaterialization, wn as routerBrain, wr as RunCancellationReason, x as beginScopeOwnerAttempt, xt as bestComposite, yt as admitContinuationPolicy, z as bindScopeRetainedOwnerProvider, zi as worktreeCliProfileMaterialization, zt as createRouterTranscript } from "./supervisor-bkq2b8k-.js";
|
|
2
2
|
import { f as RuntimeRunStateError, i as ConfigError, m as ValidationError } from "./errors-DodWX-cb.js";
|
|
3
3
|
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-DFAhW7hF.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-CNe257pB.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
|
|
7
|
+
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-Bpn05N-Y.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";
|
|
@@ -2204,10 +2204,12 @@ function buildSupervisorAgent(profile, deps, testBrain) {
|
|
|
2204
2204
|
};
|
|
2205
2205
|
const loopRecords = [];
|
|
2206
2206
|
let deadlineWarned = false;
|
|
2207
|
+
let pendingWake;
|
|
2207
2208
|
const managerStartedAt = Date.now();
|
|
2208
2209
|
let environmentReplacements = 0;
|
|
2209
2210
|
let workspaceRestores = 0;
|
|
2210
2211
|
const describe = deps.deliverable?.describe;
|
|
2212
|
+
const session = deps.continuation?.session;
|
|
2211
2213
|
const settleLoop = () => {
|
|
2212
2214
|
const stopReason = controls.stopReason() ?? progressStopReason;
|
|
2213
2215
|
const closedBy = mcp.submittedResult() ? "result-accepted" : mcp.isStopped() ? "stop" : progressStopReason !== void 0 ? "stop-rule" : void 0;
|
|
@@ -2231,12 +2233,36 @@ function buildSupervisorAgent(profile, deps, testBrain) {
|
|
|
2231
2233
|
scope.signal.throwIfAborted();
|
|
2232
2234
|
beginScopeOwnerAttempt(scope, attempt);
|
|
2233
2235
|
controls.beginDriverAttempt(attempt);
|
|
2234
|
-
|
|
2236
|
+
let current = reentry;
|
|
2237
|
+
const held = pendingWake?.attempt === attempt ? pendingWake : void 0;
|
|
2238
|
+
pendingWake = void 0;
|
|
2239
|
+
const refresh = held === void 0 || current?.reason !== "wake" ? void 0 : async () => {
|
|
2240
|
+
const signal = AbortSignal.any([scope.signal, stopController.signal]);
|
|
2241
|
+
const later = await controls.awaitWake({
|
|
2242
|
+
attempt,
|
|
2243
|
+
signal,
|
|
2244
|
+
heartbeatMs: 0,
|
|
2245
|
+
debounceMs: 0
|
|
2246
|
+
});
|
|
2247
|
+
if (signal.aborted || current?.reason !== "wake") return;
|
|
2248
|
+
current = {
|
|
2249
|
+
...current,
|
|
2250
|
+
input: composeWakeInput(refreshedWake(held.wake, later, Date.now() - held.at), {
|
|
2251
|
+
tools: runtimeToolNames,
|
|
2252
|
+
deadlineMs: scope.budget.deadlineMs,
|
|
2253
|
+
now: Date.now()
|
|
2254
|
+
})
|
|
2255
|
+
};
|
|
2256
|
+
};
|
|
2257
|
+
const compose = current === void 0 ? void 0 : (continuity) => composeReentryTask({
|
|
2235
2258
|
originalTask: task,
|
|
2236
2259
|
tools: runtimeToolNames,
|
|
2237
2260
|
...describe === void 0 ? {} : { contract: describe },
|
|
2238
|
-
reentry,
|
|
2239
|
-
continuity
|
|
2261
|
+
reentry: current,
|
|
2262
|
+
continuity: session === "fresh" ? {
|
|
2263
|
+
...continuity,
|
|
2264
|
+
session: "new"
|
|
2265
|
+
} : continuity,
|
|
2240
2266
|
state: controls.reentryState(),
|
|
2241
2267
|
attempt
|
|
2242
2268
|
});
|
|
@@ -2248,10 +2274,12 @@ function buildSupervisorAgent(profile, deps, testBrain) {
|
|
|
2248
2274
|
authoredProfile: stableProfile,
|
|
2249
2275
|
...registeredProfile === stableProfile ? {} : { registeredProfile },
|
|
2250
2276
|
...profilePrompt !== void 0 ? { systemPrompt: profilePrompt } : {},
|
|
2277
|
+
...session === void 0 ? {} : { session },
|
|
2251
2278
|
task: compose === void 0 ? task : compose(UNPROVEN_CONTINUITY),
|
|
2252
2279
|
...compose === void 0 ? {} : { reentry: {
|
|
2253
2280
|
reason: reentry,
|
|
2254
2281
|
compose,
|
|
2282
|
+
...refresh === void 0 ? {} : { refresh },
|
|
2255
2283
|
onContinuity: (continuity) => {
|
|
2256
2284
|
if (continuity.environment === "replaced") environmentReplacements += 1;
|
|
2257
2285
|
if (continuity.workspace === "restored") workspaceRestores += 1;
|
|
@@ -2298,6 +2326,11 @@ function buildSupervisorAgent(profile, deps, testBrain) {
|
|
|
2298
2326
|
});
|
|
2299
2327
|
if (wake === void 0 || stopController.signal.aborted) return void 0;
|
|
2300
2328
|
if (wake.reason === "deadline") deadlineWarned = true;
|
|
2329
|
+
pendingWake = {
|
|
2330
|
+
attempt: nextAttempt,
|
|
2331
|
+
wake,
|
|
2332
|
+
at: Date.now()
|
|
2333
|
+
};
|
|
2301
2334
|
return {
|
|
2302
2335
|
input: composeWakeInput(wake, {
|
|
2303
2336
|
tools: runtimeToolNames,
|
|
@@ -3166,6 +3199,10 @@ function driveHarnessFromBackend(backend, executionId, now = Date.now, maxTurns,
|
|
|
3166
3199
|
}
|
|
3167
3200
|
};
|
|
3168
3201
|
let managerTranscript;
|
|
3202
|
+
let lastExecutor;
|
|
3203
|
+
const keepTranscript = (capture) => {
|
|
3204
|
+
if (capture !== void 0 && (capture.status !== "unavailable" || managerTranscript?.status === "unavailable" || managerTranscript === void 0)) managerTranscript = capture;
|
|
3205
|
+
};
|
|
3169
3206
|
let managerArtifact;
|
|
3170
3207
|
const committedTranscriptDigest = (artifact) => {
|
|
3171
3208
|
if (artifact === void 0) return "Prior committed transcript: no bounded turn content was captured.";
|
|
@@ -3188,7 +3225,7 @@ function driveHarnessFromBackend(backend, executionId, now = Date.now, maxTurns,
|
|
|
3188
3225
|
let seatChain;
|
|
3189
3226
|
let activeSeat;
|
|
3190
3227
|
let switchedProviderCheckpointAt;
|
|
3191
|
-
const drive = async ({ profile, authoredProfile, registeredProfile, task, scope, coordinationMcpUrl, coordinationMcpHeaders, stopSignal, coordinationTools, reentry }) => {
|
|
3228
|
+
const drive = async ({ profile, authoredProfile, registeredProfile, task, scope, coordinationMcpUrl, coordinationMcpHeaders, stopSignal, coordinationTools, reentry, session }) => {
|
|
3192
3229
|
const priorCommittedArtifact = managerArtifact;
|
|
3193
3230
|
managerArtifact = void 0;
|
|
3194
3231
|
switchedProviderCheckpointAt = void 0;
|
|
@@ -3255,14 +3292,19 @@ function driveHarnessFromBackend(backend, executionId, now = Date.now, maxTurns,
|
|
|
3255
3292
|
}
|
|
3256
3293
|
let driveTask = task;
|
|
3257
3294
|
if (reentry !== void 0) {
|
|
3258
|
-
const
|
|
3295
|
+
const proven = switchedProviderCheckpointAt === void 0 ? await reentryContinuity(boundBackend, scope, retainedOwner !== void 0) : {
|
|
3259
3296
|
session: "new",
|
|
3260
3297
|
environment: "replaced",
|
|
3261
3298
|
workspace: "restored",
|
|
3262
3299
|
checkpointAt: switchedProviderCheckpointAt
|
|
3263
3300
|
};
|
|
3264
|
-
if (activeSeat?.previous && activeSeat.previous.seat !== activeSeat.seat && activeSeat.previous.provider === activeSeat.stage.provider && activeSeat.previous.harness === activeSeat.stage.harness && (
|
|
3301
|
+
if (activeSeat?.previous && activeSeat.previous.seat !== activeSeat.seat && activeSeat.previous.provider === activeSeat.stage.provider && activeSeat.previous.harness === activeSeat.stage.harness && (proven.session !== "continued" || proven.environment !== "same")) throw new ValidationError("same-provider seat continuation lost its native environment");
|
|
3302
|
+
const continuity = session === "fresh" && proven.session === "continued" ? {
|
|
3303
|
+
...proven,
|
|
3304
|
+
session: "new"
|
|
3305
|
+
} : proven;
|
|
3265
3306
|
reentry.onContinuity?.(continuity);
|
|
3307
|
+
await reentry.refresh?.();
|
|
3266
3308
|
driveTask = reentry.compose(continuity);
|
|
3267
3309
|
if (activeSeat?.previous && (activeSeat.previous.provider !== activeSeat.stage.provider || activeSeat.previous.harness !== activeSeat.stage.harness)) driveTask = [
|
|
3268
3310
|
String(driveTask),
|
|
@@ -3276,7 +3318,7 @@ function driveHarnessFromBackend(backend, executionId, now = Date.now, maxTurns,
|
|
|
3276
3318
|
committedTranscriptDigest(priorCommittedArtifact)
|
|
3277
3319
|
].join("\n");
|
|
3278
3320
|
}
|
|
3279
|
-
const originalTask = retainedOwner ? await prepareScopeRetainedOwnerTask(scope, driveTask) : driveTask;
|
|
3321
|
+
const originalTask = retainedOwner ? await prepareScopeRetainedOwnerTask(scope, driveTask, session ?? "native") : driveTask;
|
|
3280
3322
|
const acceptedOwner = retainedOwner ? await scopeRetainedOwnerResult(scope) : void 0;
|
|
3281
3323
|
if (acceptedOwner) {
|
|
3282
3324
|
await restoreScopeOwnerAcceptedExecution(scope);
|
|
@@ -3311,7 +3353,10 @@ function driveHarnessFromBackend(backend, executionId, now = Date.now, maxTurns,
|
|
|
3311
3353
|
...coordinationMcpHeaders ? { headers: coordinationMcpHeaders } : {},
|
|
3312
3354
|
metadata: { toolTimeoutMs: COORDINATION_CLIENT_TOOL_TIMEOUT_MS }
|
|
3313
3355
|
};
|
|
3314
|
-
let factory =
|
|
3356
|
+
let factory = session === "fresh" && reentry !== void 0 && boundBackend.backend === "bridge" ? createExecutor(bindReusableExecutorExecutionId(boundBackend, externalExecutionId("supervised-manager-session", {
|
|
3357
|
+
sessionId: boundBackend.sessionId ?? executionId,
|
|
3358
|
+
attemptId: scopeOwnerExecutorNodeContext(scope).attemptId
|
|
3359
|
+
}))) : baseFactory;
|
|
3315
3360
|
if (boundBackend.backend === "provider") {
|
|
3316
3361
|
const credentialName = "AGENT_RUNTIME_COORDINATION_TOKEN";
|
|
3317
3362
|
const authorization = coordinationMcpHeaders?.Authorization;
|
|
@@ -3356,7 +3401,9 @@ function driveHarnessFromBackend(backend, executionId, now = Date.now, maxTurns,
|
|
|
3356
3401
|
[bridgeRuntimeAttachmentsKey]: { [coordinationMcpAlias]: attachment }
|
|
3357
3402
|
}
|
|
3358
3403
|
});
|
|
3404
|
+
keepTranscript(lastExecutor?.harnessTranscript?.());
|
|
3359
3405
|
activeExecutor = executor;
|
|
3406
|
+
lastExecutor = executor;
|
|
3360
3407
|
let completed = false;
|
|
3361
3408
|
let started = false;
|
|
3362
3409
|
let terminalAccountingCaptured = false;
|
|
@@ -3640,8 +3687,7 @@ function driveHarnessFromBackend(backend, executionId, now = Date.now, maxTurns,
|
|
|
3640
3687
|
failure = error;
|
|
3641
3688
|
}
|
|
3642
3689
|
}
|
|
3643
|
-
|
|
3644
|
-
if (capture !== void 0 && (capture.status !== "unavailable" || managerTranscript?.status === "unavailable" || managerTranscript === void 0)) managerTranscript = capture;
|
|
3690
|
+
keepTranscript(executor.harnessTranscript?.());
|
|
3645
3691
|
if (activeExecutor === executor) activeExecutor = void 0;
|
|
3646
3692
|
endDrive();
|
|
3647
3693
|
}
|
|
@@ -3671,8 +3717,13 @@ function driveHarnessFromBackend(backend, executionId, now = Date.now, maxTurns,
|
|
|
3671
3717
|
};
|
|
3672
3718
|
};
|
|
3673
3719
|
if (boundBackend.backend === "provider") {
|
|
3674
|
-
drive.harnessTranscript = () =>
|
|
3675
|
-
|
|
3720
|
+
drive.harnessTranscript = () => {
|
|
3721
|
+
const latest = lastExecutor?.harnessTranscript?.();
|
|
3722
|
+
if (latest === void 0) return managerTranscript;
|
|
3723
|
+
if (latest.status !== "unavailable") return latest;
|
|
3724
|
+
return managerTranscript !== void 0 && managerTranscript.status !== "unavailable" ? managerTranscript : latest;
|
|
3725
|
+
};
|
|
3726
|
+
drive.harnessTranscriptSettled = () => lastExecutor?.harnessTranscriptSettled?.() ?? Promise.resolve();
|
|
3676
3727
|
}
|
|
3677
3728
|
drive.closeSeatSegment = async (reason) => {
|
|
3678
3729
|
await seatChain?.close(reason);
|
|
@@ -4788,7 +4839,8 @@ function superviseInternal(profile, task, opts, testBrain) {
|
|
|
4788
4839
|
rootProviderModel,
|
|
4789
4840
|
...rootStream === void 0 ? {} : { rootStream },
|
|
4790
4841
|
...rootHarnessTranscript === void 0 ? {} : { rootHarnessTranscript },
|
|
4791
|
-
...rootContinuation === void 0 ? {} : { continuation: rootContinuation }
|
|
4842
|
+
...rootContinuation === void 0 ? {} : { continuation: rootContinuation },
|
|
4843
|
+
...rootExecution.ref === void 0 ? {} : { execution: rootExecution.ref }
|
|
4792
4844
|
};
|
|
4793
4845
|
};
|
|
4794
4846
|
if (!recorder) return settle();
|
|
@@ -4837,4 +4889,4 @@ function rootProviderModelEvidenceFromExecution(evidence) {
|
|
|
4837
4889
|
//#endregion
|
|
4838
4890
|
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 };
|
|
4839
4891
|
|
|
4840
|
-
//# sourceMappingURL=supervise-
|
|
4892
|
+
//# sourceMappingURL=supervise-C4bLIU7J.js.map
|