@tangle-network/agent-runtime 0.297.7 → 0.299.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-CDoUN2CT.js → activation-D0srpsxN.js} +2 -2
- package/dist/{activation-CDoUN2CT.js.map → activation-D0srpsxN.js.map} +1 -1
- package/dist/{activation-BplOD2nI.d.ts → activation-sYi0Wi1i.d.ts} +3 -3
- package/dist/agent.d.ts +2 -2
- package/dist/agent.js +2 -2
- package/dist/{coordination-driver-CeuM6euv.js → coordination-driver-c2W1hvwL.js} +124 -19
- package/dist/coordination-driver-c2W1hvwL.js.map +1 -0
- package/dist/{delegate-DII77j2f.js → delegate-VSkeG-3S.js} +2 -2
- package/dist/{delegate-DII77j2f.js.map → delegate-VSkeG-3S.js.map} +1 -1
- package/dist/durable.d.ts +2 -2
- package/dist/durable.js +2 -2
- package/dist/{graph-C_krm_xZ.js → graph-DogfdeoC.js} +4 -4
- package/dist/{graph-C_krm_xZ.js.map → graph-DogfdeoC.js.map} +1 -1
- package/dist/{improvement-cycle-WcuRt1tq.js → improvement-cycle--dmMEqKn.js} +3 -3
- package/dist/{improvement-cycle-WcuRt1tq.js.map → improvement-cycle--dmMEqKn.js.map} +1 -1
- package/dist/{index-CK0uaklJ.d.ts → index-Ciie85Mi.d.ts} +52 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +7 -7
- package/dist/intelligence.d.ts +3 -3
- package/dist/intelligence.js +4 -4
- package/dist/kernel.d.ts +4 -4
- package/dist/kernel.js +8 -8
- package/dist/{loop-runner-bin-DdKZe6Tr.d.ts → loop-runner-bin-C1H-Ja0s.d.ts} +3 -3
- package/dist/{loop-runner-bin-QFNwSTIP.js → loop-runner-bin-CmedD2zB.js} +3 -3
- package/dist/{loop-runner-bin-QFNwSTIP.js.map → loop-runner-bin-CmedD2zB.js.map} +1 -1
- 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 +5 -5
- package/dist/mcp/index.js +4 -4
- package/dist/{openai-tools-CrfETZkV.d.ts → openai-tools-CPqecKak.d.ts} +2 -2
- package/dist/profiles.d.ts +2 -2
- package/dist/{provision-supervisor-B5V2xXrm.js → provision-supervisor-CsVvIDrv.js} +3 -3
- package/dist/{provision-supervisor-B5V2xXrm.js.map → provision-supervisor-CsVvIDrv.js.map} +1 -1
- package/dist/{runtime-DNjgEVSC.js → runtime-dpb0Pk4q.js} +43 -8
- package/dist/{runtime-DNjgEVSC.js.map → runtime-dpb0Pk4q.js.map} +1 -1
- package/dist/{search-method-D2CPPGVX.js → search-method-k_i6IkUT.js} +2 -2
- package/dist/{search-method-D2CPPGVX.js.map → search-method-k_i6IkUT.js.map} +1 -1
- package/dist/{server-ff1ZlYVW.js → server-BWfx2L5h.js} +3 -3
- package/dist/{server-ff1ZlYVW.js.map → server-BWfx2L5h.js.map} +1 -1
- package/dist/{stream-agent-turn-D-JUSWnD.d.ts → stream-agent-turn-ZL_mAEzE.d.ts} +2 -2
- package/dist/{substrate-Bd4FFbim.d.ts → substrate-B8IoIZwD.d.ts} +2 -2
- package/dist/{supervise-CPqRWClX.js → supervise-CFFzLFAC.js} +40 -8
- package/dist/supervise-CFFzLFAC.js.map +1 -0
- package/dist/{supervisor-Kn3lYWds.js → supervisor-CJPvBIMu.js} +139 -19
- package/dist/supervisor-CJPvBIMu.js.map +1 -0
- package/dist/testing.d.ts +2 -2
- package/dist/testing.js +12 -12
- package/dist/tui/index.d.ts +1 -1
- package/dist/tui/index.js +1 -1
- package/dist/{types-CwGpKzG1.d.ts → types-CqzsTCqn.d.ts} +27 -4
- package/package.json +1 -1
- package/dist/coordination-driver-CeuM6euv.js.map +0 -1
- package/dist/supervise-CPqRWClX.js.map +0 -1
- package/dist/supervisor-Kn3lYWds.js.map +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { $ as bindScopeRetainedOwnerProvider, $n as parseWorkerToolTraceArtifact, A as driverExecutorFactory, Aa as addResourceSpend, Ai as prepareJsonlAppend, An as resolveAgentEnvironmentProvider, Ar as contentAddress, At as createExecutor, B as recordScopeOwnerDriverAttempt, C as createContinuationKeeper, Ca as sleep, Cr as runAbortable, Da as unmeteredSpend, Dr as readHarnessTranscript, Dt as captureReusableExecutorConfig, Ei as unsupportedProfileDimensions, Er as persistHarnessTranscript, Et as bindReusableExecutorExecutionId, F as beginScopeOwnerAttempt, Gi as runtimeOwnedExecutorMaterialization, H as recordScopeOwnerPause, Hi as recordRuntimeOwnedDriveHarnessProviderEvidence, Hr as createOtelExporter, Ia as DEFAULT_SUCCESSFUL_SHUTDOWN_MS, In as registerRetainedExecutorPreparation, It as createRouterTranscript, Ji as runtimeOwnedScopeOwnerRuntime, Jr as toOtelAttributes, Ki as runtimeOwnedExecutorProviderEvidence, L as deriveNodeExecutionIdentity, Li as inheritRuntimeOwnedExecutorAttestation, Ln as retainedExecutorSeamKey, Ma as withBudgetResources, Mt as snapshotExecutorConfig, Oa as withTimeout, Oi as worktreeCliProfileMaterialization, P as assertRecursiveReservationPolicy, Pi as attestRuntimeOwnedScopeOwner, Q as bindScopeRetainedOwnerEnvironmentId, R as meterRuntimeOwnedAccounting, Ra as teardownExecutor, Rt as WORKER_TRACE_PROPAGATION, Sr as linkAbort, U as restoreScopeOwnerAcceptedExecution, Ui as runtimeOwnedDriveHarnessProviderEvidence, V as recordScopeOwnerMaterialization, Vi as providerAttemptEvidence, W as scopeOwnerExecutorNodeContext, Wi as runtimeOwnedExecutorExecutionBinding, Wr as generateSpanId, _ as CheckUnavailableError, _i as fullProfileMaterialization, an as bridgeModelRouteRefusal, at as scopeRetainedOwnerPriorSpend, b as bestComposite, bi as promptModelProfileMaterialization, br as RunCancellationReason, c as runTree, ct as scopeRetainedOwnerResult, dn as bridgeStopSignalKey, ea as detachedSnapshot, et as consumeScopeRetainedOwnerResult, f as runDriverWithRetry, gi as defineProfileMaterializationContract, h as CONTINUATIONS_DIR, ha as addSpend, hi as controlProfileMaterialization, i as bestDelivered, in as bridgeAdmissionRefusal, ir as assertValidBudget, it as scopeRetainedOwnerContext, j as isDriverSpec, ja as resourceTelemetry, ji as readCommittedJsonLines, k as driverChild, ka as zeroSpend, ki as isNoEntError, lr as spendFromUsageTotals, mi as assertProfileMaterialization, n as createRootHandle, nt as prepareScopeRetainedOwnerTask, or as meterUsageEvent, ot as scopeRetainedOwnerResourceReader, p as summarizeDriverAttempts, qi as runtimeOwnedPendingExecutorMaterialization, qt as createInbox, r as createSupervisor, rt as reconcileScopeRetainedOwnerEnvironment, s as runFinalizer, sr as newUsageTotals, st as scopeRetainedOwnerRestorePoint, tr as executorFailure, tt as noteScopeRetainedOwnerCoordination, u as HarnessTurnFailedError, un as bridgeRuntimeAttachmentsKey, ur as errMessage, v as admitContinuationPolicy, vi as profileMaterializationAxes$1, wi as renderUnsupported, wn as routerBrain, x as checkVerdictOf, yi as promptControlProfileMaterialization, z as meterRuntimeOwnedProviderAttempt, za as teardownSurfaces } from "./supervisor-
|
|
1
|
+
import { $ as bindScopeRetainedOwnerProvider, $n as parseWorkerToolTraceArtifact, A as driverExecutorFactory, Aa as addResourceSpend, Ai as prepareJsonlAppend, An as resolveAgentEnvironmentProvider, Ar as contentAddress, At as createExecutor, B as recordScopeOwnerDriverAttempt, C as createContinuationKeeper, Ca as sleep, Cr as runAbortable, Da as unmeteredSpend, Dr as readHarnessTranscript, Dt as captureReusableExecutorConfig, Ei as unsupportedProfileDimensions, Er as persistHarnessTranscript, Et as bindReusableExecutorExecutionId, F as beginScopeOwnerAttempt, Gi as runtimeOwnedExecutorMaterialization, H as recordScopeOwnerPause, Hi as recordRuntimeOwnedDriveHarnessProviderEvidence, Hr as createOtelExporter, Ia as DEFAULT_SUCCESSFUL_SHUTDOWN_MS, In as registerRetainedExecutorPreparation, It as createRouterTranscript, Ji as runtimeOwnedScopeOwnerRuntime, Jr as toOtelAttributes, Ki as runtimeOwnedExecutorProviderEvidence, L as deriveNodeExecutionIdentity, Li as inheritRuntimeOwnedExecutorAttestation, Ln as retainedExecutorSeamKey, Ma as withBudgetResources, Mt as snapshotExecutorConfig, Oa as withTimeout, Oi as worktreeCliProfileMaterialization, P as assertRecursiveReservationPolicy, Pi as attestRuntimeOwnedScopeOwner, Q as bindScopeRetainedOwnerEnvironmentId, R as meterRuntimeOwnedAccounting, Ra as teardownExecutor, Rt as WORKER_TRACE_PROPAGATION, Sr as linkAbort, U as restoreScopeOwnerAcceptedExecution, Ui as runtimeOwnedDriveHarnessProviderEvidence, V as recordScopeOwnerMaterialization, Vi as providerAttemptEvidence, W as scopeOwnerExecutorNodeContext, Wi as runtimeOwnedExecutorExecutionBinding, Wr as generateSpanId, _ as CheckUnavailableError, _i as fullProfileMaterialization, an as bridgeModelRouteRefusal, at as scopeRetainedOwnerPriorSpend, b as bestComposite, bi as promptModelProfileMaterialization, br as RunCancellationReason, c as runTree, ct as scopeRetainedOwnerResult, dn as bridgeStopSignalKey, ea as detachedSnapshot, et as consumeScopeRetainedOwnerResult, f as runDriverWithRetry, gi as defineProfileMaterializationContract, h as CONTINUATIONS_DIR, ha as addSpend, hi as controlProfileMaterialization, i as bestDelivered, in as bridgeAdmissionRefusal, ir as assertValidBudget, it as scopeRetainedOwnerContext, j as isDriverSpec, ja as resourceTelemetry, ji as readCommittedJsonLines, k as driverChild, ka as zeroSpend, ki as isNoEntError, lr as spendFromUsageTotals, mi as assertProfileMaterialization, n as createRootHandle, nt as prepareScopeRetainedOwnerTask, or as meterUsageEvent, ot as scopeRetainedOwnerResourceReader, p as summarizeDriverAttempts, qi as runtimeOwnedPendingExecutorMaterialization, qt as createInbox, r as createSupervisor, rt as reconcileScopeRetainedOwnerEnvironment, s as runFinalizer, sr as newUsageTotals, st as scopeRetainedOwnerRestorePoint, tr as executorFailure, tt as noteScopeRetainedOwnerCoordination, u as HarnessTurnFailedError, un as bridgeRuntimeAttachmentsKey, ur as errMessage, v as admitContinuationPolicy, vi as profileMaterializationAxes$1, wi as renderUnsupported, wn as routerBrain, x as checkVerdictOf, yi as promptControlProfileMaterialization, z as meterRuntimeOwnedProviderAttempt, za as teardownSurfaces } from "./supervisor-CJPvBIMu.js";
|
|
2
2
|
import { f as RuntimeRunStateError, i as ConfigError, m as ValidationError } from "./errors-DodWX-cb.js";
|
|
3
3
|
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-DydyWTQg.js";
|
|
4
4
|
import { n as assertNoSymlinkDescendant } from "./durable-file-DWQA4ooo.js";
|
|
5
5
|
import { t as composeRuntimeHooks } from "./runtime-hooks-tXpAarhW.js";
|
|
6
|
-
import { B as withCoordinationAwaitFence, C as applyRunCancellation, E as DEFAULT_AWAIT_EVENT_TIMEOUT_MS, I as COORDINATION_CLIENT_TOOL_TIMEOUT_MS, L as MCP_TOOL_TIMEOUT_HEADER, R as declaredAwaitFenceMs, b as withRunContext, c as createProgressTracker, d as progressStop, j as createCoordinationToolsForManager, k as coordinationVerbNames, n as createSteerAcknowledger, r as driverAgent, t as createCancelAcknowledger, u as plateau, v as createFileRunContext, w as watchRunCancellation, y as createInMemoryRunContext, z as declaredToolTimeoutMs } from "./coordination-driver-
|
|
6
|
+
import { B as withCoordinationAwaitFence, C as applyRunCancellation, E as DEFAULT_AWAIT_EVENT_TIMEOUT_MS, I as COORDINATION_CLIENT_TOOL_TIMEOUT_MS, L as MCP_TOOL_TIMEOUT_HEADER, R as declaredAwaitFenceMs, b as withRunContext, c as createProgressTracker, d as progressStop, j as createCoordinationToolsForManager, k as coordinationVerbNames, n as createSteerAcknowledger, r as driverAgent, t as createCancelAcknowledger, u as plateau, v as createFileRunContext, w as watchRunCancellation, y as createInMemoryRunContext, z as declaredToolTimeoutMs } from "./coordination-driver-c2W1hvwL.js";
|
|
7
7
|
import { r as createStdioToolServer, t as PROTOCOL_VERSION } from "./tool-server-Dqer2M4_.js";
|
|
8
8
|
import { k as writeRunCancellation, o as readRunCancelRequest, s as readRunCancellation } from "./run-layout-DSCWdbX2.js";
|
|
9
9
|
import { agentProfileSchema, canonicalAgentProfileDigest, canonicalCandidateDigest, canonicalCandidateJson, validateAgentProfileSecurity } from "@tangle-network/agent-interface";
|
|
@@ -699,6 +699,7 @@ async function serveCoordinationMcpForManager(opts, lifetime) {
|
|
|
699
699
|
awaitTimeoutMs: opts.awaitTimeoutMs ?? responseFenceMs,
|
|
700
700
|
...opts.analysts ? { analysts: opts.analysts } : {},
|
|
701
701
|
...opts.analyzeOnSettle ? { analyzeOnSettle: opts.analyzeOnSettle } : {},
|
|
702
|
+
...opts.sourceEvidenceRefs ? { sourceEvidenceRefs: opts.sourceEvidenceRefs } : {},
|
|
702
703
|
...opts.watchWorkers ? { watchWorkers: opts.watchWorkers } : {},
|
|
703
704
|
...opts.stallAfterMs !== void 0 ? { stallAfterMs: opts.stallAfterMs } : {},
|
|
704
705
|
...opts.continuityByProfile ? { continuityByProfile: opts.continuityByProfile } : {},
|
|
@@ -837,6 +838,7 @@ async function serveCoordinationMcpForManager(opts, lifetime) {
|
|
|
837
838
|
settled: () => coord.settled(),
|
|
838
839
|
submittedResult: () => coord.submittedResult(),
|
|
839
840
|
drainResolved: () => coord.drainResolved(),
|
|
841
|
+
finishAnalysis: (input) => coord.finishAnalysis(input),
|
|
840
842
|
isStopped: () => coord.isStopped(),
|
|
841
843
|
history: () => coord.history(),
|
|
842
844
|
stats: () => coord.stats(),
|
|
@@ -1969,6 +1971,7 @@ function buildSupervisorAgent(profile, deps, testBrain) {
|
|
|
1969
1971
|
...deps.executeExtraTool ? { executeExtraTool: deps.executeExtraTool } : {},
|
|
1970
1972
|
...deps.analysts ? { analysts: deps.analysts } : {},
|
|
1971
1973
|
...deps.analyzeOnSettle ? { analyzeOnSettle: deps.analyzeOnSettle } : {},
|
|
1974
|
+
...deps.sourceEvidenceRefs ? { sourceEvidenceRefs: deps.sourceEvidenceRefs } : {},
|
|
1972
1975
|
...deps.escalateQuestion ? { escalateQuestion: deps.escalateQuestion } : {},
|
|
1973
1976
|
...deps.watchWorkers ? { watchWorkers: deps.watchWorkers } : {},
|
|
1974
1977
|
...deps.stallAfterMs !== void 0 ? { stallAfterMs: deps.stallAfterMs } : {},
|
|
@@ -2071,6 +2074,7 @@ function buildSupervisorAgent(profile, deps, testBrain) {
|
|
|
2071
2074
|
},
|
|
2072
2075
|
...deps.analysts ? { analysts: deps.analysts } : {},
|
|
2073
2076
|
...deps.analyzeOnSettle ? { analyzeOnSettle: deps.analyzeOnSettle } : {},
|
|
2077
|
+
...deps.sourceEvidenceRefs ? { sourceEvidenceRefs: deps.sourceEvidenceRefs } : {},
|
|
2074
2078
|
...deps.escalateQuestion ? { escalateQuestion: deps.escalateQuestion } : {},
|
|
2075
2079
|
...deps.watchWorkers ? { watchWorkers: deps.watchWorkers } : {},
|
|
2076
2080
|
...deps.stallAfterMs !== void 0 ? { stallAfterMs: deps.stallAfterMs } : {},
|
|
@@ -2325,17 +2329,44 @@ function buildSupervisorAgent(profile, deps, testBrain) {
|
|
|
2325
2329
|
const submitted = mcp.submittedResult();
|
|
2326
2330
|
if (submitted) {
|
|
2327
2331
|
deps.onAcceptedSubmission?.(submitted.result);
|
|
2332
|
+
await mcp.finishAnalysis({
|
|
2333
|
+
status: "done",
|
|
2334
|
+
output: submitted.result
|
|
2335
|
+
});
|
|
2328
2336
|
return submitted.result;
|
|
2329
2337
|
}
|
|
2330
|
-
if (contractDeclared)
|
|
2338
|
+
if (contractDeclared) {
|
|
2339
|
+
await mcp.finishAnalysis({
|
|
2340
|
+
status: "done",
|
|
2341
|
+
output: candidate
|
|
2342
|
+
});
|
|
2343
|
+
return candidate;
|
|
2344
|
+
}
|
|
2331
2345
|
const finalized = await finalize();
|
|
2332
|
-
if (finalized !== void 0)
|
|
2346
|
+
if (finalized !== void 0) {
|
|
2347
|
+
await mcp.finishAnalysis({
|
|
2348
|
+
status: "done",
|
|
2349
|
+
output: finalized
|
|
2350
|
+
});
|
|
2351
|
+
return finalized;
|
|
2352
|
+
}
|
|
2333
2353
|
const harnessResult = driveHarness.resultArtifact?.();
|
|
2334
2354
|
if (nodeContextSeed !== void 0 && nodeContextSeed.depth > 0 && harnessResult?.out !== void 0 && harnessResult.out !== null) {
|
|
2335
2355
|
deps.onUnassessedOutput?.(harnessResult.out);
|
|
2356
|
+
await mcp.finishAnalysis({
|
|
2357
|
+
status: "done",
|
|
2358
|
+
output: harnessResult.out
|
|
2359
|
+
});
|
|
2336
2360
|
return harnessResult.out;
|
|
2337
2361
|
}
|
|
2362
|
+
await mcp.finishAnalysis({ status: "done" });
|
|
2338
2363
|
return;
|
|
2364
|
+
} catch (error) {
|
|
2365
|
+
await mcp.finishAnalysis({
|
|
2366
|
+
status: "down",
|
|
2367
|
+
reason: error instanceof Error ? error.message : String(error)
|
|
2368
|
+
});
|
|
2369
|
+
throw error;
|
|
2339
2370
|
} finally {
|
|
2340
2371
|
coordinationLifetime.abort(/* @__PURE__ */ new Error("supervisor manager stopped"));
|
|
2341
2372
|
try {
|
|
@@ -4180,7 +4211,7 @@ function superviseInternal(profile, task, opts, testBrain) {
|
|
|
4180
4211
|
const withRetry = (make) => withWorkerSpawnRetry(make, options.workerRetry, { ...options.onWorkerRetry ? { onRetry: options.onWorkerRetry } : {} });
|
|
4181
4212
|
const makeLeaf = withRetry(options.makeLeafAgent ?? workerFromBackend(options.backend, deliverable));
|
|
4182
4213
|
const securityPolicy = options.profileSecurity ?? DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY;
|
|
4183
|
-
const makeRecursiveWorkerFor = (parent, parentIdentity, depth, parentOwnerId) => {
|
|
4214
|
+
const makeRecursiveWorkerFor = (parent, parentIdentity, depth, parentOwnerId, analystLineage = false) => {
|
|
4184
4215
|
const makeRecursiveWorker = (authoredProfile, spawnContext, recovering = false) => {
|
|
4185
4216
|
if (!spawnContext) throw new ValidationError("supervise: backend-derived workers require spawn context");
|
|
4186
4217
|
const input = freezeDetachedProfile(authoredProfile);
|
|
@@ -4248,7 +4279,7 @@ function superviseInternal(profile, task, opts, testBrain) {
|
|
|
4248
4279
|
if (isExternalSupervisor(authorized) && !nestedDriveHarness) throw new ValidationError(`supervise: authored external supervisor profile.harness=${JSON.stringify(authorized.harness)} requires a local bridge, a provider with authenticated coordination.publicUrl and runtime MCP attachments, or an explicit driveHarness with reachable coordination transport`);
|
|
4249
4280
|
assertProfileContract(authorized, isExternalSupervisor(authorized) ? driverMaterialization : promptModelProfileMaterialization, `supervise driver ${JSON.stringify(spawnContext.label)}`, true);
|
|
4250
4281
|
if (managerBackend) assertBridgeProfileMaterializes(profileWithoutDeclaredRuntimeCoordinationTools(authorized), managerBackend, `supervise driver ${JSON.stringify(spawnContext.label)}`);
|
|
4251
|
-
const childFactory = makeRecursiveWorkerFor(authorized, childExecution.identity, depth + 1, ownerId);
|
|
4282
|
+
const childFactory = makeRecursiveWorkerFor(authorized, childExecution.identity, depth + 1, ownerId, analystLineage || spawnContext.analyst !== void 0 || spawnContext.assignmentId.startsWith("analyst:"));
|
|
4252
4283
|
const nestedPerWorker = defaultPerWorker(spawnContext.budget, ownerShare);
|
|
4253
4284
|
const authorizeNestedMessage = authorizeDownFor(authorized, depth + 1);
|
|
4254
4285
|
let acceptedSubmission = false;
|
|
@@ -4260,6 +4291,7 @@ function superviseInternal(profile, task, opts, testBrain) {
|
|
|
4260
4291
|
},
|
|
4261
4292
|
...spawnResourceRoot === void 0 ? {} : { spawnResourceRoot },
|
|
4262
4293
|
makeWorkerAgent: childFactory,
|
|
4294
|
+
...spawnContext.sourceEvidenceRefs ? { sourceEvidenceRefs: spawnContext.sourceEvidenceRefs } : {},
|
|
4263
4295
|
...authorizeNestedMessage ? { authorizeDownMessage: authorizeNestedMessage } : {},
|
|
4264
4296
|
perWorker: nestedPerWorker,
|
|
4265
4297
|
...ownerShare > 0 ? { preserveOwnerTurns: true } : {},
|
|
@@ -4281,7 +4313,7 @@ function superviseInternal(profile, task, opts, testBrain) {
|
|
|
4281
4313
|
} : {},
|
|
4282
4314
|
...analysts ? { analysts } : {},
|
|
4283
4315
|
...options.escalateQuestion ? { escalateQuestion: options.escalateQuestion } : {},
|
|
4284
|
-
|
|
4316
|
+
...!analystLineage && spawnContext.analyst === void 0 && !spawnContext.assignmentId.startsWith("analyst:") && options.analyzeOnSettle ? { analyzeOnSettle: options.analyzeOnSettle } : {},
|
|
4285
4317
|
...options.watchWorkers ? { watchWorkers: options.watchWorkers } : {},
|
|
4286
4318
|
...options.stallAfterMs !== void 0 ? { stallAfterMs: options.stallAfterMs } : {},
|
|
4287
4319
|
...options.awaitTimeoutMs !== void 0 ? { awaitTimeoutMs: options.awaitTimeoutMs } : {},
|
|
@@ -4547,4 +4579,4 @@ function rootProviderModelEvidenceFromExecution(evidence) {
|
|
|
4547
4579
|
//#endregion
|
|
4548
4580
|
export { gateOnDeliverable as C, serveCoordinationMcp as S, readRootStream as _, superviseWithTestBrain as a, composeReentryTask as b, resolveWorkerSpawnRetry as c, assertCoordinationBinding as d, coordinationProfileToolPrefix as f, ROOT_STREAM_FILE as g, supervisorAgentWithTestBrain as h, superviseRootProfile as i, retryPreSpawnRefusals as l, supervisorAgent as m, profileGuidanceComposer as n, workerFromBackend as o, resolveSupervisorProfile as p, supervise as r, isPreSpawnExecutorFailure as s, DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY as t, withWorkerSpawnRetry as u, readRootStreamReceipt as v, mapExecutorResult as w, createSupervisorSpanRecorder as x, UNPROVEN_CONTINUITY as y };
|
|
4549
4581
|
|
|
4550
|
-
//# sourceMappingURL=supervise-
|
|
4582
|
+
//# sourceMappingURL=supervise-CFFzLFAC.js.map
|