@tangle-network/agent-runtime 10.0.23 → 10.0.25
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/CHANGELOG.md +24 -0
- package/dist/{activation-D_J9qCzU.js → activation-Cisx6g4A.js} +2 -2
- package/dist/{activation-D_J9qCzU.js.map → activation-Cisx6g4A.js.map} +1 -1
- package/dist/{activation-DOzkzTrl.d.ts → activation-oYJrqzpN.d.ts} +2 -2
- package/dist/agent.d.ts +1 -1
- package/dist/agent.js +3 -3
- package/dist/{delegate-DCZPcYy8.js → delegate-CwMTrSRm.js} +2 -2
- package/dist/{delegate-DCZPcYy8.js.map → delegate-CwMTrSRm.js.map} +1 -1
- package/dist/{driver-control-acknowledgers-CgGt3NcX.js → driver-control-acknowledgers-B213ctJ9.js} +7 -7
- package/dist/{driver-control-acknowledgers-CgGt3NcX.js.map → driver-control-acknowledgers-B213ctJ9.js.map} +1 -1
- package/dist/durable-writer-thread.js +2 -2
- package/dist/durable.d.ts +1 -1
- package/dist/durable.js +14 -13
- package/dist/durable.js.map +1 -1
- package/dist/{graph-B3pBmvnf.js → graph-DP8O_w3P.js} +7 -6
- package/dist/{graph-B3pBmvnf.js.map → graph-DP8O_w3P.js.map} +1 -1
- package/dist/{improve-DhOOHHRz.js → improve-WN8sqSH1.js} +5 -5
- package/dist/{improve-DhOOHHRz.js.map → improve-WN8sqSH1.js.map} +1 -1
- package/dist/index.d.ts +41 -6
- package/dist/index.js +55 -21
- package/dist/index.js.map +1 -1
- package/dist/intelligence.d.ts +2 -2
- package/dist/intelligence.js +4 -4
- package/dist/kernel.d.ts +2 -2
- package/dist/kernel.js +15 -15
- package/dist/{loop-runner-L594gDYR.js → loop-runner-B4Vjh1p9.js} +2 -2
- package/dist/{loop-runner-L594gDYR.js.map → loop-runner-B4Vjh1p9.js.map} +1 -1
- package/dist/{loop-runner-CcXKPnMR.d.ts → loop-runner-Dc-Vij6a.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 +1 -1
- package/dist/mcp/index.js +6 -6
- package/dist/mcp/memory-bin.js +1 -1
- package/dist/profiles.d.ts +1 -1
- package/dist/{provision-supervisor-Be-6HBsX.js → provision-supervisor-CqPcPBTA.js} +5 -5
- package/dist/{provision-supervisor-Be-6HBsX.js.map → provision-supervisor-CqPcPBTA.js.map} +1 -1
- package/dist/{result-blob-store-CJjp44Mz.js → result-blob-store-BZwRmrFF.js} +2 -2
- package/dist/{result-blob-store-CJjp44Mz.js.map → result-blob-store-BZwRmrFF.js.map} +1 -1
- package/dist/{run-cancellation-BNBmsY3a.js → run-cancellation-uCwV2Ra7.js} +2 -2
- package/dist/{run-cancellation-BNBmsY3a.js.map → run-cancellation-uCwV2Ra7.js.map} +1 -1
- package/dist/{run-reopen-Cr2SHmYa.js → run-reopen-YJwUAmv6.js} +6 -6
- package/dist/{run-reopen-Cr2SHmYa.js.map → run-reopen-YJwUAmv6.js.map} +1 -1
- package/dist/{run-state-Bko0BF0_.js → run-state-DXePNDvP.js} +5 -5
- package/dist/{run-state-Bko0BF0_.js.map → run-state-DXePNDvP.js.map} +1 -1
- package/dist/{runtime-Dfwc9cjt.js → runtime-DdfY-j79.js} +59 -38
- package/dist/{runtime-Dfwc9cjt.js.map → runtime-DdfY-j79.js.map} +1 -1
- package/dist/{search-executor-DnWnh4kj.js → search-executor-COdCsn9r.js} +4 -4
- package/dist/{search-executor-DnWnh4kj.js.map → search-executor-COdCsn9r.js.map} +1 -1
- package/dist/{server-RCsa_gyH.js → server-WSOQ-lg5.js} +4 -4
- package/dist/{server-RCsa_gyH.js.map → server-WSOQ-lg5.js.map} +1 -1
- package/dist/{settle-record-BlIw2MU1.js → settle-record-DWae7fwV.js} +2 -2
- package/dist/{settle-record-BlIw2MU1.js.map → settle-record-DWae7fwV.js.map} +1 -1
- package/dist/{structural-rollout-BLflx9cs.js → structural-rollout-kOx5PFfU.js} +4 -4
- package/dist/{structural-rollout-BLflx9cs.js.map → structural-rollout-kOx5PFfU.js.map} +1 -1
- package/dist/{supervise-037R-zl1.js → supervise-DEHDPDDb.js} +21 -11
- package/dist/supervise-DEHDPDDb.js.map +1 -0
- package/dist/{supervise-identity-CtxWEk1I.js → supervise-identity-DLPzZTp3.js} +2 -2
- package/dist/{supervise-identity-CtxWEk1I.js.map → supervise-identity-DLPzZTp3.js.map} +1 -1
- package/dist/{supervision-discovery-DKxqbnHf.js → supervision-discovery-8XnVtdOD.js} +3 -3
- package/dist/{supervision-discovery-DKxqbnHf.js.map → supervision-discovery-8XnVtdOD.js.map} +1 -1
- package/dist/{supervisor-DL4hO7UW.js → supervisor-C2KuUDnF.js} +507 -33
- package/dist/supervisor-C2KuUDnF.js.map +1 -0
- package/dist/{supervisor-accounting-DlDUl58C.js → supervisor-accounting-B0ofgTZX.js} +91 -14
- package/dist/supervisor-accounting-B0ofgTZX.js.map +1 -0
- package/dist/{supervisor-root-contract-BCbu1A4n.js → supervisor-root-contract-N7rW4Ynu.js} +3 -3
- package/dist/{supervisor-root-contract-BCbu1A4n.js.map → supervisor-root-contract-N7rW4Ynu.js.map} +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +11 -11
- package/dist/{tool-server-n4XYpCok.js → tool-server-I63dnHZC.js} +39 -3
- package/dist/{tool-server-n4XYpCok.js.map → tool-server-I63dnHZC.js.map} +1 -1
- package/dist/{top-web-B-sHmI3g.js → top-web-BZM3es-m.js} +7 -7
- package/dist/{top-web-B-sHmI3g.js.map → top-web-BZM3es-m.js.map} +1 -1
- package/dist/tui/bin.js +3 -3
- package/dist/tui/index.d.ts +1 -1
- package/dist/tui/index.js +2 -2
- package/dist/{types-Pi5uCS88.d.ts → types-CMSBna4M.d.ts} +61 -41
- package/package.json +1 -1
- package/dist/supervise-037R-zl1.js.map +0 -1
- package/dist/supervisor-DL4hO7UW.js.map +0 -1
- package/dist/supervisor-accounting-DlDUl58C.js.map +0 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { f as RuntimeRunStateError, i as ConfigError, m as ValidationError } from "./errors-DG8yufqX.js";
|
|
2
|
-
import { c as budgetOverspendText, f as createFileRunContext, i as createCoordinationToolsForManager, l as coordinationVerbNames, m as withRunContext, n as createSteerAcknowledger, p as createInMemoryRunContext, r as createCoordinationTools, t as createCancelAcknowledger, u as normalizeAnalyzeOnSettle } from "./driver-control-acknowledgers-
|
|
3
|
-
import { At as defineProfileMaterializationContract, B as toolResultText, C as captureReusableExecutorConfig, Dt as assertProfileMaterialization, Ft as renderUnsupported, H as routerBrain, I as codeModeArguments, K as providerOutputOptions, L as codeModeModelOutput, Lt as sandboxProfileMaterialization, Mt as profileMaterializationAxes$1, Nt as promptControlProfileMaterialization, Pt as promptModelProfileMaterialization, Q as createInbox, R as createCodeModeTools, Rt as unsupportedProfileDimensions, S as bindReusableExecutorExecutionId, T as snapshotExecutorConfig, V as createRouterTranscript, W as resolveAgentEnvironmentProvider, Z as INBOX_RECEIPT_KEY, _ as isDriverSpec, a as awaitRootWake, at as isPeerMailEnvelope, bt as bridgeStopSignalKey, d as bestDelivered, f as runFinalizer, g as driverExecutorFactory, h as driverChild, i as assertRunParking, jt as fullProfileMaterialization, kt as controlProfileMaterialization, l as sleepScopeWait, lt as bridgeAdmissionRefusal, m as createRootHandle, n as createSupervisor, nt as PEER_MAIL_WIRE_KEY, o as bindScopeParkingDrain, p as runTree, r as RunParkedError, s as isRunParked, u as withRunParking, ut as bridgeModelRouteRefusal, vt as bridgeRuntimeAttachmentsKey, w as createExecutor, yt as bridgeRuntimeEnvKey, zt as worktreeCliProfileMaterialization } from "./supervisor-
|
|
4
|
-
import { a as freezeDetached, c as supervisionRunNamespace, i as externalExecutionId, l as workerAssignmentNamespace, n as childCoordinationOwner, o as freezeDetachedProfile, r as coordinationEventId, s as rootCoordinationOwner, t as canonicalExecution } from "./supervise-identity-
|
|
2
|
+
import { c as budgetOverspendText, f as createFileRunContext, i as createCoordinationToolsForManager, l as coordinationVerbNames, m as withRunContext, n as createSteerAcknowledger, p as createInMemoryRunContext, r as createCoordinationTools, t as createCancelAcknowledger, u as normalizeAnalyzeOnSettle } from "./driver-control-acknowledgers-B213ctJ9.js";
|
|
3
|
+
import { At as defineProfileMaterializationContract, B as toolResultText, C as captureReusableExecutorConfig, Dt as assertProfileMaterialization, Ft as renderUnsupported, H as routerBrain, I as codeModeArguments, K as providerOutputOptions, L as codeModeModelOutput, Lt as sandboxProfileMaterialization, Mt as profileMaterializationAxes$1, Nt as promptControlProfileMaterialization, Pt as promptModelProfileMaterialization, Q as createInbox, R as createCodeModeTools, Rt as unsupportedProfileDimensions, S as bindReusableExecutorExecutionId, T as snapshotExecutorConfig, V as createRouterTranscript, W as resolveAgentEnvironmentProvider, Z as INBOX_RECEIPT_KEY, _ as isDriverSpec, a as awaitRootWake, at as isPeerMailEnvelope, bt as bridgeStopSignalKey, d as bestDelivered, f as runFinalizer, g as driverExecutorFactory, h as driverChild, i as assertRunParking, jt as fullProfileMaterialization, kt as controlProfileMaterialization, l as sleepScopeWait, lt as bridgeAdmissionRefusal, m as createRootHandle, n as createSupervisor, nt as PEER_MAIL_WIRE_KEY, o as bindScopeParkingDrain, p as runTree, r as RunParkedError, s as isRunParked, u as withRunParking, ut as bridgeModelRouteRefusal, vt as bridgeRuntimeAttachmentsKey, w as createExecutor, yt as bridgeRuntimeEnvKey, zt as worktreeCliProfileMaterialization } from "./supervisor-C2KuUDnF.js";
|
|
4
|
+
import { a as freezeDetached, c as supervisionRunNamespace, i as externalExecutionId, l as workerAssignmentNamespace, n as childCoordinationOwner, o as freezeDetachedProfile, r as coordinationEventId, s as rootCoordinationOwner, t as canonicalExecution } from "./supervise-identity-DLPzZTp3.js";
|
|
5
5
|
import { a as errMessage, c as errorStack, f as defaultRedactor, i as causeChain, l as errorText, n as detachedSnapshot, o as errorHttpStatus, u as providerTraceId } from "./snapshot-BKLziJ5K.js";
|
|
6
6
|
import { t as composeRuntimeHooks } from "./runtime-hooks-CsW2pfFk.js";
|
|
7
|
-
import { $
|
|
7
|
+
import { $t as assertRetainedOwnerCoordinationRekey, Ar as summarizeDriverAttempts, Br as preflightPublicCoordination, Bt as noteScopeOwnerPlannedExecution, Ci as runtimeFlowBrain, Cr as isLiveNodeStatus, Dr as abandonablePending, Dt as scopeRetainedOwnerResourceReader, Er as HarnessTurnFailedError, Et as releaseScopeRetainedOwnerForSeatPause, Fr as SeatChain, Ft as scopeRetainedOwnerPriorSpend, Gt as scopeOwnerExecutorNodeContext, Hn as WORKER_TRACE_PROPAGATION, Hr as gateFactoryOnDeliverable, Ht as recordScopeOwnerMaterialization, Ir as SeatPauseError, It as scopeRetainedOwnerResult, Jt as providerVisibleProfile, Kt as coordinationMcpAlias, Lr as authoredSeatStages, Lt as beginScopeOwnerAttempt, Mr as undispatchedCredentialExit, Mt as abandonScopeRetainedOwnerInvocation, Nr as upstreamUnavailableSignal, Nt as consumeScopeRetainedOwnerResult, Or as classifyDriverFailure, Pr as SEAT_RECHECK_MS, Pt as prepareScopeRetainedOwnerTask, Qn as createOtelExporter, Qt as scopeRetainedOwnerTurnEnded, Rr as seatExecutionProfile, Si as runtimeFlowAgent, Tr as DriverAttemptsExhaustedError, Tt as prepareScopeRetainedOwnerSeatSwitch, Ut as restoreScopeOwnerAcceptedExecution, V as parseWorkerToolTraceArtifact, Vr as CheckUnavailableError, Vt as recordScopeOwnerHarnessTranscript, Wt as scopeOwnerExecutionObservation, Xr as authoredAgentIdentity, Xt as beginScopeRetainedOwnerDrive, Yr as attestRuntimeOwnedScopeOwner, Yt as runtimeGraphMetadataKey, an as bindScopeRetainedOwnerProvider, bi as isRuntimeFlowBrain, br as createActivityLog, cn as scopeRetainedOwnerContext, di as runtimeOwnedExecutorMaterialization, dt as meterRuntimeOwnedAccounting, en as reconcileScopeRetainedOwnerEnvironment, er as generateSpanId, fi as runtimeOwnedExecutorProviderEvidence, fr as persistHarnessTranscript, ft as meterRuntimeOwnedProviderAttempt, gt as recordScopeOwnerPause, hi as runtimeOwnedScopeOwnerRuntime, ht as recordScopeOwnerDriverAttempt, i as ROOT_STREAM_FILE, ii as recordRuntimeOwnedDriveHarnessProviderEvidence, in as bindScopeRetainedOwnerEnvironmentId, jr as transientFailureKind, kr as spentCreateKey, l as readRootStream, li as runtimeOwnedDriveHarnessProviderEvidence, ln as scopeRetainedOwnerJournalRoot, mr as settleHarnessTranscript, mt as recordScopeOwnerBarrenPause, nn as noteScopeRetainedOwnerCoordination, nt as assertRecursiveReservationPolicy, o as createRootStreamSink, on as owners, pi as runtimeOwnedPendingExecutorMaterialization, pr as readHarnessTranscript, pt as pauseScopeSeatAdmission, qt as coordinationProfileToolPrefix, ri as providerAttemptEvidence, tn as scopeRetainedOwnerRestorePoint, ui as runtimeOwnedExecutorExecutionBinding, wr as isTerminalNodeStatus, yn as executorObservationSeamKey, zt as holdScopeOwnerTranscript } from "./supervisor-accounting-B0ofgTZX.js";
|
|
8
8
|
import { C as linkAbort, b as RunCancellationReason, f as CONTINUATIONS_DIR, g as createContinuationKeeper, h as checkVerdictOf, m as bestComposite, p as admitContinuationPolicy, w as runAbortable } from "./jsonl-file-B2ESMrTh.js";
|
|
9
|
-
import { B as executorFailure, C as PLACEMENT_SIGNALS, D as cappedDoublingMs, G as turnFailureOf, K as turnFailurePolicy, M as unavailablePauseMs, N as unavailableResumeAt, O as jitteredMs, Pt as recordValue, R as contentAddress, S as retainedExecutorSeamKey, U as harnessProcessDied, at as newUsageTotals, b as registerRetainedExecutorPreparation, ct as assertValidBudget, d as RetainedExecutionPendingError, it as meterUsageEvent, j as reportedResetAt, n as createStdioToolServer, st as spendFromUsageTotals, w as RATE_LIMIT_SIGNALS, x as retainedExecutorContext, y as refusedBeforeItRan } from "./tool-server-
|
|
10
|
-
import { a as readRunCancelRequest, d as writeRunCancellationAsync, l as watchRunCancellation, n as applyRunCancellationAsync, o as readRunCancellation, t as applyRunCancellation } from "./run-cancellation-
|
|
9
|
+
import { B as executorFailure, C as PLACEMENT_SIGNALS, D as cappedDoublingMs, G as turnFailureOf, K as turnFailurePolicy, M as unavailablePauseMs, N as unavailableResumeAt, O as jitteredMs, Pt as recordValue, R as contentAddress, S as retainedExecutorSeamKey, U as harnessProcessDied, at as newUsageTotals, b as registerRetainedExecutorPreparation, ct as assertValidBudget, d as RetainedExecutionPendingError, it as meterUsageEvent, j as reportedResetAt, n as createStdioToolServer, st as spendFromUsageTotals, w as RATE_LIMIT_SIGNALS, x as retainedExecutorContext, y as refusedBeforeItRan } from "./tool-server-I63dnHZC.js";
|
|
10
|
+
import { a as readRunCancelRequest, d as writeRunCancellationAsync, l as watchRunCancellation, n as applyRunCancellationAsync, o as readRunCancellation, t as applyRunCancellation } from "./run-cancellation-uCwV2Ra7.js";
|
|
11
11
|
import { o as safeJsonText } from "./coordination-map-routing-DovTCk1Y.js";
|
|
12
12
|
import { A as withBudgetResources, D as addResourceSpend, S as unmeteredSpend, T as zeroSpend, c as errorMessage, f as isAsyncIterable, i as chargedTokens, k as resourceTelemetry, m as promptCacheTokenClasses, n as addSpend, v as sleep, w as withTimeout } from "./util-qsH5cC9S.js";
|
|
13
13
|
import { d as teardownExecutor, i as DEFAULT_SUCCESSFUL_SHUTDOWN_MS, l as isDeadlineAbortReason, o as armDeadlineTimer } from "./deadline-CySmJ_0S.js";
|
|
@@ -43,6 +43,7 @@ const superviseOptionKeySet = /* @__PURE__ */ new Set([
|
|
|
43
43
|
"childSettleGraceMs",
|
|
44
44
|
"teardownConfirmMs",
|
|
45
45
|
"retainedAtSettlement",
|
|
46
|
+
"retainRestorePoint",
|
|
46
47
|
"compaction",
|
|
47
48
|
"continuityByProfile",
|
|
48
49
|
"coordination",
|
|
@@ -2128,6 +2129,7 @@ function flowOfSubtask(flow, mapItem) {
|
|
|
2128
2129
|
function createFlowRun(nodeOfWorker) {
|
|
2129
2130
|
const outputs = /* @__PURE__ */ new Map();
|
|
2130
2131
|
let settled = {};
|
|
2132
|
+
let unassessedOutput = false;
|
|
2131
2133
|
let stopped;
|
|
2132
2134
|
let unrouted;
|
|
2133
2135
|
const observe = (event) => {
|
|
@@ -2139,12 +2141,14 @@ function createFlowRun(nodeOfWorker) {
|
|
|
2139
2141
|
stopped ??= detail;
|
|
2140
2142
|
} else if (step.kind === "unrouted") unrouted ??= step;
|
|
2141
2143
|
};
|
|
2142
|
-
const finalizer = ({ delivered }) => {
|
|
2144
|
+
const finalizer = ({ delivered, allSettled }) => {
|
|
2143
2145
|
settled = Object.fromEntries(delivered.flatMap((worker) => {
|
|
2144
2146
|
const node = nodeOfWorker(worker.id);
|
|
2145
2147
|
return node === void 0 || !("out" in worker) ? [] : [[node, worker.out]];
|
|
2146
2148
|
}));
|
|
2147
|
-
|
|
2149
|
+
const complete = stopped === void 0 && unrouted === void 0 && outputs.size > 0;
|
|
2150
|
+
unassessedOutput = complete && allSettled.every((worker) => worker.valid === void 0);
|
|
2151
|
+
return complete ? Object.fromEntries(outputs) : void 0;
|
|
2148
2152
|
};
|
|
2149
2153
|
const conclude = (result) => {
|
|
2150
2154
|
if (unrouted !== void 0) return {
|
|
@@ -2187,7 +2191,8 @@ function createFlowRun(nodeOfWorker) {
|
|
|
2187
2191
|
finalizer,
|
|
2188
2192
|
conclude,
|
|
2189
2193
|
failure,
|
|
2190
|
-
routeCheck
|
|
2194
|
+
routeCheck,
|
|
2195
|
+
unassessedOutput: () => unassessedOutput
|
|
2191
2196
|
};
|
|
2192
2197
|
}
|
|
2193
2198
|
// src/runtime/supervise/coordination-credentials.ts
|
|
@@ -3337,6 +3342,7 @@ function createGraphOverlay(validated, opts) {
|
|
|
3337
3342
|
};
|
|
3338
3343
|
const composeGuidance = (profile) => opts.guidance ? opts.guidance(profile) : profile;
|
|
3339
3344
|
const resolveSpawnProfile = (authored) => {
|
|
3345
|
+
if (authored.metadata?.["agentRuntimeGraph"] !== void 0) return authored;
|
|
3340
3346
|
const requested = typeof authored.name === "string" ? authored.name : void 0;
|
|
3341
3347
|
const node = requested === void 0 ? void 0 : validated.workers.get(requested) ?? validated.analystNodes.get(requested) ?? validated.mapNodes.get(requested) ?? validated.flow?.nodes.get(requested);
|
|
3342
3348
|
return node ? composeGuidance(node.profile) : authored;
|
|
@@ -7519,7 +7525,7 @@ function managedWorker(env, seat, admitted, spawnContext) {
|
|
|
7519
7525
|
...options.wake
|
|
7520
7526
|
}
|
|
7521
7527
|
});
|
|
7522
|
-
return withModelSubstitution(driverChild(authorized, nested, journal, childExecution.ref, () => child.acceptedSubmission, env.recoveryFactories.get(child.childFactory), () => child.unassessedOutput, admitted.seatManagedLeaf ? child.managerDeliverable : void 0, ownGraph ? (out) => graphSubtaskOutput(ownGraph, out, ownFlow?.run.failure) : void 0), admitted.modelSubstitution);
|
|
7528
|
+
return withModelSubstitution(driverChild(authorized, nested, journal, childExecution.ref, () => child.acceptedSubmission, env.recoveryFactories.get(child.childFactory), () => child.unassessedOutput || ownFlow?.run.unassessedOutput() === true, admitted.seatManagedLeaf ? child.managerDeliverable : void 0, ownGraph ? (out) => graphSubtaskOutput(ownGraph, out, ownFlow?.run.failure) : void 0), admitted.modelSubstitution);
|
|
7523
7529
|
}
|
|
7524
7530
|
/**
|
|
7525
7531
|
* The root of a `run_graph` subtask carries its graph's topology, and its subtree runs under that
|
|
@@ -8816,6 +8822,7 @@ function driveHarnessClaims() {
|
|
|
8816
8822
|
*/
|
|
8817
8823
|
function bridgeSpawnPreflight(seam) {
|
|
8818
8824
|
return async (profile) => {
|
|
8825
|
+
if (graphSubtaskOf(profile)?.entry !== void 0) return void 0;
|
|
8819
8826
|
const wireModel = profileBridgeWireModel(profile);
|
|
8820
8827
|
if (wireModel === void 0) return {
|
|
8821
8828
|
cause: "model-route",
|
|
@@ -8845,6 +8852,7 @@ function providerSpawnPreflight(provider) {
|
|
|
8845
8852
|
const validate = provider.validateProfile?.bind(provider);
|
|
8846
8853
|
if (validate === void 0) return void 0;
|
|
8847
8854
|
return async (profile) => {
|
|
8855
|
+
if (graphSubtaskOf(profile)?.entry !== void 0) return void 0;
|
|
8848
8856
|
const result = await validate(providerVisibleProfile(profile));
|
|
8849
8857
|
const errors = result.issues.filter((issue) => issue.level === "error");
|
|
8850
8858
|
if (result.ok && errors.length === 0) return void 0;
|
|
@@ -9319,6 +9327,7 @@ function pendingCancellationRun(profile, task, opts) {
|
|
|
9319
9327
|
...options.teardownConfirmMs === void 0 ? {} : { teardownConfirmMs: options.teardownConfirmMs },
|
|
9320
9328
|
...context.resume === true || options.resume === true ? { resume: true } : {},
|
|
9321
9329
|
retainedAtSettlement: options.retainedAtSettlement ?? "release",
|
|
9330
|
+
...options.retainRestorePoint === void 0 ? {} : { retainRestorePoint: options.retainRestorePoint },
|
|
9322
9331
|
hooks: options.hooks,
|
|
9323
9332
|
now,
|
|
9324
9333
|
signal: options.signal === void 0 ? controller.signal : AbortSignal.any([controller.signal, options.signal]),
|
|
@@ -9499,6 +9508,7 @@ function rootRunOptions(run, runDir, hooks, recorder) {
|
|
|
9499
9508
|
...options.childSettleGraceMs !== void 0 ? { childSettleGraceMs: options.childSettleGraceMs } : {},
|
|
9500
9509
|
...options.teardownConfirmMs !== void 0 ? { teardownConfirmMs: options.teardownConfirmMs } : {},
|
|
9501
9510
|
...options.retainedAtSettlement !== void 0 ? { retainedAtSettlement: options.retainedAtSettlement } : {},
|
|
9511
|
+
...options.retainRestorePoint !== void 0 ? { retainRestorePoint: options.retainRestorePoint } : {},
|
|
9502
9512
|
...options.workerSlots !== void 0 ? { workerSlots: options.workerSlots } : {},
|
|
9503
9513
|
...options.reservationPolicy ? { reservationPolicy: options.reservationPolicy } : {},
|
|
9504
9514
|
...options.deadlineCheckIn === void 0 ? {} : { deadlineCheckIn: options.deadlineCheckIn },
|
|
@@ -9573,4 +9583,4 @@ function superviseWithContext(profile, task, opts, brain) {
|
|
|
9573
9583
|
}
|
|
9574
9584
|
export { validateGraphTopology as A, allWorkersStalled as B, createFlowRun as C, validateFlowGraph as D, routeFlowOf as E, dumbContinuationPassPrompt as F, areaUnderCurve as G, noProgressFor as H, formatPromptHandle as I, renderAnytimeTable as J, bestSoFar as K, kernelPromptRegistry as L, createPromptRegistry as M, delegatesWorkerBriefPrompt as N, defaultEdgeTraversalCap as O, dumbContinuationFailPrompt as P, naiveContinuationPrompt as R, GraphRouteError as S, journaledGateDecider as T, plateau as U, anyOf as V, anytimeReport as W, createSupervisorSpanRecorder as Y, graphFlowSpawnProfile as _, bridgeProfileRefusal as a, serveCoordinationMcp as b, ASSISTANT_REASONING_SPAN as c, runToolSpans as d, UNPROVEN_CONTINUITY as f, createGraphOverlay as g, runBrainLoop as h, workerFromBackend as i, analyzesFindingsReportPrompt as j, graphRootProfile as k, ASSISTANT_TEXT_SPAN as l, driverAgent as m, superviseFleetCapabilities as n, supervisorAgent as o, composeReentryTask as p, plateauLength as q, superviseWithTestBrain as r, supervisorAgentWithTestBrain as s, supervise as t, rootStreamToolSpans as u, profileGuidanceComposer as v, flowRootProfile as w, coordinationControlToolNames as x, superviseRootProfile as y, promptHandle as z };
|
|
9575
9585
|
|
|
9576
|
-
//# sourceMappingURL=supervise-
|
|
9586
|
+
//# sourceMappingURL=supervise-DEHDPDDb.js.map
|