effect-durable-agent 0.1.0-alpha.14 → 0.1.0-alpha.15
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/index.d.ts +1 -1
- package/dist/{runtime-CH6Ll_Rv.d.ts → runtime-Ca8Qw1fl.d.ts} +3 -3
- package/dist/services/runtime-layer.d.ts +3 -3
- package/dist/services/runtime-layer.js +2 -2
- package/dist/services/runtime.d.ts +1 -1
- package/dist/services/runtime.js +1 -1
- package/dist/services/session-query.d.ts +1 -1
- package/dist/services/session-query.js +1 -1
- package/dist/services/session-state.d.ts +1 -1
- package/dist/services/session-state.js +1 -1
- package/dist/services/sink-registry.d.ts +2 -2
- package/dist/services/sink-registry.js +1 -1
- package/dist/{session-query-CMeJog1g.d.ts → session-query-dlbwukcq.d.ts} +2 -2
- package/dist/{session-state-D4g0kV_K.d.ts → session-state-Cb_8YOre.d.ts} +5 -5
- package/dist/{session-state-DtPwg_EP.js → session-state-Dk7Iie-r.js} +2 -2
- package/dist/{session-state-DtPwg_EP.js.map → session-state-Dk7Iie-r.js.map} +1 -1
- package/dist/{sink-registry-B7cG7gxK.js → sink-registry-C2XFRBEV.js} +41 -29
- package/dist/sink-registry-C2XFRBEV.js.map +1 -0
- package/dist/{sink-registry-CAtl5OWV.d.ts → sink-registry-DiZyYd5f.d.ts} +42 -13
- package/dist/testkit/layers.d.ts +4 -4
- package/dist/testkit/layers.js +2 -2
- package/package.json +1 -1
- package/dist/sink-registry-B7cG7gxK.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -4,5 +4,5 @@ import { a as PendingMessageCancellationReason, c as StopTurnCommand, d as UserM
|
|
|
4
4
|
import { _ as parseEDATraceparent, a as EDATraceAttributes, c as EDATraceLink, d as makeEDAEventTrace, f as makeEDARunTrace, g as makeRootEDATraceMetadata, h as makeRootEDAEventTrace, i as EDATraceAttributeValue, l as EDATraceMetadata, m as makeEDATraceMetadataFromParent, n as EDARunTrace, o as EDATraceContext, p as makeEDATraceContext, r as EDASpanId, s as EDATraceId, t as EDAEventTrace, u as buildEDATraceparent } from "./tracing-BXHAkxkx.js";
|
|
5
5
|
import { $ as PendingMessagesPausedEvent, $n as sessionConfiguredEventType, $t as ToolRejectionPromptPart, A as CompactionFailedEvent, An as commandStartedEventType, At as StopTurnAppliedPayload, B as ContextRebasedPayload, Bn as inferenceFailedEventType, Bt as ToolCallCreatedPayload, C as CommandEvent, Cn as baseStateCreatedEventType, Ct as SessionConfiguredEvent, D as CommandStartedPayload, Dn as commandCancelledEventType, Dt as SteeringMessageQueuedPayload, E as CommandStartedEvent, En as commandAdmittedEventType, Et as SteeringMessageQueuedEvent, F as CompactionStartedPayload, Fn as contextProjectedEventType, Ft as SystemMessageCommittedEvent, G as InferenceEvent, Gn as runCompletedEventType, Gt as ToolCallRejectedEvent, H as EDADurableEventV1, Hn as messageQueuePausedEventType, Ht as ToolCallFailedEvent, I as ContextAndCompactionEvent, In as contextRebasedEventType, It as SystemMessageCommittedPayload, J as InferenceStartedEvent, Jn as runSchedulingDeliveredEventType, Jt as ToolCallRejectionReason, K as InferenceFailedEvent, Kn as runFailedEventType, Kt as ToolCallRejectedPayload, L as ContextProjectedEvent, Ln as decodeUnknownEDADurableEvent, Lt as ToolCallCompletedEvent, M as CompactionRequestedEvent, Mn as compactionFailedEventType, Mt as StopTurnRequestedPayload, N as CompactionRequestedPayload, Nn as compactionRequestedEventType, Nt as SummaryCreatedEvent, O as CompactionCompletedEvent, On as commandCompletedEventType, Ot as StopControlEvent, P as CompactionStartedEvent, Pn as compactionStartedEventType, Pt as SummaryCreatedPayload, Q as MessageQueuePausedPayload, Qn as runStartedEventType, Qt as ToolPromptPart, R as ContextProjectedPayload, Rn as decodeUnknownEDADurableEventSync, Rt as ToolCallCompletedPayload, S as CommandCompletedPayload, Sn as assistantPartialCommittedEventType, St as RunStartedPayload, T as CommandFailedPayload, Tn as baseStateRequestedEventType, Tt as SteeringMessageCancelledPayload, U as InferenceCompletedEvent, Un as pendingMessagesPausedEventType, Ut as ToolCallFailedPayload, V as EDADurableEvent, Vn as inferenceStartedEventType, Vt as ToolCallEvent, W as InferenceCompletedPayload, Wn as recoveryCompletedEventType, Wt as ToolCallPromptPart, X as MessageEvent, Xn as runSchedulingInvalidatedEventType, Xt as ToolCallStartedPayload, Y as InferenceStartedPayload, Yn as runSchedulingGrantedEventType, Yt as ToolCallStartedEvent, Z as MessageQueuePausedEvent, Zn as runSchedulingRequestedEventType, Zt as ToolFailurePromptPart, _ as CommandAdmittedEvent, _n as UserMessagePromotedPayload, _r as userMessagePromotedEventType, _t as RunSchedulingInvalidatedEvent, a as AssistantMessageImportedPayload, an as TurnFailedPayload, ar as systemMessageCommittedEventType, at as RunCompletedEvent, b as CommandCancelledPayload, bn as assistantMessageCommittedEventType, bt as RunSchedulingRequestedPayload, c as AssistantPromptPart, cn as TurnStoppedEvent, cr as toolCallFailedEventType, ct as RunFailedEvent, d as BaseStateCreatedPayload, dn as UserMessageCancelledEvent, dr as turnCompletedEventType, dt as RunInterruptedPayload, en as ToolSuccessPromptPart, er as steeringMessageCancelledEventType, et as PendingMessagesPausedPayload, f as BaseStateEvent, fn as UserMessageCancelledPayload, fr as turnFailedEventType, ft as RunSchedulingDeliveredEvent, g as BaseStateRequestedPayload, gn as UserMessagePromotedEvent, gr as userMessageCommittedEventType, gt as RunSchedulingGrantedPayload, h as BaseStateRequestedEvent, hn as UserMessageDisposition, hr as userMessageCancelledEventType, ht as RunSchedulingGrantedEvent, i as AssistantMessageImportedEvent, in as TurnFailedEvent, ir as summaryCreatedEventType, it as RecoveryEvent, j as CompactionFailedPayload, jn as compactionCompletedEventType, jt as StopTurnRequestedEvent, k as CompactionCompletedPayload, kn as commandFailedEventType, kt as StopTurnAppliedEvent, l as AssistantPromptParts, ln as TurnStoppedPayload, lr as toolCallRejectedEventType, lt as RunFailedPayload, m as BaseStateFailedPayload, mn as UserMessageCommittedPayload, mr as turnStoppedEventType, mt as RunSchedulingEvent, n as AssistantMessageCommittedPayload, nn as TurnCompletedPayload, nr as stopTurnAppliedEventType, nt as RecoveryCompletedPayload, o as AssistantPartialCommittedEvent, on as TurnStartedEvent, or as toolCallCompletedEventType, ot as RunCompletedPayload, p as BaseStateFailedEvent, pn as UserMessageCommittedEvent, pr as turnStartedEventType, pt as RunSchedulingDeliveredPayload, q as InferenceFailedPayload, qn as runInterruptedEventType, qt as ToolCallRejectionFeedback, r as AssistantMessageContent, rn as TurnEvent, rr as stopTurnRequestedEventType, rt as RecoveryContinuation, s as AssistantPartialCommittedPayload, sn as TurnStartedPayload, sr as toolCallCreatedEventType, st as RunEvent, t as AssistantMessageCommittedEvent, tn as TurnCompletedEvent, tr as steeringMessageQueuedEventType, tt as RecoveryCompletedEvent, u as BaseStateCreatedEvent, un as UserMessageCancellationReason, ur as toolCallStartedEventType, ut as RunInterruptedEvent, v as CommandAdmittedPayload, vn as UserMessageSubmittedEvent, vr as userMessageSubmittedEventType, vt as RunSchedulingInvalidatedPayload, w as CommandFailedEvent, wn as baseStateFailedEventType, wt as SteeringMessageCancelledEvent, x as CommandCompletedEvent, xn as assistantMessageImportedEventType, xt as RunStartedEvent, y as CommandCancelledEvent, yn as UserMessageSubmittedPayload, yt as RunSchedulingRequestedEvent, z as ContextRebasedEvent, zn as inferenceCompletedEventType, zt as ToolCallCreatedEvent } from "./durable-DeLCAvbw.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-LZFNoESe.js";
|
|
7
|
-
import { a as EDARuntimeError, i as EDARuntimeConfig, n as EDACommandTerminalEvent, o as EDARuntimeShape, r as EDARuntime, s as EDARuntimeSubmit, t as CommittedCommandTerminalEvent } from "./runtime-
|
|
7
|
+
import { a as EDARuntimeError, i as EDARuntimeConfig, n as EDACommandTerminalEvent, o as EDARuntimeShape, r as EDARuntime, s as EDARuntimeSubmit, t as CommittedCommandTerminalEvent } from "./runtime-Ca8Qw1fl.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, 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, GrantRunCommand, InferenceCompletedEvent, InferenceCompletedPayload, InferenceEvent, InferenceFailedEvent, InferenceFailedPayload, InferenceId, InferenceStartedEvent, InferenceStartedPayload, 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, decodeUnknownEDADurableEvent, decodeUnknownEDADurableEventSync, durablePosition, effectDurableAgentNamespace, inferenceCompletedEventType, inferenceFailedEventType, inferenceStartedEventType, 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 };
|
|
@@ -2,8 +2,8 @@ import { h as SequenceNumber, n as CommandId } from "./core-C-6xHzRx.js";
|
|
|
2
2
|
import { i as GrantRunCommand, r as EDACommand } from "./commands-p8venTWs.js";
|
|
3
3
|
import { w as CommandFailedEvent, x as CommandCompletedEvent, y as CommandCancelledEvent } from "./durable-DeLCAvbw.js";
|
|
4
4
|
import { t as CommittedDurableEvent } from "./session-store-DCs--1kc.js";
|
|
5
|
-
import { _ as SessionStateShape, h as SessionState, r as SessionCommandAdmissionError, t as EDASubmittable } from "./session-state-
|
|
6
|
-
import { n as EDASessionQuery, r as EDASessionQueryShape } from "./session-query-
|
|
5
|
+
import { _ as SessionStateShape, h as SessionState, r as SessionCommandAdmissionError, t as EDASubmittable } from "./session-state-Cb_8YOre.js";
|
|
6
|
+
import { n as EDASessionQuery, r as EDASessionQueryShape } from "./session-query-dlbwukcq.js";
|
|
7
7
|
import * as Context from "effect/Context";
|
|
8
8
|
import * as Effect from "effect/Effect";
|
|
9
9
|
import * as Layer from "effect/Layer";
|
|
@@ -66,4 +66,4 @@ declare class EDARuntime extends EDARuntime_base {
|
|
|
66
66
|
}
|
|
67
67
|
//#endregion
|
|
68
68
|
export { EDARuntimeError as a, EDARuntimeConfig as i, EDACommandTerminalEvent as n, EDARuntimeShape as o, EDARuntime as r, EDARuntimeSubmit as s, CommittedCommandTerminalEvent as t };
|
|
69
|
-
//# sourceMappingURL=runtime-
|
|
69
|
+
//# sourceMappingURL=runtime-Ca8Qw1fl.d.ts.map
|
|
@@ -4,15 +4,15 @@ import { t as ModelResolver } from "../model-resolver-BPPJAsuh.js";
|
|
|
4
4
|
import { t as EDAKeepAlive } from "../keep-alive-Chl5SJxy.js";
|
|
5
5
|
import { c as CompactionPolicy, r as CompactionExecutor } from "../compaction-DYAlYxx5.js";
|
|
6
6
|
import { t as SessionEventObserver } from "../session-event-observer-DaFMKKNc.js";
|
|
7
|
-
import { r as SessionCommandAdmissionError } from "../session-state-
|
|
7
|
+
import { r as SessionCommandAdmissionError } from "../session-state-Cb_8YOre.js";
|
|
8
8
|
import { r as EDAReducerRegistry } from "../reducer-registry-BgtK0NuX.js";
|
|
9
9
|
import { r as EDAPromptProjector } from "../prompt-projector-_Zxe7dlE.js";
|
|
10
10
|
import { n as SinkCheckpointStore } from "../sink-checkpoint-store-CasqHvDz.js";
|
|
11
|
-
import {
|
|
11
|
+
import { s as EDASink } from "../sink-registry-DiZyYd5f.js";
|
|
12
12
|
import { t as RunScheduler } from "../run-scheduler-BBqZ0Ate.js";
|
|
13
13
|
import { t as RunSchedulingWakeup } from "../run-scheduling-wakeup-DRYZztL6.js";
|
|
14
14
|
import { i as EDAToolRegistryShape, t as EDAModelToolkit } from "../tool-registry-CHMtDCJ5.js";
|
|
15
|
-
import { i as EDARuntimeConfig, r as EDARuntime } from "../runtime-
|
|
15
|
+
import { i as EDARuntimeConfig, r as EDARuntime } from "../runtime-Ca8Qw1fl.js";
|
|
16
16
|
import * as Layer from "effect/Layer";
|
|
17
17
|
import * as Tracer from "effect/Tracer";
|
|
18
18
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RunSchedulingWakeup } from "./run-scheduling-wakeup.js";
|
|
2
2
|
import { RunScheduler } from "./run-scheduler.js";
|
|
3
|
-
import { d as TurnRunner, f as InferenceRunner, m as LiveEventBus, p as ToolExecutor, u as SessionState } from "../session-state-
|
|
3
|
+
import { d as TurnRunner, f as InferenceRunner, m as LiveEventBus, p as ToolExecutor, u as SessionState } from "../session-state-Dk7Iie-r.js";
|
|
4
4
|
import { a as CompactionPolicy, n as CompactionExecutor, o as CompactionRunner } from "../compaction-0k8zCJgB.js";
|
|
5
5
|
import { IdGenerator } from "./id-generator.js";
|
|
6
6
|
import { n as SessionContext, t as EventFactory } from "../event-factory-QuC_UvyP.js";
|
|
@@ -8,7 +8,7 @@ import { EDAKeepAlive } from "./keep-alive.js";
|
|
|
8
8
|
import { SessionEventObserver } from "./session-event-observer.js";
|
|
9
9
|
import { EDAPromptProjector } from "./prompt-projector.js";
|
|
10
10
|
import { EDAReducerRegistry } from "./reducer-registry.js";
|
|
11
|
-
import { n as EDASinkRegistry } from "../sink-registry-
|
|
11
|
+
import { n as EDASinkRegistry } from "../sink-registry-C2XFRBEV.js";
|
|
12
12
|
import { EDAToolRegistry } from "./tool-registry.js";
|
|
13
13
|
import { EDASessionQuery } from "./session-query.js";
|
|
14
14
|
import { EDARuntime } from "./runtime.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as EDARuntimeError, i as EDARuntimeConfig, n as EDACommandTerminalEvent, o as EDARuntimeShape, r as EDARuntime, s as EDARuntimeSubmit, t as CommittedCommandTerminalEvent } from "../runtime-
|
|
1
|
+
import { a as EDARuntimeError, i as EDARuntimeConfig, n as EDACommandTerminalEvent, o as EDARuntimeShape, r as EDARuntime, s as EDARuntimeSubmit, t as CommittedCommandTerminalEvent } from "../runtime-Ca8Qw1fl.js";
|
|
2
2
|
export { CommittedCommandTerminalEvent, EDACommandTerminalEvent, EDARuntime, EDARuntimeConfig, EDARuntimeError, EDARuntimeShape, EDARuntimeSubmit };
|
package/dist/services/runtime.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SequenceNumber, durablePosition } from "../types/core.js";
|
|
2
2
|
import { c as ModelSelectionPayload, l as NonNegativeInt, p as SystemPromptText } from "../envelope-DxQzo5rN.js";
|
|
3
3
|
import { Dn as commandCancelledEventType, On as commandCompletedEventType, kn as commandFailedEventType } from "../durable-BPHVFVvV.js";
|
|
4
|
-
import { u as SessionState } from "../session-state-
|
|
4
|
+
import { u as SessionState } from "../session-state-Dk7Iie-r.js";
|
|
5
5
|
import { CommittedDurableEvent } from "./session-store.js";
|
|
6
6
|
import { annotateEdaSpan, committedBatchAttributes } from "./tracing.js";
|
|
7
7
|
import { EDASessionQuery } from "./session-query.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as EDASessionSnapshot, n as EDASessionQuery, r as EDASessionQueryShape, t as EDASessionEventPage } from "../session-query-
|
|
1
|
+
import { i as EDASessionSnapshot, n as EDASessionQuery, r as EDASessionQueryShape, t as EDASessionEventPage } from "../session-query-dlbwukcq.js";
|
|
2
2
|
export { EDASessionEventPage, EDASessionQuery, EDASessionQueryShape, EDASessionSnapshot };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SequenceNumber } from "../types/core.js";
|
|
2
2
|
import { _ as effectDurableAgentNamespace, u as PositionedEvent } from "../envelope-DxQzo5rN.js";
|
|
3
3
|
import { bt as RunSchedulingRequestedPayload, dt as RunInterruptedPayload, gt as RunSchedulingGrantedPayload, lt as RunFailedPayload, ot as RunCompletedPayload, vt as RunSchedulingInvalidatedPayload } from "../durable-BPHVFVvV.js";
|
|
4
|
-
import { m as LiveEventBus, u as SessionState } from "../session-state-
|
|
4
|
+
import { m as LiveEventBus, u as SessionState } from "../session-state-Dk7Iie-r.js";
|
|
5
5
|
import { EDASessionStore } from "./session-store.js";
|
|
6
6
|
import { durableMessageTranscript } from "../domain/message-transcript.js";
|
|
7
7
|
import { annotateEdaSpan } from "./tracing.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as SessionStateShape, a as SessionCommandCompleted, c as SessionCommandResult, d as SessionForkedCommand, f as SessionNoRunnableCommand, g as SessionStateError, h as SessionState, i as SessionCommandCancelled, l as SessionDrainProcessed, m as SessionRunInput, n as SessionCommandAdmissionConflict, o as SessionCommandFailed, p as SessionNoRunnableReason, r as SessionCommandAdmissionError, s as SessionCommandOutcome, t as EDASubmittable, u as SessionDrainResult, v as SessionStateSnapshotData } from "../session-state-
|
|
1
|
+
import { _ as SessionStateShape, a as SessionCommandCompleted, c as SessionCommandResult, d as SessionForkedCommand, f as SessionNoRunnableCommand, g as SessionStateError, h as SessionState, i as SessionCommandCancelled, l as SessionDrainProcessed, m as SessionRunInput, n as SessionCommandAdmissionConflict, o as SessionCommandFailed, p as SessionNoRunnableReason, r as SessionCommandAdmissionError, s as SessionCommandOutcome, t as EDASubmittable, u as SessionDrainResult, v as SessionStateSnapshotData } from "../session-state-Cb_8YOre.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 { a as SessionCommandOutcome, c as SessionNoRunnableReason, i as SessionCommandFailed, l as SessionRunInput, n as SessionCommandCancelled, o as SessionForkedCommand, r as SessionCommandCompleted, s as SessionNoRunnableCommand, t as SessionCommandAdmissionConflict, u as SessionState } from "../session-state-
|
|
1
|
+
import { a as SessionCommandOutcome, c as SessionNoRunnableReason, i as SessionCommandFailed, l as SessionRunInput, n as SessionCommandCancelled, o as SessionForkedCommand, r as SessionCommandCompleted, s as SessionNoRunnableCommand, t as SessionCommandAdmissionConflict, u as SessionState } from "../session-state-Dk7Iie-r.js";
|
|
2
2
|
export { SessionCommandAdmissionConflict, SessionCommandCancelled, SessionCommandCompleted, SessionCommandFailed, SessionCommandOutcome, SessionForkedCommand, SessionNoRunnableCommand, SessionNoRunnableReason, SessionRunInput, SessionState };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
export { EDADurableSinkDefinition, EDAEphemeralSinkDefinition, EDASink, EDASinkCheckpoint, EDASinkContext, EDASinkDurableBatch, EDASinkRegistry, EDASinkRegistryShape, EDASinkRunnerStartInput };
|
|
1
|
+
import { a as EDARawDurableSinkDefinition, c as EDASinkCheckpoint, d as EDASinkInterests, f as EDASinkRawDurableBatch, h as EDASinkRunnerStartInput, i as EDAProjectedSink, l as EDASinkContext, m as EDASinkRegistryShape, n as EDAEphemeralSinkDefinition, o as EDARawSink, p as EDASinkRegistry, r as EDAProjectedDurableSinkDefinition, s as EDASink, t as EDADurableSinkDefinition, u as EDASinkDurableBatch } from "../sink-registry-DiZyYd5f.js";
|
|
2
|
+
export { EDADurableSinkDefinition, EDAEphemeralSinkDefinition, EDAProjectedDurableSinkDefinition, EDAProjectedSink, EDARawDurableSinkDefinition, EDARawSink, EDASink, EDASinkCheckpoint, EDASinkContext, EDASinkDurableBatch, EDASinkInterests, EDASinkRawDurableBatch, EDASinkRegistry, EDASinkRegistryShape, EDASinkRunnerStartInput };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as EDASinkRegistry, t as EDASink } from "../sink-registry-
|
|
1
|
+
import { n as EDASinkRegistry, t as EDASink } from "../sink-registry-C2XFRBEV.js";
|
|
2
2
|
export { EDASink, EDASinkRegistry };
|
|
@@ -3,7 +3,7 @@ import { $ as RunRequestOutcome, S as ReducedState } from "./command-queues-CSEl
|
|
|
3
3
|
import { d as PositionedEvent } from "./envelope-DkZyMIgp.js";
|
|
4
4
|
import { a as EDASessionStore, o as EDASessionStoreError } from "./session-store-DCs--1kc.js";
|
|
5
5
|
import { t as DurableTranscriptMessage } from "./message-transcript-CmCHC1Pg.js";
|
|
6
|
-
import { C as LiveEventBus, h as SessionState } from "./session-state-
|
|
6
|
+
import { C as LiveEventBus, h as SessionState } from "./session-state-Cb_8YOre.js";
|
|
7
7
|
import { a as EDAReducerStateSnapshot } from "./reducer-registry-BgtK0NuX.js";
|
|
8
8
|
import * as Context from "effect/Context";
|
|
9
9
|
import * as Effect from "effect/Effect";
|
|
@@ -43,4 +43,4 @@ declare class EDASessionQuery extends EDASessionQuery_base {
|
|
|
43
43
|
}
|
|
44
44
|
//#endregion
|
|
45
45
|
export { EDASessionSnapshot as i, EDASessionQuery as n, EDASessionQueryShape as r, EDASessionEventPage as t };
|
|
46
|
-
//# sourceMappingURL=session-query-
|
|
46
|
+
//# sourceMappingURL=session-query-dlbwukcq.d.ts.map
|
|
@@ -12,7 +12,7 @@ import { d as CompactionRunner } from "./compaction-DYAlYxx5.js";
|
|
|
12
12
|
import { t as SessionEventObserver } from "./session-event-observer-DaFMKKNc.js";
|
|
13
13
|
import { a as EDAReducerStateSnapshot, r as EDAReducerRegistry } from "./reducer-registry-BgtK0NuX.js";
|
|
14
14
|
import { r as EDAPromptProjector } from "./prompt-projector-_Zxe7dlE.js";
|
|
15
|
-
import {
|
|
15
|
+
import { p as EDASinkRegistry } from "./sink-registry-DiZyYd5f.js";
|
|
16
16
|
import { t as RunScheduler } from "./run-scheduler-BBqZ0Ate.js";
|
|
17
17
|
import { t as RunSchedulingWakeup } from "./run-scheduling-wakeup-DRYZztL6.js";
|
|
18
18
|
import { r as EDAToolRegistry } from "./tool-registry-CHMtDCJ5.js";
|
|
@@ -173,7 +173,7 @@ interface ToolExecutorShape {
|
|
|
173
173
|
declare const ToolExecutor_base: Context.ServiceClass<ToolExecutor, "@effect-durable-agent/ToolExecutor", ToolExecutorShape>;
|
|
174
174
|
/** Executes sealed framework-owned tool calls and commits tool lifecycle boundaries. */
|
|
175
175
|
declare class ToolExecutor extends ToolExecutor_base {
|
|
176
|
-
static readonly Live: Layer.Layer<ToolExecutor, never, IdGenerator |
|
|
176
|
+
static readonly Live: Layer.Layer<ToolExecutor, never, IdGenerator | EventFactory | SessionContext | EDAToolRegistry>;
|
|
177
177
|
}
|
|
178
178
|
//#endregion
|
|
179
179
|
//#region src/services/inference-runner.d.ts
|
|
@@ -321,7 +321,7 @@ interface InferenceRunnerShape {
|
|
|
321
321
|
declare const InferenceRunner_base: Context.ServiceClass<InferenceRunner, "@effect-durable-agent/InferenceRunner", InferenceRunnerShape>;
|
|
322
322
|
/** Owns provider inference streams and routes them into durable/live inference emissions. */
|
|
323
323
|
declare class InferenceRunner extends InferenceRunner_base {
|
|
324
|
-
static readonly Live: Layer.Layer<InferenceRunner, never, ModelResolver | IdGenerator |
|
|
324
|
+
static readonly Live: Layer.Layer<InferenceRunner, never, ModelResolver | IdGenerator | EventFactory | EDAToolRegistry>;
|
|
325
325
|
}
|
|
326
326
|
//#endregion
|
|
327
327
|
//#region src/services/turn-runner.d.ts
|
|
@@ -888,8 +888,8 @@ interface SessionStateShape extends SessionEventSink {
|
|
|
888
888
|
declare const SessionState_base: Context.ServiceClass<SessionState, "@effect-durable-agent/SessionState", SessionStateShape>;
|
|
889
889
|
/** Internal authoritative live state and root control loop for one session. */
|
|
890
890
|
declare class SessionState extends SessionState_base {
|
|
891
|
-
static readonly Live: Layer.Layer<SessionState, EDASessionStoreError,
|
|
891
|
+
static readonly Live: Layer.Layer<SessionState, EDASessionStoreError, EDAReducerRegistry | RunSchedulingWakeup | RunScheduler | IdGenerator | EDAKeepAlive | EDAPromptProjector | EDASessionStore | CompactionRunner | EventFactory | EDASinkRegistry | SessionContext | LiveEventBus | TurnRunner>;
|
|
892
892
|
}
|
|
893
893
|
//#endregion
|
|
894
894
|
export { LiveEventBus as C, ToolExecutor as S, SessionStateShape as _, SessionCommandCompleted as a, InferenceRunner as b, SessionCommandResult as c, SessionForkedCommand as d, SessionNoRunnableCommand as f, SessionStateError as g, SessionState as h, SessionCommandCancelled as i, SessionDrainProcessed as l, SessionRunInput as m, SessionCommandAdmissionConflict as n, SessionCommandFailed as o, SessionNoRunnableReason as p, SessionCommandAdmissionError as r, SessionCommandOutcome as s, EDASubmittable as t, SessionDrainResult as u, SessionStateSnapshotData as v, InferenceRunnerStreamPart as x, TurnRunner as y };
|
|
895
|
-
//# sourceMappingURL=session-state-
|
|
895
|
+
//# sourceMappingURL=session-state-Cb_8YOre.d.ts.map
|
|
@@ -18,7 +18,7 @@ import { EDAKeepAlive } from "./services/keep-alive.js";
|
|
|
18
18
|
import { SessionEventObserver } from "./services/session-event-observer.js";
|
|
19
19
|
import { EDAPromptProjector, buildEDAPrompt } from "./services/prompt-projector.js";
|
|
20
20
|
import { EDAReducerRegistry, decodeReducerState, encodeReducerState, reducerSchemaVersion } from "./services/reducer-registry.js";
|
|
21
|
-
import { n as EDASinkRegistry } from "./sink-registry-
|
|
21
|
+
import { n as EDASinkRegistry } from "./sink-registry-C2XFRBEV.js";
|
|
22
22
|
import { EDAToolRegistry } from "./services/tool-registry.js";
|
|
23
23
|
import * as Context from "effect/Context";
|
|
24
24
|
import * as Effect from "effect/Effect";
|
|
@@ -3159,4 +3159,4 @@ const isSessionNoRunnableCommand = (result) => "_tag" in result && result._tag =
|
|
|
3159
3159
|
//#endregion
|
|
3160
3160
|
export { SessionCommandOutcome as a, SessionNoRunnableReason as c, TurnRunner as d, InferenceRunner as f, SessionCommandFailed as i, SessionRunInput as l, LiveEventBus as m, SessionCommandCancelled as n, SessionForkedCommand as o, ToolExecutor as p, SessionCommandCompleted as r, SessionNoRunnableCommand as s, SessionCommandAdmissionConflict as t, SessionState as u };
|
|
3161
3161
|
|
|
3162
|
-
//# sourceMappingURL=session-state-
|
|
3162
|
+
//# sourceMappingURL=session-state-Dk7Iie-r.js.map
|