@tangle-network/agent-runtime 0.307.2 → 0.309.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/dist/{activation-DNZrAzZM.js → activation-BNGcdwKv.js} +2 -2
- package/dist/{activation-DNZrAzZM.js.map → activation-BNGcdwKv.js.map} +1 -1
- package/dist/{activation-Bdugb7li.d.ts → activation-CPlj7oAq.d.ts} +3 -3
- package/dist/agent.d.ts +2 -2
- package/dist/agent.js +2 -2
- package/dist/{coordination-driver-DCQUXZ54.js → coordination-driver-nxGtWmJm.js} +2 -2
- package/dist/{coordination-driver-DCQUXZ54.js.map → coordination-driver-nxGtWmJm.js.map} +1 -1
- package/dist/{delegate-BcMmgX_Y.js → delegate-BH1mMsM-.js} +2 -2
- package/dist/{delegate-BcMmgX_Y.js.map → delegate-BH1mMsM-.js.map} +1 -1
- package/dist/durable.d.ts +2 -2
- package/dist/durable.js +2 -2
- package/dist/{graph-D2yO7Epi.js → graph-DEbRy7GI.js} +4 -4
- package/dist/{graph-D2yO7Epi.js.map → graph-DEbRy7GI.js.map} +1 -1
- package/dist/{improvement-cycle-C6PDngmf.js → improvement-cycle-D-GFP8a-.js} +3 -3
- package/dist/{improvement-cycle-C6PDngmf.js.map → improvement-cycle-D-GFP8a-.js.map} +1 -1
- package/dist/{index-1T1fjIUs.d.ts → index-B-VvfcHa.d.ts} +4 -4
- package/dist/index.d.ts +6 -6
- package/dist/index.js +7 -7
- package/dist/intelligence.d.ts +3 -3
- package/dist/intelligence.js +3 -3
- package/dist/kernel.d.ts +3 -3
- package/dist/kernel.js +8 -8
- package/dist/{loop-runner-bin-Be2jWumB.d.ts → loop-runner-bin-Bvd0J2OR.d.ts} +3 -3
- package/dist/{loop-runner-bin-Bwxtx1go.js → loop-runner-bin-DxH6LwIB.js} +3 -3
- package/dist/{loop-runner-bin-Bwxtx1go.js.map → loop-runner-bin-DxH6LwIB.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 +5 -5
- package/dist/mcp/index.js +4 -4
- package/dist/{openai-tools-C-lvIN3-.d.ts → openai-tools-CP1hPxJd.d.ts} +2 -2
- package/dist/profiles.d.ts +1 -1
- package/dist/{provision-supervisor-De_3kjM3.js → provision-supervisor-CLGUAePU.js} +3 -3
- package/dist/{provision-supervisor-De_3kjM3.js.map → provision-supervisor-CLGUAePU.js.map} +1 -1
- package/dist/{runtime-B3dR7tdY.js → runtime-B0td3fc3.js} +8 -8
- package/dist/{runtime-B3dR7tdY.js.map → runtime-B0td3fc3.js.map} +1 -1
- package/dist/{search-executor-H1IRkoRg.js → search-executor-DV-AfHq0.js} +2 -2
- package/dist/{search-executor-H1IRkoRg.js.map → search-executor-DV-AfHq0.js.map} +1 -1
- package/dist/{server-DATtZ0Q9.js → server-B5JWg4Oq.js} +3 -3
- package/dist/{server-DATtZ0Q9.js.map → server-B5JWg4Oq.js.map} +1 -1
- package/dist/{stream-agent-turn-Ch1g6gYE.d.ts → stream-agent-turn-D-zmKgU2.d.ts} +2 -2
- package/dist/{substrate-Buuxd_OX.d.ts → substrate-DQnwvsFT.d.ts} +2 -2
- package/dist/{supervise-D1qqMFAu.js → supervise-B5iHXeuw.js} +4 -3
- package/dist/supervise-B5iHXeuw.js.map +1 -0
- package/dist/{supervisor-Dz4XXtK1.js → supervisor-Cd39ZN4b.js} +239 -102
- package/dist/supervisor-Cd39ZN4b.js.map +1 -0
- package/dist/testing.d.ts +2 -2
- package/dist/testing.js +12 -12
- package/dist/tui/index.d.ts +1 -1
- package/dist/tui/index.js +1 -1
- package/dist/{types-CBcc0_5y.d.ts → types-CFGESVFO.d.ts} +107 -75
- package/package.json +1 -1
- package/dist/supervise-D1qqMFAu.js.map +0 -1
- package/dist/supervisor-Dz4XXtK1.js.map +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $n as parseWorkerToolTraceArtifact, A as scopeOwnerExecutorNodeContext, Ai as worktreeCliProfileMaterialization, An as resolveAgentEnvironmentProvider, At as captureReusableExecutorConfig, B as consumeScopeRetainedOwnerResult, Bi as recordRuntimeOwnedDriveHarnessProviderEvidence, C as deriveNodeExecutionIdentity, Ct as createContinuationKeeper, D as recordScopeOwnerMaterialization, E as recordScopeOwnerDriverAttempt, Ei as renderUnsupported, F as seatExecutionProfile, Fi as inheritRuntimeOwnedExecutorAttestation, Fn as retainedExecutorSeamKey, Ft as snapshotExecutorConfig, G as scopeRetainedOwnerContext, Gi as runtimeOwnedPendingExecutorMaterialization, H as prepareScopeRetainedOwnerSeatSwitch, Hi as runtimeOwnedExecutorExecutionBinding, I as abandonScopeRetainedOwnerInvocation, J as scopeRetainedOwnerResourceReader, Jn as readCommittedJsonLines, Jt as createActivityLog, K as scopeRetainedOwnerJournalRoot, Ki as runtimeOwnedScopeOwnerRuntime, Kn as isNoEntError, Kr as generateSpanId, L as beginScopeRetainedOwnerDrive, M as SeatChain, Mi as attestRuntimeOwnedScopeOwner, Mr as contentAddress, N as SeatChainExhaustedError, Nt as createExecutor, O as recordScopeOwnerPause, Oi as unsupportedProfileDimensions, Or as persistHarnessTranscript, P as authoredSeatStages, Pn as registerRetainedExecutorPreparation, Qi as detachedSnapshot, R as bindScopeRetainedOwnerEnvironmentId, Si as promptModelProfileMaterialization, Sr as RunCancellationReason, St as checkVerdictOf, T as meterRuntimeOwnedProviderAttempt, Tr as runAbortable, U as prepareScopeRetainedOwnerTask, Ui as runtimeOwnedExecutorMaterialization, V as noteScopeRetainedOwnerCoordination, Vi as runtimeOwnedDriveHarnessProviderEvidence, Vt as WORKER_TRACE_PROPAGATION, W as reconcileScopeRetainedOwnerEnvironment, Wi as runtimeOwnedExecutorProviderEvidence, Wr as createOtelExporter, X as scopeRetainedOwnerResult, Xr as toOtelAttributes, Xt as createInbox, Y as scopeRetainedOwnerRestorePoint, Z as scopeRetainedOwnerTurnEnded, _ as isDriverSpec, _i as controlProfileMaterialization, an as isLiveNodeStatus, b as assertRecursiveReservationPolicy, bi as profileMaterializationAxes$1, c as runTree, cn as bridgeModelRouteRefusal, dr as bridgeStopSignalKey, f as runDriverWithRetry, fr as errMessage, g as driverExecutorFactory, gi as assertProfileMaterialization, gt as CONTINUATIONS_DIR, h as driverChild, i as bestDelivered, ir as assertValidBudget, it as providerVisibleProfile, k as restoreScopeOwnerAcceptedExecution, kr as readHarnessTranscript, kt as bindReusableExecutorExecutionId, lr as spendFromUsageTotals, mt as gateOnDeliverable, n as createRootHandle, nt as coordinationMcpAlias, or as meterUsageEvent, p as summarizeDriverAttempts, q as scopeRetainedOwnerPriorSpend, qn as prepareJsonlAppend, r as createSupervisor, rt as coordinationProfileToolPrefix, s as runFinalizer, sn as bridgeAdmissionRefusal, sr as newUsageTotals, tr as executorFailure, u as HarnessTurnFailedError, ur as bridgeRuntimeAttachmentsKey, vi as defineProfileMaterializationContract, vt as CheckUnavailableError, w as meterRuntimeOwnedAccounting, wn as routerBrain, wr as linkAbort, x as beginScopeOwnerAttempt, xi as promptControlProfileMaterialization, xt as bestComposite, yi as fullProfileMaterialization, yt as admitContinuationPolicy, z as bindScopeRetainedOwnerProvider, zi as providerAttemptEvidence, zt as createRouterTranscript } from "./supervisor-Cd39ZN4b.js";
|
|
2
2
|
import { f as RuntimeRunStateError, i as ConfigError, m as ValidationError } from "./errors-DodWX-cb.js";
|
|
3
3
|
import { G as errorMessage, St as teardownSurfaces, Y as isAsyncIterable$1, at as unmeteredSpend, dt as resourceTelemetry, ft as withBudgetResources, ht as DEFAULT_SUCCESSFUL_SHUTDOWN_MS, lt as addResourceSpend, ot as withTimeout, st as zeroSpend, tt as sleep, xt as teardownExecutor, z as addSpend } from "./workspace-streams-DaQceg2p.js";
|
|
4
4
|
import { _ as agentHarness, a as concreteProfileModel, c as profileModelExecutionSettings, n as assertModelAllowed, o as enforceTokenLimits, r as assertProfileModelsAllowed, s as profileBridgeWireModel, t as assertExecutableAgentProfile, v as harnessRunsAgent } from "./model-policy-DydyWTQg.js";
|
|
5
5
|
import { n as assertNoSymlinkDescendant } from "./durable-file-DWQA4ooo.js";
|
|
6
6
|
import { t as composeRuntimeHooks } from "./runtime-hooks-tXpAarhW.js";
|
|
7
|
-
import { C as createInMemoryRunContext, D as applyRunCancellation, M as coordinationVerbNames, O as watchRunCancellation, P as createCoordinationToolsForManager, S as createFileRunContext, c as resolveWakePolicy, f as createProgressTracker, h as progressStop, m as plateau, n as createSteerAcknowledger, o as composeWakeInput, r as driverAgent, s as deadlineWarningAt, t as createCancelAcknowledger, w as withRunContext } from "./coordination-driver-
|
|
7
|
+
import { C as createInMemoryRunContext, D as applyRunCancellation, M as coordinationVerbNames, O as watchRunCancellation, P as createCoordinationToolsForManager, S as createFileRunContext, c as resolveWakePolicy, f as createProgressTracker, h as progressStop, m as plateau, n as createSteerAcknowledger, o as composeWakeInput, r as driverAgent, s as deadlineWarningAt, t as createCancelAcknowledger, w as withRunContext } from "./coordination-driver-nxGtWmJm.js";
|
|
8
8
|
import { r as createStdioToolServer, t as PROTOCOL_VERSION } from "./tool-server-Dqer2M4_.js";
|
|
9
9
|
import { k as writeRunCancellation, o as readRunCancelRequest, s as readRunCancellation } from "./run-layout-DSCWdbX2.js";
|
|
10
10
|
import { agentProfileSchema, canonicalAgentProfileDigest, canonicalCandidateDigest, canonicalCandidateJson, validateAgentProfileSecurity } from "@tangle-network/agent-interface";
|
|
@@ -2187,6 +2187,7 @@ function buildSupervisorAgent(profile, deps, testBrain) {
|
|
|
2187
2187
|
progress: readProgress,
|
|
2188
2188
|
budget: () => scope.budget,
|
|
2189
2189
|
signal: scope.signal,
|
|
2190
|
+
resolvePending: (failure, failures) => abandonScopeRetainedOwnerInvocation(scope, failure, failures),
|
|
2190
2191
|
wait: {
|
|
2191
2192
|
open: () => !mcp.submittedResult() && !mcp.isStopped() && progressStopReason === void 0 && controls.hasOpenWork(),
|
|
2192
2193
|
wake: async (nextAttempt) => {
|
|
@@ -4687,4 +4688,4 @@ function rootProviderModelEvidenceFromExecution(evidence) {
|
|
|
4687
4688
|
//#endregion
|
|
4688
4689
|
export { readRootStreamReceipt as _, superviseWithTestBrain as a, createSupervisorSpanRecorder as b, resolveWorkerSpawnRetry as c, assertCoordinationBinding as d, resolveSupervisorProfile as f, readRootStream as g, ROOT_STREAM_FILE as h, superviseRootProfile as i, retryPreSpawnRefusals as l, supervisorAgentWithTestBrain as m, profileGuidanceComposer as n, workerFromBackend as o, supervisorAgent as p, supervise as r, isPreSpawnExecutorFailure as s, DEFAULT_AUTHORED_PROFILE_SECURITY_POLICY as t, withWorkerSpawnRetry as u, UNPROVEN_CONTINUITY as v, serveCoordinationMcp as x, composeReentryTask as y };
|
|
4689
4690
|
|
|
4690
|
-
//# sourceMappingURL=supervise-
|
|
4691
|
+
//# sourceMappingURL=supervise-B5iHXeuw.js.map
|