@tangle-network/agent-runtime 0.131.3 → 0.131.4

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.
Files changed (32) hide show
  1. package/dist/{activation-CrVCSWLi.js → activation-Dj_M4QiT.js} +2 -2
  2. package/dist/{activation-CrVCSWLi.js.map → activation-Dj_M4QiT.js.map} +1 -1
  3. package/dist/agent.js +2 -2
  4. package/dist/{authoring-tkyJHE0o.js → authoring-Bxlrj57J.js} +2 -2
  5. package/dist/{authoring-tkyJHE0o.js.map → authoring-Bxlrj57J.js.map} +1 -1
  6. package/dist/{graph-RVorX4TM.js → graph-2jIp3YIw.js} +2 -2
  7. package/dist/{graph-RVorX4TM.js.map → graph-2jIp3YIw.js.map} +1 -1
  8. package/dist/{improvement-cycle-CSprJl2t.js → improvement-cycle-DPXRULfN.js} +3 -3
  9. package/dist/{improvement-cycle-CSprJl2t.js.map → improvement-cycle-DPXRULfN.js.map} +1 -1
  10. package/dist/index.js +7 -7
  11. package/dist/intelligence.js +3 -3
  12. package/dist/kernel.js +6 -6
  13. package/dist/{knowledge-DqcVhYYF.js → knowledge-C7Gly1cw.js} +3 -3
  14. package/dist/{knowledge-DqcVhYYF.js.map → knowledge-C7Gly1cw.js.map} +1 -1
  15. package/dist/knowledge.js +1 -1
  16. package/dist/{loop-runner-bin-BXdUq87C.js → loop-runner-bin-Bt9qFNkq.js} +3 -3
  17. package/dist/{loop-runner-bin-BXdUq87C.js.map → loop-runner-bin-Bt9qFNkq.js.map} +1 -1
  18. package/dist/loop-runner-bin.js +1 -1
  19. package/dist/mcp/bin.js +3 -3
  20. package/dist/mcp/index.js +4 -4
  21. package/dist/{openai-tools-CPhN7uKC.js → openai-tools-U-hmk_yS.js} +2 -2
  22. package/dist/{openai-tools-CPhN7uKC.js.map → openai-tools-U-hmk_yS.js.map} +1 -1
  23. package/dist/{runtime-B4z0Z1sM.js → runtime-BG6VzXf0.js} +6 -6
  24. package/dist/{runtime-B4z0Z1sM.js.map → runtime-BG6VzXf0.js.map} +1 -1
  25. package/dist/{structural-rollout-UO3ue9OI.js → structural-rollout-C5iljirr.js} +2 -2
  26. package/dist/{structural-rollout-UO3ue9OI.js.map → structural-rollout-C5iljirr.js.map} +1 -1
  27. package/dist/{supervise-BVNSL3N0.js → supervise-eOjGprUt.js} +2 -2
  28. package/dist/{supervise-BVNSL3N0.js.map → supervise-eOjGprUt.js.map} +1 -1
  29. package/dist/{supervisor-D4G47raS.js → supervisor-BHS7T4HN.js} +8 -2
  30. package/dist/{supervisor-D4G47raS.js.map → supervisor-BHS7T4HN.js.map} +1 -1
  31. package/dist/testing.js +11 -11
  32. package/package.json +1 -1
@@ -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-D4G47raS.js.map
12029
+ //# sourceMappingURL=supervisor-BHS7T4HN.js.map