@tangle-network/agent-runtime 0.352.1 → 0.353.3
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-BidzGkUQ.d.ts → activation-CFS31SWI.d.ts} +2 -2
- package/dist/{activation-C6zNC2kx.js → activation-DTgC0RvI.js} +2 -2
- package/dist/{activation-C6zNC2kx.js.map → activation-DTgC0RvI.js.map} +1 -1
- package/dist/agent.d.ts +1 -1
- package/dist/agent.js +2 -2
- package/dist/{coordination-manager-B7QadgrI.js → coordination-manager-D-J0Osf4.js} +2 -2
- package/dist/{coordination-manager-B7QadgrI.js.map → coordination-manager-D-J0Osf4.js.map} +1 -1
- package/dist/{delegate-CoscoyEo.js → delegate-DfRQSGVk.js} +2 -2
- package/dist/{delegate-CoscoyEo.js.map → delegate-DfRQSGVk.js.map} +1 -1
- package/dist/durable.d.ts +1 -1
- package/dist/durable.js +3 -3
- package/dist/{graph-mojMML8e.js → graph-BtGsqcOF.js} +4 -4
- package/dist/{graph-mojMML8e.js.map → graph-BtGsqcOF.js.map} +1 -1
- package/dist/{improve-Dm5ZE8mr.js → improve-CL-Dsf63.js} +5 -5
- package/dist/{improve-Dm5ZE8mr.js.map → improve-CL-Dsf63.js.map} +1 -1
- package/dist/index.d.ts +4 -3
- package/dist/index.js +8 -7
- package/dist/index.js.map +1 -1
- package/dist/intelligence.d.ts +2 -2
- package/dist/intelligence.js +8 -7
- package/dist/intelligence.js.map +1 -1
- package/dist/kernel.d.ts +1 -1
- package/dist/kernel.js +9 -9
- package/dist/{loop-runner-5cL_vZi0.js → loop-runner-B1Xpgp2w.js} +2 -2
- package/dist/{loop-runner-5cL_vZi0.js.map → loop-runner-B1Xpgp2w.js.map} +1 -1
- package/dist/{loop-runner-DyLD-aNb.d.ts → loop-runner-D9rcTNf2.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 +4 -4
- package/dist/profiles.d.ts +1 -1
- package/dist/{provision-supervisor-D9pO-iPl.js → provision-supervisor-CzCFHTxe.js} +3 -3
- package/dist/{provision-supervisor-D9pO-iPl.js.map → provision-supervisor-CzCFHTxe.js.map} +1 -1
- package/dist/{runtime-BJPXHWbc.js → runtime-DmdhgaTH.js} +12 -13
- package/dist/{runtime-BJPXHWbc.js.map → runtime-DmdhgaTH.js.map} +1 -1
- package/dist/{search-executor-CQEHMXoT.js → search-executor-Djo4ssci.js} +9 -8
- package/dist/{search-executor-CQEHMXoT.js.map → search-executor-Djo4ssci.js.map} +1 -1
- package/dist/{server-U9NGgudQ.js → server-DAanPY7z.js} +3 -3
- package/dist/{server-U9NGgudQ.js.map → server-DAanPY7z.js.map} +1 -1
- package/dist/{structural-rollout-wMSxE7bn.js → structural-rollout-qqsbQW8M.js} +2 -2
- package/dist/{structural-rollout-wMSxE7bn.js.map → structural-rollout-qqsbQW8M.js.map} +1 -1
- package/dist/{supervise-CNNhX0ab.js → supervise-DKwnVruI.js} +32 -62
- package/dist/supervise-DKwnVruI.js.map +1 -0
- package/dist/{supervisor-rK5Y8en6.js → supervisor-C3JhrVVU.js} +78 -212
- package/dist/supervisor-C3JhrVVU.js.map +1 -0
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +11 -11
- package/dist/tui/index.d.ts +1 -1
- package/dist/tui/index.js +1 -1
- package/dist/{types-0uzVKtFW.d.ts → types-DTHxh4X9.d.ts} +18 -57
- package/package.json +6 -6
- package/dist/supervise-CNNhX0ab.js.map +0 -1
- package/dist/supervisor-rK5Y8en6.js.map +0 -1
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { G as cappedDoublingMs, J as unavailableResumeAt, K as jitteredMs, P as RetainedExecutionPendingError, St as newUsageTotals, T as sha256, Tt as assertValidBudget, V as retainedExecutorSeamKey, Xt as __exportAll, a as isNoEntError, at as executorFailure, b as captureRunWriteContext, c as readCommittedJsonLines, ft as errMessage, g as assertNoSymlinkDescendant, l as upsertCommittedJsonLine, o as prepareJsonlAppend, q as unavailablePauseMs, rt as contentAddress, s as readCommittedJsonFile, tt as detachedSnapshot, u as withJsonlFileLock, wt as spendFromUsageTotals, x as fenceRunWrite, xt as meterUsageEvent, y as writeAtomicDurableFile, z as registerRetainedExecutorPreparation } from "./journal-store-BJPMUydp.js";
|
|
2
|
-
import { $ as abandonScopeRetainedOwnerInvocation, $n as
|
|
2
|
+
import { $ as abandonScopeRetainedOwnerInvocation, $n as CheckUnavailableError, A as noteScopeOwnerPlannedExecution, B as deriveNodeExecutionIdentity, Bn as DriverAttemptsExhaustedError, Br as renderUnsupported, Cn as INBOX_RECEIPT_KEY, F as coordinationProfileToolPrefix, Fr as defineProfileMaterializationContract, Ft as createCodeModeTools, G as meterRuntimeOwnedProviderAttempt, Gn as summarizeDriverAttempts, Hn as abandonablePending, Hr as sandboxProfileMaterialization, I as providerVisibleProfile, In as createActivityLog, Ir as fullProfileMaterialization, J as recordScopeOwnerPause, Jn as SeatChain, K as recordScopeOwnerBarrenPause, Kn as undispatchedCredentialExit, Kr as attestRuntimeOwnedScopeOwner, L as runtimeGraphMetadataKey, Lr as profileMaterializationAxes$1, Lt as toolResultText, M as restoreScopeOwnerAcceptedExecution, Mr as assertProfileMaterialization, N as scopeOwnerExecutorNodeContext, Nt as codeModeArguments, On as PEER_MAIL_WIRE_KEY, P as coordinationMcpAlias, Pr as controlProfileMaterialization, Pt as codeModeModelOutput, Rn as isLiveNodeStatus, Rr as promptControlProfileMaterialization, Rt as createRouterTranscript, Sr as runAbortable, St as snapshotExecutorConfig, Tr as bridgeStopSignalKey, Un as causedByPartialFailure, Ur as unsupportedProfileDimensions, Vn as HarnessTurnFailedError, Vt as resolveAgentEnvironmentProvider, W as meterRuntimeOwnedAccounting, Wn as classifyDriverFailure, Wr as worktreeCliProfileMaterialization, X as scopeRetainedOwnerResourceReader, Xn as authoredSeatStages, Xr as inheritRuntimeOwnedExecutorAttestation, Y as prepareScopeRetainedOwnerSeatSwitch, Yn as SeatChainExhaustedError, Zn as seatExecutionProfile, _n as generateSpanId, a as assertRunParking, ai as runtimeOwnedExecutorProviderEvidence, ar as admitContinuationPolicy, at as scopeRetainedOwnerTurnEnded, br as RunCancellationReason, bt as captureReusableExecutorConfig, c as sleepScopeWait, cn as WORKER_TRACE_PROPAGATION, cr as createContinuationKeeper, ct as noteScopeRetainedOwnerCoordination, d as runFinalizer, dr as bridgeAdmissionRefusal, dt as scopeRetainedOwnerContext, ei as providerAttemptEvidence, en as persistHarnessTranscript, er as gateFactoryOnDeliverable, et as consumeScopeRetainedOwnerResult, f as runTree, fi as isRuntimeFlowBrain, fr as bridgeModelRouteRefusal, ft as scopeRetainedOwnerJournalRoot, g as isDriverSpec, h as driverExecutorFactory, hn as createOtelExporter, i as RunParkedError, ii as runtimeOwnedExecutorMaterialization, ir as CONTINUATIONS_DIR, it as beginScopeRetainedOwnerDrive, j as recordScopeOwnerMaterialization, jn as isPeerMailEnvelope, k as beginScopeOwnerAttempt, l as withRunParking, lt as bindScopeRetainedOwnerEnvironmentId, m as driverChild, mi as runtimeFlowBrain, n as createSupervisor, ni as runtimeOwnedDriveHarnessProviderEvidence, nt as scopeRetainedOwnerPriorSpend, o as bindScopeParkingDrain, oi as runtimeOwnedPendingExecutorMaterialization, or as bestComposite, ot as reconcileScopeRetainedOwnerEnvironment, p as createRootHandle, pi as runtimeFlowAgent, q as recordScopeOwnerDriverAttempt, qn as upstreamUnavailableSignal, qr as authoredAgentIdentity, ri as runtimeOwnedExecutorExecutionBinding, rt as scopeRetainedOwnerResult, si as runtimeOwnedScopeOwnerRuntime, sr as checkVerdictOf, st as scopeRetainedOwnerRestorePoint, ti as recordRuntimeOwnedDriveHarnessProviderEvidence, tn as readHarnessTranscript, tt as prepareScopeRetainedOwnerTask, u as bestDelivered, ut as bindScopeRetainedOwnerProvider, wn as createInbox, wr as bridgeRuntimeAttachmentsKey, x as parseWorkerToolTraceArtifact, xr as linkAbort, xt as createExecutor, yt as bindReusableExecutorExecutionId, z as assertRecursiveReservationPolicy, zn as isTerminalNodeStatus, zr as promptModelProfileMaterialization, zt as routerBrain } from "./supervisor-C3JhrVVU.js";
|
|
3
3
|
import { f as RuntimeRunStateError, i as ConfigError, m as ValidationError } from "./errors-AzSuGI23.js";
|
|
4
4
|
import { B as teardownExecutor, C as withTimeout, E as addResourceSpend, N as DEFAULT_SUCCESSFUL_SHUTDOWN_MS, O as resourceTelemetry, R as isDeadlineAbortReason, S as unmeteredSpend, V as teardownSurfaces, c as errorMessage, f as isAsyncIterable, i as chargedTokens, k as withBudgetResources, m as promptCacheTokenClasses, n as addSpend, v as sleep, w as zeroSpend } from "./util-ebWMWzY0.js";
|
|
5
5
|
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-C-RGAUW4.js";
|
|
6
6
|
import { t as composeRuntimeHooks } from "./runtime-hooks-CsW2pfFk.js";
|
|
7
|
-
import { c as createCancelAcknowledger, d as normalizeAnalyzeOnSettle, f as coordinationVerbNames, g as withRunContext, h as createInMemoryRunContext, l as createSteerAcknowledger, m as createFileRunContext, n as createCoordinationToolsForManager, o as resolveJsonPointer, p as safeJsonText, t as createCoordinationTools, u as budgetOverspendText } from "./coordination-manager-
|
|
7
|
+
import { c as createCancelAcknowledger, d as normalizeAnalyzeOnSettle, f as coordinationVerbNames, g as withRunContext, h as createInMemoryRunContext, l as createSteerAcknowledger, m as createFileRunContext, n as createCoordinationToolsForManager, o as resolveJsonPointer, p as safeJsonText, t as createCoordinationTools, u as budgetOverspendText } from "./coordination-manager-D-J0Osf4.js";
|
|
8
8
|
import { c as writeRunCancellation, i as readRunCancellation, r as readRunCancelRequest, s as watchRunCancellation, t as applyRunCancellation } from "./run-cancellation-CoJRKvih.js";
|
|
9
9
|
import { n as createStdioToolServer, t as PROTOCOL_VERSION } from "./tool-server-CZWd_Opp.js";
|
|
10
|
+
import { ATTR, agentIdentityAttributes } from "@tangle-network/agent-trace-contract";
|
|
10
11
|
import { agentProfileSchema, canonicalAgentProfileDigest, canonicalCandidateDigest, canonicalCandidateJson, validateAgentProfileSecurity } from "@tangle-network/agent-interface";
|
|
11
12
|
import { toolSpansToTraceAnalysisStore } from "@tangle-network/agent-eval";
|
|
12
13
|
import { isRecord } from "@tangle-network/agent-core";
|
|
@@ -17,7 +18,7 @@ import { dirname, join, resolve } from "node:path";
|
|
|
17
18
|
import { mkdir, readFile, readdir } from "node:fs/promises";
|
|
18
19
|
import { isMaterializerHarness } from "@tangle-network/agent-profile-materialize";
|
|
19
20
|
import { createServer } from "node:http";
|
|
20
|
-
import {
|
|
21
|
+
import { msToUnixNano, toOtlpAttributes } from "@tangle-network/agent-trace-contract/otlp";
|
|
21
22
|
import { withProfileKb } from "@tangle-network/agent-interface/profile-kb";
|
|
22
23
|
// src/runtime/supervise/supervise-identity.ts
|
|
23
24
|
function externalExecutionId(kind, identity) {
|
|
@@ -396,9 +397,9 @@ function otelSpan(traceId, spec) {
|
|
|
396
397
|
...spec.parentSpanId ? { parentSpanId: spec.parentSpanId } : {},
|
|
397
398
|
name: spec.name,
|
|
398
399
|
kind: 1,
|
|
399
|
-
startTimeUnixNano:
|
|
400
|
-
endTimeUnixNano:
|
|
401
|
-
attributes:
|
|
400
|
+
startTimeUnixNano: msToUnixNano(spec.startMs),
|
|
401
|
+
endTimeUnixNano: msToUnixNano(Math.max(spec.startMs, spec.endMs)),
|
|
402
|
+
attributes: toOtlpAttributes(spec.attrs),
|
|
402
403
|
status: {
|
|
403
404
|
code: spec.status,
|
|
404
405
|
...spec.message ? { message: spec.message } : {}
|
|
@@ -741,9 +742,6 @@ function normalizeTraceId(traceId, runId, namespace) {
|
|
|
741
742
|
const source = traceId ?? (namespace === void 0 ? runId : `${namespace}\u0000${runId}`);
|
|
742
743
|
return contentAddress(source).slice(7, 39);
|
|
743
744
|
}
|
|
744
|
-
function msToNano(ms) {
|
|
745
|
-
return (BigInt(Number.isFinite(ms) ? Math.floor(ms) : 0) * 1000000n).toString();
|
|
746
|
-
}
|
|
747
745
|
function record$1(value) {
|
|
748
746
|
return isRecord(value) ? value : {};
|
|
749
747
|
}
|
|
@@ -1870,10 +1868,6 @@ var GraphRouteError = class extends Error {
|
|
|
1870
1868
|
const flowRootProfile = Object.freeze({
|
|
1871
1869
|
name: "flow",
|
|
1872
1870
|
harness: "cli-base",
|
|
1873
|
-
model: {
|
|
1874
|
-
provider: "runtime",
|
|
1875
|
-
default: "runtime/flow"
|
|
1876
|
-
},
|
|
1877
1871
|
tools: { [`${coordinationProfileToolPrefix}spawn_worker`]: true }
|
|
1878
1872
|
});
|
|
1879
1873
|
/** The nodes a routes edge starts: one, every node of a fork, or none for a stop or finish. */
|
|
@@ -2625,27 +2619,6 @@ function ledgerAnalyzes(ledger, edge, outcome, bytes, reason, workerId) {
|
|
|
2625
2619
|
...workerId !== void 0 ? { workerId } : {}
|
|
2626
2620
|
}, true);
|
|
2627
2621
|
}
|
|
2628
|
-
// src/runtime/supervise/flow-brain.ts
|
|
2629
|
-
const flowBrains = /* @__PURE__ */ new WeakSet();
|
|
2630
|
-
/**
|
|
2631
|
-
* The brain of a flow graph's runtime-owned root manager. It never calls a model: every turn
|
|
2632
|
-
* returns no tool call and reports no usage, so the manager only waits while the flow's runtime
|
|
2633
|
-
* spawns are open and ends when none is. The driver recognizes it by identity, places no provider
|
|
2634
|
-
* attempt for its turns, and bounds them by the flow's edge caps, the pool, the deadline and the
|
|
2635
|
-
* abort signal instead of the unmetered-turn bound.
|
|
2636
|
-
*/
|
|
2637
|
-
function runtimeFlowBrain() {
|
|
2638
|
-
const brain = async () => ({
|
|
2639
|
-
content: null,
|
|
2640
|
-
toolCalls: []
|
|
2641
|
-
});
|
|
2642
|
-
flowBrains.add(brain);
|
|
2643
|
-
return brain;
|
|
2644
|
-
}
|
|
2645
|
-
/** True only for a brain `runtimeFlowBrain` minted. */
|
|
2646
|
-
function isRuntimeFlowBrain(brain) {
|
|
2647
|
-
return flowBrains.has(brain);
|
|
2648
|
-
}
|
|
2649
2622
|
// src/runtime/supervise/supervise-budget.ts
|
|
2650
2623
|
/**
|
|
2651
2624
|
* Which of a driver's budget channels are spent, with their numbers, or `undefined` while none is.
|
|
@@ -5118,10 +5091,9 @@ const DEFAULT_MAX_BACKOFF_MS$1 = 3e4;
|
|
|
5118
5091
|
const DEFAULT_TRANSIENT_OUTAGE_MS = 9e5;
|
|
5119
5092
|
const BARREN_PAUSE_FIRST_MS = 3e5;
|
|
5120
5093
|
const BARREN_PAUSE_MAX_MS = 36e5;
|
|
5121
|
-
/** The stops an opted-in root pauses on (`DriverRetryRun.stopPause`).
|
|
5122
|
-
* declared
|
|
5094
|
+
/** The recoverable stops an opted-in root pauses on (`DriverRetryRun.stopPause`). Terminal errors,
|
|
5095
|
+
* completion, cancellation and a declared deadline end the run; `supervise()` refuses `driverRetry.pauseRootStops` beside `retry-disabled`. */
|
|
5123
5096
|
const PAUSED_STOPS = /* @__PURE__ */ new Set([
|
|
5124
|
-
"terminal-error",
|
|
5125
5097
|
"no-progress",
|
|
5126
5098
|
"max-attempts",
|
|
5127
5099
|
"repeated-failure",
|
|
@@ -5751,8 +5723,8 @@ var DriverRetryLoop = class {
|
|
|
5751
5723
|
* outage cut off together do not re-enter together.
|
|
5752
5724
|
*
|
|
5753
5725
|
* STOP-PAUSE. A run started with `driverRetry.pauseRootStops` hands its ROOT a `stopPause`;
|
|
5754
|
-
* no other manager gets one.
|
|
5755
|
-
* `
|
|
5726
|
+
* no other manager gets one. Terminal refusals end the run immediately; the remaining stops wait and alarm:
|
|
5727
|
+
* `no-progress`, `max-attempts`, `repeated-failure`, `pending-unresolved` and
|
|
5756
5728
|
* `budget-exhausted` each emit one record with `replacesStop` and pause 5 minutes, doubling per
|
|
5757
5729
|
* stop-pause in a row up to 60, never past a declared deadline and not jittered. An attempt that
|
|
5758
5730
|
* made progress resets the streak. A cancel ends the pause and settles the run; a root steer ends
|
|
@@ -6674,7 +6646,7 @@ function routerBrainFromProfile(profile, router) {
|
|
|
6674
6646
|
// src/runtime/supervise/supervisor-agent-build.ts
|
|
6675
6647
|
function buildSupervisorAgent(profile, deps, testBrain) {
|
|
6676
6648
|
const exactProfile = agentProfileSchema.parse(profile);
|
|
6677
|
-
assertExecutableAgentProfile(exactProfile, "supervisorAgent");
|
|
6649
|
+
if (!testBrain || !isRuntimeFlowBrain(testBrain)) assertExecutableAgentProfile(exactProfile, "supervisorAgent");
|
|
6678
6650
|
const stableProfile = detachedSnapshot(exactProfile, "supervisorAgent profile");
|
|
6679
6651
|
const registeredProfile = deps.registeredProfile === void 0 ? stableProfile : detachedSnapshot(agentProfileSchema.parse(deps.registeredProfile), "supervisorAgent registered profile");
|
|
6680
6652
|
const stableRouter = deps.router === void 0 ? void 0 : snapshotRouterTransportConfig(deps.router);
|
|
@@ -6693,17 +6665,20 @@ function buildSupervisorAgent(profile, deps, testBrain) {
|
|
|
6693
6665
|
assertCoordinationBinding(coordination);
|
|
6694
6666
|
assertSupervisorArmPolicy(harness, deps, runtimeToolNames, coordination);
|
|
6695
6667
|
const continuationDeadlineMs = deps.continuation === void 0 ? void 0 : admitContinuationPolicy(deps.continuation, "supervisorAgent");
|
|
6696
|
-
if (harness === null)
|
|
6697
|
-
|
|
6698
|
-
|
|
6699
|
-
|
|
6700
|
-
|
|
6701
|
-
|
|
6702
|
-
|
|
6703
|
-
|
|
6704
|
-
|
|
6705
|
-
|
|
6706
|
-
|
|
6668
|
+
if (harness === null) {
|
|
6669
|
+
const agent = routerSupervisorAgent({
|
|
6670
|
+
name,
|
|
6671
|
+
deps,
|
|
6672
|
+
profile: stableProfile,
|
|
6673
|
+
runtimeToolNames,
|
|
6674
|
+
nodeContextSeed,
|
|
6675
|
+
testBrain,
|
|
6676
|
+
router: stableRouter,
|
|
6677
|
+
resolveTools,
|
|
6678
|
+
observeNodeEvent
|
|
6679
|
+
});
|
|
6680
|
+
return runtimeFlowAgent(agent, testBrain);
|
|
6681
|
+
}
|
|
6707
6682
|
return externalSupervisorAgent({
|
|
6708
6683
|
name,
|
|
6709
6684
|
deps,
|
|
@@ -9704,7 +9679,10 @@ function prepareSuperviseRun(profile, task, opts, testBrain) {
|
|
|
9704
9679
|
const { applyTraceTools, composeSpawnProfile } = traceToolPolicy(options, guidanceComposer);
|
|
9705
9680
|
const peerAuditFor = peerAuditRegistry(options);
|
|
9706
9681
|
const registeredProfile = applyTraceTools(superviseRootProfile(profile, options.profileGuidance));
|
|
9707
|
-
|
|
9682
|
+
if (options.segment !== void 0) admitSegment(options.segment);
|
|
9683
|
+
const canonicalProfile = options.segment === void 0 ? registeredProfile : withRootSegment(registeredProfile, options.segment);
|
|
9684
|
+
if (!testBrain || !isRuntimeFlowBrain(testBrain)) assertExecutableAgentProfile(canonicalProfile, "supervise root");
|
|
9685
|
+
if (authoredSeatStages(canonicalProfile) !== void 0 && options.selectSeat === void 0) throw new ValidationError("supervise: AgentProfile.seats requires selectSeat before execution");
|
|
9708
9686
|
const canonicalTask = freezeDetached(task);
|
|
9709
9687
|
assertWorkerSeams(options);
|
|
9710
9688
|
const authorizeDownFor = downMessageAuthorizer(options);
|
|
@@ -9835,14 +9813,6 @@ function peerAuditRegistry(options) {
|
|
|
9835
9813
|
}
|
|
9836
9814
|
} : void 0;
|
|
9837
9815
|
}
|
|
9838
|
-
/** The profile this process executes: the registered root, or the segment the options name. */
|
|
9839
|
-
function admitRootSegment(registeredProfile, options) {
|
|
9840
|
-
if (options.segment !== void 0) admitSegment(options.segment);
|
|
9841
|
-
const canonicalProfile = options.segment === void 0 ? registeredProfile : withRootSegment(registeredProfile, options.segment);
|
|
9842
|
-
assertExecutableAgentProfile(canonicalProfile, "supervise root");
|
|
9843
|
-
if (authoredSeatStages(canonicalProfile) !== void 0 && options.selectSeat === void 0) throw new ValidationError("supervise: AgentProfile.seats requires selectSeat before execution");
|
|
9844
|
-
return canonicalProfile;
|
|
9845
|
-
}
|
|
9846
9816
|
function assertWorkerSeams(options) {
|
|
9847
9817
|
if (options.makeWorkerAgent && options.authorizeSpawn) throw new ValidationError("supervise: authorizeSpawn cannot be combined with caller-owned makeWorkerAgent; use makeLeafAgent to override leaf execution inside the authorized path, or use backend-derived workers");
|
|
9848
9818
|
if (options.makeWorkerAgent && options.makeLeafAgent) throw new ValidationError("supervise: makeWorkerAgent replaces the worker path and makeLeafAgent overrides a leaf inside it; pass one");
|
|
@@ -10208,6 +10178,6 @@ function superviseWithContext(profile, task, opts, brain) {
|
|
|
10208
10178
|
...signal === void 0 ? {} : { signal }
|
|
10209
10179
|
}, brain));
|
|
10210
10180
|
}
|
|
10211
|
-
export {
|
|
10181
|
+
export { dumbContinuationFailPrompt as $, graphRouteWhenSchema as A, createGraphOverlay as B, storedGraphDigests as C, compileGraphParameters as D, bindGraphParameters as E, composeReentryTask as F, routeFlowOf as G, createFlowRun as H, serveCoordinationMcp as I, graphRootProfile as J, validateFlowGraph as K, coordinationControlToolNames as L, supervisorAgent as M, supervisorAgentWithTestBrain as N, graphTriggerBindingsSchema as O, UNPROVEN_CONTINUITY as P, delegatesWorkerBriefPrompt as Q, driverAgent as R, recordStoredGraphRun as S, assertGraphTriggerBindings as T, flowRootProfile as U, GraphRouteError as V, journaledGateDecider as W, analyzesFindingsReportPrompt as X, validateGraphTopology as Y, createPromptRegistry as Z, listGraphRuns as _, superviseRootProfile as a, allWorkersStalled as at, pickBestGraph as b, retryPreSpawnRefusals as c, plateau as ct, graphCorpusSummary as d, bestSoFar as dt, dumbContinuationPassPrompt as et, graphDigest as f, plateauLength as ft, graph_registry_exports as g, createSupervisorSpanRecorder as gt, graphRunsFor as h, readRootStreamReceipt as ht, profileGuidanceComposer as i, promptHandle as it, workerFromBackend as j, graphFileSchema as k, withWorkerSpawnRetry as l, anytimeReport as lt, graphRegistry as m, readRootStream as mt, superviseFleetCapabilities as n, kernelPromptRegistry as nt, isPreSpawnExecutorFailure as o, anyOf as ot, graphFromStored as p, renderAnytimeTable as pt, defaultEdgeTraversalCap as q, superviseWithTestBrain as r, naiveContinuationPrompt as rt, resolveWorkerSpawnRetry as s, noProgressFor as st, supervise as t, formatPromptHandle as tt, digestOfGraph as u, areaUnderCurve as ut, loadGraph as v, taskShapeDigest as w, recordGraphRun as x, lookupGraph as y, runBrainLoop as z };
|
|
10212
10182
|
|
|
10213
|
-
//# sourceMappingURL=supervise-
|
|
10183
|
+
//# sourceMappingURL=supervise-DKwnVruI.js.map
|