@tangle-network/agent-runtime 10.0.10 → 10.0.12
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 +14 -0
- package/dist/{activation-D9ENOWud.d.ts → activation-BmdINnh5.d.ts} +12 -4
- package/dist/{activation-s2z6kO2P.js → activation-zUNFNlNv.js} +2 -2
- package/dist/{activation-s2z6kO2P.js.map → activation-zUNFNlNv.js.map} +1 -1
- package/dist/agent.js +2 -2
- package/dist/{delegate-4KpqPGv3.js → delegate--YvqtF0p.js} +2 -2
- package/dist/{delegate-4KpqPGv3.js.map → delegate--YvqtF0p.js.map} +1 -1
- package/dist/{driver-control-acknowledgers-Bnbn34Mp.js → driver-control-acknowledgers-o88fvQcq.js} +2 -2
- package/dist/{driver-control-acknowledgers-Bnbn34Mp.js.map → driver-control-acknowledgers-o88fvQcq.js.map} +1 -1
- package/dist/durable.js +4 -4
- package/dist/{graph-CDZWVNys.js → graph-5b9UtR5E.js} +4 -4
- package/dist/{graph-CDZWVNys.js.map → graph-5b9UtR5E.js.map} +1 -1
- package/dist/{improve-D_HT75pe.js → improve-DNO2U69i.js} +40 -14
- package/dist/{improve-D_HT75pe.js.map → improve-DNO2U69i.js.map} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +8 -8
- package/dist/intelligence.d.ts +1 -1
- package/dist/intelligence.js +3 -3
- package/dist/kernel.js +10 -10
- package/dist/{loop-runner-C_ruSZRz.js → loop-runner-D-oI6FUI.js} +2 -2
- package/dist/{loop-runner-C_ruSZRz.js.map → loop-runner-D-oI6FUI.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/{provision-supervisor-Cv5X_ITd.js → provision-supervisor-C_sePBrX.js} +3 -3
- package/dist/{provision-supervisor-Cv5X_ITd.js.map → provision-supervisor-C_sePBrX.js.map} +1 -1
- package/dist/{run-state-BWWardB0.js → run-state-BjM79-9H.js} +2 -2
- package/dist/{run-state-BWWardB0.js.map → run-state-BjM79-9H.js.map} +1 -1
- package/dist/{runtime-vv3D3bx6.js → runtime-C4hWti_g.js} +10 -10
- package/dist/{runtime-vv3D3bx6.js.map → runtime-C4hWti_g.js.map} +1 -1
- package/dist/{search-executor-C-kp1eg-.js → search-executor-B_xLH8Yq.js} +2 -2
- package/dist/{search-executor-C-kp1eg-.js.map → search-executor-B_xLH8Yq.js.map} +1 -1
- package/dist/{server-CqADHr2f.js → server-BzBOnewO.js} +2 -2
- package/dist/{server-CqADHr2f.js.map → server-BzBOnewO.js.map} +1 -1
- package/dist/{structural-rollout-Ct_uQtGw.js → structural-rollout-mKdhfxlJ.js} +20 -4
- package/dist/structural-rollout-mKdhfxlJ.js.map +1 -0
- package/dist/{supervise-CRz9bjPA.js → supervise-C-mQSV-1.js} +6 -4
- package/dist/supervise-C-mQSV-1.js.map +1 -0
- package/dist/{supervisor-B9A_Cnxo.js → supervisor-1csecp8d.js} +31 -8
- package/dist/supervisor-1csecp8d.js.map +1 -0
- package/dist/testing.js +11 -11
- package/dist/tui/index.js +1 -1
- package/package.json +1 -1
- package/dist/structural-rollout-Ct_uQtGw.js.map +0 -1
- package/dist/supervise-CRz9bjPA.js.map +0 -1
- package/dist/supervisor-B9A_Cnxo.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-o88fvQcq.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-1csecp8d.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";
|
|
@@ -5330,7 +5330,9 @@ var DriverRetryLoop = class {
|
|
|
5330
5330
|
pending
|
|
5331
5331
|
};
|
|
5332
5332
|
this.sameIdle = progressed ? void 0 : extend(this.sameIdle, error);
|
|
5333
|
-
|
|
5333
|
+
const observingRoot = !this.run.nested && classification === "transient" && error instanceof RetainedExecutionPendingError && error.phase === "execution" && error.pendingCause === "transport";
|
|
5334
|
+
const waitingForCapacity = classification === "unavailable" && pending === void 0 && (RATE_LIMIT_SIGNALS.has(refusal) || PLACEMENT_SIGNALS.has(refusal));
|
|
5335
|
+
if (classification !== "terminal" && !(this.run.budget().deadlineMs > 0 && (observingRoot || waitingForCapacity)) && !this.run.signal.aborted && budgetStop(this.run.budget(), this.limits.now()) === void 0 && (this.sameIdle?.count ?? 0) >= 3) {
|
|
5334
5336
|
const stop = pending === void 0 || classification === "unavailable" ? "repeated-failure" : "pending-unresolved";
|
|
5335
5337
|
await this.emit({
|
|
5336
5338
|
...this.failureRecord(failure),
|
|
@@ -9500,4 +9502,4 @@ function superviseWithContext(profile, task, opts, brain) {
|
|
|
9500
9502
|
}
|
|
9501
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 };
|
|
9502
9504
|
|
|
9503
|
-
//# sourceMappingURL=supervise-
|
|
9505
|
+
//# sourceMappingURL=supervise-C-mQSV-1.js.map
|