@tangle-network/agent-runtime 6.0.8 → 7.0.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/CHANGELOG.md +18 -0
- package/README.md +23 -9
- package/dist/{activation-Cwy3_Qn_.js → activation-Ba9IAgQ3.js} +2 -2
- package/dist/{activation-Cwy3_Qn_.js.map → activation-Ba9IAgQ3.js.map} +1 -1
- package/dist/{activation-CWx7I1PU.d.ts → activation-DIkTEBWF.d.ts} +2 -2
- package/dist/agent.d.ts +1 -1
- package/dist/agent.js +3 -3
- package/dist/{coordination-manager-D9z7To7p.js → coordination-manager-DQZ2u6L-.js} +58 -6
- package/dist/coordination-manager-DQZ2u6L-.js.map +1 -0
- package/dist/{delegate-ws-KBA2H.js → delegate-DFLSVjFG.js} +2 -2
- package/dist/{delegate-ws-KBA2H.js.map → delegate-DFLSVjFG.js.map} +1 -1
- package/dist/durable.d.ts +71 -4
- package/dist/durable.js +158 -10
- package/dist/durable.js.map +1 -1
- package/dist/{failure-cause-BzjUUsRz.js → failure-cause-rJTm_Tx8.js} +6 -9
- package/dist/failure-cause-rJTm_Tx8.js.map +1 -0
- package/dist/{graph-2_nX4ib4.js → graph-BjQF2syl.js} +6 -6
- package/dist/{graph-2_nX4ib4.js.map → graph-BjQF2syl.js.map} +1 -1
- package/dist/{improve-BxfqTsZy.js → improve-BolbYegO.js} +6 -6
- package/dist/{improve-BxfqTsZy.js.map → improve-BolbYegO.js.map} +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +10 -10
- package/dist/intelligence.d.ts +2 -2
- package/dist/intelligence.js +4 -4
- package/dist/kernel.d.ts +2 -2
- package/dist/kernel.js +13 -13
- package/dist/{loop-runner-BmGZ4y1W.js → loop-runner-C9W3T_3T.js} +2 -2
- package/dist/{loop-runner-BmGZ4y1W.js.map → loop-runner-C9W3T_3T.js.map} +1 -1
- package/dist/{loop-runner-CUMypgRw.d.ts → loop-runner-Cs9IJ6Nk.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-CeQTPHRr.js → provision-supervisor-BQFHjCtN.js} +5 -5
- package/dist/{provision-supervisor-CeQTPHRr.js.map → provision-supervisor-BQFHjCtN.js.map} +1 -1
- package/dist/{run-cancellation-D_4vJ522.js → run-cancellation-B84X8ZAP.js} +2 -2
- package/dist/{run-cancellation-D_4vJ522.js.map → run-cancellation-B84X8ZAP.js.map} +1 -1
- package/dist/{run-state-CTZVngI_.js → run-state-Dh1bGERI.js} +6 -6
- package/dist/{run-state-CTZVngI_.js.map → run-state-Dh1bGERI.js.map} +1 -1
- package/dist/{runtime-COm9uBBx.js → runtime-C9F1PG2A.js} +13 -13
- package/dist/{runtime-COm9uBBx.js.map → runtime-C9F1PG2A.js.map} +1 -1
- package/dist/{search-executor-DTEIl58w.js → search-executor-CKR9_6NR.js} +4 -4
- package/dist/{search-executor-DTEIl58w.js.map → search-executor-CKR9_6NR.js.map} +1 -1
- package/dist/{server-zO9Nz9Nk.js → server-Dh3SQGQT.js} +4 -4
- package/dist/{server-zO9Nz9Nk.js.map → server-Dh3SQGQT.js.map} +1 -1
- package/dist/{settle-record-U7fkQEZa.js → settle-record-C6LdVvok.js} +12 -4
- package/dist/settle-record-C6LdVvok.js.map +1 -0
- package/dist/{structural-rollout-BwTwTUXF.js → structural-rollout-Dapf2aZY.js} +25 -7
- package/dist/structural-rollout-Dapf2aZY.js.map +1 -0
- package/dist/{supervise-tmqDU6YT.js → supervise-xwl2D6q3.js} +9 -7
- package/dist/{supervise-tmqDU6YT.js.map → supervise-xwl2D6q3.js.map} +1 -1
- package/dist/{supervision-discovery-CGbXayGv.js → supervision-discovery-B47U8TH5.js} +3 -3
- package/dist/{supervision-discovery-CGbXayGv.js.map → supervision-discovery-B47U8TH5.js.map} +1 -1
- package/dist/{scope-gIYQ5ZiL.js → supervisor-accounting-DxLQ_TQe.js} +330 -44
- package/dist/supervisor-accounting-DxLQ_TQe.js.map +1 -0
- package/dist/{supervisor-1A27fE6k.js → supervisor-gC-u_PRk.js} +11 -314
- package/dist/supervisor-gC-u_PRk.js.map +1 -0
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +11 -11
- package/dist/{tool-server-B9q2dtnW.js → tool-server-Dg350Bgz.js} +2 -2
- package/dist/{tool-server-B9q2dtnW.js.map → tool-server-Dg350Bgz.js.map} +1 -1
- package/dist/{top-web-CS4PD4ck.js → top-web-BJLnFQdr.js} +6 -6
- package/dist/{top-web-CS4PD4ck.js.map → top-web-BJLnFQdr.js.map} +1 -1
- package/dist/tui/bin.js +6 -6
- package/dist/tui/bin.js.map +1 -1
- package/dist/tui/index.d.ts +1 -1
- package/dist/tui/index.js +2 -2
- package/dist/{types-w3Oo1uRJ.d.ts → types-Jg274chm.d.ts} +153 -309
- package/package.json +1 -1
- package/dist/coordination-manager-D9z7To7p.js.map +0 -1
- package/dist/failure-cause-BzjUUsRz.js.map +0 -1
- package/dist/scope-gIYQ5ZiL.js.map +0 -1
- package/dist/settle-record-U7fkQEZa.js.map +0 -1
- package/dist/structural-rollout-BwTwTUXF.js.map +0 -1
- package/dist/supervisor-1A27fE6k.js.map +0 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { $r as linkAbort, At as
|
|
1
|
+
import { $r as linkAbort, At as scopeOwnerExecutionObservation, Bt as reconcileScopeRetainedOwnerEnvironment, Ct as scopeRetainedOwnerPriorSpend, Dt as noteScopeOwnerPlannedExecution, En as WORKER_TRACE_PROPAGATION, Er as recordRuntimeOwnedDriveHarnessProviderEvidence, Fr as runtimeOwnedPendingExecutorMaterialization, Ft as runtimeGraphMetadataKey, Gt as bindScopeRetainedOwnerProvider, Hr as isRuntimeFlowBrain, Ht as noteScopeRetainedOwnerCoordination, In as createOtelExporter, It as beginScopeRetainedOwnerDrive, Kt as scopeRetainedOwnerContext, Lr as runtimeOwnedScopeOwnerRuntime, M as parseWorkerToolTraceArtifact, Mr as runtimeOwnedExecutorExecutionBinding, Mt as coordinationMcpAlias, Nr as runtimeOwnedExecutorMaterialization, Nt as coordinationProfileToolPrefix, Ot as recordScopeOwnerMaterialization, Pr as runtimeOwnedExecutorProviderEvidence, Pt as providerVisibleProfile, Rn as generateSpanId, Rt as scopeRetainedOwnerTurnEnded, St as prepareScopeRetainedOwnerTask, Tr as providerAttemptEvidence, Tt as beginScopeOwnerAttempt, Ur as runtimeFlowAgent, Vt as scopeRetainedOwnerRestorePoint, Wr as runtimeFlowBrain, Wt as bindScopeRetainedOwnerEnvironmentId, Xn as persistHarnessTranscript, Zn as readHarnessTranscript, Zr as RunCancellationReason, _r as attestRuntimeOwnedScopeOwner, _t as scopeRetainedOwnerResourceReader, a as createRootStreamSink, an as executorObservationSeamKey, at as recordScopeOwnerDriverAttempt, bt as abandonScopeRetainedOwnerInvocation, cr as SEAT_RECHECK_MS, dr as authoredSeatStages, ei as runAbortable, fr as seatExecutionProfile, gt as releaseScopeRetainedOwnerForSeatPause, ht as prepareScopeRetainedOwnerSeatSwitch, i as ROOT_STREAM_FILE, it as recordScopeOwnerBarrenPause, jr as runtimeOwnedDriveHarnessProviderEvidence, jt as scopeOwnerExecutorNodeContext, kt as restoreScopeOwnerAcceptedExecution, lr as SeatChain, nt as meterRuntimeOwnedProviderAttempt, or as isLiveNodeStatus, ot as recordScopeOwnerPause, q as assertRecursiveReservationPolicy, qt as scopeRetainedOwnerJournalRoot, rr as createActivityLog, rt as pauseScopeSeatAdmission, s as readRootStream, sr as isTerminalNodeStatus, tt as meterRuntimeOwnedAccounting, ur as SeatPauseError, vr as authoredAgentIdentity, wt as scopeRetainedOwnerResult, xt as consumeScopeRetainedOwnerResult, zt as assertRetainedOwnerCoordinationRekey } from "./supervisor-accounting-DxLQ_TQe.js";
|
|
2
2
|
import { f as RuntimeRunStateError, i as ConfigError, m as ValidationError } from "./errors-AzSuGI23.js";
|
|
3
3
|
import { A as withBudgetResources, D as addResourceSpend, I as armDeadlineTimer, P as DEFAULT_SUCCESSFUL_SHUTDOWN_MS, S as unmeteredSpend, T as zeroSpend, V as teardownExecutor, c as errorMessage, f as isAsyncIterable, i as chargedTokens, k as resourceTelemetry, m as promptCacheTokenClasses, n as addSpend, v as sleep, w as withTimeout, z as isDeadlineAbortReason } from "./util-C_cdPNC4.js";
|
|
4
|
-
import { $ as assertValidBudget, C as jitteredMs, D as unavailableResumeAt, E as unavailablePauseMs, L as turnFailureOf, M as contentAddress, P as executorFailure, Q as spendFromUsageTotals, R as turnFailurePolicy, S as cappedDoublingMs, T as reportedResetAt, X as newUsageTotals, Y as meterUsageEvent, _ as registerRetainedExecutorPreparation, u as RetainedExecutionPendingError, wt as recordValue, y as retainedExecutorSeamKey } from "./failure-cause-
|
|
4
|
+
import { $ as assertValidBudget, C as jitteredMs, D as unavailableResumeAt, E as unavailablePauseMs, L as turnFailureOf, M as contentAddress, P as executorFailure, Q as spendFromUsageTotals, R as turnFailurePolicy, S as cappedDoublingMs, T as reportedResetAt, X as newUsageTotals, Y as meterUsageEvent, _ as registerRetainedExecutorPreparation, u as RetainedExecutionPendingError, wt as recordValue, y as retainedExecutorSeamKey } from "./failure-cause-rJTm_Tx8.js";
|
|
5
5
|
import { a as errMessage, c as errorText, i as causeChain, l as defaultRedactor, n as detachedSnapshot, o as errorHttpStatus } from "./snapshot-Cgj2Wzi6.js";
|
|
6
|
-
import { $t as renderUnsupported, B as createRouterTranscript, C as createExecutor, Ct as bestComposite, F as codeModeArguments, Gt as assertProfileMaterialization, I as codeModeModelOutput, Jt as defineProfileMaterializationContract, L as createCodeModeTools, Lt as bridgeRuntimeAttachmentsKey, Ot as bridgeAdmissionRefusal, Qt as promptModelProfileMaterialization, Rt as bridgeStopSignalKey, S as captureReusableExecutorConfig, St as admitContinuationPolicy, Tt as createContinuationKeeper, U as resolveAgentEnvironmentProvider, V as routerBrain, X as createInbox, Xt as profileMaterializationAxes$1, Y as INBOX_RECEIPT_KEY, Yt as fullProfileMaterialization, Zt as promptControlProfileMaterialization, _t as gateFactoryOnDeliverable, a as assertRunParking, c as sleepScopeWait, ct as HarnessTurnFailedError, d as runFinalizer, dt as summarizeDriverAttempts, et as PEER_MAIL_WIRE_KEY, f as runTree, ft as transientFailureKind, g as isDriverSpec, gt as CheckUnavailableError, h as driverExecutorFactory, ht as preflightPublicCoordination, i as RunParkedError, kt as bridgeModelRouteRefusal, l as withRunParking, lt as abandonablePending, m as driverChild, mt as upstreamUnavailableSignal, n as createSupervisor, nn as unsupportedProfileDimensions, o as bindScopeParkingDrain, p as createRootHandle, pt as undispatchedCredentialExit, qt as controlProfileMaterialization, rn as worktreeCliProfileMaterialization, rt as isPeerMailEnvelope, st as DriverAttemptsExhaustedError, tn as sandboxProfileMaterialization, u as bestDelivered, ut as classifyDriverFailure, w as snapshotExecutorConfig, wt as checkVerdictOf, x as bindReusableExecutorExecutionId, xt as CONTINUATIONS_DIR, z as toolResultText } from "./supervisor-
|
|
6
|
+
import { $t as renderUnsupported, B as createRouterTranscript, C as createExecutor, Ct as bestComposite, F as codeModeArguments, Gt as assertProfileMaterialization, I as codeModeModelOutput, Jt as defineProfileMaterializationContract, L as createCodeModeTools, Lt as bridgeRuntimeAttachmentsKey, Ot as bridgeAdmissionRefusal, Qt as promptModelProfileMaterialization, Rt as bridgeStopSignalKey, S as captureReusableExecutorConfig, St as admitContinuationPolicy, Tt as createContinuationKeeper, U as resolveAgentEnvironmentProvider, V as routerBrain, X as createInbox, Xt as profileMaterializationAxes$1, Y as INBOX_RECEIPT_KEY, Yt as fullProfileMaterialization, Zt as promptControlProfileMaterialization, _t as gateFactoryOnDeliverable, a as assertRunParking, c as sleepScopeWait, ct as HarnessTurnFailedError, d as runFinalizer, dt as summarizeDriverAttempts, et as PEER_MAIL_WIRE_KEY, f as runTree, ft as transientFailureKind, g as isDriverSpec, gt as CheckUnavailableError, h as driverExecutorFactory, ht as preflightPublicCoordination, i as RunParkedError, kt as bridgeModelRouteRefusal, l as withRunParking, lt as abandonablePending, m as driverChild, mt as upstreamUnavailableSignal, n as createSupervisor, nn as unsupportedProfileDimensions, o as bindScopeParkingDrain, p as createRootHandle, pt as undispatchedCredentialExit, qt as controlProfileMaterialization, rn as worktreeCliProfileMaterialization, rt as isPeerMailEnvelope, st as DriverAttemptsExhaustedError, tn as sandboxProfileMaterialization, u as bestDelivered, ut as classifyDriverFailure, w as snapshotExecutorConfig, wt as checkVerdictOf, x as bindReusableExecutorExecutionId, xt as CONTINUATIONS_DIR, z as toolResultText } from "./supervisor-gC-u_PRk.js";
|
|
7
7
|
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-JOcg3NRs.js";
|
|
8
|
-
import { n as createStdioToolServer } from "./tool-server-
|
|
8
|
+
import { n as createStdioToolServer } from "./tool-server-Dg350Bgz.js";
|
|
9
9
|
import { t as composeRuntimeHooks } from "./runtime-hooks-CsW2pfFk.js";
|
|
10
|
-
import { _ as workerAssignmentNamespace, c as writeRunCancellation, d as coordinationEventId, f as externalExecutionId, g as supervisionRunNamespace, h as rootCoordinationOwner, i as readRunCancellation, l as canonicalExecution, m as freezeDetachedProfile, p as freezeDetached, r as readRunCancelRequest, s as watchRunCancellation, t as applyRunCancellation, u as childCoordinationOwner } from "./run-cancellation-
|
|
11
|
-
import { c as createSteerAcknowledger, d as coordinationVerbNames, f as createFileRunContext, l as budgetOverspendText, m as withRunContext, n as createCoordinationToolsForManager, p as createInMemoryRunContext, s as createCancelAcknowledger, t as createCoordinationTools, u as normalizeAnalyzeOnSettle } from "./coordination-manager-
|
|
10
|
+
import { _ as workerAssignmentNamespace, c as writeRunCancellation, d as coordinationEventId, f as externalExecutionId, g as supervisionRunNamespace, h as rootCoordinationOwner, i as readRunCancellation, l as canonicalExecution, m as freezeDetachedProfile, p as freezeDetached, r as readRunCancelRequest, s as watchRunCancellation, t as applyRunCancellation, u as childCoordinationOwner } from "./run-cancellation-B84X8ZAP.js";
|
|
11
|
+
import { c as createSteerAcknowledger, d as coordinationVerbNames, f as createFileRunContext, l as budgetOverspendText, m as withRunContext, n as createCoordinationToolsForManager, p as createInMemoryRunContext, s as createCancelAcknowledger, t as createCoordinationTools, u as normalizeAnalyzeOnSettle } from "./coordination-manager-DQZ2u6L-.js";
|
|
12
12
|
import { o as safeJsonText } from "./coordination-map-routing-CKRNZSaV.js";
|
|
13
13
|
import { a as graphRegistry, c as loadGraph } from "./graph-registry-7X2nrreR.js";
|
|
14
14
|
import { ATTR, LINK_KIND_ATTR, agentIdentityAttributes } from "@tangle-network/agent-trace-contract";
|
|
@@ -9136,6 +9136,7 @@ function pendingCancellationRun(profile, task, opts) {
|
|
|
9136
9136
|
blobs: options.blobs ?? context.blobs,
|
|
9137
9137
|
executors: context.executors,
|
|
9138
9138
|
rootIdentity: rootExecution.identity,
|
|
9139
|
+
requestedProfile: registeredProfile,
|
|
9139
9140
|
rootMaterialization: {
|
|
9140
9141
|
runtime: root?.kind === "spawned" ? root.runtime : "inline",
|
|
9141
9142
|
declaration: "deferred",
|
|
@@ -9317,6 +9318,7 @@ function rootRunOptions(run, runDir, hooks, recorder) {
|
|
|
9317
9318
|
executors: ctx.executors,
|
|
9318
9319
|
...recoverExecutor ? { recoverExecutor } : {},
|
|
9319
9320
|
rootIdentity: setup.rootExecution.identity,
|
|
9321
|
+
requestedProfile: registeredProfile,
|
|
9320
9322
|
...options.segment === void 0 ? {} : { rootSegment: {
|
|
9321
9323
|
registered: rootSegmentOf(registeredProfile),
|
|
9322
9324
|
current: {
|
|
@@ -9407,4 +9409,4 @@ function superviseWithContext(profile, task, opts, brain) {
|
|
|
9407
9409
|
}
|
|
9408
9410
|
export { dumbContinuationPassPrompt as A, areaUnderCurve as B, defaultEdgeTraversalCap as C, createPromptRegistry as D, analyzesFindingsReportPrompt as E, allWorkersStalled as F, plateauLength as H, anyOf as I, noProgressFor as L, kernelPromptRegistry as M, naiveContinuationPrompt as N, delegatesWorkerBriefPrompt as O, promptHandle as P, plateau as R, validateFlowGraph as S, validateGraphTopology as T, renderAnytimeTable as U, bestSoFar as V, createSupervisorSpanRecorder as W, GraphRouteError as _, superviseRootProfile as a, journaledGateDecider as b, supervisorAgentWithTestBrain as c, composeReentryTask as d, serveCoordinationMcp as f, createGraphOverlay as g, runBrainLoop as h, profileGuidanceComposer as i, formatPromptHandle as j, dumbContinuationFailPrompt as k, runToolSpans as l, driverAgent as m, superviseFleetCapabilities as n, workerFromBackend as o, coordinationControlToolNames as p, superviseWithTestBrain as r, supervisorAgent as s, supervise as t, UNPROVEN_CONTINUITY as u, createFlowRun as v, graphRootProfile as w, routeFlowOf as x, flowRootProfile as y, anytimeReport as z };
|
|
9409
9411
|
|
|
9410
|
-
//# sourceMappingURL=supervise-
|
|
9412
|
+
//# sourceMappingURL=supervise-xwl2D6q3.js.map
|