@tangle-network/agent-runtime 0.131.3 → 0.131.5
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-CrVCSWLi.js → activation-D-gsrgSq.js} +2 -2
- package/dist/{activation-CrVCSWLi.js.map → activation-D-gsrgSq.js.map} +1 -1
- package/dist/agent.js +2 -2
- package/dist/{authoring-tkyJHE0o.js → authoring-DI778qK7.js} +2 -2
- package/dist/{authoring-tkyJHE0o.js.map → authoring-DI778qK7.js.map} +1 -1
- package/dist/{conversation-DNtxaJ1Z.js → conversation-9ZmilKp8.js} +3 -3
- package/dist/{conversation-DNtxaJ1Z.js.map → conversation-9ZmilKp8.js.map} +1 -1
- package/dist/conversation.js +1 -1
- package/dist/{graph-RVorX4TM.js → graph-CoN60QtH.js} +2 -2
- package/dist/{graph-RVorX4TM.js.map → graph-CoN60QtH.js.map} +1 -1
- package/dist/{improvement-cycle-CSprJl2t.js → improvement-cycle-BGF0osPC.js} +5 -5
- package/dist/{improvement-cycle-CSprJl2t.js.map → improvement-cycle-BGF0osPC.js.map} +1 -1
- package/dist/index.js +9 -9
- package/dist/intelligence.js +3 -3
- package/dist/kernel.js +8 -8
- package/dist/{knowledge-DqcVhYYF.js → knowledge-D4zNvxw5.js} +5 -5
- package/dist/{knowledge-DqcVhYYF.js.map → knowledge-D4zNvxw5.js.map} +1 -1
- package/dist/knowledge.js +1 -1
- package/dist/{loop-runner-bin-BXdUq87C.js → loop-runner-bin-CI9Y0sxT.js} +3 -3
- package/dist/{loop-runner-bin-BXdUq87C.js.map → loop-runner-bin-CI9Y0sxT.js.map} +1 -1
- package/dist/loop-runner-bin.js +1 -1
- package/dist/{materialization-COJ1UYQ-.js → materialization-DBXuH34A.js} +2 -2
- package/dist/{materialization-COJ1UYQ-.js.map → materialization-DBXuH34A.js.map} +1 -1
- package/dist/mcp/bin.js +3 -3
- package/dist/mcp/index.js +5 -5
- package/dist/{model-policy-CqziaqS1.js → model-policy-mWSoToiQ.js} +3 -2
- package/dist/model-policy-mWSoToiQ.js.map +1 -0
- package/dist/{openai-tools-CPhN7uKC.js → openai-tools-CupeHJEv.js} +2 -2
- package/dist/{openai-tools-CPhN7uKC.js.map → openai-tools-CupeHJEv.js.map} +1 -1
- package/dist/profiles.js +1 -1
- package/dist/{researcher-Skz5-Uc8.js → researcher-CYmr4VJy.js} +2 -2
- package/dist/{researcher-Skz5-Uc8.js.map → researcher-CYmr4VJy.js.map} +1 -1
- package/dist/{runtime-B4z0Z1sM.js → runtime-ZNVnT8h1.js} +9 -9
- package/dist/{runtime-B4z0Z1sM.js.map → runtime-ZNVnT8h1.js.map} +1 -1
- package/dist/{stream-agent-turn-rYgaOLO0.js → stream-agent-turn-DE8_alvm.js} +3 -3
- package/dist/{stream-agent-turn-rYgaOLO0.js.map → stream-agent-turn-DE8_alvm.js.map} +1 -1
- package/dist/{structural-rollout-UO3ue9OI.js → structural-rollout-n089ZP33.js} +5 -5
- package/dist/{structural-rollout-UO3ue9OI.js.map → structural-rollout-n089ZP33.js.map} +1 -1
- package/dist/{supervise-BVNSL3N0.js → supervise-msTRhTN7.js} +4 -4
- package/dist/{supervise-BVNSL3N0.js.map → supervise-msTRhTN7.js.map} +1 -1
- package/dist/{supervisor-D4G47raS.js → supervisor-C16p9KqO.js} +10 -4
- package/dist/{supervisor-D4G47raS.js.map → supervisor-C16p9KqO.js.map} +1 -1
- package/dist/testing.js +11 -11
- package/package.json +1 -1
- package/dist/model-policy-CqziaqS1.js.map +0 -1
|
@@ -3,8 +3,8 @@ import { t as detachedSnapshot } from "./snapshot-CXiiuHhL.js";
|
|
|
3
3
|
import { _ as captureWorkerTraceEvidence, c as replaySpawnTree, f as attestNestedDriverTreeOwner, h as runtimeOwnedNestedDriverTreeRoot, m as nestedDriverTreeRoot, o as materializeTreeView, p as driverRuntime, s as pendingWaits, x as contentAddress } from "./spawn-journal-saHQzqYi.js";
|
|
4
4
|
import { a as randomSuffix, c as stringifySafe, d as withTimeout, f as zeroTokenUsage, i as mapWithConcurrency, l as throwAbort, n as deleteBoxSafe, o as randomUuid, s as sleep, t as addTokenUsage, u as throwIfAborted } from "./util-Bw6srryQ.js";
|
|
5
5
|
import { a as notifySandboxEventObserver, n as extractLlmCallEvent } from "./sandbox-events-CRDwc5WN.js";
|
|
6
|
-
import { a as concreteProfileModel, l as resolveRouterRetryPolicy, o as profileBridgeWireModel, s as profileModelExecutionSettings, t as assertExecutableAgentProfile, u as agentHarness } from "./model-policy-
|
|
7
|
-
import { _ as unknownMaterializationReceipt, a as authoredProfileDigest, c as knownExecutionBindingReceipt, d as runtimeOwnedDeferredExecutorRuntime, f as runtimeOwnedExecutorExecutionBinding, g as unknownExecutionBindingReceipt, h as runtimeOwnedScopeOwnerRuntime, l as knownMaterializationReceipt, m as runtimeOwnedPendingExecutorMaterialization, n as attestRuntimeOwnedExecutor, o as finalizeRuntimeOwnedPendingExecutor, p as runtimeOwnedExecutorMaterialization, r as attestRuntimeOwnedPendingExecutor, t as attestRuntimeOwnedDeferredExecutor, u as newExecutionAttemptId, v as executableAgentProfileSnapshot, y as executableAgentSpecSnapshot } from "./materialization-
|
|
6
|
+
import { a as concreteProfileModel, l as resolveRouterRetryPolicy, o as profileBridgeWireModel, s as profileModelExecutionSettings, t as assertExecutableAgentProfile, u as agentHarness } from "./model-policy-mWSoToiQ.js";
|
|
7
|
+
import { _ as unknownMaterializationReceipt, a as authoredProfileDigest, c as knownExecutionBindingReceipt, d as runtimeOwnedDeferredExecutorRuntime, f as runtimeOwnedExecutorExecutionBinding, g as unknownExecutionBindingReceipt, h as runtimeOwnedScopeOwnerRuntime, l as knownMaterializationReceipt, m as runtimeOwnedPendingExecutorMaterialization, n as attestRuntimeOwnedExecutor, o as finalizeRuntimeOwnedPendingExecutor, p as runtimeOwnedExecutorMaterialization, r as attestRuntimeOwnedPendingExecutor, t as attestRuntimeOwnedDeferredExecutor, u as newExecutionAttemptId, v as executableAgentProfileSnapshot, y as executableAgentSpecSnapshot } from "./materialization-DBXuH34A.js";
|
|
8
8
|
import { i as resolveAgentEnvironmentProvider, n as providerAsExecutor, r as providerAsSandboxClient } from "./environment-provider-Dyg8DtLK.js";
|
|
9
9
|
import { i as notifyRuntimeHookEvent } from "./runtime-hooks-C7iJOWm3.js";
|
|
10
10
|
import { estimateCost, isModelPriced } from "@tangle-network/agent-eval";
|
|
@@ -7663,17 +7663,19 @@ function parseBridgeInferenceReceipt(value) {
|
|
|
7663
7663
|
"apiMode",
|
|
7664
7664
|
"effectiveEndpoint",
|
|
7665
7665
|
"transport"
|
|
7666
|
-
], ["observation"], "profile materialization inference block");
|
|
7666
|
+
], ["appliedMaxTokens", "observation"], "profile materialization inference block");
|
|
7667
7667
|
const effectiveEndpoint = raw.effectiveEndpoint;
|
|
7668
7668
|
if (typeof effectiveEndpoint !== "string" || effectiveEndpoint.length === 0) throw new ValidationError("bridgeExecutor: profile materialization inference block has no effectiveEndpoint");
|
|
7669
7669
|
const apiMode = raw.apiMode;
|
|
7670
7670
|
if (typeof apiMode !== "string" || apiMode.length === 0) throw new ValidationError("bridgeExecutor: profile materialization inference block has no apiMode");
|
|
7671
7671
|
if (raw.transport !== "scoped-loopback") throw new ValidationError("bridgeExecutor: profile materialization inference block has invalid transport");
|
|
7672
7672
|
const observation = raw.observation === void 0 ? void 0 : parseBridgeInferenceObservation(raw.observation);
|
|
7673
|
+
const appliedMaxTokens = raw.appliedMaxTokens === void 0 ? void 0 : bridgeInferencePositiveCount(raw.appliedMaxTokens, "appliedMaxTokens");
|
|
7673
7674
|
return detachedSnapshot({
|
|
7674
7675
|
effectiveEndpoint,
|
|
7675
7676
|
apiMode,
|
|
7676
7677
|
transport: "scoped-loopback",
|
|
7678
|
+
...appliedMaxTokens === void 0 ? {} : { appliedMaxTokens },
|
|
7677
7679
|
...observation === void 0 ? {} : { observation }
|
|
7678
7680
|
}, "bridgeExecutor: profile materialization inference block");
|
|
7679
7681
|
}
|
|
@@ -7736,6 +7738,10 @@ function bridgeInferenceCount(value, field) {
|
|
|
7736
7738
|
if (!Number.isSafeInteger(value) || value < 0) throw new ValidationError(`bridgeExecutor: profile materialization inference ${field} must be a nonnegative safe integer`);
|
|
7737
7739
|
return value;
|
|
7738
7740
|
}
|
|
7741
|
+
function bridgeInferencePositiveCount(value, field) {
|
|
7742
|
+
if (!Number.isSafeInteger(value) || value <= 0) throw new ValidationError(`bridgeExecutor: profile materialization inference ${field} must be a positive safe integer`);
|
|
7743
|
+
return value;
|
|
7744
|
+
}
|
|
7739
7745
|
function bridgeInferenceBoolean(value, field) {
|
|
7740
7746
|
if (typeof value !== "boolean") throw new ValidationError(`bridgeExecutor: profile materialization inference ${field} must be boolean`);
|
|
7741
7747
|
return value;
|
|
@@ -12020,4 +12026,4 @@ function isNonEmptySpend(s) {
|
|
|
12020
12026
|
//#endregion
|
|
12021
12027
|
export { createSandboxLineage as $, bindReusableExecutorExecutionId as A, removeWorktree as At, workerTraceSeamKey as B, defineProfileMaterializationContract as Bt, queueOf as C, sanitizeAgentRuntimeEvent as Ct, assertValidBudget as D, runWorktreeHarness as Dt, teardownExecutor as E, runSettledCommand as Et, snapshotExecutorConfig as F, parseCodexTokenUsage as Ft, sandboxSessionTraceSource as G, promptOnlyProfileMaterialization as Gt, createSteerableSandboxSession as H, profileMaterializationAxes$1 as Ht, createWorktreeCliExecutor as I, CodexExecutionDiagnosticError as It, readWorkerProgress as J, sandboxActProfileMaterialization as Jt, DEFAULT_STALL_AFTER_MS as K, promptResourceProfileMaterialization as Kt, WORKER_TRACE_PROPAGATION as L, AGENT_PROFILE_MATERIALIZATION_AXES as Lt, cliWorktreeExecutor as M, LOCAL_HARNESSES as Mt, createExecutor as N, harnessSupportsReasoningEffort as Nt, createBudgetPool as O, captureWorktreeDiff as Ot, createExecutorRegistry as P, localHarnessExecutable as Pt, runAgentRounds as Q, readWorkerTraceContext as R, assertProfileMaterialization as Rt, freeSlots as S, createRuntimeStreamEventCollector as St, DEFAULT_SUCCESSFUL_SHUTDOWN_MS as T, sanitizeRuntimeStreamEvent as Tt, createPushTraceSource as U, promptControlProfileMaterialization as Ut, DEFAULT_SANDBOX_STEERING_MAX_TURNS as V, fullProfileMaterialization as Vt, decodeToolPart as W, promptModelProfileMaterialization as Wt, createSandboxForSpec as X, worktreeCliProfileMaterialization as Xt, createInbox as Y, validateProfileMaterialization as Yt, defaultSelectWinner as Z, pollFor as _, loopEventToOtelSpan as _t, pickBestDelivered as a, mergeTraceEnv as at, waitUntil as b, toOtelAttributes as bt, driverChild as c, INTELLIGENCE_WIRE_VERSION as ct, deriveNodeExecutionIdentity as d, buildRuntimeEventOtelSpans as dt, probeSandboxCapabilities as et, recordScopeOwnerMaterialization as f, createOpenInferenceFileExporter as ft, isWaitOutcome as g, generateSpanId as gt, createWaitProbes as h, flatOtelSpan as ht, collectDelivered as i, createPropagatingTraceEmitter as it, captureReusableExecutorConfig as j, DEFAULT_LOCAL_HARNESS as jt, spendFromUsageEvents as k, createWorktree as kt, withDriverExecutor as l, buildLoopOtelSpans as lt, settledToIteration as m, exportEvalRuns as mt, createSupervisor as n, routerBrain as nt, runFinalizer as o, readTraceContextFromEnv as ot, scopeOwnerExecutorNodeContext as p, createOtelExporter as pt, createActivityLog as q, renderProfileMaterializationIssues as qt, bestDelivered as r, runBrainLoop as rt, runTree as s, traceContextToEnv as st, createRootHandle as t, acquireSandbox as tt, createScope as u, buildLoopSpanNodes as ut, timerAt as v, padSpanId as vt, rollingDispatch as w, sanitizeKnowledgeReadinessReport as wt, effectiveConcurrency as x, createRuntimeEventCollector as xt, validateWaitSpec as y, padTraceId as yt, workerTraceEnv as z, controlProfileMaterialization as zt };
|
|
12022
12028
|
|
|
12023
|
-
//# sourceMappingURL=supervisor-
|
|
12029
|
+
//# sourceMappingURL=supervisor-C16p9KqO.js.map
|