@tangle-network/agent-runtime 10.0.8 → 10.0.9
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 +12 -0
- package/dist/{activation-pRO-xNlo.js → activation-D4hAza0W.js} +2 -2
- package/dist/{activation-pRO-xNlo.js.map → activation-D4hAza0W.js.map} +1 -1
- package/dist/agent.js +2 -2
- package/dist/{delegate-ChsxEeFK.js → delegate-C53pe9th.js} +2 -2
- package/dist/{delegate-ChsxEeFK.js.map → delegate-C53pe9th.js.map} +1 -1
- package/dist/{driver-control-acknowledgers-DL-lN2Pb.js → driver-control-acknowledgers-eETy7SAi.js} +16 -17
- package/dist/driver-control-acknowledgers-eETy7SAi.js.map +1 -0
- package/dist/durable.js +4 -4
- package/dist/{graph-CKdDENlv.js → graph-CRaquJhB.js} +4 -4
- package/dist/{graph-CKdDENlv.js.map → graph-CRaquJhB.js.map} +1 -1
- package/dist/{improve-DNOZVLb-.js → improve-CEOS1Ijj.js} +5 -5
- package/dist/{improve-DNOZVLb-.js.map → improve-CEOS1Ijj.js.map} +1 -1
- package/dist/index.js +8 -8
- package/dist/intelligence.js +3 -3
- package/dist/kernel.js +10 -10
- package/dist/{loop-runner-DmDW9BKB.js → loop-runner-2vKhhbQA.js} +2 -2
- package/dist/{loop-runner-DmDW9BKB.js.map → loop-runner-2vKhhbQA.js.map} +1 -1
- package/dist/loop-runner-bin.js +1 -1
- package/dist/mcp/bin.js +2 -2
- package/dist/mcp/index.js +4 -4
- package/dist/profile-Cxl_Ajl2.js.map +1 -1
- package/dist/{provision-supervisor-DdsrpA3I.js → provision-supervisor-CzKfUJIg.js} +3 -3
- package/dist/{provision-supervisor-DdsrpA3I.js.map → provision-supervisor-CzKfUJIg.js.map} +1 -1
- package/dist/{run-state-CX8OTr-9.js → run-state-Dbi2PVOt.js} +2 -2
- package/dist/{run-state-CX8OTr-9.js.map → run-state-Dbi2PVOt.js.map} +1 -1
- package/dist/{runtime-ERkXbzFe.js → runtime-CZ-VnOr5.js} +44 -29
- package/dist/{runtime-ERkXbzFe.js.map → runtime-CZ-VnOr5.js.map} +1 -1
- package/dist/{search-executor-DDb4sT3E.js → search-executor-C0aVtzXX.js} +2 -2
- package/dist/{search-executor-DDb4sT3E.js.map → search-executor-C0aVtzXX.js.map} +1 -1
- package/dist/{server-B9tOx3CY.js → server-BwpXzcpm.js} +2 -2
- package/dist/{server-B9tOx3CY.js.map → server-BwpXzcpm.js.map} +1 -1
- package/dist/{structural-rollout-B6RlFKxq.js → structural-rollout-CKNwDl0T.js} +2 -2
- package/dist/{structural-rollout-B6RlFKxq.js.map → structural-rollout-CKNwDl0T.js.map} +1 -1
- package/dist/{supervise-CikShHxF.js → supervise-CkIKRWDV.js} +9 -5
- package/dist/{supervise-CikShHxF.js.map → supervise-CkIKRWDV.js.map} +1 -1
- package/dist/{supervisor-BvEe3y0c.js → supervisor-CAQI8ILe.js} +7 -6
- package/dist/supervisor-CAQI8ILe.js.map +1 -0
- package/dist/testing.js +11 -11
- package/dist/tui/index.js +1 -1
- package/package.json +4 -4
- package/dist/driver-control-acknowledgers-DL-lN2Pb.js.map +0 -1
- package/dist/supervisor-BvEe3y0c.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
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 { $t as worktreeCliProfileMaterialization, B as toolResultText, C as captureReusableExecutorConfig, Ct as bridgeAdmissionRefusal, Gt as fullProfileMaterialization, H as routerBrain, I as codeModeArguments, Jt as promptModelProfileMaterialization, K as providerOutputOptions, Kt as profileMaterializationAxes$1, L as codeModeModelOutput, Mt as bridgeRuntimeAttachmentsKey, Nt as bridgeRuntimeEnvKey, Pt as bridgeStopSignalKey, Q as createInbox, Qt as unsupportedProfileDimensions, R as createCodeModeTools, S as bindReusableExecutorExecutionId, T as snapshotExecutorConfig, Ut as controlProfileMaterialization, V as createRouterTranscript, Vt as assertProfileMaterialization, W as resolveAgentEnvironmentProvider, Wt as defineProfileMaterializationContract, Yt as renderUnsupported, Z as INBOX_RECEIPT_KEY, Zt as sandboxProfileMaterialization, _ as isDriverSpec, _t as preflightPublicCoordination, a as awaitRootWake, at as isPeerMailEnvelope, d as bestDelivered, dt as abandonablePending, f as runFinalizer, ft as classifyDriverFailure, g as driverExecutorFactory, gt as upstreamUnavailableSignal, h as driverChild, ht as undispatchedCredentialExit, i as assertRunParking, l as sleepScopeWait, lt as DriverAttemptsExhaustedError, m as createRootHandle, mt as transientFailureKind, n as createSupervisor, nt as PEER_MAIL_WIRE_KEY, o as bindScopeParkingDrain, p as runTree, pt as summarizeDriverAttempts, qt as promptControlProfileMaterialization, r as RunParkedError, s as isRunParked, u as withRunParking, ut as HarnessTurnFailedError, vt as CheckUnavailableError, w as createExecutor, wt as bridgeModelRouteRefusal, yt as gateFactoryOnDeliverable } from "./supervisor-
|
|
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-eETy7SAi.js";
|
|
3
|
+
import { $t as worktreeCliProfileMaterialization, B as toolResultText, C as captureReusableExecutorConfig, Ct as bridgeAdmissionRefusal, Gt as fullProfileMaterialization, H as routerBrain, I as codeModeArguments, Jt as promptModelProfileMaterialization, K as providerOutputOptions, Kt as profileMaterializationAxes$1, L as codeModeModelOutput, Mt as bridgeRuntimeAttachmentsKey, Nt as bridgeRuntimeEnvKey, Pt as bridgeStopSignalKey, Q as createInbox, Qt as unsupportedProfileDimensions, R as createCodeModeTools, S as bindReusableExecutorExecutionId, T as snapshotExecutorConfig, Ut as controlProfileMaterialization, V as createRouterTranscript, Vt as assertProfileMaterialization, W as resolveAgentEnvironmentProvider, Wt as defineProfileMaterializationContract, Yt as renderUnsupported, Z as INBOX_RECEIPT_KEY, Zt as sandboxProfileMaterialization, _ as isDriverSpec, _t as preflightPublicCoordination, a as awaitRootWake, at as isPeerMailEnvelope, d as bestDelivered, dt as abandonablePending, f as runFinalizer, ft as classifyDriverFailure, g as driverExecutorFactory, gt as upstreamUnavailableSignal, h as driverChild, ht as undispatchedCredentialExit, i as assertRunParking, l as sleepScopeWait, lt as DriverAttemptsExhaustedError, m as createRootHandle, mt as transientFailureKind, n as createSupervisor, nt as PEER_MAIL_WIRE_KEY, o as bindScopeParkingDrain, p as runTree, pt as summarizeDriverAttempts, qt as promptControlProfileMaterialization, r as RunParkedError, s as isRunParked, u as withRunParking, ut as HarnessTurnFailedError, vt as CheckUnavailableError, w as createExecutor, wt as bridgeModelRouteRefusal, yt as gateFactoryOnDeliverable } from "./supervisor-CAQI8ILe.js";
|
|
4
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-QavM_M4r.js";
|
|
5
5
|
import { a as errMessage, c as errorStack, i as causeChain, l as errorText, n as detachedSnapshot, o as errorHttpStatus, u as defaultRedactor } from "./snapshot-BKI_w3JD.js";
|
|
6
6
|
import { t as composeRuntimeHooks } from "./runtime-hooks-CsW2pfFk.js";
|
|
@@ -6814,11 +6814,15 @@ const gatedPromptDimensions = ["systemPrompt", "appendSystemPrompt"];
|
|
|
6814
6814
|
*/
|
|
6815
6815
|
function assertBridgeProfileMaterializes(profile, backend, context) {
|
|
6816
6816
|
if (backend.backend !== "bridge") return;
|
|
6817
|
+
const refusal = bridgeProfileRefusal(profile);
|
|
6818
|
+
if (refusal) throw new ValidationError(`${context}: ${refusal}`);
|
|
6819
|
+
}
|
|
6820
|
+
function bridgeProfileRefusal(profile) {
|
|
6817
6821
|
const harness = agentHarness(profile.harness);
|
|
6818
6822
|
if (harness === void 0 || !isMaterializerHarness(harness)) return;
|
|
6819
6823
|
const unsupported = unsupportedProfileDimensions(profile, harness, gatedPromptDimensions, bridgeMaterializationSkip(harness));
|
|
6820
6824
|
if (unsupported.length === 0) return;
|
|
6821
|
-
|
|
6825
|
+
return `${harness} cannot materialize the profile: ${renderUnsupported(unsupported)}`;
|
|
6822
6826
|
}
|
|
6823
6827
|
/**
|
|
6824
6828
|
* The ROOT router-brained supervisor's materialization claim. The router arm consumes the
|
|
@@ -9496,6 +9500,6 @@ function superviseWithContext(profile, task, opts, brain) {
|
|
|
9496
9500
|
...signal === void 0 ? {} : { signal }
|
|
9497
9501
|
}, brain));
|
|
9498
9502
|
}
|
|
9499
|
-
export {
|
|
9503
|
+
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 };
|
|
9500
9504
|
|
|
9501
|
-
//# sourceMappingURL=supervise-
|
|
9505
|
+
//# sourceMappingURL=supervise-CkIKRWDV.js.map
|