effect-durable-agent 0.1.0-alpha.28 → 0.1.0-alpha.29

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.
@@ -2,7 +2,7 @@ import { c as StopTurnCommand, l as SubmitMessageCommand, o as PromotePendingMes
2
2
  import { h as SequenceNumber } from "./core-BcimKMIv.js";
3
3
  import { f as PositionedEvent, i as EventEnvelope } from "./envelope-Che6KatU.js";
4
4
  import "./events-BWuvzVml.js";
5
- import "./reduced-state-C0CxfyUD.js";
5
+ import "./reduced-state-D50SR0qM.js";
6
6
  import * as Effect from "effect/Effect";
7
7
  import * as Schema from "effect/Schema";
8
8
  //#region src/websocket/protocol.d.ts
@@ -2987,4 +2987,4 @@ declare const onClientAck: (state: EDAWebSocketDeliveryState, ack: EDAWebSocketA
2987
2987
  declare const onHostSuppressedFrame: (state: EDAWebSocketDeliveryState, frame: Pick<EDAWebSocketEventsFrame, "durableThroughSeq" | "frameId">, nowMs: number) => EDAWebSocketDeliveryResult;
2988
2988
  //#endregion
2989
2989
  export { EDAWebSocketWireProtocol as $, EDA_WS_CLOSE_LAGGED as A, EDAFrameworkWebSocketEvent as B, EDAWebSocketHelloFrame as C, EDAWebSocketServerFrame as D, EDAWebSocketPongFrame as E, SubscriberId as F, EDAWebSocketWireClientFrame as G, EDAWebSocketServerFrameEncoder as H, decodeEDAWebSocketClientMessage as I, EDAWebSocketWireHeartbeatFrame as J, EDAWebSocketWireErrorFrame as K, defaultEDAWebSocketFlowControl as L, EDA_WS_CLOSE_SEND_FAILED as M, EDA_WS_CLOSE_UNSUPPORTED_DATA as N, EDA_WEB_SOCKET_PROTOCOL_VERSION as O, FrameId as P, EDAWebSocketWirePongFrame as Q, encodeEDAWebSocketServerFrame as R, EDAWebSocketHeartbeatFrame as S, EDAWebSocketPingFrame as T, EDAWebSocketServerFrameInput as U, EDAWebSocketEventConsumerPolicy as V, EDAWebSocketWireAckFrame as W, EDAWebSocketWireLaggedFrame as X, EDAWebSocketWireHelloFrame as Y, EDAWebSocketWirePingFrame as Z, EDAWebSocketAckFrame as _, EDAWebSocketInFlightFrame as a, EDAWebSocketEventsFrame as b, SubscriberLagReason as c, makeWebSocketDeliveryState as d, EDA_WEB_SOCKET_PING_MESSAGE as et, onClientAck as f, restoreWebSocketDeliveryState as g, onHostSuppressedFrame as h, EDAWebSocketDeliveryState as i, makeEDAWebSocketWireProtocol as it, EDA_WS_CLOSE_PROTOCOL_ERROR as j, EDA_WS_CLOSE_GOING_AWAY as k, checkpointWebSocketDeliveryState as l, onEphemeralEvent as m, EDAWebSocketDeliveryCheckpoint as n, EDA_WEB_SOCKET_WIRE_PROTOCOL_VERSION as nt, EDAWebSocketSuppressedRange as o, onDurableEvents as p, EDAWebSocketWireFlowControl as q, EDAWebSocketDeliveryResult as r, edaFrameworkWebSocketWireProtocol as rt, MakeDeliveryStateInput as s, EDAWebSocketDeliveryAction as t, EDA_WEB_SOCKET_PONG_MESSAGE as tt, deliveryHelloFrame as u, EDAWebSocketClientFrame as v, EDAWebSocketLaggedFrame as w, EDAWebSocketFlowControl as x, EDAWebSocketErrorFrame as y, laggedCloseReason as z };
2990
- //# sourceMappingURL=delivery-Ckk_RmGw.d.ts.map
2990
+ //# sourceMappingURL=delivery-C0aN3Oza.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import { d as UserMessageContent } from "../commands-3OD-p8dD.js";
2
2
  import { b as TurnId, h as SequenceNumber, p as RunId, u as MessageId } from "../core-BcimKMIv.js";
3
- import { C as RunRecord, f as MessageRecord, p as PendingCommand, r as CommandRecord, t as ActiveCommandEvidence } from "../reduced-state-C0CxfyUD.js";
3
+ import { C as RunRecord, f as MessageRecord, p as PendingCommand, r as CommandRecord, t as ActiveCommandEvidence } from "../reduced-state-D50SR0qM.js";
4
4
  //#region src/domain/command-queues.d.ts
5
5
  /**
6
6
  * A steering message admitted for an active run but not necessarily consumed
@@ -1,6 +1,6 @@
1
1
  import { d as UserMessageContent } from "../commands-3OD-p8dD.js";
2
2
  import { i as ContextProjection } from "../context-projection-D_uRtK3r.js";
3
- import { f as MessageRecord, g as ReducedState } from "../reduced-state-C0CxfyUD.js";
3
+ import { f as MessageRecord, g as ReducedState } from "../reduced-state-D50SR0qM.js";
4
4
  import * as Prompt from "effect/ai/Prompt";
5
5
  //#region src/domain/message-transcript.d.ts
6
6
  /** Durable user/assistant message records suitable for a session transcript. */
@@ -1,3 +1,3 @@
1
- import { A as TurnTerminal, B as pendingCommands, C as RunRecord, D as ToolDecision, E as ToolCallRecord, F as encodeReducedStateCheckpoint, H as reduceCommittedEvents, I as foldReducedState, L as frameworkReducedStateReducerName, M as activeTurnIdentityForCommand, N as classifyRecoverableWork, O as ToolTerminal, P as decodeReducedStateCheckpoint, R as frameworkReducedStateReducerSchemaVersion, S as ReducedStateCheckpointToolTerminal, T as StopRequestRecord, U as reducedStateCheckpointEventSeqs, V as pendingStopCommand, _ as ReducedStateCheckpointCommandRecord, a as CompactionRecord, b as ReducedStateCheckpointToolCallRecord, c as InferenceRecord, d as LifecycleTiming, f as MessageRecord, g as ReducedState, h as RecoveryContinuationRecord, i as CommandTerminal, j as activeCommand, k as TurnRecord, l as InferenceTerminal, m as RecoverableWork, n as ActiveTurnIdentity, o as CompactionTerminal, p as PendingCommand, r as CommandRecord, s as ContextRecord, t as ActiveCommandEvidence, u as LifecycleFailure, v as ReducedStateCheckpointMessageRecord, w as RunTerminal, x as ReducedStateCheckpointToolDecision, y as ReducedStateCheckpointPayload, z as initialReducedState } from "../reduced-state-C0CxfyUD.js";
1
+ import { A as TurnTerminal, B as pendingCommands, C as RunRecord, D as ToolDecision, E as ToolCallRecord, F as encodeReducedStateCheckpoint, H as reduceCommittedEvents, I as foldReducedState, L as frameworkReducedStateReducerName, M as activeTurnIdentityForCommand, N as classifyRecoverableWork, O as ToolTerminal, P as decodeReducedStateCheckpoint, R as frameworkReducedStateReducerSchemaVersion, S as ReducedStateCheckpointToolTerminal, T as StopRequestRecord, U as reducedStateCheckpointEventSeqs, V as pendingStopCommand, _ as ReducedStateCheckpointCommandRecord, a as CompactionRecord, b as ReducedStateCheckpointToolCallRecord, c as InferenceRecord, d as LifecycleTiming, f as MessageRecord, g as ReducedState, h as RecoveryContinuationRecord, i as CommandTerminal, j as activeCommand, k as TurnRecord, l as InferenceTerminal, m as RecoverableWork, n as ActiveTurnIdentity, o as CompactionTerminal, p as PendingCommand, r as CommandRecord, s as ContextRecord, t as ActiveCommandEvidence, u as LifecycleFailure, v as ReducedStateCheckpointMessageRecord, w as RunTerminal, x as ReducedStateCheckpointToolDecision, y as ReducedStateCheckpointPayload, z as initialReducedState } from "../reduced-state-D50SR0qM.js";
2
2
  import { n as TokenConsumptionState, r as TokenUsageTotals } from "../model-usage-0GeHwaaU.js";
3
3
  export { ActiveCommandEvidence, ActiveTurnIdentity, CommandRecord, CommandTerminal, CompactionRecord, CompactionTerminal, ContextRecord, InferenceRecord, InferenceTerminal, LifecycleFailure, LifecycleTiming, MessageRecord, PendingCommand, RecoverableWork, RecoveryContinuationRecord, ReducedState, ReducedStateCheckpointCommandRecord, ReducedStateCheckpointMessageRecord, ReducedStateCheckpointPayload, ReducedStateCheckpointToolCallRecord, ReducedStateCheckpointToolDecision, ReducedStateCheckpointToolTerminal, RunRecord, RunTerminal, StopRequestRecord, TokenConsumptionState, type TokenUsageTotals, ToolCallRecord, ToolDecision, ToolTerminal, TurnRecord, TurnTerminal, activeCommand, activeTurnIdentityForCommand, classifyRecoverableWork, decodeReducedStateCheckpoint, encodeReducedStateCheckpoint, foldReducedState, frameworkReducedStateReducerName, frameworkReducedStateReducerSchemaVersion, initialReducedState, pendingCommands, pendingStopCommand, reduceCommittedEvents, reducedStateCheckpointEventSeqs };
@@ -1,2 +1,2 @@
1
- import { At as RunRequestOutcome, Bt as runSchedulingInputMessageIds, Dt as DeferredRunResolution, Ft as RunSchedulingRequestRecord, It as RunSchedulingWork, Lt as canGrantRun, Mt as RunSchedulingCancellationPlan, Nt as RunSchedulingInput, Ot as LocalRunResolution, Pt as RunSchedulingRequest, Rt as planRunSchedulingCancellation, Vt as waitingRunControl, jt as RunResolution, kt as RunGrantResult, zt as planWaitingRunInterruption } from "../reduced-state-C0CxfyUD.js";
1
+ import { At as RunRequestOutcome, Bt as runSchedulingInputMessageIds, Dt as DeferredRunResolution, Ft as RunSchedulingRequestRecord, It as RunSchedulingWork, Lt as canGrantRun, Mt as RunSchedulingCancellationPlan, Nt as RunSchedulingInput, Ot as LocalRunResolution, Pt as RunSchedulingRequest, Rt as planRunSchedulingCancellation, Vt as waitingRunControl, jt as RunResolution, kt as RunGrantResult, zt as planWaitingRunInterruption } from "../reduced-state-D50SR0qM.js";
2
2
  export { DeferredRunResolution, LocalRunResolution, RunGrantResult, RunRequestOutcome, RunResolution, RunSchedulingCancellationPlan, RunSchedulingInput, RunSchedulingRequest, RunSchedulingRequestRecord, RunSchedulingWork, canGrantRun, planRunSchedulingCancellation, planWaitingRunInterruption, runSchedulingInputMessageIds, waitingRunControl };
package/dist/index.d.ts CHANGED
@@ -4,5 +4,5 @@ import { _ as parseEDATraceparent, a as EDATraceAttributes, c as EDATraceLink, d
4
4
  import { _ as UnixEpochMillis, a as EventNamespace, b as makeEventType, c as FailurePayload, d as NonNegativeInt, f as PositionedEvent, g as ToolName, h as SystemPromptText, i as EventEnvelope, l as ForeignDurableEvent, m as SchemaVersion, n as EphemeralEventEnvelope, o as EventType, p as ProviderPartId, r as EventDurability, s as EventTypeName, t as DurableEventEnvelope, u as ModelSelectionPayload, v as UsagePayload, x as schemaV1, y as effectDurableAgentNamespace } from "./envelope-Che6KatU.js";
5
5
  import { $ as LegacyAttemptEvent, $n as pendingMessagesPausedEventType, $t as ToolCallRejectedPayload, A as CompactionFailedEvent, An as baseStateCreatedEventType, At as SessionConfiguredEvent, B as ContextRebasedPayload, Bn as compactionRequestedEventType, Bt as SummaryCreatedEvent, C as CommandEvent, Cn as UserMessagePromotedEvent, Cr as turnStartedEventType, Ct as RunSchedulingGrantedPayload, D as CommandStartedPayload, Dn as assistantMessageCommittedEventType, Dr as userMessagePromotedEventType, Dt as RunSchedulingRequestedPayload, E as CommandStartedEvent, En as UserMessageSubmittedPayload, Er as userMessageCommittedEventType, Et as RunSchedulingRequestedEvent, F as CompactionStartedPayload, Fn as commandCompletedEventType, Ft as StopControlEvent, G as InferenceCompletedEvent, Gn as decodeUnknownEDADurableEvent, Gt as ToolCallCompletedPayload, H as DecodedDurableEvent, Hn as contextProjectedEventType, Ht as SystemMessageCommittedEvent, I as ContextAndCompactionEvent, In as commandFailedEventType, It as StopTurnAppliedEvent, J as InferenceFailedEvent, Jn as inferenceCompletedEventType, Jt as ToolCallEvent, K as InferenceCompletedPayload, Kn as decodeUnknownEDADurableEventSync, Kt as ToolCallCreatedEvent, L as ContextProjectedEvent, Ln as commandStartedEventType, Lt as StopTurnAppliedPayload, M as CompactionRequestedEvent, Mn as baseStateRequestedEventType, Mt as SteeringMessageCancelledPayload, N as CompactionRequestedPayload, Nn as commandAdmittedEventType, Nt as SteeringMessageQueuedEvent, O as CompactionCompletedEvent, On as assistantMessageImportedEventType, Or as userMessageSubmittedEventType, Ot as RunStartedEvent, P as CompactionStartedEvent, Pn as commandCancelledEventType, Pt as SteeringMessageQueuedPayload, Q as LegacyAssistantMessageCommittedEvent, Qn as messageQueuePausedEventType, Qt as ToolCallRejectedEvent, R as ContextProjectedPayload, Rn as compactionCompletedEventType, Rt as StopTurnRequestedEvent, S as CommandCompletedPayload, Sn as UserMessageDisposition, Sr as turnFailedEventType, St as RunSchedulingGrantedEvent, T as CommandFailedPayload, Tn as UserMessageSubmittedEvent, Tr as userMessageCancelledEventType, Tt as RunSchedulingInvalidatedPayload, U as EDADurableEvent, Un as contextRebasedEventType, Ut as SystemMessageCommittedPayload, V as CurrentEDADurableEvent, Vn as compactionStartedEventType, Vt as SummaryCreatedPayload, W as EDADurableEventV1, Wn as decodeDurableEventSync, Wt as ToolCallCompletedEvent, X as InferenceStartedEvent, Xn as inferenceStartedEventType, Xt as ToolCallFailedPayload, Y as InferenceFailedPayload, Yn as inferenceFailedEventType, Yt as ToolCallFailedEvent, Z as InferenceStartedPayload, Zn as interpretLegacyAttemptForReduction, Zt as ToolCallPromptPart, _ as CommandAdmittedEvent, _n as UserMessageCancellationReason, _r as toolCallCreatedEventType, _t as RunInterruptedEvent, a as AssistantMessageImportedPayload, an as ToolPromptPart, ar as runSchedulingGrantedEventType, at as MessageQueuePausedPayload, b as CommandCancelledPayload, bn as UserMessageCommittedEvent, br as toolCallStartedEventType, bt as RunSchedulingDeliveredPayload, c as AssistantPromptPart, cn as TurnCompletedEvent, cr as runStartedEventType, ct as RecoveryCompletedEvent, d as BaseStateCreatedPayload, dn as TurnFailedEvent, dr as steeringMessageQueuedEventType, dt as RecoveryEvent, en as ToolCallRejectionFeedback, er as recoveryCompletedEventType, et as LegacyToolCallCreatedEvent, f as BaseStateEvent, fn as TurnFailedPayload, fr as stopTurnAppliedEventType, ft as RunCompletedEvent, g as BaseStateRequestedPayload, gn as TurnStoppedPayload, gr as toolCallCompletedEventType, gt as RunFailedPayload, h as BaseStateRequestedEvent, hn as TurnStoppedEvent, hr as systemMessageCommittedEventType, ht as RunFailedEvent, i as AssistantMessageImportedEvent, in as ToolFailurePromptPart, ir as runSchedulingDeliveredEventType, it as MessageQueuePausedEvent, j as CompactionFailedPayload, jn as baseStateFailedEventType, jt as SteeringMessageCancelledEvent, k as CompactionCompletedPayload, kn as assistantPartialCommittedEventType, kt as RunStartedPayload, l as AssistantPromptParts, ln as TurnCompletedPayload, lr as sessionConfiguredEventType, lt as RecoveryCompletedPayload, m as BaseStateFailedPayload, mn as TurnStartedPayload, mr as summaryCreatedEventType, mt as RunEvent, n as AssistantMessageCommittedPayload, nn as ToolCallStartedEvent, nr as runFailedEventType, nt as LegacyTurnAttemptStartedEvent, o as AssistantPartialCommittedEvent, on as ToolRejectionPromptPart, or as runSchedulingInvalidatedEventType, ot as PendingMessagesPausedEvent, p as BaseStateFailedEvent, pn as TurnStartedEvent, pr as stopTurnRequestedEventType, pt as RunCompletedPayload, q as InferenceEvent, qn as durableEventEnvelope, qt as ToolCallCreatedPayload, r as AssistantMessageContent, rn as ToolCallStartedPayload, rr as runInterruptedEventType, rt as MessageEvent, s as AssistantPartialCommittedPayload, sn as ToolSuccessPromptPart, sr as runSchedulingRequestedEventType, st as PendingMessagesPausedPayload, t as AssistantMessageCommittedEvent, tn as ToolCallRejectionReason, tr as runCompletedEventType, tt as LegacyTurnAttemptCompletedEvent, u as BaseStateCreatedEvent, un as TurnEvent, ur as steeringMessageCancelledEventType, ut as RecoveryContinuation, v as CommandAdmittedPayload, vn as UserMessageCancelledEvent, vr as toolCallFailedEventType, vt as RunInterruptedPayload, w as CommandFailedEvent, wn as UserMessagePromotedPayload, wr as turnStoppedEventType, wt as RunSchedulingInvalidatedEvent, x as CommandCompletedEvent, xn as UserMessageCommittedPayload, xr as turnCompletedEventType, xt as RunSchedulingEvent, y as CommandCancelledEvent, yn as UserMessageCancelledPayload, yr as toolCallRejectedEventType, yt as RunSchedulingDeliveredEvent, z as ContextRebasedEvent, zn as compactionFailedEventType, zt as StopTurnRequestedPayload } from "./durable-CKdCCqhw.js";
6
6
  import { C as toolParamsDeltaEventType, E as traceStatusEventType, S as textDeltaEventType, T as toolParamsStartEventType, _ as TraceStatusEvent, a as RuntimeStatusEvent, b as reasoningDeltaEventType, c as SubscriberStatusPayload, d as ToolParamsDeltaEvent, f as ToolParamsDeltaPayload, g as ToolParamsStartPayload, h as ToolParamsStartEvent, i as ReasoningDeltaPayload, l as TextDeltaEvent, m as ToolParamsEndPayload, n as ModelStreamEvent, o as SubscriberStatusEvent, p as ToolParamsEndEvent, r as ReasoningDeltaEvent, s as SubscriberStatusKind, t as EDAEphemeralEvent, u as TextDeltaPayload, v as TraceStatusKind, w as toolParamsEndEventType, x as subscriberStatusEventType, y as TraceStatusPayload } from "./events-BWuvzVml.js";
7
- import { G as EDACommandTerminalEvent, J as EDARuntimeError, K as EDARuntime, W as CommittedCommandTerminalEvent, X as EDARuntimeSubmit, Y as EDARuntimeShape, q as EDARuntimeConfig } from "./reduced-state-C0CxfyUD.js";
7
+ import { G as EDACommandTerminalEvent, J as EDARuntimeError, K as EDARuntime, W as CommittedCommandTerminalEvent, X as EDARuntimeSubmit, Y as EDARuntimeShape, q as EDARuntimeConfig } from "./reduced-state-D50SR0qM.js";
8
8
  export { AssistantMessageCommittedEvent, AssistantMessageCommittedPayload, AssistantMessageContent, AssistantMessageImportedEvent, AssistantMessageImportedPayload, AssistantPartialCommittedEvent, AssistantPartialCommittedPayload, AssistantPromptPart, AssistantPromptParts, BaseStateCreatedEvent, BaseStateCreatedPayload, BaseStateEvent, BaseStateFailedEvent, BaseStateFailedPayload, BaseStateId, BaseStateRequestedEvent, BaseStateRequestedPayload, CancelPendingMessageCommand, CommandAdmittedEvent, CommandAdmittedPayload, CommandCancelledEvent, CommandCancelledPayload, CommandCompletedEvent, CommandCompletedPayload, CommandEvent, CommandFailedEvent, CommandFailedPayload, CommandId, CommandIdempotencyKey, CommandStartedEvent, CommandStartedPayload, CommittedCommandTerminalEvent, CompactionCompletedEvent, CompactionCompletedPayload, CompactionFailedEvent, CompactionFailedPayload, CompactionId, CompactionRequestedEvent, CompactionRequestedPayload, CompactionStartedEvent, CompactionStartedPayload, ContextAndCompactionEvent, ContextProjectedEvent, ContextProjectedPayload, ContextRebasedEvent, ContextRebasedPayload, ContextVersion, CorrelationId, CurrentEDADurableEvent, DecodedDurableEvent, DurableEventEnvelope, DurablePosition, DurableSubSequenceNumber, EDACommand, EDACommandTerminalEvent, EDADurableEvent, EDADurableEventV1, EDAEphemeralEvent, EDAEventTrace, EDARunTrace, EDARuntime, EDARuntimeConfig, EDARuntimeError, EDARuntimeShape, EDARuntimeSubmit, EDASpanId, EDATraceAttributeValue, EDATraceAttributes, EDATraceContext, EDATraceId, EDATraceLink, EDATraceMetadata, EphemeralEventEnvelope, EventDurability, EventEnvelope, EventId, EventNamespace, EventType, EventTypeName, FailurePayload, ForeignDurableEvent, GrantRunCommand, InferenceCompletedEvent, InferenceCompletedPayload, InferenceEvent, InferenceFailedEvent, InferenceFailedPayload, InferenceId, InferenceStartedEvent, InferenceStartedPayload, LegacyAssistantMessageCommittedEvent, LegacyAttemptEvent, LegacyToolCallCreatedEvent, LegacyTurnAttemptCompletedEvent, LegacyTurnAttemptStartedEvent, MessageEvent, MessageId, MessageQueuePausedEvent, MessageQueuePausedPayload, ModelSelectionPayload, ModelStreamEvent, NonNegativeInt, PendingMessageCancellationReason, PendingMessagesPausedEvent, PendingMessagesPausedPayload, Position, PositionOrder, PositionedEvent, PromotePendingMessageCommand, ProviderPartId, ReasoningDeltaEvent, ReasoningDeltaPayload, RecoveryCompletedEvent, RecoveryCompletedPayload, RecoveryContinuation, RecoveryEvent, ResumePendingMessagesCommand, RunCompletedEvent, RunCompletedPayload, RunEvent, RunFailedEvent, RunFailedPayload, RunId, RunInterruptedEvent, RunInterruptedPayload, RunRequestId, RunSchedulingDeliveredEvent, RunSchedulingDeliveredPayload, RunSchedulingEvent, RunSchedulingGrantedEvent, RunSchedulingGrantedPayload, RunSchedulingInvalidatedEvent, RunSchedulingInvalidatedPayload, RunSchedulingRequestedEvent, RunSchedulingRequestedPayload, RunStartedEvent, RunStartedPayload, RuntimeStatusEvent, SchemaVersion, SequenceNumber, SessionConfiguredEvent, SessionId, SteeringMessageCancelledEvent, SteeringMessageCancelledPayload, SteeringMessageQueuedEvent, SteeringMessageQueuedPayload, StopControlEvent, StopTurnAppliedEvent, StopTurnAppliedPayload, StopTurnCommand, StopTurnRequestedEvent, StopTurnRequestedPayload, SubSequenceNumber, SubmitMessageCommand, SubmitMessageDisposition, SubscriberStatusEvent, SubscriberStatusKind, SubscriberStatusPayload, SummaryCreatedEvent, SummaryCreatedPayload, SummaryId, SystemMessageCommittedEvent, SystemMessageCommittedPayload, SystemPromptText, TextDeltaEvent, TextDeltaPayload, ToolCallCompletedEvent, ToolCallCompletedPayload, ToolCallCreatedEvent, ToolCallCreatedPayload, ToolCallEvent, ToolCallFailedEvent, ToolCallFailedPayload, ToolCallId, ToolCallPromptPart, ToolCallRejectedEvent, ToolCallRejectedPayload, ToolCallRejectionFeedback, ToolCallRejectionReason, ToolCallStartedEvent, ToolCallStartedPayload, ToolFailurePromptPart, ToolName, ToolParamsDeltaEvent, ToolParamsDeltaPayload, ToolParamsEndEvent, ToolParamsEndPayload, ToolParamsStartEvent, ToolParamsStartPayload, ToolPromptPart, ToolRejectionPromptPart, ToolSuccessPromptPart, TraceStatusEvent, TraceStatusKind, TraceStatusPayload, TurnCompletedEvent, TurnCompletedPayload, TurnEvent, TurnFailedEvent, TurnFailedPayload, TurnId, TurnStartedEvent, TurnStartedPayload, TurnStoppedEvent, TurnStoppedPayload, UnixEpochMillis, UsagePayload, UserMessageCancellationReason, UserMessageCancelledEvent, UserMessageCancelledPayload, UserMessageCommittedEvent, UserMessageCommittedPayload, UserMessageContent, UserMessageDisposition, UserMessagePart, UserMessagePromotedEvent, UserMessagePromotedPayload, UserMessageSubmittedEvent, UserMessageSubmittedPayload, assistantMessageCommittedEventType, assistantMessageImportedEventType, assistantPartialCommittedEventType, baseStateCreatedEventType, baseStateFailedEventType, baseStateRequestedEventType, buildEDATraceparent, commandAdmittedEventType, commandCancelledEventType, commandCompletedEventType, commandFailedEventType, commandStartedEventType, compactionCompletedEventType, compactionFailedEventType, compactionRequestedEventType, compactionStartedEventType, comparePosition, contextProjectedEventType, contextRebasedEventType, decodeDurableEventSync, decodeUnknownEDADurableEvent, decodeUnknownEDADurableEventSync, durableEventEnvelope, durablePosition, effectDurableAgentNamespace, inferenceCompletedEventType, inferenceFailedEventType, inferenceStartedEventType, interpretLegacyAttemptForReduction, makeEDAEventTrace, makeEDARunTrace, makeEDATraceContext, makeEDATraceMetadataFromParent, makeEventType, makeRootEDAEventTrace, makeRootEDATraceMetadata, messageQueuePausedEventType, parseEDATraceparent, pendingMessagesPausedEventType, reasoningDeltaEventType, recoveryCompletedEventType, runCompletedEventType, runFailedEventType, runInterruptedEventType, runSchedulingDeliveredEventType, runSchedulingGrantedEventType, runSchedulingInvalidatedEventType, runSchedulingRequestedEventType, runStartedEventType, schemaV1, sessionConfiguredEventType, steeringMessageCancelledEventType, steeringMessageQueuedEventType, stopTurnAppliedEventType, stopTurnRequestedEventType, subscriberStatusEventType, summaryCreatedEventType, systemMessageCommittedEventType, textDeltaEventType, toolCallCompletedEventType, toolCallCreatedEventType, toolCallFailedEventType, toolCallRejectedEventType, toolCallStartedEventType, toolParamsDeltaEventType, toolParamsEndEventType, toolParamsStartEventType, traceStatusEventType, turnCompletedEventType, turnFailedEventType, turnStartedEventType, turnStoppedEventType, userMessageCancelledEventType, userMessageCommittedEventType, userMessagePromotedEventType, userMessageSubmittedEventType };
@@ -5991,105 +5991,6 @@ interface RunInferenceInput extends RunInferenceContext {
5991
5991
  /** Summary returned after one provider inference stream is consumed. */
5992
5992
  declare const InferenceRunResult: Schema.Struct<{
5993
5993
  readonly started: Schema.Codec<CommittedDurableEvent<{
5994
- readonly eventId: string & import("effect/Brand").Brand<"EventId">;
5995
- readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
5996
- readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
5997
- readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
5998
- readonly trace: {
5999
- readonly span: {
6000
- readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
6001
- readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
6002
- readonly sampled: boolean;
6003
- readonly tracestate: string | null;
6004
- };
6005
- readonly links: readonly {
6006
- readonly context: {
6007
- readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
6008
- readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
6009
- readonly sampled: boolean;
6010
- readonly tracestate: string | null;
6011
- };
6012
- readonly attributes: {
6013
- readonly [x: string]: string | number | boolean;
6014
- };
6015
- }[];
6016
- };
6017
- readonly durability: "durable";
6018
- readonly namespace: "effect-durable-agent";
6019
- readonly type: "CommandCompleted";
6020
- readonly schemaVersion: number;
6021
- readonly payload: {
6022
- readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
6023
- };
6024
- } | {
6025
- readonly eventId: string & import("effect/Brand").Brand<"EventId">;
6026
- readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
6027
- readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
6028
- readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
6029
- readonly trace: {
6030
- readonly span: {
6031
- readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
6032
- readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
6033
- readonly sampled: boolean;
6034
- readonly tracestate: string | null;
6035
- };
6036
- readonly links: readonly {
6037
- readonly context: {
6038
- readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
6039
- readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
6040
- readonly sampled: boolean;
6041
- readonly tracestate: string | null;
6042
- };
6043
- readonly attributes: {
6044
- readonly [x: string]: string | number | boolean;
6045
- };
6046
- }[];
6047
- };
6048
- readonly durability: "durable";
6049
- readonly namespace: "effect-durable-agent";
6050
- readonly type: "CommandFailed";
6051
- readonly schemaVersion: number;
6052
- readonly payload: {
6053
- readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
6054
- readonly error: {
6055
- readonly message: string;
6056
- readonly code?: string | undefined;
6057
- readonly details?: unknown;
6058
- };
6059
- };
6060
- } | {
6061
- readonly eventId: string & import("effect/Brand").Brand<"EventId">;
6062
- readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
6063
- readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
6064
- readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
6065
- readonly trace: {
6066
- readonly span: {
6067
- readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
6068
- readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
6069
- readonly sampled: boolean;
6070
- readonly tracestate: string | null;
6071
- };
6072
- readonly links: readonly {
6073
- readonly context: {
6074
- readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
6075
- readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
6076
- readonly sampled: boolean;
6077
- readonly tracestate: string | null;
6078
- };
6079
- readonly attributes: {
6080
- readonly [x: string]: string | number | boolean;
6081
- };
6082
- }[];
6083
- };
6084
- readonly durability: "durable";
6085
- readonly namespace: "effect-durable-agent";
6086
- readonly type: "CommandCancelled";
6087
- readonly schemaVersion: number;
6088
- readonly payload: {
6089
- readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
6090
- readonly reason: string;
6091
- };
6092
- } | {
6093
5994
  readonly eventId: string & import("effect/Brand").Brand<"EventId">;
6094
5995
  readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
6095
5996
  readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
@@ -6608,11 +6509,10 @@ declare const InferenceRunResult: Schema.Struct<{
6608
6509
  };
6609
6510
  readonly durability: "durable";
6610
6511
  readonly namespace: "effect-durable-agent";
6611
- readonly type: "SystemMessageCommitted";
6512
+ readonly type: "CommandCompleted";
6612
6513
  readonly schemaVersion: number;
6613
6514
  readonly payload: {
6614
- readonly messageId: string & import("effect/Brand").Brand<"MessageId">;
6615
- readonly content: string;
6515
+ readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
6616
6516
  };
6617
6517
  } | {
6618
6518
  readonly eventId: string & import("effect/Brand").Brand<"EventId">;
@@ -6640,58 +6540,79 @@ declare const InferenceRunResult: Schema.Struct<{
6640
6540
  };
6641
6541
  readonly durability: "durable";
6642
6542
  readonly namespace: "effect-durable-agent";
6643
- readonly type: "UserMessageCommitted";
6543
+ readonly type: "CommandFailed";
6644
6544
  readonly schemaVersion: number;
6645
6545
  readonly payload: {
6646
6546
  readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
6647
- readonly messageId: string & import("effect/Brand").Brand<"MessageId">;
6648
- readonly content: readonly [{
6649
- readonly type: "text";
6650
- readonly text: string;
6651
- readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
6652
- readonly options: {
6653
- readonly [x: string]: Schema.Json;
6654
- };
6655
- }, ...{
6656
- readonly type: "text";
6657
- readonly text: string;
6658
- readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
6659
- readonly options: {
6660
- readonly [x: string]: Schema.Json;
6661
- };
6662
- }[]] | readonly [{
6663
- readonly type: "text";
6664
- readonly text: string;
6665
- readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
6666
- readonly options: {
6667
- readonly [x: string]: Schema.Json;
6547
+ readonly error: {
6548
+ readonly message: string;
6549
+ readonly code?: string | undefined;
6550
+ readonly details?: unknown;
6551
+ };
6552
+ };
6553
+ } | {
6554
+ readonly eventId: string & import("effect/Brand").Brand<"EventId">;
6555
+ readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
6556
+ readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
6557
+ readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
6558
+ readonly trace: {
6559
+ readonly span: {
6560
+ readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
6561
+ readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
6562
+ readonly sampled: boolean;
6563
+ readonly tracestate: string | null;
6564
+ };
6565
+ readonly links: readonly {
6566
+ readonly context: {
6567
+ readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
6568
+ readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
6569
+ readonly sampled: boolean;
6570
+ readonly tracestate: string | null;
6668
6571
  };
6669
- } | {
6670
- readonly type: "file";
6671
- readonly mediaType: string;
6672
- readonly fileName?: string | undefined;
6673
- readonly data: string | URL | Uint8Array<ArrayBufferLike>;
6674
- readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
6675
- readonly options: {
6676
- readonly [x: string]: Schema.Json;
6572
+ readonly attributes: {
6573
+ readonly [x: string]: string | number | boolean;
6677
6574
  };
6678
- }, ...({
6679
- readonly type: "text";
6680
- readonly text: string;
6681
- readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
6682
- readonly options: {
6683
- readonly [x: string]: Schema.Json;
6575
+ }[];
6576
+ };
6577
+ readonly durability: "durable";
6578
+ readonly namespace: "effect-durable-agent";
6579
+ readonly type: "CommandCancelled";
6580
+ readonly schemaVersion: number;
6581
+ readonly payload: {
6582
+ readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
6583
+ readonly reason: string;
6584
+ };
6585
+ } | {
6586
+ readonly eventId: string & import("effect/Brand").Brand<"EventId">;
6587
+ readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
6588
+ readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
6589
+ readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
6590
+ readonly trace: {
6591
+ readonly span: {
6592
+ readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
6593
+ readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
6594
+ readonly sampled: boolean;
6595
+ readonly tracestate: string | null;
6596
+ };
6597
+ readonly links: readonly {
6598
+ readonly context: {
6599
+ readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
6600
+ readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
6601
+ readonly sampled: boolean;
6602
+ readonly tracestate: string | null;
6684
6603
  };
6685
- } | {
6686
- readonly type: "file";
6687
- readonly mediaType: string;
6688
- readonly fileName?: string | undefined;
6689
- readonly data: string | URL | Uint8Array<ArrayBufferLike>;
6690
- readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
6691
- readonly options: {
6692
- readonly [x: string]: Schema.Json;
6604
+ readonly attributes: {
6605
+ readonly [x: string]: string | number | boolean;
6693
6606
  };
6694
- })[]];
6607
+ }[];
6608
+ };
6609
+ readonly durability: "durable";
6610
+ readonly namespace: "effect-durable-agent";
6611
+ readonly type: "SystemMessageCommitted";
6612
+ readonly schemaVersion: number;
6613
+ readonly payload: {
6614
+ readonly messageId: string & import("effect/Brand").Brand<"MessageId">;
6615
+ readonly content: string;
6695
6616
  };
6696
6617
  } | {
6697
6618
  readonly eventId: string & import("effect/Brand").Brand<"EventId">;
@@ -6719,12 +6640,11 @@ declare const InferenceRunResult: Schema.Struct<{
6719
6640
  };
6720
6641
  readonly durability: "durable";
6721
6642
  readonly namespace: "effect-durable-agent";
6722
- readonly type: "SteeringMessageQueued";
6643
+ readonly type: "UserMessageCommitted";
6723
6644
  readonly schemaVersion: number;
6724
6645
  readonly payload: {
6725
6646
  readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
6726
6647
  readonly messageId: string & import("effect/Brand").Brand<"MessageId">;
6727
- readonly runId: string & import("effect/Brand").Brand<"RunId">;
6728
6648
  readonly content: readonly [{
6729
6649
  readonly type: "text";
6730
6650
  readonly text: string;
@@ -6799,45 +6719,12 @@ declare const InferenceRunResult: Schema.Struct<{
6799
6719
  };
6800
6720
  readonly durability: "durable";
6801
6721
  readonly namespace: "effect-durable-agent";
6802
- readonly type: "SteeringMessageCancelled";
6803
- readonly schemaVersion: number;
6804
- readonly payload: {
6805
- readonly messageId: string & import("effect/Brand").Brand<"MessageId">;
6806
- readonly runId: string & import("effect/Brand").Brand<"RunId">;
6807
- readonly reason: string;
6808
- };
6809
- } | {
6810
- readonly eventId: string & import("effect/Brand").Brand<"EventId">;
6811
- readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
6812
- readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
6813
- readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
6814
- readonly trace: {
6815
- readonly span: {
6816
- readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
6817
- readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
6818
- readonly sampled: boolean;
6819
- readonly tracestate: string | null;
6820
- };
6821
- readonly links: readonly {
6822
- readonly context: {
6823
- readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
6824
- readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
6825
- readonly sampled: boolean;
6826
- readonly tracestate: string | null;
6827
- };
6828
- readonly attributes: {
6829
- readonly [x: string]: string | number | boolean;
6830
- };
6831
- }[];
6832
- };
6833
- readonly durability: "durable";
6834
- readonly namespace: "effect-durable-agent";
6835
- readonly type: "UserMessageSubmitted";
6722
+ readonly type: "SteeringMessageQueued";
6836
6723
  readonly schemaVersion: number;
6837
6724
  readonly payload: {
6838
6725
  readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
6839
6726
  readonly messageId: string & import("effect/Brand").Brand<"MessageId">;
6840
- readonly disposition: "queue" | "steer";
6727
+ readonly runId: string & import("effect/Brand").Brand<"RunId">;
6841
6728
  readonly content: readonly [{
6842
6729
  readonly type: "text";
6843
6730
  readonly text: string;
@@ -6912,13 +6799,126 @@ declare const InferenceRunResult: Schema.Struct<{
6912
6799
  };
6913
6800
  readonly durability: "durable";
6914
6801
  readonly namespace: "effect-durable-agent";
6915
- readonly type: "UserMessagePromoted";
6802
+ readonly type: "SteeringMessageCancelled";
6916
6803
  readonly schemaVersion: number;
6917
6804
  readonly payload: {
6918
- readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
6919
6805
  readonly messageId: string & import("effect/Brand").Brand<"MessageId">;
6920
- readonly from: "queue";
6921
- readonly to: "steer";
6806
+ readonly runId: string & import("effect/Brand").Brand<"RunId">;
6807
+ readonly reason: string;
6808
+ };
6809
+ } | {
6810
+ readonly eventId: string & import("effect/Brand").Brand<"EventId">;
6811
+ readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
6812
+ readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
6813
+ readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
6814
+ readonly trace: {
6815
+ readonly span: {
6816
+ readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
6817
+ readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
6818
+ readonly sampled: boolean;
6819
+ readonly tracestate: string | null;
6820
+ };
6821
+ readonly links: readonly {
6822
+ readonly context: {
6823
+ readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
6824
+ readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
6825
+ readonly sampled: boolean;
6826
+ readonly tracestate: string | null;
6827
+ };
6828
+ readonly attributes: {
6829
+ readonly [x: string]: string | number | boolean;
6830
+ };
6831
+ }[];
6832
+ };
6833
+ readonly durability: "durable";
6834
+ readonly namespace: "effect-durable-agent";
6835
+ readonly type: "UserMessageSubmitted";
6836
+ readonly schemaVersion: number;
6837
+ readonly payload: {
6838
+ readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
6839
+ readonly messageId: string & import("effect/Brand").Brand<"MessageId">;
6840
+ readonly disposition: "queue" | "steer";
6841
+ readonly content: readonly [{
6842
+ readonly type: "text";
6843
+ readonly text: string;
6844
+ readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
6845
+ readonly options: {
6846
+ readonly [x: string]: Schema.Json;
6847
+ };
6848
+ }, ...{
6849
+ readonly type: "text";
6850
+ readonly text: string;
6851
+ readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
6852
+ readonly options: {
6853
+ readonly [x: string]: Schema.Json;
6854
+ };
6855
+ }[]] | readonly [{
6856
+ readonly type: "text";
6857
+ readonly text: string;
6858
+ readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
6859
+ readonly options: {
6860
+ readonly [x: string]: Schema.Json;
6861
+ };
6862
+ } | {
6863
+ readonly type: "file";
6864
+ readonly mediaType: string;
6865
+ readonly fileName?: string | undefined;
6866
+ readonly data: string | URL | Uint8Array<ArrayBufferLike>;
6867
+ readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
6868
+ readonly options: {
6869
+ readonly [x: string]: Schema.Json;
6870
+ };
6871
+ }, ...({
6872
+ readonly type: "text";
6873
+ readonly text: string;
6874
+ readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
6875
+ readonly options: {
6876
+ readonly [x: string]: Schema.Json;
6877
+ };
6878
+ } | {
6879
+ readonly type: "file";
6880
+ readonly mediaType: string;
6881
+ readonly fileName?: string | undefined;
6882
+ readonly data: string | URL | Uint8Array<ArrayBufferLike>;
6883
+ readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
6884
+ readonly options: {
6885
+ readonly [x: string]: Schema.Json;
6886
+ };
6887
+ })[]];
6888
+ };
6889
+ } | {
6890
+ readonly eventId: string & import("effect/Brand").Brand<"EventId">;
6891
+ readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
6892
+ readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
6893
+ readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
6894
+ readonly trace: {
6895
+ readonly span: {
6896
+ readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
6897
+ readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
6898
+ readonly sampled: boolean;
6899
+ readonly tracestate: string | null;
6900
+ };
6901
+ readonly links: readonly {
6902
+ readonly context: {
6903
+ readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
6904
+ readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
6905
+ readonly sampled: boolean;
6906
+ readonly tracestate: string | null;
6907
+ };
6908
+ readonly attributes: {
6909
+ readonly [x: string]: string | number | boolean;
6910
+ };
6911
+ }[];
6912
+ };
6913
+ readonly durability: "durable";
6914
+ readonly namespace: "effect-durable-agent";
6915
+ readonly type: "UserMessagePromoted";
6916
+ readonly schemaVersion: number;
6917
+ readonly payload: {
6918
+ readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
6919
+ readonly messageId: string & import("effect/Brand").Brand<"MessageId">;
6920
+ readonly from: "queue";
6921
+ readonly to: "steer";
6922
6922
  };
6923
6923
  } | {
6924
6924
  readonly eventId: string & import("effect/Brand").Brand<"EventId">;
@@ -8639,105 +8639,6 @@ declare const InferenceRunResult: Schema.Struct<{
8639
8639
  readonly partsRecorded: Schema.Int;
8640
8640
  readonly terminal: Schema.Union<readonly [Schema.TaggedStruct<"InferenceRunFinished", {
8641
8641
  readonly committed: Schema.$Array<Schema.Codec<CommittedDurableEvent<{
8642
- readonly eventId: string & import("effect/Brand").Brand<"EventId">;
8643
- readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
8644
- readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
8645
- readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
8646
- readonly trace: {
8647
- readonly span: {
8648
- readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
8649
- readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
8650
- readonly sampled: boolean;
8651
- readonly tracestate: string | null;
8652
- };
8653
- readonly links: readonly {
8654
- readonly context: {
8655
- readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
8656
- readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
8657
- readonly sampled: boolean;
8658
- readonly tracestate: string | null;
8659
- };
8660
- readonly attributes: {
8661
- readonly [x: string]: string | number | boolean;
8662
- };
8663
- }[];
8664
- };
8665
- readonly durability: "durable";
8666
- readonly namespace: "effect-durable-agent";
8667
- readonly type: "CommandCompleted";
8668
- readonly schemaVersion: number;
8669
- readonly payload: {
8670
- readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
8671
- };
8672
- } | {
8673
- readonly eventId: string & import("effect/Brand").Brand<"EventId">;
8674
- readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
8675
- readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
8676
- readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
8677
- readonly trace: {
8678
- readonly span: {
8679
- readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
8680
- readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
8681
- readonly sampled: boolean;
8682
- readonly tracestate: string | null;
8683
- };
8684
- readonly links: readonly {
8685
- readonly context: {
8686
- readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
8687
- readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
8688
- readonly sampled: boolean;
8689
- readonly tracestate: string | null;
8690
- };
8691
- readonly attributes: {
8692
- readonly [x: string]: string | number | boolean;
8693
- };
8694
- }[];
8695
- };
8696
- readonly durability: "durable";
8697
- readonly namespace: "effect-durable-agent";
8698
- readonly type: "CommandFailed";
8699
- readonly schemaVersion: number;
8700
- readonly payload: {
8701
- readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
8702
- readonly error: {
8703
- readonly message: string;
8704
- readonly code?: string | undefined;
8705
- readonly details?: unknown;
8706
- };
8707
- };
8708
- } | {
8709
- readonly eventId: string & import("effect/Brand").Brand<"EventId">;
8710
- readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
8711
- readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
8712
- readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
8713
- readonly trace: {
8714
- readonly span: {
8715
- readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
8716
- readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
8717
- readonly sampled: boolean;
8718
- readonly tracestate: string | null;
8719
- };
8720
- readonly links: readonly {
8721
- readonly context: {
8722
- readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
8723
- readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
8724
- readonly sampled: boolean;
8725
- readonly tracestate: string | null;
8726
- };
8727
- readonly attributes: {
8728
- readonly [x: string]: string | number | boolean;
8729
- };
8730
- }[];
8731
- };
8732
- readonly durability: "durable";
8733
- readonly namespace: "effect-durable-agent";
8734
- readonly type: "CommandCancelled";
8735
- readonly schemaVersion: number;
8736
- readonly payload: {
8737
- readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
8738
- readonly reason: string;
8739
- };
8740
- } | {
8741
8642
  readonly eventId: string & import("effect/Brand").Brand<"EventId">;
8742
8643
  readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
8743
8644
  readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
@@ -9230,6 +9131,105 @@ declare const InferenceRunResult: Schema.Struct<{
9230
9131
  readonly payload: {
9231
9132
  readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
9232
9133
  };
9134
+ } | {
9135
+ readonly eventId: string & import("effect/Brand").Brand<"EventId">;
9136
+ readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
9137
+ readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
9138
+ readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
9139
+ readonly trace: {
9140
+ readonly span: {
9141
+ readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
9142
+ readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
9143
+ readonly sampled: boolean;
9144
+ readonly tracestate: string | null;
9145
+ };
9146
+ readonly links: readonly {
9147
+ readonly context: {
9148
+ readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
9149
+ readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
9150
+ readonly sampled: boolean;
9151
+ readonly tracestate: string | null;
9152
+ };
9153
+ readonly attributes: {
9154
+ readonly [x: string]: string | number | boolean;
9155
+ };
9156
+ }[];
9157
+ };
9158
+ readonly durability: "durable";
9159
+ readonly namespace: "effect-durable-agent";
9160
+ readonly type: "CommandCompleted";
9161
+ readonly schemaVersion: number;
9162
+ readonly payload: {
9163
+ readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
9164
+ };
9165
+ } | {
9166
+ readonly eventId: string & import("effect/Brand").Brand<"EventId">;
9167
+ readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
9168
+ readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
9169
+ readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
9170
+ readonly trace: {
9171
+ readonly span: {
9172
+ readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
9173
+ readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
9174
+ readonly sampled: boolean;
9175
+ readonly tracestate: string | null;
9176
+ };
9177
+ readonly links: readonly {
9178
+ readonly context: {
9179
+ readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
9180
+ readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
9181
+ readonly sampled: boolean;
9182
+ readonly tracestate: string | null;
9183
+ };
9184
+ readonly attributes: {
9185
+ readonly [x: string]: string | number | boolean;
9186
+ };
9187
+ }[];
9188
+ };
9189
+ readonly durability: "durable";
9190
+ readonly namespace: "effect-durable-agent";
9191
+ readonly type: "CommandFailed";
9192
+ readonly schemaVersion: number;
9193
+ readonly payload: {
9194
+ readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
9195
+ readonly error: {
9196
+ readonly message: string;
9197
+ readonly code?: string | undefined;
9198
+ readonly details?: unknown;
9199
+ };
9200
+ };
9201
+ } | {
9202
+ readonly eventId: string & import("effect/Brand").Brand<"EventId">;
9203
+ readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
9204
+ readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
9205
+ readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
9206
+ readonly trace: {
9207
+ readonly span: {
9208
+ readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
9209
+ readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
9210
+ readonly sampled: boolean;
9211
+ readonly tracestate: string | null;
9212
+ };
9213
+ readonly links: readonly {
9214
+ readonly context: {
9215
+ readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
9216
+ readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
9217
+ readonly sampled: boolean;
9218
+ readonly tracestate: string | null;
9219
+ };
9220
+ readonly attributes: {
9221
+ readonly [x: string]: string | number | boolean;
9222
+ };
9223
+ }[];
9224
+ };
9225
+ readonly durability: "durable";
9226
+ readonly namespace: "effect-durable-agent";
9227
+ readonly type: "CommandCancelled";
9228
+ readonly schemaVersion: number;
9229
+ readonly payload: {
9230
+ readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
9231
+ readonly reason: string;
9232
+ };
9233
9233
  } | {
9234
9234
  readonly eventId: string & import("effect/Brand").Brand<"EventId">;
9235
9235
  readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
@@ -11289,105 +11289,6 @@ declare const InferenceRunResult: Schema.Struct<{
11289
11289
  readonly responseParts: Schema.$Array<Schema.Any>;
11290
11290
  }>, Schema.TaggedStruct<"InferenceRunFailed", {
11291
11291
  readonly committed: Schema.$Array<Schema.Codec<CommittedDurableEvent<{
11292
- readonly eventId: string & import("effect/Brand").Brand<"EventId">;
11293
- readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
11294
- readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
11295
- readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
11296
- readonly trace: {
11297
- readonly span: {
11298
- readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
11299
- readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
11300
- readonly sampled: boolean;
11301
- readonly tracestate: string | null;
11302
- };
11303
- readonly links: readonly {
11304
- readonly context: {
11305
- readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
11306
- readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
11307
- readonly sampled: boolean;
11308
- readonly tracestate: string | null;
11309
- };
11310
- readonly attributes: {
11311
- readonly [x: string]: string | number | boolean;
11312
- };
11313
- }[];
11314
- };
11315
- readonly durability: "durable";
11316
- readonly namespace: "effect-durable-agent";
11317
- readonly type: "CommandCompleted";
11318
- readonly schemaVersion: number;
11319
- readonly payload: {
11320
- readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
11321
- };
11322
- } | {
11323
- readonly eventId: string & import("effect/Brand").Brand<"EventId">;
11324
- readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
11325
- readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
11326
- readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
11327
- readonly trace: {
11328
- readonly span: {
11329
- readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
11330
- readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
11331
- readonly sampled: boolean;
11332
- readonly tracestate: string | null;
11333
- };
11334
- readonly links: readonly {
11335
- readonly context: {
11336
- readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
11337
- readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
11338
- readonly sampled: boolean;
11339
- readonly tracestate: string | null;
11340
- };
11341
- readonly attributes: {
11342
- readonly [x: string]: string | number | boolean;
11343
- };
11344
- }[];
11345
- };
11346
- readonly durability: "durable";
11347
- readonly namespace: "effect-durable-agent";
11348
- readonly type: "CommandFailed";
11349
- readonly schemaVersion: number;
11350
- readonly payload: {
11351
- readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
11352
- readonly error: {
11353
- readonly message: string;
11354
- readonly code?: string | undefined;
11355
- readonly details?: unknown;
11356
- };
11357
- };
11358
- } | {
11359
- readonly eventId: string & import("effect/Brand").Brand<"EventId">;
11360
- readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
11361
- readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
11362
- readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
11363
- readonly trace: {
11364
- readonly span: {
11365
- readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
11366
- readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
11367
- readonly sampled: boolean;
11368
- readonly tracestate: string | null;
11369
- };
11370
- readonly links: readonly {
11371
- readonly context: {
11372
- readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
11373
- readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
11374
- readonly sampled: boolean;
11375
- readonly tracestate: string | null;
11376
- };
11377
- readonly attributes: {
11378
- readonly [x: string]: string | number | boolean;
11379
- };
11380
- }[];
11381
- };
11382
- readonly durability: "durable";
11383
- readonly namespace: "effect-durable-agent";
11384
- readonly type: "CommandCancelled";
11385
- readonly schemaVersion: number;
11386
- readonly payload: {
11387
- readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
11388
- readonly reason: string;
11389
- };
11390
- } | {
11391
11292
  readonly eventId: string & import("effect/Brand").Brand<"EventId">;
11392
11293
  readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
11393
11294
  readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
@@ -11880,6 +11781,105 @@ declare const InferenceRunResult: Schema.Struct<{
11880
11781
  readonly payload: {
11881
11782
  readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
11882
11783
  };
11784
+ } | {
11785
+ readonly eventId: string & import("effect/Brand").Brand<"EventId">;
11786
+ readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
11787
+ readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
11788
+ readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
11789
+ readonly trace: {
11790
+ readonly span: {
11791
+ readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
11792
+ readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
11793
+ readonly sampled: boolean;
11794
+ readonly tracestate: string | null;
11795
+ };
11796
+ readonly links: readonly {
11797
+ readonly context: {
11798
+ readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
11799
+ readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
11800
+ readonly sampled: boolean;
11801
+ readonly tracestate: string | null;
11802
+ };
11803
+ readonly attributes: {
11804
+ readonly [x: string]: string | number | boolean;
11805
+ };
11806
+ }[];
11807
+ };
11808
+ readonly durability: "durable";
11809
+ readonly namespace: "effect-durable-agent";
11810
+ readonly type: "CommandCompleted";
11811
+ readonly schemaVersion: number;
11812
+ readonly payload: {
11813
+ readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
11814
+ };
11815
+ } | {
11816
+ readonly eventId: string & import("effect/Brand").Brand<"EventId">;
11817
+ readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
11818
+ readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
11819
+ readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
11820
+ readonly trace: {
11821
+ readonly span: {
11822
+ readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
11823
+ readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
11824
+ readonly sampled: boolean;
11825
+ readonly tracestate: string | null;
11826
+ };
11827
+ readonly links: readonly {
11828
+ readonly context: {
11829
+ readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
11830
+ readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
11831
+ readonly sampled: boolean;
11832
+ readonly tracestate: string | null;
11833
+ };
11834
+ readonly attributes: {
11835
+ readonly [x: string]: string | number | boolean;
11836
+ };
11837
+ }[];
11838
+ };
11839
+ readonly durability: "durable";
11840
+ readonly namespace: "effect-durable-agent";
11841
+ readonly type: "CommandFailed";
11842
+ readonly schemaVersion: number;
11843
+ readonly payload: {
11844
+ readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
11845
+ readonly error: {
11846
+ readonly message: string;
11847
+ readonly code?: string | undefined;
11848
+ readonly details?: unknown;
11849
+ };
11850
+ };
11851
+ } | {
11852
+ readonly eventId: string & import("effect/Brand").Brand<"EventId">;
11853
+ readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
11854
+ readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
11855
+ readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
11856
+ readonly trace: {
11857
+ readonly span: {
11858
+ readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
11859
+ readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
11860
+ readonly sampled: boolean;
11861
+ readonly tracestate: string | null;
11862
+ };
11863
+ readonly links: readonly {
11864
+ readonly context: {
11865
+ readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
11866
+ readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
11867
+ readonly sampled: boolean;
11868
+ readonly tracestate: string | null;
11869
+ };
11870
+ readonly attributes: {
11871
+ readonly [x: string]: string | number | boolean;
11872
+ };
11873
+ }[];
11874
+ };
11875
+ readonly durability: "durable";
11876
+ readonly namespace: "effect-durable-agent";
11877
+ readonly type: "CommandCancelled";
11878
+ readonly schemaVersion: number;
11879
+ readonly payload: {
11880
+ readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
11881
+ readonly reason: string;
11882
+ };
11883
11883
  } | {
11884
11884
  readonly eventId: string & import("effect/Brand").Brand<"EventId">;
11885
11885
  readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
@@ -47779,4 +47779,4 @@ declare const activeTurnIdentityForCommand: (state: ReducedState, commandId: Com
47779
47779
  declare const classifyRecoverableWork: (state: ReducedState) => RecoverableWork;
47780
47780
  //#endregion
47781
47781
  export { EDASessionQueryShape as $, EDASinkRawDurableBatch as $t, TurnTerminal as A, EDAPromptProjector as An, RunRequestOutcome as At, pendingCommands as B, runSchedulingInputMessageIds as Bt, RunRecord as C, defaultCompactionThresholdTokens as Cn, RunScheduler as Ct, ToolDecision as D, EDANativeCompaction as Dn, DeferredRunResolution as Dt, ToolCallRecord as E, SessionContext as En, RunSchedulingDeliveryError as Et, encodeReducedStateCheckpoint as F, isEDACacheBreakpoint as Fn, RunSchedulingRequestRecord as Ft, EDACommandTerminalEvent as G, EDAProjectedSink as Gt, reduceCommittedEvents as H, EDADurableSinkDefinition as Ht, foldReducedState as I, nativeCompactionSummaryMessage as In, RunSchedulingWork as It, EDARuntimeError as J, EDASink as Jt, EDARuntime as K, EDARawDurableSinkDefinition as Kt, frameworkReducedStateReducerName as L, canGrantRun as Lt, activeTurnIdentityForCommand as M, EDA_PROMPT_OPTIONS_KEY as Mn, RunSchedulingCancellationPlan as Mt, classifyRecoverableWork as N, buildEDAPrompt as Nn, RunSchedulingInput as Nt, ToolTerminal as O, EDAProjectedPromptContext as On, LocalRunResolution as Ot, decodeReducedStateCheckpoint as P, getNativeCompaction as Pn, RunSchedulingRequest as Pt, EDASessionQuery as Q, EDASinkInterests as Qt, frameworkReducedStateReducerSchemaVersion as R, planRunSchedulingCancellation as Rt, ReducedStateCheckpointToolTerminal as S, defaultCompactionSummaryInstructions as Sn, ToolExecutor as St, StopRequestRecord as T, EventFactory as Tn, RunSchedulingDelivery as Tt, reducedStateCheckpointEventSeqs as U, EDAEphemeralSinkDefinition as Ut, pendingStopCommand as V, waitingRunControl as Vt, CommittedCommandTerminalEvent as W, EDAProjectedDurableSinkDefinition as Wt, EDARuntimeSubmit as X, EDASinkContext as Xt, EDARuntimeShape as Y, EDASinkCheckpoint as Yt, EDASessionEventPage as Z, EDASinkDurableBatch as Zt, ReducedStateCheckpointCommandRecord as _, LanguageModelSummaryCompactionExecutorOptions as _n, SessionStateShape as _t, CompactionRecord as a, CompactionError as an, SessionCommandCompleted as at, ReducedStateCheckpointToolCallRecord as b, defaultCompactionMinSummarizableTokens as bn, InferenceRunner as bt, InferenceRecord as c, CompactionExecutorShape as cn, SessionCommandResult as ct, LifecycleTiming as d, CompactionPolicy as dn, SessionForkedCommand as dt, EDASinkRegistry as en, EDASessionSnapshot as et, MessageRecord as f, CompactionPolicyInput as fn, SessionNoRunnableCommand as ft, ReducedState as g, CompactionRunnerShape as gn, SessionStateError as gt, RecoveryContinuationRecord as h, CompactionRunnerInput as hn, SessionState as ht, CommandTerminal as i, ApproximateTokenThresholdCompactionPolicyOptions as in, SessionCommandCancelled as it, activeCommand as j, EDAPromptProjectorShape as jn, RunResolution as jt, TurnRecord as k, EDAPromptProjectionInput as kn, RunGrantResult as kt, InferenceTerminal as l, CompactionOutput as ln, SessionDrainProcessed as lt, RecoverableWork as m, CompactionRunner as mn, SessionRunInput as mt, ActiveTurnIdentity as n, EDASinkRunnerStartInput as nn, SessionCommandAdmissionConflict as nt, CompactionTerminal as o, CompactionExecutor as on, SessionCommandFailed as ot, PendingCommand as p, CompactionPolicyShape as pn, SessionNoRunnableReason as pt, EDARuntimeConfig as q, EDARawSink as qt, CommandRecord as r, LiveEventBus as rn, SessionCommandAdmissionError as rt, ContextRecord as s, CompactionExecutorInput as sn, SessionCommandOutcome as st, ActiveCommandEvidence as t, EDASinkRegistryShape as tn, EDASubmittable as tt, LifecycleFailure as u, CompactionPlan as un, SessionDrainResult as ut, ReducedStateCheckpointMessageRecord as v, PromptPrefixSummaryCompactionExecutorOptions as vn, SessionStateSnapshotData as vt, RunTerminal as w, promptPrefixSummaryCompactionExecutor as wn, RunSchedulerShape as wt, ReducedStateCheckpointToolDecision as x, defaultCompactionRetainTailTokens as xn, InferenceRunnerStreamPart as xt, ReducedStateCheckpointPayload as y, defaultCompactionCharsPerToken as yn, TurnRunner as yt, initialReducedState as z, planWaitingRunInterruption as zt };
47782
- //# sourceMappingURL=reduced-state-C0CxfyUD.d.ts.map
47782
+ //# sourceMappingURL=reduced-state-D50SR0qM.d.ts.map
@@ -1,2 +1,2 @@
1
- import { Cn as defaultCompactionThresholdTokens, Sn as defaultCompactionSummaryInstructions, _n as LanguageModelSummaryCompactionExecutorOptions, an as CompactionError, bn as defaultCompactionMinSummarizableTokens, cn as CompactionExecutorShape, dn as CompactionPolicy, fn as CompactionPolicyInput, gn as CompactionRunnerShape, hn as CompactionRunnerInput, in as ApproximateTokenThresholdCompactionPolicyOptions, ln as CompactionOutput, mn as CompactionRunner, on as CompactionExecutor, pn as CompactionPolicyShape, sn as CompactionExecutorInput, un as CompactionPlan, vn as PromptPrefixSummaryCompactionExecutorOptions, wn as promptPrefixSummaryCompactionExecutor, xn as defaultCompactionRetainTailTokens, yn as defaultCompactionCharsPerToken } from "../reduced-state-C0CxfyUD.js";
1
+ import { Cn as defaultCompactionThresholdTokens, Sn as defaultCompactionSummaryInstructions, _n as LanguageModelSummaryCompactionExecutorOptions, an as CompactionError, bn as defaultCompactionMinSummarizableTokens, cn as CompactionExecutorShape, dn as CompactionPolicy, fn as CompactionPolicyInput, gn as CompactionRunnerShape, hn as CompactionRunnerInput, in as ApproximateTokenThresholdCompactionPolicyOptions, ln as CompactionOutput, mn as CompactionRunner, on as CompactionExecutor, pn as CompactionPolicyShape, sn as CompactionExecutorInput, un as CompactionPlan, vn as PromptPrefixSummaryCompactionExecutorOptions, wn as promptPrefixSummaryCompactionExecutor, xn as defaultCompactionRetainTailTokens, yn as defaultCompactionCharsPerToken } from "../reduced-state-D50SR0qM.js";
2
2
  export { ApproximateTokenThresholdCompactionPolicyOptions, CompactionError, CompactionExecutor, CompactionExecutorInput, CompactionExecutorShape, CompactionOutput, CompactionPlan, CompactionPolicy, CompactionPolicyInput, CompactionPolicyShape, CompactionRunner, CompactionRunnerInput, CompactionRunnerShape, LanguageModelSummaryCompactionExecutorOptions, PromptPrefixSummaryCompactionExecutorOptions, defaultCompactionCharsPerToken, defaultCompactionMinSummarizableTokens, defaultCompactionRetainTailTokens, defaultCompactionSummaryInstructions, defaultCompactionThresholdTokens, promptPrefixSummaryCompactionExecutor };
@@ -1,2 +1,2 @@
1
- import { An as EDAPromptProjector, Dn as EDANativeCompaction, Fn as isEDACacheBreakpoint, In as nativeCompactionSummaryMessage, Mn as EDA_PROMPT_OPTIONS_KEY, Nn as buildEDAPrompt, On as EDAProjectedPromptContext, Pn as getNativeCompaction, jn as EDAPromptProjectorShape, kn as EDAPromptProjectionInput } from "../reduced-state-C0CxfyUD.js";
1
+ import { An as EDAPromptProjector, Dn as EDANativeCompaction, Fn as isEDACacheBreakpoint, In as nativeCompactionSummaryMessage, Mn as EDA_PROMPT_OPTIONS_KEY, Nn as buildEDAPrompt, On as EDAProjectedPromptContext, Pn as getNativeCompaction, jn as EDAPromptProjectorShape, kn as EDAPromptProjectionInput } from "../reduced-state-D50SR0qM.js";
2
2
  export { EDANativeCompaction, EDAProjectedPromptContext, EDAPromptProjectionInput, EDAPromptProjector, EDAPromptProjectorShape, EDA_PROMPT_OPTIONS_KEY, buildEDAPrompt, getNativeCompaction, isEDACacheBreakpoint, nativeCompactionSummaryMessage };
@@ -1,2 +1,2 @@
1
- import { Ct as RunScheduler, Dt as DeferredRunResolution, Et as RunSchedulingDeliveryError, Nt as RunSchedulingInput, Ot as LocalRunResolution, Tt as RunSchedulingDelivery, jt as RunResolution, wt as RunSchedulerShape } from "../reduced-state-C0CxfyUD.js";
1
+ import { Ct as RunScheduler, Dt as DeferredRunResolution, Et as RunSchedulingDeliveryError, Nt as RunSchedulingInput, Ot as LocalRunResolution, Tt as RunSchedulingDelivery, jt as RunResolution, wt as RunSchedulerShape } from "../reduced-state-D50SR0qM.js";
2
2
  export { DeferredRunResolution, LocalRunResolution, type RunResolution, RunScheduler, RunSchedulerShape, RunSchedulingDelivery, RunSchedulingDeliveryError, type RunSchedulingInput };
@@ -2,7 +2,7 @@ import { g as SessionId } from "../core-BcimKMIv.js";
2
2
  import { i as EDAAppEvents, o as EDASessionStore, s as EDASessionStoreError } from "../session-store-CWYZ29CV.js";
3
3
  import { t as ModelResolver } from "../model-resolver-DUms5p6X.js";
4
4
  import { r as EDAReducerRegistry } from "../reducer-registry-CPObI3cs.js";
5
- import { An as EDAPromptProjector, Ct as RunScheduler, Jt as EDASink, K as EDARuntime, dn as CompactionPolicy, on as CompactionExecutor, q as EDARuntimeConfig, rt as SessionCommandAdmissionError } from "../reduced-state-C0CxfyUD.js";
5
+ import { An as EDAPromptProjector, Ct as RunScheduler, Jt as EDASink, K as EDARuntime, dn as CompactionPolicy, on as CompactionExecutor, q as EDARuntimeConfig, rt as SessionCommandAdmissionError } from "../reduced-state-D50SR0qM.js";
6
6
  import { i as EDAToolRegistryShape, t as EDAModelToolkit } from "../tool-registry-B_WE2ZwK.js";
7
7
  import { t as IdGenerator } from "../id-generator-BKGoKjt-.js";
8
8
  import { t as EDAKeepAlive } from "../keep-alive-_zFCUvt3.js";
@@ -1,2 +1,2 @@
1
- import { G as EDACommandTerminalEvent, J as EDARuntimeError, K as EDARuntime, W as CommittedCommandTerminalEvent, X as EDARuntimeSubmit, Y as EDARuntimeShape, q as EDARuntimeConfig } from "../reduced-state-C0CxfyUD.js";
1
+ import { G as EDACommandTerminalEvent, J as EDARuntimeError, K as EDARuntime, W as CommittedCommandTerminalEvent, X as EDARuntimeSubmit, Y as EDARuntimeShape, q as EDARuntimeConfig } from "../reduced-state-D50SR0qM.js";
2
2
  export { CommittedCommandTerminalEvent, EDACommandTerminalEvent, EDARuntime, EDARuntimeConfig, EDARuntimeError, EDARuntimeShape, EDARuntimeSubmit };
@@ -1,2 +1,2 @@
1
- import { $ as EDASessionQueryShape, Q as EDASessionQuery, Z as EDASessionEventPage, et as EDASessionSnapshot } from "../reduced-state-C0CxfyUD.js";
1
+ import { $ as EDASessionQueryShape, Q as EDASessionQuery, Z as EDASessionEventPage, et as EDASessionSnapshot } from "../reduced-state-D50SR0qM.js";
2
2
  export { EDASessionEventPage, EDASessionQuery, EDASessionQueryShape, EDASessionSnapshot };
@@ -1,2 +1,2 @@
1
- import { _t as SessionStateShape, at as SessionCommandCompleted, ct as SessionCommandResult, dt as SessionForkedCommand, ft as SessionNoRunnableCommand, gt as SessionStateError, ht as SessionState, it as SessionCommandCancelled, lt as SessionDrainProcessed, mt as SessionRunInput, nt as SessionCommandAdmissionConflict, ot as SessionCommandFailed, pt as SessionNoRunnableReason, rt as SessionCommandAdmissionError, st as SessionCommandOutcome, tt as EDASubmittable, ut as SessionDrainResult, vt as SessionStateSnapshotData } from "../reduced-state-C0CxfyUD.js";
1
+ import { _t as SessionStateShape, at as SessionCommandCompleted, ct as SessionCommandResult, dt as SessionForkedCommand, ft as SessionNoRunnableCommand, gt as SessionStateError, ht as SessionState, it as SessionCommandCancelled, lt as SessionDrainProcessed, mt as SessionRunInput, nt as SessionCommandAdmissionConflict, ot as SessionCommandFailed, pt as SessionNoRunnableReason, rt as SessionCommandAdmissionError, st as SessionCommandOutcome, tt as EDASubmittable, ut as SessionDrainResult, vt as SessionStateSnapshotData } from "../reduced-state-D50SR0qM.js";
2
2
  export { EDASubmittable, SessionCommandAdmissionConflict, SessionCommandAdmissionError, SessionCommandCancelled, SessionCommandCompleted, SessionCommandFailed, SessionCommandOutcome, SessionCommandResult, SessionDrainProcessed, SessionDrainResult, SessionForkedCommand, SessionNoRunnableCommand, SessionNoRunnableReason, SessionRunInput, SessionState, SessionStateError, SessionStateShape, SessionStateSnapshotData };
@@ -1,2 +1,2 @@
1
- import { $t as EDASinkRawDurableBatch, Gt as EDAProjectedSink, Ht as EDADurableSinkDefinition, Jt as EDASink, Kt as EDARawDurableSinkDefinition, Qt as EDASinkInterests, Ut as EDAEphemeralSinkDefinition, Wt as EDAProjectedDurableSinkDefinition, Xt as EDASinkContext, Yt as EDASinkCheckpoint, Zt as EDASinkDurableBatch, en as EDASinkRegistry, nn as EDASinkRunnerStartInput, qt as EDARawSink, tn as EDASinkRegistryShape } from "../reduced-state-C0CxfyUD.js";
1
+ import { $t as EDASinkRawDurableBatch, Gt as EDAProjectedSink, Ht as EDADurableSinkDefinition, Jt as EDASink, Kt as EDARawDurableSinkDefinition, Qt as EDASinkInterests, Ut as EDAEphemeralSinkDefinition, Wt as EDAProjectedDurableSinkDefinition, Xt as EDASinkContext, Yt as EDASinkCheckpoint, Zt as EDASinkDurableBatch, en as EDASinkRegistry, nn as EDASinkRunnerStartInput, qt as EDARawSink, tn as EDASinkRegistryShape } from "../reduced-state-D50SR0qM.js";
2
2
  export { EDADurableSinkDefinition, EDAEphemeralSinkDefinition, EDAProjectedDurableSinkDefinition, EDAProjectedSink, EDARawDurableSinkDefinition, EDARawSink, EDASink, EDASinkCheckpoint, EDASinkContext, EDASinkDurableBatch, EDASinkInterests, EDASinkRawDurableBatch, EDASinkRegistry, EDASinkRegistryShape, EDASinkRunnerStartInput };
@@ -4,7 +4,7 @@ import "../events-BWuvzVml.js";
4
4
  import { c as EDASessionStoreShape, o as EDASessionStore, s as EDASessionStoreError } from "../session-store-CWYZ29CV.js";
5
5
  import { t as ModelResolver } from "../model-resolver-DUms5p6X.js";
6
6
  import { r as EDAReducerRegistry, t as EDAReducer } from "../reducer-registry-CPObI3cs.js";
7
- import { An as EDAPromptProjector, Ct as RunScheduler, En as SessionContext, Jt as EDASink, Q as EDASessionQuery, St as ToolExecutor, Tn as EventFactory, bt as InferenceRunner, dn as CompactionPolicy, en as EDASinkRegistry, ht as SessionState, mn as CompactionRunner, on as CompactionExecutor, rn as LiveEventBus, xt as InferenceRunnerStreamPart, yt as TurnRunner } from "../reduced-state-C0CxfyUD.js";
7
+ import { An as EDAPromptProjector, Ct as RunScheduler, En as SessionContext, Jt as EDASink, Q as EDASessionQuery, St as ToolExecutor, Tn as EventFactory, bt as InferenceRunner, dn as CompactionPolicy, en as EDASinkRegistry, ht as SessionState, mn as CompactionRunner, on as CompactionExecutor, rn as LiveEventBus, xt as InferenceRunnerStreamPart, yt as TurnRunner } from "../reduced-state-D50SR0qM.js";
8
8
  import { a as ToolParamsSchema, r as EDAToolRegistry, t as EDAModelToolkit } from "../tool-registry-B_WE2ZwK.js";
9
9
  import { t as IdGenerator } from "../id-generator-BKGoKjt-.js";
10
10
  import { t as EDAKeepAlive } from "../keep-alive-_zFCUvt3.js";
@@ -1,2 +1,2 @@
1
- import { $ as EDAWebSocketWireProtocol, A as EDA_WS_CLOSE_LAGGED, B as EDAFrameworkWebSocketEvent, C as EDAWebSocketHelloFrame, D as EDAWebSocketServerFrame, E as EDAWebSocketPongFrame, F as SubscriberId, G as EDAWebSocketWireClientFrame, H as EDAWebSocketServerFrameEncoder, I as decodeEDAWebSocketClientMessage, J as EDAWebSocketWireHeartbeatFrame, K as EDAWebSocketWireErrorFrame, L as defaultEDAWebSocketFlowControl, M as EDA_WS_CLOSE_SEND_FAILED, N as EDA_WS_CLOSE_UNSUPPORTED_DATA, O as EDA_WEB_SOCKET_PROTOCOL_VERSION, P as FrameId, Q as EDAWebSocketWirePongFrame, R as encodeEDAWebSocketServerFrame, S as EDAWebSocketHeartbeatFrame, T as EDAWebSocketPingFrame, U as EDAWebSocketServerFrameInput, V as EDAWebSocketEventConsumerPolicy, W as EDAWebSocketWireAckFrame, X as EDAWebSocketWireLaggedFrame, Y as EDAWebSocketWireHelloFrame, Z as EDAWebSocketWirePingFrame, _ as EDAWebSocketAckFrame, a as EDAWebSocketInFlightFrame, b as EDAWebSocketEventsFrame, c as SubscriberLagReason, d as makeWebSocketDeliveryState, et as EDA_WEB_SOCKET_PING_MESSAGE, f as onClientAck, g as restoreWebSocketDeliveryState, h as onHostSuppressedFrame, i as EDAWebSocketDeliveryState, it as makeEDAWebSocketWireProtocol, j as EDA_WS_CLOSE_PROTOCOL_ERROR, k as EDA_WS_CLOSE_GOING_AWAY, l as checkpointWebSocketDeliveryState, m as onEphemeralEvent, n as EDAWebSocketDeliveryCheckpoint, nt as EDA_WEB_SOCKET_WIRE_PROTOCOL_VERSION, o as EDAWebSocketSuppressedRange, p as onDurableEvents, q as EDAWebSocketWireFlowControl, r as EDAWebSocketDeliveryResult, rt as edaFrameworkWebSocketWireProtocol, s as MakeDeliveryStateInput, t as EDAWebSocketDeliveryAction, tt as EDA_WEB_SOCKET_PONG_MESSAGE, u as deliveryHelloFrame, v as EDAWebSocketClientFrame, w as EDAWebSocketLaggedFrame, x as EDAWebSocketFlowControl, y as EDAWebSocketErrorFrame, z as laggedCloseReason } from "../delivery-Ckk_RmGw.js";
1
+ import { $ as EDAWebSocketWireProtocol, A as EDA_WS_CLOSE_LAGGED, B as EDAFrameworkWebSocketEvent, C as EDAWebSocketHelloFrame, D as EDAWebSocketServerFrame, E as EDAWebSocketPongFrame, F as SubscriberId, G as EDAWebSocketWireClientFrame, H as EDAWebSocketServerFrameEncoder, I as decodeEDAWebSocketClientMessage, J as EDAWebSocketWireHeartbeatFrame, K as EDAWebSocketWireErrorFrame, L as defaultEDAWebSocketFlowControl, M as EDA_WS_CLOSE_SEND_FAILED, N as EDA_WS_CLOSE_UNSUPPORTED_DATA, O as EDA_WEB_SOCKET_PROTOCOL_VERSION, P as FrameId, Q as EDAWebSocketWirePongFrame, R as encodeEDAWebSocketServerFrame, S as EDAWebSocketHeartbeatFrame, T as EDAWebSocketPingFrame, U as EDAWebSocketServerFrameInput, V as EDAWebSocketEventConsumerPolicy, W as EDAWebSocketWireAckFrame, X as EDAWebSocketWireLaggedFrame, Y as EDAWebSocketWireHelloFrame, Z as EDAWebSocketWirePingFrame, _ as EDAWebSocketAckFrame, a as EDAWebSocketInFlightFrame, b as EDAWebSocketEventsFrame, c as SubscriberLagReason, d as makeWebSocketDeliveryState, et as EDA_WEB_SOCKET_PING_MESSAGE, f as onClientAck, g as restoreWebSocketDeliveryState, h as onHostSuppressedFrame, i as EDAWebSocketDeliveryState, it as makeEDAWebSocketWireProtocol, j as EDA_WS_CLOSE_PROTOCOL_ERROR, k as EDA_WS_CLOSE_GOING_AWAY, l as checkpointWebSocketDeliveryState, m as onEphemeralEvent, n as EDAWebSocketDeliveryCheckpoint, nt as EDA_WEB_SOCKET_WIRE_PROTOCOL_VERSION, o as EDAWebSocketSuppressedRange, p as onDurableEvents, q as EDAWebSocketWireFlowControl, r as EDAWebSocketDeliveryResult, rt as edaFrameworkWebSocketWireProtocol, s as MakeDeliveryStateInput, t as EDAWebSocketDeliveryAction, tt as EDA_WEB_SOCKET_PONG_MESSAGE, u as deliveryHelloFrame, v as EDAWebSocketClientFrame, w as EDAWebSocketLaggedFrame, x as EDAWebSocketFlowControl, y as EDAWebSocketErrorFrame, z as laggedCloseReason } from "../delivery-C0aN3Oza.js";
2
2
  export { EDAFrameworkWebSocketEvent, EDAWebSocketAckFrame, EDAWebSocketClientFrame, EDAWebSocketDeliveryAction, EDAWebSocketDeliveryCheckpoint, EDAWebSocketDeliveryResult, EDAWebSocketDeliveryState, EDAWebSocketErrorFrame, EDAWebSocketEventConsumerPolicy, EDAWebSocketEventsFrame, EDAWebSocketFlowControl, EDAWebSocketHeartbeatFrame, EDAWebSocketHelloFrame, EDAWebSocketInFlightFrame, EDAWebSocketLaggedFrame, EDAWebSocketPingFrame, EDAWebSocketPongFrame, EDAWebSocketServerFrame, EDAWebSocketServerFrameEncoder, EDAWebSocketServerFrameInput, EDAWebSocketSuppressedRange, EDAWebSocketWireAckFrame, EDAWebSocketWireClientFrame, EDAWebSocketWireErrorFrame, EDAWebSocketWireFlowControl, EDAWebSocketWireHeartbeatFrame, EDAWebSocketWireHelloFrame, EDAWebSocketWireLaggedFrame, EDAWebSocketWirePingFrame, EDAWebSocketWirePongFrame, EDAWebSocketWireProtocol, EDA_WEB_SOCKET_PING_MESSAGE, EDA_WEB_SOCKET_PONG_MESSAGE, EDA_WEB_SOCKET_PROTOCOL_VERSION, EDA_WEB_SOCKET_WIRE_PROTOCOL_VERSION, EDA_WS_CLOSE_GOING_AWAY, EDA_WS_CLOSE_LAGGED, EDA_WS_CLOSE_PROTOCOL_ERROR, EDA_WS_CLOSE_SEND_FAILED, EDA_WS_CLOSE_UNSUPPORTED_DATA, FrameId, MakeDeliveryStateInput, SubscriberId, SubscriberLagReason, checkpointWebSocketDeliveryState, decodeEDAWebSocketClientMessage, defaultEDAWebSocketFlowControl, deliveryHelloFrame, edaFrameworkWebSocketWireProtocol, encodeEDAWebSocketServerFrame, laggedCloseReason, makeEDAWebSocketWireProtocol, makeWebSocketDeliveryState, onClientAck, onDurableEvents, onEphemeralEvent, onHostSuppressedFrame, restoreWebSocketDeliveryState };
@@ -1,7 +1,7 @@
1
1
  import { h as SequenceNumber } from "./core-BcimKMIv.js";
2
2
  import { Ct as TranscriptRecordView, Ft as TranscriptVersion, S as TranscriptReadiness, T as TranscriptWindow, b as TranscriptActiveContent, mt as TranscriptLogIncarnation } from "./session-store-CWYZ29CV.js";
3
3
  import { r as TranscriptSubscriptionBase, s as TranscriptUpdate, t as TranscriptCoverage } from "./subscription-DelB8L87.js";
4
- import { $ as EDAWebSocketWireProtocol, A as EDA_WS_CLOSE_LAGGED, B as EDAFrameworkWebSocketEvent, C as EDAWebSocketHelloFrame, D as EDAWebSocketServerFrame, E as EDAWebSocketPongFrame, F as SubscriberId, G as EDAWebSocketWireClientFrame, H as EDAWebSocketServerFrameEncoder, I as decodeEDAWebSocketClientMessage, J as EDAWebSocketWireHeartbeatFrame, K as EDAWebSocketWireErrorFrame, L as defaultEDAWebSocketFlowControl, M as EDA_WS_CLOSE_SEND_FAILED, N as EDA_WS_CLOSE_UNSUPPORTED_DATA, O as EDA_WEB_SOCKET_PROTOCOL_VERSION, P as FrameId, Q as EDAWebSocketWirePongFrame, R as encodeEDAWebSocketServerFrame, S as EDAWebSocketHeartbeatFrame, T as EDAWebSocketPingFrame, U as EDAWebSocketServerFrameInput, V as EDAWebSocketEventConsumerPolicy, W as EDAWebSocketWireAckFrame, X as EDAWebSocketWireLaggedFrame, Y as EDAWebSocketWireHelloFrame, Z as EDAWebSocketWirePingFrame, _ as EDAWebSocketAckFrame, a as EDAWebSocketInFlightFrame, b as EDAWebSocketEventsFrame, c as SubscriberLagReason, d as makeWebSocketDeliveryState, et as EDA_WEB_SOCKET_PING_MESSAGE, f as onClientAck, g as restoreWebSocketDeliveryState, h as onHostSuppressedFrame, i as EDAWebSocketDeliveryState, it as makeEDAWebSocketWireProtocol, j as EDA_WS_CLOSE_PROTOCOL_ERROR, k as EDA_WS_CLOSE_GOING_AWAY, l as checkpointWebSocketDeliveryState, m as onEphemeralEvent, n as EDAWebSocketDeliveryCheckpoint, nt as EDA_WEB_SOCKET_WIRE_PROTOCOL_VERSION, o as EDAWebSocketSuppressedRange, p as onDurableEvents, q as EDAWebSocketWireFlowControl, r as EDAWebSocketDeliveryResult, rt as edaFrameworkWebSocketWireProtocol, s as MakeDeliveryStateInput, t as EDAWebSocketDeliveryAction, tt as EDA_WEB_SOCKET_PONG_MESSAGE, u as deliveryHelloFrame, v as EDAWebSocketClientFrame, w as EDAWebSocketLaggedFrame, x as EDAWebSocketFlowControl, y as EDAWebSocketErrorFrame, z as laggedCloseReason } from "./delivery-Ckk_RmGw.js";
4
+ import { $ as EDAWebSocketWireProtocol, A as EDA_WS_CLOSE_LAGGED, B as EDAFrameworkWebSocketEvent, C as EDAWebSocketHelloFrame, D as EDAWebSocketServerFrame, E as EDAWebSocketPongFrame, F as SubscriberId, G as EDAWebSocketWireClientFrame, H as EDAWebSocketServerFrameEncoder, I as decodeEDAWebSocketClientMessage, J as EDAWebSocketWireHeartbeatFrame, K as EDAWebSocketWireErrorFrame, L as defaultEDAWebSocketFlowControl, M as EDA_WS_CLOSE_SEND_FAILED, N as EDA_WS_CLOSE_UNSUPPORTED_DATA, O as EDA_WEB_SOCKET_PROTOCOL_VERSION, P as FrameId, Q as EDAWebSocketWirePongFrame, R as encodeEDAWebSocketServerFrame, S as EDAWebSocketHeartbeatFrame, T as EDAWebSocketPingFrame, U as EDAWebSocketServerFrameInput, V as EDAWebSocketEventConsumerPolicy, W as EDAWebSocketWireAckFrame, X as EDAWebSocketWireLaggedFrame, Y as EDAWebSocketWireHelloFrame, Z as EDAWebSocketWirePingFrame, _ as EDAWebSocketAckFrame, a as EDAWebSocketInFlightFrame, b as EDAWebSocketEventsFrame, c as SubscriberLagReason, d as makeWebSocketDeliveryState, et as EDA_WEB_SOCKET_PING_MESSAGE, f as onClientAck, g as restoreWebSocketDeliveryState, h as onHostSuppressedFrame, i as EDAWebSocketDeliveryState, it as makeEDAWebSocketWireProtocol, j as EDA_WS_CLOSE_PROTOCOL_ERROR, k as EDA_WS_CLOSE_GOING_AWAY, l as checkpointWebSocketDeliveryState, m as onEphemeralEvent, n as EDAWebSocketDeliveryCheckpoint, nt as EDA_WEB_SOCKET_WIRE_PROTOCOL_VERSION, o as EDAWebSocketSuppressedRange, p as onDurableEvents, q as EDAWebSocketWireFlowControl, r as EDAWebSocketDeliveryResult, rt as edaFrameworkWebSocketWireProtocol, s as MakeDeliveryStateInput, t as EDAWebSocketDeliveryAction, tt as EDA_WEB_SOCKET_PONG_MESSAGE, u as deliveryHelloFrame, v as EDAWebSocketClientFrame, w as EDAWebSocketLaggedFrame, x as EDAWebSocketFlowControl, y as EDAWebSocketErrorFrame, z as laggedCloseReason } from "./delivery-C0aN3Oza.js";
5
5
  import * as Schema from "effect/Schema";
6
6
  //#region src/websocket/transcript.d.ts
7
7
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "effect-durable-agent",
3
- "version": "0.1.0-alpha.28",
3
+ "version": "0.1.0-alpha.29",
4
4
  "description": "A host-independent, event-sourced durable state-management and execution layer for agentic applications.",
5
5
  "keywords": [
6
6
  "agents",