@tangle-network/agent-runtime 9.0.13 → 9.0.14
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 +6 -0
- package/dist/{activation-CB3FgbhP.js → activation-Bls5eeH6.js} +2 -2
- package/dist/{activation-CB3FgbhP.js.map → activation-Bls5eeH6.js.map} +1 -1
- package/dist/agent.js +2 -2
- package/dist/{coordination-manager-DGLireA0.js → coordination-manager-BEX00gWN.js} +4 -4
- package/dist/{coordination-manager-DGLireA0.js.map → coordination-manager-BEX00gWN.js.map} +1 -1
- package/dist/{delegate-DkmUWRTv.js → delegate-CealSk3j.js} +2 -2
- package/dist/{delegate-DkmUWRTv.js.map → delegate-CealSk3j.js.map} +1 -1
- package/dist/durable.js +8 -8
- package/dist/{graph-RSKyd-_g.js → graph-CtabJc2O.js} +5 -5
- package/dist/{graph-RSKyd-_g.js.map → graph-CtabJc2O.js.map} +1 -1
- package/dist/{improve-D77Hq7bo.js → improve-CcRmhpt5.js} +5 -5
- package/dist/{improve-D77Hq7bo.js.map → improve-CcRmhpt5.js.map} +1 -1
- package/dist/index.js +9 -9
- package/dist/intelligence.js +4 -4
- package/dist/kernel.js +12 -12
- package/dist/{loop-runner-B-k9u4Vs.js → loop-runner-BD096jNV.js} +2 -2
- package/dist/{loop-runner-B-k9u4Vs.js.map → loop-runner-BD096jNV.js.map} +1 -1
- package/dist/loop-runner-bin.js +1 -1
- package/dist/mcp/bin.js +3 -3
- package/dist/mcp/index.js +5 -5
- package/dist/{provision-supervisor-h3xHBR4a.js → provision-supervisor-PWn5MRu1.js} +4 -4
- package/dist/{provision-supervisor-h3xHBR4a.js.map → provision-supervisor-PWn5MRu1.js.map} +1 -1
- package/dist/{run-cancellation-BbM8qZQS.js → run-cancellation-DHuvsgzo.js} +2 -2
- package/dist/{run-cancellation-BbM8qZQS.js.map → run-cancellation-DHuvsgzo.js.map} +1 -1
- package/dist/{run-state-eDCDYXXQ.js → run-state-Dhv9M9y2.js} +5 -5
- package/dist/{run-state-eDCDYXXQ.js.map → run-state-Dhv9M9y2.js.map} +1 -1
- package/dist/{runtime-lQ7NmAaw.js → runtime-B6lr9QqP.js} +12 -12
- package/dist/{runtime-lQ7NmAaw.js.map → runtime-B6lr9QqP.js.map} +1 -1
- package/dist/{search-executor-CIRcqZor.js → search-executor-YzsjwtgG.js} +3 -3
- package/dist/{search-executor-CIRcqZor.js.map → search-executor-YzsjwtgG.js.map} +1 -1
- package/dist/{server-CCqBzpYt.js → server-C86Ttl1d.js} +3 -3
- package/dist/{server-CCqBzpYt.js.map → server-C86Ttl1d.js.map} +1 -1
- package/dist/{settle-record-BtI6hieb.js → settle-record-einetd2l.js} +2 -2
- package/dist/{settle-record-BtI6hieb.js.map → settle-record-einetd2l.js.map} +1 -1
- package/dist/{structural-rollout-BpuG0cEv.js → structural-rollout-Cb0YMMV7.js} +3 -3
- package/dist/{structural-rollout-BpuG0cEv.js.map → structural-rollout-Cb0YMMV7.js.map} +1 -1
- package/dist/{supervise-CPm-6Kqg.js → supervise-dryx6NSa.js} +5 -5
- package/dist/{supervise-CPm-6Kqg.js.map → supervise-dryx6NSa.js.map} +1 -1
- package/dist/{supervision-discovery-DqT5WUUN.js → supervision-discovery-BZRsXavN.js} +2 -2
- package/dist/{supervision-discovery-DqT5WUUN.js.map → supervision-discovery-BZRsXavN.js.map} +1 -1
- package/dist/{supervisor-CtS12u8Y.js → supervisor-D79UJEcK.js} +10 -6
- package/dist/supervisor-D79UJEcK.js.map +1 -0
- package/dist/{supervisor-accounting-CMdpc2LW.js → supervisor-accounting-6O0Hr0Fg.js} +12 -8
- package/dist/supervisor-accounting-6O0Hr0Fg.js.map +1 -0
- package/dist/testing.js +11 -11
- package/dist/{top-web-JnHgbTEg.js → top-web-CRe6c8wu.js} +5 -5
- package/dist/{top-web-JnHgbTEg.js.map → top-web-CRe6c8wu.js.map} +1 -1
- package/dist/tui/bin.js +3 -3
- package/dist/tui/index.js +2 -2
- package/package.json +1 -1
- package/dist/supervisor-CtS12u8Y.js.map +0 -1
- package/dist/supervisor-accounting-CMdpc2LW.js.map +0 -1
|
@@ -8543,12 +8543,15 @@ async function finalizeSettlement(child, settlement, seq, args, now) {
|
|
|
8543
8543
|
retainedExecution: "pending",
|
|
8544
8544
|
...settlement.retainedPendingCause === void 0 ? {} : { retainedPendingCause: settlement.retainedPendingCause }
|
|
8545
8545
|
} : {};
|
|
8546
|
+
await refreshBudgetLease(args.pool);
|
|
8547
|
+
const budget = detachedSnapshot(args.pool.readout(), "settlement budget");
|
|
8548
|
+
const observedAt = now();
|
|
8546
8549
|
notifyRuntimeHookEvent(args.hooks, {
|
|
8547
8550
|
id: `${child.id}:settled`,
|
|
8548
8551
|
runId: args.root,
|
|
8549
8552
|
target: "agent.child",
|
|
8550
8553
|
phase: "after",
|
|
8551
|
-
timestamp:
|
|
8554
|
+
timestamp: observedAt,
|
|
8552
8555
|
stepIndex: seq,
|
|
8553
8556
|
parentId: args.parentId,
|
|
8554
8557
|
payload: {
|
|
@@ -8559,6 +8562,7 @@ async function finalizeSettlement(child, settlement, seq, args, now) {
|
|
|
8559
8562
|
...settlement.infra === void 0 ? {} : { infra: settlement.infra },
|
|
8560
8563
|
...retainedExecution,
|
|
8561
8564
|
spent: child.spent,
|
|
8565
|
+
budget,
|
|
8562
8566
|
...subtree === void 0 ? {} : { subtree },
|
|
8563
8567
|
...settledNodeEvidence(child, settlement, settledAt)
|
|
8564
8568
|
}
|
|
@@ -8605,12 +8609,15 @@ async function finalizeSettlement(child, settlement, seq, args, now) {
|
|
|
8605
8609
|
child.settledAt = settledAt;
|
|
8606
8610
|
child.settledSeq = seq;
|
|
8607
8611
|
if (!child.recoveryPending && nestedScope !== void 0) releaseManagerEnvironment(nestedScope).catch(() => void 0);
|
|
8612
|
+
await refreshBudgetLease(args.pool);
|
|
8613
|
+
const budget = detachedSnapshot(args.pool.readout(), "settlement budget");
|
|
8614
|
+
const observedAt = now();
|
|
8608
8615
|
notifyRuntimeHookEvent(args.hooks, {
|
|
8609
8616
|
id: `${child.id}:settled`,
|
|
8610
8617
|
runId: args.root,
|
|
8611
8618
|
target: "agent.child",
|
|
8612
8619
|
phase: "after",
|
|
8613
|
-
timestamp:
|
|
8620
|
+
timestamp: observedAt,
|
|
8614
8621
|
stepIndex: seq,
|
|
8615
8622
|
parentId: args.parentId,
|
|
8616
8623
|
payload: {
|
|
@@ -8620,6 +8627,7 @@ async function finalizeSettlement(child, settlement, seq, args, now) {
|
|
|
8620
8627
|
score: settlement.verdict?.score,
|
|
8621
8628
|
valid: settlement.verdict?.valid,
|
|
8622
8629
|
spent: settlement.spent,
|
|
8630
|
+
budget,
|
|
8623
8631
|
...subtree === void 0 ? {} : { subtree },
|
|
8624
8632
|
...settledNodeEvidence(child, settlement, settledAt)
|
|
8625
8633
|
}
|
|
@@ -13428,11 +13436,7 @@ function createScope(args) {
|
|
|
13428
13436
|
isAdmissionClosed: () => admissionClosed,
|
|
13429
13437
|
checkInAtTimeBox: workers.checkInAtTimeBox,
|
|
13430
13438
|
releaseHeld,
|
|
13431
|
-
publishSettlement:
|
|
13432
|
-
const published = await cursor.publish(child, settlement);
|
|
13433
|
-
await refreshBudgetLease(args.pool);
|
|
13434
|
-
return published;
|
|
13435
|
-
}
|
|
13439
|
+
publishSettlement: (child, settlement) => cursor.publish(child, settlement)
|
|
13436
13440
|
});
|
|
13437
13441
|
const cursor = new ScopeSettlementCursor(args, children, now, recordKeyedSettlement);
|
|
13438
13442
|
const resume = args.resumeFrom ? {
|
|
@@ -13965,4 +13969,4 @@ function isNonEmptySpend(s) {
|
|
|
13965
13969
|
}
|
|
13966
13970
|
export { queueOf as $, captureHarnessTranscript as $n, RetainedRunProviderContractError as $r, loadSpawnForest as $t, openSlotGroup as A, verifyObserverRecords as An, knownMaterializationReceipt as Ar, noteScopeOwnerPlannedExecution as At, readWorkerInteractiveBinding as B, buildLoopSpanNodes as Bn, runtimeOwnedExecutorMaterialization as Br, scopeRetainedOwnerSettled as Bt, workerCancellationsDir as C, retainedCreateMaterial as Cn, attestRuntimeOwnedPendingExecutor as Cr, abandonScopeRetainedOwnerInvocation as Ct, writeWorkerSteer as D, FileObserverJournal as Dn, finalizeRuntimeOwnedPendingExecutor as Dr, scopeRetainedOwnerResult as Dt, writeWorkerCancellation as E, prepareInteractiveDelegation as En, authoredProfileDigest as Er, scopeRetainedOwnerPriorSpend as Et, parseWorkerToolTraceArtifact as F, workerTraceHeaders as Fn, recordRuntimeOwnedProviderDispatchNotStarted as Fr, coordinationMcpAlias as Ft, appendSpawnEvents as G, generateSpanId as Gn, unknownExecutionBindingReceipt as Gr, noteScopeRetainedOwnerCoordination as Gt, recoverRetainedInteractiveRun as H, createOpenInferenceFileExporter as Hn, runtimeOwnedPendingExecutorMaterialization as Hr, assertRetainedOwnerCoordinationRekey as Ht, workerTraceAnalysisStore as I, createPropagatingTraceEmitter as In, recordRuntimeOwnedProviderIdentityConflict as Ir, coordinationProfileToolPrefix as It, reenteredWorkers as J, createRuntimeStreamEventCollector as Jn, executableAgentSpecSnapshot as Jr, bindScopeRetainedOwnerProvider as Jt, spawnJournalRecordEvents as K, loopEventToOtelSpan as Kn, unknownMaterializationReceipt as Kr, scopeRetainedOwnerCheckpointing as Kt, nestedScopeSeamKey as L, mergeTraceEnv as Ln, recordRuntimeOwnedProviderModel as Lr, providerVisibleProfile as Lt, prepareScopeResume as M, environmentGone as Mn, providerAttemptEvidence as Mr, restoreScopeOwnerAcceptedExecution as Mt, replaySpawnTree as N, WORKER_TRACE_PROPAGATION as Nn, recordRuntimeOwnedDriveHarnessProviderEvidence as Nr, scopeOwnerExecutionObservation as Nt, writeWorkerSteerAcknowledgement as O, createFileObserverHooks as On, inheritRuntimeOwnedExecutorAttestation as Or, beginScopeOwnerAttempt as Ot, isTraceAnalysisStore as P, workerTraceEnv as Pn, recordRuntimeOwnedProviderAttemptStart as Pr, scopeOwnerExecutorNodeContext as Pt, freeSlots as Q, captureBoundHarnessTranscript as Qn, runtimeFlowBrain as Qr, scopeRetainedOwnerJournalRoot as Qt, interactiveAdmissionSeamKey as R, readTraceContextFromEnv as Rn, runtimeOwnedDriveHarnessProviderEvidence as Rr, runtimeGraphMetadataKey as Rt, workerCancelRequestsFile as S, startRetainedRunInEnvironment as Sn, attestRuntimeOwnedExecutor as Sr, resolveSpawnResourcePaths as St, workerSteerRequestsDir as T, offerInteractiveControl as Tn, authoredAgentIdentity as Tr, prepareScopeRetainedOwnerTask as Tt, startRetainedInteractiveRun as U, createOtelExporter as Un, runtimeOwnedScopeOwnerControl as Ur, reconcileScopeRetainedOwnerEnvironment as Ut, reconnectRetainedInteractiveRun as V, buildRuntimeEventOtelSpans as Vn, runtimeOwnedExecutorProviderEvidence as Vr, scopeRetainedOwnerTurnEnded as Vt, FileSpawnJournal as W, flatOtelSpan as Wn, runtimeOwnedScopeOwnerRuntime as Wr, scopeRetainedOwnerRestorePoint as Wt, assertRecursiveReservationPolicy as X, sanitizeRuntimeStreamEvent as Xn, runtimeCheckFactory as Xr, scopeOwnerLiabilities as Xt, settledToIteration as Y, sanitizeKnowledgeReadinessReport as Yn, isRuntimeFlowBrain as Yr, owners as Yt, deriveNodeExecutionIdentity as Z, HARNESS_TRANSCRIPT_SETTLE_TIMEOUT_MS as Zn, runtimeFlowAgent as Zr, scopeRetainedOwnerContext as Zt, readWorkerSteerAcknowledgement as _, assertRetainedRunReplayMaterial as _n, SeatPauseError as _r, waitForScopeChildren as _t, createRootStreamSink as a, sameControlCoordinates as ai, FileResultBlobStore as an, HARNESS_TRANSCRIPT_READ_LIMITS as ar, meterRuntimeOwnedProviderAttempt as at, supervisorRunDir as b, recoverRetainedRun as bn, subscriptionUsageLimitSignal as br, scopeRetainedOwnerResourceReader as bt, readRootStreamReceipt as c, providerMessageText as ci, insideCursorNamespace as cn, retainHarnessTranscript as cr, recordScopeOwnerDriverAttempt as ct, claimWorkerSteerDelivery as d, observeModelRequest as dn, describeToolArgs as dr, releaseHeldEnvironments as dt, assertEventBinding as ei, ownedTreeRootSpawn as en, harnessTranscriptArtifact as er, rollingDispatch as et, fileEscalateQuestion as f, NATIVE_STOP_UNCONFIRMED as fn, readWorkerProgress as fr, releaseRetainedEnvironments as ft, readWorkerCancellation as g, RetainedMaterializationTimeoutError as gn, SeatChain as gr, unconfirmedTeardowns as gt, readWorkerCancelRequests as h, verifyWorkspaceMarker as hn, SEAT_RECHECK_MS as hr, startScopeRecoveries as ht, ROOT_STREAM_FILE as i, retainedSessionReplaced as ii, nestedDriverTreeRoot as in, readHarnessTranscript as ir, meterRuntimeOwnedAccounting as it, resolveWorkerSlots as j, destroyInteractiveEnvironment as jn, newExecutionAttemptId as jr, recordScopeOwnerMaterialization as jt, createWorkerSlots as k, observerRecordDigest as kn, knownExecutionBindingReceipt as kr, finalizeScopeOwnerMaterialization as kt, appendWorkerControlEvent as l, executorObservation as ln, DEFAULT_STALL_AFTER_MS as lr, recordScopeOwnerPause as lt, legacySupervisorRunsRoot as m, stopRetainedNativeExecution as mn, isTerminalNodeStatus as mr, settleManagerWork as mt, terminalAccounting as n, exactSession as ni, attestNestedDriverTreeOwner as nn, harnessTranscriptUnavailable as nr, closeScopeAdmission as nt, nodeStreamFile as o, promptFromAgentTurnInput as oi, encodeResultBlob as on, readBoundHarnessSessions as or, pauseScopeSeatAdmission as ot, legacySupervisorRunDir as p, describeRetainedNativeStops as pn, isLiveNodeStatus as pr, retryUnconfirmedTeardowns as pt, appendTeardownConfirmation as q, createRuntimeEventCollector as qn, executableAgentProfileSnapshot as qr, bindScopeRetainedOwnerEnvironmentId as qt, createScope as r, freezeControlRef as ri, driverRuntime as rn, persistHarnessTranscript as rr, hasRetriableTeardowns as rt, readRootStream as s, promptOptionsFromAgentTurnInput as si, SpawnEventIndex as sn, resolveHarnessTranscriptCapture as sr, recordScopeOwnerBarrenPause as st, isNonEmptySpend as t, awaitAbortable$1 as ti, materializeTreeView as tn, harnessTranscriptFromLines as tr, closeRetainedSlots as tt, cancelWorker as u, executorObservationSeamKey as un, createActivityLog as ur, registerNestedTeardownScope as ut, readWorkerSteerRequests as v, mintRetainedIdentity as vn, authoredSeatStages as vr, prepareScopeRetainedOwnerSeatSwitch as vt, workerInboxFileFromEventDir as w, acceptedInteractiveControl as wn, attestRuntimeOwnedScopeOwner as wr, consumeScopeRetainedOwnerResult as wt, supervisorRunsRoot as x, startRetainedRun as xn, attestRuntimeOwnedDeferredExecutor as xr, environmentReader as xt, safeWorkerFile as y, reconnectRetainedRun as yn, seatExecutionProfile as yr, releaseScopeRetainedOwnerForSeatPause as yt, attachWorker as z, buildLoopOtelSpans as zn, runtimeOwnedExecutorExecutionBinding as zr, beginScopeRetainedOwnerDrive as zt };
|
|
13967
13971
|
|
|
13968
|
-
//# sourceMappingURL=supervisor-accounting-
|
|
13972
|
+
//# sourceMappingURL=supervisor-accounting-6O0Hr0Fg.js.map
|