@tangle-network/agent-runtime 0.217.2 → 0.218.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-DGj9G2yE.js → activation-BLKHwI65.js} +2 -2
- package/dist/{activation-DGj9G2yE.js.map → activation-BLKHwI65.js.map} +1 -1
- package/dist/{activation-D5bSCvRA.d.ts → activation-D-YAPCtn.d.ts} +2 -2
- package/dist/agent.d.ts +1 -1
- package/dist/agent.js +2 -2
- package/dist/{coordination-driver-yaK8G6xJ.js → coordination-driver-DVzm7Tlo.js} +2 -2
- package/dist/{coordination-driver-yaK8G6xJ.js.map → coordination-driver-DVzm7Tlo.js.map} +1 -1
- package/dist/{delegate-C7VG1TYq.js → delegate-DoejjUdz.js} +2 -2
- package/dist/{delegate-C7VG1TYq.js.map → delegate-DoejjUdz.js.map} +1 -1
- package/dist/durable.d.ts +8 -2
- package/dist/durable.js +4 -2
- package/dist/durable.js.map +1 -1
- package/dist/{graph-qQmOHVc3.js → graph-CAi1I_2o.js} +4 -3
- package/dist/graph-CAi1I_2o.js.map +1 -0
- package/dist/{improvement-cycle-CAIv8aB8.js → improvement-cycle-DAMh1H6T.js} +3 -3
- package/dist/{improvement-cycle-CAIv8aB8.js.map → improvement-cycle-DAMh1H6T.js.map} +1 -1
- package/dist/{index-XlvRo6ys.d.ts → index-DjgcOl1K.d.ts} +16 -5
- package/dist/index.d.ts +4 -4
- package/dist/index.js +7 -7
- package/dist/intelligence.d.ts +2 -2
- package/dist/intelligence.js +3 -3
- package/dist/kernel.d.ts +3 -3
- package/dist/kernel.js +9 -9
- package/dist/{loop-runner-bin-su5-oyU1.js → loop-runner-bin-B0O51XXu.js} +3 -3
- package/dist/{loop-runner-bin-su5-oyU1.js.map → loop-runner-bin-B0O51XXu.js.map} +1 -1
- package/dist/{loop-runner-bin-C4hZxGiX.d.ts → loop-runner-bin-BACjC-lm.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 +2 -2
- package/dist/mcp/index.js +4 -4
- package/dist/{provision-supervisor-DviRl_a5.js → provision-supervisor-B7k56EGS.js} +3 -3
- package/dist/{provision-supervisor-DviRl_a5.js.map → provision-supervisor-B7k56EGS.js.map} +1 -1
- package/dist/{runtime-DoeK2k20.js → runtime-D7cA__Lw.js} +8 -8
- package/dist/{runtime-DoeK2k20.js.map → runtime-D7cA__Lw.js.map} +1 -1
- package/dist/{server-COJLaFTK.js → server-N09ZChmr.js} +3 -3
- package/dist/{server-COJLaFTK.js.map → server-N09ZChmr.js.map} +1 -1
- package/dist/{stream-agent-turn-DPv9w25U.d.ts → stream-agent-turn-DSrEMRwR.d.ts} +89 -2
- package/dist/{structural-rollout-CffrdFuX.js → structural-rollout-DLdNDY6d.js} +2 -2
- package/dist/{structural-rollout-CffrdFuX.js.map → structural-rollout-DLdNDY6d.js.map} +1 -1
- package/dist/{supervise-Bl5eBJhb.js → supervise-uUAqm_kQ.js} +126 -8
- package/dist/supervise-uUAqm_kQ.js.map +1 -0
- package/dist/{supervisor-CvF_KeLc.js → supervisor-CUlzJ5IO.js} +225 -42
- package/dist/supervisor-CUlzJ5IO.js.map +1 -0
- 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/package.json +1 -1
- package/dist/graph-qQmOHVc3.js.map +0 -1
- package/dist/supervise-Bl5eBJhb.js.map +0 -1
- package/dist/supervisor-CvF_KeLc.js.map +0 -1
|
@@ -1354,6 +1354,19 @@ interface Executor<Out> {
|
|
|
1354
1354
|
* Local executors keep the short default; remote executors may need bounded network time.
|
|
1355
1355
|
*/
|
|
1356
1356
|
teardownTimeoutMs?: number;
|
|
1357
|
+
/**
|
|
1358
|
+
* Optional release of a RETAINED execution that no later process will recover.
|
|
1359
|
+
*
|
|
1360
|
+
* `teardown` keeps a pending retained execution's environment alive by construction: the paid
|
|
1361
|
+
* work inside it is what a resumed run reconciles. Once the root has reached its own terminal
|
|
1362
|
+
* outcome nothing will, and the environment is a leak — measured 2026-09-11, four settled runs
|
|
1363
|
+
* held 18 of a 60-slot fleet for 19 to 37 hours this way. The supervisor calls this at root
|
|
1364
|
+
* settlement, never on a resumable interruption (an explicit cancellation, a process crash), and
|
|
1365
|
+
* journals one `environment-teardown` receipt per environment returned. `signal` bounds the
|
|
1366
|
+
* attempt; an executor that holds no retained execution answers with no receipts. After a
|
|
1367
|
+
* `destroyed: true` receipt the executor's `teardown` must answer `destroyed: true` as well.
|
|
1368
|
+
*/
|
|
1369
|
+
releaseRetained?(signal: AbortSignal): Promise<ReadonlyArray<EnvironmentTeardownReceipt>>;
|
|
1357
1370
|
/**
|
|
1358
1371
|
* The replay source (B1): the content-addressed `outRef` + the materialized output the
|
|
1359
1372
|
* driver branched on, its verdict, and the conserved spend. Read once, after settle.
|
|
@@ -1498,6 +1511,21 @@ interface ExecutorTeardownWarning {
|
|
|
1498
1511
|
/** ISO timestamp of the failed attempt. */
|
|
1499
1512
|
readonly at: string;
|
|
1500
1513
|
}
|
|
1514
|
+
/**
|
|
1515
|
+
* The receipt for one provider environment an executor held for a RETAINED execution and was
|
|
1516
|
+
* asked to release at root settlement (see {@link Executor.releaseRetained}). One receipt per
|
|
1517
|
+
* environment, naming the provider's own id, so a fleet listing can be reconciled against what
|
|
1518
|
+
* the run says it released. `destroyed: false` carries why in `detail`.
|
|
1519
|
+
*/
|
|
1520
|
+
interface EnvironmentTeardownReceipt {
|
|
1521
|
+
readonly provider: string;
|
|
1522
|
+
/** The provider-issued environment id — the same id the `execution-admitted` record carries. */
|
|
1523
|
+
readonly environmentId: string;
|
|
1524
|
+
readonly destroyed: boolean;
|
|
1525
|
+
/** Why the environment could not be proven destroyed; present exactly when `destroyed` is
|
|
1526
|
+
* false. */
|
|
1527
|
+
readonly detail?: string;
|
|
1528
|
+
}
|
|
1501
1529
|
/**
|
|
1502
1530
|
* Normalized usage event — the single channel every executor reports through, so the
|
|
1503
1531
|
* conserved pool meters all runtimes identically. `tokens` carries `LoopTokenUsage`'s
|
|
@@ -2491,6 +2519,23 @@ type SpawnEvent = {
|
|
|
2491
2519
|
status: NodeStatus;
|
|
2492
2520
|
seq: number;
|
|
2493
2521
|
at: string;
|
|
2522
|
+
} | {
|
|
2523
|
+
/** One provider environment a settled retained-pending child held, released at root
|
|
2524
|
+
* settlement — or not. The run had reached a terminal outcome no later process resumes, so
|
|
2525
|
+
* the environment its executor kept for recovery could never be recovered; this is the
|
|
2526
|
+
* receipt of the supervisor's release, one per environment, naming the provider's own id
|
|
2527
|
+
* so a fleet listing can be reconciled against it. A `destroyed: false` receipt carries why
|
|
2528
|
+
* in `detail`, and the node is then also journaled as `teardown-unconfirmed`.
|
|
2529
|
+
* Informational: replay, `materializeTreeView`, and cost readers skip it, and its `seq` is
|
|
2530
|
+
* per node, outside the cursor-uniqueness namespace. */
|
|
2531
|
+
kind: 'environment-teardown';
|
|
2532
|
+
id: NodeId;
|
|
2533
|
+
provider: string;
|
|
2534
|
+
environmentId: string;
|
|
2535
|
+
destroyed: boolean;
|
|
2536
|
+
detail?: string;
|
|
2537
|
+
seq: number;
|
|
2538
|
+
at: string;
|
|
2494
2539
|
} | {
|
|
2495
2540
|
/** One GRAPH-EDGE traversal (`runGraph`): what the runtime actually DELIVERED across a
|
|
2496
2541
|
* delegates/analyzes edge, with byte counts — the observability that makes an edge's
|
|
@@ -2623,6 +2668,24 @@ interface SupervisorOpts {
|
|
|
2623
2668
|
* @experimental
|
|
2624
2669
|
*/
|
|
2625
2670
|
readonly resume?: boolean;
|
|
2671
|
+
/**
|
|
2672
|
+
* What root settlement does with a provider environment that a settled child still holds for a
|
|
2673
|
+
* RETAINED execution (`Executor.releaseRetained`). Such a child settles `down` with its cursor
|
|
2674
|
+
* slot open and its environment alive, because a later process that resumes this run reconciles
|
|
2675
|
+
* the paid execution inside it.
|
|
2676
|
+
*
|
|
2677
|
+
* - `'release'`: the run will not be resumed, so nothing would ever reconcile or release those
|
|
2678
|
+
* environments. The join barrier releases each one and journals an `environment-teardown`
|
|
2679
|
+
* receipt per environment. Measured 2026-09-11: four settled runs held 18 of a 60-slot
|
|
2680
|
+
* Sandbox fleet for 19 to 37 hours without it.
|
|
2681
|
+
* - `'keep'`: a later process may resume this run, so the environments stay for its recovery.
|
|
2682
|
+
*
|
|
2683
|
+
* Default: `'keep'` when `resume` is true (a durable run a later process may continue), else
|
|
2684
|
+
* `'release'`. A caller that owns finality says so: `supervisePursuit` records a settle record
|
|
2685
|
+
* that refuses re-entry, so it always releases. A process crash never reaches settlement, so it
|
|
2686
|
+
* releases nothing under either value.
|
|
2687
|
+
*/
|
|
2688
|
+
readonly retainedAtSettlement?: 'release' | 'keep';
|
|
2626
2689
|
readonly now?: () => number;
|
|
2627
2690
|
readonly signal?: AbortSignal;
|
|
2628
2691
|
/** Lifecycle stream sink, threaded into the root `Scope` so every `spawn`/settle emits on the
|
|
@@ -3727,7 +3790,31 @@ interface SandboxClientProviderOptions {
|
|
|
3727
3790
|
/** Map portable creation into a supported SDK or deployment contract. Runtime attachments
|
|
3728
3791
|
* require this explicit mapper until the maintained Sandbox SDK transports them. */
|
|
3729
3792
|
mapCreateInput?: (input: CreateAgentEnvironmentInput) => CreateSandboxOptions;
|
|
3793
|
+
/**
|
|
3794
|
+
* `idleTimeoutSeconds` sent on every Sandbox create this adapter makes (a mapped create, a
|
|
3795
|
+
* `mapCreateInput` result, or a fork), unless those create options already name one. Defaults to
|
|
3796
|
+
* {@link DEFAULT_SANDBOX_IDLE_TIMEOUT_SECONDS}; a positive whole number of seconds.
|
|
3797
|
+
*/
|
|
3798
|
+
idleTimeoutSeconds?: number;
|
|
3730
3799
|
}
|
|
3800
|
+
/**
|
|
3801
|
+
* The idle timeout this adapter sends when nothing else names one: 1,800 seconds.
|
|
3802
|
+
*
|
|
3803
|
+
* Sandbox substitutes no value of its own: an omitted field falls back to the platform's global
|
|
3804
|
+
* idle timeout, documented as 30 minutes unless an operator changed it, and Runtime sent none. Idle
|
|
3805
|
+
* means inactivity to Sandbox, which suspends the sandbox (the container stops; the workspace is
|
|
3806
|
+
* kept) rather than deleting it. The SDK does not define inactivity further. A request in flight
|
|
3807
|
+
* counts as activity: a Discovery Lab seat created with `idleTimeoutSeconds: 1800` ran one request
|
|
3808
|
+
* to 2,252 seconds, ended by a per-request cap, not by idling (fleet-launch-2026-08-22).
|
|
3809
|
+
*
|
|
3810
|
+
* The value restates the documented default, so it can tighten a longer operator setting but never
|
|
3811
|
+
* loosen the default. It is 3.8 times the longest gap between frames recorded across a healthy
|
|
3812
|
+
* fleet run (469 seconds, same report), and a supervised provider child is observed through an open
|
|
3813
|
+
* stream for its whole turn. It is a backstop for a process that dies holding an environment; the
|
|
3814
|
+
* settlement barrier releases retained environments itself (`Executor.releaseRetained`). It does
|
|
3815
|
+
* nothing on a driver with a create/delete-only lifecycle, which the SDK says skips suspension.
|
|
3816
|
+
*/
|
|
3817
|
+
declare const DEFAULT_SANDBOX_IDLE_TIMEOUT_SECONDS = 1800;
|
|
3731
3818
|
/**
|
|
3732
3819
|
* Adapt a `SandboxClient` into the shared `AgentEnvironmentProvider` contract.
|
|
3733
3820
|
* The provider declares the public SDK contract before it creates an environment.
|
|
@@ -4872,5 +4959,5 @@ declare function streamAgentTurn(backend: AgentTurnBackend, input: AgentTurnInpu
|
|
|
4872
4959
|
*/
|
|
4873
4960
|
declare function collectAgentTurn(stream: AsyncIterable<RuntimeStreamEvent>): Promise<CollectedAgentTurn>;
|
|
4874
4961
|
//#endregion
|
|
4875
|
-
export { decodeHarnessUsage as $,
|
|
4876
|
-
//# sourceMappingURL=stream-agent-turn-
|
|
4962
|
+
export { decodeHarnessUsage as $, RetainedRunAdmissionHook as $a, RuntimeTelemetryOptions as $i, McpTransport as $n, SpendChannel as $r, WorktreeCheckRunner as $t, createInbox as A, ScopeProgressInput as Aa, EvalRunsExportResult as Ai, ToolLoopMessageRecord as An, NodeSnapshot as Ar, CreateAgentEnvironmentInput$1 as At, secretEnvOfMcpServer as B, StartRetainedInteractiveRunOptions as Ba, buildRuntimeEventOtelSpans as Bi, PeerMailReadout as Bn, RootHandle as Br, ResourceRequest as Bt, SteerableSandboxArgs as C, createPushTraceSource as Ca, createPropagatingTraceEmitter as Ci, runLocalHarness as Cn, spendFromUsageEvents as Co, ExecutorToolCall as Cr, AgentProfileRef$1 as Ct, Inbox as D, ActivityNote as Da, EvalRunEvent as Di, ToolLoopChat as Dn, NoWinnerError as Dr, AgentTurnResult$2 as Dt, AuthorityInboxMessage as E, ActivityLog as Ea, traceContextToEnv as Ei, ToolLoopCallContext as En, MaterializedModelIdentity as Er, AgentSessionStatus$1 as Et, ResolvedMcpServerLaunch as F, RecoverRetainedInteractiveRunOptions as Fa, OtelExporter as Fi, PeerMailEnvelope as Fn, ResourceLimit as Fr, PlacementInfo as Ft, CodexRolloutStoreRef as G, RecoverRetainedRunIntentOptions as Ga, loopEventToOtelSpan as Gi, claimsAuthority as Gn, Scope as Gr, providerAsSandboxClient as Gt, CodexRolloutIdentity as H, NativeContextContinuationHandle as Ha, createOtelExporter as Hi, PeerMailSendInput as Hn, RootProviderModelEvidence as Hr, WorkspaceRequest as Ht, envKeyProvider as I, RetainedInteractiveAdmissionHook as Ia, OtelSpan as Ii, PeerMailEvent as In, ResourceSpend as Ir, ProviderAsSandboxClientOptions as It, addHarnessUsage as J, RetainedInteractiveAdmission as Ja, toOtelAttributes as Ji, peerMailTools as Jn, SpawnJournal as Jr, CreateTangleSandboxExactProcessProviderOptions as Jt, CodexRolloutTurn as K, RecoverRetainedRunOptions as Ka, padSpanId as Ki, createPeerMailbox as Kn, Settled as Kr, resolveAgentEnvironmentProvider as Kt, mcpSecretEnvMetadataKey as L, RetainedInteractiveEnvironmentInput as La, RuntimeEventOtelOptions as Li, PeerMailKind as Ln, ResultBlobStore as Lr, ProviderExecutorOptions as Lt, BridgeModelCredential as M, createActivityLog as Ma, LoopSpanNode as Mi, AUTHORITY_MARKERS as Mn, ProfileMaterializationReceipt as Mr, ExecRequest as Mt, BridgeSeam as N, readWorkerProgress as Na, OtelAttribute as Ni, DEFAULT_PEER_MAIL_LIMITS as Nn, ProviderModelAttemptEvidence as Nr, ExecResult as Nt, InboxMessage as O, DEFAULT_STALL_AFTER_MS as Oa, EvalRunGeneration as Oi, ToolLoopCompaction as On, NodeExecutionIdentity as Or, CheckpointRef as Ot, KeyProvider as P, ReconnectRetainedInteractiveRunOptions as Pa, OtelExportConfig as Pi, PEER_MAIL_WIRE_KEY as Pn, ProviderModelExecutionEvidence as Pr, ForkRequest as Pt, HarnessUsage as Q, RetainedRunAdmission as Qa, RuntimeStreamEventSummary as Qi, McpToolDescriptor as Qn, Spend as Qr, InPlaceHarnessResult as Qt, resolveMcpServerLaunch as R, RetainedInteractiveRunHandle as Ra, buildLoopOtelSpans as Ri, PeerMailLimits as Rn, ResumedKeyState as Rr, ProviderLeafOut as Rt, SandboxSteeringOptions as S, TraceSource as Sa, TraceContext as Si, parseCodexTokenUsage as Sn, createBudgetPool as So, ExecutorTeardownWarning as Sr, AgentEnvironmentSummary as St, createSteerableSandboxSession as T, sandboxSessionTraceSource as Ta, readTraceContextFromEnv as Ti, ToolSpec as Tn, MaterializedExecutionIdentity as Tr, AgentSessionRef as Tt, CodexRolloutSession as U, NativeContextContinuationInput as Ua, exportEvalRuns as Ui, PeerMailbox as Un, RootSignal as Ur, createAgentEnvironmentProviderRegistry as Ut, CodexForkBoundary as V, NativeContextContinuationExecution as Va, createOpenInferenceFileExporter as Vi, PeerMailRefusal as Vn, RootMaterialization as Vr, SandboxClientProviderOptions as Vt, CodexRolloutStoreReader as W, ReconnectRetainedRunOptions as Wa, generateSpanId as Wi, PeerMailboxOptions as Wn, Runtime as Wr, providerAsExecutor as Wt, harnessUsageIsEmpty as X, RetainedInteractiveIntentAdmission as Xa, RuntimeStreamEventCollector as Xi, JsonRpcMessage as Xn, SpawnPrior as Xr, createTangleSandboxExactProcessProvider as Xt, createCodexRolloutStoreReader as Y, RetainedInteractiveEnvironmentAdmission as Ya, RuntimeEventCollector as Yi, peerMailVerbNames as Yn, SpawnOpts as Yr, SandboxControlClient as Yt, readCodexRolloutSession as Z, RetainedInteractiveStartedAdmission as Za, RuntimeStreamEventSink as Zi, JsonRpcResponse as Zn, SpawnRejection as Zr, ProviderPlacement as Zt, cliInPlaceExecutor as _, validateWaitSpec as _a, WorkerTraceSeamCarrier as _i, LocalHarness as _n, LeakedReservation as _o, ExecutorMaterialization as _r, AgentEnvironmentProvider$1 as _t, StreamAgentTurnOptions as a, sanitizeKnowledgeReadinessReport as aa, TokenUsageProvenance as ai, DiffResult as an, RetainedRunEventOptions as ao, AgentSpec as ar, assertSandboxServedModel as at, createExecutorRegistry as b, SessionTraceBox as ba, workerTraceHeaders as bi, harnessSupportsReasoningEffort as bn, ReservationStage as bo, ExecutorRegistry as br, AgentEnvironmentQuery as bt, CliInPlaceSeam as c, WaitOutcome as ca, UnknownMaterializationReason as ci, WorktreeHandle as cn, RetainedRunReplayPoint as co, EnvironmentTeardownReceipt as cr, extractLlmCallEvent as ct, CliWorktreeSeam as d, WaitRejection as da, WidenGate as di, removeWorktree as dn, RetainedRunTurnInput as do, ExecutorAccounting as dr, sandboxEventServedBackend as dt, SanitizedKnowledgeReadinessReport as ea, SpendGap as ei, WorktreeCommandResult as en, RetainedRunCancelOptions as eo, Redactor as er, SandboxLeafOut as et, ExecutorConfig as f, WaitSpec as fa, WorkerInteractiveSession as fi, CodexExecutionEvidence as fn, StartRetainedRunInEnvironmentOptions as fo, ExecutorCancellation as fr, sandboxProgressEvents as ft, SandboxSeam as g, timerAt as ga, WorkerTraceResolver as gi, LOCAL_HARNESSES as gn, BudgetReadout as go, ExecutorFactory as gr, AgentEnvironmentEvent$1 as gt, RouterToolsSeam as h, pollFor as ha, WorkerTraceUnavailableReason as hi, DEFAULT_LOCAL_HARNESS as hn, BudgetPoolRestore as ho, ExecutorExecutionBinding as hr, AgentEnvironmentCapabilities$1 as ht, CollectedAgentTurn as i, sanitizeAgentRuntimeEvent as ia, SupervisorOpts as ii, DiffOptions as in, RetainedRunEnvironmentAdmission as io, AgentExecutionRef as ir, SandboxUsageLedger as it, BridgeHarnessStore as j, WorkerProgress as ja, INTELLIGENCE_WIRE_VERSION as ji, ToolLoopToolCall as jn, NodeStatus as jr, DEFAULT_SANDBOX_IDLE_TIMEOUT_SECONDS as jt, PeerInboxMessage as k, ExecutorProgress as ka, EvalRunsExportConfig as ki, ToolLoopCompactionOptions as kn, NodeId as kr, CheckpointRequest as kt, CliSeam as l, WaitProbe as la, UsageEvent as li, captureWorktreeDiff as ln, RetainedRunSnapshot as lo, ExecutionBindingReceipt as lr, mapSandboxEvent as lt, RouterSeam as m, isWaitOutcome as ma, WorkerTraceEvidence as mi, CodexTokenUsage as mn, BudgetPool as mo, ExecutorContext as mr, AgentEnvironment$1 as mt, AgentTurnInput$1 as n, createRuntimeEventCollector as na, SupervisedResult as ni, WorktreeProfileMaterializationReceipt as nn, RetainedRunDispatchedAdmission as no, resolveRedactor as nr, SandboxServedBackend as nt, collectAgentTurn as o, sanitizeRuntimeStreamEvent as oa, TreeView as oi, GitRunner as on, RetainedRunHandle as oo, Budget as or, createSandboxToolPartState as ot, ProviderSeam as p, createWaitProbes as pa, WorkerInteractiveUnavailableReason as pi, CodexExecutionPolicy as pn, StartRetainedRunOptions as po, ExecutorCancellationRequest as pr, sumSandboxUsage as pt, CodexStoreDelta as q, RecoverRetainedRunResult as qa, padTraceId as qi, isPeerMailEnvelope as qn, SpawnEvent as qr, sandboxClientAsProvider as qt, AgentTurnUsage as r, createRuntimeStreamEventCollector as ra, Supervisor as ri, CreateWorktreeOptions as rn, RetainedRunEffect as ro, Agent as rr, SandboxToolPartState as rt, streamAgentTurn as s, PendingWait as sa, UnconfirmedTeardown as si, RemoveWorktreeOptions as sn, RetainedRunIntentAdmission as so, DefaultVerdict as sr, createSandboxUsageLedger as st, AgentTurnBackend as t, SanitizedKnowledgeRequirement as ta, SteerableRootHandle as ti, WorktreeHarnessResult as tn, RetainedRunCancellation as to, defaultRedactor as tr, SandboxOutputMarker as tt, CliWorktreeBridgeSeam as u, WaitProbeRegistry as ua, WaitOpts as ui, createWorktree as un, RetainedRunStartMaterial as uo, Executor as ur, mapSandboxToolEvent as ut, cliWorktreeExecutor as v, waitUntil as va, readWorkerTraceContext as vi, LocalHarnessResult as vn, ReservationHolder as vo, ExecutorNodeContext as vr, AgentEnvironmentProviderRef as vt, SteerableSandboxSession as w, decodeToolPart as wa, mergeTraceEnv as wi, RouterTransportConfig as wn, Handle as wr, AgentSession as wt, DEFAULT_SANDBOX_STEERING_MAX_TURNS as x, ToolStepInput as xa, workerTraceSeamKey as xi, localHarnessExecutable as xn, ReservationTicket as xo, ExecutorResult as xr, AgentEnvironmentStatus as xt, createExecutor as y, SessionMessageLike as ya, workerTraceEnv as yi, RunLocalHarnessOptions as yn, ReservationRejection as yo, ExecutorProgressEvent as yr, AgentEnvironmentProviderRegistry as yt, resolveSecretEnv as z, RetainedInteractiveStartMaterial as za, buildLoopSpanNodes as zi, PeerMailOutcome as zn, ResumedWork as zr, ProviderPromptOptions as zt };
|
|
4963
|
+
//# sourceMappingURL=stream-agent-turn-DSrEMRwR.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as createExecutor,
|
|
1
|
+
import { $ as createExecutor, $r as authoredProfileDigest, Ci as createSandboxToolPartState, Di as mapSandboxEvent, Ei as isSandboxTerminalEvent, Fi as awaitAbortable, Ii as promptFromAgentTurnInput, Li as promptOptionsFromAgentTurnInput, Oi as mapSandboxToolEvent, Ri as providerMessageText, Si as canonicalStreamEventFromSandboxEvent, X as captureReusableExecutorConfig, bi as readSandboxOutcome, ci as runtimeOwnedExecutorExecutionBinding, ct as InMemoryResultBlobStore, d as withDriverExecutor, di as runtimeOwnedPendingExecutorMaterialization, dn as observedModelMatchesDeclared, et as createExecutorRegistry, hi as executableAgentProfileSnapshot, li as runtimeOwnedExecutorMaterialization, lt as InMemorySpawnJournal, mi as unknownMaterializationReceipt, n as createSupervisor, ni as knownExecutionBindingReceipt, pi as unknownExecutionBindingReceipt, ri as knownMaterializationReceipt, wi as createSandboxUsageLedger, yi as projectSandboxOutcome } from "./supervisor-CUlzJ5IO.js";
|
|
2
2
|
import { m as ValidationError, p as SessionMismatchError, r as BackendTransportError } from "./errors-DodWX-cb.js";
|
|
3
3
|
import { c as profileModelExecutionSettings, i as concreteModelId, l as profileProviderModel, o as enforceTokenLimits, s as profileBridgeWireModel, t as assertExecutableAgentProfile } from "./model-policy-DKDyr-fc.js";
|
|
4
4
|
import { agentProfileSchema, canonicalAgentProfileDigest, canonicalCandidateDigest, renderInputPartsAsText } from "@tangle-network/agent-interface";
|
|
@@ -2864,4 +2864,4 @@ function structuralRollout(config = {}) {
|
|
|
2864
2864
|
//#endregion
|
|
2865
2865
|
export { collectAgentTurn as A, defaultAnalystInstruction as C, profileOptimizerModelCall as D, profileChatClient as E, InMemoryRuntimeSessionStore as F, newRuntimeSession as I, nowIso as L, createIterableBackend as M, createSandboxPromptBackend as N, optimizerMethod as O, normalizeBackendStreamEvent as P, startOrResumeRuntimeSession as R, ObservationError as S, renderReport as T, depthStrategy as _, defaultStructuralRolloutPolicy as a, sample as b, officialChecksFromMeta as c, selectBestIndex as d, structuralRollout as f, defineStrategy as g, breadthStrategy as h, defaultExtractCandidate as i, streamAgentTurn as j, strategyAuthorMethod as k, resolveEntrySymbol as l, adaptiveRefine as m, compareCheckOutcomes as n, filterAuthoredAsserts as o, visibleCheckScore as p, composeCheckSources as r, modelAuthoredChecks as s, canDisplace as t, sandboxCheckRunner as u, refine as v, observe as w, sampleThenRefine as x, runAgentic as y, touchSession as z };
|
|
2866
2866
|
|
|
2867
|
-
//# sourceMappingURL=structural-rollout-
|
|
2867
|
+
//# sourceMappingURL=structural-rollout-DLdNDY6d.js.map
|