@tangle-network/agent-runtime 9.0.7 → 9.0.10
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 +16 -0
- package/dist/{activation-BA4WLqwN.js → activation-BuKAzxZB.js} +4 -4
- package/dist/{activation-BA4WLqwN.js.map → activation-BuKAzxZB.js.map} +1 -1
- package/dist/{activation-OSYxeVWi.d.ts → activation-CVVpVGyG.d.ts} +2 -2
- package/dist/agent.d.ts +1 -1
- package/dist/agent.js +4 -4
- package/dist/{bundle-CcpL2lfr.js → bundle-9NLb1WO3.js} +2 -2
- package/dist/{bundle-CcpL2lfr.js.map → bundle-9NLb1WO3.js.map} +1 -1
- package/dist/candidate-execution/index.js +5 -4
- package/dist/candidate-execution/index.js.map +1 -1
- package/dist/{continuation-DDPfLw2w.js → continuation-CZaeHEzQ.js} +2 -2
- package/dist/{continuation-DDPfLw2w.js.map → continuation-CZaeHEzQ.js.map} +1 -1
- package/dist/{coordination-manager-CawAzVwE.js → coordination-manager-B-Ugh18D.js} +6 -6
- package/dist/{coordination-manager-CawAzVwE.js.map → coordination-manager-B-Ugh18D.js.map} +1 -1
- package/dist/deadline-CySmJ_0S.js +134 -0
- package/dist/deadline-CySmJ_0S.js.map +1 -0
- package/dist/{delegate-CXtDKuZm.js → delegate-Dizy-1ZC.js} +2 -2
- package/dist/{delegate-CXtDKuZm.js.map → delegate-Dizy-1ZC.js.map} +1 -1
- package/dist/durable.d.ts +1 -1
- package/dist/durable.js +13 -13
- package/dist/{failure-cause-W0o778qO.js → failure-cause-WifbY42M.js} +2 -2
- package/dist/{failure-cause-W0o778qO.js.map → failure-cause-WifbY42M.js.map} +1 -1
- package/dist/{graph-wQhBJwV_.js → graph-Bf3axJxp.js} +210 -300
- package/dist/graph-Bf3axJxp.js.map +1 -0
- package/dist/{graph-registry-Dbm8QhbA.js → graph-registry-B_1C7qye.js} +1 -1
- package/dist/{graph-registry-D0FE9VpR.js → graph-registry-BbZN5deo.js} +282 -6
- package/dist/graph-registry-BbZN5deo.js.map +1 -0
- package/dist/{improve-CKQwcCz1.js → improve-JThdxpGB.js} +8 -9
- package/dist/{improve-CKQwcCz1.js.map → improve-JThdxpGB.js.map} +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +15 -102
- package/dist/index.js.map +1 -1
- package/dist/intelligence.d.ts +2 -2
- package/dist/intelligence.js +7 -7
- package/dist/{jsonl-file-DsxVI0E_.js → jsonl-file-BhuxeejY.js} +114 -2
- package/dist/jsonl-file-BhuxeejY.js.map +1 -0
- package/dist/kernel.d.ts +2 -2
- package/dist/kernel.js +17 -16
- package/dist/{loop-runner-CCdQ1pmE.d.ts → loop-runner-40_tD2d4.d.ts} +2 -2
- package/dist/{loop-runner-3Acu4nGM.js → loop-runner-D8FP4oEN.js} +2 -2
- package/dist/{loop-runner-3Acu4nGM.js.map → loop-runner-D8FP4oEN.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 +1 -1
- package/dist/mcp/index.js +7 -7
- package/dist/mcp/memory-bin.js +1 -1
- package/dist/output-artifacts-AqkZ8lO2.js +331 -0
- package/dist/output-artifacts-AqkZ8lO2.js.map +1 -0
- package/dist/{prepare-D7WwIddG.js → prepare-Cw4ZaN01.js} +5 -4
- package/dist/{prepare-D7WwIddG.js.map → prepare-Cw4ZaN01.js.map} +1 -1
- package/dist/{profile-BT0X-dm5.js → profile-Cxl_Ajl2.js} +2 -2
- package/dist/{profile-BT0X-dm5.js.map → profile-Cxl_Ajl2.js.map} +1 -1
- package/dist/profiles.d.ts +1 -1
- package/dist/{provision-supervisor-Cm6RLHuw.js → provision-supervisor-BDAXc65B.js} +8 -6
- package/dist/{provision-supervisor-Cm6RLHuw.js.map → provision-supervisor-BDAXc65B.js.map} +1 -1
- package/dist/{run-cancellation-B4-1Rt4u.js → run-cancellation-Cy9ie5cQ.js} +3 -3
- package/dist/{run-cancellation-B4-1Rt4u.js.map → run-cancellation-Cy9ie5cQ.js.map} +1 -1
- package/dist/{run-state-D1LkVTBQ.js → run-state-9FP-wBWK.js} +6 -6
- package/dist/{run-state-D1LkVTBQ.js.map → run-state-9FP-wBWK.js.map} +1 -1
- package/dist/{runtime-Bpad93aK.js → runtime-Czu2SSMy.js} +50 -25
- package/dist/{runtime-Bpad93aK.js.map → runtime-Czu2SSMy.js.map} +1 -1
- package/dist/{search-executor-D8TxXXSY.js → search-executor-Dl_WUQeH.js} +6 -6
- package/dist/{search-executor-D8TxXXSY.js.map → search-executor-Dl_WUQeH.js.map} +1 -1
- package/dist/{server-ctFbmRE5.js → server-Dbge7VDj.js} +5 -5
- package/dist/{server-ctFbmRE5.js.map → server-Dbge7VDj.js.map} +1 -1
- package/dist/{settle-record-BmXd-_3O.js → settle-record-tgpwk6QF.js} +3 -3
- package/dist/{settle-record-BmXd-_3O.js.map → settle-record-tgpwk6QF.js.map} +1 -1
- package/dist/{structural-rollout-DXymZ3go.js → structural-rollout-DUMYWwZ3.js} +7 -6
- package/dist/{structural-rollout-DXymZ3go.js.map → structural-rollout-DUMYWwZ3.js.map} +1 -1
- package/dist/{supervise-BTjv6h7v.js → supervise-BpcWjDMr.js} +12 -10
- package/dist/{supervise-BTjv6h7v.js.map → supervise-BpcWjDMr.js.map} +1 -1
- package/dist/{supervision-discovery-DzYBmrJC.js → supervision-discovery-Hekh50FG.js} +5 -5
- package/dist/{supervision-discovery-DzYBmrJC.js.map → supervision-discovery-Hekh50FG.js.map} +1 -1
- package/dist/{supervisor-Cnn37lon.js → supervisor-CdrDXnOJ.js} +9 -8
- package/dist/{supervisor-Cnn37lon.js.map → supervisor-CdrDXnOJ.js.map} +1 -1
- package/dist/{supervisor-accounting-BMrdsYxz.js → supervisor-accounting-us4w7tG6.js} +65 -154
- package/dist/supervisor-accounting-us4w7tG6.js.map +1 -0
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +13 -13
- package/dist/{tool-server-Df-Uy99W.js → tool-server-CirrqFlr.js} +2 -2
- package/dist/{tool-server-Df-Uy99W.js.map → tool-server-CirrqFlr.js.map} +1 -1
- package/dist/{top-web-Qk6x-A9O.js → top-web-xSGEh02D.js} +7 -7
- package/dist/{top-web-Qk6x-A9O.js.map → top-web-xSGEh02D.js.map} +1 -1
- package/dist/tui/bin.js +3 -3
- package/dist/tui/index.d.ts +1 -1
- package/dist/tui/index.js +2 -2
- package/dist/{types-KQkbyDmn.d.ts → types-DRijOelA.d.ts} +189 -164
- package/dist/{util-fcckrkKp.js → util-qsH5cC9S.js} +3 -132
- package/dist/util-qsH5cC9S.js.map +1 -0
- package/dist/{workspace-streams-DA9R3j-p.js → workspace-streams-BakRr-Pl.js} +9 -330
- package/dist/workspace-streams-BakRr-Pl.js.map +1 -0
- package/package.json +1 -1
- package/dist/graph-registry-D0FE9VpR.js.map +0 -1
- package/dist/graph-wQhBJwV_.js.map +0 -1
- package/dist/jsonl-file-DsxVI0E_.js.map +0 -1
- package/dist/supervisor-accounting-BMrdsYxz.js.map +0 -1
- package/dist/util-fcckrkKp.js.map +0 -1
- package/dist/workspace-streams-DA9R3j-p.js.map +0 -1
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import { f as RuntimeRunStateError, i as ConfigError, m as ValidationError } from "./errors-DG8yufqX.js";
|
|
2
|
-
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-
|
|
3
|
-
import { B as toolResultText, C as captureReusableExecutorConfig, Ct as bridgeModelRouteRefusal, Gt as promptControlProfileMaterialization, H as routerBrain, Ht as defineProfileMaterializationContract, I as codeModeArguments, Kt as promptModelProfileMaterialization, L as codeModeModelOutput, Mt as bridgeStopSignalKey, R as createCodeModeTools, S as bindReusableExecutorExecutionId, St as bridgeAdmissionRefusal, T as snapshotExecutorConfig, Ut as fullProfileMaterialization, V as createRouterTranscript, Vt as controlProfileMaterialization, W as resolveAgentEnvironmentProvider, Wt as profileMaterializationAxes$1, X as INBOX_RECEIPT_KEY, Xt as unsupportedProfileDimensions, Yt as sandboxProfileMaterialization, Z as createInbox, Zt as worktreeCliProfileMaterialization, _ as isDriverSpec, _t as CheckUnavailableError, a as assertRunParking, ct as DriverAttemptsExhaustedError, d as bestDelivered, dt as classifyDriverFailure, f as runFinalizer, ft as summarizeDriverAttempts, g as driverExecutorFactory, gt as preflightPublicCoordination, h as driverChild, ht as upstreamUnavailableSignal, i as RunParkedError, it as isPeerMailEnvelope, jt as bridgeRuntimeAttachmentsKey, l as sleepScopeWait, lt as HarnessTurnFailedError, m as createRootHandle, mt as undispatchedCredentialExit, n as createSupervisor, o as bindScopeParkingDrain, p as runTree, pt as transientFailureKind, qt as renderUnsupported, s as isRunParked, tt as PEER_MAIL_WIRE_KEY, u as withRunParking, ut as abandonablePending, vt as gateFactoryOnDeliverable, w as createExecutor, zt as assertProfileMaterialization } from "./supervisor-
|
|
4
|
-
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-
|
|
2
|
+
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-B-Ugh18D.js";
|
|
3
|
+
import { B as toolResultText, C as captureReusableExecutorConfig, Ct as bridgeModelRouteRefusal, Gt as promptControlProfileMaterialization, H as routerBrain, Ht as defineProfileMaterializationContract, I as codeModeArguments, Kt as promptModelProfileMaterialization, L as codeModeModelOutput, Mt as bridgeStopSignalKey, R as createCodeModeTools, S as bindReusableExecutorExecutionId, St as bridgeAdmissionRefusal, T as snapshotExecutorConfig, Ut as fullProfileMaterialization, V as createRouterTranscript, Vt as controlProfileMaterialization, W as resolveAgentEnvironmentProvider, Wt as profileMaterializationAxes$1, X as INBOX_RECEIPT_KEY, Xt as unsupportedProfileDimensions, Yt as sandboxProfileMaterialization, Z as createInbox, Zt as worktreeCliProfileMaterialization, _ as isDriverSpec, _t as CheckUnavailableError, a as assertRunParking, ct as DriverAttemptsExhaustedError, d as bestDelivered, dt as classifyDriverFailure, f as runFinalizer, ft as summarizeDriverAttempts, g as driverExecutorFactory, gt as preflightPublicCoordination, h as driverChild, ht as upstreamUnavailableSignal, i as RunParkedError, it as isPeerMailEnvelope, jt as bridgeRuntimeAttachmentsKey, l as sleepScopeWait, lt as HarnessTurnFailedError, m as createRootHandle, mt as undispatchedCredentialExit, n as createSupervisor, o as bindScopeParkingDrain, p as runTree, pt as transientFailureKind, qt as renderUnsupported, s as isRunParked, tt as PEER_MAIL_WIRE_KEY, u as withRunParking, ut as abandonablePending, vt as gateFactoryOnDeliverable, w as createExecutor, zt as assertProfileMaterialization } from "./supervisor-CdrDXnOJ.js";
|
|
4
|
+
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-Cy9ie5cQ.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";
|
|
7
|
-
import { At as noteScopeOwnerPlannedExecution, Br as runtimeOwnedExecutorMaterialization, Ct as abandonScopeRetainedOwnerInvocation, Dt as scopeRetainedOwnerResult, Et as scopeRetainedOwnerPriorSpend, F as parseWorkerToolTraceArtifact, Ft as coordinationMcpAlias, Gn as generateSpanId, Gt as noteScopeRetainedOwnerCoordination, Hr as runtimeOwnedPendingExecutorMaterialization, Ht as assertRetainedOwnerCoordinationRekey, It as coordinationProfileToolPrefix, Jt as bindScopeRetainedOwnerProvider, Lt as providerVisibleProfile, Mr as providerAttemptEvidence, Mt as restoreScopeOwnerAcceptedExecution, Nn as WORKER_TRACE_PROPAGATION, Nr as recordRuntimeOwnedDriveHarnessProviderEvidence, Nt as scopeOwnerExecutionObservation, Ot as beginScopeOwnerAttempt, Pt as scopeOwnerExecutorNodeContext, Qr as runtimeFlowBrain, Qt as scopeRetainedOwnerJournalRoot, Rr as runtimeOwnedDriveHarnessProviderEvidence, Rt as runtimeGraphMetadataKey, Tr as authoredAgentIdentity, Tt as prepareScopeRetainedOwnerTask, Un as createOtelExporter, Ut as reconcileScopeRetainedOwnerEnvironment, Vr as runtimeOwnedExecutorProviderEvidence, Vt as scopeRetainedOwnerTurnEnded, Wr as runtimeOwnedScopeOwnerRuntime, Wt as scopeRetainedOwnerRestorePoint, X as assertRecursiveReservationPolicy, Yr as isRuntimeFlowBrain, Yt as owners, Zr as runtimeFlowAgent, Zt as scopeRetainedOwnerContext, _r as SeatPauseError, a as createRootStreamSink, at as meterRuntimeOwnedProviderAttempt, bt as scopeRetainedOwnerResourceReader,
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
7
|
+
import { At as noteScopeOwnerPlannedExecution, Br as runtimeOwnedExecutorMaterialization, Ct as abandonScopeRetainedOwnerInvocation, Dt as scopeRetainedOwnerResult, Et as scopeRetainedOwnerPriorSpend, F as parseWorkerToolTraceArtifact, Ft as coordinationMcpAlias, Gn as generateSpanId, Gt as noteScopeRetainedOwnerCoordination, Hr as runtimeOwnedPendingExecutorMaterialization, Ht as assertRetainedOwnerCoordinationRekey, It as coordinationProfileToolPrefix, Jt as bindScopeRetainedOwnerProvider, Lt as providerVisibleProfile, Mr as providerAttemptEvidence, Mt as restoreScopeOwnerAcceptedExecution, Nn as WORKER_TRACE_PROPAGATION, Nr as recordRuntimeOwnedDriveHarnessProviderEvidence, Nt as scopeOwnerExecutionObservation, Ot as beginScopeOwnerAttempt, Pt as scopeOwnerExecutorNodeContext, Qr as runtimeFlowBrain, Qt as scopeRetainedOwnerJournalRoot, Rr as runtimeOwnedDriveHarnessProviderEvidence, Rt as runtimeGraphMetadataKey, Tr as authoredAgentIdentity, Tt as prepareScopeRetainedOwnerTask, Un as createOtelExporter, Ut as reconcileScopeRetainedOwnerEnvironment, Vr as runtimeOwnedExecutorProviderEvidence, Vt as scopeRetainedOwnerTurnEnded, Wr as runtimeOwnedScopeOwnerRuntime, Wt as scopeRetainedOwnerRestorePoint, X as assertRecursiveReservationPolicy, Yr as isRuntimeFlowBrain, Yt as owners, Zr as runtimeFlowAgent, Zt as scopeRetainedOwnerContext, _r as SeatPauseError, a as createRootStreamSink, at as meterRuntimeOwnedProviderAttempt, bt as scopeRetainedOwnerResourceReader, ct as recordScopeOwnerDriverAttempt, gr as SeatChain, hr as SEAT_RECHECK_MS, i as ROOT_STREAM_FILE, ir as readHarnessTranscript, it as meterRuntimeOwnedAccounting, jt as recordScopeOwnerMaterialization, lt as recordScopeOwnerPause, mr as isTerminalNodeStatus, ot as pauseScopeSeatAdmission, pr as isLiveNodeStatus, qt as bindScopeRetainedOwnerEnvironmentId, rr as persistHarnessTranscript, s as readRootStream, st as recordScopeOwnerBarrenPause, un as executorObservationSeamKey, ur as createActivityLog, vr as authoredSeatStages, vt as prepareScopeRetainedOwnerSeatSwitch, wr as attestRuntimeOwnedScopeOwner, wt as consumeScopeRetainedOwnerResult, yr as seatExecutionProfile, yt as releaseScopeRetainedOwnerForSeatPause, zr as runtimeOwnedExecutorExecutionBinding, zt as beginScopeRetainedOwnerDrive } from "./supervisor-accounting-us4w7tG6.js";
|
|
8
|
+
import { m as runAbortable, p as linkAbort, u as RunCancellationReason } from "./jsonl-file-BhuxeejY.js";
|
|
9
|
+
import { a as createContinuationKeeper, i as checkVerdictOf, n as admitContinuationPolicy, r as bestComposite, t as CONTINUATIONS_DIR } from "./continuation-CZaeHEzQ.js";
|
|
10
|
+
import { B as turnFailurePolicy, C as cappedDoublingMs, D as unavailablePauseMs, E as reportedResetAt, Et as recordValue, F as executorFailure, N as contentAddress, O as unavailableResumeAt, Q as newUsageTotals, R as harnessProcessDied, Z as meterUsageEvent, _ as registerRetainedExecutorPreparation, b as RATE_LIMIT_SIGNALS, et as spendFromUsageTotals, tt as assertValidBudget, u as RetainedExecutionPendingError, w as jitteredMs, y as retainedExecutorSeamKey, z as turnFailureOf } from "./failure-cause-WifbY42M.js";
|
|
10
11
|
import { o as safeJsonText } from "./coordination-map-routing-XZXTlCmn.js";
|
|
11
12
|
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-CZwhXp8O.js";
|
|
12
|
-
import { A as withBudgetResources, D as addResourceSpend,
|
|
13
|
-
import { n as createStdioToolServer } from "./tool-server-
|
|
14
|
-
import {
|
|
13
|
+
import { A as withBudgetResources, D as addResourceSpend, S as unmeteredSpend, T as zeroSpend, c as errorMessage, f as isAsyncIterable, i as chargedTokens, k as resourceTelemetry, m as promptCacheTokenClasses, n as addSpend, v as sleep, w as withTimeout } from "./util-qsH5cC9S.js";
|
|
14
|
+
import { n as createStdioToolServer } from "./tool-server-CirrqFlr.js";
|
|
15
|
+
import { d as teardownExecutor, i as DEFAULT_SUCCESSFUL_SHUTDOWN_MS, l as isDeadlineAbortReason, o as armDeadlineTimer } from "./deadline-CySmJ_0S.js";
|
|
16
|
+
import { a as graphRegistry, c as loadGraph } from "./graph-registry-BbZN5deo.js";
|
|
15
17
|
import { ATTR, LINK_KIND_ATTR, agentIdentityAttributes } from "@tangle-network/agent-trace-contract";
|
|
16
18
|
import { ProxySecretScopeSchema, ProxySecretsSchema, agentProfileSchema, canonicalAgentProfileDigest, canonicalCandidateDigest, canonicalCandidateJson, mergeProxySecretBindings, validateAgentProfileSecurity } from "@tangle-network/agent-interface";
|
|
17
19
|
import { toolSpansToTraceAnalysisStore } from "@tangle-network/agent-eval";
|
|
@@ -9423,4 +9425,4 @@ function superviseWithContext(profile, task, opts, brain) {
|
|
|
9423
9425
|
}
|
|
9424
9426
|
export { createPromptRegistry as A, noProgressFor as B, journaledGateDecider as C, graphRootProfile as D, defaultEdgeTraversalCap as E, kernelPromptRegistry as F, plateauLength as G, anytimeReport as H, naiveContinuationPrompt as I, renderAnytimeTable as K, promptHandle as L, dumbContinuationFailPrompt as M, dumbContinuationPassPrompt as N, validateGraphTopology as O, formatPromptHandle as P, allWorkersStalled as R, flowRootProfile as S, validateFlowGraph as T, areaUnderCurve as U, plateau as V, bestSoFar as W, driverAgent as _, superviseRootProfile as a, GraphRouteError as b, supervisorAgentWithTestBrain as c, rootStreamToolSpans as d, runToolSpans as f, coordinationControlToolNames as g, serveCoordinationMcp as h, profileGuidanceComposer as i, delegatesWorkerBriefPrompt as j, analyzesFindingsReportPrompt as k, ASSISTANT_REASONING_SPAN as l, composeReentryTask as m, superviseFleetCapabilities as n, workerFromBackend as o, UNPROVEN_CONTINUITY as p, createSupervisorSpanRecorder as q, superviseWithTestBrain as r, supervisorAgent as s, supervise as t, ASSISTANT_TEXT_SPAN as u, runBrainLoop as v, routeFlowOf as w, createFlowRun as x, createGraphOverlay as y, anyOf as z };
|
|
9425
9427
|
|
|
9426
|
-
//# sourceMappingURL=supervise-
|
|
9428
|
+
//# sourceMappingURL=supervise-BpcWjDMr.js.map
|