@tangle-network/agent-runtime 0.222.0 → 0.223.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-C3FIZinc.js → activation-DQseYGj1.js} +2 -2
- package/dist/{activation-C3FIZinc.js.map → activation-DQseYGj1.js.map} +1 -1
- package/dist/{activation-CoaTi81Q.d.ts → activation-ojBkrqcl.d.ts} +2 -2
- package/dist/agent.d.ts +1 -1
- package/dist/agent.js +2 -2
- package/dist/{coordination-driver-BMFwV_aM.js → coordination-driver-9I9bvmU7.js} +11 -4
- package/dist/coordination-driver-9I9bvmU7.js.map +1 -0
- package/dist/{delegate-_MIPlySb.js → delegate-C6YK72Cu.js} +2 -2
- package/dist/{delegate-_MIPlySb.js.map → delegate-C6YK72Cu.js.map} +1 -1
- package/dist/durable.d.ts +8 -5
- package/dist/durable.js +49 -5
- package/dist/durable.js.map +1 -1
- package/dist/{graph-DAzvl-CD.js → graph-oFuyqROQ.js} +3 -3
- package/dist/{graph-DAzvl-CD.js.map → graph-oFuyqROQ.js.map} +1 -1
- package/dist/{improvement-cycle-DH28Q79j.js → improvement-cycle-o6XXAZ6L.js} +3 -3
- package/dist/{improvement-cycle-DH28Q79j.js.map → improvement-cycle-o6XXAZ6L.js.map} +1 -1
- package/dist/{index-ZJQ4RpP6.d.ts → index-C8i3o4mJ.d.ts} +5 -2
- 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-D5F5XAqC.js → loop-runner-bin-DiAaRQud.js} +3 -3
- package/dist/{loop-runner-bin-D5F5XAqC.js.map → loop-runner-bin-DiAaRQud.js.map} +1 -1
- package/dist/{loop-runner-bin-CscIVOv-.d.ts → loop-runner-bin-zaiQXpVo.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-ONy4pJ0l.js → provision-supervisor-BalCsZB7.js} +3 -3
- package/dist/{provision-supervisor-ONy4pJ0l.js.map → provision-supervisor-BalCsZB7.js.map} +1 -1
- package/dist/{runtime-CGZo3BpF.js → runtime-C77tIYS6.js} +8 -8
- package/dist/{runtime-CGZo3BpF.js.map → runtime-C77tIYS6.js.map} +1 -1
- package/dist/{server-Z-5x4YsU.js → server-Bk92H603.js} +3 -3
- package/dist/{server-Z-5x4YsU.js.map → server-Bk92H603.js.map} +1 -1
- package/dist/{stream-agent-turn-CQf-EMwX.d.ts → stream-agent-turn-CKyDuKIj.d.ts} +49 -3
- package/dist/{structural-rollout-ysIAMLwb.js → structural-rollout-Bb4Vstic.js} +2 -2
- package/dist/{structural-rollout-ysIAMLwb.js.map → structural-rollout-Bb4Vstic.js.map} +1 -1
- package/dist/{supervise-l9fd1ZaI.js → supervise-B1IioRQs.js} +3 -3
- package/dist/{supervise-l9fd1ZaI.js.map → supervise-B1IioRQs.js.map} +1 -1
- package/dist/{supervisor-af7-tQrQ.js → supervisor-CuBPrwGp.js} +113 -29
- package/dist/{supervisor-af7-tQrQ.js.map → supervisor-CuBPrwGp.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/package.json +1 -1
- package/dist/coordination-driver-BMFwV_aM.js.map +0 -1
|
@@ -8,6 +8,16 @@ import { WorkspacePlanReceipt } from "@tangle-network/agent-profile-materialize"
|
|
|
8
8
|
import { BackendType, CreateSandboxOptions, PromptOptions, Sandbox, SandboxEvent, SandboxInstance } from "@tangle-network/sandbox";
|
|
9
9
|
import { AgentEnvironment, AgentEnvironment as AgentEnvironment$1, AgentEnvironmentCapabilities, AgentEnvironmentCapabilities as AgentEnvironmentCapabilities$1, AgentEnvironmentEvent, AgentEnvironmentEvent as AgentEnvironmentEvent$1, AgentEnvironmentProvider, AgentEnvironmentProvider as AgentEnvironmentProvider$1, AgentEnvironmentQuery, AgentEnvironmentStatus, AgentEnvironmentSummary, AgentProfileRef, AgentProfileRef as AgentProfileRef$1, AgentSession, AgentSessionRef, AgentSessionStatus as AgentSessionStatus$1, AgentTurnInput, AgentTurnInput as AgentTurnInput$1, AgentTurnResult as AgentTurnResult$1, AgentTurnResult as AgentTurnResult$2, CheckpointRef, CheckpointRequest, CreateAgentEnvironmentInput, CreateAgentEnvironmentInput as CreateAgentEnvironmentInput$1, ExecRequest, ExecResult, ForkRequest, PlacementInfo, ResourceRequest, WorkspaceRequest } from "@tangle-network/agent-interface/environment-provider";
|
|
10
10
|
//#region src/runtime/supervise/budget.d.ts
|
|
11
|
+
/**
|
|
12
|
+
* A reconciliation whose spend the pool cannot verify. It is thrown after the reservation has
|
|
13
|
+
* settled. `budgetViolation` carries any measured overspend on the same settlement, so a child
|
|
14
|
+
* that fails closed on the fault still records how far its known channels exceeded the
|
|
15
|
+
* reservation.
|
|
16
|
+
*/
|
|
17
|
+
declare class BudgetReconcileFault extends Error {
|
|
18
|
+
readonly budgetViolation?: BudgetViolation;
|
|
19
|
+
constructor(message: string, budgetViolation?: BudgetViolation);
|
|
20
|
+
}
|
|
11
21
|
/** Opaque, single-use reservation handle returned by `reserve` and consumed by
|
|
12
22
|
* `reconcile`. Carries the reserved ceilings so reconciliation needs no lookup. */
|
|
13
23
|
interface ReservationTicket {
|
|
@@ -130,8 +140,12 @@ interface BudgetPool {
|
|
|
130
140
|
* Release a reservation: commit the actual `spent`, refund the unspent remainder
|
|
131
141
|
* to the free pool. Throws on an unknown or already-reconciled ticket (fail loud —
|
|
132
142
|
* a double refund would silently break conservation).
|
|
143
|
+
*
|
|
144
|
+
* Returns the overspend when measured spend exceeded the reservation, after committing it.
|
|
145
|
+
* Throws, also after committing, when the spend cannot be verified: unknown dollar cost under
|
|
146
|
+
* a dollar cap, or unknown or overflowing usage of an enforced resource.
|
|
133
147
|
*/
|
|
134
|
-
reconcile(ticket: ReservationTicket, spent: Spend):
|
|
148
|
+
reconcile(ticket: ReservationTicket, spent: Spend): BudgetViolation | undefined;
|
|
135
149
|
/** Fold a normalized `UsageEvent` stream (or array) into a `Spend`. Tokens via
|
|
136
150
|
* `addTokenUsage`, usd on its own channel, iterations from `'iteration'` events.
|
|
137
151
|
* `ms` is left zero — wall-clock duration is the caller's to record, not the pool's. */
|
|
@@ -2039,6 +2053,8 @@ type Settled<Out> = {
|
|
|
2039
2053
|
providerModel?: ProviderModelExecutionEvidence;
|
|
2040
2054
|
/** Structured tool evidence captured before this settlement was journaled. */
|
|
2041
2055
|
trace: WorkerTraceEvidence;
|
|
2056
|
+
/** Present when the measured spend exceeded this child's reservation. */
|
|
2057
|
+
budgetViolation?: BudgetViolation;
|
|
2042
2058
|
/** Epoch ms parsed from the durable settlement record when available. */
|
|
2043
2059
|
settledAt?: number;
|
|
2044
2060
|
seq: number;
|
|
@@ -2052,6 +2068,8 @@ type Settled<Out> = {
|
|
|
2052
2068
|
trace: WorkerTraceEvidence;
|
|
2053
2069
|
/** Partial provider model evidence survives an aborted or failed execution. */
|
|
2054
2070
|
providerModel?: ProviderModelExecutionEvidence;
|
|
2071
|
+
/** Present when the spend reconciled for this child exceeded its reservation. */
|
|
2072
|
+
budgetViolation?: BudgetViolation;
|
|
2055
2073
|
/** Epoch ms parsed from the durable settlement/cancellation record when available. */
|
|
2056
2074
|
settledAt?: number;
|
|
2057
2075
|
seq: number;
|
|
@@ -2290,6 +2308,8 @@ interface NodeSnapshot {
|
|
|
2290
2308
|
readonly outRef?: string;
|
|
2291
2309
|
/** Present on terminal executor nodes; legacy records carry an explicit unavailable reason. */
|
|
2292
2310
|
readonly trace?: WorkerTraceEvidence;
|
|
2311
|
+
/** Present once a settled node's measured spend exceeded its reservation. */
|
|
2312
|
+
readonly budgetViolation?: BudgetViolation;
|
|
2293
2313
|
}
|
|
2294
2314
|
/** The live tree — what `scope.view` / `RootHandle.view()` materialize for a viewer. */
|
|
2295
2315
|
interface TreeView {
|
|
@@ -2384,6 +2404,8 @@ type SpawnEvent = {
|
|
|
2384
2404
|
reason?: string;
|
|
2385
2405
|
/** Structured tool evidence. Optional only for journals written before trace capture. */
|
|
2386
2406
|
trace?: WorkerTraceEvidence;
|
|
2407
|
+
/** Present when the reconciled spend exceeded the reservation, on either status. */
|
|
2408
|
+
budgetViolation?: BudgetViolation;
|
|
2387
2409
|
seq: number;
|
|
2388
2410
|
at: string;
|
|
2389
2411
|
} | {
|
|
@@ -2396,6 +2418,7 @@ type SpawnEvent = {
|
|
|
2396
2418
|
providerModel?: ProviderModelExecutionEvidence;
|
|
2397
2419
|
trace?: WorkerTraceEvidence;
|
|
2398
2420
|
outRef?: string;
|
|
2421
|
+
budgetViolation?: BudgetViolation;
|
|
2399
2422
|
seq: number;
|
|
2400
2423
|
at: string;
|
|
2401
2424
|
} | {
|
|
@@ -2771,6 +2794,29 @@ interface SpendGap {
|
|
|
2771
2794
|
readonly kind: 'never-settled' | 'unreported';
|
|
2772
2795
|
readonly channels: ReadonlyArray<SpendChannel>;
|
|
2773
2796
|
}
|
|
2797
|
+
/**
|
|
2798
|
+
* One channel on which a settled reservation's measured spend exceeded what it reserved.
|
|
2799
|
+
* `tokens` is in the pool's charged unit (`chargedTokens`), `usd` is measured dollars, and a
|
|
2800
|
+
* `resource:<name>` entry is in the unit that resource's budget declares.
|
|
2801
|
+
*/
|
|
2802
|
+
interface BudgetOverspend {
|
|
2803
|
+
readonly channel: SpendChannel | 'iterations';
|
|
2804
|
+
readonly reserved: number;
|
|
2805
|
+
readonly spent: number;
|
|
2806
|
+
}
|
|
2807
|
+
/**
|
|
2808
|
+
* A settled reservation whose measured spend exceeded what it reserved.
|
|
2809
|
+
*
|
|
2810
|
+
* It records an accounting fact, not an outcome. A child that completed stays `done` with its
|
|
2811
|
+
* artifact, and a child that failed stays `down`. The pool commits the true spend, so its free
|
|
2812
|
+
* balance already carries the overspend and later reservations are refused on their own.
|
|
2813
|
+
* Spend the pool cannot verify (unknown dollars under a dollar cap, unknown or overflowing
|
|
2814
|
+
* resource usage) is not an overspend: it fails the child closed instead.
|
|
2815
|
+
*/
|
|
2816
|
+
interface BudgetViolation {
|
|
2817
|
+
/** Every overspent channel, in the order tokens, iterations, usd, then resources. Never empty. */
|
|
2818
|
+
readonly overspent: ReadonlyArray<BudgetOverspend>;
|
|
2819
|
+
}
|
|
2774
2820
|
/** Typed terminal result (M2) — a no-winner is NEVER coerced to a best-effort output. */
|
|
2775
2821
|
type SupervisedResult<Out> = {
|
|
2776
2822
|
kind: 'winner';
|
|
@@ -4973,5 +5019,5 @@ declare function streamAgentTurn(backend: AgentTurnBackend, input: AgentTurnInpu
|
|
|
4973
5019
|
*/
|
|
4974
5020
|
declare function collectAgentTurn(stream: AsyncIterable<RuntimeStreamEvent>): Promise<CollectedAgentTurn>;
|
|
4975
5021
|
//#endregion
|
|
4976
|
-
export { decodeHarnessUsage as $,
|
|
4977
|
-
//# sourceMappingURL=stream-agent-turn-
|
|
5022
|
+
export { decodeHarnessUsage as $, RetainedInteractiveStartedAdmission as $a, RuntimeStreamEventSink as $i, McpTransport as $n, SpawnRejection as $r, WorktreeCheckRunner as $t, createInbox as A, DEFAULT_STALL_AFTER_MS as Aa, EvalRunGeneration as Ai, ToolLoopMessageRecord as An, NodeExecutionIdentity as Ar, CreateAgentEnvironmentInput$1 as At, secretEnvOfMcpServer as B, RetainedInteractiveRunHandle as Ba, buildLoopOtelSpans as Bi, PeerMailReadout as Bn, ResumedKeyState as Br, ResourceRequest as Bt, SteerableSandboxArgs as C, ToolStepInput as Ca, workerTraceSeamKey as Ci, runLocalHarness as Cn, ReservationStage as Co, ExecutorResult as Cr, AgentProfileRef$1 as Ct, Inbox as D, sandboxSessionTraceSource as Da, readTraceContextFromEnv as Di, ToolLoopChat as Dn, MaterializedExecutionIdentity as Dr, AgentTurnResult$2 as Dt, AuthorityInboxMessage as E, decodeToolPart as Ea, mergeTraceEnv as Ei, ToolLoopCallContext as En, spendFromUsageEvents as Eo, Handle as Er, AgentSessionStatus$1 as Et, ResolvedMcpServerLaunch as F, readWorkerProgress as Fa, OtelAttribute as Fi, PeerMailEnvelope as Fn, ProviderModelAttemptEvidence as Fr, PlacementInfo as Ft, CodexRolloutStoreRef as G, NativeContextContinuationInput as Ga, exportEvalRuns as Gi, claimsAuthority as Gn, RootSignal as Gr, providerAsSandboxClient as Gt, CodexRolloutIdentity as H, StartRetainedInteractiveRunOptions as Ha, buildRuntimeEventOtelSpans as Hi, PeerMailSendInput as Hn, RootHandle as Hr, WorkspaceRequest as Ht, envKeyProvider as I, ReconnectRetainedInteractiveRunOptions as Ia, OtelExportConfig as Ii, PeerMailEvent as In, ProviderModelExecutionEvidence as Ir, ProviderAsSandboxClientOptions as It, addHarnessUsage as J, RecoverRetainedRunOptions as Ja, padSpanId as Ji, peerMailTools as Jn, Settled as Jr, CreateTangleSandboxExactProcessProviderOptions as Jt, CodexRolloutTurn as K, ReconnectRetainedRunOptions as Ka, generateSpanId as Ki, createPeerMailbox as Kn, Runtime as Kr, resolveAgentEnvironmentProvider as Kt, mcpSecretEnvMetadataKey as L, RecoverRetainedInteractiveRunOptions as La, OtelExporter as Li, PeerMailKind as Ln, ResourceLimit as Lr, ProviderExecutorOptions as Lt, BridgeModelCredential as M, ScopeProgressInput as Ma, EvalRunsExportResult as Mi, AUTHORITY_MARKERS as Mn, NodeSnapshot as Mr, ExecRequest as Mt, BridgeSeam as N, WorkerProgress as Na, INTELLIGENCE_WIRE_VERSION as Ni, DEFAULT_PEER_MAIL_LIMITS as Nn, NodeStatus as Nr, ExecResult as Nt, InboxMessage as O, ActivityLog as Oa, traceContextToEnv as Oi, ToolLoopCompaction as On, MaterializedModelIdentity as Or, CheckpointRef as Ot, KeyProvider as P, createActivityLog as Pa, LoopSpanNode as Pi, PEER_MAIL_WIRE_KEY as Pn, ProfileMaterializationReceipt as Pr, ForkRequest as Pt, HarnessUsage as Q, RetainedInteractiveIntentAdmission as Qa, RuntimeStreamEventCollector as Qi, McpToolDescriptor as Qn, SpawnPrior as Qr, InPlaceHarnessResult as Qt, resolveMcpServerLaunch as R, RetainedInteractiveAdmissionHook as Ra, OtelSpan as Ri, PeerMailLimits as Rn, ResourceSpend as Rr, ProviderLeafOut as Rt, SandboxSteeringOptions as S, SessionTraceBox as Sa, workerTraceHeaders as Si, parseCodexTokenUsage as Sn, ReservationRejection as So, ExecutorRegistry as Sr, AgentEnvironmentSummary as St, createSteerableSandboxSession as T, createPushTraceSource as Ta, createPropagatingTraceEmitter as Ti, ToolSpec as Tn, createBudgetPool as To, ExecutorToolCall as Tr, AgentSessionRef as Tt, CodexRolloutSession as U, NativeContextContinuationExecution as Ua, createOpenInferenceFileExporter as Ui, PeerMailbox as Un, RootMaterialization as Ur, createAgentEnvironmentProviderRegistry as Ut, CodexForkBoundary as V, RetainedInteractiveStartMaterial as Va, buildLoopSpanNodes as Vi, PeerMailRefusal as Vn, ResumedWork as Vr, SandboxClientProviderOptions as Vt, CodexRolloutStoreReader as W, NativeContextContinuationHandle as Wa, createOtelExporter as Wi, PeerMailboxOptions as Wn, RootProviderModelEvidence as Wr, providerAsExecutor as Wt, harnessUsageIsEmpty as X, RetainedInteractiveAdmission as Xa, toOtelAttributes as Xi, JsonRpcMessage as Xn, SpawnJournal as Xr, createTangleSandboxExactProcessProvider as Xt, createCodexRolloutStoreReader as Y, RecoverRetainedRunResult as Ya, padTraceId as Yi, peerMailVerbNames as Yn, SpawnEvent as Yr, SandboxControlClient as Yt, readCodexRolloutSession as Z, RetainedInteractiveEnvironmentAdmission as Za, RuntimeEventCollector as Zi, JsonRpcResponse as Zn, SpawnOpts as Zr, ProviderPlacement as Zt, cliInPlaceExecutor as _, pollFor as _a, WorkerTraceUnavailableReason as _i, LocalHarness as _n, BudgetPoolRestore as _o, ExecutorExecutionBinding as _r, AgentEnvironmentProvider$1 as _t, StreamAgentTurnOptions as a, createRuntimeStreamEventCollector as aa, Supervisor as ai, DiffResult as an, RetainedRunEffect as ao, AgentSpec as ar, assertSandboxServedModel as at, createExecutorRegistry as b, waitUntil as ba, readWorkerTraceContext as bi, harnessSupportsReasoningEffort as bn, LeakedReservation as bo, ExecutorNodeContext as br, AgentEnvironmentQuery as bt, CliInPlaceSeam as c, sanitizeRuntimeStreamEvent as ca, TreeView as ci, WorktreeHandle as cn, RetainedRunHandle as co, BudgetViolation as cr, extractLlmCallEvent as ct, CliWorktreeSeam as d, WaitProbe as da, UsageEvent as di, removeWorktree as dn, RetainedRunSnapshot as do, ExecutionBindingReceipt as dr, sandboxEventServedBackend as dt, RuntimeStreamEventSummary as ea, Spend as ei, WorktreeCommandResult as en, RetainedRunAdmission as eo, Redactor as er, SandboxLeafOut as et, ExecutorConfig as f, WaitProbeRegistry as fa, WaitOpts as fi, CodexExecutionEvidence as fn, RetainedRunStartMaterial as fo, Executor as fr, sandboxProgressEvents as ft, SandboxSeam as g, isWaitOutcome as ga, WorkerTraceEvidence as gi, LOCAL_HARNESSES as gn, BudgetPool as go, ExecutorContext as gr, AgentEnvironmentEvent$1 as gt, RouterToolsSeam as h, createWaitProbes as ha, WorkerInteractiveUnavailableReason as hi, DEFAULT_LOCAL_HARNESS as hn, StartRetainedRunOptions as ho, ExecutorCancellationRequest as hr, AgentEnvironmentCapabilities$1 as ht, CollectedAgentTurn as i, createRuntimeEventCollector as ia, SupervisedResult as ii, DiffOptions as in, RetainedRunDispatchedAdmission as io, AgentExecutionRef as ir, SandboxUsageLedger as it, BridgeHarnessStore as j, ExecutorProgress as ja, EvalRunsExportConfig as ji, ToolLoopToolCall as jn, NodeId as jr, DEFAULT_SANDBOX_IDLE_TIMEOUT_SECONDS as jt, PeerInboxMessage as k, ActivityNote as ka, EvalRunEvent as ki, ToolLoopCompactionOptions as kn, NoWinnerError as kr, CheckpointRequest as kt, CliSeam as l, PendingWait as la, UnconfirmedTeardown as li, captureWorktreeDiff as ln, RetainedRunIntentAdmission as lo, DefaultVerdict as lr, mapSandboxEvent as lt, RouterSeam as m, WaitSpec as ma, WorkerInteractiveSession as mi, CodexTokenUsage as mn, StartRetainedRunInEnvironmentOptions as mo, ExecutorCancellation as mr, AgentEnvironment$1 as mt, AgentTurnInput$1 as n, SanitizedKnowledgeReadinessReport as na, SpendGap as ni, WorktreeProfileMaterializationReceipt as nn, RetainedRunCancelOptions as no, resolveRedactor as nr, SandboxServedBackend as nt, collectAgentTurn as o, sanitizeAgentRuntimeEvent as oa, SupervisorOpts as oi, GitRunner as on, RetainedRunEnvironmentAdmission as oo, Budget as or, createSandboxToolPartState as ot, ProviderSeam as p, WaitRejection as pa, WidenGate as pi, CodexExecutionPolicy as pn, RetainedRunTurnInput as po, ExecutorAccounting as pr, sumSandboxUsage as pt, CodexStoreDelta as q, RecoverRetainedRunIntentOptions as qa, loopEventToOtelSpan as qi, isPeerMailEnvelope as qn, Scope as qr, sandboxClientAsProvider as qt, AgentTurnUsage as r, SanitizedKnowledgeRequirement as ra, SteerableRootHandle as ri, CreateWorktreeOptions as rn, RetainedRunCancellation as ro, Agent as rr, SandboxToolPartState as rt, streamAgentTurn as s, sanitizeKnowledgeReadinessReport as sa, TokenUsageProvenance as si, RemoveWorktreeOptions as sn, RetainedRunEventOptions as so, BudgetOverspend as sr, createSandboxUsageLedger as st, AgentTurnBackend as t, RuntimeTelemetryOptions as ta, SpendChannel as ti, WorktreeHarnessResult as tn, RetainedRunAdmissionHook as to, defaultRedactor as tr, SandboxOutputMarker as tt, CliWorktreeBridgeSeam as u, WaitOutcome as ua, UnknownMaterializationReason as ui, createWorktree as un, RetainedRunReplayPoint as uo, EnvironmentTeardownReceipt as ur, mapSandboxToolEvent as ut, cliWorktreeExecutor as v, timerAt as va, WorkerTraceResolver as vi, LocalHarnessResult as vn, BudgetReadout as vo, ExecutorFactory as vr, AgentEnvironmentProviderRef as vt, SteerableSandboxSession as w, TraceSource as wa, TraceContext as wi, RouterTransportConfig as wn, ReservationTicket as wo, ExecutorTeardownWarning as wr, AgentSession as wt, DEFAULT_SANDBOX_STEERING_MAX_TURNS as x, SessionMessageLike as xa, workerTraceEnv as xi, localHarnessExecutable as xn, ReservationHolder as xo, ExecutorProgressEvent as xr, AgentEnvironmentStatus as xt, createExecutor as y, validateWaitSpec as ya, WorkerTraceSeamCarrier as yi, RunLocalHarnessOptions as yn, BudgetReconcileFault as yo, ExecutorMaterialization as yr, AgentEnvironmentProviderRegistry as yt, resolveSecretEnv as z, RetainedInteractiveEnvironmentInput as za, RuntimeEventOtelOptions as zi, PeerMailOutcome as zn, ResultBlobStore as zr, ProviderPromptOptions as zt };
|
|
5023
|
+
//# sourceMappingURL=stream-agent-turn-CKyDuKIj.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $r as
|
|
1
|
+
import { $r as runtimeOwnedExecutorExecutionBinding, Gi as promptFromAgentTurnInput, Jr as knownMaterializationReceipt, Ki as promptOptionsFromAgentTurnInput, Wi as awaitAbortable, Wr as authoredProfileDigest, _i as isSandboxTerminalEvent, ai as unknownMaterializationReceipt, di as readSandboxOutcome, ei as runtimeOwnedExecutorMaterialization, et as captureReusableExecutorConfig, ft as InMemoryResultBlobStore, h as withDriverExecutor, hi as createSandboxUsageLedger, ii as unknownExecutionBindingReceipt, it as createExecutorRegistry, mi as createSandboxToolPartState, n as createSupervisor, ni as runtimeOwnedPendingExecutorMaterialization, oi as executableAgentProfileSnapshot, pi as canonicalStreamEventFromSandboxEvent, pt as InMemorySpawnJournal, qi as providerMessageText, qr as knownExecutionBindingReceipt, rt as createExecutor, ui as projectSandboxOutcome, vi as mapSandboxEvent, yi as mapSandboxToolEvent, yn as observedModelMatchesDeclared } from "./supervisor-CuBPrwGp.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";
|
|
@@ -2870,4 +2870,4 @@ function structuralRollout(config = {}) {
|
|
|
2870
2870
|
//#endregion
|
|
2871
2871
|
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 };
|
|
2872
2872
|
|
|
2873
|
-
//# sourceMappingURL=structural-rollout-
|
|
2873
|
+
//# sourceMappingURL=structural-rollout-Bb4Vstic.js.map
|