@tangle-network/agent-runtime 0.263.0 → 0.264.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-DJlWM1JN.d.ts → activation-Bx4kfVU3.d.ts} +2 -2
- package/dist/{activation-D_sIIewf.js → activation-DHFdvps3.js} +2 -2
- package/dist/{activation-D_sIIewf.js.map → activation-DHFdvps3.js.map} +1 -1
- package/dist/agent.d.ts +2 -2
- package/dist/agent.js +2 -2
- package/dist/{coordination-driver-L9zH0kBx.js → coordination-driver-Bz-H17bC.js} +2 -2
- package/dist/{coordination-driver-L9zH0kBx.js.map → coordination-driver-Bz-H17bC.js.map} +1 -1
- package/dist/{delegate-Cv-w2WgY.js → delegate-CwbWhX5W.js} +2 -2
- package/dist/{delegate-Cv-w2WgY.js.map → delegate-CwbWhX5W.js.map} +1 -1
- package/dist/durable.d.ts +2 -2
- package/dist/durable.js +2 -2
- package/dist/{graph-Cusg4eAx.js → graph-5NrpTg0h.js} +3 -3
- package/dist/{graph-Cusg4eAx.js.map → graph-5NrpTg0h.js.map} +1 -1
- package/dist/{improvement-cycle-_IPwoII2.js → improvement-cycle-WRWcFyuO.js} +3 -3
- package/dist/{improvement-cycle-_IPwoII2.js.map → improvement-cycle-WRWcFyuO.js.map} +1 -1
- package/dist/{index-DLYBQFyl.d.ts → index-9wXpbjbX.d.ts} +6 -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-NWPIxiix.js → loop-runner-bin-DC1Lm0nM.js} +3 -3
- package/dist/{loop-runner-bin-NWPIxiix.js.map → loop-runner-bin-DC1Lm0nM.js.map} +1 -1
- package/dist/{loop-runner-bin-BL8--Dzr.d.ts → loop-runner-bin-DPewOZMn.d.ts} +3 -3
- 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-B9x50W9Y.d.ts → openai-tools-ByTMUJcD.d.ts} +2 -2
- package/dist/profiles.d.ts +2 -2
- package/dist/{provision-supervisor-CIKvsWDa.js → provision-supervisor-BZ6_uBGR.js} +3 -3
- package/dist/{provision-supervisor-CIKvsWDa.js.map → provision-supervisor-BZ6_uBGR.js.map} +1 -1
- package/dist/{runtime-4NuCVO6X.js → runtime-CUZC75EX.js} +8 -8
- package/dist/{runtime-4NuCVO6X.js.map → runtime-CUZC75EX.js.map} +1 -1
- package/dist/{server-BnYImvnx.js → server-KpdpN627.js} +3 -3
- package/dist/{server-BnYImvnx.js.map → server-KpdpN627.js.map} +1 -1
- package/dist/{stream-agent-turn-Y5rUc6Q-.d.ts → stream-agent-turn-D1zelVx6.d.ts} +2 -2
- package/dist/{structural-rollout-Bq3PNAun.js → structural-rollout-D17I5CwF.js} +2 -2
- package/dist/{structural-rollout-Bq3PNAun.js.map → structural-rollout-D17I5CwF.js.map} +1 -1
- package/dist/{substrate-Ce302oia.d.ts → substrate-qQphD9f0.d.ts} +2 -2
- package/dist/{supervise-RF3_8PuR.js → supervise-_DTVHXPC.js} +8 -3
- package/dist/supervise-_DTVHXPC.js.map +1 -0
- package/dist/{supervisor-BeW08Ncp.js → supervisor-C26k7X5-.js} +8 -4
- package/dist/{supervisor-BeW08Ncp.js.map → supervisor-C26k7X5-.js.map} +1 -1
- 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-C-nszovv.d.ts → types-BV14WTyW.d.ts} +14 -5
- package/package.json +2 -2
- package/dist/supervise-RF3_8PuR.js.map +0 -1
|
@@ -24512,6 +24512,7 @@ function driverChild(profile, driver, journal, execution, acceptedSubmission, re
|
|
|
24512
24512
|
const name = profile.name ?? driver.name;
|
|
24513
24513
|
const traceSource = driver.traceSource;
|
|
24514
24514
|
const progress = driver.progress;
|
|
24515
|
+
const harnessTranscript = driver.harnessTranscript?.bind(driver);
|
|
24515
24516
|
const spec = executableAgentSpecSnapshot({
|
|
24516
24517
|
profile,
|
|
24517
24518
|
harness: null,
|
|
@@ -24522,7 +24523,8 @@ function driverChild(profile, driver, journal, execution, acceptedSubmission, re
|
|
|
24522
24523
|
...acceptedSubmission ? { acceptedSubmission } : {},
|
|
24523
24524
|
...recoverExecutor ? { recoverExecutor } : {},
|
|
24524
24525
|
...traceSource ? { traceSource } : {},
|
|
24525
|
-
...progress ? { progress } : {}
|
|
24526
|
+
...progress ? { progress } : {},
|
|
24527
|
+
...harnessTranscript ? { harnessTranscript } : {}
|
|
24526
24528
|
}, "driverChild");
|
|
24527
24529
|
const deliver = driver.deliver?.bind(driver);
|
|
24528
24530
|
return {
|
|
@@ -24587,6 +24589,7 @@ const driverExecutorFactory = (rawSpec, ctx) => {
|
|
|
24587
24589
|
runtime: driverRuntime,
|
|
24588
24590
|
...spec.traceSource ? { traceSource: spec.traceSource } : {},
|
|
24589
24591
|
...spec.progress ? { progress: spec.progress } : {},
|
|
24592
|
+
...spec.harnessTranscript ? { harnessTranscript: spec.harnessTranscript } : {},
|
|
24590
24593
|
...deliver ? { deliver(message) {
|
|
24591
24594
|
return deliver(message) !== false;
|
|
24592
24595
|
} } : {},
|
|
@@ -24988,7 +24991,7 @@ var HarnessTurnFailedError = class extends Error {
|
|
|
24988
24991
|
}
|
|
24989
24992
|
};
|
|
24990
24993
|
/**
|
|
24991
|
-
* Machine codes that say the upstream
|
|
24994
|
+
* Machine codes that say the upstream cannot serve now rather than that the request is wrong.
|
|
24992
24995
|
* Each is a code an upstream publishes, not prose: the router's
|
|
24993
24996
|
* (`lib/model-substitution.ts`, `lib/upstream-error-triage.ts`) and the OpenAI- and Anthropic-shaped
|
|
24994
24997
|
* error types a relayed body carries.
|
|
@@ -24998,6 +25001,7 @@ const UNAVAILABLE_CODES = /* @__PURE__ */ new Set([
|
|
|
24998
25001
|
"provider_quota_exceeded",
|
|
24999
25002
|
"provider_rate_limit",
|
|
25000
25003
|
"upstream_unavailable",
|
|
25004
|
+
"provider_key_invalid",
|
|
25001
25005
|
"rate_limit_exceeded",
|
|
25002
25006
|
"rate_limit_error",
|
|
25003
25007
|
"overloaded_error"
|
|
@@ -25151,7 +25155,7 @@ function summarizeDriverAttempts(records) {
|
|
|
25151
25155
|
reprompts: records.filter((record) => record.reprompted === true).length,
|
|
25152
25156
|
failureRetries: records.filter((record) => record.error !== void 0 && record.retryInMs !== void 0 && record.classification !== "unavailable").length,
|
|
25153
25157
|
unavailablePauses: refused.filter((record) => record.retryInMs !== void 0).length,
|
|
25154
|
-
unavailableMs: refused.reduce((sum, record) => sum + record.durationMs + (record.retryInMs ?? 0), 0),
|
|
25158
|
+
unavailableMs: refused.reduce((sum, record) => sum + (record.madeProgress ? 0 : record.durationMs) + (record.retryInMs ?? 0), 0),
|
|
25155
25159
|
barrenReentries: barren,
|
|
25156
25160
|
ended: last?.stop ?? "unrecorded",
|
|
25157
25161
|
...last?.repromptRefusedBy === void 0 ? {} : { repromptRefusedBy: last.repromptRefusedBy }
|
|
@@ -26409,4 +26413,4 @@ function isNonEmptySpend(s) {
|
|
|
26409
26413
|
//#endregion
|
|
26410
26414
|
export { attachWorker as $, stringifySafe as $i, runAbortable as $n, sandboxActProfileMaterialization as $r, AUTHORITY_MARKERS as $t, settledToIteration as A, projectSandboxOutcome as Ai, canonicalObservedModelParts as An, runWorktreeHarness as Ar, replaySpawnTree as At, prepareScopeRetainedOwnerTask as B, notifySandboxEventObserver as Bi, sandboxSessionTraceSource as Bn, terminateProcessTreeAndConfirm as Br, newUsageTotals as Bt, deriveNodeExecutionIdentity as C, runtimeOwnedScopeOwnerRuntime as Ci, createSandboxLineage as Cn, toOtelAttributes as Cr, FileSpawnJournal as Ct, recordScopeOwnerPause as D, executableAgentSpecSnapshot as Di, readPromptOptions as Dn, sanitizeKnowledgeReadinessReport as Dr, loadSpawnForest as Dt, recordScopeOwnerMaterialization as E, executableAgentProfileSnapshot as Ei, assertBoxlessPromptOptions as En, sanitizeAgentRuntimeEvent as Er, insideCursorNamespace as Et, validateWaitSpec as F, createSandboxUsageLedger as Fi, providerAsSandboxClient as Fn, LOCAL_HARNESSES as Fr, workerTraceAnalysisStore as Ft, scopeRetainedOwnerResult as G, chargedTokens as Gi, startRetainedRun as Gn, fullProfileMaterialization as Gr, workerTraceEnv as Gt, scopeRetainedOwnerContext as H, sandboxProgressEvents as Hi, retainedExecutorSeamKey as Hn, assertProfileMaterialization as Hr, spendFromUsageTotals as Ht, waitUntil as I, extractLlmCallEvent as Ii, resolveAgentEnvironmentProvider as In, harnessSupportsReasoningEffort as Ir, BudgetReconcileFault as It, hostDirectoryReader as J, hasCompleteCacheBreakdown as Ji, destroyInteractiveEnvironment as Jn, promptModelProfileMaterialization as Jr, taskToPrompt as Jt, SPAWN_RESOURCE_PATH_MAX_BYTES as K, cloneSpend as Ki, startRetainedRunInEnvironment as Kn, profileMaterializationAxes$1 as Kr, workerTraceHeaders as Kt, bindScopeRetainedOwnerEnvironmentId as L, isSandboxTerminalEvent as Li, sandboxClientAsProvider as Ln, localHarnessExecutable as Lr, assertValidBudget as Lt, isWaitOutcome as M, assertSandboxServedModel as Mi, DEFAULT_SANDBOX_IDLE_TIMEOUT_SECONDS as Mn, createWorktree as Mr, captureWorkerTraceEvidence as Mt, pollFor as N, canonicalStreamEventFromSandboxEvent as Ni, createAgentEnvironmentProviderRegistry as Nn, removeWorktree as Nr, isTraceAnalysisStore as Nt, restoreScopeOwnerAcceptedExecution as O, detachedFrozen as Oi, routerBrain as On, sanitizeRuntimeStreamEvent as Or, materializeTreeView as Ot, timerAt as P, createSandboxToolPartState as Pi, providerAsExecutor as Pn, DEFAULT_LOCAL_HARNESS as Pr, parseWorkerToolTraceArtifact as Pt, workerInteractiveAdmissionFile as Q, sleep as Qi, linkAbort as Qn, renderUnsupported as Qr, createInbox as Qt, bindScopeRetainedOwnerProvider as R, mapSandboxEvent as Ri, createPushTraceSource as Rn, parseCodexTokenUsage as Rr, createBudgetPool as Rt, createScope as S, runtimeOwnedPendingExecutorMaterialization as Si, runAgentRounds as Sn, padTraceId as Sr, FileResultBlobStore as St, meterRuntimeOwnedProviderAttempt as T, unknownMaterializationReceipt as Ti, acquireSandbox as Tn, createRuntimeStreamEventCollector as Tr, InMemorySpawnJournal as Tt, scopeRetainedOwnerPriorSpend as U, sumSandboxUsage as Ui, reconnectRetainedRun as Un, controlProfileMaterialization as Ur, WORKER_TRACE_PROPAGATION as Ut, reconcileScopeRetainedOwnerEnvironment as V, sandboxEventServedBackend as Vi, registerRetainedExecutorPreparation as Vn, AGENT_PROFILE_MATERIALIZATION_AXES as Vr, spendFromUsageEvents as Vt, scopeRetainedOwnerResourceReader as W, addSpend as Wi, recoverRetainedRun as Wn, defineProfileMaterializationContract as Wr, readWorkerTraceContext as Wt, interactiveAdmissionSeamKey as X, promptCacheTokenClasses as Xi, RunCancellationReason as Xn, promptResourceProfileMaterialization as Xr, createActivityLog as Xt, resolveSpawnResourcePaths as Y, isAbortError$2 as Yi, environmentGone as Yn, promptOnlyProfileMaterialization as Yr, DEFAULT_STALL_AFTER_MS as Yt, readWorkerInteractiveAdmissions as Z, randomSuffix as Zi, abortError as Zn, renderProfileMaterializationIssues as Zr, readWorkerProgress as Zt, driverExecutorFactory as _, providerMessageText as _a, recordRuntimeOwnedDriveHarnessProviderEvidence as _i, bridgeStopSignalKey as _n, exportEvalRuns as _r, snapshotExecutorConfig as _t, pickBestDelivered as a, addResourceSpend as aa, prepareJsonlAppend as ai, peerMailTools as an, persistHarnessTranscript as ar, startRetainedInteractiveRun as at, assertRecursiveReservationPolicy as b, runtimeOwnedExecutorMaterialization as bi, defaultSelectWinner as bn, loopEventToOtelSpan as br, createSteerableSandboxSession as bt, DEFAULT_MAX_BARREN_REPROMPTS as c, decodeHarnessUsage as ca, attestRuntimeOwnedPendingExecutor as ci, isTerminalNodeStatus as cn, mergeTraceEnv as cr, freeSlots as ct, classifyDriverFailure as d, DEFAULT_SUCCESSFUL_SHUTDOWN_MS as da, finalizeRuntimeOwnedPendingExecutor as di, bridgeModelRouteRefusal as dn, INTELLIGENCE_WIRE_VERSION as dr, bindReusableExecutorExecutionId as dt, throwAbort as ea, unsupportedProfileDimensions as ei, DEFAULT_PEER_MAIL_LIMITS as en, defaultRedactor as er, readWorkerInteractiveBinding as et, defaultUnmetContractSteer as f, armDeadlineTimer as fa, inheritRuntimeOwnedExecutorAttestation as fi, addHarnessUsage as fn, buildLoopOtelSpans as fr, captureReusableExecutorConfig as ft, driverChild as g, promptOptionsFromAgentTurnInput as ga, providerAttemptEvidence as gi, bridgeRuntimeAttachmentsKey as gn, createOtelExporter as gr, createExecutorRegistry as gt, upstreamUnavailableSignal as h, promptFromAgentTurnInput as ha, newExecutionAttemptId as hi, readCodexRolloutSession as hn, createOpenInferenceFileExporter as hr, createExecutor as ht, collectDelivered as i, zeroSpend as ia, parseCommittedJsonLines as ii, isPeerMailEnvelope as in, harnessTranscriptArtifact as ir, recoverRetainedInteractiveRun as it, createWaitProbes as j, readSandboxOutcome as ji, observedModelMatchesDeclared as jn, captureWorktreeDiff as jr, WORKER_TOOL_TRACE_SCHEMA_VERSION as jt, scopeOwnerExecutorNodeContext as k, detachedSnapshot as ki, runBrainLoop as kn, runSettledCommand as kr, pendingWaits as kt, DriverAttemptsExhaustedError as l, abortError$2 as la, attestRuntimeOwnedScopeOwner as li, executorFailure as ln, readTraceContextFromEnv as lr, queueOf as lt, summarizeDriverAttempts as m, teardownSurfaces as ma, knownMaterializationReceipt as mi, harnessUsageIsEmpty as mn, buildRuntimeEventOtelSpans as mr, cliWorktreeExecutor as mt, createSupervisor as n, unmeteredSpend as na, worktreeCliProfileMaterialization as ni, claimsAuthority as nn, resolveRedactor as nr, workerInteractiveBindingsDir as nt, runFinalizer as o, resourceTelemetry as oa, readCommittedJsonLines as oi, peerMailVerbNames as on, contentAddress as or, errMessage as ot, runDriverWithRetry as p, teardownExecutor as pa, knownExecutionBindingReceipt as pi, createCodexRolloutStoreReader as pn, buildLoopSpanNodes as pr, cliInPlaceExecutor as pt, environmentReader as q, deleteBoxSafe as qi, retainedCreateMaterial as qn, promptControlProfileMaterialization as qr, workerTraceSeamKey as qt, bestDelivered as r, withTimeout as ra, isNoEntError as ri, createPeerMailbox as rn, captureHarnessTranscript as rr, reconnectRetainedInteractiveRun as rt, runTree as s, withBudgetResources as sa, writeAllBytes as si, isLiveNodeStatus as sn, createPropagatingTraceEmitter as sr, effectiveConcurrency as st, createRootHandle as t, throwIfAborted as ta, validateProfileMaterialization as ti, PEER_MAIL_WIRE_KEY as tn, defaultRedactorIdentityMaterial as tr, workerInteractiveBindingFile as tt, HarnessTurnFailedError as u, awaitAbortable$1 as ua, authoredProfileDigest as ui, bridgeAdmissionRefusal as un, traceContextToEnv as ur, rollingDispatch as ut, isDriverSpec as v, runtimeOwnedDriveHarnessProviderEvidence as vi, TERMINAL_DECISIONS as vn, flatOtelSpan as vr, createWorktreeCliExecutor as vt, meterRuntimeOwnedAccounting as w, unknownExecutionBindingReceipt as wi, probeSandboxCapabilities as wn, createRuntimeEventCollector as wr, InMemoryResultBlobStore as wt, beginScopeOwnerAttempt as x, runtimeOwnedExecutorProviderEvidence as xi, isTerminalDecision as xn, padSpanId as xr, createInPlaceCliExecutor as xt, withDriverExecutor as y, runtimeOwnedExecutorExecutionBinding as yi, createSandboxForSpec as yn, generateSpanId as yr, DEFAULT_SANDBOX_STEERING_MAX_TURNS as yt, consumeScopeRetainedOwnerResult as z, mapSandboxToolEvent as zi, decodeToolPart as zn, CodexExecutionDiagnosticError as zr, meterUsageEvent as zt };
|
|
26411
26415
|
|
|
26412
|
-
//# sourceMappingURL=supervisor-
|
|
26416
|
+
//# sourceMappingURL=supervisor-C26k7X5-.js.map
|