@tangle-network/agent-runtime 0.131.0 → 0.131.2
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-BCzMOTaV.js → activation-rl1Dx7jw.js} +2 -2
- package/dist/{activation-BCzMOTaV.js.map → activation-rl1Dx7jw.js.map} +1 -1
- package/dist/agent.js +2 -2
- package/dist/{authoring-CvHwo1oW.js → authoring-f3ldLlMH.js} +2 -2
- package/dist/{authoring-CvHwo1oW.js.map → authoring-f3ldLlMH.js.map} +1 -1
- package/dist/{graph-BJTxGOFB.js → graph-Cavjt5PV.js} +2 -2
- package/dist/{graph-BJTxGOFB.js.map → graph-Cavjt5PV.js.map} +1 -1
- package/dist/{improvement-cycle-Csp38cWg.js → improvement-cycle-DameJBHT.js} +3 -3
- package/dist/{improvement-cycle-Csp38cWg.js.map → improvement-cycle-DameJBHT.js.map} +1 -1
- package/dist/index.js +7 -7
- package/dist/intelligence.js +3 -3
- package/dist/kernel.js +6 -6
- package/dist/{knowledge-ce0_uKCl.js → knowledge-BoWyEh3G.js} +3 -3
- package/dist/{knowledge-ce0_uKCl.js.map → knowledge-BoWyEh3G.js.map} +1 -1
- package/dist/knowledge.js +1 -1
- package/dist/{loop-runner-bin-DSbuDDqM.js → loop-runner-bin-CRUMo1-y.js} +3 -3
- package/dist/{loop-runner-bin-DSbuDDqM.js.map → loop-runner-bin-CRUMo1-y.js.map} +1 -1
- package/dist/loop-runner-bin.js +1 -1
- package/dist/mcp/bin.js +3 -3
- package/dist/mcp/index.js +6 -6
- package/dist/mcp/memory-bin.js +1 -1
- package/dist/{memory-server-5HEJH672.js → memory-server-eD2baiRO.js} +2 -2
- package/dist/{memory-server-5HEJH672.js.map → memory-server-eD2baiRO.js.map} +1 -1
- package/dist/{openai-tools-ru75mLjq.js → openai-tools-DKjfR1g-.js} +2 -2
- package/dist/{openai-tools-ru75mLjq.js.map → openai-tools-DKjfR1g-.js.map} +1 -1
- package/dist/{runtime-hiAABiTk.js → runtime-vhKaBA0X.js} +6 -6
- package/dist/{runtime-hiAABiTk.js.map → runtime-vhKaBA0X.js.map} +1 -1
- package/dist/{structural-rollout-3uxVGcg2.js → structural-rollout-MCQU3KCv.js} +2 -2
- package/dist/{structural-rollout-3uxVGcg2.js.map → structural-rollout-MCQU3KCv.js.map} +1 -1
- package/dist/{supervise-iPN27pO0.js → supervise-D9Tivk-p.js} +5 -5
- package/dist/{supervise-iPN27pO0.js.map → supervise-D9Tivk-p.js.map} +1 -1
- package/dist/{supervisor-CV6Jh28D.js → supervisor-BI6Z-8Yi.js} +7 -3
- package/dist/supervisor-BI6Z-8Yi.js.map +1 -0
- package/dist/testing.js +11 -11
- package/dist/{tool-server-RcWgLIsL.js → tool-server-Gs3VvfSK.js} +22 -9
- package/dist/tool-server-Gs3VvfSK.js.map +1 -0
- package/package.json +2 -1
- package/dist/supervisor-CV6Jh28D.js.map +0 -1
- package/dist/tool-server-RcWgLIsL.js.map +0 -1
|
@@ -6838,14 +6838,16 @@ const bridgeExecutor = (spec, ctx) => {
|
|
|
6838
6838
|
const base = readSeam(ctx, bridgeSeamKey, "bridge");
|
|
6839
6839
|
const effectiveProfile = agentProfileSchema.parse(spec.profile);
|
|
6840
6840
|
const model = bridgeProfileModel(effectiveProfile, "bridgeExecutor");
|
|
6841
|
+
const profileExecution = profileModelExecutionSettings(effectiveProfile, "bridgeExecutor");
|
|
6841
6842
|
const seam = {
|
|
6842
6843
|
...base,
|
|
6843
|
-
model
|
|
6844
|
+
model,
|
|
6845
|
+
...profileExecution.maxTokens !== void 0 ? { maxTokens: profileExecution.maxTokens } : {}
|
|
6844
6846
|
};
|
|
6845
6847
|
if (!seam.bridgeUrl || !seam.bridgeBearer) throw new ValidationError("bridgeExecutor: bridgeUrl + bridgeBearer are required");
|
|
6846
6848
|
if (seam.timeoutMs !== void 0 && (!Number.isSafeInteger(seam.timeoutMs) || seam.timeoutMs < 1 || seam.timeoutMs > maxBridgeTimeoutMs)) throw new ValidationError(`bridgeExecutor: timeoutMs must be an integer from 1 to ${maxBridgeTimeoutMs}`);
|
|
6847
6849
|
if (seam.maxReconnects !== void 0 && (!Number.isSafeInteger(seam.maxReconnects) || seam.maxReconnects < 0)) throw new ValidationError("bridgeExecutor: maxReconnects must be a nonnegative safe integer");
|
|
6848
|
-
const maxTurns =
|
|
6850
|
+
const maxTurns = profileExecution.maxTurns ?? 0;
|
|
6849
6851
|
const maxReconnects = seam.maxReconnects ?? 3;
|
|
6850
6852
|
const sessionId = seam.sessionId ?? `bridge-${spec.profile.name ?? "worker"}-${randomUUID()}`;
|
|
6851
6853
|
const attemptId = ctx.node?.attemptId ?? newExecutionAttemptId(sessionId);
|
|
@@ -6887,6 +6889,7 @@ const bridgeExecutor = (spec, ctx) => {
|
|
|
6887
6889
|
maxReconnects,
|
|
6888
6890
|
timeoutMs: seam.timeoutMs ?? null,
|
|
6889
6891
|
streaming: true,
|
|
6892
|
+
...seam.maxTokens !== void 0 ? { maxTokens: seam.maxTokens } : {},
|
|
6890
6893
|
terminalAcknowledgement: null
|
|
6891
6894
|
}
|
|
6892
6895
|
};
|
|
@@ -7151,6 +7154,7 @@ async function* streamBridgeSession(args) {
|
|
|
7151
7154
|
run_id: activeRun.id,
|
|
7152
7155
|
session_id: args.sessionId,
|
|
7153
7156
|
...seam.cwd ? { cwd: seam.cwd } : {},
|
|
7157
|
+
...seam.maxTokens !== void 0 ? { max_tokens: seam.maxTokens } : {},
|
|
7154
7158
|
execution: {
|
|
7155
7159
|
kind: "host",
|
|
7156
7160
|
...seam.timeoutMs !== void 0 ? { timeoutMs: seam.timeoutMs } : {}
|
|
@@ -11932,4 +11936,4 @@ function isNonEmptySpend(s) {
|
|
|
11932
11936
|
//#endregion
|
|
11933
11937
|
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 };
|
|
11934
11938
|
|
|
11935
|
-
//# sourceMappingURL=supervisor-
|
|
11939
|
+
//# sourceMappingURL=supervisor-BI6Z-8Yi.js.map
|