@tangle-network/agent-runtime 0.184.0 → 0.185.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-DrWfiqev.js → activation-h6zO-0Rd.js} +2 -2
- package/dist/{activation-DrWfiqev.js.map → activation-h6zO-0Rd.js.map} +1 -1
- package/dist/agent.js +2 -2
- package/dist/{authoring-BuiTFCaU.js → authoring-BNQKWhto.js} +2 -2
- package/dist/{authoring-BuiTFCaU.js.map → authoring-BNQKWhto.js.map} +1 -1
- package/dist/{coordination-driver-DeBJDK3d.js → coordination-driver-Dh_0SvXr.js} +2 -2
- package/dist/{coordination-driver-DeBJDK3d.js.map → coordination-driver-Dh_0SvXr.js.map} +1 -1
- package/dist/durable.js +1 -1
- package/dist/{environment-provider-C4elwcpo.js → environment-provider-6QtI-u5j.js} +18 -7
- package/dist/environment-provider-6QtI-u5j.js.map +1 -0
- package/dist/environment-provider.js +1 -1
- package/dist/{graph-eCLaYrD2.js → graph-VTmSuXNo.js} +2 -2
- package/dist/{graph-eCLaYrD2.js.map → graph-VTmSuXNo.js.map} +1 -1
- package/dist/graph.js +3 -3
- package/dist/{improvement-cycle-BnalCCbE.js → improvement-cycle-Cmpe5Uev.js} +3 -3
- package/dist/{improvement-cycle-BnalCCbE.js.map → improvement-cycle-Cmpe5Uev.js.map} +1 -1
- package/dist/index.js +7 -7
- package/dist/intelligence.js +4 -4
- package/dist/kernel.js +9 -9
- package/dist/{knowledge-DeB1HtZK.js → knowledge-SVRitzcp.js} +3 -3
- package/dist/{knowledge-DeB1HtZK.js.map → knowledge-SVRitzcp.js.map} +1 -1
- package/dist/knowledge.js +1 -1
- package/dist/{loop-runner-bin-DAN-QutS.js → loop-runner-bin-D2A4NfN7.js} +3 -3
- package/dist/{loop-runner-bin-DAN-QutS.js.map → loop-runner-bin-D2A4NfN7.js.map} +1 -1
- package/dist/loop-runner-bin.js +1 -1
- package/dist/mcp/bin.js +3 -3
- package/dist/mcp/index.js +5 -5
- package/dist/{openai-tools-Dy1Cquei.js → openai-tools-DCorsAv3.js} +2 -2
- package/dist/{openai-tools-Dy1Cquei.js.map → openai-tools-DCorsAv3.js.map} +1 -1
- package/dist/{provision-supervisor-D7pZC0Yf.js → provision-supervisor-ey6o68i7.js} +4 -4
- package/dist/{provision-supervisor-D7pZC0Yf.js.map → provision-supervisor-ey6o68i7.js.map} +1 -1
- package/dist/{runtime-c_txq11Z.js → runtime-C90NMh9Y.js} +9 -9
- package/dist/{runtime-c_txq11Z.js.map → runtime-C90NMh9Y.js.map} +1 -1
- package/dist/{structural-rollout-DIp3CKAo.js → structural-rollout-CsHxVoVH.js} +2 -2
- package/dist/{structural-rollout-DIp3CKAo.js.map → structural-rollout-CsHxVoVH.js.map} +1 -1
- package/dist/{supervise-8iDK6Mjz.js → supervise-rbZ-ppOC.js} +3 -3
- package/dist/{supervise-8iDK6Mjz.js.map → supervise-rbZ-ppOC.js.map} +1 -1
- package/dist/{supervisor-CKZR4Uaf.js → supervisor-DBUmrQsF.js} +3 -20
- package/dist/supervisor-DBUmrQsF.js.map +1 -0
- package/dist/testing.js +12 -12
- package/dist/tui/index.js +1 -1
- package/package.json +10 -10
- package/dist/environment-provider-C4elwcpo.js.map +0 -1
- package/dist/supervisor-CKZR4Uaf.js.map +0 -1
|
@@ -6,7 +6,7 @@ import { _ as unmeteredSpend, a as cloneTokenUsage, b as zeroTokenUsage, d as ra
|
|
|
6
6
|
import { _ as parseCodexUsageRecord, c as mapSandboxToolEvent, d as sandboxProgressEvents, h as parseCanonicalTransportEvent, i as createSandboxUsageLedger, l as notifySandboxEventObserver, m as extractTransportEventIdentity, r as createSandboxToolPartState, t as assertSandboxServedModel, u as sandboxEventServedBackend } from "./sandbox-events-DGXLxiuX.js";
|
|
7
7
|
import { n as executableAgentSpecSnapshot, r as projectSandboxOutcome, t as executableAgentProfileSnapshot } from "./executable-spec-CkGvdPds.js";
|
|
8
8
|
import { a as concreteProfileModel, c as profileModelExecutionSettings, d as agentHarness, o as enforceTokenLimits, s as profileBridgeWireModel, t as assertExecutableAgentProfile, u as resolveRouterRetryPolicy } from "./model-policy-Sw4ywhtL.js";
|
|
9
|
-
import { c as linkAbort, i as resolveAgentEnvironmentProvider, l as runAbortable, n as providerAsExecutor, r as providerAsSandboxClient, s as abortError$1 } from "./environment-provider-
|
|
9
|
+
import { c as linkAbort, i as resolveAgentEnvironmentProvider, l as runAbortable, n as providerAsExecutor, r as providerAsSandboxClient, s as abortError$1 } from "./environment-provider-6QtI-u5j.js";
|
|
10
10
|
import { i as notifyRuntimeHookEvent } from "./runtime-hooks-tXpAarhW.js";
|
|
11
11
|
import { n as assertNoSymlinkDescendant, r as publishExclusiveDurableFile } from "./durable-file-g3YdfEh4.js";
|
|
12
12
|
import { AGENT_PROFILE_MATERIALIZATION_AXES, AgentEnvironmentCapabilitiesSchema, AgentExactRunControlRefSchema, AgentInteractiveSessionControlClaimAcknowledgementSchema, AgentInteractiveSessionControlClaimSchema, AgentInteractiveSessionPromptAcknowledgementSchema, AgentInteractiveSessionRefSchema, AgentInteractiveSessionStatusSchema, AgentInteractiveSessionStopAcknowledgementSchema, AgentNativeContextContinuationResultSchema, AgentTurnInputSchema, AgentTurnResultSchema, ContextTransferRequestSchema, InteractionAcknowledgementSchema, InteractionResponseCommandSchema, NativeContextBoundaryProofSchema, NativeContextContinuationRequestSchema, REASONING_EFFORTS, RuntimeEventEnvelopeSchema, TerminalReplayWindowSchema, TerminalSessionRefSchema, agentInteractiveSessionControlClaimAcknowledgementMatchesRequest, agentInteractiveSessionControlClaimMatchesRef, agentInteractiveSessionPromptAcknowledgementMatchesCommand, agentInteractiveSessionRefMatchesStart, agentInteractiveSessionRunRef, agentInteractiveSessionStatusMatchesRef, agentInteractiveSessionStopAcknowledgementMatchesCommand, agentNativeContextContinuationResultMatchesRequest, agentProfileSchema, canonicalAgentProfileDigest, canonicalCandidateDigest, exactAgentInteractiveSessionStart, harnessTypeSchema, nativeContextContinuationTurnDigest, nativeReasoningControl, profileMaterializationAxes, profileMaterializationAxes as profileMaterializationAxes$1, renderInputPartsAsText, sha256DigestSchema } from "@tangle-network/agent-interface";
|
|
@@ -11886,16 +11886,6 @@ function assertRetainedCapabilityRequirements(providerName, capabilities) {
|
|
|
11886
11886
|
if (retained?.exactRunIdentity !== true || retained.resultIdentity !== true || retained.eventIdentity !== true || retained.cancellationIdempotency !== true || !capabilities.streaming.detach || !capabilities.streaming.replay || !capabilities.streaming.turnIdempotency) throw new Error(`provider "${providerName}" cannot control a retry-safe retained run`);
|
|
11887
11887
|
}
|
|
11888
11888
|
//#endregion
|
|
11889
|
-
//#region src/runtime/workspace-cwd.ts
|
|
11890
|
-
/**
|
|
11891
|
-
* Resolve the one provider-owned cwd that an interactive retained start must use.
|
|
11892
|
-
* Runtime preserves this provider string and does not interpret its path syntax.
|
|
11893
|
-
*/
|
|
11894
|
-
function effectiveWorkspaceCwd(explicitCwd, workspaceCwd) {
|
|
11895
|
-
if (explicitCwd !== void 0 && workspaceCwd !== void 0 && explicitCwd !== workspaceCwd) throw new Error("retained interactive cwd conflicts with environment.workspace.cwd");
|
|
11896
|
-
return explicitCwd ?? workspaceCwd;
|
|
11897
|
-
}
|
|
11898
|
-
//#endregion
|
|
11899
11889
|
//#region src/runtime/retained-interactive.ts
|
|
11900
11890
|
/**
|
|
11901
11891
|
* Start one retry-safe native coding-agent TUI without dispatching a headless turn.
|
|
@@ -11905,7 +11895,7 @@ function effectiveWorkspaceCwd(explicitCwd, workspaceCwd) {
|
|
|
11905
11895
|
*/
|
|
11906
11896
|
async function startRetainedInteractiveRun(options) {
|
|
11907
11897
|
options.signal?.throwIfAborted();
|
|
11908
|
-
const startOptions =
|
|
11898
|
+
const startOptions = options;
|
|
11909
11899
|
assertStableText(startOptions.environment.idempotencyKey, "environment idempotency key");
|
|
11910
11900
|
assertStableText(startOptions.interactiveIdempotencyKey, "interactive idempotency key");
|
|
11911
11901
|
if (typeof startOptions.onAdmission !== "function") throw new Error("startRetainedInteractiveRun requires an awaited onAdmission durability hook");
|
|
@@ -12001,13 +11991,6 @@ async function reconnectRetainedInteractiveRun(options) {
|
|
|
12001
11991
|
await handle.status({ signal: options.signal });
|
|
12002
11992
|
return handle;
|
|
12003
11993
|
}
|
|
12004
|
-
function resolveRetainedInteractiveStart(options) {
|
|
12005
|
-
const cwd = effectiveWorkspaceCwd(options.cwd, options.environment.workspace?.cwd);
|
|
12006
|
-
return {
|
|
12007
|
-
...options,
|
|
12008
|
-
...cwd === void 0 ? {} : { cwd }
|
|
12009
|
-
};
|
|
12010
|
-
}
|
|
12011
11994
|
function interactiveRequest(options, environment, profile, requestedProfileDigest, identity) {
|
|
12012
11995
|
const start = {
|
|
12013
11996
|
profile,
|
|
@@ -15556,4 +15539,4 @@ function isNonEmptySpend(s) {
|
|
|
15556
15539
|
//#endregion
|
|
15557
15540
|
export { bridgeModelRouteRefusal as $, INTELLIGENCE_WIRE_VERSION as $t, readWorkerInteractiveBinding as A, controlProfileMaterialization as An, peerMailVerbNames as At, retainedCreateMaterial as B, sandboxActProfileMaterialization as Bn, createSandboxLineage as Bt, timerAt as C, LOCAL_HARNESSES as Cn, AUTHORITY_MARKERS as Ct, readWorkerInteractiveAdmissions as D, CodexExecutionDiagnosticError as Dn, createPeerMailbox as Dt, interactiveAdmissionSeamKey as E, parseCodexTokenUsage as En, claimsAuthority as Et, startRetainedInteractiveRun as F, promptModelProfileMaterialization as Fn, TERMINAL_DECISIONS as Ft, rollingDispatch as G, routerBrain as Gt, effectiveConcurrency as H, validateProfileMaterialization as Hn, acquireSandbox as Ht, reconnectRetainedRun as I, promptOnlyProfileMaterialization as In, createSandboxForSpec as It, assertValidBudget as J, observedModelMatchesDeclared as Jt, DEFAULT_SUCCESSFUL_SHUTDOWN_MS as K, runBrainLoop as Kt, recoverRetainedRun as L, promptResourceProfileMaterialization as Ln, defaultSelectWinner as Lt, workerInteractiveBindingsDir as M, fullProfileMaterialization as Mn, isTerminalNodeStatus as Mt, reconnectRetainedInteractiveRun as N, profileMaterializationAxes$1 as Nn, createInPlaceCliExecutor as Nt, workerInteractiveAdmissionFile as O, AGENT_PROFILE_MATERIALIZATION_AXES as On, isPeerMailEnvelope as Ot, recoverRetainedInteractiveRun as P, promptControlProfileMaterialization as Pn, taskToPrompt as Pt, bridgeAdmissionRead as Q, traceContextToEnv as Qt, startRetainedRun as R, renderProfileMaterializationIssues as Rn, isTerminalDecision as Rt, pollFor as S, DEFAULT_LOCAL_HARNESS as Sn, createInbox as St, waitUntil as T, localHarnessExecutable as Tn, PEER_MAIL_WIRE_KEY as Tt, freeSlots as U, worktreeCliProfileMaterialization as Un, assertBoxlessPromptOptions as Ut, destroyInteractiveEnvironment as V, unsupportedProfileDimensions as Vn, probeSandboxCapabilities as Vt, queueOf as W, readPromptOptions as Wt, spendFromUsageEvents as X, mergeTraceEnv as Xt, createBudgetPool as Y, createPropagatingTraceEmitter as Yt, bindReusableExecutorExecutionId as Z, readTraceContextFromEnv as Zt, recordScopeOwnerMaterialization as _, runSettledCommand as _n, decodeToolPart as _t, uncertainSpawnBudgets as a, exportEvalRuns as an, createExecutor as at, createWaitProbes as b, createWorktree as bn, createActivityLog as bt, pickBestDelivered as c, loopEventToOtelSpan as cn, createWorktreeCliExecutor as ct, driverChild as d, toOtelAttributes as dn, workerTraceEnv as dt, buildLoopOtelSpans as en, bridgeRuntimeAttachmentsKey as et, withDriverExecutor as f, createRuntimeEventCollector as fn, workerTraceHeaders as ft, meterRuntimeOwnedProviderAttempt as g, sanitizeRuntimeStreamEvent as gn, createPushTraceSource as gt, meterRuntimeOwnedAccounting as h, sanitizeKnowledgeReadinessReport as hn, createSteerableSandboxSession as ht, sumMeasuredSpendFromEvents as i, createOtelExporter as in, cliWorktreeExecutor as it, workerInteractiveBindingFile as j, defineProfileMaterializationContract as jn, isLiveNodeStatus as jt, attachWorker as k, assertProfileMaterialization as kn, peerMailTools as kt, runFinalizer as l, padSpanId as ln, WORKER_TRACE_PROPAGATION as lt, deriveNodeExecutionIdentity as m, sanitizeAgentRuntimeEvent as mn, DEFAULT_SANDBOX_STEERING_MAX_TURNS as mt, createSupervisor as n, buildRuntimeEventOtelSpans as nn, captureReusableExecutorConfig as nt, bestDelivered as o, flatOtelSpan as on, createExecutorRegistry as ot, createScope as p, createRuntimeStreamEventCollector as pn, workerTraceSeamKey as pt, teardownExecutor as q, canonicalObservedModel as qt, maxSeqOf as r, createOpenInferenceFileExporter as rn, cliInPlaceExecutor as rt, collectDelivered as s, generateSpanId as sn, snapshotExecutorConfig as st, createRootHandle as t, buildLoopSpanNodes as tn, bridgeStopSignalKey as tt, runTree as u, padTraceId as un, readWorkerTraceContext as ut, scopeOwnerExecutorNodeContext as v, runWorktreeHarness as vn, sandboxSessionTraceSource as vt, validateWaitSpec as w, harnessSupportsReasoningEffort as wn, DEFAULT_PEER_MAIL_LIMITS as wt, isWaitOutcome as x, removeWorktree as xn, readWorkerProgress as xt, settledToIteration as y, captureWorktreeDiff as yn, DEFAULT_STALL_AFTER_MS as yt, startRetainedRunInEnvironment as z, renderUnsupported as zn, runAgentRounds as zt };
|
|
15558
15541
|
|
|
15559
|
-
//# sourceMappingURL=supervisor-
|
|
15542
|
+
//# sourceMappingURL=supervisor-DBUmrQsF.js.map
|