@tangle-network/agent-runtime 0.132.5 → 0.132.7
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-Djhlt6gA.js → activation-Cb1vGSdK.js} +2 -2
- package/dist/{activation-Djhlt6gA.js.map → activation-Cb1vGSdK.js.map} +1 -1
- package/dist/agent.d.ts +1 -1
- package/dist/agent.js +2 -2
- package/dist/{authoring-4Yyp4Get.js → authoring-CQP4S4uc.js} +2 -2
- package/dist/{authoring-4Yyp4Get.js.map → authoring-CQP4S4uc.js.map} +1 -1
- package/dist/{conversation-D95pue6P.js → conversation-BiII3X_6.js} +3 -3
- package/dist/{conversation-D95pue6P.js.map → conversation-BiII3X_6.js.map} +1 -1
- package/dist/conversation.d.ts +1 -1
- package/dist/conversation.js +1 -1
- package/dist/{environment-provider-DlYw_pjo.d.ts → environment-provider-CkSDxRZd.d.ts} +2 -2
- package/dist/environment-provider.d.ts +1 -1
- package/dist/{graph-C-2FjZYl.js → graph-DgDaI3KK.js} +2 -2
- package/dist/{graph-C-2FjZYl.js.map → graph-DgDaI3KK.js.map} +1 -1
- package/dist/{improvement-cycle-CcNYXtV3.js → improvement-cycle-DCBmuhht.js} +4 -4
- package/dist/{improvement-cycle-CcNYXtV3.js.map → improvement-cycle-DCBmuhht.js.map} +1 -1
- package/dist/{index-CcpNgmQY.d.ts → index-BsrFZu0N.d.ts} +4 -4
- package/dist/{index-iwZ0at5o.d.ts → index-Cdf9NET5.d.ts} +2 -2
- package/dist/{index-D9dVsozT.d.ts → index-DixXnx07.d.ts} +73 -7
- package/dist/index.d.ts +8 -8
- package/dist/index.js +9 -9
- package/dist/intelligence.d.ts +4 -4
- package/dist/intelligence.js +3 -3
- package/dist/kernel.d.ts +6 -6
- package/dist/kernel.js +7 -7
- package/dist/{knowledge-DHC3bfYP.js → knowledge-B8pmbGqF.js} +3 -3
- package/dist/{knowledge-DHC3bfYP.js.map → knowledge-B8pmbGqF.js.map} +1 -1
- package/dist/knowledge.d.ts +1 -1
- package/dist/knowledge.js +1 -1
- package/dist/{loop-runner-bin-D9OAFkP_.d.ts → loop-runner-bin-BqJGlXju.d.ts} +3 -3
- package/dist/{loop-runner-bin-BDKC-Pfw.js → loop-runner-bin-D9qLc2dD.js} +3 -3
- package/dist/{loop-runner-bin-BDKC-Pfw.js.map → loop-runner-bin-D9qLc2dD.js.map} +1 -1
- package/dist/loop-runner-bin.d.ts +1 -1
- package/dist/loop-runner-bin.js +1 -1
- package/dist/{materialization-DBXuH34A.js → materialization-JR_nN_oT.js} +18 -2
- package/dist/materialization-JR_nN_oT.js.map +1 -0
- package/dist/mcp/bin.js +3 -3
- package/dist/mcp/index.d.ts +3 -3
- package/dist/mcp/index.js +4 -4
- package/dist/{openai-tools-DWfAhx1n.js → openai-tools-C6KQ6aVK.js} +2 -2
- package/dist/{openai-tools-DWfAhx1n.js.map → openai-tools-C6KQ6aVK.js.map} +1 -1
- package/dist/primeintellect/index.d.ts +1 -1
- package/dist/{redact-mWj5eu4X.d.ts → redact-BAnM2avI.d.ts} +3 -3
- package/dist/{runtime-B3Ty5dJP.js → runtime-B5z9C4gn.js} +65 -15
- package/dist/runtime-B5z9C4gn.js.map +1 -0
- package/dist/{runtime-aXvRThzL.d.ts → runtime-CKk_poJ-.d.ts} +3 -3
- package/dist/{stream-agent-turn-BxwZJVfZ.js → stream-agent-turn-Bo5ZSAUR.js} +2 -2
- package/dist/{stream-agent-turn-BxwZJVfZ.js.map → stream-agent-turn-Bo5ZSAUR.js.map} +1 -1
- package/dist/{stream-agent-turn-BXiMHdCf.d.ts → stream-agent-turn-By46GZlo.d.ts} +2 -2
- package/dist/{structural-rollout-lRYq5ra9.js → structural-rollout-DBYiyyE-.js} +4 -4
- package/dist/{structural-rollout-lRYq5ra9.js.map → structural-rollout-DBYiyyE-.js.map} +1 -1
- package/dist/{supervise-CxYIRLFa.js → supervise-oLZHae_v.js} +40 -5
- package/dist/supervise-oLZHae_v.js.map +1 -0
- package/dist/{supervisor-CRYhRmN7.js → supervisor-D5ar0Rs6.js} +6 -5
- package/dist/{supervisor-CRYhRmN7.js.map → supervisor-D5ar0Rs6.js.map} +1 -1
- package/dist/testing.d.ts +2 -2
- package/dist/testing.js +11 -11
- package/dist/{types-B9KAen_0.d.ts → types-BjUQODeG.d.ts} +21 -2
- package/package.json +1 -1
- package/dist/materialization-DBXuH34A.js.map +0 -1
- package/dist/runtime-B3Ty5dJP.js.map +0 -1
- package/dist/supervise-CxYIRLFa.js.map +0 -1
|
@@ -4,7 +4,7 @@ import { _ as captureWorkerTraceEvidence, c as replaySpawnTree, f as attestNeste
|
|
|
4
4
|
import { c as randomUuid, d as throwAbort, f as throwIfAborted, l as sleep, m as zeroTokenUsage, n as cloneTokenUsage, o as mapWithConcurrency, p as withTimeout, r as deleteBoxSafe, s as randomSuffix, t as addTokenUsage, u as stringifySafe } from "./util-Dr--8wAL.js";
|
|
5
5
|
import { a as notifySandboxEventObserver, n as extractLlmCallEvent } from "./sandbox-events-vIwmuPdl.js";
|
|
6
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
|
|
7
|
+
import { _ as runtimeOwnedScopeOwnerRuntime, a as authoredProfileDigest, b as executableAgentProfileSnapshot, c as knownExecutionBindingReceipt, f as runtimeOwnedDeferredExecutorRuntime, g as runtimeOwnedPendingExecutorMaterialization, h as runtimeOwnedExecutorMaterialization, l as knownMaterializationReceipt, m as runtimeOwnedExecutorExecutionBinding, n as attestRuntimeOwnedExecutor, o as finalizeRuntimeOwnedPendingExecutor, r as attestRuntimeOwnedPendingExecutor, t as attestRuntimeOwnedDeferredExecutor, u as newExecutionAttemptId, v as unknownExecutionBindingReceipt, x as executableAgentSpecSnapshot, y as unknownMaterializationReceipt } from "./materialization-JR_nN_oT.js";
|
|
8
8
|
import { i as resolveAgentEnvironmentProvider, n as providerAsExecutor, r as providerAsSandboxClient } from "./environment-provider-mDsjfGjY.js";
|
|
9
9
|
import { i as notifyRuntimeHookEvent } from "./runtime-hooks-C7iJOWm3.js";
|
|
10
10
|
import { estimateCost, isModelPriced } from "@tangle-network/agent-eval";
|
|
@@ -7334,7 +7334,7 @@ async function* streamBridgeSession(args) {
|
|
|
7334
7334
|
};
|
|
7335
7335
|
const out = {
|
|
7336
7336
|
content: lastText,
|
|
7337
|
-
model: observedModel
|
|
7337
|
+
...observedModel !== void 0 ? { model: observedModel } : {},
|
|
7338
7338
|
...observedSystemFingerprint ? { system_fingerprint: observedSystemFingerprint } : {},
|
|
7339
7339
|
toolCalls,
|
|
7340
7340
|
transportAttempts,
|
|
@@ -7343,7 +7343,7 @@ async function* streamBridgeSession(args) {
|
|
|
7343
7343
|
};
|
|
7344
7344
|
args.onArtifact({
|
|
7345
7345
|
outRef: contentRef("bridge", {
|
|
7346
|
-
model: observedModel ??
|
|
7346
|
+
model: observedModel ?? null,
|
|
7347
7347
|
session: args.sessionId,
|
|
7348
7348
|
content: lastText
|
|
7349
7349
|
}),
|
|
@@ -7637,6 +7637,7 @@ function errorMessage(error) {
|
|
|
7637
7637
|
function mergeBridgeObservedModel(current, next) {
|
|
7638
7638
|
if (current === void 0 || current === next) return next;
|
|
7639
7639
|
if (bridgeModelIdentityBase(current) !== bridgeModelIdentityBase(next)) throw new ValidationError(`bridgeExecutor: bridge changed response model from ${JSON.stringify(current)} to ${JSON.stringify(next)}`);
|
|
7640
|
+
if (current.includes("@") && next.includes("@")) throw new ValidationError(`bridgeExecutor: bridge changed response model snapshot from ${JSON.stringify(current)} to ${JSON.stringify(next)}`);
|
|
7640
7641
|
return current.includes("@") ? current : next;
|
|
7641
7642
|
}
|
|
7642
7643
|
function bridgeModelIdentityBase(model) {
|
|
@@ -10282,7 +10283,7 @@ function scopeOwnerExecutorNodeContext(scope) {
|
|
|
10282
10283
|
/** @internal Ensure a deferred root that never published evidence remains visibly unknown. */
|
|
10283
10284
|
async function finalizeScopeOwnerMaterialization(scope) {
|
|
10284
10285
|
const state = ownerMaterializationStates.get(scope);
|
|
10285
|
-
if (state === void 0 || state.publishedThisProcess) return;
|
|
10286
|
+
if (state === void 0 || state.publishedThisProcess || state.bindingPublished) return;
|
|
10286
10287
|
if (state.prior !== void 0) {
|
|
10287
10288
|
await appendUnknownOwnerBinding(state, state.prior, "root-agent-did-not-report");
|
|
10288
10289
|
throw new ValidationError("resumed scope owner did not re-attest its prior materialization before execution");
|
|
@@ -12166,4 +12167,4 @@ function isNonEmptySpend(s) {
|
|
|
12166
12167
|
//#endregion
|
|
12167
12168
|
export { runAgentRounds as $, bindReusableExecutorExecutionId as A, createWorktree as At, workerTraceHeaders as B, controlProfileMaterialization as Bt, queueOf as C, createRuntimeStreamEventCollector as Ct, assertValidBudget as D, runSettledCommand as Dt, teardownExecutor as E, sanitizeRuntimeStreamEvent as Et, snapshotExecutorConfig as F, localHarnessExecutable as Ft, decodeToolPart as G, promptModelProfileMaterialization as Gt, DEFAULT_SANDBOX_STEERING_MAX_TURNS as H, fullProfileMaterialization as Ht, createWorktreeCliExecutor as I, parseCodexTokenUsage as It, createActivityLog as J, renderProfileMaterializationIssues as Jt, sandboxSessionTraceSource as K, promptOnlyProfileMaterialization as Kt, WORKER_TRACE_PROPAGATION as L, CodexExecutionDiagnosticError as Lt, cliWorktreeExecutor as M, DEFAULT_LOCAL_HARNESS as Mt, createExecutor as N, LOCAL_HARNESSES as Nt, createBudgetPool as O, runWorktreeHarness as Ot, createExecutorRegistry as P, harnessSupportsReasoningEffort as Pt, defaultSelectWinner as Q, readWorkerTraceContext as R, AGENT_PROFILE_MATERIALIZATION_AXES as Rt, freeSlots as S, createRuntimeEventCollector as St, DEFAULT_SUCCESSFUL_SHUTDOWN_MS as T, sanitizeKnowledgeReadinessReport as Tt, createSteerableSandboxSession as U, profileMaterializationAxes$1 as Ut, workerTraceSeamKey as V, defineProfileMaterializationContract as Vt, createPushTraceSource as W, promptControlProfileMaterialization as Wt, createInbox as X, validateProfileMaterialization as Xt, readWorkerProgress as Y, sandboxActProfileMaterialization as Yt, createSandboxForSpec as Z, worktreeCliProfileMaterialization as Zt, pollFor as _, generateSpanId as _t, pickBestDelivered as a, createPropagatingTraceEmitter as at, waitUntil as b, padTraceId as bt, driverChild as c, traceContextToEnv as ct, deriveNodeExecutionIdentity as d, buildLoopSpanNodes as dt, createSandboxLineage as et, recordScopeOwnerMaterialization as f, buildRuntimeEventOtelSpans as ft, isWaitOutcome as g, flatOtelSpan as gt, createWaitProbes as h, exportEvalRuns as ht, collectDelivered as i, runBrainLoop as it, captureReusableExecutorConfig as j, removeWorktree as jt, spendFromUsageEvents as k, captureWorktreeDiff as kt, withDriverExecutor as l, INTELLIGENCE_WIRE_VERSION as lt, settledToIteration as m, createOtelExporter as mt, createSupervisor as n, acquireSandbox as nt, runFinalizer as o, mergeTraceEnv as ot, scopeOwnerExecutorNodeContext as p, createOpenInferenceFileExporter as pt, DEFAULT_STALL_AFTER_MS as q, promptResourceProfileMaterialization as qt, bestDelivered as r, routerBrain as rt, runTree as s, readTraceContextFromEnv as st, createRootHandle as t, probeSandboxCapabilities as tt, createScope as u, buildLoopOtelSpans as ut, timerAt as v, loopEventToOtelSpan as vt, rollingDispatch as w, sanitizeAgentRuntimeEvent as wt, effectiveConcurrency as x, toOtelAttributes as xt, validateWaitSpec as y, padSpanId as yt, workerTraceEnv as z, assertProfileMaterialization as zt };
|
|
12168
12169
|
|
|
12169
|
-
//# sourceMappingURL=supervisor-
|
|
12170
|
+
//# sourceMappingURL=supervisor-D5ar0Rs6.js.map
|